import { type ModelTierConfig } from "./config.js"; /** * Formats a short summary of an IDE config path for display. * Replaces $HOME with ~ for readability. */ export declare function displayPath(p: string): string; /** * The OpenCode agent entry for ARCS orchestrator. */ export declare const ARCS_AGENT_ENTRY: { description: string; mode: "primary" | "subagent"; prompt: string; color: string; }; /** * The OpenCode agent entry for ARCS Flash — same authority and safety * invariants as ARCS Orchestrator, with a knowledge-first, parallel-first * control flow under tiered gates. */ export declare const ARCS_FLASH_AGENT_ENTRY: { description: string; mode: "primary" | "subagent"; prompt: string; color: string; }; /** * The OpenCode agent entry for ARCS Caveman — same capabilities as ARCS * Orchestrator, but with caveman speech layered on top for token efficiency. */ export declare const ARCS_CAVEMAN_AGENT_ENTRY: { description: string; mode: "primary" | "subagent"; prompt: string; color: string; }; /** * Checks whether the ARCS agent is already registered in opencode.json. */ export declare function opencodeHasAgent(): boolean; /** * Returns the registry id of the ARCS primary currently set as opencode's * `default_agent`, or undefined when it is unset, unreadable, or names an agent * outside the three ARCS primaries. * * Callers pre-select the wizard's primary prompt with it so re-running setup and * pressing Enter preserves the existing default instead of resetting it. */ export declare function readOpencodePrimaryAgentId(): string | undefined; export interface AgentWriteResult { configPath: string; promptPath: string; flashPromptPath: string; cavemanPromptPath: string; action: "created" | "updated"; alreadyConfigured: boolean; } /** * Registers the ARCS orchestrator agents (standard + Flash + Caveman) as * primary agents in opencode.json. Also writes all three prompt text files to * ~/.config/opencode/prompts/. * * All three agents share full ARCS tool access and workflow rules; ARCS Flash * runs a knowledge-first, parallel-first control flow, and ARCS Caveman layers * caveman-speak on top for token-efficient chat output. * * `primaryAgentId` picks which of the three opencode starts on. Omitting it (or * passing an unknown id) keeps the historical default, ARCS Orchestrator. */ export declare function writeOpencodeAgent(modelConfig?: ModelTierConfig, primaryAgentId?: string): AgentWriteResult; /** * Applies ModelTierConfig to all known agent entries in opencode.json. * Each agent (primary or sub-agent) listed in AGENT_TIER_MAP gets `model` and * `variant` fields resolved from its tier. perAgent model overrides win. * Call this AFTER bundle install so it overwrites hardcoded manifest models. */ export declare function applyAgentModelConfig(modelConfig: ModelTierConfig): void; //# sourceMappingURL=instructions.d.ts.map