rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:KasenRi/ds-bot-addmode
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A companion plugin for DS Bot on DeepSeek Harness (DSH). It lets you pick a DSH mode (agent preset: Standard, PTC, Minimal, Creator, or your own custom presets) for each Bot. DS Bot by itself only lets you pick a model.
It is a separate plugin, so DS Bot updates do not remove it, and it does not change any file of DS Bot or DSH.
Unofficial. Not affiliated with DS Bot or DeepSeek.
run_code, which refuses the group relay call.| Version | |
|---|---|
DSH (@deepseek-ai/dsh) |
>= 0.2.2-rc.1 |
DS Bot (ds-bot) |
>= 0.3.2 |
Tested with dsh 0.2.2-rc.1 and ds-bot 0.3.2 in DSH Web. The ranges are open: a later DS Bot release that changes its page structure can stop the picker from showing. The plugin then does nothing; DS Bot keeps working.
The example uses the web profile (what dsh web runs). Profiles live in <DSH_HOME>/profiles/<name>; DSH_HOME defaults to ~/.dsh.
Get the plugin:
git clone https://github.com/KasenRi/ds-bot-addmode.git ~/dsh-plugins/ds-bot-addmode
In ~/.dsh/profiles/web/package.json, add the dependency (an absolute path) and put the bundle right after ds-bot:
{
"dependencies": {
"ds-bot": "0.3.2",
"ds-bot-addmode": "link:/home/you/dsh-plugins/ds-bot-addmode"
},
"dsh": {
"profile": {
"bundles": [
"@deepseek-ai/dsh-base",
"@deepseek-ai/dsh-web-app",
"ds-bot",
"ds-bot-addmode"
]
}
}
}
Link it and restart DSH:
cd ~/.dsh/profiles/web
pnpm install --lockfile-only # optional: check that the lockfile diff only adds ds-bot-addmode
pnpm install
Then restart dsh web (or your DSH service).
The plugin has no dependencies of its own, so nothing is downloaded for it.
Remove the dependency and the bundle entry from the profile's package.json, run pnpm install there, and restart DSH. The saved modes are in <DSH_HOME>/bot-addmode/; delete that folder if you do not need them.
<DSH_HOME>/bot-addmode/modes.json, by Bot id (only Bots not on Standard). DS Bot's own <DSH_HOME>/bot/state.json is only read, never written.sessionController.create and sessionTitle.rename services for calls that come from the ds-bot plugin only (cordis tracks the caller's context), and at that point calls DSH's agentPresets.select() on the still blank Session. Calls from any other plugin or from your own DSH Sessions pass straight through. The wrappers are removed when the plugin is unloaded.Bot · Group for a group member Session. A new Bot is matched with the mode its Create form sent just before.POST /api/bot-addmode, which uses DSH's normal browser-session authentication, like DS Bot's own /api/bot.create_bot tool starts on Standard; set its mode afterwards in its settings. (The plugin cannot add a parameter to DS Bot's tools.)<name> copy form..bt-create-card, .bt-bs, .bt-drawer-body) and on the titles DS Bot gives its Sessions. These are the parts most likely to need a fix after a DS Bot update.npm run build # src/client/index.js → client.js
npm run check # client.js matches src/client/index.js
npm test # unit tests (node:test)
client.js is generated; change src/client/ and rebuild.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。