Skip to content

jj1985/windows-guard

v0.3.0MIT

Stops GitHub Copilot CLI from corrupting files on Windows. Restores line endings and strips BOMs after every edit, blocks bash-isms, unsafe shell writes and silent wrong-directory commands in PowerShell, refuses edits that would destroy non-UTF-8 files, and coaches the model through quoting, edit-match and environment failures instead of letting it rewrite whole files. Ships an optional in-process extension engine.

plugin.json
name
windows-guard
version
0.3.0
description
Stops GitHub Copilot CLI from corrupting files on Windows. Restores line endings and strips BOMs after every edit, blocks bash-isms, unsafe shell writes and silent wrong-directory commands in PowerShell, refuses edits that would destroy non-UTF-8 files, and coaches the model through quoting, edit-match and environment failures instead of letting it rewrite whole files. Ships an optional in-process extension engine.
license
MIT

What else this package ships

These files come with the package and this site does not publish them. They are listed so you know what is there before you install it.

  • 2JavaScript files
  • hooks.json
View on GitHub

Client extensions

Data this package carries for particular clients. The directory lists the clients named and never reads what is addressed to them.

  • com.github.copilotships a directory of files