WZZNNE/DSH-CyberWorkStation--plugins-dsh-control-deck ↗★ 23
dsh-control-deck
提供系统提示词、正则脚本和世界设定集的控制台 适合需要对模型输入、采样参数及世界观设定进行深度微调的高级用户。
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:WZZNNE/DSH-CyberWorkStation#54855352ddc1a46f62c26ebb8ba6e9e2a4f07875&path:plugins/dsh-control-deck說明文件
閱讀完整 README ↗dsh-control-deck
SillyTavern-grade control deck for DeepSeek Harness: leveled system-prompt entries (roles, intervals,
macros), regex scripts (user input, world info, display-only assistant output), World Info lorebooks with the
full field set, sampling overrides, per-preset tool switches, presets, and SillyTavern JSON import / export.
Everything goes through documented extension points (systemPrompt.section, agent/pre-step,
agent/request, tools/pre-execute, webServer.register); no core behaviour is patched. The usage follows
SillyTavern; none of its code is used.
Install
dsh plugin --profile web add dsh-control-deck
Restart dsh afterwards. As part of DSH CyberWorkStation the plugin is registered by setup.cmd from the repository checkout instead.
The editor for the deck (prompts, regex, World Info, sampling, tool switches, presets) is the DSH Launcher's Control Deck page. Without the launcher the plugin still runs everything in ~/.dsh/control-deck.json (the same JSON the launcher exports and imports; top-level keys: disabledTools, lorebook, presetName, prompts, regex, sampling, scanDepth, settings; every key is optional and normalised on load, so an object with just prompts is a valid deck) and reloads it live.
Where it shows up
- Launcher → 控制甲板 / Control Deck: the editor for prompts, regex, lorebook, sampling, tools and presets.
Saving writes
~/.dsh/control-deck.json; the plugin hot-reloads it within 1.5 s. - Launcher → Skills: the
control-deck-authoringskill (installed into~/.dsh/skills) teaches a model to write deck entries. - Presets live in
~/.dsh/control-deck-presets/.json; the launcher switches, saves and deletes them.
Routes (dsh web port, loopback only)
| Route | Purpose |
|---|---|
GET /dsh-control-deck/status | Loaded preset, counts, load errors, skipped work |
GET /dsh-control-deck/display-regex.json | The display-only regex rules the browser half applies |
Reads are GET-only and refuse a foreign Host (DNS rebinding) through dsh-cyberworkstation-kit/fence.
Files
lib/index.jshost half (injection, regex, lorebook scoring, tool switches, routes)lib/client.jsbrowser half (display-only regex on rendered messages)lib/deck.js,lib/deck-runner.js,lib/deck-worker.js,lib/st-format.js,lib/history.jspure modules: config normalisation, macro expansion, the regex worker (a backtracking pattern is killed, not the host), SillyTavern conversions, session history reads
Reasoning effort stays out of the deck: the core model picker owns it (dsh-local-reasoning teaches local
models the levels).