Variable: ClientResolveBinarySchema
Makaio Framework / contracts/client / ClientResolveBinarySchema
Variable: ClientResolveBinarySchema
Section titled “Variable: ClientResolveBinarySchema”
constClientResolveBinarySchema: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.
Type Declaration
Section titled “Type Declaration”request
Section titled “request”request:
ZodObject<{clientId:ZodString;harnessId:ZodOptional<ZodString>;preferSource:ZodOptional<ZodEnum<{global:"global";managed:"managed"; }>>;projectDir:ZodOptional<ZodString>;sessionId:ZodOptional<ZodString>; },$strip>
response
Section titled “response”response:
ZodObject<{binaryPath:ZodNullable<ZodString>;configDir:ZodNullable<ZodString>;env:ZodRecord<ZodString,ZodString>;source:ZodEnum<{global:"global";managed:"managed"; }>;version:ZodNullable<ZodString>; },$strip> =ClientExecutionContextSchema