@mindexec/cli 0.2.286 → 0.2.287
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/server.js +1 -1
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-core.js +42 -4
- package/wwwroot/_framework/MindExecution.Core.y7ffihhajj.dll +0 -0
- package/wwwroot/_framework/{MindExecution.Kernel.n80deqs1y7.dll → MindExecution.Kernel.l5y3qroa7p.dll} +0 -0
- package/wwwroot/_framework/{MindExecution.Plugins.Admin.m5d94977um.dll → MindExecution.Plugins.Admin.uuf238xa0h.dll} +0 -0
- package/wwwroot/_framework/{MindExecution.Plugins.Business.ntqdn1hta3.dll → MindExecution.Plugins.Business.nyr3v25v48.dll} +0 -0
- package/wwwroot/_framework/{MindExecution.Plugins.Concept.cjp3ty08t0.dll → MindExecution.Plugins.Concept.d70e7soqnf.dll} +0 -0
- package/wwwroot/_framework/{MindExecution.Plugins.Directory.k4hx7g84qs.dll → MindExecution.Plugins.Directory.ju87t8h3zs.dll} +0 -0
- package/wwwroot/_framework/{MindExecution.Plugins.PlanMaster.w9msy01tp9.dll → MindExecution.Plugins.PlanMaster.xg4mkokjr1.dll} +0 -0
- package/wwwroot/_framework/{MindExecution.Plugins.YouTube.iob4817wtf.dll → MindExecution.Plugins.YouTube.c631ocfbcp.dll} +0 -0
- package/wwwroot/_framework/{MindExecution.Shared.lvqhaceogf.dll → MindExecution.Shared.km4gh9ya5b.dll} +0 -0
- package/wwwroot/_framework/{MindExecution.Web.f4nix6qubf.dll → MindExecution.Web.lam9b8vdjf.dll} +0 -0
- package/wwwroot/_framework/blazor.boot.json +21 -21
- package/wwwroot/service-worker-assets.js +23 -23
- package/wwwroot/service-worker.js +1 -1
- package/wwwroot/_framework/MindExecution.Core.xsad4wu36e.dll +0 -0
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -6122,7 +6122,7 @@ function isRemoteRegistryTargetExpired(target) {
|
|
|
6122
6122
|
}
|
|
6123
6123
|
|
|
6124
6124
|
function isRecoverableInactiveRemoteRegistryTarget(target) {
|
|
6125
|
-
if (!target || target.active === true
|
|
6125
|
+
if (!target || (target.active === true && !isRemoteRegistryTargetExpired(target))) {
|
|
6126
6126
|
return false;
|
|
6127
6127
|
}
|
|
6128
6128
|
|
|
@@ -4111,6 +4111,42 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
4111
4111
|
return true;
|
|
4112
4112
|
}
|
|
4113
4113
|
|
|
4114
|
+
_getLocalSnapGridSnappedScreenCenter(rawCenterX, rawCenterY, width, height, camera = null) {
|
|
4115
|
+
const safeWidth = Math.max(1, Number(width || 0));
|
|
4116
|
+
const safeHeight = Math.max(1, Number(height || 0));
|
|
4117
|
+
const fallback = {
|
|
4118
|
+
centerX: Math.max(0, Math.min(safeWidth, Number(rawCenterX || 0))),
|
|
4119
|
+
centerY: Math.max(0, Math.min(safeHeight, Number(rawCenterY || 0)))
|
|
4120
|
+
};
|
|
4121
|
+
const activeCamera = camera || this.camera;
|
|
4122
|
+
if (!activeCamera?.isPerspectiveCamera) {
|
|
4123
|
+
return fallback;
|
|
4124
|
+
}
|
|
4125
|
+
|
|
4126
|
+
const cameraZ = Math.max(1, Number(activeCamera.position?.z || 1));
|
|
4127
|
+
const vfov = (Number(activeCamera.fov || 45) * Math.PI) / 180;
|
|
4128
|
+
const viewHeight = 2 * Math.tan(vfov / 2) * cameraZ;
|
|
4129
|
+
const viewWidth = viewHeight * Math.max(0.1, Number(activeCamera.aspect || (safeWidth / safeHeight) || 1));
|
|
4130
|
+
if (viewWidth <= 0 || viewHeight <= 0) {
|
|
4131
|
+
return fallback;
|
|
4132
|
+
}
|
|
4133
|
+
|
|
4134
|
+
const cameraX = Number(activeCamera.position?.x || 0);
|
|
4135
|
+
const cameraY = Number(activeCamera.position?.y || 0);
|
|
4136
|
+
const worldX = cameraX + ((fallback.centerX / safeWidth) - 0.5) * viewWidth;
|
|
4137
|
+
const worldY = cameraY + (0.5 - (fallback.centerY / safeHeight)) * viewHeight;
|
|
4138
|
+
const grid = Math.max(1, Number(this.GRID_SIZE || 10));
|
|
4139
|
+
const snappedWorldX = Math.round(worldX / grid) * grid;
|
|
4140
|
+
const snappedWorldY = Math.round(worldY / grid) * grid;
|
|
4141
|
+
const snappedCenterX = (((snappedWorldX - cameraX) / viewWidth) + 0.5) * safeWidth;
|
|
4142
|
+
const snappedCenterY = (0.5 - ((snappedWorldY - cameraY) / viewHeight)) * safeHeight;
|
|
4143
|
+
|
|
4144
|
+
return {
|
|
4145
|
+
centerX: Math.max(0, Math.min(safeWidth, snappedCenterX)),
|
|
4146
|
+
centerY: Math.max(0, Math.min(safeHeight, snappedCenterY))
|
|
4147
|
+
};
|
|
4148
|
+
}
|
|
4149
|
+
|
|
4114
4150
|
_ensureLocalSnapGridLayer() {
|
|
4115
4151
|
if (!this.container || typeof document === 'undefined') {
|
|
4116
4152
|
return null;
|
|
@@ -4388,8 +4424,9 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
4388
4424
|
const centerY = hasPointer
|
|
4389
4425
|
? Math.max(0, Math.min(height, Number(this._lastSnapGridClientY) - top))
|
|
4390
4426
|
: height / 2;
|
|
4391
|
-
const
|
|
4392
|
-
const
|
|
4427
|
+
const snappedCenter = this._getLocalSnapGridSnappedScreenCenter(centerX, centerY, width, height, this.camera);
|
|
4428
|
+
const layerLeft = snappedCenter.centerX - LOCAL_SNAP_GRID_RADIUS_PX;
|
|
4429
|
+
const layerTop = snappedCenter.centerY - LOCAL_SNAP_GRID_RADIUS_PX;
|
|
4393
4430
|
|
|
4394
4431
|
if (this.isZooming === true && !!this._lastLocalSnapGridKey) {
|
|
4395
4432
|
const transformKey = `${Math.round(layerLeft * 2)}|${Math.round(layerTop * 2)}`;
|
|
@@ -4497,8 +4534,9 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
4497
4534
|
const centerY = hasPointer
|
|
4498
4535
|
? Math.max(0, Math.min(height, Number(this._lastSnapGridClientY) - top))
|
|
4499
4536
|
: height / 2;
|
|
4500
|
-
const
|
|
4501
|
-
const
|
|
4537
|
+
const snappedCenter = this._getLocalSnapGridSnappedScreenCenter(centerX, centerY, width, height, this.camera);
|
|
4538
|
+
const layerLeft = snappedCenter.centerX - LOCAL_SNAP_GRID_RADIUS_PX;
|
|
4539
|
+
const layerTop = snappedCenter.centerY - LOCAL_SNAP_GRID_RADIUS_PX;
|
|
4502
4540
|
const transformKey = `${Math.round(layerLeft * 2)}|${Math.round(layerTop * 2)}`;
|
|
4503
4541
|
|
|
4504
4542
|
if (transformKey !== this._lastLocalSnapGridTransformKey) {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/wwwroot/_framework/{MindExecution.Web.f4nix6qubf.dll → MindExecution.Web.lam9b8vdjf.dll}
RENAMED
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"mainAssemblyName": "MindExecution.Web",
|
|
3
3
|
"resources": {
|
|
4
|
-
"hash": "sha256-
|
|
4
|
+
"hash": "sha256-xWHhfNfn3/NFVQ8lKCNPMeOhJwjh38wF9ezQURomDfE=",
|
|
5
5
|
"fingerprinting": {
|
|
6
6
|
"Google.Protobuf.9h59ukbel7.dll": "Google.Protobuf.dll",
|
|
7
7
|
"Markdig.d1j7v41cl1.dll": "Markdig.dll",
|
|
@@ -123,16 +123,16 @@
|
|
|
123
123
|
"System.brmz7yk5qh.dll": "System.dll",
|
|
124
124
|
"netstandard.yvr3prsx0x.dll": "netstandard.dll",
|
|
125
125
|
"System.Private.CoreLib.c1dbswx1b2.dll": "System.Private.CoreLib.dll",
|
|
126
|
-
"MindExecution.Core.
|
|
127
|
-
"MindExecution.Kernel.
|
|
128
|
-
"MindExecution.Plugins.Admin.
|
|
129
|
-
"MindExecution.Plugins.Business.
|
|
130
|
-
"MindExecution.Plugins.Concept.
|
|
131
|
-
"MindExecution.Plugins.Directory.
|
|
132
|
-
"MindExecution.Plugins.PlanMaster.
|
|
133
|
-
"MindExecution.Plugins.YouTube.
|
|
134
|
-
"MindExecution.Shared.
|
|
135
|
-
"MindExecution.Web.
|
|
126
|
+
"MindExecution.Core.y7ffihhajj.dll": "MindExecution.Core.dll",
|
|
127
|
+
"MindExecution.Kernel.l5y3qroa7p.dll": "MindExecution.Kernel.dll",
|
|
128
|
+
"MindExecution.Plugins.Admin.uuf238xa0h.dll": "MindExecution.Plugins.Admin.dll",
|
|
129
|
+
"MindExecution.Plugins.Business.nyr3v25v48.dll": "MindExecution.Plugins.Business.dll",
|
|
130
|
+
"MindExecution.Plugins.Concept.d70e7soqnf.dll": "MindExecution.Plugins.Concept.dll",
|
|
131
|
+
"MindExecution.Plugins.Directory.ju87t8h3zs.dll": "MindExecution.Plugins.Directory.dll",
|
|
132
|
+
"MindExecution.Plugins.PlanMaster.xg4mkokjr1.dll": "MindExecution.Plugins.PlanMaster.dll",
|
|
133
|
+
"MindExecution.Plugins.YouTube.c631ocfbcp.dll": "MindExecution.Plugins.YouTube.dll",
|
|
134
|
+
"MindExecution.Shared.km4gh9ya5b.dll": "MindExecution.Shared.dll",
|
|
135
|
+
"MindExecution.Web.lam9b8vdjf.dll": "MindExecution.Web.dll",
|
|
136
136
|
"dotnet.js": "dotnet.js",
|
|
137
137
|
"dotnet.native.qc8g39g30v.js": "dotnet.native.js",
|
|
138
138
|
"dotnet.native.boem75ye5i.wasm": "dotnet.native.wasm",
|
|
@@ -278,18 +278,18 @@
|
|
|
278
278
|
"System.Xml.XDocument.sn51jas17n.dll": "sha256-GNI2kFgFmPTwzuzwUn8gxK+AzGLUWRJFdg9JzIbrybQ=",
|
|
279
279
|
"System.brmz7yk5qh.dll": "sha256-CfM2miyj1KHApFmqMdLYWio3S/jrdON2pW9Xr2nTwlo=",
|
|
280
280
|
"netstandard.yvr3prsx0x.dll": "sha256-EksNn8Luo4bOWqJ6X7dIe9qG9oOqwOVzjH2xYyMNi+E=",
|
|
281
|
-
"MindExecution.Core.
|
|
282
|
-
"MindExecution.Kernel.
|
|
283
|
-
"MindExecution.Plugins.Business.
|
|
284
|
-
"MindExecution.Plugins.Concept.
|
|
285
|
-
"MindExecution.Plugins.PlanMaster.
|
|
286
|
-
"MindExecution.Shared.
|
|
287
|
-
"MindExecution.Web.
|
|
281
|
+
"MindExecution.Core.y7ffihhajj.dll": "sha256-zsCKUWBWzDly1h5/vMtqVRb7PeG4lgfIZbQuJFyY1QU=",
|
|
282
|
+
"MindExecution.Kernel.l5y3qroa7p.dll": "sha256-V4pQTxua0lGWpdsFpo7bHr6rPFWZeofry7e9On+OJmo=",
|
|
283
|
+
"MindExecution.Plugins.Business.nyr3v25v48.dll": "sha256-T4c7+fDE4TQAXAoFmHnYM+tT7RSvAM7W0VinLPoD+6U=",
|
|
284
|
+
"MindExecution.Plugins.Concept.d70e7soqnf.dll": "sha256-iU+GA8ky8EMgkX1HvaZnq7niGkGFADlPbbEZws5wBzs=",
|
|
285
|
+
"MindExecution.Plugins.PlanMaster.xg4mkokjr1.dll": "sha256-IbRqhxJiKStOUy36JNELSuIhbqNkaJNxKC9RdDtcdHM=",
|
|
286
|
+
"MindExecution.Shared.km4gh9ya5b.dll": "sha256-lG8xtDTFexPjilxL/kpzaW262mFdEHgt0oEPGPNZFz4=",
|
|
287
|
+
"MindExecution.Web.lam9b8vdjf.dll": "sha256-4+s+2+44kJjwUnoHpqPM8COug1NJCCJdFxr0ZRXzOvQ="
|
|
288
288
|
},
|
|
289
289
|
"lazyAssembly": {
|
|
290
|
-
"MindExecution.Plugins.Admin.
|
|
291
|
-
"MindExecution.Plugins.Directory.
|
|
292
|
-
"MindExecution.Plugins.YouTube.
|
|
290
|
+
"MindExecution.Plugins.Admin.uuf238xa0h.dll": "sha256-OrCIUack8nSWBBiZK65DlJ3YGM677RAA8cX/oJjhm5c=",
|
|
291
|
+
"MindExecution.Plugins.Directory.ju87t8h3zs.dll": "sha256-dapAkel5qj7fK6BiDDmvkzZL96frl8k/3yP8SDr3rMw=",
|
|
292
|
+
"MindExecution.Plugins.YouTube.c631ocfbcp.dll": "sha256-rMFZtm/5KmHnPJ2z3o4YhmghevxIElnnS59AgkRXjbo="
|
|
293
293
|
}
|
|
294
294
|
},
|
|
295
295
|
"cacheBootResources": true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
self.assetsManifest = {
|
|
2
|
-
"version": "
|
|
2
|
+
"version": "NBKXAh9r",
|
|
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-T5U73XnB115kBUoRwO/5xm+idlSbeNKTOmEj27Y3wmA=",
|
|
82
82
|
"url": "_content/MindExecution.Shared/js/mind-map-core.js"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
@@ -410,44 +410,44 @@
|
|
|
410
410
|
"url": "_framework/MimeMapping.og9ys58ylm.dll"
|
|
411
411
|
},
|
|
412
412
|
{
|
|
413
|
-
"hash": "sha256-
|
|
414
|
-
"url": "_framework/MindExecution.Core.
|
|
413
|
+
"hash": "sha256-zsCKUWBWzDly1h5/vMtqVRb7PeG4lgfIZbQuJFyY1QU=",
|
|
414
|
+
"url": "_framework/MindExecution.Core.y7ffihhajj.dll"
|
|
415
415
|
},
|
|
416
416
|
{
|
|
417
|
-
"hash": "sha256-
|
|
418
|
-
"url": "_framework/MindExecution.Kernel.
|
|
417
|
+
"hash": "sha256-V4pQTxua0lGWpdsFpo7bHr6rPFWZeofry7e9On+OJmo=",
|
|
418
|
+
"url": "_framework/MindExecution.Kernel.l5y3qroa7p.dll"
|
|
419
419
|
},
|
|
420
420
|
{
|
|
421
|
-
"hash": "sha256-
|
|
422
|
-
"url": "_framework/MindExecution.Plugins.Admin.
|
|
421
|
+
"hash": "sha256-OrCIUack8nSWBBiZK65DlJ3YGM677RAA8cX/oJjhm5c=",
|
|
422
|
+
"url": "_framework/MindExecution.Plugins.Admin.uuf238xa0h.dll"
|
|
423
423
|
},
|
|
424
424
|
{
|
|
425
|
-
"hash": "sha256-
|
|
426
|
-
"url": "_framework/MindExecution.Plugins.Business.
|
|
425
|
+
"hash": "sha256-T4c7+fDE4TQAXAoFmHnYM+tT7RSvAM7W0VinLPoD+6U=",
|
|
426
|
+
"url": "_framework/MindExecution.Plugins.Business.nyr3v25v48.dll"
|
|
427
427
|
},
|
|
428
428
|
{
|
|
429
|
-
"hash": "sha256
|
|
430
|
-
"url": "_framework/MindExecution.Plugins.Concept.
|
|
429
|
+
"hash": "sha256-iU+GA8ky8EMgkX1HvaZnq7niGkGFADlPbbEZws5wBzs=",
|
|
430
|
+
"url": "_framework/MindExecution.Plugins.Concept.d70e7soqnf.dll"
|
|
431
431
|
},
|
|
432
432
|
{
|
|
433
|
-
"hash": "sha256-
|
|
434
|
-
"url": "_framework/MindExecution.Plugins.Directory.
|
|
433
|
+
"hash": "sha256-dapAkel5qj7fK6BiDDmvkzZL96frl8k/3yP8SDr3rMw=",
|
|
434
|
+
"url": "_framework/MindExecution.Plugins.Directory.ju87t8h3zs.dll"
|
|
435
435
|
},
|
|
436
436
|
{
|
|
437
|
-
"hash": "sha256-
|
|
438
|
-
"url": "_framework/MindExecution.Plugins.PlanMaster.
|
|
437
|
+
"hash": "sha256-IbRqhxJiKStOUy36JNELSuIhbqNkaJNxKC9RdDtcdHM=",
|
|
438
|
+
"url": "_framework/MindExecution.Plugins.PlanMaster.xg4mkokjr1.dll"
|
|
439
439
|
},
|
|
440
440
|
{
|
|
441
|
-
"hash": "sha256-
|
|
442
|
-
"url": "_framework/MindExecution.Plugins.YouTube.
|
|
441
|
+
"hash": "sha256-rMFZtm/5KmHnPJ2z3o4YhmghevxIElnnS59AgkRXjbo=",
|
|
442
|
+
"url": "_framework/MindExecution.Plugins.YouTube.c631ocfbcp.dll"
|
|
443
443
|
},
|
|
444
444
|
{
|
|
445
|
-
"hash": "sha256-
|
|
446
|
-
"url": "_framework/MindExecution.Shared.
|
|
445
|
+
"hash": "sha256-lG8xtDTFexPjilxL/kpzaW262mFdEHgt0oEPGPNZFz4=",
|
|
446
|
+
"url": "_framework/MindExecution.Shared.km4gh9ya5b.dll"
|
|
447
447
|
},
|
|
448
448
|
{
|
|
449
|
-
"hash": "sha256-
|
|
450
|
-
"url": "_framework/MindExecution.Web.
|
|
449
|
+
"hash": "sha256-4+s+2+44kJjwUnoHpqPM8COug1NJCCJdFxr0ZRXzOvQ=",
|
|
450
|
+
"url": "_framework/MindExecution.Web.lam9b8vdjf.dll"
|
|
451
451
|
},
|
|
452
452
|
{
|
|
453
453
|
"hash": "sha256-IsZJ91/OW+fHzNqIgEc7Y072ns8z9dGritiSyvR9Wgc=",
|
|
@@ -770,7 +770,7 @@
|
|
|
770
770
|
"url": "_framework/Websocket.Client.vapounvmnl.dll"
|
|
771
771
|
},
|
|
772
772
|
{
|
|
773
|
-
"hash": "sha256
|
|
773
|
+
"hash": "sha256-+L8b48+RY+B5jUKR3TCnYLnKbBoKD2Dfd2snIzNSaTs=",
|
|
774
774
|
"url": "_framework/blazor.boot.json"
|
|
775
775
|
},
|
|
776
776
|
{
|
|
Binary file
|