Skip to content

Sync upstream/main (pingdotgg/t3code @ 8cf97b5f) - #21

Merged
ArturLauche merged 281 commits into
mainfrom
sync/upstream-2026-11-18-8cf97b5f
Nov 18, 2026
Merged

ArturLauche merged 281 commits into
mainfrom
sync/upstream-2026-11-18-8cf97b5f

Conversation

@ArturLauche

Copy link
Copy Markdown
Owner

Summary

Syncs the fork with upstream pingdotgg/t3code main @ 8cf97b5f06f30a872ce30ab8a888f2ff012365a2 ("fix(server): a finished run no longer keeps an unused file index alive (pingdotgg#38585)"), integrating 279 upstream commits on top of the previous sync point 6e650b3849. Fork-specific functionality is preserved throughout; where upstream refactored an area the fork had modified, the fork behavior was ported onto the new architecture.

Important upstream changes incorporated

  • Whole-app localization (i18n) — upstream translated the entire app; new gt()/<T>/msg() copy rules, generated translation catalogs for web/mobile/desktop, and a t3code/no-untranslated-copy lint rule.
  • Claude Agent SDK query runner refactor — the open path was extracted into a tracing-bounded openQuery with a fresh-session-ID retry on MCP registration timeout.
  • Managed provider policy / runtime-mode ceiling — administrator ceilings for provider modes and runtime modes, with disabled-option reasons.
  • Provider/runtime-mode capability plumbing — resolveRuntimeModeOptions, per-provider supported runtime modes, attachment capability declarations.
  • Server, orchestration-v2, contracts, and client-runtime fixes across ~279 commits (file indexing, RTF extraction, notebook labels, background process notifications, etc.).
  • Tooling: Vite+ (vp) task runner, Node 26 engine, pnpm 12.14.

