Skip to content

feat: add opt-in Antigravity CLI adapter (#85) - #88

Merged
abruption merged 1 commit into
refactor/47-agent-transportsfrom
feat/85-antigravity-adapter
Sep 17, 2026
Merged

abruption merged 1 commit into
refactor/47-agent-transportsfrom
feat/85-antigravity-adapter

Conversation

@abruption

Copy link
Copy Markdown
Owner

Existing Antigravity TUI conversations cannot be reliably messaged by starting another headless writer. This adds an opt-in adapter that uses a bridge explicitly started in the receiving TUI's authenticated tool environment and invokes the official agentapi interface.

  • Adds antigravity:UUID targets, registered-session list/doctor, local/SSH send, and bridge serve/stop commands.
  • Validates home, exact presence FD, UID, PID/start time and registration generation; bounds frames, native calls, lifetime and request count.
  • Suppresses duplicate request IDs within one pinned generation; preserves submitted/unknown/refused outcomes without claiming consumption.
  • Handles signal cleanup and stale registration recovery; keeps existing MCP agent allowlists scoped when adding the third adapter.

Validation: 332 tests passed with optional MCP SDK; 17 adapter tests on KR Ubuntu; wheel/sdist independently built and installed. Two distinct live KR TUI integration messages each produced one SYSTEM receive record and one MODEL ACK. Dry-run, duplicate suppression, changed-body conflict, stale generation and stop/list cleanup were checked. The user TUI remained running; test source/socket/registration were removed. An empty lock file intentionally remains to avoid split-lock races.

Limitations: explicit registration only; no automatic sidecar startup, durable outbox or automatic ACK/wait/wake. New-implementation live native coverage is Linux; macOS has protocol/lifecycle fixtures and the earlier native PoC. Windows bridge is unsupported. Native sender identity remains that of the TUI; From is descriptive, not cryptographic sender authentication.

Closes #85. Depends on #47 and initially targets refactor/47-agent-transports; rebase/retarget after the base PR merges. Independent of #69. Intended as a v0.9.0 experimental feature; this PR does not bump the version or publish a release. Detailed validation: docs/validation/85-antigravity.md.

@abruption
abruption merged commit 3e73ba1 into refactor/47-agent-transports Sep 17, 2026
13 checks passed
abruption added a commit that referenced this pull request Sep 17, 2026
* test: validate paired-device E2EE relay transport (#69) (#87)

(cherry picked from commit b24e396)

* feat: add opt-in Antigravity TUI adapter (#85) (#88)

(cherry picked from commit 3e73ba1)

* feat: prepare v0.9.0 paired native relay and Antigravity beta

* docs: clarify registered Antigravity discovery in release candidate

* build: exclude historical relay lab from source distribution
@abruption
abruption deleted the feat/85-antigravity-adapter branch September 18, 2026 07:58
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.

1 participant