@mindexec/cli 0.2.419 → 0.2.420

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.419",
3
+ "version": "0.2.420",
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 = '20260628-google-oauth-pkce-v853';
8
+ const MINDMAP_CORE_BUILD_ID = '20260629-wheel-zoom-visibility-v854';
9
9
  const CanvasPhase = Object.freeze({
10
10
  Booting: 'booting',
11
11
  BoardFileLoading: 'board-file-loading',
@@ -95,6 +95,7 @@
95
95
  const VISIBILITY_CULLING_PAN_HEAVY_FRAME_INTERVAL = 10;
96
96
  const VISIBILITY_CULLING_ZOOM_HEAVY_FRAME_INTERVAL = 10;
97
97
  const FULL_RES_VISIBILITY_CULLING_PAN_FRAME_INTERVAL = 10;
98
+ const FULL_RES_VISIBILITY_CULLING_ZOOM_FRAME_INTERVAL = 10;
98
99
  const FULL_RES_VISIBILITY_EXIT_MARGIN_SCALE = 1.8;
99
100
  const CAMERA_MOTION_GRID_HIDE_DELAY_MS = 90;
100
101
  const CAMERA_MOTION_GRID_MIN_STEP_PX = 3;
@@ -6289,6 +6290,10 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6289
6290
  this.isPanning === true &&
6290
6291
  wasPanningLastFrame !== true &&
6291
6292
  this.isZooming !== true;
6293
+ const fullResZoomStartedThisFrame =
6294
+ isFullResMode === true &&
6295
+ this.isZooming === true &&
6296
+ wasZoomingLastFrame !== true;
6292
6297
  const shouldThrottleFullResVisibilityCullingDuringPan =
6293
6298
  isFullResMode === true &&
6294
6299
  isVisibilityCullingEnabled &&
@@ -6300,17 +6305,34 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6300
6305
  !hasNonCameraNavigationForcedUpdate &&
6301
6306
  !hasPendingNearCssWarmup &&
6302
6307
  !this.isWindowResizing;
6308
+ const shouldThrottleFullResVisibilityCullingDuringZoom =
6309
+ isFullResMode === true &&
6310
+ isVisibilityCullingEnabled &&
6311
+ this.isZooming === true &&
6312
+ !shouldFreezeVisibilityDuringMotion &&
6313
+ !shouldFreezeFullResDuringMotion &&
6314
+ !isNodeInteracting &&
6315
+ !hasNonCameraNavigationForcedUpdate &&
6316
+ !hasPendingNearCssWarmup &&
6317
+ !this.isWindowResizing;
6303
6318
  const shouldSkipFullResVisibilityCullingForMotionFreeze =
6304
6319
  isFullResMode === true &&
6305
6320
  shouldFreezeFullResDuringMotion === true &&
6306
- fullResPanStartedThisFrame !== true;
6321
+ fullResPanStartedThisFrame !== true &&
6322
+ fullResZoomStartedThisFrame !== true;
6307
6323
  const shouldRunFullResVisibilityCullingThisFrame =
6308
6324
  shouldSkipFullResVisibilityCullingForMotionFreeze !== true &&
6309
6325
  (
6310
- !shouldThrottleFullResVisibilityCullingDuringPan ||
6326
+ (!shouldThrottleFullResVisibilityCullingDuringPan &&
6327
+ !shouldThrottleFullResVisibilityCullingDuringZoom) ||
6311
6328
  fullResPanStartedThisFrame ||
6312
- FULL_RES_VISIBILITY_CULLING_PAN_FRAME_INTERVAL <= 1 ||
6313
- (this.frameCount % FULL_RES_VISIBILITY_CULLING_PAN_FRAME_INTERVAL) === 0
6329
+ fullResZoomStartedThisFrame ||
6330
+ (shouldThrottleFullResVisibilityCullingDuringPan &&
6331
+ (FULL_RES_VISIBILITY_CULLING_PAN_FRAME_INTERVAL <= 1 ||
6332
+ (this.frameCount % FULL_RES_VISIBILITY_CULLING_PAN_FRAME_INTERVAL) === 0)) ||
6333
+ (shouldThrottleFullResVisibilityCullingDuringZoom &&
6334
+ (FULL_RES_VISIBILITY_CULLING_ZOOM_FRAME_INTERVAL <= 1 ||
6335
+ (this.frameCount % FULL_RES_VISIBILITY_CULLING_ZOOM_FRAME_INTERVAL) === 0))
6314
6336
  );
6315
6337
  const shouldRunVisibilityCullingThisFrame =
6316
6338
  isFullResMode === true
@@ -6389,6 +6411,16 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
6389
6411
  this._fullResVisibilityReconcilePending = true;
6390
6412
  this._lastVisibilityCullingSkipReason = visibilityCullingSkipReason;
6391
6413
  this._preserveVisibleSetThisFrame = true;
6414
+ } else if (isFullResMode === true &&
6415
+ isVisibilityCullingEnabled === true &&
6416
+ shouldRunFullResVisibilityCullingThisFrame !== true &&
6417
+ shouldFreezeVisibilityDuringMotion !== true) {
6418
+ visibilityCullingSkipReason = shouldThrottleFullResVisibilityCullingDuringZoom
6419
+ ? 'fullres-zoom-visibility-throttle'
6420
+ : 'fullres-pan-visibility-throttle';
6421
+ this._fullResVisibilityReconcilePending = true;
6422
+ this._lastVisibilityCullingSkipReason = visibilityCullingSkipReason;
6423
+ this._preserveVisibleSetThisFrame = true;
6392
6424
  }
6393
6425
  // ?�▲??[Perf] ?�▲?? _profileSection('pipelineVisibilityPlan');
6394
6426
  const shouldUseInteractiveDpr =
@@ -5,7 +5,7 @@ window.MindMapInteractions = (function () {
5
5
  const MOTION_DOM_FANOUT_DELAY_MS = 180;
6
6
  const MOTION_DOM_FANOUT_ENABLED = false;
7
7
  const MOTION_WILL_CHANGE_ENABLE_DELAY_MS = 240;
8
- const WHEEL_ZOOM_TARGET_UPDATE_MODE = 'event-direct';
8
+ const WHEEL_ZOOM_TARGET_UPDATE_MODE = 'raf-coalesced-direct';
9
9
  const PRIMARY_CLICK_DELAY_MS = 280;
10
10
  const BACKGROUND_PRIMARY_CLICK_DELAY_MS = 320;
11
11
  const eventHandlers = new WeakMap();
@@ -579,7 +579,7 @@
579
579
  }
580
580
 
581
581
  const base = '_content/MindExecution.Shared/js/';
582
- const scriptVersion = '20260628-google-oauth-pkce-v853';
582
+ const scriptVersion = '20260629-wheel-zoom-visibility-v854';
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": "V+w5yktL",
2
+ "version": "RmQr/JkA",
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-jSAGVrf4ozvjP+Aq6C78+TctFHmOCdW9CvQzWHMipGc=",
81
+ "hash": "sha256-Ftz81/kfYoUDfDiVEpTIW2nUzTzLn8Mnk64bdZ/v36E=",
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-67E59SHX1KKYfGw/oN7OuZpYhklWT02DJ4PivVP/BeM=",
109
+ "hash": "sha256-y74nQ/F+1hw4X2DRen7ZinLYutmoXXQbutQLGHnvi2o=",
110
110
  "url": "_content/MindExecution.Shared/js/mind-map-interactions.js"
111
111
  },
112
112
  {
@@ -826,7 +826,7 @@
826
826
  "url": "icon-512.png"
827
827
  },
828
828
  {
829
- "hash": "sha256-0A9+1rtEIXzrj709gnMiqe9M+e9NKzQ5spRGPKjsN1g=",
829
+ "hash": "sha256-+V+Q7oUCAdugMul36QESNyu21inYe2gzRdH6N92tpIQ=",
830
830
  "url": "index.html"
831
831
  },
832
832
  {
@@ -1,4 +1,4 @@
1
- /* Manifest version: V+w5yktL */
1
+ /* Manifest version: RmQr/JkA */
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