Commit Graph
34 Commits
Author SHA1 Message Date
Cursor Agent 7c3f9b483b fix: use measured text width instead of grapheme count for diff content width and word-diff highlight positioning
Replace String.count (grapheme clusters) with NSString.size(withAttributes:)
for computing content widths in rebuildRowLayout and positioning word-diff
highlight ranges in drawWordDiffRanges. This ensures correct horizontal
scroll limits and highlight alignment for lines containing tabs, CJK
characters, or emoji.
2026-05-12 20:54:40 +00:00
Julius Marminge c3943721ab 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-12 22:42:15 +02:00
Julius Marminge 168ec8a818 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-08 22:54:50 -07:00
Julius Marminge 4ec9647ce7 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-08 20:41:39 -07:00
Julius Marminge 01596f53ad 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-08 19:38:12 -07:00
Julius Marminge 9ef8d75c54 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-08 19:16:22 -07:00
Julius Marminge c0a2f00f50 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-08 18:23:58 -07:00
Julius Marminge 665c0c6685 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-08 18:08:41 -07:00
Julius Marminge 87f74346b2 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-07 00:11:43 -07:00
Yash Singh f29a9ff8f1 use custom react-native-nitro-markdown 2026-05-06 22:33:42 -05:00
Julius Marminge d2c7dbfc4d rm 2026-05-04 23:50:06 -07:00
Julius Marminge 92368028f6 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-04 23:35:32 -07:00
Julius Marminge 7d20cb9e79 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-04 19:29:02 -07:00
Yash SinghandJulius Marminge 057d3f24d8 feat: ios16 support (#2469)
Co-authored-by: Julius Marminge <[email protected]>
2026-05-03 21:32:30 -07:00
Julius Marmingeandcodex 93ec45eb3c Fix terminal attach session launch context
Co-authored-by: codex <[email protected]>
2026-05-03 20:56:44 -07:00
Julius Marmingeandcodex b4615a847a Use branded ids in mobile runtime flows
Co-authored-by: codex <[email protected]>
2026-05-03 20:29:53 -07:00
Julius Marmingeandcodex 96897ab346 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-03 20:15:10 -07:00
Julius Marmingeandcodex 0385713da4 Merge origin/main into mobile remote connect
Co-authored-by: codex <[email protected]>
2026-05-02 20:47:06 -07:00
Julius Marminge 9b9fe0d64b 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-04-30 22:29:07 -07:00
Julius Marminge 95038c1add 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-04-28 20:31:08 -07:00
Julius Marminge 664768bff5 Merge origin/main into t3code/mobile-remote-connect
Co-authored-by: codex <[email protected]>

# Conflicts:
#	apps/web/src/components/ChatView.tsx
#	apps/web/src/composer-logic.ts
#	apps/web/src/environments/runtime/service.test.ts
#	apps/web/src/environments/runtime/service.ts
#	apps/web/src/rpc/wsTransport.test.ts
#	apps/web/src/rpc/wsTransport.ts
#	packages/client-runtime/src/wsRpcProtocol.ts
2026-04-27 13:21:38 -07:00
Julius Marminge 4e38d93a8f terminals 2026-04-27 12:39:22 -07:00
Julius Marminge cace5784c3 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-04-17 19:53:17 -07:00
Julius Marminge 3fe96f17b4 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-04-17 19:48:34 -07:00
Julius Marminge dc994a1fe4 move some stuff around 2026-04-17 19:48:20 -07:00
Julius Marmingeandcodex 932ec190ed Fix post-rebase mobile typecheck issues
Co-authored-by: codex <[email protected]>
2026-04-17 19:48:20 -07:00
Julius Marminge 034a8bcab3 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-04-17 19:48:19 -07:00
Julius Marminge 97263c5db4 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-04-17 19:48:19 -07:00
Julius MarmingeandJulius Marminge da6ea88331 feat(mobile): Add terminal powered by libghostty (#2056)
Co-authored-by: Julius Marminge <[email protected]>
2026-04-17 19:48:19 -07:00
Julius Marminge d686613e34 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-04-17 19:48:19 -07:00
Julius Marminge 12fc9b7a12 shiki loading changes 2026-04-17 19:48:19 -07:00
Julius Marminge a22cb0548f get native highlighter setup properly 2026-04-17 19:48:18 -07:00
Julius Marmingeandcodex 9bebd283a5 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-04-17 19:48:18 -07:00
Julius Marmingeandcodex 493fbfab91 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-04-17 19:48:18 -07:00