Groups workspaces in the DSH sidebar into renameable groups with drag-and-drop ordering.
Install
# from npm (prebuilt)
dsh plugin --profile web add @lkzc19/dsh-workspace-virtual-groups
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:lkzc19/dsh-workspace-virtual-groups
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
给 DSH 侧边栏的工作区列表加一层手动虚拟分组。项目仍在原目录,插件只改变显示归属和顺序。
功能
- 内置「默认」分组固定第一,不可重命名或删除。
- 新建、重命名、删除分组;删除后组内项目回到默认。
- 把项目行拖到分组标题上即可归组;拖分组标题可调整顺序。
- 分组标题的
⋯菜单:添加工作区、重命名分组、删除分组。 - 官方「视图选项 → 分组方式」新增「按虚拟分组」;选择其他模式即回到官方分组。
- 分组和排序保存在插件自己的 JSON 中,不修改官方工作区数据。
安装
dsh plugin --profile desktop add @lkzc19/dsh-workspace-virtual-groups
从源码安装(lib/ 是构建产物,不入库,需先构建):
git clone https://github.com/lkzc19/dsh-workspace-virtual-groups.git
cd dsh-workspace-virtual-groups
npm install
dsh plugin --profile desktop add "$PWD"
安装后重启桌面端或对应的 dsh web 进程。git URL 直装不可用:pnpm 不对 git 依赖执行 prepare,拿到的源码没有 lib/。
卸载:
dsh plugin --profile desktop remove @lkzc19/dsh-workspace-virtual-groups
使用
- 打开侧边栏「工作区」区域。
- 点击标题栏的「新建分组」创建分组。
- 把项目行拖到分组标题上完成归类。
- 需要回到官方分组时,在「视图选项 → 分组方式」选择「按工作区」「按工作区树」或「单列表」;再选「按虚拟分组」即可切回。
数据
手动分组、归属、排序和视图模式保存在:
$DSH_HOME/workspace-virtual-groups.manual.json
兼容性
- 面向 DSH 0.2.x,桌面端和
dsh web共用同一套代码。 - 插件依赖官方侧边栏的 DOM 结构;DSH 大版本升级后如果结构变化,插件会退化为不分组,不会破坏官方数据。
- 桌面端和 Web 端使用不同的 profile,需要分别安装。
开发
npm install # 装依赖并构建
npm run build
npm test
产物:Host lib/index.js,Client lib/client.js。lib/ 已 gitignore。
许可证
MIT。基于 z-col/dsh-workspace-groups(MIT)修改。完整许可见 LICENSE。
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10458
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10458
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 7797
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7271
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5191
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1007
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.