46 lines
2.2 KiB
Markdown
46 lines
2.2 KiB
Markdown
# Directory Structure
|
|
|
|
- [claude-code-analysis](https://github.com/ComeOnOliver/claude-code-analysis)
|
|
|
|
```plaintext
|
|
src/
|
|
├── main.tsx # Entrypoint (Commander.js-based CLI parser)
|
|
├── commands.ts # Command registry
|
|
├── tools.ts # Tool registry
|
|
├── Tool.ts # Tool type definitions
|
|
├── QueryEngine.ts # LLM query engine (core Anthropic API caller)
|
|
├── context.ts # System/user context collection
|
|
├── cost-tracker.ts # Token cost tracking
|
|
│
|
|
├── commands/ # Slash command implementations (~50)
|
|
├── tools/ # Agent tool implementations (~40)
|
|
├── components/ # Ink UI components (~140)
|
|
├── hooks/ # React hooks
|
|
├── services/ # External service integrations
|
|
├── screens/ # Full-screen UIs (Doctor, REPL, Resume)
|
|
├── types/ # TypeScript type definitions
|
|
├── utils/ # Utility functions
|
|
│
|
|
├── bridge/ # IDE integration bridge (VS Code, JetBrains)
|
|
├── coordinator/ # Multi-agent coordinator
|
|
├── plugins/ # Plugin system
|
|
├── skills/ # Skill system
|
|
├── keybindings/ # Keybinding configuration
|
|
├── vim/ # Vim mode
|
|
├── voice/ # Voice input
|
|
├── remote/ # Remote sessions
|
|
├── server/ # Server mode
|
|
├── memdir/ # Memory directory (persistent memory)
|
|
├── tasks/ # Task management
|
|
├── state/ # State management
|
|
├── migrations/ # Config migrations
|
|
├── schemas/ # Config schemas (Zod)
|
|
├── entrypoints/ # Initialization logic
|
|
├── ink/ # Ink renderer wrapper
|
|
├── buddy/ # Companion sprite (Easter egg)
|
|
├── native-ts/ # Native TypeScript utils
|
|
├── outputStyles/ # Output styling
|
|
├── query/ # Query pipeline
|
|
└── upstreamproxy/ # Proxy configuration
|
|
```
|