Skip to content

feat(providers): add Cursor, MiniMax Code, Devin and Antigravity agents - #63

Closed
BIackFIame wants to merge 1 commit into
howdeploy:mainfrom
BIackFIame:stack/1-providers
Closed

BIackFIame wants to merge 1 commit into
howdeploy:mainfrom
BIackFIame:stack/1-providers

Conversation

@BIackFIame

@BIackFIame BIackFIame commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Goal

Add Cursor, MiniMax Code, Devin and Antigravity as first-class agents, on top of the CLI detection from #52.

Behavior

  • Provider CLI resolution uses declarative command definitions (command names plus known install directories) instead of assuming the executable matches the provider id. Existing providers resolve exactly as before.
  • MiniMax Code resolves as mcode and Antigravity as agy. Cursor prefers cursor-agent. A generic agent counts as Cursor only when its real path is verified as Cursor, because Grok also installs an agent executable.
  • Each new agent gets normal and resume launches where its CLI documents them, a YOLO flag only where one exists, launcher entries with a settings migration, its provider mark, install link and session restore.
  • Provider ids, labels and launcher order move to a dependency-free providerCatalog.ts that contracts.ts re-exports. The Even G2 companion imports only that module, so its production bundle stays inside its network whitelist, and its phone launcher lists the new agents.
  • Lifecycle hooks are prepared only for providers that have a hook adapter, so the new agents never write Grok's shared hook configuration (~/.grok/hooks).
  • MiniMax Code has no permission-bypass flag, so its YOLO profile launches the stock CLI and the danger text says so. Antigravity restores as a fresh session because there is no resumable id to persist.

Documentation

ADR: docs/adr/ADR-20260921-provider-cli-command-definitions.md. Architecture docs updated in all three languages.

Verification

  • npm run typecheck passed. Full suite: 674/674; Even G2 companion tests (npm run test:even): 47/47.
  • On macOS with Grok's agent on PATH, the registry resolved Cursor to cursor-agent and Grok to its own binary. MiniMax Code, Devin and Antigravity were not installed on the test machine, so their launch paths are covered by tests only.

Series

Each part is one commit on top of the previous one. Please merge them in order.

Part PR Scope Lines
1 #63 Providers: Cursor, MiniMax Code, Devin, Antigravity +579/−90
2 #64 API keys, API profiles, agent delegation (MCP) +4275/−63
3 #65 Remote servers, placement, privacy tiers, accounts +6620/−40
4 #66 Isolation: capsules, worktrees, containers +5508/−839
5 #67 ACP, connection settings, remote containers +6827/−563
6 #68 Project context and learning +6148/−370
7 #69 Routing, reasoning effort, server preparation, sign-in +3122/−467
8 #70 Open issues and safe fixes from open PRs +306/−58

Compatibility with open upstream PRs

integration/stack-with-open-prs is this whole stack with #54–#62 merged on top and every conflict resolved. On that branch both TypeScript checks, 1492/1492 tests, npm run test:even (47/47) and electron-vite build pass.

I will rebase this stack onto whichever of these lands first.

🤖 Generated with Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

Provider CLI resolution is driven by declarative command definitions
instead of assuming the executable matches the provider id. MiniMax
Code (`mcode`), Antigravity (`agy`) and Cursor resolve through the same
registry, known install directories, recheck and install links that howdeploy#52
introduced. Cursor prefers `cursor-agent`; a generic `agent` is accepted
only when its real path is verified as Cursor, because Grok also
installs an `agent` executable.

Each new agent gets normal and resume launches where the CLI documents
them, its YOLO flag only where one exists, launcher entries with a
settings migration, its provider mark and session restore. MiniMax Code
has no permission-bypass flag, so its YOLO profile launches the stock
CLI and says so. Antigravity restores as a fresh session because it has
no resumable id that CanvasTTY can persist.

Provider ids, labels and launcher order live in a dependency-free
`providerCatalog.ts` that `contracts.ts` re-exports, so the Even G2
companion bundle stays free of URLs outside its network whitelist; its
phone launcher lists the new agents too.

Lifecycle hooks are prepared only for providers that have a hook adapter, so
the new agents never write Grok's shared hook configuration.

ADR: docs/adr/ADR-20260921-provider-cli-command-definitions.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@howdeploy

Copy link
Copy Markdown
Owner

Integrated into main via #73. Your authored provider commit and @claude co-author trailer are preserved in the merge history. Thank you, @BIackFIame.

@howdeploy howdeploy closed this Sep 24, 2026
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