mirror of
https://github.com/block/buzz.git
synced 2026-10-29 21:41:33 +00:00
Replace exact-match agent_supports_mode() with resolve_mode_id() that tries the canonical ACP wire string first, then falls back to known aliases (e.g. amp-acp advertises "bypass" instead of "bypassPermissions"). Fully backwards compatible — existing agents that use the standard wire strings match on the first check and never hit the alias path. Amp-Thread-ID: https://ampcode.com/threads/T-019d4e6c-6235-76b4-aaf3-63baf10304d0 Co-authored-by: Amp <amp@ampcode.com>