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

Function isTerminalShellRunStatus

packages/core/src/shell-run.ts:165–167  ·  view source on GitHub ↗
(value: ShellRunStatus)

Source from the content-addressed store, hash-verified

163}
164
165export function isTerminalShellRunStatus(value: ShellRunStatus): value is ShellRunTerminalStatus {
166 return (SHELL_RUN_TERMINAL_STATUSES as readonly string[]).includes(value);
167}
168
169export function isActiveShellRunStatus(value: ShellRunStatus): value is ShellRunActiveStatus {
170 return (SHELL_RUN_ACTIVE_STATUSES as readonly string[]).includes(value);

Callers 7

runBackgroundBashMethod · 0.90
writeStdinMethod · 0.90
resourceDetailMethod · 0.90
markObservedMethod · 0.90
actionableRecordsMethod · 0.90
nextShellRunRecordFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected