@mindexec/cli 0.2.72 → 0.2.73

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.72",
3
+ "version": "0.2.73",
4
4
  "description": "MindExec local runtime and bridge CLI",
5
5
  "main": "server.js",
6
6
  "type": "module",
@@ -793,17 +793,7 @@ try {
793
793
  assert.equal(bodyView.textContent.includes('Host: Active'), false);
794
794
  assert.equal(nodeShell.querySelector('[data-remote-fleet-host-indicator="true"]')?.dataset.remoteFleetHostActive, 'true');
795
795
  assert.equal(nodeShell.querySelector('[data-remote-fleet-action="set-host"]')?.textContent, 'Set Host');
796
- const stopHostButton = nodeShell.querySelector('[data-remote-fleet-action="stop-host"]');
797
- assert.ok(stopHostButton);
798
- const stopHostStart = dotNetCalls.length;
799
- stopHostButton.dispatchEvent({ type: 'click' });
800
- await wait();
801
- const stopHostCall = dotNetCalls
802
- .slice(stopHostStart)
803
- .find(call => call.methodName === 'SetRemoteFleetHostFromJs');
804
- assert.ok(stopHostCall);
805
- assert.equal(stopHostCall.args[0], 'remote-fleet-render-smoke');
806
- assert.equal(stopHostCall.args[1], false);
796
+ assert.equal(nodeShell.querySelector('[data-remote-fleet-action="stop-host"]'), null);
807
797
  hub.setHostTarget({
808
798
  nodeId: 'remote-fleet-render-smoke',
809
799
  enabled: false
@@ -12735,7 +12735,7 @@
12735
12735
  return button;
12736
12736
  }
12737
12737
 
12738
- function attachRemoteFleetTitleActions(bodyView, hostButton, stopHostButton, hostState) {
12738
+ function attachRemoteFleetTitleActions(bodyView, hostButton, hostState) {
12739
12739
  const container = bodyView?.closest?.('.map-node-remote-fleet');
12740
12740
  const header = container?.querySelector?.('.template-card__header')
12741
12741
  || container?.querySelector?.('.map-node-memo__header')
@@ -12771,9 +12771,6 @@
12771
12771
 
12772
12772
  titleActions.appendChild(indicator);
12773
12773
  titleActions.appendChild(hostButton);
12774
- if (stopHostButton) {
12775
- titleActions.appendChild(stopHostButton);
12776
- }
12777
12774
 
12778
12775
  if (header) {
12779
12776
  header.style.gridTemplateColumns = header.classList?.contains?.('template-card__header')
@@ -15011,15 +15008,7 @@
15011
15008
  hostButton.style.borderColor = isHostingTarget ? 'rgba(37, 99, 235, 0.44)' : 'rgba(37, 99, 235, 0.32)';
15012
15009
  hostButton.style.background = isHostingTarget ? 'rgba(239, 246, 255, 0.98)' : '#ffffff';
15013
15010
  hostButton.style.color = '#1d4ed8';
15014
- let stopHostButton = null;
15015
- if (isHostingTarget) {
15016
- stopHostButton = createRemoteFleetButton('Stop', 'Stop using this monitor as the host target.', 'stop-host');
15017
- stopHostButton.style.height = '30px';
15018
- stopHostButton.style.borderColor = 'rgba(239, 68, 68, 0.30)';
15019
- stopHostButton.style.color = '#b91c1c';
15020
- stopHostButton.style.background = 'rgba(254, 242, 242, 0.94)';
15021
- }
15022
- attachRemoteFleetTitleActions(bodyView, hostButton, stopHostButton, hostTargetState);
15011
+ attachRemoteFleetTitleActions(bodyView, hostButton, hostTargetState);
15023
15012
 
15024
15013
  const statusRail = createRemoteFleetStatusRail([
15025
15014
  {
@@ -16274,7 +16263,7 @@
16274
16263
  control.addEventListener(eventName, event => event.stopPropagation());
16275
16264
  });
16276
16265
  });
16277
- [hostButton, stopHostButton].forEach(control => {
16266
+ [hostButton].forEach(control => {
16278
16267
  if (!control) return;
16279
16268
  ['mousedown', 'mouseup', 'click', 'dblclick', 'keydown'].forEach(eventName => {
16280
16269
  control.addEventListener(eventName, event => event.stopPropagation());
@@ -16384,7 +16373,7 @@
16384
16373
  const setRemoteFleetHostTarget = async (enabled, options = {}) => {
16385
16374
  const quiet = options?.quiet === true;
16386
16375
  const renew = options?.renew === true || quiet;
16387
- const activeButton = enabled ? hostButton : stopHostButton;
16376
+ const activeButton = enabled ? hostButton : null;
16388
16377
  if (!quiet && activeButton) {
16389
16378
  activeButton.disabled = true;
16390
16379
  }
@@ -16434,14 +16423,6 @@
16434
16423
  await setRemoteFleetHostTarget(true);
16435
16424
  });
16436
16425
 
16437
- if (stopHostButton) {
16438
- stopHostButton.addEventListener('click', async event => {
16439
- event.preventDefault();
16440
- event.stopPropagation();
16441
- await setRemoteFleetHostTarget(false);
16442
- });
16443
- }
16444
-
16445
16426
  bodyView.querySelectorAll('[data-remote-fleet-action="pin-device"]').forEach(button => {
16446
16427
  button.addEventListener('click', async event => {
16447
16428
  event.preventDefault();
@@ -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=20260614-remote-monitor-selection-v527" />
11
- <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260614-remote-monitor-selection-v527" />
10
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/app.css?v=20260614-remote-monitor-no-stop-v528" />
11
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260614-remote-monitor-no-stop-v528" />
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 = '20260614-remote-monitor-selection-v527';
582
+ const scriptVersion = '20260614-remote-monitor-no-stop-v528';
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": "2Z4LSqbS",
2
+ "version": "d4LRzdfE",
3
3
  "assets": [
4
4
  {
5
5
  "hash": "sha256-+CSYMcqLNTsq3VnH11jgYyOCCdxvHzL74CBmo4sCmMU=",
@@ -86,7 +86,7 @@
86
86
  "url": "_content/MindExecution.Shared/js/mind-map-core.js.backup"
87
87
  },
88
88
  {
89
- "hash": "sha256-ITFlIgAsq32TTITY+WwaAhQNq4JSQg6EPr8ZeyYbI+A=",
89
+ "hash": "sha256-DjKISYGUi+3HQOa9MQJYjRG1GbKw9oubNALH0YjyDzU=",
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-p6etmqWjxJ5G7ogEIiXjjgKIu8t4hAJGYYSvtWyJuGk=",
837
+ "hash": "sha256-0kYKq5leJEhEiWAGy8flD4R+Ip+L1HNwLTpiz9XKKbc=",
838
838
  "url": "index.html"
839
839
  },
840
840
  {
@@ -1,4 +1,4 @@
1
- /* Manifest version: 2Z4LSqbS */
1
+ /* Manifest version: d4LRzdfE */
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