Variable: NativeSupervisorLaunchSchema
Makaio Framework / contracts/native-session-supervisor / NativeSupervisorLaunchSchema
Variable: NativeSupervisorLaunchSchema
Section titled “Variable: NativeSupervisorLaunchSchema”
constNativeSupervisorLaunchSchema:object
Defined in: ../../../packages/contracts/src/native-session-supervisor/schemas.ts:45
Request and response schemas for native-session-supervisor.launch.
Launches a new supervised native process and returns a stable supervisor session ID together with the OS process ID of the spawned process.
Subject: native-session-supervisor.launch
Type: Request (RPC)
Type Declaration
Section titled “Type Declaration”request
Section titled “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>
response
Section titled “response”response:
ZodObject<{pid:ZodNumber;supervisorSessionId:ZodString; },$strip>