@mindexec/cli 0.2.270 → 0.2.272
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
|
@@ -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-
|
|
8
|
+
const MINDMAP_CORE_BUILD_ID = '20260620-css3d-flat-wheel-v720';
|
|
9
9
|
const CanvasPhase = Object.freeze({
|
|
10
10
|
Booting: 'booting',
|
|
11
11
|
BoardFileLoading: 'board-file-loading',
|
|
@@ -514,6 +514,41 @@
|
|
|
514
514
|
return module?.currentThemeObject?.userData?.localSnapGrid === true;
|
|
515
515
|
}
|
|
516
516
|
|
|
517
|
+
function hasPassiveOverlaySelectionSurface(module) {
|
|
518
|
+
const selectionNodeId = module?._textOverlayV2State?.selectionNodeId;
|
|
519
|
+
const selectableTextOverlayNodeId = module?._selectableTextOverlayNodeId;
|
|
520
|
+
return !!(
|
|
521
|
+
(typeof selectionNodeId === 'string' ? selectionNodeId.length > 0 : selectionNodeId) ||
|
|
522
|
+
(typeof selectableTextOverlayNodeId === 'string' ? selectableTextOverlayNodeId.length > 0 : selectableTextOverlayNodeId)
|
|
523
|
+
);
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
function hasPassiveOverlayMotionWork(module) {
|
|
527
|
+
return PASSIVE_DOM_OVERLAY_RUNTIME_ENABLED === true ||
|
|
528
|
+
hasPassiveOverlaySelectionSurface(module) === true;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
function deferPassiveOverlayForCameraMotion(module, nowMs = 0, delayMs = PASSIVE_OVERLAY_IDLE_DELAY_MS) {
|
|
532
|
+
if (!module || hasPassiveOverlayMotionWork(module) !== true) {
|
|
533
|
+
return false;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
const baseTime = Number(nowMs || 0) || (typeof performance !== 'undefined' && typeof performance.now === 'function'
|
|
537
|
+
? performance.now()
|
|
538
|
+
: Date.now());
|
|
539
|
+
module._passiveOverlayResumeAt = Math.max(
|
|
540
|
+
Number(module._passiveOverlayResumeAt || 0),
|
|
541
|
+
baseTime + delayMs
|
|
542
|
+
);
|
|
543
|
+
|
|
544
|
+
if (module._overlayDirty === true ||
|
|
545
|
+
hasPassiveOverlaySelectionSurface(module) === true) {
|
|
546
|
+
module._deferPassiveOverlayRefresh = true;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
return true;
|
|
550
|
+
}
|
|
551
|
+
|
|
517
552
|
function renderCss3dCameraForCameraNavigation(module, reason = 'camera-navigation') {
|
|
518
553
|
const renderer = module?.cssRenderer || null;
|
|
519
554
|
const camera = module?.camera || null;
|
|
@@ -610,10 +645,11 @@
|
|
|
610
645
|
Math.abs(Number(rotation.z || 0)) <= 1e-5;
|
|
611
646
|
}
|
|
612
647
|
|
|
613
|
-
function syncBusinessAutomationEdgesForCameraNavigation(module,
|
|
648
|
+
function syncBusinessAutomationEdgesForCameraNavigation(module, transformOnly = false, allowDraftRender = false) {
|
|
649
|
+
transformOnly = transformOnly === true;
|
|
650
|
+
allowDraftRender = allowDraftRender === true;
|
|
614
651
|
const hasActiveEdges = module?._businessAutomationEdgeRenderActive === true;
|
|
615
|
-
|
|
616
|
-
if (hasActiveEdges !== true && options.allowDraftRender !== true) {
|
|
652
|
+
if (hasActiveEdges !== true && allowDraftRender !== true) {
|
|
617
653
|
return false;
|
|
618
654
|
}
|
|
619
655
|
|
|
@@ -635,7 +671,7 @@
|
|
|
635
671
|
|
|
636
672
|
const hasConnectionDraft =
|
|
637
673
|
transformOnly !== true &&
|
|
638
|
-
|
|
674
|
+
allowDraftRender === true &&
|
|
639
675
|
hasDraftHint === true &&
|
|
640
676
|
window.MindMapCss3DManager.hasBusinessAutomationConnectionDraft?.() === true;
|
|
641
677
|
if (hasActiveEdges !== true && hasConnectionDraft !== true) {
|
|
@@ -667,7 +703,7 @@
|
|
|
667
703
|
}
|
|
668
704
|
|
|
669
705
|
if (hasConnectionDraft === true &&
|
|
670
|
-
|
|
706
|
+
allowDraftRender === true &&
|
|
671
707
|
typeof window.MindMapCss3DManager.renderBusinessAutomationEdges === 'function') {
|
|
672
708
|
window.MindMapCss3DManager.renderBusinessAutomationEdges(module);
|
|
673
709
|
module._businessAutomationEdgesDeferredForMotion = false;
|
|
@@ -1482,10 +1518,7 @@
|
|
|
1482
1518
|
|
|
1483
1519
|
module._viewSyncMotionActive = true;
|
|
1484
1520
|
module._cameraMovingThisFrame = false;
|
|
1485
|
-
module
|
|
1486
|
-
Number(module._passiveOverlayResumeAt || 0),
|
|
1487
|
-
frameStart + PASSIVE_OVERLAY_IDLE_DELAY_MS
|
|
1488
|
-
);
|
|
1521
|
+
deferPassiveOverlayForCameraMotion(module, frameStart);
|
|
1489
1522
|
|
|
1490
1523
|
const forceUpdateFrames = Math.max(0, Number(module._forceUpdateFrames || 0));
|
|
1491
1524
|
const cameraNavigationForceFrames = Math.max(0, Number(module._cameraNavigationForceFrames || 0));
|
|
@@ -1517,11 +1550,7 @@
|
|
|
1517
1550
|
module._css3dVisualChangedSinceLastRender === true) {
|
|
1518
1551
|
module._css3dVisualDeferredForMotion = true;
|
|
1519
1552
|
}
|
|
1520
|
-
|
|
1521
|
-
String(module._textOverlayV2State?.selectionNodeId || '').trim() ||
|
|
1522
|
-
String(module._selectableTextOverlayNodeId || '').trim()) {
|
|
1523
|
-
module._deferPassiveOverlayRefresh = true;
|
|
1524
|
-
}
|
|
1553
|
+
deferPassiveOverlayForCameraMotion(module, frameStart);
|
|
1525
1554
|
|
|
1526
1555
|
if (hasForcedUpdate) {
|
|
1527
1556
|
module._forceUpdateFrames = Math.max(0, forceUpdateFrames - 1);
|
|
@@ -1699,11 +1728,7 @@
|
|
|
1699
1728
|
module._preserveVisibleSetThisFrame = true;
|
|
1700
1729
|
module._lastVisibilityCullingSkipReason = 'ua-ultra-camera-only';
|
|
1701
1730
|
recordCameraMotionFastPathStatus(module, 'hit', 'ua-ultra-camera-only');
|
|
1702
|
-
|
|
1703
|
-
String(module._textOverlayV2State?.selectionNodeId || '').trim() ||
|
|
1704
|
-
String(module._selectableTextOverlayNodeId || '').trim()) {
|
|
1705
|
-
module._deferPassiveOverlayRefresh = true;
|
|
1706
|
-
}
|
|
1731
|
+
deferPassiveOverlayForCameraMotion(module, frameStart);
|
|
1707
1732
|
|
|
1708
1733
|
if (shouldSyncMindCanvasPerfClasses()) {
|
|
1709
1734
|
const visibleNodeCount = Number(module._visibleIds?.size || module._prevVisibleIds?.size || 0);
|
|
@@ -1766,7 +1791,7 @@
|
|
|
1766
1791
|
module._syncLocalSnapGridPositionOnly?.(true);
|
|
1767
1792
|
renderCss3dCameraForCameraNavigation(module, 'ua-ultra-camera-only');
|
|
1768
1793
|
|
|
1769
|
-
syncBusinessAutomationEdgesForCameraNavigation(module,
|
|
1794
|
+
syncBusinessAutomationEdgesForCameraNavigation(module, true);
|
|
1770
1795
|
|
|
1771
1796
|
profileSection?.('uaUltraEarlyCameraOnly');
|
|
1772
1797
|
|
|
@@ -1927,11 +1952,7 @@
|
|
|
1927
1952
|
module._preserveVisibleSetThisFrame = true;
|
|
1928
1953
|
module._lastVisibilityCullingSkipReason = 'ua-ultra-resident-camera-only';
|
|
1929
1954
|
recordCameraMotionFastPathStatus(module, 'hit', 'ua-ultra-resident-camera-only');
|
|
1930
|
-
|
|
1931
|
-
String(module._textOverlayV2State?.selectionNodeId || '').trim() ||
|
|
1932
|
-
String(module._selectableTextOverlayNodeId || '').trim()) {
|
|
1933
|
-
module._deferPassiveOverlayRefresh = true;
|
|
1934
|
-
}
|
|
1955
|
+
deferPassiveOverlayForCameraMotion(module, frameStart);
|
|
1935
1956
|
|
|
1936
1957
|
if (shouldSyncMindCanvasPerfClasses()) {
|
|
1937
1958
|
const visibleNodeCount = Number(module._visibleIds?.size || module._prevVisibleIds?.size || 0);
|
|
@@ -1992,7 +2013,7 @@
|
|
|
1992
2013
|
renderCss3dCameraForCameraNavigation(module, 'ua-ultra-resident-camera-only');
|
|
1993
2014
|
}
|
|
1994
2015
|
|
|
1995
|
-
syncBusinessAutomationEdgesForCameraNavigation(module,
|
|
2016
|
+
syncBusinessAutomationEdgesForCameraNavigation(module, true);
|
|
1996
2017
|
|
|
1997
2018
|
profileSection?.('uaUltraResidentCameraOnly');
|
|
1998
2019
|
|
|
@@ -5553,15 +5574,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
5553
5574
|
this._fullResVisibilityReconcilePending = true;
|
|
5554
5575
|
}
|
|
5555
5576
|
this._preserveVisibleSetThisFrame = true;
|
|
5556
|
-
this
|
|
5557
|
-
Number(this._passiveOverlayResumeAt || 0),
|
|
5558
|
-
(typeof performance !== 'undefined' && typeof performance.now === 'function' ? performance.now() : Date.now()) + PASSIVE_OVERLAY_IDLE_DELAY_MS
|
|
5559
|
-
);
|
|
5560
|
-
if (this._overlayDirty === true ||
|
|
5561
|
-
String(this._textOverlayV2State?.selectionNodeId || '').trim() ||
|
|
5562
|
-
String(this._selectableTextOverlayNodeId || '').trim()) {
|
|
5563
|
-
this._deferPassiveOverlayRefresh = true;
|
|
5564
|
-
}
|
|
5577
|
+
deferPassiveOverlayForCameraMotion(this);
|
|
5565
5578
|
|
|
5566
5579
|
if (snapGridPointAlreadySet !== true &&
|
|
5567
5580
|
Number.isFinite(Number(clientX)) &&
|
|
@@ -5621,7 +5634,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
5621
5634
|
if (canRenderCss3d === true) {
|
|
5622
5635
|
renderCss3dCameraForCameraNavigation(this, 'ua-wheel-zoom-direct');
|
|
5623
5636
|
}
|
|
5624
|
-
syncBusinessAutomationEdgesForCameraNavigation(this,
|
|
5637
|
+
syncBusinessAutomationEdgesForCameraNavigation(this, true);
|
|
5625
5638
|
this.pauseAnimationLoopForDirectWheelZoom?.();
|
|
5626
5639
|
return true;
|
|
5627
5640
|
}
|
|
@@ -6675,7 +6688,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
6675
6688
|
(this.isPanning === true || isRecentPanInput) && this.isZooming !== true
|
|
6676
6689
|
? PASSIVE_OVERLAY_PAN_IDLE_DELAY_MS
|
|
6677
6690
|
: PASSIVE_OVERLAY_IDLE_DELAY_MS;
|
|
6678
|
-
this
|
|
6691
|
+
deferPassiveOverlayForCameraMotion(this, frameStart, overlayResumeDelayMs);
|
|
6679
6692
|
}
|
|
6680
6693
|
const zoomEndedThisFrame = wasZoomingLastFrame && !this.isZooming;
|
|
6681
6694
|
const panEndedThisFrame = wasPanningLastFrame && !this.isPanning;
|
|
@@ -7118,7 +7131,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7118
7131
|
window.MindMapTextOverlayV2?.syncPassiveViewTransform) {
|
|
7119
7132
|
window.MindMapTextOverlayV2.syncPassiveViewTransform(this);
|
|
7120
7133
|
}
|
|
7121
|
-
syncBusinessAutomationEdgesForCameraNavigation(this,
|
|
7134
|
+
syncBusinessAutomationEdgesForCameraNavigation(this, false, true);
|
|
7122
7135
|
_profileSection('uaVisualOnlyMotion');
|
|
7123
7136
|
|
|
7124
7137
|
const frameEnd = performance.now();
|
|
@@ -7291,7 +7304,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7291
7304
|
if (this.cssRenderer && typeof this.cssRenderer.renderCamera === 'function') {
|
|
7292
7305
|
renderCss3dCameraForCameraNavigation(this, 'ua-stationary-visual-motion');
|
|
7293
7306
|
}
|
|
7294
|
-
syncBusinessAutomationEdgesForCameraNavigation(this,
|
|
7307
|
+
syncBusinessAutomationEdgesForCameraNavigation(this, false, true);
|
|
7295
7308
|
|
|
7296
7309
|
_profileSection('uaStationaryVisualMotion');
|
|
7297
7310
|
|
|
@@ -7482,7 +7495,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7482
7495
|
if (shouldRenderCss3dInLodForUaResidentCameraOnly === true) {
|
|
7483
7496
|
renderCss3dCameraForCameraNavigation(this, 'ua-resident-visual-only-motion');
|
|
7484
7497
|
}
|
|
7485
|
-
syncBusinessAutomationEdgesForCameraNavigation(this,
|
|
7498
|
+
syncBusinessAutomationEdgesForCameraNavigation(this, false, true);
|
|
7486
7499
|
_profileSection('uaResidentVisualOnlyMotion');
|
|
7487
7500
|
|
|
7488
7501
|
const frameEnd = performance.now();
|
package/wwwroot/index.html
CHANGED
|
@@ -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-
|
|
11
|
-
<link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260620-css3d-flat-wheel-
|
|
10
|
+
<link rel="stylesheet" href="_content/MindExecution.Shared/css/app.css?v=20260620-css3d-flat-wheel-v720" />
|
|
11
|
+
<link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260620-css3d-flat-wheel-v720" />
|
|
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-
|
|
582
|
+
const scriptVersion = '20260620-css3d-flat-wheel-v720';
|
|
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": "
|
|
2
|
+
"version": "rMgJYHGs",
|
|
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-
|
|
81
|
+
"hash": "sha256-OfDD/XylNogN5jOaQ1cxR4R8petHNlT5kN9MzKBKw0I=",
|
|
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-
|
|
837
|
+
"hash": "sha256-cOnCEqbiPKhLSk9sCuqIcxCnzveJXLV+5mwpfpfKSJY=",
|
|
838
838
|
"url": "index.html"
|
|
839
839
|
},
|
|
840
840
|
{
|