/** * [WHO]: IdleThink extension interface — idle detection, background code exploration orchestration * [FROM]: Depends on core/extensions-host/types, ./thinker (runExploration), ./insights (storeInsight, buildInsightInjection, loadRecentInsights, projectKeyFromCwd), ./curiosity (loadCuriosityQueue, saveCuriosityQueue, pickNextTopics, addTopicsFromInsight, extractTopicsFromInsight, markExplored) * [TO]: Loaded by builtin-extensions.ts as default extension * [HERE]: extensions/builtin/idle-think/index.ts - background code archaeology during idle time * * When the user is idle for 10+ minutes, spawns a read-only SubAgent to explore the current * project and discover non-obvious patterns, architecture decisions, and knowledge worth * remembering. Insights are persisted to nanomem and injected into subsequent conversations. * * Default: OFF. Enable via settings.idleThink.enabled = true. * When enabled, the agent thinks when idle — exploring code and building knowledge. */ import type { ExtensionAPI } from "../../../core/extensions-host/types.js"; export default function idleThinkExtension(api: ExtensionAPI): Promise;