Skip to content

feat(cli): launch cursor/copilot-vscode and desktop app wrappers#134

Merged
SachaMorard merged 4 commits into
mainfrom
cursor/launch-cursor-and-copilot-vscode
Jul 16, 2026
Merged

feat(cli): launch cursor/copilot-vscode and desktop app wrappers#134
SachaMorard merged 4 commits into
mainfrom
cursor/launch-cursor-and-copilot-vscode

Conversation

@SachaMorard

@SachaMorard SachaMorard commented Jul 16, 2026

Copy link
Copy Markdown
Member

Summary

  • Add public edgee launch cursor and edgee launch copilot-vscode (alias vscode-copilot) that delegate to the hidden relay for app targets.
  • Canonicalize relay targets so copilot-vscode is the VS Code surface and bare copilot stays reserved for a future Copilot CLI.
  • Extend edgee alias so one command installs both CLI shims and desktop app wrappers:
    • CLI (claude, codex, …) — PATH shims / shell aliases (unchanged)
    • Apps (cursor, copilot-vscode) — platform launchers only if the host app is already installed
      • macOS: ~/Applications/<Name> (Edgee).app (opens Terminal + edgee launch …)
      • Linux: ~/.local/share/applications/edgee-*.desktop
      • Windows: Start Menu .lnk via PowerShell
  • Document launch-target naming rules (target vs provider key vs transport) in crates/cli/src/commands/launch/README.md, and update root/AGENTS docs.

Test plan

  • cargo fmt --all && cargo clippy --all-targets && cargo test --all
  • edgee launch --help lists cursor and copilot-vscode (not bare copilot)
  • edgee launch vscode-copilot --help resolves to copilot-vscode
  • edgee launch copilot fails with a suggestion toward copilot-vscode
  • Smoke: edgee launch cursor / edgee launch copilot-vscode start the relay and spawn the app (quit any running Cursor/VS Code first)
  • edgee alias --help lists cursor and copilot-vscode
  • With Cursor installed: edgee alias cursor creates ~/Applications/Cursor (Edgee).app (macOS) or the OS equivalent
  • Without VS Code: edgee alias copilot-vscode prints skipped (host app not found)
  • edgee alias remove cursor removes the wrapper
  • edgee alias (all) still installs CLI shims and only adds app wrappers when hosts are present

Expose app targets through edgee launch (relay under the hood), reserve bare copilot for a future CLI, and document launch-target naming rules.

Co-authored-by: Cursor <cursoragent@cursor.com>
@SachaMorard SachaMorard requested a review from a team as a code owner July 16, 2026 04:16
SachaMorard and others added 2 commits July 16, 2026 06:54
Prepare the alias command for desktop app wrappers by relocating it to commands/alias/.

Co-authored-by: Cursor <cursoragent@cursor.com>
Extend alias to create Cursor/VS Code launchers when the host app is present, alongside existing CLI shims.

Co-authored-by: Cursor <cursoragent@cursor.com>
@SachaMorard SachaMorard changed the title feat(cli): add launch cursor and copilot-vscode via relay feat(cli): launch cursor/copilot-vscode and desktop app wrappers Jul 16, 2026
Keep launcher/plist helpers available under cfg(test) for unit tests without compiling unused macOS-only code into the Linux binary.

Co-authored-by: Cursor <cursoragent@cursor.com>
@SachaMorard SachaMorard merged commit 391f24a into main Jul 16, 2026
4 checks passed
@SachaMorard SachaMorard deleted the cursor/launch-cursor-and-copilot-vscode branch July 16, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants