dsh-dajiangjun — Grand Steward

Preface

The core philosophy of DeepSeek Harness is “Everything is a Plugin.” When an agent encounters context window limitations during the current session, or when the task volume exceeds single-processing capabilities, manual intervention is usually required to create a new session and transfer information—a tedious process prone to overlooking details. dsh-dajiangjun aims to solve this problem. It allows the agent in the current session to automatically create a new session and deliver instructions via a plugin after writing a handover dossier, achieving “session relay” and letting the new session start work autonomously.

What is it

dsh-dajiangjun is a DeepSeek Harness host plugin maintained by user Ferien-sein. This is a plugin developed 100% autonomously by AI agents, designed to enable automatic handover and relay for long sessions.

Core Functions

The plugin registers a tool named steward_relay and implements session relay through the following steps:

  1. Write Handover Dossier: The agent in the current session writes a “Seven-Section Handover Dossier.”
  2. Invoke Tool: The agent calls the steward_relay tool.
  3. Validation & Gating: The plugin validates the handover dossier and passes it through a series of gate checks.
  4. Create Session: Establishes a new session named 【续】<Main Line Name>.
  5. Auto-start: The plugin delivers the “Handover Instructions,” and the new session automatically commences work.

Installation and Activation

This is a DeepSeek Harness plugin. The factory default configuration is:
* enabled: false
* dryRun defaults to true

This means it will not run by default after installation. To use it, the plugin must be explicitly enabled twice for the agent to truly trigger the relay process.

Notes

  • Unofficial Statement: This project is compatible with and built upon DeepSeek Harness. It is independently developed by a third party and does not represent official endorsement, partnership, or authorization from DeepSeek.
  • License: The code in this repository is licensed under MIT; the upstream design documents are licensed under CC BY-NC-SA 4.0.
  • Permission Security: The plugin runs with the permissions of the current DSH process. Please be sure to inspect the source code and license before installation.

Summary

Through the steward_relay tool, dsh-dajiangjun encapsulates the complex session handover process into an interface callable by agents, achieving full automation from documentation and gating to session creation and auto-start. This is a practical utility for developers needing to handle ultra-long contexts or complex task flows.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye