合并包:工作区分组(better-workspace-group)+ 远程 SSH(dsh-remote-ssh)
Go to file
qyh15 571638b836 fix(tree): stop rendering the base directory as a folder row
A workspace with extra folders used to grow one folder row per directory,
including its own base directory. For a cloud workspace the base is the
locally generated mirror (`wmvl31c7ilkuc`), so the sidebar showed that id as
a folder name and hid every session owned by the workspace inside it — one
cloud project read as a project nested inside itself.

The base directory is now the workspace row itself: `nodes[].sessions` keeps
its sessions and only real extras become folder rows. `folderNode` no longer
takes `isBase`, so a mirror id can never be labelled as a folder again, and a
workspace without extras keeps the exact pre-folders node shape.

Adds a regression test covering the mirror case (extra folder only, base
sessions on the workspace, no `wmvl31c7ilkuc` label) and documents the change
in CHANGELOG. typecheck 0 errors, 290 tests pass.
2026-11-07 17:46:32 +08:00
docs fix(folders): make the folder overlay crash-safe and consistent 2026-11-07 17:29:57 +08:00
lib fix(tree): stop rendering the base directory as a folder row 2026-11-07 17:46:32 +08:00
scripts feat(v0.7): 顶层拖放落点改为插入横线 + 顶层项目可排序 2026-08-22 21:37:55 +03:00
src fix(tree): stop rendering the base directory as a folder row 2026-11-07 17:46:32 +08:00
tests fix(tree): stop rendering the base directory as a folder row 2026-11-07 17:46:32 +08:00
tools fix(folders): make the folder overlay crash-safe and consistent 2026-11-07 17:29:57 +08:00
.gitignore fix(folders): make the folder overlay crash-safe and consistent 2026-11-07 17:29:57 +08:00
CHANGELOG.md fix(tree): stop rendering the base directory as a folder row 2026-11-07 17:46:32 +08:00
DEVELOPMENT.md fix(folders): make the folder overlay crash-safe and consistent 2026-11-07 17:29:57 +08:00
LICENSE chore: package dsh-workspace-groups v0.1.0 for GitHub distribution 2026-08-21 23:22:57 +03:00
NOTICE.md docs: rename repository to dsh-better-workspace-group 2026-10-28 20:26:29 +08:00
README.md chore(release): 1.3.0 2026-10-31 19:25:14 +08:00
README_ZH.md chore(release): 1.3.0 2026-10-31 19:25:14 +08:00
cordis.patch.yml chore: standalone local plugin identity (workspace-groups-local) 2026-10-28 16:05:29 +08:00
package.json chore(release): 1.3.0 2026-10-31 19:25:14 +08:00
pnpm-lock.yaml feat: 以已安装 0.4.2 版本源码重建工作树(顶部会话标签条 / 快切面板 / 分支视图) 2026-10-27 17:04:10 +08:00
screenshot.png chore(release): 1.3.0 2026-10-31 19:25:14 +08:00
tsconfig.build.json chore: package dsh-workspace-groups v0.1.0 for GitHub distribution 2026-08-21 23:22:57 +03:00
tsconfig.client.json chore: package dsh-workspace-groups v0.1.0 for GitHub distribution 2026-08-21 23:22:57 +03:00
tsconfig.json chore: package dsh-workspace-groups v0.1.0 for GitHub distribution 2026-08-21 23:22:57 +03:00
tsdown.config.ts fix(folders): make the folder overlay crash-safe and consistent 2026-11-07 17:29:57 +08:00
vitest.config.ts chore: package dsh-workspace-groups v0.1.0 for GitHub distribution 2026-08-21 23:22:57 +03:00
workspace-groups.example.yaml chore: package dsh-workspace-groups v0.1.0 for GitHub distribution 2026-08-21 23:22:57 +03:00

README.md

English · 简体中文

dsh-better-workspace-group

A workspace grouping plugin for DeepSeek Harness. Built on z-col/dsh-workspace-groups, it keeps workspaces, folders, and sessions easier to organize and use from the sidebar.

Preview

Workspace grouping plugin preview

Implemented features

  • Workspace groups: browse by group → project → session, with group creation, renaming, deletion, folding, and pinning.
  • Drag-and-drop organization: move projects into or out of groups and reorder groups and projects.
  • Group appearance: set group colors and icons, including a new Materials & Lab section for lab work, material structures, characterization, and functional devices.
  • Multiple folders per project: attach extra folders, choose the default root, and place sessions under the folder that matches their working directory.
  • Local and remote directories: create folders in local workspaces and registered SSH remote workspaces without falling back to a local mirror when a remote operation fails.
  • Session tabs: open, switch, pin, rename, reorder, and close tabs, including closing other tabs or tabs to the right.
  • Sidebar refinements: keep the default workspace pinned at the bottom, align row metadata and actions consistently, and scroll long appearance dialogs.
  • Search and persistence: search sessions without losing their group context and keep groups, ordering, tabs, and folder settings across refreshes and restarts.

Install

For the Desktop profile:

dsh plugin --profile desktop add github:newbieQQ/dsh-better-workspace-group

For Web, replace desktop with web. Fully restart DSH or the corresponding Web profile after installation.

Basic use

  1. Click New Group in the workspace header, then drag projects into it.
  2. Use the ⋯ menu on a project or group to manage grouping, appearance, and folders.
  3. Open Folders… on a project to attach folders or choose its default root.

For automatic grouping by path or name, see workspace-groups.example.yaml and configure ~/.dsh/workspace-groups.yaml. Manual grouping works without this file.

Uninstall

dsh plugin --profile desktop remove workspace-groups-local

Credit and license

The original project was created by zcol under the MIT License. This fork adds Materials & Lab icons, the bottom default-workspace bar, consistent row actions, remote-workspace folders, and other refinements.

Original work © 2026 zcol; modifications © 2026 newbieQQ. See LICENSE and NOTICE.md.