Skip to content

chore: sync 180 more upstream t3code commits: workflows, thread moves, providers and machine-load warnings (7/n) - #56

Open
chaitanyaprem wants to merge 2213 commits into
MiaAI-Lab:mainfrom
chaitanyaprem:sync/upstream-wave7
Open

chaitanyaprem wants to merge 2213 commits into
MiaAI-Lab:mainfrom
chaitanyaprem:sync/upstream-wave7

Conversation

@chaitanyaprem

Copy link
Copy Markdown

Stacked on #55 (which is stacked on #54, #53, #52, #50 and #49). Until those merge, this PR's diff includes their commits too. The new part is the last 186 commits, starting after e36686ed62.

Problem

After #55, 220 upstream commits were still out. About 24 are left out on purpose (telemetry, Clerk, tracing, agent feedback, release bumps). Most of the rest conflicted with fork code in the heavy areas: workflows, thread moves between machines, providers, MCP servers per thread, and the machine-load warnings.

Change

180 upstream commits, cherry-picked with -x on top of #55. Each keeps its original author, date and message.

138 fix, 30 feat, 9 perf, 1 test, 1 docs, plus pingdotgg#46363 (the Grok Build SDK adapter). Among them:

Upstream migrations 117 to 125 are added as 140 to 148, after the fork's own migrations.

Conflicts. 82 commits needed a resolution, and each says what was done in a Conflict resolved for M3 Code: line in its message.

  • 41 by the rules from chore: sync 160 more upstream t3code commits with conflicts resolved (4/n) #53: imports merged, M3 Code naming kept, upstream's new tests added, version bumps matched to the fork's lines, migrations renumbered, docs edits applied where the fork only renamed the product, and files M3 Code removed kept deleted.
  • 24 merged line by line: each line comes from whichever side changed it. Each result was checked for syntax before it was committed, and against upstream's own diff afterwards.
  • 17 by hand. Most keep a fork change next to upstream's. For example, the Pi driver's private npm cache and enrichment flag go into the fork's shared createPiDriver, and the fork's OpenCode transcript reads stay next to upstream's decompression budget. Upstream's palette changes wrap the fork's addProjectAtPath hook, and the thread rows keep the showProviderIcon switch and the fork's mobile mono font.

6 commits on top:

  • Build fixes. Some picks still reference code M3 Code removed (client telemetry, agent feedback, tracing, Clerk). A few line-wise merges put upstream's change in the wrong place: the settle-scripts layer, the MCP toolkit registration, the context budget test, and the model picker's inference label. Each fix is listed in the commit message.
  • Workflow tests point at the fork's migration files.
  • Picked tests expect M3 Code's values: naming, migration numbers, and the agent context budget. The budget file also gets back the fork's lean tool list entry.
  • The regenerated lockfile.
  • Regenerated translation catalogs with the Polish re-key. The generator reorders keys, so this commit touches about 61,000 lines across 22 files.
  • Formatting.

Left out:

Scope

Upstream sync. Every change is an upstream commit already reviewed and merged in pingdotgg/t3code, plus the conflict resolutions and the 6 commits listed above.

Verification

Run locally on macOS arm64, comparing this branch with main at b04a104:

Agent: Claude Opus 5.5 in Claude Code.

juliusmarminge and others added 30 commits December 3, 2026 17:28
…pingdotgg#39102)

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Yash Singh <[email protected]>

(cherry picked from commit 09e4c7c)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in packages/provider-core/src/server/orchestrationInstructions.ts.
…ngdotgg#39362)

Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Yash Singh <[email protected]>

(cherry picked from commit bddcfb7)

