Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
173 commits
Select commit Hold shift + click to select a range
290182d
fix(provider-core): Vite+ provider updates respect npm's release-age …
juliusmarminge Nov 13, 2026
6790f85
fix(web): point pairing copy at Sharing & access (#27692)
PedroNavHur Nov 13, 2026
5f69cac
fix(web): turn diffs cut off at the size limit say changes are incomp…
juliusmarminge Nov 13, 2026
082a3e3
fix(web): narrow-window right panel dialog is named Workspace panel (…
juliusmarminge Nov 13, 2026
eb7e63a
fix(server): thread reads preview linked PRs and list_thread_pull_req…
juliusmarminge Nov 13, 2026
74573fc
fix(web): new project publish option tells screen readers whether it …
juliusmarminge Nov 13, 2026
ed05c0e
fix(server): preview drag moves the mouse during the drag (#36096)
juliusmarminge Nov 13, 2026
bd7d264
fix(server): a fresh-session scheduled run no longer takes over the t…
juliusmarminge Nov 13, 2026
10fbff5
fix(server): deferred-steer check and queued cancel no longer read a …
juliusmarminge Nov 13, 2026
21b0b7a
fix(composer): keep reviews from different Git hosts in suggestions (…
saphitv Nov 13, 2026
ed7e501
fix(web): terminal "Add to chat" now adds to a queued message being e…
juliusmarminge Nov 13, 2026
a044f0c
fix(mobile): a final answer followed by more work in the same run sta…
juliusmarminge Nov 13, 2026
fa9d85f
fix(web): a server updated with the app reconnects as soon as it is r…
Bil0000 Nov 13, 2026
7903b48
fix(acp): Copilot runs end when its reply is done, not when its async…
juliusmarminge Nov 13, 2026
08be782
fix(server): a link forgotten mid-resolve says it is not linked (#36132)
juliusmarminge Nov 13, 2026
4aec277
fix(server): t3_queue and handoff analytics no longer read a thread's…
juliusmarminge Nov 13, 2026
2d8a843
perf(server): shell reads of a worktree or family no longer parse eve…
juliusmarminge Nov 13, 2026
c7a3f02
fix(desktop): Local environment off survives an unreadable value in d…
juliusmarminge Nov 13, 2026
095611d
fix(mobile): a sub-agent opened from its parent on a narrow iPad keep…
juliusmarminge Nov 13, 2026
8610b31
fix(server): Codex usage answering after three seconds is no longer d…
juliusmarminge Nov 13, 2026
9a35ab0
fix(mobile): iOS terminal font and theme changes no longer replay out…
shivamhwp Nov 13, 2026
f313d0a
fix(server): stop device daemon alongside slow hub shutdown (#33566)
shivamhwp Nov 13, 2026
3ac8b1f
fix(acp): bound unread notification retention by size (#23217)
juliusmarminge Nov 13, 2026
00f617d
fix(client-runtime): recover subscriptions that stop on a healthy con…
juliusmarminge Nov 13, 2026
e419417
fix(server): stopping the service during the pre-update backup ends t…
juliusmarminge Nov 13, 2026
928dd04
fix(server): preview browser downloads Chrome 157.0.8103.78 with its …
juliusmarminge Nov 13, 2026
d0957bc
fix(opencode): restarted server stops an orphaned OpenCode server sta…
juliusmarminge Nov 13, 2026
c398b46
fix(server): Codex text generation runs when launch args define an MC…
juliusmarminge Nov 13, 2026
759e649
fix(server): agent recordings keep up with the page instead of the en…
juliusmarminge Nov 13, 2026
9b6dde9
fix(server): session import finds compressed Codex rollouts (#34947)
juliusmarminge Nov 13, 2026
148612e
fix(opencode): usage scans reuse unchanged rows and run off the event…
juliusmarminge Nov 13, 2026
d3ef7e8
fix(cursor): send the catalog's default model parameters on every Cur…
juliusmarminge Nov 13, 2026
0568a63
fix(server): agents point to Settings → Labs when the link tools are …
juliusmarminge Nov 13, 2026
139ec80
fix(server): Claude no longer dispatches skill mentions from handoff …
juliusmarminge Nov 13, 2026
4b316fd
fix(web): clear deleted checkout labels from the sidebar (#25063)
juliusmarminge Nov 13, 2026
4582a3b
fix(server): MacPorts-owned agent CLIs are no longer updated through …
juliusmarminge Nov 13, 2026
286eeea
test(desktop): AppImage shim test no longer writes into its temp dir …
juliusmarminge Nov 13, 2026
f62fa29
fix(web): Add to another machine can find ignored files past the firs…
juliusmarminge Nov 13, 2026
b5c0ee5
fix(mobile): Android Back from Pulls or Usage returns to Threads (#36…
juliusmarminge Nov 13, 2026
d19467a
fix(server): a thread visit stores only its read state (#36233)
juliusmarminge Nov 13, 2026
5cbdf00
fix(web): mostly vertical trackpad scrolls no longer navigate back or…
juliusmarminge Nov 13, 2026
8bf0dc4
fix(opencode): a resumed task subagent's turn no longer collides with…
juliusmarminge Nov 13, 2026
a4a8c61
fix(server): preview click, hover and drag survive a target replaced …
juliusmarminge Nov 13, 2026
0f13d63
fix(browser): Stop cancels loading pages (#29475)
voltcrash Nov 13, 2026
713731f
fix(server): a timed-out preview call no longer evicts the shared ser…
juliusmarminge Nov 13, 2026
5aea99a
fix(server): turns recreate a worktree folder that lost its checkout …
juliusmarminge Nov 13, 2026
beb528c
fix(server): queued scheduled deliveries follow the thread's current …
Ali-Al1 Nov 13, 2026
350753a
fix(usage): Claude accounts with a $0 monthly cap no longer leave a b…
cardoso-neto Nov 13, 2026
93aaad5
fix(web): PR conversation headers wrap instead of overflowing (#36211)
BeLazy167 Nov 13, 2026
c5dfb8f
fix(mobile): new thread starts in the thread list's filtered project …
juliusmarminge Nov 13, 2026
a877d40
fix(opencode): models load once OpenCode 2 finishes activating its pl…
juliusmarminge Nov 13, 2026
497aac2
fix(server): include Cursor team usage in account history (#36237)
Yash-Singh1 Nov 13, 2026
764c047
fix(web): terminal TypeScript links preserve error locations (#36174)
saphitv Nov 13, 2026
79dd6d7
fix(web): terminal TypeScript links preserve error locations (#36174)
saphitv Nov 13, 2026
daed1dd
fix(server): a follow-up delegated task waits for the subagents its c…
juliusmarminge Nov 13, 2026
9b5d997
fix(opencode): native forks no longer multiply usage (#23120)
juliusmarminge Nov 13, 2026
d70bfe6
fix(server): a send to a thread whose worktree can't be recreated now…
juliusmarminge Nov 13, 2026
1ea5236
fix(mobile): HTML file previews play video inline on iPhone (#32343)
juliusmarminge Nov 13, 2026
2953fda
fix(server): Antigravity skill bodies no longer exhaust the skill sca…
juliusmarminge Nov 13, 2026
76d0fff
fix(server): include symlinks in workspace search (#24578)
juliusmarminge Nov 13, 2026
7ab4650
fix(mobile): Work on PR keeps its worktree when switching machines (#…
juliusmarminge Nov 13, 2026
a09e54a
fix(server): proxied usage limits take their reset time from the CLIP…
juliusmarminge Nov 13, 2026
2d5e0ae
fix(server): session import brings in the linked-worktree sessions th…
juliusmarminge Nov 13, 2026
571b319
fix(server): a remote delegated task no longer stays running when its…
juliusmarminge Nov 13, 2026
445d32c
fix(server): preview clicks fail within their timeout and say why (#3…
juliusmarminge Nov 13, 2026
daed91f
fix(shared): batch SQLite worker result transfers (#36067)
Yash-Singh1 Nov 13, 2026
78b654f
fix(server): Stop clears a finished delegated child's row held by a s…
juliusmarminge Nov 13, 2026
ff30b16
fix(desktop): clicking above the Settings or Usage modal closes it ag…
juliusmarminge Nov 13, 2026
065aca4
test(web): code block highlight test waits for the highlighter, not a…
juliusmarminge Nov 13, 2026
be5f805
fix(web): new desktop browser tabs open at the default zoom and appea…
juliusmarminge Nov 13, 2026
8cd8a3c
fix(server): file search no longer freezes the server while fff's wat…
juliusmarminge Nov 13, 2026
8171cd0
fix(desktop): mouse back and forward stay inside the browser tab (#33…
juliusmarminge Nov 13, 2026
fcd0687
fix(web): removing a checkout moves its open draft to a remaining che…
juliusmarminge Nov 13, 2026
9efd960
fix(mobile): a Settings link sent to the running app opens the Settin…
juliusmarminge Nov 13, 2026
c83e78f
fix(web): Shift+Return after closed inline code or bold starts a plai…
juliusmarminge Nov 13, 2026
e94db17
fix(mobile): adding a folder that is already a project opens it (#34942)
juliusmarminge Nov 13, 2026
41e69ff
fix(contracts): agents keep working after starting an async delegate …
juliusmarminge Nov 13, 2026
1a4a299
fix(server): reverting to a checkpoint restores skip-worktree files (…
juliusmarminge Nov 13, 2026
66ec370
fix(shared): hosted thread URLs inside other links stay as written (#…
juliusmarminge Nov 13, 2026
c165587
fix(provider-cursor): Cursor threads report token usage and context f…
juliusmarminge Nov 13, 2026
3521634
fix(server): review diffs no longer read oversized untracked files (#…
juliusmarminge Nov 13, 2026
fa6326b
fix(web): closing a composer menu on a touch tablet no longer opens t…
juliusmarminge Nov 13, 2026
ca6e09c
fix(mobile): Duo feed scroll indicator stays left of the vertical bar…
juliusmarminge Nov 13, 2026
7bd9134
fix(server): turn diffs follow branch switches (#36343)
juliusmarminge Nov 13, 2026
b009582
fix(web): picking the previous branch after an outside checkout switc…
juliusmarminge Nov 13, 2026
0c28045
fix(server): systemd service starts again after its start limit tripp…
juliusmarminge Nov 13, 2026
eb81855
fix(server): branches in a fork checkout no longer show the fork main…
juliusmarminge Nov 13, 2026
f8dc37d
fix(web): floating preview resize holds its shape and ends when inter…
juliusmarminge Nov 13, 2026
250d372
fix(web): images in expanded tool rows page through the group's viewe…
juliusmarminge Nov 13, 2026
6bb9b7b
fix(web): auto-settle days save when the edit is finished, not on eve…
juliusmarminge Nov 13, 2026
e07585e
fix(desktop): AppImage updates keep their filename (#36306)
juliusmarminge Nov 13, 2026
51e1346
fix(relay): an iPad no longer gets a Done alert for every unrelated p…
juliusmarminge Nov 13, 2026
96a4d2f
fix(web): pasted URLs and paths keep their underscores (#36363)
juliusmarminge Nov 13, 2026
af28467
fix(mobile): reference links resolve across folds and artifact cards …
juliusmarminge Nov 13, 2026
4115648
fix(server): a folder that only holds a repository's worktrees is ref…
juliusmarminge Nov 13, 2026
65e4272
fix(server): a hung network mount no longer freezes the server when i…
juliusmarminge Nov 13, 2026
cfc71e1
fix(web): preview annotations in question answers reach the agent wit…
juliusmarminge Nov 13, 2026
1721f18
fix(web): clearing a running terminal keeps its screen and input mode…
juliusmarminge Nov 13, 2026
1da05a8
fix(server): a default branch the remote deleted no longer starts wor…
juliusmarminge Nov 13, 2026
38072bd
fix(desktop): new tabs the agent opens from links no longer steal com…
juliusmarminge Nov 13, 2026
9a455f0
fix(ssh): a renamed SSH connection keeps managing its remote server (…
juliusmarminge Nov 13, 2026
af9b4e4
fix(server): a worktree handoff on Claude or Pi completes its run and…
juliusmarminge Nov 13, 2026
0a6b3eb
fix(forgejo): Gitea branch PR lookups no longer read the whole pull r…
juliusmarminge Nov 13, 2026
9402dc3
fix(checkpoint): fetched upstream commits no longer show as agent cha…
juliusmarminge Nov 13, 2026
d772115
fix(server): terminal history keeps text after a CSI cut off by non-A…
juliusmarminge Nov 13, 2026
7ea6db4
fix(web): a mounted chat view no longer keeps every thread copy it re…
juliusmarminge Nov 13, 2026
b5b4705
fix(server): a Codex Stop that never completes offers Force stop (#36…
juliusmarminge Nov 13, 2026
0517d15
fix(web): provider sign-in links only open web addresses (#36392)
juliusmarminge Nov 13, 2026
aab388d
fix(server): Claude can show the user mid-turn text in full (#36384)
juliusmarminge Nov 13, 2026
9f94a87
fix(cli): tagged source builds report the release version (#36350)
juliusmarminge Nov 13, 2026
0b5f35c
fix(server): storage cleanup prunes idle No project folders under ~/.…
juliusmarminge Nov 13, 2026
93cbca3
fix(terminal): trimmed history no longer replays half of a control se…
juliusmarminge Nov 13, 2026
9ced4f1
fix(usage): a re-emitted Codex snapshot is no longer billed as a coun…
juliusmarminge Nov 13, 2026
931cd3a
fix(server): a Claude Monitor line no longer wakes a delegated child'…
juliusmarminge Nov 13, 2026
b35819c
fix(opencode): a lost subagent report no longer leaves a resumed call…
juliusmarminge Nov 13, 2026
bc7fe11
fix(web): a new worktree thread opened during a clone bases on the re…
juliusmarminge Nov 13, 2026
4ee3b60
fix(server): unauthenticated token requests no longer write DPoP repl…
juliusmarminge Nov 13, 2026
94aa3d7
fix(server): other sites can no longer frame the web app (#36395)
juliusmarminge Nov 13, 2026
5df5b44
fix(server): a server browser tab survives a renderer crash, and a se…
juliusmarminge Nov 13, 2026
1219f62
fix(web): T3 Connect sign-in offers Retry after Clerk fails to load (…
juliusmarminge Nov 13, 2026
dd2678d
fix(ci): macOS PR previews no longer run the PR's bundle next to sign…
juliusmarminge Nov 13, 2026
134ab31
fix(mobile): a new thread's first message no longer returns to the co…
juliusmarminge Nov 13, 2026
48cdefe
fix(web): size markdown media whose width and height carry a px unit …
juliusmarminge Nov 13, 2026
36f011d
fix(web): file links the agent cited from a checkout it cd'd into ope…
juliusmarminge Nov 13, 2026
70b0529
ci(mobile): iOS jobs run on macos-27, store builds require the final …
juliusmarminge Nov 13, 2026
5f95653
fix(server): Claude context meter no longer shows an auto-compact poi…
juliusmarminge Nov 13, 2026
c8db8be
fix(web): a run waiting on foreground subagents says so instead of Th…
juliusmarminge Nov 13, 2026
aaa3dba
fix(server): a follow-up to a delegated child waits for its awaited b…
juliusmarminge Nov 13, 2026
08b8689
fix(provider-grok): Grok follow-ups queue instead of cancelling the r…
juliusmarminge Nov 13, 2026
b537916
fix(server): thread list builds metadata only for the page it returns…
juliusmarminge Nov 13, 2026
3c1be11
fix(web): middle-clicking empty chat space on Linux no longer pastes …
juliusmarminge Nov 13, 2026
ab9e6a2
fix(web): closing Settings no longer leaves it as a back/forward stop…
juliusmarminge Nov 13, 2026
eb14ddb
fix(opencode): OpenCode 1.x threads report context-window usage (#36430)
juliusmarminge Nov 13, 2026
2d68968
fix(web): bare @ in the composer lists workspace files (#36435)
juliusmarminge Nov 13, 2026
6b47939
fix(mobile): thread list project filter lists recently active project…
juliusmarminge Nov 13, 2026
2d80cb6
fix(clients): live working timers count on the host's clock (#36420)
juliusmarminge Nov 13, 2026
770028f
perf(relay): lighter Postgres load and PS-160 cluster (#36442)
juliusmarminge Nov 13, 2026
a6d9140
fix(mobile): mobile:install --session works on pooled devices (#36447)
juliusmarminge Nov 13, 2026
9d8998b
fix(native): KDE SnapShot no longer loses the first reply from KWin (…
t3dotgg Nov 14, 2026
6689a04
fix(server): t3 connect status no longer reports a publish-only link …
juliusmarminge Nov 14, 2026
7ae21bf
fix(web): don't label Windows paths outside the workspace as relative…
ValeraZSD Nov 14, 2026
6bce222
fix(server): multi-line guest messages are no longer refused or store…
juliusmarminge Nov 14, 2026
88d4d06
perf(desktop): provider checks no longer compete with server startup …
t3dotgg Nov 14, 2026
cf382b0
fix(web,mobile): explain missing file access for host videos (#24637)
juliusmarminge Nov 14, 2026
44fefbc
fix(scripts): iOS scenarios prepare the dev client before leasing a d…
juliusmarminge Nov 14, 2026
4bab2f3
perf(server): a new thread's first turn starts sooner (#35710)
t3dotgg Nov 14, 2026
f5ae808
fix(provider-pi): running shell output no longer stores a snapshot ro…
juliusmarminge Nov 14, 2026
2a1caac
fix(web): NVDA browse mode reads the current thread's branch, not the…
nibarAhmed Nov 14, 2026
99e10f0
fix(server): T3 Connect clients are named "T3 Connect", not "T3 Conne…
juliusmarminge Nov 14, 2026
cbf0f0a
fix(web): screen readers read the Update everything machine list as a…
juliusmarminge Nov 14, 2026
42057b8
feat: agents can restyle T3 Code with theme colors and CSS (#35247)
t3dotgg Nov 14, 2026
e4f066d
fix(mobile): long-pressed iOS blockquotes no longer draw over the thr…
juliusmarminge Nov 14, 2026
9a4ec17
fix(cli): npm launcher no longer leaves a runtime running after a sto…
juliusmarminge Nov 14, 2026
a2edd28
feat(connect): require approval for new T3 Connect devices (#36419)
juliusmarminge Nov 14, 2026
ca1a028
fix(server): run the Azure CLI in UTF-8 on Windows (#25801)
PHSebastiao Nov 14, 2026
a37715c
fix(server): preview navigation leaves a page whose script never yiel…
juliusmarminge Nov 14, 2026
2a468ac
fix(server): the auto-settle sweep no longer rereads every idle branc…
juliusmarminge Nov 14, 2026
dea07a1
fix(web): rewind no longer offers file restore in project-folder thre…
juliusmarminge Nov 14, 2026
913181c
fix(server): stop the relay client a crashed server left running (#36…
juliusmarminge Nov 14, 2026
a7fd432
fix(server): read Azure DevOps pull request templates (#22881)
juliusmarminge Nov 14, 2026
67699df
perf(azure-devops): PR Code tab loads a page's files in one az run in…
Kieren-Foenander Nov 14, 2026
a9fd0b2
fix(web): copying a file preview selection returns the selected lines…
juliusmarminge Nov 14, 2026
da7ebc2
fix(mobile): push-token failures no longer report notifications as en…
juliusmarminge Nov 14, 2026
e371543
fix(provider-core): mise updates a tool configured by its backend nam…
juliusmarminge Nov 14, 2026
2a21f41
fix(server): parent turns no longer duplicate delegated task thread i…
juliusmarminge Nov 14, 2026
6fe782c
fix(server): Windows drive paths open under WSL (#26030)
juliusmarminge Nov 14, 2026
757f71a
fix(client-runtime): new T3 Connect machines appear without signing i…
juliusmarminge Nov 14, 2026
83ee1f5
fix(azure-devops): local pull request checkout no longer fails on --d…
Tabonx Nov 14, 2026
525f5b2
fix(usage): count shared Windows and WSL transcripts once (#24319)
juliusmarminge Nov 14, 2026
1a12c4a
fix(azure-devops): pull requests report build validation as checks (#…
Tabonx Nov 14, 2026
e5835c9
fix(desktop): WSL backend starts in distros without automounted drive…
juliusmarminge Nov 14, 2026
db2cc20
fix(server): t3 browser setup reloads an AppArmor profile that is on …
juliusmarminge Nov 14, 2026
9c9f7c4
chore(fork): merge upstream v0.1.10-nightly.20261114.4669
tebiggs Nov 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 9 additions & 4 deletions .agents/skills/test-t3-mobile/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,15 @@ prints one JSON line; on failure it names the next command. Mobile verification
includes that step unless the user prohibits it.

For a device you opened in an agent-device session elsewhere (a device pool,
cloud, or remote host), run `vp run mobile:install <ios|android> --session <s>`
from the directory you opened the session in. It installs the cached build into
that session (`--abi arm64-v8a` for an ARM Android device; `--metro <url>` also
opens it against Metro) and never builds.
cloud, or remote host), run `vp run mobile:install <ios|android> --session <s>
--config <file>` from the directory you opened the session in, passing the
`--config` file from `device_open`'s `targetArgs`. Without it, a device pool's
gateway refuses the install, wrongly saying agent-device is too old. It installs
the cached build into that session (`--abi arm64-v8a` for an ARM Android device;
pool Android emulators are x86_64, the default; `--metro <url>` also opens it
against Metro). Without a cached build for this checkout it builds first, which can
outlast the lease, so run `vp run mobile:install <ios|android> --prepare` (with
the same `--abi`) before you open the device.

Start `vp run dev:client` from `apps/mobile`, or reuse a healthy Metro belonging
to this checkout. Open its printed development-client URL with AgentDevice
Expand Down
2 changes: 1 addition & 1 deletion .github/fork/upstream-tag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.1.10-nightly.20261113.4630
v0.1.10-nightly.20261114.4669
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ jobs:
name: Mobile Native Static Analysis
needs: changes
if: ${{ !cancelled() && needs.changes.outputs.mobile_native != 'false' }}
runs-on: blacksmith-6vcpu-macos-26
runs-on: blacksmith-6vcpu-macos-27
timeout-minutes: 10
steps:
- name: Checkout
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/desktop-macos-preview-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ jobs:
rust_target: aarch64-apple-darwin
resource_key: darwin-arm64
cli_archive: false
untrusted_bundle: true

# Release assets download without a GitHub account, unlike workflow
# artifacts. All preview DMGs live on one rolling prerelease tagged
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mobile-dev-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ jobs:
ios:
name: iOS simulator
if: github.repository == 'pingdotgg/t3code' && (github.event_name != 'workflow_dispatch' || inputs.platform == 'ios')
runs-on: blacksmith-12vcpu-macos-26
runs-on: blacksmith-12vcpu-macos-27
timeout-minutes: 60
concurrency:
group: mobile-dev-client-ios-${{ github.event_name == 'pull_request' && github.event.pull_request.number || inputs.fingerprint || github.sha }}
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/mobile-eas-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -680,8 +680,8 @@ jobs:
echo ":rocket: android: submitted and recorded \`$BUILD_TAG\`" >> "$GITHUB_STEP_SUMMARY"
# Off unless the MOBILE_IOS_LOCAL_BUILDS repository variable is `true`; the
# production job only sets ios_build then. Store binaries need the final
# Xcode 27.1; MOBILE_IOS_ALLOW_XCODE_RC=true accepts the release candidate.
# production job only sets ios_build then. Xcode 27.1 matches the EAS build
# image in eas.json.
# No sticky disk: it mounts ext4 and only works on Linux runners.
ios:
name: iOS store build
Expand All @@ -701,7 +701,6 @@ jobs:
EXPO_TOKEN: ${{ secrets.EXPO_PRODUCTION_TOKEN }}
PROFILE: ${{ needs.production.outputs.ios_profile }}
BUILD_TAG: mobile-ios-build/${{ needs.production.outputs.ios_profile }}/${{ needs.production.outputs.ios_version }}/${{ needs.production.outputs.ios_fingerprint }}
ALLOW_XCODE_RC: ${{ vars.MOBILE_IOS_ALLOW_XCODE_RC == 'true' }}
steps:
- name: Checkout
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
Expand Down Expand Up @@ -739,12 +738,9 @@ jobs:
if: steps.record.outputs.built != 'true'
run: |
xcode=/Applications/Xcode_27.1.app
if [ ! -d "$xcode" ] && [ "$ALLOW_XCODE_RC" = "true" ]; then
xcode=/Applications/Xcode_27.1_Release_Candidate.app
fi
if [ ! -d "$xcode" ]; then
ls -d /Applications/Xcode*.app
echo "::error::Xcode 27.1 (final) is not on this runner. Set the MOBILE_IOS_ALLOW_XCODE_RC repository variable to true to build store binaries with the release candidate."
echo "::error::Xcode 27.1 is not on this runner."
exit 1
fi
sudo xcode-select -s "$xcode/Contents/Developer"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mobile-showcase-screenshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
ios:
name: iPhone, iPhone Duo, and iPad 13
if: inputs.platform == 'all' || inputs.platform == 'ios'
runs-on: blacksmith-12vcpu-macos-26
runs-on: blacksmith-12vcpu-macos-27
# Capturing every palette multiplies the device matrix by six, and only the
# one native build is shared between them.
timeout-minutes: ${{ inputs.theme == 'all' && 300 || 60 }}
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/release-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ on:
required: false
default: false
type: boolean
# Whether the JS bundle came from a pull request. This job holds the
# signing secrets, so packaging then skips every step that runs the bundle.
untrusted_bundle:
required: false
default: false
type: boolean
# A runner of the target's own platform and architecture, for a `runner`
# that cannot execute the target. The build job skips everything that
# runs the packaged binaries, and a second job runs it there.
Expand Down Expand Up @@ -134,6 +140,14 @@ jobs:
T3CODE_CLERK_CLI_OAUTH_CLIENT_ID: ${{ inputs.clerk_cli_oauth_client_id }}
T3CODE_RELAY_URL: ${{ inputs.relay_url }}
steps:
# The launch check and the CLI archive smoke test both run the bundle.
- name: Reject running an untrusted bundle
if: inputs.untrusted_bundle && (inputs.launch_check || inputs.cli_archive)
shell: bash
run: |
echo "::error::untrusted_bundle cannot be combined with launch_check or cli_archive, which run the bundle."
exit 1
# This repository is public, so Git needs no credentials. checkout's
# credential cleanup runs submodule foreach even with submodules disabled,
# which fails on the orphaned gitlinks in our vendored .repos tree.
Expand Down Expand Up @@ -573,6 +587,7 @@ jobs:
pnpm_config_prefer_offline: "true"
T3CODE_DESKTOP_REUSE_RESOURCE_MONITOR: true
T3CODE_DESKTOP_REUSE_LINUX_CAPTURE_HELPERS: ${{ steps.capture_helper_cache.outputs.cache-hit == 'true' }}
T3CODE_DESKTOP_UNTRUSTED_BUNDLE: ${{ inputs.untrusted_bundle }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }}
Expand Down
18 changes: 15 additions & 3 deletions apps/desktop/src/app/DesktopApp.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ it.effect.each([false, true])(
const historyStarted = yield* Deferred.make<void>();
const releaseHistory = yield* Deferred.make<void>();
const quitting = yield* Ref.make(false);
const tokenRequested = yield* Deferred.make<void>();
const events: string[] = [];
const record = (event: string) =>
Effect.sync(() => {
Expand Down Expand Up @@ -144,7 +145,7 @@ it.effect.each([false, true])(
configure: Effect.void,
} as PreviewPasskeys.PreviewPasskeys["Service"]),
Effect.provideService(DesktopApplicationMenu.DesktopApplicationMenu, {
configure: Effect.void,
configure: record("menu"),
}),
Effect.provideService(DesktopUpdates.DesktopUpdates, {
configure: Effect.void,
Expand Down Expand Up @@ -222,7 +223,12 @@ it.effect.each([false, true])(
Layer.mock(DesktopClientSettings.DesktopClientSettings, {}),
Layer.mock(DesktopConnectionCatalogStore.DesktopConnectionCatalogStore, {}),
Layer.mock(DesktopIpc.DesktopIpc, {}),
Layer.mock(DesktopLocalEnvironmentAuth.DesktopLocalEnvironmentAuth, {}),
Layer.mock(DesktopLocalEnvironmentAuth.DesktopLocalEnvironmentAuth, {
getBearerToken: record("token").pipe(
Effect.andThen(Deferred.succeed(tokenRequested, undefined)),
Effect.as("token"),
),
}),
Layer.mock(DesktopManagedPolicy.DesktopManagedPolicy, {}),
Layer.succeed(DesktopPrimaryPaste.DesktopPrimaryPaste, { enabled: true }),
Layer.mock(DesktopSshEnvironment.DesktopSshEnvironment, {}),
Expand Down Expand Up @@ -253,7 +259,13 @@ it.effect.each([false, true])(
);
yield* Deferred.await(registrationStarted);
yield* Deferred.await(windowStarted);
assert.deepEqual(events, ["identity", "ready", "identity", "backend", "window"]);
yield* Deferred.await(tokenRequested);
// The backend spawns before menus, and its token is minted without waiting for the renderer.
assert.deepEqual(
events.filter((event) => event !== "token"),
["identity", "ready", "identity", "backend", "menu", "window"],
);
assert.isAbove(events.indexOf("token"), events.indexOf("backend"));
assert.isFalse(yield* Deferred.isDone(registrationStopped));
const shutdown = yield* DesktopShutdown.DesktopShutdown;
yield* shutdown.request;
Expand Down
130 changes: 81 additions & 49 deletions apps/desktop/src/app/DesktopApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import * as PreviewPasskeys from "../preview/Passkeys.ts";
import * as DesktopBackendManager from "../backend/DesktopBackendManager.ts";
import * as DesktopBackendPool from "../backend/DesktopBackendPool.ts";
import * as DesktopHomeOwner from "../backend/DesktopHomeOwner.ts";
import * as DesktopLocalEnvironmentAuth from "../backend/DesktopLocalEnvironmentAuth.ts";
import * as DesktopEnvironment from "./DesktopEnvironment.ts";
import * as DesktopLegacyLocalStorage from "./DesktopLegacyLocalStorage.ts";
import * as DesktopLifecycle from "./DesktopLifecycle.ts";
Expand Down Expand Up @@ -168,13 +169,12 @@ const stopAllPoolInstances = Effect.fn("desktop.app.stopAllPoolInstances")(
},
);

const bootstrap = Effect.gen(function* () {
// Spawns the local backend as soon as the protocol, IPC, and legacy storage that every window needs exist.
const startLocalBackend = Effect.gen(function* () {
const state = yield* DesktopState.DesktopState;
const environment = yield* DesktopEnvironment.DesktopEnvironment;
const desktopSettings = yield* DesktopAppSettings.DesktopAppSettings;
const desktopWindow = yield* DesktopWindow.DesktopWindow;
const snapShot = yield* DesktopSnapShot.DesktopSnapShot;
const appActivation = yield* DesktopAppActivation.DesktopAppActivation;
yield* logBootstrapInfo("bootstrap start");

const settings = yield* desktopSettings.get;
Expand All @@ -193,32 +193,13 @@ const bootstrap = Effect.gen(function* () {
yield* (yield* DesktopAppIdentity.DesktopAppIdentity).resolveUserDataPath,
);

yield* snapShot.initialize;
// Only the user's own login shell PATH shows every t3 a new terminal runs; a fresh install has
// no cached one. Without it, the command is left to Settings.
const installCli = (yield* DesktopCliCommand.DesktopCliCommand).installOnFirstLaunch;
yield* Effect.forkScoped(
(yield* DesktopShellEnvironment.DesktopShellEnvironment).awaitUserShellDiscovery.pipe(
Effect.flatMap((found) =>
found || environment.platform === "win32"
? installCli
: logBootstrapInfo("skipped installing the t3 command without the shell PATH"),
),
),
);

if (!settings.localEnvironmentEnabled) {
yield* logBootstrapInfo("bootstrap skipping local environment (disabled in settings)");
if (!(yield* Ref.get(state.quitting))) {
yield* desktopWindow.createMainIfBackendReady;
}
return;
return false;
}

const pool = yield* DesktopBackendPool.DesktopBackendPool;
const primaryBackend = yield* pool.primary;
const primaryBackend = yield* (yield* DesktopBackendPool.DesktopBackendPool).primary;
const serverExposure = yield* DesktopServerExposure.DesktopServerExposure;
const wslBackend = yield* DesktopWslBackend.DesktopWslBackend;

if (environment.isDevelopment && Option.isNone(environment.configuredBackendPort)) {
return yield* new DesktopDevelopmentBackendPortRequiredError();
Expand All @@ -237,7 +218,8 @@ const bootstrap = Effect.gen(function* () {
"This T3 home is unavailable",
DesktopHomeOwner.homeOwnedMessage(owner),
);
return yield* (yield* ElectronApp.ElectronApp).quit;
yield* (yield* ElectronApp.ElectronApp).quit;
return false;
}

const backendPortSelection = yield* resolveDesktopBackendPort(environment.configuredBackendPort);
Expand Down Expand Up @@ -275,29 +257,73 @@ const bootstrap = Effect.gen(function* () {
);
}

if (!(yield* Ref.get(state.quitting))) {
if (settings.wslOnly === true && settings.wslBackendEnabled === true) {
yield* desktopWindow.showConnectingSplash;
}
yield* primaryBackend.start;
yield* logBootstrapInfo("bootstrap backend start requested");
// WSL-only fallback can change the primary endpoint before readiness.
const config = yield* primaryBackend.currentConfig;
if (
!environment.isDevelopment &&
!settings.wslOnly &&
Option.isSome(config) &&
Option.isNone(config.value.preflightFailure)
) {
yield* desktopWindow.ensureMain;
if (yield* Ref.get(state.quitting)) {
return false;
}
if (settings.wslOnly === true && settings.wslBackendEnabled === true) {
yield* desktopWindow.showConnectingSplash;
}
yield* primaryBackend.start;
yield* logBootstrapInfo("bootstrap backend start requested");
// The renderer asks for this token first; minting it at readiness saves a round trip.
yield* Effect.forkScoped(
(yield* DesktopLocalEnvironmentAuth.DesktopLocalEnvironmentAuth).getBearerToken.pipe(
Effect.ignore,
),
);
return true;
}).pipe(Effect.withSpan("desktop.startLocalBackend"));

const bootstrap = Effect.fn("desktop.bootstrap")(function* (backendStarted: boolean) {
const state = yield* DesktopState.DesktopState;
const environment = yield* DesktopEnvironment.DesktopEnvironment;
const desktopSettings = yield* DesktopAppSettings.DesktopAppSettings;
const desktopWindow = yield* DesktopWindow.DesktopWindow;
const snapShot = yield* DesktopSnapShot.DesktopSnapShot;
const appActivation = yield* DesktopAppActivation.DesktopAppActivation;
const settings = yield* desktopSettings.get;
if (settings.localEnvironmentEnabled && (!backendStarted || (yield* Ref.get(state.quitting)))) {
return;
}

yield* snapShot.initialize;
// Only the user's own login shell PATH shows every t3 a new terminal runs; a fresh install has
// no cached one. Without it, the command is left to Settings.
const installCli = (yield* DesktopCliCommand.DesktopCliCommand).installOnFirstLaunch;
yield* Effect.forkScoped(
(yield* DesktopShellEnvironment.DesktopShellEnvironment).awaitUserShellDiscovery.pipe(
Effect.flatMap((found) =>
found || environment.platform === "win32"
? installCli
: logBootstrapInfo("skipped installing the t3 command without the shell PATH"),
),
),
);

if (!settings.localEnvironmentEnabled) {
if (!(yield* Ref.get(state.quitting))) {
yield* desktopWindow.createMainIfBackendReady;
}
yield* appActivation.start.pipe(
Effect.tap(() => logBootstrapInfo("desktop app control socket ready")),
Effect.catch((error) => logStartupError("desktop app control socket unavailable", { error })),
);
yield* Effect.forkScoped(wslBackend.reconcile);
return;
}
}).pipe(Effect.withSpan("desktop.bootstrap"));

const primaryBackend = yield* (yield* DesktopBackendPool.DesktopBackendPool).primary;
// WSL-only fallback can change the primary endpoint before readiness.
const config = yield* primaryBackend.currentConfig;
if (
!environment.isDevelopment &&
!settings.wslOnly &&
Option.isSome(config) &&
Option.isNone(config.value.preflightFailure)
) {
yield* desktopWindow.ensureMain;
}
yield* appActivation.start.pipe(
Effect.tap(() => logBootstrapInfo("desktop app control socket ready")),
Effect.catch((error) => logStartupError("desktop app control socket unavailable", { error })),
);
yield* Effect.forkScoped((yield* DesktopWslBackend.DesktopWslBackend).reconcile);
});

const startup = Effect.gen(function* () {
const appIdentity = yield* DesktopAppIdentity.DesktopAppIdentity;
Expand Down Expand Up @@ -369,14 +395,20 @@ const startup = Effect.gen(function* () {
});
}
yield* appIdentity.configure;
yield* previewPasskeys.configure;
yield* applicationMenu.configure;
// Sets canInstallUpdates, which the backend bootstrap payload reads.
yield* updates.configure;
yield* DesktopRemoteUpdates.listen;
yield* DesktopStartupRecovery.listen;
const backendStarted = yield* startLocalBackend.pipe(
Effect.catchCause((cause) => fatalStartupCause("bootstrap", cause)),
);
yield* previewPasskeys.configure;
yield* applicationMenu.configure;
// Portal identity is prepared pre-ready; MIME helpers must not gate the backend or window.
yield* linuxUrlHandler.register.pipe(Effect.forkScoped);
yield* bootstrap.pipe(Effect.catchCause((cause) => fatalStartupCause("bootstrap", cause)));
yield* bootstrap(backendStarted).pipe(
Effect.catchCause((cause) => fatalStartupCause("bootstrap", cause)),
);
}).pipe(Effect.withSpan("desktop.startup"));

const scopedProgram = Effect.scoped(
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src/app/DesktopCliShim.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const fakeAppImage = (canMount = true, app = REPORTER) => {
`echo $$ >'${root}/mounter.pid'`,
canMount ? `echo '${image}'` : 'echo "Cannot mount AppImage"; exit 1',
// Like the FUSE runtime, any of these unmounts. fd 3 reports to the test when it is open.
`trap 'echo unmounted >&3 2>/dev/null; touch "${root}/unmounted"; exit 0' TERM HUP INT`,
"trap 'echo unmounted >&3 2>/dev/null; exit 0' TERM HUP INT",
"trap 'echo mounted >&3 2>/dev/null' WINCH",
"while :; do sleep 0.05; done",
"",
Expand Down
Loading
Loading