import type { InferSchema, Schema } from "../../extensions/schema/index.js"; import type { ChatSystemMessage } from "../../chat/types.js"; import type { RuntimeSkillDefinition } from "./skill-metadata.js"; /** Zod schema for get runtime agent thinking config. */ export declare const getRuntimeAgentThinkingConfigSchema: () => Schema; budgetTokens: Schema; }>>; /** Schema for runtime agent thinking config. * @deprecated Use getRuntimeAgentThinkingConfigSchema() */ export declare const runtimeAgentThinkingConfigSchema: Schema; budgetTokens: Schema; }>>; /** Configuration used by runtime agent thinking. */ export type RuntimeAgentThinkingConfig = InferSchema>; /** Schema for a first-party MCP preset that is safe to serialize with an agent definition. */ export declare const getRuntimeAgentMcpServerConfigSchema: () => Schema; id: Schema; toolPolicy: Schema; deny: Schema; approval: Schema<"never" | undefined>; }> | undefined>; }>>; /** First-party MCP preset carried over the hosted agent-definition boundary. */ export type RuntimeAgentMcpServerConfig = InferSchema>; /** Zod schema for get runtime agent markdown definition. */ export declare const getRuntimeAgentMarkdownDefinitionSchema: () => Schema; name: Schema; description: Schema; avatarUrl: Schema; instructions: Schema; system: Schema; thinking: Schema; budgetTokens: Schema; }> | undefined>; model: Schema; temperature: Schema; maxSteps: Schema; providerTools: Schema; skills: Schema; tools: Schema; /** * Tool names an agent author explicitly switched off with `false`. The * positive `tools` selector cannot express a denial, so hosted preparation * would otherwise re-add runtime-essential skill tools the author denied. * Combining this field with `tools: true` fails closed and disables all * project tools. List the allowed tools explicitly when denials are needed. */ deniedTools: Schema; delegates: Schema; mcpServers: Schema; id: Schema; toolPolicy: Schema; deny: Schema; approval: Schema<"never" | undefined>; }> | undefined>; }>[] | undefined>; }>>; export { DEFAULT_RUNTIME_AGENT_CONTEXT_MARKER } from "./call-context.js"; /** Schema for runtime agent markdown definition. * @deprecated Use getRuntimeAgentMarkdownDefinitionSchema() */ export declare const runtimeAgentMarkdownDefinitionSchema: Schema; name: Schema; description: Schema; avatarUrl: Schema; instructions: Schema; system: Schema; thinking: Schema; budgetTokens: Schema; }> | undefined>; model: Schema; temperature: Schema; maxSteps: Schema; providerTools: Schema; skills: Schema; tools: Schema; /** * Tool names an agent author explicitly switched off with `false`. The * positive `tools` selector cannot express a denial, so hosted preparation * would otherwise re-add runtime-essential skill tools the author denied. * Combining this field with `tools: true` fails closed and disables all * project tools. List the allowed tools explicitly when denials are needed. */ deniedTools: Schema; delegates: Schema; mcpServers: Schema; id: Schema; toolPolicy: Schema; deny: Schema; approval: Schema<"never" | undefined>; }> | undefined>; }>[] | undefined>; }>>; /** Definition for runtime agent markdown. */ export type RuntimeAgentMarkdownDefinition = InferSchema>; /** Zod schema for get parse runtime agent markdown definition input. */ export declare const getParseRuntimeAgentMarkdownDefinitionInputSchema: () => Schema; content: Schema; }>>; /** Schema for parse runtime agent markdown definition input. * @deprecated Use getParseRuntimeAgentMarkdownDefinitionInputSchema() */ export declare const parseRuntimeAgentMarkdownDefinitionInputSchema: Schema; content: Schema; }>>; /** Input payload for parse runtime agent markdown definition. */ export type ParseRuntimeAgentMarkdownDefinitionInput = InferSchema>; /** Input payload for create runtime agent system messages. */ export type CreateRuntimeAgentSystemMessagesInput = { agent: RuntimeAgentMarkdownDefinition; runtimeBlocks?: readonly string[]; skills?: readonly RuntimeSkillDefinition[]; availableToolNames?: readonly string[]; environmentContext?: string; runtimeContextMarker?: string; }; /** Definition for parse runtime agent markdown. */ export declare function parseRuntimeAgentMarkdownDefinition(input: ParseRuntimeAgentMarkdownDefinitionInput): RuntimeAgentMarkdownDefinition; /** * Create runtime agent system messages. * * Assembly is delegated to {@link buildAgentCallContext}, which deduplicates: * a runtime block whose leading tag already appears as a complete element in * the agent's instructions is dropped rather than emitted twice. */ export declare function createRuntimeAgentSystemMessages(input: CreateRuntimeAgentSystemMessagesInput): ChatSystemMessage[]; //# sourceMappingURL=agent-definition.d.ts.map