Repository navigation
feat: Report Claude SDK and Codex tool, approval and compaction activity - #906
Open
AlexanderZ-Band wants to merge 4 commits into
Open
AlexanderZ-Band wants to merge 4 commits into
AlexanderZ-Band wants to merge 4 commits into
Conversation
A native tool's streamed tool_use shows its name until its tool_result, then reasoning; Band MCP tools already report through dispatch_tool and are skipped. A manual approval shows permission until the room has no unanswered approval left. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DFmR3J53UqbsYDMmTUd3Rb Signed-off-by: Alexander Zaikman <alexander.zaikman@band.ai>
A tool item shows its name from item/started to item/completed, and a contextCompaction item shows memory until it completes. Custom tools Codex asks the adapter to run show their name while they run; Band tools already report themselves. A manual approval shows permission until the room has no unanswered approval left. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DFmR3J53UqbsYDMmTUd3Rb Signed-off-by: Alexander Zaikman <alexander.zaikman@band.ai>
A room-bound custom tool on the embedded MCP engine shows its name on its room's turn while it runs, then reasoning. This covers every adapter that serves custom tools through the engine (Claude SDK, OpenCode, Letta, ACP client). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DFmR3J53UqbsYDMmTUd3Rb Signed-off-by: Alexander Zaikman <alexander.zaikman@band.ai>
With emit=() a native Bash call still shows tool_call Bash on the turn, and the room gets no tool_call or tool_result events. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DFmR3J53UqbsYDMmTUd3Rb Signed-off-by: Alexander Zaikman <alexander.zaikman@band.ai>
This branch has not been deployed
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.
Why
Band tools already show in the room as turn activity (#841). Claude SDK and Codex run most of their work through their own tools, approval prompts and, for Codex, context compaction. Without a mapping for those, the room shows only "reasoning" while Bash runs or the agent waits on a person.
What
tool_callwith its name from itsToolUseBlockuntil itsToolResultBlockarrives, then returns to reasoning.mcp__band__*) are skipped because MCPdispatch_toolalready reports them.can_use_toolapproval showspermissionuntil the room has no unanswered approvals left.tool_callfromitem/starteduntilitem/completed.contextCompactionitem showsmemoryfrom its start until it completes.permission.item/tool/call) report where they run.tool_activityon the room's tools, which covers custom tools on Claude SDK, OpenCode, Letta and the ACP client.emit=(), Claude running Bash still reportstool_call Bashand posts no tool narration.ActivityRecorder.waitingis added toband.testing.activityfor permission assertions.Scope
PreCompacthook but no end signal.🤖 Generated with Claude Code
https://claude.ai/code/session_01DFmR3J53UqbsYDMmTUd3Rb