@mindexec/cli 0.2.225 → 0.2.227

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.225",
3
+ "version": "0.2.227",
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 = '20260619-ua-motion-hidden-work-v672';
8
+ const MINDMAP_CORE_BUILD_ID = '20260619-ua-motion-hidden-work-v674';
9
9
  const CanvasPhase = Object.freeze({
10
10
  Booting: 'booting',
11
11
  BoardFileLoading: 'board-file-loading',
@@ -498,6 +498,49 @@
498
498
  return true;
499
499
  }
500
500
 
501
+ function hasBusinessAutomationEdgeLayer(module) {
502
+ return !!(
503
+ module?._businessAutomationEdgeVisualLayer?.isConnected ||
504
+ module?._businessAutomationEdgeLayer?.isConnected
505
+ );
506
+ }
507
+
508
+ function syncBusinessAutomationEdgesForCameraNavigation(module, options = {}) {
509
+ if (!hasBusinessAutomationEdgeLayer(module) || !window.MindMapCss3DManager) {
510
+ return false;
511
+ }
512
+
513
+ const hasConnectionDraft =
514
+ window.MindMapCss3DManager.hasBusinessAutomationConnectionDraft?.() === true;
515
+ const hasActiveEdges = module?._businessAutomationEdgeRenderActive === true;
516
+ const canTransformExistingEdges = !!(
517
+ hasActiveEdges === true &&
518
+ hasConnectionDraft !== true &&
519
+ module?._lastBusinessAutomationEdgeCameraState &&
520
+ typeof window.MindMapCss3DManager.syncBusinessAutomationEdgesForCameraMotion === 'function'
521
+ );
522
+
523
+ if (canTransformExistingEdges === true &&
524
+ window.MindMapCss3DManager.syncBusinessAutomationEdgesForCameraMotion(module) === true) {
525
+ module._businessAutomationEdgesDeferredForMotion = true;
526
+ return true;
527
+ }
528
+
529
+ if (hasConnectionDraft === true &&
530
+ options.allowDraftRender === true &&
531
+ typeof window.MindMapCss3DManager.renderBusinessAutomationEdges === 'function') {
532
+ window.MindMapCss3DManager.renderBusinessAutomationEdges(module);
533
+ module._businessAutomationEdgesDeferredForMotion = false;
534
+ return true;
535
+ }
536
+
537
+ if (hasActiveEdges === true || hasConnectionDraft === true) {
538
+ module._businessAutomationEdgesDeferredForMotion = true;
539
+ }
540
+
541
+ return false;
542
+ }
543
+
501
544
  function syncRenderDebugBodyClasses(flags = {}) {
502
545
  if (typeof document === 'undefined' || !document.body) {
503
546
  return;
@@ -1180,9 +1223,13 @@
1180
1223
  }
1181
1224
 
1182
1225
  function tryRunUltraEarlyCameraOnlyFrame(module, loop, frameStart, isCameraMoving, shouldCaptureFramePerf, frameProfTimes, profileSection) {
1226
+ const isCameraNavigationActive =
1227
+ isCameraMoving === true ||
1228
+ module?.isPanning === true ||
1229
+ module?.isZooming === true;
1183
1230
  if (!module ||
1184
1231
  CAMERA_MOTION_VISUAL_ONLY_FAST_PATH_ENABLED !== true ||
1185
- isCameraMoving !== true ||
1232
+ isCameraNavigationActive !== true ||
1186
1233
  module.isLoading === true ||
1187
1234
  module.isSelecting === true ||
1188
1235
  module.isDraggingNode === true ||
@@ -1324,13 +1371,7 @@
1324
1371
  module._syncMotionGridLayerForCameraNavigation?.(usedWebglCanvasCameraTransform);
1325
1372
  module.cssRenderer.renderCamera(module.camera);
1326
1373
 
1327
- if ((module._businessAutomationEdgeVisualLayer?.isConnected ||
1328
- module._businessAutomationEdgeLayer?.isConnected) &&
1329
- window.MindMapCss3DManager?.syncBusinessAutomationEdgesForCameraMotion) {
1330
- const transformedEdges =
1331
- window.MindMapCss3DManager.syncBusinessAutomationEdgesForCameraMotion(module) === true;
1332
- module._businessAutomationEdgesDeferredForMotion = transformedEdges !== false;
1333
- }
1374
+ syncBusinessAutomationEdgesForCameraNavigation(module);
1334
1375
 
1335
1376
  profileSection?.('uaUltraEarlyCameraOnly');
1336
1377
 
@@ -1351,7 +1392,8 @@
1351
1392
  cameraZ: Number((module.camera?.position?.z || 0).toFixed(2)),
1352
1393
  isZooming: module.isZooming === true,
1353
1394
  isPanning: module.isPanning === true,
1354
- isCameraMoving: true,
1395
+ isCameraMoving: isCameraMoving === true,
1396
+ isCameraNavigationActive: true,
1355
1397
  isInLodMode: false,
1356
1398
  lodBand: module.lodRenderer?._currentLodBand || null,
1357
1399
  visibleNodes: Number(module._visibleIds?.size || module._prevVisibleIds?.size || 0),
@@ -1395,9 +1437,13 @@
1395
1437
  }
1396
1438
 
1397
1439
  function tryRunUltraEarlyResidentCameraOnlyFrame(module, loop, frameStart, isCameraMoving, shouldCaptureFramePerf, frameProfTimes, profileSection) {
1440
+ const isCameraNavigationActive =
1441
+ isCameraMoving === true ||
1442
+ module?.isPanning === true ||
1443
+ module?.isZooming === true;
1398
1444
  if (!module ||
1399
1445
  CAMERA_MOTION_VISUAL_ONLY_FAST_PATH_ENABLED !== true ||
1400
- isCameraMoving !== true ||
1446
+ isCameraNavigationActive !== true ||
1401
1447
  module.isLoading === true ||
1402
1448
  module.isSelecting === true ||
1403
1449
  module.isDraggingNode === true ||
@@ -1545,13 +1591,7 @@
1545
1591
  module.cssRenderer.renderCamera(module.camera);
1546
1592
  }
1547
1593
 
1548
- if ((module._businessAutomationEdgeVisualLayer?.isConnected ||
1549
- module._businessAutomationEdgeLayer?.isConnected) &&
1550
- window.MindMapCss3DManager?.syncBusinessAutomationEdgesForCameraMotion) {
1551
- const transformedEdges =
1552
- window.MindMapCss3DManager.syncBusinessAutomationEdgesForCameraMotion(module) === true;
1553
- module._businessAutomationEdgesDeferredForMotion = transformedEdges !== false;
1554
- }
1594
+ syncBusinessAutomationEdgesForCameraNavigation(module);
1555
1595
 
1556
1596
  profileSection?.('uaUltraResidentCameraOnly');
1557
1597
 
@@ -1572,7 +1612,8 @@
1572
1612
  cameraZ: Number((module.camera?.position?.z || 0).toFixed(2)),
1573
1613
  isZooming: module.isZooming === true,
1574
1614
  isPanning: module.isPanning === true,
1575
- isCameraMoving: true,
1615
+ isCameraMoving: isCameraMoving === true,
1616
+ isCameraNavigationActive: true,
1576
1617
  isInLodMode: true,
1577
1618
  lodBand: module.lodRenderer?._currentLodBand || null,
1578
1619
  visibleNodes: Number(module._visibleIds?.size || module._prevVisibleIds?.size || 0),
@@ -5925,22 +5966,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
5925
5966
  window.MindMapTextOverlayV2?.syncPassiveViewTransform) {
5926
5967
  window.MindMapTextOverlayV2.syncPassiveViewTransform(this);
5927
5968
  }
5928
- if ((this._businessAutomationEdgeVisualLayer?.isConnected ||
5929
- this._businessAutomationEdgeLayer?.isConnected) &&
5930
- window.MindMapCss3DManager?.renderBusinessAutomationEdges) {
5931
- const hasBusinessAutomationConnectionDraft =
5932
- window.MindMapCss3DManager?.hasBusinessAutomationConnectionDraft?.() === true;
5933
- const transformedBusinessAutomationEdges =
5934
- window.MindMapCss3DManager.syncBusinessAutomationEdgesForCameraMotion?.(this) === true;
5935
- if (transformedBusinessAutomationEdges) {
5936
- this._businessAutomationEdgesDeferredForMotion = true;
5937
- } else if (hasBusinessAutomationConnectionDraft) {
5938
- window.MindMapCss3DManager.renderBusinessAutomationEdges(this);
5939
- this._businessAutomationEdgesDeferredForMotion = false;
5940
- } else {
5941
- this._businessAutomationEdgesDeferredForMotion = true;
5942
- }
5943
- }
5969
+ syncBusinessAutomationEdgesForCameraNavigation(this, { allowDraftRender: true });
5944
5970
  _profileSection('uaVisualOnlyMotion');
5945
5971
 
5946
5972
  const frameEnd = performance.now();
@@ -6097,22 +6123,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6097
6123
  if (this.cssRenderer && typeof this.cssRenderer.renderCamera === 'function') {
6098
6124
  this.cssRenderer.renderCamera(this.camera);
6099
6125
  }
6100
- if ((this._businessAutomationEdgeVisualLayer?.isConnected ||
6101
- this._businessAutomationEdgeLayer?.isConnected) &&
6102
- window.MindMapCss3DManager?.renderBusinessAutomationEdges) {
6103
- const hasBusinessAutomationConnectionDraft =
6104
- window.MindMapCss3DManager?.hasBusinessAutomationConnectionDraft?.() === true;
6105
- const transformedBusinessAutomationEdges =
6106
- window.MindMapCss3DManager.syncBusinessAutomationEdgesForCameraMotion?.(this) === true;
6107
- if (transformedBusinessAutomationEdges) {
6108
- this._businessAutomationEdgesDeferredForMotion = true;
6109
- } else if (hasBusinessAutomationConnectionDraft) {
6110
- window.MindMapCss3DManager.renderBusinessAutomationEdges(this);
6111
- this._businessAutomationEdgesDeferredForMotion = false;
6112
- } else {
6113
- this._businessAutomationEdgesDeferredForMotion = true;
6114
- }
6115
- }
6126
+ syncBusinessAutomationEdgesForCameraNavigation(this, { allowDraftRender: true });
6116
6127
 
6117
6128
  _profileSection('uaStationaryVisualMotion');
6118
6129
 
@@ -6289,22 +6300,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6289
6300
  if (shouldRenderCss3dInLodForUaResidentCameraOnly === true) {
6290
6301
  this.cssRenderer.renderCamera(this.camera);
6291
6302
  }
6292
- if ((this._businessAutomationEdgeVisualLayer?.isConnected ||
6293
- this._businessAutomationEdgeLayer?.isConnected) &&
6294
- window.MindMapCss3DManager?.renderBusinessAutomationEdges) {
6295
- const hasBusinessAutomationConnectionDraft =
6296
- window.MindMapCss3DManager?.hasBusinessAutomationConnectionDraft?.() === true;
6297
- const transformedBusinessAutomationEdges =
6298
- window.MindMapCss3DManager.syncBusinessAutomationEdgesForCameraMotion?.(this) === true;
6299
- if (transformedBusinessAutomationEdges) {
6300
- this._businessAutomationEdgesDeferredForMotion = true;
6301
- } else if (hasBusinessAutomationConnectionDraft) {
6302
- window.MindMapCss3DManager.renderBusinessAutomationEdges(this);
6303
- this._businessAutomationEdgesDeferredForMotion = false;
6304
- } else {
6305
- this._businessAutomationEdgesDeferredForMotion = true;
6306
- }
6307
- }
6303
+ syncBusinessAutomationEdgesForCameraNavigation(this, { allowDraftRender: true });
6308
6304
  _profileSection('uaResidentVisualOnlyMotion');
6309
6305
 
6310
6306
  const frameEnd = performance.now();
@@ -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=20260619-skills-model-policy-v632" />
11
- <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260619-skills-model-policy-v632" />
10
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/app.css?v=20260619-ua-motion-hidden-work-v674" />
11
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260619-ua-motion-hidden-work-v674" />
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 = '20260619-skills-model-policy-v632';
582
+ const scriptVersion = '20260619-ua-motion-hidden-work-v674';
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": "DOQXBbI8",
2
+ "version": "LScljfof",
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-dAXTBBzz3gWtBqOMk0spDkHg8jlOGS+d4YmCyxO3QsI=",
81
+ "hash": "sha256-TNeaanW36R+XDvGKmJY535qZwhEUpP8aLnnWQudLGXI=",
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-OltYWVjgO9sefZmP8zvDWjgJc1W7/FBjXQKKu9EhHXs=",
837
+ "hash": "sha256-IPbKFY3Pg97ss96niFyQ/OJUOJhtTD4Sg/kfPe3eTLI=",
838
838
  "url": "index.html"
839
839
  },
840
840
  {
@@ -1,4 +1,4 @@
1
- /* Manifest version: DOQXBbI8 */
1
+ /* Manifest version: LScljfof */
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