lilming123/dsh-api1

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 进行二次开发、自动化控制或编写外部集成脚本的开发者。

Package
dsh-api
Version
0.1.0
License
MIT
Last updated
Aug 19, 2026

Install

$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