File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,12 +87,9 @@ Two Anthropic-internal packages that can't be installed from npm:
8787git clone https://github.com/roger2ai/Claude-Code-Compiled.git
8888cd Claude-Code-Compiled
8989
90- # Install dependencies (postinstall auto-creates @ant/* stubs)
90+ # Install dependencies (postinstall auto-creates stubs + patches Commander.js )
9191bun install
9292
93- # Patch Commander.js (multi-char short flags not supported upstream)
94- # See docs/BUILD.md §4.1 for details — needs re-apply after bun install
95-
9693# Build
9794bun build shims/macro.ts src/main.tsx --target=bun --outdir=./dist
9895
@@ -236,5 +233,4 @@ All `@ant/*` package references are behind `feature()` guards and tree-shaken at
2362332 . ** API key required** — ` ANTHROPIC_API_KEY ` must be set for actual queries
2372343 . ** macOS Keychain** — falls back to plaintext file on Linux
2382354 . ** Sandbox on WSL2** — requires ` apt install bubblewrap socat ` for sandbox features
239- 5 . ** Commander.js patch** — multi-character short flags (` -d2e ` ) need a manual patch to ` node_modules ` after each ` bun install `
240236
Original file line number Diff line number Diff line change 8787git clone https://github.com/roger2ai/Claude-Code-Compiled.git
8888cd Claude-Code-Compiled
8989
90- # 安装依赖(postinstall 自动创建 @ant/* stub)
90+ # 安装依赖(postinstall 自动创建 stub + 修补 Commander.js )
9191bun install
9292
93- # 修补 Commander.js(多字符短标志不支持)
94- # 详见 docs/BUILD.md §4.1 — 每次 bun install 后需重新应用
95-
9693# 编译
9794bun build shims/macro.ts src/main.tsx --target=bun --outdir=./dist
9895
@@ -236,5 +233,4 @@ claude-code/
2362332 . ** 需要 API key** — 实际对话必须设置 ` ANTHROPIC_API_KEY `
2372343 . ** macOS Keychain** — Linux 上回退到明文文件存储
2382354 . ** WSL2 沙箱** — 需要 ` apt install bubblewrap socat ` 才能使用沙箱功能
239- 5 . ** Commander.js 补丁** — 多字符短标志(` -d2e ` )每次 ` bun install ` 后需手动修补 ` node_modules `
240236
You can’t perform that action at this time.
0 commit comments