JohnXu22786/dsh-web-submit

JohnXu22786★ 2JavaScript最后同步: 2026-08-24

在 GitHub 打开

DeepSeek Harness plugin: run headless-style tasks through the live dsh web process — CLI-invoked sessions appear in the Web UI in real time (POST /x/headless, GET status, SSE live events).

README 摘要

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 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) While it runs, open the Web UI: the session is visible in real time, exactly as if you had …

在 GitHub 查看完整 README →
终端/TUIbridgecordisdeepseek-harnessdsh-pluginheadlesspluginwebweb ui

分类