@mindexec/cli 0.2.39 → 0.2.40

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.39",
3
+ "version": "0.2.40",
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 = '20260613-template-current-canvas-v213';
8
+ const MINDMAP_CORE_BUILD_ID = '20260613-remote-monitor-gap-v214';
9
9
  const CanvasPhase = Object.freeze({
10
10
  Booting: 'booting',
11
11
  BoardFileLoading: 'board-file-loading',
@@ -3405,6 +3405,9 @@
3405
3405
  const REMOTE_FLEET_SEMANTIC_TYPE = 'RemoteFleetMonitor';
3406
3406
  const REMOTE_FLEET_DEVICE_SEMANTIC_TYPE = 'RemoteFleetDevice';
3407
3407
  const REMOTE_FLEET_CENTER_NUDGE_PX = 4;
3408
+ const REMOTE_FLEET_MONITOR_TILE_GAP_PX = 8;
3409
+ const REMOTE_FLEET_EMPTY_SCREEN_MIN_WIDTH = 132;
3410
+ const REMOTE_FLEET_EMPTY_SCREEN_MIN_HEIGHT = 72;
3408
3411
  const AUTOMATION_NODE_KIND_METADATA_KEY = 'AutomationNodeKind';
3409
3412
  const AUTOMATION_NODE_LABEL_METADATA_KEY = 'AutomationNodeLabel';
3410
3413
  const AUTOMATION_NODE_DESCRIPTION_METADATA_KEY = 'AutomationNodeDescription';
@@ -12475,8 +12478,8 @@
12475
12478
  const height = Number(nodeModel?.height ?? nodeModel?.Height ?? 620);
12476
12479
  const usableWidth = Number.isFinite(width) ? Math.max(360, width - 44) : 916;
12477
12480
  const usableHeight = Number.isFinite(height) ? Math.max(260, height - 128) : 492;
12478
- const columns = Math.max(3, Math.floor(usableWidth / 142));
12479
- const rows = Math.max(3, Math.ceil(usableHeight / 88));
12481
+ const columns = Math.max(3, Math.floor((usableWidth + REMOTE_FLEET_MONITOR_TILE_GAP_PX) / (REMOTE_FLEET_EMPTY_SCREEN_MIN_WIDTH + REMOTE_FLEET_MONITOR_TILE_GAP_PX)));
12482
+ const rows = Math.max(3, Math.ceil((usableHeight + REMOTE_FLEET_MONITOR_TILE_GAP_PX) / (REMOTE_FLEET_EMPTY_SCREEN_MIN_HEIGHT + REMOTE_FLEET_MONITOR_TILE_GAP_PX)));
12480
12483
  return Math.max(12, Math.min(80, columns * rows));
12481
12484
  }
12482
12485
 
@@ -12486,19 +12489,20 @@
12486
12489
  shell.style.cssText = `
12487
12490
  flex: 1 1 auto;
12488
12491
  min-height: 0;
12489
- overflow: hidden;
12492
+ overflow-y: auto;
12493
+ overflow-x: hidden;
12490
12494
  display: grid;
12491
- grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
12492
- grid-auto-rows: minmax(72px, auto);
12495
+ grid-template-columns: repeat(auto-fill, minmax(${REMOTE_FLEET_EMPTY_SCREEN_MIN_WIDTH}px, 1fr));
12496
+ grid-auto-rows: max-content;
12493
12497
  align-content: start;
12498
+ align-items: start;
12494
12499
  justify-content: center;
12495
12500
  justify-items: stretch;
12496
12501
  align-self: center;
12497
12502
  width: calc(100% - ${REMOTE_FLEET_CENTER_NUDGE_PX * 2}px);
12498
12503
  max-width: 100%;
12499
12504
  transform: translateX(${REMOTE_FLEET_CENTER_NUDGE_PX}px);
12500
- column-gap: 8px;
12501
- row-gap: 8px;
12505
+ gap: ${REMOTE_FLEET_MONITOR_TILE_GAP_PX}px;
12502
12506
  box-sizing: border-box;
12503
12507
  padding: 2px 4px 6px 4px;
12504
12508
  `;
@@ -12508,8 +12512,10 @@
12508
12512
  const screen = document.createElement('div');
12509
12513
  screen.dataset.remoteFleetEmptyScreen = 'true';
12510
12514
  screen.style.cssText = `
12515
+ width: 100%;
12516
+ height: auto;
12511
12517
  aspect-ratio: 16 / 9;
12512
- min-height: 72px;
12518
+ min-height: ${REMOTE_FLEET_EMPTY_SCREEN_MIN_HEIGHT}px;
12513
12519
  box-sizing: border-box;
12514
12520
  border-radius: 8px;
12515
12521
  border: 1px solid rgba(203, 213, 225, 0.72);
@@ -14287,7 +14293,7 @@
14287
14293
 
14288
14294
  const tileMinWidth = densityState === 'dense' ? 104 : 132;
14289
14295
  const tileMinHeight = densityState === 'dense' ? 66 : 84;
14290
- const tileGap = 8;
14296
+ const tileGap = REMOTE_FLEET_MONITOR_TILE_GAP_PX;
14291
14297
 
14292
14298
  const monitorWorkspace = document.createElement('div');
14293
14299
  monitorWorkspace.dataset.remoteFleetMonitorWorkspace = 'true';
@@ -14310,17 +14316,17 @@
14310
14316
  overflow-x: hidden;
14311
14317
  display: grid;
14312
14318
  grid-template-columns: repeat(auto-fill, minmax(${tileMinWidth}px, 1fr));
14313
- grid-auto-rows: minmax(${tileMinHeight}px, auto);
14319
+ grid-auto-rows: max-content;
14314
14320
  grid-auto-flow: row;
14315
14321
  align-content: start;
14322
+ align-items: start;
14316
14323
  justify-content: center;
14317
14324
  justify-items: stretch;
14318
14325
  justify-self: center;
14319
14326
  width: calc(100% - ${REMOTE_FLEET_CENTER_NUDGE_PX * 2}px);
14320
14327
  max-width: 100%;
14321
14328
  transform: translateX(${REMOTE_FLEET_CENTER_NUDGE_PX}px);
14322
- column-gap: ${tileGap}px;
14323
- row-gap: ${tileGap}px;
14329
+ gap: ${tileGap}px;
14324
14330
  box-sizing: border-box;
14325
14331
  padding: 0 4px;
14326
14332
  `;
@@ -14415,6 +14421,8 @@
14415
14421
  display: flex;
14416
14422
  align-items: stretch;
14417
14423
  min-width: 0;
14424
+ width: 100%;
14425
+ height: auto;
14418
14426
  min-height: ${tileMinHeight}px;
14419
14427
  aspect-ratio: 16 / 9;
14420
14428
  box-sizing: border-box;
@@ -558,7 +558,7 @@
558
558
  }
