@mindexec/cli 0.2.264 → 0.2.266
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
|
@@ -217,9 +217,6 @@
|
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
function createAdaptiveXYGridOverlay(colorValue, options = {}) {
|
|
220
|
-
const overlayGroup = new THREE.Group();
|
|
221
|
-
const color = resolveThemeGridColor(colorValue, THEME_GRID_COLOR);
|
|
222
|
-
const tmp = new THREE.Vector3();
|
|
223
220
|
const settings = {
|
|
224
221
|
fineDistance: 45000,
|
|
225
222
|
coarseDistance: 120000,
|
|
@@ -234,14 +231,15 @@
|
|
|
234
231
|
};
|
|
235
232
|
|
|
236
233
|
if (settings.localCssOnly === true) {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
overlayGroup.animate = () => { };
|
|
242
|
-
return setThemeAnimationMode(overlayGroup, THEME_ANIMATION_MODE.None);
|
|
234
|
+
return createLocalSnapGridTheme(null, {
|
|
235
|
+
themeAlias: settings.themeAlias || 'AdaptiveLocalSnapGrid',
|
|
236
|
+
localSnapGridStyle: settings.localSnapGridStyle || 'line'
|
|
237
|
+
});
|
|
243
238
|
}
|
|
244
239
|
|
|
240
|
+
const overlayGroup = new THREE.Group();
|
|
241
|
+
const color = resolveThemeGridColor(colorValue, THEME_GRID_COLOR);
|
|
242
|
+
const tmp = new THREE.Vector3();
|
|
245
243
|
const grids = [
|
|
246
244
|
{
|
|
247
245
|
key: 'fine',
|
|
@@ -296,6 +294,21 @@
|
|
|
296
294
|
return setThemeAnimationMode(overlayGroup, THEME_ANIMATION_MODE.Camera);
|
|
297
295
|
}
|
|
298
296
|
|
|
297
|
+
function createLocalSnapGridTheme(scene, options = {}) {
|
|
298
|
+
const themeGroup = new THREE.Group();
|
|
299
|
+
themeGroup.visible = false;
|
|
300
|
+
themeGroup.userData.lightweightAdaptiveGrid = true;
|
|
301
|
+
themeGroup.userData.localSnapGrid = true;
|
|
302
|
+
themeGroup.userData.localSnapGridStyle = options.localSnapGridStyle || 'line';
|
|
303
|
+
themeGroup.userData.localSnapGridRadiusPx = 500;
|
|
304
|
+
themeGroup.userData.themeAlias = options.themeAlias || 'LocalSnapGrid';
|
|
305
|
+
themeGroup.animate = () => { };
|
|
306
|
+
if (scene && options.backgroundColor !== undefined) {
|
|
307
|
+
scene.background = new THREE.Color(options.backgroundColor);
|
|
308
|
+
}
|
|
309
|
+
return setThemeAnimationMode(themeGroup, THEME_ANIMATION_MODE.None);
|
|
310
|
+
}
|
|
311
|
+
|
|
299
312
|
// --- Theme definitions ---
|
|
300
313
|
const themes = {
|
|
301
314
|
// Theme 1: SpatialGrid (3D dots + '+' markers)
|
|
@@ -330,37 +343,23 @@
|
|
|
330
343
|
// Theme 2: SpatialGrid2D (lightweight adaptive grid on the XY plane)
|
|
331
344
|
'SpatialGrid2D': {
|
|
332
345
|
create: (scene) => {
|
|
333
|
-
scene
|
|
334
|
-
|
|
335
|
-
localCssOnly: true,
|
|
346
|
+
return createLocalSnapGridTheme(scene, {
|
|
347
|
+
themeAlias: 'SpatialGrid2D',
|
|
336
348
|
localSnapGridStyle: 'dot',
|
|
337
|
-
|
|
338
|
-
coarseDistance: 120000,
|
|
339
|
-
farDistance: 320000,
|
|
340
|
-
fineSmallOpacity: 0.36,
|
|
341
|
-
fineLargeOpacity: 0.24,
|
|
342
|
-
coarseSmallOpacity: 0.3,
|
|
343
|
-
coarseLargeOpacity: 0.2,
|
|
344
|
-
farSmallOpacity: 0.24,
|
|
345
|
-
farLargeOpacity: 0.14
|
|
349
|
+
backgroundColor: THEME_SURFACE_BG
|
|
346
350
|
});
|
|
347
|
-
grid.userData.themeAlias = 'SpatialGrid2D';
|
|
348
|
-
grid.userData.lightweightAdaptiveGrid = true;
|
|
349
|
-
return grid;
|
|
350
351
|
},
|
|
351
352
|
dispose: (themeObject) => { disposeThemeObject(themeObject); }
|
|
352
353
|
},
|
|
353
|
-
|
|
354
|
+
|
|
354
355
|
// Theme 3: GridPlane (basic 2D grid - rendered by the local CSS snap grid)
|
|
355
356
|
'GridPlane': {
|
|
356
357
|
create: (scene) => {
|
|
357
|
-
scene
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
358
|
+
return createLocalSnapGridTheme(scene, {
|
|
359
|
+
themeAlias: 'GridPlane',
|
|
360
|
+
localSnapGridStyle: 'line',
|
|
361
|
+
backgroundColor: THEME_PLAIN_BG
|
|
361
362
|
});
|
|
362
|
-
grid.userData.themeAlias = 'GridPlane';
|
|
363
|
-
return grid;
|
|
364
363
|
},
|
|
365
364
|
dispose: (themeObject) => { disposeThemeObject(themeObject); }
|
|
366
365
|
},
|
|
@@ -485,22 +484,13 @@
|
|
|
485
484
|
}
|
|
486
485
|
},
|
|
487
486
|
|
|
488
|
-
// Theme 6: XYGrid (distance-based auto LOD grid)
|
|
487
|
+
// Theme 6: XYGrid (distance-based auto LOD grid)
|
|
489
488
|
'XYGrid': {
|
|
490
489
|
create: (scene) => {
|
|
491
|
-
scene
|
|
492
|
-
|
|
493
|
-
localCssOnly: true,
|
|
490
|
+
return createLocalSnapGridTheme(scene, {
|
|
491
|
+
themeAlias: 'XYGrid',
|
|
494
492
|
localSnapGridStyle: 'line',
|
|
495
|
-
|
|
496
|
-
coarseDistance: 120000,
|
|
497
|
-
farDistance: 320000,
|
|
498
|
-
fineSmallOpacity: 0.4,
|
|
499
|
-
fineLargeOpacity: 0.25,
|
|
500
|
-
coarseSmallOpacity: 0.34,
|
|
501
|
-
coarseLargeOpacity: 0.22,
|
|
502
|
-
farSmallOpacity: 0.26,
|
|
503
|
-
farLargeOpacity: 0.16
|
|
493
|
+
backgroundColor: THEME_PLAIN_BG
|
|
504
494
|
});
|
|
505
495
|
},
|
|
506
496
|
dispose: (themeObject) => { disposeThemeObject(themeObject); }
|
|
@@ -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-v714';
|
|
9
9
|
const CanvasPhase = Object.freeze({
|
|
10
10
|
Booting: 'booting',
|
|
11
11
|
BoardFileLoading: 'board-file-loading',
|
|
@@ -612,6 +612,7 @@
|
|
|
612
612
|
|
|
613
613
|
function syncBusinessAutomationEdgesForCameraNavigation(module, options = {}) {
|
|
614
614
|
const hasActiveEdges = module?._businessAutomationEdgeRenderActive === true;
|
|
615
|
+
const transformOnly = options.transformOnly === true;
|
|
615
616
|
if (hasActiveEdges !== true && options.allowDraftRender !== true) {
|
|
616
617
|
return false;
|
|
617
618
|
}
|
|
@@ -621,11 +622,19 @@
|
|
|
621
622
|
return false;
|
|
622
623
|
}
|
|
623
624
|
|
|
625
|
+
if (transformOnly === true && hasDraftHint === true) {
|
|
626
|
+
if (hasActiveEdges === true) {
|
|
627
|
+
module._businessAutomationEdgesDeferredForMotion = true;
|
|
628
|
+
}
|
|
629
|
+
return false;
|
|
630
|
+
}
|
|
631
|
+
|
|
624
632
|
if (!window.MindMapCss3DManager) {
|
|
625
633
|
return false;
|
|
626
634
|
}
|
|
627
635
|
|
|
628
636
|
const hasConnectionDraft =
|
|
637
|
+
transformOnly !== true &&
|
|
629
638
|
options.allowDraftRender === true &&
|
|
630
639
|
hasDraftHint === true &&
|
|
631
640
|
window.MindMapCss3DManager.hasBusinessAutomationConnectionDraft?.() === true;
|
|
@@ -650,6 +659,13 @@
|
|
|
650
659
|
return true;
|
|
651
660
|
}
|
|
652
661
|
|
|
662
|
+
if (transformOnly === true) {
|
|
663
|
+
if (hasActiveEdges === true) {
|
|
664
|
+
module._businessAutomationEdgesDeferredForMotion = true;
|
|
665
|
+
}
|
|
666
|
+
return false;
|
|
667
|
+
}
|
|
668
|
+
|
|
653
669
|
if (hasConnectionDraft === true &&
|
|
654
670
|
options.allowDraftRender === true &&
|
|
655
671
|
typeof window.MindMapCss3DManager.renderBusinessAutomationEdges === 'function') {
|
|
@@ -1736,11 +1752,13 @@
|
|
|
1736
1752
|
}
|
|
1737
1753
|
}
|
|
1738
1754
|
|
|
1739
|
-
module.
|
|
1755
|
+
if (module._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
|
|
1756
|
+
module._syncMotionGridLayerForCameraNavigation?.(usedWebglCanvasCameraTransform);
|
|
1757
|
+
}
|
|
1740
1758
|
module._syncLocalSnapGridPositionOnly?.(true);
|
|
1741
1759
|
renderCss3dCameraForCameraNavigation(module, 'ua-ultra-camera-only');
|
|
1742
1760
|
|
|
1743
|
-
syncBusinessAutomationEdgesForCameraNavigation(module);
|
|
1761
|
+
syncBusinessAutomationEdgesForCameraNavigation(module, { transformOnly: true });
|
|
1744
1762
|
|
|
1745
1763
|
profileSection?.('uaUltraEarlyCameraOnly');
|
|
1746
1764
|
|
|
@@ -1958,13 +1976,15 @@
|
|
|
1958
1976
|
}
|
|
1959
1977
|
}
|
|
1960
1978
|
|
|
1961
|
-
module.
|
|
1979
|
+
if (module._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
|
|
1980
|
+
module._syncMotionGridLayerForCameraNavigation?.(usedWebglCanvasCameraTransform);
|
|
1981
|
+
}
|
|
1962
1982
|
module._syncLocalSnapGridPositionOnly?.(true);
|
|
1963
1983
|
if (canRenderCss3dCamera === true) {
|
|
1964
1984
|
renderCss3dCameraForCameraNavigation(module, 'ua-ultra-resident-camera-only');
|
|
1965
1985
|
}
|
|
1966
1986
|
|
|
1967
|
-
syncBusinessAutomationEdgesForCameraNavigation(module);
|
|
1987
|
+
syncBusinessAutomationEdgesForCameraNavigation(module, { transformOnly: true });
|
|
1968
1988
|
|
|
1969
1989
|
profileSection?.('uaUltraResidentCameraOnly');
|
|
1970
1990
|
|
|
@@ -4458,6 +4478,10 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
4458
4478
|
}
|
|
4459
4479
|
|
|
4460
4480
|
_syncMotionGridLayerForCameraNavigation(usedWebglCanvasCameraTransform = false) {
|
|
4481
|
+
if (this._shouldTouchMotionGridLayerForCameraNavigation() !== true) {
|
|
4482
|
+
return false;
|
|
4483
|
+
}
|
|
4484
|
+
|
|
4461
4485
|
if (usedWebglCanvasCameraTransform === true ||
|
|
4462
4486
|
CAMERA_MOTION_GRID_FALLBACK_ENABLED !== true) {
|
|
4463
4487
|
if (this._motionGridVisible === true || this._motionGridLayer) {
|
|
@@ -4469,6 +4493,12 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
4469
4493
|
return this._syncMotionGridLayer(true);
|
|
4470
4494
|
}
|
|
4471
4495
|
|
|
4496
|
+
_shouldTouchMotionGridLayerForCameraNavigation() {
|
|
4497
|
+
return CAMERA_MOTION_GRID_FALLBACK_ENABLED === true ||
|
|
4498
|
+
this._motionGridVisible === true ||
|
|
4499
|
+
!!this._motionGridLayer;
|
|
4500
|
+
}
|
|
4501
|
+
|
|
4472
4502
|
_installForceUpdateWakeHook() {
|
|
4473
4503
|
if (Object.getOwnPropertyDescriptor(this, '_forceUpdateFrames')?.get) {
|
|
4474
4504
|
return;
|
|
@@ -5517,12 +5547,14 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
5517
5547
|
}
|
|
5518
5548
|
}
|
|
5519
5549
|
|
|
5520
|
-
this.
|
|
5550
|
+
if (this._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
|
|
5551
|
+
this._syncMotionGridLayerForCameraNavigation?.(usedWebglCanvasCameraTransform);
|
|
5552
|
+
}
|
|
5521
5553
|
this._syncLocalSnapGridPositionOnly?.(true);
|
|
5522
5554
|
if (canRenderCss3d === true) {
|
|
5523
5555
|
renderCss3dCameraForCameraNavigation(this, 'ua-wheel-zoom-direct');
|
|
5524
5556
|
}
|
|
5525
|
-
syncBusinessAutomationEdgesForCameraNavigation(this);
|
|
5557
|
+
syncBusinessAutomationEdgesForCameraNavigation(this, { transformOnly: true });
|
|
5526
5558
|
this.pauseAnimationLoopForDirectWheelZoom?.();
|
|
5527
5559
|
return true;
|
|
5528
5560
|
}
|
|
@@ -7007,7 +7039,9 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7007
7039
|
}
|
|
7008
7040
|
}
|
|
7009
7041
|
}
|
|
7010
|
-
this.
|
|
7042
|
+
if (this._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
|
|
7043
|
+
this._syncMotionGridLayerForCameraNavigation(usedWebglCanvasCameraTransformImmediate);
|
|
7044
|
+
}
|
|
7011
7045
|
this._syncLocalSnapGridPositionOnly(true);
|
|
7012
7046
|
|
|
7013
7047
|
renderCss3dCameraForCameraNavigation(this, 'ua-visual-only-motion');
|
|
@@ -7183,7 +7217,9 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7183
7217
|
}
|
|
7184
7218
|
}
|
|
7185
7219
|
}
|
|
7186
|
-
this.
|
|
7220
|
+
if (this._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
|
|
7221
|
+
this._syncMotionGridLayerForCameraNavigation(usedWebglCanvasCameraTransformStationary);
|
|
7222
|
+
}
|
|
7187
7223
|
this._syncLocalSnapGridPositionOnly(true);
|
|
7188
7224
|
if (this.cssRenderer && typeof this.cssRenderer.renderCamera === 'function') {
|
|
7189
7225
|
renderCss3dCameraForCameraNavigation(this, 'ua-stationary-visual-motion');
|
|
@@ -7628,7 +7664,9 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
7628
7664
|
}
|
|
7629
7665
|
}
|
|
7630
7666
|
|
|
7631
|
-
this.
|
|
7667
|
+
if (this._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
|
|
7668
|
+
this._syncMotionGridLayerForCameraNavigation(usedWebglCanvasCameraTransformEarly);
|
|
7669
|
+
}
|
|
7632
7670
|
renderCss3dCameraForCameraNavigation(this, 'ua-early-camera-only');
|
|
7633
7671
|
_profileSection('uaEarlyCameraOnly');
|
|
7634
7672
|
|
|
@@ -8509,7 +8547,9 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
8509
8547
|
}
|
|
8510
8548
|
if (shouldUseMotionGridThemeSubstitute === true &&
|
|
8511
8549
|
isCameraNavigationOnlyInteractiveFrame === true) {
|
|
8512
|
-
this.
|
|
8550
|
+
if (this._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
|
|
8551
|
+
this._syncMotionGridLayerForCameraNavigation(usedWebglCanvasCameraTransform);
|
|
8552
|
+
}
|
|
8513
8553
|
}
|
|
8514
8554
|
const shouldUseLocalSnapGridPositionOnly = !!(
|
|
8515
8555
|
isCameraNavigationOnlyInteractiveFrame === true &&
|
|
@@ -8560,7 +8600,9 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
8560
8600
|
}
|
|
8561
8601
|
_profileSection('css3dRender');
|
|
8562
8602
|
if (canUseCss3dCameraFastPath) {
|
|
8563
|
-
this.
|
|
8603
|
+
if (this._shouldTouchMotionGridLayerForCameraNavigation?.() === true) {
|
|
8604
|
+
this._syncMotionGridLayerForCameraNavigation(usedWebglCanvasCameraTransform);
|
|
8605
|
+
}
|
|
8564
8606
|
recordCameraMotionFastPathStatus(this, 'hit', 'css3d-camera-fast');
|
|
8565
8607
|
renderCss3dCameraForCameraNavigation(this, 'css3d-camera-fast');
|
|
8566
8608
|
}
|
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-v714" />
|
|
11
|
+
<link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260620-css3d-flat-wheel-v714" />
|
|
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-v714';
|
|
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": "a3DPzEOX",
|
|
3
3
|
"assets": [
|
|
4
4
|
{
|
|
5
5
|
"hash": "sha256-+CSYMcqLNTsq3VnH11jgYyOCCdxvHzL74CBmo4sCmMU=",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"url": "_content/MindExecution.Shared/js/agent-visualization.js"
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
|
-
"hash": "sha256-
|
|
61
|
+
"hash": "sha256-7nukRRerm88Ot5J1KdJMyyTHP3d+zlvaPaECTGeJZAk=",
|
|
62
62
|
"url": "_content/MindExecution.Shared/js/background-themes.js"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"url": "_content/MindExecution.Shared/js/marked.min.js"
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
|
-
"hash": "sha256-
|
|
81
|
+
"hash": "sha256-4pZaMyRaOb3TVVbVif7uhCJB3buD9FVjpRUeuOlS9Xs=",
|
|
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-KH2KTc9h4v4RyVIa88L9OqOFsr/WXRYslyp7T0obPF4=",
|
|
838
838
|
"url": "index.html"
|
|
839
839
|
},
|
|
840
840
|
{
|