@rubytech/create-maxy-code 0.1.127 → 0.1.129

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +10 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3524,14 +3524,17 @@ else {
3524
3524
  }
3525
3525
  catch { /* non-critical */ }
3526
3526
  // Darwin has no VNC/X11 stack — `virtual` mode is Pi-only (tigervnc +
3527
- // websockify + novnc, none of which exist on macOS). Without this guard
3528
- // a fresh Mac install defaults to virtual, the OAuth step calls the
3529
- // "Open browser" path that requires a virtual display, and the user
3530
- // sees "VNC display failed to start" before they ever get to sign in.
3531
- // Auto-flip to native on darwin when the operator didn't pick a mode.
3532
- if (!preservedFromEnv && process.platform === "darwin") {
3527
+ // websockify + novnc, none of which exist on macOS). A preserved
3528
+ // DISPLAY_MODE=virtual is never operator intent on darwin it is the
3529
+ // legacy default from installers before 0.1.127, when `virtual` was the
3530
+ // only initial value written. The guard fires whenever the resolved
3531
+ // value is not already `native`, covering both fresh installs and
3532
+ // upgrades that inherited the legacy default.
3533
+ if (process.platform === "darwin" && DISPLAY_MODE !== "native") {
3534
+ DISPLAY_MODE_SOURCE = preservedFromEnv
3535
+ ? "darwin-auto (override-legacy-virtual)"
3536
+ : "darwin-auto (no VNC stack)";
3533
3537
  DISPLAY_MODE = "native";
3534
- DISPLAY_MODE_SOURCE = "darwin-auto (no VNC stack)";
3535
3538
  }
3536
3539
  }
3537
3540
  // ---------------------------------------------------------------------------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubytech/create-maxy-code",
3
- "version": "0.1.127",
3
+ "version": "0.1.129",
4
4
  "description": "Install Maxy — AI for Productive People",
5
5
  "bin": {
6
6
  "create-maxy-code": "./dist/index.js"