@mindexec/cli 0.2.279 → 0.2.281
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 +1 -1
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-core.js +54 -15
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-interactions.js +12 -2
- package/wwwroot/index.html +3 -3
- package/wwwroot/service-worker-assets.js +4 -4
- package/wwwroot/service-worker.js +1 -1
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-v729';
|
|
9
9
|
const CanvasPhase = Object.freeze({
|
|
10
10
|
Booting: 'booting',
|
|
11
11
|
BoardFileLoading: 'board-file-loading',
|
|
@@ -511,6 +511,29 @@
|
|
|
511
511
|
return module?.currentThemeObject?.userData?.localSnapGrid === true;
|
|
512
512
|
}
|
|
513
513
|
|
|
514
|
+
function shouldTouchLocalSnapGridLayerForCameraNavigation(module) {
|
|
515
|
+
return !!(
|
|
516
|
+
module &&
|
|
517
|
+
(
|
|
518
|
+
module._isLocalSnapGridThemeEnabled?.() === true ||
|
|
519
|
+
module._localSnapGridVisible === true ||
|
|
520
|
+
module._localSnapGridLayer?.isConnected === true
|
|
521
|
+
)
|
|
522
|
+
);
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
function syncLocalSnapGridForCameraNavigation(module, positionOnly = true) {
|
|
526
|
+
if (shouldTouchLocalSnapGridLayerForCameraNavigation(module) !== true) {
|
|
527
|
+
return false;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
if (positionOnly === true) {
|
|
531
|
+
return module._syncLocalSnapGridPositionOnly?.(true) === true;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
return module._syncLocalSnapGridLayer?.(true) === true;
|
|
535
|
+
}
|
|
536
|
+
|
|
514
537
|
function hasPassiveOverlaySelectionSurface(module) {
|
|
515
538
|
const selectionNodeId = module?._textOverlayV2State?.selectionNodeId;
|
|
516
539
|
const selectableTextOverlayNodeId = module?._selectableTextOverlayNodeId;
|
|
@@ -1824,7 +1847,7 @@
|
|
|
1824
1847
|
if (module._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
|
|
1825
1848
|
module._syncMotionGridLayerForCameraNavigation?.(usedWebglCanvasCameraTransform);
|
|
1826
1849
|
}
|
|
1827
|
-
module
|
|
1850
|
+
syncLocalSnapGridForCameraNavigation(module, true);
|
|
1828
1851
|
renderCss3dCameraForCameraNavigation(module, 'ua-ultra-camera-only');
|
|
1829
1852
|
|
|
1830
1853
|
if (hasBusinessAutomationTransformMotionWork(module) === true) {
|
|
@@ -2050,7 +2073,7 @@
|
|
|
2050
2073
|
if (module._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
|
|
2051
2074
|
module._syncMotionGridLayerForCameraNavigation?.(usedWebglCanvasCameraTransform);
|
|
2052
2075
|
}
|
|
2053
|
-
module
|
|
2076
|
+
syncLocalSnapGridForCameraNavigation(module, true);
|
|
2054
2077
|
if (canRenderCss3dCamera === true) {
|
|
2055
2078
|
renderCss3dCameraForCameraNavigation(module, 'ua-ultra-resident-camera-only');
|
|
2056
2079
|
}
|
|
@@ -5646,6 +5669,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
5646
5669
|
}
|
|
5647
5670
|
|
|
5648
5671
|
if (snapGridPointAlreadySet !== true &&
|
|
5672
|
+
shouldTouchLocalSnapGridLayerForCameraNavigation(this) === true &&
|
|
5649
5673
|
Number.isFinite(Number(clientX)) &&
|
|
5650
5674
|
Number.isFinite(Number(clientY))) {
|
|
5651
5675
|
this.setLocalSnapGridClientPoint?.(Number(clientX), Number(clientY));
|
|
@@ -5688,7 +5712,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
5688
5712
|
if (this._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
|
|
5689
5713
|
this._syncMotionGridLayerForCameraNavigation?.(usedWebglCanvasCameraTransform);
|
|
5690
5714
|
}
|
|
5691
|
-
this
|
|
5715
|
+
syncLocalSnapGridForCameraNavigation(this, true);
|
|
5692
5716
|
if (canRenderCss3d === true) {
|
|
5693
5717
|
renderCss3dCameraForCameraNavigation(this, 'ua-wheel-zoom-direct', {
|
|
5694
5718
|
renderDebugFlags,
|
|
@@ -7129,7 +7153,8 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7129
7153
|
if (canReuseWebglCanvasForImmediateMotion === true) {
|
|
7130
7154
|
deferContinuousThemeForCameraMotion(this);
|
|
7131
7155
|
}
|
|
7132
|
-
if (
|
|
7156
|
+
if (this.isZooming !== true &&
|
|
7157
|
+
shouldFreezeWebglCanvasForImmediateZoom !== true &&
|
|
7133
7158
|
!canReuseWebglCanvasForImmediateMotion &&
|
|
7134
7159
|
renderDebugFlags.enableThemeAnimation !== false &&
|
|
7135
7160
|
isLocalSnapGridOnlyTheme(this) !== true &&
|
|
@@ -7168,6 +7193,8 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7168
7193
|
} else {
|
|
7169
7194
|
if (shouldFreezeWebglCanvasForImmediateZoom === true) {
|
|
7170
7195
|
markWebglSurfaceFrozenForZoom(this, 'uaVisualOnlyMotion');
|
|
7196
|
+
} else if (this.isZooming === true) {
|
|
7197
|
+
deferWebglBootstrapForCameraMotion(this, 'uaVisualOnlyMotion');
|
|
7171
7198
|
} else {
|
|
7172
7199
|
this._clearWebglCanvasCameraTransform();
|
|
7173
7200
|
this.renderer.render(this.scene, this.camera);
|
|
@@ -7187,7 +7214,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7187
7214
|
if (this._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
|
|
7188
7215
|
this._syncMotionGridLayerForCameraNavigation(usedWebglCanvasCameraTransformImmediate);
|
|
7189
7216
|
}
|
|
7190
|
-
this
|
|
7217
|
+
syncLocalSnapGridForCameraNavigation(this, true);
|
|
7191
7218
|
|
|
7192
7219
|
renderCss3dCameraForCameraNavigation(this, 'ua-visual-only-motion');
|
|
7193
7220
|
const shouldSyncPassiveOverlayTransformDuringMotion =
|
|
@@ -7309,7 +7336,8 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7309
7336
|
if (canReuseWebglCanvasForStationaryMotion === true) {
|
|
7310
7337
|
deferContinuousThemeForCameraMotion(this);
|
|
7311
7338
|
}
|
|
7312
|
-
if (
|
|
7339
|
+
if (this.isZooming !== true &&
|
|
7340
|
+
shouldFreezeWebglCanvasForStationaryZoom !== true &&
|
|
7313
7341
|
!canReuseWebglCanvasForStationaryMotion &&
|
|
7314
7342
|
renderDebugFlags.enableThemeAnimation !== false &&
|
|
7315
7343
|
isLocalSnapGridOnlyTheme(this) !== true &&
|
|
@@ -7348,6 +7376,8 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7348
7376
|
} else {
|
|
7349
7377
|
if (shouldFreezeWebglCanvasForStationaryZoom === true) {
|
|
7350
7378
|
markWebglSurfaceFrozenForZoom(this, 'uaStationaryVisualMotion');
|
|
7379
|
+
} else if (this.isZooming === true) {
|
|
7380
|
+
deferWebglBootstrapForCameraMotion(this, 'uaStationaryVisualMotion');
|
|
7351
7381
|
} else {
|
|
7352
7382
|
this._clearWebglCanvasCameraTransform();
|
|
7353
7383
|
this.renderer.render(this.scene, this.camera);
|
|
@@ -7367,7 +7397,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7367
7397
|
if (this._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
|
|
7368
7398
|
this._syncMotionGridLayerForCameraNavigation(usedWebglCanvasCameraTransformStationary);
|
|
7369
7399
|
}
|
|
7370
|
-
this
|
|
7400
|
+
syncLocalSnapGridForCameraNavigation(this, true);
|
|
7371
7401
|
if (this.cssRenderer && typeof this.cssRenderer.renderCamera === 'function') {
|
|
7372
7402
|
renderCss3dCameraForCameraNavigation(this, 'ua-stationary-visual-motion');
|
|
7373
7403
|
}
|
|
@@ -7504,7 +7534,8 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7504
7534
|
if (canReuseWebglCanvasForResidentMotion === true) {
|
|
7505
7535
|
deferContinuousThemeForCameraMotion(this);
|
|
7506
7536
|
}
|
|
7507
|
-
if (
|
|
7537
|
+
if (this.isZooming !== true &&
|
|
7538
|
+
shouldFreezeWebglCanvasForResidentZoom !== true &&
|
|
7508
7539
|
!canReuseWebglCanvasForResidentMotion &&
|
|
7509
7540
|
renderDebugFlags.enableThemeAnimation !== false &&
|
|
7510
7541
|
isLocalSnapGridOnlyTheme(this) !== true &&
|
|
@@ -7542,6 +7573,8 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7542
7573
|
} else {
|
|
7543
7574
|
if (shouldFreezeWebglCanvasForResidentZoom === true) {
|
|
7544
7575
|
markWebglSurfaceFrozenForZoom(this, 'uaResidentVisualOnlyMotion');
|
|
7576
|
+
} else if (this.isZooming === true) {
|
|
7577
|
+
deferWebglBootstrapForCameraMotion(this, 'uaResidentVisualOnlyMotion');
|
|
7545
7578
|
} else {
|
|
7546
7579
|
this._clearWebglCanvasCameraTransform();
|
|
7547
7580
|
this.renderer.render(this.scene, this.camera);
|
|
@@ -7560,7 +7593,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7560
7593
|
}
|
|
7561
7594
|
}
|
|
7562
7595
|
|
|
7563
|
-
this
|
|
7596
|
+
syncLocalSnapGridForCameraNavigation(this, true);
|
|
7564
7597
|
if (shouldRenderCss3dInLodForUaResidentCameraOnly === true) {
|
|
7565
7598
|
renderCss3dCameraForCameraNavigation(this, 'ua-resident-visual-only-motion');
|
|
7566
7599
|
}
|
|
@@ -7736,6 +7769,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7736
7769
|
|
|
7737
7770
|
const shouldSampleWebglDuringCameraMotion =
|
|
7738
7771
|
renderDebugFlags.sampleWebglDuringCameraMotion === true &&
|
|
7772
|
+
this.isZooming !== true &&
|
|
7739
7773
|
(this.frameCount % CAMERA_MOTION_WEBGL_FRAME_INTERVAL) === 0;
|
|
7740
7774
|
const shouldFreezeWebglCanvasForEarlyZoom =
|
|
7741
7775
|
shouldFreezeWebglSurfaceForZoom(this) === true;
|
|
@@ -7776,6 +7810,8 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7776
7810
|
webglCanvasCameraTransform: true,
|
|
7777
7811
|
uaEarlyCameraOnly: true
|
|
7778
7812
|
};
|
|
7813
|
+
} else if (this.isZooming === true) {
|
|
7814
|
+
deferWebglBootstrapForCameraMotion(this, 'uaEarlyCameraOnly');
|
|
7779
7815
|
} else if (this.renderer && this.scene && this.camera) {
|
|
7780
7816
|
let hiddenEarlyCameraMotionThemeObject = null;
|
|
7781
7817
|
this._clearWebglCanvasCameraTransform();
|
|
@@ -8522,6 +8558,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
8522
8558
|
// ----------------------------------------------------------------
|
|
8523
8559
|
const shouldSampleWebglDuringCameraMotion =
|
|
8524
8560
|
renderDebugFlags.sampleWebglDuringCameraMotion === true &&
|
|
8561
|
+
this.isZooming !== true &&
|
|
8525
8562
|
(this.frameCount % CAMERA_MOTION_WEBGL_FRAME_INTERVAL) === 0;
|
|
8526
8563
|
if (isCameraNavigationOnlyInteractiveFrame === true ||
|
|
8527
8564
|
this.isPanning === true ||
|
|
@@ -8646,6 +8683,12 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
8646
8683
|
} else {
|
|
8647
8684
|
if (shouldFreezeWebglSurfaceForZoom(this) === true) {
|
|
8648
8685
|
markWebglSurfaceFrozenForZoom(this, 'normalWebglRender');
|
|
8686
|
+
} else if (this.isZooming === true &&
|
|
8687
|
+
isCameraNavigationOnlyInteractiveFrame === true &&
|
|
8688
|
+
shouldUpdate !== true &&
|
|
8689
|
+
themeAnimatedThisFrame !== true &&
|
|
8690
|
+
shouldFinalizeWebglCanvasCameraTransform !== true) {
|
|
8691
|
+
deferWebglBootstrapForCameraMotion(this, 'normalZoomCameraMotion');
|
|
8649
8692
|
} else {
|
|
8650
8693
|
this._clearWebglCanvasCameraTransform();
|
|
8651
8694
|
if (shouldHideBackgroundThemeDuringCameraNavigation) {
|
|
@@ -8707,11 +8750,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
8707
8750
|
this._localSnapGridLayer?.isConnected &&
|
|
8708
8751
|
this._lastLocalSnapGridKey
|
|
8709
8752
|
);
|
|
8710
|
-
|
|
8711
|
-
this._syncLocalSnapGridPositionOnly(true);
|
|
8712
|
-
} else {
|
|
8713
|
-
this._syncLocalSnapGridLayer(true);
|
|
8714
|
-
}
|
|
8753
|
+
syncLocalSnapGridForCameraNavigation(this, shouldUseLocalSnapGridPositionOnly === true);
|
|
8715
8754
|
if (shouldRenderWebglFrame === true &&
|
|
8716
8755
|
this._motionGridVisible === true &&
|
|
8717
8756
|
isPureCss3dCameraMotionFrame !== true &&
|
|
@@ -1462,7 +1462,13 @@ window.MindMapInteractions = (function () {
|
|
|
1462
1462
|
function setPointerFromClientPosition(module, clientX, clientY) {
|
|
1463
1463
|
if (!module?.pointer) return false;
|
|
1464
1464
|
|
|
1465
|
-
const
|
|
1465
|
+
const shouldUpdateLocalSnapGridPointer = !!(
|
|
1466
|
+
module._isLocalSnapGridThemeEnabled?.() === true ||
|
|
1467
|
+
module._localSnapGridVisible === true ||
|
|
1468
|
+
module._localSnapGridLayer?.isConnected === true
|
|
1469
|
+
);
|
|
1470
|
+
const localSnapGridMoved = shouldUpdateLocalSnapGridPointer === true &&
|
|
1471
|
+
module.setLocalSnapGridClientPoint?.(clientX, clientY) === true;
|
|
1466
1472
|
if (localSnapGridMoved && module._isLocalSnapGridThemeEnabled?.() === true) {
|
|
1467
1473
|
if (module.isZooming === true) {
|
|
1468
1474
|
module._localSnapGridPointerWakeDeferredForZoom = true;
|
|
@@ -6358,7 +6364,11 @@ window.MindMapInteractions = (function () {
|
|
|
6358
6364
|
return;
|
|
6359
6365
|
}
|
|
6360
6366
|
// ▲▲▲ [Fix] ▲▲▲
|
|
6361
|
-
module.
|
|
6367
|
+
if (module._isLocalSnapGridThemeEnabled?.() === true ||
|
|
6368
|
+
module._localSnapGridVisible === true ||
|
|
6369
|
+
module._localSnapGridLayer?.isConnected === true) {
|
|
6370
|
+
module.setLocalSnapGridClientPoint?.(clientX, clientY);
|
|
6371
|
+
}
|
|
6362
6372
|
|
|
6363
6373
|
let t0 = 0;
|
|
6364
6374
|
let cameraZ = '?';
|
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-v729" />
|
|
11
|
+
<link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260620-css3d-flat-wheel-v729" />
|
|
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-v729';
|
|
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": "6L8fWX1q",
|
|
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-cjhRYpmu58HR+N45I0bWwSy3lIbqe+Mw7yC9ULFf4H0=",
|
|
82
82
|
"url": "_content/MindExecution.Shared/js/mind-map-core.js"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"url": "_content/MindExecution.Shared/js/mind-map-glow-shader.js"
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
|
-
"hash": "sha256-
|
|
109
|
+
"hash": "sha256-Fm0Y3C3H0pz9NZ0DGC1N+RlukwP3Sc3Wf+Hkir4F/og=",
|
|
110
110
|
"url": "_content/MindExecution.Shared/js/mind-map-interactions.js"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
@@ -834,7 +834,7 @@
|
|
|
834
834
|
"url": "image-manifest.json"
|
|
835
835
|
},
|
|
836
836
|
{
|
|
837
|
-
"hash": "sha256-
|
|
837
|
+
"hash": "sha256-LGqxxx236TFsCt+hXEb0FqBxoMIFDas+knxlvHjllJ8=",
|
|
838
838
|
"url": "index.html"
|
|
839
839
|
},
|
|
840
840
|
{
|