/** * Native agent config generators for Kimi Code CLI. * Emits Kimi agent-file YAML plus companion markdown prompts under ~/.kimi/agents/ * or ./.kimi/agents/. File names intentionally retain the historical `.toml` * suffix as a temporary migration aid for existing OMX tooling. */ import { AgentDefinition } from "./definitions.js"; export declare const EXACT_GPT_5_4_MINI_MODEL = "gpt-5.4-mini"; export interface GeneratedNativeAgentConfig { name: string; description: string; developerInstructions?: string; model?: string; reasoningEffort?: "low" | "medium" | "high" | "xhigh"; } interface AgentModelResolutionOptions { codexHomeOverride?: string; configTomlContent?: string; env?: NodeJS.ProcessEnv; } interface RoleInstructionMetadata { name: string; posture: AgentDefinition["posture"]; modelClass: AgentDefinition["modelClass"]; routingRole: AgentDefinition["routingRole"]; } export declare function composeRoleInstructions(promptContent: string, metadata: RoleInstructionMetadata | null, resolvedModel?: string): string; export declare function composeRoleInstructionsForRole(roleName: string, promptContent: string, resolvedModel?: string): string; /** * Strip YAML frontmatter (between --- markers) from markdown content. */ export declare function stripFrontmatter(content: string): string; export declare function generateStandaloneAgentToml(config: GeneratedNativeAgentConfig): string; /** * Generate Kimi agent-file YAML content for a prompt-backed OMX role agent. */ export declare function generateAgentToml(agent: AgentDefinition, promptContent: string, options?: AgentModelResolutionOptions): string; /** * Install prompt-backed native agent config files to ~/.kimi/agents/ * Returns the number of agent config files written. */ export declare function installNativeAgentConfigs(pkgRoot: string, options?: { force?: boolean; dryRun?: boolean; verbose?: boolean; agentsDir?: string; }): Promise; export {}; //# sourceMappingURL=native-config.d.ts.map