Files
DemonGatanjieu-Anomalous_Mo…/web/main.js
T
DemonGatanjieuandClaude Opus 5.5 58b11deae0 Quick search on the canvas (Alt+B)
A bar over the canvas finds combos, models and saved prompts as you type
(GET /anomalous/quick_index lists the models in a few words) and puts the chosen one
where the pointer was. Also in the empty canvas's right-click menu, now registered.
Saved model paths in a linked model folder get their real place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 15:34:41 +08:00

21 lines
902 B
JavaScript

import { app } from "../../scripts/app.js";
import { createBrowserEntry } from "./modules/browser_entry.js";
import { createInterfaceSettings, getCurrentLanguage, setAbyssalScarletTheme, t } from "./modules/interface_settings.js";
import { keyParamsSetting } from "./modules/key_params.js";
export { setAbyssalScarletTheme };
const browserEntry = createBrowserEntry({ translate: t, getCurrentLanguage });
app.registerExtension({
name: "Anomalous.ModelBrowser",
settings: [...browserEntry.settings, ...createInterfaceSettings(), keyParamsSetting()],
actionBarButtons: browserEntry.actionBarButtons,
commands: browserEntry.commands,
keybindings: browserEntry.keybindings,
menuCommands: browserEntry.menuCommands,
getNodeMenuItems: browserEntry.getNodeMenuItems,
getCanvasMenuItems: browserEntry.getCanvasMenuItems,
setup: browserEntry.setup
});