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

Function appendUserPrompt

packages/cli/src/pi-transcript.ts:235–237  ·  view source on GitHub ↗
(state: MakaPiTranscriptState, text: string)

Source from the content-addressed store, hash-verified

233}
234
235export function appendUserPrompt(state: MakaPiTranscriptState, text: string): void {
236 state.entries.push({ kind: 'user', text });
237}
238
239export function appendTurnFailureToTranscript(state: MakaPiTranscriptState, error: unknown): void {
240 clearPendingInteractions(state);

Callers 3

runAgentTurnFunction · 0.85

Calls 1

pushMethod · 0.65

Tested by

no test coverage detected