整合:重建 ZER-404 只读 Agent 会话工作台 - #46
Merged
ZeroPointSix merged 28 commits intoAug 15, 2026
Merged
Conversation
Replace ProTable sessions list and detail pages with a read-only three-column SessionWorkbenchPage using Ant Design X Conversations for the sidebar, status bar + transcript placeholder in the main panel, and metadata/alerts/events tabs in the inspector. Co-authored-by: ZeroPointSix <ZeroPointSix@users.noreply.github.com>
- 左栏新增 New chat 禁用占位(会话创建 W6 开放) - 中栏状态条补齐 Profile / workdir 字段 - 底部只读条内嵌 SSE 连接态:新增 StreamStatusContext,复用 AdminLayout 同一 SSE,不新建连接 - 新增 useMediaQuery,≤1100px 左右栏折叠为 Drawer,390 下顶栏不溢出 - 版本号 0.2.3 → 0.3.0 - 重新构建并提交 web/app.js 与 web/styles.css 产物
This was referenced Aug 13, 2026
This was referenced Aug 13, 2026
Closed
This was referenced Aug 13, 2026
ZeroPointSix
added a commit
that referenced
this pull request
Aug 15, 2026
Merge W1–W5 readonly workbench and ZER-712 polish onto main. Includes PR #46 session workbench plus thinking coalesce, shared connection status, Agent-grouped sidebar, muted tool rows, and inspector log.
Owner
Author
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.
概要
重新从最新
main建立 ZER-404 的干净整合链,只整合 W1–W5 的只读会话可观测能力,不再把所有开放 PR 粗暴堆叠,也不混入 W6 的 Agent 创建 / New chat 写能力。/sessions与/sessions/:id统一为 Factory / Cursor 风格三栏会话工作台。整合策略
本 PR 从
main重建,不以 #37 / #39 / #43 等历史整合分支为基线:SessionMainPanel,不恢复已经下线的旧SessionDetailPage。本轮额外修复
tool_call_update:结果 / terminal / diff 在中间更新到达、最终 completed 仅含状态时,tool_result仍保留完整聚合 payload。Review Contract
Goal
交付 ZER-404 W1–W5 的完整只读 Agent 会话工作台:管理员能在三栏界面中实时观察 Agent 状态、消息、思考、计划、工具调用、终端和文件差异;刷新、重连、长会话和深链场景保持数据正确,且页面不暴露任何会话写入或控制能力。
Non-goals
Accepted Residual Risks
Transcript 与统一 SSE replay history 仍是有界内存存储。客户端落后于保留窗口时会显示明确恢复提示并重新拉取快照,而不是静默补造历史;跨服务重启的完整 transcript 归档需后续独立设计。生产 bundle 仍有既有的大 chunk 警告,本 PR 不混入代码分包重构。
Acceptance Criteria
/sessions与/sessions/:id使用三栏工作台,旧 ProTable 主路径与旧详情页下线。entry_idupsert。Follow-ups
验证
pnpm --dir web lintpnpm --dir web test:10 个测试文件、50 项通过pnpm --dir web buildcargo check --workspacecargo test -p openab-core --no-default-features transcript::tests:7 项通过cargo test -p openab-core --no-default-features session_event::tests:6 项通过cargo test -p openab-gateway --no-default-features session_admin::tests:7 项通过cargo test -p openab-gateway --test admin_api_integration --no-default-features transcript:2 项通过关联:ZER-404、ZER-668、ZER-669、ZER-670、ZER-671、ZER-673。
替代历史整合 PR:#37、#39、#41、#43。