dsh-api
HTTP 控制面插件,通过本地环回套接字上的接口暴露 DSH 内部状态(语言、工作区、代理状态等)。
AI 分析
核心用途是为外部程序提供控制和读取 DSH 内部数据的 HTTP 接口。适合需要对 DSH 进行二次开发、自动化控制或编写外部集成脚本的开发者。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lilming123/dsh-api說明文件
閱讀完整 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