@mindexec/cli 0.2.296 → 0.2.297

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.296",
3
+ "version": "0.2.297",
4
4
  "description": "MindExec local runtime and bridge CLI",
5
5
  "main": "server.js",
6
6
  "type": "module",
@@ -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 = '20260620-flat-camera-pan-y-v754';
8
+ const MINDMAP_CORE_BUILD_ID = '20260620-ua-resident-schema-noop-v755';
9
9
  const CanvasPhase = Object.freeze({
10
10
  Booting: 'booting',
11
11
  BoardFileLoading: 'board-file-loading',
@@ -2526,7 +2526,7 @@
2526
2526
  }
2527
2527
  });
2528
2528
 
2529
- module.lodRenderer?.requestResidentPatch?.('resident-schema-change');
2529
+ module.lodRenderer?.requestResidentSchemaSync?.('render-debug-flags');
2530
2530
 
2531
2531
  if ((!flags.enableCss3dWillChange || !flags.enableCss3d) && window.MindMapCss3DManager?.setWillChange) {
2532
2532
  window.MindMapCss3DManager.setWillChange(false, module);
@@ -51,7 +51,7 @@
51
51
  // ▲▲▲ [Usage] ▲▲▲
52
52
 
53
53
  // Procedural line rendering settings
54
- const LOD_RENDERER_BUILD_ID = '20260620-flat-camera-pan-y-v754';
54
+ const LOD_RENDERER_BUILD_ID = '20260620-ua-resident-schema-noop-v755';
55
55
  const DirtyKind = Object.freeze({
56
56
  ResidentFullRebuild: 'resident-full-rebuild',
57
57
  ResidentPatch: 'resident-patch',
@@ -974,6 +974,7 @@
974
974
  this._residentBuilt = false;
975
975
  this._residentFullBuildCount = 0;
976
976
  this._lastResidentFullBuildReason = '';
977
+ this._lastAppliedResidentSchemaSignature = '';
977
978
  this._lastBlockedResidentRebuildReason = '';
978
979
  this._lastBlockedResidentRebuildAt = 0;
979
980
  this._postLoadVisualSyncPending = false;
@@ -3072,6 +3073,7 @@
3072
3073
  this._residentBuildPhase = 'ready';
3073
3074
  this._residentFullBuildCount = Number(this._residentFullBuildCount || 0) + 1;
3074
3075
  this._lastResidentFullBuildReason = String(reason || 'unknown');
3076
+ this._lastAppliedResidentSchemaSignature = this._buildResidentSchemaSignature(this._module);
3075
3077
  emitMindCanvasTrace('lod.fullBuild', this._module, {
3076
3078
  reason: this._lastResidentFullBuildReason,
3077
3079
  count: Number(this._residentFullBuildCount || 0),
@@ -3112,6 +3114,67 @@
3112
3114
  }
3113
3115
  }
3114
3116
 
3117
+ _buildResidentSchemaSignature(module = this._module) {
3118
+ const flags = module?.renderDebugFlags || {};
3119
+ return [
3120
+ LOD_RENDERER_BUILD_ID,
3121
+ isCss3dRendererEnabled(module) ? 'css3d:on' : 'css3d:off',
3122
+ flags.enableCssImageLodFallback === true ? 'css-image-fallback:on' : 'css-image-fallback:off'
3123
+ ].join('|');
3124
+ }
3125
+
3126
+ _tryApplyResidentSchemaSyncNoop(reason = 'resident-schema-change') {
3127
+ const lodBand = this._currentLodBand || this._getActiveLodBand?.() || null;
3128
+ const nextSignature = this._buildResidentSchemaSignature(this._module);
3129
+ const canSkip =
3130
+ FORCE_RESIDENT_INSTANCES_IN_MID_FAR === true &&
3131
+ this._residentBuilt === true &&
3132
+ this._hasResidentLodInstances() === true &&
3133
+ this._instancesDirty !== true &&
3134
+ this._isNodeArrayDirty !== true &&
3135
+ this._lastAppliedResidentSchemaSignature === nextSignature;
3136
+
3137
+ if (!canSkip) {
3138
+ return false;
3139
+ }
3140
+
3141
+ this._syncInstancedImageMeshVisibility();
3142
+ this._markCss3dSyncNeeded(false);
3143
+ this._lastAppliedResidentSchemaSignature = nextSignature;
3144
+ if (this._module) {
3145
+ this._module._forceUpdateFrames = Math.max(Number(this._module._forceUpdateFrames || 0), 1);
3146
+ }
3147
+ emitMindCanvasTrace('patch.applied', this._module, {
3148
+ kind: DirtyKind.ResidentPatch,
3149
+ reason: String(reason || 'resident-schema-change'),
3150
+ normalizedReason: 'resident-schema-change',
3151
+ mode: 'resident-schema-noop',
3152
+ lodBand,
3153
+ schemaSignature: nextSignature
3154
+ });
3155
+ return true;
3156
+ }
3157
+
3158
+ requestResidentSchemaSync(reason = 'resident-schema-change') {
3159
+ const requestReason = String(reason || 'resident-schema-change');
3160
+ if (this._tryApplyResidentSchemaSyncNoop(requestReason)) {
3161
+ return true;
3162
+ }
3163
+
3164
+ this._setInstancesDirty('resident-schema-change');
3165
+ this._markLodResyncNeeded(false);
3166
+ if (this._module) {
3167
+ this._module._forceUpdateFrames = Math.max(Number(this._module._forceUpdateFrames || 0), 2);
3168
+ }
3169
+ emitMindCanvasTrace('lod.patch.request', this._module, {
3170
+ reason: requestReason,
3171
+ normalizedReason: 'resident-schema-change',
3172
+ mode: 'resident-schema-sync',
3173
+ lodBand: this._currentLodBand || null
3174
+ });
3175
+ return true;
3176
+ }
3177
+
3115
3178
  _hasPendingLineDetailRestore(lodBand = this._currentLodBand) {
3116
3179
  return ENABLE_INSTANCED_TEXT_LINES === true &&
3117
3180
  this._lineDetailsPatchPending === true &&
@@ -9350,6 +9413,7 @@
9350
9413
  this._residentBuilt = false;
9351
9414
  this._residentFullBuildCount = 0;
9352
9415
  this._lastResidentFullBuildReason = '';
9416
+ this._lastAppliedResidentSchemaSignature = '';
9353
9417
  this._lastBlockedResidentRebuildReason = '';
9354
9418
  this._lastBlockedResidentRebuildAt = 0;
9355
9419
  this._nearPriorityBuffer = [];
@@ -9643,6 +9707,10 @@
9643
9707
 
9644
9708
  requestResidentPatch(reason = 'resident-patch', nodeIds = null) {
9645
9709
  const normalizedReason = String(reason || 'resident-patch');
9710
+ if (normalizedReason === 'resident-schema-change') {
9711
+ return this.requestResidentSchemaSync(normalizedReason);
9712
+ }
9713
+
9646
9714
  if ((normalizedReason === 'add-node' || normalizedReason === 'remove-node' || normalizedReason === 'update-node') &&
9647
9715
  this._tryApplyResidentStructureDelta(normalizedReason, nodeIds)) {
9648
9716
  return true;
@@ -7,8 +7,8 @@
7
7
  <title>MindExec | Business Execution OS for solo builders</title>
8
8
  <meta name="description" content="MindExec is an AI business execution OS for solo builders who want to turn notes, research, assets, and repeatable execution Skills into revenue-producing work." />
9
9
  <base href="/" />
10
- <link rel="stylesheet" href="_content/MindExecution.Shared/css/app.css?v=20260620-flat-camera-pan-y-v754" />
11
- <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260620-flat-camera-pan-y-v754" />
10
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/app.css?v=20260620-ua-resident-schema-noop-v755" />
11
+ <link rel="stylesheet" href="_content/MindExecution.Shared/css/mind-map-overrides.css?v=20260620-ua-resident-schema-noop-v755" />
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 = '20260620-flat-camera-pan-y-v754';
582
+ const scriptVersion = '20260620-ua-resident-schema-noop-v755';
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": "w4TAjKJM",
2
+ "version": "YH25K8sb",
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-Pm6Fsfi1yFjFA4zyI0Qtkmtirf9GeV8IY0hP7wEsut4=",
81
+ "hash": "sha256-nLoLyFnrQWw0WNrmyJYptH4WuiklwW9teJaA5OTkMHQ=",
82
82
  "url": "_content/MindExecution.Shared/js/mind-map-core.js"
83
83
  },
84
84
  {
@@ -114,7 +114,7 @@
114
114
  "url": "_content/MindExecution.Shared/js/mind-map-lod-plan-worker.js"
115
115
  },
116
116
  {
117
- "hash": "sha256-2PMWOyq5zxt8mpd/hkCK6uBvf88/kDV8P/wNY0MgIfM=",
117
+ "hash": "sha256-M7N27m0+FOdOLRnYz1TG80HZArq4myZjBcTXBQ8awV0=",
118
118
  "url": "_content/MindExecution.Shared/js/mind-map-lod-renderer.js"
119
119
  },
120
120
  {
@@ -834,7 +834,7 @@
834
834
  "url": "image-manifest.json"
835
835
  },
836
836
  {
837
- "hash": "sha256-iSaoLAeLcFTemqhQxhR9UVS0+6eqB7yktppGhu4zBu4=",
837
+ "hash": "sha256-fMClm7fwJVb8a6qwDJy0W2Yz2LFw6C1nkl0dZWgNEoA=",
838
838
  "url": "index.html"
839
839
  },
840
840
  {
@@ -1,4 +1,4 @@
1
- /* Manifest version: w4TAjKJM */
1
+ /* Manifest version: YH25K8sb */
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