MCPcopy Create free account
hub / github.com/apache/maka / shellRunBashToolCallIds

Function shellRunBashToolCallIds

packages/runtime/src/session-manager.ts:6762–6768  ·  view source on GitHub ↗
(messages: readonly StoredMessage[])

Source from the content-addressed store, hash-verified

6760}
6761
6762function shellRunBashToolCallIds(messages: readonly StoredMessage[]): Set<string> {
6763 return new Set(
6764 messages.flatMap((message) =>
6765 message.type === 'tool_call' && message.toolName === 'Bash' ? [message.id] : [],
6766 ),
6767 );
6768}
6769
6770function throwIfChildExecutionAborted(signal: AbortSignal | undefined, message: string): void {
6771 if (!signal?.aborted) return;

Callers 2

listShellRunUpdatesMethod · 0.85
getShellRunUpdateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected