Broadcast provider stream errors under a fixed name
A StreamEvent is broadcast under its type (Broadcast::on(...)->as($this->type())), and every type is a fixed name (text_delta, tool_call, stream_failed, ...) except a provider error's. Gateways set that type to the provider's error code, so a Gemini permission error is broadcast as 403 or PERMISSION_DENIED, and an unrecognised one as unknown_error. A frontend can't listen for codes it doesn't know in advance, so these errors never reach it, and the UI waits until its own timeout.
We hit this with Echo: the client listened for .error, and a missing credentials file on the server left the UI on "Sending" until its watchdog fired.
This adds a broadcastAs() method to StreamEvent (defaulting to the type), and Error overrides it to return error. The job-failure event from BroadcastAgent::failed() keeps its stream_failed name, so existing listeners for it are unaffected.
The payload doesn't change: type still carries the provider's code, so the stream protocols and anyone inspecting $error->type see the same values as before. The only difference is the broadcast name of provider errors, which was previously unpredictable.
A new test covers several provider codes and checks that other events still broadcast under their type.