mirror of
https://github.com/sanbuphy/claude-code-source-code.git
synced 2026-04-03 11:34:54 +08:00
Add Chinese README, docs links, and collapsible module tables
- Add README_CN.md with full Chinese translation - Add language switcher (EN/ZH) and docs/ links to README.md - Collapse long module tables (Internal Code, Tools, Assets) into <details> - Point to docs/ directory for deep analysis reports Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
28
README.md
28
README.md
@@ -3,6 +3,19 @@
|
||||
> Extracted from npm package `@anthropic-ai/claude-code` version **2.1.88**.
|
||||
> The published package ships a single bundled `cli.js` (~12MB). The `src/` directory in this repo contains the **unbundled TypeScript source** extracted from the npm tarball.
|
||||
|
||||
**Language**: **English** | [中文](README_CN.md)
|
||||
|
||||
---
|
||||
|
||||
> **Deep Analysis Reports**: Full source code analysis reports are available in the [`docs/`](docs/) directory (bilingual EN/ZH):
|
||||
> - Telemetry & Privacy (opt-out-free data collection pipeline)
|
||||
> - Hidden Features & Model Codenames (Tengu, Capybara, Fennec, Numbat)
|
||||
> - Undercover Mode (AI attribution stripping in open-source contributions)
|
||||
> - Remote Control & Killswitches (managed settings, feature flags)
|
||||
> - Future Roadmap (Numbat model, KAIROS autonomous mode, voice input)
|
||||
>
|
||||
> **English**: [`docs/en/`](docs/en/) | **中文**: [`docs/zh/`](docs/zh/)
|
||||
|
||||
---
|
||||
|
||||
## Missing Modules Notice (108 modules)
|
||||
@@ -15,6 +28,9 @@
|
||||
|
||||
These modules have no source files anywhere in the npm package. They are internal Anthropic infrastructure.
|
||||
|
||||
<details>
|
||||
<summary>Click to expand full list</summary>
|
||||
|
||||
| Module | Purpose | Feature Gate |
|
||||
|--------|---------|-------------|
|
||||
| `daemon/main.js` | Background daemon supervisor | `DAEMON` |
|
||||
@@ -61,10 +77,15 @@ These modules have no source files anywhere in the npm package. They are interna
|
||||
| `udsClient.js` / `udsMessaging.js` | UDS messaging client | `UDS_INBOX` |
|
||||
| `systemThemeWatcher.js` | Theme watcher | `AUTO_THEME` |
|
||||
|
||||
</details>
|
||||
|
||||
### Feature-Gated Tools (~20 modules, DCE'd from bundle)
|
||||
|
||||
These tools have type signatures in `sdk-tools.d.ts` but their implementations were stripped at compile time.
|
||||
|
||||
<details>
|
||||
<summary>Click to expand full list</summary>
|
||||
|
||||
| Tool | Purpose | Feature Gate |
|
||||
|------|---------|-------------|
|
||||
| `REPLTool` | Interactive REPL (VM sandbox) | `ant` (internal) |
|
||||
@@ -85,10 +106,15 @@ These tools have type signatures in `sdk-tools.d.ts` but their implementations w
|
||||
| `ListPeersTool` | List active peers | `UDS_INBOX` |
|
||||
| `DiscoverSkillsTool` | Skill discovery | `EXPERIMENTAL_SKILL_SEARCH` |
|
||||
|
||||
</details>
|
||||
|
||||
### Text/Prompt Assets (~6 files)
|
||||
|
||||
These are internal prompt templates and documentation, never published.
|
||||
|
||||
<details>
|
||||
<summary>Click to expand</summary>
|
||||
|
||||
| File | Purpose |
|
||||
|------|---------|
|
||||
| `yolo-classifier-prompts/auto_mode_system_prompt.txt` | Auto-mode system prompt for classifier |
|
||||
@@ -98,6 +124,8 @@ These are internal prompt templates and documentation, never published.
|
||||
| `verify/examples/cli.md` | CLI verification examples |
|
||||
| `verify/examples/server.md` | Server verification examples |
|
||||
|
||||
</details>
|
||||
|
||||
### Why They're Missing
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user