dsh-agy-link 0.6.9 → 0.6.11

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,41 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.11 (2026-11-09)
4
+
5
+ ### English
6
+
7
+ - **Fix(models): drop the retired Gemini 3.5/3.6/3.7 fallback rows and add the current Claude 5.5 line-up.**
8
+ - 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.
9
+ - 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.
10
+ - 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.
11
+
12
+ ### 中文
13
+
14
+ - **修复(models):移除已下线的 Gemini 3.5/3.6/3.7 回退项,补上当前 Claude 5.5 阵容。**
15
+ - 这几个 Gemini 模型上游已下线(维护者 2026-11-09 确认),回退目录不再列出后端无法提供的模型;`claude-sonnet-5-5`、`claude-opus-5-5` 与 4.6 并列。
16
+ - 5.5 条目**暂不声明 effort 档位**:agy 对 Claude 的 `--effort` 支持尚未验证,声明了只会显示实际传不下去的档位;确认后再同步加 `efforts` 与 `isEffortCapable`。
17
+ - 影响面:在线目录来自 `agy models`,但 `agy models` 不可用时(未登录/离线)选择器显示的就是这份回退目录——残留的旧条目会给出一个一选就失败的模型。
18
+
19
+ **Full Changelog**: https://github.com/amlyczz/dsh-agy-link/compare/v0.6.10...v0.6.11
20
+
21
+ ## 0.6.10 (2026-11-09)
22
+
23
+ ### English
24
+
25
+ - **Fix(client): the account console is readable again — full email addresses, pre-compaction sizing (reverts the density part of #81).**
26
+ - #81 capped the email badge at `maxWidth: 135px`, so real addresses rendered as `q98646558@gm`, and shrank every card/row (`8px 10px` cards, 10.5–11px quota type, 6px bars, 2px 6px badges) — the panel felt visibly smaller than before. The compaction is reverted; cards are back to `10px 14px` / `8px` gaps and the quota rows to 11.5px type.
27
+ - The two good parts of #81 are kept in a non-shrinking form: the reset/cooldown cluster now has a **fixed 150px width** (bars share identical start/end X — no jagged staircase) and status badges carry `whiteSpace: nowrap` + `flexShrink: 0` (中文 labels no longer wrap character-by-character).
28
+ - New `test/client-account-card-style.test.ts` guards all three: no fixed email width cap, roomy card density, aligned-and-readable quota rows.
29
+
30
+ ### 中文
31
+
32
+ - **修复(client):账号控制台恢复可读——邮箱完整显示、尺寸回到压缩前(回退 #81 的「紧凑化」部分)。**
33
+ - #81 给邮箱徽章加了 `maxWidth: 135px`,真实地址被截成 `q98646558@gm`;同时把每张卡片/每行都压小(卡片 `8px 10px`、额度字号 10.5–11px、进度条 6px、徽章 `2px 6px`),整体观感明显变小。现回退:卡片恢复 `10px 14px` / `8px` 间距,额度行字号回到 11.5px。
34
+ - 保留 #81 两个**不靠压缩**的改进:右侧「重置/冷却」簇固定 **150px** 宽(所有进度条起止 X 一致,不再呈阶梯状);状态徽章加 `whiteSpace: nowrap` + `flexShrink: 0`(`冷却中` 不再逐字换行)。
35
+ - 新增 `test/client-account-card-style.test.ts` 守住三点:邮箱不再有固定宽度上限、卡片密度恢复、额度行对齐且字号不缩。
36
+
37
+ **Full Changelog**: https://github.com/amlyczz/dsh-agy-link/compare/v0.6.9...v0.6.10
38
+
3
39
  ## 0.6.9 (2026-11-09)
4
40
 
5
41
  ### English
package/dist/client.js CHANGED
@@ -139,7 +139,6 @@ window.__ModuleLoader__.load({
139
139
  "status.loading": "正在加载 Antigravity 状态...",
140
140
  "status.authRequired": "需重新登录",
141
141
  "account.setActive": "设为当前使用",
142
- "account.use": "使用",
143
142
  "account.settingActive": "切换中",
144
143
  "account.activeSet": "已切换当前使用账号",
145
144
  "account.activeSetFailed": "该账号当前不可用(冷却或需重新登录)",
@@ -321,7 +320,6 @@ window.__ModuleLoader__.load({
321
320
  "status.loading": "Loading Antigravity status...",
322
321
  "status.authRequired": "Sign in again required",
323
322
  "account.setActive": "Set as in use",
324
- "account.use": "Use",
325
323
  "account.settingActive": "Switching...",
326
324
  "account.activeSet": "Active account switched",
327
325
  "account.activeSetFailed": "Account not currently eligible (cooldown or auth required)",
@@ -503,7 +501,6 @@ window.__ModuleLoader__.load({
503
501
  "status.loading": "Carregando o status do Antigravity...",
504
502
  "status.authRequired": "É necessário entrar novamente",
505
503
  "account.setActive": "Definir como em uso",
506
- "account.use": "Usar",
507
504
  "account.settingActive": "Alternando...",
508
505
  "account.activeSet": "Conta em uso alterada",
509
506
  "account.activeSetFailed": "Conta não elegível no momento (cooldown ou login necessário)",
@@ -685,7 +682,6 @@ window.__ModuleLoader__.load({
685
682
  "status.loading": "Cargando el estado de Antigravity...",
686
683
  "status.authRequired": "Debe iniciar sesión de nuevo",
687
684
  "account.setActive": "Establecer como en uso",
688
- "account.use": "Usar",
689
685
  "account.settingActive": "Cambiando...",
690
686
  "account.activeSet": "Cuenta en uso cambiada",
691
687
  "account.activeSetFailed": "Cuenta no elegible ahora (enfriamiento o requiere login)",
@@ -5677,16 +5673,14 @@ body.dark .agy-tsl-card,
5677
5673
  style: {
5678
5674
  display: "flex",
5679
5675
  alignItems: "center",
5680
- fontSize: "11px",
5681
- margin: "1.5px 0"
5676
+ fontSize: "11.5px",
5677
+ margin: "4px 0"
5682
5678
  }
5683
5679
  }, h("span", { style: {
5684
5680
  width: "64px",
5685
- minWidth: "64px",
5686
- maxWidth: "64px",
5687
5681
  color: "var(--agy-text-window-label)",
5688
- fontSize: "10.5px",
5689
- fontWeight: 600,
5682
+ fontSize: "11px",
5683
+ fontWeight: 700,
5690
5684
  flexShrink: 0,
5691
5685
  whiteSpace: "nowrap"
5692
5686
  } }, windowName), h("div", {
@@ -5701,62 +5695,47 @@ body.dark .agy-tsl-card,
5701
5695
  borderRadius: "3px"
5702
5696
  }
5703
5697
  })), h("div", { style: {
5704
- display: "flex",
5698
+ display: "inline-flex",
5705
5699
  alignItems: "center",
5706
- gap: "6px",
5707
- width: "235px",
5708
- minWidth: "235px",
5709
- maxWidth: "235px",
5700
+ gap: "8px",
5701
+ width: "150px",
5702
+ minWidth: "150px",
5703
+ justifyContent: "flex-end",
5710
5704
  flexShrink: 0
5711
5705
  } }, h("span", {
5712
5706
  title: tooltipText,
5713
5707
  style: {
5714
- width: "38px",
5715
- minWidth: "38px",
5716
- maxWidth: "38px",
5717
- textAlign: "center",
5718
- boxSizing: "border-box",
5719
- padding: "1px 0",
5720
- borderRadius: "3px",
5708
+ padding: "2px 7px",
5709
+ borderRadius: "4px",
5721
5710
  background: c.bg,
5722
5711
  color: c.text,
5723
5712
  border: `1px solid ${c.border}`,
5724
5713
  fontWeight: 700,
5725
- fontSize: "10.5px",
5726
- lineHeight: 1.1,
5727
- flexShrink: 0,
5714
+ fontSize: "11.5px",
5715
+ lineHeight: 1.2,
5728
5716
  cursor: tooltipText ? "help" : "default"
5729
5717
  }
5730
- }, percent < 0 ? "—" : `${percent}%`), h("span", {
5731
- title: resetStr ? `↻ ${resetStr}` : void 0,
5732
- style: {
5733
- flex: "1",
5734
- minWidth: 0,
5735
- color: "var(--agy-text-secondary)",
5736
- fontSize: "10px",
5737
- fontWeight: 500,
5738
- whiteSpace: "nowrap",
5739
- overflow: "hidden",
5740
- textOverflow: "ellipsis"
5741
- }
5742
- }, resetStr ? `↻ ${resetStr}` : "")));
5718
+ }, percent < 0 ? "—" : `${percent}%`), resetStr ? h("span", { style: {
5719
+ color: "var(--agy-text-secondary)",
5720
+ fontSize: "11px",
5721
+ fontWeight: 500
5722
+ } }, `↻ ${resetStr}`) : null));
5743
5723
  };
5744
- return h("div", {
5745
- key: familyKey,
5746
- style: familyKey !== "google" ? {
5747
- marginTop: "4px",
5748
- paddingTop: "4px",
5749
- borderTop: "1px dashed var(--agy-border-box)"
5750
- } : void 0
5751
- }, h("div", { style: {
5724
+ return h("div", { style: {
5725
+ margin: "6px 0",
5726
+ padding: "8px 10px",
5727
+ background: "var(--agy-bg-subbox)",
5728
+ borderRadius: "7px",
5729
+ border: "1px solid var(--agy-border-box)"
5730
+ } }, h("div", { style: {
5752
5731
  display: "flex",
5753
5732
  alignItems: "center",
5754
- gap: "5px",
5733
+ gap: "6px",
5755
5734
  fontWeight: 700,
5756
- fontSize: "11px",
5757
- marginBottom: "2px",
5758
- color: "var(--agy-text-secondary)"
5759
- } }, brandIcon(FAMILY_BRAND[familyKey], 12), h("span", null, label)), familyKey !== "argon" || has5h ? renderLine(t("quota.fiveHour"), pct5h, c5h, w5h.resetText ? w5h.resetText + cdNote : expiredFull5h ? t("quota.windowReset") + cdNote : cdNote.replace(/^ · /, ""), info?.remainingFraction, info?.resetTime) : null, renderLine(t("quota.weekly"), pctWeekly, cWeekly, wWeekly.resetText ? wWeekly.resetText : expiredFullWeekly ? t("quota.windowReset") : "", info?.weeklyFraction, info?.weeklyResetTime));
5735
+ fontSize: "12.5px",
5736
+ marginBottom: "5px",
5737
+ color: "var(--agy-text-primary)"
5738
+ } }, brandIcon(FAMILY_BRAND[familyKey], 14), h("span", null, label)), familyKey !== "argon" || has5h ? renderLine(t("quota.fiveHour"), pct5h, c5h, w5h.resetText ? w5h.resetText + cdNote : expiredFull5h ? t("quota.windowReset") + cdNote : cdNote.replace(/^ · /, ""), info?.remainingFraction, info?.resetTime) : null, renderLine(t("quota.weekly"), pctWeekly, cWeekly, wWeekly.resetText ? wWeekly.resetText : expiredFullWeekly ? t("quota.windowReset") : "", info?.weeklyFraction, info?.weeklyResetTime));
5760
5739
  }
