Files
paseo/packages/plugin
Mohamed Boudra 66185df4f5 fix(antigravity): track background tools and out-of-turn wakeups over ACP
Antigravity's ACP v1 server resolves session/prompt with end_turn while backgrounded tools (run_command, schedule) are still in_progress, then streams out-of-turn session/update notifications with no turn-start or turn-end frame when those tasks finish. Previously Paseo failed the in-progress tool row on end_turn, showed the agent idle while wakeup steps streamed in, and allowed idle runtime cleanup to stop the process.

Add session.background_work to the plugin provider contract, implement session.can_stop_runtime and opt-in outOfTurnActivity tracking in the shared ACP runtime, and enable it for Antigravity under COMPAT(antigravityAcpV1OutOfTurn) until ACP v2 state_update is available. Follow-up prompts finish an active wakeup without sending session/cancel so running background work stays alive, and trailing terminal updates from explicitly canceled tools are consumed without reopening a turn.
2026-11-20 08:26:50 +01:00
..