dsh-sim-restart
Simulated-restart test plugin for DeepSeek Harness: validates that a plugin survives a process restart (module eval → shape → apply → smoke run → dispose → clean exit) in an isolated subprocess, without actually restarting DSH. A resident watcher auto-tests plugins on install/modify/remove and pushes failure diagnostics back to the agent until all pass.
AI 分析
核心用途是为 DSH 插件开发者提供安全的重启存活与销毁测试环境。适合进行 DSH 插件开发与调试的技术人员。需要 Node.js ≥ 20。
インストール
検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗
ドキュメント
README 全文を読む ↗Configuration
| Key | Default | Description |
|---|---|---|
watchEnabled | true | Enable the resident auto-testing watcher |
pollMs | 2000 | Watcher scan interval (ms) |
debounceMs | 2500 | Debounce before testing after a change (ms) |
rounds | 2 | Rounds per auto-tested plugin (1–4) |
smokeMs | 800 | Smoke-run duration per round (ms) |
profileDir | ~/.dsh/profiles/web | Target DSH profile root to watch and test |
stubsMap | Lark defaults | Plugin-name → stub list for external connections (e.g. deepseek-harness-lark WebSocket) |