Loading...
Loading...
Compare original and translation side by side
.claude/tts-config.json{
"provider_order": ["google", "openai", "elevenlabs", "say"],
"unavailable_providers": [],
"voices": {
"planning": { "provider": "google", "voice": "Kore", "style": "calm" },
"issue": { "provider": "google", "voice": "Aoede", "style": "urgent" },
"summary": { "provider": "google", "voice": "Charon", "style": "satisfied" }
},
"assigned_at": "2025-01-15T10:30:00Z"
}references/voice-pools.jsonsay.claude/tts-config.json{
"provider_order": ["google", "openai", "elevenlabs", "say"],
"unavailable_providers": [],
"voices": {
"planning": { "provider": "google", "voice": "Kore", "style": "calm" },
"issue": { "provider": "google", "voice": "Aoede", "style": "urgent" },
"summary": { "provider": "google", "voice": "Charon", "style": "satisfied" }
},
"assigned_at": "2025-01-15T10:30:00Z"
}references/voice-pools.jsonsay.claude/tts-config.jsonprovider_orderunavailable_providers.claude/tts-config.jsonprovider_orderunavailable_providers| Error Pattern | Action |
|---|---|
| "API key", "unauthorized", "authentication", "GOOGLE_API_KEY", "OPENAI_API_KEY", "ELEVENLABS_API_KEY" | Add provider to |
| "rate limit", "quota", "429" | Try next provider (temporary) |
| Other errors | Try next provider |
.claude/tts-config.jsonunavailable_providers{
"provider_order": ["google", "openai", "elevenlabs", "say"],
"unavailable_providers": ["google"],
...
}| 错误类型 | 处理动作 |
|---|---|
| 包含"API key"、"unauthorized"、"authentication"、"GOOGLE_API_KEY"、"OPENAI_API_KEY"、"ELEVENLABS_API_KEY"的错误 | 将该服务商添加至 |
| 包含"rate limit"、"quota"、"429"的错误 | 尝试下一个服务商(临时限制) |
| 其他错误 | 尝试下一个服务商 |
.claude/tts-config.jsonunavailable_providers{
"provider_order": ["google", "openai", "elevenlabs", "say"],
"unavailable_providers": ["google"],
...
}| Remove/Replace | With |
|---|---|
| URLs | "see the link" or omit |
| Code blocks | "see the code changes" or brief description |
| File paths | Just the filename (e.g., |
| Long hashes/IDs | "a commit hash" or omit |
| Long number lists | "several values" or count |
| Markdown formatting | Plain text |
| Technical jargon | Simpler alternatives when possible |
| 移除/替换内容 | 替换为 |
|---|---|
| URLs | "查看链接"或省略 |
| 代码块 | "查看代码变更"或简要描述 |
| 文件路径 | 仅保留文件名(例如: |
| 长哈希/ID | "一个提交哈希"或省略 |
| 长数字列表 | "若干数值"或直接计数 |
| Markdown格式 | 纯文本 |
| 技术术语 | 尽可能替换为更简单的表述 |
mcp__mcp-tts__google_tts
- text: string (required)
- voice: string (default: "Kore")
- model: string (default: "gemini-2.5-flash-preview-tts")mcp__mcp-tts__google_tts
- text: string (必填)
- voice: string (默认值: "Kore")
- model: string (默认值: "gemini-2.5-flash-preview-tts")mcp__mcp-tts__openai_tts
- text: string (required)
- voice: string (default: "alloy") - alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, shimmer, verse
- model: string (default: "gpt-4o-mini-tts")
- speed: number (0.25-4.0, default: 1.0)
- instructions: string (voice modulation hints)mcp__mcp-tts__openai_tts
- text: string (必填)
- voice: string (默认值: "alloy") - 可选值:alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, shimmer, verse
- model: string (默认值: "gpt-4o-mini-tts")
- speed: number (范围0.25-4.0,默认值: 1.0)
- instructions: string (语音调制提示)mcp__mcp-tts__elevenlabs_tts
- text: string (required)mcp__mcp-tts__elevenlabs_tts
- text: string (必填)mcp__mcp-tts__say_tts
- text: string (required)
- voice: string (OPTIONAL - prefer leaving unset to use system default voice which sounds more natural)
- rate: integer (RECOMMENDED: 200-250 for natural speech, max 300 unless user asks faster; default: 200)mcp__mcp-tts__say_tts
- text: string (必填)
- voice: string (可选 - 建议留空以使用系统默认语音,效果更自然)
- rate: integer (推荐范围: 200-250,适合自然语音;除非用户要求更快,否则最大不超过300;默认值: 200)references/voice-pools.json~/.claude/tts-unavailable.json~/.claude/tts-assignments.json~/.claude/tts-unavailable.json{
"unavailable": ["google", "elevenlabs"],
"updated_at": "2025-01-15T10:30:00Z"
}references/voice-pools.json~/.claude/tts-unavailable.json~/.claude/tts-assignments.json~/.claude/tts-unavailable.json{
"unavailable": ["google", "elevenlabs"],
"updated_at": "2025-01-15T10:30:00Z"
}"Here's the plan for the authentication feature. First, I'll create the login component. Then add session management. Finally, write the tests. Three tasks total."
"Found and fixed an issue. The rate limiter wasn't catching timeout errors. Added a try-catch block in the handler. Tests are passing now."
"All done with the authentication system. Added login, logout, and session management. Created five new files and updated the main router. Ready for review."
“以下是认证功能的开发计划:首先创建登录组件,然后添加会话管理,最后编写测试用例。共三项任务。”
“发现并修复了一个问题:速率限制器未捕获超时错误。已在处理器中添加try-catch块,目前测试全部通过。”
“认证系统开发全部完成,已添加登录、登出及会话管理功能。新建了5个文件并更新了主路由,等待审核。”