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

Function isRequestId

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

Source from the content-addressed store, hash-verified

376}
377
378function isRequestId(value: unknown): value is RuntimeRequestId {
379 return typeof value === "string" || (typeof value === "number" && Number.isFinite(value))
380}
381
382function isRuntimeStatus(value: unknown): value is RuntimeStatus {
383 return value === "starting" || value === "running" || value === "completed" || value === "failed" || value === "stopped" || value === "orphaned"

Callers 3

validateRuntimeRequestFunction · 0.85
validateRuntimeResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected