DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-host-plugin-kit

V

dsh-host-plugin-kit

Discovered

Zero-dependency MCP media toolbox (Node, no ffmpeg)

dsh-host-plugin-kit

一条命令生成 DSH host 侧插件骨架,自带三层验证(离线单测 / 真 cordis 冒烟 / 发布路径说明)与审批钩子模板。

面向 Android 上的 DSH(没有 Web Client 层,插件只能贡献 host 侧:工具、服务、事件、SKILL、MCP 桥)。

名字里的 host 是刻意的:npm 上的 dsh-host-plugin-kit 是另一套(客户端 bundle 生成 + verify), 与这套「host 侧工具插件骨架 + 三层测试」不是一回事。

用法

node new.mjs ~/work/my-plugin --name dsh-hello --desc "示例插件" [--prefix hello]

cd ~/work/my-plugin
node dev/test.mjs         # 6 项离线单测
node host-test/rt.mjs     # 5 项真 cordis 冒烟(用引擎自带的那份 cordis)

生成物:

文件作用
index.mjs注册工具(ctx.effect 内)、挂 tools/pre-execute 审批钩子
lib/core.mjs业务逻辑,纯函数好测
cordis.patch.ymlprofile 的 insert 片段
package.jsondsh.bundle.patch + 最小 capabilities
dev/test.mjs假 ctx 单测:注册、execute、审批 allow→ask、deny 不改写
host-test/rt.mjs真 @deepseek-ai/cordis:inject、注册、execute、钩子、dispose 清理
locale/、icon.svg、README.md插件三件套

生成的骨架遵守的约定

  1. export const name / inject / apply;
  2. 工具在 ctx.effect 里注册并返回 dispose(卸载要干净,有测试);
  3. 写类工具把 allow 升级为 ask,上游 deny 不许改写(有测试);
  4. 纯逻辑放 lib/,index.mjs 只做协议适配。

在这台手机上发布

# npm:新包首发先进 staged 状态,40–120 s 后才可见;发完务必下载 tarball 实际加载验证
node $HOME/tools/npm/bin/npm-cli.js publish

# GitHub:本机没有 git,走 REST API 一次成 commit
node $HOME/work/gitpub/publish-github.mjs --dir . --owner <you> --repo dsh-hello --token-file $HOME/.gh_token

装插件时带版本号(dsh-hello@0.1.0),否则会遇到「裸名字 spec 永远没有更新徽标」的坑。

自测

node dev/bin-selftest.mjs   # 生成一个临时插件并跑它的两套测试

MIT

Comments

Loading…

Similar plugins

dsh-mcp-bridge

by imaused

Expose a stdio MCP server (Playwright, Chrome DevTools, any MCP) as native DeepSeek Harness tools

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Nov 1, 2026

dsh plugin --profile web add dsh-mcp-bridge

by BotonJ

Authenticated remote gateway for DeepSeek Harness: QR/HMAC pairing, cookie sessions, mDNS, fork_session tool. Zero-dep plugin.

Tools & CapabilitiesTerminal & ClientsSessions & MessagesManifest valid

★ 6

↓ 2.9k/wk

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-remote-link

by JD579g

DeepSeek Harness (DSH) plugin: one-click MCP deployment + built-in MCP toolkit + doctor. Windows-first, connects without restarting.

Manifest valid

★ 0

MIT

JavaScript

Sep 28, 2026

dsh plugin --profile web add dsh-mcp-hub

by yuehancn

DeepSeek Harness plugin

Manifest valid

★ 0

MIT

JavaScript

Oct 20, 2026

dsh plugin --profile web add dsh-tool-media

by GeekRicardo

DeepSeek Harness web 插件:把工具调用(含 MCP)、流式工具行与 thinking 行渲染成紧凑时间线

Terminal & ClientsManifest valid

★ 1

MIT

JavaScript

Oct 14, 2026

dsh plugin --profile web add dsh-better-tool-ui

by Chhlafiu4312

Zero-dependency MCP client bridge that connects stdio and HTTP MCP servers and registers their tools as mcp_<server>_<tool> for the agent.

Tools & CapabilitiesModels & ProvidersManifest valid

★ 3

MIT

JavaScript

Aug 16, 2026

dsh plugin --profile web add dsh-mcp-connect