Introduction¶
In DeepSeek Harness (DSH) Desktop, the default sidebar groups sessions by Workspace (working directory). When you are simultaneously working on multiple products, experiments, or client tasks, many conversations pile up under the same directory, and cross-directory context is scattered across different groups. It becomes difficult to manage a batch of sessions and directories together as “Projects,” as seen in Claude Desktop.
dsh-projects is a community-maintained client plugin that is only active in the desktop profile (Web and headless profiles are unaffected). It replaces the workspace-dominated area in the sidebar with a “Project-first” browsing approach, while retaining the Host’s original working directory mechanisms and session data attribution.
What is this¶
- Repository: aobakaolengmian/dsh-projects
- npm package:
@wxysskd/dsh-projects(Version in current materials: 1.0.0) - License: MIT
- Category: Client-side (Sidebar UI)
- Directory Page: SkillHub Plugin Entry
The plugin registers in the sidebar sidebar.workspaces slot with priority: -1, shadowing the built-in ui-workspace browser. If the plugin UI crashes, it yields the slot, and the built-in sidebar falls back to display.
Core Features¶
The following capabilities are described in the README and align with Host behavior.
Projects and Session Attribution¶
- You can create Projects (name, color, and one or more working directories).
- Every session must reside within a project (unattributed sessions remain grouped by Workspace under Other conversations and do not disappear).
- Individual sessions can use independent working directories: selected during creation or switched via Change working directory. Under the hood, this utilizes the Host’s
workingDirectoryservice, which is the same persistent, model-visible mechanism as theworking_directorytool.
Retaining Workspace Hierarchy¶
Sessions are still nested and displayed by workspace (folder + title + count) within projects. When a workspace is moved into a project, its grouping identity is preserved; conversations are not flattened into a single list. The Workspace title row provides + (create new session directly in that directory) and a ⋯ menu (New, Move to another project, Rename, Remove from project, Delete workspace, etc.).
Empty Session Handling¶
The Host retains a reusable blank session (blank: true) during every “New Session”; the plugin sidebar only shows the currently open blank session and hides the rest. For legacy empty chats where the directory row isn’t marked blank but the log contains no session events, they are hidden under the same rules. Via View options → Delete empty conversations (N), sessions can be permanently deleted from disk through Host validation routing (those with content will not be deleted; currently running ones are archived first and can be cleaned up after the next restart).
Migrating Between Projects¶
No need to delete sessions or modify session logs; simply change project metadata:
- Drag a session row to the target project (dragging to Other conversations removes project attribution).
- Drag a workspace group title from Other conversations to the target project: the directory enters the project’s directory list (no duplication), and all sessions under that directory are attributed to the project.
- Equivalent menu paths: workspace
⋯→ Move workspace to project; Project⋯→ Move working directory to another project…; Session⋯→ Move to project.
After a directory is moved between projects, new sessions created under that directory (including the system Cmd+N flow) will enter the target project.
Operations Consistent with Built-in Sidebar¶
Pinning, relative time, running/waiting/unread status dots, archive/unarchive, rename, fork, pin, copy ID, etc., remain available on the new list rows.
Data and HTTP Interface¶
Project metadata is persisted by the Host and not written into session logs:
$DSH_HOME/storages/dsh-projects.json: Project definitions, session-to-project mappings, and the last recorded working directory for each session.
Same-origin HTTP routes (POST requires content-type: application/json, x-dsh-projects: 1, body limit 64 KiB):
| Method | Path | Purpose |
|---|---|---|
| GET | /dsh-projects/state |
Full project state |
| GET | /dsh-projects/health |
Liveness and counts |
| POST | /dsh-projects/mutate |
project.create / update / delete, session.assign |
| POST | /dsh-projects/cwd |
Modify single session working directory |
| POST | /dsh-projects/purge |
Permanently delete validated empty sessions |
| GET | /dsh-projects/empty-sessions |
List sessions without conversation content |
Installation and Enablement¶
The plugin is released as a standard DSH bundle targeting the ~/.dsh/profiles/desktop profile. The README provides three equivalent methods; choose one:
# 1. Install from npm (also available via Plugins -> Add plugin)
plugin_manager install_bundle target=@wxysskd/dsh-projects@1.0.0
# Or:
desktop-cli plugin --profile desktop add @wxysskd/dsh-projects@1.0.0
# 2. From a locally packed release tarball (requires 'npm run pack' in the source tree first)
plugin_manager install_bundle target=/abs/path/dist/wxysskd-dsh-projects-1.0.0.tgz
# 3. Development: Source link (client.js supports hot reloading)
desktop-cli plugin --profile desktop add link:"$PWD"
DSH does not have a built-in official marketplace; you can add the index source published by this plugin in Plugins → Discover and install from the card (the same artifact as the npm package):
https://aobakaolengmian.github.io/dsh-projects/market/index.json
After installing from Discover, the materials indicate that you still need to restart the app once before the plugin line takes effect on the Host side. For more detailed verification and rollback instructions, refer to docs/INSTALL.md in the repository.
Typical Usage¶
After installing and restarting the Desktop as described above, the sidebar will transform into a project list structure. You can familiarize yourself with the daily workflow in the following order.
- Create a new project: Set the name, color, and bind one or more working directories.
- Start chatting under a project: Click
+in a workspace group or create a session from the menu; specify a separate directory for that session if needed (it can differ from the project’s default directory list). - Organize historical sessions: Drag workspaces or individual sessions still scattered in Other conversations into the corresponding projects.
- Clean up blank sessions: Open View options, use Delete empty conversations, and execute permanent deletion after confirming the count (empty sessions only).
If you are integrating via automation or scripts, you can read state via /dsh-projects/state and change attribution and directories via /dsh-projects/mutate and /dsh-projects/cwd; delete empty sessions via /dsh-projects/purge (must meet Host validation criteria).
Applicable Scenarios and Notes¶
Who it is for: Developers who work on multiple parallel threads in DSH Desktop for long periods, wish to group the sidebar by “Projects” rather than just folders, and require per-session working directories.
Important to know:
- The plugin only loads in the desktop profile; do not expect the same UI in Web/headless environments.
- The DSH ecosystem is “everything is a plugin”; directories like SkillHub are community sites and have no official affiliation with DeepSeek / High-Flyer.
- The plugin runs with the permissions of the current DSH process. Please review the source code and MIT license yourself before installation to ensure the npm package and index source are trustworthy.
- The GitHub repository currently shows 0 public stars (based on directory page clues). This does not imply missing functionality, but the sample size of community feedback may be small. Issues can be reported via Issues.
Conclusion¶
dsh-projects brings the Claude Desktop-style Projects sidebar to DSH Desktop: organizing sessions by project dimension, switching working directories per session, drag-and-drop migration of workspaces/sessions, and verifiable empty session cleanup in coordination with the Host. If you are already using DSH in the desktop profile, you can install @wxysskd/dsh-projects@1.0.0 from npm or Discover index, and use it in the sidebar after restarting.
- Plugin Directory Page: https://www.skillhub.cn/plugins/aobakaolengmian/dsh-projects
- Source Code and Docs: https://github.com/aobakaolengmian/dsh-projects