Files
ps5upload/client
phantomptrandClaude Opus 5.5 3916d73051 Engine: tell rest mode apart from off or broken
When the helper's port and the loader both refuse, or the session connect
gets no TCP answer, require_in asks DDP (2 SRCH within ~800 ms). A 620
reply is the new token console_rest_mode ("The PS5 is in rest mode. Wake
it, and the helper can be sent again."). No reply after a timeout stays
ava1_unreachable with a plainer message. DDP 200 or silence after a
refusal keeps helper_not_ava1 as before. A verdict DDP explained is
cached with the pool refusal for 12 s (PROBED_REFUSAL_TTL, past the
client's 10 s poll); other refusals keep their 5 s / 30 s TTLs. The probe
is injectable (Pool::with_power_probe) and skips loopback hosts.

GET /api/ps5/status failures answer {error, reason, power}. Upload,
download and relay stalls on a console DDP calls asleep fail with
console_rest_mode instead of the bare "no durable progress".

payload_check (Tauri and the browser twin) passes reason and power
through; payloadCheck returns them as optional fields.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RxCGb8Asp1A1AQYiv1kbgS
2026-10-16 14:44:42 -07:00
..
2026-10-16 12:32:11 -07:00
2026-10-16 13:19:29 -07:00
2026-10-16 13:19:29 -07:00
2026-09-27 04:31:13 -07:00
2026-09-27 04:31:13 -07:00