dsh-agy-link 0.6.10 → 0.6.12
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 +36 -0
- package/dist/index.js +21 -24
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.12 (2026-11-09)
|
|
4
|
+
|
|
5
|
+
### English
|
|
6
|
+
|
|
7
|
+
- **Fix(models): enable reasoning effort for Claude 5.5 — verified against agy 1.5.3.**
|
|
8
|
+
- `agy models` lists Claude 5.5 only as tiered slugs (`claude-sonnet-5-5-low/medium/high`), and agy **rejects a tiered slug combined with `--effort`** (`--model claude-sonnet-5-5-low conflicts with --effort=high`), while the **base slug accepts it** (`--model claude-sonnet-5-5 --effort high` → works).
|
|
9
|
+
- Therefore the catalog now folds the Claude 5.5 tiers into one entry with `efforts: low|medium|high`, `resolveModelSlug()` strips a tiered Claude 5.5 slug back to its base (so a stored tiered id can never collide with the flag), and `buildArgs` passes `--effort` for a base Claude 5.5 model.
|
|
10
|
+
- Claude 4.6 keeps its documented no-effort behaviour (it is no longer in the live catalog, and was not verified).
|
|
11
|
+
|
|
12
|
+
### 中文
|
|
13
|
+
|
|
14
|
+
- **修复(models):Claude 5.5 支持推理档位 —— 已用本机 agy 1.5.3 实测确认。**
|
|
15
|
+
- `agy models` 只列出带档位的 slug(`claude-sonnet-5-5-low/medium/high`),而 agy 对「带档位 slug + `--effort`」会直接报冲突(`--model claude-sonnet-5-5-low conflicts with --effort=high`),**base slug 则接受**(`--model claude-sonnet-5-5 --effort high` 正常返回)。
|
|
16
|
+
- 因此目录把 5.5 的档位折叠为一个条目(`efforts: low|medium|high`);`resolveModelSlug()` 会把带档位的 5.5 slug 还原成 base(避免与 `--effort` 冲突);`buildArgs` 对 base 的 Claude 5.5 传 `--effort`。
|
|
17
|
+
- Claude 4.6 维持原有「不传 effort」行为(已不在在线目录,也未验证)。
|
|
18
|
+
|
|
19
|
+
**Full Changelog**: https://github.com/amlyczz/dsh-agy-link/compare/v0.6.11...v0.6.12
|
|
20
|
+
|
|
21
|
+
## 0.6.11 (2026-11-09)
|
|
22
|
+
|
|
23
|
+
### English
|
|
24
|
+
|
|
25
|
+
- **Fix(models): drop the retired Gemini 3.5/3.6/3.7 fallback rows and add the current Claude 5.5 line-up.**
|
|
26
|
+
- Those Gemini models are gone upstream (maintainer-confirmed 2026-11-09), so the fallback catalog no longer advertises models the backend cannot serve. `claude-sonnet-5-5` and `claude-opus-5-5` are added next to the 4.6 entries.
|
|
27
|
+
- The 5.5 entries deliberately carry **no effort tiers** yet: until agy's `--effort` support for Claude is verified, advertising tiers would show levels the adapter cannot pass. When that is confirmed, add `efforts` and extend `isEffortCapable` together.
|
|
28
|
+
- Why this matters: the live catalog comes from `agy models`, but the fallback list is what the picker shows when that command cannot run (signed out / offline) — a stale entry there produces a model that fails on selection.
|
|
29
|
+
|
|
30
|
+
### 中文
|
|
31
|
+
|
|
32
|
+
- **修复(models):移除已下线的 Gemini 3.5/3.6/3.7 回退项,补上当前 Claude 5.5 阵容。**
|
|
33
|
+
- 这几个 Gemini 模型上游已下线(维护者 2026-11-09 确认),回退目录不再列出后端无法提供的模型;`claude-sonnet-5-5`、`claude-opus-5-5` 与 4.6 并列。
|
|
34
|
+
- 5.5 条目**暂不声明 effort 档位**:agy 对 Claude 的 `--effort` 支持尚未验证,声明了只会显示实际传不下去的档位;确认后再同步加 `efforts` 与 `isEffortCapable`。
|
|
35
|
+
- 影响面:在线目录来自 `agy models`,但 `agy models` 不可用时(未登录/离线)选择器显示的就是这份回退目录——残留的旧条目会给出一个一选就失败的模型。
|
|
36
|
+
|
|
37
|
+
**Full Changelog**: https://github.com/amlyczz/dsh-agy-link/compare/v0.6.10...v0.6.11
|
|
38
|
+
|
|
3
39
|
## 0.6.10 (2026-11-09)
|
|
4
40
|
|
|
5
41
|
### English
|
package/dist/index.js
CHANGED
|
@@ -29,8 +29,8 @@ const DEFAULT_FALLBACK_MODELS = [
|
|
|
29
29
|
]
|
|
30
30
|
},
|
|
31
31
|
{
|
|
32
|
-
id: "gemini-
|
|
33
|
-
name: "Gemini
|
|
32
|
+
id: "gemini-4-argon",
|
|
33
|
+
name: "Gemini 4 Argon",
|
|
34
34
|
efforts: [
|
|
35
35
|
"low",
|
|
36
36
|
"medium",
|
|
@@ -38,17 +38,16 @@ const DEFAULT_FALLBACK_MODELS = [
|
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
|
-
id: "
|
|
42
|
-
name: "
|
|
43
|
-
efforts: [
|
|
44
|
-
"low",
|
|
45
|
-
"medium",
|
|
46
|
-
"high"
|
|
47
|
-
]
|
|
41
|
+
id: "claude-sonnet-4-6",
|
|
42
|
+
name: "Claude Sonnet 4.6 (Thinking)"
|
|
48
43
|
},
|
|
49
44
|
{
|
|
50
|
-
id: "
|
|
51
|
-
name: "
|
|
45
|
+
id: "claude-opus-4-6-thinking",
|
|
46
|
+
name: "Claude Opus 4.6 (Thinking)"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: "claude-sonnet-5-5",
|
|
50
|
+
name: "Claude Sonnet 5.5",
|
|
52
51
|
efforts: [
|
|
53
52
|
"low",
|
|
54
53
|
"medium",
|
|
@@ -56,22 +55,14 @@ const DEFAULT_FALLBACK_MODELS = [
|
|
|
56
55
|
]
|
|
57
56
|
},
|
|
58
57
|
{
|
|
59
|
-
id: "
|
|
60
|
-
name: "
|
|
58
|
+
id: "claude-opus-5-5",
|
|
59
|
+
name: "Claude Opus 5.5",
|
|
61
60
|
efforts: [
|
|
62
61
|
"low",
|
|
63
62
|
"medium",
|
|
64
63
|
"high"
|
|
65
64
|
]
|
|
66
65
|
},
|
|
67
|
-
{
|
|
68
|
-
id: "claude-sonnet-4-6",
|
|
69
|
-
name: "Claude Sonnet 4.6 (Thinking)"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
id: "claude-opus-4-6-thinking",
|
|
73
|
-
name: "Claude Opus 4.6 (Thinking)"
|
|
74
|
-
},
|
|
75
66
|
{
|
|
76
67
|
id: "gpt-oss-120b-medium",
|
|
77
68
|
name: "GPT-OSS 120B (Medium)"
|
|
@@ -2530,13 +2521,16 @@ const EFFORT_SUFFIXES = [
|
|
|
2530
2521
|
"medium",
|
|
2531
2522
|
"high"
|
|
2532
2523
|
];
|
|
2533
|
-
/** Fold Gemini effort variants into base + effort set (spec ADR-10).
|
|
2524
|
+
/** Fold Gemini/Argon/Claude effort variants into base + effort set (spec ADR-10).
|
|
2525
|
+
* Claude 5.5 is listed only as tiered slugs by agy 1.5.3; the base slug is the
|
|
2526
|
+
* one that accepts `--effort`, and passing a tiered slug together with the flag
|
|
2527
|
+
* is rejected ("--model … conflicts with --effort=…"). */
|
|
2534
2528
|
function foldEfforts(raw) {
|
|
2535
2529
|
const bases = /* @__PURE__ */ new Map();
|
|
2536
2530
|
const verbatim = [];
|
|
2537
2531
|
const slugSet = new Set(raw.map((r) => r.slug));
|
|
2538
2532
|
for (const r of raw) {
|
|
2539
|
-
if (!r.slug.startsWith("gemini") && !r.slug.startsWith("argon")) {
|
|
2533
|
+
if (!r.slug.startsWith("gemini") && !r.slug.startsWith("argon") && !r.slug.startsWith("claude")) {
|
|
2540
2534
|
verbatim.push({
|
|
2541
2535
|
id: r.slug,
|
|
2542
2536
|
name: r.label,
|
|
@@ -2748,6 +2742,8 @@ function resolveModelSlug(id) {
|
|
|
2748
2742
|
if (s === "claude-opus-4-6" || s === "claude-opus-4-8" || s === "claude-opus" || s === "claude-opus-4.6" || s === "claude-opus-4-5") return "claude-opus-4-6-thinking";
|
|
2749
2743
|
if (s === "claude-sonnet" || s === "claude-sonnet-4.6" || s === "claude-sonnet-4-5") return "claude-sonnet-4-6";
|
|
2750
2744
|
if (s === "gpt-oss-120b" || s === "gpt-oss-20b" || s === "gpt-oss") return "gpt-oss-120b-medium";
|
|
2745
|
+
const claude55 = s.match(/^(claude-(?:sonnet|opus)-5-5)-(?:low|medium|high)$/);
|
|
2746
|
+
if (claude55 !== null && claude55[1] !== void 0) return claude55[1];
|
|
2751
2747
|
return id.trim();
|
|
2752
2748
|
}
|
|
2753
2749
|
function findEntry(catalog, id) {
|
|
@@ -31362,7 +31358,8 @@ var AgyAdapter = class AgyAdapter extends LlmAdapter {
|
|
|
31362
31358
|
else args.push("--mode", opts.permissionMode);
|
|
31363
31359
|
const effectiveModel = resolveModelSlug(opts.model);
|
|
31364
31360
|
if (effectiveModel !== "") args.push("--model", effectiveModel);
|
|
31365
|
-
|
|
31361
|
+
const effortModel = effectiveModel.toLowerCase();
|
|
31362
|
+
if ((effectiveModel === "" || effortModel.startsWith("gemini") || effortModel.startsWith("argon") || /^claude-(?:sonnet|opus)-5-5$/.test(effortModel)) && opts.effort && opts.effort !== "") args.push("--effort", opts.effort);
|
|
31366
31363
|
if (opts.conversationId) args.push("--conversation", opts.conversationId);
|
|
31367
31364
|
for (const d of opts.addDirs ?? []) args.push("--add-dir", d);
|
|
31368
31365
|
args.push(...opts.extraArgs);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-agy-link",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.12",
|
|
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",
|