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:
+19
@@ -0,0 +1,19 @@
|
||||
import { attachApi } from './api.js';
|
||||
import { attachPatch, setPatchKeys } from './patch.js';
|
||||
import { attachPersist } from './persist.js';
|
||||
|
||||
window.SA = window.SA || {};
|
||||
attachApi(window.SA);
|
||||
attachPatch(window.SA);
|
||||
attachPersist(window.SA);
|
||||
|
||||
/** Called from app after AssistentGetConfig — single source: Config/_base/patch-keys.json */
|
||||
window.SA.applyConfigPatchKeys = function (config) {
|
||||
const keys = config?.patch_keys;
|
||||
if (Array.isArray(keys) && keys.length) {
|
||||
setPatchKeys(keys);
|
||||
window.SA.PATCH_KEYS = keys;
|
||||
}
|
||||
};
|
||||
|
||||
import './app.js';
|
||||
Reference in New Issue
Block a user