dsh-agy-link 0.6.12 → 0.6.13
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 +20 -0
- package/README.md +3 -3
- package/dist/index.js +8 -6
- package/docs/CONFIGURATION.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.13 (2026-11-10)
|
|
4
|
+
|
|
5
|
+
### English
|
|
6
|
+
|
|
7
|
+
- **Fix(models/warmup): follow the 5.5 migration everywhere — no shipped default points at the retired Claude 4.6 any more.**
|
|
8
|
+
- Found during the 5-day architecture review: after 0.6.11/0.6.12 moved the catalog to Claude 5.5, four places still pinned 4.6 — the `warmupModels` config default (`types.ts`), the warmup family fallback and its internal default list (`warmup.ts`), and the cross-family failover map (`adapter.ts`). With 4.6 retired upstream, an auto-warmup probe or a family failover could therefore target a model that no longer exists.
|
|
9
|
+
- All four now use `claude-sonnet-5-5`; legacy accounts still get their own 4.6 picked from `quotas.anthropic.models` first (per-account resolution from #88), so nothing regresses for older plans.
|
|
10
|
+
- Bare name aliases (`claude-sonnet`, `claude-opus`) now resolve to the 5.5 line, while explicit `claude-*-4.x` names keep resolving to 4.6 (legacy sessions untouched).
|
|
11
|
+
- Tests: warmup default + anthropic fallback + alias resolution; README/CONFIGURATION warmup rows and the `/tsl` example updated.
|
|
12
|
+
|
|
13
|
+
### 中文
|
|
14
|
+
|
|
15
|
+
- **修复(models/warmup):处处跟上 5.5 迁移——不再有任何出厂默认指向已下线的 Claude 4.6。**
|
|
16
|
+
- 5 天架构 review 发现:0.6.11/0.6.12 把目录迁到 Claude 5.5 后,仍有四处钉着 4.6——`warmupModels` 配置默认值(`types.ts`)、预热族回退与内部默认列表(`warmup.ts`)、跨族失败转移映射(`adapter.ts`)。4.6 上游已退役,自动预热或跨族回退可能打到一个不存在的模型。
|
|
17
|
+
- 四处统一改为 `claude-sonnet-5-5`;旧账号仍会**优先**从 `quotas.anthropic.models` 里取自己的 4.6(#88 的按账号解析),不会回退。
|
|
18
|
+
- 裸名别名(`claude-sonnet`、`claude-opus`)解析到 5.5 世代;显式 `claude-*-4.x` 仍解析到 4.6(不影响历史会话)。
|
|
19
|
+
- 测试:预热默认值、anthropic 回退、别名解析;README/CONFIGURATION 的预热行与 `/tsl` 示例同步更新。
|
|
20
|
+
|
|
21
|
+
**Full Changelog**: https://github.com/amlyczz/dsh-agy-link/compare/v0.6.12...v0.6.13
|
|
22
|
+
|
|
3
23
|
## 0.6.12 (2026-11-09)
|
|
4
24
|
|
|
5
25
|
### English
|
package/README.md
CHANGED
|
@@ -168,7 +168,7 @@ dsh plugin --profile web add dsh-agy-link
|
|
|
168
168
|
| `proxyUrl` | `DSH_AGY_PROXY_URL` | 空字符串 | 全局代理 URL;若在控制台中单独配置了代理,优先使用账号独立代理 |
|
|
169
169
|
| `suppressAgyAutoUpdate` | `DSH_AGY_SUPPRESS_AUTOUPDATE` | Windows `true`,其他平台 `false` | 每次 spawn 前刷新 agy 的更新检查时间戳,阻断 `--bg-updater` 子进程链(Windows 闪窗根因)。关闭后 agy 恢复自动更新检查 |
|
|
170
170
|
| `autoWarmup` | `DSH_AGY_AUTO_WARMUP` | `false` | 7 天周配额自动预热(opt-in):周额度到达重置时间或冷启动时发送极小探活请求,提前激活 7 天计时器。开启后每 5 分钟巡检一次;该路径直连 Google 内部端点,请自行评估风控风险 |
|
|
171
|
-
| `warmupModels` | `DSH_AGY_WARMUP_MODELS` | `gemini-3.8-flash,claude-sonnet-
|
|
171
|
+
| `warmupModels` | `DSH_AGY_WARMUP_MODELS` | `gemini-3.8-flash,claude-sonnet-5-5` | 自动预热使用的模型列表(逗号分隔);空数组表示不自动预热 |
|
|
172
172
|
| `autoTranslate` | `DSH_AGY_AUTO_TRANSLATE` | `false` | 每轮对话完成后自动调用 `/tsl` 生成大白话翻译卡片;亦可在会话中通过 `/tsl auto on` 动态开启 |
|
|
173
173
|
| `translateModel` | `DSH_AGY_TRANSLATE_MODEL` | `gemini-3.8-flash` | `/tsl` 默认使用的翻译模型,缺失时按目录回退 |
|
|
174
174
|
| `translateEffort` | `DSH_AGY_TRANSLATE_EFFORT` | `high` | 翻译模型思考强度档位 |
|
|
@@ -188,7 +188,7 @@ dsh plugin --profile web add dsh-agy-link
|
|
|
188
188
|
/tsl 3 # 翻译指定第 3 轮回复
|
|
189
189
|
/tsl --full # 连同中间工具调用的叙述一并翻译
|
|
190
190
|
/tsl --text 任意文本… # 纯文本翻译模式(在终端直接输出,不生成卡片)
|
|
191
|
-
/tsl --model claude-sonnet-
|
|
191
|
+
/tsl --model claude-sonnet-5-5 --effort medium # 临时指定翻译模型与思考强度
|
|
192
192
|
/tsl --print # 在命令执行输出中同步回显译文
|
|
193
193
|
/tsl auto on|off|status # 针对当前会话开启、关闭或查看自动翻译状态
|
|
194
194
|
```
|
|
@@ -401,7 +401,7 @@ dsh plugin --profile web add dsh-agy-link
|
|
|
401
401
|
| `proxyUrl` | `DSH_AGY_PROXY_URL` | empty string | Global proxy URL; per-account proxies configured in console take precedence |
|
|
402
402
|
| `suppressAgyAutoUpdate` | `DSH_AGY_SUPPRESS_AUTOUPDATE` | `true` on Windows, `false` elsewhere | Refreshes agy's update-check timestamp before every spawn so its `--bg-updater` child chain (the Windows console-flash root cause) never starts. `false` restores agy's own auto-update checks |
|
|
403
403
|
| `autoWarmup` | `DSH_AGY_AUTO_WARMUP` | `false` | Opt-in 7-day weekly quota warmup: sends a minimal probe when the weekly window has reset or is cold, activating the 7-day timer. Scans every 5 minutes; this path talks directly to Google's internal endpoints, so assess the risk-control tradeoff yourself |
|
|
404
|
-
| `warmupModels` | `DSH_AGY_WARMUP_MODELS` | `gemini-3.8-flash,claude-sonnet-
|
|
404
|
+
| `warmupModels` | `DSH_AGY_WARMUP_MODELS` | `gemini-3.8-flash,claude-sonnet-5-5` | Model list used for warmup probes (comma-separated); an empty list disables automatic warmup |
|
|
405
405
|
| `autoTranslate` | `DSH_AGY_AUTO_TRANSLATE` | `false` | Auto plain-language translation after every completed turn (card under the reply). Per-session override: `/tsl auto on\|off` |
|
|
406
406
|
| `translateModel` | `DSH_AGY_TRANSLATE_MODEL` | `gemini-3.8-flash` | Model used by `/tsl` and auto mode; falls back through the live catalog when absent |
|
|
407
407
|
| `translateEffort` | `DSH_AGY_TRANSLATE_EFFORT` | `high` | Reasoning effort for effort-capable translate models |
|
package/dist/index.js
CHANGED
|
@@ -136,7 +136,7 @@ function defaultConfig() {
|
|
|
136
136
|
proxyUrl: "",
|
|
137
137
|
suppressAgyAutoUpdate: process.platform === "win32",
|
|
138
138
|
autoWarmup: false,
|
|
139
|
-
warmupModels: ["gemini-3.8-flash", "claude-sonnet-
|
|
139
|
+
warmupModels: ["gemini-3.8-flash", "claude-sonnet-5-5"],
|
|
140
140
|
autoTranslate: false,
|
|
141
141
|
translateModel: "gemini-3.8-flash",
|
|
142
142
|
translateEffort: "high",
|
|
@@ -2739,8 +2739,10 @@ var ModelCatalog = class ModelCatalog {
|
|
|
2739
2739
|
};
|
|
2740
2740
|
function resolveModelSlug(id) {
|
|
2741
2741
|
const s = id.trim().toLowerCase();
|
|
2742
|
-
if (s === "claude-opus
|
|
2743
|
-
if (s === "claude-sonnet"
|
|
2742
|
+
if (s === "claude-opus") return "claude-opus-5-5";
|
|
2743
|
+
if (s === "claude-sonnet") return "claude-sonnet-5-5";
|
|
2744
|
+
if (s === "claude-opus-4-6" || s === "claude-opus-4-8" || s === "claude-opus-4.6" || s === "claude-opus-4-5") return "claude-opus-4-6-thinking";
|
|
2745
|
+
if (s === "claude-sonnet-4.6" || s === "claude-sonnet-4-5") return "claude-sonnet-4-6";
|
|
2744
2746
|
if (s === "gpt-oss-120b" || s === "gpt-oss-20b" || s === "gpt-oss") return "gpt-oss-120b-medium";
|
|
2745
2747
|
const claude55 = s.match(/^(claude-(?:sonnet|opus)-5-5)-(?:low|medium|high)$/);
|
|
2746
2748
|
if (claude55 !== null && claude55[1] !== void 0) return claude55[1];
|
|
@@ -31544,7 +31546,7 @@ var AgyAdapter = class AgyAdapter extends LlmAdapter {
|
|
|
31544
31546
|
if (cfg.autoFallbackModel) {
|
|
31545
31547
|
const familyModel = {
|
|
31546
31548
|
google: "gemini-3.8-flash",
|
|
31547
|
-
anthropic: "claude-sonnet-
|
|
31549
|
+
anthropic: "claude-sonnet-5-5",
|
|
31548
31550
|
openai: "gpt-oss-120b-medium"
|
|
31549
31551
|
};
|
|
31550
31552
|
for (const fbFam of [
|
|
@@ -35892,7 +35894,7 @@ function pickWarmupModelForFamily(family, monitoredModels = [], account) {
|
|
|
35892
35894
|
const anyClaude = accountModels.find((m) => m.toLowerCase().includes("claude"));
|
|
35893
35895
|
if (anyClaude) return anyClaude;
|
|
35894
35896
|
}
|
|
35895
|
-
return monitoredModels.find((m) => m.toLowerCase().includes("claude")) ?? "claude-sonnet-
|
|
35897
|
+
return monitoredModels.find((m) => m.toLowerCase().includes("claude")) ?? "claude-sonnet-5-5";
|
|
35896
35898
|
}
|
|
35897
35899
|
if (family === "openai") return monitoredModels.find((m) => m.toLowerCase().includes("gpt")) ?? "gpt-oss-120b-medium";
|
|
35898
35900
|
return monitoredModels.find((m) => m.toLowerCase().includes("gemini") && !m.toLowerCase().includes("argon")) ?? "gemini-3.8-flash";
|
|
@@ -36214,7 +36216,7 @@ var WarmupService = class {
|
|
|
36214
36216
|
skipped: true,
|
|
36215
36217
|
skipReason: "No warmup models configured"
|
|
36216
36218
|
}];
|
|
36217
|
-
const monitored = configuredModels ?? ["gemini-3.8-flash", "claude-sonnet-
|
|
36219
|
+
const monitored = configuredModels ?? ["gemini-3.8-flash", "claude-sonnet-5-5"];
|
|
36218
36220
|
const quotas = account.quotas ?? {};
|
|
36219
36221
|
const families = Object.keys(quotas);
|
|
36220
36222
|
const modelsToPing = [];
|
package/docs/CONFIGURATION.md
CHANGED
|
@@ -81,7 +81,7 @@ Resolution order (highest first): `DSH_AGY_*` environment variable → runtime o
|
|
|
81
81
|
| `quotaPollIntervalMs` | `DSH_AGY_QUOTA_POLL_INTERVAL_MS` | `3600000` | Background quota poll interval (minimum 60 s) |
|
|
82
82
|
| `quotaViaCli` | `DSH_AGY_QUOTA_VIA_CLI` | `true` | Prefer the agy CLI path for quota queries |
|
|
83
83
|
| `autoWarmup` | `DSH_AGY_AUTO_WARMUP` | `false` | Opt-in weekly-quota warmup |
|
|
84
|
-
| `warmupModels` | `DSH_AGY_WARMUP_MODELS` | `gemini-3.8-flash,claude-sonnet-
|
|
84
|
+
| `warmupModels` | `DSH_AGY_WARMUP_MODELS` | `gemini-3.8-flash,claude-sonnet-5-5` | Models used for warmup probes |
|
|
85
85
|
| `suppressAgyAutoUpdate` | `DSH_AGY_SUPPRESS_AUTOUPDATE` | `true` on Windows, `false` elsewhere | Refresh agy's update-check timestamp before every spawn to stop the `--bg-updater` console flash chain |
|
|
86
86
|
|
|
87
87
|
## Translation (`/tsl`)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-agy-link",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.13",
|
|
4
4
|
"description": "Google Antigravity (agy CLI) models for DeepSeek Harness — stream Gemini/Claude/GPT-OSS subscriptions into DSH with thinking, tool activity, token usage and in-GUI Google OAuth login.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|