loulangogogo / dsh-plugin-hello
Plugin collection for DeepSeek Harness (DSH): auto-mounts MCP servers from .mcp.json (with a Web "MCP" tab) and injects global and project rule files into sessions. TypeScript + pnpm monorepo.
About this plugin
Written by the registry from verified metadata, not from the README.
dsh-plugin-hello is a DSH plugin published from the packages/hello package in the loulangogogo/dsh-plugins-loulan repository.
Capabilities and topics
dsh-plugin-hello
注册全局斜杠命令 /hello,在聊天界面输出「你好」。纯命令插件:不经过模型、无参数解析、无副作用状态。
安装
作为 DeepSeek Harness(DSH)组合包(bundle)安装:
dsh plugin --profile <profile> add dsh-plugin-hello
或从本地 tarball 安装:
pnpm pack
dsh plugin --profile <profile> add ./dsh-plugin-hello-0.2.0.tgz
重新启动对应 profile 后,在聊天框输入 /hello 即返回「你好」。
本地开发
本仓库根目录的 cordis.yml 已把本插件以源码入口(./packages/hello/src/index.ts)插入组合,
pnpm dev 启动后即生效。
package.json 的 dsh.bundle.patch 指向包内 ./cordis.patch.yml,发布为 bundle 后由
dsh plugin add 自动追加进 profile 的 dsh.profile.bundles。
配置
无配置项。
开发与发布
bash scripts/test-unit.sh # Node 测试运行器(经 harness 自带 tsx)
pnpm build # tsc 产出 lib/
pnpm pack # prepack 自动 build,生成 dsh-plugin-hello-<version>.tgz
pnpm release # 登录并发布到 npm
说明
- 插件入口为编译产物
lib/index.js:DSH 从 profile 的node_modules加载插件,而 Node 拒绝为node_modules下的.ts源码擦除类型(ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING), 因此必须发布编译后的 JS。 @deepseek-ai/cordis与@deepseek-ai/dsh-commands仅用于类型;编译后的入口不使用任何运行时 import。
Badge
Listed here? Link back with this badge — paste the snippet into your repository README.
[](https://dsh-plugin.com/plugins/loulangogogo/dsh-plugins-loulan/packages/hello)