跳到主要内容
Plugin安装含风险命令

dsh-webapi

toddpan/dsh-webapi

让任何会说 HTTP 的东西驱动 DSH:47 条路由(REST + SSE),覆盖工作区、会话(创建/提示、SSE 实时生成、历史、统计、任务清单、中止、问答)、模型与全局默认模型、提供方、Agent Preset、设置命名空间、技能与工作区文件(含分片续传上传),另有 OpenAI 兼容的 /chat/completions、内置 OpenAPI 3.0 规范与在线调试页。它只 inject 宿主的 webServer 与 tools,挂在宿主 webserver(默认前缀 /api/v1)或独立端口,可选 API Key 鉴权,并自带一份教会 DSH 里 Agent 调用本 API 的 SKILL。

形态
Plugin 插件
安装
npm 包安装
需要密钥
是
近月下载
2,554
最近推送
10 天前更新

项目说明

From README

dsh-webapi (dsh-web-service) English 中文 A DSH plugin that exposes DeepSeek Harness over HTTP: the workspaces, sessions, models, settings, skills and files already inside DSH become plain REST endpoints and SSE streams, plus an OpenAI-compatible /chat/completions so an existing OpenAI client can talk to DSH unchanged.

Typical uses: a self-hosted console for DSH, a desktop or mobile client, CI / automation that drives an agent, a non-DSH agent that calls DSH as a tool, or a gateway that puts DSH behind your own API.

- No new dependencies — the plugin only inject s webServer and tools ; the routes ride on the DSH host webserver, plus an independent fixed-port service you can start and stop on demand.- 80+ routes (REST + SSE), documented by a built-in OpenAPI 3.

0 spec and a request page, plus a settings page that starts/stops the independent API service and manages API keys.- Bilingual ski

Original description

DSH plugin — drive DeepSeek Harness over HTTP: 47 REST + SSE routes (workspaces, sessions, streaming, stats, todos, models, settings, skills, files) + OpenAI-compatible /chat/completions. / DSH 插件:把 DSH 开放成 47 条 REST + SSE 接口与 OpenAI 兼容端点,供三方客户端与 Agent 集成。

安装方式

npm 包安装 · 需要额外配置密钥

README 解析
shell
DSH host webserver, plus an independent fixed-port service you can start and stop on demand.
shell
dsh plugin --profile web add \
shell
dsh plugin --profile web add github:toddpan/dsh-webapi

安装命令包含风险形态

  • 远程脚本直接管道执行(curl | sh)

全局安装会修改系统级依赖;远程脚本执行等于把执行权交给仓库作者。装前请通读命令。

安全能力

静态扫描源码得到的权限画像 —— 回答的是「它要动什么」,而不是「它好不好」

  • 执行命令
  • 写入文件
  • 读取文件
  • 访问网络
  • 读取环境变量
  • 访问宿主运行时

未发现已知红线(明文传输、安装期执行代码、凭据外传等)。

能力与红线来自 awesome-dsh-plugin 的静态扫描结果(CC0 公有领域),本站未逐行复核源码; 它只覆盖能被静态识别的模式,不等于安全审计结论。

为什么是这个分数

近 11 天内有提交;README 给出了可直接复制的安装命令;运行前需要准备 API Key 或环境变量;近月 npm 下载 2554 次,star 不多但真在被使用。

维护活跃
86
实用度
66
生态热度
68
上手便捷
74
信号质量
100
数据置信度
100%
评分怎么算