Skip to content

Variable: NativeSupervisorLaunchSchema

Makaio Framework


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

const NativeSupervisorLaunchSchema: 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)

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: ZodObject<{ pid: ZodNumber; supervisorSessionId: ZodString; }, $strip>