GeezerVison is showing github.com — merge upstream/main into fork by adampeterhiggins · Pull Request #590 · adampeterhiggins/t3code
Conversation
What's in this sync
97 upstream commits (3aa007b0e8..38bac7091a), all from Nov 19–20, 2026.
New features
Fixes
- Antigravity: model IDs with thinking levels work when delegating, a worktree handoff no longer leaves threads Waiting, Google sign-in shows its link with the native CLI, host sleep no longer times out a turn,
t3_background_wait works for its own commands, limits read the 1.5.x CLI's stored sign-in, sign-in names a runtime crash, the thread's cwd stays in the workspace, temporary sessions clean up, and compaction is allowed when the runtime advertises it (fix(server): accept Antigravity model IDs with thinking levels when delegating pingdotgg/t3code#39413, fix(server): worktree handoff no longer leaves Antigravity threads Waiting pingdotgg/t3code#39422, fix(server): Antigravity Google sign-in shows its link with the native CLI pingdotgg/t3code#38953, fix(server): host sleep no longer times out an Antigravity turn pingdotgg/t3code#39395, fix(server): Antigravity accepts t3_background_wait for its own background commands pingdotgg/t3code#39421, fix(server): Antigravity limits read the 1.5.x CLI's stored sign-in pingdotgg/t3code#38957, fix(server): Antigravity sign-in names a runtime crash instead of blaming Google pingdotgg/t3code#28355, fix(server): keep Antigravity thread cwd in workspace by omitting attachmentsDir from additionalDirectories pingdotgg/t3code#37997, fix(server): Antigravity 1.5 temporary setup and text-helper sessions clean up their files pingdotgg/t3code#39275, fix(antigravity): allow compaction when the runtime advertises it pingdotgg/t3code#37020).
- Codex: stdio MCP servers receive
T3CODE_THREAD_ID, the thread name follows T3 renames, apps and plugins stay off during text generation, MCP apps resume an idle thread in its own workspace, and goal turns after a restart are paused (fix(server): Codex stdio MCP servers receive T3CODE_THREAD_ID pingdotgg/t3code#39414, fix(server): Codex thread name follows T3 thread renames pingdotgg/t3code#37442, fix(server): keep Codex apps and plugins off during text generation pingdotgg/t3code#39086, fix(server): MCP apps resume an idle Codex thread in its own workspace pingdotgg/t3code#38468, fix(server): Codex goal turns after a server restart are paused instead of running unseen pingdotgg/t3code#25935).
- Claude: every repeated
--plugin-dir launch argument loads its plugin, and Full access rejects Claude Code's reworded dangerous-removal check (fix(claude): every repeated --plugin-dir launch argument loads its plugin pingdotgg/t3code#38634, fix(server): Full access rejects Claude Code's reworded dangerous-removal check pingdotgg/t3code#38581).
- Server reliability: the client reconnect loop survives an unexpected failure, messages queued behind
/compact keep their order, agent activity publishing retries after a network drop, threads stay Working when Claude or OpenCode marks a background wait between turns, agents on hosts without swap are OOM-killed instead of throttled for hours, and a delivered handoff of a failed run is not re-sent (fix(client-runtime): an unexpected failure no longer stops the reconnect loop for good pingdotgg/t3code#39420, fix(server): agent messages queued behind /compact keep send order pingdotgg/t3code#39417, fix(server): agent activity publish keeps retrying after a network drop pingdotgg/t3code#39402, fix(server): threads stay in Working when Claude or OpenCode marks a background wait between turns pingdotgg/t3code#38638, fix(server): agents on hosts without swap are OOM-killed instead of throttled for hours pingdotgg/t3code#39287, fix(server): a delivered handoff of a failed run is not re-sent to later fresh sessions pingdotgg/t3code#39281).
- Web: Cmd+W closes the browser tab when the page has focus, the PR viewer renders
:emoji: shortcodes, Git controls are scoped to the active checkout, Ctrl+B reaches a focused terminal, an off-track desktop build no longer says "Up to date", and the update capsule's restart countdown is localized and stays readable when narrow (fix(web): Cmd+W closes the browser tab when the page has focus pingdotgg/t3code#39340, fix(web): PR viewer renders GitHub :emoji: shortcodes pingdotgg/t3code#39315, fix(web): scope Git controls to the active checkout pingdotgg/t3code#39305, fix(web): Ctrl+B reaches a focused terminal again pingdotgg/t3code#34588, fix(web): an off-track desktop build no longer says "Up to date" pingdotgg/t3code#39302).
- Security: T3 Connect no longer runs cloudflared releases that trust the compromised eMudhra intermediates,
gh credential lookups no longer leak D-Bus daemons, and /logout in chat needs providers:manage (fix(shared): T3 Connect no longer runs cloudflared releases that trust the compromised eMudhra intermediates pingdotgg/t3code#26040, fix(server): gh credential lookups no longer leak D-Bus daemons pingdotgg/t3code#23824, fix(server): /logout in chat needs providers:manage pingdotgg/t3code#39027).
Performance
Discord announcements were not used: #general in "Adam Higgins's server" has no #t3-code-announcements crossposts since Oct 20, so nothing covers this range.
All 97 upstream commits
Sync details
- Base:
origin/main at 3aa007b0e8 (no open sync PR, so this targets main).
- Upstream:
pingdotgg/t3code main pinned at 38bac7091a.
- Before this sync the fork was 97 commits behind and 690 ahead of upstream (merge base
2ab3b7f59c).
- Upstream split no files in this range. No conflicted file lost a large block to an upstream refactor.
Conflict resolutions (30 files)
Locales (apps/web/src/i18n/translations/*.json, 10 files): upstream and the fork both dropped the "Show {n} more" key. Kept the fork's "Show less" and added upstream's new zh "Could not import {name}" string. Then reran gt generate for web and mobile, and i18n:check passes.
Server
Web
Sidebar.tsx, SidebarThreadRow.tsx, threadActionMenu.logic.ts, Sidebar.drag.browser.test.tsx: search-result context menu, as described above. The fork's readThreadShell lookup stays, and it already covers collapsed shelves. Upstream's canRename: !fromSearch and handleSearchResultContextMenu are added to the fork's richer menu state. The fork's preview hover and keyboard menu on search rows stay.
CommandPalette.tsx: upstream's port-forward submenu is chained ahead of the fork's attention-inbox and run-scheduled-task submenus.
ChatMarkdown.tsx: union of rehypeResolvePictureSources (fork) and chatMarkdownImageSource (upstream), with a duplicate import removed. ThreadDetailsPrRows.tsx and citationProcedure.ts use upstream's imports where the fork had already moved the rest.
packages/client-runtime/package.json: union of the fork's ./theme-sync and upstream's ./diff-file-order exports.
Mobile. Upstream pingdotgg#38911 replaced updateMobilePreferencesAtom with the saveMobilePreferences command.
- Conflicted:
SettingsFollowUpRouteScreen.tsx, which keeps the fork's steer-while-awaiting-subagents switch; AppearancePreferencesProvider.tsx, which keeps the fork's environment theme copies; and use-thread-list-v2-shelf-preferences.ts, which keeps the fork's removal of the snoozed/settled shelf toggles.
- Merged cleanly but still called the removed API, now ported:
themeSync.ts, the Legacy (Plan Mode) section in ThreadSettingsSections.tsx, and the notification event preference in SettingsNotificationsRouteScreen.tsx.
use-thread-composer-state.ts: upstream's new onSendCommand sits next to the fork's onUpdateInteractionMode. Goal commands send the thread's own interaction mode, because the fork keeps per-thread modes on mobile.
ThreadFeed.tsx, scheduledTaskDraft.test.ts: union of imports.
Verification
vp i; gt generate (web, mobile); i18n:check: pass
- Typecheck of
@t3tools/contracts, @t3tools/client-runtime, t3, @t3tools/web, @t3tools/mobile: pass
- Server tests (12 files, 968 tests):
DelegatedCompletionDelivery, SubagentProjection, Orchestrator.control-reads, ThreadLaunchService, ClaudeAdapterV2, project/handlers, toolkits/core, OrchestratorMcpService.activity, GitWorkflowService, ProviderTurnStartService, ProviderTurnControlService, ProjectionStore: pass
contracts/orchestrationV2.test, mobile scheduledTaskDraft and preferences, web threadActionMenu.logic: pass
- Browser tests
Sidebar.drag and SidebarThreadRow: pass
vp check --fix on the resolved files and the pre-commit hook (fmt, lint, knip): pass
vp run check:changed after the merge commit: format, graphql, unused patches, lint, knip, typecheck (42 packages), node tests and the React compiler check all pass. vp test (208 files): 6012 tests pass and 4 files fail:
CommandPalette.browser.test.tsx failed to load its module during the full run and passes on its own (7/7). This is a load flake.
- Already failing on
origin/main (3aa007b0e8), in a clean checkout, with identical failures. The merge did not cause them, and a stacked follow-up should fix them:
ChatMarkdown.browser.test.tsx: double-click word and triple-click line selection in inline code (2 tests)
ChatView.browser.test.tsx: "a shortcut conditioned on rightPanelOpen sees the thread's open right panel"
Sidebar.browser.test.tsx: "keeps the viewport in place when showing more settled threads"
- Fork CI runs on Blacksmith runners the fork does not have, so its checks stay queued. Local verification is the gate.
Runtime verification (web and desktop)
Run against this worktree's isolated .t3, never the live install. The live DB is over 500 MiB, so dev seeding skipped it; I added a project and four threads with the free Replay (dev) provider.
Web (vp run dev, T3 Browser panel)
- The app pairs and loads. The sidebar shows the seeded threads with the PR merge upstream/main into fork #590 badge, and the usage footer renders.
- Replay threads render: headings, lists, a code block with its toolbar, a table, and images (the merged
ChatMarkdown image handling).
- A new turn sent from the composer streams end to end: thinking, a task list, tool calls and the final markdown. This exercises the merged
ProviderTurnStartService path (sender note around the fork's projected text). The worktree stayed clean.
- The sidebar search-result right-click opens the merged menu. The fork's items are all there (Hide, Move to group/project, Link, Auto-settle, Copy/Export), Rename is disabled per upstream fix(web): right-clicking a sidebar search result now opens its thread actions pingdotgg/t3code#31545, and Pin from the menu applies.
- Command palette: Change theme, Needs attention (fork), and Settings → Scheduled tasks all open.
- Upstream's new Preview tunnel setting renders under Settings → Sharing & access.
- Thread details show the PR merge upstream/main into fork #590 row and the change counts.
- Every Settings page renders without an error state, and the dev server log shows no errors.
Desktop (vp run dev:desktop, test-t3-desktop hook)
- The main window loads cleanly, with no
ERR_INSUFFICIENT_RESOURCES cold-start failure. Threads open and render, and the pin set from the web client shows here too.
- The quick-message setting saves to
client-settings.json. Its Alt+/ global shortcut opens the panel (project, model, checkout and access chips render), and a second press hides it.
- The sidebar search-result right-click builds the native Electron menu with the same items as web, with Rename disabled and Unpin reflecting state. I read the menu by intercepting
Menu.popup, so no modal menu appeared on screen.
- The desktop log shows no renderer crashes or uncaught errors. Test settings were restored, and every process and port was stopped and checked.
Not covered at runtime
- Upstream's desktop port forwarding: the palette entry only appears with another linked environment, and this isolated state has none.
- Sending from the quick-message panel: the default is a paid model, and Replay isn't available in desktop dev.
- Mobile: no simulator round in this pass. The mobile preference ports are covered by typecheck and the mobile unit tests only.
Notes
- An earlier "Daily upstream sync PR" thread (Daily upstream sync PR) had been queued since 19:15 without starting, and it has no worktree or branch. There was nothing to finish, and this sync covers its upstream range. It could not be settled while it has queued messages.
Merge with Create a merge commit. It keeps upstream history and the merge base for the next sync.
Model: Claude Opus 5.5 (claude-opus-5-5) via Claude Code in T3 Code.
🤖 Generated with Claude Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
# Conflicts:
# apps/mobile/src/features/settings/SettingsFollowUpRouteScreen.tsx
# apps/mobile/src/features/settings/appearance/AppearancePreferencesProvider.tsx
# apps/mobile/src/features/settings/scheduledTaskDraft.test.ts
# apps/mobile/src/features/threads/ThreadFeed.tsx
# apps/mobile/src/features/threads/use-thread-list-v2-shelf-preferences.ts
# apps/mobile/src/state/use-thread-composer-state.ts
# apps/server/src/mcp/toolkits/project/handlers.test.ts
# apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts
# apps/server/src/orchestration-v2/ProviderTurnControlService.ts
# apps/server/src/orchestration-v2/ProviderTurnStartService.ts
# apps/web/src/components/ChatMarkdown.tsx
# apps/web/src/components/CommandPalette.tsx
# apps/web/src/components/Sidebar.drag.browser.test.tsx
# apps/web/src/components/Sidebar.tsx
# apps/web/src/components/chat/ThreadDetailsPrRows.tsx
# apps/web/src/components/chat/citationProcedure.ts
# apps/web/src/components/sidebar/SidebarThreadRow.tsx
# apps/web/src/components/threadActionMenu.logic.ts
# apps/web/src/i18n/translations/de.json
# apps/web/src/i18n/translations/en.json
# apps/web/src/i18n/translations/es.json
# apps/web/src/i18n/translations/fr.json
# apps/web/src/i18n/translations/ja.json
# apps/web/src/i18n/translations/ko.json
# apps/web/src/i18n/translations/pt-BR.json
# apps/web/src/i18n/translations/ru.json
# apps/web/src/i18n/translations/sv.json
# apps/web/src/i18n/translations/zh.json
# packages/client-runtime/package.json
# packages/contracts/src/orchestrationV2.test.ts
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|