Fast 模式应对 claude-code agent 全面生效(目前是 no-op)
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: 大佬
**客户端版本**: 0.1.61
---
## 使用场景
日常把 Cindy 当主力助手(桌面会话 + IM 个人微信通道长期会话),主用 Claude Opus 级模型。思考+出字较慢,希望用 Anthropic 官方 Fast 模式提速(同模型加速输出,不降档)。
## 当前痛点
Fast 开关对 claude-code agent 全线 no-op,用户无法从任何入口开启:
- orca `create_worker` 的 `fast` 参数文档自述对 claude-code worker 忽略(agent 层 no-op)
- 会话级 fast 设置对 claude-code 会话同样无效果
- IM 通道默认设置里没有可用的 fast 配置项
而链路本身是通的:Cindy 运行 claude-code 实际是拉起官方 Claude Code CLI 进程(实测 2.1.219,`--setting-sources=user,project,local`),CLI 的 settings.json 已原生支持 `"fastMode": true`。我们已验证:手工在工作区 `.claude/settings.json` 加 `fastMode: true` 即可生效,只差 Cindy 把开关接上。
## 期望结果
**所有 claude-code 会话入口的 Fast 开关都真实生效**:
1. Cindy 拉起 CLI 时把会话/worker/通道的 fast 设置映射为 CLI 的 `fastMode`(--settings 注入即可)
2. 覆盖面:桌面会话、IM 通道(微信/飞书)、orca worker、定时任务等全部 claude-code 入口
3. 若账号/组织不支持 Fast,沿用 CLI 自身的自动回落
## 建议范围
只需在组装 claude-code 进程参数/settings 的一层透传一个布尔;现有 fast 开关 UI 已存在,不涉及新 UI。
---
**OS**: darwin arm64 (25.5.0)
**界面语言**: zh-CN
Contributor guide
Research direction
Start at the layer that assembles the claude-code CLI process settings, then trace fast from desktop sessions, IM channels, orca create_worker, and scheduled tasks. Compare the existing fast setting with the CLI's .claude/settings.json fastMode behavior; done means every listed claude-code entry point passes the boolean through while unsupported accounts retain the CLI's fallback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- ai, cli, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100