diff --git a/.agents/logs/ai_changelog.md b/.agents/logs/ai_changelog.md index 6b27486..7d62615 100644 --- a/.agents/logs/ai_changelog.md +++ b/.agents/logs/ai_changelog.md @@ -14,6 +14,12 @@ - `node tests/recipe_parser_roundtrip.mjs` - `python_embeded/python.exe tests/test_recipe_roundtrip.py` - `git diff --check` + +## [Snapshot] 2026-08-04 - Restore the original plugin mark + +- Restored the original 📦 floating trigger mark after the startup-resilience audit; no functional behavior changed. +- `node --check web/main.js` +- `git diff --check` ## [Snapshot] 2026-08-03 - Preserve model grid return position **Implemented** diff --git a/.agents/logs/ai_lessons.md b/.agents/logs/ai_lessons.md index f3d2bde..c0df12c 100644 --- a/.agents/logs/ai_lessons.md +++ b/.agents/logs/ai_lessons.md @@ -504,3 +504,5 @@ The floating trigger is the recovery path for the entire extension, so it must n ## 76. An optional auto-hook must not own extension startup ComfyUI loads every JavaScript file under a custom node's `WEB_DIRECTORY`. A resolver that assumes the legacy global `LGraph` can fail before the visible browser entry point is initialized. Optional graph hooks must detect the current graph constructor, guard duplicate patching, and return cleanly when the host API is unavailable. + +Keep visual identifiers stable during bug fixing. Restore the established 📦 trigger mark unless the user explicitly asks for a new icon; visibility and startup resilience are separate concerns. diff --git a/web/main.js b/web/main.js index 32cb3ec..89b424b 100644 --- a/web/main.js +++ b/web/main.js @@ -472,7 +472,7 @@ app.registerExtension({ let browser = null; const btn = document.createElement('button'); btn.id = 'anomalous-trigger-btn'; - btn.textContent = '🧩'; + btn.textContent = '📦'; btn.setAttribute('aria-label', 'Anomalous Model Browser'); const ensureBrowser = () => {