Skip to content

chore: sync upstream t3code main and resolve conflicts from #2 - #4

Merged
KB01111 merged 271 commits into
mainfrom
sync/upstream-main-2
Nov 24, 2026
Merged

KB01111 merged 271 commits into
mainfrom
sync/upstream-main-2

Conversation

@KB01111

@KB01111 KB01111 commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Problem

#2 syncs pingdotgg/t3code:main into this fork but conflicts with main in 38 files. Its head is upstream's branch with edits by maintainers off, so the conflicts cannot be fixed on that PR.

Change

Merges upstream/main into the fork's main on a branch we control, and resolves the conflicts.

  • The fork's earlier sync copied partial upstream snapshots, so shared files take upstream's version: IssueService, McpHttpServer, Migrations (adds migration 111), documentTextWorker, markdownChunks, file previews, HistorySwipeNavigation.
  • KBCode changes are kept: the isSupportedDesktopDeepLink helper, the sandboxes server capability and its settings-search hook, and the Prime Agent rows in docs/user/install.md (restored with their backticks).
  • Translation catalogs are upstream's plus fork-only keys, regenerated with i18n:generate. The lockfile is re-resolved for the merged workspace.
  • A second commit documents the Clerk values the fork needs (T3CODE_CLERK_CLI_OAUTH_CLIENT_ID, KBCODE_CLERK_RELYING_PARTY, kbcode redirect schemes, com.kbcode.app packages) in .env.example and FORK_SETUP.md.

Scope

Supersedes #2, which can be closed once this merges. The Clerk docs commit is separate from the sync and can be dropped if you prefer it as its own PR.

Verification

  • Typecheck is clean for packages/contracts, packages/shared, apps/server, apps/desktop and apps/web.
  • Pre-commit format, lint and knip:check pass.
  • Locale catalogs match en.json key for key, and regenerating the web catalogs changes nothing.
  • Not run: tests, check:changed, the app itself, and vp run i18n:check (it spawns node_modules/.bin/gt, which fails on Windows).

Claude Sonnet 5.5, Claude Code in T3 Code.

Lokkuchakreshkumar and others added 30 commits November 22, 2026 08:23
…ingdotgg#40858)

Co-authored-by: LVC-Chakresh <chakresh@example.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…as "1024.0 MiB" (pingdotgg#40952)

Co-authored-by: MarcoDotIO <20867620+MarcoDotIO@users.noreply.github.com>
…0951)

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

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

Co-authored-by: Grok 4.7 <noreply@x.ai>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
pingdotgg#40945)

Co-authored-by: gemini-4-neon <me+ai@stefanmirea.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…41025)

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

Co-authored-by: Julius Marminge <julius0216@outlook.com>
)

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…3057)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
juliusmarminge and others added 25 commits November 23, 2026 10:21
…otgg#41578)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…oes back or forward (pingdotgg#41579)

Co-authored-by: only21mil <263261067+only21mil@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
)

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

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

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

Co-authored-by: lowlyleon <183293296+lowlyleon@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…e piece (pingdotgg#41596)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…Code Mode (pingdotgg#41552)

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

Co-authored-by: spoukyii <61633921+spoukyii@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…hat aren't on screen (pingdotgg#41611)

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

Co-authored-by: Julius Marminge <julius0216@outlook.com>
… of filling the row (pingdotgg#41597)

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

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Resolves the conflicts that left PR #2 unmergeable. The fork's earlier sync
carried partial upstream snapshots, so shared files take upstream's version and
only genuine KBCode changes are kept: the desktop deep-link helper, the
`sandboxes` server capability and its settings-search hook, and the Prime Agent
rows in the install guide (restored with their backticks). Translation catalogs
are upstream plus fork-only keys, regenerated with `i18n:generate`, and the
lockfile is re-resolved for the merged workspace.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
.env.example lacked T3CODE_CLERK_CLI_OAUTH_CLIENT_ID, which cloud sign-in
requires, and KBCODE_CLERK_RELYING_PARTY, which defaults to upstream's
clerk.t3.codes. FORK_SETUP.md now lists the Clerk dashboard setup with the
kbcode redirect schemes and com.kbcode.app package names instead of the
t3code values in the Connect runbook.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@codeant-ai

codeant-ai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Skipping CodeAnt AI review — this PR changes more than 100 files, which usually means a migration, codemod, or vendored drop. Line-level review on diffs this large produces duplicate findings on the same rewrite pattern and drowns out anything that actually matters.

If you still want a review, comment @codeant-ai : review. For better signal, consider splitting the PR into smaller chunks.

@codemetrics-ai

Copy link
Copy Markdown

Note

Review skipped

Codemetrics is installed on this repository, but it hasn't been added to your team yet.

To enable AI code reviews for this repo, go to your dashboard and add t3code to your team's repositories.

@sourcery-ai

sourcery-ai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Sorry @KB01111, your pull request is larger than the review limit of 150,000 diff characters

@KB01111
KB01111 merged commit 4186495 into main Nov 24, 2026
2 of 3 checks passed
@KB01111
KB01111 deleted the sync/upstream-main-2 branch November 24, 2026 13:45
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.