GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — ACP: initial tool_call notification should include tool arguments in rawInput · Issue #31313 · anomalyco/opencode Closed Closed Copy link DescriptionDescriptionWhen OpenCode communicates via ACP protocol, the initial This breaks ACP clients that display tool call details from the initial notification — they can only show the tool name (e.g. "Read", "Skill") but not the tool arguments (e.g. which file is being read, which skill is being invoked). Root CauseThe issue is in export function pendingToolCall(input: { readonly toolCallId: string; readonly toolName: string }): ToolCall { return { toolCallId: input.toolCallId, title: input.toolName, kind: toToolKind(input.toolName), status: "pending", locations: [], rawInput: {}, // always empty } } And in private async toolStart(sessionId: string, part: ToolPart) { if (this.toolStarts.has(part.callID)) return this.toolStarts.add(part.callID) await this.input.connection.sessionUpdate({ sessionId, update: { sessionUpdate: "tool_call", ...pendingToolCall({ toolCallId: part.callID, toolName: part.tool, // part.state.input is available but not passed }), }, }) } Meanwhile, the export function runningToolUpdate(input: { readonly toolCallId: string readonly toolName: string readonly state: RunningToolState // has input: ToolInput }): ToolCallUpdate { return { ... rawInput: input.state.input, // real data! } } But this comes as a separate Proposed FixTwo changes:
For tools that go from ACP Protocol ContextThe ACP spec defines ImpactWithout this fix, ACP clients (like cc-connect, Windsurf, etc.) can only display:
Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |