dsh-plugin-windows
开发工具 活跃维护

dsh-plugin-windows

avaritiachaos/dsh-plugin-windows

封装DSH平台所需的Windows系统原生交互接口,提供便捷接入能力,安装配置简单,兼容主流Windows版本,可快速集成到Windows端应用实现对应功能。

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

@shion-lab/dsh-plugin-windows

npm version
License: MIT

Windows cross-platform compatibility, process tree termination (taskkill /T), path normalization, and encoding buffer guards for DeepSeek Harness (dsh).


🌟 Problems Solved for Windows Users

When running AI coding agents natively on Windows, developers frequently face three platform-specific issues:

  1. Zombie Orphaned Processes: child_process.kill() fails to terminate sub-processes spawned by shells (e.g. webpack-dev-server, python, background workers), locking ports and files. This plugin enforces recursive process tree termination via taskkill /F /T /PID.
  2. Path Normalization & Extended-Length Prefixes: Resolves Windows drive letter cases (d:\ vs D:/), strips \\?\ UNC prefixes, and normalizes paths for cross-platform regex and glob matches.
  3. Encoding & BOM Cleansing: Automatically handles UTF-8 BOM headers (\uFEFF) and CRLF line endings, avoiding garbled terminal output.

📦 Installation

npm install -g @shion-lab/dsh-plugin-windows

🚀 Usage in cordis.yml

plugins:
  "@deepseek-ai/dsh": {}
  "@shion-lab/dsh-plugin-windows":
    forceUtf8: true
    enableProcessTreeGuard: true

📄 License

MIT © Shion Lab