@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 +1 -1
- package/scripts/remote-fleet-render-smoke.mjs +3 -0
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-core.js +1 -1
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-css3d-manager.js +1 -38
- package/wwwroot/index.html +3 -3
- package/wwwroot/service-worker-assets.js +4 -4
- package/wwwroot/service-worker.js +1 -1
package/package.json
CHANGED
|
@@ -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-
|
|
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(
|
|
16770
|
+
setTaskFeedback('');
|
|
16808
16771
|
} else {
|
|
16809
16772
|
setTaskFeedback(result?.error || result?.Error || 'Host target update failed.', 'error');
|
|
16810
16773
|
}
|
package/wwwroot/index.html
CHANGED
|
@@ -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-
|
|
11
|
-
<link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260616-mdm-
|
|
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-
|
|
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": "
|
|
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-
|
|
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
|
|
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-
|
|
837
|
+
"hash": "sha256-KRqSnu89eeP7M2si+TB94dARTN4vTM73icumlqupLKE=",
|
|
838
838
|
"url": "index.html"
|
|
839
839
|
},
|
|
840
840
|
{
|