Foreword¶
When building agents involving ticket flow in DeepSeek Harness (DSH), a common practice is to manually assemble intake, Worker sessions, and report persistence in Cordis. The upstream MIT protocol DeepSeek Superagent prototype is a complete concept, but using it directly for local testing often requires handling bundles, panel identifiers, and state directory isolation. dsh-superagent-relay (maintainer Planckbaka, SkillHub category: Workflow) packages the aforementioned capabilities into a community preview bundle installable in DSH Web, focusing on “Receive Order → Isolate Worker Session → Persist Report”, and comes with a one-time GitHub Issue import test. The following explains positioning, capabilities, installation, and typical steps to run; facts are based on the repository README and release package.
What is it¶
Superagent Relay is a community-maintained, upstream-independent preview implementation. The code belongs to Planckbaka/dsh-superagent-relay, license MIT, current release version 0.1.0-preview.1. It runs as a native DSH Web bundle; the README explicitly requires installation in a separate profile and sharing some runtime and panel identifiers with the upstream bundle.
It solves three problems: ticket intake, processing in isolated DSH Worker sessions, and writing reports to the local state directory. The README also states: local preview will not listen to email, and will not write back to GitHub; QQ and WeChat only have the normalization library, Discord integration is planned.
Relationship with Upstream Superagent¶
This repo notes it derives from a specific commit of the upstream Superagent prototype and retains MIT and upstream attribution. The upstream repo’s “Automation Mode” gives Workers wider permissions; the README emphasizes this mode is not within the scope of the verified local preview and should not be attempted using personal maintainer credentials.
Environment and Dependencies¶
Visible in package.json:
- Node:
^22.19.0 || >=24.0.0; build documentation requires Node 24 and the pnpm version in the lockfile (packageManager:pnpm@11.7.0). - DSH Engine:
^0.2.1-alpha.2. - Verified Hosts: The README states it was verified on DSH Web 0.2.2-rc.2 and macOS.
If you contribute from source, you can first execute:
pnpm install --frozen-lockfile
pnpm check
pnpm pack
Installation and Enablement¶
The following introduces the preview installation process from the official README. Installation commands must use the release package URL, not a repository name concatenated with dsh plugin add github:....
1. Create a relay profile and install the pre-built package¶
dsh relay --from-default-profile web --dump-config >/dev/null
dsh plugin --profile relay add https://github.com/Planckbaka/dsh-superagent-relay/releases/download/v0.1.0-preview.1/dsh-superagent-relay-0.1.0-preview.1.tgz
The first command exports web relay related configuration from the default profile; the second installs the v0.1.0-preview.1 pre-built package into a profile named relay.
2. Modify cordis.patch.yml¶
In the cordis.patch.yml of that profile, specify a new absolute path state directory for Superagent, and disable the upstream channel plugins to avoid conflicts with the local preview:
- id: dsh-superagent
config:
stateDir: /absolute/path/to/relay-preview-state
- id: dsh-superagent-github
disabled: true
- id: dsh-superagent-feishu
disabled: true
stateDir must be a writable directory on your machine and dedicated to this test; the fixture mode will rewrite the Source configuration in the database, and the README requires using a fresh state directory.
3. Configure model and start relay¶
First configure the model in the relay profile (README example: local Magpie gateway available). Then start in read-only + local fixture mode:
DSH_SUPERAGENT_READ_ONLY=1 DSH_SUPERAGENT_LOCAL_FIXTURE=1 dsh relay --host 127.0.0.1 --port 3083
DSH_SUPERAGENT_READ_ONLY=1 and DSH_SUPERAGENT_LOCAL_FIXTURE=1 are used to limit preview behavior; --host 127.0.0.1 means listen only on localhost, do not expose this test profile to the public network.
Typical Usage¶
After starting, use the launch URL in the command output to open Superagent → Ended tickets in the interface to view ended tickets and persistence results. If you do the one-time GitHub Issue import test, the README describes saving the Worker summary locally, without writing back to GitHub.
The whole path is suitable for verifying whether “Ticket In → Worker Isolated Execution → Local Report Landing” matches your Harness orchestration expectations, and deciding whether to proceed with secondary development or wait for subsequent capabilities (e.g., Discord) from upstream / this repo.
Applicable Scenarios and Notes¶
Who is it for
- Already using DSH Web, wanting to trial Superagent-style ticket handling and Worker report persistence without touching the upstream “full automation mode”.
- Need to perform tests in an independent profile to avoid polluting default configurations or upstream GitHub/Feishu channel plugins.
Permissions and Security
The plugin runs with the current dsh process permissions. Before installing, read the source code and LICENSE, confirm MIT terms and upstream attribution; do not expose the profile to the network without auditing. The README explicitly states: upstream automation mode has wider permissions and is not part of the verified preview, so do not connect using personal maintainer credentials.
Ecosystem Explanation
DSH community plugin directories (such as SkillHub entry) are independent sites with no official affiliation with DeepSeek / Hypothesis; this article introduces a community preview package, not a built-in component of the official app store.
Issue Feedback
Reproducible defects can be submitted via GitHub Issues; contributions via Pull Request. The README requires attaching the DSH version, platform, expected behavior, and sanitized reproduction steps, see docs/maintainer-workflow.md in the repository.
Conclusion¶
dsh-superagent-relay converges Superagent’s ticket intake, isolated Worker sessions, and local persistent reports into an installable DSH Web preview package, suitable for controlled verification in a separate profile. To view category and description, you can open SkillHub: https://www.skillhub.cn/plugins/Planckbaka/dsh-superagent-relay; source code, install package, and MIT license are visible on GitHub: https://github.com/Planckbaka/dsh-superagent-relay.