Skip to content

Variable: ResolvedAgentConfigSchema

Makaio Framework


Makaio Framework / contracts / ResolvedAgentConfigSchema

const ResolvedAgentConfigSchema: ZodObject<{ adapterName: ZodString; allowedDirectories: ZodOptional<ZodArray<ZodString>>; allowedTools: ZodOptional<ZodArray<ZodString>>; approvalPolicy: ZodOptional<ZodEnum<{ always-ask: "always-ask"; full-access: "full-access"; reject: "reject"; }>>; compressionMode: ZodEnum<{ auto: "auto"; manual: "manual"; off: "off"; }>; contextMode: ZodEnum<{ fork: "fork"; fresh: "fresh"; }>; disallowedTools: ZodOptional<ZodArray<ZodString>>; harnessId: ZodOptional<ZodString>; mcpConfig: ZodOptional<ZodObject<{ directTools: ZodOptional<ZodArray<ZodString>>; discoveryTools: ZodOptional<ZodArray<ZodString>>; toolExposure: ZodOptional<ZodRecord<ZodString, ZodEnum<{ direct: "direct"; discovery: "discovery"; hidden: "hidden"; }>>>; }, $strip>>; model: ZodOptional<ZodString>; profileId: ZodOptional<ZodString>; providerConfigId: ZodOptional<ZodString>; reasoningEffort: ZodOptional<ZodEnum<{ extra-high: "extra-high"; high: "high"; low: "low"; medium: "medium"; none: "none"; }>>; systemPrompt: ZodOptional<ZodString>; }, $strip>

Defined in: ../../../packages/contracts/src/agent-resolution/schemas.ts:23

The concrete adapter configuration produced by resolving an AgentSelection.

This is the canonical output of the resolution pipeline — what the framework orchestrator needs to start an agent via adapter.startAgent.

Contains both framework-level fields (adapter, model, tools, prompt) and host-level fields (contextMode, compressionMode, approvalPolicy, etc.) that flow through the orchestrator into the agent lifecycle.