Repository navigation
chore(upstream-sync): port 11 t3code commits - #752
Merged
Merged
Conversation
Ported from pingdotgg/t3code@9842ca0c12. Co-authored-by: Julius Marminge <julius0216@outlook.com>
…(#42129) Ported from pingdotgg/t3code@849d19447f. Co-authored-by: Julius Marminge <julius0216@outlook.com>
…osing the dialog (#42130) Ported from pingdotgg/t3code@3b829b6aa6. Co-authored-by: Julius Marminge <julius0216@outlook.com>
…back, and MCP app context (#42114) Ported from pingdotgg/t3code@854f02bc2d. Co-authored-by: Julius Marminge <julius0216@outlook.com>
…cess table every second (#32354) Ported from pingdotgg/t3code@a1ed691d8a. Co-authored-by: Julius Marminge <julius0216@outlook.com>
…oji crosses the name limit (#42133) Ported from pingdotgg/t3code@354d9f1675. Co-authored-by: Julius Marminge <julius0216@outlook.com>
…fter it opens (#42135) Ported from pingdotgg/t3code@fc92aefd26. Co-authored-by: Julius Marminge <julius0216@outlook.com>
Kept Onicode's writeProjectSettings over upstream's onCommitted saveScripts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… run is a scheduled fresh session Follow-up to the 854f02bc2d port. The merge-back delta bounded at the source run's own conversation, so a latest_stable run that was a fresh-session schedule merged only that schedule's output back. It now bounds at the fork's latest /clear and keeps scheduled sessions, as main and upstream did. The existing fork-history case now also drops a same-thread run before /clear (upstream's first dropped case); steered schedule runs stay covered in contextBoundary.test.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eeps IME Esc from closing Follow-up to 7454b78ea6 / c319c44138 (ported 849d19447f, 3b829b6aa6). Adopts upstream's guards into the shared clearSearchOnEscape: modified or already handled Esc passes through, and the Esc that cancels an IME composition stops propagation so Settings stays open. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… save the changes (#42154) Ported from pingdotgg/t3code@9bce8843de.
…cess's environment, not its arguments (#42155) Ported from pingdotgg/t3code@4f1dc5db12.
Ported from pingdotgg/t3code@26c21a86cf. Co-authored-by: Julius Marminge <julius0216@outlook.com>
Ported from pingdotgg/t3code@94190c63f9. Co-authored-by: Julius Marminge <julius0216@outlook.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Ports 11 t3code commits and skips 1:
/clearnow bounds merge-back and MCP app notes, a secret card closes on an early abort, steady terminals poll less, OpenCode steers keep$skillmentions, macOS preview stop no longer reads markers from arguments, plus small web, desktop and server fixes.Risky commits:
conversationRuns, which also keeps scheduled fresh sessions apart; kept that. Merge-back now bounds at the fork's latest/clearand keeps its scheduled sessions, as main and upstream did (a review-found regression in the first adaptation, fixed in a follow-up commit with a test that failed before). The MCP app note boundary SQL follows Onicode'sstartedFreshRunand first-prompt schedule rule and looks up the first prompt through the(run_id, ordinal)index; upstream'sOR messageIdjoin scanned every turn item of the thread per fresh run. Upstream's two ContextHandoffService cases are covered by extending the existing fork-history case.enterKeyHint="search".Routine commits (taken as is unless noted):
psper stop, not per scan.openDocumenttakes aMaparchive, not JSZip.$mentions skip the skill lookup.Adopt-or-keep decisions:
clearSearchOnEscapeover upstream's two inline handlers, and adopted upstream's guards into it: modified or already handled Esc passes through, and the Esc that cancels an IME composition stops propagation without clearing, so Settings stays open. One helper serves all six Settings search fields; upstream's two handlers differ from each other.conversationRunsfork-history boundary over upstream'sturnItemsSinceContextBoundary. It already bounded fork history and also handles scheduled fresh sessions.acquireUseReleaseover Onicode'sonErrorplus explicitcloseCard. Recording the pending card becomes uninterruptible, so an abort right after the card opens still closes it.writeProjectSettingsover upstream'sonCommittedsaveScripts(00070b8031 skipped). It writes before the commit, so a refused Settings write commits nothing and its retry writes again; upstream's leaves a committed command whose actions a replayed retry never saves. It also covers model, env mode and auto-pull.Skipped: 00070b8031, see above.
E2E scenarios: none in this batch.
Follow-ups: queued in the follow-up queue for the next batch fix (Batch fix 1855 is running, so no new thread):
/clearturn items before bounding (pre-existing cost).McpAppModelContext.forThreadtakes only the thread, so a scheduled fresh session still sees post-/clearmain-conversation MCP app notes and vice versa (upstream design, MCP app notes only). Worth a run-aware boundary later.Review (Antigravity gemini-4-neon xhigh):
Round 1 (first 8 commits):
latest_stablelanding on a scheduled fresh run dropped the fork's main work. Real, port regression. Fixed; extended ThreadFork.execution test failed before.McpAppModelContextper-turn scan on threads with thousands of scheduled runs. Dismissed after measuring (node:sqlite, 3,000 hourly scheduled fresh runs): a thread with no notes costs 0.02 ms because the boundary is never computed, andMAX(ordinal)already walks the(thread_id, ordinal)index backwards (0.026 ms with a recent/clear). The suggestedORDER BY DESC LIMIT 1rewrite measured the same in every case.clearSearchOnEscapelacked upstream's modifier,defaultPreventedand IME guards. Real; adopted (above), unit cases failed before./clear; steered schedule runs stay covered incontextBoundary.test.ts.Round 2 (fixes and the 4 new commits):
ps -Eminuspsprefix check has no token boundary. Queued for the next batch fix (Batch fix 1855 is running), with the pre-existing merge-back read cost and the MCP app note scope.$VARs does three sequential skill/model lookups before delivery (t3code@94190c63f9).Gate:
vp run check:changedpasses (typecheck of 9 packages, 20 test files, React Compiler). Tests beside each change pass.Done with Claude Opus 5.5 in Claude Code, reviewed by Antigravity gemini-4-neon (xhigh), two rounds.
🤖 Generated with Claude Code