luxiu666/dsh-greet-plugin

桌面端Desktop 原生Native ⭐ 2 MIT 开发与代码工作流Dev Workflow

首个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.

或使用命令行安装(适合开发者)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

  • greet tool — 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
上一个 Prev review-workflow 下一个 Next dsh-bun-compat-patch