Skip to content

feat(aux-panel): native sub-agent child tabs, right-edge rail, two-column session details - #784

Open
leehom0123 wants to merge 4 commits into
xintaofei:mainfrom
leehom0123:feat/aux-subagent-panel-two-column
Open

leehom0123 wants to merge 4 commits into
xintaofei:mainfrom
leehom0123:feat/aux-subagent-panel-two-column

Conversation

@leehom0123

@leehom0123 leehom0123 commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

@
两个提交:

提交 1 — 子代理进侧边栏

  • 最右侧竖排图标栏(right-edge rail),退役旧的右缘悬浮 chrome;Windows/Linux 标题栏 overhang 预留改到新栏旁
  • 会话详情 tab:子代理行经 beforeTokens 插槽进入详情正文(标识 → 子代理 → token 用量 → 时间戳 → 任务);共享 PlanEntryRow / DelegationRow / NativeSubAgentRow
  • 统一子会话打开:点击任意 agent 的原生子代理行,幂等落库隐藏 delegate 会话(open_native_subagent_session,web API 同步暴露),在父 tab 旁开固定子 tab,完整复用聊天窗口;composer 仅在连接落到子句柄后出现
  • tab store:原生子 tab 注册 + 父关级联关闭
  • 10 语言文案

提交 2 — 会话详情两列省空间

  • 标识与 token 字段改两列;真正宽的字段(扩展 ID、上下文窗口 used/max 形式)占整行;时间戳保持单列

说明

  • 已验证:tsc 0 错、eslint 0 错、vitest 447 文件全过、cargo check/clippy(-D warnings)/codeg-server check 全 0、cargo test --lib 3627 过 0 败
    @

…ve child tabs

- add the right-edge icon rail (s1) and retire the old right-edge chrome
  overlay; rework the Windows/Linux caption-overhang reserve to sit beside
  the new rail column (s2)
- session-details tab: move the sub-agent rows INTO the details content via
  a beforeTokens slot (identifiers -> sub-agents -> tokens -> timestamps ->
  tasks); shared PlanEntryRow / DelegationRow / NativeSubAgentRow components
- unified child-session open: clicking any agent's native sub-agent row
  idempotently upserts a hidden delegate conversation
  (open_native_subagent_session, also exposed over the web API) and opens a
  pinned child tab beside the parent, reusing the full chat window; the
  composer only appears once the connection lands on the child's own handle
- tab store: register native child tabs with parent-cascade close
- i18n: new copy across all 10 locales
The aux-panel tab was one field per row; half-width columns fit ids,
model names, branches and token counts. Genuinely wide values (external
id, the used / max (pct) context-window form) keep the full row, and
timestamps stay one-up since date+time strings would wrap. Drops the
container-query variants that made the narrow tab single-column.
# Conflicts:
#	src/lib/tool-call-normalization.test.ts
main added `powershell` to EXACT_TOOL_NAME_ALIASES; the branch's block
added the same key plus `pwsh`, so the merged literal carried
duplicates (TS1117). Keep main's entry and fold `pwsh` in beside it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant