Remote sessions accept and validate a new queued notification message instead of ignoring it.
queued_notification handling is present but only advertised when CLAUDE_CODE_REMOTE is set with an SDK transport.
What's wrong with this entry?
Remote sessions can now receive a queued_notification message, which previously fell through as an unknown message type and was logged and ignored. Payloads are validated and size-capped, and an oversized one is refused without acknowledgement. The feature is only advertised when the CLAUDE_CODE_REMOTE environment variable is set and an SDK transport is active.
- App state gained a buffer holding pending notifications, the IDs of ones already drained, and a nudge slot.
- A registry of queued notifications is passed through to tool execution.
- Telemetry is recorded under
ccr_queued_notifications. - Outside remote mode the message is rejected with a logged reason.
[queued-notifications] queued_notification outside remote mode, Ignoring unknown message type
Strings lifted out of the shipped bundle, so the claim above can be checked against them.