Skip to content

chore(sync): merge upstream t3code through 322f654 - #386

Merged
shuv1337 merged 157 commits into
mainfrom
sync/upstream-322f654
Nov 4, 2026
Merged

shuv1337 merged 157 commits into
mainfrom
sync/upstream-322f654

Conversation

@shuv1337

@shuv1337 shuv1337 commented Nov 4, 2026

Copy link
Copy Markdown
Owner

Merges pingdotgg/t3code v0.1.7-nightly.20261104.4151 (322f6544, 155 commits since the last sync at 115739c) into the fork with a normal merge commit.

Priority content:

The fork's branding, versioning, release workflows and the shuvbot signing hardening from #378 and #383 are unchanged. .github/ is byte-identical to main (upstream made no .github changes in this range).

Conflict resolutions

19 files conflicted. Resolved toward upstream's refactors, keeping fork identity:

File Resolution
apps/mobile/app.config.ts Kept fork signing team (APPLE_TEAM_ID) and mobileAuthDomains. Took upstream's Android dictation (recordAudioAndroid: true, image-picker mic permission) with S2Code wording. Dropped upstream's app.t3.codes associated domain and Android intent filter.
apps/mobile/src/App.tsx Kept fork s2code/shuv2code schemes; dropped the empty DEFAULT_HOSTED_APP_URL prefix (an empty prefix matches every URL).
apps/mobile/src/lib/appLinking.ts Took upstream's route-only filter with the fork's scheme regex.
apps/server/src/cli/up.ts Took upstream's --base-dir-aware pair hint (pingdotgg#29684) via the fork-aware resolveHostCliCommand; kept S2CODE_LAN.
apps/server/src/cli/update.ts Kept fork readLauncherTarget and added upstream's resolveMirrorVersion (pingdotgg#29911); took upstream's restart-pending wording (pingdotgg#29901) with the fork's resolved restart command.
apps/server/src/cloud/pinnedRuntime.ts Took upstream's publishedArchive refactor; it keeps the fork's multi-name archive lookup (s2code-, shuv2code-, t3-).
apps/server/src/cloud/selfUpdate.ts Added upstream's update-mirror error with s2code@ naming.
apps/server/src/orchestration-v2/Orchestrator.ts Took upstream's busy-session queue hold; kept the fork's pool-account comment.
apps/server/src/peer/PeerLinks.ts Kept fork capabilities in resolve and added upstream's peer label refresh (pingdotgg#29779).
apps/server/src/persistence/Migrations.ts Kept the fork's fence-once migration 71; added upstream migration 79.
apps/server/src/settingsSecrets.ts Kept both imports.
apps/server/src/serviceLauncher.test.ts Kept the fork's file-level Node import directive; added node:fs.
apps/server/src/cli/update.test.ts, apps/server/src/cloud/selfUpdate.test.ts Combined the fork's channel-install setup with upstream's mirror cases.
packages/shared/src/promptLinks.test.ts Kept fork semantics (upstream host rejected); ported upstream's /threads/ cases to a fork origin.
docs/user/background-service.md, docs/user/composer.md S2Code wording with upstream's behavior changes.
scripts/npm-launcher/t3.mjs, scripts/build-npm-launcher.test.ts Kept deleted, as the fork removed the upstream npm launcher in 36222d4.

Fork adaptations beyond the conflicts

  • Thread links without a hosted app (packages/shared/src/threadLinks.ts). Upstream's Copy thread links (feat(server,web,mobile,desktop): Copy thread copies a link that opens the thread pingdotgg/t3code#26290, feat(mobile,web): copied thread links open the mobile app pingdotgg/t3code#29815) assume DEFAULT_HOSTED_APP_URL is https://app.t3.codes. In the fork it is empty, so hostedThreadLink threw (new URL(path, "")) and the bare-link matcher read any /threads/a/b path in a message as a thread link. Without a hosted app, copied links now fall back to t3-thread://v2 links and hosted-link matching is off. A build with VITE_HOSTED_APP_URL still copies its own hosted link.
  • Dropped upstream's apps/web/public/.well-known app-site-association and assetlinks files and the Vercel rewrite for them, since they list upstream bundle IDs. Kept the fork's app.config.test.ts.
  • packages/provider-cursor/src/server/textGeneration.ts: upstream's new call uses isCursorUsageLimitError, which the fork replaced with cursorUsageLimit.
  • Removed duplicate imports left by the auto-merge (packages/shared/src/usageLimits.ts, apps/server/src/serverSettings.test.ts). Passed upstream's new client argument in a fork test.
  • Adapted upstream's new tests to fork homes (.product-identity and .install-product), archive names, schemes and resolved CLI invocations.
  • docs/user/prompt-links.md: the new "Share a thread" section no longer promises app.t3.codes links that open the mobile app.

Checks (local)

  • vp run typecheck: pass (41/41 packages)
  • vp run lint: pass (0 errors; existing warnings only)
  • vp run fmt:check: pass
  • vp run knip:check: pass
  • Tests (every package's test script): 30 packages pass. The remaining failures also fail on main (e2c5d2e) on the same machine, run as a baseline in a separate worktree:
    • @t3tools/scripts: 2 failed (install, mobile-production-reconcile), a subset of the 7 known failures
    • t3 (server): 2 failed (GitVcsDriver partial clone remote URLs, GitVcsDriverCore worktree base fetch)
    • @t3tools/desktop: 2 failed (DesktopLifecycle relaunch, DesktopWindow off-origin navigation)
    • @t3tools/mobile: 5 failed (app.config.test.ts upstream bundle IDs ×4, composerChipPresentation accent)
    • @t3tools/provider-opencode: 1 failed (driver upgrade from 1.x)
    • @t3tools/web: 9 failed (themePalette fork dark controls; 8 Chromium browser tests in ChatView and CommandPalette; main fails the same plus GuestPage)
  • Agent context budget: no growth. agentContextBudget.json equals main (claudeSystemAppendBytes 5153, codexAdditionalContextBytes 6883, mcpToolListJsonBytes 47883), and AgentContextBudget.test.ts passes, so the measured context matches.

git diff main -- .github/

Against origin/main (e2c5d2e):

(empty: no changes)

Claude Opus 5.5 via T3 Code (Cursor harness).

saphid and others added 30 commits November 3, 2026 12:18
…squash-merged (pingdotgg#29919)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ointed parent run (pingdotgg#25662)

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
… the project folder (pingdotgg#29908)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Maria <maria-rcks@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…oading it (pingdotgg#29893)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…oved or steered (pingdotgg#29904)

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…r hosts' tokens (pingdotgg#29554)

Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
… release (pingdotgg#30319)

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

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

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

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

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…h to Privacy Mode (pingdotgg#28097)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…son from hub rows (pingdotgg#28065)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ned-in hosts (pingdotgg#27840)

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

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

Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ingdotgg#29862)

Co-authored-by: Matthew Feroz <136640686+MatthewFeroz@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
PR discovery used the full shell snapshot, which derived activity and counted historical items across active threads. Read only PR metadata and its event sequence in one transaction, then decode after releasing the reader. Preserve settled backfill, targeted refreshes, legacy PR normalization, and guarded updates.

Validation: check:changed passed with 80 tests after merging main; CI passed on 988187f. Native Electron measurements and a concurrent-write control confirmed metadata parity and coherent sequences. Synthetic measurements cover PR reads and service initialization, not full desktop startup.

Model: GPT 6.1 Sol. Harness: Codex in T3 Code.
saphid and others added 27 commits November 3, 2026 23:42
…aracter (pingdotgg#29906)

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

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

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

Co-authored-by: maria-rcks <maria@kuuro.net>
…point (pingdotgg#30033)

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: maria-rcks <maria@kuuro.net>
…he runtime starts (pingdotgg#30079)

Co-authored-by: wenshen <wlum0002@student.monash.edu>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ingdotgg#30142)

Co-authored-by: SAPHID <saphid@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ttle (pingdotgg#29847)

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

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

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

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

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

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Merge pingdotgg/t3code v0.1.7-nightly.20261104.4151 (322f654), which
brings Electron 44.10.1 with the October Chromium security backports
(pingdotgg#30161), the Muse error banner redaction (pingdotgg#29910) and the source control
token save fix (pingdotgg#29554).

Conflicts resolved toward upstream's refactors, keeping S2Code branding,
the fork's release workflows and the shuvbot signing hardening (.github is
unchanged from main):

- mobile app.config/App/appLinking: keep fork signing team, auth domains
  and s2code/shuv2code schemes; take upstream's route-only link filter and
  Android dictation (recordAudioAndroid). Drop upstream's app.t3.codes
  universal links, intent filter and .well-known files, which list
  upstream bundle IDs.
- cli/up: take upstream's base-dir-aware pair hint with S2CODE_LAN.
- cli/update, cloud/selfUpdate, cloud/pinnedRuntime: keep fork launcher
  handling, s2code naming and multi-name archive lookup; add upstream's
  policy update mirror and restart-pending wording.
- orchestration-v2/Orchestrator: take upstream's busy-session queue hold.
- peer/PeerLinks: keep fork capabilities, add upstream's label refresh.
- persistence/Migrations: keep fork's fence-once 71, add upstream 79.
- settingsSecrets, serviceLauncher.test: keep both imports.
- docs: S2Code wording with upstream's behavior changes.
- npm launcher files stay deleted (fork removed them in 36222d4).

Fork adaptations beyond conflicts:

- shared/threadLinks: with no hosted app (the fork default), copied
  thread links fall back to t3-thread v2 links and hosted-path matching
  is off, so plain /threads/a/b text never becomes a link and
  hostedThreadLink no longer throws on an empty origin.
- provider-cursor textGeneration: use the fork's cursorUsageLimit.
- Drop duplicate imports left by the merge (usageLimits,
  serverSettings.test).
- Adapt upstream's new tests to fork homes, names and schemes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@socket-security

socket-security Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​types/​bun@​1.4.2 ⏵ 1.4.41001004893100
Updatednpm/​@​types/​bun@​1.4.2 ⏵ 1.4.31001004893100
Addednpm/​@​remotion/​google-fonts@​4.0.53591100859650
Updatednpm/​@​opentelemetry/​sdk-trace-base@​2.11.0 ⏵ 2.12.010010010050100
Updatednpm/​@​opentelemetry/​sdk-trace-node@​2.11.0 ⏵ 2.12.010010010050100
Addednpm/​next@​16.4.362100909970
Updatednpm/​happy-dom@​20.14.5 ⏵ 21.0.466100 +2388 +195 -170 -30
Addednpm/​srvx@​1.0.7681009695100
Updatednpm/​@​astrojs/​underscore-redirects@​1.0.3 ⏵ 1.0.41001006984 +1100
Addednpm/​@​react-router/​node@​8.5.01001006996100
Updatednpm/​dprint@​0.57.4 ⏵ 0.64.39110070 +196 +1100
Updatednpm/​pkg-pr-new@​0.0.88 ⏵ 0.0.93100 +110070 +196 +4100
Addednpm/​@​astrojs/​internal-helpers@​0.13.01001007293100
Addednpm/​@​flue/​vite@​2.3.0981007297100
Addednpm/​vike-react@​0.6.31981007398100
Addednpm/​@​babel/​plugin-proposal-decorators@​8.0.21001007389100
Updatednpm/​@​octanejs/​adapter-cloudflare@​0.0.12 ⏵ 0.0.6374 +21009299 +4100
Updatednpm/​@​effect/​platform-bun@​4.0.0 ⏵ 4.0.0-beta.6610010075 -698 +1100
Updatednpm/​@​cloudflare/​workers-types@​5.20260926.1 ⏵ 5.20261101.175 -2510096 +199100
Updatednpm/​@​effect/​platform-bun@​4.0.0 ⏵ 4.0.0-beta.8410010075 -698 +1100
Updatednpm/​@​testcontainers/​mssqlserver@​12.1.0 ⏵ 12.2.11001007593100
Updatednpm/​@​tsconfig/​node24@​24.0.4 ⏵ 24.0.510010075 +189 +6100
Updatednpm/​@​effect/​platform-bun@​4.0.0 ⏵ 4.0.0-beta.7410010075 -598 +1100
Updatednpm/​@​react-router/​dev@​7.16.0 ⏵ 8.5.098 +110075 -196100
Updatednpm/​@​effect/​platform-node@​4.0.0 ⏵ 4.0.0-beta.66100 +110075 -598 +1100
Updatednpm/​@​testcontainers/​mysql@​12.1.0 ⏵ 12.2.1100 +11007693100
Updatednpm/​@​effect/​platform-node@​4.0.0 ⏵ 4.0.0-beta.84100 +110076 -598 +1100
Updatednpm/​@​testcontainers/​redis@​12.1.0 ⏵ 12.2.1100 +11007693100
Updatednpm/​@​effect/​platform-node@​4.0.0 ⏵ 4.0.0-beta.7410010076 -598 +1100
Updatednpm/​@​iconify-json/​simple-icons@​1.2.94 ⏵ 1.2.1001001007695 -1100
Updatednpm/​@​better-auth/​drizzle-adapter@​1.7.5 ⏵ 1.7.7100 +1100 +177 +197100
Updatednpm/​shiki@​4.4.3 ⏵ 4.5.01001007796100
See 146 more rows in the dashboard

View full report

@shuv1337
shuv1337 merged commit b340442 into main Nov 4, 2026
6 checks passed
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.