@mindexec/cli 0.2.43 → 0.2.44

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.43",
3
+ "version": "0.2.44",
4
4
  "description": "MindExec local runtime and bridge CLI",
5
5
  "main": "server.js",
6
6
  "type": "module",
@@ -18168,6 +18168,8 @@
18168
18168
  // Allow wrapper to receive clicks
18169
18169
  wrapper.style.pointerEvents = 'auto';
18170
18170
  clonedElement.style.pointerEvents = 'none'; // container itself doesn't need events
18171
+ const isMovableTemplateCard = contentTypeLower === 'templatelauncher'
18172
+ && !isRemoteFleetMonitorNode(nodeModel);
18171
18173
  // Enable pointer events for scrollable content so user can scroll/select text
18172
18174
  const scrollables = clonedElement.querySelectorAll(
18173
18175
  '.node-response, .note-content, .markdown-body, .prose, .note-textarea, textarea, [id^="node-response-"], [id^="node-textarea-"], .code-body, .text-content, .embed-content, .embed-card, .embed-card *, .embed-action, .embed-play-button, .node-prompt-copy-button, .node-prompt-copy-button *, iframe, .map-node-memo__title, .map-node-memo__body, .map-node-memo__icon-button, .map-node-memo__icon-popover, .map-node-memo__icon-option, .map-node-memo__agent-role-select, .map-node-memo__agent-role-select-button, .map-node-memo__agent-role-menu, .map-node-memo__agent-role-option, .map-node-memo__agent-action, .map-node-memo__agent-plan-panel, .map-node-memo__agent-plan-body, .map-node-memo__agent-plan-body *, .map-node-memo__agent-console-panel, .map-node-memo__agent-console-body, .map-node-memo__agent-console-resize, .map-node-memo__agent-console-resize *, .map-node-memo__agent-result-link, .map-node-template-card, .map-node-template-card *, [data-template-card-interactive="true"]'
@@ -18186,6 +18188,10 @@
18186
18188
  el.style.userSelect = 'text';
18187
18189
  el.style.webkitUserSelect = 'text';
18188
18190
  el.style.cursor = 'text';
18191
+ } else if (isMovableTemplateCard && el.matches('.map-node-template-card, .map-node-template-card *')) {
18192
+ el.style.userSelect = 'none';
18193
+ el.style.webkitUserSelect = 'none';
18194
+ el.style.cursor = 'grab';
18189
18195
  } else {
18190
18196
  el.style.userSelect = 'text';
18191
18197
  el.style.webkitUserSelect = 'text';
@@ -675,10 +675,6 @@ window.MindMapInteractions = (function () {
675
675
  return (contentType === 'text' || contentType === 'markdown') && !isAgentNode(target);
676
676
  }
677
677
 
678
- function isTemplateLauncherNode(target) {
679
- return getNodeContentType(target) === 'templatelauncher';
680
- }
681
-
682
678
  function isTemplateCardInteractiveTarget(target) {
683
679
  return !!target?.closest?.('[data-template-card-interactive="true"], .template-card__input, .template-card__textarea, .template-card__select, .template-card__option, .template-card__generate');
684
680
  }
@@ -4605,18 +4601,6 @@ window.MindMapInteractions = (function () {
4605
4601
  }
4606
4602
 
4607
4603
  function startNodeDrag(module, e, nodeId, nodeEntry, dragObject) {
4608
- if (isTemplateLauncherNode(nodeEntry)) {
4609
- e.preventDefault();
4610
- e.stopPropagation();
4611
- finalizeSingleSelection(module, nodeId, {
4612
- notifyBlazor: true,
4613
- bringToFront: true,
4614
- showMenu: true
4615
- });
4616
- module.isShiftClick = false;
4617
- return;
4618
- }
4619
-
4620
4604
  e.preventDefault();
4621
4605
  e.stopPropagation();
4622
4606
 
@@ -1,5 +1,5 @@
1
1
  self.assetsManifest = {
2
- "version": "Xfi5hNqc",
2
+ "version": "g30EAOUn",
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-jrzXaQSlY2BHJW062PzZuylbAEYe02+uQrMQyJt7FJA=",
89
+ "hash": "sha256-ND0uIe74ihHrov6X2hCc7vJxwdSCqNNbheseulkitXA=",
90
90
  "url": "_content/MindExecution.Shared/js/mind-map-css3d-manager.js"
91
91
  },
92
92
  {
@@ -106,7 +106,7 @@
106
106
  "url": "_content/MindExecution.Shared/js/mind-map-glow-shader.js"
107
107
  },
108
108
  {
109
- "hash": "sha256-zIo9kujUdpiJTLKRs9na8FB8c+WqTZr5eo2Bq5QkJhg=",
109
+ "hash": "sha256-nseRIuaG6io+m/7GgaLuIS4srEQZYhVv8SQB2Z9aiF4=",
110
110
  "url": "_content/MindExecution.Shared/js/mind-map-interactions.js"
111
111
  },
112
112
  {
@@ -1,4 +1,4 @@
1
- /* Manifest version: Xfi5hNqc */
1
+ /* Manifest version: g30EAOUn */
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