Skip to content

Commit 9f675d1

Browse files
committed
chore: align bridge with CommandCode 0.33.1
1 parent 9bc1696 commit 9f675d1

18 files changed

Lines changed: 51 additions & 51 deletions

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ COMMANDCODE_API_BASE=https://api.commandcode.ai
1515
COMMANDCODE_DEFAULT_MODEL=deepseek/deepseek-v4-pro
1616
COMMANDCODE_ALLOWED_MODELS=deepseek/deepseek-v4-pro,deepseek/deepseek-v4-flash
1717
COMMANDCODE_ALLOW_UNKNOWN_MODELS=false
18-
COMMANDCODE_CLI_VERSION=0.32.4
18+
COMMANDCODE_CLI_VERSION=0.33.1
1919
COMMANDCODE_TIMEOUT_MS=300000
2020
COMMANDCODE_EMPTY_VISIBLE_RESPONSE_POLICY=error_on_length
2121

README.ko.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,18 @@ curl -fsS "$BRIDGE/v1/models" | head -c 400
6767

6868
## 버전
6969

70-
현재 bridge version: **v0.32.4**.
70+
현재 bridge version: **v0.33.1**.
7171

7272
버전은 `/health` 응답과 웹 대시보드 오른쪽 위에 표시됩니다.
7373

74-
### v0.32.4 CommandCode 호환성 업데이트
74+
### v0.33.1 CommandCode 호환성 업데이트
7575

76-
이번 bridge release는 공식 `command-code` npm package `0.32.4`에 맞췄습니다.
76+
이번 bridge release는 공식 `command-code` npm package `0.33.1`에 맞췄습니다.
7777

78-
- 기본 upstream `x-command-code-version` header는 `COMMANDCODE_CLI_VERSION`으로 덮어쓰지 않는 한 `0.32.4`를 보냅니다.
79-
- bridge package/runtime version도 `0.32.4``/health`, dashboard, npm metadata가 대상 CommandCode CLI version과 일치합니다.
80-
- `command-code@0.32.4` bundle을 직접 확인한 결과 bridge 핵심 API path(`/alpha/generate`, `/alpha/whoami`, `/alpha/billing/credits`, `/alpha/billing/subscriptions`, `/alpha/usage/summary`)는 기존 bridge 경로와 호환됩니다.
81-
- model catalog를 `0.32.4` CLI bundle 기준으로 확인했습니다. 기존 enabled default는 보수적으로 유지하고, Qwen 3.6 Max Preview, MiniMax M3, MiniMax M2.5, Kimi K2.5, Step 3.5 Flash, Gemini 3.5 Flash, Gemini 3.1 Flash Lite, GLM-5, GPT 5.4/5.3 Codex, Claude 4.6/4.7/4.8 등 추가 발견 항목은 config에서 명시적으로 켜기 전까지 disabled-by-default입니다.
78+
- 기본 upstream `x-command-code-version` header는 `COMMANDCODE_CLI_VERSION`으로 덮어쓰지 않는 한 `0.33.1`를 보냅니다.
79+
- bridge package/runtime version도 `0.33.1``/health`, dashboard, npm metadata가 대상 CommandCode CLI version과 일치합니다.
80+
- `command-code@0.33.1` bundle을 직접 확인한 결과 bridge 핵심 API path(`/alpha/generate`, `/alpha/whoami`, `/alpha/billing/credits`, `/alpha/billing/subscriptions`, `/alpha/usage/summary`)는 기존 bridge 경로와 호환됩니다.
81+
- model catalog를 `0.33.1` CLI bundle 기준으로 확인했습니다. 기존 enabled default는 보수적으로 유지하고, Qwen 3.6 Max Preview, MiniMax M3, MiniMax M2.5, Kimi K2.5, Step 3.5 Flash, Gemini 3.5 Flash, Gemini 3.1 Flash Lite, GLM-5, GPT 5.4/5.3 Codex, Claude 4.6/4.7/4.8 등 추가 발견 항목은 config에서 명시적으로 켜기 전까지 disabled-by-default입니다.
8282

8383
## 구조
8484

@@ -322,7 +322,7 @@ http://<host-or-tailnet-ip>:9992/dashboard
322322

