|
1 | 1 | <p align="right"> |
2 | | - 🌐 English · <a href="README.ko.md">한국어</a> |
| 2 | + 🌐 English · <a href="README.ko.md">한국어</a> · <a href="README.zh.md">中文</a> |
3 | 3 | </p> |
4 | 4 |
|
5 | 5 | # CommandCode Bridge |
@@ -27,13 +27,13 @@ CommandCode Bridge is a trusted-environment HTTP bridge that exposes a small Ope |
27 | 27 |
|
28 | 28 | ## At a glance |
29 | 29 |
|
30 | | -| Area | Summary | |
31 | | -| --------------- | -------------------------------------------------------------------------------------------------------------- | |
32 | | -| API surface | `/health`, `/dashboard`, `/v1/models`, `/v1/chat/completions`, and redacted admin diagnostics. | |
33 | | -| Core value | OpenAI-compatible clients can use CommandCode-backed models without spawning `cmd` per request. | |
34 | | -| Routing | Multi-key credential selection with daily-burn, balance-priority, round-robin, and drain-first policies. | |
35 | | -| Operations | Mobile-first dashboard for bind settings, routing, credentials, model toggles, diagnostics, save, and restart. | |
36 | | -| Safety boundary | No upstream secrets are bundled; expose only on localhost or a trusted VPN/tailnet/private proxy. | |
| 30 | +| Area | Summary | |
| 31 | +| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | |
| 32 | +| API surface | `/health`, `/dashboard`, `/v1/models`, `/v1/chat/completions`, and redacted admin diagnostics. | |
| 33 | +| Core value | OpenAI-compatible clients can use CommandCode-backed models without spawning `cmd` per request. | |
| 34 | +| Routing | Multi-key credential selection with daily-burn, balance-priority, round-robin, and drain-first policies. | |
| 35 | +| Operations | Mobile-first dashboard for bind settings, routing, credentials, model toggles, diagnostics, save, restart, and Korean/English/Chinese UI. | |
| 36 | +| Safety boundary | No upstream secrets are bundled; expose only on localhost or a trusted VPN/tailnet/private proxy. | |
37 | 37 |
|
38 | 38 | One-shot smoke test after install: |
39 | 39 |
|
@@ -62,7 +62,7 @@ A healthy bridge returns JSON health/version data and a non-empty OpenAI-compati |
62 | 62 | - Fails closed on empty visible `finish_reason: length` responses by default instead of returning a blank success. |
63 | 63 | - Loads CommandCode upstream credentials from a CLI auth file, a single API key, a multi-key env var, or a JSON credentials file. |
64 | 64 | - Includes a multi-key credential router with routing policies designed for rotating multiple CommandCode keys safely. |
65 | | -- Includes a mobile-first `/dashboard` for server bind settings, routing policy, key management, model toggles, diagnostics, JSON save, and restart. |
| 65 | +- Includes a mobile-first `/dashboard` for server bind settings, routing policy, key management, model toggles, diagnostics, JSON save, restart, and Korean/English/Chinese localization. |
66 | 66 | - Includes optional balance alerts and an optional `commandcode-router` process for routing across multiple bridge hosts. |
67 | 67 |
|
68 | 68 | ## Version |
@@ -310,6 +310,14 @@ http://<host-or-tailnet-ip>:9992/dashboard |
310 | 310 |
|
311 | 311 | The dashboard is intentionally mobile-first. It is useful from a phone on the same trusted tailnet. |
312 | 312 |
|
| 313 | +### Dashboard languages |
| 314 | +
|
| 315 | +- The dashboard ships with Korean, English, and Chinese UI strings. |
| 316 | +- Korean is the hard fallback language. On first load, the dashboard chooses English or Chinese when the browser locale starts with `en` or `zh`; otherwise it uses Korean. |
| 317 | +- Use the flag buttons beside the compact `CommandCode Bridge` title to switch manually: 🇰🇷 Korean, 🇺🇸 English, 🇨🇳 Chinese. |
| 318 | +- The selected language is stored in browser `localStorage`, so subsequent dashboard visits keep the operator preference. |
| 319 | +- Active language flags render in color; inactive language flags are desaturated/grayscale. |
| 320 | +
|
313 | 321 | ### Dashboard sections |
314 | 322 |
|
315 | 323 | - **Header** |
|
0 commit comments