Describe the bug
If I am currently running github copilot in one window, then run npx -y @github/copilot from another terminal window, and that second run causes github copilot to get updated, the older version gets cleaned off disk and the agent breaks unexpectedly.
This happened in 3 different terminal windows for me (working on different tasks in different folders):

Affected version
1.0.2
Steps to reproduce the behavior
- Start an older version of the CLI in one tab, have it start working on a long-running task with many steps
- Start a newer version in another tab
- First tab will eventually die due to missing ripgrep or a worker.js or something
Expected behavior
Older tab stays alive until close, where it is cleaned up. Or the newer tab just doesn't upgrade and uses the older version but shows me /upgrade.
Additional context
Windows 11 in Windows Terminal.
Describe the bug
If I am currently running github copilot in one window, then run
npx -y @github/copilotfrom another terminal window, and that second run causes github copilot to get updated, the older version gets cleaned off disk and the agent breaks unexpectedly.This happened in 3 different terminal windows for me (working on different tasks in different folders):

Affected version
1.0.2
Steps to reproduce the behavior
Expected behavior
Older tab stays alive until close, where it is cleaned up. Or the newer tab just doesn't upgrade and uses the older version but shows me /upgrade.
Additional context
Windows 11 in Windows Terminal.