Significant conflicts and resolutions

  • ClaudeAdapterV2.ts — upstream rewrote open into openQuery + retry wrapper; fork had the same body inline plus a fork-only input.spawnClaudeCodeProcess override (cloud runtime spawner). Took upstream's structure and re-applied the input.spawnClaudeCodeProcess ?? line inside spawnProcess. Upstream's fresh-session retry subsumes the fork's resume-only retry.
  • ChatComposer.tsx — duplicate sendDisabledReason computation; kept the fork's version (adds providerCapabilitySendBlockReason gating) and switched its literal to gt().
  • ComposerFooterControls.tsx — kept the fork's unsupported-runtime-mode fallback entry (provider capability gating) but rebuilt it on upstream's resolveRuntimeModeOption/messages i18n API, displaying the actual unsupported mode disabled with the fork's reason.
  • ComposerAttachmentButton.tsx / ThreadComposer.tsx (mobile) — combined upstream's useGT/useMessages localization with the fork's capability-based action filtering and provider send-blocking.
  • Stack.tsx (mobile) — kept fork's cloud-runtimes route alongside upstream's new issue-tracker/source-control routes; moved the route title into ROUTE_TITLES for upstream's arg-less settingsPage().
  • settingsSearch.ts, apps/server/package.json, provider-opencode/adapter.ts — union merges: fork provider keywords (Cline/Freebuff) wrapped in upstream msg(); both @t3tools/cloud-runtime and @t3tools/issue-tracker-linear deps kept; both CONTEXT_WINDOW_READ_TIMEOUT (fork) and OPENCODE_STOP_CONFIRM_TIMEOUT_MS (upstream) constants retained.
  • pnpm-lock.yaml — regenerated via vp i (fork deps @daytona/sdk, e2b, novita-sandbox merged with upstream's lockfile).

Fork functionality preserved / adapted

  • Cline and Freebuff providers (drivers, adapters, ACP support, settings, model pickers, mobile capabilities).
  • Cloud runtime support (@t3tools/cloud-runtime, server cloud/runtime services, WS RPC handlers, web + mobile settings UIs, CloudClaudeSpawner, executionTarget on provider instances).
  • OpenCode provider/model management in Settings.
  • Live TPS meter (ComposerStreamingTps, generationTiming).
  • Fork CI/Docker workflows and Dockerfile (Node 26).
  • i18n adaptation (new commit): all fork-added UI copy wrapped in gt()/<T>/msg() per upstream's new lint rule; translation catalogs regenerated; Cline/Freebuff/Novita/Daytona registered as proper nouns in no-untranslated-copy alongside existing provider brands. Shared-package reason strings (providerCapabilities, openCodeProviderConfig) intentionally remain English-resolved-at-call-site, matching how upstream treats provider badge labels — flagged as follow-up i18n debt.

Validation

  • vp i — clean install, lockfile regenerated.
  • vp staged (fmt + lint + knip on changed files) — pass.
  • vp run i18n:check — catalogs match source in web/mobile/desktop.
  • vp run typecheck — 43/43 packages pass (one mobile error found and fixed: settingsPage() signature).
  • vp run check:changed — all stages pass: format, lint (0 errors), knip ×2, graphql check, typecheck, tests beside changes (72 files / 2113 tests), react compiler.
  • vp run build — 7/7 tasks pass (web, server, desktop, contracts, etc.; desktop required libsecret-1-dev, matching fork CI).
  • Targeted fork tests: provider-opencode adapter (122), ClaudeAgentSdkQueryRunner (22), cloud-runtime (13), Cline/Freebuff providers+drivers+ACP (109), shared capability/config/timing (83) — all pass.

Not run: full repo-wide test suite and live browser verification (CI owns the full suite; changes are conflict-resolution + copy wrapping with no behavioral UI changes).

Generated with Devin

juliusmarminge and others added 30 commits November 16, 2026 17:34
…7827)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…tgg#37847)

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

Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…he extension's session (pingdotgg#37845)

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

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

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

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ious push (pingdotgg#37864)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
amtiYo and others added 23 commits November 18, 2026 03:41
…els (pingdotgg#38556)

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

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…rowser (pingdotgg#36037)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ding (pingdotgg#37406)

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

Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
…ngdotgg#38612)

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

Co-authored-by: asssslay <avramova.ruslana.a.r.r@gmail.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
pingdotgg#38585)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
…11-18-8cf97b5f

# Conflicts:
#	apps/mobile/src/Stack.tsx
#	apps/mobile/src/features/threads/ComposerAttachmentButton.tsx
#	apps/mobile/src/features/threads/ThreadComposer.tsx
#	apps/server/package.json
#	apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts
#	apps/web/src/components/chat/ChatComposer.tsx
#	apps/web/src/components/chat/ComposerFooterControls.tsx
#	apps/web/src/components/settings/settingsSearch.ts
#	packages/provider-opencode/src/server/adapter.ts
#	pnpm-lock.yaml
…ents

Upstream's whole-app localization added a no-untranslated-copy lint rule
covering apps/web, apps/mobile, and packages/client-runtime. Wrap the
fork-added copy (cloud runtime settings on web and mobile, OpenCode
provider/model management, streaming TPS announcer, attachment toasts,
provider-mode banners, mobile route titles) in gt()/T/msg() and
regenerate the translation catalogs.

Also fix the mobile cloud-runtimes route for upstream's arg-less
settingsPage() by moving its title into ROUTE_TITLES, keep the fork's
unsupported-runtime-mode fallback in ComposerFooterControls on top of
upstream's resolveRuntimeModeOption, retain the fork's
input.spawnClaudeCodeProcess override inside upstream's refactored
openQuery, and register Cline/Freebuff/Novita/Daytona as proper nouns in
the copy rule alongside the existing provider brands.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Nov 18, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added the vouch:trusted Author is trusted by repo permissions or the VOUCHED list. label Nov 18, 2026
@kody-ai

kody-ai Bot commented Nov 18, 2026

Copy link
Copy Markdown

BYOK Configuration Required! 🔑

Your plan requires a Bring Your Own Key (BYOK) configuration to perform code reviews.

Please configure your API keys in AI Providers.

@github-actions

Copy link
Copy Markdown

This PR changes the test suite by +311 test cases (browser +31, unit +173, server +107).

New browser test files: apps/web/src/components/SavedViewsMenu.browser.test.tsx, apps/web/src/components/files/imageDecode.browser.test.ts, apps/web/src/components/pullRequest/PullRequestReactions.browser.test.tsx.
Each browser test file costs CI seconds of module loading before its first test runs; a unit test costs milliseconds.

Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing.

@kilo-code-bot

kilo-code-bot Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Overview

Severity Count
CRITICAL 0
WARNING 0
SUGGESTION 0

This PR is a 279-commit upstream sync touching 2084 files; the upstream-authored changes are carried in as-is. Review focused on the fork-authored deltas (merge conflict resolutions and the i18n adaptation commit b4b89bf95), which were verified against current HEAD.

Files Reviewed (13 files)
  • apps/web/src/components/chat/ChatComposer.tsx - provider-capability send gating and streaming TPS wiring; no issues
  • apps/web/src/components/chat/ComposerFooterControls.tsx - unsupported runtime-mode fallback built on resolveRuntimeModeOption; no issues
  • apps/mobile/src/features/threads/ThreadComposer.tsx - attachment capability gating and paste refusal; no issues
  • apps/mobile/src/features/threads/ComposerAttachmentButton.tsx - single/no-action menu filtering; no issues
  • apps/mobile/src/Stack.tsx - cloud-runtimes route title moved to ROUTE_TITLES for arg-less settingsPage(); no issues
  • apps/web/src/components/settings/CloudRuntimeSettings.tsx - copy wrapped in gt()/T/msg(); no issues
  • apps/mobile/src/features/settings/SettingsEnvironmentCloudRuntimesRouteScreen.tsx - copy wrapped and gt memo dep added; no issues
  • apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts - input.spawnClaudeCodeProcess override preserved in spawnProcess, fresh-session retry intact; no issues
  • apps/web/src/components/chat/ComposerStreamingTps.tsx - <T> wrapping; no issues
  • oxlint-plugin-t3code/rules/no-untranslated-copy.ts - proper nouns registered; no issues
  • packages/client-runtime/src/providerClients.ts - badge lint disables documented; no issues
  • apps/server/package.json - fork deps (@daytona/sdk, e2b, novita-sandbox, @t3tools/cloud-runtime) union-merged; no issues
  • packages/provider-opencode/adapter.ts - union merge; no issues

Reviewed by ernie-5.5-flash-preview:free · Input: 45.9K · Output: 8K · Cached: 575.2K

@ArturLauche
ArturLauche merged commit 96baa42 into main Nov 18, 2026
15 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.