Variable: NativeSessionSupervisorSchemas
Makaio Framework / contracts/native-session-supervisor / NativeSessionSupervisorSchemas
Variable: NativeSessionSupervisorSchemas
Section titled “Variable: NativeSessionSupervisorSchemas”
constNativeSessionSupervisorSchemas:object
Defined in: ../../../packages/contracts/src/native-session-supervisor/schemas.ts:288
Native Session Supervisor namespace schemas.
Maps dot-notation subject keys to their request/response schemas.
Each key is prefixed with native-session-supervisor. on the bus.
Type Declaration
Section titled “Type Declaration”attach
Section titled “attach”attach:
object=NativeSupervisorAttachSchema
attach.request
Section titled “attach.request”request:
ZodUnion<readonly [ZodObject<{supervisorSessionId:ZodString; },$strict>,ZodObject<{sessionId:ZodString; },$strict>,ZodObject<{adapterSessionId:ZodString; },$strict>]>
attach.response
Section titled “attach.response”response:
ZodObject<{pid:ZodOptional<ZodNumber>;success:ZodBoolean;supervisorSessionId:ZodOptional<ZodString>;terminalAttachment:ZodOptional<ZodObject<{canAttach:ZodBoolean; },$strip>>; },$strip>
launch
Section titled “launch”launch:
object=NativeSupervisorLaunchSchema
launch.request
Section titled “launch.request”request:
ZodObject<{adapterSessionId:ZodOptional<ZodString>;args:ZodArray<ZodString>;clientId:ZodString;command:ZodString;cwd:ZodString;env:ZodOptional<ZodRecord<ZodString,ZodString>>;metadata:ZodOptional<ZodRecord<ZodString,ZodUnknown>>;sessionId:ZodOptional<ZodString>; },$strip>
launch.response
Section titled “launch.response”response:
ZodObject<{pid:ZodNumber;supervisorSessionId:ZodString; },$strip>
status
Section titled “status”status:
object=NativeSupervisorStatusSchema
status.request
Section titled “status.request”request:
ZodUnion<readonly [ZodObject<{ },$strict>,ZodObject<{supervisorSessionId:ZodString; },$strict>,ZodObject<{sessionId:ZodString; },$strict>,ZodObject<{adapterSessionId:ZodString; },$strict>]>
status.response
Section titled “status.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>
stop:
object=NativeSupervisorStopSchema
stop.request
Section titled “stop.request”request:
ZodObject<{signal:ZodOptional<ZodString>;supervisorSessionId:ZodString; },$strip>
stop.response
Section titled “stop.response”response:
ZodObject<{success:ZodBoolean; },$strip>