/** * agent-registry.ts — Agent type definitions, configuration, and registry helpers. * * Provides functions for: * - Reloading custom agents from .pi/agents/*.md files * - Building type lists for tool descriptions * - Join mode and scheduling configuration */ import type { JoinMode, PromptCompressionLevel } from "./types.js"; import type { DashboardKeybindings, DashboardKeybindingsOverride } from "./ui/dashboard-keybindings.js"; import type { FooterStatusConfig } from "./ui/footer-status-config.js"; /** Get the default join mode for background agents. */ export declare function getDefaultJoinMode(): JoinMode; /** Set the default join mode for background agents. */ export declare function setDefaultJoinMode(mode: JoinMode): void; export type OrchestrationMode = "auto" | "single" | "swarm" | "crew"; /** Get the default orchestration mode for agent execution. */ export declare function getOrchestrationMode(): OrchestrationMode; /** Set the default orchestration mode for agent execution. */ export declare function setOrchestrationMode(mode: OrchestrationMode): void; /** Get the dashboard refresh interval in milliseconds. */ export declare function getDashboardRefreshInterval(): number; /** Set the dashboard refresh interval in milliseconds. */ export declare function setDashboardRefreshInterval(interval: number): void; /** Check if scheduling is enabled. */ export declare function isSchedulingEnabled(): boolean; /** Enable or disable scheduling. */ export declare function setSchedulingEnabled(enabled: boolean): void; /** Check if OpenTelemetry tracing is enabled. */ export declare function isTracingEnabled(): boolean; /** Enable or disable OpenTelemetry tracing. */ export declare function setTracingEnabled(enabled: boolean): void; /** * Motion profiles are backwards compatible with the original single-spinner * choices. Pack profiles select deterministic per-agent motion; `reduced` * freezes semantic glyphs while preserving state communication; `none` removes * motion glyphs entirely. */ export type AnimationStyle = "orchestrator" | "signals" | "minimal" | "reduced" | "braille" | "dots" | "lines" | "classic" | "none"; export type UiStyle = "premium" | "retro" | "plain"; export declare function getAnimationStyle(): AnimationStyle; export declare function setAnimationStyle(style: AnimationStyle): void; export declare function getUiStyle(): UiStyle; export declare function setUiStyle(style: UiStyle): void; export declare function isShowActivityStream(): boolean; export declare function setShowActivityStream(enabled: boolean): void; export declare function isShowTokenUsage(): boolean; export declare function setShowTokenUsage(enabled: boolean): void; export declare function isShowTurnProgress(): boolean; export declare function setShowTurnProgress(enabled: boolean): void; /** Get the current prompt compression level. */ export declare function getPromptCompressionLevel(): PromptCompressionLevel; /** Set the current prompt compression level. */ export declare function setPromptCompressionLevel(level: PromptCompressionLevel): void; export declare function isDebugCaptureEnabled(): boolean; export declare function setDebugCapture(enabled: boolean): void; export declare function setDebugCapturePaths(paths: { project?: string; personal?: string; }): void; export declare function getDebugCapturePaths(): { project: string; personal: string; }; export declare function getDashboardKeybindings(): DashboardKeybindings; export declare function setDashboardKeybindings(override?: DashboardKeybindingsOverride): void; export declare function getFooterStatusConfig(): FooterStatusConfig; export declare function setFooterStatusConfig(override?: Partial): void; export declare function reloadCustomAgents(): Promise; export declare function getModelLabelFromConfig(model: string): string; export declare function buildTypeListText(): string;