Skip to content

Commit 0c9fd37

Browse files
authored
Merge branch 'claude-code-best:main' into main
2 parents b5d1dbc + 5b1a52b commit 0c9fd37

559 files changed

Lines changed: 103328 additions & 101338 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 59 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,48 @@
1616

1717
[Discord 群组](https://discord.gg/qZU6zS7Q)
1818

19-
- [x] V4 — 测试补全、[Buddy](https://ccb.agent-aura.top/docs/features/buddy)[Auto Mode](https://ccb.agent-aura.top/docs/safety/auto-mode)、环境变量 Feature 开关
20-
- [x] V5 — [Sentry](https://ccb.agent-aura.top/docs/internals/sentry-setup) / [GrowthBook](https://ccb.agent-aura.top/docs/internals/growthbook-adapter) 企业监控、[自定义 Login](https://ccb.agent-aura.top/docs/features/custom-platform-login)[OpenAI 兼容](https://ccb.agent-aura.top/docs/plans/openai-compatibility)[Web Search](https://ccb.agent-aura.top/docs/features/web-browser-tool)[Computer Use](https://ccb.agent-aura.top/docs/features/computer-use) / [Chrome Use](https://ccb.agent-aura.top/docs/features/claude-in-chrome-mcp)[Voice Mode](https://ccb.agent-aura.top/docs/features/voice-mode)[Bridge Mode](https://ccb.agent-aura.top/docs/features/bridge-mode)[/dream 记忆整理](https://ccb.agent-aura.top/docs/features/auto-dream)
21-
- [ ] V6 — 大规模重构石山代码,全面模块分包(全新分支,main 封存为历史版本)
22-
23-
24-
## 快速开始(安装版)
25-
26-
不用克隆仓库, 从 NPM 下载后, 直接使用
27-
28-
```sh
29-
bun i -g claude-code-best
30-
bun pm -g trust claude-code-best
31-
ccb # 直接打开 claude code
32-
```
33-
34-
国内对 github 网络较差的, 需要先设置这个环境变量
35-
36-
```bash
37-
DEFAULT_RELEASE_BASE=https://ghproxy.net/https://github.com/microsoft/ripgrep-prebuilt/releases/download/v15.0.1
38-
```
39-
40-
## 快速开始(源码版)
19+
赞助商占位符
20+
21+
- [x] v1 会完成跑通及基本的类型检查通过;
22+
- [x] V2 会完整实现工程化配套设施;
23+
- [ ] Biome 格式化可能不会先实施, 避免代码冲突
24+
- [x] 构建流水线完成, 产物 Node/Bun 都可以运行
25+
- [x] V3 会写大量文档, 完善文档站点
26+
- [x] V4 会完成大量的测试文件, 以提高稳定性
27+
- [x] Buddy 小宠物回来啦 [文档](https://ccb.agent-aura.top/docs/features/buddy)
28+
- [x] Auto Mode 回归 [文档](https://ccb.agent-aura.top/docs/safety/auto-mode)
29+
- [x] 所有 Feature 现在可以通过环境变量配置, 而不是垃圾的 bun --feature
30+
- [x] V5 支持企业级的监控上报功能, 补全缺失的工具, 解除限制
31+
- [x] 移除牢 A 的反蒸馏代码!!!
32+
- [x] 补全 web search 能力(用的 Bing 搜索)!!! [文档](https://ccb.agent-aura.top/docs/features/web-browser-tool)
33+
- [x] 支持 Debug [文档](https://ccb.agent-aura.top/docs/features/debug-mode)
34+
- [x] 关闭自动更新;
35+
- [x] 添加自定义 sentry 错误上报支持 [文档](https://ccb.agent-aura.top/docs/internals/sentry-setup)
36+
- [x] 添加自定义 GrowthBook 支持 (GB 也是开源的, 现在你可以配置一个自定义的遥控平台) [文档](https://ccb.agent-aura.top/docs/internals/growthbook-adapter)
37+
- [x] 自定义 login 模式, 大家可以用这个配置 Claude 的模型! [文档](https://ccb.agent-aura.top/docs/features/custom-platform-login)
38+
- [x] Remote Control / Bridge Mode 支持 [文档](https://ccb.agent-aura.top/docs/features/bridge-mode)
39+
- [x] 修复搜索工具的 rg 缺失问题(需要重新 bun i)
40+
- [x] OpenAI 接口兼容! /login 然后配置 OpenAI 平台即可! [文档](https://ccb.agent-aura.top/docs/plans/openai-compatibility)
41+
- [x] Any Use
42+
- [x] 由于 Chrome Use 和 Computer Use 原本都是未完全验证的能力, 还是比较建议大家用社区里面的 MCP 支持
43+
- [x] Chrome use 支持 (浏览器插件要订阅权限 ) 感谢 @amDosion [文档](https://ccb.agent-aura.top/docs/features/claude-in-chrome-mcp)
44+
- [x] 普通用户可以使用 [chrome-devtools-mcp](https://github.com/ChromeDevTools/chrome-devtools-mcp/) 替代, 比较不那么折腾
45+
- [x] Computer use 支持 感谢 @amDosion [文档](https://ccb.agent-aura.top/docs/features/computer-use)
46+
- [x] Mac 上可以用这个项目 [computer-use-mcp](https://github.com/domdomegg/computer-use-mcp)
47+
- 注意这个库的命名方式与官方冲突了, 需要改为 `claude mcp add --scope user --transport stdio computer-use-mcp -- npx -y computer-use-mcp`
48+
- [x] /voice 支持 @amDosion [文档](https://ccb.agent-aura.top/docs/features/voice-mode)
49+
- [x] /dream 记忆整理命令(手动 + 自动后台触发) [文档](https://ccb.agent-aura.top/docs/features/auto-dream)
50+
- [ ] V6 大规模重构石山代码, 全面模块分包
51+
- [ ] V6 将会为全新分支, 届时 main 分支将会封存为历史版本
52+
53+
> 我不知道这个项目还会存在多久, Star + Fork + git clone + .zip 包最稳健; 说白了就是扛旗项目, 看看能走多远
54+
>
55+
> 这个项目更新很快, 后台有 Opus 持续优化, 几乎几个小时就有新变化;
56+
>
57+
> Claude 已经烧了 1000$ 以上, 没钱了, 换成 GLM 继续玩; @zai-org GLM 5.1 非常可以;
58+
>
59+
60+
## 快速开始
4161

4262
### 环境要求
4363

@@ -76,7 +96,7 @@ bun run build
7696

7797
### 新人配置 /login
7898

79-
首次运行后,在 REPL 中输入 `/login` 命令进入登录配置界面,选择 **Custom Platform** 即可对接第三方 API 兼容服务(无需 Anthropic 官方账号)。
99+
首次运行后,在 REPL 中输入 `/login` 命令进入登录配置界面,选择 **Anthropic Compatible** 即可对接第三方 API 兼容服务(无需 Anthropic 官方账号)。
80100

81101
需要填写的字段:
82102

@@ -89,7 +109,22 @@ bun run build
89109
| Opus Model | 高性能模型 ID | `claude-opus-4-6` |
90110

91111
- **Tab / Shift+Tab** 切换字段,**Enter** 确认并跳到下一个,最后一个字段按 Enter 保存
92-
112+
- 模型字段会自动读取当前环境变量预填
113+
- 配置保存到 `~/.claude/settings.json``env` 字段,保存后立即生效
114+
115+
也可以直接编辑 `~/.claude/settings.json`
116+
117+
```json
118+
{
119+
"env": {
120+
"ANTHROPIC_BASE_URL": "https://api.example.com/v1",
121+
"ANTHROPIC_AUTH_TOKEN": "sk-xxx",
122+
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4-5-20251001",
123+
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-4-6",
124+
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-4-6"
125+
}
126+
}
127+
```
93128

94129
> 支持所有 Anthropic API 兼容服务(如 OpenRouter、AWS Bedrock 代理等),只要接口兼容 Messages API 即可。
95130

README_EN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ If you encounter a bug, please open an issue — we'll prioritize it.
7474

7575
### First-time Setup /login
7676

77-
After the first run, enter `/login` in the REPL to access the login configuration screen. Select **Custom Platform** to connect to third-party API-compatible services (no Anthropic account required).
77+
After the first run, enter `/login` in the REPL to access the login configuration screen. Select **Anthropic Compatible** to connect to third-party API-compatible services (no Anthropic account required).
7878

7979
Fields to fill in:
8080

Run.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bun install
2+
bun run dev --dangerously-skip-permissions

TODO.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# TODO
2+
3+
尽可能实现下面的包, 使得与主包的关系完全吻合
4+
5+
## Packages
6+
7+
- [x] `url-handler-napi` — URL 处理 NAPI 模块 (签名修正,保持 null fallback)
8+
- [x] `modifiers-napi` — 修饰键检测 NAPI 模块 (Bun FFI + Carbon)
9+
- [x] `audio-capture-napi` — 音频捕获 NAPI 模块 (SoX/arecord)
10+
- [x] `color-diff-napi` — 颜色差异计算 NAPI 模块 (纯 TS 实现)
11+
- [x] `image-processor-napi` — 图像处理 NAPI 模块 (sharp + osascript 剪贴板)
12+
13+
- [x] `@ant/computer-use-swift` — Computer Use Swift 原生模块 (macOS JXA/screencapture 实现)
14+
- [x] `@ant/computer-use-mcp` — Computer Use MCP 服务 (类型安全 stub + sentinel apps + targetImageSize)
15+
- [x] `@ant/computer-use-input` — Computer Use 输入模块 (macOS AppleScript/JXA 实现)
16+
<!-- - [ ] `@ant/claude-for-chrome-mcp` — Chrome MCP 扩展 -->
17+
18+
## 工程化能力
19+
20+
- [x] 代码格式化与校验
21+
- [x] 冗余代码检查
22+
- [x] git hook 的配置
23+
- [x] 代码健康度检查
24+
- [x] Biome lint 规则调优(适配反编译代码,关闭格式化避免大规模 diff)
25+
- [x] 单元测试基础设施搭建 (test runner 配置)
26+
- [x] CI/CD 流水线 (GitHub Actions)

0 commit comments

Comments
 (0)