DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
S

dsh-session-list-refresh

Session List Refresh

DSH 侧边栏刷新操作,用于重新拉取会话目录,因此由其他进程创建的会话(例如无头自动化任务)无需重新加载页面即可显示。

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

npx -y @deepseek-ai/dsh plugin --profile web add github:catchman117/dsh-session-list-refresh#fd3da3f2b001c6ad8bb50f0bc066dbda52e81c27
README兼容性版本

兼容性与来源证明

Session List Refresh 以 dsh-session-list-refresh 发布,当前版本为 1.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

1.1.0stable
2026/10/21

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Experimental Schedule Bundle@deepseek-ai/dsh-experimental-schedule-bundle为 Web 组合添加 Schedule、其任务页面和时间上下文的可选捆绑包Ab Ocrdsh-ab-ocr--- description: "外部 ocr 工具:逐页识别扫描的 PDF 或图像,仅在处理完最后一页后按顺序合并页面,并使用模型确定的标题级别保存为一个 Markdown 文档。" kind: "package-reference" ---Archive Manager@michengai/dsh-archive-manager归档、恢复、收藏和永久删除会话,并诊断损坏的会话日志。

README

dsh-session-list-refresh

A tiny DeepSeek Harness (DSH) client plugin that adds a refresh action to the sidebar foot. It re-pulls the session catalog so sessions created by another process — most notably DSH headless automation tasks — show up immediately, without reloading the page.

简体中文 | 繁體中文


Why

DSH keeps one shared session store for every process using the same DSH_HOME. A headless automation run (dsh --profile headless …) writes its session there, and the running GUI can even own the workspace membership write — but the browser only fetches the session catalog when the connection is established (session.list on connect/reconnect, plus live additions for sessions the GUI itself creates).

So when an automation task finishes while the GUI is open:

  • the session exists on disk,
  • its workspace membership may already be correct,
  • and the sidebar still shows no row for it, because the client has no summary for that session id.

Today the only ways to see it are a page reload, a WebSocket reconnect, or restarting DSH. This plugin adds the missing one-click equivalent — without losing your view, drafts, or scroll position.

What you get

  • A refresh icon in the sidebar foot (sidebar.footer.action, beside Settings).
    • Expanded sidebar: icon + “Refresh”.
    • Collapsed 56 px rail: a 36×36 icon button.
  • Click → the icon spins → a short result notice appears at the lower left:
    • Refreshed: 2 new session(s)
    • Refreshed: no new sessions
    • Refresh failed: …
  • Zero writes. The action only calls the client’s existing ctx.sessions.refresh(); it does not touch session logs, workspace records, or configuration.

Requirements

  • DSH 0.2.x (Desktop or Web) — developed and tested against 0.2.1-rc.2 Desktop on Windows.
  • No dependencies, no network calls, no build step.

Install

Desktop

Settings → Plugins → add the bundle from github:catchman117/dsh-session-list-refresh, or point it at a local checkout of this repository.

After install, reload the page once (Ctrl+R / Cmd+R) so the browser loads the new client module. If the Host row did not hot-load, restart DSH once.

CLI profile

dsh plugin --profile web add github:catchman117/dsh-session-list-refresh

Then restart the Web runtime if the button does not appear after a reload.

Usage

Click the refresh icon at the bottom of the sidebar. The list is re-fetched in place:

  • sessions appear under their workspace group — or under Ungrouped when no workspace membership has been recorded for them;
  • the tooltip / accessible label follows the active locale (en / zh; DSH's built-in Chinese locale is Simplified Chinese with Mainland terminology);
  • repeated clicks are cheap and idempotent (“no new sessions”).

Tip: if the sidebar footer is crowded, the compact 36×36 variant appears when the sidebar is collapsed to its rail.

How it works

client.js registers a React component into the root-scoped sidebar.footer.action list slot through ctx.slots.inject + ctx.slots.register. On click it calls ctx.sessions.refresh(), which re-issues the Host session.list RPC and rebuilds the client-side session snapshot.

Two nearby questions, answered:

  • Why not just reload the page? A reload does the same catalog fetch but throws away UI state (scroll position, drafts, open panels) and takes far longer.
  • Why not refresh the workspace too? Workspace membership is pushed by the Workspace Controller’s follow() stream and updates live whenever the change happens inside the same Host process. There is no client-side workspace refresh, and none is needed here.

Gaps this plugin deliberately does not fill:

  • It does not create workspace membership. A session whose owner never registered one will appear under “Ungrouped”.
  • It does not run on a timer. If you want automatic refresh, a future version could add an interval or a focus/visibility trigger.

Limitations

  • ctx.sessions.refresh() is a Client Session Controller method used by shipped UI (e.g. the session manager), but it is not part of the live Service inspection catalog. A future DSH release could rename it; the button fails soft (an error notice) instead of breaking the app.
  • The sidebar’s session-list header has no extension point — the Workspace browser exposes no action surface there. Adding a button inside the header would mean shadowing the whole browser, so this plugin uses the footer seat instead.
  • Display state only: no session, workspace, or configuration data is modified.

Development

node --check index.js
node --check client.js

CI runs the same syntax and manifest checks (see .github/workflows/check.yml).

FilePurpose
cordis.patch.ymlBundle patch: inserts the plugin row.
index.jsHost half. Exports an empty apply() — this plugin needs no Host capability.
client.jsBrowser half: window.__ModuleLoader__ factory, slot registration, and the refresh action.
locale/en.json, locale/zh.jsonPlugin Manager display metadata.
icon.svgPlugin icon.

License

MIT