dsh-wsl-power
其他 活跃维护

dsh-wsl-power

173787247/dsh-wsl-power

轻量级命令行工具,在WSL中直接读取Windows活动电源计划、电池状态和睡眠设置,无需切换系统即可实时掌握电源数据,方便Linux环境下监控Windows硬件状态。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
12 KB
仓库大小
2 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:173787247/dsh-wsl-power
git clone https://github.com/173787247/dsh-wsl-power.git
git clone git@github.com:173787247/dsh-wsl-power.git
README.md master

dsh-wsl-power

DeepSeek Harness plugin: Windows power state from WSL: active power plan, battery status and sleep settings.

Part of dsh-wsl-kit.

中文说明 → README.zh.md

Install

dsh plugin --profile web add github:173787247/dsh-wsl-power

Usage

win_power             # active plan, battery, sleep setting

Notes

Reads the active scheme with powercfg. battery is absent on desktops.
sleepAcSeconds is the AC standby timeout; 0 means never.

Requirements

  • Windows with WSL, and DeepSeek Harness running inside it.

Tests

npm test

The unit tests run anywhere. The live tests are skipped outside WSL.

Compatibility

Field Value
Plugin dsh-wsl-power 0.1.0
Minimum dsh ≥ 0.1.2 (web UI one-shot ?token= on Windows relay :3081)
Latest verified See dsh-wsl-kit Compatibility (currently 0.2.0-rc.2) — single source of truth for the suite
Kit set full or install alone

License

MIT