Files
PaperClipAI/packages
DottaandClaude Opus 5.5 1a97dfe821 fix(antigravity): a granted /swarm session.open reaches the swarm route
Live /swarm runs failed 5-7 s after start with
provider_session_open_rejected (classification=unclassified). Driving the
built sidecar exactly as runnerd does (cleared environment, candidate grant,
provider mode "swarm") returned the sidecar's own refusal: "mode is
supported only for Cursor". The open-params parser predates the provider
mode adapter registry and accepted a mode only for Cursor, so every swarm
session.open was refused before the swarm route ran. The in-process probe
called AcpxRuntimeHost.open directly and never met this parser.

The parser now asks the adapter registry (resolveAcpxProviderMode), which
already admits exactly Cursor's modes and Antigravity's "swarm". Its own
contract refusals carry ACPX_SIDECAR_REQUEST_INVALID, and the typed /swarm
refusals and the candidate admission refusal keep their codes across the
sidecar boundary instead of collapsing to acpx_sidecar_command_failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 13:20:45 -06:00
..