Repository navigation
Conversation
Branches that relied on an empty package left mise with a blank spec. Set packages for each agent and use npm:@github/copilot (omacom#13315). Co-authored-by: AnPod <AnPod@users.noreply.github.com>
84623da to
3172312
Compare
|
the explicit packages look right, especially npm:@github/copilot. one small thing: after |
|
| agy | antigravity | antigravity-cli | gemini | gemini-cli) agent="agy"; name="Antigravity"; agent_package="antigravity-cli" ;; | ||
| hermes) agent="hermes"; name="Hermes"; agent_installer="omarchy-install-hermes-cli" ;; | ||
| copilot | github-copilot) agent="copilot"; name="GitHub Copilot" ;; | ||
| copilot | github-copilot) agent="copilot"; name="GitHub Copilot"; agent_package="npm:@github/copilot" ;; |
There was a problem hiding this comment.
Copilot launcher uses different package
When a user selects Copilot on a provisioned system, this code activates npm:@github/copilot and saves Copilot as the default. But install/user/mise.sh creates a copilot launcher that still installs and runs the bare copilot mise package. The saved default can therefore fail to launch because the launcher does not use the package that was just activated. Update the provisioned launcher to use the same package specification.
|
Reviewed at 2bfba74 against The bug this fixes does not reproduce on The Copilot change makes things worse for anyone whose Copilot Omarchy installed. It also conflicts with Tests: Second opinion: Codex Medium reviewed the same head. It agreed that the empty-package path does not exist on Nothing was pushed: there is no defect in |
|
Thank you for this, @AnPod. Closing because the bug it addresses does not occur on Closed at the maintainer's request. The review comment above has the details; it was done by Claude Opus 5.5 with Codex Medium as a second opinion, whose agreement is not independent. |
Summary
Fixes #13315
Several default-agent branches left
agent_packageunset or used a short name that is not a valid mise package (notably Copilot), so install failed before the default could be written.Change
agent_packagefor each mise-backed agentnpm:@github/copilotfor GitHub Copilottest/shell.d/default-agent-test.shexpectationsTest plan
bash test/shell.d/default-agent-test.sh