@mindexec/cli 0.2.480 → 0.2.481

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.
Files changed (20) hide show
  1. package/electron/main.cjs +11 -1
  2. package/electron/source-smoke.mjs +8 -1
  3. package/electron/windows-package-smoke.mjs +2 -0
  4. package/package.json +1 -1
  5. package/remote-fast/osx-arm64/mindexec-remote-fast.dll +0 -0
  6. package/remote-fast/osx-x64/mindexec-remote-fast.dll +0 -0
  7. package/remote-fast/win-x64/mindexec-remote-fast.dll +0 -0
  8. package/wwwroot/_framework/{MindExecution.Core.gnj3fo0pr7.dll → MindExecution.Core.2r5s0vx16i.dll} +0 -0
  9. package/wwwroot/_framework/{MindExecution.Kernel.1qygzf8o02.dll → MindExecution.Kernel.8y4azlvjyi.dll} +0 -0
  10. package/wwwroot/_framework/{MindExecution.Plugins.Admin.n3uxh144wo.dll → MindExecution.Plugins.Admin.dtzk93cn6n.dll} +0 -0
  11. package/wwwroot/_framework/{MindExecution.Plugins.Business.vl5dximn25.dll → MindExecution.Plugins.Business.uyqiv67u0q.dll} +0 -0
  12. package/wwwroot/_framework/{MindExecution.Plugins.Concept.rutru9qeoi.dll → MindExecution.Plugins.Concept.5w50lskzj6.dll} +0 -0
  13. package/wwwroot/_framework/{MindExecution.Plugins.Directory.fqbmq85het.dll → MindExecution.Plugins.Directory.a8isl4htud.dll} +0 -0
  14. package/wwwroot/_framework/{MindExecution.Plugins.PlanMaster.ko11cc9pll.dll → MindExecution.Plugins.PlanMaster.imbm6hfih7.dll} +0 -0
  15. package/wwwroot/_framework/{MindExecution.Plugins.YouTube.mt39q0to2j.dll → MindExecution.Plugins.YouTube.ua03os14kk.dll} +0 -0
  16. package/wwwroot/_framework/{MindExecution.Shared.umgls362or.dll → MindExecution.Shared.yxk1a55sjz.dll} +0 -0
  17. package/wwwroot/_framework/{MindExecution.Web.1dwoarj2hg.dll → MindExecution.Web.9bmh8f8s3k.dll} +0 -0
  18. package/wwwroot/_framework/blazor.boot.json +21 -21
  19. package/wwwroot/service-worker-assets.js +22 -22
  20. package/wwwroot/service-worker.js +1 -1
package/electron/main.cjs CHANGED
@@ -304,6 +304,10 @@ function initializeProductUpdates() {
304
304
  });
305
305
  }
306
306
 
