Commit Graph
1519 Commits
Author SHA1 Message Date
Cursor Agent 34938f8253 Fix terminal session state bugs: metadata status override, worktree attach race, remove unused panel
- Fix combineSessionState to prefer buffer terminal status (exited/closed/error)
  over stale metadata summary status, preventing UI from showing a terminal as
  running after the attach stream has recorded exit.

- Add selectedThreadDetail?.worktreePath to bootstrap effect deps so the terminal
  re-attaches with the correct worktree path when thread detail hydrates after
  initial attach.

- Remove unused ThreadTerminalPanel component that duplicated attach logic
  alongside ThreadTerminalRouteScreen.
2026-05-22 01:40:28 +00:00
Julius Marminge 907f4d7501 Add mobile project onboarding flow
- Add new project screens for local folders and remote repositories
- Support source-control provider lookup, clone destination selection, and folder browsing
- Extract shared add-project path helpers and add coverage for the new runtime logic
2026-05-21 18:30:24 -07:00
Julius Marminge 1e929ad74f Handle intentional WS closes and heartbeat freshness
- Ignore intentional close events during transport disposal
- Track heartbeat freshness from pong traffic and reset on reconnect
- Propagate request lifecycle hooks through the RPC client
2026-05-20 15:10:41 +02:00
Julius Marmingeandcodex 3ee6fbba2c Fix CI regressions after branch sync
Co-authored-by: codex <[email protected]>
2026-05-20 13:48:49 +02:00
Julius Marmingeandcodex 6b48288f77 Sync mobile remote branch with main
Co-authored-by: codex <[email protected]>
2026-05-20 13:17:57 +02:00
Julius Marminge 2632c9251e Refine mobile environment connection flows
- Rename backends to environments across mobile UI
- Add richer loading and empty states for connections, home, and new task flows
- Improve review section loading handling and terminal keyboard layout
2026-05-20 11:06:48 +02:00
Julius Marminge 89672b3d89 Refactor mobile ordering and catalog assembly
- Replace ad hoc sorts with shared Effect order helpers
- Rework remote catalog and review/terminal lists for clearer data flow
- Keep threaded/review selection and diff adapters aligned with the new ordering logic
2026-05-20 11:05:43 +02:00
Julius Marminge 90fea7bb2f Refactor collection handling for mobile remote connect
- Replace chained array transforms with explicit loops across mobile and server paths
- Tighten provider, git, and orchestration parsing while preserving behavior
- Improve remote-connect UI data shaping and thread activity filtering
2026-05-20 11:05:37 +02:00
Julius Marminge 7793bd6de7 Normalize branch and model selection handling
- Deduplicate terminal IDs and favorite model slugs with trim-aware iteration
- Use effect-based filtering for local branch and built-in model lists
- Switch stable array handling to non-mutating `toSorted`
2026-05-20 11:05:37 +02:00
Julius Marminge 7f03f4d19a Harden remote connect and subscription handling
- Scope cleartext mobile config to development
- Fix stale loads, ordering, and terminal reuse
- Clean up terminal metadata subscriptions on failure
2026-05-20 11:05:37 +02:00
Julius Marmingeandcodex 4ac2618403 Fix browser VCS status test mocks
Co-authored-by: codex <[email protected]>
2026-05-20 11:05:37 +02:00
Julius Marminge e7b41d72a8 Rename git state to VCS and add diff preview caching
- Replace git-scoped client/runtime state with VCS-scoped APIs
- Add checkpoint diff preview state and reuse cached diffs
- Update mobile and web review flows to use the new shared state
2026-05-20 11:05:36 +02:00
Julius Marminge c87cc163f8 Refactor client runtime state refresh handling
- Move archived threads state into shared client-runtime
- Add stale-aware refresh/invalidation for path search, discovery, and VCS refs
- Wire provider invalidations through the web runtime
2026-05-20 11:05:15 +02:00
Julius Marminge 570cc46e51 Replace git react-query layer with vcsRefManager and source control acti
- Migrate branch selector and git actions to useVcsRefs and new source control action hooks
- Remove gitReactQuery and projectReactQuery modules in favor of sourceControlActions and vcsRefState
- Add staleTimeMs to mobile vcs ref manager configuration
2026-05-20 11:05:15 +02:00
Julius Marminge 8d65f131f0 Rename branch state to VCS refs
- Switch mobile and client-runtime state to the generic VcsRef API
- Preserve background refreshes with client change handling and errors
2026-05-20 11:05:07 +02:00
Julius Marminge fbd89d303c Handle truncated git review diff previews safely
- Drop unterminated paths from truncated NUL-separated git stdout
- Preserve truncation state when building untracked review diffs
2026-05-20 11:04:26 +02:00
Julius Marminge e793c07a21 Refactor mobile remote search and review state
- Move composer path search and source-control discovery into shared managed state
- Persist review async/loading state in atoms and add coverage
- Update mobile/web composers and review highlighter initialization
2026-05-20 11:03:29 +02:00
Julius Marmingeandcodex ab95f11360 Fix mobile native static check typecheck
Co-authored-by: codex <[email protected]>
2026-05-20 11:02:23 +02:00
Julius Marminge d950f45672 Refactor review sheet into focused native review hooks
- Split file visibility, diff data, and comment selection logic out of `ReviewSheet`
- Add tests for review file visibility and native diff bridge behavior
- Wire review selection and mobile remote connect state through shared hooks
2026-05-20 11:02:23 +02:00
Julius Marminge 594df47fb7 Restrict review diff preview to workspace roots
- Reject diff preview requests outside the configured workspace
- Add tests covering allowed and denied cwd paths
2026-05-20 11:02:13 +02:00
Yash Singh b487b0588c use custom react-native-nitro-markdown 2026-05-20 11:02:13 +02:00
Julius Marminge 3c9c14f6b3 rm 2026-05-20 11:02:13 +02:00
Julius Marminge 8916eeb042 Switch review preview timestamps to DateTimeUtc
- Emit Effect DateTime values from review and git diff previews
- Tighten the contract to require UTC datetime output
2026-05-20 11:02:13 +02:00
Julius Marminge 6db3098a21 Add remote review diff plumbing
- Move review diff parsing and highlighting into shared mobile diff modules
- Add review service and wire server, web, and mobile around remote review selection
2026-05-20 11:02:13 +02:00
Julius Marminge eba28035d2 Add inline review comment selection to mobile diffs
- render comment rows and line selection state in the native diff view
- wire long-press/tap gestures to start and complete review comments
- tighten shared diff utilities and add coverage
2026-05-20 10:55:55 +02:00
Julius Marmingeandcodex a49c2d1301 Fix saved environment runtime test mocks
Co-authored-by: codex <[email protected]>
2026-05-20 10:55:20 +02:00
Yash SinghandJulius Marminge 509a7a84cc feat: ios16 support (#2469)
Co-authored-by: Julius Marminge <[email protected]>
2026-05-20 10:54:25 +02:00
Julius Marmingeandcodex 9aae833e45 Fix terminal attach session launch context
Co-authored-by: codex <[email protected]>
2026-05-20 10:54:13 +02:00
Julius Marmingeandcodex b305a44b9f Use branded ids in mobile runtime flows
Co-authored-by: codex <[email protected]>
2026-05-20 10:54:13 +02:00
Julius Marmingeandcodex 7a285d1172 Add mobile source control discovery runtime state
- Share source control discovery state across mobile environment lifecycles
- Resolve discovery clients through centralized mobile environment sessions
- Ignore stale in-flight discovery refreshes after invalidation or reset
- Mark pending web shell/thread-detail runtime migration points

Co-authored-by: codex <[email protected]>
2026-05-20 10:53:18 +02:00
Julius Marminge 37908166ed Add native mobile review diff rendering and static checks
- Add iOS review diff module, parser, and highlighter support
- Wire mobile native lint tooling into CI and local docs
- Include fixtures and tests for the new diff pipeline
2026-05-20 10:52:49 +02:00
Julius Marminge da56bd50d9 Add mobile review profiling and syntax highlight debug tools
- Add a debug diff scratch route with fixture-driven highlighting
- Wrap review screen in a shared highlighter provider
- Document profiling steps and add a Hermes profiling script
2026-05-20 10:52:49 +02:00
Julius Marminge e27b561b84 terminals 2026-05-20 10:52:49 +02:00
Julius Marminge df425a86ca Ignore fast mode updates for Opencode models
- Skip remote fast-mode selection changes when the current provider is `opencode`
- Keep existing model selection state unchanged for unsupported providers
2026-05-20 10:48:51 +02:00
Julius Marminge 2faef729a4 Extract WebSocket RPC client into shared runtime package
- Move ws RPC client and transport primitives into `@t3tools/client-runtime`
- Update web settings and environment code to use shared runtime types
- Keep reconnect and transport tests aligned with the new package boundary
2026-05-20 10:48:51 +02:00
Julius Marminge cca1bacc71 Refactor remote terminal session state handling
- Tighten environment/thread ID typing across mobile and shared state
- Track terminal metadata and subprocess status when attaching sessions
- Update launch and status flows for remote terminals
2026-05-20 10:44:52 +02:00
Julius Marminge f1ae412400 move some stuff around 2026-05-20 10:40:34 +02:00
Julius Marmingeandcodex ccac2d8228 Fix post-rebase mobile typecheck issues
Co-authored-by: codex <[email protected]>
2026-05-20 10:40:34 +02:00
Julius Marminge 58587923b4 Stage remote terminal launches and replay hydrated buffers
- Carry pending launch context into terminal open
- Delay buffer replay until surface hydration is stable
- Co-authored-by: codex <[email protected]>
2026-05-20 10:40:34 +02:00
Julius Marminge 343074470f Set mobile config scheme per app variant
- Use variant-specific Expo schemes for development, preview, and production
- Preserve the production `t3code` scheme while fixing remote-connect routing
2026-05-20 10:40:34 +02:00
Julius MarmingeandJulius Marminge 3c78384d43 feat(mobile): Add terminal powered by libghostty (#2056)
Co-authored-by: Julius Marminge <[email protected]>
2026-05-20 10:40:34 +02:00
Julius Marminge dcf4d6d38e Improve mobile review diff rendering
- Switch review screen to a virtualized list layout
- Queue diff highlighting and default to the JS engine
- Add word-diff helpers and tests
2026-05-20 10:40:27 +02:00
Julius Marminge 43d534ad67 shiki loading changes 2026-05-20 10:40:00 +02:00
Julius Marminge 4de9770810 get native highlighter setup properly 2026-05-20 10:39:45 +02:00
Julius Marmingeandcodex df4223bf7d Enhance mobile review comments with diff previews
- Add syntax-highlighted diff rendering and cached review state
- Support pasted/attached images in review comments
- Improve mobile review sheet handling for large or partial diffs

Co-authored-by: codex <[email protected]>
2026-05-20 10:39:33 +02:00
Julius Marmingeandcodex 14e56f8a09 Add T3 Code mobile app and shared remote runtime
Rebuild PR #2013 on top of current origin/main without the duplicated commit lineage.

Co-authored-by: codex <[email protected]>
2026-05-20 10:39:21 +02:00
t3-code[bot] d1e85c4e8f chore(release): prepare v0.0.24 2026-05-15 06:40:13 +00:00
Julius Marminge ea20e80021 Exclude workspace packages from desktop runtime deps (#2688) 2026-05-14 07:32:48 +00:00
Julius MarmingeandJulius Marminge 9e632f5cec [codex] add diagnostics resource history (#2685)
Co-authored-by: Julius Marminge <[email protected]>
2026-05-14 09:14:32 +02:00
Julius Marminge 4120e94598 Back off VCS remote refresh failures (#2686) 2026-05-14 08:41:02 +02:00