@mindexec/cli 0.2.280 → 0.2.281

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindexec/cli",
3
- "version": "0.2.280",
3
+ "version": "0.2.281",
4
4
  "description": "MindExec local runtime and bridge CLI",
5
5
  "main": "server.js",
6
6
  "type": "module",
@@ -5,7 +5,7 @@
5
5
  const DEBUG = false;
6
6
  const FPS_DEBUG = false;
7
7
  const FRAME_PERF_DEBUG = false;
8
- const MINDMAP_CORE_BUILD_ID = '20260620-css3d-flat-wheel-v728';
8
+ const MINDMAP_CORE_BUILD_ID = '20260620-css3d-flat-wheel-v729';
9
9
  const CanvasPhase = Object.freeze({
10
10
  Booting: 'booting',
11
11
  BoardFileLoading: 'board-file-loading',
@@ -511,6 +511,29 @@
511
511
  return module?.currentThemeObject?.userData?.localSnapGrid === true;
512
512
  }
513
513
 
514
+ function shouldTouchLocalSnapGridLayerForCameraNavigation(module) {
515
+ return !!(
516
+ module &&
517
+ (
518
+ module._isLocalSnapGridThemeEnabled?.() === true ||
519
+ module._localSnapGridVisible === true ||
520
+ module._localSnapGridLayer?.isConnected === true
521
+ )
522
+ );
523
+ }
524
+
525
+ function syncLocalSnapGridForCameraNavigation(module, positionOnly = true) {
526
+ if (shouldTouchLocalSnapGridLayerForCameraNavigation(module) !== true) {
527
+ return false;
528
+ }
529
+
530
+ if (positionOnly === true) {
531
+ return module._syncLocalSnapGridPositionOnly?.(true) === true;
532
+ }
533
+
534
+ return module._syncLocalSnapGridLayer?.(true) === true;
535
+ }
536
+
514
537
  function hasPassiveOverlaySelectionSurface(module) {
515
538
  const selectionNodeId = module?._textOverlayV2State?.selectionNodeId;
516
539
  const selectableTextOverlayNodeId = module?._selectableTextOverlayNodeId;
@@ -1824,7 +1847,7 @@
1824
1847
  if (module._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
1825
1848
  module._syncMotionGridLayerForCameraNavigation?.(usedWebglCanvasCameraTransform);
1826
1849
  }
1827
- module._syncLocalSnapGridPositionOnly?.(true);
1850
+ syncLocalSnapGridForCameraNavigation(module, true);
1828
1851
  renderCss3dCameraForCameraNavigation(module, 'ua-ultra-camera-only');
1829
1852
 
1830
1853
  if (hasBusinessAutomationTransformMotionWork(module) === true) {
@@ -2050,7 +2073,7 @@
2050
2073
  if (module._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
2051
2074
  module._syncMotionGridLayerForCameraNavigation?.(usedWebglCanvasCameraTransform);
2052
2075
  }
2053
- module._syncLocalSnapGridPositionOnly?.(true);
2076
+ syncLocalSnapGridForCameraNavigation(module, true);
2054
2077
  if (canRenderCss3dCamera === true) {
2055
2078
  renderCss3dCameraForCameraNavigation(module, 'ua-ultra-resident-camera-only');
2056
2079
  }
@@ -5646,6 +5669,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
5646
5669
  }
5647
5670
 
5648
5671
  if (snapGridPointAlreadySet !== true &&
5672
+ shouldTouchLocalSnapGridLayerForCameraNavigation(this) === true &&
5649
5673
  Number.isFinite(Number(clientX)) &&
5650
5674
  Number.isFinite(Number(clientY))) {
5651
5675
  this.setLocalSnapGridClientPoint?.(Number(clientX), Number(clientY));
@@ -5688,7 +5712,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
5688
5712
  if (this._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
5689
5713
  this._syncMotionGridLayerForCameraNavigation?.(usedWebglCanvasCameraTransform);
5690
5714
  }
5691
- this._syncLocalSnapGridPositionOnly?.(true);
5715
+ syncLocalSnapGridForCameraNavigation(this, true);
5692
5716
  if (canRenderCss3d === true) {
5693
5717
  renderCss3dCameraForCameraNavigation(this, 'ua-wheel-zoom-direct', {
5694
5718
  renderDebugFlags,
@@ -7190,7 +7214,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
7190
7214
  if (this._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
7191
7215
  this._syncMotionGridLayerForCameraNavigation(usedWebglCanvasCameraTransformImmediate);
7192
7216
  }
7193
- this._syncLocalSnapGridPositionOnly(true);
7217
+ syncLocalSnapGridForCameraNavigation(this, true);
7194
7218
 
7195
7219
  renderCss3dCameraForCameraNavigation(this, 'ua-visual-only-motion');
7196
7220
  const shouldSyncPassiveOverlayTransformDuringMotion =
@@ -7373,7 +7397,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
7373
7397
  if (this._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
7374
7398
  this._syncMotionGridLayerForCameraNavigation(usedWebglCanvasCameraTransformStationary);
7375
7399
  }
7376
- this._syncLocalSnapGridPositionOnly(true);
7400
+ syncLocalSnapGridForCameraNavigation(this, true);
7377
7401
  if (this.cssRenderer && typeof this.cssRenderer.renderCamera === 'function') {
7378
7402
  renderCss3dCameraForCameraNavigation(this, 'ua-stationary-visual-motion');
7379
7403
  }
@@ -7569,7 +7593,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
7569
7593
  }
7570
7594
  }
7571
7595
 
7572
- this._syncLocalSnapGridPositionOnly(true);
7596
+ syncLocalSnapGridForCameraNavigation(this, true);
7573
7597
  if (shouldRenderCss3dInLodForUaResidentCameraOnly === true) {
7574
7598
  renderCss3dCameraForCameraNavigation(this, 'ua-resident-visual-only-motion');
7575
7599
  }
@@ -8726,11 +8750,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
8726
8750
  this._localSnapGridLayer?.isConnected &&
8727
8751
  this._lastLocalSnapGridKey
8728
8752
  );
8729
- if (shouldUseLocalSnapGridPositionOnly === true) {
8730
- this._syncLocalSnapGridPositionOnly(true);
8731
- } else {
8732
- this._syncLocalSnapGridLayer(true);
8733
- }
8753
+ syncLocalSnapGridForCameraNavigation(this, shouldUseLocalSnapGridPositionOnly === true);
8734
8754
  if (shouldRenderWebglFrame === true &&
8735
8755
  this._motionGridVisible === true &&
8736
8756
  isPureCss3dCameraMotionFrame !== true &&
@@ -1462,7 +1462,13 @@ window.MindMapInteractions = (function () {
1462
1462
  function setPointerFromClientPosition(module, clientX, clientY) {
1463
1463
  if (!module?.pointer) return false;
1464
1464
 
1465
- const localSnapGridMoved = module.setLocalSnapGridClientPoint?.(clientX, clientY) === true;
1465
+ const shouldUpdateLocalSnapGridPointer = !!(
1466
+ module._isLocalSnapGridThemeEnabled?.() === true ||
1467
+ module._localSnapGridVisible === true ||
1468
+ module._localSnapGridLayer?.isConnected === true
1469
+ );
1470
+ const localSnapGridMoved = shouldUpdateLocalSnapGridPointer === true &&
1471
+ module.setLocalSnapGridClientPoint?.(clientX, clientY) === true;
1466
1472
  if (localSnapGridMoved && module._isLocalSnapGridThemeEnabled?.() === true) {
1467
1473
  if (module.isZooming === true) {
1468
1474
  module._localSnapGridPointerWakeDeferredForZoom = true;
@@ -6358,7 +6364,11 @@ window.MindMapInteractions = (function () {
6358
6364
  return;
6359
6365
  }
6360
6366
  // ▲▲▲ [Fix] ▲▲▲
6361
- module.setLocalSnapGridClientPoint?.(clientX, clientY);
6367
+ if (module._isLocalSnapGridThemeEnabled?.() === true ||
6368
+ module._localSnapGridVisible === true ||
6369
+ module._localSnapGridLayer?.isConnected === true) {
6370
+ module.setLocalSnapGridClientPoint?.(clientX, clientY);
6371
+ }
6362
6372
 
6363
6373
  let t0 = 0;
6364
6374
  let cameraZ = '?';
@@ -7,8 +7,8 @@
7
7
  <title>MindExec | Business Execution OS for solo builders</title>
8
8
  <meta name="description" content="MindExec is an AI business execution OS for solo builders who want to turn notes, research, assets, and repeatable execution Skills into revenue-producing work." />
9
9
  <base href="/" />
10
- <link rel="stylesheet" href="_content/MindExecution.Shared/css/app.css?v=20260620-css3d-flat-wheel-v728" />
11
- <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260620-css3d-flat-wheel-v728" />
10
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/app.css?v=20260620-css3d-flat-wheel-v729" />
11
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260620-css3d-flat-wheel-v729" />
12
12
  <!-- ?�▼??Font Awesome (local) ?�▼??-->
13
13
  <link rel="stylesheet" href="_content/MindExecution.Shared/lib/font-awesome/css/all.min.css" />
14
14
  <!-- ?�▲??-->
@@ -579,7 +579,7 @@
579
579
  }
580
580
 
581
581
  const base = '_content/MindExecution.Shared/js/';
582
- const scriptVersion = '20260620-css3d-flat-wheel-v728';
582
+ const scriptVersion = '20260620-css3d-flat-wheel-v729';
583
583
  const scriptUrl = (script) => `${base}${script}?v=${scriptVersion}`;
584
584
  console.log(`[Script Loader] Shared JS version: ${scriptVersion}`);
585
585
  const criticalScripts = [
@@ -1,5 +1,5 @@
1
1
  self.assetsManifest = {
2
- "version": "FCFiOPFS",
2
+ "version": "6L8fWX1q",
3
3
  "assets": [
4
4
  {
5
5
  "hash": "sha256-+CSYMcqLNTsq3VnH11jgYyOCCdxvHzL74CBmo4sCmMU=",
@@ -78,7 +78,7 @@
78
78
  "url": "_content/MindExecution.Shared/js/marked.min.js"
79
79
  },
80
80
  {
81
- "hash": "sha256-pMyO/ImYhCgI4GNnRzeHujvl85idQabhgamLQQqHM1k=",
81
+ "hash": "sha256-cjhRYpmu58HR+N45I0bWwSy3lIbqe+Mw7yC9ULFf4H0=",
82
82
  "url": "_content/MindExecution.Shared/js/mind-map-core.js"
83
83
  },
84
84
  {
@@ -106,7 +106,7 @@
106
106
  "url": "_content/MindExecution.Shared/js/mind-map-glow-shader.js"
107
107
  },
108
108
  {
109
- "hash": "sha256-v66z+kBA+ob3JHBGielrNVQDU1t3t0UPpQnUoNmFKyQ=",
109
+ "hash": "sha256-Fm0Y3C3H0pz9NZ0DGC1N+RlukwP3Sc3Wf+Hkir4F/og=",
110
110
  "url": "_content/MindExecution.Shared/js/mind-map-interactions.js"
111
111
  },
112
112
  {
@@ -834,7 +834,7 @@
834
834
  "url": "image-manifest.json"
835
835
  },
836
836
  {
837
- "hash": "sha256-yLo2j8CTV6E9gXnuGf0/o/Uv9Xh3yhcpoJJlzaQ8G1U=",
837
+ "hash": "sha256-LGqxxx236TFsCt+hXEb0FqBxoMIFDas+knxlvHjllJ8=",
838
838
  "url": "index.html"
839
839
  },
840
840
  {
@@ -1,4 +1,4 @@
1
- /* Manifest version: FCFiOPFS */
1
+ /* Manifest version: 6L8fWX1q */
2
2
  // Hosted deployments should prefer the network over stale offline caches.
3
3
  // This service worker immediately clears old Blazor offline caches and unregisters itself.
4
4