Repository navigation
feat(native): embed onboarding install and sign-in terminal - #123
Merged
Merged
Conversation
Open
rynfar
force-pushed
the
nw/121-onboarding-terminal
branch
from
November 3, 2026 11:45
bf3a2e9 to
dcbc552
Compare
This was referenced Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Native onboarding's Install/Sign in actions only displayed a command to run elsewhere. They now open the embedded native terminal on the selected environment/provider instance and pre-type the web's command without a newline.
Ports
AgentInstallTerminalfromWelcomeWizard.tsx: preparing/ready/openFailed/writeFailed copy, Retry/Close, serialized cleanup and generation guards, freshterminal:operatechecks before open/write/close, revocation leaving the PTY running, session-exit closure and provider readiness refresh. The existing terminal pane handles input and permission changes. Pure setup rules and wire payloads live in core with three tests; the stale-generation test was observed failing before the guard. The pane publishes output frames directly without rebuilding the wizard; pane creation/focus occurs outside render. Optional provider instance ids are retained in launch locations and sent on attach/reopen, so a server restart recreates the selected instance environment. Thread terminals omit the field as before. Only exports changed under the app terminal/; the PR #119 paths are untouched.Closes #121. CN-WELCOME stays partial. Remaining #81 gaps are Codex ChatGPT setup/accounts, T3 Connect/relay and multi-computer onboarding.
Validation:
cargo clippy --workspace --all-targets -- -D warningscargo test --workspace: 1,114 passed after rebasing on1945b8001fcargo build -p t3-native --features snapshotgit diff --checkproviderInstanceId=codexin the server cwd, wrotecodex loginwith no newline, attached for captures, then closed withdeleteHistory: true. No Enter, installers, sign-ins, paid turns or real windows. Transcript:/private/tmp/native-121-evidence/smoke-transcript.txt.Local offscreen evidence (kept local per factory rules):
/private/tmp/native-121-evidence/before.png/private/tmp/native-121-evidence/preparing.png/private/tmp/native-121-evidence/ready.png/private/tmp/native-121-evidence/openFailed.png/private/tmp/native-121-evidence/writeFailed.png/private/tmp/native-121-evidence/revoked.png/private/tmp/native-121-evidence/retry.png/private/tmp/native-121-evidence/closed.png/private/tmp/native-121-evidence/review-openFailed.png/private/tmp/native-121-evidence/ready-refresh.pngThe review fix extends the existing core payload test for initial/resumed attaches and reopen with
providerInstanceId, plus omission for thread terminals. The new assertion was observed failing before the payload fix.Verification limits: error/permission states are fixtures; no live server restart, permission revocation, shell exit, or real Install/Sign in click was exercised (smoke providers are already ready). Installers and sign-ins were intentionally never run. Offscreen attached-pane rendering intermittently drops surrounding cached labels, especially in the writeFailed capture; ready and font-refresh captures show the full dialog. The fresh review-fix openFailed capture has complete labels; attached-pane captures are retained from the original smoke check. Real-window rendering is unverified under the no-window rule. Root
check:changedwas interrupted when its defaultfork/maincomparison expanded to repo-wide checks; its ledger formatting finding was fixed and checked separately.Built with GPT-6.1 Sol in Codex