[Feature]: Show the current session's subagents and background tasks, with stop and transcript view
Maintainers usually reply within 1 day
@ayush5harma is already working on this.
Since Oct 14, 2026.
- #443 by @ayush5harma — closed without merging
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- rust
- Domain
- ai-infra-agents, cli
Research direction
Start from the task lifecycle the bridge normalizes (task_started, task_progress, task_updated, task_notification) and from sdk_inventory.tasks and TaskMetadata, which the progress fields would extend. The new commands wrap Query.stopTask(), getSubagentMessages() and listSubagents(). Done means the progress fields reach TaskMetadata, stop_task and get_subagent_messages work, and the UI placement agreed in #443 is implemented. The UI decision is still open, so confirm it before starting.
Written by the indexing model from the issue text.
Description
Rescoped after review on #443: the current session's agents only, built on the Agent SDK, with no Claude Code UI and no private job files.
Problem Statement
A session's subagents and background tasks are visible only as their tool calls in the transcript, where a detached launch shows a ↗ icon and a later result. There is no single place to see which of them are still running, what each is doing, or how much it has used. A running task cannot be stopped from claude-rs, and a subagent's own transcript cannot be read.
Proposed Solution
Add a view of the active session's subagents and background tasks, built on the Agent SDK the bridge already uses:
- Source of truth: the task lifecycle state the bridge already normalizes from
task_started/task_progress/task_updated/task_notification, held in Rust assdk_inventory.tasksand on theDetachedtool calls. The view projects that state and keeps no second store. - Progress data: forward the token and tool-use counts,
last_tool_nameand the progresssummaryfromtask_progressas fields of the existingTaskMetadata. - Stop: a
stop_taskcommand callsQuery.stopTask(). The resultingstoppednotification flows through the existing task path. - Subagent transcript: a
get_subagent_messagescommand callsgetSubagentMessages(), andlistSubagents()shows which subagents have a transcript. - UI: placement, command name and any footer indicator are to be agreed in #443 before implementation.
Out of scope: other sessions, Claude Code's global background-session roster, and Claude Code's own agent view.
Alternatives Considered
- Handing the terminal to Claude Code's
claude agents, and reading its job files for a footer count. That was implemented in #443 and declined: claude-rs should not launch Claude Code's UI or reimplement its private job state.
Checklist
- I have searched existing issues and discussions to ensure this is not a duplicate
- Dominant language
- Rust
- Stars
- 261
- Forks
- 57
- Avg merge
- 10h 15m
- Merged PRs (30d)
- 58
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from srothgan/claude-code-rust
-
area: tui good first issue help wanted type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
srothgan/claude-code-rust#473 ·
Maintainers usually reply within 1 day
-
area: core help wanted type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
srothgan/claude-code-rust#472 ·
Maintainers usually reply within 1 day
-
area: agent-sdk area: tui help wanted status: discussion type: bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
srothgan/claude-code-rust#469 · 2 comments ·
Maintainers usually reply within 1 day
-
[FEATURE]: Make footer information and layout configurablePossibly taken @srothgan claimed this 2 days ago. Openarea: core area: tui type: feature
srothgan/claude-code-rust#466 · 1 assignee ·
Maintainers usually reply within 1 day
-
area: agent-sdk area: core good first issue help wanted type: feature
Difficulty 4/5 3-5 days Newbie friendliness 45/100
srothgan/claude-code-rust#465 · 2 comments ·
Maintainers usually reply within 1 day
All issues in srothgan/claude-code-rust
Similar issues
-
documentation good first issue
Difficulty 2/5 Half a day Newbie friendliness 72/100
sujithputta02/Esapay#13 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
tursodatabase/turso#10002 ·
Maintainers usually reply within 1 day
-
needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
topgrade-rs/topgrade#2419 ·
Maintainers usually reply within 1 day
-
review-bot
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
midagedev/bloomery#318 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Chia-Network/clvm_rs#863 ·
Maintainers usually reply within 1 day