559
559
 
560
560
  const base = '_content/MindExecution.Shared/js/';
561
- const scriptVersion = '20260613-template-current-canvas-v507';
561
+ const scriptVersion = '20260613-remote-monitor-gap-v508';
562
562
  const scriptUrl = (script) => `${base}${script}?v=${scriptVersion}`;
563
563
  console.log(`[Script Loader] Shared JS version: ${scriptVersion}`);
564
564
  const criticalScripts = [
@@ -1,5 +1,5 @@
1
1
  self.assetsManifest = {
2
- "version": "yVKOGKeq",
2
+ "version": "P5rJ7sPB",
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-XaxBBTGHhZrW3oi5I1lPG/e1TW5seriQfInR9zw4AsI=",
81
+ "hash": "sha256-tS2NkdGFK7jWKDH5NTbXqmJ+vgtdIuHB7akcpMxvC84=",
82
82
  "url": "_content/MindExecution.Shared/js/mind-map-core.js"
83
83
  },
84
84
  {
@@ -86,7 +86,7 @@
86
86
  "url": "_content/MindExecution.Shared/js/mind-map-core.js.backup"
87
87
  },
88
88
  {
89
- "hash": "sha256-qup69YZeiW9fSkNG+pViWzQ8eT5NNxuzX7ofwnc0vvI=",
89
+ "hash": "sha256-jrzXaQSlY2BHJW062PzZuylbAEYe02+uQrMQyJt7FJA=",
90
90
  "url": "_content/MindExecution.Shared/js/mind-map-css3d-manager.js"
91
91
  },
92
92
  {
@@ -834,7 +834,7 @@
834
834
  "url": "image-manifest.json"
835
835
  },
836
836
  {
837
- "hash": "sha256-lpSXakW1b+qoRoSLyzdSZY5hQCckBnnUmCJGa5EDWdQ=",
837
+ "hash": "sha256-bjvQNTq7IFWd435tpUl5xUScla/vHBE+JHSWSDH464c=",
838
838
  "url": "index.html"
839
839
  },
840
840
  {
@@ -1,4 +1,4 @@
1
- /* Manifest version: yVKOGKeq */
1
+ /* Manifest version: P5rJ7sPB */
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