@mindexec/cli 0.2.226 → 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.226",
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-v673';
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;
@@ -1328,13 +1371,7 @@
1328
1371
  module._syncMotionGridLayerForCameraNavigation?.(usedWebglCanvasCameraTransform);
1329
1372
  module.cssRenderer.renderCamera(module.camera);
1330
1373
 
1331
- if ((module._businessAutomationEdgeVisualLayer?.isConnected ||
1332
- module._businessAutomationEdgeLayer?.isConnected) &&
1333
- window.MindMapCss3DManager?.syncBusinessAutomationEdgesForCameraMotion) {
1334
- const transformedEdges =
1335
- window.MindMapCss3DManager.syncBusinessAutomationEdgesForCameraMotion(module) === true;
1336
- module._businessAutomationEdgesDeferredForMotion = transformedEdges !== false;
1337
- }
1374
+ syncBusinessAutomationEdgesForCameraNavigation(module);
1338
1375
 
1339
1376
  profileSection?.('uaUltraEarlyCameraOnly');
1340
1377
 
@@ -1554,13 +1591,7 @@
1554
1591
  module.cssRenderer.renderCamera(module.camera);
1555
1592
  }
1556
1593
 
1557
- if ((module._businessAutomationEdgeVisualLayer?.isConnected ||
1558
- module._businessAutomationEdgeLayer?.isConnected) &&
1559
- window.MindMapCss3DManager?.syncBusinessAutomationEdgesForCameraMotion) {
1560
- const transformedEdges =
1561
- window.MindMapCss3DManager.syncBusinessAutomationEdgesForCameraMotion(module) === true;
1562
- module._businessAutomationEdgesDeferredForMotion = transformedEdges !== false;
1563
- }
1594
+ syncBusinessAutomationEdgesForCameraNavigation(module);
1564
1595
 
1565
1596
  profileSection?.('uaUltraResidentCameraOnly');
1566
1597
 
@@ -5935,22 +5966,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
5935
5966
  window.MindMapTextOverlayV2?.syncPassiveViewTransform) {
5936
5967
  window.MindMapTextOverlayV2.syncPassiveViewTransform(this);
5937
5968
  }
5938
- if ((this._businessAutomationEdgeVisualLayer?.isConnected ||
5939
- this._businessAutomationEdgeLayer?.isConnected) &&
5940
- window.MindMapCss3DManager?.renderBusinessAutomationEdges) {
5941
- const hasBusinessAutomationConnectionDraft =
5942
- window.MindMapCss3DManager?.hasBusinessAutomationConnectionDraft?.() === true;
5943
- const transformedBusinessAutomationEdges =
5944
- window.MindMapCss3DManager.syncBusinessAutomationEdgesForCameraMotion?.(this) === true;
5945
- if (transformedBusinessAutomationEdges) {
5946
- this._businessAutomationEdgesDeferredForMotion = true;
5947
- } else if (hasBusinessAutomationConnectionDraft) {
5948
- window.MindMapCss3DManager.renderBusinessAutomationEdges(this);
5949
- this._businessAutomationEdgesDeferredForMotion = false;
5950
- } else {
5951
- this._businessAutomationEdgesDeferredForMotion = true;
5952
- }
5953
- }
5969
+ syncBusinessAutomationEdgesForCameraNavigation(this, { allowDraftRender: true });
5954
5970
  _profileSection('uaVisualOnlyMotion');
5955
5971
 
5956
5972
  const frameEnd = performance.now();
@@ -6107,22 +6123,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6107
6123
  if (this.cssRenderer && typeof this.cssRenderer.renderCamera === 'function') {
6108
6124
  this.cssRenderer.renderCamera(this.camera);
6109
6125
  }
6110
- if ((this._businessAutomationEdgeVisualLayer?.isConnected ||
6111
- this._businessAutomationEdgeLayer?.isConnected) &&
6112
- window.MindMapCss3DManager?.renderBusinessAutomationEdges) {
6113
- const hasBusinessAutomationConnectionDraft =
6114
- window.MindMapCss3DManager?.hasBusinessAutomationConnectionDraft?.() === true;
6115
- const transformedBusinessAutomationEdges =
6116
- window.MindMapCss3DManager.syncBusinessAutomationEdgesForCameraMotion?.(this) === true;
6117
- if (transformedBusinessAutomationEdges) {
6118
- this._businessAutomationEdgesDeferredForMotion = true;
6119
- } else if (hasBusinessAutomationConnectionDraft) {
6120
- window.MindMapCss3DManager.renderBusinessAutomationEdges(this);
6121
- this._businessAutomationEdgesDeferredForMotion = false;
6122
- } else {
6123
- this._businessAutomationEdgesDeferredForMotion = true;
6124
- }
6125
- }
6126
+ syncBusinessAutomationEdgesForCameraNavigation(this, { allowDraftRender: true });
6126
6127
 
6127
6128
  _profileSection('uaStationaryVisualMotion');
6128
6129
 
@@ -6299,22 +6300,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6299
6300
  if (shouldRenderCss3dInLodForUaResidentCameraOnly === true) {
6300
6301
  this.cssRenderer.renderCamera(this.camera);
6301
6302
  }
6302
- if ((this._businessAutomationEdgeVisualLayer?.isConnected ||
6303
- this._businessAutomationEdgeLayer?.isConnected) &&
6304
- window.MindMapCss3DManager?.renderBusinessAutomationEdges) {
6305
- const hasBusinessAutomationConnectionDraft =
6306
- window.MindMapCss3DManager?.hasBusinessAutomationConnectionDraft?.() === true;
6307
- const transformedBusinessAutomationEdges =
6308
- window.MindMapCss3DManager.syncBusinessAutomationEdgesForCameraMotion?.(this) === true;
6309
- if (transformedBusinessAutomationEdges) {
6310
- this._businessAutomationEdgesDeferredForMotion = true;
6311
- } else if (hasBusinessAutomationConnectionDraft) {
6312
- window.MindMapCss3DManager.renderBusinessAutomationEdges(this);
6313
- this._businessAutomationEdgesDeferredForMotion = false;
6314
- } else {
6315
- this._businessAutomationEdgesDeferredForMotion = true;
6316
- }
6317
- }
6303
+ syncBusinessAutomationEdgesForCameraNavigation(this, { allowDraftRender: true });
6318
6304
  _profileSection('uaResidentVisualOnlyMotion');
6319
6305
 
6320
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": "36RGH7+F",
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-FULOYbTxfjP57GtR0ZO6hxJUtWpBojHiKmUJQWOQ6Hw=",
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: 36RGH7+F */
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