Variable: ClientRuntimeStartedSchema
Makaio Framework / contracts/client / ClientRuntimeStartedSchema
Variable: ClientRuntimeStartedSchema
Section titled “Variable: ClientRuntimeStartedSchema”
constClientRuntimeStartedSchema:ZodObject<{adapterSessionId:ZodOptional<ZodString>;argv:ZodOptional<ZodArray<ZodString>>;clientId:ZodString;clientRuntimeId:ZodString;cwd:ZodOptional<ZodString>;metadata:ZodOptional<ZodRecord<ZodString,ZodUnknown>>;observedAt:ZodNumber;parentPid:ZodOptional<ZodNumber>;pid:ZodOptional<ZodNumber>;sessionId:ZodOptional<ZodString>;source:ZodObject<{layer:ZodEnum<{adapter:"adapter";cli-wrapper:"cli-wrapper";client-hook:"client-hook";statusline:"statusline";supervisor:"supervisor"; }>;producer:ZodString; },$strip>;status:ZodEnum<{observed:"observed";started:"started"; }>;supervisorSessionId:ZodOptional<ZodString>; },$strip>
Defined in: ../../../packages/contracts/src/client/runtime-observation.ts:136
Payload for client.runtime.started.
Emitted by the runtime-observe service after a client.runtime.observe request
has been handled and a runtime record has been created or confirmed. Listeners
can react to this event without coupling to the observe handler.
Hard-evidence invariant: at least one of supervisorSessionId, pid, or
adapterSessionId is present (guaranteed by the observe handler before emit).