dsh-project-hub: Organizing Conversations and Memory with Projects in DSH

Preface

In DeepSeek Harness (DSH), viewing sessions by workspace boundary is often unclear: Mnemon memory defaults to a global instance, easily getting mixed when switching between projects; models, presets, and reasoning effort are bound to the profile, so changing directories does not mean changing defaults; creating new sessions requires remembering the cwd manually, and AGENTS.md in projects lacks a unified entry. Below is the community plugin dsh-project-hub (Project Workbench), released by maintainer shipinlei and categorized as Workflow, which achieves “one project = one workspace directory” in terms of the panel, default settings, and optional memory isolation, without touching the DSH core or modifying session data.

What is this

dsh-project-hub is a DSH Web client plugin (host is cordis plugin + client bundle). One-sentence positioning: it adds a “Projects” entry in the sidebar and a top-level panel, listing project cards and sessions by recent activity. Each project can save descriptions and default presets/models/reasoning effort, which are automatically applied to new sessions. It can also switch Mnemon’s storageScope to workspaces to isolate memory by workspace directory (USER.md remains global).

  • Directory page: https://www.skillhub.cn/plugins/shipinlei/dsh-project-hub
  • Source code: https://github.com/shipinlei/dsh-project-hub
  • License: MIT (version 0.1.0 in package.json)
  • Engine requirements: engines.dsh must be >=0.2.0-rc.2 <0.3.0-0; tested on DSH 0.2.2-rc.1 Desktop version per README

The community directory skillhub.cn has no official affiliation with DeepSeek / Furong; the DSH ecosystem is still “everything is a plugin,” and this plugin belongs to the Workflow extension category.

Core Features

Opening the sidebar “Projects” enters the workbench. The capabilities are compared with the README below.

Capability Action
Project Workbench Project cards (copyable path, session count, recent activity, description, default settings badge) + session list sorted by activity time
Project-level Defaults Description, preset, model, reasoningEffort written to <profile>/.dsh-project-hub/state.json, key is workspaceId
Memory Isolation Panel memory bar can enable storageScope=workspaces or switch back to global shared; no built-in editor, read-only preview
Project Rules Discover and preview AGENTS.md / CLAUDE.md in official order (Global → Project Root, including .local overlay)
Sidebar Arrangement Startup tends to use official “Group by Workspace (Project)”; preference is saved in plugin localStorage, can set “Do not interfere.” If installing Claude Code style skin, it will turn off its date view first then switch grouping

What README explicitly does not do: does not provide moving sessions across projects (DSH has no corresponding RPC); does not include permission modes in project-level settings; does not write project metadata into the user repository.

Installation and Activation

Prerequisites

  • DSH 0.2.x, satisfying >=0.2.0-rc.2;
  • At least one DSH profile (desktop app default is desktop).

First, place the repository in any directory on your local machine (you need to obtain the source directory yourself per README), then execute in DSH:

plugin_manager(action="install_bundle", target="<本仓库绝对路径>")

Method 2: DSH CLI

The CLI example given in README is (you need to change the path to your local repository directory):

git clone https://github.com/shipinlei/dsh-project-hub.git
dsh plugin --profile desktop add "link:<本仓库绝对路径>"

After installation, it is recommended to:

  1. Host reorganizes via HMR and hot-loads the host side;
  2. Refresh the Web GUI once, the sidebar will show “Projects”;
  3. Use a health check to confirm the client is registered (port is based on your local DSH Web GUI):
curl http://127.0.0.1:<port>/dsh-project-hub/api/health

In the return, client.registered = true means the client bundle has been included; memory.storageScope and clientEvents.last can be used to confirm panel status.

The plugin runs with the permissions of the current DSH process; it is advisable to read the source code and MIT license before installing.

Typical Usage

Just follow the reproducible steps in README.

  1. Switch Memory Isolation: Open the “Projects” panel, click “Enable Project Memory Isolation” on the top memory bar — this writes storageScope=workspaces via the official settings service; rollback point is “Switch back to Global Shared.”
  2. Configure Project Defaults: Project card → “Settings”, fill in description and default preset / model / reasoning effort, it takes effect immediately after saving.
  3. New Session by Project: Project card → “New Session”, cwd is the project directory, automatically applies default settings and jumps to the session.
  4. View Rules: Project card → “Project Rules”, list rule files by hierarchy and preview snippets.
  5. Sidebar Grouping: Default startup switches to “Group by Project”; if you want to keep free switching in the sidebar, select “Do not interfere” in “Sidebar Session Arrangement.”

Use Cases and Notes

Who is it for: Developers who maintain multiple code or documentation repositories in DSH at the same time, hoping the session sidebar is organized by project, new sessions require less repeated model selection, and optionally split Mnemon memory by workspace (keeping global USER.md).

Compatibility (Source Material): Mainly tested on DSH 0.2.2-rc.1 desktop version (Windows, Electron + dsh-app://); pure Web profile theoretically works. The plugin does not replace the official sidebar.workspaces slot, only calls uiWorkspace.view.setGroupBy(). There is an event contract with the dsh-claude-style skin; when the skin undergoes major changes, it may degrade to “switching to official grouping once at startup.”

Limitations: Session cwd is immutable after creation; rules and memory are read-only; stars and community popularity are based on the directory page (clues are 0, no propagation description).

Conclusion

dsh-project-hub collects DSH’s existing workspace concept into a “Project Workbench”: defaults follow the project, memory can be isolated by directory, rule files are previewed as read-only according to official paths, and the sidebar is grouped by project by default. For details, interface contracts, and design decisions, refer directly to the repository README, docs/接口约定.md, and docs/设计结论.md.

  • Plugin directory: https://www.skillhub.cn/plugins/shipinlei/dsh-project-hub
  • GitHub: https://github.com/shipinlei/dsh-project-hub
羽毛球分组比赛记分
小程序二维码

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

Xiaoye