dsh-web-submit
Manifest validRuns headless-style tasks through the live dsh web process (POST /x/headless + GET status + SSE events) so CLI-invoked sessions appear in the Web UI in real time.
dsh-web-submit
DeepSeek Harness plugin that lets you drive the running dsh web instance
from the command line — the task executes inside the web process, so the Web
UI shows it live (same sessions store, same event stream), and permission /
approval questions appear in the Web UI.
No separate headless process, no webhook glue: one plugin, three endpoints.
Endpoints
| Method | Path | Description |
|---|---|---|
| POST | /x/headless | {"task": "...", "cwd": "...", "preset": "standard", "mode": "queue"} → {"ok": true, "sessionId": "session-..."} |
| GET | /x/headless/status?sessionId=... | Latest session events (non-streaming poll) |
| GET | /x/headless/events?sessionId=... | SSE live event stream; ends after turn/end |
Loopback requests only (127.0.0.1 / localhost), same trust posture as the
built-in /api surface. The plugin reuses the in-process ApiProxyService,
so it stays identical to the UI's own session/prompt path.
Install
dsh plugin --profile web add file:C:/dsh-web-submit
The bundle patch rule (cordis.patch.yml) is applied automatically by dsh plugin add, so no manual edit to the host profile is needed.
Restart dsh web (~/.dsh/start-web.cmd) to load the plugin.
Example (CLI)
# submit a task
curl -s -X POST http://127.0.0.1:3080/x/headless \
-H 'content-type: application/json' \
-d '{"task":"Summarize the README","cwd":"C:/my/project","preset":"coding"}'
# tail it live
curl -sN "http://127.0.0.1:3080/x/headless/events?sessionId=session-xxx"
While it runs, open the Web UI: the session is visible in real time, exactly as if you had typed the task there.
Config
| Key | Default | Meaning |
|---|---|---|
| routePrefix | /x | Route prefix for all endpoints |
| maxBodyBytes | 1048576 | Max request body size |
License
MIT
Similar plugins
by qwert702
Commander mode for the dsh web GUI: a one-click session header button injects a protocol brief into the session, then parses and auto-executes task blocks in the model reply — separating the strategis
★ 3
↓ 50/wk
JavaScript
Sep 5, 2026
dsh plugin --profile web add dsh-commanderRecords real clicks, inputs, navigation and network traffic in a user-guided browser session for DSH, then generates a Markdown timeline report (report.md + events.jsonl) to build API-level skills.
★ 0
↓ 381/wk
dsh plugin --profile web add dsh-web-recorderCron/one-shot scheduled tasks: run shell commands or fire webhooks on a schedule, with optional ServerChan/DingTalk/Feishu/webhook delivery of results.
★ 0
dsh plugin --profile web add dsh-schedulerA Codex-style right side panel for the DSH Web UI — session artifacts browser (live file tree, scan include, preview, reveal) plus a side chat that forks the current session with a model picker, human
★ 0
dsh plugin --profile web add dsh-sidepanelby Pudge1996
Live session status on the browser tab favicon with sound notifications for pending input and completed tasks.
★ 0
MIT
JavaScript
Sep 1, 2026
dsh plugin --profile web add dsh-task-feedbackAdds a deepseek-web provider that uses chat.deepseek.com web models in DSH, with browser login capture, PoW request signing, SSE streaming, and prompting-based tool calls.
★ 0
dsh plugin --profile web add dsh-deepseek-web-login