@mindexec/cli 0.2.261 → 0.2.262

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.261",
3
+ "version": "0.2.262",
4
4
  "description": "MindExec local runtime and bridge CLI",
5
5
  "main": "server.js",
6
6
  "type": "module",
@@ -507,10 +507,7 @@
507
507
  }
508
508
 
509
509
  function shouldFreezeWebglSurfaceForZoom(module) {
510
- return !!(
511
- module?.isZooming === true &&
512
- module?._lastWebglRenderedCameraState
513
- );
510
+ return module?.isZooming === true;
514
511
  }
515
512
 
516
513
  function isLocalSnapGridOnlyTheme(module) {
@@ -529,9 +526,7 @@
529
526
  return false;
530
527
  }
531
528
 
532
- if (CSS3D_FLAT_CAMERA_MOTION_ENABLED === true &&
533
- renderDebugFlags.enableFlatCss3dCameraMotion !== false &&
534
- typeof renderer.renderFlatCamera === 'function') {
529
+ if (canUseFlatCss3dCameraMotion(module, renderer, camera, renderDebugFlags) === true) {
535
530
  const usedFlatCamera = renderer.renderFlatCamera(camera, {
536
531
  translateBucketPx: CAMERA_MOTION_WEBGL_TRANSFORM_TRANSLATE_BUCKET_PX,
537
532
  scaleBucket: CAMERA_MOTION_WEBGL_TRANSFORM_SCALE_BUCKET
@@ -595,6 +590,26 @@
595
590
  );
596
591
  }
597
592
 
593
+ function canUseFlatCss3dCameraMotion(module, renderer = module?.cssRenderer, camera = module?.camera, renderDebugFlags = null) {
594
+ if (CSS3D_FLAT_CAMERA_MOTION_ENABLED !== true ||
595
+ !renderer ||
596
+ !camera ||
597
+ camera.isPerspectiveCamera !== true ||
598
+ typeof renderer.renderFlatCamera !== 'function') {
599
+ return false;
600
+ }
601
+
602
+ const flags = renderDebugFlags || module?.renderDebugFlags || getRenderDebugFlagsSnapshot();
603
+ if (flags.enableFlatCss3dCameraMotion === false) {
604
+ return false;
605
+ }
606
+
607
+ const rotation = camera.rotation || {};
608
+ return Math.abs(Number(rotation.x || 0)) <= 1e-5 &&
609
+ Math.abs(Number(rotation.y || 0)) <= 1e-5 &&
610
+ Math.abs(Number(rotation.z || 0)) <= 1e-5;
611
+ }
612
+
598
613
  function syncBusinessAutomationEdgesForCameraNavigation(module, options = {}) {
599
614
  const hasActiveEdges = module?._businessAutomationEdgeRenderActive === true;
600
615
  if (hasActiveEdges !== true && options.allowDraftRender !== true) {
@@ -5370,13 +5385,20 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
5370
5385
  const targetX = Number.isFinite(Number(this.targetX)) ? Number(this.targetX) : currentX;
5371
5386
  const targetY = Number.isFinite(Number(this.targetY)) ? Number(this.targetY) : currentY;
5372
5387
  const targetZ = Number.isFinite(Number(this.targetZ)) ? Math.max(1, Number(this.targetZ)) : Math.max(1, currentZ);
5388
+ const canUseFlatCss3dWheelCamera =
5389
+ canRenderCss3d === true &&
5390
+ canUseFlatCss3dCameraMotion(this, this.cssRenderer, this.camera, renderDebugFlags) === true;
5373
5391
  const deltaSq =
5374
5392
  ((targetX - currentX) * (targetX - currentX)) +
5375
5393
  ((targetY - currentY) * (targetY - currentY)) +
5376
5394
  ((targetZ - currentZ) * (targetZ - currentZ));
5377
5395
 
5378
5396
  this.camera.position.set(targetX, targetY, targetZ);
5379
- this.camera.updateMatrixWorld(true);
5397
+ if (canUseFlatCss3dWheelCamera === true) {
5398
+ this.camera.matrixWorldNeedsUpdate = true;
5399
+ } else {
5400
+ this.camera.updateMatrixWorld(true);
5401
+ }
5380
5402
  this._viewStatePersistAfterMotion = true;
5381
5403
  this._viewSyncMotionActive = true;
5382
5404
  this._cameraMovingThisFrame = deltaSq > 0.0001;
@@ -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-v709" />
11
- <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260620-css3d-flat-wheel-v709" />
10
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/app.css?v=20260620-css3d-flat-wheel-v710" />
11
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260620-css3d-flat-wheel-v710" />
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-v709';
582
+ const scriptVersion = '20260620-css3d-flat-wheel-v710';
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": "P7DpPAPV",
2
+ "version": "i5VgbkGW",
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-VSQqDmF8gC2cMS0IsTTnuFnQm8pss2rfKyko6CQONxo=",
81
+ "hash": "sha256-zA1z44n8LRbB570BkhjJ7VS8fEWJ72lUn+PST+8pR0M=",
82
82
  "url": "_content/MindExecution.Shared/js/mind-map-core.js"
83
83
  },
84
84
  {
@@ -834,7 +834,7 @@
834
834
  "url": "image-manifest.json"
835
835
  },
836
836
  {
837
- "hash": "sha256-+h/HcEGj8IvVKAVF9Qvoc9X2Tz/MYZW2L+hu3fvyKPM=",
837
+ "hash": "sha256-jdNq8XWpVAdXAmN23SQljQN3nWt1r1SX2Cfu+te7SmY=",
838
838
  "url": "index.html"
839
839
  },
840
840
  {
@@ -1,4 +1,4 @@
1
- /* Manifest version: P7DpPAPV */
1
+ /* Manifest version: i5VgbkGW */
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