The core design philosophy of DeepSeek Harness (DSH) is “everything is a plugin.” Writing plugins usually involves building a toolchain, and dsh-greet provides a minimal reference implementation. It does not rely on complex build steps and directly registers a greet tool.

What This Is

This plugin is maintained by HDylanYueH. It demonstrates how to write a pure JavaScript plugin and publish it as dsh.bundle to GitHub, ready for direct invocation by a DSH profile.

Core Features

  1. Register a tool: An Agent can directly call the greet(name) tool and receive the return value Hello, <name>!.
  2. No build step: Uses pure JavaScript, with the cordis.patch.yml configuration layer, making it immediately usable after installation.

Installation and Enablement

  1. Run the install command:
   dsh plugin --profile web add github:HDylanYueH/dsh-greet
  1. Restart the profile to load the plugin:
   dsh --profile web

Typical Usage

In a conversation, instruct the model to use the tool. For example, ask: “Use the greet tool to greet Ada.” The model recognizes the intent and calls the greet tool, ultimately producing Hello, Ada!.

Structure and Dependencies

The plugin contains the following files:

dsh-greet/
├── package.json       # 声明 dsh.bundle (patch: ./cordis.patch.yml)
├── cordis.patch.yml   # profile 列出此 bundle 时应用的层
└── index.js           # Cordis 插件

Dependencies include @deepseek-ai/dsh-tools and @deepseek-ai/cordis.

Removal

If you need to remove it, run:

dsh plugin --profile web remove dsh-greet

Use Cases and Notes

Suitable for developers who want to quickly validate the DSH plugin development workflow or need lightweight tools. The plugin runs with the permissions of the current DSH process, so be sure to review the source code and license (MIT) before installation.

This is a minimal plugin example, demonstrating the flexibility of the DSH ecosystem. For more details, see the GitHub repository or the plugin catalog.