seekerwxy/dsh-workspace-pin
seekerwxy★ 0JavaScript最后同步: 2026-08-15
DSH (DeepSeek Harness) dynamic Cordis plugin: pin/unpin workspaces from the sidebar three-dot menu. 置顶工作区插件。
README 摘要
DSH Workspace Pin(置顶工作区) A dynamic Cordis plugin for DeepSeek Harness (DSH) that adds Pin to top / Unpin actions to the project (workspace) rows in the sidebar, right inside the existing "⋯" (three-dot) menu . Pinned workspaces are fixed at the top of the workspace list and the state persists across reloads. 为 DeepSeek Harness 侧边栏工作区列表增加 置顶 / 取消置顶 能力:左键点击项目(工作区)行的"三个点"菜单即可置顶,置顶的工作区固定在列表顶部,状态持久化,刷新页面依然生效。 Features(功能) - Pin / Unpin from the three-dot menu — 左键点击工作区行"⋯"菜单 → 置顶 / 取消置顶(保留原有 重命名、删除) - Pinned-first ordering — 置顶的工作区按置顶先后固定在列表最顶部(最新置顶在最前) - Pin badge — 置顶的项目标题旁显示图钉标记;侧边栏 rail 图标模式下也有图钉角标 - Persistent state — 置顶列表持久化在工作区根目录 .dsh-workspace-pins.json - Fully reversible — 插件以 priority: -1 shadow 内置浏览器,停止/卸载插件后内置界面自动恢复 - Core interactions preserved — 分组/展开收起、会话行(状态点、相对时间、重命名/分叉/归档菜单)、新建会话、rail 模式 How it works(工作原理) DSH 的 sidebar.workspaces 区域是一个 single slot,其"⋯"菜单项硬编码在内置 ui-workspace 包中,没有菜单注入点。本插件注册一个 priority: -1 的替换条目 shadow 内置浏览器(内置为 priority: 0 ),以同样的数据源( useWorkspaces / useSessions )重新渲染工作区列表,并在菜单中加入"置顶"项。 - Host half:通过 harness.handle 暴露 get-pins / set-pin 私有 RPC,将置顶 id 列表持久化到工作区根 .dsh-workspace-pins.json (使用 fs 服务) - Client half:注册 sidebar.workspaces 替换浏览器 + 置顶排序 + 菜单 …
在 GitHub 查看完整 README →分类
Plugin and skin collection for DeepSeek Harness (DSH) Web UI - task board, git graph, right-side panel, remote mobile UI, pet, live token stats, and skin center.
★ 2,452
omdsh-dev/DSH-better-sidebar一个侧边栏的完整工作台,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/Git/子代理
★ 1,027
Small-tailqwq/dsh-deep-whaleDSH Web 鲸鱼娘皮肤系列(深海女仆工坊 maid-atelier)——CC BY-NC-SA 4.0
★ 822