5761
5740
  const GLOBAL_CSS = `
5762
5741
  @keyframes agy-spin {
@@ -6138,11 +6117,11 @@ html.agy-modal-open body {
6138
6117
  .agy-modal-panel {
6139
6118
  position: relative;
6140
6119
  width: 100%;
6141
- max-width: 680px;
6142
- max-height: min(840px, calc(100vh - 48px));
6120
+ max-width: 640px;
6121
+ max-height: min(820px, calc(100vh - 48px));
6143
6122
  background: var(--agy-bg-panel);
6144
6123
  border: 1px solid var(--agy-border-card);
6145
- border-radius: 12px;
6124
+ border-radius: 14px;
6146
6125
  box-shadow: var(--agy-shadow-modal);
6147
6126
  display: flex;
6148
6127
  flex-direction: column;
@@ -6161,12 +6140,12 @@ html.agy-modal-open body {
6161
6140
  display: flex;
6162
6141
  align-items: center;
6163
6142
  justify-content: space-between;
6164
- padding: 4px 8px;
6165
- font-size: 11px;
6166
- border-radius: 5px;
6143
+ padding: 7px 10px;
6144
+ font-size: 11.5px;
6145
+ border-radius: 6px;
6167
6146
  background: var(--agy-bg-subbox);
6168
6147
  border: 1px solid var(--agy-border-box);
6169
- margin: 2px 0;
6148
+ margin: 4px 0;
6170
6149
  color: var(--agy-text-primary);
6171
6150
  }
6172
6151
 
@@ -6250,7 +6229,7 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
6250
6229
  white-space: nowrap;
6251
6230
  }
6252
6231
  .agy-quota-line > div:nth-child(2) { grid-area: bar; margin: 0 !important; }
6253
- .agy-quota-line > div:nth-child(3) { grid-area: cluster; min-width: 0 !important; width: auto !important; }
6232
+ .agy-quota-line > div:nth-child(3) { grid-area: cluster; min-width: 0 !important; }
6254
6233
 
6255
6234
  /* Header actions: the primary action keeps a full row, the two
6256
6235
  secondary ones share the next. */
@@ -6287,14 +6266,13 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
6287
6266
  function injectGlobalStyles() {
6288
6267
  if (typeof document === "undefined") return;
6289
6268
  const styleId = "dsh-agy-link-global-css";
6290
- let st = document.getElementById(styleId);
6291
- if (st === null) {
6292
- st = document.createElement("style");
6269
+ if (document.getElementById(styleId) === null) {
6270
+ const st = document.createElement("style");
6293
6271
  st.id = styleId;
6272
+ st.textContent = GLOBAL_CSS;
6294
6273
  const host = document.head ?? document.documentElement;
6295
6274
  if (host) host.appendChild(st);
6296
6275
  }
6297
- if (st && st.textContent !== GLOBAL_CSS) st.textContent = GLOBAL_CSS;
6298
6276
  }
6299
6277
  const S = {
6300
6278
  container: {
@@ -6307,11 +6285,11 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
6307
6285
  display: "flex",
6308
6286
  alignItems: "center",
6309
6287
  justifyContent: "space-between",
6310
- padding: "8px 12px",
6288
+ padding: "12px 16px",
6311
6289
  background: "var(--agy-bg-header)",
6312
6290
  border: "1px solid var(--agy-border-card)",
6313
- borderRadius: "8px",
6314
- marginBottom: "8px",
6291
+ borderRadius: "10px",
6292
+ marginBottom: "12px",
6315
6293
  color: "var(--agy-text-primary)",
6316
6294
  boxShadow: "var(--agy-shadow-card)"
6317
6295
  },
@@ -6337,9 +6315,7 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
6337
6315
  padding: "2px 7px",
6338
6316
  borderRadius: "5px",
6339
6317
  fontSize: "11px",
6340
- fontWeight: 600,
6341
- whiteSpace: "nowrap",
6342
- flexShrink: 0
6318
+ fontWeight: 600
6343
6319
  },
6344
6320
  badgeReady: {
6345
6321
  display: "inline-flex",
@@ -6369,8 +6345,8 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
6369
6345
  background: "var(--agy-bg-card)",
6370
6346
  border: "1px solid var(--agy-border-card)",
6371
6347
  borderRadius: "8px",
6372
- padding: "8px 10px",
6373
- marginBottom: "6px",
6348
+ padding: "10px 14px",
6349
+ marginBottom: "8px",
6374
6350
  color: "var(--agy-text-primary)",
6375
6351
  boxShadow: "var(--agy-shadow-card)",
6376
6352
  transition: "border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease"
@@ -6379,27 +6355,27 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
6379
6355
  background: "var(--agy-bg-card)",
6380
6356
  border: "1px solid var(--agy-border-card)",
6381
6357
  borderRadius: "8px",
6382
- padding: "8px 10px",
6383
- marginBottom: "6px",
6358
+ padding: "10px 14px",
6359
+ marginBottom: "8px",
6384
6360
  color: "var(--agy-text-primary)",
6385
6361
  boxShadow: "var(--agy-shadow-card)",
6386
6362
  transition: "border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease"
6387
6363
  },
6388
6364
  quotaBox: {
6389
- background: "var(--agy-bg-subbox)",
6365
+ background: "var(--agy-bg-box)",
6390
6366
  border: "1px solid var(--agy-border-box)",
6391
- borderRadius: "6px",
6392
- padding: "5px 8px",
6393
- marginTop: "5px"
6367
+ borderRadius: "8px",
6368
+ padding: "8px 10px",
6369
+ marginTop: "8px"
6394
6370
  },
6395
6371
  progressBarBg: {
6396
6372
  flex: "1",
6397
- height: "6px",
6398
- borderRadius: "3px",
6373
+ height: "8px",
6374
+ borderRadius: "4px",
6399
6375
  background: "var(--agy-bg-progress-track)",
6400
6376
  border: "1px solid var(--agy-border-box)",
6401
6377
  overflow: "hidden",
6402
- margin: "0 8px"
6378
+ margin: "0 10px"
6403
6379
  },
6404
6380
  btn: {
6405
6381
  display: "inline-flex",
@@ -6432,8 +6408,8 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
6432
6408
  display: "inline-flex",
6433
6409
  alignItems: "center",
6434
6410
  justifyContent: "center",
6435
- padding: "2px 6px",
6436
- borderRadius: "4px",
6411
+ padding: "4px 9px",
6412
+ borderRadius: "6px",
6437
6413
  border: "1px solid var(--agy-danger-border)",
6438
6414
  background: "var(--agy-danger-bg)",
6439
6415
  color: "var(--agy-danger-text)",
@@ -6445,26 +6421,26 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
6445
6421
  display: "inline-flex",
6446
6422
  alignItems: "center",
6447
6423
  justifyContent: "center",
6448
- padding: "2px 6px",
6449
- borderRadius: "4px",
6424
+ padding: "4px 9px",
6425
+ borderRadius: "5px",
6450
6426
  border: "1px solid var(--agy-border-btn)",
6451
6427
  background: "var(--agy-bg-btn)",
6452
6428
  color: "var(--agy-text-btn)",
6453
6429
  cursor: "pointer",
6454
- fontSize: "11px",
6430
+ fontSize: "11.5px",
6455
6431
  fontWeight: 600
6456
6432
  },
6457
6433
  btnSmPrimary: {
6458
6434
  display: "inline-flex",
6459
6435
  alignItems: "center",
6460
6436
  justifyContent: "center",
6461
- padding: "2px 6px",
6462
- borderRadius: "4px",
6437
+ padding: "4px 9px",
6438
+ borderRadius: "5px",
6463
6439
  border: "1px solid var(--agy-border-btn-primary)",
6464
6440
  background: "var(--agy-bg-btn-primary)",
6465
6441
  color: "var(--agy-text-btn-primary)",
6466
6442
  cursor: "pointer",
6467
- fontSize: "11px",
6443
+ fontSize: "11.5px",
6468
6444
  fontWeight: 700
6469
6445
  },
6470
6446
  segGroup: {
@@ -6975,8 +6951,8 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
6975
6951
  const cardStyle = {
6976
6952
  ...S.card,
6977
6953
  cursor: "default",
6978
- padding: "8px 10px",
6979
- marginBottom: "6px",
6954
+ padding: "10px 14px",
6955
+ marginBottom: "8px",
6980
6956
  ...!acc.enabled ? { opacity: .72 } : {}
6981
6957
  };
6982
6958
  const legacyDefault = acc.defaultAlias === void 0 && acc.systemHome && acc.alias === "主账号 (系统登录)";
@@ -7012,22 +6988,21 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
7012
6988
  alignItems: "center",
7013
6989
  justifyContent: "space-between",
7014
6990
  userSelect: "none",
7015
- gap: "6px",
7016
- marginBottom: "4px"
6991
+ gap: "8px",
6992
+ marginBottom: "8px"
7017
6993
  } }, h("div", { style: {
7018
6994
  display: "flex",
7019
6995
  alignItems: "center",
7020
- gap: "4px",
7021
- flexWrap: "nowrap",
6996
+ gap: "6px",
6997
+ flexWrap: "wrap",
7022
6998
  flex: "1",
7023
- minWidth: 0,
7024
- overflow: "hidden"
6999
+ minWidth: 0
7025
7000
  } }, h("span", {
7026
7001
  style: {
7027
7002
  ...S.badgeTag,
7028
7003
  fontWeight: 700,
7029
- fontSize: "10px",
7030
- padding: "1px 4px",
7004
+ fontSize: "10.5px",
7005
+ padding: "1px 5px",
7031
7006
  background: isPrimary ? "var(--agy-badge-primary-bg)" : "var(--agy-badge-tag-bg)",
7032
7007
  color: isPrimary ? "var(--agy-badge-primary-text)" : "var(--agy-badge-tag-text)",
7033
7008
  borderColor: isPrimary ? "var(--agy-badge-primary-border)" : "var(--agy-badge-tag-border)"
@@ -7042,36 +7017,36 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
7042
7017
  className: "agy-btn",
7043
7018
  style: {
7044
7019
  ...S.btnSm,
7045
- padding: "1px 3px",
7046
- fontSize: "9px",
7020
+ padding: "1px 4px",
7021
+ fontSize: "10px",
7047
7022
  lineHeight: 1,
7048
- height: "17px"
7023
+ height: "18px"
7049
7024
  },
7050
7025
  title: t("account.moveUp"),
7051
7026
  onClick: () => void moveAccount(acc.id, -1)
7052
- }, uiIcon("arrowUp", 9)) : null, accIndex < accounts.length - 1 ? h("button", {
7027
+ }, uiIcon("arrowUp", 10)) : null, accIndex < accounts.length - 1 ? h("button", {
7053
7028
  type: "button",
7054
7029
  className: "agy-btn",
7055
7030
  style: {
7056
7031
  ...S.btnSm,
7057
- padding: "1px 3px",
7058
- fontSize: "9px",
7032
+ padding: "1px 4px",
7033
+ fontSize: "10px",
7059
7034
  lineHeight: 1,
7060
- height: "17px"
7035
+ height: "18px"
7061
7036
  },
7062
7037
  title: t("account.moveDown"),
7063
7038
  onClick: () => void moveAccount(acc.id, 1)
7064
- }, uiIcon("arrowDown", 9)) : null) : null, h("span", {
7039
+ }, uiIcon("arrowDown", 10)) : null) : null, h("span", {
7065
7040
  className: "agy-pulse-dot",
7066
7041
  style: {
7067
7042
  background: dotColor,
7068
- boxShadow: `0 0 5px ${dotColor}aa`,
7043
+ boxShadow: `0 0 6px ${dotColor}aa`,
7069
7044
  marginLeft: "1px"
7070
7045
  }
7071
7046
  }), h("span", {
7072
7047
  style: {
7073
7048
  fontWeight: 700,
7074
- fontSize: "12px",
7049
+ fontSize: "13px",
7075
7050
  color: "var(--agy-text-primary)",
7076
7051
  whiteSpace: "nowrap"
7077
7052
  },
@@ -7081,8 +7056,8 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
7081
7056
  background: "rgba(59, 130, 246, 0.12)",
7082
7057
  color: "#3b82f6",
7083
7058
  borderColor: "rgba(59, 130, 246, 0.35)",
7084
- fontSize: "9.5px",
7085
- padding: "1px 4px",
7059
+ fontSize: "10px",
7060
+ padding: "1px 5px",
7086
7061
  fontWeight: 700
7087
7062
  } }, "AGY"), isAuthRequired ? h("span", { style: {
7088
7063
  ...S.badgeTag,
@@ -7090,53 +7065,49 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
7090
7065
  color: "#ef4444",
7091
7066
  borderColor: "#fca5a5",
7092
7067
  gap: "3px",
7093
- fontSize: "9.5px",
7094
- padding: "1px 4px",
7068
+ fontSize: "10px",
7069
+ padding: "1px 5px",
7095
7070
  fontWeight: 700,
7096
7071
  whiteSpace: "nowrap",
7097
7072
  flexShrink: 0
7098
- } }, uiIcon("alert", 9, "#ef4444"), t("status.authRequired")) : null, hasCooldown ? h("span", { style: {
7073
+ } }, uiIcon("alert", 10, "#ef4444"), t("status.authRequired")) : null, hasCooldown ? h("span", { style: {
7099
7074
  ...S.badgeTag,
7100
7075
  background: "rgba(245, 158, 11, 0.15)",
7101
7076
  color: "#f59e0b",
7102
7077
  borderColor: "rgba(245, 158, 11, 0.4)",
7103
7078
  gap: "3px",
7104
- fontSize: "9.5px",
7105
- padding: "1px 4px",
7079
+ fontSize: "10px",
7080
+ padding: "1px 5px",
7106
7081
  fontWeight: 700,
7107
7082
  whiteSpace: "nowrap",
7108
7083
  flexShrink: 0
7109
- } }, uiIcon("alert", 9, "#f59e0b"), "冷却中") : null, acc.email ? h("span", {
7084
+ } }, uiIcon("alert", 10, "#f59e0b"), "冷却中") : null, acc.email ? h("span", {
7110
7085
  style: {
7111
7086
  ...S.badgeTag,
7112
7087
  background: "var(--agy-badge-email-bg)",
7113
7088
  color: "var(--agy-badge-email-text)",
7114
7089
  borderColor: "var(--agy-badge-email-border)",
7115
- gap: "3px",
7116
- fontSize: "10px",
7117
- padding: "1px 5px",
7118
- maxWidth: "135px",
7119
- overflow: "hidden",
7120
- textOverflow: "ellipsis",
7121
- whiteSpace: "nowrap",
7122
- flexShrink: 1
7090
+ gap: "4px",
7091
+ fontSize: "11px",
7092
+ padding: "1px 6px",
7093
+ whiteSpace: "nowrap"
7123
7094
  },
7124
7095
  title: acc.email
7125
- }, uiIcon("mail", 9, "var(--agy-badge-email-text)"), acc.email) : null, isInUse ? h("span", {
7096
+ }, uiIcon("mail", 10, "var(--agy-badge-email-text)"), acc.email) : null, isInUse ? h("span", {
7126
7097
  style: {
7127
7098
  ...S.badgeTag,
7128
7099
  background: "rgba(16, 185, 129, 0.12)",
7129
7100
  color: "#10b981",
7130
7101
  borderColor: "rgba(16, 185, 129, 0.45)",
7131
- gap: "2px",
7132
- fontSize: "9.5px",
7133
- padding: "1px 4px",
7102
+ gap: "3px",
7103
+ fontSize: "10px",
7104
+ padding: "1px 5px",
7134
7105
  fontWeight: 700,
7135
7106
  whiteSpace: "nowrap",
7136
7107
  flexShrink: 0
7137
7108
  },
7138
7109
  title: t("status.inUse")
7139
- }, uiIcon("zap", 9, "#10b981"), t("status.inUse")) : null, (() => {
7110
+ }, uiIcon("zap", 10, "#10b981"), t("status.inUse")) : null, (() => {
7140
7111
  const effectiveProxy = acc.proxyUrl || pool?.systemProxy;
7141
7112
  return effectiveProxy ? h("span", {
7142
7113
  style: {
@@ -7144,29 +7115,29 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
7144
7115
  background: "var(--agy-badge-proxy-bg)",
7145
7116
  color: "var(--agy-badge-proxy-text)",
7146
7117
  borderColor: "var(--agy-badge-proxy-border)",
7147
- gap: "3px",
7148
- fontSize: "9.5px",
7149
- padding: "1px 4px"
7118
+ gap: "4px",
7119
+ fontSize: "10px",
7120
+ padding: "1px 5px"
7150
7121
  },
7151
7122
  title: effectiveProxy
7152
- }, uiIcon("globe", 9, "var(--agy-badge-proxy-text)"), t("status.proxy")) : null;
7123
+ }, uiIcon("globe", 10, "var(--agy-badge-proxy-text)"), t("status.proxy")) : null;
7153
7124
  })(), !acc.enabled ? h("span", {
7154
7125
  style: {
7155
7126
  ...S.badgeTag,
7156
7127
  background: "var(--agy-bg-subbox)",
7157
7128
  color: "var(--agy-text-secondary)",
7158
7129
  borderColor: "var(--agy-border-subbox)",
7159
- gap: "2px",
7160
- fontSize: "9.5px",
7161
- padding: "1px 4px",
7130
+ gap: "3px",
7131
+ fontSize: "10px",
7132
+ padding: "1px 5px",
7162
7133
  fontWeight: 700
7163
7134
  },
7164
7135
  title: t("status.disabled")
7165
- }, uiIcon("power", 9, "#64748b"), t("status.disabled")) : null), h("div", {
7136
+ }, uiIcon("power", 10, "#64748b"), t("status.disabled")) : null), h("div", {
7166
7137
  className: "agy-card-actions",
7167
7138
  style: {
7168
7139
  display: "flex",
7169
- gap: "3px",
7140
+ gap: "4px",
7170
7141
  alignItems: "center",
7171
7142
  flexShrink: 0
7172
7143
  }
@@ -7175,93 +7146,87 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
7175
7146
  className: "agy-btn",
7176
7147
  style: acc.enabled ? {
7177
7148
  ...S.btnSm,
7178
- gap: "2px",
7179
- fontSize: "10.5px",
7180
- padding: "1px 5px",
7181
- height: "21px"
7149
+ gap: "3px",
7150
+ fontSize: "11px",
7151
+ padding: "2px 6px"
7182
7152
  } : {
7183
7153
  ...S.btnSmPrimary,
7184
- gap: "2px",
7185
- fontSize: "10.5px",
7186
- padding: "1px 5px",
7187
- height: "21px"
7154
+ gap: "3px",
7155
+ fontSize: "11px",
7156
+ padding: "2px 6px"
7188
7157
  },
7189
7158
  title: acc.enabled ? t("account.disableTitle") : t("account.enableTitle"),
7190
7159
  disabled: accountActionBusy(acc, "enable"),
7191
7160
  onClick: () => void toggleAccountEnabled(acc)
7192
- }, loadingAction === `enable:${acc.id}` ? [renderSpinner(), acc.enabled ? t("account.disable") : t("account.enable")] : [uiIcon("power", 9, acc.enabled ? "var(--agy-text-secondary)" : "#ffffff"), ` ${acc.enabled ? t("account.disable") : t("account.enable")}`]), h("button", {
7161
+ }, loadingAction === `enable:${acc.id}` ? [renderSpinner(), acc.enabled ? t("account.disable") : t("account.enable")] : [uiIcon("power", 10, acc.enabled ? "var(--agy-text-secondary)" : "#ffffff"), ` ${acc.enabled ? t("account.disable") : t("account.enable")}`]), h("button", {
7193
7162
  type: "button",
7194
7163
  className: "agy-btn",
7195
7164
  style: {
7196
7165
  ...S.btnSm,
7197
- gap: "2px",
7198
- fontSize: "10.5px",
7199
- padding: "1px 5px",
7200
- height: "21px",
7166
+ gap: "3px",
7167
+ fontSize: "11px",
7168
+ padding: "2px 6px",
7169
+ minWidth: "58px",
7201
7170
  justifyContent: "center"
7202
7171
  },
7203
7172
  title: t("account.syncTitle"),
7204
7173
  disabled: accountActionBusy(acc, "refresh"),
7205
7174
  onClick: () => void refreshQuota(acc.id)
7206
- }, loadingAction === `refresh:${acc.id}` ? [renderSpinner(), t("account.syncing")] : [uiIcon("refresh", 9), ` ${t("account.sync")}`]), acc.enabled && !acc.authRequired ? h("button", {
7175
+ }, loadingAction === `refresh:${acc.id}` ? [renderSpinner(), t("account.syncing")] : [uiIcon("refresh", 10), ` ${t("account.sync")}`]), acc.enabled && !acc.authRequired ? h("button", {
7207
7176
  type: "button",
7208
7177
  className: "agy-btn",
7209
7178
  style: {
7210
7179
  ...S.btnSm,
7211
- gap: "2px",
7212
- fontSize: "10.5px",
7213
- padding: "1px 5px",
7214
- height: "21px",
7180
+ gap: "3px",
7181
+ fontSize: "11px",
7182
+ padding: "2px 6px",
7183
+ minWidth: "58px",
7215
7184
  justifyContent: "center"
7216
7185
  },
7217
7186
  title: t("account.warmupTitle"),
7218
7187
  disabled: accountActionBusy(acc, "warmup"),
7219
7188
  onClick: () => void warmupAccount(acc.id)
7220
- }, loadingAction === `warmup:${acc.id}` ? [renderSpinner(), t("account.warmingUp")] : [uiIcon("flame", 9, "#f97316"), ` ${t("account.warmup")}`]) : null, acc.enabled && !isInUse ? h("button", {
7189
+ }, loadingAction === `warmup:${acc.id}` ? [renderSpinner(), t("account.warmingUp")] : [uiIcon("flame", 10, "#f97316"), ` ${t("account.warmup")}`]) : null, acc.enabled && !isInUse ? h("button", {
7221
7190
  type: "button",
7222
7191
  className: "agy-btn",
7223
7192
  style: {
7224
7193
  ...S.btnSm,
7225
- gap: "2px",
7226
- fontSize: "10.5px",
7227
- padding: "1px 5px",
7228
- height: "21px"
7194
+ gap: "3px",
7195
+ fontSize: "11px",
7196
+ padding: "2px 6px"
7229
7197
  },
7230
7198
  title: t("account.setActive"),
7231
7199
  disabled: accountActionBusy(acc, "active"),
7232
7200
  onClick: () => void setActiveAccount(acc.id)
7233
- }, loadingAction === `active:${acc.id}` ? [renderSpinner(), t("account.settingActive")] : [uiIcon("zap", 9), ` ${t("account.use")}`]) : null, h("button", {
7201
+ }, loadingAction === `active:${acc.id}` ? [renderSpinner(), t("account.settingActive")] : [uiIcon("zap", 10), ` ${t("account.setActive")}`]) : null, h("button", {
7234
7202
  type: "button",
7235
7203
  className: "agy-btn",
7236
7204
  style: isEditingProxy ? {
7237
7205
  ...S.btnSmPrimary,
7238
- gap: "2px",
7239
- fontSize: "10.5px",
7240
- padding: "1px 5px",
7241
- height: "21px"
7206
+ gap: "3px",
7207
+ fontSize: "11px",
7208
+ padding: "2px 6px"
7242
7209
  } : {
7243
7210
  ...S.btnSm,
7244
- gap: "2px",
7245
- fontSize: "10.5px",
7246
- padding: "1px 5px",
7247
- height: "21px"
7211
+ gap: "3px",
7212
+ fontSize: "11px",
7213
+ padding: "2px 6px"
7248
7214
  },
7249
7215
  disabled: accountActionBusy(acc, "proxy"),
7250
7216
  onClick: () => setEditingProxyId(isEditingProxy ? null : acc.id)
7251
- }, [uiIcon("globe", 9), ` ${t("proxy.button")}`]), accounts.length > 1 ? h("button", {
7217
+ }, [uiIcon("globe", 10), ` ${t("proxy.button")}`]), accounts.length > 1 ? h("button", {
7252
7218
  type: "button",
7253
7219
  className: "agy-btn",
7254
7220
  style: {
7255
7221
  ...S.btnDanger,
7256
- padding: "1px 5px",
7257
- fontSize: "10.5px",
7258
- height: "21px"
7222
+ padding: "2px 6px",
7223
+ fontSize: "11px"
7259
7224
  },
7260
7225
  title: t("account.removeTitle"),
7261
7226
  "aria-label": t("account.removeTitle"),
7262
7227
  disabled: accountActionBusy(acc, "remove"),
7263
7228
  onClick: () => void removeAccount(acc.id, displayAlias)
7264
- }, loadingAction === `remove:${acc.id}` ? renderSpinner() : uiIcon("trash", 10, "var(--agy-danger-text)")) : null)), h("div", {
7229
+ }, loadingAction === `remove:${acc.id}` ? renderSpinner() : uiIcon("trash", 11, "var(--agy-danger-text)")) : null)), h("div", {
7265
7230
  key: "agy-body",
7266
7231
  style: S.quotaBox
7267
7232
  }, renderQuotaBar("Gemini", "google", acc), acc.quotas.argon ? renderQuotaBar("Argon", "argon", acc) : null, h("button", {
@@ -7272,20 +7237,19 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
7272
7237
  display: "flex",
7273
7238
  alignItems: "center",
7274
7239
  justifyContent: "center",
7275
- gap: "4px",
7276
- marginTop: "3px",
7277
- padding: "2px 8px",
7278
- fontSize: "10.5px",
7240
+ gap: "5px",
7241
+ marginTop: "6px",
7242
+ padding: "5px 10px",
7243
+ fontSize: "11px",
7279
7244
  fontWeight: 600,
7280
7245
  cursor: "pointer",
7281
7246
  color: isExpanded ? "var(--dsw-alias-state-business-primary, #3b82f6)" : "var(--agy-text-secondary)",
7282
- background: "transparent",
7283
- border: "none",
7284
- borderRadius: "4px",
7285
- opacity: .85
7247
+ background: "var(--agy-bg-subbox)",
7248
+ border: "1px dashed var(--agy-border-box)",
7249
+ borderRadius: "6px"
7286
7250
  },
7287
7251
  onClick: () => toggleExpand(acc.id)
7288
- }, uiIcon(isExpanded ? "chevronUp" : "chevronDown", 9), h("span", null, isExpanded ? t("account.collapseOthers") : t("account.expandOthers"))), isExpanded ? [
7252
+ }, uiIcon(isExpanded ? "chevronUp" : "chevronDown", 10), h("span", null, isExpanded ? t("account.collapseOthers") : t("account.expandOthers"))), isExpanded ? [
7289
7253
  renderQuotaBar("Claude", "anthropic", acc),
7290
7254
  renderQuotaBar("GPT-OSS", "openai", acc),
7291
7255
  allChildModels.length > 0 ? h("div", { style: {
@@ -7551,7 +7515,7 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
7551
7515
  display: "flex",
7552
7516
  alignItems: "center",
7553
7517
  justifyContent: "space-between",
7554
- marginBottom: "5px",
7518
+ marginBottom: "8px",
7555
7519
  padding: "0 2px"
7556
7520
  } }, h("div", { style: {
7557
7521
  display: "flex",
@@ -7559,7 +7523,7 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
7559
7523
  gap: "6px"
7560
7524
  } }, h("span", { style: {
7561
7525
  fontWeight: 700,
7562
- fontSize: "12px",
7526
+ fontSize: "12.5px",
7563
7527
  color: "var(--agy-text-primary)"
7564
7528
  } }, `账号池 (${accounts.length})`))), renderedAccountCards, h("div", { style: {
7565
7529
  marginTop: "16px",
@@ -7779,7 +7743,7 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
7779
7743
  display: "flex",
7780
7744
  alignItems: "center",
7781
7745
  justifyContent: "space-between",
7782
- padding: "10px 16px",
7746
+ padding: "14px 18px",
7783
7747
  borderBottom: "1px solid var(--agy-border-card)",
7784
7748
  background: "var(--agy-bg-header)",
7785
7749
  color: "var(--agy-text-primary)"
@@ -7815,7 +7779,7 @@ body[data-ds-dark-theme] select.agy-select { color-scheme: dark; }
7815
7779
  style: {
7816
7780
  overflowY: "auto",
7817
7781
  overscrollBehavior: "contain",
7818
- padding: "12px 14px",
7782
+ padding: "18px",
7819
7783
  flex: "1",
7820
7784
  minHeight: 0,
7821
7785
  background: "var(--agy-bg-panel)"
package/dist/index.js CHANGED
@@ -28,33 +28,6 @@ const DEFAULT_FALLBACK_MODELS = [
28
28
  "high"
29
29
  ]
30
30
  },
31
- {
32
- id: "gemini-3.7-flash",
33
- name: "Gemini 3.7 Flash",
34
- efforts: [
35
- "low",
36
- "medium",
37
- "high"
38
- ]
39
- },
40
- {
41
- id: "gemini-3.6-flash",
42
- name: "Gemini 3.6 Flash",
43
- efforts: [
44
- "low",
45
- "medium",
46
- "high"
47
- ]
48
- },
49
- {
50
- id: "gemini-3.5-flash",
51
- name: "Gemini 3.5 Flash",
52
- efforts: [
53
- "low",
54
- "medium",
55
- "high"
56
- ]
57
- },
58
31
  {
59
32
  id: "gemini-4-argon",
60
33
  name: "Gemini 4 Argon",
@@ -72,6 +45,14 @@ const DEFAULT_FALLBACK_MODELS = [
72
45
  id: "claude-opus-4-6-thinking",
73
46
  name: "Claude Opus 4.6 (Thinking)"
74
47
  },
48
+ {
49
+ id: "claude-sonnet-5-5",
50
+ name: "Claude Sonnet 5.5"
51
+ },
52
+ {
53
+ id: "claude-opus-5-5",
54
+ name: "Claude Opus 5.5"
55
+ },
75
56
  {
76
57
  id: "gpt-oss-120b-medium",
77
58
  name: "GPT-OSS 120B (Medium)"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-agy-link",
3
- "version": "0.6.9",
3
+ "version": "0.6.11",
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",