dsh-claw-registry: DSH Workspace Claw Agent Registration and Isolation

Preface

In DeepSeek Harness (DSH), a single project directory often corresponds to multiple sessions; if you also need to distinguish between “normal project workspaces” and “long-term bound dedicated Agents,” relying solely on the official workspace list quickly leads to mixing them up. The Claw Agent governance suite breaks this down into multiple stages: registration and isolation come first, while persona injection, policy contracts, tool gates, and auditing are deferred to subsequent plugins. This article introduces Phase 0 of the suite—dsh-agent-registry (Community catalog entry xingyingyuzhui/dsh-claw-registry): it binds workspaces to stable Claw Agents and is responsible for registration, explanation, and archiving, but does not intercept tools.

What is this

A DSH Web plugin open-sourced on GitHub by maintainer xingyingyuzhui (npm package name dsh-agent-registry in package.json, current version 0.1.79, MIT license). The positioning in one sentence: Claw Agent registry for DeepSeek Harness: bind, isolate, archive—binding, isolating, and archiving workspace Agents.

It runs parallel to official “Agent Presets”: the four official presets in Main remain switchable; Claw sessions only run their own wa-* presets and cannot switch modes. Actual policy-based rejection of tool calls requires dsh-agent-gate from the same suite; after this plugin is uninstalled, DSH’s original permission presets remain unchanged and do not default to open access.

For overall documentation and the collection, see: dsh-claw-suite.

Core Features

Partitioning and Session Organization

  • The left session area title features two buttons: Workspace / Claw Area, used to switch partitions.
  • Only Agents explicitly created in the Claw Area appear in the Claw Area; normal project workspaces remain in the “Workspace”.
  • Claw Agents are organized by Name → Sessions under name; workspaces are created by default under DSclaw/<agent>/ in the DSH root directory ($DSH_HOME, usually ~/.dsh).
  • Each Agent’s management name is the folder slug; its self-description is written in IDENTITY.md, confirmed with the user via BOOTSTRAP.md during the first conversation, or uses the folder name if unconfigured.

Binding and Presets

  • Upon creation, wa-<slug> is copied from the user preset template wa-template (Display Name Claw Area Agent Template) and bound; new sessions automatically carry this preset.
  • Claw presets do not appear in the “Currently Using” section of official “Agent Presets”.
  • New bindings default to the research read-only declaration, with enforced: false (declaration-level, not forced interception).
  • Binding relationships are persisted in ~/.dsh/workspace-agents/registry.json.

Settings Page Capabilities

Open Settings → Claw Agent (above Agent Presets): after selecting an Agent, you can use the Overview / Persona / Model / Permissions / Skills tabs to view and edit respective aspects (Main is not on this page).

  • Permissions: Each aspect can be modified and saved independently (still not enforced).
  • Model: Records the default model for the Agent; written once using the official session.selectModel when creating a new Claw session; switching models still goes through the official selector, without intercepting currentSelection.
  • Claw Agent Template (Settings → Claw Agent Template): Uses the same set of tabs as a single Claw Agent (Core / Memory / Model / Permissions / Skills, no Overview), modifying default values for subsequently created Agents.
  • Overview: Allows configuring how to handle things after uninstalling this plugin (see uninstallation below).

Persona injection requires installing dsh-agent-identity separately.

Deletion and Archiving

Deleting a binding = Archiving the binding: it does not delete the project directory or session logs.

Installation and Activation

Web-side installation (command from the README):

dsh plugin --profile web add github:xingyingyuzhui/dsh-agent-registry

Restart dsh web after installation is complete.

For local development, you can link to the source directory:

dsh plugin --profile web add link:/abs/path/to/dsh-agent-registry

Runtime environment requires Node >= 20 (see engines in package.json).

Typical Usage

  1. Install the plugin and restart dsh web.

  2. Switch to the Claw Area on the left, create a Claw Agent via the UI; the workspace directory will land in ~/.dsh/DSclaw/<slug>/, and a corresponding wa-<slug> preset binding will be generated.

  3. Enter Settings → Claw Agent, select the Agent, and view or adjust as needed in Overview / Persona / Model / Permissions / Skills; to change default values for all new Agents, modify the Claw Agent Template.

  4. If planning to use it in combination with personas, policies, gating, etc., install layer by layer according to the README governance suite table (Registration → Persona → Policy Contract → Session Permissions → Gates & Auditing, etc.); Phase 0 only completes the registration layer.

Before uninstalling, select the strategy for “After uninstalling this plugin” in Settings → Claw Agent → Overview, then execute:

dsh plugin --profile web remove dsh-agent-registry

Then restart dsh web. The default is Archive: remove these Claw entries from the official “Workspace” list, while keeping session logs and persona directories. “Move to Workspace” keeps them in the official list; “Delete session records” deletes session logs, but persona directories are preserved.

Use Cases and Notes

Suitable for: Teams or individuals who need to separate dedicated Agents from normal project workspaces in DSH Web, want binding relationships to be explainable and archivable, and do not yet require tool-level forced interception.

Notes:

  • The plugin runs under the permissions of the current dsh process; before installing, you should read the GitHub source code and the MIT license to assess whether it meets your environment requirements.
  • The community catalog skillhub.cn is an independent site and has no official affiliation with DeepSeek / High-Flyer; the DSH ecosystem follows “Everything is a Plugin,” and facts in this article are based on the repository README and package.json.
  • The plugin name on the catalog page may differ from the npm package name / installation ID: use dsh-agent-registry for installation and uninstallation; do not construct github:owner/repo yourself based on the catalog name.

Conclusion

dsh-agent-registry is the starting point of the Claw governance suite: binding workspaces to Claw Agents, isolating partitions in the UI, archiving instead of hard-deleting data upon deletion, and deliberately not intercepting tools. Subsequent persona, policy, and gating are handled by other plugins within the suite.

  • Catalog Page: https://www.skillhub.cn/plugins/xingyingyuzhui/dsh-claw-registry
  • GitHub: https://github.com/xingyingyuzhui/dsh-claw-registry
羽毛球分组比赛记分
小程序二维码

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

Xiaoye