Repository navigation
fix: unify pairing-link onboarding and make environment imports opt-in - #29
Conversation
|
Reviewed head [P2] Local exposes a remote-only pairing form in Settings At Submitting that form calls Suggested fix: exclude Validation: 52 frontend tests and TypeScript typecheck passed on the exact PR snapshot. Both macOS and Linux CI jobs passed. Native UI and Rust tests were not rerun locally. No code changes were made during review. Review model: OpenAI |
|
I'd like to keep this PR focused on simplifying the first-run experience after downloading the app. The Settings page still has more flows and logic to untangle. If you agree, I'll address those in separate PRs. |
|
Reviewed: CI macOS/Linux pass. Known P2 remains: Settings exposes a Local pairing form through the remote-only Review model: OpenAI |
|
I've resolved the conflict with the latest The reported Local pairing P2 was already fixed in d23eafe: Full local checks pass after the merge: 60 frontend tests, all seven Rust domain crates, and 42 Tauri host tests, plus the build and contract checks. |
Problem and behavior
First-run desktop catalog discovery could request T3 Code's safeStorage key before the user opted in, and discovery could make an unpaired installation appear connected. Setup also separated local and remote pairing behind different screens.
First setup now has one pairing-link input for either this computer or a remote environment. Its single button reads Paste and connect when empty and Connect when populated. Bar identifies the destination, pairs with it, and selects the connected environment. Settings is unavailable during first setup; paired installations retain connection management and recovery controls.
Changes
needsAccessbug by excludingisLocalfrom remote access controls. Local cannot submit through the remote-onlypair_environmentcommand. In Settings, a compact local status opens a separate Manage connection page.Compatibility
Desktop import defaults to off for existing settings too. Users relying on catalog-only routes must opt in once or add routes manually; existing Bar grants and manual connections are retained. Bar still uses its own OS credential namespace.
Remote links require a reachable address under the existing HTTPS, loopback or verified Tailscale transport policy. A localhost link copied from another computer still targets this computer. Link format evidence: T3 Code v0.1.9,
apps/web/src/components/settings/pairingUrls.ts; setup labels were also checked against 0.1.10-nightly.20261113.4656.Validation
bash scripts/check.shpasses on macOS arm64 with Rust 1.99.1: 60 frontend tests, contract check, frontend build, all seven Rust domain crates and 42 Tauri host tests.git diff --checkpasses.needsAccessexclusion from remote forms, and connection-management navigation.