Skip to content

feat(providers): add acp agent profiles and cli updates - #1455

Merged
nixuuu merged 3 commits into
devfrom
feat/acp-profiles-and-updates
Nov 29, 2026
Merged

nixuuu merged 3 commits into
devfrom
feat/acp-profiles-and-updates

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 29, 2026

Copy link
Copy Markdown
Member

Agent profiles

The provider picker offers 15 named ACP presets with local vendor marks. Owners can use an installed command or choose a release to install on a worker. The picker, saved instances, thread sidebar and update rows use the same marks in the browser, Electron and mobile. Custom commands keep the ACP terminal icon.

Twelve presets use ACP Registry. Pi installs the OpenMA bridge and a compatible Pi engine together. Oh My Pi and Vercel fx use the publishers’ binaries and SHA-256 files. The Pi and Oh My Pi presets explain which operations may proceed without an ACP approval request.

CLI updates

  • Recognize managed ACP installations, including previous registry receipts, and supported native package and binary layouts. Check an assigned profile on demand or on its worker’s schedule. Persist release observations across restarts. Never (manual only) leaves checks to the owner.
  • Revalidate the original executable and update source at dispatch and execution. Keep the instance’s arguments, environment and sessions when a compatible release activates. A shared installation waits for active turns. Independent ACP installations can update on the same worker.
  • Add native Antigravity installation and updates through Google’s bootstrap, platform manifest and the selected executable’s updater.
  • Offer an individual update, bulk updates by product, and Update all CLIs. Each target retains its worker, identity and exact version. Direct linked computers check capabilities and sharing before accepting an ACP update. CLI updates require an owner action.

Verification

  • On Linux x64, all 15 presets resolved to installable distributions. Switched a real OpenCode 2.4.1 installation with a pre-existing receipt to 2.4.2 and reopened its ACP session. Updated Pi 1.6.0 to 1.7.0 with OpenMA 0.1.9, Oh My Pi 19.2.0 to 19.3.0, and Vercel fx 0.0.17 to 0.0.18. The updated CLIs negotiated ACP v1. A local model exercised session restore, tool calls and permission behavior.
  • Installed Antigravity 1.5.20 from Google and ran its native self-updater on the already-current binary. Confirmed the publisher manifest for Linux glibc and musl, Windows and macOS on x64 and ARM64. End-to-end checks of publisher installers ran on Linux x64.
  • The gateway–worker integration updates an independent agent during an active turn, rejects updates to the busy agent and its alias, then runs another turn on the new executable and reloads its saved history after a worker restart. Also ran focused tests for registry activation, CLI scheduling, native recipes and linked routing. Integration typechecking and scoped package checks passed locally. GitHub CI covers the full repository gate.
  • Exercised the picker, install form, update groups, retry and older-worker behavior in Chromium at 375 and 1040 px and on Android API 36. The clients used fixture RPCs over the real BFF and mobile transport. Browsing and rendering all agent marks produced no external image requests. Checked light and dark artwork. The iOS UI was not run.

Copy audit

Reviewed the changed surfaces against all ten items in the copy guide. Continue became Use installed command on a preset, with Install on worker as the separate installation action. Update all CLIs names the scope alongside Update Canopy. Check and installation errors include a next action, with technical context under Show details. Each mark has an adjacent product or profile label. Pi version rows identify both the engine and adapter. Short and long labels were checked in the narrow and wide layouts.

@nixuuu
nixuuu enabled auto-merge (squash) November 29, 2026 07:03
@nixuuu
nixuuu disabled auto-merge November 29, 2026 07:05
@nixuuu
nixuuu marked this pull request as draft November 29, 2026 07:05
@nixuuu
nixuuu marked this pull request as ready for review November 29, 2026 07:10
@nixuuu
nixuuu enabled auto-merge (squash) November 29, 2026 07:11
@nixuuu
nixuuu disabled auto-merge November 29, 2026 07:14
@nixuuu
nixuuu marked this pull request as draft November 29, 2026 07:14
@nixuuu
nixuuu marked this pull request as ready for review November 29, 2026 07:20
@nixuuu
nixuuu enabled auto-merge (squash) November 29, 2026 07:20
@nixuuu
nixuuu merged commit 261c8dd into dev Nov 29, 2026
25 checks passed
@nixuuu
nixuuu deleted the feat/acp-profiles-and-updates branch November 29, 2026 07:26
nixuuu added a commit that referenced this pull request Nov 29, 2026
Two macOS workers reported `ECONNREFUSED` on different IPv6 addresses
while updating Antigravity to 1.5.20. The worker stopped at the first
DNS address while checking Google's platform manifest, before it could
run `agy update`.

The downloader now tries another address after a connection refusal or
other supported socket reachability error. It tries the other IP family
next when available. Each HTTPS hop uses only the public addresses
validated in its original DNS lookup. Certificate failures still stop
the request. This also covers ACP Registry downloads that use the same
transport.

## Verification

- Three regression tests passed through `bun run check:tmp
./apps/worker/src/acp-registry/download.test.ts`. They cover IPv6
refusal followed by IPv4 success, a redirect with a private DNS answer,
and a certificate error.
- Worker typecheck and lint on the edited TypeScript files passed.
- With IPv6 refusal simulated, the worker fetched Google's real macOS
ARM64 manifest over IPv4 and read version 1.5.20. The live check ran on
Linux. Installation on the two affected Macs has not been verified.

Repository-wide checks run in CI.

Fixes: #1455
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