feat: add Windows (Git Bash) support#9
Merged
claudioemmanuel merged 14 commits intoclaudioemmanuel:mainfrom Apr 6, 2026
Merged
feat: add Windows (Git Bash) support#9claudioemmanuel merged 14 commits intoclaudioemmanuel:mainfrom
claudioemmanuel merged 14 commits intoclaudioemmanuel:mainfrom
Conversation
- Add opencode-plugin/squeez.js with tool.execute.before hook - Update install.sh to install OpenCode plugin - Update README with OpenCode instructions The plugin intercepts all Bash tool calls and automatically wraps them with squeez wrap for compression, similar to how Claude Code hooks work.
- config.rs: Config::load() now respects SQUEEZ_DIR env var for profile switching instead of always reading from ~/.claude/squeez/ - init.rs: add run_copilot() / squeez init --copilot subcommand that stores session state in ~/.copilot/squeez/ and injects memory banner into ~/.copilot/copilot-instructions.md (auto-loaded by Copilot CLI) - main.rs: parse 'init --copilot' flag - hooks/copilot-pretooluse.sh: PreToolUse bash compression with SQUEEZ_DIR pointing to ~/.copilot/squeez/ - hooks/copilot-session-start.sh: SessionStart hook that calls 'squeez init --copilot' - hooks/copilot-posttooluse.sh: PostToolUse token tracking with SQUEEZ_DIR pointing to ~/.copilot/squeez/ - install.sh: new Copilot CLI section registers hooks in ~/.copilot/settings.json and seeds copilot-instructions.md - bench/run.sh: auto-detect local release build vs installed binary - bench/fixtures/git_copilot_session.txt: new fixture representing a real Copilot CLI bash session (35% compression, 3ms)
- tagline now mentions Copilot CLI - install section lists Copilot CLI activation step - benchmarks table updated to 10/10 with Copilot session fixture - config section shows both claude and copilot paths - new GitHub Copilot CLI section (hooks, memory injection, escape hatch) - How it works updated to cover Copilot CLI hook architecture - local dev section simplified (bench/run.sh now auto-detects binary)
…gates, libc unix-only
claudioemmanuel
approved these changes
Apr 6, 2026
claudioemmanuel
added a commit
that referenced
this pull request
Apr 7, 2026
feat: add Windows (Git Bash) support
claudioemmanuel
added a commit
that referenced
this pull request
Apr 7, 2026
feat: add Windows (Git Bash) support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds full Windows support: