安装
npx -y @deepseek-ai/dsh plugin --profile web add github:luxiu666/dsh-greet-plugin此安装命令根据 GitHub 仓库地址生成,是未经验证的安装起点。
README
维护者编写的文档快照。
最近一次目录同步未能刷新此 README 快照。
dsh-greet-plugin
A minimal greet tool plugin for DeepSeek Harness (dsh).
Adds a greet tool the agent can call with a name; the greeting text is configurable.
Install
dsh plugin --profile web add github:<you>/dsh-greet-plugin#v0.1.0
The bundle ships prebuilt artifacts (lib/) in the repository, so installation runs no build scripts and needs no allowBuilds entry.
Requires: Node.js ^22.19 || >=24, dsh.
What it adds
greettool — greets someone by name (name: string), returns<greeting>, <name>!.
Configuration
Defaults live in cordis.patch.yml (greeting: 'Hello'). Override in your profile's own patch layer:
- id: greet-plugin
name: dsh-greet-plugin
config:
greeting: '你好'
Restart dsh after install or config changes (plugin registration happens at boot).
Verify
Ask the agent: Use the greet tool to greet Ada. → expect Hello, Ada! (or your configured greeting).
Development
pnpm install
pnpm check # typecheck + build
pnpm dsh --profile web --dump-config # inspect the mounted layer
仓库信息
- 开发语言
- JavaScript
- 许可证
- MIT
- 最后更新
- 2026年8月18日 06:09
谨慎安装
请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。