dsh-api
HTTP control-plane plugin for DeepSeek Harness — exposes dsh internals (language, workspace registry, agent-status/approval events) over /dsh-api on the local loopback socket dsh already listens on.
AI Analysis
核心用途是为外部程序提供控制和读取 DSH 内部数据的 HTTP 接口。适合需要对 DSH 进行二次开发、自动化控制或编写外部集成脚本的开发者。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lilming123/dsh-apiREADME
Read the full README ↗Configuration
The plugin exposes two knobs, both settable in the loader entry's
config: { ... }:
| Key | Default | Purpose |
|---|---|---|
basePath | /dsh-api | HTTP route prefix |
companionFile | $DSH_HOME/dsh-api-companion.json | Companion discovery file to read on demand |
Example ($DSH_HOME/profiles/web/cordis.patch.yml):
- id: dsh-api
config:
basePath: /control