Ultimate documentation site for the attached repo
This static site is a full source explorer and architecture handbook generated from the attached repository zip. It includes every file, every directory, full code pages, cross-links, offline search, beginner explanations, expert explanations, subsystem slices, and execution-flow pages.
What this site contains
- Every file from the zip as a real HTML page with full source.
- Every directory as a navigable index page.
- Architecture pages for bootstrap, tools, commands, bridge, permissions, MCP, memory, workflows, and more.
- Beginner and expert explanation layers on major pages.
- Cross-links between parent directories, related files, subsystem slices, and search results.
How to use it
- Start at the root directory page.
- Search by file name, directory name, subsystem, or code phrase.
- Use architecture pages to understand the big picture.
- Open file pages when you need the exact source and relationships.
- Use the beginner and expert guides for two different reading paths.
Root tree preview
- ๐ assistant
- ๐ bootstrap
- ๐ bridge
- ๐ buddy
- ๐ cli
- ๐ commands
- ๐ components
- ๐ constants
- ๐ context
- ๐ coordinator
- ๐ entrypoints
- ๐ hooks
- ๐ ink
- ๐ keybindings
- ๐ memdir
- ๐ migrations
- ๐ moreright
- ๐ native-ts
- ๐ outputStyles
- ๐ plugins
- ๐ query
- ๐ remote
- ๐ schemas
- ๐ screens
- ๐ server
- ๐ services
- ๐ skills
- ๐ state
- ๐ tasks
- ๐ tools
- ๐ types
- ๐ upstreamproxy
- ๐ utils
- ๐ vim
- ๐ voice
- ๐ QueryEngine.ts
- ๐ README.md
- ๐ Task.ts
- ๐ Tool.ts
- ๐ commands.ts
- ๐ context.ts
- ๐ cost-tracker.ts
- ๐ costHook.ts
- ๐ dialogLaunchers.tsx
- ๐ history.ts
- ๐ ink.ts
- ๐ interactiveHelpers.tsx
- ๐ main.tsx
- ๐ projectOnboardingState.ts
- ๐ query.ts
- ๐ replLauncher.tsx
- ๐ setup.ts
- ๐ tasks.ts
- ๐ tools.ts
Use the root directory page for the full navigable tree.
Architecture map
App bootstrap
How the application initializes, wires state, and launches runtime behavior.
Session engine
Session state, conversation history, turns, persistence, and runtime coordination.
Tool system
Tool contracts, registration, validation, execution, and result plumbing.
File tools
Repository file reading, writing, editing, searching, and helpers.
Shell safety
Shell execution, dangerous command checks, sandboxing, and safety policy edges.
Permissions
Approval flows, permission modes, allow/deny decisions, and callbacks.
Commands
User-facing commands, command handlers, and interactive entry points.
Planner and verifier agents
Planning, review, verification, advisor, and agent composition flows.
Memory layers
Memory files, summaries, persisted state, and prompt-time memory loading.
Compaction
Context shrinking, summarization boundaries, and long-session management.
Tasks and background jobs
Long-running work records, workflows, and asynchronous task handling.
Repo context
Project-aware search, context gathering, and repository introspection.
Integrations
External services, APIs, analytics, auth, and service glue.
UI flow
Terminal or UI rendering, components, dialogs, prompts, and user interaction surfaces.
Remote and bridge
Remote execution, bridge transport, cross-process messaging, and session handoff.
MCP
Model Context Protocol-related files, servers, transports, and integration surfaces.
Workflow logic
Workflow orchestration, multi-step sequences, and higher-level operational logic.
Largest source files
| File | Lines | Importance | Subsystems |
|---|---|---|---|
| cli/print.ts | 5595 | high | general |
| utils/messages.ts | 5513 | high | general |
| utils/sessionStorage.ts | 5106 | high | session-engine |
| utils/hooks.ts | 5023 | high | general |
| screens/REPL.tsx | 5006 | high | ui-flow |
| main.tsx | 4684 | high | app-bootstrap |
| utils/bash/bashParser.ts | 4437 | high | general |
| utils/attachments.ts | 3998 | high | general |
| services/api/claude.ts | 3420 | high | integrations |
| services/mcp/client.ts | 3349 | high | integrations, mcp |
| utils/plugins/pluginLoader.ts | 3303 | high | general |
| commands/insights.ts | 3201 | high | commands |