Skip to content

v3.2.0

Choose a tag to compare

@sj719045032 sj719045032 released this 03 May 06:53

What's New

GLM Coding Plan integration

  • Full Usage tab parity with Claude: 5h / 7d trend chart, "exhausts in …" badge, Tokens & Models card with cost figures.
  • 19 GLM models seeded with USD per-1M-token rates so cost rendering lights up for sessions tagged glm-4.6, glm-4.5-air, etc.
  • Quota window titles aligned with Claude's wording (5 Hour / 7 Day / 30 Day); dashboard links now point at the coding-plan-specific pages on bigmodel.cn and z.ai.
  • Compact quota row layout — same typography rhythm as Claude's 5h/7d windows, no more chunky cards.

Terminal identity

  • Terminal detection (Kitty / WezTerm / iTerm / Ghostty / …) is now entirely plugin-driven. Adding a new terminal is a plugin-only change; the host no longer hardcodes env-var checks.

Plugin Discover / Settings

  • Each plugin row shows a finer subcategory label ("App", "Editor", "Provider", …) instead of collapsing under one "Integrations" bucket.
  • Reorganized Settings → Plugins UI with cleaner enable/disable affordances and an immediate-reset option for trust prompts.

Under the hood

  • New LinearExhaustEstimator shared utility — Claude's 5h + 7d-fallback and the new GLM windows now run a single algorithm with matching ≥10% / ≥1d thresholds.
  • SDK bumped to v0.3.0 with additive surface (SubscriptionExtensionPlugin.builtinPricingModels, SubscriptionInfo.localTrendWindows, SubscriptionQuotaWindow.windowDuration, ProviderUsageTrendPresentation.subscriptionQuotaID, TerminalEnvIdentification, TerminalContextEnriching). Existing 0.2.0 plugins continue to work.

中文

GLM Coding Plan 集成

  • Usage 页全面对齐 Claude:5h / 7d 趋势图、"还剩 …" 倒计时、Tokens & Models 卡片含成本估算。
  • 预置 19 个 GLM 模型的 USD 单价(来自 Z.ai 官方),glm-4.6 / glm-4.5-air 等会话自动出成本数字。
  • 配额窗口标题与 Claude 风格对齐("5 小时 / 7 天 / 30 天"),dashboard 链接跳转到 bigmodel.cn / z.ai 的 coding-plan 专属页。
  • 紧凑配额行排版——与 Claude 的 5h/7d 行同款字体节奏,去掉厚卡片样式。

终端识别

  • 终端检测(Kitty / WezTerm / iTerm / Ghostty 等)改为完全由插件驱动。新增终端只需插件侧改动,host 不再硬编码 env 检查。

插件 Discover / 设置

  • 每个插件行显示更细的子类别标签("App"、"Editor"、"Provider" 等),不再统一塞进 "Integrations" 桶。
  • 设置 → 插件 UI 重组:更清晰的启用/禁用控件,新增"立即重置信任"快捷项。

引擎改进

  • 新增共享 LinearExhaustEstimator 工具——Claude 5h + 7d 兜底路径和新 GLM 窗口走同一个算法,门槛一致(≥10% / ≥1d)。
  • SDK 升到 v0.3.0,新增字段全部加法(SubscriptionExtensionPlugin.builtinPricingModelsSubscriptionInfo.localTrendWindowsSubscriptionQuotaWindow.windowDurationProviderUsageTrendPresentation.subscriptionQuotaIDTerminalEnvIdentificationTerminalContextEnriching)。已有 0.2.0 插件无需改动继续可用。