Merged
Conversation
历史侧边栏新增“当前项目 / 项目组 / 全部会话”三档范围切换, 支持在跨项目场景下直接检索历史,并在非当前项目范围中补充所属项目标签, 让用户可以从列表、详情和继续对话入口准确回到目标项目会话。 主进程统一扩展了 history.list 的 scope 与项目组参数, 为历史摘要补齐 dirKey、projectHash 等归属元数据, 并重构索引命中与 fallback 扫描逻辑,按范围完成过滤、去重、分页与跨 Provider 合并, 避免空结果时退化为重型全量扫描。 同时补齐 Gemini 在缺失 cwd 时的 projectHash 归属判断, 修复 Windows 主进程 + WSL 模式下 POSIX 版 GEMINI_CLI_HOME 的 UNC 转换, 确保跨项目会话可以被正确定位、打开和恢复。 Signed-off-by: Lulu <58587930+lulu-sk@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
历史侧边栏新增“当前项目 / 项目组 / 全部会话”三档范围切换,
支持在跨项目场景下直接检索历史,并在非当前项目范围中补充所属项目标签,
让用户可以从列表、详情和继续对话入口准确回到目标项目会话。
主进程统一扩展了 history.list 的 scope 与项目组参数,
为历史摘要补齐 dirKey、projectHash 等归属元数据,
并重构索引命中与 fallback 扫描逻辑,按范围完成过滤、去重、分页与跨 Provider 合并, 避免空结果时退化为重型全量扫描。
同时补齐 Gemini 在缺失 cwd 时的 projectHash 归属判断,
修复 Windows 主进程 + WSL 模式下 POSIX 版 GEMINI_CLI_HOME 的 UNC 转换, 确保跨项目会话可以被正确定位、打开和恢复。