-
feat: /goal
新增文件 (12个)
- src/commands/goal/index.ts — 命令入口
- src/commands/goal/goal.tsx — 命令核心逻辑
- src/utils/goal.ts — prompt 构建和工具函数
- src/tools/GoalUpdateTool/ — update_goal 工具 (3个文件)
- src/tools/GoalCreateTool/ — create_goal 工具 (3个文件)
- src/tools/GoalGetTool/ — get_goal 工具 (3个文件)
- src/hooks/useGoalAutoContinue.ts — 自动继续 hook
- src/components/PromptInput/GoalIndicator.tsx — Footer 状态显示
修改文件 (6个)
- src/state/AppStateStore.ts — 添加 GoalStatus / Goal 类型和 goal 字段
- src/commands.ts — 注册 goal 命令
- src/tools.ts — 注册三个 goal 工具
- src/screens/REPL.tsx — 调用 useGoalAutoContinue(queryGuard)
- src/components/PromptInput/PromptInputFooterLeftSide.tsx — 引入并显示 GoalIndicator
- src/bootstrap/state.ts — 添加 getTotalTokensUsed() 函数
功能
- /goal <objective> — 设置长期自治目标
- /goal pause|resume|clear|edit — 管理目标
- agent 在每个 turn 结束后自动 enqueue 继续 prompt(直到目标完成或被阻塞)
- update_goal 工具供 agent 标记目标完成或 3+ 轮阻塞后标记 blocked
- Footer 显示 goal 状态指示器 -
feat: cancel auto-start feishu bot
-
fix: just rm symbol not include text
-
feat: feishu voice tts
-
feat: feishu
-
feat: feishu connect
-
fix: desktop provider kepp TUI
-
feat: voice TW girl voice
-
feat: voice support zh-CN
---
STT(语音识别中文)
src/hooks/useVoice.ts 两处改成:
const rawLanguage = getInitialSettings().voiceLanguage || getInitialSettings().language
优先用 voiceLanguage 字段,没有则 fallback language。zh (中文) 已在 Deepgram 支持列表中。
TTS(中文语音输出)
src/hooks/useAutoTTS.ts 新增 resolveEdgeTTSVoice() 函数,根据语言自动选择 voice:
- zh / zh-CN → zh-CN-XiaoxiaoNeural
- zh-TW → zh-TW-HsiaoYuNeural
- zh-HK → zh-HK-HiuMaanNeural
- ja → ja-JP-NanamiNeural
- 其他 → en-US-JennyNeural(默认)
配置方法(在 ~/.claude/settings.json 里加):
{
voiceLanguage: zh-CN,
voiceTTSVoice: zh-CN-XiaoxiaoNeural
}
或者更简单,改 language 为 zh-CN 也能自动生效(两处都会读)。 -
feat: add nvidia provider
-
feat: voice ok
-
feat: voice stt+tts just first have voice
-
feat: voice stt ok english
-
feat: voice add fully-local STT (faster-whisper) + TTS (edge-tts)
-
feat: voice mode asr
-
feat: desktop
cd desktop && bun run tauri dev
-
feat: ctx line
-
fix: Not logged in . Run /login in opencode
-
feat: live refresh typing status
-
fix: ban telegram log
-
fix: 从 loacl 中切换到 openrouter 后自动更新 模型名称
-
fix: tui can recevie message and auto load gateway
-
feat: /telegram backend load
-
feat: /login local model
-
init: verspercode v0.1.0