( state: CachedMCState, toolUseIds: string[], )
| 72 | } |
| 73 | |
| 74 | export function registerToolMessage( |
| 75 | state: CachedMCState, |
| 76 | toolUseIds: string[], |
| 77 | ): void { |
| 78 | if (toolUseIds.length === 0) { |
| 79 | return |
| 80 | } |
| 81 | |
| 82 | state.toolGroups.push([...toolUseIds]) |
| 83 | } |
| 84 | |
| 85 | export function markToolsSentToAPI(state: CachedMCState): void { |
| 86 | for (const toolUseId of state.toolOrder) { |
nothing calls this directly
no outgoing calls
no test coverage detected