Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.
fix(tauri): use DaemonRequest format for daemon RPC calls
Two code paths in main.rs sent JSON-RPC 2.0 formatted messages
({"jsonrpc":"2.0","id":1,"method":"query:..."}) but the daemon
expects serde-tagged DaemonRequest enums ({"Query":{"method":"..."}}).
Fix validate_and_reset_library_if_needed() (line 487):
- Request: use {"Query":{"method":"libraries.list",...}} format
- Response: parse "JsonOk" key instead of "result"
Fix file-association open handler (line 1741):
- Request: use {"Action":{"method":"libraries.open.input",...}} format
This resolves the "unknown variant 'id'" parse error and the
"Invalid response format from libraries.list query" warning at startup.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> S
slvnlrt committed
9cf733334399372072fb24116863cd5f83586f4b
Parent: 7fab21d