dsh-plugin-message-model-badge
Manifest validSee which provider and model produced a reply, in the message's own action row.
dsh-plugin-message-model-badge
See which provider and model produced a reply — deepseek-official/deepseek-flash, bailian/qwen3.5-27b — in the message's own action row. It matters once a Session talks to more than one model, and in subagent Sessions, which run on their own model.
消息旁显示产出它的 provider/model
中文说明(点开)
消息的操作行里(复制、👍👎 那一排)多出一段次要文字,写明这条回复是哪个 provider 的哪个 model 产出的。主会话和子代理会话都有效——子代理跑在自己的会话里,用它自己的模型。
两点需要知道:
- 一个回合只显示一处:DSH 只在回合收尾的那条助手消息上渲染操作行,所以一个回合里的多条助手消息只有最后一条被标注。
- 只标不猜:多模型会话里,早于最近 300 条的消息不显示标识,而不是标成最新的模型;单模型会话不受影响,全部正确。
这是个纯界面插件:Host 侧只注册一个 session projection,把日志里本来就有的 message.source 递给浏览器,不写文件、不加事件类型、不改任何其他插件的数据。客户端不自己折叠会话事件——这是 DSH 的规矩。
Install
github:kjx-talesofai/dsh-plugin-message-model-badge#v0.1.1
dsh plugin --profile desktop add github:kjx-talesofai/dsh-plugin-message-model-badge#v0.1.1
Then restart the desktop app. A local checkout works too, with an absolute path. Upgrading is uninstall-then-install.
Requires DSH Desktop ≥ 0.2.0-rc.1 and < 0.3.0.
Development
npm test # node:test — no install needed, and nothing to build
The suite drives the projection fold directly and the browser half through the loader shape it ships in. It does not cover the harness end — that the projection arrives in a real browser, or how the label looks in the row. That was confirmed by hand on macOS (Apple Silicon) · DSH Desktop 0.2.0-rc.2: bailian/qwen3.5-27b in a subagent Session, deepseek-official/deepseek-flash in a normal one. On 0.2.1-rc.2 the action-row seat is still taken by the badge.
License
MIT © 2026 Jiaxin Kou
Built by Jiaxin Kou · GitHub
Comments
Loading…
Similar plugins
by marshfolx
add a badge to show your seleted model provider
★ 0
MIT
JavaScript
Aug 18, 2026
dsh plugin --profile web add dsh-provider-badgeby huihuangdi
Shows the provider behind a session's current model as a compact badge in the DSH Web composer tool row.
★ 0
MIT
JavaScript
Oct 14, 2026
dsh plugin --profile web add dsh-model-provider-badgeby QuanhuZeYu
DSH web plugin: show the model name the upstream actually returned, under every assistant step
★ 0
MIT
TypeScript
Sep 22, 2026
dsh plugin --profile web add dsh-upstream-model-auditby cKNKSnd
DeepSeek Harnes 输入框当前模型提供商名称
★ 0
MIT
JavaScript
Aug 19, 2026
dsh plugin --profile web add dsh-model-provider-badgeby kjx-talesofai
Draws mermaid code blocks in DSH replies as diagrams, including while the reply is still streaming.
★ 0
MIT
JavaScript
Oct 18, 2026
dsh plugin --profile web add dsh-plugin-mermaidby HeathHe
Adds a search box to the DeepSeek Harness Web GUI model switcher — filter by model name, ID, or provider instantly while preserving every official interaction.
★ 0
MIT
JavaScript
Aug 20, 2026
dsh plugin --profile web add dsh-model-search