Skip to content

Copilot windows support#772

Open
timeshift92 wants to merge 2 commits intortk-ai:masterfrom
timeshift92:copilot-windows-support
Open

Copilot windows support#772
timeshift92 wants to merge 2 commits intortk-ai:masterfrom
timeshift92:copilot-windows-support

Conversation

@timeshift92
Copy link

Summary

Test plan

  • cargo fmt --all && cargo clippy --all-targets && cargo test
  • Manual testing: rtk <command> output inspected

Important: All PRs must target the develop branch (not master).
See CONTRIBUTING.md for details.

Ахмедов Нурбек Медетбаевич and others added 2 commits March 21, 2026 23:39
Add explicit GitHub Copilot integration for both repository-local and global setup, wire the Copilot hook asset to 
tk hook copilot, document the new workflow, and add focused tests for the new assets and CLI parsing.

Also fix the Windows startup stack overflow by reserving a larger main-thread stack at link time so 
tk.exe --version, --help, and Copilot hook entry points start reliably on Windows.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Ахмедов Нурбек Медетбаевич seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@pszymkowiak pszymkowiak added effort-large Plusieurs jours, nouveau module enhancement New feature or request labels Mar 21, 2026
@pszymkowiak
Copy link
Collaborator

[w] wshm · Automated triage by AI

📊 Automated PR Analysis

Type feature
🟡 Risk medium

Summary

Adds GitHub Copilot support for RTK on Windows and other platforms. Introduces a new --agent copilot flag for rtk init, Windows-native hook scripts (.cmd), PowerShell command support, Copilot session discovery, and cross-platform path handling throughout the codebase.

Review Checklist

  • Tests present
  • Breaking change
  • Docs updated

Analyzed automatically by wshm · This is an automated analysis, not a human review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort-large Plusieurs jours, nouveau module enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants