claude-code-best
|
fcbc882232
|
chore: 清理 src 下 113 项未使用导入和死代码
删除未使用的文件(BuiltinStatusLine.tsx、4 个重复的 .ts stub)、
移除约 55 个文件中未使用的 React 导入、
清理约 50 处未使用的导入/变量/参数。
净减少 ~296 行代码,precheck 4077 测试全部通过。
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-05 20:05:15 +08:00 |
|
claude-code-best
|
d3eebfed15
|
build: Vite 单文件构建 + 修复 doubaoime-asr 打包后 WASM 加载失败
- vite.config.ts: codeSplitting: false 替代多 chunk 输出,产出单文件 dist/cli.js
- vite.config.ts: ssr.external 排除 doubaoime-asr/opus-encdec,避免 require.resolve 路径失效
- scripts/post-build.ts: 简化为直接处理单文件 dist/cli.js
- src/services/doubaoSTT.ts: 改进错误信息,输出具体异常内容便于排查
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-03 16:13:20 +08:00 |
|
claude-code-best
|
6182015005
|
style: 完成所有文件的lint
|
2026-05-01 21:39:30 +08:00 |
|
claude-code-best
|
2e7fc428cd
|
feat: 集成豆包 ASR 语音识别后端,支持 /voice doubao 切换 (#357)
* feat: 集成豆包 ASR 语音识别后端,支持 /voice doubao 切换
- 新增 src/services/doubaoSTT.ts 适配模块,将 doubaoime-asr 的
AsyncGenerator 协议适配为现有 VoiceStreamConnection 接口
- /voice doubao 启用豆包后端,/voice 使用默认 Anthropic 后端
- 后端选择持久化到 settings.json 的 voiceProvider 字段
- 豆包后端跳过 Anthropic OAuth 认证、语言限制和 Focus Mode
- 豆包后端松手即出结果,跳过 processing 状态
- 凭证文件存放在 ~/.claude/tts/doubao/credentials.json
- doubaoime-asr 作为 optionalDependencies 安装
- 移除 /voice 命令的 claude-ai 可用性限制,所有用户可用
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
* docs: 更新 Voice Mode 文档,添加豆包 ASR 后端说明和致谢
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-04-25 13:57:30 +08:00 |
|