@mindexec/cli 0.2.112 → 0.2.114

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.112",
3
+ "version": "0.2.114",
4
4
  "description": "MindExec local runtime and bridge CLI",
5
5
  "main": "server.js",
6
6
  "type": "module",
package/server.js CHANGED
@@ -3136,7 +3136,6 @@ async function startRemoteAgentConnection(options = {}) {
3136
3136
 
3137
3137
  const activeConnectionKeys = new Set(managers.map(manager => createRemoteAgentConnectionKey(manager, leaseId)));
3138
3138
  if (isRemoteAgentProcessRunning()
3139
- && remoteAgentState.ready === true
3140
3139
  && activeConnectionKeys.has(remoteAgentState.connectionKey)) {
3141
3140
  return { ok: true, alreadyRunning: true, agent: serializeRemoteAgentState() };
3142
3141
  }
@@ -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 = '20260616-remote-live-img-preload-v570';
8
+ const MINDMAP_CORE_BUILD_ID = '20260616-remote-agent-sticky-overlay-frames-v571';
9
9
  const CanvasPhase = Object.freeze({
10
10
  Booting: 'booting',
11
11
  BoardFileLoading: 'board-file-loading',
@@ -14381,35 +14381,61 @@
14381
14381
  return queueRemoteFleetFramePaint(preview, frame);
14382
14382
  }
14383
14383
 
14384
+ function getRemoteFleetFramePatchTargets(bodyView) {
14385
+ const targets = [];
14386
+ const addTarget = target => {
14387
+ if (target && document.body.contains(target) && !targets.includes(target)) {
14388
+ targets.push(target);
14389
+ }
14390
+ };
14391
+
14392
+ addTarget(bodyView);
14393
+ const nodeId = String(bodyView?.dataset?.nodeId || '').trim();
14394
+ if (nodeId) {
14395
+ document.querySelectorAll('.map-node-remote-fleet__body[data-node-id]').forEach(candidate => {
14396
+ if (String(candidate.dataset.nodeId || '').trim() === nodeId) {
14397
+ addTarget(candidate);
14398
+ }
14399
+ });
14400
+ }
14401
+
14402
+ return targets;
14403
+ }
14404
+
14384
14405
  function applyRemoteFleetFramePatches(bodyView, patches) {
14385
14406
  if (!bodyView || !Array.isArray(patches) || patches.length === 0) {
14386
14407
  return 0;
14387
14408
  }
14388
14409
 
14410
+ const targets = getRemoteFleetFramePatchTargets(bodyView);
14389
14411
  let applied = 0;
14390
14412
  patches.forEach(frame => {
14391
14413
  const deviceId = String(frame?.deviceId || '').trim();
14392
14414
  if (!deviceId) return;
14415
+ const frameKind = String(frame.kind || '').toLowerCase();
14416
+
14417
+ targets.forEach(target => {
14418
+ target.querySelectorAll('[data-remote-fleet-device-preview][data-device-id]').forEach(preview => {
14419
+ if (String(preview.dataset.deviceId || '').trim() !== deviceId) return;
14420
+ const currentKind = String(preview.dataset.remoteFleetFrameKind || '').toLowerCase();
14421
+ if (currentKind === 'live' && frameKind !== 'live') return;
14422
+ if (applyRemoteFleetFramePatchToPreview(preview, frame)) {
14423
+ applied += 1;
14424
+ }
14425
+ });
14393
14426
 
14394
- bodyView.querySelectorAll('[data-remote-fleet-device-preview][data-device-id]').forEach(preview => {
14395
- if (String(preview.dataset.deviceId || '').trim() !== deviceId) return;
14396
- const currentKind = String(preview.dataset.remoteFleetFrameKind || '').toLowerCase();
14397
- if (currentKind === 'live' && frame.kind !== 'live') return;
14398
- if (applyRemoteFleetFramePatchToPreview(preview, frame)) {
14399
- applied += 1;
14400
- }
14401
- });
14402
-
14403
- bodyView.querySelectorAll(`article[data-device-id]`).forEach(card => {
14404
- if (String(card.dataset.deviceId || '').trim() === deviceId && frame.kind) {
14405
- card.dataset.remoteFleetHasFrame = 'true';
14406
- }
14427
+ target.querySelectorAll(`article[data-device-id]`).forEach(card => {
14428
+ if (String(card.dataset.deviceId || '').trim() === deviceId && frame.kind) {
14429
+ card.dataset.remoteFleetHasFrame = 'true';
14430
+ }
14431
+ });
14407
14432
  });
14408
14433
  });
14409
14434
 
14410
14435
  if (applied > 0) {
14411
14436
  window.RuntimeTrace?.emit?.('remote.frame.uiQueued', {
14412
- count: applied
14437
+ count: applied,
14438
+ targets: targets.length
14413
14439
  });
14414
14440
  }
14415
14441
 
@@ -16495,6 +16521,16 @@
16495
16521
  error: error?.message || String(error || '')
16496
16522
  });
16497
16523
  }
16524
+
16525
+ try {
16526
+ await refreshRemoteFleetVisibleLiveFrames();
16527
+ } catch (error) {
16528
+ window.RuntimeTrace?.emit?.('remote.live.initialFrameFailed', {
16529
+ nodeId,
16530
+ started,
16531
+ error: error?.message || String(error || '')
16532
+ });
16533
+ }
16498
16534
  }
16499
16535
 
16500
16536
  return lastResult || { success: started > 0, started };
@@ -16519,7 +16555,10 @@
16519
16555
  return result;
16520
16556
  };
