dsh-greet-plugin
文件与数据 活跃维护

dsh-greet-plugin

ShiXiangYu2/dsh-greet-plugin

作为大模型工具扩展插件,支持快速注册标准问候工具供模型调用,接入后模型可自主触发问候交互,配置简单无需复杂适配,无需额外开发即可完成集成,开箱即用。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
None
开源协议
1 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:ShiXiangYu2/dsh-greet-plugin
git clone https://github.com/ShiXiangYu2/dsh-greet-plugin.git
git clone git@github.com:ShiXiangYu2/dsh-greet-plugin.git
README.md main

dsh-greet-plugin

A DeepSeek Harness plugin that registers a greet tool callable by the model.

  • Plugin ID: greet
  • Tool: greet(name: string) → Hello, {name}!
  • Host only — no UI yet.

Usage

Install into a profile (bundle form, local checkout):

dsh plugin --profile demo add ./greet-plugin

Or install from git:

dsh plugin --profile demo add github:you/dsh-greet-plugin

For git installs the package ships plain ESM (index.js), so no build step is required. If you publish to npm, use dsh plugin --profile demo add dsh-greet-plugin.

Verify the layer without starting:

dsh --profile demo --dump-config   # shows a "# == dsh-greet-plugin" layer

Then start and ask the model:

Use the greet tool to greet Ada.

Structure

greet-plugin/
├── package.json       # declares dsh.bundle
├── cordis.patch.yml   # the layer applied when a profile lists this bundle
└── index.js           # plugin module: registers the greet tool

License

MIT