dsh-active-workspace-top
Manifest validDSH plugin: keeps the workspace you last messaged at the top of the workspace list. 把最近发过消息的工作区自动排到最前面。
dsh-active-workspace-top
给 DSH 的工作区列表加一条自动规则:最近一次发送过用户消息的工作区,自动排到最前面。
顺序会真正写进 DSH 的工作区注册表并持久化,重启后还在。纯宿主插件:不加载浏览器端代码,不新增界面元素。
行为
- 只认你真正发出去的用户消息:新消息、排队消息、中途引导都算;新建空会话、点开会话、模型回复、后台任务、定时任务不算。
- 消息落地后,该会话所属工作区立刻移到第一位;同一个工作区连续发消息,已经在第一位就不动。
- 在不同工作区交替发消息,就等于按「最近发过消息」排序。
- 手动拖拽仍然有效;但下次在某个工作区发消息时,它又会被挪到第一位。
- 新装或重启不补历史,从下一条用户消息开始生效。
安装
在 DSH 的「插件」页 → 「添加插件」里填:
github:dongkid/dsh-active-workspace-top
也可以直接填 https://github.com/dongkid/dsh-active-workspace-top 。安装后默认启用。
本地开发时,填本目录的绝对路径同样可以安装。
开关
「插件」页里本插件这一行的启用/禁用开关。停用后立即不再自动排序,已经排好的顺序不动。
已知边界
- 「按工作区树」分组:层级优先,嵌在父级下面的工作区可能看起来没动。
- 「单列表」分组:没有工作区分组,不受影响。
- 不属于任何工作区的会话发消息不会触发排序。
- 用命令行或其它客户端发消息同样生效(只要 DSH 宿主在跑)。
文件
- lib/ 宿主插件与排序规则
- docs/dsh-dependencies.md 依赖的官方接口清单与 DSH 升级复查点
- AGENTS.md 维护规则
- tests/ 单元测试
测试
npm test
许可
MIT
Comments
Loading…
Similar plugins
by loklamlok
DSH web plugin: reorder queued messages (up / down / top / bottom) before the agent processes them.
★ 0
MIT
JavaScript
Aug 17, 2026
dsh plugin --profile web add dsh-queue-directorby masknull
DSH 插件:添加工作区时记住上次使用的目录,下次打开浏览对话框直接定位(预填 + 自动记忆,官方流程不动)。 | DSH plugin: remember the last used workspace directory for Add workspace - prefill + auto-memory over the official flow.
★ 0
MIT
JavaScript
Aug 30, 2026
dsh plugin --profile web add dsh-workspace-default-pathby LostAbaddon
DeepSeek Harness sidebar plugin: orders Workspaces by their newest conversation and makes the per-Workspace visible conversation count configurable in Settings (default 5).
★ 0
MIT
JavaScript
Oct 17, 2026
dsh plugin --profile web add dsh-workspace-sortby gorban
DeepSeek Harness (dsh) plugin: stop a running background job from the session-header job list, behind a confirmation dialog.
★ 1
↓ 276/wk
MIT
TypeScript
Sep 20, 2026
dsh plugin --profile web add @gorban/dsh-job-stopby masknull
DSH 插件:用户消息超过 10 行时自动折叠。 | DSH plugin: auto-collapse long user messages (over 10 lines) in the web chat.
★ 0
MIT
JavaScript
Oct 17, 2026
dsh plugin --profile web add dsh-message-collapseby Momojie-S
DSH plugin: per-workspace .env injection for shell subprocesses
★ 2
MIT
JavaScript
Oct 10, 2026
dsh plugin --profile web add @momojie-s/dsh-workspace-env