{"_id":"@a1soyo0/dsh-autostart","_rev":"3-44d6ea43c3bd9baa93e74730638da547","name":"@a1soyo0/dsh-autostart","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@a1soyo0/dsh-autostart","version":"0.1.0","keywords":["deepseek-harness","dsh","dsh-plugin","autostart","task-scheduler","windows-autostart","user-service","background"],"author":{"name":"A1SOYO0","email":"A1SOYO0@users.noreply.github.com"},"license":"Apache-2.0","_id":"@a1soyo0/dsh-autostart@0.1.0","maintainers":[{"name":"a1soyo0","email":"1450436996@qq.com"}],"homepage":"https://github.com/A1SOYO0/dsh-autostart#readme","bugs":{"url":"https://github.com/A1SOYO0/dsh-autostart/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-slots"],"platform":"web"}},"dist":{"shasum":"35d9f746ec5255311bc6158e16eb257f624f420e","tarball":"https://registry.npmjs.org/@a1soyo0/dsh-autostart/-/dsh-autostart-0.1.0.tgz","fileCount":10,"integrity":"sha512-zkvugh+WinVe1qOzd419GdGWIXTnqZDsRzWZTV2C708GbSNeR1iGWyD25BdKcBB64VuCY2VsEQFcV5f+XoMjww==","signatures":[{"sig":"MEYCIQCLHKACu49aq8+TgLgLZL4oWzYwzIFffKaLzAYfKRIRqgIhAPo7/rTOwE54YKE9SiL6FK0lNgN2uf2xfrHiWvoq0nYt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":101897},"main":"lib/index.mjs","type":"module","types":"lib/index.d.mts","exports":{".":{"types":"./lib/index.d.mts","default":"./lib/index.mjs"},"./client":{"types":"./lib/client.d.mts","default":"./lib/client.js"},"./package.json":"./package.json"},"gitHead":"8f9964d8122994bd07ad8b4ea804b7d68d2ab950","scripts":{"test":"vitest run","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"a1soyo0","email":"1450436996@qq.com"},"repository":{"url":"git+https://github.com/A1SOYO0/dsh-autostart.git","type":"git"},"_npmVersion":"10.9.7","description":"User-level AutoStart plugin for DeepSeek Harness (DSH): start DSH automatically on Windows boot before user login using Windows Task Scheduler with user credentials, preserving full user environment and DSH ACL sandbox compatibility.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"schemastery":"^3.18.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","react":"^18.3.1","tsdown":"^0.22.14","vitest":"^3.0.0","react-dom":"^18.3.1","typescript":"~5.7.2","@tsdown/css":"^0.22.14","@types/node":"^22.20.0","@types/react":"~18.3.1","lightningcss":"^1.33.0","@types/react-dom":"^18.3.5","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-settings":"^0.1.0-rc.6","@deepseek-ai/dsh-client-locale":"^0.1.0-rc.6","@deepseek-ai/dsh-system-prompt":"^0.1.0-rc.6","@deepseek-ai/dsh-client-runtime":"^0.1.0-rc.6","@deepseek-ai/dsh-host-webserver":"^0.1.0-rc.6","@deepseek-ai/dsh-client-ui-slots":"^0.1.0-rc.6","@deepseek-ai/dsh-client-ui-settings":"^0.1.0-rc.6"},"peerDependencies":{"react":"^18.2.0 || ^19.0.0","react-dom":"^18.2.0 || ^19.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-autostart_0.1.0_1787295198850_0.45716718283477253","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@a1soyo0/dsh-autostart","version":"0.1.1","keywords":["deepseek-harness","dsh","dsh-plugin","autostart","task-scheduler","windows-autostart","user-service","background"],"author":{"name":"A1SOYO0","email":"A1SOYO0@users.noreply.github.com"},"license":"Apache-2.0","_id":"@a1soyo0/dsh-autostart@0.1.1","maintainers":[{"name":"a1soyo0","email":"1450436996@qq.com"}],"homepage":"https://github.com/A1SOYO0/dsh-autostart#readme","bugs":{"url":"https://github.com/A1SOYO0/dsh-autostart/issues"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-slots"],"platform":"web"}},"dist":{"shasum":"309595f0cf7d998890aa60586db10e88de4201d1","tarball":"https://registry.npmjs.org/@a1soyo0/dsh-autostart/-/dsh-autostart-0.1.1.tgz","fileCount":10,"integrity":"sha512-5lvJJBki8WfnhnZqZj/QVb6fP7xH80oLv/17ojZwISod+SI7MvJAehfNxKcBAS1ToXrrpmRlg+0kcKJvW1ZFdQ==","signatures":[{"sig":"MEUCIQCzTEwKOm7ReGjnuMzAbO29cNl1HY9OI3Wj95+aDpexSwIgFfu7S6NnPsYEtPbE3ac7V09+leGZwsjEpXPAOAglJlg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":99908},"main":"lib/index.mjs","type":"module","types":"lib/index.d.mts","exports":{".":{"types":"./lib/index.d.mts","default":"./lib/index.mjs"},"./client":{"types":"./lib/client.d.mts","default":"./lib/client.js"},"./package.json":"./package.json"},"gitHead":"b9ad1b5ce2d1be21447ff16e62f044886a25dfee","scripts":{"test":"vitest run","build":"tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"a1soyo0","email":"1450436996@qq.com"},"repository":{"url":"git+https://github.com/A1SOYO0/dsh-autostart.git","type":"git"},"_npmVersion":"10.9.7","description":"User-level AutoStart plugin for DeepSeek Harness (DSH): start DSH automatically on Windows boot before user login using Windows Task Scheduler with user credentials, preserving full user environment and DSH ACL sandbox compatibility.","directories":{},"_nodeVersion":"22.22.2","dependencies":{"schemastery":"^3.18.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.0","react":"^18.3.1","tsdown":"^0.22.14","vitest":"^3.0.0","react-dom":"^18.3.1","typescript":"~5.7.2","@tsdown/css":"^0.22.14","@types/node":"^22.20.0","@types/react":"~18.3.1","lightningcss":"^1.33.0","@types/react-dom":"^18.3.5","@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-settings":"^0.1.0-rc.6","@deepseek-ai/dsh-client-locale":"^0.1.0-rc.6","@deepseek-ai/dsh-system-prompt":"^0.1.0-rc.6","@deepseek-ai/dsh-client-runtime":"^0.1.0-rc.6","@deepseek-ai/dsh-host-webserver":"^0.1.0-rc.6","@deepseek-ai/dsh-client-ui-slots":"^0.1.0-rc.6","@deepseek-ai/dsh-client-ui-settings":"^0.1.0-rc.6"},"peerDependencies":{"react":"^18.2.0 || ^19.0.0","react-dom":"^18.2.0 || ^19.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/dsh-autostart_0.1.1_1787295645160_0.0545054633433808","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@a1soyo0/dsh-autostart","version":"0.1.2","description":"User-level AutoStart plugin for DeepSeek Harness (DSH): start DSH automatically on Windows boot before user login using Windows Task Scheduler with user credentials, preserving full user environment and DSH ACL sandbox compatibility.","type":"module","main":"lib/index.mjs","types":"lib/index.d.mts","exports":{".":{"types":"./lib/index.d.mts","default":"./lib/index.mjs"},"./client":{"types":"./lib/client.d.mts","default":"./lib/client.js"},"./package.json":"./package.json"},"dsh":{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-settings","@deepseek-ai/dsh-client-ui-slots"],"platform":"web"}},"keywords":["deepseek-harness","dsh","dsh-plugin","autostart","task-scheduler","windows-autostart","user-service","background"],"license":"Apache-2.0","author":{"name":"A1SOYO0","email":"A1SOYO0@users.noreply.github.com"},"peerDependencies":{"react":"^18.2.0 || ^19.0.0","react-dom":"^18.2.0 || ^19.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"dependencies":{"schemastery":"^3.18.0"},"devDependencies":{"@deepseek-ai/cordis":"^4.0.1","@deepseek-ai/dsh-client-locale":"^0.1.0-rc.6","@deepseek-ai/dsh-client-runtime":"^0.1.0-rc.6","@deepseek-ai/dsh-client-ui-settings":"^0.1.0-rc.6","@deepseek-ai/dsh-client-ui-slots":"^0.1.0-rc.6","@deepseek-ai/dsh-host-webserver":"^0.1.0-rc.6","@deepseek-ai/dsh-settings":"^0.1.0-rc.6","@deepseek-ai/dsh-system-prompt":"^0.1.0-rc.6","@tsdown/css":"^0.22.14","@types/node":"^22.20.0","@types/react":"~18.3.1","@types/react-dom":"^18.3.5","lightningcss":"^1.33.0","react":"^18.3.1","react-dom":"^18.3.1","tsdown":"^0.22.14","tsx":"^4.20.0","typescript":"~5.7.2","vitest":"^3.0.0"},"scripts":{"build":"tsdown","typecheck":"tsc --noEmit","test":"vitest run"},"repository":{"type":"git","url":"git+https://github.com/A1SOYO0/dsh-autostart.git"},"publishConfig":{"access":"public"},"gitHead":"34f1d6a5a8c799ab35459694279f2b31a88dfdc9","_id":"@a1soyo0/dsh-autostart@0.1.2","bugs":{"url":"https://github.com/A1SOYO0/dsh-autostart/issues"},"homepage":"https://github.com/A1SOYO0/dsh-autostart#readme","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-TEnEPJY9dsP5lypDz1cz/pZg5bnI5YRhxJmV5e+Xi15x5sBAFy7dgLukd1DrDAUm8FBnXnrDR7tw8Y7pXdO2VQ==","shasum":"ae8732a3a4551ad895c6204537998014c75d2481","tarball":"https://registry.npmjs.org/@a1soyo0/dsh-autostart/-/dsh-autostart-0.1.2.tgz","fileCount":10,"unpackedSize":101165,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIARgWb/WopAdRjb8kMLlG2YOSsjoxd19EEmQcAALT0lwAiB2oxXfd2n4KSTFu7LiG+Tsnznbh1i6os7RNr+VItCIwA=="}]},"_npmUser":{"name":"a1soyo0","email":"1450436996@qq.com"},"directories":{},"maintainers":[{"name":"a1soyo0","email":"1450436996@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/dsh-autostart_0.1.2_1787327201213_0.6288115408043013"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-21T06:53:18.721Z","modified":"2026-08-21T15:46:41.603Z","0.1.0":"2026-08-21T06:53:18.994Z","0.1.1":"2026-08-21T07:00:45.294Z","0.1.2":"2026-08-21T15:46:41.362Z"},"bugs":{"url":"https://github.com/A1SOYO0/dsh-autostart/issues"},"author":{"name":"A1SOYO0","email":"A1SOYO0@users.noreply.github.com"},"license":"Apache-2.0","homepage":"https://github.com/A1SOYO0/dsh-autostart#readme","keywords":["deepseek-harness","dsh","dsh-plugin","autostart","task-scheduler","windows-autostart","user-service","background"],"repository":{"type":"git","url":"git+https://github.com/A1SOYO0/dsh-autostart.git"},"description":"User-level AutoStart plugin for DeepSeek Harness (DSH): start DSH automatically on Windows boot before user login using Windows Task Scheduler with user credentials, preserving full user environment and DSH ACL sandbox compatibility.","maintainers":[{"name":"a1soyo0","email":"1450436996@qq.com"}],"readme":"# @a1soyo0/dsh-autostart\r\n\r\n> **DeepSeek Harness (DSH) 用户级开机自启插件**\r\n>\r\n> 基于 **Windows 任务计划程序（Task Scheduler）** 实现无人值守开机后台自启，在用户登录 Windows 桌面之前即可拉起 DSH Web 服务。\r\n> 彻底解决传统 Windows 服务（Session 0 / SYSTEM）下 **Logon SID 缺失导致 DSH ACL 沙箱崩溃** 及 **用户 Profile / Git / SSH 凭据丢失** 的问题。\r\n\r\n---\r\n\r\n## 🌟 核心特性与架构优势\r\n\r\n1. **开机免登录自启（ONSTART）**：\r\n   通过 Windows Task Scheduler 的凭据批处理作业，在系统启动时（无需人工登录进桌面）即在后台启动 DSH。\r\n2. **完整支持 DSH ACL 安全沙箱**：\r\n   计划任务通过用户凭据创建合法的 Logon Session，生成的进程 Token 中携带合法的 **Logon SID (`SE_GROUP_LOGON_ID`)**，`@deepseek-ai/dsh-sandbox-windows-acl` 完全正常工作，不再报缺少 Logon SID 的错误。\r\n3. **完整加载用户 Profile 与注册表**：\r\n   自动绑定当前用户的 `%USERPROFILE%`、`%APPDATA%`、`~/.dsh`、`~/.ssh` 和 `HKEY_CURRENT_USER` (HKCU)，Git 凭据、SSH Key、npm 全局包等开箱即用。\r\n4. **安全与最小权限原则**：\r\n   严格以当前普通用户权限运行（`RL LIMITED`），彻底杜绝 `NT AUTHORITY\\SYSTEM` 的越权与系统破坏风险。\r\n5. **前端界面一键开关与密码绑定**：\r\n   在 DSH Web GUI 的「设置」页面提供开关卡片，密码仅在提交给 Windows 计划任务系统时使用，内存用完即焚，不存任何明文。\r\n6. **零额外二进制依赖**：\r\n   纯原生 `schtasks.exe` 命令行管理，无需编译或依赖第三方包装服务。\r\n\r\n---\r\n\r\n## 📦 安装与启用\r\n\r\n```bash\r\ndsh plugin add @a1soyo0/dsh-autostart\r\n```\r\n\r\n---\r\n\r\n## 🖥️ 使用说明\r\n\r\n1. 打开 DSH Web GUI -> 进入 **设置 (Settings)** 页面。\r\n2. 找到 **「用户级开机自启」** 卡片。\r\n3. 将开关切换为 **开启 (ON)**，在弹出的窗口中输入当前用户的 Windows 登录密码。\r\n4. 确认后，Windows 任务计划程序即自动注册 `DeepSeekHarness_AutoStart` 并在后台自启。\r\n5. 可在卡片中实时查看任务状态、运行日志（`~/.dsh/logs/autostart.log`），或执行立即启动/停止/重启。\r\n\r\n---\r\n\r\n## 📄 开源许可证\r\n\r\n本项目基于 [Apache-2.0](./LICENSE) 许可证开源。\r\n","readmeFilename":"README.zh.md"}