GeezerVison is showing github.com — chore(sync): merge upstream t3code through 322f654 by shuv1337 · Pull Request #386 · shuv1337/s2code
Conversation
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):
Claude Opus 5.5 via T3 Code (Cursor harness).
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
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 <[email protected]>
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|