Variable: AgentSelectionSchema
Makaio Framework / contracts / AgentSelectionSchema
Variable: AgentSelectionSchema
Section titled “Variable: AgentSelectionSchema”
constAgentSelectionSchema:ZodObject<{allowedDirectories:ZodOptional<ZodArray<ZodString>>;allowedTools:ZodOptional<ZodArray<ZodString>>;cwd:ZodOptional<ZodString>;disallowedTools:ZodOptional<ZodArray<ZodString>>;kind:ZodString;model:ZodOptional<ZodString>;providerConfigId:ZodOptional<ZodString>;reasoningEffort:ZodOptional<ZodEnum<{extra-high:"extra-high";high:"high";low:"low";medium:"medium";none:"none"; }>>;systemPrompt:ZodOptional<ZodUnion<readonly [ZodString,ZodObject<{content:ZodString;mode:ZodLiteral<"append">; },$strip>]>>; },$loose> =AgentSelectionBaseSchema
Defined in: ../../../packages/contracts/src/adapter/schemas/agent-resolution.ts:196
Wire-level Zod schema for agent selection payloads.
Alias for AgentSelectionBaseSchema — validates base fields only
(open kind: z.string(), common overrides). Kind-specific fields pass
through via the loose object and are validated by host-tier resolvers.
The inferred type is AgentSelectionBase (open kind: string + index
signature). For the narrowed compile-time union, use the
AgentSelection type after resolver validation.