DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Pinned Session Bar — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
P

dsh-pinned-session-bar

Pinned Session Bar

一个 DSH(DeepSeek Harness)Web GUI 客户端插件:在侧边栏工作区列表上方提供专用的 Pinned 栏,汇总所有已固定的会话,并支持跨容器拖放。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:YubaiLoving/dsh-pinned-session-bar#71bccbdb184d89197bdd0dd97f268f9dc62f9270
README兼容性版本

兼容性与来源证明

Pinned Session Bar 以 dsh-pinned-session-bar 发布,当前版本为 1.0.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/10/10

版本

1.0.0stable
2026/10/10

相关插件

正在加载相关插件…

最新版
1.0.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/10/10
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Ab Chartdsh-ab-chart带有绘制其调用的浏览器卡片的图表渲染工具,封装在一个可发布的插件包中Client Ui Skill Explorer@linxin666/dsh-client-ui-skill-explorerDSH 技能中心:按来源(bundled / project / user / custom / runtime)浏览已加载的技能,在 Web GUI 面板中启用或禁用、创建和删除技能。

README

Pinned Session Bar

English · 中文

A client plugin for the DeepSeek Harness (DSH) Web GUI. It adds a dedicated Pinned bar directly above the sidebar's workspace / session list, collects every pinned session there, and lets you drag sessions between the bar and the workspace list.

Features

  • One place for pinned sessions — reads the Host-persisted pin set (ctx.workspaces.list → pinnedSessionIds) and lists every pinned session above the workspace list.
  • Cross-container drag and drop
    • Drag a session row from the workspace list onto the bar → pins it (ctx.workspaces.pinSession) and places it first.
    • Drag a row from the bar back onto the workspace list → unpins it (ctx.workspaces.unpinSession).
    • While a drag hovers the bar, the bar shows an accent outline and a "release to pin" hint.
  • Reorder inside the bar — drag rows up and down; the order is kept in browser storage (localStorage: dsh.pinnedBar.order.v1).
  • Fresh pins lead — a newly pinned session the bar has never ordered jumps to the front, matching DSH's "a pin moves the session to the front" semantics; rows you already arranged keep their relative order.
  • Selected highlight — the session you are currently viewing is highlighted (the same rule as the shipped list: retainedBy.mainView > 0, suppressed while a global panel is open) and carries aria-current.
  • Unpin button — an ✕ appears on row hover; identical to dragging the row out.
  • Open — click a row (or press Enter / Space) to open that session.
  • Collapsible — click the bar heading to fold it; the state is kept in localStorage: dsh.pinnedBar.collapsed.v1.
  • Hides itself in the rail — when the sidebar collapses to its 56px rail, a container query hides the bar.

The shipped session list is left untouched: pinned rows still appear at the top of their workspace groups. The bar is an additional, collected view — not a replacement.

Install

From GitHub (recommended)

plugin_manager install_bundle target="github:YubaiLoving/dsh-pinned-session-bar"

Or paste the same spec into the Plugins page of the Web GUI. DSH installs the package, enables the bundle, and the bar appears after the page reloads.

Manual

  1. Place the package under the profile's node_modules:
~/.dsh/profiles/<profile>/node_modules/dsh-pinned-session-bar/
  1. Add a loader row to cordis.patch.yml, or declare the package in the profile's dsh.profile.bundles:
- insert:
    - id: ui-pinned-bar
      name: 'dsh-pinned-session-bar'
  1. Reload the page; restart DSH only if the row still does not appear.

How it works

ConcernApproach
Extension pointRegisters into the shell.overlay slot (list, root scope) and renders into the sidebar DOM through react-dom's createPortal
Mount positionA sibling node immediately before [data-slot="sidebar.workspaces"] — the top of the sidebar's region area, directly above the workspace list
DataThe shared Client services ctx.workspaces / ctx.sessions, not slot props
Drag protocolNative HTML5 drag and drop — the same protocol the shipped browser uses for its own rows, which is what makes cross-container moves possible. A capture-phase dragstart on document identifies an outside row ([data-row-key^="session:"]), dragover keeps a drop legal anywhere, and drop turns "dropped back onto the list" into an unpin
Selected rowSame rule as ui-workspace: the session with retainedBy.mainView > 0; the panel share is read through the usePanelInfo standard prop (falls back to no highlight when absent)
OrderingThe Host owns pin membership; the bar owns only its presentation order (browser-local), exactly as the shipped browser keeps its own view state
DependenciesPlatform-seeded modules only: react and react-dom; icons are inline SVG
RobustnessMutationObserver + requestAnimationFrame re-asserts the mount point; the drag source lives in a ref so no React commit can race the gesture; the stylesheet is installed once and never torn down — a hot reload runs the outgoing fiber's disposers around the incoming fiber's startup, so tearing it down deletes the new instance's styles

The bar mounts by DOM insertion because sidebar.workspaces is a single slot — replacing it would shadow the shipped browser — and the sidebar declares no list slot above it, so there is no additive seat to register into.

Requirements

  • DSH Web GUI with the browser surface (@deepseek-ai/dsh-web-app); developed and verified against DSH 0.2.0-rc.2.
  • Two DOM contracts are used: [data-slot="sidebar.workspaces"] and [data-row-key^="session:"].

Known limitations

  • Depends on the two DOM contracts above; if a future DSH changes the slot marker or the row key, the matching selector needs updating.
  • The bar's order is browser-local and independent of the shipped list's "manual" ordering (that state belongs to ui-workspace's own view store).
  • Dropping a row back onto the list only unpins it; the exact landing position still follows the shipped browser's ordering rules.
  • Dragging is unavailable while the sidebar is collapsed to the rail, where the bar is hidden.

Development

node test/smoke.mjs

The smoke test loads lib/client.js inside a stub of the browser module-loader frame (React, DOM, services) and exercises registration, ordering, the selected highlight, in-bar reordering, drop-to-pin, drop-to-unpin, collapse, open and keyboard paths. It cannot validate real layout or the live services, but it executes every path of the shipped bundle.

Discoverability

This repository carries the dsh-plugin GitHub topic, as the DeepSeek Harness documentation asks of plugin repositories.

License

MIT