Files
spacedrive/apps/mobile
Jamie PineandClaude Fable 5 960febb2b4 Target any paired device from the CLI with --device
Adds a device field to the Action/Query envelope and a remote-ops iroh
protocol that carries one Wire method call to a paired device, executes
it through the same operation registries, and returns the JSON result.
The daemon resolves the target by name, slug, or id against its paired
devices; only paired devices are served, matching the byterange trust
boundary.

A forwarded request usually names no library — the target resolves its
own open library, since a caller can't know a peer's library ids
without asking first. The CLI macros send None whenever --device is
set, and library validation skips remote-targeted clients so a foreign
library id never lands in the local config.

execute_json_operation now delegates to a context-only variant so the
daemon socket, embedded hosts, and the network path share one dispatch.

Verified live from the Mac against titan:

  sd --device titan sources list      # nine sources over iroh
  sd --device titan job list          # titan's job history
  sd --device titan sources verify <id>  # dispatched and ran on titan

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-09-14 23:59:10 -07:00
..
2025-12-05 15:16:41 -08:00
2025-12-05 15:16:41 -08:00
2025-12-05 15:16:41 -08:00
2025-12-07 20:53:12 -05:00
2025-12-05 15:16:41 -08:00
2025-12-05 15:16:41 -08:00
2025-12-05 15:16:41 -08:00
2025-12-05 15:16:41 -08:00
2025-12-05 15:16:41 -08:00