Preface¶
DeepSeek Harness (DSH) adopts a modular plugin architecture. Existing workflows usually rely on folders and sessions, but lack a “project” concept that aggregates them. The dsh-project plugin integrates multiple folders, multiple sessions, and shared memory/instructions into a single project entity, acting as an overlay to fill this missing concept.
Plugin Overview¶
The plugin is maintained by lanyun077 and is licensed under the MIT License. It functions as an overlay, introducing the “project” concept without modifying the DSH core.
Core Features¶
- Project tree and organization: The sidebar displays a “Project” entry, showing a project tree (project → folder → session). A project can attach multiple folders, each of which is automatically registered as a workspace. Sessions can be dragged into or moved out of folders.
- Session management: Supports creating a new session with one click in any folder of the project, implemented by reusing
workspaces.connectWorkspace. - Shared memory: The project-level
PROJECT.mdserves as shared memory and is injected as a whole when each session starts. Agents can append memory using theproject_memory_writetool or read an overview using theproject_contexttool. - Project instructions: The project-level
AGENTS.mdis injected into the system-prompt section of every session and supports hot reloading.
Installation and Enablement¶
This is a local plugin and must follow DSH’s plugin loading conventions.
- Make
dsh-projectresolvable by the profile (for example, as afile:../dsh-projectdependency, or via anode_modulessymlink). - Add the following configuration to the profile’s
cordis.patch.yml:
- insert:
- id: project
name: 'dsh-project'
- Restart DSH web (
dsh web).
Typical Usage¶
- Click “New” in any folder within the project to create a session associated with that project.
- Reuse
workspaces.connectWorkspaceto create sessions. - Manage the
project.json,AGENTS.md, andPROJECT.mdfiles under the~/.dsh/projects/<id>/directory. - Append project memory using the
project_memory_writetool, or read an overview using theproject_contexttool.
Applicable Scenarios and Notes¶
- Explicit ownership: A session must explicitly belong to a project (created or added through the “Project” panel). The plugin does not automatically infer project ownership from the directory.
- Memory mechanism:
PROJECT.mdis currently injected as a whole (without vector retrieval), so it should be kept concise. Structured retrieval is planned for v2. - Version limitations: v1 does not include project-level MCP/skills/default model/cross-session subtask dispatch.
Summary¶
dsh-project provides a missing project-level abstraction in the DSH ecosystem. By managing resources through a tree structure and using PROJECT.md and AGENTS.md to unify context and instructions, it helps maintain complex Agent workflows. The complete documentation and source code are available on GitHub.