@mindexec/cli 0.2.240 → 0.2.242

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.240",
3
+ "version": "0.2.242",
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-wheel-local-grid-v687';
8
+ const MINDMAP_CORE_BUILD_ID = '20260620-defer-css-transform-dirty-v689';
9
9
  const CanvasPhase = Object.freeze({
10
10
  Booting: 'booting',
11
11
  BoardFileLoading: 'board-file-loading',
@@ -1267,8 +1267,8 @@
1267
1267
  if (context.hasEditingTextOverlayFocus === true) {
1268
1268
  return 'editing-text-overlay';
1269
1269
  }
1270
- if (context.hasPendingCss3dStructuralTransformWork === true) {
1271
- return 'css3d-structural-dirty';
1270
+ if (context.hasPendingCss3dParentRepair === true) {
1271
+ return 'css3d-parent-repair';
1272
1272
  }
1273
1273
  if (context.isBoardLoading === true) {
1274
1274
  return 'board-loading';
@@ -1359,6 +1359,13 @@
1359
1359
  return false;
1360
1360
  }
1361
1361
 
1362
+ module._viewSyncMotionActive = true;
1363
+ module._cameraMovingThisFrame = false;
1364
+ module._passiveOverlayResumeAt = Math.max(
1365
+ Number(module._passiveOverlayResumeAt || 0),
1366
+ frameStart + PASSIVE_OVERLAY_IDLE_DELAY_MS
1367
+ );
1368
+
1362
1369
  const forceUpdateFrames = Math.max(0, Number(module._forceUpdateFrames || 0));
1363
1370
  const cameraNavigationForceFrames = Math.max(0, Number(module._cameraNavigationForceFrames || 0));
1364
1371
  const hasForcedUpdate = forceUpdateFrames > 0;
@@ -1377,13 +1384,13 @@
1377
1384
  return false;
1378
1385
  }
1379
1386
 
1380
- const hasPendingCss3dStructuralTransformWork = !!(
1381
- (module._cssTransformDirtyIds?.size || 0) > 0 ||
1382
- module._cssParentRepairNeeded === true
1383
- );
1384
- if (hasPendingCss3dStructuralTransformWork) {
1387
+ const hasPendingCss3dParentRepair = module._cssParentRepairNeeded === true;
1388
+ if (hasPendingCss3dParentRepair) {
1385
1389
  return false;
1386
1390
  }
1391
+ if ((module._cssTransformDirtyIds?.size || 0) > 0) {
1392
+ module._css3dVisualDeferredForMotion = true;
1393
+ }
1387
1394
 
1388
1395
  if (module._css3dVisualChangedThisFrame === true ||
1389
1396
  module._css3dVisualChangedSinceLastRender === true) {
@@ -1538,13 +1545,13 @@
1538
1545
  return false;
1539
1546
  }
1540
1547
 
1541
- const hasPendingCss3dStructuralTransformWork = !!(
1542
- (module._cssTransformDirtyIds?.size || 0) > 0 ||
1543
- module._cssParentRepairNeeded === true
1544
- );
1545
- if (hasPendingCss3dStructuralTransformWork) {
1548
+ const hasPendingCss3dParentRepair = module._cssParentRepairNeeded === true;
1549
+ if (hasPendingCss3dParentRepair) {
1546
1550
  return false;
1547
1551
  }
1552
+ if ((module._cssTransformDirtyIds?.size || 0) > 0) {
1553
+ module._css3dVisualDeferredForMotion = true;
1554
+ }
1548
1555
 
1549
1556
  const hasPendingCss3dVisualWork = !!(
1550
1557
  module._css3dVisualChangedThisFrame === true ||
@@ -1760,13 +1767,13 @@
1760
1767
  return false;
1761
1768
  }
1762
1769
 
1763
- const hasPendingCss3dStructuralTransformWork = !!(
1764
- (module._cssTransformDirtyIds?.size || 0) > 0 ||
1765
- module._cssParentRepairNeeded === true
1766
- );
1767
- if (hasPendingCss3dStructuralTransformWork) {
1770
+ const hasPendingCss3dParentRepair = module._cssParentRepairNeeded === true;
1771
+ if (hasPendingCss3dParentRepair) {
1768
1772
  return false;
1769
1773
  }
1774
+ if ((module._cssTransformDirtyIds?.size || 0) > 0) {
1775
+ module._css3dVisualDeferredForMotion = true;
1776
+ }
1770
1777
 
1771
1778
  const hasPendingCss3dVisualWork = !!(
1772
1779
  module._css3dVisualChangedThisFrame === true ||
@@ -6073,6 +6080,18 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6073
6080
  // ▲▲▲ [Fix] ▲▲▲
6074
6081
  _profileSection('state');
6075
6082
 
6083
+ if (tryRunZoomSettleIdleFrame(
6084
+ this,
6085
+ loop,
6086
+ frameStart,
6087
+ isCameraMoving,
6088
+ shouldCaptureFramePerf,
6089
+ _frameProfTimes,
6090
+ _profileSection
6091
+ ) === true) {
6092
+ return;
6093
+ }
6094
+
6076
6095
  if (isCameraMoving !== this.prevIsCameraMoving) {
6077
6096
  const shouldSyncCss3dWillChangeForCameraMotion =
6078
6097
  this.renderDebugFlags?.enableCss3dWillChange === true;
@@ -6182,17 +6201,6 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6182
6201
  // 3. Unified Visibility & LOD Pass (One Loop to Rule Them All)
6183
6202
  // ----------------------------------------------------------------
6184
6203
  this.frameCount = (this.frameCount || 0) + 1;
6185
- if (tryRunZoomSettleIdleFrame(
6186
- this,
6187
- loop,
6188
- frameStart,
6189
- isCameraMoving,
6190
- shouldCaptureFramePerf,
6191
- _frameProfTimes,
6192
- _profileSection
6193
- ) === true) {
6194
- return;
6195
- }
6196
6204
  if (tryRunUltraEarlyCameraOnlyFrame(
6197
6205
  this,
6198
6206
  loop,
@@ -6387,10 +6395,8 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6387
6395
  String(this._textOverlayV2State?.editing?.nodeId || '').trim() ||
6388
6396
  String(this._editingOverlayState?.nodeId || '').trim()
6389
6397
  );
6390
- const hasPendingCss3dStructuralTransformWork = !!(
6391
- (this._cssTransformDirtyIds?.size || 0) > 0 ||
6392
- this._cssParentRepairNeeded === true
6393
- );
6398
+ const hasPendingCss3dParentRepair = this._cssParentRepairNeeded === true;
6399
+ const hasPendingCss3dTransformDirtyIds = (this._cssTransformDirtyIds?.size || 0) > 0;
6394
6400
  const hasPendingCss3dVisualWork = !!(
6395
6401
  this._css3dVisualChangedThisFrame === true ||
6396
6402
  this._css3dVisualChangedSinceLastRender === true
@@ -6407,7 +6413,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6407
6413
  isCameraMoving === true &&
6408
6414
  this.isSelecting !== true &&
6409
6415
  !hasEditingTextOverlayFocus &&
6410
- !hasPendingCss3dStructuralTransformWork &&
6416
+ !hasPendingCss3dParentRepair &&
6411
6417
  !isBoardLoading
6412
6418
  );
6413
6419
  if (canUseUaImmediateCameraOnlyFrame !== true &&
@@ -6426,7 +6432,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6426
6432
  isCameraMoving,
6427
6433
  isSelecting: this.isSelecting === true,
6428
6434
  hasEditingTextOverlayFocus,
6429
- hasPendingCss3dStructuralTransformWork,
6435
+ hasPendingCss3dParentRepair,
6430
6436
  isBoardLoading
6431
6437
  }),
6432
6438
  {
@@ -6437,6 +6443,9 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6437
6443
  );
6438
6444
  }
6439
6445
  if (canUseUaImmediateCameraOnlyFrame) {
6446
+ if (hasPendingCss3dTransformDirtyIds) {
6447
+ this._css3dVisualDeferredForMotion = true;
6448
+ }
6440
6449
  this._fullResMotionFrozen = true;
6441
6450
  this._wasViewStateMotionFrozenLastFrame = true;
6442
6451
  this._wasLodMotionFrozenLastFrame = false;
@@ -6617,7 +6626,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6617
6626
  shouldUpdate !== true &&
6618
6627
  this.isSelecting !== true &&
6619
6628
  !hasEditingTextOverlayFocus &&
6620
- !hasPendingCss3dStructuralTransformWork &&
6629
+ !hasPendingCss3dParentRepair &&
6621
6630
  !hasPendingCss3dVisualWork &&
6622
6631
  !hasPendingNearCssWarmup &&
6623
6632
  !isBoardLoading &&
@@ -6625,6 +6634,9 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6625
6634
  (isWebglRenderEnabled !== true || !!this._lastWebglRenderedCameraState)
6626
6635
  );
6627
6636
  if (canUseUaStationaryCameraNavigationAnyModeFrame) {
6637
+ if (hasPendingCss3dTransformDirtyIds) {
6638
+ this._css3dVisualDeferredForMotion = true;
6639
+ }
6628
6640
  this._preserveVisibleSetThisFrame = true;
6629
6641
  this._lastVisibilityCullingSkipReason = 'ua-stationary-visual-motion';
6630
6642
  recordCameraMotionFastPathStatus(this, 'hit', 'ua-stationary-visual-motion');
@@ -6773,7 +6785,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6773
6785
  isCameraMoving === true &&
6774
6786
  this.isSelecting !== true &&
6775
6787
  !hasEditingTextOverlayFocus &&
6776
- !hasPendingCss3dStructuralTransformWork &&
6788
+ !hasPendingCss3dParentRepair &&
6777
6789
  !isBoardLoading &&
6778
6790
  this.isWindowResizing !== true &&
6779
6791
  (
@@ -6782,6 +6794,9 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6782
6794
  )
6783
6795
  );
6784
6796
  if (canUseUaResidentCameraOnlyFrame) {
6797
+ if (hasPendingCss3dTransformDirtyIds) {
6798
+ this._css3dVisualDeferredForMotion = true;
6799
+ }
6785
6800
  this._fullResMotionFrozen = false;
6786
6801
  this._wasViewStateMotionFrozenLastFrame = false;
6787
6802
  this._wasLodMotionFrozenLastFrame = true;
@@ -7000,9 +7015,12 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
7000
7015
  isCameraMoving === true &&
7001
7016
  this.isSelecting !== true &&
7002
7017
  typeof this.cssRenderer.renderCamera === 'function' &&
7003
- !hasPendingCss3dStructuralTransformWork
7018
+ !hasPendingCss3dParentRepair
7004
7019
  );
7005
7020
  if (canUseUaEarlyCameraOnlyFrame) {
7021
+ if (hasPendingCss3dTransformDirtyIds) {
7022
+ this._css3dVisualDeferredForMotion = true;
7023
+ }
7006
7024
  this._fullResMotionFrozen = true;
7007
7025
  this._wasViewStateMotionFrozenLastFrame = true;
7008
7026
  this._wasLodMotionFrozenLastFrame = false;
@@ -7181,13 +7199,16 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
7181
7199
  !hasNonCameraNavigationForcedUpdate &&
7182
7200
  !hasPendingNearCssWarmup &&
7183
7201
  !hasEditingOverlay &&
7184
- !hasPendingCss3dStructuralTransformWork &&
7202
+ !hasPendingCss3dParentRepair &&
7185
7203
  !hasPendingCss3dVisualWork &&
7186
7204
  shouldUpdate !== true &&
7187
7205
  !isBoardLoading &&
7188
7206
  this.isWindowResizing !== true
7189
7207
  );
7190
7208
  if (canUseUaStationaryCameraNavigationFrame) {
7209
+ if (hasPendingCss3dTransformDirtyIds) {
7210
+ this._css3dVisualDeferredForMotion = true;
7211
+ }
7191
7212
  this._fullResMotionFrozen = true;
7192
7213
  this._wasViewStateMotionFrozenLastFrame = true;
7193
7214
  this._wasLodMotionFrozenLastFrame = false;
@@ -7769,11 +7790,12 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
7769
7790
  !hasNonCameraNavigationForcedUpdate &&
7770
7791
  !hasPendingNearCssWarmup &&
7771
7792
  !hasMotionBlockingOverlayFocus &&
7772
- !hasPendingCss3dStructuralTransformWork &&
7793
+ !hasPendingCss3dParentRepair &&
7773
7794
  !lodVisualEpochChangedThisFrame &&
7774
7795
  this.isWindowResizing !== true
7775
7796
  );
7776
- if (isPureCss3dCameraMotionFrame === true && hasPendingCss3dVisualWork) {
7797
+ if (isPureCss3dCameraMotionFrame === true &&
7798
+ (hasPendingCss3dVisualWork || hasPendingCss3dTransformDirtyIds)) {
7777
7799
  this._css3dVisualDeferredForMotion = true;
7778
7800
  }
7779
7801
 
@@ -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-wheel-local-grid-v687" />
11
- <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260620-wheel-local-grid-v687" />
10
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/app.css?v=20260620-defer-css-transform-dirty-v689" />
11
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260620-defer-css-transform-dirty-v689" />
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-wheel-local-grid-v687';
582
+ const scriptVersion = '20260620-defer-css-transform-dirty-v689';
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": "I0AXIJjK",
2
+ "version": "VQRLUARv",
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-8p7OvkuyBw73fQofCagjgfFiJjChW3CNNjVXLPnB4gI=",
81
+ "hash": "sha256-72sIz6xxBjFPWDJDQdIG0fx7b5bs3L8NLzxIRBDPYGQ=",
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-nh71RuG23un6F40UEbFST44+bBlneJzI8Iq89UahHPQ=",
837
+ "hash": "sha256-ZroDjWgVjKhZ/W/V51zAsNMu5PZzgzIKjeQ9y4FxQ4U=",
838
838
  "url": "index.html"
839
839
  },
840
840
  {
@@ -1,4 +1,4 @@
1
- /* Manifest version: I0AXIJjK */
1
+ /* Manifest version: VQRLUARv */
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