Keeps the DSH host awake during active tasks using native power assertions and releases them when tasks finish.
Install
# from npm (prebuilt)
dsh plugin --profile web add @zi7tian/dsh-keep-awake
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:zi7tian/dsh-keep-awake
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
DeepSeek Harness 主机保活插件:AI 任务运行时自动保持主机亮屏、防止休眠,全部任务结束后释放保活请求。
插件介绍
- 保活由 DSH 后端控制,支持多个会话和子 Agent;关闭网页或切换到后台不影响运行中的任务。
- 在侧边栏的设置同一行显示太阳图标,点击可查看状态、运行任务数量,以及开启或关闭保活。
- 使用普通用户权限的临时电源断言,不需要管理员权限,不修改全局电源设置,不模拟鼠标或键盘。
- Windows 使用 Power Request,macOS 使用 IOKit,Linux 使用 D-Bus ScreenSaver 和 logind。系统接口不可用时会显示部分生效或失败状态。
- 主机开关作用于当前 DSH 进程,重启后默认开启。插件停止或宿主退出时释放请求。
保护对象是运行 DSH 后端的设备。手动锁屏、合盖及系统强制策略可能覆盖保活。Linux 已实机验证;Windows 和 macOS 已实现,尚待实机验证。针对 DSH 0.2.0-rc.2 开发。
安装方法
从 npm 安装(推荐)
dsh plugin --profile web add @zi7tian/dsh-keep-awake
从 GitHub 安装
dsh plugin --profile web add github:zi7tian/dsh-keep-awake
本地安装
git clone https://github.com/zi7tian/dsh-keep-awake.git
cd dsh-keep-awake
npm ci
dsh plugin --profile web add link:/absolute/path/to/dsh-keep-awake
将路径替换为实际插件目录,Windows 使用对应本地路径。插件依赖 Koffi,安装时会获取适合当前平台的原生组件;Linux 还需要系统提供 libdbus-1 及相应的会话服务。
安装或升级后,等待当前任务结束,重启 dsh web 并刷新页面。设置旁出现太阳图标即表示控制面板已加载。桌面版请通过其插件管理器安装。
卸载
dsh plugin --profile web remove @zi7tian/dsh-keep-awake
Links
More in this category
Tencent/WeKnora#dsh-weknora★ 38526
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
DayuanJiang/next-ai-draw-io#dsh-plugin★ 37266
Draws draw.io diagrams in DeepSeek Harness through the next-ai-drawio MCP server: the link in the reply opens a live preview in the right sidebar, you can edit the diagram by hand, and each AI change is a version you can restore. Node.js 18+; npx downloads the MCP server on first use.
yikart/AiToEarn#dsh-plugin-aitoearn★ 28921
Generate copy, images and short videos, and publish with one click to Douyin, Kuaishou, Xiaohongshu, WeChat Official, Bilibili, Facebook, TikTok and more, covering the full content lifecycle from creation to publishing and monetization.
superdesigndev/treg★ 9983
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
T-Auto/dsh-ops★ 6095
Provides bash, PowerShell 7, and high-performance Rust tools for DSH on Windows to reduce token usage.
Hithink-Tech-Org/Financial-API#hithink-finance★ 4745
Query Hithink Finance data in DeepSeek Harness, view charts in chat, and save refreshable dashboards.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.