@eddyskywalker/dsh-chatgpt-subscription 0.2.11 → 0.2.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/lib/client.js CHANGED
@@ -1473,7 +1473,39 @@ window.__ModuleLoader__.load({
1473
1473
  imagePreviewClose: "关闭",
1474
1474
  imagePreviewOpenOriginal: "打开原图",
1475
1475
  retry: "重试",
1476
- unknown: "未知"
1476
+ unknown: "未知",
1477
+ teamModelRulesTitle: "智能体团队 (Agent Teams) 混合模型规则",
1478
+ teamModelRulesHint: "在 Agent Teams 协同模式下,可根据 Teammate 角色或名称前缀(如 reviewer*、code*、scout)自动匹配不同模型,未匹配项使用默认子代理模型。",
1479
+ teamRulePattern: "匹配角色/前缀",
1480
+ teamRulePatternPlaceholder: "输入通配符,如 reviewer* 或 audit",
1481
+ teamRuleModel: "目标模型",
1482
+ teamRuleModelPlaceholder: "输入模型 ID,如 custom:model-id",
1483
+ teamRuleEffort: "思考档位",
1484
+ teamRuleAdd: "添加团队规则",
1485
+ teamRuleDelete: "删除",
1486
+ teamRuleEmpty: "暂未配置团队规则,所有 Teammate 将使用全局默认子代理模型。",
1487
+ teamRuleQuickPresets: "团队预设模板",
1488
+ teamRuleQuickPresetsHint: "一键为常见团队角色快速注入推荐模型与思考深度。",
1489
+ presetReviewer: "代码审查员 (review* -> 6 Astra)",
1490
+ presetCoder: "实现工程师 (code* -> 5.6 Sol)",
1491
+ presetFast: "轻量助理 (scout/test* -> DeepSeek V41 Flash)",
1492
+ presetReviewerShort: "审查员",
1493
+ presetCoderShort: "工程师",
1494
+ presetFastShort: "轻量探索",
1495
+ teamRuleAddLabel: "添加规则",
1496
+ roleReviewer: "代码审查员 (Reviewer · review*)",
1497
+ roleCoder: "实现工程师 (Coder · code*)",
1498
+ roleTester: "测试与质量 (Tester · test*)",
1499
+ roleScout: "探索调研员 (Scout/Research · scout*)",
1500
+ roleArchitect: "架构规划师 (Architect · design*)",
1501
+ roleDoc: "文档撰写员 (Documentation · doc*)",
1502
+ roleCustom: "自定义角色模式…",
1503
+ modelCustom: "自定义模型 ID…",
1504
+ effortDefault: "默认思考档位",
1505
+ effortLow: "低思考 (low) · 快速响应",
1506
+ effortMedium: "中思考 (medium) · 推荐平衡",
1507
+ effortHigh: "高思考 (high) · 深度推导",
1508
+ effortMax: "极致思考 (max) · 超强推理"
1477
1509
  },
1478
1510
  en: {
1479
1511
  title: "ChatGPT",
@@ -1604,7 +1636,39 @@ window.__ModuleLoader__.load({
1604
1636
  imagePreviewClose: "Close",
1605
1637
  imagePreviewOpenOriginal: "Open original",
1606
1638
  retry: "Retry",
1607
- unknown: "Unknown"
1639
+ unknown: "Unknown",
1640
+ teamModelRulesTitle: "Agent Teams Hybrid Model Rules",
1641
+ teamModelRulesHint: "In Agent Teams mode, automatically route teammates to specialized models by matching role or name patterns (e.g. reviewer*, code*, scout). Unmatched teammates fall back to the default subagent model.",
1642
+ teamRulePattern: "Pattern / Role",
1643
+ teamRulePatternPlaceholder: "Enter wildcard, e.g. reviewer* or audit",
1644
+ teamRuleModel: "Target Model",
1645
+ teamRuleModelPlaceholder: "Enter model ID, e.g. custom:model-id",
1646
+ teamRuleEffort: "Reasoning Effort",
1647
+ teamRuleAdd: "Add Team Rule",
1648
+ teamRuleDelete: "Delete",
1649
+ teamRuleEmpty: "No team rules configured. All teammates will inherit the default subagent model.",
1650
+ teamRuleQuickPresets: "Team Presets",
1651
+ teamRuleQuickPresetsHint: "One-click presets with recommended models and reasoning efforts.",
1652
+ presetReviewer: "Code Reviewer (review* -> 6 Astra)",
1653
+ presetCoder: "Implementer (code* -> 5.6 Sol)",
1654
+ presetFast: "Fast Assistant (scout/test* -> DeepSeek V41 Flash)",
1655
+ presetReviewerShort: "Reviewer",
1656
+ presetCoderShort: "Coder",
1657
+ presetFastShort: "Fast Scout",
1658
+ teamRuleAddLabel: "Add Rule",
1659
+ roleReviewer: "Code Reviewer (Reviewer · review*)",
1660
+ roleCoder: "Implementer (Coder · code*)",
1661
+ roleTester: "Tester & QA (Tester · test*)",
1662
+ roleScout: "Researcher (Scout/Research · scout*)",
1663
+ roleArchitect: "Architect (Architect · design*)",
1664
+ roleDoc: "Tech Writer (Documentation · doc*)",
1665
+ roleCustom: "Custom Role Pattern…",
1666
+ modelCustom: "Custom Model ID…",
1667
+ effortDefault: "Default Reasoning Effort",
1668
+ effortLow: "Low Effort (low) · Fast",
1669
+ effortMedium: "Medium Effort (medium) · Balanced",
1670
+ effortHigh: "High Effort (high) · Deep Reason",
1671
+ effortMax: "Max Effort (max) · Complex Tasks"
1608
1672
  }
1609
1673
  };
1610
1674
  //#endregion
@@ -1712,7 +1776,7 @@ window.__ModuleLoader__.load({
1712
1776
  .dsh-codex-image-preview{background:var(--dsw-alias-bg-layer-2);border:0.5px solid var(--dsw-alias-border-l2);border-radius:8px;display:block;max-height:260px;max-width:min(100%,360px);object-fit:contain}
1713
1777
  .dsh-codex-image-loading,.dsh-codex-image-failed{border:0.5px dashed var(--dsw-alias-border-l2);border-radius:8px;color:var(--dsw-alias-label-tertiary);display:inline-flex;font-size:12px;line-height:1.4;padding:18px 20px}
1714
1778
  .dsh-codex-image-failed{color:var(--dsw-alias-label-danger,#d94b4b)}
1715
- @keyframes dsh-codex-pulse{0%,100%{opacity:.55}50%{opacity:1}}
1779
+ @keyframes dsh-codex-pulse{0%,100%{opacity:.45}50%{opacity:.85}}
1716
1780
  @media(max-width:560px){.dsh-codex-row,.dsh-codex-pref-row,.dsh-codex-quota-fact,.dsh-codex-reset-credits{align-items:flex-start;flex-direction:column;gap:3px}.dsh-codex-value,.dsh-codex-quota-fact strong{text-align:left}.dsh-codex-actions{justify-content:flex-start}.dsh-codex-grouphead{align-items:flex-start;flex-direction:column;gap:0;padding:12px 0}.dsh-codex-meter-meta{align-items:flex-start;flex-direction:column;gap:2px}.dsh-codex-errorbar{align-items:flex-start;flex-direction:column}.dsh-codex-segments{width:100%}.dsh-codex-select{max-width:none;width:100%}.dsh-codex-context-row{align-items:flex-start;flex-direction:column;gap:5px}.dsh-codex-segments label{flex:1}.dsh-codex-segments span{text-align:center}.dsh-codex-image-tool{max-width:100%;margin-left:0}}
1717
1781
  @media(prefers-reduced-motion:reduce){.dsh-codex-meter>span{transition:none}.dsh-codex-skeleton span{animation:none}}
1718
1782
  `;
@@ -2704,7 +2768,7 @@ window.__ModuleLoader__.load({
2704
2768
  <button type="button" class="dsh-mermaid-modal-btn" data-action="zoom-out" title="缩小">− 缩小</button>
2705
2769
  <button type="button" class="dsh-mermaid-modal-btn" data-action="zoom-in" title="放大">+ 放大</button>
2706
2770
  <button type="button" class="dsh-mermaid-modal-btn" data-action="reset" title="重置">⟳ 重置</button>
2707
- <button type="button" class="dsh-mermaid-modal-btn" data-action="close" title="关闭">✕ 关闭</button>
2771
+ <button type="button" class="dsh-mermaid-modal-btn" data-action="close" title="关闭">关闭</button>
2708
2772
  </div>
2709
2773
  <div class="dsh-mermaid-modal-stage">
2710
2774
  <div class="dsh-mermaid-zoom-container">${svgHtml}</div>