/** * Agent definition schemas */ import { z } from 'zod'; /** * Agent definition schema */ export declare const AgentDefinitionSchema: z.ZodObject<{ name: z.ZodString; type: z.ZodLiteral<"agent">; description: z.ZodString; extends: z.ZodOptional; llm: z.ZodObject<{ provider: z.ZodEnum<["anthropic", "openai", "google"]>; model: z.ZodString; temperature: z.ZodOptional; max_tokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { provider: "anthropic" | "openai" | "google"; model: string; temperature?: number | undefined; max_tokens?: number | undefined; }, { provider: "anthropic" | "openai" | "google"; model: string; temperature?: number | undefined; max_tokens?: number | undefined; }>; system_prompt: z.ZodOptional; tools: z.ZodArray; custom_tools: z.ZodOptional; description: z.ZodString; extends: z.ZodOptional; extended_description: z.ZodOptional; parameters: z.ZodRecord>; depends_on: z.ZodOptional>; implementation: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"bash">; bash: z.ZodObject<{ command: z.ZodString; sandbox: z.ZodOptional>; network_access: z.ZodOptional; max_execution_time: z.ZodOptional; env_vars: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabled: boolean; allowlisted_commands?: string[] | undefined; network_access?: boolean | undefined; max_execution_time?: number | undefined; env_vars?: string[] | undefined; }, { enabled: boolean; allowlisted_commands?: string[] | undefined; network_access?: boolean | undefined; max_execution_time?: number | undefined; env_vars?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { command: string; sandbox?: { enabled: boolean; allowlisted_commands?: string[] | undefined; network_access?: boolean | undefined; max_execution_time?: number | undefined; env_vars?: string[] | undefined; } | undefined; }, { command: string; sandbox?: { enabled: boolean; allowlisted_commands?: string[] | undefined; network_access?: boolean | undefined; max_execution_time?: number | undefined; env_vars?: string[] | undefined; } | undefined; }>; }, "strip", z.ZodTypeAny, { type: "bash"; bash: { command: string; sandbox?: { enabled: boolean; allowlisted_commands?: string[] | undefined; network_access?: boolean | undefined; max_execution_time?: number | undefined; env_vars?: string[] | undefined; } | undefined; }; }, { type: "bash"; bash: { command: string; sandbox?: { enabled: boolean; allowlisted_commands?: string[] | undefined; network_access?: boolean | undefined; max_execution_time?: number | undefined; env_vars?: string[] | undefined; } | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral<"python">; python: z.ZodObject<{ module: z.ZodString; function: z.ZodString; }, "strip", z.ZodTypeAny, { function: string; module: string; }, { function: string; module: string; }>; }, "strip", z.ZodTypeAny, { type: "python"; python: { function: string; module: string; }; }, { type: "python"; python: { function: string; module: string; }; }>, z.ZodObject<{ type: z.ZodLiteral<"http">; http: z.ZodObject<{ method: z.ZodEnum<["GET", "POST", "PUT", "DELETE"]>; url: z.ZodString; headers: z.ZodOptional>; body_template: z.ZodOptional; }, "strip", z.ZodTypeAny, { url: string; method: "GET" | "POST" | "PUT" | "DELETE"; headers?: Record | undefined; body_template?: string | undefined; }, { url: string; method: "GET" | "POST" | "PUT" | "DELETE"; headers?: Record | undefined; body_template?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: "http"; http: { url: string; method: "GET" | "POST" | "PUT" | "DELETE"; headers?: Record | undefined; body_template?: string | undefined; }; }, { type: "http"; http: { url: string; method: "GET" | "POST" | "PUT" | "DELETE"; headers?: Record | undefined; body_template?: string | undefined; }; }>]>; output: z.ZodOptional>; version: z.ZodString; author: z.ZodOptional; tags: z.ZodArray; }, "strip", z.ZodTypeAny, { type: "tool"; name: string; version: string; description: string; tags: string[]; parameters: Record; implementation: { type: "bash"; bash: { command: string; sandbox?: { enabled: boolean; allowlisted_commands?: string[] | undefined; network_access?: boolean | undefined; max_execution_time?: number | undefined; env_vars?: string[] | undefined; } | undefined; }; } | { type: "python"; python: { function: string; module: string; }; } | { type: "http"; http: { url: string; method: "GET" | "POST" | "PUT" | "DELETE"; headers?: Record | undefined; body_template?: string | undefined; }; }; author?: string | undefined; extends?: string | undefined; extended_description?: string | undefined; depends_on?: string[] | undefined; output?: Record | undefined; }, { type: "tool"; name: string; version: string; description: string; tags: string[]; parameters: Record; implementation: { type: "bash"; bash: { command: string; sandbox?: { enabled: boolean; allowlisted_commands?: string[] | undefined; network_access?: boolean | undefined; max_execution_time?: number | undefined; env_vars?: string[] | undefined; } | undefined; }; } | { type: "python"; python: { function: string; module: string; }; } | { type: "http"; http: { url: string; method: "GET" | "POST" | "PUT" | "DELETE"; headers?: Record | undefined; body_template?: string | undefined; }; }; author?: string | undefined; extends?: string | undefined; extended_description?: string | undefined; depends_on?: string[] | undefined; output?: Record | undefined; }>, "many">>; caching: z.ZodOptional; path: z.ZodOptional; pattern: z.ZodOptional; content: z.ZodOptional; uri: z.ZodOptional; label: z.ZodString; ttl: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "file" | "glob" | "inline" | "codex"; label: string; path?: string | undefined; pattern?: string | undefined; content?: string | undefined; uri?: string | undefined; ttl?: number | undefined; }, { type: "file" | "glob" | "inline" | "codex"; label: string; path?: string | undefined; pattern?: string | undefined; content?: string | undefined; uri?: string | undefined; ttl?: number | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { enabled: boolean; cache_sources: { type: "file" | "glob" | "inline" | "codex"; label: string; path?: string | undefined; pattern?: string | undefined; content?: string | undefined; uri?: string | undefined; ttl?: number | undefined; }[]; }, { enabled: boolean; cache_sources: { type: "file" | "glob" | "inline" | "codex"; label: string; path?: string | undefined; pattern?: string | undefined; content?: string | undefined; uri?: string | undefined; ttl?: number | undefined; }[]; }>>; config: z.ZodOptional>; version: z.ZodString; author: z.ZodOptional; tags: z.ZodArray; }, "strip", z.ZodTypeAny, { type: "agent"; name: string; version: string; description: string; tags: string[]; tools: string[]; llm: { provider: "anthropic" | "openai" | "google"; model: string; temperature?: number | undefined; max_tokens?: number | undefined; }; author?: string | undefined; config?: Record | undefined; extends?: string | undefined; system_prompt?: string | undefined; custom_tools?: { type: "tool"; name: string; version: string; description: string; tags: string[]; parameters: Record; implementation: { type: "bash"; bash: { command: string; sandbox?: { enabled: boolean; allowlisted_commands?: string[] | undefined; network_access?: boolean | undefined; max_execution_time?: number | undefined; env_vars?: string[] | undefined; } | undefined; }; } | { type: "python"; python: { function: string; module: string; }; } | { type: "http"; http: { url: string; method: "GET" | "POST" | "PUT" | "DELETE"; headers?: Record | undefined; body_template?: string | undefined; }; }; author?: string | undefined; extends?: string | undefined; extended_description?: string | undefined; depends_on?: string[] | undefined; output?: Record | undefined; }[] | undefined; caching?: { enabled: boolean; cache_sources: { type: "file" | "glob" | "inline" | "codex"; label: string; path?: string | undefined; pattern?: string | undefined; content?: string | undefined; uri?: string | undefined; ttl?: number | undefined; }[]; } | undefined; }, { type: "agent"; name: string; version: string; description: string; tags: string[]; tools: string[]; llm: { provider: "anthropic" | "openai" | "google"; model: string; temperature?: number | undefined; max_tokens?: number | undefined; }; author?: string | undefined; config?: Record | undefined; extends?: string | undefined; system_prompt?: string | undefined; custom_tools?: { type: "tool"; name: string; version: string; description: string; tags: string[]; parameters: Record; implementation: { type: "bash"; bash: { command: string; sandbox?: { enabled: boolean; allowlisted_commands?: string[] | undefined; network_access?: boolean | undefined; max_execution_time?: number | undefined; env_vars?: string[] | undefined; } | undefined; }; } | { type: "python"; python: { function: string; module: string; }; } | { type: "http"; http: { url: string; method: "GET" | "POST" | "PUT" | "DELETE"; headers?: Record | undefined; body_template?: string | undefined; }; }; author?: string | undefined; extends?: string | undefined; extended_description?: string | undefined; depends_on?: string[] | undefined; output?: Record | undefined; }[] | undefined; caching?: { enabled: boolean; cache_sources: { type: "file" | "glob" | "inline" | "codex"; label: string; path?: string | undefined; pattern?: string | undefined; content?: string | undefined; uri?: string | undefined; ttl?: number | undefined; }[]; } | undefined; }>; export type AgentDefinition = z.infer; //# sourceMappingURL=agent.d.ts.map