fix(daemon-client): classify endpoint-unavailable errors by typed reason

Merged
TH
2mo ago
+55-22

Fixes #3067.

The transport now raises endpoint-unavailable errors with details: { reason: 'daemon_endpoint_unavailable', transport }. isDaemonTransportUnavailableError checks that reason only and no longer reads error.message. The message constants are inlined as user-facing text.

Test: a reworded message with the typed reason is still classified unavailable; the old message text without the reason is not.