Skip to content
dsh.fish
Bundle

dsh-greet-plugin

A greet tool plugin for DeepSeek Harness (dsh).

Source
luxiu666
stars
1 stars
License
MIT
Updated
Updated yesterday

Readme

# dsh-greet-plugin

A minimal greet tool plugin for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (dsh).

Adds a `greet` tool the agent can call with a name; the greeting text is configurable.

## Install

```sh
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:

```yaml
- 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

```sh
pnpm install
pnpm check        # typecheck + build
pnpm dsh --profile web --dump-config   # inspect the mounted layer
```

Install

dsh plugin --profile web add github:luxiu666/dsh-greet-plugin

Profile: web

  • This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source