cc-goto-work 0.8.3 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/cli.js +5 -8
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -214,14 +214,11 @@ function createConfig(apiBase, apiKey, model) {
214
214
  const configContent = `# cc-goto-work configuration
215
215
  # https://github.com/${REPO}
216
216
 
217
- # OpenAI compatible API base URL
218
- api_base: ${apiBase}
219
-
220
- # API key for authentication
221
- api_key: ${apiKey}
222
-
223
- # Model name to use
224
- model: ${model}
217
+ providers:
218
+ - api_base: ${apiBase}
219
+ api_key: ${apiKey}
220
+ models:
221
+ - ${model}
225
222
 
226
223
  # Request timeout in seconds (optional)
227
224
  timeout: 30
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-goto-work",
3
- "version": "0.8.3",
3
+ "version": "0.9.0",
4
4
  "description": "让 Claude Code 自动继续未完成的工作",
5
5
  "bin": {
6
6
  "cc-goto-work": "./bin/cli.js"