Skip to content

Fix subagent bar current-turn scope - #79

Open
dix105 wants to merge 5 commits into
v3from
fix/group-03-subagent-turn-model
Open

Fix subagent bar current-turn scope#79
dix105 wants to merge 5 commits into
v3from
fix/group-03-subagent-turn-model

Conversation

@dix105

@dix105 dix105 commented May 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • scope the floating subagent composer bar to the latest/current user turn instead of session-global spawned subagents
  • extract subagent turn-scope derivation into a tested helper
  • keep Activity/history session-global while documenting the remaining anchor-field fallback edge case

Verification

  • pnpm --filter ui test subagentTurnScope --run
  • pnpm --filter ui typecheck
  • pnpm --filter ui exec eslint components/ChatView/index.tsx lib/subagentTurnScope.ts lib/tests/subagentTurnScope.test.ts (passes with existing warnings in ChatView)
  • pnpm --filter ui build
  • web UI check against multi-turn subagent chat: latest floating bar showed current turn count (5 background agent) while older historical subagents stayed in transcript/context

Notes

Full repo lint still fails on pre-existing unrelated errors in ChatSearch, ToolCallSteps, ActivityNodes, ChatsSection, useAgentActivity, useSubagentMessages, and localFirstSync tests.

@vercel

vercel Bot commented May 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
openclaw-desktop-ui Ignored Ignored Preview May 26, 2026 7:10pm

@dix105
dix105 force-pushed the fix/group-03-subagent-turn-model branch from 716ff5d to 7f96d85 Compare May 26, 2026 17:33
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