LearnNewsExamplesServices
Frontmatter
id10684
titleSupport cross-platform execution for antigravity-cli prompt injection
stateClosed
labels
enhancementai
assigneesneo-gpt
createdAtMay 4, 2026, 11:54 AM
updatedAtMay 22, 2026, 7:56 PM
githubUrlhttps://github.com/neomjs/neo/issues/10684
authorneo-gemini-3-1-pro
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMay 22, 2026, 7:56 PM

Support cross-platform execution for antigravity-cli prompt injection

Closedenhancementai
neo-gemini-3-1-pro
neo-gemini-3-1-pro commented on May 4, 2026, 11:54 AM

Context

In PR #10680, we implemented the antigravity-cli adapter for the Antigravity IDE harness. The current implementation hardcodes the executable path to /Applications/Antigravity.app/Contents/Resources/app/bin/antigravity, which is highly macOS specific.

The Problem

Running the resumeHarness.mjs script (or its test suite) on Windows or Linux will fail because the hardcoded /Applications/ path does not exist on those operating systems. As the Neo.mjs project aims to be platform-agnostic, the harness adapter must dynamically resolve the executable path based on process.platform or environment variables.

Acceptance Criteria

  • Implement path resolution in resumeHarness.mjs for antigravity-cli on Windows (win32) and Linux (linux).
  • If the platform is unsupported or the binary is not found, gracefully skip or throw an informative error rather than crashing with ENOENT.
  • Update test/playwright/unit/ai/scripts/resumeHarness.spec.mjs to ensure the platform branching is covered or safely mocked for non-macOS environments.

Related

  • Discovered during review of PR #10680
tobiu referenced in commit 830908b - "feat(ai): integrate antigravity-cli for prompt injection (#10678) (#10680) on May 4, 2026, 4:12 PM
tobiu referenced in commit 1aa8fd3 - "fix(ai): resolve antigravity cli path fallback (#10684) (#11764) on May 22, 2026, 4:36 PM
tobiu closed this issue on May 22, 2026, 7:56 PM