Repository navigation
Set up Solenta on another computer from Connect, run headless on Linux, and show agent readiness in onboarding - #1669
Conversation
…nt (#1659) The agent step shows Not installed (Install), Signed out (Sign in) or Ready with "Signed in as <email> · <plan>". The account comes from `claude auth status --json` and codex's auth.json id_token, for display only. "Connect another ChatGPT account" adds a codex instance with its own CODEX_HOME and runs `codex login` there. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Connect's host prepare step `open -n`ed Solenta whenever nothing answered on the web port. A running copy older than the macOS single-instance lock (or updated on disk but not restarted) never took the hand-off, so the new process booted as a second writer on the shared userData. - Already running: launch the same build with --handoff-only, and only if its main.js knows that flag; otherwise exit 5 with "turn on Serve Solenta Web there". --handoff-only exits instead of booting when it gets the lock. - macOS takes the lock but only --serve-web launches exit on it, so a prod and a nightly can still run side by side as before. - A --serve-web hand-off during boot is applied once webAccess exists. - Plain-language SSH errors for unknown host, Remote Login off, timeouts. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rom-t3-we-should-improve--ce03de
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ba5956848d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| export function BootApp() { | ||
| if (needsWebTokenGate()) return <TokenGate />; | ||
| if (needsWebTokenGate()) return <WebTokenGate />; |
There was a problem hiding this comment.
Keep the startup token gate non-dismissible
When a web client has no stored token, BootApp now renders only WebTokenGate, but that component still closes itself when Escape is pressed. Closing it makes this branch render null, leaving a blank page with no way to reopen the token form except manually reloading; the boot-time gate should ignore dismissal or expose a persistent way to reopen it.
Useful? React with 👍 / 👎.
| const p = Number(port); | ||
| return `sh -c ' | ||
| tok() { cat "$HOME/Library/Application Support/Solenta/web-token" 2>/dev/null || cat "\${XDG_CONFIG_HOME:-$HOME/.config}/Solenta/web-token" 2>/dev/null; } | ||
| up() { command -v curl >/dev/null 2>&1 || return 0; curl -s -o /dev/null -m 2 "http://127.0.0.1:${p}/"; } |
There was a problem hiding this comment.
Treat a missing curl as a failed host probe
On a minimal Linux host without curl, up() returns success without checking the port, so the script skips both starting Solenta and detecting that it is not installed. A stopped installation then yields an empty/stale token or a failed tunnel, and an uninstalled host never produces exit 3, so the UI does not offer its Install action—even though the installer itself supports wget on curl-less hosts.
Useful? React with 👍 / 👎.
| let line = ""; | ||
| for (let c = -pad; c < n + pad; c++) { | ||
| const top = light(r, c); | ||
| const bottom = r + 1 >= n + pad ? false : light(r + 1, c); |
There was a problem hiding this comment.
Preserve the QR code's bottom quiet zone
QR module counts are odd, so the final loop iteration always reaches this branch; forcing bottom to false emits a half-row of dark terminal background across the entire bottom edge. That removes the documented light quiet zone and can prevent phone scanners from recognizing the printed setup QR. The out-of-range bottom half should remain light, just like the other padding.
Useful? React with 👍 / 👎.
…s fix (#1712) Bump to 0.27.0, add the changelog entry and move the site download fallback tag to v0.27.0. The 0.26.0 Linux tarball predates the --headless handling from #1669, so `solenta --headless` on a server with no display segfaults while creating a window. This release ships that fix to the stable channel. Co-authored-by: Willem <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
Connecting to Solenta on another computer now takes an SSH host and one click. Connect installs or starts Solenta there, reads its token, and shows that computer's version and agent sign-ins. Onboarding also shows which agents are ready and who they're signed in as, and adds extra ChatGPT accounts.
Remote access (#1660)
~/solenta, checked against GitHub's sha256, and shows thesudo apt install …line for any missing libraries.--headlessruns Solenta with no window, including on a Linux server with no display. Chromium's own--headlessswitch selects the display-less platform, and GPU init is turned off. On start it prints the address, token, link and a terminal QR code.--serve-webdid. The device row is now labelled "SSH and command line".--serve-webor Connect launch that finds Solenta already running hands off to it, so web access is turned on in the running app. Prod and Nightly can still run side by side on macOS.Onboarding (#1659)
auth status; for Codex it comes from the ChatGPT id_token and is used for display only.CODEX_HOMEand runscodex loginin it. Solenta stores no tokens.Checked
tscandvite buildpass.--headlesswas also run on macOS from the dev tree with a throwaway userData.Not covered
🤖 Generated with Claude Code