dsh-power-awake
Prevent the computer from sleeping while Harness is running. Toggle at runtime through a model-facing tool.
bole1001
@bole1001
⬇ 1
★ 0
main
安装
dsh plugin --profile web add github:bole1001/dsh-power-awake
需要可复现安装时,可在仓库后追加 #commit 固定提交。
Prevent the computer from sleeping while Harness is running. Toggle at runtime through a model-facing tool.
该插件未提供要点说明,请参考仓库 README。
caffeinatedeepseek-harnessdeepseek-harness-plugindeepseek-harness-pluginsdshdsh-plugin
- 安装并启动 DeepSeek Harness:
npx @deepseek-ai/dsh web - 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
- 用 dsh plugins list 确认已安装,必要时重启 Harness 生效
插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。
| 代码仓库 | github.com/bole1001/dsh-power-awake |
| 许可证 | 未标注(见仓库) |
| 主要语言 | main |
| 下载量 | 1 |
| GitHub 星标 | 0 |
| 最近推送 | 2026-08-19 |
| 收录日期 | 2026-09-19 |
| 分类 | 开发与运行时 |
事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。
以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。
# dsh-power-awake
Prevent the computer from sleeping while Harness is running.
On load with `enabled: true` the plugin spawns a platform keep-awake helper
and holds it until the plugin unloads or the model toggles it off through the
`toggle_keep_awake` tool.
## Install
```sh
dsh plugin --profile web add dsh-power-awake
```
Or from a git host:
```sh
dsh plugin --profile web add github:your-org/dsh-power-awake
```
## Usage
Once installed, the computer stays awake while Harness runs. Say
"turn off keep-awake" or "enable keep-awake" in any conversation and the
agent toggles it through the `toggle_keep_awake` tool.
To disable by default, override in your profile's `cordis.patch.yml`:
```yaml
- id: power-awake
config:
enabled: false
```
## Platform support
| Platform | Mechanism | Notes |
| -------- | --------- | ----- |
| macOS | `caffeinate -dimsu` (system tool) | Blocks system sleep, idle sleep, and display sleep |
| Windows | `SetThreadExecutionState` via PowerShell | `ES_CONTINUOUS \| ES_SYSTEM_REQUIRED` |
| Linux | `systemd-inhibit` | Requires systemd; blocks sleep/idle/shutdown |
No native dependencies. On an unsupported platform the plugin loads but
keep-awake is a no-op.
## Development
```sh
npm install
npm run build
```
The repo-local symlinks `node_modules/@deepseek-ai/cordis` and
`node_modules/@deepseek-ai/dsh-tools` point into a deepseek-harness checkout
for development; remove them before publishing (npm fills published ranges).
数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。