toddpan/dsh-webapi ↗★ 0

@dsh-external/dsh-web-service

Expose DSH over HTTP: 47 REST + SSE routes for workspaces, sessions (streaming, history, stats, todos, cancel), models, settings, skills and files, plus an OpenAI-compatible /chat/completions. · 把 DSH 的能力开放成 REST + SSE 接口与 OpenAI 兼容端点,供三方控制台、客户端与 Agent 集成。 适合需要将DSH集成至第三方控制台、客户端或外部Agent的开发者。

Package
@dsh-external/dsh-web-service
Compatibility
Unverified
Harness peer range
>=0.1.0-0 <0.1.1-0 || >=0.1.1-0 <0.1.2-0 || >=0.1.2-0 <0.1.3-0 || >=0.1.3-0 <0.1.4-0 || >=0.1.4-0 <0.1.5-0 || >=0.1.5-0 <0.1.6-0 || >=0.1.6-0 <0.1.7-0 || >=0.1.7-0 <0.1.8-0 || >=0.1.8-0 <0.1.9-0 || >=0.1.9-0 <0.1.10-0
Cordis peer range
^4.0.4
Version
0.1.11
License
BSD-3-Clause
Last updated
Sep 25, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:toddpan/dsh-webapi

Configuration

All fields are optional; they live in the plugin row's config in your profile patch (defaults in src/index.ts):

FieldDefaultMeaning
pathPrefix/api/v1Route prefix
apiKey''Non-empty enables auth; requests must carry this key
standalonePort0>0 also listens on its own port; 0 means host webserver only
corstrueAllow cross-origin requests
defaultCwd''Default working directory; empty means process.cwd()
maxUploadBytes2 GiBUpload size limit; use the chunked endpoints for bigger files