Repository navigation
fix: port upstream fixes through nightly 20261012.3035 - #333
Merged
Merged
Conversation
Port the reviewed t3code range 58d25323..511d20c6 (seven PRs). - desktop: disable the Wayland color manager on Hyprland 0.48-0.50.1, which crashes Chromium at startup - mobile: publish layout metrics when no hinge update arrives, so regular iPhones on iOS 27.2 no longer open to a black screen - mobile: repack enriched-markdown 1.2.0-supacode.11 from t3.11 so installs honor enableMath=false and Android keeps inline code styled in headings - web: setup wizards use the theme background - server: resolve configured PR bases to branch names - web: the sidebar terminal indicator opens the running terminal, and an empty drawer reuses an existing server terminal - scripts: worktree setup closes stdin and passes --yes to pnpm - clients: hide the Claude Read image placeholder when a preview exists The LegacySidebar hunk is skipped because the fork removed that file.
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: e9758ccb-2a08-4919-ae21-b5fbe5eeb6ff) |
Web previewThe web preview was removed because this PR closed. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
This branch was successfully deployed
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.
Problem
Supacode was synced through upstream
58d25323(#318). The latest t3code nightly,v0.0.46-nightly.20261012.3035(511d20c6), adds seven fixes. Several of them affect the fork as well: regular iPhones on the iOS 27.2 beta open to a black screen, Hyprland 0.48–0.50 crashes the desktop app at startup, and worktree setup can hang waiting for an install prompt.Change
Ports
58d25323...511d20c6:WaylandWpColorManagerV1before Electron is ready on native-Wayland Hyprland 0.48.0–0.50.1. These versions advertise custom primaries but reject them, which kills Chromium.T3NativeControls→SupacodeNativeControlsenableMath: falsefromapps/mobile/package.json, and Android keeps inline code styled in headings and list items.t3.11repacked as1.2.0-supacode.11. It differs only in thepackage.jsonversion and insupacode-fork.json, which records the source, the same way assupacode.10.backgroundtoken, so custom themes apply.Sidebar.tsxmerged by hand.setup-worktree.tscloses stdin formise installandmise exec -- vp i, and passes-- --yes.[image]placeholder and the mobile "No output." line are hidden when a file preview exists.thread-work-log-detail.tsxSkipped: the
LegacySidebar.tsxhunk of #18740, because that file was removed in #330.The Swift fallback and the new enriched-markdown archive change the mobile fingerprint, so this needs a new native build. It doesn't reach current binaries over the air.
Scope and approval
This is a maintainer-requested upstream sync. The seven-PR scope was reviewed and approved as a single PR before porting.
Verification
vp test run:DesktopEarlyElectronStartup+DesktopPreReadyPlatform(48)GitManager+GitVcsDriverCore(306)revealThreadTerminal(3)itemDetail(7)tsc-rs --noEmitpasses for web, desktop, server, mobile and client-runtime.vp lintandvp fmt --checkpass on the touched files.supacode.11against upstreamt3.11: same 954 files, and onlypackage.jsonversionand the fork manifest differ. The lockfile integrity matches the committed archive.INIT_CWDat the repo root, the enriched-markdown postinstall logsmath disabled via package.json ("enriched-markdown".enableMath = false); skipping RaTeX.The installed package contains no RaTeX artifacts.node scripts/setup-worktree.ts < /dev/nullcompletes in a fresh worktree.Not checked here: a Hyprland machine, an iPhone on iOS 27.2, Duo hardware, and Android inline-code rendering.
Note
Medium Risk
Touches Electron startup (sync hyprctl), git PR targeting, and terminal UI state; changes are scoped and heavily tested but affect production Linux desktop and PR creation paths.
Overview
Ports seven upstream fixes into Supacode: desktop startup, iOS navigation, git PR bases, web terminals, UI polish, mobile work-log display, and unattended worktree setup.
On Linux desktop, pre-ready startup now probes Hyprland via
hyprctl version -jon native Wayland sessions and mergesWaylandWpColorManagerV1into--disable-featuresonly for stock releases 0.48.0–0.50.1, avoiding Chromium crashes from broken wp-color-manager while leaving newer builds and explicit feature overrides alone.iOS publishes layout metrics when no hinge event arrives (0.25s native fallback; 1s JS timeout) so ordinary iPhones on iOS 27.1+ no longer stall on a blank navigator. Mobile bumps
react-native-enriched-markdowntosupacode.11(math disabled per package config).Git adds
resolveBranchNameso legacygh-merge-basevalues pointing at commits/tags/revisions resolve to branch names for PR creation; worktrees only persistgh-merge-basewhen the base is a real branch.Web: sidebar terminal status is a clickable control that calls
revealThreadTerminal; opening an empty terminal drawer reuses an existing server/setup terminal instead of spawning a new PTY. Setup wizard panels use thebackgroundtoken. Work-log formatting hides Claude Read[image]placeholders and mobile "No output." when a file preview path exists.scripts/setup-worktree.tscloses stdin and passes--yesto installs so setup cannot hang on prompts.Reviewed by Cursor Bugbot for commit c1c460b. Bugbot is set up for automated code reviews on this repo. Configure here.