ZhenMoon/dsh-http

ZhenMoon★ 0JavaScriptLast synced: 2026-08-16

Open on GitHub

Generic HTTP/API client plugin for DeepSeek Harness (DSH): one http_request tool for any method, headers, JSON/text bodies, redirects, timeouts and truncation, over a zero-dependency Node fetch driver

README excerpt

dsh-http A generic HTTP/API client plugin for DeepSeek Harness (DSH), built as a dynamic Cordis plugin. It gives the agent one http request model tool for arbitrary HTTP calls — any method, custom headers, JSON or text bodies, timeouts, redirect policies, and response truncation. No npm dependencies. Requests run in a tiny subprocess driver that uses Node's built-in fetch (Node ≥ 22), speaking a JSON-lines protocol on stdio. What it does Piece Where Role http-driver.mjs spawned subprocess One request at a time over Node's global fetch ; returns status, headers, body, byte count, elapsed time Host half ( host-half.js ) DSH host process Spawns/restarts the driver, registers the http request tool Requirements - DeepSeek Harness with the dynamic-Cordis extension (the cordis define / cordis run tools) - Node.js ≥ 22 (global fetch ) Install 1. Place this repo somewhere on the machine, e.g. C:\dsh-http . 2. In host-half.js , set the DRIVER constant to the absolute path of http-driver.mjs on your machine: 3. In your DSH session, define the plugin — paste the entire content of host-half.js into code.host (there is no Client half, so code.client is omitted and no approval is needed): 4. Smok…

View full README on GitHub →
Terminal / TUIai-agentscordisdshdsh-pluginhttp-clientagent

Category