feat(memory): release Mnemo project bridge and schema2 recovery
Official contracts and Windows source CI / windows-source (push) Has been cancelled

This commit is contained in:
Agent Workbench Dev
2026-11-11 03:03:43 +08:00
parent f7705d9634
commit e306f40cae
76 changed files with 10475 additions and 127 deletions
+3 -1
View File
@@ -1,5 +1,6 @@
import { build } from 'esbuild';
import fs from 'node:fs';
import { writeDataCompatibility } from './build-data-compatibility.mjs';
// Bundled CommonJS dependencies (QR PNG encoder) still import Node builtins.
const nodeRequire = { js: "import { createRequire as __awbCreateRequire } from 'node:module'; const require = __awbCreateRequire(import.meta.url);" };
fs.mkdirSync('dist-server', { recursive: true });
@@ -16,4 +17,5 @@ await build({ entryPoints: ['src/desktop/main.mjs'], outfile: 'dist-desktop/main
platform: 'node', target: 'node24', format: 'cjs', sourcemap: false, legalComments: 'eof' });
await build({ entryPoints: ['src/desktop/preload.cjs'], outfile: 'dist-desktop/preload.cjs', bundle: true, external: ['electron'],
platform: 'node', target: 'node24', format: 'cjs', sourcemap: false, legalComments: 'eof' });
console.log('Server bundle built.');
writeDataCompatibility(process.cwd());
console.log('Server bundle and database compatibility declaration built.');