All plugins

DSH / BUNDLE / CLIENT-UI

@adamcjm/dsh-workspace-visibility

v0.2.7adamcjm / dsh-workspace-visibility1da388436f

InstallableBundlesUI & client pluginsCommunity · Topic auto-analysisWeb UI

Overview

@adamcjm/dsh-workspace-visibility

Hide selected workspaces — and the sessions they own — from the DSH sidebar, then bring them back with a Show hidden workspaces switch in the sidebar view options. Display-only: workspace, session and archive data are never modified.

README / EN

Package documentation

Registry summary

Hide selected workspaces — and the sessions they own — from the DSH sidebar, then bring them back with a Show hidden workspaces switch in the sidebar view options. Display-only: workspace, session and archive data are never modified.

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

- **Host 状态,同一 Host 上的所有客户端共享。** 隐藏集合与开关存在 `$DSH_HOME/storages/workspace-visibility.json`;连接同一个 Host 的浏览器、标签页、 Desktop 与 web 界面看到同一份集合,跨 Desktop 重启与随机端口保留,清站点数据也不会丢。 连接不同 Host(或不同 `DSH_HOME`)的客户端各有自己的状态。 - **两个菜单项是 DOM 追加的。** 未来侧边栏改版可能移动菜单;隐藏本身不受影响(走数据投影)。 如升级后菜单项消失,隐藏集合仍在 Host 状态文件里,重装或升级插件后菜单即恢复。 - **隐藏工作区的展开状态会丢。** 官方视图 store 会清理“看不见的工作区”的展开记录, 恢复后该组默认折叠。 - **正在使用的工作区也可以隐藏。** 侧栏行与该组会话消失,主视图里正在进行的对话不受影响; 用开关把行找回来即可。 - **与归档视图的交互。** 切到官方的「全部对话(显示已归档)」时,被隐藏工作区的会话会以 已归档行出现在「未分组」(投影把它们标成了视图层已归档)。默认的「隐藏已归档」视图不受影响。 - **不属于工作区注册表。** 状态文件归本插件所有;未安装本插件的 TUI 会话或另一套 DSH 安装照旧看到全部工作区。