"""iMessage adapter — the only code that knows the relay/bridge exists. iMessage has no official API. Production deployments front the Messages app on a Mac with an HTTP-JSON relay/bridge (BlueBubbles / Sendblue-style). This adapter speaks that relay's wire format and nothing else. It stays pure: parse relay webhook bytes into kernel Events and turn kernel Commands into request descriptions the shared HttpTransport can dispatch. Uniform execute() contract (shared by all adapters): Result.ok(Sent(raw={ "transport": "http_json", "method": "POST", "url": "/api/v1/message/text", "json": {...}, "headers": {...}, "native": "