mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-15 12:53:31 +08:00
- Set up VitePress with bilingual support (Chinese root + English /en/) - Create unified sidebar navigation with all doc sections - Add custom Anthropic brand theme (#D97757) - Create Quick Start pages (zh/en) from README content - Migrate 7 .en.md files to docs/en/ directory structure - Translate memory/agent/skills docs to English (9 files) - Generate English-only architecture diagrams (11 images via PicTactic) - Copy English-ready images for agent/skills sections (21 images) - Configure custom domain (claudecodehaha.relakkesyang.org) - Localize Chinese UI labels (sidebar, outline, footer) - Add documentation site badge to READMEs - Fix dead links and update cross-references for VitePress Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
23 lines
953 B
Markdown
23 lines
953 B
Markdown
# Project Structure
|
|
|
|
|
|
```text
|
|
bin/claude-haha # Entry script
|
|
preload.ts # Bun preload (sets MACRO globals)
|
|
.env.example # Environment variable template
|
|
src/
|
|
├── entrypoints/cli.tsx # Main CLI entry
|
|
├── main.tsx # Main TUI logic (Commander.js + React/Ink)
|
|
├── localRecoveryCli.ts # Fallback Recovery CLI
|
|
├── setup.ts # Startup initialization
|
|
├── screens/REPL.tsx # Interactive REPL screen
|
|
├── ink/ # Ink terminal rendering engine
|
|
├── components/ # UI components
|
|
├── tools/ # Agent tools (Bash, Edit, Grep, etc.)
|
|
├── commands/ # Slash commands (/commit, /review, etc.)
|
|
├── skills/ # Skill system
|
|
├── services/ # Service layer (API, MCP, OAuth, etc.)
|
|
├── hooks/ # React hooks
|
|
└── utils/ # Utility functions
|
|
```
|