DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Auto Reconnect — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
A

dsh-auto-reconnect

Auto Reconnect

面向 DSH Web 客户端的仅客户端自动重连:在可见性、焦点、交互事件以及终止断开时唤醒连接控制器——弥补 @deepseek-ai/dsh-client-connection 的盲点

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

npx -y @deepseek-ai/dsh plugin --profile web add github:tqcq/dsh-auto-reconnect#1e50f9918d447fd8775e44f00588596d18f6d4a8
README兼容性版本

兼容性与来源证明

Auto Reconnect 以 dsh-auto-reconnect 发布,当前版本为 0.2.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

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

版本

0.2.1stable
2026/9/11

相关插件

正在加载相关插件…

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

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Im@xmanrui/dsh-im将十一种 IM 渠道和一个公网 AI Office 接入本地 DeepSeek Harness。Pocketdsh-pocket把 DeepSeek Harness 装进你的口袋:一个包、一个设置页,手机扫码即同步访问电脑上的 DSH(局域网 + 公网,实时同屏)。DSCODE@toddzheng024/dscode-bundle完整的 DeepSeek 编码代理,支持持久化 shell、Ultra 协作和自动权限审查。Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理

README

dsh-auto-reconnect

English | 中文

Auto-reconnect for the DeepSeek Harness (DSH) web client. The official connection controller has backoff reconnect built in, but it sleeps through two real-world scenarios — this plugin wakes it. Client-only, zero build, no official package touched.

Install / Uninstall

dsh plugin --profile web add github:tqcq/dsh-auto-reconnect

Then restart dsh-web — adding or removing plugins always needs a restart; a browser refresh alone is not enough.

Upgrade (re-running add won't move the resolved commit; update re-resolves):

dsh plugin --profile web update dsh-auto-reconnect

Uninstall:

dsh plugin --profile web remove dsh-auto-reconnect

Runtime tweak, no reinstall needed (then reload the page):

localStorage["dsh-auto-reconnect"] = JSON.stringify({ minIntervalMs: 3000, retryDelayMs: 3000, maxAutoRetries: 20, log: true });

Two blind spots in the official controller (source-audited)

Audited against the actually-served @deepseek-ai/dsh-client-connection 0.1.2-rc.1:

  1. Terminal disconnected sleeps forever. Once the official 500ms→10s backoff tops out, the controller enters a terminal state and only wakes on the browser online event or a manual tap. Phone sleep/wake keeps navigator.onLine === true the whole time, so online never fires — every wake-up needs a manual tap.
  2. Zombie connected. The official client has no visibilitychange / focus listener and no heartbeat. A silently dropped TCP leaves the WebSocket in OPEN while the state still reports connected.

What this plugin does

Listens to visibilitychange(→visible), focus, pointerdown, keydown, pageshow(persisted), and subscribes to the connection state store:

  • Event wakes: call connection.reconnect() only when state ≠ connected (resets backoff, retries immediately) — never interrupts a healthy connection.
  • bfcache restore (persisted): sockets are dead by definition, reconnect unconditionally.
  • Transition into terminal disconnected: delayed auto-retry (default 3s), budgeted to 20 consecutive attempts, reset on connected. Covers "page already visible and focused, no browser event will ever fire again" (2026-09-11 field report: a hard refresh after a host restart landed in terminal state, still needed a manual tap).

Every trigger logs with a [dsh-auto-reconnect] prefix (DevTools console forensics), throttled to 3s by default.

Compatibility

  • Field-verified on host @deepseek-ai/dsh 0.1.5-rc.2 (boot activation assertions all green).
  • Client contract audited against dsh-client-connection 0.1.2-rc.1 source.
  • Shape mismatch on ctx.connection → warn and stay idle, never breaks the page: graceful degradation on API drift.

Limitations

The general form of zombie connected (background tab NAT-dropped, no OS sleep) cannot be detected client-side: the RPC unary channel is separate HTTP, so a successful probe does not prove the WebSocket is alive. The real fix is a host-side heartbeat + dead-connection sweep (prior art: the deprecated enterhalf/dsh-web-network-optimizer) — a separate plugin if ever needed.

Tests

node tests/client_test.js   # 14 groups, vm-sandboxed DOM/connection stubs, no browser

Forking notes

  • The in-repo cordis.patch.yml must stay []: a comment-only YAML file parses to null and kills profile boot.
  • Client-code-only changes need just a browser hard refresh, no dsh-web restart.

License: MIT (see LICENSE).