323323
- **Header**
324324
- bridge online/offline 상태 표시.
325-
- `v0.32.4` 같은 bridge version 표시.
325+
- `v0.33.1` 같은 bridge version 표시.
326326
- **Server Bind**
327327
- local-only면 `127.0.0.1`.
328328
- LAN/Tailscale/VPN/reverse proxy 뒤에서만 `0.0.0.0`.
@@ -534,7 +534,7 @@ x-api-key: <BRIDGE_API_KEY>
534534
| `COMMANDCODE_DEFAULT_MODEL` | `deepseek/deepseek-v4-pro` | `default`가 사용할 model. |
535535
| `COMMANDCODE_ALLOWED_MODELS` | Pro + Flash/catalog defaults | comma-separated allowlist. |
536536
| `COMMANDCODE_ALLOW_UNKNOWN_MODELS` | `false` | 임의 model ID를 upstream으로 통과. 운영 비권장. |
537-
| `COMMANDCODE_CLI_VERSION` | `0.32.4` | upstream으로 보내는 version header. |
537+
| `COMMANDCODE_CLI_VERSION` | `0.33.1` | upstream으로 보내는 version header. |
538538
| `COMMANDCODE_TIMEOUT_MS` | `300000` | upstream request timeout. |
539539
| `COMMANDCODE_EMPTY_VISIBLE_RESPONSE_POLICY` | `error_on_length` | empty visible `finish_reason: length`를 fail-closed. `allow`는 legacy blank success 유지. |
540540
| `REQUEST_BODY_LIMIT_BYTES` | `1048576` | Fastify body limit. |

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,18 @@ A healthy bridge returns JSON health/version data and a non-empty OpenAI-compati
6767

6868
## Version
6969

70-
Current bridge version: **v0.32.4**.
70+
Current bridge version: **v0.33.1**.
7171

7272
The version is also returned from `/health` and shown in the top-right of the web dashboard.
7373

74-
### v0.32.4 CommandCode compatibility update
74+
### v0.33.1 CommandCode compatibility update
7575

76-
This bridge release is aligned with the official `command-code` npm package `0.32.4`:
76+
This bridge release is aligned with the official `command-code` npm package `0.33.1`:
7777

78-
- The default upstream `x-command-code-version` header now advertises `0.32.4` unless `COMMANDCODE_CLI_VERSION` overrides it.
79-
- The bridge package/runtime version is also `0.32.4` so `/health`, the dashboard, and the npm metadata match the CommandCode CLI version being targeted.
80-
- Direct inspection of the `command-code@0.32.4` bundle confirmed that the bridge-critical API paths remain compatible: `/alpha/generate`, `/alpha/whoami`, `/alpha/billing/credits`, `/alpha/billing/subscriptions`, and `/alpha/usage/summary`.
81-
- The model catalog was checked against the `0.32.4` CLI bundle. Existing enabled defaults stay conservative, while additional discovered entries such as Qwen 3.6 Max Preview, MiniMax M3, MiniMax M2.5, Kimi K2.5, Step 3.5 Flash, Gemini 3.5 Flash, Gemini 3.1 Flash Lite, GLM-5, GPT 5.4/5.3 Codex, and Claude 4.6/4.7/4.8 remain disabled by default unless explicitly enabled in config.
78+
- The default upstream `x-command-code-version` header now advertises `0.33.1` unless `COMMANDCODE_CLI_VERSION` overrides it.
79+
- The bridge package/runtime version is also `0.33.1` so `/health`, the dashboard, and the npm metadata match the CommandCode CLI version being targeted.
80+
- Direct inspection of the `command-code@0.33.1` bundle confirmed that the bridge-critical API paths remain compatible: `/alpha/generate`, `/alpha/whoami`, `/alpha/billing/credits`, `/alpha/billing/subscriptions`, and `/alpha/usage/summary`.
81+
- The model catalog was checked against the `0.33.1` CLI bundle. Existing enabled defaults stay conservative, while additional discovered entries such as Qwen 3.6 Max Preview, MiniMax M3, MiniMax M2.5, Kimi K2.5, Step 3.5 Flash, Gemini 3.5 Flash, Gemini 3.1 Flash Lite, GLM-5, GPT 5.4/5.3 Codex, and Claude 4.6/4.7/4.8 remain disabled by default unless explicitly enabled in config.
8282

8383
## Architecture
8484

@@ -322,7 +322,7 @@ The dashboard is intentionally mobile-first. It is useful from a phone on the sa
322322
323323
- **Header**
324324
- Shows bridge online/offline state.
325-
- Shows bridge version, for example `v0.32.4`.
325+
- Shows bridge version, for example `v0.33.1`.
326326
- **Server Bind**
327327
- Choose `127.0.0.1` for local-only use.
328328
- Choose `0.0.0.0` only for LAN/Tailscale/VPN/reverse-proxy use.
@@ -534,7 +534,7 @@ x-api-key: <BRIDGE_API_KEY>
534534
| `COMMANDCODE_DEFAULT_MODEL` | `deepseek/deepseek-v4-pro` | Model used for `default`. |
535535
| `COMMANDCODE_ALLOWED_MODELS` | Pro + Flash/catalog defaults | Comma-separated allowlist. |
536536
| `COMMANDCODE_ALLOW_UNKNOWN_MODELS` | `false` | Pass arbitrary model IDs upstream. Not recommended. |
537-
| `COMMANDCODE_CLI_VERSION` | `0.32.4` | Version header sent upstream. |
537+
| `COMMANDCODE_CLI_VERSION` | `0.33.1` | Version header sent upstream. |
538538
| `COMMANDCODE_TIMEOUT_MS` | `300000` | Upstream request timeout. |
539539
| `COMMANDCODE_EMPTY_VISIBLE_RESPONSE_POLICY` | `error_on_length` | `error_on_length` fails closed on empty visible `finish_reason: length`; `allow` preserves legacy blank success behavior. |
540540
| `REQUEST_BODY_LIMIT_BYTES` | `1048576` | Fastify body limit. |

