{ "name": "dsh-awake", "version": "0.2.1", "description": "DeepSeek Harness 防休眠插件(守夜人):agent 任务执行期间阻止操作系统休眠,任务结束后恢复;方式子系统(systemd-inhibit / GNOME gsettings / caffeinate / pmset / PowerShell / powercfg)+ 浏览器 Wake Lock + 一键更新", "keywords": [ "deepseek-harness", "dsh", "plugin", "wake-lock", "sleep", "caffeinate", "systemd-inhibit", "anti-sleep" ], "license": "MIT", "type": "module", "main": "lib/index.js", "types": "lib/types/index.d.ts", "exports": { ".": { "types": "./lib/types/index.d.ts", "default": "./lib/index.js" }, "./client": { "types": "./lib/types/client/index.d.ts", "default": "./lib/client.js" }, "./cordis.patch.yml": "./cordis.patch.yml", "./package.json": "./package.json" }, "dsh": { "plugin": { "schemaVersion": 1, "displayName": { "zh-CN": "防休眠", "en": "Awake" }, "summary": { "zh-CN": "agent 任务执行期间阻止操作系统休眠,任务结束后恢复;支持 systemd / GNOME / macOS / Windows 多方式回退与浏览器 Wake Lock。", "en": "Keep the OS awake while agent tasks run; multi-mode fallback (systemd/GNOME/macOS/Windows) plus browser Wake Lock." }, "category": "system-utility" }, "client": { "inject": [ "@deepseek-ai/dsh-client-ui-slots", "@deepseek-ai/dsh-client-runtime", "@deepseek-ai/dsh-client-locale" ], "platform": "web" }, "bundle": { "patch": "./cordis.patch.yml" } }, "files": [ "lib", "cordis.patch.yml", "README.md", "LICENSE" ], "scripts": { "clean": "node -e \"fs.rmSync('lib',{recursive:true,force:true})\"", "typecheck": "tsc -p tsconfig.host.json --noEmit && tsc -p tsconfig.client.json --noEmit", "build": "pnpm run clean && tsc -p tsconfig.host.json && tsdown --config tsdown.host.config.ts && tsc -p tsconfig.client.json && tsdown --config tsdown.client.config.ts", "test": "vitest run", "test:watch": "vitest", "prepublishOnly": "pnpm run build" }, "peerDependencies": { "react": ">=18.2.0 <20.0.0" }, "devDependencies": { "@deepseek-ai/cordis": "4.0.1", "@deepseek-ai/schemastery": "3.18.1", "@testing-library/react": "^16.3.0", "@types/node": "^24.0.0", "@types/react": "^18.3.28", "@types/react-dom": "^18.3.7", "jsdom": "^29.0.0", "react": "^18.3.1", "react-dom": "^18.3.1", "tsdown": "^0.22.14", "typescript": "^6.0.3", "vitest": "^4.1.0" }, "engines": { "node": ">=20" } }