Skip to content

Variable: SupervisorRuntimeSnapshotSchema

Makaio Framework


Makaio Framework / contracts/native-session-supervisor / SupervisorRuntimeSnapshotSchema

const SupervisorRuntimeSnapshotSchema: ZodObject<{ adapterSessionId: ZodOptional<ZodString>; clientId: ZodString; cwd: ZodString; pid: ZodNullable<ZodNumber>; sessionId: ZodOptional<ZodString>; startedAt: ZodNumber; status: ZodEnum<{ exited: "exited"; running: "running"; stopped: "stopped"; unknown: "unknown"; }>; stoppedAt: ZodOptional<ZodNumber>; supervisorSessionId: ZodString; }, $strip>

Defined in: ../../../packages/contracts/src/native-session-supervisor/schemas.ts:197

A snapshot of a single supervised runtime returned by the status query.