/** * Miscellaneous settings — imported external skills, per-thread conversation * mode, bootstrap message count, wait timeout, predefined prompts, guardrails * toggle, and the child-thread memory source env var. */ export declare const SKILL_TYPES: readonly ["sensorium", "claude", "copilot"]; export type SkillType = (typeof SKILL_TYPES)[number]; export interface ImportedSkill { path: string; type: SkillType; } export declare function isValidSkillType(v: unknown): v is SkillType; /** All registered external skills. Malformed entries are dropped. */ export declare function getImportedSkills(): ImportedSkill[]; /** Register an external skill by path+type. Idempotent on path (updates type). */ export declare function addImportedSkill(skill: ImportedSkill): void; /** Unregister an external skill by path. */ export declare function removeImportedSkill(path: string): void; export type ConversationMode = "concise" | "voice"; /** Returns the conversation mode for a thread, defaulting to "concise". */ export declare function getThreadConversationMode(threadId: number): ConversationMode; /** Persists a per-thread conversation mode. */ export declare function setThreadConversationMode(threadId: number, mode: ConversationMode): void; /** Number of recent episodes injected into the bootstrap as "Recent Conversation". */ export declare function getBootstrapMessageCount(): number; export declare function setBootstrapMessageCount(count: number): void; /** Minimum cosine similarity a note must clear to enter Key Knowledge. */ export declare function getRelevanceAnchorThreshold(): number; /** Upper bound on the number of Key Knowledge notes surfaced in the bootstrap. */ export declare function getKeyKnowledgeMax(): number; /** How many recent conversation episodes form the relevance anchor. */ export declare function getRelevanceAnchorTailEpisodes(): number; export declare function getReplyMaxChars(): number; export declare function setReplyMaxChars(chars: number): void; export declare function getWaitTimeoutMinutes(): number; export declare function setWaitTimeoutMinutes(minutes: number): void; export interface PredefinedPrompt { label: string; text: string; isStartup?: boolean; } /** Coerce untrusted input into a clean list of {label, text} prompts. */ export declare function normalizePredefinedPrompts(raw: unknown): PredefinedPrompt[]; export declare function getPredefinedPrompts(): PredefinedPrompt[]; export declare function setPredefinedPrompts(list: PredefinedPrompt[]): void; /** Whether guardrail (Active Decisions) notes are injected into memory briefings. */ export declare function getGuardrailsEnabled(): boolean; export declare function setGuardrailsEnabled(enabled: boolean): void; /** * Read the MEMORY_SOURCE_THREAD_ID env var set by the parent process * when spawning a child thread (worker/branch). Returns the parent * thread ID for memory briefing, or undefined if not a child thread. */ export declare function getMemorySourceThreadId(): number | undefined; //# sourceMappingURL=misc-settings.d.ts.map