Skip to content

Variable: ClientExecutionContextSchema

Makaio Framework


Makaio Framework / contracts/client / ClientExecutionContextSchema

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

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

Execution context returned by the client.resolveBinary command.

Describes everything a caller needs to spawn the resolved client binary: the path (or null to use PATH lookup), environment overrides, the config directory in effect, the resolution source, and the resolved version.