307
+ function getDesktopWindowTitle() {
308
+ return `MindExec ${app.getVersion()}`;
309
+ }
310
+
307
311
  function createMainWindow() {
308
312
  const hiddenSmokeMode = process.env.MINDEXEC_DESKTOP_SMOKE === '1';
309
313
  const window = new BrowserWindow({
@@ -314,7 +318,7 @@ function createMainWindow() {
314
318
  show: !hiddenSmokeMode,
315
319
  autoHideMenuBar: true,
316
320
  backgroundColor: '#f8fafc',
317
- title: 'MindExec',
321
+ title: getDesktopWindowTitle(),
318
322
  icon: resolveDesktopIconPath(),
319
323
  webPreferences: {
320
324
  preload: path.join(__dirname, 'preload.cjs'),
@@ -325,6 +329,11 @@ function createMainWindow() {
325
329
  }
326
330
  });
327
331
 
332
+ window.on('page-title-updated', (event) => {
333
+ event.preventDefault();
334
+ window.setTitle(getDesktopWindowTitle());
335
+ });
336
+
328
337
  window.webContents.setWindowOpenHandler(() => ({
329
338
  action: 'allow',
330
339
  overrideBrowserWindowOptions: {
@@ -446,6 +455,7 @@ async function launchDesktop() {
446
455
  appVersion: app.getVersion(),
447
456
  bridgeVersion: status.version || null,
448
457
  runtimeMode: 'bundled',
458
+ windowTitle: window.getTitle(),
449
459
  bridgePort: activeBridgePort,
450
460
  remoteHubPort: activeRemoteHubPort,
451
461
  workspace: activeWorkspace,
@@ -15,7 +15,14 @@ const serverSource = fs.readFileSync(path.join(packageRoot, 'server.js'), 'utf8'
15
15
 
16
16
  assert.equal(packageJson.build?.appId, 'com.mindexec.desktop', 'Stable desktop appId is required.');
17
17
  assert.equal(packageJson.build?.productName, 'MindExec', 'Desktop product name changed unexpectedly.');
18
- assert.match(mainSource, /title:\s*'MindExec'/, 'The Electron window title must use the MindExec app brand.');
18
+ assert.match(mainSource, /function getDesktopWindowTitle\(\)/,
19
+ 'The Electron window title must derive from one version-aware helper.');
20
+ assert.match(mainSource, /`MindExec \$\{app\.getVersion\(\)\}`/,
21
+ 'The Electron window title must show the packaged app version.');
22
+ assert.match(mainSource, /title:\s*getDesktopWindowTitle\(\)/,
23
+ 'The initial Electron window title must use the version-aware title.');
24
+ assert.match(mainSource, /page-title-updated[\s\S]{0,220}preventDefault\(\)[\s\S]{0,220}setTitle\(getDesktopWindowTitle\(\)\)/,
25
+ 'Blazor page titles must not replace the version-aware desktop title.');
19
26
  assert.equal(packageJson.build?.extraMetadata?.main, 'electron/main.cjs', 'Packaged Electron entry point is missing.');
20
27
  assert.equal(packageJson.build?.asar, false, 'Bundled runtime executables require an unpacked app directory.');
21
28
  assert.ok(packageJson.files?.includes('electron/'), 'The npm package must include the Electron source contract.');
@@ -126,6 +126,8 @@ try {
126
126
  assert.equal(result.appVersion, packageJson.version, 'Electron app version does not match the npm package version.');
127
127
  assert.equal(result.bridgeVersion, packageJson.version, 'Bundled LocalBridge version does not match Electron.');
128
128
  assert.equal(result.runtimeMode, 'bundled', 'Electron did not use its bundled runtime.');
129
+ assert.equal(result.windowTitle, `MindExec ${packageJson.version}`,
130
+ 'Packaged Electron did not keep the version visible in the title bar.');
129
131
  assert.equal(result.bridgePort, bridgePort, 'Packaged shell did not use the requested Bridge port.');
130
132
  assert.equal(result.remoteHubPort, remoteHubPort, 'Packaged shell did not use the requested RemoteHub port.');
131
133
  assert.equal(path.resolve(result.workspace), path.resolve(workspace), 'Packaged Electron did not restore the saved workspace.');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindexec/cli",
3
- "version": "0.2.480",
3
+ "version": "0.2.481",
4
4
  "description": "MindExec local runtime and bridge CLI",
5
5
  "main": "server.js",
6
6
  "type": "module",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "mainAssemblyName": "MindExecution.Web",
3
3
  "resources": {
4
- "hash": "sha256-jT43NukKzDoxPR0xiGKnPjhtM25bVYBByoVgcizn6mE=",
4
+ "hash": "sha256-mXWbB+r0wD5ixhld4+MKtYH4yPbQ7mRkmT7v8rgb2+E=",
5
5
  "fingerprinting": {
6
6
  "Google.Protobuf.9h59ukbel7.dll": "Google.Protobuf.dll",
7
7
  "Markdig.d1j7v41cl1.dll": "Markdig.dll",
@@ -122,16 +122,16 @@
122
122
  "System.brmz7yk5qh.dll": "System.dll",
123
123
  "netstandard.b50t77veor.dll": "netstandard.dll",
124
124
  "System.Private.CoreLib.wflwsce1yq.dll": "System.Private.CoreLib.dll",
125
- "MindExecution.Core.gnj3fo0pr7.dll": "MindExecution.Core.dll",
126
- "MindExecution.Kernel.1qygzf8o02.dll": "MindExecution.Kernel.dll",
127
- "MindExecution.Plugins.Admin.n3uxh144wo.dll": "MindExecution.Plugins.Admin.dll",
128
- "MindExecution.Plugins.Business.vl5dximn25.dll": "MindExecution.Plugins.Business.dll",
129
- "MindExecution.Plugins.Concept.rutru9qeoi.dll": "MindExecution.Plugins.Concept.dll",
130
- "MindExecution.Plugins.Directory.fqbmq85het.dll": "MindExecution.Plugins.Directory.dll",
131
- "MindExecution.Plugins.PlanMaster.ko11cc9pll.dll": "MindExecution.Plugins.PlanMaster.dll",
132
- "MindExecution.Plugins.YouTube.mt39q0to2j.dll": "MindExecution.Plugins.YouTube.dll",
133
- "MindExecution.Shared.umgls362or.dll": "MindExecution.Shared.dll",
134
- "MindExecution.Web.1dwoarj2hg.dll": "MindExecution.Web.dll",
125
+ "MindExecution.Core.2r5s0vx16i.dll": "MindExecution.Core.dll",
126
+ "MindExecution.Kernel.8y4azlvjyi.dll": "MindExecution.Kernel.dll",
127
+ "MindExecution.Plugins.Admin.dtzk93cn6n.dll": "MindExecution.Plugins.Admin.dll",
128
+ "MindExecution.Plugins.Business.uyqiv67u0q.dll": "MindExecution.Plugins.Business.dll",
129
+ "MindExecution.Plugins.Concept.5w50lskzj6.dll": "MindExecution.Plugins.Concept.dll",
130
+ "MindExecution.Plugins.Directory.a8isl4htud.dll": "MindExecution.Plugins.Directory.dll",
131
+ "MindExecution.Plugins.PlanMaster.imbm6hfih7.dll": "MindExecution.Plugins.PlanMaster.dll",
132
+ "MindExecution.Plugins.YouTube.ua03os14kk.dll": "MindExecution.Plugins.YouTube.dll",
133
+ "MindExecution.Shared.yxk1a55sjz.dll": "MindExecution.Shared.dll",
134
+ "MindExecution.Web.9bmh8f8s3k.dll": "MindExecution.Web.dll",
135
135
  "dotnet.native.566r55w3xu.js": "dotnet.native.js",
136
136
  "dotnet.native.x6q5aixc38.wasm": "dotnet.native.wasm",
137
137
  "dotnet.js": "dotnet.js",
@@ -276,18 +276,18 @@
276
276
  "System.Xml.XDocument.sn51jas17n.dll": "sha256-GNI2kFgFmPTwzuzwUn8gxK+AzGLUWRJFdg9JzIbrybQ=",
277
277
  "System.brmz7yk5qh.dll": "sha256-CfM2miyj1KHApFmqMdLYWio3S/jrdON2pW9Xr2nTwlo=",
278
278
  "netstandard.b50t77veor.dll": "sha256-//jQGOXjb8ET8WtXgOJrAxLx6E7zDJ5RjRRutwkvmxo=",
279
- "MindExecution.Core.gnj3fo0pr7.dll": "sha256-PJWd6kWngV5ePF8lxsb40O0lfO2YodlKC3EJ0k8mpQk=",
280
- "MindExecution.Kernel.1qygzf8o02.dll": "sha256-N818Vn+nKC7+a8YwYy15b9JomNxC4biKSktO4Oj/z/Q=",
281
- "MindExecution.Plugins.Business.vl5dximn25.dll": "sha256-o8YvDTE40NViW+DLVdSSE9z1VHEI3swdFp7tVSba6e8=",
282
- "MindExecution.Plugins.Concept.rutru9qeoi.dll": "sha256-45HTazw8VflosL3GP1CmV/SMftV6I38C3AKvlqbraDQ=",
283
- "MindExecution.Plugins.PlanMaster.ko11cc9pll.dll": "sha256-PDWnqf6LQECXx9n9dizUP7NrCUxQJZF4QKFvEV5+GrM=",
284
- "MindExecution.Shared.umgls362or.dll": "sha256-ilA4JsOjKGWl4LEcTNpZJessvEhE7qrdgqiaeh7wUWU=",
285
- "MindExecution.Web.1dwoarj2hg.dll": "sha256-1f+8amDPhJ8WeAGfC1YyLLAGzNAdegx1MNs+g3z0Mrc="
279
+ "MindExecution.Core.2r5s0vx16i.dll": "sha256-Hji7EvwLtfgPOiDYgH4DHXZibPhbdWcYiGPG4NjYCWg=",
280
+ "MindExecution.Kernel.8y4azlvjyi.dll": "sha256-cKFcW5yNWguo2InCvgpimy5t/MhGZ2f5zITqvF99lvg=",
281
+ "MindExecution.Plugins.Business.uyqiv67u0q.dll": "sha256-BqDkv3XHSL10h0Lda9sJCj4NVrhijSowakl9dgGKCzk=",
282
+ "MindExecution.Plugins.Concept.5w50lskzj6.dll": "sha256-1UKv7Dxs0goKcQOkSsYBdhbE7Vp5Oy4YpqvXOtzEMHM=",
283
+ "MindExecution.Plugins.PlanMaster.imbm6hfih7.dll": "sha256-pgGCEAp8dmn511srw7KD/2fctoAJgnHAzcvGWbhoWG4=",
284
+ "MindExecution.Shared.yxk1a55sjz.dll": "sha256-Ru7/Qulj+40HqtPdqDs5O6dNvshmQ6JngyipwN4/dcs=",
285
+ "MindExecution.Web.9bmh8f8s3k.dll": "sha256-Na9Tbn6PRhJ3L72qs5aIn+/ahlhtzZIxWc7r8G/vAtk="
286
286
  },
287
287
  "lazyAssembly": {
288
- "MindExecution.Plugins.Admin.n3uxh144wo.dll": "sha256-o6sbCeok9vUsq2sBF5BOyXX7Cu1bU+VqmVgdp6QeKUA=",
289
- "MindExecution.Plugins.Directory.fqbmq85het.dll": "sha256-GRERnRnH2uqlPlZRgPGq32Kh/fXEV8AfxUcIzqrk658=",
290
- "MindExecution.Plugins.YouTube.mt39q0to2j.dll": "sha256-Zlq2mr9Ovi3zfKlt0Yyk4YAsOAOtXWNv2CJnHR0+YN4="
288
+ "MindExecution.Plugins.Admin.dtzk93cn6n.dll": "sha256-UQfkrWbcBYN30pXQ3RWIZqQwygXIvaBBqc/H6hqiTyE=",
289
+ "MindExecution.Plugins.Directory.a8isl4htud.dll": "sha256-tp9XZ/Nxysn/xuTsD8lsKyJt++V8GjSkjsXm++ZxhVk=",
290
+ "MindExecution.Plugins.YouTube.ua03os14kk.dll": "sha256-Rjxv6t01L71frLHXiB3nNEeuVc9CK7OOYtF8UwUyhSI="
291
291
  }
292
292
  },
293
293
  "cacheBootResources": true,
@@ -1,5 +1,5 @@
1
1
  self.assetsManifest = {
2
- "version": "PGNukwfc",
2
+ "version": "TXjYyM9d",
3
3
  "assets": [
4
4
  {
5
5
  "hash": "sha256-+CSYMcqLNTsq3VnH11jgYyOCCdxvHzL74CBmo4sCmMU=",
@@ -446,44 +446,44 @@ self.assetsManifest = {
446
446
  "url": "_framework/MimeMapping.og9ys58ylm.dll"
447
447
  },
448
448
  {
449
- "hash": "sha256-PJWd6kWngV5ePF8lxsb40O0lfO2YodlKC3EJ0k8mpQk=",
450
- "url": "_framework/MindExecution.Core.gnj3fo0pr7.dll"
449
+ "hash": "sha256-Hji7EvwLtfgPOiDYgH4DHXZibPhbdWcYiGPG4NjYCWg=",
450
+ "url": "_framework/MindExecution.Core.2r5s0vx16i.dll"
451
451
  },
452
452
  {
453
- "hash": "sha256-N818Vn+nKC7+a8YwYy15b9JomNxC4biKSktO4Oj/z/Q=",
454
- "url": "_framework/MindExecution.Kernel.1qygzf8o02.dll"
453
+ "hash": "sha256-cKFcW5yNWguo2InCvgpimy5t/MhGZ2f5zITqvF99lvg=",
454
+ "url": "_framework/MindExecution.Kernel.8y4azlvjyi.dll"
455
455
  },
456
456
  {
457
- "hash": "sha256-o6sbCeok9vUsq2sBF5BOyXX7Cu1bU+VqmVgdp6QeKUA=",
458
- "url": "_framework/MindExecution.Plugins.Admin.n3uxh144wo.dll"
457
+ "hash": "sha256-UQfkrWbcBYN30pXQ3RWIZqQwygXIvaBBqc/H6hqiTyE=",
458
+ "url": "_framework/MindExecution.Plugins.Admin.dtzk93cn6n.dll"
459
459
  },
460
460
  {
461
- "hash": "sha256-o8YvDTE40NViW+DLVdSSE9z1VHEI3swdFp7tVSba6e8=",
462
- "url": "_framework/MindExecution.Plugins.Business.vl5dximn25.dll"
461
+ "hash": "sha256-BqDkv3XHSL10h0Lda9sJCj4NVrhijSowakl9dgGKCzk=",
462
+ "url": "_framework/MindExecution.Plugins.Business.uyqiv67u0q.dll"
463
463
  },
464
464
  {
465
- "hash": "sha256-45HTazw8VflosL3GP1CmV/SMftV6I38C3AKvlqbraDQ=",
466
- "url": "_framework/MindExecution.Plugins.Concept.rutru9qeoi.dll"
465
+ "hash": "sha256-1UKv7Dxs0goKcQOkSsYBdhbE7Vp5Oy4YpqvXOtzEMHM=",
466
+ "url": "_framework/MindExecution.Plugins.Concept.5w50lskzj6.dll"
467
467
  },
468
468
  {
469
- "hash": "sha256-GRERnRnH2uqlPlZRgPGq32Kh/fXEV8AfxUcIzqrk658=",
470
- "url": "_framework/MindExecution.Plugins.Directory.fqbmq85het.dll"
469
+ "hash": "sha256-tp9XZ/Nxysn/xuTsD8lsKyJt++V8GjSkjsXm++ZxhVk=",
470
+ "url": "_framework/MindExecution.Plugins.Directory.a8isl4htud.dll"
471
471
  },
472
472
  {
473
- "hash": "sha256-PDWnqf6LQECXx9n9dizUP7NrCUxQJZF4QKFvEV5+GrM=",
474
- "url": "_framework/MindExecution.Plugins.PlanMaster.ko11cc9pll.dll"
473
+ "hash": "sha256-pgGCEAp8dmn511srw7KD/2fctoAJgnHAzcvGWbhoWG4=",
474
+ "url": "_framework/MindExecution.Plugins.PlanMaster.imbm6hfih7.dll"
475
475
  },
476
476
  {
477
- "hash": "sha256-Zlq2mr9Ovi3zfKlt0Yyk4YAsOAOtXWNv2CJnHR0+YN4=",
478
- "url": "_framework/MindExecution.Plugins.YouTube.mt39q0to2j.dll"
477
+ "hash": "sha256-Rjxv6t01L71frLHXiB3nNEeuVc9CK7OOYtF8UwUyhSI=",
478
+ "url": "_framework/MindExecution.Plugins.YouTube.ua03os14kk.dll"
479
479
  },
480
480
  {
481
- "hash": "sha256-ilA4JsOjKGWl4LEcTNpZJessvEhE7qrdgqiaeh7wUWU=",
482
- "url": "_framework/MindExecution.Shared.umgls362or.dll"
481
+ "hash": "sha256-Ru7/Qulj+40HqtPdqDs5O6dNvshmQ6JngyipwN4/dcs=",
482
+ "url": "_framework/MindExecution.Shared.yxk1a55sjz.dll"
483
483
  },
484
484
  {
485
- "hash": "sha256-1f+8amDPhJ8WeAGfC1YyLLAGzNAdegx1MNs+g3z0Mrc=",
486
- "url": "_framework/MindExecution.Web.1dwoarj2hg.dll"
485
+ "hash": "sha256-Na9Tbn6PRhJ3L72qs5aIn+/ahlhtzZIxWc7r8G/vAtk=",
486
+ "url": "_framework/MindExecution.Web.9bmh8f8s3k.dll"
487
487
  },
488
488
  {
489
489
  "hash": "sha256-IsZJ91/OW+fHzNqIgEc7Y072ns8z9dGritiSyvR9Wgc=",
@@ -802,7 +802,7 @@ self.assetsManifest = {
802
802
  "url": "_framework/Websocket.Client.vapounvmnl.dll"
803
803
  },
804
804
  {
805
- "hash": "sha256-NjZb6e2bY9Xxv1DCI8Jd7uu4z96vjBBux8Cd1jo95JA=",
805
+ "hash": "sha256-WvsgoQTqkn6gicUIMbadHK3hWH9MBshwEhAMOUntDlA=",
806
806
  "url": "_framework/blazor.boot.json"
807
807
  },
808
808
  {
@@ -1,4 +1,4 @@
1
- /* Manifest version: PGNukwfc */
1
+ /* Manifest version: TXjYyM9d */
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