You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make running Solenta on another machine easy to set up #1660
Research of T3 Code's remote mode (t3 serve / pairing / SSH-managed environments) against Solenta's five remote features showed new users get stuck. Scope chosen:
A. SSH hosts just work
Settings "Serve Solenta Web" also writes the ssh-readable web-token, so Remote hosts Connect no longer needs a prior --serve-web launch
Connect starts Solenta on the host when nothing is listening
--serve-web sent to an already running app turns web access on (second-instance)
clearer preflight errors
B. Sign-in + connection status
styled token gate replaces the bare boot form; reappears with a reason when the token is rejected/revoked
reconnecting/offline indicator in web + remote windows; toast when sending while disconnected
C. Clear Connections pane + guide
split into "Let other devices in" / "Connect to another computer", step-by-step copy, pointer to SSH remote projects
docs page for remote access; fix solenta --serve-web (no such command on macOS) and stale --host comment
E. Headless mode
--serve-web --headless runs without a window (Linux servers without a display), prints address/token/link + terminal QR; systemd recipe in docs
A, B, C and E are built. The changes are uncommitted on thread ce03de8e.
A, connect over SSH:
Every Solenta Web start now writes web-token, including the Settings switch. The row is renamed "SSH and command line".
Connect runs one SSH prepare step. If nothing answers, it starts Solenta on the host (open -n on macOS, --headless on Linux), then reads the token.
The single-instance lock now applies on macOS too. A second --serve-web launch turns Solenta Web on in the running app.
B, sign-in and connection status: a wrong or revoked token closes the socket with 4401. The client stops retrying and the styled token gate comes back with the reason. A reconnecting banner appears after 1.5 s and says when a message is waiting.
C, Settings and docs: Settings › Connections is split into "Let other devices in" and "Connect to another computer", with steps. New docs guide in site/docs.html, plus README.
E, headless:--headless implies --serve-web and opens no window. On Linux, Chromium's own --headless switch picks the no-display platform, and GPU init is turned off. That was checked in an arm64 container with Electron 35; setting the switch from JS is too late. The startup banner prints the address, token, link and a QR code. A systemd user unit is in the docs.
Tests: typecheck and vite build pass. Renderer 3081 pass, 0 fail. Electron 4757 pass, 0 fail (clean env).
Not tested end to end: a real Solenta Linux build running headless. Only a minimal Electron app was run without a display, and the prepare script was run against a stub binary.
Setup on the other computer, so you no longer install Solenta there by hand:
Install over SSH (Linux x86_64): when Connect finds no Solenta on the host, a new Install Solenta on button installs it.
It downloads the Linux tarball of this build's own GitHub release on the host, checks it against GitHub's sha256 digest, then unpacks it into ~/solenta.
Missing system libraries come back with the exact sudo apt install … line to run. After a clean install, Connect runs again on its own.
New IPC app:installRemoteSolenta, desktop-only and full scope.
Version check: after connecting, Connections shows the host's Solenta version. An older Linux host gets Update Solenta on , which uses the same install path, stops a copy running without a window, and keeps the old tree as ~/solenta.old. An older Mac host gets a pointer instead.
Agent check: after connecting, the host's agent CLIs are listed as "Signed in as … / Signed out / Not installed", with a pointer to Settings › Agents in the remote window to sign in there.
Hosts can also be found at ~/solenta/solenta-nightly now.
Checked in containers against the real v0.16 tarball:
a bad checksum installs nothing (exit 14)
a clean install works
an update over an existing install works
missing libraries are reported
fish as login shell works
Tests: typecheck and vite build pass. Renderer: 3085 pass, 0 fail. Electron: 4761 pass, 0 fail.
PR #1669 is open. It contains three commits from thread 014215: onboarding #1659, remote access #1660, and the fix that stops a second copy of Solenta writing the same data. It is merged with the latest main. Electron: 4899 pass, 0 fail. Renderer: 3092 pass; four files timed out in the full run and pass when run alone.
PR #1674 is open, stacked on #1673 (#1659). Thread 014215 took over ce03de's branch, split the #1659 work into its own PR, and fixed one safety issue found in review.
The issue: Connect's prepare step open -ned Solenta whenever nothing answered on the web port. A running copy older than the macOS single-instance lock, or one updated on disk but not restarted, never took the hand-off. The new process then booted as a second writer on the shared store.
The fix: a running copy now only gets --handoff-only, and only if its bundle knows that flag. Otherwise Connect asks you to turn on Serve Solenta Web there (exit 5). macOS takes the lock, but only --serve-web launches exit on it, so prod and nightly still run side by side.
Tests: renderer 3140 pass / 0 fail, electron 4899 pass / 0 fail (CI-like env). The prepare script ran in an arm64 container for four cases: cold start, too old, hand-off, and not installed.
changed the title [-]Make running Solenta on another machine easy to set up (T3 Code parity)[/-][+]Make running Solenta on another machine easy to set up[/+]on Nov 26, 2026
Activity
currentbits commentedon Oct 18, 2026
A, B, C and E are built. The changes are uncommitted on thread ce03de8e.
web-token, including the Settings switch. The row is renamed "SSH and command line".open -non macOS,--headlesson Linux), then reads the token.--serve-weblaunch turns Solenta Web on in the running app.--headlessimplies--serve-weband opens no window. On Linux, Chromium's own--headlessswitch picks the no-display platform, and GPU init is turned off. That was checked in an arm64 container with Electron 35; setting the switch from JS is too late. The startup banner prints the address, token, link and a QR code. A systemd user unit is in the docs.Tests: typecheck and vite build pass. Renderer 3081 pass, 0 fail. Electron 4757 pass, 0 fail (clean env).
Not tested end to end: a real Solenta Linux build running headless. Only a minimal Electron app was run without a display, and the prepare script was run against a stub binary.
currentbits commentedon Oct 18, 2026
Setup on the other computer, so you no longer install Solenta there by hand:
~/solenta.sudo apt install …line to run. After a clean install, Connect runs again on its own.app:installRemoteSolenta, desktop-only and full scope.~/solenta.old. An older Mac host gets a pointer instead.~/solenta/solenta-nightlynow.Checked in containers against the real v0.16 tarball:
Tests: typecheck and vite build pass. Renderer: 3085 pass, 0 fail. Electron: 4761 pass, 0 fail.
currentbits commentedon Oct 18, 2026
PR #1669 is open. It contains three commits from thread 014215: onboarding #1659, remote access #1660, and the fix that stops a second copy of Solenta writing the same data. It is merged with the latest main. Electron: 4899 pass, 0 fail. Renderer: 3092 pass; four files timed out in the full run and pass when run alone.
Set up Solenta on another computer from Connect, run headless on Linu…
currentbits commentedon Oct 18, 2026
PR #1674 is open, stacked on #1673 (#1659). Thread 014215 took over ce03de's branch, split the #1659 work into its own PR, and fixed one safety issue found in review.
The issue: Connect's prepare step
open -ned Solenta whenever nothing answered on the web port. A running copy older than the macOS single-instance lock, or one updated on disk but not restarted, never took the hand-off. The new process then booted as a second writer on the shared store.The fix: a running copy now only gets
--handoff-only, and only if its bundle knows that flag. Otherwise Connect asks you to turn on Serve Solenta Web there (exit 5). macOS takes the lock, but only--serve-weblaunches exit on it, so prod and nightly still run side by side.Tests: renderer 3140 pass / 0 fail, electron 4899 pass / 0 fail (CI-like env). The prepare script ran in an arm64 container for four cases: cold start, too old, hand-off, and not installed.
Connect to another computer just works: starts Solenta there, signs i…
currentbits commentedon Oct 18, 2026
Landed from Solenta thread "Make running Solenta on another machine easy to set up (T3 C" (PR #1674). Closed on merge.
Connect to another computer just works: starts Solenta there, signs i…
Remote access setup from ce03de (#1660)
[-]Make running Solenta on another machine easy to set up (T3 Code parity)[/-][+]Make running Solenta on another machine easy to set up[/+]