Variable: NativeSupervisorStatusSchema
Makaio Framework / contracts/native-session-supervisor / NativeSupervisorStatusSchema
Variable: NativeSupervisorStatusSchema
Section titled “Variable: NativeSupervisorStatusSchema”
constNativeSupervisorStatusSchema:object
Defined in: ../../../packages/contracts/src/native-session-supervisor/schemas.ts:243
Request and response schemas for native-session-supervisor.status.
Queries status for one or all supervised runtimes.
The request accepts exactly zero or one locator field:
- No locator — returns all known runtimes.
- One locator — returns the single runtime matching that field.
Providing more than one locator is rejected by the schema so that callers cannot rely on an undocumented priority ordering between fields.
Subject: native-session-supervisor.status
Type: Request (RPC)
Type Declaration
Section titled “Type Declaration”request
Section titled “request”request:
ZodUnion<readonly [ZodObject<{ },$strict>,ZodObject<{supervisorSessionId:ZodString; },$strict>,ZodObject<{sessionId:ZodString; },$strict>,ZodObject<{adapterSessionId:ZodString; },$strict>]>
response
Section titled “response”response:
ZodObject<{runtimes:ZodArray<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>>; },$strip>