README.zh.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,18 @@ curl -fsS "$BRIDGE/v1/models" | head -c 400
6767

6868
## 版本
6969

70-
当前 bridge version:**v0.32.4**
70+
当前 bridge version:**v0.33.1**
7171

7272
版本也会从 `/health` 返回,并显示在 web dashboard 右上角。
7373

74-
### v0.32.4 CommandCode 兼容性更新
74+
### v0.33.1 CommandCode 兼容性更新
7575

76-
此 bridge release 已对齐官方 `command-code` npm package `0.32.4`
76+
此 bridge release 已对齐官方 `command-code` npm package `0.33.1`
7777

78-
- 默认上游 `x-command-code-version` header 现在发送 `0.32.4`,除非用 `COMMANDCODE_CLI_VERSION` 覆盖。
79-
- bridge package/runtime version 也是 `0.32.4`,因此 `/health`、dashboard 和 npm metadata 与目标 CommandCode CLI version 对齐。
80-
- 直接检查 `command-code@0.32.4` bundle 后确认,bridge-critical API paths 仍兼容:`/alpha/generate``/alpha/whoami``/alpha/billing/credits``/alpha/billing/subscriptions``/alpha/usage/summary`
81-
- model catalog 已按 `0.32.4` CLI bundle 检查。现有 enabled defaults 保持保守;额外发现的 Qwen 3.6 Max Preview、MiniMax M3、MiniMax M2.5、Kimi K2.5、Step 3.5 Flash、Gemini 3.5 Flash、Gemini 3.1 Flash Lite、GLM-5、GPT 5.4/5.3 Codex、Claude 4.6/4.7/4.8 等条目默认禁用,除非在 config 中显式启用。
78+
- 默认上游 `x-command-code-version` header 现在发送 `0.33.1`,除非用 `COMMANDCODE_CLI_VERSION` 覆盖。
79+
- bridge package/runtime version 也是 `0.33.1`,因此 `/health`、dashboard 和 npm metadata 与目标 CommandCode CLI version 对齐。
80+
- 直接检查 `command-code@0.33.1` bundle 后确认,bridge-critical API paths 仍兼容:`/alpha/generate``/alpha/whoami``/alpha/billing/credits``/alpha/billing/subscriptions``/alpha/usage/summary`
81+
- model catalog 已按 `0.33.1` CLI bundle 检查。现有 enabled defaults 保持保守;额外发现的 Qwen 3.6 Max Preview、MiniMax M3、MiniMax M2.5、Kimi K2.5、Step 3.5 Flash、Gemini 3.5 Flash、Gemini 3.1 Flash Lite、GLM-5、GPT 5.4/5.3 Codex、Claude 4.6/4.7/4.8 等条目默认禁用,除非在 config 中显式启用。
8282

8383
## 架构
8484

@@ -206,7 +206,7 @@ dashboard 有意采用 mobile-first 设计,适合在同一可信 tailnet 上
206206

207207
- **Header**
208208
- 显示 bridge online/offline state。
209-
- 显示 bridge version,例如 `v0.32.4`
209+
- 显示 bridge version,例如 `v0.33.1`
210210
- 标题旁提供 Korean/English/Chinese flag language selector。
211211
- **Server Bind**
212212
- 本机专用选择 `127.0.0.1`
@@ -373,7 +373,7 @@ x-api-key: <BRIDGE_API_KEY>
373373
| `COMMANDCODE_MAX_IN_FLIGHT_PER_CREDENTIAL` | `4` | Per-key concurrency cap。 |
374374
| `COMMANDCODE_API_BASE` | `https://api.commandcode.ai` | Upstream API base。除非测试明确的 alternate upstream,否则不要更改。 |
375375
| `COMMANDCODE_DEFAULT_MODEL` | `deepseek/deepseek-v4-pro` | `default` 使用的 model。 |
376-
| `COMMANDCODE_CLI_VERSION` | `0.32.4` | 发送给 upstream 的 version header。 |
376+
| `COMMANDCODE_CLI_VERSION` | `0.33.1` | 发送给 upstream 的 version header。 |
377377
| `COMMANDCODE_EMPTY_VISIBLE_RESPONSE_POLICY` | `error_on_length` | `error_on_length` 对空 visible `finish_reason: length` fail closed;`allow` 保留 legacy blank success behavior。 |
378378
| `LOG_LEVEL` | `info` | Fastify/Pino log level。 |
379379
| `INCLUDE_REASONING` | `false` | 是否把 reasoning deltas 附加到 visible output。常规 clients 保持 false。 |

