Skip to content

chore(fork): sync with upstream v0.1.10 - #24

Merged
amartya18 merged 1928 commits into
mainfrom
fork-sync/v0.1.10
Nov 17, 2026
Merged

amartya18 merged 1928 commits into
mainfrom
fork-sync/v0.1.10

Conversation

@amartya18

Copy link
Copy Markdown
Owner

Syncs the fork with upstream T3 Code v0.1.10 (1,924 upstream commits since v0.1.9). This is a merge, not a rebase, so upstream's history stays in main.

Conflicts and how they were resolved

Each one takes upstream's code and puts the fork's behavior back on top.

Desktop identity (fork installs beside official T3 Code)

  • scripts/build-desktop-artifact.ts: upstream now sets StartupWMClass to the Electron WM_CLASS from setDesktopName. The fork uses its own desktop entry name, so it is com.amartya18.T3CodeFork, not com.t3tools.T3Code.
  • apps/desktop/src/window/DesktopWindow.ts: took upstream's new DesktopPrimaryPaste import and dropped a duplicate logger import.
  • DesktopPreReadyPlatform.test.ts, DesktopCliCommand.test.ts: took upstream's rewritten tests, kept the fork's com.amartya18.T3CodeFork entry and t3-fork command names.

Home (fork #16)

  • OrchestratorMcpService.ts: upstream rewrote t3_thread_read (newest-first paging, earlierPosition, a byte budget for results). The fork had moved that handler into readThreadPage so Home can read other environments. readThreadPage now runs upstream's new logic. Client callers still page forward from a cursorless read (pagesForward); Home reads newest first, like agents. Kept the fork's providerCapabilities and ThreadViewContext, and added upstream's pinned and background-work fields and its firstPage flag to threadDetail.
  • home/FleetService.ts (no conflict, but broke): upstream narrowed listProjectThreads to light entries that can list every project. Fleet's thread list now uses it and loads shells only for those ids, the same way upstream's t3_thread_list does.
  • toolkits/orchestrator/tools.ts: kept Home routing on top of upstream's new RemoteDelegation send dependencies. Took upstream's new t3_thread_read description and kept "Home can read any thread."
  • toolkits/project/handlers.ts: t3_project_delete keeps both refusals: Home can never delete, and nobody can delete the scratch project over MCP (new in upstream).
  • toolkits/thread/handlers.ts, ws.ts, ws.test.ts, contracts/settings.ts, client-runtime/rpc/client.ts, useHandleNewThread.ts: kept both sides' imports and RPCs. In ws.ts the Home layer stays; AgentSessionScanner.layer is dropped there, as upstream did.
  • McpHttpServer.test.ts, PeerLinkRequests.test.ts, toolkits/core.test.ts, evals/mcp-tool-use/backgroundWait.ts: took upstream's new test layers and added notHomeLayer.
  • AppRoot.tsx: upstream's new I18nProvider wraps the fork's HomeFleetHost.
  • settingsSearch.ts, SettingsSidebarNav.tsx: took upstream's i18n (msg/gt) and new keyboard handler, then kept the Home section, which shows only on a desktop app's own server.
  • ChatHeader.tsx: upstream's MiddleTruncate breadcrumb, with the fork's rule that Home's project crumb starts no thread.
  • TimelineUserMessageRow.tsx: upstream's linked-sender lookup, and the sender label still reads "Home" for Home's messages.
  • Sidebar.tsx: upstream's routeKeyInPlace, plus the fork's rule that opening Home never widens the scope.
  • Sidebar.logic.test.ts: upstream removed resolveSidebarRowThreadId and its test. The fork's Home-row test is kept.
  • ThreadNotificationCoordinator.tsx, chatThreadActions.ts: merged imports, kept defaultNewThreadProjectRef beside upstream's new threadHasStarted and draftModelSelectionApplies.
  • agentContextBudget.json: re-measured. Home's tool text adds the same ~1.5 KB it did before.

Fork tests updated for new upstream tests

  • build-desktop-artifact.test.ts: expects the fork's window class.
  • SettingsSidebarNav.composition.browser.test.tsx: the Tab-order test skips Home, which is hidden outside the desktop app.
  • packages/ssh/src/tunnel.test.ts: expects the fork's CLI release URL (amartya18/t3code).
  • FleetService.test.ts: mocks the new list path.

Checks run locally (unsharded, this tree's ci.yml)

Job Step Result
lint reject PR assets, ensure:electron, knip:check, GitHub + Expo GraphQL generate --check, vp check pass
build vpr typecheck (one package at a time; in parallel this 14 GB machine runs out of memory) pass
build vp run build:desktop, verify-preload-bundle.mjs pass
build desktop launch check smoke-desktop-app.ts (under a user-space Xvfb; xvfb-run isn't installed) pass
build Playwright install, verify-built-boot.ts pass
test stage-preview-bundle.test.py, release-check node --test scripts pass
test package tests (all but web, server, monorepo) 34/35 pass, 1 upstream-only failure (below)
test_web vp run --filter @t3tools/web test (619 files) pass
test_server vp run test:cached … apps/server (522 tasks, incl. the transfer budget integration test) pass
e2e web dev server, Replay (dev) showcase turn: streamed thinking, tasks, a tool call, an approval, and the final markdown answer pass

Upstream-only failures

  • apps/mobile/modules/t3-highlights/tests/utf16-to-utf8.test.ts fails with c++: command not found. It compiles a C++ helper on the host, and this machine has no C++ compiler. It fails the same way on a clean v0.1.10 checkout.

🤖 Generated with Claude Code

spoukyii and others added 30 commits November 15, 2026 05:17
… KB" (pingdotgg#30330)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: bentbrain <28818884+bentbrain@users.noreply.github.com>
…tgg#30753)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…gdotgg#29749)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
… reply (pingdotgg#30084)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…tgg#32376)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…on every host (pingdotgg#32774)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: GPT-6.1 Sol <noreply@openai.com>
Co-authored-by: Shivam Sharma <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…failed when one did (pingdotgg#32407)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ted (pingdotgg#32413)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…pingdotgg#32323)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…s cancelled (pingdotgg#32414)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ngdotgg#33083)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ing node_modules (2,500 s → 5.0 s) (pingdotgg#32023)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…iew (pingdotgg#32324)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…y never show (pingdotgg#32351)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…dotgg#32364)

Co-authored-by: azhar <azhar.amir@amartha.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…33069)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#32598)

Co-authored-by: Zuri <zurih@rtx.internal>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…d player item (pingdotgg#32196)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…tgg#33078)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…pingdotgg#32619)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ad read instead of hiding its threads (pingdotgg#32620)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ngdotgg#32683)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
juliusmarminge and others added 28 commits November 16, 2026 07:47
…otgg#37632)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…he id (pingdotgg#37493)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…otgg#37150)

Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
… keep uploading (pingdotgg#37681)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
)

Co-authored-by: maria-rcks <maria@kuuro.net>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Marker-bit <Marker-bit@users.noreply.github.com>
…gdotgg#37703)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: screen <screen@users.noreply.git.cafe>
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ead (pingdotgg#37735)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ingdotgg#37741)

Co-authored-by: Usama Khan <usama@Usamas-MacBook-Pro.local>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…0.1.10 tests

The Linux window class test expects the fork's desktop entry name, the agent
context budget counts Home's tool text, and the settings Tab-order test skips
Home, which shows only on a desktop app's own server.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream v0.1.10's listProjectThreads lists every project and orders threads,
so Fleet's thread list reads it and loads shells only for those ids.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rror

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@amartya18
amartya18 merged commit ce3fd8e into main Nov 17, 2026
@amartya18
amartya18 deleted the fork-sync/v0.1.10 branch November 17, 2026 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.