(state: MakaPiTranscriptState, error: unknown)
| 237 | } |
| 238 | |
| 239 | export 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 | |
| 248 | export function refreshRunningShellRunElapsed( |
| 249 | state: MakaPiTranscriptState, |
no test coverage detected