rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:DamonKoy/dsh-bot-model-switch
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 中文
Switch the model of every Bot in a DS Bot team at once, or set each Bot individually, from one card in the plugin settings page.
Built for DS Bot — a team of long-lived Bots on DeepSeek Harness. When a team grows past a handful of Bots, changing each one's model through its own settings card stops being a chore and starts being a source of drift: half the team on the old model, half on the new, nobody sure which. This plugin turns that into one decision.
localStorage under dsh-model-switch.undo.v1. Undo verifies each Bot still holds the value the run wrote, and skips the ones somebody changed in the meantime instead of overwriting them.This plugin needs a DS Bot host. It talks to POST api/bot, the endpoint DS Bot adds on top of DeepSeek Harness for its team view. A plain dsh web profile does not serve that route, so the card will load but every read fails with unauthorized and no model list appears.
That is also why the host half (lib/index.js) is deliberately empty. All writes go through the host's own update-bot endpoint, so the running Bot engine stays the single writer of its state. A plugin that wrote state.json directly would race the engine and lose somebody's message — this plugin does not do that.
With DS Bot's plugin manager, add:
dsh-bot-model-switch
Or from a terminal, in the profile DS Bot actually uses:
dsh plugin --profile <profile> add dsh-bot-model-switch
From the GitHub source instead:
dsh plugin --profile <profile> add github:DamonKoy/dsh-bot-model-switch
Restart DS Bot once so the bundle patch is picked up. The card then appears in the plugin settings page under Batch switch model.
Every change is one POST api/bot request with { endpoint: "update-bot", payload: { id, model } }. Models are read from the same state endpoint the app itself uses.
local-*/…) that would cross the model↔CLI line is skipped, not forced: the host requires an explicit changeEngine confirmation for that, and that confirmation belongs to the Bot's own settings, not to a batch button.needsKey) is filtered out of the picker rather than offered and then rejected.state.json, the session store, or any credential.api/bot on the same origin.There is an unrelated dsh-model-switch by another author, listed in the DSH directory. That one routes models per role inside a single Harness session. This one changes the model of each Bot in a DS Bot team. Different packages, different authors, different scope — install whichever matches what you are running.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。