dsh-greet
A minimal DeepSeek Harness (dsh) plugin that registers a greet tool.
AI Analysis
一个无构建步骤的极简插件示例。适合想要学习如何为 DSH 编写、发布和安装自定义 Tool 插件的初学者参考。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HDylanYueH/dsh-greetREADME
Read the full README ↗dsh-greet
A minimal DeepSeek Harness (dsh) plugin that registers a greet tool. Everything in dsh is a plugin; this repository shows the smallest complete bundle you can publish and install.
Features
- Registers a
greettool callable by the agent:greet(name)→Hello, ! - No build step: plain JavaScript, installs straight from GitHub.
Install
dsh plugin --profile web add github:HDylanYueH/dsh-greet
Then restart the profile:
dsh --profile web
Ask the agent: "Use the greet tool to greet Ada." The model can call greet and receives Hello, Ada! as the tool result.
Layout
dsh-greet/
├── package.json # declares dsh.bundle (patch: ./cordis.patch.yml)
├── cordis.patch.yml # the layer applied when a profile lists this bundle
└── index.js # the Cordis plugin (name / inject / apply)
Remove
dsh plugin --profile web remove dsh-greet
License
MIT