btspoony/dsh-supervision ↗★ 2

dsh-supervision

Cordis plugin: bridge a running DeepSeek Harness web session to any terminal supervisor that reads OSC 7501

包名
dsh-supervision
兼容性
待验证
Harness 依赖范围
^0.2.2-rc.1
版本
0.1.0-alpha.1
许可证
MIT
最近更新
2026年11月12日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-supervision

Configuration

Six keys, all of them read by src/index.ts; an unknown shape is refused with a field-level issue instead of half-applying.

KeyDefaultWhat it does
enabledtrueMount anything at all. false is a hard off switch: no socket, no routes, no banner.
programStatustrueEmit OSC 7501 reports. Off leaves the socket answering list only.
echotrueMirror state changes and approval decisions as echo lines for the supervisor.
app"dsh"The program word every report restates.
titleFrom"cwd-basename"Where the root title comes from: cwd-basename, session-title, or none.
socketDir$DSH_HOME/supervisionRegistry and socket directory.

Environment variables it reads:

VariableRead byEffect
DSH_HOMEplugin and dsh-supRegistry directory base; defaults to ~/.dsh.
DSH_SUP_TERMINAL_IDpluginNon-empty ⇒ an additional in-process tty transport; the control socket and registry stay open.
DSH_SUP_TERMINAL_NAMEpluginThe supervisor label the state route reports; defaults to dsh-sup.
HC_TERMINAL_IDpluginherdr-core compatibility: the same transport, read only when DSH_SUP_TERMINAL_ID is unset or empty.
HC_TERMINAL_NAMEpluginherdr-core compatibility: the label, read only when DSH_SUP_TERMINAL_NAME is unset or empty.

Both DSH_SUP_* variables and their HC_* fallbacks are read, never written, by this package.