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

Function isLiveShellRunCard

packages/cli/src/pi-transcript.ts:1599–1601  ·  view source on GitHub ↗

* A card whose run resource is still `running`. The transition is keyed on the * resource status, not the presentation status: an inherited run is shown as * `detached` while its resource keeps running, and its settle must still * announce. Replay stays silent via the `announceSettle: false` hydr

(entry: MakaPiToolEntry | undefined)

Source from the content-addressed store, hash-verified

1597 * and because stored replay never routes through the notice path.
1598 */
1599function isLiveShellRunCard(entry: MakaPiToolEntry | undefined): boolean {
1600 return entry?.result?.kind === 'shell_run' && isActiveShellRunStatus(entry.result.status);
1601}
1602
1603/**
1604 * Apply a live result to a parent Bash card, announcing a running → settled

Calls 1

isActiveShellRunStatusFunction · 0.90

Tested by

no test coverage detected