kelemiao/dsh-api

kelemiao★ 1JavaScript最后同步: 2026-08-16

在 GitHub 打开

Local HTTP API for DeepSeek Harness: let other agents control DSH sessions through official ApiProxy routes.

README 摘要

dsh-api Local HTTP API for DeepSeek Harness (DSH). Other AI agents use it to control DSH through plain HTTP instead of the GUI. Milestone one covers session control: list and create sessions, read history, send prompts, stream replies, and cancel turns. Everything else remains available through the raw /api/ passthrough. Install Install the plugin into a DSH web profile: Enable it in the profile cordis patch: Settings live in the GUI Settings page under dsh-api and apply immediately. Settings Field Type Default Notes enabled bool true server on/off port int 4777 1-65535, loopback only token secret generated on first run fixed bearer token Endpoints Method Path Purpose GET /health Public health check. GET /api/sessions List sessions: { items: SessionSummary[] } . POST /api/sessions Create session; body { cwd?, workspaceId?, agentPreset? } . GET /api/sessions/:id/history Read history; query beforeSeq? , maxMessages? . POST /api/sessions/:id/prompt Send prompt; body { content, mode? } . POST /api/sessions/:id/cancel Cancel the running turn. GET /api/sessions/:id/stream SSE stream filtered to this session. POST /api/ Raw official ApiProxy JSON RPC passthrough. GET /api/events.mux Raw o…

在 GitHub 查看完整 README →
Agent/智能体agentai-agentsapideepseek-harnessdshdsh-pluginsse

分类