Modo: incremental | Directorios indexados: 11 Para regenerar:
idx generate --path ./index.md
cli.py— Typer CLI app with generate, query, validate, login, and config commandsrunner.py—IndexRunnerclass orchestrating index builds and queriestypes.py— Shared type definitions Entry:cli.py:L1
trace_closure.py walks the static import graph from seed modules and emits a deterministic file list; copy_engine.py performs the mechanical copy, and smoke_imports.py verifies the result.
trace_closure.py— traces import closure and lists required filescopy_engine.py— copies traced files into the target packagesmoke_imports.py— verifies vendored imports load correctly Entry:trace_closure.py:L1
Provides register_callback, unregister_callback, and on_* event hook decorators for agent lifecycle events, plus configuration loading.
callbacks.py— Callback registry with event hook decoratorsconfig.py— Configuration and XDG directory resolutionreopenable_async_client.py— Reopenable async HTTP client Entry:callbacks.py:L1
Exports HookStore for per-session state tracking and install/uninstall/run_hook for Claude hook lifecycle.
store.py—HookStoreclass managing touched directories and emitted INDEX.md pathsclaude_install.py—installanduninstallfunctions for Claude hook setupserver.py—run_hookfunction for hook execution Entry:store.py:L1
__init__.py— Exportsget_current_agentagent_manager.py— Agent management logic Entry:__init__.py:L1
index_md/engine/command_line/ — Provides the safe_input function for reading user input from the command line.
utils.py— Definessafe_input__init__.py— Exports command line utilities Entry:utils.py:L1
index_md/engine/messaging — Minimal stand-in for code_puppy.messaging providing emit_info, emit_warning, emit_error, and emit_success functions.
Routes messages through stdlib logging instead of a TUI bus.
__init__.py— Defines the fouremit_*entry points backed by stdlib loggingmessage_queue.py— Additional messaging support Entry:__init__.py:L1
Provides oauth_success_html and oauth_failure_html for generating playful OAuth result pages, plus load_builtin_plugins to register them.
oauth_puppy_html.py— HTML templates for OAuth success and failure responses__init__.py— Plugin loader registering built-in plugins Entry:oauth_puppy_html.py:L1
Provides set_awaiting_user_input, is_awaiting_user_input, and should_suppress_browser to coordinate tool execution state.
command_runner.py— user-input awaiting state helperscommon.py— browser suppression flag Entry:command_runner.py:L1
index_md/ ──uses──► engine/ (model factory + provider plugins)
index_md/ ──uses──► hook/ (hook server and installer)
index_md/ ──uses──► runner/ (orchestrates generation pipeline)
index_md/ ──uses──► types/ (uses)
index_md/ ──uses──► walker/ (walks filesystem)
scripts/ ──uses──► engine/ (model factory + provider plugins)
INDEX.mdindex_md/analyzer.pyindex_md/assembler.pyindex_md/cli.pyindex_md/hook/__init__.pyindex_md/hook/claude_install.pyindex_md/hook/server.pyindex_md/hook/store.pyindex_md/prompts.pyindex_md/runner.py