16521
16557
  const refreshRemoteFleetVisibleLiveFrames = async () => {
16522
- const deviceIds = getVisibleLiveFrameDeviceIds();
16558
+ let deviceIds = getVisibleLiveFrameDeviceIds();
16559
+ if (deviceIds.length === 0) {
16560
+ deviceIds = getVisibleFrameDeviceIds();
16561
+ }
16523
16562
  if (deviceIds.length === 0) {
16524
16563
  return null;
16525
16564
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "mainAssemblyName": "MindExecution.Web",
3
3
  "resources": {
4
- "hash": "sha256-bvM7vg7AblT/seEKoL+4Phy9dck9BgqkamjNDnfDpwg=",
4
+ "hash": "sha256-8Fvmr2gwPca8frlDucd8gkb1BGymLVRCbTINI76yI5s=",
5
5
  "fingerprinting": {
6
6
  "Google.Protobuf.9h59ukbel7.dll": "Google.Protobuf.dll",
7
7
  "Markdig.d1j7v41cl1.dll": "Markdig.dll",
@@ -132,7 +132,7 @@
132
132
  "MindExecution.Plugins.PlanMaster.yfeqppy3kf.dll": "MindExecution.Plugins.PlanMaster.dll",
133
133
  "MindExecution.Plugins.YouTube.vzjd4jwanl.dll": "MindExecution.Plugins.YouTube.dll",
134
134
  "MindExecution.Shared.6xjhkrpfwd.dll": "MindExecution.Shared.dll",
135
- "MindExecution.Web.eo8m63n3u0.dll": "MindExecution.Web.dll",
135
+ "MindExecution.Web.03g8r8265y.dll": "MindExecution.Web.dll",
136
136
  "dotnet.js": "dotnet.js",
137
137
  "dotnet.native.qc8g39g30v.js": "dotnet.native.js",
138
138
  "dotnet.native.boem75ye5i.wasm": "dotnet.native.wasm",
@@ -283,7 +283,7 @@
283
283
  "MindExecution.Plugins.Concept.e1j4pkp0uf.dll": "sha256-nq1Uv/H+JSyGBzGym6AKbVMSa53sktNACog3+JqITI4=",
284
284
  "MindExecution.Plugins.PlanMaster.yfeqppy3kf.dll": "sha256-YpcXMAmctAWAbfzFrfcYmk3sOo7j8hZGGKsrv4VgqUs=",
285
285
  "MindExecution.Shared.6xjhkrpfwd.dll": "sha256-5lCRRlgeky/uSmxPrO5acuFLOjfRphWQwSyVY5E1Tq8=",
286
- "MindExecution.Web.eo8m63n3u0.dll": "sha256-kkgzLA1bgfPC2NiwMUdDwfXy+BCl672u6ZTZiqhY/qc="
286
+ "MindExecution.Web.03g8r8265y.dll": "sha256-lEHwMVSR1YHsNoejZYt53SRBrYrN/4Ak7dqMqNEnXrg="
287
287
  },
288
288
  "lazyAssembly": {
289
289
  "MindExecution.Plugins.Admin.gxzwlji1cf.dll": "sha256-5D5B2ZuUMj46zBMgH2dRA7CbQf++uukMPrEliFLuZWs=",
@@ -7,8 +7,8 @@
7
7
  <title>MindExec | Run your ideas as AI task graphs</title>
8
8
  <meta name="description" content="MindExec is an AI execution canvas for solo builders, researchers, developers, and creators. Start with free browser tools, then move serious work into saved MindCanvas projects." />
9
9
  <base href="/" />
10
- <link rel="stylesheet" href="_content/MindExecution.Shared/css/app.css?v=20260616-remote-live-img-preload-v570" />
11
- <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260616-remote-live-img-preload-v570" />
10
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/app.css?v=20260616-remote-agent-sticky-overlay-frames-v571" />
11
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260616-remote-agent-sticky-overlay-frames-v571" />
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 = '20260616-remote-live-img-preload-v570';
582
+ const scriptVersion = '20260616-remote-agent-sticky-overlay-frames-v571';
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": "xXFM+YC6",
2
+ "version": "WOO5ml3v",
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-nVQzxZ7EE6TbmugAy2X9Wy3RXenA7EAtfQYmceKyAeY=",
81
+ "hash": "sha256-UtXpHLTnYeP2BPz7IAicclCMMdLjzYd29I+u5rMi270=",
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-u989dTMrJLCKW1Xnft/fCFSx288cqjSVohBi8jhuvZs=",
89
+ "hash": "sha256-itUEN+HfFS2lC/aHq02RNF70gDWhggsJok0F3uOLHT0=",
90
90
  "url": "_content/MindExecution.Shared/js/mind-map-css3d-manager.js"
91
91
  },
92
92
  {
@@ -446,8 +446,8 @@
446
446
  "url": "_framework/MindExecution.Shared.6xjhkrpfwd.dll"
447
447
  },
448
448
  {
449
- "hash": "sha256-kkgzLA1bgfPC2NiwMUdDwfXy+BCl672u6ZTZiqhY/qc=",
450
- "url": "_framework/MindExecution.Web.eo8m63n3u0.dll"
449
+ "hash": "sha256-lEHwMVSR1YHsNoejZYt53SRBrYrN/4Ak7dqMqNEnXrg=",
450
+ "url": "_framework/MindExecution.Web.03g8r8265y.dll"
451
451
  },
452
452
  {
453
453
  "hash": "sha256-IsZJ91/OW+fHzNqIgEc7Y072ns8z9dGritiSyvR9Wgc=",
@@ -770,7 +770,7 @@
770
770
  "url": "_framework/Websocket.Client.vapounvmnl.dll"
771
771
  },
772
772
  {
773
- "hash": "sha256-BonMttrGCHvOz6hIMPLexN5XuSfRwKz3bAhpBPwosIQ=",
773
+ "hash": "sha256-pATnlidoWPOV2BpRonMlb3bDjtALaA8sXI+DiPFY4/0=",
774
774
  "url": "_framework/blazor.boot.json"
775
775
  },
776
776
  {
@@ -834,7 +834,7 @@
834
834
  "url": "image-manifest.json"
835
835
  },
836
836
  {
837
- "hash": "sha256-ihPB4Vhq6CXrTD2TzgIc+CiL+St4Om3bQAAHhqtWuqU=",
837
+ "hash": "sha256-fojDZj+Dr+k8SI1esa0xdrCRBfXVHxr+cLNb3bvD7t8=",
838
838
  "url": "index.html"
839
839
  },
840
840
  {
@@ -1,4 +1,4 @@
1
- /* Manifest version: xXFM+YC6 */
1
+ /* Manifest version: WOO5ml3v */
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