luxiu666/dsh-greet-plugin
首个dsh插件演示
项目介绍Project Overview
dsh-greet-plugin 是 DeepSeek Harness (dsh) 的轻量问候插件,向代理注册一个 greet 工具,接收 name 字符串并返回 "<问候语>, <name>!"。适用于需要快速验证工具注册链路、为 dsh 添加最简可调用样例,或演示 cordis.patch.yml 配置覆盖的场景。无需构建步骤,仓库内自带 lib 制品。要求 Node.js ^22.19 或 >=24。需重启 dsh 生效,仅返回静态拼接文本,不可用于生产文案生成。
dsh-greet-plugin is a minimal greet tool for DeepSeek Harness (dsh). It registers a greet tool that takes a name string and returns "<greeting>, <name>!". Use it to sanity-check tool registration, prototype agent tooling, or demonstrate cordis.patch.yml overrides. The bundle ships prebuilt artifacts in lib/, so no build step or allowBuilds entry is required. Requires Node.js ^22.19 or >=24 and dsh. Restart dsh after install or config changes. Caveat: output is a static string only, with no localization, formatting, or context-aware generation.
请帮我了解并安装插件:【dsh-greet-plugin】【https://github.com/luxiu666/dsh-greet-plugin】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add github:luxiu666/dsh-greet-plugin
把 luxiu666/dsh-greet-plugin 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
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
ccch1mneyyy/working-activity
Ikalus1988/MisakaNet
morluto/rea
linhay/harmony-next.skills
zhoushoujianwork/easyeda-agent
Aisland-SJL/dsh-worktable
oil-oil/dsh-oil-creator