{ "name": "@zhengjunyao/dsh-restart", "version": "0.1.2", "description": "One-click restart for DeepSeek Harness: a web button (plus a dsh_restart agent tool) hands the relaunch to a detached helper that waits for the port to free, relaunches the exact same command, streams the new host's output, auto-reconnects the page — and shows the boot errors in a recovery console when the new host dies", "type": "module", "main": "lib/index.js", "exports": { ".": "./lib/index.js", "./client": "./lib/client.js", "./package.json": "./package.json" }, "dsh": { "bundle": { "patch": "./cordis.patch.yml" }, "client": { "inject": [ "@deepseek-ai/dsh-client-runtime", "@deepseek-ai/dsh-client-connection", "@deepseek-ai/dsh-client-ui-settings" ], "platform": "web" }, "engines": { "dsh": ">=0.1.5-rc.1" } }, "files": [ "lib", "helper", "cordis.patch.yml", "README.md", "README.zh.md", "LICENSE", "CHANGELOG.md" ], "keywords": [ "dsh", "dsh-plugin", "deepseek-harness", "restart", "reload", "supervisor", "重启", "panel" ], "license": "MIT", "engines": { "node": "^22.19.0 || >=24.0.0" }, "scripts": { "build": "tsc -p tsconfig.build.json && tsdown", "bundle": "tsdown", "typecheck": "tsc --noEmit", "test": "node tests/smoke.mjs && node tests/helper.mjs && node tests/routes.mjs && node tests/handoff.mjs && node tests/launchd.mjs", "verify": "node scripts/portability.mjs --health /api/dsh-restart/probe", "verify:quick": "node scripts/portability.mjs --skip-audit --stability 5 --health /api/dsh-restart/probe", "prepare": "npm run build", "verify:full": "node scripts/portability.mjs --health /api/dsh-restart/probe --restart-route /api/dsh-restart/restart" }, "peerDependencies": { "@deepseek-ai/cordis": "^4.0.1", "@deepseek-ai/dsh-client-connection": "^0.1.0-rc.6 || ^0.1.1-rc.1 || ^0.1.2-alpha.1 || ^0.1.5-rc.1", "@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6 || ^0.1.1-rc.1 || ^0.1.2-alpha.1 || ^0.1.5-rc.1", "@deepseek-ai/dsh-host-webserver": "^0.1.0-rc.6 || ^0.1.1-rc.1 || ^0.1.2-alpha.1 || ^0.1.5-rc.1", "@deepseek-ai/dsh-system-prompt": "^0.1.0-rc.6 || ^0.1.1-rc.1 || ^0.1.2-alpha.1 || ^0.1.5-rc.1", "@deepseek-ai/dsh-tools": "^0.1.0-rc.6 || ^0.1.1-rc.1 || ^0.1.2-alpha.1 || ^0.1.5-rc.1", "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { "@deepseek-ai/cordis": "^4.0.1", "@deepseek-ai/dsh-client-connection": "0.1.5-rc.1", "@deepseek-ai/dsh-client-ui-renderer": "0.1.5-rc.1", "@deepseek-ai/dsh-client-ui-settings": "0.1.5-rc.1", "@deepseek-ai/dsh-client-ui-slots": "0.1.5-rc.1", "@deepseek-ai/dsh-host-webserver": "0.1.5-rc.1", "@deepseek-ai/dsh-llm": "0.1.5-rc.1", "@deepseek-ai/dsh-system-prompt": "0.1.5-rc.1", "@deepseek-ai/dsh-tools": "0.1.5-rc.1", "@types/node": "^22.20.0", "@types/react": "~18.3.1", "@types/react-dom": "~18.3.5", "lightningcss": "1.32.0", "react": "^18.3.1", "react-dom": "^18.3.1", "tsdown": "0.22.2", "typescript": "~5.7.2" }, "repository": { "type": "git", "url": "https://github.com/zhengjy01/dsh-restart" }, "publishConfig": { "access": "public" } }