cc-viewer 1.6.329 → 1.6.331
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 +7 -8
- package/cli.js +6 -6
- package/concepts/ar/GlobalSettings.md +5 -2
- package/concepts/ar/ProxySwitch.md +15 -5
- package/concepts/da/GlobalSettings.md +5 -2
- package/concepts/da/ProxySwitch.md +15 -5
- package/concepts/de/GlobalSettings.md +5 -2
- package/concepts/de/ProxySwitch.md +15 -5
- package/concepts/en/GlobalSettings.md +7 -2
- package/concepts/en/ProxySwitch.md +15 -5
- package/concepts/es/GlobalSettings.md +5 -2
- package/concepts/es/ProxySwitch.md +15 -5
- package/concepts/fr/GlobalSettings.md +5 -2
- package/concepts/fr/ProxySwitch.md +15 -5
- package/concepts/it/GlobalSettings.md +5 -2
- package/concepts/it/ProxySwitch.md +15 -5
- package/concepts/ja/GlobalSettings.md +5 -2
- package/concepts/ja/ProxySwitch.md +15 -5
- package/concepts/ko/GlobalSettings.md +5 -2
- package/concepts/ko/ProxySwitch.md +15 -5
- package/concepts/no/GlobalSettings.md +5 -2
- package/concepts/no/ProxySwitch.md +15 -5
- package/concepts/pl/GlobalSettings.md +5 -2
- package/concepts/pl/ProxySwitch.md +15 -5
- package/concepts/pt-BR/GlobalSettings.md +5 -2
- package/concepts/pt-BR/ProxySwitch.md +34 -24
- package/concepts/ru/GlobalSettings.md +5 -2
- package/concepts/ru/ProxySwitch.md +15 -5
- package/concepts/th/GlobalSettings.md +5 -2
- package/concepts/th/ProxySwitch.md +15 -5
- package/concepts/tr/GlobalSettings.md +5 -2
- package/concepts/tr/ProxySwitch.md +34 -24
- package/concepts/uk/GlobalSettings.md +5 -2
- package/concepts/uk/ProxySwitch.md +15 -5
- package/concepts/zh/GlobalSettings.md +5 -2
- package/concepts/zh/ProxySwitch.md +15 -5
- package/concepts/zh-TW/GlobalSettings.md +7 -4
- package/concepts/zh-TW/ProxySwitch.md +15 -5
- package/dist/assets/App-Bla1Fr_X.css +1 -0
- package/dist/assets/{App-zGAU2EYM.js → App-CCQARuiH.js} +1 -1
- package/dist/assets/{MdxEditorPanel-5Pb0ZTc6.js → MdxEditorPanel-BjJTwpmV.js} +1 -1
- package/dist/assets/{Mobile-BYT_A8TX.js → Mobile-BsJPIcqy.js} +1 -1
- package/dist/assets/index-ReSZCrNR.js +2 -0
- package/dist/assets/seqResourceLoaders-K-REW6io.js +2 -0
- package/dist/assets/{seqResourceLoaders-BFMsIN74.css → seqResourceLoaders-P_ytfji6.css} +1 -1
- package/dist/index.html +1 -1
- package/dist/voice-packs/default/pack.json +1 -1
- package/findcc.js +50 -40
- package/interceptor.js +1 -1
- package/package.json +8 -4
- package/plugins/README.md +8 -0
- package/server/_paths.js +24 -22
- package/server/interceptor.js +39 -25
- package/server/lib/interceptor-core.js +107 -0
- package/server/routes/preferences.js +14 -1
- package/server.js +1 -0
- package/ultraAgents/README.md +49 -40
- package/dist/assets/App-j3FcuV1C.css +0 -1
- package/dist/assets/index-DENLOp7J.js +0 -2
- package/dist/assets/seqResourceLoaders-C7QiLG9L.js +0 -2
|
@@ -13,8 +13,13 @@ Hot-Switch Proxy lets you dynamically redirect API requests to a different endpo
|
|
|
13
13
|
| **Name** | ✅ | Display name for this proxy, used to identify it |
|
|
14
14
|
| **Base URL** | ✅ | Base URL of the API service (e.g. `https://api.example.com`). The original request origin will be replaced |
|
|
15
15
|
| **API Key** | ✅ | API key for the proxy service, replaces the original authentication |
|
|
16
|
-
| **
|
|
17
|
-
| **
|
|
16
|
+
| **ANTHROPIC_MODEL** | ❌ | 기본 모델. `fable` / `mythos` 계열에 속하는 모델 요청은 이 값으로 재작성됩니다 |
|
|
17
|
+
| **ANTHROPIC_DEFAULT_OPUS_MODEL** | ❌ | 확장: `model`에 `opus`가 포함된 요청은 이 값으로 재작성됩니다 |
|
|
18
|
+
| **ANTHROPIC_DEFAULT_SONNET_MODEL** | ❌ | 확장: `model`에 `sonnet`이 포함된 요청은 이 값으로 재작성됩니다 |
|
|
19
|
+
| **ANTHROPIC_DEFAULT_HAIKU_MODEL** | ❌ | 확장: `model`에 `haiku`가 포함된 요청은 이 값으로 재작성됩니다 |
|
|
20
|
+
| **강도 레벨** | ❌ | 요청 본문에 `output_config.effort`(`low`/`medium`/`high`/`xhigh`/`max`)를 주입합니다. "기본값"으로 두면 건너뜁니다 |
|
|
21
|
+
|
|
22
|
+
모델 매칭은 요청의 `model` 필드에 대한 대소문자 구분 없는 부분 문자열 판정이므로, 어떤 버전(예: `claude-opus-4-8`, 향후 `claude-opus-5`)이든 재설정 없이 동일한 계열로 매핑됩니다. 계열 필드를 비워 두면 해당 계열은 변경되지 않으며, 인식할 수 없는 계열은 그대로 통과됩니다.
|
|
18
23
|
|
|
19
24
|
## How It Works
|
|
20
25
|
|
|
@@ -22,7 +27,8 @@ When a proxy is active, `server/interceptor.js` performs the following before ea
|
|
|
22
27
|
|
|
23
28
|
1. **URL Rewrite** — Replaces the request origin with the proxy's Base URL
|
|
24
29
|
2. **Auth Replace** — Replaces `x-api-key` or `Authorization` header with the proxy's API Key
|
|
25
|
-
3. **Model Replace** —
|
|
30
|
+
3. **Model Replace** — 요청 본문의 `model`을 계열 단위로 재작성합니다(opus/sonnet/haiku → 해당 필드, fable/mythos → `ANTHROPIC_MODEL`)
|
|
31
|
+
4. **Effort Inject** — 강도 레벨이 설정되어 있으면 `output_config.effort`를 주입합니다(`count_tokens` / 하트비트 요청은 건너뜀)
|
|
26
32
|
|
|
27
33
|
## Config File
|
|
28
34
|
|
|
@@ -38,8 +44,11 @@ Configuration is stored at `~/.claude/cc-viewer/profile.json`. Click the folder
|
|
|
38
44
|
"name": "My Proxy",
|
|
39
45
|
"baseURL": "https://api.example.com",
|
|
40
46
|
"apiKey": "sk-xxx",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
47
|
+
"ANTHROPIC_MODEL": "model-primary",
|
|
48
|
+
"ANTHROPIC_DEFAULT_OPUS_MODEL": "model-opus",
|
|
49
|
+
"ANTHROPIC_DEFAULT_SONNET_MODEL": "model-sonnet",
|
|
50
|
+
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "model-haiku",
|
|
51
|
+
"effort": "max"
|
|
43
52
|
}
|
|
44
53
|
]
|
|
45
54
|
}
|
|
@@ -47,4 +56,5 @@ Configuration is stored at `~/.claude/cc-viewer/profile.json`. Click the folder
|
|
|
47
56
|
|
|
48
57
|
- `active` — ID of the current profile. Set to `"max"` for direct connection (no proxy)
|
|
49
58
|
- `profiles` — Profile list. `id: "max"` is built-in and cannot be deleted
|
|
59
|
+
- 레거시 `models` / `activeModel`을 사용하는 profile은 로드 시 자동으로 `ANTHROPIC_MODEL`로 마이그레이션됩니다
|
|
50
60
|
- Changes take effect within ~1.5 seconds (monitored via `fs.watchFile`), no restart needed
|
|
@@ -165,8 +165,11 @@ claude() { ... }
|
|
|
165
165
|
| `name` | 显示名称 |
|
|
166
166
|
| `baseURL` | 代理 API 地址(替换请求 origin) |
|
|
167
167
|
| `apiKey` | 代理 API 密钥(替换认证头) |
|
|
168
|
-
| `
|
|
169
|
-
| `
|
|
168
|
+
| `ANTHROPIC_MODEL` | 主模型(fable/mythos 家族映射到此) |
|
|
169
|
+
| `ANTHROPIC_DEFAULT_OPUS_MODEL` | opus 家族使用的模型(扩展) |
|
|
170
|
+
| `ANTHROPIC_DEFAULT_SONNET_MODEL` | sonnet 家族使用的模型(扩展) |
|
|
171
|
+
| `ANTHROPIC_DEFAULT_HAIKU_MODEL` | haiku 家族使用的模型(扩展) |
|
|
172
|
+
| `effort` | 强制的 `output_config.effort` 级别 |
|
|
170
173
|
|
|
171
174
|
## 九、插件系统
|
|
172
175
|
|
|
@@ -13,8 +13,13 @@ Hot-Switch Proxy lets you dynamically redirect API requests to a different endpo
|
|
|
13
13
|
| **Name** | ✅ | Display name for this proxy, used to identify it |
|
|
14
14
|
| **Base URL** | ✅ | Base URL of the API service (e.g. `https://api.example.com`). The original request origin will be replaced |
|
|
15
15
|
| **API Key** | ✅ | API key for the proxy service, replaces the original authentication |
|
|
16
|
-
| **
|
|
17
|
-
| **
|
|
16
|
+
| **ANTHROPIC_MODEL** | ❌ | Primary model. Requests whose model belongs to the `fable` / `mythos` family are rewritten to this |
|
|
17
|
+
| **ANTHROPIC_DEFAULT_OPUS_MODEL** | ❌ | Extended: requests whose model contains `opus` are rewritten to this |
|
|
18
|
+
| **ANTHROPIC_DEFAULT_SONNET_MODEL** | ❌ | Extended: requests whose model contains `sonnet` are rewritten to this |
|
|
19
|
+
| **ANTHROPIC_DEFAULT_HAIKU_MODEL** | ❌ | Extended: requests whose model contains `haiku` are rewritten to this |
|
|
20
|
+
| **Effort Level** | ❌ | Injects `output_config.effort` (`low`/`medium`/`high`/`xhigh`/`max`) into the request body. Leave as "Default" to skip |
|
|
21
|
+
|
|
22
|
+
Model matching is a case-insensitive substring test on the request's `model` field, so any version (e.g. `claude-opus-4-8`, a future `claude-opus-5`) maps to the same family with no reconfiguration. An empty family field means that family is left unchanged; an unrecognized family is passed through untouched.
|
|
18
23
|
|
|
19
24
|
## How It Works
|
|
20
25
|
|
|
@@ -22,7 +27,8 @@ When a proxy is active, `server/interceptor.js` performs the following before ea
|
|
|
22
27
|
|
|
23
28
|
1. **URL Rewrite** — Replaces the request origin with the proxy's Base URL
|
|
24
29
|
2. **Auth Replace** — Replaces `x-api-key` or `Authorization` header with the proxy's API Key
|
|
25
|
-
3. **Model Replace** —
|
|
30
|
+
3. **Model Replace** — Rewrites the request body `model` by family (opus/sonnet/haiku → the matching field; fable/mythos → `ANTHROPIC_MODEL`)
|
|
31
|
+
4. **Effort Inject** — If an effort level is set, injects `output_config.effort` (skipped for `count_tokens` / heartbeat requests)
|
|
26
32
|
|
|
27
33
|
## Config File
|
|
28
34
|
|
|
@@ -38,8 +44,11 @@ Configuration is stored at `~/.claude/cc-viewer/profile.json`. Click the folder
|
|
|
38
44
|
"name": "My Proxy",
|
|
39
45
|
"baseURL": "https://api.example.com",
|
|
40
46
|
"apiKey": "sk-xxx",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
47
|
+
"ANTHROPIC_MODEL": "model-primary",
|
|
48
|
+
"ANTHROPIC_DEFAULT_OPUS_MODEL": "model-opus",
|
|
49
|
+
"ANTHROPIC_DEFAULT_SONNET_MODEL": "model-sonnet",
|
|
50
|
+
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "model-haiku",
|
|
51
|
+
"effort": "max"
|
|
43
52
|
}
|
|
44
53
|
]
|
|
45
54
|
}
|
|
@@ -47,4 +56,5 @@ Configuration is stored at `~/.claude/cc-viewer/profile.json`. Click the folder
|
|
|
47
56
|
|
|
48
57
|
- `active` — ID of the current profile. Set to `"max"` for direct connection (no proxy)
|
|
49
58
|
- `profiles` — Profile list. `id: "max"` is built-in and cannot be deleted
|
|
59
|
+
- Legacy profiles using `models` / `activeModel` are auto-migrated to `ANTHROPIC_MODEL` on load
|
|
50
60
|
- Changes take effect within ~1.5 seconds (monitored via `fs.watchFile`), no restart needed
|
|
@@ -165,8 +165,11 @@ claude() { ... }
|
|
|
165
165
|
| `name` | 显示名称 |
|
|
166
166
|
| `baseURL` | 代理 API 地址(替换请求 origin) |
|
|
167
167
|
| `apiKey` | 代理 API 密钥(替换认证头) |
|
|
168
|
-
| `
|
|
169
|
-
| `
|
|
168
|
+
| `ANTHROPIC_MODEL` | 主模型(fable/mythos 系列映射到此) |
|
|
169
|
+
| `ANTHROPIC_DEFAULT_OPUS_MODEL` | opus 系列使用的模型(扩展) |
|
|
170
|
+
| `ANTHROPIC_DEFAULT_SONNET_MODEL` | sonnet 系列使用的模型(扩展) |
|
|
171
|
+
| `ANTHROPIC_DEFAULT_HAIKU_MODEL` | haiku 系列使用的模型(扩展) |
|
|
172
|
+
| `effort` | 强制的 `output_config.effort` 等级 |
|
|
170
173
|
|
|
171
174
|
## 九、插件系统
|
|
172
175
|
|
|
@@ -13,8 +13,13 @@ Hot-Switch Proxy lets you dynamically redirect API requests to a different endpo
|
|
|
13
13
|
| **Name** | ✅ | Display name for this proxy, used to identify it |
|
|
14
14
|
| **Base URL** | ✅ | Base URL of the API service (e.g. `https://api.example.com`). The original request origin will be replaced |
|
|
15
15
|
| **API Key** | ✅ | API key for the proxy service, replaces the original authentication |
|
|
16
|
-
| **
|
|
17
|
-
| **
|
|
16
|
+
| **ANTHROPIC_MODEL** | ❌ | Primary model. Requests whose model belongs to the `fable` / `mythos` family are rewritten to this |
|
|
17
|
+
| **ANTHROPIC_DEFAULT_OPUS_MODEL** | ❌ | Extended: requests whose model contains `opus` are rewritten to this |
|
|
18
|
+
| **ANTHROPIC_DEFAULT_SONNET_MODEL** | ❌ | Extended: requests whose model contains `sonnet` are rewritten to this |
|
|
19
|
+
| **ANTHROPIC_DEFAULT_HAIKU_MODEL** | ❌ | Extended: requests whose model contains `haiku` are rewritten to this |
|
|
20
|
+
| **Effort Level** | ❌ | Injects `output_config.effort` (`low`/`medium`/`high`/`xhigh`/`max`) into the request body. Leave as "Default" to skip |
|
|
21
|
+
|
|
22
|
+
Model matching is a case-insensitive substring test on the request's `model` field, so any version (e.g. `claude-opus-4-8`, a future `claude-opus-5`) maps to the same family with no reconfiguration. An empty family field means that family is left unchanged; an unrecognized family is passed through untouched.
|
|
18
23
|
|
|
19
24
|
## How It Works
|
|
20
25
|
|
|
@@ -22,7 +27,8 @@ When a proxy is active, `server/interceptor.js` performs the following before ea
|
|
|
22
27
|
|
|
23
28
|
1. **URL Rewrite** — Replaces the request origin with the proxy's Base URL
|
|
24
29
|
2. **Auth Replace** — Replaces `x-api-key` or `Authorization` header with the proxy's API Key
|
|
25
|
-
3. **Model Replace** —
|
|
30
|
+
3. **Model Replace** — Rewrites the request body `model` by family (opus/sonnet/haiku → the matching field; fable/mythos → `ANTHROPIC_MODEL`)
|
|
31
|
+
4. **Effort Inject** — If an effort level is set, injects `output_config.effort` (skipped for `count_tokens` / heartbeat requests)
|
|
26
32
|
|
|
27
33
|
## Config File
|
|
28
34
|
|
|
@@ -38,8 +44,11 @@ Configuration is stored at `~/.claude/cc-viewer/profile.json`. Click the folder
|
|
|
38
44
|
"name": "My Proxy",
|
|
39
45
|
"baseURL": "https://api.example.com",
|
|
40
46
|
"apiKey": "sk-xxx",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
47
|
+
"ANTHROPIC_MODEL": "model-primary",
|
|
48
|
+
"ANTHROPIC_DEFAULT_OPUS_MODEL": "model-opus",
|
|
49
|
+
"ANTHROPIC_DEFAULT_SONNET_MODEL": "model-sonnet",
|
|
50
|
+
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "model-haiku",
|
|
51
|
+
"effort": "max"
|
|
43
52
|
}
|
|
44
53
|
]
|
|
45
54
|
}
|
|
@@ -47,4 +56,5 @@ Configuration is stored at `~/.claude/cc-viewer/profile.json`. Click the folder
|
|
|
47
56
|
|
|
48
57
|
- `active` — ID of the current profile. Set to `"max"` for direct connection (no proxy)
|
|
49
58
|
- `profiles` — Profile list. `id: "max"` is built-in and cannot be deleted
|
|
59
|
+
- Legacy profiles using `models` / `activeModel` are auto-migrated to `ANTHROPIC_MODEL` on load
|
|
50
60
|
- Changes take effect within ~1.5 seconds (monitored via `fs.watchFile`), no restart needed
|
|
@@ -165,8 +165,11 @@ claude() { ... }
|
|
|
165
165
|
| `name` | 显示名称 |
|
|
166
166
|
| `baseURL` | 代理 API 地址(替换请求 origin) |
|
|
167
167
|
| `apiKey` | 代理 API 密钥(替换认证头) |
|
|
168
|
-
| `
|
|
169
|
-
| `
|
|
168
|
+
| `ANTHROPIC_MODEL` | 主模型(fable/mythos 家族映射到此) |
|
|
169
|
+
| `ANTHROPIC_DEFAULT_OPUS_MODEL` | opus 家族使用的模型(扩展) |
|
|
170
|
+
| `ANTHROPIC_DEFAULT_SONNET_MODEL` | sonnet 家族使用的模型(扩展) |
|
|
171
|
+
| `ANTHROPIC_DEFAULT_HAIKU_MODEL` | haiku 家族使用的模型(扩展) |
|
|
172
|
+
| `effort` | 强制的 `output_config.effort` 级别 |
|
|
170
173
|
|
|
171
174
|
## 九、插件系统
|
|
172
175
|
|
|
@@ -1,32 +1,38 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Proxy de Troca Rápida
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Visão Geral
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
O Proxy de Troca Rápida permite redirecionar dinamicamente as requisições de API para um endpoint diferente sem reiniciar o Claude Code. Isso é útil ao usar serviços de proxy de API de terceiros.
|
|
6
6
|
|
|
7
|
-
> ⚠️
|
|
7
|
+
> ⚠️ Não use este recurso se você for assinante do Claude Max.
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## Campos
|
|
10
10
|
|
|
11
|
-
|
|
|
12
|
-
|
|
13
|
-
| **Name** | ✅ |
|
|
14
|
-
| **Base URL** | ✅ |
|
|
15
|
-
| **API Key** | ✅ | API
|
|
16
|
-
| **
|
|
17
|
-
| **
|
|
11
|
+
| Campo | Obrigatório | Descrição |
|
|
12
|
+
|-------|-------------|-----------|
|
|
13
|
+
| **Name** | ✅ | Nome de exibição deste proxy, usado para identificá-lo |
|
|
14
|
+
| **Base URL** | ✅ | URL base do serviço de API (ex. `https://api.example.com`). A origem original da requisição será substituída |
|
|
15
|
+
| **API Key** | ✅ | Chave de API do serviço de proxy, substitui a autenticação original |
|
|
16
|
+
| **ANTHROPIC_MODEL** | ❌ | Modelo primário. Requisições cujo modelo pertence à família `fable` / `mythos` são reescritas para este |
|
|
17
|
+
| **ANTHROPIC_DEFAULT_OPUS_MODEL** | ❌ | Estendido: requisições cujo modelo contém `opus` são reescritas para este |
|
|
18
|
+
| **ANTHROPIC_DEFAULT_SONNET_MODEL** | ❌ | Estendido: requisições cujo modelo contém `sonnet` são reescritas para este |
|
|
19
|
+
| **ANTHROPIC_DEFAULT_HAIKU_MODEL** | ❌ | Estendido: requisições cujo modelo contém `haiku` são reescritas para este |
|
|
20
|
+
| **Effort Level** | ❌ | Injeta `output_config.effort` (`low`/`medium`/`high`/`xhigh`/`max`) no corpo da requisição. Deixe como "Default" para ignorar |
|
|
18
21
|
|
|
19
|
-
|
|
22
|
+
A correspondência de modelo é um teste de substring sem distinção entre maiúsculas e minúsculas no campo `model` da requisição, de modo que qualquer versão (ex. `claude-opus-4-8`, um futuro `claude-opus-5`) mapeia para a mesma família sem reconfiguração. Um campo de família vazio significa que essa família permanece inalterada; uma família não reconhecida passa sem modificação.
|
|
20
23
|
|
|
21
|
-
|
|
24
|
+
## Como Funciona
|
|
22
25
|
|
|
23
|
-
|
|
24
|
-
2. **Auth Replace** — Replaces `x-api-key` or `Authorization` header with the proxy's API Key
|
|
25
|
-
3. **Model Replace** — If an active model is set, replaces the `model` field in the request body
|
|
26
|
+
Quando um proxy está ativo, o `server/interceptor.js` executa o seguinte antes de cada requisição de API:
|
|
26
27
|
|
|
27
|
-
|
|
28
|
+
1. **URL Rewrite** — Substitui a origem da requisição pela Base URL do proxy
|
|
29
|
+
2. **Auth Replace** — Substitui o cabeçalho `x-api-key` ou `Authorization` pela API Key do proxy
|
|
30
|
+
3. **Model Replace** — Reescreve o campo `model` do corpo da requisição por família (opus/sonnet/haiku → o campo correspondente; fable/mythos → `ANTHROPIC_MODEL`)
|
|
31
|
+
4. **Effort Inject** — Se um nível de effort estiver definido, injeta `output_config.effort` (ignorado para requisições `count_tokens` / heartbeat)
|
|
28
32
|
|
|
29
|
-
|
|
33
|
+
## Arquivo de Configuração
|
|
34
|
+
|
|
35
|
+
A configuração é armazenada em `~/.claude/cc-viewer/profile.json`. Clique no ícone de pasta no título para abrir o diretório:
|
|
30
36
|
|
|
31
37
|
```json
|
|
32
38
|
{
|
|
@@ -38,13 +44,17 @@ Configuration is stored at `~/.claude/cc-viewer/profile.json`. Click the folder
|
|
|
38
44
|
"name": "My Proxy",
|
|
39
45
|
"baseURL": "https://api.example.com",
|
|
40
46
|
"apiKey": "sk-xxx",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
47
|
+
"ANTHROPIC_MODEL": "model-primary",
|
|
48
|
+
"ANTHROPIC_DEFAULT_OPUS_MODEL": "model-opus",
|
|
49
|
+
"ANTHROPIC_DEFAULT_SONNET_MODEL": "model-sonnet",
|
|
50
|
+
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "model-haiku",
|
|
51
|
+
"effort": "max"
|
|
43
52
|
}
|
|
44
53
|
]
|
|
45
54
|
}
|
|
46
55
|
```
|
|
47
56
|
|
|
48
|
-
- `active` — ID
|
|
49
|
-
- `profiles` —
|
|
50
|
-
-
|
|
57
|
+
- `active` — ID do perfil atual. Defina como `"max"` para conexão direta (sem proxy)
|
|
58
|
+
- `profiles` — Lista de perfis. `id: "max"` é integrado e não pode ser excluído
|
|
59
|
+
- Perfis legados que usam `models` / `activeModel` são migrados automaticamente para `ANTHROPIC_MODEL` no carregamento
|
|
60
|
+
- As alterações entram em vigor em ~1,5 segundos (monitorado via `fs.watchFile`), sem necessidade de reiniciar
|
|
@@ -165,8 +165,11 @@ claude() { ... }
|
|
|
165
165
|
| `name` | 显示名称 |
|
|
166
166
|
| `baseURL` | 代理 API 地址(替换请求 origin) |
|
|
167
167
|
| `apiKey` | 代理 API 密钥(替换认证头) |
|
|
168
|
-
| `
|
|
169
|
-
| `
|
|
168
|
+
| `ANTHROPIC_MODEL` | 主模型(fable/mythos 系列映射到此) |
|
|
169
|
+
| `ANTHROPIC_DEFAULT_OPUS_MODEL` | opus 系列使用的模型(扩展) |
|
|
170
|
+
| `ANTHROPIC_DEFAULT_SONNET_MODEL` | sonnet 系列使用的模型(扩展) |
|
|
171
|
+
| `ANTHROPIC_DEFAULT_HAIKU_MODEL` | haiku 系列使用的模型(扩展) |
|
|
172
|
+
| `effort` | 强制的 `output_config.effort` 等级 |
|
|
170
173
|
|
|
171
174
|
## 九、插件系统
|
|
172
175
|
|
|
@@ -13,8 +13,13 @@ Hot-Switch Proxy lets you dynamically redirect API requests to a different endpo
|
|
|
13
13
|
| **Name** | ✅ | Display name for this proxy, used to identify it |
|
|
14
14
|
| **Base URL** | ✅ | Base URL of the API service (e.g. `https://api.example.com`). The original request origin will be replaced |
|
|
15
15
|
| **API Key** | ✅ | API key for the proxy service, replaces the original authentication |
|
|
16
|
-
| **
|
|
17
|
-
| **
|
|
16
|
+
| **ANTHROPIC_MODEL** | ❌ | Primary model. Requests whose model belongs to the `fable` / `mythos` family are rewritten to this |
|
|
17
|
+
| **ANTHROPIC_DEFAULT_OPUS_MODEL** | ❌ | Extended: requests whose model contains `opus` are rewritten to this |
|
|
18
|
+
| **ANTHROPIC_DEFAULT_SONNET_MODEL** | ❌ | Extended: requests whose model contains `sonnet` are rewritten to this |
|
|
19
|
+
| **ANTHROPIC_DEFAULT_HAIKU_MODEL** | ❌ | Extended: requests whose model contains `haiku` are rewritten to this |
|
|
20
|
+
| **Effort Level** | ❌ | Injects `output_config.effort` (`low`/`medium`/`high`/`xhigh`/`max`) into the request body. Leave as "Default" to skip |
|
|
21
|
+
|
|
22
|
+
Model matching is a case-insensitive substring test on the request's `model` field, so any version (e.g. `claude-opus-4-8`, a future `claude-opus-5`) maps to the same family with no reconfiguration. An empty family field means that family is left unchanged; an unrecognized family is passed through untouched.
|
|
18
23
|
|
|
19
24
|
## How It Works
|
|
20
25
|
|
|
@@ -22,7 +27,8 @@ When a proxy is active, `server/interceptor.js` performs the following before ea
|
|
|
22
27
|
|
|
23
28
|
1. **URL Rewrite** — Replaces the request origin with the proxy's Base URL
|
|
24
29
|
2. **Auth Replace** — Replaces `x-api-key` or `Authorization` header with the proxy's API Key
|
|
25
|
-
3. **Model Replace** —
|
|
30
|
+
3. **Model Replace** — Rewrites the request body `model` by family (opus/sonnet/haiku → the matching field; fable/mythos → `ANTHROPIC_MODEL`)
|
|
31
|
+
4. **Effort Inject** — If an effort level is set, injects `output_config.effort` (skipped for `count_tokens` / heartbeat requests)
|
|
26
32
|
|
|
27
33
|
## Config File
|
|
28
34
|
|
|
@@ -38,8 +44,11 @@ Configuration is stored at `~/.claude/cc-viewer/profile.json`. Click the folder
|
|
|
38
44
|
"name": "My Proxy",
|
|
39
45
|
"baseURL": "https://api.example.com",
|
|
40
46
|
"apiKey": "sk-xxx",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
47
|
+
"ANTHROPIC_MODEL": "model-primary",
|
|
48
|
+
"ANTHROPIC_DEFAULT_OPUS_MODEL": "model-opus",
|
|
49
|
+
"ANTHROPIC_DEFAULT_SONNET_MODEL": "model-sonnet",
|
|
50
|
+
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "model-haiku",
|
|
51
|
+
"effort": "max"
|
|
43
52
|
}
|
|
44
53
|
]
|
|
45
54
|
}
|
|
@@ -47,4 +56,5 @@ Configuration is stored at `~/.claude/cc-viewer/profile.json`. Click the folder
|
|
|
47
56
|
|
|
48
57
|
- `active` — ID of the current profile. Set to `"max"` for direct connection (no proxy)
|
|
49
58
|
- `profiles` — Profile list. `id: "max"` is built-in and cannot be deleted
|
|
59
|
+
- Legacy profiles using `models` / `activeModel` are auto-migrated to `ANTHROPIC_MODEL` on load
|
|
50
60
|
- Changes take effect within ~1.5 seconds (monitored via `fs.watchFile`), no restart needed
|
|
@@ -165,8 +165,11 @@ claude() { ... }
|
|
|
165
165
|
| `name` | 显示名称 |
|
|
166
166
|
| `baseURL` | 代理 API 地址(替换请求 origin) |
|
|
167
167
|
| `apiKey` | 代理 API 密钥(替换认证头) |
|
|
168
|
-
| `
|
|
169
|
-
| `
|
|
168
|
+
| `ANTHROPIC_MODEL` | 主模型(fable/mythos 家族映射到此) |
|
|
169
|
+
| `ANTHROPIC_DEFAULT_OPUS_MODEL` | opus 家族使用的模型(扩展) |
|
|
170
|
+
| `ANTHROPIC_DEFAULT_SONNET_MODEL` | sonnet 家族使用的模型(扩展) |
|
|
171
|
+
| `ANTHROPIC_DEFAULT_HAIKU_MODEL` | haiku 家族使用的模型(扩展) |
|
|
172
|
+
| `effort` | 强制的 `output_config.effort` 级别 |
|
|
170
173
|
|
|
171
174
|
## 九、插件系统
|
|
172
175
|
|
|
@@ -13,8 +13,13 @@ Hot-Switch Proxy lets you dynamically redirect API requests to a different endpo
|
|
|
13
13
|
| **Name** | ✅ | Display name for this proxy, used to identify it |
|
|
14
14
|
| **Base URL** | ✅ | Base URL of the API service (e.g. `https://api.example.com`). The original request origin will be replaced |
|
|
15
15
|
| **API Key** | ✅ | API key for the proxy service, replaces the original authentication |
|
|
16
|
-
| **
|
|
17
|
-
| **
|
|
16
|
+
| **ANTHROPIC_MODEL** | ❌ | Primary model. Requests whose model belongs to the `fable` / `mythos` family are rewritten to this |
|
|
17
|
+
| **ANTHROPIC_DEFAULT_OPUS_MODEL** | ❌ | Extended: requests whose model contains `opus` are rewritten to this |
|
|
18
|
+
| **ANTHROPIC_DEFAULT_SONNET_MODEL** | ❌ | Extended: requests whose model contains `sonnet` are rewritten to this |
|
|
19
|
+
| **ANTHROPIC_DEFAULT_HAIKU_MODEL** | ❌ | Extended: requests whose model contains `haiku` are rewritten to this |
|
|
20
|
+
| **Effort Level** | ❌ | Injects `output_config.effort` (`low`/`medium`/`high`/`xhigh`/`max`) into the request body. Leave as "Default" to skip |
|
|
21
|
+
|
|
22
|
+
Model matching is a case-insensitive substring test on the request's `model` field, so any version (e.g. `claude-opus-4-8`, a future `claude-opus-5`) maps to the same family with no reconfiguration. An empty family field means that family is left unchanged; an unrecognized family is passed through untouched.
|
|
18
23
|
|
|
19
24
|
## How It Works
|
|
20
25
|
|
|
@@ -22,7 +27,8 @@ When a proxy is active, `server/interceptor.js` performs the following before ea
|
|
|
22
27
|
|
|
23
28
|
1. **URL Rewrite** — Replaces the request origin with the proxy's Base URL
|
|
24
29
|
2. **Auth Replace** — Replaces `x-api-key` or `Authorization` header with the proxy's API Key
|
|
25
|
-
3. **Model Replace** —
|
|
30
|
+
3. **Model Replace** — Rewrites the request body `model` by family (opus/sonnet/haiku → the matching field; fable/mythos → `ANTHROPIC_MODEL`)
|
|
31
|
+
4. **Effort Inject** — If an effort level is set, injects `output_config.effort` (skipped for `count_tokens` / heartbeat requests)
|
|
26
32
|
|
|
27
33
|
## Config File
|
|
28
34
|
|
|
@@ -38,8 +44,11 @@ Configuration is stored at `~/.claude/cc-viewer/profile.json`. Click the folder
|
|
|
38
44
|
"name": "My Proxy",
|
|
39
45
|
"baseURL": "https://api.example.com",
|
|
40
46
|
"apiKey": "sk-xxx",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
47
|
+
"ANTHROPIC_MODEL": "model-primary",
|
|
48
|
+
"ANTHROPIC_DEFAULT_OPUS_MODEL": "model-opus",
|
|
49
|
+
"ANTHROPIC_DEFAULT_SONNET_MODEL": "model-sonnet",
|
|
50
|
+
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "model-haiku",
|
|
51
|
+
"effort": "max"
|
|
43
52
|
}
|
|
44
53
|
]
|
|
45
54
|
}
|
|
@@ -47,4 +56,5 @@ Configuration is stored at `~/.claude/cc-viewer/profile.json`. Click the folder
|
|
|
47
56
|
|
|
48
57
|
- `active` — ID of the current profile. Set to `"max"` for direct connection (no proxy)
|
|
49
58
|
- `profiles` — Profile list. `id: "max"` is built-in and cannot be deleted
|
|
59
|
+
- Legacy profiles using `models` / `activeModel` are auto-migrated to `ANTHROPIC_MODEL` on load
|
|
50
60
|
- Changes take effect within ~1.5 seconds (monitored via `fs.watchFile`), no restart needed
|
|
@@ -165,8 +165,11 @@ claude() { ... }
|
|
|
165
165
|
| `name` | 显示名称 |
|
|
166
166
|
| `baseURL` | 代理 API 地址(替换请求 origin) |
|
|
167
167
|
| `apiKey` | 代理 API 密钥(替换认证头) |
|
|
168
|
-
| `
|
|
169
|
-
| `
|
|
168
|
+
| `ANTHROPIC_MODEL` | 主模型(fable/mythos 家族映射到此) |
|
|
169
|
+
| `ANTHROPIC_DEFAULT_OPUS_MODEL` | opus 家族使用的模型(扩展) |
|
|
170
|
+
| `ANTHROPIC_DEFAULT_SONNET_MODEL` | sonnet 家族使用的模型(扩展) |
|
|
171
|
+
| `ANTHROPIC_DEFAULT_HAIKU_MODEL` | haiku 家族使用的模型(扩展) |
|
|
172
|
+
| `effort` | 强制的 `output_config.effort` 级别 |
|
|
170
173
|
|
|
171
174
|
## 九、插件系统
|
|
172
175
|
|
|
@@ -1,32 +1,38 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Anlık Geçiş Proxy'si
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Genel Bakış
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Anlık Geçiş Proxy'si, Claude Code'u yeniden başlatmadan API isteklerini dinamik olarak farklı bir uç noktaya yönlendirmenizi sağlar. Üçüncü taraf API proxy hizmetleri kullanırken faydalıdır.
|
|
6
6
|
|
|
7
|
-
> ⚠️
|
|
7
|
+
> ⚠️ Claude Max aboneliğiniz varsa bu özelliği kullanmayın.
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## Alanlar
|
|
10
10
|
|
|
11
|
-
|
|
|
12
|
-
|
|
13
|
-
| **Name** | ✅ |
|
|
14
|
-
| **Base URL** | ✅ |
|
|
15
|
-
| **API Key** | ✅ |
|
|
16
|
-
| **
|
|
17
|
-
| **
|
|
11
|
+
| Alan | Zorunlu | Açıklama |
|
|
12
|
+
|------|---------|----------|
|
|
13
|
+
| **Name** | ✅ | Bu proxy'yi tanımlamak için kullanılan görünen ad |
|
|
14
|
+
| **Base URL** | ✅ | API hizmetinin temel URL'si (ör. `https://api.example.com`). Orijinal istek kaynağı bununla değiştirilir |
|
|
15
|
+
| **API Key** | ✅ | Proxy hizmetinin API anahtarı, orijinal kimlik doğrulamanın yerini alır |
|
|
16
|
+
| **ANTHROPIC_MODEL** | ❌ | Birincil model. Modeli `fable` / `mythos` ailesine ait olan istekler buna yeniden yazılır |
|
|
17
|
+
| **ANTHROPIC_DEFAULT_OPUS_MODEL** | ❌ | Genişletilmiş: modeli `opus` içeren istekler buna yeniden yazılır |
|
|
18
|
+
| **ANTHROPIC_DEFAULT_SONNET_MODEL** | ❌ | Genişletilmiş: modeli `sonnet` içeren istekler buna yeniden yazılır |
|
|
19
|
+
| **ANTHROPIC_DEFAULT_HAIKU_MODEL** | ❌ | Genişletilmiş: modeli `haiku` içeren istekler buna yeniden yazılır |
|
|
20
|
+
| **Effort Level** | ❌ | İstek gövdesine `output_config.effort` (`low`/`medium`/`high`/`xhigh`/`max`) ekler. Atlamak için "Default" olarak bırakın |
|
|
18
21
|
|
|
19
|
-
|
|
22
|
+
Model eşleştirme, isteğin `model` alanı üzerinde büyük/küçük harfe duyarsız bir alt dize testidir; böylece herhangi bir sürüm (ör. `claude-opus-4-8`, gelecekteki bir `claude-opus-5`) yeniden yapılandırma gerektirmeden aynı aileye eşlenir. Boş bir aile alanı, o ailenin değiştirilmeden bırakıldığı anlamına gelir; tanınmayan bir aile olduğu gibi geçirilir.
|
|
20
23
|
|
|
21
|
-
|
|
24
|
+
## Nasıl Çalışır
|
|
22
25
|
|
|
23
|
-
|
|
24
|
-
2. **Auth Replace** — Replaces `x-api-key` or `Authorization` header with the proxy's API Key
|
|
25
|
-
3. **Model Replace** — If an active model is set, replaces the `model` field in the request body
|
|
26
|
+
Bir proxy etkin olduğunda, `server/interceptor.js` her API isteğinden önce şunları yapar:
|
|
26
27
|
|
|
27
|
-
|
|
28
|
+
1. **URL Rewrite** — İstek kaynağını proxy'nin Base URL'si ile değiştirir
|
|
29
|
+
2. **Auth Replace** — `x-api-key` veya `Authorization` başlığını proxy'nin API Anahtarı ile değiştirir
|
|
30
|
+
3. **Model Replace** — İstek gövdesindeki `model` alanını aileye göre yeniden yazar (opus/sonnet/haiku → eşleşen alan; fable/mythos → `ANTHROPIC_MODEL`)
|
|
31
|
+
4. **Effort Inject** — Bir effort seviyesi ayarlanmışsa `output_config.effort` ekler (`count_tokens` / heartbeat istekleri için atlanır)
|
|
28
32
|
|
|
29
|
-
|
|
33
|
+
## Yapılandırma Dosyası
|
|
34
|
+
|
|
35
|
+
Yapılandırma `~/.claude/cc-viewer/profile.json` konumunda saklanır. Dizini açmak için başlıktaki klasör simgesine tıklayın:
|
|
30
36
|
|
|
31
37
|
```json
|
|
32
38
|
{
|
|
@@ -38,13 +44,17 @@ Configuration is stored at `~/.claude/cc-viewer/profile.json`. Click the folder
|
|
|
38
44
|
"name": "My Proxy",
|
|
39
45
|
"baseURL": "https://api.example.com",
|
|
40
46
|
"apiKey": "sk-xxx",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
47
|
+
"ANTHROPIC_MODEL": "model-primary",
|
|
48
|
+
"ANTHROPIC_DEFAULT_OPUS_MODEL": "model-opus",
|
|
49
|
+
"ANTHROPIC_DEFAULT_SONNET_MODEL": "model-sonnet",
|
|
50
|
+
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "model-haiku",
|
|
51
|
+
"effort": "max"
|
|
43
52
|
}
|
|
44
53
|
]
|
|
45
54
|
}
|
|
46
55
|
```
|
|
47
56
|
|
|
48
|
-
- `active` — ID
|
|
49
|
-
- `profiles` —
|
|
50
|
-
-
|
|
57
|
+
- `active` — Mevcut profilin ID'si. Doğrudan bağlantı (proxy yok) için `"max"` olarak ayarlayın
|
|
58
|
+
- `profiles` — Profil listesi. `id: "max"` yerleşiktir ve silinemez
|
|
59
|
+
- `models` / `activeModel` kullanan eski profiller, yüklenirken otomatik olarak `ANTHROPIC_MODEL`'e taşınır
|
|
60
|
+
- Değişiklikler ~1,5 saniye içinde etkili olur (`fs.watchFile` ile izlenir), yeniden başlatma gerekmez
|
|
@@ -165,8 +165,11 @@ claude() { ... }
|
|
|
165
165
|
| `name` | 显示名称 |
|
|
166
166
|
| `baseURL` | 代理 API 地址(替换请求 origin) |
|
|
167
167
|
| `apiKey` | 代理 API 密钥(替换认证头) |
|
|
168
|
-
| `
|
|
169
|
-
| `
|
|
168
|
+
| `ANTHROPIC_MODEL` | 主模型(fable/mythos 系列映射到此) |
|
|
169
|
+
| `ANTHROPIC_DEFAULT_OPUS_MODEL` | opus 系列使用的模型(扩展) |
|
|
170
|
+
| `ANTHROPIC_DEFAULT_SONNET_MODEL` | sonnet 系列使用的模型(扩展) |
|
|
171
|
+
| `ANTHROPIC_DEFAULT_HAIKU_MODEL` | haiku 系列使用的模型(扩展) |
|
|
172
|
+
| `effort` | 强制的 `output_config.effort` 等级 |
|
|
170
173
|
|
|
171
174
|
## 九、插件系统
|
|
172
175
|
|
|
@@ -13,8 +13,13 @@ Hot-Switch Proxy lets you dynamically redirect API requests to a different endpo
|
|
|
13
13
|
| **Name** | ✅ | Display name for this proxy, used to identify it |
|
|
14
14
|
| **Base URL** | ✅ | Base URL of the API service (e.g. `https://api.example.com`). The original request origin will be replaced |
|
|
15
15
|
| **API Key** | ✅ | API key for the proxy service, replaces the original authentication |
|
|
16
|
-
| **
|
|
17
|
-
| **
|
|
16
|
+
| **ANTHROPIC_MODEL** | ❌ | Primary model. Requests whose model belongs to the `fable` / `mythos` family are rewritten to this |
|
|
17
|
+
| **ANTHROPIC_DEFAULT_OPUS_MODEL** | ❌ | Extended: requests whose model contains `opus` are rewritten to this |
|
|
18
|
+
| **ANTHROPIC_DEFAULT_SONNET_MODEL** | ❌ | Extended: requests whose model contains `sonnet` are rewritten to this |
|
|
19
|
+
| **ANTHROPIC_DEFAULT_HAIKU_MODEL** | ❌ | Extended: requests whose model contains `haiku` are rewritten to this |
|
|
20
|
+
| **Effort Level** | ❌ | Injects `output_config.effort` (`low`/`medium`/`high`/`xhigh`/`max`) into the request body. Leave as "Default" to skip |
|
|
21
|
+
|
|
22
|
+
Model matching is a case-insensitive substring test on the request's `model` field, so any version (e.g. `claude-opus-4-8`, a future `claude-opus-5`) maps to the same family with no reconfiguration. An empty family field means that family is left unchanged; an unrecognized family is passed through untouched.
|
|
18
23
|
|
|
19
24
|
## How It Works
|
|
20
25
|
|
|
@@ -22,7 +27,8 @@ When a proxy is active, `server/interceptor.js` performs the following before ea
|
|
|
22
27
|
|
|
23
28
|
1. **URL Rewrite** — Replaces the request origin with the proxy's Base URL
|
|
24
29
|
2. **Auth Replace** — Replaces `x-api-key` or `Authorization` header with the proxy's API Key
|
|
25
|
-
3. **Model Replace** —
|
|
30
|
+
3. **Model Replace** — Rewrites the request body `model` by family (opus/sonnet/haiku → the matching field; fable/mythos → `ANTHROPIC_MODEL`)
|
|
31
|
+
4. **Effort Inject** — If an effort level is set, injects `output_config.effort` (skipped for `count_tokens` / heartbeat requests)
|
|
26
32
|
|
|
27
33
|
## Config File
|
|
28
34
|
|
|
@@ -38,8 +44,11 @@ Configuration is stored at `~/.claude/cc-viewer/profile.json`. Click the folder
|
|
|
38
44
|
"name": "My Proxy",
|
|
39
45
|
"baseURL": "https://api.example.com",
|
|
40
46
|
"apiKey": "sk-xxx",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
47
|
+
"ANTHROPIC_MODEL": "model-primary",
|
|
48
|
+
"ANTHROPIC_DEFAULT_OPUS_MODEL": "model-opus",
|
|
49
|
+
"ANTHROPIC_DEFAULT_SONNET_MODEL": "model-sonnet",
|
|
50
|
+
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "model-haiku",
|
|
51
|
+
"effort": "max"
|
|
43
52
|
}
|
|
44
53
|
]
|
|
45
54
|
}
|
|
@@ -47,4 +56,5 @@ Configuration is stored at `~/.claude/cc-viewer/profile.json`. Click the folder
|
|
|
47
56
|
|
|
48
57
|
- `active` — ID of the current profile. Set to `"max"` for direct connection (no proxy)
|
|
49
58
|
- `profiles` — Profile list. `id: "max"` is built-in and cannot be deleted
|
|
59
|
+
- Legacy profiles using `models` / `activeModel` are auto-migrated to `ANTHROPIC_MODEL` on load
|
|
50
60
|
- Changes take effect within ~1.5 seconds (monitored via `fs.watchFile`), no restart needed
|
|
@@ -166,8 +166,11 @@ claude() { ... }
|
|
|
166
166
|
| `name` | 显示名称 |
|
|
167
167
|
| `baseURL` | 代理 API 地址(替换请求 origin) |
|
|
168
168
|
| `apiKey` | 代理 API 密钥(替换认证头) |
|
|
169
|
-
| `
|
|
170
|
-
| `
|
|
169
|
+
| `ANTHROPIC_MODEL` | 主模型(fable/mythos 家族映射到此) |
|
|
170
|
+
| `ANTHROPIC_DEFAULT_OPUS_MODEL` | opus 家族对应的模型(扩展) |
|
|
171
|
+
| `ANTHROPIC_DEFAULT_SONNET_MODEL` | sonnet 家族对应的模型(扩展) |
|
|
172
|
+
| `ANTHROPIC_DEFAULT_HAIKU_MODEL` | haiku 家族对应的模型(扩展) |
|
|
173
|
+
| `effort` | 强制的 `output_config.effort` 等级 |
|
|
171
174
|
|
|
172
175
|
## 九、插件系统
|
|
173
176
|
|