dsh-project-manager: Project Board and Persistent Memory Plugin

Preface

DeepSeek Harness (DSH) supports plugin-based extensions. When developing with DSH, it’s often necessary to switch between different sessions or collaborate using multiple CLI tools. How to maintain project context consistency across sessions and how to systematically persist project memory to disk are common pain points for developers.

The dsh-project-manager plugin provides a project board for DSH and manages “project memory” as persisted data. It automatically loads the project memory associated with a card (STATE + required reading documents) into the session and supports rule-based persistence, duplicate name detection, merging, and group-based archiving.

Plugin Information

  • Name: dsh-project-manager
  • Maintainer: hoyyang
  • Category: Memory
  • License: MIT
  • Core Value: Project board + persisted memory. Sessions opened from cards automatically load the complete, latest project memory (STATE + required reading documents).

Installation

The installation is zero-configuration and works out of the box.

dsh plugin add dsh-project-manager

Data is read and written to ~/.ai by default. Write operations are handled by the plugin’s bundled ai-memory, which requires a python3 environment (this part is automatically disabled on Windows, and the board functionality works as usual).

Core Features

1. Project Board and Automatic Session Loading

  • Board functionality: Supports card groups, swimlanes (phases), and drag-and-drop sorting.
  • Automatic memory loading: When creating a new session from a board card, the plugin automatically injects the project’s complete STATE and sub-documents marked as [必读] (required reading) into the session context.
  • Session info card: The top of the session displays card information, persisted project details, next_action, and action buttons.

2. Standardized Landfill and Memory Persistence

  • Persistence rules: Supports duplicate name detection, merging, group-based archiving, and supports reversible migrations.
  • Bypass protection: Direct file operations writing to ~/.ai will be rejected; writes must go through ai-memory, which supports file locking and optimistic concurrency to ensure that multiple CLIs sharing the same memory file don’t overwrite each other.
  • Specification checks: Versioned checklist validation is performed during persistence, and writes that don’t comply with the specification will be rejected.

3. Agent Tools

The plugin provides four tools that can operate the board within project sessions (when the card parameter is not passed, they act on the current session):
* card_manage
* repo_manage
* phase_move
* task_manage

4. Other Features

  • Zero configuration: Works immediately after installation.
  • Dark theme: Follows DSH’s dark theme.
  • File indexing: Automatically maintains file indexes and folder organization.

Typical Usage

Install Plugin

dsh plugin add dsh-project-manager

Use Agent Tools

Call tools within a session to manage project state:

phase_move { "status": "verify" }
task_manage { "op": "add", "text": "Fix login bug" }

Call Landfill Tools

Use the landfill tool for memory read/write operations:

landfill { "op": "recall" }
landfill { "op": "persist", "content": "...", "drop": [...] }

Environment Dependencies and Notes

  1. Runtime environment: Requires DSH’s Web interface support (CLI dsh web or DSH Desktop).
  2. Dependency requirements:
    • Python3 (used for ai-memory, automatically handled on Windows).
    • Peer dependencies: @deepseek-ai/cordis >=4.0.1 <5, @deepseek-ai/dsh-tools >=0.1.5-rc <2, @deepseek-ai/dsh-client-ui-slots >=0.1.5-rc <2, @deepseek-ai/schemastery ^3.18.1.
  3. Agent tool limitations: Agent tools only work in project sessions and when no card parameter is specified.

Summary

dsh-project-manager solves the pain points of project context management and memory persistence in DSH by combining a board with persisted memory. It not only provides a visual project management interface but also ensures memory data integrity and consistency through strict rules and concurrency control.

GitHub Repository
Community Directory

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

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

Xiaoye