lilming123/dsh-api1

dsh-api

HTTP 控制面插件,通过本地环回套接字上的接口暴露 DSH 内部状态(语言、工作区、代理状态等)。

AI 分析

核心用途是为外部程序提供控制和读取 DSH 内部数据的 HTTP 接口。适合需要对 DSH 进行二次开发、自动化控制或编写外部集成脚本的开发者。

包名
dsh-api
版本
0.1.0
许可证
MIT
最近更新
2026年8月19日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lilming123/dsh-api

Configuration

The plugin exposes two knobs, both settable in the loader entry's config: { ... }:

KeyDefaultPurpose
basePath/dsh-apiHTTP route prefix
companionFile$DSH_HOME/dsh-api-companion.jsonCompanion discovery file to read on demand

Example ($DSH_HOME/profiles/web/cordis.patch.yml):

- id: dsh-api
  config:
    basePath: /control