MCPcopy Create free account
hub / github.com/cursor/plugins / runStatus

Function runStatus

orchestrate/skills/orchestrate/scripts/cli/task.ts:546–553  ·  view source on GitHub ↗
(run: Record<string, unknown> | null)

Source from the content-addressed store, hash-verified

544}
545
546function runStatus(run: Record<string, unknown> | null): string {
547 const raw =
548 stringField(run, "status") ??
549 stringField(run, "_status") ??
550 stringField(run, "state") ??
551 "";
552 return raw.toLowerCase();
553}
554
555function timeMs(value: unknown): number | null {
556 if (typeof value === "number" && Number.isFinite(value)) return value;

Callers 1

findActiveRootPlannerFunction · 0.85

Calls 1

stringFieldFunction · 0.70

Tested by

no test coverage detected