Skip to content

feat(renderer): display task tool summary#307

Merged
sudo-tee merged 8 commits intomainfrom
feat/child-session-summary
Mar 6, 2026
Merged

feat(renderer): display task tool summary#307
sudo-tee merged 8 commits intomainfrom
feat/child-session-summary

Conversation

@sudo-tee
Copy link
Owner

@sudo-tee sudo-tee commented Mar 5, 2026

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds child-session tool activity to task tool rendering and ensures child-session tool parts are tracked and can trigger re-rendering of the owning task block.

Changes:

  • Track and upsert tool parts received for child sessions, and re-render the parent task tool in the active session when child activity updates.
  • Pass a child-session part fetcher into the formatter so task tools can render “live” child tool activity.
  • Standardize action-line formatting (icon + label + value) and add status icons (running/pending/completed).

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
tests/manual/renderer_replay.lua Stabilizes replay notifications by using a consistent notify id.
tests/data/explore.expected.json Updates expected render output to include child-session selection/action rendering.
lua/opencode/ui/renderer.lua Stores child-session tool parts and re-renders the owning task tool part when relevant child parts update.
lua/opencode/ui/render_state.lua Adds storage + accessors for child-session parts.
lua/opencode/ui/icons.lua Adds icons for child-tool status rendering (completed/pending/running).
lua/opencode/ui/formatter.lua Refactors action formatting, adds child-session activity list to task tool rendering, and wires in child-session part retrieval.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sudo-tee sudo-tee changed the title Feat/child session summary feat(renderer): display task tool summary Mar 6, 2026
@sudo-tee sudo-tee marked this pull request as ready for review March 6, 2026 11:51
@sudo-tee sudo-tee merged commit e23f440 into main Mar 6, 2026
10 checks passed
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.

2 participants