Resolve remaining ComfyUI integration conflicts

- Move the read-only OpenAPI compat surface from /api/v2/assets to
  /mjr/am/compat/assets so it never squats ComfyUI core's /api namespace;
  the legacy alias is opt-in via MJR_AM_LEGACY_API_V2_ASSETS=1.
- Allow Python 3.14 (requires-python <3.15) and add 3.14 to CI and tox.
- Stop wrapping api.queuePrompt: progress tracking now resolves the
  running prompt from the core Jobs API (getJobDetail), then /queue and
  /history, driven by websocket events. Remove wrapHostQueuePrompt.
- Add opt-in Majoor.Integration.HideNativeAssetsTab setting that hides
  ComfyUI's native Assets sidebar tab through the official
  getSidebarTabs/unregisterSidebarTab API and restores it when disabled.
- Fix all 913 type errors in tsconfig.test.json and type-check tests in
  CI; drop a duplicated `stubs` key in asset_card_inner test; make
  addToastHistory's type argument optional for the object form.
- Update audit report, changelog, API reference and env var docs.
This commit is contained in:
Ewald ALOEBOETOE
2026-11-03 21:16:34 +00:00
parent fdb0c5b2f1
commit d0ab7d594e
137 changed files with 6491 additions and 6100 deletions
+4 -1
View File
@@ -96,6 +96,9 @@ jobs:
- name: Typecheck frontend
run: npx tsc -p tsconfig.json --noEmit --pretty false
- name: Typecheck frontend tests
run: npx tsc -p tsconfig.test.json --noEmit --pretty false
- name: Build frontend bundle
run: npm run build
@@ -119,7 +122,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- name: Tune Git HTTP settings
run: |