mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
- Slim down README from ~400 lines to ~140 lines, keeping only essential content - Reorganize docs/ into guide/, features/, reference/, images/ subdirectories - Add GitHub badges (stars, forks, issues, PRs, license, language switch) - Extract env vars, FAQ, fixes, project structure, global usage into separate docs - Add LICENSE file (educational and research use only) - Update all cross-references and issue template links
15 lines
1.0 KiB
Markdown
15 lines
1.0 KiB
Markdown
# Fixes Compared with the Original Leaked Source
|
|
|
|
<p align="right"><a href="./fixes.md">中文</a> | <a href="../../README.en.md">Back to README</a></p>
|
|
|
|
The leaked source could not run directly. This repository mainly fixes the following issues:
|
|
|
|
| Issue | Root cause | Fix |
|
|
|------|------|------|
|
|
| TUI does not start | The entry script routed no-argument startup to the recovery CLI | Restored the full `cli.tsx` entry |
|
|
| Startup hangs | The `verify` skill imports a missing `.md` file, causing Bun's text loader to hang indefinitely | Added stub `.md` files |
|
|
| `--print` hangs | `filePersistence/types.ts` was missing | Added type stub files |
|
|
| `--print` hangs | `ultraplan/prompt.txt` was missing | Added resource stub files |
|
|
| **Enter key does nothing** | The `modifiers-napi` native package was missing, `isModifierPressed()` threw, `handleEnter` was interrupted, and `onSubmit` never ran | Added try/catch fault tolerance |
|
|
| Setup was skipped | `preload.ts` automatically set `LOCAL_RECOVERY=1`, skipping all initialization | Removed the default setting |
|