Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode
/ clearTool
Method
clearTool
packages/opencode/src/acp/event.ts:336–339 ·
view source on GitHub ↗
(toolCallId: string)
Source
from the content-addressed store, hash-verified
334
}
335
336
private clearTool(toolCallId: string) {
337
this.toolStarts.delete(toolCallId)
338
this.shellSnapshots.delete(toolCallId)
339
}
340
}
341
342
export
* as ACPEvent from
"./event"
Callers
1
handleToolPart
Method · 0.95
Calls
1
delete
Method · 0.45
Tested by
no test coverage detected