Repository navigation
[P1] feat(frontend): 完善主工作区的文件、终端与交付流程 - #281
Merged
Merged
Conversation
- 工作区文件抽屉与源码定位 (#266, #267): - 集成 V2FileDrawer 抽屉,复用 WorkspaceExplorer 呈现工作区目录与代码内容; - 保留并传递当前任务执行 run_id,保障工作区身份连续性; - 拦截助手消息中的项目文件路径/代码块链接,支持精准定位至指定代码行并在超出范围时给出显式提示; - 增加消息与代码块一键复制能力与状态反馈。 - 桌面调试终端抽屉 (#268): - 在主工作台提供集成终端抽屉入口,按任务线程隔离并维持终端 session; - 严格区分“收起抽屉(保持进程运行)”与“终止进程”,非桌面环境提供明确说明。 - 交付与检查结果主界面呈现 (#269): - TaskOverview 顶层直接透出交付动作(选择文件提交、PR交付流程、完整检查); - 区分“当前执行”与“历史执行”检查状态及通过/失败统计; - 存在交付计划时直接呈现 PlanDeliveryPanel。 Closes #259 Closes #266 Closes #267 Closes #268 Closes #269 Co-authored-by: Gemini <200291788+gemini-code-assist@users.noreply.github.com>
Qiyuanqiii
force-pushed
the
feat/issue-259-workbench-delivery
branch
from
October 5, 2026 19:34
6b1b32c to
aecd9d3
Compare
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.
Summary
完善主工作区(Workbench)的文件管理、终端交互与交付流程,系统解决 #259 及其集成的全部子任务(#266、#267、#268、#269):
1. 工作区文件抽屉与执行身份延续 (#266)
V2FileDrawer);WorkspaceExplorer,完整继承目录浏览、搜索、文件内容预览及证据关联能力;run_id,确保工作区上下文与证据绑定的身份一致性;useModalFocusTrap) 与关闭后焦点恢复。2. 文件链接智能拦截与行号高亮定位 (#267)
parseProjectFileLink),兼容file:///协议、相对路径以及#L<line>/:<line>行号锚点;3. 桌面调试终端抽屉与会话隔离 (#268)
V2TerminalDrawer),支持通过UserTerminalPanel连接本机桌面调试终端;4. 交付动作与检查结果透出至主审阅层 (#269)
TaskOverview顶层直出核心交付动作按钮:“选择文件并提交”(跳转至 Git 改动视图)、“PR 状态与交付”(PR 状态流)、“完整检查与环境”;plan_delivery),直接在概览层内联展示PlanDeliveryPanel。Related Issues
Verification
src/v2/projection/narrative.test.ts(19 tests)src/components/workspace-explorer.test.tsx(4 tests)src/v2/components/task-overview.test.tsx(5 tests)src/v2/components/task-review.test.tsx(6 tests)src/v2/components/conversation.test.tsx(33 tests)npm run typecheck(tsc 编译检查通过,无错误)npm run build(Vite 生产构建打包通过)