@mindexec/cli 0.2.418 → 0.2.420
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 +17 -1
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-core.js +37 -5
- package/wwwroot/_content/MindExecution.Shared/js/mind-map-interactions.js +1 -1
- package/wwwroot/_framework/MindExecution.Web.d8y80arq4m.dll +0 -0
- package/wwwroot/_framework/blazor.boot.json +3 -3
- package/wwwroot/index.html +1 -1
- package/wwwroot/service-worker-assets.js +7 -7
- package/wwwroot/service-worker.js +1 -1
- package/wwwroot/_framework/MindExecution.Web.b244ha7c5k.dll +0 -0
package/package.json
CHANGED
package/server.js
CHANGED
|
@@ -6185,6 +6185,7 @@ function buildRefreshedSupabaseSessionPayload(content, refreshedSession) {
|
|
|
6185
6185
|
const expiresInRaw = Number(readSupabaseSessionField(refreshedSession, 'expires_in', 'expiresIn', 'ExpiresIn') || 0);
|
|
6186
6186
|
const expiresAtFromResponse = readSupabaseSessionField(refreshedSession, 'expires_at', 'expiresAt', 'ExpiresAt');
|
|
6187
6187
|
const expiresAtMs = parseSupabaseSessionExpiresAtMs(expiresAtFromResponse)
|
|
6188
|
+
|| (Number.isFinite(expiresInRaw) && expiresInRaw > 999999999 ? parseSupabaseSessionExpiresAtMs(expiresInRaw) : 0)
|
|
6188
6189
|
|| (Number.isFinite(expiresInRaw) && expiresInRaw > 0 ? Date.now() + (expiresInRaw * 1000) : 0);
|
|
6189
6190
|
const expiresAtSeconds = expiresAtMs > 0 ? Math.floor(expiresAtMs / 1000) : 0;
|
|
6190
6191
|
|
|
@@ -6229,7 +6230,7 @@ function parseSupabaseSessionForRegistry(content) {
|
|
|
6229
6230
|
const userId = String(
|
|
6230
6231
|
readSupabaseSessionField(user, 'id', 'Id')
|
|
6231
6232
|
|| readSupabaseSessionField(session, 'user_id', 'userId', 'UserId')).trim();
|
|
6232
|
-
|
|
6233
|
+
let expiresAtMs = parseSupabaseSessionExpiresAtMs(readSupabaseSessionField(
|
|
6233
6234
|
session,
|
|
6234
6235
|
'expires_at',
|
|
6235
6236
|
'expiresAt',
|
|
@@ -6239,6 +6240,21 @@ function parseSupabaseSessionForRegistry(content) {
|
|
|
6239
6240
|
'ExpiresAtMs',
|
|
6240
6241
|
'expiresAtUnixTime',
|
|
6241
6242
|
'ExpiresAtUnixTime'));
|
|
6243
|
+
if (!expiresAtMs) {
|
|
6244
|
+
const expiresInRaw = Number(readSupabaseSessionField(session, 'expires_in', 'expiresIn', 'ExpiresIn') || 0);
|
|
6245
|
+
if (Number.isFinite(expiresInRaw) && expiresInRaw > 999999999) {
|
|
6246
|
+
expiresAtMs = parseSupabaseSessionExpiresAtMs(expiresInRaw);
|
|
6247
|
+
} else if (Number.isFinite(expiresInRaw) && expiresInRaw > 0) {
|
|
6248
|
+
const createdAtMs = parseSupabaseSessionExpiresAtMs(readSupabaseSessionField(
|
|
6249
|
+
session,
|
|
6250
|
+
'created_at',
|
|
6251
|
+
'createdAt',
|
|
6252
|
+
'CreatedAt'));
|
|
6253
|
+
if (createdAtMs > 0) {
|
|
6254
|
+
expiresAtMs = createdAtMs + (expiresInRaw * 1000);
|
|
6255
|
+
}
|
|
6256
|
+
}
|
|
6257
|
+
}
|
|
6242
6258
|
|
|
6243
6259
|
if (!accessToken || !userId) {
|
|
6244
6260
|
return null;
|
|
@@ -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 = '
|
|
8
|
+
const MINDMAP_CORE_BUILD_ID = '20260629-wheel-zoom-visibility-v854';
|
|
9
9
|
const CanvasPhase = Object.freeze({
|
|
10
10
|
Booting: 'booting',
|
|
11
11
|
BoardFileLoading: 'board-file-loading',
|
|
@@ -95,6 +95,7 @@
|
|
|
95
95
|
const VISIBILITY_CULLING_PAN_HEAVY_FRAME_INTERVAL = 10;
|
|
96
96
|
const VISIBILITY_CULLING_ZOOM_HEAVY_FRAME_INTERVAL = 10;
|
|
97
97
|
const FULL_RES_VISIBILITY_CULLING_PAN_FRAME_INTERVAL = 10;
|
|
98
|
+
const FULL_RES_VISIBILITY_CULLING_ZOOM_FRAME_INTERVAL = 10;
|
|
98
99
|
const FULL_RES_VISIBILITY_EXIT_MARGIN_SCALE = 1.8;
|
|
99
100
|
const CAMERA_MOTION_GRID_HIDE_DELAY_MS = 90;
|
|
100
101
|
const CAMERA_MOTION_GRID_MIN_STEP_PX = 3;
|
|
@@ -6289,6 +6290,10 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
6289
6290
|
this.isPanning === true &&
|
|
6290
6291
|
wasPanningLastFrame !== true &&
|
|
6291
6292
|
this.isZooming !== true;
|
|
6293
|
+
const fullResZoomStartedThisFrame =
|
|
6294
|
+
isFullResMode === true &&
|
|
6295
|
+
this.isZooming === true &&
|
|
6296
|
+
wasZoomingLastFrame !== true;
|
|
6292
6297
|
const shouldThrottleFullResVisibilityCullingDuringPan =
|
|
6293
6298
|
isFullResMode === true &&
|
|
6294
6299
|
isVisibilityCullingEnabled &&
|
|
@@ -6300,17 +6305,34 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
6300
6305
|
!hasNonCameraNavigationForcedUpdate &&
|
|
6301
6306
|
!hasPendingNearCssWarmup &&
|
|
6302
6307
|
!this.isWindowResizing;
|
|
6308
|
+
const shouldThrottleFullResVisibilityCullingDuringZoom =
|
|
6309
|
+
isFullResMode === true &&
|
|
6310
|
+
isVisibilityCullingEnabled &&
|
|
6311
|
+
this.isZooming === true &&
|
|
6312
|
+
!shouldFreezeVisibilityDuringMotion &&
|
|
6313
|
+
!shouldFreezeFullResDuringMotion &&
|
|
6314
|
+
!isNodeInteracting &&
|
|
6315
|
+
!hasNonCameraNavigationForcedUpdate &&
|
|
6316
|
+
!hasPendingNearCssWarmup &&
|
|
6317
|
+
!this.isWindowResizing;
|
|
6303
6318
|
const shouldSkipFullResVisibilityCullingForMotionFreeze =
|
|
6304
6319
|
isFullResMode === true &&
|
|
6305
6320
|
shouldFreezeFullResDuringMotion === true &&
|
|
6306
|
-
fullResPanStartedThisFrame !== true
|
|
6321
|
+
fullResPanStartedThisFrame !== true &&
|
|
6322
|
+
fullResZoomStartedThisFrame !== true;
|
|
6307
6323
|
const shouldRunFullResVisibilityCullingThisFrame =
|
|
6308
6324
|
shouldSkipFullResVisibilityCullingForMotionFreeze !== true &&
|
|
6309
6325
|
(
|
|
6310
|
-
!shouldThrottleFullResVisibilityCullingDuringPan
|
|
6326
|
+
(!shouldThrottleFullResVisibilityCullingDuringPan &&
|
|
6327
|
+
!shouldThrottleFullResVisibilityCullingDuringZoom) ||
|
|
6311
6328
|
fullResPanStartedThisFrame ||
|
|
6312
|
-
|
|
6313
|
-
(
|
|
6329
|
+
fullResZoomStartedThisFrame ||
|
|
6330
|
+
(shouldThrottleFullResVisibilityCullingDuringPan &&
|
|
6331
|
+
(FULL_RES_VISIBILITY_CULLING_PAN_FRAME_INTERVAL <= 1 ||
|
|
6332
|
+
(this.frameCount % FULL_RES_VISIBILITY_CULLING_PAN_FRAME_INTERVAL) === 0)) ||
|
|
6333
|
+
(shouldThrottleFullResVisibilityCullingDuringZoom &&
|
|
6334
|
+
(FULL_RES_VISIBILITY_CULLING_ZOOM_FRAME_INTERVAL <= 1 ||
|
|
6335
|
+
(this.frameCount % FULL_RES_VISIBILITY_CULLING_ZOOM_FRAME_INTERVAL) === 0))
|
|
6314
6336
|
);
|
|
6315
6337
|
const shouldRunVisibilityCullingThisFrame =
|
|
6316
6338
|
isFullResMode === true
|
|
@@ -6389,6 +6411,16 @@ ${summaryLines.map(line => `<div>${escapeNodeFrameDebugHtml(line)}</div>`).join(
|
|
|
6389
6411
|
this._fullResVisibilityReconcilePending = true;
|
|
6390
6412
|
this._lastVisibilityCullingSkipReason = visibilityCullingSkipReason;
|
|
6391
6413
|
this._preserveVisibleSetThisFrame = true;
|
|
6414
|
+
} else if (isFullResMode === true &&
|
|
6415
|
+
isVisibilityCullingEnabled === true &&
|
|
6416
|
+
shouldRunFullResVisibilityCullingThisFrame !== true &&
|
|
6417
|
+
shouldFreezeVisibilityDuringMotion !== true) {
|
|
6418
|
+
visibilityCullingSkipReason = shouldThrottleFullResVisibilityCullingDuringZoom
|
|
6419
|
+
? 'fullres-zoom-visibility-throttle'
|
|
6420
|
+
: 'fullres-pan-visibility-throttle';
|
|
6421
|
+
this._fullResVisibilityReconcilePending = true;
|
|
6422
|
+
this._lastVisibilityCullingSkipReason = visibilityCullingSkipReason;
|
|
6423
|
+
this._preserveVisibleSetThisFrame = true;
|
|
6392
6424
|
}
|
|
6393
6425
|
// ?�▲??[Perf] ?�▲?? _profileSection('pipelineVisibilityPlan');
|
|
6394
6426
|
const shouldUseInteractiveDpr =
|
|
@@ -5,7 +5,7 @@ window.MindMapInteractions = (function () {
|
|
|
5
5
|
const MOTION_DOM_FANOUT_DELAY_MS = 180;
|
|
6
6
|
const MOTION_DOM_FANOUT_ENABLED = false;
|
|
7
7
|
const MOTION_WILL_CHANGE_ENABLE_DELAY_MS = 240;
|
|
8
|
-
const WHEEL_ZOOM_TARGET_UPDATE_MODE = '
|
|
8
|
+
const WHEEL_ZOOM_TARGET_UPDATE_MODE = 'raf-coalesced-direct';
|
|
9
9
|
const PRIMARY_CLICK_DELAY_MS = 280;
|
|
10
10
|
const BACKGROUND_PRIMARY_CLICK_DELAY_MS = 320;
|
|
11
11
|
const eventHandlers = new WeakMap();
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"mainAssemblyName": "MindExecution.Web",
|
|
3
3
|
"resources": {
|
|
4
|
-
"hash": "sha256-
|
|
4
|
+
"hash": "sha256-lfANXRBzPDDr3VMCE7XYyf20cBIsubYY+/TbsqeIJqs=",
|
|
5
5
|
"fingerprinting": {
|
|
6
6
|
"Google.Protobuf.9h59ukbel7.dll": "Google.Protobuf.dll",
|
|
7
7
|
"Markdig.d1j7v41cl1.dll": "Markdig.dll",
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
"MindExecution.Plugins.PlanMaster.0fb3d2by4x.dll": "MindExecution.Plugins.PlanMaster.dll",
|
|
133
133
|
"MindExecution.Plugins.YouTube.8k0sthce42.dll": "MindExecution.Plugins.YouTube.dll",
|
|
134
134
|
"MindExecution.Shared.5azabuayvq.dll": "MindExecution.Shared.dll",
|
|
135
|
-
"MindExecution.Web.
|
|
135
|
+
"MindExecution.Web.d8y80arq4m.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",
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
"MindExecution.Plugins.Concept.5wy4pksmui.dll": "sha256-W63xdVGXylTdyZseFs224N6j1Mplai2G0zsxvOPgjZk=",
|
|
285
285
|
"MindExecution.Plugins.PlanMaster.0fb3d2by4x.dll": "sha256-jAEHt2nT48991+Q48+xYla2BmzGFE4RMNnBMoiK2D84=",
|
|
286
286
|
"MindExecution.Shared.5azabuayvq.dll": "sha256-4+ssyeCzUXueKL7KyMN9uxlLdlIUXG9qosXQdnbEoFY=",
|
|
287
|
-
"MindExecution.Web.
|
|
287
|
+
"MindExecution.Web.d8y80arq4m.dll": "sha256-TfdlRSl1DOBA2ZeHhg2qOrd4GBdX7hAPBpk+KroEMbU="
|
|
288
288
|
},
|
|
289
289
|
"lazyAssembly": {
|
|
290
290
|
"MindExecution.Plugins.Admin.j8r53ny1yk.dll": "sha256-IxjG4k/zJiUqItA1VJm4FISwJ1CYLo+xAXJUTUXsQKc=",
|
package/wwwroot/index.html
CHANGED
|
@@ -579,7 +579,7 @@
|
|
|
579
579
|
}
|
|
580
580
|
|
|
581
581
|
const base = '_content/MindExecution.Shared/js/';
|
|
582
|
-
const scriptVersion = '
|
|
582
|
+
const scriptVersion = '20260629-wheel-zoom-visibility-v854';
|
|
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": "RmQr/JkA",
|
|
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-Ftz81/kfYoUDfDiVEpTIW2nUzTzLn8Mnk64bdZ/v36E=",
|
|
82
82
|
"url": "_content/MindExecution.Shared/js/mind-map-core.js"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"url": "_content/MindExecution.Shared/js/mind-map-glow-shader.js"
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
|
-
"hash": "sha256-
|
|
109
|
+
"hash": "sha256-y74nQ/F+1hw4X2DRen7ZinLYutmoXXQbutQLGHnvi2o=",
|
|
110
110
|
"url": "_content/MindExecution.Shared/js/mind-map-interactions.js"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
@@ -442,8 +442,8 @@
|
|
|
442
442
|
"url": "_framework/MindExecution.Shared.5azabuayvq.dll"
|
|
443
443
|
},
|
|
444
444
|
{
|
|
445
|
-
"hash": "sha256-
|
|
446
|
-
"url": "_framework/MindExecution.Web.
|
|
445
|
+
"hash": "sha256-TfdlRSl1DOBA2ZeHhg2qOrd4GBdX7hAPBpk+KroEMbU=",
|
|
446
|
+
"url": "_framework/MindExecution.Web.d8y80arq4m.dll"
|
|
447
447
|
},
|
|
448
448
|
{
|
|
449
449
|
"hash": "sha256-IsZJ91/OW+fHzNqIgEc7Y072ns8z9dGritiSyvR9Wgc=",
|
|
@@ -766,7 +766,7 @@
|
|
|
766
766
|
"url": "_framework/Websocket.Client.vapounvmnl.dll"
|
|
767
767
|
},
|
|
768
768
|
{
|
|
769
|
-
"hash": "sha256-
|
|
769
|
+
"hash": "sha256-j+X4hLoSP7Y4PD/Pod1kQcyPS8IrV0oUIR77CxmZkpU=",
|
|
770
770
|
"url": "_framework/blazor.boot.json"
|
|
771
771
|
},
|
|
772
772
|
{
|
|
@@ -826,7 +826,7 @@
|
|
|
826
826
|
"url": "icon-512.png"
|
|
827
827
|
},
|
|
828
828
|
{
|
|
829
|
-
"hash": "sha256
|
|
829
|
+
"hash": "sha256-+V+Q7oUCAdugMul36QESNyu21inYe2gzRdH6N92tpIQ=",
|
|
830
830
|
"url": "index.html"
|
|
831
831
|
},
|
|
832
832
|
{
|
|
Binary file
|