- An answer past Antigravity's size is filed away unread (eight LoRA searches in the exam): search_models answers small (loaders once, four trigger words, a LoRA's author weight); describe_canvas gives a big canvas's last nodes a line each; mcp_fit.py keeps any other list answer within the size and names what it left out. - An empty canvas: run_workflow, describe_canvas and get_situation say to open a workflow first; get_image_info says a picture's workflow opens with open_workflow. - ask_user does not put a "test" question to the user; a task's picture count counts what its runs made. - AMB failed to load now and then: ComfyUI loads every file at once and ui_ai_workbench.js set ui_ai_toolbox.js's sideHost before it was made when the toolbox file ran first. Connected on first draw now; tests/load_order.mjs runs every file first. - input_facts moved to api/picture_mask.py to keep mcp_tools.py short. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
449 B
JavaScript
12 lines
449 B
JavaScript
// Imports the module at argv[2] first, as ComfyUI may, and prints OK or what its evaluation threw.
|
|
import { pathToFileURL } from 'node:url';
|
|
|
|
process.on('unhandledRejection', () => {}); // a promise a stand-in left hanging is not the module's top level
|
|
try {
|
|
await import(pathToFileURL(process.argv[2]).href);
|
|
console.log('OK');
|
|
} catch (error) {
|
|
console.log('ERR ' + String(error?.message || error).split('\n')[0]);
|
|
}
|
|
process.exit(0);
|