Skip to content

HRouter Desktop v0.4.2

Latest

Choose a tag to compare

@github-actions github-actions released this 09 Oct 03:08

HRouter Desktop v0.4.2

修复 HRouter Key 快速配置中 Claude Desktop 模型映射不透明、默认推荐旧版本的问题。

  • 模型绑定界面分别展示「客户端模型 ID」「上游模型 ID」「菜单显示名」,支持添加、删除和手动修改映射。
  • 兼容的 Claude 模型默认使用同名客户端 ID,不再把新版 Haiku 隐藏映射为 Haiku 4.5,或把旧版 Opus 套用为 Opus 5。
  • 从当前 Key 实际返回的模型列表按版本号推荐 Sonnet / Opus / Haiku,不再取接口列表中第一个匹配项;不会后台自动升级已保存的选择。
  • 客户端 ID 与上游不一致时显示提醒,并提供「使用同名客户端 ID」入口,保留上游模型、显示名和上下文声明。
  • 打开编辑和重新导入列表均保留手动映射;主动点击「按已导入列表重新推荐」才会替换编辑器中的映射,保存后生效。
  • 默认模型未包含在旧映射中时明确提醒补齐或重新选择,不静默替换;保存前检查空值、客户端 ID 格式和重复 ID。
  • 增加推荐排序、编辑与保存、默认模型、配置写入和请求转发回归测试。

注意:同名映射修复的是 HRouter 配置错配,不保证每个模型均提供五档思考强度。思考菜单仍取决于已安装的 Claude Desktop 对模型 ID 的识别及上游能力。已有用户可进入 HRouter 供应商编辑页,检查映射后保存并应用,再重启 Claude Desktop。

安装包目标:Windows x64(EXE)和 macOS Apple Silicon(M 系列,DMG;不支持 Intel Mac)。发布流程检查双平台构建、macOS Developer ID 签名与 Apple 公证,以及自动更新清单和签名后才公开版本。

English:

  • Exposes editable Claude Desktop client IDs, upstream IDs and display labels in HRouter Key setup, with route creation/removal and explicit mismatch warnings.
  • Preserves compatible Claude IDs by default instead of silently assigning older Haiku or newer Opus identities to a different upstream model.
  • Recommends the highest numeric version available to the key, independent of API ordering, without automatically upgrading saved selections.
  • Preserves manual mappings, display labels and context flags across editing/import; offers explicit same-ID repair and recommendation reset actions.
  • Detects missing default-model routes, rejects blank/invalid/duplicate IDs, and adds frontend/backend regression tests for exact-ID configuration and request handling.
  • Matching IDs do not guarantee a particular thinking-effort menu; support still depends on the installed Claude Desktop client and upstream model capabilities.
  • Targets Windows x64 and signed/notarized macOS Apple Silicon packages. Publication is gated on CI, platform builds and updater validation.