MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / isRuntimeStatus

Function isRuntimeStatus

projects/runtime-protocol/src/protocol.ts:382–384  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

380}
381
382function isRuntimeStatus(value: unknown): value is RuntimeStatus {
383 return value === "starting" || value === "running" || value === "completed" || value === "failed" || value === "stopped" || value === "orphaned"
384}
385
386function isRuntimeKind(value: unknown): value is RuntimeRecord["kind"] {
387 return value === "agent" || value === "process" || value === "pty" || value === "git" || value === "fsWatch" || value === "composite"

Callers 1

validateRuntimeRecordFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected