Swap the RPC client.
The constructor picks the local Unix-socket client. Call this to point the manager at a remote ollmfilesd (an HTTPS OLLMrpc.Client with OLLMrpc.Client.http set) or back to a fresh Unix client. Works before the first OLLMrpc.Client.connect (startup) or on a live session: the old client is disconnected (in-flight calls fail with Client: disconnected), cached project state is cleared with active_file_changed / active_project_changed emitted as null, and notification is re-forwarded from rpc.
The caller then runs OLLMrpc.Client.connect, rpc_load_projects_from_db and restore_active_state; this method does not touch the network. Check File.buffer is_modified on active_file before calling: the buffer is dropped.
| rpc |
replacement client, not yet connected |