toddpan/dsh-webapi ↗★ 0

@dsh-external/dsh-web-service

将DSH能力开放为REST和SSE接口 适合需要将DSH集成至第三方控制台、客户端或外部Agent的开发者。

套件
@dsh-external/dsh-web-service
相容性
待驗證
Harness 依賴範圍
>=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 依賴範圍
^4.0.4
版本
0.1.11
授權
BSD-3-Clause
最近更新
2026年9月25日

安裝

$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