/** * V3 Configuration Schemas * Zod schemas for all configuration types */ import { z } from 'zod'; /** * Agent configuration schema */ export declare const AgentConfigSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; type: z.ZodString; capabilities: z.ZodDefault>; maxConcurrentTasks: z.ZodDefault; priority: z.ZodDefault; timeout: z.ZodOptional; retryPolicy: z.ZodOptional; backoffMs: z.ZodDefault; backoffMultiplier: z.ZodDefault; }, z.core.$strip>>; resources: z.ZodOptional; maxCpuPercent: z.ZodOptional; }, z.core.$strip>>; metadata: z.ZodOptional>; }, z.core.$strip>; /** * Task configuration schema */ export declare const TaskConfigSchema: z.ZodObject<{ type: z.ZodString; description: z.ZodString; priority: z.ZodDefault; timeout: z.ZodOptional; assignedAgent: z.ZodOptional; input: z.ZodOptional>; metadata: z.ZodOptional>; retryCount: z.ZodOptional; maxRetries: z.ZodOptional; critical: z.ZodOptional; parentTaskId: z.ZodOptional; childTaskIds: z.ZodOptional>; tags: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; /** * Swarm configuration schema */ export declare const SwarmConfigSchema: z.ZodObject<{ topology: z.ZodEnum<{ "hierarchical-mesh": "hierarchical-mesh"; mesh: "mesh"; hierarchical: "hierarchical"; ring: "ring"; star: "star"; adaptive: "adaptive"; "pheromone-adaptive": "pheromone-adaptive"; }>; maxAgents: z.ZodDefault; autoScale: z.ZodOptional; minAgents: z.ZodDefault; maxAgents: z.ZodDefault; scaleUpThreshold: z.ZodDefault; scaleDownThreshold: z.ZodDefault; }, z.core.$strip>>; coordination: z.ZodOptional; timeoutMs: z.ZodDefault; retryPolicy: z.ZodObject<{ maxRetries: z.ZodDefault; backoffMs: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>>; communication: z.ZodOptional>; batchSize: z.ZodDefault; flushIntervalMs: z.ZodDefault; }, z.core.$strip>>; metadata: z.ZodOptional>; }, z.core.$strip>; /** * Memory configuration schema */ export declare const MemoryConfigSchema: z.ZodObject<{ type: z.ZodDefault>; path: z.ZodOptional; maxSize: z.ZodOptional; ttlMs: z.ZodOptional; sqlite: z.ZodOptional; inMemory: z.ZodDefault; wal: z.ZodDefault; }, z.core.$strip>>; agentdb: z.ZodOptional; indexType: z.ZodDefault>; efConstruction: z.ZodDefault; m: z.ZodDefault; quantization: z.ZodDefault>; }, z.core.$strip>>; redis: z.ZodOptional; port: z.ZodDefault; password: z.ZodOptional; db: z.ZodDefault; keyPrefix: z.ZodDefault; }, z.core.$strip>>; hybrid: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; /** * MCP server configuration schema */ export declare const MCPServerConfigSchema: z.ZodObject<{ name: z.ZodDefault; version: z.ZodDefault; transport: z.ZodObject<{ type: z.ZodDefault>; port: z.ZodOptional; host: z.ZodOptional; path: z.ZodOptional; }, z.core.$strip>; capabilities: z.ZodOptional; resources: z.ZodDefault; prompts: z.ZodDefault; logging: z.ZodDefault; experimental: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>; /** * Orchestrator configuration schema */ export declare const OrchestratorConfigSchema: z.ZodObject<{ session: z.ZodObject<{ persistSessions: z.ZodDefault; dataDir: z.ZodDefault; sessionRetentionMs: z.ZodDefault; }, z.core.$strip>; health: z.ZodObject<{ checkInterval: z.ZodDefault; historyLimit: z.ZodDefault; degradedThreshold: z.ZodDefault; unhealthyThreshold: z.ZodDefault; }, z.core.$strip>; lifecycle: z.ZodObject<{ maxConcurrentAgents: z.ZodDefault; spawnTimeout: z.ZodDefault; terminateTimeout: z.ZodDefault; maxSpawnRetries: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; /** * Full system configuration schema * Uses passthrough() to accept unknown extra keys from user configs * without failing validation (e.g., simple key-value pairs, custom fields). */ export declare const SystemConfigSchema: z.ZodObject<{ orchestrator: z.ZodObject<{ session: z.ZodObject<{ persistSessions: z.ZodDefault; dataDir: z.ZodDefault; sessionRetentionMs: z.ZodDefault; }, z.core.$strip>; health: z.ZodObject<{ checkInterval: z.ZodDefault; historyLimit: z.ZodDefault; degradedThreshold: z.ZodDefault; unhealthyThreshold: z.ZodDefault; }, z.core.$strip>; lifecycle: z.ZodObject<{ maxConcurrentAgents: z.ZodDefault; spawnTimeout: z.ZodDefault; terminateTimeout: z.ZodDefault; maxSpawnRetries: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; memory: z.ZodOptional>; path: z.ZodOptional; maxSize: z.ZodOptional; ttlMs: z.ZodOptional; sqlite: z.ZodOptional; inMemory: z.ZodDefault; wal: z.ZodDefault; }, z.core.$strip>>; agentdb: z.ZodOptional; indexType: z.ZodDefault>; efConstruction: z.ZodDefault; m: z.ZodDefault; quantization: z.ZodDefault>; }, z.core.$strip>>; redis: z.ZodOptional; port: z.ZodDefault; password: z.ZodOptional; db: z.ZodDefault; keyPrefix: z.ZodDefault; }, z.core.$strip>>; hybrid: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; mcp: z.ZodOptional; version: z.ZodDefault; transport: z.ZodObject<{ type: z.ZodDefault>; port: z.ZodOptional; host: z.ZodOptional; path: z.ZodOptional; }, z.core.$strip>; capabilities: z.ZodOptional; resources: z.ZodDefault; prompts: z.ZodDefault; logging: z.ZodDefault; experimental: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$strip>>; swarm: z.ZodOptional; maxAgents: z.ZodDefault; autoScale: z.ZodOptional; minAgents: z.ZodDefault; maxAgents: z.ZodDefault; scaleUpThreshold: z.ZodDefault; scaleDownThreshold: z.ZodDefault; }, z.core.$strip>>; coordination: z.ZodOptional; timeoutMs: z.ZodDefault; retryPolicy: z.ZodObject<{ maxRetries: z.ZodDefault; backoffMs: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>>; communication: z.ZodOptional>; batchSize: z.ZodDefault; flushIntervalMs: z.ZodDefault; }, z.core.$strip>>; metadata: z.ZodOptional>; }, z.core.$strip>>; }, z.core.$loose>; /** * Export schema types * Using z.output to get post-default types (fields with defaults are required in output) */ export type AgentConfig = z.output; export type TaskConfig = z.output; export type SwarmConfig = z.output; export type MemoryConfig = z.output; export type MCPServerConfig = z.output; export type OrchestratorConfig = z.output; export type SystemConfig = z.output; /** * Input types (for validation before defaults are applied) */ export type AgentConfigInput = z.input; export type TaskConfigInput = z.input; export type SwarmConfigInput = z.input; export type MemoryConfigInput = z.input; export type MCPServerConfigInput = z.input; export type OrchestratorConfigInput = z.input; export type SystemConfigInput = z.input; //# sourceMappingURL=schema.d.ts.map