Skip to content

Releases: HelloQingTao/dsh-model-fallback-queue

v0.2.6

Choose a tag to compare

@github-actions github-actions released this 24 Oct 11:04

What's Changed

  • Performance — removed the constant breathing animation from the status dot, reducing GPU usage. The dot now stays lit statically; color semantics unchanged.
  • Interaction — hovering the icon now shows a status-colored halo.

变更

  • 性能优化 — 移除状态点常驻呼吸动画,降低 GPU 占用;圆点改为常亮静止,颜色语义不变。
  • 交互 — 图标悬停时显示状态色光环。

v0.2.5 — 界面中英双语

Choose a tag to compare

@HelloQingTao HelloQingTao released this 18 Oct 12:05

界面中英双语 + 修复「取不到模型名」

  • 界面所有文案(P 芯片、弹层、设置页、按钮提示、读屏 aria-label)改为中英两套,跟随 DSH 的语言设置自动切换。
  • 修复:模型没有推理等级时(模型选择按钮的 title 就是纯模型名),插件找不到该按钮,P1 行会显示占位「当前会话模型」而不是真实模型名。现在中英两种语言下都能正确取到。
  • README 补充双语说明。

UI strings now ship in both Chinese and English and follow the DSH language setting; also fixed the session-model name lookup when the model has no reasoning-effort label.

npm i dsh-model-fallback-queue@0.2.5

v0.2.4

Choose a tag to compare

@HelloQingTao HelloQingTao released this 18 Oct 12:05

核心重构:P1 槽与队列索引解耦(P1 = -1),修编号错乱与切换不生效。根因是一个下标同时表示「P1 跟随」和「队列第 1 项」:P1 失败会烧掉 P2 的熔断器,失败路由恰在队列内时又绕回 0 原地重试。

本版还包含以下累积修复(0.2.3 之后):

  • 修复 agent/request 裸调 setInFlight 导致每次发消息必失败
  • 失败按来源分层判定,兜底码不再无条件熔断
  • 芯片/弹层按当前会话显示实际路由;per-session inFlightIndex
  • 切换游标按会话隔离 + 会话销毁清理
  • P1 实时跟随手动切模型;切回按钮判据修正
  • 半开路由主动探测;熔断行 ⓘ 悬浮显示原因与预计恢复时间
  • 切换后指示器延迟一轮才更新、P1 会话模型被熔断回写污染
  • 路由预检:启动时与适配器拓扑变化时核对队列 provider 是否存在
  • 修 ctx.on 参数错位导致 hook.callback.bind 报错、熔断从未生效

npm i dsh-model-fallback-queue@0.2.4

v0.2.3

Choose a tag to compare

@HelloQingTao HelloQingTao released this 18 Oct 12:05

故障转移修复:修 P1 跟随模式下「切换不触发 / 归属误判 / next 二次调用清空路由」三个问题。

npm i dsh-model-fallback-queue@0.2.3

v0.2.2

Choose a tag to compare

@HelloQingTao HelloQingTao released this 18 Oct 12:05

依赖声明修正:peer 依赖全部改为范围声明,避免 dsh 版本稍变就被跳过加载。

npm i dsh-model-fallback-queue@0.2.2

v0.2.1

Choose a tag to compare

@HelloQingTao HelloQingTao released this 18 Oct 12:05

兼容性修复:适配 dsh 0.2.1-rc.2(整包被 skip 的根因 + 三处行为修正)。

npm i dsh-model-fallback-queue@0.2.1

v0.2.0

Choose a tag to compare

@HelloQingTao HelloQingTao released this 17 Oct 07:39

变更

队列从 settings 迁到独立文件,修复深色模式下点击箭头时的整页白闪。

根因:DSH 的 ui-theme 只要检测到 settings 文档写入,就会重推一次主题快照,前端随之把整页 design token 逐个移除再写回,深色下闪一帧白。队列排序是高频操作,每点一次箭头闪一次。

修法:队列改存 ~\.dsh/fallback-queue-state.json(原子写),完全不碰 settings revision。settings 里只剩 7 个全局配置。

升级说明

首次启动会自动把 settings 里的旧队列迁移到新文件,已有配置不会丢。这个文件是插件私有数据,不在设置页配置导出/备份范围内。

其他修复

  • 首尾行的上下箭头置灰,不再可点
  • 队列行 key 去掉索引,避免 React 卸载重建
  • 面板背景去掉 #fff 硬兜底

Install

dsh plugin --profile <name> add dsh-model-fallback-queue