Files
spacedrive/apps/cli
Jamie PineandClaude Fable 5 29b9b8abc5 Stream remote logs, sync on pairing, watch remote jobs
Three gaps closed in the remote operation line:

Pairing completion now broadcasts ConnectionEstablished from both the
initiator and joiner, so peer mounts and job activity subscribe the
moment a device pairs instead of waiting for the next reconnect.

SubscribeLogs takes a device target. The local daemon opens a log
subscription on the paired device over remote-ops — now an enum
protocol with a streaming variant — and forwards its log bus frames
down the client connection, filtered on the serving side.
'sd --device titan logs follow' tails titan live. LogFilter matching
moved onto the type so both paths share it.

'sd job remote --watch' redraws every two seconds, which closes the
loop on remotely dispatched work: dispatch with --device, watch it run.
Remote job rows also carry updated_at now, and the sweep drops
non-terminal rows that stopped reporting, so a completion event lost to
a subscription gap can no longer show as running forever.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-15 00:37:45 -07:00
..