dsh-agy-link 0.5.2 → 0.5.3

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.3 (2026-11-05)
4
+
5
+ ### English
6
+
7
+ - **Fix(models): a missing Google per-model quota breakdown no longer hides Gemini 4 Argon for Google AI Ultra (issue #68).**
8
+ - `accountHasArgon()` treated *"a `google` quota group exists but has no `models` list"* as an authoritative negative, so the discovered-catalog fallback below it was unreachable. Ultra folds Argon into the shared Gemini bucket and omits the per-model list entirely, so Ultra accounts never saw `Gemini 4 Argon` in `/model`. A negative is now only authoritative when the Google group DOES enumerate its models (a free/standard account listing them without Argon); a missing list is treated as unknown and the per-account discovered catalog decides. Adds Ultra + free-breakdown regression tests.
9
+
10
+ ### 中文
11
+
12
+ - **修复(models):Google 配额缺少逐模型明细时不再把 Gemini 4 Argon 从 Google AI Ultra 账号隐藏(issue #68)。**
13
+ - `accountHasArgon()` 把「存在 `google` 配额组但没有 `models` 列表」当成权威否定,导致后面的已发现目录回退永远不可达。Ultra 会把 Argon 折进共享的 Gemini 桶并完全不发逐模型列表,因此 Ultra 账号在 `/model` 里始终看不到 `Gemini 4 Argon`。现在只有 Google 组**确实枚举了模型**时(免费/标准账号列出模型但不含 Argon)才判为否定;缺少列表视为未知,由该账号的已发现目录决定。补充 Ultra 与免费账号逐模型明细的回归测试。
14
+
15
+ **Full Changelog**: https://github.com/amlyczz/dsh-agy-link/compare/v0.5.2...v0.5.3
16
+
3
17
  ## 0.5.2 (2026-11-04)
4
18
 
5
19
  ### English
package/dist/index.js CHANGED
@@ -2295,7 +2295,7 @@ function accountHasArgon(acc, pool, catalog) {
2295
2295
  if (acc.quotas?.argon !== void 0) return true;
2296
2296
  if (pool && typeof pool.hasDedicatedGroup === "function" && pool.hasDedicatedGroup(acc.id, "argon")) return true;
2297
2297
  if (acc.quotas?.google?.models?.some((m) => isArgonModel(m.modelId))) return true;
2298
- if (acc.quotas?.google !== void 0) return false;
2298
+ if (Array.isArray(acc.quotas?.google?.models)) return false;
2299
2299
  if (catalog && catalog.source === "discovered") return catalog.models.some((m) => isArgonModel(m.id));
2300
2300
  return false;
2301
2301
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-agy-link",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
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",