Changeset 0.21.3 (#89)
This commit is contained in:
@@ -173,6 +173,10 @@ async function startApp() {
|
||||
UI.restoreSidebar();
|
||||
await loadSettings();
|
||||
|
||||
// Initialize surface system (v0.21.3) — must happen before extensions
|
||||
// so that extensions can register surfaces during init().
|
||||
if (typeof Surfaces !== 'undefined') Surfaces.init();
|
||||
|
||||
// Load extensions BEFORE chats so block renderers (mermaid, katex, csv, diff)
|
||||
// are registered when messages are first rendered.
|
||||
try {
|
||||
@@ -198,6 +202,7 @@ async function startApp() {
|
||||
await initBanners();
|
||||
initAttachments();
|
||||
if (typeof ToolsToggle !== 'undefined') ToolsToggle.init();
|
||||
if (typeof REPL !== 'undefined') REPL.init(); // v0.21.3: admin-gated REPL tab
|
||||
if (typeof KnowledgeUI !== 'undefined') {
|
||||
KnowledgeUI.init();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user