Star a value in the comparison (key_params.js: node type + widget name, a hidden ComfyUI setting) and it stays at the top of every comparison; equal values can be listed to be starred. Recipe cards show 参数方案 N (sets unlike the recipe, from the new read-only GET /anomalous/parameters/signatures) and open the Parameters tab; each set there shows its key values, how many values differ from the recipe, and ⇄ to compare (ui_param_set_keys.js). The window also compares saved workflows. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
20 lines
844 B
JavaScript
20 lines
844 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,
|
|
setup: browserEntry.setup
|
|
});
|