Files
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
..

T3 Code Mobile

Warning

T3 Code Mobile is currently in development and is not distributed yet. If you want to try it out, you can build it from source.

Quickstart

Note

Uses native modules so using Expo Go is not supported. You need to use the Expo Dev Client.

This app has three variants:

  • development: Expo dev client, installable side-by-side as T3 Code Dev
  • preview: persistent internal preview build, installable side-by-side as T3 Code Preview
  • production: store/release build as T3 Code

Run commands from apps/mobile.

Development

Start Metro for the dev client:

bun run dev:client

Build and run the local iOS dev client:

bun run ios:dev

Build and run the local iOS preview app:

bun run ios:preview

Force the review diff highlighter engine:

EXPO_PUBLIC_REVIEW_HIGHLIGHTER_ENGINE=javascript bun run ios:dev

javascript is the default and recommended setting for the review diff screen. Set EXPO_PUBLIC_REVIEW_HIGHLIGHTER_ENGINE=native only when you explicitly want to test the native Shiki engine.

Inspect the resolved Expo config for a variant:

bun run config:dev
bun run config:preview

Run static checks for mobile native code:

node ../../scripts/mobile-native-static-check.ts

The native lint task runs SwiftLint for Swift plus ktlint and detekt for Kotlin. Missing native tools are reported as warnings and skipped locally. CI installs the default toolset from apps/mobile/Brewfile before running the native checks.

EAS Builds

Create a cloud dev-client build:

bun run eas:ios:dev

Create a persistent preview build:

bun run eas:ios:preview

Android equivalents:

bun run eas:android:dev
bun run eas:android:preview