feat(delegation): continue_with_session and hide sub-sessions by default#375
Open
hkx1997 wants to merge 2 commits into
Open
feat(delegation): continue_with_session and hide sub-sessions by default#375hkx1997 wants to merge 2 commits into
hkx1997 wants to merge 2 commits into
Conversation
…efault Add continue_with_session/close_session MCP tools so parent agents can resume a failed or completed child without cold re-delegation. Keep completed/failed children alive for resume, re-spawn via external_id when needed, and fix the sub-agent dialog timeline to preserve multi-turn history during continue. Sidebar: filter out delegation children from root lists (parent_id/kind/delegation_call_id), add a funnel toggle for showing sub-session trees (default off), and label sub-session rows when expanded.
hkx1997
force-pushed
the
feat/delegation-continue-session-clean
branch
from
July 23, 2026 15:58
0edfcd6 to
6108844
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
Multi-agent continue_with_session / close_session, plus sidebar treatment of delegated sub-sessions — no file-path context-menu changes.
Backend (codeg-mcp + broker)
continue_with_session,close_sessionexternal_idwhen the child process is gonetask_idfor status/cancel after continueSidebar
parent_id/kind=delegate/delegation_call_id)depth, so worktree indent is not mislabeled)N subhint when trees are hiddenSub-agent dialog
Test plan
pnpm exec vitest run src/lib/conversation-sidebar.test.ts src/lib/adapters/tool-kind-classifier.test.ts src/contexts/conversation-runtime-context.test.tsx(94 passed)cargo check --manifest-path src-tauri/Cargo.toml --features test-utils --lib