docs/DEPLOYMENT.ko.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ npm run smoke
398398
| `COMMANDCODE_DEFAULT_MODEL` | `deepseek/deepseek-v4-pro` | `model: "default"` 요청이 실제로 사용할 upstream model입니다. |
399399
| `COMMANDCODE_ALLOWED_MODELS` | Pro + Flash | 허용할 model ID 목록입니다. 이 목록 밖 요청은 unknown model 허용 옵션을 켜지 않는 한 거부됩니다. |
400400
| `COMMANDCODE_ALLOW_UNKNOWN_MODELS` | `false` | 임의 model ID를 upstream으로 통과시킵니다. 운영에서는 권장하지 않습니다. |
401-
| `COMMANDCODE_CLI_VERSION` | `0.32.4` | 테스트된 CommandCode CLI 동작과 맞추기 위해 upstream에 보내는 version header입니다. |
401+
| `COMMANDCODE_CLI_VERSION` | `0.33.1` | 테스트된 CommandCode CLI 동작과 맞추기 위해 upstream에 보내는 version header입니다. |
402402
| `COMMANDCODE_TIMEOUT_MS` | `300000` | upstream generation timeout입니다. |
403403

404404
Credential JSON 파일 예시:

docs/DEPLOYMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ npm run smoke
399399
| `COMMANDCODE_DEFAULT_MODEL` | `deepseek/deepseek-v4-pro` | Upstream model used by `model: "default"`. |
400400
| `COMMANDCODE_ALLOWED_MODELS` | Pro + Flash | Comma-separated allowlist. Requests outside this list are rejected unless unknown models are allowed. |
401401
| `COMMANDCODE_ALLOW_UNKNOWN_MODELS` | `false` | Allows arbitrary model IDs to pass through. Not recommended for production. |
402-
| `COMMANDCODE_CLI_VERSION` | `0.32.4` | Version header sent upstream to match the tested CommandCode CLI behavior. |
402+
| `COMMANDCODE_CLI_VERSION` | `0.33.1` | Version header sent upstream to match the tested CommandCode CLI behavior. |
403403
| `COMMANDCODE_TIMEOUT_MS` | `300000` | Upstream generation timeout. |
404404

405405
Credential file shape:

docs/KNOW_HOW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Smoke-test modes:
5454

5555
## Billing and Multi-Key Routing
5656

57-
CommandCode CLI 0.32.4 `/usage` uses these account endpoints with the same bearer token:
57+
CommandCode CLI 0.33.1 `/usage` uses these account endpoints with the same bearer token:
5858

5959
- `GET /alpha/whoami` to discover the organization id.
6060
- `GET /alpha/billing/credits?orgId=...`

docs/PRD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Expose the local CommandCode account's DeepSeek V4 Pro route as a clean, OpenAI-
5454

5555
## Source Evidence
5656

57-
- Local CommandCode 0.32.4 bundle calls `https://api.commandcode.ai/alpha/generate` and billing/usage endpoints under `/alpha/billing/*` and `/alpha/usage/summary`.
57+
- Local CommandCode 0.33.1 bundle calls `https://api.commandcode.ai/alpha/generate` and billing/usage endpoints under `/alpha/billing/*` and `/alpha/usage/summary`.
5858
- Direct Node fetch to `/alpha/whoami` and `/alpha/generate` succeeded.
5959
- `params.stream=false` is rejected by CommandCode; bridge must always call upstream streaming.
6060
- Community `pi-commandcode-provider` independently uses the same API path.

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ fi
382382
write_env_line COMMANDCODE_DEFAULT_MODEL deepseek/deepseek-v4-pro
383383
write_env_line COMMANDCODE_ALLOWED_MODELS "$DEFAULT_ALLOWED_MODELS"
384384
write_env_line COMMANDCODE_ALLOW_UNKNOWN_MODELS false
385-
write_env_line COMMANDCODE_CLI_VERSION 0.32.4
385+
write_env_line COMMANDCODE_CLI_VERSION 0.33.1
386386
write_env_line COMMANDCODE_TIMEOUT_MS 300000
387387
write_env_line COMMANDCODE_EMPTY_VISIBLE_RESPONSE_POLICY error_on_length
388388
write_env_line COMMANDCODE_BALANCE_ALERT_ENABLED false

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)