Conflict resolved for M3 Code: added upstream's new tests in apps/server/src/orchestration-v2/Adapters/AntigravityAdapterV2.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
…se from floating (pingdotgg#44148)

Co-authored-by: Lukas Tomondy <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>

(cherry picked from commit d898612)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in docs/user/browser.md.
pingdotgg#44095)

(cherry picked from commit 0a63dfe)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in pnpm-workspace.yaml.
… line (pingdotgg#44426)

Co-authored-by: Julius Marminge <[email protected]>

(cherry picked from commit f946b0c)

Conflict resolved for M3 Code: added upstream's new tests in apps/server/src/project/AgentSessionScanner.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
pingdotgg#44492)

Co-authored-by: SAPHID <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 73949c0)
…otgg#25471)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: SAPHID <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: maria-rcks <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>

(cherry picked from commit d4b5a16)

Conflict resolved for M3 Code: added upstream's new tests in packages/client-runtime/src/state/threadShell.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
… why (pingdotgg#35021)

Co-authored-by: Yash Singh <[email protected]>

(cherry picked from commit 755b73c)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in apps/server/src/provider/providerMaintenanceRunner.ts.
…e moved (pingdotgg#44763)

Co-authored-by: Julius Marminge <[email protected]>

(cherry picked from commit 748bb54)

Conflict resolved for M3 Code: added upstream's new tests in apps/desktop/src/app/DesktopObservability.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
Co-authored-by: Claude Fable 5.2 <[email protected]>

(cherry picked from commit a7484fb)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in pnpm-workspace.yaml.
…ctory (pingdotgg#42164)

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Yash Singh <[email protected]>
(cherry picked from commit 10df37a)
…gdotgg#44796)

Co-authored-by: Julius Marminge <[email protected]>

(cherry picked from commit f9f5ccb)

Conflict resolved for M3 Code: added upstream's new tests in apps/server/src/project/ProjectService.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
Co-authored-by: Julius Marminge <[email protected]>

(cherry picked from commit 1237bd9)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in packages/provider-opencode/src/server/v2/adapter.ts.
… installed (pingdotgg#45014)

Co-authored-by: Alex Southwell <[email protected]>
Co-authored-by: maria-rcks <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>

(cherry picked from commit ed54785)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in apps/server/src/cli/service.ts.
…erminal (pingdotgg#45048)

Co-authored-by: Julius Marminge <[email protected]>

(cherry picked from commit bf20a2e)

Conflict resolved for M3 Code: added upstream's new tests in apps/server/src/terminal/NodePtyAdapter.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
… only the document (pingdotgg#45326)

Co-authored-by: Julius Marminge <[email protected]>

(cherry picked from commit 424d5d2)

Conflict resolved for M3 Code: added upstream's new tests in apps/web/src/components/files/AttachmentFilePreview.browser.test.tsx; tests next to them that come from upstream changes not in M3 Code yet are left out.
…hone's (pingdotgg#45397)

(cherry picked from commit 5dfe5ca)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in apps/mobile/src/features/cloud/T3ConnectProfilePage.tsx.
…gg#45506)

Co-authored-by: Julius Marminge <[email protected]>

(cherry picked from commit acd9812)

Conflict resolved for M3 Code: added upstream's new tests in apps/server/src/terminal/Manager.test.ts; tests next to them that come from upstream changes not in M3 Code yet are left out.
…-place catalog updates (pingdotgg#45584)

Co-authored-by: SAPHID <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit eeb12a1)
Co-authored-by: shivam <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit ee52667)
… with a byte-order mark (pingdotgg#45754)

Co-authored-by: SAPHID <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 5c46546)
…answers (pingdotgg#45919)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 28b572c)
KianMakes and others added 30 commits December 3, 2026 18:38
…otgg#46848)

Co-authored-by: yb <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>

(cherry picked from commit 0a5e0e3)

Conflict resolved for M3 Code: upstream's doc edits applied with M3 Code naming in docs/user/remote-access.md; paragraphs the fork rewrote keep the fork's text.
…ollapsed (pingdotgg#46889)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 0192cf0)
…ingdotgg#46905)

Co-authored-by: Claude Opus 5.5 <[email protected]>

(cherry picked from commit 181bd02)

Conflict resolved for M3 Code: upstream migration 123 added as 146 after the fork's migrations.
… when opened from the keyboard (pingdotgg#46974)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit a0fb9d1)
…ialog is open (pingdotgg#47026)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit a684090)
…t scrolls (pingdotgg#47040)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 23fad95)
…or dialog is open (pingdotgg#47079)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit c9cfe9e)
…bar Update button (pingdotgg#43423)

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Theo Browne <[email protected]>

(cherry picked from commit f9ed85a)

Conflict resolved for M3 Code: merged line by line in apps/server/src/provider/AntigravityProvider.ts: each line comes from whichever side changed it, so upstream's change sits next to the fork's.
…during refreshes (pingdotgg#39361)

(cherry picked from commit c4d445b)

Conflict resolved for M3 Code: awaitEnrichmentOnRefresh is added to the fork's shared createPiDriver.
…ned from the keyboard (pingdotgg#47130)

Co-authored-by: Julius Marminge <[email protected]>
(cherry picked from commit 3c17dbf)
…ows (pingdotgg#47105)

Co-authored-by: Julius Marminge <[email protected]>

(cherry picked from commit 59af88f)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in apps/web/src/components/Sidebar.browser.test.tsx.
…ngdotgg#47167)

Co-authored-by: Julius Marminge <[email protected]>

(cherry picked from commit 06d024e)

Conflict resolved for M3 Code: applied upstream's change on top of the fork's version (fork's M3 Code naming kept, imports from both sides merged, config lines matched by content) in apps/web/src/components/chat/useChatShortcuts.browser.test.tsx.
…vering Snooze (pingdotgg#47225)

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit f416d9e)
M3 Code numbers upstream migrations 23 higher (upstream 115 is 138 here). The picked tests import upstream's file names; they now import the fork's, and a test that already imports the fork's file no longer imports it twice.
The picks build on upstream code that M3 Code removed or has in another form:

- Client telemetry: the direct socket URL no longer takes client metadata or a connection method.
- Agent feedback: the composer's local-command check and the mobile thread screen drop the
  feedback inputs.
- Tracing and OTLP: the CLI config no longer imports the observability settings or creates a
  trace directory, and the git driver no longer imports the removed metrics.
- Clerk: the account page logic test and the Clerk mock in the Connect row test are removed.
- The machine-load banner import that the later pill replaced, and the Gitea gt-only
  discovery flag, are removed.

Line-wise conflict merges left a few spots wrong. Each now matches upstream's intent:
the settle-scripts layer joins the fork's ProjectStore/ThreadSearch merge, MCP toolkit
registration wraps withClientInput once, the model picker's inference label moves into upstream's
extracted sidebar item, the context budget test filters hidden tools before
the fork's lean/full measurement, and duplicate imports are removed.

The palette's add-project handler loses a stray line, the resource monitor test uses the fork's
query mock, and IssueService imports StandaloneIssueTrackerApi.

The add-project path check passes the platform the path helper now takes, and the mobile settings
row narrows its navigate call: with the fork's extra settings routes, TypeScript no longer
resolves the overload for the whole target union.
…k's strings after this sync

Picked commits and their resolutions change some strings (the plural token wording on the fork's usage rows, the handoff banner's waiting text) and add others. The English catalogs are regenerated, new keys fall back to English in the other locales, and the Polish catalogs are re-keyed to the fork's M3-branded strings.
- The uninstall test and the Antigravity 1.5.0 error say M3 Code (the driver's new message now
  does too).
- The V2 preview upgrade test lists upstream migrations 117, 119 and 122 under the fork's
  numbers (140, 142, 145).
- The peer link migration test runs migrations up to the fork's 142 and 143, not upstream's 119
  and 120.
- The fork's CLIProxyAPI test reads the accounts list that readAccounts now returns.
- agentContextBudget.json records the measured sizes, and keeps the fork's lean tool list entry
  that the picks' version of the file dropped.
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.