@tokenaut/opentoken 1.3.3 → 1.3.5

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.
package/README.md CHANGED
@@ -98,7 +98,7 @@ opentoken cx --key <your-api-key> --model 5.5 --url https://omniroute.goio.uk/v1
98
98
  - `ANTHROPIC_BASE_URL`
99
99
  - `ANTHROPIC_MODEL`(主模型)
100
100
  - `ANTHROPIC_DEFAULT_SONNET_MODEL`(Sonnet 辅助模型)
101
- - `ANTHROPIC_SMALL_FAST_MODEL`(Haiku 快速小模型)
101
+ - `ANTHROPIC_DEFAULT_HAIKU_MODEL`(Haiku 辅助模型)
102
102
  - `API_TIMEOUT_MS`
103
103
  - `CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS`
104
104
  - `ENABLE_TOOL_SEARCH`
@@ -113,4 +113,6 @@ opentoken cx --key <your-api-key> --model 5.5 --url https://omniroute.goio.uk/v1
113
113
  - `tui.model_availability_nux`
114
114
  - `OPENAI_API_KEY`(写入 auth.json)
115
115
 
116
- 默认 Base URL:`https://gw.opentoken.io/v1`
116
+ 默认 Base URL:`https://gw.opentoken.io/v1`
117
+
118
+ opentoken cc --key sk-ot-v1-e7551b49a8c18f3f5b54dda11fb03f96f05a2aa7280bdeb9 --model opus --url https://gw.opentoken.io
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokenaut/opentoken",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "description": "OpenToken Claude Code 一键配置 CLI",
5
5
  "main": "src/cli.js",
6
6
  "bin": {
package/src/config.js CHANGED
@@ -77,7 +77,7 @@ function applyConfig(patch) {
77
77
  }
78
78
 
79
79
  if (patch.haikuModel !== undefined) {
80
- settings.env.ANTHROPIC_SMALL_FAST_MODEL = patch.haikuModel;
80
+ settings.env.ANTHROPIC_DEFAULT_HAIKU_MODEL = patch.haikuModel;
81
81
  }
82
82
 
83
83
  mergeDefaultClaudeAuxEnv(settings.env);