@goodandready/dsh-key-rotation 0.8.70 → 0.8.71
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/CHANGELOG.md +8 -0
- package/lib/client.js +13 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.8.71 - 2026-10-22
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
- **Complete Chinese (zh) Localization for Interactive Routing Simulator (#514, PR #515)**:
|
|
7
|
+
- Added 13 missing Chinese translations to `zh` dictionary in `lib/client-src/10-locales.js` for the Interactive Routing Simulator dialog (`simulatorTitle`, `simulatorDesc`, `simulatorRun`, `simulatorRunning`, `simulatorSelectProvider`, `simulatorSelectModel`, `simulatorMaxAttempts`, `simulatorEvent`, `simulatorEventSuccess`, `simulatorEventRateLimit`, `simulatorEventServer500`, `simulatorResults`, `simulatorNoResults`).
|
|
8
|
+
- Recompiled `lib/client.js` bundle (194,681 bytes) meeting strict size and line constraints.
|
|
9
|
+
- Added automated test `test/issue-514-i18n-zh-simulator.test.mjs` verifying 100% key parity between English and Chinese dictionaries (248 keys each).
|
|
10
|
+
|
|
3
11
|
## 0.8.70 - 2026-10-20
|
|
4
12
|
|
|
5
13
|
### Bug Fixes
|
package/lib/client.js
CHANGED
|
@@ -300,6 +300,19 @@ window.__ModuleLoader__.load({
|
|
|
300
300
|
'header.sub': '自动化多密钥轮换、429/5xx指数退避冷却、断路器保护及凭证安全 (~/.dsh/.credentials.yaml)。',
|
|
301
301
|
'header.pools_badge': '个活跃密钥池',
|
|
302
302
|
'header.keys_badge': '个已配置密钥',
|
|
303
|
+
simulatorTitle: '交互式路由模拟器',
|
|
304
|
+
simulatorDesc: '测试路由策略并在不向上游发送实际请求的情况下可视化密钥池的故障转移链路。',
|
|
305
|
+
simulatorRun: '运行模拟',
|
|
306
|
+
simulatorRunning: '模拟中…',
|
|
307
|
+
simulatorSelectProvider: '提供商',
|
|
308
|
+
simulatorSelectModel: '模型(可选)',
|
|
309
|
+
simulatorMaxAttempts: '最大尝试次数',
|
|
310
|
+
simulatorEvent: '模拟场景',
|
|
311
|
+
simulatorEventSuccess: '所有密钥均成功',
|
|
312
|
+
simulatorEventRateLimit: '密钥 1 触发速率限制 (429)',
|
|
313
|
+
simulatorEventServer500: '密钥 1 内部服务错误 (500)',
|
|
314
|
+
simulatorResults: '模拟追踪结果',
|
|
315
|
+
simulatorNoResults: '运行模拟以查看候选密钥执行链路。',
|
|
303
316
|
sectionStats: '密钥池健康与遥测',
|
|
304
317
|
sectionStatsDesc: '活跃密钥池、健康凭证和故障转移状态的实时遥测。',
|
|
305
318
|
sectionFailover: '故障转移触发器与错误代码',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodandready/dsh-key-rotation",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.71",
|
|
4
4
|
"packageManager": "pnpm@10.33.2",
|
|
5
5
|
"description": "Per-provider API key rotation for DeepSeek Harness: a key pool per provider, auto-created clone routes, and switching to the next key on quota/rate-limit errors. Includes a Settings section (Key Rotation) to edit the key pools, cooldown and switch codes.",
|
|
6
6
|
"keywords": [
|