@mindexec/cli 0.2.108 → 0.2.109

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.108",
3
+ "version": "0.2.109",
4
4
  "description": "MindExec local runtime and bridge CLI",
5
5
  "main": "server.js",
6
6
  "type": "module",
@@ -796,6 +796,9 @@ try {
796
796
  assert.ok(setHostCall);
797
797
  assert.equal(setHostCall.args[0], 'remote-fleet-render-smoke');
798
798
  assert.equal(setHostCall.args[1], true);
799
+ const hostFeedback = bodyView.querySelector('[data-remote-fleet-task-feedback="true"]');
800
+ assert.equal(hostFeedback?.style.display, 'none');
801
+ assert.equal(hostFeedback?.textContent, '');
799
802
 
800
803
  hub.setHostTarget({
801
804
  nodeId: 'remote-fleet-render-smoke',
@@ -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-mdm-simple-monitor-border-v567';
8
+ const MINDMAP_CORE_BUILD_ID = '20260616-mdm-host-feedback-hidden-v568';
9
9
  const CanvasPhase = Object.freeze({
10
10
  Booting: 'booting',
11
11
  BoardFileLoading: 'board-file-loading',
@@ -13145,45 +13145,11 @@
13145
13145
  };
13146
13146
  }
13147
13147
 
13148
- function getRemoteFleetResultRegistryStatus(result) {
13149
- return String(result?.registryStatus ?? result?.RegistryStatus ?? '').trim().toLowerCase();
13150
- }
13151
-
13152
- function getRemoteFleetResultRegistryReason(result) {
13153
- return String(result?.registryReason ?? result?.RegistryReason ?? result?.error ?? result?.Error ?? '').trim();
13154
- }
13155
-
13156
13148
  function isRemoteFleetRegistryMigrationReason(reason) {
13157
13149
  return /registry-table-unavailable|PGRST20[25]|remote_host_targets|set_remote_host_target|clear_remote_host_target/i
13158
13150
  .test(String(reason || ''));
13159
13151
  }
13160
13152
 
13161
- function getRemoteFleetHostFeedbackText(enabled, result) {
13162
- if (enabled !== true) {
13163
- return 'Host target stopped.';
13164
- }
13165
-
13166
- const status = getRemoteFleetResultRegistryStatus(result);
13167
- const reason = getRemoteFleetResultRegistryReason(result);
13168
- if (status === 'account') {
13169
- return 'Host target set.';
13170
- }
13171
-
13172
- if (status === 'local') {
13173
- return 'Host set locally. Account route pending.';
13174
- }
13175
-
13176
- if (status === 'blocked') {
13177
- if (isRemoteFleetRegistryMigrationReason(reason)) {
13178
- return 'Host set locally. Account route needs setup.';
13179
- }
13180
-
13181
- return 'Host route blocked.';
13182
- }
13183
-
13184
- return 'Host target set.';
13185
- }
13186
-
13187
13153
  function createRemoteFleetButton(label, title, action) {
13188
13154
  const button = document.createElement('button');
13189
13155
  button.type = 'button';
@@ -16777,9 +16743,6 @@
16777
16743
  activeButton.disabled = true;
16778
16744
  }
16779
16745
 
16780
- if (!quiet) {
16781
- setTaskFeedback(enabled ? 'Setting host target...' : 'Stopping host target...');
16782
- }
16783
16746
  try {
16784
16747
  const result = await invokeDotNetAsync('SetRemoteFleetHostFromJs', nodeId, enabled === true, renew === true);
16785
16748
  window.RuntimeTrace?.emit?.('remote.hostTarget.result', {
@@ -16804,7 +16767,7 @@
16804
16767
  stopRemoteFleetHostLeaseTimer(nodeId);
16805
16768
  }
16806
16769
  if (isRemoteFleetResultSuccess(result)) {
16807
- setTaskFeedback(getRemoteFleetHostFeedbackText(enabled, result), 'success');
16770
+ setTaskFeedback('');
16808
16771
  } else {
16809
16772
  setTaskFeedback(result?.error || result?.Error || 'Host target update failed.', 'error');
16810
16773
  }
@@ -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-mdm-simple-monitor-border-v567" />
11
- <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260616-mdm-simple-monitor-border-v567" />
10
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/app.css?v=20260616-mdm-host-feedback-hidden-v568" />
11
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260616-mdm-host-feedback-hidden-v568" />
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-mdm-simple-monitor-border-v567';
582
+ const scriptVersion = '20260616-mdm-host-feedback-hidden-v568';
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": "lm4IaYy/",
2
+ "version": "jNuNaLgh",
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-xoC/V6bym09C2/PSsXrMNa7JA6xWQTFq5RNRA+nojVs=",
81
+ "hash": "sha256-ob+BxinSzTsfU3sdt2hwn0eM8o3+BREF5TOv7dhc4iY=",
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-3PsDD8j+YZE2SU7MQscT9DHl+zbP9r2NCCW6p8DzvOA=",
89
+ "hash": "sha256-/o9b8Gda8DwgDGaq9RBwBXb8C8uSvhppHN1cNPpUwO0=",
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-dsplZ/RaSr9+idAqCQA85yTQKyHFVw9MkMndOJpXrAQ=",
837
+ "hash": "sha256-KRqSnu89eeP7M2si+TB94dARTN4vTM73icumlqupLKE=",
838
838
  "url": "index.html"
839
839
  },
840
840
  {
@@ -1,4 +1,4 @@
1
- /* Manifest version: lm4IaYy/ */
1
+ /* Manifest version: jNuNaLgh */
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