dsh-supervision
Cordis plugin: bridge a running DeepSeek Harness web session to any terminal supervisor that reads OSC 7501
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add dsh-supervision說明文件
閱讀完整 README ↗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.
| Key | Default | What it does |
|---|---|---|
enabled | true | Mount anything at all. false is a hard off switch: no socket, no routes, no banner. |
programStatus | true | Emit OSC 7501 reports. Off leaves the socket answering list only. |
echo | true | Mirror 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/supervision | Registry and socket directory. |
Environment variables it reads:
| Variable | Read by | Effect |
|---|---|---|
DSH_HOME | plugin and dsh-sup | Registry directory base; defaults to ~/.dsh. |
DSH_SUP_TERMINAL_ID | plugin | Non-empty ⇒ an additional in-process tty transport; the control socket and registry stay open. |
DSH_SUP_TERMINAL_NAME | plugin | The supervisor label the state route reports; defaults to dsh-sup. |
HC_TERMINAL_ID | plugin | herdr-core compatibility: the same transport, read only when DSH_SUP_TERMINAL_ID is unset or empty. |
HC_TERMINAL_NAME | plugin | herdr-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.