Skip to content

Variable: ClientResolveBinarySchema

Makaio Framework


Makaio Framework / contracts/client / ClientResolveBinarySchema

const ClientResolveBinarySchema: object

Defined in: ../../../packages/contracts/src/client/binary-resolution.ts:45

Request and response schemas for client.resolveBinary.

Resolves the binary path, environment overrides, and config directory for a given client. The response is everything a caller needs to spawn the binary.

Phase 2 optional fields (sessionId, projectDir, preferSource, harnessId) are declared now as seams so the handler contract is stable before the implementations land.

request: ZodObject<{ clientId: ZodString; harnessId: ZodOptional<ZodString>; preferSource: ZodOptional<ZodEnum<{ global: "global"; managed: "managed"; }>>; projectDir: ZodOptional<ZodString>; sessionId: ZodOptional<ZodString>; }, $strip>

response: ZodObject<{ binaryPath: ZodNullable<ZodString>; configDir: ZodNullable<ZodString>; env: ZodRecord<ZodString, ZodString>; source: ZodEnum<{ global: "global"; managed: "managed"; }>; version: ZodNullable<ZodString>; }, $strip> = ClientExecutionContextSchema