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

Function appendTurnFailureToTranscript

packages/cli/src/pi-transcript.ts:239–246  ·  view source on GitHub ↗
(state: MakaPiTranscriptState, error: unknown)

Source from the content-addressed store, hash-verified

237}
238
239export function appendTurnFailureToTranscript(state: MakaPiTranscriptState, error: unknown): void {
240 clearPendingInteractions(state);
241 state.entries.push({
242 kind: 'notice',
243 level: 'error',
244 text: error instanceof Error ? error.message : String(error),
245 });
246}
247
248export function refreshRunningShellRunElapsed(
249 state: MakaPiTranscriptState,

Callers 1

runAgentTurnFunction · 0.85

Calls 2

clearPendingInteractionsFunction · 0.85
pushMethod · 0.65

Tested by

no test coverage detected