Ship Assistent 0.11.9: esbuild bundle and patch-keys manifest.

Replace split Assets JS with a built bundle and aligned C#/config so SwarmUI loads one script and patch apply stays consistent; drop legacy terse persona and memory seed.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-22 13:58:11 +03:00
co-authored by Cursor
parent a5e96f7430
commit e8bb012885
42 changed files with 10652 additions and 1281 deletions
+25
View File
@@ -0,0 +1,25 @@
import * as esbuild from 'esbuild';
import { existsSync } from 'node:fs';
const watch = process.argv.includes('--watch');
const ctxOpts = {
entryPoints: ['src/main.js'],
outfile: 'Assets/assistent.bundle.js',
bundle: true,
format: 'iife',
target: ['es2020'],
sourcemap: false,
logLevel: 'info',
};
if (watch) {
const ctx = await esbuild.context(ctxOpts);
await ctx.watch();
console.log('watching src/ → Assets/assistent.bundle.js');
} else {
await esbuild.build(ctxOpts);
if (!existsSync('Assets/assistent.bundle.js')) {
process.exit(1);
}
console.log('built Assets/assistent.bundle.js');
}