DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Zombie Gc — DSH Plugin for DeepSeek Harness
← Plugins
Z

dsh-zombie-gc

Zombie Gc

One-shot zombie-agent GC: at boot, find agents flagged running whose session log already ended (turn/end + session/end-seed) and settle them (agent.cancel + whenIdle) so the client never subscribes to a phantom running session.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:DosterBool/dsh-zombie-gc#767038b93de9efb5779959cdfe8ab4de695e6036
READMECompatibilityVersions

Compatibility and provenance

Zombie Gc is published as dsh-zombie-gc and currently resolves to version 0.2.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
8/22/2026

Versions

0.2.0stable
8/22/2026
0.1.0stable
8/22/2026

Related plugins

Loading related plugins…

Latest
0.2.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
MIT
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
8/22/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in

Related plugins

More verified plugins in agents-orchestration.

Headless@deepseek-ai/dsh-headlessThe dsh one-shot bundle: a direct core Agent/Session runner over dsh-base with no Host, HTTP, or browser layerExperimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsSubagent Codex@deepseek-ai/dsh-subagent-codexOne-shot Codex subagent provider over the official app-server protocolSubagent Claude Code@deepseek-ai/dsh-subagent-claude-codeOne-shot Claude Code subagent provider over the official Agent SDK

README

dsh-zombie-gc · 僵尸 agent 清理

DeepSeek Harness (dsh) 插件:开机自动清理"已收尾但 agent 仍挂 registry"的僵尸会话,防止客户端"退出重进后输入框卡死"。

背景:这个 Bug 是什么

dsh 0.1.1 启动时会恢复所有持久化会话(restore 机制,为每个会话补写 session/end-seed)。恢复的"已结束"会话在 agents registry 里被挂上 live agent 条目——但该 agent 没有活干,处于空闲僵尸态(registry 保留它,这是缓存复用设计,不清理)。

之后用户退出再进入该会话:客户端订阅到僵尸 agent → 输入相位被锁 → 输入框表现为"能聚焦但打不进字"。日志证据:会话以 turn/end + session/end-seed 正常收尾(挂起回合 = 0),列表却显示 running: True。

工作原理

插件在 bundle 挂载 12 秒后(等待恢复过程完成)执行一次:

  1. 枚举 agents registry 里有条目的会话
  2. 从会话对象自带 log 读事件尾部,判定是否已正常收尾(回扫最后 30 条:遇到 turn/end/session/end-seed → 已结束;遇到 turn/start/step/start/agent/request → 仍在跑)
  3. 已收尾的调用 agent.cancel({ kind: 'user' }) + 等待 whenIdle,让 agent 结算退出

绝不触碰真正运行中的会话(尾部仍是进行态事件的会被跳过)。

安装

dsh plugin --profile web add file:D:/path/to/dsh-zombie-cleaner

重启 DSH 生效。插件本身零依赖(只需 Node 24 的 node:zlib)。

已知边界

  • running 红点标记可能仍显示(agent 空闲态计算结果显示,不影响功能)。这是 registry 缓存复用的设计,非本插件可清
  • 只清理"日志已收尾"的确定性僵尸;运行中的会话一律保留

License

MIT