@mindexec/cli 0.2.268 → 0.2.270

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.268",
3
+ "version": "0.2.270",
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 = '20260620-css3d-flat-wheel-v716';
8
+ const MINDMAP_CORE_BUILD_ID = '20260620-css3d-flat-wheel-v718';
9
9
  const CanvasPhase = Object.freeze({
10
10
  Booting: 'booting',
11
11
  BoardFileLoading: 'board-file-loading',
@@ -1327,7 +1327,7 @@
1327
1327
  module._framePathStats = stats;
1328
1328
  }
1329
1329
 
1330
- function recordCameraMotionFastPathStatus(module, status, reason, details = {}) {
1330
+ function recordCameraMotionFastPathStatus(module, status, reason, details = null) {
1331
1331
  if (!module) {
1332
1332
  return;
1333
1333
  }
@@ -1335,11 +1335,19 @@
1335
1335
  const previous = module._cameraMotionFastPathStatus || null;
1336
1336
  const normalizedStatus = String(status || '').trim() || 'unknown';
1337
1337
  const normalizedReason = String(reason || '').trim() || normalizedStatus;
1338
- const count = previous &&
1338
+ if (previous &&
1339
1339
  previous.status === normalizedStatus &&
1340
- previous.reason === normalizedReason
1341
- ? Number(previous.count || 0) + 1
1342
- : 1;
1340
+ previous.reason === normalizedReason) {
1341
+ previous.count = Number(previous.count || 0) + 1;
1342
+ if (details && module.renderDebugFlags?.enableFramePerfProbe === true) {
1343
+ previous.details = details;
1344
+ previous.updatedAt = typeof performance !== 'undefined' && typeof performance.now === 'function'
1345
+ ? performance.now()
1346
+ : Date.now();
1347
+ }
1348
+ return;
1349
+ }
1350
+
1343
1351
  const updatedAt = typeof performance !== 'undefined' && typeof performance.now === 'function'
1344
1352
  ? performance.now()
1345
1353
  : Date.now();
@@ -1347,8 +1355,8 @@
1347
1355
  module._cameraMotionFastPathStatus = {
1348
1356
  status: normalizedStatus,
1349
1357
  reason: normalizedReason,
1350
- count,
1351
- details,
1358
+ count: 1,
1359
+ details: details || null,
1352
1360
  updatedAt
1353
1361
  };
1354
1362
  }
@@ -5487,7 +5495,7 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
5487
5495
  return true;
5488
5496
  }
5489
5497
 
5490
- presentWheelZoomCameraFrame(clientX = null, clientY = null, options = {}) {
5498
+ presentWheelZoomCameraFrame(clientX = null, clientY = null, snapGridPointAlreadySet = false) {
5491
5499
  if (CAMERA_MOTION_VISUAL_ONLY_FAST_PATH_ENABLED !== true ||
5492
5500
  this.isLoading === true ||
5493
5501
  this.isSelecting === true ||
@@ -5555,15 +5563,13 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
5555
5563
  this._deferPassiveOverlayRefresh = true;
5556
5564
  }
5557
5565
 
5558
- if (options?.snapGridPointAlreadySet !== true &&
5566
+ if (snapGridPointAlreadySet !== true &&
5559
5567
  Number.isFinite(Number(clientX)) &&
5560
5568
  Number.isFinite(Number(clientY))) {
5561
5569
  this.setLocalSnapGridClientPoint?.(Number(clientX), Number(clientY));
5562
5570
  }
5563
5571
 
5564
- recordCameraMotionFastPathStatus(this, 'hit', 'ua-wheel-zoom-direct', {
5565
- coalescedWheelEvents: Number(options?.coalescedWheelEvents || 0)
5566
- });
5572
+ recordCameraMotionFastPathStatus(this, 'hit', 'ua-wheel-zoom-direct');
5567
5573
 
5568
5574
  this._cursorDomDeferredForMotion = true;
5569
5575
 
@@ -6039,8 +6039,7 @@ window.MindMapInteractions = (function () {
6039
6039
  lastClientX: 0, // 마지막 마우스 X 위치
6040
6040
  lastClientY: 0, // 마지막 마우스 Y 위치
6041
6041
  pending: false, // rAF 대기 중 여부
6042
- frameId: null, // rAF ID
6043
- eventCount: 0
6042
+ frameId: null // rAF ID
6044
6043
  });
6045
6044
  }
6046
6045
  return wheelBuffers.get(module);
@@ -6317,22 +6316,16 @@ window.MindMapInteractions = (function () {
6317
6316
  wheelBuffer.deltaY += deltaY;
6318
6317
  wheelBuffer.lastClientX = e.clientX;
6319
6318
  wheelBuffer.lastClientY = e.clientY;
6320
- wheelBuffer.eventCount = Math.min(1000, Number(wheelBuffer.eventCount || 0) + 1);
6321
-
6322
6319
  scheduleWheelZoomFrame(module, wheelBuffer, () => {
6323
6320
  const accumulatedDeltaY = Number(wheelBuffer.deltaY || 0);
6324
6321
  const clientX = wheelBuffer.lastClientX;
6325
6322
  const clientY = wheelBuffer.lastClientY;
6326
- const eventCount = Number(wheelBuffer.eventCount || 0);
6327
6323
  wheelBuffer.deltaY = 0;
6328
- wheelBuffer.eventCount = 0;
6329
6324
  if (Math.abs(accumulatedDeltaY) <= 0.001) {
6330
6325
  return;
6331
6326
  }
6332
6327
 
6333
- performCameraZoomBuffered(module, accumulatedDeltaY, clientX, clientY, {
6334
- coalescedWheelEvents: eventCount
6335
- });
6328
+ performCameraZoomBuffered(module, accumulatedDeltaY, clientX, clientY);
6336
6329
  });
6337
6330
  }
6338
6331
 
@@ -6414,11 +6407,7 @@ window.MindMapInteractions = (function () {
6414
6407
  const newY = worldMouseY - (worldMouseY - module.targetY) * zoomRatio;
6415
6408
  module.targetX = newX;
6416
6409
  module.targetY = newY;
6417
- const presentedDirectly = module.presentWheelZoomCameraFrame?.(clientX, clientY, {
6418
- reason: 'wheel-zoom-direct',
6419
- coalescedWheelEvents: Number(options.coalescedWheelEvents || 0),
6420
- snapGridPointAlreadySet: true
6421
- }) === true;
6410
+ const presentedDirectly = module.presentWheelZoomCameraFrame?.(clientX, clientY, true) === true;
6422
6411
  const settleScheduled =
6423
6412
  presentedDirectly === true &&
6424
6413
  module.requestWheelZoomDirectSettle?.() === true;
@@ -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-v716" />
11
- <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260620-css3d-flat-wheel-v716" />
10
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/app.css?v=20260620-css3d-flat-wheel-v718" />
11
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260620-css3d-flat-wheel-v718" />
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-v716';
582
+ const scriptVersion = '20260620-css3d-flat-wheel-v718';
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": "gmOk+Y7z",
2
+ "version": "voHTdObV",
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-7adaswT3I1+WzOFDuj90ryAR5a2GA8B301DE2abkCEA=",
81
+ "hash": "sha256-Rb+Mu9R4krbOB1tj8SdgdfJRke/sjRRNO76jrglDO1M=",
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-tosOpXqyXDFBnjyuaucNqryVdR3s6BdWEWUuRpeCzgM=",
109
+ "hash": "sha256-JQA4jBklYiBR+NrSTcmyMNFG396DJB04AKiwJHXVeBU=",
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-aNFeVdCPX6Gcltu4HVLXLS++OW8/uLfYj9LO2Zs8c84=",
837
+ "hash": "sha256-lkk7lvho5nx0GhK0rdueNTebMEwhgV6R2/+Hwkfksks=",
838
838
  "url": "index.html"
839
839
  },
840
840
  {
@@ -1,4 +1,4 @@
1
- /* Manifest version: gmOk+Y7z */
1
+ /* Manifest version: voHTdObV */
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