dsh-plugin-greet
面向 DeepSeek Harness 的最小 greet 工具插件。
0lidaxiang
@0lidaxiang
⬇ 1
★ 3
main
安装
dsh plugin --profile web add github:0lidaxiang/dsh-plugin-greet
需要可复现安装时,可在仓库后追加 #commit 固定提交。
面向 DeepSeek Harness 的最小 greet 工具插件。
该插件未提供要点说明,请参考仓库 README。
deepseekdeepseek-harnessdshdsh-plugin
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/0lidaxiang/dsh-plugin-greet |
| 许可证 | MIT |
| 主要语言 | main |
| 下载量 | 1 |
| GitHub 星标 | 3 |
| 最近推送 | 2026-08-14 |
| 收录日期 | 2026-09-19 |
| 分类 | 开发与运行时 |
事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# dsh-plugin-greet
一个可直接安装的 DeepSeek Harness 社区插件,用来演示最小工具插件的完整链路:Bundle 分发、Profile 装配、工具注册与真实调用。
An installable community plugin for DeepSeek Harness that registers a minimal `greet` tool.
> 本项目是社区示例,不是 DeepSeek AI 官方插件。DeepSeek Harness 目前仍处于 Developer Preview,后续版本可能需要调整兼容性。

## 功能
插件向模型注册一个 `greet` 工具:
- 输入:必填字符串 `name`
- 输出:`Hello, !`
- 额外依赖:无
- 构建步骤:无,仓库中的 JavaScript 可以直接安装
## 从 npm 安装
先停止正在运行的 DeepSeek Harness,然后把固定版本安装到 `web` Profile:
```sh
npx @deepseek-ai/dsh plugin --profile web add dsh-plugin-greet@0.1.0
```
在启动前确认 Bundle 已进入最终配置:
```sh
npx @deepseek-ai/dsh --profile web --dump-config
```
然后启动 Web UI:
```sh
npx @deepseek-ai/dsh web
```
## 从 GitHub 安装
先停止正在运行的 DeepSeek Harness,然后把固定版本安装到 `web` Profile:
```sh
npx @deepseek-ai/dsh plugin --profile web add \
github:0lidaxiang/dsh-plugin-greet#v0.1.0
```
在启动前确认 Bundle 已进入最终配置:
```sh
npx @deepseek-ai/dsh --profile web --dump-config
```
启动 Web UI:
```sh
npx @deepseek-ai/dsh web
```
打开 ,向模型发送:
```text
请务必调用 greet 工具,向 Ada 问好。
```
展开工具调用后,预期看到:
```text
IN { "name": "Ada" }
OUT Hello, Ada!
```
## 安装开发中的 main 分支
只想体验最新代码时,可以安装 `main`:
```sh
npx @deepseek-ai/dsh plugin --profile web add \
github:0lidaxiang/dsh-plugin-greet#main
```
稳定使用建议固定 release tag 或具体 commit SHA,避免远程分支更新后改变实际安装内容。
## 本地开发安装
在仓库上一级目录执行:
```sh
npx @deepseek-ai/dsh plugin --profile web add ./dsh-plugin-greet
```
修改代码后重启 Harness,再通过聊天窗口验证工具调用。
## 卸载
```sh
npx @deepseek-ai/dsh plugin --profile web remove dsh-plugin-greet
```
## 文件结构
```text
dsh-plugin-greet/
├── package.json # 声明 dsh.bundle
├── cordis.patch.yml # 向 Profile 插入插件条目
├── index.js # 注册 greet 工具
├── docs/ # README 图片
└── LICENSE
```
## 安全与兼容性
DeepSeek Harness 插件运行在宿主进程中。安装第三方插件前请检查源码,并优先固定 release tag 或 commit SHA。
当前版本在 2026-08-14 使用 `@deepseek-ai/dsh 0.1.0-rc.6` 完成了 Web Profile 安装和真实工具调用验证。
## License
[MIT](LICENSE)
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。