Variable: AdapterSelectionSchema
Makaio Framework / contracts/adapter / AdapterSelectionSchema
Variable: AdapterSelectionSchema
Section titled “Variable: AdapterSelectionSchema”
constAdapterSelectionSchema:ZodObject<{adapterId:ZodOptional<ZodString>;adapterName:ZodOptional<ZodString>;allowedDirectories:ZodOptional<ZodArray<ZodString>>;allowedTools:ZodOptional<ZodArray<ZodString>>;cwd:ZodOptional<ZodString>;disallowedTools:ZodOptional<ZodArray<ZodString>>;kind:ZodLiteral<"adapter">;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>
Defined in: ../../../packages/contracts/src/adapter/schemas/agent-resolution.ts:114
Direct adapter specification.
The only kind the framework can resolve without host-tier resolvers.
Specifies the adapter driver to use. adapterName may be omitted when an
adapterId is provided for unambiguous multi-host targeting; startup paths
backfill the name when the runtime already knows it.
Example
Section titled “Example”const selection: AdapterSelection = { kind: 'adapter', adapterId: 'adapter-123', model: 'sonnet',};