(root) | 18 | 11986 | 622 | Root orchestration and shared abstractions: CLI startup, query engine, tool base types, setup, and top-level session wiring. |
entrypoints | 8 | 4059 | 13 | Bootstrap entrypoints and public SDK or CLI type contracts. |
bootstrap | 1 | 1759 | 260 | Process-global bootstrap state and counters used very early in startup and throughout the session. |
state | 6 | 1196 | 134 | AppState shape, store utilities, and state change propagation. |
commands | 207 | 26656 | 167 | Slash and local command registry plus implementations for config, review, plugin, permissions, worktrees, status, and more. |
components | 389 | 81935 | 1160 | Ink and React UI components for the REPL, dialogs, settings, message rendering, permissions, teams, tasks, and design-system primitives. |
hooks | 104 | 19308 | 258 | React hooks for UI and runtime behavior, notifications, IDE integration, queues, remote sessions, and plugin state. |
screens | 3 | 5980 | 2 | Top-level screens such as REPL and doctor or resume flows. |
services | 130 | 53810 | 914 | Business services: API clients, MCP, analytics, compacting, OAuth, policy, plugin install, tips, LSP, memory sync, and more. |
tools | 184 | 51012 | 717 | Model-callable tools, their prompts, UI surfaces, and shared tool helpers. |
tasks | 12 | 3298 | 79 | Background, local, and remote task state models and task implementations. |
remote | 4 | 1131 | 10 | Remote session viewer and manager pieces for CCR-backed sessions. |
bridge | 31 | 12644 | 85 | Remote-control and CCR bridge transport, polling, adapters, permission callbacks, and session registration. |
plugins | 2 | 184 | 5 | Built-in plugin definitions and bundled plugin registration. |
skills | 20 | 4086 | 37 | Bundled skill loading and skill-directory support. |
utils | 564 | 181036 | 5646 | Cross-cutting infrastructure: config, settings, permissions, filesystem, git, session storage, telemetry, plugin loading, prompt processing, and platform glue. |
types | 11 | 3457 | 40 | Shared type definitions and generated event or protobuf models. |
constants | 21 | 2669 | 204 | Static constants, prompt fragments, beta headers, XML tags, and product metadata. |
context | 9 | 1013 | 72 | System and user context builders plus React contexts. |
query | 4 | 656 | 4 | Query-loop helpers, token budget logic, transitions, and dependency injection points. |
assistant | 1 | 88 | 1 | Assistant-mode specific behavior, discovery, and session-history helpers. |
coordinator | 1 | 370 | 4 | Coordinator-mode behavior and filters for multi-agent orchestration. |
cli | 19 | 12372 | 25 | Headless and SDK-facing I/O surfaces, transports, structured streaming, and auth/plugin/MCP sub-handlers. |
ink | 96 | 19938 | 337 | Local Ink wrapper and terminal rendering primitives. |
keybindings | 14 | 3173 | 166 | Keyboard shortcut definitions, formatting, and provider setup. |
memdir | 8 | 1744 | 45 | Memory prompt loading and path helpers for CLAUDE.md and team memory. |
migrations | 11 | 614 | 11 | One-shot config and model migration helpers applied at startup. |
native-ts | 4 | 4085 | 5 | Native-accelerated TypeScript wrappers such as file indexing and terminal layout helpers. |
schemas | 1 | 223 | 3 | Shared Zod schemas. |
server | 3 | 361 | 3 | Direct-connect server and session bootstrapping. |
upstreamproxy | 2 | 742 | 1 | Upstream proxy support for remote and CCR environments. |
vim | 5 | 1518 | 8 | Vim-mode support. |
voice | 1 | 55 | 5 | Voice-mode entry logic. |
buddy | 6 | 1304 | 11 | Buddy and companion UI and prompt assets. |
moreright | 1 | 26 | 1 | MoreRight feature surface. |
outputStyles | 1 | 99 | 1 | Output-style registry. |