GeezerVison is showing github.com — sync: port upstream desktop WSL, splash/favicon, marketing Grok (#362… · aaditagrawal/t3code@fba19aa
This repository was archived by the owner on Oct 10, 2026. It is now read-only.
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: apps/desktop/src/wsl/DesktopWslEnvironment.test.ts +24Lines changed: 24 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -16,6 +16,7 @@ import { | 16 | 16 | formatNodePtyProbeFailureReason, | 17 | 17 | formatWslShellTransportFailureReason, | 18 | 18 | parseNodePath, | | 19 | + parseNodeVersion, | 19 | 20 | parseResolvedEnv, | 20 | 21 | parseResolvedPath, | 21 | 22 | parseToolchainReport, | @@ -189,6 +190,29 @@ describe("parseNodePath", () => { | 189 | 190 | }); | 190 | 191 | }); | 191 | 192 |
| | 193 | +describe("parseNodeVersion", () => { | | 194 | + it("extracts the node version from a nodeVersion: line", () => { | | 195 | + expect(parseNodeVersion("nodeVersion:24.10.0")).toBe("24.10.0"); | | 196 | + }); | | 197 | + | | 198 | + it("returns null when the version value is empty", () => { | | 199 | + expect(parseNodeVersion("nodeVersion:")).toBeNull(); | | 200 | + }); | | 201 | + | | 202 | + it("returns null when there is no nodeVersion line at all", () => { | | 203 | + expect(parseNodeVersion("nodePath:/usr/bin/node\nresolvedPath:/usr/bin")).toBeNull(); | | 204 | + }); | | 205 | + | | 206 | + it("ignores surrounding noise and trims whitespace", () => { | | 207 | + const stdout = [ | | 208 | + "some preamble noise", | | 209 | + " nodeVersion:22.16.0 ", | | 210 | + "nodePath:/usr/bin/node", | | 211 | + ].join("\n"); | | 212 | + expect(parseNodeVersion(stdout)).toBe("22.16.0"); | | 213 | + }); | | 214 | +}); | | 215 | + | 192 | 216 | describe("parseResolvedPath", () => { | 193 | 217 | it("preserves spaces and apostrophes in the resolved login-shell PATH", () => { | 194 | 218 | const resolvedPath = "/home/test user/bin:/opt/test's tools/bin:/usr/bin:/bin"; | |
Collapse file Copy file name to clipboardExpand all lines: apps/desktop/src/wsl/DesktopWslEnvironment.ts +27-1Lines changed: 27 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -242,6 +242,7 @@ const NODE_PTY_PROBE_SCRIPT = ( | 242 | 242 | linuxServerDir: string, | 243 | 243 | ) => `node_path="$(command -v node 2>/dev/null)" | 244 | 244 | printf 'nodePath:%s\\n' "$node_path" | | 245 | +printf 'nodeVersion:%s\\n' "$(node -p 'process.versions.node' 2>/dev/null)" | 245 | 246 | printf 'resolvedPath:%s\\n' "$PATH" | 246 | 247 | if [ -n "$node_path" ]; then | 247 | 248 | "$node_path" <<'NODE' | @@ -349,6 +350,16 @@ export const parseNodePath = (stdout: string): string | null => { | 349 | 350 | return path ?? null; | 350 | 351 | }; | 351 | 352 |
| | 353 | +export const parseNodeVersion = (stdout: string): string | null => { | | 354 | + const version = stdout | | 355 | + .split("\n") | | 356 | + .map((line) => line.trim()) | | 357 | + .filter((line) => line.startsWith("nodeVersion:")) | | 358 | + .map((line) => line.slice("nodeVersion:".length).trim()) | | 359 | + .find((value) => value.length > 0); | | 360 | + return version ?? null; | | 361 | +}; | | 362 | + | 352 | 363 | // Captures the login-shell PATH after the shared resolver has loaded version | 353 | 364 | // managers. Preserve the value byte-for-byte apart from a Windows-style CR so | 354 | 365 | // paths containing spaces or apostrophes can be forwarded as one env argv. | @@ -513,7 +524,22 @@ const ensureNodePtyImpl = ( | 513 | 524 | } as const; | 514 | 525 | } | 515 | 526 |
| 516 | | - if (probe.exitCode === 0) return { ok: true, nodePath, resolvedPath, resolvedEnv } as const; | | 527 | + if (probe.exitCode === 0) { | | 528 | + const rawVersion = parseNodeVersion(probe.stdout); | | 529 | + if ( | | 530 | + rawVersion !== null && | | 531 | + options.nodeEngineRange && | | 532 | + !satisfiesSemverRange(rawVersion, options.nodeEngineRange.trim()) | | 533 | + ) { | | 534 | + const range = options.nodeEngineRange.trim(); | | 535 | + return { | | 536 | + ok: false, | | 537 | + reason: `WSL Node.js ${rawVersion} does not satisfy the server's required engine range (${range}). Install a compatible version, and restart the desktop app.`, | | 538 | + fatal: true, | | 539 | + } as const; | | 540 | + } | | 541 | + return { ok: true, nodePath, resolvedPath, resolvedEnv } as const; | | 542 | + } | 517 | 543 |
| 518 | 544 | if (options.allowBuild !== true) { | 519 | 545 | const packagedProbeFailure = formatNodePtyProbeFailureReason(probe.exitCode); | |
Collapse file Copy file name to clipboard +4Lines changed: 4 additions & 0 deletions - Display the source diff
- Display the rich diff
Collapse file Copy file name to clipboardExpand all lines: apps/marketing/src/pages/index.astro +41-9Lines changed: 41 additions & 9 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -33,6 +33,9 @@ const mobileEndorsementRows = [ | 33 | 33 | <span class="hero-float-mark hf-cursor" title="Cursor"> | 34 | 34 | <img src="/harnesses/cursor_light.svg" alt="" /> | 35 | 35 | </span> | | 36 | + <span class="hero-float-mark hf-grok" title="Grok"> | | 37 | + <img src="/harnesses/grok-dark.svg" alt="" /> | | 38 | + </span> | 36 | 39 | </div> | 37 | 40 |
| 38 | 41 | <div class="container hero-inner"> | @@ -41,7 +44,7 @@ const mobileEndorsementRows = [ | 41 | 44 | </h1> | 42 | 45 |
| 43 | 46 | <p class="hero-sub"> | 44 | | - Orchestrate Claude Code, Codex, OpenCode and Cursor from one surface. | | 47 | + Orchestrate Claude Code, Codex, OpenCode, Cursor, and Grok from one surface. | 45 | 48 | Bring your own subscription. Fork the whole thing. | 46 | 49 | </p> | 47 | 50 |
| @@ -173,7 +176,7 @@ const mobileEndorsementRows = [ | 173 | 176 | <h2>Bring your own sub</h2> | 174 | 177 | <p> | 175 | 178 | T3 Code doesn't resell tokens. Plug in Claude Code, Codex, OpenCode, | 176 | | - or Cursor with the credentials you already have — we orchestrate | | 179 | + Cursor, or Grok with the credentials you already have — we orchestrate | 177 | 180 | them, you keep your plan. | 178 | 181 | </p> | 179 | 182 | </div> | @@ -207,6 +210,13 @@ const mobileEndorsementRows = [ | 207 | 210 | <div class="harness-tag">cursor-agent</div> | 208 | 211 | </div> | 209 | 212 | </div> | | 213 | + <div class="harness"> | | 214 | + <div class="harness-mark"><img src="/harnesses/grok-dark.svg" alt="" /></div> | | 215 | + <div class="harness-meta"> | | 216 | + <div class="harness-name">Grok CLI</div> | | 217 | + <div class="harness-tag">grok login</div> | | 218 | + </div> | | 219 | + </div> | 210 | 220 | </div> | 211 | 221 |
| 212 | 222 | <div class="harness-footer"> | @@ -615,8 +625,9 @@ const mobileEndorsementRows = [ | 615 | 625 |
| 616 | 626 | .hero-float-mark.hf-claude { background: radial-gradient(circle at 30% 25%, rgba(217, 119, 87, 0.22), rgba(20, 20, 24, 0.92) 65%); top: 8%; left: 7%; animation-delay: 0s; transform: rotate(-8deg); } | 617 | 627 | .hero-float-mark.hf-codex { background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.08), rgba(20, 20, 24, 0.92) 65%); top: 6%; right: 7%; animation-delay: -2.5s; transform: rotate(6deg); } | 618 | | - .hero-float-mark.hf-opencode { background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.06), rgba(20, 20, 24, 0.92) 65%); top: 32%; left: 5%; animation-delay: -5s; transform: rotate(4deg); } | | 628 | + .hero-float-mark.hf-opencode { background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.06), rgba(20, 20, 24, 0.92) 65%); top: 30%; left: 5%; animation-delay: -5s; transform: rotate(4deg); } | 619 | 629 | .hero-float-mark.hf-cursor { background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.08), rgba(20, 20, 24, 0.92) 65%); top: 30%; right: 5%; animation-delay: -7s; transform: rotate(-5deg); } | | 630 | + .hero-float-mark.hf-grok { background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.08), rgba(20, 20, 24, 0.92) 65%); top: 52%; left: 6%; animation-delay: -1.2s; transform: rotate(3deg); } | 620 | 631 |
| 621 | 632 | @media (max-width: 1180px) { | 622 | 633 | .hero-float-mark { width: 76px; height: 76px; border-radius: 20px; } | @@ -625,6 +636,7 @@ const mobileEndorsementRows = [ | 625 | 636 | .hero-float-mark.hf-codex { top: 2%; right: 3%; } | 626 | 637 | .hero-float-mark.hf-opencode { top: 26%; left: 2%; } | 627 | 638 | .hero-float-mark.hf-cursor { top: 24%; right: 2%; } | | 639 | + .hero-float-mark.hf-grok { top: 48%; left: 2%; transform: rotate(3deg); } | 628 | 640 | } | 629 | 641 |
| 630 | 642 | @media (max-width: 820px) { | @@ -659,17 +671,18 @@ const mobileEndorsementRows = [ | 659 | 671 | height: 44px; | 660 | 672 | } | 661 | 673 |
| 662 | | - /* Two above the title, two flanking the call-to-action area. */ | | 674 | + /* Three stacked on the left, two on the right — keeps the center CTA clear. */ | 663 | 675 | .hero-float-mark.hf-claude { | 664 | 676 | top: 44px; | 665 | 677 | left: 10px; | 666 | 678 | transform: rotate(-10deg); | 667 | 679 | } | 668 | 680 |
| 669 | | - .hero-float-mark.hf-codex { | 670 | | - top: 44px; | 671 | | - right: 10px; | 672 | | - transform: rotate(8deg); | | 681 | + .hero-float-mark.hf-grok { | | 682 | + top: 240px; | | 683 | + left: 4px; | | 684 | + right: auto; | | 685 | + transform: rotate(-4deg); | 673 | 686 | } | 674 | 687 |
| 675 | 688 | .hero-float-mark.hf-opencode { | @@ -679,6 +692,12 @@ const mobileEndorsementRows = [ | 679 | 692 | transform: rotate(-6deg); | 680 | 693 | } | 681 | 694 |
| | 695 | + .hero-float-mark.hf-codex { | | 696 | + top: 44px; | | 697 | + right: 10px; | | 698 | + transform: rotate(8deg); | | 699 | + } | | 700 | + | 682 | 701 | .hero-float-mark.hf-cursor { | 683 | 702 | top: 474px; | 684 | 703 | right: 4px; | @@ -688,6 +707,14 @@ const mobileEndorsementRows = [ | 688 | 707 | } | 689 | 708 |
| 690 | 709 | @media (max-width: 340px) { | | 710 | + .hero-float-mark.hf-grok { | | 711 | + top: 220px; | | 712 | + left: 0; | | 713 | + width: 52px; | | 714 | + height: 52px; | | 715 | + border-radius: 14px; | | 716 | + } | | 717 | + | 691 | 718 | .hero-float-mark.hf-opencode, | 692 | 719 | .hero-float-mark.hf-cursor { | 693 | 720 | top: 580px; | @@ -704,6 +731,7 @@ const mobileEndorsementRows = [ | 704 | 731 | right: 0; | 705 | 732 | } | 706 | 733 |
| | 734 | + .hero-float-mark.hf-grok img, | 707 | 735 | .hero-float-mark.hf-opencode img, | 708 | 736 | .hero-float-mark.hf-cursor img { | 709 | 737 | width: 30px; | @@ -750,7 +778,7 @@ const mobileEndorsementRows = [ | 750 | 778 |
| 751 | 779 | .harness-grid { | 752 | 780 | display: grid; | 753 | | - grid-template-columns: repeat(4, 1fr); | | 781 | + grid-template-columns: repeat(5, 1fr); | 754 | 782 | gap: 0; | 755 | 783 | border: 1px solid var(--border); | 756 | 784 | border-radius: var(--radius); | @@ -1205,6 +1233,10 @@ const mobileEndorsementRows = [ | 1205 | 1233 | .harness-grid { grid-template-columns: 1fr 1fr; } | 1206 | 1234 | .harness { border-right: 0; border-bottom: 1px solid var(--border); } | 1207 | 1235 | .harness:nth-child(odd) { border-right: 1px solid var(--border); } | | 1236 | + .harness:nth-child(5):last-child { | | 1237 | + grid-column: 1 / -1; | | 1238 | + border-right: 0; | | 1239 | + } | 1208 | 1240 | .git-inner { grid-template-columns: 1fr; gap: 40px; } | 1209 | 1241 | .open-grid { grid-template-columns: 1fr; } | 1210 | 1242 | } | |
Collapse file Copy file name to clipboard 37.4 KB
- Display the source diff
- Display the rich diff
Collapse file Copy file name to clipboard 1.1 KB
- Display the source diff
- Display the rich diff
Collapse file Copy file name to clipboard 2.48 KB
- Display the source diff
- Display the rich diff
Collapse file Copy file name to clipboard Collapse file Copy file name to clipboardExpand all lines: assets/README.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -8,7 +8,7 @@ The three Icon Composer projects are the source of truth for full application ic | 8 | 8 |
| 9 | 9 | Each project uses `text.svg` for the T3 mark and `background.svg` when the background is a vector layer. Additional layers use semantic names that describe their role and placement. | 10 | 10 |
| 11 | | -Run `vp run icons:export` from the repository root to regenerate the tracked iOS, Linux, Windows, and web assets. Run `vp run icons:check` to verify that those generated assets match their sources without changing files. | | 11 | +Run `vp run icons:export` from the repository root to regenerate the tracked iOS, Linux, Windows, and web assets. The development web exports are also copied to `apps/web/public` for the browser favicon and splash screen. Run `vp run icons:check` to verify that the generated assets and public copies match their sources without changing files. | 12 | 12 |
| 13 | 13 | Exporting requires Icon Composer 2 or newer on macOS. The script selects the newest compatible exporter from Xcode or a standalone Icon Composer installation and pins design generation 26. Set `ICON_COMPOSER_TOOL` to the full path of `Icon Composer.app/Contents/Executables/ictool` to override automatic discovery. | 14 | 14 |
| |
Collapse file Copy file name to clipboardExpand all lines: scripts/build-desktop-artifact.test.ts +6Lines changed: 6 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -30,6 +30,7 @@ import { | 30 | 30 | resolveDesktopBuildIconAssets, | 31 | 31 | resolveDesktopProductName, | 32 | 32 | resolveDesktopUpdateChannel, | | 33 | + resolveDesktopWebAssetBrand, | 33 | 34 | resolveGitHubPublishConfig, | 34 | 35 | resolveMockUpdateServerPort, | 35 | 36 | resolveMockUpdateServerUrl, | @@ -102,6 +103,11 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => { | 102 | 103 | }); | 103 | 104 | }); | 104 | 105 |
| | 106 | + it("switches the bundled splash and favicon branding for nightly versions", () => { | | 107 | + assert.equal(resolveDesktopWebAssetBrand("0.0.17"), "production"); | | 108 | + assert.equal(resolveDesktopWebAssetBrand("0.0.17-nightly.20260413.42"), "nightly"); | | 109 | + }); | | 110 | + | 105 | 111 | it.effect("resolves GitHub desktop publish config from Effect config", () => | 106 | 112 | Effect.gen(function* () { | 107 | 113 | const latestConfig = yield* resolveGitHubPublishConfig("latest").pipe( | |
|