Skip to content

feat(remote): proxy core commands via daemon#121

Merged
Dimillian merged 4 commits intoDimillian:mainfrom
slkzgm:pr5-remote-backend-proxy-v2
Jan 20, 2026
Merged

feat(remote): proxy core commands via daemon#121
Dimillian merged 4 commits intoDimillian:mainfrom
slkzgm:pr5-remote-backend-proxy-v2

Conversation

@slkzgm
Copy link
Contributor

@slkzgm slkzgm commented Jan 19, 2026

Part of the optional remote backend mode RFC (#54).

What

Adds a Tauri-side remote backend proxy layer that can (optionally) forward a subset of backend commands to the daemon introduced in #58.

  • New module: src-tauri/src/remote_backend.rs
  • Wires the proxy into existing command paths so local mode remains the default and unchanged.

Why

This is the next incremental step after:

The goal is to allow the UI to keep using the same Tauri commands/events, while the Rust side can swap between:

  • local (current behaviour)
  • remote (daemon over localhost JSON-RPC)

Notes

  • Strictly opt-in behind backendMode=remote.
  • No changes to default behaviour.

Validation

  • npm ci
  • npm run typecheck
  • npm run build

Rust compilation/tests require platform WebKitGTK deps on Linux; CI should cover this.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants