diff --git a/.github/actions/explain-check/action.yaml b/.github/actions/explain-check/action.yaml index c6b5db5af00..d25e565f60c 100644 --- a/.github/actions/explain-check/action.yaml +++ b/.github/actions/explain-check/action.yaml @@ -97,10 +97,6 @@ runs: { printf '## %s %s: %s\n' "$INPUT_ICON" "$INPUT_TITLE" "$badge" - if [ -n "$INPUT_HEADLINE" ]; then - printf '\n%s\n' "$INPUT_HEADLINE" - fi - run_url="$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" case "$INPUT_STATUS" in fail|warn) @@ -111,20 +107,29 @@ runs: ;; esac + has_findings='' if [ -n "$INPUT_DETAILS_FILE" ] && [ -s "$INPUT_DETAILS_FILE" ]; then - printf '\n
\nFindings and check details\n\n' - cat "$INPUT_DETAILS_FILE" - printf '\n\n
\n' + has_findings=1 + fi + + if [ -n "$INPUT_HEADLINE" ] || [ -n "$has_findings" ] || [ -n "$INPUT_DOCS" ]; then + printf '\n
\nFindings and check details\n' + if [ -n "$INPUT_HEADLINE" ]; then + printf '\n%s\n' "$INPUT_HEADLINE" + fi + if [ -n "$has_findings" ]; then + printf '\n%s\n' "$(cat "$INPUT_DETAILS_FILE")" + fi + if [ -n "$INPUT_DOCS" ]; then + printf '\nFull docs: %s\n' "$INPUT_DOCS" + fi + printf '\n
\n' fi if [ -n "$INPUT_REPRODUCE" ]; then printf '\n
\nReproduce locally\n\n' printf '```bash\n%s\n```\n\n
\n' "$INPUT_REPRODUCE" fi - - if [ -n "$INPUT_DOCS" ]; then - printf '\nFull docs: %s\n' "$INPUT_DOCS" - fi } > "$out" echo "file=$out" >> "$GITHUB_OUTPUT" diff --git a/.github/actions/repo-checks/action.yml b/.github/actions/repo-checks/action.yml index dfdc468bc60..d6704c91584 100644 --- a/.github/actions/repo-checks/action.yml +++ b/.github/actions/repo-checks/action.yml @@ -1,6 +1,7 @@ name: 'Repository consistency checks' description: > - Runs dependency-cycle, unused-code, locale integrity, follower-invariant and ADR checks. Shared by + Runs dependency-cycle, unused-code, locale integrity, command-locale coverage, follower-invariant + and ADR checks. Shared by ci-lint-format.yaml (PR) and ci-lint-format-queue.yaml (merge queue). The caller is responsible for a blobless full-history checkout (locale:check fetches source blobs from git history) and frontend setup. @@ -24,6 +25,10 @@ runs: shell: bash run: pnpm locale:check + - name: Verify every declared command has an English locale entry + shell: bash + run: pnpm command-locales:check + - name: Verify ADR naming shell: bash run: pnpm adr:check diff --git a/.github/workflows/backport-auto-merge.yaml b/.github/workflows/backport-auto-merge.yaml index c8d9273f442..bc88125e649 100644 --- a/.github/workflows/backport-auto-merge.yaml +++ b/.github/workflows/backport-auto-merge.yaml @@ -117,7 +117,7 @@ jobs: echo "::group::PR #${pr}" info=$(GH_TOKEN="$READ_TOKEN" gh pr view "$pr" --repo "$GH_REPO" \ - --json number,state,isDraft,labels,baseRefName,reviewDecision,mergeStateStatus 2>/dev/null || echo '') + --json number,state,isDraft,labels,baseRefName,reviewDecision,mergeStateStatus,headRefOid 2>/dev/null || echo '') if [ -z "$info" ]; then echo "Could not read PR #${pr} — skipping."; echo "::endgroup::"; continue fi @@ -139,8 +139,8 @@ jobs: echo "::endgroup::"; continue fi case "$base" in - cloud/*|core/*) : ;; - *) echo "Base '$base' is not a release branch — skipping."; echo "::endgroup::"; continue ;; + cloud/1.56|core/1.56|cloud/1.57|core/1.57|cloud/1.58|core/1.58|cloud/1.59|core/1.59) : ;; + *) echo "Base '$base' is not an active release branch — skipping."; echo "::endgroup::"; continue ;; esac # Ready = approved AND GitHub says it's mergeable with required checks green. @@ -157,6 +157,30 @@ jobs: echo "::endgroup::"; continue fi + head=$(echo "$info" | jq -r '.headRefOid') + if ! reviews=$(GH_TOKEN="$READ_TOKEN" gh api "repos/${GH_REPO}/pulls/${pr}/reviews" --paginate 2>&1); then + echo "Could not read reviews for PR #${pr}: ${reviews}" + echo "::endgroup::"; continue + fi + head_approvers=$(echo "$reviews" | jq -rs --arg head "$head" ' + [.[][] | select(.state != "COMMENTED" and .state != "PENDING")] + | group_by(.user.login) | map(last) + | .[] | select(.state == "APPROVED" and .commit_id == $head) | .user.login' 2>/dev/null || true) + approved_at_head=false + for login in $head_approvers; do + if ! permission=$(GH_TOKEN="$READ_TOKEN" gh api "repos/${GH_REPO}/collaborators/${login}/permission" --jq '.permission' 2>&1); then + echo "Could not read permission for reviewer ${login} on PR #${pr}: ${permission}" + continue + fi + case "$permission" in + admin|maintain|write) approved_at_head=true; break ;; + esac + done + if [ "$approved_at_head" != "true" ]; then + echo "Approved, but no approval at head ${head} — waiting for a re-approval." + echo "::endgroup::"; continue + fi + echo "PR #${pr} is ready — attempting squash merge." attempt=0 max=3 @@ -165,7 +189,7 @@ jobs: attempt=$((attempt + 1)) # A concurrent run (or a human) may have merged it already. if is_merged "$pr"; then merged=true; break; fi - if out=$(GH_TOKEN="$MERGE_TOKEN" gh pr merge "$pr" --repo "$GH_REPO" --squash 2>&1); then + if out=$(GH_TOKEN="$MERGE_TOKEN" gh pr merge "$pr" --repo "$GH_REPO" --squash --match-head-commit "$head" 2>&1); then merged=true; break fi echo "Merge attempt ${attempt}/${max} failed: ${out}" diff --git a/.github/workflows/ci-tests-e2e.yaml b/.github/workflows/ci-tests-e2e.yaml index fffd3c64cf8..5b1181c578f 100644 --- a/.github/workflows/ci-tests-e2e.yaml +++ b/.github/workflows/ci-tests-e2e.yaml @@ -396,13 +396,34 @@ jobs: steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: - sparse-checkout: /package.json + sparse-checkout: | + /package.json + /pnpm-lock.yaml sparse-checkout-cone-mode: false persist-credentials: false - name: Install pnpm uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10 + - name: Read locked Playwright version + id: playwright-version + run: | + set -euo pipefail + version=$(awk ' + in_entry && !/^ / { in_entry = 0 } + /^importers:/ { in_importers = 1; next } + in_importers && /^[^ ]/ { exit } + in_importers && /^ [^ ]/ { in_root = ($0 == " .:"); next } + in_root && /^ .@playwright\/test.:$/ { in_entry = 1; next } + in_entry && /^ version: / { sub(/^ version: /, ""); sub(/\(.*/, ""); print; exit } + ' pnpm-lock.yaml) + if [[ -z "$version" ]]; then + echo "Could not read the @playwright/test version from pnpm-lock.yaml" >&2 + exit 1 + fi + echo "Using @playwright/test@$version from pnpm-lock.yaml" + echo "version=$version" >> "$GITHUB_OUTPUT" + - name: Download blob reports uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: @@ -411,12 +432,14 @@ jobs: merge-multiple: true - name: Merge into HTML Report + env: + PLAYWRIGHT_VERSION: ${{ steps.playwright-version.outputs.version }} run: | # Generate HTML report - pnpm dlx @playwright/test merge-reports --reporter=html ./all-blob-reports + pnpm dlx "@playwright/test@$PLAYWRIGHT_VERSION" merge-reports --reporter=html ./all-blob-reports # Generate JSON report separately with explicit output path PLAYWRIGHT_JSON_OUTPUT_NAME=playwright-report/report.json \ - pnpm dlx @playwright/test merge-reports --reporter=json ./all-blob-reports + pnpm dlx "@playwright/test@$PLAYWRIGHT_VERSION" merge-reports --reporter=json ./all-blob-reports - name: Upload HTML report uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 @@ -518,7 +541,7 @@ jobs: cancel-in-progress: false if: >- ${{ - always() && + !cancelled() && needs.preflight.result == 'success' && needs.changes.outputs.should-run == 'true' && github.event_name == 'pull_request' && diff --git a/.github/workflows/ci-tests-unit.yaml b/.github/workflows/ci-tests-unit.yaml index 9f41d7dba6b..48213af531c 100644 --- a/.github/workflows/ci-tests-unit.yaml +++ b/.github/workflows/ci-tests-unit.yaml @@ -33,6 +33,7 @@ jobs: needs: changes if: ${{ needs.changes.outputs.should-run == 'true' }} runs-on: ubuntu-latest + timeout-minutes: 20 strategy: fail-fast: false matrix: @@ -63,6 +64,7 @@ jobs: needs: changes if: ${{ needs.changes.outputs.should-run == 'true' }} runs-on: ubuntu-latest + timeout-minutes: 20 permissions: contents: read steps: @@ -98,6 +100,7 @@ jobs: test-report: needs: [test-shards, test-packages] runs-on: ubuntu-latest + timeout-minutes: 20 steps: - uses: actions/checkout@v7 diff --git a/.github/workflows/i18n-update-core.yaml b/.github/workflows/i18n-update-core.yaml index 43b338cb835..5a321d17abb 100644 --- a/.github/workflows/i18n-update-core.yaml +++ b/.github/workflows/i18n-update-core.yaml @@ -56,6 +56,8 @@ jobs: run: pnpm collect-i18n env: PLAYWRIGHT_TEST_URL: http://localhost:5173 + - name: Verify no command locale was pruned + run: pnpm command-locales:check - name: Update translations id: translate # continue-on-error so completed entry files (written and recorded in diff --git a/.github/workflows/pr-backport.yaml b/.github/workflows/pr-backport.yaml index 2157eab883d..c7e73bfe2de 100644 --- a/.github/workflows/pr-backport.yaml +++ b/.github/workflows/pr-backport.yaml @@ -62,12 +62,6 @@ jobs: echo "::error::PR #${{ inputs.pr_number }} is not merged. Only merged PRs can be backported." exit 1 fi - - # Validate PR has needs-backport label - if ! gh pr view "${{ inputs.pr_number }}" --json labels --jq '.labels[].name' | grep -q "needs-backport"; then - echo "::error::PR #${{ inputs.pr_number }} does not have 'needs-backport' label." - exit 1 - fi env: GH_REPO: ${{ github.repository }} @@ -295,6 +289,7 @@ jobs: run: | FAILED="" SUCCESS="" + ALREADY_APPLIED="" # Get PR data for manual triggers if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then @@ -367,12 +362,22 @@ jobs: # Return to main (keep the branch, we need it for PR) git checkout main || git checkout -f main else - # Get conflict info CONFLICTS=$(git diff --name-only --diff-filter=U | tr '\n' ',') + CHANGES_ALREADY_ON_TARGET=false + if [ -z "${CONFLICTS}" ] && + git rev-parse -q --verify CHERRY_PICK_HEAD >/dev/null && + git diff --cached --quiet HEAD; then + CHANGES_ALREADY_ON_TARGET=true + fi git cherry-pick --abort || true - echo "::error::Cherry-pick failed due to conflicts" - FAILED="${FAILED}${TARGET_BRANCH}:conflicts:${CONFLICTS} " + if [ "$CHANGES_ALREADY_ON_TARGET" = true ]; then + echo "::notice::${TARGET_BRANCH} already has the changes from ${MERGE_COMMIT}, skipping backport" + ALREADY_APPLIED="${ALREADY_APPLIED}${TARGET_BRANCH} " + else + echo "::error::Cherry-pick failed due to conflicts" + FAILED="${FAILED}${TARGET_BRANCH}:conflicts:${CONFLICTS} " + fi # Clean up the failed branch git checkout main || git checkout -f main @@ -384,6 +389,7 @@ jobs: echo "success=${SUCCESS}" >> $GITHUB_OUTPUT echo "failed=${FAILED}" >> $GITHUB_OUTPUT + echo "already-applied=${ALREADY_APPLIED}" >> $GITHUB_OUTPUT # Do not exit non-zero when only some targets failed: the clean # backports must still get their PRs (next step) and the conflicts @@ -463,8 +469,11 @@ jobs: if: >- !cancelled() && steps.filter-targets.outputs.skip != 'true' && - steps.backport.outputs.failed != '' + (steps.backport.outputs.failed != '' || + steps.backport.outputs.already-applied != '') env: + FAILED_TARGETS: ${{ steps.backport.outputs.failed }} + ALREADY_APPLIED_TARGETS: ${{ steps.backport.outputs.already-applied }} FORCE_RERUN: >- ${{ github.event_name == 'workflow_dispatch' && inputs.force_rerun || 'false' }} @@ -535,11 +544,11 @@ jobs: notify() { local body="$1" local context="$2" + local title="${3:-Backport of #${PR_NUMBER} to ${target} failed}" if gh pr comment "${PR_NUMBER}" --body "${body}"; then return fi echo "::warning::Could not comment on PR #${PR_NUMBER} (${context}); opening a tracking issue instead." - local title="Backport of #${PR_NUMBER} to ${target} failed" gh issue create --title "${title}" --body "${body}" --label backport \ || gh issue create --title "${title}" --body "${body}" \ || echo "::warning::Also failed to open a tracking issue for #${PR_NUMBER} (${context})." @@ -568,7 +577,11 @@ jobs: )' <<<"${comments}${issues}" >/dev/null } - for failure in ${{ steps.backport.outputs.failed }}; do + for target in ${ALREADY_APPLIED_TARGETS}; do + notify "@${PR_AUTHOR} \`${target}\` already has the changes from \`${MERGE_COMMIT}\`, so no backport PR was opened." "changes already on ${target}" "Backport of #${PR_NUMBER} to ${target} not needed" + done + + for failure in ${FAILED_TARGETS}; do IFS=':' read -r target reason conflicts <<< "${failure}" SAFE_TARGET=$(echo "$target" | tr '/' '-') diff --git a/.gitignore b/.gitignore index 526c5371bf5..48e07a8fc9a 100644 --- a/.gitignore +++ b/.gitignore @@ -107,7 +107,9 @@ vitest.config.*.timestamp* # Weekly docs check output /output.txt -.amp +# Amp local state stays ignored; the tracked orb service config must stay addable +.amp/* +!.amp/services.yaml # Registry census working tree (scripts/registry-census) - corpus, lockfile, results .census/ # Ecosystem matrix fixture (scripts/registry-census/build_matrix.py) - generated per-pack specs diff --git a/.oxlintrc.json b/.oxlintrc.json index 68e91017ced..11b3cbdc150 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -283,6 +283,37 @@ "comfy/no-es2023-array-copy-method": "error" } }, + { + "files": [ + "apps/**/*.{js,mjs,cjs,ts,mts,cts,vue}", + "src/**/*.{js,mjs,cjs,ts,mts,cts,vue}", + "packages/**/*.{js,mjs,cjs,ts,mts,cts,vue}" + ], + "excludeFiles": [ + "**/*.{test,spec}.{ts,tsx}", + "packages/api-client/src/abortSignal.ts" + ], + "rules": { + "no-restricted-properties": [ + "error", + { + "object": "AbortSignal", + "property": "any", + "message": "Crashes on Chrome < 116. Use combineAbortSignals from @comfyorg/api-client/abortSignal." + }, + { + "object": "URL", + "property": "parse", + "message": "Crashes on Chrome < 126. Use parseUrl from @/utils/urlSafety, or try/catch around new URL() in packages." + }, + { + "object": "URL", + "property": "canParse", + "message": "Crashes on Chrome < 120. Use parseUrl from @/utils/urlSafety, or try/catch around new URL() in packages." + } + ] + } + }, { "files": [ "src/**/*.{ts,tsx,vue}", @@ -749,9 +780,12 @@ "playwright/no-eval": "error", "playwright/no-focused-test": "error", "playwright/no-force-option": "error", + "playwright/no-identical-title": "error", + "playwright/no-export": "error", "playwright/no-networkidle": "error", "playwright/no-page-pause": "error", "playwright/no-skipped-test": "error", + "playwright/no-test-return-statement": "error", "playwright/no-unsafe-references": "error", "playwright/no-unused-locators": "error", "playwright/no-useless-await": "error", @@ -765,6 +799,7 @@ "playwright/prefer-to-have-length": "error", "playwright/prefer-web-first-assertions": "error", "playwright/prefer-native-locators": "error", + "playwright/require-annotation-reason": "error", "playwright/require-to-pass-timeout": "error", "playwright/valid-expect": "error", "playwright/valid-expect-in-promise": "error", diff --git a/.stylelintrc.json b/.stylelintrc.json index 8d2fb3df4b9..a6da3be3e67 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -30,6 +30,7 @@ "shorthand-property-no-redundant-values": true, "selector-pseudo-element-colon-notation": "double", "no-duplicate-selectors": true, + "selector-no-unmatchable": true, "font-weight-notation": "numeric", "length-zero-no-unit": true, "color-no-invalid-hex": true, diff --git a/apps/billing-web/e2e/fixtures/scenario.ts b/apps/billing-web/e2e/fixtures/scenario.ts index a93636d511c..5e3093ae170 100644 --- a/apps/billing-web/e2e/fixtures/scenario.ts +++ b/apps/billing-web/e2e/fixtures/scenario.ts @@ -155,6 +155,7 @@ export function defaultScenario(): CloudScenario { subscription_status: 'active', renewal_date: inAnHour(), scheduled_change: null, + next_charge: null, team_credit_stop: null }, balance: { amount_micros: 12_500_000, currency: 'usd' }, diff --git a/apps/billing-web/src/checkout/endingScreen.ts b/apps/billing-web/src/checkout/endingScreen.ts index 9c0bc3ae09c..d41def1e58b 100644 --- a/apps/billing-web/src/checkout/endingScreen.ts +++ b/apps/billing-web/src/checkout/endingScreen.ts @@ -58,6 +58,7 @@ const REFUSAL_COPY: Readonly> = { workspace_creator: 'unknown', only_owner: 'unknown', billing_state_unknown: 'unknown', + topup_purchases_paused: 'unknown', free_tier_exhausted: 'unknown', invite_capacity_reached: 'unknown', manual_block: 'unknown', diff --git a/apps/billing-web/src/components/fullPage/CheckoutPayAction.test.ts b/apps/billing-web/src/components/fullPage/CheckoutPayAction.test.ts index 80fd730259e..acec0f0ea5f 100644 --- a/apps/billing-web/src/components/fullPage/CheckoutPayAction.test.ts +++ b/apps/billing-web/src/components/fullPage/CheckoutPayAction.test.ts @@ -131,6 +131,22 @@ describe('CheckoutPayAction', () => { expect(buttonNames()).toEqual(buttons) }) + it('says when to verify by while the challenge serves its authentication deadline', () => { + renderPayAction({ + phase: { + kind: 'challenge', + operation: { + ...challenge('required'), + authenticationDeadline: '2026-10-30T15:40:00Z' + } + } + }) + + expect(footnote().textContent.trim()).toBe( + 'Nothing has been charged yet. Verify by October 30, 3:40 PM.' + ) + }) + it('holds both buttons while the server settles a cancel', () => { renderPayAction({ phase: { diff --git a/apps/billing-web/src/components/fullPage/CheckoutPayAction.vue b/apps/billing-web/src/components/fullPage/CheckoutPayAction.vue index 1fc002cbf2e..0b986be44fb 100644 --- a/apps/billing-web/src/components/fullPage/CheckoutPayAction.vue +++ b/apps/billing-web/src/components/fullPage/CheckoutPayAction.vue @@ -2,12 +2,14 @@ import { computed } from 'vue' import { useI18n } from 'vue-i18n' +import type { PendingBillingOperation } from '@comfyorg/account-core/billing' import { CheckoutTermsNote } from '@comfyorg/account-ui/billing/checkout' import { buttonVariants } from '@comfyorg/design-system/button.variants' import { cn } from '@comfyorg/tailwind-utils' import type { InlineOutcome, SubmitPhase } from '@/checkout/checkoutPage' import { isChallengeReopenable } from '@/checkout/checkoutPage' +import { unbrokenDate } from '@/checkout/longDate' import { supportLinkFor } from '@/checkout/payVerdict' import type { PlanPurchase } from '@/checkout/summaryLedger' import CancelPaymentControl from '@/components/fullPage/CancelPaymentControl.vue' @@ -52,7 +54,7 @@ const emit = defineEmits<{ continueVerification: [] }>() -const { t, te } = useI18n() +const { d, t, te } = useI18n() /** A plan authorizes a charge each period; a top-up authorizes one. */ const PURCHASE_COPY = { @@ -101,6 +103,16 @@ function guardConsent(event: Event) { emit('consentMissing') } +function challengeFootnote(operation: PendingBillingOperation): string { + const deadline = new Date(operation.authenticationDeadline ?? '') + if (Number.isNaN(deadline.getTime())) + return t('checkout.fullPage.phase.challenge') + return t('checkout.fullPage.phase.challengeVerifyBy', { + date: unbrokenDate(d(deadline, { month: 'long', day: 'numeric' })), + time: unbrokenDate(d(deadline, { hour: 'numeric', minute: '2-digit' })) + }) +} + /** The line above Pay for a phase in flight; empty at rest so the live region stays mounted. */ const footnote = computed(() => { if ( @@ -109,7 +121,7 @@ const footnote = computed(() => { phase.kind === 'unknown' ) return '' - if (phase.kind === 'challenge') return t('checkout.fullPage.phase.challenge') + if (phase.kind === 'challenge') return challengeFootnote(phase.operation) if (phase.kind === 'processing') return t('checkout.fullPage.phase.processing') const named = `checkout.fullPage.phase.methods.${phase.method}` diff --git a/apps/billing-web/src/composables/useFullPageCheckout.ts b/apps/billing-web/src/composables/useFullPageCheckout.ts index b7d42dff4b0..c2ac6c00ffa 100644 --- a/apps/billing-web/src/composables/useFullPageCheckout.ts +++ b/apps/billing-web/src/composables/useFullPageCheckout.ts @@ -802,12 +802,10 @@ export function useFullPageCheckout() { } const askOnce = (operationId: string) => - commands.cancelOperation(operationId).catch( - (): CancelOperationResult => ({ - status: 'error', - code: 'REQUEST_FAILED' - }) - ) + commands.cancelOperation(operationId).catch((): CancelOperationResult => ({ + status: 'error', + code: 'REQUEST_FAILED' + })) /** Asks again while the server is still settling the cancel and `waiting` holds. */ async function askUntilSettled(operationId: string, waiting: () => boolean) { diff --git a/apps/billing-web/src/locales/en/main.json b/apps/billing-web/src/locales/en/main.json index 034228cc02b..f02bacc9dfc 100644 --- a/apps/billing-web/src/locales/en/main.json +++ b/apps/billing-web/src/locales/en/main.json @@ -273,6 +273,7 @@ }, "phase": { "challenge": "Nothing has been charged yet.", + "challengeVerifyBy": "Nothing has been charged yet. Verify by {date}, {time}.", "processing": "This payment is already processing and can't be canceled.", "redirecting": "Taking you to {method} to finish paying. Nothing has been charged yet.", "redirectingUnnamed": "Taking you to your payment provider to finish paying. Nothing has been charged yet.", diff --git a/apps/billing-web/src/session/billingWebClient.test.ts b/apps/billing-web/src/session/billingWebClient.test.ts index 3988bc5c45b..6e8397042a7 100644 --- a/apps/billing-web/src/session/billingWebClient.test.ts +++ b/apps/billing-web/src/session/billingWebClient.test.ts @@ -141,6 +141,7 @@ const STATUS_BODY = { max_seats: 1, occupied_seats: 1, scheduled_change: null, + next_charge: null, team_credit_stop: null } satisfies BillingStatusResponse diff --git a/apps/billing-web/src/views/CheckoutView.streams.test.ts b/apps/billing-web/src/views/CheckoutView.streams.test.ts index 1f35ce50b00..f56c548b450 100644 --- a/apps/billing-web/src/views/CheckoutView.streams.test.ts +++ b/apps/billing-web/src/views/CheckoutView.streams.test.ts @@ -127,6 +127,7 @@ function stubBillingRoutes() { max_seats: 1, occupied_seats: 1, scheduled_change: null, + next_charge: null, team_credit_stop: null } satisfies BillingStatusResponse, '/api/billing/preview-subscribe': previewOf({ diff --git a/browser_tests/README.md b/browser_tests/README.md index 72512a9e46b..7687cdfa7d3 100644 --- a/browser_tests/README.md +++ b/browser_tests/README.md @@ -869,19 +869,19 @@ await page.route('**/api/object_info', (route) => The three generated-type packages are auto-generated from OpenAPI specs — prefer them for any mock targeting their endpoints: -| Endpoint category | Type source | -| ------------------------------------------------- | ------------------------------------------------------------------------ | -| Cloud-only (hub, billing, workflows) | `@comfyorg/ingest-types` (`packages/ingest-types`) | -| Registry (releases, nodes, publishers) | `@comfyorg/registry-types` (`packages/registry-types`) | -| Manager (queue tasks, packages) | `@comfyorg/api-client/generatedManagerTypes` | -| Local webserver responses that differ from ingest | `@comfyorg/api-client/types` | -| WebSocket messages and custom-node outputs | `@comfyorg/api-client/executionTypes` | -| Frontend settings | `@comfyorg/settings-core/types` | -| Node definitions | `src/schemas/nodeDefSchema.ts`, `src/schemas/nodeDef/nodeDefSchemaV2.ts` | -| Templates | `@comfyorg/api-client/templateTypes` | -| Jobs API | `@comfyorg/api-client/jobTypes` (`zJobDetail`, `zJobsListResponse`) | -| Workflow validation | `src/platform/workflow/validation/schemas/workflowSchema.ts` | -| Asset metadata | `src/types/metadataTypes.ts` | +| Endpoint category | Type source | +| ------------------------------------------------- | -------------------------------------------------------------------------------------- | +| Cloud-only (hub, billing, workflows) | `@comfyorg/ingest-types` (`packages/ingest-types`) | +| Registry (releases, nodes, publishers) | `@comfyorg/registry-types` (`packages/registry-types`) | +| Manager (queue tasks, packages) | `@comfyorg/api-client/generatedManagerTypes` | +| Local webserver responses that differ from ingest | `@comfyorg/api-client/types` | +| WebSocket messages and custom-node outputs | `@comfyorg/api-client/executionTypes` | +| Frontend settings | `@comfyorg/settings-core/types` | +| Node definitions | `@comfyorg/object-info-parser`, `@comfyorg/object-info-parser/schemas/nodeDefSchemaV2` | +| Templates | `@comfyorg/api-client/templateTypes` | +| Jobs API | `@comfyorg/api-client/jobTypes` (`zJobDetail`, `zJobsListResponse`) | +| Workflow validation | `src/platform/workflow/validation/schemas/workflowSchema.ts` | +| Asset metadata | `src/types/metadataTypes.ts` | ```typescript // ✅ Import the type and annotate mock data @@ -948,7 +948,7 @@ Before merging a flaky-test fix, confirm all of these: `toHaveText`, `toHaveCount`, `toHaveClass`). - **Single async value** → `expect.poll(() => asyncFn()).toBe(expected)`. - **Multiple assertions that must settle together** → `expect(async () => { -... }).toPass()`. + ... }).toPass()`. - Never make immediate assertions right after async UI mutations, settings writes, clipboard writes, or graph updates. - Never use `waitForTimeout()` to hide a race — it is always wrong. diff --git a/browser_tests/assets/nodes/lora_loader_model_only_id_10.json b/browser_tests/assets/nodes/lora_loader_model_only_id_10.json new file mode 100644 index 00000000000..c825beaddb4 --- /dev/null +++ b/browser_tests/assets/nodes/lora_loader_model_only_id_10.json @@ -0,0 +1,31 @@ +{ + "last_node_id": 10, + "last_link_id": 0, + "nodes": [ + { + "id": 10, + "type": "LoraLoaderModelOnly", + "pos": [50, 50], + "size": [315, 82], + "flags": {}, + "order": 0, + "mode": 0, + "inputs": [], + "outputs": [], + "properties": { + "Node name for S&R": "LoraLoaderModelOnly" + }, + "widgets_values": [] + } + ], + "links": [], + "groups": [], + "config": {}, + "extra": { + "ds": { + "offset": [0, 0], + "scale": 1 + } + }, + "version": 0.4 +} diff --git a/browser_tests/fixtures/ComfyPage.ts b/browser_tests/fixtures/ComfyPage.ts index 0e55e53fb0b..2ce4619969e 100644 --- a/browser_tests/fixtures/ComfyPage.ts +++ b/browser_tests/fixtures/ComfyPage.ts @@ -12,13 +12,9 @@ import { NodeBadgeMode } from '@/types/nodeSource' import { EMPTY_BILLING_BALANCE, EMPTY_BILLING_PLANS, - LEGACY_PERSONAL_BILLING_STATUS + PERSONAL_BILLING_STATUS } from '@e2e/fixtures/data/cloudWorkspace' import { createBillingCapabilities } from '@e2e/fixtures/data/billingCapabilities' -import { - UNSUBSCRIBED, - ZERO_BALANCE -} from '@e2e/fixtures/data/subscriptionFixtures' import { ComfyActionbar } from '@e2e/fixtures/components/Actionbar' import { ComfyTemplates } from '@e2e/fixtures/components/Templates' import { ComfyMouse } from '@e2e/fixtures/ComfyMouse' @@ -704,7 +700,13 @@ export const comfyPageFixture = base.extend<{ route.fulfill({ status: 204 }) ) await context.route('**/api/billing/status', (route) => - route.fulfill({ json: LEGACY_PERSONAL_BILLING_STATUS }) + route.fulfill({ + json: { + ...PERSONAL_BILLING_STATUS, + is_active: true, + subscription_status: undefined + } + }) ) await context.route('**/api/billing/capabilities', (route) => route.fulfill({ json: createBillingCapabilities('ws-personal') }) @@ -715,12 +717,6 @@ export const comfyPageFixture = base.extend<{ await context.route('**/api/billing/plans', (route) => route.fulfill({ json: EMPTY_BILLING_PLANS }) ) - await context.route('**/customers/cloud-subscription-status', (route) => - route.fulfill({ json: UNSUBSCRIBED }) - ) - await context.route('**/customers/balance', (route) => - route.fulfill({ json: ZERO_BALANCE }) - ) await mockWorkspace(context, workspace('personal', 'owner'), []) } if (testInfo.tags.includes('@cloud') || testInfo.tags.includes('@auth')) { diff --git a/browser_tests/fixtures/agentAutogrowHandWiredLinkFixture.ts b/browser_tests/fixtures/agentAutogrowHandWiredLinkFixture.ts index 0b11c9dcc31..e38e38322cd 100644 --- a/browser_tests/fixtures/agentAutogrowHandWiredLinkFixture.ts +++ b/browser_tests/fixtures/agentAutogrowHandWiredLinkFixture.ts @@ -2,7 +2,7 @@ import type { Page } from '@playwright/test' import { expect } from '@playwright/test' import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { toNodeId } from '@comfyorg/graph-model/nodeId' import { diff --git a/browser_tests/fixtures/agentAutogrowSpareInputFixture.ts b/browser_tests/fixtures/agentAutogrowSpareInputFixture.ts index f1ff93495a5..ddcdaa0bbb8 100644 --- a/browser_tests/fixtures/agentAutogrowSpareInputFixture.ts +++ b/browser_tests/fixtures/agentAutogrowSpareInputFixture.ts @@ -2,7 +2,7 @@ import type { Page } from '@playwright/test' import { expect } from '@playwright/test' import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { toNodeId } from '@comfyorg/graph-model/nodeId' import { diff --git a/browser_tests/fixtures/agentConversationFixture.ts b/browser_tests/fixtures/agentConversationFixture.ts index 6a3cf30d649..a1beb1fdc99 100644 --- a/browser_tests/fixtures/agentConversationFixture.ts +++ b/browser_tests/fixtures/agentConversationFixture.ts @@ -9,7 +9,10 @@ import enMessages from '@/locales/en/main.json' with { type: 'json' } import type { useWorkflowStore } from '@/platform/workflow/management/stores/workflowStore' import type { ComfyWorkflowJSON } from '@comfyorg/graph-model/workflowSchema' import { validateComfyWorkflow } from '@comfyorg/graph-model/workflowSchema' -import type { ComfyNodeDef, ObjectInfoResponse } from '@/schemas/nodeDefSchema' +import type { + ComfyNodeDef, + ObjectInfoResponse +} from '@comfyorg/object-info-parser' import { toNodeId } from '@comfyorg/graph-model/nodeId' import type { NodeId } from '@comfyorg/graph-model/nodeId' import type { @@ -70,7 +73,7 @@ import { mockSavedWorkflowPersistence } from '@e2e/fixtures/utils/savedWorkflowP import { loadSeedIntoActiveTab } from '@e2e/fixtures/utils/seedActiveTab' import { nextFrame } from '@e2e/fixtures/utils/timing' -const THREAD_ID = 'e9a2f3d1-7c44-4b2e-9a01-5f6d8c7b3a10' +export const THREAD_ID = 'e9a2f3d1-7c44-4b2e-9a01-5f6d8c7b3a10' // One synthetic message id per turn; the recorded ids never reach the page. const turnId = (turn: number): string => `0c5b1e77-2d4a-4f9e-8b63-1a2c3d4e5${turn.toString(16).padStart(3, '0')}` @@ -933,6 +936,39 @@ export class AgentConversationHarness { ]) } + applyOpsOnHostUnsent(operations: RecordedGraphOperation[]): void { + this.host.apply(operations) + for (const id of Object.keys(this.host.graph().nodes)) this.seenIds.add(id) + } + + /** Holds `threadId`'s transcript reads until `release` is called. */ + async holdTranscript( + threadId: string + ): Promise<{ requested: Promise; release: () => void }> { + let release!: () => void + let reached!: () => void + const held = new Promise((resolve) => (release = resolve)) + const requested = new Promise((resolve) => (reached = resolve)) + await this.page.route( + `**/api/agent/threads/${threadId}/messages`, + async (route) => { + if (route.request().method() !== 'GET') return route.fallback() + reached() + await held + return route.fallback() + } + ) + return { requested, release } + } + + /** Serves a second workflow's document beside the recorded one. */ + serveWorkflow(workflowId: string, seed: WorkflowJSON): void { + this.hostSocket.addWorkflow( + workflowId, + new HostDoc(workflowId, seed, this.conversation.workflow.catalog) + ) + } + // Rises once per follower subscribe; a tab return re-subscribes and the // host answers with the catch-up frame this counter has just sent. subscribeCount(workflowId?: string): number { diff --git a/browser_tests/fixtures/agentCrdtIdCollisionFixture.ts b/browser_tests/fixtures/agentCrdtIdCollisionFixture.ts index d1d123d4c53..514b21036ec 100644 --- a/browser_tests/fixtures/agentCrdtIdCollisionFixture.ts +++ b/browser_tests/fixtures/agentCrdtIdCollisionFixture.ts @@ -37,7 +37,7 @@ import type { import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' import enMessages from '@/locales/en/main.json' with { type: 'json' } -import type { ObjectInfoResponse } from '@/schemas/nodeDefSchema' +import type { ObjectInfoResponse } from '@comfyorg/object-info-parser' import { parseAgentWsEvent } from '@/workbench/extensions/agent/schemas/agentApiSchema' import type { GraphOperation } from '@/workbench/extensions/agent/crdt/graphOperations' import { mintWireOps } from '@/workbench/extensions/agent/crdt/opEnvelope' diff --git a/browser_tests/fixtures/agentDynamicComboChildLinkFixture.ts b/browser_tests/fixtures/agentDynamicComboChildLinkFixture.ts index 93970dc4445..f2771c2b5c7 100644 --- a/browser_tests/fixtures/agentDynamicComboChildLinkFixture.ts +++ b/browser_tests/fixtures/agentDynamicComboChildLinkFixture.ts @@ -2,7 +2,7 @@ import type { Locator, Page } from '@playwright/test' import { expect } from '@playwright/test' import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { toLinkId } from '@comfyorg/graph-model/linkId' import { toNodeId } from '@comfyorg/graph-model/nodeId' diff --git a/browser_tests/fixtures/agentInlineReferencesFixture.ts b/browser_tests/fixtures/agentInlineReferencesFixture.ts index 9a495a20dbe..3b17268d531 100644 --- a/browser_tests/fixtures/agentInlineReferencesFixture.ts +++ b/browser_tests/fixtures/agentInlineReferencesFixture.ts @@ -1,7 +1,7 @@ import type { UploadImageResponse } from '@comfyorg/ingest-types' import { mergeTests } from '@playwright/test' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import type { ComfyWorkflowJSON } from '@comfyorg/graph-model/workflowSchema' import { agentTest } from '@e2e/fixtures/agentPanelFixture' import { workflowSelectionTest } from '@e2e/fixtures/agentWorkflowSelectionFixture' diff --git a/browser_tests/fixtures/agentNonValueWidgetRig.ts b/browser_tests/fixtures/agentNonValueWidgetRig.ts index 7dfa50b0ae4..4301be279d4 100644 --- a/browser_tests/fixtures/agentNonValueWidgetRig.ts +++ b/browser_tests/fixtures/agentNonValueWidgetRig.ts @@ -2,7 +2,7 @@ import { expect } from '@playwright/test' import type { Locator, Page } from '@playwright/test' import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { HostDoc } from '@e2e/fixtures/agentConversationHostDoc' import { AgentFollowerHostSocket } from '@e2e/fixtures/agentFollowerHostSocket' diff --git a/browser_tests/fixtures/agentOfflineEditFixture.ts b/browser_tests/fixtures/agentOfflineEditFixture.ts index 62b9f6de208..2704526343d 100644 --- a/browser_tests/fixtures/agentOfflineEditFixture.ts +++ b/browser_tests/fixtures/agentOfflineEditFixture.ts @@ -155,6 +155,19 @@ class AgentOfflineEditScenario { } } + agentRewritesFirstPrompt(): void { + for (const revision of [1, 2, 3]) { + this.host.apply([ + { + op: 'set_widget', + node_id: NODE_IDS[0], + widget: 'text', + value: `agent prompt written during the outage ${revision}` + } + ]) + } + } + restoreAgent(): void { this.hostSocket.answerSubscribesWith(() => this.host.initialSync()) this.hostSocket.endAgentOutage() diff --git a/browser_tests/fixtures/agentPanelFixture.ts b/browser_tests/fixtures/agentPanelFixture.ts index 18c3ed84a71..5eb74cc7241 100644 --- a/browser_tests/fixtures/agentPanelFixture.ts +++ b/browser_tests/fixtures/agentPanelFixture.ts @@ -16,7 +16,7 @@ import { } from '@/platform/settings/constants/agent' import { StorageKeys } from '@/platform/workflow/persistence/base/storageKeys' import type { ComfyWorkflowJSON } from '@comfyorg/graph-model/workflowSchema' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import type { AgentTurnAccepted } from '@/workbench/extensions/agent/schemas/agentApiSchema' import { mockAgentIdentity } from '@e2e/fixtures/agentSocket' @@ -39,7 +39,9 @@ const APP_URL = process.env.PLAYWRIGHT_TEST_URL || 'http://localhost:8188' const onboardedScopesByPage = new WeakMap() -/** The stubbed per-user tour completion list for this page; it survives a reload. */ +export const AGENT_ONBOARDING_SCOPE_KEY = + 'Comfy.AgentPanel.onboarded.test-user-e2e.ws-personal' + export function storedOnboardedScopes(page: Page): readonly string[] { return onboardedScopesByPage.get(page) ?? [] } @@ -217,6 +219,7 @@ export async function mockWorkflowPersistence( type AgentFixtures = { agentFlagEnabled: boolean + crdtDebugEnabled: boolean } /** @@ -226,7 +229,17 @@ type AgentFixtures = { * signed-in `bootCloud`, navigate, wait for the app. */ export const agentTest = cloudAppFixture.extend({ - agentFlagEnabled: [true, { option: true }] + agentFlagEnabled: [true, { option: true }], + crdtDebugEnabled: [false, { option: true }], + page: async ({ crdtDebugEnabled, page }, use) => { + if (crdtDebugEnabled) { + await page.addInitScript(() => { + localStorage.setItem('Comfy.Agent.CrdtDebug.enabled', 'true') + localStorage.setItem('Comfy.Agent.CrdtDevPanel.open', 'true') + }) + } + await use(page) + } }) type RestoredTargetlessAgentThreadFixtures = { diff --git a/browser_tests/fixtures/agentPromptHistoryFixture.ts b/browser_tests/fixtures/agentPromptHistoryFixture.ts index 3635f2f8dba..5d13129caeb 100644 --- a/browser_tests/fixtures/agentPromptHistoryFixture.ts +++ b/browser_tests/fixtures/agentPromptHistoryFixture.ts @@ -41,6 +41,11 @@ export const promptHistoryTest = base.extend<{ historyReads: () => number historyRequestThreadIds: string[] completeLatestTurn: (content: MockAgentMessageContent) => void + streamLatestTurn: (reply: string) => Promise + persistAndFinishLatestTurn: ( + reply: string, + chargeMicroUsd: number + ) => Promise finishLatestTurn: (reply: string, chargeMicroUsd: number) => Promise } }>({ @@ -141,50 +146,66 @@ export const promptHistoryTest = base.extend<{ socket.send(JSON.stringify(done)) } ) + const latestAssistantTurn = () => { + const turn = messages.findLast(({ role }) => role === 'assistant') + if (!turn) throw new Error('No turn has been sent yet') + return turn + } + const streamLatestTurn = async (reply: string) => { + const turn = latestAssistantTurn() + const socket = await getAgentSocket() + socket.send( + JSON.stringify({ + type: 'agent_message_delta', + data: { + message_id: turn.id, + thread_id: threadId, + delta: reply + } + } satisfies AgentWsEvent) + ) + } + const persistAndFinishLatestTurn = async ( + reply: string, + chargeMicroUsd: number + ) => { + const turn = latestAssistantTurn() + turn.status = 'complete' + turn.content = { text: reply } + const usage = { + input_tokens: 10, + output_tokens: 5, + total_tokens: 15, + cache_creation_input_tokens: 0, + cache_read_input_tokens: 0, + charge_micro_usd: chargeMicroUsd + } + const socket = await getAgentSocket() + socket.send( + JSON.stringify({ + type: 'agent_message_done', + data: { + message_id: turn.id, + thread_id: threadId, + usage + } + } satisfies AgentWsEvent) + ) + } await use({ requests, historyReads: () => historyReads, historyRequestThreadIds, completeLatestTurn: (content) => { - const turn = messages.findLast(({ role }) => role === 'assistant') - if (!turn) throw new Error('No turn has been sent yet') + const turn = latestAssistantTurn() turn.status = 'complete' turn.content = content }, + streamLatestTurn, + persistAndFinishLatestTurn, finishLatestTurn: async (reply, chargeMicroUsd) => { - const turn = messages.findLast(({ role }) => role === 'assistant') - if (!turn) throw new Error('No turn has been sent yet') - turn.status = 'complete' - turn.content = { text: reply } - const usage = { - input_tokens: 10, - output_tokens: 5, - total_tokens: 15, - cache_creation_input_tokens: 0, - cache_read_input_tokens: 0, - charge_micro_usd: chargeMicroUsd - } - const socket = await getAgentSocket() - socket.send( - JSON.stringify({ - type: 'agent_message_delta', - data: { - message_id: turn.id, - thread_id: threadId, - delta: reply - } - } satisfies AgentWsEvent) - ) - socket.send( - JSON.stringify({ - type: 'agent_message_done', - data: { - message_id: turn.id, - thread_id: threadId, - usage - } - } satisfies AgentWsEvent) - ) + await streamLatestTurn(reply) + await persistAndFinishLatestTurn(reply, chargeMicroUsd) } }) } diff --git a/browser_tests/fixtures/agentWorkflowSelectionFixture.ts b/browser_tests/fixtures/agentWorkflowSelectionFixture.ts index f4ee2295963..4603a7dacf8 100644 --- a/browser_tests/fixtures/agentWorkflowSelectionFixture.ts +++ b/browser_tests/fixtures/agentWorkflowSelectionFixture.ts @@ -2,7 +2,7 @@ import { networkIsolationFixture as base } from '@e2e/fixtures/networkIsolationF import type { RemoteConfig } from '@/platform/remoteConfig/types' import type { UserDataFullInfo } from '@comfyorg/api-client/types' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import type { CloudWorkflowEntry } from '@/workbench/extensions/agent/schemas/agentApiSchema' import { bootAgentApp } from '@e2e/fixtures/agentPanelFixture' diff --git a/browser_tests/fixtures/apiKeyAuthFixture.ts b/browser_tests/fixtures/apiKeyAuthFixture.ts index b4dc738a715..2c67fba28ef 100644 --- a/browser_tests/fixtures/apiKeyAuthFixture.ts +++ b/browser_tests/fixtures/apiKeyAuthFixture.ts @@ -56,33 +56,13 @@ const API_KEY_WORKSPACE_EVENT_ID = 'evt-api-key-workspace' * user, a stored `comfy_api_key`, and the cloud API resolving that key to a * single bound workspace. Mirrors the QA flow behind the 1.51 API-key billing * findings: workspace context, balance, and activity must all come from the - * key's workspace via `/api/workspaces/current` and `/api/billing/*`, never - * from the legacy user-scoped `/customers/*` rail. - * - * The fixture records any legacy-rail read so specs can assert the session - * never falls back to it. + * key's workspace via `/api/workspaces/current` and `/api/billing/*`. */ export const apiKeyAuthFixture = base.extend<{ comfyPage: ComfyPage - legacyBillingReads: string[] }>({ - legacyBillingReads: async ({ page }, use) => { - const reads: string[] = [] - await page.route('**/customers/balance', (route) => { - reads.push(route.request().url()) - return route.fulfill(jsonRoute({ amount_micros: 0, currency: 'usd' })) - }) - await page.route('**/customers/events**', (route) => { - reads.push(route.request().url()) - return route.fulfill( - jsonRoute({ events: [], page: 1, limit: 7, total: 0, totalPages: 0 }) - ) - }) - await use(reads) - }, - comfyPage: async ({ page, request, legacyBillingReads }, use, testInfo) => { + comfyPage: async ({ page, request }, use, testInfo) => { testInfo.setTimeout(45_000) - void legacyBillingReads const comfyPage = new ComfyPage(page, request) const userId = await comfyPage.setupUser( @@ -121,7 +101,8 @@ export const apiKeyAuthFixture = base.extend<{ subscription_tier: 'TEAM', ended_at: null, team_credit_stop: null, - scheduled_change: null + scheduled_change: null, + next_charge: null } satisfies BillingStatusResponse) ) await page.route('**/api/billing/capabilities', (route) => diff --git a/browser_tests/fixtures/components/TextEditorDialog.ts b/browser_tests/fixtures/components/TextEditorDialog.ts new file mode 100644 index 00000000000..307a37d8565 --- /dev/null +++ b/browser_tests/fixtures/components/TextEditorDialog.ts @@ -0,0 +1,17 @@ +import type { Locator, Page } from '@playwright/test' + +import { BaseDialog } from '@e2e/fixtures/components/BaseDialog' + +const EDITOR_TEST_ID = 'text-editor-dialog-textarea' + +export class TextEditorDialog extends BaseDialog { + readonly editor: Locator + + constructor(page: Page) { + super( + page, + page.getByRole('dialog').filter({ has: page.getByTestId(EDITOR_TEST_ID) }) + ) + this.editor = this.root.getByTestId(EDITOR_TEST_ID) + } +} diff --git a/browser_tests/fixtures/customNode/typePairing.ts b/browser_tests/fixtures/customNode/typePairing.ts index d6eaeccd9b1..70c18c43f08 100644 --- a/browser_tests/fixtures/customNode/typePairing.ts +++ b/browser_tests/fixtures/customNode/typePairing.ts @@ -93,7 +93,7 @@ function slotTypeOf(rawType: unknown): string | null { return typeof rawType === 'string' ? rawType : null } -// Faithful mirror of production naming (schemas/nodeDef/migration.ts): +// Faithful mirror of production naming (@comfyorg/object-info-parser/migration): // `output_name[index] || output_`, uncoerced - so a truthy non-string // entry names the live slot something no string lookup can match (null here). function outputSlotName(rawName: unknown, index: number): string | null { diff --git a/browser_tests/fixtures/data/agent/agentAdmissionDenials.ts b/browser_tests/fixtures/data/agent/agentAdmissionDenials.ts index 24e8c497892..710b58ae67e 100644 --- a/browser_tests/fixtures/data/agent/agentAdmissionDenials.ts +++ b/browser_tests/fixtures/data/agent/agentAdmissionDenials.ts @@ -5,9 +5,9 @@ import type { /** The statuses the generated contract maps to an admission denial. */ type AdmissionStatus = { - [Status in keyof AgentPostMessageErrors]: AgentPostMessageErrors[Status] extends AgentAdmissionError - ? Status - : never + [ + Status in keyof AgentPostMessageErrors + ]: AgentPostMessageErrors[Status] extends AgentAdmissionError ? Status : never }[keyof AgentPostMessageErrors] /** diff --git a/browser_tests/fixtures/data/agent/agentConversation.ts b/browser_tests/fixtures/data/agent/agentConversation.ts index efe3415467b..913068b53a7 100644 --- a/browser_tests/fixtures/data/agent/agentConversation.ts +++ b/browser_tests/fixtures/data/agent/agentConversation.ts @@ -24,7 +24,8 @@ const [ messageDone, activeTab, ask, - askResolved + askResolved, + extensionChanged ] = zAgentWsEvent.options export const zRecordedWsEvent = z.discriminatedUnion('type', [ @@ -36,7 +37,10 @@ export const zRecordedWsEvent = z.discriminatedUnion('type', [ messageDone.extend({ data: messageDone.shape.data.omit(mintedIds) }), activeTab.extend({ data: activeTab.shape.data.omit(mintedIds) }), ask.extend({ data: ask.shape.data.omit(mintedIds) }), - askResolved.extend({ data: askResolved.shape.data.omit(mintedIds) }) + askResolved.extend({ data: askResolved.shape.data.omit(mintedIds) }), + extensionChanged.extend({ + data: extensionChanged.shape.data.omit(mintedIds) + }) ]) export type RecordedWsEvent = z.infer diff --git a/browser_tests/fixtures/data/agent/agentConversationCapabilityMatrix.ts b/browser_tests/fixtures/data/agent/agentConversationCapabilityMatrix.ts index e5675a25335..287dae1707a 100644 --- a/browser_tests/fixtures/data/agent/agentConversationCapabilityMatrix.ts +++ b/browser_tests/fixtures/data/agent/agentConversationCapabilityMatrix.ts @@ -2,7 +2,6 @@ const recordingsWithActiveTab = [ 'agent-l4-zimage-string-node-prompt', 'agent-rec-add-set-delete', 'agent-rec-asset-url-reply', - 'agent-rec-batched-ops', 'agent-rec-cancelled-turn', 'agent-rec-clarifying-question', 'agent-rec-clear-workflow', @@ -18,6 +17,7 @@ const recordingsWithActiveTab = [ const everyRecording = [ ...recordingsWithActiveTab, + 'agent-rec-batched-ops', 'agent-rec-core-only-standard-node' ] as const @@ -108,6 +108,7 @@ export const agentConversationCapabilityMatrix: readonly AgentConversationCapabi recordings: [ 'agent-l4-zimage-string-node-prompt', 'agent-rec-add-set-delete', + 'agent-rec-batched-ops', 'agent-rec-cancelled-turn', 'agent-rec-clarifying-question', 'agent-rec-core-only-standard-node', diff --git a/browser_tests/fixtures/data/agent/agentConversationExpectations.ts b/browser_tests/fixtures/data/agent/agentConversationExpectations.ts index f7a025a55f4..5cde4771af0 100644 --- a/browser_tests/fixtures/data/agent/agentConversationExpectations.ts +++ b/browser_tests/fixtures/data/agent/agentConversationExpectations.ts @@ -151,19 +151,9 @@ export const RECORDED_EXPECTATIONS: Partial> = { ], 'agent-rec-batched-ops': [ { - text: "Done — I'm now on your \"Text to image\" tab, and both new text prompt nodes are on the canvas with their CLIP inputs wired from the checkpoint loader. They're not connected to anything downstream yet, so tell me if you'd like one hooked up as a negative prompt.", + text: `I didn't need to switch tabs: you're already working in "Text to image." In one batched call I added two new CLIP Text Encode (Prompt) nodes (#2103823744920160 and #2869331123916993) and connected the CLIP output of Load Checkpoint (#4) to both of their CLIP inputs. Their prompt text is empty, and their outputs aren't connected to anything yet.`, groups: [ [ - { - label: 'Switched tabs', - count: 1, - failed: false - }, - { - label: 'Print workflow', - count: 1, - failed: false - }, { label: 'Apply ops', count: 1, @@ -490,6 +480,20 @@ export const RECORDED_EXPECTATIONS: Partial> = { ] } ], + 'repro/pm-2147-extension-change-card': [ + { + text: "I turned off comfy-cushions. Restart ComfyUI when you're ready and your nodes go back to their usual look.", + groups: [ + [ + { + label: 'Switched a node pack', + count: 1, + failed: false + } + ] + ] + } + ], 'repro/pm-1135-asset-grid-fragmentation': [ { text: 'Version A: Version B:', diff --git a/browser_tests/fixtures/data/agent/agentCrdtMultiAutogrowRealignFixture.ts b/browser_tests/fixtures/data/agent/agentCrdtMultiAutogrowRealignFixture.ts index a445fe90f03..832d9e29bd5 100644 --- a/browser_tests/fixtures/data/agent/agentCrdtMultiAutogrowRealignFixture.ts +++ b/browser_tests/fixtures/data/agent/agentCrdtMultiAutogrowRealignFixture.ts @@ -1,6 +1,6 @@ import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' /** Fixture data for `agentCrdtMultiAutogrowRealign.spec.ts`. */ diff --git a/browser_tests/fixtures/data/agent/agentFollowerMissingWidgetRefusal.ts b/browser_tests/fixtures/data/agent/agentFollowerMissingWidgetRefusal.ts new file mode 100644 index 00000000000..aacf04fda8b --- /dev/null +++ b/browser_tests/fixtures/data/agent/agentFollowerMissingWidgetRefusal.ts @@ -0,0 +1,117 @@ +import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' + +import type { RecordedGraphOperation } from '@e2e/fixtures/data/agent/agentConversation' + +const missingWidgetNodeType = 'TestMissingWidgetAddress' +export const missingWidgetNodeId = 811 +export const keptWidget = 'kept' +export const otherWidget = 'other' + +const markerType = 'TestRefusalDeliveryMarker' +export const dottedMarkerId = 812 +export const overflowMarkerId = 813 + +export const absentDottedWidget = 'reference.image' +export const absentOverflowAlias = '_extra_7' + +export const keptValue = 'kept by the canvas' +export const otherDefault = 'left on its definition default' +export const refusedValue = 'must never be shown' +export const laterValue = 'applied after the refusal' + +export const missingWidgetWorkflowId = '6b2d8e14-3f7a-4c95-8d20-5e6f7a8b9c01' +export const missingWidgetThreadId = '7c3e9f25-4a8b-4d06-9e31-6f708192a3b4' +export const missingWidgetMessageId = '8d4fa036-5b9c-4e17-8f42-70819203b4c5' + +const nodeDef: ComfyNodeDef = { + name: missingWidgetNodeType, + display_name: 'Test Missing Widget Address', + description: '', + category: 'test', + python_module: 'test', + output_node: false, + output: ['STRING'], + output_is_list: [false], + output_name: ['STRING'], + input: { + required: { + [keptWidget]: ['STRING', { default: 'definition default' }], + [otherWidget]: ['STRING', { default: otherDefault }] + } + }, + input_order: { required: [keptWidget, otherWidget] } +} + +const markerDef: ComfyNodeDef = { + name: markerType, + display_name: 'Test Refusal Delivery Marker', + description: '', + category: 'test', + python_module: 'test', + output_node: false, + output: ['STRING'], + output_is_list: [false], + output_name: ['STRING'], + input: {}, + input_order: {} +} + +export const missingWidgetObjectInfo = { + [missingWidgetNodeType]: nodeDef, + [markerType]: markerDef +} + +export const missingWidgetCatalog: WidgetCatalog = { + types: { + [missingWidgetNodeType]: { widget_order: [keptWidget] }, + [markerType]: { widget_order: [] } + } +} + +export const missingWidgetSeed: WorkflowJSON = { + nodes: [ + { + id: missingWidgetNodeId, + type: missingWidgetNodeType, + pos: [0, 0], + size: [270, 140], + flags: {}, + order: 0, + mode: 0, + inputs: [], + outputs: [{ name: 'STRING', type: 'STRING', links: [] }], + properties: {}, + widgets_values: [keptValue] + } + ], + links: [], + groups: [], + config: {}, + extra: {}, + version: 0.4 +} + +export function createDeliveryBarrierAdd( + nodeId: number +): RecordedGraphOperation { + return { + op: 'add_node', + node_id: nodeId, + class_type: markerType, + pos: [400, 0], + node: { + id: nodeId, + type: markerType, + pos: [400, 0], + size: [200, 60], + mode: 0, + flags: {}, + order: 1, + inputs: [], + outputs: [{ name: 'STRING', type: 'STRING', links: [] }], + properties: {}, + widgets_values: [] + } + } +} diff --git a/browser_tests/fixtures/data/agent/agentSubgraphFollower.ts b/browser_tests/fixtures/data/agent/agentSubgraphFollower.ts index 815b1af8bc9..f5ce11c7484 100644 --- a/browser_tests/fixtures/data/agent/agentSubgraphFollower.ts +++ b/browser_tests/fixtures/data/agent/agentSubgraphFollower.ts @@ -1,6 +1,6 @@ import type { Op, WidgetCatalog } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import subgraphWorkflow from '@e2e/assets/subgraphs/agent-subgraph-with-two-promoted-widgets.json' with { type: 'json' } import { HostDoc } from '@e2e/fixtures/agentConversationHostDoc' diff --git a/browser_tests/fixtures/data/agent/agentVhsSavedWorkflow.ts b/browser_tests/fixtures/data/agent/agentVhsSavedWorkflow.ts index 23cb5b23853..2b8bab15ea9 100644 --- a/browser_tests/fixtures/data/agent/agentVhsSavedWorkflow.ts +++ b/browser_tests/fixtures/data/agent/agentVhsSavedWorkflow.ts @@ -2,7 +2,7 @@ import type { WidgetCatalog } from '@comfyorg/comfy-multi-player' import type { ComfyWorkflowJSON } from '@comfyorg/graph-model/workflowSchema' import { zComfyWorkflow } from '@comfyorg/graph-model/workflowSchema' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' export const VHS_WORKFLOW_ID = 'b7c1d2e3-0000-4000-8000-000000002018' export const VHS_MESSAGE_ID = 'b7c1d2e3-0000-4000-8000-000000002019' diff --git a/browser_tests/fixtures/data/agent/backgroundTabEdits.ts b/browser_tests/fixtures/data/agent/backgroundTabEdits.ts new file mode 100644 index 00000000000..c8c9c3e0fb2 --- /dev/null +++ b/browser_tests/fixtures/data/agent/backgroundTabEdits.ts @@ -0,0 +1,99 @@ +import type { ComfyWorkflowJSON } from '@comfyorg/graph-model/workflowSchema' + +import type { RecordedGraphOperation } from '@e2e/fixtures/data/agent/agentConversation' +import { + agentThreadSummary, + agentUserTranscript +} from '@e2e/fixtures/data/agent/agentThreadList' +import type { AgentWorkflowChatsMock } from '@e2e/fixtures/helpers/agentWorkflowChats' + +type WorkflowChats = ConstructorParameters[0] + +interface ChatWorkflow { + id: string + name: string + threadId: string + request: string +} + +export const BACKGROUND_TAB_CASE = 'agent-rec-set-widget-existing' +export const FOREGROUND_NAME = 'Unsaved Workflow' +export const BACKGROUND: ChatWorkflow = { + id: '3c1e5b7a-9d2f-4e8b-a6c4-0f1e2d3c4b5a', + name: 'Other Study', + threadId: '7a2b4c6d-8e0f-4a1b-9c3d-5e7f9a1b3c5d', + request: 'Tidy up the other study' +} +export const BACKGROUND_NODES = [ + { id: 801, title: 'b1', x: 1400 }, + { id: 802, title: 'b2', x: 1700 }, + { id: 803, title: 'b3', x: 2000 } +] + +const EMPTY_GRAPH: ComfyWorkflowJSON = { + last_node_id: 0, + last_link_id: 0, + nodes: [], + links: [], + groups: [], + config: {}, + extra: {}, + version: 0.4 +} + +export function backgroundEdits(): RecordedGraphOperation[] { + const type = 'EmptyLatentImage' + return BACKGROUND_NODES.flatMap(({ id, title, x }) => [ + { + op: 'add_node', + node_id: id, + class_type: type, + pos: [x, 600], + node: { + id, + type, + pos: [x, 600], + size: [240, 134], + flags: {}, + order: 0, + mode: 0, + inputs: [], + outputs: [{ name: 'LATENT', type: 'LATENT', links: [] }], + properties: {}, + widgets_values: [512, 512, 1] + } + }, + { op: 'set_node_field', node_id: id, field: 'title', value: title } + ]) +} + +export function backgroundTabChats( + foreground: Omit +): WorkflowChats { + const chats = [ + { ...foreground, name: FOREGROUND_NAME, at: '2026-11-02T09:00:00Z' }, + { ...BACKGROUND, at: '2026-11-02T10:00:00Z' } + ] + return { + workflows: chats.map(({ id, name }) => ({ + id, + name, + content: EMPTY_GRAPH + })), + threads: chats.map(({ id, name, threadId, request, at }) => + agentThreadSummary(threadId, `${name} chat`, { + preview: request, + workflow_id: id, + last_message_at: at + }) + ), + transcripts: Object.fromEntries( + chats.map(({ id, threadId, request }) => [ + threadId, + agentUserTranscript(threadId, id, request) + ]) + ) + } +} + +export const USER_NOTE_POSITION: [number, number] = [400, 400] diff --git a/browser_tests/fixtures/data/agent/conversations/agent-rec-batched-ops.json b/browser_tests/fixtures/data/agent/conversations/agent-rec-batched-ops.json index afc63d41698..0e18d8373a8 100644 --- a/browser_tests/fixtures/data/agent/conversations/agent-rec-batched-ops.json +++ b/browser_tests/fixtures/data/agent/conversations/agent-rec-batched-ops.json @@ -5,15 +5,15 @@ "suite": "agent", "case_id": "agent-rec-batched-ops", "response_side": "recorded", - "note": "RECORDED from Comfy-Org/cloud services/agent running NON-standalone local full stack (Postgres + doc host, M2M identity headers) at http://127.0.0.1:8086 (frames: redis SUBSCRIBE channel:ws::u:); NOT a production capture. cloud commit 9dc1da7dae2a1d40a9ca1f2a1f91cd9fd9e10900; model claude-opus-5; thread a6fd73be-e957-45b7-a5e0-5edd091670fb; message 9f88da92-5074-4091-850b-7cbc65005cd1; workflow e539bb63-bc5d-4f97-b918-d85862c0f591 (seeded by throwaway turn 365de61d-2131-4966-af0b-fe7ccda288bf; the recorded turn opens on a fresh workflow and switches to it first because the replay subscribes only on an agent_active_tab frame, see plan Q4); agent_tool_calls parent rows ['ae918468-c270-4d05-b0ef-31198a63cf0e', '069a03fa-3094-4fa4-821d-797672439db7', '044e431e-059e-45b1-b82d-45e25a92f2bf']; rows agent-rec-batched-ops.t-a1.rows.json; raw capture sha256 92757967c82950945ea1a183dbcfcb8d111ae768b3ea16a72348bb0e216b709e", + "note": "RECORDED from Comfy-Org/cloud services/agent running NON-standalone local full stack (Postgres + doc host, M2M identity headers) at http://127.0.0.1:8089 (frames: redis SUBSCRIBE channel:ws::u:); NOT a production capture. cloud commit 0c48ae8322a51457bf31e1a8c3690c539613ddf3; model claude-opus-5-5; thread 73166db9-0bea-4b14-8e4e-1008d4bba6a6; messages 92955291-5843-4901-9aa2-cf384e311a49; workflow cc8d4ec5-045b-447e-be0c-712a6e736f0a (seeded by throwaway turn 240dd526-7a25-4f55-9fe9-384bfab3e213; recorded turns target the seeded workflow explicitly with workflow_id and the live draft); agent_tool_calls parent rows b51f38cf-7cbe-438e-bda6-8004d780bb28; rows agent-rec-batched-ops.2026-10-30T08-24-35-339Z.rows.1.json; raw capture sha256 2086b16ec08d7574900b54a5ad8f3b240f93a94829c0f3d50f09f658c839b337", "capture": { "backend": "Comfy-Org/cloud", - "thread_id": "a6fd73be-e957-45b7-a5e0-5edd091670fb", - "exported_at": "2026-09-03T12:40:55Z" + "thread_id": "73166db9-0bea-4b14-8e4e-1008d4bba6a6", + "exported_at": "2026-10-30T08:24:50.955Z" } }, "workflow": { - "id": "e539bb63-bc5d-4f97-b918-d85862c0f591", + "id": "cc8d4ec5-045b-447e-be0c-712a6e736f0a", "name": "Text to image", "catalog": { "types": { @@ -195,7 +195,7 @@ }, "turns": [ { - "message_id": "9f88da92-5074-4091-850b-7cbc65005cd1", + "message_id": "92955291-5843-4901-9aa2-cf384e311a49", "request": { "content": "Switch to the tab 'Text to image', then in ONE apply_ops call add two CLIPTextEncode nodes and wire both of their CLIP inputs from the checkpoint loader. Use a single batched tool call for all four operations." }, @@ -203,10 +203,9 @@ { "kind": "event", "event": { - "type": "agent_active_tab", + "type": "agent_thinking", "data": { - "name": "Text to image", - "workflow_id": "e539bb63-bc5d-4f97-b918-d85862c0f591" + "delta": "Since I'm already on the \"Text to image\" tab, no switching is needed. I'll apply four operations: adding two nodes and connecting both to the CLIP output of the checkpoint loader, since CheckpointLoaderSimple outputs MODEL, CLIP, and VAE, and CLIPTextEncode expects a clip input.\n\n" } }, "at_ms": 0 @@ -216,38 +215,24 @@ "event": { "type": "agent_tool_call", "data": { - "duration_ms": 7, - "status": "success", - "tool_call_id": "toolu_01UJ5hWx9Rxkvwon9F7nMGaK", - "tool_name": "switch_tab" - } - }, - "at_ms": 2 - }, - { - "kind": "event", - "event": { - "type": "agent_tool_call", - "data": { - "duration_ms": 368, - "status": "success", - "tool_call_id": "toolu_011QfP8raZRXJbK5WZYpKTkv", - "tool_name": "print_workflow" + "status": "running", + "tool_call_id": "toolu_01N4xc9UEYPCGdNS48rFUgdF", + "tool_name": "apply_ops" } }, - "at_ms": 2139 + "at_ms": 0 }, { "kind": "graph_ops", "ops": [ { "op": "add_node", - "pos": [715, 280], + "pos": [715, 302], "node": { - "id": 2559261621971657, - "pos": [715, 280], + "id": 2103823744920160, + "pos": [715, 302], "mode": 0, - "size": [240, 86], + "size": [400, 236], "type": "CLIPTextEncode", "flags": {}, "order": 0, @@ -268,17 +253,17 @@ "properties": {}, "widgets_values": [null] }, - "node_id": 2559261621971657, + "node_id": 2103823744920160, "class_type": "CLIPTextEncode" }, { "op": "add_node", - "pos": [715, 406], + "pos": [715, 608], "node": { - "id": 2214070360209981, - "pos": [715, 406], + "id": 2869331123916993, + "pos": [715, 608], "mode": 0, - "size": [240, 86], + "size": [400, 236], "type": "CLIPTextEncode", "flags": {}, "order": 0, @@ -299,13 +284,13 @@ "properties": {}, "widgets_values": [null] }, - "node_id": 2214070360209981, + "node_id": 2869331123916993, "class_type": "CLIPTextEncode" }, { "op": "connect", - "link_id": 879068618000012, - "to_node": 2559261621971657, + "link_id": 3132592127369732, + "to_node": 2103823744920160, "to_slot": 0, "from_node": 4, "from_slot": 1, @@ -313,38 +298,61 @@ }, { "op": "connect", - "link_id": 3832075311322831, - "to_node": 2214070360209981, + "link_id": 390760452144824, + "to_node": 2869331123916993, "to_slot": 0, "from_node": 4, "from_slot": 1, "link_type": "CLIP" } ], - "at_ms": 5208 + "at_ms": 364 }, { "kind": "event", "event": { "type": "agent_tool_call", "data": { - "duration_ms": 199, + "doc_lineage_seq": 2, + "doc_seq": 3, + "duration_ms": 363, "status": "success", - "tool_call_id": "toolu_01PhJ8AyewzRU6PHk7aFGfbC", - "tool_name": "apply_ops" + "tool_call_id": "toolu_01N4xc9UEYPCGdNS48rFUgdF", + "tool_name": "apply_ops", + "workflow_id": "cc8d4ec5-045b-447e-be0c-712a6e736f0a" + } + }, + "at_ms": 364 + }, + { + "kind": "event", + "event": { + "type": "agent_message_draft", + "data": { + "text": "I" + } + }, + "at_ms": 4989 + }, + { + "kind": "event", + "event": { + "type": "agent_thinking", + "data": { + "delta": "I should double check the wiring is correct, maybe add a quick print statement to confirm before moving on.\n\n" } }, - "at_ms": 5208 + "at_ms": 4993 }, { "kind": "event", "event": { "type": "agent_message_delta", "data": { - "delta": "Done — I'm now on your \"Text to image\" tab, and both new text prompt nodes are on the canvas with their CLIP inputs wired from the checkpoint loader. They're not connected to anything downstream yet, so tell me if you'd like one hooked up as a negative prompt." + "delta": "I didn't need to switch tabs: you're already working in \"Text to image.\" In one batched call I added two new CLIP Text Encode (Prompt) nodes (#2103823744920160 and #2869331123916993) and connected the CLIP output of Load Checkpoint (#4) to both of their CLIP inputs.\n\nTheir prompt text is empty, and their outputs aren't connected to anything yet." } }, - "at_ms": 7784 + "at_ms": 4994 }, { "kind": "event", @@ -352,15 +360,15 @@ "type": "agent_message_done", "data": { "usage": { - "cache_creation_input_tokens": 1437, - "cache_read_input_tokens": 153211, - "input_tokens": 8, - "output_tokens": 574, - "total_tokens": 582 + "input_tokens": 6, + "output_tokens": 488, + "total_tokens": 494, + "cache_read_input_tokens": 110879, + "cache_creation_input_tokens": 1467 } } }, - "at_ms": 7786 + "at_ms": 4996 } ] } diff --git a/browser_tests/fixtures/data/agent/conversations/repro/pm-2147-extension-change-card.json b/browser_tests/fixtures/data/agent/conversations/repro/pm-2147-extension-change-card.json new file mode 100644 index 00000000000..29e4d7f88cd --- /dev/null +++ b/browser_tests/fixtures/data/agent/conversations/repro/pm-2147-extension-change-card.json @@ -0,0 +1,93 @@ +{ + "schema_version": "agent-conversation.v2", + "source": { + "repo": "Comfy-Org/ComfyUI_frontend", + "suite": "agent", + "case_id": "pm-2147-extension-change-card", + "response_side": "synthesized", + "note": "SYNTHESIZED, not a cloud capture: hand-authored for PM-2147 / FRONT-3476. The local agent turns off a node pack it made with set_extension_enabled, which broadcasts agent_extension_changed between the tool call and the reply text. No graph operations, so the workflow seed is empty. Lives under conversations/repro/ so listRecordedConversations() does not pick it up." + }, + "workflow": { + "id": "6c1f0e9a-3b2d-4c5e-8f7a-1d2e3f4a5b6c", + "name": "Cushion nodes", + "catalog": { + "types": {} + }, + "seed": { + "nodes": [], + "links": [] + } + }, + "turns": [ + { + "message_id": "9a7c5e3b-1f2d-4e6a-8b9c-0d1e2f3a4b5c", + "request": { + "content": "Turn off the cushion pack you made." + }, + "response": [ + { + "kind": "event", + "event": { + "type": "agent_tool_call", + "data": { + "tool_call_id": "call_toggle", + "tool_name": "set_extension_enabled", + "status": "running" + } + }, + "at_ms": 0 + }, + { + "kind": "event", + "event": { + "type": "agent_extension_changed", + "data": { + "action": "disabled", + "pack": "comfy-cushions", + "agent_created": true, + "restart_required": true + } + }, + "at_ms": 300 + }, + { + "kind": "event", + "event": { + "type": "agent_tool_call", + "data": { + "tool_call_id": "call_toggle", + "tool_name": "set_extension_enabled", + "status": "success", + "duration_ms": 320 + } + }, + "at_ms": 320 + }, + { + "kind": "event", + "event": { + "type": "agent_message_delta", + "data": { + "delta": "I turned off comfy-cushions. Restart ComfyUI when you're ready and your nodes go back to their usual look." + } + }, + "at_ms": 340 + }, + { + "kind": "event", + "event": { + "type": "agent_message_done", + "data": { + "usage": { + "input_tokens": 12, + "output_tokens": 30, + "total_tokens": 42 + } + } + }, + "at_ms": 360 + } + ] + } + ] +} diff --git a/browser_tests/fixtures/data/agent/dynamicComboNode.ts b/browser_tests/fixtures/data/agent/dynamicComboNode.ts index 9c0235764c5..2c482fafbbb 100644 --- a/browser_tests/fixtures/data/agent/dynamicComboNode.ts +++ b/browser_tests/fixtures/data/agent/dynamicComboNode.ts @@ -1,4 +1,4 @@ -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' export const DYNAMIC_COMBO_CLASS = 'DynamicModePicker' diff --git a/browser_tests/fixtures/data/agent/inputOrder.ts b/browser_tests/fixtures/data/agent/inputOrder.ts index c391a9e3077..b9a0c9afbf9 100644 --- a/browser_tests/fixtures/data/agent/inputOrder.ts +++ b/browser_tests/fixtures/data/agent/inputOrder.ts @@ -1,7 +1,7 @@ import type { Size2D } from '@comfyorg/shared-frontend-utils/geometry' import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' export const workflowId = 'ac09c341-fc48-4860-9dc4-294950cb8705' export const threadId = 'c7f41995-964b-4ba9-9bfb-fdc972ad12bc' diff --git a/browser_tests/fixtures/data/agent/overflowWidgetPlainNode.ts b/browser_tests/fixtures/data/agent/overflowWidgetPlainNode.ts index f363e590254..c1d0e21a651 100644 --- a/browser_tests/fixtures/data/agent/overflowWidgetPlainNode.ts +++ b/browser_tests/fixtures/data/agent/overflowWidgetPlainNode.ts @@ -1,6 +1,6 @@ import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef, InputSpec } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef, InputSpec } from '@comfyorg/object-info-parser' import overflowPlainWorkflow from '@e2e/assets/agent/overflow-widget-plain-node.json' with { type: 'json' } diff --git a/browser_tests/fixtures/data/agentReplayNodeDefs.ts b/browser_tests/fixtures/data/agentReplayNodeDefs.ts index 6a75edc69a8..c572b9dedc7 100644 --- a/browser_tests/fixtures/data/agentReplayNodeDefs.ts +++ b/browser_tests/fixtures/data/agentReplayNodeDefs.ts @@ -1,4 +1,4 @@ -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' type RequiredInputs = NonNullable< NonNullable['required'] diff --git a/browser_tests/fixtures/data/autogrowThenMaskNodeDef.ts b/browser_tests/fixtures/data/autogrowThenMaskNodeDef.ts index 34742a8909e..44aef2f10c5 100644 --- a/browser_tests/fixtures/data/autogrowThenMaskNodeDef.ts +++ b/browser_tests/fixtures/data/autogrowThenMaskNodeDef.ts @@ -1,4 +1,4 @@ -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' export const AUTOGROW_THEN_MASK_NODE_TYPE = 'AutogrowThenMaskTestNode' diff --git a/browser_tests/fixtures/data/byteDanceReferenceNodeDef.ts b/browser_tests/fixtures/data/byteDanceReferenceNodeDef.ts index 15b4d0b80b4..8a974a63152 100644 --- a/browser_tests/fixtures/data/byteDanceReferenceNodeDef.ts +++ b/browser_tests/fixtures/data/byteDanceReferenceNodeDef.ts @@ -1,4 +1,4 @@ -import type { ComfyNodeDef, InputSpec } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef, InputSpec } from '@comfyorg/object-info-parser' export const BYTEDANCE_REFERENCE_NODE_TYPE = 'ByteDance2ReferenceNode' diff --git a/browser_tests/fixtures/data/cloudWorkspace.ts b/browser_tests/fixtures/data/cloudWorkspace.ts index 98d123e3bfb..2316b34579b 100644 --- a/browser_tests/fixtures/data/cloudWorkspace.ts +++ b/browser_tests/fixtures/data/cloudWorkspace.ts @@ -15,8 +15,8 @@ import { createPlan } from '@e2e/fixtures/data/billingPlans' export const CLOUD_REMOTE_CONFIG: RemoteConfig = {} -export const LEGACY_PERSONAL_BILLING_STATUS = { - billing_rail: 'legacy_stripe', +export const PERSONAL_BILLING_STATUS = { + billing_rail: 'stripe', billing_status: 'inactive', has_funds: true, is_active: false, @@ -26,7 +26,8 @@ export const LEGACY_PERSONAL_BILLING_STATUS = { subscription_tier: 'FREE', ended_at: null, team_credit_stop: null, - scheduled_change: null + scheduled_change: null, + next_charge: null } satisfies IngestBillingStatusResponse export const EMPTY_BILLING_BALANCE = { @@ -113,6 +114,7 @@ export const TEAM_BILLING_STATUS = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, max_seats: 30, occupied_seats: DEFAULT_TEAM_MEMBERS.length } satisfies IngestBillingStatusResponse @@ -129,6 +131,7 @@ export const ENDED_STANDARD_BILLING_STATUS = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, max_seats: 1, occupied_seats: 1 } satisfies IngestBillingStatusResponse & { billing_rail: 'stripe' } diff --git a/browser_tests/fixtures/data/customerEvents.ts b/browser_tests/fixtures/data/customerEvents.ts index de03dbf090e..797b68ad0d1 100644 --- a/browser_tests/fixtures/data/customerEvents.ts +++ b/browser_tests/fixtures/data/customerEvents.ts @@ -1,14 +1,11 @@ -import type { operations } from '@comfyorg/registry-types' - -type CustomerEventsResponse = - operations['GetCustomerEvents']['responses']['200']['content']['application/json'] +import type { BillingEventsResponse } from '@comfyorg/ingest-types' /** Badge text the Activity table renders for each mocked event. */ export const AGENT_USAGE_EVENT_TYPE = 'Agent Usage' export const PARTNER_NODE_USAGE_EVENT_TYPE = 'Partner Node Usage' export const API_USAGE_EVENT_TYPE = 'API Usage' -/** `/customers/events` page with whole, sub-credit and non-numeric `charge_micro_usd`. */ +/** `/api/billing/events` page with whole, sub-credit and non-numeric `charge_micro_usd`. */ export const AGENT_USAGE_CUSTOMER_EVENTS = { events: [ { @@ -45,4 +42,4 @@ export const AGENT_USAGE_CUSTOMER_EVENTS = { limit: 7, total: 3, totalPages: 1 -} satisfies CustomerEventsResponse +} satisfies BillingEventsResponse diff --git a/browser_tests/fixtures/data/retentionFlow.ts b/browser_tests/fixtures/data/retentionFlow.ts index b85e256e6ec..99ba5e3f023 100644 --- a/browser_tests/fixtures/data/retentionFlow.ts +++ b/browser_tests/fixtures/data/retentionFlow.ts @@ -22,6 +22,7 @@ export const PERSONAL_PRO_BILLING_STATUS = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, max_seats: 1, occupied_seats: 1 } satisfies BillingStatusResponse diff --git a/browser_tests/fixtures/data/subscriptionFixtures.ts b/browser_tests/fixtures/data/subscriptionFixtures.ts index 2f7ba5e34e7..2cf7a2adfe9 100644 --- a/browser_tests/fixtures/data/subscriptionFixtures.ts +++ b/browser_tests/fixtures/data/subscriptionFixtures.ts @@ -12,12 +12,13 @@ export function createSubscriptionStatus( is_active: false, subscription_tier: 'FREE', has_funds: false, - billing_rail: 'legacy_stripe', + billing_rail: 'stripe', max_seats: 0, occupied_seats: 0, ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, ...overrides } } diff --git a/browser_tests/fixtures/data/workspaceSwitcher.ts b/browser_tests/fixtures/data/workspaceSwitcher.ts index b686773229f..820e243ea1b 100644 --- a/browser_tests/fixtures/data/workspaceSwitcher.ts +++ b/browser_tests/fixtures/data/workspaceSwitcher.ts @@ -48,17 +48,14 @@ export const WORKSPACE_SWITCHER_WORKSPACES: WorkspaceWithRole[] = [ export function createManyWorkspacesResponse(): WorkspaceWithRole[] { return [ ...WORKSPACE_SWITCHER_WORKSPACES, - ...Array.from( - { length: 19 }, - (_, i): WorkspaceWithRole => ({ - id: `ws-many-${i}`, - name: `Team ${i}`, - type: 'team', - created_at: '2026-01-04T00:00:00Z', - joined_at: '2026-01-04T00:00:00Z', - role: 'member' - }) - ), + ...Array.from({ length: 19 }, (_, i): WorkspaceWithRole => ({ + id: `ws-many-${i}`, + name: `Team ${i}`, + type: 'team', + created_at: '2026-01-04T00:00:00Z', + joined_at: '2026-01-04T00:00:00Z', + role: 'member' + })), { id: 'ws-off-screen', name: OFF_SCREEN_WORKSPACE_NAME, diff --git a/browser_tests/fixtures/helpers/NodeReplacementHelper.ts b/browser_tests/fixtures/helpers/NodeReplacementHelper.ts index 7f76688b492..75b4de931bb 100644 --- a/browser_tests/fixtures/helpers/NodeReplacementHelper.ts +++ b/browser_tests/fixtures/helpers/NodeReplacementHelper.ts @@ -1,23 +1,10 @@ import type { Locator, Page } from '@playwright/test' +import { expect } from '@playwright/test' import type { ComfyPage } from '@e2e/fixtures/ComfyPage' import { TestIds } from '@e2e/fixtures/selectors' import type { NodeReplacementResponse } from '@/platform/workflowErrors/nodeReplacement/types' -/** - * Mock `/api/node_replacements` and enable the node replacement feature. - * - * Unlike features that only consult settings (e.g. shareWorkflowDialog, - * managerDialog), node replacement gates on `api.serverFeatureFlags`. The - * server sends a `feature_flags` WS message that wholesale replaces - * `serverFeatureFlags`, racing with any test-side override done via - * `page.evaluate`. To make the flow deterministic across CI shards, this - * helper patches `WebSocket.prototype` so every incoming `feature_flags` - * message has `node_replacements: true` injected before the api's WS - * handler sees it. Reload the page so the patched WebSocket and persisted - * settings apply to a fresh app boot, then wait for the resulting - * `/api/node_replacements` fetch before returning. - */ export async function setupNodeReplacement( comfyPage: ComfyPage, replacements: NodeReplacementResponse @@ -56,7 +43,7 @@ export async function setupNodeReplacement( return listener.call(this, patched) } } catch { - // not JSON or not a feature_flags message - pass through + return listener.call(this, event) } } return listener.call(this, event) @@ -72,14 +59,14 @@ export async function setupNodeReplacement( } }) - const fetchPromise = comfyPage.page.waitForResponse( - (response) => - response.url().includes('/api/node_replacements') && response.ok(), - { timeout: 10000 } - ) - await comfyPage.workflow.reloadAndWaitForApp() - await fetchPromise + await expect + .poll(() => + comfyPage.page.evaluate(() => + window.app!.api.getServerFeature('node_replacements', false) + ) + ) + .toBe(true) } export function getSwapNodesGroup(page: Page): Locator { diff --git a/browser_tests/fixtures/helpers/SubscriptionHelper.ts b/browser_tests/fixtures/helpers/SubscriptionHelper.ts index 3e1da0e3bf6..e102badc1c1 100644 --- a/browser_tests/fixtures/helpers/SubscriptionHelper.ts +++ b/browser_tests/fixtures/helpers/SubscriptionHelper.ts @@ -1,10 +1,6 @@ import { expect } from '@playwright/test' import type { Page, Route } from '@playwright/test' -import { - PENDING_SUBSCRIPTION_CHECKOUT_EVENT, - PENDING_SUBSCRIPTION_CHECKOUT_STORAGE_KEY -} from '@/platform/billing/subscription/utils/subscriptionCheckoutTracker' import type { BillingStatusResponse } from '@comfyorg/billing-core' import type { RemoteConfig } from '@/platform/remoteConfig/types' import { @@ -126,40 +122,6 @@ export class SubscriptionHelper { } this.routeHandlers.push({ pattern: statusPattern, handler: statusHandler }) await this.page.route(statusPattern, statusHandler) - - const balancePattern = '**/customers/balance' - const balanceHandler = async (route: Route) => { - await route.fulfill({ json: this.balanceResponse }) - } - this.routeHandlers.push({ - pattern: balancePattern, - handler: balanceHandler - }) - await this.page.route(balancePattern, balanceHandler) - - const checkoutPattern = '**/customers/cloud-subscription-checkout**' - const checkoutHandler = async (route: Route) => { - await route.fulfill({ - json: { checkout_url: 'https://checkout.stripe.com/mock' } - }) - } - this.routeHandlers.push({ - pattern: checkoutPattern, - handler: checkoutHandler - }) - await this.page.route(checkoutPattern, checkoutHandler) - - const billingPortalPattern = '**/customers/billing' - const billingPortalHandler = async (route: Route) => { - await route.fulfill({ - json: { billing_portal_url: 'https://billing.example/portal' } - }) - } - this.routeHandlers.push({ - pattern: billingPortalPattern, - handler: billingPortalHandler - }) - await this.page.route(billingPortalPattern, billingPortalHandler) } configure(...operators: SubscriptionOperator[]): void { @@ -181,44 +143,6 @@ export class SubscriptionHelper { this.balanceResponse = { ...this.balanceResponse, ...overrides } } - /** - * Seed localStorage with a pending checkout attempt so that - * `recoverPendingSubscriptionCheckout` triggers a status re-fetch on - * the next `visibilitychange` event. Must be called after navigation. - */ - async seedPendingCheckout( - tier: string = 'standard', - cycle: string = 'monthly' - ): Promise { - const storageKey = PENDING_SUBSCRIPTION_CHECKOUT_STORAGE_KEY - await this.page.evaluate( - ([key, t, c]) => { - localStorage.setItem( - key, - JSON.stringify({ - attempt_id: `test-${Date.now()}`, - started_at_ms: Date.now(), - tier: t, - cycle: c, - checkout_type: 'new' - }) - ) - }, - [storageKey, tier, cycle] as const - ) - } - - /** - * Notify the app that a pending checkout attempt needs to be recovered. - */ - async triggerSubscriptionRefetch(): Promise { - const eventName = PENDING_SUBSCRIPTION_CHECKOUT_EVENT - await this.page.evaluate( - (name) => window.dispatchEvent(new Event(name)), - eventName - ) - } - /** * Open the user popover and return its locator after verifying visibility. * Uses `dispatchEvent` to bypass Playwright's actionability check — a diff --git a/browser_tests/fixtures/helpers/WorkflowHelper.ts b/browser_tests/fixtures/helpers/WorkflowHelper.ts index 4657e723bb1..7ca3c40d017 100644 --- a/browser_tests/fixtures/helpers/WorkflowHelper.ts +++ b/browser_tests/fixtures/helpers/WorkflowHelper.ts @@ -288,6 +288,16 @@ export class WorkflowHelper { await this.waitForWorkflowIdle() } + /** A saved workflow's tab, opened and confirmed unmodified with no `*` title. */ + async expectTabOpensAsSaved(tabName: string): Promise { + await this.switchToTab(tabName) + await expect + .poll(() => this.comfyPage.menu.topbar.getActiveTabName()) + .toBe(tabName) + await expect.poll(() => this.isCurrentWorkflowModified()).toBe(false) + await expect.poll(() => this.comfyPage.page.title()).not.toMatch(/^\*/) + } + /** Node ids on the live graph, read from LiteGraph rather than the DOM. */ getGraphNodeIds(): Promise { return this.comfyPage.page.evaluate(() => diff --git a/browser_tests/fixtures/utils/cloudBillingMocks.ts b/browser_tests/fixtures/utils/cloudBillingMocks.ts index 33b22b371c2..47b6f575588 100644 --- a/browser_tests/fixtures/utils/cloudBillingMocks.ts +++ b/browser_tests/fixtures/utils/cloudBillingMocks.ts @@ -27,7 +27,8 @@ export const DEFAULT_BILLING_STATUS: BillingStatusResponse = { occupied_seats: 1, ended_at: null, team_credit_stop: null, - scheduled_change: null + scheduled_change: null, + next_charge: null } /** @@ -60,7 +61,4 @@ export async function mockBilling( await page.route('**/api/billing/plans', (r) => r.fulfill(jsonRoute({ plans: [] })) ) - await page.route('**/customers/balance', (r) => - r.fulfill(jsonRoute({ amount_micros: 0, currency: 'usd' })) - ) } diff --git a/browser_tests/fixtures/utils/cloudBootMocks.ts b/browser_tests/fixtures/utils/cloudBootMocks.ts index 36b147f6be9..f09bccda913 100644 --- a/browser_tests/fixtures/utils/cloudBootMocks.ts +++ b/browser_tests/fixtures/utils/cloudBootMocks.ts @@ -1,7 +1,7 @@ import type { Page } from '@playwright/test' import type { RemoteConfig } from '@/platform/remoteConfig/types' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { mockSystemStats } from '@e2e/fixtures/data/systemStats' import { CloudAuthHelper } from '@e2e/fixtures/helpers/CloudAuthHelper' diff --git a/browser_tests/fixtures/utils/imageLoadSpy.ts b/browser_tests/fixtures/utils/imageLoadSpy.ts new file mode 100644 index 00000000000..2cd513e0819 --- /dev/null +++ b/browser_tests/fixtures/utils/imageLoadSpy.ts @@ -0,0 +1,56 @@ +import type { Page } from '@playwright/test' + +type TrackedImage = { src: string; handled: boolean } + +type ImageLoadWindow = Window & { + __trackedImages?: Map + __restoreImageSrc?: () => void +} + +/** Tracks each image's latest `src` and whether all its `load` listeners have run. */ +export async function trackHandledImageLoads(page: Page) { + await page.evaluate(() => { + const w = window as ImageLoadWindow + const src = Object.getOwnPropertyDescriptor( + HTMLImageElement.prototype, + 'src' + )! + const tracked = new Map() + w.__trackedImages = tracked + Object.defineProperty(HTMLImageElement.prototype, 'src', { + ...src, + set(this: HTMLImageElement, value: string) { + const entry = { src: value, handled: false } + tracked.set(this, entry) + this.addEventListener( + 'load', + () => + setTimeout(() => { + entry.handled = true + }), + { once: true } + ) + src.set!.call(this, value) + } + }) + w.__restoreImageSrc = () => + Object.defineProperty(HTMLImageElement.prototype, 'src', src) + }) +} + +/** Counts images whose `src` contains `urlPart`, and how many of them have had their `load` handled. */ +export function imageLoadProgress(page: Page, urlPart: string) { + return page.evaluate((part) => { + const images = [ + ...((window as ImageLoadWindow).__trackedImages?.values() ?? []) + ].filter(({ src }) => src.includes(part)) + return { + started: images.length, + handled: images.filter(({ handled }) => handled).length + } + }, urlPart) +} + +export async function restoreImageSrc(page: Page) { + await page.evaluate(() => (window as ImageLoadWindow).__restoreImageSrc?.()) +} diff --git a/browser_tests/fixtures/utils/liveCloudBillingPolicy.test.ts b/browser_tests/fixtures/utils/liveCloudBillingPolicy.test.ts index 71c5cdbe9d9..d055cf38ec4 100644 --- a/browser_tests/fixtures/utils/liveCloudBillingPolicy.test.ts +++ b/browser_tests/fixtures/utils/liveCloudBillingPolicy.test.ts @@ -25,7 +25,6 @@ describe('live Cloud mutation policy', () => { { method: 'POST', path: '/api/auth/session', allowed: true }, { method: 'POST', path: '/api/billing/subscribe', allowed: false }, { method: 'POST', path: '/api/billing/payment-portal', allowed: false }, - { method: 'POST', path: '/customers/credit', allowed: false }, { method: 'DELETE', path: '/customers', allowed: false }, { method: 'PATCH', path: '/api/billing/payment-methods', allowed: false }, { method: 'PUT', path: '/api/billing/subscription', allowed: false }, diff --git a/browser_tests/fixtures/utils/objectInfo.ts b/browser_tests/fixtures/utils/objectInfo.ts index cd9c26f81b7..bc0855c8647 100644 --- a/browser_tests/fixtures/utils/objectInfo.ts +++ b/browser_tests/fixtures/utils/objectInfo.ts @@ -4,13 +4,13 @@ import { getComboSpecComboOptions, isComboInputSpec, isComboInputSpecV1 -} from '@/schemas/nodeDefSchema' +} from '@comfyorg/object-info-parser' import type { ComboInputSpec, ComboInputSpecV2, InputSpec, ObjectInfoResponse -} from '@/schemas/nodeDefSchema' +} from '@comfyorg/object-info-parser' type ComboInput = ComboInputSpec | ComboInputSpecV2 diff --git a/browser_tests/fixtures/utils/screenshotRegion.ts b/browser_tests/fixtures/utils/screenshotRegion.ts index 6a7351da12a..5b1edb013d0 100644 --- a/browser_tests/fixtures/utils/screenshotRegion.ts +++ b/browser_tests/fixtures/utils/screenshotRegion.ts @@ -74,6 +74,9 @@ export async function screenshotRegion( { padding = 24 }: RegionOptions = {} ): Promise { if (targets.length === 0) throw new Error('No targets to frame') + await page.evaluate(async () => { + await document.fonts.ready + }) let clip = await enclosingRect(targets, padding) await expect .poll( diff --git a/browser_tests/fixtures/utils/statusRetryRoutes.ts b/browser_tests/fixtures/utils/statusRetryRoutes.ts new file mode 100644 index 00000000000..a4b21aeb904 --- /dev/null +++ b/browser_tests/fixtures/utils/statusRetryRoutes.ts @@ -0,0 +1,62 @@ +import type { ErrorResponse } from '@comfyorg/ingest-types' +import type { Page, Request, Route } from '@playwright/test' + +const CAPABILITIES_PATH = '/api/billing/capabilities' +export const CAPABILITIES_ROUTE = `**${CAPABILITIES_PATH}` +export const STATUS_RETRY_PROBE_ROUTE = '**/api/status-retry-probe' + +const SERVICE_UNAVAILABLE: ErrorResponse = { + code: 'service_unavailable', + message: 'Temporarily unavailable, please retry' +} + +/** Answers a request with a retryable 503. */ +export function fulfillUnavailable(route: Route): Promise { + return route.fulfill({ status: 503, json: SERVICE_UNAVAILABLE }) +} + +/** Records every capabilities request whose response has finished downloading. */ +export function recordFinishedCapabilityReads(page: Page): Request[] { + const reads: Request[] = [] + page.on('requestfinished', (request) => { + if (new URL(request.url()).pathname.endsWith(CAPABILITIES_PATH)) + reads.push(request) + }) + return reads +} + +/** Routes GETs on `routeGlob` to 503 for the first `unavailableCount` answers, recording each GET. */ +export async function routeUnavailableGets( + page: Page, + routeGlob: string, + unavailableCount: number, + recovered: (route: Route) => Promise = (route) => route.fallback() +): Promise { + const gets: Request[] = [] + await page.route(routeGlob, (route) => { + if (route.request().method() !== 'GET') return route.fallback() + gets.push(route.request()) + return gets.length <= unavailableCount + ? fulfillUnavailable(route) + : recovered(route) + }) + return gets +} + +/** Sends one request through the app's own transport and returns its final status. */ +export function fetchThroughApp( + page: Page, + route: string, + method: 'GET' | 'POST' +): Promise { + return page.evaluate( + async ({ route, method }) => { + const response = await window.app!.api.fetchApi(route, { + method, + body: method === 'POST' ? '{}' : undefined + }) + return response.status + }, + { route, method } + ) +} diff --git a/browser_tests/fixtures/workspaceRailAuthFixture.ts b/browser_tests/fixtures/workspaceRailAuthFixture.ts index 3c11964c356..b2dd70d9691 100644 --- a/browser_tests/fixtures/workspaceRailAuthFixture.ts +++ b/browser_tests/fixtures/workspaceRailAuthFixture.ts @@ -9,23 +9,11 @@ import { createSubscriptionHelper, withUnsubscribed } from '@e2e/fixtures/helpers/SubscriptionHelper' -import type { SubscriptionOperator } from '@e2e/fixtures/helpers/SubscriptionHelper' import { mockWorkspace, workspace } from '@e2e/fixtures/utils/workspaceMocks' type CreateCustomerResponse = operations['createCustomer']['responses']['201']['content']['application/json'] -// The subscription fixture pins billing_rail to legacy_stripe, which routes -// local billing through the legacy rail and its Local exemption from the -// subscription gate. The 1.51 QA finding #11 (no way to add credits without -// an active subscription) only reproduces on the workspace rail, so this -// fixture overrides the rail; localAuthFixture keeps the legacy-rail -// coverage. -const onWorkspaceRail: SubscriptionOperator = (config) => ({ - ...config, - status: { ...config.status, billing_rail: 'stripe' } -}) - /** * Boots the local (non-Cloud) build as a logged-in unsubscribed workspace * owner on the workspace billing rail. See localAuthFixture for the boot @@ -69,8 +57,7 @@ export const workspaceRailAuthFixture = base.extend<{ comfyPage: ComfyPage }>({ ) const subscriptionHelper = createSubscriptionHelper( page, - withUnsubscribed(), - onWorkspaceRail + withUnsubscribed() ) await subscriptionHelper.mock() diff --git a/browser_tests/tests/agent/agentAfterConfigureWidgetProvenance.spec.ts b/browser_tests/tests/agent/agentAfterConfigureWidgetProvenance.spec.ts new file mode 100644 index 00000000000..d40829ef24f --- /dev/null +++ b/browser_tests/tests/agent/agentAfterConfigureWidgetProvenance.spec.ts @@ -0,0 +1,57 @@ +import { expect } from '@playwright/test' + +import { agentConversationTest as test } from '@e2e/fixtures/agentConversationFixture' + +test.describe( + 'PM-2438: afterConfigureGraph widget provenance', + { + tag: ['@cloud', '@agent', '@canvas', '@vue-nodes', '@widget'], + annotation: { + type: 'issue', + description: 'https://linear.app/comfy/issue/PM-2438' + } + }, + () => { + test.use({ + conversationCase: 'agent-rec-text-only-answer', + humanOpsHost: 'apply', + crdtDebugEnabled: true + }) + + test('keeps a load-time extension widget write out of the bound Agent document', async ({ + agentConversation, + comfyPage, + page + }) => { + await agentConversation.runTurns() + + await page.evaluate(() => { + window.app!.registerExtension({ + name: 'PM2438.afterConfigureWidgetWrite', + afterConfigureGraph() { + const sampler = window.app!.graph.findNodesByType('KSampler')[0] + const steps = sampler.widgets?.find( + (widget) => widget.name === 'steps' + ) + if (steps) steps.value = 47 + } + }) + }) + + await comfyPage.workflow.loadWorkflow('nodes/single_ksampler') + + await expect( + agentConversation.vueNodes + .getNodeLocator('3') + .getByLabel('steps', { exact: true }) + .getByRole('spinbutton') + ).toHaveValue('47') + + await page.getByTestId('crdt-dev-panel-tab-log').click() + await page + .getByTestId('crdt-dev-panel-filter') + .selectOption('mint_divergence') + await expect(page.getByTestId('crdt-dev-panel-log')).toBeEmpty() + }) + } +) diff --git a/browser_tests/tests/agent/agentAttachedWorkflowImport.spec.ts b/browser_tests/tests/agent/agentAttachedWorkflowImport.spec.ts new file mode 100644 index 00000000000..4316e8d0ee3 --- /dev/null +++ b/browser_tests/tests/agent/agentAttachedWorkflowImport.spec.ts @@ -0,0 +1,53 @@ +import { expect } from '@playwright/test' + +import { agentAttachedWorkflowImportTest as test } from '@e2e/tests/agent/agentAttachedWorkflowImportFixture' + +test( + 'imports an attached workflow into the Agent result without replacing the active canvas', + { tag: ['@cloud', '@agent', '@canvas', '@vue-nodes'] }, + async ({ attachedWorkflowImport }) => { + const { + activeCanvasNode, + agentPanel, + attachedSourceNode, + attachmentName, + expectedRequest, + importedName, + importedResultNode, + topbar, + userRequest + } = attachedWorkflowImport + + await attachedWorkflowImport.attachWorkflow() + await expect(agentPanel.attachmentChip(attachmentName)).toBeVisible() + await attachedWorkflowImport.sendTurn() + + await expect(agentPanel.userMessageBubbles).toHaveText([userRequest]) + await expect(agentPanel.stopButton).toBeVisible() + expect(await attachedWorkflowImport.postedTurn()).toMatchObject( + expectedRequest + ) + await expect(activeCanvasNode).toBeVisible() + await expect(attachedSourceNode).toHaveCount(0) + await expect(importedResultNode).toHaveCount(0) + await expect(topbar.getActiveTab()).toContainText('Unsaved Workflow') + + await attachedWorkflowImport.openImportedResult() + + await expect(importedResultNode).toBeVisible() + await expect(attachedSourceNode).toHaveCount(0) + await expect(topbar.getActiveTab()).toContainText(importedName) + await expect(topbar.tabs).toHaveCount(2) + await expect(activeCanvasNode).toHaveCount(0) + + await topbar.getTab(0).click() + await expect(topbar.getTab(0).and(topbar.getActiveTab())).toBeVisible() + await expect(activeCanvasNode).toBeVisible() + await expect(importedResultNode).toHaveCount(0) + + await topbar.getTab(1).click() + await expect(topbar.getTab(1).and(topbar.getActiveTab())).toBeVisible() + await expect(importedResultNode).toBeVisible() + await expect(activeCanvasNode).toHaveCount(0) + } +) diff --git a/browser_tests/tests/agent/agentAttachedWorkflowImportFixture.ts b/browser_tests/tests/agent/agentAttachedWorkflowImportFixture.ts new file mode 100644 index 00000000000..d901e151453 --- /dev/null +++ b/browser_tests/tests/agent/agentAttachedWorkflowImportFixture.ts @@ -0,0 +1,281 @@ +import { expect } from '@playwright/test' +import type { Locator, Page, Request } from '@playwright/test' + +import type { + AgentPostMessageRequest, + AgentRunMode, + UploadImageResponse +} from '@comfyorg/ingest-types' +import { zAgentPostMessageRequest } from '@comfyorg/ingest-types/zod' +import type { WorkflowJSON } from '@comfyorg/comfy-multi-player' +import type { ComfyWorkflowJSON } from '@comfyorg/graph-model/workflowSchema' + +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' +import type { AgentTurnAccepted } from '@/workbench/extensions/agent/schemas/agentApiSchema' + +import { AgentFollowerHostSocket } from '@e2e/fixtures/agentFollowerHostSocket' +import { HostDoc } from '@e2e/fixtures/agentConversationHostDoc' +import { + agentTest, + bootAgentApp, + loadIntoBootWorkflow, + mockWorkflowPersistence +} from '@e2e/fixtures/agentPanelFixture' +import { AgentPanel } from '@e2e/fixtures/components/AgentPanel' +import { Topbar } from '@e2e/fixtures/components/Topbar' +import { VueNodeHelpers } from '@e2e/fixtures/VueNodeHelpers' +import { emptyAgentThreadList } from '@e2e/fixtures/data/agent/agentThreadList' +import { jsonRoute } from '@e2e/fixtures/utils/jsonRoute' + +const CURRENT_WORKFLOW_ID = '4d6f7e8a-1b2c-43d5-96e7-8f9a0b1c2d3e' +const IMPORTED_WORKFLOW_ID = '8a7b6c5d-4e3f-4210-9a8b-7c6d5e4f3a2b' +const THREAD_ID = '2c3d4e5f-6a7b-4890-8c9d-0e1f2a3b4c5d' +const MESSAGE_ID = '7e6d5c4b-3a2f-4109-8e7d-6c5b4a3f2e1d' +const IMPORTED_NAME = 'portrait-workflow' +const UPLOADED_REF = 'assets/portrait-workflow.json' +const MARKER_TYPE = 'AttachedWorkflowMarker' +const CURRENT_CANVAS_TITLE = 'Current canvas sentinel' +const ATTACHED_WORKFLOW_TITLE = 'Attached workflow source' +const IMPORTED_RESULT_TITLE = 'Imported workflow result' +const CURRENT_CANVAS_NODE_ID = 11 +const ATTACHED_WORKFLOW_NODE_ID = 41 +const IMPORTED_RESULT_NODE_ID = 71 +const USER_REQUEST = 'Change the attached workflow and open the result.' + +const NODE_DEFINITIONS: Record = { + [MARKER_TYPE]: { + name: MARKER_TYPE, + display_name: 'Attached Workflow Marker', + description: '', + category: 'testing', + python_module: 'testing', + output_node: false, + input: { required: {} }, + output: [], + output_is_list: [], + output_name: [] + } +} + +function markerWorkflow( + id: number, + title: string +): WorkflowJSON & ComfyWorkflowJSON { + return { + last_node_id: id, + last_link_id: 0, + nodes: [ + { + id, + type: MARKER_TYPE, + title, + pos: [320, 240], + size: [260, 60], + flags: {}, + order: 0, + mode: 0, + inputs: [], + outputs: [], + properties: {} + } + ], + links: [], + groups: [], + config: {}, + extra: {}, + version: 0.4 + } +} + +const CURRENT_WORKFLOW = markerWorkflow( + CURRENT_CANVAS_NODE_ID, + CURRENT_CANVAS_TITLE +) +const ATTACHED_WORKFLOW = markerWorkflow( + ATTACHED_WORKFLOW_NODE_ID, + ATTACHED_WORKFLOW_TITLE +) +const IMPORTED_RESULT = markerWorkflow( + IMPORTED_RESULT_NODE_ID, + IMPORTED_RESULT_TITLE +) + +async function uploadedWorkflow(request: Request): Promise { + const body = request.postDataBuffer() + if (!body) throw new Error('The attached-workflow upload has no body') + const form = await new Response(new Uint8Array(body), { + headers: { 'content-type': request.headers()['content-type'] ?? '' } + }).formData() + const file = form.get('image') + if (!(file instanceof File)) + throw new Error('The attached-workflow upload has no image file') + return JSON.parse(await file.text()) +} + +function hasAttachedWorkflowMarker(value: unknown): boolean { + if (typeof value !== 'object' || value === null || !('nodes' in value)) + return false + if (!Array.isArray(value.nodes)) return false + return value.nodes.some( + (node) => + typeof node === 'object' && + node !== null && + 'id' in node && + node.id === ATTACHED_WORKFLOW_NODE_ID && + 'type' in node && + node.type === MARKER_TYPE && + 'title' in node && + node.title === ATTACHED_WORKFLOW_TITLE + ) +} + +class AgentAttachedWorkflowImportFixture { + public readonly activeCanvasNode: Locator + public readonly agentPanel: AgentPanel + public readonly attachedSourceNode: Locator + public readonly attachmentName = `${IMPORTED_NAME}.json` + public readonly expectedRequest: Pick< + AgentPostMessageRequest, + 'workflow_id' | 'attachments' + > = { + workflow_id: CURRENT_WORKFLOW_ID, + attachments: [UPLOADED_REF] + } + public readonly importedName = IMPORTED_NAME + public readonly importedResultNode: Locator + public readonly topbar: Topbar + public readonly userRequest = USER_REQUEST + + private readonly hostSocket: AgentFollowerHostSocket + private postedTurnValue: AgentPostMessageRequest | Error | undefined + + constructor(private readonly page: Page) { + const host = new HostDoc(IMPORTED_WORKFLOW_ID, IMPORTED_RESULT, { + types: {} + }) + this.hostSocket = new AgentFollowerHostSocket( + page, + IMPORTED_WORKFLOW_ID, + host + ) + const vueNodes = new VueNodeHelpers(page) + this.activeCanvasNode = vueNodes + .getNodeLocator(String(CURRENT_CANVAS_NODE_ID)) + .and(vueNodes.getNodeByTitle(CURRENT_CANVAS_TITLE)) + this.attachedSourceNode = vueNodes + .getNodeLocator(String(ATTACHED_WORKFLOW_NODE_ID)) + .and(vueNodes.getNodeByTitle(ATTACHED_WORKFLOW_TITLE)) + this.importedResultNode = vueNodes + .getNodeLocator(String(IMPORTED_RESULT_NODE_ID)) + .and(vueNodes.getNodeByTitle(IMPORTED_RESULT_TITLE)) + this.agentPanel = new AgentPanel(page) + this.topbar = new Topbar(page) + } + + async setup(agentFlagEnabled: boolean): Promise { + const upload: UploadImageResponse = { + name: UPLOADED_REF, + subfolder: '', + type: 'input' + } + const runMode: AgentRunMode = { + mode: 'ask_approval', + credit_limit: null + } + const accepted: AgentTurnAccepted = { + thread_id: THREAD_ID, + message_id: MESSAGE_ID, + workflow_id: IMPORTED_WORKFLOW_ID + } + + await this.hostSocket.install() + await this.page.route('**/api/experiment/models', (route) => + route.fulfill(jsonRoute([])) + ) + await this.page.route('**/api/agent/threads?*', (route) => + route.fulfill(jsonRoute(emptyAgentThreadList())) + ) + await this.page.route('**/api/agent/run-mode', (route) => + route.fulfill(jsonRoute(runMode)) + ) + await this.page.route('**/api/upload/image', async (route) => { + const uploaded = await uploadedWorkflow(route.request()) + if (!hasAttachedWorkflowMarker(uploaded)) { + return route.fulfill({ + ...jsonRoute({ error: 'Attached workflow marker missing' }), + status: 422 + }) + } + return route.fulfill(jsonRoute(upload)) + }) + await this.page.route('**/api/agent/threads/*/messages', (route) => { + if (route.request().method() !== 'POST') + return route.fulfill(jsonRoute([])) + const parsed = zAgentPostMessageRequest.safeParse( + route.request().postDataJSON() + ) + this.postedTurnValue = parsed.success + ? parsed.data + : new Error(parsed.error.message) + return route.fulfill({ ...jsonRoute(accepted), status: 202 }) + }) + + await bootAgentApp(this.page, agentFlagEnabled, { + objectInfo: NODE_DEFINITIONS, + vueNodes: true, + beforeNavigate: async (page) => { + await mockWorkflowPersistence(page, CURRENT_WORKFLOW_ID) + } + }) + await loadIntoBootWorkflow(this.page, CURRENT_WORKFLOW) + } + + async attachWorkflow(): Promise { + await this.agentPanel.open() + await this.agentPanel.selectWorkflow() + await this.agentPanel.fileInput.setInputFiles({ + name: this.attachmentName, + mimeType: 'application/json', + buffer: Buffer.from(JSON.stringify(ATTACHED_WORKFLOW)) + }) + } + + async sendTurn(): Promise { + await this.agentPanel.sendMessage(USER_REQUEST) + } + + async postedTurn(): Promise { + await expect.poll(() => this.postedTurnValue).toBeDefined() + if (this.postedTurnValue === undefined) + throw new Error('The attached-workflow turn was not posted') + if (this.postedTurnValue instanceof Error) throw this.postedTurnValue + return this.postedTurnValue + } + + async openImportedResult(): Promise { + this.hostSocket.send({ + type: 'agent_active_tab', + data: { + workflow_id: IMPORTED_WORKFLOW_ID, + name: IMPORTED_NAME, + thread_id: THREAD_ID, + message_id: MESSAGE_ID + } + }) + this.hostSocket.send({ + type: 'agent_message_done', + data: { thread_id: THREAD_ID, message_id: MESSAGE_ID, usage: null } + }) + await this.hostSocket.waitForSubscribe() + } +} + +export const agentAttachedWorkflowImportTest = agentTest.extend<{ + attachedWorkflowImport: AgentAttachedWorkflowImportFixture +}>({ + attachedWorkflowImport: async ({ page, agentFlagEnabled }, use) => { + const fixture = new AgentAttachedWorkflowImportFixture(page) + await fixture.setup(agentFlagEnabled) + await use(fixture) + } +}) diff --git a/browser_tests/tests/agent/agentAttachmentUpload.spec.ts b/browser_tests/tests/agent/agentAttachmentUpload.spec.ts index 30aee056b48..b144b595986 100644 --- a/browser_tests/tests/agent/agentAttachmentUpload.spec.ts +++ b/browser_tests/tests/agent/agentAttachmentUpload.spec.ts @@ -8,6 +8,66 @@ import { assetPath } from '@e2e/fixtures/utils/paths' import { agentTest as test } from '@e2e/tests/agent/agentPanelMocks' test.describe('Agent attachment cancellation', { tag: '@cloud' }, () => { + test( + 'starting a new chat releases upload capacity for the next draft', + { + annotation: { + type: 'regression', + description: + 'https://github.com/Comfy-Org/ComfyUI_frontend/pull/21588#discussion_r4378869451' + } + }, + async ({ comfyPage, agentPanel }) => { + const page = comfyPage.page + let releaseUploads = () => {} + const uploadsHeld = new Promise((resolve) => { + releaseUploads = resolve + }) + const uploadsSettled = new Set>() + let uploadCount = 0 + function holdUpload(route: Route) { + uploadCount += 1 + const uploadSettled = uploadsHeld.then(() => route.abort()) + uploadsSettled.add(uploadSettled) + return uploadSettled + } + await page.route('**/api/upload/image', holdUpload) + + try { + await agentPanel.open() + await agentPanel.fileInput.setInputFiles( + Array.from({ length: 3 }, (_, index) => ({ + name: `old-draft-${index}.png`, + mimeType: 'image/png', + buffer: Buffer.from(`old draft ${index}`) + })) + ) + await expect.poll(() => uploadCount).toBe(3) + await expect(agentPanel.attachmentChips).toHaveCount(3) + + await agentPanel.root + .getByRole('button', { + name: enMessages.agent.newChat, + exact: true + }) + .click() + await expect(agentPanel.attachmentChips).toHaveCount(0) + await agentPanel.fileInput.setInputFiles({ + name: 'new-draft.png', + mimeType: 'image/png', + buffer: Buffer.from('new draft') + }) + + await expect(agentPanel.attachmentChip('new-draft.png')).toBeVisible() + await expect.poll(() => uploadCount).toBe(4) + } finally { + releaseUploads() + await Promise.all(uploadsSettled) + await page.unroute('**/api/upload/image', holdUpload) + } + } + ) + test('closing the panel removes a pending upload and preserves a sendable draft', async ({ comfyPage, agentPanel diff --git a/browser_tests/tests/agent/agentBackgroundTabEditsLand.spec.ts b/browser_tests/tests/agent/agentBackgroundTabEditsLand.spec.ts new file mode 100644 index 00000000000..2084a0d9028 --- /dev/null +++ b/browser_tests/tests/agent/agentBackgroundTabEditsLand.spec.ts @@ -0,0 +1,146 @@ +import { expect } from '@playwright/test' + +import { + agentConversationTest as test, + THREAD_ID +} from '@e2e/fixtures/agentConversationFixture' +import { AgentPanel } from '@e2e/fixtures/components/AgentPanel' +import { + BACKGROUND, + BACKGROUND_NODES, + BACKGROUND_TAB_CASE, + backgroundEdits, + backgroundTabChats, + FOREGROUND_NAME, + USER_NOTE_POSITION +} from '@e2e/fixtures/data/agent/backgroundTabEdits' +import { AgentWorkflowChatsMock } from '@e2e/fixtures/helpers/agentWorkflowChats' + +test.describe( + 'Agent edits to a background workflow tab', + { tag: ['@cloud', '@agent', '@vue-nodes'] }, + () => { + test.use({ conversationCase: BACKGROUND_TAB_CASE }) + + test.beforeEach(async ({ agentConversation, page }) => { + test.setTimeout(120_000) + const panel = new AgentPanel(page) + const topbar = agentConversation.topbar + const aRequest = agentConversation.conversation.turns[0].request.content + + await test.step('agent edits workflow A', () => + agentConversation.runTurns()) + + await test.step('workflow B has a saved chat of its own', async () => { + agentConversation.serveWorkflow(BACKGROUND.id, { + ...agentConversation.conversation.workflow.seed, + nodes: [], + links: [] + }) + await new AgentWorkflowChatsMock( + backgroundTabChats({ + id: agentConversation.conversation.workflow.id, + threadId: THREAD_ID, + request: aRequest + }) + ).route(page) + }) + + await test.step('user opens workflow B and its chat', async () => { + await panel.historyButton.click() + await panel.root + .getByRole('button', { name: `${BACKGROUND.name} chat`, exact: true }) + .click() + await expect(panel.userMessageBubbles).toHaveText([BACKGROUND.request]) + await expect( + topbar.getWorkflowTab(BACKGROUND.name).and(topbar.getActiveTab()) + ).toBeVisible() + }) + + await test.step('user returns to A by its tab', async () => { + await topbar.getWorkflowTab(FOREGROUND_NAME).click() + await expect(panel.userMessageBubbles).toHaveText([aRequest]) + }) + }) + + test('are on the canvas when the user returns to that tab', async ({ + agentConversation, + page + }) => { + const panel = new AgentPanel(page) + const topbar = agentConversation.topbar + const aRequest = agentConversation.conversation.turns[0].request.content + + await test.step('user switches to B by its tab', async () => { + await topbar.getWorkflowTab(BACKGROUND.name).click() + await expect(panel.userMessageBubbles).toHaveText([BACKGROUND.request]) + await expect( + topbar.getWorkflowTab(BACKGROUND.name).and(topbar.getActiveTab()) + ).toBeVisible() + }) + + await test.step('agent adds three titled nodes to A while B is shown', () => + agentConversation.applyOpsOnHostUnsent(backgroundEdits())) + + await test.step('returning to A shows every background edit', async () => { + await topbar.getWorkflowTab(FOREGROUND_NAME).click() + await expect( + topbar.getWorkflowTab(FOREGROUND_NAME).and(topbar.getActiveTab()) + ).toBeVisible() + await expect(panel.userMessageBubbles).toHaveText([aRequest]) + for (const { id, title } of BACKGROUND_NODES) + await expect( + agentConversation.vueNodes + .getNodeLocator(String(id)) + .getByTestId('node-title') + ).toHaveText(title) + }) + }) + + test('do not rebind a tab the user edited while its chat was loading', async ({ + agentConversation, + page + }) => { + const panel = new AgentPanel(page) + const topbar = agentConversation.topbar + const subscribesBefore = agentConversation.subscribeCount(BACKGROUND.id) + const transcript = await agentConversation.holdTranscript( + BACKGROUND.threadId + ) + + const noteId = + await test.step('user edits B before its chat loads', async () => { + await topbar.getWorkflowTab(BACKGROUND.name).click() + await transcript.requested + const id = await agentConversation.addNoteThroughSearchBox({ + x: USER_NOTE_POSITION[0], + y: USER_NOTE_POSITION[1] + }) + await expect( + agentConversation.vueNodes.getNodeLocator(id) + ).toBeVisible() + return id + }) + + await test.step('B keeps the edit once its chat loads', async () => { + transcript.release() + await expect(panel.userMessageBubbles).toHaveText([BACKGROUND.request]) + await expect( + agentConversation.vueNodes.getNodeLocator(noteId) + ).toBeVisible() + }) + + await test.step('the next subscribe, to A, finds B never re-subscribed', async () => { + const aId = agentConversation.conversation.workflow.id + const aSubscribes = agentConversation.subscribeCount(aId) + await topbar.getWorkflowTab(FOREGROUND_NAME).click() + await expect + .poll(() => agentConversation.subscribeCount(aId)) + .toBeGreaterThan(aSubscribes) + expect(agentConversation.subscribeCount(BACKGROUND.id)).toBe( + subscribesBefore + ) + }) + }) + } +) diff --git a/browser_tests/tests/agent/agentCatalogRefreshClearsMissingModel.spec.ts b/browser_tests/tests/agent/agentCatalogRefreshClearsMissingModel.spec.ts index 0c4908a4e85..1eba4928a46 100644 --- a/browser_tests/tests/agent/agentCatalogRefreshClearsMissingModel.spec.ts +++ b/browser_tests/tests/agent/agentCatalogRefreshClearsMissingModel.spec.ts @@ -1,6 +1,6 @@ import { expect, mergeTests } from '@playwright/test' -import type { ObjectInfoResponse } from '@/schemas/nodeDefSchema' +import type { ObjectInfoResponse } from '@comfyorg/object-info-parser' import type { AgentWsEvent } from '@/workbench/extensions/agent/schemas/agentApiSchema' import { webSocketFixture } from '@e2e/fixtures/ws' diff --git a/browser_tests/tests/agent/agentComposerPaste.spec.ts b/browser_tests/tests/agent/agentComposerPaste.spec.ts index 8d32ce84e35..c51c22b1f3c 100644 --- a/browser_tests/tests/agent/agentComposerPaste.spec.ts +++ b/browser_tests/tests/agent/agentComposerPaste.spec.ts @@ -1,7 +1,7 @@ import { expect } from '@playwright/test' import type { ComfyWorkflowJSON } from '@comfyorg/graph-model/workflowSchema' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { agentTest as test, diff --git a/browser_tests/tests/agent/agentConversationReplay.spec.ts b/browser_tests/tests/agent/agentConversationReplay.spec.ts index 1b69a3c25c3..3bb3039eb0c 100644 --- a/browser_tests/tests/agent/agentConversationReplay.spec.ts +++ b/browser_tests/tests/agent/agentConversationReplay.spec.ts @@ -186,6 +186,48 @@ test.describe( await expect(page.getByRole('option', { name: 'heun' })).toBeVisible() await expect(sampler).not.toHaveAttribute('aria-invalid') }) + + test('clamps an agent widget edit before refreshing dependent combo options', async ({ + agentConversation, + page + }) => { + test.setTimeout(90_000) + + await agentConversation.sendPrompt(0) + await agentConversation.replayResponse(0, { + beforeFirstGraphOps: () => + page.evaluate((nodeId) => { + const node = window.app!.graph.getNodeById(nodeId) + const steps = node?.widgets?.find( + (widget) => widget.name === 'steps' + ) + if (!steps) throw new Error('KSampler steps widget not found') + steps.options.max = 25 + steps.callback = (_value, _canvas, owner) => { + const sampler = owner?.widgets?.find( + (widget) => widget.name === 'sampler_name' + ) + if (!sampler) + throw new Error('KSampler sampler widget not found') + sampler.options.values = ['euler', 'heun'] + } + }, toNodeId(3)) + }) + await agentConversation.waitForTurnComplete() + + await expect( + agentConversation.vueNodes + .getWidgetByName('KSampler', 'steps') + .getByRole('spinbutton') + ).toHaveValue('25') + + const sampler = agentConversation.vueNodes + .getNodeLocator('3') + .getByRole('combobox', { name: 'sampler_name', exact: true }) + await sampler.click() + await expect(page.getByRole('option', { name: 'heun' })).toBeVisible() + await expect(sampler).not.toHaveAttribute('aria-invalid') + }) }) test.describe('remote apply acceptance', () => { diff --git a/browser_tests/tests/agent/agentConversationReplay.spec.ts-snapshots/two-turn-dependent-edit-wired-cloud-linux.png b/browser_tests/tests/agent/agentConversationReplay.spec.ts-snapshots/two-turn-dependent-edit-wired-cloud-linux.png index 4bb89fb3ea1..fe139fec04a 100644 Binary files a/browser_tests/tests/agent/agentConversationReplay.spec.ts-snapshots/two-turn-dependent-edit-wired-cloud-linux.png and b/browser_tests/tests/agent/agentConversationReplay.spec.ts-snapshots/two-turn-dependent-edit-wired-cloud-linux.png differ diff --git a/browser_tests/tests/agent/agentCrdtRejectedNodeAdd.spec.ts b/browser_tests/tests/agent/agentCrdtRejectedNodeAdd.spec.ts index 74a78748974..08f1e02f04a 100644 --- a/browser_tests/tests/agent/agentCrdtRejectedNodeAdd.spec.ts +++ b/browser_tests/tests/agent/agentCrdtRejectedNodeAdd.spec.ts @@ -4,7 +4,7 @@ import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' import enMessages from '@/locales/en/main.json' with { type: 'json' } -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import type { ComfyWorkflowJSON } from '@comfyorg/graph-model/workflowSchema' import { HostDoc } from '@e2e/fixtures/agentConversationHostDoc' diff --git a/browser_tests/tests/agent/agentDuplicateInsertOpaqueWidgetWrite.spec.ts b/browser_tests/tests/agent/agentDuplicateInsertOpaqueWidgetWrite.spec.ts index 67d5e4fd6f2..ddb3323b0fb 100644 --- a/browser_tests/tests/agent/agentDuplicateInsertOpaqueWidgetWrite.spec.ts +++ b/browser_tests/tests/agent/agentDuplicateInsertOpaqueWidgetWrite.spec.ts @@ -2,7 +2,7 @@ import { expect, mergeTests } from '@playwright/test' import type { Locator, Page, WebSocketRoute } from '@playwright/test' import type { Op, WidgetCatalog } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { BLANK_WORKFLOW, diff --git a/browser_tests/tests/agent/agentDuplicateWidgetOccurrenceFollower.spec.ts b/browser_tests/tests/agent/agentDuplicateWidgetOccurrenceFollower.spec.ts index 971e828d3d6..b0da75d1656 100644 --- a/browser_tests/tests/agent/agentDuplicateWidgetOccurrenceFollower.spec.ts +++ b/browser_tests/tests/agent/agentDuplicateWidgetOccurrenceFollower.spec.ts @@ -1,7 +1,7 @@ import { expect } from '@playwright/test' import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { agentTest as test, diff --git a/browser_tests/tests/agent/agentDynamicComboSetWidgetSilentlyDropped.spec.ts b/browser_tests/tests/agent/agentDynamicComboSetWidgetSilentlyDropped.spec.ts index 0c209c3d483..b84342f5df1 100644 --- a/browser_tests/tests/agent/agentDynamicComboSetWidgetSilentlyDropped.spec.ts +++ b/browser_tests/tests/agent/agentDynamicComboSetWidgetSilentlyDropped.spec.ts @@ -3,7 +3,7 @@ import { expect } from '@playwright/test' import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' import type { WorkflowListResponse } from '@comfyorg/ingest-types' import type { UserDataFullInfo } from '@comfyorg/api-client/types' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import type { GraphOperation } from '@/workbench/extensions/agent/crdt/graphOperations' import type { AgentRunModePreference, diff --git a/browser_tests/tests/agent/agentDynamicComboWidgetWrite.spec.ts b/browser_tests/tests/agent/agentDynamicComboWidgetWrite.spec.ts index 94dee02a505..1b8819055e2 100644 --- a/browser_tests/tests/agent/agentDynamicComboWidgetWrite.spec.ts +++ b/browser_tests/tests/agent/agentDynamicComboWidgetWrite.spec.ts @@ -1,7 +1,7 @@ import { expect } from '@playwright/test' import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import type { ComfyWorkflowJSON } from '@comfyorg/graph-model/workflowSchema' import { HostDoc } from '@e2e/fixtures/agentConversationHostDoc' diff --git a/browser_tests/tests/agent/agentEntryServerLifecycle.spec.ts b/browser_tests/tests/agent/agentEntryServerLifecycle.spec.ts index 6a5b615ca88..55f2af7be54 100644 --- a/browser_tests/tests/agent/agentEntryServerLifecycle.spec.ts +++ b/browser_tests/tests/agent/agentEntryServerLifecycle.spec.ts @@ -10,11 +10,11 @@ const test = mergeTests(agentTest, webSocketFixture) test.describe( "Agent entry button follows ComfyUI's agent", { - tag: '@cloud', + tag: ['@agent', '@ui'], annotation: { type: 'issue', description: - 'https://github.com/Comfy-Org/ComfyUI_frontend/pull/20971: the panel mounts from the agent feature ComfyUI publishes, and unit tests only cover that with a mocked store' + 'https://github.com/Comfy-Org/ComfyUI_frontend/pull/20971: the entry button follows the agent feature ComfyUI publishes, and unit tests only cover that with a mocked store' } }, () => { @@ -24,7 +24,7 @@ test.describe( initialLocalStorage: { 'Comfy.AgentPanel.activationVisits': '2' } }) - test('stays inert while the agent starts or fails, then opens once it is ready', async ({ + test('stays inert while the agent starts or fails, then offers it once it is ready', async ({ page, agentPanel, getWebSocket @@ -65,16 +65,23 @@ test.describe( await expect(failed).toHaveAttribute('aria-pressed', 'false') }) - await test.step('a ready agent opens the panel', async () => { + await test.step('a ready agent offers itself to a signed-out user', async () => { const status: AgentServerFeature = { state: 'ready', reason: null } publish('agent_status', status) await expect(agentPanel.openButton).not.toHaveAttribute( 'aria-disabled', 'true' ) - await expect(agentPanel.root).toHaveCount(0) + await expect(agentPanel.consentDialog).toHaveCount(0) await agentPanel.openButton.click() - await expect(agentPanel.root).toBeVisible() + await expect(agentPanel.consentDialog).toBeVisible() + await expect( + agentPanel.consentDialog.getByRole('button', { + name: enMessages.agent.consent.agreeAndContinue, + exact: true + }) + ).toBeVisible() + await expect(agentPanel.root).toHaveCount(0) }) }) } diff --git a/browser_tests/tests/agent/agentEscapeStopsClickedTurn.spec.ts b/browser_tests/tests/agent/agentEscapeStopsClickedTurn.spec.ts index ea974cf74d8..d6390411bc0 100644 --- a/browser_tests/tests/agent/agentEscapeStopsClickedTurn.spec.ts +++ b/browser_tests/tests/agent/agentEscapeStopsClickedTurn.spec.ts @@ -1,9 +1,16 @@ +import type { UploadImageResponse } from '@comfyorg/ingest-types' import { expect, mergeTests } from '@playwright/test' import enMessages from '@/locales/en/main.json' with { type: 'json' } +import { jsonRoute } from '@e2e/fixtures/utils/jsonRoute' +import { assetPath } from '@e2e/fixtures/utils/paths' import { webSocketFixture } from '@e2e/fixtures/ws' -import { agentTest } from '@e2e/tests/agent/agentPanelMocks' +import { + agentTest, + pushAgentEvent, + thinkingEvent +} from '@e2e/tests/agent/agentPanelMocks' // Story 39 of qa/user-story-test-matrix.md (in-app-agent-program): // "Escape does not stop the turn -- reproduces specifically for a turn @@ -29,6 +36,7 @@ import { agentTest } from '@e2e/tests/agent/agentPanelMocks' const test = mergeTests(agentTest, webSocketFixture) const PROMPT = 'Build a rainy city at night' +const ATTACHMENT = 'image32x32.webp' test.describe( 'Escape stops a turn that was submitted by clicking Send', @@ -89,5 +97,64 @@ test.describe( .toBe(1) }) }) + + test.describe('with an attachment preview', () => { + let cancelled: string[] + + test.beforeEach(async ({ page }) => { + const uploaded: UploadImageResponse = { + name: ATTACHMENT, + subfolder: '', + type: 'input' + } + await page.route('**/api/upload/image', (route) => + route.fulfill(jsonRoute(uploaded)) + ) + await page.route(`**/view?filename=${ATTACHMENT}&type=input`, (route) => + route.fulfill({ path: assetPath(ATTACHMENT) }) + ) + cancelled = [] + await page.route( + '**/api/agent/threads/*/messages/*/cancel', + (route) => { + cancelled.push(route.request().url()) + return route.fallback() + } + ) + }) + + test( + 'an attachment preview closes before the active turn is cancelled', + { tag: '@ui' }, + async ({ agentPanel, getAgentSocket, postedMessages, page }) => { + await agentPanel.open() + await agentPanel.selectWorkflow() + await agentPanel.composer.fill(PROMPT) + await agentPanel.sendButton.click() + await expect.poll(() => postedMessages.length).toBe(1) + await expect(agentPanel.stopButton).toBeVisible() + + await agentPanel.fileInput.setInputFiles(assetPath(ATTACHMENT)) + const trigger = agentPanel.previewAssetButton(ATTACHMENT) + const preview = agentPanel.assetPreview(ATTACHMENT) + await expect(trigger).toBeVisible() + await trigger.hover() + await expect(preview).toBeVisible() + + await page.keyboard.press('Escape') + await expect(preview).toHaveCount(0) + const stillRunning = 'The active turn continued after preview closed.' + pushAgentEvent(await getAgentSocket(), thinkingEvent(stillRunning)) + await expect( + agentPanel.root.getByText(stillRunning, { exact: true }) + ).toBeVisible() + await expect(agentPanel.stopButton).toBeVisible() + expect(cancelled).toHaveLength(0) + + await page.keyboard.press('Escape') + await expect.poll(() => cancelled.length).toBe(1) + } + ) + }) } ) diff --git a/browser_tests/tests/agent/agentExtensionChangeCard.spec.ts b/browser_tests/tests/agent/agentExtensionChangeCard.spec.ts new file mode 100644 index 00000000000..3ba9d8d1f66 --- /dev/null +++ b/browser_tests/tests/agent/agentExtensionChangeCard.spec.ts @@ -0,0 +1,37 @@ +import { expect } from '@playwright/test' + +import { agentConversationTest as test } from '@e2e/fixtures/agentConversationFixture' +import { expectElementScreenshot } from '@e2e/fixtures/utils/screenshotRegion' + +test.describe( + 'Agent node pack change card', + { tag: ['@cloud', '@vue-nodes'] }, + () => { + test.use({ conversationCase: 'repro/pm-2147-extension-change-card' }) + + test( + 'shows which pack the agent turned off and that a restart applies it', + { tag: ['@screenshot'] }, + async ({ agentConversation }) => { + await agentConversation.runTurns() + + const card = agentConversation.panel.getByTestId( + 'agent-extension-change' + ) + await expect(card).toHaveCount(1) + await expect(card).toContainText( + 'Turned off the node pack comfy-cushions' + ) + await expect(card).toContainText('Created by agent') + await expect(card).toContainText( + 'This takes effect after ComfyUI restarts.' + ) + await expect( + agentConversation.panel.getByText('I turned off comfy-cushions.') + ).toBeVisible() + + await expectElementScreenshot(card, 'agent-extension-change-card.png') + } + ) + } +) diff --git a/browser_tests/tests/agent/agentExtensionChangeCard.spec.ts-snapshots/agent-extension-change-card-cloud-linux.png b/browser_tests/tests/agent/agentExtensionChangeCard.spec.ts-snapshots/agent-extension-change-card-cloud-linux.png new file mode 100644 index 00000000000..c3e04b2fa17 Binary files /dev/null and b/browser_tests/tests/agent/agentExtensionChangeCard.spec.ts-snapshots/agent-extension-change-card-cloud-linux.png differ diff --git a/browser_tests/tests/agent/agentFollowerDynamicGroupPositionalUpdate.spec.ts b/browser_tests/tests/agent/agentFollowerDynamicGroupPositionalUpdate.spec.ts index a1c826bd188..56e96f745d7 100644 --- a/browser_tests/tests/agent/agentFollowerDynamicGroupPositionalUpdate.spec.ts +++ b/browser_tests/tests/agent/agentFollowerDynamicGroupPositionalUpdate.spec.ts @@ -1,7 +1,7 @@ import { expect } from '@playwright/test' import type { WorkflowJSON } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { agentTest as test, diff --git a/browser_tests/tests/agent/agentFollowerLateEndpointLink.spec.ts b/browser_tests/tests/agent/agentFollowerLateEndpointLink.spec.ts index 3ee598a2e4f..53e135c3d74 100644 --- a/browser_tests/tests/agent/agentFollowerLateEndpointLink.spec.ts +++ b/browser_tests/tests/agent/agentFollowerLateEndpointLink.spec.ts @@ -1,7 +1,7 @@ import { expect, mergeTests } from '@playwright/test' import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { BLANK_WORKFLOW, diff --git a/browser_tests/tests/agent/agentFollowerMissingWidgetRefusal.spec.ts b/browser_tests/tests/agent/agentFollowerMissingWidgetRefusal.spec.ts new file mode 100644 index 00000000000..553adf1fb3f --- /dev/null +++ b/browser_tests/tests/agent/agentFollowerMissingWidgetRefusal.spec.ts @@ -0,0 +1,167 @@ +import { expect } from '@playwright/test' + +import { + agentTest as test, + bootAgentApp, + mockAgentTurnApi, + mockWorkflowPersistence +} from '@e2e/fixtures/agentPanelFixture' +import { HostDoc } from '@e2e/fixtures/agentConversationHostDoc' +import { AgentFollowerHostSocket } from '@e2e/fixtures/agentFollowerHostSocket' +import { AgentPanel } from '@e2e/fixtures/components/AgentPanel' +import { + absentDottedWidget, + absentOverflowAlias, + createDeliveryBarrierAdd, + dottedMarkerId, + keptValue, + keptWidget, + laterValue, + missingWidgetCatalog, + missingWidgetMessageId, + missingWidgetNodeId, + missingWidgetObjectInfo, + missingWidgetSeed, + missingWidgetThreadId, + missingWidgetWorkflowId, + otherDefault, + otherWidget, + overflowMarkerId, + refusedValue +} from '@e2e/fixtures/data/agent/agentFollowerMissingWidgetRefusal' +import { VueNodeHelpers } from '@e2e/fixtures/VueNodeHelpers' + +test.describe( + 'Agent follower on a widget address the live node does not have', + { + tag: ['@cloud', '@agent', '@vue-nodes', '@widget'], + annotation: { + type: 'source', + description: + 'https://linear.app/comfyorg/issue/PM-2356/sentry-alert-on-cloud-frontend-prod-node-39-bytedance2referencenodev2' + } + }, + () => { + test('refuses the write, leaves the visible values alone, and stays usable', async ({ + page + }) => { + test.setTimeout(90_000) + + const host = new HostDoc( + missingWidgetWorkflowId, + missingWidgetSeed, + missingWidgetCatalog + ) + const hostSocket = new AgentFollowerHostSocket( + page, + missingWidgetWorkflowId, + host + ) + await hostSocket.install() + + await bootAgentApp(page, true, { + objectInfo: missingWidgetObjectInfo, + settings: { 'Comfy.Graph.CanvasInfo': false }, + beforeNavigate: async (page) => { + await mockAgentTurnApi(page, { + thread_id: missingWidgetThreadId, + message_id: missingWidgetMessageId, + workflow_id: missingWidgetWorkflowId + }) + await mockWorkflowPersistence(page, missingWidgetWorkflowId) + } + }) + + const refusalReports: string[] = [] + page.on('console', (message) => { + if (/\bagent_graph_widget_missing(?!\w)/.test(message.text())) + refusalReports.push(message.text()) + }) + + const vueNodes = new VueNodeHelpers(page) + const agentPanel = new AgentPanel(page) + + await test.step('bind the workflow so the follower subscribes', async () => { + await agentPanel.open() + await agentPanel.selectWorkflow() + await agentPanel.sendMessage('hello') + await expect(agentPanel.root.getByText('hello').first()).toBeVisible() + hostSocket.send({ + type: 'agent_message_done', + data: { + message_id: missingWidgetMessageId, + thread_id: missingWidgetThreadId + } + }) + await hostSocket.waitForSubscribe() + }) + + const node = vueNodes.getNodeLocator(String(missingWidgetNodeId)) + await expect(node).toBeVisible() + const keptInput = node.getByRole('textbox', { name: keptWidget }) + const otherInput = node.getByRole('textbox', { name: otherWidget }) + + await test.step('the node starts on its own values', async () => { + await expect(keptInput).toHaveValue(keptValue) + await expect(otherInput).toHaveValue(otherDefault) + expect(refusalReports).toHaveLength(0) + }) + + await test.step('a dotted address the node does not carry changes nothing on the canvas', async () => { + hostSocket.send( + host.setDocumentWidget( + missingWidgetNodeId, + absentDottedWidget, + refusedValue + ) + ) + hostSocket.send(host.apply([createDeliveryBarrierAdd(dottedMarkerId)])) + + await expect( + vueNodes.getNodeLocator(String(dottedMarkerId)) + ).toBeVisible() + await expect(keptInput).toHaveValue(keptValue) + await expect(otherInput).toHaveValue(otherDefault) + await expect(node.getByText(refusedValue)).toHaveCount(0) + await expect.poll(() => refusalReports).not.toHaveLength(0) + }) + + await test.step('and the refusal does not jam the node: a later legitimate write still lands', async () => { + hostSocket.send( + host.apply([ + { + op: 'set_widget', + node_id: missingWidgetNodeId, + widget: keptWidget, + value: laterValue + } + ]) + ) + + await expect(keptInput).toHaveValue(laterValue) + await expect(otherInput).toHaveValue(otherDefault) + }) + + await test.step('a positional alias past the live widget list is refused the same way', async () => { + hostSocket.send( + host.setDocumentWidget( + missingWidgetNodeId, + absentOverflowAlias, + refusedValue + ) + ) + hostSocket.send( + host.apply([createDeliveryBarrierAdd(overflowMarkerId)]) + ) + + await expect( + vueNodes.getNodeLocator(String(overflowMarkerId)) + ).toBeVisible() + await expect(otherInput).toHaveValue(otherDefault) + await expect(keptInput).toHaveValue(laterValue) + await expect(node.getByText(refusedValue)).toHaveCount(0) + await expect.poll(() => refusalReports.length).toBeGreaterThan(1) + }) + }) + } +) diff --git a/browser_tests/tests/agent/agentFollowerRestoredBindingReload.spec.ts b/browser_tests/tests/agent/agentFollowerRestoredBindingReload.spec.ts index 139a3d8cc7f..9e5f7d7a742 100644 --- a/browser_tests/tests/agent/agentFollowerRestoredBindingReload.spec.ts +++ b/browser_tests/tests/agent/agentFollowerRestoredBindingReload.spec.ts @@ -123,5 +123,51 @@ test.describe( expect(await posted).toContain('local edit before automatic restore') }) }) + + test('keeps a saved local edit made while restored-target identity is pending', async ({ + agentConversation, + page + }) => { + test.setTimeout(90_000) + const reload = new RestoredBindingReloadDriver(page, agentConversation) + await agentConversation.persistSavedWorkflow() + await agentConversation.runTurns() + const prompt = agentConversation.vueNodes + .getNodeLocator('6') + .getByRole('textbox') + await agentConversation.topbar.saveWorkflowAs('Restored reload') + await reload.persistThreadTranscript() + + let releaseIdentity!: () => void + const identityPending = new Promise((resolve) => { + releaseIdentity = resolve + }) + await page.route('**/api/agent/identity', async (route) => { + await identityPending + await route.fallback() + }) + + await reload.reloadIntoRestoredTarget('Restored reload') + await prompt.fill('local edit while identity is pending') + await agentConversation.topbar.saveWorkflowAs('Restored reload') + + const subscribesBeforeSecondReload = agentConversation.subscribeCount() + await reload.reloadIntoRestoredTarget('Restored reload') + await expect(prompt).toHaveValue('local edit while identity is pending') + + const identityResponse = page.waitForResponse('**/api/agent/identity') + releaseIdentity() + await identityResponse + await page.evaluate( + () => + new Promise((resolve) => + requestAnimationFrame(() => requestAnimationFrame(() => resolve())) + ) + ) + expect(agentConversation.subscribeCount()).toBe( + subscribesBeforeSecondReload + ) + await expect(prompt).toHaveValue('local edit while identity is pending') + }) } ) diff --git a/browser_tests/tests/agent/agentHistoryReopensClosedWorkflow.spec.ts b/browser_tests/tests/agent/agentHistoryReopensClosedWorkflow.spec.ts index 9b7ac3e2f8f..ef21d012122 100644 --- a/browser_tests/tests/agent/agentHistoryReopensClosedWorkflow.spec.ts +++ b/browser_tests/tests/agent/agentHistoryReopensClosedWorkflow.spec.ts @@ -9,7 +9,7 @@ import type { import enMessages from '@/locales/en/main.json' with { type: 'json' } import type { UserDataFullInfo } from '@comfyorg/api-client/types' import type { ComfyWorkflowJSON } from '@comfyorg/graph-model/workflowSchema' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { agentTest as test, diff --git a/browser_tests/tests/agent/agentHostMintWidgetForms.spec.ts b/browser_tests/tests/agent/agentHostMintWidgetForms.spec.ts new file mode 100644 index 00000000000..bb93d6f2be1 --- /dev/null +++ b/browser_tests/tests/agent/agentHostMintWidgetForms.spec.ts @@ -0,0 +1,54 @@ +import { expect } from '@playwright/test' + +import { + COMBO_NODE_ID, + hostMintWidgetFormsTest as test, + PREVIEW_NODE_ID +} from '@e2e/tests/agent/agentHostMintWidgetFormsFixture' + +test.describe( + 'Agent host-minted widget forms', + { tag: ['@cloud', '@agent', '@vue-nodes', '@widget'] }, + () => { + test('renders PreviewAny without persisted output and restores every CustomCombo option', async ({ + hostMintWidgetForms: { combo, missingWidgetReports, preview, rig } + }) => { + await expect(preview).toBeVisible() + await expect(combo).toBeVisible() + await expect(combo.getByLabel('option1', { exact: true })).toHaveValue( + 'first' + ) + await expect(combo.getByLabel('option2', { exact: true })).toHaveValue( + 'second' + ) + await expect(combo.getByLabel('option3', { exact: true })).toHaveValue( + 'third' + ) + await expect(combo.getByLabel('option4', { exact: true })).toHaveValue('') + await expect + .poll(() => rig.widgetValue(COMBO_NODE_ID, 'choice')) + .toBe('first') + expect( + rig.host.projection().nodes.find((node) => node.id === COMBO_NODE_ID) + ?.widgets_values + ).toEqual(['first', 0, 'first', 'second', 'third', '']) + rig.hostSocket.send( + rig.host.apply([ + { + op: 'set_widget', + node_id: COMBO_NODE_ID, + widget: 'option3', + value: 'host-updated' + } + ]) + ) + await expect(combo.getByLabel('option3', { exact: true })).toHaveValue( + 'host-updated' + ) + await expect + .poll(() => rig.widgetValue(PREVIEW_NODE_ID, 'preview_text')) + .toBe('') + expect(missingWidgetReports).toHaveLength(0) + }) + } +) diff --git a/browser_tests/tests/agent/agentHostMintWidgetFormsFixture.ts b/browser_tests/tests/agent/agentHostMintWidgetFormsFixture.ts new file mode 100644 index 00000000000..0c3d9110091 --- /dev/null +++ b/browser_tests/tests/agent/agentHostMintWidgetFormsFixture.ts @@ -0,0 +1,141 @@ +import type { Locator } from '@playwright/test' + +import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' + +import { AgentNonValueWidgetRig } from '@e2e/fixtures/agentNonValueWidgetRig' +import { agentTest } from '@e2e/fixtures/agentPanelFixture' + +const PREVIEW_TYPE = 'PreviewAny' +export const PREVIEW_NODE_ID = 711 +const COMBO_TYPE = 'CustomCombo' +export const COMBO_NODE_ID = 712 +const WORKFLOW_ID = 'd5f3e6c4-0000-4000-8000-000000000080' +const MESSAGE_ID = 'd5f3e6c4-0000-4000-8000-000000000081' +const THREAD_ID = 'd5f3e6c4-0000-4000-8000-000000000082' + +const previewNodeDef: ComfyNodeDef = { + name: PREVIEW_TYPE, + display_name: 'Preview as Text', + description: '', + category: 'utilities', + python_module: 'comfy_extras.nodes_preview_any', + output_node: true, + input: { required: { source: ['*', {}] } }, + output: ['STRING'], + output_is_list: [false], + output_name: ['STRING'] +} + +const comboNodeDef: ComfyNodeDef = { + name: COMBO_TYPE, + display_name: 'Custom Combo', + description: '', + category: 'utilities', + python_module: 'comfy_extras.nodes_logic', + output_node: false, + input: { + required: { + choice: ['COMBO', { multiselect: false, options: [] }] + } + }, + output: ['STRING', 'INT'], + output_is_list: [false, false], + output_name: ['STRING', 'INDEX'] +} + +const catalog: WidgetCatalog = { + types: { + [PREVIEW_TYPE]: { widget_order: [] }, + [COMBO_TYPE]: { widget_order: ['choice'] } + } +} + +const seed: WorkflowJSON = { + nodes: [ + { + id: PREVIEW_NODE_ID, + type: PREVIEW_TYPE, + pos: [40, 60], + size: [270, 140], + flags: {}, + order: 0, + mode: 0, + inputs: [{ name: 'source', type: '*', link: null }], + outputs: [{ name: 'STRING', type: 'STRING', links: [] }], + properties: {}, + widgets_values: [] + }, + { + id: COMBO_NODE_ID, + type: COMBO_TYPE, + pos: [380, 60], + size: [300, 320], + flags: {}, + order: 1, + mode: 0, + inputs: [ + { + name: 'choice', + type: 'COMBO', + widget: { name: 'choice' }, + link: null + } + ], + outputs: [ + { name: 'STRING', type: 'STRING', links: [] }, + { name: 'INDEX', type: 'INT', links: [] } + ], + properties: {}, + widgets_values: ['first', 0, 'first', 'second', 'third', ''], + widgets_values_form: { + order: ['choice', 'index', 'option1', 'option2', 'option3', 'option4'] + } + } + ], + links: [], + groups: [], + config: {}, + extra: {}, + version: 0.4 +} + +interface HostMintWidgetForms { + combo: Locator + missingWidgetReports: string[] + preview: Locator + rig: AgentNonValueWidgetRig +} + +export const hostMintWidgetFormsTest = agentTest.extend<{ + hostMintWidgetForms: HostMintWidgetForms +}>({ + hostMintWidgetForms: async ({ page }, use) => { + const missingWidgetReports: string[] = [] + page.on('console', (message) => { + if (/\bagent_graph_widget_missing(?!\w)/.test(message.text())) + missingWidgetReports.push(message.text()) + }) + + const rig = await AgentNonValueWidgetRig.boot(page, { + catalog, + messageId: MESSAGE_ID, + nodeDefs: { + [PREVIEW_TYPE]: previewNodeDef, + [COMBO_TYPE]: comboNodeDef + }, + samplerNodeId: COMBO_NODE_ID, + seed, + threadId: THREAD_ID, + visibleNodeId: PREVIEW_NODE_ID, + workflowId: WORKFLOW_ID + }) + + await use({ + combo: rig.vueNodes.getNodeLocator(String(COMBO_NODE_ID)), + missingWidgetReports, + preview: rig.vueNodes.getNodeLocator(String(PREVIEW_NODE_ID)), + rig + }) + } +}) diff --git a/browser_tests/tests/agent/agentHumanEditAfterOtherWorkflowReset.spec.ts b/browser_tests/tests/agent/agentHumanEditAfterOtherWorkflowReset.spec.ts index cd54f8c0baa..731e50dbf06 100644 --- a/browser_tests/tests/agent/agentHumanEditAfterOtherWorkflowReset.spec.ts +++ b/browser_tests/tests/agent/agentHumanEditAfterOtherWorkflowReset.spec.ts @@ -61,13 +61,14 @@ test.describe( await expect( agentConversation.vueNodes.getNodeLocator(secondNodeId) ).toBeVisible() + agentConversation.resumeWorkflowSubscribe(recordedWorkflowId) + await agentConversation.waitForHumanOps(2) expect( await agentConversation.humanAddNodeBaseVersion( recordedWorkflowId, secondNodeId ) ).toBeGreaterThan(firstBaseVersion) - agentConversation.resumeWorkflowSubscribe(recordedWorkflowId) }) }) } diff --git a/browser_tests/tests/agent/agentInsertWorkflowCanvasResult.spec.ts b/browser_tests/tests/agent/agentInsertWorkflowCanvasResult.spec.ts index 16005451c9d..d480648ac24 100644 --- a/browser_tests/tests/agent/agentInsertWorkflowCanvasResult.spec.ts +++ b/browser_tests/tests/agent/agentInsertWorkflowCanvasResult.spec.ts @@ -1,7 +1,7 @@ import { expect, mergeTests } from '@playwright/test' import type { Op, WidgetCatalog } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import subgraphAsset from '@e2e/assets/subgraphs/agent-subgraph-with-two-promoted-widgets.json' with { type: 'json' } import { diff --git a/browser_tests/tests/agent/agentLayoutQuality.spec.ts b/browser_tests/tests/agent/agentLayoutQuality.spec.ts index 6578ac4406c..acf37609e43 100644 --- a/browser_tests/tests/agent/agentLayoutQuality.spec.ts +++ b/browser_tests/tests/agent/agentLayoutQuality.spec.ts @@ -10,8 +10,6 @@ import { const BATCHED_CASE = 'agent-rec-batched-ops' const SEQUENTIAL_CASE = 'agent-rec-three-sequential-adds' -// Long enough for geometry to settle after replay, short enough that the known-failing -// case does not spend a default timeout proving it still fails. const SETTLE = 10_000 test.describe('Agent layout quality', { tag: ['@cloud', '@vue-nodes'] }, () => { @@ -30,13 +28,6 @@ test.describe('Agent layout quality', { tag: ['@cloud', '@vue-nodes'] }, () => { .poll(() => nodesWithoutGeometry(nodes), { timeout: SETTLE }) .toEqual([]) - // Pins a real defect, not a flaky assertion. Measured on this case with the - // marker removed: two pairs overlap, `2559261621971657 and - // 2214070360209981 overlap by 216x27px` and `3 and 2559261621971657 - // overlap by 95x32px`. The sequential case below asserts the same property - // unmarked because it passes, so the marker is scoped to the build mode - // that actually overlaps rather than to the property. - test.fail() await expect .poll(() => overlappingNodePairs(nodes), { timeout: SETTLE }) .toEqual([]) diff --git a/browser_tests/tests/agent/agentLocalCommandReplyPersistence.spec.ts b/browser_tests/tests/agent/agentLocalCommandReplyPersistence.spec.ts new file mode 100644 index 00000000000..84208d519b2 --- /dev/null +++ b/browser_tests/tests/agent/agentLocalCommandReplyPersistence.spec.ts @@ -0,0 +1,142 @@ +import { expect } from '@playwright/test' + +import { promptHistoryTest as test } from '@e2e/fixtures/agentPromptHistoryFixture' + +test.describe.configure({ timeout: 120_000 }) +test.use({ connectWebSocketToServer: false }) + +test.describe( + 'Cloud Agent reply rendering and persistence', + { + tag: ['@cloud', '@agent', '@ui'], + annotation: { + type: 'source', + description: + 'https://linear.app/comfyorg/issue/BE-24631/agent-on-cloud-remaining-ways-the-reply-filter-breaks-commands-users' + } + }, + () => { + test('keeps exact server reply text through streaming and history hydration', async ({ + agentPanel, + promptHistory, + workflowSelection + }) => { + const replyText = [ + 'Run these on your own machine:', + '', + '- `cd ~/ComfyUI/models`', + '- `comfy node install x`', + '- `huggingface-cli download black-forest-labs/FLUX.1-dev`', + '- Use `flux-2-klein-9B.safetensors`.', + '- Use `flux1-dev-Q4_K_M.gguf`.', + '- Keep the `non-turbo` variant.' + ].join('\n') + const renderedReplyText = [ + 'Run these on your own machine:', + 'cd ~/ComfyUI/models', + 'comfy node install x', + 'huggingface-cli download black-forest-labs/FLUX.1-dev', + 'Use flux-2-klein-9B.safetensors.', + 'Use flux1-dev-Q4_K_M.gguf.', + 'Keep the non-turbo variant.' + ].join(' ') + + await test.step('receive a reply with commands for the user machine', async () => { + await agentPanel.open() + await agentPanel.chooseWorkflow() + await expect.poll(() => workflowSelection.savedPaths.length).toBe(1) + workflowSelection.finishSave(true) + await agentPanel.sendMessage('Show me the local setup commands.') + await expect.poll(() => promptHistory.requests.length).toBe(1) + await agentPanel.expectUserMessages([ + 'Show me the local setup commands.' + ]) + await promptHistory.streamLatestTurn(replyText) + }) + + await test.step('show every affected string exactly while streaming', async () => { + const replies = agentPanel.root.getByTestId('markdown-stream') + await expect(replies).toHaveCount(1) + const reply = replies.first() + await expect(reply).toBeVisible() + await expect(reply).toHaveText(renderedReplyText, { + useInnerText: true + }) + await expect( + reply.getByText('cd ~/ComfyUI/models', { exact: true }) + ).toBeVisible() + await expect( + reply.getByText('comfy node install x', { exact: true }) + ).toBeVisible() + await expect( + reply.getByText( + 'huggingface-cli download black-forest-labs/FLUX.1-dev', + { exact: true } + ) + ).toBeVisible() + await expect( + reply.getByText('flux-2-klein-9B.safetensors', { exact: true }) + ).toBeVisible() + await expect( + reply.getByText('flux1-dev-Q4_K_M.gguf', { exact: true }) + ).toBeVisible() + await expect( + reply.getByText('non-turbo', { exact: true }) + ).toBeVisible() + }) + + await test.step('persist and finish one copy of the reply', async () => { + await promptHistory.persistAndFinishLatestTurn(replyText, 0) + await agentPanel.expectTurnSettled() + await expect( + agentPanel.root.getByTestId('markdown-stream') + ).toHaveCount(1) + await expect(agentPanel.root.getByTestId('markdown-stream')).toHaveText( + renderedReplyText, + { + useInnerText: true + } + ) + }) + + await test.step('reload the panel from persisted history', async () => { + const historyReadsBeforeReload = promptHistory.historyReads() + await agentPanel.reload() + await expect + .poll(() => promptHistory.historyReads()) + .toBeGreaterThan(historyReadsBeforeReload) + }) + + await test.step('keep the hydrated reply text exact', async () => { + const replies = agentPanel.root.getByTestId('markdown-stream') + await expect(replies).toHaveCount(1) + const reply = replies.first() + await expect(reply).toBeVisible() + await expect(reply).toHaveText(renderedReplyText, { + useInnerText: true + }) + await expect( + reply.getByText('cd ~/ComfyUI/models', { exact: true }) + ).toBeVisible() + await expect( + reply.getByText('comfy node install x', { exact: true }) + ).toBeVisible() + await expect( + reply.getByText( + 'huggingface-cli download black-forest-labs/FLUX.1-dev', + { exact: true } + ) + ).toBeVisible() + await expect( + reply.getByText('flux-2-klein-9B.safetensors', { exact: true }) + ).toBeVisible() + await expect( + reply.getByText('flux1-dev-Q4_K_M.gguf', { exact: true }) + ).toBeVisible() + await expect( + reply.getByText('non-turbo', { exact: true }) + ).toBeVisible() + }) + }) + } +) diff --git a/browser_tests/tests/agent/agentNewChatTargetWorkflow.spec.ts b/browser_tests/tests/agent/agentNewChatTargetWorkflow.spec.ts index 0ae12bc3848..aa76481d445 100644 --- a/browser_tests/tests/agent/agentNewChatTargetWorkflow.spec.ts +++ b/browser_tests/tests/agent/agentNewChatTargetWorkflow.spec.ts @@ -22,7 +22,7 @@ test.describe( 'New chat targets the workflow tab on screen', { tag: ['@cloud', '@agent'] }, () => { - test('PM-1322: retargets to a tab the user switched to', async ({ + test('PM-1322 / PM-2251: retargets to a tab the user switched to and starts with an empty composer', async ({ page, workflowSelection }, testInfo) => { @@ -48,7 +48,7 @@ test.describe( await initialComposer.press('Enter') await expect.poll(() => workflowSelection.postedMessages.length).toBe(1) await expect(initialComposer).toHaveText('Start in this workflow') - await initialComposer.fill('') + await initialComposer.fill('Only edit workflow A') // Open a second workflow tab (B), then switch back to A so B is just // another open tab rather than the newest/active one. diff --git a/browser_tests/tests/agent/agentOfflineEditSurvivesReconnect.spec.ts b/browser_tests/tests/agent/agentOfflineEditSurvivesReconnect.spec.ts index 98c5a2eabb7..18eee25b500 100644 --- a/browser_tests/tests/agent/agentOfflineEditSurvivesReconnect.spec.ts +++ b/browser_tests/tests/agent/agentOfflineEditSurvivesReconnect.spec.ts @@ -8,6 +8,55 @@ test.describe( () => { test.describe.configure({ timeout: 180_000 }) + test( + 'win a register the agent wrote during the outage', + { + annotation: [ + { + type: 'issue', + description: + 'https://linear.app/comfyorg/issue/PM-2118/local-manual-parameter-edits-revert-after-agent-turns-even-when-only' + } + ] + }, + async ({ offlineEdit }) => { + await test.step('the agent builds two prompt nodes', async () => { + await offlineEdit.buildAgentPromptNodes() + await expect + .poll(() => offlineEdit.canvasPromptValues()) + .toEqual(offlineEdit.agentPrompts) + }) + + const subscribesBeforeOutage = offlineEdit.subscribeCount() + + await test.step('the user retypes both prompts while the agent writes the first', async () => { + await offlineEdit.beginOutageAndRetype() + await expect + .poll(() => offlineEdit.refusedConnectionCount(), { + timeout: 90_000 + }) + .toBeGreaterThanOrEqual(4) + offlineEdit.agentRewritesFirstPrompt() + }) + + await test.step('the agent comes back and the held edit wins the register', async () => { + offlineEdit.restoreAgent() + await expect + .poll(() => offlineEdit.subscribeCount(), { timeout: 90_000 }) + .toBeGreaterThan(subscribesBeforeOutage) + await expect + .poll(() => offlineEdit.documentPromptValues(), { + timeout: 60_000, + message: 'the held edit wins over the agent write it never saw' + }) + .toEqual(offlineEdit.humanPrompts) + await expect + .poll(() => offlineEdit.canvasPromptValues()) + .toEqual(offlineEdit.humanPrompts) + }) + } + ) + test( 'survive the reconnect, the save, a reload and the next agent turn', { diff --git a/browser_tests/tests/agent/agentOnboarding.spec.ts b/browser_tests/tests/agent/agentOnboarding.spec.ts index ae68ad33c3d..3d2ab0e54d9 100644 --- a/browser_tests/tests/agent/agentOnboarding.spec.ts +++ b/browser_tests/tests/agent/agentOnboarding.spec.ts @@ -4,6 +4,7 @@ import enMessages from '@/locales/en/main.json' with { type: 'json' } import { waitForCloudApp } from '@e2e/fixtures/cloudAppFixture' import { + AGENT_ONBOARDING_SCOPE_KEY as SCOPE_KEY, agentTest as test, bootAgentApp, storedOnboardedScopes @@ -11,8 +12,6 @@ import { import { AgentPanel } from '@e2e/fixtures/components/AgentPanel' import { expectRegionScreenshot } from '@e2e/fixtures/utils/screenshotRegion' -const SCOPE_KEY = 'Comfy.AgentPanel.onboarded.test-user-e2e.ws-personal' - test.describe('Agent onboarding tour', { tag: ['@cloud', '@ui'] }, () => { test('returns to the previous card without completing the tour', async ({ page, @@ -161,6 +160,12 @@ test.describe('Agent onboarding tour', { tag: ['@cloud', '@ui'] }, () => { '2 of 3' ) await expect(agentPanel.tourSkipButton(workflow)).toHaveCount(1) + await expectRegionScreenshot( + page, + [workflow, page.locator('#agent-composer')], + 'agent-tour-workflow-card.png', + { padding: 16 } + ) await workflow.getByRole('button', { name: enMessages.g.next }).click() const history = await agentPanel.expectTourCard( @@ -201,48 +206,56 @@ test.describe('Agent onboarding tour', { tag: ['@cloud', '@ui'] }, () => { onboardingCompleted: false }) const agentPanel = new AgentPanel(page) - await agentPanel.open() - const intro = await agentPanel.expectTourCard( - enMessages.agent.coachTitle, - enMessages.agent.coachBody, - '1 of 3' - ) - await intro.getByRole('button', { name: enMessages.g.next }).click() - - const workflow = await agentPanel.expectTourCard( - enMessages.agent.coachWorkflowTitle, - enMessages.agent.coachWorkflowBody, - '2 of 3' - ) - await workflow.getByRole('button', { name: enMessages.g.next }).click() - - const history = await agentPanel.expectTourCard( - enMessages.agent.coachHistoryTitle, - enMessages.agent.coachHistoryBody, - '3 of 3' - ) - await expect(agentPanel.tourSkipButton(history)).toHaveCount(0) - - await page.keyboard.press('Escape') - - await expect(page.getByRole('dialog')).toHaveCount(0) - await expect(page.getByTestId('agent-coach-spotlight')).toHaveCount(0) - await expect - .poll(() => page.evaluate((key) => localStorage.getItem(key), SCOPE_KEY)) - .toBe('true') - - await expect.poll(() => storedOnboardedScopes(page)).toContain(SCOPE_KEY) - await page.evaluate((key) => localStorage.removeItem(key), SCOPE_KEY) - - await page.reload() - await waitForCloudApp(page) - await expect(page.locator('#agent-composer')).toBeVisible() - await page.evaluate( - () => - new Promise((resolve) => - requestAnimationFrame(() => requestAnimationFrame(resolve)) + + await test.step('Finish the tour with Escape on the last card', async () => { + await agentPanel.open() + const intro = await agentPanel.expectTourCard( + enMessages.agent.coachTitle, + enMessages.agent.coachBody, + '1 of 3' + ) + await intro.getByRole('button', { name: enMessages.g.next }).click() + + const workflow = await agentPanel.expectTourCard( + enMessages.agent.coachWorkflowTitle, + enMessages.agent.coachWorkflowBody, + '2 of 3' + ) + await workflow.getByRole('button', { name: enMessages.g.next }).click() + + const history = await agentPanel.expectTourCard( + enMessages.agent.coachHistoryTitle, + enMessages.agent.coachHistoryBody, + '3 of 3' + ) + await expect(agentPanel.tourSkipButton(history)).toHaveCount(0) + + await page.keyboard.press('Escape') + + await expect(page.getByRole('dialog')).toHaveCount(0) + await expect(page.getByTestId('agent-coach-spotlight')).toHaveCount(0) + }) + + await test.step('Save completion without the local flag', async () => { + await expect + .poll(() => + page.evaluate((key) => localStorage.getItem(key), SCOPE_KEY) ) - ) - await expect(page.getByRole('dialog')).toHaveCount(0) + .toBe('true') + await expect.poll(() => storedOnboardedScopes(page)).toContain(SCOPE_KEY) + await page.evaluate((key) => localStorage.removeItem(key), SCOPE_KEY) + }) + + await test.step('Restore completion after reload', async () => { + await agentPanel.reload() + await expect(page.locator('#agent-composer')).toBeVisible() + await page.evaluate( + () => + new Promise((resolve) => + requestAnimationFrame(() => requestAnimationFrame(resolve)) + ) + ) + await expect(page.getByRole('dialog')).toHaveCount(0) + }) }) }) diff --git a/browser_tests/tests/agent/agentOnboarding.spec.ts-snapshots/agent-tour-card-arrow-cloud-linux.png b/browser_tests/tests/agent/agentOnboarding.spec.ts-snapshots/agent-tour-card-arrow-cloud-linux.png index d9143e26716..880c31dbd1d 100644 Binary files a/browser_tests/tests/agent/agentOnboarding.spec.ts-snapshots/agent-tour-card-arrow-cloud-linux.png and b/browser_tests/tests/agent/agentOnboarding.spec.ts-snapshots/agent-tour-card-arrow-cloud-linux.png differ diff --git a/browser_tests/tests/agent/agentOnboarding.spec.ts-snapshots/agent-tour-card-nudged-cloud-linux.png b/browser_tests/tests/agent/agentOnboarding.spec.ts-snapshots/agent-tour-card-nudged-cloud-linux.png index 2fe252fc5b4..8a6b12fb4ac 100644 Binary files a/browser_tests/tests/agent/agentOnboarding.spec.ts-snapshots/agent-tour-card-nudged-cloud-linux.png and b/browser_tests/tests/agent/agentOnboarding.spec.ts-snapshots/agent-tour-card-nudged-cloud-linux.png differ diff --git a/browser_tests/tests/agent/agentOnboarding.spec.ts-snapshots/agent-tour-workflow-card-cloud-linux.png b/browser_tests/tests/agent/agentOnboarding.spec.ts-snapshots/agent-tour-workflow-card-cloud-linux.png new file mode 100644 index 00000000000..0b6d8b868bf Binary files /dev/null and b/browser_tests/tests/agent/agentOnboarding.spec.ts-snapshots/agent-tour-workflow-card-cloud-linux.png differ diff --git a/browser_tests/tests/agent/agentOverflowWidgetOnNodeCreate.spec.ts b/browser_tests/tests/agent/agentOverflowWidgetOnNodeCreate.spec.ts index b73107451b1..461fd455ddb 100644 --- a/browser_tests/tests/agent/agentOverflowWidgetOnNodeCreate.spec.ts +++ b/browser_tests/tests/agent/agentOverflowWidgetOnNodeCreate.spec.ts @@ -1,7 +1,7 @@ import { expect } from '@playwright/test' import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef, InputSpec } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef, InputSpec } from '@comfyorg/object-info-parser' import type { AgentRunModePreference } from '@/workbench/extensions/agent/schemas/agentApiSchema' import { diff --git a/browser_tests/tests/agent/agentPanel.spec.ts b/browser_tests/tests/agent/agentPanel.spec.ts index c19084cc4bf..f1830a5b1a9 100644 --- a/browser_tests/tests/agent/agentPanel.spec.ts +++ b/browser_tests/tests/agent/agentPanel.spec.ts @@ -249,6 +249,43 @@ test.describe('In-App Agent panel', { tag: '@cloud' }, () => { await expect(panel.getByText('Resize image node')).toBeVisible() }) + test( + 'shows a rebound canvas shortcut as semantic keycaps in a reply', + { tag: '@keyboard' }, + async ({ agentPanel, comfyPage, getAgentSocket, postedMessages }) => { + const commandId = 'Comfy.Canvas.ToggleSelectedNodes.Bypass' + const keybindingPanel = comfyPage.settingDialog.keybindingPanel + + await comfyPage.settingDialog.open() + await comfyPage.settingDialog.category('Keybinding').click() + await keybindingPanel.search(commandId) + await keybindingPanel.commandLabel(commandId).dblclick() + await keybindingPanel.pressCombo('Alt+q') + await keybindingPanel.saveKeybinding() + await comfyPage.settingDialog.close() + + await agentPanel.open() + await agentPanel.selectWorkflow() + const ws = await getAgentSocket() + await agentPanel.sendMessage('How do I bypass the selected node?') + await expect.poll(() => postedMessages.length).toBeGreaterThanOrEqual(1) + + pushEvent( + ws, + agentMessageDeltaEvent('Select it and press Ctrl+B to bypass the node.') + ) + pushEvent(ws, MESSAGE_DONE_EVENT) + + const reply = agentPanel.root + .getByTestId('markdown-stream') + .filter({ hasText: 'Select it and press' }) + await expect(reply).toBeVisible() + await expect(reply.locator('kbd')).toHaveText(['Alt', 'Q']) + await expect(reply).toContainText('Alt+Q') + await expect(reply).not.toContainText('Ctrl+B') + } + ) + test('identifies a generated video and honors its play affordance', async ({ agentPanel, comfyPage, diff --git a/browser_tests/tests/agent/agentPanelMocks.ts b/browser_tests/tests/agent/agentPanelMocks.ts index eb42e9e1366..63138ac9bd9 100644 --- a/browser_tests/tests/agent/agentPanelMocks.ts +++ b/browser_tests/tests/agent/agentPanelMocks.ts @@ -55,6 +55,25 @@ export function pushAgentEvent(ws: WebSocketRoute, event: AgentWsEvent): void { ws.send(JSON.stringify(event)) } +export function toolCallEvent( + toolCallId: string, + toolName: string, + status: 'running' | 'success' | 'error', + skill?: string +): AgentWsEvent { + return { + type: 'agent_tool_call', + data: { + tool_call_id: toolCallId, + tool_name: toolName, + status, + message_id: TURN_ID, + thread_id: THREAD_ID, + ...(skill === undefined ? {} : { skill }) + } + } +} + export function pushHostFrames( ws: WebSocketRoute, frames: readonly HostFrame[] @@ -90,6 +109,7 @@ const FUNDED_BILLING_STATUS = { scoped_effective_has_funds: { agent: true }, scoped_has_funds: { agent: true }, scheduled_change: null, + next_charge: null, subscription_duration: 'MONTHLY', subscription_status: 'active', subscription_tier: 'STANDARD', @@ -300,6 +320,17 @@ export const RUNNING_OPEN_TAB_TOOL_EVENT: AgentWsEvent = { } } +export const RUNNING_RUN_TOOL_EVENT: AgentWsEvent = { + type: 'agent_tool_call', + data: { + tool_call_id: 'call-run', + tool_name: 'run', + status: 'running', + message_id: TURN_ID, + thread_id: THREAD_ID + } +} + export const RESIZE_IMAGE_TOOL_EVENT: AgentWsEvent = { type: 'agent_tool_call', data: { diff --git a/browser_tests/tests/agent/agentPaywallSubscribe.spec.ts b/browser_tests/tests/agent/agentPaywallSubscribe.spec.ts index 835e3cc9ade..a622dba6d96 100644 --- a/browser_tests/tests/agent/agentPaywallSubscribe.spec.ts +++ b/browser_tests/tests/agent/agentPaywallSubscribe.spec.ts @@ -1,5 +1,6 @@ import { expect } from '@playwright/test' import type { Page } from '@playwright/test' +import type { BillingPlansResponse } from '@comfyorg/ingest-types' import type { RemoteConfig } from '@/platform/remoteConfig/types' import { zAgentAdmissionError } from '@/workbench/extensions/agent/schemas/agentApiSchema' @@ -8,18 +9,19 @@ import enMessages from '@/locales/en/main.json' with { type: 'json' } import { waitForCloudApp } from '@e2e/fixtures/cloudAppFixture' import { createBillingCapabilities } from '@e2e/fixtures/data/billingCapabilities' +import { createPlan } from '@e2e/fixtures/data/billingPlans' import { collectConsoleErrors } from '@e2e/fixtures/utils/consoleErrorCollector' import { jsonRoute } from '@e2e/fixtures/utils/jsonRoute' import { agentTest } from '@e2e/tests/agent/agentPanelMocks' import { AGENT_COMPOSER_LABEL } from '@e2e/fixtures/utils/agentComposerLabel' -// Regression e2e coverage for the fix in dialogService.showSubscriptionRequiredDialog: +// Regression e2e coverage for useBillingDialogs.showSubscriptionRequiredDialog: // clicking the agent panel paywall's "Subscribe" action must always open the -// subscription dialog (or at least report a failure), never silently no-op. -// The unit test (dialogService.subscriptionRequired.test.ts) proves the exact -// timing race deterministically (a config fetch still `unloaded` at click -// time); this file drives the real chat panel end to end, through a real -// no-funds turn rejection surfacing the paywall card, and a real click. +// pricing dialog (or at least report a failure), never silently no-op. +// The unit test (useBillingDialogs.subscriptionRequired.test.ts) pins the +// bounded config retry; it is a guard, not a confirmed production cause. +// This file drives the real chat panel end to end, through a real no-funds +// turn rejection surfacing the paywall card, and a real click. const NO_FUNDS_ERROR = zAgentAdmissionError.parse({ error: { @@ -32,6 +34,22 @@ const NO_FUNDS_ERROR = zAgentAdmissionError.parse({ const DIALOG_SELECTOR = '[data-dialog-key="subscription-required"]' +const CREATOR_YEARLY_PLAN = createPlan({ + slug: 'creator-annual', + tier: 'CREATOR', + duration: 'ANNUAL', + priceCents: 33_600, + monthlyCredits: 7_400 +}) + +const CREATOR_YEARLY_SUBSCRIBE = enMessages.subscription.subscribeTo.replace( + '{plan}', + enMessages.subscription.tierNameYearly.replace( + '{name}', + enMessages.subscription.tiers.creator.name + ) +) + /** * Re-mocks `/features` (the subscription gate) and `/billing/capabilities` * (what makes the agent paywall card render a "subscriptionRequired" @@ -107,6 +125,16 @@ agentTest.describe( 'Agent paywall Subscribe action', { tag: ['@cloud', '@ui'] }, () => { + agentTest.beforeEach(async ({ page }) => { + await page.route('**/api/billing/plans', (route) => + route.fulfill( + jsonRoute({ + plans: [CREATOR_YEARLY_PLAN] + } satisfies BillingPlansResponse) + ) + ) + }) + agentTest( 'opens the subscription dialog once the config gate is open', async ({ page, agentPanel }, testInfo) => { @@ -125,6 +153,10 @@ agentTest.describe( const dialog = page.locator(DIALOG_SELECTOR) await expect(dialog).toBeVisible() + await expect( + dialog.getByRole('button', { name: CREATOR_YEARLY_SUBSCRIBE }), + 'the pricing table offers the plan served by /billing/plans' + ).toBeEnabled() await testInfo.attach('subscription-dialog-opened', { body: await page.screenshot({ animations: 'disabled' }), diff --git a/browser_tests/tests/agent/agentPreviewTextWidgetNotMinted.spec.ts b/browser_tests/tests/agent/agentPreviewTextWidgetNotMinted.spec.ts index 687ef07450e..8f21df5583d 100644 --- a/browser_tests/tests/agent/agentPreviewTextWidgetNotMinted.spec.ts +++ b/browser_tests/tests/agent/agentPreviewTextWidgetNotMinted.spec.ts @@ -1,7 +1,7 @@ import { expect } from '@playwright/test' import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { AgentNonValueWidgetRig } from '@e2e/fixtures/agentNonValueWidgetRig' import type { AgentFollowerHostSocket } from '@e2e/fixtures/agentFollowerHostSocket' diff --git a/browser_tests/tests/agent/agentProgressTextWidgetNotMinted.spec.ts b/browser_tests/tests/agent/agentProgressTextWidgetNotMinted.spec.ts index c5b2f5e0a45..59577be0947 100644 --- a/browser_tests/tests/agent/agentProgressTextWidgetNotMinted.spec.ts +++ b/browser_tests/tests/agent/agentProgressTextWidgetNotMinted.spec.ts @@ -1,7 +1,7 @@ import { expect } from '@playwright/test' import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { AgentNonValueWidgetRig, diff --git a/browser_tests/tests/agent/agentRefusedDocSubscribe.spec.ts b/browser_tests/tests/agent/agentRefusedDocSubscribe.spec.ts index 8400e89fb3b..93f8d6d6ff5 100644 --- a/browser_tests/tests/agent/agentRefusedDocSubscribe.spec.ts +++ b/browser_tests/tests/agent/agentRefusedDocSubscribe.spec.ts @@ -88,7 +88,7 @@ test.describe( ) exhaustedRetryTest.describe( - 'Agent doc subscribe refused by the host', + 'Agent doc subscribe retries exhausted', { tag: ['@cloud', '@agent', '@vue-nodes'] }, () => { exhaustedRetryTest.describe.configure({ timeout: 90_000 }) diff --git a/browser_tests/tests/agent/agentSelectedNodeStarterPrompt.spec.ts b/browser_tests/tests/agent/agentSelectedNodeStarterPrompt.spec.ts new file mode 100644 index 00000000000..d56c71d0a58 --- /dev/null +++ b/browser_tests/tests/agent/agentSelectedNodeStarterPrompt.spec.ts @@ -0,0 +1,62 @@ +import { expect } from '@playwright/test' + +import enMessages from '@/locales/en/main.json' with { type: 'json' } + +import { + addNodeBesideAgentPanel, + agentTest as test +} from '@e2e/tests/agent/agentPanelMocks' + +test.describe( + 'Agent selected-node starter prompt', + { tag: ['@agent-harness', '@canvas', '@node'] }, + () => { + test.use({ objectInfo: 'server' }) + + test('shows the selected-node prompt after a node is added to the composer', async ({ + agentPanel, + comfyPage + }) => { + await addNodeBesideAgentPanel(comfyPage, 'KSampler') + const selectedNode = await comfyPage.nodeOps.addNode( + 'VAEDecode', + undefined, + { x: 100, y: 450 } + ) + await comfyPage.nextFrame() + const selectedNodePrompt = agentPanel.root.getByRole('button', { + name: enMessages.agent.suggestedPrompts.local[2], + exact: true + }) + + await agentPanel.consentRejectButton.click() + await expect(agentPanel.consentDialog).toBeHidden() + await agentPanel.open() + await agentPanel.selectWorkflow() + await expect( + agentPanel.root.getByRole('button', { + name: enMessages.agent.suggestedPrompts.local[0], + exact: true + }) + ).toBeVisible() + await expect(selectedNodePrompt).toHaveCount(0) + + await agentPanel.enterNodeSelectionMode() + await agentPanel.composer.fill('@') + await agentPanel.root + .getByRole('menuitem', { name: enMessages.agent.nodes, exact: true }) + .click() + await agentPanel.root + .getByRole('menuitem', { + name: 'KSampler', + exact: true + }) + .click() + await expect(selectedNodePrompt).toHaveCount(0) + + await selectedNode.click('title') + + await expect(selectedNodePrompt).toBeVisible() + }) + } +) diff --git a/browser_tests/tests/agent/agentTabActivationFollowsChat.spec.ts b/browser_tests/tests/agent/agentTabActivationFollowsChat.spec.ts index 5b7311e01d2..634d522bec8 100644 --- a/browser_tests/tests/agent/agentTabActivationFollowsChat.spec.ts +++ b/browser_tests/tests/agent/agentTabActivationFollowsChat.spec.ts @@ -95,6 +95,35 @@ test.describe( expect(tabChats.transcriptReads).toEqual(tabActivationTranscriptReads) }) + test('the workflow name in the message box retargets the open chat', async ({ + tabChats + }) => { + await tabChats.openChatFromHistory('Landscape chat') + await tabChats.openChatFromHistory('Portrait chat') + const composer = tabChats.panel.root.getByTestId('agent-composer') + await expect(tabChats.panel.workflowPicker).toContainText(PORTRAIT_NAME) + await expect( + composer.getByRole('button', { name: enMessages.agent.switchWorkflow }) + ).toBeVisible() + + await tabChats.panel.workflowPicker.click() + await tabChats.panel.root + .page() + .getByRole('menuitemradio', { name: LANDSCAPE_NAME }) + .click() + await tabChats.waitForFollowToSettle() + + await expect(tabChats.panel.workflowPicker).toContainText(LANDSCAPE_NAME) + await expect( + tabChats.topbar + .getWorkflowTab(LANDSCAPE_NAME) + .and(tabChats.topbar.getActiveTab()) + ).toBeVisible() + await expect(tabChats.panel.userMessageBubbles).toHaveText([ + PORTRAIT_REQUEST + ]) + }) + test('keeps a chat hidden when its workflow cannot be restored', async ({ tabChats }) => { diff --git a/browser_tests/tests/agent/agentToolCallHistoryPersistence.spec.ts b/browser_tests/tests/agent/agentToolCallHistoryPersistence.spec.ts index 17f085ef1e5..6ce0b7a86b2 100644 --- a/browser_tests/tests/agent/agentToolCallHistoryPersistence.spec.ts +++ b/browser_tests/tests/agent/agentToolCallHistoryPersistence.spec.ts @@ -28,7 +28,7 @@ const TRACE = [ THINKING_ROUND_1, 'Search nodes', THINKING_ROUND_2, - enMessages.agent.toolNotConfirmedOnCanvas.replace('{tool}', 'Add node'), + 'Add node', THINKING_FINAL ] @@ -39,10 +39,16 @@ test( 'keeps a completed turn work summary, thinking included, after reload and chat switching', { tag: ['@cloud', '@ui'], - annotation: { - type: 'source', - description: 'https://linear.app/comfyorg/issue/PM-717' - } + annotation: [ + { + type: 'source', + description: 'https://linear.app/comfyorg/issue/PM-717' + }, + { + type: 'source', + description: 'https://linear.app/comfyorg/issue/FRONT-3803' + } + ] }, async ({ page, promptHistory, workflowSelection }) => { await new AgentPanel(page).open() @@ -148,10 +154,16 @@ test( await expect(reopenedPanel).toBeVisible({ timeout: 30_000 }) const summary = reopenedPanel.getByRole('button', { - name: enMessages.agent.workedNotConfirmedOnCanvas, + name: enMessages.agent.worked, exact: true }) await expect(summary).toBeVisible({ timeout: 10_000 }) + await expect( + reopenedPanel.getByText(enMessages.agent.workedNotConfirmedOnCanvas) + ).toHaveCount(0) + await expect( + reopenedPanel.getByTestId('agent-canvas-unconfirmed') + ).toHaveCount(0) await expect(summary).toHaveAttribute('aria-expanded', 'false') await expect(reopenedPanel.getByText('Search nodes')).toBeHidden() diff --git a/browser_tests/tests/agent/agentTurnProgressIsLegible.spec.ts b/browser_tests/tests/agent/agentTurnProgressIsLegible.spec.ts index e03a110cd6a..b87ac998f47 100644 --- a/browser_tests/tests/agent/agentTurnProgressIsLegible.spec.ts +++ b/browser_tests/tests/agent/agentTurnProgressIsLegible.spec.ts @@ -8,10 +8,12 @@ import { MESSAGE_DONE_EVENT, OPEN_TAB_TOOL_EVENT, RUNNING_OPEN_TAB_TOOL_EVENT, + RUNNING_RUN_TOOL_EVENT, THINKING_EVENT, agentTest, pushAgentEvent, - thinkingEvent + thinkingEvent, + toolCallEvent } from '@e2e/tests/agent/agentPanelMocks' const test = mergeTests(agentTest, webSocketFixture) @@ -63,6 +65,82 @@ test.describe( await expect(settledRow.locator('.animate-spin')).toHaveCount(0) }) + test('stops an unresolved tool spinner neutrally before the next message', async ({ + agentPanel, + getAgentSocket, + postedMessages + }) => { + await agentPanel.open() + await agentPanel.selectWorkflow() + + const ws = await getAgentSocket() + await agentPanel.sendMessage('Run the workflow') + await expect.poll(() => postedMessages.length).toBe(1) + + pushAgentEvent(ws, RUNNING_RUN_TOOL_EVENT) + const runRow = agentPanel.activityRows.filter({ hasText: 'Run' }) + await expect(runRow.locator('.animate-spin')).toBeVisible() + + pushAgentEvent(ws, MESSAGE_DONE_EVENT) + await expect(agentPanel.sendButton).toBeVisible() + await agentPanel.sendMessage('Continue') + await expect.poll(() => postedMessages.length).toBe(2) + + await agentPanel.openWorkSummary() + await expect(runRow).toHaveCount(1) + await expect(runRow.locator('.animate-spin')).toHaveCount(0) + await expect(runRow.locator('i')).not.toHaveClass(/lucide--circle-x/) + }) + + test('distinguishes unknown, successful, and failed tool outcomes', async ({ + agentPanel, + getAgentSocket, + postedMessages + }) => { + await agentPanel.open() + await agentPanel.selectWorkflow() + + const ws = await getAgentSocket() + await agentPanel.sendMessage('Remember this and prepare another tab') + await expect.poll(() => postedMessages.length).toBe(1) + + pushAgentEvent( + ws, + toolCallEvent('call-remember-1', 'remember', 'success') + ) + pushAgentEvent( + ws, + toolCallEvent('call-remember-2', 'remember', 'running') + ) + pushAgentEvent(ws, toolCallEvent('call-new-tab', 'new_tab', 'success')) + pushAgentEvent( + ws, + toolCallEvent('call-load-skill', 'load_skill', 'error', 'broken-skill') + ) + pushAgentEvent(ws, MESSAGE_DONE_EVENT) + + await expect(agentPanel.sendButton).toBeVisible() + await agentPanel.openWorkSummary() + + const unknownRow = agentPanel.activityRows.filter({ + hasText: 'Saving a preference — outcome unknown' + }) + const successRow = agentPanel.activityRows.filter({ + hasText: enMessages.agent.toolOpenedNewTab + }) + const failureRow = agentPanel.activityRows.filter({ + hasText: 'Failed to load broken-skill' + }) + + await expect(unknownRow).toHaveCount(1) + await expect(unknownRow).toContainText('×2') + await expect(successRow).toHaveCount(1) + await expect(failureRow).toHaveCount(1) + await expect(unknownRow.locator('i')).not.toHaveClass(/lucide--circle-x/) + await expect(successRow.locator('i')).not.toHaveClass(/lucide--circle-x/) + await expect(failureRow.locator('i')).toHaveClass(/lucide--circle-x/) + }) + test('renders a multi-sentence thinking update in full instead of cutting it off', async ({ agentPanel, getAgentSocket, diff --git a/browser_tests/tests/agent/agentUndefinedSerializeWidgetNotMinted.spec.ts b/browser_tests/tests/agent/agentUndefinedSerializeWidgetNotMinted.spec.ts index 0e37c5b9037..0450f3fcf84 100644 --- a/browser_tests/tests/agent/agentUndefinedSerializeWidgetNotMinted.spec.ts +++ b/browser_tests/tests/agent/agentUndefinedSerializeWidgetNotMinted.spec.ts @@ -1,7 +1,7 @@ import { expect } from '@playwright/test' import type { WidgetCatalog, WorkflowJSON } from '@comfyorg/comfy-multi-player' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { AgentNonValueWidgetRig } from '@e2e/fixtures/agentNonValueWidgetRig' import { agentTest as test } from '@e2e/fixtures/agentPanelFixture' diff --git a/browser_tests/tests/agent/agentWidgetFormHookDrift.spec.ts b/browser_tests/tests/agent/agentWidgetFormHookDrift.spec.ts index db173d514af..5288a191f2f 100644 --- a/browser_tests/tests/agent/agentWidgetFormHookDrift.spec.ts +++ b/browser_tests/tests/agent/agentWidgetFormHookDrift.spec.ts @@ -1,6 +1,6 @@ import { expect } from '@playwright/test' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { agentConversationTest as test } from '@e2e/fixtures/agentConversationFixture' diff --git a/browser_tests/tests/agent/agentWidgetFormRoundTrip.spec.ts b/browser_tests/tests/agent/agentWidgetFormRoundTrip.spec.ts index 53cc92b2cae..862f9ba670e 100644 --- a/browser_tests/tests/agent/agentWidgetFormRoundTrip.spec.ts +++ b/browser_tests/tests/agent/agentWidgetFormRoundTrip.spec.ts @@ -1,6 +1,6 @@ import { expect } from '@playwright/test' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { agentConversationTest as test } from '@e2e/fixtures/agentConversationFixture' diff --git a/browser_tests/tests/agent/agentWorkflowSelection.spec.ts b/browser_tests/tests/agent/agentWorkflowSelection.spec.ts index bafe4f342cc..2da97c168ad 100644 --- a/browser_tests/tests/agent/agentWorkflowSelection.spec.ts +++ b/browser_tests/tests/agent/agentWorkflowSelection.spec.ts @@ -1,5 +1,7 @@ import { expect, mergeTests } from '@playwright/test' +import type { ComfyWorkflowJSON } from '@comfyorg/graph-model/workflowSchema' + import enMessages from '@/locales/en/main.json' with { type: 'json' } import { agentTest } from '@e2e/fixtures/agentPanelFixture' @@ -7,6 +9,8 @@ import { AgentPanel } from '@e2e/fixtures/components/AgentPanel' import { Tooltip } from '@e2e/fixtures/components/Tooltip' import { Topbar } from '@e2e/fixtures/components/Topbar' import { workflowSelectionTest } from '@e2e/fixtures/agentWorkflowSelectionFixture' +import { waitForCloudApp } from '@e2e/fixtures/cloudAppFixture' +import type { WorkspaceStore } from '@e2e/types/globals' const test = mergeTests(agentTest, workflowSelectionTest) @@ -579,5 +583,76 @@ test.describe( await expect(page.getByRole('dialog')).toHaveCount(0) expect(workflowSelection.postedMessages).toHaveLength(0) }) + + test('picks an unsaved tab a reload left unopened', async ({ + page, + toast, + workflowSelection + }) => { + const tabs = page.getByTestId('workflow-tab') + await expect(tabs).toHaveCount(1) + await page.evaluate(() => { + const workflow = (window.app!.extensionManager as WorkspaceStore) + .workflow.activeWorkflow! + window.app!.graph.add(window.LiteGraph!.createNode('Note')) + workflow.changeTracker.checkState() + }) + await page + .getByRole('button', { + name: enMessages.sideToolbar.newBlankWorkflow, + exact: true + }) + .click() + await expect(tabs).toHaveCount(2) + await expect + .poll(() => + page.evaluate(() => + Object.keys(localStorage).some( + (key) => + key.startsWith('Comfy.Workflow.DraftIndex.v2:') && + localStorage + .getItem(key)! + .includes('"workflows/Unsaved Workflow.json"') + ) + ) + ) + .toBe(true) + + await page.reload() + await waitForCloudApp(page) + await expect(tabs).toHaveCount(2) + + await test.step('the background tab is restored unloaded', async () => { + await expect + .poll(() => + page.evaluate( + () => + ( + window.app!.extensionManager as WorkspaceStore + ).workflow.getWorkflowByPath('workflows/Unsaved Workflow.json') + ?.isLoaded + ) + ) + .toBe(false) + }) + + const agentPanel = new AgentPanel(page) + await agentPanel.open() + await agentPanel.chooseWorkflow('Unsaved Workflow') + await expect.poll(() => workflowSelection.savedPaths.length).toBe(1) + workflowSelection.finishSave(true) + + await expect(agentPanel.workflowPicker).toHaveText('Unsaved Workflow') + await expect( + toast.withText(enMessages.shareWorkflow.saveFailedTitle) + ).toHaveCount(0) + const savedGraph = await page.evaluate(async (path) => { + const response = await fetch( + `/api/userdata/${encodeURIComponent(path)}` + ) + return (await response.json()) as ComfyWorkflowJSON + }, workflowSelection.savedPaths[0]) + expect(savedGraph.nodes.map(({ type }) => type)).toContain('Note') + }) } ) diff --git a/browser_tests/tests/appChrome/appChrome.spec.ts-snapshots/app-kitchen-sink-chromium-linux.png b/browser_tests/tests/appChrome/appChrome.spec.ts-snapshots/app-kitchen-sink-chromium-linux.png index 3bd13f3f6b2..0cad98a919c 100644 Binary files a/browser_tests/tests/appChrome/appChrome.spec.ts-snapshots/app-kitchen-sink-chromium-linux.png and b/browser_tests/tests/appChrome/appChrome.spec.ts-snapshots/app-kitchen-sink-chromium-linux.png differ diff --git a/browser_tests/tests/billing/cloudCreditsLockedRefusal.spec.ts b/browser_tests/tests/billing/cloudCreditsLockedRefusal.spec.ts index 3bed30254ae..fc720012cf7 100644 --- a/browser_tests/tests/billing/cloudCreditsLockedRefusal.spec.ts +++ b/browser_tests/tests/billing/cloudCreditsLockedRefusal.spec.ts @@ -7,7 +7,7 @@ import { } from '@e2e/fixtures/cloudAppFixture' import { DEFAULT_TEAM_MEMBERS, - LEGACY_PERSONAL_BILLING_STATUS + PERSONAL_BILLING_STATUS } from '@e2e/fixtures/data/cloudWorkspace' import { CloudWorkspaceMockHelper } from '@e2e/fixtures/helpers/CloudWorkspaceMockHelper' import { TestIds } from '@e2e/fixtures/selectors' @@ -18,7 +18,7 @@ import { workspace } from '@e2e/fixtures/utils/workspaceMocks' const APP_URL = process.env.PLAYWRIGHT_TEST_URL || 'http://localhost:8188' const FREE_ACCOUNT_WITH_CREDITS = { - ...LEGACY_PERSONAL_BILLING_STATUS, + ...PERSONAL_BILLING_STATUS, is_active: true, subscription_status: undefined } @@ -57,9 +57,6 @@ test.describe('Run refused for locked credits', { tag: '@cloud' }, () => { await page.route('**/api/features', (route) => route.fulfill(jsonRoute({ subscription_required: true })) ) - await page.route('**/customers/balance', (route) => - route.fulfill(jsonRoute({ amount_micros: 0, currency: 'usd' })) - ) }) test( diff --git a/browser_tests/tests/billing/cloudCreditsLockedRefusal.spec.ts-snapshots/credits-locked-subscribe-dialog-cloud-linux.png b/browser_tests/tests/billing/cloudCreditsLockedRefusal.spec.ts-snapshots/credits-locked-subscribe-dialog-cloud-linux.png index bc4d9627f00..8f75c177feb 100644 Binary files a/browser_tests/tests/billing/cloudCreditsLockedRefusal.spec.ts-snapshots/credits-locked-subscribe-dialog-cloud-linux.png and b/browser_tests/tests/billing/cloudCreditsLockedRefusal.spec.ts-snapshots/credits-locked-subscribe-dialog-cloud-linux.png differ diff --git a/browser_tests/tests/billing/localCreditsWorkspaceRail.spec.ts b/browser_tests/tests/billing/localCreditsWorkspaceRail.spec.ts index 9985f5a2f51..68a076a8af8 100644 --- a/browser_tests/tests/billing/localCreditsWorkspaceRail.spec.ts +++ b/browser_tests/tests/billing/localCreditsWorkspaceRail.spec.ts @@ -8,9 +8,7 @@ import { workspaceRailAuthFixture as test } from '@e2e/fixtures/workspaceRailAut * Regression coverage for 1.51 QA finding #11: on a local (non-Cloud) * distribution, a workspace without an active subscription had no way to add * credits — the subscribe CTA is hidden on Local and both Add credits entry - * points were gated on an active subscription. Only reproduces on the - * workspace billing rail; localCreditsNoSubscribeUi.spec.ts covers the - * legacy rail. + * points were gated on an active subscription. */ test.describe('Local credits surfaces on the workspace billing rail', () => { test('lets an unsubscribed workspace owner reach the top-up dialog', async ({ diff --git a/browser_tests/tests/billingFacadeConsumers.spec.ts b/browser_tests/tests/billingFacadeConsumers.spec.ts index 92b4ad93c54..548b25917e6 100644 --- a/browser_tests/tests/billingFacadeConsumers.spec.ts +++ b/browser_tests/tests/billingFacadeConsumers.spec.ts @@ -2,10 +2,6 @@ import { expect } from '@playwright/test' import type { Page } from '@playwright/test' import type { RemoteConfig } from '@/platform/remoteConfig/types' -import { - PENDING_SUBSCRIPTION_CHECKOUT_EVENT, - PENDING_SUBSCRIPTION_CHECKOUT_STORAGE_KEY -} from '@/platform/billing/subscription/utils/subscriptionCheckoutTracker' import type { BillingBalanceResponse, BillingStatusResponse @@ -37,12 +33,6 @@ const jsonRoute = (body: unknown) => ({ body: JSON.stringify(body) }) -const mockBalance: BillingBalanceResponse = { - amount_micros: 6000, // -> 12,660 credits - currency: 'usd', - effective_balance_micros: 6000 -} - const mockWorkspaceBalance: BillingBalanceResponse = { amount_micros: 0, currency: 'usd', @@ -52,10 +42,10 @@ const mockWorkspaceBalance: BillingBalanceResponse = { async function mockCloudBoot( page: Page, subscriptionStatus: Partial, - remoteConfig: RemoteConfig = {}, - billingRail?: BillingStatusResponse['billing_rail'] + remoteConfig: RemoteConfig = {} ) { const resolvedSubscriptionStatus: BillingStatusResponse = { + billing_rail: 'stripe', is_active: false, has_funds: false, max_seats: 0, @@ -63,12 +53,10 @@ async function mockCloudBoot( ended_at: null, team_credit_stop: null, scheduled_change: null, - ...subscriptionStatus, - ...(billingRail === undefined ? {} : { billing_rail: billingRail }) + next_charge: null, + ...subscriptionStatus } const billingRequests = { - legacyStatus: 0, - legacyBalance: 0, workspaceStatus: 0, workspaceBalance: 0 } @@ -118,15 +106,6 @@ async function mockCloudBoot( ) ) - await page.route('**/customers/balance', (r) => { - billingRequests.legacyBalance++ - return r.fulfill(jsonRoute(mockBalance)) - }) - await page.route('**/customers/cloud-subscription-status', (r) => { - billingRequests.legacyStatus++ - return r.fulfill(jsonRoute(resolvedSubscriptionStatus)) - }) - // Cloud personal workspaces route through `/api/billing/*`. await page.route('**/api/billing/status', (r) => { billingRequests.workspaceStatus++ @@ -161,85 +140,6 @@ async function bootApp(page: Page) { } test.describe('Billing facade consumers (FE-933)', { tag: '@cloud' }, () => { - test('avatar popover renders a legacy-rail balance from the facade', async ({ - page - }) => { - test.setTimeout(60_000) - - const billingRequests = await mockCloudBoot( - page, - { - is_active: true, - subscription_tier: 'PRO', - subscription_duration: 'MONTHLY', - renewal_date: '2099-02-20T10:00:00Z', - has_funds: true - }, - {}, - 'legacy_stripe' - ) - await bootApp(page) - await expect.poll(() => billingRequests.workspaceStatus).toBeGreaterThan(1) - - await page.getByRole('button', { name: 'Current user' }).click() - const popover = page.locator('.current-user-popover') - await expect(popover).toBeVisible() - await expect(popover.getByText('12,660')).toBeVisible() - - await page.evaluate((storageKey) => { - localStorage.setItem( - storageKey, - JSON.stringify({ - attempt_id: 'rail-selection-regression', - started_at_ms: Date.now(), - tier: 'pro', - cycle: 'monthly', - checkout_type: 'change' - }) - ) - }, PENDING_SUBSCRIPTION_CHECKOUT_STORAGE_KEY) - billingRequests.workspaceStatus = 0 - await page.evaluate( - (eventName) => window.dispatchEvent(new Event(eventName)), - PENDING_SUBSCRIPTION_CHECKOUT_EVENT - ) - - await expect(popover.getByText('12,660')).toBeVisible() - await expect(popover.getByText('0', { exact: true })).toHaveCount(0) - await expect(popover.getByTestId('add-credits-button')).toBeVisible() - await expect.poll(() => billingRequests.workspaceStatus).toBeGreaterThan(0) - expect(billingRequests.legacyStatus).toBe(0) - expect(billingRequests.legacyBalance).toBeGreaterThan(0) - }) - - test('legacy Stripe workspaces retain legacy billing with stale config', async ({ - page - }) => { - test.setTimeout(60_000) - - const billingRequests = await mockCloudBoot( - page, - { - is_active: true, - subscription_tier: 'PRO', - subscription_duration: 'MONTHLY', - has_funds: true - }, - { legacy_billing_migration_enabled: true }, - 'legacy_stripe' - ) - await bootApp(page) - - await expect - .poll(() => billingRequests.legacyBalance, { timeout: 30_000 }) - .toBeGreaterThan(0) - await page.getByRole('button', { name: 'Current user' }).click() - const popover = page.locator('.current-user-popover') - await expect(popover.getByText('12,660')).toBeVisible() - await expect(popover.getByText('0', { exact: true })).toHaveCount(0) - expect(billingRequests.legacyStatus).toBe(0) - }) - test('subscribe-to-run routes an inactive FREE user to the pricing table', async ({ page }) => { @@ -263,8 +163,7 @@ test.describe('Billing facade consumers (FE-933)', { tag: '@cloud' }, () => { }, { subscription_required: true - }, - 'stripe' + } ) await bootApp(page) @@ -294,8 +193,7 @@ test.describe('Billing facade consumers (FE-933)', { tag: '@cloud' }, () => { renewal_date: '2099-02-20T10:00:00Z', has_funds: false }, - freeTierRemoteConfig, - 'stripe' + freeTierRemoteConfig ) await bootApp(page) diff --git a/browser_tests/tests/cloudSubscribeDeepLink.spec.ts b/browser_tests/tests/cloudSubscribeDeepLink.spec.ts index 70760adf926..c6c69806187 100644 --- a/browser_tests/tests/cloudSubscribeDeepLink.spec.ts +++ b/browser_tests/tests/cloudSubscribeDeepLink.spec.ts @@ -7,7 +7,7 @@ import { cloudAppFixture as test } from '@e2e/fixtures/cloudAppFixture' import { createPlan } from '@e2e/fixtures/data/billingPlans' import { DEFAULT_TEAM_MEMBERS, - LEGACY_PERSONAL_BILLING_STATUS + PERSONAL_BILLING_STATUS } from '@e2e/fixtures/data/cloudWorkspace' import { CloudWorkspaceMockHelper } from '@e2e/fixtures/helpers/CloudWorkspaceMockHelper' import { jsonRoute } from '@e2e/fixtures/utils/jsonRoute' @@ -46,10 +46,11 @@ test.describe('Cloud subscribe deep link', { tag: '@cloud' }, () => { page }) => { const helper = new CloudWorkspaceMockHelper(page) - await helper.setup(DEFAULT_TEAM_MEMBERS, workspace('personal', 'owner'), { - ...LEGACY_PERSONAL_BILLING_STATUS, - billing_rail: 'stripe' - }) + await helper.setup( + DEFAULT_TEAM_MEMBERS, + workspace('personal', 'owner'), + PERSONAL_BILLING_STATUS + ) await page.route('**/api/billing/plans', (r) => r.fulfill(jsonRoute(CREATOR_MONTHLY_PLANS)) ) diff --git a/browser_tests/tests/creditHelpers.spec.ts b/browser_tests/tests/creditHelpers.spec.ts index 8a9e7df69de..1361091a461 100644 --- a/browser_tests/tests/creditHelpers.spec.ts +++ b/browser_tests/tests/creditHelpers.spec.ts @@ -1,7 +1,7 @@ import { expect } from '@playwright/test' import { comfyPageFixture as test } from '@e2e/fixtures/ComfyPage' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' function buildMockApiNode( name: string, diff --git a/browser_tests/tests/currentUserPopoverCredits.spec.ts b/browser_tests/tests/currentUserPopoverCredits.spec.ts index 05872af8551..55b95f0cc3f 100644 --- a/browser_tests/tests/currentUserPopoverCredits.spec.ts +++ b/browser_tests/tests/currentUserPopoverCredits.spec.ts @@ -57,6 +57,7 @@ const mockBillingStatus: BillingStatusResponse = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, subscription_status: 'canceled', subscription_tier: 'PRO', subscription_duration: 'MONTHLY', @@ -107,14 +108,6 @@ const test = comfyPageFixture.extend({ route.fulfill({ status: 204 }) ) - await page.route('**/customers/balance', (route) => - route.fulfill({ - status: 200, - contentType: 'application/json', - body: JSON.stringify(mockBalance) - }) - ) - // The popover sources its data from the workspace billing endpoints. await page.route('**/api/billing/capabilities', (route) => { if (route.request().method() !== 'GET') return route.fallback() diff --git a/browser_tests/tests/dialogs/billingPortalOrigin.spec.ts b/browser_tests/tests/dialogs/billingPortalOrigin.spec.ts index 07e56ff89bd..9d3a3926197 100644 --- a/browser_tests/tests/dialogs/billingPortalOrigin.spec.ts +++ b/browser_tests/tests/dialogs/billingPortalOrigin.spec.ts @@ -55,7 +55,8 @@ const ACTIVE_PRO_STATUS: BillingStatusResponse = { occupied_seats: 1, ended_at: null, team_credit_stop: null, - scheduled_change: null + scheduled_change: null, + next_charge: null } const STANDARD_YEARLY_PLAN = createPlan({ @@ -104,9 +105,6 @@ async function setupRefusedPlanChange(page: Page, portalUrl: string) { await page.route('**/api/billing/balance', (r) => r.fulfill(jsonRoute({ amount_micros: 6000, currency: 'usd' })) ) - await page.route('**/customers/balance', (r) => - r.fulfill(jsonRoute({ amount_micros: 6000, currency: 'usd' })) - ) await page.route('**/api/billing/capabilities', (r) => { if (r.request().method() !== 'GET') return r.fallback() return r.fulfill(jsonRoute(createWorkspaceBillingCapabilities(PERSONAL))) diff --git a/browser_tests/tests/dialogs/billingProgressToastParity.spec.ts b/browser_tests/tests/dialogs/billingProgressToastParity.spec.ts index 4e9eaec5f18..23162c87820 100644 --- a/browser_tests/tests/dialogs/billingProgressToastParity.spec.ts +++ b/browser_tests/tests/dialogs/billingProgressToastParity.spec.ts @@ -124,6 +124,7 @@ const ACTIVE_STANDARD = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, max_seats: 1, occupied_seats: 1 } satisfies BillingStatusResponse diff --git a/browser_tests/tests/dialogs/billingRailParitySdkRail.spec.ts b/browser_tests/tests/dialogs/billingRailParitySdkRail.spec.ts index 443532bd05d..6236668231b 100644 --- a/browser_tests/tests/dialogs/billingRailParitySdkRail.spec.ts +++ b/browser_tests/tests/dialogs/billingRailParitySdkRail.spec.ts @@ -108,6 +108,7 @@ const ACTIVE_STANDARD = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, max_seats: 1, occupied_seats: 1 } satisfies BillingStatusResponse @@ -252,9 +253,6 @@ async function setupParity( routes.balanceRequests.push(route.request()) return route.fulfill(jsonRoute(balance(server.balanceMicros))) }) - await page.route('**/customers/balance', (route) => - route.fulfill(jsonRoute(balance(server.balanceMicros))) - ) await page.route('**/api/billing/plans', (route) => route.fulfill(jsonRoute(PLAN_CATALOG)) ) diff --git a/browser_tests/tests/dialogs/billingReadsSdkRail.spec.ts b/browser_tests/tests/dialogs/billingReadsSdkRail.spec.ts index d607f20e712..55faf2f3a2b 100644 --- a/browser_tests/tests/dialogs/billingReadsSdkRail.spec.ts +++ b/browser_tests/tests/dialogs/billingReadsSdkRail.spec.ts @@ -65,6 +65,7 @@ const ACTIVE_STATUS: BillingStatusResponse = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, plan_slug: 'pro-monthly', renewal_date: '2099-02-20T10:00:00Z' } @@ -239,7 +240,6 @@ async function mockCloudBoot( eventPages.push(requested) return r.fulfill(jsonRoute(eventsPage(Number(requested ?? 1)))) }) - await page.route('**/customers/balance', (r) => r.fulfill(jsonRoute(BALANCE))) return { reads, eventPages } } diff --git a/browser_tests/tests/dialogs/billingRecoverySdkRail.spec.ts b/browser_tests/tests/dialogs/billingRecoverySdkRail.spec.ts index 0faa6f2196b..0d740469185 100644 --- a/browser_tests/tests/dialogs/billingRecoverySdkRail.spec.ts +++ b/browser_tests/tests/dialogs/billingRecoverySdkRail.spec.ts @@ -115,6 +115,7 @@ function billingStatus( ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, ...fields } } diff --git a/browser_tests/tests/dialogs/billingSessionSdkRail.spec.ts b/browser_tests/tests/dialogs/billingSessionSdkRail.spec.ts index 9e46a0f1951..13e2abe45e1 100644 --- a/browser_tests/tests/dialogs/billingSessionSdkRail.spec.ts +++ b/browser_tests/tests/dialogs/billingSessionSdkRail.spec.ts @@ -55,6 +55,7 @@ const ACTIVE_STATUS = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, plan_slug: 'pro-monthly', renewal_date: '2099-02-20T10:00:00Z' } satisfies BillingStatusResponse @@ -91,9 +92,6 @@ const PENDING_TOPUP = { started_at: '2026-09-20T00:00:00Z' } satisfies BillingOpStatusResponse -/** The legacy personal balance read, which a rail-on load must not issue. */ -const LEGACY_BALANCE_ROUTE = '/customers/balance' - interface BillingServer { status: BillingStatusResponse balance: BillingBalanceResponse @@ -145,7 +143,6 @@ async function bootWithRailsOn( return route.fulfill(jsonRoute(server.balance)) } await page.route('**/api/billing/balance', answerBalance) - await page.route(`**${LEGACY_BALANCE_ROUTE}`, answerBalance) await page.route( `**/api/billing/ops/${PENDING_OPERATION_ID}`, async (route) => { @@ -330,7 +327,6 @@ test.describe('Billing SDK rails across a session', { tag: '@cloud' }, () => { ]) ).toEqual(['fetch', 'fetch']) expect(transports(wire.reads)).not.toContain('xhr') - expect(readsOf(wire.reads, LEGACY_BALANCE_ROUTE)).toEqual([]) }) test('never shows the balance as 0 or blank across five reloads', async ({ diff --git a/browser_tests/tests/dialogs/cancelSubscriptionSdkRail.spec.ts b/browser_tests/tests/dialogs/cancelSubscriptionSdkRail.spec.ts index 1d5e6ff45f4..3222e082b3b 100644 --- a/browser_tests/tests/dialogs/cancelSubscriptionSdkRail.spec.ts +++ b/browser_tests/tests/dialogs/cancelSubscriptionSdkRail.spec.ts @@ -37,6 +37,7 @@ const SUBSCRIPTION_STATUS: BillingStatusResponse = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, plan_slug: 'pro-monthly', renewal_date: '2099-02-20T10:00:00Z' } @@ -100,9 +101,6 @@ async function mockCloudBoot(page: Page): Promise { jsonRoute(createBillingCapabilities('ws-personal', { can_cancel: true })) ) ) - await page.route('**/customers/balance', (r) => - r.fulfill(jsonRoute({ amount_micros: 0, currency: 'usd' })) - ) await page.route('**/api/billing/subscription/cancel', async (r) => { requests.push(r.request()) diff --git a/browser_tests/tests/dialogs/checkoutRecovery.spec.ts b/browser_tests/tests/dialogs/checkoutRecovery.spec.ts index d82a24c2173..0483d97a4f5 100644 --- a/browser_tests/tests/dialogs/checkoutRecovery.spec.ts +++ b/browser_tests/tests/dialogs/checkoutRecovery.spec.ts @@ -76,6 +76,7 @@ const LEGACY_ACTIVE_STANDARD_STATUS = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, max_seats: 1, occupied_seats: 1, billing_rail: 'legacy_stripe' diff --git a/browser_tests/tests/dialogs/creditsTile.spec.ts b/browser_tests/tests/dialogs/creditsTile.spec.ts index 7d1e0c58bdd..9edf063136b 100644 --- a/browser_tests/tests/dialogs/creditsTile.spec.ts +++ b/browser_tests/tests/dialogs/creditsTile.spec.ts @@ -43,8 +43,6 @@ const jsonRoute = (body: unknown) => ({ body: JSON.stringify(body) }) -// Legacy `/customers/balance` and workspace `/api/billing/balance` share the -// same response shape, so one body fulfills both endpoints. const balanceRoute = (balance: { amount: number monthly: number @@ -68,6 +66,7 @@ const mockBillingStatus: BillingStatusResponse = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, subscription_tier: 'PRO', subscription_duration: 'MONTHLY', renewal_date: '2099-02-20T12:00:00Z', @@ -81,6 +80,7 @@ const freeBillingStatus: BillingStatusResponse = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, subscription_tier: 'FREE', has_funds: true } @@ -92,6 +92,7 @@ const endedPersonalBillingStatus: BillingStatusResponse = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, subscription_status: 'ended', subscription_tier: 'PRO', subscription_duration: 'MONTHLY', @@ -168,10 +169,6 @@ async function mockCloudBoot( ) ) - await page.route('**/customers/balance', (r) => - r.fulfill(balanceRoute(DEFAULT_BALANCE)) - ) - // Workspace billing (flag-on path) — a personal workspace now routes through // `/api/billing/*`. await page.route('**/api/billing/status', (r) => @@ -200,11 +197,7 @@ async function mockBalance( page: Page, balance: { amount: number; monthly: number; prepaid: number } ) { - await page.unroute('**/customers/balance') await page.unroute('**/api/billing/balance') - await page.route('**/customers/balance', (r) => - r.fulfill(balanceRoute(balance)) - ) await page.route('**/api/billing/balance', (r) => r.fulfill(balanceRoute(balance)) ) diff --git a/browser_tests/tests/dialogs/enterpriseTierCloud.spec.ts b/browser_tests/tests/dialogs/enterpriseTierCloud.spec.ts index a28fc121ade..46e3620af20 100644 --- a/browser_tests/tests/dialogs/enterpriseTierCloud.spec.ts +++ b/browser_tests/tests/dialogs/enterpriseTierCloud.spec.ts @@ -262,7 +262,7 @@ test.describe('Enterprise workspace billing', { tag: '@cloud' }, () => { await expect(content.getByTestId('subscription-state-card')).toHaveCount(0) await expect( content.getByRole('button', { name: 'Add credits' }) - ).toHaveCount(0) + ).toBeDisabled() await expect( content.getByText( "You can't run workflows or add new members. Contact sales to restore access." diff --git a/browser_tests/tests/dialogs/hostedBillingDestination.spec.ts b/browser_tests/tests/dialogs/hostedBillingDestination.spec.ts index 8b526881f73..b957ed5b8d7 100644 --- a/browser_tests/tests/dialogs/hostedBillingDestination.spec.ts +++ b/browser_tests/tests/dialogs/hostedBillingDestination.spec.ts @@ -50,6 +50,7 @@ const ACTIVE_BILLING_STATUS: BillingStatusResponse = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, subscription_tier: 'PRO', subscription_duration: 'MONTHLY', plan_slug: 'pro-monthly', @@ -132,9 +133,6 @@ async function mockCloudBoot(page: Page): Promise { await page.route('**/api/billing/balance', (r) => r.fulfill(jsonRoute({ amount_micros: 6000, currency: 'usd' })) ) - await page.route('**/customers/balance', (r) => - r.fulfill(jsonRoute({ amount_micros: 6000, currency: 'usd' })) - ) await page.route('**/api/billing/plans', (r) => r.fulfill(jsonRoute({ plans: [] })) ) diff --git a/browser_tests/tests/dialogs/localCreditsTile.spec.ts b/browser_tests/tests/dialogs/localCreditsTile.spec.ts deleted file mode 100644 index 13e55a6987f..00000000000 --- a/browser_tests/tests/dialogs/localCreditsTile.spec.ts +++ /dev/null @@ -1,69 +0,0 @@ -import { expect } from '@playwright/test' - -import { localAuthFixture as test } from '@e2e/fixtures/localAuthFixture' -import { - createBalance, - createSubscriptionStatus -} from '@e2e/fixtures/data/subscriptionFixtures' - -test.describe('Local credits tile', () => { - test('hides the Cloud monthly progress bar for an active subscription', async ({ - comfyPage - }) => { - const page = comfyPage.page - - await page.route('**/api/billing/status', (route) => - route.fulfill({ - json: createSubscriptionStatus({ - is_active: true, - subscription_tier: 'PRO', - subscription_duration: 'MONTHLY', - renewal_date: '2099-02-20T12:00:00Z', - has_funds: true - }) - }) - ) - await page.route('**/customers/balance', (route) => - route.fulfill({ - json: createBalance({ - amount_micros: 4_000, - effective_balance_micros: 4_000, - cloud_credit_balance_micros: 3_500, - prepaid_balance_micros: 500 - }) - }) - ) - - const settingsDialog = comfyPage.settingDialog - await settingsDialog.open() - const initialBalance = page.waitForResponse( - (response) => - response.url().includes('/customers/balance') && response.ok() - ) - await settingsDialog.category('Plan & Credits').click() - await initialBalance - const creditsContent = settingsDialog.contentArea - - const refreshedBalance = page.waitForResponse( - (response) => - response.url().includes('/customers/balance') && response.ok() - ) - await creditsContent - .getByRole('button', { name: 'Refresh credits' }) - .click() - await refreshedBalance - - await expect(creditsContent.getByText('Total credits')).toBeVisible() - await expect( - creditsContent.getByText('8,440', { exact: true }) - ).toBeVisible() - await expect(creditsContent.getByText('Additional credits')).toBeVisible() - await expect( - creditsContent.getByRole('button', { name: 'Add credits' }) - ).toBeVisible() - await expect( - creditsContent.getByText('Monthly', { exact: true }) - ).toHaveCount(0) - await expect(creditsContent.getByRole('progressbar')).toHaveCount(0) - }) -}) diff --git a/browser_tests/tests/dialogs/operationRecoverySdkRail.spec.ts b/browser_tests/tests/dialogs/operationRecoverySdkRail.spec.ts index 7189398fd6f..0fe01611ca8 100644 --- a/browser_tests/tests/dialogs/operationRecoverySdkRail.spec.ts +++ b/browser_tests/tests/dialogs/operationRecoverySdkRail.spec.ts @@ -68,6 +68,7 @@ const STATUS_WITH_PENDING_SUBSCRIPTION = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, max_seats: 1, occupied_seats: 1, pending_billing_op_id: RECOVERY_OPERATION_ID, diff --git a/browser_tests/tests/dialogs/planChangeSdkRail.spec.ts b/browser_tests/tests/dialogs/planChangeSdkRail.spec.ts index cb0065991d9..a5dd08fa2fa 100644 --- a/browser_tests/tests/dialogs/planChangeSdkRail.spec.ts +++ b/browser_tests/tests/dialogs/planChangeSdkRail.spec.ts @@ -69,6 +69,7 @@ const ACTIVE_STANDARD_STATUS = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, max_seats: 1, occupied_seats: 1 } satisfies BillingStatusResponse diff --git a/browser_tests/tests/dialogs/pricingTableDeepLink.spec.ts b/browser_tests/tests/dialogs/pricingTableDeepLink.spec.ts index b41f4b97750..c296e535727 100644 --- a/browser_tests/tests/dialogs/pricingTableDeepLink.spec.ts +++ b/browser_tests/tests/dialogs/pricingTableDeepLink.spec.ts @@ -94,6 +94,7 @@ const ACTIVE_TEAM_STATUS = { stop_usd: 700 }, scheduled_change: null, + next_charge: null, max_seats: 5, occupied_seats: 1 } satisfies BillingStatusResponse @@ -110,6 +111,7 @@ const ACTIVE_STANDARD_STATUS = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, max_seats: 1, occupied_seats: 1 } satisfies BillingStatusResponse diff --git a/browser_tests/tests/dialogs/resumedSubscriptionSettle.spec.ts b/browser_tests/tests/dialogs/resumedSubscriptionSettle.spec.ts index 515efe47b4f..d5c2510126d 100644 --- a/browser_tests/tests/dialogs/resumedSubscriptionSettle.spec.ts +++ b/browser_tests/tests/dialogs/resumedSubscriptionSettle.spec.ts @@ -105,7 +105,8 @@ const ACTIVE_STANDARD = { occupied_seats: 1, ended_at: null, team_credit_stop: null, - scheduled_change: null + scheduled_change: null, + next_charge: null } satisfies BillingStatusResponse const SAVED_CARD = { diff --git a/browser_tests/tests/dialogs/subscriptionLifecycleSdkRail.spec.ts b/browser_tests/tests/dialogs/subscriptionLifecycleSdkRail.spec.ts index 465be92bc2d..baabe04ead0 100644 --- a/browser_tests/tests/dialogs/subscriptionLifecycleSdkRail.spec.ts +++ b/browser_tests/tests/dialogs/subscriptionLifecycleSdkRail.spec.ts @@ -72,6 +72,7 @@ const CANCELLED_STATUS: BillingStatusResponse = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, plan_slug: 'pro-monthly', renewal_date: '2099-02-20T10:00:00Z' } @@ -173,14 +174,6 @@ async function mockCloudBoot( ) ) }) - await page.route('**/customers/balance', (r) => - r.fulfill( - jsonRoute({ - amount_micros: 0, - currency: 'usd' - } satisfies BillingBalanceResponse) - ) - ) // Both lifecycle routes answer POST only. A regression to GET would // otherwise be served the success fixture and pass every assertion below, diff --git a/browser_tests/tests/dialogs/subscriptionSdkRailOutcomes.spec.ts b/browser_tests/tests/dialogs/subscriptionSdkRailOutcomes.spec.ts index b91755bb2dc..46ea2487621 100644 --- a/browser_tests/tests/dialogs/subscriptionSdkRailOutcomes.spec.ts +++ b/browser_tests/tests/dialogs/subscriptionSdkRailOutcomes.spec.ts @@ -84,6 +84,7 @@ const ACTIVE_STANDARD_STATUS = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, max_seats: 1, occupied_seats: 1 } satisfies BillingStatusResponse diff --git a/browser_tests/tests/dialogs/topUpSdkRailOutcomes.spec.ts b/browser_tests/tests/dialogs/topUpSdkRailOutcomes.spec.ts index 6fed50e9fdd..a63aa393196 100644 --- a/browser_tests/tests/dialogs/topUpSdkRailOutcomes.spec.ts +++ b/browser_tests/tests/dialogs/topUpSdkRailOutcomes.spec.ts @@ -75,6 +75,7 @@ function billingStatus(pendingTopupId?: string): BillingStatusResponse { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, ...(pendingTopupId === undefined ? {} : { diff --git a/browser_tests/tests/dialogs/usageLogsChargeTooltip.spec.ts b/browser_tests/tests/dialogs/usageLogsChargeTooltip.spec.ts index 06d9681d00c..43cc5b17d42 100644 --- a/browser_tests/tests/dialogs/usageLogsChargeTooltip.spec.ts +++ b/browser_tests/tests/dialogs/usageLogsChargeTooltip.spec.ts @@ -16,7 +16,7 @@ test.describe( { tag: ['@screenshot', '@ui'] }, () => { test.beforeEach(async ({ comfyPage }) => { - await comfyPage.page.route('**/customers/events**', (route) => + await comfyPage.page.route('**/api/billing/events**', (route) => route.fulfill({ json: AGENT_USAGE_CUSTOMER_EVENTS }) ) await new UsageLogsTable(comfyPage.settingDialog).open() diff --git a/browser_tests/tests/gettingStartedTour.spec.ts b/browser_tests/tests/gettingStartedTour.spec.ts index 2fc1cae6f77..9ab603ac5b6 100644 --- a/browser_tests/tests/gettingStartedTour.spec.ts +++ b/browser_tests/tests/gettingStartedTour.spec.ts @@ -56,6 +56,7 @@ const ACTIVE_SUBSCRIPTION: BillingStatusResponse = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, subscription_tier: 'PRO', subscription_duration: 'MONTHLY', renewal_date: '2099-01-01', @@ -69,6 +70,7 @@ const INACTIVE_SUBSCRIPTION: BillingStatusResponse = { ended_at: null, team_credit_stop: null, scheduled_change: null, + next_charge: null, subscription_tier: 'FREE', subscription_duration: 'MONTHLY', has_funds: false diff --git a/browser_tests/tests/graph/reconnectNodeDefinitionRefresh.spec.ts b/browser_tests/tests/graph/reconnectNodeDefinitionRefresh.spec.ts index 56005f0f2de..36bcac72123 100644 --- a/browser_tests/tests/graph/reconnectNodeDefinitionRefresh.spec.ts +++ b/browser_tests/tests/graph/reconnectNodeDefinitionRefresh.spec.ts @@ -5,7 +5,7 @@ import { comfyPageFixture } from '@e2e/fixtures/ComfyPage' import { webSocketFixture } from '@e2e/fixtures/ws' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { toNodeId } from '@comfyorg/graph-model/nodeId' const test = mergeTests(comfyPageFixture, webSocketFixture).extend<{ diff --git a/browser_tests/tests/infrastructure/cloudStatusRetry.spec.ts b/browser_tests/tests/infrastructure/cloudStatusRetry.spec.ts new file mode 100644 index 00000000000..b4b18dadbfd --- /dev/null +++ b/browser_tests/tests/infrastructure/cloudStatusRetry.spec.ts @@ -0,0 +1,114 @@ +import { expect } from '@playwright/test' +import type { Request } from '@playwright/test' + +import { + cloudAppFixture as test, + waitForCloudApp +} from '@e2e/fixtures/cloudAppFixture' +import { DEFAULT_TEAM_MEMBERS } from '@e2e/fixtures/data/cloudWorkspace' +import { CloudWorkspaceMockHelper } from '@e2e/fixtures/helpers/CloudWorkspaceMockHelper' +import { + CAPABILITIES_ROUTE, + STATUS_RETRY_PROBE_ROUTE, + fetchThroughApp, + fulfillUnavailable, + recordFinishedCapabilityReads, + routeUnavailableGets +} from '@e2e/fixtures/utils/statusRetryRoutes' + +const APP_URL = process.env.PLAYWRIGHT_TEST_URL || 'http://localhost:8188' + +test.describe('Shared request status retry', { tag: '@cloud' }, () => { + test.describe.configure({ timeout: 60_000 }) + + let workspace: CloudWorkspaceMockHelper + + test.beforeEach(async ({ page }) => { + workspace = new CloudWorkspaceMockHelper(page) + await workspace.setup(DEFAULT_TEAM_MEMBERS) + }) + + test('renders a billing read that recovered from a 503', async ({ page }) => { + const capabilityReads = await routeUnavailableGets( + page, + CAPABILITIES_ROUTE, + 1 + ) + + const content = await workspace.openPlanAndCreditsSettings() + + await expect( + content.getByRole('button', { name: 'Add credits' }) + ).toBeVisible() + expect(capabilityReads.length).toBeGreaterThanOrEqual(2) + }) + + test('keeps credits locked when the billing read stays unavailable', async ({ + page + }) => { + await routeUnavailableGets( + page, + CAPABILITIES_ROUTE, + Number.POSITIVE_INFINITY + ) + const finishedReads = recordFinishedCapabilityReads(page) + + const content = await workspace.openPlanAndCreditsSettings() + + await expect(content.getByText('Total credits')).toBeVisible() + await expect.poll(() => finishedReads.length).toBeGreaterThanOrEqual(3) + await expect( + content.getByRole('button', { name: 'Add credits' }) + ).toHaveCount(0) + }) + + test('stops a read after three attempts and returns the last 503', async ({ + page + }) => { + await page.goto(APP_URL) + await waitForCloudApp(page) + const reads = await routeUnavailableGets( + page, + STATUS_RETRY_PROBE_ROUTE, + Number.POSITIVE_INFINITY + ) + + const status = await fetchThroughApp(page, '/status-retry-probe', 'GET') + + expect(status).toBe(503) + expect(reads).toHaveLength(3) + }) + + test('returns the answer of a read that recovered on retry', async ({ + page + }) => { + await page.goto(APP_URL) + await waitForCloudApp(page) + const reads = await routeUnavailableGets( + page, + STATUS_RETRY_PROBE_ROUTE, + 1, + (route) => route.fulfill({ json: { ok: true } }) + ) + + const status = await fetchThroughApp(page, '/status-retry-probe', 'GET') + + expect(status).toBe(200) + expect(reads).toHaveLength(2) + }) + + test('sends a write answered 503 once', async ({ page }) => { + await page.goto(APP_URL) + await waitForCloudApp(page) + const writes: Request[] = [] + await page.route(STATUS_RETRY_PROBE_ROUTE, (route) => { + writes.push(route.request()) + return fulfillUnavailable(route) + }) + + const status = await fetchThroughApp(page, '/status-retry-probe', 'POST') + + expect(status).toBe(503) + expect(writes).toHaveLength(1) + }) +}) diff --git a/browser_tests/tests/links/linkVisibility.spec.ts-snapshots/vue-link-hidden-chromium-linux.png b/browser_tests/tests/links/linkVisibility.spec.ts-snapshots/vue-link-hidden-chromium-linux.png index 5eb9b8f0f08..1e26567c2a8 100644 Binary files a/browser_tests/tests/links/linkVisibility.spec.ts-snapshots/vue-link-hidden-chromium-linux.png and b/browser_tests/tests/links/linkVisibility.spec.ts-snapshots/vue-link-hidden-chromium-linux.png differ diff --git a/browser_tests/tests/links/linkVisibility.spec.ts-snapshots/vue-link-revealed-from-input-chromium-linux.png b/browser_tests/tests/links/linkVisibility.spec.ts-snapshots/vue-link-revealed-from-input-chromium-linux.png index 0190c3924f3..5d4ad164a5b 100644 Binary files a/browser_tests/tests/links/linkVisibility.spec.ts-snapshots/vue-link-revealed-from-input-chromium-linux.png and b/browser_tests/tests/links/linkVisibility.spec.ts-snapshots/vue-link-revealed-from-input-chromium-linux.png differ diff --git a/browser_tests/tests/links/linkVisibility.spec.ts-snapshots/vue-link-revealed-from-output-chromium-linux.png b/browser_tests/tests/links/linkVisibility.spec.ts-snapshots/vue-link-revealed-from-output-chromium-linux.png index 6a98413ad4c..2e85aef079d 100644 Binary files a/browser_tests/tests/links/linkVisibility.spec.ts-snapshots/vue-link-revealed-from-output-chromium-linux.png and b/browser_tests/tests/links/linkVisibility.spec.ts-snapshots/vue-link-revealed-from-output-chromium-linux.png differ diff --git a/browser_tests/tests/links/linkVisibility.spec.ts-snapshots/vue-link-revealed-while-dragging-output-chromium-linux.png b/browser_tests/tests/links/linkVisibility.spec.ts-snapshots/vue-link-revealed-while-dragging-output-chromium-linux.png index 5b34bd87825..36a0439ca3b 100644 Binary files a/browser_tests/tests/links/linkVisibility.spec.ts-snapshots/vue-link-revealed-while-dragging-output-chromium-linux.png and b/browser_tests/tests/links/linkVisibility.spec.ts-snapshots/vue-link-revealed-while-dragging-output-chromium-linux.png differ diff --git a/browser_tests/tests/localCreditsNoSubscribeUi.spec.ts b/browser_tests/tests/localCreditsNoSubscribeUi.spec.ts deleted file mode 100644 index 93d876990b5..00000000000 --- a/browser_tests/tests/localCreditsNoSubscribeUi.spec.ts +++ /dev/null @@ -1,122 +0,0 @@ -import { expect } from '@playwright/test' - -import type { operations } from '@/types/comfyRegistryTypes' -import { TopUpCreditsDialog } from '@e2e/fixtures/components/TopUpCreditsDialog' -import { localAuthFixture as test } from '@e2e/fixtures/localAuthFixture' -import { TestIds } from '@e2e/fixtures/selectors' - -type CreditPurchaseResponse = - operations['InitiateCreditPurchase']['responses']['201']['content']['application/json'] - -const MOCK_CHECKOUT_URL = 'https://checkout.stripe.com/mock' - -/** - * Regression coverage for a local/non-cloud dead-click: an unsubscribed user - * on a local (non-Cloud) distribution must never see subscribe/upgrade UI in - * the credits surfaces, and the "Add credits" purchase flow must keep working - * no matter which of those surfaces was visited beforehand. - * - * Every other credits/billing e2e spec (creditsTile.spec.ts, - * currentUserPopoverCredits.spec.ts, billingFacadeConsumers.spec.ts, - * subscription.spec.ts) is tagged `@cloud` and only runs against the - * Cloud-distribution build with an always-active paid subscription fixture, - * so none of them ever exercise the OSS/local build (`isCloud === false`) - * with a logged-in unsubscribed account — the exact combination that trips - * this bug. This spec intentionally carries no `@cloud` tag so it runs in - * the default (local) `chromium` project instead. - */ -test.describe('Local credits surfaces hide subscribe UI (non-cloud)', () => { - test.beforeEach(async ({ page }) => { - await page.addInitScript(() => { - window.open = (url) => { - document.documentElement.dataset.openedUrl = String(url) - return window - } - }) - }) - - test('lets an unsubscribed user add credits from local billing surfaces', async ({ - comfyPage - }) => { - const page = comfyPage.page - const topUpDialog = new TopUpCreditsDialog(page) - - // 1. Profile popover: an unsubscribed local user gets "Add credits", never - // "Upgrade to add credits" — subscribing is a Cloud-only concept. - await page.getByTestId(TestIds.user.currentUserButton).click() - let popover = page.getByTestId(TestIds.user.currentUserPopover) - await expect(popover).toBeVisible() - await expect(popover.getByTestId('add-credits-button')).toBeVisible() - await expect( - popover.getByTestId('upgrade-to-add-credits-button') - ).toHaveCount(0) - - // Clicking it must open the purchase dialog, not silently no-op. - await popover.getByTestId('add-credits-button').click() - await expect(topUpDialog.heading).toBeVisible() - await topUpDialog.close() - - await page.getByTestId(TestIds.user.currentUserButton).click() - popover = page.getByTestId(TestIds.user.currentUserPopover) - await popover.getByTestId('plans-credits-menu-item').click() - - const settingsDialog = comfyPage.settingDialog - await settingsDialog.waitForVisible() - const planCreditsContent = settingsDialog.contentArea - await expect( - planCreditsContent.getByRole('button', { name: 'Credits', exact: true }) - ).toBeVisible() - await expect( - planCreditsContent.getByRole('button', { name: 'Activity', exact: true }) - ).toBeVisible() - await expect( - planCreditsContent.getByText('Upgrade to add credits') - ).toHaveCount(0) - await expect( - planCreditsContent.getByRole('button', { name: 'Manage subscription' }) - ).toHaveCount(0) - await expect( - planCreditsContent.getByRole('button', { name: 'Billing & invoices' }) - ).toHaveCount(0) - - const settingsAddCredits = planCreditsContent.getByRole('button', { - name: 'Add credits' - }) - await expect(settingsAddCredits).toBeVisible() - await settingsAddCredits.click() - await expect(topUpDialog.heading).toBeVisible() - - await page.route('**/customers/credit', (route) => - route.fulfill({ - status: 201, - json: { - checkout_url: MOCK_CHECKOUT_URL - } satisfies CreditPurchaseResponse - }) - ) - const [purchaseRequest] = await Promise.all([ - page.waitForRequest('**/customers/credit'), - topUpDialog.root - .getByRole('button', { name: 'Continue to payment' }) - .click() - ]) - expect(purchaseRequest.postDataJSON()).toEqual({ - amount_micros: 50_000_000, - currency: 'usd' - }) - await expect - .poll(() => page.locator('html').getAttribute('data-opened-url')) - .toBe(MOCK_CHECKOUT_URL) - await expect(topUpDialog.root).toBeHidden() - - await settingsDialog.close() - - await page.getByTestId(TestIds.user.currentUserButton).click() - popover = page.getByTestId(TestIds.user.currentUserPopover) - await expect( - popover.getByTestId('upgrade-to-add-credits-button') - ).toHaveCount(0) - await popover.getByTestId('add-credits-button').click() - await expect(topUpDialog.heading).toBeVisible() - }) -}) diff --git a/browser_tests/tests/nodeBadge.spec.ts-snapshots/api-pricing-off-vue-chromium-linux.png b/browser_tests/tests/nodeBadge.spec.ts-snapshots/api-pricing-off-vue-chromium-linux.png index 752434b70d5..3d024a18713 100644 Binary files a/browser_tests/tests/nodeBadge.spec.ts-snapshots/api-pricing-off-vue-chromium-linux.png and b/browser_tests/tests/nodeBadge.spec.ts-snapshots/api-pricing-off-vue-chromium-linux.png differ diff --git a/browser_tests/tests/nodeBadge.spec.ts-snapshots/api-pricing-on-vue-chromium-linux.png b/browser_tests/tests/nodeBadge.spec.ts-snapshots/api-pricing-on-vue-chromium-linux.png index e2c3f1cef6e..ca55ecb84d6 100644 Binary files a/browser_tests/tests/nodeBadge.spec.ts-snapshots/api-pricing-on-vue-chromium-linux.png and b/browser_tests/tests/nodeBadge.spec.ts-snapshots/api-pricing-on-vue-chromium-linux.png differ diff --git a/browser_tests/tests/onboarding/firstRunNudgeAgentPanel.spec.ts b/browser_tests/tests/onboarding/firstRunNudgeAgentPanel.spec.ts index edbf25f6dd0..e6ef57fb6ed 100644 --- a/browser_tests/tests/onboarding/firstRunNudgeAgentPanel.spec.ts +++ b/browser_tests/tests/onboarding/firstRunNudgeAgentPanel.spec.ts @@ -9,6 +9,8 @@ import { } from '@e2e/fixtures/agentPanelFixture' import { AgentPanel } from '@e2e/fixtures/components/AgentPanel' import { OnboardingCoachmarks } from '@e2e/fixtures/components/Tour' +import { expectRegionScreenshot } from '@e2e/fixtures/utils/screenshotRegion' +import { FIRST_RUN_COACH_IDS } from '@/platform/onboarding/onboardingTours' const GETTING_STARTED_TITLE = enMessages.gettingStarted.title @@ -42,9 +44,15 @@ async function skipTheFirstRunTour(page: Page): Promise { await expect(card).toBeHidden() } +async function hideServerTemplateGraph(page: Page): Promise { + await page.addStyleTag({ + content: `#graph-canvas, [data-testid="transform-pane"], [data-testid="minimap-container"] { visibility: hidden !important; }` + }) +} + test.describe( 'First-run nudge beside the Agent panel', - { tag: ['@cloud', '@agent', '@ui'] }, + { tag: ['@cloud', '@agent', '@ui', '@screenshot'] }, () => { test.use({ viewport: SIGNUP_VIEWPORT }) @@ -85,6 +93,21 @@ test.describe( nudgeBox.x + nudgeBox.width, 'the nudge must sit left of the docked Agent panel, not over its starter prompts and composer (PM-1872)' ).toBeLessThanOrEqual(panelBox.x) + + await hideServerTemplateGraph(page) + + await expectRegionScreenshot( + page, + [ + new OnboardingCoachmarks(page).coachAnchor( + FIRST_RUN_COACH_IDS.templatesButton + ), + nudge, + agentPanel.dockedPanel + ], + 'first-run-nudge-beside-agent-panel.png', + { padding: 0 } + ) } ) } diff --git a/browser_tests/tests/onboarding/firstRunNudgeAgentPanel.spec.ts-snapshots/first-run-nudge-beside-agent-panel-cloud-linux.png b/browser_tests/tests/onboarding/firstRunNudgeAgentPanel.spec.ts-snapshots/first-run-nudge-beside-agent-panel-cloud-linux.png new file mode 100644 index 00000000000..aab69ebd114 Binary files /dev/null and b/browser_tests/tests/onboarding/firstRunNudgeAgentPanel.spec.ts-snapshots/first-run-nudge-beside-agent-panel-cloud-linux.png differ diff --git a/browser_tests/tests/propertiesPanel/errorsTabMissingMediaRuntime.spec.ts b/browser_tests/tests/propertiesPanel/errorsTabMissingMediaRuntime.spec.ts index fb1ec3d0a9f..2551a4d7336 100644 --- a/browser_tests/tests/propertiesPanel/errorsTabMissingMediaRuntime.spec.ts +++ b/browser_tests/tests/propertiesPanel/errorsTabMissingMediaRuntime.spec.ts @@ -32,7 +32,7 @@ import { TestIds } from '@e2e/fixtures/selectors' import { mockViewFiles } from '@e2e/fixtures/utils/viewFileMocks' import { PropertiesPanelHelper } from '@e2e/tests/propertiesPanel/PropertiesPanelHelper' import type { RawJobListItem } from '@comfyorg/api-client/jobTypes' -import type { ComboInputSpec } from '@/schemas/nodeDef/nodeDefSchemaV2' +import type { ComboInputSpec } from '@comfyorg/object-info-parser/schemas/nodeDefSchemaV2' import { toNodeId } from '@comfyorg/graph-model/nodeId' const ossTest = mergeTests(test, jobsRouteFixture) diff --git a/browser_tests/tests/propertiesPanel/infoTab.spec.ts b/browser_tests/tests/propertiesPanel/infoTab.spec.ts index 647a205868d..2a418fd2b76 100644 --- a/browser_tests/tests/propertiesPanel/infoTab.spec.ts +++ b/browser_tests/tests/propertiesPanel/infoTab.spec.ts @@ -1,6 +1,6 @@ import { expect } from '@playwright/test' -import type { ObjectInfoResponse } from '@/schemas/nodeDefSchema' +import type { ObjectInfoResponse } from '@comfyorg/object-info-parser' import { comfyPageFixture as test } from '@e2e/fixtures/ComfyPage' import { routeObjectInfoFromSetupApi } from '@e2e/fixtures/utils/objectInfo' import { PropertiesPanelHelper } from '@e2e/tests/propertiesPanel/PropertiesPanelHelper' diff --git a/browser_tests/tests/sidebar/nodeLibraryV2.spec.ts b/browser_tests/tests/sidebar/nodeLibraryV2.spec.ts index f38c20e5ebc..a3fbc559d29 100644 --- a/browser_tests/tests/sidebar/nodeLibraryV2.spec.ts +++ b/browser_tests/tests/sidebar/nodeLibraryV2.spec.ts @@ -43,7 +43,7 @@ test.describe('Node library sidebar V2', () => { await expect(tab.getNode('KSampler (Advanced)')).toBeHidden() - await tab.searchInput.fill('KSampler') + await tab.searchInput.fill('KSampler (Advanced)') await expect(tab.getNode('KSampler (Advanced)')).toBeVisible() await expect(tab.getNode('CLIPLoader')).toBeHidden() }) @@ -119,7 +119,7 @@ test.describe('Node library sidebar V2', () => { await expect(tab.getFolder('model')).toBeVisible() - await tab.searchInput.fill('KSampler') + await tab.searchInput.fill('KSampler (Advanced)') await expect(tab.getNode('KSampler (Advanced)')).toBeVisible() await tab.searchInput.clear() diff --git a/browser_tests/tests/subscription.spec.ts b/browser_tests/tests/subscription.spec.ts index 3c1cccf9e2e..baf04b02ce5 100644 --- a/browser_tests/tests/subscription.spec.ts +++ b/browser_tests/tests/subscription.spec.ts @@ -116,13 +116,14 @@ unsubscribedTest.describe( comfyPage.page.getByTestId(TestIds.topbar.subscribeToRunButton) ).toBeVisible() - await subscriptionHelper.seedPendingCheckout('standard', 'monthly') subscriptionHelper.setStatus({ is_active: true, subscription_tier: 'STANDARD', subscription_duration: 'MONTHLY' }) - await subscriptionHelper.triggerSubscriptionRefetch() + await comfyPage.page.evaluate(() => { + window.dispatchEvent(new Event('focus')) + }) await expect( comfyPage.page.getByTestId(TestIds.topbar.subscribeToRunButton) @@ -167,13 +168,14 @@ unsubscribedTest.describe( await dialog.getByRole('button', { name: /close/i }).first().click() await expect(dialog).toBeHidden() - await subscriptionHelper.seedPendingCheckout('standard', 'monthly') subscriptionHelper.setStatus({ is_active: true, subscription_tier: 'STANDARD', subscription_duration: 'MONTHLY' }) - await subscriptionHelper.triggerSubscriptionRefetch() + await comfyPage.page.evaluate(() => { + window.dispatchEvent(new Event('focus')) + }) await expect(dialog).toBeHidden() await expect( diff --git a/browser_tests/tests/vueNodes/interactions/canvas/zoom.spec.ts-snapshots/zoomed-in-ctrl-shift-chromium-linux.png b/browser_tests/tests/vueNodes/interactions/canvas/zoom.spec.ts-snapshots/zoomed-in-ctrl-shift-chromium-linux.png index e09b3d1db24..01c9a0a87f5 100644 Binary files a/browser_tests/tests/vueNodes/interactions/canvas/zoom.spec.ts-snapshots/zoomed-in-ctrl-shift-chromium-linux.png and b/browser_tests/tests/vueNodes/interactions/canvas/zoom.spec.ts-snapshots/zoomed-in-ctrl-shift-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-shift-output-multi-link-chromium-linux.png b/browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-shift-output-multi-link-chromium-linux.png index f69178a7e1a..8934d48ef40 100644 Binary files a/browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-shift-output-multi-link-chromium-linux.png and b/browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-shift-output-multi-link-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-snap-to-node-chromium-linux.png b/browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-snap-to-node-chromium-linux.png index a7d1934b7be..46f22bce17d 100644 Binary files a/browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-snap-to-node-chromium-linux.png and b/browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-snap-to-node-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-snap-to-slot-chromium-linux.png b/browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-snap-to-slot-chromium-linux.png index ba762e5fc7d..3bc73d666b8 100644 Binary files a/browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-snap-to-slot-chromium-linux.png and b/browser_tests/tests/vueNodes/interactions/links/linkInteraction.spec.ts-snapshots/vue-node-snap-to-slot-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-overlapped-after-chromium-linux.png b/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-overlapped-after-chromium-linux.png index b8bb195cc6c..230d5ea784e 100644 Binary files a/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-overlapped-after-chromium-linux.png and b/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-overlapped-after-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-overlapped-before-chromium-linux.png b/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-overlapped-before-chromium-linux.png index 0b6e26c2201..7dc7ab665fb 100644 Binary files a/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-overlapped-before-chromium-linux.png and b/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-overlapped-before-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-widget-overlapped-after-chromium-linux.png b/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-widget-overlapped-after-chromium-linux.png index 63e8ccc90d6..fe91684d1b8 100644 Binary files a/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-widget-overlapped-after-chromium-linux.png and b/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-widget-overlapped-after-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-widget-overlapped-before-chromium-linux.png b/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-widget-overlapped-before-chromium-linux.png index 860df5d2ade..149893f8b36 100644 Binary files a/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-widget-overlapped-before-chromium-linux.png and b/browser_tests/tests/vueNodes/interactions/node/bringToFront.spec.ts-snapshots/bring-to-front-widget-overlapped-before-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/nodeStates/bypass.spec.ts-snapshots/vue-node-bypassed-state-chromium-linux.png b/browser_tests/tests/vueNodes/nodeStates/bypass.spec.ts-snapshots/vue-node-bypassed-state-chromium-linux.png index 79630ce5294..9bf866db1f6 100644 Binary files a/browser_tests/tests/vueNodes/nodeStates/bypass.spec.ts-snapshots/vue-node-bypassed-state-chromium-linux.png and b/browser_tests/tests/vueNodes/nodeStates/bypass.spec.ts-snapshots/vue-node-bypassed-state-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/nodeStates/colors.spec.ts-snapshots/vue-node-custom-color-blue-chromium-linux.png b/browser_tests/tests/vueNodes/nodeStates/colors.spec.ts-snapshots/vue-node-custom-color-blue-chromium-linux.png index 2dae7f24329..92831208d0a 100644 Binary files a/browser_tests/tests/vueNodes/nodeStates/colors.spec.ts-snapshots/vue-node-custom-color-blue-chromium-linux.png and b/browser_tests/tests/vueNodes/nodeStates/colors.spec.ts-snapshots/vue-node-custom-color-blue-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/nodeStates/colors.spec.ts-snapshots/vue-node-custom-colors-dark-all-colors-chromium-linux.png b/browser_tests/tests/vueNodes/nodeStates/colors.spec.ts-snapshots/vue-node-custom-colors-dark-all-colors-chromium-linux.png index 65d94dc2ddd..e02ba9f1e13 100644 Binary files a/browser_tests/tests/vueNodes/nodeStates/colors.spec.ts-snapshots/vue-node-custom-colors-dark-all-colors-chromium-linux.png and b/browser_tests/tests/vueNodes/nodeStates/colors.spec.ts-snapshots/vue-node-custom-colors-dark-all-colors-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/nodeStates/colors.spec.ts-snapshots/vue-node-custom-colors-light-all-colors-chromium-linux.png b/browser_tests/tests/vueNodes/nodeStates/colors.spec.ts-snapshots/vue-node-custom-colors-light-all-colors-chromium-linux.png index 0ffab145de7..ff3170b0ccb 100644 Binary files a/browser_tests/tests/vueNodes/nodeStates/colors.spec.ts-snapshots/vue-node-custom-colors-light-all-colors-chromium-linux.png and b/browser_tests/tests/vueNodes/nodeStates/colors.spec.ts-snapshots/vue-node-custom-colors-light-all-colors-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/nodeStates/mute.spec.ts-snapshots/vue-node-muted-state-chromium-linux.png b/browser_tests/tests/vueNodes/nodeStates/mute.spec.ts-snapshots/vue-node-muted-state-chromium-linux.png index 59fa5bf4649..51396aa4abf 100644 Binary files a/browser_tests/tests/vueNodes/nodeStates/mute.spec.ts-snapshots/vue-node-muted-state-chromium-linux.png and b/browser_tests/tests/vueNodes/nodeStates/mute.spec.ts-snapshots/vue-node-muted-state-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/rerouteNodeSize.spec.ts-snapshots/vue-reroute-node-compact-chromium-linux.png b/browser_tests/tests/vueNodes/rerouteNodeSize.spec.ts-snapshots/vue-reroute-node-compact-chromium-linux.png index f2dd4e5ba15..af6bed498b4 100644 Binary files a/browser_tests/tests/vueNodes/rerouteNodeSize.spec.ts-snapshots/vue-reroute-node-compact-chromium-linux.png and b/browser_tests/tests/vueNodes/rerouteNodeSize.spec.ts-snapshots/vue-reroute-node-compact-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/widgets/audioWidget.spec.ts b/browser_tests/tests/vueNodes/widgets/audioWidget.spec.ts index f2e137f3e5b..685bbe2891c 100644 --- a/browser_tests/tests/vueNodes/widgets/audioWidget.spec.ts +++ b/browser_tests/tests/vueNodes/widgets/audioWidget.spec.ts @@ -9,8 +9,7 @@ test('@vue-nodes Audio Widget', async ({ comfyPage, comfyFiles }) => { const audioPreview = new AudioPreview(loadAudioNode) await test.step('Add node', async () => { - await comfyPage.menu.topbar.newWorkflowButton.click() - await comfyPage.nextFrame() + await comfyPage.command.executeCommand('Comfy.NewBlankWorkflow') await comfyPage.searchBoxV2.addNode('Load Audio') await expect(loadAudioNode).toBeVisible() diff --git a/browser_tests/tests/vueNodes/widgets/combo/numericComboWidget.spec.ts b/browser_tests/tests/vueNodes/widgets/combo/numericComboWidget.spec.ts index cde917a609a..9be05f3bb12 100644 --- a/browser_tests/tests/vueNodes/widgets/combo/numericComboWidget.spec.ts +++ b/browser_tests/tests/vueNodes/widgets/combo/numericComboWidget.spec.ts @@ -10,8 +10,7 @@ test.describe( test('Valid numeric defaults are not marked invalid', async ({ comfyPage }) => { - await comfyPage.menu.topbar.newWorkflowButton.click() - await comfyPage.nextFrame() + await comfyPage.command.executeCommand('Comfy.NewBlankWorkflow') await comfyPage.searchBoxV2.addNode('Node With Numeric Combo') const node = await comfyPage.vueNodes.getFixtureByTitle( @@ -29,8 +28,7 @@ test.describe( test('Price badge updates after selecting a numeric option', async ({ comfyPage }) => { - await comfyPage.menu.topbar.newWorkflowButton.click() - await comfyPage.nextFrame() + await comfyPage.command.executeCommand('Comfy.NewBlankWorkflow') await comfyPage.searchBoxV2.addNode('Node With Numeric Combo') const node = await comfyPage.vueNodes.getFixtureByTitle( diff --git a/browser_tests/tests/vueNodes/widgets/flux2ImagePromptRerun.spec.ts-snapshots/flux2-prompt-after-run-1-chromium-linux.png b/browser_tests/tests/vueNodes/widgets/flux2ImagePromptRerun.spec.ts-snapshots/flux2-prompt-after-run-1-chromium-linux.png index 6ec8682a6f4..7460edc48e7 100644 Binary files a/browser_tests/tests/vueNodes/widgets/flux2ImagePromptRerun.spec.ts-snapshots/flux2-prompt-after-run-1-chromium-linux.png and b/browser_tests/tests/vueNodes/widgets/flux2ImagePromptRerun.spec.ts-snapshots/flux2-prompt-after-run-1-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/widgets/flux2ImagePromptRerun.spec.ts-snapshots/flux2-prompt-after-run-2-chromium-linux.png b/browser_tests/tests/vueNodes/widgets/flux2ImagePromptRerun.spec.ts-snapshots/flux2-prompt-after-run-2-chromium-linux.png index 6ec8682a6f4..7460edc48e7 100644 Binary files a/browser_tests/tests/vueNodes/widgets/flux2ImagePromptRerun.spec.ts-snapshots/flux2-prompt-after-run-2-chromium-linux.png and b/browser_tests/tests/vueNodes/widgets/flux2ImagePromptRerun.spec.ts-snapshots/flux2-prompt-after-run-2-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/widgets/flux2ImagePromptRerun.spec.ts-snapshots/flux2-prompt-before-runs-chromium-linux.png b/browser_tests/tests/vueNodes/widgets/flux2ImagePromptRerun.spec.ts-snapshots/flux2-prompt-before-runs-chromium-linux.png index 2432cd240d4..dea75c1cc22 100644 Binary files a/browser_tests/tests/vueNodes/widgets/flux2ImagePromptRerun.spec.ts-snapshots/flux2-prompt-before-runs-chromium-linux.png and b/browser_tests/tests/vueNodes/widgets/flux2ImagePromptRerun.spec.ts-snapshots/flux2-prompt-before-runs-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/widgets/imageCropDynamicInputs.spec.ts b/browser_tests/tests/vueNodes/widgets/imageCropDynamicInputs.spec.ts index 7e4835c7af3..50b621c5cbc 100644 --- a/browser_tests/tests/vueNodes/widgets/imageCropDynamicInputs.spec.ts +++ b/browser_tests/tests/vueNodes/widgets/imageCropDynamicInputs.spec.ts @@ -2,7 +2,7 @@ import { comfyExpect as expect, comfyPageFixture } from '@e2e/fixtures/ComfyPage' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' const test = comfyPageFixture.extend({ page: async ({ page }, use) => { diff --git a/browser_tests/tests/vueNodes/widgets/int/integerWidget.spec.ts b/browser_tests/tests/vueNodes/widgets/int/integerWidget.spec.ts index f9877b2afdf..b33ff6a0857 100644 --- a/browser_tests/tests/vueNodes/widgets/int/integerWidget.spec.ts +++ b/browser_tests/tests/vueNodes/widgets/int/integerWidget.spec.ts @@ -43,8 +43,7 @@ test.describe('Vue Integer Widget', { tag: '@vue-nodes' }, () => { }) test('displays control widgets with default state', async ({ comfyPage }) => { - await comfyPage.menu.topbar.newWorkflowButton.click() - await comfyPage.nextFrame() + await comfyPage.command.executeCommand('Comfy.NewBlankWorkflow') await comfyPage.searchBoxV2.addNode('Int') const widget = comfyPage.vueNodes.getWidgetByName('Int', 'value') await expect(widget).toBeVisible() diff --git a/browser_tests/tests/vueNodes/widgets/text/lockedWidgetHoverColor.spec.ts-snapshots/editable-widget-hover-color-chromium-linux.png b/browser_tests/tests/vueNodes/widgets/text/lockedWidgetHoverColor.spec.ts-snapshots/editable-widget-hover-color-chromium-linux.png index 2f4f1d9cd23..a1a8d3ae4e1 100644 Binary files a/browser_tests/tests/vueNodes/widgets/text/lockedWidgetHoverColor.spec.ts-snapshots/editable-widget-hover-color-chromium-linux.png and b/browser_tests/tests/vueNodes/widgets/text/lockedWidgetHoverColor.spec.ts-snapshots/editable-widget-hover-color-chromium-linux.png differ diff --git a/browser_tests/tests/vueNodes/widgets/text/textEditorDialog.spec.ts b/browser_tests/tests/vueNodes/widgets/text/textEditorDialog.spec.ts new file mode 100644 index 00000000000..7e368b4b719 --- /dev/null +++ b/browser_tests/tests/vueNodes/widgets/text/textEditorDialog.spec.ts @@ -0,0 +1,107 @@ +import { + comfyExpect as expect, + comfyPageFixture as test +} from '@e2e/fixtures/ComfyPage' +import { TextEditorDialog } from '@e2e/fixtures/components/TextEditorDialog' +import { expectElementScreenshot } from '@e2e/fixtures/utils/screenshotRegion' + +test.describe( + 'Vue multiline text editor dialog', + { tag: ['@vue-nodes', '@widget'] }, + () => { + test( + 'edits the widget live and leaves the same text on close', + { tag: '@screenshot' }, + async ({ comfyPage }) => { + const node = comfyPage.vueNodes + .getNodeByTitle('CLIP Text Encode (Prompt)') + .first() + const widget = node.getByRole('textbox', { name: 'text' }) + const widgetBehindDialog = node.getByRole('textbox', { + name: 'text', + includeHidden: true + }) + const actions = node.getByRole('group', { name: 'Actions' }) + const dialog = new TextEditorDialog(comfyPage.page) + const original = await widget.inputValue() + const edited = `at ${original}, dusk` + + await test.step('the actions show on hover, not on focus alone', async () => { + await widget.click() + await comfyPage.canvasOps.moveMouseToEmptyArea() + await expect(actions).toHaveCSS('opacity', '0') + + await widget.hover() + await expect(actions).toHaveCSS('opacity', '1') + }) + + await test.step('the expand button opens a titled, focused editor', async () => { + await actions.getByRole('button', { name: 'Expand' }).click() + + await expect(dialog.root).toHaveAccessibleName( + 'text · CLIP Text Encode (Prompt)' + ) + await expect(dialog.editor).toBeFocused() + await expectElementScreenshot(dialog.root, 'text-editor-dialog.png') + }) + + await test.step('typing updates the node while the editor is open', async () => { + await comfyPage.page.keyboard.type('at ') + await expect(widgetBehindDialog).toHaveValue(`at ${original}`) + + await dialog.editor.click() + await dialog.editor.press('Control+End') + await dialog.editor.pressSequentially(', dusk', { delay: 80 }) + + await expect(widgetBehindDialog).toHaveValue(edited) + }) + + await test.step('closing keeps the text and marks the workflow modified', async () => { + await dialog.close() + + await expect(widget).toHaveValue(edited) + await expect + .poll(() => comfyPage.workflow.isCurrentWorkflowModified()) + .toBe(true) + }) + + await test.step('one undo on the canvas reverts the whole edit', async () => { + await comfyPage.keyboard.undo() + + await expect(widget).toHaveValue(original) + }) + } + ) + + test('opens long text scrolled to the top', async ({ comfyPage }) => { + const node = comfyPage.vueNodes + .getNodeByTitle('CLIP Text Encode (Prompt)') + .first() + const widget = node.getByRole('textbox', { name: 'text' }) + const dialog = new TextEditorDialog(comfyPage.page) + + await test.step('prepare an overflowing prompt', async () => { + await widget.fill( + Array.from({ length: 60 }, (_, line) => `line ${line + 1}`).join('\n') + ) + }) + + await test.step('open the editor at the start of the prompt', async () => { + await widget.hover() + await node + .getByRole('group', { name: 'Actions' }) + .getByRole('button', { name: 'Expand' }) + .click() + + await expect(dialog.editor).toBeFocused() + await expect + .poll(() => + dialog.editor.evaluate((el) => el.scrollHeight > el.clientHeight) + ) + .toBe(true) + await expect(dialog.editor).toHaveJSProperty('scrollTop', 0) + await expect(dialog.editor).toHaveJSProperty('selectionStart', 0) + }) + }) + } +) diff --git a/browser_tests/tests/vueNodes/widgets/text/textEditorDialog.spec.ts-snapshots/text-editor-dialog-chromium-linux.png b/browser_tests/tests/vueNodes/widgets/text/textEditorDialog.spec.ts-snapshots/text-editor-dialog-chromium-linux.png new file mode 100644 index 00000000000..bff2f325882 Binary files /dev/null and b/browser_tests/tests/vueNodes/widgets/text/textEditorDialog.spec.ts-snapshots/text-editor-dialog-chromium-linux.png differ diff --git a/browser_tests/tests/workflow/imagePreviewWorkflowScope.spec.ts b/browser_tests/tests/workflow/imagePreviewWorkflowScope.spec.ts new file mode 100644 index 00000000000..d1bfa23208f --- /dev/null +++ b/browser_tests/tests/workflow/imagePreviewWorkflowScope.spec.ts @@ -0,0 +1,90 @@ +import type { Route } from '@playwright/test' +import { expect } from '@playwright/test' + +import { comfyPageFixture as test } from '@e2e/fixtures/ComfyPage' +import { + imageLoadProgress, + restoreImageSrc, + trackHandledImageLoads +} from '@e2e/fixtures/utils/imageLoadSpy' + +const VIEW_ROUTE = '**/api/view?**' +const WORKFLOW_B = 'preview-scope-b' +const SHARED_NODE = { id: '10', type: 'LoraLoaderModelOnly' } + +for (const mode of ['canvas', 'vue'] as const) { + test.describe( + `Image preview workflow scope (${mode} mode)`, + { tag: mode === 'vue' ? ['@vue-nodes'] : [] }, + () => { + const held: Route[] = [] + let releaseHeld = false + + test.beforeEach(async ({ comfyPage }) => { + held.length = 0 + releaseHeld = false + await comfyPage.workflow.setupWorkflowsDirectory({ + [`${WORKFLOW_B}.json`]: 'nodes/lora_loader_model_only_id_10.json' + }) + await comfyPage.page.route(VIEW_ROUTE, async (route) => { + if (!releaseHeld && route.request().url().includes('example.png')) + held.push(route) + else await route.fallback() + }) + await trackHandledImageLoads(comfyPage.page) + }) + + test.afterEach(async ({ comfyPage }) => { + await restoreImageSrc(comfyPage.page) + await comfyPage.page.unroute(VIEW_ROUTE) + await comfyPage.workflow.setupWorkflowsDirectory({}) + }) + + test('a late preview load does not land on another workflow node with the same id', async ({ + comfyPage + }) => { + const { page } = comfyPage + function firstNodeState() { + return page.evaluate(() => { + const node = window.app!.graph.nodes.at(0) + return node + ? { + id: String(node.id), + type: node.type, + imgs: node.imgs?.length + } + : null + }) + } + + await comfyPage.workflow.loadWorkflow('widgets/load_image_widget') + await expect.poll(() => held.length).toBeGreaterThan(0) + if (mode === 'vue') + await expect( + comfyPage.vueNodes + .getNodeLocator(SHARED_NODE.id) + .getByTestId('main-image') + ).toBeAttached() + + const workflowsTab = comfyPage.menu.workflowsTab + await workflowsTab.open() + await workflowsTab.getPersistedItem(WORKFLOW_B).dblclick() + await expect.poll(firstNodeState).toEqual(SHARED_NODE) + + releaseHeld = true + for (const route of held.splice(0)) await route.fallback() + await expect + .poll(async () => { + const { started, handled } = await imageLoadProgress( + page, + 'example.png' + ) + return started > 0 && handled === started + }) + .toBe(true) + + expect(await firstNodeState()).toEqual(SHARED_NODE) + }) + } + ) +} diff --git a/browser_tests/tests/workflow/workflowTabCanvasOwnership.spec.ts b/browser_tests/tests/workflow/workflowTabCanvasOwnership.spec.ts new file mode 100644 index 00000000000..e50f1abf383 --- /dev/null +++ b/browser_tests/tests/workflow/workflowTabCanvasOwnership.spec.ts @@ -0,0 +1,49 @@ +import { + comfyExpect as expect, + comfyPageFixture as test +} from '@e2e/fixtures/ComfyPage' +import type { WorkspaceStore } from '@e2e/types/globals' + +test.describe('Workflow tabs - canvas ownership', { tag: '@canvas' }, () => { + test.beforeEach(async ({ comfyPage }) => { + await comfyPage.workflow.setupWorkflowsDirectory({}) + }) + + test('Repaints and persists the workflow opened after a store-only activation', async ({ + comfyPage + }) => { + test.info().annotations.push({ + type: 'issue', + description: 'https://linear.app/comfyorg/issue/PM-875' + }) + + await expect.poll(() => comfyPage.nodeOps.getGraphNodesCount()).toBe(7) + await comfyPage.menu.topbar.saveWorkflow('workflow-a') + + await comfyPage.menu.topbar.triggerTopbarCommand(['New']) + await expect.poll(() => comfyPage.nodeOps.getGraphNodesCount()).toBe(0) + + const activated = await comfyPage.page.evaluate(async () => { + const workflowStore = (window.app!.extensionManager as WorkspaceStore) + .workflow + const target = workflowStore.openWorkflows.find((workflow) => + workflow.path.includes('workflow-a') + ) + if (!target) throw new Error('workflow-a is not open') + await workflowStore.openWorkflow(target) + return workflowStore.activeWorkflow?.path ?? null + }) + + expect(activated).toContain('workflow-a') + await expect.poll(() => comfyPage.nodeOps.getGraphNodesCount()).toBe(0) + + await comfyPage.menu.workflowsTab.open() + await comfyPage.menu.workflowsTab.getPersistedItem('workflow-a').click() + + await expect.poll(() => comfyPage.nodeOps.getGraphNodesCount()).toBe(7) + + await comfyPage.workflow.reloadAndWaitForApp() + + await expect.poll(() => comfyPage.nodeOps.getGraphNodesCount()).toBe(7) + }) +}) diff --git a/browser_tests/tests/workflowPersistence.spec.ts b/browser_tests/tests/workflowPersistence.spec.ts index 978a7cc8b20..97e1fb3cfe3 100644 --- a/browser_tests/tests/workflowPersistence.spec.ts +++ b/browser_tests/tests/workflowPersistence.spec.ts @@ -1014,6 +1014,65 @@ test.describe('Workflow Persistence', () => { await expect(comfyPage.toast.toastErrors).toHaveCount(0) }) + test('Unedited saved workflows reopen as saved after a reload', async ({ + comfyPage + }) => { + test.info().annotations.push({ + type: 'regression', + description: + 'Switching tabs leaves a draft equal to the saved file; after a reload that draft marked the workflow unsaved' + }) + test.setTimeout(45_000) + + await comfyPage.settings.setSetting('Comfy.UseNewMenu', 'Top') + await comfyPage.settings.setSetting('Comfy.Workflow.Persist', true) + await comfyPage.settings.setSetting( + 'Comfy.Workflow.WorkflowTabsPosition', + 'Topbar' + ) + + const [first, second, third] = [ + generateUniqueFilename(), + generateUniqueFilename(), + generateUniqueFilename() + ] + await comfyPage.menu.topbar.saveWorkflow(first) + await comfyPage.menu.topbar.triggerTopbarCommand(['New']) + await comfyPage.menu.topbar.saveWorkflow(second) + await comfyPage.menu.topbar.triggerTopbarCommand(['New']) + await comfyPage.menu.topbar.saveWorkflow(third) + + await test.step('visit every tab without editing, leaving drafts behind', async () => { + await comfyPage.workflow.expectTabOpensAsSaved(first) + await comfyPage.workflow.expectTabOpensAsSaved(second) + await comfyPage.workflow.expectTabOpensAsSaved(third) + await waitForWorkflowTabState(comfyPage, 3) + await expect + .poll(async () => (await comfyPage.workflow.getDraftWorkflows()).length) + .toBeGreaterThanOrEqual(2) + }) + + await comfyPage.workflow.reloadAndWaitForApp() + + await test.step('the tab active at reload is restored as saved', async () => { + await expect + .poll(() => comfyPage.menu.topbar.getActiveTabName()) + .toBe(third) + await expect + .poll(() => comfyPage.workflow.isCurrentWorkflowModified()) + .toBe(false) + await expect.poll(() => comfyPage.page.title()).not.toMatch(/^\*/) + }) + + await test.step('the first restored tab reopens as saved', async () => { + await comfyPage.workflow.expectTabOpensAsSaved(first) + }) + + await test.step('the second restored tab reopens as saved', async () => { + await comfyPage.workflow.expectTabOpensAsSaved(second) + }) + }) + test('Flushes a pending draft edit before an immediate reload', async ({ comfyPage }) => { diff --git a/browser_tests/tests/workspace/apiKeyLoginBilling.spec.ts b/browser_tests/tests/workspace/apiKeyLoginBilling.spec.ts index 187a5309f23..2ec0565171b 100644 --- a/browser_tests/tests/workspace/apiKeyLoginBilling.spec.ts +++ b/browser_tests/tests/workspace/apiKeyLoginBilling.spec.ts @@ -18,8 +18,7 @@ import { */ test.describe('API-key login billing surfaces', () => { test('shows the key workspace context, balance, and activity from the workspace rail', async ({ - comfyPage, - legacyBillingReads + comfyPage }) => { const page = comfyPage.page @@ -52,7 +51,5 @@ test.describe('API-key login billing surfaces', () => { .getByRole('button', { name: 'Activity' }) .click() await expect(settingsDialog.contentArea).toContainText('Credits Added') - - expect(legacyBillingReads).toEqual([]) }) }) diff --git a/browser_tests/tests/workspaceSwitcher.spec.ts b/browser_tests/tests/workspaceSwitcher.spec.ts index 243074ccb17..724b812550e 100644 --- a/browser_tests/tests/workspaceSwitcher.spec.ts +++ b/browser_tests/tests/workspaceSwitcher.spec.ts @@ -145,7 +145,7 @@ test.describe('Workspace switcher', { tag: '@cloud' }, () => { await comfyPage.toast.closeToasts() await page.getByRole('button', { name: 'Current user' }).click() - await expect(page.getByTestId('add-credits-button')).toBeVisible() + await expect(page.getByTestId('add-credits-button')).toBeEnabled() const longWorkspaceCapabilities = page.waitForResponse( (response) => response.url().includes('/api/billing/capabilities') && @@ -161,7 +161,7 @@ test.describe('Workspace switcher', { tag: '@cloud' }, () => { await comfyPage.waitForAppReady() await page.getByRole('button', { name: 'Current user' }).click() - await expect(page.getByTestId('add-credits-button')).toHaveCount(0) + await expect(page.getByTestId('add-credits-button')).toBeDisabled() }) test('isolates all open workflow tabs between workspaces', async ({ diff --git a/docs/adr/AGENT-SHORTCUTS-0050-reply-shortcuts-resolve-against-the-user-binding.md b/docs/adr/AGENT-SHORTCUTS-0050-reply-shortcuts-resolve-against-the-user-binding.md new file mode 100644 index 00000000000..22d632580eb --- /dev/null +++ b/docs/adr/AGENT-SHORTCUTS-0050-reply-shortcuts-resolve-against-the-user-binding.md @@ -0,0 +1,131 @@ +# ADR-AGENT-SHORTCUTS-0050: Reply Shortcuts Resolve Against the User's Binding + +Date: 2026-10-28 + +## Status + +Accepted + +## Context + +DES-779 asked for keyboard shortcuts in agent replies to stand out as inline +calls to action. Two problems sit behind that. The agent names a shortcut from +training data, so it sometimes gives a key that is wrong for this build, and it +always gives the wrong one to a user who rebound the action or loaded a preset. + +The keybinding registry lives here. `keybindingStore` knows the live binding per +command, and `keyCombo.ts` labels `Meta` as `Ctrl` with no Mac-specific labels, +so the Keybindings settings panel reads `Ctrl + B` on every platform. + +The agent's own prompt is the alternative place to answer this. Its always-on +`building` skill is inlined into the system prompt on every model round of every +turn, for every user, whether or not the turn mentions the canvas. Comfy-Org/cloud#16788 +has the measurements. + +## Decision + +A keyboard shortcut named in an agent reply is resolved when the reply renders, +not supplied to the model. **The combo identifies the command; the surrounding +prose is never consulted.** + +`canvasCommandForWrittenKeys` answers which command ships a given combo as its +default. It covers every modifier-bearing entry in `CORE_KEYBINDINGS`, not a +hand-kept list of canvas actions. A curated list drifts from the defaults, which +is the failure this decision avoids. + +The lookup folds the macOS spellings (`Cmd`, `Command`, `⌘`, `Option`, `Opt`, +`⌥`, `⇧`, `Meta`), the named-key synonyms (`Return`, `Esc`, `Del`, `Spacebar`) +and case onto the labels this app uses. `useCanvasActionShortcutKeys` closes +over the keybinding store and reports every sequence that command is bound to +now, not just the first. Both are public entry points of the keybindings domain; +the agent domain declares `keybindings` as an allowed dependency, so the reply +panel reaches no other keybindings module. + +`renderShortcutKeycaps` rewrites one block of rendered reply HTML. Matching runs +over a _run_ of text nodes that read as one stretch of prose rather than over +each node alone, so a combo markdown split by emphasis (`Press **Ctrl**+**B**`) +is still one combo; a run ends at a code span, link, existing keycap, line break +or any other non-prose element, so nothing is joined across them and nothing is +reordered around them. A combo is a run of modifiers terminated by one +non-modifier key, which keeps `Ctrl+C + Ctrl+V` two combos rather than one +four-key chain. A cross-platform alternation (`Ctrl/Cmd+B`) is one combo, since +both spellings fold onto the same key; matching half of it and leaving `Ctrl/` +in the prose is the failure this rules out. + +Four boundaries are part of the decision, not implementation detail: + +- **Shape, not words.** A combo is matched by its shape and identified by its + keys, so the whole behaviour is language independent. +- **Never inject.** A reply naming an action without a key is unchanged. The + transform only ever rewrites text that already held a combo. +- **Substitute only on an exact default.** A combo that is not a canvas + action's default is left as written, even when the sentence names an action we + have a command for. +- **Never substitute a key that still works.** A canvas default resolves to the + binding it matches when the command still carries it, so a command with + several defaults does not have one swapped for a sibling: `Alt++` stays + `Alt++` rather than becoming `Alt+=`. Only a genuine rebind changes the keys. + +A canvas default the user has unbound entirely is left as plain prose rather +than keycapped. The keys are known-stale, and a keycap is this panel asserting +that a key works. + +Only modifier-bearing defaults enter the lookup, because a bare key in prose is +a word. Modifier-free entries in `CORE_KEYBINDINGS` are filtered out rather +than retained as silently unreachable actions. + +Keycaps are built from `createElement` and text nodes, never from an HTML string, +and the result is sanitized downstream. + +## Alternatives considered + +**A shortcut list in the agent's always-on prompt** (Comfy-Org/cloud#13385, +closed). It can only carry the shipped default, so it is wrong for any user who +rebinds, and the PR said so. Nothing links it to `defaults.ts`, so it rots +silently. It is re-billed on every turn for every user. Its Mac note also +contradicted this app, telling macOS users the key is Cmd when the settings +panel shows Ctrl. + +**An on-demand skill behind `load_skill`.** Cheaper than always-on, but +`load_skill` is a decision the model makes before starting a task, not mid-reply +when it is about to name a key. It would not fire where it is needed. + +**A hint on a tool result.** Attaching the shortcut to a bypass or mute edit +result costs nothing and fires exactly when relevant. It covers only the turns +where the agent performed the action itself, not the ones where the user asked +how to do it by hand. Worth adding later as a complement, not a replacement. + +**Pairing a combo with an action word in the same sentence.** This was the first +shape of this change and it is wrong. The table of action phrases does not cover +every action, so `undo` and `copy` are absent while `save` and `run` are present, +and "Hit Ctrl+Z to undo, then save" re-keyed `Ctrl+Z` to the save binding. Guards +counting action words and combos narrowed the hole without closing it, and the +remaining cases turn a key the model got right into a wrong one, which is the +opposite of what this change is for. Caught in review by @dante01yoon. + +**Treating a mouse gesture as a key.** `Ctrl+click` and `Shift+drag` are left as +written. Rendering them as keycaps is defensible but it is a separate call about +what a keycap means, and is not made here. + +**A curated list of agent-relevant actions.** This repeats the defaults in a +second place and makes every new canvas shortcut a maintenance task. It also +requires a product guess about which actions the model might mention. Matching +the modifier-bearing defaults instead keeps the lookup complete without +injecting any action or shortcut that was absent from the reply. + +## Consequences + +The prompt carries nothing about keyboard shortcuts, so a keybinding change +needs no agent change and costs no tokens. + +A correction is invisible to the model. It will keep writing the key it +remembers, and the panel will keep rewriting it. Anything that reads the agent's +raw reply text, rather than the rendered panel, sees the unrewritten key. + +A key the model invented, rather than remembered, is styled and left wrong. We +cannot tell which command such a combo was meant to be without guessing from the +prose, and guessing is what this design gives up. The case it does fix, a user +who rebound an action, is the one we can answer exactly. + +The agent domain now depends on keybindings. Its production import crosses one +public entry point and performs one lookup. diff --git a/docs/adr/AGENT-TARGET-0037-commit-workflow-target-on-send-or-node-reference.md b/docs/adr/AGENT-TARGET-0037-commit-workflow-target-on-send-or-node-reference.md index 9af4b4b10bd..17cd03df836 100644 --- a/docs/adr/AGENT-TARGET-0037-commit-workflow-target-on-send-or-node-reference.md +++ b/docs/adr/AGENT-TARGET-0037-commit-workflow-target-on-send-or-node-reference.md @@ -25,8 +25,11 @@ retain the target before further tab navigation, including a picker choice of the already-visible workflow. Send retains before asynchronous preparation; a picker retains only after successful selection. Failed, cancelled or superseded picker operations do not commit. Success, failure, retry and removing -references do not resume following. Explicit target selection remains available; New Chat starts -following again unless its retained draft still contains node references. +references do not resume following. Explicit target selection remains available. New Chat +clears the unsent draft (text, attachments and staged node references), cancels pending uploads +and starts following again, so a new chat never carries input aimed at another workflow +(amended 2026-11-01 for PM-2251). Leaving a failed history selection with Back keeps the unsent +text and follows the visible workflow. The panel store owns a single target-state union so it survives component remounts. In `following`, the target derives directly from the editor's active @@ -55,6 +58,8 @@ workflow is already known. Ordinary draft text does not commit a target. ### Positive - Fresh chat entry and New Chat use the same default without an extra save. +- New Chat always starts empty; references staged for the previous chat are dropped rather + than carried to a workflow the user may have left. - Explicit choices, failed sends and node references preserve the target. - Mismatch feedback can reveal a different target without changing it. @@ -64,6 +69,8 @@ workflow is already known. Ordinary draft text does not commit a target. length and thread ID cannot replace the explicit policy. - Existing tests that treat manual first selection as mandatory must instead distinguish fresh following from a target committed by user input. +- A user who wanted to reuse staged references or text in a new chat must restage them; + the unchanged canvas selection can be restaged immediately. - Explicit retargeting keeps the existing node-scope cleanup behavior; this decision only changes passive tab following. diff --git a/docs/adr/API-SERVER-FACTS-0042-server-facts-are-rendered-not-derived.md b/docs/adr/API-SERVER-FACTS-0042-server-facts-are-rendered-not-derived.md index 3f3d499f2df..38200224991 100644 --- a/docs/adr/API-SERVER-FACTS-0042-server-facts-are-rendered-not-derived.md +++ b/docs/adr/API-SERVER-FACTS-0042-server-facts-are-rendered-not-derived.md @@ -4,7 +4,7 @@ Date: 2026-10-09 ## Status -Proposed +Accepted ## Context @@ -52,45 +52,102 @@ subscription or resource that would stay true with no UI: 1. **The server fact alone decides entitlement.** A gate renders one server fact as received. It does not combine that fact with another server fact or a value derived from one (role, tier, plan state, seats, `isCloud`) - through `&&`, `||`, `??`, a ternary, arithmetic, a comparison or a helper. - It also does not choose which fact answers the question. Local, transient - UI state (loading, an in-flight request, form validity) may delay or - disable the control, as in `canTopUp && !isLoading`. It never grants - entitlement or stands in for a server field. -2. **`isCloud` decides which build ships, not what a user may do.** Off + through `&&`, `||`, `??`, a ternary, arithmetic, a comparison between + them, or a helper. Local, transient UI state (loading, an in-flight + request, form validity) may delay or disable the control, as in + `canTopUp && !isLoading`. It never grants entitlement or stands in for a + server field. +2. **"As received" means as the API documents it.** Comparing one field + with a value its API documentation defines as the answer to this + question is rendering, not deriving: `deployment.status === 'ready'` for + "will this deployment take a job", where the spec says a job is taken + only while the deployment is ready. The comparison lives in the fact + provider, which mints its result with `receiveServerFact` for that + field; the gate reads the minted fact. Using a field the API does not + document as the answer to this question is a proxy, and a proxy is + derivation even with no operator around it: `role === 'owner'` for "may + set the default deployment", or `can_change_seats` for member + management. A field with no such documentation is a proxy too. A field + typed as an open `string` that is compared with a documented literal + should get an enum in the spec; that is a request to the backend, not a + reason to block the frontend change. +3. **Narrowing an action the server permits follows rule 2 for the + narrower question.** Hiding or disabling an action the server would + accept needs a field the API documents as the answer to that narrower + question, and that documentation exists before the change merges. When + the spec contradicts the narrowing (for example, "any status may be + picked" while the UI would offer only ready deployments), the spec + changes first and the frontend change waits for it. A narrowing without + that documentation is a proxy. +4. **`isCloud` decides which build ships, not what a user may do.** Off Cloud, a local provider answers the same fact. -3. **A failed read uses the default its contract names.** Never fall back to +5. **A failed read uses the default its contract names.** Never fall back to a role or a tier. -4. **A fact the API does not emit yet is a backend ticket.** Until the ticket +6. **A fact the API does not emit yet is a backend ticket.** Until the ticket lands, wrap the interim expression in `pendingServerFact('', expr)`. Never substitute another field. `can_change_seats` is not member management. -5. **Choosing which server field answers a UI question needs review from - the backend team that owns the field.** +7. **Choosing which server field answers a UI question needs review from + the backend team that owns the field.** Documentation that names this UI + question itself, such as an enum value described with that meaning, is + the review. Reading a documentation sentence as the answer to a + different question still needs the owning team: `can_change_seats` + documents seat quantity, not member management. Presentation stays on the client: formatting, translation, sorting, layout, and local UI state such as loading, open panels and form validation. -The rule is to be enforced by checks that fail, not by prose. None of -them ships with this ADR; each lands in its own change, tracked under +### Classifying a gate + +The deciding question is: does the API document this field as the answer to +this question? + +| Gate | Kind | Outcome | +| --------------------------------------------------------------------- | ----------------------- | ------------------------------------------------------------ | +| `can_invite_members` | Fact as received | Allowed | +| `deployment.status === 'ready'`, spec: a job is taken only when ready | Documented value | Allowed in the provider; ask for an enum if `status` is open | +| `role === 'owner'` for "may set the default deployment" | Proxy | Backend ticket and `pendingServerFact` | +| `isPlanEnded && canManageSubscription` OR'd onto `can_invite_members` | Combination | Blocked | +| `isCloud ? can_change_seats : role` | Proxy and combination | Blocked | +| `canTopUp && !isLoading` | Fact and local UI state | Allowed | + +The author of a gate cites the API documentation that makes its field the +answer. A reviewer may block on a missing citation, on a citation that +answers a different question, or on a rule 1 combination, naming the rule +it breaks. + +### Enforcement + +The rule is enforced by checks that fail, not by prose. Tracked under FE-3349 (TDD "Server-fact guardrails"): -- oxlint rules gated on changed lines in the required lint check: the - authoritative block (FE-3351) -- a checked-in agent write hook and an approve hook: an advisory first line - that fails open (FE-3352, FE-3353) -- the `pendingServerFact` bridge and its expiry check (FE-3354) -- orthogonality tests on every gate a PR touches (FE-3355) -- a `ServerFact` type, branded with the API field that answered it. - A gate slot typed as a fact rejects `||`, `&&`, `!` and ternaries that mix - in other state at compile time. It is adopted surface by surface, - starting with the members panel (FE-3361); the lint gate holds the line on - surfaces not yet migrated. Only a fact provider may call its constructor, - `receiveServerFact`: the module that decodes the API response, or an - off-Cloud local provider that answers the same fact (rule 2). Each provider - is listed in the rule (`comfy/no-stray-server-fact-constructor`). - -Until those land, this ADR and the `AGENTS.md` line are the only guidance. +- In place: the oxlint rules `comfy/no-server-fact-literals` and + `comfy/no-capability-recombination`, run on changed lines by + `pnpm lint:server-facts` in the required lint check and in lint-staged. + They are the authoritative block (FE-3351). +- In place: the agent write and approve hooks in `.claude/settings.json`, + an advisory first line that fails open (FE-3352, FE-3353). +- In place: `pendingServerFact` and its expiry check, + `ci-pending-server-facts.yaml` (FE-3354). +- In place, adopted surface by surface: the `ServerFact` type, + branded with the API field that answered it. A gate slot typed as a fact + rejects `||`, `&&`, `!` and ternaries that mix in other state at compile + time. The members panel and workspace gates use it (FE-3361); the lint + gate holds the line on surfaces not yet migrated. Only a fact provider may + call its constructor, `receiveServerFact`: the module that decodes the API + response, or an off-Cloud local provider that answers the same fact + (rule 4). Each provider is listed in `comfy/no-stray-server-fact-constructor`. +- Open: orthogonality tests on every gate a PR touches (FE-3355). + +The lint keys on field names, not on documentation, so it is both narrower +and broader than rule 2: + +- It flags a tier, billing-status or subscription-status literal used as a + boolean gate even where the spec documents that value as the answer. The + lint wins. Ask the backend for the fact, or change the lint in its own PR + with the spec citation; do not add a disable comment. +- It does not see a proxy on a field outside its lists. Rule 2 still + forbids it, and review holds it. ### Alternatives considered @@ -115,7 +172,7 @@ Until those land, this ADR and the `AGENTS.md` line are the only guidance. - A missing fact becomes a visible backend ticket instead of a silent client proxy. - Reviewers and agents get a mechanical test: is this gate one server fact, - as received? + read as the API documents it? ### Negative diff --git a/docs/adr/CRDT-AUTHORITY-0035-human-canvas-authority-and-draft-reconciliation.md b/docs/adr/CRDT-AUTHORITY-0035-human-canvas-authority-and-draft-reconciliation.md index 8fca31f58c4..9a70c54f37c 100644 --- a/docs/adr/CRDT-AUTHORITY-0035-human-canvas-authority-and-draft-reconciliation.md +++ b/docs/adr/CRDT-AUTHORITY-0035-human-canvas-authority-and-draft-reconciliation.md @@ -24,7 +24,8 @@ Two channels carry the human's canvas to the server: into `doc_ops`, and `opSender.ts` delivers them. The minter's document-bound gate is closed when no thread is bound: before the first turn acknowledges, and after "new chat". The sender drops queued operations as `undeliverable` - when the binding changes or the transport stays refused. Remote follower + when the binding changes, and holds them through a refused transport + ([CRDT-REPLAY-0039](CRDT-REPLAY-0039-retain-exhausted-operations-for-same-page-replay.md)). Remote follower writes use the same graph API with `agent-remote` provenance, so they update the live graph and stores without minting operations back to the host. 2. **The turn draft.** Every turn whose target has a cloud workflow id, and @@ -73,7 +74,8 @@ depends on it. thread, the retained id and the cleared draft, not a different id. 3. **Operations are best-effort delivery; the draft is the reconciliation primitive.** The frontend does not persist or re-send operations dropped as - `undeliverable`. Operations minted in one tick form one sender admission + `undeliverable`; transport exhaustion is no longer such a drop + (CRDT-REPLAY-0039). Operations minted in one tick form one sender admission (`opCoalescer.ts`), which `OpSender` splits into the minimum number of wire-capped batches. Edits within the wire cap therefore take one round trip instead of N, narrowing the window in which a clear made while bound is lost @@ -98,10 +100,11 @@ depends on it. assumes that one. 6. **The server's sequence check is the guard against a stale canvas.** A human-authored draft posted from a canvas that missed follower frames (gap, - disconnect) would revert agent work the user never saw. We rely on the - sequence check the assumed backend change carries and record as a - follow-up that the client should withhold `draft` while a bound follower - is disconnected or in a gap. + disconnect) would revert agent work the user never saw. The server's + sequence check is one guard; the client also withholds `draft` when the + follower marks the canvas stale after a disconnect, gap, or reset. A fresh + subscription awaiting its first catch-up does not itself mark the canvas + stale: `isCatchingUp` gates operation sends, not the draft. Alternatives considered and rejected: @@ -143,8 +146,11 @@ Alternatives considered and rejected: target whose document diverged from the cleared canvas) still fails in production; the frontend cannot fix it alone, and nothing in this repository can confirm when that happens. -- The stale-canvas risk in decision 6 is accepted, not removed, until the - withhold-draft follow-up lands. +- The draft path is a whole-document replace, not a CRDT merge. It stays the + reconciliation primitive for what ops cannot carry (edits made while unbound + or in a subgraph interior). Conflicts on a bound document are settled by op + stamps under + [CRDT-STAMPS-0051](CRDT-STAMPS-0051-human-ops-stamp-above-what-they-have-received.md). - Coalescing shares one batch's prefix-abort semantics across operations that were independent before: a host rejection of one operation leaves the later operations of that batch unapplied, where separate batches were independent. diff --git a/docs/adr/CRDT-RECONCILE-0035-local-only-state-survives-authoritative-reconcile.md b/docs/adr/CRDT-RECONCILE-0035-local-only-state-survives-authoritative-reconcile.md index fe0285b98da..eecc25d4cff 100644 --- a/docs/adr/CRDT-RECONCILE-0035-local-only-state-survives-authoritative-reconcile.md +++ b/docs/adr/CRDT-RECONCILE-0035-local-only-state-survives-authoritative-reconcile.md @@ -171,13 +171,17 @@ bound document's root graph is mintable; an op for another graph, or for the interior of a subgraph, is not minted and is reported once per flush. A batch ends in exactly one of four outcomes: -| Outcome | Produced when | Time bound | -| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ | -| `acknowledged` | a result arrives for the batch's op ids (an anonymous failure also counts when a send happened) | none, the result decides | -| `unacknowledged` | no result within the result timeout, after one silent resend of the same ops | about 20 seconds from the first send, tab active | -| `unconfirmed` | the batch was sent, then the sender was unbound, aborted by a `doc_reset`, detached, or its subscribe was refused | immediate on the event | -| `undeliverable` | the batch was never sent (queued or detached), or the transport refused it for the whole retry budget (five retries, six tries in all, half a second apart) | about 2.5 seconds of retry, or immediate | - +| Outcome | Produced when | Time bound | +| ---------------- | ---------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ | +| `acknowledged` | a result arrives for the batch's op ids (an anonymous failure also counts when a send happened) | none, the result decides | +| `unacknowledged` | no result within the result timeout, after one silent resend of the same ops | about 20 seconds from the first send, tab active | +| `unconfirmed` | the batch was sent, then the sender was unbound, aborted by a `doc_reset`, detached, or its subscribe was refused | immediate on the event | +| `undeliverable` | the batch was never sent and its document was unbound, reset or detached; or admission was refused under `counter_exhausted` | immediate on the event or refused admission | + +A transport that refuses the batch for the whole retry budget (five retries, +six tries in all, half a second apart) holds it instead of settling it; the +held batch goes out once the reconnect's catch-up lands, re-stamped under +[CRDT-STAMPS-0051](CRDT-STAMPS-0051-human-ops-stamp-above-what-they-have-received.md). A suspension parks the batch instead of sending or settling it. A resume sends it again, unless the sender is now bound to a different workflow, in which case it settles `unconfirmed` or `undeliverable`. A `doc_reset` aborts @@ -249,7 +253,8 @@ local write arrived and applying it would rewind what the user typed. The hold lifts when the document catches up (an own-actor echo), when a settled op carries the register's latest value, or on a `doc_reset`. The follower settles holds for every outcome state, so a timed-out write stops being held -and the next remote value overwrites the local one. This is the one place +and the next remote value overwrites the local one. A batch held through an +outage has not settled, so its hold survives the catch-up. This is the one place where the first requirement is bounded by sender settlement instead of by confirmation. diff --git a/docs/adr/CRDT-REPLAY-0039-retain-exhausted-operations-for-same-page-replay.md b/docs/adr/CRDT-REPLAY-0039-retain-exhausted-operations-for-same-page-replay.md index 11c25894f32..f7221bfd66a 100644 --- a/docs/adr/CRDT-REPLAY-0039-retain-exhausted-operations-for-same-page-replay.md +++ b/docs/adr/CRDT-REPLAY-0039-retain-exhausted-operations-for-same-page-replay.md @@ -6,6 +6,12 @@ Date: 2026-09-28 Proposed +Partly implemented: transport exhaustion now holds the batch in `opSender` and +replays it after the reconnect's catch-up. Stamping of that replay is decided in +[CRDT-STAMPS-0051](CRDT-STAMPS-0051-human-ops-stamp-above-what-they-have-received.md). +Panel teardown still drains held batches, so the page-session lifetime below is +not met yet. + ## Context The in-app agent's `opSender` owns the ordering and identity of locally minted @@ -87,8 +93,7 @@ requires browser storage nor promises delivery after the page session ends. session. Panel teardown must preserve or transfer that state, while page teardown may discard it because reload persistence remains undecided. - This does not protect an edit across a full page reload. -- Until runtime support lands, this is a policy contract rather than a claim - about current behavior. +- Panel teardown is the remaining gap between this policy and current behavior. ## Notes diff --git a/docs/adr/CRDT-STAMPS-0051-human-ops-stamp-above-what-they-have-received.md b/docs/adr/CRDT-STAMPS-0051-human-ops-stamp-above-what-they-have-received.md new file mode 100644 index 00000000000..c316a83a17a --- /dev/null +++ b/docs/adr/CRDT-STAMPS-0051-human-ops-stamp-above-what-they-have-received.md @@ -0,0 +1,115 @@ +# ADR-CRDT-STAMPS-0051: Human Ops Stamp Above What They Have Received + +Date: 2026-10-30 + +## Status + +Proposed + +## Context + +Widget values are last-writer-wins registers. The applier orders writes by +`[base_version, actor, op_id]`, and `base_version` is a creator-owned Lamport +counter (comfy-multi-player ADR-ORDERING-0005). The rule that makes such a +counter mean anything is that a producer stamps above every counter it has +received. + +The human write leg did not follow it, in two ways: + +- `opSender` stamped from the document sequence, not from the counters in the + document. The two are different scales. The agent's batches are lifted above + the document's highest counter (PM-2212), and one human batch advances the + counter by its op count but the sequence by one, so the counter can run ahead + of the sequence. An edit stamped below a counter this tab had already received + lost to a write the person could see, and the host still counted it as + handled. +- [CRDT-REPLAY-0039](CRDT-REPLAY-0039-retain-exhausted-operations-for-same-page-replay.md) + retains an edit through an outage, but it kept the counter from before the + outage. On reconnect the held edit arrived below anything the agent wrote + meanwhile and was dropped. The widget hold had kept the canvas on the person's + value, so canvas and document disagreed with no signal, until the next turn's + draft replaced the document. + +So a person's edit made during an outage did not win a conflict through the CRDT. +It either lost, or won only through the whole-document path of +[CRDT-AUTHORITY-0035](CRDT-AUTHORITY-0035-human-canvas-authority-and-draft-reconciliation.md). + +## Decision + +1. **A counter is taken when an op is sent, not when it is queued.** The document + sequence is a mint-time floor, not a value the stamp must exceed: a fresh + sender at sequence 41 mints 41. At send, a human op stamps above the highest + counter in the document the follower holds and above every counter this sender + has already sent. +2. **An op the wire has not carried is re-stamped on its way out.** `op_id`, actor + and payload do not change. No host can hold the old bytes, so this is not + changed-payload reuse of an `op_id`. One shift moves the whole batch, so its + internal order is kept, and later batches stay above it. +3. **An op the wire has carried is frozen.** A resend is byte-identical, which is + what keeps it idempotent. +4. **A follower known to be behind does not send.** From a subscribe, socket + drop, sequence gap or reset until the catch-up has been integrated, the sender + holds, because a stamp taken before the catch-up cannot be above it. A deferred + or failed projection does not hold it: the document is already current. +5. **A counter outside the safe integers is refused, never emitted.** The applier + rejects a `base_version` outside them as `malformed_op` and aborts the rest of + the batch, so emitting one loses that edit and every edit behind it. Both ends + are bounded: an admission whose whole range would not fit is settled + `undeliverable` under `counter_exhausted` without admitting unsafe envelopes + or moving the sender's cursor. A held batch that cannot be lifted inside them + is sent as minted, without an exhaustion-specific report. Stamping above what + the follower has received is therefore a bounded guarantee. + +The result for a value conflict: an edit the person made without seeing the +agent's write wins it if that edit had not reached the wire when the outage +began. A write made after the edit reached the document wins as usual. Only the +counter decides, apart from the existing tiebreak on an equal counter, so the +agent can still change a value the person set, and every replica computes the +same winner. + +This is what the follower has received, not what the host holds. An edit sent +while an agent write is in flight back to this tab, inside one round trip, is +concurrent and can lose. That is ordinary last-writer-wins, online or not. + +## Alternatives considered + +- _Give human actors priority in the comparator._ Rejected. The agent could then + never overwrite a value a person had set, which is the PM-2212 failure, and it + needs a schema-wide change to the applier. +- _A vector clock, so a conflict policy can see real concurrency._ Rejected for + now, as in the program's ADR-020: the per-participant state is not justified + while one host admits every op. +- _Ask the host to lift human batches, as it does for the agent._ Rejected for + unsent ops: the creator can stamp correctly itself, this keeps ordering in the + op rather than the server, and the host lift needs replay-restoration + bookkeeping that an unsent op does not. It stays an option for the frozen case + below. +- _Use the package's `DocDerivedLamportClockStore`._ Rejected. Its transaction is + asynchronous and writes a reservation into the document, which a follower must + not do. +- _Keep the old stamp and let the draft repair the document._ Rejected. It turns + an ordinary conflict into a lineage break. +- _Mint nothing until the socket is back._ Rejected. The sender owns `op_id` and + order at mint, and holding graph operations elsewhere is the second queue + CRDT-REPLAY-0039 refuses. + +## Consequences + +### Positive + +- An offline edit wins through the CRDT, with no extra lineage break. +- An online edit can no longer lose to a counter its tab has already received. +- The widget hold ends with the document holding the held value, not with a + silent disagreement. + +### Negative + +- A batch sent just before a connection dropped keeps its stamp, because it may + have landed. If it did not, it can still lose to a concurrent agent write. That + and the one-round-trip case above read the same to the frontend: the host + reports a dropped write as `skipped`, like a replay, so the canvas can keep a + value the document refused (FRONT-2834). +- `base_version` no longer equals the document sequence a batch was minted at. + Nothing relied on that; the applier treats it as a counter. +- A follower that never finishes catching up holds its edits. They stay reported + as unsynced. Delivery is not bounded in time (CRDT-RECONCILE-0035 requirement 3). diff --git a/docs/adr/ECS-0008-entity-component-system.md b/docs/adr/ECS-0008-entity-component-system.md index 16123421982..930429b8292 100644 --- a/docs/adr/ECS-0008-entity-component-system.md +++ b/docs/adr/ECS-0008-entity-component-system.md @@ -284,7 +284,7 @@ Components are plain data objects — no methods, no back-references to parent e > **Amended (2026-07-05):** `LinkEndpoints` shipped as > `LinkTopology { id, originNodeId, originSlot, targetNodeId, -targetSlot, type, parentId? }` in a dedicated `linkStore`, keyed by +> targetSlot, type, parentId? }` in a dedicated `linkStore`, keyed by > root-workflow-wide `LinkId` in root-graph-scoped buckets. Owner-qualified > target and origin indexes enforce target occupancy and support fan-out > queries. Floating links share the ID namespace but remain absent from diff --git a/docs/adr/ECS-WIDGETS-0023-widget-entities-with-a-legacy-layer.md b/docs/adr/ECS-WIDGETS-0023-widget-entities-with-a-legacy-layer.md index f00db0403ac..8abb878eff8 100644 --- a/docs/adr/ECS-WIDGETS-0023-widget-entities-with-a-legacy-layer.md +++ b/docs/adr/ECS-WIDGETS-0023-widget-entities-with-a-legacy-layer.md @@ -161,3 +161,175 @@ the registration boundary instead of adding it to renderer inner loops. Bevy's [ECS callback example](https://bevy.org/examples/ecs-entity-component-system/callbacks/) shows a related behavior boundary: a component holds a registered system ID, and the ECS runs that system on demand. + +--- + +## Amended (2026-10-26): a per-node widget form is emitted only where it can be _proven_ + +`widgets_values_form` is a per-node declaration of which widgets serialize and in what order +(`comfy-multi-player` schema amendment A24). Object-shaped forms are closed and catalog-free. +Array-form writes still require the pinned catalog for A25's dynamic-combo overlay; projection +uses the stored form. An incorrect form can still misassociate values: + +- A node with **no** form keeps today's catalog behaviour, which is imperfect but visible — a + name that does not resolve is refused loudly. +- A node with a **wrong** form is authoritative. Values are misplaced silently and nothing + downstream has anything left to disagree with. + +So the rule is not "derive the order from `node.widgets`". It is: + +> **Emit a form only where core can prove the final `widgets_values` is the array it itself +> produced from `node.widgets`. Where it cannot prove that, emit nothing.** + +Deriving is a guess dressed as a declaration; proving is not. `proveWidgetForm` +(`src/lib/litegraph/src/widgets/widgetFormProof.ts`) is that predicate, and it returns an order +**only** alongside `provable: true` — never a partial order beside a refusal. The result type is a +discriminated union, so using `order` as a `string[]` without checking `provable` does not compile, and an empty +serializing order is refused (`widgets_not_serialized`) because the document rejects an empty form. + +### Why deriving does not work, measured + +The obvious implementation — derive after `runExtensionSerializeHook`, since that hook receives the +final values — is wrong for two independent reasons. `replayed` is required for the same reason +as `coreIsLastWriter` below: a missing-node shell's `has_errors` lives on the node instance, not in +the serialized payload, so only the caller can say the payload was replayed. + +**`LGraphNode.serialize` is not the last writer.** `SubgraphNode.serializeFromStoreState` calls +`super.serializeFromStoreState(state)` — hook included — and _then_ replaces `widgets_values` +from `this.inputs` filtered to those carrying a `widgetId`, or deletes it. That is a different +collection from `node.widgets` (promoted widgets are linked inputs, per +[ADR-SUBGRAPH-PROMOTION-0009](SUBGRAPH-PROMOTION-0009-represent-promoted-widgets-as-linked-inputs.md)), +so a form written at the end of the base method is already stale when the subclass returns. +Identity alone does not catch this (see the call-site section below); `coreIsLastWriter` does. The +proof still checks **array identity**, deliberately not deep equality, against an instance hook +that assigns a new array: a rebuilt equal-looking array came from a source core cannot see, and a +coincidental match is not evidence. That check is only meaningful when the caller passes the array +core built before the hook ran; passing the final array makes it vacuous. + +**`node.widgets` is a public JavaScript API that extensions mutate**, as the ADR body above +already describes. Shipping packs splice it, truncate it (`this.widgets.length = n`), reorder +it, and replace it wholesale during `onNodeCreated`; `this.serialize_widgets = false` appears in +the low hundreds of repositories. None of that is a defect to fix — it is the contract this ADR +documents — so the form has to tolerate it rather than assume it away. + +### The flag trap, which is the most likely way to get this wrong + +Three predicates look interchangeable and are deliberately different: + +| predicate | effect on `widgets_values` | +| ------------------------------------ | --------------------------------------------- | +| `widget.serialize === false` | **excluded** — the only one that governs it | +| `widget.options.serialize === false` | **not excluded**; affects the API prompt only | +| either false | neither; governs promotion and preview | + +`addWidget` does not hoist the options-bag flag onto the widget, so a widget flagged only there +**does occupy a positional slot.** That is why every `KSampler` serializes 7 values +(`control_after_generate`) and every `LoadImage` serializes 2 (its upload button). A form built from `options.serialize` is one slot +short on both. + +`widgets/widgetFormProof.serialize.test.ts` pins the _rule_ against the real serializer: the flag +cases build an `LGraphNode` in a graph, add widgets through `addWidget`, and read +`node.serialize()`, so the assertion is on production's own `widgets_values` rather than on a +filter the test duplicates. A widget added with `{ serialize: false }` in its options bag still +occupies a slot. It imports `LGraphNode` through the LiteGraph barrel, which the `litegraph-api` +compatibility contract permits; `widgetFormProof.test.ts` keeps the pure-predicate cases. + +It does **not** instantiate a real `KSampler` or `LoadImage`, so the 7 and the 2 above remain +measurements of production code rather than assertions this file makes. Pinning them against the +real widget lists needs the extension constructors and so lives in the stacked test PR; until +that lands, treat those two numbers as evidence for the rule rather than as regression cover for +it. + +### Refusals, each a measured shape + +`class_may_rewrite_payload` · `replayed_serialization` · `widgets_not_serialized` · +`values_missing` · `values_replaced` · `values_not_positional` · `length_mismatch` · +`duplicate_widget_name` · `unnameable_widget` + +Four are worth calling out. **`replayed_serialization`** covers an unregistered node type, whose +payload is replayed verbatim and never reaches the hook, and whose widgets are _synthesised from +the stored values_ with names `UNKNOWN`, `UNKNOWN_1`, … A form there would be syntactically +valid, authoritative, and meaningless, so it is refused before any other check can accept it. +**`duplicate_widget_name`** conservatively refuses serializing widgets sharing a name. Core's +named projection overwrites duplicate keys, although the document's positional array-form path +can represent duplicate occurrences. Measured in the corpus: `RecordAudio` stores 2 values under +1 name. + +**`values_missing`** and **`values_replaced`** are deliberately distinct, because they send a +reader to different problems. `values_missing` is an absent `widgets_values` left by an +instance hook that deleted it. `values_replaced` is an array core did not produce, which an +`onSerialize` hook assigning a new array leaves behind. (`SubgraphNode` and class-level +`serialize` overrides never reach either: `class_may_rewrite_payload` refuses them first.) `values_not_positional` is reserved for an +object-shaped payload: the VHS family's `onSerialize` writes a dict keyed by every widget name, +including widgets flagged `serialize === false`, so its keys and any derived order disagree. +`widgets_not_serialized` covers `this.serialize_widgets = false`, which rgthree's group muters, +was-node-suite's fast groups and Crystools' debugger all set. + +### What the proof does not guarantee + +Array identity proves the payload is still core's own array. It does not prove the array's +_contents_ were untouched: a serialize hook can reorder `node.widgets`, or mutate the produced +array in place, while preserving both identity and length. `proveWidgetForm` would then report +`provable: true` with an order that does not match the values. + +That is a known limit, not an oversight, and it is why no production code calls this predicate +yet; its only consumer is the registry census, which reports refusal rates and emits nothing. A +producer must close both mutation paths before calling this predicate. A pre-hook order snapshot +handles later widget-list reordering, but the producer must also detect changes to the produced +values or otherwise prove that the final name/value association is unchanged. That belongs in +the producer change, where the pre-hook state is in scope. + +### The call site is part of the rule, not an implementation detail + +The first version of this amendment said the form is emitted "after the extension serialize hook" +and left it there. That is wrong, and driving the predicate through the real serialize path proved +it: at the end of `LGraphNode.serializeFromStoreState` a `SubgraphNode`'s `widgets_values` is +**still core's own array** — the subclass replaces it only after `super` returns. So the identity +check, which exists precisely to catch that subclass, passed. The proof **accepted**, returning an +order of two names for a payload that ended up holding one value. + +An acceptance is the one outcome this design cannot tolerate, so the fix is not a better call site — +it is to stop trusting the caller to know it stands at the last writer. `coreIsLastWriter` is a +**required** option with no default: + +```ts +coreIsLastWriter: node.serializeFromStoreState === + LGraphNode.prototype.serializeFromStoreState && + node.serialize === LGraphNode.prototype.serialize +``` + +It compares against the live base prototype, so an extension that globally wraps +`LGraphNode.prototype.serialize` still compares equal. That is a known limit for the producer to +close, for example by comparing against references captured at module load. + +Required rather than derived for two reasons. `tsc` then refuses any new call site until the +question has been answered, so the assumption cannot creep back in silently. And the comparison +needs both the instance and the base prototype in scope, which is true at the call site and not +inside the widgets layer — deriving it here would mean importing `LGraphNode` across the +`node-widgets` → `graph-model` boundary that this repo's own architecture gate enforces. + +It is checked **before** every other refusal, because a payload that is not final makes the rest +moot: reporting `duplicate_widget_name` on a payload about to be replaced sends a reader to the +wrong problem. The refusal is `class_may_rewrite_payload`, and it covers packs that override +`serialize` exactly as it covers `SubgraphNode`. + +Passing a hardcoded `true` to silence the type error reintroduces the defect. That is worth saying +out loud, because it is the cheapest wrong fix available. + +### Scope + +This amendment adds the predicate and a diagnostic (`needsFormButHasNone`, which identifies +object-shaped values with no form — the population a form would rescue and that nothing can +currently count). **Nothing emits a form through `proveWidgetForm` yet.** The producer is +deliberately a later change, so the predicate can be landed, measured against the custom-node +ecosystem, and trusted first. + +That is narrower than "no form is emitted anywhere", and the difference matters to whoever wires +this up. The Agent wire already declares forms on its own `add_node` path: +`docOpMinter.wireNodeSnapshot` attaches `widgets_values_form` from +`provenWidgetValuesForm` (`src/workbench/extensions/agent/crdt/widgetValuesForm.ts`, per +[ADR-WIDGET-SERIALIZATION-0047](WIDGET-SERIALIZATION-0047-agent-wire-widget-form-is-proven-not-derived.md)). +The Agent producer proves the filtered named payload, while this predicate checks positional-array +provenance. Their acceptance policies intentionally differ: #22505 and #22508 show that importing +the positional identity or class-override refusals into the Agent wire would reject valid +uncatalogued nodes. Any future consolidation must preserve those separate contracts. diff --git a/docs/architecture/domains/AGENTS.md b/docs/architecture/domains/AGENTS.md index 8267d134437..6dfadb579f0 100644 --- a/docs/architecture/domains/AGENTS.md +++ b/docs/architecture/domains/AGENTS.md @@ -17,8 +17,10 @@ When `pnpm architecture:check` fails, act on the message: `boundaries.json`. When `fallow audit` reports a `boundary-violation`, import a public entry -point, or move the code so the import is not needed. Do not add a -`fallow-ignore` comment to pass the gate. +point, or move the code so the import is not needed. A domain needs no +declaration to import another domain's public entry point; the violation means +a deep import into an enforced domain. Do not add a `fallow-ignore` comment to +pass the gate. Leave unclassified files unclassified. Add a public entry point only together with a characterization test that covers it. diff --git a/docs/architecture/domains/README.md b/docs/architecture/domains/README.md index 00ba58328c4..6774eeea793 100644 --- a/docs/architecture/domains/README.md +++ b/docs/architecture/domains/README.md @@ -1,8 +1,7 @@ # Frontend domain catalog This directory records which `src` and workspace package paths belong to -which domain, the role each path plays, and which domains may depend on each -other. Fallow enforces the boundaries; `tools/architecture` generates its +which domain, and which parts of each domain other domains may import. Fallow enforces the boundaries; `tools/architecture` generates its config from the records and tracks architecture suppressions. ## Commands @@ -10,7 +9,7 @@ config from the records and tracks architecture suppressions. ```sh pnpm architecture:check # validate records, ledger, and boundaries.json pnpm architecture:update # regenerate boundaries.json from the records -pnpm architecture:catalog # print records, owners, exceptions, and coverage as JSON +pnpm architecture:catalog # print records, owners, dependencies, exceptions, and coverage as JSON pnpm test:unit tools/architecture ``` @@ -32,15 +31,15 @@ under a workspace package's `packages//src/`. Prefer directories: a file added under a claimed directory joins its domain without a record change. Paths may nest. Each file belongs to the most specific path that matches it: a file path beats any directory, and a deeper directory beats a shallower one. -Claim a directory for its main domain and role, then claim the exceptions -inside it. A test that no module names belongs with the file path +Claim a directory for its main domain, then claim the paths inside it that +belong to another domain. A test that no module names belongs with the file path it checks: `foo.ts` claims `foo.test.ts` and `foo.cloud.test.ts`, and the longest matching file path wins. A source file with the test's own name, such -as `foo.cloud.vue`, is always the subject, so a test never inherits a role past -it. List a test only when its domain or role differs from its subject's. Two +as `foo.cloud.vue`, is always the subject, so a test never inherits a domain past +it. List a test only when its domain differs from its subject's. Two modules may not name the same path, and `architecture:check` warns about a path whose nearest enclosing path, or whose -subject, has the same domain and role. +subject, has the same domain. `architecture:catalog` also reports classification coverage: each domain's `sourceFileCount`, and a top-level `coverage` object with `total`, @@ -53,28 +52,25 @@ package `src` code file belongs to a domain. ## Boundaries -Each record role becomes a Fallow zone (`/`), and each public -entry point becomes a `//public` zone. Fallow puts a file in the -first zone that matches it, so a path that contains another domain's or role's -path moves to a later `//outer-` zone with the same rules. +Each record becomes a Fallow zone named after its id, and its public entry +points become a `/public` zone. Inventory domains share one +`_inventory` zone, because any domain may import them and Fallow rules must +name every zone they allow. Fallow puts a file in the first zone that matches +it, so a path that contains another domain's path moves to a later +`outer-` zone with the same rules. Every other `src` or package `src` file falls into the `unclassified` zone. The generated rules allow: -- imports within a domain that follow role direction: - - `domain`: `domain` - - `application` and `infrastructure`: `application`, `infrastructure`, - `domain` - - `presentation`: `presentation`, `application`, `domain` - - `integration`: every role -- imports from a domain into another domain's public entry points, when the - consumer lists the producer in `allowedDependencies`, the producer lists the - consumer in `allowedConsumers`, and role direction allows it; -- imports from unclassified code into any public entry point; +- any import within a domain; +- imports from another domain or from unclassified code into a public entry + point, or into any file of a domain whose `deepImports` is `"inventory"`; - imports from any zone into unclassified code. -`deepImports: "inventory"` opens a domain's internal zones to unclassified code -and approved consumers. `deepImports: "enforced"` limits outside callers to -public entry points. +`deepImports: "enforced"` limits outside callers to public entry points. +Records do not declare which domains they depend on or who may import them. +`architecture:catalog` reports each domain's observed `dependencies`: every +other domain it imports, with the number of file-to-file imports, read from +Fallow's module graph. The pre-push hook and the `CI: Fallow` job run `fallow audit` with the `new-only` gate, so only newly introduced violations fail. Existing violations diff --git a/docs/architecture/domains/boundaries.json b/docs/architecture/domains/boundaries.json index c849c71dd62..cce936d0564 100644 --- a/docs/architecture/domains/boundaries.json +++ b/docs/architecture/domains/boundaries.json @@ -2,60 +2,104 @@ "boundaries": { "zones": [ { - "name": "account/presentation/public", + "name": "account/public", "patterns": [ "src/platform/account/auth/WorkspaceAuthGate.vue", "src/platform/account/components/CurrentUserPopoverWorkspace.vue", "src/platform/account/components/WorkspaceSwitcherPopover.vue", "src/platform/account/components/dialogs/settings/WorkspaceHeaderMenu.vue", "src/platform/account/components/dialogs/settings/WorkspaceSettingsPanelContent.vue", - "src/platform/account/composables/useWorkspaceDialogs.ts" + "src/platform/account/composables/useCreateWorkspaceUrlLoader.ts", + "src/platform/account/composables/useInviteUrlLoader.ts", + "src/platform/account/composables/useWorkspaceDialogs.ts", + "src/platform/account/composables/__mocks__/useWorkspaceDialogs.ts" ] }, { - "name": "account/integration/public", + "name": "comfyui-api/public", + "patterns": ["packages/api-client/src/executionTypes.ts"] + }, + { + "name": "image-compare/public", "patterns": [ - "src/platform/account/composables/useCreateWorkspaceUrlLoader.ts", - "src/platform/account/composables/useInviteUrlLoader.ts" + "src/extensions/core/imageCompare.ts", + "src/lib/litegraph/src/widgets/ImageCompareWidget.ts", + "src/renderer/extensions/vueNodes/widgets/components/WidgetImageCompare.vue", + "src/renderer/extensions/vueNodes/widgets/composables/useImageCompareWidget.ts" ] }, { - "name": "comfyui-api/domain/public", - "patterns": ["packages/api-client/src/executionTypes.ts"] + "name": "image-compositor/public", + "patterns": [ + "src/extensions/core/imageCompositor.ts", + "src/extensions/core/layerEditor.ts", + "src/lib/litegraph/src/widgets/CompositorWidget.ts", + "src/renderer/extensions/compositor/components/WidgetCompositor.vue", + "src/renderer/extensions/layerEditor/composables/useLayerEditor.ts", + "src/renderer/extensions/layerEditor/layerEditorDialogKey.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useCompositorWidget.ts", + "packages/layer-editor/src/mode.ts", + "packages/layer-editor/src/node.ts" + ] }, { - "name": "ingest-api/domain/public", - "patterns": ["src/platform/remote/ingest/ingestApiError.ts"] + "name": "image-crop/public", + "patterns": [ + "src/components/imagecrop/WidgetImageCrop.vue", + "src/composables/useImageCrop.ts", + "src/extensions/core/imageCrop.ts", + "src/lib/litegraph/src/widgets/ImageCropWidget.ts" + ] }, { - "name": "ingest-api/infrastructure/public", + "name": "ingest-api/public", "patterns": [ + "src/platform/remote/ingest/ingestApiError.ts", "src/platform/remote/ingest/ingestApiUrl.ts", "src/platform/remote/ingest/webSessionAdapter.ts", - "src/platform/remote/ingest/capabilityRevision.ts" + "src/platform/remote/ingest/capabilityRevision.ts", + "packages/ingest-types/src/index.ts", + "packages/ingest-types/src/zod.gen.ts" ] }, { - "name": "keybindings/application/public", - "patterns": ["src/platform/keybindings/commandStore.ts"] + "name": "keybindings/public", + "patterns": [ + "src/platform/keybindings/canvasActionShortcuts.ts", + "src/platform/keybindings/composables/useShortcutsTab.ts", + "src/platform/keybindings/commandStore.ts" + ] }, { - "name": "keybindings/integration/public", - "patterns": ["src/platform/keybindings/composables/useShortcutsTab.ts"] + "name": "mask-editor/public", + "patterns": [ + "src/extensions/core/clipspace.ts", + "src/extensions/core/maskeditor.ts", + "src/renderer/extensions/maskEditor/composables/useMaskEditor.ts", + "src/scripts/clipspace.ts", + "packages/mask-editor/src/brushUtils.ts", + "packages/mask-editor/src/maskEditorStore.ts", + "packages/mask-editor/src/StrokeProcessor.ts" + ] }, { - "name": "node-definition/domain/public", - "patterns": ["src/schemas/nodeDef/nodeDefSchemaV2.ts"] + "name": "painter/public", + "patterns": [ + "src/extensions/core/painter.ts", + "src/lib/litegraph/src/widgets/PainterWidget.ts", + "src/renderer/extensions/painter/components/WidgetPainter.vue", + "src/renderer/extensions/vueNodes/widgets/composables/usePainterWidget.ts" + ] }, { - "name": "remote-config/infrastructure/public", + "name": "remote-config/public", "patterns": [ "src/utils/devFeatureFlagOverride.ts", "src/utils/sessionFeatureFlagOverride.ts" ] }, { - "name": "server-facts/domain/public", + "name": "server-facts/public", "patterns": [ "src/platform/serverFacts/pendingServerFact.ts", "src/platform/serverFacts/serverFact.ts", @@ -63,11 +107,11 @@ ] }, { - "name": "webcam-capture/integration/public", + "name": "webcam-capture/public", "patterns": ["src/extensions/core/webcamCapture.ts"] }, { - "name": "account/presentation", + "name": "account", "patterns": [ "src/platform/account/auth/WorkspaceAuthGate.vue", "src/platform/account/auth/WorkspaceAuthGate.test.ts", @@ -94,6 +138,10 @@ "src/platform/account/components/dialogs/settings/WorkspaceSettingsPanelContent.vue", "src/platform/account/components/dialogs/settings/WorkspaceSettingsPanelContent.test.ts", "src/platform/account/composables/__mocks__/useWorkspaceDialogs.ts", + "src/platform/account/composables/useCreateWorkspaceUrlLoader.ts", + "src/platform/account/composables/useCreateWorkspaceUrlLoader.test.ts", + "src/platform/account/composables/useInviteUrlLoader.ts", + "src/platform/account/composables/useInviteUrlLoader.test.ts", "src/platform/account/composables/useMembersPanel.ts", "src/platform/account/composables/useMembersPanel.test.ts", "src/platform/account/composables/useWorkspaceDialogs.ts", @@ -103,31 +151,123 @@ ] }, { - "name": "account/integration", - "patterns": [ - "src/platform/account/composables/useCreateWorkspaceUrlLoader.ts", - "src/platform/account/composables/useCreateWorkspaceUrlLoader.test.ts", - "src/platform/account/composables/useInviteUrlLoader.ts", - "src/platform/account/composables/useInviteUrlLoader.test.ts" - ] - }, - { - "name": "agent/domain", + "name": "_inventory", "patterns": [ + "src/components/graph/agentPanelMount.test.ts", + "src/components/topbar/AgentEntryButton.stories.ts", + "src/components/topbar/AgentEntryButton.vue", + "src/components/topbar/WorkflowAgentTargetIndicator.vue", + "src/extensions/core/agentPanel.ts", + "src/extensions/core/agentPanel.historyIdentity.test.ts", + "src/extensions/core/agentPanel.test.ts", + "src/workbench/extensions/agent/AgentPanelRoot.vue", + "src/workbench/extensions/agent/AgentPanelRoot.tabActivity.test.ts", + "src/workbench/extensions/agent/AgentPanelRoot.test.ts", + "src/workbench/extensions/agent/agentDocs.ts", + "src/workbench/extensions/agent/components/**", + "src/workbench/extensions/agent/composables/agent/mentionPickerState.ts", + "src/workbench/extensions/agent/composables/agent/mentionPickerState.test.ts", + "src/workbench/extensions/agent/composables/agent/useAgentConsent.ts", + "src/workbench/extensions/agent/composables/agent/useAgentConsent.test.ts", + "src/workbench/extensions/agent/composables/agent/useAgentDraftSubmission.ts", + "src/workbench/extensions/agent/composables/agent/useAgentDraftSubmission.test.ts", + "src/workbench/extensions/agent/composables/agent/useAgentMentionPicker.ts", + "src/workbench/extensions/agent/composables/agent/useAgentSession.ts", + "src/workbench/extensions/agent/composables/agent/useAgentSession.test.ts", + "src/workbench/extensions/agent/composables/agent/useAgentTargetNavigation.ts", + "src/workbench/extensions/agent/composables/agent/useAgentWorkflowResolver.ts", + "src/workbench/extensions/agent/composables/agent/useAgentWorkflowResolver.test.ts", + "src/workbench/extensions/agent/composables/agent/useAgentWorkflowSelection.ts", + "src/workbench/extensions/agent/composables/agent/useAgentWorkflowSelection.test.ts", + "src/workbench/extensions/agent/composables/agent/useAttachment.ts", + "src/workbench/extensions/agent/composables/agent/useAttachment.test.ts", + "src/workbench/extensions/agent/composables/agent/useAttachment.transport.test.ts", + "src/workbench/extensions/agent/composables/agent/useAttachment.validation.test.ts", + "src/workbench/extensions/agent/composables/agent/useCanvasSelection.ts", + "src/workbench/extensions/agent/composables/agent/useCanvasSelection.test.ts", + "src/workbench/extensions/agent/composables/agent/useComposer.ts", + "src/workbench/extensions/agent/composables/agent/useComposer.test.ts", + "src/workbench/extensions/agent/composables/agent/useOnboarding.ts", + "src/workbench/extensions/agent/composables/agent/useOnboarding.test.ts", + "src/workbench/extensions/agent/composables/agent/useSkillMenuDescription.ts", + "src/workbench/extensions/agent/composables/agent/useSkillMenuDescription.test.ts", + "src/workbench/extensions/agent/composables/agent/useWorkflowReferencePicker.ts", + "src/workbench/extensions/agent/composables/useAgentDockMount.ts", + "src/workbench/extensions/agent/composables/useAgentDockMount.billingContext.test.ts", + "src/workbench/extensions/agent/composables/useAgentDockMount.test.ts", + "src/workbench/extensions/agent/composables/useBillingIdentity.ts", + "src/workbench/extensions/agent/crdt/CrdtDevPanel.vue", + "src/workbench/extensions/agent/crdt/CrdtDevPanel.clipboard.test.ts", + "src/workbench/extensions/agent/crdt/CrdtDevPanel.test.ts", + "src/workbench/extensions/agent/crdt/__fixtures__/**", + "src/workbench/extensions/agent/crdt/agentCrdtDocLifecycle.ts", + "src/workbench/extensions/agent/crdt/agentCrdtDocLifecycle.test.ts", + "src/workbench/extensions/agent/crdt/agentCrdtProjection.ts", + "src/workbench/extensions/agent/crdt/agentCrdtProjection.frameDelta.test.ts", + "src/workbench/extensions/agent/crdt/agentCrdtProjection.integration.test.ts", + "src/workbench/extensions/agent/crdt/agentCrdtProjection.localEdits.test.ts", + "src/workbench/extensions/agent/crdt/agentCrdtProjection.reconnectAdoptionRace.test.ts", + "src/workbench/extensions/agent/crdt/agentCrdtProjection.serializeDivergence.test.ts", + "src/workbench/extensions/agent/crdt/agentCrdtTransport.ts", + "src/workbench/extensions/agent/crdt/agentCrdtTransport.test.ts", + "src/workbench/extensions/agent/crdt/agentDeleteTabSwitchRace.test.ts", + "src/workbench/extensions/agent/crdt/agentGrownDynamicSlot.regression.test.ts", + "src/workbench/extensions/agent/crdt/agentInsertWorkflow.linkTopology.test.ts", + "src/workbench/extensions/agent/crdt/agentInsertWorkflow.subgraphs.test.ts", + "src/workbench/extensions/agent/crdt/agentInsertWorkflow.templates.test.ts", + "src/workbench/extensions/agent/crdt/agentInsertWorkflow.widgetTypes.test.ts", + "src/workbench/extensions/agent/crdt/agentInsertWorkflowLinks.regression.test.ts", + "src/workbench/extensions/agent/crdt/agentInsertWorkflowWidgets.regression.test.ts", "src/workbench/extensions/agent/crdt/agentSubgraphDefinitions.ts", "src/workbench/extensions/agent/crdt/agentSubgraphDefinitions.test.ts", + "src/workbench/extensions/agent/crdt/agentSubgraphFollower.test.ts", + "src/workbench/extensions/agent/crdt/agentSubgraphInsertWorkflow.regression.test.ts", "src/workbench/extensions/agent/crdt/applierConformance.test.ts", "src/workbench/extensions/agent/crdt/batchPlacement.ts", "src/workbench/extensions/agent/crdt/batchPlacement.test.ts", + "src/workbench/extensions/agent/crdt/crdtDebugGate.ts", + "src/workbench/extensions/agent/crdt/crdtDebugGate.test.ts", + "src/workbench/extensions/agent/crdt/crdtDebugReport.ts", + "src/workbench/extensions/agent/crdt/crdtDebugReport.apiLogs.test.ts", + "src/workbench/extensions/agent/crdt/crdtDebugReport.test.ts", + "src/workbench/extensions/agent/crdt/crdtLog.ts", + "src/workbench/extensions/agent/crdt/crdtLog.test.ts", "src/workbench/extensions/agent/crdt/crdtSnapshot.ts", + "src/workbench/extensions/agent/crdt/crossWorkflowPending.test.ts", + "src/workbench/extensions/agent/crdt/devPanelLog.ts", + "src/workbench/extensions/agent/crdt/devPanelLog.test.ts", "src/workbench/extensions/agent/crdt/docChangeCollector.ts", "src/workbench/extensions/agent/crdt/docChangeCollector.test.ts", + "src/workbench/extensions/agent/crdt/docFrameClient.ts", + "src/workbench/extensions/agent/crdt/docFrameClient.arrays.test.ts", + "src/workbench/extensions/agent/crdt/docFrameClient.awareness.test.ts", + "src/workbench/extensions/agent/crdt/docFrameClient.base64.test.ts", + "src/workbench/extensions/agent/crdt/docFrameClient.grammar.test.ts", + "src/workbench/extensions/agent/crdt/docFrameClient.numeric.test.ts", + "src/workbench/extensions/agent/crdt/docFrameClient.reseed.test.ts", + "src/workbench/extensions/agent/crdt/docFrameClient.test.ts", "src/workbench/extensions/agent/crdt/docFrameCodes.ts", + "src/workbench/extensions/agent/crdt/docFrameWireContract.test.ts", + "src/workbench/extensions/agent/crdt/docOpMinter.ts", + "src/workbench/extensions/agent/crdt/docOpMinter.test.ts", "src/workbench/extensions/agent/crdt/followerDoc.ts", "src/workbench/extensions/agent/crdt/followerDoc.test.ts", + "src/workbench/extensions/agent/crdt/followerProductGate.test.ts", + "src/workbench/extensions/agent/crdt/followerSubscription.test.ts", "src/workbench/extensions/agent/crdt/graphOperations.ts", + "src/workbench/extensions/agent/crdt/layoutFollowerBridge.ts", + "src/workbench/extensions/agent/crdt/linkMintOutboundPositionCorruption.test.ts", + "src/workbench/extensions/agent/crdt/liveGraphApplier.ts", + "src/workbench/extensions/agent/crdt/liveGraphApplier.changeTracker.test.ts", + "src/workbench/extensions/agent/crdt/liveGraphApplier.malformedNode.test.ts", + "src/workbench/extensions/agent/crdt/liveGraphApplier.primitiveIntControl.test.ts", + "src/workbench/extensions/agent/crdt/liveGraphApplier.test.ts", + "src/workbench/extensions/agent/crdt/liveGraphApplier.waitingPlaceholder.test.ts", + "src/workbench/extensions/agent/crdt/loadImageLivePreview.test.ts", "src/workbench/extensions/agent/crdt/localWidgetWrites.ts", "src/workbench/extensions/agent/crdt/localWidgetWrites.test.ts", + "src/workbench/extensions/agent/crdt/mediaUiDiagnostics.ts", + "src/workbench/extensions/agent/crdt/mediaUiDiagnostics.test.ts", "src/workbench/extensions/agent/crdt/mergeScenarios.ts", "src/workbench/extensions/agent/crdt/mergeScenarios.test.ts", "src/workbench/extensions/agent/crdt/mergeTrace.ts", @@ -137,21 +277,50 @@ "src/workbench/extensions/agent/crdt/opEnvelope.ts", "src/workbench/extensions/agent/crdt/opEnvelope.property.test.ts", "src/workbench/extensions/agent/crdt/opEnvelope.test.ts", + "src/workbench/extensions/agent/crdt/opSender.ts", + "src/workbench/extensions/agent/crdt/opSender.test.ts", "src/workbench/extensions/agent/crdt/rejectedOpChanges.ts", + "src/workbench/extensions/agent/crdt/rejectedOpNotice.ts", + "src/workbench/extensions/agent/crdt/restoreOpMinter.ts", + "src/workbench/extensions/agent/crdt/restoreOpMinter.test.ts", "src/workbench/extensions/agent/crdt/schemaGuard.ts", "src/workbench/extensions/agent/crdt/schemaGuard.test.ts", "src/workbench/extensions/agent/crdt/semanticLayoutSeparation.guard.test.ts", + "src/workbench/extensions/agent/crdt/useAgentCrdtFollower.ts", + "src/workbench/extensions/agent/crdt/useAgentCrdtFollower.humanAddTabSwitch.test.ts", + "src/workbench/extensions/agent/crdt/useAgentCrdtFollower.integration.test.ts", + "src/workbench/extensions/agent/crdt/useAgentCrdtFollower.rejectedHumanAdd.test.ts", + "src/workbench/extensions/agent/crdt/useAgentCrdtFollower.rejectedWidgetWrite.test.ts", + "src/workbench/extensions/agent/crdt/useAgentCrdtFollower.test.ts", "src/workbench/extensions/agent/crdt/workflowSyncErrorDetail.ts", "src/workbench/extensions/agent/crdt/workflowSyncErrorDetail.test.ts", + "src/workbench/extensions/agent/crdt/writeLegInvariants.property.test.ts", + "src/workbench/extensions/agent/experiments/**", + "src/workbench/extensions/agent/feedback.ts", + "src/workbench/extensions/agent/feedback.test.ts", "src/workbench/extensions/agent/schemas/**", "src/workbench/extensions/agent/services/agent/agentActivityRows.ts", "src/workbench/extensions/agent/services/agent/agentActivityRows.test.ts", + "src/workbench/extensions/agent/services/agent/agentEventSource.ts", + "src/workbench/extensions/agent/services/agent/agentEventSource.test.ts", + "src/workbench/extensions/agent/services/agent/agentEventTransport.ts", + "src/workbench/extensions/agent/services/agent/agentEventTransport.test.ts", "src/workbench/extensions/agent/services/agent/agentMessageParts.ts", "src/workbench/extensions/agent/services/agent/agentMessageParts.test.ts", + "src/workbench/extensions/agent/services/agent/agentPaywallPresentation.ts", + "src/workbench/extensions/agent/services/agent/agentPaywallPresentation.test.ts", + "src/workbench/extensions/agent/services/agent/agentRestClient.ts", + "src/workbench/extensions/agent/services/agent/agentRestClient.test.ts", + "src/workbench/extensions/agent/services/agent/agentToolGlyph.ts", + "src/workbench/extensions/agent/services/agent/agentToolGlyph.test.ts", "src/workbench/extensions/agent/services/agent/agentTranscript.ts", "src/workbench/extensions/agent/services/agent/agentTranscript.test.ts", "src/workbench/extensions/agent/services/agent/targetAwareAgentNavigation.ts", "src/workbench/extensions/agent/services/agent/targetAwareAgentNavigation.test.ts", + "src/workbench/extensions/agent/services/agent/undeliverableAskReporter.ts", + "src/workbench/extensions/agent/services/agent/workflowTabActivityTracker.ts", + "src/workbench/extensions/agent/services/agent/workflowTabActivityTracker.test.ts", + "src/workbench/extensions/agent/stores/**", "src/workbench/extensions/agent/types/**", "src/workbench/extensions/agent/utils/agentMessageText.ts", "src/workbench/extensions/agent/utils/agentMessageText.test.ts", @@ -159,277 +328,69 @@ "src/workbench/extensions/agent/utils/attachableFiles.test.ts", "src/workbench/extensions/agent/utils/composerPrompt.ts", "src/workbench/extensions/agent/utils/composerPrompt.test.ts", + "src/workbench/extensions/agent/utils/getPageVisibilityMetadata.ts", + "src/workbench/extensions/agent/utils/getPageVisibilityMetadata.test.ts", "src/workbench/extensions/agent/utils/promptReferenceParts.ts", "src/workbench/extensions/agent/utils/replyAssets.ts", "src/workbench/extensions/agent/utils/replyAssets.test.ts", + "src/workbench/extensions/agent/utils/resolveReplyAssetDownload.ts", + "src/workbench/extensions/agent/utils/resolveReplyAssetDownload.test.ts", "src/workbench/extensions/agent/utils/sessionTitle.ts", "src/workbench/extensions/agent/utils/sessionTitle.test.ts", "src/workbench/extensions/agent/utils/skillReferenceText.ts", "src/workbench/extensions/agent/utils/skillReferenceText.test.ts", "src/workbench/extensions/agent/utils/starterPrompts.ts", "src/workbench/extensions/agent/utils/starterPrompts.test.ts", + "src/workbench/extensions/agent/utils/videoThumbnail.ts", + "src/workbench/extensions/agent/utils/videoThumbnail.test.ts", "src/workbench/extensions/agent/utils/workflowReferenceParts.ts", "src/workbench/extensions/agent/utils/workflowReferenceParts.test.ts", "src/workbench/extensions/agent/utils/workflowReferenceText.ts", - "src/workbench/extensions/agent/utils/workflowReferenceText.test.ts" - ] - }, - { - "name": "agent/application", - "patterns": [ - "src/workbench/extensions/agent/composables/agent/useAgentConsent.ts", - "src/workbench/extensions/agent/composables/agent/useAgentConsent.test.ts", - "src/workbench/extensions/agent/composables/agent/useAgentDraftSubmission.ts", - "src/workbench/extensions/agent/composables/agent/useAgentDraftSubmission.test.ts", - "src/workbench/extensions/agent/composables/agent/useAgentSession.ts", - "src/workbench/extensions/agent/composables/agent/useAgentSession.test.ts", - "src/workbench/extensions/agent/composables/agent/useAgentWorkflowResolver.ts", - "src/workbench/extensions/agent/composables/agent/useAgentWorkflowResolver.test.ts", - "src/workbench/extensions/agent/composables/agent/useAgentWorkflowSelection.ts", - "src/workbench/extensions/agent/composables/agent/useAgentWorkflowSelection.test.ts", - "src/workbench/extensions/agent/composables/agent/useAttachment.ts", - "src/workbench/extensions/agent/composables/agent/useAttachment.test.ts", - "src/workbench/extensions/agent/composables/agent/useAttachment.transport.test.ts", - "src/workbench/extensions/agent/composables/agent/useAttachment.validation.test.ts", - "src/workbench/extensions/agent/composables/agent/useCanvasSelection.ts", - "src/workbench/extensions/agent/composables/agent/useCanvasSelection.test.ts", - "src/workbench/extensions/agent/composables/agent/useComposer.ts", - "src/workbench/extensions/agent/composables/agent/useComposer.test.ts", - "src/workbench/extensions/agent/composables/agent/useOnboarding.ts", - "src/workbench/extensions/agent/composables/agent/useOnboarding.test.ts", - "src/workbench/extensions/agent/composables/useBillingIdentity.ts", - "src/workbench/extensions/agent/crdt/agentCrdtDocLifecycle.ts", - "src/workbench/extensions/agent/crdt/agentCrdtDocLifecycle.test.ts", - "src/workbench/extensions/agent/crdt/followerSubscription.test.ts", - "src/workbench/extensions/agent/crdt/layoutFollowerBridge.ts", - "src/workbench/extensions/agent/crdt/rejectedOpNotice.ts", - "src/workbench/extensions/agent/experiments/**", - "src/workbench/extensions/agent/feedback.ts", - "src/workbench/extensions/agent/feedback.test.ts", - "src/workbench/extensions/agent/services/agent/agentEventTransport.ts", - "src/workbench/extensions/agent/services/agent/agentEventTransport.test.ts", - "src/workbench/extensions/agent/services/agent/undeliverableAskReporter.ts", - "src/workbench/extensions/agent/stores/**", - "src/workbench/extensions/agent/utils/getPageVisibilityMetadata.ts", - "src/workbench/extensions/agent/utils/getPageVisibilityMetadata.test.ts", - "src/workbench/extensions/agent/services/agent/agentIdentity.ts", - "src/workbench/extensions/agent/services/agent/agentIdentity.test.ts" - ] - }, - { - "name": "agent/infrastructure", - "patterns": [ - "src/workbench/extensions/agent/crdt/__fixtures__/docFrameClient.ts", - "src/workbench/extensions/agent/crdt/agentCrdtTransport.ts", - "src/workbench/extensions/agent/crdt/agentCrdtTransport.test.ts", - "src/workbench/extensions/agent/crdt/crdtDebugGate.ts", - "src/workbench/extensions/agent/crdt/crdtDebugGate.test.ts", - "src/workbench/extensions/agent/crdt/crdtDebugReport.ts", - "src/workbench/extensions/agent/crdt/crdtDebugReport.apiLogs.test.ts", - "src/workbench/extensions/agent/crdt/crdtDebugReport.test.ts", - "src/workbench/extensions/agent/crdt/crdtLog.ts", - "src/workbench/extensions/agent/crdt/crdtLog.test.ts", - "src/workbench/extensions/agent/crdt/devPanelLog.ts", - "src/workbench/extensions/agent/crdt/devPanelLog.test.ts", - "src/workbench/extensions/agent/crdt/docFrameClient.ts", - "src/workbench/extensions/agent/crdt/docFrameClient.arrays.test.ts", - "src/workbench/extensions/agent/crdt/docFrameClient.awareness.test.ts", - "src/workbench/extensions/agent/crdt/docFrameClient.base64.test.ts", - "src/workbench/extensions/agent/crdt/docFrameClient.grammar.test.ts", - "src/workbench/extensions/agent/crdt/docFrameClient.numeric.test.ts", - "src/workbench/extensions/agent/crdt/docFrameClient.reseed.test.ts", - "src/workbench/extensions/agent/crdt/docFrameClient.test.ts", - "src/workbench/extensions/agent/crdt/docFrameWireContract.test.ts", - "src/workbench/extensions/agent/crdt/opSender.ts", - "src/workbench/extensions/agent/crdt/opSender.test.ts", - "src/workbench/extensions/agent/crdt/writeLegInvariants.property.test.ts", - "src/workbench/extensions/agent/services/agent/agentEventSource.ts", - "src/workbench/extensions/agent/services/agent/agentEventSource.test.ts", - "src/workbench/extensions/agent/services/agent/agentRestClient.ts", - "src/workbench/extensions/agent/services/agent/agentRestClient.test.ts", - "src/workbench/extensions/agent/utils/resolveReplyAssetDownload.ts", - "src/workbench/extensions/agent/utils/resolveReplyAssetDownload.test.ts", - "src/workbench/extensions/agent/utils/videoThumbnail.ts", - "src/workbench/extensions/agent/utils/videoThumbnail.test.ts", + "src/workbench/extensions/agent/utils/workflowReferenceText.test.ts", "src/workbench/extensions/agent/services/agent/agentAuth.ts", "src/workbench/extensions/agent/services/agent/agentAuth.test.ts", "src/workbench/extensions/agent/services/agent/__mocks__/agentAuth.ts", + "src/workbench/extensions/agent/services/agent/agentIdentity.ts", + "src/workbench/extensions/agent/services/agent/agentIdentity.test.ts", "src/workbench/extensions/agent/crdt/agentDocFrameTransport.ts", "src/workbench/extensions/agent/crdt/agentDocFrameTransport.test.ts", - "src/workbench/extensions/agent/crdt/__fixtures__/agentSocket.ts" - ] - }, - { - "name": "agent/presentation", - "patterns": [ - "src/components/topbar/AgentEntryButton.stories.ts", - "src/components/topbar/AgentEntryButton.vue", - "src/components/topbar/WorkflowAgentTargetIndicator.vue", - "src/workbench/extensions/agent/agentDocs.ts", - "src/workbench/extensions/agent/components/**", - "src/workbench/extensions/agent/composables/agent/mentionPickerState.ts", - "src/workbench/extensions/agent/composables/agent/mentionPickerState.test.ts", - "src/workbench/extensions/agent/composables/agent/useAgentMentionPicker.ts", - "src/workbench/extensions/agent/composables/agent/useSkillMenuDescription.ts", - "src/workbench/extensions/agent/composables/agent/useSkillMenuDescription.test.ts", - "src/workbench/extensions/agent/composables/agent/useWorkflowReferencePicker.ts", - "src/workbench/extensions/agent/crdt/CrdtDevPanel.vue", - "src/workbench/extensions/agent/crdt/CrdtDevPanel.clipboard.test.ts", - "src/workbench/extensions/agent/crdt/CrdtDevPanel.test.ts", - "src/workbench/extensions/agent/services/agent/agentPaywallPresentation.ts", - "src/workbench/extensions/agent/services/agent/agentPaywallPresentation.test.ts", - "src/workbench/extensions/agent/services/agent/agentToolGlyph.ts", - "src/workbench/extensions/agent/services/agent/agentToolGlyph.test.ts" - ] - }, - { - "name": "agent/integration", - "patterns": [ - "src/components/graph/agentPanelMount.test.ts", - "src/extensions/core/agentPanel.ts", - "src/extensions/core/agentPanel.historyIdentity.test.ts", - "src/extensions/core/agentPanel.test.ts", - "src/workbench/extensions/agent/AgentPanelRoot.vue", - "src/workbench/extensions/agent/AgentPanelRoot.tabActivity.test.ts", - "src/workbench/extensions/agent/AgentPanelRoot.test.ts", - "src/workbench/extensions/agent/composables/agent/useAgentTargetNavigation.ts", - "src/workbench/extensions/agent/composables/useAgentDockMount.ts", - "src/workbench/extensions/agent/composables/useAgentDockMount.billingContext.test.ts", - "src/workbench/extensions/agent/composables/useAgentDockMount.test.ts", - "src/workbench/extensions/agent/crdt/agentCrdtProjection.ts", - "src/workbench/extensions/agent/crdt/agentCrdtProjection.frameDelta.test.ts", - "src/workbench/extensions/agent/crdt/agentCrdtProjection.integration.test.ts", - "src/workbench/extensions/agent/crdt/agentCrdtProjection.localEdits.test.ts", - "src/workbench/extensions/agent/crdt/agentCrdtProjection.reconnectAdoptionRace.test.ts", - "src/workbench/extensions/agent/crdt/agentCrdtProjection.serializeDivergence.test.ts", - "src/workbench/extensions/agent/crdt/agentDeleteTabSwitchRace.test.ts", - "src/workbench/extensions/agent/crdt/agentGrownDynamicSlot.regression.test.ts", - "src/workbench/extensions/agent/crdt/agentInsertWorkflow.linkTopology.test.ts", - "src/workbench/extensions/agent/crdt/agentInsertWorkflow.subgraphs.test.ts", - "src/workbench/extensions/agent/crdt/agentInsertWorkflow.templates.test.ts", - "src/workbench/extensions/agent/crdt/agentInsertWorkflow.widgetTypes.test.ts", - "src/workbench/extensions/agent/crdt/agentInsertWorkflowLinks.regression.test.ts", - "src/workbench/extensions/agent/crdt/agentInsertWorkflowWidgets.regression.test.ts", - "src/workbench/extensions/agent/crdt/agentSubgraphFollower.test.ts", - "src/workbench/extensions/agent/crdt/agentSubgraphInsertWorkflow.regression.test.ts", - "src/workbench/extensions/agent/crdt/crossWorkflowPending.test.ts", - "src/workbench/extensions/agent/crdt/docOpMinter.ts", - "src/workbench/extensions/agent/crdt/docOpMinter.test.ts", - "src/workbench/extensions/agent/crdt/followerProductGate.test.ts", - "src/workbench/extensions/agent/crdt/linkMintOutboundPositionCorruption.test.ts", - "src/workbench/extensions/agent/crdt/liveGraphApplier.ts", - "src/workbench/extensions/agent/crdt/liveGraphApplier.changeTracker.test.ts", - "src/workbench/extensions/agent/crdt/liveGraphApplier.malformedNode.test.ts", - "src/workbench/extensions/agent/crdt/liveGraphApplier.primitiveIntControl.test.ts", - "src/workbench/extensions/agent/crdt/liveGraphApplier.test.ts", - "src/workbench/extensions/agent/crdt/liveGraphApplier.waitingPlaceholder.test.ts", - "src/workbench/extensions/agent/crdt/loadImageLivePreview.test.ts", - "src/workbench/extensions/agent/crdt/mediaUiDiagnostics.ts", - "src/workbench/extensions/agent/crdt/mediaUiDiagnostics.test.ts", - "src/workbench/extensions/agent/crdt/restoreOpMinter.ts", - "src/workbench/extensions/agent/crdt/restoreOpMinter.test.ts", - "src/workbench/extensions/agent/crdt/useAgentCrdtFollower.ts", - "src/workbench/extensions/agent/crdt/useAgentCrdtFollower.humanAddTabSwitch.test.ts", - "src/workbench/extensions/agent/crdt/useAgentCrdtFollower.integration.test.ts", - "src/workbench/extensions/agent/crdt/useAgentCrdtFollower.rejectedHumanAdd.test.ts", - "src/workbench/extensions/agent/crdt/useAgentCrdtFollower.rejectedWidgetWrite.test.ts", - "src/workbench/extensions/agent/crdt/useAgentCrdtFollower.test.ts", - "src/workbench/extensions/agent/services/agent/workflowTabActivityTracker.ts", - "src/workbench/extensions/agent/services/agent/workflowTabActivityTracker.test.ts" - ] - }, - { - "name": "app-builder/domain", - "patterns": ["src/components/builder/types.ts"] - }, - { - "name": "app-builder/application", - "patterns": [ - "src/components/builder/builderViewOptions.ts", - "src/components/builder/builderViewOptions.test.ts", - "src/components/builder/useAppModeWidgetResizing.ts", - "src/components/builder/useAppModeWidgetResizing.test.ts", - "src/components/builder/useBuilderSave.ts", - "src/components/builder/useBuilderSave.test.ts", - "src/components/builder/useBuilderSteps.ts", - "src/components/builder/useEnterBuilder.ts", - "src/components/builder/useEnterBuilder.test.ts", - "src/components/builder/useLoaderDropIndicator.ts", - "src/components/builder/useLoaderDropIndicator.test.ts", - "src/components/builder/useResolvedSelectedInputs.ts", - "src/components/builder/useResolvedSelectedInputs.test.ts" - ] - }, - { - "name": "app-host/domain", - "patterns": ["src/config.ts", "src/locales/**", "src/vite-env.d.ts"] - }, - { - "name": "app-host/application", - "patterns": [ + "src/components/builder/**", + "src/App.vue", + "src/App.test.ts", "src/__mocks__/**", - "src/i18n.ts", - "src/i18n.catalog.test.ts", - "src/i18n.literalMessages.test.ts", - "src/i18n.safeTranslation.test.ts", - "src/i18n.test.ts", - "src/stores/bootstrapStore.ts", - "src/stores/bootstrapStore.test.ts" - ] - }, - { - "name": "app-host/infrastructure", - "patterns": [ - "src/composables/useExternalLink.ts", - "src/composables/useExternalLink.test.ts", - "src/config/comfyApi.ts", - "src/config/comfyApi.test.ts", - "src/config/viteSeo.test.ts", - "src/platform/distribution/types.ts", - "src/utils/electronMirrorCheck.ts", - "src/utils/envUtil.ts" - ] - }, - { - "name": "app-host/presentation", - "patterns": ["src/App.vue", "src/App.test.ts"] - }, - { - "name": "app-host/integration", - "patterns": [ "src/bootstrap.ts", "src/components/graph/GraphCanvas.vue", "src/components/graph/GraphCanvas.test.ts", + "src/composables/useExternalLink.ts", + "src/composables/useExternalLink.test.ts", "src/composables/useUrlActionLoaders.ts", "src/composables/useUrlActionLoaders.test.ts", + "src/config.ts", + "src/config/comfyApi.ts", + "src/config/comfyApi.test.ts", + "src/config/viteSeo.test.ts", "src/extensions/core/electronAdapter.ts", "src/extensions/core/electronAdapter.test.ts", + "src/i18n.ts", + "src/i18n.catalog.test.ts", + "src/i18n.literalMessages.test.ts", + "src/i18n.safeTranslation.test.ts", + "src/i18n.test.ts", + "src/locales/**", "src/main.ts", + "src/platform/distribution/types.ts", "src/router.ts", "src/router.cloudAuthGuard.test.ts", - "src/router.test.ts" - ] - }, - { - "name": "assets/domain", - "patterns": [ - "src/utils/loaderNodeUtil.ts", - "src/utils/loaderNodeUtil.test.ts" - ] - }, - { - "name": "assets/application", - "patterns": [ - "src/platform/assets/utils/clearDeletedAssetWidgetValues.ts", - "src/platform/assets/utils/clearDeletedAssetWidgetValues.test.ts", - "src/platform/assets/utils/clearNodePreviewCacheForValues.ts", - "src/platform/assets/utils/clearNodePreviewCacheForValues.test.ts", - "src/platform/assets/utils/markDeletedAssetsAsMissingMedia.ts", - "src/platform/assets/utils/markDeletedAssetsAsMissingMedia.test.ts", - "src/platform/assets/utils/resolveModelNodeFromAsset.ts", - "src/platform/assets/utils/resolveModelNodeFromAsset.test.ts", - "src/platform/assets/utils/resolveWidgetValueAsset.ts", - "src/platform/assets/utils/resolveWidgetValueAsset.test.ts", + "src/router.test.ts", + "src/stores/bootstrapStore.ts", + "src/stores/bootstrapStore.test.ts", + "src/utils/electronMirrorCheck.ts", + "src/utils/envUtil.ts", + "src/vite-env.d.ts", + "src/components/toast/**", + "src/composables/useProgressBarBackground.ts", + "src/lib/litegraph/src/widgets/AssetWidget.ts", + "src/platform/assets/**", "src/stores/assetDownloadStore.ts", "src/stores/assetDownloadStore.test.ts", "src/stores/assetExportStore.ts", @@ -437,145 +398,97 @@ "src/stores/assetsStore.ts", "src/stores/assetsStore.test.ts", "src/stores/workspace/assetsSidebarBadgeStore.ts", - "src/stores/workspace/assetsSidebarBadgeStore.test.ts" - ] - }, - { - "name": "assets/infrastructure", - "patterns": [ - "src/platform/assets/composables/media/**", - "src/platform/assets/composables/useAssetsQuery.ts", - "src/platform/assets/composables/useAssetsQuery.test.ts", - "src/platform/assets/composables/useModelTypes.ts", - "src/platform/assets/services/**", - "src/platform/assets/utils/__mocks__/outputAssetUtil.ts", - "src/platform/assets/utils/assetDragUtil.ts", - "src/platform/assets/utils/assetDragUtil.test.ts", - "src/platform/assets/utils/assetPreviewUtil.ts", - "src/platform/assets/utils/assetPreviewUtil.test.ts", - "src/platform/assets/utils/assetUrlUtil.ts", - "src/platform/assets/utils/assetUrlUtil.test.ts", - "src/platform/assets/utils/outputAssetUtil.ts", - "src/platform/assets/utils/outputAssetUtil.test.ts", - "src/platform/assets/utils/outputExportUtil.ts", - "src/platform/assets/utils/outputExportUtil.test.ts", + "src/stores/workspace/assetsSidebarBadgeStore.test.ts", "src/utils/__tests__/eventUtils.test.ts", "src/utils/eventUtils.ts", "src/utils/eventUtils.test.ts", + "src/utils/loaderNodeUtil.ts", + "src/utils/loaderNodeUtil.test.ts", "src/utils/requestUtil.ts", - "src/utils/requestUtil.test.ts" - ] - }, - { - "name": "assets/presentation", - "patterns": [ - "src/components/toast/**", - "src/composables/useProgressBarBackground.ts", - "src/platform/assets/components/**", - "src/platform/assets/utils/mediaIconUtil.ts", - "src/platform/assets/utils/mediaIconUtil.test.ts" - ] - }, - { - "name": "assets/integration", - "patterns": [ - "src/lib/litegraph/src/widgets/AssetWidget.ts", - "src/platform/assets/utils/createAssetWidget.ts", - "src/platform/assets/utils/createAssetWidget.test.ts" - ] - }, - { - "name": "async-control/application", - "patterns": [ + "src/utils/requestUtil.test.ts", "src/base/common/async.ts", "src/utils/createCancelToken.ts", "src/utils/pagedList.ts", "src/utils/pagedList.test.ts", "src/utils/rafBatch.ts", - "src/utils/rafBatch.test.ts" - ] - }, - { - "name": "audio/application", - "patterns": [ - "src/composables/useWaveAudioPlayer.ts", - "src/composables/useWaveAudioPlayer.test.ts", - "src/renderer/extensions/vueNodes/widgets/composables/audio/**" - ] - }, - { - "name": "audio/infrastructure", - "patterns": [ - "src/renderer/extensions/vueNodes/widgets/utils/audioUtils.ts", - "src/services/audioService.ts", - "src/services/audioService.test.ts" - ] - }, - { - "name": "audio/presentation", - "patterns": [ + "src/utils/rafBatch.test.ts", "src/components/common/WaveAudioPlayer.stories.ts", "src/components/common/WaveAudioPlayer.vue", "src/components/common/WaveAudioPlayer.test.ts", + "src/composables/useWaveAudioPlayer.ts", + "src/composables/useWaveAudioPlayer.test.ts", + "src/extensions/core/uploadAudio.ts", + "src/extensions/core/uploadAudio.test.ts", "src/renderer/extensions/vueNodes/widgets/components/WidgetRecordAudio.vue", "src/renderer/extensions/vueNodes/widgets/components/WidgetRecordAudio.test.ts", - "src/renderer/extensions/vueNodes/widgets/components/audio/**" - ] - }, - { - "name": "audio/integration", - "patterns": [ - "src/extensions/core/uploadAudio.ts", - "src/extensions/core/uploadAudio.test.ts" - ] - }, - { - "name": "authentication/domain", - "patterns": [ - "src/platform/auth/authRejection.ts", - "src/platform/auth/authRejection.test.ts", - "src/platform/auth/localWeb/accessTokenIdentity.ts", - "src/platform/auth/sso/ssoRequiredDialogKey.ts", - "src/platform/auth/sso/ssoReturnPath.ts", - "src/platform/auth/sso/ssoReturnPath.test.ts", - "src/platform/workspace/stores/workspaceAuthError.ts", - "src/schemas/signInSchema.ts", - "src/schemas/signInSchema.test.ts", - "src/utils/hostWhitelist.ts", - "src/utils/hostWhitelist.test.ts", - "packages/account-core/src/signInSchemas.ts", - "packages/account-core/src/signInSchemas.test.ts", - "packages/api-client/src/apiAuthProvider.ts", - "packages/api-client/src/authCredential.ts", - "packages/api-client/src/authCredential.test.ts", - "packages/api-client/src/sessionMediaUrl.ts", - "packages/api-client/src/sessionMediaUrl.test.ts", - "packages/api-client/src/authTypes.ts" - ] - }, - { - "name": "authentication/application", - "patterns": [ + "src/renderer/extensions/vueNodes/widgets/components/audio/**", + "src/renderer/extensions/vueNodes/widgets/composables/audio/**", + "src/renderer/extensions/vueNodes/widgets/utils/audioUtils.ts", + "src/services/audioService.ts", + "src/services/audioService.test.ts", + "src/components/actionbar/PartnerNodesRunCaption.vue", + "src/components/dialog/content/ApiNodesSignInContent.vue", + "src/components/dialog/content/ApiNodesSignInContent.test.ts", + "src/components/dialog/content/SignInContent.vue", + "src/components/dialog/content/SignInContent.test.ts", + "src/components/dialog/content/UpdatePasswordContent.vue", + "src/components/dialog/content/setting/CurrentUserMessage.vue", + "src/components/dialog/content/setting/UserPanel.vue", + "src/components/dialog/content/setting/UserPanel.test.ts", + "src/components/dialog/content/signin/**", + "src/components/dialog/header/**", + "src/components/sidebar/SidebarLogoutIcon.vue", + "src/components/topbar/CurrentUserButton.vue", + "src/components/topbar/CurrentUserButton.test.ts", + "src/components/topbar/CurrentUserPopoverLegacy.vue", + "src/components/topbar/CurrentUserPopoverLegacy.test.ts", + "src/components/topbar/LoginButton.vue", "src/composables/auth/**", "src/platform/billing/composables/usePartnerNodesRunGate.ts", "src/platform/billing/composables/usePartnerNodesRunGate.cloud.test.ts", "src/platform/billing/composables/usePartnerNodesRunGate.test.ts", "src/composables/node/usePartnerNodesInGraph.ts", "src/composables/node/usePartnerNodesInGraph.test.ts", - "src/platform/auth/partnerNode/partnerNodeQueueToken.ts", - "src/platform/auth/partnerNode/partnerNodeQueueToken.test.ts", + "src/platform/auth/authRejection.ts", + "src/platform/auth/authRejection.test.ts", + "src/platform/auth/desktopHost/**", + "src/platform/auth/firebaseIdentity.ts", + "src/platform/auth/firebaseIdentity.test.ts", + "src/platform/auth/firebaseIdentityPopupWatch.test.ts", + "src/platform/auth/localWeb/**", + "src/platform/auth/nonWebClientsStayOnTokens.test.ts", + "src/platform/auth/partnerNode/**", + "src/platform/auth/session/components/**", + "src/platform/auth/session/interactiveSignInMarker.ts", + "src/platform/auth/session/ssoReentryStorage.ts", "src/platform/auth/session/useSessionCookie.ts", "src/platform/auth/session/useSessionCookie.test.ts", "src/platform/auth/session/webSessionUser.ts", "src/platform/auth/social/**", + "src/platform/auth/sso/SsoAccountOutsideOrganizationDialogContent.vue", + "src/platform/auth/sso/SsoRequiredDialogContent.vue", + "src/platform/auth/sso/SsoRequiredDialogContent.test.ts", "src/platform/auth/sso/ssoRequired.ts", "src/platform/auth/sso/ssoRequired.test.ts", "src/platform/auth/sso/ssoRequiredChunkFailure.test.ts", + "src/platform/auth/sso/ssoRequiredDialogKey.ts", "src/platform/auth/sso/ssoRequiredInline.ts", "src/platform/auth/sso/ssoRequiredInline.test.ts", + "src/platform/auth/sso/ssoReturnPath.ts", + "src/platform/auth/sso/ssoReturnPath.test.ts", + "src/platform/auth/sso/ssoTelemetry.ts", "src/platform/auth/sso/useContinueWithSso.ts", + "src/platform/auth/unified/**", + "src/platform/auth/webSessionFlagOff.test.ts", + "src/platform/auth/webSessionFlagOn.test.ts", + "src/platform/workspace/stores/legacyWorkspaceTokenRail.ts", + "src/platform/workspace/stores/legacyWorkspaceTokenRail.lifecycle.test.ts", + "src/platform/workspace/stores/legacyWorkspaceTokenRail.test.ts", "src/platform/workspace/stores/useWorkspaceAuth.test.ts", + "src/platform/workspace/stores/workspaceAuthError.ts", "src/platform/workspace/stores/workspaceAuthStore.ts", + "src/schemas/signInSchema.ts", + "src/schemas/signInSchema.test.ts", "src/stores/__tests__/**", "src/stores/apiKeyAuthStore.ts", "src/stores/apiKeyAuthStore.integration.test.ts", @@ -584,94 +497,28 @@ "src/stores/userStore.ts", "src/stores/userStore.test.ts", "src/storybook/mocks/useCurrentUser.ts", - "packages/account-ui/src/auth/turnstileGate.ts", - "packages/account-ui/src/auth/turnstileGate.test.ts" - ] - }, - { - "name": "authentication/infrastructure", - "patterns": [ - "src/platform/auth/desktopHost/**", - "src/platform/auth/firebaseIdentity.ts", - "src/platform/auth/firebaseIdentity.test.ts", - "src/platform/auth/firebaseIdentityPopupWatch.test.ts", - "src/platform/auth/session/interactiveSignInMarker.ts", - "src/platform/auth/session/ssoReentryStorage.ts", - "src/platform/auth/sso/ssoTelemetry.ts", - "src/platform/auth/unified/**", - "src/platform/workspace/stores/legacyWorkspaceTokenRail.ts", - "src/platform/workspace/stores/legacyWorkspaceTokenRail.lifecycle.test.ts", - "src/platform/workspace/stores/legacyWorkspaceTokenRail.test.ts", "src/types/axios-augmentation.d.ts", - "packages/api-client/src/webSessionFetch.ts", - "packages/api-client/src/webSessionFetch.test.ts" - ] - }, - { - "name": "authentication/presentation", - "patterns": [ - "src/components/actionbar/PartnerNodesRunCaption.vue", - "src/components/dialog/content/ApiNodesSignInContent.vue", - "src/components/dialog/content/ApiNodesSignInContent.test.ts", - "src/components/dialog/content/SignInContent.vue", - "src/components/dialog/content/SignInContent.test.ts", - "src/components/dialog/content/UpdatePasswordContent.vue", - "src/components/dialog/content/setting/CurrentUserMessage.vue", - "src/components/dialog/content/setting/UserPanel.vue", - "src/components/dialog/content/setting/UserPanel.test.ts", - "src/components/dialog/content/signin/**", - "src/components/dialog/header/**", - "src/components/sidebar/SidebarLogoutIcon.vue", - "src/components/topbar/CurrentUserButton.vue", - "src/components/topbar/CurrentUserButton.test.ts", - "src/components/topbar/CurrentUserPopoverLegacy.vue", - "src/components/topbar/CurrentUserPopoverLegacy.test.ts", - "src/components/topbar/LoginButton.vue", - "src/platform/auth/session/components/**", - "src/platform/auth/sso/SsoAccountOutsideOrganizationDialogContent.vue", - "src/platform/auth/sso/SsoRequiredDialogContent.vue", - "src/platform/auth/sso/SsoRequiredDialogContent.test.ts", + "src/utils/__tests__/stubAccountIdentityPort.ts", + "src/utils/hostWhitelist.ts", + "src/utils/hostWhitelist.test.ts", "src/views/UserSelectView.vue", - "src/views/UserSelectView.test.ts" - ] - }, - { - "name": "authentication/integration", - "patterns": [ - "src/platform/auth/nonWebClientsStayOnTokens.test.ts", - "src/platform/auth/webSessionFlagOff.test.ts", - "src/platform/auth/webSessionFlagOn.test.ts", - "src/utils/__tests__/stubAccountIdentityPort.ts" - ] - }, - { - "name": "billing/domain", - "patterns": [ - "src/platform/billing/composables/billingRail.ts", - "src/platform/billing/composables/billingRail.test.ts", - "src/platform/billing/composables/types.ts", - "src/platform/billing/customerActionParity.test.ts", - "src/platform/billing/customerAttention.ts", - "src/platform/billing/customerAttention.test.ts", - "src/platform/billing/components/subscriptionPanelWorkspace.logic.ts", - "src/platform/billing/subscription/constants/**", - "src/platform/billing/utils/checkoutJourney.ts", - "src/platform/billing/utils/checkoutJourney.test.ts", - "packages/account-core/src/core/billing/**", - "packages/account-ui/src/billing/catalog.ts", - "packages/account-ui/src/billing/catalog.test.ts", - "packages/billing-contract/src/**", - "packages/billing-core/src/**", - "packages/shared-frontend-utils/src/creditsUtil.ts", - "packages/shared-frontend-utils/src/creditsUtil.test.ts" - ] - }, - { - "name": "billing/application", - "patterns": [ + "src/views/UserSelectView.test.ts", + "packages/account-ui/src/auth/**", + "packages/api-client/src/apiAuthProvider.ts", + "packages/api-client/src/authCredential.ts", + "packages/api-client/src/authCredential.test.ts", + "packages/api-client/src/sessionMediaUrl.ts", + "packages/api-client/src/sessionMediaUrl.test.ts", + "packages/api-client/src/webSessionFetch.ts", + "packages/api-client/src/webSessionFetch.test.ts", + "packages/api-client/src/authTypes.ts", + "src/platform/billing/components/TopbarSubscribeButton.vue", + "src/platform/billing/components/TopbarSubscribeButton.test.ts", + "src/platform/billing/components/credit-slider/**", "src/platform/billing/composables/__mocks__/**", "src/platform/billing/composables/topupBalanceRefresh.ts", "src/platform/billing/composables/topupBalanceRefresh.test.ts", + "src/platform/billing/composables/types.ts", "src/platform/billing/composables/useBillingContext.ts", "src/platform/billing/composables/useBillingContext.test.ts", "src/platform/billing/composables/useBillingDialogs.ts", @@ -682,21 +529,54 @@ "src/platform/billing/composables/useBillingDialogs.topUpCredits.test.ts", "src/platform/billing/composables/useBillingRouting.ts", "src/platform/billing/composables/useBillingRouting.test.ts", - "src/platform/billing/composables/useLegacyBilling.ts", - "src/platform/billing/composables/useLegacyBilling.test.ts", "src/platform/billing/composables/useNextInvoice.ts", "src/platform/billing/composables/useNextInvoice.test.ts", "src/platform/billing/composables/usePendingTopup.ts", "src/platform/billing/composables/usePendingTopup.test.ts", + "src/platform/billing/billingWeb.ts", + "src/platform/billing/billingWeb.test.ts", + "src/platform/billing/api/capabilityRevision.test.ts", + "src/platform/billing/customerActionParity.test.ts", + "src/platform/billing/customerAttention.ts", + "src/platform/billing/customerAttention.test.ts", + "src/platform/billing/hostedBillingRoutes.ts", + "src/platform/billing/hostedBillingRoutes.test.ts", "src/platform/billing/openHostedBillingTab.ts", "src/platform/billing/openHostedBillingTab.handoff.test.ts", "src/platform/billing/openHostedBillingTab.test.ts", "src/platform/billing/refreshOnReturn.ts", "src/platform/billing/refreshOnReturn.test.ts", - "src/platform/billing/sdk/billingSdkStore.ts", - "src/platform/billing/sdk/billingSdkStore.retry.test.ts", - "src/platform/billing/sdk/billingSdkStore.test.ts", - "src/platform/billing/sdk/billingSdkTelemetryOwnership.test.ts", + "src/platform/billing/sdk/**", + "src/platform/billing/subscribeInput.ts", + "src/platform/billing/components/InsufficientCreditsMemberDialog.vue", + "src/platform/billing/components/PricingTableWorkspace.vue", + "src/platform/billing/components/PricingTableWorkspace.test.ts", + "src/platform/billing/components/SubscriptionAddPaymentPreviewWorkspace.vue", + "src/platform/billing/components/SubscriptionAddPaymentPreviewWorkspace.test.ts", + "src/platform/billing/components/SubscriptionCheckoutSteps.stories.ts", + "src/platform/billing/components/SubscriptionInactiveMemberDialog.vue", + "src/platform/billing/components/SubscriptionInactiveMemberDialog.test.ts", + "src/platform/billing/components/SubscriptionPausedDialog.vue", + "src/platform/billing/components/SubscriptionPausedDialog.test.ts", + "src/platform/billing/components/SubscriptionRequiredDialogContentUnified.vue", + "src/platform/billing/components/SubscriptionRequiredDialogContentUnified.test.ts", + "src/platform/billing/components/SubscriptionRequiredDialogContentWorkspace.vue", + "src/platform/billing/components/SubscriptionRequiredDialogContentWorkspace.test.ts", + "src/platform/billing/components/SubscriptionSuccessWorkspace.vue", + "src/platform/billing/components/SubscriptionSuccessWorkspace.test.ts", + "src/platform/billing/components/SubscriptionTransitionPreviewWorkspace.stories.ts", + "src/platform/billing/components/SubscriptionTransitionPreviewWorkspace.vue", + "src/platform/billing/components/SubscriptionTransitionPreviewWorkspace.test.ts", + "src/platform/billing/components/SubscriptionTransitionPreviewWorkspaceReactivation.test.ts", + "src/platform/billing/components/TopUpCreditsDialogContentWorkspace.vue", + "src/platform/billing/components/TopUpCreditsDialogContentWorkspace.test.ts", + "src/platform/billing/components/UnifiedPricingTable.stories.ts", + "src/platform/billing/components/UnifiedPricingTable.vue", + "src/platform/billing/components/UnifiedPricingTable.test.ts", + "src/platform/billing/components/billingTab/**", + "src/platform/billing/components/dialogs/**", + "src/platform/billing/components/settings/**", + "src/platform/billing/components/subscriptionPanelWorkspace.logic.ts", "src/platform/billing/composables/activateBillingScope.testUtils.ts", "src/platform/billing/composables/deriveAutoTopUpBanner.ts", "src/platform/billing/composables/deriveAutoTopUpBanner.test.ts", @@ -709,12 +589,14 @@ "src/platform/billing/composables/deriveBillingBanner.test.ts", "src/platform/billing/composables/readOnRail.ts", "src/platform/billing/composables/readOnRail.test.ts", + "src/platform/billing/composables/readWorkspaceBillingEvents.ts", "src/platform/billing/composables/useBillingBanner.ts", "src/platform/billing/composables/useBillingBanner.test.ts", "src/platform/billing/composables/useBillingCapabilities.ts", "src/platform/billing/composables/useBillingCapabilities.crossUser.test.ts", "src/platform/billing/composables/useBillingCapabilities.test.ts", "src/platform/billing/composables/useBillingReadRail.ts", + "src/platform/billing/composables/useCheckoutCopy.ts", "src/platform/billing/composables/useDowngradeToPersonal.ts", "src/platform/billing/composables/useDowngradeToPersonal.test.ts", "src/platform/billing/composables/usePlanEnded.ts", @@ -734,226 +616,58 @@ "src/platform/billing/composables/useWorkspaceBilling.subscriptionRail.test.ts", "src/platform/billing/composables/useWorkspaceBilling.test.ts", "src/platform/billing/composables/useWorkspacePlanPricing.ts", + "src/platform/billing/composables/useWorkspaceTierLabel.ts", + "src/platform/billing/composables/useWorkspaceTierLabel.test.ts", "src/platform/billing/stores/billingOperationStore.ts", "src/platform/billing/stores/billingOperationStore.test.ts", - "src/platform/billing/subscription/utils/subscriptionCheckoutUtil.ts", - "src/platform/billing/subscription/utils/subscriptionCheckoutUtil.test.ts" - ] - }, - { - "name": "billing/infrastructure", - "patterns": [ - "src/platform/billing/billingWeb.ts", - "src/platform/billing/billingWeb.test.ts", - "src/platform/billing/api/capabilityRevision.test.ts", - "src/platform/billing/hostedBillingRoutes.ts", - "src/platform/billing/hostedBillingRoutes.test.ts", - "src/platform/billing/subscribeInput.ts", - "src/platform/billing/subscription/utils/checkoutAttributionLoader.ts", - "src/platform/billing/subscription/utils/paymentReturnUrl.ts", - "src/platform/billing/subscription/utils/paymentReturnUrl.test.ts", - "src/platform/billing/subscription/utils/subscriptionCheckoutTracker.ts", - "src/platform/billing/subscription/utils/subscriptionCheckoutTracker.test.ts", + "src/platform/billing/subscription/**", + "src/platform/billing/utils/**", "src/services/customerEventsService.ts", - "src/services/customerEventsService.test.ts" - ] - }, - { - "name": "billing/presentation", - "patterns": [ - "src/platform/billing/components/TopUpCreditsDialogContentLegacy.vue", - "src/platform/billing/components/TopUpCreditsDialogContentLegacy.test.ts", - "src/platform/billing/components/TopbarSubscribeButton.vue", - "src/platform/billing/components/TopbarSubscribeButton.test.ts", - "src/platform/billing/components/credit-slider/**", - "src/platform/billing/components/InsufficientCreditsMemberDialog.vue", - "src/platform/billing/components/PricingTableWorkspace.vue", - "src/platform/billing/components/PricingTableWorkspace.test.ts", - "src/platform/billing/components/SubscriptionAddPaymentPreviewWorkspace.vue", - "src/platform/billing/components/SubscriptionAddPaymentPreviewWorkspace.test.ts", - "src/platform/billing/components/SubscriptionCheckoutSteps.stories.ts", - "src/platform/billing/components/SubscriptionInactiveMemberDialog.vue", - "src/platform/billing/components/SubscriptionInactiveMemberDialog.test.ts", - "src/platform/billing/components/SubscriptionPausedDialog.vue", - "src/platform/billing/components/SubscriptionPausedDialog.test.ts", - "src/platform/billing/components/SubscriptionRequiredDialogContentUnified.vue", - "src/platform/billing/components/SubscriptionRequiredDialogContentUnified.test.ts", - "src/platform/billing/components/SubscriptionRequiredDialogContentWorkspace.vue", - "src/platform/billing/components/SubscriptionRequiredDialogContentWorkspace.test.ts", - "src/platform/billing/components/SubscriptionSuccessWorkspace.vue", - "src/platform/billing/components/SubscriptionSuccessWorkspace.test.ts", - "src/platform/billing/components/SubscriptionTransitionPreviewWorkspace.stories.ts", - "src/platform/billing/components/SubscriptionTransitionPreviewWorkspace.vue", - "src/platform/billing/components/SubscriptionTransitionPreviewWorkspace.test.ts", - "src/platform/billing/components/SubscriptionTransitionPreviewWorkspaceReactivation.test.ts", - "src/platform/billing/components/TopUpCreditsDialogContentWorkspace.vue", - "src/platform/billing/components/TopUpCreditsDialogContentWorkspace.test.ts", - "src/platform/billing/components/UnifiedPricingTable.stories.ts", - "src/platform/billing/components/UnifiedPricingTable.vue", - "src/platform/billing/components/UnifiedPricingTable.test.ts", - "src/platform/billing/components/billingTab/**", - "src/platform/billing/components/dialogs/DowngradeRemoveMembersDialogContent.vue", - "src/platform/billing/components/dialogs/DowngradeRemoveMembersDialogContent.test.ts", - "src/platform/billing/components/dialogs/InviteMemberUpsellDialogContent.vue", - "src/platform/billing/components/settings/CreditsPanel.vue", - "src/platform/billing/components/settings/CreditsPanel.test.ts", - "src/platform/billing/components/settings/UsageLogsTable.vue", - "src/platform/billing/components/settings/UsageLogsTable.test.ts", - "src/platform/billing/components/settings/BillingStatusBanner.stories.ts", - "src/platform/billing/components/settings/BillingStatusBanner.vue", - "src/platform/billing/components/settings/BillingStatusBanner.test.ts", - "src/platform/billing/components/settings/MemberUpsellBanner.stories.ts", - "src/platform/billing/components/settings/MemberUpsellBanner.vue", - "src/platform/billing/components/settings/MemberUpsellBanner.test.ts", - "src/platform/billing/components/settings/WorkspaceInvoicesContent.vue", - "src/platform/billing/components/settings/WorkspaceInvoicesContent.test.ts", - "src/platform/billing/composables/useCheckoutCopy.ts", - "src/platform/billing/composables/useWorkspaceTierLabel.ts", - "src/platform/billing/composables/useWorkspaceTierLabel.test.ts", - "src/platform/billing/subscription/components/**" - ] - }, - { - "name": "billing/integration", - "patterns": ["src/utils/__tests__/mockBillingContext.ts"] - }, - { - "name": "bottom-panel/infrastructure", - "patterns": [ - "src/composables/bottomPanelTabs/useLogsTerminal.ts", - "src/composables/bottomPanelTabs/useTerminal.ts" - ] - }, - { - "name": "bottom-panel/presentation", - "patterns": [ + "src/services/customerEventsService.test.ts", + "src/utils/__tests__/mockBillingContext.ts", + "packages/account-core/src/core/billing/**", + "packages/account-ui/src/billing/**", + "packages/billing-contract/src/**", + "packages/billing-core/src/**", + "packages/shared-frontend-utils/src/creditsUtil.ts", + "packages/shared-frontend-utils/src/creditsUtil.test.ts", "src/components/bottomPanel/**", "src/components/sidebar/SidebarBottomPanelToggleButton.vue", - "src/components/sidebar/SidebarShortcutsToggleButton.vue" - ] - }, - { - "name": "bounding-boxes/domain", - "patterns": [ - "src/composables/boundingBoxes/boundingBoxesUtil.ts", - "src/composables/boundingBoxes/boundingBoxesUtil.test.ts" - ] - }, - { - "name": "bounding-boxes/application", - "patterns": [ - "src/renderer/extensions/vueNodes/widgets/composables/useBoundingBoxesSources.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useBoundingBoxesSources.test.ts" - ] - }, - { - "name": "bounding-boxes/presentation", - "patterns": ["src/components/boundingBoxes/**"] - }, - { - "name": "bounding-boxes/integration", - "patterns": [ + "src/components/sidebar/SidebarShortcutsToggleButton.vue", + "src/composables/bottomPanelTabs/**", + "src/components/boundingBoxes/**", + "src/composables/boundingBoxes/**", "src/extensions/core/createBoundingBoxes.ts", "src/extensions/core/createBoundingBoxes.test.ts", "src/lib/litegraph/src/widgets/BoundingBoxesWidget.ts", "src/lib/litegraph/src/widgets/BoundingBoxesWidget.test.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useBoundingBoxesSources.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useBoundingBoxesSources.test.ts", "src/renderer/extensions/vueNodes/widgets/composables/useBoundingBoxesWidget.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useBoundingBoxesWidget.test.ts" - ] - }, - { - "name": "browser-export/infrastructure", - "patterns": [ + "src/renderer/extensions/vueNodes/widgets/composables/useBoundingBoxesWidget.test.ts", "src/composables/useCopyToClipboard.ts", - "src/composables/useCopyToClipboard.test.ts" - ] - }, - { - "name": "browser-interaction/application", - "patterns": [ + "src/composables/useCopyToClipboard.test.ts", "src/composables/useClickDragGuard.ts", "src/composables/useClickDragGuard.test.ts", "src/composables/useDismissableOverlay.ts", - "src/composables/useDismissableOverlay.test.ts" - ] - }, - { - "name": "browser-interaction/infrastructure", - "patterns": [ + "src/composables/useDismissableOverlay.test.ts", "src/composables/usePragmaticDragAndDrop.ts", - "src/composables/usePragmaticDragAndDrop.test.ts" - ] - }, - { - "name": "camera-authoring/application", - "patterns": [ + "src/composables/usePragmaticDragAndDrop.test.ts", + "src/extensions/core/load3d/components/cameraAngle/**", + "src/extensions/core/load3d/components/cameraInfo/**", "src/extensions/core/load3d/composables/useCameraAngle.ts", "src/extensions/core/load3d/composables/useCameraAngle.test.ts", "src/extensions/core/load3d/composables/useCameraInfo.ts", "src/extensions/core/load3d/composables/useCameraInfo.test.ts", + "src/extensions/core/load3d/cameraAngle.ts", + "src/extensions/core/load3d/cameraAngle.test.ts", "src/extensions/core/load3d/cameraAngle/**", + "src/extensions/core/load3d/cameraInfo.ts", + "src/extensions/core/load3d/cameraInfo.test.ts", "src/extensions/core/load3d/cameraInfo/widgetBridge.ts", "src/extensions/core/load3d/cameraInfo/widgetBridge.test.ts", "packages/viewport3d/src/cameraAngle/**", - "packages/viewport3d/src/cameraInfo/**" - ] - }, - { - "name": "camera-authoring/presentation", - "patterns": [ - "src/extensions/core/load3d/components/cameraAngle/**", - "src/extensions/core/load3d/components/cameraInfo/**" - ] - }, - { - "name": "camera-authoring/integration", - "patterns": [ - "src/extensions/core/load3d/cameraAngle.ts", - "src/extensions/core/load3d/cameraAngle.test.ts", - "src/extensions/core/load3d/cameraInfo.ts", - "src/extensions/core/load3d/cameraInfo.test.ts" - ] - }, - { - "name": "canvas-renderer/domain", - "patterns": [ - "src/renderer/core/canvas/__tests__/cameraState.test.ts", - "src/renderer/core/canvas/cameraState.ts" - ] - }, - { - "name": "canvas-renderer/application", - "patterns": [ - "src/composables/canvas/useFocusNode.ts", - "src/composables/canvas/useFocusNode.test.ts", - "src/composables/useZoomControls.ts", - "src/renderer/core/canvas/__mocks__/**", - "src/renderer/core/canvas/canvasRedrawBudget.test.ts", - "src/renderer/core/canvas/canvasStore.ts", - "src/renderer/core/canvas/canvasStore.nodePicking.test.ts", - "src/renderer/core/canvas/canvasStore.test.ts", - "src/renderer/core/canvas/links/slotLinkDragUIState.ts", - "src/renderer/core/canvas/useAutoPan.ts", - "src/renderer/core/canvas/useAutoPan.test.ts", - "src/renderer/core/canvas/useCanvasInteractions.ts", - "src/renderer/core/canvas/useCanvasInteractions.test.ts", - "src/renderer/core/canvas/useCanvasScheduler.ts" - ] - }, - { - "name": "canvas-renderer/infrastructure", - "patterns": [ - "src/composables/canvas/visibleCanvasViewport.ts", - "src/composables/canvas/visibleCanvasViewport.test.ts", - "src/renderer/core/canvas/__tests__/canvasViewport.test.ts", - "src/renderer/core/canvas/canvasViewport.ts", - "src/renderer/core/canvas/pathRenderer.ts", - "src/renderer/core/canvas/pathRenderer.test.ts" - ] - }, - { - "name": "canvas-renderer/presentation", - "patterns": [ + "packages/viewport3d/src/cameraInfo/**", "src/components/graph/CanvasModeSelector.vue", "src/components/graph/CanvasModeSelector.test.ts", "src/components/graph/GraphCanvasMenu.vue", @@ -966,161 +680,82 @@ "src/components/graph/SelectionRectangle.test.ts", "src/components/graph/TitleEditor.vue", "src/components/graph/TitleEditor.test.ts", - "src/components/graph/modals/**" - ] - }, - { - "name": "canvas-renderer/integration", - "patterns": [ + "src/components/graph/modals/**", "src/components/graph/nodeProgressCanvasSync.ts", "src/components/graph/nodeProgressCanvasSync.test.ts", - "src/renderer/core/canvas/interaction/canvasPointerEvent.ts", - "src/renderer/core/canvas/litegraph/**" - ] - }, - { - "name": "cloud/domain", - "patterns": [ - "src/platform/cloud/onboarding/survey/defaultSurveySchema.ts", - "src/platform/cloud/onboarding/survey/surveySchema.ts", - "src/platform/cloud/onboarding/survey/surveySchema.test.ts", - "src/platform/cloud/onboarding/utils/**", - "src/utils/textCaseUtil.ts", - "src/utils/textCaseUtil.test.ts" - ] - }, - { - "name": "cloud/application", - "patterns": [ - "src/platform/auth/session/cloudIdentityBoot.ts", - "src/platform/auth/session/cloudWebSessionStore.ts", - "src/platform/cloud/oauth/useOAuthPostLoginRedirect.ts", - "src/platform/cloud/oauth/useOAuthPostLoginRedirect.test.ts", - "src/platform/cloud/onboarding/sso/ssoReentry.ts", - "src/platform/cloud/onboarding/sso/ssoReentry.test.ts" - ] - }, - { - "name": "cloud/infrastructure", - "patterns": [ - "src/platform/auth/cloudApiAuthProvider.ts", - "src/platform/cloud/onboarding/auth.ts", - "src/platform/cloud/onboarding/auth.test.ts", - "packages/shared-frontend-utils/src/piiUtil.ts", - "packages/shared-frontend-utils/src/piiUtil.test.ts" - ] - }, - { - "name": "cloud/presentation", - "patterns": [ + "src/composables/canvas/useFocusNode.ts", + "src/composables/canvas/useFocusNode.test.ts", + "src/composables/canvas/visibleCanvasViewport.ts", + "src/composables/canvas/visibleCanvasViewport.test.ts", + "src/composables/useZoomControls.ts", + "src/renderer/core/canvas/__mocks__/**", + "src/renderer/core/canvas/__tests__/**", + "src/renderer/core/canvas/cameraState.ts", + "src/renderer/core/canvas/canvasRedrawBudget.test.ts", + "src/renderer/core/canvas/canvasStore.ts", + "src/renderer/core/canvas/canvasStore.nodePicking.test.ts", + "src/renderer/core/canvas/canvasStore.test.ts", + "src/renderer/core/canvas/canvasViewport.ts", + "src/renderer/core/canvas/interaction/**", + "src/renderer/core/canvas/links/**", + "src/renderer/core/canvas/litegraph/**", + "src/renderer/core/canvas/pathRenderer.ts", + "src/renderer/core/canvas/pathRenderer.test.ts", + "src/renderer/core/canvas/useAutoPan.ts", + "src/renderer/core/canvas/useAutoPan.test.ts", + "src/renderer/core/canvas/useCanvasInteractions.ts", + "src/renderer/core/canvas/useCanvasInteractions.test.ts", + "src/renderer/core/canvas/useCanvasScheduler.ts", "src/components/actionbar/ComfyRunButton/CloudRunButtonWrapper.vue", "src/components/actionbar/ComfyRunButton/CloudRunButtonWrapper.test.ts", - "src/components/topbar/CloudBadge.vue", - "src/platform/cloud/notification/components/**", - "src/platform/cloud/oauth/OAuthConsentView.stories.ts", - "src/platform/cloud/oauth/OAuthConsentView.vue", - "src/platform/cloud/oauth/OAuthConsentView.test.ts", - "src/platform/cloud/onboarding/composables/useDocumentDarkTheme.ts", - "src/platform/cloud/onboarding/composables/useDocumentDarkTheme.test.ts", - "src/platform/cloud/onboarding/composables/useProgressBarPainter.ts", - "src/platform/cloud/onboarding/composables/useVideoCarousel.ts", - "src/platform/cloud/onboarding/composables/useVideoCarousel.test.ts" - ] - }, - { - "name": "cloud/integration", - "patterns": [ "src/extensions/core/cloudBadges.ts", "src/extensions/core/cloudBadges.test.ts", "src/extensions/core/cloudFeedbackTopbarButton.ts", "src/extensions/core/cloudFeedbackTopbarButton.test.ts", "src/extensions/core/cloudRemoteConfig.ts", "src/extensions/core/cloudSessionCookie.ts", - "src/platform/cloud/onboarding/desktopLoginRedemption.ts", - "src/platform/cloud/onboarding/desktopLoginRedemption.test.ts", - "src/platform/cloud/onboarding/onboardingCloudRoutes.ts", - "src/platform/cloud/onboarding/onboardingCloudRoutes.test.ts", - "src/platform/telemetry/initTelemetry.ts" - ] - }, - { - "name": "color-palettes/domain", - "patterns": [ + "src/platform/auth/cloudApiAuthProvider.ts", + "src/platform/auth/session/cloudIdentityBoot.ts", + "src/platform/auth/session/cloudWebSessionStore.ts", + "src/platform/cloud/**", + "src/platform/telemetry/initTelemetry.ts", + "src/utils/textCaseUtil.ts", + "src/utils/textCaseUtil.test.ts", + "packages/shared-frontend-utils/src/piiUtil.ts", + "packages/shared-frontend-utils/src/piiUtil.test.ts", "src/constants/coreColorPalettes.ts", - "packages/settings-core/src/colorPaletteSchema.ts" - ] - }, - { - "name": "color-palettes/application", - "patterns": [ "src/services/colorPaletteService.ts", "src/services/colorPaletteService.test.ts", - "src/stores/workspace/colorPaletteStore.ts" - ] - }, - { - "name": "comfy-registry/domain", - "patterns": [ - "src/constants/searchConstants.ts", - "src/types/algoliasearch-lite.d.ts", - "src/types/algoliaTypes.ts", - "src/types/comfyRegistryTypes.ts", - "src/types/searchServiceTypes.ts", - "packages/registry-types/src/**" - ] - }, - { - "name": "comfy-registry/application", - "patterns": [ - "src/services/gateway/**", - "src/stores/comfyRegistryStore.ts", - "src/stores/comfyRegistryStore.test.ts" - ] - }, - { - "name": "comfy-registry/infrastructure", - "patterns": [ + "src/stores/workspace/colorPaletteStore.ts", + "packages/settings-core/src/colorPaletteSchema.ts", "src/composables/useCachedRequest.ts", "src/composables/useCachedRequest.test.ts", + "src/constants/searchConstants.ts", "src/services/comfyRegistryService.ts", "src/services/comfyRegistryService.test.ts", + "src/services/gateway/**", "src/services/providers/algoliaSearchProvider.ts", "src/services/providers/algoliaSearchProvider.integration.test.ts", "src/services/providers/algoliaSearchProvider.test.ts", "src/services/providers/registrySearchProvider.ts", - "src/services/providers/registrySearchProvider.test.ts" - ] - }, - { - "name": "comfyui-api/domain", - "patterns": [ + "src/services/providers/registrySearchProvider.test.ts", + "src/stores/comfyRegistryStore.ts", + "src/stores/comfyRegistryStore.test.ts", + "src/types/algoliasearch-lite.d.ts", + "src/types/algoliaTypes.ts", + "src/types/comfyRegistryTypes.ts", + "src/types/searchServiceTypes.ts", + "packages/registry-types/src/**", "src/utils/createAnnotatedPath.ts", "src/utils/createAnnotatedPath.test.ts", "packages/api-client/src/executionTypes.ts", "packages/api-client/src/executionTypes.test.ts", "packages/api-client/src/resultItemTypeSchema.ts", - "packages/api-client/src/types.ts" - ] - }, - { - "name": "design-system/domain", - "patterns": [ - "src/types/toastId.ts", - "src/types/toastOptions.ts", - "src/utils/histogramUtil.ts", - "src/utils/histogramUtil.test.ts", - "src/utils/treeUtil.ts", - "src/utils/treeUtil.test.ts", - "src/utils/validationUtil.ts", - "packages/shared-frontend-utils/src/colorUtil.ts", - "packages/shared-frontend-utils/src/colorUtil.test.ts" - ] - }, - { - "name": "design-system/application", - "patterns": [ + "packages/api-client/src/types.ts", + "src/components/loader/**", "src/components/ui/toast/toastStore.ts", "src/components/ui/toast/toastStore.test.ts", + "src/composables/element/useOverflowObserver.ts", "src/composables/palette/**", "src/composables/tree/**", "src/composables/useCurveEditor.ts", @@ -1129,106 +764,45 @@ "src/composables/useIntersectionObserver.ts", "src/composables/useRangeEditor.ts", "src/composables/useRangeEditor.test.ts", - "src/composables/useTreeExpansion.ts" - ] - }, - { - "name": "design-system/infrastructure", - "patterns": [ - "src/composables/element/useOverflowObserver.ts", + "src/composables/useTreeExpansion.ts", "src/services/mediaCacheService.ts", "src/services/mediaCacheService.test.ts", - "src/utils/zodTypedSchema.ts", - "src/utils/zodTypedSchema.test.ts" - ] - }, - { - "name": "design-system/presentation", - "patterns": [ - "src/components/curve/CurveEditor.vue", - "src/components/curve/CurveEditor.test.ts", - "src/components/loader/**", - "src/components/range/RangeEditor.vue", - "src/components/range/RangeEditor.test.ts", + "src/types/toastId.ts", + "src/types/toastOptions.ts", "src/utils/gridUtil.ts", - "packages/design-system/src/**" - ] - }, - { - "name": "dialog-host/domain", - "patterns": ["src/components/dialog/content/confirmationDialogTypes.ts"] - }, - { - "name": "dialog-host/application", - "patterns": [ + "src/utils/histogramUtil.ts", + "src/utils/histogramUtil.test.ts", + "src/utils/treeUtil.ts", + "src/utils/treeUtil.test.ts", + "src/utils/validationUtil.ts", + "src/utils/zodTypedSchema.ts", + "src/utils/zodTypedSchema.test.ts", + "packages/design-system/src/**", + "packages/shared-frontend-utils/src/colorUtil.ts", + "packages/shared-frontend-utils/src/colorUtil.test.ts", "src/services/__mocks__/dialogService.ts", "src/services/dialogService.ts", "src/services/dialogService.concurrency.test.ts", "src/services/dialogService.errorCatalog.test.ts", "src/services/dialogService.options.test.ts", "src/services/dialogServiceTypes.ts", + "src/services/extensionDialogService.ts", "src/stores/dialogStore.ts", - "src/stores/dialogStore.test.ts" - ] - }, - { - "name": "dialog-host/integration", - "patterns": ["src/services/extensionDialogService.ts"] - }, - { - "name": "error-catalog/domain", - "patterns": ["src/platform/workflowErrors/errorCatalog/**"] - }, - { - "name": "error-handling/domain", - "patterns": [ + "src/stores/dialogStore.test.ts", + "src/platform/workflowErrors/errorCatalog/**", + "src/composables/useErrorHandling.ts", + "src/composables/useErrorHandling.test.ts", "src/utils/errorUtil.ts", "src/utils/errorUtil.test.ts", - "packages/shared-frontend-utils/src/errorUtil.ts" - ] - }, - { - "name": "error-handling/application", - "patterns": [ - "src/composables/useErrorHandling.ts", - "src/composables/useErrorHandling.test.ts" - ] - }, - { - "name": "error-reporting/domain", - "patterns": [ + "packages/shared-frontend-utils/src/errorUtil.ts", "src/base/assert.ts", "src/base/assert.test.ts", - "src/platform/telemetry/datadogRumBeforeSend.ts", - "src/platform/telemetry/datadogRumBeforeSend.test.ts", - "src/platform/telemetry/redactTelemetryUrls.test.ts", - "src/platform/telemetry/sentryBeforeSend.ts", - "src/platform/telemetry/sentryBeforeSend.test.ts", - "src/platform/telemetry/thirdPartyErrorNoise.ts", - "src/platform/telemetry/thirdPartyErrorNoise.test.ts", - "src/platform/telemetry/vueDirectiveErrorDiagnostics.ts", - "src/platform/telemetry/vueDirectiveErrorDiagnostics.test.ts", - "src/utils/preloadErrorUtil.ts", - "src/utils/preloadErrorUtil.test.ts", - "packages/telemetry/src/redactTelemetryUrls.ts" - ] - }, - { - "name": "error-reporting/application", - "patterns": [ "src/platform/telemetry/assertFailureReporter.ts", "src/platform/telemetry/assertFailureReporter.test.ts", "src/platform/telemetry/assetLoadErrorReporting.ts", "src/platform/telemetry/assetLoadErrorReporting.test.ts", - "src/platform/telemetry/reportError.sentry.test.ts", - "packages/telemetry/src/__mocks__/reportError.ts", - "packages/telemetry/src/reportError.ts", - "packages/telemetry/src/reportError.test.ts" - ] - }, - { - "name": "error-reporting/infrastructure", - "patterns": [ + "src/platform/telemetry/datadogRumBeforeSend.ts", + "src/platform/telemetry/datadogRumBeforeSend.test.ts", "src/platform/telemetry/imageFailureDiagnostics.ts", "src/platform/telemetry/imageFailureDiagnostics.test.ts", "src/platform/telemetry/initErrorReporter.ts", @@ -1238,27 +812,29 @@ "src/platform/telemetry/initSentry.test.ts", "src/platform/telemetry/manualRefreshTracker.ts", "src/platform/telemetry/manualRefreshTracker.test.ts", - "packages/telemetry/src/rumContext.ts" - ] - }, - { - "name": "execution/domain", - "patterns": [ - "src/utils/errorSeverityClassification.ts", - "src/utils/errorSeverityClassification.test.ts", - "src/utils/executionErrorUtil.ts", - "src/utils/executionErrorUtil.test.ts", - "src/utils/missingResourceAbsorption.ts", - "src/utils/missingResourceAbsorption.test.ts", - "src/utils/nodeOutputUtil.ts", - "src/utils/nodeOutputUtil.test.ts" - ] - }, - { - "name": "execution/application", - "patterns": [ + "src/platform/telemetry/redactTelemetryUrls.test.ts", + "src/platform/telemetry/reportError.sentry.test.ts", + "src/platform/telemetry/sentryBeforeSend.ts", + "src/platform/telemetry/sentryBeforeSend.test.ts", + "src/platform/telemetry/thirdPartyErrorNoise.ts", + "src/platform/telemetry/thirdPartyErrorNoise.test.ts", + "src/platform/telemetry/vueDirectiveErrorDiagnostics.ts", + "src/platform/telemetry/vueDirectiveErrorDiagnostics.test.ts", + "src/utils/preloadErrorUtil.ts", + "src/utils/preloadErrorUtil.test.ts", + "packages/telemetry/src/__mocks__/reportError.ts", + "packages/telemetry/src/redactTelemetryUrls.ts", + "packages/telemetry/src/reportError.ts", + "packages/telemetry/src/reportError.test.ts", + "packages/telemetry/src/rumContext.ts", + "src/composables/graph/useErrorClearingHooks.ts", + "src/composables/graph/useErrorClearingHooks.promotion.test.ts", + "src/composables/graph/useErrorClearingHooks.test.ts", "src/composables/graph/useNodeErrorFlagSync.ts", "src/composables/graph/useNodeErrorFlagSync.test.ts", + "src/composables/useBrowserTabTitle.ts", + "src/composables/useBrowserTabTitle.test.ts", + "src/composables/useProgressFavicon.ts", "src/composables/useViewErrorsInGraph.ts", "src/composables/useViewErrorsInGraph.test.ts", "src/composables/useWorkflowStatusDismissal.ts", @@ -1272,84 +848,29 @@ "src/stores/nodeOutputStore.ts", "src/stores/nodeOutputStore.insertWorkflowOutputs.test.ts", "src/stores/nodeOutputStore.test.ts", - "src/stores/nodeOutputStore.workflowSwitch.test.ts" - ] - }, - { - "name": "execution/infrastructure", - "patterns": ["src/utils/objectUrlUtil.ts"] - }, - { - "name": "execution/presentation", - "patterns": [ - "src/composables/useBrowserTabTitle.ts", - "src/composables/useBrowserTabTitle.test.ts", - "src/composables/useProgressFavicon.ts" - ] - }, - { - "name": "execution/integration", - "patterns": [ - "src/composables/graph/useErrorClearingHooks.ts", - "src/composables/graph/useErrorClearingHooks.promotion.test.ts", - "src/composables/graph/useErrorClearingHooks.test.ts", + "src/stores/nodeOutputStore.workflowSwitch.test.ts", "src/utils/__tests__/executionErrorTestUtils.ts", - "src/utils/__tests__/nodeErrorHelpers.ts" - ] - }, - { - "name": "extension-manager/domain", - "patterns": [ - "src/platform/customNodes/manager/utils/**", - "packages/api-client/src/generatedManagerTypes.ts" - ] - }, - { - "name": "extension-manager/infrastructure", - "patterns": ["src/platform/customNodes/manager/services/**"] - }, - { - "name": "extension-manager/presentation", - "patterns": [ - "src/platform/customNodes/manager/composables/nodePack/usePackInstall.ts", - "src/platform/customNodes/manager/composables/useImportFailedDetection.ts", - "src/platform/customNodes/manager/composables/useImportFailedDetection.test.ts", - "src/platform/customNodes/manager/types/importFailedTypes.ts" - ] - }, - { - "name": "extension-manager/integration", - "patterns": [ - "src/platform/customNodes/manager/components/ManagerProgressToast.test.ts", - "src/platform/customNodes/manager/components/manager/ManagerDialog.test.ts", - "src/platform/customNodes/manager/composables/dialogs/useManagerDialog.test.ts", - "src/platform/customNodes/manager/composables/workflowErrorManager.ts", - "src/platform/customNodes/manager/stores/comfyManagerStore.test.ts" - ] - }, - { - "name": "extension-runtime/domain", - "patterns": ["src/types/comfy.ts", "src/types/extensionTypes.ts"] - }, - { - "name": "extension-runtime/application", - "patterns": [ + "src/utils/__tests__/nodeErrorHelpers.ts", + "src/utils/errorSeverityClassification.ts", + "src/utils/errorSeverityClassification.test.ts", + "src/utils/executionErrorUtil.ts", + "src/utils/executionErrorUtil.test.ts", + "src/utils/missingResourceAbsorption.ts", + "src/utils/missingResourceAbsorption.test.ts", + "src/utils/nodeOutputUtil.ts", + "src/utils/nodeOutputUtil.test.ts", + "src/utils/objectUrlUtil.ts", + "src/platform/customNodes/manager/**", + "packages/api-client/src/generatedManagerTypes.ts", + "src/composables/functional/**", "src/composables/useReconnectingNotification.ts", "src/composables/useReconnectingNotification.test.ts", - "src/scripts/appInstance.ts", - "src/scripts/appRegistry.ts", - "src/scripts/appRegistry.test.ts", - "src/platform/extensions/services/extensionService.ts", - "src/platform/extensions/services/extensionService.test.ts", - "src/platform/extensions/stores/extensionStore.ts", - "src/platform/extensions/stores/extensionStore.test.ts" - ] - }, - { - "name": "extension-runtime/infrastructure", - "patterns": [ - "src/scripts/api.ts", - "src/scripts/api.cancel.test.ts", + "src/extensions/core/index.ts", + "src/extensions/core/index.cloud.test.ts", + "src/extensions/core/index.test.ts", + "src/scripts/__mocks__/**", + "src/scripts/api.ts", + "src/scripts/api.cancel.test.ts", "src/scripts/api.featureFlags.test.ts", "src/scripts/api.fetchApi.test.ts", "src/scripts/api.folderPaths.test.ts", @@ -1364,128 +885,59 @@ "src/scripts/api.sessionOverride.test.ts", "src/scripts/api.socketReset.test.ts", "src/scripts/api.storeUserData.test.ts", + "src/scripts/app.ts", + "src/scripts/app.construction.test.ts", + "src/scripts/app.getNodeDefs.test.ts", + "src/scripts/app.graphReadiness.test.ts", + "src/scripts/app.test.ts", + "src/scripts/appInstance.ts", + "src/scripts/appRegistry.ts", + "src/scripts/appRegistry.test.ts", + "src/scripts/ui.ts", + "src/scripts/ui.setStatus.test.ts", + "src/scripts/ui.storageResilience.test.ts", + "src/scripts/ui.test.ts", + "src/scripts/utils.ts", + "src/platform/extensions/components/**", "src/platform/customNodes/customNodeScripts.ts", "src/platform/customNodes/customNodeScripts.test.ts", "src/platform/extensions/services/extensionLoader.ts", "src/platform/extensions/services/extensionLoader.test.ts", + "src/platform/extensions/services/extensionService.ts", + "src/platform/extensions/services/extensionService.test.ts", + "src/platform/extensions/stores/extensionStore.ts", + "src/platform/extensions/stores/extensionStore.test.ts", + "src/types/comfy.ts", + "src/types/extensionTypes.ts", "packages/api-client/src/ComfyApi.ts", "packages/api-client/src/ComfyApi.clientId.test.ts", "packages/api-client/src/ComfyApi.eventListeners.test.ts", - "packages/api-client/src/apiTimeouts.ts" - ] - }, - { - "name": "extension-runtime/presentation", - "patterns": [ - "src/scripts/ui.ts", - "src/scripts/ui.setStatus.test.ts", - "src/scripts/ui.storageResilience.test.ts", - "src/scripts/ui.test.ts", - "src/platform/extensions/components/**" - ] - }, - { - "name": "extension-runtime/integration", - "patterns": [ - "src/composables/functional/**", - "src/extensions/core/index.ts", - "src/extensions/core/index.cloud.test.ts", - "src/extensions/core/index.test.ts", - "src/scripts/__mocks__/app.ts", - "src/scripts/app.ts", - "src/scripts/app.construction.test.ts", - "src/scripts/app.getNodeDefs.test.ts", - "src/scripts/app.graphReadiness.test.ts", - "src/scripts/app.test.ts", - "src/scripts/utils.ts" - ] - }, - { - "name": "first-run-tour/domain", - "patterns": [ - "src/renderer/extensions/firstRunTour/gettingStarted/tutorialCards.ts", - "src/renderer/extensions/firstRunTour/roles/**" - ] - }, - { - "name": "first-run-tour/application", - "patterns": [ - "src/renderer/extensions/firstRunTour/gettingStarted/firstRunEntry.ts", - "src/renderer/extensions/firstRunTour/gettingStarted/firstRunEntry.test.ts", + "packages/api-client/src/apiTimeouts.ts", + "src/renderer/extensions/firstRunTour/**", "src/services/useNewUserService.ts", - "src/services/useNewUserService.test.ts" - ] - }, - { - "name": "first-run-tour/integration", - "patterns": [ - "src/renderer/extensions/firstRunTour/tour/canvasCoachTarget.ts", - "src/renderer/extensions/firstRunTour/tour/canvasCoachTarget.test.ts" - ] - }, - { - "name": "glsl-preview/domain", - "patterns": [ - "src/renderer/glsl/glslUtils.ts", - "src/renderer/glsl/glslUtils.test.ts" - ] - }, - { - "name": "glsl-preview/infrastructure", - "patterns": [ - "src/renderer/glsl/sharedGLContext.ts", - "src/renderer/glsl/sharedGLContext.test.ts", - "src/renderer/glsl/useGLSLRenderer.ts", - "src/renderer/glsl/useGLSLRenderer.test.ts" - ] - }, - { - "name": "graph-canvas/domain", - "patterns": [ + "src/services/useNewUserService.test.ts", + "src/renderer/glsl/**", "src/base/common/selectionBounds.ts", - "src/lib/litegraph/src/canvas/measureSlots.ts", - "src/lib/litegraph/src/canvas/reduceGesture.ts", - "src/lib/litegraph/src/canvas/reduceGesture.test.ts", - "src/lib/litegraph/src/infrastructure/LGraphCanvasEventMap.ts", - "src/lib/litegraph/src/types/contextMenu.ts", - "src/lib/litegraph/src/types/panel.ts", - "src/types/badgeData.ts", - "src/utils/vintageClipboard.ts" - ] - }, - { - "name": "graph-canvas/application", - "patterns": [ - "src/lib/litegraph/src/DragAndScale.ts", - "src/lib/litegraph/src/DragAndScale.animateToBounds.test.ts", - "src/lib/litegraph/src/DragAndScale.viewportSize.test.ts", - "src/lib/litegraph/src/__tests__/**", - "src/lib/litegraph/src/canvas/getCanvasContextMenuTarget.ts", - "src/lib/litegraph/src/canvas/getCanvasContextMenuTarget.test.ts", - "src/lib/litegraph/src/canvas/hitTesting.ts", - "src/lib/litegraph/src/canvas/resolvePointerTarget.ts", - "src/systems/**", - "src/workbench/eventHelpers.ts", - "src/workbench/eventHelpers.test.ts" - ] - }, - { - "name": "graph-canvas/infrastructure", - "patterns": [ + "src/composables/useCopy.ts", + "src/composables/useCopy.test.ts", + "src/composables/usePaste.ts", + "src/composables/usePaste.test.ts", + "src/extensions/core/contextMenuFilter.ts", + "src/extensions/core/contextMenuFilter.name.test.ts", + "src/extensions/core/contextMenuFilter.test.ts", + "src/extensions/core/contextMenuFilter.wrap.test.ts", + "src/extensions/core/groupOptions.ts", + "src/extensions/core/groupOptions.test.ts", + "src/extensions/core/selectionBorder.ts", + "src/extensions/core/simpleTouchSupport.ts", + "src/extensions/core/simpleTouchSupport.test.ts", "src/lib/litegraph/src/CanvasPointer.ts", "src/lib/litegraph/src/CanvasPointer.deviceDetection.test.ts", - "src/lib/litegraph/src/canvas/captureGesture.ts", - "src/lib/litegraph/src/canvas/captureGesture.test.ts", - "src/lib/litegraph/src/canvas/clipboardStorage.ts", - "src/lib/litegraph/src/cursorCache.ts", - "src/lib/litegraph/src/cursorCache.test.ts" - ] - }, - { - "name": "graph-canvas/presentation", - "patterns": [ "src/lib/litegraph/src/ContextMenu.ts", "src/lib/litegraph/src/ContextMenu.test.ts", + "src/lib/litegraph/src/DragAndScale.ts", + "src/lib/litegraph/src/DragAndScale.animateToBounds.test.ts", + "src/lib/litegraph/src/DragAndScale.viewportSize.test.ts", "src/lib/litegraph/src/LGraphBadge.ts", "src/lib/litegraph/src/LGraphButton.ts", "src/lib/litegraph/src/LGraphButton.test.ts", @@ -1513,103 +965,53 @@ "src/lib/litegraph/src/LGraphCanvas.subgraphPasteDelete.test.ts", "src/lib/litegraph/src/LGraphCanvas.titleButtons.test.ts", "src/lib/litegraph/src/LGraphIcon.ts", + "src/lib/litegraph/src/__fixtures__/canvasHarness.ts", + "src/lib/litegraph/src/__tests__/**", "src/lib/litegraph/src/canvas/InputIndicators.ts", + "src/lib/litegraph/src/canvas/captureGesture.ts", + "src/lib/litegraph/src/canvas/captureGesture.test.ts", + "src/lib/litegraph/src/canvas/clipboardStorage.ts", + "src/lib/litegraph/src/canvas/getCanvasContextMenuTarget.ts", + "src/lib/litegraph/src/canvas/getCanvasContextMenuTarget.test.ts", + "src/lib/litegraph/src/canvas/hitTesting.ts", + "src/lib/litegraph/src/canvas/measureSlots.ts", + "src/lib/litegraph/src/canvas/reduceGesture.ts", + "src/lib/litegraph/src/canvas/reduceGesture.test.ts", + "src/lib/litegraph/src/canvas/resolvePointerTarget.ts", + "src/lib/litegraph/src/contextMenuCompat.ts", + "src/lib/litegraph/src/contextMenuCompat.test.ts", + "src/lib/litegraph/src/cursorCache.ts", + "src/lib/litegraph/src/cursorCache.test.ts", "src/lib/litegraph/src/draw.ts", + "src/lib/litegraph/src/infrastructure/LGraphCanvasEventMap.ts", "src/lib/litegraph/src/nodeBadgeDraw.ts", "src/lib/litegraph/src/nodeBadgeDraw.test.ts", "src/lib/litegraph/src/nodeEmphasis.ts", + "src/lib/litegraph/src/types/contextMenu.ts", + "src/lib/litegraph/src/types/panel.ts", "src/lib/litegraph/src/utils/linkColors.ts", "src/lib/litegraph/src/utils/textMeasureCache.ts", "src/lib/litegraph/src/utils/textMeasureCache.test.ts", "src/lib/litegraph/src/utils/textUtils.ts", - "src/lib/litegraph/src/utils/textUtils.test.ts" - ] - }, - { - "name": "graph-canvas/integration", - "patterns": [ - "src/composables/useCopy.ts", - "src/composables/useCopy.test.ts", - "src/composables/usePaste.ts", - "src/composables/usePaste.test.ts", - "src/extensions/core/contextMenuFilter.ts", - "src/extensions/core/contextMenuFilter.name.test.ts", - "src/extensions/core/contextMenuFilter.test.ts", - "src/extensions/core/contextMenuFilter.wrap.test.ts", - "src/extensions/core/groupOptions.ts", - "src/extensions/core/groupOptions.test.ts", - "src/extensions/core/selectionBorder.ts", - "src/extensions/core/simpleTouchSupport.ts", - "src/extensions/core/simpleTouchSupport.test.ts", - "src/lib/litegraph/src/__fixtures__/canvasHarness.ts", - "src/lib/litegraph/src/contextMenuCompat.ts", - "src/lib/litegraph/src/contextMenuCompat.test.ts" - ] - }, - { - "name": "graph-commands/application", - "patterns": [ + "src/lib/litegraph/src/utils/textUtils.test.ts", + "src/systems/**", + "src/types/badgeData.ts", + "src/utils/vintageClipboard.ts", + "src/workbench/eventHelpers.ts", + "src/workbench/eventHelpers.test.ts", + "src/lib/litegraph/src/docBoundGraphs.ts", "src/lib/litegraph/src/graphIntents.ts", - "src/lib/litegraph/src/graphIntents.test.ts" - ] - }, - { - "name": "graph-commands/infrastructure", - "patterns": ["src/lib/litegraph/src/docBoundGraphs.ts"] - }, - { - "name": "graph-compatibility/integration", - "patterns": [ + "src/lib/litegraph/src/graphIntents.test.ts", "src/utils/litegraphUtil.ts", - "src/utils/litegraphUtil.test.ts" - ] - }, - { - "name": "graph-layout/domain", - "patterns": [ + "src/utils/litegraphUtil.test.ts", + "src/renderer/core/layout/**", "src/renderer/core/spatial/**", "src/types/spatialIndex.ts", "src/utils/positionBounds.ts", - "src/utils/positionBounds.test.ts" - ] - }, - { - "name": "graph-layout/application", - "patterns": [ - "src/renderer/core/layout/operations/layoutMutations.ts", - "src/renderer/core/layout/operations/layoutMutations.test.ts", - "src/renderer/core/layout/store/**" - ] - }, - { - "name": "graph-layout/infrastructure", - "patterns": [ - "src/renderer/core/layout/utils/mappers.ts", - "src/renderer/core/layout/utils/mappers.test.ts" - ] - }, - { - "name": "graph-layout/presentation", - "patterns": [ - "src/renderer/core/layout/__tests__/TransformPane.test.ts", - "src/renderer/core/layout/transform/TransformPane.vue", - "src/renderer/core/layout/transform/TransformPane.test.ts" - ] - }, - { - "name": "graph-layout/integration", - "patterns": [ - "src/renderer/core/layout/slots/syncSlotOffsets.ts", - "src/renderer/core/layout/slots/syncSlotOffsets.test.ts", - "src/renderer/core/layout/transform/graphRenderTransform.ts", - "src/renderer/core/layout/transform/graphRenderTransform.test.ts", - "src/renderer/core/layout/utils/nodeSizeUtil.ts" - ] - }, - { - "name": "graph-model/domain", - "patterns": [ + "src/utils/positionBounds.test.ts", "src/constants/slotColors.ts", + "src/core/graph/nodeShell/**", + "src/extensions/core/rerouteNode.ts", "src/lib/litegraph/src/LGraph.ts", "src/lib/litegraph/src/LGraph.compoundUndo.test.ts", "src/lib/litegraph/src/LGraph.configureStoreScope.test.ts", @@ -1618,6 +1020,7 @@ "src/lib/litegraph/src/LGraph.inputSlotRealign.test.ts", "src/lib/litegraph/src/LGraph.linkPresentation.test.ts", "src/lib/litegraph/src/LGraph.linkPresentationTransfer.test.ts", + "src/lib/litegraph/src/LGraph.remintLinkRemap.test.ts", "src/lib/litegraph/src/LGraph.roundTrip.test.ts", "src/lib/litegraph/src/LGraph.serialise.test.ts", "src/lib/litegraph/src/LGraph.tabSwitchSnapshot.test.ts", @@ -1645,6 +1048,7 @@ "src/lib/litegraph/src/LLink.store.test.ts", "src/lib/litegraph/src/LLink.test.ts", "src/lib/litegraph/src/LinkMap.ts", + "src/lib/litegraph/src/MapProxyHandler.ts", "src/lib/litegraph/src/Reroute.ts", "src/lib/litegraph/src/Reroute.store.test.ts", "src/lib/litegraph/src/extensionPersistence.ts", @@ -1653,32 +1057,16 @@ "src/lib/litegraph/src/idAllocation.ts", "src/lib/litegraph/src/idAllocation.property.test.ts", "src/lib/litegraph/src/idAllocation.test.ts", - "src/lib/litegraph/src/measure.ts", - "src/lib/litegraph/src/measure.test.ts", - "src/lib/litegraph/src/serialization.test.ts", - "src/lib/litegraph/src/strings.ts", - "src/types/linkId.test.ts", - "src/types/linkTopology.ts", - "src/types/nodeId.test.ts", - "src/types/nodeIdentification.test.ts", - "src/types/nodeState.ts", - "src/types/rerouteId.test.ts", - "src/types/slotId.test.ts", - "packages/graph-model/src/**" - ] - }, - { - "name": "graph-model/application", - "patterns": [ - "src/core/graph/nodeShell/**", - "src/lib/litegraph/src/LGraph.remintLinkRemap.test.ts", "src/lib/litegraph/src/linkDeduplication.ts", "src/lib/litegraph/src/linkDeduplication.conflictingOrigins.test.ts", "src/lib/litegraph/src/linkDeduplication.remapReferences.test.ts", "src/lib/litegraph/src/linkDeduplication.transformLinkReferences.test.ts", - "src/lib/litegraph/src/node/slotLinks.ts", - "src/lib/litegraph/src/node/slotLinks.test.ts", + "src/lib/litegraph/src/measure.ts", + "src/lib/litegraph/src/measure.test.ts", "src/lib/litegraph/src/remintLinkRemap.ts", + "src/lib/litegraph/src/serialization.test.ts", + "src/lib/litegraph/src/strings.ts", + "src/lib/litegraph/test/**", "src/stores/clearNodeOwnedStoreState.ts", "src/stores/entityIdStore.ts", "src/stores/entityIdStore.test.ts", @@ -1692,342 +1080,96 @@ "src/stores/rekeyGraphId.ts", "src/stores/rerouteStore.ts", "src/stores/rerouteStore.test.ts", - "src/stores/storeCollisionContracts.test.ts" - ] - }, - { - "name": "graph-model/infrastructure", - "patterns": [ - "src/lib/litegraph/src/MapProxyHandler.ts", - "src/lib/litegraph/src/infrastructure/CustomEventTarget.ts", - "src/lib/litegraph/src/infrastructure/createMutationView.ts", - "src/lib/litegraph/src/infrastructure/createMutationView.test.ts", - "src/lib/litegraph/src/node/slotDescriptorView.ts", - "src/lib/litegraph/src/node/slotDescriptorView.test.ts", + "src/stores/storeCollisionContracts.test.ts", + "src/types/linkId.test.ts", + "src/types/linkTopology.ts", + "src/types/nodeId.test.ts", + "src/types/nodeIdentification.test.ts", + "src/types/nodeState.ts", + "src/types/rerouteId.test.ts", + "src/types/slotId.test.ts", "src/utils/uuid.ts", - "src/utils/uuid.test.ts" - ] - }, - { - "name": "graph-model/integration", - "patterns": [ - "src/extensions/core/rerouteNode.ts", - "src/lib/litegraph/test/**" - ] - }, - { - "name": "graph-selection/domain", - "patterns": [ + "src/utils/uuid.test.ts", + "packages/graph-model/src/**", "src/core/selection/selectionState.ts", - "src/core/selection/selectionState.test.ts" - ] - }, - { - "name": "graph-selection/application", - "patterns": [ + "src/core/selection/selectionState.test.ts", "src/core/selection/selectionStore.ts", - "src/core/selection/selectionStore.test.ts" - ] - }, - { - "name": "graph-selection/integration", - "patterns": ["src/lib/litegraph/src/canvas/SelectedItemsView.ts"] - }, - { - "name": "graph-traversal/application", - "patterns": [ + "src/core/selection/selectionStore.test.ts", + "src/lib/litegraph/src/canvas/SelectedItemsView.ts", "src/utils/__mocks__/graphTraversalUtil.ts", "src/utils/graphTraversalUtil.ts", - "src/utils/graphTraversalUtil.test.ts" - ] - }, - { - "name": "hdr-viewer/application", - "patterns": ["src/composables/useHdrViewer.ts"] - }, - { - "name": "hdr-viewer/infrastructure", - "patterns": [ - "src/renderer/hdr/hdrViewerShader.ts", - "src/utils/hdrFormatUtil.ts", - "src/utils/hdrFormatUtil.test.ts" - ] - }, - { - "name": "hdr-viewer/presentation", - "patterns": ["src/components/hdr/**"] - }, - { - "name": "hdr-viewer/integration", - "patterns": [ + "src/utils/graphTraversalUtil.test.ts", + "src/components/hdr/**", + "src/composables/useHdrViewer.ts", + "src/renderer/hdr/**", "src/services/hdrViewerService.ts", - "src/services/hdrViewerService.test.ts" - ] - }, - { - "name": "help-center/application", - "patterns": ["src/stores/helpCenterStore.ts"] - }, - { - "name": "help-center/presentation", - "patterns": [ + "src/services/hdrViewerService.test.ts", + "src/utils/hdrFormatUtil.ts", + "src/utils/hdrFormatUtil.test.ts", "src/components/helpcenter/**", "src/components/sidebar/SidebarHelpCenterIcon.vue", "src/components/sidebar/SidebarHelpCenterIcon.test.ts", - "src/composables/useHelpCenter.ts" - ] - }, - { - "name": "image-compare/application", - "patterns": [ - "src/renderer/extensions/vueNodes/widgets/composables/useImageCompareImages.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useImageCompareImages.test.ts" - ] - }, - { - "name": "image-compare/presentation", - "patterns": [ - "src/renderer/extensions/vueNodes/widgets/components/WidgetImageCompare.vue", - "src/renderer/extensions/vueNodes/widgets/components/WidgetImageCompare.test.ts" - ] - }, - { - "name": "image-compare/integration", - "patterns": [ - "src/extensions/core/imageCompare.ts", - "src/lib/litegraph/src/widgets/ImageCompareWidget.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useImageCompareWidget.ts" - ] - }, - { - "name": "image-compositor/domain", - "patterns": [ - "src/renderer/extensions/layerEditor/composables/layerPanelDnd.ts", - "src/renderer/extensions/layerEditor/composables/layerPanelDnd.test.ts", - "packages/layer-editor/src/**" - ] - }, - { - "name": "image-compositor/infrastructure", - "patterns": [ - "src/renderer/extensions/layerEditor/psdExport.ts", - "src/renderer/extensions/layerEditor/psdExport.test.ts", - "src/renderer/extensions/layerEditor/psdMapping.ts", - "src/renderer/extensions/layerEditor/psdMapping.test.ts" - ] - }, - { - "name": "image-compositor/presentation", - "patterns": [ - "src/renderer/extensions/compositor/components/WidgetCompositor.vue", - "src/renderer/extensions/compositor/components/WidgetCompositor.test.ts", - "src/renderer/extensions/layerEditor/components/**", - "src/renderer/extensions/layerEditor/composables/layerEditorDialog.ts", - "src/renderer/extensions/layerEditor/composables/layerEditorDialog.test.ts" - ] - }, - { - "name": "image-compositor/integration", - "patterns": [ - "src/extensions/core/imageCompositor.ts", - "src/extensions/core/imageCompositor.test.ts", - "src/extensions/core/layerEditor.ts", - "src/lib/litegraph/src/widgets/CompositorWidget.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useCompositorWidget.ts" - ] - }, - { - "name": "image-crop/application", - "patterns": [ - "src/composables/useImageCrop.ts", - "src/composables/useImageCrop.test.ts" - ] - }, - { - "name": "image-crop/presentation", - "patterns": ["src/components/imagecrop/**"] - }, - { - "name": "image-crop/integration", - "patterns": [ - "src/extensions/core/imageCrop.ts", - "src/lib/litegraph/src/widgets/ImageCropWidget.ts" - ] - }, - { - "name": "ingest-api/domain", - "patterns": [ - "src/platform/remote/ingest/ingestApiError.ts", - "packages/ingest-types/src/**" - ] - }, - { - "name": "ingest-api/infrastructure", - "patterns": [ - "src/platform/remote/ingest/ingestApiUrl.ts", - "src/platform/remote/ingest/webSessionAdapter.ts", - "src/platform/remote/ingest/capabilityRevision.ts" - ] - }, - { - "name": "job-queue/domain", - "patterns": [ - "src/composables/queue/jobTabs.ts", - "src/composables/queue/jobTabs.test.ts", - "src/stores/resultItemParsing.ts", - "src/stores/resultItemParsing.test.ts", - "src/types/queue.ts", - "src/utils/queueDisplay.ts", - "src/utils/queueDisplay.test.ts", - "src/utils/queueUtil.ts", - "src/utils/resultItem.ts", - "src/utils/resultItemUrl.ts", - "src/utils/resultItemUrl.test.ts", - "packages/api-client/src/jobTypes.ts" - ] - }, - { - "name": "job-queue/application", - "patterns": [ - "src/components/queue/job/useJobErrorReporting.ts", - "src/components/queue/job/useJobErrorReporting.test.ts", - "src/components/queue/job/useQueueEstimates.ts", - "src/components/queue/job/useQueueEstimates.test.ts", + "src/composables/useHelpCenter.ts", + "src/stores/helpCenterStore.ts", + "src/components/queue/**", + "src/components/sidebar/tabs/JobHistorySidebarTab.vue", + "src/composables/queue/**", + "src/composables/sidebarTabs/useJobHistorySidebarTab.ts", + "src/composables/sidebarTabs/useJobHistorySidebarTab.test.ts", "src/composables/useReconnectQueueRefresh.ts", "src/composables/useReconnectQueueRefresh.test.ts", + "src/platform/remote/comfyui/jobs/**", "src/platform/remote/comfyui/useQueuePolling.ts", "src/platform/remote/comfyui/useQueuePolling.test.ts", + "src/platform/workflow/cloud/**", "src/services/autoQueueService.ts", "src/services/autoQueueService.test.ts", + "src/services/jobOutputCache.ts", + "src/services/jobOutputCache.test.ts", "src/stores/queueSettingsStore.ts", "src/stores/queueStore.ts", "src/stores/queueStore.loadWorkflow.test.ts", "src/stores/queueStore.test.ts", - "src/storybook/mocks/useJobList.ts" - ] - }, - { - "name": "job-queue/infrastructure", - "patterns": [ - "src/platform/remote/comfyui/jobs/**", - "src/platform/workflow/cloud/**", - "src/services/jobOutputCache.ts", - "src/services/jobOutputCache.test.ts", + "src/stores/resultItemParsing.ts", + "src/stores/resultItemParsing.test.ts", + "src/storybook/mocks/useJobList.ts", + "src/types/queue.ts", + "src/utils/queueDisplay.ts", + "src/utils/queueDisplay.test.ts", + "src/utils/queueUtil.ts", + "src/utils/resultItem.ts", + "src/utils/resultItemUrl.ts", + "src/utils/resultItemUrl.test.ts", "packages/api-client/src/fetchJobs.ts", "packages/api-client/src/fetchJobs.test.ts", - "packages/api-client/src/__mocks__/fetchJobs.ts" - ] - }, - { - "name": "job-queue/presentation", - "patterns": ["src/components/sidebar/tabs/JobHistorySidebarTab.vue"] - }, - { - "name": "job-queue/integration", - "patterns": [ - "src/composables/sidebarTabs/useJobHistorySidebarTab.ts", - "src/composables/sidebarTabs/useJobHistorySidebarTab.test.ts" - ] - }, - { - "name": "keybindings/domain", - "patterns": [ - "src/platform/keybindings/defaults.ts", - "src/platform/keybindings/keyCombo.test.ts", - "src/utils/modalUtil.ts" - ] - }, - { - "name": "keybindings/application", - "patterns": [ - "packages/keybindings/src/commandStore.ts", - "packages/keybindings/src/keybindingStore.ts" - ] - }, - { - "name": "keybindings/presentation", - "patterns": [ - "src/platform/keybindings/components/**", - "src/platform/keybindings/composables/useEditKeybindingDialog.ts" - ] - }, - { - "name": "keybindings/integration", - "patterns": [ - "src/platform/keybindings/composables/useShortcutsTab.ts", - "src/platform/keybindings/composables/useShortcutsTab.test.ts" - ] - }, - { - "name": "light-authoring/application", - "patterns": [ + "packages/api-client/src/__mocks__/fetchJobs.ts", + "packages/api-client/src/jobTypes.ts", + "src/platform/keybindings/**", + "src/utils/modalUtil.ts", + "packages/keybindings/src/**", + "src/extensions/core/load3d/components/lightInfo/**", "src/extensions/core/load3d/composables/useLightInfo.ts", "src/extensions/core/load3d/composables/useLightInfo.test.ts", - "packages/viewport3d/src/lightInfo/**" - ] - }, - { - "name": "light-authoring/presentation", - "patterns": ["src/extensions/core/load3d/components/lightInfo/**"] - }, - { - "name": "light-authoring/integration", - "patterns": [ "src/extensions/core/load3d/lightInfo.ts", "src/extensions/core/load3d/lightInfo.test.ts", "src/lib/litegraph/src/widgets/LightInfoWidget.ts", "src/lib/litegraph/src/widgets/LightInfoWidget.test.ts", "src/renderer/extensions/vueNodes/widgets/composables/useLightInfoWidget.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useLightInfoWidget.test.ts" - ] - }, - { - "name": "linear-mode/domain", - "patterns": [ - "src/renderer/extensions/linearMode/flattenNodeOutput.ts", - "src/renderer/extensions/linearMode/flattenNodeOutput.test.ts", - "src/renderer/extensions/linearMode/linearModeTypes.ts", - "src/renderer/extensions/linearMode/linearRunErrorWarningIds.ts", - "src/utils/appMode.ts" - ] - }, - { - "name": "linear-mode/application", - "patterns": [ + "src/renderer/extensions/vueNodes/widgets/composables/useLightInfoWidget.test.ts", + "packages/viewport3d/src/lightInfo/**", + "src/components/appMode/**", "src/composables/__mocks__/useAppMode.ts", "src/composables/useAppMode.ts", - "src/renderer/extensions/linearMode/getExecutionStatusMessage.ts", - "src/renderer/extensions/linearMode/getExecutionStatusMessage.test.ts", - "src/renderer/extensions/linearMode/linearOutputStore.ts", - "src/renderer/extensions/linearMode/linearOutputStore.test.ts", - "src/renderer/extensions/linearMode/useExecutionStatus.ts", - "src/renderer/extensions/linearMode/useOutputHistory.ts", - "src/renderer/extensions/linearMode/useOutputHistory.test.ts", + "src/renderer/extensions/linearMode/**", "src/stores/appModeStore.ts", - "src/stores/appModeStore.test.ts" - ] - }, - { - "name": "linear-mode/presentation", - "patterns": [ - "src/components/appMode/**", + "src/stores/appModeStore.test.ts", + "src/utils/appMode.ts", "src/views/LinearView.vue", - "src/views/LinearView.test.ts" - ] - }, - { - "name": "link-connection/domain", - "patterns": [ + "src/views/LinearView.test.ts", "src/extensions/core/slotDefaultTypes.ts", "src/extensions/core/slotDefaultTypes.test.ts", - "src/lib/litegraph/src/canvas/RenderLink.ts", - "src/lib/litegraph/src/infrastructure/LinkConnectorEventMap.ts", - "packages/settings-core/src/searchBoxTypes.ts" - ] - }, - { - "name": "link-connection/application", - "patterns": [ + "src/extensions/core/slotDefaults.ts", + "src/extensions/core/slotDefaults.test.ts", "src/lib/litegraph/src/canvas/FloatingRenderLink.ts", "src/lib/litegraph/src/canvas/FloatingRenderLink.test.ts", "src/lib/litegraph/src/canvas/LinkConnector.ts", @@ -2039,209 +1181,67 @@ "src/lib/litegraph/src/canvas/MovingInputLink.ts", "src/lib/litegraph/src/canvas/MovingLinkBase.ts", "src/lib/litegraph/src/canvas/MovingOutputLink.ts", + "src/lib/litegraph/src/canvas/RenderLink.ts", "src/lib/litegraph/src/canvas/ToInputFromIoNodeLink.ts", "src/lib/litegraph/src/canvas/ToInputRenderLink.ts", "src/lib/litegraph/src/canvas/ToOutputFromIoNodeLink.ts", "src/lib/litegraph/src/canvas/ToOutputFromRerouteLink.ts", "src/lib/litegraph/src/canvas/ToOutputRenderLink.ts", - "src/lib/litegraph/src/canvas/ToOutputRenderLink.test.ts" - ] - }, - { - "name": "link-connection/integration", - "patterns": [ - "src/extensions/core/slotDefaults.ts", - "src/extensions/core/slotDefaults.test.ts" - ] - }, - { - "name": "link-presentation/domain", - "patterns": [ + "src/lib/litegraph/src/canvas/ToOutputRenderLink.test.ts", + "src/lib/litegraph/src/infrastructure/LinkConnectorEventMap.ts", + "packages/settings-core/src/searchBoxTypes.ts", + "src/core/graph/transferLinkPresentation.ts", + "src/lib/litegraph/src/canvas/linkBadgeRenderer.ts", + "src/lib/litegraph/src/canvas/linkBadges.ts", + "src/lib/litegraph/src/canvas/linkBadges.test.ts", "src/lib/litegraph/src/canvas/linkGeometry.ts", "src/lib/litegraph/src/canvas/linkRevealState.ts", - "src/lib/litegraph/src/canvas/linkRevealState.test.ts" - ] - }, - { - "name": "link-presentation/application", - "patterns": [ - "src/core/graph/transferLinkPresentation.ts", + "src/lib/litegraph/src/canvas/linkRevealState.test.ts", "src/lib/litegraph/src/canvas/linkVisibility.ts", "src/lib/litegraph/src/canvas/linkVisibility.test.ts", "src/stores/linkPresentationStore.ts", - "src/stores/linkPresentationStore.test.ts" - ] - }, - { - "name": "link-presentation/presentation", - "patterns": [ - "src/lib/litegraph/src/canvas/linkBadgeRenderer.ts", - "src/lib/litegraph/src/canvas/linkBadges.ts", - "src/lib/litegraph/src/canvas/linkBadges.test.ts" - ] - }, - { - "name": "litegraph-api/infrastructure", - "patterns": [ - "src/lib/litegraph/src/litegraphInstance.ts", - "src/lib/litegraph/src/polyfills.ts", - "src/lib/litegraph/src/utils/feedback.ts" - ] - }, - { - "name": "litegraph-api/integration", - "patterns": [ + "src/stores/linkPresentationStore.test.ts", "src/composables/useGlobalLitegraph.ts", "src/lib/litegraph/src/LiteGraphGlobal.ts", "src/lib/litegraph/src/LiteGraphGlobal.cloneObject.test.ts", "src/lib/litegraph/src/litegraph.ts", "src/lib/litegraph/src/litegraph.publicApi.test.ts", - "src/lib/litegraph/src/litegraph.test.ts" - ] - }, - { - "name": "markdown-rendering/infrastructure", - "patterns": [ + "src/lib/litegraph/src/litegraph.test.ts", + "src/lib/litegraph/src/litegraphInstance.ts", + "src/lib/litegraph/src/polyfills.ts", + "src/lib/litegraph/src/utils/feedback.ts", "src/utils/markdownRendererUtil.ts", - "src/utils/markdownRendererUtil.test.ts" - ] - }, - { - "name": "mask-editor/application", - "patterns": [ - "src/renderer/extensions/maskEditor/composables/**", - "src/renderer/extensions/maskEditor/stores/**", - "src/scripts/clipspace.ts", - "src/scripts/clipspace.test.ts", - "packages/mask-editor/src/**" - ] - }, - { - "name": "mask-editor/infrastructure", - "patterns": [ - "src/utils/__fixtures__/**", - "src/utils/pngEncodeUtil.ts", - "src/utils/pngEncodeUtil.test.ts" - ] - }, - { - "name": "mask-editor/presentation", - "patterns": ["src/renderer/extensions/maskEditor/components/**"] - }, - { - "name": "mask-editor/integration", - "patterns": [ - "src/extensions/core/clipspace.ts", - "src/extensions/core/maskeditor.ts", - "src/extensions/core/maskeditor.test.ts" - ] - }, - { - "name": "media-lightbox/presentation", - "patterns": ["src/components/sidebar/tabs/queue/**"] - }, - { - "name": "media-loading/application", - "patterns": [ + "src/utils/markdownRendererUtil.test.ts", + "src/components/sidebar/tabs/queue/**", "src/composables/media/**", "src/composables/useTextFileContent.ts", "src/composables/useTextFileContent.test.ts", - "src/services/uploadTempFile.ts" - ] - }, - { - "name": "media-metadata/domain", - "patterns": ["src/types/metadataTypes.ts"] - }, - { - "name": "media-metadata/application", - "patterns": [ - "src/scripts/metadata/parser.ts", - "src/scripts/metadata/parser.test.ts" - ] - }, - { - "name": "media-metadata/integration", - "patterns": ["src/scripts/pnginfo.ts", "src/scripts/pnginfo.test.ts"] - }, - { - "name": "minimap/domain", - "patterns": ["src/renderer/extensions/minimap/types.ts"] - }, - { - "name": "minimap/application", - "patterns": ["src/renderer/extensions/minimap/composables/**"] - }, - { - "name": "minimap/infrastructure", - "patterns": ["src/platform/canvas/**"] - }, - { - "name": "minimap/presentation", - "patterns": [ - "src/renderer/extensions/minimap/MiniMap.vue", - "src/renderer/extensions/minimap/MiniMapPanel.vue" - ] - }, - { - "name": "missing-media/domain", - "patterns": [ - "src/platform/workflowErrors/missingMedia/missingMediaGrouping.ts", - "src/platform/workflowErrors/missingMedia/types.ts" - ] - }, - { - "name": "missing-media/presentation", - "patterns": ["src/platform/workflowErrors/missingMedia/components/**"] - }, - { - "name": "missing-models/domain", - "patterns": [ - "src/platform/workflowErrors/missingModel/missingModelGrouping.ts", - "src/platform/workflowErrors/missingModel/missingModelGrouping.test.ts", - "src/platform/workflowErrors/missingModel/missingModelViewUtils.ts", - "src/platform/workflowErrors/missingModel/missingModelViewUtils.test.ts", - "src/platform/workflowErrors/missingModel/types.ts" - ] - }, - { - "name": "missing-models/application", - "patterns": [ + "src/services/uploadTempFile.ts", + "src/scripts/metadata/**", + "src/scripts/pnginfo.ts", + "src/scripts/pnginfo.test.ts", + "src/types/metadataTypes.ts", + "src/platform/canvas/**", + "src/renderer/extensions/minimap/**", + "src/platform/workflowErrors/missingMedia/**", + "src/platform/workflowErrors/missingModel/components/**", "src/platform/workflowErrors/missingModel/composables/**", + "src/platform/workflowErrors/missingModel/folderPathCache.ts", + "src/platform/workflowErrors/missingModel/folderPathCache.test.ts", "src/platform/workflowErrors/missingModel/missingModelDownload.ts", "src/platform/workflowErrors/missingModel/missingModelDownload.test.ts", + "src/platform/workflowErrors/missingModel/missingModelGrouping.ts", + "src/platform/workflowErrors/missingModel/missingModelGrouping.test.ts", "src/platform/workflowErrors/missingModel/missingModelMetadata.ts", "src/platform/workflowErrors/missingModel/missingModelPipeline.ts", "src/platform/workflowErrors/missingModel/missingModelPipeline.test.ts", "src/platform/workflowErrors/missingModel/missingModelScan.ts", "src/platform/workflowErrors/missingModel/missingModelScan.test.ts", "src/platform/workflowErrors/missingModel/missingModelStore.ts", - "src/platform/workflowErrors/missingModel/missingModelStore.test.ts" - ] - }, - { - "name": "missing-models/infrastructure", - "patterns": [ - "src/platform/workflowErrors/missingModel/folderPathCache.ts", - "src/platform/workflowErrors/missingModel/folderPathCache.test.ts" - ] - }, - { - "name": "missing-models/presentation", - "patterns": ["src/platform/workflowErrors/missingModel/components/**"] - }, - { - "name": "model-3d/domain", - "patterns": [ - "src/extensions/core/load3d/model3dOutput.ts", - "src/extensions/core/load3d/model3dOutput.test.ts", - "src/extensions/core/load3d/nodeTypes.ts", - "src/extensions/core/load3d/nodeTypes.test.ts" - ] - }, - { - "name": "model-3d/application", - "patterns": [ + "src/platform/workflowErrors/missingModel/missingModelStore.test.ts", + "src/platform/workflowErrors/missingModel/missingModelViewUtils.ts", + "src/platform/workflowErrors/missingModel/missingModelViewUtils.test.ts", + "src/platform/workflowErrors/missingModel/types.ts", "src/extensions/core/load3d/components/modelThumbnail.ts", "src/extensions/core/load3d/components/modelThumbnail.deferredImport.test.ts", "src/extensions/core/load3d/components/modelThumbnail.test.ts", @@ -2251,28 +1251,20 @@ "src/extensions/core/load3d/composables/useLoad3dDrag.test.ts", "src/extensions/core/load3d/composables/useLoad3dViewer.ts", "src/extensions/core/load3d/composables/useLoad3dViewer.test.ts", - "src/extensions/core/load3d/services/load3dService.ts", - "src/extensions/core/load3d/services/load3dService.test.ts" - ] - }, - { - "name": "model-3d/infrastructure", - "patterns": [ - "src/extensions/core/load3d/Load3dUtils.ts", - "src/extensions/core/load3d/Load3dUtils.test.ts" - ] - }, - { - "name": "model-3d/integration", - "patterns": [ "src/extensions/core/load3d/load3d.ts", "src/extensions/core/load3d/load3d.test.ts", "src/extensions/core/load3d/Load3DConfiguration.ts", "src/extensions/core/load3d/Load3DConfiguration.test.ts", + "src/extensions/core/load3d/Load3dUtils.ts", + "src/extensions/core/load3d/Load3dUtils.test.ts", "src/extensions/core/load3d/exportMenuHelper.ts", "src/extensions/core/load3d/exportMenuHelper.test.ts", "src/extensions/core/load3d/load3dSerialize.ts", "src/extensions/core/load3d/load3dSerialize.test.ts", + "src/extensions/core/load3d/model3dOutput.ts", + "src/extensions/core/load3d/model3dOutput.test.ts", + "src/extensions/core/load3d/nodeTypes.ts", + "src/extensions/core/load3d/nodeTypes.test.ts", "src/extensions/core/load3d/load3dAdvanced.ts", "src/extensions/core/load3d/load3dLazy.ts", "src/extensions/core/load3d/load3dLazy.retry.test.ts", @@ -2280,127 +1272,36 @@ "src/extensions/core/load3d/load3dPreviewExtensions.ts", "src/extensions/core/load3d/load3dPreviewExtensions.test.ts", "src/extensions/core/load3d/saveMesh.ts", - "src/extensions/core/load3d/saveMesh.test.ts" - ] - }, - { - "name": "model-library/application", - "patterns": [ - "src/composables/useModelSelectorDialog.ts", - "src/stores/modelStore.ts", - "src/stores/modelStore.test.ts", - "src/stores/modelToNodeStore.ts", - "src/stores/modelToNodeStore.test.ts" - ] - }, - { - "name": "model-library/presentation", - "patterns": [ + "src/extensions/core/load3d/saveMesh.test.ts", + "src/extensions/core/load3d/services/load3dService.ts", + "src/extensions/core/load3d/services/load3dService.test.ts", "src/components/sidebar/tabs/ModelLibrarySidebarTab.vue", "src/components/sidebar/tabs/ModelLibrarySidebarTab.test.ts", "src/components/sidebar/tabs/modelLibrary/**", - "src/components/widget/SampleModelSelector.vue" - ] - }, - { - "name": "model-library/integration", - "patterns": [ + "src/components/widget/SampleModelSelector.vue", + "src/composables/useModelSelectorDialog.ts", "src/stores/electronDownloadStore.ts", - "src/stores/electronDownloadStore.test.ts" - ] - }, - { - "name": "navigation/application", - "patterns": [ - "src/platform/navigation/unmatchedRoute.ts", - "src/platform/navigation/unmatchedRoute.test.ts" - ] - }, - { - "name": "navigation/infrastructure", - "patterns": [ - "src/platform/navigation/preservedQueryManager.ts", - "src/platform/navigation/preservedQueryManager.test.ts" - ] - }, - { - "name": "navigation/integration", - "patterns": [ - "src/platform/navigation/preservedQueryTracker.ts", - "src/platform/navigation/preservedQueryTracker.test.ts" - ] - }, - { - "name": "node-badges/domain", - "patterns": [ - "packages/shared-frontend-utils/src/nodePricing.ts", - "packages/shared-frontend-utils/src/nodePricing.test.ts" - ] - }, - { - "name": "node-badges/application", - "patterns": [ - "src/composables/node/useNodePricing.ts", - "src/composables/node/useNodePricing.test.ts" - ] - }, - { - "name": "node-badges/integration", - "patterns": [ + "src/stores/electronDownloadStore.test.ts", + "src/stores/modelStore.ts", + "src/stores/modelStore.test.ts", + "src/stores/modelToNodeStore.ts", + "src/stores/modelToNodeStore.test.ts", + "src/platform/navigation/**", "src/composables/node/badgeRendererParity.test.ts", "src/composables/node/useNodeBadge.ts", - "src/composables/node/useNodeBadge.test.ts" - ] - }, - { - "name": "node-definition/domain", - "patterns": [ + "src/composables/node/useNodeBadge.test.ts", + "src/composables/node/useNodePricing.ts", + "src/composables/node/useNodePricing.test.ts", + "packages/shared-frontend-utils/src/nodePricing.ts", + "packages/shared-frontend-utils/src/nodePricing.test.ts", "src/constants/essentialsNodes.ts", + "src/core/graph/nodeDef/inputSpecInterpreter.ts", + "src/core/graph/nodeDef/inputSpecInterpreter.cap.test.ts", + "src/core/graph/nodeDef/inputSpecInterpreter.test.ts", "src/types/nodeDefAugmentation.ts", "src/types/nodeSource.ts", "src/workbench/utils/**", - "packages/object-info-parser/src/**" - ] - }, - { - "name": "node-library/domain", - "patterns": [ - "src/components/searchbox/v2/rootCategories.ts", - "src/types/nodeOrganizationTypes.ts", - "src/types/treeExplorerTypes.ts", - "src/utils/categoryUtil.ts", - "src/utils/categoryUtil.test.ts", - "src/utils/fuseUtil.ts", - "src/utils/fuseUtil.test.ts" - ] - }, - { - "name": "node-library/application", - "patterns": [ - "src/composables/useEssentialTileNodeDef.ts", - "src/composables/useNodeHelpContent.ts", - "src/composables/useNodeHelpContent.test.ts", - "src/composables/usePerTabState.ts", - "src/composables/usePerTabState.test.ts", - "src/services/nodeOrganizationService.ts", - "src/services/nodeOrganizationService.test.ts", - "src/services/nodeSearchService.ts", - "src/services/nodeSearchService.test.ts", - "src/stores/nodeBookmarkStore.ts", - "src/stores/nodeBookmarkStore.test.ts", - "src/stores/nodeDefStore.ts", - "src/stores/nodeDefStore.frequency.test.ts", - "src/stores/nodeDefStore.nodeText.test.ts", - "src/stores/nodeDefStore.test.ts" - ] - }, - { - "name": "node-library/infrastructure", - "patterns": ["src/services/nodeHelpService.ts"] - }, - { - "name": "node-library/presentation", - "patterns": [ + "packages/object-info-parser/src/**", "src/components/common/ColorCustomizationSelector.vue", "src/components/common/ColorCustomizationSelector.test.ts", "src/components/common/CustomizationDialog.vue", @@ -2438,17 +1339,12 @@ "src/components/searchbox/v2/NodeSearchTypeFilterPopover.vue", "src/components/searchbox/v2/NodeSearchTypeFilterPopover.test.ts", "src/components/searchbox/v2/__test__/**", + "src/components/searchbox/v2/rootCategories.ts", "src/components/sidebar/tabs/NodeLibrarySidebarTab.vue", "src/components/sidebar/tabs/NodeLibrarySidebarTab.test.ts", "src/components/sidebar/tabs/NodeLibrarySidebarTabV2.vue", "src/components/sidebar/tabs/NodeLibrarySidebarTabV2.test.ts", "src/components/sidebar/tabs/nodeLibrary/**", - "src/utils/nodeTitleUtil.ts" - ] - }, - { - "name": "node-library/integration", - "patterns": [ "src/composables/node/__mocks__/**", "src/composables/node/startModelNodeDragFromAsset.ts", "src/composables/node/startModelNodeDragFromAsset.test.ts", @@ -2458,65 +1354,93 @@ "src/composables/node/useNodePreviewAndDrag.test.ts", "src/composables/sidebarTabs/useNodeLibrarySidebarTab.ts", "src/composables/useCanvasDrop.ts", - "src/composables/useCanvasDrop.test.ts" - ] - }, - { - "name": "node-replacement/domain", - "patterns": [ - "src/platform/workflowErrors/nodeReplacement/cnrIdUtil.ts", - "src/platform/workflowErrors/nodeReplacement/cnrIdUtil.test.ts", - "src/platform/workflowErrors/nodeReplacement/types.ts" - ] - }, - { - "name": "node-replacement/infrastructure", - "patterns": [ - "src/platform/workflowErrors/nodeReplacement/nodeReplacementService.ts" - ] - }, - { - "name": "node-replacement/presentation", - "patterns": [ - "src/platform/workflowErrors/nodeReplacement/components/**" - ] - }, - { - "name": "node-templates/integration", - "patterns": [ + "src/composables/useCanvasDrop.test.ts", + "src/composables/useEssentialTileNodeDef.ts", + "src/composables/useNodeHelpContent.ts", + "src/composables/useNodeHelpContent.test.ts", + "src/composables/usePerTabState.ts", + "src/composables/usePerTabState.test.ts", + "src/services/nodeHelpService.ts", + "src/services/nodeOrganizationService.ts", + "src/services/nodeOrganizationService.test.ts", + "src/services/nodeSearchService.ts", + "src/services/nodeSearchService.test.ts", + "src/stores/nodeBookmarkStore.ts", + "src/stores/nodeBookmarkStore.test.ts", + "src/stores/nodeDefStore.ts", + "src/stores/nodeDefStore.frequency.test.ts", + "src/stores/nodeDefStore.nodeText.test.ts", + "src/stores/nodeDefStore.test.ts", + "src/types/nodeOrganizationTypes.ts", + "src/types/treeExplorerTypes.ts", + "src/utils/categoryUtil.ts", + "src/utils/categoryUtil.test.ts", + "src/utils/fuseUtil.ts", + "src/utils/fuseUtil.test.ts", + "src/utils/nodeTitleUtil.ts", + "src/platform/workflowErrors/nodeReplacement/**", "src/extensions/core/nodeTemplates.ts", - "src/extensions/core/nodeTemplates.test.ts" - ] - }, - { - "name": "node-type-registration/integration", - "patterns": [ + "src/extensions/core/nodeTemplates.test.ts", "src/services/__mocks__/litegraphService.ts", "src/services/litegraphService.ts", "src/services/litegraphService.lateRegistration.test.ts", "src/services/litegraphService.test.ts", - "src/services/subgraphService.ts" - ] - }, - { - "name": "node-widgets/domain", - "patterns": [ + "src/services/subgraphService.ts", + "src/composables/node/useWatchWidget.ts", + "src/composables/node/useWatchWidget.test.ts", + "src/core/graph/widgets/__fixtures__/**", "src/core/graph/widgets/comboWidgetInventory.ts", "src/core/graph/widgets/controlWidgetMarker.ts", + "src/core/graph/widgets/dynamicGroupWidget.ts", + "src/core/graph/widgets/dynamicGroupWidget.test.ts", "src/core/graph/widgets/dynamicInputSpec.ts", "src/core/graph/widgets/dynamicInputSpec.test.ts", + "src/core/graph/widgets/dynamicWidgets.ts", + "src/core/graph/widgets/dynamicWidgets.test.ts", + "src/core/graph/widgets/matchTypeConfiguring.test.ts", + "src/core/graph/widgets/matchTypeFallback.test.ts", + "src/core/graph/widgets/nodeWidgetValues.ts", + "src/core/graph/widgets/nodeWidgetValues.test.ts", "src/core/graph/widgets/revealDynamicInputSlot.ts", "src/core/graph/widgets/revealDynamicInputSlot.test.ts", "src/core/graph/widgets/valueControl.ts", "src/core/graph/widgets/valueControl.test.ts", + "src/core/graph/widgets/valueControlWidgets.ts", + "src/core/graph/widgets/valueControlWidgets.controlAfterGenerateName.test.ts", + "src/extensions/core/customWidgets.ts", + "src/extensions/core/customWidgets.clone.test.ts", + "src/extensions/core/customWidgets.numericOptions.test.ts", + "src/extensions/core/customWidgets.subgraphPromotion.test.ts", + "src/extensions/core/customWidgets.test.ts", + "src/extensions/core/saveImageExtraOutput.ts", + "src/extensions/core/saveImageExtraOutput.test.ts", + "src/extensions/core/widgetInputs.ts", + "src/extensions/core/widgetInputs.refreshCombo.test.ts", + "src/extensions/core/widgetInputs.test.ts", + "src/extensions/core/widgetValuePropagation.ts", + "src/extensions/core/widgetValuePropagation.test.ts", + "src/lib/litegraph/src/CurveEditor.ts", + "src/lib/litegraph/src/node/widgetsView.ts", + "src/lib/litegraph/src/node/widgetsView.emptyWidgetName.test.ts", + "src/lib/litegraph/src/node/widgetsView.refusalCriterion.test.ts", + "src/lib/litegraph/src/node/widgetsView.refusalValueRestore.test.ts", + "src/lib/litegraph/src/node/widgetsView.test.ts", + "src/lib/litegraph/src/node/widgetsView.uniqueWidgetName.test.ts", "src/lib/litegraph/src/utils/mathParser.ts", "src/lib/litegraph/src/utils/mathParser.test.ts", "src/lib/litegraph/src/utils/namedValuesShadowDiff.ts", "src/lib/litegraph/src/utils/namedValuesShadowDiff.test.ts", + "src/lib/litegraph/src/utils/namedValuesShadowDiffTelemetry.ts", + "src/lib/litegraph/src/utils/namedValuesShadowDiffTelemetry.test.ts", "src/lib/litegraph/src/utils/restoredWidgetValue.ts", "src/lib/litegraph/src/utils/restoredWidgetValue.test.ts", + "src/lib/litegraph/src/utils/widget.ts", + "src/lib/litegraph/src/utils/widget.test.ts", "src/lib/litegraph/src/widgetConnectionSuppression.test.ts", "src/lib/litegraph/src/widgetValueNullContract.test.ts", + "src/stores/widgetValueStore.ts", + "src/stores/widgetValueStore.graphReactivity.test.ts", + "src/stores/widgetValueStore.test.ts", "src/types/widgetId.test.ts", "src/types/widgetState.ts", "src/types/widgetVisibility.ts", @@ -2525,253 +1449,50 @@ "src/utils/nodeDefUtil.test.ts", "src/utils/searchAndReplace.ts", "src/utils/searchAndReplace.test.ts", - "src/utils/widgetBinding.ts" - ] - }, - { - "name": "node-widgets/application", - "patterns": [ - "src/composables/node/useWatchWidget.ts", - "src/composables/node/useWatchWidget.test.ts", - "src/core/graph/widgets/dynamicGroupWidget.ts", - "src/core/graph/widgets/dynamicGroupWidget.test.ts", - "src/core/graph/widgets/dynamicWidgets.ts", - "src/core/graph/widgets/dynamicWidgets.test.ts", - "src/core/graph/widgets/matchTypeConfiguring.test.ts", - "src/core/graph/widgets/matchTypeFallback.test.ts", - "src/core/graph/widgets/nodeWidgetValues.ts", - "src/core/graph/widgets/nodeWidgetValues.test.ts", - "src/core/graph/widgets/valueControlWidgets.ts", - "src/core/graph/widgets/valueControlWidgets.controlAfterGenerateName.test.ts", - "src/extensions/core/widgetValuePropagation.ts", - "src/extensions/core/widgetValuePropagation.test.ts", - "src/lib/litegraph/src/utils/widget.ts", - "src/lib/litegraph/src/utils/widget.test.ts", - "src/stores/widgetValueStore.ts", - "src/stores/widgetValueStore.graphReactivity.test.ts", - "src/stores/widgetValueStore.test.ts", + "src/utils/widgetBinding.ts", "src/utils/widgetUtil.ts", - "src/utils/widgetUtil.test.ts" - ] - }, - { - "name": "node-widgets/infrastructure", - "patterns": [ - "src/lib/litegraph/src/node/widgetsView.ts", - "src/lib/litegraph/src/node/widgetsView.emptyWidgetName.test.ts", - "src/lib/litegraph/src/node/widgetsView.refusalCriterion.test.ts", - "src/lib/litegraph/src/node/widgetsView.refusalValueRestore.test.ts", - "src/lib/litegraph/src/node/widgetsView.test.ts", - "src/lib/litegraph/src/node/widgetsView.uniqueWidgetName.test.ts", - "src/lib/litegraph/src/utils/namedValuesShadowDiffTelemetry.ts", - "src/lib/litegraph/src/utils/namedValuesShadowDiffTelemetry.test.ts" - ] - }, - { - "name": "node-widgets/presentation", - "patterns": ["src/lib/litegraph/src/CurveEditor.ts"] - }, - { - "name": "node-widgets/integration", - "patterns": [ - "src/core/graph/widgets/__fixtures__/**", - "src/extensions/core/customWidgets.ts", - "src/extensions/core/customWidgets.clone.test.ts", - "src/extensions/core/customWidgets.numericOptions.test.ts", - "src/extensions/core/customWidgets.subgraphPromotion.test.ts", - "src/extensions/core/customWidgets.test.ts", - "src/extensions/core/saveImageExtraOutput.ts", - "src/extensions/core/saveImageExtraOutput.test.ts", - "src/extensions/core/widgetInputs.ts", - "src/extensions/core/widgetInputs.refreshCombo.test.ts", - "src/extensions/core/widgetInputs.test.ts", - "src/lib/litegraph/src/widgets/widgetMap.ts", - "src/lib/litegraph/src/widgets/widgetMap.test.ts" - ] - }, - { - "name": "note-nodes/presentation", - "patterns": [ - "src/renderer/extensions/vueNodes/widgets/components/WidgetMarkdown.vue", - "src/renderer/extensions/vueNodes/widgets/components/WidgetMarkdown.test.ts" - ] - }, - { - "name": "note-nodes/integration", - "patterns": [ + "src/utils/widgetUtil.test.ts", "src/extensions/core/noteNode.ts", "src/lib/litegraph/src/widgets/MarkdownWidget.ts", + "src/renderer/extensions/vueNodes/widgets/components/WidgetMarkdown.vue", + "src/renderer/extensions/vueNodes/widgets/components/WidgetMarkdown.test.ts", "src/renderer/extensions/vueNodes/widgets/composables/useMarkdownWidget.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useMarkdownWidget.test.ts" - ] - }, - { - "name": "numeric-geometry/domain", - "patterns": ["src/utils/mathUtil.ts", "src/utils/mathUtil.test.ts"] - }, - { - "name": "onboarding-tours/domain", - "patterns": [ - "src/platform/onboarding/onboardingTours.ts", - "src/platform/onboarding/onboardingTours.test.ts", - "src/platform/onboarding/tourState.ts", - "src/platform/onboarding/tourState.test.ts" - ] - }, - { - "name": "onboarding-tours/application", - "patterns": [ - "src/platform/onboarding/coachmarkRegistry.ts", - "src/platform/onboarding/coachmarkRegistry.test.ts", - "src/platform/onboarding/fixtures/**", - "src/platform/onboarding/onboardingOverlayStore.ts", - "src/platform/onboarding/onboardingOverlayStore.test.ts", - "src/platform/onboarding/onboardingReset.ts", - "src/platform/onboarding/onboardingReset.test.ts", - "src/platform/onboarding/onboardingTourStore.ts", - "src/platform/onboarding/onboardingTourStore.registeredTour.test.ts", - "src/platform/onboarding/onboardingTourStore.test.ts", - "src/platform/onboarding/useTourTriggers.ts" - ] - }, - { - "name": "onboarding-tours/infrastructure", - "patterns": [ - "src/platform/onboarding/onboardingReplay.ts", - "src/platform/onboarding/onboardingReplay.test.ts" - ] - }, - { - "name": "painter/application", - "patterns": ["src/renderer/extensions/painter/composables/**"] - }, - { - "name": "painter/presentation", - "patterns": ["src/renderer/extensions/painter/components/**"] - }, - { - "name": "painter/integration", - "patterns": [ - "src/extensions/core/painter.ts", - "src/lib/litegraph/src/widgets/PainterWidget.ts", - "src/renderer/extensions/vueNodes/widgets/composables/usePainterWidget.ts" - ] - }, - { - "name": "prompt-authoring/domain", - "patterns": ["src/extensions/core/dynamicPrompts.test.ts"] - }, - { - "name": "prompt-authoring/integration", - "patterns": [ + "src/renderer/extensions/vueNodes/widgets/composables/useMarkdownWidget.test.ts", + "src/utils/mathUtil.ts", + "src/utils/mathUtil.test.ts", + "src/platform/onboarding/**", "src/extensions/core/dynamicPrompts.ts", "src/extensions/core/dynamicPrompts.serializeValue.test.ts", + "src/extensions/core/dynamicPrompts.test.ts", "src/extensions/core/editAttention.ts", - "src/extensions/core/editAttention.test.ts" - ] - }, - { - "name": "properties-panel/application", - "patterns": [ - "src/components/rightSidePanel/rightSidePanelTabTelemetry.ts", - "src/components/rightSidePanel/rightSidePanelTabTelemetry.test.ts", - "src/components/rightSidePanel/shared.ts", - "src/components/rightSidePanel/shared.test.ts", + "src/extensions/core/editAttention.test.ts", "src/composables/graph/useGraphHierarchy.ts", "src/composables/graph/useGraphHierarchy.test.ts", "src/stores/workspace/favoritedWidgetsStore.ts", - "src/stores/workspace/rightSidePanelStore.ts" - ] - }, - { - "name": "release-notes/application", - "patterns": [ - "src/platform/updates/common/releaseStore.ts", - "src/platform/updates/common/releaseStore.test.ts" - ] - }, - { - "name": "release-notes/infrastructure", - "patterns": [ + "src/stores/workspace/rightSidePanelStore.ts", "src/platform/updates/common/releaseService.ts", - "src/platform/updates/common/releaseService.test.ts" - ] - }, - { - "name": "remote-config/domain", - "patterns": [ - "src/platform/remoteConfig/serverFeatureFlag.ts", - "src/platform/remoteConfig/types.ts" - ] - }, - { - "name": "remote-config/application", - "patterns": [ + "src/platform/updates/common/releaseService.test.ts", + "src/platform/updates/common/releaseStore.ts", + "src/platform/updates/common/releaseStore.test.ts", "src/composables/__mocks__/useFeatureFlags.ts", "src/composables/useFeatureFlags.ts", "src/composables/useFeatureFlags.test.ts", - "src/storybook/mocks/useFeatureFlags.ts" - ] - }, - { - "name": "remote-config/infrastructure", - "patterns": [ - "src/platform/remoteConfig/refreshRemoteConfig.ts", - "src/platform/remoteConfig/refreshRemoteConfig.test.ts", + "src/platform/remoteConfig/**", + "src/storybook/mocks/useFeatureFlags.ts", "src/utils/devFeatureFlagOverride.ts", "src/utils/devFeatureFlagOverride.test.ts", "src/utils/sessionFeatureFlagOverride.ts", - "src/utils/sessionFeatureFlagOverride.test.ts" - ] - }, - { - "name": "runtime-guards/domain", - "patterns": [ + "src/utils/sessionFeatureFlagOverride.test.ts", "src/utils/typeGuardUtil.ts", - "src/utils/typeGuardUtil.test.ts" - ] - }, - { - "name": "secrets/application", - "patterns": ["src/platform/secrets/composables/**"] - }, - { - "name": "secrets/infrastructure", - "patterns": ["src/platform/secrets/api/**"] - }, - { - "name": "secrets/presentation", - "patterns": ["src/platform/secrets/components/**"] - }, - { - "name": "selection-toolbox/domain", - "patterns": [ - "src/composables/graph/contextMenuConverter.ts", - "src/composables/graph/contextMenuConverter.test.ts", - "src/utils/coreMediaMenuActionUtils.ts", - "src/utils/coreMediaMenuActionUtils.test.ts", - "src/utils/nodeFilterUtil.ts", - "src/utils/nodeFilterUtil.test.ts" - ] - }, - { - "name": "selection-toolbox/presentation", - "patterns": [ + "src/utils/typeGuardUtil.test.ts", + "src/platform/secrets/**", "src/components/graph/NodeContextMenu.vue", "src/components/graph/NodeContextMenu.test.ts", - "src/components/graph/selectionToolbox/ArrangeButton.vue", - "src/components/graph/selectionToolbox/ColorPickerButton.vue", - "src/components/graph/selectionToolbox/ColorPickerButton.test.ts", - "src/components/graph/selectionToolbox/ExecuteButton.vue", - "src/components/graph/selectionToolbox/ExecuteButton.test.ts", - "src/components/graph/selectionToolbox/ToolboxButton.vue" - ] - }, - { - "name": "selection-toolbox/integration", - "patterns": [ "src/components/graph/SelectionToolbox.vue", "src/components/graph/SelectionToolbox.test.ts", + "src/components/graph/selectionToolbox/**", + "src/composables/graph/contextMenuConverter.ts", + "src/composables/graph/contextMenuConverter.test.ts", "src/composables/graph/useArrangeNodes.ts", "src/composables/graph/useArrangeNodes.test.ts", "src/composables/graph/useArrangeSession.ts", @@ -2800,44 +1521,11 @@ "src/composables/graph/useSubgraphOperations.test.ts", "src/composables/useContextMenuTranslation.ts", "src/composables/useContextMenuTranslation.test.ts", - "src/composables/useRefreshableSelection.ts" - ] - }, - { - "name": "server-facts/domain", - "patterns": [ - "src/platform/serverFacts/**", - "src/utils/__tests__/serverFactGate.ts" - ] - }, - { - "name": "settings/domain", - "patterns": [ - "src/constants/serverConfig.ts", - "src/platform/settings/constants/agent.ts", - "src/types/serverArgs.ts", - "packages/settings-core/src/canvasNavigation.ts", - "packages/settings-core/src/types.ts" - ] - }, - { - "name": "settings/application", - "patterns": [ - "src/stores/serverConfigStore.ts", - "src/stores/serverConfigStore.test.ts", - "packages/settings-core/src/settingStore.ts" - ] - }, - { - "name": "settings/infrastructure", - "patterns": [ - "src/platform/settings/globalSettingsApi.ts", - "src/platform/settings/globalSettingsApi.test.ts" - ] - }, - { - "name": "settings/presentation", - "patterns": [ + "src/composables/useRefreshableSelection.ts", + "src/utils/coreMediaMenuActionUtils.ts", + "src/utils/coreMediaMenuActionUtils.test.ts", + "src/utils/nodeFilterUtil.ts", + "src/utils/nodeFilterUtil.test.ts", "src/components/common/BackgroundImageUpload.vue", "src/components/common/FormColorPicker.vue", "src/components/common/FormColorPicker.test.ts", @@ -2850,296 +1538,106 @@ "src/components/common/FormRadioGroup.test.ts", "src/components/dialog/content/setting/SettingItem.test.ts", "src/components/sidebar/SidebarSettingsButton.vue", - "src/platform/settings/components/**", - "src/platform/settings/composables/useSettingUI.ts", - "src/platform/settings/composables/useSettingUI.test.ts", - "src/platform/settings/composables/useSettingsHeaderCollapse.ts" - ] - }, - { - "name": "settings/integration", - "patterns": [ - "src/platform/settings/composables/useLitegraphSettings.ts", - "src/platform/settings/composables/useLitegraphSettings.reactiveEdge.test.ts", - "src/platform/settings/composables/useLitegraphSettings.test.ts", - "src/platform/settings/composables/useSettingsUrlLoader.ts", - "src/platform/settings/composables/useSettingsUrlLoader.integration.test.ts", - "src/platform/settings/composables/useSettingsUrlLoader.test.ts", + "src/constants/serverConfig.ts", + "src/platform/settings/**", "src/scripts/ui/settings.ts", - "src/scripts/ui/settings.test.ts" - ] - }, - { - "name": "skill-packs/domain", - "patterns": ["src/platform/skills/types.ts"] - }, - { - "name": "skill-packs/infrastructure", - "patterns": ["src/platform/skills/api/**"] - }, - { - "name": "skill-packs/presentation", - "patterns": ["src/platform/skills/components/**"] - }, - { - "name": "startup-tracing/infrastructure", - "patterns": [ - "src/platform/telemetry/perf/perfMark.ts", - "src/platform/telemetry/perf/perfMark.test.ts" - ] - }, - { - "name": "subgraph-blueprints/application", - "patterns": [ + "src/scripts/ui/settings.test.ts", + "src/stores/serverConfigStore.ts", + "src/stores/serverConfigStore.test.ts", + "src/types/serverArgs.ts", + "packages/settings-core/src/canvasNavigation.ts", + "packages/settings-core/src/settingStore.ts", + "packages/settings-core/src/types.ts", + "src/platform/skills/**", + "src/platform/telemetry/perf/**", "src/stores/subgraphStore.ts", - "src/stores/subgraphStore.test.ts" - ] - }, - { - "name": "subgraph-promotion/domain", - "patterns": ["src/core/schemas/**"] - }, - { - "name": "subgraph-promotion/application", - "patterns": [ + "src/stores/subgraphStore.test.ts", + "src/components/rightSidePanel/subgraph/**", "src/composables/node/usePromotedPreviews.ts", "src/composables/node/usePromotedPreviews.test.ts", - "src/core/graph/subgraph/adoptPromotedWidgetValue.ts", - "src/core/graph/subgraph/migration/**", - "src/core/graph/subgraph/promotedInputWidget.ts", - "src/core/graph/subgraph/promotedInputWidget.test.ts", - "src/core/graph/subgraph/promotedWidgetControl.ts", - "src/core/graph/subgraph/promotedWidgetControl.test.ts", - "src/core/graph/subgraph/promotionAfterReplacement.test.ts", - "src/core/graph/subgraph/promotionUtils.ts", - "src/core/graph/subgraph/promotionUtils.test.ts", + "src/core/schemas/**", "src/lib/litegraph/src/subgraph/promotedWidgetStoreProjection.ts", "src/services/subgraphPseudoWidgetCache.ts", "src/services/subgraphPseudoWidgetCache.test.ts", "src/stores/previewExposureStore.ts", - "src/stores/previewExposureStore.test.ts" - ] - }, - { - "name": "subgraph-promotion/presentation", - "patterns": ["src/components/rightSidePanel/subgraph/**"] - }, - { - "name": "subgraphs/domain", - "patterns": [ + "src/stores/previewExposureStore.test.ts", + "src/components/breadcrumb/**", "src/constants/groupNodeConstants.ts", + "src/core/graph/subgraph/liftNodeErrorsToBoundary.ts", + "src/core/graph/subgraph/liftNodeErrorsToBoundary.test.ts", "src/core/graph/subgraph/resolveSubgraphInputLink.ts", "src/core/graph/subgraph/resolveSubgraphInputLink.test.ts", "src/core/graph/subgraph/resolveSubgraphInputTarget.ts", "src/core/graph/subgraph/resolveSubgraphInputTarget.test.ts", + "src/extensions/core/groupNode.ts", + "src/extensions/core/groupNode.test.ts", "src/lib/litegraph/src/constants.ts", "src/lib/litegraph/src/infrastructure/SubgraphEventMap.ts", "src/lib/litegraph/src/infrastructure/SubgraphInputEventMap.ts", "src/schemas/subgraphIdSchema.ts", "src/schemas/subgraphIdSchema.test.ts", - "src/utils/blueprintUtils.ts" - ] - }, - { - "name": "subgraphs/application", - "patterns": [ - "src/core/graph/subgraph/liftNodeErrorsToBoundary.ts", - "src/core/graph/subgraph/liftNodeErrorsToBoundary.test.ts", - "src/lib/litegraph/src/subgraph/ExecutableNodeDTO.ts", - "src/lib/litegraph/src/subgraph/ExecutableNodeDTO.test.ts", "src/stores/subgraphNavigationStore.ts", "src/stores/subgraphNavigationStore.navigateToHash.test.ts", "src/stores/subgraphNavigationStore.test.ts", - "src/stores/subgraphNavigationStore.viewport.test.ts" - ] - }, - { - "name": "subgraphs/presentation", - "patterns": [ - "src/components/breadcrumb/**", - "src/lib/litegraph/src/subgraph/svgBitmapCache.ts", - "src/lib/litegraph/src/subgraph/svgBitmapCache.test.ts" - ] - }, - { - "name": "subgraphs/integration", - "patterns": [ - "src/extensions/core/groupNode.ts", - "src/extensions/core/groupNode.test.ts", - "src/lib/litegraph/src/subgraph/__fixtures__/**" - ] - }, - { - "name": "support-feedback/domain", - "patterns": [ - "src/platform/support/config.ts", - "src/platform/support/config.test.ts" - ] - }, - { - "name": "surveys/domain", - "patterns": [ - "src/platform/surveys/appModeFeedback.ts", - "src/platform/surveys/surveyRegistry.ts", - "src/platform/surveys/surveyRegistry.test.ts" - ] - }, - { - "name": "surveys/presentation", - "patterns": [ - "src/platform/surveys/ErrorPanelSurveyCta.vue", - "src/platform/surveys/ErrorPanelSurveyCta.test.ts", - "src/platform/surveys/NightlySurveyController.vue", - "src/platform/surveys/NightlySurveyPopover.vue", - "src/platform/surveys/NightlySurveyPopover.test.ts", - "src/platform/surveys/TypeformDialogContent.vue", - "src/platform/surveys/TypeformEmbed.vue", - "src/platform/surveys/TypeformEmbed.test.ts", - "src/platform/surveys/useTypeformEmbed.ts", - "src/platform/surveys/useTypeformEmbed.test.ts" - ] - }, - { - "name": "system-info/domain", - "patterns": ["src/components/common/systemStatsColumns.ts"] - }, - { - "name": "system-info/application", - "patterns": [ - "src/composables/useCopySystemInfo.ts", - "src/composables/useCopySystemInfo.test.ts", - "src/stores/aboutPanelStore.ts", - "src/stores/systemStatsStore.ts", - "src/stores/systemStatsStore.test.ts" - ] - }, - { - "name": "system-info/presentation", - "patterns": [ + "src/stores/subgraphNavigationStore.viewport.test.ts", + "src/utils/blueprintUtils.ts", + "src/platform/support/**", + "src/platform/surveys/**", "src/components/common/DeviceInfo.vue", "src/components/common/DeviceInfo.test.ts", "src/components/common/SystemStatsPanel.vue", "src/components/common/SystemStatsPanel.test.ts", - "src/components/dialog/content/setting/AboutPanel.vue" - ] - }, - { - "name": "tasks/infrastructure", - "patterns": [ + "src/components/common/systemStatsColumns.ts", + "src/components/dialog/content/setting/AboutPanel.vue", + "src/composables/useCopySystemInfo.ts", + "src/composables/useCopySystemInfo.test.ts", + "src/stores/aboutPanelStore.ts", + "src/stores/systemStatsStore.ts", + "src/stores/systemStatsStore.test.ts", "src/platform/tasks/**", - "packages/api-client/src/taskSchema.ts" - ] - }, - { - "name": "telemetry/domain", - "patterns": ["packages/telemetry/src/types.ts"] - }, - { - "name": "telemetry/application", - "patterns": [ + "packages/api-client/src/taskSchema.ts", "src/composables/useRunButtonTelemetry.ts", "src/composables/useRunButtonTelemetry.test.ts", "src/platform/telemetry/TelemetryRegistry.test.ts", "src/platform/telemetry/hostTelemetryEnabled.ts", - "src/platform/telemetry/nodeAdded/nodeAddSource.ts", + "src/platform/telemetry/hostUserIdSync.ts", + "src/platform/telemetry/hostUserIdSync.test.ts", + "src/platform/telemetry/initHostTelemetry.ts", + "src/platform/telemetry/initHostTelemetry.test.ts", + "src/platform/telemetry/nodeAdded/**", + "src/platform/telemetry/providers/host/**", "src/platform/telemetry/searchQuery/**", "src/platform/telemetry/storeReadiness.ts", "src/platform/telemetry/storeReadiness.test.ts", "src/platform/telemetry/useTelemetry.test.ts", - "src/platform/telemetry/utils/billingPortalTelemetry.ts", - "src/platform/telemetry/utils/getExecutionContext.ts", - "src/platform/telemetry/utils/getExecutionContext.test.ts", - "src/platform/telemetry/utils/getShellLayoutSnapshot.ts", - "src/platform/telemetry/utils/getShellLayoutSnapshot.test.ts" - ] - }, - { - "name": "telemetry/infrastructure", - "patterns": [ - "src/platform/telemetry/providers/host/**", - "src/platform/telemetry/utils/__tests__/checkoutAttribution.test.ts", - "src/platform/telemetry/utils/checkoutAttribution.ts", - "src/platform/telemetry/utils/getActionbarDockState.ts", - "src/platform/telemetry/utils/getActionbarDockState.test.ts", - "src/platform/telemetry/utils/getAgentPanelOpen.ts", - "src/platform/telemetry/utils/getAgentPanelOpen.test.ts" - ] - }, - { - "name": "telemetry/integration", - "patterns": [ - "src/platform/telemetry/hostUserIdSync.ts", - "src/platform/telemetry/hostUserIdSync.test.ts", - "src/platform/telemetry/initHostTelemetry.ts", - "src/platform/telemetry/initHostTelemetry.test.ts" - ] - }, - { - "name": "test-support/integration", - "patterns": [ + "src/platform/telemetry/utils/**", "src/testing/**", "src/types/vitest.d.ts", "src/vitestSetup.test.ts", - "packages/test-utils/src/**" - ] - }, - { - "name": "text-output-preview/domain", - "patterns": ["src/utils/htmlEscape.ts", "src/utils/htmlEscape.test.ts"] - }, - { - "name": "text-output-preview/presentation", - "patterns": [ - "src/renderer/extensions/vueNodes/widgets/components/WidgetTextPreview.vue", - "src/renderer/extensions/vueNodes/widgets/components/WidgetTextPreview.test.ts" - ] - }, - { - "name": "text-output-preview/integration", - "patterns": [ + "packages/test-utils/src/**", "src/extensions/core/previewAny.ts", "src/extensions/core/previewAny.test.ts", "src/extensions/core/saveText.ts", "src/extensions/core/textPreviewWidgets.ts", - "src/extensions/core/textPreviewWidgets.test.ts" - ] - }, - { - "name": "value-formatting/domain", - "patterns": [ + "src/extensions/core/textPreviewWidgets.test.ts", + "src/renderer/extensions/vueNodes/widgets/components/WidgetTextPreview.vue", + "src/renderer/extensions/vueNodes/widgets/components/WidgetTextPreview.test.ts", + "src/utils/htmlEscape.ts", + "src/utils/htmlEscape.test.ts", "src/utils/dateTimeUtil.ts", "src/utils/dateTimeUtil.test.ts", "src/utils/numberUtil.ts", - "src/utils/numberUtil.test.ts" - ] - }, - { - "name": "video-edit/domain", - "patterns": [ - "src/composables/video/useVideoEditFormats.ts", - "src/composables/video/useVideoEditFormats.test.ts", + "src/utils/numberUtil.test.ts", + "src/components/videoEdit/**", + "src/composables/video/**", "src/utils/videoFrameUtil.ts", - "src/utils/videoFrameUtil.test.ts" - ] - }, - { - "name": "video-edit/infrastructure", - "patterns": [ - "src/composables/video/useVideoFilmstrip.ts", - "src/composables/video/useVideoFilmstrip.test.ts", - "src/composables/video/useVideoSourceUrl.ts", - "src/composables/video/useVideoSourceUrl.test.ts", + "src/utils/videoFrameUtil.test.ts", "src/utils/videoMetadataUtil.ts", - "src/utils/videoMetadataUtil.test.ts" - ] - }, - { - "name": "video-edit/presentation", - "patterns": ["src/components/videoEdit/**"] - }, - { - "name": "viewport-3d/application", - "patterns": [ + "src/utils/videoMetadataUtil.test.ts", + "src/extensions/core/load3d/components/ViewportWidgetShell.test.ts", + "src/extensions/core/load3d/components/menubar/menuBarStyles.ts", + "src/extensions/core/load3d/composables/useViewportNodeWiring.ts", + "src/extensions/core/load3d/composables/useViewportNodeWiring.test.ts", "packages/viewport3d/src/load3d/CameraManager.ts", "packages/viewport3d/src/load3d/CameraManager.test.ts", "packages/viewport3d/src/load3d/ControlsManager.ts", @@ -3161,152 +1659,41 @@ "packages/viewport3d/src/load3d/load3dRenderLoop.ts", "packages/viewport3d/src/load3d/load3dRenderLoop.test.ts", "packages/viewport3d/src/load3d/load3dViewport.ts", - "packages/viewport3d/src/load3d/load3dViewport.test.ts" - ] - }, - { - "name": "viewport-3d/presentation", - "patterns": [ - "src/extensions/core/load3d/components/ViewportWidgetShell.test.ts", - "src/extensions/core/load3d/components/menubar/menuBarStyles.ts" - ] - }, - { - "name": "viewport-3d/integration", - "patterns": [ - "src/extensions/core/load3d/composables/useViewportNodeWiring.ts", - "src/extensions/core/load3d/composables/useViewportNodeWiring.test.ts" - ] - }, - { - "name": "vue-node-renderer/domain", - "patterns": [ - "src/renderer/extensions/vueNodes/interactions/resize/resizeHandleConfig.ts", - "src/renderer/extensions/vueNodes/interactions/resize/resizeHandleConfig.test.ts", - "src/renderer/extensions/vueNodes/types/**", - "src/renderer/extensions/vueNodes/utils/linkedCoreMediaUtils.ts", - "src/renderer/extensions/vueNodes/utils/linkedCoreMediaUtils.test.ts" - ] - }, - { - "name": "vue-node-renderer/application", - "patterns": [ + "packages/viewport3d/src/load3d/load3dViewport.test.ts", "src/composables/useVueFeatureFlags.ts", - "src/renderer/extensions/vueNodes/composables/slotLinkDragContext.ts", - "src/renderer/extensions/vueNodes/composables/useNodeEventHandlers.ts", - "src/renderer/extensions/vueNodes/composables/useNodeEventHandlers.test.ts", - "src/renderer/extensions/vueNodes/composables/useNodeSnap.ts", - "src/renderer/extensions/vueNodes/composables/useNodeTooltips.ts", - "src/renderer/extensions/vueNodes/composables/useNodeTooltips.test.ts", - "src/renderer/extensions/vueNodes/composables/useNodeZIndex.ts", - "src/renderer/extensions/vueNodes/composables/useNodeZIndex.test.ts", - "src/renderer/extensions/vueNodes/composables/usePartitionedBadges.ts", - "src/renderer/extensions/vueNodes/composables/usePartitionedBadges.test.ts", - "src/renderer/extensions/vueNodes/composables/useShiftKeySync.ts", - "src/renderer/extensions/vueNodes/execution/**", - "src/renderer/extensions/vueNodes/preview/**" - ] - }, - { - "name": "vue-node-renderer/infrastructure", - "patterns": [ - "src/renderer/extensions/vueNodes/composables/useVueNodeResizeTracking.ts", - "src/renderer/extensions/vueNodes/composables/useVueNodeResizeTracking.test.ts" - ] - }, - { - "name": "vue-node-renderer/presentation", - "patterns": [ "src/renderer/extensions/vueNodes/VideoPreview.vue", "src/renderer/extensions/vueNodes/VideoPreview.agentReset.test.ts", "src/renderer/extensions/vueNodes/VideoPreview.test.ts", - "src/renderer/extensions/vueNodes/components/**" - ] - }, - { - "name": "vue-node-renderer/integration", - "patterns": [ - "src/renderer/extensions/vueNodes/layout/ensureCorrectLayoutScale.ts", - "src/renderer/extensions/vueNodes/layout/ensureCorrectLayoutScale.test.ts", - "src/renderer/extensions/vueNodes/utils/eventUtils.ts" - ] - }, - { - "name": "vue-node-widgets/domain", - "patterns": [ - "src/composables/node/canvasImagePreviewTypes.ts", - "src/renderer/extensions/vueNodes/widgets/components/WidgetChart.types.ts", - "src/renderer/extensions/vueNodes/widgets/components/form/dropdown/types.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useNumberStepCalculation.ts", - "src/types/positionConfig.ts", - "src/types/simplifiedWidget.ts", - "src/types/widgetConstructor.ts", - "src/utils/imageUtil.ts", - "src/utils/imageUtil.test.ts", - "src/utils/mediaUploadUtil.ts", - "src/utils/mediaUploadUtil.test.ts", - "src/utils/widgetPropFilter.ts" - ] - }, - { - "name": "vue-node-widgets/application", - "patterns": [ - "src/composables/element/useDomClipping.ts", - "src/composables/element/useDomClipping.test.ts", - "src/renderer/extensions/vueNodes/widgets/components/form/dropdown/shared.ts", - "src/renderer/extensions/vueNodes/widgets/components/form/dropdown/shared.test.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useAssetWidgetData.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useAssetWidgetData.desktop.test.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useAssetWidgetData.test.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useDismissOnCanvasGesture.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useDismissOnCanvasGesture.test.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useRestoreFocusOnViewportPointer.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useRestoreFocusOnViewportPointer.test.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useWidgetSelectActions.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useWidgetSelectActions.test.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useWidgetSelectItems.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useWidgetSelectItems.test.ts", - "src/stores/domWidgetStore.ts", - "src/stores/domWidgetStore.test.ts", - "src/stores/widgetStore.ts", - "src/stores/widgetStore.test.ts" - ] - }, - { - "name": "vue-node-widgets/presentation", - "patterns": [ + "src/renderer/extensions/vueNodes/components/**", + "src/renderer/extensions/vueNodes/composables/**", + "src/renderer/extensions/vueNodes/execution/**", + "src/renderer/extensions/vueNodes/interactions/**", + "src/renderer/extensions/vueNodes/layout/**", + "src/renderer/extensions/vueNodes/preview/**", + "src/renderer/extensions/vueNodes/types/**", + "src/renderer/extensions/vueNodes/utils/**", "src/components/boundingbox/**", "src/components/curve/WidgetCurve.vue", "src/components/curve/WidgetCurve.test.ts", - "src/components/graph/widgets/MultiSelectWidget.vue", - "src/components/graph/widgets/MultiSelectWidget.test.ts", - "src/components/graph/widgets/TextPreviewWidget.vue", - "src/components/graph/widgets/TextPreviewWidget.test.ts", + "src/components/graph/DomWidgets.vue", + "src/components/graph/DomWidgets.test.ts", + "src/components/graph/widgets/**", "src/components/palette/WidgetColors.vue", "src/components/palette/WidgetColors.test.ts", "src/components/range/WidgetRange.vue", "src/components/range/WidgetRange.test.ts", - "src/lib/litegraph/src/widgets/BoundingBoxWidget.ts", - "src/lib/litegraph/src/widgets/CurveWidget.ts", - "src/lib/litegraph/src/widgets/VideoEditWidget.ts", - "src/renderer/extensions/vueNodes/widgets/composables/useWidgetRenderer.test.ts", - "src/renderer/extensions/vueNodes/widgets/registry/**", - "src/types/widgetTypes.ts" - ] - }, - { - "name": "vue-node-widgets/integration", - "patterns": [ - "src/components/graph/DomWidgets.vue", - "src/components/graph/DomWidgets.test.ts", + "src/composables/element/useDomClipping.ts", + "src/composables/element/useDomClipping.test.ts", "src/composables/useUpstreamValue.ts", "src/composables/useUpstreamValue.test.ts", "src/extensions/core/uploadImage.ts", - "src/renderer/extensions/vueNodes/widgets/components/WidgetDOM.vue", - "src/renderer/extensions/vueNodes/widgets/components/WidgetDOM.test.ts", - "src/renderer/extensions/vueNodes/widgets/components/WidgetLegacy.vue", - "src/renderer/extensions/vueNodes/widgets/components/WidgetLegacy.test.ts", + "src/lib/litegraph/src/widgets/BoundingBoxWidget.ts", + "src/lib/litegraph/src/widgets/CurveWidget.ts", + "src/lib/litegraph/src/widgets/VideoEditWidget.ts", "src/renderer/extensions/vueNodes/widgets/composables/domWidgetTestUtils.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useAssetWidgetData.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useAssetWidgetData.desktop.test.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useAssetWidgetData.test.ts", "src/renderer/extensions/vueNodes/widgets/composables/useBooleanWidget.ts", "src/renderer/extensions/vueNodes/widgets/composables/useBoundingBoxWidget.ts", "src/renderer/extensions/vueNodes/widgets/composables/useChartWidget.ts", @@ -3319,6 +1706,8 @@ "src/renderer/extensions/vueNodes/widgets/composables/useComboWidget.deployment.test.ts", "src/renderer/extensions/vueNodes/widgets/composables/useComboWidget.test.ts", "src/renderer/extensions/vueNodes/widgets/composables/useCurveWidget.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useDismissOnCanvasGesture.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useDismissOnCanvasGesture.test.ts", "src/renderer/extensions/vueNodes/widgets/composables/useFloatWidget.ts", "src/renderer/extensions/vueNodes/widgets/composables/useFloatWidget.test.ts", "src/renderer/extensions/vueNodes/widgets/composables/useGalleriaWidget.ts", @@ -3329,6 +1718,7 @@ "src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.test.ts", "src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts", "src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.test.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useNumberStepCalculation.ts", "src/renderer/extensions/vueNodes/widgets/composables/useProgressTextWidget.ts", "src/renderer/extensions/vueNodes/widgets/composables/useRangeWidget.ts", "src/renderer/extensions/vueNodes/widgets/composables/useRangeWidget.test.ts", @@ -3336,60 +1726,39 @@ "src/renderer/extensions/vueNodes/widgets/composables/useRemoteWidget.test.ts", "src/renderer/extensions/vueNodes/widgets/composables/useRemoteWidget.webSession.test.ts", "src/renderer/extensions/vueNodes/widgets/composables/useResolutionPreviewWidget.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useRestoreFocusOnViewportPointer.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useRestoreFocusOnViewportPointer.test.ts", "src/renderer/extensions/vueNodes/widgets/composables/useStringWidget.ts", "src/renderer/extensions/vueNodes/widgets/composables/useStringWidget.test.ts", "src/renderer/extensions/vueNodes/widgets/composables/useTextareaWidget.ts", "src/renderer/extensions/vueNodes/widgets/composables/useTextareaWidget.test.ts", "src/renderer/extensions/vueNodes/widgets/composables/useVideoEditWidget.ts", "src/renderer/extensions/vueNodes/widgets/composables/useVideoEditWidget.test.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useWidgetRenderer.test.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useWidgetSelectActions.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useWidgetSelectActions.test.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useWidgetSelectItems.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useWidgetSelectItems.test.ts", + "src/renderer/extensions/vueNodes/widgets/registry/**", "src/scripts/domWidget.ts", "src/scripts/domWidget.performance.test.ts", "src/scripts/domWidget.test.ts", "src/scripts/errorNodeWidgets.ts", "src/scripts/errorNodeWidgets.test.ts", - "src/scripts/widgets.ts" - ] - }, - { - "name": "webcam-capture/integration", - "patterns": ["src/extensions/core/webcamCapture.ts"] - }, - { - "name": "workbench-shell/domain", - "patterns": [ - "src/utils/splitterWidthUtil.ts", - "src/utils/splitterWidthUtil.test.ts" - ] - }, - { - "name": "workbench-shell/application", - "patterns": [ - "src/composables/usePanelSizing.ts", - "src/composables/usePanelSizing.test.ts", - "src/composables/useWorkspaceInset.ts", - "src/composables/useWorkspaceInset.test.ts", - "src/stores/actionBarButtonStore.ts", - "src/stores/menuItemStore.ts", - "src/stores/menuItemStore.test.ts", - "src/stores/topbarBadgeStore.ts", - "src/stores/workspace/bottomPanelStore.ts", - "src/stores/workspace/bottomPanelStore.test.ts", - "src/stores/workspace/sidebarTabStore.ts", - "src/stores/workspace/sidebarTabStore.test.ts", - "src/stores/workspaceStore.ts", - "src/stores/workspaceStore.test.ts" - ] - }, - { - "name": "workbench-shell/infrastructure", - "patterns": [ - "src/utils/splitterPersistence.ts", - "src/utils/splitterPersistence.test.ts" - ] - }, - { - "name": "workbench-shell/presentation", - "patterns": [ + "src/scripts/widgets.ts", + "src/stores/domWidgetStore.ts", + "src/stores/domWidgetStore.test.ts", + "src/stores/widgetStore.ts", + "src/stores/widgetStore.test.ts", + "src/types/positionConfig.ts", + "src/types/simplifiedWidget.ts", + "src/types/widgetConstructor.ts", + "src/types/widgetTypes.ts", + "src/utils/imageUtil.ts", + "src/utils/imageUtil.test.ts", + "src/utils/mediaUploadUtil.ts", + "src/utils/mediaUploadUtil.test.ts", + "src/utils/widgetPropFilter.ts", "src/components/LiteGraphCanvasSplitterOverlay.vue", "src/components/LiteGraphCanvasSplitterOverlay.test.ts", "src/components/MenuHamburger.vue", @@ -3402,7030 +1771,813 @@ "src/components/topbar/ActionBarButtons.vue", "src/components/topbar/TopbarBadge.vue", "src/components/topbar/TopbarBadge.test.ts", - "src/components/topbar/TopbarBadges.vue" - ] - }, - { - "name": "workbench-shell/integration", - "patterns": [ + "src/components/topbar/TopbarBadges.vue", "src/composables/sidebarTabs/registerCoreSidebarTabs.ts", "src/composables/sidebarTabs/registerCoreSidebarTabs.test.ts", "src/composables/useCoreCommands.ts", "src/composables/useCoreCommands.selectOnly.test.ts", - "src/composables/useCoreCommands.test.ts" - ] - }, - { - "name": "workflow-deployment/application", - "patterns": ["src/platform/workflow/deploy/composables/**"] - }, - { - "name": "workflow-deployment/presentation", - "patterns": ["src/platform/workflow/deploy/components/**"] - }, - { - "name": "workflow-errors/domain", - "patterns": [ - "src/platform/workflowErrors/panel/executionItemList.ts", - "src/platform/workflowErrors/panel/types.ts", - "src/utils/errorReportUtil.ts", - "src/utils/errorReportUtil.test.ts" - ] - }, - { - "name": "workflow-errors/application", - "patterns": [ + "src/composables/useCoreCommands.test.ts", + "src/composables/usePanelSizing.ts", + "src/composables/usePanelSizing.test.ts", + "src/composables/useWorkspaceInset.ts", + "src/composables/useWorkspaceInset.test.ts", + "src/stores/actionBarButtonStore.ts", + "src/stores/menuItemStore.ts", + "src/stores/menuItemStore.test.ts", + "src/stores/topbarBadgeStore.ts", + "src/stores/workspace/bottomPanelStore.ts", + "src/stores/workspace/bottomPanelStore.test.ts", + "src/stores/workspace/sidebarTabStore.ts", + "src/stores/workspace/sidebarTabStore.test.ts", + "src/stores/workspaceStore.ts", + "src/stores/workspaceStore.test.ts", + "src/utils/splitterPersistence.ts", + "src/utils/splitterPersistence.test.ts", + "src/utils/splitterWidthUtil.ts", + "src/utils/splitterWidthUtil.test.ts", + "src/platform/workflow/deploy/**", "src/platform/workflowErrors/workflowErrorManager.ts", - "src/platform/workflowErrors/panel/__tests__/**", - "src/platform/workflowErrors/panel/selectionEmphasis.ts", - "src/platform/workflowErrors/panel/swapNodeGroups.test.ts", - "src/platform/workflowErrors/panel/useErrorActions.ts", - "src/platform/workflowErrors/panel/useErrorActions.test.ts", - "src/platform/workflowErrors/panel/useErrorClassification.ts", - "src/platform/workflowErrors/panel/useErrorGroups.ts", - "src/platform/workflowErrors/panel/useErrorGroups.test.ts", - "src/platform/workflowErrors/panel/useErrorReport.ts", - "src/platform/workflowErrors/panel/useErrorReport.test.ts", - "src/platform/workflowErrors/panel/useHasBlockingError.ts" - ] - }, - { - "name": "workflow-errors/presentation", - "patterns": [ - "src/platform/workflowErrors/overlay/ErrorOverlay.vue", - "src/platform/workflowErrors/overlay/ErrorOverlay.test.ts" - ] - }, - { - "name": "workflow-errors/integration", - "patterns": [ - "src/components/rightSidePanel/workflowErrors.integration.test.ts" - ] - }, - { - "name": "workflow-format/domain", - "patterns": [ + "src/components/rightSidePanel/workflowErrors.integration.test.ts", + "src/platform/workflowErrors/overlay/**", + "src/platform/workflowErrors/panel/**", + "src/utils/errorReportUtil.ts", + "src/utils/errorReportUtil.test.ts", + "src/utils/executionUtil.ts", + "src/utils/executionUtil.stability.test.ts", + "src/utils/executionUtil.test.ts", + "src/utils/fileUtil.ts", + "src/utils/fileUtil.test.ts", "src/utils/jsonUtil.ts", "src/utils/jsonUtil.test.ts", "src/utils/linkFixer.ts", "src/utils/linkFixer.test.ts", - "src/utils/migration/**" - ] - }, - { - "name": "workflow-format/application", - "patterns": [ - "src/platform/workflow/validation/composables/**", - "src/utils/executionUtil.ts", - "src/utils/executionUtil.stability.test.ts", - "src/utils/executionUtil.test.ts" - ] - }, - { - "name": "workflow-format/infrastructure", - "patterns": ["src/utils/fileUtil.ts", "src/utils/fileUtil.test.ts"] - }, - { - "name": "workflow-management/domain", - "patterns": [ - "src/platform/workflow/core/utils/workflowId.ts", - "src/platform/workflow/core/utils/workflowId.test.ts", - "src/platform/workflow/core/utils/workflowToClipboardItems.ts", - "src/platform/workflow/core/utils/workflowToClipboardItems.integration.test.ts", - "src/platform/workflow/core/utils/workflowToClipboardItems.test.ts", - "src/scripts/defaultGraph.ts", - "src/types/workflowMenuItem.ts" - ] - }, - { - "name": "workflow-management/application", - "patterns": [ + "src/utils/migration/**", + "src/components/common/WorkflowActionsDropdown.vue", + "src/components/common/WorkflowActionsDropdown.test.ts", + "src/components/dialog/UnloadWindowConfirmDialog.vue", + "src/components/dialog/UnloadWindowConfirmDialog.test.ts", + "src/components/sidebar/tabs/AppsSidebarTab.vue", + "src/components/sidebar/tabs/AppsSidebarTab.test.ts", + "src/components/sidebar/tabs/BaseWorkflowsSidebarTab.vue", + "src/components/sidebar/tabs/BaseWorkflowsSidebarTab.test.ts", + "src/components/sidebar/tabs/WorkflowsSidebarTab.vue", + "src/components/sidebar/tabs/workflows/WorkflowTreeLeaf.vue", "src/composables/useWorkflowActionsMenu.ts", "src/composables/useWorkflowActionsMenu.test.ts", + "src/platform/workflow/core/canvasTrackerOwnership.ts", "src/platform/workflow/core/services/**", "src/platform/workflow/core/utils/pendingWarnings.ts", "src/platform/workflow/core/utils/pendingWarnings.test.ts", "src/platform/workflow/core/utils/restoreDynamicGroupInputs.ts", + "src/platform/workflow/core/utils/workflowId.ts", + "src/platform/workflow/core/utils/workflowId.test.ts", + "src/platform/workflow/core/utils/workflowToClipboardItems.ts", + "src/platform/workflow/core/utils/workflowToClipboardItems.integration.test.ts", + "src/platform/workflow/core/utils/workflowToClipboardItems.test.ts", + "src/platform/workflow/management/composables/**", "src/platform/workflow/management/stores/**", + "src/platform/workflow/utils/**", "src/scripts/changeTracker.ts", "src/scripts/changeTracker.test.ts", + "src/scripts/defaultGraph.ts", + "src/stores/userFileStore.ts", + "src/stores/userFileStore.test.ts", "src/stores/workflowTabActivityStore.ts", "src/stores/workflowTabActivityStore.test.ts", - "src/utils/syncUtil.ts" - ] - }, - { - "name": "workflow-management/infrastructure", - "patterns": [ - "src/platform/workflow/utils/**", - "src/stores/userFileStore.ts", - "src/stores/userFileStore.test.ts" - ] - }, - { - "name": "workflow-management/presentation", - "patterns": [ - "src/components/common/WorkflowActionsDropdown.vue", - "src/components/common/WorkflowActionsDropdown.test.ts", - "src/components/dialog/UnloadWindowConfirmDialog.vue", - "src/components/dialog/UnloadWindowConfirmDialog.test.ts", - "src/components/sidebar/tabs/AppsSidebarTab.vue", - "src/components/sidebar/tabs/AppsSidebarTab.test.ts", - "src/components/sidebar/tabs/BaseWorkflowsSidebarTab.vue", - "src/components/sidebar/tabs/BaseWorkflowsSidebarTab.test.ts", - "src/components/sidebar/tabs/WorkflowsSidebarTab.vue", - "src/components/sidebar/tabs/workflows/WorkflowTreeLeaf.vue" - ] - }, - { - "name": "workflow-management/integration", - "patterns": ["src/platform/workflow/management/composables/**"] - }, - { - "name": "workflow-persistence/infrastructure", - "patterns": [ - "src/platform/workflow/persistence/base/storageIO.ts", - "src/platform/workflow/persistence/base/storageIO.test.ts", - "src/platform/workflow/persistence/base/storageKeys.ts", - "src/platform/workflow/persistence/base/storageKeys.test.ts", - "src/platform/workflow/persistence/composables/useWorkflowTabState.ts", - "src/platform/workflow/persistence/composables/useWorkflowTabState.test.ts" - ] - }, - { - "name": "workflow-persistence/integration", - "patterns": [ - "src/platform/workflow/persistence/composables/useWorkflowPersistenceV2.ts", - "src/platform/workflow/persistence/composables/useWorkflowPersistenceV2.test.ts" - ] - }, - { - "name": "workflow-sharing/application", - "patterns": [ - "src/platform/workflow/sharing/utils/shareAuthAttribution.ts", - "src/platform/workflow/sharing/utils/shareAuthAttribution.test.ts" - ] - }, - { - "name": "workflow-sharing/infrastructure", - "patterns": ["src/platform/workflow/sharing/services/**"] - }, - { - "name": "workflow-sharing/presentation", - "patterns": [ - "src/platform/workflow/sharing/components/**", - "src/platform/workflow/sharing/composables/useAssetSections.ts", - "src/platform/workflow/sharing/composables/useSliderFromMouse.ts", - "src/platform/workflow/sharing/utils/validateFileSize.ts" - ] - }, - { - "name": "workflow-templates/domain", - "patterns": [ - "src/platform/workflow/templates/utils/**", + "src/types/workflowMenuItem.ts", + "src/utils/syncUtil.ts", + "src/platform/workflow/persistence/**", + "src/platform/workflow/sharing/**", + "src/components/actionbar/PartnerNodesEducationCard.vue", + "src/components/actionbar/PartnerNodesEducationCard.test.ts", + "src/components/sidebar/SidebarTemplatesButton.vue", + "src/components/sidebar/SidebarTemplatesButton.test.ts", + "src/platform/workflow/templates/**", "packages/shared-frontend-utils/src/templateRanking.ts", "packages/shared-frontend-utils/src/templateRanking.test.ts", "packages/shared-frontend-utils/src/templateSearch.ts", "packages/shared-frontend-utils/src/templateSearch.test.ts", "packages/api-client/src/templateSchema.ts", - "packages/api-client/src/templateTypes.ts" - ] - }, - { - "name": "workflow-templates/infrastructure", - "patterns": [ - "src/platform/workflow/templates/repositories/workflowTemplatesStore.ts" - ] - }, - { - "name": "workflow-templates/presentation", - "patterns": [ - "src/components/actionbar/PartnerNodesEducationCard.vue", - "src/components/actionbar/PartnerNodesEducationCard.test.ts", - "src/components/sidebar/SidebarTemplatesButton.vue", - "src/components/sidebar/SidebarTemplatesButton.test.ts", - "src/platform/workflow/templates/components/**" - ] - }, - { - "name": "workflow-thumbnails/infrastructure", - "patterns": ["src/renderer/core/thumbnail/graphThumbnailRenderer.ts"] - }, - { - "name": "workspace/domain", - "patterns": [ - "src/platform/workspace/workspaceConstants.ts", - "src/platform/workspace/workspaceTypes.ts", - "packages/account-core/src/workspaceLink.ts", - "packages/account-core/src/workspaceLink.test.ts" - ] - }, - { - "name": "workspace/application", - "patterns": [ + "packages/api-client/src/templateTypes.ts", + "src/renderer/core/thumbnail/**", + "src/platform/workspace/api/__mocks__/**", + "src/platform/workspace/api/partnerNodePolicyApi.ts", + "src/platform/workspace/api/partnerNodePolicyApi.test.ts", + "src/platform/workspace/api/webSessionAdapter.test.ts", + "src/platform/workspace/api/workspaceApi.ts", + "src/platform/workspace/api/workspaceApi.test.ts", + "src/platform/workspace/api/workspaceApi.webSessionRetry.test.ts", + "src/platform/workspace/api/workspaceApiAuth.ts", + "src/platform/workspace/api/workspaceApiUrl.test.ts", + "src/platform/workspace/components/InviteMembersForm.vue", + "src/platform/workspace/components/InviteMembersForm.test.ts", + "src/platform/workspace/components/WorkspaceProfilePic.vue", + "src/platform/workspace/components/dialogs/**", "src/platform/workspace/composables/__mocks__/**", "src/platform/workspace/composables/useWorkspaceSwitch.ts", "src/platform/workspace/composables/useWorkspaceSwitch.test.ts", "src/platform/workspace/composables/useWorkspaceUI.ts", "src/platform/workspace/composables/useWorkspaceUI.test.ts", + "src/platform/workspace/composables/useWorkspaceUrlLoader.ts", + "src/platform/workspace/composables/useWorkspaceUrlLoader.test.ts", "src/platform/workspace/fixtures/**", "src/platform/workspace/stores/partnerNodeGovernanceStore.ts", "src/platform/workspace/stores/partnerNodeGovernanceStore.test.ts", "src/platform/workspace/stores/teamWorkspaceStore.ts", "src/platform/workspace/stores/teamWorkspaceStore.test.ts", - "src/platform/workspace/utils/inviteLinks.ts", - "src/platform/workspace/utils/inviteLinks.test.ts", - "src/platform/workspace/utils/platformLink.ts", - "src/platform/workspace/utils/platformLink.test.ts", + "src/platform/workspace/utils/**", + "src/platform/workspace/workspaceConstants.ts", + "src/platform/workspace/workspaceTypes.ts", "src/storybook/mocks/teamWorkspaceStore.ts", - "src/storybook/mocks/useWorkspaceUI.ts" - ] - }, - { - "name": "workspace/infrastructure", - "patterns": [ - "src/platform/workspace/api/__mocks__/**", - "src/platform/workspace/api/partnerNodePolicyApi.ts", - "src/platform/workspace/api/partnerNodePolicyApi.test.ts", - "src/platform/workspace/api/webSessionAdapter.test.ts", - "src/platform/workspace/api/workspaceApi.ts", - "src/platform/workspace/api/workspaceApi.test.ts", - "src/platform/workspace/api/workspaceApi.webSessionRetry.test.ts", - "src/platform/workspace/api/workspaceApiUrl.test.ts" - ] - }, - { - "name": "workspace/presentation", - "patterns": [ - "src/platform/workspace/components/InviteMembersForm.vue", - "src/platform/workspace/components/InviteMembersForm.test.ts", - "src/platform/workspace/components/WorkspaceProfilePic.vue", - "src/platform/workspace/components/dialogs/**" + "src/storybook/mocks/useWorkspaceUI.ts", + "packages/account-core/src/workspaceLink.ts", + "packages/account-core/src/workspaceLink.test.ts" ] }, { - "name": "workspace/integration", + "name": "image-compare", "patterns": [ - "src/platform/workspace/api/workspaceApiAuth.ts", - "src/platform/workspace/composables/useWorkspaceUrlLoader.ts", - "src/platform/workspace/composables/useWorkspaceUrlLoader.test.ts" + "src/extensions/core/imageCompare.ts", + "src/lib/litegraph/src/widgets/ImageCompareWidget.ts", + "src/renderer/extensions/vueNodes/widgets/components/WidgetImageCompare.vue", + "src/renderer/extensions/vueNodes/widgets/components/WidgetImageCompare.test.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useImageCompareImages.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useImageCompareImages.test.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useImageCompareWidget.ts" ] }, { - "name": "agent/integration/outer-1", - "patterns": ["src/workbench/extensions/agent/crdt/__fixtures__/**"] - }, - { - "name": "app-builder/presentation/outer-1", - "patterns": ["src/components/builder/**"] - }, - { - "name": "app-host/domain/outer-1", - "patterns": ["src/constants/**"] - }, - { - "name": "app-host/presentation/outer-1", - "patterns": ["src/views/**"] - }, - { - "name": "assets/application/outer-1", - "patterns": ["src/platform/assets/composables/**"] - }, - { - "name": "assets/presentation/outer-1", - "patterns": ["src/components/sidebar/tabs/**"] - }, - { - "name": "assets/integration/outer-1", - "patterns": ["src/composables/sidebarTabs/**"] - }, - { - "name": "authentication/application/outer-1", - "patterns": ["packages/account-core/src/**"] - }, - { - "name": "authentication/infrastructure/outer-1", + "name": "image-compositor", "patterns": [ - "src/config/**", - "src/platform/auth/localWeb/**", - "src/platform/auth/partnerNode/**" + "src/extensions/core/imageCompositor.ts", + "src/extensions/core/imageCompositor.test.ts", + "src/extensions/core/layerEditor.ts", + "src/lib/litegraph/src/widgets/CompositorWidget.ts", + "src/renderer/extensions/compositor/**", + "src/renderer/extensions/layerEditor/**", + "src/renderer/extensions/vueNodes/widgets/composables/useCompositorWidget.ts", + "packages/layer-editor/src/**" ] }, { - "name": "authentication/presentation/outer-1", - "patterns": ["packages/account-ui/src/auth/**"] - }, - { - "name": "billing/domain/outer-1", - "patterns": ["src/platform/billing/subscription/utils/**"] - }, - { - "name": "billing/application/outer-1", - "patterns": ["src/storybook/**"] - }, - { - "name": "billing/infrastructure/outer-1", + "name": "image-crop", "patterns": [ - "src/platform/billing/sdk/**", - "src/platform/billing/utils/**", - "src/services/__mocks__/**" + "src/components/imagecrop/**", + "src/composables/useImageCrop.ts", + "src/composables/useImageCrop.test.ts", + "src/extensions/core/imageCrop.ts", + "src/lib/litegraph/src/widgets/ImageCropWidget.ts" ] }, { - "name": "billing/presentation/outer-1", - "patterns": ["packages/account-ui/src/billing/**"] - }, - { - "name": "bottom-panel/integration/outer-1", - "patterns": ["src/composables/bottomPanelTabs/**"] - }, - { - "name": "bounding-boxes/application/outer-1", - "patterns": ["src/composables/boundingBoxes/**"] - }, - { - "name": "browser-export/infrastructure/outer-1", - "patterns": ["src/base/common/**"] - }, - { - "name": "canvas-renderer/application/outer-1", + "name": "ingest-api", "patterns": [ - "src/renderer/core/canvas/__tests__/**", - "src/renderer/core/canvas/interaction/**" + "src/platform/remote/ingest/ingestApiError.ts", + "src/platform/remote/ingest/ingestApiUrl.ts", + "src/platform/remote/ingest/webSessionAdapter.ts", + "src/platform/remote/ingest/capabilityRevision.ts", + "packages/ingest-types/src/**", + "src/platform/remote/ingest/ingestTypesContract.test.ts" ] }, { - "name": "canvas-renderer/infrastructure/outer-1", - "patterns": ["src/composables/element/**"] - }, - { - "name": "canvas-renderer/integration/outer-1", - "patterns": ["src/renderer/core/canvas/links/**"] - }, - { - "name": "cloud/domain/outer-1", + "name": "mask-editor", "patterns": [ - "src/platform/cloud/onboarding/sso/**", - "src/platform/distribution/**" + "src/extensions/core/clipspace.ts", + "src/extensions/core/maskeditor.ts", + "src/extensions/core/maskeditor.test.ts", + "src/renderer/extensions/maskEditor/**", + "src/scripts/clipspace.ts", + "src/scripts/clipspace.test.ts", + "src/utils/__fixtures__/**", + "src/utils/pngEncodeUtil.ts", + "src/utils/pngEncodeUtil.test.ts", + "packages/mask-editor/src/**" ] }, { - "name": "cloud/application/outer-1", - "patterns": ["src/platform/cloud/onboarding/composables/**"] - }, - { - "name": "cloud/infrastructure/outer-1", + "name": "painter", "patterns": [ - "src/platform/cloud/oauth/**", - "src/platform/telemetry/providers/**" + "src/renderer/extensions/painter/**", + "src/extensions/core/painter.ts", + "src/lib/litegraph/src/widgets/PainterWidget.ts", + "src/renderer/extensions/vueNodes/widgets/composables/usePainterWidget.ts" ] }, { - "name": "comfyui-api/domain/outer-1", - "patterns": ["src/platform/remote/comfyui/**"] - }, - { - "name": "design-system/domain/outer-1", - "patterns": ["src/components/curve/**", "src/components/range/**"] - }, - { - "name": "design-system/presentation/outer-1", - "patterns": ["src/components/common/**", "src/components/palette/**"] - }, - { - "name": "dialog-host/presentation/outer-1", - "patterns": ["src/components/dialog/**"] - }, - { - "name": "error-handling/application/outer-1", - "patterns": ["src/composables/__mocks__/**"] - }, - { - "name": "extension-manager/domain/outer-1", - "patterns": ["src/platform/customNodes/manager/types/**"] - }, - { - "name": "extension-manager/presentation/outer-1", + "name": "server-facts", "patterns": [ - "src/platform/customNodes/manager/components/**", - "src/platform/customNodes/manager/composables/dialogs/**" + "src/platform/serverFacts/**", + "src/utils/__tests__/serverFactGate.ts" ] }, { - "name": "extension-runtime/infrastructure/outer-1", - "patterns": ["src/scripts/__mocks__/**"] - }, - { - "name": "extension-runtime/presentation/outer-1", - "patterns": ["src/scripts/ui/**"] - }, - { - "name": "first-run-tour/application/outer-1", - "patterns": ["src/renderer/extensions/firstRunTour/tour/**"] - }, - { - "name": "glsl-preview/application/outer-1", - "patterns": ["src/renderer/glsl/**"] - }, - { - "name": "graph-compatibility/integration/outer-1", - "patterns": ["src/utils/__mocks__/**"] - }, - { - "name": "graph-layout/application/outer-1", - "patterns": ["src/renderer/core/layout/transform/**"] - }, - { - "name": "graph-layout/integration/outer-1", - "patterns": ["src/renderer/core/layout/operations/**"] + "name": "webcam-capture", + "patterns": ["src/extensions/core/webcamCapture.ts"] }, { - "name": "graph-model/domain/outer-1", + "name": "_inventory/outer-1", "patterns": [ + "src/constants/**", + "src/views/**", + "src/components/sidebar/tabs/**", + "src/composables/sidebarTabs/**", + "src/config/**", + "packages/account-core/src/**", + "src/services/__mocks__/**", + "src/storybook/**", + "src/base/common/**", + "src/composables/element/**", + "src/platform/distribution/**", + "src/platform/telemetry/providers/**", + "src/platform/remote/comfyui/**", + "src/components/common/**", + "src/components/curve/**", + "src/components/palette/**", + "src/components/range/**", + "src/components/dialog/**", + "src/composables/__mocks__/**", + "src/scripts/ui/**", + "src/utils/__mocks__/**", + "src/lib/litegraph/src/__fixtures__/**", "src/lib/litegraph/src/infrastructure/**", "src/lib/litegraph/src/node/**", "src/lib/litegraph/src/types/**", - "src/lib/litegraph/src/utils/**" + "src/lib/litegraph/src/utils/**", + "src/components/actionbar/**", + "src/extensions/core/load3d/components/**", + "packages/viewport3d/src/load3d/**", + "src/stores/workspace/**", + "src/lib/litegraph/src/widgets/**", + "src/components/rightSidePanel/**", + "src/composables/canvas/**", + "src/core/graph/subgraph/**", + "src/lib/litegraph/src/subgraph/**", + "packages/telemetry/src/**", + "src/utils/__tests__/**", + "src/platform/updates/common/**", + "src/composables/node/**", + "src/renderer/extensions/vueNodes/widgets/components/**", + "src/renderer/extensions/vueNodes/widgets/utils/**", + "src/platform/workflow/**", + "src/components/topbar/**" ] }, { - "name": "graph-model/integration/outer-1", - "patterns": ["src/lib/litegraph/src/__fixtures__/**"] - }, - { - "name": "hdr-viewer/domain/outer-1", - "patterns": ["src/renderer/hdr/**"] - }, - { - "name": "image-compositor/application/outer-1", + "name": "_inventory/outer-2", "patterns": [ - "src/renderer/extensions/compositor/**", - "src/renderer/extensions/layerEditor/composables/**" + "src/base/**", + "src/platform/updates/**", + "packages/viewport3d/src/**", + "src/components/sidebar/**" ] }, { - "name": "job-queue/application/outer-1", - "patterns": ["src/composables/queue/**"] - }, - { - "name": "job-queue/presentation/outer-1", - "patterns": ["src/components/actionbar/**", "src/components/queue/**"] - }, - { - "name": "keybindings/domain/outer-1", - "patterns": ["packages/keybindings/src/**"] - }, - { - "name": "keybindings/application/outer-1", - "patterns": ["src/platform/keybindings/**"] - }, - { - "name": "linear-mode/presentation/outer-1", - "patterns": ["src/renderer/extensions/linearMode/**"] - }, - { - "name": "media-metadata/infrastructure/outer-1", - "patterns": ["src/scripts/metadata/**"] - }, - { - "name": "minimap/infrastructure/outer-1", - "patterns": ["src/renderer/extensions/minimap/**"] - }, - { - "name": "missing-media/application/outer-1", - "patterns": ["src/platform/workflowErrors/missingMedia/**"] - }, - { - "name": "model-3d/application/outer-1", - "patterns": ["packages/viewport3d/src/load3d/**"] - }, - { - "name": "model-3d/presentation/outer-1", - "patterns": ["src/extensions/core/load3d/components/**"] - }, - { - "name": "navigation/domain/outer-1", - "patterns": ["src/platform/navigation/**"] - }, + "name": "unclassified", + "patterns": ["src/**", "packages/*/src/**"] + } + ], + "rules": [ { - "name": "node-definition/domain/outer-1", - "patterns": ["src/schemas/**"] - }, - { - "name": "node-library/application/outer-1", - "patterns": ["src/stores/workspace/**"] - }, - { - "name": "node-replacement/application/outer-1", - "patterns": ["src/platform/workflowErrors/nodeReplacement/**"] - }, - { - "name": "node-widgets/presentation/outer-1", - "patterns": ["src/lib/litegraph/src/widgets/**"] - }, - { - "name": "onboarding-tours/presentation/outer-1", - "patterns": ["src/platform/onboarding/**"] - }, - { - "name": "properties-panel/presentation/outer-1", - "patterns": ["src/components/rightSidePanel/**"] - }, - { - "name": "remote-config/application/outer-1", - "patterns": ["src/platform/remoteConfig/**"] - }, - { - "name": "secrets/domain/outer-1", - "patterns": ["src/platform/secrets/**"] - }, - { - "name": "selection-toolbox/integration/outer-1", - "patterns": ["src/composables/canvas/**"] - }, - { - "name": "settings/application/outer-1", - "patterns": ["src/platform/settings/**"] - }, - { - "name": "skill-packs/application/outer-1", - "patterns": ["src/platform/skills/**"] - }, - { - "name": "startup-tracing/application/outer-1", - "patterns": ["src/platform/telemetry/perf/**"] - }, - { - "name": "subgraph-promotion/domain/outer-1", - "patterns": ["src/core/graph/subgraph/**"] - }, - { - "name": "subgraphs/domain/outer-1", - "patterns": ["src/lib/litegraph/src/subgraph/**"] - }, - { - "name": "support-feedback/application/outer-1", - "patterns": ["src/platform/support/**"] - }, - { - "name": "surveys/application/outer-1", - "patterns": ["src/platform/surveys/**"] - }, - { - "name": "telemetry/domain/outer-1", - "patterns": ["src/platform/telemetry/utils/**"] - }, - { - "name": "telemetry/application/outer-1", - "patterns": ["packages/telemetry/src/**"] - }, - { - "name": "telemetry/integration/outer-1", - "patterns": ["src/platform/telemetry/nodeAdded/**"] - }, - { - "name": "test-support/integration/outer-1", - "patterns": ["src/utils/__tests__/**"] - }, - { - "name": "version-compatibility/application/outer-1", - "patterns": ["src/platform/updates/common/**"] - }, - { - "name": "video-edit/application/outer-1", - "patterns": ["src/composables/video/**"] - }, - { - "name": "vue-node-renderer/application/outer-1", - "patterns": [ - "src/renderer/extensions/vueNodes/interactions/**", - "src/renderer/extensions/vueNodes/layout/**", - "src/renderer/extensions/vueNodes/utils/**" - ] - }, - { - "name": "vue-node-renderer/integration/outer-1", - "patterns": ["src/renderer/extensions/vueNodes/composables/**"] - }, - { - "name": "vue-node-widgets/presentation/outer-1", - "patterns": ["src/renderer/extensions/vueNodes/widgets/components/**"] - }, - { - "name": "vue-node-widgets/integration/outer-1", - "patterns": [ - "src/components/graph/widgets/**", - "src/composables/node/**", - "src/renderer/extensions/vueNodes/widgets/utils/**" - ] - }, - { - "name": "workflow-deployment/domain/outer-1", - "patterns": ["src/platform/workflow/deploy/**"] - }, - { - "name": "workflow-errors/application/outer-1", - "patterns": ["src/platform/workflowErrors/overlay/**"] - }, - { - "name": "workflow-errors/presentation/outer-1", - "patterns": ["src/platform/workflowErrors/panel/**"] - }, - { - "name": "workflow-management/presentation/outer-1", - "patterns": ["src/components/topbar/**"] - }, - { - "name": "workflow-persistence/domain/outer-1", - "patterns": ["src/platform/workflow/persistence/base/**"] - }, - { - "name": "workflow-sharing/application/outer-1", - "patterns": ["src/platform/workflow/sharing/composables/**"] - }, - { - "name": "workflow-templates/application/outer-1", - "patterns": ["src/platform/workflow/templates/**"] - }, - { - "name": "workflow-thumbnails/application/outer-1", - "patterns": ["src/renderer/core/thumbnail/**"] - }, - { - "name": "assets/domain/outer-2", - "patterns": ["src/platform/assets/**"] - }, - { - "name": "billing/application/outer-2", - "patterns": ["src/platform/billing/subscription/**"] - }, - { - "name": "browser-interaction/domain/outer-2", - "patterns": ["src/base/**"] - }, - { - "name": "cloud/presentation/outer-2", - "patterns": ["src/platform/cloud/onboarding/**"] - }, - { - "name": "extension-manager/application/outer-2", - "patterns": ["src/platform/customNodes/manager/**"] - }, - { - "name": "first-run-tour/presentation/outer-2", - "patterns": ["src/renderer/extensions/firstRunTour/**"] - }, - { - "name": "graph-layout/domain/outer-2", - "patterns": ["src/renderer/core/layout/**"] - }, - { - "name": "image-compositor/domain/outer-2", - "patterns": ["src/renderer/extensions/layerEditor/**"] - }, - { - "name": "release-notes/presentation/outer-2", - "patterns": ["src/platform/updates/**"] - }, - { - "name": "viewport-3d/application/outer-2", - "patterns": ["packages/viewport3d/src/**"] - }, - { - "name": "workbench-shell/presentation/outer-2", - "patterns": ["src/components/sidebar/**"] - }, - { - "name": "workflow-persistence/application/outer-2", - "patterns": ["src/platform/workflow/persistence/**"] - }, - { - "name": "workflow-sharing/domain/outer-2", - "patterns": ["src/platform/workflow/sharing/**"] - }, - { - "name": "cloud/application/outer-3", - "patterns": ["src/platform/cloud/**"] - }, - { - "name": "workflow-format/domain/outer-3", - "patterns": ["src/platform/workflow/**"] - }, - { - "name": "unclassified", - "patterns": ["src/**", "packages/*/src/**"] - } - ], - "rules": [ - { - "from": "account/presentation/public", - "allow": [ - "account/presentation/public", - "ingest-api/domain/public", - "server-facts/domain/public", - "account/presentation", - "billing/domain", - "billing/application", - "billing/presentation", - "workspace/domain", - "workspace/application", - "workspace/presentation", - "billing/domain/outer-1", - "billing/application/outer-1", - "billing/presentation/outer-1", - "billing/application/outer-2", - "unclassified" - ] - }, - { - "from": "account/integration/public", - "allow": [ - "account/presentation/public", - "account/integration/public", - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "server-facts/domain/public", - "account/presentation", - "account/integration", - "billing/domain", - "billing/application", - "billing/infrastructure", - "billing/presentation", - "billing/integration", - "workspace/domain", - "workspace/application", - "workspace/infrastructure", - "workspace/presentation", - "workspace/integration", - "billing/domain/outer-1", - "billing/application/outer-1", - "billing/infrastructure/outer-1", - "billing/presentation/outer-1", - "billing/application/outer-2", - "unclassified" - ] - }, - { - "from": "comfyui-api/domain/public", - "allow": [ - "comfyui-api/domain/public", - "comfyui-api/domain", - "comfyui-api/domain/outer-1", - "unclassified" - ] - }, - { - "from": "ingest-api/domain/public", - "allow": [ - "ingest-api/domain/public", - "ingest-api/domain", - "unclassified" - ] - }, - { - "from": "ingest-api/infrastructure/public", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "ingest-api/domain", - "ingest-api/infrastructure", - "unclassified" - ] - }, - { - "from": "keybindings/application/public", - "allow": [ - "keybindings/application/public", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "error-handling/domain", - "error-handling/application", - "keybindings/domain", - "keybindings/application", - "design-system/domain/outer-1", - "error-handling/application/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "keybindings/integration/public", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "design-system/presentation", - "error-handling/domain", - "error-handling/application", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "error-handling/application/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "node-definition/domain/public", - "allow": [ - "node-definition/domain/public", - "extension-manager/domain", - "node-definition/domain", - "extension-manager/domain/outer-1", - "node-definition/domain/outer-1", - "unclassified" - ] - }, - { - "from": "remote-config/infrastructure/public", - "allow": [ - "remote-config/infrastructure/public", - "remote-config/domain", - "remote-config/application", - "remote-config/infrastructure", - "remote-config/application/outer-1", - "unclassified" - ] - }, - { - "from": "server-facts/domain/public", - "allow": [ - "server-facts/domain/public", - "server-facts/domain", - "unclassified" - ] - }, - { - "from": "webcam-capture/integration/public", - "allow": [ - "webcam-capture/integration/public", - "webcam-capture/integration", - "unclassified" - ] - }, - { - "from": "account/presentation", - "allow": [ - "account/presentation/public", - "ingest-api/domain/public", - "server-facts/domain/public", - "account/presentation", - "billing/domain", - "billing/application", - "billing/presentation", - "workspace/domain", - "workspace/application", - "workspace/presentation", - "billing/domain/outer-1", - "billing/application/outer-1", - "billing/presentation/outer-1", - "billing/application/outer-2", - "unclassified" - ] - }, - { - "from": "account/integration", - "allow": [ - "account/presentation/public", - "account/integration/public", - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "server-facts/domain/public", - "account/presentation", - "account/integration", - "billing/domain", - "billing/application", - "billing/infrastructure", - "billing/presentation", - "billing/integration", - "workspace/domain", - "workspace/application", - "workspace/infrastructure", - "workspace/presentation", - "workspace/integration", - "billing/domain/outer-1", - "billing/application/outer-1", - "billing/infrastructure/outer-1", - "billing/presentation/outer-1", - "billing/application/outer-2", - "unclassified" - ] - }, - { - "from": "agent/domain", - "allow": [ - "agent/domain", - "app-host/domain", - "authentication/domain", - "design-system/domain", - "dialog-host/domain", - "error-reporting/domain", - "extension-runtime/domain", - "keybindings/domain", - "settings/domain", - "workbench-shell/domain", - "workflow-management/domain", - "app-host/domain/outer-1", - "design-system/domain/outer-1", - "keybindings/domain/outer-1", - "unclassified" - ] - }, - { - "from": "agent/application", - "allow": [ - "keybindings/application/public", - "agent/domain", - "agent/application", - "agent/infrastructure", - "app-host/domain", - "app-host/application", - "app-host/infrastructure", - "authentication/domain", - "authentication/application", - "authentication/infrastructure", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "dialog-host/domain", - "dialog-host/application", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/infrastructure", - "keybindings/domain", - "keybindings/application", - "settings/domain", - "settings/application", - "settings/infrastructure", - "workbench-shell/domain", - "workbench-shell/application", - "workbench-shell/infrastructure", - "workflow-management/domain", - "workflow-management/application", - "workflow-management/infrastructure", - "app-host/domain/outer-1", - "authentication/application/outer-1", - "authentication/infrastructure/outer-1", - "design-system/domain/outer-1", - "extension-runtime/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "settings/application/outer-1", - "unclassified" - ] - }, - { - "from": "agent/infrastructure", - "allow": [ - "keybindings/application/public", - "agent/domain", - "agent/application", - "agent/infrastructure", - "app-host/domain", - "app-host/application", - "app-host/infrastructure", - "authentication/domain", - "authentication/application", - "authentication/infrastructure", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "dialog-host/domain", - "dialog-host/application", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/infrastructure", - "keybindings/domain", - "keybindings/application", - "settings/domain", - "settings/application", - "settings/infrastructure", - "workbench-shell/domain", - "workbench-shell/application", - "workbench-shell/infrastructure", - "workflow-management/domain", - "workflow-management/application", - "workflow-management/infrastructure", - "app-host/domain/outer-1", - "authentication/application/outer-1", - "authentication/infrastructure/outer-1", - "design-system/domain/outer-1", - "extension-runtime/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "settings/application/outer-1", - "unclassified" - ] - }, - { - "from": "agent/presentation", - "allow": [ - "keybindings/application/public", - "agent/domain", - "agent/application", - "agent/presentation", - "app-host/domain", - "app-host/application", - "app-host/presentation", - "authentication/domain", - "authentication/application", - "authentication/presentation", - "design-system/domain", - "design-system/application", - "design-system/presentation", - "dialog-host/domain", - "dialog-host/application", - "error-reporting/domain", - "error-reporting/application", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "settings/domain", - "settings/application", - "settings/presentation", - "workbench-shell/domain", - "workbench-shell/application", - "workbench-shell/presentation", - "workflow-management/domain", - "workflow-management/application", - "workflow-management/presentation", - "app-host/domain/outer-1", - "app-host/presentation/outer-1", - "authentication/application/outer-1", - "authentication/presentation/outer-1", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "dialog-host/presentation/outer-1", - "extension-runtime/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "settings/application/outer-1", - "workflow-management/presentation/outer-1", - "workbench-shell/presentation/outer-2", - "unclassified" - ] - }, - { - "from": "agent/integration", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "agent/domain", - "agent/application", - "agent/infrastructure", - "agent/presentation", - "agent/integration", - "app-host/domain", - "app-host/application", - "app-host/infrastructure", - "app-host/presentation", - "app-host/integration", - "authentication/domain", - "authentication/application", - "authentication/infrastructure", - "authentication/presentation", - "authentication/integration", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "design-system/presentation", - "dialog-host/domain", - "dialog-host/application", - "dialog-host/integration", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/infrastructure", - "extension-runtime/presentation", - "extension-runtime/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "settings/domain", - "settings/application", - "settings/infrastructure", - "settings/presentation", - "settings/integration", - "workbench-shell/domain", - "workbench-shell/application", - "workbench-shell/infrastructure", - "workbench-shell/presentation", - "workbench-shell/integration", - "workflow-management/domain", - "workflow-management/application", - "workflow-management/infrastructure", - "workflow-management/presentation", - "workflow-management/integration", - "agent/integration/outer-1", - "app-host/domain/outer-1", - "app-host/presentation/outer-1", - "authentication/application/outer-1", - "authentication/infrastructure/outer-1", - "authentication/presentation/outer-1", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "dialog-host/presentation/outer-1", - "extension-runtime/infrastructure/outer-1", - "extension-runtime/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "settings/application/outer-1", - "workflow-management/presentation/outer-1", - "workbench-shell/presentation/outer-2", - "unclassified" - ] - }, - { - "from": "app-builder/domain", - "allow": ["app-builder/domain", "unclassified"] - }, - { - "from": "app-builder/application", - "allow": [ - "app-builder/domain", - "app-builder/application", - "unclassified" - ] - }, - { - "from": "app-host/domain", - "allow": [ - "app-host/domain", - "error-reporting/domain", - "extension-manager/domain", - "keybindings/domain", - "telemetry/domain", - "app-host/domain/outer-1", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "app-host/application", - "allow": [ - "keybindings/application/public", - "app-host/domain", - "app-host/application", - "app-host/infrastructure", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "extension-manager/domain", - "extension-manager/infrastructure", - "keybindings/domain", - "keybindings/application", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "app-host/domain/outer-1", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "app-host/infrastructure", - "allow": [ - "keybindings/application/public", - "app-host/domain", - "app-host/application", - "app-host/infrastructure", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "extension-manager/domain", - "extension-manager/infrastructure", - "keybindings/domain", - "keybindings/application", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "app-host/domain/outer-1", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "app-host/presentation", - "allow": [ - "account/presentation/public", - "keybindings/application/public", - "app-host/domain", - "app-host/application", - "app-host/presentation", - "error-reporting/domain", - "error-reporting/application", - "extension-manager/domain", - "extension-manager/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "telemetry/domain", - "telemetry/application", - "app-host/domain/outer-1", - "app-host/presentation/outer-1", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "app-host/integration", - "allow": [ - "account/presentation/public", - "account/integration/public", - "keybindings/application/public", - "keybindings/integration/public", - "app-host/domain", - "app-host/application", - "app-host/infrastructure", - "app-host/presentation", - "app-host/integration", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "extension-manager/domain", - "extension-manager/infrastructure", - "extension-manager/presentation", - "extension-manager/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "telemetry/integration", - "app-host/domain/outer-1", - "app-host/presentation/outer-1", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "telemetry/integration/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "assets/domain", - "allow": ["assets/domain", "assets/domain/outer-2", "unclassified"] - }, - { - "from": "assets/application", - "allow": [ - "assets/domain", - "assets/application", - "assets/infrastructure", - "assets/application/outer-1", - "assets/domain/outer-2", - "unclassified" - ] - }, - { - "from": "assets/infrastructure", - "allow": [ - "assets/domain", - "assets/application", - "assets/infrastructure", - "assets/application/outer-1", - "assets/domain/outer-2", - "unclassified" - ] - }, - { - "from": "assets/presentation", - "allow": [ - "assets/domain", - "assets/application", - "assets/presentation", - "assets/application/outer-1", - "assets/presentation/outer-1", - "assets/domain/outer-2", - "unclassified" - ] - }, - { - "from": "assets/integration", - "allow": [ - "assets/domain", - "assets/application", - "assets/infrastructure", - "assets/presentation", - "assets/integration", - "assets/application/outer-1", - "assets/presentation/outer-1", - "assets/integration/outer-1", - "assets/domain/outer-2", - "unclassified" - ] - }, - { - "from": "async-control/application", - "allow": ["async-control/application", "unclassified"] - }, - { - "from": "audio/application", - "allow": ["audio/application", "audio/infrastructure", "unclassified"] - }, - { - "from": "audio/infrastructure", - "allow": ["audio/application", "audio/infrastructure", "unclassified"] - }, - { - "from": "audio/presentation", - "allow": ["audio/application", "audio/presentation", "unclassified"] - }, - { - "from": "audio/integration", - "allow": [ - "audio/application", - "audio/infrastructure", - "audio/presentation", - "audio/integration", - "unclassified" - ] - }, - { - "from": "authentication/domain", - "allow": [ - "ingest-api/domain/public", - "authentication/domain", - "keybindings/domain", - "telemetry/domain", - "keybindings/domain/outer-1", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "authentication/application", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "keybindings/application/public", - "authentication/domain", - "authentication/application", - "authentication/infrastructure", - "keybindings/domain", - "keybindings/application", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "authentication/application/outer-1", - "authentication/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "authentication/infrastructure", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "keybindings/application/public", - "authentication/domain", - "authentication/application", - "authentication/infrastructure", - "keybindings/domain", - "keybindings/application", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "authentication/application/outer-1", - "authentication/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "authentication/presentation", - "allow": [ - "account/presentation/public", - "ingest-api/domain/public", - "keybindings/application/public", - "authentication/domain", - "authentication/application", - "authentication/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "telemetry/domain", - "telemetry/application", - "authentication/application/outer-1", - "authentication/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "authentication/integration", - "allow": [ - "account/presentation/public", - "account/integration/public", - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "keybindings/application/public", - "keybindings/integration/public", - "authentication/domain", - "authentication/application", - "authentication/infrastructure", - "authentication/presentation", - "authentication/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "telemetry/integration", - "authentication/application/outer-1", - "authentication/infrastructure/outer-1", - "authentication/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "telemetry/integration/outer-1", - "unclassified" - ] - }, - { - "from": "billing/domain", - "allow": [ - "ingest-api/domain/public", - "server-facts/domain/public", - "billing/domain", - "design-system/domain", - "keybindings/domain", - "telemetry/domain", - "billing/domain/outer-1", - "design-system/domain/outer-1", - "keybindings/domain/outer-1", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "billing/application", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "keybindings/application/public", - "server-facts/domain/public", - "billing/domain", - "billing/application", - "billing/infrastructure", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "keybindings/domain", - "keybindings/application", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "billing/domain/outer-1", - "billing/application/outer-1", - "billing/infrastructure/outer-1", - "design-system/domain/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "billing/application/outer-2", - "unclassified" - ] - }, - { - "from": "billing/infrastructure", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "keybindings/application/public", - "server-facts/domain/public", - "billing/domain", - "billing/application", - "billing/infrastructure", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "keybindings/domain", - "keybindings/application", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "billing/domain/outer-1", - "billing/application/outer-1", - "billing/infrastructure/outer-1", - "design-system/domain/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "billing/application/outer-2", - "unclassified" - ] - }, - { - "from": "billing/presentation", - "allow": [ - "ingest-api/domain/public", - "keybindings/application/public", - "server-facts/domain/public", - "billing/domain", - "billing/application", - "billing/presentation", - "design-system/domain", - "design-system/application", - "design-system/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "telemetry/domain", - "telemetry/application", - "billing/domain/outer-1", - "billing/application/outer-1", - "billing/presentation/outer-1", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "billing/application/outer-2", - "unclassified" - ] - }, - { - "from": "billing/integration", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "keybindings/application/public", - "keybindings/integration/public", - "server-facts/domain/public", - "billing/domain", - "billing/application", - "billing/infrastructure", - "billing/presentation", - "billing/integration", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "design-system/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "telemetry/integration", - "billing/domain/outer-1", - "billing/application/outer-1", - "billing/infrastructure/outer-1", - "billing/presentation/outer-1", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "telemetry/integration/outer-1", - "billing/application/outer-2", - "unclassified" - ] - }, - { - "from": "bottom-panel/infrastructure", - "allow": [ - "keybindings/application/public", - "bottom-panel/infrastructure", - "keybindings/domain", - "keybindings/application", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "bottom-panel/presentation", - "allow": [ - "keybindings/application/public", - "bottom-panel/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "bounding-boxes/domain", - "allow": [ - "bounding-boxes/domain", - "design-system/domain", - "dialog-host/domain", - "graph-model/domain", - "vue-node-widgets/domain", - "design-system/domain/outer-1", - "graph-model/domain/outer-1", - "unclassified" - ] - }, - { - "from": "bounding-boxes/application", - "allow": [ - "bounding-boxes/domain", - "bounding-boxes/application", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "dialog-host/domain", - "dialog-host/application", - "graph-model/domain", - "graph-model/application", - "graph-model/infrastructure", - "vue-node-widgets/domain", - "vue-node-widgets/application", - "bounding-boxes/application/outer-1", - "design-system/domain/outer-1", - "graph-model/domain/outer-1", - "unclassified" - ] - }, - { - "from": "bounding-boxes/presentation", - "allow": [ - "bounding-boxes/domain", - "bounding-boxes/application", - "bounding-boxes/presentation", - "design-system/domain", - "design-system/application", - "design-system/presentation", - "dialog-host/domain", - "dialog-host/application", - "graph-model/domain", - "graph-model/application", - "vue-node-widgets/domain", - "vue-node-widgets/application", - "vue-node-widgets/presentation", - "bounding-boxes/application/outer-1", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "dialog-host/presentation/outer-1", - "graph-model/domain/outer-1", - "vue-node-widgets/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "bounding-boxes/integration", - "allow": [ - "bounding-boxes/domain", - "bounding-boxes/application", - "bounding-boxes/presentation", - "bounding-boxes/integration", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "design-system/presentation", - "dialog-host/domain", - "dialog-host/application", - "dialog-host/integration", - "graph-model/domain", - "graph-model/application", - "graph-model/infrastructure", - "graph-model/integration", - "vue-node-widgets/domain", - "vue-node-widgets/application", - "vue-node-widgets/presentation", - "vue-node-widgets/integration", - "bounding-boxes/application/outer-1", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "dialog-host/presentation/outer-1", - "graph-model/domain/outer-1", - "graph-model/integration/outer-1", - "vue-node-widgets/presentation/outer-1", - "vue-node-widgets/integration/outer-1", - "unclassified" - ] - }, - { - "from": "browser-export/infrastructure", - "allow": [ - "browser-export/infrastructure", - "browser-export/infrastructure/outer-1", - "unclassified" - ] - }, - { - "from": "browser-interaction/application", - "allow": [ - "browser-interaction/application", - "browser-interaction/infrastructure", - "browser-interaction/domain/outer-2", - "unclassified" - ] - }, - { - "from": "browser-interaction/infrastructure", - "allow": [ - "browser-interaction/application", - "browser-interaction/infrastructure", - "browser-interaction/domain/outer-2", - "unclassified" - ] - }, - { - "from": "camera-authoring/application", - "allow": ["camera-authoring/application", "unclassified"] - }, - { - "from": "camera-authoring/presentation", - "allow": [ - "camera-authoring/application", - "camera-authoring/presentation", - "unclassified" - ] - }, - { - "from": "camera-authoring/integration", - "allow": [ - "camera-authoring/application", - "camera-authoring/presentation", - "camera-authoring/integration", - "unclassified" - ] - }, - { - "from": "canvas-renderer/domain", - "allow": [ - "canvas-renderer/domain", - "keybindings/domain", - "keybindings/domain/outer-1", - "unclassified" - ] - }, - { - "from": "canvas-renderer/application", - "allow": [ - "keybindings/application/public", - "canvas-renderer/domain", - "canvas-renderer/application", - "canvas-renderer/infrastructure", - "keybindings/domain", - "keybindings/application", - "canvas-renderer/application/outer-1", - "canvas-renderer/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "canvas-renderer/infrastructure", - "allow": [ - "keybindings/application/public", - "canvas-renderer/domain", - "canvas-renderer/application", - "canvas-renderer/infrastructure", - "keybindings/domain", - "keybindings/application", - "canvas-renderer/application/outer-1", - "canvas-renderer/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "canvas-renderer/presentation", - "allow": [ - "keybindings/application/public", - "canvas-renderer/domain", - "canvas-renderer/application", - "canvas-renderer/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "canvas-renderer/application/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "canvas-renderer/integration", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "canvas-renderer/domain", - "canvas-renderer/application", - "canvas-renderer/infrastructure", - "canvas-renderer/presentation", - "canvas-renderer/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "canvas-renderer/application/outer-1", - "canvas-renderer/infrastructure/outer-1", - "canvas-renderer/integration/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "cloud/domain", - "allow": [ - "cloud/domain", - "telemetry/domain", - "cloud/domain/outer-1", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "cloud/application", - "allow": [ - "cloud/domain", - "cloud/application", - "cloud/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "cloud/domain/outer-1", - "cloud/application/outer-1", - "cloud/infrastructure/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "cloud/application/outer-3", - "unclassified" - ] - }, - { - "from": "cloud/infrastructure", - "allow": [ - "cloud/domain", - "cloud/application", - "cloud/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "cloud/domain/outer-1", - "cloud/application/outer-1", - "cloud/infrastructure/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "cloud/application/outer-3", - "unclassified" - ] - }, - { - "from": "cloud/presentation", - "allow": [ - "cloud/domain", - "cloud/application", - "cloud/presentation", - "telemetry/domain", - "telemetry/application", - "cloud/domain/outer-1", - "cloud/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "cloud/presentation/outer-2", - "cloud/application/outer-3", - "unclassified" - ] - }, - { - "from": "cloud/integration", - "allow": [ - "cloud/domain", - "cloud/application", - "cloud/infrastructure", - "cloud/presentation", - "cloud/integration", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "telemetry/integration", - "cloud/domain/outer-1", - "cloud/application/outer-1", - "cloud/infrastructure/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "telemetry/integration/outer-1", - "cloud/presentation/outer-2", - "cloud/application/outer-3", - "unclassified" - ] - }, - { - "from": "color-palettes/domain", - "allow": ["color-palettes/domain", "unclassified"] - }, - { - "from": "color-palettes/application", - "allow": [ - "color-palettes/domain", - "color-palettes/application", - "unclassified" - ] - }, - { - "from": "comfy-registry/domain", - "allow": ["comfy-registry/domain", "unclassified"] - }, - { - "from": "comfy-registry/application", - "allow": [ - "comfy-registry/domain", - "comfy-registry/application", - "comfy-registry/infrastructure", - "unclassified" - ] - }, - { - "from": "comfy-registry/infrastructure", - "allow": [ - "comfy-registry/domain", - "comfy-registry/application", - "comfy-registry/infrastructure", - "unclassified" - ] - }, - { - "from": "comfyui-api/domain", - "allow": [ - "comfyui-api/domain/public", - "comfyui-api/domain", - "comfyui-api/domain/outer-1", - "unclassified" - ] - }, - { - "from": "design-system/domain", - "allow": [ - "design-system/domain", - "design-system/domain/outer-1", - "unclassified" - ] - }, - { - "from": "design-system/application", - "allow": [ - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "design-system/domain/outer-1", - "unclassified" - ] - }, - { - "from": "design-system/infrastructure", - "allow": [ - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "design-system/domain/outer-1", - "unclassified" - ] - }, - { - "from": "design-system/presentation", - "allow": [ - "design-system/domain", - "design-system/application", - "design-system/presentation", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "dialog-host/domain", - "allow": [ - "dialog-host/domain", - "error-reporting/domain", - "keybindings/domain", - "keybindings/domain/outer-1", - "unclassified" - ] - }, - { - "from": "dialog-host/application", - "allow": [ - "keybindings/application/public", - "dialog-host/domain", - "dialog-host/application", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "keybindings/domain", - "keybindings/application", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "dialog-host/integration", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "dialog-host/domain", - "dialog-host/application", - "dialog-host/integration", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "dialog-host/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "error-catalog/domain", - "allow": ["error-catalog/domain", "unclassified"] - }, - { - "from": "error-handling/domain", - "allow": ["error-handling/domain", "unclassified"] - }, - { - "from": "error-handling/application", - "allow": [ - "error-handling/domain", - "error-handling/application", - "error-handling/application/outer-1", - "unclassified" - ] - }, - { - "from": "error-reporting/domain", - "allow": [ - "ingest-api/domain/public", - "app-host/domain", - "error-reporting/domain", - "runtime-guards/domain", - "telemetry/domain", - "app-host/domain/outer-1", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "error-reporting/application", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "app-host/domain", - "app-host/application", - "app-host/infrastructure", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "runtime-guards/domain", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "app-host/domain/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "error-reporting/infrastructure", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "app-host/domain", - "app-host/application", - "app-host/infrastructure", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "runtime-guards/domain", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "app-host/domain/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "execution/domain", - "allow": [ - "execution/domain", - "workflow-management/domain", - "unclassified" - ] - }, - { - "from": "execution/application", - "allow": [ - "execution/domain", - "execution/application", - "execution/infrastructure", - "workflow-management/domain", - "workflow-management/application", - "workflow-management/infrastructure", - "unclassified" - ] - }, - { - "from": "execution/infrastructure", - "allow": [ - "execution/domain", - "execution/application", - "execution/infrastructure", - "workflow-management/domain", - "workflow-management/application", - "workflow-management/infrastructure", - "unclassified" - ] - }, - { - "from": "execution/presentation", - "allow": [ - "execution/domain", - "execution/application", - "execution/presentation", - "workflow-management/domain", - "workflow-management/application", - "workflow-management/presentation", - "workflow-management/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "execution/integration", - "allow": [ - "execution/domain", - "execution/application", - "execution/infrastructure", - "execution/presentation", - "execution/integration", - "workflow-management/domain", - "workflow-management/application", - "workflow-management/infrastructure", - "workflow-management/presentation", - "workflow-management/integration", - "workflow-management/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "extension-manager/domain", - "allow": [ - "app-host/domain", - "comfy-registry/domain", - "design-system/domain", - "dialog-host/domain", - "extension-manager/domain", - "extension-runtime/domain", - "keybindings/domain", - "system-info/domain", - "app-host/domain/outer-1", - "design-system/domain/outer-1", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "unclassified" - ] - }, - { - "from": "extension-manager/infrastructure", - "allow": [ - "keybindings/application/public", - "app-host/domain", - "app-host/application", - "app-host/infrastructure", - "comfy-registry/domain", - "comfy-registry/application", - "comfy-registry/infrastructure", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "dialog-host/domain", - "dialog-host/application", - "extension-manager/domain", - "extension-manager/infrastructure", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/infrastructure", - "keybindings/domain", - "keybindings/application", - "system-info/domain", - "system-info/application", - "app-host/domain/outer-1", - "design-system/domain/outer-1", - "extension-manager/domain/outer-1", - "extension-runtime/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "extension-manager/presentation", - "allow": [ - "keybindings/application/public", - "app-host/domain", - "app-host/application", - "app-host/presentation", - "comfy-registry/domain", - "comfy-registry/application", - "design-system/domain", - "design-system/application", - "design-system/presentation", - "dialog-host/domain", - "dialog-host/application", - "extension-manager/domain", - "extension-manager/presentation", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "system-info/domain", - "system-info/application", - "system-info/presentation", - "app-host/domain/outer-1", - "app-host/presentation/outer-1", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "dialog-host/presentation/outer-1", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "extension-runtime/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "extension-manager/integration", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "app-host/domain", - "app-host/application", - "app-host/infrastructure", - "app-host/presentation", - "app-host/integration", - "comfy-registry/domain", - "comfy-registry/application", - "comfy-registry/infrastructure", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "design-system/presentation", - "dialog-host/domain", - "dialog-host/application", - "dialog-host/integration", - "extension-manager/domain", - "extension-manager/infrastructure", - "extension-manager/presentation", - "extension-manager/integration", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/infrastructure", - "extension-runtime/presentation", - "extension-runtime/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "system-info/domain", - "system-info/application", - "system-info/presentation", - "app-host/domain/outer-1", - "app-host/presentation/outer-1", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "dialog-host/presentation/outer-1", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "extension-runtime/infrastructure/outer-1", - "extension-runtime/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "extension-runtime/domain", - "allow": [ - "error-reporting/domain", - "extension-manager/domain", - "extension-runtime/domain", - "keybindings/domain", - "remote-config/domain", - "telemetry/domain", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "extension-runtime/application", - "allow": [ - "keybindings/application/public", - "remote-config/infrastructure/public", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "extension-manager/domain", - "extension-manager/infrastructure", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/infrastructure", - "keybindings/domain", - "keybindings/application", - "remote-config/domain", - "remote-config/application", - "remote-config/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "extension-manager/domain/outer-1", - "extension-runtime/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "remote-config/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "extension-runtime/infrastructure", - "allow": [ - "keybindings/application/public", - "remote-config/infrastructure/public", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "extension-manager/domain", - "extension-manager/infrastructure", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/infrastructure", - "keybindings/domain", - "keybindings/application", - "remote-config/domain", - "remote-config/application", - "remote-config/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "extension-manager/domain/outer-1", - "extension-runtime/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "remote-config/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "extension-runtime/presentation", - "allow": [ - "keybindings/application/public", - "error-reporting/domain", - "error-reporting/application", - "extension-manager/domain", - "extension-manager/presentation", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "remote-config/domain", - "remote-config/application", - "telemetry/domain", - "telemetry/application", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "extension-runtime/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "remote-config/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "extension-runtime/integration", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "remote-config/infrastructure/public", - "webcam-capture/integration/public", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "extension-manager/domain", - "extension-manager/infrastructure", - "extension-manager/presentation", - "extension-manager/integration", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/infrastructure", - "extension-runtime/presentation", - "extension-runtime/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "remote-config/domain", - "remote-config/application", - "remote-config/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "telemetry/integration", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "extension-runtime/infrastructure/outer-1", - "extension-runtime/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "remote-config/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "telemetry/integration/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "first-run-tour/domain", - "allow": [ - "first-run-tour/domain", - "keybindings/domain", - "keybindings/domain/outer-1", - "unclassified" - ] - }, - { - "from": "first-run-tour/application", - "allow": [ - "keybindings/application/public", - "first-run-tour/domain", - "first-run-tour/application", - "keybindings/domain", - "keybindings/application", - "first-run-tour/application/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "first-run-tour/integration", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "first-run-tour/domain", - "first-run-tour/application", - "first-run-tour/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "first-run-tour/application/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "first-run-tour/presentation/outer-2", - "unclassified" - ] - }, - { - "from": "glsl-preview/domain", - "allow": ["glsl-preview/domain", "unclassified"] - }, - { - "from": "glsl-preview/infrastructure", - "allow": [ - "glsl-preview/domain", - "glsl-preview/infrastructure", - "glsl-preview/application/outer-1", - "unclassified" - ] - }, - { - "from": "graph-canvas/domain", - "allow": ["graph-canvas/domain", "unclassified"] - }, - { - "from": "graph-canvas/application", - "allow": [ - "graph-canvas/domain", - "graph-canvas/application", - "graph-canvas/infrastructure", - "unclassified" - ] - }, - { - "from": "graph-canvas/infrastructure", - "allow": [ - "graph-canvas/domain", - "graph-canvas/application", - "graph-canvas/infrastructure", - "unclassified" - ] - }, - { - "from": "graph-canvas/presentation", - "allow": [ - "graph-canvas/domain", - "graph-canvas/application", - "graph-canvas/presentation", - "unclassified" - ] - }, - { - "from": "graph-canvas/integration", - "allow": [ - "graph-canvas/domain", - "graph-canvas/application", - "graph-canvas/infrastructure", - "graph-canvas/presentation", - "graph-canvas/integration", - "unclassified" - ] - }, - { - "from": "graph-commands/application", - "allow": [ - "graph-commands/application", - "graph-commands/infrastructure", - "unclassified" - ] - }, - { - "from": "graph-commands/infrastructure", - "allow": [ - "graph-commands/application", - "graph-commands/infrastructure", - "unclassified" - ] - }, - { - "from": "graph-compatibility/integration", - "allow": [ - "graph-compatibility/integration", - "graph-compatibility/integration/outer-1", - "unclassified" - ] - }, - { - "from": "graph-layout/domain", - "allow": [ - "graph-layout/domain", - "graph-layout/domain/outer-2", - "unclassified" - ] - }, - { - "from": "graph-layout/application", - "allow": [ - "graph-layout/domain", - "graph-layout/application", - "graph-layout/infrastructure", - "graph-layout/application/outer-1", - "graph-layout/domain/outer-2", - "unclassified" - ] - }, - { - "from": "graph-layout/infrastructure", - "allow": [ - "graph-layout/domain", - "graph-layout/application", - "graph-layout/infrastructure", - "graph-layout/application/outer-1", - "graph-layout/domain/outer-2", - "unclassified" - ] - }, - { - "from": "graph-layout/presentation", - "allow": [ - "graph-layout/domain", - "graph-layout/application", - "graph-layout/presentation", - "graph-layout/application/outer-1", - "graph-layout/domain/outer-2", - "unclassified" - ] - }, - { - "from": "graph-layout/integration", - "allow": [ - "graph-layout/domain", - "graph-layout/application", - "graph-layout/infrastructure", - "graph-layout/presentation", - "graph-layout/integration", - "graph-layout/application/outer-1", - "graph-layout/integration/outer-1", - "graph-layout/domain/outer-2", - "unclassified" - ] - }, - { - "from": "graph-model/domain", - "allow": [ - "comfyui-api/domain/public", - "node-definition/domain/public", - "comfyui-api/domain", - "error-reporting/domain", - "graph-model/domain", - "node-definition/domain", - "comfyui-api/domain/outer-1", - "graph-model/domain/outer-1", - "node-definition/domain/outer-1", - "unclassified" - ] - }, - { - "from": "graph-model/application", - "allow": [ - "comfyui-api/domain/public", - "node-definition/domain/public", - "comfyui-api/domain", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "graph-model/domain", - "graph-model/application", - "graph-model/infrastructure", - "node-definition/domain", - "comfyui-api/domain/outer-1", - "graph-model/domain/outer-1", - "node-definition/domain/outer-1", - "unclassified" - ] - }, - { - "from": "graph-model/infrastructure", - "allow": [ - "comfyui-api/domain/public", - "node-definition/domain/public", - "comfyui-api/domain", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "graph-model/domain", - "graph-model/application", - "graph-model/infrastructure", - "node-definition/domain", - "comfyui-api/domain/outer-1", - "graph-model/domain/outer-1", - "node-definition/domain/outer-1", - "unclassified" - ] - }, - { - "from": "graph-model/integration", - "allow": [ - "comfyui-api/domain/public", - "node-definition/domain/public", - "comfyui-api/domain", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "graph-model/domain", - "graph-model/application", - "graph-model/infrastructure", - "graph-model/integration", - "node-definition/domain", - "comfyui-api/domain/outer-1", - "graph-model/domain/outer-1", - "graph-model/integration/outer-1", - "node-definition/domain/outer-1", - "unclassified" - ] - }, - { - "from": "graph-selection/domain", - "allow": ["graph-selection/domain", "unclassified"] - }, - { - "from": "graph-selection/application", - "allow": [ - "graph-selection/domain", - "graph-selection/application", - "unclassified" - ] - }, - { - "from": "graph-selection/integration", - "allow": [ - "graph-selection/domain", - "graph-selection/application", - "graph-selection/integration", - "unclassified" - ] - }, - { - "from": "graph-traversal/application", - "allow": ["graph-traversal/application", "unclassified"] - }, - { - "from": "hdr-viewer/application", - "allow": [ - "hdr-viewer/application", - "hdr-viewer/infrastructure", - "hdr-viewer/domain/outer-1", - "unclassified" - ] - }, - { - "from": "hdr-viewer/infrastructure", - "allow": [ - "hdr-viewer/application", - "hdr-viewer/infrastructure", - "hdr-viewer/domain/outer-1", - "unclassified" - ] - }, - { - "from": "hdr-viewer/presentation", - "allow": [ - "hdr-viewer/application", - "hdr-viewer/presentation", - "hdr-viewer/domain/outer-1", - "unclassified" - ] - }, - { - "from": "hdr-viewer/integration", - "allow": [ - "hdr-viewer/application", - "hdr-viewer/infrastructure", - "hdr-viewer/presentation", - "hdr-viewer/integration", - "hdr-viewer/domain/outer-1", - "unclassified" - ] - }, - { - "from": "help-center/application", - "allow": [ - "keybindings/application/public", - "extension-manager/domain", - "extension-manager/infrastructure", - "help-center/application", - "keybindings/domain", - "keybindings/application", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "help-center/presentation", - "allow": [ - "keybindings/application/public", - "extension-manager/domain", - "extension-manager/presentation", - "help-center/application", - "help-center/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "image-compare/application", - "allow": ["image-compare/application", "unclassified"] - }, - { - "from": "image-compare/presentation", - "allow": [ - "image-compare/application", - "image-compare/presentation", - "unclassified" - ] - }, - { - "from": "image-compare/integration", - "allow": [ - "image-compare/application", - "image-compare/presentation", - "image-compare/integration", - "unclassified" - ] - }, - { - "from": "image-compositor/domain", - "allow": [ - "dialog-host/domain", - "image-compositor/domain", - "image-compositor/domain/outer-2", - "unclassified" - ] - }, - { - "from": "image-compositor/infrastructure", - "allow": [ - "dialog-host/domain", - "dialog-host/application", - "image-compositor/domain", - "image-compositor/infrastructure", - "image-compositor/application/outer-1", - "image-compositor/domain/outer-2", - "unclassified" - ] - }, - { - "from": "image-compositor/presentation", - "allow": [ - "dialog-host/domain", - "dialog-host/application", - "image-compositor/domain", - "image-compositor/presentation", - "dialog-host/presentation/outer-1", - "image-compositor/application/outer-1", - "image-compositor/domain/outer-2", - "unclassified" - ] - }, - { - "from": "image-compositor/integration", - "allow": [ - "dialog-host/domain", - "dialog-host/application", - "dialog-host/integration", - "image-compositor/domain", - "image-compositor/infrastructure", - "image-compositor/presentation", - "image-compositor/integration", - "dialog-host/presentation/outer-1", - "image-compositor/application/outer-1", - "image-compositor/domain/outer-2", - "unclassified" - ] - }, - { - "from": "image-crop/application", - "allow": ["image-crop/application", "unclassified"] - }, - { - "from": "image-crop/presentation", - "allow": [ - "image-crop/application", - "image-crop/presentation", - "unclassified" - ] - }, - { - "from": "image-crop/integration", - "allow": [ - "image-crop/application", - "image-crop/presentation", - "image-crop/integration", - "unclassified" - ] - }, - { - "from": "ingest-api/domain", - "allow": [ - "ingest-api/domain/public", - "ingest-api/domain", - "unclassified" - ] - }, - { - "from": "ingest-api/infrastructure", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "ingest-api/domain", - "ingest-api/infrastructure", - "unclassified" - ] - }, - { - "from": "job-queue/domain", - "allow": [ - "job-queue/domain", - "keybindings/domain", - "keybindings/domain/outer-1", - "unclassified" - ] - }, - { - "from": "job-queue/application", - "allow": [ - "keybindings/application/public", - "job-queue/domain", - "job-queue/application", - "job-queue/infrastructure", - "keybindings/domain", - "keybindings/application", - "job-queue/application/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "job-queue/infrastructure", - "allow": [ - "keybindings/application/public", - "job-queue/domain", - "job-queue/application", - "job-queue/infrastructure", - "keybindings/domain", - "keybindings/application", - "job-queue/application/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "job-queue/presentation", - "allow": [ - "keybindings/application/public", - "job-queue/domain", - "job-queue/application", - "job-queue/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "job-queue/application/outer-1", - "job-queue/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "job-queue/integration", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "job-queue/domain", - "job-queue/application", - "job-queue/infrastructure", - "job-queue/presentation", - "job-queue/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "job-queue/application/outer-1", - "job-queue/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "keybindings/domain", - "allow": [ - "design-system/domain", - "error-handling/domain", - "keybindings/domain", - "design-system/domain/outer-1", - "keybindings/domain/outer-1", - "unclassified" - ] - }, - { - "from": "keybindings/application", - "allow": [ - "keybindings/application/public", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "error-handling/domain", - "error-handling/application", - "keybindings/domain", - "keybindings/application", - "design-system/domain/outer-1", - "error-handling/application/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "keybindings/presentation", - "allow": [ - "keybindings/application/public", - "design-system/domain", - "design-system/application", - "design-system/presentation", - "error-handling/domain", - "error-handling/application", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "error-handling/application/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "keybindings/integration", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "design-system/presentation", - "error-handling/domain", - "error-handling/application", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "error-handling/application/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "light-authoring/application", - "allow": ["light-authoring/application", "unclassified"] - }, - { - "from": "light-authoring/presentation", - "allow": [ - "light-authoring/application", - "light-authoring/presentation", - "unclassified" - ] - }, - { - "from": "light-authoring/integration", - "allow": [ - "light-authoring/application", - "light-authoring/presentation", - "light-authoring/integration", - "unclassified" - ] - }, - { - "from": "linear-mode/domain", - "allow": [ - "keybindings/domain", - "linear-mode/domain", - "keybindings/domain/outer-1", - "unclassified" - ] - }, - { - "from": "linear-mode/application", - "allow": [ - "keybindings/application/public", - "keybindings/domain", - "keybindings/application", - "linear-mode/domain", - "linear-mode/application", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "linear-mode/presentation", - "allow": [ - "keybindings/application/public", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "linear-mode/domain", - "linear-mode/application", - "linear-mode/presentation", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "linear-mode/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "link-connection/domain", - "allow": ["link-connection/domain", "unclassified"] - }, - { - "from": "link-connection/application", - "allow": [ - "link-connection/domain", - "link-connection/application", - "unclassified" - ] - }, - { - "from": "link-connection/integration", - "allow": [ - "link-connection/domain", - "link-connection/application", - "link-connection/integration", - "unclassified" - ] - }, - { - "from": "link-presentation/domain", - "allow": ["link-presentation/domain", "unclassified"] - }, - { - "from": "link-presentation/application", - "allow": [ - "link-presentation/domain", - "link-presentation/application", - "unclassified" - ] - }, - { - "from": "link-presentation/presentation", - "allow": [ - "link-presentation/domain", - "link-presentation/application", - "link-presentation/presentation", - "unclassified" - ] - }, - { - "from": "litegraph-api/infrastructure", - "allow": ["litegraph-api/infrastructure", "unclassified"] - }, - { - "from": "litegraph-api/integration", - "allow": [ - "litegraph-api/infrastructure", - "litegraph-api/integration", - "unclassified" - ] - }, - { - "from": "markdown-rendering/infrastructure", - "allow": ["markdown-rendering/infrastructure", "unclassified"] - }, - { - "from": "mask-editor/application", - "allow": [ - "mask-editor/application", - "mask-editor/infrastructure", - "unclassified" - ] - }, - { - "from": "mask-editor/infrastructure", - "allow": [ - "mask-editor/application", - "mask-editor/infrastructure", - "unclassified" - ] - }, - { - "from": "mask-editor/presentation", - "allow": [ - "mask-editor/application", - "mask-editor/presentation", - "unclassified" - ] - }, - { - "from": "mask-editor/integration", - "allow": [ - "mask-editor/application", - "mask-editor/infrastructure", - "mask-editor/presentation", - "mask-editor/integration", - "unclassified" - ] - }, - { - "from": "media-lightbox/presentation", - "allow": ["media-lightbox/presentation", "unclassified"] - }, - { - "from": "media-loading/application", - "allow": ["media-loading/application", "unclassified"] - }, - { - "from": "media-metadata/domain", - "allow": ["media-metadata/domain", "unclassified"] - }, - { - "from": "media-metadata/application", - "allow": [ - "media-metadata/domain", - "media-metadata/application", - "media-metadata/infrastructure/outer-1", - "unclassified" - ] - }, - { - "from": "media-metadata/integration", - "allow": [ - "media-metadata/domain", - "media-metadata/application", - "media-metadata/integration", - "media-metadata/infrastructure/outer-1", - "unclassified" - ] - }, - { - "from": "minimap/domain", - "allow": [ - "keybindings/domain", - "minimap/domain", - "keybindings/domain/outer-1", - "unclassified" - ] - }, - { - "from": "minimap/application", - "allow": [ - "keybindings/application/public", - "keybindings/domain", - "keybindings/application", - "minimap/domain", - "minimap/application", - "minimap/infrastructure", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "minimap/infrastructure/outer-1", - "unclassified" - ] - }, - { - "from": "minimap/infrastructure", - "allow": [ - "keybindings/application/public", - "keybindings/domain", - "keybindings/application", - "minimap/domain", - "minimap/application", - "minimap/infrastructure", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "minimap/infrastructure/outer-1", - "unclassified" - ] - }, - { - "from": "minimap/presentation", - "allow": [ - "keybindings/application/public", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "minimap/domain", - "minimap/application", - "minimap/presentation", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "missing-media/domain", - "allow": ["missing-media/domain", "unclassified"] - }, - { - "from": "missing-media/presentation", - "allow": [ - "missing-media/domain", - "missing-media/presentation", - "missing-media/application/outer-1", - "unclassified" - ] - }, - { - "from": "missing-models/domain", - "allow": ["missing-models/domain", "unclassified"] - }, - { - "from": "missing-models/application", - "allow": [ - "missing-models/domain", - "missing-models/application", - "missing-models/infrastructure", - "unclassified" - ] - }, - { - "from": "missing-models/infrastructure", - "allow": [ - "missing-models/domain", - "missing-models/application", - "missing-models/infrastructure", - "unclassified" - ] - }, - { - "from": "missing-models/presentation", - "allow": [ - "missing-models/domain", - "missing-models/application", - "missing-models/presentation", - "unclassified" - ] - }, - { - "from": "model-3d/domain", - "allow": ["model-3d/domain", "unclassified"] - }, - { - "from": "model-3d/application", - "allow": [ - "model-3d/domain", - "model-3d/application", - "model-3d/infrastructure", - "model-3d/application/outer-1", - "unclassified" - ] - }, - { - "from": "model-3d/infrastructure", - "allow": [ - "model-3d/domain", - "model-3d/application", - "model-3d/infrastructure", - "model-3d/application/outer-1", - "unclassified" - ] - }, - { - "from": "model-3d/integration", - "allow": [ - "model-3d/domain", - "model-3d/application", - "model-3d/infrastructure", - "model-3d/integration", - "model-3d/application/outer-1", - "model-3d/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "model-library/application", - "allow": ["model-library/application", "unclassified"] - }, - { - "from": "model-library/presentation", - "allow": [ - "model-library/application", - "model-library/presentation", - "unclassified" - ] - }, - { - "from": "model-library/integration", - "allow": [ - "model-library/application", - "model-library/presentation", - "model-library/integration", - "unclassified" - ] - }, - { - "from": "navigation/application", - "allow": [ - "navigation/application", - "navigation/infrastructure", - "navigation/domain/outer-1", - "unclassified" - ] - }, - { - "from": "navigation/infrastructure", - "allow": [ - "navigation/application", - "navigation/infrastructure", - "navigation/domain/outer-1", - "unclassified" - ] - }, - { - "from": "navigation/integration", - "allow": [ - "navigation/application", - "navigation/infrastructure", - "navigation/integration", - "navigation/domain/outer-1", - "unclassified" - ] - }, - { - "from": "node-badges/domain", - "allow": ["node-badges/domain", "unclassified"] - }, - { - "from": "node-badges/application", - "allow": [ - "node-badges/domain", - "node-badges/application", - "unclassified" - ] - }, - { - "from": "node-badges/integration", - "allow": [ - "node-badges/domain", - "node-badges/application", - "node-badges/integration", - "unclassified" - ] - }, - { - "from": "node-definition/domain", - "allow": [ - "node-definition/domain/public", - "extension-manager/domain", - "node-definition/domain", - "extension-manager/domain/outer-1", - "node-definition/domain/outer-1", - "unclassified" - ] - }, - { - "from": "node-library/domain", - "allow": [ - "extension-manager/domain", - "keybindings/domain", - "node-library/domain", - "telemetry/domain", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "node-library/application", - "allow": [ - "keybindings/application/public", - "extension-manager/domain", - "extension-manager/infrastructure", - "keybindings/domain", - "keybindings/application", - "node-library/domain", - "node-library/application", - "node-library/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "node-library/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "node-library/infrastructure", - "allow": [ - "keybindings/application/public", - "extension-manager/domain", - "extension-manager/infrastructure", - "keybindings/domain", - "keybindings/application", - "node-library/domain", - "node-library/application", - "node-library/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "node-library/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "node-library/presentation", - "allow": [ - "keybindings/application/public", - "extension-manager/domain", - "extension-manager/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "node-library/domain", - "node-library/application", - "node-library/presentation", - "telemetry/domain", - "telemetry/application", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "node-library/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "node-library/integration", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "extension-manager/domain", - "extension-manager/infrastructure", - "extension-manager/presentation", - "extension-manager/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "node-library/domain", - "node-library/application", - "node-library/infrastructure", - "node-library/presentation", - "node-library/integration", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "telemetry/integration", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "node-library/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "telemetry/integration/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "node-replacement/domain", - "allow": ["node-replacement/domain", "unclassified"] - }, - { - "from": "node-replacement/infrastructure", - "allow": [ - "node-replacement/domain", - "node-replacement/infrastructure", - "node-replacement/application/outer-1", - "unclassified" - ] - }, - { - "from": "node-replacement/presentation", - "allow": [ - "node-replacement/domain", - "node-replacement/presentation", - "node-replacement/application/outer-1", - "unclassified" - ] - }, - { - "from": "node-templates/integration", - "allow": ["node-templates/integration", "unclassified"] - }, - { - "from": "node-type-registration/integration", - "allow": ["node-type-registration/integration", "unclassified"] - }, - { - "from": "node-widgets/domain", - "allow": [ - "error-reporting/domain", - "node-widgets/domain", - "unclassified" - ] - }, - { - "from": "node-widgets/application", - "allow": [ - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "node-widgets/domain", - "node-widgets/application", - "node-widgets/infrastructure", - "unclassified" - ] - }, - { - "from": "node-widgets/infrastructure", - "allow": [ - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "node-widgets/domain", - "node-widgets/application", - "node-widgets/infrastructure", - "unclassified" - ] - }, - { - "from": "node-widgets/presentation", - "allow": [ - "error-reporting/domain", - "error-reporting/application", - "node-widgets/domain", - "node-widgets/application", - "node-widgets/presentation", - "node-widgets/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "node-widgets/integration", - "allow": [ - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "node-widgets/domain", - "node-widgets/application", - "node-widgets/infrastructure", - "node-widgets/presentation", - "node-widgets/integration", - "node-widgets/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "note-nodes/presentation", - "allow": ["note-nodes/presentation", "unclassified"] - }, - { - "from": "note-nodes/integration", - "allow": [ - "note-nodes/presentation", - "note-nodes/integration", - "unclassified" - ] - }, - { - "from": "numeric-geometry/domain", - "allow": ["numeric-geometry/domain", "unclassified"] - }, - { - "from": "onboarding-tours/domain", - "allow": ["onboarding-tours/domain", "unclassified"] - }, - { - "from": "onboarding-tours/application", - "allow": [ - "onboarding-tours/domain", - "onboarding-tours/application", - "onboarding-tours/infrastructure", - "unclassified" - ] - }, - { - "from": "onboarding-tours/infrastructure", - "allow": [ - "onboarding-tours/domain", - "onboarding-tours/application", - "onboarding-tours/infrastructure", - "unclassified" - ] - }, - { - "from": "painter/application", - "allow": ["painter/application", "unclassified"] - }, - { - "from": "painter/presentation", - "allow": ["painter/application", "painter/presentation", "unclassified"] - }, - { - "from": "painter/integration", - "allow": [ - "painter/application", - "painter/presentation", - "painter/integration", - "unclassified" - ] - }, - { - "from": "prompt-authoring/domain", - "allow": ["prompt-authoring/domain", "unclassified"] - }, - { - "from": "prompt-authoring/integration", - "allow": [ - "prompt-authoring/domain", - "prompt-authoring/integration", - "unclassified" - ] - }, - { - "from": "properties-panel/application", - "allow": ["properties-panel/application", "unclassified"] - }, - { - "from": "release-notes/application", - "allow": [ - "keybindings/application/public", - "keybindings/domain", - "keybindings/application", - "release-notes/application", - "release-notes/infrastructure", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "release-notes/infrastructure", - "allow": [ - "keybindings/application/public", - "keybindings/domain", - "keybindings/application", - "release-notes/application", - "release-notes/infrastructure", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "remote-config/domain", - "allow": ["remote-config/domain", "unclassified"] - }, - { - "from": "remote-config/application", - "allow": [ - "remote-config/infrastructure/public", - "remote-config/domain", - "remote-config/application", - "remote-config/infrastructure", - "remote-config/application/outer-1", - "unclassified" - ] - }, - { - "from": "remote-config/infrastructure", - "allow": [ - "remote-config/infrastructure/public", - "remote-config/domain", - "remote-config/application", - "remote-config/infrastructure", - "remote-config/application/outer-1", - "unclassified" - ] - }, - { - "from": "runtime-guards/domain", - "allow": ["runtime-guards/domain", "unclassified"] - }, - { - "from": "secrets/application", - "allow": [ - "secrets/application", - "secrets/infrastructure", - "secrets/domain/outer-1", - "unclassified" - ] - }, - { - "from": "secrets/infrastructure", - "allow": [ - "secrets/application", - "secrets/infrastructure", - "secrets/domain/outer-1", - "unclassified" - ] - }, - { - "from": "secrets/presentation", - "allow": [ - "secrets/application", - "secrets/presentation", - "secrets/domain/outer-1", - "unclassified" - ] - }, - { - "from": "selection-toolbox/domain", - "allow": [ - "app-host/domain", - "canvas-renderer/domain", - "keybindings/domain", - "selection-toolbox/domain", - "telemetry/domain", - "app-host/domain/outer-1", - "keybindings/domain/outer-1", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "selection-toolbox/presentation", - "allow": [ - "keybindings/application/public", - "app-host/domain", - "app-host/application", - "app-host/presentation", - "canvas-renderer/domain", - "canvas-renderer/application", - "canvas-renderer/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "properties-panel/application", - "selection-toolbox/domain", - "selection-toolbox/presentation", - "telemetry/domain", - "telemetry/application", - "app-host/domain/outer-1", - "app-host/presentation/outer-1", - "canvas-renderer/application/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "properties-panel/presentation/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "selection-toolbox/integration", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "app-host/domain", - "app-host/application", - "app-host/infrastructure", - "app-host/presentation", - "app-host/integration", - "canvas-renderer/domain", - "canvas-renderer/application", - "canvas-renderer/infrastructure", - "canvas-renderer/presentation", - "canvas-renderer/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "properties-panel/application", - "selection-toolbox/domain", - "selection-toolbox/presentation", - "selection-toolbox/integration", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "telemetry/integration", - "test-support/integration", - "app-host/domain/outer-1", - "app-host/presentation/outer-1", - "canvas-renderer/application/outer-1", - "canvas-renderer/infrastructure/outer-1", - "canvas-renderer/integration/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "properties-panel/presentation/outer-1", - "selection-toolbox/integration/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "telemetry/integration/outer-1", - "test-support/integration/outer-1", - "unclassified" - ] - }, - { - "from": "server-facts/domain", - "allow": [ - "server-facts/domain/public", - "server-facts/domain", - "unclassified" - ] - }, - { - "from": "settings/domain", - "allow": [ - "authentication/domain", - "dialog-host/domain", - "keybindings/domain", - "settings/domain", - "telemetry/domain", - "keybindings/domain/outer-1", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "settings/application", - "allow": [ - "keybindings/application/public", - "authentication/domain", - "authentication/application", - "authentication/infrastructure", - "dialog-host/domain", - "dialog-host/application", - "keybindings/domain", - "keybindings/application", - "settings/domain", - "settings/application", - "settings/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "authentication/application/outer-1", - "authentication/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "settings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "settings/infrastructure", - "allow": [ - "keybindings/application/public", - "authentication/domain", - "authentication/application", - "authentication/infrastructure", - "dialog-host/domain", - "dialog-host/application", - "keybindings/domain", - "keybindings/application", - "settings/domain", - "settings/application", - "settings/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "authentication/application/outer-1", - "authentication/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "settings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "settings/presentation", - "allow": [ - "account/presentation/public", - "keybindings/application/public", - "authentication/domain", - "authentication/application", - "authentication/presentation", - "dialog-host/domain", - "dialog-host/application", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "settings/domain", - "settings/application", - "settings/presentation", - "telemetry/domain", - "telemetry/application", - "authentication/application/outer-1", - "authentication/presentation/outer-1", - "dialog-host/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "settings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "settings/integration", - "allow": [ - "account/presentation/public", - "account/integration/public", - "keybindings/application/public", - "keybindings/integration/public", - "authentication/domain", - "authentication/application", - "authentication/infrastructure", - "authentication/presentation", - "authentication/integration", - "dialog-host/domain", - "dialog-host/application", - "dialog-host/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "settings/domain", - "settings/application", - "settings/infrastructure", - "settings/presentation", - "settings/integration", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "telemetry/integration", - "authentication/application/outer-1", - "authentication/infrastructure/outer-1", - "authentication/presentation/outer-1", - "dialog-host/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "settings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "telemetry/integration/outer-1", - "unclassified" - ] - }, - { - "from": "skill-packs/domain", - "allow": ["skill-packs/domain", "unclassified"] - }, - { - "from": "skill-packs/infrastructure", - "allow": [ - "skill-packs/domain", - "skill-packs/infrastructure", - "skill-packs/application/outer-1", - "unclassified" - ] - }, - { - "from": "skill-packs/presentation", - "allow": [ - "skill-packs/domain", - "skill-packs/presentation", - "skill-packs/application/outer-1", - "unclassified" - ] - }, - { - "from": "startup-tracing/infrastructure", - "allow": [ - "startup-tracing/infrastructure", - "startup-tracing/application/outer-1", - "unclassified" - ] - }, - { - "from": "subgraph-blueprints/application", - "allow": ["subgraph-blueprints/application", "unclassified"] - }, - { - "from": "subgraph-promotion/domain", - "allow": [ - "subgraph-promotion/domain", - "subgraph-promotion/domain/outer-1", - "unclassified" - ] - }, - { - "from": "subgraph-promotion/application", - "allow": [ - "subgraph-promotion/domain", - "subgraph-promotion/application", - "subgraph-promotion/domain/outer-1", - "unclassified" - ] - }, - { - "from": "subgraph-promotion/presentation", - "allow": [ - "subgraph-promotion/domain", - "subgraph-promotion/application", - "subgraph-promotion/presentation", - "subgraph-promotion/domain/outer-1", - "unclassified" - ] - }, - { - "from": "subgraphs/domain", - "allow": [ - "extension-manager/domain", - "keybindings/domain", - "subgraphs/domain", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "subgraphs/domain/outer-1", - "unclassified" - ] - }, - { - "from": "subgraphs/application", - "allow": [ - "keybindings/application/public", - "extension-manager/domain", - "extension-manager/infrastructure", - "keybindings/domain", - "keybindings/application", - "subgraphs/domain", - "subgraphs/application", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "subgraphs/domain/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "subgraphs/presentation", - "allow": [ - "keybindings/application/public", - "extension-manager/domain", - "extension-manager/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "subgraphs/domain", - "subgraphs/application", - "subgraphs/presentation", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "subgraphs/domain/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "subgraphs/integration", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "extension-manager/domain", - "extension-manager/infrastructure", - "extension-manager/presentation", - "extension-manager/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "subgraphs/domain", - "subgraphs/application", - "subgraphs/presentation", - "subgraphs/integration", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "subgraphs/domain/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "support-feedback/domain", - "allow": ["support-feedback/domain", "unclassified"] - }, - { - "from": "surveys/domain", - "allow": ["surveys/domain", "unclassified"] - }, - { - "from": "surveys/presentation", - "allow": [ - "surveys/domain", - "surveys/presentation", - "surveys/application/outer-1", - "unclassified" - ] - }, - { - "from": "system-info/domain", - "allow": ["system-info/domain", "unclassified"] - }, - { - "from": "system-info/application", - "allow": [ - "system-info/domain", - "system-info/application", - "unclassified" - ] - }, - { - "from": "system-info/presentation", - "allow": [ - "system-info/domain", - "system-info/application", - "system-info/presentation", - "unclassified" - ] - }, - { - "from": "tasks/infrastructure", - "allow": ["tasks/infrastructure", "unclassified"] - }, - { - "from": "telemetry/domain", - "allow": [ - "ingest-api/domain/public", - "node-replacement/domain", - "remote-config/domain", - "telemetry/domain", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "telemetry/application", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "remote-config/infrastructure/public", - "node-replacement/domain", - "node-replacement/infrastructure", - "remote-config/domain", - "remote-config/application", - "remote-config/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "node-replacement/application/outer-1", - "remote-config/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "telemetry/infrastructure", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "remote-config/infrastructure/public", - "node-replacement/domain", - "node-replacement/infrastructure", - "remote-config/domain", - "remote-config/application", - "remote-config/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "node-replacement/application/outer-1", - "remote-config/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "telemetry/integration", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "remote-config/infrastructure/public", - "node-replacement/domain", - "node-replacement/infrastructure", - "node-replacement/presentation", - "remote-config/domain", - "remote-config/application", - "remote-config/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "telemetry/integration", - "node-replacement/application/outer-1", - "remote-config/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "telemetry/integration/outer-1", - "unclassified" - ] - }, - { - "from": "test-support/integration", - "allow": [ - "test-support/integration", - "test-support/integration/outer-1", - "unclassified" - ] - }, - { - "from": "text-output-preview/domain", - "allow": ["text-output-preview/domain", "unclassified"] - }, - { - "from": "text-output-preview/presentation", - "allow": [ - "text-output-preview/domain", - "text-output-preview/presentation", - "unclassified" - ] - }, - { - "from": "text-output-preview/integration", - "allow": [ - "text-output-preview/domain", - "text-output-preview/presentation", - "text-output-preview/integration", - "unclassified" - ] - }, - { - "from": "value-formatting/domain", - "allow": ["value-formatting/domain", "unclassified"] - }, - { - "from": "video-edit/domain", - "allow": ["video-edit/domain", "unclassified"] - }, - { - "from": "video-edit/infrastructure", - "allow": [ - "video-edit/domain", - "video-edit/infrastructure", - "video-edit/application/outer-1", - "unclassified" - ] - }, - { - "from": "video-edit/presentation", - "allow": [ - "video-edit/domain", - "video-edit/presentation", - "video-edit/application/outer-1", - "unclassified" - ] - }, - { - "from": "viewport-3d/application", - "allow": [ - "viewport-3d/application", - "viewport-3d/application/outer-2", - "unclassified" - ] - }, - { - "from": "viewport-3d/presentation", - "allow": [ - "viewport-3d/application", - "viewport-3d/presentation", - "viewport-3d/application/outer-2", - "unclassified" - ] - }, - { - "from": "viewport-3d/integration", - "allow": [ - "viewport-3d/application", - "viewport-3d/presentation", - "viewport-3d/integration", - "viewport-3d/application/outer-2", - "unclassified" - ] - }, - { - "from": "vue-node-renderer/domain", - "allow": ["vue-node-renderer/domain", "unclassified"] - }, - { - "from": "vue-node-renderer/application", - "allow": [ - "vue-node-renderer/domain", - "vue-node-renderer/application", - "vue-node-renderer/infrastructure", - "vue-node-renderer/application/outer-1", - "unclassified" - ] - }, - { - "from": "vue-node-renderer/infrastructure", - "allow": [ - "vue-node-renderer/domain", - "vue-node-renderer/application", - "vue-node-renderer/infrastructure", - "vue-node-renderer/application/outer-1", - "unclassified" - ] - }, - { - "from": "vue-node-renderer/presentation", - "allow": [ - "vue-node-renderer/domain", - "vue-node-renderer/application", - "vue-node-renderer/presentation", - "vue-node-renderer/application/outer-1", - "unclassified" - ] - }, - { - "from": "vue-node-renderer/integration", - "allow": [ - "vue-node-renderer/domain", - "vue-node-renderer/application", - "vue-node-renderer/infrastructure", - "vue-node-renderer/presentation", - "vue-node-renderer/integration", - "vue-node-renderer/application/outer-1", - "vue-node-renderer/integration/outer-1", - "unclassified" - ] - }, - { - "from": "vue-node-widgets/domain", - "allow": ["vue-node-widgets/domain", "unclassified"] - }, - { - "from": "vue-node-widgets/application", - "allow": [ - "vue-node-widgets/domain", - "vue-node-widgets/application", - "unclassified" - ] - }, - { - "from": "vue-node-widgets/presentation", - "allow": [ - "vue-node-widgets/domain", - "vue-node-widgets/application", - "vue-node-widgets/presentation", - "vue-node-widgets/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "vue-node-widgets/integration", - "allow": [ - "vue-node-widgets/domain", - "vue-node-widgets/application", - "vue-node-widgets/presentation", - "vue-node-widgets/integration", - "vue-node-widgets/presentation/outer-1", - "vue-node-widgets/integration/outer-1", - "unclassified" - ] - }, - { - "from": "webcam-capture/integration", - "allow": [ - "webcam-capture/integration/public", - "webcam-capture/integration", - "unclassified" - ] - }, - { - "from": "workbench-shell/domain", - "allow": [ - "extension-manager/domain", - "keybindings/domain", - "telemetry/domain", - "workbench-shell/domain", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "workbench-shell/application", - "allow": [ - "keybindings/application/public", - "extension-manager/domain", - "extension-manager/infrastructure", - "keybindings/domain", - "keybindings/application", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "workbench-shell/domain", - "workbench-shell/application", - "workbench-shell/infrastructure", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "workbench-shell/infrastructure", - "allow": [ - "keybindings/application/public", - "extension-manager/domain", - "extension-manager/infrastructure", - "keybindings/domain", - "keybindings/application", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "workbench-shell/domain", - "workbench-shell/application", - "workbench-shell/infrastructure", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "workbench-shell/presentation", - "allow": [ - "keybindings/application/public", - "extension-manager/domain", - "extension-manager/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "telemetry/domain", - "telemetry/application", - "workbench-shell/domain", - "workbench-shell/application", - "workbench-shell/presentation", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "workbench-shell/presentation/outer-2", - "unclassified" - ] - }, - { - "from": "workbench-shell/integration", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "extension-manager/domain", - "extension-manager/infrastructure", - "extension-manager/presentation", - "extension-manager/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "telemetry/integration", - "workbench-shell/domain", - "workbench-shell/application", - "workbench-shell/infrastructure", - "workbench-shell/presentation", - "workbench-shell/integration", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "telemetry/integration/outer-1", - "extension-manager/application/outer-2", - "workbench-shell/presentation/outer-2", - "unclassified" - ] - }, - { - "from": "workflow-deployment/application", - "allow": [ - "workflow-deployment/application", - "workflow-deployment/domain/outer-1", - "unclassified" - ] - }, - { - "from": "workflow-deployment/presentation", - "allow": [ - "workflow-deployment/application", - "workflow-deployment/presentation", - "workflow-deployment/domain/outer-1", - "unclassified" - ] - }, - { - "from": "workflow-errors/domain", - "allow": [ - "extension-manager/domain", - "keybindings/domain", - "workflow-errors/domain", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "unclassified" - ] - }, - { - "from": "workflow-errors/application", - "allow": [ - "keybindings/application/public", - "extension-manager/domain", - "extension-manager/infrastructure", - "keybindings/domain", - "keybindings/application", - "workflow-errors/domain", - "workflow-errors/application", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "workflow-errors/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "workflow-errors/presentation", - "allow": [ - "keybindings/application/public", - "extension-manager/domain", - "extension-manager/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "workflow-errors/domain", - "workflow-errors/application", - "workflow-errors/presentation", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "workflow-errors/application/outer-1", - "workflow-errors/presentation/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "workflow-errors/integration", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "extension-manager/domain", - "extension-manager/infrastructure", - "extension-manager/presentation", - "extension-manager/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "workflow-errors/domain", - "workflow-errors/application", - "workflow-errors/presentation", - "workflow-errors/integration", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "workflow-errors/application/outer-1", - "workflow-errors/presentation/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "workflow-format/domain", - "allow": [ - "workflow-format/domain", - "workflow-format/domain/outer-3", - "unclassified" - ] - }, - { - "from": "workflow-format/application", - "allow": [ - "workflow-format/domain", - "workflow-format/application", - "workflow-format/infrastructure", - "workflow-format/domain/outer-3", - "unclassified" - ] - }, - { - "from": "workflow-format/infrastructure", - "allow": [ - "workflow-format/domain", - "workflow-format/application", - "workflow-format/infrastructure", - "workflow-format/domain/outer-3", - "unclassified" - ] - }, - { - "from": "workflow-management/domain", - "allow": [ - "error-reporting/domain", - "keybindings/domain", - "telemetry/domain", - "workflow-management/domain", - "keybindings/domain/outer-1", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "workflow-management/application", - "allow": [ - "keybindings/application/public", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "keybindings/domain", - "keybindings/application", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "workflow-management/domain", - "workflow-management/application", - "workflow-management/infrastructure", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "workflow-management/infrastructure", - "allow": [ - "keybindings/application/public", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "keybindings/domain", - "keybindings/application", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "workflow-management/domain", - "workflow-management/application", - "workflow-management/infrastructure", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "workflow-management/presentation", - "allow": [ - "keybindings/application/public", - "error-reporting/domain", - "error-reporting/application", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "telemetry/domain", - "telemetry/application", - "workflow-management/domain", - "workflow-management/application", - "workflow-management/presentation", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "workflow-management/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "workflow-management/integration", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "telemetry/integration", - "workflow-management/domain", - "workflow-management/application", - "workflow-management/infrastructure", - "workflow-management/presentation", - "workflow-management/integration", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "telemetry/integration/outer-1", - "workflow-management/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "workflow-persistence/infrastructure", - "allow": [ - "keybindings/application/public", - "keybindings/domain", - "keybindings/application", - "workflow-persistence/infrastructure", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "workflow-persistence/domain/outer-1", - "workflow-persistence/application/outer-2", - "unclassified" - ] - }, - { - "from": "workflow-persistence/integration", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "workflow-persistence/infrastructure", - "workflow-persistence/integration", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "workflow-persistence/domain/outer-1", - "workflow-persistence/application/outer-2", - "unclassified" - ] - }, - { - "from": "workflow-sharing/application", - "allow": [ - "workflow-sharing/application", - "workflow-sharing/infrastructure", - "workflow-sharing/application/outer-1", - "workflow-sharing/domain/outer-2", - "unclassified" - ] - }, - { - "from": "workflow-sharing/infrastructure", - "allow": [ - "workflow-sharing/application", - "workflow-sharing/infrastructure", - "workflow-sharing/application/outer-1", - "workflow-sharing/domain/outer-2", - "unclassified" - ] - }, - { - "from": "workflow-sharing/presentation", - "allow": [ - "workflow-sharing/application", - "workflow-sharing/presentation", - "workflow-sharing/application/outer-1", - "workflow-sharing/domain/outer-2", - "unclassified" - ] - }, - { - "from": "workflow-templates/domain", - "allow": [ - "telemetry/domain", - "workflow-templates/domain", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "workflow-templates/infrastructure", - "allow": [ - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "workflow-templates/domain", - "workflow-templates/infrastructure", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "workflow-templates/application/outer-1", - "unclassified" - ] - }, - { - "from": "workflow-templates/presentation", - "allow": [ - "telemetry/domain", - "telemetry/application", - "workflow-templates/domain", - "workflow-templates/presentation", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "workflow-templates/application/outer-1", - "unclassified" - ] - }, - { - "from": "workflow-thumbnails/infrastructure", - "allow": [ - "workflow-thumbnails/infrastructure", - "workflow-thumbnails/application/outer-1", - "unclassified" - ] - }, - { - "from": "workspace/domain", - "allow": [ - "ingest-api/domain/public", - "server-facts/domain/public", - "workspace/domain", - "unclassified" - ] - }, - { - "from": "workspace/application", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "server-facts/domain/public", - "workspace/domain", - "workspace/application", - "workspace/infrastructure", - "unclassified" - ] - }, - { - "from": "workspace/infrastructure", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "server-facts/domain/public", - "workspace/domain", - "workspace/application", - "workspace/infrastructure", - "unclassified" - ] - }, - { - "from": "workspace/presentation", - "allow": [ - "ingest-api/domain/public", - "server-facts/domain/public", - "workspace/domain", - "workspace/application", - "workspace/presentation", - "unclassified" - ] - }, - { - "from": "workspace/integration", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "server-facts/domain/public", - "workspace/domain", - "workspace/application", - "workspace/infrastructure", - "workspace/presentation", - "workspace/integration", - "unclassified" - ] - }, - { - "from": "agent/integration/outer-1", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "agent/domain", - "agent/application", - "agent/infrastructure", - "agent/presentation", - "agent/integration", - "app-host/domain", - "app-host/application", - "app-host/infrastructure", - "app-host/presentation", - "app-host/integration", - "authentication/domain", - "authentication/application", - "authentication/infrastructure", - "authentication/presentation", - "authentication/integration", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "design-system/presentation", - "dialog-host/domain", - "dialog-host/application", - "dialog-host/integration", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/infrastructure", - "extension-runtime/presentation", - "extension-runtime/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "settings/domain", - "settings/application", - "settings/infrastructure", - "settings/presentation", - "settings/integration", - "workbench-shell/domain", - "workbench-shell/application", - "workbench-shell/infrastructure", - "workbench-shell/presentation", - "workbench-shell/integration", - "workflow-management/domain", - "workflow-management/application", - "workflow-management/infrastructure", - "workflow-management/presentation", - "workflow-management/integration", - "agent/integration/outer-1", - "app-host/domain/outer-1", - "app-host/presentation/outer-1", - "authentication/application/outer-1", - "authentication/infrastructure/outer-1", - "authentication/presentation/outer-1", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "dialog-host/presentation/outer-1", - "extension-runtime/infrastructure/outer-1", - "extension-runtime/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "settings/application/outer-1", - "workflow-management/presentation/outer-1", - "workbench-shell/presentation/outer-2", - "unclassified" - ] - }, - { - "from": "app-builder/presentation/outer-1", - "allow": [ - "app-builder/domain", - "app-builder/application", - "app-builder/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "app-host/domain/outer-1", - "allow": [ - "app-host/domain", - "error-reporting/domain", - "extension-manager/domain", - "keybindings/domain", - "telemetry/domain", - "app-host/domain/outer-1", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "app-host/presentation/outer-1", - "allow": [ - "account/presentation/public", - "keybindings/application/public", - "app-host/domain", - "app-host/application", - "app-host/presentation", - "error-reporting/domain", - "error-reporting/application", - "extension-manager/domain", - "extension-manager/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "telemetry/domain", - "telemetry/application", - "app-host/domain/outer-1", - "app-host/presentation/outer-1", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "assets/application/outer-1", - "allow": [ - "assets/domain", - "assets/application", - "assets/infrastructure", - "assets/application/outer-1", - "assets/domain/outer-2", - "unclassified" - ] - }, - { - "from": "assets/presentation/outer-1", - "allow": [ - "assets/domain", - "assets/application", - "assets/presentation", - "assets/application/outer-1", - "assets/presentation/outer-1", - "assets/domain/outer-2", - "unclassified" - ] - }, - { - "from": "assets/integration/outer-1", - "allow": [ - "assets/domain", - "assets/application", - "assets/infrastructure", - "assets/presentation", - "assets/integration", - "assets/application/outer-1", - "assets/presentation/outer-1", - "assets/integration/outer-1", - "assets/domain/outer-2", - "unclassified" - ] - }, - { - "from": "authentication/application/outer-1", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "keybindings/application/public", - "authentication/domain", - "authentication/application", - "authentication/infrastructure", - "keybindings/domain", - "keybindings/application", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "authentication/application/outer-1", - "authentication/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "authentication/infrastructure/outer-1", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "keybindings/application/public", - "authentication/domain", - "authentication/application", - "authentication/infrastructure", - "keybindings/domain", - "keybindings/application", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "authentication/application/outer-1", - "authentication/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "authentication/presentation/outer-1", - "allow": [ - "account/presentation/public", - "ingest-api/domain/public", - "keybindings/application/public", - "authentication/domain", - "authentication/application", - "authentication/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "telemetry/domain", - "telemetry/application", - "authentication/application/outer-1", - "authentication/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "billing/domain/outer-1", - "allow": [ - "ingest-api/domain/public", - "server-facts/domain/public", - "billing/domain", - "design-system/domain", - "keybindings/domain", - "telemetry/domain", - "billing/domain/outer-1", - "design-system/domain/outer-1", - "keybindings/domain/outer-1", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "billing/application/outer-1", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "keybindings/application/public", - "server-facts/domain/public", - "billing/domain", - "billing/application", - "billing/infrastructure", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "keybindings/domain", - "keybindings/application", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "billing/domain/outer-1", - "billing/application/outer-1", - "billing/infrastructure/outer-1", - "design-system/domain/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "billing/application/outer-2", - "unclassified" - ] - }, - { - "from": "billing/infrastructure/outer-1", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "keybindings/application/public", - "server-facts/domain/public", - "billing/domain", - "billing/application", - "billing/infrastructure", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "keybindings/domain", - "keybindings/application", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "billing/domain/outer-1", - "billing/application/outer-1", - "billing/infrastructure/outer-1", - "design-system/domain/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "billing/application/outer-2", - "unclassified" - ] - }, - { - "from": "billing/presentation/outer-1", - "allow": [ - "ingest-api/domain/public", - "keybindings/application/public", - "server-facts/domain/public", - "billing/domain", - "billing/application", - "billing/presentation", - "design-system/domain", - "design-system/application", - "design-system/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "telemetry/domain", - "telemetry/application", - "billing/domain/outer-1", - "billing/application/outer-1", - "billing/presentation/outer-1", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "billing/application/outer-2", - "unclassified" - ] - }, - { - "from": "bottom-panel/integration/outer-1", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "bottom-panel/infrastructure", - "bottom-panel/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "bottom-panel/integration/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "bounding-boxes/application/outer-1", - "allow": [ - "bounding-boxes/domain", - "bounding-boxes/application", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "dialog-host/domain", - "dialog-host/application", - "graph-model/domain", - "graph-model/application", - "graph-model/infrastructure", - "vue-node-widgets/domain", - "vue-node-widgets/application", - "bounding-boxes/application/outer-1", - "design-system/domain/outer-1", - "graph-model/domain/outer-1", - "unclassified" - ] - }, - { - "from": "browser-export/infrastructure/outer-1", - "allow": [ - "browser-export/infrastructure", - "browser-export/infrastructure/outer-1", - "unclassified" - ] - }, - { - "from": "canvas-renderer/application/outer-1", - "allow": [ - "keybindings/application/public", - "canvas-renderer/domain", - "canvas-renderer/application", - "canvas-renderer/infrastructure", - "keybindings/domain", - "keybindings/application", - "canvas-renderer/application/outer-1", - "canvas-renderer/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "canvas-renderer/infrastructure/outer-1", - "allow": [ - "keybindings/application/public", - "canvas-renderer/domain", - "canvas-renderer/application", - "canvas-renderer/infrastructure", - "keybindings/domain", - "keybindings/application", - "canvas-renderer/application/outer-1", - "canvas-renderer/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "canvas-renderer/integration/outer-1", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "canvas-renderer/domain", - "canvas-renderer/application", - "canvas-renderer/infrastructure", - "canvas-renderer/presentation", - "canvas-renderer/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "canvas-renderer/application/outer-1", - "canvas-renderer/infrastructure/outer-1", - "canvas-renderer/integration/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "cloud/domain/outer-1", - "allow": [ - "cloud/domain", - "telemetry/domain", - "cloud/domain/outer-1", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "cloud/application/outer-1", - "allow": [ - "cloud/domain", - "cloud/application", - "cloud/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "cloud/domain/outer-1", - "cloud/application/outer-1", - "cloud/infrastructure/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "cloud/application/outer-3", - "unclassified" - ] - }, - { - "from": "cloud/infrastructure/outer-1", - "allow": [ - "cloud/domain", - "cloud/application", - "cloud/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "cloud/domain/outer-1", - "cloud/application/outer-1", - "cloud/infrastructure/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "cloud/application/outer-3", - "unclassified" - ] - }, - { - "from": "comfyui-api/domain/outer-1", - "allow": [ - "comfyui-api/domain/public", - "comfyui-api/domain", - "comfyui-api/domain/outer-1", - "unclassified" - ] - }, - { - "from": "design-system/domain/outer-1", - "allow": [ - "design-system/domain", - "design-system/domain/outer-1", - "unclassified" - ] - }, - { - "from": "design-system/presentation/outer-1", - "allow": [ - "design-system/domain", - "design-system/application", - "design-system/presentation", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "dialog-host/presentation/outer-1", - "allow": [ - "keybindings/application/public", - "dialog-host/domain", - "dialog-host/application", - "error-reporting/domain", - "error-reporting/application", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "dialog-host/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "error-handling/application/outer-1", - "allow": [ - "error-handling/domain", - "error-handling/application", - "error-handling/application/outer-1", - "unclassified" - ] - }, - { - "from": "extension-manager/domain/outer-1", - "allow": [ - "app-host/domain", - "comfy-registry/domain", - "design-system/domain", - "dialog-host/domain", - "extension-manager/domain", - "extension-runtime/domain", - "keybindings/domain", - "system-info/domain", - "app-host/domain/outer-1", - "design-system/domain/outer-1", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "unclassified" - ] - }, - { - "from": "extension-manager/presentation/outer-1", - "allow": [ - "keybindings/application/public", - "app-host/domain", - "app-host/application", - "app-host/presentation", - "comfy-registry/domain", - "comfy-registry/application", - "design-system/domain", - "design-system/application", - "design-system/presentation", - "dialog-host/domain", - "dialog-host/application", - "extension-manager/domain", - "extension-manager/presentation", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "system-info/domain", - "system-info/application", - "system-info/presentation", - "app-host/domain/outer-1", - "app-host/presentation/outer-1", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "dialog-host/presentation/outer-1", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "extension-runtime/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "extension-runtime/infrastructure/outer-1", - "allow": [ - "keybindings/application/public", - "remote-config/infrastructure/public", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "extension-manager/domain", - "extension-manager/infrastructure", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/infrastructure", - "keybindings/domain", - "keybindings/application", - "remote-config/domain", - "remote-config/application", - "remote-config/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "extension-manager/domain/outer-1", - "extension-runtime/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "remote-config/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "extension-runtime/presentation/outer-1", - "allow": [ - "keybindings/application/public", - "error-reporting/domain", - "error-reporting/application", - "extension-manager/domain", - "extension-manager/presentation", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "remote-config/domain", - "remote-config/application", - "telemetry/domain", - "telemetry/application", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "extension-runtime/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "remote-config/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "first-run-tour/application/outer-1", - "allow": [ - "keybindings/application/public", - "first-run-tour/domain", - "first-run-tour/application", - "keybindings/domain", - "keybindings/application", - "first-run-tour/application/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "glsl-preview/application/outer-1", - "allow": [ - "glsl-preview/domain", - "glsl-preview/infrastructure", - "glsl-preview/application/outer-1", - "unclassified" - ] - }, - { - "from": "graph-compatibility/integration/outer-1", - "allow": [ - "graph-compatibility/integration", - "graph-compatibility/integration/outer-1", - "unclassified" - ] - }, - { - "from": "graph-layout/application/outer-1", - "allow": [ - "graph-layout/domain", - "graph-layout/application", - "graph-layout/infrastructure", - "graph-layout/application/outer-1", - "graph-layout/domain/outer-2", - "unclassified" - ] - }, - { - "from": "graph-layout/integration/outer-1", - "allow": [ - "graph-layout/domain", - "graph-layout/application", - "graph-layout/infrastructure", - "graph-layout/presentation", - "graph-layout/integration", - "graph-layout/application/outer-1", - "graph-layout/integration/outer-1", - "graph-layout/domain/outer-2", - "unclassified" - ] - }, - { - "from": "graph-model/domain/outer-1", - "allow": [ - "comfyui-api/domain/public", - "node-definition/domain/public", - "comfyui-api/domain", - "error-reporting/domain", - "graph-model/domain", - "node-definition/domain", - "comfyui-api/domain/outer-1", - "graph-model/domain/outer-1", - "node-definition/domain/outer-1", - "unclassified" - ] - }, - { - "from": "graph-model/integration/outer-1", - "allow": [ - "comfyui-api/domain/public", - "node-definition/domain/public", - "comfyui-api/domain", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "graph-model/domain", - "graph-model/application", - "graph-model/infrastructure", - "graph-model/integration", - "node-definition/domain", - "comfyui-api/domain/outer-1", - "graph-model/domain/outer-1", - "graph-model/integration/outer-1", - "node-definition/domain/outer-1", - "unclassified" - ] - }, - { - "from": "hdr-viewer/domain/outer-1", - "allow": ["hdr-viewer/domain/outer-1", "unclassified"] - }, - { - "from": "image-compositor/application/outer-1", - "allow": [ - "dialog-host/domain", - "dialog-host/application", - "image-compositor/domain", - "image-compositor/infrastructure", - "image-compositor/application/outer-1", - "image-compositor/domain/outer-2", - "unclassified" - ] - }, - { - "from": "job-queue/application/outer-1", - "allow": [ - "keybindings/application/public", - "job-queue/domain", - "job-queue/application", - "job-queue/infrastructure", - "keybindings/domain", - "keybindings/application", - "job-queue/application/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "job-queue/presentation/outer-1", - "allow": [ - "keybindings/application/public", - "job-queue/domain", - "job-queue/application", - "job-queue/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "job-queue/application/outer-1", - "job-queue/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "keybindings/domain/outer-1", - "allow": [ - "design-system/domain", - "error-handling/domain", - "keybindings/domain", - "design-system/domain/outer-1", - "keybindings/domain/outer-1", - "unclassified" - ] - }, - { - "from": "keybindings/application/outer-1", - "allow": [ - "keybindings/application/public", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "error-handling/domain", - "error-handling/application", - "keybindings/domain", - "keybindings/application", - "design-system/domain/outer-1", - "error-handling/application/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "unclassified" - ] - }, - { - "from": "linear-mode/presentation/outer-1", - "allow": [ - "keybindings/application/public", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "linear-mode/domain", - "linear-mode/application", - "linear-mode/presentation", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "linear-mode/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "media-metadata/infrastructure/outer-1", - "allow": [ - "media-metadata/domain", - "media-metadata/application", - "media-metadata/infrastructure/outer-1", - "unclassified" - ] - }, - { - "from": "minimap/infrastructure/outer-1", - "allow": [ - "keybindings/application/public", - "keybindings/domain", - "keybindings/application", - "minimap/domain", - "minimap/application", - "minimap/infrastructure", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "minimap/infrastructure/outer-1", - "unclassified" - ] - }, - { - "from": "missing-media/application/outer-1", - "allow": [ - "missing-media/domain", - "missing-media/application/outer-1", - "unclassified" - ] - }, - { - "from": "model-3d/application/outer-1", - "allow": [ - "model-3d/domain", - "model-3d/application", - "model-3d/infrastructure", - "model-3d/application/outer-1", - "unclassified" - ] - }, - { - "from": "model-3d/presentation/outer-1", - "allow": [ - "model-3d/domain", - "model-3d/application", - "model-3d/application/outer-1", - "model-3d/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "navigation/domain/outer-1", - "allow": ["navigation/domain/outer-1", "unclassified"] - }, - { - "from": "node-definition/domain/outer-1", - "allow": [ - "node-definition/domain/public", - "extension-manager/domain", - "node-definition/domain", - "extension-manager/domain/outer-1", - "node-definition/domain/outer-1", - "unclassified" - ] - }, - { - "from": "node-library/application/outer-1", - "allow": [ - "keybindings/application/public", - "extension-manager/domain", - "extension-manager/infrastructure", - "keybindings/domain", - "keybindings/application", - "node-library/domain", - "node-library/application", - "node-library/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "node-library/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "node-replacement/application/outer-1", - "allow": [ - "node-replacement/domain", - "node-replacement/infrastructure", - "node-replacement/application/outer-1", - "unclassified" - ] - }, - { - "from": "node-widgets/presentation/outer-1", - "allow": [ - "error-reporting/domain", - "error-reporting/application", - "node-widgets/domain", - "node-widgets/application", - "node-widgets/presentation", - "node-widgets/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "onboarding-tours/presentation/outer-1", - "allow": [ - "onboarding-tours/domain", - "onboarding-tours/application", - "onboarding-tours/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "properties-panel/presentation/outer-1", - "allow": [ - "properties-panel/application", - "properties-panel/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "remote-config/application/outer-1", - "allow": [ - "remote-config/infrastructure/public", - "remote-config/domain", - "remote-config/application", - "remote-config/infrastructure", - "remote-config/application/outer-1", - "unclassified" - ] - }, - { - "from": "secrets/domain/outer-1", - "allow": ["secrets/domain/outer-1", "unclassified"] - }, - { - "from": "selection-toolbox/integration/outer-1", - "allow": [ - "keybindings/application/public", - "keybindings/integration/public", - "app-host/domain", - "app-host/application", - "app-host/infrastructure", - "app-host/presentation", - "app-host/integration", - "canvas-renderer/domain", - "canvas-renderer/application", - "canvas-renderer/infrastructure", - "canvas-renderer/presentation", - "canvas-renderer/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "properties-panel/application", - "selection-toolbox/domain", - "selection-toolbox/presentation", - "selection-toolbox/integration", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "telemetry/integration", - "test-support/integration", - "app-host/domain/outer-1", - "app-host/presentation/outer-1", - "canvas-renderer/application/outer-1", - "canvas-renderer/infrastructure/outer-1", - "canvas-renderer/integration/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "properties-panel/presentation/outer-1", - "selection-toolbox/integration/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "telemetry/integration/outer-1", - "test-support/integration/outer-1", - "unclassified" - ] - }, - { - "from": "settings/application/outer-1", - "allow": [ - "keybindings/application/public", - "authentication/domain", - "authentication/application", - "authentication/infrastructure", - "dialog-host/domain", - "dialog-host/application", - "keybindings/domain", - "keybindings/application", - "settings/domain", - "settings/application", - "settings/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "authentication/application/outer-1", - "authentication/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "settings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "skill-packs/application/outer-1", - "allow": [ - "skill-packs/domain", - "skill-packs/infrastructure", - "skill-packs/application/outer-1", - "unclassified" - ] - }, - { - "from": "startup-tracing/application/outer-1", - "allow": [ - "startup-tracing/infrastructure", - "startup-tracing/application/outer-1", - "unclassified" - ] - }, - { - "from": "subgraph-promotion/domain/outer-1", - "allow": [ - "subgraph-promotion/domain", - "subgraph-promotion/domain/outer-1", - "unclassified" - ] - }, - { - "from": "subgraphs/domain/outer-1", - "allow": [ - "extension-manager/domain", - "keybindings/domain", - "subgraphs/domain", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "subgraphs/domain/outer-1", - "unclassified" - ] - }, - { - "from": "support-feedback/application/outer-1", - "allow": [ - "support-feedback/domain", - "support-feedback/application/outer-1", - "unclassified" - ] - }, - { - "from": "surveys/application/outer-1", - "allow": [ - "surveys/domain", - "surveys/application/outer-1", - "unclassified" - ] - }, - { - "from": "telemetry/domain/outer-1", - "allow": [ - "ingest-api/domain/public", - "node-replacement/domain", - "remote-config/domain", - "telemetry/domain", - "telemetry/domain/outer-1", - "unclassified" - ] - }, - { - "from": "telemetry/application/outer-1", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "remote-config/infrastructure/public", - "node-replacement/domain", - "node-replacement/infrastructure", - "remote-config/domain", - "remote-config/application", - "remote-config/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "node-replacement/application/outer-1", - "remote-config/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "unclassified" - ] - }, - { - "from": "telemetry/integration/outer-1", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "remote-config/infrastructure/public", - "node-replacement/domain", - "node-replacement/infrastructure", - "node-replacement/presentation", - "remote-config/domain", - "remote-config/application", - "remote-config/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "telemetry/integration", - "node-replacement/application/outer-1", - "remote-config/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "telemetry/integration/outer-1", - "unclassified" - ] - }, - { - "from": "test-support/integration/outer-1", - "allow": [ - "test-support/integration", - "test-support/integration/outer-1", - "unclassified" - ] - }, - { - "from": "version-compatibility/application/outer-1", - "allow": ["version-compatibility/application/outer-1", "unclassified"] - }, - { - "from": "video-edit/application/outer-1", - "allow": [ - "video-edit/domain", - "video-edit/infrastructure", - "video-edit/application/outer-1", - "unclassified" - ] - }, - { - "from": "vue-node-renderer/application/outer-1", - "allow": [ - "vue-node-renderer/domain", - "vue-node-renderer/application", - "vue-node-renderer/infrastructure", - "vue-node-renderer/application/outer-1", - "unclassified" - ] - }, - { - "from": "vue-node-renderer/integration/outer-1", - "allow": [ - "vue-node-renderer/domain", - "vue-node-renderer/application", - "vue-node-renderer/infrastructure", - "vue-node-renderer/presentation", - "vue-node-renderer/integration", - "vue-node-renderer/application/outer-1", - "vue-node-renderer/integration/outer-1", - "unclassified" - ] - }, - { - "from": "vue-node-widgets/presentation/outer-1", - "allow": [ - "vue-node-widgets/domain", - "vue-node-widgets/application", - "vue-node-widgets/presentation", - "vue-node-widgets/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "vue-node-widgets/integration/outer-1", - "allow": [ - "vue-node-widgets/domain", - "vue-node-widgets/application", - "vue-node-widgets/presentation", - "vue-node-widgets/integration", - "vue-node-widgets/presentation/outer-1", - "vue-node-widgets/integration/outer-1", - "unclassified" - ] - }, - { - "from": "workflow-deployment/domain/outer-1", - "allow": ["workflow-deployment/domain/outer-1", "unclassified"] - }, - { - "from": "workflow-errors/application/outer-1", - "allow": [ - "keybindings/application/public", - "extension-manager/domain", - "extension-manager/infrastructure", - "keybindings/domain", - "keybindings/application", - "workflow-errors/domain", - "workflow-errors/application", - "extension-manager/domain/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "workflow-errors/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "workflow-errors/presentation/outer-1", - "allow": [ - "keybindings/application/public", - "extension-manager/domain", - "extension-manager/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "workflow-errors/domain", - "workflow-errors/application", - "workflow-errors/presentation", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "workflow-errors/application/outer-1", - "workflow-errors/presentation/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "workflow-management/presentation/outer-1", - "allow": [ - "keybindings/application/public", - "error-reporting/domain", - "error-reporting/application", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "telemetry/domain", - "telemetry/application", - "workflow-management/domain", - "workflow-management/application", - "workflow-management/presentation", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "workflow-management/presentation/outer-1", - "unclassified" - ] - }, - { - "from": "workflow-persistence/domain/outer-1", - "allow": [ - "keybindings/domain", - "keybindings/domain/outer-1", - "workflow-persistence/domain/outer-1", - "unclassified" - ] - }, - { - "from": "workflow-sharing/application/outer-1", - "allow": [ - "workflow-sharing/application", - "workflow-sharing/infrastructure", - "workflow-sharing/application/outer-1", - "workflow-sharing/domain/outer-2", - "unclassified" - ] - }, - { - "from": "workflow-templates/application/outer-1", - "allow": [ - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "workflow-templates/domain", - "workflow-templates/infrastructure", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "workflow-templates/application/outer-1", - "unclassified" - ] - }, - { - "from": "workflow-thumbnails/application/outer-1", - "allow": [ - "workflow-thumbnails/infrastructure", - "workflow-thumbnails/application/outer-1", - "unclassified" - ] - }, - { - "from": "assets/domain/outer-2", - "allow": ["assets/domain", "assets/domain/outer-2", "unclassified"] - }, - { - "from": "billing/application/outer-2", - "allow": [ - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "keybindings/application/public", - "server-facts/domain/public", - "billing/domain", - "billing/application", - "billing/infrastructure", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "keybindings/domain", - "keybindings/application", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "billing/domain/outer-1", - "billing/application/outer-1", - "billing/infrastructure/outer-1", - "design-system/domain/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "billing/application/outer-2", - "unclassified" - ] - }, - { - "from": "browser-interaction/domain/outer-2", - "allow": ["browser-interaction/domain/outer-2", "unclassified"] - }, - { - "from": "cloud/presentation/outer-2", - "allow": [ - "cloud/domain", - "cloud/application", - "cloud/presentation", - "telemetry/domain", - "telemetry/application", - "cloud/domain/outer-1", - "cloud/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "cloud/presentation/outer-2", - "cloud/application/outer-3", - "unclassified" - ] - }, - { - "from": "extension-manager/application/outer-2", - "allow": [ - "keybindings/application/public", - "app-host/domain", - "app-host/application", - "app-host/infrastructure", - "comfy-registry/domain", - "comfy-registry/application", - "comfy-registry/infrastructure", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "dialog-host/domain", - "dialog-host/application", - "extension-manager/domain", - "extension-manager/infrastructure", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/infrastructure", - "keybindings/domain", - "keybindings/application", - "system-info/domain", - "system-info/application", - "app-host/domain/outer-1", - "design-system/domain/outer-1", - "extension-manager/domain/outer-1", - "extension-runtime/infrastructure/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "extension-manager/application/outer-2", - "unclassified" - ] - }, - { - "from": "first-run-tour/presentation/outer-2", - "allow": [ - "keybindings/application/public", - "first-run-tour/domain", - "first-run-tour/application", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "first-run-tour/application/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "first-run-tour/presentation/outer-2", - "unclassified" - ] - }, - { - "from": "graph-layout/domain/outer-2", - "allow": [ - "graph-layout/domain", - "graph-layout/domain/outer-2", - "unclassified" - ] - }, - { - "from": "image-compositor/domain/outer-2", - "allow": [ - "dialog-host/domain", - "image-compositor/domain", - "image-compositor/domain/outer-2", - "unclassified" - ] - }, - { - "from": "release-notes/presentation/outer-2", - "allow": [ - "keybindings/application/public", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "release-notes/application", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "release-notes/presentation/outer-2", - "unclassified" - ] - }, - { - "from": "viewport-3d/application/outer-2", - "allow": [ - "viewport-3d/application", - "viewport-3d/application/outer-2", - "unclassified" - ] - }, - { - "from": "workbench-shell/presentation/outer-2", - "allow": [ - "keybindings/application/public", - "extension-manager/domain", - "extension-manager/presentation", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "telemetry/domain", - "telemetry/application", - "workbench-shell/domain", - "workbench-shell/application", - "workbench-shell/presentation", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "extension-manager/application/outer-2", - "workbench-shell/presentation/outer-2", - "unclassified" - ] - }, - { - "from": "workflow-persistence/application/outer-2", - "allow": [ - "keybindings/application/public", - "keybindings/domain", - "keybindings/application", - "workflow-persistence/infrastructure", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "workflow-persistence/domain/outer-1", - "workflow-persistence/application/outer-2", - "unclassified" - ] - }, - { - "from": "workflow-sharing/domain/outer-2", - "allow": ["workflow-sharing/domain/outer-2", "unclassified"] - }, - { - "from": "cloud/application/outer-3", - "allow": [ - "cloud/domain", - "cloud/application", - "cloud/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "cloud/domain/outer-1", - "cloud/application/outer-1", - "cloud/infrastructure/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "cloud/application/outer-3", - "unclassified" - ] - }, - { - "from": "workflow-format/domain/outer-3", - "allow": [ - "workflow-format/domain", - "workflow-format/domain/outer-3", + "from": "account/public", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "account", + "_inventory", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "comfyui-api/public", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "image-compare/public", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "image-compare", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "image-compositor/public", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "image-compositor", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "image-crop/public", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "image-crop", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "ingest-api/public", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "ingest-api", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "keybindings/public", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "mask-editor/public", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "mask-editor", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "painter/public", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "painter", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "remote-config/public", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "server-facts/public", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "server-facts", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "webcam-capture/public", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "webcam-capture", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "account", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "account", + "_inventory", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "_inventory", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "image-compare", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "image-compare", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "image-compositor", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "image-compositor", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "image-crop", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "image-crop", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "ingest-api", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "ingest-api", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "mask-editor", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "mask-editor", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "painter", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "painter", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "server-facts", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "server-facts", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "webcam-capture", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "webcam-capture", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "_inventory/outer-1", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "_inventory/outer-1", + "_inventory/outer-2", + "unclassified" + ] + }, + { + "from": "_inventory/outer-2", + "allow": [ + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "_inventory/outer-1", + "_inventory/outer-2", "unclassified" ] }, { "from": "unclassified", "allow": [ - "account/presentation/public", - "account/integration/public", - "comfyui-api/domain/public", - "ingest-api/domain/public", - "ingest-api/infrastructure/public", - "keybindings/application/public", - "keybindings/integration/public", - "node-definition/domain/public", - "remote-config/infrastructure/public", - "server-facts/domain/public", - "webcam-capture/integration/public", - "agent/domain", - "agent/application", - "agent/infrastructure", - "agent/presentation", - "agent/integration", - "app-builder/domain", - "app-builder/application", - "app-host/domain", - "app-host/application", - "app-host/infrastructure", - "app-host/presentation", - "app-host/integration", - "assets/domain", - "assets/application", - "assets/infrastructure", - "assets/presentation", - "assets/integration", - "async-control/application", - "audio/application", - "audio/infrastructure", - "audio/presentation", - "audio/integration", - "authentication/domain", - "authentication/application", - "authentication/infrastructure", - "authentication/presentation", - "authentication/integration", - "billing/domain", - "billing/application", - "billing/infrastructure", - "billing/presentation", - "billing/integration", - "bottom-panel/infrastructure", - "bottom-panel/presentation", - "bounding-boxes/domain", - "bounding-boxes/application", - "bounding-boxes/presentation", - "bounding-boxes/integration", - "browser-export/infrastructure", - "browser-interaction/application", - "browser-interaction/infrastructure", - "camera-authoring/application", - "camera-authoring/presentation", - "camera-authoring/integration", - "canvas-renderer/domain", - "canvas-renderer/application", - "canvas-renderer/infrastructure", - "canvas-renderer/presentation", - "canvas-renderer/integration", - "cloud/domain", - "cloud/application", - "cloud/infrastructure", - "cloud/presentation", - "cloud/integration", - "color-palettes/domain", - "color-palettes/application", - "comfy-registry/domain", - "comfy-registry/application", - "comfy-registry/infrastructure", - "comfyui-api/domain", - "design-system/domain", - "design-system/application", - "design-system/infrastructure", - "design-system/presentation", - "dialog-host/domain", - "dialog-host/application", - "dialog-host/integration", - "error-catalog/domain", - "error-handling/domain", - "error-handling/application", - "error-reporting/domain", - "error-reporting/application", - "error-reporting/infrastructure", - "execution/domain", - "execution/application", - "execution/infrastructure", - "execution/presentation", - "execution/integration", - "extension-manager/domain", - "extension-manager/infrastructure", - "extension-manager/presentation", - "extension-manager/integration", - "extension-runtime/domain", - "extension-runtime/application", - "extension-runtime/infrastructure", - "extension-runtime/presentation", - "extension-runtime/integration", - "first-run-tour/domain", - "first-run-tour/application", - "first-run-tour/integration", - "glsl-preview/domain", - "glsl-preview/infrastructure", - "graph-canvas/domain", - "graph-canvas/application", - "graph-canvas/infrastructure", - "graph-canvas/presentation", - "graph-canvas/integration", - "graph-commands/application", - "graph-commands/infrastructure", - "graph-compatibility/integration", - "graph-layout/domain", - "graph-layout/application", - "graph-layout/infrastructure", - "graph-layout/presentation", - "graph-layout/integration", - "graph-model/domain", - "graph-model/application", - "graph-model/infrastructure", - "graph-model/integration", - "graph-selection/domain", - "graph-selection/application", - "graph-selection/integration", - "graph-traversal/application", - "hdr-viewer/application", - "hdr-viewer/infrastructure", - "hdr-viewer/presentation", - "hdr-viewer/integration", - "help-center/application", - "help-center/presentation", - "job-queue/domain", - "job-queue/application", - "job-queue/infrastructure", - "job-queue/presentation", - "job-queue/integration", - "keybindings/domain", - "keybindings/application", - "keybindings/presentation", - "keybindings/integration", - "light-authoring/application", - "light-authoring/presentation", - "light-authoring/integration", - "linear-mode/domain", - "linear-mode/application", - "linear-mode/presentation", - "link-connection/domain", - "link-connection/application", - "link-connection/integration", - "link-presentation/domain", - "link-presentation/application", - "link-presentation/presentation", - "litegraph-api/infrastructure", - "litegraph-api/integration", - "markdown-rendering/infrastructure", - "media-lightbox/presentation", - "media-loading/application", - "media-metadata/domain", - "media-metadata/application", - "media-metadata/integration", - "minimap/domain", - "minimap/application", - "minimap/infrastructure", - "minimap/presentation", - "missing-media/domain", - "missing-media/presentation", - "missing-models/domain", - "missing-models/application", - "missing-models/infrastructure", - "missing-models/presentation", - "model-3d/domain", - "model-3d/application", - "model-3d/infrastructure", - "model-3d/integration", - "model-library/application", - "model-library/presentation", - "model-library/integration", - "navigation/application", - "navigation/infrastructure", - "navigation/integration", - "node-badges/domain", - "node-badges/application", - "node-badges/integration", - "node-definition/domain", - "node-library/domain", - "node-library/application", - "node-library/infrastructure", - "node-library/presentation", - "node-library/integration", - "node-replacement/domain", - "node-replacement/infrastructure", - "node-replacement/presentation", - "node-templates/integration", - "node-type-registration/integration", - "node-widgets/domain", - "node-widgets/application", - "node-widgets/infrastructure", - "node-widgets/presentation", - "node-widgets/integration", - "note-nodes/presentation", - "note-nodes/integration", - "numeric-geometry/domain", - "onboarding-tours/domain", - "onboarding-tours/application", - "onboarding-tours/infrastructure", - "prompt-authoring/domain", - "prompt-authoring/integration", - "properties-panel/application", - "release-notes/application", - "release-notes/infrastructure", - "remote-config/domain", - "remote-config/application", - "remote-config/infrastructure", - "runtime-guards/domain", - "secrets/application", - "secrets/infrastructure", - "secrets/presentation", - "selection-toolbox/domain", - "selection-toolbox/presentation", - "selection-toolbox/integration", - "settings/domain", - "settings/application", - "settings/infrastructure", - "settings/presentation", - "settings/integration", - "skill-packs/domain", - "skill-packs/infrastructure", - "skill-packs/presentation", - "startup-tracing/infrastructure", - "subgraph-blueprints/application", - "subgraph-promotion/domain", - "subgraph-promotion/application", - "subgraph-promotion/presentation", - "subgraphs/domain", - "subgraphs/application", - "subgraphs/presentation", - "subgraphs/integration", - "support-feedback/domain", - "surveys/domain", - "surveys/presentation", - "system-info/domain", - "system-info/application", - "system-info/presentation", - "tasks/infrastructure", - "telemetry/domain", - "telemetry/application", - "telemetry/infrastructure", - "telemetry/integration", - "test-support/integration", - "text-output-preview/domain", - "text-output-preview/presentation", - "text-output-preview/integration", - "value-formatting/domain", - "video-edit/domain", - "video-edit/infrastructure", - "video-edit/presentation", - "viewport-3d/application", - "viewport-3d/presentation", - "viewport-3d/integration", - "vue-node-renderer/domain", - "vue-node-renderer/application", - "vue-node-renderer/infrastructure", - "vue-node-renderer/presentation", - "vue-node-renderer/integration", - "vue-node-widgets/domain", - "vue-node-widgets/application", - "vue-node-widgets/presentation", - "vue-node-widgets/integration", - "workbench-shell/domain", - "workbench-shell/application", - "workbench-shell/infrastructure", - "workbench-shell/presentation", - "workbench-shell/integration", - "workflow-deployment/application", - "workflow-deployment/presentation", - "workflow-errors/domain", - "workflow-errors/application", - "workflow-errors/presentation", - "workflow-errors/integration", - "workflow-format/domain", - "workflow-format/application", - "workflow-format/infrastructure", - "workflow-management/domain", - "workflow-management/application", - "workflow-management/infrastructure", - "workflow-management/presentation", - "workflow-management/integration", - "workflow-persistence/infrastructure", - "workflow-persistence/integration", - "workflow-sharing/application", - "workflow-sharing/infrastructure", - "workflow-sharing/presentation", - "workflow-templates/domain", - "workflow-templates/infrastructure", - "workflow-templates/presentation", - "workflow-thumbnails/infrastructure", - "workspace/domain", - "workspace/application", - "workspace/infrastructure", - "workspace/presentation", - "workspace/integration", - "agent/integration/outer-1", - "app-builder/presentation/outer-1", - "app-host/domain/outer-1", - "app-host/presentation/outer-1", - "assets/application/outer-1", - "assets/presentation/outer-1", - "assets/integration/outer-1", - "authentication/application/outer-1", - "authentication/infrastructure/outer-1", - "authentication/presentation/outer-1", - "billing/domain/outer-1", - "billing/application/outer-1", - "billing/infrastructure/outer-1", - "billing/presentation/outer-1", - "bottom-panel/integration/outer-1", - "bounding-boxes/application/outer-1", - "browser-export/infrastructure/outer-1", - "canvas-renderer/application/outer-1", - "canvas-renderer/infrastructure/outer-1", - "canvas-renderer/integration/outer-1", - "cloud/domain/outer-1", - "cloud/application/outer-1", - "cloud/infrastructure/outer-1", - "comfyui-api/domain/outer-1", - "design-system/domain/outer-1", - "design-system/presentation/outer-1", - "dialog-host/presentation/outer-1", - "error-handling/application/outer-1", - "extension-manager/domain/outer-1", - "extension-manager/presentation/outer-1", - "extension-runtime/infrastructure/outer-1", - "extension-runtime/presentation/outer-1", - "first-run-tour/application/outer-1", - "glsl-preview/application/outer-1", - "graph-compatibility/integration/outer-1", - "graph-layout/application/outer-1", - "graph-layout/integration/outer-1", - "graph-model/domain/outer-1", - "graph-model/integration/outer-1", - "hdr-viewer/domain/outer-1", - "job-queue/application/outer-1", - "job-queue/presentation/outer-1", - "keybindings/domain/outer-1", - "keybindings/application/outer-1", - "linear-mode/presentation/outer-1", - "media-metadata/infrastructure/outer-1", - "minimap/infrastructure/outer-1", - "missing-media/application/outer-1", - "model-3d/application/outer-1", - "model-3d/presentation/outer-1", - "navigation/domain/outer-1", - "node-definition/domain/outer-1", - "node-library/application/outer-1", - "node-replacement/application/outer-1", - "node-widgets/presentation/outer-1", - "onboarding-tours/presentation/outer-1", - "properties-panel/presentation/outer-1", - "remote-config/application/outer-1", - "secrets/domain/outer-1", - "selection-toolbox/integration/outer-1", - "settings/application/outer-1", - "skill-packs/application/outer-1", - "startup-tracing/application/outer-1", - "subgraph-promotion/domain/outer-1", - "subgraphs/domain/outer-1", - "support-feedback/application/outer-1", - "surveys/application/outer-1", - "telemetry/domain/outer-1", - "telemetry/application/outer-1", - "telemetry/integration/outer-1", - "test-support/integration/outer-1", - "version-compatibility/application/outer-1", - "video-edit/application/outer-1", - "vue-node-renderer/application/outer-1", - "vue-node-renderer/integration/outer-1", - "vue-node-widgets/presentation/outer-1", - "vue-node-widgets/integration/outer-1", - "workflow-deployment/domain/outer-1", - "workflow-errors/application/outer-1", - "workflow-errors/presentation/outer-1", - "workflow-management/presentation/outer-1", - "workflow-persistence/domain/outer-1", - "workflow-sharing/application/outer-1", - "workflow-templates/application/outer-1", - "workflow-thumbnails/application/outer-1", - "assets/domain/outer-2", - "billing/application/outer-2", - "browser-interaction/domain/outer-2", - "cloud/presentation/outer-2", - "extension-manager/application/outer-2", - "first-run-tour/presentation/outer-2", - "graph-layout/domain/outer-2", - "release-notes/presentation/outer-2", - "viewport-3d/application/outer-2", - "workbench-shell/presentation/outer-2", - "workflow-persistence/application/outer-2", - "workflow-sharing/domain/outer-2", - "cloud/application/outer-3", - "workflow-format/domain/outer-3", + "account/public", + "comfyui-api/public", + "image-compare/public", + "image-compositor/public", + "image-crop/public", + "ingest-api/public", + "keybindings/public", + "mask-editor/public", + "painter/public", + "remote-config/public", + "server-facts/public", + "webcam-capture/public", + "_inventory", + "_inventory/outer-1", + "_inventory/outer-2", "unclassified" ] } diff --git a/docs/architecture/domains/records/account.domain.json b/docs/architecture/domains/records/account.domain.json index ccd3c4c9840..f9e96290a97 100644 --- a/docs/architecture/domains/records/account.domain.json +++ b/docs/architecture/domains/records/account.domain.json @@ -4,76 +4,58 @@ "description": "Host coordinators and mixed account views compose authentication, billing, and workspace membership. This record contains only previously cataloged modules moved into platform/account by ADR-BILLING-0049; new account helpers remain unclassified.", "modules": [ { - "path": "src/platform/account/auth/WorkspaceAuthGate.vue", - "role": "presentation" + "path": "src/platform/account/auth/WorkspaceAuthGate.vue" }, { - "path": "src/platform/account/components/CurrentUserPopoverWorkspace.vue", - "role": "presentation" + "path": "src/platform/account/components/CurrentUserPopoverWorkspace.vue" }, { - "path": "src/platform/account/components/SubscriptionPanelContentWorkspace.vue", - "role": "presentation" + "path": "src/platform/account/components/SubscriptionPanelContentWorkspace.vue" }, { - "path": "src/platform/account/components/WorkspaceSwitcherPopover.vue", - "role": "presentation" + "path": "src/platform/account/components/WorkspaceSwitcherPopover.vue" }, { - "path": "src/platform/account/components/dialogs/InviteMemberDialogContent.vue", - "role": "presentation" + "path": "src/platform/account/components/dialogs/InviteMemberDialogContent.vue" }, { - "path": "src/platform/account/components/dialogs/TeamWorkspacesDialogContent.vue", - "role": "presentation" + "path": "src/platform/account/components/dialogs/TeamWorkspacesDialogContent.vue" }, { - "path": "src/platform/account/components/dialogs/settings/MembersPanelContent.vue", - "role": "presentation" + "path": "src/platform/account/components/dialogs/settings/MembersPanelContent.vue" }, { - "path": "src/platform/account/components/dialogs/settings/PlanCreditsPanelContent.vue", - "role": "presentation" + "path": "src/platform/account/components/dialogs/settings/PlanCreditsPanelContent.vue" }, { - "path": "src/platform/account/components/dialogs/settings/WorkspaceHeaderMenu.vue", - "role": "presentation" + "path": "src/platform/account/components/dialogs/settings/WorkspaceHeaderMenu.vue" }, { - "path": "src/platform/account/components/dialogs/settings/WorkspaceMembersPanelContent.vue", - "role": "presentation" + "path": "src/platform/account/components/dialogs/settings/WorkspaceMembersPanelContent.vue" }, { - "path": "src/platform/account/components/dialogs/settings/WorkspaceMenuButton.vue", - "role": "presentation" + "path": "src/platform/account/components/dialogs/settings/WorkspaceMenuButton.vue" }, { - "path": "src/platform/account/components/dialogs/settings/WorkspaceSettingsPanelContent.vue", - "role": "presentation" + "path": "src/platform/account/components/dialogs/settings/WorkspaceSettingsPanelContent.vue" }, { - "path": "src/platform/account/composables/__mocks__/useWorkspaceDialogs.ts", - "role": "presentation" + "path": "src/platform/account/composables/__mocks__/useWorkspaceDialogs.ts" }, { - "path": "src/platform/account/composables/useCreateWorkspaceUrlLoader.ts", - "role": "integration" + "path": "src/platform/account/composables/useCreateWorkspaceUrlLoader.ts" }, { - "path": "src/platform/account/composables/useInviteUrlLoader.ts", - "role": "integration" + "path": "src/platform/account/composables/useInviteUrlLoader.ts" }, { - "path": "src/platform/account/composables/useMembersPanel.ts", - "role": "presentation" + "path": "src/platform/account/composables/useMembersPanel.ts" }, { - "path": "src/platform/account/composables/useWorkspaceDialogs.ts", - "role": "presentation" + "path": "src/platform/account/composables/useWorkspaceDialogs.ts" }, { - "path": "src/platform/account/composables/useWorkspaceMenuItems.ts", - "role": "presentation" + "path": "src/platform/account/composables/useWorkspaceMenuItems.ts" } ], "publicEntryPoints": [ @@ -84,10 +66,9 @@ "src/platform/account/components/dialogs/settings/WorkspaceSettingsPanelContent.vue", "src/platform/account/composables/useCreateWorkspaceUrlLoader.ts", "src/platform/account/composables/useInviteUrlLoader.ts", - "src/platform/account/composables/useWorkspaceDialogs.ts" + "src/platform/account/composables/useWorkspaceDialogs.ts", + "src/platform/account/composables/__mocks__/useWorkspaceDialogs.ts" ], - "allowedDependencies": ["billing", "ingest-api", "server-facts", "workspace"], - "allowedConsumers": ["app-host", "authentication", "settings"], "characterizationScenarios": [ { "name": "Account bootstrap waits for identity, workspace selection, and billing capabilities", diff --git a/docs/architecture/domains/records/agent.domain.json b/docs/architecture/domains/records/agent.domain.json index e00e6e50331..fae834e5779 100644 --- a/docs/architecture/domains/records/agent.domain.json +++ b/docs/architecture/domains/records/agent.domain.json @@ -1,467 +1,337 @@ { "id": "agent", "capability": "In-App Agent", - "description": "The In-App Agent right-dock panel and its host registration: consent and first-use tour, panel visibility and workflow-target state, composer prompt and attachment state, the agent REST client and the /api/agent/events source, chat sessions, transcripts and history, reply rendering and feedback, topbar entry and target indicator, and the CRDT document follower that projects agent graph edits onto the live LiteGraph graph and sends human doc_ops back. The agent consent setting id (classified by settings) and the agent-panel telemetry helper are not claimed here; workflow, auth, workspace, billing, assets, skills, onboarding, and LiteGraph remain external.", + "description": "The In-App Agent right-dock panel and its host registration: consent and first-use tour, panel visibility and workflow-target state, composer prompt and attachment state, the agent REST client and the /api/agent/events source, chat sessions, transcripts and history, reply rendering and feedback, topbar entry and target indicator, and the CRDT document follower that projects agent graph edits onto the live LiteGraph graph and sends human doc_ops back. Reply rendering reads keybindings so a shortcut named in a reply is the key that user is bound to rather than the default the model remembers. The agent consent setting id (classified by settings) and the agent-panel telemetry helper are not claimed here; workflow, auth, workspace, billing, assets, skills, onboarding, and LiteGraph remain external.", "modules": [ { - "path": "src/components/graph/agentPanelMount.test.ts", - "role": "integration" + "path": "src/components/graph/agentPanelMount.test.ts" }, { - "path": "src/components/topbar/AgentEntryButton.stories.ts", - "role": "presentation" + "path": "src/components/topbar/AgentEntryButton.stories.ts" }, { - "path": "src/components/topbar/AgentEntryButton.vue", - "role": "presentation" + "path": "src/components/topbar/AgentEntryButton.vue" }, { - "path": "src/components/topbar/WorkflowAgentTargetIndicator.vue", - "role": "presentation" + "path": "src/components/topbar/WorkflowAgentTargetIndicator.vue" }, { - "path": "src/extensions/core/agentPanel.ts", - "role": "integration" + "path": "src/extensions/core/agentPanel.ts" }, { - "path": "src/workbench/extensions/agent/AgentPanelRoot.vue", - "role": "integration" + "path": "src/workbench/extensions/agent/AgentPanelRoot.vue" }, { - "path": "src/workbench/extensions/agent/agentDocs.ts", - "role": "presentation" + "path": "src/workbench/extensions/agent/agentDocs.ts" }, { - "path": "src/workbench/extensions/agent/components/**", - "role": "presentation" + "path": "src/workbench/extensions/agent/components/**" }, { - "path": "src/workbench/extensions/agent/composables/agent/mentionPickerState.ts", - "role": "presentation" + "path": "src/workbench/extensions/agent/composables/agent/mentionPickerState.ts" }, { - "path": "src/workbench/extensions/agent/composables/agent/useAgentConsent.ts", - "role": "application" + "path": "src/workbench/extensions/agent/composables/agent/useAgentConsent.ts" }, { - "path": "src/workbench/extensions/agent/composables/agent/useAgentDraftSubmission.ts", - "role": "application" + "path": "src/workbench/extensions/agent/composables/agent/useAgentDraftSubmission.ts" }, { - "path": "src/workbench/extensions/agent/composables/agent/useAgentMentionPicker.ts", - "role": "presentation" + "path": "src/workbench/extensions/agent/composables/agent/useAgentMentionPicker.ts" }, { - "path": "src/workbench/extensions/agent/composables/agent/useAgentSession.ts", - "role": "application" + "path": "src/workbench/extensions/agent/composables/agent/useAgentSession.ts" }, { - "path": "src/workbench/extensions/agent/composables/agent/useAgentTargetNavigation.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/composables/agent/useAgentTargetNavigation.ts" }, { - "path": "src/workbench/extensions/agent/composables/agent/useAgentWorkflowResolver.ts", - "role": "application" + "path": "src/workbench/extensions/agent/composables/agent/useAgentWorkflowResolver.ts" }, { - "path": "src/workbench/extensions/agent/composables/agent/useAgentWorkflowSelection.ts", - "role": "application" + "path": "src/workbench/extensions/agent/composables/agent/useAgentWorkflowSelection.ts" }, { - "path": "src/workbench/extensions/agent/composables/agent/useAttachment.ts", - "role": "application" + "path": "src/workbench/extensions/agent/composables/agent/useAttachment.ts" }, { - "path": "src/workbench/extensions/agent/composables/agent/useCanvasSelection.ts", - "role": "application" + "path": "src/workbench/extensions/agent/composables/agent/useCanvasSelection.ts" }, { - "path": "src/workbench/extensions/agent/composables/agent/useComposer.ts", - "role": "application" + "path": "src/workbench/extensions/agent/composables/agent/useComposer.ts" }, { - "path": "src/workbench/extensions/agent/composables/agent/useOnboarding.ts", - "role": "application" + "path": "src/workbench/extensions/agent/composables/agent/useOnboarding.ts" }, { - "path": "src/workbench/extensions/agent/composables/agent/useSkillMenuDescription.ts", - "role": "presentation" + "path": "src/workbench/extensions/agent/composables/agent/useSkillMenuDescription.ts" }, { - "path": "src/workbench/extensions/agent/composables/agent/useWorkflowReferencePicker.ts", - "role": "presentation" + "path": "src/workbench/extensions/agent/composables/agent/useWorkflowReferencePicker.ts" }, { - "path": "src/workbench/extensions/agent/composables/useAgentDockMount.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/composables/useAgentDockMount.ts" }, { - "path": "src/workbench/extensions/agent/composables/useBillingIdentity.ts", - "role": "application" + "path": "src/workbench/extensions/agent/composables/useBillingIdentity.ts" }, { - "path": "src/workbench/extensions/agent/crdt/CrdtDevPanel.vue", - "role": "presentation" + "path": "src/workbench/extensions/agent/crdt/CrdtDevPanel.vue" }, { - "path": "src/workbench/extensions/agent/crdt/__fixtures__/**", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/__fixtures__/**" }, { - "path": "src/workbench/extensions/agent/crdt/__fixtures__/docFrameClient.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/crdt/agentCrdtDocLifecycle.ts" }, { - "path": "src/workbench/extensions/agent/crdt/agentCrdtDocLifecycle.ts", - "role": "application" + "path": "src/workbench/extensions/agent/crdt/agentCrdtProjection.ts" }, { - "path": "src/workbench/extensions/agent/crdt/agentCrdtProjection.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/agentCrdtTransport.ts" }, { - "path": "src/workbench/extensions/agent/crdt/agentCrdtTransport.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/crdt/agentDeleteTabSwitchRace.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/agentDeleteTabSwitchRace.test.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/agentGrownDynamicSlot.regression.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/agentGrownDynamicSlot.regression.test.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/agentInsertWorkflow.linkTopology.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/agentInsertWorkflow.linkTopology.test.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/agentInsertWorkflow.subgraphs.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/agentInsertWorkflow.subgraphs.test.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/agentInsertWorkflow.templates.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/agentInsertWorkflow.templates.test.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/agentInsertWorkflow.widgetTypes.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/agentInsertWorkflow.widgetTypes.test.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/agentInsertWorkflowLinks.regression.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/agentInsertWorkflowLinks.regression.test.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/agentInsertWorkflowWidgets.regression.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/agentInsertWorkflowWidgets.regression.test.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/agentSubgraphDefinitions.ts" }, { - "path": "src/workbench/extensions/agent/crdt/agentSubgraphDefinitions.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/agentSubgraphFollower.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/agentSubgraphFollower.test.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/agentSubgraphInsertWorkflow.regression.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/agentSubgraphInsertWorkflow.regression.test.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/applierConformance.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/applierConformance.test.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/batchPlacement.ts" }, { - "path": "src/workbench/extensions/agent/crdt/batchPlacement.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/crdtDebugGate.ts" }, { - "path": "src/workbench/extensions/agent/crdt/crdtDebugGate.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/crdt/crdtDebugReport.ts" }, { - "path": "src/workbench/extensions/agent/crdt/crdtDebugReport.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/crdt/crdtLog.ts" }, { - "path": "src/workbench/extensions/agent/crdt/crdtLog.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/crdt/crdtSnapshot.ts" }, { - "path": "src/workbench/extensions/agent/crdt/crdtSnapshot.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/crossWorkflowPending.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/crossWorkflowPending.test.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/devPanelLog.ts" }, { - "path": "src/workbench/extensions/agent/crdt/devPanelLog.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/crdt/docChangeCollector.ts" }, { - "path": "src/workbench/extensions/agent/crdt/docChangeCollector.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/docFrameClient.ts" }, { - "path": "src/workbench/extensions/agent/crdt/docFrameClient.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/crdt/docFrameCodes.ts" }, { - "path": "src/workbench/extensions/agent/crdt/docFrameCodes.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/docFrameWireContract.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/docFrameWireContract.test.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/crdt/docOpMinter.ts" }, { - "path": "src/workbench/extensions/agent/crdt/docOpMinter.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/followerDoc.ts" }, { - "path": "src/workbench/extensions/agent/crdt/followerDoc.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/followerProductGate.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/followerProductGate.test.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/followerSubscription.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/followerSubscription.test.ts", - "role": "application" + "path": "src/workbench/extensions/agent/crdt/graphOperations.ts" }, { - "path": "src/workbench/extensions/agent/crdt/graphOperations.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/layoutFollowerBridge.ts" }, { - "path": "src/workbench/extensions/agent/crdt/layoutFollowerBridge.ts", - "role": "application" + "path": "src/workbench/extensions/agent/crdt/linkMintOutboundPositionCorruption.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/linkMintOutboundPositionCorruption.test.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/liveGraphApplier.ts" }, { - "path": "src/workbench/extensions/agent/crdt/liveGraphApplier.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/loadImageLivePreview.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/loadImageLivePreview.test.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/localWidgetWrites.ts" }, { - "path": "src/workbench/extensions/agent/crdt/localWidgetWrites.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/mediaUiDiagnostics.ts" }, { - "path": "src/workbench/extensions/agent/crdt/mediaUiDiagnostics.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/mergeScenarios.ts" }, { - "path": "src/workbench/extensions/agent/crdt/mergeScenarios.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/mergeTrace.ts" }, { - "path": "src/workbench/extensions/agent/crdt/mergeTrace.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/opCoalescer.ts" }, { - "path": "src/workbench/extensions/agent/crdt/opCoalescer.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/opEnvelope.ts" }, { - "path": "src/workbench/extensions/agent/crdt/opEnvelope.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/opSender.ts" }, { - "path": "src/workbench/extensions/agent/crdt/opSender.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/crdt/rejectedOpChanges.ts" }, { - "path": "src/workbench/extensions/agent/crdt/rejectedOpChanges.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/rejectedOpNotice.ts" }, { - "path": "src/workbench/extensions/agent/crdt/rejectedOpNotice.ts", - "role": "application" + "path": "src/workbench/extensions/agent/crdt/restoreOpMinter.ts" }, { - "path": "src/workbench/extensions/agent/crdt/restoreOpMinter.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/schemaGuard.ts" }, { - "path": "src/workbench/extensions/agent/crdt/schemaGuard.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/semanticLayoutSeparation.guard.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/semanticLayoutSeparation.guard.test.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/useAgentCrdtFollower.ts" }, { - "path": "src/workbench/extensions/agent/crdt/useAgentCrdtFollower.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/crdt/workflowSyncErrorDetail.ts" }, { - "path": "src/workbench/extensions/agent/crdt/workflowSyncErrorDetail.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/crdt/writeLegInvariants.property.test.ts" }, { - "path": "src/workbench/extensions/agent/crdt/writeLegInvariants.property.test.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/experiments/**" }, { - "path": "src/workbench/extensions/agent/experiments/**", - "role": "application" + "path": "src/workbench/extensions/agent/feedback.ts" }, { - "path": "src/workbench/extensions/agent/feedback.ts", - "role": "application" + "path": "src/workbench/extensions/agent/schemas/**" }, { - "path": "src/workbench/extensions/agent/schemas/**", - "role": "domain" + "path": "src/workbench/extensions/agent/services/agent/agentActivityRows.ts" }, { - "path": "src/workbench/extensions/agent/services/agent/agentActivityRows.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/services/agent/agentEventSource.ts" }, { - "path": "src/workbench/extensions/agent/services/agent/agentEventSource.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/services/agent/agentEventTransport.ts" }, { - "path": "src/workbench/extensions/agent/services/agent/agentEventTransport.ts", - "role": "application" + "path": "src/workbench/extensions/agent/services/agent/agentMessageParts.ts" }, { - "path": "src/workbench/extensions/agent/services/agent/agentMessageParts.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/services/agent/agentPaywallPresentation.ts" }, { - "path": "src/workbench/extensions/agent/services/agent/agentPaywallPresentation.ts", - "role": "presentation" + "path": "src/workbench/extensions/agent/services/agent/agentRestClient.ts" }, { - "path": "src/workbench/extensions/agent/services/agent/agentRestClient.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/services/agent/agentToolGlyph.ts" }, { - "path": "src/workbench/extensions/agent/services/agent/agentToolGlyph.ts", - "role": "presentation" + "path": "src/workbench/extensions/agent/services/agent/agentTranscript.ts" }, { - "path": "src/workbench/extensions/agent/services/agent/agentTranscript.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/services/agent/targetAwareAgentNavigation.ts" }, { - "path": "src/workbench/extensions/agent/services/agent/targetAwareAgentNavigation.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/services/agent/undeliverableAskReporter.ts" }, { - "path": "src/workbench/extensions/agent/services/agent/undeliverableAskReporter.ts", - "role": "application" + "path": "src/workbench/extensions/agent/services/agent/workflowTabActivityTracker.ts" }, { - "path": "src/workbench/extensions/agent/services/agent/workflowTabActivityTracker.ts", - "role": "integration" + "path": "src/workbench/extensions/agent/stores/**" }, { - "path": "src/workbench/extensions/agent/stores/**", - "role": "application" + "path": "src/workbench/extensions/agent/types/**" }, { - "path": "src/workbench/extensions/agent/types/**", - "role": "domain" + "path": "src/workbench/extensions/agent/utils/agentMessageText.ts" }, { - "path": "src/workbench/extensions/agent/utils/agentMessageText.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/utils/attachableFiles.ts" }, { - "path": "src/workbench/extensions/agent/utils/attachableFiles.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/utils/composerPrompt.ts" }, { - "path": "src/workbench/extensions/agent/utils/composerPrompt.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/utils/getPageVisibilityMetadata.ts" }, { - "path": "src/workbench/extensions/agent/utils/getPageVisibilityMetadata.ts", - "role": "application" + "path": "src/workbench/extensions/agent/utils/promptReferenceParts.ts" }, { - "path": "src/workbench/extensions/agent/utils/promptReferenceParts.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/utils/replyAssets.ts" }, { - "path": "src/workbench/extensions/agent/utils/replyAssets.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/utils/resolveReplyAssetDownload.ts" }, { - "path": "src/workbench/extensions/agent/utils/resolveReplyAssetDownload.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/utils/sessionTitle.ts" }, { - "path": "src/workbench/extensions/agent/utils/sessionTitle.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/utils/skillReferenceText.ts" }, { - "path": "src/workbench/extensions/agent/utils/skillReferenceText.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/utils/starterPrompts.ts" }, { - "path": "src/workbench/extensions/agent/utils/starterPrompts.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/utils/videoThumbnail.ts" }, { - "path": "src/workbench/extensions/agent/utils/videoThumbnail.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/utils/workflowReferenceParts.ts" }, { - "path": "src/workbench/extensions/agent/utils/workflowReferenceParts.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/utils/workflowReferenceText.ts" }, { - "path": "src/workbench/extensions/agent/utils/workflowReferenceText.ts", - "role": "domain" + "path": "src/workbench/extensions/agent/services/agent/agentAuth.ts" }, { - "path": "src/workbench/extensions/agent/services/agent/agentAuth.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/services/agent/__mocks__/agentAuth.ts" }, { - "path": "src/workbench/extensions/agent/services/agent/__mocks__/agentAuth.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/services/agent/agentIdentity.ts" }, { - "path": "src/workbench/extensions/agent/services/agent/agentIdentity.ts", - "role": "application" - }, - { - "path": "src/workbench/extensions/agent/crdt/agentDocFrameTransport.ts", - "role": "infrastructure" - }, - { - "path": "src/workbench/extensions/agent/crdt/__fixtures__/agentSocket.ts", - "role": "infrastructure" + "path": "src/workbench/extensions/agent/crdt/agentDocFrameTransport.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [ - "app-host", - "authentication", - "design-system", - "dialog-host", - "error-reporting", - "extension-runtime", - "keybindings", - "settings", - "workbench-shell", - "workflow-management" - ], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Host registration gates the dock on feature flag, open intent, and per-user and per-workspace consent", @@ -568,7 +438,7 @@ "registerAgentPanelExtension in src/extensions/core/agentPanel.ts remains the host seam that registers the dock, wires the workflow-tab activity tracker and restore-op minter notifications, and keeps consent ahead of any restored open intent.", "GraphCanvas and LinearView mount the dock through useAgentDockMount, and topbar, splitter, viewport, and GraphView callers read agentPanelStore, useAgentConsent, and getPageVisibilityMetadata directly until a public entry point exists.", "The CRDT follower keeps the doc_update, doc_subscribe, and doc_ops wire contract with the cloud doc host, and agent graph edits reach the live graph through LiteGraph graph operations.", - "Presentation components that call scripts/app, scripts/api, LiteGraph, or workflowService, domain types that import composables, and application stores that call the global settings API or session fetch remain visible as role-boundary debt; classification does not grant dependency exceptions." + "Presentation components that call scripts/app, scripts/api, LiteGraph, or workflowService, domain types that import composables, and application stores that call the global settings API or session fetch remain untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/app-builder.domain.json b/docs/architecture/domains/records/app-builder.domain.json index dff221cb152..75e472ce39f 100644 --- a/docs/architecture/domains/records/app-builder.domain.json +++ b/docs/architecture/domains/records/app-builder.domain.json @@ -4,45 +4,10 @@ "description": "Workflow app authoring: choose inputs and outputs, edit their presentation, enter builder mode, and save the resulting app. App execution remains in linear-mode.", "modules": [ { - "path": "src/components/builder/**", - "role": "presentation" - }, - { - "path": "src/components/builder/builderViewOptions.ts", - "role": "application" - }, - { - "path": "src/components/builder/types.ts", - "role": "domain" - }, - { - "path": "src/components/builder/useAppModeWidgetResizing.ts", - "role": "application" - }, - { - "path": "src/components/builder/useBuilderSave.ts", - "role": "application" - }, - { - "path": "src/components/builder/useBuilderSteps.ts", - "role": "application" - }, - { - "path": "src/components/builder/useEnterBuilder.ts", - "role": "application" - }, - { - "path": "src/components/builder/useLoaderDropIndicator.ts", - "role": "application" - }, - { - "path": "src/components/builder/useResolvedSelectedInputs.ts", - "role": "application" + "path": "src/components/builder/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Entering the builder guards empty workflows and walks the builder steps", diff --git a/docs/architecture/domains/records/app-host.domain.json b/docs/architecture/domains/records/app-host.domain.json index 590b5640191..e9ea3b66419 100644 --- a/docs/architecture/domains/records/app-host.domain.json +++ b/docs/architecture/domains/records/app-host.domain.json @@ -4,104 +4,70 @@ "description": "Shared technical module for app composition and startup: entrypoints, router, i18n, bootstrap state, GraphView, configuration, and desktop host wiring. Feature implementations remain in their own records.", "modules": [ { - "path": "src/App.vue", - "role": "presentation" + "path": "src/App.vue" }, { - "path": "src/__mocks__/**", - "role": "application" + "path": "src/__mocks__/**" }, { - "path": "src/bootstrap.ts", - "role": "integration" + "path": "src/bootstrap.ts" }, { - "path": "src/components/graph/GraphCanvas.vue", - "role": "integration" + "path": "src/components/graph/GraphCanvas.vue" }, { - "path": "src/composables/useExternalLink.ts", - "role": "infrastructure" + "path": "src/composables/useExternalLink.ts" }, { - "path": "src/composables/useUrlActionLoaders.ts", - "role": "integration" + "path": "src/composables/useUrlActionLoaders.ts" }, { - "path": "src/config.ts", - "role": "domain" + "path": "src/config.ts" }, { - "path": "src/config/comfyApi.ts", - "role": "infrastructure" + "path": "src/config/comfyApi.ts" }, { - "path": "src/config/viteSeo.test.ts", - "role": "infrastructure" + "path": "src/config/viteSeo.test.ts" }, { - "path": "src/constants/**", - "role": "domain" + "path": "src/constants/**" }, { - "path": "src/extensions/core/electronAdapter.ts", - "role": "integration" + "path": "src/extensions/core/electronAdapter.ts" }, { - "path": "src/i18n.ts", - "role": "application" + "path": "src/i18n.ts" }, { - "path": "src/locales/**", - "role": "domain" + "path": "src/locales/**" }, { - "path": "src/main.ts", - "role": "integration" + "path": "src/main.ts" }, { - "path": "src/platform/distribution/types.ts", - "role": "infrastructure" + "path": "src/platform/distribution/types.ts" }, { - "path": "src/router.ts", - "role": "integration" + "path": "src/router.ts" }, { - "path": "src/stores/bootstrapStore.ts", - "role": "application" + "path": "src/stores/bootstrapStore.ts" }, { - "path": "src/utils/electronMirrorCheck.ts", - "role": "infrastructure" + "path": "src/utils/electronMirrorCheck.ts" }, { - "path": "src/utils/envUtil.ts", - "role": "infrastructure" + "path": "src/utils/envUtil.ts" }, { - "path": "src/views/**", - "role": "presentation" + "path": "src/views/**" }, { - "path": "src/vite-env.d.ts", - "role": "domain" + "path": "src/vite-env.d.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [ - "account", - "error-reporting", - "extension-manager", - "keybindings", - "telemetry" - ], - "allowedConsumers": [ - "agent", - "error-reporting", - "extension-manager", - "selection-toolbox" - ], "characterizationScenarios": [ { "name": "Bootstrap loads i18n, waits for cloud auth with a bounded retry, and loads settings and workflows once", diff --git a/docs/architecture/domains/records/assets.domain.json b/docs/architecture/domains/records/assets.domain.json index 3121ee79735..dcb0c28fe7a 100644 --- a/docs/architecture/domains/records/assets.domain.json +++ b/docs/architecture/domains/records/assets.domain.json @@ -4,141 +4,49 @@ "description": "Asset records and content: the asset service and query adapters, asset and media-asset schemas, the model asset browser, model upload and import wizard, media assets sidebar panel, media asset actions (download, delete, zip and node-output export, drag), and the asset, download, export, and sidebar-badge stores. Queue and job stores, model-to-node mapping, missing-media and missing-model scans, the litegraph widget base, node widgets that render asset dropdowns, the agent composer asset tray, workflow sharing, and the queue media lightbox remain with their owning domains.", "modules": [ { - "path": "src/components/sidebar/tabs/**", - "role": "presentation" + "path": "src/components/sidebar/tabs/**" }, { - "path": "src/components/toast/**", - "role": "presentation" + "path": "src/components/toast/**" }, { - "path": "src/composables/sidebarTabs/**", - "role": "integration" + "path": "src/composables/sidebarTabs/**" }, { - "path": "src/composables/useProgressBarBackground.ts", - "role": "presentation" + "path": "src/composables/useProgressBarBackground.ts" }, { - "path": "src/lib/litegraph/src/widgets/AssetWidget.ts", - "role": "integration" + "path": "src/lib/litegraph/src/widgets/AssetWidget.ts" }, { - "path": "src/platform/assets/**", - "role": "domain" + "path": "src/platform/assets/**" }, { - "path": "src/platform/assets/components/**", - "role": "presentation" + "path": "src/stores/assetDownloadStore.ts" }, { - "path": "src/platform/assets/composables/**", - "role": "application" + "path": "src/stores/assetExportStore.ts" }, { - "path": "src/platform/assets/composables/media/**", - "role": "infrastructure" + "path": "src/stores/assetsStore.ts" }, { - "path": "src/platform/assets/composables/useAssetsQuery.ts", - "role": "infrastructure" + "path": "src/stores/workspace/assetsSidebarBadgeStore.ts" }, { - "path": "src/platform/assets/composables/useModelTypes.ts", - "role": "infrastructure" + "path": "src/utils/__tests__/eventUtils.test.ts" }, { - "path": "src/platform/assets/services/**", - "role": "infrastructure" + "path": "src/utils/eventUtils.ts" }, { - "path": "src/platform/assets/utils/__mocks__/outputAssetUtil.ts", - "role": "infrastructure" + "path": "src/utils/loaderNodeUtil.ts" }, { - "path": "src/platform/assets/utils/assetDragUtil.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/assets/utils/assetPreviewUtil.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/assets/utils/assetUrlUtil.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/assets/utils/clearDeletedAssetWidgetValues.ts", - "role": "application" - }, - { - "path": "src/platform/assets/utils/clearNodePreviewCacheForValues.ts", - "role": "application" - }, - { - "path": "src/platform/assets/utils/createAssetWidget.ts", - "role": "integration" - }, - { - "path": "src/platform/assets/utils/markDeletedAssetsAsMissingMedia.ts", - "role": "application" - }, - { - "path": "src/platform/assets/utils/mediaIconUtil.ts", - "role": "presentation" - }, - { - "path": "src/platform/assets/utils/outputAssetUtil.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/assets/utils/outputExportUtil.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/assets/utils/resolveModelNodeFromAsset.ts", - "role": "application" - }, - { - "path": "src/platform/assets/utils/resolveWidgetValueAsset.ts", - "role": "application" - }, - { - "path": "src/stores/assetDownloadStore.ts", - "role": "application" - }, - { - "path": "src/stores/assetExportStore.ts", - "role": "application" - }, - { - "path": "src/stores/assetsStore.ts", - "role": "application" - }, - { - "path": "src/stores/workspace/assetsSidebarBadgeStore.ts", - "role": "application" - }, - { - "path": "src/utils/__tests__/eventUtils.test.ts", - "role": "infrastructure" - }, - { - "path": "src/utils/eventUtils.ts", - "role": "infrastructure" - }, - { - "path": "src/utils/loaderNodeUtil.ts", - "role": "domain" - }, - { - "path": "src/utils/requestUtil.ts", - "role": "infrastructure" + "path": "src/utils/requestUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Asset service and stores fetch, paginate, and cache asset records", @@ -228,8 +136,8 @@ ], "compatibilityPromises": [ "Unclassified callers may import asset internals during inventory; imports from classified domains remain subject to cross-domain rules.", - "Asset stores and media actions keep depending on the shared queueStore, taskService, modelToNodeStore, workflow stores, litegraph, and dialog services they do not own; this cross-domain coupling stays visible and is not granted by classification.", - "Application composables that open presentation dialogs (useModelUpload, useNodeOutputsExport) and graph-mutating deletion utilities remain visible as role-boundary debt; classification does not grant dependency exceptions." + "Asset stores and media actions keep depending on the shared queueStore, taskService, modelToNodeStore, workflow stores, litegraph, and dialog services they do not own; this cross-domain coupling stays untracked and is not granted by classification.", + "Application composables that open presentation dialogs (useModelUpload, useNodeOutputsExport) and graph-mutating deletion utilities remain untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/async-control.domain.json b/docs/architecture/domains/records/async-control.domain.json index 856423da431..2c791f3d70f 100644 --- a/docs/architecture/domains/records/async-control.domain.json +++ b/docs/architecture/domains/records/async-control.domain.json @@ -4,25 +4,19 @@ "description": "Shared technical module for paged asynchronous work, cancellation, animation-frame coalescing, and idle scheduling. These utilities control when work runs; feature-specific fetches and stores remain external.", "modules": [ { - "path": "src/base/common/async.ts", - "role": "application" + "path": "src/base/common/async.ts" }, { - "path": "src/utils/createCancelToken.ts", - "role": "application" + "path": "src/utils/createCancelToken.ts" }, { - "path": "src/utils/pagedList.ts", - "role": "application" + "path": "src/utils/pagedList.ts" }, { - "path": "src/utils/rafBatch.ts", - "role": "application" + "path": "src/utils/rafBatch.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Asynchronous work control preserves its existing behavior", diff --git a/docs/architecture/domains/records/audio.domain.json b/docs/architecture/domains/records/audio.domain.json index 1166c500dd7..bbef9e07b95 100644 --- a/docs/architecture/domains/records/audio.domain.json +++ b/docs/architecture/domains/records/audio.domain.json @@ -4,45 +4,34 @@ "description": "Audio upload, recording, playback, and waveform presentation for audio nodes, plus the shared waveform player. Template, agent, queue, and asset components that embed the player remain with their owning domains.", "modules": [ { - "path": "src/components/common/WaveAudioPlayer.stories.ts", - "role": "presentation" + "path": "src/components/common/WaveAudioPlayer.stories.ts" }, { - "path": "src/components/common/WaveAudioPlayer.vue", - "role": "presentation" + "path": "src/components/common/WaveAudioPlayer.vue" }, { - "path": "src/composables/useWaveAudioPlayer.ts", - "role": "application" + "path": "src/composables/useWaveAudioPlayer.ts" }, { - "path": "src/extensions/core/uploadAudio.ts", - "role": "integration" + "path": "src/extensions/core/uploadAudio.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/components/WidgetRecordAudio.vue", - "role": "presentation" + "path": "src/renderer/extensions/vueNodes/widgets/components/WidgetRecordAudio.vue" }, { - "path": "src/renderer/extensions/vueNodes/widgets/components/audio/**", - "role": "presentation" + "path": "src/renderer/extensions/vueNodes/widgets/components/audio/**" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/audio/**", - "role": "application" + "path": "src/renderer/extensions/vueNodes/widgets/composables/audio/**" }, { - "path": "src/renderer/extensions/vueNodes/widgets/utils/audioUtils.ts", - "role": "infrastructure" + "path": "src/renderer/extensions/vueNodes/widgets/utils/audioUtils.ts" }, { - "path": "src/services/audioService.ts", - "role": "infrastructure" + "path": "src/services/audioService.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Upload, preview, and record widgets preserve audio node registration", diff --git a/docs/architecture/domains/records/authentication.domain.json b/docs/architecture/domains/records/authentication.domain.json index 376df85aca2..7753248223b 100644 --- a/docs/architecture/domains/records/authentication.domain.json +++ b/docs/architecture/domains/records/authentication.domain.json @@ -4,273 +4,193 @@ "description": "Account identity and credentials: Firebase identity, the auth, API-key, and local multi-user stores, sign-in actions and dialogs, social and SSO sign-in, shared web session cookie and request authorization, unified re-mint retry, desktop-host sessions, partner-node token exchange and run gate, and workspace-scoped token minting with its auth gate. Cloud session store, cloud identity boot, and the cloud API auth adapter stay in the cloud record. The identity and session core of @comfyorg/account-core and the sign-in pieces of @comfyorg/account-ui belong here. Workspace membership and billing remain separate capabilities, including the billing halves of both account packages.", "modules": [ { - "path": "src/components/actionbar/PartnerNodesRunCaption.vue", - "role": "presentation" + "path": "src/components/actionbar/PartnerNodesRunCaption.vue" }, { - "path": "src/components/dialog/content/ApiNodesSignInContent.vue", - "role": "presentation" + "path": "src/components/dialog/content/ApiNodesSignInContent.vue" }, { - "path": "src/components/dialog/content/SignInContent.vue", - "role": "presentation" + "path": "src/components/dialog/content/SignInContent.vue" }, { - "path": "src/components/dialog/content/UpdatePasswordContent.vue", - "role": "presentation" + "path": "src/components/dialog/content/UpdatePasswordContent.vue" }, { - "path": "src/components/dialog/content/setting/CurrentUserMessage.vue", - "role": "presentation" + "path": "src/components/dialog/content/setting/CurrentUserMessage.vue" }, { - "path": "src/components/dialog/content/setting/UserPanel.vue", - "role": "presentation" + "path": "src/components/dialog/content/setting/UserPanel.vue" }, { - "path": "src/components/dialog/content/signin/**", - "role": "presentation" + "path": "src/components/dialog/content/signin/**" }, { - "path": "src/components/dialog/header/**", - "role": "presentation" + "path": "src/components/dialog/header/**" }, { - "path": "src/components/sidebar/SidebarLogoutIcon.vue", - "role": "presentation" + "path": "src/components/sidebar/SidebarLogoutIcon.vue" }, { - "path": "src/components/topbar/CurrentUserButton.vue", - "role": "presentation" + "path": "src/components/topbar/CurrentUserButton.vue" }, { - "path": "src/components/topbar/CurrentUserPopoverLegacy.vue", - "role": "presentation" + "path": "src/components/topbar/CurrentUserPopoverLegacy.vue" }, { - "path": "src/components/topbar/LoginButton.vue", - "role": "presentation" + "path": "src/components/topbar/LoginButton.vue" }, { - "path": "src/composables/auth/**", - "role": "application" + "path": "src/composables/auth/**" }, { - "path": "src/platform/billing/composables/usePartnerNodesRunGate.ts", - "role": "application" + "path": "src/platform/billing/composables/usePartnerNodesRunGate.ts" }, { - "path": "src/composables/node/usePartnerNodesInGraph.ts", - "role": "application" + "path": "src/composables/node/usePartnerNodesInGraph.ts" }, { - "path": "src/config/**", - "role": "infrastructure" + "path": "src/config/**" }, { - "path": "src/platform/auth/authRejection.ts", - "role": "domain" + "path": "src/platform/auth/authRejection.ts" }, { - "path": "src/platform/auth/desktopHost/**", - "role": "infrastructure" + "path": "src/platform/auth/desktopHost/**" }, { - "path": "src/platform/auth/firebaseIdentity.ts", - "role": "infrastructure" + "path": "src/platform/auth/firebaseIdentity.ts" }, { - "path": "src/platform/auth/firebaseIdentityPopupWatch.test.ts", - "role": "infrastructure" + "path": "src/platform/auth/firebaseIdentityPopupWatch.test.ts" }, { - "path": "src/platform/auth/localWeb/**", - "role": "infrastructure" + "path": "src/platform/auth/localWeb/**" }, { - "path": "src/platform/auth/localWeb/accessTokenIdentity.ts", - "role": "domain" + "path": "src/platform/auth/nonWebClientsStayOnTokens.test.ts" }, { - "path": "src/platform/auth/nonWebClientsStayOnTokens.test.ts", - "role": "integration" + "path": "src/platform/auth/partnerNode/**" }, { - "path": "src/platform/auth/partnerNode/**", - "role": "infrastructure" + "path": "src/platform/auth/session/components/**" }, { - "path": "src/platform/auth/partnerNode/partnerNodeQueueToken.ts", - "role": "application" + "path": "src/platform/auth/session/interactiveSignInMarker.ts" }, { - "path": "src/platform/auth/session/components/**", - "role": "presentation" + "path": "src/platform/auth/session/ssoReentryStorage.ts" }, { - "path": "src/platform/auth/session/interactiveSignInMarker.ts", - "role": "infrastructure" + "path": "src/platform/auth/session/useSessionCookie.ts" }, { - "path": "src/platform/auth/session/ssoReentryStorage.ts", - "role": "infrastructure" + "path": "src/platform/auth/session/webSessionUser.ts" }, { - "path": "src/platform/auth/session/useSessionCookie.ts", - "role": "application" + "path": "src/platform/auth/social/**" }, { - "path": "src/platform/auth/session/webSessionUser.ts", - "role": "application" + "path": "src/platform/auth/sso/SsoAccountOutsideOrganizationDialogContent.vue" }, { - "path": "src/platform/auth/social/**", - "role": "application" + "path": "src/platform/auth/sso/SsoRequiredDialogContent.vue" }, { - "path": "src/platform/auth/sso/SsoAccountOutsideOrganizationDialogContent.vue", - "role": "presentation" + "path": "src/platform/auth/sso/ssoRequired.ts" }, { - "path": "src/platform/auth/sso/SsoRequiredDialogContent.vue", - "role": "presentation" + "path": "src/platform/auth/sso/ssoRequiredChunkFailure.test.ts" }, { - "path": "src/platform/auth/sso/ssoRequired.ts", - "role": "application" + "path": "src/platform/auth/sso/ssoRequiredDialogKey.ts" }, { - "path": "src/platform/auth/sso/ssoRequiredChunkFailure.test.ts", - "role": "application" + "path": "src/platform/auth/sso/ssoRequiredInline.ts" }, { - "path": "src/platform/auth/sso/ssoRequiredDialogKey.ts", - "role": "domain" + "path": "src/platform/auth/sso/ssoReturnPath.ts" }, { - "path": "src/platform/auth/sso/ssoRequiredInline.ts", - "role": "application" + "path": "src/platform/auth/sso/ssoTelemetry.ts" }, { - "path": "src/platform/auth/sso/ssoReturnPath.ts", - "role": "domain" + "path": "src/platform/auth/sso/useContinueWithSso.ts" }, { - "path": "src/platform/auth/sso/ssoTelemetry.ts", - "role": "infrastructure" + "path": "src/platform/auth/unified/**" }, { - "path": "src/platform/auth/sso/useContinueWithSso.ts", - "role": "application" + "path": "src/platform/auth/webSessionFlagOff.test.ts" }, { - "path": "src/platform/auth/unified/**", - "role": "infrastructure" + "path": "src/platform/auth/webSessionFlagOn.test.ts" }, { - "path": "src/platform/auth/webSessionFlagOff.test.ts", - "role": "integration" + "path": "src/platform/workspace/stores/legacyWorkspaceTokenRail.ts" }, { - "path": "src/platform/auth/webSessionFlagOn.test.ts", - "role": "integration" + "path": "src/platform/workspace/stores/useWorkspaceAuth.test.ts" }, { - "path": "src/platform/workspace/stores/legacyWorkspaceTokenRail.ts", - "role": "infrastructure" + "path": "src/platform/workspace/stores/workspaceAuthError.ts" }, { - "path": "src/platform/workspace/stores/useWorkspaceAuth.test.ts", - "role": "application" + "path": "src/platform/workspace/stores/workspaceAuthStore.ts" }, { - "path": "src/platform/workspace/stores/workspaceAuthError.ts", - "role": "domain" + "path": "src/schemas/signInSchema.ts" }, { - "path": "src/platform/workspace/stores/workspaceAuthStore.ts", - "role": "application" + "path": "src/stores/__tests__/**" }, { - "path": "src/schemas/signInSchema.ts", - "role": "domain" + "path": "src/stores/apiKeyAuthStore.ts" }, { - "path": "src/stores/__tests__/**", - "role": "application" + "path": "src/stores/authStore.ts" }, { - "path": "src/stores/apiKeyAuthStore.ts", - "role": "application" + "path": "src/stores/userStore.ts" }, { - "path": "src/stores/authStore.ts", - "role": "application" + "path": "src/storybook/mocks/useCurrentUser.ts" }, { - "path": "src/stores/userStore.ts", - "role": "application" + "path": "src/types/axios-augmentation.d.ts" }, { - "path": "src/storybook/mocks/useCurrentUser.ts", - "role": "application" + "path": "src/utils/__tests__/stubAccountIdentityPort.ts" }, { - "path": "src/types/axios-augmentation.d.ts", - "role": "infrastructure" + "path": "src/utils/hostWhitelist.ts" }, { - "path": "src/utils/__tests__/stubAccountIdentityPort.ts", - "role": "integration" + "path": "src/views/UserSelectView.vue" }, { - "path": "src/utils/hostWhitelist.ts", - "role": "domain" + "path": "packages/account-core/src/**" }, { - "path": "src/views/UserSelectView.vue", - "role": "presentation" + "path": "packages/account-ui/src/auth/**" }, { - "path": "packages/account-core/src/**", - "role": "application" + "path": "packages/api-client/src/apiAuthProvider.ts" }, { - "path": "packages/account-core/src/signInSchemas.ts", - "role": "domain" + "path": "packages/api-client/src/authCredential.ts" }, { - "path": "packages/account-ui/src/auth/**", - "role": "presentation" + "path": "packages/api-client/src/sessionMediaUrl.ts" }, { - "path": "packages/account-ui/src/auth/turnstileGate.ts", - "role": "application" + "path": "packages/api-client/src/webSessionFetch.ts" }, { - "path": "packages/api-client/src/apiAuthProvider.ts", - "role": "domain" - }, - { - "path": "packages/api-client/src/authCredential.ts", - "role": "domain" - }, - { - "path": "packages/api-client/src/sessionMediaUrl.ts", - "role": "domain" - }, - { - "path": "packages/api-client/src/webSessionFetch.ts", - "role": "infrastructure" - }, - { - "path": "packages/api-client/src/authTypes.ts", - "role": "domain" + "path": "packages/api-client/src/authTypes.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["account", "ingest-api", "keybindings", "telemetry"], - "allowedConsumers": ["agent", "settings"], "characterizationScenarios": [ { "name": "Firebase identity drives sign-in, sign-out, current-user projection, and auth headers", @@ -376,7 +296,7 @@ "Unclassified callers, the cloud record, workspace, billing, and app bootstrap code may continue importing authentication internals during inventory; imports from classified domains remain subject to cross-domain rules.", "authStore, useCurrentUser, apiKeyAuthStore, and userStore remain the app-wide identity seams; authStore stays a projection over the account-package identity and pushes nothing into the session client.", "workspaceAuthStore keeps constructing the session client with the package Firebase identity, and the legacy workspace-token rail remains until the unified_cloud_auth flag retires it.", - "Balance, customer, and credit-purchase calls still living in authStore, usePartnerNodesRunGate living under platform/billing/composables, and stores or composables that open dialogs or call scripts/api remain visible as responsibility and role-boundary debt; classification does not grant dependency exceptions." + "Balance, customer, and credit-purchase calls still living in authStore, usePartnerNodesRunGate living under platform/billing/composables, and stores or composables that open dialogs or call scripts/api remain untracked responsibility and coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/billing.domain.json b/docs/architecture/domains/records/billing.domain.json index 396ea2520f2..c696a6b7e2c 100644 --- a/docs/architecture/domains/records/billing.domain.json +++ b/docs/architecture/domains/records/billing.domain.json @@ -1,406 +1,241 @@ { "id": "billing", "capability": "Billing", - "description": "Billing for personal and team workspaces: the billing context that routes between legacy and workspace rails, billing dialogs, the billing SDK store and its operation projections, billing operation tracking, subscription checkout, plan change, resubscribe, downgrade, top-ups and pending top-ups, billing capabilities and capability revisions, billing banners, invoices, plan credits, pricing tables, hosted billing hand-off, and checkout journey telemetry. Cloud subscription plans, tier constants, and cancellation live under platform/billing/subscription; identity belongs to authentication and membership to workspace. The billing core of @comfyorg/account-core, the payment views of @comfyorg/account-ui, @comfyorg/billing-core, @comfyorg/billing-contract, and credit formatting from @comfyorg/shared-frontend-utils belong here.", + "description": "Billing for personal and team workspaces: the billing context, billing dialogs, the billing SDK store and its operation projections, billing operation tracking, subscription checkout, plan change, resubscribe, downgrade, top-ups and pending top-ups, billing capabilities and capability revisions, billing banners, invoices, plan credits, pricing tables, hosted billing hand-off, and checkout journey telemetry. Cloud subscription plans, tier constants, and cancellation live under platform/billing/subscription; identity belongs to authentication and membership to workspace. The billing core of @comfyorg/account-core, the payment views of @comfyorg/account-ui, @comfyorg/billing-core, @comfyorg/billing-contract, and credit formatting from @comfyorg/shared-frontend-utils belong here.", "modules": [ { - "path": "src/platform/billing/components/TopUpCreditsDialogContentLegacy.vue", - "role": "presentation" + "path": "src/platform/billing/components/TopbarSubscribeButton.vue" }, { - "path": "src/platform/billing/components/TopbarSubscribeButton.vue", - "role": "presentation" + "path": "src/platform/billing/components/credit-slider/**" }, { - "path": "src/platform/billing/components/credit-slider/**", - "role": "presentation" + "path": "src/platform/billing/composables/__mocks__/**" }, { - "path": "src/platform/billing/composables/__mocks__/**", - "role": "application" + "path": "src/platform/billing/composables/topupBalanceRefresh.ts" }, { - "path": "src/platform/billing/composables/billingRail.ts", - "role": "domain" + "path": "src/platform/billing/composables/types.ts" }, { - "path": "src/platform/billing/composables/topupBalanceRefresh.ts", - "role": "application" + "path": "src/platform/billing/composables/useBillingContext.ts" }, { - "path": "src/platform/billing/composables/types.ts", - "role": "domain" + "path": "src/platform/billing/composables/useBillingDialogs.ts" }, { - "path": "src/platform/billing/composables/useBillingContext.ts", - "role": "application" + "path": "src/platform/billing/composables/useBillingRouting.ts" }, { - "path": "src/platform/billing/composables/useBillingDialogs.ts", - "role": "application" + "path": "src/platform/billing/composables/useNextInvoice.ts" }, { - "path": "src/platform/billing/composables/useBillingRouting.ts", - "role": "application" + "path": "src/platform/billing/composables/usePendingTopup.ts" }, { - "path": "src/platform/billing/composables/useLegacyBilling.ts", - "role": "application" + "path": "src/platform/billing/billingWeb.ts" }, { - "path": "src/platform/billing/composables/useNextInvoice.ts", - "role": "application" + "path": "src/platform/billing/api/capabilityRevision.test.ts" }, { - "path": "src/platform/billing/composables/usePendingTopup.ts", - "role": "application" + "path": "src/platform/billing/customerActionParity.test.ts" }, { - "path": "src/platform/billing/billingWeb.ts", - "role": "infrastructure" + "path": "src/platform/billing/customerAttention.ts" }, { - "path": "src/platform/billing/api/capabilityRevision.test.ts", - "role": "infrastructure" + "path": "src/platform/billing/hostedBillingRoutes.ts" }, { - "path": "src/platform/billing/customerActionParity.test.ts", - "role": "domain" + "path": "src/platform/billing/openHostedBillingTab.ts" }, { - "path": "src/platform/billing/customerAttention.ts", - "role": "domain" + "path": "src/platform/billing/refreshOnReturn.ts" }, { - "path": "src/platform/billing/hostedBillingRoutes.ts", - "role": "infrastructure" + "path": "src/platform/billing/sdk/**" }, { - "path": "src/platform/billing/openHostedBillingTab.ts", - "role": "application" + "path": "src/platform/billing/subscribeInput.ts" }, { - "path": "src/platform/billing/refreshOnReturn.ts", - "role": "application" + "path": "src/platform/billing/components/InsufficientCreditsMemberDialog.vue" }, { - "path": "src/platform/billing/sdk/**", - "role": "infrastructure" + "path": "src/platform/billing/components/PricingTableWorkspace.vue" }, { - "path": "src/platform/billing/sdk/billingSdkStore.ts", - "role": "application" + "path": "src/platform/billing/components/SubscriptionAddPaymentPreviewWorkspace.vue" }, { - "path": "src/platform/billing/sdk/billingSdkTelemetryOwnership.test.ts", - "role": "application" + "path": "src/platform/billing/components/SubscriptionCheckoutSteps.stories.ts" }, { - "path": "src/platform/billing/subscribeInput.ts", - "role": "infrastructure" + "path": "src/platform/billing/components/SubscriptionInactiveMemberDialog.vue" }, { - "path": "src/platform/billing/components/InsufficientCreditsMemberDialog.vue", - "role": "presentation" + "path": "src/platform/billing/components/SubscriptionPausedDialog.vue" }, { - "path": "src/platform/billing/components/PricingTableWorkspace.vue", - "role": "presentation" + "path": "src/platform/billing/components/SubscriptionRequiredDialogContentUnified.vue" }, { - "path": "src/platform/billing/components/SubscriptionAddPaymentPreviewWorkspace.vue", - "role": "presentation" + "path": "src/platform/billing/components/SubscriptionRequiredDialogContentWorkspace.vue" }, { - "path": "src/platform/billing/components/SubscriptionCheckoutSteps.stories.ts", - "role": "presentation" + "path": "src/platform/billing/components/SubscriptionSuccessWorkspace.vue" }, { - "path": "src/platform/billing/components/SubscriptionInactiveMemberDialog.vue", - "role": "presentation" + "path": "src/platform/billing/components/SubscriptionTransitionPreviewWorkspace.stories.ts" }, { - "path": "src/platform/billing/components/SubscriptionPausedDialog.vue", - "role": "presentation" + "path": "src/platform/billing/components/SubscriptionTransitionPreviewWorkspace.vue" }, { - "path": "src/platform/billing/components/SubscriptionRequiredDialogContentUnified.vue", - "role": "presentation" + "path": "src/platform/billing/components/SubscriptionTransitionPreviewWorkspaceReactivation.test.ts" }, { - "path": "src/platform/billing/components/SubscriptionRequiredDialogContentWorkspace.vue", - "role": "presentation" + "path": "src/platform/billing/components/TopUpCreditsDialogContentWorkspace.vue" }, { - "path": "src/platform/billing/components/SubscriptionSuccessWorkspace.vue", - "role": "presentation" + "path": "src/platform/billing/components/UnifiedPricingTable.stories.ts" }, { - "path": "src/platform/billing/components/SubscriptionTransitionPreviewWorkspace.stories.ts", - "role": "presentation" + "path": "src/platform/billing/components/UnifiedPricingTable.vue" }, { - "path": "src/platform/billing/components/SubscriptionTransitionPreviewWorkspace.vue", - "role": "presentation" + "path": "src/platform/billing/components/billingTab/**" }, { - "path": "src/platform/billing/components/SubscriptionTransitionPreviewWorkspaceReactivation.test.ts", - "role": "presentation" + "path": "src/platform/billing/components/dialogs/**" }, { - "path": "src/platform/billing/components/TopUpCreditsDialogContentWorkspace.vue", - "role": "presentation" + "path": "src/platform/billing/components/settings/**" }, { - "path": "src/platform/billing/components/UnifiedPricingTable.stories.ts", - "role": "presentation" + "path": "src/platform/billing/components/subscriptionPanelWorkspace.logic.ts" }, { - "path": "src/platform/billing/components/UnifiedPricingTable.vue", - "role": "presentation" + "path": "src/platform/billing/composables/activateBillingScope.testUtils.ts" }, { - "path": "src/platform/billing/components/billingTab/**", - "role": "presentation" + "path": "src/platform/billing/composables/deriveAutoTopUpBanner.ts" }, { - "path": "src/platform/billing/components/dialogs/DowngradeRemoveMembersDialogContent.vue", - "role": "presentation" + "path": "src/platform/billing/composables/useAutoTopUpBannerKind.ts" }, { - "path": "src/platform/billing/components/dialogs/InviteMemberUpsellDialogContent.vue", - "role": "presentation" + "path": "src/platform/billing/composables/useAutoTopUpCardViewed.ts" }, { - "path": "src/platform/billing/components/settings/CreditsPanel.vue", - "role": "presentation" + "path": "src/platform/billing/composables/useBillingAutoTopUpCard.ts" }, { - "path": "src/platform/billing/components/settings/UsageLogsTable.vue", - "role": "presentation" + "path": "src/platform/billing/composables/billingOperationTestUtils.ts" }, { - "path": "src/platform/billing/components/settings/BillingStatusBanner.stories.ts", - "role": "presentation" + "path": "src/platform/billing/composables/deriveBillingBanner.test.ts" }, { - "path": "src/platform/billing/components/settings/BillingStatusBanner.vue", - "role": "presentation" + "path": "src/platform/billing/composables/readOnRail.ts" }, { - "path": "src/platform/billing/components/settings/MemberUpsellBanner.stories.ts", - "role": "presentation" + "path": "src/platform/billing/composables/readWorkspaceBillingEvents.ts" }, { - "path": "src/platform/billing/components/settings/MemberUpsellBanner.vue", - "role": "presentation" + "path": "src/platform/billing/composables/useBillingBanner.ts" }, { - "path": "src/platform/billing/components/settings/WorkspaceInvoicesContent.vue", - "role": "presentation" + "path": "src/platform/billing/composables/useBillingCapabilities.ts" }, { - "path": "src/platform/billing/components/subscriptionPanelWorkspace.logic.ts", - "role": "domain" + "path": "src/platform/billing/composables/useBillingReadRail.ts" }, { - "path": "src/platform/billing/composables/activateBillingScope.testUtils.ts", - "role": "application" + "path": "src/platform/billing/composables/useCheckoutCopy.ts" }, { - "path": "src/platform/billing/composables/deriveAutoTopUpBanner.ts", - "role": "application" + "path": "src/platform/billing/composables/useDowngradeToPersonal.ts" }, { - "path": "src/platform/billing/composables/useAutoTopUpBannerKind.ts", - "role": "application" + "path": "src/platform/billing/composables/usePlanEnded.ts" }, { - "path": "src/platform/billing/composables/useAutoTopUpCardViewed.ts", - "role": "application" + "path": "src/platform/billing/composables/useResubscribe.ts" }, { - "path": "src/platform/billing/composables/useBillingAutoTopUpCard.ts", - "role": "application" + "path": "src/platform/billing/composables/useScheduledPlanChange.ts" }, { - "path": "src/platform/billing/composables/billingOperationTestUtils.ts", - "role": "application" + "path": "src/platform/billing/composables/useSubscriptionCheckout.ts" }, { - "path": "src/platform/billing/composables/deriveBillingBanner.test.ts", - "role": "application" + "path": "src/platform/billing/composables/useSubscriptionOperationView.test.ts" }, { - "path": "src/platform/billing/composables/readOnRail.ts", - "role": "application" + "path": "src/platform/billing/composables/useSubscriptionRail.ts" }, { - "path": "src/platform/billing/composables/useBillingBanner.ts", - "role": "application" + "path": "src/platform/billing/composables/useTeamPlan.ts" }, { - "path": "src/platform/billing/composables/useBillingCapabilities.ts", - "role": "application" + "path": "src/platform/billing/composables/useTopupOperation.ts" }, { - "path": "src/platform/billing/composables/useBillingReadRail.ts", - "role": "application" + "path": "src/platform/billing/composables/useWorkspaceBilling.ts" }, { - "path": "src/platform/billing/composables/useCheckoutCopy.ts", - "role": "presentation" + "path": "src/platform/billing/composables/useWorkspacePlanPricing.ts" }, { - "path": "src/platform/billing/composables/useDowngradeToPersonal.ts", - "role": "application" + "path": "src/platform/billing/composables/useWorkspaceTierLabel.ts" }, { - "path": "src/platform/billing/composables/usePlanEnded.ts", - "role": "application" + "path": "src/platform/billing/stores/billingOperationStore.ts" }, { - "path": "src/platform/billing/composables/useResubscribe.ts", - "role": "application" + "path": "src/platform/billing/subscription/**" }, { - "path": "src/platform/billing/composables/useScheduledPlanChange.ts", - "role": "application" + "path": "src/platform/billing/utils/**" }, { - "path": "src/platform/billing/composables/useSubscriptionCheckout.ts", - "role": "application" + "path": "src/services/__mocks__/**" }, { - "path": "src/platform/billing/composables/useSubscriptionOperationView.test.ts", - "role": "application" + "path": "src/services/customerEventsService.ts" }, { - "path": "src/platform/billing/composables/useSubscriptionRail.ts", - "role": "application" + "path": "src/storybook/**" }, { - "path": "src/platform/billing/composables/useTeamPlan.ts", - "role": "application" + "path": "src/utils/__tests__/mockBillingContext.ts" }, { - "path": "src/platform/billing/composables/useTopupOperation.ts", - "role": "application" + "path": "packages/account-core/src/core/billing/**" }, { - "path": "src/platform/billing/composables/useWorkspaceBilling.ts", - "role": "application" + "path": "packages/account-ui/src/billing/**" }, { - "path": "src/platform/billing/composables/useWorkspacePlanPricing.ts", - "role": "application" + "path": "packages/billing-contract/src/**" }, { - "path": "src/platform/billing/composables/useWorkspaceTierLabel.ts", - "role": "presentation" + "path": "packages/billing-core/src/**" }, { - "path": "src/platform/billing/stores/billingOperationStore.ts", - "role": "application" - }, - { - "path": "src/platform/billing/subscription/**", - "role": "application" - }, - { - "path": "src/platform/billing/subscription/components/**", - "role": "presentation" - }, - { - "path": "src/platform/billing/subscription/constants/**", - "role": "domain" - }, - { - "path": "src/platform/billing/subscription/utils/**", - "role": "domain" - }, - { - "path": "src/platform/billing/subscription/utils/checkoutAttributionLoader.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/billing/subscription/utils/paymentReturnUrl.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/billing/subscription/utils/subscriptionCheckoutTracker.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/billing/subscription/utils/subscriptionCheckoutUtil.ts", - "role": "application" - }, - { - "path": "src/platform/billing/utils/**", - "role": "infrastructure" - }, - { - "path": "src/platform/billing/utils/checkoutJourney.ts", - "role": "domain" - }, - { - "path": "src/services/__mocks__/**", - "role": "infrastructure" - }, - { - "path": "src/services/customerEventsService.ts", - "role": "infrastructure" - }, - { - "path": "src/storybook/**", - "role": "application" - }, - { - "path": "src/utils/__tests__/mockBillingContext.ts", - "role": "integration" - }, - { - "path": "packages/account-core/src/core/billing/**", - "role": "domain" - }, - { - "path": "packages/account-ui/src/billing/**", - "role": "presentation" - }, - { - "path": "packages/account-ui/src/billing/catalog.ts", - "role": "domain" - }, - { - "path": "packages/billing-contract/src/**", - "role": "domain" - }, - { - "path": "packages/billing-core/src/**", - "role": "domain" - }, - { - "path": "packages/shared-frontend-utils/src/creditsUtil.ts", - "role": "domain" + "path": "packages/shared-frontend-utils/src/creditsUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [ - "design-system", - "ingest-api", - "keybindings", - "server-facts", - "telemetry" - ], - "allowedConsumers": ["account"], "characterizationScenarios": [ { - "name": "Billing context routes reads and actions to the legacy or workspace billing rail", + "name": "Billing context routes reads and actions to workspace billing", "checks": [ "src/platform/billing/composables/useBillingContext.test.ts", "src/platform/billing/composables/useBillingRouting.test.ts", - "src/platform/billing/composables/billingRail.test.ts", - "src/platform/billing/composables/useLegacyBilling.test.ts", "src/platform/billing/composables/useWorkspaceBilling.test.ts", "src/platform/billing/composables/useWorkspaceBilling.sdk.test.ts", "src/platform/billing/composables/useWorkspaceBilling.subscriptionRail.test.ts", @@ -457,11 +292,10 @@ ] }, { - "name": "Credits panel, usage logs, and legacy top-up dialog show balances and start top-ups", + "name": "Credits panel and usage logs show balances and start top-ups", "checks": [ "src/platform/billing/components/settings/CreditsPanel.test.ts", "src/platform/billing/components/settings/UsageLogsTable.test.ts", - "src/platform/billing/components/TopUpCreditsDialogContentLegacy.test.ts", "src/platform/billing/components/credit-slider/CreditSlider.test.ts" ] }, @@ -489,7 +323,6 @@ "src/platform/billing/subscription/constants/tierPricing.test.ts", "src/platform/billing/subscription/utils/subscriptionTierRank.test.ts", "src/platform/billing/subscription/utils/subscriptionCheckoutTracker.test.ts", - "src/platform/billing/subscription/utils/subscriptionCheckoutUtil.test.ts", "src/platform/billing/subscription/utils/retentionOffer.test.ts", "src/platform/billing/subscription/composables/useSubscription.test.ts", "src/platform/billing/subscription/launchCancellationFlow.test.ts", @@ -508,8 +341,8 @@ ], "compatibilityPromises": [ "Unclassified callers, authentication, workspace, and the cloud record may continue importing billing internals during inventory; imports from classified domains remain subject to cross-domain rules.", - "useBillingContext remains the shared billing seam for the legacy and workspace rails, and plan selection stays in the host app while hosted billing handles checkout only.", - "Billing owns the extracted client and SDK contract; mixed membership and billing views belong to account under ADR-BILLING-0049. Remaining cross-domain imports and dialog launchers that import presentation stay visible as boundary debt." + "useBillingContext remains the shared billing seam for workspace billing, and plan selection stays in the host app while hosted billing handles checkout only.", + "Billing owns the extracted client and SDK contract; mixed membership and billing views belong to account under ADR-BILLING-0049. Remaining cross-domain imports and dialog launchers that import presentation remain untracked boundary debt." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/bottom-panel.domain.json b/docs/architecture/domains/records/bottom-panel.domain.json index 6ddb3573fba..77019bad79f 100644 --- a/docs/architecture/domains/records/bottom-panel.domain.json +++ b/docs/architecture/domains/records/bottom-panel.domain.json @@ -4,33 +4,19 @@ "description": "Bottom-panel presentation, core tab registration, and log and command terminals. The keyboard-shortcuts reference belongs to keybindings; generic contribution registries remain in the workbench shell.", "modules": [ { - "path": "src/components/bottomPanel/**", - "role": "presentation" + "path": "src/components/bottomPanel/**" }, { - "path": "src/components/sidebar/SidebarBottomPanelToggleButton.vue", - "role": "presentation" + "path": "src/components/sidebar/SidebarBottomPanelToggleButton.vue" }, { - "path": "src/components/sidebar/SidebarShortcutsToggleButton.vue", - "role": "presentation" + "path": "src/components/sidebar/SidebarShortcutsToggleButton.vue" }, { - "path": "src/composables/bottomPanelTabs/**", - "role": "integration" - }, - { - "path": "src/composables/bottomPanelTabs/useLogsTerminal.ts", - "role": "infrastructure" - }, - { - "path": "src/composables/bottomPanelTabs/useTerminal.ts", - "role": "infrastructure" + "path": "src/composables/bottomPanelTabs/**" } ], "publicEntryPoints": [], - "allowedDependencies": ["keybindings"], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Terminal tabs stream server logs into a shared terminal base", diff --git a/docs/architecture/domains/records/bounding-boxes.domain.json b/docs/architecture/domains/records/bounding-boxes.domain.json index 20943621632..f649f7a48fd 100644 --- a/docs/architecture/domains/records/bounding-boxes.domain.json +++ b/docs/architecture/domains/records/bounding-boxes.domain.json @@ -4,42 +4,25 @@ "description": "Multi-box region editing: box geometry and hit testing, editor state, upstream image sources, widget presentation, extension registration, and LiteGraph widget integration. The singular bounding-box and crop widgets remain outside this capability.", "modules": [ { - "path": "src/components/boundingBoxes/**", - "role": "presentation" + "path": "src/components/boundingBoxes/**" }, { - "path": "src/composables/boundingBoxes/**", - "role": "application" + "path": "src/composables/boundingBoxes/**" }, { - "path": "src/composables/boundingBoxes/boundingBoxesUtil.ts", - "role": "domain" + "path": "src/extensions/core/createBoundingBoxes.ts" }, { - "path": "src/extensions/core/createBoundingBoxes.ts", - "role": "integration" + "path": "src/lib/litegraph/src/widgets/BoundingBoxesWidget.ts" }, { - "path": "src/lib/litegraph/src/widgets/BoundingBoxesWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useBoundingBoxesSources.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useBoundingBoxesSources.ts", - "role": "application" - }, - { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useBoundingBoxesWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useBoundingBoxesWidget.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [ - "design-system", - "dialog-host", - "graph-model", - "vue-node-widgets" - ], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Box geometry, hit testing, and editor state preserve region editing", diff --git a/docs/architecture/domains/records/browser-export.domain.json b/docs/architecture/domains/records/browser-export.domain.json index e7d9a131cf6..f75bfee5573 100644 --- a/docs/architecture/domains/records/browser-export.domain.json +++ b/docs/architecture/domains/records/browser-export.domain.json @@ -4,17 +4,13 @@ "description": "Shared technical module, not a business domain. Delivers user data out of the browser: direct and blob file downloads, Content-Disposition filename extraction, cloud fetch-as-blob downloads, opening files in a new tab, and clipboard copy with success and failure toasts. Feature-specific export payloads (asset zips, node outputs, workflows, system info) stay with their owning domains.", "modules": [ { - "path": "src/base/common/**", - "role": "infrastructure" + "path": "src/base/common/**" }, { - "path": "src/composables/useCopyToClipboard.ts", - "role": "infrastructure" + "path": "src/composables/useCopyToClipboard.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Downloads resolve filenames, stream via blob on cloud, and open files in new tabs safely", diff --git a/docs/architecture/domains/records/browser-interaction.domain.json b/docs/architecture/domains/records/browser-interaction.domain.json index 417d8c038d6..2c41dc8dc3d 100644 --- a/docs/architecture/domains/records/browser-interaction.domain.json +++ b/docs/architecture/domains/records/browser-interaction.domain.json @@ -4,25 +4,19 @@ "description": "Shared technical module, not a business domain. Classifies raw browser input for editing surfaces: middle-button pointer detection, wheel gestures whose browser default (page zoom, history swipe) must be suppressed, the click-versus-drag threshold guard, outside-pointer and Escape dismissal for overlays, and the Pragmatic drag-and-drop draggable/droppable adapter. Canvas pointer routing (canvas-renderer), LiteGraph gesture handling (graph-canvas), and feature drop handlers stay with their owners.", "modules": [ { - "path": "src/base/**", - "role": "domain" + "path": "src/base/**" }, { - "path": "src/composables/useClickDragGuard.ts", - "role": "application" + "path": "src/composables/useClickDragGuard.ts" }, { - "path": "src/composables/useDismissableOverlay.ts", - "role": "application" + "path": "src/composables/useDismissableOverlay.ts" }, { - "path": "src/composables/usePragmaticDragAndDrop.ts", - "role": "infrastructure" + "path": "src/composables/usePragmaticDragAndDrop.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Pointer and click-drag classification distinguish middle-button pans and drags from clicks", diff --git a/docs/architecture/domains/records/camera-authoring.domain.json b/docs/architecture/domains/records/camera-authoring.domain.json index 287e4ce1339..6817ea719ba 100644 --- a/docs/architecture/domains/records/camera-authoring.domain.json +++ b/docs/architecture/domains/records/camera-authoring.domain.json @@ -4,49 +4,37 @@ "description": "CameraInfo and CameraAngle node viewports: camera state and orbit/roll/look-through math, Three.js handles, overlays and inset previews, widget-value bridges, Vue widgets, and extension registration. The shared Three.js renderer, Load3D viewport factory, load3d components, and viewport node wiring remain external host dependencies.", "modules": [ { - "path": "src/extensions/core/load3d/components/cameraAngle/**", - "role": "presentation" + "path": "src/extensions/core/load3d/components/cameraAngle/**" }, { - "path": "src/extensions/core/load3d/components/cameraInfo/**", - "role": "presentation" + "path": "src/extensions/core/load3d/components/cameraInfo/**" }, { - "path": "src/extensions/core/load3d/composables/useCameraAngle.ts", - "role": "application" + "path": "src/extensions/core/load3d/composables/useCameraAngle.ts" }, { - "path": "src/extensions/core/load3d/composables/useCameraInfo.ts", - "role": "application" + "path": "src/extensions/core/load3d/composables/useCameraInfo.ts" }, { - "path": "src/extensions/core/load3d/cameraAngle.ts", - "role": "integration" + "path": "src/extensions/core/load3d/cameraAngle.ts" }, { - "path": "src/extensions/core/load3d/cameraAngle/**", - "role": "application" + "path": "src/extensions/core/load3d/cameraAngle/**" }, { - "path": "src/extensions/core/load3d/cameraInfo.ts", - "role": "integration" + "path": "src/extensions/core/load3d/cameraInfo.ts" }, { - "path": "src/extensions/core/load3d/cameraInfo/widgetBridge.ts", - "role": "application" + "path": "src/extensions/core/load3d/cameraInfo/widgetBridge.ts" }, { - "path": "packages/viewport3d/src/cameraAngle/**", - "role": "application" + "path": "packages/viewport3d/src/cameraAngle/**" }, { - "path": "packages/viewport3d/src/cameraInfo/**", - "role": "application" + "path": "packages/viewport3d/src/cameraInfo/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Camera state math converts orbit, roll, look-at, and look-through drags without drift", diff --git a/docs/architecture/domains/records/canvas-renderer.domain.json b/docs/architecture/domains/records/canvas-renderer.domain.json index f2dd7a9cb1d..3b66bc87db4 100644 --- a/docs/architecture/domains/records/canvas-renderer.domain.json +++ b/docs/architecture/domains/records/canvas-renderer.domain.json @@ -4,129 +4,85 @@ "description": "Shared technical module, not a business domain. The Vue-side host around the LiteGraph canvas: the canvas Pinia store (active canvas, read-only and picking mode, selection mirror, node picking), viewport and device-pixel-ratio sizing, camera state normalization, redraw scheduling, auto-pan, wheel and pointer routing, interaction-mode reads, slot link drag UI state, Canvas2D link path rendering, and adapters that translate LiteGraph links, selection, slot geometry, link drops, and legacy layout to and from the layout store. The LiteGraph canvas view-controller (graph-canvas), link connection, the selection store, settings, and graph layout storage remain outside this record.", "modules": [ { - "path": "src/components/graph/CanvasModeSelector.vue", - "role": "presentation" + "path": "src/components/graph/CanvasModeSelector.vue" }, { - "path": "src/components/graph/GraphCanvasMenu.vue", - "role": "presentation" + "path": "src/components/graph/GraphCanvasMenu.vue" }, { - "path": "src/components/graph/LinkOverlayCanvas.vue", - "role": "presentation" + "path": "src/components/graph/LinkOverlayCanvas.vue" }, { - "path": "src/components/graph/NodeSelectionModeBanner.vue", - "role": "presentation" + "path": "src/components/graph/NodeSelectionModeBanner.vue" }, { - "path": "src/components/graph/NodeTooltip.vue", - "role": "presentation" + "path": "src/components/graph/NodeTooltip.vue" }, { - "path": "src/components/graph/SelectionRectangle.vue", - "role": "presentation" + "path": "src/components/graph/SelectionRectangle.vue" }, { - "path": "src/components/graph/TitleEditor.vue", - "role": "presentation" + "path": "src/components/graph/TitleEditor.vue" }, { - "path": "src/components/graph/modals/**", - "role": "presentation" + "path": "src/components/graph/modals/**" }, { - "path": "src/components/graph/nodeProgressCanvasSync.ts", - "role": "integration" + "path": "src/components/graph/nodeProgressCanvasSync.ts" }, { - "path": "src/composables/canvas/useFocusNode.ts", - "role": "application" + "path": "src/composables/canvas/useFocusNode.ts" }, { - "path": "src/composables/canvas/visibleCanvasViewport.ts", - "role": "infrastructure" + "path": "src/composables/canvas/visibleCanvasViewport.ts" }, { - "path": "src/composables/element/**", - "role": "infrastructure" + "path": "src/composables/element/**" }, { - "path": "src/composables/useZoomControls.ts", - "role": "application" + "path": "src/composables/useZoomControls.ts" }, { - "path": "src/renderer/core/canvas/__mocks__/**", - "role": "application" + "path": "src/renderer/core/canvas/__mocks__/**" }, { - "path": "src/renderer/core/canvas/__tests__/**", - "role": "application" + "path": "src/renderer/core/canvas/__tests__/**" }, { - "path": "src/renderer/core/canvas/__tests__/cameraState.test.ts", - "role": "domain" + "path": "src/renderer/core/canvas/cameraState.ts" }, { - "path": "src/renderer/core/canvas/__tests__/canvasViewport.test.ts", - "role": "infrastructure" + "path": "src/renderer/core/canvas/canvasRedrawBudget.test.ts" }, { - "path": "src/renderer/core/canvas/cameraState.ts", - "role": "domain" + "path": "src/renderer/core/canvas/canvasStore.ts" }, { - "path": "src/renderer/core/canvas/canvasRedrawBudget.test.ts", - "role": "application" + "path": "src/renderer/core/canvas/canvasViewport.ts" }, { - "path": "src/renderer/core/canvas/canvasStore.ts", - "role": "application" + "path": "src/renderer/core/canvas/interaction/**" }, { - "path": "src/renderer/core/canvas/canvasViewport.ts", - "role": "infrastructure" + "path": "src/renderer/core/canvas/links/**" }, { - "path": "src/renderer/core/canvas/interaction/**", - "role": "application" + "path": "src/renderer/core/canvas/litegraph/**" }, { - "path": "src/renderer/core/canvas/interaction/canvasPointerEvent.ts", - "role": "integration" + "path": "src/renderer/core/canvas/pathRenderer.ts" }, { - "path": "src/renderer/core/canvas/links/**", - "role": "integration" + "path": "src/renderer/core/canvas/useAutoPan.ts" }, { - "path": "src/renderer/core/canvas/links/slotLinkDragUIState.ts", - "role": "application" + "path": "src/renderer/core/canvas/useCanvasInteractions.ts" }, { - "path": "src/renderer/core/canvas/litegraph/**", - "role": "integration" - }, - { - "path": "src/renderer/core/canvas/pathRenderer.ts", - "role": "infrastructure" - }, - { - "path": "src/renderer/core/canvas/useAutoPan.ts", - "role": "application" - }, - { - "path": "src/renderer/core/canvas/useCanvasInteractions.ts", - "role": "application" - }, - { - "path": "src/renderer/core/canvas/useCanvasScheduler.ts", - "role": "application" + "path": "src/renderer/core/canvas/useCanvasScheduler.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["keybindings"], - "allowedConsumers": ["selection-toolbox"], "characterizationScenarios": [ { "name": "Canvas store, interaction mode, and redraw scheduling preserve canvas state", diff --git a/docs/architecture/domains/records/cloud.domain.json b/docs/architecture/domains/records/cloud.domain.json index 6083803a8e3..f776f4d2b9b 100644 --- a/docs/architecture/domains/records/cloud.domain.json +++ b/docs/architecture/domains/records/cloud.domain.json @@ -4,141 +4,49 @@ "description": "Cloud-only distribution capability: onboarding and sign-in views, OAuth consent, desktop cloud notification, cloud telemetry providers, cloud session and API auth adapters, and cloud bootstrap extensions. Subcapabilities (onboarding, OAuth, notification, telemetry, session) may be split into separate records later. Shared auth, billing, workspace, telemetry, router, and app bootstrap remain external.", "modules": [ { - "path": "src/components/actionbar/ComfyRunButton/CloudRunButtonWrapper.vue", - "role": "presentation" + "path": "src/components/actionbar/ComfyRunButton/CloudRunButtonWrapper.vue" }, { - "path": "src/components/topbar/CloudBadge.vue", - "role": "presentation" + "path": "src/extensions/core/cloudBadges.ts" }, { - "path": "src/extensions/core/cloudBadges.ts", - "role": "integration" + "path": "src/extensions/core/cloudFeedbackTopbarButton.ts" }, { - "path": "src/extensions/core/cloudFeedbackTopbarButton.ts", - "role": "integration" + "path": "src/extensions/core/cloudRemoteConfig.ts" }, { - "path": "src/extensions/core/cloudRemoteConfig.ts", - "role": "integration" + "path": "src/extensions/core/cloudSessionCookie.ts" }, { - "path": "src/extensions/core/cloudSessionCookie.ts", - "role": "integration" + "path": "src/platform/auth/cloudApiAuthProvider.ts" }, { - "path": "src/platform/auth/cloudApiAuthProvider.ts", - "role": "infrastructure" + "path": "src/platform/auth/session/cloudIdentityBoot.ts" }, { - "path": "src/platform/auth/session/cloudIdentityBoot.ts", - "role": "application" + "path": "src/platform/auth/session/cloudWebSessionStore.ts" }, { - "path": "src/platform/auth/session/cloudWebSessionStore.ts", - "role": "application" + "path": "src/platform/cloud/**" }, { - "path": "src/platform/cloud/**", - "role": "application" + "path": "src/platform/distribution/**" }, { - "path": "src/platform/cloud/notification/components/**", - "role": "presentation" + "path": "src/platform/telemetry/initTelemetry.ts" }, { - "path": "src/platform/cloud/oauth/**", - "role": "infrastructure" + "path": "src/platform/telemetry/providers/**" }, { - "path": "src/platform/cloud/oauth/OAuthConsentView.stories.ts", - "role": "presentation" + "path": "src/utils/textCaseUtil.ts" }, { - "path": "src/platform/cloud/oauth/OAuthConsentView.vue", - "role": "presentation" - }, - { - "path": "src/platform/cloud/oauth/useOAuthPostLoginRedirect.ts", - "role": "application" - }, - { - "path": "src/platform/cloud/onboarding/**", - "role": "presentation" - }, - { - "path": "src/platform/cloud/onboarding/auth.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/cloud/onboarding/composables/**", - "role": "application" - }, - { - "path": "src/platform/cloud/onboarding/composables/useDocumentDarkTheme.ts", - "role": "presentation" - }, - { - "path": "src/platform/cloud/onboarding/composables/useProgressBarPainter.ts", - "role": "presentation" - }, - { - "path": "src/platform/cloud/onboarding/composables/useVideoCarousel.ts", - "role": "presentation" - }, - { - "path": "src/platform/cloud/onboarding/desktopLoginRedemption.ts", - "role": "integration" - }, - { - "path": "src/platform/cloud/onboarding/onboardingCloudRoutes.ts", - "role": "integration" - }, - { - "path": "src/platform/cloud/onboarding/sso/**", - "role": "domain" - }, - { - "path": "src/platform/cloud/onboarding/sso/ssoReentry.ts", - "role": "application" - }, - { - "path": "src/platform/cloud/onboarding/survey/defaultSurveySchema.ts", - "role": "domain" - }, - { - "path": "src/platform/cloud/onboarding/survey/surveySchema.ts", - "role": "domain" - }, - { - "path": "src/platform/cloud/onboarding/utils/**", - "role": "domain" - }, - { - "path": "src/platform/distribution/**", - "role": "domain" - }, - { - "path": "src/platform/telemetry/initTelemetry.ts", - "role": "integration" - }, - { - "path": "src/platform/telemetry/providers/**", - "role": "infrastructure" - }, - { - "path": "src/utils/textCaseUtil.ts", - "role": "domain" - }, - { - "path": "packages/shared-frontend-utils/src/piiUtil.ts", - "role": "infrastructure" + "path": "packages/shared-frontend-utils/src/piiUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["telemetry"], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Cloud onboarding routes gate users through sign-in, survey, and post-auth redirects", @@ -203,7 +111,7 @@ "compatibilityPromises": [ "main.ts, router.ts, bootstrapStore, shared auth, billing, workspace, and telemetry code may continue importing cloud internals during inventory.", "Cloud bootstrap extensions and onboarding routes remain the integration seams between the cloud distribution and the host app.", - "Dialog launchers that lazy-load presentation and views that call OAuth, onboarding, or checkout adapters directly remain visible as role-boundary debt; classification does not grant dependency exceptions." + "Dialog launchers that lazy-load presentation and views that call OAuth, onboarding, or checkout adapters directly remain untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/color-palettes.domain.json b/docs/architecture/domains/records/color-palettes.domain.json index 52848ba9a95..7b75ab29e4c 100644 --- a/docs/architecture/domains/records/color-palettes.domain.json +++ b/docs/architecture/domains/records/color-palettes.domain.json @@ -4,25 +4,19 @@ "description": "Canvas and UI color palettes: palette schema validation, built-in and custom palette storage, import, export, delete, and activation that applies palette colors to LiteGraph and CSS variables. The palette swatch UI primitives belong to the design system.", "modules": [ { - "path": "src/constants/coreColorPalettes.ts", - "role": "domain" + "path": "src/constants/coreColorPalettes.ts" }, { - "path": "src/services/colorPaletteService.ts", - "role": "application" + "path": "src/services/colorPaletteService.ts" }, { - "path": "src/stores/workspace/colorPaletteStore.ts", - "role": "application" + "path": "src/stores/workspace/colorPaletteStore.ts" }, { - "path": "packages/settings-core/src/colorPaletteSchema.ts", - "role": "domain" + "path": "packages/settings-core/src/colorPaletteSchema.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Palettes validate, import, export, and apply colors to the canvas and CSS variables", diff --git a/docs/architecture/domains/records/comfy-registry.domain.json b/docs/architecture/domains/records/comfy-registry.domain.json index 42070edc704..5c609f88817 100644 --- a/docs/architecture/domains/records/comfy-registry.domain.json +++ b/docs/architecture/domains/records/comfy-registry.domain.json @@ -4,57 +4,43 @@ "description": "Access to the Comfy Registry of custom-node packs: the generated @comfyorg/registry-types API types, the registry REST client, the cached registry store, and the node-pack search gateway that falls back between the Algolia and registry search providers. The extension manager and missing-node flows consume this record.", "modules": [ { - "path": "src/composables/useCachedRequest.ts", - "role": "infrastructure" + "path": "src/composables/useCachedRequest.ts" }, { - "path": "src/constants/searchConstants.ts", - "role": "domain" + "path": "src/constants/searchConstants.ts" }, { - "path": "src/services/comfyRegistryService.ts", - "role": "infrastructure" + "path": "src/services/comfyRegistryService.ts" }, { - "path": "src/services/gateway/**", - "role": "application" + "path": "src/services/gateway/**" }, { - "path": "src/services/providers/algoliaSearchProvider.ts", - "role": "infrastructure" + "path": "src/services/providers/algoliaSearchProvider.ts" }, { - "path": "src/services/providers/registrySearchProvider.ts", - "role": "infrastructure" + "path": "src/services/providers/registrySearchProvider.ts" }, { - "path": "src/stores/comfyRegistryStore.ts", - "role": "application" + "path": "src/stores/comfyRegistryStore.ts" }, { - "path": "src/types/algoliasearch-lite.d.ts", - "role": "domain" + "path": "src/types/algoliasearch-lite.d.ts" }, { - "path": "src/types/algoliaTypes.ts", - "role": "domain" + "path": "src/types/algoliaTypes.ts" }, { - "path": "src/types/comfyRegistryTypes.ts", - "role": "domain" + "path": "src/types/comfyRegistryTypes.ts" }, { - "path": "src/types/searchServiceTypes.ts", - "role": "domain" + "path": "src/types/searchServiceTypes.ts" }, { - "path": "packages/registry-types/src/**", - "role": "domain" + "path": "packages/registry-types/src/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": ["extension-manager"], "characterizationScenarios": [ { "name": "Registry client and store fetch, cache, and abort pack and node requests", diff --git a/docs/architecture/domains/records/comfyui-api.domain.json b/docs/architecture/domains/records/comfyui-api.domain.json index 0f24f65aa60..dbbc0e35314 100644 --- a/docs/architecture/domains/records/comfyui-api.domain.json +++ b/docs/architecture/domains/records/comfyui-api.domain.json @@ -4,29 +4,22 @@ "description": "Shared wire contracts for the ComfyUI backend: prompt, node-error, system-stats, and user-data response types, websocket message and execution-output schemas (result items, task outputs, progress, logs, asset download and export events), and HTTP error payload parsing used by API clients. Job list and detail schemas and the jobs client belong to the job queue; client execution state belongs to execution.", "modules": [ { - "path": "src/platform/remote/comfyui/**", - "role": "domain" + "path": "src/platform/remote/comfyui/**" }, { - "path": "src/utils/createAnnotatedPath.ts", - "role": "domain" + "path": "src/utils/createAnnotatedPath.ts" }, { - "path": "packages/api-client/src/executionTypes.ts", - "role": "domain" + "path": "packages/api-client/src/executionTypes.ts" }, { - "path": "packages/api-client/src/resultItemTypeSchema.ts", - "role": "domain" + "path": "packages/api-client/src/resultItemTypeSchema.ts" }, { - "path": "packages/api-client/src/types.ts", - "role": "domain" + "path": "packages/api-client/src/types.ts" } ], "publicEntryPoints": ["packages/api-client/src/executionTypes.ts"], - "allowedDependencies": [], - "allowedConsumers": ["graph-model"], "characterizationScenarios": [ { "name": "Websocket execution-output schemas accept backend result items and task outputs", @@ -45,7 +38,7 @@ "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", "Message and response type names stay stable because scripts/api, extension types, and execution, queue, asset, billing, and workspace callers import them.", - "The api-client executionTypes module is the public entry point for graph-model. Its import of TaskStatus from the tasks record and errors.ts recognizing billing and workspace error shapes remain visible as cross-domain coupling without dependency exceptions." + "The api-client executionTypes module is the public entry point for graph-model. Its import of TaskStatus from the tasks record and errors.ts recognizing billing and workspace error shapes remain untracked cross-domain coupling without dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/design-system.domain.json b/docs/architecture/domains/records/design-system.domain.json index b74d95224ff..0c77c74fe98 100644 --- a/docs/architecture/domains/records/design-system.domain.json +++ b/docs/architecture/domains/records/design-system.domain.json @@ -4,119 +4,79 @@ "description": "The @comfyorg/design-system package (the Reka-based primitives, media, charts, color picker, tags, modal layout, navigation, and generic common/ widgets) with its color math from @comfyorg/shared-frontend-utils, and the app-owned pieces that still depend on app stores, i18n, or services: the toast queue store, the loader kit, the App-prefixed wrappers, lazy image, and the value editors for curves, ranges, and palette swatches with their pure interpolation math. Feature-owned files in the same directories stay with their features: settings form fields, system stats, node library tree explorers and bookmark customization, workflow actions, node-search filter chips, credit display, the team-plan credit slider, asset download progress toasts, subgraph breadcrumbs, the execution error overlay, workflow template dialogs, and the node widget adapters WidgetCurve, WidgetRange, and WidgetColors.", "modules": [ { - "path": "src/components/common/**", - "role": "presentation" + "path": "src/components/common/**" }, { - "path": "src/components/curve/**", - "role": "domain" + "path": "src/components/curve/**" }, { - "path": "src/components/curve/CurveEditor.vue", - "role": "presentation" + "path": "src/components/loader/**" }, { - "path": "src/components/loader/**", - "role": "presentation" + "path": "src/components/palette/**" }, { - "path": "src/components/palette/**", - "role": "presentation" + "path": "src/components/range/**" }, { - "path": "src/components/range/**", - "role": "domain" + "path": "src/components/ui/toast/toastStore.ts" }, { - "path": "src/components/range/RangeEditor.vue", - "role": "presentation" + "path": "src/composables/element/useOverflowObserver.ts" }, { - "path": "src/components/ui/toast/toastStore.ts", - "role": "application" + "path": "src/composables/palette/**" }, { - "path": "src/composables/element/useOverflowObserver.ts", - "role": "infrastructure" + "path": "src/composables/tree/**" }, { - "path": "src/composables/palette/**", - "role": "application" + "path": "src/composables/useCurveEditor.ts" }, { - "path": "src/composables/tree/**", - "role": "application" + "path": "src/composables/useImageQuiet.ts" }, { - "path": "src/composables/useCurveEditor.ts", - "role": "application" + "path": "src/composables/useIntersectionObserver.ts" }, { - "path": "src/composables/useImageQuiet.ts", - "role": "application" + "path": "src/composables/useRangeEditor.ts" }, { - "path": "src/composables/useIntersectionObserver.ts", - "role": "application" + "path": "src/composables/useTreeExpansion.ts" }, { - "path": "src/composables/useRangeEditor.ts", - "role": "application" + "path": "src/services/mediaCacheService.ts" }, { - "path": "src/composables/useTreeExpansion.ts", - "role": "application" + "path": "src/types/toastId.ts" }, { - "path": "src/services/mediaCacheService.ts", - "role": "infrastructure" + "path": "src/types/toastOptions.ts" }, { - "path": "src/types/toastId.ts", - "role": "domain" + "path": "src/utils/gridUtil.ts" }, { - "path": "src/types/toastOptions.ts", - "role": "domain" + "path": "src/utils/histogramUtil.ts" }, { - "path": "src/utils/gridUtil.ts", - "role": "presentation" + "path": "src/utils/treeUtil.ts" }, { - "path": "src/utils/histogramUtil.ts", - "role": "domain" + "path": "src/utils/validationUtil.ts" }, { - "path": "src/utils/treeUtil.ts", - "role": "domain" + "path": "src/utils/zodTypedSchema.ts" }, { - "path": "src/utils/validationUtil.ts", - "role": "domain" + "path": "packages/design-system/src/**" }, { - "path": "src/utils/zodTypedSchema.ts", - "role": "infrastructure" - }, - { - "path": "packages/design-system/src/**", - "role": "presentation" - }, - { - "path": "packages/shared-frontend-utils/src/colorUtil.ts", - "role": "domain" + "path": "packages/shared-frontend-utils/src/colorUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [ - "agent", - "billing", - "bounding-boxes", - "extension-manager", - "keybindings" - ], "characterizationScenarios": [ { "name": "Form controls preserve value binding, validation state, and accessible semantics", @@ -233,7 +193,7 @@ ], "adrs": [], "compatibilityPromises": [ - "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules until a tested public entry point and dependency approval exist.", + "Callers may import these internals during inventory, until a tested public entry point exists.", "Component file paths, props, emits, and slots stay stable because extensions, renderer widgets, platform features, and stories import them directly.", "The toast store keeps its Pinia id and the add, update, and remove contract used by api, app, and service callers.", "Curve and range value shapes stay compatible with the litegraph widget types and GLSL uniform consumers that read them.", diff --git a/docs/architecture/domains/records/dialog-host.domain.json b/docs/architecture/domains/records/dialog-host.domain.json index 97cd1b07b94..bdf66c3053c 100644 --- a/docs/architecture/domains/records/dialog-host.domain.json +++ b/docs/architecture/domains/records/dialog-host.domain.json @@ -4,43 +4,25 @@ "description": "Global dialog state, stacking, focus, dismissal guards, confirmation and prompt dialogs, and extension dialog dispatch. Feature-specific dialog contents remain with their owning modules.", "modules": [ { - "path": "src/components/dialog/**", - "role": "presentation" + "path": "src/components/dialog/**" }, { - "path": "src/components/dialog/content/confirmationDialogTypes.ts", - "role": "domain" + "path": "src/services/__mocks__/dialogService.ts" }, { - "path": "src/services/__mocks__/dialogService.ts", - "role": "application" + "path": "src/services/dialogService.ts" }, { - "path": "src/services/dialogService.ts", - "role": "application" + "path": "src/services/dialogServiceTypes.ts" }, { - "path": "src/services/dialogServiceTypes.ts", - "role": "application" + "path": "src/services/extensionDialogService.ts" }, { - "path": "src/services/extensionDialogService.ts", - "role": "integration" - }, - { - "path": "src/stores/dialogStore.ts", - "role": "application" + "path": "src/stores/dialogStore.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["error-reporting", "keybindings"], - "allowedConsumers": [ - "agent", - "bounding-boxes", - "extension-manager", - "image-compositor", - "settings" - ], "characterizationScenarios": [ { "name": "Global dialog renders stacked dialogs and restores body pointer events on close", diff --git a/docs/architecture/domains/records/error-catalog.domain.json b/docs/architecture/domains/records/error-catalog.domain.json index dcc5b3285a3..e2546e397ee 100644 --- a/docs/architecture/domains/records/error-catalog.domain.json +++ b/docs/architecture/domains/records/error-catalog.domain.json @@ -4,13 +4,10 @@ "description": "Stable catalog ids and resolvers that turn prompt, validation, execution, runtime, and missing-resource errors into localized user-facing messages, plus routing of account preconditions (sign-in, subscription, credits).", "modules": [ { - "path": "src/platform/workflowErrors/errorCatalog/**", - "role": "domain" + "path": "src/platform/workflowErrors/errorCatalog/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Run and missing-resource errors resolve to catalog messages and account preconditions", @@ -24,7 +21,7 @@ "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", "Catalog ids remain stable because telemetry and error-panel UI key on them.", - "The resolvers typing against missing-media, missing-model, and node-replacement types and counting their groups remain visible as cross-domain coupling; classification does not grant dependency exceptions." + "The resolvers typing against missing-media, missing-model, and node-replacement types and counting their groups remain untracked cross-domain coupling; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/error-handling.domain.json b/docs/architecture/domains/records/error-handling.domain.json index 91716b33a2b..834f69ae00f 100644 --- a/docs/architecture/domains/records/error-handling.domain.json +++ b/docs/architecture/domains/records/error-handling.domain.json @@ -4,25 +4,19 @@ "description": "Shared technical module for caught-error normalization, user-facing toast handling, and retry/recovery strategies. Reporting errors to telemetry remains in error-reporting.", "modules": [ { - "path": "src/composables/__mocks__/**", - "role": "application" + "path": "src/composables/__mocks__/**" }, { - "path": "src/composables/useErrorHandling.ts", - "role": "application" + "path": "src/composables/useErrorHandling.ts" }, { - "path": "src/utils/errorUtil.ts", - "role": "domain" + "path": "src/utils/errorUtil.ts" }, { - "path": "packages/shared-frontend-utils/src/errorUtil.ts", - "role": "domain" + "path": "packages/shared-frontend-utils/src/errorUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": ["keybindings"], "characterizationScenarios": [ { "name": "Error normalization and recovery preserves its existing behavior", diff --git a/docs/architecture/domains/records/error-reporting.domain.json b/docs/architecture/domains/records/error-reporting.domain.json index 7986f6fa169..71d15d04c74 100644 --- a/docs/architecture/domains/records/error-reporting.domain.json +++ b/docs/architecture/domains/records/error-reporting.domain.json @@ -4,98 +4,64 @@ "description": "The reportError pipeline, RUM context, and URL redaction of @comfyorg/telemetry, their application adapters, vendor initialization and filtering, assertions, asset-load reporting, and manual-refresh diagnostics. Product analytics and startup tracing are separate records.", "modules": [ { - "path": "src/base/assert.ts", - "role": "domain" + "path": "src/base/assert.ts" }, { - "path": "src/platform/telemetry/assertFailureReporter.ts", - "role": "application" + "path": "src/platform/telemetry/assertFailureReporter.ts" }, { - "path": "src/platform/telemetry/assetLoadErrorReporting.ts", - "role": "application" + "path": "src/platform/telemetry/assetLoadErrorReporting.ts" }, { - "path": "src/platform/telemetry/datadogRumBeforeSend.ts", - "role": "domain" + "path": "src/platform/telemetry/datadogRumBeforeSend.ts" }, { - "path": "src/platform/telemetry/imageFailureDiagnostics.ts", - "role": "infrastructure" + "path": "src/platform/telemetry/imageFailureDiagnostics.ts" }, { - "path": "src/platform/telemetry/initErrorReporter.ts", - "role": "infrastructure" + "path": "src/platform/telemetry/initErrorReporter.ts" }, { - "path": "src/platform/telemetry/initDatadogRum.ts", - "role": "infrastructure" + "path": "src/platform/telemetry/initDatadogRum.ts" }, { - "path": "src/platform/telemetry/initSentry.ts", - "role": "infrastructure" + "path": "src/platform/telemetry/initSentry.ts" }, { - "path": "src/platform/telemetry/manualRefreshTracker.ts", - "role": "infrastructure" + "path": "src/platform/telemetry/manualRefreshTracker.ts" }, { - "path": "src/platform/telemetry/redactTelemetryUrls.test.ts", - "role": "domain" + "path": "src/platform/telemetry/redactTelemetryUrls.test.ts" }, { - "path": "src/platform/telemetry/reportError.sentry.test.ts", - "role": "application" + "path": "src/platform/telemetry/reportError.sentry.test.ts" }, { - "path": "src/platform/telemetry/sentryBeforeSend.ts", - "role": "domain" + "path": "src/platform/telemetry/sentryBeforeSend.ts" }, { - "path": "src/platform/telemetry/thirdPartyErrorNoise.ts", - "role": "domain" + "path": "src/platform/telemetry/thirdPartyErrorNoise.ts" }, { - "path": "src/platform/telemetry/vueDirectiveErrorDiagnostics.ts", - "role": "domain" + "path": "src/platform/telemetry/vueDirectiveErrorDiagnostics.ts" }, { - "path": "src/utils/preloadErrorUtil.ts", - "role": "domain" + "path": "src/utils/preloadErrorUtil.ts" }, { - "path": "packages/telemetry/src/__mocks__/reportError.ts", - "role": "application" + "path": "packages/telemetry/src/__mocks__/reportError.ts" }, { - "path": "packages/telemetry/src/redactTelemetryUrls.ts", - "role": "domain" + "path": "packages/telemetry/src/redactTelemetryUrls.ts" }, { - "path": "packages/telemetry/src/reportError.ts", - "role": "application" + "path": "packages/telemetry/src/reportError.ts" }, { - "path": "packages/telemetry/src/rumContext.ts", - "role": "infrastructure" + "path": "packages/telemetry/src/rumContext.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [ - "app-host", - "ingest-api", - "runtime-guards", - "telemetry" - ], - "allowedConsumers": [ - "agent", - "app-host", - "dialog-host", - "extension-runtime", - "graph-model", - "node-widgets", - "workflow-management" - ], "characterizationScenarios": [ { "name": "reportError routes each failure once to the sinks enabled for the distribution and host", diff --git a/docs/architecture/domains/records/execution.domain.json b/docs/architecture/domains/records/execution.domain.json index 7295bffcfb5..13df893e254 100644 --- a/docs/architecture/domains/records/execution.domain.json +++ b/docs/architecture/domains/records/execution.domain.json @@ -4,77 +4,58 @@ "description": "Client-side state of running prompts: websocket-driven execution progress, active and cached nodes, per-node progress, node execution errors and their lifting to subgraph boundaries alongside missing-resource state, node outputs and preview images keyed by node locator across workflow switches, and the latest live preview per job. The job list and history, the wire schemas, and the node execution order store backing litegraph are separate.", "modules": [ { - "path": "src/composables/graph/useErrorClearingHooks.ts", - "role": "integration" + "path": "src/composables/graph/useErrorClearingHooks.ts" }, { - "path": "src/composables/graph/useNodeErrorFlagSync.ts", - "role": "application" + "path": "src/composables/graph/useNodeErrorFlagSync.ts" }, { - "path": "src/composables/useBrowserTabTitle.ts", - "role": "presentation" + "path": "src/composables/useBrowserTabTitle.ts" }, { - "path": "src/composables/useProgressFavicon.ts", - "role": "presentation" + "path": "src/composables/useProgressFavicon.ts" }, { - "path": "src/composables/useViewErrorsInGraph.ts", - "role": "application" + "path": "src/composables/useViewErrorsInGraph.ts" }, { - "path": "src/composables/useWorkflowStatusDismissal.ts", - "role": "application" + "path": "src/composables/useWorkflowStatusDismissal.ts" }, { - "path": "src/stores/executionErrorStore.ts", - "role": "application" + "path": "src/stores/executionErrorStore.ts" }, { - "path": "src/stores/executionStore.ts", - "role": "application" + "path": "src/stores/executionStore.ts" }, { - "path": "src/stores/jobPreviewStore.ts", - "role": "application" + "path": "src/stores/jobPreviewStore.ts" }, { - "path": "src/stores/nodeOutputStore.ts", - "role": "application" + "path": "src/stores/nodeOutputStore.ts" }, { - "path": "src/utils/__tests__/executionErrorTestUtils.ts", - "role": "integration" + "path": "src/utils/__tests__/executionErrorTestUtils.ts" }, { - "path": "src/utils/__tests__/nodeErrorHelpers.ts", - "role": "integration" + "path": "src/utils/__tests__/nodeErrorHelpers.ts" }, { - "path": "src/utils/errorSeverityClassification.ts", - "role": "domain" + "path": "src/utils/errorSeverityClassification.ts" }, { - "path": "src/utils/executionErrorUtil.ts", - "role": "domain" + "path": "src/utils/executionErrorUtil.ts" }, { - "path": "src/utils/missingResourceAbsorption.ts", - "role": "domain" + "path": "src/utils/missingResourceAbsorption.ts" }, { - "path": "src/utils/nodeOutputUtil.ts", - "role": "domain" + "path": "src/utils/nodeOutputUtil.ts" }, { - "path": "src/utils/objectUrlUtil.ts", - "role": "infrastructure" + "path": "src/utils/objectUrlUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["workflow-management"], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Execution store tracks progress, completion, interruption, and errors from websocket events", @@ -126,7 +107,7 @@ "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", "useExecutionStore, useExecutionErrorStore, useNodeOutputStore, and useJobPreviewStore keep their store ids and exports because extensions, renderer, queue, and error-panel code read them.", - "Execution stores reading the workflow store, app instance, scripts/api, canvas store, missing-model, missing-media, and missing-node stores, and error-catalog routing remain visible as cross-domain coupling; classification does not grant dependency exceptions." + "Execution stores reading the workflow store, app instance, scripts/api, canvas store, missing-model, missing-media, and missing-node stores, and error-catalog routing remain untracked cross-domain coupling; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/extension-manager.domain.json b/docs/architecture/domains/records/extension-manager.domain.json index aca116be57d..6a8bad2bd49 100644 --- a/docs/architecture/domains/records/extension-manager.domain.json +++ b/docs/architecture/domains/records/extension-manager.domain.json @@ -4,86 +4,13 @@ "description": "Custom-node pack discovery, compatibility checks, installation queues, and manager dialogs. Registry access, workflow state, and host dialog services remain external dependencies.", "modules": [ { - "path": "src/platform/customNodes/manager/**", - "role": "application" + "path": "src/platform/customNodes/manager/**" }, { - "path": "src/platform/customNodes/manager/components/**", - "role": "presentation" - }, - { - "path": "src/platform/customNodes/manager/components/ManagerProgressToast.test.ts", - "role": "integration" - }, - { - "path": "src/platform/customNodes/manager/components/manager/ManagerDialog.test.ts", - "role": "integration" - }, - { - "path": "src/platform/customNodes/manager/composables/dialogs/**", - "role": "presentation" - }, - { - "path": "src/platform/customNodes/manager/composables/dialogs/useManagerDialog.test.ts", - "role": "integration" - }, - { - "path": "src/platform/customNodes/manager/composables/nodePack/usePackInstall.ts", - "role": "presentation" - }, - { - "path": "src/platform/customNodes/manager/composables/useImportFailedDetection.ts", - "role": "presentation" - }, - { - "path": "src/platform/customNodes/manager/composables/workflowErrorManager.ts", - "role": "integration" - }, - { - "path": "src/platform/customNodes/manager/services/**", - "role": "infrastructure" - }, - { - "path": "src/platform/customNodes/manager/stores/comfyManagerStore.test.ts", - "role": "integration" - }, - { - "path": "src/platform/customNodes/manager/types/**", - "role": "domain" - }, - { - "path": "src/platform/customNodes/manager/types/importFailedTypes.ts", - "role": "presentation" - }, - { - "path": "src/platform/customNodes/manager/utils/**", - "role": "domain" - }, - { - "path": "packages/api-client/src/generatedManagerTypes.ts", - "role": "domain" + "path": "packages/api-client/src/generatedManagerTypes.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [ - "app-host", - "comfy-registry", - "design-system", - "dialog-host", - "extension-runtime", - "keybindings", - "system-info" - ], - "allowedConsumers": [ - "app-host", - "extension-runtime", - "help-center", - "node-definition", - "node-library", - "subgraphs", - "workbench-shell", - "workflow-errors" - ], "characterizationScenarios": [ { "name": "Compatibility and version policy determine pack conflicts and ordering", @@ -113,7 +40,7 @@ "adrs": [], "compatibilityPromises": [ "Existing menus and missing-node panels may continue importing manager internals during inventory.", - "Application-to-dialog and utility-to-store coupling remains visible as role-boundary debt; classification does not grant dependency exceptions." + "Application-to-dialog and utility-to-store coupling remains untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/extension-runtime.domain.json b/docs/architecture/domains/records/extension-runtime.domain.json index af89cd90ee9..bc1688716be 100644 --- a/docs/architecture/domains/records/extension-runtime.domain.json +++ b/docs/architecture/domains/records/extension-runtime.domain.json @@ -4,100 +4,67 @@ "description": "Shared technical module for the extension-facing ComfyApp and ComfyApi runtime, HTTP and websocket transport, extension loading and lifecycle registration, global accessors, public extension types, legacy DOM UI, and compatibility utilities.", "modules": [ { - "path": "src/composables/functional/**", - "role": "integration" + "path": "src/composables/functional/**" }, { - "path": "src/composables/useReconnectingNotification.ts", - "role": "application" + "path": "src/composables/useReconnectingNotification.ts" }, { - "path": "src/extensions/core/index.ts", - "role": "integration" + "path": "src/extensions/core/index.ts" }, { - "path": "src/scripts/__mocks__/**", - "role": "infrastructure" + "path": "src/scripts/__mocks__/**" }, { - "path": "src/scripts/__mocks__/app.ts", - "role": "integration" + "path": "src/scripts/api.ts" }, { - "path": "src/scripts/api.ts", - "role": "infrastructure" + "path": "src/scripts/app.ts" }, { - "path": "src/scripts/app.ts", - "role": "integration" + "path": "src/scripts/appInstance.ts" }, { - "path": "src/scripts/appInstance.ts", - "role": "application" + "path": "src/scripts/appRegistry.ts" }, { - "path": "src/scripts/appRegistry.ts", - "role": "application" + "path": "src/scripts/ui.ts" }, { - "path": "src/scripts/ui.ts", - "role": "presentation" + "path": "src/scripts/ui/**" }, { - "path": "src/scripts/ui/**", - "role": "presentation" + "path": "src/scripts/utils.ts" }, { - "path": "src/scripts/utils.ts", - "role": "integration" + "path": "src/platform/extensions/components/**" }, { - "path": "src/platform/extensions/components/**", - "role": "presentation" + "path": "src/platform/customNodes/customNodeScripts.ts" }, { - "path": "src/platform/customNodes/customNodeScripts.ts", - "role": "infrastructure" + "path": "src/platform/extensions/services/extensionLoader.ts" }, { - "path": "src/platform/extensions/services/extensionLoader.ts", - "role": "infrastructure" + "path": "src/platform/extensions/services/extensionService.ts" }, { - "path": "src/platform/extensions/services/extensionService.ts", - "role": "application" + "path": "src/platform/extensions/stores/extensionStore.ts" }, { - "path": "src/platform/extensions/stores/extensionStore.ts", - "role": "application" + "path": "src/types/comfy.ts" }, { - "path": "src/types/comfy.ts", - "role": "domain" + "path": "src/types/extensionTypes.ts" }, { - "path": "src/types/extensionTypes.ts", - "role": "domain" + "path": "packages/api-client/src/ComfyApi.ts" }, { - "path": "packages/api-client/src/ComfyApi.ts", - "role": "infrastructure" - }, - { - "path": "packages/api-client/src/apiTimeouts.ts", - "role": "infrastructure" + "path": "packages/api-client/src/apiTimeouts.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [ - "error-reporting", - "extension-manager", - "keybindings", - "remote-config", - "telemetry", - "webcam-capture" - ], - "allowedConsumers": ["agent", "extension-manager"], "characterizationScenarios": [ { "name": "Extension loader fetches, filters, imports, and reports failing extensions", diff --git a/docs/architecture/domains/records/first-run-tour.domain.json b/docs/architecture/domains/records/first-run-tour.domain.json index 8336439cd6c..cf77a932631 100644 --- a/docs/architecture/domains/records/first-run-tour.domain.json +++ b/docs/architecture/domains/records/first-run-tour.domain.json @@ -4,37 +4,13 @@ "description": "The first-run getting-started screen with template and tutorial cards, the tour nudge, and the canvas tour that resolves graph node roles from heuristics and pinned roles, sequences tour steps, frames the camera, and projects node layout positions as coachmark targets. Consumes the onboarding-tours engine (tour store, coachmark registry, coachmark layout) without owning it.", "modules": [ { - "path": "src/renderer/extensions/firstRunTour/**", - "role": "presentation" + "path": "src/renderer/extensions/firstRunTour/**" }, { - "path": "src/renderer/extensions/firstRunTour/gettingStarted/firstRunEntry.ts", - "role": "application" - }, - { - "path": "src/renderer/extensions/firstRunTour/gettingStarted/tutorialCards.ts", - "role": "domain" - }, - { - "path": "src/renderer/extensions/firstRunTour/roles/**", - "role": "domain" - }, - { - "path": "src/renderer/extensions/firstRunTour/tour/**", - "role": "application" - }, - { - "path": "src/renderer/extensions/firstRunTour/tour/canvasCoachTarget.ts", - "role": "integration" - }, - { - "path": "src/services/useNewUserService.ts", - "role": "application" + "path": "src/services/useNewUserService.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["keybindings"], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Getting-started entry and nudge open the first-run experience", diff --git a/docs/architecture/domains/records/glsl-preview.domain.json b/docs/architecture/domains/records/glsl-preview.domain.json index d8f432c6f2f..69054b124c6 100644 --- a/docs/architecture/domains/records/glsl-preview.domain.json +++ b/docs/architecture/domains/records/glsl-preview.domain.json @@ -4,25 +4,10 @@ "description": "Shader preview scheduling, uniform extraction, multipass rendering, and shared WebGL resource management. Graph and widget stores remain external host dependencies.", "modules": [ { - "path": "src/renderer/glsl/**", - "role": "application" - }, - { - "path": "src/renderer/glsl/glslUtils.ts", - "role": "domain" - }, - { - "path": "src/renderer/glsl/sharedGLContext.ts", - "role": "infrastructure" - }, - { - "path": "src/renderer/glsl/useGLSLRenderer.ts", - "role": "infrastructure" + "path": "src/renderer/glsl/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Preview scheduling and uniform reads follow workflow outputs and promoted widgets", diff --git a/docs/architecture/domains/records/graph-canvas.domain.json b/docs/architecture/domains/records/graph-canvas.domain.json index 9b8e39dc8c6..4b71de75234 100644 --- a/docs/architecture/domains/records/graph-canvas.domain.json +++ b/docs/architecture/domains/records/graph-canvas.domain.json @@ -4,165 +4,124 @@ "description": "The LiteGraph canvas view-controller: pointer and gesture handling, viewport transform, hit testing, context menus, clipboard storage, title buttons, badges, and the shared 2D drawing primitives. Vue-node rendering, layout stores, and link dragging live outside this domain.", "modules": [ { - "path": "src/base/common/selectionBounds.ts", - "role": "domain" + "path": "src/base/common/selectionBounds.ts" }, { - "path": "src/composables/useCopy.ts", - "role": "integration" + "path": "src/composables/useCopy.ts" }, { - "path": "src/composables/usePaste.ts", - "role": "integration" + "path": "src/composables/usePaste.ts" }, { - "path": "src/extensions/core/contextMenuFilter.ts", - "role": "integration" + "path": "src/extensions/core/contextMenuFilter.ts" }, { - "path": "src/extensions/core/groupOptions.ts", - "role": "integration" + "path": "src/extensions/core/groupOptions.ts" }, { - "path": "src/extensions/core/selectionBorder.ts", - "role": "integration" + "path": "src/extensions/core/selectionBorder.ts" }, { - "path": "src/extensions/core/simpleTouchSupport.ts", - "role": "integration" + "path": "src/extensions/core/simpleTouchSupport.ts" }, { - "path": "src/lib/litegraph/src/CanvasPointer.ts", - "role": "infrastructure" + "path": "src/lib/litegraph/src/CanvasPointer.ts" }, { - "path": "src/lib/litegraph/src/ContextMenu.ts", - "role": "presentation" + "path": "src/lib/litegraph/src/ContextMenu.ts" }, { - "path": "src/lib/litegraph/src/DragAndScale.ts", - "role": "application" + "path": "src/lib/litegraph/src/DragAndScale.ts" }, { - "path": "src/lib/litegraph/src/LGraphBadge.ts", - "role": "presentation" + "path": "src/lib/litegraph/src/LGraphBadge.ts" }, { - "path": "src/lib/litegraph/src/LGraphButton.ts", - "role": "presentation" + "path": "src/lib/litegraph/src/LGraphButton.ts" }, { - "path": "src/lib/litegraph/src/LGraphCanvas.ts", - "role": "presentation" + "path": "src/lib/litegraph/src/LGraphCanvas.ts" }, { - "path": "src/lib/litegraph/src/LGraphIcon.ts", - "role": "presentation" + "path": "src/lib/litegraph/src/LGraphIcon.ts" }, { - "path": "src/lib/litegraph/src/__fixtures__/canvasHarness.ts", - "role": "integration" + "path": "src/lib/litegraph/src/__fixtures__/canvasHarness.ts" }, { - "path": "src/lib/litegraph/src/__tests__/**", - "role": "application" + "path": "src/lib/litegraph/src/__tests__/**" }, { - "path": "src/lib/litegraph/src/canvas/InputIndicators.ts", - "role": "presentation" + "path": "src/lib/litegraph/src/canvas/InputIndicators.ts" }, { - "path": "src/lib/litegraph/src/canvas/captureGesture.ts", - "role": "infrastructure" + "path": "src/lib/litegraph/src/canvas/captureGesture.ts" }, { - "path": "src/lib/litegraph/src/canvas/clipboardStorage.ts", - "role": "infrastructure" + "path": "src/lib/litegraph/src/canvas/clipboardStorage.ts" }, { - "path": "src/lib/litegraph/src/canvas/getCanvasContextMenuTarget.ts", - "role": "application" + "path": "src/lib/litegraph/src/canvas/getCanvasContextMenuTarget.ts" }, { - "path": "src/lib/litegraph/src/canvas/hitTesting.ts", - "role": "application" + "path": "src/lib/litegraph/src/canvas/hitTesting.ts" }, { - "path": "src/lib/litegraph/src/canvas/measureSlots.ts", - "role": "domain" + "path": "src/lib/litegraph/src/canvas/measureSlots.ts" }, { - "path": "src/lib/litegraph/src/canvas/reduceGesture.ts", - "role": "domain" + "path": "src/lib/litegraph/src/canvas/reduceGesture.ts" }, { - "path": "src/lib/litegraph/src/canvas/resolvePointerTarget.ts", - "role": "application" + "path": "src/lib/litegraph/src/canvas/resolvePointerTarget.ts" }, { - "path": "src/lib/litegraph/src/contextMenuCompat.ts", - "role": "integration" + "path": "src/lib/litegraph/src/contextMenuCompat.ts" }, { - "path": "src/lib/litegraph/src/cursorCache.ts", - "role": "infrastructure" + "path": "src/lib/litegraph/src/cursorCache.ts" }, { - "path": "src/lib/litegraph/src/draw.ts", - "role": "presentation" + "path": "src/lib/litegraph/src/draw.ts" }, { - "path": "src/lib/litegraph/src/infrastructure/LGraphCanvasEventMap.ts", - "role": "domain" + "path": "src/lib/litegraph/src/infrastructure/LGraphCanvasEventMap.ts" }, { - "path": "src/lib/litegraph/src/nodeBadgeDraw.ts", - "role": "presentation" + "path": "src/lib/litegraph/src/nodeBadgeDraw.ts" }, { - "path": "src/lib/litegraph/src/nodeEmphasis.ts", - "role": "presentation" + "path": "src/lib/litegraph/src/nodeEmphasis.ts" }, { - "path": "src/lib/litegraph/src/types/contextMenu.ts", - "role": "domain" + "path": "src/lib/litegraph/src/types/contextMenu.ts" }, { - "path": "src/lib/litegraph/src/types/panel.ts", - "role": "domain" + "path": "src/lib/litegraph/src/types/panel.ts" }, { - "path": "src/lib/litegraph/src/utils/linkColors.ts", - "role": "presentation" + "path": "src/lib/litegraph/src/utils/linkColors.ts" }, { - "path": "src/lib/litegraph/src/utils/textMeasureCache.ts", - "role": "presentation" + "path": "src/lib/litegraph/src/utils/textMeasureCache.ts" }, { - "path": "src/lib/litegraph/src/utils/textUtils.ts", - "role": "presentation" + "path": "src/lib/litegraph/src/utils/textUtils.ts" }, { - "path": "src/systems/**", - "role": "application" + "path": "src/systems/**" }, { - "path": "src/types/badgeData.ts", - "role": "domain" + "path": "src/types/badgeData.ts" }, { - "path": "src/utils/vintageClipboard.ts", - "role": "domain" + "path": "src/utils/vintageClipboard.ts" }, { - "path": "src/workbench/eventHelpers.ts", - "role": "application" + "path": "src/workbench/eventHelpers.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Pointer gestures resolve targets and stay interruptible", diff --git a/docs/architecture/domains/records/graph-commands.domain.json b/docs/architecture/domains/records/graph-commands.domain.json index 077e2a9ff5a..52a5d32aaef 100644 --- a/docs/architecture/domains/records/graph-commands.domain.json +++ b/docs/architecture/domains/records/graph-commands.domain.json @@ -4,17 +4,13 @@ "description": "Graph mutation intents announced from the LGraph and widget-value funnels with caller provenance, plus the probe that tells id allocation whether a root graph is bound to a collaborative document. The agent CRDT minter and applier consume these seams from outside this domain.", "modules": [ { - "path": "src/lib/litegraph/src/docBoundGraphs.ts", - "role": "infrastructure" + "path": "src/lib/litegraph/src/docBoundGraphs.ts" }, { - "path": "src/lib/litegraph/src/graphIntents.ts", - "role": "application" + "path": "src/lib/litegraph/src/graphIntents.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Graph mutations emit intents tagged with local, load, or agent-remote provenance", diff --git a/docs/architecture/domains/records/graph-compatibility.domain.json b/docs/architecture/domains/records/graph-compatibility.domain.json index d3c340f14c9..d84e9ab1301 100644 --- a/docs/architecture/domains/records/graph-compatibility.domain.json +++ b/docs/architecture/domains/records/graph-compatibility.domain.json @@ -4,17 +4,13 @@ "description": "Shared technical module for the existing mixed-purpose LiteGraph utility file: media-node detection, widget lookup and callbacks, slot migration, and graph-item presentation. This records the current compatibility module and its debt; it does not assert that these concerns should remain together.", "modules": [ { - "path": "src/utils/__mocks__/**", - "role": "integration" + "path": "src/utils/__mocks__/**" }, { - "path": "src/utils/litegraphUtil.ts", - "role": "integration" + "path": "src/utils/litegraphUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Legacy graph utility adapters preserves its existing behavior", diff --git a/docs/architecture/domains/records/graph-layout.domain.json b/docs/architecture/domains/records/graph-layout.domain.json index 0564016895c..ae62cad9e1d 100644 --- a/docs/architecture/domains/records/graph-layout.domain.json +++ b/docs/architecture/domains/records/graph-layout.domain.json @@ -4,65 +4,19 @@ "description": "Shared technical module, not a business domain. The Yjs-backed layout store that owns durable node, group, reroute, link, and slot geometry under ADR-CRDT-LAYOUT-0003, its LayoutOperation mutations and actor attribution, hit-target authority, pure geometry and layout math, Yjs mappers, the QuadTree spatial index used for hit testing and culling, the TransformPane and transform-state helpers that map canvas space to DOM space, and adapters that attach LiteGraph graphs, node sizes, and slot offsets to the store. Graph topology and entity stores remain with the graph core.", "modules": [ { - "path": "src/renderer/core/layout/**", - "role": "domain" + "path": "src/renderer/core/layout/**" }, { - "path": "src/renderer/core/layout/__tests__/TransformPane.test.ts", - "role": "presentation" + "path": "src/renderer/core/spatial/**" }, { - "path": "src/renderer/core/layout/operations/**", - "role": "integration" + "path": "src/types/spatialIndex.ts" }, { - "path": "src/renderer/core/layout/operations/layoutMutations.ts", - "role": "application" - }, - { - "path": "src/renderer/core/layout/slots/syncSlotOffsets.ts", - "role": "integration" - }, - { - "path": "src/renderer/core/layout/store/**", - "role": "application" - }, - { - "path": "src/renderer/core/layout/transform/**", - "role": "application" - }, - { - "path": "src/renderer/core/layout/transform/TransformPane.vue", - "role": "presentation" - }, - { - "path": "src/renderer/core/layout/transform/graphRenderTransform.ts", - "role": "integration" - }, - { - "path": "src/renderer/core/layout/utils/mappers.ts", - "role": "infrastructure" - }, - { - "path": "src/renderer/core/layout/utils/nodeSizeUtil.ts", - "role": "integration" - }, - { - "path": "src/renderer/core/spatial/**", - "role": "domain" - }, - { - "path": "src/types/spatialIndex.ts", - "role": "domain" - }, - { - "path": "src/utils/positionBounds.ts", - "role": "domain" + "path": "src/utils/positionBounds.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Layout store preserves geometry, actors, holders, and hit targets", diff --git a/docs/architecture/domains/records/graph-model.domain.json b/docs/architecture/domains/records/graph-model.domain.json index c22806d6f96..0ac0a63bfb9 100644 --- a/docs/architecture/domains/records/graph-model.domain.json +++ b/docs/architecture/domains/records/graph-model.domain.json @@ -4,197 +4,133 @@ "description": "LiteGraph graph, node, link, reroute, group, and slot entities with their store-backed node shell state, identity allocation, serialisation shapes, load-time link repair, and geometry value types. Node, slot, and group classes still carry canvas drawing and import shared drawing, widget, subgraph-promotion, selection, and layout code; those imports are recorded coupling, not owned responsibilities.", "modules": [ { - "path": "src/constants/slotColors.ts", - "role": "domain" + "path": "src/constants/slotColors.ts" }, { - "path": "src/core/graph/nodeShell/**", - "role": "application" + "path": "src/core/graph/nodeShell/**" }, { - "path": "src/extensions/core/rerouteNode.ts", - "role": "integration" + "path": "src/extensions/core/rerouteNode.ts" }, { - "path": "src/lib/litegraph/src/LGraph.remintLinkRemap.test.ts", - "role": "application" + "path": "src/lib/litegraph/src/LGraph.ts" }, { - "path": "src/lib/litegraph/src/LGraph.ts", - "role": "domain" + "path": "src/lib/litegraph/src/LGraphGroup.ts" }, { - "path": "src/lib/litegraph/src/LGraphGroup.ts", - "role": "domain" + "path": "src/lib/litegraph/src/LGraphNode.ts" }, { - "path": "src/lib/litegraph/src/LGraphNode.ts", - "role": "domain" + "path": "src/lib/litegraph/src/LLink.ts" }, { - "path": "src/lib/litegraph/src/LLink.ts", - "role": "domain" + "path": "src/lib/litegraph/src/LinkMap.ts" }, { - "path": "src/lib/litegraph/src/LinkMap.ts", - "role": "domain" + "path": "src/lib/litegraph/src/MapProxyHandler.ts" }, { - "path": "src/lib/litegraph/src/MapProxyHandler.ts", - "role": "infrastructure" + "path": "src/lib/litegraph/src/Reroute.ts" }, { - "path": "src/lib/litegraph/src/Reroute.ts", - "role": "domain" + "path": "src/lib/litegraph/src/__fixtures__/**" }, { - "path": "src/lib/litegraph/src/__fixtures__/**", - "role": "integration" + "path": "src/lib/litegraph/src/extensionPersistence.ts" }, { - "path": "src/lib/litegraph/src/extensionPersistence.ts", - "role": "domain" + "path": "src/lib/litegraph/src/geometryApiContracts.test.ts" }, { - "path": "src/lib/litegraph/src/geometryApiContracts.test.ts", - "role": "domain" + "path": "src/lib/litegraph/src/idAllocation.ts" }, { - "path": "src/lib/litegraph/src/idAllocation.ts", - "role": "domain" + "path": "src/lib/litegraph/src/infrastructure/**" }, { - "path": "src/lib/litegraph/src/infrastructure/**", - "role": "domain" + "path": "src/lib/litegraph/src/linkDeduplication.ts" }, { - "path": "src/lib/litegraph/src/infrastructure/CustomEventTarget.ts", - "role": "infrastructure" + "path": "src/lib/litegraph/src/measure.ts" }, { - "path": "src/lib/litegraph/src/infrastructure/createMutationView.ts", - "role": "infrastructure" + "path": "src/lib/litegraph/src/node/**" }, { - "path": "src/lib/litegraph/src/linkDeduplication.ts", - "role": "application" + "path": "src/lib/litegraph/src/remintLinkRemap.ts" }, { - "path": "src/lib/litegraph/src/measure.ts", - "role": "domain" + "path": "src/lib/litegraph/src/serialization.test.ts" }, { - "path": "src/lib/litegraph/src/node/**", - "role": "domain" + "path": "src/lib/litegraph/src/strings.ts" }, { - "path": "src/lib/litegraph/src/node/slotDescriptorView.ts", - "role": "infrastructure" + "path": "src/lib/litegraph/src/types/**" }, { - "path": "src/lib/litegraph/src/node/slotLinks.ts", - "role": "application" + "path": "src/lib/litegraph/src/utils/**" }, { - "path": "src/lib/litegraph/src/remintLinkRemap.ts", - "role": "application" + "path": "src/lib/litegraph/test/**" }, { - "path": "src/lib/litegraph/src/serialization.test.ts", - "role": "domain" + "path": "src/stores/clearNodeOwnedStoreState.ts" }, { - "path": "src/lib/litegraph/src/strings.ts", - "role": "domain" + "path": "src/stores/entityIdStore.ts" }, { - "path": "src/lib/litegraph/src/types/**", - "role": "domain" + "path": "src/stores/executionOrderStore.ts" }, { - "path": "src/lib/litegraph/src/utils/**", - "role": "domain" + "path": "src/stores/graphMetadataStore.ts" }, { - "path": "src/lib/litegraph/test/**", - "role": "integration" + "path": "src/stores/linkStore.ts" }, { - "path": "src/stores/clearNodeOwnedStoreState.ts", - "role": "application" + "path": "src/stores/nodeDataStore.ts" }, { - "path": "src/stores/entityIdStore.ts", - "role": "application" + "path": "src/stores/rekeyGraphId.ts" }, { - "path": "src/stores/executionOrderStore.ts", - "role": "application" + "path": "src/stores/rerouteStore.ts" }, { - "path": "src/stores/graphMetadataStore.ts", - "role": "application" + "path": "src/stores/storeCollisionContracts.test.ts" }, { - "path": "src/stores/linkStore.ts", - "role": "application" + "path": "src/types/linkId.test.ts" }, { - "path": "src/stores/nodeDataStore.ts", - "role": "application" + "path": "src/types/linkTopology.ts" }, { - "path": "src/stores/rekeyGraphId.ts", - "role": "application" + "path": "src/types/nodeId.test.ts" }, { - "path": "src/stores/rerouteStore.ts", - "role": "application" + "path": "src/types/nodeIdentification.test.ts" }, { - "path": "src/stores/storeCollisionContracts.test.ts", - "role": "application" + "path": "src/types/nodeState.ts" }, { - "path": "src/types/linkId.test.ts", - "role": "domain" + "path": "src/types/rerouteId.test.ts" }, { - "path": "src/types/linkTopology.ts", - "role": "domain" + "path": "src/types/slotId.test.ts" }, { - "path": "src/types/nodeId.test.ts", - "role": "domain" + "path": "src/utils/uuid.ts" }, { - "path": "src/types/nodeIdentification.test.ts", - "role": "domain" - }, - { - "path": "src/types/nodeState.ts", - "role": "domain" - }, - { - "path": "src/types/rerouteId.test.ts", - "role": "domain" - }, - { - "path": "src/types/slotId.test.ts", - "role": "domain" - }, - { - "path": "src/utils/uuid.ts", - "role": "infrastructure" - }, - { - "path": "packages/graph-model/src/**", - "role": "domain" + "path": "packages/graph-model/src/**" } ], "publicEntryPoints": [], - "allowedDependencies": ["comfyui-api", "error-reporting", "node-definition"], - "allowedConsumers": ["bounding-boxes"], "characterizationScenarios": [ { "name": "Graph configure and serialise round-trips preserve nodes, links, groups, and reroutes", diff --git a/docs/architecture/domains/records/graph-selection.domain.json b/docs/architecture/domains/records/graph-selection.domain.json index c529a9f16dd..2620d6335cd 100644 --- a/docs/architecture/domains/records/graph-selection.domain.json +++ b/docs/architecture/domains/records/graph-selection.domain.json @@ -4,21 +4,16 @@ "description": "The single graph-scoped selection store, its serialisable selection keys, and the legacy canvas.selectedItems view that adapts it for LiteGraph callers. Canvas gestures that change selection stay in the graph canvas domain.", "modules": [ { - "path": "src/core/selection/selectionState.ts", - "role": "domain" + "path": "src/core/selection/selectionState.ts" }, { - "path": "src/core/selection/selectionStore.ts", - "role": "application" + "path": "src/core/selection/selectionStore.ts" }, { - "path": "src/lib/litegraph/src/canvas/SelectedItemsView.ts", - "role": "integration" + "path": "src/lib/litegraph/src/canvas/SelectedItemsView.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Selection keys and the ordered selection store stay the single source of selected items", diff --git a/docs/architecture/domains/records/graph-traversal.domain.json b/docs/architecture/domains/records/graph-traversal.domain.json index e58058d570f..5718f4128a8 100644 --- a/docs/architecture/domains/records/graph-traversal.domain.json +++ b/docs/architecture/domains/records/graph-traversal.domain.json @@ -4,17 +4,13 @@ "description": "Shared technical module for graph hierarchy traversal, node lookup, execution-path addressing, and input-source resolution. Its many functions and consumers remain a candidate for separating graph queries from execution addressing.", "modules": [ { - "path": "src/utils/__mocks__/graphTraversalUtil.ts", - "role": "application" + "path": "src/utils/__mocks__/graphTraversalUtil.ts" }, { - "path": "src/utils/graphTraversalUtil.ts", - "role": "application" + "path": "src/utils/graphTraversalUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Graph traversal and addressing preserves its existing behavior", diff --git a/docs/architecture/domains/records/hdr-viewer.domain.json b/docs/architecture/domains/records/hdr-viewer.domain.json index 00f6a05a916..58854f3508f 100644 --- a/docs/architecture/domains/records/hdr-viewer.domain.json +++ b/docs/architecture/domains/records/hdr-viewer.domain.json @@ -4,33 +4,22 @@ "description": "HDR and EXR image inspection: gamut conversion, image statistics and histograms, image loading and rendering, channel and exposure controls, and viewer dialog integration. Shared WebGL viewport and model-viewer dialog configuration remain external dependencies.", "modules": [ { - "path": "src/components/hdr/**", - "role": "presentation" + "path": "src/components/hdr/**" }, { - "path": "src/composables/useHdrViewer.ts", - "role": "application" + "path": "src/composables/useHdrViewer.ts" }, { - "path": "src/renderer/hdr/**", - "role": "domain" + "path": "src/renderer/hdr/**" }, { - "path": "src/renderer/hdr/hdrViewerShader.ts", - "role": "infrastructure" + "path": "src/services/hdrViewerService.ts" }, { - "path": "src/services/hdrViewerService.ts", - "role": "integration" - }, - { - "path": "src/utils/hdrFormatUtil.ts", - "role": "infrastructure" + "path": "src/utils/hdrFormatUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Gamut conversion and image statistics preserve numeric image interpretation", @@ -50,7 +39,7 @@ ], "adrs": [], "compatibilityPromises": [ - "Image-preview and asset callers keep their existing runtime behavior; classified cross-domain imports remain visible without new dependency permissions.", + "Image-preview and asset callers keep their existing runtime behavior; classified cross-domain imports remain untracked and gain no dependency permissions.", "The shared WebGL viewport and Load3D dialog configuration remain with their existing domains." ], "deepImports": "inventory" diff --git a/docs/architecture/domains/records/help-center.domain.json b/docs/architecture/domains/records/help-center.domain.json index 75f238cb15b..62d05848369 100644 --- a/docs/architecture/domains/records/help-center.domain.json +++ b/docs/architecture/domains/records/help-center.domain.json @@ -4,25 +4,19 @@ "description": "Help-center menu, popup state and orchestration, documentation and community links, release-note entry points, and feedback navigation.", "modules": [ { - "path": "src/components/helpcenter/**", - "role": "presentation" + "path": "src/components/helpcenter/**" }, { - "path": "src/components/sidebar/SidebarHelpCenterIcon.vue", - "role": "presentation" + "path": "src/components/sidebar/SidebarHelpCenterIcon.vue" }, { - "path": "src/composables/useHelpCenter.ts", - "role": "presentation" + "path": "src/composables/useHelpCenter.ts" }, { - "path": "src/stores/helpCenterStore.ts", - "role": "application" + "path": "src/stores/helpCenterStore.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["extension-manager", "keybindings"], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Help center menu lists help links, feedback, and release notes and opens from the side toolbar", diff --git a/docs/architecture/domains/records/image-compare.domain.json b/docs/architecture/domains/records/image-compare.domain.json index 368c7e67aa6..c8e2ae2f663 100644 --- a/docs/architecture/domains/records/image-compare.domain.json +++ b/docs/architecture/domains/records/image-compare.domain.json @@ -4,29 +4,27 @@ "description": "Image comparison presentation, image selection behavior, Vue-node adaptation, extension registration, and LiteGraph widget integration.", "modules": [ { - "path": "src/extensions/core/imageCompare.ts", - "role": "integration" + "path": "src/extensions/core/imageCompare.ts" }, { - "path": "src/lib/litegraph/src/widgets/ImageCompareWidget.ts", - "role": "integration" + "path": "src/lib/litegraph/src/widgets/ImageCompareWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/components/WidgetImageCompare.vue", - "role": "presentation" + "path": "src/renderer/extensions/vueNodes/widgets/components/WidgetImageCompare.vue" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useImageCompareImages.ts", - "role": "application" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useImageCompareImages.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useImageCompareWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useImageCompareWidget.ts" } ], - "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], + "publicEntryPoints": [ + "src/extensions/core/imageCompare.ts", + "src/lib/litegraph/src/widgets/ImageCompareWidget.ts", + "src/renderer/extensions/vueNodes/widgets/components/WidgetImageCompare.vue", + "src/renderer/extensions/vueNodes/widgets/composables/useImageCompareWidget.ts" + ], "characterizationScenarios": [ { "name": "Image selection and compare-widget presentation remain stable", @@ -34,6 +32,13 @@ "src/renderer/extensions/vueNodes/widgets/components/WidgetImageCompare.test.ts", "src/renderer/extensions/vueNodes/widgets/composables/useImageCompareImages.test.ts" ] + }, + { + "name": "Core extensions register image compare, and the compare widget renders on node bodies only", + "checks": [ + "src/extensions/core/index.test.ts", + "src/renderer/extensions/vueNodes/widgets/composables/richWidgetPanelVisibility.test.ts" + ] } ], "adrs": [], diff --git a/docs/architecture/domains/records/image-compositor.domain.json b/docs/architecture/domains/records/image-compositor.domain.json index cfc2ab33b12..d6930408212 100644 --- a/docs/architecture/domains/records/image-compositor.domain.json +++ b/docs/architecture/domains/records/image-compositor.domain.json @@ -4,65 +4,38 @@ "description": "Layered image composition and layer editing: layer state, editing orchestration, rendering, PSD export, dialogs, extension registrations, Vue-node adaptation, and LiteGraph widget integration.", "modules": [ { - "path": "src/extensions/core/imageCompositor.ts", - "role": "integration" + "path": "src/extensions/core/imageCompositor.ts" }, { - "path": "src/extensions/core/layerEditor.ts", - "role": "integration" + "path": "src/extensions/core/layerEditor.ts" }, { - "path": "src/lib/litegraph/src/widgets/CompositorWidget.ts", - "role": "integration" + "path": "src/lib/litegraph/src/widgets/CompositorWidget.ts" }, { - "path": "src/renderer/extensions/compositor/**", - "role": "application" + "path": "src/renderer/extensions/compositor/**" }, { - "path": "src/renderer/extensions/compositor/components/WidgetCompositor.vue", - "role": "presentation" + "path": "src/renderer/extensions/layerEditor/**" }, { - "path": "src/renderer/extensions/layerEditor/**", - "role": "domain" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useCompositorWidget.ts" }, { - "path": "src/renderer/extensions/layerEditor/components/**", - "role": "presentation" - }, - { - "path": "src/renderer/extensions/layerEditor/composables/**", - "role": "application" - }, - { - "path": "src/renderer/extensions/layerEditor/composables/layerEditorDialog.ts", - "role": "presentation" - }, - { - "path": "src/renderer/extensions/layerEditor/composables/layerPanelDnd.ts", - "role": "domain" - }, - { - "path": "src/renderer/extensions/layerEditor/psdExport.ts", - "role": "infrastructure" - }, - { - "path": "src/renderer/extensions/layerEditor/psdMapping.ts", - "role": "infrastructure" - }, - { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useCompositorWidget.ts", - "role": "integration" - }, - { - "path": "packages/layer-editor/src/**", - "role": "domain" + "path": "packages/layer-editor/src/**" } ], - "publicEntryPoints": [], - "allowedDependencies": ["dialog-host"], - "allowedConsumers": [], + "publicEntryPoints": [ + "src/extensions/core/imageCompositor.ts", + "src/extensions/core/layerEditor.ts", + "src/lib/litegraph/src/widgets/CompositorWidget.ts", + "src/renderer/extensions/compositor/components/WidgetCompositor.vue", + "src/renderer/extensions/layerEditor/composables/useLayerEditor.ts", + "src/renderer/extensions/layerEditor/layerEditorDialogKey.ts", + "src/renderer/extensions/vueNodes/widgets/composables/useCompositorWidget.ts", + "packages/layer-editor/src/mode.ts", + "packages/layer-editor/src/node.ts" + ], "characterizationScenarios": [ { "name": "Compositor sessions preserve layer state and save behavior", @@ -85,7 +58,8 @@ "packages/layer-editor/src/commands/structure.test.ts", "packages/layer-editor/src/kinds/kinds.test.ts", "packages/layer-editor/src/tools/tools.test.ts", - "packages/layer-editor/src/editor/editor.test.ts" + "packages/layer-editor/src/editor/editor.test.ts", + "packages/layer-editor/src/node.test.ts" ] }, { @@ -105,6 +79,13 @@ "src/renderer/extensions/layerEditor/composables/useLayerEditorSession.test.ts", "src/renderer/extensions/layerEditor/components/LayerEditorContent.test.ts" ] + }, + { + "name": "Core extensions register the compositor and layer editor, and the compositor widget renders on node bodies only", + "checks": [ + "src/extensions/core/index.test.ts", + "src/renderer/extensions/vueNodes/widgets/composables/richWidgetPanelVisibility.test.ts" + ] } ], "adrs": [], diff --git a/docs/architecture/domains/records/image-crop.domain.json b/docs/architecture/domains/records/image-crop.domain.json index fe6be0072de..5d9918a0de2 100644 --- a/docs/architecture/domains/records/image-crop.domain.json +++ b/docs/architecture/domains/records/image-crop.domain.json @@ -4,25 +4,24 @@ "description": "Image-crop presentation, composable behavior, extension registration, and LiteGraph widget integration.", "modules": [ { - "path": "src/components/imagecrop/**", - "role": "presentation" + "path": "src/components/imagecrop/**" }, { - "path": "src/composables/useImageCrop.ts", - "role": "application" + "path": "src/composables/useImageCrop.ts" }, { - "path": "src/extensions/core/imageCrop.ts", - "role": "integration" + "path": "src/extensions/core/imageCrop.ts" }, { - "path": "src/lib/litegraph/src/widgets/ImageCropWidget.ts", - "role": "integration" + "path": "src/lib/litegraph/src/widgets/ImageCropWidget.ts" } ], - "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], + "publicEntryPoints": [ + "src/components/imagecrop/WidgetImageCrop.vue", + "src/composables/useImageCrop.ts", + "src/extensions/core/imageCrop.ts", + "src/lib/litegraph/src/widgets/ImageCropWidget.ts" + ], "characterizationScenarios": [ { "name": "Crop bounds and widget values preserve image-crop behavior", @@ -30,6 +29,13 @@ "src/components/imagecrop/WidgetImageCrop.test.ts", "src/composables/useImageCrop.test.ts" ] + }, + { + "name": "Core extensions register image crop, and video crop shares its aspect ratios", + "checks": [ + "src/extensions/core/index.test.ts", + "src/composables/video/useCropRatioLock.test.ts" + ] } ], "adrs": [], diff --git a/docs/architecture/domains/records/ingest-api.domain.json b/docs/architecture/domains/records/ingest-api.domain.json index 01c822e675b..135b8fe550d 100644 --- a/docs/architecture/domains/records/ingest-api.domain.json +++ b/docs/architecture/domains/records/ingest-api.domain.json @@ -4,40 +4,31 @@ "description": "The error, URL, web-session adapter, and capability-revision contracts extracted from the workspace and billing clients. Also the generated @comfyorg/ingest-types API types and Zod schemas. ComfyUI backend wire schemas remain in comfyui-api. Other ingest transport files remain unclassified.", "modules": [ { - "path": "src/platform/remote/ingest/ingestApiError.ts", - "role": "domain" + "path": "src/platform/remote/ingest/ingestApiError.ts" }, { - "path": "src/platform/remote/ingest/ingestApiUrl.ts", - "role": "infrastructure" + "path": "src/platform/remote/ingest/ingestApiUrl.ts" }, { - "path": "src/platform/remote/ingest/webSessionAdapter.ts", - "role": "infrastructure" + "path": "src/platform/remote/ingest/webSessionAdapter.ts" }, { - "path": "src/platform/remote/ingest/capabilityRevision.ts", - "role": "infrastructure" + "path": "src/platform/remote/ingest/capabilityRevision.ts" }, { - "path": "packages/ingest-types/src/**", - "role": "domain" + "path": "packages/ingest-types/src/**" + }, + { + "path": "src/platform/remote/ingest/ingestTypesContract.test.ts" } ], "publicEntryPoints": [ "src/platform/remote/ingest/ingestApiError.ts", "src/platform/remote/ingest/ingestApiUrl.ts", "src/platform/remote/ingest/webSessionAdapter.ts", - "src/platform/remote/ingest/capabilityRevision.ts" - ], - "allowedDependencies": [], - "allowedConsumers": [ - "account", - "authentication", - "billing", - "error-reporting", - "telemetry", - "workspace" + "src/platform/remote/ingest/capabilityRevision.ts", + "packages/ingest-types/src/index.ts", + "packages/ingest-types/src/zod.gen.ts" ], "characterizationScenarios": [ { @@ -55,6 +46,10 @@ { "name": "Mutation responses publish capability revisions without publishing query revisions", "checks": ["src/platform/billing/api/capabilityRevision.test.ts"] + }, + { + "name": "Generated ingest types and Zod schemas describe the same contract, and response schemas tolerate fields the server adds later", + "checks": ["src/platform/remote/ingest/ingestTypesContract.test.ts"] } ], "adrs": [ @@ -62,7 +57,7 @@ ], "compatibilityPromises": [ "WorkspaceApiError and NoWorkspaceAccessError retain shared runtime identity across billing and workspace clients.", - "Approved consumers import only the characterized public contracts; other ingest modules are not opened by this record." + "Other domains import only the characterized public contracts: the ingest error, URL, web-session, and capability-revision modules, and the @comfyorg/ingest-types type and Zod entries. Other ingest modules are not opened by this record." ], "deepImports": "enforced" } diff --git a/docs/architecture/domains/records/job-queue.domain.json b/docs/architecture/domains/records/job-queue.domain.json index 5833be53b09..b08274e5b2d 100644 --- a/docs/architecture/domains/records/job-queue.domain.json +++ b/docs/architecture/domains/records/job-queue.domain.json @@ -4,113 +4,76 @@ "description": "Queued and historical jobs: the jobs API client and job schemas, queue polling, the queue store and result-item parsing, auto-queue settings, job list grouping, filtering, estimates, menus, actions, notification banners, result gallery, clear-history dialog, and the queue progress overlay and job details UI. Live execution state, wire contracts, asset records, and the media lightbox are separate.", "modules": [ { - "path": "src/components/actionbar/**", - "role": "presentation" + "path": "src/components/actionbar/**" }, { - "path": "src/components/queue/**", - "role": "presentation" + "path": "src/components/queue/**" }, { - "path": "src/components/queue/job/useJobErrorReporting.ts", - "role": "application" + "path": "src/components/sidebar/tabs/JobHistorySidebarTab.vue" }, { - "path": "src/components/queue/job/useQueueEstimates.ts", - "role": "application" + "path": "src/composables/queue/**" }, { - "path": "src/components/sidebar/tabs/JobHistorySidebarTab.vue", - "role": "presentation" + "path": "src/composables/sidebarTabs/useJobHistorySidebarTab.ts" }, { - "path": "src/composables/queue/**", - "role": "application" + "path": "src/composables/useReconnectQueueRefresh.ts" }, { - "path": "src/composables/queue/jobTabs.ts", - "role": "domain" + "path": "src/platform/remote/comfyui/jobs/**" }, { - "path": "src/composables/sidebarTabs/useJobHistorySidebarTab.ts", - "role": "integration" + "path": "src/platform/remote/comfyui/useQueuePolling.ts" }, { - "path": "src/composables/useReconnectQueueRefresh.ts", - "role": "application" + "path": "src/platform/workflow/cloud/**" }, { - "path": "src/platform/remote/comfyui/jobs/**", - "role": "infrastructure" + "path": "src/services/autoQueueService.ts" }, { - "path": "src/platform/remote/comfyui/useQueuePolling.ts", - "role": "application" + "path": "src/services/jobOutputCache.ts" }, { - "path": "src/platform/workflow/cloud/**", - "role": "infrastructure" + "path": "src/stores/queueSettingsStore.ts" }, { - "path": "src/services/autoQueueService.ts", - "role": "application" + "path": "src/stores/queueStore.ts" }, { - "path": "src/services/jobOutputCache.ts", - "role": "infrastructure" + "path": "src/stores/resultItemParsing.ts" }, { - "path": "src/stores/queueSettingsStore.ts", - "role": "application" + "path": "src/storybook/mocks/useJobList.ts" }, { - "path": "src/stores/queueStore.ts", - "role": "application" + "path": "src/types/queue.ts" }, { - "path": "src/stores/resultItemParsing.ts", - "role": "domain" + "path": "src/utils/queueDisplay.ts" }, { - "path": "src/storybook/mocks/useJobList.ts", - "role": "application" + "path": "src/utils/queueUtil.ts" }, { - "path": "src/types/queue.ts", - "role": "domain" + "path": "src/utils/resultItem.ts" }, { - "path": "src/utils/queueDisplay.ts", - "role": "domain" + "path": "src/utils/resultItemUrl.ts" }, { - "path": "src/utils/queueUtil.ts", - "role": "domain" + "path": "packages/api-client/src/fetchJobs.ts" }, { - "path": "src/utils/resultItem.ts", - "role": "domain" + "path": "packages/api-client/src/__mocks__/fetchJobs.ts" }, { - "path": "src/utils/resultItemUrl.ts", - "role": "domain" - }, - { - "path": "packages/api-client/src/fetchJobs.ts", - "role": "infrastructure" - }, - { - "path": "packages/api-client/src/__mocks__/fetchJobs.ts", - "role": "infrastructure" - }, - { - "path": "packages/api-client/src/jobTypes.ts", - "role": "domain" + "path": "packages/api-client/src/jobTypes.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["keybindings"], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Jobs client fetches queue, history pages, details, and assets with schema validation", @@ -180,7 +143,7 @@ "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", "useQueueStore and useQueueSettingsStore keep their store ids and exports because assets, linear mode, the action bar, auto-queue, and extensions read them.", - "The queue store depending on execution and node-output stores, job menus calling workflowService, litegraph, and dialog services, presentation components reading asset, command, and sidebar stores, and the dialog launcher that loads presentation remain visible as coupling and role-boundary debt; classification does not grant dependency exceptions." + "The queue store depending on execution and node-output stores, job menus calling workflowService, litegraph, and dialog services, presentation components reading asset, command, and sidebar stores, and the dialog launcher that loads presentation remain untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/keybindings.domain.json b/docs/architecture/domains/records/keybindings.domain.json index da711c74232..e96a825b3b4 100644 --- a/docs/architecture/domains/records/keybindings.domain.json +++ b/docs/architecture/domains/records/keybindings.domain.json @@ -4,76 +4,20 @@ "description": "Command registration and execution, key combo and keybinding models, core default bindings, reserved-key policy, the keybinding store, global keydown dispatch to commands, Escape override registry, keybinding presets with import and export, the keybinding settings panel and edit dialogs, and the bottom-panel shortcuts reference. Settings persistence, dialogs, and the bottom panel itself remain external.", "modules": [ { - "path": "src/platform/keybindings/**", - "role": "application" + "path": "src/platform/keybindings/**" }, { - "path": "src/platform/keybindings/components/**", - "role": "presentation" + "path": "src/utils/modalUtil.ts" }, { - "path": "src/platform/keybindings/composables/useEditKeybindingDialog.ts", - "role": "presentation" - }, - { - "path": "src/platform/keybindings/composables/useShortcutsTab.ts", - "role": "integration" - }, - { - "path": "src/platform/keybindings/defaults.ts", - "role": "domain" - }, - { - "path": "src/platform/keybindings/keyCombo.test.ts", - "role": "domain" - }, - { - "path": "src/utils/modalUtil.ts", - "role": "domain" - }, - { - "path": "packages/keybindings/src/**", - "role": "domain" - }, - { - "path": "packages/keybindings/src/commandStore.ts", - "role": "application" - }, - { - "path": "packages/keybindings/src/keybindingStore.ts", - "role": "application" + "path": "packages/keybindings/src/**" } ], "publicEntryPoints": [ + "src/platform/keybindings/canvasActionShortcuts.ts", "src/platform/keybindings/composables/useShortcutsTab.ts", "src/platform/keybindings/commandStore.ts" ], - "allowedDependencies": ["design-system", "error-handling"], - "allowedConsumers": [ - "agent", - "app-host", - "authentication", - "billing", - "bottom-panel", - "canvas-renderer", - "dialog-host", - "extension-manager", - "extension-runtime", - "first-run-tour", - "help-center", - "job-queue", - "linear-mode", - "minimap", - "node-library", - "release-notes", - "selection-toolbox", - "settings", - "subgraphs", - "workbench-shell", - "workflow-errors", - "workflow-management", - "workflow-persistence" - ], "characterizationScenarios": [ { "name": "Key combos parse keyboard events and respect reserved keys", @@ -117,13 +61,17 @@ "src/platform/keybindings/commandStore.test.ts", "browser_tests/tests/commands.spec.ts" ] + }, + { + "name": "Canvas action shortcuts stay bound, so a reply naming one resolves to a real key", + "checks": ["src/platform/keybindings/canvasActionShortcuts.test.ts"] } ], "adrs": [], "compatibilityPromises": [ "Unclassified callers may import keybinding internals during inventory; imports from classified domains remain subject to cross-domain rules.", "Extension-registered keybindings and the Comfy.Keybinding.* settings keep their stored shape.", - "presetService opening presentation dialogs and reaching scripts/api directly, and keybindingService reading settings and dialog stores, remain visible as role-boundary debt; classification does not grant dependency exceptions." + "presetService opening presentation dialogs and reaching scripts/api directly, and keybindingService reading settings and dialog stores, remain untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/light-authoring.domain.json b/docs/architecture/domains/records/light-authoring.domain.json index 223b58ed4ca..f9ddbcc78f2 100644 --- a/docs/architecture/domains/records/light-authoring.domain.json +++ b/docs/architecture/domains/records/light-authoring.domain.json @@ -4,33 +4,25 @@ "description": "CreateLightInfo node viewport: light entry types and value normalization, light-to-orbit transforms, Three.js light overlays and viewport, the useLightInfo widget-state composable, Vue editor widgets, and extension registration. CameraInfo handles and orbit math, the shared Three.js renderer, Load3D viewport factory, load3d components, and viewport node wiring remain external host dependencies.", "modules": [ { - "path": "src/extensions/core/load3d/components/lightInfo/**", - "role": "presentation" + "path": "src/extensions/core/load3d/components/lightInfo/**" }, { - "path": "src/extensions/core/load3d/composables/useLightInfo.ts", - "role": "application" + "path": "src/extensions/core/load3d/composables/useLightInfo.ts" }, { - "path": "src/extensions/core/load3d/lightInfo.ts", - "role": "integration" + "path": "src/extensions/core/load3d/lightInfo.ts" }, { - "path": "src/lib/litegraph/src/widgets/LightInfoWidget.ts", - "role": "integration" + "path": "src/lib/litegraph/src/widgets/LightInfoWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useLightInfoWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useLightInfoWidget.ts" }, { - "path": "packages/viewport3d/src/lightInfo/**", - "role": "application" + "path": "packages/viewport3d/src/lightInfo/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Light values normalize and light positions convert to and from orbit state", diff --git a/docs/architecture/domains/records/linear-mode.domain.json b/docs/architecture/domains/records/linear-mode.domain.json index b7592d7aca4..3630d82e9f6 100644 --- a/docs/architecture/domains/records/linear-mode.domain.json +++ b/docs/architecture/domains/records/linear-mode.domain.json @@ -4,65 +4,28 @@ "description": "App-mode workflow execution: state, the LinearView host, input and output presentation, run controls, history, and previews. Builder authoring belongs to app-builder.", "modules": [ { - "path": "src/components/appMode/**", - "role": "presentation" + "path": "src/components/appMode/**" }, { - "path": "src/composables/__mocks__/useAppMode.ts", - "role": "application" + "path": "src/composables/__mocks__/useAppMode.ts" }, { - "path": "src/composables/useAppMode.ts", - "role": "application" + "path": "src/composables/useAppMode.ts" }, { - "path": "src/renderer/extensions/linearMode/**", - "role": "presentation" + "path": "src/renderer/extensions/linearMode/**" }, { - "path": "src/renderer/extensions/linearMode/flattenNodeOutput.ts", - "role": "domain" + "path": "src/stores/appModeStore.ts" }, { - "path": "src/renderer/extensions/linearMode/getExecutionStatusMessage.ts", - "role": "application" + "path": "src/utils/appMode.ts" }, { - "path": "src/renderer/extensions/linearMode/linearModeTypes.ts", - "role": "domain" - }, - { - "path": "src/renderer/extensions/linearMode/linearOutputStore.ts", - "role": "application" - }, - { - "path": "src/renderer/extensions/linearMode/linearRunErrorWarningIds.ts", - "role": "domain" - }, - { - "path": "src/renderer/extensions/linearMode/useExecutionStatus.ts", - "role": "application" - }, - { - "path": "src/renderer/extensions/linearMode/useOutputHistory.ts", - "role": "application" - }, - { - "path": "src/stores/appModeStore.ts", - "role": "application" - }, - { - "path": "src/utils/appMode.ts", - "role": "domain" - }, - { - "path": "src/views/LinearView.vue", - "role": "presentation" + "path": "src/views/LinearView.vue" } ], "publicEntryPoints": [], - "allowedDependencies": ["keybindings"], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Run controls, progress, and run errors preserve app-mode execution", diff --git a/docs/architecture/domains/records/link-connection.domain.json b/docs/architecture/domains/records/link-connection.domain.json index 818cf667559..78dd8621104 100644 --- a/docs/architecture/domains/records/link-connection.domain.json +++ b/docs/architecture/domains/records/link-connection.domain.json @@ -4,73 +4,55 @@ "description": "Dragging, moving, and dropping links between node slots, reroutes, and subgraph IO nodes through LinkConnector and its render-link strategies. Both the LiteGraph canvas and Vue-node slot interactions drive this controller.", "modules": [ { - "path": "src/extensions/core/slotDefaultTypes.ts", - "role": "domain" + "path": "src/extensions/core/slotDefaultTypes.ts" }, { - "path": "src/extensions/core/slotDefaults.ts", - "role": "integration" + "path": "src/extensions/core/slotDefaults.ts" }, { - "path": "src/lib/litegraph/src/canvas/FloatingRenderLink.ts", - "role": "application" + "path": "src/lib/litegraph/src/canvas/FloatingRenderLink.ts" }, { - "path": "src/lib/litegraph/src/canvas/LinkConnector.ts", - "role": "application" + "path": "src/lib/litegraph/src/canvas/LinkConnector.ts" }, { - "path": "src/lib/litegraph/src/canvas/LinkConnectorSubgraphInputValidation.test.ts", - "role": "application" + "path": "src/lib/litegraph/src/canvas/LinkConnectorSubgraphInputValidation.test.ts" }, { - "path": "src/lib/litegraph/src/canvas/MovingInputLink.ts", - "role": "application" + "path": "src/lib/litegraph/src/canvas/MovingInputLink.ts" }, { - "path": "src/lib/litegraph/src/canvas/MovingLinkBase.ts", - "role": "application" + "path": "src/lib/litegraph/src/canvas/MovingLinkBase.ts" }, { - "path": "src/lib/litegraph/src/canvas/MovingOutputLink.ts", - "role": "application" + "path": "src/lib/litegraph/src/canvas/MovingOutputLink.ts" }, { - "path": "src/lib/litegraph/src/canvas/RenderLink.ts", - "role": "domain" + "path": "src/lib/litegraph/src/canvas/RenderLink.ts" }, { - "path": "src/lib/litegraph/src/canvas/ToInputFromIoNodeLink.ts", - "role": "application" + "path": "src/lib/litegraph/src/canvas/ToInputFromIoNodeLink.ts" }, { - "path": "src/lib/litegraph/src/canvas/ToInputRenderLink.ts", - "role": "application" + "path": "src/lib/litegraph/src/canvas/ToInputRenderLink.ts" }, { - "path": "src/lib/litegraph/src/canvas/ToOutputFromIoNodeLink.ts", - "role": "application" + "path": "src/lib/litegraph/src/canvas/ToOutputFromIoNodeLink.ts" }, { - "path": "src/lib/litegraph/src/canvas/ToOutputFromRerouteLink.ts", - "role": "application" + "path": "src/lib/litegraph/src/canvas/ToOutputFromRerouteLink.ts" }, { - "path": "src/lib/litegraph/src/canvas/ToOutputRenderLink.ts", - "role": "application" + "path": "src/lib/litegraph/src/canvas/ToOutputRenderLink.ts" }, { - "path": "src/lib/litegraph/src/infrastructure/LinkConnectorEventMap.ts", - "role": "domain" + "path": "src/lib/litegraph/src/infrastructure/LinkConnectorEventMap.ts" }, { - "path": "packages/settings-core/src/searchBoxTypes.ts", - "role": "domain" + "path": "packages/settings-core/src/searchBoxTypes.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Dragging and dropping links connects compatible slots and rejects invalid targets", diff --git a/docs/architecture/domains/records/link-presentation.domain.json b/docs/architecture/domains/records/link-presentation.domain.json index 5195dd8c58c..f45264ebe22 100644 --- a/docs/architecture/domains/records/link-presentation.domain.json +++ b/docs/architecture/domains/records/link-presentation.domain.json @@ -4,37 +4,28 @@ "description": "Per-link hidden state and labels in the link presentation store, reveal state, badge layout and drawing, and transfer of presentation when links are replaced.", "modules": [ { - "path": "src/core/graph/transferLinkPresentation.ts", - "role": "application" + "path": "src/core/graph/transferLinkPresentation.ts" }, { - "path": "src/lib/litegraph/src/canvas/linkBadgeRenderer.ts", - "role": "presentation" + "path": "src/lib/litegraph/src/canvas/linkBadgeRenderer.ts" }, { - "path": "src/lib/litegraph/src/canvas/linkBadges.ts", - "role": "presentation" + "path": "src/lib/litegraph/src/canvas/linkBadges.ts" }, { - "path": "src/lib/litegraph/src/canvas/linkGeometry.ts", - "role": "domain" + "path": "src/lib/litegraph/src/canvas/linkGeometry.ts" }, { - "path": "src/lib/litegraph/src/canvas/linkRevealState.ts", - "role": "domain" + "path": "src/lib/litegraph/src/canvas/linkRevealState.ts" }, { - "path": "src/lib/litegraph/src/canvas/linkVisibility.ts", - "role": "application" + "path": "src/lib/litegraph/src/canvas/linkVisibility.ts" }, { - "path": "src/stores/linkPresentationStore.ts", - "role": "application" + "path": "src/stores/linkPresentationStore.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Link visibility and reveal state follow user toggles", diff --git a/docs/architecture/domains/records/litegraph-api.domain.json b/docs/architecture/domains/records/litegraph-api.domain.json index bcd2d4ce7ee..4a727913e39 100644 --- a/docs/architecture/domains/records/litegraph-api.domain.json +++ b/docs/architecture/domains/records/litegraph-api.domain.json @@ -4,33 +4,25 @@ "description": "The LiteGraph barrel and global singleton that custom nodes and extensions consume: node type registration and creation, global configuration, late-bound instance access, deprecation feedback, and canvas polyfills.", "modules": [ { - "path": "src/composables/useGlobalLitegraph.ts", - "role": "integration" + "path": "src/composables/useGlobalLitegraph.ts" }, { - "path": "src/lib/litegraph/src/LiteGraphGlobal.ts", - "role": "integration" + "path": "src/lib/litegraph/src/LiteGraphGlobal.ts" }, { - "path": "src/lib/litegraph/src/litegraph.ts", - "role": "integration" + "path": "src/lib/litegraph/src/litegraph.ts" }, { - "path": "src/lib/litegraph/src/litegraphInstance.ts", - "role": "infrastructure" + "path": "src/lib/litegraph/src/litegraphInstance.ts" }, { - "path": "src/lib/litegraph/src/polyfills.ts", - "role": "infrastructure" + "path": "src/lib/litegraph/src/polyfills.ts" }, { - "path": "src/lib/litegraph/src/utils/feedback.ts", - "role": "infrastructure" + "path": "src/lib/litegraph/src/utils/feedback.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "The LiteGraph barrel exposes the supported extension API", diff --git a/docs/architecture/domains/records/markdown-rendering.domain.json b/docs/architecture/domains/records/markdown-rendering.domain.json index 5182fc14c71..bdfdd368cbf 100644 --- a/docs/architecture/domains/records/markdown-rendering.domain.json +++ b/docs/architecture/domains/records/markdown-rendering.domain.json @@ -4,13 +4,10 @@ "description": "Shared technical module, not a business domain. Renders Markdown to sanitized HTML with link and media handling for note nodes, text output previews, release notes, node help, node previews, and agent replies. The note-nodes and text-output-preview records explicitly leave shared Markdown rendering outside their capability; this record is that owner.", "modules": [ { - "path": "src/utils/markdownRendererUtil.ts", - "role": "infrastructure" + "path": "src/utils/markdownRendererUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Markdown renders to sanitized HTML with safe links and media", diff --git a/docs/architecture/domains/records/mask-editor.domain.json b/docs/architecture/domains/records/mask-editor.domain.json index 2521f7de995..9b4e954904a 100644 --- a/docs/architecture/domains/records/mask-editor.domain.json +++ b/docs/architecture/domains/records/mask-editor.domain.json @@ -4,45 +4,36 @@ "description": "Mask editing UI, host adapters (loader, saver, image widget, dialog, brush persistence), and the core extension contract. The @comfyorg/mask-editor package holds the stroke, GPU, pan/zoom, canvas-history and tool-manager engine.", "modules": [ { - "path": "src/extensions/core/clipspace.ts", - "role": "integration" + "path": "src/extensions/core/clipspace.ts" }, { - "path": "src/extensions/core/maskeditor.ts", - "role": "integration" + "path": "src/extensions/core/maskeditor.ts" }, { - "path": "src/renderer/extensions/maskEditor/components/**", - "role": "presentation" + "path": "src/renderer/extensions/maskEditor/**" }, { - "path": "src/renderer/extensions/maskEditor/composables/**", - "role": "application" + "path": "src/scripts/clipspace.ts" }, { - "path": "src/renderer/extensions/maskEditor/stores/**", - "role": "application" + "path": "src/utils/__fixtures__/**" }, { - "path": "src/scripts/clipspace.ts", - "role": "application" + "path": "src/utils/pngEncodeUtil.ts" }, { - "path": "src/utils/__fixtures__/**", - "role": "infrastructure" - }, - { - "path": "src/utils/pngEncodeUtil.ts", - "role": "infrastructure" - }, - { - "path": "packages/mask-editor/src/**", - "role": "application" + "path": "packages/mask-editor/src/**" } ], - "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], + "publicEntryPoints": [ + "src/extensions/core/clipspace.ts", + "src/extensions/core/maskeditor.ts", + "src/renderer/extensions/maskEditor/composables/useMaskEditor.ts", + "src/scripts/clipspace.ts", + "packages/mask-editor/src/brushUtils.ts", + "packages/mask-editor/src/maskEditorStore.ts", + "packages/mask-editor/src/StrokeProcessor.ts" + ], "characterizationScenarios": [ { "name": "Drawing operations preserve brush and canvas-history behavior", @@ -61,6 +52,26 @@ { "name": "Mask PNG encoding round-trips through the decoder fixture", "checks": ["src/utils/pngEncodeUtil.test.ts"] + }, + { + "name": "Core extensions register the clipspace and mask editor and open the editor from node menus", + "checks": [ + "src/extensions/core/index.test.ts", + "src/extensions/core/maskeditor.test.ts", + "src/renderer/extensions/maskEditor/composables/useMaskEditor.test.ts" + ] + }, + { + "name": "Clipspace copies and pastes node images", + "checks": ["src/scripts/clipspace.test.ts"] + }, + { + "name": "The stroke engine and editor store keep their contract for the painter and undo commands", + "checks": [ + "packages/mask-editor/src/StrokeProcessor.test.ts", + "packages/mask-editor/src/brushUtils.test.ts", + "packages/mask-editor/src/maskEditorStore.test.ts" + ] } ], "adrs": [], diff --git a/docs/architecture/domains/records/media-lightbox.domain.json b/docs/architecture/domains/records/media-lightbox.domain.json index a8a7fe4f9e2..3562aa98111 100644 --- a/docs/architecture/domains/records/media-lightbox.domain.json +++ b/docs/architecture/domains/records/media-lightbox.domain.json @@ -4,13 +4,10 @@ "description": "The full-screen lightbox that browses result items from jobs, assets, and agent replies, with image, video, audio, and text result viewers. Job, asset, and agent stores remain with their records.", "modules": [ { - "path": "src/components/sidebar/tabs/queue/**", - "role": "presentation" + "path": "src/components/sidebar/tabs/queue/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Media lightbox navigates result items and renders each media type", diff --git a/docs/architecture/domains/records/media-loading.domain.json b/docs/architecture/domains/records/media-loading.domain.json index f0709e1f901..ccf38cc7dc0 100644 --- a/docs/architecture/domains/records/media-loading.domain.json +++ b/docs/architecture/domains/records/media-loading.domain.json @@ -4,21 +4,16 @@ "description": "Shared technical module for temporary media upload, retryable media URLs, and fetching text preview content. Playback, editing, asset records, and feature-specific upload controls remain separate.", "modules": [ { - "path": "src/composables/media/**", - "role": "application" + "path": "src/composables/media/**" }, { - "path": "src/composables/useTextFileContent.ts", - "role": "application" + "path": "src/composables/useTextFileContent.ts" }, { - "path": "src/services/uploadTempFile.ts", - "role": "application" + "path": "src/services/uploadTempFile.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Shared media loading preserves its existing behavior", diff --git a/docs/architecture/domains/records/media-metadata.domain.json b/docs/architecture/domains/records/media-metadata.domain.json index d3693b36a71..c5256f14826 100644 --- a/docs/architecture/domains/records/media-metadata.domain.json +++ b/docs/architecture/domains/records/media-metadata.domain.json @@ -4,25 +4,16 @@ "description": "Shared technical module, not a business domain. Readers that extract embedded ComfyUI workflow and prompt metadata from dropped or opened files: PNG, WebP, AVIF, FLAC, MP3, OGG/Opus, WebM/EBML, MP4/ISOBMFF, GLTF, PLY, SVG, and JSON, the file-type dispatcher, the metadata tag and range types, latent file metadata, and the A1111 parameters importer. Deciding what to do with an extracted workflow belongs to the extension runtime and workflow records.", "modules": [ { - "path": "src/scripts/metadata/**", - "role": "infrastructure" + "path": "src/scripts/metadata/**" }, { - "path": "src/scripts/metadata/parser.ts", - "role": "application" + "path": "src/scripts/pnginfo.ts" }, { - "path": "src/scripts/pnginfo.ts", - "role": "integration" - }, - { - "path": "src/types/metadataTypes.ts", - "role": "domain" + "path": "src/types/metadataTypes.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Image containers yield embedded workflow and prompt text and tolerate reader failures", diff --git a/docs/architecture/domains/records/minimap.domain.json b/docs/architecture/domains/records/minimap.domain.json index dc2f096590c..f64d62f838a 100644 --- a/docs/architecture/domains/records/minimap.domain.json +++ b/docs/architecture/domains/records/minimap.domain.json @@ -4,33 +4,13 @@ "description": "Graph overview rendering, viewport navigation, settings, redraw scheduling, and the shared minimap decoration registry. Canvas stores remain external.", "modules": [ { - "path": "src/platform/canvas/**", - "role": "infrastructure" + "path": "src/platform/canvas/**" }, { - "path": "src/renderer/extensions/minimap/**", - "role": "infrastructure" - }, - { - "path": "src/renderer/extensions/minimap/MiniMap.vue", - "role": "presentation" - }, - { - "path": "src/renderer/extensions/minimap/MiniMapPanel.vue", - "role": "presentation" - }, - { - "path": "src/renderer/extensions/minimap/composables/**", - "role": "application" - }, - { - "path": "src/renderer/extensions/minimap/types.ts", - "role": "domain" + "path": "src/renderer/extensions/minimap/**" } ], "publicEntryPoints": [], - "allowedDependencies": ["keybindings"], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Viewport navigation and settings preserve minimap interaction", diff --git a/docs/architecture/domains/records/missing-media.domain.json b/docs/architecture/domains/records/missing-media.domain.json index 32770cef06b..3f4c5e592f3 100644 --- a/docs/architecture/domains/records/missing-media.domain.json +++ b/docs/architecture/domains/records/missing-media.domain.json @@ -4,25 +4,10 @@ "description": "Scans loaded workflows (including promoted subgraph widgets) for image, video, and audio inputs whose files are not available, verifies candidates against assets, stores per-workflow results, and renders the missing-media error card.", "modules": [ { - "path": "src/platform/workflowErrors/missingMedia/**", - "role": "application" - }, - { - "path": "src/platform/workflowErrors/missingMedia/components/**", - "role": "presentation" - }, - { - "path": "src/platform/workflowErrors/missingMedia/missingMediaGrouping.ts", - "role": "domain" - }, - { - "path": "src/platform/workflowErrors/missingMedia/types.ts", - "role": "domain" + "path": "src/platform/workflowErrors/missingMedia/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Missing media scan finds and verifies unavailable media inputs, including promoted widgets", @@ -50,7 +35,7 @@ "adrs": [], "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", - "The missing-media scan and store keep reading litegraph, node definitions, assets, canvas, and workflow stores; that coupling remains visible and classification does not grant dependency exceptions." + "The missing-media scan and store keep reading litegraph, node definitions, assets, canvas, and workflow stores; that coupling remains untracked debt, and classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/missing-models.domain.json b/docs/architecture/domains/records/missing-models.domain.json index 0a4c428302b..0456634fe57 100644 --- a/docs/architecture/domains/records/missing-models.domain.json +++ b/docs/architecture/domains/records/missing-models.domain.json @@ -4,53 +4,40 @@ "description": "Scans workflows for model files that are not installed, verifies them against assets, groups and stores results, fetches model metadata, dispatches downloads (browser, desktop, or model library), and renders the missing-model card and rows.", "modules": [ { - "path": "src/platform/workflowErrors/missingModel/components/**", - "role": "presentation" + "path": "src/platform/workflowErrors/missingModel/components/**" }, { - "path": "src/platform/workflowErrors/missingModel/composables/**", - "role": "application" + "path": "src/platform/workflowErrors/missingModel/composables/**" }, { - "path": "src/platform/workflowErrors/missingModel/folderPathCache.ts", - "role": "infrastructure" + "path": "src/platform/workflowErrors/missingModel/folderPathCache.ts" }, { - "path": "src/platform/workflowErrors/missingModel/missingModelDownload.ts", - "role": "application" + "path": "src/platform/workflowErrors/missingModel/missingModelDownload.ts" }, { - "path": "src/platform/workflowErrors/missingModel/missingModelGrouping.ts", - "role": "domain" + "path": "src/platform/workflowErrors/missingModel/missingModelGrouping.ts" }, { - "path": "src/platform/workflowErrors/missingModel/missingModelMetadata.ts", - "role": "application" + "path": "src/platform/workflowErrors/missingModel/missingModelMetadata.ts" }, { - "path": "src/platform/workflowErrors/missingModel/missingModelPipeline.ts", - "role": "application" + "path": "src/platform/workflowErrors/missingModel/missingModelPipeline.ts" }, { - "path": "src/platform/workflowErrors/missingModel/missingModelScan.ts", - "role": "application" + "path": "src/platform/workflowErrors/missingModel/missingModelScan.ts" }, { - "path": "src/platform/workflowErrors/missingModel/missingModelStore.ts", - "role": "application" + "path": "src/platform/workflowErrors/missingModel/missingModelStore.ts" }, { - "path": "src/platform/workflowErrors/missingModel/missingModelViewUtils.ts", - "role": "domain" + "path": "src/platform/workflowErrors/missingModel/missingModelViewUtils.ts" }, { - "path": "src/platform/workflowErrors/missingModel/types.ts", - "role": "domain" + "path": "src/platform/workflowErrors/missingModel/types.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Missing model scan finds, verifies, and groups models absent from the installation", @@ -77,7 +64,7 @@ "adrs": [], "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", - "missingModelDownload mixes metadata fetching with download dispatch through electron and sidebar stores; that mix and the pure grouping and view helpers importing from application modules remain visible as role-boundary debt; classification does not grant dependency exceptions." + "missingModelDownload mixes metadata fetching with download dispatch through electron and sidebar stores; that mix and the pure grouping and view helpers importing from application modules remain untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/model-3d.domain.json b/docs/architecture/domains/records/model-3d.domain.json index 2d53e5de0af..97b9dd6bac4 100644 --- a/docs/architecture/domains/records/model-3d.domain.json +++ b/docs/architecture/domains/records/model-3d.domain.json @@ -4,81 +4,61 @@ "description": "Load3D, Preview3D, and Save mesh model viewing: model loading and format adapters, animation, gizmo, HDRI, recording, export, node configuration and serialization, viewer dialog, and node widget presentation. The shared three.js viewport (camera, controls, events, lighting, scene, view helper, render loop, context-menu guard, viewport sizing, shared interfaces), ViewportWidgetShell, menu bar styles, useViewportNodeWiring, and camera or light authoring nodes remain outside this capability.", "modules": [ { - "path": "src/extensions/core/load3d/components/**", - "role": "presentation" + "path": "src/extensions/core/load3d/components/**" }, { - "path": "src/extensions/core/load3d/components/modelThumbnail.ts", - "role": "application" + "path": "src/extensions/core/load3d/components/modelThumbnail.ts" }, { - "path": "src/extensions/core/load3d/composables/useLoad3d.ts", - "role": "application" + "path": "src/extensions/core/load3d/composables/useLoad3d.ts" }, { - "path": "src/extensions/core/load3d/composables/useLoad3dDrag.ts", - "role": "application" + "path": "src/extensions/core/load3d/composables/useLoad3dDrag.ts" }, { - "path": "src/extensions/core/load3d/composables/useLoad3dViewer.ts", - "role": "application" + "path": "src/extensions/core/load3d/composables/useLoad3dViewer.ts" }, { - "path": "src/extensions/core/load3d/load3d.ts", - "role": "integration" + "path": "src/extensions/core/load3d/load3d.ts" }, { - "path": "src/extensions/core/load3d/Load3DConfiguration.ts", - "role": "integration" + "path": "src/extensions/core/load3d/Load3DConfiguration.ts" }, { - "path": "src/extensions/core/load3d/Load3dUtils.ts", - "role": "infrastructure" + "path": "src/extensions/core/load3d/Load3dUtils.ts" }, { - "path": "src/extensions/core/load3d/exportMenuHelper.ts", - "role": "integration" + "path": "src/extensions/core/load3d/exportMenuHelper.ts" }, { - "path": "src/extensions/core/load3d/load3dSerialize.ts", - "role": "integration" + "path": "src/extensions/core/load3d/load3dSerialize.ts" }, { - "path": "src/extensions/core/load3d/model3dOutput.ts", - "role": "domain" + "path": "src/extensions/core/load3d/model3dOutput.ts" }, { - "path": "src/extensions/core/load3d/nodeTypes.ts", - "role": "domain" + "path": "src/extensions/core/load3d/nodeTypes.ts" }, { - "path": "src/extensions/core/load3d/load3dAdvanced.ts", - "role": "integration" + "path": "src/extensions/core/load3d/load3dAdvanced.ts" }, { - "path": "src/extensions/core/load3d/load3dLazy.ts", - "role": "integration" + "path": "src/extensions/core/load3d/load3dLazy.ts" }, { - "path": "src/extensions/core/load3d/load3dPreviewExtensions.ts", - "role": "integration" + "path": "src/extensions/core/load3d/load3dPreviewExtensions.ts" }, { - "path": "src/extensions/core/load3d/saveMesh.ts", - "role": "integration" + "path": "src/extensions/core/load3d/saveMesh.ts" }, { - "path": "src/extensions/core/load3d/services/load3dService.ts", - "role": "application" + "path": "src/extensions/core/load3d/services/load3dService.ts" }, { - "path": "packages/viewport3d/src/load3d/**", - "role": "application" + "path": "packages/viewport3d/src/load3d/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Model loading, adapters, and export preserve supported formats and scene state", diff --git a/docs/architecture/domains/records/model-library.domain.json b/docs/architecture/domains/records/model-library.domain.json index 4f3b5a1b4ce..00d7955ddfd 100644 --- a/docs/architecture/domains/records/model-library.domain.json +++ b/docs/architecture/domains/records/model-library.domain.json @@ -4,37 +4,28 @@ "description": "Backend model folders, metadata, previews, loader-node mapping, desktop download tracking, and the model library sidebar. Asset-backed browsing and missing-model scans remain separate.", "modules": [ { - "path": "src/components/sidebar/tabs/ModelLibrarySidebarTab.vue", - "role": "presentation" + "path": "src/components/sidebar/tabs/ModelLibrarySidebarTab.vue" }, { - "path": "src/components/sidebar/tabs/modelLibrary/**", - "role": "presentation" + "path": "src/components/sidebar/tabs/modelLibrary/**" }, { - "path": "src/components/widget/SampleModelSelector.vue", - "role": "presentation" + "path": "src/components/widget/SampleModelSelector.vue" }, { - "path": "src/composables/useModelSelectorDialog.ts", - "role": "application" + "path": "src/composables/useModelSelectorDialog.ts" }, { - "path": "src/stores/electronDownloadStore.ts", - "role": "integration" + "path": "src/stores/electronDownloadStore.ts" }, { - "path": "src/stores/modelStore.ts", - "role": "application" + "path": "src/stores/modelStore.ts" }, { - "path": "src/stores/modelToNodeStore.ts", - "role": "application" + "path": "src/stores/modelToNodeStore.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Model library tab browses model folders and shows desktop download progress", diff --git a/docs/architecture/domains/records/navigation.domain.json b/docs/architecture/domains/records/navigation.domain.json index c3a26007d76..a6e5734518f 100644 --- a/docs/architecture/domains/records/navigation.domain.json +++ b/docs/architecture/domains/records/navigation.domain.json @@ -4,25 +4,10 @@ "description": "Router-level navigation helpers installed from router.ts: query parameters preserved across redirects by namespace (session-storage backed, with a router guard), and the redirect of unmatched paths to root with a bounded warning report. Combined because both are router guards installed at the same seam with no other owner.", "modules": [ { - "path": "src/platform/navigation/**", - "role": "domain" - }, - { - "path": "src/platform/navigation/preservedQueryManager.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/navigation/preservedQueryTracker.ts", - "role": "integration" - }, - { - "path": "src/platform/navigation/unmatchedRoute.ts", - "role": "application" + "path": "src/platform/navigation/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Preserved query parameters survive redirects and are merged back by namespace", @@ -41,7 +26,7 @@ "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", "Preserved-query namespaces and the Comfy.PreservedQuery session-storage prefix keep their names because auth, workspace, and settings URL loaders read them.", - "preservedQueryDefinitions typing against the tracker remains visible as role-boundary debt; classification does not grant dependency exceptions." + "preservedQueryDefinitions typing against the tracker remains untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/node-badges.domain.json b/docs/architecture/domains/records/node-badges.domain.json index 3d6fde04d75..715a0d2a821 100644 --- a/docs/architecture/domains/records/node-badges.domain.json +++ b/docs/architecture/domains/records/node-badges.domain.json @@ -4,25 +4,19 @@ "description": "Node badge bootstrap and API-node pricing: installing badge derivation as the legacy canvas row source, redrawing when badge settings or pricing change, evaluating per-node API pricing from node definitions and widget values, and parity between legacy canvas and Vue node badge rendering. The badge system under src/systems, badge drawing in LiteGraph, and Vue badge partitioning stay with their owners.", "modules": [ { - "path": "src/composables/node/badgeRendererParity.test.ts", - "role": "integration" + "path": "src/composables/node/badgeRendererParity.test.ts" }, { - "path": "src/composables/node/useNodeBadge.ts", - "role": "integration" + "path": "src/composables/node/useNodeBadge.ts" }, { - "path": "src/composables/node/useNodePricing.ts", - "role": "application" + "path": "src/composables/node/useNodePricing.ts" }, { - "path": "packages/shared-frontend-utils/src/nodePricing.ts", - "role": "domain" + "path": "packages/shared-frontend-utils/src/nodePricing.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Badge bootstrap installs once and redraws on settings and pricing changes", diff --git a/docs/architecture/domains/records/node-definition.domain.json b/docs/architecture/domains/records/node-definition.domain.json index a47248dbd85..c117f4ec4af 100644 --- a/docs/architecture/domains/records/node-definition.domain.json +++ b/docs/architecture/domains/records/node-definition.domain.json @@ -1,57 +1,50 @@ { "id": "node-definition", "capability": "Node definition contracts (shared technical module)", - "description": "Shared technical module, not a business domain. The node definition contract read from /object_info: the @comfyorg/object-info-parser V1 schemas, node source classifier, and pack grouping helpers with their re-export, the V2 schema and V1-to-V2 migration, input spec tree diagnostics and flattening, searchable slot type collection, node source classification, upload input augmentation, input ordering for widget values, node help base URLs, and the essentials node list. The node definition store, node library and search UI, and widget constructors that consume these contracts belong to their own records.", + "description": "Shared technical module, not a business domain. App-side node definition contracts read from /object_info. @comfyorg/object-info-parser owns the V1 and V2 schemas, V1-to-V2 migration, the node source classifier and pack grouping helpers, and the input spec interpreter, including flattening and searchable slot type collection. This record holds the app's interpreter binding that reports input spec diagnostics, upload input augmentation, input ordering for widget values, node help base URLs, and the essentials node list. The node definition store, node library and search UI, and widget constructors that consume these contracts belong to their own records.", "modules": [ { - "path": "src/constants/essentialsNodes.ts", - "role": "domain" + "path": "src/constants/essentialsNodes.ts" }, { - "path": "src/schemas/**", - "role": "domain" + "path": "src/core/graph/nodeDef/inputSpecInterpreter.ts" }, { - "path": "src/types/nodeDefAugmentation.ts", - "role": "domain" + "path": "src/types/nodeDefAugmentation.ts" }, { - "path": "src/types/nodeSource.ts", - "role": "domain" + "path": "src/types/nodeSource.ts" }, { - "path": "src/workbench/utils/**", - "role": "domain" + "path": "src/workbench/utils/**" }, { - "path": "packages/object-info-parser/src/**", - "role": "domain" + "path": "packages/object-info-parser/src/**" } ], - "publicEntryPoints": ["src/schemas/nodeDef/nodeDefSchemaV2.ts"], - "allowedDependencies": ["extension-manager"], - "allowedConsumers": ["graph-model"], + "publicEntryPoints": [], "characterizationScenarios": [ { "name": "V1 node definitions migrate to V2 and input spec trees report diagnostics within bounds", "checks": [ - "src/schemas/nodeDef/migration.test.ts", - "src/schemas/nodeDef/inputSpecTree.test.ts", - "src/schemas/nodeDef/inputSpecTree.cap.test.ts" + "packages/object-info-parser/src/__tests__/migration.test.ts", + "src/core/graph/nodeDef/inputSpecInterpreter.test.ts", + "src/core/graph/nodeDef/inputSpecInterpreter.cap.test.ts", + "packages/object-info-parser/src/__tests__/inputSpecInterpreter.test.ts" ] }, { "name": "Input specs flatten, searchable slot types are collected, and widget values follow input order", "checks": [ - "src/schemas/nodeDef/inputSpecUtil.test.ts", - "src/schemas/nodeDef/searchableSlotTypes.test.ts", + "packages/object-info-parser/src/__tests__/flattenInputSpecs.test.ts", + "packages/object-info-parser/src/__tests__/searchableSlotTypes.test.ts", "src/workbench/utils/nodeDefOrderingUtil.test.ts" ] } ], "adrs": [], "compatibilityPromises": [ - "Inventory preserves existing exports and runtime behavior. nodeDefSchemaV2 is the only public entry point and graph-model its only approved consumer; other cross-module imports remain inherited debt." + "Inventory preserves existing exports and runtime behavior. The domain has no public entry point." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/node-library.domain.json b/docs/architecture/domains/records/node-library.domain.json index fda3877550f..7354e8752a1 100644 --- a/docs/architecture/domains/records/node-library.domain.json +++ b/docs/architecture/domains/records/node-library.domain.json @@ -4,189 +4,142 @@ "description": "Node definition catalog, search, grouping, sorting, bookmarks, help content, previews, drag-to-canvas, and the node library and search interfaces. Wire schemas and LiteGraph node registration remain separate.", "modules": [ { - "path": "src/components/common/ColorCustomizationSelector.vue", - "role": "presentation" + "path": "src/components/common/ColorCustomizationSelector.vue" }, { - "path": "src/components/common/CustomizationDialog.vue", - "role": "presentation" + "path": "src/components/common/CustomizationDialog.vue" }, { - "path": "src/components/common/SearchFilterChip.vue", - "role": "presentation" + "path": "src/components/common/SearchFilterChip.vue" }, { - "path": "src/components/common/TreeExplorer.vue", - "role": "presentation" + "path": "src/components/common/TreeExplorer.vue" }, { - "path": "src/components/common/TreeExplorerTreeNode.vue", - "role": "presentation" + "path": "src/components/common/TreeExplorerTreeNode.vue" }, { - "path": "src/components/common/TreeExplorerV2.vue", - "role": "presentation" + "path": "src/components/common/TreeExplorerV2.vue" }, { - "path": "src/components/common/TreeExplorerV2Node.vue", - "role": "presentation" + "path": "src/components/common/TreeExplorerV2Node.vue" }, { - "path": "src/components/graph/NodeDragPreview.vue", - "role": "presentation" + "path": "src/components/graph/NodeDragPreview.vue" }, { - "path": "src/components/node/**", - "role": "presentation" + "path": "src/components/node/**" }, { - "path": "src/components/searchbox/NodeSearchBox.vue", - "role": "presentation" + "path": "src/components/searchbox/NodeSearchBox.vue" }, { - "path": "src/components/searchbox/NodeSearchBoxPopover.vue", - "role": "presentation" + "path": "src/components/searchbox/NodeSearchBoxPopover.vue" }, { - "path": "src/components/searchbox/NodeSearchFilter.vue", - "role": "presentation" + "path": "src/components/searchbox/NodeSearchFilter.vue" }, { - "path": "src/components/searchbox/NodeSearchItem.vue", - "role": "presentation" + "path": "src/components/searchbox/NodeSearchItem.vue" }, { - "path": "src/components/searchbox/v2/NodeSearchCategorySidebar.vue", - "role": "presentation" + "path": "src/components/searchbox/v2/NodeSearchCategorySidebar.vue" }, { - "path": "src/components/searchbox/v2/NodeSearchCategoryTreeNode.vue", - "role": "presentation" + "path": "src/components/searchbox/v2/NodeSearchCategoryTreeNode.vue" }, { - "path": "src/components/searchbox/v2/NodeSearchContent.vue", - "role": "presentation" + "path": "src/components/searchbox/v2/NodeSearchContent.vue" }, { - "path": "src/components/searchbox/v2/NodeSearchFilterBar.vue", - "role": "presentation" + "path": "src/components/searchbox/v2/NodeSearchFilterBar.vue" }, { - "path": "src/components/searchbox/v2/NodeSearchInput.vue", - "role": "presentation" + "path": "src/components/searchbox/v2/NodeSearchInput.vue" }, { - "path": "src/components/searchbox/v2/NodeSearchListItem.vue", - "role": "presentation" + "path": "src/components/searchbox/v2/NodeSearchListItem.vue" }, { - "path": "src/components/searchbox/v2/NodeSearchTypeFilterPopover.vue", - "role": "presentation" + "path": "src/components/searchbox/v2/NodeSearchTypeFilterPopover.vue" }, { - "path": "src/components/searchbox/v2/__test__/**", - "role": "presentation" + "path": "src/components/searchbox/v2/__test__/**" }, { - "path": "src/components/searchbox/v2/rootCategories.ts", - "role": "domain" + "path": "src/components/searchbox/v2/rootCategories.ts" }, { - "path": "src/components/sidebar/tabs/NodeLibrarySidebarTab.vue", - "role": "presentation" + "path": "src/components/sidebar/tabs/NodeLibrarySidebarTab.vue" }, { - "path": "src/components/sidebar/tabs/NodeLibrarySidebarTabV2.vue", - "role": "presentation" + "path": "src/components/sidebar/tabs/NodeLibrarySidebarTabV2.vue" }, { - "path": "src/components/sidebar/tabs/nodeLibrary/**", - "role": "presentation" + "path": "src/components/sidebar/tabs/nodeLibrary/**" }, { - "path": "src/composables/node/__mocks__/**", - "role": "integration" + "path": "src/composables/node/__mocks__/**" }, { - "path": "src/composables/node/startModelNodeDragFromAsset.ts", - "role": "integration" + "path": "src/composables/node/startModelNodeDragFromAsset.ts" }, { - "path": "src/composables/node/useNodeDragToCanvas.ts", - "role": "integration" + "path": "src/composables/node/useNodeDragToCanvas.ts" }, { - "path": "src/composables/node/useNodePreviewAndDrag.ts", - "role": "integration" + "path": "src/composables/node/useNodePreviewAndDrag.ts" }, { - "path": "src/composables/sidebarTabs/useNodeLibrarySidebarTab.ts", - "role": "integration" + "path": "src/composables/sidebarTabs/useNodeLibrarySidebarTab.ts" }, { - "path": "src/composables/useCanvasDrop.ts", - "role": "integration" + "path": "src/composables/useCanvasDrop.ts" }, { - "path": "src/composables/useEssentialTileNodeDef.ts", - "role": "application" + "path": "src/composables/useEssentialTileNodeDef.ts" }, { - "path": "src/composables/useNodeHelpContent.ts", - "role": "application" + "path": "src/composables/useNodeHelpContent.ts" }, { - "path": "src/composables/usePerTabState.ts", - "role": "application" + "path": "src/composables/usePerTabState.ts" }, { - "path": "src/services/nodeHelpService.ts", - "role": "infrastructure" + "path": "src/services/nodeHelpService.ts" }, { - "path": "src/services/nodeOrganizationService.ts", - "role": "application" + "path": "src/services/nodeOrganizationService.ts" }, { - "path": "src/services/nodeSearchService.ts", - "role": "application" + "path": "src/services/nodeSearchService.ts" }, { - "path": "src/stores/nodeBookmarkStore.ts", - "role": "application" + "path": "src/stores/nodeBookmarkStore.ts" }, { - "path": "src/stores/nodeDefStore.ts", - "role": "application" + "path": "src/stores/nodeDefStore.ts" }, { - "path": "src/stores/workspace/**", - "role": "application" + "path": "src/stores/workspace/**" }, { - "path": "src/types/nodeOrganizationTypes.ts", - "role": "domain" + "path": "src/types/nodeOrganizationTypes.ts" }, { - "path": "src/types/treeExplorerTypes.ts", - "role": "domain" + "path": "src/types/treeExplorerTypes.ts" }, { - "path": "src/utils/categoryUtil.ts", - "role": "domain" + "path": "src/utils/categoryUtil.ts" }, { - "path": "src/utils/fuseUtil.ts", - "role": "domain" + "path": "src/utils/fuseUtil.ts" }, { - "path": "src/utils/nodeTitleUtil.ts", - "role": "presentation" + "path": "src/utils/nodeTitleUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["extension-manager", "keybindings", "telemetry"], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Node library tabs browse node definitions, essentials, and bookmarks", diff --git a/docs/architecture/domains/records/node-replacement.domain.json b/docs/architecture/domains/records/node-replacement.domain.json index 08d8aeb63d9..684ee5a64f1 100644 --- a/docs/architecture/domains/records/node-replacement.domain.json +++ b/docs/architecture/domains/records/node-replacement.domain.json @@ -4,29 +4,10 @@ "description": "Detects node types missing from the registry, records them per workflow, fetches server-provided node replacements, and swaps missing nodes for their replacements while preserving links and widget values. Detection and replacement are one record because the scan classifies missing nodes by replaceability and replacement clears the missing-node state it resolves.", "modules": [ { - "path": "src/platform/workflowErrors/nodeReplacement/**", - "role": "application" - }, - { - "path": "src/platform/workflowErrors/nodeReplacement/cnrIdUtil.ts", - "role": "domain" - }, - { - "path": "src/platform/workflowErrors/nodeReplacement/components/**", - "role": "presentation" - }, - { - "path": "src/platform/workflowErrors/nodeReplacement/nodeReplacementService.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/workflowErrors/nodeReplacement/types.ts", - "role": "domain" + "path": "src/platform/workflowErrors/nodeReplacement/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": ["telemetry"], "characterizationScenarios": [ { "name": "Missing nodes are scanned, recorded, and matched to available replacements", @@ -51,7 +32,7 @@ "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", "MissingNodeType remains importable by telemetry, error-catalog, and missing-model code during inventory.", - "useNodeReplacement mutating LGraph, the link store, and app state directly, and the swap components typing against rightSidePanel error groups, remain visible as coupling debt; classification does not grant dependency exceptions." + "useNodeReplacement mutating LGraph, the link store, and app state directly, and the swap components typing against rightSidePanel error groups, remain untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/node-templates.domain.json b/docs/architecture/domains/records/node-templates.domain.json index db8fa4311e1..53fe4280e0a 100644 --- a/docs/architecture/domains/records/node-templates.domain.json +++ b/docs/architecture/domains/records/node-templates.domain.json @@ -4,13 +4,10 @@ "description": "Saving canvas selections as reusable node templates, inserting them from the canvas menu, and managing, importing, and exporting them through the legacy dialog. Workflow templates are a separate capability.", "modules": [ { - "path": "src/extensions/core/nodeTemplates.ts", - "role": "integration" + "path": "src/extensions/core/nodeTemplates.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Saving, inserting, deleting, importing, and exporting preserve node template persistence", diff --git a/docs/architecture/domains/records/node-type-registration.domain.json b/docs/architecture/domains/records/node-type-registration.domain.json index 589f1e11e88..d9ff96e4338 100644 --- a/docs/architecture/domains/records/node-type-registration.domain.json +++ b/docs/architecture/domains/records/node-type-registration.domain.json @@ -4,21 +4,16 @@ "description": "Turning node definitions into LiteGraph node types: litegraphService registers node and subgraph definitions with inputs, outputs, widgets, size, context menu, key and background handlers, and image previews, adds nodes to the graph, and offers canvas centering and node focus; subgraphService loads and registers subgraph definitions from workflows. LiteGraph itself, the node definition catalog, and widget constructors remain external.", "modules": [ { - "path": "src/services/__mocks__/litegraphService.ts", - "role": "integration" + "path": "src/services/__mocks__/litegraphService.ts" }, { - "path": "src/services/litegraphService.ts", - "role": "integration" + "path": "src/services/litegraphService.ts" }, { - "path": "src/services/subgraphService.ts", - "role": "integration" + "path": "src/services/subgraphService.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Registering node definitions creates LiteGraph node types with inputs, outputs, widgets, and previews", diff --git a/docs/architecture/domains/records/node-widgets.domain.json b/docs/architecture/domains/records/node-widgets.domain.json index c9387ad7c86..68fb70e1ff2 100644 --- a/docs/architecture/domains/records/node-widgets.domain.json +++ b/docs/architecture/domains/records/node-widgets.domain.json @@ -4,153 +4,112 @@ "description": "The legacy LiteGraph widget layer for generic widget kinds, the widget type contracts, the node.widgets compatibility view over the widget value store, value-control and dynamic input widgets, and named-value diffing. Feature-specific Vue-only widget stubs belong to their feature domains; Vue widget components belong to the renderer.", "modules": [ { - "path": "src/composables/node/useWatchWidget.ts", - "role": "application" + "path": "src/composables/node/useWatchWidget.ts" }, { - "path": "src/core/graph/widgets/__fixtures__/**", - "role": "integration" + "path": "src/core/graph/widgets/__fixtures__/**" }, { - "path": "src/core/graph/widgets/comboWidgetInventory.ts", - "role": "domain" + "path": "src/core/graph/widgets/comboWidgetInventory.ts" }, { - "path": "src/core/graph/widgets/controlWidgetMarker.ts", - "role": "domain" + "path": "src/core/graph/widgets/controlWidgetMarker.ts" }, { - "path": "src/core/graph/widgets/dynamicGroupWidget.ts", - "role": "application" + "path": "src/core/graph/widgets/dynamicGroupWidget.ts" }, { - "path": "src/core/graph/widgets/dynamicInputSpec.ts", - "role": "domain" + "path": "src/core/graph/widgets/dynamicInputSpec.ts" }, { - "path": "src/core/graph/widgets/dynamicWidgets.ts", - "role": "application" + "path": "src/core/graph/widgets/dynamicWidgets.ts" }, { - "path": "src/core/graph/widgets/matchTypeConfiguring.test.ts", - "role": "application" + "path": "src/core/graph/widgets/matchTypeConfiguring.test.ts" }, { - "path": "src/core/graph/widgets/matchTypeFallback.test.ts", - "role": "application" + "path": "src/core/graph/widgets/matchTypeFallback.test.ts" }, { - "path": "src/core/graph/widgets/nodeWidgetValues.ts", - "role": "application" + "path": "src/core/graph/widgets/nodeWidgetValues.ts" }, { - "path": "src/core/graph/widgets/revealDynamicInputSlot.ts", - "role": "domain" + "path": "src/core/graph/widgets/revealDynamicInputSlot.ts" }, { - "path": "src/core/graph/widgets/valueControl.ts", - "role": "domain" + "path": "src/core/graph/widgets/valueControl.ts" }, { - "path": "src/core/graph/widgets/valueControlWidgets.ts", - "role": "application" + "path": "src/core/graph/widgets/valueControlWidgets.ts" }, { - "path": "src/extensions/core/customWidgets.ts", - "role": "integration" + "path": "src/extensions/core/customWidgets.ts" }, { - "path": "src/extensions/core/saveImageExtraOutput.ts", - "role": "integration" + "path": "src/extensions/core/saveImageExtraOutput.ts" }, { - "path": "src/extensions/core/widgetInputs.ts", - "role": "integration" + "path": "src/extensions/core/widgetInputs.ts" }, { - "path": "src/extensions/core/widgetValuePropagation.ts", - "role": "application" + "path": "src/extensions/core/widgetValuePropagation.ts" }, { - "path": "src/lib/litegraph/src/CurveEditor.ts", - "role": "presentation" + "path": "src/lib/litegraph/src/CurveEditor.ts" }, { - "path": "src/lib/litegraph/src/node/widgetsView.ts", - "role": "infrastructure" + "path": "src/lib/litegraph/src/node/widgetsView.ts" }, { - "path": "src/lib/litegraph/src/utils/mathParser.ts", - "role": "domain" + "path": "src/lib/litegraph/src/utils/mathParser.ts" }, { - "path": "src/lib/litegraph/src/utils/namedValuesShadowDiff.ts", - "role": "domain" + "path": "src/lib/litegraph/src/utils/namedValuesShadowDiff.ts" }, { - "path": "src/lib/litegraph/src/utils/namedValuesShadowDiffTelemetry.ts", - "role": "infrastructure" + "path": "src/lib/litegraph/src/utils/namedValuesShadowDiffTelemetry.ts" }, { - "path": "src/lib/litegraph/src/utils/restoredWidgetValue.ts", - "role": "domain" + "path": "src/lib/litegraph/src/utils/restoredWidgetValue.ts" }, { - "path": "src/lib/litegraph/src/utils/widget.ts", - "role": "application" + "path": "src/lib/litegraph/src/utils/widget.ts" }, { - "path": "src/lib/litegraph/src/widgetConnectionSuppression.test.ts", - "role": "domain" + "path": "src/lib/litegraph/src/widgetConnectionSuppression.test.ts" }, { - "path": "src/lib/litegraph/src/widgetValueNullContract.test.ts", - "role": "domain" + "path": "src/lib/litegraph/src/widgetValueNullContract.test.ts" }, { - "path": "src/lib/litegraph/src/widgets/**", - "role": "presentation" + "path": "src/lib/litegraph/src/widgets/**" }, { - "path": "src/lib/litegraph/src/widgets/widgetMap.ts", - "role": "integration" + "path": "src/stores/widgetValueStore.ts" }, { - "path": "src/stores/widgetValueStore.ts", - "role": "application" + "path": "src/types/widgetId.test.ts" }, { - "path": "src/types/widgetId.test.ts", - "role": "domain" + "path": "src/types/widgetState.ts" }, { - "path": "src/types/widgetState.ts", - "role": "domain" + "path": "src/types/widgetVisibility.ts" }, { - "path": "src/types/widgetVisibility.ts", - "role": "domain" + "path": "src/utils/nodeDefUtil.ts" }, { - "path": "src/utils/nodeDefUtil.ts", - "role": "domain" + "path": "src/utils/searchAndReplace.ts" }, { - "path": "src/utils/searchAndReplace.ts", - "role": "domain" + "path": "src/utils/widgetBinding.ts" }, { - "path": "src/utils/widgetBinding.ts", - "role": "domain" - }, - { - "path": "src/utils/widgetUtil.ts", - "role": "application" + "path": "src/utils/widgetUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["error-reporting"], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Legacy canvas widgets render and respond to input for each generic kind", diff --git a/docs/architecture/domains/records/note-nodes.domain.json b/docs/architecture/domains/records/note-nodes.domain.json index fe363bddd38..5d0de4b8f01 100644 --- a/docs/architecture/domains/records/note-nodes.domain.json +++ b/docs/architecture/domains/records/note-nodes.domain.json @@ -4,25 +4,19 @@ "description": "Plain-text and Markdown workflow annotations, their node registration, editable Markdown widget, and LiteGraph widget adapters. Shared Markdown rendering and sanitization remain outside this capability.", "modules": [ { - "path": "src/extensions/core/noteNode.ts", - "role": "integration" + "path": "src/extensions/core/noteNode.ts" }, { - "path": "src/lib/litegraph/src/widgets/MarkdownWidget.ts", - "role": "integration" + "path": "src/lib/litegraph/src/widgets/MarkdownWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/components/WidgetMarkdown.vue", - "role": "presentation" + "path": "src/renderer/extensions/vueNodes/widgets/components/WidgetMarkdown.vue" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useMarkdownWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useMarkdownWidget.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Markdown widgets render, edit, and synchronize annotation values", diff --git a/docs/architecture/domains/records/numeric-geometry.domain.json b/docs/architecture/domains/records/numeric-geometry.domain.json index 1c9caeb3541..54e6ee55647 100644 --- a/docs/architecture/domains/records/numeric-geometry.domain.json +++ b/docs/architecture/domains/records/numeric-geometry.domain.json @@ -4,13 +4,10 @@ "description": "Shared technical module for arithmetic normalization, wrapping, GCD and LCM, rectangle clipping, union bounds, and overlap calculations. Geometry and scalar arithmetic share one existing file; classification preserves that mixed responsibility for later review.", "modules": [ { - "path": "src/utils/mathUtil.ts", - "role": "domain" + "path": "src/utils/mathUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Numeric and rectangle operations preserves its existing behavior", diff --git a/docs/architecture/domains/records/onboarding-tours.domain.json b/docs/architecture/domains/records/onboarding-tours.domain.json index 8beb8075068..c437f595f1e 100644 --- a/docs/architecture/domains/records/onboarding-tours.domain.json +++ b/docs/architecture/domains/records/onboarding-tours.domain.json @@ -4,49 +4,10 @@ "description": "In-app coachmark tours for the first-run and app-mode entry paths: tour definitions and the pure tour reducer, the tour and overlay stores, coachmark target registration and the v-coachmark directive, spotlight and card layout, landing dialog, replay and reset of onboarding state. Cloud sign-up onboarding and the onboarding survey belong to the cloud record.", "modules": [ { - "path": "src/platform/onboarding/**", - "role": "presentation" - }, - { - "path": "src/platform/onboarding/coachmarkRegistry.ts", - "role": "application" - }, - { - "path": "src/platform/onboarding/fixtures/**", - "role": "application" - }, - { - "path": "src/platform/onboarding/onboardingOverlayStore.ts", - "role": "application" - }, - { - "path": "src/platform/onboarding/onboardingReplay.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/onboarding/onboardingReset.ts", - "role": "application" - }, - { - "path": "src/platform/onboarding/onboardingTourStore.ts", - "role": "application" - }, - { - "path": "src/platform/onboarding/onboardingTours.ts", - "role": "domain" - }, - { - "path": "src/platform/onboarding/tourState.ts", - "role": "domain" - }, - { - "path": "src/platform/onboarding/useTourTriggers.ts", - "role": "application" + "path": "src/platform/onboarding/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Tour reducer and store start, advance, skip, and finish tours per entry path", @@ -91,7 +52,7 @@ "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", "TOUR_SEEN_SETTING and the replay session-storage key keep their persisted names.", - "The release-notes store reading the tour and overlay stores to defer popups, and onboardingReset calling the backend through scripts/api and the auth store, remain visible as coupling debt; classification does not grant dependency exceptions." + "The release-notes store reading the tour and overlay stores to defer popups, and onboardingReset calling the backend through scripts/api and the auth store, remain untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/painter.domain.json b/docs/architecture/domains/records/painter.domain.json index b8cb73e4138..8e22565af3e 100644 --- a/docs/architecture/domains/records/painter.domain.json +++ b/docs/architecture/domains/records/painter.domain.json @@ -4,29 +4,24 @@ "description": "Painter presentation, drawing behavior, Vue-node adaptation, extension registration, and LiteGraph widget integration.", "modules": [ { - "path": "src/renderer/extensions/painter/components/**", - "role": "presentation" + "path": "src/renderer/extensions/painter/**" }, { - "path": "src/renderer/extensions/painter/composables/**", - "role": "application" + "path": "src/extensions/core/painter.ts" }, { - "path": "src/extensions/core/painter.ts", - "role": "integration" + "path": "src/lib/litegraph/src/widgets/PainterWidget.ts" }, { - "path": "src/lib/litegraph/src/widgets/PainterWidget.ts", - "role": "integration" - }, - { - "path": "src/renderer/extensions/vueNodes/widgets/composables/usePainterWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/usePainterWidget.ts" } ], - "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], + "publicEntryPoints": [ + "src/extensions/core/painter.ts", + "src/lib/litegraph/src/widgets/PainterWidget.ts", + "src/renderer/extensions/painter/components/WidgetPainter.vue", + "src/renderer/extensions/vueNodes/widgets/composables/usePainterWidget.ts" + ], "characterizationScenarios": [ { "name": "Painter settings, canvas sizing, input image, and mask serialization preserve widget behavior", @@ -34,6 +29,13 @@ "src/renderer/extensions/painter/components/WidgetPainter.test.ts", "src/renderer/extensions/painter/composables/usePainter.test.ts" ] + }, + { + "name": "Core extensions register the painter, and the painter widget renders on node bodies only", + "checks": [ + "src/extensions/core/index.test.ts", + "src/renderer/extensions/vueNodes/widgets/composables/richWidgetPanelVisibility.test.ts" + ] } ], "adrs": [], diff --git a/docs/architecture/domains/records/prompt-authoring.domain.json b/docs/architecture/domains/records/prompt-authoring.domain.json index 4a2db744df8..1954d47f1ed 100644 --- a/docs/architecture/domains/records/prompt-authoring.domain.json +++ b/docs/architecture/domains/records/prompt-authoring.domain.json @@ -4,21 +4,13 @@ "description": "Dynamic prompt expansion at serialization and keyboard editing of prompt attention weights. The shared formatUtil module remains outside this capability because it also implements unrelated formatting.", "modules": [ { - "path": "src/extensions/core/dynamicPrompts.test.ts", - "role": "domain" + "path": "src/extensions/core/dynamicPrompts.ts" }, { - "path": "src/extensions/core/dynamicPrompts.ts", - "role": "integration" - }, - { - "path": "src/extensions/core/editAttention.ts", - "role": "integration" + "path": "src/extensions/core/editAttention.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Dynamic prompt parsing expands alternatives and strips comments", diff --git a/docs/architecture/domains/records/properties-panel.domain.json b/docs/architecture/domains/records/properties-panel.domain.json index 48e8378fbfe..8ff506fde83 100644 --- a/docs/architecture/domains/records/properties-panel.domain.json +++ b/docs/architecture/domains/records/properties-panel.domain.json @@ -4,33 +4,19 @@ "description": "Right-side properties panel state and presentation: selected-node targeting, favorited widgets, parameters, node settings, hierarchy, and node information. Workflow errors and subgraph promotion remain separate.", "modules": [ { - "path": "src/components/rightSidePanel/**", - "role": "presentation" + "path": "src/components/rightSidePanel/**" }, { - "path": "src/components/rightSidePanel/rightSidePanelTabTelemetry.ts", - "role": "application" + "path": "src/composables/graph/useGraphHierarchy.ts" }, { - "path": "src/components/rightSidePanel/shared.ts", - "role": "application" + "path": "src/stores/workspace/favoritedWidgetsStore.ts" }, { - "path": "src/composables/graph/useGraphHierarchy.ts", - "role": "application" - }, - { - "path": "src/stores/workspace/favoritedWidgetsStore.ts", - "role": "application" - }, - { - "path": "src/stores/workspace/rightSidePanelStore.ts", - "role": "application" + "path": "src/stores/workspace/rightSidePanelStore.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": ["selection-toolbox"], "characterizationScenarios": [ { "name": "Panel routes between tabs for the current selection and reports tab telemetry", diff --git a/docs/architecture/domains/records/release-notes.domain.json b/docs/architecture/domains/records/release-notes.domain.json index 08fb9cf269c..71d90f20d6d 100644 --- a/docs/architecture/domains/records/release-notes.domain.json +++ b/docs/architecture/domains/records/release-notes.domain.json @@ -4,21 +4,16 @@ "description": "Release-note feed client, the release store that compares the feed against the running ComfyUI version, and the release notification toast and What's New popup.", "modules": [ { - "path": "src/platform/updates/**", - "role": "presentation" + "path": "src/platform/updates/**" }, { - "path": "src/platform/updates/common/releaseService.ts", - "role": "infrastructure" + "path": "src/platform/updates/common/releaseService.ts" }, { - "path": "src/platform/updates/common/releaseStore.ts", - "role": "application" + "path": "src/platform/updates/common/releaseStore.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["keybindings"], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Release store fetches the feed and decides when to surface new-release UI", @@ -42,7 +37,7 @@ "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", "Release seen and dismissed setting ids keep their persisted names.", - "releaseStore deferring to the onboarding tour and overlay stores and reading system stats remains visible as cross-domain coupling; classification does not grant dependency exceptions." + "releaseStore deferring to the onboarding tour and overlay stores and reading system stats remains untracked cross-domain coupling; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/remote-config.domain.json b/docs/architecture/domains/records/remote-config.domain.json index de7926e6741..d5e8c941b6e 100644 --- a/docs/architecture/domains/records/remote-config.domain.json +++ b/docs/architecture/domains/records/remote-config.domain.json @@ -4,48 +4,28 @@ "description": "Server feature configuration from /features: the reactive remote config state and cached flags, server feature flag names, config types, and the bounded refresh that reloads config on sign-in and session changes.", "modules": [ { - "path": "src/composables/__mocks__/useFeatureFlags.ts", - "role": "application" + "path": "src/composables/__mocks__/useFeatureFlags.ts" }, { - "path": "src/composables/useFeatureFlags.ts", - "role": "application" + "path": "src/composables/useFeatureFlags.ts" }, { - "path": "src/platform/remoteConfig/**", - "role": "application" + "path": "src/platform/remoteConfig/**" }, { - "path": "src/platform/remoteConfig/refreshRemoteConfig.ts", - "role": "infrastructure" + "path": "src/storybook/mocks/useFeatureFlags.ts" }, { - "path": "src/platform/remoteConfig/serverFeatureFlag.ts", - "role": "domain" + "path": "src/utils/devFeatureFlagOverride.ts" }, { - "path": "src/platform/remoteConfig/types.ts", - "role": "domain" - }, - { - "path": "src/storybook/mocks/useFeatureFlags.ts", - "role": "application" - }, - { - "path": "src/utils/devFeatureFlagOverride.ts", - "role": "infrastructure" - }, - { - "path": "src/utils/sessionFeatureFlagOverride.ts", - "role": "infrastructure" + "path": "src/utils/sessionFeatureFlagOverride.ts" } ], "publicEntryPoints": [ "src/utils/devFeatureFlagOverride.ts", "src/utils/sessionFeatureFlagOverride.ts" ], - "allowedDependencies": [], - "allowedConsumers": ["extension-runtime", "telemetry"], "characterizationScenarios": [ { "name": "Remote config refresh loads /features with a bounded wait and records load state", @@ -68,7 +48,7 @@ "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", "remoteConfig refs and cached localStorage flags keep their names because feature-flag, billing, auth, and agent code read them.", - "RemoteConfig typing against telemetry event names remains visible as cross-domain coupling; classification does not grant dependency exceptions." + "RemoteConfig typing against telemetry event names remains untracked cross-domain coupling; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/runtime-guards.domain.json b/docs/architecture/domains/records/runtime-guards.domain.json index bcf7c4b4a75..8b1640c15d4 100644 --- a/docs/architecture/domains/records/runtime-guards.domain.json +++ b/docs/architecture/domains/records/runtime-guards.domain.json @@ -4,13 +4,10 @@ "description": "Shared technical module for runtime narrowing of abort errors, nullable values, graph entities, slots, and result-item variants. The combined file imports types from multiple modules and remains an extraction candidate.", "modules": [ { - "path": "src/utils/typeGuardUtil.ts", - "role": "domain" + "path": "src/utils/typeGuardUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": ["error-reporting"], "characterizationScenarios": [ { "name": "Runtime type guards preserves its existing behavior", diff --git a/docs/architecture/domains/records/secrets.domain.json b/docs/architecture/domains/records/secrets.domain.json index 4b22a6ffdf2..c15cb58384d 100644 --- a/docs/architecture/domains/records/secrets.domain.json +++ b/docs/architecture/domains/records/secrets.domain.json @@ -4,25 +4,10 @@ "description": "Cloud user secrets (third-party API keys): secrets REST client and error codes, provider labels and logos, list and form composables, and the settings panel, list item, and form dialog.", "modules": [ { - "path": "src/platform/secrets/**", - "role": "domain" - }, - { - "path": "src/platform/secrets/api/**", - "role": "infrastructure" - }, - { - "path": "src/platform/secrets/components/**", - "role": "presentation" - }, - { - "path": "src/platform/secrets/composables/**", - "role": "application" + "path": "src/platform/secrets/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Secrets API lists, creates, updates, and deletes secrets and maps error codes", @@ -48,7 +33,7 @@ "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", "The settings dialog may keep mounting SecretsPanel directly during inventory.", - "secretsApi parsing errors through platform/remote and calling scripts/api remains visible as coupling; classification does not grant dependency exceptions." + "secretsApi parsing errors through platform/remote and calling scripts/api remains untracked coupling; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/selection-toolbox.domain.json b/docs/architecture/domains/records/selection-toolbox.domain.json index 285be469285..5b1b7355659 100644 --- a/docs/architecture/domains/records/selection-toolbox.domain.json +++ b/docs/architecture/domains/records/selection-toolbox.domain.json @@ -4,128 +4,82 @@ "description": "Canvas selection actions and their context menus: toolbox state and placement, node and group actions, arrangement, framing, deletion, and subgraph conversion. The selection store and graph mutations remain separate.", "modules": [ { - "path": "src/components/graph/NodeContextMenu.vue", - "role": "presentation" + "path": "src/components/graph/NodeContextMenu.vue" }, { - "path": "src/components/graph/SelectionToolbox.vue", - "role": "integration" + "path": "src/components/graph/SelectionToolbox.vue" }, { - "path": "src/components/graph/selectionToolbox/ArrangeButton.vue", - "role": "presentation" + "path": "src/components/graph/selectionToolbox/**" }, { - "path": "src/components/graph/selectionToolbox/ColorPickerButton.vue", - "role": "presentation" + "path": "src/composables/canvas/**" }, { - "path": "src/components/graph/selectionToolbox/ExecuteButton.vue", - "role": "presentation" + "path": "src/composables/graph/contextMenuConverter.ts" }, { - "path": "src/components/graph/selectionToolbox/ToolboxButton.vue", - "role": "presentation" + "path": "src/composables/graph/useArrangeNodes.ts" }, { - "path": "src/composables/canvas/**", - "role": "integration" + "path": "src/composables/graph/useArrangeSession.ts" }, { - "path": "src/composables/graph/contextMenuConverter.ts", - "role": "domain" + "path": "src/composables/graph/useCanvasRefresh.ts" }, { - "path": "src/composables/graph/useArrangeNodes.ts", - "role": "integration" + "path": "src/composables/graph/useFrameNodes.ts" }, { - "path": "src/composables/graph/useArrangeSession.ts", - "role": "integration" + "path": "src/composables/graph/useGroupContextMenu.ts" }, { - "path": "src/composables/graph/useCanvasRefresh.ts", - "role": "integration" + "path": "src/composables/graph/useGroupMenuOptions.ts" }, { - "path": "src/composables/graph/useFrameNodes.ts", - "role": "integration" + "path": "src/composables/graph/useImageMenuOptions.ts" }, { - "path": "src/composables/graph/useGroupContextMenu.ts", - "role": "integration" + "path": "src/composables/graph/useMoreOptionsMenu.ts" }, { - "path": "src/composables/graph/useGroupMenuOptions.ts", - "role": "integration" + "path": "src/composables/graph/useNodeArrangement.ts" }, { - "path": "src/composables/graph/useImageMenuOptions.ts", - "role": "integration" + "path": "src/composables/graph/useNodeCustomization.ts" }, { - "path": "src/composables/graph/useMoreOptionsMenu.ts", - "role": "integration" + "path": "src/composables/graph/useNodeMenuOptions.ts" }, { - "path": "src/composables/graph/useNodeArrangement.ts", - "role": "integration" + "path": "src/composables/graph/useSelectedNodeActions.ts" }, { - "path": "src/composables/graph/useNodeCustomization.ts", - "role": "integration" + "path": "src/composables/graph/useSelectionMenuOptions.ts" }, { - "path": "src/composables/graph/useNodeMenuOptions.ts", - "role": "integration" + "path": "src/composables/graph/useSelectionOperations.ts" }, { - "path": "src/composables/graph/useSelectedNodeActions.ts", - "role": "integration" + "path": "src/composables/graph/useSelectionState.ts" }, { - "path": "src/composables/graph/useSelectionMenuOptions.ts", - "role": "integration" + "path": "src/composables/graph/useSubgraphOperations.ts" }, { - "path": "src/composables/graph/useSelectionOperations.ts", - "role": "integration" + "path": "src/composables/useContextMenuTranslation.ts" }, { - "path": "src/composables/graph/useSelectionState.ts", - "role": "integration" + "path": "src/composables/useRefreshableSelection.ts" }, { - "path": "src/composables/graph/useSubgraphOperations.ts", - "role": "integration" + "path": "src/utils/coreMediaMenuActionUtils.ts" }, { - "path": "src/composables/useContextMenuTranslation.ts", - "role": "integration" - }, - { - "path": "src/composables/useRefreshableSelection.ts", - "role": "integration" - }, - { - "path": "src/utils/coreMediaMenuActionUtils.ts", - "role": "domain" - }, - { - "path": "src/utils/nodeFilterUtil.ts", - "role": "domain" + "path": "src/utils/nodeFilterUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [ - "app-host", - "canvas-renderer", - "keybindings", - "properties-panel", - "telemetry", - "test-support" - ], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Selection toolbox shows actions that apply to the current selection", diff --git a/docs/architecture/domains/records/server-facts.domain.json b/docs/architecture/domains/records/server-facts.domain.json index 3edd7ababbb..2489b53b84c 100644 --- a/docs/architecture/domains/records/server-facts.domain.json +++ b/docs/architecture/domains/records/server-facts.domain.json @@ -4,12 +4,10 @@ "description": "ServerFact carries server-provided gates, receiveServerFact constructs them, and narrowServerFact lets local state withhold a gate without granting it. pendingServerFact marks a client expression that stands in for a server fact until the referenced backend ticket ships it. The shared gate fixture checks that unrelated inputs cannot change a server fact.", "modules": [ { - "path": "src/platform/serverFacts/**", - "role": "domain" + "path": "src/platform/serverFacts/**" }, { - "path": "src/utils/__tests__/serverFactGate.ts", - "role": "domain" + "path": "src/utils/__tests__/serverFactGate.ts" } ], "publicEntryPoints": [ @@ -17,8 +15,6 @@ "src/platform/serverFacts/serverFact.ts", "src/utils/__tests__/serverFactGate.ts" ], - "allowedDependencies": [], - "allowedConsumers": ["account", "billing", "workspace"], "characterizationScenarios": [ { "name": "pendingServerFact returns its value and requires a backend ticket id", diff --git a/docs/architecture/domains/records/settings.domain.json b/docs/architecture/domains/records/settings.domain.json index 97189edff80..e342c1c9309 100644 --- a/docs/architecture/domains/records/settings.domain.json +++ b/docs/architecture/domains/records/settings.domain.json @@ -4,107 +4,55 @@ "description": "User setting definitions, persistence and migration, global settings API, search and dialog navigation, LiteGraph setting sync, and the legacy app.ui.settings dialog. Keybinding, about, credits, user, workspace, secrets, and skill panels remain separate capabilities.", "modules": [ { - "path": "src/components/common/BackgroundImageUpload.vue", - "role": "presentation" + "path": "src/components/common/BackgroundImageUpload.vue" }, { - "path": "src/components/common/FormColorPicker.vue", - "role": "presentation" + "path": "src/components/common/FormColorPicker.vue" }, { - "path": "src/components/common/FormImageUpload.vue", - "role": "presentation" + "path": "src/components/common/FormImageUpload.vue" }, { - "path": "src/components/common/FormItem.vue", - "role": "presentation" + "path": "src/components/common/FormItem.vue" }, { - "path": "src/components/common/FormNumberField.vue", - "role": "presentation" + "path": "src/components/common/FormNumberField.vue" }, { - "path": "src/components/common/FormRadioGroup.vue", - "role": "presentation" + "path": "src/components/common/FormRadioGroup.vue" }, { - "path": "src/components/dialog/content/setting/SettingItem.test.ts", - "role": "presentation" + "path": "src/components/dialog/content/setting/SettingItem.test.ts" }, { - "path": "src/components/sidebar/SidebarSettingsButton.vue", - "role": "presentation" + "path": "src/components/sidebar/SidebarSettingsButton.vue" }, { - "path": "src/constants/serverConfig.ts", - "role": "domain" + "path": "src/constants/serverConfig.ts" }, { - "path": "src/platform/settings/**", - "role": "application" + "path": "src/platform/settings/**" }, { - "path": "src/platform/settings/components/**", - "role": "presentation" + "path": "src/scripts/ui/settings.ts" }, { - "path": "src/platform/settings/composables/useLitegraphSettings.ts", - "role": "integration" + "path": "src/stores/serverConfigStore.ts" }, { - "path": "src/platform/settings/composables/useSettingUI.ts", - "role": "presentation" + "path": "src/types/serverArgs.ts" }, { - "path": "src/platform/settings/composables/useSettingsHeaderCollapse.ts", - "role": "presentation" + "path": "packages/settings-core/src/canvasNavigation.ts" }, { - "path": "src/platform/settings/composables/useSettingsUrlLoader.ts", - "role": "integration" + "path": "packages/settings-core/src/settingStore.ts" }, { - "path": "src/platform/settings/constants/agent.ts", - "role": "domain" - }, - { - "path": "src/platform/settings/globalSettingsApi.ts", - "role": "infrastructure" - }, - { - "path": "src/scripts/ui/settings.ts", - "role": "integration" - }, - { - "path": "src/stores/serverConfigStore.ts", - "role": "application" - }, - { - "path": "src/types/serverArgs.ts", - "role": "domain" - }, - { - "path": "packages/settings-core/src/canvasNavigation.ts", - "role": "domain" - }, - { - "path": "packages/settings-core/src/settingStore.ts", - "role": "application" - }, - { - "path": "packages/settings-core/src/types.ts", - "role": "domain" + "path": "packages/settings-core/src/types.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [ - "account", - "authentication", - "dialog-host", - "keybindings", - "telemetry" - ], - "allowedConsumers": ["agent"], "characterizationScenarios": [ { "name": "Setting store loads, validates, migrates, persists, and reports setting values", @@ -162,7 +110,7 @@ "Unclassified callers may import settings internals during inventory; imports from classified domains remain subject to cross-domain rules.", "The legacy ComfySettingsDialog behind app.ui.settings remains the extension-facing seam for addSetting, getSettingValue, setSettingValue, and per-setting change events.", "The agent consent setting id is classified here while its existing agent CODEOWNERS remain responsible for changes.", - "Application code that reaches the backend through scripts/api, and setting definitions that call stores or LiteGraph from onChange, remain visible as role-boundary debt; classification does not grant dependency exceptions." + "Application code that reaches the backend through scripts/api, and setting definitions that call stores or LiteGraph from onChange, remain untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/skill-packs.domain.json b/docs/architecture/domains/records/skill-packs.domain.json index 4b351bd69df..49fd6cdec0a 100644 --- a/docs/architecture/domains/records/skill-packs.domain.json +++ b/docs/architecture/domains/records/skill-packs.domain.json @@ -4,25 +4,10 @@ "description": "User-published agent skill packs: skills REST client and name and size validation, the skill packs store scoped to the current user and team workspace, list and publish composables, and the settings panel, list item, and form dialog. Agent composer skill selection remains in the agent capability.", "modules": [ { - "path": "src/platform/skills/**", - "role": "application" - }, - { - "path": "src/platform/skills/api/**", - "role": "infrastructure" - }, - { - "path": "src/platform/skills/components/**", - "role": "presentation" - }, - { - "path": "src/platform/skills/types.ts", - "role": "domain" + "path": "src/platform/skills/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Skills API lists, publishes, and deletes packs and the store scopes them to the active user and workspace", @@ -45,7 +30,7 @@ "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", "The settings dialog and agent surfaces may keep importing skill pack internals during inventory.", - "skillPacksStore reading the current user and team workspace store, and skillsApi calling scripts/api, remain visible as coupling; classification does not grant dependency exceptions." + "skillPacksStore reading the current user and team workspace store, and skillsApi calling scripts/api, remain untracked coupling; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/startup-tracing.domain.json b/docs/architecture/domains/records/startup-tracing.domain.json index 771f7fd0c84..6ea7c87fffc 100644 --- a/docs/architecture/domains/records/startup-tracing.domain.json +++ b/docs/architecture/domains/records/startup-tracing.domain.json @@ -4,17 +4,10 @@ "description": "Bootstrap phase tracer and performance marks that record named startup phases to the Performance API, Sentry breadcrumbs, Datadog RUM timings, and the bootstrap-complete telemetry event. Lab performance benchmarks live outside src.", "modules": [ { - "path": "src/platform/telemetry/perf/**", - "role": "application" - }, - { - "path": "src/platform/telemetry/perf/perfMark.ts", - "role": "infrastructure" + "path": "src/platform/telemetry/perf/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Bootstrap phases record marks, RUM timings, and one completion event per page load", diff --git a/docs/architecture/domains/records/subgraph-blueprints.domain.json b/docs/architecture/domains/records/subgraph-blueprints.domain.json index b1a0477da1a..1b8a5f6c969 100644 --- a/docs/architecture/domains/records/subgraph-blueprints.domain.json +++ b/docs/architecture/domains/records/subgraph-blueprints.domain.json @@ -4,13 +4,10 @@ "description": "Published subgraph blueprints: fetching user and global blueprints, exposing them as node definitions in the node library, publishing, editing, and deleting blueprints, and blueprint distribution filtering. Subgraph definitions and conversion belong to subgraphs.", "modules": [ { - "path": "src/stores/subgraphStore.ts", - "role": "application" + "path": "src/stores/subgraphStore.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Blueprints publish, list in the node library, edit, delete, and copy safely", diff --git a/docs/architecture/domains/records/subgraph-promotion.domain.json b/docs/architecture/domains/records/subgraph-promotion.domain.json index 6f43af41a1d..9676132a6b9 100644 --- a/docs/architecture/domains/records/subgraph-promotion.domain.json +++ b/docs/architecture/domains/records/subgraph-promotion.domain.json @@ -4,61 +4,28 @@ "description": "Promoting inner widgets and previews onto subgraph nodes: promotion and preview-exposure property schemas, concrete widget resolution, promoted input widgets and value controls, legacy proxy-widget migration, and promotion error reconciliation. Widget values stay in the widget value store outside this domain.", "modules": [ { - "path": "src/components/rightSidePanel/subgraph/**", - "role": "presentation" + "path": "src/components/rightSidePanel/subgraph/**" }, { - "path": "src/composables/node/usePromotedPreviews.ts", - "role": "application" + "path": "src/composables/node/usePromotedPreviews.ts" }, { - "path": "src/core/graph/subgraph/**", - "role": "domain" + "path": "src/core/graph/subgraph/**" }, { - "path": "src/core/graph/subgraph/adoptPromotedWidgetValue.ts", - "role": "application" + "path": "src/core/schemas/**" }, { - "path": "src/core/graph/subgraph/migration/**", - "role": "application" + "path": "src/lib/litegraph/src/subgraph/promotedWidgetStoreProjection.ts" }, { - "path": "src/core/graph/subgraph/promotedInputWidget.ts", - "role": "application" + "path": "src/services/subgraphPseudoWidgetCache.ts" }, { - "path": "src/core/graph/subgraph/promotedWidgetControl.ts", - "role": "application" - }, - { - "path": "src/core/graph/subgraph/promotionAfterReplacement.test.ts", - "role": "application" - }, - { - "path": "src/core/graph/subgraph/promotionUtils.ts", - "role": "application" - }, - { - "path": "src/core/schemas/**", - "role": "domain" - }, - { - "path": "src/lib/litegraph/src/subgraph/promotedWidgetStoreProjection.ts", - "role": "application" - }, - { - "path": "src/services/subgraphPseudoWidgetCache.ts", - "role": "application" - }, - { - "path": "src/stores/previewExposureStore.ts", - "role": "application" + "path": "src/stores/previewExposureStore.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Promoted widgets resolve to their concrete inner widgets and keep values", diff --git a/docs/architecture/domains/records/subgraphs.domain.json b/docs/architecture/domains/records/subgraphs.domain.json index a4f594e1b34..efc065e8783 100644 --- a/docs/architecture/domains/records/subgraphs.domain.json +++ b/docs/architecture/domains/records/subgraphs.domain.json @@ -4,73 +4,46 @@ "description": "Subgraph definitions, subgraph nodes, IO nodes and slots, conversion to and from subgraphs, definition deduplication, execution flattening DTOs, and lifting inner node errors to the subgraph boundary. The Subgraph class itself is defined in LGraph.ts (graph-model) and re-exported here; widget promotion lives in subgraph-promotion.", "modules": [ { - "path": "src/components/breadcrumb/**", - "role": "presentation" + "path": "src/components/breadcrumb/**" }, { - "path": "src/constants/groupNodeConstants.ts", - "role": "domain" + "path": "src/constants/groupNodeConstants.ts" }, { - "path": "src/core/graph/subgraph/liftNodeErrorsToBoundary.ts", - "role": "application" + "path": "src/core/graph/subgraph/liftNodeErrorsToBoundary.ts" }, { - "path": "src/core/graph/subgraph/resolveSubgraphInputLink.ts", - "role": "domain" + "path": "src/core/graph/subgraph/resolveSubgraphInputLink.ts" }, { - "path": "src/core/graph/subgraph/resolveSubgraphInputTarget.ts", - "role": "domain" + "path": "src/core/graph/subgraph/resolveSubgraphInputTarget.ts" }, { - "path": "src/extensions/core/groupNode.ts", - "role": "integration" + "path": "src/extensions/core/groupNode.ts" }, { - "path": "src/lib/litegraph/src/constants.ts", - "role": "domain" + "path": "src/lib/litegraph/src/constants.ts" }, { - "path": "src/lib/litegraph/src/infrastructure/SubgraphEventMap.ts", - "role": "domain" + "path": "src/lib/litegraph/src/infrastructure/SubgraphEventMap.ts" }, { - "path": "src/lib/litegraph/src/infrastructure/SubgraphInputEventMap.ts", - "role": "domain" + "path": "src/lib/litegraph/src/infrastructure/SubgraphInputEventMap.ts" }, { - "path": "src/lib/litegraph/src/subgraph/**", - "role": "domain" + "path": "src/lib/litegraph/src/subgraph/**" }, { - "path": "src/lib/litegraph/src/subgraph/ExecutableNodeDTO.ts", - "role": "application" + "path": "src/schemas/subgraphIdSchema.ts" }, { - "path": "src/lib/litegraph/src/subgraph/__fixtures__/**", - "role": "integration" + "path": "src/stores/subgraphNavigationStore.ts" }, { - "path": "src/lib/litegraph/src/subgraph/svgBitmapCache.ts", - "role": "presentation" - }, - { - "path": "src/schemas/subgraphIdSchema.ts", - "role": "domain" - }, - { - "path": "src/stores/subgraphNavigationStore.ts", - "role": "application" - }, - { - "path": "src/utils/blueprintUtils.ts", - "role": "domain" + "path": "src/utils/blueprintUtils.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["extension-manager", "keybindings"], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Converting, unpacking, and serialising subgraphs preserves links and definitions", diff --git a/docs/architecture/domains/records/support-feedback.domain.json b/docs/architecture/domains/records/support-feedback.domain.json index 9a02e637a92..b0f9a54f4bc 100644 --- a/docs/architecture/domains/records/support-feedback.domain.json +++ b/docs/architecture/domains/records/support-feedback.domain.json @@ -4,17 +4,10 @@ "description": "Support URL and feedback Typeform configuration per distribution, and the feedback dialog opened from help menus, topbar, and agent surfaces. It reuses the surveys Typeform dialog.", "modules": [ { - "path": "src/platform/support/**", - "role": "application" - }, - { - "path": "src/platform/support/config.ts", - "role": "domain" + "path": "src/platform/support/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Feedback and support links carry the source and distribution and open the feedback dialog", @@ -28,7 +21,7 @@ "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", "openFeedbackDialog remains callable from help center, topbar, cloud feedback button, and agent feedback callers.", - "feedbackDialog reusing openTypeformDialog from surveys and reading the current user remains visible as cross-domain coupling; classification does not grant dependency exceptions." + "feedbackDialog reusing openTypeformDialog from surveys and reading the current user remains untracked cross-domain coupling; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/surveys.domain.json b/docs/architecture/domains/records/surveys.domain.json index 9cf05a6f9be..3de7dda2999 100644 --- a/docs/architecture/domains/records/surveys.domain.json +++ b/docs/architecture/domains/records/surveys.domain.json @@ -4,45 +4,10 @@ "description": "Feature-usage-triggered and error-panel Typeform surveys: the survey registry, eligibility and usage tracking persisted to localStorage, the nightly survey popover and controller, the error-panel survey call to action, and the Typeform embed and dialog. User-initiated feedback is the support-feedback record; the cloud onboarding survey is the cloud record.", "modules": [ { - "path": "src/platform/surveys/**", - "role": "application" - }, - { - "path": "src/platform/surveys/ErrorPanelSurveyCta.vue", - "role": "presentation" - }, - { - "path": "src/platform/surveys/NightlySurveyController.vue", - "role": "presentation" - }, - { - "path": "src/platform/surveys/NightlySurveyPopover.vue", - "role": "presentation" - }, - { - "path": "src/platform/surveys/TypeformDialogContent.vue", - "role": "presentation" - }, - { - "path": "src/platform/surveys/TypeformEmbed.vue", - "role": "presentation" - }, - { - "path": "src/platform/surveys/appModeFeedback.ts", - "role": "domain" - }, - { - "path": "src/platform/surveys/surveyRegistry.ts", - "role": "domain" - }, - { - "path": "src/platform/surveys/useTypeformEmbed.ts", - "role": "presentation" + "path": "src/platform/surveys/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Survey eligibility follows feature usage, distribution, and dismissal state", @@ -75,7 +40,7 @@ "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", "Survey state and feature-usage localStorage keys keep their persisted names.", - "openTypeformDialog importing its dialog component and surveyRegistry typing against useSurveyEligibility remain visible as role-boundary debt; classification does not grant dependency exceptions." + "openTypeformDialog importing its dialog component and surveyRegistry typing against useSurveyEligibility remain untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/system-info.domain.json b/docs/architecture/domains/records/system-info.domain.json index 5c0cffb28a9..821f6932a33 100644 --- a/docs/architecture/domains/records/system-info.domain.json +++ b/docs/architecture/domains/records/system-info.domain.json @@ -4,37 +4,28 @@ "description": "Backend system statistics, About panel version information, device presentation, and copying diagnostic information.", "modules": [ { - "path": "src/components/common/DeviceInfo.vue", - "role": "presentation" + "path": "src/components/common/DeviceInfo.vue" }, { - "path": "src/components/common/SystemStatsPanel.vue", - "role": "presentation" + "path": "src/components/common/SystemStatsPanel.vue" }, { - "path": "src/components/common/systemStatsColumns.ts", - "role": "domain" + "path": "src/components/common/systemStatsColumns.ts" }, { - "path": "src/components/dialog/content/setting/AboutPanel.vue", - "role": "presentation" + "path": "src/components/dialog/content/setting/AboutPanel.vue" }, { - "path": "src/composables/useCopySystemInfo.ts", - "role": "application" + "path": "src/composables/useCopySystemInfo.ts" }, { - "path": "src/stores/aboutPanelStore.ts", - "role": "application" + "path": "src/stores/aboutPanelStore.ts" }, { - "path": "src/stores/systemStatsStore.ts", - "role": "application" + "path": "src/stores/systemStatsStore.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": ["extension-manager"], "characterizationScenarios": [ { "name": "System stats panel renders system and device information", diff --git a/docs/architecture/domains/records/tasks.domain.json b/docs/architecture/domains/records/tasks.domain.json index 79f0f7e2a21..9c569e5659f 100644 --- a/docs/architecture/domains/records/tasks.domain.json +++ b/docs/architecture/domains/records/tasks.domain.json @@ -4,17 +4,13 @@ "description": "Client for backend asynchronous tasks: fetch, validate, poll, and cancel task records, and parse download-file results.", "modules": [ { - "path": "src/platform/tasks/**", - "role": "infrastructure" + "path": "src/platform/tasks/**" }, { - "path": "packages/api-client/src/taskSchema.ts", - "role": "infrastructure" + "path": "packages/api-client/src/taskSchema.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Task service validates task responses, polls status, and reports cancel outcomes", diff --git a/docs/architecture/domains/records/telemetry.domain.json b/docs/architecture/domains/records/telemetry.domain.json index 3987925ac30..6b86df77f85 100644 --- a/docs/architecture/domains/records/telemetry.domain.json +++ b/docs/architecture/domains/records/telemetry.domain.json @@ -4,106 +4,43 @@ "description": "The @comfyorg/telemetry dispatcher, registry, and event types, and their application adapters: desktop host routing, enablement and identity sync, provider readiness, event tracking, and metadata enrichment. Cloud vendor providers belong to the cloud record; error reporting and startup tracing are separate records.", "modules": [ { - "path": "src/composables/useRunButtonTelemetry.ts", - "role": "application" + "path": "src/composables/useRunButtonTelemetry.ts" }, { - "path": "src/platform/telemetry/TelemetryRegistry.test.ts", - "role": "application" + "path": "src/platform/telemetry/TelemetryRegistry.test.ts" }, { - "path": "src/platform/telemetry/hostTelemetryEnabled.ts", - "role": "application" + "path": "src/platform/telemetry/hostTelemetryEnabled.ts" }, { - "path": "src/platform/telemetry/hostUserIdSync.ts", - "role": "integration" + "path": "src/platform/telemetry/hostUserIdSync.ts" }, { - "path": "src/platform/telemetry/initHostTelemetry.ts", - "role": "integration" + "path": "src/platform/telemetry/initHostTelemetry.ts" }, { - "path": "src/platform/telemetry/nodeAdded/**", - "role": "integration" + "path": "src/platform/telemetry/nodeAdded/**" }, { - "path": "src/platform/telemetry/nodeAdded/nodeAddSource.ts", - "role": "application" + "path": "src/platform/telemetry/providers/host/**" }, { - "path": "src/platform/telemetry/providers/host/**", - "role": "infrastructure" + "path": "src/platform/telemetry/searchQuery/**" }, { - "path": "src/platform/telemetry/searchQuery/**", - "role": "application" + "path": "src/platform/telemetry/storeReadiness.ts" }, { - "path": "src/platform/telemetry/storeReadiness.ts", - "role": "application" + "path": "src/platform/telemetry/useTelemetry.test.ts" }, { - "path": "src/platform/telemetry/useTelemetry.test.ts", - "role": "application" + "path": "src/platform/telemetry/utils/**" }, { - "path": "src/platform/telemetry/utils/**", - "role": "domain" - }, - { - "path": "src/platform/telemetry/utils/__tests__/checkoutAttribution.test.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/telemetry/utils/billingPortalTelemetry.ts", - "role": "application" - }, - { - "path": "src/platform/telemetry/utils/checkoutAttribution.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/telemetry/utils/getActionbarDockState.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/telemetry/utils/getAgentPanelOpen.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/telemetry/utils/getExecutionContext.ts", - "role": "application" - }, - { - "path": "src/platform/telemetry/utils/getShellLayoutSnapshot.ts", - "role": "application" - }, - { - "path": "packages/telemetry/src/**", - "role": "application" - }, - { - "path": "packages/telemetry/src/types.ts", - "role": "domain" + "path": "packages/telemetry/src/**" } ], "publicEntryPoints": [], - "allowedDependencies": ["ingest-api", "node-replacement", "remote-config"], - "allowedConsumers": [ - "app-host", - "authentication", - "billing", - "cloud", - "error-reporting", - "extension-runtime", - "node-library", - "selection-toolbox", - "settings", - "workbench-shell", - "workflow-management", - "workflow-templates" - ], "characterizationScenarios": [ { "name": "TelemetryRegistry fans each event out to every registered provider and useTelemetry exposes the active registry", @@ -157,7 +94,7 @@ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", "useTelemetry() returning null until a registry is installed remains the contract every caller and cloud provider relies on.", "Cloud providers consume readiness and metadata adapters; feature callers submit search inputs and event context without granting telemetry access to their stores.", - "Metadata builders that read workflow, setting, node-definition, panel, workspace-billing, and auth stores, and the localStorage keys duplicated from their writers, remain visible as coupling debt; classification does not grant dependency exceptions." + "Metadata builders that read workflow, setting, node-definition, panel, workspace-billing, and auth stores, and the localStorage keys duplicated from their writers, remain untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/test-support.domain.json b/docs/architecture/domains/records/test-support.domain.json index 4288c5dcedd..439ed3132e4 100644 --- a/docs/architecture/domains/records/test-support.domain.json +++ b/docs/architecture/domains/records/test-support.domain.json @@ -4,29 +4,22 @@ "description": "Shared technical module for disposable Pinia fixtures, Vitest setup contracts and type augmentation, graph/canvas builders, Path2D stubs, i18n fixtures, and the @comfyorg/test-utils fetch routing helpers. This is test infrastructure, not a product domain or production extraction target.", "modules": [ { - "path": "src/testing/**", - "role": "integration" + "path": "src/testing/**" }, { - "path": "src/types/vitest.d.ts", - "role": "integration" + "path": "src/types/vitest.d.ts" }, { - "path": "src/utils/__tests__/**", - "role": "integration" + "path": "src/utils/__tests__/**" }, { - "path": "src/vitestSetup.test.ts", - "role": "integration" + "path": "src/vitestSetup.test.ts" }, { - "path": "packages/test-utils/src/**", - "role": "integration" + "path": "packages/test-utils/src/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": ["selection-toolbox"], "characterizationScenarios": [ { "name": "Shared test infrastructure preserves its existing behavior", diff --git a/docs/architecture/domains/records/text-output-preview.domain.json b/docs/architecture/domains/records/text-output-preview.domain.json index e0da2f4d80e..0722f6e7893 100644 --- a/docs/architecture/domains/records/text-output-preview.domain.json +++ b/docs/architecture/domains/records/text-output-preview.domain.json @@ -4,29 +4,22 @@ "description": "PreviewAny and SaveText execution-output display, preview widget construction and updates, and plain-text or Markdown presentation. Transient execution-progress widgets and shared Markdown rendering remain outside this capability.", "modules": [ { - "path": "src/extensions/core/previewAny.ts", - "role": "integration" + "path": "src/extensions/core/previewAny.ts" }, { - "path": "src/extensions/core/saveText.ts", - "role": "integration" + "path": "src/extensions/core/saveText.ts" }, { - "path": "src/extensions/core/textPreviewWidgets.ts", - "role": "integration" + "path": "src/extensions/core/textPreviewWidgets.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/components/WidgetTextPreview.vue", - "role": "presentation" + "path": "src/renderer/extensions/vueNodes/widgets/components/WidgetTextPreview.vue" }, { - "path": "src/utils/htmlEscape.ts", - "role": "domain" + "path": "src/utils/htmlEscape.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Execution output updates preview widgets without serializing their transient values", diff --git a/docs/architecture/domains/records/value-formatting.domain.json b/docs/architecture/domains/records/value-formatting.domain.json index 7fe7f46a996..07230df4676 100644 --- a/docs/architecture/domains/records/value-formatting.domain.json +++ b/docs/architecture/domains/records/value-formatting.domain.json @@ -4,17 +4,13 @@ "description": "Shared technical module for locale-aware number, percentage, currency, and date formatting and tolerant timestamp parsing. Business decisions about credits and queue progress remain outside this module.", "modules": [ { - "path": "src/utils/dateTimeUtil.ts", - "role": "domain" + "path": "src/utils/dateTimeUtil.ts" }, { - "path": "src/utils/numberUtil.ts", - "role": "domain" + "path": "src/utils/numberUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Numeric and date formatting preserves its existing behavior", diff --git a/docs/architecture/domains/records/version-compatibility.domain.json b/docs/architecture/domains/records/version-compatibility.domain.json index 586db478191..35e76f78618 100644 --- a/docs/architecture/domains/records/version-compatibility.domain.json +++ b/docs/architecture/domains/records/version-compatibility.domain.json @@ -4,13 +4,10 @@ "description": "Compares the running frontend version with the backend-required frontend version from system stats and shows the dismissible mismatch warning toast.", "modules": [ { - "path": "src/platform/updates/common/**", - "role": "application" + "path": "src/platform/updates/common/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Version mismatch between frontend and backend raises one dismissible warning", diff --git a/docs/architecture/domains/records/video-edit.domain.json b/docs/architecture/domains/records/video-edit.domain.json index d52c3cde432..34269771cf7 100644 --- a/docs/architecture/domains/records/video-edit.domain.json +++ b/docs/architecture/domains/records/video-edit.domain.json @@ -4,37 +4,19 @@ "description": "Video trim and crop widget presentation and model, crop handles, aspect-ratio locking, playback and scrubbing, filmstrip extraction, frame timing, metadata, and format options.", "modules": [ { - "path": "src/components/videoEdit/**", - "role": "presentation" + "path": "src/components/videoEdit/**" }, { - "path": "src/composables/video/**", - "role": "application" + "path": "src/composables/video/**" }, { - "path": "src/composables/video/useVideoEditFormats.ts", - "role": "domain" + "path": "src/utils/videoFrameUtil.ts" }, { - "path": "src/composables/video/useVideoFilmstrip.ts", - "role": "infrastructure" - }, - { - "path": "src/composables/video/useVideoSourceUrl.ts", - "role": "infrastructure" - }, - { - "path": "src/utils/videoFrameUtil.ts", - "role": "domain" - }, - { - "path": "src/utils/videoMetadataUtil.ts", - "role": "infrastructure" + "path": "src/utils/videoMetadataUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Video edit widget trims and crops video and writes the widget value", diff --git a/docs/architecture/domains/records/viewport-3d.domain.json b/docs/architecture/domains/records/viewport-3d.domain.json index 6c9a77b967b..5b32ea0c8dc 100644 --- a/docs/architecture/domains/records/viewport-3d.domain.json +++ b/docs/architecture/domains/records/viewport-3d.domain.json @@ -4,73 +4,55 @@ "description": "Shared Three.js viewport: WebGL renderer views and high-precision output, scene, camera, controls, lighting, view helper, and event managers, letterboxed sizing, render loop, context-menu guard, the shared viewport interfaces, viewport widget shell, and node wiring. Model loading, animation, recording, serialization, and node extensions remain in the Load3D host.", "modules": [ { - "path": "src/extensions/core/load3d/components/ViewportWidgetShell.test.ts", - "role": "presentation" + "path": "src/extensions/core/load3d/components/ViewportWidgetShell.test.ts" }, { - "path": "src/extensions/core/load3d/components/menubar/menuBarStyles.ts", - "role": "presentation" + "path": "src/extensions/core/load3d/components/menubar/menuBarStyles.ts" }, { - "path": "src/extensions/core/load3d/composables/useViewportNodeWiring.ts", - "role": "integration" + "path": "src/extensions/core/load3d/composables/useViewportNodeWiring.ts" }, { - "path": "packages/viewport3d/src/**", - "role": "application" + "path": "packages/viewport3d/src/**" }, { - "path": "packages/viewport3d/src/load3d/CameraManager.ts", - "role": "application" + "path": "packages/viewport3d/src/load3d/CameraManager.ts" }, { - "path": "packages/viewport3d/src/load3d/ControlsManager.ts", - "role": "application" + "path": "packages/viewport3d/src/load3d/ControlsManager.ts" }, { - "path": "packages/viewport3d/src/load3d/EventManager.ts", - "role": "application" + "path": "packages/viewport3d/src/load3d/EventManager.ts" }, { - "path": "packages/viewport3d/src/load3d/LightingManager.ts", - "role": "application" + "path": "packages/viewport3d/src/load3d/LightingManager.ts" }, { - "path": "packages/viewport3d/src/load3d/SceneManager.ts", - "role": "application" + "path": "packages/viewport3d/src/load3d/SceneManager.ts" }, { - "path": "packages/viewport3d/src/load3d/ViewHelperManager.ts", - "role": "application" + "path": "packages/viewport3d/src/load3d/ViewHelperManager.ts" }, { - "path": "packages/viewport3d/src/load3d/Viewport3d.ts", - "role": "application" + "path": "packages/viewport3d/src/load3d/Viewport3d.ts" }, { - "path": "packages/viewport3d/src/load3d/createViewport3d.ts", - "role": "application" + "path": "packages/viewport3d/src/load3d/createViewport3d.ts" }, { - "path": "packages/viewport3d/src/load3d/interfaces.ts", - "role": "application" + "path": "packages/viewport3d/src/load3d/interfaces.ts" }, { - "path": "packages/viewport3d/src/load3d/load3dContextMenuGuard.ts", - "role": "application" + "path": "packages/viewport3d/src/load3d/load3dContextMenuGuard.ts" }, { - "path": "packages/viewport3d/src/load3d/load3dRenderLoop.ts", - "role": "application" + "path": "packages/viewport3d/src/load3d/load3dRenderLoop.ts" }, { - "path": "packages/viewport3d/src/load3d/load3dViewport.ts", - "role": "application" + "path": "packages/viewport3d/src/load3d/load3dViewport.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Viewport orchestration preserves sizing, render loop, and context-menu behavior", @@ -111,7 +93,7 @@ ], "adrs": [], "compatibilityPromises": [ - "Existing imports and runtime behavior remain unchanged; model-viewer, camera, and light cross-domain imports remain visible without new dependency permissions.", + "Existing imports and runtime behavior remain unchanged; model-viewer, camera, and light cross-domain imports remain untracked and gain no dependency permissions.", "Classification does not move model loading, animation, recording, serialization, or graph node state into the viewport capability." ], "deepImports": "inventory" diff --git a/docs/architecture/domains/records/vue-node-renderer.domain.json b/docs/architecture/domains/records/vue-node-renderer.domain.json index 2ec7ab65b35..ede205d6f28 100644 --- a/docs/architecture/domains/records/vue-node-renderer.domain.json +++ b/docs/architecture/domains/records/vue-node-renderer.domain.json @@ -4,97 +4,37 @@ "description": "Shared technical module, not a business domain. The Node 2.0 DOM renderer that draws each LiteGraph node as a Vue component: node shell, header, badges, footer, slots, widget grid host, node image, video, and live previews, execution and error state, pointer, drag, snap, resize, z-index, tooltip, and slot link interactions, and DOM measurement fed into the layout store. Composables that read or drive LiteGraph nodes, canvas pointers, link connectors, and the widget render model are integration. Widget components and constructors belong to vue-node-widgets; capability previews already recorded elsewhere (audio, GLSL, and others) stay with their records.", "modules": [ { - "path": "src/composables/useVueFeatureFlags.ts", - "role": "application" + "path": "src/composables/useVueFeatureFlags.ts" }, { - "path": "src/renderer/extensions/vueNodes/VideoPreview.vue", - "role": "presentation" + "path": "src/renderer/extensions/vueNodes/VideoPreview.vue" }, { - "path": "src/renderer/extensions/vueNodes/components/**", - "role": "presentation" + "path": "src/renderer/extensions/vueNodes/components/**" }, { - "path": "src/renderer/extensions/vueNodes/composables/**", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/composables/**" }, { - "path": "src/renderer/extensions/vueNodes/composables/slotLinkDragContext.ts", - "role": "application" + "path": "src/renderer/extensions/vueNodes/execution/**" }, { - "path": "src/renderer/extensions/vueNodes/composables/useNodeEventHandlers.ts", - "role": "application" + "path": "src/renderer/extensions/vueNodes/interactions/**" }, { - "path": "src/renderer/extensions/vueNodes/composables/useNodeSnap.ts", - "role": "application" + "path": "src/renderer/extensions/vueNodes/layout/**" }, { - "path": "src/renderer/extensions/vueNodes/composables/useNodeTooltips.ts", - "role": "application" + "path": "src/renderer/extensions/vueNodes/preview/**" }, { - "path": "src/renderer/extensions/vueNodes/composables/useNodeZIndex.ts", - "role": "application" + "path": "src/renderer/extensions/vueNodes/types/**" }, { - "path": "src/renderer/extensions/vueNodes/composables/usePartitionedBadges.ts", - "role": "application" - }, - { - "path": "src/renderer/extensions/vueNodes/composables/useShiftKeySync.ts", - "role": "application" - }, - { - "path": "src/renderer/extensions/vueNodes/composables/useVueNodeResizeTracking.ts", - "role": "infrastructure" - }, - { - "path": "src/renderer/extensions/vueNodes/execution/**", - "role": "application" - }, - { - "path": "src/renderer/extensions/vueNodes/interactions/**", - "role": "application" - }, - { - "path": "src/renderer/extensions/vueNodes/interactions/resize/resizeHandleConfig.ts", - "role": "domain" - }, - { - "path": "src/renderer/extensions/vueNodes/layout/**", - "role": "application" - }, - { - "path": "src/renderer/extensions/vueNodes/layout/ensureCorrectLayoutScale.ts", - "role": "integration" - }, - { - "path": "src/renderer/extensions/vueNodes/preview/**", - "role": "application" - }, - { - "path": "src/renderer/extensions/vueNodes/types/**", - "role": "domain" - }, - { - "path": "src/renderer/extensions/vueNodes/utils/**", - "role": "application" - }, - { - "path": "src/renderer/extensions/vueNodes/utils/eventUtils.ts", - "role": "integration" - }, - { - "path": "src/renderer/extensions/vueNodes/utils/linkedCoreMediaUtils.ts", - "role": "domain" + "path": "src/renderer/extensions/vueNodes/utils/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Node components render header, slots, badges, widgets, and state", diff --git a/docs/architecture/domains/records/vue-node-widgets.domain.json b/docs/architecture/domains/records/vue-node-widgets.domain.json index d769b0e6647..9f5936df6c6 100644 --- a/docs/architecture/domains/records/vue-node-widgets.domain.json +++ b/docs/architecture/domains/records/vue-node-widgets.domain.json @@ -4,261 +4,172 @@ "description": "Shared technical module, not a business domain. The node widget runtime shared by the Vue node renderer, the classic canvas, linear mode, and the properties panel: the widget-type-to-component registry, generic widget components (number, text, textarea, toggle, select and form dropdown, color, chart, galleria, button, resolution preview, value control, dynamic group rows), the DOM and legacy canvas widget hosts, widget constructors that create LiteGraph widgets from node definitions, remote and asset-backed combo data, promoted-widget resolution, and the PrimitiveNode type guard. Constructors and hosts adapt to the LiteGraph and DOM widget runtime and are integration. The legacy LiteGraph widget layer and widget value contracts belong to node-widgets. Capability widgets already recorded (audio, Markdown, image compare, text preview, bounding boxes, compositor, light, painter) stay with their records.", "modules": [ { - "path": "src/components/boundingbox/**", - "role": "presentation" + "path": "src/components/boundingbox/**" }, { - "path": "src/components/curve/WidgetCurve.vue", - "role": "presentation" + "path": "src/components/curve/WidgetCurve.vue" }, { - "path": "src/components/graph/DomWidgets.vue", - "role": "integration" + "path": "src/components/graph/DomWidgets.vue" }, { - "path": "src/components/graph/widgets/**", - "role": "integration" + "path": "src/components/graph/widgets/**" }, { - "path": "src/components/graph/widgets/MultiSelectWidget.vue", - "role": "presentation" + "path": "src/components/palette/WidgetColors.vue" }, { - "path": "src/components/graph/widgets/TextPreviewWidget.vue", - "role": "presentation" + "path": "src/components/range/WidgetRange.vue" }, { - "path": "src/components/palette/WidgetColors.vue", - "role": "presentation" + "path": "src/composables/element/useDomClipping.ts" }, { - "path": "src/components/range/WidgetRange.vue", - "role": "presentation" + "path": "src/composables/node/**" }, { - "path": "src/composables/element/useDomClipping.ts", - "role": "application" + "path": "src/composables/useUpstreamValue.ts" }, { - "path": "src/composables/node/**", - "role": "integration" + "path": "src/extensions/core/uploadImage.ts" }, { - "path": "src/composables/node/canvasImagePreviewTypes.ts", - "role": "domain" + "path": "src/lib/litegraph/src/widgets/BoundingBoxWidget.ts" }, { - "path": "src/composables/useUpstreamValue.ts", - "role": "integration" + "path": "src/lib/litegraph/src/widgets/CurveWidget.ts" }, { - "path": "src/extensions/core/uploadImage.ts", - "role": "integration" + "path": "src/lib/litegraph/src/widgets/VideoEditWidget.ts" }, { - "path": "src/lib/litegraph/src/widgets/BoundingBoxWidget.ts", - "role": "presentation" + "path": "src/renderer/extensions/vueNodes/widgets/components/**" }, { - "path": "src/lib/litegraph/src/widgets/CurveWidget.ts", - "role": "presentation" + "path": "src/renderer/extensions/vueNodes/widgets/composables/domWidgetTestUtils.ts" }, { - "path": "src/lib/litegraph/src/widgets/VideoEditWidget.ts", - "role": "presentation" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useAssetWidgetData.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/components/**", - "role": "presentation" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useBooleanWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/components/WidgetChart.types.ts", - "role": "domain" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useBoundingBoxWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/components/WidgetDOM.vue", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useChartWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/components/WidgetLegacy.vue", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useColorWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/components/form/dropdown/shared.ts", - "role": "application" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useColorsWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/components/form/dropdown/types.ts", - "role": "domain" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useComboWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/domWidgetTestUtils.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useCurveWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useAssetWidgetData.ts", - "role": "application" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useDismissOnCanvasGesture.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useBooleanWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useFloatWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useBoundingBoxWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useGalleriaWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useChartWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useImagePreviewWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useColorWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useColorsWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useComboWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useNumberStepCalculation.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useCurveWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useProgressTextWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useDismissOnCanvasGesture.ts", - "role": "application" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useRangeWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useFloatWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useRemoteWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useGalleriaWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useResolutionPreviewWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useImagePreviewWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useRestoreFocusOnViewportPointer.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useStringWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useTextareaWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useNumberStepCalculation.ts", - "role": "domain" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useVideoEditWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useProgressTextWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useWidgetRenderer.test.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useRangeWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useWidgetSelectActions.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useRemoteWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/composables/useWidgetSelectItems.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useResolutionPreviewWidget.ts", - "role": "integration" + "path": "src/renderer/extensions/vueNodes/widgets/registry/**" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useRestoreFocusOnViewportPointer.ts", - "role": "application" + "path": "src/renderer/extensions/vueNodes/widgets/utils/**" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useStringWidget.ts", - "role": "integration" + "path": "src/scripts/domWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useTextareaWidget.ts", - "role": "integration" + "path": "src/scripts/errorNodeWidgets.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useVideoEditWidget.ts", - "role": "integration" + "path": "src/scripts/widgets.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useWidgetRenderer.test.ts", - "role": "presentation" + "path": "src/stores/domWidgetStore.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useWidgetSelectActions.ts", - "role": "application" + "path": "src/stores/widgetStore.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/composables/useWidgetSelectItems.ts", - "role": "application" + "path": "src/types/positionConfig.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/registry/**", - "role": "presentation" + "path": "src/types/simplifiedWidget.ts" }, { - "path": "src/renderer/extensions/vueNodes/widgets/utils/**", - "role": "integration" + "path": "src/types/widgetConstructor.ts" }, { - "path": "src/scripts/domWidget.ts", - "role": "integration" + "path": "src/types/widgetTypes.ts" }, { - "path": "src/scripts/errorNodeWidgets.ts", - "role": "integration" + "path": "src/utils/imageUtil.ts" }, { - "path": "src/scripts/widgets.ts", - "role": "integration" + "path": "src/utils/mediaUploadUtil.ts" }, { - "path": "src/stores/domWidgetStore.ts", - "role": "application" - }, - { - "path": "src/stores/widgetStore.ts", - "role": "application" - }, - { - "path": "src/types/positionConfig.ts", - "role": "domain" - }, - { - "path": "src/types/simplifiedWidget.ts", - "role": "domain" - }, - { - "path": "src/types/widgetConstructor.ts", - "role": "domain" - }, - { - "path": "src/types/widgetTypes.ts", - "role": "presentation" - }, - { - "path": "src/utils/imageUtil.ts", - "role": "domain" - }, - { - "path": "src/utils/mediaUploadUtil.ts", - "role": "domain" - }, - { - "path": "src/utils/widgetPropFilter.ts", - "role": "domain" + "path": "src/utils/widgetPropFilter.ts" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": ["bounding-boxes"], "characterizationScenarios": [ { "name": "Widget constructors create LiteGraph widgets from node definitions", diff --git a/docs/architecture/domains/records/webcam-capture.domain.json b/docs/architecture/domains/records/webcam-capture.domain.json index 67f3650bb35..bf8386f46cd 100644 --- a/docs/architecture/domains/records/webcam-capture.domain.json +++ b/docs/architecture/domains/records/webcam-capture.domain.json @@ -4,13 +4,10 @@ "description": "Camera stream setup, frame capture, preview, and capture-on-queue upload for the webcam capture node.", "modules": [ { - "path": "src/extensions/core/webcamCapture.ts", - "role": "integration" + "path": "src/extensions/core/webcamCapture.ts" } ], "publicEntryPoints": ["src/extensions/core/webcamCapture.ts"], - "allowedDependencies": [], - "allowedConsumers": ["extension-runtime"], "characterizationScenarios": [ { "name": "Stream readiness, permissions, capture, and queued upload preserve webcam node behavior", diff --git a/docs/architecture/domains/records/workbench-shell.domain.json b/docs/architecture/domains/records/workbench-shell.domain.json index 1a9f0665942..51dba144ace 100644 --- a/docs/architecture/domains/records/workbench-shell.domain.json +++ b/docs/architecture/domains/records/workbench-shell.domain.json @@ -4,97 +4,73 @@ "description": "Workbench layout, persisted panel sizing, contribution registries, command dispatch, menus, sidebar and bottom-panel tabs, action bar buttons, and extension slots. Feature content belongs to its respective modules.", "modules": [ { - "path": "src/components/LiteGraphCanvasSplitterOverlay.vue", - "role": "presentation" + "path": "src/components/LiteGraphCanvasSplitterOverlay.vue" }, { - "path": "src/components/MenuHamburger.vue", - "role": "presentation" + "path": "src/components/MenuHamburger.vue" }, { - "path": "src/components/TopMenuSection.vue", - "role": "presentation" + "path": "src/components/TopMenuSection.vue" }, { - "path": "src/components/common/ExtensionSlot.vue", - "role": "presentation" + "path": "src/components/common/ExtensionSlot.vue" }, { - "path": "src/components/sidebar/**", - "role": "presentation" + "path": "src/components/sidebar/**" }, { - "path": "src/components/sidebar/tabs/SidebarTabCloseButton.vue", - "role": "presentation" + "path": "src/components/sidebar/tabs/SidebarTabCloseButton.vue" }, { - "path": "src/components/sidebar/tabs/SidebarTabTemplate.vue", - "role": "presentation" + "path": "src/components/sidebar/tabs/SidebarTabTemplate.vue" }, { - "path": "src/components/topbar/ActionBarButtons.vue", - "role": "presentation" + "path": "src/components/topbar/ActionBarButtons.vue" }, { - "path": "src/components/topbar/TopbarBadge.vue", - "role": "presentation" + "path": "src/components/topbar/TopbarBadge.vue" }, { - "path": "src/components/topbar/TopbarBadges.vue", - "role": "presentation" + "path": "src/components/topbar/TopbarBadges.vue" }, { - "path": "src/composables/sidebarTabs/registerCoreSidebarTabs.ts", - "role": "integration" + "path": "src/composables/sidebarTabs/registerCoreSidebarTabs.ts" }, { - "path": "src/composables/useCoreCommands.ts", - "role": "integration" + "path": "src/composables/useCoreCommands.ts" }, { - "path": "src/composables/usePanelSizing.ts", - "role": "application" + "path": "src/composables/usePanelSizing.ts" }, { - "path": "src/composables/useWorkspaceInset.ts", - "role": "application" + "path": "src/composables/useWorkspaceInset.ts" }, { - "path": "src/stores/actionBarButtonStore.ts", - "role": "application" + "path": "src/stores/actionBarButtonStore.ts" }, { - "path": "src/stores/menuItemStore.ts", - "role": "application" + "path": "src/stores/menuItemStore.ts" }, { - "path": "src/stores/topbarBadgeStore.ts", - "role": "application" + "path": "src/stores/topbarBadgeStore.ts" }, { - "path": "src/stores/workspace/bottomPanelStore.ts", - "role": "application" + "path": "src/stores/workspace/bottomPanelStore.ts" }, { - "path": "src/stores/workspace/sidebarTabStore.ts", - "role": "application" + "path": "src/stores/workspace/sidebarTabStore.ts" }, { - "path": "src/stores/workspaceStore.ts", - "role": "application" + "path": "src/stores/workspaceStore.ts" }, { - "path": "src/utils/splitterPersistence.ts", - "role": "infrastructure" + "path": "src/utils/splitterPersistence.ts" }, { - "path": "src/utils/splitterWidthUtil.ts", - "role": "domain" + "path": "src/utils/splitterWidthUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["extension-manager", "keybindings", "telemetry"], - "allowedConsumers": ["agent"], "characterizationScenarios": [ { "name": "Splitter overlay and top menu arrange workbench regions from layout settings", diff --git a/docs/architecture/domains/records/workflow-deployment.domain.json b/docs/architecture/domains/records/workflow-deployment.domain.json index 70994f79924..7789680d30b 100644 --- a/docs/architecture/domains/records/workflow-deployment.domain.json +++ b/docs/architecture/domains/records/workflow-deployment.domain.json @@ -4,21 +4,10 @@ "description": "Deploy-as-API for workflows: deriving API inputs from a flattened workflow, building the coding-agent handoff prompt and bundle, and the Deploy to Comfy API dialog. The workflow store, workflow flattening, missing-model scanning, and the Comfy API configuration remain external.", "modules": [ { - "path": "src/platform/workflow/deploy/**", - "role": "domain" - }, - { - "path": "src/platform/workflow/deploy/components/**", - "role": "presentation" - }, - { - "path": "src/platform/workflow/deploy/composables/**", - "role": "application" + "path": "src/platform/workflow/deploy/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "API inputs and agent handoff content are derived deterministically from the workflow", @@ -39,7 +28,7 @@ "compatibilityPromises": [ "The deploy-as-api action id stays stable for the workflow actions menu.", "Unclassified callers may import deployment internals during inventory; imports from classified domains remain subject to cross-domain rules.", - "The dialog launcher that loads presentation remains visible as role-boundary debt; classification does not grant dependency exceptions." + "The dialog launcher that loads presentation remains untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/workflow-errors.domain.json b/docs/architecture/domains/records/workflow-errors.domain.json index 832b4c712d1..4aa663ce51a 100644 --- a/docs/architecture/domains/records/workflow-errors.domain.json +++ b/docs/architecture/domains/records/workflow-errors.domain.json @@ -4,73 +4,22 @@ "description": "Presenting a workflow's blocking problems in one place: classification and grouping of execution and validation errors with missing nodes, missing models, missing media, and swappable nodes, the errors tab with group lists, error and missing-node cards, locate-node and selection emphasis, error report generation and actions, and the top-menu error overlay with its state. Error stores, the error catalog, and the missing-model, missing-media, and node-replacement cards remain with their records.", "modules": [ { - "path": "src/platform/workflowErrors/workflowErrorManager.ts", - "role": "application" + "path": "src/platform/workflowErrors/workflowErrorManager.ts" }, { - "path": "src/components/rightSidePanel/workflowErrors.integration.test.ts", - "role": "integration" + "path": "src/components/rightSidePanel/workflowErrors.integration.test.ts" }, { - "path": "src/platform/workflowErrors/overlay/**", - "role": "application" + "path": "src/platform/workflowErrors/overlay/**" }, { - "path": "src/platform/workflowErrors/overlay/ErrorOverlay.vue", - "role": "presentation" + "path": "src/platform/workflowErrors/panel/**" }, { - "path": "src/platform/workflowErrors/panel/**", - "role": "presentation" - }, - { - "path": "src/platform/workflowErrors/panel/__tests__/**", - "role": "application" - }, - { - "path": "src/platform/workflowErrors/panel/executionItemList.ts", - "role": "domain" - }, - { - "path": "src/platform/workflowErrors/panel/selectionEmphasis.ts", - "role": "application" - }, - { - "path": "src/platform/workflowErrors/panel/swapNodeGroups.test.ts", - "role": "application" - }, - { - "path": "src/platform/workflowErrors/panel/types.ts", - "role": "domain" - }, - { - "path": "src/platform/workflowErrors/panel/useErrorActions.ts", - "role": "application" - }, - { - "path": "src/platform/workflowErrors/panel/useErrorClassification.ts", - "role": "application" - }, - { - "path": "src/platform/workflowErrors/panel/useErrorGroups.ts", - "role": "application" - }, - { - "path": "src/platform/workflowErrors/panel/useErrorReport.ts", - "role": "application" - }, - { - "path": "src/platform/workflowErrors/panel/useHasBlockingError.ts", - "role": "application" - }, - { - "path": "src/utils/errorReportUtil.ts", - "role": "domain" + "path": "src/utils/errorReportUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["extension-manager", "keybindings"], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Error groups classify execution errors, missing nodes, missing models, and swappable nodes", diff --git a/docs/architecture/domains/records/workflow-format.domain.json b/docs/architecture/domains/records/workflow-format.domain.json index 21cb60103cf..f251163c5da 100644 --- a/docs/architecture/domains/records/workflow-format.domain.json +++ b/docs/architecture/domains/records/workflow-format.domain.json @@ -4,37 +4,25 @@ "description": "The workflow document contract: zod schemas for workflow JSON and API-format prompts, load-time validation with link repair, the supported workflow-bearing file formats, subgraph flattening, and model-requirement extraction from workflow documents. Open workflows, the workflow store, and graph entity implementation remain external.", "modules": [ { - "path": "src/platform/workflow/**", - "role": "domain" + "path": "src/platform/workflow/**" }, { - "path": "src/platform/workflow/validation/composables/**", - "role": "application" + "path": "src/utils/executionUtil.ts" }, { - "path": "src/utils/executionUtil.ts", - "role": "application" + "path": "src/utils/fileUtil.ts" }, { - "path": "src/utils/fileUtil.ts", - "role": "infrastructure" + "path": "src/utils/jsonUtil.ts" }, { - "path": "src/utils/jsonUtil.ts", - "role": "domain" + "path": "src/utils/linkFixer.ts" }, { - "path": "src/utils/linkFixer.ts", - "role": "domain" - }, - { - "path": "src/utils/migration/**", - "role": "domain" + "path": "src/utils/migration/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Workflow schemas accept valid workflow and API documents and reject malformed ones", @@ -76,7 +64,7 @@ "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", "Serialized workflow JSON accepted by the existing schemas stays accepted so saved workflows, templates, and shared links keep loading.", - "workflowSchema typing against litegraph serialisation, LGraph, and widget types, and useWorkflowValidation calling the toast store and linkFixer, remain visible as coupling debt; classification does not grant dependency exceptions." + "workflowSchema typing against litegraph serialisation, LGraph, and widget types, and useWorkflowValidation calling the toast store and linkFixer, remain untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/workflow-management.domain.json b/docs/architecture/domains/records/workflow-management.domain.json index 4e96497f6ae..522d4d63104 100644 --- a/docs/architecture/domains/records/workflow-management.domain.json +++ b/docs/architecture/domains/records/workflow-management.domain.json @@ -4,97 +4,76 @@ "description": "Open workflow documents and sessions: the ComfyWorkflow model and workflow store (open tabs, active workflow, modified state, subgraph paths), workflowService open, save, save-as, close, and insert flows, workflow menu actions, workflow ids and clipboard conversion, pending load warnings, restoring dynamic group inputs from API prompts, extracting workflows from jobs and assets, and the workflows and apps sidebar tab registrations. Draft persistence, sharing, templates, deployment, the document format, and graph entity implementation are separate records.", "modules": [ { - "path": "src/components/common/WorkflowActionsDropdown.vue", - "role": "presentation" + "path": "src/components/common/WorkflowActionsDropdown.vue" }, { - "path": "src/components/dialog/UnloadWindowConfirmDialog.vue", - "role": "presentation" + "path": "src/components/dialog/UnloadWindowConfirmDialog.vue" }, { - "path": "src/components/sidebar/tabs/AppsSidebarTab.vue", - "role": "presentation" + "path": "src/components/sidebar/tabs/AppsSidebarTab.vue" }, { - "path": "src/components/sidebar/tabs/BaseWorkflowsSidebarTab.vue", - "role": "presentation" + "path": "src/components/sidebar/tabs/BaseWorkflowsSidebarTab.vue" }, { - "path": "src/components/sidebar/tabs/WorkflowsSidebarTab.vue", - "role": "presentation" + "path": "src/components/sidebar/tabs/WorkflowsSidebarTab.vue" }, { - "path": "src/components/sidebar/tabs/workflows/WorkflowTreeLeaf.vue", - "role": "presentation" + "path": "src/components/sidebar/tabs/workflows/WorkflowTreeLeaf.vue" }, { - "path": "src/components/topbar/**", - "role": "presentation" + "path": "src/components/topbar/**" }, { - "path": "src/composables/useWorkflowActionsMenu.ts", - "role": "application" + "path": "src/composables/useWorkflowActionsMenu.ts" }, { - "path": "src/platform/workflow/core/services/**", - "role": "application" + "path": "src/platform/workflow/core/canvasTrackerOwnership.ts" }, { - "path": "src/platform/workflow/core/utils/pendingWarnings.ts", - "role": "application" + "path": "src/platform/workflow/core/services/**" }, { - "path": "src/platform/workflow/core/utils/restoreDynamicGroupInputs.ts", - "role": "application" + "path": "src/platform/workflow/core/utils/pendingWarnings.ts" }, { - "path": "src/platform/workflow/core/utils/workflowId.ts", - "role": "domain" + "path": "src/platform/workflow/core/utils/restoreDynamicGroupInputs.ts" }, { - "path": "src/platform/workflow/core/utils/workflowToClipboardItems.ts", - "role": "domain" + "path": "src/platform/workflow/core/utils/workflowId.ts" }, { - "path": "src/platform/workflow/management/composables/**", - "role": "integration" + "path": "src/platform/workflow/core/utils/workflowToClipboardItems.ts" }, { - "path": "src/platform/workflow/management/stores/**", - "role": "application" + "path": "src/platform/workflow/management/composables/**" }, { - "path": "src/platform/workflow/utils/**", - "role": "infrastructure" + "path": "src/platform/workflow/management/stores/**" }, { - "path": "src/scripts/changeTracker.ts", - "role": "application" + "path": "src/platform/workflow/utils/**" }, { - "path": "src/scripts/defaultGraph.ts", - "role": "domain" + "path": "src/scripts/changeTracker.ts" }, { - "path": "src/stores/userFileStore.ts", - "role": "infrastructure" + "path": "src/scripts/defaultGraph.ts" }, { - "path": "src/stores/workflowTabActivityStore.ts", - "role": "application" + "path": "src/stores/userFileStore.ts" }, { - "path": "src/types/workflowMenuItem.ts", - "role": "domain" + "path": "src/stores/workflowTabActivityStore.ts" }, { - "path": "src/utils/syncUtil.ts", - "role": "application" + "path": "src/types/workflowMenuItem.ts" + }, + { + "path": "src/utils/syncUtil.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["error-reporting", "keybindings", "telemetry"], - "allowedConsumers": ["agent", "execution"], "characterizationScenarios": [ { "name": "Workflow store opens, renames, closes, and tracks modified workflows", @@ -163,7 +142,7 @@ "compatibilityPromises": [ "Unclassified callers may import these internals during inventory; imports from classified domains remain subject to cross-domain rules.", "useWorkflowStore and useWorkflowService keep their names and exports because extensions, the app, persistence, sharing, templates, queue, and execution code import them.", - "The workflowStore and draft-store cycle with workflow persistence, workflowService reaching into the app, litegraph, dialog, toast, missing-resource, execution-error, and node-output stores, restoreDynamicGroupInputs mutating LGraphNode widgets, and workflowExtractionUtil reading asset schemas and jobOutputCache remain visible as coupling debt; classification does not grant dependency exceptions." + "The workflowStore and draft-store cycle with workflow persistence, workflowService reaching into the app, litegraph, dialog, toast, missing-resource, execution-error, and node-output stores, restoreDynamicGroupInputs mutating LGraphNode widgets, and workflowExtractionUtil reading asset schemas and jobOutputCache remain untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/workflow-persistence.domain.json b/docs/architecture/domains/records/workflow-persistence.domain.json index b0cbec3de21..9e733ee7736 100644 --- a/docs/architecture/domains/records/workflow-persistence.domain.json +++ b/docs/architecture/domains/records/workflow-persistence.domain.json @@ -4,33 +4,10 @@ "description": "Browser-local workflow draft persistence: the V2 draft cache and LRU index, workspace- and tab-scoped storage keys, localStorage/sessionStorage IO, the draft store, autosave, and the boot-time restore that reopens tabs and the active workflow. Workflow files, the workflow store, and workflowService remain in workflow management and core; shared-URL and template-URL loading are consumed from their own capabilities.", "modules": [ { - "path": "src/platform/workflow/persistence/**", - "role": "application" - }, - { - "path": "src/platform/workflow/persistence/base/**", - "role": "domain" - }, - { - "path": "src/platform/workflow/persistence/base/storageIO.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/workflow/persistence/base/storageKeys.ts", - "role": "infrastructure" - }, - { - "path": "src/platform/workflow/persistence/composables/useWorkflowPersistenceV2.ts", - "role": "integration" - }, - { - "path": "src/platform/workflow/persistence/composables/useWorkflowTabState.ts", - "role": "infrastructure" + "path": "src/platform/workflow/persistence/**" } ], "publicEntryPoints": [], - "allowedDependencies": ["keybindings"], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Draft cache keeps a bounded, collision-safe LRU index of workflow drafts", @@ -67,7 +44,7 @@ "compatibilityPromises": [ "Existing localStorage and sessionStorage key formats remain readable so saved drafts and tab pointers survive upgrades.", "Unclassified callers may import persistence internals during inventory; imports from classified domains remain subject to cross-domain rules.", - "The workflow-management cycle (workflowStore importing the draft store while persistence composables import workflowStore) and the restore composable's direct use of sharing and template URL loaders remain visible as coupling debt; classification does not grant dependency exceptions." + "The workflow-management cycle (workflowStore importing the draft store while persistence composables import workflowStore) and the restore composable's direct use of sharing and template URL loaders remain untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/workflow-sharing.domain.json b/docs/architecture/domains/records/workflow-sharing.domain.json index d66d05a1bc8..f097d1bb612 100644 --- a/docs/architecture/domains/records/workflow-sharing.domain.json +++ b/docs/architecture/domains/records/workflow-sharing.domain.json @@ -4,41 +4,10 @@ "description": "Sharing workflows by link and publishing them to ComfyHub: share and ComfyHub API schemas and services, the share dialog and copyable share URL, opening a shared workflow from a URL (including logged-out share attribution), and the ComfyHub profile gate and multi-step publish wizard. The workflow store, workflowService, assets store, auth, telemetry, and dialog infrastructure remain external.", "modules": [ { - "path": "src/platform/workflow/sharing/**", - "role": "domain" - }, - { - "path": "src/platform/workflow/sharing/components/**", - "role": "presentation" - }, - { - "path": "src/platform/workflow/sharing/composables/**", - "role": "application" - }, - { - "path": "src/platform/workflow/sharing/composables/useAssetSections.ts", - "role": "presentation" - }, - { - "path": "src/platform/workflow/sharing/composables/useSliderFromMouse.ts", - "role": "presentation" - }, - { - "path": "src/platform/workflow/sharing/services/**", - "role": "infrastructure" - }, - { - "path": "src/platform/workflow/sharing/utils/shareAuthAttribution.ts", - "role": "application" - }, - { - "path": "src/platform/workflow/sharing/utils/validateFileSize.ts", - "role": "presentation" + "path": "src/platform/workflow/sharing/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Share and ComfyHub payloads are validated at the API boundary", @@ -77,7 +46,7 @@ "compatibilityPromises": [ "Share URLs using the existing share query parameter keep opening the shared workflow.", "Unclassified callers may import sharing internals during inventory; imports from classified domains remain subject to cross-domain rules.", - "Dialog launchers that load presentation and components that call share services directly remain visible as role-boundary debt; classification does not grant dependency exceptions." + "Dialog launchers that load presentation and components that call share services directly remain untracked coupling debt; classification does not grant dependency exceptions." ], "deepImports": "inventory" } diff --git a/docs/architecture/domains/records/workflow-templates.domain.json b/docs/architecture/domains/records/workflow-templates.domain.json index ce8162add46..76e9afc5fe1 100644 --- a/docs/architecture/domains/records/workflow-templates.domain.json +++ b/docs/architecture/domains/records/workflow-templates.domain.json @@ -4,49 +4,28 @@ "description": "Template discovery, ranking, metadata, education, and thumbnail presentation.", "modules": [ { - "path": "src/components/actionbar/PartnerNodesEducationCard.vue", - "role": "presentation" + "path": "src/components/actionbar/PartnerNodesEducationCard.vue" }, { - "path": "src/components/sidebar/SidebarTemplatesButton.vue", - "role": "presentation" + "path": "src/components/sidebar/SidebarTemplatesButton.vue" }, { - "path": "src/platform/workflow/templates/**", - "role": "application" + "path": "src/platform/workflow/templates/**" }, { - "path": "src/platform/workflow/templates/components/**", - "role": "presentation" + "path": "packages/shared-frontend-utils/src/templateRanking.ts" }, { - "path": "src/platform/workflow/templates/repositories/workflowTemplatesStore.ts", - "role": "infrastructure" + "path": "packages/shared-frontend-utils/src/templateSearch.ts" }, { - "path": "src/platform/workflow/templates/utils/**", - "role": "domain" + "path": "packages/api-client/src/templateSchema.ts" }, { - "path": "packages/shared-frontend-utils/src/templateRanking.ts", - "role": "domain" - }, - { - "path": "packages/shared-frontend-utils/src/templateSearch.ts", - "role": "domain" - }, - { - "path": "packages/api-client/src/templateSchema.ts", - "role": "domain" - }, - { - "path": "packages/api-client/src/templateTypes.ts", - "role": "domain" + "path": "packages/api-client/src/templateTypes.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["telemetry"], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Template ranking and display metadata remain deterministic", diff --git a/docs/architecture/domains/records/workflow-thumbnails.domain.json b/docs/architecture/domains/records/workflow-thumbnails.domain.json index 6cdedfbae3e..e578c672e4b 100644 --- a/docs/architecture/domains/records/workflow-thumbnails.domain.json +++ b/docs/architecture/domains/records/workflow-thumbnails.domain.json @@ -4,17 +4,10 @@ "description": "Offscreen rendering of a graph overview image and per-workflow thumbnail capture and caching for workflow tab hover previews. Reuses the minimap canvas renderer and spatial bounds calculation; the workflow store, workflow service, and tab components remain with their owning domains.", "modules": [ { - "path": "src/renderer/core/thumbnail/**", - "role": "application" - }, - { - "path": "src/renderer/core/thumbnail/graphThumbnailRenderer.ts", - "role": "infrastructure" + "path": "src/renderer/core/thumbnail/**" } ], "publicEntryPoints": [], - "allowedDependencies": [], - "allowedConsumers": [], "characterizationScenarios": [ { "name": "Workflow thumbnails are captured, cached, and shown on tab hover", @@ -26,7 +19,7 @@ ], "adrs": [], "compatibilityPromises": [ - "Existing workflow store, workflow service, and workflow tab imports of thumbnail internals remain visible as cross-domain coupling debt; classification does not grant dependency exceptions.", + "Existing workflow store, workflow service, and workflow tab imports of thumbnail internals remain untracked cross-domain coupling debt; classification does not grant dependency exceptions.", "Thumbnail rendering depends on minimap rendering internals without owning them." ], "deepImports": "inventory" diff --git a/docs/architecture/domains/records/workspace.domain.json b/docs/architecture/domains/records/workspace.domain.json index 29d339c510d..e3b76c49a11 100644 --- a/docs/architecture/domains/records/workspace.domain.json +++ b/docs/architecture/domains/records/workspace.domain.json @@ -4,101 +4,73 @@ "description": "Team workspace collaboration and membership: the workspace API client, the team workspace store, workspace switching, create, edit, delete, and leave flows, members, roles, invites and invite links, workspace deep links, partner-node access governance, member credit limits, and membership mutation views. Workspace-scoped credential minting belongs to authentication; plans, subscriptions, top-ups, invoices, and billing capabilities belong to billing. Mixed account views and coordinators belong to account; shared transport contracts belong to ingest-api.", "modules": [ { - "path": "src/platform/workspace/api/__mocks__/**", - "role": "infrastructure" + "path": "src/platform/workspace/api/__mocks__/**" }, { - "path": "src/platform/workspace/api/partnerNodePolicyApi.ts", - "role": "infrastructure" + "path": "src/platform/workspace/api/partnerNodePolicyApi.ts" }, { - "path": "src/platform/workspace/api/webSessionAdapter.test.ts", - "role": "infrastructure" + "path": "src/platform/workspace/api/webSessionAdapter.test.ts" }, { - "path": "src/platform/workspace/api/workspaceApi.ts", - "role": "infrastructure" + "path": "src/platform/workspace/api/workspaceApi.ts" }, { - "path": "src/platform/workspace/api/workspaceApiAuth.ts", - "role": "integration" + "path": "src/platform/workspace/api/workspaceApiAuth.ts" }, { - "path": "src/platform/workspace/api/workspaceApiUrl.test.ts", - "role": "infrastructure" + "path": "src/platform/workspace/api/workspaceApiUrl.test.ts" }, { - "path": "src/platform/workspace/components/InviteMembersForm.vue", - "role": "presentation" + "path": "src/platform/workspace/components/InviteMembersForm.vue" }, { - "path": "src/platform/workspace/components/WorkspaceProfilePic.vue", - "role": "presentation" + "path": "src/platform/workspace/components/WorkspaceProfilePic.vue" }, { - "path": "src/platform/workspace/components/dialogs/**", - "role": "presentation" + "path": "src/platform/workspace/components/dialogs/**" }, { - "path": "src/platform/workspace/composables/__mocks__/**", - "role": "application" + "path": "src/platform/workspace/composables/__mocks__/**" }, { - "path": "src/platform/workspace/composables/useWorkspaceSwitch.ts", - "role": "application" + "path": "src/platform/workspace/composables/useWorkspaceSwitch.ts" }, { - "path": "src/platform/workspace/composables/useWorkspaceUI.ts", - "role": "application" + "path": "src/platform/workspace/composables/useWorkspaceUI.ts" }, { - "path": "src/platform/workspace/composables/useWorkspaceUrlLoader.ts", - "role": "integration" + "path": "src/platform/workspace/composables/useWorkspaceUrlLoader.ts" }, { - "path": "src/platform/workspace/fixtures/**", - "role": "application" + "path": "src/platform/workspace/fixtures/**" }, { - "path": "src/platform/workspace/stores/partnerNodeGovernanceStore.ts", - "role": "application" + "path": "src/platform/workspace/stores/partnerNodeGovernanceStore.ts" }, { - "path": "src/platform/workspace/stores/teamWorkspaceStore.ts", - "role": "application" + "path": "src/platform/workspace/stores/teamWorkspaceStore.ts" }, { - "path": "src/platform/workspace/utils/inviteLinks.ts", - "role": "application" + "path": "src/platform/workspace/utils/**" }, { - "path": "src/platform/workspace/utils/platformLink.ts", - "role": "application" + "path": "src/platform/workspace/workspaceConstants.ts" }, { - "path": "src/platform/workspace/workspaceConstants.ts", - "role": "domain" + "path": "src/platform/workspace/workspaceTypes.ts" }, { - "path": "src/platform/workspace/workspaceTypes.ts", - "role": "domain" + "path": "src/storybook/mocks/teamWorkspaceStore.ts" }, { - "path": "src/storybook/mocks/teamWorkspaceStore.ts", - "role": "application" + "path": "src/storybook/mocks/useWorkspaceUI.ts" }, { - "path": "src/storybook/mocks/useWorkspaceUI.ts", - "role": "application" - }, - { - "path": "packages/account-core/src/workspaceLink.ts", - "role": "domain" + "path": "packages/account-core/src/workspaceLink.ts" } ], "publicEntryPoints": [], - "allowedDependencies": ["ingest-api", "server-facts"], - "allowedConsumers": ["account"], "characterizationScenarios": [ { "name": "Team workspace store and API list, switch, create, and leave workspaces", diff --git a/docs/extensions/widgets-migration.md b/docs/extensions/widgets-migration.md index 3c762aba248..89f53e9ff97 100644 --- a/docs/extensions/widgets-migration.md +++ b/docs/extensions/widgets-migration.md @@ -110,6 +110,33 @@ Use `node.removeWidget(widget)` to remove a widget. Splicing `node.widgets` directly skips slot cleanup, and the removed widget's value stays in the store until the node itself is removed from the graph. +## Agent edits call `setValue` without a pointer event + +When the in-app Agent changes a widget on a `BaseWidget` subclass, the +frontend calls `widget.setValue(value, { node, canvas })`, the same method a +user edit goes through. Before, it assigned `widget.value` directly and then +called `callback` and `onWidgetChanged` itself. Plain-object widgets, +DynamicGroup row-count controllers and promoted subgraph-host widgets still get +that direct write. + +If you override `setValue`, accept options shaped `{ node, e?, canvas? }`: `e` +is never set for these calls, and `canvas` can be missing too. Don't read `options.e` +or `options.canvas` without checking them first. A wrapper that calls the +original `setValue` with only the value still works: the options default to +`{ node: widget.node }`. + +`callback` and `onWidgetChanged` now receive the value the widget accepted, not +the value the Agent sent. A number widget clamps to `min`/`max` and converts a +numeric string to a number. In `callback`, `e` is `undefined`, and so is +`pos` when there is no canvas. + +`setValue` returns without a change when the value, after a number widget +clamps and converts it, is already identical (`===`) to the current value, so +`'5'` on a number widget at `5` changes nothing. It also returns when a number +widget receives a value for which `Number(value)` is `NaN`. Neither `callback` +nor `onWidgetChanged` fires, and the graph version doesn't change. A numeric +string such as `'7'` is converted and applied. + ## Don't call `useWidgetValueStore()` from extension code Do not call `useWidgetValueStore()` from extensions. Use `node.widgets`, diff --git a/docs/release-process.md b/docs/release-process.md index b437c13cac2..59794df1b6a 100644 --- a/docs/release-process.md +++ b/docs/release-process.md @@ -64,6 +64,13 @@ Release labels alone do not start the backport. A merged PR with a the backport did not run. Each label is warned about once, and labels whose target already has an open or merged backport PR are left out. +To re-check a finished PR, run `pr-backport.yaml` by hand with its PR number. +The PR does not need `needs-backport` for this. Without `force_rerun`, targets +with an open or merged backport PR the workflow can find are reported and +skipped. Every other release label is cherry-picked: a backport that was on +hold starts, and one whose backport PR was closed without merging is opened +again. Remove the release label first if that target should stay skipped. + ## Release Sheriff Assignment The sheriff is a **fixed role**, declared in `.github/release-sheriff.json`: @@ -161,8 +168,15 @@ breakage is announced within the hour rather than on the spot. ## Publishing Merged PRs with the `Release` label trigger `release-draft-create.yaml`, -publishing to GitHub Releases (`dist.zip`), PyPI (`comfyui-frontend-package`), -and npm (`@comfyorg/comfyui-frontend-types`). +publishing to GitHub Releases (`dist.zip` and `dist-desktop.zip`) and npm +(`@comfyorg/comfyui-frontend-types`). + +Stable PyPI versions of `comfyui-frontend-package` are published only by +`release-weekly-comfyui.yaml`, for the version each run targets +(`release-pypi-dev.yaml` publishes `.devN` builds from the ref it is +dispatched on, normally `main`). A patch +released through a `Release` PR on any other line is on GitHub Releases but not +on PyPI until that workflow runs for it. ## Weekly ComfyUI Integration @@ -183,9 +197,9 @@ downgrade or do nothing. | Workflow | Purpose | | -------------------------------- | ------------------------------------------------ | | `release-version-bump.yaml` | Bump version, create Release PR | -| `release-draft-create.yaml` | Build + publish to GitHub/PyPI/npm | +| `release-draft-create.yaml` | Build + publish to GitHub Releases/npm | | `release-branch-create.yaml` | Create `core/` + `cloud/` branches (minor/major) | -| `release-weekly-comfyui.yaml` | Weekly auto-patch + ComfyUI requirements PR | +| `release-weekly-comfyui.yaml` | Auto-patch, PyPI publish, ComfyUI pin PR | | `pr-backport.yaml` | Cherry-pick fixes to stable branches | | `cloud-backport-tag.yaml` | Tag cloud branch merges | | `pr-assign-release-sheriff.yaml` | Assign the sheriff to backport/release/bot PRs | diff --git a/docs/testing/unit-testing.md b/docs/testing/unit-testing.md index 5ca2d152281..0994cd104b4 100644 --- a/docs/testing/unit-testing.md +++ b/docs/testing/unit-testing.md @@ -225,10 +225,8 @@ Creating mock node definitions for testing: ```typescript // Example from a colocated schema unit test import { describe, expect, it } from 'vitest' -import { - type ComfyNodeDef, - validateComfyNodeDef -} from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' +import { validateComfyNodeDef } from '@comfyorg/object-info-parser' // Create a complete mock node definition const EXAMPLE_NODE_DEF: ComfyNodeDef = { diff --git a/eslint.config.ts b/eslint.config.ts index 33758948712..e84a8c8013f 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -399,6 +399,8 @@ export default defineConfig([ 'vue/multi-word-component-names': 'off', // TODO: fix 'vue/no-template-shadow': 'off', // TODO: fix 'vue/match-component-import-name': 'error', + 'vue/no-content-outside-block': 'error', + 'vue/no-props-shadow': 'error', 'vue/no-unused-properties': 'error', 'vue/no-unused-refs': 'error', 'vue/no-useless-mustaches': 'error', diff --git a/oxlint-suppressions.json b/oxlint-suppressions.json index 96fc76e6ca3..4f821d001e8 100644 --- a/oxlint-suppressions.json +++ b/oxlint-suppressions.json @@ -151,7 +151,7 @@ }, "src/composables/auth/useAuthActions.ts": { "comfy/no-new-error-throw": { - "count": 3 + "count": 1 } }, "src/composables/canvas/useFocusNode.test.ts": { @@ -506,11 +506,6 @@ "count": 1 } }, - "src/platform/billing/components/TopUpCreditsDialogContentLegacy.test.ts": { - "comfy/no-unread-hoisted-mock-state": { - "count": 1 - } - }, "src/platform/billing/components/UnifiedPricingTable.test.ts": { "comfy/no-unread-hoisted-mock-state": { "count": 1 @@ -576,21 +571,6 @@ "count": 1 } }, - "src/platform/billing/subscription/components/CreditsTile.vue": { - "comfy/no-new-error-throw": { - "count": 1 - } - }, - "src/platform/billing/subscription/components/PricingTable.test.ts": { - "comfy/no-unread-hoisted-mock-state": { - "count": 1 - } - }, - "src/platform/billing/subscription/composables/usePricingTableUrlLoader.test.ts": { - "comfy/no-unread-hoisted-mock-state": { - "count": 2 - } - }, "src/platform/billing/subscription/composables/useSubscriptionActions.test.ts": { "comfy/no-unread-hoisted-mock-state": { "count": 1 @@ -611,11 +591,6 @@ "count": 1 } }, - "src/platform/billing/subscription/utils/subscriptionCheckoutUtil.test.ts": { - "comfy/no-unread-hoisted-mock-state": { - "count": 2 - } - }, "src/platform/cloud/oauth/oauthApi.ts": { "comfy/no-new-error-throw": { "count": 8 @@ -1114,7 +1089,7 @@ }, "src/types/index.ts": { "comfy/no-reexports": { - "count": 37 + "count": 35 } }, "src/types/slotId.test.ts": { diff --git a/package.json b/package.json index 6ec7ee171c2..149f7f4f91e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@comfyorg/comfyui-frontend", - "version": "1.60.0", + "version": "1.61.0", "private": true, "description": "Official front-end implementation of ComfyUI", "homepage": "https://comfy.org", @@ -12,6 +12,7 @@ "architecture:check": "tsx tools/architecture/src/cli.ts --check", "architecture:update": "tsx tools/architecture/src/cli.ts --update", "adr:check": "tsx scripts/check-adrs.ts", + "command-locales:check": "tsx scripts/check-command-locales.ts", "follower-invariants:check": "tsx scripts/check-follower-invariants.ts", "audit:inherited-classes": "tsx tools/design-system-audits/src/cli.ts", "follower-document-mutations:check": "tsx scripts/check-follower-document-mutations.ts", @@ -210,7 +211,7 @@ "eslint-plugin-vue": "catalog:", "fallow": "catalog:", "fast-check": "catalog:", - "fs-extra": "^11.2.0", + "fs-extra": "catalog:", "globals": "catalog:", "happy-dom": "catalog:", "husky": "catalog:", @@ -248,11 +249,11 @@ "vue-eslint-parser": "catalog:", "vue-tsc": "catalog:", "yaml": "catalog:", - "zip-dir": "^2.0.0" + "zip-dir": "catalog:" }, "engines": { "node": ">=26.8.2 <27", "pnpm": ">=11.3" }, - "packageManager": "pnpm@11.13.1" + "packageManager": "pnpm@11.28.10" } diff --git a/packages/account-core/package.json b/packages/account-core/package.json index 7894d4682f4..26c9f8dda70 100644 --- a/packages/account-core/package.json +++ b/packages/account-core/package.json @@ -1,6 +1,6 @@ { "name": "@comfyorg/account-core", - "version": "1.0.0-alpha.4", + "version": "1.0.0-alpha.5", "description": "Shared account layer: a framework-free session core that exchanges a signed-in identity for the workspace-scoped Cloud JWT with valid-on-read freshness, plus the package-owned Firebase identity entry. It has no view layer and no Vue dependency; the composables and unstyled components ship from @comfyorg/account-ui", "keywords": [], "homepage": "https://comfy.org", diff --git a/packages/account-core/src/core/billing/addCredits/addCreditsAmount.test.ts b/packages/account-core/src/core/billing/addCredits/addCreditsAmount.test.ts new file mode 100644 index 00000000000..4ad9358de94 --- /dev/null +++ b/packages/account-core/src/core/billing/addCredits/addCreditsAmount.test.ts @@ -0,0 +1,57 @@ +import { describe, expect, it } from 'vitest' + +import { + ADD_CREDITS_FALLBACK_BOUNDS, + checkAddCreditsAmount, + initialAddCreditsAmount +} from './addCreditsAmount' + +const BOUNDS = ADD_CREDITS_FALLBACK_BOUNDS + +describe('checkAddCreditsAmount', () => { + it.for([ + { input: '', expected: { status: 'empty' } }, + { input: ' ', expected: { status: 'empty' } }, + { input: '40', expected: { status: 'valid', cents: 4000 } }, + { input: '12.', expected: { status: 'valid', cents: 1200 } }, + { input: '12.00', expected: { status: 'valid', cents: 1200 } }, + { input: '5', expected: { status: 'valid', cents: 500 } }, + { input: '10000', expected: { status: 'valid', cents: 1_000_000 } }, + { input: '3', expected: { status: 'invalid', error: 'below_min' } }, + { input: '0.5', expected: { status: 'invalid', error: 'below_min' } }, + { input: '10001', expected: { status: 'invalid', error: 'above_max' } }, + { input: '12.34', expected: { status: 'invalid', error: 'whole_dollars' } }, + { input: '12.5', expected: { status: 'invalid', error: 'whole_dollars' } }, + { input: 'abc', expected: { status: 'invalid', error: 'whole_dollars' } }, + { input: '.', expected: { status: 'invalid', error: 'whole_dollars' } }, + { input: '-5', expected: { status: 'invalid', error: 'whole_dollars' } } + ])('reads "$input" as $expected.status', ({ input, expected }) => { + expect( + checkAddCreditsAmount({ kind: 'custom', input }, BOUNDS) + ).toStrictEqual(expected) + }) + + it('checks a preset against the served bounds', () => { + expect( + checkAddCreditsAmount( + { kind: 'preset', cents: 10000 }, + { minCents: 500, maxCents: 5000 } + ) + ).toStrictEqual({ status: 'invalid', error: 'above_max' }) + }) +}) + +describe('initialAddCreditsAmount', () => { + it.for([ + { suggested: undefined, expected: { kind: 'preset', cents: 5000 } }, + { suggested: null, expected: { kind: 'preset', cents: 5000 } }, + { suggested: 5000, expected: { kind: 'preset', cents: 5000 } }, + { suggested: 11400, expected: { kind: 'custom', input: '114' } }, + { suggested: 11450, expected: { kind: 'preset', cents: 5000 } } + ])( + 'opens on $expected.kind for a suggestion of $suggested', + ({ suggested, expected }) => { + expect(initialAddCreditsAmount(suggested)).toStrictEqual(expected) + } + ) +}) diff --git a/packages/account-core/src/core/billing/addCredits/addCreditsAmount.ts b/packages/account-core/src/core/billing/addCredits/addCreditsAmount.ts new file mode 100644 index 00000000000..6b70a5bd55b --- /dev/null +++ b/packages/account-core/src/core/billing/addCredits/addCreditsAmount.ts @@ -0,0 +1,76 @@ +/** The dollar presets the Add credits dialog offers, in cents. */ +export const ADD_CREDITS_PRESETS_CENTS: readonly number[] = [ + 1000, 2500, 5000, 10000 +] + +export const ADD_CREDITS_DEFAULT_CENTS = 5000 + +/** Used only while the balance response omits `min_topup_cents` / `max_topup_cents`. */ +export const ADD_CREDITS_FALLBACK_BOUNDS: AddCreditsBounds = { + minCents: 500, + maxCents: 1_000_000 +} + +export interface AddCreditsBounds { + readonly minCents: number + readonly maxCents: number +} + +export type AddCreditsAmount = + | { readonly kind: 'preset'; readonly cents: number } + | { readonly kind: 'custom'; readonly input: string } + +export type AddCreditsAmountError = 'below_min' | 'above_max' | 'whole_dollars' + +export type AddCreditsAmountCheck = + | { readonly status: 'empty' } + | { readonly status: 'valid'; readonly cents: number } + | { readonly status: 'invalid'; readonly error: AddCreditsAmountError } + +const WHOLE_DOLLARS = /^(\d+)(?:\.0*)?$/ +const DECIMAL = /^\d*\.?\d*$/ + +function checkCents( + cents: number, + bounds: AddCreditsBounds +): AddCreditsAmountCheck { + if (cents < bounds.minCents) return { status: 'invalid', error: 'below_min' } + if (cents > bounds.maxCents) return { status: 'invalid', error: 'above_max' } + return { status: 'valid', cents } +} + +/** Whole dollars only: `12`, `12.` and `12.00` are $12; anything else is an error, never rewritten. */ +export function checkAddCreditsAmount( + amount: AddCreditsAmount, + bounds: AddCreditsBounds +): AddCreditsAmountCheck { + if (amount.kind === 'preset') return checkCents(amount.cents, bounds) + const input = amount.input.trim() + if (input === '') return { status: 'empty' } + const whole = WHOLE_DOLLARS.exec(input) + if (whole) return checkCents(Number(whole[1]) * 100, bounds) + if (!DECIMAL.test(input) || input === '.') { + return { status: 'invalid', error: 'whole_dollars' } + } + const cents = Math.round(Number(input) * 100) + return cents < bounds.minCents + ? { status: 'invalid', error: 'below_min' } + : { status: 'invalid', error: 'whole_dollars' } +} + +/** + * The amount the dialog opens with: the served `suggested_topup_amount_cents` + * as a typed amount when it is above the $50 default, else the $50 preset. + */ +export function initialAddCreditsAmount( + suggestedTopupCents: number | null | undefined +): AddCreditsAmount { + if ( + suggestedTopupCents != null && + suggestedTopupCents > ADD_CREDITS_DEFAULT_CENTS && + suggestedTopupCents % 100 === 0 + ) { + return { kind: 'custom', input: String(suggestedTopupCents / 100) } + } + return { kind: 'preset', cents: ADD_CREDITS_DEFAULT_CENTS } +} diff --git a/packages/account-core/src/core/billing/addCredits/addCreditsCopy.ts b/packages/account-core/src/core/billing/addCredits/addCreditsCopy.ts new file mode 100644 index 00000000000..b82aa2b88fc --- /dev/null +++ b/packages/account-core/src/core/billing/addCredits/addCreditsCopy.ts @@ -0,0 +1,115 @@ +import type { AddCreditsAmountError } from './addCreditsAmount' +import type { AddCreditsWait } from './addCreditsRefusal' + +/** One English table every host translates by key; `{support}` marks where the support link renders. */ +export const ADD_CREDITS_COPY = { + title: 'Add credits', + customAmountLabel: 'Or enter an amount', + 'amountError.below_min': 'Minimum is {amount}.', + 'amountError.above_max': + 'The largest top-up is {amount}. Add more with another top-up.', + 'amountError.whole_dollars': 'Whole dollars only.', + negativeBalance: + 'Your balance is −{credits} credits. This top-up covers that first.', + 'planLine.no_plan': + "Buying credits doesn't start a Cloud plan. Subscribe to run workflows on Cloud.", + 'planLine.ended': + "Buying credits doesn't restart your Cloud plan. Resubscribe to run workflows on Cloud.", + 'planLine.free_runs': + "Buying credits doesn't start a Cloud plan. Subscribe to keep running workflows once your free runs are used.", + credits: '{credits} credits', + creditsUnavailable: '— credits', + paidAtCheckout: '{amount}, paid at checkout', + continue: 'Continue', + opening: 'Opening…', + 'processing.title': 'A {amount} payment is still processing', + 'processing.titleNoAmount': 'A payment is still processing', + 'processing.body': 'No need to pay again.', + 'needsVerification.title': 'Your {amount} payment needs verification', + 'needsVerification.titleNoAmount': 'Your payment needs verification', + 'needsVerification.body': + 'Your bank is waiting for you to confirm it. Verify it to finish this top-up.', + 'needsVerification.footer': '{amount}, unverified', + 'needsVerification.action': 'Verify payment', + 'notVerified.title': "Your {amount} payment wasn't verified", + 'notVerified.titleNoAmount': "Your payment wasn't verified", + 'notVerified.body': + "Your bank didn't confirm it. Try again later, or contact support.", + 'notVerified.footerTitle': '{amount} top-up', + 'notVerified.footer': 'Not verified', + 'notVerified.action': 'Contact support', + 'checkoutFailed.title': "Couldn't open checkout", + 'checkoutFailed.body': 'Nothing was charged. Try again.', + 'notAllowed.title': "You can't add credits right now", + 'notAllowed.body': 'Check Billing settings to see why.', + 'rateLimited.title': "You've hit the top-up limit for now", + 'rateLimited.body': 'Try again in {wait}, or {support}.', + 'rateLimited.bodyNoWait': 'Try again later, or {support}.', + 'purchasesPaused.title': "Buying credits isn't available right now", + 'purchasesPaused.body': 'Try again later, or {support}.', + messageSupport: 'message support', + 'wait.minute': 'a minute', + 'wait.minutes': '{count} minutes', + 'wait.hour': 'an hour', + 'wait.hours': '{count} hours', + 'wait.day': 'a day', + 'wait.days': '{count} days', + 'opened.title': 'Checkout opened in a new tab', + 'opened.titleBrowser': 'Checkout opened in your browser', + 'opened.body': + 'Credits are added to this workspace as soon as your payment goes through.', + 'opened.credits': 'Credits', + 'opened.amount': 'Amount', + 'opened.reopen': 'Reopen checkout', + close: 'Close', + 'blocked.title': "Checkout didn't open", + 'blocked.body': + 'Your browser blocked the new tab. Open checkout to finish paying.', + 'blocked.action': 'Open checkout' +} as const satisfies Record + +export type AddCreditsCopyKey = keyof typeof ADD_CREDITS_COPY + +/** The surface-only plan line a host passes in from its served plan state. */ +export type AddCreditsPlanLine = 'no_plan' | 'ended' | 'free_runs' + +export type AddCreditsCopyParams = Readonly> + +/** The host's translator; the default fills the English table. */ +export type AddCreditsTranslate = ( + key: AddCreditsCopyKey, + params?: AddCreditsCopyParams +) => string + +export const translateAddCreditsDefault: AddCreditsTranslate = ( + key, + params = {} +) => + ADD_CREDITS_COPY[key].replace(/\{(\w+)\}/g, (token, name: string) => + name in params ? String(params[name]) : token + ) + +export function amountErrorCopyKey( + error: AddCreditsAmountError +): AddCreditsCopyKey { + return `amountError.${error}` +} + +const WAIT_KEYS = { + minute: ['wait.minute', 'wait.minutes'], + hour: ['wait.hour', 'wait.hours'], + day: ['wait.day', 'wait.days'] +} as const satisfies Record< + Exclude, + readonly [AddCreditsCopyKey, AddCreditsCopyKey] +> + +export function waitCopy( + wait: Exclude, + translate: AddCreditsTranslate +): string { + const [one, many] = WAIT_KEYS[wait.unit] + return wait.count === 1 + ? translate(one) + : translate(many, { count: wait.count }) +} diff --git a/packages/account-core/src/core/billing/addCredits/addCreditsDialog.test.ts b/packages/account-core/src/core/billing/addCredits/addCreditsDialog.test.ts new file mode 100644 index 00000000000..a6f14b9be57 --- /dev/null +++ b/packages/account-core/src/core/billing/addCredits/addCreditsDialog.test.ts @@ -0,0 +1,270 @@ +import { describe, expect, it } from 'vitest' + +import { ADD_CREDITS_FALLBACK_BOUNDS } from './addCreditsAmount' +import type { + AddCreditsEvent, + AddCreditsFacts, + AddCreditsState +} from './addCreditsDialog' +import { + reduceAddCredits, + startAddCredits, + viewAddCreditsAmount +} from './addCreditsDialog' + +const FIFTY = { kind: 'preset', cents: 5000 } as const +const FAILED = { kind: 'checkout_failed' } as const +const URL = 'https://billing.comfy.org/topup?session=1' + +const STATES = { + amount: { step: 'amount', amount: FIFTY }, + openingWithTab: { + step: 'opening', + amount: FIFTY, + amountCents: 5000, + origin: 'amount', + tabReserved: true + }, + openingWithoutTab: { + step: 'opening', + amount: FIFTY, + amountCents: 5000, + origin: 'amount', + tabReserved: false + }, + reopening: { + step: 'opening', + amount: FIFTY, + amountCents: 5000, + origin: 'checkout_opened', + tabReserved: true + }, + opened: { step: 'checkout_opened', amount: FIFTY, amountCents: 5000 }, + blocked: { + step: 'checkout_blocked', + amount: FIFTY, + amountCents: 5000, + checkoutUrl: URL + }, + landed: { step: 'landed' } +} as const satisfies Record + +type StateName = keyof typeof STATES + +const EVENTS = { + preset: { type: 'preset_picked', cents: 2500 }, + typed: { type: 'amount_typed', input: '40' }, + requested: { + type: 'checkout_requested', + amountCents: 5000, + tabReserved: true + }, + created: { type: 'checkout_created', checkoutUrl: URL }, + refused: { type: 'checkout_refused', refusal: FAILED }, + abandoned: { type: 'checkout_abandoned' }, + followed: { type: 'blocked_link_followed' }, + landed: { type: 'payment_landed' } +} as const satisfies Record + +type EventName = keyof typeof EVENTS + +const TRANSITIONS: Partial< + Record>> +> = { + amount: { + preset: { step: 'amount', amount: { kind: 'preset', cents: 2500 } }, + typed: { step: 'amount', amount: { kind: 'custom', input: '40' } }, + requested: STATES.openingWithTab + }, + openingWithTab: { + created: STATES.opened, + refused: { step: 'amount', amount: FIFTY, refusal: FAILED }, + abandoned: STATES.amount, + landed: STATES.landed + }, + openingWithoutTab: { + created: STATES.blocked, + refused: { step: 'amount', amount: FIFTY, refusal: FAILED }, + abandoned: STATES.amount, + landed: STATES.landed + }, + reopening: { + created: STATES.opened, + refused: { ...STATES.opened, refusal: FAILED }, + abandoned: STATES.opened, + landed: STATES.landed + }, + opened: { requested: STATES.reopening, landed: STATES.landed }, + blocked: { followed: STATES.opened, landed: STATES.landed } +} + +const PAIRS = Object.keys(STATES).flatMap((state) => + Object.keys(EVENTS).map((event) => ({ + state: state as StateName, + event: event as EventName + })) +) + +describe('reduceAddCredits', () => { + it.for(PAIRS)('$state + $event', ({ state, event }) => { + expect(reduceAddCredits(STATES[state], EVENTS[event])).toStrictEqual( + TRANSITIONS[state]?.[event] ?? STATES[state] + ) + }) + + it('a refused amount clears its notice once the amount changes', () => { + const refused = reduceAddCredits(STATES.openingWithTab, EVENTS.refused) + + expect(reduceAddCredits(refused, EVENTS.typed)).toStrictEqual({ + step: 'amount', + amount: { kind: 'custom', input: '40' } + }) + }) + + it('starts on the amount step', () => { + expect(startAddCredits(FIFTY)).toStrictEqual(STATES.amount) + }) +}) + +const ALLOWED: AddCreditsFacts = { + bounds: ADD_CREDITS_FALLBACK_BOUNDS, + canTopUp: true +} + +describe('viewAddCreditsAmount', () => { + it.for<{ + name: string + state: AddCreditsState & { step: 'amount' | 'opening' } + facts?: Partial + expected: Record + }>([ + { + name: 'the default amount', + state: STATES.amount, + expected: { + amountCents: 5000, + notice: undefined, + locked: false, + canContinue: true + } + }, + { + name: 'an emptied field', + state: { step: 'amount', amount: { kind: 'custom', input: '' } }, + expected: { amountCents: undefined, canContinue: false } + }, + { + name: 'an amount below the minimum', + state: { step: 'amount', amount: { kind: 'custom', input: '3' } }, + expected: { + check: { status: 'invalid', error: 'below_min' }, + canContinue: false + } + }, + { + name: 'opening checkout', + state: STATES.openingWithTab, + expected: { locked: true, opening: true, canContinue: false } + }, + { + name: "couldn't open checkout", + state: { step: 'amount', amount: FIFTY, refusal: FAILED }, + expected: { + notice: { kind: 'refusal', refusal: FAILED }, + canContinue: true + } + }, + { + name: 'rate limited', + state: { + step: 'amount', + amount: FIFTY, + refusal: { kind: 'rate_limited', retryAfterSeconds: 60 } + }, + expected: { + notice: { + kind: 'refusal', + refusal: { kind: 'rate_limited', retryAfterSeconds: 60 } + }, + canContinue: false + } + }, + { + name: 'can_top_up going false', + state: { step: 'amount', amount: FIFTY, refusal: FAILED }, + facts: { canTopUp: false }, + expected: { + notice: { kind: 'refusal', refusal: { kind: 'not_allowed' } }, + canContinue: false + } + }, + { + name: 'purchases stopped while open', + state: STATES.amount, + facts: { + canTopUp: false, + canTopUpRefusal: { kind: 'purchases_paused' } + }, + expected: { + notice: { kind: 'refusal', refusal: { kind: 'purchases_paused' } }, + canContinue: false + } + }, + { + name: 'a denial served with a non-blocking refusal', + state: STATES.amount, + facts: { canTopUp: false, canTopUpRefusal: FAILED }, + expected: { + notice: { kind: 'refusal', refusal: FAILED }, + canContinue: false + } + }, + { + name: 'an earlier payment still processing', + state: STATES.amount, + facts: { pendingTopup: { kind: 'processing', amountCents: 2500 } }, + expected: { + amountCents: 5000, + notice: { kind: 'processing', amountCents: 2500 }, + locked: false, + canContinue: true + } + }, + { + name: 'a payment that needs verification', + state: STATES.amount, + facts: { + pendingTopup: { + kind: 'needs_verification', + amountCents: 2500, + verifyUrl: URL + } + }, + expected: { + amountCents: 2500, + notice: { + kind: 'needs_verification', + amountCents: 2500, + verifyUrl: URL + }, + locked: true, + canContinue: false + } + }, + { + name: "a payment that wasn't verified", + state: STATES.amount, + facts: { pendingTopup: { kind: 'not_verified' } }, + expected: { + amountCents: undefined, + notice: { kind: 'not_verified' }, + locked: true, + canContinue: false + } + } + ])('$name', ({ state, facts, expected }) => { + expect(viewAddCreditsAmount(state, { ...ALLOWED, ...facts })).toMatchObject( + expected + ) + }) +}) diff --git a/packages/account-core/src/core/billing/addCredits/addCreditsDialog.ts b/packages/account-core/src/core/billing/addCredits/addCreditsDialog.ts new file mode 100644 index 00000000000..acdd4502e02 --- /dev/null +++ b/packages/account-core/src/core/billing/addCredits/addCreditsDialog.ts @@ -0,0 +1,247 @@ +import type { + AddCreditsAmount, + AddCreditsAmountCheck, + AddCreditsBounds +} from './addCreditsAmount' +import { checkAddCreditsAmount } from './addCreditsAmount' +import type { AddCreditsRefusal } from './addCreditsRefusal' + +/** + * The dialog's own workflow. `opening` remembers whether a tab was reserved + * in the click, because without one the session is still created and offered + * as a plain link. + */ +export type AddCreditsState = + | { + readonly step: 'amount' + readonly amount: AddCreditsAmount + readonly refusal?: AddCreditsRefusal + } + | { + readonly step: 'opening' + readonly amount: AddCreditsAmount + readonly amountCents: number + readonly origin: 'amount' | 'checkout_opened' + readonly tabReserved: boolean + } + | { + readonly step: 'checkout_opened' + readonly amount: AddCreditsAmount + readonly amountCents: number + readonly refusal?: AddCreditsRefusal + } + | { + readonly step: 'checkout_blocked' + readonly amount: AddCreditsAmount + readonly amountCents: number + readonly checkoutUrl: string + } + | { readonly step: 'landed' } + +export type AddCreditsEvent = + | { readonly type: 'preset_picked'; readonly cents: number } + | { readonly type: 'amount_typed'; readonly input: string } + | { + readonly type: 'checkout_requested' + readonly amountCents: number + readonly tabReserved: boolean + } + | { readonly type: 'checkout_created'; readonly checkoutUrl: string } + | { readonly type: 'checkout_refused'; readonly refusal: AddCreditsRefusal } + | { readonly type: 'checkout_abandoned' } + | { readonly type: 'blocked_link_followed' } + | { readonly type: 'payment_landed' } + +export function startAddCredits(amount: AddCreditsAmount): AddCreditsState { + return { step: 'amount', amount } +} + +type EventOf = Extract< + AddCreditsEvent, + { readonly type: T } +> + +type Transition = ( + state: AddCreditsState, + event: EventOf +) => AddCreditsState + +type Opening = Extract + +function backToOrigin( + state: Opening, + refusal: AddCreditsRefusal | undefined +): AddCreditsState { + const withRefusal = refusal === undefined ? {} : { refusal } + return state.origin === 'checkout_opened' + ? { + step: 'checkout_opened', + amount: state.amount, + amountCents: state.amountCents, + ...withRefusal + } + : { step: 'amount', amount: state.amount, ...withRefusal } +} + +const TRANSITIONS: { readonly [T in AddCreditsEvent['type']]: Transition } = + { + preset_picked: (state, event) => + state.step === 'amount' + ? { step: 'amount', amount: { kind: 'preset', cents: event.cents } } + : state, + amount_typed: (state, event) => + state.step === 'amount' + ? { step: 'amount', amount: { kind: 'custom', input: event.input } } + : state, + checkout_requested: (state, event) => + state.step === 'amount' || state.step === 'checkout_opened' + ? { + step: 'opening', + amount: state.amount, + amountCents: event.amountCents, + origin: state.step, + tabReserved: event.tabReserved + } + : state, + checkout_created: (state, event) => { + if (state.step !== 'opening') return state + const { amount, amountCents } = state + return state.tabReserved + ? { step: 'checkout_opened', amount, amountCents } + : { + step: 'checkout_blocked', + amount, + amountCents, + checkoutUrl: event.checkoutUrl + } + }, + checkout_refused: (state, event) => + state.step === 'opening' ? backToOrigin(state, event.refusal) : state, + checkout_abandoned: (state) => + state.step === 'opening' ? backToOrigin(state, undefined) : state, + blocked_link_followed: (state) => + state.step === 'checkout_blocked' + ? { + step: 'checkout_opened', + amount: state.amount, + amountCents: state.amountCents + } + : state, + payment_landed: (state) => + state.step === 'amount' || state.step === 'landed' + ? state + : { step: 'landed' } + } + +export function reduceAddCredits( + state: AddCreditsState, + event: AddCreditsEvent +): AddCreditsState { + switch (event.type) { + case 'preset_picked': + return TRANSITIONS.preset_picked(state, event) + case 'amount_typed': + return TRANSITIONS.amount_typed(state, event) + case 'checkout_requested': + return TRANSITIONS.checkout_requested(state, event) + case 'checkout_created': + return TRANSITIONS.checkout_created(state, event) + case 'checkout_refused': + return TRANSITIONS.checkout_refused(state, event) + case 'checkout_abandoned': + return TRANSITIONS.checkout_abandoned(state, event) + case 'blocked_link_followed': + return TRANSITIONS.blocked_link_followed(state, event) + case 'payment_landed': + return TRANSITIONS.payment_landed(state, event) + } +} + +/** A top-up the server reports as still open when the dialog renders. */ +export type AddCreditsPendingTopup = + | { readonly kind: 'processing'; readonly amountCents?: number } + | { + readonly kind: 'needs_verification' + readonly amountCents?: number + readonly verifyUrl: string + } + | { readonly kind: 'not_verified'; readonly amountCents?: number } + +/** The served facts the dialog renders as received. */ +export interface AddCreditsFacts { + readonly bounds: AddCreditsBounds + /** Served `can_top_up`; false while the dialog is open shows a refusal and stops Continue. */ + readonly canTopUp: boolean + readonly canTopUpRefusal?: AddCreditsRefusal + readonly pendingTopup?: AddCreditsPendingTopup +} + +export type AddCreditsNotice = + | { readonly kind: 'refusal'; readonly refusal: AddCreditsRefusal } + | AddCreditsPendingTopup + +export interface AddCreditsAmountView { + readonly step: 'amount' | 'opening' + readonly amount: AddCreditsAmount + readonly check: AddCreditsAmountCheck + /** The amount the footer and the quote describe; undefined while none is valid. */ + readonly amountCents: number | undefined + readonly notice: AddCreditsNotice | undefined + readonly locked: boolean + readonly canContinue: boolean + readonly opening: boolean +} + +const BLOCKING_REFUSALS: ReadonlySet = new Set([ + 'rate_limited', + 'purchases_paused', + 'not_allowed' +]) + +/** A refusal that holds Continue and Reopen until the server lifts it. */ +export function addCreditsRefusalBlocks( + refusal: AddCreditsRefusal | undefined +): boolean { + return refusal !== undefined && BLOCKING_REFUSALS.has(refusal.kind) +} + +/** What the amount step renders, from the dialog state and the served facts. */ +export function viewAddCreditsAmount( + state: Extract, + facts: AddCreditsFacts +): AddCreditsAmountView { + const check = checkAddCreditsAmount(state.amount, facts.bounds) + const pending = facts.pendingTopup + const blockedByPending = + pending !== undefined && pending.kind !== 'processing' + const refusal = facts.canTopUp + ? state.step === 'amount' + ? state.refusal + : undefined + : (facts.canTopUpRefusal ?? { kind: 'not_allowed' }) + const notice: AddCreditsNotice | undefined = blockedByPending + ? pending + : refusal + ? { kind: 'refusal', refusal } + : pending + const opening = state.step === 'opening' + const locked = opening || blockedByPending + return { + step: state.step, + amount: state.amount, + check, + amountCents: blockedByPending + ? pending.amountCents + : check.status === 'valid' + ? check.cents + : undefined, + notice, + locked, + opening, + canContinue: + facts.canTopUp && + !locked && + check.status === 'valid' && + !addCreditsRefusalBlocks(refusal) + } +} diff --git a/packages/account-core/src/core/billing/addCredits/addCreditsRefusal.test.ts b/packages/account-core/src/core/billing/addCredits/addCreditsRefusal.test.ts new file mode 100644 index 00000000000..22e66f78abb --- /dev/null +++ b/packages/account-core/src/core/billing/addCredits/addCreditsRefusal.test.ts @@ -0,0 +1,107 @@ +import { describe, expect, it } from 'vitest' + +import { readBillingErrorCode } from '#/core/billing/billingErrorBody' +import type { HostedTopupCheckoutFailure } from '#/core/billing/topup' +import { + addCreditsRefusalFor, + addCreditsRefusalForDenial, + addCreditsWait +} from './addCreditsRefusal' + +function serverFailure( + httpStatus: number, + code: string, + extra: { retryAfterSeconds?: number } = {} +): HostedTopupCheckoutFailure { + const serverCode = readBillingErrorCode({ code, message: code }) + return { + status: 'error', + code: httpStatus === 403 ? 'ACCESS_DENIED' : 'REQUEST_FAILED', + httpStatus, + ...(serverCode === undefined ? {} : { serverCode }), + ...extra + } +} + +describe('addCreditsRefusalFor', () => { + it.for<{ + name: string + failure: HostedTopupCheckoutFailure + expected: unknown + }>([ + { + name: '429 with Retry-After', + failure: serverFailure(429, 'TOPUP_RATE_LIMITED', { + retryAfterSeconds: 2400 + }), + expected: { kind: 'rate_limited', retryAfterSeconds: 2400 } + }, + { + name: '429 without Retry-After', + failure: serverFailure(429, 'TOPUP_RATE_LIMITED'), + expected: { kind: 'rate_limited' } + }, + { + name: '403 purchases paused', + failure: serverFailure(403, 'TOPUP_PURCHASES_PAUSED'), + expected: { kind: 'purchases_paused' } + }, + { + name: 'capability refusal for paused purchases', + failure: { + status: 'error', + code: 'ACCESS_DENIED', + denial: 'topup_purchases_paused' + }, + expected: { kind: 'purchases_paused' } + }, + { + name: 'capability refusal without a reason', + failure: { status: 'error', code: 'ACCESS_DENIED' }, + expected: { kind: 'not_allowed' } + }, + { + name: 'unknown server code', + failure: serverFailure(400, 'SOMETHING_NEW'), + expected: { kind: 'checkout_failed' } + }, + { + name: 'network failure', + failure: { status: 'error', code: 'REQUEST_FAILED' }, + expected: { kind: 'checkout_failed' } + }, + { + name: 'route not deployed', + failure: { status: 'error', code: 'NOT_AVAILABLE' }, + expected: { kind: 'checkout_failed' } + } + ])('maps $name', ({ failure, expected }) => { + expect(addCreditsRefusalFor(failure)).toStrictEqual(expected) + }) +}) + +describe('addCreditsRefusalForDenial', () => { + it.for([ + { denial: 'topup_purchases_paused', kind: 'purchases_paused' }, + { denial: 'payment_past_due', kind: 'not_allowed' }, + { denial: undefined, kind: 'not_allowed' } + ] as const)('maps $denial to $kind', ({ denial, kind }) => { + expect(addCreditsRefusalForDenial(denial)).toStrictEqual({ kind }) + }) +}) + +describe('addCreditsWait', () => { + it.for([ + { seconds: undefined, expected: { unit: 'later' } }, + { seconds: 0, expected: { unit: 'later' } }, + { seconds: 30, expected: { unit: 'minute', count: 1 } }, + { seconds: 2400, expected: { unit: 'minute', count: 40 } }, + { seconds: 2401, expected: { unit: 'minute', count: 41 } }, + { seconds: 3600, expected: { unit: 'hour', count: 1 } }, + { seconds: 5400, expected: { unit: 'hour', count: 2 } }, + { seconds: 86_400, expected: { unit: 'day', count: 1 } }, + { seconds: 200_000, expected: { unit: 'day', count: 3 } } + ])('reads $seconds seconds as $expected', ({ seconds, expected }) => { + expect(addCreditsWait(seconds)).toStrictEqual(expected) + }) +}) diff --git a/packages/account-core/src/core/billing/addCredits/addCreditsRefusal.ts b/packages/account-core/src/core/billing/addCredits/addCreditsRefusal.ts new file mode 100644 index 00000000000..a1665b991e8 --- /dev/null +++ b/packages/account-core/src/core/billing/addCredits/addCreditsRefusal.ts @@ -0,0 +1,61 @@ +import { matchesServerCode } from '#/core/billing/billingContracts' +import type { CapabilityDenialReason } from '#/core/billing/capabilityDenials' +import type { HostedTopupCheckoutFailure } from '#/core/billing/topup' + +/** Why the server would not open a checkout; each kind has its own notice copy. */ +export type AddCreditsRefusal = + | { readonly kind: 'rate_limited'; readonly retryAfterSeconds?: number } + | { readonly kind: 'purchases_paused' } + | { readonly kind: 'not_allowed' } + | { readonly kind: 'checkout_failed' } + +export type AddCreditsWait = + | { readonly unit: 'later' } + | { readonly unit: 'minute' | 'hour' | 'day'; readonly count: number } + +const RATE_LIMITED = 'TOPUP_RATE_LIMITED' +const PURCHASES_PAUSED = 'TOPUP_PURCHASES_PAUSED' +const PURCHASES_PAUSED_DENIAL: CapabilityDenialReason = 'topup_purchases_paused' + +/** Maps a failed checkout to its notice; codes the dialog does not know read as "couldn't open checkout". */ +export function addCreditsRefusalFor( + failure: HostedTopupCheckoutFailure +): AddCreditsRefusal { + if ('serverCode' in failure && matchesServerCode(failure, RATE_LIMITED)) { + return failure.retryAfterSeconds === undefined + ? { kind: 'rate_limited' } + : { kind: 'rate_limited', retryAfterSeconds: failure.retryAfterSeconds } + } + if ('serverCode' in failure && matchesServerCode(failure, PURCHASES_PAUSED)) { + return { kind: 'purchases_paused' } + } + if (failure.code === 'ACCESS_DENIED') { + return addCreditsRefusalForDenial( + 'denial' in failure ? failure.denial : undefined + ) + } + return { kind: 'checkout_failed' } +} + +/** The served `can_top_up` refusal the dialog shows while it is open. */ +export function addCreditsRefusalForDenial( + denial: CapabilityDenialReason | undefined +): AddCreditsRefusal { + return denial === PURCHASES_PAUSED_DENIAL + ? { kind: 'purchases_paused' } + : { kind: 'not_allowed' } +} + +const MINUTE = 60 +const HOUR = 60 * MINUTE +const DAY = 24 * HOUR + +/** `Retry-After` seconds rounded up to the coarsest whole unit that still reads naturally. */ +export function addCreditsWait(seconds: number | undefined): AddCreditsWait { + if (seconds === undefined || seconds <= 0) return { unit: 'later' } + if (seconds < HOUR) { + return { unit: 'minute', count: Math.max(1, Math.ceil(seconds / MINUTE)) } + } + if (seconds < DAY) return { unit: 'hour', count: Math.ceil(seconds / HOUR) } + return { unit: 'day', count: Math.ceil(seconds / DAY) } +} diff --git a/packages/account-core/src/core/billing/billingContracts.ts b/packages/account-core/src/core/billing/billingContracts.ts index b9d32e519b6..1e76b2cf816 100644 --- a/packages/account-core/src/core/billing/billingContracts.ts +++ b/packages/account-core/src/core/billing/billingContracts.ts @@ -88,6 +88,8 @@ export type BillingFailure = { * client shows the same string. */ readonly serverMessage?: string + /** The response's `Retry-After`, when it was a whole number of seconds. */ + readonly retryAfterSeconds?: number } /** Whether a failure carries the server code a command names. */ diff --git a/packages/account-core/src/core/billing/billingTab/addCreditsAvailability.test.ts b/packages/account-core/src/core/billing/billingTab/addCreditsAvailability.test.ts new file mode 100644 index 00000000000..c62dee16523 --- /dev/null +++ b/packages/account-core/src/core/billing/billingTab/addCreditsAvailability.test.ts @@ -0,0 +1,73 @@ +import type { BillingTopUpDenial } from './addCreditsAvailability' +import { describe, expect, it } from 'vitest' + +import { addCreditsAvailability } from './addCreditsAvailability' + +const refused = { resolved: true, canTopUp: false } + +describe('addCreditsAvailability', () => { + it.for<{ + case: string + facts: { + resolved: boolean + canTopUp: boolean + denial: BillingTopUpDenial | undefined + } + expected: ReturnType + }>([ + { + case: 'an allowed top-up', + facts: { resolved: true, canTopUp: true, denial: undefined }, + expected: { kind: 'enabled' } + }, + { + case: 'capabilities not yet served', + facts: { resolved: false, canTopUp: false, denial: undefined }, + expected: { kind: 'hidden' } + }, + { + case: 'a member who is not the owner', + facts: { ...refused, denial: 'not_workspace_owner' }, + expected: { kind: 'hidden' } + }, + { + case: 'a caller outside the workspace', + facts: { ...refused, denial: 'not_a_member' }, + expected: { kind: 'hidden' } + }, + { + case: 'paused top-up purchases', + facts: { ...refused, denial: 'topup_purchases_paused' }, + expected: { + kind: 'disabled', + reasonKey: 'credits.addCreditsRefusal.topupPurchasesPaused' + } + }, + { + case: 'a past-due payment', + facts: { ...refused, denial: 'payment_past_due' }, + expected: { + kind: 'disabled', + reasonKey: 'credits.addCreditsRefusal.paymentPastDue' + } + }, + { + case: 'another served refusal', + facts: { ...refused, denial: 'creator_only_provisioning' }, + expected: { + kind: 'disabled', + reasonKey: 'credits.addCreditsRefusal.unavailable' + } + }, + { + case: 'a refusal with an unrecognized or missing reason', + facts: { ...refused, denial: undefined }, + expected: { + kind: 'disabled', + reasonKey: 'credits.addCreditsRefusal.unavailable' + } + } + ])('renders $case as $expected.kind', ({ facts, expected }) => { + expect(addCreditsAvailability(facts)).toEqual(expected) + }) +}) diff --git a/packages/account-core/src/core/billing/billingTab/addCreditsAvailability.ts b/packages/account-core/src/core/billing/billingTab/addCreditsAvailability.ts new file mode 100644 index 00000000000..3db37226c42 --- /dev/null +++ b/packages/account-core/src/core/billing/billingTab/addCreditsAvailability.ts @@ -0,0 +1,45 @@ +import type { BillingCapabilityDenials } from '@comfyorg/ingest-types' + +export type BillingTopUpDenial = NonNullable< + BillingCapabilityDenials['can_top_up'] +> + +export type AddCreditsAvailability = + | { kind: 'enabled' } + | { kind: 'hidden' } + | { kind: 'disabled'; reasonKey: string } + +const MEMBER_TOP_UP_DENIALS: ReadonlySet = new Set([ + 'not_workspace_owner', + 'not_a_member' +]) + +const REFUSAL_REASON_KEYS: Partial> = { + topup_purchases_paused: 'credits.addCreditsRefusal.topupPurchasesPaused', + payment_past_due: 'credits.addCreditsRefusal.paymentPastDue' +} + +const UNAVAILABLE_REASON_KEY = 'credits.addCreditsRefusal.unavailable' + +/** Whether the served `can_top_up` refusal names someone who is not the workspace owner. */ +export function isMemberTopUpDenial( + denial: BillingTopUpDenial | undefined +): boolean { + return denial !== undefined && MEMBER_TOP_UP_DENIALS.has(denial) +} + +/** How Add credits renders for the served `can_top_up` and its denial reason. */ +export function addCreditsAvailability(facts: { + resolved: boolean + canTopUp: boolean + denial: BillingTopUpDenial | undefined +}): AddCreditsAvailability { + if (facts.canTopUp) return { kind: 'enabled' } + if (!facts.resolved || isMemberTopUpDenial(facts.denial)) { + return { kind: 'hidden' } + } + const reasonKey = + (facts.denial && REFUSAL_REASON_KEYS[facts.denial]) ?? + UNAVAILABLE_REASON_KEY + return { kind: 'disabled', reasonKey } +} diff --git a/packages/account-core/src/core/billing/billingTab/autoTopUpCard.test.ts b/packages/account-core/src/core/billing/billingTab/autoTopUpCard.test.ts new file mode 100644 index 00000000000..5050da232db --- /dev/null +++ b/packages/account-core/src/core/billing/billingTab/autoTopUpCard.test.ts @@ -0,0 +1,93 @@ +import type { AutoReloadSettings } from '@comfyorg/ingest-types' +import { describe, expect, it } from 'vitest' + +import { deriveAutoTopUpCard, deriveAutoTopUpSection } from './autoTopUpCard' +import type { AutoTopUpSectionFacts } from './autoTopUpCard' + +const settings: AutoReloadSettings = { + card_expiry: null, + configured: true, + cycle_resets_at: null, + declined_payment_method: null, + disabled_reason: null, + enabled: true, + last_failure_at: null, + last_failure_reason: null, + max_monthly_budget_cents: 50_000, + max_reload_credits: null, + min_reload_credits: 0, + monthly_budget_cents: null, + monthly_budget_is_default: true, + paused_by_budget: false, + paused_by_budget_remainder: false, + paused_by_decline: false, + reload_amount_cents: 1_000, + reload_credits: null, + spent_this_cycle_cents: 0, + status: 'on', + target_credits: null, + threshold_credits: null +} + +describe('deriveAutoTopUpCard', () => { + it.for([ + { isLoading: true, settings: null, kind: 'loading' }, + { isLoading: false, settings: null, kind: 'unavailable' }, + { isLoading: false, settings, kind: 'loaded' }, + { isLoading: true, settings, kind: 'loaded' } + ] as const)( + 'loading=$isLoading with settings=$settings is $kind', + ({ isLoading, settings, kind }) => { + expect(deriveAutoTopUpCard({ isLoading, settings }).kind).toBe(kind) + } + ) + + it('carries the served settings when loaded', () => { + expect(deriveAutoTopUpCard({ isLoading: false, settings })).toEqual({ + kind: 'loaded', + settings + }) + }) +}) + +describe('deriveAutoTopUpSection', () => { + const owner: AutoTopUpSectionFacts = { + autoTopUpEnabled: true, + canManageAutoTopUp: true, + canTopUp: true, + manageAutoTopUpDenial: undefined + } + const member: AutoTopUpSectionFacts = { + autoTopUpEnabled: true, + canManageAutoTopUp: false, + canTopUp: false, + manageAutoTopUpDenial: 'not_workspace_owner' + } + + it.for<{ case: string; facts: AutoTopUpSectionFacts; kind: string }>([ + { case: 'an owner who can top up', facts: owner, kind: 'card' }, + { + case: 'an owner who cannot top up', + facts: { ...owner, canTopUp: false }, + kind: 'hidden' + }, + { case: 'a member', facts: member, kind: 'memberBlock' }, + { + case: 'a member with the flag off', + facts: { ...member, autoTopUpEnabled: false }, + kind: 'hidden' + }, + { + case: 'a not_a_member denial', + facts: { ...member, manageAutoTopUpDenial: 'not_a_member' }, + kind: 'hidden' + }, + { + case: 'no served denial', + facts: { ...member, manageAutoTopUpDenial: undefined }, + kind: 'hidden' + } + ])('shows $kind for $case', ({ facts, kind }) => { + expect(deriveAutoTopUpSection(facts).kind).toBe(kind) + }) +}) diff --git a/packages/account-core/src/core/billing/billingTab/autoTopUpCard.ts b/packages/account-core/src/core/billing/billingTab/autoTopUpCard.ts new file mode 100644 index 00000000000..0894a012605 --- /dev/null +++ b/packages/account-core/src/core/billing/billingTab/autoTopUpCard.ts @@ -0,0 +1,42 @@ +import type { AutoReloadSettings } from '@comfyorg/ingest-types' + +export type AutoTopUpCardState = + | { kind: 'loading' } + | { kind: 'unavailable' } + | { kind: 'loaded'; settings: AutoReloadSettings } + +export interface AutoTopUpCardFacts { + isLoading: boolean + settings: AutoReloadSettings | null +} + +/** Served settings win over an in-flight refresh; no settings after a read is unavailable. */ +export function deriveAutoTopUpCard( + facts: AutoTopUpCardFacts +): AutoTopUpCardState { + if (facts.settings) return { kind: 'loaded', settings: facts.settings } + return facts.isLoading ? { kind: 'loading' } : { kind: 'unavailable' } +} + +export type AutoTopUpSection = + | { kind: 'card' } + | { kind: 'memberBlock' } + | { kind: 'hidden' } + +export interface AutoTopUpSectionFacts { + autoTopUpEnabled: boolean + canManageAutoTopUp: boolean + canTopUp: boolean + manageAutoTopUpDenial: string | undefined +} + +/** The card for an owner who can top up; the member block only for a served `not_workspace_owner` denial. */ +export function deriveAutoTopUpSection( + facts: AutoTopUpSectionFacts +): AutoTopUpSection { + if (!facts.autoTopUpEnabled) return { kind: 'hidden' } + if (facts.canManageAutoTopUp && facts.canTopUp) return { kind: 'card' } + return facts.manageAutoTopUpDenial === 'not_workspace_owner' + ? { kind: 'memberBlock' } + : { kind: 'hidden' } +} diff --git a/src/platform/billing/components/billingTab/creditsCard.test.ts b/packages/account-core/src/core/billing/billingTab/creditsCard.test.ts similarity index 100% rename from src/platform/billing/components/billingTab/creditsCard.test.ts rename to packages/account-core/src/core/billing/billingTab/creditsCard.test.ts diff --git a/src/platform/billing/components/billingTab/creditsCard.ts b/packages/account-core/src/core/billing/billingTab/creditsCard.ts similarity index 72% rename from src/platform/billing/components/billingTab/creditsCard.ts rename to packages/account-core/src/core/billing/billingTab/creditsCard.ts index 8e3771920ad..8a66017bc4e 100644 --- a/src/platform/billing/components/billingTab/creditsCard.ts +++ b/packages/account-core/src/core/billing/billingTab/creditsCard.ts @@ -1,11 +1,25 @@ -import type { BalanceInfo } from '@/platform/billing/composables/types' -import type { AutoReloadSettings, BillingStatus } from '@comfyorg/billing-core' -import type { PlanRowState } from '@/platform/billing/components/billingTab/planRow' +import type { + AutoReloadSettings, + BillingStatus, + PeriodCreditGrant +} from '@comfyorg/ingest-types' + +import type { PlanKind, PlanRowState } from './planRow' + +export interface CreditsCardBalance { + amountMicros: number + effectiveBalanceMicros?: number + effectiveBalanceAuthoritative?: boolean + prepaidBalanceMicros?: number + cloudCreditBalanceMicros?: number +} export interface CreditsCardFacts { - balance: BalanceInfo | null + balance: CreditsCardBalance | null planKind: PlanRowState['kind'] + servedPlanKind: PlanKind | null billingStatus: BillingStatus | null + periodCreditGrant: PeriodCreditGrant | null planPoolCredits: number | null renewalDate: string | null endDate: string | null @@ -46,7 +60,11 @@ export function deriveCreditsCard(facts: CreditsCardFacts): CreditsCardState { } const availableCents = balance.effectiveBalanceMicros ?? balance.amountMicros - if (facts.planKind === 'noPlan' || facts.planKind === 'ended') { + if ( + facts.planKind === 'noPlan' || + facts.planKind === 'ended' || + facts.periodCreditGrant?.state === 'none' + ) { return { kind: 'noPlan', availableCents } } @@ -57,7 +75,7 @@ export function deriveCreditsCard(facts: CreditsCardFacts): CreditsCardState { kind: 'plan', availableCents, planCents: facts.billingStatus === 'paused' ? 0 : planCents, - planPoolCredits: facts.planPoolCredits, + planPoolCredits: planPoolCreditsFor(facts), topUpCents, topUpInUse: planCents === 0 && topUpCents > 0, showUsage: facts.billingStatus @@ -88,6 +106,12 @@ export function addCreditsEmphasis( : 'secondary' } +function planPoolCreditsFor(facts: CreditsCardFacts): number | null { + const grant = facts.periodCreditGrant + if (!grant) return facts.planPoolCredits + return grant.state === 'amount' ? (grant.credits ?? null) : null +} + function planDateFor(facts: CreditsCardFacts): PlanCreditsState['planDate'] { switch (facts.planKind) { case 'paused': @@ -95,6 +119,9 @@ function planDateFor(facts: CreditsCardFacts): PlanCreditsState['planDate'] { case 'ending': return { kind: 'availableUntil', date: facts.endDate } default: - return { kind: 'refills', date: facts.renewalDate } + return { + kind: 'refills', + date: facts.servedPlanKind === 'self_serve' ? facts.renewalDate : null + } } } diff --git a/src/platform/billing/components/billingTab/planCheckoutBanner.test.ts b/packages/account-core/src/core/billing/billingTab/planCheckoutBanner.test.ts similarity index 100% rename from src/platform/billing/components/billingTab/planCheckoutBanner.test.ts rename to packages/account-core/src/core/billing/billingTab/planCheckoutBanner.test.ts diff --git a/src/platform/billing/components/billingTab/planCheckoutBanner.ts b/packages/account-core/src/core/billing/billingTab/planCheckoutBanner.ts similarity index 100% rename from src/platform/billing/components/billingTab/planCheckoutBanner.ts rename to packages/account-core/src/core/billing/billingTab/planCheckoutBanner.ts diff --git a/src/platform/billing/components/billingTab/planLifecycle.test.ts b/packages/account-core/src/core/billing/billingTab/planLifecycle.test.ts similarity index 100% rename from src/platform/billing/components/billingTab/planLifecycle.test.ts rename to packages/account-core/src/core/billing/billingTab/planLifecycle.test.ts diff --git a/src/platform/billing/components/billingTab/planLifecycle.ts b/packages/account-core/src/core/billing/billingTab/planLifecycle.ts similarity index 96% rename from src/platform/billing/components/billingTab/planLifecycle.ts rename to packages/account-core/src/core/billing/billingTab/planLifecycle.ts index 1a583f470b9..a6a09fd0c05 100644 --- a/src/platform/billing/components/billingTab/planLifecycle.ts +++ b/packages/account-core/src/core/billing/billingTab/planLifecycle.ts @@ -1,4 +1,4 @@ -import type { PlanRowState } from '@/platform/billing/components/billingTab/planRow' +import type { PlanRowState } from './planRow' export type PlanLifecycleIntent = | { diff --git a/src/platform/billing/components/billingTab/planRow.test.ts b/packages/account-core/src/core/billing/billingTab/planRow.test.ts similarity index 83% rename from src/platform/billing/components/billingTab/planRow.test.ts rename to packages/account-core/src/core/billing/billingTab/planRow.test.ts index ebd2a228cf9..16b090e9329 100644 --- a/src/platform/billing/components/billingTab/planRow.test.ts +++ b/packages/account-core/src/core/billing/billingTab/planRow.test.ts @@ -5,11 +5,8 @@ import { derivePlanRow, formatPlanDate, planRowAction -} from '@/platform/billing/components/billingTab/planRow' -import type { - PlanRowFacts, - PlanRowState -} from '@/platform/billing/components/billingTab/planRow' +} from './planRow' +import type { PlanRowFacts, PlanRowState } from './planRow' const baseFacts: PlanRowFacts = { subscriptionStatus: 'active', @@ -166,7 +163,64 @@ describe('derivePlanRow', () => { { case: 'an ended plan without an end date', facts: { subscriptionStatus: 'ended' }, - expected: { kind: 'unknown' } + expected: { + kind: 'ended', + planName: 'Pro', + cadence: 'monthly', + endedAt: null + } + }, + { + case: 'an ended plan with a served ended_at over cancel_at', + facts: { + subscriptionStatus: 'ended', + endedAt: '2026-08-20T00:00:00Z', + endDate: '2026-09-01T00:00:00Z' + }, + expected: { + kind: 'ended', + planName: 'Pro', + cadence: 'monthly', + endedAt: '2026-08-20T00:00:00Z' + } + }, + { + case: 'an ended plan whose ended_at is served as null', + facts: { + subscriptionStatus: 'ended', + endedAt: null, + endDate: '2026-09-01T00:00:00Z' + }, + expected: { + kind: 'ended', + planName: 'Pro', + cadence: 'monthly', + endedAt: null + } + }, + { + case: 'an ended subscription_state with no plan name', + facts: { + subscriptionState: 'ended', + subscriptionStatus: null, + planName: null + }, + expected: { + kind: 'ended', + planName: null, + cadence: 'monthly', + endedAt: null + } + }, + { + case: 'a served ended subscription_state', + facts: { subscriptionState: 'ended', subscriptionStatus: null }, + expected: { + kind: 'ended', + planName: 'Pro', + cadence: 'monthly', + endedAt: null + } }, { case: 'an active sales-managed plan with no served plan name', @@ -219,7 +273,22 @@ describe('derivePlanRow', () => { planName: null, endDate: '2026-09-01T00:00:00Z' }, - expected: { kind: 'unknown' } + expected: { + kind: 'ended', + planName: null, + cadence: 'monthly', + endedAt: '2026-09-01T00:00:00Z' + } + }, + { + case: 'an ended subscription_status with no plan name', + facts: { subscriptionStatus: 'ended', planName: null, duration: null }, + expected: { + kind: 'ended', + planName: null, + cadence: null, + endedAt: null + } } ])('maps $case', ({ facts, expected }) => { expect(derivePlanRow({ ...baseFacts, ...facts })).toEqual(expected) diff --git a/src/platform/billing/components/billingTab/planRow.ts b/packages/account-core/src/core/billing/billingTab/planRow.ts similarity index 88% rename from src/platform/billing/components/billingTab/planRow.ts rename to packages/account-core/src/core/billing/billingTab/planRow.ts index 406615a7381..b25254a9c9e 100644 --- a/src/platform/billing/components/billingTab/planRow.ts +++ b/packages/account-core/src/core/billing/billingTab/planRow.ts @@ -1,13 +1,14 @@ import type { BillingCapabilitiesResponse, + BillingStatus, + BillingStatusResponse, + SubscriptionDuration, SubscriptionState } from '@comfyorg/ingest-types' -import type { - BillingStatus, - BillingSubscriptionStatus, - SubscriptionDuration -} from '@comfyorg/billing-core' +type BillingSubscriptionStatus = NonNullable< + BillingStatusResponse['subscription_status'] +> type BillingCadence = 'monthly' | 'yearly' @@ -19,6 +20,7 @@ export interface PlanRowFacts { planName: string | null renewalDate: string | null endDate: string | null + endedAt?: string | null scheduledChange: { planName: string; effectiveAt: string } | null freeRuns: { remaining: number; total: number } | null planKind: PlanKind | null @@ -42,9 +44,9 @@ export type PlanRowState = } | { kind: 'ended' - planName: string + planName: string | null cadence: BillingCadence | null - endedAt: string + endedAt: string | null } | { kind: 'noPlan' @@ -80,6 +82,19 @@ function toCadence( return null } +function endedDate(facts: PlanRowFacts): string | null { + return facts.endedAt === undefined ? facts.endDate : facts.endedAt +} + +function endedRow(facts: PlanRowFacts): PlanRowState { + return { + kind: 'ended', + planName: facts.planName, + cadence: toCadence(facts.duration), + endedAt: endedDate(facts) + } +} + function salesManagedRow(facts: PlanRowFacts): PlanRowState | null { if (facts.planKind !== 'sales_managed') return null switch (facts.billingStatus) { @@ -105,6 +120,13 @@ export function derivePlanRow(facts: PlanRowFacts): PlanRowState { if (facts.subscriptionState === 'activating' && planName !== null) { return { kind: 'activating', planName } } + if (facts.subscriptionState === 'ended') { + return endedRow(facts) + } + switch (subscriptionStatus) { + case 'ended': + return endedRow(facts) + } if (subscriptionStatus === null) { return { kind: 'noPlan', freeRuns: facts.freeRuns } } @@ -131,10 +153,6 @@ export function derivePlanRow(facts: PlanRowFacts): PlanRowState { return endDate ? { kind: 'ending', planName, cadence, endsAt: endDate } : UNKNOWN - case 'ended': - return endDate - ? { kind: 'ended', planName, cadence, endedAt: endDate } - : UNKNOWN default: return UNKNOWN } diff --git a/src/platform/billing/components/billingTab/topupCheckoutBanner.test.ts b/packages/account-core/src/core/billing/billingTab/topupCheckoutBanner.test.ts similarity index 100% rename from src/platform/billing/components/billingTab/topupCheckoutBanner.test.ts rename to packages/account-core/src/core/billing/billingTab/topupCheckoutBanner.test.ts diff --git a/src/platform/billing/components/billingTab/topupCheckoutBanner.ts b/packages/account-core/src/core/billing/billingTab/topupCheckoutBanner.ts similarity index 100% rename from src/platform/billing/components/billingTab/topupCheckoutBanner.ts rename to packages/account-core/src/core/billing/billingTab/topupCheckoutBanner.ts diff --git a/packages/account-core/src/core/billing/capabilities.test.ts b/packages/account-core/src/core/billing/capabilities.test.ts index 9c2c97f97d7..64ebe921bed 100644 --- a/packages/account-core/src/core/billing/capabilities.test.ts +++ b/packages/account-core/src/core/billing/capabilities.test.ts @@ -9,6 +9,7 @@ import { createCapabilitiesReader, readCapabilityRevision } from './capabilities' +import { decodeCapabilityDenials } from './capabilityDenials' import { createSessionBillingTransport } from './transport' import { authenticated, @@ -165,6 +166,34 @@ describe('createCapabilitiesReader', () => { } ) + it.for([ + { + served: { state: 'frozen', reason: 'payment_past_due' }, + expected: { state: 'frozen', reason: 'payment_past_due' } + }, + { served: { state: 'ready' }, expected: { state: 'ready' } }, + { served: undefined, expected: undefined } + ] as const)( + 'keeps auto_top_up_setup $served.state instead of dropping it', + async ({ served, expected }) => { + const { scopeSource } = fakeSession() + const { transport } = fakeTransport([ + httpOk( + capabilitiesBody( + served === undefined ? {} : { auto_top_up_setup: served } + ) + ) + ]) + const reader = createCapabilitiesReader({ transport, scopeSource }) + + const result = await reader.read() + + expect(result.status).toBe('ok') + if (result.status !== 'ok') return + expect(result.value.autoTopUpSetup).toEqual(expected) + } + ) + it.for([ { served: true, expected: true }, { served: false, expected: false }, @@ -515,7 +544,7 @@ describe('createCapabilitiesReader', () => { ) }) - it.for(['something_new', 'topup_purchases_paused'])( + it.for(['something_new', 'reason_from_a_newer_server'])( 'keeps the capability set usable for unrecognized reason %s', async (reason) => { const { scopeSource } = fakeSession() @@ -732,3 +761,11 @@ describe('readCapabilityRevision', () => { expect(readCapabilityRevision(() => value)).toBeUndefined() }) }) + +describe('decodeCapabilityDenials', () => { + it('keeps topup_purchases_paused as a known reason', () => { + expect( + decodeCapabilityDenials({ can_top_up: 'topup_purchases_paused' }) + ).toEqual({ can_top_up: 'topup_purchases_paused' }) + }) +}) diff --git a/packages/account-core/src/core/billing/capabilities.ts b/packages/account-core/src/core/billing/capabilities.ts index 3f02ec9abb9..064f05fd598 100644 --- a/packages/account-core/src/core/billing/capabilities.ts +++ b/packages/account-core/src/core/billing/capabilities.ts @@ -60,6 +60,7 @@ export type CapabilityRolloutDefaults = z.infer< const CapabilitiesBodySchema = z.object({ auto_top_up_enabled: zBillingCapabilitiesResponse.shape.auto_top_up_enabled.optional(), + auto_top_up_setup: zBillingCapabilitiesResponse.shape.auto_top_up_setup, capabilities: zBillingCapabilities, expires_at: z.string(), has_parked_billing_operation: @@ -87,6 +88,9 @@ export interface CapabilitiesSnapshot { * As received. Absent when the server omits it: unknown, not a refusal. */ readonly autoTopUpEnabled?: boolean + readonly autoTopUpSetup?: z.infer< + typeof zBillingCapabilitiesResponse.shape.auto_top_up_setup + > readonly hasParkedBillingOperation?: boolean readonly paymentRecoveryAvailable?: boolean readonly planKind?: z.infer< @@ -195,6 +199,7 @@ export function createCapabilitiesReader( status: 'ok', value: { autoTopUpEnabled: data.auto_top_up_enabled, + autoTopUpSetup: data.auto_top_up_setup, capabilities: data.capabilities, denials, hasParkedBillingOperation: data.has_parked_billing_operation, diff --git a/packages/account-core/src/core/billing/capabilityDenials.ts b/packages/account-core/src/core/billing/capabilityDenials.ts index 395d758d784..541770d0472 100644 --- a/packages/account-core/src/core/billing/capabilityDenials.ts +++ b/packages/account-core/src/core/billing/capabilityDenials.ts @@ -30,6 +30,7 @@ export type CapabilityDenialReason = | 'not_original_owner' | 'creator_only_provisioning' | 'payment_past_due' + | 'topup_purchases_paused' | 'free_plan' | 'no_subscription' | 'subscription_ended' @@ -80,6 +81,7 @@ const KNOWN_REASONS: Readonly< not_original_owner: true, creator_only_provisioning: true, payment_past_due: true, + topup_purchases_paused: true, free_plan: true, no_subscription: true, subscription_ended: true, diff --git a/packages/account-core/src/core/billing/contracts/billingStatus.contract.test.ts b/packages/account-core/src/core/billing/contracts/billingStatus.contract.test.ts index 4d5e73d09c3..3b3ee01c39b 100644 --- a/packages/account-core/src/core/billing/contracts/billingStatus.contract.test.ts +++ b/packages/account-core/src/core/billing/contracts/billingStatus.contract.test.ts @@ -10,6 +10,7 @@ function statusBody(overrides: Partial = {}): StatusBody { has_funds: true, is_active: true, max_seats: 5, + next_charge: null, occupied_seats: 1, ended_at: null, scheduled_change: null, diff --git a/packages/account-core/src/core/billing/index.ts b/packages/account-core/src/core/billing/index.ts index 0f1ca6e3535..5cd604b1c7a 100644 --- a/packages/account-core/src/core/billing/index.ts +++ b/packages/account-core/src/core/billing/index.ts @@ -181,6 +181,54 @@ export { BILLING_OPERATION_TELEMETRY_EVENT } from '#/telemetry' export * from './telemetry/index' +export type { + AddCreditsAmount, + AddCreditsAmountCheck, + AddCreditsAmountError, + AddCreditsBounds +} from './addCredits/addCreditsAmount' +export { + ADD_CREDITS_DEFAULT_CENTS, + ADD_CREDITS_FALLBACK_BOUNDS, + ADD_CREDITS_PRESETS_CENTS, + checkAddCreditsAmount, + initialAddCreditsAmount +} from './addCredits/addCreditsAmount' +export type { + AddCreditsRefusal, + AddCreditsWait +} from './addCredits/addCreditsRefusal' +export { + addCreditsRefusalFor, + addCreditsRefusalForDenial, + addCreditsWait +} from './addCredits/addCreditsRefusal' +export type { + AddCreditsAmountView, + AddCreditsEvent, + AddCreditsFacts, + AddCreditsNotice, + AddCreditsPendingTopup, + AddCreditsState +} from './addCredits/addCreditsDialog' +export { + addCreditsRefusalBlocks, + reduceAddCredits, + startAddCredits, + viewAddCreditsAmount +} from './addCredits/addCreditsDialog' +export type { + AddCreditsCopyKey, + AddCreditsCopyParams, + AddCreditsPlanLine, + AddCreditsTranslate +} from './addCredits/addCreditsCopy' +export { + ADD_CREDITS_COPY, + amountErrorCopyKey, + translateAddCreditsDefault, + waitCopy +} from './addCredits/addCreditsCopy' export type { EmbeddedChallengeOutcome, EmbeddedChallengePort @@ -275,3 +323,64 @@ export { BALANCE_WATCH_RETRY_GAPS_MS, createBalanceWatch } from './balanceWatch' +export type { + PlanKind, + PlanRowAction, + PlanRowFacts, + PlanRowState +} from './billingTab/planRow' +export { + CONTACT_SALES_URL, + deriveBillingTabLoad, + derivePlanRow, + formatPlanDate, + planRowAction +} from './billingTab/planRow' +export type { + PlanCommandOutcome, + PlanConfirmEvent, + PlanConfirmState, + PlanLifecycleIntent +} from './billingTab/planLifecycle' +export { + PLAN_CONFIRM_CLOSED, + reducePlanConfirm, + resumeIntent, + stayIntent +} from './billingTab/planLifecycle' +export type { + AddCreditsEmphasisFacts, + CreditsCardBalance, + CreditsCardFacts, + CreditsCardState, + PlanCreditsState +} from './billingTab/creditsCard' +export { addCreditsEmphasis, deriveCreditsCard } from './billingTab/creditsCard' +export type { PlanCheckoutBanner } from './billingTab/planCheckoutBanner' +export { planCheckoutBannerFor } from './billingTab/planCheckoutBanner' +export type { + TopupCheckoutBanner, + TopupCheckoutSnapshot +} from './billingTab/topupCheckoutBanner' +export { + selectTopupCheckoutBanner, + topupCheckoutBannerKey +} from './billingTab/topupCheckoutBanner' +export type { + AutoTopUpCardFacts, + AutoTopUpCardState, + AutoTopUpSection, + AutoTopUpSectionFacts +} from './billingTab/autoTopUpCard' +export { + deriveAutoTopUpCard, + deriveAutoTopUpSection +} from './billingTab/autoTopUpCard' +export type { + AddCreditsAvailability, + BillingTopUpDenial +} from './billingTab/addCreditsAvailability' +export { + addCreditsAvailability, + isMemberTopUpDenial +} from './billingTab/addCreditsAvailability' diff --git a/packages/account-core/src/core/billing/operationState.test.ts b/packages/account-core/src/core/billing/operationState.test.ts index 2f3658680c1..e10d81bc7ce 100644 --- a/packages/account-core/src/core/billing/operationState.test.ts +++ b/packages/account-core/src/core/billing/operationState.test.ts @@ -257,6 +257,150 @@ describe('reduceBillingOperation', () => { } ) + it.for([ + { + latest: '2026-10-30T15:40:00Z', + expected: '2026-10-30T15:40:00Z' + }, + { latest: undefined, expected: undefined } + ])( + "carries only the latest poll's authentication deadline ($latest)", + ({ latest, expected }) => { + const served = polled(pending({ kind: 'topup' }), { + authentication_state: 'requires_action', + authentication_deadline: '2026-10-30T15:40:00Z' + }) + + const next = polled(served, { + authentication_state: 'requires_action', + ...(latest === undefined ? {} : { authentication_deadline: latest }) + }) + + expect((next as PendingBillingOperation).authenticationDeadline).toBe( + expected + ) + } + ) + + it('keeps the deadline cleared over an echo of the challenge this tab completed, and takes one for a new challenge', () => { + const DEADLINE = '2026-10-30T15:40:00Z' + const completed = reduceBillingOperation( + reduceBillingOperation( + polled(pending({ kind: 'topup' }), { + authentication_state: 'requires_action', + authentication_deadline: DEADLINE, + payment_intent_client_secret: 'pi_secret' + }), + { type: 'challenge_started' } + ), + { type: 'challenge_settled', outcome: 'completed' } + ) + + const echo = polled(completed, { + authentication_state: 'requires_action', + authentication_deadline: DEADLINE, + payment_intent_client_secret: 'pi_secret' + }) + const moved = polled(completed, { + authentication_state: 'requires_action', + authentication_deadline: '2026-10-30T16:10:00Z', + payment_intent_client_secret: 'pi_other' + }) + + expect( + (echo as PendingBillingOperation).authenticationDeadline + ).toBeUndefined() + expect((moved as PendingBillingOperation).authenticationDeadline).toBe( + '2026-10-30T16:10:00Z' + ) + }) + + it.for([ + { served: '2026-10-30T16:10:00Z', expected: '2026-10-30T16:10:00Z' }, + { served: undefined, expected: undefined } + ])( + 'takes the deadline the server serves when it re-serves a failed challenge ($served)', + ({ served, expected }) => { + const failed = reduceBillingOperation( + reduceBillingOperation( + polled(pending({ kind: 'topup' }), { + authentication_state: 'requires_action', + authentication_deadline: '2026-10-30T15:40:00Z', + payment_intent_client_secret: 'pi_secret' + }), + { type: 'challenge_started' } + ), + { type: 'challenge_settled', outcome: 'failed' } + ) + + const reserved = polled(failed, { + authentication_state: 'requires_action', + payment_intent_client_secret: 'pi_secret', + ...(served === undefined ? {} : { authentication_deadline: served }) + }) + + expect(reserved).toMatchObject({ + phase: 'pending', + authenticationDeadline: expected + }) + } + ) + + it('clears the deadline when a hosted flow moves past a failed challenge and the server later omits both secret and deadline', () => { + const hosted = reduceBillingOperation( + reduceBillingOperation( + reduceBillingOperation( + polled(pending({ kind: 'topup' }), { + authentication_state: 'requires_action', + authentication_deadline: '2026-10-30T15:40:00Z', + payment_intent_client_secret: 'pi_a', + action_url: 'https://billing.example/continue' + }), + { type: 'challenge_started' } + ), + { type: 'challenge_settled', outcome: 'failed' } + ), + { + type: 'presentation_switched', + presentation: 'hosted', + hostedDestination: 'billing_web' + } + ) + const servedB = polled(hosted, { + authentication_state: 'requires_action', + authentication_deadline: '2026-10-30T16:10:00Z', + payment_intent_client_secret: 'pi_b' + }) + + const secretless = polled(servedB, { + authentication_state: 'requires_action' + }) + + expect(hosted).toMatchObject({ + presentation: 'hosted', + actionUrl: 'https://billing.example/continue' + }) + expect(servedB).toMatchObject({ + phase: 'pending', + authenticationDeadline: '2026-10-30T16:10:00Z' + }) + expect(secretless).toMatchObject({ + phase: 'pending', + authenticationDeadline: undefined + }) + }) + + it('drops the authentication deadline once the server settles the operation', () => { + const served = polled(pending({ kind: 'topup' }), { + authentication_state: 'requires_action', + authentication_deadline: '2026-10-30T15:40:00Z' + }) + + const next = polled(served, { status: 'succeeded' }) + + expect(next).not.toHaveProperty('authenticationDeadline') + }) + it('reads a retryable failure served without a reason as a generic decline', () => { const failed = polled(pending(), { authentication_state: 'failed_retryable' diff --git a/packages/account-core/src/core/billing/operationState.ts b/packages/account-core/src/core/billing/operationState.ts index eab22974194..38915198c23 100644 --- a/packages/account-core/src/core/billing/operationState.ts +++ b/packages/account-core/src/core/billing/operationState.ts @@ -143,6 +143,8 @@ export type PendingBillingOperation = BillingOperationIdentity & { readonly actionUrl?: string readonly challenge?: EmbeddedChallenge readonly authenticationState?: BillingAuthenticationState + /** The server's deadline for the customer's authentication, as served; absent is no claim. */ + readonly authenticationDeadline?: string readonly serverPhase?: BillingOperationServerPhase /** Set while the customer's last attempt was declined and they may try again. */ readonly declineReason?: BillingDeclineReason @@ -290,10 +292,10 @@ function nextChallenge( state: PendingBillingOperation, status: BillingOpStatus ): EmbeddedChallenge | undefined { - if (state.presentation !== 'embedded') return state.challenge const secret = status.payment_intent_client_secret if (secret === undefined) return state.challenge if (state.challenge?.clientSecret === secret) return state.challenge + if (state.presentation !== 'embedded') return undefined if (status.authentication_state !== 'requires_action') return state.challenge return { clientSecret: secret, status: 'required' } } @@ -403,6 +405,19 @@ function nextDeclineReason( return 'generic' } +function nextAuthenticationDeadline( + state: PendingBillingOperation, + status: BillingOpStatus +): string | undefined { + if ( + state.challenge?.status === 'completed' && + echoesSettledChallenge(state, status) + ) { + return state.authenticationDeadline + } + return status.authentication_deadline +} + function reducePending( state: PendingBillingOperation, status: BillingOpStatus @@ -411,9 +426,11 @@ function reducePending( const terminal = terminalFromStatus(state, status) if (terminal !== undefined) return terminal - const authenticationState = echoesSettledChallenge(state, status) + const echoed = echoesSettledChallenge(state, status) + const authenticationState = echoed ? state.authenticationState : status.authentication_state + const authenticationDeadline = nextAuthenticationDeadline(state, status) const actionUrl = nextActionUrl(state, status, authenticationState) const declineReason = nextDeclineReason(state, status, authenticationState) const { plan: _previousPlan, ...rest } = state @@ -423,6 +440,7 @@ function reducePending( ...(status.plan === undefined ? {} : { plan: status.plan }), challenge: nextChallenge(state, status), authenticationState, + authenticationDeadline, actionUrl, serverPhase: status.phase, declineReason, @@ -454,6 +472,7 @@ function settleChallenge( ...state, challenge, authenticationState: 'processing', + authenticationDeadline: undefined, actionUrl: undefined, declineReason: undefined } diff --git a/packages/account-core/src/core/billing/sharedRead.test.ts b/packages/account-core/src/core/billing/sharedRead.test.ts index d3735ab0c41..3a2eb550604 100644 --- a/packages/account-core/src/core/billing/sharedRead.test.ts +++ b/packages/account-core/src/core/billing/sharedRead.test.ts @@ -27,6 +27,39 @@ function answering( } describe('readValidatedBillingResponse', () => { + it.for([ + { retryAfter: '2400', expected: { retryAfterSeconds: 2400 } }, + { retryAfter: 'Wed, 21 Oct 2026 07:28:00 GMT', expected: {} }, + { retryAfter: null, expected: {} } + ])( + 'carries Retry-After $retryAfter only as whole seconds', + async ({ retryAfter, expected }) => { + const transport: BillingTransport = async () => ({ + status: 'ok', + value: { + httpStatus: 429, + body: { code: 'TOPUP_RATE_LIMITED', message: 'limit' }, + header: (name) => (name === 'Retry-After' ? retryAfter : null) + } + }) + + const result = await readValidatedBillingResponse( + transport, + REQUEST, + (body) => Body.safeParse(body) + ) + + expect(result).toEqual({ + status: 'error', + code: 'REQUEST_FAILED', + httpStatus: 429, + serverCode: 'TOPUP_RATE_LIMITED', + serverMessage: 'limit', + ...expected + }) + } + ) + it('carries the coded server error and its message', async () => { const result = await readValidatedBillingResponse( answering(400, { diff --git a/packages/account-core/src/core/billing/sharedRead.ts b/packages/account-core/src/core/billing/sharedRead.ts index 7ffec38f64a..5cac9291af3 100644 --- a/packages/account-core/src/core/billing/sharedRead.ts +++ b/packages/account-core/src/core/billing/sharedRead.ts @@ -14,6 +14,7 @@ * work the others are still waiting on. */ import type { + BillingHttpResponse, BillingRequest, BillingResult, BillingTransport @@ -56,6 +57,13 @@ export function matchesScopedRead< ) } +function readRetryAfterSeconds( + response: Pick +): number | undefined { + const value = response.header('Retry-After')?.trim() + return value && /^\d+$/.test(value) ? Number(value) : undefined +} + export async function readValidatedBillingResponse( transport: BillingTransport, request: BillingRequest, @@ -68,12 +76,14 @@ export async function readValidatedBillingResponse( if (httpStatus < 200 || httpStatus >= 300) { const serverCode = readBillingErrorCode(body) const serverMessage = readBillingErrorMessage(body) + const retryAfterSeconds = readRetryAfterSeconds(response.value) return { status: 'error', code: codeForHttpStatus(response.value), httpStatus, ...(serverCode === undefined ? {} : { serverCode }), - ...(serverMessage === undefined ? {} : { serverMessage }) + ...(serverMessage === undefined ? {} : { serverMessage }), + ...(retryAfterSeconds === undefined ? {} : { retryAfterSeconds }) } } diff --git a/packages/account-core/src/core/billing/status.ts b/packages/account-core/src/core/billing/status.ts index c94bc3fe1e4..2b51c871d6f 100644 --- a/packages/account-core/src/core/billing/status.ts +++ b/packages/account-core/src/core/billing/status.ts @@ -8,7 +8,8 @@ import { createScopedReader } from './scopedReader' export const BILLING_STATUS_ROUTE = '/billing/status' const BillingStatusBodySchema = zBillingStatusResponse.extend({ - ended_at: zBillingStatusResponse.shape.ended_at.optional() + ended_at: zBillingStatusResponse.shape.ended_at.optional(), + next_charge: zBillingStatusResponse.shape.next_charge.optional() }) export type BillingStatusData = z.infer diff --git a/packages/account-core/src/core/billing/subscriptionCommands.test.ts b/packages/account-core/src/core/billing/subscriptionCommands.test.ts index 3dbda050245..6f2e1b9c0b9 100644 --- a/packages/account-core/src/core/billing/subscriptionCommands.test.ts +++ b/packages/account-core/src/core/billing/subscriptionCommands.test.ts @@ -206,12 +206,10 @@ function harness(options: { invalidate, dispose: () => {} } - const readCredits = vi.fn( - async (): Promise> => ({ - status: 'error', - code: 'REQUEST_FAILED' - }) - ) + const readCredits = vi.fn(async (): Promise> => ({ + status: 'error', + code: 'REQUEST_FAILED' + })) const credits: CreditsReader = { read: readCredits, getSnapshot: () => undefined, diff --git a/packages/account-core/src/core/billing/telemetry/entryEvent.test.ts b/packages/account-core/src/core/billing/telemetry/entryEvent.test.ts index 9ad2928a7f0..1369c45d18c 100644 --- a/packages/account-core/src/core/billing/telemetry/entryEvent.test.ts +++ b/packages/account-core/src/core/billing/telemetry/entryEvent.test.ts @@ -57,6 +57,25 @@ describe('the entry events', () => { payment_intent_source: 'deep_link', billing_surface: 'cloud_app' } + }, + { + name: 'a refused pricing deep link with its reason and phase', + event: { + operation: 'entry', + stage: 'pricing_link_refused', + outcome: 'pending', + reason: 'pricing_surface_unavailable', + phase: 'after_catalog_fetch' + }, + eventName: 'billing.entry.pricing_link_refused', + payload: { + operation: 'entry', + stage: 'pricing_link_refused', + outcome: 'pending', + reason: 'pricing_surface_unavailable', + phase: 'after_catalog_fetch', + billing_surface: 'cloud_app' + } } ])('names and reports $name', ({ event, eventName, payload }) => { expect(getBillingTelemetryEventName(event)).toBe(eventName) diff --git a/packages/account-core/src/core/billing/telemetry/entryEvent.ts b/packages/account-core/src/core/billing/telemetry/entryEvent.ts index 80f5f061856..cfc4d7298a9 100644 --- a/packages/account-core/src/core/billing/telemetry/entryEvent.ts +++ b/packages/account-core/src/core/billing/telemetry/entryEvent.ts @@ -18,4 +18,9 @@ export type EntryBillingEvent = { current_tier?: SubscriptionCheckoutTier } | { stage: 'add_credits_clicked' } + | { + stage: 'pricing_link_refused' + reason: 'pricing_surface_unavailable' | 'cannot_manage_subscription' + phase: 'before_catalog_fetch' | 'after_catalog_fetch' + } ) diff --git a/packages/account-core/src/core/billing/telemetry/eventNames.ts b/packages/account-core/src/core/billing/telemetry/eventNames.ts index 71549194c23..bcf5dee06d8 100644 --- a/packages/account-core/src/core/billing/telemetry/eventNames.ts +++ b/packages/account-core/src/core/billing/telemetry/eventNames.ts @@ -36,6 +36,7 @@ export const BILLING_TELEMETRY_EVENTS = { BILLING_WEB_HANDOFF_OPENED: 'billing.web_handoff.opened', BILLING_ENTRY_PAYWALL_SHOWN: 'billing.entry.paywall_shown', BILLING_ENTRY_ADD_CREDITS_CLICKED: 'billing.entry.add_credits_clicked', + BILLING_ENTRY_PRICING_LINK_REFUSED: 'billing.entry.pricing_link_refused', BILLING_CANCEL_INTENT: 'billing.cancel.intent', BILLING_CANCEL_ABANDONED: 'billing.cancel.abandoned', BILLING_CANCEL_FAILED: 'billing.cancel.failed', diff --git a/packages/account-core/src/core/billing/telemetry/payload.ts b/packages/account-core/src/core/billing/telemetry/payload.ts index eefa9ade686..9faf8053bb5 100644 --- a/packages/account-core/src/core/billing/telemetry/payload.ts +++ b/packages/account-core/src/core/billing/telemetry/payload.ts @@ -26,6 +26,7 @@ export const BILLING_PAYLOAD_FIELD_HANDLING = { navigation: 'required', operation_type: 'required', origin: 'required', + phase: 'required', product: 'required', reason: 'required', result: 'required', diff --git a/packages/account-core/src/core/requestTimeout.test.ts b/packages/account-core/src/core/requestTimeout.test.ts new file mode 100644 index 00000000000..a06a05609e1 --- /dev/null +++ b/packages/account-core/src/core/requestTimeout.test.ts @@ -0,0 +1,58 @@ +import { describe, expect, it, vi } from 'vitest' + +import { timedSignal } from './requestTimeout' + +describe('timedSignal', () => { + it('forwards caller cancellation without a timeout', () => { + const caller = new AbortController() + const reason = new DOMException('Stopped', 'AbortError') + const { signal } = timedSignal(caller.signal, undefined) + + caller.abort(reason) + + expect(signal?.reason).toBe(reason) + }) + + it('aborts when the timeout passes', () => { + const { signal } = timedSignal(undefined, 100) + + vi.advanceTimersByTime(99) + expect(signal?.aborted).toBe(false) + vi.advanceTimersByTime(1) + + expect(signal?.aborted).toBe(true) + }) + + it('forwards the caller abort and its reason', () => { + const caller = new AbortController() + const reason = new DOMException('Stopped', 'AbortError') + const { signal, release } = timedSignal(caller.signal, 1000) + + caller.abort(reason) + + expect(signal?.reason).toBe(reason) + release() + }) + + it('starts aborted when the caller signal already is', () => { + const caller = new AbortController() + const reason = new DOMException('Stopped', 'AbortError') + caller.abort(reason) + + const { signal, release } = timedSignal(caller.signal, 1000) + + expect(signal?.reason).toBe(reason) + release() + }) + + it('stops the timer and detaches from the caller on release', () => { + const caller = new AbortController() + const { signal, release } = timedSignal(caller.signal, 100) + + release() + vi.advanceTimersByTime(100) + caller.abort() + + expect(signal?.aborted).toBe(false) + }) +}) diff --git a/packages/account-core/src/sso.test.ts b/packages/account-core/src/sso.test.ts index a73fc8a2e63..92ce83c3632 100644 --- a/packages/account-core/src/sso.test.ts +++ b/packages/account-core/src/sso.test.ts @@ -242,7 +242,11 @@ describe('ssoStartUrl', () => { returnTo: 'https://evil.example/x', expected: '/' } - ])('$name', ({ returnTo, expected }) => { + ])('$name without URL.canParse', ({ returnTo, expected }) => { + vi.stubGlobal( + 'URL', + Object.assign(class extends URL {}, { canParse: undefined }) + ) const params = new URL( ssoStartUrl({ email: 'a@acme.com', diff --git a/packages/account-core/src/sso.ts b/packages/account-core/src/sso.ts index 0c1dd21e59f..ecc770e4749 100644 --- a/packages/account-core/src/sso.ts +++ b/packages/account-core/src/sso.ts @@ -130,15 +130,21 @@ function isApiRoute(url: URL): boolean { return pathname === '/api' || pathname.startsWith('/api/') } +function absoluteUrl(raw: string): URL | null { + try { + return new URL(raw) + } catch { + return null + } +} + function ssoReturnTo( raw: string, origin: string, appOrigin: string | undefined ): string { - if (appOrigin !== undefined && URL.canParse(raw)) { - const url = new URL(raw) - if (url.origin === appOrigin) return isApiRoute(url) ? '/' : url.href - } + const url = appOrigin === undefined ? null : absoluteUrl(raw) + if (url && url.origin === appOrigin) return isApiRoute(url) ? '/' : url.href const path = safeInternalPath(raw, origin, '/') return isApiRoute(new URL(path, origin)) ? '/' : path } diff --git a/packages/account-ui/package.json b/packages/account-ui/package.json index 5cb72af58a5..e5916f44ca7 100644 --- a/packages/account-ui/package.json +++ b/packages/account-ui/package.json @@ -168,6 +168,7 @@ "@comfyorg/tailwind-utils": "workspace:^", "@comfyorg/test-utils": "workspace:*", "@stripe/stripe-js": "catalog:", + "@testing-library/jest-dom": "catalog:", "@testing-library/user-event": "catalog:", "@testing-library/vue": "catalog:", "@types/node": "catalog:", diff --git a/packages/account-ui/src/billing/addCredits/AddCreditsAmountField.vue b/packages/account-ui/src/billing/addCredits/AddCreditsAmountField.vue new file mode 100644 index 00000000000..77ac175825c --- /dev/null +++ b/packages/account-ui/src/billing/addCredits/AddCreditsAmountField.vue @@ -0,0 +1,63 @@ + + + diff --git a/packages/account-ui/src/billing/addCredits/AddCreditsAmountFooter.vue b/packages/account-ui/src/billing/addCredits/AddCreditsAmountFooter.vue new file mode 100644 index 00000000000..e014e0b6fef --- /dev/null +++ b/packages/account-ui/src/billing/addCredits/AddCreditsAmountFooter.vue @@ -0,0 +1,71 @@ + + + diff --git a/packages/account-ui/src/billing/addCredits/AddCreditsAmountStep.vue b/packages/account-ui/src/billing/addCredits/AddCreditsAmountStep.vue new file mode 100644 index 00000000000..56cf513879e --- /dev/null +++ b/packages/account-ui/src/billing/addCredits/AddCreditsAmountStep.vue @@ -0,0 +1,152 @@ + + + diff --git a/packages/account-ui/src/billing/addCredits/AddCreditsBlockedStep.vue b/packages/account-ui/src/billing/addCredits/AddCreditsBlockedStep.vue new file mode 100644 index 00000000000..1312afcb579 --- /dev/null +++ b/packages/account-ui/src/billing/addCredits/AddCreditsBlockedStep.vue @@ -0,0 +1,44 @@ + + + diff --git a/packages/account-ui/src/billing/addCredits/AddCreditsDialog.test.ts b/packages/account-ui/src/billing/addCredits/AddCreditsDialog.test.ts new file mode 100644 index 00000000000..486a31c3e70 --- /dev/null +++ b/packages/account-ui/src/billing/addCredits/AddCreditsDialog.test.ts @@ -0,0 +1,501 @@ +import '@testing-library/jest-dom/vitest' +import userEvent from '@testing-library/user-event' +import { render, screen, within } from '@testing-library/vue' +import { describe, expect, it } from 'vitest' + +import type { AddCreditsRefusal } from '@comfyorg/account-core/billing' + +import AddCreditsDialog from './AddCreditsDialog.vue' +import type { + AddCreditsCheckoutResult, + AddCreditsCheckoutTab, + AddCreditsPorts, + AddCreditsQuoteResult +} from './useAddCreditsDialog' + +const CHECKOUT_URL = 'https://billing.comfy.org/topup?session=cs_1' +const SUPPORT_URL = 'https://support.example/billing' +const CREDITS_PER_CENT = 2.11 + +class FakeTab implements AddCreditsCheckoutTab { + url: string | undefined + closed = false + navigate(url: string) { + this.url = url + } + close() { + this.closed = true + } +} + +class FakePorts implements AddCreditsPorts { + quotes: number[] = [] + checkouts: number[] = [] + tabs: FakeTab[] = [] + popupsBlocked = false + quoteFails = false + quoteHeld = false + checkoutAnswer: AddCreditsCheckoutResult | undefined = { + status: 'ok', + url: CHECKOUT_URL + } + checkoutHeld: ((answer: AddCreditsCheckoutResult) => void) | undefined + landed: (() => void) | undefined + watchStopped = false + + quoteRejects = false + checkoutRejects = false + + quote = (amountCents: number): Promise => { + this.quotes.push(amountCents) + if (this.quoteHeld) return new Promise(() => {}) + if (this.quoteRejects) + return Promise.reject(new TypeError('Failed to fetch')) + return Promise.resolve( + this.quoteFails + ? { status: 'error' } + : { status: 'ok', credits: Math.round(amountCents * CREDITS_PER_CENT) } + ) + } + + createCheckout = (amountCents: number) => { + this.checkouts.push(amountCents) + if (this.checkoutRejects) + return Promise.reject(new TypeError('Failed to fetch')) + return new Promise((resolve) => { + this.checkoutHeld = resolve + if (this.checkoutAnswer) resolve(this.checkoutAnswer) + }) + } + + reserveTab = () => { + if (this.popupsBlocked) return null + const tab = new FakeTab() + this.tabs.push(tab) + return tab + } + + watchPayment = (landed: () => void) => { + this.landed = landed + return () => { + this.watchStopped = true + } + } + + refuse(refusal: AddCreditsRefusal) { + this.checkoutAnswer = { status: 'error', refusal } + } +} + +type Props = InstanceType['$props'] + +function renderDialog(props: Partial = {}) { + const ports = new FakePorts() + const user = userEvent.setup() + const rendered = render(AddCreditsDialog, { + props: { + ports, + canTopUp: true, + supportUrl: SUPPORT_URL, + locale: 'en-US', + ...props + } + }) + return { ports, user, ...rendered } +} + +const presets = () => screen.getAllByRole('radio') +const preset = (label: string) => screen.getByRole('radio', { name: label }) +const field = () => screen.getByLabelText('Or enter an amount') +const continueButton = () => screen.getByTestId('add-credits-continue') +const summary = () => screen.getByTestId('add-credits-summary') +const notice = () => screen.getByTestId('add-credits-notice') + +describe('AddCreditsDialog amount step', () => { + it('opens on $50 with its quoted credits', async () => { + const { ports } = renderDialog() + + expect(screen.getByRole('heading', { name: 'Add credits' })).toBeVisible() + expect(presets().map((radio) => radio.textContent.trim())).toEqual([ + '$10', + '$25', + '$50', + '$100' + ]) + expect(preset('$50')).toHaveAttribute('aria-checked', 'true') + expect(field()).toHaveValue('') + expect(await within(summary()).findByText('10,550 credits')).toBeVisible() + expect( + within(summary()).getByText('$50.00, paid at checkout') + ).toBeVisible() + expect(continueButton()).toBeEnabled() + expect(ports.quotes).toEqual([5000]) + }) + + it('picking a preset clears the field', async () => { + const { user } = renderDialog() + + await user.type(field(), '40') + await user.click(preset('$25')) + + expect(field()).toHaveValue('') + expect(preset('$25')).toHaveAttribute('aria-checked', 'true') + expect( + await within(summary()).findByText('$25.00, paid at checkout') + ).toBeVisible() + }) + + it('typing clears the preset, even for an amount a preset matches', async () => { + const { user } = renderDialog() + + await user.type(field(), '25') + + expect(presets().some((radio) => radio.ariaChecked === 'true')).toBe(false) + expect( + await within(summary()).findByText('$25.00, paid at checkout') + ).toBeVisible() + }) + + it('an emptied field selects nothing and disables Continue', async () => { + const { user } = renderDialog() + + await user.type(field(), '40') + await user.clear(field()) + + expect(presets().some((radio) => radio.ariaChecked === 'true')).toBe(false) + expect(continueButton()).toBeDisabled() + }) + + it.for([ + { input: '3', error: 'Minimum is $5.' }, + { + input: '10001', + error: 'The largest top-up is $10,000. Add more with another top-up.' + }, + { input: '12.50', error: 'Whole dollars only.' } + ])( + '"$input" shows "$error" and disables Continue', + async ({ input, error }) => { + const { user } = renderDialog() + + await user.type(field(), input) + + expect(screen.getByTestId('add-credits-amount-error')).toHaveTextContent( + error + ) + expect(field()).toHaveAttribute('aria-invalid', 'true') + expect(field()).toHaveValue(input) + expect(continueButton()).toBeDisabled() + } + ) + + it('counts "12." as $12', async () => { + const { user } = renderDialog() + + await user.type(field(), '12.') + + expect(continueButton()).toBeEnabled() + expect( + await within(summary()).findByText('$12.00, paid at checkout') + ).toBeVisible() + }) + + it('reads its bounds from the served balance', async () => { + const { user } = renderDialog({ minTopupCents: 1000, maxTopupCents: 50000 }) + + await user.type(field(), '600') + + expect(screen.getByTestId('add-credits-amount-error')).toHaveTextContent( + 'The largest top-up is $500.' + ) + }) + + it('a negative balance prefills the served suggestion', async () => { + renderDialog({ negativeBalanceCredits: 23000, suggestedTopupCents: 11400 }) + + expect( + screen.getByTestId('add-credits-negative-balance') + ).toHaveTextContent( + 'Your balance is −23,000 credits. This top-up covers that first.' + ) + expect(field()).toHaveValue('114') + expect(presets().some((radio) => radio.ariaChecked === 'true')).toBe(false) + expect( + await within(summary()).findByText('$114.00, paid at checkout') + ).toBeVisible() + }) + + it('renders the plan line it is given', () => { + renderDialog({ planLine: 'ended' }) + + expect(screen.getByTestId('add-credits-plan-line')).toHaveTextContent( + "Buying credits doesn't restart your Cloud plan." + ) + }) + + it('shows a skeleton while the quote is pending', async () => { + const { ports, user } = renderDialog() + ports.quoteHeld = true + + await user.click(preset('$10')) + + expect(screen.getByTestId('add-credits-credits-loading')).toBeVisible() + }) + + it('shows "— credits" when the quote fails and keeps Continue enabled', async () => { + const { ports, user } = renderDialog() + ports.quoteFails = true + + await user.click(preset('$10')) + + expect(await within(summary()).findByText('— credits')).toBeVisible() + expect(continueButton()).toBeEnabled() + }) + + it('shows "— credits" when the quote port rejects', async () => { + const { ports, user } = renderDialog() + ports.quoteRejects = true + + await user.click(preset('$10')) + + expect(await within(summary()).findByText('— credits')).toBeVisible() + }) + + it('an earlier payment still processing keeps Continue enabled', () => { + renderDialog({ pendingTopup: { kind: 'processing', amountCents: 2500 } }) + + expect(notice()).toHaveTextContent('A $25 payment is still processing') + expect(notice()).toHaveTextContent('No need to pay again.') + expect(continueButton()).toBeEnabled() + }) +}) + +describe('AddCreditsDialog checkout hand-off', () => { + it('opens checkout in the reserved tab, then closes once the payment lands', async () => { + const { ports, user, emitted } = renderDialog() + + await user.click(continueButton()) + + expect(ports.checkouts).toEqual([5000]) + expect(ports.tabs[0].url).toBe(CHECKOUT_URL) + expect( + screen.getByRole('heading', { name: 'Checkout opened in a new tab' }) + ).toBeVisible() + const opened = screen.getByTestId('add-credits-opened-summary') + expect(within(opened).getByText('10,550')).toBeVisible() + expect(within(opened).getByText('$50.00')).toBeVisible() + expect(emitted().close).toBeUndefined() + + ports.landed?.() + await Promise.resolve() + + expect(emitted().close).toHaveLength(1) + expect(ports.watchStopped).toBe(true) + }) + + it('says "in your browser" when checkout opens outside the app', async () => { + const { user } = renderDialog({ opensIn: 'browser' }) + + await user.click(continueButton()) + + expect( + screen.getByRole('heading', { name: 'Checkout opened in your browser' }) + ).toBeVisible() + }) + + it('locks the amount and reads "Opening…" until the session exists', async () => { + const { ports, user } = renderDialog() + ports.checkoutAnswer = undefined + + await user.click(continueButton()) + + expect(continueButton()).toHaveTextContent('Opening…') + expect(continueButton()).toBeDisabled() + expect(field()).toBeDisabled() + expect(preset('$10')).toBeDisabled() + + ports.checkoutHeld?.({ status: 'ok', url: CHECKOUT_URL }) + expect( + await screen.findByRole('heading', { + name: 'Checkout opened in a new tab' + }) + ).toBeVisible() + }) + + it("couldn't open checkout keeps the selection and Continue", async () => { + const { ports, user } = renderDialog() + ports.refuse({ kind: 'checkout_failed' }) + + await user.click(preset('$25')) + await user.click(continueButton()) + + expect(ports.tabs[0].closed).toBe(true) + expect(notice()).toHaveTextContent("Couldn't open checkout") + expect(notice()).toHaveTextContent('Nothing was charged. Try again.') + expect(preset('$25')).toHaveAttribute('aria-checked', 'true') + expect(continueButton()).toBeEnabled() + }) + + it('a rejected checkout port closes the reserved tab and keeps Continue', async () => { + const { ports, user } = renderDialog() + ports.checkoutRejects = true + + await user.click(continueButton()) + + expect(ports.tabs[0].closed).toBe(true) + expect(notice()).toHaveTextContent("Couldn't open checkout") + expect(continueButton()).toBeEnabled() + }) + + it('reopen creates a fresh checkout', async () => { + const { ports, user } = renderDialog() + + await user.click(continueButton()) + await user.click(screen.getByTestId('add-credits-reopen')) + + expect(ports.checkouts).toEqual([5000, 5000]) + expect(ports.tabs[1].url).toBe(CHECKOUT_URL) + }) + + it('a rate limit on reopen shows its copy and disables Reopen', async () => { + const { ports, user } = renderDialog() + await user.click(continueButton()) + ports.refuse({ kind: 'rate_limited', retryAfterSeconds: 2400 }) + + await user.click(screen.getByTestId('add-credits-reopen')) + + expect(notice()).toHaveTextContent("You've hit the top-up limit for now") + expect(notice()).toHaveTextContent( + 'Try again in 40 minutes, or message support.' + ) + expect(screen.getByTestId('add-credits-reopen')).toBeDisabled() + }) + + it('offers a plain link to the session when the pop-up is blocked', async () => { + const { ports, user } = renderDialog() + ports.popupsBlocked = true + + await user.click(continueButton()) + + expect( + screen.getByRole('heading', { name: "Checkout didn't open" }) + ).toBeVisible() + const link = screen.getByTestId('add-credits-open-checkout') + expect(link).toHaveAttribute('href', CHECKOUT_URL) + expect(link).toHaveAttribute('target', '_blank') + + link.addEventListener('click', (event) => event.preventDefault()) + await user.click(link) + + expect( + screen.getByRole('heading', { name: 'Checkout opened in a new tab' }) + ).toBeVisible() + }) +}) + +describe('AddCreditsDialog refusals', () => { + it.for<{ refusal: AddCreditsRefusal; wait: string }>([ + { + refusal: { kind: 'rate_limited', retryAfterSeconds: 2400 }, + wait: 'Try again in 40 minutes, or message support.' + }, + { + refusal: { kind: 'rate_limited', retryAfterSeconds: 3600 }, + wait: 'Try again in an hour, or message support.' + }, + { + refusal: { kind: 'rate_limited' }, + wait: 'Try again later, or message support.' + } + ])('rate limited, shows "$wait"', async ({ refusal, wait }) => { + const { ports, user } = renderDialog() + ports.refuse(refusal) + + await user.click(continueButton()) + + expect(notice()).toHaveTextContent("You've hit the top-up limit for now") + expect(notice()).toHaveTextContent(wait) + expect( + within(notice()).getByRole('link', { name: 'message support' }) + ).toHaveAttribute('href', SUPPORT_URL) + expect(continueButton()).toBeDisabled() + }) + + it('purchases stopped after Continue', async () => { + const { ports, user } = renderDialog() + ports.refuse({ kind: 'purchases_paused' }) + + await user.click(continueButton()) + + expect(notice()).toHaveTextContent( + "Buying credits isn't available right now" + ) + expect(notice()).toHaveTextContent('Try again later, or message support.') + expect(continueButton()).toBeDisabled() + }) + + it.for([ + { + denial: 'topup_purchases_paused', + title: "Buying credits isn't available right now" + }, + { denial: undefined, title: "You can't add credits right now" } + ] as const)( + 'can_top_up going false while open ($denial)', + async ({ denial, title }) => { + const { rerender } = renderDialog() + + await rerender({ canTopUp: false, topUpDenial: denial }) + + expect(notice()).toHaveTextContent(title) + expect(continueButton()).toBeDisabled() + } + ) +}) + +describe('AddCreditsDialog pending bank check', () => { + it('needs verification offers only Verify payment', async () => { + const { ports } = renderDialog({ + pendingTopup: { + kind: 'needs_verification', + amountCents: 2500, + verifyUrl: 'https://bank.example/3ds' + } + }) + + expect(notice()).toHaveTextContent('Your $25 payment needs verification') + expect( + screen.getByRole('link', { name: /Verify payment/ }) + ).toHaveAttribute('href', 'https://bank.example/3ds') + expect(screen.queryByTestId('add-credits-continue')).toBeNull() + expect(field()).toBeDisabled() + expect(within(summary()).getByText('$25.00, unverified')).toBeVisible() + expect(await within(summary()).findByText('5,275 credits')).toBeVisible() + expect(ports.quotes).toEqual([2500]) + }) + + it('needs verification without a served amount shows no amount', () => { + renderDialog({ + pendingTopup: { + kind: 'needs_verification', + verifyUrl: 'https://bank.example/3ds' + } + }) + + expect(notice()).toHaveTextContent('Your payment needs verification') + expect(summary()).not.toHaveTextContent('$0.00') + expect(summary()).not.toHaveTextContent('0 credits') + }) + + it("wasn't verified offers only Contact support and never says nothing was charged", () => { + renderDialog({ pendingTopup: { kind: 'not_verified', amountCents: 2500 } }) + + expect(notice()).toHaveTextContent("Your $25 payment wasn't verified") + expect( + screen.getByRole('link', { name: 'Contact support' }) + ).toHaveAttribute('href', SUPPORT_URL) + expect(within(summary()).getByText('$25.00 top-up')).toBeVisible() + expect(within(summary()).getByText('Not verified')).toBeVisible() + expect(screen.queryByText(/nothing was charged/i)).toBeNull() + }) +}) diff --git a/packages/account-ui/src/billing/addCredits/AddCreditsDialog.vue b/packages/account-ui/src/billing/addCredits/AddCreditsDialog.vue new file mode 100644 index 00000000000..861ec803a26 --- /dev/null +++ b/packages/account-ui/src/billing/addCredits/AddCreditsDialog.vue @@ -0,0 +1,198 @@ + + + diff --git a/packages/account-ui/src/billing/addCredits/AddCreditsNotice.vue b/packages/account-ui/src/billing/addCredits/AddCreditsNotice.vue new file mode 100644 index 00000000000..4df2eafdeaa --- /dev/null +++ b/packages/account-ui/src/billing/addCredits/AddCreditsNotice.vue @@ -0,0 +1,57 @@ + + + diff --git a/packages/account-ui/src/billing/addCredits/AddCreditsOpenedStep.vue b/packages/account-ui/src/billing/addCredits/AddCreditsOpenedStep.vue new file mode 100644 index 00000000000..9b50d048007 --- /dev/null +++ b/packages/account-ui/src/billing/addCredits/AddCreditsOpenedStep.vue @@ -0,0 +1,95 @@ + + + diff --git a/packages/account-ui/src/billing/addCredits/addCreditsPresentation.ts b/packages/account-ui/src/billing/addCredits/addCreditsPresentation.ts new file mode 100644 index 00000000000..4b34a8733ef --- /dev/null +++ b/packages/account-ui/src/billing/addCredits/addCreditsPresentation.ts @@ -0,0 +1,255 @@ +import type { + AddCreditsAmountView, + AddCreditsBounds, + AddCreditsCopyKey, + AddCreditsNotice, + AddCreditsPendingTopup, + AddCreditsRefusal, + AddCreditsTranslate +} from '@comfyorg/account-core/billing' +import { + addCreditsWait, + amountErrorCopyKey, + waitCopy +} from '@comfyorg/account-core/billing' +import { buttonVariants } from '@comfyorg/design-system/button.variants' +import { cn } from '@comfyorg/tailwind-utils' + +import type { AddCreditsQuote } from './useAddCreditsDialog' + +type AddCreditsUiSlot = + | 'root' + | 'header' + | 'title' + | 'close' + | 'body' + | 'presets' + | 'preset' + | 'line' + | 'field' + | 'error' + | 'notice' + | 'summary' + | 'footer' + | 'primary' + | 'secondary' + +export type AddCreditsUi = Partial> + +export const SUPPORT_TOKEN = '{support}' + +export interface AddCreditsFormat { + readonly money: (cents: number) => string + readonly dollars: (cents: number) => string + readonly count: (value: number) => string +} + +export function addCreditsFormat(locale: string): AddCreditsFormat { + const money = new Intl.NumberFormat(locale, { + style: 'currency', + currency: 'USD', + minimumFractionDigits: 2, + maximumFractionDigits: 2 + }) + const dollars = new Intl.NumberFormat(locale, { + style: 'currency', + currency: 'USD', + maximumFractionDigits: 0 + }) + const count = new Intl.NumberFormat(locale) + return { + money: (cents) => money.format(cents / 100), + dollars: (cents) => + (cents % 100 === 0 ? dollars : money).format(cents / 100), + count: (value) => count.format(value) + } +} + +export interface AddCreditsCopyContext { + readonly translate: AddCreditsTranslate + readonly format: AddCreditsFormat +} + +export interface AddCreditsNoticeCopy { + readonly tone: 'warning' | 'neutral' + readonly title: string + readonly body: readonly string[] +} + +export interface AddCreditsFooterCopy { + readonly credits: string + readonly loading: boolean + readonly detail: string +} + +export function primaryActionClass(ui: AddCreditsUi): string { + return cn( + buttonVariants({ variant: 'inverted', size: 'lg' }), + 'shrink-0 no-underline', + ui.primary + ) +} + +export function footerBarClass(ui: AddCreditsUi, layout: string): string { + return cn( + 'flex items-center gap-2 border-x-0 border-t border-b-0 border-solid px-4 py-4', + layout, + ui.footer + ) +} + +export function amountErrorFor( + view: AddCreditsAmountView, + bounds: AddCreditsBounds, + { translate, format }: AddCreditsCopyContext +): string | undefined { + if (view.check.status !== 'invalid') return undefined + const bound = + view.check.error === 'below_min' ? bounds.minCents : bounds.maxCents + return translate(amountErrorCopyKey(view.check.error), { + amount: format.dollars(bound) + }) +} + +const REFUSAL_COPY: Record< + AddCreditsRefusal['kind'], + readonly [AddCreditsCopyKey, AddCreditsCopyKey] +> = { + checkout_failed: ['checkoutFailed.title', 'checkoutFailed.body'], + not_allowed: ['notAllowed.title', 'notAllowed.body'], + rate_limited: ['rateLimited.title', 'rateLimited.body'], + purchases_paused: ['purchasesPaused.title', 'purchasesPaused.body'] +} + +const PENDING_COPY: Record< + AddCreditsPendingTopup['kind'], + readonly [AddCreditsCopyKey, AddCreditsCopyKey, AddCreditsCopyKey] +> = { + processing: [ + 'processing.title', + 'processing.titleNoAmount', + 'processing.body' + ], + needs_verification: [ + 'needsVerification.title', + 'needsVerification.titleNoAmount', + 'needsVerification.body' + ], + not_verified: [ + 'notVerified.title', + 'notVerified.titleNoAmount', + 'notVerified.body' + ] +} + +function splitSupport(text: string): string[] { + return text.split(/(\{support\})/).filter((part) => part !== '') +} + +function refusalBody( + refusal: AddCreditsRefusal, + bodyKey: AddCreditsCopyKey, + translate: AddCreditsTranslate +): string { + const support = SUPPORT_TOKEN + if (refusal.kind !== 'rate_limited') return translate(bodyKey, { support }) + const wait = addCreditsWait(refusal.retryAfterSeconds) + return wait.unit === 'later' + ? translate('rateLimited.bodyNoWait', { support }) + : translate(bodyKey, { wait: waitCopy(wait, translate), support }) +} + +function refusalCopy( + refusal: AddCreditsRefusal, + translate: AddCreditsTranslate +): AddCreditsNoticeCopy { + const [titleKey, bodyKey] = REFUSAL_COPY[refusal.kind] + return { + tone: 'warning', + title: translate(titleKey), + body: splitSupport(refusalBody(refusal, bodyKey, translate)) + } +} + +function pendingCopy( + pending: AddCreditsPendingTopup, + { translate, format }: AddCreditsCopyContext +): AddCreditsNoticeCopy { + const [withAmount, withoutAmount, bodyKey] = PENDING_COPY[pending.kind] + return { + tone: 'neutral', + title: + pending.amountCents === undefined + ? translate(withoutAmount) + : translate(withAmount, { + amount: format.dollars(pending.amountCents) + }), + body: [translate(bodyKey)] + } +} + +export function noticeCopyFor( + notice: AddCreditsNotice | undefined, + context: AddCreditsCopyContext +): AddCreditsNoticeCopy | undefined { + if (notice === undefined) return undefined + return notice.kind === 'refusal' + ? refusalCopy(notice.refusal, context.translate) + : pendingCopy(notice, context) +} + +export function noticeKindOf( + notice: AddCreditsNotice | undefined +): string | undefined { + return notice?.kind === 'refusal' ? notice.refusal.kind : notice?.kind +} + +function quotedCredits( + quote: AddCreditsQuote | undefined, + { translate, format }: AddCreditsCopyContext +): string { + if (quote?.status === 'ok') { + return translate('credits', { credits: format.count(quote.credits) }) + } + return quote?.status === 'unavailable' + ? translate('creditsUnavailable') + : translate('credits', { credits: 0 }) +} + +function notVerifiedFooter( + cents: number | undefined, + { translate, format }: AddCreditsCopyContext +): AddCreditsFooterCopy { + return cents === undefined + ? { credits: translate('notVerified.footer'), loading: false, detail: '' } + : { + credits: translate('notVerified.footerTitle', { + amount: format.money(cents) + }), + loading: false, + detail: translate('notVerified.footer') + } +} + +export function footerCopyFor( + view: AddCreditsAmountView, + quote: AddCreditsQuote | undefined, + context: AddCreditsCopyContext +): AddCreditsFooterCopy { + const { notice, amountCents } = view + if (notice?.kind === 'not_verified') { + return notVerifiedFooter(amountCents, context) + } + const verifying = notice?.kind === 'needs_verification' + if (verifying && amountCents === undefined) { + return { credits: '', loading: false, detail: '' } + } + return { + credits: quotedCredits(quote, context), + loading: quote?.status === 'loading', + detail: context.translate( + verifying ? 'needsVerification.footer' : 'paidAtCheckout', + { amount: context.format.money(amountCents ?? 0) } + ) + } +} diff --git a/packages/account-ui/src/billing/addCredits/useAddCreditsDialog.test.ts b/packages/account-ui/src/billing/addCredits/useAddCreditsDialog.test.ts new file mode 100644 index 00000000000..982d17f6196 --- /dev/null +++ b/packages/account-ui/src/billing/addCredits/useAddCreditsDialog.test.ts @@ -0,0 +1,83 @@ +import { assert, describe, expect, it } from 'vitest' + +import type { + HostedTopupCheckoutResult, + TopupCommand, + TopupQuoteResult +} from '@comfyorg/account-core/billing' +import { readBillingErrorCode } from '@comfyorg/account-core/billing' + +import { addCreditsClientPorts } from './useAddCreditsDialog' + +function topupAnswering( + quote: TopupQuoteResult, + checkout: HostedTopupCheckoutResult +): Pick & { + returnUrls: string[] +} { + const returnUrls: string[] = [] + return { + returnUrls, + quoteTopup: async () => quote, + createHostedTopupCheckout: async (input) => { + returnUrls.push(input.returnUrl) + return checkout + } + } +} + +const signal = new AbortController().signal + +describe('addCreditsClientPorts', () => { + it('reads the served credits and the hosted checkout url', async () => { + const topup = topupAnswering( + { + status: 'ok', + value: { amountCents: 5000, credits: 10550, expiresAt: '2027-01-01' } + }, + { status: 'ok', url: 'https://checkout.example/cs_1' } + ) + const ports = addCreditsClientPorts( + { topup }, + () => 'https://cloud.comfy.org/?topup=return' + ) + + expect(await ports.quote(5000, signal)).toStrictEqual({ + status: 'ok', + credits: 10550 + }) + expect(await ports.createCheckout(5000, signal)).toStrictEqual({ + status: 'ok', + url: 'https://checkout.example/cs_1' + }) + expect(topup.returnUrls).toEqual(['https://cloud.comfy.org/?topup=return']) + }) + + it('turns a 429 into the rate-limit refusal with its wait', async () => { + const serverCode = readBillingErrorCode({ + code: 'TOPUP_RATE_LIMITED', + message: 'limit' + }) + assert.exists(serverCode) + const topup = topupAnswering( + { status: 'error', code: 'REQUEST_FAILED' }, + { + status: 'error', + code: 'REQUEST_FAILED', + httpStatus: 429, + serverCode, + retryAfterSeconds: 2400 + } + ) + const ports = addCreditsClientPorts( + { topup }, + () => 'https://cloud.comfy.org/' + ) + + expect(await ports.quote(5000, signal)).toStrictEqual({ status: 'error' }) + expect(await ports.createCheckout(5000, signal)).toStrictEqual({ + status: 'error', + refusal: { kind: 'rate_limited', retryAfterSeconds: 2400 } + }) + }) +}) diff --git a/packages/account-ui/src/billing/addCredits/useAddCreditsDialog.ts b/packages/account-ui/src/billing/addCredits/useAddCreditsDialog.ts new file mode 100644 index 00000000000..23454e87392 --- /dev/null +++ b/packages/account-ui/src/billing/addCredits/useAddCreditsDialog.ts @@ -0,0 +1,230 @@ +import { computed, onScopeDispose, shallowRef, toValue, watch } from 'vue' +import type { MaybeRefOrGetter } from 'vue' + +import type { + AddCreditsAmount, + AddCreditsEvent, + AddCreditsFacts, + AddCreditsRefusal, + AddCreditsState, + TopupCommand +} from '@comfyorg/account-core/billing' +import { + addCreditsRefusalFor, + reduceAddCredits, + startAddCredits, + viewAddCreditsAmount +} from '@comfyorg/account-core/billing' + +export type AddCreditsQuoteResult = + | { readonly status: 'ok'; readonly credits: number } + | { readonly status: 'error' } + +export type AddCreditsCheckoutResult = + | { readonly status: 'ok'; readonly url: string } + | { readonly status: 'error'; readonly refusal: AddCreditsRefusal } + +/** A tab opened inside the click, so a pop-up blocker lets it through. */ +export interface AddCreditsCheckoutTab { + readonly navigate: (url: string) => void + readonly close: () => void +} + +/** Everything the dialog reaches outside itself for; the host owns each one. */ +export interface AddCreditsPorts { + readonly quote: ( + amountCents: number, + signal: AbortSignal + ) => Promise + readonly createCheckout: ( + amountCents: number, + signal: AbortSignal + ) => Promise + readonly reserveTab: () => AddCreditsCheckoutTab | null + /** Calls `landed` once the server reports the top-up went through; returns its stop. */ + readonly watchPayment: (landed: () => void) => () => void +} + +export type AddCreditsQuote = + | { readonly status: 'loading' } + | { readonly status: 'ok'; readonly credits: number } + | { readonly status: 'unavailable' } + +export interface AddCreditsDialogOptions { + readonly ports: AddCreditsPorts + readonly facts: MaybeRefOrGetter + readonly initialAmount: AddCreditsAmount + readonly onLanded?: () => void +} + +/** Quote and checkout session from a billing client; the host still supplies the tab and the payment watch. */ +export function addCreditsClientPorts( + client: { + readonly topup: Pick< + TopupCommand, + 'quoteTopup' | 'createHostedTopupCheckout' + > + }, + returnUrl: () => string +): Pick { + return { + async quote(amountCents, signal) { + const quoted = await client.topup.quoteTopup({ amountCents, signal }) + return quoted.status === 'ok' + ? { status: 'ok', credits: quoted.value.credits } + : { status: 'error' } + }, + async createCheckout(amountCents, signal) { + const session = await client.topup.createHostedTopupCheckout({ + amountCents, + returnUrl: returnUrl(), + signal + }) + return session.status === 'ok' + ? { status: 'ok', url: session.url } + : { status: 'error', refusal: addCreditsRefusalFor(session) } + } + } +} + +/** `window.open` inside the click; null when the browser blocks it. */ +export function reserveBrowserTab(): AddCreditsCheckoutTab | null { + const opened = window.open('', '_blank') + if (!opened) return null + opened.opener = null + return { + navigate: (url) => opened.location.replace(url), + close: () => opened.close() + } +} + +export function useAddCreditsDialog(options: AddCreditsDialogOptions) { + const { ports } = options + const state = shallowRef( + startAddCredits(options.initialAmount) + ) + const dispatch = (event: AddCreditsEvent) => { + state.value = reduceAddCredits(state.value, event) + } + + const amountView = computed(() => + state.value.step === 'amount' || state.value.step === 'opening' + ? viewAddCreditsAmount(state.value, toValue(options.facts)) + : undefined + ) + + const quotedCents = computed(() => + amountView.value + ? amountView.value.amountCents + : 'amountCents' in state.value + ? state.value.amountCents + : undefined + ) + + const quoteRead = shallowRef<{ + readonly cents: number + readonly quote: AddCreditsQuote + }>() + const quote = computed(() => { + const cents = quotedCents.value + if (cents === undefined) return undefined + return quoteRead.value?.cents === cents + ? quoteRead.value.quote + : { status: 'loading' } + }) + + let quoteScope: AbortController | undefined + watch( + quotedCents, + async (cents) => { + quoteScope?.abort() + if (cents === undefined) return + const scope = new AbortController() + quoteScope = scope + const result = await ports + .quote(cents, scope.signal) + .catch((): AddCreditsQuoteResult => ({ status: 'error' })) + if (scope.signal.aborted) return + quoteRead.value = { + cents, + quote: + result.status === 'ok' + ? { status: 'ok', credits: result.credits } + : { status: 'unavailable' } + } + }, + { immediate: true } + ) + + let checkoutScope: AbortController | undefined + let stopWatch: (() => void) | undefined + + function armPaymentWatch() { + if (stopWatch) return + stopWatch = ports.watchPayment(() => { + stopWatch?.() + dispatch({ type: 'payment_landed' }) + options.onLanded?.() + }) + } + + async function openCheckout(amountCents: number) { + const tab = ports.reserveTab() + dispatch({ + type: 'checkout_requested', + amountCents, + tabReserved: tab !== null + }) + const scope = new AbortController() + checkoutScope = scope + const session = await ports + .createCheckout(amountCents, scope.signal) + .catch((): AddCreditsCheckoutResult => ({ + status: 'error', + refusal: { kind: 'checkout_failed' } + })) + if (scope.signal.aborted) { + tab?.close() + dispatch({ type: 'checkout_abandoned' }) + return + } + if (session.status === 'error') { + tab?.close() + dispatch({ type: 'checkout_refused', refusal: session.refusal }) + return + } + tab?.navigate(session.url) + dispatch({ type: 'checkout_created', checkoutUrl: session.url }) + armPaymentWatch() + } + + function continueToCheckout() { + const view = amountView.value + if (!view?.canContinue || view.amountCents === undefined) return + return openCheckout(view.amountCents) + } + + function reopenCheckout() { + const current = state.value + if (current.step !== 'checkout_opened' || !toValue(options.facts).canTopUp) + return + return openCheckout(current.amountCents) + } + + onScopeDispose(() => { + quoteScope?.abort() + checkoutScope?.abort() + stopWatch?.() + }) + + return { + state, + amountView, + quote, + pickPreset: (cents: number) => dispatch({ type: 'preset_picked', cents }), + typeAmount: (input: string) => dispatch({ type: 'amount_typed', input }), + continueToCheckout, + reopenCheckout, + followBlockedLink: () => dispatch({ type: 'blocked_link_followed' }) + } +} diff --git a/packages/account-ui/src/billing/index.ts b/packages/account-ui/src/billing/index.ts index ea08757b359..1395f868501 100644 --- a/packages/account-ui/src/billing/index.ts +++ b/packages/account-ui/src/billing/index.ts @@ -36,3 +36,18 @@ export type { Checkout, CheckoutOptions } from './useCheckout' export { useCheckout } from './useCheckout' export type { PaymentAction } from './CheckoutSteps.vue' export { default as CheckoutSteps } from './CheckoutSteps.vue' +export type { + AddCreditsCheckoutResult, + AddCreditsCheckoutTab, + AddCreditsDialogOptions, + AddCreditsPorts, + AddCreditsQuote, + AddCreditsQuoteResult +} from './addCredits/useAddCreditsDialog' +export { + addCreditsClientPorts, + reserveBrowserTab, + useAddCreditsDialog +} from './addCredits/useAddCreditsDialog' +export type { AddCreditsUi } from './addCredits/addCreditsPresentation' +export { default as AddCreditsDialog } from './addCredits/AddCreditsDialog.vue' diff --git a/packages/billing-core/src/client.ts b/packages/billing-core/src/client.ts index 0e3a3a744b3..1bb9888f5e4 100644 --- a/packages/billing-core/src/client.ts +++ b/packages/billing-core/src/client.ts @@ -2,6 +2,7 @@ import type { AutoReloadSettings, BillingBalanceResponse, BillingCapabilitiesResponse, + BillingCapabilityDenials, BillingEventsResponse, BillingOpStatusResponse, BillingPlansResponse, @@ -86,9 +87,9 @@ export type BillingSubscriptionStatus = NonNullable< export type { BillingStatus } export type BillingStatusResponse = Omit< GeneratedBillingStatusResponse, - 'ended_at' + 'ended_at' | 'next_charge' > & - Partial> + Partial> export type { RenewalInvoice } export type { ScheduledPlanChange } @@ -103,6 +104,33 @@ export type BillingCapabilitiesRead = Omit< Partial> & { denied_reasons?: Readonly>> } +export type BillingTopUpDenial = NonNullable< + BillingCapabilityDenials['can_top_up'] +> +const SERVED_TOP_UP_DENIALS: Record = { + not_a_member: true, + not_workspace_owner: true, + creator_only_provisioning: true, + payment_past_due: true, + tier_not_self_serve: true, + subscription_status_unrecognized: true, + topup_purchases_paused: true, + free_plan: true, + no_subscription: true, + subscription_ended: true +} + +function isBillingTopUpDenial(reason: string): reason is BillingTopUpDenial { + return Object.hasOwn(SERVED_TOP_UP_DENIALS, reason) +} + +export function parseBillingTopUpDenial( + reason: string | undefined +): BillingTopUpDenial | undefined { + return reason !== undefined && isBillingTopUpDenial(reason) + ? reason + : undefined +} export type { CreateTopupResponse } export type { BillingOpStatusResponse } export type { SavedPaymentMethod } diff --git a/packages/design-system/src/css/iconSizing.test.ts b/packages/design-system/src/css/iconSizing.test.ts index c50ff671e3c..3253ce49e38 100644 --- a/packages/design-system/src/css/iconSizing.test.ts +++ b/packages/design-system/src/css/iconSizing.test.ts @@ -77,4 +77,4 @@ it('compiles non-shrinking size-4 icons with explicit overrides', async () => { expect(rules.get('.w-8')?.width).toBe('calc(var(--spacing) * 8)') expect(rules.get('.h-5')?.height).toBe('calc(var(--spacing) * 5)') expect(rules.get('.shrink')?.['flex-shrink']).toBe('1') -}) +}, 30_000) diff --git a/packages/ingest-types/package.json b/packages/ingest-types/package.json index 6daff4e253a..5d07e85ade5 100644 --- a/packages/ingest-types/package.json +++ b/packages/ingest-types/package.json @@ -1,6 +1,6 @@ { "name": "@comfyorg/ingest-types", - "version": "1.3.0", + "version": "1.4.0", "description": "Comfy Cloud Ingest API TypeScript types and Zod schemas", "homepage": "https://comfy.org", "license": "MIT", @@ -57,7 +57,7 @@ }, "devDependencies": { "@comfyorg/published-package-build": "workspace:*", - "@hey-api/openapi-ts": "0.97.3", + "@hey-api/openapi-ts": "catalog:", "typescript": "catalog:", "vite": "catalog:", "zod": "catalog:" diff --git a/packages/ingest-types/src/index.ts b/packages/ingest-types/src/index.ts index 0d85c724261..1266f92343a 100644 --- a/packages/ingest-types/src/index.ts +++ b/packages/ingest-types/src/index.ts @@ -59,6 +59,8 @@ export type { AgentDeleteSkillResponses, AgentDraftSnapshot, AgentError, + AgentExtensionChangedData, + AgentExtensionChangedFrame, AgentGetDraftData, AgentGetDraftError, AgentGetDraftErrors, @@ -79,6 +81,11 @@ export type { AgentGetRunModeErrors, AgentGetRunModeResponse, AgentGetRunModeResponses, + AgentGetUsageStatusData, + AgentGetUsageStatusError, + AgentGetUsageStatusErrors, + AgentGetUsageStatusResponse, + AgentGetUsageStatusResponses, AgentIdentity, AgentListSkillsData, AgentListSkillsError, @@ -95,6 +102,7 @@ export type { AgentLlmAdmitErrors, AgentLlmAdmitResponse, AgentLlmAdmitResponses, + AgentLlmError, AgentLlmMessagesData, AgentLlmMessagesError, AgentLlmMessagesErrors, @@ -151,6 +159,7 @@ export type { AgentTurnAccepted, AgentTurnRefusal, AgentTurnUsage, + AgentUsageStatusResponse, AgentViewableAttachmentExtension, Asset, AssetCreated, @@ -262,6 +271,11 @@ export type { CheckAssetByHashError, CheckAssetByHashErrors, CheckAssetByHashResponses, + CheckCloudCompatibilityData, + CheckCloudCompatibilityError, + CheckCloudCompatibilityErrors, + CheckCloudCompatibilityResponse, + CheckCloudCompatibilityResponses, CheckHubUsernameData, CheckHubUsernameError, CheckHubUsernameErrors, @@ -284,7 +298,11 @@ export type { ClearWorkspaceDeploymentResponse, ClearWorkspaceDeploymentResponses, ClientOptions, + CloudCompatibility, + CloudCompatibilityRequest, CloudNodeCompatibility, + CloudWorkflowCompatibility, + CompatibilityModel, CompleteModelUploadData, CompleteModelUploadError, CompleteModelUploadErrors, @@ -417,6 +435,8 @@ export type { CreateWorkspaceResponse, CreateWorkspaceResponses, CredentialOption, + CreditValidity, + CreditValidityFact, CurrentWorkspaceResponse, DeleteAssetData, DeleteAssetError, @@ -1243,6 +1263,7 @@ export type { MoveUserdataFileErrors, MoveUserdataFileResponse, MoveUserdataFileResponses, + NextCharge, NodeInfo, OAuthAuthorizationServerMetadata, OAuthAuthorizeRedirectResponse, @@ -1358,6 +1379,7 @@ export type { QueueInfo, QueueManageRequest, QueueManageResponse, + RateLimitExceededError, RecordRetentionFlowEventData, RecordRetentionFlowEventError, RecordRetentionFlowEventErrors, diff --git a/packages/ingest-types/src/types.gen.ts b/packages/ingest-types/src/types.gen.ts index 0a9d5e32b8c..d270828a0fc 100644 --- a/packages/ingest-types/src/types.gen.ts +++ b/packages/ingest-types/src/types.gen.ts @@ -5,3969 +5,4923 @@ export type ClientOptions = { } /** - * Workspace entity annotated with the requesting user's role. + * Response returned after successfully accepting a workspace invitation. */ -export type WorkspaceWithRole = { +export type AcceptInviteResponse = { /** - * When the workspace was created + * ID of the workspace joined */ - created_at: string - id: string + workspace_id: string /** - * When the user joined the workspace (same as created_at for the workspace creator) + * Name of the workspace joined */ - joined_at: string - name: string - plan_summary?: WorkspacePlanSummary - role: 'owner' | 'member' - subscription_tier?: SubscriptionTier - type: 'personal' | 'team' + workspace_name: string } /** - * Subscription tier (uppercase to match comfy-api) + * Returned when a request to run the agent is declined before the turn starts, because of a billing or account condition on the workspace. The `error` object carries a `message` you can show the user, a `type` that matches the HTTP status, and a more specific `reason` you can branch on to offer the right next step. */ -export type SubscriptionTier = - | 'FREE' - | 'STANDARD' - | 'CREATOR' - | 'PRO' - | 'FOUNDERS_EDITION' - | 'TEAM' - | 'ENTERPRISE' +export type AgentAdmissionError = { + error: { + /** + * A human-readable explanation of why the request was declined, suitable for display. + */ + message: string + /** + * The specific cause of the denial, for choosing what to show the user. `no_funds`: the workspace is out of credits — prompt them to add credits. `manual_block`: the workspace has been blocked — direct them to support. `funds_unavailable`: billing was temporarily unreachable — retry after the delay given in the `Retry-After` response header. + */ + reason: 'no_funds' | 'manual_block' | 'funds_unavailable' + /** + * The general category of the denial, matching the HTTP status. `PAYMENT_REQUIRED` (402): the workspace cannot currently pay for a turn. `SERVICE_UNAVAILABLE` (503): billing status could not be checked right now and the request can be retried (see the `Retry-After` response header). + */ + type: 'PAYMENT_REQUIRED' | 'SERVICE_UNAVAILABLE' + } +} /** - * Workspace-switcher display fact, not spend authorization or plan-action eligibility. Uses billing subscription-state precedence: ending, scheduled changes and activating display as active; renewal payment failures confirmed by the provider display as payment_due. Unknown or unavailable facts omit the entire summary; clients must not infer no_plan from omission. + * Acknowledgement that the ask is answered and the parked turn was woken; its continuation streams over the WebSocket. `selected` and `other_text` are the answer committed to the ask row. The first answer wins: when an earlier request already committed one (a retry, or another tab), this carries THAT answer, not the request body, so compare it with what you sent before showing it as the user's choice. */ -export type WorkspacePlanSummary = { +export type AgentAnswerAccepted = { /** - * User-facing plan name. Null for no_plan or when the exact current/ended plan identity is unavailable; never inferred from cached admission tier. + * The committed free-text answer, when there is one. */ - plan_name: string | null - status: 'active' | 'no_plan' | 'paused' | 'payment_due' | 'ended' -} - -/** - * Abbreviated workspace metadata used in list responses. - */ -export type WorkspaceSummary = { - id: string - name: string - type: 'personal' | 'team' + other_text?: string + /** + * The committed option ids (empty when the answer was free text only). + */ + selected: Array + status: 'answered' } /** - * Per-member action guidance for the authenticated actor; render each field as received rather than deriving it from roles. + * The user's answer to a pending ask_user prompt. `selected` holds the chosen option ids; a permission gate answers with one id (e.g. the Approve/Deny option). `other_text` carries a free-text answer when the ask set allow_other. */ -export type WorkspaceMemberCapabilities = { - /** - * Whether the actor may switch this member to the other supported role. Requires current owner authority and respects directory management, creator protection and the last-owner guard. Non-creator self-demotion is allowed when another owner remains. Not mutation authorization. - */ - can_change_role: boolean +export type AgentAnswerRequest = { /** - * Whether the actor may remove this member. Requires current owner authority, refuses self-removal and protects the creator. Directory management alone does not refuse the existing removal route. Not permission to leave the workspace; use can_leave_workspace. + * Free-text answer; only permitted when the ask set allow_other. Counts as one selection toward the bounds. */ - can_remove: boolean + other_text?: string /** - * Whether a persisted member credit-limit mutation is available. Currently false: no such backend mutation exists. Not a balance, local UI setting, permission to change roles or permission to remove. + * Chosen option ids. Must be a subset of the ask's option ids and satisfy its min_selections/max_selections. */ - can_set_credit_limit: boolean + selected: Array } /** - * The deployments a browser in this workspace may pick, newest first by created_at (always present). A row without a Build name keeps its place in that order. + * 409 from the answer route: the ask is no longer pending, or its turn is gone so the answer can never be delivered. `status`, `selected` and `other_text` report the outcome stored on the ask row when the server knows it, with the same rules as the agent_ask_resolved event. */ -export type WorkspaceDeploymentList = { - /** - * False when comfy-builder refused the caller's token when asked to name the rows' Releases, or its Builds listing (401 or 403); no row then carries a Build name or Release version. True does not mean every row is named: a row whose Release comfy-builder does not name carries none either, nor does one it could not name because a read of its Builds or their Releases failed (one Build's Releases refused with 401 or 403 included), or because its Build is past the first 50 Builds its Builds listing shows (on a comfy-builder released before it could name the rows for any member). - */ - builds_visible: boolean - /** - * The workspace's default deployment, set by an owner through PUT /api/workspaces/{id}/default-deployment; absent when none is set, or when the one set is gone (see gone_default_deployment_id). Present whether or not this browser follows it, so the switcher can label the row. - */ - default_deployment_id?: string - /** - * The workspace's default deployment, present only when it is no longer one of the workspace's live deployments (deleted, or no longer the workspace's). Members with no pick of their own run on Comfy Cloud, and default_deployment_id is absent. The default stays recorded until an owner sets or clears it, so this is reported on every listing until then. - */ - gone_default_deployment_id?: string +export type AgentAskConflict = { /** - * The deployment this browser had picked, present only when it is no longer one of the workspace's live deployments (deleted, or no longer the workspace's). Every catalog read and submit already ran this browser on Comfy Cloud for it. The response leaves the cookie untouched, so an older listing cannot overwrite a newer pick. The stale cookie remains an explicit browser pick (pick_source `browser`), so a workspace default set later does not move this browser. The browser is on Comfy Cloud and picked_deployment_id is absent. Subsequent listings report the same gone id until the cookie changes or expires. + * Human-readable error message. */ - gone_picked_deployment_id?: string - items: Array + error: string /** - * Where the current pick came from: `browser`, this browser's own pick cookie (a deployment, or Comfy Cloud with picked_deployment_id absent); `workspace_default`, the workspace's default deployment because the browser has no pick. Absent when there is neither. + * The committed free-text answer, only when `status` is `answered`. */ - pick_source?: 'browser' | 'workspace_default' + other_text?: string /** - * The deployment this browser is on: its own pick, read from its pick cookie, or the workspace's default deployment when the browser has no pick (BE-17480); absent when the browser runs on Comfy Cloud. It is always one of the listed deployments: a pick or a default whose deployment is not among them (deleted, or no longer the workspace's) runs on Comfy Cloud, and is reported in gone_picked_deployment_id or gone_default_deployment_id instead. pick_source says which of the two it is. + * The committed option ids when `status` is `answered`; null otherwise. */ - picked_deployment_id?: string + selected?: Array | null + status?: AgentAskStatus } /** - * One live deployment of the workspace, as the editor's switcher shows it. + * Server-to-client agent_ask frame on /ws. A turn is parked on this ask. */ -export type WorkspaceDeployment = { - /** - * The Build the Release was cut from. Absent when comfy-builder did not name the Release (see builds_visible). - */ - build_id?: string - /** - * The Build's name. Absent when comfy-builder did not name the Release (see builds_visible). - */ - build_name?: string - /** - * Whether starting the deployment (POST /api/workspaces/{id}/deployments/{deployment_id}/start) brings it back: true while it is stopped or failed, the statuses comfy-deploy's start re-runs; for any other status the start answers it unchanged. Answers "may the switcher offer Start on this row", for any member. It does not say the start will be taken: credit, the concurrency cap and the deployment's own config are the start route's refusals. - */ - can_start: boolean - /** - * When the deployment was created. - */ - created_at: string - /** - * Developer-platform deployment id; what PUT /api/workspaces/{id}/deployment takes. - */ - deployment_id: string +export type AgentAskFrame = { /** - * The deployment's name in comfy-deploy: the one its owner gave it, or the default comfy-deploy gives it at create. It is unique among its Build's live deployments, and it stays the same when the deployment moves to another Release. Absent only on a deployment created before deployments had names, until it is given one. + * The pending ask, discriminated on `kind`, plus the thread it belongs to. */ - deployment_name?: string + data: AgentPendingAsk & { + thread_id: string + } + type: 'agent_ask' +} + +/** + * Which card renders an ask. `ask_user` is the generic prompt raised by the ask_user tool. `run_approval` is the run consent card raised when the caller's ask_approval run mode gates a run: exactly the Run and Cancel options, never free text. `paused` is the admission pause card: one Resume option, never free text. `delete_approval` is the delete consent card for nodes the user made: exactly the Delete and Keep options, never free text. The same value is the agent_ask event's `kind`, the message list's `pending_ask.kind`, and an entry of `ask_kinds` on the message POST. + */ +export type AgentAskKind = + | 'ask_user' + | 'run_approval' + | 'paused' + | 'delete_approval' + +/** + * One node a `delete_approval` ask names, read from the turn's workflow. + */ +export type AgentAskNodeRef = { /** - * The Release the deployment runs now. It changes when the deployment's owner updates it; a browser that picked the deployment follows. + * The node id in the workflow. */ - release_id: string + id: string /** - * The Release's version number within its Build. Absent when comfy-builder did not name the Release (see builds_visible). + * The node's title, when it has one. */ - release_version?: number + title?: string /** - * The deployment's lifecycle status as comfy-deploy reports it; a job is taken only while it is ready. + * The node's class type, when the workflow names it. */ - status: - | 'queued' - | 'provisioning' - | 'starting' - | 'ready' - | 'unhealthy' - | 'stopping' - | 'stop_failed' - | 'stopped' - | 'failed' + type?: string +} + +export type AgentAskOption = { + description?: string + id: string + label: string } /** - * Which step the CPU server of the deployment this browser's editor runs on is on. + * The `data` of an agent_ask_resolved WebSocket event: the outcome the server committed to the ask row. Every open tab gets the same frame, including tabs that did not send the answer, so a client reads the answer that won from here and never infers it from what it sent. */ -export type WorkspaceDeploymentCpuServer = { +export type AgentAskResolvedData = { + ask_id: string + message_id: string /** - * none: the deployment gets no CPU server (Comfy Cloud, a deployment that is stopping, stop_failed, stopped or failed, or a Release with no route list or no pack route in it), so stop asking. A route list ingest could not read, or a status it does not know, is the 502, never none. creating: none yet, and setting one up takes seconds (a Modal deployment, or one on its way up). building: none yet, and Modal builds the Release's image first, which can take minutes the first time (RunPod). created: the CPU server exists; it may still be starting ComfyUI, which this does not say. + * The committed free-text answer. Present only when `status` is `answered` and the answer had free text. */ - cpu_server: 'none' | 'creating' | 'building' | 'created' + other_text?: string /** - * The deployment the answer is about. Absent when the editor runs on Comfy Cloud. + * The committed option ids when `status` is `answered` (empty when the answer was free text only). Null for every other status: an answer that was never delivered is not reported as taking effect. */ - deployment_id?: string + selected: Array | null + status: AgentAskStatus + thread_id: string } /** - * Present only for can_delete_workspace denied with plan_ending when all live subscription rows carry a known future cancel_at. This is guidance, not a promise that deletion will succeed at that time; writes recheck. + * Server-to-client agent_ask_resolved frame on /ws. An ask left pending. */ -export type WorkspaceDeletionDenialParams = { - /** - * Latest authoritative cancel_at across live subscription rows. Absent means no known boundary; never synthesize a date. - */ - effective_at?: string +export type AgentAskResolvedFrame = { + data: AgentAskResolvedData + type: 'agent_ask_resolved' } /** - * Creation refused because the account has reached its live owner membership threshold for creation. + * The ask frames the server sends on /ws, discriminated on `type`. */ -export type WorkspaceCreationLimitError = { - code: 'OWNED_WORKSPACE_LIMIT' - denied_reasons: WorkspaceCreationDenials - /** - * Owner membership threshold for new workspace creation, including the personal workspace. Other owner assignments can raise the actual count above it. - */ - max_owned_workspaces: number - message: string -} +export type AgentAskServerFrame = AgentAskFrame | AgentAskResolvedFrame /** - * Reasons creation is unavailable. Returned beside can_create_workspace false or on a creation refusal; first applicable reason wins. + * How an ask left pending, as stored on the ask row. `answered` means an answer was committed and delivered to the turn; `cancelled` means the turn ended, was stopped, or could not take the answer; `expired` means the ask timed out. There is no "unknown" status: when an answer request fails with a 5xx the client does not know the outcome and should wait for agent_ask_resolved or refetch the thread. */ -export type WorkspaceCreationDenials = { +export type AgentAskStatus = 'answered' | 'cancelled' | 'expired' + +export type AgentAttachmentBoundsExceeded = { + error: string + limits: { + max_item_length: number + max_items: number + } /** - * organization_managed: the SSO organization manages this account's workspaces. owned_workspace_limit: the caller owns at least max_owned_workspaces live workspaces. Reasons are evaluated in this order; an absent reason is no explanation, never permission. + * A bounded example of the first overlong reference; empty for count-only violations. */ - can_create_workspace?: 'organization_managed' | 'owned_workspace_limit' + overlong_ref: string + received_count: number + type: 'ATTACHMENT_BOUNDS_EXCEEDED' } +export type AgentAttachmentError = + | ({ + type: 'ATTACHMENT_TYPE_NOT_ACCEPTED' + } & AgentAttachmentRejected) + | ({ + type: 'ATTACHMENT_BOUNDS_EXCEEDED' + } & AgentAttachmentBoundsExceeded) + /** - * Metadata for a workspace-scoped API key (secret is never returned). - */ -export type WorkspaceApiKeyInfo = { - /** - * When the key was created - */ - created_at: string - /** - * User-provided description of the key's purpose. Limit is byte-based (UTF-8 encoding); 5000 bytes equals 5000 ASCII characters or fewer multi-byte characters. - */ - description: string - /** - * When the key expires (if set) - */ - expires_at?: string + * Every extension the agent accepts as an attachment, grouped by what it can actually DO with + * one. The grouping is the point: the tiers differ sharply, and a client that renders them as + * one flat "supported files" list tells the user something false (PM-1855). + * + * - `view`: the model sees the content. view_asset decodes the still (converting HEIC/HEIF to + * JPEG first) and re-encodes it as PNG/JPEG into the turn, so the model reasons about actual + * pixels. + * - `probe`: metadata only. probe_media reports duration, resolution, frame rate and codecs; + * nothing in the model's input can carry a clip, so the CONTENT stays unreadable. Seeing a + * video means cutting a frame out with process_media and viewing that. + * - `reference`: the agent knows what the file is, with its kind and id, and wires its + * filename into the load node that takes it: a 3D model into a Load3D node's model_file + * widget, an .exr into a LoadImage node's image widget. No tool opens the file itself: the + * cloud turn registers neither a shell nor a file-read tool, by design, as it is a shared + * multi-tenant pod, and view_asset cannot decode an EXR. + * - `read`: the agent reads the contents verbatim with read_asset — UTF-8 decoded, bounded + * and truncation-marked. The tier describes CONTENT ACCESS only; whether the file can also + * be wired into a graph is a separate axis, so a format gaining an upload-backed node input + * later stays in this tier. + * - `retain`: the file is attached and nothing more — neither readable nor wirable. Only + * .avif, which the turn cannot decode as an image and is not text. + * + * The union of the five arrays is the accepted list. Anything absent is rejected. + * + */ +export type AgentAttachmentPolicy = { + probe: Array + read: Array + reference: Array + retain: Array + view: Array +} + +/** + * 422 body when a posted attachment's extension is outside the accepted list. It carries the + * policy rather than only an error string so a client never has to hardcode the list to + * explain the refusal — the same reason the list is expressed as enums the frontend generates + * its types from. + * + */ +export type AgentAttachmentRejected = { + accepted: AgentAttachmentPolicy + error: string /** - * API key ID + * The offending references, in the order they were posted. Capped, so it can be shorter than rejected_count — a client that reports "N were refused" must read that field rather than this array's length. */ - id: string + rejected: Array /** - * First 8 chars after prefix for display + * How many references were refused in total, before the list above was capped. */ - key_prefix: string + rejected_count: number + type: 'ATTACHMENT_TYPE_NOT_ACCEPTED' +} + +/** + * Acknowledgement that a turn cancellation was requested. Cancellation is asynchronous; the terminal message state (status=error with stop copy) arrives over the WebSocket. + */ +export type AgentCancelAccepted = { + status: 'cancelling' +} + +/** + * A stop whose cancellation request did not land, or could not be confirmed as landed, on the durable engine. The turn is unaffected and still streaming, so the same request may be retried; cancellation is idempotent per turn. Distinct from the 500, which means the failure was one the service could not classify and a retry may never work. + */ +export type AgentCancelUnconfirmed = { /** - * Last time the key was used + * `cancel_not_requested` — the engine positively reports no cancellation recorded against a run it can still see, so the stop provably did not land. `cancel_outcome_unknown` — neither answer could be established; the stop may or may not have landed. */ - last_used_at?: string + code: 'cancel_not_requested' | 'cancel_outcome_unknown' /** - * User-provided label + * Human-readable error message. */ - name: string + error: string /** - * When the key was revoked (if revoked) + * Always true on this response; retrying the same stop is safe. */ - revoked_at?: string + retryable: boolean +} + +/** + * Consent to the in-app Agent panel. `true` is the only value that can be written — consent is revoked by DELETE, not by writing `false`, so the audit trail records a revocation rather than a value flip. + */ +export type AgentConsentSettingValue = { /** - * User who created this key + * Discriminator selecting this member of GlobalSettingValue. */ - user_id: string + key: 'Comfy.AgentPanel.ConsentAccepted' /** - * Workspace this key belongs to + * Always `true`; see the schema description. */ - workspace_id: string + value: true } /** - * Full workspace entity with configuration and ownership details. + * The `context` of a `delete_approval` ask: the user-made nodes the agent's delete would remove. The server always lists at least one node, and lists at most 50; any more are counted in `hidden_node_count`, so the card can say how many it did not list. */ -export type Workspace = { - created_at: string - id: string - name: string - type: 'personal' | 'team' +export type AgentDeleteApprovalContext = { + action: 'delete_nodes' + /** + * Nodes the delete would remove past the 50 listed. Omitted when every node is listed. + */ + hidden_node_count?: number + nodes: Array } /** - * Metadata for a single workflow version. + * Authoritative snapshot of a workflow's agent draft — a snapshot for recovery and tooling. */ -export type WorkflowVersionResponse = { - created_at: string - created_by: string - id: string - latest_version: number +export type AgentDraftSnapshot = { + /** + * Full UI/save-format workflow graph (nodes, links, groups, widgets_values). + */ + content: { + [key: string]: unknown + } + /** + * Monotonic draft version of the snapshot, for recovery and tooling; not a concurrency token. + */ version: number } /** - * Full workflow version including the serialized workflow JSON. + * Error body authored by the comfy-agent service and proxied verbatim through ingest. Errors raised by ingest itself (authentication, an unreachable agent service) use the standard ErrorResponse shape instead. */ -export type WorkflowVersionContentResponse = { - created_at: string - created_by: string - dependency_asset_ids?: Array - id: string - version: number - workflow_json: { - [key: string]: unknown - } +export type AgentError = { + /** + * Stable discriminator authored only by the local agent host when its local-page security check refuses a request. The currently defined value is agent_loopback_only. Clients must accept unknown values so the host can add refusal reasons without breaking older readers. Absent on errors from the cloud agent service. + */ + code?: string + /** + * Human-readable error message. + */ + error: string + /** + * Discriminator for a rejection whose intent the caller must act on rather than re-derive from the status code. Carried only on the identity-header 401 the agent's `requireIdentity` writes, and both values are terminal: `unauthenticated` means no usable identity reached the service, `not_provisioned` means the user is authenticated but carries no workspace and should be provisioned rather than signed out. Absent on every other error, including the other 401s on these routes (the agent's own LocalAuth and RequireM2MSecret, and ingest's proxy guard, which answer with ErrorResponse), so an absent `kind` must not be read as retryable. + */ + kind?: 'unauthenticated' | 'not_provisioned' } /** - * Workflow metadata captured at mint time. The subsequent PUT body is the - * raw workflow JSON document and nothing else, so everything that would - * normally accompany workflow_json in POST /api/workflows is declared - * here instead. - * + * The `data` of an agent_extension_changed WebSocket event. The local agent sends it after turning a custom node pack on or off, or removing it. The change is already on disk; dropping the event loses only the informational card. */ -export type WorkflowUploadUrlRequest = { - /** - * Default view mode - */ - default_view?: 'workflow' | 'app' +export type AgentExtensionChangedData = { /** - * Description of the workflow + * What the agent did to the pack. */ - description?: string + action: 'enabled' | 'disabled' | 'removed' /** - * ID of the source workflow if forked + * Whether this install's signed install record claims the pack. */ - forked_from_workflow_id?: string + agent_created: boolean + message_id: string /** - * ID of the source workflow version if forked + * The pack's folder name in custom_nodes, without the .disabled suffix. */ - forked_from_workflow_version_id?: string + pack: string /** - * Display name for the workflow + * Whether ComfyUI must restart for the change to apply. */ - name?: string + restart_required: boolean + thread_id: string } /** - * Full workflow entity including metadata and version history. + * Server-to-client agent_extension_changed frame on /ws. */ -export type WorkflowResponse = { - created_at: string - created_by: string - default_view?: 'workflow' | 'app' - description?: string - forked_from?: WorkflowForkedFrom - id: string - latest_version: number - name?: string - updated_at: string +export type AgentExtensionChangedFrame = { + data: AgentExtensionChangedData + type: 'agent_extension_changed' } /** - * Reference to the parent workflow from which this workflow was forked. + * The (workspace, user) the agent service attributes the caller's requests to. */ -export type WorkflowForkedFrom = { - workflow_id?: string - workflow_version_id?: string +export type AgentIdentity = { + user_id: string + workspace_id: string } /** - * Publishing metadata for a workflow shared to the Hub. + * Anthropic-shaped error envelope on POST /api/agent/llm/v1/messages, written by the agent's LLM proxy or passed through from Anthropic. */ -export type WorkflowPublishInfo = { - /** - * Published assets (inputs and models). - */ - assets: Array - listed: boolean - publish_time?: string | null - share_id: string - workflow_id: string +export type AgentLlmError = { + error: { + /** + * A human-readable explanation. + */ + message: string + /** + * Set only on the proxy's admission refusals: the capacity wait (`queue_full`, `queue_position`, `user_inflight`, `workspace_inflight` or `lease_capped`) or the pause (`agent_paused` or `workspace_paused`). Absent on Anthropic's own errors. + */ + reason?: string + /** + * The error category, such as `rate_limit_error` (a capacity wait, or Anthropic throttling the call) or `paused` (an operator paused the Agent or the workspace). Clients must accept unknown values. + */ + type: string + } + type: 'error' } /** - * Lightweight asset reference used in workflow publishing payloads. + * A persisted message in an agent thread. */ -export type AssetInfo = { +export type AgentMessage = { /** - * Asset identifier. + * Message payload. User turns carry {text, attachments?, attachment_refs?, workflow_references?}. Attachments are the input-image filenames from the request. attachment_refs is the server's own resolution of those same filenames to library assets, as {name, id?, kind?, display_name?} objects. display_name carries the validated user-facing filename when name is an opaque storage key; the server may remove a registered emoji selector that does not change the displayed glyph. To bound denormalized data, repeated entries with the same name carry display_name only on the first occurrence; clients should apply it to every entry sharing that name. The sibling exists so a later turn in the thread can reach an earlier turn's file — clients should keep reading attachments. workflow_references is an optional array of explicit non-target references, each with workflow_id and name (an empty string when no name was supplied). An optional unavailable: true records that the reference could not be authorized at turn start, without distinguishing unknown IDs, inaccessible workflows, or lookup failures. These entries preserve the user's reference intent without exposing workflow content; the frontend restores reference chips from this metadata. The field is omitted when there are no references. Assistant turns carry {text} — the final answer text (or error copy on a failed turn). Omitted when empty (e.g. an assistant message still streaming). Per-turn token accounting is NOT included here; it is surfaced on the agent_message_done WebSocket broadcast. tool_calls is an optional array of ToolCallSummary, attached to an assistant message that has persisted terminal (ok/error) tool-call rows — it lets a chat reload render the tool history a turn produced instead of showing nothing until the next live turn. Omitted when the message has no such rows. thinking is an optional array of AgentThinkingEntry on a completed assistant message: the agent_thinking text the live turn showed, one entry per model round in order, so a reload keeps the thinking in the turn's work trace. Omitted when the turn produced none. */ + content?: { + attachment_refs?: Array<{ + display_name?: string + id?: string + kind?: string + name?: string + [key: string]: unknown + }> + thinking?: Array + tool_calls?: Array + [key: string]: unknown + } id: string + pending_ask?: AgentPendingAsk + role: 'user' | 'assistant' | 'tool' | 'system' /** - * Whether the caller already owns this asset. - */ - in_library: boolean - /** - * Whether this asset is a model. + * Monotonic ordering within the thread. */ - model: boolean - name: string + seq: number + status: 'streaming' | 'complete' | 'error' | 'interrupted' + thread_id: string /** - * Signed URL for previewing the asset. + * Groups the user message, assistant reply, and its tool calls. */ - preview_url: string + turn_id: string /** - * Whether this is a public (platform-provided) asset. + * The workflow/draft this turn operated on. Recorded per message so a thread can span or switch workflows over its lifetime; the thread's own workflow_id is only the active-workflow pointer. Empty for a workflow-less turn. */ - public: boolean - storage_url: string + workflow_id?: string } /** - * Paginated list of saved workflows. + * The `data` of an agent_message_done WebSocket event: the assistant message is complete. Mirrors `$defs.agent_message_done.data` in services/agent/api/agent_events.schema.json. */ -export type WorkflowListResponse = { - data: Array - pagination: PaginationInfo +export type AgentMessageDoneData = { + message_id: string + refusal?: AgentTurnRefusal + thread_id: string + /** + * Null on a turn that failed or was refused; its rounds were billed as they ran, and the failed round has no usage. + */ + usage: AgentTurnUsage | null } /** - * Pagination metadata included in list responses. Supports both legacy - * offset/limit pagination and cursor-based pagination. When cursor-based - * pagination is used, `next_cursor` is the primary pagination token and - * `offset`/`total` may be zero. - * + * Server-to-client agent_message_done frame on /ws. Closed, like the canonical envelope. */ -export type PaginationInfo = { +export type AgentMessageDoneFrame = { + data: AgentMessageDoneData + type: 'agent_message_done' +} + +/** + * The `context` of a `paused` ask. + */ +export type AgentPausedContext = { /** - * Whether more items are available beyond this page + * The card copy (same as the ask's prompt). */ - has_more: boolean + message: string /** - * Items per page + * The binding policy reason, e.g. workspace_paused or no_funds. */ - limit: number + reason: string /** - * Opaque cursor for the next page. Pass this value as the `after` - * query parameter on the next request. Empty or absent when there - * are no more results. - * + * When the turn rechecks admission on its own if nobody presses Resume, so Resume is a shortcut, not the only way out. */ - next_cursor?: string + recheck_after_seconds: number +} + +/** + * An unanswered ask attached to its assistant message, so a reload rehydrates the prompt from the ROW rather than from the agent_ask WebSocket event the client missed. Present only while the ask is pending; answer it via POST /agent/threads/{id}/asks/{ask_id}/answer. Discriminated on `kind`: narrowing on it gives the kind's `context` schema. The agent_ask WebSocket event's `data` is this same shape plus `thread_id`. + */ +export type AgentPendingAsk = + | ({ + kind: 'ask_user' + } & AgentPendingAskUser) + | ({ + kind: 'run_approval' + } & AgentPendingRunApproval) + | ({ + kind: 'paused' + } & AgentPendingPaused) + | ({ + kind: 'delete_approval' + } & AgentPendingDeleteApproval) + +/** + * The fields every pending ask carries, whatever its kind. + */ +export type AgentPendingAskBase = { /** - * Current offset (0-based). Deprecated: use cursor-based pagination. - * - * @deprecated + * When true the UI offers a free-text answer, returned as other_text. */ - offset: number + allow_other: boolean + ask_id: string + kind: AgentAskKind + max_selections: number + message_id: string + min_selections: number /** - * Total number of items matching filters (may be 0 when using cursor pagination) + * Selectable options. */ - total: number + options: Array + prompt: string } /** - * Response containing assets associated with a workflow. + * A pending `ask_user` prompt. It carries no context. */ -export type WorkflowApiAssetsResponse = { - assets: Array +export type AgentPendingAskUser = AgentPendingAskBase & { + kind: 'ask_user' } /** - * Request body for querying assets associated with a workflow. + * A pending `delete_approval` consent card. */ -export type WorkflowApiAssetsRequest = { - workflow_api_json: { - [key: string]: unknown - } +export type AgentPendingDeleteApproval = AgentPendingAskBase & { + context: AgentDeleteApprovalContext + kind: 'delete_approval' } /** - * The user a web session belongs to + * A pending `paused` admission card. */ -export type WebSessionUser = { - email: string - /** - * The identity provider's verified-email claim when the session was created - */ - email_verified: boolean - /** - * Comfy user id - */ - id: string - name?: string - /** - * Sign-in method, for example `google.com` or `password` - */ - sign_in_provider?: string +export type AgentPendingPaused = AgentPendingAskBase & { + context: AgentPausedContext + kind: 'paused' } /** - * The live web session and the user it belongs to + * A pending `run_approval` consent card. */ -export type WebSessionResponse = { +export type AgentPendingRunApproval = AgentPendingAskBase & { + context: AgentRunApprovalContext + kind: 'run_approval' +} + +/** + * A user turn posted to the agent. + */ +export type AgentPostMessageRequest = { /** - * The session ends at this time regardless of use + * The ask cards this client can render. `run_approval` is the run consent card, `ask_user` the generic question card, and `delete_approval` the delete consent card. A turn only parks on a card its client listed here. Omitted means an older client and is read as `["run_approval"]`; an empty array means the client renders none. Per kind: without `run_approval`, a run that the user's run mode requires approval for is not parked and not executed; the `run` tool fails with `run_approval_unavailable` and the agent tells the user to approve it from a client that can, or run it themselves. Without `ask_user`, the agent asks its question in the reply instead of a card. `delete_approval` raises no card yet. Unknown values are ignored, duplicates collapse, and only the first 8 entries are read. `paused` is not negotiated: the pause card is raised for every client, so listing it changes nothing. */ - absolute_expires_at: string + ask_kinds?: Array /** - * Send as `X-CSRF-Token` on requests that change data with this session + * Optional input filenames the client already uploaded to the ComfyUI input namespace (via + * /api/upload/image, which returns the {name, subfolder, type} reference). The agent never + * receives file bytes here; what it can read or wire depends on the policy tier. + * + * Each entry's extension must appear in AgentAttachmentPolicy; a reference outside it is + * rejected with 422 (AgentAttachmentRejected). A reference with NO extension is the one + * exception: not every reference is a filename — an asset hash may be a bare hex digest or + * "blake3:" — so one with nothing to judge is admitted here and checked again once it + * resolves to a stored name. A refusal there costs the attachment its asset id and its + * kind, so the agent gets no tool for it and the turn is not refused; the reference itself + * is still echoed back by GET .../messages. Which tier of that policy an extension lands + * in says what the agent can do with it, and the tiers differ sharply — a client that + * presents them as one flat list misleads the user. + * + * The constraint is expressed as extension enums rather than on this array because the array + * carries FILENAMES, not content types: an extension is what both ends can actually agree + * on, and the upload route this list references stores no MIME type for what it accepts. + * */ - csrf_token: string + attachments?: Array /** - * Idle expiry. Real use slides it; reading the session does not. + * The client's live ComfyUI WebSocket clientId (the `sid` the server hands back on the socket's first status message). Local runs the agent submits on the caller's behalf are submitted under this id, so ComfyUI addresses their execution events — node highlights, progress and outputs — to this client instead of to the short-lived CLI socket that submitted them. Additive and advisory; omitting it restores the previous behaviour, where an agent-started run leaves the canvas with no execution feedback. Ignored on the cloud target, which fans execution events out per user/workspace regardless of submitter. A value that could not be a ComfyUI socket id is DROPPED, not rejected — no turn fails over it — so an id longer than 128 bytes, or one containing whitespace or non-printable characters, or one starting with `-`, is accepted with 202 and behaves exactly like omitting the field. Surrounding whitespace is trimmed. */ - expires_at: string + client_id?: string /** - * Whether personal billing and personal workspace UI apply to the - * account. True for a live personal workspace, and for a legacy - * account whose personal workspace is created lazily - * (personal_workspace_id still NULL), linked to SSO or not. False - * for an account SSO sign-in or the directory created, which has - * none, for a personal workspace that was deleted, and for an - * account scheduled for deletion. Read from the account's record - * (whether SSO created it is recorded when it is made), not inferred - * from the sign-in provider. - * + * Client-generated identifier for this send attempt. The frontend emits the same value on app:agent_message_sent; the agent echoes it on agent_turn_started so accepted turns can be joined to their originating sends without using timestamp proximity. Retries mint a new value. Older clients may omit it. */ - has_personal_workspace: boolean - user: WebSessionUser -} - -/** - * Result of validating a set of asset operations. - */ -export type ValidationResult = { + client_message_id?: string /** - * Blocking validation errors that prevent download + * The frontend build that sent this turn (ComfyUI_frontend __COMFYUI_FRONTEND_VERSION__, optionally +commit). Observability only; never changes the turn. Recorded on the turn's trace as `comfy.client.version`. A value longer than 64 bytes, or one containing anything other than ASCII letters, digits, `.`, `+` and `-`, is DROPPED, not rejected — accepted with 202 exactly like omitting the field. Surrounding whitespace is trimmed. */ - errors?: Array + client_version?: string /** - * Overall validation status (true if all checks passed) + * The user's message. */ - is_valid: boolean + content: string /** - * Non-blocking validation warnings (informational only) + * Cloud workflow id of the client's active editor tab; no ordering requirement. Modern clients use workflow_id for the editable target and omit this field. When present and authorized it selects the workflow the turn starts focused on — explicit workflow_id > current_tab > the thread's remembered workflow. */ - warnings?: Array -} - -/** - * Details of a single validation error encountered during asset operations. - */ -export type ValidationError = { + current_tab?: string /** - * Machine-readable error code + * The client's active editor tab has no workflow yet (a fresh, unsaved tab), so it sends neither workflow_id nor current_tab. Without this signal the turn falls back to the thread's remembered workflow and the fresh tab is presented to the model as having no workflow selected. With it, the turn mints a workflow for the tab instead and that workflow is treated as selected. An explicit workflow_id or a resolvable current_tab still wins. */ - code: string + current_tab_unbound?: boolean /** - * Field that failed validation + * The client's live canvas, sent so the agent operates on what the user currently sees instead of an empty or stale draft. The canvas is authoritative for this send and carries no version token — the draft version returned by GET /api/agent/draft is a projection-cache snapshot counter, not a concurrency token, so there is no version to reconcile and no 409 on this field. Additive — older clients omit the whole object and the agent falls back to the stored draft. */ - field: string + draft?: { + /** + * Full save-format graph (the frontend's app.graph.serialize() output). + */ + content?: { + [key: string]: unknown + } + } /** - * Human-readable error message + * Snapshot of the client's open editor tabs in editor order. Advisory context, not a grant — entries outside the caller's workspace are ignored. With workflow_references present, only the editable target and explicit references enter the model's workflow context. */ - message: string -} - -/** - * User information response - */ -export type UserResponse = { + open_tabs?: Array<{ + /** + * Display name of the tab, shown to the agent so the user can reference tabs by name. + */ + name?: string + /** + * Cloud workflow id of the open tab. + */ + workflow_id: string + }> /** - * Firebase UID of the authenticated user + * Optional canvas selection context ("change these nodes"). */ - id: string + selection?: { + [key: string]: unknown + } /** - * User status (always "active" for authenticated users) + * When present, the agent edits this workflow's draft. Ownership-checked (403 if not the caller's workflow). */ - status: string -} - -/** - * User data listing entry with file metadata (path, size, modification time). - */ -export type UserDataResponseFull = { + workflow_id?: string /** - * UNIX timestamp of the last modification in milliseconds. + * Explicit read-only workflow references for this turn, independent of open_tabs. Omitted preserves legacy open-tab context; an empty array means no additional workflow context. The editable target is selected by workflow_id and excluded from references. Entries are workspace-authorized, deduplicated, capped at 50, and names truncated to 120 characters. References need not be open in the editor. Unknown or inaccessible references, including authorization lookup failures, are retained as unavailable metadata so the agent can acknowledge missing context; no workflow content or access is granted. */ - modified?: number - path?: string - size?: number + workflow_references?: Array<{ + name?: string + workflow_id: string + }> } -export type UsageTimeSeries = { - /** - * When the numbers were read. An open billing period is still moving. - */ - as_of?: string - /** - * When per-charge recording began for this environment. The `person` and `source` groupings, and every `filter_*`, hold spend from this instant on: a range starting earlier shows only the recorded part under them, while `product_line` and `model` from the invoice show all of it. Absent where no charges are recorded yet. - */ - attribution_since?: string - breakdown: Array - buckets: Array - ending_before: string - granularity: 'hour' | 'day' | 'month' - group_by: - | 'model' - | 'endpoint' - | 'product' - | 'product_line' - | 'person' - | 'source' - /** - * One entry per value in `groups` for `product_line`, `person` and `source`; absent for the other groupings. - */ - group_labels?: Array - groups: Array - not_available?: UsageNotAvailable - /** - * `ledger` when `groups` are the usage ledger's keys, which the `filter_*` parameters accept. `invoice` when a range the ledger does not hold was read from Metronome's invoices narrowed by `filter_product_line` (alone, on `product_line` or `model`): its groups are the invoices' models and accept no further filter. Absent for any other invoice-served answer. - */ - served_from?: 'ledger' | 'invoice' - starting_on: string - summary: UsageSummary -} +/** + * Attachment extensions the agent can only describe from metadata. A subset of the containers + * ingest sorts into a load node's video/audio lists: that categoriser also accepts .wmv, .flv, + * .aac and .wma, which the agreed attachment list rejects. + * + */ +export type AgentProbeableAttachmentExtension = + | '.mp4' + | '.webm' + | '.mov' + | '.m4v' + | '.avi' + | '.mkv' + | '.mp3' + | '.wav' + | '.ogg' + | '.opus' + | '.flac' + | '.m4a' /** - * Current remaining balance, mirroring /billing/balance. Every amount is CENTS of `currency`; the `*_micros` names are a misnomer kept for wire compatibility. + * Attachment extensions whose contents the agent reads verbatim, with read_asset. The bytes + * are decoded as UTF-8 and returned as text, bounded and truncation-marked. + * + * This tier describes CONTENT ACCESS only and says nothing about whether the file can be + * wired into a graph. Those are separate questions, so a format becoming a node input later + * does not move it out of this tier. + * + * .svg is here rather than with the images because it is XML: view_asset cannot decode it, + * but its markup is exactly what a caller would want read. + * */ -export type UsageBalance = { - /** - * The total remaining balance. Cents of `currency`, the same value as `amount_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer. - */ - amount_cents?: number +export type AgentReadableAttachmentExtension = + | '.md' + | '.markdown' + | '.txt' + | '.json' + | '.csv' + | '.yaml' + | '.yml' + | '.xml' + | '.log' + | '.svg' + +/** + * Attachment extensions the agent cannot open but wires into a load node by filename. The 3D + * models go into Load3D's model_file widget and are exactly the set Load3D accepts + * (comfy_extras/nodes_load_3d.py); .usdz is absent from both lists, so it is not an exclusion + * this tier makes. .exr goes into LoadImage's image widget: ComfyUI core v0.40.0 registers it + * as an image type, but it is HDR, so view_asset cannot decode it and it is not on the view + * tier. + * + */ +export type AgentReferenceAttachmentExtension = + | '.glb' + | '.obj' + | '.fbx' + | '.gltf' + | '.stl' + | '.ply' + | '.spz' + | '.splat' + | '.ksplat' + | '.exr' + +/** + * Attachment extensions that are accepted so a user can keep them beside a workflow, and + * nothing more — the agent can neither read the contents nor wire the file in. + * + * .avif is the only one: it is an image the turn cannot decode (no registry entry, so + * view_asset would fail) and it is not text, so read_asset would return mojibake. It stays + * accepted because it was attachable before the policy existed. + * + */ +export type AgentRetainedAttachmentExtension = '.avif' + +/** + * The `context` of a `run_approval` ask. It names the workflow and, for cards opened by content-binding builds, the exact canonical graph the user approved. Older in-flight cards may omit graph_binding; consumers must preserve that explicit legacy compatibility case. + */ +export type AgentRunApprovalContext = { /** - * DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `amount_cents`. The total remaining balance. - * - * @deprecated + * The document sequence projected into the approved graph, when document-backed. */ - amount_micros?: number + doc_seq?: number /** - * The remaining balance from cloud credits (subscription). Cents of `currency`, the same value as `cloud_credit_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer. + * sha256 means graph_sha256 is enforced; identity_only means no durable graph existed to bind; unavailable means binding failed and execution must be denied. */ - cloud_credit_balance_cents?: number + graph_binding?: 'sha256' | 'identity_only' | 'unavailable' /** - * DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `cloud_credit_balance_cents`. The remaining balance from cloud credits (subscription). - * - * @deprecated + * SHA-256 of the canonical graph content the card authorizes. */ - cloud_credit_balance_micros?: number - currency?: string + graph_sha256?: string /** - * The remaining balance from prepaid commits (top-ups). Cents of `currency`, the same value as `prepaid_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer. + * The workflow the run will execute. */ - prepaid_balance_cents?: number + workflow_id: string /** - * DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `prepaid_balance_cents`. The remaining balance from prepaid commits (top-ups). - * - * @deprecated + * The workflow's display name, when the turn knows it. */ - prepaid_balance_micros?: number + workflow_name?: string } /** - * Mixed units, deliberately. `spend_micros` here (and `cost_micros` on UsageBucket / UsageBreakdownRow) is genuinely MICROS -- 1/1,000,000 of the currency unit -- because it comes from Metronome's usage figures. The `balance` breakdown below is CENTS, and its `*_micros` names are a misnomer; use its `*_cents` fields. + * How the agent may spend the caller's credits by running workflows from chat. The saved choice, or the default (ask_approval, no limit) for a caller who never chose. */ -export type UsageSummary = { - balance?: UsageBalance +export type AgentRunMode = { /** - * Total gross spend over the range, in microamount (1/1,000,000 of the currency unit). Genuinely micros, unlike the balance breakdown. + * The credit ceiling for auto_limited. Always present; null for the other two modes. Bounded at 2^31-1 so the value round-trips exactly through an IEEE-754 JSON number and a client is never bounded by a ceiling it did not send. */ - spend_micros: number + credit_limit: number | null + /** + * ask_approval pauses at every run and asks on the consent card; auto runs without asking; auto_limited runs without asking until credit_limit credits have been spent, then asks again. + */ + mode: 'ask_approval' | 'auto' | 'auto_limited' } /** - * Present, with empty groups, buckets and breakdown, when the requested grouping is not served for this workspace. Render as unavailable, not as zero spend. + * The run mode to save. */ -export type UsageNotAvailable = { - reason: 'no_attribution_source' | 'filter_needs_ledger' -} - -export type UsageGroupLabel = { - /** - * Only for `model` when the key is a Serverless deployment: `gpu` for the deployment's GPU time, `storage` for its network-volume and container-disk storage. - */ - cost_kind?: 'gpu' | 'storage' - /** - * For `model` and `source` when the key is a Serverless deployment: the deployment's id. Under Serverless the model level is the deployment, with its GPU time and its storage as separate keys; under `source` each deployment is one key. - */ - deployment_id?: string +export type AgentRunModePutRequest = { /** - * For `model` and `source` when the key is a Serverless deployment and the caller is a signed-in session comfy-deploy can name it for; absent on an API-key read or when comfy-deploy could not be reached, and `display_name` then carries the id. + * Required and positive for auto_limited; must be absent or null for ask_approval and auto. Bounded at 2^31-1 so the value round-trips exactly through an IEEE-754 JSON number. */ - deployment_name?: string + credit_limit?: number | null + mode: 'ask_approval' | 'auto' | 'auto_limited' +} + +/** + * One of the caller's user-authored skill packs. + */ +export type AgentSkill = { /** - * Human-readable name for the key: a person's name, a product line's label, a model's name (`Not specified` for `unspecified`: charges that name no model, such as Agent rounds, partner calls that send none, and Comfy Cloud GPU time), or the key's owner and prefix. + * The full instruction text. */ - display_name?: string + body: string /** - * Only for `person` when the member is known; tells two members with one name apart. + * Lowercase hex sha256 of body, with no algorithm prefix. Stamped on every write, so a client can tell whether the stored pack matches the body it last sent. */ - email?: string + body_hash: string /** - * Only for `person`: true when the person is no longer a member of this workspace. Their spend stays under their name. + * RFC3339 timestamp of when the pack was first published. */ - former_member?: boolean + created_at: string /** - * The value as it appears in `groups`, `buckets` and `breakdown`. + * One-line trigger description the agent selects the pack from. */ - key: string + description: string /** - * Only for `source` when the key is known to this workspace. + * Server-assigned pack ID. */ - key_name?: string + id: string /** - * Only for `source` when kind is `api_key`. + * The pack's flat identifier and the load_skill argument. */ - key_prefix?: string + name: string /** - * Only for `source` when kind is `api_key` and the key is known to this workspace: true when the key has been revoked. Its spend stays under its name. + * RFC3339 timestamp of the pack's most recent publish. */ - key_revoked?: boolean + updated_at: string +} + +/** + * The caller's skill packs, ordered by name. + */ +export type AgentSkillListResponse = { + skills: Array +} + +/** + * A user-authored skill pack to create or replace. Plain JSON — a pack body is small enough that a signed-URL upload would be pure overhead. + */ +export type AgentSkillPublishRequest = { /** - * Only for `source`. A `deployment` key is one Serverless deployment's id (`deployment_id` set); the bare key `deployment` is deployment spend recorded without an id. + * Accepted only so an `always: true` copied out of a SKILL.md frontmatter is refused with an explanation instead of silently dropped. User packs are on-demand only, so true is rejected. */ - kind?: 'api_key' | 'session' | 'deployment' + always?: boolean /** - * Only for `source` when the key's or deployment's owner is known. + * The full instruction text, injected only when the pack is loaded. Capped per pack and, together with the caller's other packs, in total; the exact byte limits are deployment configuration and are named in the rejection message when exceeded. */ - owner_display_name?: string + body: string /** - * Only for `source` when the key's or deployment's owner is known; tells two owners with one name apart. + * One line saying when the agent should load this pack. It is what every prompt carries for an unloaded pack, so it is a trigger description, not a title. Single-line: control characters, including CR and LF, are refused. maxLength is counted in code points, as JSON Schema defines it, and the service counts the same way. */ - owner_email?: string + description: string /** - * Only for `source`: the API key's owner when the key is known to this workspace, or the member who deployed a deployment when comfy-deploy names it. + * The pack's flat identifier and the load_skill argument: letters, digits, '.', '_' and '-'. Publishing a name already held by the caller replaces that pack. A name matching a built-in always-on pack is refused; a name matching a built-in on-demand pack is accepted, and is the name consumption will resolve to the user's pack. Must contain at least one character that is not a dot: "." and ".." are path segments a normalizing client rewrites. */ - owner_user_id?: string + name: string +} + +/** + * One model round's thinking as persisted on an assistant message's content.thinking (services/agent/internal/loop.persistedThinking): the round's reasoning text, then its narration, scrubbed exactly as the live agent_thinking frames were. Display data only. + */ +export type AgentThinkingEntry = { + text: string /** - * Only for `model` on a ledger-served answer: the partner the model's charges came through, as the partner catalog's provider id (the id workspace provider policy uses). Absent for a model whose charges name no known partner, a deployment and `unspecified`. + * The provider tool-use id of the round's first tool call, the same id ToolCallSummary.tool_call_id carries, so a client can place the entry ahead of that round's calls. Absent for the final round, whose thinking follows the last call. */ - provider?: string + tool_call_id?: string +} + +/** + * Optional body for creating an agent thread. + */ +export type AgentThreadCreateRequest = { /** - * With `provider`: the partner's name, e.g. `Black Forest Labs`. Render beside `display_name`; `display_name` stays the model's own name. + * Workflow the thread is about. Optional — a thread can exist without a workflow. */ - provider_display_name?: string + workflow_id?: string } -export type UsageBucket = { - cost_micros: number - group_key: string - period_end: string - period_start: string +/** + * Result of creating an agent thread. + */ +export type AgentThreadCreated = { + thread_id: string } -export type UsageBreakdownRow = { - cost_micros: number - group_key: string - /** - * Only on a ledger-served answer (`served_from: ledger`): how many distinct charges — jobs, calls, metered hours — the group's spend came from over the range. - */ - run_count?: number - share: number +/** + * A paginated page of the caller's agent threads. + */ +export type AgentThreadListResponse = { + pagination: PaginationInfo + threads: Array } /** - * A minted single-use upload grant. + * One agent thread row for the history sidebar. */ -export type UploadGrantResponse = { +export type AgentThreadSummary = { /** - * Seconds until the grant expires if unused. + * Thread creation time (RFC3339). */ - expires_in: number + created_at: string /** - * Relative path (/api/uploads/{id}) to PUT the raw bytes to, resolved - * against this API's origin. The unguessable id is the only - * credential the upload needs — send no Authorization header or API - * key. Single-use: a failed or interrupted upload burns the grant; - * mint a new one to retry. - * + * Thread ID. */ - upload_path: string -} - -/** - * Request body for updating an existing workspace's settings. - */ -export type UpdateWorkspaceRequest = { + id: string /** - * New display name for the workspace + * When the thread was last marked active (RFC3339). Empty when unset. */ - name?: string -} - -/** - * Request body for updating an existing saved workflow. - */ -export type UpdateWorkflowRequest = { + last_message_at: string /** - * New default view mode + * Number of messages in the thread. */ - default_view?: 'workflow' | 'app' + message_count: number /** - * New description + * First user message text, truncated. Shown when title is empty. */ - description?: string + preview: string /** - * New display name + * Thread status. */ - name?: string + status: 'active' | 'archived' + /** + * Thread title; empty when none has been assigned (fall back to preview). + */ + title: string + /** + * Thread last-update time (RFC3339). + */ + updated_at: string + /** + * Associated workflow/draft ID; empty when the thread has none. + */ + workflow_id: string } /** - * Request body for updating an existing user secret. + * The `data` of an agent_tool_call WebSocket event: one tool invocation's lifecycle. Mirrors `$defs.agent_tool_call.data` in services/agent/api/agent_events.schema.json, which also states the presence rules: the document correlation fields appear only on a terminal (success or error) frame, workflow_id and op_ids appear together, doc_seq and doc_lineage_seq appear together and only with both of them, and job_id and job_workflow_id appear together only on a terminal run frame when a job was submitted. This schema leaves those rules out on purpose. A oneOf over closed variants could express them, but it would turn the generated frontend type into a union the consumer cannot extend field by field. The producer enforces them instead: the Publisher omits incomplete correlation, and TestToolCallEmissionsSatisfyBothContracts validates every emitted shape against the canonical schema. Consumers treat correlation as advisory and use it only when workflow_id and op_ids are both present on a terminal frame. TestToolCallFrameMatchesContract holds the two definitions to the same fields and constraints. */ -export type UpdateSecretRequest = { +export type AgentToolCallData = { /** - * New name for the secret + * Present with doc_seq. The lineage containing every correlated update, so a follower can detect replacement and resync. */ - name?: string + doc_lineage_seq?: number /** - * New secret value (API key, token, etc.) + * Optional terminal recovery barrier. The highest published doc_update sequence carrying this call's op_ids. */ - secret_value?: string + doc_seq?: number + duration_ms?: number + error_code?: string + /** + * Terminal run frame with a submitted job only. The job (prompt_id) this call submitted. Present with job_workflow_id, including when a later step made the run observation an error. + */ + job_id?: string + /** + * Terminal run frame with a submitted job only. The workflow the job was submitted for, so the client can attribute the job's execution events to that workflow's tab. Present with job_id. + */ + job_workflow_id?: string + message_id: string + /** + * Terminal success or error only. The semantic operations whose effects are carried by published doc_update frames for this call. + */ + op_ids?: Array + /** + * load_skill only. The skill pack name the call's input names, on its running frame and on its terminal frame, including an unknown_skill error. Omitted on every other tool. + */ + skill?: string + status: 'running' | 'success' | 'error' + thread_id: string + tool_call_id: string + tool_name: string + /** + * Terminal success or error only. The workflow whose published doc_update contains op_ids. Replace-canvas doc_reset calls do not carry this correlation. + */ + workflow_id?: string } /** - * Request body for changing a workspace member's role. + * Server-to-client agent_tool_call frame on /ws. A tool invocation started or reached a terminal state. Closed, like the canonical envelope. */ -export type UpdateMemberRoleRequest = { - /** - * The role to assign to the member - */ - role: 'owner' | 'member' +export type AgentToolCallFrame = { + data: AgentToolCallData + type: 'agent_tool_call' } /** - * Request body for updating an existing Hub profile. + * Acknowledgement that a turn was accepted. The agent runs asynchronously; output streams over the WebSocket (agent_message_delta, agent_tool_call, agent_message_done); canvas edits arrive as doc_update frames. */ -export type UpdateHubProfileRequest = { - /** - * Token (from /api/hub/assets/upload-url) for a new avatar image. Omit or send null to leave unchanged; send empty string "" to remove. - * - */ - avatar_token?: string | null - description?: string - display_name?: string +export type AgentTurnAccepted = { /** - * List of website URLs. + * ID of the assistant message that will stream the reply. */ - website_urls?: Array + message_id: string + thread_id: string } /** - * What a credit top-up of the requested amount would grant. + * Present on agent_message_done only when the model service refused the turn. Mirrors `$defs.agent_message_done.data.refusal` in services/agent/api/agent_events.schema.json, which states the full rendering rules. Absence must not be read as the account having credit. */ -export type TopupQuoteResponse = { +export type AgentTurnRefusal = { /** - * The quoted amount, in cents. + * Whether adding credit to the account clears this refusal. True only for no_funds. */ - amount_cents: number + can_add_credit: boolean /** - * Display credits at 211 per dollar, rounded half up. The top-up - * itself grants `amount_cents` of balance. - * + * What refused the turn. Clients must treat an unknown kind like payment_required (show the text) rather than fail. */ - credits: number + kind: 'no_funds' | 'manual_block' | 'payment_required' | 'auth' | 'rate_limit' /** - * Approximately 12 months from now (the default top-up window); the - * actual grant may start an hour or two earlier, and a price-level - * validity setting can change it. - * + * Ingest's error.reason from the refused 402, verbatim, for logging and analytics. Render from kind and can_add_credit, not from this field. */ - expires_at: string + reason?: string +} + +/** + * Usage of a completed turn, as carried on agent_message_done. Mirrors `$defs.agent_message_done.data.usage` in services/agent/api/agent_events.schema.json; TestMessageDoneFrameMatchesContract holds the two definitions to the same fields and constraints. charge_micro_usd appears only when the server durably captured priced billing for at least one round. It is the exact charge in millionths of a US dollar; clients convert that denomination to catalog credits for display and must not read its absence as a zero charge. + */ +export type AgentTurnUsage = { + cache_creation_input_tokens: number + cache_read_input_tokens: number + charge_micro_usd?: number + input_tokens: number + output_tokens: number + total_tokens: number +} + +export type AgentUsageStatusResponse = { /** - * Environment-configured Stripe payment method configuration for - * one-time credit top-up checkout. Omitted when not configured. - * This metadata does not establish interactive payment eligibility, - * ownership of a saved method, or guarantee payment success. The - * interactive endpoint independently accepts only cards without - * future usage and revalidates payment authority. - * Clients must constrain the interactive payment form to that - * card-only, no-future-use contract; this configuration alone does - * not guarantee its enabled methods are compatible. - * + * Whether a persisted user-role message exists in a thread owned by this user in the current workspace. Does not imply a successful Agent reply, experiment eligibility or permanent retention of historical usage after server-side deletion. */ - payment_method_configuration_id?: string + has_used_agent: boolean } /** - * Requested credit purchase from this operation's validated stored interactive top-up intent. Visible only to callers authorized for payment details. Not the amount charged or proof of payment. Omitted for historical, non-interactive, invalid or non-top-up operations. + * Attachment extensions whose content the model can see: the raster formats Go's image + * package decodes, plus HEIC/HEIF stills (iPhone photos), which view_asset converts to JPEG + * first. view_asset always re-encodes to PNG or JPEG, so the provider's own four-type image + * allowlist is satisfied by construction rather than by matching this list. * */ -export type TopUpPurchaseAmount = { - amount_cents: number - currency: 'usd' -} +export type AgentViewableAttachmentExtension = + | '.png' + | '.jpg' + | '.jpeg' + | '.gif' + | '.webp' + | '.bmp' + | '.tif' + | '.tiff' + | '.heic' + | '.heif' /** - * One persisted tool call attached to an assistant message's content.tool_calls (services/agent/internal/persist.ToolCallSummary), so a chat reload can render the tool-call history a turn produced. Display data only — raw arguments/results are never projected here. The optional produced_asset field is a strict exception containing only the server-recorded id/hash from a successful asset-producing media call. Only terminal rows (status ok/error) are ever surfaced; a row a dead turn left in pending/running has no wire-status mapping and is dropped rather than shown as a perpetual-progress chip. - * This object is projected at read time by services/agent/internal/persist.ToolCallsForThread from agent_tool_calls; it is never stored in agent_messages.content, so there is no legacy persisted shape. Because of that projection the contract holds for every row ever served: tool_call_id is always present (it falls back to id for rows written before the column existed), status is always one of the enum values (the audit-table word "ok" is translated by ToolCallWireStatus), and duration_ms is always an integer when present. Clients (the frontend's zPersistedToolCallSummary) must not relax these fields to parse "historical" rows — a row that fails this schema is a server bug (BE-20134). + * Represents a user-owned asset (image, video, or other generated output). */ -export type ToolCallSummary = { +export type Asset = { /** - * Omitted when zero. + * Timestamp when the asset was created */ - duration_ms?: number + created_at: string /** - * Present only when status is error. + * Display name of the asset. Mirrors name for backwards compatibility. */ - error_code?: string - finished_at?: string + display_name?: string | null /** - * This tool-call row's own primary key. + * Relative path in global-namespace-root form (e.g. "models/checkpoints/flux.safetensors") */ - id: string + file_path?: string | null /** - * Mirrors agent_tool_calls.prompt_id at read time. This is the exact-attempt ownership signal an eval driver needs to prove which job a given turn submitted — a model-authored result string, workflow id, or URL in the assistant's final text is not equivalent evidence. It is parsed from the comfy-cli runner's stdout envelope and never cross-checked against the job table, so it is proof of turn-to-job submission only, not proof the job completed or that any output URL belongs to it; a consumer must still authenticate job detail and bind the artifact to this id. Absence does NOT prove no job was submitted: most tool calls never submit one, but a call that submitted a job and then errored (for example while polling) also omits this field, as does any row outside the history window. + * Blake3 hash of the asset content. */ - job_id?: string + hash?: string /** - * Present only when this exact row is a successful process_media or combine_media call whose persisted audit result contains a complete saved_asset identity. It binds an assistant message and tool call to the asset representing that call's output bytes. Ingest may dedupe identical bytes to an existing asset, so this does not prove the call created the asset, and multiple calls may name the same id. Consumers must still authenticate the asset id and match the hash against the candidate selector. Omitted for failed calls, non-producing tools, malformed/legacy results, and rows outside the history window. Raw results, arguments, asset names, URLs, credentials, notes, and unrelated metadata are never exposed. + * Unique identifier for the asset */ - produced_asset?: { - /** - * The canonical asset hash/filename selector recorded by the producing call, including its media extension. - */ - hash: string - /** - * The server-assigned asset id recorded by the producing call. - */ - id: string - } - started_at?: string + id: string /** - * The WIRE status vocabulary (api/agent_events.schema.json's agent_tool_call), translated from the audit-row vocabulary (pending/running/ok/error) via ToolCallWireStatus — the same function the live agent_tool_call broadcast uses, so reloaded history and a live frame for the same call never disagree on the vocabulary. "running" never appears here: only terminal rows are queried, so a call still in flight when its turn died is omitted rather than shown as a perpetually in-progress chip. + * Whether this asset is immutable (cannot be modified or deleted) */ - status: 'success' | 'error' + is_immutable?: boolean /** - * The provider tool-use id, the same id a live agent_tool_call WebSocket frame carries as tool_call_id — the frontend keys its tool chip on this value so a reload and a resumed live frame for the same call render as one chip, not two. Rows recorded before this id existed have none; id (this row's own primary key) is emitted instead, so the field is never empty, though it then cannot match any live frame. + * ID of the job that created this asset, if available */ - tool_call_id: string - tool_name: string -} - -/** - * Credit-stop ladder for the pricing slider (BE-1254). Returned by GET /api/billing/plans for every workspace regardless of the caller's token or workspace type (the personal/team distinction was removed); omitted only when the catalog defines no stops. - */ -export type TeamCreditStops = { + job_id?: string | null /** - * Index into stops[] for the slider's initial position + * Timestamp when the asset was last accessed */ - default_stop_index: number - stops: Array -} - -export type PlanActionDeniedReasonParams = { + last_access_time?: string /** - * Billing boundary when the already-scheduled successor takes effect. + * The bare value a loader widget consumes for this asset. For models it is the path inside the category folder (e.g. "flux.safetensors" for "models/checkpoints/flux.safetensors"), which is what the model resolver matches. For input/output/temp it is the content hash, because those assets are fetched by hash rather than staged by name — that is the value LoadImage-style widgets must carry. Clients add the "[output]"/"[temp]" annotation from the asset's own type, so it is never included here. Null when no such value can be derived. */ - effective_at?: string -} - -/** - * Why action is none. Permission refusals precede sales management, parked and running operations, a scheduled successor, transition restrictions, and seats. Scheduled successors include effective_at in denied_reason_params. Unknown or unavailable state fails closed with billing_state_unknown. Absent for an actionable choice. - */ -export type PlanActionDeniedReason = - | 'not_a_member' - | 'not_workspace_owner' - | 'not_original_owner' - | 'sales_managed' - | 'billing_operation_parked' - | 'billing_operation_in_progress' - | 'subscription_change_in_progress' - | 'annual_to_monthly_unsupported' - | 'same_plan' - | 'incompatible_transition' - | 'exceeds_max_seats' - | 'billing_state_unknown' - -/** - * Action for this exact plan and billing interval. Render as received. Subscribe starts or resumes checkout, change changes the plan now, reactivate removes a scheduled cancellation, downgrade schedules a reduction at the billing boundary, and none disables the choice. This is presentation guidance, not authorization; writes recheck policy. - */ -export type PlanAction = - | 'subscribe' - | 'change' - | 'reactivate' - | 'downgrade' - | 'none' - -/** - * Pre/post-discount price for a team credit stop, in cents. - */ -export type TeamCreditStopPrice = { - action: PlanAction - denied_reason?: PlanActionDeniedReason - denied_reason_params?: PlanActionDeniedReasonParams + loader_path?: string | null /** - * Pre-discount (struck-through) price in cents + * System-managed metadata from download sources (HuggingFace, CivitAI, etc.) - read-only, not user-modifiable */ - list_price_cents: number + readonly metadata?: { + [key: string]: unknown + } /** - * What one billing period at this stop is charged, in cents: one month - * for monthly, the whole year for yearly. This is the current catalog - * amount a new checkout at this stop quotes and invoices; an existing - * subscription's invoice can differ. Show this server amount as the - * billed total rather than deriving price_cents x 12: Stripe rounds - * the per-credit line before applying the discount. - * + * MIME type of the asset */ - period_charge_cents: number + mime_type?: string /** - * Post-discount (bold) price in cents + * Name of the asset file */ - price_cents: number -} - -/** - * A selectable preset on the team pricing slider. Echoed on subscribe via - * team_credit_stop_id; the backend owns the resolved amounts. credits is a - * RAW monthly credit count (not cents). Save% is derived by the FE as - * (list_price_cents - price_cents) / list_price_cents. - * - */ -export type TeamCreditStop = { + name: string /** - * Raw monthly credit count granted at this stop + * ID of the preview asset if available */ - credits: number + preview_id?: string | null /** - * Stable stop id echoed on subscribe (e.g. "team_700") + * URL for asset preview/thumbnail */ - id: string - monthly: TeamCreditStopPrice - yearly: TeamCreditStopPrice -} - -/** - * The team credit stop a workspace is currently subscribed to: the - * per-workspace slider choice recorded at subscribe time - * (workspace_subscriptions.team_credit_stop_id). Amounts are owned by the - * catalog, not the subscription row. Returned on GET /api/billing/status - * for per-credit Team plans (BE-1254). - * - */ -export type TeamCreditStopSummary = { + preview_url?: string /** - * Raw monthly credit count granted at this stop + * Durable, owner-gated short link to this asset's content (relative `/api/s/{id}` path). Stable across the underlying signed URL's expiry — resolving it re-mints a fresh signed URL on every request — so it is safe to persist or share into chat, unlike `preview_url`. Only the minting user can resolve it. Omitted when the short-link surface is disabled or the asset has no resolvable content hash. */ - credits_monthly: number + short_url?: string | null /** - * Stable stop id (e.g. "team_200") + * Size of the asset in bytes */ - id: string + size?: number /** - * Monthly USD commitment for this stop + * Tags associated with the asset */ - stop_usd: number + tags?: Array + /** + * Timestamp when the asset was last updated + */ + updated_at: string + /** + * Custom user metadata for the asset + */ + user_metadata?: { + [key: string]: unknown + } } /** - * Paginated list of background tasks for the authenticated user. + * Response returned when a new asset is successfully created. */ -export type TasksListResponse = { - pagination: PaginationInfo +export type AssetCreated = Asset & { /** - * Array of tasks ordered by create_time + * Whether this was a new asset creation (true) or returned existing (false) */ - tasks: Array + created_new: boolean } /** - * Task data for list views + * Acknowledgement of an async asset download task; clients poll GET /api/tasks/{task_id} for status. */ -export type TaskEntry = { - /** - * When task completed, failed, or was cancelled (null if not finished) - */ - completed_at?: string - /** - * Task creation timestamp - */ - create_time: string - /** - * Unique task identifier - */ - id: string +export type AssetDownloadResponse = { /** - * When task execution started (null if not started) + * Human-readable message */ - started_at?: string + message?: string /** * Current task status */ status: 'created' | 'running' | 'completed' | 'failed' | 'cancelled' /** - * Task type name (e.g., model_upload) + * Task ID for tracking download progress via GET /api/tasks/{task_id} */ - task_name: string + task_id: string } /** - * Full task details including payload and result + * Lightweight asset reference used in workflow publishing payloads. */ -export type TaskResponse = { +export type AssetInfo = { /** - * When task completed or failed (null if not finished) + * Asset identifier. */ - completed_at?: string + id: string /** - * Task creation timestamp + * Whether the caller already owns this asset. */ - create_time: string + in_library: boolean /** - * Error message on failure (null if not failed) + * Whether this asset is a model. */ - error_message?: string + model: boolean + name: string /** - * Unique task identifier + * Signed URL for previewing the asset. */ - id: string + preview_url: string /** - * Caller-provided key for idempotent task creation + * Whether this is a public (platform-provided) asset. */ - idempotency_key: string + public: boolean + storage_url: string +} + +/** + * Metadata for a remotely hosted asset resolved by URL. + */ +export type AssetMetadataResponse = { /** - * Task input data + * Size of the asset in bytes (-1 if unknown) */ - payload: { - [key: string]: unknown - } + content_length: number /** - * Task output data (null if not completed) + * MIME type of the asset */ - result?: { - [key: string]: unknown - } + content_type?: string /** - * When task execution started (null if not started) + * Suggested filename for the asset from source */ - started_at?: string + filename?: string /** - * Current task status + * Display name or title for the asset from source */ - status: 'created' | 'running' | 'completed' | 'failed' | 'cancelled' + name?: string /** - * Task type name (e.g., model_upload) + * Preview image as base64-encoded data URL */ - task_name: string + preview_image?: string /** - * Task last update timestamp + * Tags for categorization from source */ - update_time: string + tags?: Array + /** + * Validation results for the file + */ + validation?: ValidationResult } /** - * Response after adding, updating, or removing tags on an asset. + * Histogram of tag counts used for refining asset search results. */ -export type TagsModificationResponse = { +export type AssetTagHistogramResponse = { /** - * Tags that were successfully added (for add operation) + * Map of tag names to their occurrence counts on matching assets */ - added?: Array + tag_counts: { + [key: string]: number + } +} + +/** + * Response returned when an existing asset is successfully updated. + */ +export type AssetUpdated = { /** - * Tags that were already present (for add operation) + * Display name of the asset. Mirrors name for backwards compatibility. */ - already_present?: Array + display_name?: string | null /** - * Tags that were not present (for remove operation) + * Relative path in global-namespace-root form (e.g. "models/checkpoints/flux.safetensors") */ - not_present?: Array + file_path?: string | null /** - * Tags that were successfully removed (for remove operation) + * Blake3 hash of the asset content. */ - removed?: Array + hash?: string /** - * All tags on the asset after the operation + * Asset ID */ - total_tags: Array -} - -/** - * Metadata for a single tag that can be applied to assets. - */ -export type TagInfo = { + id: string /** - * Number of assets using this tag + * ID of the job that created this asset, if available */ - count: number + job_id?: string | null /** - * Tag name + * The bare value a loader widget consumes for this asset. For models it is the path inside the category folder (e.g. "flux.safetensors" for "models/checkpoints/flux.safetensors"), which is what the model resolver matches. For input/output/temp it is the content hash, because those assets are fetched by hash rather than staged by name — that is the value LoadImage-style widgets must carry. Clients add the "[output]"/"[temp]" annotation from the asset's own type, so it is never included here. Null when no such value can be derived. */ - name: string + loader_path?: string | null + /** + * Updated MIME type of the asset + */ + mime_type?: string + /** + * Updated name of the asset + */ + name?: string + /** + * Tags associated with the asset + */ + tags?: Array + /** + * Timestamp of the update + */ + updated_at: string + /** + * Updated custom metadata + */ + user_metadata?: { + [key: string]: unknown + } } /** - * System statistics response + * 403 for a credential the route does not take. `accepted` names the ones it does, as `WWW-Authenticate` does. */ -export type SystemStatsResponse = { - devices: Array<{ - /** - * Device name - */ - name: string - /** - * Device type - */ - type: string - /** - * Free VRAM in bytes - */ - vram_free?: number - /** - * Total VRAM in bytes - */ - vram_total?: number - }> - system: { - /** - * Command line arguments - */ - argv: Array - /** - * Cloud ingest service version (commit hash) - */ - cloud_version?: string - /** - * ComfyUI frontend version (commit hash or tag) - */ - comfyui_frontend_version?: string - /** - * ComfyUI version - */ - comfyui_version: string - /** - * How this ComfyUI instance is deployed (e.g. cloud, local-git, local-portable, local-desktop) - */ - deploy_environment?: string - /** - * Whether using embedded Python - */ - embedded_python: boolean - /** - * Operating system - */ - os: string - /** - * Python version - */ - python_version: string - /** - * PyTorch version - */ - pytorch_version: string - /** - * Free RAM in bytes - */ - ram_free: number - /** - * Total RAM in bytes - */ - ram_total: number - /** - * Workflow templates version - */ - workflow_templates_version?: string +export type AuthTypeNotAllowedError = { + accepted: Array + error: { + message: string + type: 'auth_type_not_allowed' } } -/** - * Server-owned subscription presentation state. A future scheduled plan change remains active, with its target in scheduled_change. Paused means a recoverable renewal collection failure; past_due requires direct subscription payment evidence, never an unattributed workspace or top-up failure. Activating means the initial subscription is awaiting payment. This is not an authorization or workflow admission decision; use capabilities. - */ -export type SubscriptionState = - | 'never_subscribed' - | 'active' - | 'cancel_scheduled' - | 'past_due' - | 'paused' - | 'activating' - | 'ended' - -/** - * Billing period (uppercase to match comfy-api) - */ -export type SubscriptionDuration = 'MONTHLY' | 'ANNUAL' +export type AuthenticateRefusal = { + code: string + message: string + /** + * The SSO organization to sign in with, for `sso_required` when it is known; the value `GET /api/auth/sso/start?organization=` takes + */ + organization_id?: string + /** + * Path that starts the organization's SSO, for `sso_required` + */ + start_url?: string +} -export type SubscriptionDiscount = { +export type AuthenticateRequest = { + email: string /** - * What this discount removed from the amount due today. + * Omit to only ask where the email signs in */ - amount_off_cents?: number - code: string + password?: string +} + +export type AuthenticateResponse = { /** - * How long the underlying coupon keeps applying. May be absent when - * the coupon's term is not known, e.g. a plan coupon Stripe does not - * echo back. - * + * Seconds until the session ends, when `method` is `session` */ - duration?: 'once' | 'repeating' | 'forever' + expires_in?: number /** - * The coupon's total term in months when duration is repeating. - * Omitted for discounts carried over from the current subscription. - * + * `sso`: go to `start_url`. `password`: ask for the password. `session`: signed in; the web session cookie is set. `firebase`: the password is right but this account still signs in with Firebase on the client. */ - duration_in_months?: number - kind: 'plan' | 'promotion' + method: 'sso' | 'password' | 'session' | 'firebase' /** - * Customer-facing display name of the underlying coupon. `code` can - * be an internal identifier (e.g. team_commitment_7_5); render this - * when present. - * + * The SSO organization's display name, when `method` is `sso` */ - name?: string + organization_name?: string /** - * How long the discount applies, as the checkout should state it. - * this_payment: a one-time code on a change to a monthly plan, which - * covers only today's charge. first_month / first_year: a one-time - * code on a new monthly or yearly subscription, or on a change to a - * yearly plan. months: a repeating discount, for duration_in_months - * months. ongoing: a forever discount. Absent when the term is not - * known. - * + * Path that starts the organization's SSO, when `method` is `sso`; add `return_to` */ - term?: 'this_payment' | 'first_month' | 'first_year' | 'months' | 'ongoing' + start_url?: string } /** - * Response after successfully subscribing to a billing plan. + * Expiry of the default card. Carries no identifier. */ -export type SubscribeResponse = { - /** - * Billing operation ID to poll for status via GET /api/billing/ops/{id} - */ - billing_op_id: string +export type AutoReloadCardExpiry = { /** - * When the subscription became/becomes active (present when status=subscribed or pending_payment) + * True once 00:00 UTC on the first day after the expiry month has passed. */ - effective_at?: string + expired: boolean /** - * URL to redirect user to add payment method (present when status=needs_payment_method) + * Expiry month, 1 to 12. */ - payment_method_url?: string + month: number /** - * Status of the subscription operation: - * - subscribed: Subscription is active immediately - * - needs_payment_method: User must add payment method via payment_method_url - * - pending_payment: Upgrade initiated, waiting for payment to complete - * + * Four-digit expiry year. */ - status: 'subscribed' | 'needs_payment_method' | 'pending_payment' + year: number } /** - * Request body for subscribing a workspace to a billing plan. + * Display facts about a declined payment method. Carries no identifier. */ -export type SubscribeRequest = { +export type AutoReloadDeclinedPaymentMethod = { /** - * Billing cycle for the team slider contract. When present it must be - * consistent with plan_slug (monthly -> team_per_credit_monthly, - * yearly -> team_per_credit_annual). - * + * Card brand as Stripe reports it (for example visa or mastercard); null for non-card methods. */ - billing_cycle?: 'monthly' | 'yearly' + brand: string | null /** - * URL to redirect if user cancels the payment method flow. - * If not provided, return_url is used for both success and cancel. - * + * Last four card digits; null for non-card methods. */ - cancel_url?: string + last4: string | null /** - * Client-minted identifier for one checkout attempt, generated when - * the customer starts checkout and sent on every request and - * analytics event of that attempt. Purely for observability: it is - * what joins the frontend funnel (which emits events before any - * billing op exists) to the backend outcome. Expected to match - * ^[A-Za-z0-9_-]{1,64}$; a present value that does not is ignored, - * never rejected, so the constraint is intentionally not declared - * here as pattern/maxLength -- either would make a conforming - * client or request validator reject the request before ingest - * ever applies that "ignored, not rejected" behavior. - * + * Stripe payment method type, such as card, alipay or link. Render an unknown value generically. */ - checkout_attempt_id?: string + type: string +} + +/** + * Estimated automatic charge for the proposed settings. + */ +export type AutoReloadPreview = { /** - * Explicit consent to reactivate a subscription that is currently - * scheduled to cancel at period end. Set to true when the caller has - * confirmed this with the user; omitting it (or sending false) while - * a cancellation is scheduled fails the request with - * REACTIVATION_CONFIRMATION_REQUIRED instead of silently clearing - * the cancellation. - * + * Balance in credits the priced charge lands at, net of pending usage invoices (the balance auto top-up tops up to, so it can be lower than the balance shown beside it). Absent (or null) when charge_credits is null, and from a billing service that predates the field. */ - confirm_reactivation?: boolean + balance_after_credits?: number | null /** - * Stripe ConfirmationToken created from deferred Payment Element - * details. For an initial subscription, the backend creates the exact - * invoice PaymentIntent and confirms it with this token. - * + * Whether the priced charge was cut to the per-charge maximum, so it does not reach the target. Describes the priced charge even when charges_now is false (monthly_budget, paused_by_decline); false when charge_credits is null. */ - confirmation_token?: string - /** - * Client-provided key to prevent duplicate operations. - * If a billing op with this key already exists, returns the existing op instead of creating a new one. - * - */ - idempotency_key?: string - /** - * Target plan slug to subscribe to - */ - plan_slug: string - /** - * Optional customer-facing Stripe promotion code. The backend - * resolves and validates it, then stacks it with plan discounts. - * - */ - promotion_code?: string - /** - * Echoes PreviewSubscribeResponse.proration_at from the preview the - * caller consented to. When present, the charge is prorated to this - * exact instant instead of the instant this request is processed, so - * the amount billed matches exactly what was previewed and consented - * to. Optional for backward compatibility: omit to keep today's - * behavior (prorate to now). Rejected with PRORATION_QUOTE_EXPIRED if - * it is in the future or older than a short window — request a fresh - * preview and retry in that case. - * - */ - proration_at?: string + capped?: boolean /** - * Opaque quote id returned by PreviewSubscribeResponse. + * Price of charge_credits in cents; null when charge_credits is null. */ - quote_id?: string + charge_cents: number | null /** - * Quote version returned by PreviewSubscribeResponse. + * Credits the charge buys; null when the balance is at or above the threshold. */ - quote_version?: number + charge_credits: number | null /** - * URL to redirect after payment method is added successfully. - * Required if the workspace has no payment method on file, when - * confirmation_token is provided, or when a selected saved payment - * method is redirect-based (any non-card type). Redirect-based flows - * require an absolute HTTPS URL; plain HTTP is accepted only for - * loopback hosts during local development. - * + * Whether saving would start a charge at the next check. */ - return_url?: string + charges_now: boolean /** - * Optional saved payment method selected for this subscription. It - * must be attached to the current workspace's Stripe customer. - * Mutually exclusive with confirmation_token. - * + * Monthly limit left this cycle in cents, never below 0. */ - saved_payment_method_id?: string + monthly_budget_remaining_cents?: number /** - * Selected team credit-stop preset id (e.g. "team_700") for the - * per-credit Team plan. Required when subscribing to a per-credit Team - * plan; rejected for non-team plans. The backend owns the resolved - * amounts (credits/price) for the stop. - * + * Why saving would not start a charge; null when charges_now is true. */ - team_credit_stop_id?: string + not_charging_reason: + | 'above_threshold' + | 'monthly_budget' + | 'paused_by_decline' + | null } /** - * A stored AgentConsentSettingValue with its timestamp. Named apart from the write schema because codegen derives nested property type names from the schema name, and `AgentConsentSetting` would generate an `AgentConsentSettingValue` that collides with the write schema itself. - */ -export type StoredAgentConsentSetting = AgentConsentSettingValue & - GlobalSettingUpdatedAt - -/** - * The last-changed timestamp every stored setting carries. + * billing-api's automatic top-up settings, server prices and automatic + * spend this cycle, passed through unchanged. Credits are whole credits; + * amounts are US cents. When `configured` is false, `enabled` is false + * and the other setting fields are null. + * */ -export type GlobalSettingUpdatedAt = { +export type AutoReloadSettings = { /** - * When this value was last changed. A write that stores the value already present changes nothing and leaves this alone. + * True when the validated default card is already expired or its expiry-month boundary (00:00 UTC on the first day of the following month) is within the next 30 days. Absent or null means unknown, never a healthy-card claim. This includes non-card methods, malformed data, provider errors or a live Stripe default that differs from the recorded default payment method (for example, before a portal-change webhook syncs). Independent of status and charge eligibility; save responses omit the fact. Missing on an older server also means unknown. + * */ - updated_at: string -} - -/** - * Consent to the in-app Agent panel. `true` is the only value that can be written — consent is revoked by DELETE, not by writing `false`, so the audit trail records a revocation rather than a value flip. - */ -export type AgentConsentSettingValue = { + card_expiring_soon?: boolean | null /** - * Discriminator selecting this member of GlobalSettingValue. + * Expiry of the validated default card, from the same read as card_expiring_soon; null whenever card_expiring_soon is null or absent, including save responses. Read expired for the state; do not compare month and year against the client clock. */ - key: 'Comfy.AgentPanel.ConsentAccepted' + card_expiry: AutoReloadCardExpiry | null + configured: boolean /** - * Always `true`; see the schema description. + * When the budget cycle resets; null when no cycle anchor is known. */ - value: true -} - -/** - * The deployment a start was asked for, and its status after the ask. - */ -export type StartWorkspaceDeploymentResult = { + cycle_resets_at: string | null /** - * The deployment's id (dep-{uuid}). + * The payment method whose declines caused the current failed state, for a notice such as "Visa ending 4242 was declined". Set only while paused_by_decline is true or disabled_reason is consecutive_declines; null otherwise, and null when the method cannot be read or is no longer attached. Also null once the default changed to a payment method whose match with the declined one could not be determined (a wallet, or an unreadable method), since the pause then continues on an untried method. Never carries a payment method ID. */ - deployment_id: string + declined_payment_method: AutoReloadDeclinedPaymentMethod | null /** - * The status comfy-deploy reports after the start: queued when it accepted the start, or the deployment's current status, unchanged, when it was already up. A job is taken only once the listing shows it ready. + * Why the system, not an owner, turned automatic reload off: consecutive_declines. Null after any owner save, or once a different default card re-enables it. */ - status: string -} - -/** - * Server-to-client CRDT document frame carried by the /ws envelope. - */ -export type ServerDocFrame = - | DocSubscribedFrame - | DocUpdateFrame - | DocResetFrame - | DocOpsResultFrame - -/** - * First rejected op in an abort-remainder batch. - */ -export type DocOpFailure = { - code: string - index: number - message: string - op_id?: string -} - -export type DocOpsResultData = { - applied?: Array - code?: string - failed?: DocOpFailure - message?: string - ok: boolean + disabled_reason: string | null + enabled: boolean /** - * The op_id of every op in the doc_ops batch this result answers, verbatim and in submission order, on success and on every refusal, including refusals made before the batch reached the document host. Correlation only: it names the batch, not each op's outcome (see applied, skipped and failed), and it is not an ordering key. Absent only when the batch's op ids could not be read under the doc_ops op_id grammar, which a conforming sender never produces. + * When the most recent automatic reload declined, or null. */ - op_ids?: Array - seq?: number - skipped?: Array - v: number - workflow_id: string -} - -/** - * Host acknowledgement for a doc_ops batch. - */ -export type DocOpsResultFrame = { - data: DocOpsResultData - type: 'doc_ops_result' -} - -export type DocResetData = { - actor?: string - lineage_seq: number - seq: number - v: number - workflow_id: string -} - -/** - * Host-to-follower lineage break. The follower must resubscribe for fresh state. - */ -export type DocResetFrame = { - data: DocResetData - type: 'doc_reset' -} - -export type DocUpdateData = { - actor?: string - lineage_seq: number + last_failure_at: string | null /** - * Semantic op IDs whose effects are encoded in this live update. Absent on state-vector catch-up updates, which can fold arbitrary history and have no bounded one-frame op set. + * Decline code of the most recent declined automatic reload, or null. Fraud codes read as generic_decline. Kept after a later success; read paused_by_decline for the current state. */ - op_ids?: Array - seq: number + last_failure_reason: string | null /** - * Standard-base64 encoded Yjs update. Host-to-follower only. + * The largest monthly_budget_cents an enabled save accepts. */ - update_b64: string - v: number - workflow_id: string -} - -/** - * Host-to-follower incremental Yjs document update. - */ -export type DocUpdateFrame = { - data: DocUpdateData - type: 'doc_update' -} - -export type DocSubscribedData = { - code?: string + max_monthly_budget_cents: number /** - * Binds a stale-schema refusal to the exact row the client may re-mint. Present only with stale_schema_reseed_required. + * The most credits a single automatic reload buys. An enabled save needs target_credits at most threshold_credits plus this; a disable keeps a target saved above it. The smallest automatic reload must also fit the monthly limit (monthly_budget_cents, at most max_monthly_budget_cents). Null when billing-api did not report the cap. + * */ - expected_seq?: number + max_reload_credits: number | null /** - * Current lineage sequence. On an accepted subscription, omission means lineage 0 (the document has not been minted yet). + * The fewest credits a single automatic reload buys. An enabled save needs target_credits at least threshold_credits plus this. */ - lineage_seq?: number + min_reload_credits: number + monthly_budget_cents: number | null /** - * Human-readable rejection reason. The generated Go field is named Reason so it does not collide with the frame's Message method. + * true when the stored monthly limit came from an owner's null (no-limit) save and still equals the current ceiling; the dialog reopens with the limit switch off. False when unconfigured, when the owner sent a limit or disabled, or when the ceiling has since changed. A consecutive-declines system disable keeps the saved value. + * */ - message?: string - ok: boolean + monthly_budget_is_default: boolean /** - * Current document sequence. On an accepted subscription, omission means sequence 0 (the document has not been minted yet). + * Enabled, but no budget cycle is known, monthly_budget_cents is null, or the remaining budget cannot fund even the smallest automatic reload, from one credit below threshold_credits to target_credits. Always false when disabled. Read guidance only; it does not enforce charging. */ - seq?: number - v: number - workflow_id: string -} - -/** - * Server acknowledgement for a doc_subscribe request. - */ -export type DocSubscribedFrame = { - data: DocSubscribedData - type: 'doc_subscribed' -} - -/** - * User secret metadata (the secret value itself is never returned after creation). - */ -export type SecretResponse = { + paused_by_budget: boolean /** - * When the secret was created + * True only when paused_by_budget holds because the unspent part of the monthly limit is positive but smaller than the smallest automatic reload (from one credit below threshold_credits to target_credits); false when the limit is fully used or exceeded, when no cycle or limit is known, and when disabled. */ - created_at: string + paused_by_budget_remainder: boolean /** - * Credential class discriminator (`api_key` or `gcp_service_account`). + * Enabled, but the default card is the one that last declined an automatic reload, so none is attempted until the default card changes. Not the workspace billing status. */ - credential_type?: 'api_key' | 'gcp_service_account' + paused_by_decline: boolean /** - * Unique identifier for the secret + * Current server price of the smallest automatic reload, from one credit below threshold_credits to target_credits (reload_credits + 1 credit, clamped to the reload bounds). Reloads for lower balances cost more, so show it as a starting price. Display only; never sent back. */ - id: string + reload_amount_cents: number | null /** - * When the secret was last used for decryption + * target_credits minus threshold_credits. Kept for older clients; read target_credits. A reload buys the gap between the balance and target_credits, so it can buy more than this. */ - last_used_at?: string + reload_credits: number | null /** - * User-provided label for the secret + * Automatic reload spend counted in the current budget cycle. */ - name: string + spent_this_cycle_cents: number /** - * Provider identifier (e.g., huggingface, civitai) + * The one automatic reload state the card renders, decided by + * billing-api so clients never order the separate facts themselves. + * Render it as received. Values are listed in precedence order; the + * first that holds wins: + * - failed: paused_by_decline is true, or the system turned automatic + * reload off after consecutive declines (disabled_reason is + * consecutive_declines). The card asks for a new payment method. + * - off: not configured, or an owner turned it off. + * - on_hold: enabled, but the workspace has no default payment method + * recorded, so no automatic reload can be attempted. + * - paused_by_budget: enabled, and paused_by_budget is true; it + * resumes at cycle_resets_at. + * - on: enabled and able to reload. + * Read guidance, not charging enforcement or the workspace billing + * status. An expired card that is still the default reads as on + * until a reload declines, then failed. Treat an unknown value as off. + * */ - provider?: string + status: 'failed' | 'off' | 'on_hold' | 'paused_by_budget' | 'on' /** - * When the secret was last updated + * The balance an automatic reload tops up to: threshold_credits plus reload_credits. Null when not configured, when that sum does not fit in an int64, and from an older billing-api that does not report it. */ - updated_at: string -} - -/** - * The providers available to the authenticated user in the current workspace. - */ -export type SecretProvidersResponse = { - data: Array + target_credits: number | null + /** + * Reload when the balance falls below this many credits. + */ + threshold_credits: number | null } /** - * One way a provider's credential can be entered. When a provider exposes more than one option, clients present a sub-selection; the selected option's credential_type is sent on CreateSecretRequest. + * Every listed field is required, and one of target_credits or + * reload_credits. reload_credits alone means target_credits = + * threshold_credits + reload_credits. On every save, disabled included, + * threshold_credits must be a positive whole number of credits and a + * non-null monthly_budget_cents positive. When enabled is true: + * target_credits must be greater than threshold_credits; target_credits + * and reload_credits must agree (reload_credits = target_credits - + * threshold_credits) when both are sent; a non-null monthly_budget_cents + * must be at most max_monthly_budget_cents, and a null one means no + * owner limit and is stored as max_monthly_budget_cents; target_credits + * must be at least threshold_credits + min_reload_credits and at most + * threshold_credits + max_reload_credits; and the smallest automatic + * reload (from one credit below threshold_credits to target_credits) + * must cost no more than the budget. A save with enabled false accepts a + * null budget, stores it as null, and skips the enabled-only rules. A + * save with enabled false is never refused over target_credits or + * reload_credits: it stores target_credits minus threshold_credits when + * the target is above the threshold, else a positive reload_credits, + * else min_reload_credits. + * */ -export type CredentialOption = { - /** - * The credential_type to send on CreateSecretRequest when this option is selected. - */ - credential_type: 'api_key' | 'gcp_service_account' +export type AutoReloadSettingsRequest = { + enabled: boolean + monthly_budget_cents: number | null /** - * How the credential value is entered. `text` is a single-line secret (an API key); `json_file` is a pasted/uploaded JSON document (e.g. a Vertex service-account key). + * Older form, target_credits minus threshold_credits; must agree with target_credits when both are sent on an enabled save. */ - input_type: 'text' | 'json_file' + reload_credits?: number /** - * Human-facing label for this option (e.g. "API key (Google AI Studio)"). + * The balance to top up to. */ - label: string + target_credits?: number + threshold_credits: number } /** - * A provider the user may configure a secret for, with its display label and credential-entry options. + * Recorded account setup guidance, separate from owner authority in + * can_manage_auto_top_up. Frozen prevents enabling/editing; unavailable + * means setup is not available. Owner read/disable authority remains separate. + * These states do not determine surface visibility. Unified billing settings + * hide the auto top-up card when can_top_up is false, including paused or + * payment-failed billing. + * Ready does not authorize a charge or guarantee an off-session payment method. + * This fact ignores saved consent and monthly budget. An absent fact is unknown. + * */ -export type SecretProvider = { - /** - * The credential-entry options for this provider. A single entry is the common case (an API key); multiple entries (e.g. Gemini's AI Studio API key vs Vertex service account) drive a client-side sub-selection. - */ - credential_options?: Array - /** - * Provider identifier (e.g., huggingface, civitai, runway, gemini) - */ - id: string +export type AutoTopUpSetup = { /** - * Human-facing display label for the provider. Falls back to the client registry label, then the raw id, when omitted. + * Absent for ready; required for frozen or unavailable. Frozen reasons are + * payment_past_due, billing_paused, billing_awaiting_payment_method, + * billing_payment_pending, default_payment_method_missing, + * default_payment_method_unsupported and billing_operation_parked. + * Remaining reasons are unavailable. The first recorded workspace, provider, + * rail, billing, subscription, parked-operation or default-payment-method + * check that refuses setup supplies the reason. + * default_payment_method_unsupported means the default payment method cannot + * be charged off-session (Korea-only wallets, WeChat Pay); the owner must set + * a different default. It is checked against the payment provider; when + * that read fails, the setup stays ready. + * Creator-only provisioning replaces otherwise ready or frozen guidance + * for a noncreator; existing unavailable account reasons remain. + * */ - label?: string + reason?: + | 'workspace_deleted' + | 'workspace_blocked' + | 'billing_not_provisioned' + | 'billing_rail_not_supported' + | 'billing_status_unrecognized' + | 'payment_past_due' + | 'billing_paused' + | 'billing_awaiting_payment_method' + | 'billing_payment_pending' + | 'subscription_tier_unrecognized' + | 'subscription_status_unrecognized' + | 'subscription_state_unknown' + | 'billing_operation_parked' + | 'default_payment_method_missing' + | 'default_payment_method_unsupported' + | 'creator_only_provisioning' + state: 'ready' | 'frozen' | 'unavailable' } /** - * List of user secrets with metadata only. + * A billing address for a company Stripe customer. city and postal_code + * are optional because some countries (e.g. Hong Kong, the UAE, Panama) + * have no postal code and are not collected for them; Stripe validates + * what a given country actually requires. + * */ -export type SecretListResponse = { - data: Array +export type BillingAddress = { + city?: string + /** + * Two-letter ISO 3166-1 country code. + */ + country: string + line1: string + line2?: string + postal_code?: string + state?: string } /** - * A plan change persisted to take effect at a future billing boundary. + * Current credit balance and usage details for a workspace. Every amount here is CENTS of `currency`. The `*_micros` fields are a misnamed legacy set kept for wire compatibility; the `*_cents` fields beside them carry the identical values under honest names. `amount_micros` stays required and `amount_cents` is optional so existing strict clients are unaffected. */ -export type ScheduledPlanChange = { +export type BillingBalanceResponse = { /** - * Billing boundary when the destination plan takes effect + * The total remaining balance. Cents of `currency`, the same value as `amount_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer. */ - effective_at: string + amount_cents?: number /** - * Destination plan identifier + * DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `amount_cents`. The total remaining balance. + * + * @deprecated */ - plan_slug: string + amount_micros: number /** - * Destination Team credit stop. Null for personal plans and legacy Team plans without a credit stop. + * The remaining balance from cloud credits (subscription). Cents of `currency`, the same value as `cloud_credit_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer. */ - team_credit_stop: TeamCreditStopSummary | null -} - -export type SavedPaymentMethod = { + cloud_credit_balance_cents?: number /** - * Bank of a US bank account. Absent for other types. + * DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `cloud_credit_balance_cents`. The remaining balance from cloud credits (subscription). + * + * @deprecated */ - bank_name?: string + cloud_credit_balance_micros?: number /** - * Card brand. Present only for card payment methods. + * Display-only subscription remainder in cents of currency, capped at the known configured period_credit_grant converted at USD1 = 211 credits. Preserves fractional cents and negative balances. A proven zero allowance caps at zero. Omitted when the allowance is unknown, unavailable, or the workspace is unprovisioned. When omitted, display cloud_credit_balance_cents unchanged, without a client-side cap or zero substitution. The cap may show less than spendable credit after a downgrade or on a known-zero plan. Does not change actual cloud_credit_balance_cents, totals, prepaid credit, pending charges or spend authorization. */ - brand?: string + cloud_credit_display_balance_cents?: number + credit_validity?: CreditValidity /** - * When the method was saved to the customer. + * Currency code */ - created_at?: string + currency: string /** - * Masked email of a Link payment method (first character and domain, such as `o***@example.com`). Absent for other types. Two methods from one Link account, or two addresses that mask alike, read the same; use `created_at` to tell them apart. + * False when pending charges could not be read. effective_balance_* and pending_charges_* are then omitted, because total minus an unread pending amount would overstate spendable credit. Present on every 200: the zero-balance response for an unprovisioned workspace reports true, because no draft-invoice read happened there to fail. Treat an absent flag as "server predates this field", not as false. */ - email?: string + effective_balance_authoritative?: boolean /** - * Display-only card expiry month. Returned with exp_year only when both are known and valid; omitted otherwise, including non-card methods. + * The total balance minus pending charges; negative when charges exceed credit. Cents of `currency`, the same value as `effective_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer. */ - exp_month?: number + effective_balance_cents?: number /** - * Display-only four-digit card expiry year. Returned with exp_month only when both are known and valid; omitted otherwise, including non-card methods. + * DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `effective_balance_cents`. The total balance minus pending charges; negative when charges exceed credit. + * + * @deprecated */ - exp_year?: number + effective_balance_micros?: number /** - * Whether the card has expired, at 00:00 UTC on the first day after its expiry month. Omitted when expiry is unknown or invalid, including non-card methods. A display warning, not payment eligibility. + * True when the effective balance is above 0 and at or below the low-balance threshold ($5 of credits). False when the balance is not authoritative. */ - expired?: boolean + low_balance?: boolean /** - * Whether the card expires within the next 30 days, including already expired cards, using the UTC expiry-month boundary. Omitted when expiry is unknown or invalid, including non-card methods. A display warning, not payment eligibility. + * The most one top-up from this API may charge, in cents. First-purchase responses use the same bounds as purchase validation. */ - expiring_soon?: boolean - id: string + max_topup_cents?: number /** - * Exactly one item is the default when the returned list is non-empty. + * The whole credits `max_topup_cents` buys. Absent when `max_topup_cents` is. */ - is_default: boolean + max_topup_credits?: number /** - * Last four digits of a card, US bank account or SEPA debit account. Absent for other types, and when a SEPA account's last four characters are not all digits. + * The least one manual top-up may buy, in USD cents before tax or discounts. First-purchase responses use the same bounds as purchase validation. */ - last4?: string - type: string -} - -export type SsoDiscoverResponse = { + min_topup_cents?: number /** - * Display name of the organization, when `sso` is true + * The whole credits min_topup_cents buys. Absent when min_topup_cents is. */ - organization_name?: string + min_topup_credits?: number /** - * When `sso` is true: whether the organization requires SSO (true) or only offers it (false, an organization in optional mode, whose people keep their other sign-ins). Absent means required. + * Pending/unbilled charges from draft invoices. Cents of `currency`, the same value as `pending_charges_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer. */ - required?: boolean + pending_charges_cents?: number /** - * The email signs in through its organization's SSO + * DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `pending_charges_cents`. Pending/unbilled charges from draft invoices. + * + * @deprecated */ - sso: boolean -} - -/** - * Response after signing out of all devices - */ -export type RevokeAllSessionsResponse = { + pending_charges_micros?: number /** - * How many web sessions were ended + * The remaining balance from prepaid commits (top-ups). Cents of `currency`, the same value as `prepaid_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer. */ - revoked: number -} - -/** - * Response after accepting a scheduled-change revert. - */ -export type RevertScheduledChangeResponse = { - billing_op_id: string + prepaid_balance_cents?: number /** - * `pending`: poll GET /api/billing/ops/{id}. + * DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `prepaid_balance_cents`. The remaining balance from prepaid commits (top-ups). + * + * @deprecated */ - status: 'reverted' | 'pending' + prepaid_balance_micros?: number + /** + * Amount in cents to prefill for a top-up when the effective balance is negative: covers the shortfall plus the minimum top-up, rounded up to a whole dollar, never below the default amount and never above max_topup_cents. Null when the balance is zero or positive, or not authoritative. + */ + suggested_topup_amount_cents?: number | null } /** - * Request body for undoing a pending scheduled plan change. - */ -export type RevertScheduledChangeRequest = { - idempotency_key?: string -} - -/** - * Present only when the session's arm is an offer. Terms come from the server catalog. + * Conservative UI guidance. These values do not authorize billing writes; + * each write endpoint independently enforces its permission policy. + * + * Each field answers one UI question for the authenticated user in the + * authenticated workspace. Render each as received and never combine fields + * into a new decision. False without a matching key in denied_reasons means no + * recognised explanation, not necessarily a refusal. A field is never + * per-surface: one value serves every screen. The plan-lifecycle fields + * (can_subscribe_self_serve, can_cancel, can_reactivate, + * can_revert_scheduled_change) require the workspace's creator only when the + * rollout mode is not `owner`; every other owner-level field stays open to + * every owner. + * + * When the deployment has billing disabled, this endpoint answers without + * consulting billing-api: can_top_up is true; can_manage_members, + * can_invite_members, can_manage_subscription and can_manage_auto_top_up + * follow the owner role. Other billing-action fields are false. These role + * facts do not promise that billing endpoints are available. + * */ -export type RetentionOffer = { - duration_in_months: number - id: string - percent_off: number -} - -export type RetentionFlowSubscription = { - currency: string - /** - * Unix seconds of the next renewal. - */ - period_end: number - quantity: number +export type BillingCapabilities = { /** - * Recurring unit price in the currency's smallest unit. + * - Answers: should the client offer cancelling the subscription? + * - True: the user is a workspace owner (the workspace's creator when the + * rollout mode is not `owner`) of a paid self-serve subscription that is + * running with no cancellation scheduled and no billing operation in flight. + * It is also true where there is no local subscription row but that absence + * is not authoritative (the state is unknown, not none). + * - False: denied_reasons.can_cancel names the branch that decided. False + * without that key means no recognised explanation, not necessarily a + * refusal, for example when billing-api predates the field. + * - Not: authorization (the cancel route enforces its own rules). Not + * can_reactivate, which undoes a scheduled cancellation, and not + * can_subscribe_self_serve. Not can_top_up or can_manage_billing, which stay + * open to every owner. A FREE plan is not a paid subscription, so it has + * nothing to cancel. + * - False when: the user is not an owner; the user is an owner who is not the + * workspace's creator (rollout mode not `owner`); the tier is FREE; there is no + * subscription row and the absence is authoritative; the tier is + * sales-managed or unrecognised; the subscription is reserved but not + * running; its status is not recognised; it has ended or been canceled for + * good; a billing operation is running or parked; a cancellation is already + * scheduled. + * */ - unit_amount: number -} - -export type RetentionFlowResponse = { + can_cancel: boolean /** - * The PostHog arm: control or a retention offer ID. Absent when the - * subscription is ineligible or the owner is outside the experiment. + * - Answers: should the client offer changing the seat quantity of the + * subscription? + * - True: the user is a workspace owner with a subscription row on a + * self-serve tier whose status is active, or canceled with a cancellation + * date still set. + * - False: never explained. There is no denied_reasons key for this field, so + * false without a reason is the normal case, not a gap. + * - Not: authorization (the seat-change route enforces its own rules). Not room + * to invite (can_invite_members) and not member management + * (can_manage_members). The resolver tests the tier only against the + * self-serve list and does not check that the plan is seat-based, so true + * does not mean the plan has seats to change: an owner on a FREE plan gets + * true. A scheduled cancellation, a scheduled successor plan, a running + * billing operation and a past-due payment do not change it. + * - False when: the user is not an owner; there is no subscription row, even + * where that absence is only unknown; the tier is sales-managed or + * unrecognised; the subscription is reserved but not running; its status is + * not recognised; it has ended or been canceled for good. * */ - experiment_variant?: string + can_change_seats: boolean /** - * Unix seconds; reopen cancellation to refresh the offer after expiry. + * - Answers: should the client offer deleting this workspace? + * - True: the user is an owner of a team workspace and, when the answer was + * read, the user is also its creator when the rollout mode is not owner, + * the workspace is not attached to an SSO organization, has no + * subscription-changing billing operation running or parked, and has no + * live subscription, sales-managed or not. + * - False: denied_reasons.can_delete_workspace names the branch that + * decided. False without that key means no recognised explanation, not a + * refusal: a fact it depends on could not be read, or the team-workspaces + * feature is off. + * - Not: authorization. It reports what the DELETE /api/workspaces/{id} + * handler guards, except creator_guidance applies the creator restriction + * to guidance while writes still accept any owner. Only creator mode + * enforces that restriction. The handler stays authoritative and re-checks + * under the workspace lock, so this answer can be stale. Not a billing + * capability: use can_cancel to ask about cancelling a subscription. + * - False when: a live subscription is on a sales-managed plan; the user is + * not an owner; the user is a non-creator owner and the rollout mode is + * not owner; the workspace is personal; the + * workspace is attached to an SSO organization; a billing operation is + * running or parked; a subscription is still live; a dependent fact could + * not be read; the team-workspaces feature is off. + * */ - expires_at: number - offer?: RetentionOffer - session_id: string - subscription: RetentionFlowSubscription -} - -export type RetentionFlowEventRequest = { + can_delete_workspace: boolean /** - * flow_opened is reported at the same point for every arm. + * - Answers: may the user downgrade the workspace's subscription to a personal + * plan? + * - True: not in practice today. billing-api forces this field to false in + * every response, a retired rollout's closed default, so a client must not + * wait for it to become true. + * - False: always on this server version. There is no denied_reasons key for + * this field. + * - Not: authorization. Not the same as + * rollout_defaults_applied.can_downgrade_to_personal, which is true by design + * and says nothing about this value. + * - Before that override the resolver would grant it only to the workspace's + * original owner (its creator) who also has the owner role, on a running + * self-serve subscription with no successor plan scheduled. + * */ - event: 'flow_opened' | 'offer_shown' - session_id: string -} - -export type RetentionAcceptance = { - billing_op_id: string + can_downgrade_to_personal: boolean /** - * Show success only once this is succeeded; otherwise poll the billing operation. + * Whether to offer workspace name editing to this actor. True for a current owner while workspace features are available. False with no denied_reasons key is unknown or unavailable guidance. Not member management or write authorization; the update route rechecks owner membership. A permission refusal has its matching denial key. */ - status: 'pending' | 'succeeded' -} - -export type RetentionAcceptRequest = { + can_edit_workspace: boolean /** - * Server-issued session; carries no client-selected coupon or variant. + * - Answers: should the client offer sending a new workspace invitation right + * now? + * - True: the user is a workspace owner and the workspace has room: members + * plus unexpired pending invitations are below the seat limit, or the limit + * is not positive (unlimited). + * - False: never explained. There is no denied_reasons key for this field. + * - Not: authorization (invitation creation enforces the same limit itself). + * Not member management (can_manage_members) and not buying seats + * (can_change_seats). Pending invitations count toward capacity. The + * resolver ignores tier, subscription status, cancellation and past-due + * payment; only the seat limit, which can come from the active plan, reflects + * the plan. + * - False when: the user is not an owner; the seat limit is 1 (the limit is the + * workspace override if set, else the active plan's default max seats, and + * defaults to one seat with no active subscription); members plus unexpired + * pending invitations have reached the limit; the capacity could not be + * read, which fails closed. + * */ - session_id: string -} - -/** - * Response after accepting a resubscribe request. - */ -export type ResubscribeResponse = { + can_invite_members: boolean /** - * Billing operation ID to poll for status via GET /api/billing/ops/{id} + * - Answers: should the client offer leaving this workspace? + * - True: the user is a member and no branch below applies. A plain member + * of a team workspace who did not create it can leave; an owner who did + * not create it can leave only when another owner remains. + * - False: denied_reasons.can_leave_workspace names the branch that decided. + * False without that key means no recognised explanation, not a refusal: a + * fact it depends on could not be read, or the team-workspaces feature is + * off. + * - Not: authorization. It reports what POST /api/workspace/leave would + * decide for the authenticated workspace; the route stays authoritative. + * Not can_delete_workspace: leaving ends one membership, deleting removes + * the workspace. + * - False when: the user is not a member; the membership is managed by the + * workspace's SSO organization; the user created this personal workspace; + * the user created this team workspace; the user is the only owner. + * */ - billing_op_id: string + can_leave_workspace: boolean /** - * Human-readable confirmation message + * - Answers: does this workspace member have owner authority to view + * and manage auto top-up, including reading or disabling saved settings? + * - When billing-api omits this field, ingest resolves owner authority + * from the authenticated workspace role. Explicit upstream booleans are + * preserved; null or non-boolean values fail the response. False means + * non-owner fallback or an explicit upstream false. No denied_reasons + * key explains this role fact. + * - Not: service or setup readiness, write authorization or permission + * to charge. Missing payment methods, frozen billing or a disabled + * billing service do not remove owner authority; these deployment and + * setup checks remain separate from whether the actor is an owner. + * */ - message?: string + can_manage_auto_top_up: boolean /** - * Subscription outcome. `active` means the resubscribe committed (the scheduled cancellation was undone); `pending` means the operation is still executing — poll the billing operation for the final outcome. + * - Answers: should the client offer payment-method, invoice, payment-update + * and company-details management? + * - True: the user is a member of the workspace whose role is owner, except in + * the false case below. + * - False: never explained. There is no denied_reasons key for this field. + * - Not: authorization. Not member management (can_manage_members) and not + * buying or subscribing (can_top_up, can_subscribe_self_serve). Independent + * of tier, subscription status, cancellation, past-due payment, a running + * billing operation and invite capacity. + * - False when: the user is not an owner, or is a non-creator owner of a + * personal workspace that is missing a billing provider id (not yet + * provisioned). + * */ - status: 'active' | 'pending' -} - -/** - * Request body for reactivating a previously cancelled subscription. - */ -export type ResubscribeRequest = { + can_manage_billing: boolean /** - * Client-provided key to prevent duplicate operations. - * If a billing op with this key already exists, returns the existing op instead of creating a new one. + * - Answers: should the client offer member-management controls? + * - True: the user is a member of the workspace whose role is owner. + * - False: never explained. There is no denied_reasons key for this field. + * - Not: authorization; individual target restrictions still apply. Not invite + * capacity (can_invite_members), seat quantity (can_change_seats) or billing + * management (can_manage_billing). Independent of tier, subscription status, + * cancellation, past-due payment and billing provisioning. + * - False when: the user is not a member, or is a member whose role is not + * owner. Nothing else closes it. * */ - idempotency_key?: string -} - -/** - * The newest open renewal invoice of the workspace's Stripe subscription (active, or canceled but not yet ended). Returned only to workspace owners on the stripe billing rail while billing_status is payment_failed or paused, or on the legacy_stripe billing rail while billing_status is payment_failed and its legacy subscription is past_due or unpaid, and not while a payment for it is processing. hosted_invoice_url is a bearer payment link. - */ -export type RenewalInvoice = { + can_manage_members: boolean /** - * Amount due in the currency's smallest unit (e.g. cents). + * Whether to offer editing the workspace partner-provider access policy. Requires current owner membership and the partner governance entitlement. A false capability may have its matching denial key; absence means no recognized explanation, including disabled workspace features or unavailable membership. Not permission to read the policy, manage members or authorize a write; the policy route rechecks. */ - amount_due: number + can_manage_partner_node_access: boolean /** - * Lowercase ISO currency code. + * - Answers: does this workspace member have owner authority for the + * subscription-management section? + * - When billing-api omits this field, ingest resolves owner authority + * from the authenticated workspace role. Explicit upstream booleans are + * preserved; null or non-boolean values fail the response. False means + * non-owner fallback or an explicit upstream false. No denied_reasons + * key explains this role fact. + * - Not: action availability, service readiness or write authorization. + * Portal, payment-method and invoice guidance still uses can_manage_billing, + * with provisioning and endpoint-specific checks. Lifecycle actions use + * their dedicated capabilities and permissions. This role authority is + * independent of plan, billing state and personal-workspace creator. + * */ - currency: string + can_manage_subscription: boolean /** - * Stripe-hosted page where the customer can pay the invoice. + * Whether to offer this actor the way into Plans (Manage, Explore plans, Choose a plan). Creator-only, whatever the lifecycle rollout mode: false for members and for owners who are not the workspace's creator. Otherwise the same rule as can_subscribe_self_serve, except that a plan change already scheduled (subscription_change_in_progress) does not close it, so the creator can still open Plans to review or revert that change. Which plans are selectable stays with the plans listing. False when an older billing-api omits it. Guidance only; writes recheck. */ - hosted_invoice_url: string + can_open_plans: boolean /** - * When Stripe will next retry automatically; absent when no retry is scheduled. + * - Answers: may the user undo a SCHEDULED cancellation on a subscription that + * is still running? + * - True: the user is a workspace owner (the workspace's creator when the + * rollout mode is not `owner`), the subscription is active or canceled with a + * cancellation date still set (running until that date), and no billing + * operation is in flight. + * - False: denied_reasons.can_reactivate names the branch that decided. False + * without that key means no recognised explanation, not necessarily a + * refusal, for example when billing-api predates the field. + * - Not: authorization (the resubscribe route enforces its own rules). Not a + * way back from a plan that has ended: that is can_subscribe_self_serve, + * which stays open there. Not an undo of a scheduled plan change, which is + * can_revert_scheduled_change. Not can_top_up or can_manage_billing, which stay + * open to every owner. + * - False when: the user is not an owner; the user is an owner who is not the + * workspace's creator (rollout mode not `owner`); there is no subscription row at all, + * even where that absence is only unknown; the tier is sales-managed or + * unrecognised; the subscription is reserved but not running; its status is + * not recognised; it has ended or been canceled for good; a billing + * operation is running or parked; no cancellation is scheduled. + * */ - next_payment_attempt?: string -} - -/** - * The declared packs that failed to import on the build of the editor's Release, in the order the build declared them, and which Release that is. - */ -export type ReleaseUnsupportedPacks = { - packs: Array + can_reactivate: boolean /** - * The Release whose build the packs were read for, the same id as a deployment's release_id in GET /api/workspaces/{id}/deployments. The route answers for the Release the deployment runs now, so an editor that booted on an earlier Release compares this id with its own and ignores the packs when they differ. Null when no Release's build was read: Comfy Cloud, the rollout flag off, or comfy-builder could not be read. + * - Answers: may the user undo a plan change that is already scheduled for a + * future billing boundary? + * - True: the user is a workspace owner (the workspace's creator when the + * rollout mode is not `owner`), the subscription is Stripe-billed and has a + * pending scheduled change from it, and the revert window is open: more than + * one hour before the change takes effect and, when reverting would restore a + * cancellation, more than one hour before that cancellation date. + * - False: never explained. There is no denied_reasons key for this field, so + * it does not say which of the conditions failed, including that the user is + * an owner who is not the creator. + * - Not: authorization. Not can_reactivate (undo a scheduled cancellation) and + * not can_subscribe_self_serve. Not can_top_up or can_manage_billing, which + * stay open to every owner. When subscribe is refused with + * subscription_change_in_progress, a successor plan is scheduled; this field + * says whether that change can still be reverted. + * - False when: the user is not an owner; the user is an owner who is not the + * workspace's creator (rollout mode not `owner`); there is no pending + * scheduled change from this subscription; the cutoff has passed; the tier is + * sales-managed or unrecognised; the subscription has ended or been canceled + * for good. + * */ - release_id: string | null -} - -/** - * One declared pack that failed to import on the Release's build, as comfy-builder names it. - */ -export type ReleaseUnsupportedPack = { + can_revert_scheduled_change: boolean /** - * Why the pack failed to import: the last line of its import error, or "needs a GPU". Empty when ComfyUI logged no reason. + * Point-in-time Cloud billing guidance for this actor, combining the supplied workflow_run decision with ingest's existing account gate and cutover mode, local enrollment, Google-session requirement, and acting-user allowance. Legacy authority includes the same fail-open behavior as submission. True means these account gates allow the attempt; false has a denial when recognized. Billing-disabled environments return true. False without a reason is unknown where authoritative guidance is unavailable. No allowance is consumed or reserved. This is not authorization for a specific job or project: the submission path rechecks its full context. */ - cause: string + can_run_workflows: boolean /** - * The pack's folder under custom_nodes. + * - Answers: may this user start, recover or change a self-serve plan? + * - True: the user is a workspace owner and no resolver branch closed it. When + * the rollout mode is not `owner`, the user must also be the workspace's + * creator; in mode `owner` any owner qualifies. That includes a workspace + * with no plan, a running self-serve plan, and a plan that has ended or been + * canceled for good, where it stays open because it is the only path back. + * - False: the user is not an owner, the user is an owner who is not the + * workspace's creator (rollout mode not `owner`), the user is a non-creator + * owner of a personal workspace whose billing is not yet provisioned, the + * tier is sales-managed or unrecognised, a successor plan is already + * scheduled, the subscription is reserved but not running and has no + * recoverable checkout, or its status is not recognised. + * denied_reasons.can_subscribe_self_serve names the branch that decided. + * False without that key means no recognised explanation, not necessarily a + * refusal, for example when billing-api predates the field. + * - Not: authorization (the subscribe route enforces its own rules). Not + * can_top_up (buy credits) or can_manage_billing, which stay open to every + * owner. Not can_reactivate (undo a scheduled cancellation) or can_cancel. + * One value serves every surface; there is no per-surface variant. + * */ - folder: string + can_subscribe_self_serve: boolean /** - * The pack's Comfy Registry id; empty for a pack not installed from the registry. + * Should this owner be offered a one-off prepaid credit purchase? Known + * Free, no-subscription, ended and inactive Enterprise states qualify. + * Non-members, non-owner members, non-creator initial personal billing + * provisioning and past-due billing (payment_failed or paused) are refused. + * Unknown existing subscription tier or status is refused, matching purchase + * and quote validation, and so is every purchase while staff pause top-ups. + * This is guidance, not authorization: write routes + * retain workspace, rail, provider, amount and operation checks. Cloud + * workflow execution still requires its existing subscription/run policy. + * */ - registry_id: string + can_top_up: boolean /** - * The repository URL the pack's own pyproject.toml names, for matching only, never a verified source; empty when it names none. + * Whether at least one active catalog choice is an actionable upgrade from the current plan for this actor, including a Free-to-paid choice, longer interval or higher Team credit commitment. Uses the same exact target selector as plan actions, including seats, processing operations and scheduled changes. No current or ended plan is false: subscribe or resubscribe is a separate action. Unknown legacy bindings fail closed. False with no reason is unknown; this guidance does not authorize writes. */ - repository: string -} - -/** - * Response after a queue management action (delete or clear). - */ -export type QueueManageResponse = { + can_upgrade: boolean /** - * Whether the queue was cleared + * Whether to offer the actor's own usage attribution view. Optional for rolling deployments; absent means unknown. True for a current workspace member with usage attribution enabled. Clients must use person/source ledger groupings or person/source filters, which the existing route scopes to the actor for members. This is not permission for the default model grouping, whole-workspace analytics, or other unscoped queries. Query authorization and filters are unchanged. Attribution disabled emits usage_attribution_unavailable; missing denial means unknown. */ - cleared?: boolean + can_view_own_usage?: boolean /** - * Array of job IDs that were successfully cancelled + * Whether to offer the workspace invitation list. True for a current owner while workspace features are available. A false capability may have its matching denied_reasons key; absence means no recognized explanation. This is not capacity to send another invitation; use can_invite_members. The owner-only list route stays authoritative and can include expired invitations despite the word pending. */ - deleted?: Array + can_view_pending_invites: boolean + /** + * Whether to offer whole-workspace usage analytics. True only for a current workspace owner with usage attribution enabled. Members use can_view_own_usage instead. False with no matching denied_reasons key means unknown or unavailable guidance. This does not authorize a read. + */ + can_view_team_usage: boolean } /** - * Request to manage queue operations + * Effective billing UI guidance for one authenticated user and workspace. */ -export type QueueManageRequest = { +export type BillingCapabilitiesResponse = { /** - * If true, clear all pending jobs from the queue + * Whether auto top-up is rolled out to this user: the auto_top_up_enabled + * rollout flag, evaluated by ingest the same way GET /api/features + * evaluates it. Any evaluation failure reads as false. It gates + * visibility only; capabilities.can_manage_auto_top_up still decides + * who may manage auto top-up. + * */ - clear?: boolean + auto_top_up_enabled: boolean + auto_top_up_setup?: AutoTopUpSetup + capabilities: BillingCapabilities + denied_reason_params?: BillingCapabilityDenialParams + denied_reasons?: BillingCapabilityDenials /** - * Array of job IDs to cancel; pending and running jobs transition to cancelled + * Time after which the client must refetch this snapshot. */ - delete?: Array -} - -/** - * Queue information with pending and running jobs - */ -export type QueueInfo = { + expires_at: string /** - * Array of pending job items (ordered by creation time, oldest first) + * Whether any workspace billing operation needs support reconciliation (paid_ungrantable or supersede_uncancelled), across all operation types including automatic top-ups, and independent of an active plan. Shown only when can_manage_billing is true; true requests the payment support banner, not proof of a charge. False means the local read found no parked operation. Omitted for non-managers, unavailable reads, older servers or disabled billing; omission means unknown, not a healthy payment state. */ - queue_pending?: Array<[unknown, unknown, unknown, unknown, unknown]> + has_parked_billing_operation?: boolean /** - * Array of currently running job items + * Whether this actor may use payment management to recover an outstanding + * subscription payment. True only when can_manage_billing is true, the + * workspace payment state is payment_failed or paused, and the provider + * confirms its bound live Stripe subscription is past_due, unpaid, or paused. + * False when known ineligible or healthy; no denied_reasons key explains it. + * Absent when the live binding or provider state cannot be verified, on + * older servers, or when billing is disabled; absence means unknown. + * This is not authorization, a promise that a payable invoice or hosted + * payment link exists, or permission to subscribe or run workflows. + * Use can_manage_billing for general payment-method and invoice management. + * */ - queue_running?: Array<[unknown, unknown, unknown, unknown, unknown]> -} - -/** - * Full detail of a publicly published workflow on the Hub. - */ -export type PublishedWorkflowDetail = { + payment_recovery_available?: boolean /** - * Published assets with their library status for the caller. + * Who runs the plan lifecycle. Rendered as received; never derive it from + * tier names or slugs. + * - none: the workspace has no subscription in the capability facts. An + * orphaned reserved row on a self-serve tier is reported as none. + * - self_serve: a subscription on a tier with a customer-driven lifecycle, + * including a FREE plan. + * - sales_managed: a subscription on a sales-managed tier. It also covers a + * tier the resolver does not recognise. + * It classifies the plan by tier only. It says nothing about whether the plan + * is running (a reserved or ended subscription still has a kind) and nothing + * about what the user may do; that is capabilities. Absent in the same cases as + * recovery_route. + * */ - assets: Array - listed: boolean + plan_kind?: 'none' | 'self_serve' | 'sales_managed' /** - * Human-readable workflow name. + * Where the customer goes when the plan has ended. Rendered as received; + * never derive it from tier names or slugs. + * - none: there is no subscription, or it has not stopped for good (a + * canceled plan that still has a cancellation date has not). + * - resubscribe: the subscription has stopped for good (ended, or canceled + * with no cancellation date) on a self-serve tier. The route is subscribing + * again. + * - contact_sales: the subscription has stopped for good on a sales-managed + * or unrecognised tier. The route is through sales. + * It names the route only and deliberately ignores the user's role. Whether + * the control is enabled stays with capabilities.can_subscribe_self_serve + * and its denied reason. It is not a capability and not authorization. + * Absent when billing is disabled, when talking to a billing-api version + * that predates it, and when the upstream value is not recognised. + * */ - name: string - publish_time?: string | null - share_id: string - workflow_id: string + recovery_route?: 'none' | 'resubscribe' | 'contact_sales' + resolved_for: BillingCapabilityScope /** - * The workflow JSON content at publish time. + * JavaScript-safe, time-sortable revision for this snapshot. It + * increases monotonically within a serving process. Clients should + * invalidate on a different X-Capability-Revision value and use + * expires_at as the cross-instance freshness bound. + * */ - workflow_json: { - [key: string]: unknown - } + revision: number + rollout_defaults_applied: BillingCapabilityRolloutDefaults + /** + * Whether a missing subscription row authoritatively means the + * workspace has no paid plan. False means a legacy Stripe plan may + * exist outside the local projection. The field is absent when + * talking to a billing-api version that predates this signal. + * + */ + subscription_state_authoritative?: boolean } /** - * Request body for publishing workflow assets to the Hub. + * Optional facts for the matching denied_reasons key; absent facts are unknown and must not be inferred from other fields. */ -export type PublishWorkflowAssetsRequest = { - /** - * IDs of assets (inputs and models) to snapshot. - */ - asset_ids: Array +export type BillingCapabilityDenialParams = { + can_delete_workspace?: WorkspaceDeletionDenialParams } /** - * Request body for publishing or updating a workflow on the Hub. + * Why a capability resolved false, keyed by the capability. The value + * names the policy branch that decided, not customer-facing wording: the + * client owns the message. + * + * How to read this: render each capability from `capabilities` as received, and + * use a reason only to explain a capability that is false. Never recombine + * capabilities or reasons into a new decision, and never derive a reason from + * tier, role, status or plan slug. A missing reason is not a grant. A refused + * capability usually has a key here naming the branch that refused it. A false + * capability with no matching key is an unexplained refusal: no recognised + * explanation, still false. A true capability never has a key. + * Within a key the values are listed in the order the resolver reaches them, + * and the first one reached is the one reported. Capabilities are UI guidance, + * not authorization: the write endpoints decide. + * + * The invariant runs one way only. **Presence implies refusal**: a key is + * present only alongside `capabilities. == false`, reconciled before + * the response is built, so a reason never accompanies a granted + * capability. **Absence implies nothing**: on a false capability it + * means no recognised explanation, and on a true capability it is the + * expected state. Consult `capabilities`, which stays authoritative for what + * the client may offer. + * + * A key is absent for a refused capability whenever this service is + * talking to a billing-api that predates the field, and whenever it drops + * a reason it does not recognise rather than forwarding a value outside + * the enum below. Both are supported states, so a client must never infer + * a capability's value from a missing reason -- only from `capabilities`. + * + * This endpoint omits the entire `denied_reasons` object when no recognised + * reason survives. The billing-api endpoint may emit `{}` for the same + * logical state, so object presence must not be used to detect support. + * */ -export type PublishHubWorkflowRequest = { - /** - * IDs of assets (inputs and models) to snapshot. - */ - asset_ids: Array - /** - * Custom node slugs. Must exist in hub_labels. - */ - custom_nodes?: Array - /** - * Workflow description for the hub listing. - */ - description?: string - /** - * Arbitrary metadata (size, vram, open_source, etc.). Reserved keys (extended_description, meta_description, how_to_use, suggested_use_cases, faq_items, content_template) are backend-managed and will be stripped if supplied. - */ - metadata?: { - [key: string]: unknown - } - /** - * Model slugs. Must exist in hub_labels. - */ - models?: Array - /** - * Display name for the published workflow on the hub. - */ - name: string +export type BillingCapabilityDenials = { /** - * Array of tokens or existing public URLs from the previous published version. Full replacement (PUT semantics). Omit or pass [] to have no sample images. + * Present only when can_cancel is false. The value names the resolver branch + * that decided, not customer wording. Values are listed in the order the + * resolver reaches them; the first one reached wins. cancellation_scheduled, + * subscription_ended, subscription_not_started and + * subscription_status_unrecognized belong to different subscription statuses and + * are alternatives that never compete. Absent while the capability is false + * means no recognised explanation, not a grant. + * - not_a_member: the caller is not a member of the workspace. Unreachable + * over HTTP: a non-member is answered 403 before capabilities resolve. + * - not_workspace_owner: the caller is a member whose role is not owner. Not + * the same as not_a_member. + * - not_original_owner: the caller is an owner but not the workspace's creator; + * only the creator may start, change, cancel or reactivate the plan. Reached + * after not_workspace_owner. Reported only when the rollout mode is not + * `owner`. Not not_workspace_owner (role) and not creator_only_provisioning + * (provisioning a personal workspace's billing identity). + * - free_plan: the current tier is FREE. Checked on the tier alone, whatever + * the status, and before the no-subscription check. A FREE plan is not a paid + * subscription, so there is nothing to cancel. + * - no_subscription: there is no subscription row and the server treats that + * absence as authoritative. Where the absence is only unknown (a legacy + * Stripe workspace) can_cancel stays true and no reason is sent. A leftover + * reserved row with no live operation behind it, on a self-serve tier, is + * reported as no subscription. + * - tier_not_self_serve: the subscription's tier is sales-managed or + * unrecognised, so its lifecycle is not customer-driven. + * - billing_operation_in_progress: an initial subscription, plan change, + * cancel, resubscribe, seat change, revert or retention offer is running, + * either a pending workflow or the retention-offer gate between the Stripe + * write and its confirmation. It settles on its own, so a client may tell the + * user to wait, and cancel is refused until it does. Not + * subscription_change_in_progress, where a successor plan is scheduled. Not + * evaluated for a reserved subscription, which reports + * subscription_not_started. Reached before cancellation_scheduled. + * - billing_operation_parked: such an operation is parked for reconciliation, + * either paid but credits not granted or a replacement subscription that + * could not finish superseding the old one. It does not clear on its own, so + * a client must route the user to support and never imply a wait. Reported + * instead of billing_operation_in_progress when both kinds exist, and reached + * at the same point, before cancellation_scheduled. + * - cancellation_scheduled: a cancellation is already scheduled, so cancelling + * again is refused. The opposite of cancellation_not_scheduled on + * can_reactivate. + * - subscription_ended: the subscription has stopped for good: ended, or + * canceled with no cancellation date. Never competes with + * billing_operation_in_progress or billing_operation_parked, which a stopped + * subscription does not evaluate. + * - subscription_not_started: a subscription row is reserved but not running. + * Not no_subscription (no row at all) and not subscription_ended. + * - subscription_status_unrecognized: the subscription status is one the + * resolver has no guidance for. The server is undetermined, which is not a + * deliberate refusal. * */ - sample_image_tokens_or_urls?: Array + can_cancel?: + | 'not_a_member' + | 'not_workspace_owner' + | 'not_original_owner' + | 'free_plan' + | 'no_subscription' + | 'tier_not_self_serve' + | 'billing_operation_in_progress' + | 'billing_operation_parked' + | 'cancellation_scheduled' + | 'subscription_ended' + | 'subscription_not_started' + | 'subscription_status_unrecognized' /** - * Searchable tag slugs. Must exist in hub_labels. + * Why can_change_seats is false. Present only when that capability is false; absent means no recognized explanation, never permission. This does not authorize the action or explain a sibling capability. First reached wins in the order below; mutually exclusive lifecycle statuses do not compete. + * - not_a_member: The actor is not a workspace member. + * - not_workspace_owner: The actor does not have the workspace owner role. + * - no_subscription: No subscription exists for the action to apply to. + * - tier_not_self_serve: The existing plan is sales-managed or unrecognized. + * - subscription_ended: The subscription has ended. + * - subscription_not_started: The subscription has not started. + * - subscription_status_unrecognized: The subscription status is unrecognized. + * */ - tags?: Array + can_change_seats?: + | 'not_a_member' + | 'not_workspace_owner' + | 'no_subscription' + | 'tier_not_self_serve' + | 'subscription_ended' + | 'subscription_not_started' + | 'subscription_status_unrecognized' /** - * Token or existing public URL from the previous published version. Omit to have no comparison image. + * Present only when can_delete_workspace is false. The value names the + * resolver branch that decided, not customer wording. The list follows the + * order the resolver reaches the branches, and the first one reached wins. + * Absent while the capability is false means no recognised explanation, not + * a grant: a fact could not be read, or the team-workspaces feature is off. + * - not_a_member: the caller is not a member of the workspace. Unreachable + * through this endpoint: a non-member is answered 403 before capabilities + * resolve. + * - sales_managed_plan: a live subscription row is on a sales-managed tier + * (plan_kind sales_managed), so sales ends the plan, not the customer, and + * there is no customer step to point at. Reported to every member, owner + * or not, before any role or workspace refusal; it reveals only what + * plan_kind already does. An ended or reserved sales-managed row does not + * report it. Not plan_not_ended, which the customer can end by cancelling. + * - not_workspace_owner: the caller is a member whose role is not owner. A + * non-owner is told nothing below this branch, so it never learns whether + * an SSO organization holds the workspace. + * - not_original_owner: the caller is an owner who did not create the + * workspace and the rollout mode is not owner. Reached after + * not_workspace_owner and before any workspace-specific refusal. + * - workspace_sso_attached: the workspace belongs to an SSO organization and + * only an operator detach can delete it. + * - personal_workspace: a personal workspace, which is never deleted. + * - billing_operation_in_progress: an initial subscription, plan change, + * cancel, resubscribe, seat change, revert or retention offer is running, + * either a pending workflow or the retention-offer gate between the + * Stripe write and its confirmation. It settles on its own, so a client + * may tell the user to wait. The same fact as the reason of that name on + * can_cancel and can_reactivate. Not plan_not_ended, which is about a + * subscription row. + * - billing_operation_parked: such an operation is parked for + * reconciliation, either paid but credits not granted or a replacement + * subscription that could not finish superseding the old one. It does + * not clear on its own, so a client must route the user to support and + * never imply a wait. Reported instead of billing_operation_in_progress + * when both kinds exist. The same fact as the reason of that name on + * can_cancel and can_reactivate. + * - plan_not_ended: at least one live subscription row has not started + * ending, so deleting the workspace would leave a plan charging. + * Reached after permission, workspace and operation refusals. + * - plan_ending: every live subscription is ending (a canceled row or a + * future cancel_at). When all cancellation boundaries are known, + * denied_reason_params.can_delete_workspace.effective_at gives the + * latest one. Missing params mean an unknown date. This and + * plan_not_ended describe different states and never compete. * */ - thumbnail_comparison_token_or_url?: string + can_delete_workspace?: + | 'not_a_member' + | 'sales_managed_plan' + | 'not_workspace_owner' + | 'not_original_owner' + | 'workspace_sso_attached' + | 'personal_workspace' + | 'billing_operation_in_progress' + | 'billing_operation_parked' + | 'plan_not_ended' + | 'plan_ending' /** - * Token (from /api/hub/assets/upload-url) for a new upload, or an existing public URL from the previous published version. Omit to have no thumbnail. + * Why can_downgrade_to_personal is false. Present only when that capability is false; absent means no recognized explanation, never permission. This does not authorize the action or explain a sibling capability. First reached wins in the order below; mutually exclusive lifecycle statuses do not compete. + * - not_a_member: The actor is not a workspace member. + * - not_workspace_owner: The actor does not have the workspace owner role. + * - not_original_owner: The action requires the workspace creator. + * - no_subscription: No subscription exists for the action to apply to. + * - tier_not_self_serve: The existing plan is sales-managed or unrecognized. + * - subscription_change_in_progress: A successor plan change is already scheduled. + * - subscription_ended: The subscription has ended. + * - subscription_not_started: The subscription has not started. + * - subscription_status_unrecognized: The subscription status is unrecognized. + * - rollout_disabled: The server read default keeps this action disabled independently of its policy permission. * */ - thumbnail_token_or_url?: string - thumbnail_type?: 'image' | 'video' | 'image_comparison' + can_downgrade_to_personal?: + | 'not_a_member' + | 'not_workspace_owner' + | 'not_original_owner' + | 'no_subscription' + | 'tier_not_self_serve' + | 'subscription_change_in_progress' + | 'subscription_ended' + | 'subscription_not_started' + | 'subscription_status_unrecognized' + | 'rollout_disabled' /** - * URL to a tutorial for this workflow. + * Why can_edit_workspace is false. Permission refusals precede unavailable feature or entitlement facts; first reached wins in enum order. A present key implies refusal. Missing means unknown, including a disabled team-workspaces feature or an unavailable membership read, never permission. This explains only this capability and does not authorize a mutation. */ - tutorial_url?: string + can_edit_workspace?: 'not_a_member' | 'not_workspace_owner' /** - * Username of the hub profile to publish under. The authenticated user must belong to the workspace that owns this profile. + * Why can_invite_members is false. Present only when that capability is false; absent means no recognized explanation, never permission. This does not authorize the action or explain a sibling capability. First reached wins in the order below; mutually exclusive lifecycle statuses do not compete. + * - not_a_member: The actor is not a workspace member. + * - not_workspace_owner: The actor does not have the workspace owner role. + * - invite_capacity_reached: No invitation capacity is available, including a failed capacity read. + * */ - username: string + can_invite_members?: + | 'not_a_member' + | 'not_workspace_owner' + | 'invite_capacity_reached' /** - * Userdata path of the workflow file (e.g. "workflows/my-flow.json"). - */ - workflow_filename: string -} - -/** - * One provider's policy state. - */ -export type ProviderPolicyEntry = { - /** - * true = allowlisted. false and absent evaluate identically when enforcing; explicit false is UI review state. - */ - enabled: boolean - /** - * Catalog provider identifier. - */ - provider_id: string -} - -/** - * A workspace's partner-provider governance policy document — the exact shape PUT accepts (round-trips; entries come back sorted by provider_id, write order is not significant). Effective rule: enabled(P) = !enforcement_enabled || (the entry for P has enabled=true); absent from the array = unset (deny when enforcing). - */ -export type ProviderPolicy = { - /** - * The arming switch. While false the policy is editable but nothing blocks (preview mode). - */ - enforcement_enabled: boolean - /** - * One entry per reviewed provider. A duplicate provider_id in a write is rejected with 400. Unknown provider_ids are rejected with 422. - */ - providers: Array -} - -/** - * The partner-provider governance catalog: every governable provider, identical for all workspaces. A projection of the curated catalog minus the internal api_names. - */ -export type ProviderCatalogResponse = { - /** - * Sorted by provider_id. - */ - providers: Array -} - -/** - * Display data for one governable partner provider. - */ -export type CatalogProvider = { - /** - * Panel display label (e.g. "OpenAI (inc. Sora)"). Changeable freely, unlike the provider_id. + * Present only when can_leave_workspace is false. The value names the + * resolver branch that decided, not customer wording. The list follows the + * order the resolver reaches the branches, and the first one reached wins. + * Absent while the capability is false means no recognised explanation, not + * a grant: a fact could not be read, or the team-workspaces feature is off. + * - not_a_member: the caller is not a member of the workspace. Unreachable + * through this endpoint: a non-member is answered 403 before capabilities + * resolve. + * - membership_managed_by_directory: the workspace's SSO organization is + * attached and holds this account, so the membership is the organization's + * to manage and leaving would strand an SSO account with no workspace. + * - personal_workspace_creator: the caller created this personal workspace + * and can never leave it. Not personal_workspace on can_delete_workspace, + * which is about deleting the workspace. + * - workspace_creator: the caller created this team workspace and can never + * leave it, even while other owners remain. Reached after + * personal_workspace_creator and before only_owner, which a creator who + * is the sole owner therefore never sees. + * - only_owner: the caller is the sole owner, so leaving would leave the + * workspace with no owner. Another owner must exist first. + * */ - display_name: string + can_leave_workspace?: + | 'not_a_member' + | 'membership_managed_by_directory' + | 'personal_workspace_creator' + | 'workspace_creator' + | 'only_owner' /** - * The provider's owned /object_info category segments (partner//), e.g. openai -> ["OpenAI", "Sora"]. The panel uses them to group nodes under providers (including merged vendors) and preview which nodes a toggle disables. Empty for route-only vendors (callable and governed; the panel hides their toggles). + * Why can_manage_auto_top_up is false. Present only when that capability is false; absent means no recognized explanation, never permission. This does not authorize the action or explain a sibling capability. First reached wins in the order below; mutually exclusive lifecycle statuses do not compete. + * - not_a_member: The actor is not a workspace member. + * - not_workspace_owner: The actor does not have the workspace owner role. + * */ - node_categories: Array + can_manage_auto_top_up?: 'not_a_member' | 'not_workspace_owner' /** - * Permanent policy identifier (e.g. "kling", "openai"). Not client-derivable (merged vendors such as OpenAI+Sora). + * Why can_manage_billing is false. Present only when that capability is false; absent means no recognized explanation, never permission. This does not authorize the action or explain a sibling capability. First reached wins in the order below; mutually exclusive lifecycle statuses do not compete. + * - not_a_member: The actor is not a workspace member. + * - not_workspace_owner: The actor does not have the workspace owner role. + * - creator_only_provisioning: Only the creator can provision this workspace billing identity. + * */ - provider_id: string -} - -/** - * Response returned after successfully queuing a workflow prompt. - */ -export type PromptResponse = { + can_manage_billing?: + | 'not_a_member' + | 'not_workspace_owner' + | 'creator_only_provisioning' /** - * Any errors in the nodes of the prompt + * Why can_manage_members is false. Present only when that capability is false; absent means no recognized explanation, never permission. This does not authorize the action or explain a sibling capability. First reached wins in the order below; mutually exclusive lifecycle statuses do not compete. + * - not_a_member: The actor is not a workspace member. + * - not_workspace_owner: The actor does not have the workspace owner role. + * */ - node_errors?: { - [key: string]: unknown - } + can_manage_members?: 'not_a_member' | 'not_workspace_owner' /** - * Priority number in the queue + * Why can_manage_partner_node_access is false. Permission refusals precede unavailable feature or entitlement facts; first reached wins in enum order. A present key implies refusal. Missing means unknown, including a disabled team-workspaces feature or an unavailable membership read, never permission. This explains only this capability and does not authorize a mutation. */ - number?: number + can_manage_partner_node_access?: + | 'not_a_member' + | 'not_workspace_owner' + | 'partner_governance_not_entitled' /** - * Unique identifier for the prompt execution + * Why can_manage_subscription is false. Present only when that capability is false; absent means no recognized explanation, never permission. This does not authorize the action or explain a sibling capability. First reached wins in the order below; mutually exclusive lifecycle statuses do not compete. + * - not_a_member: The actor is not a workspace member. + * - not_workspace_owner: The actor does not have the workspace owner role. + * */ - prompt_id?: string -} - -/** - * Request body for submitting a ComfyUI workflow prompt for execution. - */ -export type PromptRequest = { + can_manage_subscription?: 'not_a_member' | 'not_workspace_owner' /** - * Extra data to be associated with the prompt + * Why can_open_plans is false, present only for a refused capability. Missing means no recognized explanation, never permission. It is the can_subscribe_self_serve reason with the creator rule always applied and a scheduled plan change set aside: a non-creator owner gets not_original_owner in every rollout mode, and subscription_change_in_progress never appears here. + * - not_a_member: The actor is not a workspace member. + * - not_workspace_owner: The actor does not hold the workspace owner role. + * - not_original_owner: Plan changes require the workspace creator. + * - creator_only_provisioning: Only the creator can provision this billing identity. + * - tier_not_self_serve: The current tier is sales-managed or unrecognized. + * - subscription_not_started: The existing subscription has not started. + * - subscription_status_unrecognized: The existing subscription status is unrecognized. + * */ - extra_data?: { - [key: string]: unknown - } + can_open_plans?: + | 'not_a_member' + | 'not_workspace_owner' + | 'not_original_owner' + | 'creator_only_provisioning' + | 'tier_not_self_serve' + | 'subscription_not_started' + | 'subscription_status_unrecognized' /** - * If true, adds the prompt to the front of the queue + * Present only when can_reactivate is false. The value names the resolver + * branch that decided, not customer wording. Values are listed in the order the + * resolver reaches them; the first one reached wins. cancellation_not_scheduled, + * subscription_ended, subscription_not_started and + * subscription_status_unrecognized belong to different subscription statuses and + * are alternatives that never compete. Absent while the capability is false + * means no recognised explanation, not a grant. + * - not_a_member: the caller is not a member of the workspace. Unreachable + * over HTTP: a non-member is answered 403 before capabilities resolve. + * - not_workspace_owner: the caller is a member whose role is not owner. Not + * the same as not_a_member. + * - not_original_owner: the caller is an owner but not the workspace's creator; + * only the creator may start, change, cancel or reactivate the plan. Reached + * after not_workspace_owner. Reported only when the rollout mode is not + * `owner`. Not not_workspace_owner (role) and not creator_only_provisioning + * (provisioning a personal workspace's billing identity). + * - no_subscription: there is no subscription row, so there is nothing to + * reactivate. Unlike can_cancel, reported even where the absence is only + * unknown, because reactivation needs a subscription id that does not exist + * without a row. + * - tier_not_self_serve: the subscription's tier is sales-managed or + * unrecognised, so its lifecycle is not customer-driven. + * - billing_operation_in_progress: an initial subscription, plan change, + * cancel, resubscribe, seat change, revert or retention offer is running, + * either a pending workflow or the retention-offer gate between the Stripe + * write and its confirmation. It settles on its own, so a client may tell the + * user to wait, and reactivate is refused until it does. Not + * subscription_change_in_progress, where a successor plan is scheduled. Not + * evaluated for a reserved subscription, which reports + * subscription_not_started. Reached before cancellation_not_scheduled. + * - billing_operation_parked: such an operation is parked for reconciliation, + * either paid but credits not granted or a replacement subscription that + * could not finish superseding the old one. It does not clear on its own, so + * a client must route the user to support and never imply a wait. Reported + * instead of billing_operation_in_progress when both kinds exist, and reached + * at the same point, before cancellation_not_scheduled. + * - cancellation_not_scheduled: the subscription is running with no + * cancellation scheduled, so there is nothing to undo. The opposite of + * cancellation_scheduled on can_cancel. A FREE plan reports this too, since + * free_plan is a reason for can_cancel only. + * - subscription_ended: the subscription has stopped for good: ended, or + * canceled with no cancellation date. A plan that has ended is not recovered + * by reactivating; can_subscribe_self_serve is the way back. + * - subscription_not_started: a subscription row is reserved but not running. + * Not no_subscription (no row at all) and not subscription_ended. + * - subscription_status_unrecognized: the subscription status is one the + * resolver has no guidance for. The server is undetermined, which is not a + * deliberate refusal. + * */ - front?: boolean + can_reactivate?: + | 'not_a_member' + | 'not_workspace_owner' + | 'not_original_owner' + | 'no_subscription' + | 'tier_not_self_serve' + | 'billing_operation_in_progress' + | 'billing_operation_parked' + | 'cancellation_not_scheduled' + | 'subscription_ended' + | 'subscription_not_started' + | 'subscription_status_unrecognized' /** - * Priority number for the queue (lower numbers have higher priority) + * Why can_revert_scheduled_change is false. Present only when that capability is false; absent means no recognized explanation, never permission. This does not authorize the action or explain a sibling capability. First reached wins in the order below; mutually exclusive lifecycle statuses do not compete. + * - not_a_member: The actor is not a workspace member. + * - not_workspace_owner: The actor does not have the workspace owner role. + * - not_original_owner: The action requires the workspace creator. + * - tier_not_self_serve: The existing plan is sales-managed or unrecognized. + * - subscription_ended: The subscription has ended. + * - subscription_not_started: The subscription has not started. + * - subscription_status_unrecognized: The subscription status is unrecognized. + * - no_revertible_scheduled_change: No scheduled change is currently revertible; it may be absent or past its revert window. + * */ - number?: number + can_revert_scheduled_change?: + | 'not_a_member' + | 'not_workspace_owner' + | 'not_original_owner' + | 'tier_not_self_serve' + | 'subscription_ended' + | 'subscription_not_started' + | 'subscription_status_unrecognized' + | 'no_revertible_scheduled_change' /** - * List of node names to execute + * Why can_run_workflows is false, present only for a refused capability. Missing means no recognized explanation, never permission. Values describe the existing deciding policy branches, not authorization or sibling capabilities. Workflow rules short-circuit in policy order. + * - manual_block: The workspace is manually blocked. + * - subscription_inactive: Cloud workflow billing admission requires an active or eligible Free subscription. + * - payment_past_due: Subscription inactivity blocks workflow billing admission and a bound live subscription has a recoverable payment failure. Visible to workspace members; does not grant payment management. + * - no_funds: The applicable balance is exhausted and allowance does not bypass it. + * - workspace_cap_exceeded: The workspace spend cap is exceeded. + * - project_cap_exceeded: The applicable project spend cap is exceeded. + * - user_cap_exceeded: The actor spend cap is exceeded. + * - free_tier_exhausted: The acting user has used their available free job allowance. + * */ - partial_execution_targets?: Array + can_run_workflows?: + | 'manual_block' + | 'subscription_inactive' + | 'payment_past_due' + | 'no_funds' + | 'workspace_cap_exceeded' + | 'project_cap_exceeded' + | 'user_cap_exceeded' + | 'free_tier_exhausted' /** - * The workflow graph to execute - */ - prompt: { - [key: string]: unknown - } + * Present only when can_subscribe_self_serve is false. The value names the + * resolver branch that decided, not customer wording. Values are listed in the + * order the resolver reaches them; the first one reached wins. + * subscription_not_started and subscription_status_unrecognized are + * alternatives for different subscription statuses and never compete. Absent + * while the capability is false means no recognised explanation, not a grant. + * - not_a_member: the caller is not a member of the workspace. Unreachable + * over HTTP: a non-member is answered 403 before capabilities resolve. + * - not_workspace_owner: the caller is a member whose role is not owner. Not + * the same as not_a_member. + * - not_original_owner: the caller is an owner but not the workspace's creator; + * only the creator may start, change, cancel or reactivate the plan. Reached + * after not_workspace_owner. Reported only when the rollout mode is not + * `owner`. Not not_workspace_owner (role) and not creator_only_provisioning + * (provisioning a personal workspace's billing identity). + * - creator_only_provisioning: the caller is an owner but not the creator of a + * personal workspace whose billing identity (Stripe customer, Metronome + * customer or Metronome contract) is not provisioned yet. Subscribing + * provisions it first, and only the creator may. The same reason appears on + * can_top_up. When the rollout mode is not `owner`, such an owner is told + * not_original_owner first, so this reason is reached only in mode `owner`. + * - tier_not_self_serve: the subscription's tier is sales-managed or + * unrecognised, so its lifecycle is not customer-driven. + * - subscription_change_in_progress: the current subscription already has a + * successor plan scheduled for a future billing boundary. Reached before + * subscription_not_started and subscription_status_unrecognized. Not + * billing_operation_in_progress, which names an operation that is running or + * parked and is a reason for can_cancel and can_reactivate only. + * - subscription_not_started: a subscription row is reserved but not running + * and no live checkout can safely be resumed for it. Not no_subscription (no + * row at all) and not subscription_ended (a plan that ran and stopped). + * - subscription_status_unrecognized: the subscription status is one the + * resolver has no guidance for. The server is undetermined, which is not a + * deliberate refusal. + * + */ + can_subscribe_self_serve?: + | 'not_a_member' + | 'not_workspace_owner' + | 'not_original_owner' + | 'creator_only_provisioning' + | 'tier_not_self_serve' + | 'subscription_change_in_progress' + | 'subscription_not_started' + | 'subscription_status_unrecognized' /** - * UUID identifying the cloud workflow entity to associate with this job + * Present only when can_top_up is false. Current reach order: membership, + * owner role, initial personal provisioning, past-due billing, unknown + * existing tier or status, then the staff top-up pause + * (topup_purchases_paused, which lifts without customer action). + * tier_not_self_serve here means an unknown tier; + * recognised Enterprise and Free qualify. Known absence and ended terms + * do not refuse purchases. Legacy free_plan, no_subscription and + * subscription_ended remain accepted from older servers during rollout; + * the current resolver does not emit these three values. + * */ - workflow_id?: string + can_top_up?: + | 'not_a_member' + | 'not_workspace_owner' + | 'creator_only_provisioning' + | 'payment_past_due' + | 'tier_not_self_serve' + | 'subscription_status_unrecognized' + | 'topup_purchases_paused' + | 'free_plan' + | 'no_subscription' + | 'subscription_ended' /** - * UUID identifying the workflow version to associate with this job + * Why can_upgrade is false, present only for a refused capability. Missing means no recognized explanation, never permission. Values describe the existing deciding policy branches, not authorization or sibling capabilities. Upgrade permission and current-state refusals precede catalog choice evaluation. + * - not_a_member: The actor is not a workspace member. + * - not_workspace_owner: The actor does not hold the workspace owner role. + * - not_original_owner: Plan changes require the workspace creator. + * - creator_only_provisioning: Only the creator can provision this billing identity. + * - tier_not_self_serve: The current tier is sales-managed or unrecognized. + * - subscription_change_in_progress: A successor plan change is already scheduled. + * - subscription_not_started: The existing subscription has not started. + * - subscription_status_unrecognized: The existing subscription status is unrecognized. + * - billing_state_unknown: The current plan is not authoritative or its binding cannot be classified. + * - no_subscription: No current plan exists; subscribe is a separate action. + * - subscription_ended: The prior subscription has ended; resubscribe is a separate action. + * - payment_past_due: An outstanding payment must be recovered before changing plans. + * - billing_operation_parked: A subscription operation requires reconciliation. + * - billing_operation_in_progress: A subscription operation is still processing. + * - sales_managed: This plan is managed through sales. + * - no_upgrade_available: No active catalog choice is a valid upgrade for the actor, interval, credit stop and seat occupancy. + * */ - workflow_version_id?: string + can_upgrade?: + | 'not_a_member' + | 'not_workspace_owner' + | 'not_original_owner' + | 'creator_only_provisioning' + | 'tier_not_self_serve' + | 'subscription_change_in_progress' + | 'subscription_not_started' + | 'subscription_status_unrecognized' + | 'billing_state_unknown' + | 'no_subscription' + | 'subscription_ended' + | 'payment_past_due' + | 'billing_operation_parked' + | 'billing_operation_in_progress' + | 'sales_managed' + | 'no_upgrade_available' + /** + * Why can_view_own_usage is false, in enum order. Attribution disabled emits usage_attribution_unavailable. Missing means no recognized explanation, including disabled team-workspaces or unreadable membership, never permission. This does not explain can_view_team_usage. + */ + can_view_own_usage?: 'not_a_member' | 'usage_attribution_unavailable' + /** + * Why can_view_pending_invites is false. Permission refusals precede unavailable feature or entitlement facts; first reached wins in enum order. A present key implies refusal. Missing means unknown, including a disabled team-workspaces feature or an unavailable membership read, never permission. This explains only this capability and does not authorize a mutation. + */ + can_view_pending_invites?: 'not_a_member' | 'not_workspace_owner' + /** + * Why can_view_team_usage is false. Disabled usage attribution emits usage_attribution_unavailable. Permission refusals precede unavailable feature or entitlement facts; first reached wins in enum order. A present key implies refusal. Missing means unknown, including a disabled team-workspaces feature or an unavailable membership read, never permission. This explains only this capability and does not authorize a mutation. + */ + can_view_team_usage?: + | 'not_a_member' + | 'not_workspace_owner' + | 'usage_attribution_unavailable' } /** - * Metadata about the currently running and queued prompts. + * Identifies capability values currently using safe rollout defaults + * instead of deterministic policy results. A true value is UI guidance, + * not evidence that the corresponding write will succeed. + * */ -export type PromptInfo = { - exec_info?: { - /** - * Number of items remaining in the queue - */ - queue_remaining?: number - } +export type BillingCapabilityRolloutDefaults = { + can_downgrade_to_personal: boolean + can_subscribe_self_serve: boolean + can_top_up: boolean +} + +export type BillingCapabilityScope = { + user_id: string + workspace_id: string } /** - * Error response for ComfyUI prompt execution. + * Company billing details on file for the workspace's Stripe customer. + * A field is absent until the workspace sets it via PATCH + * /api/billing/company-details. + * */ -export type PromptErrorResponse = { - [key: string]: unknown +export type BillingCompanyDetailsResponse = { + address?: BillingAddress + company_name?: string + tax_id?: BillingTaxId } /** - * Identity of the workspace-bound terminal subscription, not a checkout target or permission to resubscribe. Historical identity is independent of current plan availability and pricing. + * Fields to set on the workspace's Stripe customer. Every group is + * optional; omit a group to leave that part of the customer unchanged. + * */ -export type PreviousPlan = { - /** - * Exact recorded plan identifier; never inferred from tier. - */ - plan_slug: string +export type BillingCompanyDetailsUpdateRequest = { + address?: BillingAddress /** - * Recorded Team commitment-stop choice, when known. No price is inferred. + * Legal or trading name to show on invoices. */ - team_credit_stop_id?: string + company_name?: string + tax_id?: BillingTaxId } /** - * Itemized cost preview for a pending subscription change. + * A single history event. The cloud history-events store is the single source of truth for both billing events (charges, credits, adjustments) and user-facing usage events. */ -export type PreviewSubscribeResponse = { +export type BillingEvent = { /** - * Whether this subscription change is allowed + * That key's name, when the key is known to this workspace (revoked keys included). */ - allowed: boolean - amount_due_cents?: number + api_key_name?: string /** - * Credit from the customer's existing account balance applied to - * today's charge (the invoice's starting balance, capped at the - * total). Present only on Stripe-rated quotes that invoice today in - * embedded checkout, when a credit balance is applied; otherwise - * absent. Display only: amount_due_cents already reflects it - * (an absent amount_due_cents means 0). - * + * The API key the charge came through, from the event's `spend_source`; absent for a signed-in session or a deployment. */ - balance_applied_cents?: number + api_key_prefix?: string /** - * Amount that will be charged at next billing period in cents + * True when that key, known to this workspace, has been revoked. Absent when the key is unknown. */ - cost_next_period_cents: number + api_key_revoked?: boolean /** - * Amount to charge today in cents (0 for downgrades) + * When the event occurred */ - cost_today_cents: number + createdAt: string /** - * Credits granted at the next billing period, as a whole credit count, - * resolved the same way as credits_today. Absent when the quote was not - * priced against Stripe. - * + * The Serverless deployment the charge came through, from the event's `deployment_id`; absent for a session or an API key. */ - credits_next_period?: number + deployment_id?: string /** - * Credits that will be granted at next billing period in cents + * That deployment's name, when the caller is a signed-in session comfy-deploy can name it for; absent on an API-key read or when comfy-deploy could not be reached. */ - credits_next_period_cents: number + deployment_name?: string /** - * Credits granted today, as a whole credit count. Resolved from the - * Stripe price metadata by the same rule the invoice grant uses, so it - * equals credits_added on the succeeded operation. Display this rather - * than converting credits_today_cents, which rounds. Absent when the - * quote was not priced against Stripe. - * + * Unique event identifier */ - credits_today?: number + event_id: string /** - * Credits granted today in cents (prorated for mid-period upgrades) + * Type of history event. Billing types (e.g. invoice_paid, checkout_completed, topup_completed) and the migrated user-facing usage types (account_created, credit_added, api_usage_completed, cloud_subscription_created, cloud_subscription_paid, cloud_subscription_credit_added, cloud_workflow_executed, free_tier_credit_granted). Kept as a free-form string for back-compat with existing billing-event consumers. */ - credits_today_cents: number - currency?: string - current_plan?: PreviewPlanInfo - discounts?: Array + event_type: string /** - * When the change takes effect + * That member's name, or their email when they have no name set. */ - effective_at: string + member_display_name?: string /** - * Whether the change takes effect immediately (true) or at period end (false) + * That member's email, so two members with one name can be told apart. */ - is_immediate: boolean - new_plan: PreviewPlanInfo + member_email?: string /** - * The Stripe payment method configuration governing which payment - * methods a checkout offers for this environment. Mount Stripe - * Elements with `paymentMethodConfiguration` set to this id instead - * of hardcoding payment method types. Present on every successful - * preview whenever the environment has one configured, independent - * of embedded_checked_enabled; absent when it is not configured. - * + * True when that person is no longer a member of this workspace. */ - payment_method_configuration_id?: string + member_former?: boolean /** - * Normalized promotion code accepted by Stripe. + * The member the charge counts toward, from the event's `user_id`; absent when the event names none. */ - promotion_code?: string + member_user_id?: string /** - * The instant cost_today_cents was priced at (Stripe-native transitions - * only; absent for other billing rails). Echo this back as proration_at - * on POST /billing/subscribe to have the subscribe charge exactly this - * previewed amount instead of re-pricing at whatever later instant the - * subscribe request happens to arrive. - * + * Event-specific parameters */ - proration_at?: string - /** - * Stripe's prorated charge for the rest of the current period on the - * new plan, before discounts. In embedded checkout, present on an - * immediate plan change that Stripe prorates, when every discount on - * today's invoice is itemized in discounts or none applies; absent on - * the monthly-to-yearly reset, scheduled changes and a first - * subscription. - * When present, proration_remaining_cents minus proration_unused_cents - * is the invoice's proration before discounts; other invoice lines are - * not itemized. - * - */ - proration_remaining_cents?: number - /** - * Stripe's credit for unused time on the old plan, as a positive - * amount to subtract. Present exactly when proration_remaining_cents - * is. - * - */ - proration_unused_cents?: number + params?: { + [key: string]: unknown + } /** - * Opaque short-lived quote identifier to echo on Subscribe. + * True for a charge made at or after the instant this environment began attributing every charge (`attribution_since`) that names no member: the system tried and could not say who it was. A charge names a member by any identity the `scope` filter matches it on. Absent on money and lifecycle events, on charges that name a member, on deployment charges (attributed to their deployment), on charges made before attribution began (by the charge's own time where recorded, else when it was written), where no start is configured, and on the admin history feed. */ - quote_id?: string + unattributed?: boolean +} + +/** + * Paginated list of billing events for a workspace. + */ +export type BillingEventsResponse = { /** - * Quote contract version to echo on Subscribe. + * When this environment began attributing every charge, the same instant as `attribution_since` on the usage time series. Charges from before it may still name their member and source (many carried them long before); the start is only the instant from which a charge naming no member is known to be unattributed, which each such event states itself with `unattributed`. Absent where no such start is configured, and on the admin history feed. */ - quote_version?: number + attribution_since?: string + events: Array /** - * Reason why the change is not allowed (only present if allowed=false) + * Items per page */ - reason?: string - renewal_amount_cents?: number + limit: number /** - * The next recurring charge and target-plan period end. Current servers - * always return this later than effective_at and following the target - * plan's billing interval. Optional in the schema for older clients. - * + * Current page number (1-indexed) */ - renewal_at?: string + page: number /** - * Whether this previewed change requires explicit reactivation - * consent. Computed from the persisted subscription and a short-lived - * cache of Stripe lifecycle state. The subscribe enforcement path - * performs its own uncached Stripe lifecycle read. - * + * Total number of events */ - requires_reactivation_confirmation?: boolean + total: number /** - * Stripe's subtotal for today's invoice: before invoice-level - * discounts and any customer credit balance, and before tax only for - * tax-exclusive prices. On an immediate plan change it is net of the - * unused-time credit, so it can be zero or negative. Present only on - * Stripe-rated quotes that invoice today and itemize every applied - * discount in discounts. The charge is always - * cost_today_cents / amount_due_cents. - * + * Total number of pages */ - subtotal_cents?: number + totalPages: number +} + +export type BillingOpCancelResponse = { + billing_op_id: string /** - * Type of subscription transition + * canceled: the operation was dropped and nothing was charged. cancel_requested: the cancel was delivered but has not settled yet. */ - transition_type: - | 'new_subscription' - | 'upgrade' - | 'downgrade' - | 'duration_change' + status: 'canceled' | 'cancel_requested' } /** - * Summary of seat costs based on current workspace members + * Display only. Why a succeeded subscription operation charged other + * than its plan rate, read from the operation's paid Stripe invoice. + * Present only when that invoice collected more than zero and a + * promotion, the account balance or proration moved the charge off the + * plan rate; absent means no rows. Plan coupons (the annual or team + * commitment rate) are part of the rate and are never a reason. Never + * present for top-ups. Returned only to workspace billing managers, + * like amount_charged_cents. + * */ -export type PlanSeatSummary = { +export type BillingOpChargeBreakdown = { /** - * Total number of seats (owner + members) that would be charged + * What the invoice collected, tax included. */ - seat_count: number + amount_charged_cents: number + currency: string /** - * Total cost for all seats in cents + * The invoice billed the new plan for the rest of the current + * period. A prorated charge is named, never itemized, so reasons is + * empty exactly when this is true. + * */ - total_cost_cents: number + prorated: boolean /** - * Total credits granted for all seats in cents + * One row per deduction from today's charge, in display order: + * promotions in the invoice's order, then the account balance. + * */ - total_credits_cents: number + reasons: Array } /** - * Plan information for preview display + * One deduction from today's charge. discount is the promotion in the + * quote's discount shape (kind promotion, without amount_off_cents; the + * amount is amount_cents), present exactly for promo_code and + * subscription_discount. Its duration_in_months is set only for + * promo_code: a carried promotion's remaining term is not the coupon's. + * */ -export type PreviewPlanInfo = { +export type BillingOpChargeReason = { /** - * Per-seat credits in cents + * What this reason removed from today's charge, as a positive amount. */ - credits_cents: number - duration: SubscriptionDuration + amount_cents: number + discount?: SubscriptionDiscount /** - * The plan's price for one billing period before invoice-level - * discounts, as rated by Stripe: the compare-at price a checkout - * strikes through beside price_cents. Present only on new_plan of - * Stripe-rated quotes that itemize every applied discount in - * discounts, and only when it is above price_cents, so a client - * shows the strikethrough exactly when this field is present. - * Same basis as price_cents: the whole subscription for one - * billing period. No plan on sale is priced by seat (personal plans - * are one seat; Team is priced by its credit stop), so the seat - * count changes neither. + * promo_code is the promotion code entered for this operation; + * subscription_discount is a promotion the subscription already + * carried; account_balance is existing customer credit applied. * */ - list_price_cents?: number + kind: 'promo_code' | 'subscription_discount' | 'account_balance' +} + +/** + * Display only. The plan the operation targets; for a scheduled change, + * the plan it switches to at period end. Present for plan changes, + * initial subscriptions and resubscribes in every status (pending, + * failed and succeeded alike), so a recovered pending operation can be + * labelled with its own plan. Absent when the target plan could not be + * resolved. Visible to any workspace member who can read the operation. + * tier and the price fields are absent when the server cannot describe + * the plan, as for the retired seat-based Team plans, whose rows carry a + * personal tier and whose price depends on the workspace's seats. + * + */ +export type BillingOpReceiptPlan = { /** - * list_price_cents divided by 12 and rounded half up to the nearest - * cent, for showing a yearly plan's pre-discount per-month price. - * Display only, like monthly_price_cents. Present exactly when - * list_price_cents is present on an ANNUAL new_plan, so a client - * strikes it through beside monthly_price_cents whenever it is - * present. + * ISO 4217 currency of price_cents, lowercase (e.g. usd). Present + * exactly when price_cents is present. * */ - monthly_list_price_cents?: number + currency?: string + duration: SubscriptionDuration /** * price_cents divided by 12 and rounded half up to the nearest cent, - * for showing a yearly plan as a per-month price. Display only: the - * yearly charge is still price_cents, and 12 times this value can - * differ from it by up to 6 cents. Present only on new_plan, and only - * when duration is ANNUAL. + * as on the subscribe preview's new_plan. Display only. Present + * exactly when price_cents is present on an ANNUAL plan. * */ monthly_price_cents?: number /** - * Current billing period end (only for current_plan) - */ - period_end?: string - /** - * Current billing period start (only for current_plan) - */ - period_start?: string - /** - * Per-seat price in cents + * The plan's recurring price for one billing period, at + * team_credit_stop_id for a per-credit Team plan: a whole year for + * ANNUAL. The same figure as new_plan.price_cents on the subscribe + * preview, before tax, promotions, account balance and proration, + * so it is not what the operation charged; amount_charged_cents is. + * Present together with currency, and absent when the plan could + * not be priced, including the retired seat-based Team plans. + * */ - price_cents: number - seat_summary: PlanSeatSummary + price_cents?: number + slug: string /** - * Plan slug + * The per-credit Team credit stop the operation targets (e.g. + * team_200). Absent for personal plans and for Team plans without a + * credit stop. + * */ - slug: string - tier: SubscriptionTier + team_credit_stop_id?: string + tier?: SubscriptionTier } /** - * Request body for previewing the cost of a plan subscription change. + * Status of an asynchronous billing operation. */ -export type PreviewSubscribeRequest = { +export type BillingOpStatusResponse = { /** - * Client-minted identifier for one checkout attempt, generated when - * the customer starts checkout and sent on every request and - * analytics event of that attempt. Purely for observability: it is - * what joins the frontend funnel (which emits events before any - * billing op exists) to the backend outcome. Expected to match - * ^[A-Za-z0-9_-]{1,64}$; a present value that does not is ignored, - * never rejected, so the constraint is intentionally not declared - * here as pattern/maxLength -- either would make a conforming - * client or request validator reject the request before ingest - * ever applies that "ignored, not rejected" behavior. + * Present while status is "pending" and the operation cannot proceed + * without the customer. Today this is a Stripe-hosted payment page for + * a subscription whose first invoice needs authentication (SCA/3DS); + * send the customer there to complete payment. This bearer capability is + * returned only to workspace billing managers. Absent otherwise. * */ - checkout_attempt_id?: string - /** - * Target plan slug to preview subscribing to - */ - plan_slug: string + action_url?: string /** - * Optional Stripe promotion code to validate and include in the exact quote. + * Display only. What the operation's Stripe invoice collected, in + * cents, tax included. Present only for a succeeded operation billed + * through a Stripe invoice, and absent whenever that amount could not + * be read. Top-ups paid on a hosted checkout page or through + * Metronome get neither this nor credits_added. Returned only to + * workspace billing managers, like the other payment details. + * */ - promotion_code?: string + amount_charged_cents?: number /** - * Selected per-credit Team plan stop to preview. + * Original server-owned deadline for this top-up's authentication wait. + * Present only while a pending top-up requires customer authentication + * and the caller may read its payment details. Historical or unknown + * deadlines, terminal and reconciliation states omit it. The server also + * omits expired deadlines using its own clock. Absence is not a payment + * outcome. Polling and + * retries never extend the deadline. At expiry the server begins its + * existing payment cleanup; this is not proof that a payment failed. + * */ - team_credit_stop_id?: string -} - -export type PlanFeatureItem = { + authentication_deadline?: string /** - * Stable semantic display identifier; additions appear in generated client types. + * State derived from the PaymentIntent attached to this operation's + * exact stored Stripe invoice. Absent when the operation has no + * correlated PaymentIntent. + * */ - key: - | 'shortRuntime' - | 'longRuntime' - | 'addCredits' - | 'importModels' - | 'sharedCreditPool' - | 'membersUpTo' - | 'perMemberCreditLimits' - | 'memberSpendAuditing' - | 'sharedWorkflowsAssets' - | 'projects' + authentication_state?: + | 'requires_action' + | 'processing' + | 'failed_retryable' + | 'succeeded' + | 'reconciliation_needed' /** - * Named raw interpolation values only, never preformatted copy. + * true exactly when POST /api/billing/ops/{id}/cancel would deliver + * the abandon for this caller: a pending plan change or initial + * subscription whose workflow is waiting on the customer's + * authentication. An already-canceled operation is false even though + * the cancel call still answers 200 for it. Decided by the same + * check the cancel endpoint runs, so clients must not derive it from + * status, phase or authentication_state. false for terminal + * operations, other operation types and callers who may not cancel. + * Absent when it could not be determined; absent means no claim. + * */ - params?: { - /** - * Resolved Team member limit for membersUpTo; use locale plural rules. - */ - count: number - } + cancelable?: boolean + charge_breakdown?: BillingOpChargeBreakdown /** - * Coming-soon items are display promises, not currently available entitlements. + * Owner-only subscription-checkout banner fact for initial subscriptions and plan transitions. unfinished means awaiting a payment method for a known target plan; verify_payment has a usable payment action; processing means the bank is processing the payment; payment_received means payment succeeded while the operation remains pending; failed is a terminal payment refusal, excluding abandoned/superseded checkouts. none is a known non-banner state, including resolved or reconciliation operations. Omitted for members, other operation types, uncertain provider reads and older servers. Omission is unknown, never an implied none. */ - status: 'available' | 'coming_soon' + checkout_state?: + | 'unfinished' + | 'verify_payment' + | 'processing' + | 'payment_received' + | 'failed' + | 'none' /** - * English fallback for this display item; available items also appear in features. + * When the operation completed (success or failure) */ - text: string -} - -/** - * Why a plan is unavailable. Present exactly when available is false and - * absent when it is true. Only the first reason that applies is reported, - * in the order below. Render the value as received; do not recompute it. - * same_plan: (a) Why can this plan not be picked? (b) It is the plan the workspace is already on. (c) Absent means the plan is not the current one. (d) Not a refusal of a different plan; see incompatible_transition. (e) The plan slug equals the slug of the workspace's active subscription. - * incompatible_transition: (a) Why is this plan closed for the workspace's current plan? (b) The transition rules never allow it: the Free plan, which is provisioned only through free-tier eligibility, or a switch into the Founders plan. (c) Absent means no such rule applies. (d) Not a temporary state, and not billing_operation_in_progress, billing_operation_parked or annual_to_monthly_unsupported. (e) The target is the Free plan, or the transition matrix refuses the pair for a reason other than annual_to_monthly_unsupported. - * billing_operation_in_progress: (a) Why can no other plan be picked for now? (b) A subscription-changing billing operation is running for the workspace's active subscription. It settles on its own, so a client may say that plans will be available again shortly. (c) Absent means no such operation is running. (d) Not billing_operation_parked, which does not clear on its own, not a successor already scheduled for a future billing boundary, and not a seat problem. (e) The workspace has a non-scheduled active subscription and a subscription-changing billing operation is running and none is parked. - * billing_operation_parked: (a) Why can no other plan be picked until support steps in? (b) A subscription-changing billing operation is parked for reconciliation for the workspace's active subscription: it is either paid but credits not granted, or a replacement subscription that could not finish superseding the old one. It does not clear on its own, so a client must route the user to support and never imply a wait. (c) Absent means no operation is parked. (d) Not billing_operation_in_progress, which settles on its own, not a successor already scheduled for a future billing boundary, and not a seat problem. (e) The workspace has a non-scheduled active subscription and a subscription-changing billing operation is parked; reported instead of billing_operation_in_progress when both exist. - * annual_to_monthly_unsupported: (a) Why can a monthly plan not be chosen from an annual plan? (b) The annual commitment binds, so a move to a higher-tier monthly plan is not supported before the term ends. (c) Absent means the transition is not an annual to higher-tier monthly move. (d) Not a downgrade, which is allowed and scheduled, and not incompatible_transition. (e) The transition matrix refuses the pair with its annual-to-monthly tier upgrade rule. - * exceeds_max_seats: (a) Why is this plan closed to a workspace with many people? (b) The occupied seats exceed the plan's seat limit, counted as the subscribe request counts them: a team plan counts members plus unexpired pending invitations, any other plan counts members alone. (c) Absent means the occupied seats fit the plan. (d) Not a pending-invitation count for non-team plans, where an invitation does not occupy a seat. (e) For a team plan, members + pending invitations is greater than the seat limit; for any other plan, members is greater than the seat limit; a positive workspace override replaces the plan default in both cases. - * requires_team and requires_personal are part of this enum but are not reported today. - */ -export type PlanAvailabilityReason = - | 'same_plan' - | 'incompatible_transition' - | 'billing_operation_in_progress' - | 'billing_operation_parked' - | 'annual_to_monthly_unsupported' - | 'exceeds_max_seats' - | 'requires_team' - | 'requires_personal' - -/** - * Availability and eligibility information for a billing plan. - */ -export type PlanAvailability = { + completed_at?: string /** - * Whether the workspace can switch to this plan right now. False exactly when reason is present. + * Display only. Credits (not cents) actually granted for the + * operation's Stripe invoice — for a plan change, the prorated + * difference. Present only for a succeeded operation whose grant has + * been recorded. Visible to any workspace member who can read the + * operation. + * */ - available: boolean - reason?: PlanAvailabilityReason -} - -/** - * Billing plan details including pricing, limits, and features. - */ -export type Plan = { - action: PlanAction - availability: PlanAvailability + credits_added?: number /** - * Raw credit count (not cents) the plan grants for one billing period, - * read from the catalog grant the subscription actually receives. An - * annual plan carries the whole year's grant. Omitted when the plan - * grants no flat credit amount: per-credit Team plans (see - * team_credit_stops), team-only seat plans, zero-grant plans and plans - * absent from the catalog. + * Coarse classification of why the correlated PaymentIntent's last + * payment attempt failed, derived at read time from the provider's + * machine-readable error and decline codes — never from provider + * message text or payment-method details. Present only when the + * intent has recorded a failed attempt and the operation is either + * still pending with authentication_state failed_retryable or has + * terminally failed. generic means the attempt failed for a reason + * outside this vocabulary. payment_not_completed means Stripe explicitly + * reported customer non-approval or an expired attempt. Generic failed + * attempts and ambiguous provider declines retain their failure meaning. * */ - credits?: number + decline_reason?: + | 'card_declined' + | 'insufficient_funds' + | 'expired_card' + | 'incorrect_cvc' + | 'authentication_required' + | 'authentication_failed' + | 'processing_error' + | 'payment_not_completed' + | 'generic' /** - * Per-member credits in cents (base + one seat) + * PII-safe failure code or generic failure message */ - credits_cents: number - denied_reason?: PlanActionDeniedReason - denied_reason_params?: PlanActionDeniedReasonParams - duration: SubscriptionDuration + error_message?: string /** - * Optional ordered localization companion selected by the server. Only available items appear in the existing features strings; coming-soon items remain separate. Key is a stable semantic identifier, not a client locale path. Clients map known keys to translations and may use text as an English fallback according to their locale policy. Unknown keys never imply entitlements. Omitted for older string-only metadata. Team count uses the resolved max_seats. + * Unique identifier for the billing operation */ - feature_items?: Array + id: string /** - * Optional ordered English feature copy for this offer, for display only. Omitted when metadata is unavailable. Team member count uses max_seats. Does not grant entitlements or change plan actions or availability. + * Stripe PaymentIntent client secret for completing requires_action. + * This bearer capability is returned only to workspace billing managers + * and is absent otherwise. + * */ - features?: Array + payment_intent_client_secret?: string /** - * Maximum number of seats allowed for this plan + * What a pending operation is waiting on, for callers deciding + * whether to keep polling or to put the customer back in the loop. + * The two awaiting_ values are blocked on the customer and will not + * advance on their own: awaiting_payment_method is parked on a hosted + * checkout needing a card, awaiting_invoice_payment on an invoice + * needing payment or authentication. in_progress means the operation + * is ours to finish, so polling is the right response. Deliberately + * coarser than the internal phase — phases that differ only in what + * the workflow is doing all report in_progress. Absent for a terminal + * operation, and for a phase this build does not recognise: absent + * means no claim, never an implied in_progress. + * */ - max_seats: number + phase?: 'awaiting_payment_method' | 'awaiting_invoice_payment' | 'in_progress' + plan?: BillingOpReceiptPlan /** - * Optional display badge for this offer. True recommends a Popular chip; false means no Popular chip. Omitted when metadata is unavailable. False for a matching current or scheduled plan, and for every offer in a known previous plan's tier across billing periods. Unknown previous tier is not inferred. At most one plan per billing period is true, breaking ties by plan slug within each period. Monthly and yearly recommendations can both be true. The server resolves this precedence. Not eligibility. + * Typed next action for a failed operation. Absent for pending and succeeded operations. */ - popular?: boolean + recovery_action?: + | 'retry' + | 'replace_payment_method' + | 'authenticate_payment' + | 'contact_support' /** - * Per-member price in cents (base + one seat) + * Whether the customer can recover by starting a new billing operation after performing recovery_action. */ - price_cents: number - seat_summary: PlanSeatSummary + retryable?: boolean /** - * Plan identifier (e.g., "pro-monthly", "team-standard-annual") + * When the operation was initiated */ - slug: string - tier: SubscriptionTier + started_at: string + /** + * Current status of the operation. reconciliation_needed is terminal + * for client polling but requires support reconciliation. + * + */ + status: 'pending' | 'succeeded' | 'failed' | 'reconciliation_needed' + topup_purchase_amount?: TopUpPurchaseAmount } /** - * Which developer-platform deployment this browser should run on. + * List of available billing plans for subscription. */ -export type PickWorkspaceDeploymentRequest = { +export type BillingPlansResponse = { /** - * Developer-platform deployment id: one of this workspace's, not deleted. The error message names which check failed. + * Current plan slug if subscribed */ - deployment_id: string + current_plan_slug?: string + plans: Array + team_credit_stops?: TeamCreditStops } /** - * Configured credit allowance of the current plan, not remaining balance, an invoice or proof of live provider grants. Amount includes credits and period; none is a proven configured zero. Native-empty or incoherent Enterprise configuration remains unknown, never none. Missing data and unresolved, unsupported, ended or activating plans remain unknown. Unknown or missing means unavailable; clients must not render zero. Does not change eligibility. + * Payment lifecycle status */ -export type PeriodCreditGrant = { - /** - * Configured whole display credits. Present only for amount. - */ - credits?: number - /** - * Grant cadence, which may differ from Enterprise invoice cadence. Present only for amount. - */ - period?: SubscriptionDuration - state: 'amount' | 'none' | 'unknown' -} +export type BillingStatus = + | 'awaiting_payment_method' + | 'pending_payment' + | 'paid' + | 'payment_failed' + | 'paused' + | 'inactive' /** - * An outstanding workspace invitation that has not yet been accepted. + * Current billing and subscription status for a workspace. */ -export type PendingInvite = { +export type BillingStatusResponse = { /** - * Email address of the invited user + * Present when the pending operation cannot proceed without the + * customer. Today this is a Stripe-hosted payment page for an invoice + * needing authentication (SCA/3DS); + * send the customer there to complete payment. Mirrors the field of + * the same name on BillingOpStatusResponse. This bearer capability is + * returned only to workspace billing managers. + * */ - email: string + action_url?: string /** - * When the invite expires + * Durable workspace billing authority. Omitted by older servers and billing-disabled deployments. */ - expires_at: string + billing_rail?: 'legacy_stripe' | 'metronome' | 'stripe' + billing_status?: BillingStatus /** - * Invite ID + * When the subscription will become inactive (if canceled) */ - id: string + cancel_at?: string /** - * When the invite was created + * When the current billing period began. Together with renewal_date it is the range for "current billing period" views; render the pair as received rather than deriving one from the other. Present exactly when renewal_date is: omitted for a canceled plan, a never-subscribed workspace and a free plan with no subscription. */ - invited_at: string + current_period_start?: string /** - * Invite token for constructing invite links. Empty for expired invites. + * Actual recorded subscription end, only when subscription_state is ended. Null when unknown or not ended; never inferred from cancel_at, period end or update time. */ - token?: string -} - -/** - * Response containing a redirect URL to the payment portal. - */ -export type PaymentPortalResponse = { + ended_at: string | null /** - * Stripe Billing Portal URL + * Present when subscription_state is ended but no actual end timestamp was recorded. Render an undated ended state; do not infer a date. */ - url: string -} - -/** - * Request body for generating a payment portal session URL. - */ -export type PaymentPortalRequest = { - /** - * Omitted or empty opens the generic Billing and invoices portal. - * payment_method_update opens Stripe's dedicated add-payment-method flow; - * completing it sets only customer.invoice_settings.default_payment_method. - * It does not update subscription-specific defaults or guarantee renewal recovery. - * Completion uses Stripe's hosted confirmation page. - * - */ - flow_type?: '' | 'payment_method_update' - /** - * URL to redirect after the user exits the portal - */ - return_url?: string -} - -/** - * RFC 6749 §5.1 successful token response. - */ -export type OAuthTokenResponse = { + ended_at_unavailable_reason?: 'not_recorded' /** - * Resource-bound Cloud JWT (audience matches the protected resource). + * Whether the workspace has available credits */ - access_token: string + has_funds: boolean /** - * Access token lifetime in seconds. + * Whether the workspace has an active subscription */ - expires_in: number + is_active: boolean /** - * Opaque refresh token. Rotates on every successful refresh; presenting an already-rotated token revokes the entire family. + * Owner-only ID of the workspace's newest initial subscription or plan transition, in any status, ordered by creation time then ID. A newer attempt supersedes an older one regardless of completion time. Poll /api/billing/ops/{id} for its checkout state. Independent of pending top-up discovery. Omitted for non-owners, no matching attempt, disabled billing, unavailable reads and older servers; omission is unknown and must not be interpreted as successful checkout or acknowledgment. */ - refresh_token: string + latest_subscription_op_id?: string /** - * Space-delimited scopes granted with this token. + * Effective active workspace seat limit after applying any workspace override. 0 means unlimited (billing-disabled/no-op). */ - scope: string - token_type: 'Bearer' -} - -/** - * RFC 6749 §5.2 error response. - */ -export type OAuthTokenError = { + max_seats: number /** - * RFC 6749 §5.2 error code: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope. + * The next charge to the card on file, from Stripe's invoice preview, recorded when the subscription changes and refreshed at least daily. Always present; null when nothing is due or it is unknown: no active subscription, a pending cancellation, paused collection, an Enterprise or sales-invoiced plan, a zero invoice, a preview not yet recorded, or a recorded date that has passed. Also null on the legacy_stripe billing rail and for callers who are not workspace billing managers. Never a catalog price; hide the line on null rather than estimate. */ - error: string + next_charge: NextCharge | null /** - * Human-readable, no leak of internal storage state. + * Eligible next scheduled credit refill for both the Credits card and out-of-credits banner. Uses the actual positive credit-grant cadence, not an Enterprise invoice anniversary. Present only for a known future refill before cancellation/end; annual grants must be within 31 elapsed days inclusive, evaluated on the server. Omitted when unavailable, ineligible or no future grant is known; omission never means zero. Display only, not a payment guarantee, balance or spending permission. */ - error_description?: string -} - -/** - * RFC 7591 §3.2.1 successful registration response. - */ -export type OAuthRegisterResponse = { - application_type: 'native' | 'web' + next_credit_refill_at?: string /** - * Server-generated client_id. Always carries the `comfy-dyn-` prefix. + * Current workspace members plus non-expired pending invites, used against max_seats. 0 when billing is disabled. */ - client_id: string + occupied_seats: number /** - * Unix timestamp (seconds) when the client was registered. + * Present when a pending operation supports embedded Stripe + * authentication. It may be returned alongside a hosted payment page + * when both recovery methods are available. This bearer + * capability is returned only to workspace billing managers. Pass + * directly to Stripe.js; do not log or + * persist it in client storage. + * */ - client_id_issued_at: number - client_name?: string - grant_types: Array - redirect_uris: Array - response_types: Array - token_endpoint_auth_method: 'none' -} - -/** - * RFC 7591 §2 client metadata document. Fields fall into three groups: the ones the server honors, the purely informational ones it accepts and ignores (`scope` plus the client-profile fields `client_uri`, `logo_uri`, `tos_uri`, `policy_uri`, `contacts`, `software_id`, `software_version` — parsed, never persisted, never echoed, per RFC 7591 §2's "MAY ignore" allowance), and the ones it rejects with `invalid_client_metadata` (`resource_grants`, because scopes/grants are server-owned for dynamic clients; `jwks`/`jwks_uri`, because they only apply to the JWT client-authentication methods DCR does not offer). `additionalProperties: false` mirrors the runtime middleware that rejects any unknown metadata key. - * - */ -export type OAuthRegisterRequest = { + payment_intent_client_secret?: string /** - * RFC 7591 §2 application_type. **OPTIONAL** — omit the field to default to `native` (the loopback-friendly policy), rather than the RFC's nominal `web` default; the MCP SDK's DCR client omits it. `native` for desktop / CLI / MCP-spec-strict clients (loopback redirects); `web` for hosted clients (HTTPS only, host must be allowlisted). The realistic MCP-client population is overwhelmingly native/loopback, so defaulting to `web` would silently bounce those clients off the wrong redirect policy. A *present* value must be one of the enum members; any other value rejects with `invalid_client_metadata`. (The server has no runtime enum validation and defensively coerces a null/empty value to `native`, but spec-validating clients should omit the field rather than send `""` — the enum does not permit it.) + * The workspace's in-flight billing operation, when one exists. Lets a + * client recover a payment it has lost the local reference to — a + * cleared browser, or simply a different device from the one that + * started it — by polling /billing/ops/{id} without having stored the + * id. Absent when no operation is pending, and for non-owners, who + * cannot act on one. * */ - application_type?: 'native' | 'web' + pending_billing_op_id?: string /** - * Human-readable name shown in the consent UI. Reserved-name list rejects impersonation of major MCP clients. + * How the client should resume `pending_billing_op_id`, not the + * internal operation type: a plan change reports `subscription`, + * because it resumes exactly like one. A top-up resumes with a + * different timeout and completion path, so the two cannot be + * told apart by the client. Present whenever + * `pending_billing_op_id` is. + * */ - client_name?: string + pending_billing_op_type?: 'subscription' | 'topup' /** - * **ACCEPTED AND IGNORED.** Informational RFC 7591 §2 client-profile metadata. Parsed so spec-compliant clients are not 400'd, then dropped — never persisted, never echoed in the registration response. + * Server-resolved configured period allowance. Missing on older servers means unknown, never none; clients must not infer it from tier. */ - client_uri?: string | null + period_credit_grant?: PeriodCreditGrant /** - * **ACCEPTED AND IGNORED.** Informational RFC 7591 §2 client-profile metadata. Parsed so spec-compliant clients are not 400'd, then dropped — never persisted, never echoed in the registration response. + * Plan identifier (e.g., standard-monthly, team-pro-annual) */ - contacts?: Array | null + plan_slug?: string /** - * Optional. Defaults to `["authorization_code","refresh_token"]`. + * Optional identity only when subscription_state is ended and the workspace's bound terminal subscription and plan can be verified. Visible to all workspace members, not only owners. Absent for unknown history, pointerless or unprojected legacy history, unreadable bindings and older servers. Absence is unknown, not no previous plan. Does not change plan actions or resubscribe eligibility. */ - grant_types?: Array<'authorization_code' | 'refresh_token'> + previous_plan?: PreviousPlan /** - * **REJECTED IF PRESENT.** A JWK set only applies to the `private_key_jwt` / `client_secret_jwt` client-authentication methods, which DCR does not offer — `token_endpoint_auth_method` is forced to `none` (public clients only). Accepting it silently would leave the client believing it had negotiated an authentication posture the server never agreed to, so this returns `invalid_client_metadata`. + * When the current billing period ends and the next one begins: the end of the period current_period_start begins. */ - jwks?: { - [key: string]: unknown - } | null + renewal_date?: string + renewal_invoice?: RenewalInvoice /** - * **REJECTED IF PRESENT.** Same reason as `jwks`: JWT client authentication is not offered by DCR, so a JWK set URI cannot be honored and returns `invalid_client_metadata` rather than being silently dropped. + * The authoritative successor scheduled for the current Stripe subscription. Always present; null when no valid scheduled plan transition exists. */ - jwks_uri?: string | null + scheduled_change: ScheduledPlanChange | null /** - * **ACCEPTED AND IGNORED.** Informational RFC 7591 §2 client-profile metadata. Parsed so spec-compliant clients are not 400'd, then dropped — never persisted, never echoed in the registration response. + * Per-product funds verdict, keyed by product name (currently only "agent" is populated): shared credits OR that product's own scoped balance. This is what decides whether the product still has funds to spend, so a gratis-only workspace correctly reads true even though has_funds (the shared-only verdict) is false. It is not the complete admission verdict — a funded workspace can still be denied for other reasons, e.g. manual_block — so treat it as necessary but not sufficient for gating funds-exhaustion UI. Defaults to agent: true when billing is disabled; omitted only by older servers. */ - logo_uri?: string | null + scoped_effective_has_funds?: { + [key: string]: boolean + } /** - * **ACCEPTED AND IGNORED.** Informational RFC 7591 §2 client-profile metadata. Parsed so spec-compliant clients are not 400'd, then dropped — never persisted, never echoed in the registration response. + * Per-product scoped balance state, keyed by product name (currently only "agent" is populated). True while that product's own dedicated balance remains; false once it is exhausted, regardless of shared credits, and also false if that product has never held a scoped balance of its own — both read the same way: no exclusive allowance to draw from right now. Use this to detect that, not to gate admission — use scoped_effective_has_funds for that. Defaults to agent: true when billing is disabled; omitted only by older servers. */ - policy_uri?: string | null + scoped_has_funds?: { + [key: string]: boolean + } + subscription_duration?: SubscriptionDuration /** - * 1–5 redirect URIs. Validated against `application_type` policy. + * Render this state without recombining payment, tier, dates or activity. Native and legacy provider history distinguish never-subscribed from ended. Ended means a historical provider Cloud subscription ended, regardless of whether an invoice was ever paid. Omitted when an older upstream/server exposes no usable history facts. Optional history failures leave guidance unknown while ordinary status remains available. Also omitted for a native live subscription when a workspace payment_failed label has no authoritative subscription-payment provenance. Unknown states must not be inferred from missing fields. */ - redirect_uris: Array + subscription_state?: SubscriptionState /** - * **REJECTED IF PRESENT.** Same reason as `scope`. The set of resources and scopes a dynamic client may request is server-policy, not request-driven. - * + * Subscription activity status (scheduled subscriptions are not returned) */ - resource_grants?: { - [key: string]: Array - } | null + subscription_status?: 'active' | 'ended' | 'canceled' + subscription_tier?: SubscriptionTier /** - * Optional. Defaults to `["code"]`. + * The team credit stop the workspace is currently subscribed to, for per-credit Team plans (BE-1254). Lets clients tell apart team subscriptions, which all share subscription_tier=TEAM. Always present; null for personal plans (use subscription_tier to distinguish those) and for legacy team plans without a credit stop. */ - response_types?: Array<'code'> + team_credit_stop: TeamCreditStopSummary | null +} + +/** + * A tax identifier for a company Stripe customer. Stripe validates the + * type/value combination synchronously and verifies VAT/ABN-style IDs + * asynchronously. + * + */ +export type BillingTaxId = { /** - * **ACCEPTED AND IGNORED.** Dynamic clients do not pick scopes — the server grants the published scope lists of `comfy-mcp` and, when active, `comfy-router`, so a caller-supplied value cannot escalate. The field is accepted (RFC 7591 §2 defines it and the MCP SDK always sends it) but the value is dropped: it is never persisted and never echoed in the registration response. + * Stripe tax ID type, e.g. `eu_vat`, `us_ein`, `au_abn`. See + * https://docs.stripe.com/api/tax_ids/object#tax_id_object-type + * for the full list. * */ - scope?: string | null - /** - * **ACCEPTED AND IGNORED.** Informational RFC 7591 §2 client-profile metadata. Parsed so spec-compliant clients are not 400'd, then dropped — never persisted, never echoed in the registration response. - */ - software_id?: string | null + type: string + value: string +} + +/** + * Response after bulk-revoking API keys for a workspace member. + */ +export type BulkRevokeApiKeysResponse = { /** - * **ACCEPTED AND IGNORED.** Informational RFC 7591 §2 client-profile metadata. Parsed so spec-compliant clients are not 400'd, then dropped — never persisted, never echoed in the registration response. + * Number of API keys that were revoked */ - software_version?: string | null + revoked_count: number +} + +export type CccAuthoringContext = { + actor_uid: string + can_apply: boolean + can_edit: boolean + owner_uid: string + state: CccCatalogState +} + +export type CccCatalogState = { + draft_generation: number + draft_rev: number + live_rev: number + next_rev: number + previous_live_rev: number | null +} + +export type CccCheckedReviewReceipt = { + publish_enabled: boolean + receipt_version: 1 + selected_count: number + selected_versions_digest: string + selection_digest: string + state: CccCatalogState + unchecked_count: number +} + +export type CccCreatorLink = { + label: string /** - * Optional. Any value is accepted and substituted with `none` (RFC 7591 §3.2.1); the registration response reports `none`. Public clients only, so authenticate with PKCE. + * An https URL */ - token_endpoint_auth_method?: string + url: string +} + +export type CccCreatorProfile = { /** - * **ACCEPTED AND IGNORED.** Informational RFC 7591 §2 client-profile metadata. Parsed so spec-compliant clients are not 400'd, then dropped — never persisted, never echoed in the registration response. + * Empty when the creator has no safe https avatar */ - tos_uri?: string | null + avatar_url: string + bio: string + display_name: string + links: Array + username: string } -/** - * RFC 7591 §3.2.2 error response. - */ -export type OAuthRegisterError = { - error: 'invalid_redirect_uri' | 'invalid_client_metadata' - error_description?: string | null +export type CccCreatorSummary = { + avatar_url: string + display_name: string + username: string + workflow_count: number } -/** - * Union of the two 400 shapes /oauth/register can emit. `OAuthRegisterError` is the handler-shaped RFC 7591 §3.2.2 error; `ErrorResponse` is the strict-server binding-layer error fired when the request body fails OpenAPI-schema validation before the handler runs, normalized to the standard {code, message} shape by the custom Echo HTTPErrorHandler (BE-1178). - * - */ -export type OAuthRegisterBadRequestResponse = OAuthRegisterError | ErrorResponse +export type CccCreatorsPage = { + items: Array + next_cursor?: string +} /** - * Standard error response with a machine-readable code and human-readable message. + * Flat type-versioned CCC JSON. Domain schemas (/api/v1/catalog/schemas/{type}/{version}) constrain authored fields. The readOnly properties are server metadata returned by reads; a save may send them back unchanged and they are ignored, never applied. expected_draft_rev and expected_revision_uid are the save concurrency tokens. */ -export type ErrorResponse = { - code: string +export type Cccjson = { /** - * Present only on an organization-managed POST /api/workspaces refusal; other errors omit it. + * Catalog revision of this edit; may be older than the working Draft. */ - denied_reasons?: WorkspaceCreationDenials + readonly catalog_rev?: number /** - * Optional open object carrying structured, machine-readable context about the error (e.g. offending field names, validation specifics). Absent for most errors; consumers must not assume any particular shape. + * Immutable account that created the resource. */ - details?: { - [key: string]: unknown - } - message: string + readonly creator_uid?: string /** - * On `sso_required`: the SSO organization the caller must sign in with (its WorkOS id, `org_...`), the value `GET /api/auth/sso/start?organization=` takes: the organization that owns the account's email domain, else the workspace's. Absent when no sign-in would admit the caller (an account another organization holds, in an SSO organization's workspace), when unknown, and on every other code but `account_outside_organization`, where it is the workspace's organization, which no sign-in of the account joins, and `personal_workspace_disabled`, where it is the organization holding the account. + * SHA-256 of the canonical authored document. */ - organization_id?: string + readonly digest?: string + readonly draft_generation?: number + readonly edit_sequence?: number + /** + * Tombstone flag. false may be sent back; true is refused (use restore). + */ + readonly is_deleted?: boolean + /** + * Fixed organization owner; never transferred by a save. + */ + readonly owner_uid?: string + /** + * This immutable edit; send it back as expected_revision_uid. + */ + readonly revision_uid?: string + /** + * RFC3339 UTC save time of this exact edit. + */ + readonly saved_at?: string + /** + * Account that saved this edit. + */ + readonly saved_by_uid?: string + /** + * Server-assigned logical resource UID. + */ + readonly uid?: string + [key: string]: unknown } /** - * OAuth 2.1 protected-resource metadata (RFC 9728). + * Current Hub page that replaces an old public URL */ -export type OAuthProtectedResourceMetadata = { - authorization_servers: Array - bearer_methods_supported?: Array - resource: string - scopes_supported: Array +export type CccLegacyTarget = { + /** + * Website path of the Hub page, for example /hub/workflows// + */ + path: string + /** + * Current slug of the record + */ + slug: string + type: 'workflow' | 'app' | 'model' } -/** - * One workspace option presented in the OAuth consent challenge. Promoted to a named schema so the generated Go type is referenceable in handlers and tests rather than re-declared as an anonymous struct at every callsite. - * - */ -export type OAuthConsentChallengeWorkspace = { - id: string - name: string - role: 'owner' | 'member' - type: 'personal' | 'team' +export type CccPublicItemsPage = ContentCatalogProjection & { + has_more: boolean + /** + * Opaque continuation bound to this query and publication identity; omitted on the last page. + */ + next_cursor?: string + page_size: number } -/** - * Server-side state describing the OAuth consent decision the user is being asked to make. Returned by GET /oauth/authorize when a valid Cloud session exists; the frontend renders the consent UI from this payload and POSTs the decision back. Browser never sees the original OAuth params on resume. - * - */ -export type OAuthConsentChallenge = { +export type CccWebsiteCardFacet = { /** - * Human-readable name of the OAuth client requesting authorization, from oauth_clients.display_name. + * Staff-only eligible facet count */ - client_display_name: string + count?: number + label: string + value: string +} + +export type CccWebsiteCardFacets = { + categories: Array + models: Array + use_cases: Array +} + +export type CccWebsiteCardsPage = { + available_kinds: Array<'MODEL' | 'WORKFLOW' | 'APP'> + facets: CccWebsiteCardFacets /** - * Whether the client requesting authorization is a seeded first-party - * client (`first_party`) or was created through RFC 7591 dynamic client - * registration (`dynamic`). Derived from the client_id: every dynamically - * registered client carries the `comfy-dyn-` prefix. `client_display_name` - * on a `dynamic` client is registrant-supplied and unverified; the consent - * UI must present it as such. Consumers must treat an absent value as - * `dynamic`. - * + * Staff-only Draft generation */ - client_provenance: 'first_party' | 'dynamic' + generation?: number + has_more: boolean + items: Array + next_cursor?: string + page_size: number + previous_cursor?: string + revision_id: number + sort_orders: Array<'popular' | 'name' | 'priceAsc' | 'priceDesc'> /** - * Per-row CSRF token bound to this authorization request (not to the session). Must be echoed back on POST. + * Staff-only filtered count; omitted for anonymous callers */ - csrf_token: string + total?: number +} + +export type CccWebsiteModelDirectory = { /** - * Opaque server-side identifier for the authorization-request row. Carried back unchanged in the consent submission. + * Staff-only Draft generation */ - oauth_request_id: string + generation?: number + items: Array<{ + /** + * Authored provider label; empty when not set + */ + provider: string + /** + * Canonical /hub/models path without a trailing slash + */ + slug: string + /** + * Localized title when reviewed, otherwise source title + */ + title: string + uid: string + }> + revision_id: number +} + +export type CccWebsiteRootPageInfo = { + has_more: boolean + page_size: 24 +} + +export type CccWebsiteRootPresentation = { /** - * The exact redirect URI this authorization request was validated - * against at GET time (oauth_authorization_requests.redirect_uri, - * itself byte-matched to the client registration). The frontend - * binds the post-consent navigation to this value, so it needs no - * per-client knowledge of callback schemes. Surfaced verbatim; - * also suitable for display so users can verify the destination. - * + * Database observation clock for this complete presentation. */ - redirect_uri: string + as_of: string + items: Array + model_directory: CccWebsiteModelDirectory /** - * Human-readable name of the protected resource, from oauth_resources.display_name. + * Never reuse the artifact at or after this scheduled visibility boundary. Null means no pending boundary. */ - resource_display_name: string + next_visibility_at: string | null + revision_id: number + tabs: CccWebsiteRootTabs +} + +export type CccWebsiteRootTab = { + facets: CccWebsiteCardFacets + page: CccWebsiteRootPageInfo + sort_orders: Array<'popular' | 'name' | 'priceAsc' | 'priceDesc'> +} + +export type CccWebsiteRootTabs = { + apps: CccWebsiteRootTab + models: CccWebsiteRootTab + workflows: CccWebsiteRootTab +} + +/** + * Response when a cancellation is accepted but has not committed yet. Carries no cancel_at: no cancellation time exists to report until the operation settles. The billing operation reports only status, so once it reaches `succeeded` the committed date is read from `cancel_at` on `GET /api/billing/status`. + */ +export type CancelSubscriptionAcceptedResponse = { /** - * Scopes the client is requesting for this resource. The frontend should present these for the user to approve. + * Billing operation ID to poll for status via GET /api/billing/ops/{id} */ - scopes: Array + billing_op_id: string /** - * Workspaces the user can select from. Membership is re-checked on POST. + * Always `pending` — the cancellation is still executing. Poll the billing operation for the final outcome. */ - workspaces: Array + status: 'pending' } /** - * Redirect target produced after a JSON consent submission. The frontend must navigate the browser to this URL so custom-scheme client callbacks work without relying on fetch-visible 302 headers. + * Request body for cancelling the current subscription. */ -export type OAuthAuthorizeRedirectResponse = { +export type CancelSubscriptionRequest = { /** - * OAuth client redirect URI with either code+state for allow, or error+state for deny. + * Client-provided key to prevent duplicate operations. + * If a billing op with this key already exists, returns the existing op instead of creating a new one. + * */ - redirect_url: string + idempotency_key?: string } /** - * OAuth 2.1 authorization-server metadata (RFC 8414). + * Response after successfully cancelling a subscription. */ -export type OAuthAuthorizationServerMetadata = { - authorization_endpoint: string - code_challenge_methods_supported: Array - grant_types_supported: Array - issuer: string - jwks_uri: string +export type CancelSubscriptionResponse = { /** - * RFC 7591 §3.1 Dynamic Client Registration endpoint. Advertised so MCP-spec-compliant clients can auto-discover and self-register without operator involvement. Present only when DCR is enabled. - * + * Billing operation ID to poll for status via GET /api/billing/ops/{id} */ - registration_endpoint?: string - response_types_supported: Array - scopes_supported?: Array - token_endpoint: string - token_endpoint_auth_methods_supported: Array + billing_op_id: string + /** + * The terminal cancellation time for a delinquent Stripe subscription, otherwise the end of the current billing period + */ + cancel_at: string } /** - * Metadata describing a single ComfyUI node type and its inputs/outputs. + * Display data for one governable partner provider. */ -export type NodeInfo = { +export type CatalogProvider = { /** - * Whether this is an API node + * Panel display label (e.g. "OpenAI (inc. Sora)"). Changeable freely, unlike the provider_id. */ - api_node?: boolean + display_name: string /** - * Category of the node + * The provider's owned /object_info category segments (partner//), e.g. openai -> ["OpenAI", "Sora"]. The panel uses them to group nodes under providers (including merged vendors) and preview which nodes a toggle disables. Empty for route-only vendors (callable and governed; the panel hides their toggles). */ - category?: string + node_categories: Array /** - * Whether the node is deprecated + * Permanent policy identifier (e.g. "kling", "openai"). Not client-derivable (merged vendors such as OpenAI+Sora). */ - deprecated?: boolean + provider_id: string +} + +/** + * Credentials the Churnkey embed requires to launch the cancel flow. + * `auth_hash` is hex-encoded HMAC-SHA256 of `customer_id` signed with the + * server's CHURNKEY_HMAC_SECRET; it is bound to that single customer ID + * and must not be reused for other customers. + * + */ +export type ChurnkeyAuthResponse = { /** - * Description of the node + * Hex-encoded HMAC-SHA256(customer_id, CHURNKEY_HMAC_SECRET) */ - description?: string + auth_hash: string /** - * Display name of the node - */ - display_name?: string - /** - * Whether the node is experimental - */ - experimental?: boolean - /** - * Input specifications for the node - */ - input?: { - [key: string]: unknown - } - /** - * Order of inputs for display + * Stripe customer ID for the workspace */ - input_order?: { - [key: string]: Array - } + customer_id: string /** - * Internal name of the node + * Churnkey environment matching the configured app */ - name?: string + mode: 'live' | 'test' | 'sandbox' /** - * Output types of the node + * Stripe subscription a native Churnkey retention offer may apply to. + * Present only when the caller is in the native-offer rollout and owns + * a Personal workspace on an active paid monthly plan with no billing + * change in flight; absent otherwise, and the client then keeps offers + * disabled. Present in any mode. Not a signed authorization: the HMAC + * covers only the customer ID. + * */ - output?: Array + offer_subscription_id?: string +} + +/** + * Which of the posted node types and models Comfy Cloud does not have. + */ +export type CloudCompatibility = { + cloud: CloudWorkflowCompatibility +} + +/** + * The node types and models of a workflow. + */ +export type CloudCompatibilityRequest = { /** - * Whether each output is a list + * The workflow's models, each with the model folder its loader reads. Duplicates are dropped before counting; more than 500 distinct models is a 400. Leave it out to check node types only. */ - output_is_list?: Array + models?: Array /** - * Names of the outputs + * The workflow's node types (class_type), subgraphs included. Duplicates are dropped before counting; more than 2,000 distinct types is a 400. */ - output_name?: Array + node_types: Array +} + +export type CloudNodeCompatibility = { /** - * Whether this is an output node + * The posted node types a browser on Comfy Cloud (no pick) is not served, hidden ones included, in the order they were posted. */ - output_node?: boolean + missing_node_types: Array +} + +export type CloudWorkflowCompatibility = { /** - * Tooltips for outputs + * The posted models Comfy Cloud's model list does not have in the posted folder and, for a signed-in caller, whose upload a run would pick (the newest with that name among the caller's own uploads and the public model catalog) is not in the posted folder either, in the order they were posted. Absent when the request has no `models`. */ - output_tooltips?: Array + missing_models?: Array /** - * Python module implementing the node + * The posted node types a browser on Comfy Cloud (no pick) is not served, hidden ones included, in the order they were posted. */ - python_module?: string + missing_node_types: Array } /** - * Where and how the browser sends a model file's bytes (POST /api/assets/uploads). + * A model file and the ComfyUI model folder it is read from. */ -export type ModelUploadStarted = { +export type CompatibilityModel = { /** - * When `upload_url` stops working (15 minutes after the answer). + * The model folder, such as `checkpoints` or `loras`. */ - expires_at: string + folder: string /** - * Every header the PUT must send, with exactly these values (`Content-Type`, `x-goog-content-length-range` and `x-goog-if-generation-match` set to `0`, which makes storage refuse a second write to the object). + * The file name, such as `sd_xl_base_1.0.safetensors`. */ - headers: { - [key: string]: string + name: string +} + +export type ContentCatalogProjection = { + generation: number + items: Array + revision_id: number +} + +export type ContentCatalogRecord = { + data: { + [key: string]: unknown } + deleted: boolean + edit_version: string + enabled: boolean + kind: 'MODEL' | 'WORKFLOW' | 'APP' | 'TEMPLATE_SET' /** - * The largest file an upload accepts, 2147483648 (2 GiB). - */ - max_size_bytes: number - method: 'PUT' - /** - * Names this upload in `POST /api/assets/uploads/{upload_id}/complete`. + * Integer revision supplying this entity; may precede the requested catalog revision. */ - upload_id: string + revision: number /** - * Signed URL for exactly one staged object; works until `expires_at`. + * Canonical website pathname for page content; native slug for template sets. Identity is always UID. */ - upload_url: string + slug: string + uid: string + visibility: 'PUBLIC' | 'STAFF' + visible_from?: string } /** - * Represents a folder containing models + * Request body for creating a new Hub profile. */ -export type ModelFolder = { +export type CreateHubProfileRequest = { /** - * List of paths where models of this type are stored + * Token (from /api/hub/assets/upload-url) for an avatar image. Omit to have no avatar. + * */ - folders: Array + avatar_token?: string + description?: string + display_name?: string /** - * The name of the model folder + * Unique URL-safe slug for the hub profile. Immutable after creation. */ - name: string -} - -/** - * Represents a model file with metadata - */ -export type ModelFile = { + username: string /** - * The filename of the model + * List of website URLs. */ - name: string + website_urls?: Array /** - * Index of the path where this model is located + * ID of the workspace to create the hub profile for. The authenticated user must belong to this workspace. */ - pathIndex: number + workspace_id: string } /** - * Server-to-client model_download frame on /ws. A Cloud job's model file download moved. + * Request body for inviting a user to a workspace. */ -export type ModelDownloadFrame = { - data: ModelDownloadData - type: 'model_download' +export type CreateInviteRequest = { + /** + * Email address to invite + */ + email: string } /** - * The `data` of a model_download WebSocket event: the latest state of one model file a Cloud job on a deployment downloads before ComfyUI starts it. Sent by the deployment's worker (services/comfy-deploy/containerruntime worker.py, _ModelNews) only when the job asked for live progress, for each file the job fetches and never for a file the release ships, all before the job's execution_start. A failed file ends the job: no other source is tried and the job is not retried, so its execution_error (or execution_interrupted, when a cancel was in flight) follows. New fields may be added; a client ignores the ones it does not read. + * Request body for creating a new user secret. */ -export type ModelDownloadData = { - /** - * Bytes received so far. On done and cached, the file's size. - */ - bytes_downloaded: number - /** - * The download's Content-Length, or null when the storage response sent none. On cached, the file's size; on done with no Content-Length, the bytes received. - */ - bytes_total: number | null - /** - * How many files this job fetches; files the release ships are not counted. - */ - count: number - /** - * The ComfyUI model folder the file goes in. - */ - dir: string +export type CreateSecretRequest = { /** - * The file's 1-based position among the files this job fetches. + * Credential class discriminator. `api_key` (default) stores an opaque key/token; `gcp_service_account` stores a Google Cloud service-account key JSON, whose value is validated as a service-account key on write. Prefer setting this explicitly over relying on value-shape sniffing. */ - index: number + credential_type?: 'api_key' | 'gcp_service_account' /** - * The file name the workflow loads, as it appears in the model folder. + * User-provided label for the secret */ name: string /** - * bytes_downloaded over bytes_total, from 0 to 1, rounded to four decimal places; null when bytes_total is null or 0. 1 on done and cached. - */ - progress: number | null - /** - * The Cloud job id, stamped by platform-gateway on every frame it forwards. - */ - prompt_id: string - /** - * Known values are downloading, done, cached and failed. downloading is sent as the download opens and then at most every 0.5 seconds while bytes arrive; done once the whole file arrived and matched its hash; cached once, instead of the others, when the worker already holds the file; failed when the download stopped. Treat it as an open string: a client shows the file as downloading only while the value is downloading, and reads any other value as the end of that file's download. + * Optional provider identifier (e.g., huggingface, civitai) */ - status: string + provider?: string /** - * The job's workflow id, present when the job has one. + * The plaintext secret to encrypt and store */ - workflow_id?: string + secret_value: string } /** - * Workspace member with profile and role information. + * Response after creating a session cookie */ -export type Member = { - /** - * Actions the authenticated actor may offer for this exact member row. Supplied by the member list; role-update responses may omit it. Absent means unknown, not permission. Writes recheck current membership. - */ - capabilities?: WorkspaceMemberCapabilities +export type CreateSessionResponse = { /** - * User's email address, or an empty string if none is on file. + * Session expiration time in seconds (5 days) */ - email: string + expiresIn?: number /** - * User ID + * Whether the session was created successfully */ - id: string + success: boolean +} + +/** + * Request body for creating a hosted credit top-up checkout session. + */ +export type CreateTopupCheckoutRequest = { /** - * Whether this member created the workspace. Derived as member.id == workspace.created_by_user_id; exactly one member per workspace is marked. Personal workspace creators cannot be demoted, removed, or leave; a promoted owner is never marked. + * Amount to charge in cents, before any promotion code the customer + * enters. Whole dollars only, from $5.00 to `max_topup_cents` on GET /api/billing/balance. The + * credits granted are derived server-side from this amount and + * cannot be set by the caller. + * */ - is_original_owner: boolean + amount_cents: number /** - * When the user joined the workspace + * Optional client-provided key. Forwarded to Stripe so a double-submit + * collapses onto one session instead of minting two payable links. + * */ - joined_at: string + idempotency_key?: string /** - * The member's role comes from their organization's directory (SSO): it is changed in the organization's identity provider, and a role change here is refused. + * Where Stripe returns the customer after a completed or cancelled + * payment. Must match an allowlisted origin; an arbitrary URL is + * rejected rather than redirected to. + * */ - managed_by_directory?: boolean + return_url: string +} + +/** + * A hosted Stripe Checkout session for a credit top-up. + */ +export type CreateTopupCheckoutResponse = { /** - * User's display name + * Stripe-hosted Checkout URL to send the customer to. */ - name: string + checkout_url: string /** - * User's role in the workspace + * Stripe Checkout session id, for support and log correlation. There + * is no billing operation to return: the purchase has not happened + * yet, and the operation recording it is created once the payment + * completes. Nothing needs polling — the credits land on their own. + * */ - role: 'owner' | 'member' + session_id?: string } /** - * 400 for a missing `filename` or a `res` that is not a number, on the media routes served outside the generated wrapper. + * Request body for previewing a credit top-up. */ -export type MediaQueryError = { - error: string +export type CreateTopupQuoteRequest = { + /** + * Amount to quote, in cents. + */ + amount_cents: number } /** - * A 400 from a media route served outside the generated wrapper: ErrorResponse, or MediaQueryError for a bad query parameter. + * Legacy on-file top-up. Explicit payment authority and save/default fields require the dedicated interactive route and are rejected here, including null or false values. */ -export type MediaBadRequestError = ErrorResponse | MediaQueryError - -/** - * Paginated list of workspaces the authenticated user belongs to. - */ -export type ListWorkspacesResponse = { +export type CreateTopupRequest = { /** - * Whether the client should offer creating another workspace. False for an account managed by an SSO organization or an actor at the served max_owned_workspaces limit. Counts live owner memberships, including the personal workspace and retained memberships hidden from the list; ordinary memberships and deleted workspaces do not count. True means these checks allow creation. POST /api/workspaces rechecks the limit atomically; this fact is not write authorization. + * Amount to charge and grant as credits (in cents). Minimum $5.00; maximum `max_topup_cents` on GET /api/billing/balance (400 INVALID_AMOUNT above it). */ - can_create_workspace: boolean + amount_cents: number /** - * The workspace the app should open on sign-in: the workspace of the - * SSO organization that manages the caller's account, when the caller - * is a member of it. Absent for accounts no SSO organization manages. + * Client-minted identifier for one checkout attempt, generated when + * the customer starts checkout and sent on every request and + * analytics event of that attempt. Purely for observability: it is + * what joins the frontend funnel (which emits events before any + * billing op exists) to the backend outcome. Expected to match + * ^[A-Za-z0-9_-]{1,64}$; a present value that does not is ignored, + * never rejected, so the constraint is intentionally not declared + * here as pattern/maxLength -- either would make a conforming + * client or request validator reject the request before ingest + * ever applies that "ignored, not rejected" behavior. * */ - default_workspace_id?: string - denied_reasons?: WorkspaceCreationDenials + checkout_attempt_id?: string /** - * Owner membership count at which new workspace creation is refused, including the personal workspace. This is a creation-only threshold; other owner assignments can raise the actual count above it. + * Client-provided key to prevent duplicate operations. + * If a billing op with this key already exists, returns the existing op instead of creating a new one. + * */ - max_owned_workspaces: number - workspaces: Array -} - -/** - * List of API keys associated with the current workspace. - */ -export type ListWorkspaceApiKeysResponse = { - api_keys: Array + idempotency_key?: string } /** - * Paginated list of available asset tags. + * Response after successfully purchasing a credit top-up. */ -export type ListTagsResponse = { +export type CreateTopupResponse = { /** - * Whether more tags are available + * Amount being charged in cents */ - has_more: boolean + amount_cents: number /** - * List of tags + * Billing operation ID to poll for status via GET /api/billing/ops/{id} */ - tags: Array + billing_op_id: string /** - * Total number of tags + * Current status of the top-up */ - total: number -} - -/** - * List of members in the current workspace. - */ -export type ListMembersResponse = { - members: Array - pagination: PaginationInfo -} - -/** - * List of pending invitations for the current workspace. - */ -export type ListInvitesResponse = { - invites: Array + status: 'pending' | 'completed' | 'failed' + /** + * Unique identifier for the top-up request (same as billing_op_id, deprecated) + */ + topup_id: string } /** - * Paginated list of assets belonging to the authenticated user. + * Request body for creating a new saved workflow. */ -export type ListAssetsResponse = { +export type CreateWorkflowRequest = { /** - * List of assets matching the query + * Default view mode */ - assets: Array + default_view?: 'workflow' | 'app' /** - * Whether more assets are available beyond this page + * Description of the workflow */ - has_more: boolean + description?: string /** - * Opaque cursor to pass as the `after` query parameter to fetch the - * next page. Omitted from the response when there are no more results. - * + * ID of the source workflow if forked */ - next_cursor?: string + forked_from_workflow_id?: string /** - * Total number of assets matching the filters + * ID of the source workflow version if forked */ - total: number + forked_from_workflow_version_id?: string + /** + * Display name for the workflow + */ + name?: string + /** + * The ComfyUI workflow JSON + */ + workflow_json: { + [key: string]: unknown + } } /** - * Represents a user-owned asset (image, video, or other generated output). + * Request body for creating a new version of a saved workflow. */ -export type Asset = { +export type CreateWorkflowVersionRequest = { /** - * Timestamp when the asset was created + * The version number this change is based on (for optimistic concurrency) */ - created_at: string + base_version: number /** - * Display name of the asset. Mirrors name for backwards compatibility. + * The updated ComfyUI workflow JSON */ - display_name?: string | null + workflow_json: { + [key: string]: unknown + } +} + +/** + * Request body for creating a new workspace-scoped API key. + */ +export type CreateWorkspaceApiKeyRequest = { /** - * Relative path in global-namespace-root form (e.g. "models/checkpoints/flux.safetensors") + * User-provided description of the key's purpose. Limit is byte-based (UTF-8 encoding); 5000 bytes equals 5000 ASCII characters or fewer multi-byte characters. */ - file_path?: string | null + description?: string /** - * Blake3 hash of the asset content. + * Optional expiration timestamp. Keys created by an OAuth-authenticated session (an access token issued by the Comfy OAuth server to a registered client) are always capped to the OAuth refresh-token lifetime (OAUTH_REFRESH_TOKEN_TTL, 30 days by default): omitting this field yields that cap, a longer value is reduced to it, and a shorter value is honoured as-is. Keys created by a first-party session (browser workspace JWT, Firebase) are unaffected and may still be created with no expiry. */ - hash?: string + expires_at?: string /** - * Unique identifier for the asset + * User-provided label for the key */ - id: string + name: string +} + +/** + * Response containing the newly created workspace API key. + */ +export type CreateWorkspaceApiKeyResponse = { /** - * Whether this asset is immutable (cannot be modified or deleted) + * When the key was created */ - is_immutable?: boolean + created_at: string /** - * ID of the job that created this asset, if available + * User-provided description of the key's purpose. Limit is byte-based (UTF-8 encoding); 5000 bytes equals 5000 ASCII characters or fewer multi-byte characters. */ - job_id?: string | null + description: string /** - * Timestamp when the asset was last accessed + * The effective expiration timestamp, which may differ from the one requested: a key minted by an OAuth-authenticated session is capped to the OAuth refresh-token lifetime, so clients must read the lifetime they actually got from this field rather than assume the requested one. Absent only for first-party keys created with no expiry. */ - last_access_time?: string + expires_at?: string /** - * The bare value a loader widget consumes for this asset. For models it is the path inside the category folder (e.g. "flux.safetensors" for "models/checkpoints/flux.safetensors"), which is what the model resolver matches. For input/output/temp it is the content hash, because those assets are fetched by hash rather than staged by name — that is the value LoadImage-style widgets must carry. Clients add the "[output]"/"[temp]" annotation from the asset's own type, so it is never included here. Null when no such value can be derived. + * API key ID */ - loader_path?: string | null + id: string /** - * System-managed metadata from download sources (HuggingFace, CivitAI, etc.) - read-only, not user-modifiable + * The full plaintext API key (only shown once) */ - readonly metadata?: { - [key: string]: unknown - } + key: string /** - * MIME type of the asset + * First 8 chars after prefix for display */ - mime_type?: string + key_prefix: string /** - * Name of the asset file + * User-provided label */ name: string +} + +/** + * Request body for creating a new workspace. + */ +export type CreateWorkspaceRequest = { /** - * ID of the preview asset if available + * Display name for the workspace */ - preview_id?: string | null + name: string +} + +/** + * One way a provider's credential can be entered. When a provider exposes more than one option, clients present a sub-selection; the selected option's credential_type is sent on CreateSecretRequest. + */ +export type CredentialOption = { /** - * URL for asset preview/thumbnail + * The credential_type to send on CreateSecretRequest when this option is selected. */ - preview_url?: string + credential_type: 'api_key' | 'gcp_service_account' /** - * Durable, owner-gated short link to this asset's content (relative `/api/s/{id}` path). Stable across the underlying signed URL's expiry — resolving it re-mints a fresh signed URL on every request — so it is safe to persist or share into chat, unlike `preview_url`. Only the minting user can resolve it. Omitted when the short-link surface is disabled or the asset has no resolvable content hash. + * How the credential value is entered. `text` is a single-line secret (an API key); `json_file` is a pasted/uploaded JSON document (e.g. a Vertex service-account key). */ - short_url?: string | null + input_type: 'text' | 'json_file' /** - * Size of the asset in bytes + * Human-facing label for this option (e.g. "API key (Google AI Studio)"). */ - size?: number + label: string +} + +/** + * Display-only validity of the current shared wallet, including old-contract value and custom grants. Not a new-purchase quote or a spend decision. Missing facts on an older server mean unknown. No default year is inferred. + */ +export type CreditValidity = { + plan: CreditValidityFact + top_up: CreditValidityFact +} + +export type CreditValidityFact = { /** - * Tags associated with the asset + * Exclusive expiry of all current bucket value; only present for expiring. */ - tags?: Array + expires_at?: string /** - * Timestamp when the asset was last updated + * Plan only: whether all positive plan contributors are proved to have current recurring grant validity spanning later grant periods. None means one grant period; allowed means more than one. An annual grant period is annual, not monthly. Unknown when lineage or terms are unavailable. Independent of contract-transition rollover. */ - updated_at: string + rollover?: 'none' | 'allowed' | 'unknown' /** - * Custom user metadata for the asset + * Expiring means every positive contributor has the same authoritative expiry. Mixed means distinct known expiries across positive grants. Unknown includes unavailable or ambiguous terms, no positive value, and historical no-expiry sentinels; missing dates never mean forever. */ - user_metadata?: { - [key: string]: unknown - } + state: 'expiring' | 'mixed' | 'unknown' } /** - * Reference to a Hub label by ID. + * The workspace bound to the presented credential, plus how that credential authenticated. Same shape as Workspace with the caller's role and the auth method added, and without created_at (callers of this endpoint want identity, not provenance). */ -export type LabelRef = { +export type CurrentWorkspaceResponse = { /** - * Human-readable display name (e.g. "Video Generation", "Flux"). + * How this request authenticated. Known values are firebase, cookie, comfy_api_key, comfy_admin_key, cloud_api_key and cloud_jwt; treat it as an open string so a new auth method is not a breaking change. */ - display_name: string + auth_method: string + id: string + name: string /** - * Slug identifier (e.g. "video-generation", "flux"). + * What the caller may do in this workspace, the same list a workspace token minted for it would carry. Read from the live membership on every request. Omitted, like role, when no role resolves. New values are additive. */ - name: string + permissions?: Array + /** + * The requesting user's role in this workspace. Omitted (absent from the object, never an explicit null) when the credential carries no resolvable user membership. + */ + role?: 'owner' | 'member' + type: 'personal' | 'team' } /** - * JSON Web Key Set containing the public keys used to verify Cloud JWTs. + * Response after deleting a session cookie */ -export type JwksResponse = { - keys: Array +export type DeleteSessionResponse = { + /** + * Whether the session was deleted successfully + */ + success: boolean } /** - * A single JSON Web Key entry within a JWKS response. + * Error body of local ComfyUI's /api/deploy* routes. Branch on `error`, never on `message`. */ -export type JwkKey = { - alg: string - crv: string - kid: string - kty: string - use: string - /** - * Base64url-encoded X coordinate - */ - x: string +export type DeployToCloudError = { + error: + | 'offline' + | 'multiple_credentials' + | 'invalid_api_key_format' + | 'invalid_body' + | 'missing_credentials' + | 'unauthorized' + | 'too_large' + | 'too_many_bundles' + | 'builder_rejected' + | 'builder_unavailable' + | 'builder_busy' /** - * Base64url-encoded Y coordinate + * Human-readable detail, present for invalid_body and builder_rejected. */ - y: string + message?: string } /** - * Paginated list of jobs for the authenticated user. + * Which of the posted node types each of the workspace's deployments, and Comfy Cloud, does not have. */ -export type JobsListResponse = { +export type DeploymentCompatibility = { + cloud: CloudNodeCompatibility /** - * Array of jobs ordered by specified sort field + * Every live deployment GET /api/workspaces/{id}/deployments lists, in the same order (newest first). */ - jobs: Array - pagination: PaginationInfo + deployments: Array } /** - * Detailed execution error information from ComfyUI + * The node types of the workflow open in the editor. */ -export type ExecutionError = { +export type DeploymentCompatibilityRequest = { /** - * Input values at time of failure (empty object if not available) + * The workflow's node types (class_type), subgraphs included. Duplicates are dropped before counting; more than 2,000 distinct types is a 400. */ - current_inputs: { - [key: string]: unknown - } + node_types: Array +} + +export type DeploymentNodeCompatibility = { + deployment_id: string /** - * Output values at time of failure (empty object if not available) + * The posted node types this deployment's Release does not have, in the order they were posted. Empty when it has them all, and when unknown is true. */ - current_outputs: { - [key: string]: unknown - } + missing_node_types: Array /** - * Human-readable error message + * True when the node list of the Release this deployment runs could not be read, so it was not checked: the Release is not built yet or is gone, comfy-builder could not be reached or refused the caller, its extensions list could not be read, a browser that picked the deployment failed to load it on the same ingest pod (for good when the Release is gone or its archive is corrupt or too large to ever load, see below; for any other fault, an archive missing from storage among them, only within its 30-second retry window, after which the check follows what a browser's next load gets), its catalog fails to build (in each of the last three a browser that picked the deployment is served Comfy Cloud's catalog), it is past the 16 distinct Releases one check reads (the newest deployments' Releases are read first), or the request ended before it was read. The check reads the catalog and the extensions list but not the extensions archive: a Release whose archive fails to load (missing from storage, corrupt, too large, past 64 MiB unpacked, or an entry whose path escapes the extensions folder) is answered from its catalog, not unknown, until a browser that picked it has failed to load it on the same ingest pod (each pod keeps its own record). */ - exception_message: string + unknown: boolean +} + +/** + * Request to mint a desktop login code. + */ +export type DesktopLoginCodeCreateRequest = { /** - * Python exception type (e.g., "RuntimeError") + * Desktop app version string. */ - exception_type: string + app_version: string /** - * ID of the node that failed + * PKCE code challenge - base64url(SHA256(code_verifier)) per RFC 7636 (S256 only). */ - node_id: string + code_challenge: string /** - * Type name of the node (e.g., "KSampler") + * Stable identifier of the desktop installation, used only for the login attribution event. Omit when telemetry consent is off - the login flow still works, but no attribution event is emitted. */ - node_type: string + installation_id?: string /** - * Array of traceback lines (empty array if not available) + * Desktop platform identifier (e.g. darwin, win32, linux). */ - traceback: Array + platform: string } /** - * The deployment a job ran on and the Release it ran, as they were when the job was sent: deployment_id and release_id stay the same after the deployment is updated to another Release or deleted. build_name and release_version are read from comfy-builder when the job is read, so a renamed Build shows its new name within a few minutes. + * A freshly minted desktop login code and its polling parameters. */ -export type JobDeployment = { - /** - * The name of the Build the Release was cut from, as comfy-builder names it now. Absent when it is not named for this caller: an API-key caller, a caller reading a job outside their active workspace (an admin reading another workspace's job), comfy-builder not configured on this server, minting the token to ask comfy-builder failing, comfy-builder failing or not answering in time, or a Release or Build since deleted. - */ - build_name?: string - /** - * Developer-platform deployment id. - */ - deployment_id: string +export type DesktopLoginCodeCreateResponse = { /** - * The deployment's own name from comfy-deploy, including for a deleted deployment. Read when the job is read and cached for five minutes, so a rename appears after the cache expires; not a job-time snapshot. Absent for unnamed or unavailable deployments, API-key callers, jobs outside the caller's active workspace, or when the service or token mint is unavailable. Does not replace build_name or the stable IDs. + * Opaque single-use login code ("dlc_" prefix). */ - name?: string + code: string /** - * The Release the job ran. + * Seconds until the code expires if not redeemed. */ - release_id: string + expires_in: number /** - * The Release's version number within its Build. Absent whenever build_name is. + * Suggested seconds between exchange polls. */ - release_version?: number + poll_interval: number } /** - * Lightweight job data for list views (workflow and full outputs excluded) + * Request to exchange a redeemed login code for a custom token. */ -export type JobEntry = { +export type DesktopLoginCodeExchangeRequest = { /** - * Job creation timestamp (Unix timestamp in milliseconds) + * The login code returned at creation. */ - create_time: number + code: string /** - * Where a platform_gateway job ran. Absent for cloud_inference jobs. Also absent when the platform has not taken the job, refused it, failed before dispatch, or removed its platform record; when the record names no deployment; or when that record could not be read. Absence does not mean the job is pending: use status for its state. A failed job can retain executor=platform_gateway without a known deployment. No deployment is inferred from the caller's current pick. + * PKCE code verifier matching the challenge supplied at creation. */ - deployment?: JobDeployment + code_verifier: string +} + +/** + * Exchange poll result. Pending until the code is redeemed in the browser. + */ +export type DesktopLoginCodeExchangeResponse = { /** - * Workflow execution completion timestamp (Unix milliseconds, only present for terminal states) + * One-time Firebase custom token for the redeeming user. Present only when status is "complete". */ - execution_end_time?: number + custom_token?: string /** - * Detailed execution error from ComfyUI (only for failed jobs with structured error data) + * Whether the code has been redeemed yet. */ - execution_error?: ExecutionError + status: 'pending' | 'complete' +} + +/** + * Request to claim a desktop login code for the authenticated user. + */ +export type DesktopLoginCodeRedeemRequest = { /** - * Workflow execution start timestamp (Unix milliseconds, only present for terminal states) + * The login code the desktop app placed in the browser URL. */ - execution_start_time?: number + code: string +} + +/** + * Result of redeeming a desktop login code. + */ +export type DesktopLoginCodeRedeemResponse = { /** - * What ran the job: cloud_inference is Comfy Cloud's own GPUs; platform_gateway is a deployment of the workspace's own Build, which deployment names. + * The code is now claimed for the authenticated user. */ - executor?: 'cloud_inference' | 'platform_gateway' + status: 'redeemed' +} + +/** + * First rejected op in an abort-remainder batch. + */ +export type DocOpFailure = { + code: string + index: number + message: string + op_id?: string +} + +export type DocOpsResultData = { + applied?: Array + code?: string + failed?: DocOpFailure /** - * Unique job identifier + * The subset of skipped that lost a last-writer-wins race, so a client can tell an overwritten write from a harmless replay. Every id here is also in skipped. Absent when no op lost, and on a host that does not classify outcomes. */ - id: string + lww_dropped?: Array + message?: string + ok: boolean /** - * Total number of output files (omitted for non-terminal states) + * The op_id of every op in the doc_ops batch this result answers, verbatim and in submission order, on success and on every refusal, including refusals made before the batch reached the document host. Correlation only: it names the batch, not each op's outcome (see applied, skipped and failed), and it is not an ordering key. Absent only when the batch's op ids could not be read under the doc_ops op_id grammar, which a conforming sender never produces. */ - outputs_count?: number + op_ids?: Array + seq?: number + skipped?: Array + v: number + workflow_id: string +} + +/** + * Host acknowledgement for a doc_ops batch. + */ +export type DocOpsResultFrame = { + data: DocOpsResultData + type: 'doc_ops_result' +} + +export type DocResetData = { + actor?: string + lineage_seq: number + seq: number + v: number + workflow_id: string +} + +/** + * Host-to-follower lineage break. The follower must resubscribe for fresh state. + */ +export type DocResetFrame = { + data: DocResetData + type: 'doc_reset' +} + +export type DocSubscribedData = { + code?: string /** - * Primary preview output (only present for terminal states) + * Binds a stale-schema refusal to the exact row the client may re-mint. Present only with stale_schema_reseed_required. */ - preview_output?: { - [key: string]: unknown - } + expected_seq?: number /** - * Count of outputs classified as previewable media types (images, video, audio, 3D, text) — a subset of outputs_count (omitted for non-terminal states) + * Current lineage sequence. On an accepted subscription, omission means lineage 0 (the document has not been minted yet). */ - previewable_outputs_count?: number + lineage_seq?: number /** - * User-friendly job status + * Human-readable rejection reason. The generated Go field is named Reason so it does not collide with the frame's Message method. */ - status: 'pending' | 'in_progress' | 'completed' | 'failed' | 'cancelled' + message?: string + ok: boolean /** - * UUID identifying the workflow graph definition + * Current document sequence. On an accepted subscription, omission means sequence 0 (the document has not been minted yet). */ - workflow_id?: string + seq?: number + v: number + workflow_id: string } /** - * Response for POST /api/jobs/cancel. + * Server acknowledgement for a doc_subscribe request. */ -export type JobsCancelResponse = { +export type DocSubscribedFrame = { + data: DocSubscribedData + type: 'doc_subscribed' +} + +export type DocUpdateData = { + actor?: string + lineage_seq: number /** - * Job IDs for which a cancel event was successfully dispatched by this - * call. Jobs already in a terminal or cancelling state are idempotently - * skipped and will not appear here. - * + * Semantic op IDs whose effects are encoded in this live update. Absent on state-vector catch-up updates, which can fold arbitrary history and have no bounded one-frame op set. */ - cancelled: Array + op_ids?: Array + seq: number + /** + * Standard-base64 encoded Yjs update. Host-to-follower only. + */ + update_b64: string + v: number + workflow_id: string } /** - * Request to cancel multiple jobs by ID. + * Host-to-follower incremental Yjs document update. */ -export type JobsCancelRequest = { - /** - * Job identifiers (UUIDs) to cancel. - */ - job_ids: Array +export type DocUpdateFrame = { + data: DocUpdateData + type: 'doc_update' } /** - * Job status information + * Standard error response with a machine-readable code and human-readable message. */ -export type JobStatusResponse = { +export type ErrorResponse = { + code: string /** - * The inference instance assigned to this job (if any) + * Present only on an organization-managed POST /api/workspaces refusal; other errors omit it. */ - assigned_inference?: string | null + denied_reasons?: WorkspaceCreationDenials /** - * When the job was created + * Optional open object carrying structured, machine-readable context about the error (e.g. offending field names, validation specifics). Absent for most errors; consumers must not assume any particular shape. */ - created_at: string + details?: { + [key: string]: unknown + } + message: string /** - * Error message if the job failed + * On `sso_required`: the SSO organization the caller must sign in with (its WorkOS id, `org_...`), the value `GET /api/auth/sso/start?organization=` takes: the organization that owns the account's email domain, else the workspace's. Absent when no sign-in would admit the caller (an account another organization holds, in an SSO organization's workspace), when unknown, and on every other code but `account_outside_organization`, where it is the workspace's organization, which no sign-in of the account joins, and `personal_workspace_disabled`, where it is the organization holding the account. */ - error_message?: string | null + organization_id?: string +} + +/** + * Optional request body for the token exchange endpoint. The Firebase JWT + * being exchanged is supplied via the `Authorization: Bearer` header; this + * body only carries workspace-selection input. + * + */ +export type ExchangeTokenRequest = { /** - * The job ID + * What the token is for. Omitted mints today's workspace token. + * `partner-node` mints a partner-node token: audience + * `comfy-partner-node` only, a `sid` claim naming a new renewable + * session, and the partner-node lifetime. Only a sign-in mints one + * (a Firebase JWT, the web session, or an OAuth access token from a + * client in `PARTNER_NODE_OAUTH_CLIENTS`); an API key gets 403 + * `partner_node_requires_sign_in`. While the mint is switched off + * it is 503 `partner_node_token_disabled`. Any other value is 400 + * `resource_invalid`. + * */ - id: string + resource?: 'partner-node' /** - * When the job status was last changed + * Workspace ID to get token for. Defaults to personal workspace if omitted. */ - last_state_update?: string + workspace_id?: string +} + +/** + * Response containing the issued Cloud JWT and its expiry. + */ +export type ExchangeTokenResponse = { /** - * Current job status + * Token expiration time (RFC 3339) */ - status: - | 'waiting_to_dispatch' - | 'pending' - | 'in_progress' - | 'completed' - | 'error' - | 'cancelled' + expires_at: string /** - * When the job was last updated + * Permission strings for the role */ - updated_at: string + permissions: Array + /** + * User's role in the workspace + */ + role: 'owner' | 'member' + /** + * Cloud JWT token + */ + token: string + /** + * Canonical Comfy user ID the token was minted for: the token's `sub`, + * and the same ID `GET /api/billing/capabilities` returns in + * `resolved_for.user_id`. Clients scope per-user reads with it. It is + * not the Firebase UID, which can differ. + * + */ + user_id: string + workspace: WorkspaceSummary } /** - * An asset produced by a job, enriched with the per-output node context - * (`node_id`, `output_key`, `output_index`) correlated from the job's - * execution outputs by content hash. The node-context fields are null - * when the asset cannot be matched to an output entry. - * + * Detailed execution error information from ComfyUI */ -export type JobOutputAsset = { - /** - * Timestamp when the asset was created - */ - created_at: string +export type ExecutionError = { /** - * Blake3 hash of the asset content. + * Input values at time of failure (empty object if not available) */ - hash?: string + current_inputs: { + [key: string]: unknown + } /** - * Unique identifier for the asset + * Output values at time of failure (empty object if not available) */ - id: string + current_outputs: { + [key: string]: unknown + } /** - * MIME type of the asset + * Human-readable error message */ - mime_type?: string + exception_message: string /** - * Name of the asset file + * Python exception type (e.g., "RuntimeError") */ - name: string + exception_type: string /** - * ID of the workflow node that produced this asset, if known + * ID of the node that failed */ - node_id?: string | null + node_id: string /** - * Zero-based index of this asset within the node's output slot, if known + * Type name of the node (e.g., "KSampler") */ - output_index?: number | null + node_type: string /** - * Output slot key under the producing node (e.g. "images"), if known + * Array of traceback lines (empty array if not available) */ - output_key?: string | null + traceback: Array +} + +/** + * Response containing a signed download URL for an exported asset archive. + */ +export type ExportDownloadUrlResponse = { /** - * Relative URL for asset preview/thumbnail + * When the signed URL expires */ - preview_url?: string + expires_at?: string /** - * Size of the asset in bytes + * Signed URL for downloading the export ZIP file */ - size?: number + url: string } /** - * Where one executed node ran and where its output is shown, as ComfyUI - * records it in the history `meta`. Live `executed` messages carry the - * same `display_node`. - * + * Request to submit user feedback */ -export type JobExecutionMetaEntry = { +export type FeedbackRequest = { /** - * Canvas node id that shows this output + * The feedback content or message */ - display_node?: string + content?: string /** - * Executed node id (the `outputs` key), e.g. `15.0.0.3` for an expanded node + * Additional metadata about the feedback */ - node_id?: string + metadata?: { + [key: string]: unknown + } /** - * Id of the node that expanded this one, or null for a node that was not expanded + * User's rating of ComfyUI Cloud experience (1-5 stars) */ - parent_node?: string | null + rating?: number /** - * Top-level workflow node this node was expanded from (its own id when not expanded) + * Type of feedback being submitted */ - real_node_id?: string + type: 'missing_nodes' | 'general' | 'missing_models' +} + +/** + * Response after submitting feedback + */ +export type FeedbackResponse = { [key: string]: unknown } /** - * Full job details including workflow and outputs + * A 403 body: ErrorResponse, or AuthTypeNotAllowedError for a credential the route does not take. */ -export type JobDetailResponse = { +export type ForbiddenError = ErrorResponse | AuthTypeNotAllowedError + +/** + * Request body for forking an existing workflow into the user's account. + */ +export type ForkWorkflowRequest = { /** - * Job creation timestamp (Unix timestamp in milliseconds) + * Name for the forked workflow */ - create_time: number + name?: string /** - * Where a platform_gateway job ran. Absent for cloud_inference jobs. Also absent when the platform has not taken the job, refused it, failed before dispatch, or removed its platform record; when the record names no deployment; or when that record could not be read. Absence does not mean the job is pending: use status for its state. A failed job can retain executor=platform_gateway without a known deployment. No deployment is inferred from the caller's current pick. + * Version number to fork from */ - deployment?: JobDeployment + source_version: number +} + +/** + * List of user data file entries (each with path, size, and modification time) returned when full_info=true. + */ +export type GetUserDataResponseFull = Array + +/** + * Individual file entry within a full user data response. + */ +export type GetUserDataResponseFullFile = { /** - * Workflow execution completion timestamp (Unix milliseconds, only present for terminal states) + * UNIX timestamp of the last modification in milliseconds. */ - execution_end_time?: number + modified?: number /** - * Detailed execution error from ComfyUI (only for failed jobs with structured error data) + * File name or path relative to the user directory. */ - execution_error?: ExecutionError + path?: string /** - * Node-level execution metadata (only for terminal states), keyed by - * the executed node id, the same keys as `outputs`. Each entry says - * which canvas node shows that node's output, which matters for nodes - * that ComfyUI expands at run time (their executed id, such as - * `15.0.0.3`, is not on the canvas). - * + * File size in bytes. */ - execution_meta?: { - [key: string]: JobExecutionMetaEntry - } + size?: number +} + +/** + * A stored setting: one GlobalSettingValue member plus when it last changed. Discriminated on `key` like GlobalSettingValue, so narrowing a read yields the same single value schema a write is typed by. + */ +export type GlobalSetting = StoredAgentConsentSetting + +/** + * The union of setting keys this server accepts. Published as an enum so clients cannot address a key the registry does not know. + */ +export type GlobalSettingKey = 'Comfy.AgentPanel.ConsentAccepted' + +/** + * The last-changed timestamp every stored setting carries. + */ +export type GlobalSettingUpdatedAt = { /** - * Workflow execution start timestamp (Unix milliseconds, only present once execution has started) + * When this value was last changed. A write that stores the value already present changes nothing and leaves this alone. */ - execution_start_time?: number + updated_at: string +} + +/** + * A setting key with its value, discriminated on `key`. Narrowing on the key yields exactly one value schema, which is what gives writes their type safety. + */ +export type GlobalSettingValue = AgentConsentSettingValue + +/** + * Full data for a global subgraph blueprint + */ +export type GlobalSubgraphData = { /** - * ComfyUI execution status and timeline (only for terminal states) + * The full subgraph JSON data as a string */ - execution_status?: { - [key: string]: unknown - } + data: string /** - * What ran the job: cloud_inference is Comfy Cloud's own GPUs; platform_gateway is a deployment of the workspace's own Build, which deployment names. + * Additional information about the subgraph */ - executor?: 'cloud_inference' | 'platform_gateway' + info: { + /** + * The node pack/module that provides this subgraph + */ + node_pack: string + } /** - * Unique job identifier + * Display name of the subgraph blueprint */ - id: string + name: string /** - * Full outputs object from ComfyUI (only for terminal states) + * Source type of the subgraph - "templates" for workflow templates or "custom_node" for custom node subgraphs */ - outputs?: { - [key: string]: unknown + source: string +} + +/** + * Metadata for a global subgraph blueprint (without full data) + */ +export type GlobalSubgraphInfo = { + /** + * The full subgraph JSON data (may be empty in list view) + */ + data?: string + /** + * Additional information about the subgraph + */ + info: { + /** + * The node pack/module that provides this subgraph + */ + node_pack: string } /** - * Total number of output files (omitted for non-terminal states) + * Display name of the subgraph blueprint */ - outputs_count?: number + name: string /** - * Primary preview output (only for terminal states) + * Source type of the subgraph - "templates" for workflow templates or "custom_node" for custom node subgraphs */ - preview_output?: { + source: string +} + +/** + * History entry with full prompt data. The workflow graph (extra_data.extra_pnginfo) is omitted from records persisted after it stopped being stored; older records may still contain it. + */ +export type HistoryDetailEntry = { + /** + * Metadata about the execution and nodes + */ + meta?: { [key: string]: unknown } /** - * Count of outputs classified as previewable media types (images, video, audio, 3D, text) — a subset of outputs_count (omitted for non-terminal states) + * Output data from execution (generated images, files, etc.) */ - previewable_outputs_count?: number + outputs?: { + [key: string]: unknown + } /** - * 1-based position of this job among the caller's OWN jobs held - * behind the same concurrency cap (same user, workspace and auth - * method), in the dispatcher's admission order — i.e. the number of - * the caller's own capped jobs that will be admitted before this - * one, plus one. It is NOT a fleet-wide queue position and says - * nothing about other users' jobs. (For an admin reading someone - * else's job, the set is that job owner's, not the admin's — the - * same scoping `workspace_id`/`user_id` already describe.) - * - * Null unless `queue_reason` is `concurrency_limit`. May also be - * null in that state on the rare rows whose admission ordering - * cannot be determined (no recorded state-change timestamp), or if - * the count query fails — a missing position never fails the - * request. - * + * Full prompt execution data */ - queue_position?: number | null + prompt?: { + /** + * Additional execution data. extra_pnginfo (the workflow graph) is omitted from records persisted after it stopped being stored; older records may still contain it. + */ + extra_data?: { + [key: string]: unknown + } + /** + * Output nodes to execute + */ + outputs_to_execute?: Array + /** + * Execution priority + */ + priority?: number + /** + * The workflow nodes + */ + prompt?: { + [key: string]: unknown + } + /** + * The prompt ID + */ + prompt_id?: string + } /** - * Why a still-queued job has not started yet. Present only while - * `status` is `pending`; null for every other status. - * - * `status` deliberately folds every waiting state into `pending` - * (the frontend's filter categories depend on that), so this field - * is the one that tells the two kinds of waiting apart: - * - * - `concurrency_limit` — the job is awaiting admission under the - * per-user/per-auth-method or aggregate workspace concurrent-job - * cap. Other members' running jobs can fill the workspace cap - * even when this job's owner has no running jobs. This field - * does not distinguish which cap is full. - * - `capacity` — the job has passed concurrency admission and is - * waiting for an inference worker to become free. - * - * Detail-only: this field is NOT present on the list view's - * `JobEntry`, because deriving `queue_position` for a page of jobs - * would cost one extra query per row. - * + * Execution status and timeline information */ - queue_reason?: 'concurrency_limit' | 'capacity' + status?: { + [key: string]: unknown + } +} + +/** + * Detailed execution history response for a specific prompt. + * Returns a dictionary with prompt_id as key and full history data as value. + * + */ +export type HistoryDetailResponse = { + [key: string]: HistoryDetailEntry +} + +/** + * History entry with prompt_id and execution data + */ +export type HistoryEntry = { /** - * User-friendly job status + * Job creation timestamp (Unix timestamp in milliseconds) */ - status: 'pending' | 'in_progress' | 'completed' | 'failed' | 'cancelled' + create_time?: number /** - * Last update timestamp (Unix timestamp in milliseconds) + * Metadata about the execution and nodes */ - update_time: number + meta?: { + [key: string]: unknown + } /** - * ID of the user that owns this job (see the `workspace_id` - * description above for why this is always the caller's own id - * on a successful response). - * + * Output data from execution (generated images, files, etc.) */ - user_id?: string + outputs?: { + [key: string]: unknown + } /** - * Full ComfyUI workflow (10-100KB, omitted if not available). - * - * Sensitive credentials are redacted before the response is returned: - * `extra_data.api_key_comfy_org`, when present, is replaced with the - * literal string `"[REDACTED]"`. The field is preserved (not removed) - * so existence checks still pass, but the value is not usable. - * + * Filtered prompt execution data (lightweight format) */ - workflow?: { - [key: string]: unknown + prompt?: { + /** + * Additional execution data (workflow removed from extra_pnginfo) + */ + extra_data?: { + [key: string]: unknown + } + /** + * Execution priority + */ + priority?: number + /** + * The prompt ID + */ + prompt_id?: string } /** - * UUID identifying the workflow graph definition + * Unique identifier for this prompt execution */ - workflow_id?: string + prompt_id: string /** - * UUID of the cloud workflow version this job is pinned to, if the - * submission carried one (see PromptRequest's workflow_version_id). - * Absent for jobs submitted without that association, including - * every job submitted through the public API v2 today. - * + * Execution status and timeline information */ - workflow_version_id?: string + status?: { + [key: string]: unknown + } /** - * ID of the workspace that owns this job. A successful (200) - * response from this operation is only ever returned for the - * caller's own job (see this operation's ownership-scoped - * query), so this is always the caller's own workspace — - * consumers that also need to correlate this job to its - * live-progress broadcast channel (workspace+user scoped; see - * the internal common/gateways/broadcast package) can use this - * value directly rather than resolving their own identity a - * second way. - * + * UUID identifying the workflow graph definition */ - workspace_id?: string + workflow_id?: string } /** - * Response for POST /api/jobs/{job_id}/cancel. Returned on both fresh cancels and idempotent no-ops. + * Request to manage history operations */ -export type JobCancelResponse = { +export type HistoryManageRequest = { /** - * True when a cancel event was successfully dispatched by this call. - * False when the job was already in a terminal or cancelling state, - * in which case the call is a no-op (still 200 — idempotent). - * + * If true, clear all history for the authenticated user */ - cancelled: boolean + clear?: boolean + /** + * Array of job IDs to delete from history + */ + delete?: Array } /** - * Paginated list of the assets produced by a single job. + * Execution history response with history array. + * Returns an object with a "history" key containing an array of history entries. + * Each entry includes prompt_id as a property along with execution data. + * */ -export type JobAssetsResponse = { - /** - * The job's output assets for the requested page (empty when the job produced none) - */ - assets: Array +export type HistoryResponse = { /** - * ID of the job these assets belong to + * Array of history entries ordered by creation time (newest first) */ - job_id: string - pagination: PaginationInfo + history: Array } -/** - * Pay once with exactly one new-card confirmation token or explicitly selected attached card. Keep the exact request and key on retry; never fall back to the on-file route. - */ -export type InteractiveTopupRequest = { +export type HostedTopupCheckout = { /** - * Nominal credit purchase in USD cents, excluding tax and discounts; at most `max_topup_cents` on GET /api/billing/balance. Actual payment and credit grant are asynchronous. + * Original credit purchase amount before promotions, not the settled payment amount. */ amount_cents: number /** - * Client-minted identifier for one checkout attempt, generated when - * the customer starts checkout and sent on every request and - * analytics event of that attempt. Purely for observability: it is - * what joins the frontend funnel (which emits events before any - * billing op exists) to the backend outcome. Expected to match - * ^[A-Za-z0-9_-]{1,64}$; a present value that does not is ignored, - * never rejected, so the constraint is intentionally not declared - * here as pattern/maxLength -- either would make a conforming - * client or request validator reject the request before the backend - * ever applies that "ignored, not rejected" behavior. + * Actual USD Stripe total after promotions, including a confirmed fully discounted zero. Null when unavailable; use this for payment messages, not amount_cents. + */ + payment_amount_cents: number | null + session_id: string + /** + * open means payment has not completed; payment_processing means Checkout completed but payment is not settled; credits_applying means payment is confirmed (including a fully discounted purchase) but the durable credit grant is not yet recorded; fulfilled confirms that grant. expired is an unpaid expired link; failed is a completed checkout whose delayed payment failed. A failed credit grant remains credits_applying until fulfillment succeeds. Render this fact; do not infer payment from a return redirect or Checkout completion. * */ - checkout_attempt_id?: string + state: + | 'open' + | 'payment_processing' + | 'credits_applying' + | 'fulfilled' + | 'expired' + | 'failed' +} + +export type HostedTopupCheckoutList = { + checkouts: Array /** - * New-card confirmation authority. Valid only on the dedicated interactive route; mutually exclusive with saved_payment_method_id. At most 255 UTF-8 bytes. No implicit saving. + * Opaque cursor for the next page, null when exhausted. */ - confirmation_token?: string + next_cursor: string | null +} + +/** + * Durable discovery record only. Fetch the session endpoint for current payment and credit-fulfillment state; a summary proves neither. An unavailable session remains discoverable without hiding other rows. + * + */ +export type HostedTopupCheckoutSummary = { + amount_cents: number + created_at: string + session_id: string +} + +/** + * Request body for requesting a signed upload URL for a Hub asset. + */ +export type HubAssetUploadUrlRequest = { /** - * Required globally unique opaque key for this exact purchase (for example, a UUID), at most 255 UTF-8 bytes. Replays bind amount, actor, customer, selected authority and return URL; changing them returns IDEMPOTENCY_MISMATCH. Never mint a new key while payment is unresolved. + * MIME type of the file (e.g. "image/jpeg", "video/mp4"). Validated against a whitelist; the canonical file extension is derived from this value. * */ - idempotency_key: string + content_type: string /** - * Valid only on the interactive route. True is currently rejected; paying does not change invoice defaults. + * Original filename for display purposes. Not used in the storage key. */ - make_default?: boolean + filename: string +} + +/** + * Response containing a signed upload URL and the target asset path. + */ +export type HubAssetUploadUrlResponse = { /** - * Required with confirmation_token; at most 2048 bytes before and after URL normalization. Must use an existing allowed HTTPS destination (HTTP only for configured localhost or 127.0.0.1). Bound to the request. Callers must supply credential-free routing URLs: the validator rejects userinfo, fragments, known authentication query keys and recognizable Stripe authority patterns, but cannot identify every opaque secret. - * + * The public URL where the file will be accessible after upload. */ - return_url?: string + public_url: string /** - * Valid only on the interactive route. True is currently rejected; pay once does not save a new card. + * Signed token to pass in the publish request. Has a server-determined TTL. */ - save_payment_method?: boolean + token: string /** - * Explicit attached card selection, at most 255 UTF-8 bytes. Valid only on the dedicated interactive route; never changes the invoice default. + * Presigned R2 URL for uploading the file via PUT. */ - saved_payment_method_id?: string + upload_url: string } /** - * Request body for minting an input-image, input-audio or input-video upload grant. + * Metadata for a single Hub label. */ -export type InputUploadUrlRequest = { +export type HubLabelInfo = { /** - * MIME type of the file to upload. Must be one of the image types - * image/jpeg, image/png, image/webp, image/gif, the audio types - * audio/mpeg, audio/mp3, audio/wav, audio/wave, audio/x-wav, - * audio/flac, audio/x-flac, audio/ogg, or the video types video/mp4, - * video/webm, video/quicktime. - * Advisory: the stored asset's format always follows the uploaded - * bytes as identified server-side (decoded for images, sniffed for - * audio and video containers). - * + * Optional description of the label. */ - content_type: string + description?: string + /** + * Human-readable display name. + */ + display_name: string + /** + * Slug identifier. + */ + name: string + /** + * Label category. + */ + type: 'tag' | 'model' | 'custom_node' } /** - * Result of redeeming an input-image upload grant. Identical in shape to - * the POST /api/upload/image response. - * + * List of available Hub labels for categorizing workflows. */ -export type InputUploadResponse = { +export type HubLabelListResponse = { /** - * Content hash of the stored input image. + * Available labels filtered by type (or all if no type specified). */ - name: string + labels: Array +} + +/** + * Full public profile for a Hub creator. + */ +export type HubProfile = { /** - * Subfolder path where the image was saved (empty for input uploads). + * Public URL of the profile avatar image. */ - subfolder: string + avatar_url?: string + description?: string + display_name?: string + username: string /** - * Upload type; always "input". + * List of website URLs. */ - type: string + website_urls?: Array } /** - * Response after importing published workflow assets. + * Abbreviated Hub profile used in workflow listings. */ -export type ImportPublishedAssetsResponse = { +export type HubProfileSummary = { + /** + * Public URL of the profile avatar image. + */ + avatar_url?: string + display_name?: string + username: string +} + +/** + * Response indicating whether a Hub username is available. + */ +export type HubUsernameCheckResponse = { + /** + * Whether the username is available for the caller's workspace. + */ + available: boolean + /** + * Up to 5 available alternative usernames (only present when unavailable). + */ + suggestions?: Array + /** + * The username that was checked. + */ + username: string + /** + * If the username format is invalid, describes the format requirement. + */ + validation_error?: string +} + +/** + * Full Hub workflow detail including versions, assets, and statistics. + */ +export type HubWorkflowDetail = { + /** + * Published assets. Each asset's id is the published asset ID (not the original private asset ID). + */ assets: Array + custom_nodes?: Array + description?: string + /** + * Whether App Mode is this workflow's default view. + */ + is_app: boolean + metadata?: { + [key: string]: unknown + } + models?: Array + name: string + profile: HubProfileSummary + publish_time?: string | null + sample_image_urls?: Array + share_id: string + status: HubWorkflowStatus + tags?: Array + thumbnail_comparison_url?: string + thumbnail_type?: 'image' | 'video' | 'image_comparison' + thumbnail_url?: string + tutorial_url?: string + workflow_id: string + workflow_json: { + [key: string]: unknown + } } /** - * Request body for importing assets from a published workflow. + * Paginated list of Hub workflows matching search criteria. */ -export type ImportPublishedAssetsRequest = { +export type HubWorkflowListResponse = { /** - * IDs of published assets (inputs and models) to import. + * Cursor for the next page, empty if no more results. */ - published_asset_ids: Array + next_cursor?: string /** - * Optional. Share ID of the published workflow these assets belong to. - * When provided (non-null, non-empty): all published_asset_ids must - * belong to this share's workflow version; returns - * 400/CodeInvalidAssets if the share is not found or any asset does - * not belong to it. - * When omitted, null, or empty string: no share-scoped validation is - * performed and the assets are validated only against global rules - * (legacy behaviour, preserved for clients that have not yet adopted - * share_id). - * + * Array of HubWorkflowSummary (default) or HubWorkflowDetail (when detail=true). */ - share_id?: string | null + workflows: Array +} + +/** + * Public workflow status. NULL in the database is represented as pending in API responses. + */ +export type HubWorkflowStatus = + | 'pending' + | 'approved' + | 'rejected' + | 'deprecated' + +/** + * Abbreviated Hub workflow metadata used in search and listing results. + */ +export type HubWorkflowSummary = { + custom_nodes?: Array + description?: string + /** + * Whether App Mode is this workflow's default view. + */ + is_app: boolean + metadata?: { + [key: string]: unknown + } + models?: Array + name: string + profile: HubProfileSummary + publish_time?: string | null + sample_image_urls?: Array + share_id: string + status: HubWorkflowStatus + tags?: Array + thumbnail_comparison_url?: string + thumbnail_type?: 'image' | 'video' | 'image_comparison' + thumbnail_url?: string + tutorial_url?: string } /** @@ -4072,4453 +5026,3659 @@ export type HubWorkflowTemplateEntry = { } /** - * Public workflow status. NULL in the database is represented as pending in API responses. + * Request body for importing assets from a published workflow. */ -export type HubWorkflowStatus = - | 'pending' - | 'approved' - | 'rejected' - | 'deprecated' - -/** - * Abbreviated Hub profile used in workflow listings. - */ -export type HubProfileSummary = { +export type ImportPublishedAssetsRequest = { /** - * Public URL of the profile avatar image. + * IDs of published assets (inputs and models) to import. */ - avatar_url?: string - display_name?: string - username: string + published_asset_ids: Array + /** + * Optional. Share ID of the published workflow these assets belong to. + * When provided (non-null, non-empty): all published_asset_ids must + * belong to this share's workflow version; returns + * 400/CodeInvalidAssets if the share is not found or any asset does + * not belong to it. + * When omitted, null, or empty string: no share-scoped validation is + * performed and the assets are validated only against global rules + * (legacy behaviour, preserved for clients that have not yet adopted + * share_id). + * + */ + share_id?: string | null } /** - * Abbreviated Hub workflow metadata used in search and listing results. + * Response after importing published workflow assets. */ -export type HubWorkflowSummary = { - custom_nodes?: Array - description?: string - /** - * Whether App Mode is this workflow's default view. - */ - is_app: boolean - metadata?: { - [key: string]: unknown - } - models?: Array - name: string - profile: HubProfileSummary - publish_time?: string | null - sample_image_urls?: Array - share_id: string - status: HubWorkflowStatus - tags?: Array - thumbnail_comparison_url?: string - thumbnail_type?: 'image' | 'video' | 'image_comparison' - thumbnail_url?: string - tutorial_url?: string +export type ImportPublishedAssetsResponse = { + assets: Array } /** - * Paginated list of Hub workflows matching search criteria. + * Result of redeeming an input-image upload grant. Identical in shape to + * the POST /api/upload/image response. + * */ -export type HubWorkflowListResponse = { +export type InputUploadResponse = { /** - * Cursor for the next page, empty if no more results. + * Content hash of the stored input image. */ - next_cursor?: string + name: string /** - * Array of HubWorkflowSummary (default) or HubWorkflowDetail (when detail=true). + * Subfolder path where the image was saved (empty for input uploads). */ - workflows: Array + subfolder: string + /** + * Upload type; always "input". + */ + type: string } /** - * Full Hub workflow detail including versions, assets, and statistics. + * Request body for minting an input-image, input-audio or input-video upload grant. */ -export type HubWorkflowDetail = { - /** - * Published assets. Each asset's id is the published asset ID (not the original private asset ID). - */ - assets: Array - custom_nodes?: Array - description?: string +export type InputUploadUrlRequest = { /** - * Whether App Mode is this workflow's default view. + * MIME type of the file to upload. Must be one of the image types + * image/jpeg, image/png, image/webp, image/gif, the audio types + * audio/mpeg, audio/mp3, audio/wav, audio/wave, audio/x-wav, + * audio/flac, audio/x-flac, audio/ogg, or the video types video/mp4, + * video/webm, video/quicktime. + * Advisory: the stored asset's format always follows the uploaded + * bytes as identified server-side (decoded for images, sniffed for + * audio and video containers). + * */ - is_app: boolean - metadata?: { - [key: string]: unknown - } - models?: Array - name: string - profile: HubProfileSummary - publish_time?: string | null - sample_image_urls?: Array - share_id: string - status: HubWorkflowStatus - tags?: Array - thumbnail_comparison_url?: string - thumbnail_type?: 'image' | 'video' | 'image_comparison' - thumbnail_url?: string - tutorial_url?: string - workflow_id: string - workflow_json: { - [key: string]: unknown - } + content_type: string } /** - * Response indicating whether a Hub username is available. + * Pay once with exactly one new-card confirmation token or explicitly selected attached card. Keep the exact request and key on retry; never fall back to the on-file route. */ -export type HubUsernameCheckResponse = { +export type InteractiveTopupRequest = { /** - * Whether the username is available for the caller's workspace. + * Nominal credit purchase in USD cents, excluding tax and discounts; at most `max_topup_cents` on GET /api/billing/balance. Actual payment and credit grant are asynchronous. */ - available: boolean + amount_cents: number /** - * Up to 5 available alternative usernames (only present when unavailable). + * Client-minted identifier for one checkout attempt, generated when + * the customer starts checkout and sent on every request and + * analytics event of that attempt. Purely for observability: it is + * what joins the frontend funnel (which emits events before any + * billing op exists) to the backend outcome. Expected to match + * ^[A-Za-z0-9_-]{1,64}$; a present value that does not is ignored, + * never rejected, so the constraint is intentionally not declared + * here as pattern/maxLength -- either would make a conforming + * client or request validator reject the request before the backend + * ever applies that "ignored, not rejected" behavior. + * */ - suggestions?: Array + checkout_attempt_id?: string /** - * The username that was checked. + * New-card confirmation authority. Valid only on the dedicated interactive route; mutually exclusive with saved_payment_method_id. At most 255 UTF-8 bytes. No implicit saving. */ - username: string + confirmation_token?: string /** - * If the username format is invalid, describes the format requirement. + * Required globally unique opaque key for this exact purchase (for example, a UUID), at most 255 UTF-8 bytes. Replays bind amount, actor, customer, selected authority and return URL; changing them returns IDEMPOTENCY_MISMATCH. Never mint a new key while payment is unresolved. + * */ - validation_error?: string + idempotency_key: string + /** + * Valid only on the interactive route. True is currently rejected; paying does not change invoice defaults. + */ + make_default?: boolean + /** + * Required with confirmation_token; at most 2048 bytes before and after URL normalization. Must use an existing allowed HTTPS destination (HTTP only for configured localhost or 127.0.0.1). Bound to the request. Callers must supply credential-free routing URLs: the validator rejects userinfo, fragments, known authentication query keys and recognizable Stripe authority patterns, but cannot identify every opaque secret. + * + */ + return_url?: string + /** + * Valid only on the interactive route. True is currently rejected; pay once does not save a new card. + */ + save_payment_method?: boolean + /** + * Explicit attached card selection, at most 255 UTF-8 bytes. Valid only on the dedicated interactive route; never changes the invoice default. + */ + saved_payment_method_id?: string } /** - * Full public profile for a Hub creator. + * Paginated list of the assets produced by a single job. */ -export type HubProfile = { +export type JobAssetsResponse = { /** - * Public URL of the profile avatar image. + * The job's output assets for the requested page (empty when the job produced none) */ - avatar_url?: string - description?: string - display_name?: string - username: string + assets: Array /** - * List of website URLs. + * ID of the job these assets belong to */ - website_urls?: Array + job_id: string + pagination: PaginationInfo } /** - * List of available Hub labels for categorizing workflows. + * Response for POST /api/jobs/{job_id}/cancel. Returned on both fresh cancels and idempotent no-ops. */ -export type HubLabelListResponse = { +export type JobCancelResponse = { /** - * Available labels filtered by type (or all if no type specified). + * True when a cancel event was successfully dispatched by this call. + * False when the job was already in a terminal or cancelling state, + * in which case the call is a no-op (still 200 — idempotent). + * */ - labels: Array + cancelled: boolean } /** - * Metadata for a single Hub label. + * The deployment a job ran on and the Release it ran, as they were when the job was sent: deployment_id and release_id stay the same after the deployment is updated to another Release or deleted. build_name and release_version are read from comfy-builder when the job is read, so a renamed Build shows its new name within a few minutes. */ -export type HubLabelInfo = { +export type JobDeployment = { /** - * Optional description of the label. + * The name of the Build the Release was cut from, as comfy-builder names it now. Absent when it is not named for this caller: an API-key caller, a caller reading a job outside their active workspace (an admin reading another workspace's job), comfy-builder not configured on this server, minting the token to ask comfy-builder failing, comfy-builder failing or not answering in time, or a Release or Build since deleted. */ - description?: string + build_name?: string /** - * Human-readable display name. + * Developer-platform deployment id. */ - display_name: string + deployment_id: string /** - * Slug identifier. + * The deployment's own name from comfy-deploy, including for a deleted deployment. Read when the job is read and cached for five minutes, so a rename appears after the cache expires; not a job-time snapshot. Absent for unnamed or unavailable deployments, API-key callers, jobs outside the caller's active workspace, or when the service or token mint is unavailable. Does not replace build_name or the stable IDs. */ - name: string + name?: string /** - * Label category. + * The Release the job ran. */ - type: 'tag' | 'model' | 'custom_node' + release_id: string + /** + * The Release's version number within its Build. Absent whenever build_name is. + */ + release_version?: number } /** - * Response containing a signed upload URL and the target asset path. + * Full job details including workflow and outputs */ -export type HubAssetUploadUrlResponse = { +export type JobDetailResponse = { /** - * The public URL where the file will be accessible after upload. + * Job creation timestamp (Unix timestamp in milliseconds) */ - public_url: string + create_time: number /** - * Signed token to pass in the publish request. Has a server-determined TTL. + * Where a platform_gateway job ran. Absent for cloud_inference jobs. Also absent when the platform has not taken the job, refused it, failed before dispatch, or removed its platform record; when the record names no deployment; or when that record could not be read. Absence does not mean the job is pending: use status for its state. A failed job can retain executor=platform_gateway without a known deployment. No deployment is inferred from the caller's current pick. */ - token: string + deployment?: JobDeployment /** - * Presigned R2 URL for uploading the file via PUT. + * Workflow execution completion timestamp (Unix milliseconds, only present for terminal states) */ - upload_url: string -} - -/** - * Request body for requesting a signed upload URL for a Hub asset. - */ -export type HubAssetUploadUrlRequest = { + execution_end_time?: number /** - * MIME type of the file (e.g. "image/jpeg", "video/mp4"). Validated against a whitelist; the canonical file extension is derived from this value. + * Detailed execution error from ComfyUI (only for failed jobs with structured error data) + */ + execution_error?: ExecutionError + /** + * Node-level execution metadata (only for terminal states), keyed by + * the executed node id, the same keys as `outputs`. Each entry says + * which canvas node shows that node's output, which matters for nodes + * that ComfyUI expands at run time (their executed id, such as + * `15.0.0.3`, is not on the canvas). * */ - content_type: string + execution_meta?: { + [key: string]: JobExecutionMetaEntry + } /** - * Original filename for display purposes. Not used in the storage key. + * Workflow execution start timestamp (Unix milliseconds, only present once execution has started) */ - filename: string -} - -/** - * Durable discovery record only. Fetch the session endpoint for current payment and credit-fulfillment state; a summary proves neither. An unavailable session remains discoverable without hiding other rows. - * - */ -export type HostedTopupCheckoutSummary = { - amount_cents: number - created_at: string - session_id: string -} - -export type HostedTopupCheckoutList = { - checkouts: Array - /** - * Opaque cursor for the next page, null when exhausted. - */ - next_cursor: string | null -} - -export type HostedTopupCheckout = { + execution_start_time?: number /** - * Original credit purchase amount before promotions, not the settled payment amount. + * ComfyUI execution status and timeline (only for terminal states) */ - amount_cents: number + execution_status?: { + [key: string]: unknown + } /** - * Actual USD Stripe total after promotions, including a confirmed fully discounted zero. Null when unavailable; use this for payment messages, not amount_cents. + * What ran the job: cloud_inference is Comfy Cloud's own GPUs; platform_gateway is a deployment of the workspace's own Build, which deployment names. */ - payment_amount_cents: number | null - session_id: string + executor?: 'cloud_inference' | 'platform_gateway' /** - * open means payment has not completed; payment_processing means Checkout completed but payment is not settled; credits_applying means payment is confirmed (including a fully discounted purchase) but the durable credit grant is not yet recorded; fulfilled confirms that grant. expired is an unpaid expired link; failed is a completed checkout whose delayed payment failed. A failed credit grant remains credits_applying until fulfillment succeeds. Render this fact; do not infer payment from a return redirect or Checkout completion. - * + * Unique job identifier */ - state: - | 'open' - | 'payment_processing' - | 'credits_applying' - | 'fulfilled' - | 'expired' - | 'failed' -} - -/** - * Execution history response with history array. - * Returns an object with a "history" key containing an array of history entries. - * Each entry includes prompt_id as a property along with execution data. - * - */ -export type HistoryResponse = { + id: string /** - * Array of history entries ordered by creation time (newest first) + * Full outputs object from ComfyUI (only for terminal states) */ - history: Array -} - -/** - * History entry with prompt_id and execution data - */ -export type HistoryEntry = { + outputs?: { + [key: string]: unknown + } /** - * Job creation timestamp (Unix timestamp in milliseconds) + * Total number of output files (omitted for non-terminal states) */ - create_time?: number + outputs_count?: number /** - * Metadata about the execution and nodes + * Primary preview output (only for terminal states) */ - meta?: { + preview_output?: { [key: string]: unknown } /** - * Output data from execution (generated images, files, etc.) + * Count of outputs classified as previewable media types (images, video, audio, 3D, text) — a subset of outputs_count (omitted for non-terminal states) */ - outputs?: { - [key: string]: unknown - } + previewable_outputs_count?: number /** - * Filtered prompt execution data (lightweight format) + * 1-based position of this job among the caller's OWN jobs held + * behind the same concurrency cap (same user, workspace and auth + * method), in the dispatcher's admission order — i.e. the number of + * the caller's own capped jobs that will be admitted before this + * one, plus one. It is NOT a fleet-wide queue position and says + * nothing about other users' jobs. (For an admin reading someone + * else's job, the set is that job owner's, not the admin's — the + * same scoping `workspace_id`/`user_id` already describe.) + * + * Null unless `queue_reason` is `concurrency_limit`. May also be + * null in that state on the rare rows whose admission ordering + * cannot be determined (no recorded state-change timestamp), or if + * the count query fails — a missing position never fails the + * request. + * */ - prompt?: { - /** - * Additional execution data (workflow removed from extra_pnginfo) - */ - extra_data?: { - [key: string]: unknown - } - /** - * Execution priority - */ - priority?: number - /** - * The prompt ID - */ - prompt_id?: string - } + queue_position?: number | null /** - * Unique identifier for this prompt execution + * Why a still-queued job has not started yet. Present only while + * `status` is `pending`; null for every other status. + * + * `status` deliberately folds every waiting state into `pending` + * (the frontend's filter categories depend on that), so this field + * is the one that tells the two kinds of waiting apart: + * + * - `concurrency_limit` — the job is awaiting admission under the + * per-user/per-auth-method or aggregate workspace concurrent-job + * cap. Other members' running jobs can fill the workspace cap + * even when this job's owner has no running jobs. This field + * does not distinguish which cap is full. + * - `capacity` — the job has passed concurrency admission and is + * waiting for an inference worker to become free. + * + * Detail-only: this field is NOT present on the list view's + * `JobEntry`, because deriving `queue_position` for a page of jobs + * would cost one extra query per row. + * */ - prompt_id: string + queue_reason?: 'concurrency_limit' | 'capacity' /** - * Execution status and timeline information + * User-friendly job status */ - status?: { + status: 'pending' | 'in_progress' | 'completed' | 'failed' | 'cancelled' + /** + * Last update timestamp (Unix timestamp in milliseconds) + */ + update_time: number + /** + * ID of the user that owns this job (see the `workspace_id` + * description above for why this is always the caller's own id + * on a successful response). + * + */ + user_id?: string + /** + * Full ComfyUI workflow (10-100KB, omitted if not available). + * + * Sensitive credentials are redacted before the response is returned: + * `extra_data.api_key_comfy_org`, when present, is replaced with the + * literal string `"[REDACTED]"`. The field is preserved (not removed) + * so existence checks still pass, but the value is not usable. + * + */ + workflow?: { [key: string]: unknown } /** * UUID identifying the workflow graph definition */ workflow_id?: string -} - -/** - * Request to manage history operations - */ -export type HistoryManageRequest = { /** - * If true, clear all history for the authenticated user + * UUID of the cloud workflow version this job is pinned to, if the + * submission carried one (see PromptRequest's workflow_version_id). + * Absent for jobs submitted without that association, including + * every job submitted through the public API v2 today. + * */ - clear?: boolean + workflow_version_id?: string /** - * Array of job IDs to delete from history + * ID of the workspace that owns this job. A successful (200) + * response from this operation is only ever returned for the + * caller's own job (see this operation's ownership-scoped + * query), so this is always the caller's own workspace — + * consumers that also need to correlate this job to its + * live-progress broadcast channel (workspace+user scoped; see + * the internal common/gateways/broadcast package) can use this + * value directly rather than resolving their own identity a + * second way. + * */ - delete?: Array -} - -/** - * Detailed execution history response for a specific prompt. - * Returns a dictionary with prompt_id as key and full history data as value. - * - */ -export type HistoryDetailResponse = { - [key: string]: HistoryDetailEntry + workspace_id?: string } /** - * History entry with full prompt data. The workflow graph (extra_data.extra_pnginfo) is omitted from records persisted after it stopped being stored; older records may still contain it. + * Lightweight job data for list views (workflow and full outputs excluded) */ -export type HistoryDetailEntry = { +export type JobEntry = { /** - * Metadata about the execution and nodes + * Job creation timestamp (Unix timestamp in milliseconds) */ - meta?: { - [key: string]: unknown - } + create_time: number /** - * Output data from execution (generated images, files, etc.) + * Where a platform_gateway job ran. Absent for cloud_inference jobs. Also absent when the platform has not taken the job, refused it, failed before dispatch, or removed its platform record; when the record names no deployment; or when that record could not be read. Absence does not mean the job is pending: use status for its state. A failed job can retain executor=platform_gateway without a known deployment. No deployment is inferred from the caller's current pick. */ - outputs?: { - [key: string]: unknown - } + deployment?: JobDeployment /** - * Full prompt execution data + * Workflow execution completion timestamp (Unix milliseconds, only present for terminal states) */ - prompt?: { - /** - * Additional execution data. extra_pnginfo (the workflow graph) is omitted from records persisted after it stopped being stored; older records may still contain it. - */ - extra_data?: { - [key: string]: unknown - } - /** - * Output nodes to execute - */ - outputs_to_execute?: Array - /** - * Execution priority - */ - priority?: number - /** - * The workflow nodes - */ - prompt?: { - [key: string]: unknown - } - /** - * The prompt ID - */ - prompt_id?: string - } + execution_end_time?: number /** - * Execution status and timeline information + * Detailed execution error from ComfyUI (only for failed jobs with structured error data) */ - status?: { - [key: string]: unknown - } -} - -/** - * Metadata for a global subgraph blueprint (without full data) - */ -export type GlobalSubgraphInfo = { + execution_error?: ExecutionError /** - * The full subgraph JSON data (may be empty in list view) + * Workflow execution start timestamp (Unix milliseconds, only present for terminal states) */ - data?: string + execution_start_time?: number /** - * Additional information about the subgraph + * What ran the job: cloud_inference is Comfy Cloud's own GPUs; platform_gateway is a deployment of the workspace's own Build, which deployment names. */ - info: { - /** - * The node pack/module that provides this subgraph - */ - node_pack: string - } + executor?: 'cloud_inference' | 'platform_gateway' /** - * Display name of the subgraph blueprint + * Unique job identifier */ - name: string + id: string /** - * Source type of the subgraph - "templates" for workflow templates or "custom_node" for custom node subgraphs + * Total number of output files (omitted for non-terminal states) */ - source: string -} - -/** - * Full data for a global subgraph blueprint - */ -export type GlobalSubgraphData = { + outputs_count?: number /** - * The full subgraph JSON data as a string + * Primary preview output (only present for terminal states) */ - data: string + preview_output?: { + [key: string]: unknown + } /** - * Additional information about the subgraph + * Count of outputs classified as previewable media types (images, video, audio, 3D, text) — a subset of outputs_count (omitted for non-terminal states) */ - info: { - /** - * The node pack/module that provides this subgraph - */ - node_pack: string - } + previewable_outputs_count?: number /** - * Display name of the subgraph blueprint + * User-friendly job status */ - name: string + status: 'pending' | 'in_progress' | 'completed' | 'failed' | 'cancelled' /** - * Source type of the subgraph - "templates" for workflow templates or "custom_node" for custom node subgraphs + * UUID identifying the workflow graph definition */ - source: string + workflow_id?: string } /** - * A setting key with its value, discriminated on `key`. Narrowing on the key yields exactly one value schema, which is what gives writes their type safety. - */ -export type GlobalSettingValue = { - key: 'Comfy.AgentPanel.ConsentAccepted' -} & AgentConsentSettingValue - -/** - * The union of setting keys this server accepts. Published as an enum so clients cannot address a key the registry does not know. - */ -export type GlobalSettingKey = 'Comfy.AgentPanel.ConsentAccepted' - -/** - * A stored setting: one GlobalSettingValue member plus when it last changed. Discriminated on `key` like GlobalSettingValue, so narrowing a read yields the same single value schema a write is typed by. - */ -export type GlobalSetting = { - key: 'Comfy.AgentPanel.ConsentAccepted' -} & StoredAgentConsentSetting - -/** - * Individual file entry within a full user data response. + * Where one executed node ran and where its output is shown, as ComfyUI + * records it in the history `meta`. Live `executed` messages carry the + * same `display_node`. + * */ -export type GetUserDataResponseFullFile = { +export type JobExecutionMetaEntry = { /** - * UNIX timestamp of the last modification in milliseconds. + * Canvas node id that shows this output */ - modified?: number + display_node?: string /** - * File name or path relative to the user directory. + * Executed node id (the `outputs` key), e.g. `15.0.0.3` for an expanded node */ - path?: string + node_id?: string /** - * File size in bytes. + * Id of the node that expanded this one, or null for a node that was not expanded */ - size?: number + parent_node?: string | null + /** + * Top-level workflow node this node was expanded from (its own id when not expanded) + */ + real_node_id?: string + [key: string]: unknown } /** - * List of user data file entries (each with path, size, and modification time) returned when full_info=true. - */ -export type GetUserDataResponseFull = Array - -/** - * Request body for forking an existing workflow into the user's account. + * An asset produced by a job, enriched with the per-output node context + * (`node_id`, `output_key`, `output_index`) correlated from the job's + * execution outputs by content hash. The node-context fields are null + * when the asset cannot be matched to an output entry. + * */ -export type ForkWorkflowRequest = { +export type JobOutputAsset = { /** - * Name for the forked workflow + * Timestamp when the asset was created */ - name?: string + created_at: string /** - * Version number to fork from + * Blake3 hash of the asset content. */ - source_version: number -} - -/** - * A 403 body: ErrorResponse, or AuthTypeNotAllowedError for a credential the route does not take. - */ -export type ForbiddenError = ErrorResponse | AuthTypeNotAllowedError - -/** - * 403 for a credential the route does not take. `accepted` names the ones it does, as `WWW-Authenticate` does. - */ -export type AuthTypeNotAllowedError = { - accepted: Array - error: { - message: string - type: 'auth_type_not_allowed' - } -} - -/** - * Response after submitting feedback - */ -export type FeedbackResponse = { - [key: string]: unknown -} - -/** - * Request to submit user feedback - */ -export type FeedbackRequest = { + hash?: string /** - * The feedback content or message + * Unique identifier for the asset */ - content?: string + id: string /** - * Additional metadata about the feedback + * MIME type of the asset */ - metadata?: { - [key: string]: unknown - } + mime_type?: string /** - * User's rating of ComfyUI Cloud experience (1-5 stars) + * Name of the asset file */ - rating?: number + name: string /** - * Type of feedback being submitted + * ID of the workflow node that produced this asset, if known */ - type: 'missing_nodes' | 'general' | 'missing_models' -} - -/** - * Response containing a signed download URL for an exported asset archive. - */ -export type ExportDownloadUrlResponse = { + node_id?: string | null /** - * When the signed URL expires + * Zero-based index of this asset within the node's output slot, if known */ - expires_at?: string + output_index?: number | null /** - * Signed URL for downloading the export ZIP file + * Output slot key under the producing node (e.g. "images"), if known */ - url: string + output_key?: string | null + /** + * Relative URL for asset preview/thumbnail + */ + preview_url?: string + /** + * Size of the asset in bytes + */ + size?: number } /** - * Response containing the issued Cloud JWT and its expiry. + * Job status information */ -export type ExchangeTokenResponse = { +export type JobStatusResponse = { /** - * Token expiration time (RFC 3339) + * The inference instance assigned to this job (if any) */ - expires_at: string + assigned_inference?: string | null /** - * Permission strings for the role + * When the job was created */ - permissions: Array + created_at: string /** - * User's role in the workspace + * Error message if the job failed */ - role: 'owner' | 'member' + error_message?: string | null /** - * Cloud JWT token + * The job ID */ - token: string + id: string /** - * Canonical Comfy user ID the token was minted for: the token's `sub`, - * and the same ID `GET /api/billing/capabilities` returns in - * `resolved_for.user_id`. Clients scope per-user reads with it. It is - * not the Firebase UID, which can differ. - * + * When the job status was last changed */ - user_id: string - workspace: WorkspaceSummary -} - -/** - * Optional request body for the token exchange endpoint. The Firebase JWT - * being exchanged is supplied via the `Authorization: Bearer` header; this - * body only carries workspace-selection input. - * - */ -export type ExchangeTokenRequest = { + last_state_update?: string /** - * What the token is for. Omitted mints today's workspace token. - * `partner-node` mints a partner-node token: audience - * `comfy-partner-node` only, a `sid` claim naming a new renewable - * session, and the partner-node lifetime. Only a sign-in mints one - * (a Firebase JWT, the web session, or an OAuth access token from a - * client in `PARTNER_NODE_OAUTH_CLIENTS`); an API key gets 403 - * `partner_node_requires_sign_in`. While the mint is switched off - * it is 503 `partner_node_token_disabled`. Any other value is 400 - * `resource_invalid`. - * + * Current job status */ - resource?: 'partner-node' + status: + | 'waiting_to_dispatch' + | 'pending' + | 'in_progress' + | 'completed' + | 'error' + | 'cancelled' /** - * Workspace ID to get token for. Defaults to personal workspace if omitted. + * When the job was last updated */ - workspace_id?: string + updated_at: string } /** - * Result of redeeming a desktop login code. + * Request to cancel multiple jobs by ID. */ -export type DesktopLoginCodeRedeemResponse = { +export type JobsCancelRequest = { /** - * The code is now claimed for the authenticated user. + * Job identifiers (UUIDs) to cancel. */ - status: 'redeemed' + job_ids: Array } /** - * Request to claim a desktop login code for the authenticated user. + * Response for POST /api/jobs/cancel. */ -export type DesktopLoginCodeRedeemRequest = { +export type JobsCancelResponse = { /** - * The login code the desktop app placed in the browser URL. + * Job IDs for which a cancel event was successfully dispatched by this + * call. Jobs already in a terminal or cancelling state are idempotently + * skipped and will not appear here. + * */ - code: string + cancelled: Array } /** - * Exchange poll result. Pending until the code is redeemed in the browser. + * Paginated list of jobs for the authenticated user. */ -export type DesktopLoginCodeExchangeResponse = { - /** - * One-time Firebase custom token for the redeeming user. Present only when status is "complete". - */ - custom_token?: string +export type JobsListResponse = { /** - * Whether the code has been redeemed yet. + * Array of jobs ordered by specified sort field */ - status: 'pending' | 'complete' -} + jobs: Array + pagination: PaginationInfo +} /** - * Request to exchange a redeemed login code for a custom token. + * A single JSON Web Key entry within a JWKS response. */ -export type DesktopLoginCodeExchangeRequest = { +export type JwkKey = { + alg: string + crv: string + kid: string + kty: string + use: string /** - * The login code returned at creation. + * Base64url-encoded X coordinate */ - code: string + x: string /** - * PKCE code verifier matching the challenge supplied at creation. + * Base64url-encoded Y coordinate */ - code_verifier: string + y: string } /** - * A freshly minted desktop login code and its polling parameters. + * JSON Web Key Set containing the public keys used to verify Cloud JWTs. */ -export type DesktopLoginCodeCreateResponse = { - /** - * Opaque single-use login code ("dlc_" prefix). - */ - code: string +export type JwksResponse = { + keys: Array +} + +/** + * Reference to a Hub label by ID. + */ +export type LabelRef = { /** - * Seconds until the code expires if not redeemed. + * Human-readable display name (e.g. "Video Generation", "Flux"). */ - expires_in: number + display_name: string /** - * Suggested seconds between exchange polls. + * Slug identifier (e.g. "video-generation", "flux"). */ - poll_interval: number + name: string } /** - * Request to mint a desktop login code. + * Paginated list of assets belonging to the authenticated user. */ -export type DesktopLoginCodeCreateRequest = { +export type ListAssetsResponse = { /** - * Desktop app version string. + * List of assets matching the query */ - app_version: string + assets: Array /** - * PKCE code challenge - base64url(SHA256(code_verifier)) per RFC 7636 (S256 only). + * Whether more assets are available beyond this page */ - code_challenge: string + has_more: boolean /** - * Stable identifier of the desktop installation, used only for the login attribution event. Omit when telemetry consent is off - the login flow still works, but no attribution event is emitted. + * Opaque cursor to pass as the `after` query parameter to fetch the + * next page. Omitted from the response when there are no more results. + * */ - installation_id?: string + next_cursor?: string /** - * Desktop platform identifier (e.g. darwin, win32, linux). + * Total number of assets matching the filters */ - platform: string + total: number } -export type DeploymentNodeCompatibility = { - deployment_id: string - /** - * The posted node types this deployment's Release does not have, in the order they were posted. Empty when it has them all, and when unknown is true. - */ - missing_node_types: Array - /** - * True when the node list of the Release this deployment runs could not be read, so it was not checked: the Release is not built yet or is gone, comfy-builder could not be reached or refused the caller, its extensions list could not be read, a browser that picked the deployment failed to load it on the same ingest pod (for good when the Release is gone or its archive is corrupt or too large to ever load, see below; for any other fault, an archive missing from storage among them, only within its 30-second retry window, after which the check follows what a browser's next load gets), its catalog fails to build (in each of the last three a browser that picked the deployment is served Comfy Cloud's catalog), it is past the 16 distinct Releases one check reads (the newest deployments' Releases are read first), or the request ended before it was read. The check reads the catalog and the extensions list but not the extensions archive: a Release whose archive fails to load (missing from storage, corrupt, too large, past 64 MiB unpacked, or an entry whose path escapes the extensions folder) is answered from its catalog, not unknown, until a browser that picked it has failed to load it on the same ingest pod (each pod keeps its own record). - */ - unknown: boolean +/** + * List of pending invitations for the current workspace. + */ +export type ListInvitesResponse = { + invites: Array } /** - * The node types of the workflow open in the editor. + * List of members in the current workspace. */ -export type DeploymentCompatibilityRequest = { - /** - * The workflow's node types (class_type), subgraphs included. Duplicates are dropped before counting; more than 2,000 distinct types is a 400. - */ - node_types: Array +export type ListMembersResponse = { + members: Array + pagination: PaginationInfo } /** - * Which of the posted node types each of the workspace's deployments, and Comfy Cloud, does not have. + * Paginated list of available asset tags. */ -export type DeploymentCompatibility = { - cloud: CloudNodeCompatibility +export type ListTagsResponse = { /** - * Every live deployment GET /api/workspaces/{id}/deployments lists, in the same order (newest first). + * Whether more tags are available */ - deployments: Array -} - -export type CloudNodeCompatibility = { + has_more: boolean /** - * The posted node types a browser on Comfy Cloud (no pick) is not served, hidden ones included, in the order they were posted. + * List of tags */ - missing_node_types: Array -} - -/** - * Error body of local ComfyUI's /api/deploy* routes. Branch on `error`, never on `message`. - */ -export type DeployToCloudError = { - error: - | 'offline' - | 'multiple_credentials' - | 'invalid_api_key_format' - | 'invalid_body' - | 'missing_credentials' - | 'unauthorized' - | 'too_large' - | 'too_many_bundles' - | 'builder_rejected' - | 'builder_unavailable' - | 'builder_busy' + tags: Array /** - * Human-readable detail, present for invalid_body and builder_rejected. + * Total number of tags */ - message?: string + total: number } /** - * Response after deleting a session cookie + * List of API keys associated with the current workspace. */ -export type DeleteSessionResponse = { - /** - * Whether the session was deleted successfully - */ - success: boolean +export type ListWorkspaceApiKeysResponse = { + api_keys: Array } /** - * The workspace bound to the presented credential, plus how that credential authenticated. Same shape as Workspace with the caller's role and the auth method added, and without created_at (callers of this endpoint want identity, not provenance). + * Paginated list of workspaces the authenticated user belongs to. */ -export type CurrentWorkspaceResponse = { +export type ListWorkspacesResponse = { /** - * How this request authenticated. Known values are firebase, cookie, comfy_api_key, comfy_admin_key, cloud_api_key and cloud_jwt; treat it as an open string so a new auth method is not a breaking change. + * Whether the client should offer creating another workspace. False for an account managed by an SSO organization or an actor at the served max_owned_workspaces limit. Counts live owner memberships, including the personal workspace and retained memberships hidden from the list; ordinary memberships and deleted workspaces do not count. True means these checks allow creation. POST /api/workspaces rechecks the limit atomically; this fact is not write authorization. */ - auth_method: string - id: string - name: string + can_create_workspace: boolean /** - * What the caller may do in this workspace, the same list a workspace token minted for it would carry. Read from the live membership on every request. Omitted, like role, when no role resolves. New values are additive. + * The workspace the app should open on sign-in: the workspace of the + * SSO organization that manages the caller's account, when the caller + * is a member of it. Absent for accounts no SSO organization manages. + * */ - permissions?: Array + default_workspace_id?: string + denied_reasons?: WorkspaceCreationDenials /** - * The requesting user's role in this workspace. Omitted (absent from the object, never an explicit null) when the credential carries no resolvable user membership. + * Owner membership count at which new workspace creation is refused, including the personal workspace. This is a creation-only threshold; other owner assignments can raise the actual count above it. */ - role?: 'owner' | 'member' - type: 'personal' | 'team' + max_owned_workspaces: number + workspaces: Array } /** - * Request body for creating a new workspace. + * A 400 from a media route served outside the generated wrapper: ErrorResponse, or MediaQueryError for a bad query parameter. */ -export type CreateWorkspaceRequest = { - /** - * Display name for the workspace - */ - name: string +export type MediaBadRequestError = ErrorResponse | MediaQueryError + +/** + * 400 for a missing `filename` or a `res` that is not a number, on the media routes served outside the generated wrapper. + */ +export type MediaQueryError = { + error: string } /** - * Response containing the newly created workspace API key. + * Workspace member with profile and role information. */ -export type CreateWorkspaceApiKeyResponse = { +export type Member = { /** - * When the key was created + * Actions the authenticated actor may offer for this exact member row. Supplied by the member list; role-update responses may omit it. Absent means unknown, not permission. Writes recheck current membership. */ - created_at: string + capabilities?: WorkspaceMemberCapabilities /** - * User-provided description of the key's purpose. Limit is byte-based (UTF-8 encoding); 5000 bytes equals 5000 ASCII characters or fewer multi-byte characters. + * User's email address, or an empty string if none is on file. */ - description: string + email: string /** - * The effective expiration timestamp, which may differ from the one requested: a key minted by an OAuth-authenticated session is capped to the OAuth refresh-token lifetime, so clients must read the lifetime they actually got from this field rather than assume the requested one. Absent only for first-party keys created with no expiry. + * User ID */ - expires_at?: string + id: string /** - * API key ID + * Whether this member created the workspace. Derived as member.id == workspace.created_by_user_id; exactly one member per workspace is marked. Personal workspace creators cannot be demoted, removed, or leave; a promoted owner is never marked. */ - id: string + is_original_owner: boolean /** - * The full plaintext API key (only shown once) + * When the user joined the workspace */ - key: string + joined_at: string /** - * First 8 chars after prefix for display + * The member's role comes from their organization's directory (SSO): it is changed in the organization's identity provider, and a role change here is refused. */ - key_prefix: string + managed_by_directory?: boolean /** - * User-provided label + * User's display name */ name: string + /** + * User's role in the workspace + */ + role: 'owner' | 'member' } /** - * Request body for creating a new workspace-scoped API key. + * The `data` of a model_download WebSocket event: the latest state of one model file a Cloud job on a deployment downloads before ComfyUI starts it. Sent by the deployment's worker (services/comfy-deploy/containerruntime worker.py, _ModelNews) only when the job asked for live progress, for each file the job fetches and never for a file the release ships, all before the job's execution_start. A failed file ends the job: no other source is tried and the job is not retried, so its execution_error (or execution_interrupted, when a cancel was in flight) follows. New fields may be added; a client ignores the ones it does not read. */ -export type CreateWorkspaceApiKeyRequest = { +export type ModelDownloadData = { /** - * User-provided description of the key's purpose. Limit is byte-based (UTF-8 encoding); 5000 bytes equals 5000 ASCII characters or fewer multi-byte characters. + * Bytes received so far. On done and cached, the file's size. */ - description?: string + bytes_downloaded: number /** - * Optional expiration timestamp. Keys created by an OAuth-authenticated session (an access token issued by the Comfy OAuth server to a registered client) are always capped to the OAuth refresh-token lifetime (OAUTH_REFRESH_TOKEN_TTL, 30 days by default): omitting this field yields that cap, a longer value is reduced to it, and a shorter value is honoured as-is. Keys created by a first-party session (browser workspace JWT, Firebase) are unaffected and may still be created with no expiry. + * The download's Content-Length, or null when the storage response sent none. On cached, the file's size; on done with no Content-Length, the bytes received. */ - expires_at?: string + bytes_total: number | null /** - * User-provided label for the key + * How many files this job fetches; files the release ships are not counted. */ - name: string -} - -/** - * Request body for creating a new version of a saved workflow. - */ -export type CreateWorkflowVersionRequest = { + count: number /** - * The version number this change is based on (for optimistic concurrency) + * The ComfyUI model folder the file goes in. */ - base_version: number + dir: string /** - * The updated ComfyUI workflow JSON + * The file's 1-based position among the files this job fetches. */ - workflow_json: { - [key: string]: unknown - } -} - -/** - * Request body for creating a new saved workflow. - */ -export type CreateWorkflowRequest = { + index: number /** - * Default view mode + * The file name the workflow loads, as it appears in the model folder. */ - default_view?: 'workflow' | 'app' + name: string /** - * Description of the workflow + * bytes_downloaded over bytes_total, from 0 to 1, rounded to four decimal places; null when bytes_total is null or 0. 1 on done and cached. */ - description?: string + progress: number | null /** - * ID of the source workflow if forked - */ - forked_from_workflow_id?: string - /** - * ID of the source workflow version if forked + * The Cloud job id, stamped by platform-gateway on every frame it forwards. */ - forked_from_workflow_version_id?: string + prompt_id: string /** - * Display name for the workflow + * Known values are downloading, done, cached and failed. downloading is sent as the download opens and then at most every 0.5 seconds while bytes arrive; done once the whole file arrived and matched its hash; cached once, instead of the others, when the worker already holds the file; failed when the download stopped. Treat it as an open string: a client shows the file as downloading only while the value is downloading, and reads any other value as the end of that file's download. */ - name?: string + status: string /** - * The ComfyUI workflow JSON + * The job's workflow id, present when the job has one. */ - workflow_json: { - [key: string]: unknown - } + workflow_id?: string } /** - * Response after successfully purchasing a credit top-up. + * Server-to-client model_download frame on /ws. A Cloud job's model file download moved. */ -export type CreateTopupResponse = { - /** - * Amount being charged in cents - */ - amount_cents: number - /** - * Billing operation ID to poll for status via GET /api/billing/ops/{id} - */ - billing_op_id: string - /** - * Current status of the top-up - */ - status: 'pending' | 'completed' | 'failed' - /** - * Unique identifier for the top-up request (same as billing_op_id, deprecated) - */ - topup_id: string +export type ModelDownloadFrame = { + data: ModelDownloadData + type: 'model_download' } /** - * Legacy on-file top-up. Explicit payment authority and save/default fields require the dedicated interactive route and are rejected here, including null or false values. + * Represents a model file with metadata */ -export type CreateTopupRequest = { - /** - * Amount to charge and grant as credits (in cents). Minimum $5.00; maximum `max_topup_cents` on GET /api/billing/balance (400 INVALID_AMOUNT above it). - */ - amount_cents: number - /** - * Client-minted identifier for one checkout attempt, generated when - * the customer starts checkout and sent on every request and - * analytics event of that attempt. Purely for observability: it is - * what joins the frontend funnel (which emits events before any - * billing op exists) to the backend outcome. Expected to match - * ^[A-Za-z0-9_-]{1,64}$; a present value that does not is ignored, - * never rejected, so the constraint is intentionally not declared - * here as pattern/maxLength -- either would make a conforming - * client or request validator reject the request before ingest - * ever applies that "ignored, not rejected" behavior. - * - */ - checkout_attempt_id?: string +export type ModelFile = { /** - * Client-provided key to prevent duplicate operations. - * If a billing op with this key already exists, returns the existing op instead of creating a new one. - * + * The filename of the model */ - idempotency_key?: string -} - -/** - * Request body for previewing a credit top-up. - */ -export type CreateTopupQuoteRequest = { + name: string /** - * Amount to quote, in cents. + * Index of the path where this model is located */ - amount_cents: number + pathIndex: number } /** - * A hosted Stripe Checkout session for a credit top-up. + * Represents a folder containing models */ -export type CreateTopupCheckoutResponse = { +export type ModelFolder = { /** - * Stripe-hosted Checkout URL to send the customer to. + * List of paths where models of this type are stored */ - checkout_url: string + folders: Array /** - * Stripe Checkout session id, for support and log correlation. There - * is no billing operation to return: the purchase has not happened - * yet, and the operation recording it is created once the payment - * completes. Nothing needs polling — the credits land on their own. - * + * The name of the model folder */ - session_id?: string + name: string } /** - * Request body for creating a hosted credit top-up checkout session. + * Where and how the browser sends a model file's bytes (POST /api/assets/uploads). */ -export type CreateTopupCheckoutRequest = { +export type ModelUploadStarted = { /** - * Amount to charge in cents, before any promotion code the customer - * enters. Whole dollars only, from $5.00 to `max_topup_cents` on GET /api/billing/balance. The - * credits granted are derived server-side from this amount and - * cannot be set by the caller. - * + * When `upload_url` stops working (15 minutes after the answer). */ - amount_cents: number + expires_at: string /** - * Optional client-provided key. Forwarded to Stripe so a double-submit - * collapses onto one session instead of minting two payable links. - * + * Every header the PUT must send, with exactly these values (`Content-Type`, `x-goog-content-length-range` and `x-goog-if-generation-match` set to `0`, which makes storage refuse a second write to the object). */ - idempotency_key?: string + headers: { + [key: string]: string + } /** - * Where Stripe returns the customer after a completed or cancelled - * payment. Must match an allowlisted origin; an arbitrary URL is - * rejected rather than redirected to. - * + * The largest file an upload accepts, 2147483648 (2 GiB). */ - return_url: string -} - -/** - * Response after creating a session cookie - */ -export type CreateSessionResponse = { + max_size_bytes: number + method: 'PUT' /** - * Session expiration time in seconds (5 days) + * Names this upload in `POST /api/assets/uploads/{upload_id}/complete`. */ - expiresIn?: number + upload_id: string /** - * Whether the session was created successfully + * Signed URL for exactly one staged object; works until `expires_at`. */ - success: boolean + upload_url: string } /** - * Request body for creating a new user secret. + * The next charge to the card on file, as Stripe's invoice preview reported it, after proration, discounts, tax and account credit. */ -export type CreateSecretRequest = { +export type NextCharge = { /** - * Credential class discriminator. `api_key` (default) stores an opaque key/token; `gcp_service_account` stores a Google Cloud service-account key JSON, whose value is validated as a service-account key on write. Prefer setting this explicitly over relying on value-shape sniffing. + * Amount in the currency's smallest unit (e.g. cents). */ - credential_type?: 'api_key' | 'gcp_service_account' + amount: number /** - * User-provided label for the secret + * Lowercase ISO currency code. */ - name: string + currency: string /** - * Optional provider identifier (e.g., huggingface, civitai) + * When the charge is due. */ - provider?: string + date: string /** - * The plaintext secret to encrypt and store + * True when the charge prices the pending scheduled plan change (scheduled_change) rather than a renewal of the current plan. */ - secret_value: string + reflects_scheduled_change: boolean } /** - * Request body for inviting a user to a workspace. + * Metadata describing a single ComfyUI node type and its inputs/outputs. */ -export type CreateInviteRequest = { +export type NodeInfo = { /** - * Email address to invite + * Whether this is an API node */ - email: string -} - -/** - * Request body for creating a new Hub profile. - */ -export type CreateHubProfileRequest = { + api_node?: boolean /** - * Token (from /api/hub/assets/upload-url) for an avatar image. Omit to have no avatar. - * + * Category of the node + */ + category?: string + /** + * Whether the node is deprecated + */ + deprecated?: boolean + /** + * Description of the node */ - avatar_token?: string description?: string - display_name?: string /** - * Unique URL-safe slug for the hub profile. Immutable after creation. + * Display name of the node */ - username: string + display_name?: string /** - * List of website URLs. + * Whether the node is experimental */ - website_urls?: Array + experimental?: boolean /** - * ID of the workspace to create the hub profile for. The authenticated user must belong to this workspace. + * Input specifications for the node */ - workspace_id: string -} - -export type ContentCatalogRecord = { - data: { + input?: { [key: string]: unknown } - deleted: boolean - edit_version: string - enabled: boolean - kind: 'MODEL' | 'WORKFLOW' | 'APP' | 'TEMPLATE_SET' /** - * Integer revision supplying this entity; may precede the requested catalog revision. + * Order of inputs for display */ - revision: number + input_order?: { + [key: string]: Array + } /** - * Canonical website pathname for page content; native slug for template sets. Identity is always UID. + * Internal name of the node */ - slug: string - uid: string - visibility: 'PUBLIC' | 'STAFF' - visible_from?: string -} - -export type ContentCatalogProjection = { - generation: number - items: Array - revision_id: number -} - -/** - * Credentials the Churnkey embed requires to launch the cancel flow. - * `auth_hash` is hex-encoded HMAC-SHA256 of `customer_id` signed with the - * server's CHURNKEY_HMAC_SECRET; it is bound to that single customer ID - * and must not be reused for other customers. - * - */ -export type ChurnkeyAuthResponse = { + name?: string /** - * Hex-encoded HMAC-SHA256(customer_id, CHURNKEY_HMAC_SECRET) + * Output types of the node */ - auth_hash: string + output?: Array /** - * Stripe customer ID for the workspace + * Whether each output is a list */ - customer_id: string + output_is_list?: Array /** - * Churnkey environment matching the configured app + * Names of the outputs */ - mode: 'live' | 'test' | 'sandbox' + output_name?: Array /** - * Stripe subscription a native Churnkey retention offer may apply to. - * Present only when the caller is in the native-offer rollout and owns - * a Personal workspace on an active paid monthly plan with no billing - * change in flight; absent otherwise, and the client then keeps offers - * disabled. Present in any mode. Not a signed authorization: the HMAC - * covers only the customer ID. - * + * Whether this is an output node */ - offer_subscription_id?: string + output_node?: boolean + /** + * Tooltips for outputs + */ + output_tooltips?: Array + /** + * Python module implementing the node + */ + python_module?: string } /** - * Response after successfully cancelling a subscription. + * OAuth 2.1 authorization-server metadata (RFC 8414). */ -export type CancelSubscriptionResponse = { - /** - * Billing operation ID to poll for status via GET /api/billing/ops/{id} - */ - billing_op_id: string +export type OAuthAuthorizationServerMetadata = { + authorization_endpoint: string + code_challenge_methods_supported: Array + grant_types_supported: Array + issuer: string + jwks_uri: string /** - * The terminal cancellation time for a delinquent Stripe subscription, otherwise the end of the current billing period + * RFC 7591 §3.1 Dynamic Client Registration endpoint. Advertised so MCP-spec-compliant clients can auto-discover and self-register without operator involvement. Present only when DCR is enabled. + * */ - cancel_at: string + registration_endpoint?: string + response_types_supported: Array + scopes_supported?: Array + token_endpoint: string + token_endpoint_auth_methods_supported: Array } /** - * Request body for cancelling the current subscription. + * Redirect target produced after a JSON consent submission. The frontend must navigate the browser to this URL so custom-scheme client callbacks work without relying on fetch-visible 302 headers. */ -export type CancelSubscriptionRequest = { +export type OAuthAuthorizeRedirectResponse = { /** - * Client-provided key to prevent duplicate operations. - * If a billing op with this key already exists, returns the existing op instead of creating a new one. - * + * OAuth client redirect URI with either code+state for allow, or error+state for deny. */ - idempotency_key?: string + redirect_url: string } /** - * Response when a cancellation is accepted but has not committed yet. Carries no cancel_at: no cancellation time exists to report until the operation settles. The billing operation reports only status, so once it reaches `succeeded` the committed date is read from `cancel_at` on `GET /api/billing/status`. + * Server-side state describing the OAuth consent decision the user is being asked to make. Returned by GET /oauth/authorize when a valid Cloud session exists; the frontend renders the consent UI from this payload and POSTs the decision back. Browser never sees the original OAuth params on resume. + * */ -export type CancelSubscriptionAcceptedResponse = { +export type OAuthConsentChallenge = { /** - * Billing operation ID to poll for status via GET /api/billing/ops/{id} + * Human-readable name of the OAuth client requesting authorization, from oauth_clients.display_name. */ - billing_op_id: string + client_display_name: string /** - * Always `pending` — the cancellation is still executing. Poll the billing operation for the final outcome. + * Whether the client requesting authorization is a seeded first-party + * client (`first_party`) or was created through RFC 7591 dynamic client + * registration (`dynamic`). Derived from the client_id: every dynamically + * registered client carries the `comfy-dyn-` prefix. `client_display_name` + * on a `dynamic` client is registrant-supplied and unverified; the consent + * UI must present it as such. Consumers must treat an absent value as + * `dynamic`. + * */ - status: 'pending' -} - -export type CccWebsiteRootTabs = { - apps: CccWebsiteRootTab - models: CccWebsiteRootTab - workflows: CccWebsiteRootTab -} - -export type CccWebsiteRootPageInfo = { - has_more: boolean - page_size: 24 -} - -export type CccWebsiteCardFacet = { + client_provenance: 'first_party' | 'dynamic' /** - * Staff-only eligible facet count + * Per-row CSRF token bound to this authorization request (not to the session). Must be echoed back on POST. */ - count?: number - label: string - value: string -} - -export type CccWebsiteCardFacets = { - categories: Array - models: Array - use_cases: Array -} - -export type CccWebsiteRootTab = { - facets: CccWebsiteCardFacets - page: CccWebsiteRootPageInfo - sort_orders: Array<'popular' | 'name' | 'priceAsc' | 'priceDesc'> -} - -export type CccWebsiteRootPresentation = { + csrf_token: string /** - * Database observation clock for this complete presentation. + * Opaque server-side identifier for the authorization-request row. Carried back unchanged in the consent submission. */ - as_of: string - items: Array - model_directory: CccWebsiteModelDirectory + oauth_request_id: string /** - * Never reuse the artifact at or after this scheduled visibility boundary. Null means no pending boundary. + * The exact redirect URI this authorization request was validated + * against at GET time (oauth_authorization_requests.redirect_uri, + * itself byte-matched to the client registration). The frontend + * binds the post-consent navigation to this value, so it needs no + * per-client knowledge of callback schemes. Surfaced verbatim; + * also suitable for display so users can verify the destination. + * */ - next_visibility_at: string | null - revision_id: number - tabs: CccWebsiteRootTabs -} - -export type CccWebsiteModelDirectory = { + redirect_uri: string /** - * Staff-only Draft generation + * Human-readable name of the protected resource, from oauth_resources.display_name. */ - generation?: number - items: Array<{ - /** - * Authored provider label; empty when not set - */ - provider: string - /** - * Canonical /hub/models path without a trailing slash - */ - slug: string - /** - * Localized title when reviewed, otherwise source title - */ - title: string - uid: string - }> - revision_id: number -} - -export type CccWebsiteCardsPage = { - available_kinds: Array<'MODEL' | 'WORKFLOW' | 'APP'> - facets: CccWebsiteCardFacets + resource_display_name: string /** - * Staff-only Draft generation + * Scopes the client is requesting for this resource. The frontend should present these for the user to approve. */ - generation?: number - has_more: boolean - items: Array - next_cursor?: string - page_size: number - previous_cursor?: string - revision_id: number - sort_orders: Array<'popular' | 'name' | 'priceAsc' | 'priceDesc'> + scopes: Array /** - * Staff-only filtered count; omitted for anonymous callers + * Workspaces the user can select from. Membership is re-checked on POST. */ - total?: number + workspaces: Array } -export type CccPublicItemsPage = ContentCatalogProjection & { - has_more: boolean - /** - * Opaque continuation bound to this query and publication identity; omitted on the last page. - */ - next_cursor?: string - page_size: number +/** + * One workspace option presented in the OAuth consent challenge. Promoted to a named schema so the generated Go type is referenceable in handlers and tests rather than re-declared as an anonymous struct at every callsite. + * + */ +export type OAuthConsentChallengeWorkspace = { + id: string + name: string + role: 'owner' | 'member' + type: 'personal' | 'team' } /** - * Current Hub page that replaces an old public URL + * OAuth 2.1 protected-resource metadata (RFC 9728). */ -export type CccLegacyTarget = { - /** - * Website path of the Hub page, for example /hub/workflows// - */ - path: string - /** - * Current slug of the record - */ - slug: string - type: 'workflow' | 'app' | 'model' +export type OAuthProtectedResourceMetadata = { + authorization_servers: Array + bearer_methods_supported?: Array + resource: string + scopes_supported: Array } /** - * Flat type-versioned CCC JSON. Domain schemas (/api/v1/catalog/schemas/{type}/{version}) constrain authored fields. The readOnly properties are server metadata returned by reads; a save may send them back unchanged and they are ignored, never applied. expected_draft_rev and expected_revision_uid are the save concurrency tokens. + * Union of the two 400 shapes /oauth/register can emit. `OAuthRegisterError` is the handler-shaped RFC 7591 §3.2.2 error; `ErrorResponse` is the strict-server binding-layer error fired when the request body fails OpenAPI-schema validation before the handler runs, normalized to the standard {code, message} shape by the custom Echo HTTPErrorHandler (BE-1178). + * */ -export type Cccjson = { +export type OAuthRegisterBadRequestResponse = OAuthRegisterError | ErrorResponse + +/** + * RFC 7591 §3.2.2 error response. + */ +export type OAuthRegisterError = { + error: 'invalid_redirect_uri' | 'invalid_client_metadata' + error_description?: string | null +} + +/** + * RFC 7591 §2 client metadata document. Fields fall into three groups: the ones the server honors, the purely informational ones it accepts and ignores (`scope` plus the client-profile fields `client_uri`, `logo_uri`, `tos_uri`, `policy_uri`, `contacts`, `software_id`, `software_version` — parsed, never persisted, never echoed, per RFC 7591 §2's "MAY ignore" allowance), and the ones it rejects with `invalid_client_metadata` (`resource_grants`, because scopes/grants are server-owned for dynamic clients; `jwks`/`jwks_uri`, because they only apply to the JWT client-authentication methods DCR does not offer). `additionalProperties: false` mirrors the runtime middleware that rejects any unknown metadata key. + * + */ +export type OAuthRegisterRequest = { /** - * Catalog revision of this edit; may be older than the working Draft. + * RFC 7591 §2 application_type. **OPTIONAL** — omit the field to default to `native` (the loopback-friendly policy), rather than the RFC's nominal `web` default; the MCP SDK's DCR client omits it. `native` for desktop / CLI / MCP-spec-strict clients (loopback redirects); `web` for hosted clients (HTTPS only, host must be allowlisted). The realistic MCP-client population is overwhelmingly native/loopback, so defaulting to `web` would silently bounce those clients off the wrong redirect policy. A *present* value must be one of the enum members; any other value rejects with `invalid_client_metadata`. (The server has no runtime enum validation and defensively coerces a null/empty value to `native`, but spec-validating clients should omit the field rather than send `""` — the enum does not permit it.) + * */ - readonly catalog_rev?: number + application_type?: 'native' | 'web' /** - * Immutable account that created the resource. + * Human-readable name shown in the consent UI. Reserved-name list rejects impersonation of major MCP clients. */ - readonly creator_uid?: string + client_name?: string /** - * SHA-256 of the canonical authored document. + * **ACCEPTED AND IGNORED.** Informational RFC 7591 §2 client-profile metadata. Parsed so spec-compliant clients are not 400'd, then dropped — never persisted, never echoed in the registration response. */ - readonly digest?: string - readonly draft_generation?: number - readonly edit_sequence?: number + client_uri?: string | null /** - * Tombstone flag. false may be sent back; true is refused (use restore). + * **ACCEPTED AND IGNORED.** Informational RFC 7591 §2 client-profile metadata. Parsed so spec-compliant clients are not 400'd, then dropped — never persisted, never echoed in the registration response. */ - readonly is_deleted?: boolean + contacts?: Array | null /** - * Fixed organization owner; never transferred by a save. + * Optional. Defaults to `["authorization_code","refresh_token"]`. */ - readonly owner_uid?: string + grant_types?: Array<'authorization_code' | 'refresh_token'> /** - * This immutable edit; send it back as expected_revision_uid. + * **REJECTED IF PRESENT.** A JWK set only applies to the `private_key_jwt` / `client_secret_jwt` client-authentication methods, which DCR does not offer — `token_endpoint_auth_method` is forced to `none` (public clients only). Accepting it silently would leave the client believing it had negotiated an authentication posture the server never agreed to, so this returns `invalid_client_metadata`. */ - readonly revision_uid?: string + jwks?: { + [key: string]: unknown + } | null /** - * RFC3339 UTC save time of this exact edit. + * **REJECTED IF PRESENT.** Same reason as `jwks`: JWT client authentication is not offered by DCR, so a JWK set URI cannot be honored and returns `invalid_client_metadata` rather than being silently dropped. */ - readonly saved_at?: string + jwks_uri?: string | null /** - * Account that saved this edit. + * **ACCEPTED AND IGNORED.** Informational RFC 7591 §2 client-profile metadata. Parsed so spec-compliant clients are not 400'd, then dropped — never persisted, never echoed in the registration response. */ - readonly saved_by_uid?: string + logo_uri?: string | null /** - * Server-assigned logical resource UID. + * **ACCEPTED AND IGNORED.** Informational RFC 7591 §2 client-profile metadata. Parsed so spec-compliant clients are not 400'd, then dropped — never persisted, never echoed in the registration response. */ - readonly uid?: string - [key: string]: unknown -} - -export type CccCreatorsPage = { - items: Array - next_cursor?: string -} - -export type CccCreatorSummary = { - avatar_url: string - display_name: string - username: string - workflow_count: number -} - -export type CccCreatorProfile = { + policy_uri?: string | null /** - * Empty when the creator has no safe https avatar + * 1–5 redirect URIs. Validated against `application_type` policy. */ - avatar_url: string - bio: string - display_name: string - links: Array - username: string -} - -export type CccCreatorLink = { - label: string + redirect_uris: Array /** - * An https URL + * **REJECTED IF PRESENT.** Same reason as `scope`. The set of resources and scopes a dynamic client may request is server-policy, not request-driven. + * */ - url: string -} - -export type CccCheckedReviewReceipt = { - publish_enabled: boolean - receipt_version: 1 - selected_count: number - selected_versions_digest: string - selection_digest: string - state: CccCatalogState - unchecked_count: number -} - -export type CccCatalogState = { - draft_generation: number - draft_rev: number - live_rev: number - next_rev: number - previous_live_rev: number | null -} - -export type CccAuthoringContext = { - actor_uid: string - can_apply: boolean - can_edit: boolean - owner_uid: string - state: CccCatalogState + resource_grants?: { + [key: string]: Array + } | null + /** + * Optional. Defaults to `["code"]`. + */ + response_types?: Array<'code'> + /** + * **ACCEPTED AND IGNORED.** Dynamic clients do not pick scopes — the server grants the published scope lists of `comfy-mcp` and, when active, `comfy-router`, so a caller-supplied value cannot escalate. The field is accepted (RFC 7591 §2 defines it and the MCP SDK always sends it) but the value is dropped: it is never persisted and never echoed in the registration response. + * + */ + scope?: string | null + /** + * **ACCEPTED AND IGNORED.** Informational RFC 7591 §2 client-profile metadata. Parsed so spec-compliant clients are not 400'd, then dropped — never persisted, never echoed in the registration response. + */ + software_id?: string | null + /** + * **ACCEPTED AND IGNORED.** Informational RFC 7591 §2 client-profile metadata. Parsed so spec-compliant clients are not 400'd, then dropped — never persisted, never echoed in the registration response. + */ + software_version?: string | null + /** + * Optional. Any value is accepted and substituted with `none` (RFC 7591 §3.2.1); the registration response reports `none`. Public clients only, so authenticate with PKCE. + */ + token_endpoint_auth_method?: string + /** + * **ACCEPTED AND IGNORED.** Informational RFC 7591 §2 client-profile metadata. Parsed so spec-compliant clients are not 400'd, then dropped — never persisted, never echoed in the registration response. + */ + tos_uri?: string | null } /** - * Response after bulk-revoking API keys for a workspace member. + * RFC 7591 §3.2.1 successful registration response. */ -export type BulkRevokeApiKeysResponse = { +export type OAuthRegisterResponse = { + application_type: 'native' | 'web' /** - * Number of API keys that were revoked + * Server-generated client_id. Always carries the `comfy-dyn-` prefix. */ - revoked_count: number + client_id: string + /** + * Unix timestamp (seconds) when the client was registered. + */ + client_id_issued_at: number + client_name?: string + grant_types: Array + redirect_uris: Array + response_types: Array + token_endpoint_auth_method: 'none' } /** - * A tax identifier for a company Stripe customer. Stripe validates the - * type/value combination synchronously and verifies VAT/ABN-style IDs - * asynchronously. - * + * RFC 6749 §5.2 error response. */ -export type BillingTaxId = { +export type OAuthTokenError = { /** - * Stripe tax ID type, e.g. `eu_vat`, `us_ein`, `au_abn`. See - * https://docs.stripe.com/api/tax_ids/object#tax_id_object-type - * for the full list. - * + * RFC 6749 §5.2 error code: invalid_request, invalid_client, invalid_grant, unauthorized_client, unsupported_grant_type, invalid_scope. */ - type: string - value: string + error: string + /** + * Human-readable, no leak of internal storage state. + */ + error_description?: string } /** - * Current billing and subscription status for a workspace. + * RFC 6749 §5.1 successful token response. */ -export type BillingStatusResponse = { +export type OAuthTokenResponse = { /** - * Present when the pending operation cannot proceed without the - * customer. Today this is a Stripe-hosted payment page for an invoice - * needing authentication (SCA/3DS); - * send the customer there to complete payment. Mirrors the field of - * the same name on BillingOpStatusResponse. This bearer capability is - * returned only to workspace billing managers. - * + * Resource-bound Cloud JWT (audience matches the protected resource). */ - action_url?: string + access_token: string /** - * Durable workspace billing authority. Omitted by older servers and billing-disabled deployments. + * Access token lifetime in seconds. */ - billing_rail?: 'legacy_stripe' | 'metronome' | 'stripe' - billing_status?: BillingStatus + expires_in: number /** - * When the subscription will become inactive (if canceled) + * Opaque refresh token. Rotates on every successful refresh; presenting an already-rotated token revokes the entire family. */ - cancel_at?: string + refresh_token: string /** - * When the current billing period began. Together with renewal_date it is the range for "current billing period" views; render the pair as received rather than deriving one from the other. Present exactly when renewal_date is: omitted for a canceled plan, a never-subscribed workspace and a free plan with no subscription. + * Space-delimited scopes granted with this token. */ - current_period_start?: string + scope: string + token_type: 'Bearer' +} + +/** + * Pagination metadata included in list responses. Supports both legacy + * offset/limit pagination and cursor-based pagination. When cursor-based + * pagination is used, `next_cursor` is the primary pagination token and + * `offset`/`total` may be zero. + * + */ +export type PaginationInfo = { /** - * Actual recorded subscription end, only when subscription_state is ended. Null when unknown or not ended; never inferred from cancel_at, period end or update time. + * Whether more items are available beyond this page */ - ended_at: string | null + has_more: boolean /** - * Present when subscription_state is ended but no actual end timestamp was recorded. Render an undated ended state; do not infer a date. + * Items per page */ - ended_at_unavailable_reason?: 'not_recorded' + limit: number /** - * Whether the workspace has available credits + * Opaque cursor for the next page. Pass this value as the `after` + * query parameter on the next request. Empty or absent when there + * are no more results. + * */ - has_funds: boolean + next_cursor?: string /** - * Whether the workspace has an active subscription + * Current offset (0-based). Deprecated: use cursor-based pagination. + * + * @deprecated */ - is_active: boolean + offset: number /** - * Owner-only ID of the workspace's newest initial subscription or plan transition, in any status, ordered by creation time then ID. A newer attempt supersedes an older one regardless of completion time. Poll /api/billing/ops/{id} for its checkout state. Independent of pending top-up discovery. Omitted for non-owners, no matching attempt, disabled billing, unavailable reads and older servers; omission is unknown and must not be interpreted as successful checkout or acknowledgment. + * Total number of items matching filters (may be 0 when using cursor pagination) */ - latest_subscription_op_id?: string + total: number +} + +/** + * Request body for generating a payment portal session URL. + */ +export type PaymentPortalRequest = { /** - * Effective active workspace seat limit after applying any workspace override. 0 means unlimited (billing-disabled/no-op). + * Omitted or empty opens the generic Billing and invoices portal. + * payment_method_update opens Stripe's dedicated add-payment-method flow; + * completing it sets only customer.invoice_settings.default_payment_method. + * It does not update subscription-specific defaults or guarantee renewal recovery. + * Completion uses Stripe's hosted confirmation page. + * */ - max_seats: number + flow_type?: '' | 'payment_method_update' /** - * Eligible next scheduled credit refill for both the Credits card and out-of-credits banner. Uses the actual positive credit-grant cadence, not an Enterprise invoice anniversary. Present only for a known future refill before cancellation/end; annual grants must be within 31 elapsed days inclusive, evaluated on the server. Omitted when unavailable, ineligible or no future grant is known; omission never means zero. Display only, not a payment guarantee, balance or spending permission. + * URL to redirect after the user exits the portal */ - next_credit_refill_at?: string + return_url?: string +} + +/** + * Response containing a redirect URL to the payment portal. + */ +export type PaymentPortalResponse = { /** - * Current workspace members plus non-expired pending invites, used against max_seats. 0 when billing is disabled. + * Stripe Billing Portal URL */ - occupied_seats: number + url: string +} + +/** + * An outstanding workspace invitation that has not yet been accepted. + */ +export type PendingInvite = { /** - * Present when a pending operation supports embedded Stripe - * authentication. It may be returned alongside a hosted payment page - * when both recovery methods are available. This bearer - * capability is returned only to workspace billing managers. Pass - * directly to Stripe.js; do not log or - * persist it in client storage. - * + * Email address of the invited user */ - payment_intent_client_secret?: string + email: string /** - * The workspace's in-flight billing operation, when one exists. Lets a - * client recover a payment it has lost the local reference to — a - * cleared browser, or simply a different device from the one that - * started it — by polling /billing/ops/{id} without having stored the - * id. Absent when no operation is pending, and for non-owners, who - * cannot act on one. - * + * When the invite expires */ - pending_billing_op_id?: string + expires_at: string /** - * How the client should resume `pending_billing_op_id`, not the - * internal operation type: a plan change reports `subscription`, - * because it resumes exactly like one. A top-up resumes with a - * different timeout and completion path, so the two cannot be - * told apart by the client. Present whenever - * `pending_billing_op_id` is. - * + * Invite ID */ - pending_billing_op_type?: 'subscription' | 'topup' + id: string /** - * Server-resolved configured period allowance. Missing on older servers means unknown, never none; clients must not infer it from tier. + * When the invite was created */ - period_credit_grant?: PeriodCreditGrant + invited_at: string /** - * Plan identifier (e.g., standard-monthly, team-pro-annual) + * Invite token for constructing invite links. Empty for expired invites. */ - plan_slug?: string + token?: string +} + +/** + * Configured credit allowance of the current plan, not remaining balance, an invoice or proof of live provider grants. Amount includes credits and period; none is a proven configured zero. Native-empty or incoherent Enterprise configuration remains unknown, never none. Missing data and unresolved, unsupported, ended or activating plans remain unknown. Unknown or missing means unavailable; clients must not render zero. Does not change eligibility. + */ +export type PeriodCreditGrant = { /** - * Optional identity only when subscription_state is ended and the workspace's bound terminal subscription and plan can be verified. Visible to all workspace members, not only owners. Absent for unknown history, pointerless or unprojected legacy history, unreadable bindings and older servers. Absence is unknown, not no previous plan. Does not change plan actions or resubscribe eligibility. + * Configured whole display credits. Present only for amount. */ - previous_plan?: PreviousPlan + credits?: number /** - * When the current billing period ends and the next one begins: the end of the period current_period_start begins. + * Grant cadence, which may differ from Enterprise invoice cadence. Present only for amount. */ - renewal_date?: string - renewal_invoice?: RenewalInvoice - /** - * The authoritative successor scheduled for the current Stripe subscription. Always present; null when no valid scheduled plan transition exists. + period?: SubscriptionDuration + state: 'amount' | 'none' | 'unknown' +} + +/** + * Which developer-platform deployment this browser should run on. + */ +export type PickWorkspaceDeploymentRequest = { + /** + * Developer-platform deployment id: one of this workspace's, not deleted. The error message names which check failed. */ - scheduled_change: ScheduledPlanChange | null + deployment_id: string +} + +/** + * Billing plan details including pricing, limits, and features. + */ +export type Plan = { + action: PlanAction + availability: PlanAvailability /** - * Per-product funds verdict, keyed by product name (currently only "agent" is populated): shared credits OR that product's own scoped balance. This is what decides whether the product still has funds to spend, so a gratis-only workspace correctly reads true even though has_funds (the shared-only verdict) is false. It is not the complete admission verdict — a funded workspace can still be denied for other reasons, e.g. manual_block — so treat it as necessary but not sufficient for gating funds-exhaustion UI. Defaults to agent: true when billing is disabled; omitted only by older servers. + * Raw credit count (not cents) the plan grants for one billing period, + * read from the catalog grant the subscription actually receives. An + * annual plan carries the whole year's grant. Omitted when the plan + * grants no flat credit amount: per-credit Team plans (see + * team_credit_stops), team-only seat plans, zero-grant plans and plans + * absent from the catalog. + * */ - scoped_effective_has_funds?: { - [key: string]: boolean - } + credits?: number /** - * Per-product scoped balance state, keyed by product name (currently only "agent" is populated). True while that product's own dedicated balance remains; false once it is exhausted, regardless of shared credits, and also false if that product has never held a scoped balance of its own — both read the same way: no exclusive allowance to draw from right now. Use this to detect that, not to gate admission — use scoped_effective_has_funds for that. Defaults to agent: true when billing is disabled; omitted only by older servers. + * Per-member credits in cents (base + one seat) */ - scoped_has_funds?: { - [key: string]: boolean - } - subscription_duration?: SubscriptionDuration + credits_cents: number + denied_reason?: PlanActionDeniedReason + denied_reason_params?: PlanActionDeniedReasonParams + duration: SubscriptionDuration /** - * Render this state without recombining payment, tier, dates or activity. Native and legacy provider history distinguish never-subscribed from ended. Ended means a historical provider Cloud subscription ended, regardless of whether an invoice was ever paid. Omitted when an older upstream/server exposes no usable history facts. Optional history failures leave guidance unknown while ordinary status remains available. Also omitted for a native live subscription when a workspace payment_failed label has no authoritative subscription-payment provenance. Unknown states must not be inferred from missing fields. + * Optional ordered localization companion selected by the server. Only available items appear in the existing features strings; coming-soon items remain separate. Key is a stable semantic identifier, not a client locale path. Clients map known keys to translations and may use text as an English fallback according to their locale policy. Unknown keys never imply entitlements. Omitted for older string-only metadata. Team count uses the resolved max_seats. */ - subscription_state?: SubscriptionState + feature_items?: Array /** - * Subscription activity status (scheduled subscriptions are not returned) + * Optional ordered English feature copy for this offer, for display only. Omitted when metadata is unavailable. Team member count uses max_seats. Does not grant entitlements or change plan actions or availability. */ - subscription_status?: 'active' | 'ended' | 'canceled' - subscription_tier?: SubscriptionTier + features?: Array /** - * The team credit stop the workspace is currently subscribed to, for per-credit Team plans (BE-1254). Lets clients tell apart team subscriptions, which all share subscription_tier=TEAM. Always present; null for personal plans (use subscription_tier to distinguish those) and for legacy team plans without a credit stop. + * Maximum number of seats allowed for this plan */ - team_credit_stop: TeamCreditStopSummary | null + max_seats: number + /** + * Optional display badge for this offer. True recommends a Popular chip; false means no Popular chip. Omitted when metadata is unavailable. False for a matching current or scheduled plan, and for every offer in a known previous plan's tier across billing periods. Unknown previous tier is not inferred. At most one plan per billing period is true, breaking ties by plan slug within each period. Monthly and yearly recommendations can both be true. The server resolves this precedence. Not eligibility. + */ + popular?: boolean + /** + * Per-member price in cents (base + one seat) + */ + price_cents: number + seat_summary: PlanSeatSummary + /** + * Plan identifier (e.g., "pro-monthly", "team-standard-annual") + */ + slug: string + tier: SubscriptionTier } /** - * Payment lifecycle status + * Action for this exact plan and billing interval. Render as received. Subscribe starts or resumes checkout, change changes the plan now, reactivate removes a scheduled cancellation, downgrade schedules a reduction at the billing boundary, and none disables the choice. This is presentation guidance, not authorization; writes recheck policy. */ -export type BillingStatus = - | 'awaiting_payment_method' - | 'pending_payment' - | 'paid' - | 'payment_failed' - | 'paused' - | 'inactive' +export type PlanAction = + | 'subscribe' + | 'change' + | 'reactivate' + | 'downgrade' + | 'none' /** - * List of available billing plans for subscription. + * Why action is none. Permission refusals precede sales management, parked and running operations, a scheduled successor, transition restrictions, and seats. Scheduled successors include effective_at in denied_reason_params. Unknown or unavailable state fails closed with billing_state_unknown. Absent for an actionable choice. */ -export type BillingPlansResponse = { +export type PlanActionDeniedReason = + | 'not_a_member' + | 'not_workspace_owner' + | 'not_original_owner' + | 'sales_managed' + | 'billing_operation_parked' + | 'billing_operation_in_progress' + | 'subscription_change_in_progress' + | 'annual_to_monthly_unsupported' + | 'same_plan' + | 'incompatible_transition' + | 'exceeds_max_seats' + | 'billing_state_unknown' + +export type PlanActionDeniedReasonParams = { /** - * Current plan slug if subscribed + * Billing boundary when the already-scheduled successor takes effect. */ - current_plan_slug?: string - plans: Array - team_credit_stops?: TeamCreditStops + effective_at?: string } /** - * Status of an asynchronous billing operation. + * Availability and eligibility information for a billing plan. */ -export type BillingOpStatusResponse = { +export type PlanAvailability = { /** - * Present while status is "pending" and the operation cannot proceed - * without the customer. Today this is a Stripe-hosted payment page for - * a subscription whose first invoice needs authentication (SCA/3DS); - * send the customer there to complete payment. This bearer capability is - * returned only to workspace billing managers. Absent otherwise. - * + * Whether the workspace can switch to this plan right now. False exactly when reason is present. */ - action_url?: string + available: boolean + reason?: PlanAvailabilityReason +} + +/** + * Why a plan is unavailable. Present exactly when available is false and + * absent when it is true. Only the first reason that applies is reported, + * in the order below. Render the value as received; do not recompute it. + * same_plan: (a) Why can this plan not be picked? (b) It is the plan the workspace is already on. (c) Absent means the plan is not the current one. (d) Not a refusal of a different plan; see incompatible_transition. (e) The plan slug equals the slug of the workspace's active subscription. + * incompatible_transition: (a) Why is this plan closed for the workspace's current plan? (b) The transition rules never allow it: the Free plan, which is provisioned only through free-tier eligibility, or a switch into the Founders plan. (c) Absent means no such rule applies. (d) Not a temporary state, and not billing_operation_in_progress, billing_operation_parked or annual_to_monthly_unsupported. (e) The target is the Free plan, or the transition matrix refuses the pair for a reason other than annual_to_monthly_unsupported. + * billing_operation_in_progress: (a) Why can no other plan be picked for now? (b) A subscription-changing billing operation is running for the workspace's active subscription. It settles on its own, so a client may say that plans will be available again shortly. (c) Absent means no such operation is running. (d) Not billing_operation_parked, which does not clear on its own, not a successor already scheduled for a future billing boundary, and not a seat problem. (e) The workspace has a non-scheduled active subscription and a subscription-changing billing operation is running and none is parked. + * billing_operation_parked: (a) Why can no other plan be picked until support steps in? (b) A subscription-changing billing operation is parked for reconciliation for the workspace's active subscription: it is either paid but credits not granted, or a replacement subscription that could not finish superseding the old one. It does not clear on its own, so a client must route the user to support and never imply a wait. (c) Absent means no operation is parked. (d) Not billing_operation_in_progress, which settles on its own, not a successor already scheduled for a future billing boundary, and not a seat problem. (e) The workspace has a non-scheduled active subscription and a subscription-changing billing operation is parked; reported instead of billing_operation_in_progress when both exist. + * annual_to_monthly_unsupported: (a) Why can a monthly plan not be chosen from an annual plan? (b) The annual commitment binds, so a move to a higher-tier monthly plan is not supported before the term ends. (c) Absent means the transition is not an annual to higher-tier monthly move. (d) Not a downgrade, which is allowed and scheduled, and not incompatible_transition. (e) The transition matrix refuses the pair with its annual-to-monthly tier upgrade rule. + * exceeds_max_seats: (a) Why is this plan closed to a workspace with many people? (b) The occupied seats exceed the plan's seat limit, counted as the subscribe request counts them: a team plan counts members plus unexpired pending invitations, any other plan counts members alone. (c) Absent means the occupied seats fit the plan. (d) Not a pending-invitation count for non-team plans, where an invitation does not occupy a seat. (e) For a team plan, members + pending invitations is greater than the seat limit; for any other plan, members is greater than the seat limit; a positive workspace override replaces the plan default in both cases. + * requires_team and requires_personal are part of this enum but are not reported today. + */ +export type PlanAvailabilityReason = + | 'same_plan' + | 'incompatible_transition' + | 'billing_operation_in_progress' + | 'billing_operation_parked' + | 'annual_to_monthly_unsupported' + | 'exceeds_max_seats' + | 'requires_team' + | 'requires_personal' + +export type PlanFeatureItem = { /** - * Display only. What the operation's Stripe invoice collected, in - * cents, tax included. Present only for a succeeded operation billed - * through a Stripe invoice, and absent whenever that amount could not - * be read. Top-ups paid on a hosted checkout page or through - * Metronome get neither this nor credits_added. Returned only to - * workspace billing managers, like the other payment details. - * + * Stable semantic display identifier; additions appear in generated client types. */ - amount_charged_cents?: number + key: + | 'shortRuntime' + | 'longRuntime' + | 'addCredits' + | 'importModels' + | 'sharedCreditPool' + | 'membersUpTo' + | 'perMemberCreditLimits' + | 'memberSpendAuditing' + | 'sharedWorkflowsAssets' + | 'projects' /** - * Original server-owned deadline for this top-up's authentication wait. - * Present only while a pending top-up requires customer authentication - * and the caller may read its payment details. Historical or unknown - * deadlines, terminal and reconciliation states omit it. The server also - * omits expired deadlines using its own clock. Absence is not a payment - * outcome. Polling and - * retries never extend the deadline. At expiry the server begins its - * existing payment cleanup; this is not proof that a payment failed. - * + * Named raw interpolation values only, never preformatted copy. */ - authentication_deadline?: string + params?: { + /** + * Resolved Team member limit for membersUpTo; use locale plural rules. + */ + count: number + } /** - * State derived from the PaymentIntent attached to this operation's - * exact stored Stripe invoice. Absent when the operation has no - * correlated PaymentIntent. - * + * Coming-soon items are display promises, not currently available entitlements. */ - authentication_state?: - | 'requires_action' - | 'processing' - | 'failed_retryable' - | 'succeeded' - | 'reconciliation_needed' + status: 'available' | 'coming_soon' /** - * true exactly when POST /api/billing/ops/{id}/cancel would deliver - * the abandon for this caller: a pending plan change or initial - * subscription whose workflow is waiting on the customer's - * authentication. An already-canceled operation is false even though - * the cancel call still answers 200 for it. Decided by the same - * check the cancel endpoint runs, so clients must not derive it from - * status, phase or authentication_state. false for terminal - * operations, other operation types and callers who may not cancel. - * Absent when it could not be determined; absent means no claim. - * + * English fallback for this display item; available items also appear in features. */ - cancelable?: boolean - charge_breakdown?: BillingOpChargeBreakdown + text: string +} + +/** + * Summary of seat costs based on current workspace members + */ +export type PlanSeatSummary = { /** - * Owner-only subscription-checkout banner fact for initial subscriptions and plan transitions. unfinished means awaiting a payment method for a known target plan; verify_payment has a usable payment action; processing means the bank is processing the payment; payment_received means payment succeeded while the operation remains pending; failed is a terminal payment refusal, excluding abandoned/superseded checkouts. none is a known non-banner state, including resolved or reconciliation operations. Omitted for members, other operation types, uncertain provider reads and older servers. Omission is unknown, never an implied none. + * Total number of seats (owner + members) that would be charged */ - checkout_state?: - | 'unfinished' - | 'verify_payment' - | 'processing' - | 'payment_received' - | 'failed' - | 'none' + seat_count: number /** - * When the operation completed (success or failure) + * Total cost for all seats in cents */ - completed_at?: string + total_cost_cents: number /** - * Display only. Credits (not cents) actually granted for the - * operation's Stripe invoice — for a plan change, the prorated - * difference. Present only for a succeeded operation whose grant has - * been recorded. Visible to any workspace member who can read the - * operation. - * + * Total credits granted for all seats in cents */ - credits_added?: number + total_credits_cents: number +} + +/** + * Plan information for preview display + */ +export type PreviewPlanInfo = { /** - * Coarse classification of why the correlated PaymentIntent's last - * payment attempt failed, derived at read time from the provider's - * machine-readable error and decline codes — never from provider - * message text or payment-method details. Present only when the - * intent has recorded a failed attempt and the operation is either - * still pending with authentication_state failed_retryable or has - * terminally failed. generic means the attempt failed for a reason - * outside this vocabulary. payment_not_completed means Stripe explicitly - * reported customer non-approval or an expired attempt. Generic failed - * attempts and ambiguous provider declines retain their failure meaning. - * - */ - decline_reason?: - | 'card_declined' - | 'insufficient_funds' - | 'expired_card' - | 'incorrect_cvc' - | 'authentication_required' - | 'authentication_failed' - | 'processing_error' - | 'payment_not_completed' - | 'generic' - /** - * PII-safe failure code or generic failure message + * Per-seat credits in cents */ - error_message?: string + credits_cents: number + duration: SubscriptionDuration /** - * Unique identifier for the billing operation + * The plan's price for one billing period before invoice-level + * discounts, as rated by Stripe: the compare-at price a checkout + * strikes through beside price_cents. Present only on new_plan of + * Stripe-rated quotes that itemize every applied discount in + * discounts, and only when it is above price_cents, so a client + * shows the strikethrough exactly when this field is present. + * Same basis as price_cents: the whole subscription for one + * billing period. No plan on sale is priced by seat (personal plans + * are one seat; Team is priced by its credit stop), so the seat + * count changes neither. + * */ - id: string + list_price_cents?: number /** - * Stripe PaymentIntent client secret for completing requires_action. - * This bearer capability is returned only to workspace billing managers - * and is absent otherwise. + * list_price_cents divided by 12 and rounded half up to the nearest + * cent, for showing a yearly plan's pre-discount per-month price. + * Display only, like monthly_price_cents. Present exactly when + * list_price_cents is present on an ANNUAL new_plan, so a client + * strikes it through beside monthly_price_cents whenever it is + * present. * */ - payment_intent_client_secret?: string + monthly_list_price_cents?: number /** - * What a pending operation is waiting on, for callers deciding - * whether to keep polling or to put the customer back in the loop. - * The two awaiting_ values are blocked on the customer and will not - * advance on their own: awaiting_payment_method is parked on a hosted - * checkout needing a card, awaiting_invoice_payment on an invoice - * needing payment or authentication. in_progress means the operation - * is ours to finish, so polling is the right response. Deliberately - * coarser than the internal phase — phases that differ only in what - * the workflow is doing all report in_progress. Absent for a terminal - * operation, and for a phase this build does not recognise: absent - * means no claim, never an implied in_progress. + * price_cents divided by 12 and rounded half up to the nearest cent, + * for showing a yearly plan as a per-month price. Display only: the + * yearly charge is still price_cents, and 12 times this value can + * differ from it by up to 6 cents. Present only on new_plan, and only + * when duration is ANNUAL. * */ - phase?: 'awaiting_payment_method' | 'awaiting_invoice_payment' | 'in_progress' - plan?: BillingOpReceiptPlan + monthly_price_cents?: number /** - * Typed next action for a failed operation. Absent for pending and succeeded operations. + * Current billing period end (only for current_plan) */ - recovery_action?: - | 'retry' - | 'replace_payment_method' - | 'authenticate_payment' - | 'contact_support' + period_end?: string /** - * Whether the customer can recover by starting a new billing operation after performing recovery_action. + * Current billing period start (only for current_plan) */ - retryable?: boolean + period_start?: string /** - * When the operation was initiated + * Per-seat price in cents */ - started_at: string + price_cents: number + seat_summary: PlanSeatSummary /** - * Current status of the operation. reconciliation_needed is terminal - * for client polling but requires support reconciliation. - * + * Plan slug */ - status: 'pending' | 'succeeded' | 'failed' | 'reconciliation_needed' - topup_purchase_amount?: TopUpPurchaseAmount + slug: string + tier: SubscriptionTier } /** - * Display only. The plan the operation targets; for a scheduled change, - * the plan it switches to at period end. Present for plan changes, - * initial subscriptions and resubscribes in every status (pending, - * failed and succeeded alike), so a recovered pending operation can be - * labelled with its own plan. Absent when the target plan could not be - * resolved. Visible to any workspace member who can read the operation. - * tier and the price fields are absent when the server cannot describe - * the plan, as for the retired seat-based Team plans, whose rows carry a - * personal tier and whose price depends on the workspace's seats. - * + * Request body for previewing the cost of a plan subscription change. */ -export type BillingOpReceiptPlan = { +export type PreviewSubscribeRequest = { /** - * ISO 4217 currency of price_cents, lowercase (e.g. usd). Present - * exactly when price_cents is present. + * Client-minted identifier for one checkout attempt, generated when + * the customer starts checkout and sent on every request and + * analytics event of that attempt. Purely for observability: it is + * what joins the frontend funnel (which emits events before any + * billing op exists) to the backend outcome. Expected to match + * ^[A-Za-z0-9_-]{1,64}$; a present value that does not is ignored, + * never rejected, so the constraint is intentionally not declared + * here as pattern/maxLength -- either would make a conforming + * client or request validator reject the request before ingest + * ever applies that "ignored, not rejected" behavior. * */ - currency?: string - duration: SubscriptionDuration + checkout_attempt_id?: string /** - * price_cents divided by 12 and rounded half up to the nearest cent, - * as on the subscribe preview's new_plan. Display only. Present - * exactly when price_cents is present on an ANNUAL plan. - * + * Target plan slug to preview subscribing to */ - monthly_price_cents?: number + plan_slug: string /** - * The plan's recurring price for one billing period, at - * team_credit_stop_id for a per-credit Team plan: a whole year for - * ANNUAL. The same figure as new_plan.price_cents on the subscribe - * preview, before tax, promotions, account balance and proration, - * so it is not what the operation charged; amount_charged_cents is. - * Present together with currency, and absent when the plan could - * not be priced, including the retired seat-based Team plans. - * + * Optional Stripe promotion code to validate and include in the exact quote. */ - price_cents?: number - slug: string + promotion_code?: string /** - * The per-credit Team credit stop the operation targets (e.g. - * team_200). Absent for personal plans and for Team plans without a - * credit stop. - * + * Selected per-credit Team plan stop to preview. */ team_credit_stop_id?: string - tier?: SubscriptionTier } /** - * One deduction from today's charge. discount is the promotion in the - * quote's discount shape (kind promotion, without amount_off_cents; the - * amount is amount_cents), present exactly for promo_code and - * subscription_discount. Its duration_in_months is set only for - * promo_code: a carried promotion's remaining term is not the coupon's. - * + * Itemized cost preview for a pending subscription change. */ -export type BillingOpChargeReason = { +export type PreviewSubscribeResponse = { /** - * What this reason removed from today's charge, as a positive amount. + * Whether this subscription change is allowed */ - amount_cents: number - discount?: SubscriptionDiscount + allowed: boolean + amount_due_cents?: number /** - * promo_code is the promotion code entered for this operation; - * subscription_discount is a promotion the subscription already - * carried; account_balance is existing customer credit applied. + * Credit from the customer's existing account balance applied to + * today's charge (the invoice's starting balance, capped at the + * total). Present only on Stripe-rated quotes that invoice today in + * embedded checkout, when a credit balance is applied; otherwise + * absent. Display only: amount_due_cents already reflects it + * (an absent amount_due_cents means 0). * */ - kind: 'promo_code' | 'subscription_discount' | 'account_balance' -} - -/** - * Display only. Why a succeeded subscription operation charged other - * than its plan rate, read from the operation's paid Stripe invoice. - * Present only when that invoice collected more than zero and a - * promotion, the account balance or proration moved the charge off the - * plan rate; absent means no rows. Plan coupons (the annual or team - * commitment rate) are part of the rate and are never a reason. Never - * present for top-ups. Returned only to workspace billing managers, - * like amount_charged_cents. - * - */ -export type BillingOpChargeBreakdown = { + balance_applied_cents?: number /** - * What the invoice collected, tax included. + * Amount that will be charged at next billing period in cents */ - amount_charged_cents: number - currency: string + cost_next_period_cents: number /** - * The invoice billed the new plan for the rest of the current - * period. A prorated charge is named, never itemized, so reasons is - * empty exactly when this is true. - * + * Amount to charge today in cents (0 for downgrades) */ - prorated: boolean + cost_today_cents: number /** - * One row per deduction from today's charge, in display order: - * promotions in the invoice's order, then the account balance. + * Credits granted at the next billing period, as a whole credit count, + * resolved the same way as credits_today. Absent when the quote was not + * priced against Stripe. * */ - reasons: Array -} - -export type BillingOpCancelResponse = { - billing_op_id: string + credits_next_period?: number /** - * canceled: the operation was dropped and nothing was charged. cancel_requested: the cancel was delivered but has not settled yet. + * Credits that will be granted at next billing period in cents */ - status: 'canceled' | 'cancel_requested' -} - -/** - * Paginated list of billing events for a workspace. - */ -export type BillingEventsResponse = { + credits_next_period_cents: number /** - * When this environment began attributing every charge, the same instant as `attribution_since` on the usage time series. Charges from before it may still name their member and source (many carried them long before); the start is only the instant from which a charge naming no member is known to be unattributed, which each such event states itself with `unattributed`. Absent where no such start is configured, and on the admin history feed. + * Credits granted today, as a whole credit count. Resolved from the + * Stripe price metadata by the same rule the invoice grant uses, so it + * equals credits_added on the succeeded operation. Display this rather + * than converting credits_today_cents, which rounds. Absent when the + * quote was not priced against Stripe. + * */ - attribution_since?: string - events: Array + credits_today?: number /** - * Items per page + * Credits granted today in cents (prorated for mid-period upgrades) */ - limit: number + credits_today_cents: number + currency?: string + current_plan?: PreviewPlanInfo + discounts?: Array /** - * Current page number (1-indexed) + * When the change takes effect */ - page: number + effective_at: string /** - * Total number of events + * Whether the change takes effect immediately (true) or at period end (false) */ - total: number + is_immediate: boolean + new_plan: PreviewPlanInfo /** - * Total number of pages + * The Stripe payment method configuration governing which payment + * methods a checkout offers for this environment. Mount Stripe + * Elements with `paymentMethodConfiguration` set to this id instead + * of hardcoding payment method types. Present on every successful + * preview whenever the environment has one configured, independent + * of embedded_checked_enabled; absent when it is not configured. + * */ - totalPages: number -} - -/** - * A single history event. The cloud history-events store is the single source of truth for both billing events (charges, credits, adjustments) and user-facing usage events. - */ -export type BillingEvent = { + payment_method_configuration_id?: string /** - * That key's name, when the key is known to this workspace (revoked keys included). - */ - api_key_name?: string - /** - * The API key the charge came through, from the event's `spend_source`; absent for a signed-in session or a deployment. - */ - api_key_prefix?: string - /** - * True when that key, known to this workspace, has been revoked. Absent when the key is unknown. - */ - api_key_revoked?: boolean - /** - * When the event occurred - */ - createdAt: string - /** - * The Serverless deployment the charge came through, from the event's `deployment_id`; absent for a session or an API key. - */ - deployment_id?: string - /** - * That deployment's name, when the caller is a signed-in session comfy-deploy can name it for; absent on an API-key read or when comfy-deploy could not be reached. - */ - deployment_name?: string - /** - * Unique event identifier - */ - event_id: string - /** - * Type of history event. Billing types (e.g. invoice_paid, checkout_completed, topup_completed) and the migrated user-facing usage types (account_created, credit_added, api_usage_completed, cloud_subscription_created, cloud_subscription_paid, cloud_subscription_credit_added, cloud_workflow_executed, free_tier_credit_granted). Kept as a free-form string for back-compat with existing billing-event consumers. - */ - event_type: string - /** - * That member's name, or their email when they have no name set. - */ - member_display_name?: string - /** - * That member's email, so two members with one name can be told apart. - */ - member_email?: string - /** - * True when that person is no longer a member of this workspace. - */ - member_former?: boolean - /** - * The member the charge counts toward, from the event's `user_id`; absent when the event names none. - */ - member_user_id?: string - /** - * Event-specific parameters - */ - params?: { - [key: string]: unknown - } - /** - * True for a charge made at or after the instant this environment began attributing every charge (`attribution_since`) that names no member: the system tried and could not say who it was. A charge names a member by any identity the `scope` filter matches it on. Absent on money and lifecycle events, on charges that name a member, on deployment charges (attributed to their deployment), on charges made before attribution began (by the charge's own time where recorded, else when it was written), where no start is configured, and on the admin history feed. - */ - unattributed?: boolean -} - -/** - * Fields to set on the workspace's Stripe customer. Every group is - * optional; omit a group to leave that part of the customer unchanged. - * - */ -export type BillingCompanyDetailsUpdateRequest = { - address?: BillingAddress - /** - * Legal or trading name to show on invoices. - */ - company_name?: string - tax_id?: BillingTaxId -} - -/** - * A billing address for a company Stripe customer. city and postal_code - * are optional because some countries (e.g. Hong Kong, the UAE, Panama) - * have no postal code and are not collected for them; Stripe validates - * what a given country actually requires. - * - */ -export type BillingAddress = { - city?: string - /** - * Two-letter ISO 3166-1 country code. - */ - country: string - line1: string - line2?: string - postal_code?: string - state?: string -} - -/** - * Company billing details on file for the workspace's Stripe customer. - * A field is absent until the workspace sets it via PATCH - * /api/billing/company-details. - * - */ -export type BillingCompanyDetailsResponse = { - address?: BillingAddress - company_name?: string - tax_id?: BillingTaxId -} - -export type BillingCapabilityScope = { - user_id: string - workspace_id: string -} - -/** - * Identifies capability values currently using safe rollout defaults - * instead of deterministic policy results. A true value is UI guidance, - * not evidence that the corresponding write will succeed. - * - */ -export type BillingCapabilityRolloutDefaults = { - can_downgrade_to_personal: boolean - can_subscribe_self_serve: boolean - can_top_up: boolean -} - -/** - * Why a capability resolved false, keyed by the capability. The value - * names the policy branch that decided, not customer-facing wording: the - * client owns the message. - * - * How to read this: render each capability from `capabilities` as received, and - * use a reason only to explain a capability that is false. Never recombine - * capabilities or reasons into a new decision, and never derive a reason from - * tier, role, status or plan slug. A missing reason is not a grant. A refused - * capability usually has a key here naming the branch that refused it. A false - * capability with no matching key is an unexplained refusal: no recognised - * explanation, still false. A true capability never has a key. - * Within a key the values are listed in the order the resolver reaches them, - * and the first one reached is the one reported. Capabilities are UI guidance, - * not authorization: the write endpoints decide. - * - * The invariant runs one way only. **Presence implies refusal**: a key is - * present only alongside `capabilities. == false`, reconciled before - * the response is built, so a reason never accompanies a granted - * capability. **Absence implies nothing**: on a false capability it - * means no recognised explanation, and on a true capability it is the - * expected state. Consult `capabilities`, which stays authoritative for what - * the client may offer. - * - * A key is absent for a refused capability whenever this service is - * talking to a billing-api that predates the field, and whenever it drops - * a reason it does not recognise rather than forwarding a value outside - * the enum below. Both are supported states, so a client must never infer - * a capability's value from a missing reason -- only from `capabilities`. - * - * This endpoint omits the entire `denied_reasons` object when no recognised - * reason survives. The billing-api endpoint may emit `{}` for the same - * logical state, so object presence must not be used to detect support. - * - */ -export type BillingCapabilityDenials = { - /** - * Present only when can_cancel is false. The value names the resolver branch - * that decided, not customer wording. Values are listed in the order the - * resolver reaches them; the first one reached wins. cancellation_scheduled, - * subscription_ended, subscription_not_started and - * subscription_status_unrecognized belong to different subscription statuses and - * are alternatives that never compete. Absent while the capability is false - * means no recognised explanation, not a grant. - * - not_a_member: the caller is not a member of the workspace. Unreachable - * over HTTP: a non-member is answered 403 before capabilities resolve. - * - not_workspace_owner: the caller is a member whose role is not owner. Not - * the same as not_a_member. - * - not_original_owner: the caller is an owner but not the workspace's creator; - * only the creator may start, change, cancel or reactivate the plan. Reached - * after not_workspace_owner. Reported only when the rollout mode is not - * `owner`. Not not_workspace_owner (role) and not creator_only_provisioning - * (provisioning a personal workspace's billing identity). - * - free_plan: the current tier is FREE. Checked on the tier alone, whatever - * the status, and before the no-subscription check. A FREE plan is not a paid - * subscription, so there is nothing to cancel. - * - no_subscription: there is no subscription row and the server treats that - * absence as authoritative. Where the absence is only unknown (a legacy - * Stripe workspace) can_cancel stays true and no reason is sent. A leftover - * reserved row with no live operation behind it, on a self-serve tier, is - * reported as no subscription. - * - tier_not_self_serve: the subscription's tier is sales-managed or - * unrecognised, so its lifecycle is not customer-driven. - * - billing_operation_in_progress: an initial subscription, plan change, - * cancel, resubscribe, seat change, revert or retention offer is running, - * either a pending workflow or the retention-offer gate between the Stripe - * write and its confirmation. It settles on its own, so a client may tell the - * user to wait, and cancel is refused until it does. Not - * subscription_change_in_progress, where a successor plan is scheduled. Not - * evaluated for a reserved subscription, which reports - * subscription_not_started. Reached before cancellation_scheduled. - * - billing_operation_parked: such an operation is parked for reconciliation, - * either paid but credits not granted or a replacement subscription that - * could not finish superseding the old one. It does not clear on its own, so - * a client must route the user to support and never imply a wait. Reported - * instead of billing_operation_in_progress when both kinds exist, and reached - * at the same point, before cancellation_scheduled. - * - cancellation_scheduled: a cancellation is already scheduled, so cancelling - * again is refused. The opposite of cancellation_not_scheduled on - * can_reactivate. - * - subscription_ended: the subscription has stopped for good: ended, or - * canceled with no cancellation date. Never competes with - * billing_operation_in_progress or billing_operation_parked, which a stopped - * subscription does not evaluate. - * - subscription_not_started: a subscription row is reserved but not running. - * Not no_subscription (no row at all) and not subscription_ended. - * - subscription_status_unrecognized: the subscription status is one the - * resolver has no guidance for. The server is undetermined, which is not a - * deliberate refusal. - * + * Normalized promotion code accepted by Stripe. */ - can_cancel?: - | 'not_a_member' - | 'not_workspace_owner' - | 'not_original_owner' - | 'free_plan' - | 'no_subscription' - | 'tier_not_self_serve' - | 'billing_operation_in_progress' - | 'billing_operation_parked' - | 'cancellation_scheduled' - | 'subscription_ended' - | 'subscription_not_started' - | 'subscription_status_unrecognized' + promotion_code?: string /** - * Why can_change_seats is false. Present only when that capability is false; absent means no recognized explanation, never permission. This does not authorize the action or explain a sibling capability. First reached wins in the order below; mutually exclusive lifecycle statuses do not compete. - * - not_a_member: The actor is not a workspace member. - * - not_workspace_owner: The actor does not have the workspace owner role. - * - no_subscription: No subscription exists for the action to apply to. - * - tier_not_self_serve: The existing plan is sales-managed or unrecognized. - * - subscription_ended: The subscription has ended. - * - subscription_not_started: The subscription has not started. - * - subscription_status_unrecognized: The subscription status is unrecognized. + * The instant cost_today_cents was priced at (Stripe-native transitions + * only; absent for other billing rails). Echo this back as proration_at + * on POST /billing/subscribe to have the subscribe charge exactly this + * previewed amount instead of re-pricing at whatever later instant the + * subscribe request happens to arrive. * */ - can_change_seats?: - | 'not_a_member' - | 'not_workspace_owner' - | 'no_subscription' - | 'tier_not_self_serve' - | 'subscription_ended' - | 'subscription_not_started' - | 'subscription_status_unrecognized' + proration_at?: string /** - * Present only when can_delete_workspace is false. The value names the - * resolver branch that decided, not customer wording. The list follows the - * order the resolver reaches the branches, and the first one reached wins. - * Absent while the capability is false means no recognised explanation, not - * a grant: a fact could not be read, or the team-workspaces feature is off. - * - not_a_member: the caller is not a member of the workspace. Unreachable - * through this endpoint: a non-member is answered 403 before capabilities - * resolve. - * - sales_managed_plan: a live subscription row is on a sales-managed tier - * (plan_kind sales_managed), so sales ends the plan, not the customer, and - * there is no customer step to point at. Reported to every member, owner - * or not, before any role or workspace refusal; it reveals only what - * plan_kind already does. An ended or reserved sales-managed row does not - * report it. Not plan_not_ended, which the customer can end by cancelling. - * - not_workspace_owner: the caller is a member whose role is not owner. A - * non-owner is told nothing below this branch, so it never learns whether - * an SSO organization holds the workspace. - * - not_original_owner: the caller is an owner who did not create the - * workspace and the rollout mode is not owner. Reached after - * not_workspace_owner and before any workspace-specific refusal. - * - workspace_sso_attached: the workspace belongs to an SSO organization and - * only an operator detach can delete it. - * - personal_workspace: a personal workspace, which is never deleted. - * - billing_operation_in_progress: an initial subscription, plan change, - * cancel, resubscribe, seat change, revert or retention offer is running, - * either a pending workflow or the retention-offer gate between the - * Stripe write and its confirmation. It settles on its own, so a client - * may tell the user to wait. The same fact as the reason of that name on - * can_cancel and can_reactivate. Not plan_not_ended, which is about a - * subscription row. - * - billing_operation_parked: such an operation is parked for - * reconciliation, either paid but credits not granted or a replacement - * subscription that could not finish superseding the old one. It does - * not clear on its own, so a client must route the user to support and - * never imply a wait. Reported instead of billing_operation_in_progress - * when both kinds exist. The same fact as the reason of that name on - * can_cancel and can_reactivate. - * - plan_not_ended: at least one live subscription row has not started - * ending, so deleting the workspace would leave a plan charging. - * Reached after permission, workspace and operation refusals. - * - plan_ending: every live subscription is ending (a canceled row or a - * future cancel_at). When all cancellation boundaries are known, - * denied_reason_params.can_delete_workspace.effective_at gives the - * latest one. Missing params mean an unknown date. This and - * plan_not_ended describe different states and never compete. + * Stripe's prorated charge for the rest of the current period on the + * new plan, before discounts. In embedded checkout, present on an + * immediate plan change that Stripe prorates, when every discount on + * today's invoice is itemized in discounts or none applies; absent on + * the monthly-to-yearly reset, scheduled changes and a first + * subscription. + * When present, proration_remaining_cents minus proration_unused_cents + * is the invoice's proration before discounts; other invoice lines are + * not itemized. * */ - can_delete_workspace?: - | 'not_a_member' - | 'sales_managed_plan' - | 'not_workspace_owner' - | 'not_original_owner' - | 'workspace_sso_attached' - | 'personal_workspace' - | 'billing_operation_in_progress' - | 'billing_operation_parked' - | 'plan_not_ended' - | 'plan_ending' + proration_remaining_cents?: number /** - * Why can_downgrade_to_personal is false. Present only when that capability is false; absent means no recognized explanation, never permission. This does not authorize the action or explain a sibling capability. First reached wins in the order below; mutually exclusive lifecycle statuses do not compete. - * - not_a_member: The actor is not a workspace member. - * - not_workspace_owner: The actor does not have the workspace owner role. - * - not_original_owner: The action requires the workspace creator. - * - no_subscription: No subscription exists for the action to apply to. - * - tier_not_self_serve: The existing plan is sales-managed or unrecognized. - * - subscription_change_in_progress: A successor plan change is already scheduled. - * - subscription_ended: The subscription has ended. - * - subscription_not_started: The subscription has not started. - * - subscription_status_unrecognized: The subscription status is unrecognized. - * - rollout_disabled: The server read default keeps this action disabled independently of its policy permission. + * Stripe's credit for unused time on the old plan, as a positive + * amount to subtract. Present exactly when proration_remaining_cents + * is. * */ - can_downgrade_to_personal?: - | 'not_a_member' - | 'not_workspace_owner' - | 'not_original_owner' - | 'no_subscription' - | 'tier_not_self_serve' - | 'subscription_change_in_progress' - | 'subscription_ended' - | 'subscription_not_started' - | 'subscription_status_unrecognized' - | 'rollout_disabled' + proration_unused_cents?: number /** - * Why can_edit_workspace is false. Permission refusals precede unavailable feature or entitlement facts; first reached wins in enum order. A present key implies refusal. Missing means unknown, including a disabled team-workspaces feature or an unavailable membership read, never permission. This explains only this capability and does not authorize a mutation. + * Opaque short-lived quote identifier to echo on Subscribe. */ - can_edit_workspace?: 'not_a_member' | 'not_workspace_owner' + quote_id?: string /** - * Why can_invite_members is false. Present only when that capability is false; absent means no recognized explanation, never permission. This does not authorize the action or explain a sibling capability. First reached wins in the order below; mutually exclusive lifecycle statuses do not compete. - * - not_a_member: The actor is not a workspace member. - * - not_workspace_owner: The actor does not have the workspace owner role. - * - invite_capacity_reached: No invitation capacity is available, including a failed capacity read. - * + * Quote contract version to echo on Subscribe. */ - can_invite_members?: - | 'not_a_member' - | 'not_workspace_owner' - | 'invite_capacity_reached' + quote_version?: number /** - * Present only when can_leave_workspace is false. The value names the - * resolver branch that decided, not customer wording. The list follows the - * order the resolver reaches the branches, and the first one reached wins. - * Absent while the capability is false means no recognised explanation, not - * a grant: a fact could not be read, or the team-workspaces feature is off. - * - not_a_member: the caller is not a member of the workspace. Unreachable - * through this endpoint: a non-member is answered 403 before capabilities - * resolve. - * - membership_managed_by_directory: the workspace's SSO organization is - * attached and holds this account, so the membership is the organization's - * to manage and leaving would strand an SSO account with no workspace. - * - personal_workspace_creator: the caller created this personal workspace - * and can never leave it. Not personal_workspace on can_delete_workspace, - * which is about deleting the workspace. - * - workspace_creator: the caller created this team workspace and can never - * leave it, even while other owners remain. Reached after - * personal_workspace_creator and before only_owner, which a creator who - * is the sole owner therefore never sees. - * - only_owner: the caller is the sole owner, so leaving would leave the - * workspace with no owner. Another owner must exist first. - * + * Reason why the change is not allowed (only present if allowed=false) */ - can_leave_workspace?: - | 'not_a_member' - | 'membership_managed_by_directory' - | 'personal_workspace_creator' - | 'workspace_creator' - | 'only_owner' + reason?: string + renewal_amount_cents?: number /** - * Why can_manage_auto_top_up is false. Present only when that capability is false; absent means no recognized explanation, never permission. This does not authorize the action or explain a sibling capability. First reached wins in the order below; mutually exclusive lifecycle statuses do not compete. - * - not_a_member: The actor is not a workspace member. - * - not_workspace_owner: The actor does not have the workspace owner role. + * The next recurring charge and target-plan period end. Current servers + * always return this later than effective_at and following the target + * plan's billing interval. Optional in the schema for older clients. * */ - can_manage_auto_top_up?: 'not_a_member' | 'not_workspace_owner' + renewal_at?: string /** - * Why can_manage_billing is false. Present only when that capability is false; absent means no recognized explanation, never permission. This does not authorize the action or explain a sibling capability. First reached wins in the order below; mutually exclusive lifecycle statuses do not compete. - * - not_a_member: The actor is not a workspace member. - * - not_workspace_owner: The actor does not have the workspace owner role. - * - creator_only_provisioning: Only the creator can provision this workspace billing identity. + * Whether this previewed change requires explicit reactivation + * consent. Computed from the persisted subscription and a short-lived + * cache of Stripe lifecycle state. The subscribe enforcement path + * performs its own uncached Stripe lifecycle read. * */ - can_manage_billing?: - | 'not_a_member' - | 'not_workspace_owner' - | 'creator_only_provisioning' + requires_reactivation_confirmation?: boolean /** - * Why can_manage_members is false. Present only when that capability is false; absent means no recognized explanation, never permission. This does not authorize the action or explain a sibling capability. First reached wins in the order below; mutually exclusive lifecycle statuses do not compete. - * - not_a_member: The actor is not a workspace member. - * - not_workspace_owner: The actor does not have the workspace owner role. + * Stripe's subtotal for today's invoice: before invoice-level + * discounts and any customer credit balance, and before tax only for + * tax-exclusive prices. On an immediate plan change it is net of the + * unused-time credit, so it can be zero or negative. Present only on + * Stripe-rated quotes that invoice today and itemize every applied + * discount in discounts. The charge is always + * cost_today_cents / amount_due_cents. * */ - can_manage_members?: 'not_a_member' | 'not_workspace_owner' + subtotal_cents?: number /** - * Why can_manage_partner_node_access is false. Permission refusals precede unavailable feature or entitlement facts; first reached wins in enum order. A present key implies refusal. Missing means unknown, including a disabled team-workspaces feature or an unavailable membership read, never permission. This explains only this capability and does not authorize a mutation. + * Type of subscription transition */ - can_manage_partner_node_access?: - | 'not_a_member' - | 'not_workspace_owner' - | 'partner_governance_not_entitled' + transition_type: + | 'new_subscription' + | 'upgrade' + | 'downgrade' + | 'duration_change' +} + +/** + * Identity of the workspace-bound terminal subscription, not a checkout target or permission to resubscribe. Historical identity is independent of current plan availability and pricing. + */ +export type PreviousPlan = { /** - * Why can_manage_subscription is false. Present only when that capability is false; absent means no recognized explanation, never permission. This does not authorize the action or explain a sibling capability. First reached wins in the order below; mutually exclusive lifecycle statuses do not compete. - * - not_a_member: The actor is not a workspace member. - * - not_workspace_owner: The actor does not have the workspace owner role. - * + * Exact recorded plan identifier; never inferred from tier. */ - can_manage_subscription?: 'not_a_member' | 'not_workspace_owner' + plan_slug: string /** - * Why can_open_plans is false, present only for a refused capability. Missing means no recognized explanation, never permission. It is the can_subscribe_self_serve reason with the creator rule always applied and a scheduled plan change set aside: a non-creator owner gets not_original_owner in every rollout mode, and subscription_change_in_progress never appears here. - * - not_a_member: The actor is not a workspace member. - * - not_workspace_owner: The actor does not hold the workspace owner role. - * - not_original_owner: Plan changes require the workspace creator. - * - creator_only_provisioning: Only the creator can provision this billing identity. - * - tier_not_self_serve: The current tier is sales-managed or unrecognized. - * - subscription_not_started: The existing subscription has not started. - * - subscription_status_unrecognized: The existing subscription status is unrecognized. - * + * Recorded Team commitment-stop choice, when known. No price is inferred. */ - can_open_plans?: - | 'not_a_member' - | 'not_workspace_owner' - | 'not_original_owner' - | 'creator_only_provisioning' - | 'tier_not_self_serve' - | 'subscription_not_started' - | 'subscription_status_unrecognized' + team_credit_stop_id?: string +} + +/** + * Error response for ComfyUI prompt execution. + */ +export type PromptErrorResponse = { + [key: string]: unknown +} + +/** + * Metadata about the currently running and queued prompts. + */ +export type PromptInfo = { + exec_info?: { + /** + * Number of items remaining in the queue + */ + queue_remaining?: number + } +} + +/** + * Request body for submitting a ComfyUI workflow prompt for execution. + */ +export type PromptRequest = { /** - * Present only when can_reactivate is false. The value names the resolver - * branch that decided, not customer wording. Values are listed in the order the - * resolver reaches them; the first one reached wins. cancellation_not_scheduled, - * subscription_ended, subscription_not_started and - * subscription_status_unrecognized belong to different subscription statuses and - * are alternatives that never compete. Absent while the capability is false - * means no recognised explanation, not a grant. - * - not_a_member: the caller is not a member of the workspace. Unreachable - * over HTTP: a non-member is answered 403 before capabilities resolve. - * - not_workspace_owner: the caller is a member whose role is not owner. Not - * the same as not_a_member. - * - not_original_owner: the caller is an owner but not the workspace's creator; - * only the creator may start, change, cancel or reactivate the plan. Reached - * after not_workspace_owner. Reported only when the rollout mode is not - * `owner`. Not not_workspace_owner (role) and not creator_only_provisioning - * (provisioning a personal workspace's billing identity). - * - no_subscription: there is no subscription row, so there is nothing to - * reactivate. Unlike can_cancel, reported even where the absence is only - * unknown, because reactivation needs a subscription id that does not exist - * without a row. - * - tier_not_self_serve: the subscription's tier is sales-managed or - * unrecognised, so its lifecycle is not customer-driven. - * - billing_operation_in_progress: an initial subscription, plan change, - * cancel, resubscribe, seat change, revert or retention offer is running, - * either a pending workflow or the retention-offer gate between the Stripe - * write and its confirmation. It settles on its own, so a client may tell the - * user to wait, and reactivate is refused until it does. Not - * subscription_change_in_progress, where a successor plan is scheduled. Not - * evaluated for a reserved subscription, which reports - * subscription_not_started. Reached before cancellation_not_scheduled. - * - billing_operation_parked: such an operation is parked for reconciliation, - * either paid but credits not granted or a replacement subscription that - * could not finish superseding the old one. It does not clear on its own, so - * a client must route the user to support and never imply a wait. Reported - * instead of billing_operation_in_progress when both kinds exist, and reached - * at the same point, before cancellation_not_scheduled. - * - cancellation_not_scheduled: the subscription is running with no - * cancellation scheduled, so there is nothing to undo. The opposite of - * cancellation_scheduled on can_cancel. A FREE plan reports this too, since - * free_plan is a reason for can_cancel only. - * - subscription_ended: the subscription has stopped for good: ended, or - * canceled with no cancellation date. A plan that has ended is not recovered - * by reactivating; can_subscribe_self_serve is the way back. - * - subscription_not_started: a subscription row is reserved but not running. - * Not no_subscription (no row at all) and not subscription_ended. - * - subscription_status_unrecognized: the subscription status is one the - * resolver has no guidance for. The server is undetermined, which is not a - * deliberate refusal. - * + * Extra data to be associated with the prompt */ - can_reactivate?: - | 'not_a_member' - | 'not_workspace_owner' - | 'not_original_owner' - | 'no_subscription' - | 'tier_not_self_serve' - | 'billing_operation_in_progress' - | 'billing_operation_parked' - | 'cancellation_not_scheduled' - | 'subscription_ended' - | 'subscription_not_started' - | 'subscription_status_unrecognized' + extra_data?: { + [key: string]: unknown + } /** - * Why can_revert_scheduled_change is false. Present only when that capability is false; absent means no recognized explanation, never permission. This does not authorize the action or explain a sibling capability. First reached wins in the order below; mutually exclusive lifecycle statuses do not compete. - * - not_a_member: The actor is not a workspace member. - * - not_workspace_owner: The actor does not have the workspace owner role. - * - not_original_owner: The action requires the workspace creator. - * - tier_not_self_serve: The existing plan is sales-managed or unrecognized. - * - subscription_ended: The subscription has ended. - * - subscription_not_started: The subscription has not started. - * - subscription_status_unrecognized: The subscription status is unrecognized. - * - no_revertible_scheduled_change: No scheduled change is currently revertible; it may be absent or past its revert window. - * + * If true, adds the prompt to the front of the queue */ - can_revert_scheduled_change?: - | 'not_a_member' - | 'not_workspace_owner' - | 'not_original_owner' - | 'tier_not_self_serve' - | 'subscription_ended' - | 'subscription_not_started' - | 'subscription_status_unrecognized' - | 'no_revertible_scheduled_change' + front?: boolean /** - * Why can_run_workflows is false, present only for a refused capability. Missing means no recognized explanation, never permission. Values describe the existing deciding policy branches, not authorization or sibling capabilities. Workflow rules short-circuit in policy order. - * - manual_block: The workspace is manually blocked. - * - subscription_inactive: Cloud workflow billing admission requires an active or eligible Free subscription. - * - payment_past_due: Subscription inactivity blocks workflow billing admission and a bound live subscription has a recoverable payment failure. Visible to workspace members; does not grant payment management. - * - no_funds: The applicable balance is exhausted and allowance does not bypass it. - * - workspace_cap_exceeded: The workspace spend cap is exceeded. - * - project_cap_exceeded: The applicable project spend cap is exceeded. - * - user_cap_exceeded: The actor spend cap is exceeded. - * - free_tier_exhausted: The acting user has used their available free job allowance. - * + * Priority number for the queue (lower numbers have higher priority) */ - can_run_workflows?: - | 'manual_block' - | 'subscription_inactive' - | 'payment_past_due' - | 'no_funds' - | 'workspace_cap_exceeded' - | 'project_cap_exceeded' - | 'user_cap_exceeded' - | 'free_tier_exhausted' + number?: number /** - * Present only when can_subscribe_self_serve is false. The value names the - * resolver branch that decided, not customer wording. Values are listed in the - * order the resolver reaches them; the first one reached wins. - * subscription_not_started and subscription_status_unrecognized are - * alternatives for different subscription statuses and never compete. Absent - * while the capability is false means no recognised explanation, not a grant. - * - not_a_member: the caller is not a member of the workspace. Unreachable - * over HTTP: a non-member is answered 403 before capabilities resolve. - * - not_workspace_owner: the caller is a member whose role is not owner. Not - * the same as not_a_member. - * - not_original_owner: the caller is an owner but not the workspace's creator; - * only the creator may start, change, cancel or reactivate the plan. Reached - * after not_workspace_owner. Reported only when the rollout mode is not - * `owner`. Not not_workspace_owner (role) and not creator_only_provisioning - * (provisioning a personal workspace's billing identity). - * - creator_only_provisioning: the caller is an owner but not the creator of a - * personal workspace whose billing identity (Stripe customer, Metronome - * customer or Metronome contract) is not provisioned yet. Subscribing - * provisions it first, and only the creator may. The same reason appears on - * can_top_up. When the rollout mode is not `owner`, such an owner is told - * not_original_owner first, so this reason is reached only in mode `owner`. - * - tier_not_self_serve: the subscription's tier is sales-managed or - * unrecognised, so its lifecycle is not customer-driven. - * - subscription_change_in_progress: the current subscription already has a - * successor plan scheduled for a future billing boundary. Reached before - * subscription_not_started and subscription_status_unrecognized. Not - * billing_operation_in_progress, which names an operation that is running or - * parked and is a reason for can_cancel and can_reactivate only. - * - subscription_not_started: a subscription row is reserved but not running - * and no live checkout can safely be resumed for it. Not no_subscription (no - * row at all) and not subscription_ended (a plan that ran and stopped). - * - subscription_status_unrecognized: the subscription status is one the - * resolver has no guidance for. The server is undetermined, which is not a - * deliberate refusal. - * + * List of node names to execute + */ + partial_execution_targets?: Array + /** + * The workflow graph to execute + */ + prompt: { + [key: string]: unknown + } + /** + * UUID identifying the cloud workflow entity to associate with this job + */ + workflow_id?: string + /** + * UUID identifying the workflow version to associate with this job */ - can_subscribe_self_serve?: - | 'not_a_member' - | 'not_workspace_owner' - | 'not_original_owner' - | 'creator_only_provisioning' - | 'tier_not_self_serve' - | 'subscription_change_in_progress' - | 'subscription_not_started' - | 'subscription_status_unrecognized' + workflow_version_id?: string +} + +/** + * Response returned after successfully queuing a workflow prompt. + */ +export type PromptResponse = { /** - * Present only when can_top_up is false. Current reach order: membership, - * owner role, initial personal provisioning, past-due billing, unknown - * existing tier or status, then the staff top-up pause - * (topup_purchases_paused, which lifts without customer action). - * tier_not_self_serve here means an unknown tier; - * recognised Enterprise and Free qualify. Known absence and ended terms - * do not refuse purchases. Legacy free_plan, no_subscription and - * subscription_ended remain accepted from older servers during rollout; - * the current resolver does not emit these three values. - * + * Any errors in the nodes of the prompt */ - can_top_up?: - | 'not_a_member' - | 'not_workspace_owner' - | 'creator_only_provisioning' - | 'payment_past_due' - | 'tier_not_self_serve' - | 'subscription_status_unrecognized' - | 'topup_purchases_paused' - | 'free_plan' - | 'no_subscription' - | 'subscription_ended' + node_errors?: { + [key: string]: unknown + } /** - * Why can_upgrade is false, present only for a refused capability. Missing means no recognized explanation, never permission. Values describe the existing deciding policy branches, not authorization or sibling capabilities. Upgrade permission and current-state refusals precede catalog choice evaluation. - * - not_a_member: The actor is not a workspace member. - * - not_workspace_owner: The actor does not hold the workspace owner role. - * - not_original_owner: Plan changes require the workspace creator. - * - creator_only_provisioning: Only the creator can provision this billing identity. - * - tier_not_self_serve: The current tier is sales-managed or unrecognized. - * - subscription_change_in_progress: A successor plan change is already scheduled. - * - subscription_not_started: The existing subscription has not started. - * - subscription_status_unrecognized: The existing subscription status is unrecognized. - * - billing_state_unknown: The current plan is not authoritative or its binding cannot be classified. - * - no_subscription: No current plan exists; subscribe is a separate action. - * - subscription_ended: The prior subscription has ended; resubscribe is a separate action. - * - payment_past_due: An outstanding payment must be recovered before changing plans. - * - billing_operation_parked: A subscription operation requires reconciliation. - * - billing_operation_in_progress: A subscription operation is still processing. - * - sales_managed: This plan is managed through sales. - * - no_upgrade_available: No active catalog choice is a valid upgrade for the actor, interval, credit stop and seat occupancy. - * + * Priority number in the queue */ - can_upgrade?: - | 'not_a_member' - | 'not_workspace_owner' - | 'not_original_owner' - | 'creator_only_provisioning' - | 'tier_not_self_serve' - | 'subscription_change_in_progress' - | 'subscription_not_started' - | 'subscription_status_unrecognized' - | 'billing_state_unknown' - | 'no_subscription' - | 'subscription_ended' - | 'payment_past_due' - | 'billing_operation_parked' - | 'billing_operation_in_progress' - | 'sales_managed' - | 'no_upgrade_available' + number?: number /** - * Why can_view_own_usage is false, in enum order. Attribution disabled emits usage_attribution_unavailable. Missing means no recognized explanation, including disabled team-workspaces or unreadable membership, never permission. This does not explain can_view_team_usage. + * Unique identifier for the prompt execution */ - can_view_own_usage?: 'not_a_member' | 'usage_attribution_unavailable' + prompt_id?: string +} + +/** + * The partner-provider governance catalog: every governable provider, identical for all workspaces. A projection of the curated catalog minus the internal api_names. + */ +export type ProviderCatalogResponse = { /** - * Why can_view_pending_invites is false. Permission refusals precede unavailable feature or entitlement facts; first reached wins in enum order. A present key implies refusal. Missing means unknown, including a disabled team-workspaces feature or an unavailable membership read, never permission. This explains only this capability and does not authorize a mutation. + * Sorted by provider_id. */ - can_view_pending_invites?: 'not_a_member' | 'not_workspace_owner' + providers: Array +} + +/** + * A workspace's partner-provider governance policy document — the exact shape PUT accepts (round-trips; entries come back sorted by provider_id, write order is not significant). Effective rule: enabled(P) = !enforcement_enabled || (the entry for P has enabled=true); absent from the array = unset (deny when enforcing). + */ +export type ProviderPolicy = { /** - * Why can_view_team_usage is false. Disabled usage attribution emits usage_attribution_unavailable. Permission refusals precede unavailable feature or entitlement facts; first reached wins in enum order. A present key implies refusal. Missing means unknown, including a disabled team-workspaces feature or an unavailable membership read, never permission. This explains only this capability and does not authorize a mutation. + * The arming switch. While false the policy is editable but nothing blocks (preview mode). */ - can_view_team_usage?: - | 'not_a_member' - | 'not_workspace_owner' - | 'usage_attribution_unavailable' + enforcement_enabled: boolean + /** + * One entry per reviewed provider. A duplicate provider_id in a write is rejected with 400. Unknown provider_ids are rejected with 422. + */ + providers: Array } /** - * Optional facts for the matching denied_reasons key; absent facts are unknown and must not be inferred from other fields. + * One provider's policy state. */ -export type BillingCapabilityDenialParams = { - can_delete_workspace?: WorkspaceDeletionDenialParams +export type ProviderPolicyEntry = { + /** + * true = allowlisted. false and absent evaluate identically when enforcing; explicit false is UI review state. + */ + enabled: boolean + /** + * Catalog provider identifier. + */ + provider_id: string } /** - * Effective billing UI guidance for one authenticated user and workspace. + * Request body for publishing or updating a workflow on the Hub. */ -export type BillingCapabilitiesResponse = { +export type PublishHubWorkflowRequest = { /** - * Whether auto top-up is rolled out to this user: the auto_top_up_enabled - * rollout flag, evaluated by ingest the same way GET /api/features - * evaluates it. Any evaluation failure reads as false. It gates - * visibility only; capabilities.can_manage_auto_top_up still decides - * who may manage auto top-up. - * + * IDs of assets (inputs and models) to snapshot. */ - auto_top_up_enabled: boolean - auto_top_up_setup?: AutoTopUpSetup - capabilities: BillingCapabilities - denied_reason_params?: BillingCapabilityDenialParams - denied_reasons?: BillingCapabilityDenials + asset_ids: Array /** - * Time after which the client must refetch this snapshot. + * Custom node slugs. Must exist in hub_labels. */ - expires_at: string + custom_nodes?: Array /** - * Whether any workspace billing operation needs support reconciliation (paid_ungrantable or supersede_uncancelled), across all operation types including automatic top-ups, and independent of an active plan. Shown only when can_manage_billing is true; true requests the payment support banner, not proof of a charge. False means the local read found no parked operation. Omitted for non-managers, unavailable reads, older servers or disabled billing; omission means unknown, not a healthy payment state. + * Workflow description for the hub listing. */ - has_parked_billing_operation?: boolean + description?: string /** - * Whether this actor may use payment management to recover an outstanding - * subscription payment. True only when can_manage_billing is true, the - * workspace payment state is payment_failed or paused, and the provider - * confirms its bound live Stripe subscription is past_due, unpaid, or paused. - * False when known ineligible or healthy; no denied_reasons key explains it. - * Absent when the live binding or provider state cannot be verified, on - * older servers, or when billing is disabled; absence means unknown. - * This is not authorization, a promise that a payable invoice or hosted - * payment link exists, or permission to subscribe or run workflows. - * Use can_manage_billing for general payment-method and invoice management. + * Arbitrary metadata (size, vram, open_source, etc.). Reserved keys (extended_description, meta_description, how_to_use, suggested_use_cases, faq_items, content_template) are backend-managed and will be stripped if supplied. + */ + metadata?: { + [key: string]: unknown + } + /** + * Model slugs. Must exist in hub_labels. + */ + models?: Array + /** + * Display name for the published workflow on the hub. + */ + name: string + /** + * Array of tokens or existing public URLs from the previous published version. Full replacement (PUT semantics). Omit or pass [] to have no sample images. * */ - payment_recovery_available?: boolean + sample_image_tokens_or_urls?: Array /** - * Who runs the plan lifecycle. Rendered as received; never derive it from - * tier names or slugs. - * - none: the workspace has no subscription in the capability facts. An - * orphaned reserved row on a self-serve tier is reported as none. - * - self_serve: a subscription on a tier with a customer-driven lifecycle, - * including a FREE plan. - * - sales_managed: a subscription on a sales-managed tier. It also covers a - * tier the resolver does not recognise. - * It classifies the plan by tier only. It says nothing about whether the plan - * is running (a reserved or ended subscription still has a kind) and nothing - * about what the user may do; that is capabilities. Absent in the same cases as - * recovery_route. + * Searchable tag slugs. Must exist in hub_labels. + */ + tags?: Array + /** + * Token or existing public URL from the previous published version. Omit to have no comparison image. * */ - plan_kind?: 'none' | 'self_serve' | 'sales_managed' + thumbnail_comparison_token_or_url?: string /** - * Where the customer goes when the plan has ended. Rendered as received; - * never derive it from tier names or slugs. - * - none: there is no subscription, or it has not stopped for good (a - * canceled plan that still has a cancellation date has not). - * - resubscribe: the subscription has stopped for good (ended, or canceled - * with no cancellation date) on a self-serve tier. The route is subscribing - * again. - * - contact_sales: the subscription has stopped for good on a sales-managed - * or unrecognised tier. The route is through sales. - * It names the route only and deliberately ignores the user's role. Whether - * the control is enabled stays with capabilities.can_subscribe_self_serve - * and its denied reason. It is not a capability and not authorization. - * Absent when billing is disabled, when talking to a billing-api version - * that predates it, and when the upstream value is not recognised. + * Token (from /api/hub/assets/upload-url) for a new upload, or an existing public URL from the previous published version. Omit to have no thumbnail. * */ - recovery_route?: 'none' | 'resubscribe' | 'contact_sales' - resolved_for: BillingCapabilityScope + thumbnail_token_or_url?: string + thumbnail_type?: 'image' | 'video' | 'image_comparison' + /** + * URL to a tutorial for this workflow. + */ + tutorial_url?: string + /** + * Username of the hub profile to publish under. The authenticated user must belong to the workspace that owns this profile. + */ + username: string + /** + * Userdata path of the workflow file (e.g. "workflows/my-flow.json"). + */ + workflow_filename: string +} + +/** + * Request body for publishing workflow assets to the Hub. + */ +export type PublishWorkflowAssetsRequest = { + /** + * IDs of assets (inputs and models) to snapshot. + */ + asset_ids: Array +} + +/** + * Full detail of a publicly published workflow on the Hub. + */ +export type PublishedWorkflowDetail = { + /** + * Published assets with their library status for the caller. + */ + assets: Array + listed: boolean + /** + * Human-readable workflow name. + */ + name: string + publish_time?: string | null + share_id: string + workflow_id: string + /** + * The workflow JSON content at publish time. + */ + workflow_json: { + [key: string]: unknown + } +} + +/** + * Queue information with pending and running jobs + */ +export type QueueInfo = { /** - * JavaScript-safe, time-sortable revision for this snapshot. It - * increases monotonically within a serving process. Clients should - * invalidate on a different X-Capability-Revision value and use - * expires_at as the cross-instance freshness bound. - * + * Array of pending job items (ordered by creation time, oldest first) */ - revision: number - rollout_defaults_applied: BillingCapabilityRolloutDefaults + queue_pending?: Array<[unknown, unknown, unknown, unknown, unknown]> /** - * Whether a missing subscription row authoritatively means the - * workspace has no paid plan. False means a legacy Stripe plan may - * exist outside the local projection. The field is absent when - * talking to a billing-api version that predates this signal. - * + * Array of currently running job items */ - subscription_state_authoritative?: boolean + queue_running?: Array<[unknown, unknown, unknown, unknown, unknown]> } /** - * Conservative UI guidance. These values do not authorize billing writes; - * each write endpoint independently enforces its permission policy. - * - * Each field answers one UI question for the authenticated user in the - * authenticated workspace. Render each as received and never combine fields - * into a new decision. False without a matching key in denied_reasons means no - * recognised explanation, not necessarily a refusal. A field is never - * per-surface: one value serves every screen. The plan-lifecycle fields - * (can_subscribe_self_serve, can_cancel, can_reactivate, - * can_revert_scheduled_change) require the workspace's creator only when the - * rollout mode is not `owner`; every other owner-level field stays open to - * every owner. - * - * When the deployment has billing disabled, this endpoint answers without - * consulting billing-api: can_top_up is true; can_manage_members, - * can_invite_members, can_manage_subscription and can_manage_auto_top_up - * follow the owner role. Other billing-action fields are false. These role - * facts do not promise that billing endpoints are available. - * + * Request to manage queue operations */ -export type BillingCapabilities = { +export type QueueManageRequest = { /** - * - Answers: should the client offer cancelling the subscription? - * - True: the user is a workspace owner (the workspace's creator when the - * rollout mode is not `owner`) of a paid self-serve subscription that is - * running with no cancellation scheduled and no billing operation in flight. - * It is also true where there is no local subscription row but that absence - * is not authoritative (the state is unknown, not none). - * - False: denied_reasons.can_cancel names the branch that decided. False - * without that key means no recognised explanation, not necessarily a - * refusal, for example when billing-api predates the field. - * - Not: authorization (the cancel route enforces its own rules). Not - * can_reactivate, which undoes a scheduled cancellation, and not - * can_subscribe_self_serve. Not can_top_up or can_manage_billing, which stay - * open to every owner. A FREE plan is not a paid subscription, so it has - * nothing to cancel. - * - False when: the user is not an owner; the user is an owner who is not the - * workspace's creator (rollout mode not `owner`); the tier is FREE; there is no - * subscription row and the absence is authoritative; the tier is - * sales-managed or unrecognised; the subscription is reserved but not - * running; its status is not recognised; it has ended or been canceled for - * good; a billing operation is running or parked; a cancellation is already - * scheduled. - * + * If true, clear all pending jobs from the queue */ - can_cancel: boolean + clear?: boolean /** - * - Answers: should the client offer changing the seat quantity of the - * subscription? - * - True: the user is a workspace owner with a subscription row on a - * self-serve tier whose status is active, or canceled with a cancellation - * date still set. - * - False: never explained. There is no denied_reasons key for this field, so - * false without a reason is the normal case, not a gap. - * - Not: authorization (the seat-change route enforces its own rules). Not room - * to invite (can_invite_members) and not member management - * (can_manage_members). The resolver tests the tier only against the - * self-serve list and does not check that the plan is seat-based, so true - * does not mean the plan has seats to change: an owner on a FREE plan gets - * true. A scheduled cancellation, a scheduled successor plan, a running - * billing operation and a past-due payment do not change it. - * - False when: the user is not an owner; there is no subscription row, even - * where that absence is only unknown; the tier is sales-managed or - * unrecognised; the subscription is reserved but not running; its status is - * not recognised; it has ended or been canceled for good. - * + * Array of job IDs to cancel; pending and running jobs transition to cancelled */ - can_change_seats: boolean + delete?: Array +} + +/** + * Response after a queue management action (delete or clear). + */ +export type QueueManageResponse = { /** - * - Answers: should the client offer deleting this workspace? - * - True: the user is an owner of a team workspace and, when the answer was - * read, the user is also its creator when the rollout mode is not owner, - * the workspace is not attached to an SSO organization, has no - * subscription-changing billing operation running or parked, and has no - * live subscription, sales-managed or not. - * - False: denied_reasons.can_delete_workspace names the branch that - * decided. False without that key means no recognised explanation, not a - * refusal: a fact it depends on could not be read, or the team-workspaces - * feature is off. - * - Not: authorization. It reports what the DELETE /api/workspaces/{id} - * handler guards, except creator_guidance applies the creator restriction - * to guidance while writes still accept any owner. Only creator mode - * enforces that restriction. The handler stays authoritative and re-checks - * under the workspace lock, so this answer can be stale. Not a billing - * capability: use can_cancel to ask about cancelling a subscription. - * - False when: a live subscription is on a sales-managed plan; the user is - * not an owner; the user is a non-creator owner and the rollout mode is - * not owner; the workspace is personal; the - * workspace is attached to an SSO organization; a billing operation is - * running or parked; a subscription is still live; a dependent fact could - * not be read; the team-workspaces feature is off. - * + * Whether the queue was cleared */ - can_delete_workspace: boolean + cleared?: boolean /** - * - Answers: may the user downgrade the workspace's subscription to a personal - * plan? - * - True: not in practice today. billing-api forces this field to false in - * every response, a retired rollout's closed default, so a client must not - * wait for it to become true. - * - False: always on this server version. There is no denied_reasons key for - * this field. - * - Not: authorization. Not the same as - * rollout_defaults_applied.can_downgrade_to_personal, which is true by design - * and says nothing about this value. - * - Before that override the resolver would grant it only to the workspace's - * original owner (its creator) who also has the owner role, on a running - * self-serve subscription with no successor plan scheduled. - * + * Array of job IDs that were successfully cancelled */ - can_downgrade_to_personal: boolean + deleted?: Array +} + +/** + * A 429 body with a fixed message and no machine-readable code. + */ +export type RateLimitExceededError = { + error: string +} + +/** + * One declared pack that failed to import on the Release's build, as comfy-builder names it. + */ +export type ReleaseUnsupportedPack = { /** - * Whether to offer workspace name editing to this actor. True for a current owner while workspace features are available. False with no denied_reasons key is unknown or unavailable guidance. Not member management or write authorization; the update route rechecks owner membership. A permission refusal has its matching denial key. + * Why the pack failed to import: the last line of its import error, or "needs a GPU". Empty when ComfyUI logged no reason. */ - can_edit_workspace: boolean + cause: string /** - * - Answers: should the client offer sending a new workspace invitation right - * now? - * - True: the user is a workspace owner and the workspace has room: members - * plus unexpired pending invitations are below the seat limit, or the limit - * is not positive (unlimited). - * - False: never explained. There is no denied_reasons key for this field. - * - Not: authorization (invitation creation enforces the same limit itself). - * Not member management (can_manage_members) and not buying seats - * (can_change_seats). Pending invitations count toward capacity. The - * resolver ignores tier, subscription status, cancellation and past-due - * payment; only the seat limit, which can come from the active plan, reflects - * the plan. - * - False when: the user is not an owner; the seat limit is 1 (the limit is the - * workspace override if set, else the active plan's default max seats, and - * defaults to one seat with no active subscription); members plus unexpired - * pending invitations have reached the limit; the capacity could not be - * read, which fails closed. - * + * The pack's folder under custom_nodes. */ - can_invite_members: boolean + folder: string /** - * - Answers: should the client offer leaving this workspace? - * - True: the user is a member and no branch below applies. A plain member - * of a team workspace who did not create it can leave; an owner who did - * not create it can leave only when another owner remains. - * - False: denied_reasons.can_leave_workspace names the branch that decided. - * False without that key means no recognised explanation, not a refusal: a - * fact it depends on could not be read, or the team-workspaces feature is - * off. - * - Not: authorization. It reports what POST /api/workspace/leave would - * decide for the authenticated workspace; the route stays authoritative. - * Not can_delete_workspace: leaving ends one membership, deleting removes - * the workspace. - * - False when: the user is not a member; the membership is managed by the - * workspace's SSO organization; the user created this personal workspace; - * the user created this team workspace; the user is the only owner. - * + * The pack's Comfy Registry id; empty for a pack not installed from the registry. */ - can_leave_workspace: boolean + registry_id: string /** - * - Answers: does this workspace member have owner authority to view - * and manage auto top-up, including reading or disabling saved settings? - * - When billing-api omits this field, ingest resolves owner authority - * from the authenticated workspace role. Explicit upstream booleans are - * preserved; null or non-boolean values fail the response. False means - * non-owner fallback or an explicit upstream false. No denied_reasons - * key explains this role fact. - * - Not: service or setup readiness, write authorization or permission - * to charge. Missing payment methods, frozen billing or a disabled - * billing service do not remove owner authority; these deployment and - * setup checks remain separate from whether the actor is an owner. - * + * The repository URL the pack's own pyproject.toml names, for matching only, never a verified source; empty when it names none. */ - can_manage_auto_top_up: boolean + repository: string +} + +/** + * The declared packs that failed to import on the build of the editor's Release, in the order the build declared them, and which Release that is. + */ +export type ReleaseUnsupportedPacks = { + packs: Array /** - * - Answers: should the client offer payment-method, invoice, payment-update - * and company-details management? - * - True: the user is a member of the workspace whose role is owner, except in - * the false case below. - * - False: never explained. There is no denied_reasons key for this field. - * - Not: authorization. Not member management (can_manage_members) and not - * buying or subscribing (can_top_up, can_subscribe_self_serve). Independent - * of tier, subscription status, cancellation, past-due payment, a running - * billing operation and invite capacity. - * - False when: the user is not an owner, or is a non-creator owner of a - * personal workspace that is missing a billing provider id (not yet - * provisioned). - * + * The Release whose build the packs were read for, the same id as a deployment's release_id in GET /api/workspaces/{id}/deployments. The route answers for the Release the deployment runs now, so an editor that booted on an earlier Release compares this id with its own and ignores the packs when they differ. Null when no Release's build was read: Comfy Cloud, the rollout flag off, or comfy-builder could not be read. */ - can_manage_billing: boolean + release_id: string | null +} + +/** + * The newest open renewal invoice of the workspace's Stripe subscription (active, or canceled but not yet ended). Returned only to workspace owners on the stripe billing rail while billing_status is payment_failed or paused, or on the legacy_stripe billing rail while billing_status is payment_failed and its legacy subscription is past_due or unpaid, and not while a payment for it is processing. hosted_invoice_url is a bearer payment link. + */ +export type RenewalInvoice = { /** - * - Answers: should the client offer member-management controls? - * - True: the user is a member of the workspace whose role is owner. - * - False: never explained. There is no denied_reasons key for this field. - * - Not: authorization; individual target restrictions still apply. Not invite - * capacity (can_invite_members), seat quantity (can_change_seats) or billing - * management (can_manage_billing). Independent of tier, subscription status, - * cancellation, past-due payment and billing provisioning. - * - False when: the user is not a member, or is a member whose role is not - * owner. Nothing else closes it. - * + * Amount due in the currency's smallest unit (e.g. cents). + */ + amount_due: number + /** + * Lowercase ISO currency code. */ - can_manage_members: boolean + currency: string /** - * Whether to offer editing the workspace partner-provider access policy. Requires current owner membership and the partner governance entitlement. A false capability may have its matching denial key; absence means no recognized explanation, including disabled workspace features or unavailable membership. Not permission to read the policy, manage members or authorize a write; the policy route rechecks. + * Stripe-hosted page where the customer can pay the invoice. */ - can_manage_partner_node_access: boolean + hosted_invoice_url: string /** - * - Answers: does this workspace member have owner authority for the - * subscription-management section? - * - When billing-api omits this field, ingest resolves owner authority - * from the authenticated workspace role. Explicit upstream booleans are - * preserved; null or non-boolean values fail the response. False means - * non-owner fallback or an explicit upstream false. No denied_reasons - * key explains this role fact. - * - Not: action availability, service readiness or write authorization. - * Portal, payment-method and invoice guidance still uses can_manage_billing, - * with provisioning and endpoint-specific checks. Lifecycle actions use - * their dedicated capabilities and permissions. This role authority is - * independent of plan, billing state and personal-workspace creator. + * When Stripe will next retry automatically; absent when no retry is scheduled. + */ + next_payment_attempt?: string +} + +/** + * Request body for reactivating a previously cancelled subscription. + */ +export type ResubscribeRequest = { + /** + * Client-provided key to prevent duplicate operations. + * If a billing op with this key already exists, returns the existing op instead of creating a new one. * */ - can_manage_subscription: boolean + idempotency_key?: string +} + +/** + * Response after accepting a resubscribe request. + */ +export type ResubscribeResponse = { /** - * Whether to offer this actor the way into Plans (Manage, Explore plans, Choose a plan). Creator-only, whatever the lifecycle rollout mode: false for members and for owners who are not the workspace's creator. Otherwise the same rule as can_subscribe_self_serve, except that a plan change already scheduled (subscription_change_in_progress) does not close it, so the creator can still open Plans to review or revert that change. Which plans are selectable stays with the plans listing. False when an older billing-api omits it. Guidance only; writes recheck. + * Billing operation ID to poll for status via GET /api/billing/ops/{id} */ - can_open_plans: boolean + billing_op_id: string /** - * - Answers: may the user undo a SCHEDULED cancellation on a subscription that - * is still running? - * - True: the user is a workspace owner (the workspace's creator when the - * rollout mode is not `owner`), the subscription is active or canceled with a - * cancellation date still set (running until that date), and no billing - * operation is in flight. - * - False: denied_reasons.can_reactivate names the branch that decided. False - * without that key means no recognised explanation, not necessarily a - * refusal, for example when billing-api predates the field. - * - Not: authorization (the resubscribe route enforces its own rules). Not a - * way back from a plan that has ended: that is can_subscribe_self_serve, - * which stays open there. Not an undo of a scheduled plan change, which is - * can_revert_scheduled_change. Not can_top_up or can_manage_billing, which stay - * open to every owner. - * - False when: the user is not an owner; the user is an owner who is not the - * workspace's creator (rollout mode not `owner`); there is no subscription row at all, - * even where that absence is only unknown; the tier is sales-managed or - * unrecognised; the subscription is reserved but not running; its status is - * not recognised; it has ended or been canceled for good; a billing - * operation is running or parked; no cancellation is scheduled. - * + * Human-readable confirmation message */ - can_reactivate: boolean + message?: string /** - * - Answers: may the user undo a plan change that is already scheduled for a - * future billing boundary? - * - True: the user is a workspace owner (the workspace's creator when the - * rollout mode is not `owner`), the subscription is Stripe-billed and has a - * pending scheduled change from it, and the revert window is open: more than - * one hour before the change takes effect and, when reverting would restore a - * cancellation, more than one hour before that cancellation date. - * - False: never explained. There is no denied_reasons key for this field, so - * it does not say which of the conditions failed, including that the user is - * an owner who is not the creator. - * - Not: authorization. Not can_reactivate (undo a scheduled cancellation) and - * not can_subscribe_self_serve. Not can_top_up or can_manage_billing, which - * stay open to every owner. When subscribe is refused with - * subscription_change_in_progress, a successor plan is scheduled; this field - * says whether that change can still be reverted. - * - False when: the user is not an owner; the user is an owner who is not the - * workspace's creator (rollout mode not `owner`); there is no pending - * scheduled change from this subscription; the cutoff has passed; the tier is - * sales-managed or unrecognised; the subscription has ended or been canceled - * for good. - * + * Subscription outcome. `active` means the resubscribe committed (the scheduled cancellation was undone); `pending` means the operation is still executing — poll the billing operation for the final outcome. */ - can_revert_scheduled_change: boolean + status: 'active' | 'pending' +} + +export type RetentionAcceptRequest = { /** - * Point-in-time Cloud billing guidance for this actor, combining the supplied workflow_run decision with ingest's existing account gate and cutover mode, local enrollment, Google-session requirement, and acting-user allowance. Legacy authority includes the same fail-open behavior as submission. True means these account gates allow the attempt; false has a denial when recognized. Billing-disabled environments return true. False without a reason is unknown where authoritative guidance is unavailable. No allowance is consumed or reserved. This is not authorization for a specific job or project: the submission path rechecks its full context. + * Server-issued session; carries no client-selected coupon or variant. */ - can_run_workflows: boolean + session_id: string +} + +export type RetentionAcceptance = { + billing_op_id: string /** - * - Answers: may this user start, recover or change a self-serve plan? - * - True: the user is a workspace owner and no resolver branch closed it. When - * the rollout mode is not `owner`, the user must also be the workspace's - * creator; in mode `owner` any owner qualifies. That includes a workspace - * with no plan, a running self-serve plan, and a plan that has ended or been - * canceled for good, where it stays open because it is the only path back. - * - False: the user is not an owner, the user is an owner who is not the - * workspace's creator (rollout mode not `owner`), the user is a non-creator - * owner of a personal workspace whose billing is not yet provisioned, the - * tier is sales-managed or unrecognised, a successor plan is already - * scheduled, the subscription is reserved but not running and has no - * recoverable checkout, or its status is not recognised. - * denied_reasons.can_subscribe_self_serve names the branch that decided. - * False without that key means no recognised explanation, not necessarily a - * refusal, for example when billing-api predates the field. - * - Not: authorization (the subscribe route enforces its own rules). Not - * can_top_up (buy credits) or can_manage_billing, which stay open to every - * owner. Not can_reactivate (undo a scheduled cancellation) or can_cancel. - * One value serves every surface; there is no per-surface variant. - * + * Show success only once this is succeeded; otherwise poll the billing operation. */ - can_subscribe_self_serve: boolean + status: 'pending' | 'succeeded' +} + +export type RetentionFlowEventRequest = { /** - * Should this owner be offered a one-off prepaid credit purchase? Known - * Free, no-subscription, ended and inactive Enterprise states qualify. - * Non-members, non-owner members, non-creator initial personal billing - * provisioning and past-due billing (payment_failed or paused) are refused. - * Unknown existing subscription tier or status is refused, matching purchase - * and quote validation, and so is every purchase while staff pause top-ups. - * This is guidance, not authorization: write routes - * retain workspace, rail, provider, amount and operation checks. Cloud - * workflow execution still requires its existing subscription/run policy. + * flow_opened is reported at the same point for every arm. + */ + event: 'flow_opened' | 'offer_shown' + session_id: string +} + +export type RetentionFlowResponse = { + /** + * The PostHog arm: control or a retention offer ID. Absent when the + * subscription is ineligible or the owner is outside the experiment. * */ - can_top_up: boolean + experiment_variant?: string /** - * Whether at least one active catalog choice is an actionable upgrade from the current plan for this actor, including a Free-to-paid choice, longer interval or higher Team credit commitment. Uses the same exact target selector as plan actions, including seats, processing operations and scheduled changes. No current or ended plan is false: subscribe or resubscribe is a separate action. Unknown legacy bindings fail closed. False with no reason is unknown; this guidance does not authorize writes. + * Unix seconds; reopen cancellation to refresh the offer after expiry. */ - can_upgrade: boolean + expires_at: number + offer?: RetentionOffer + session_id: string + subscription: RetentionFlowSubscription +} + +export type RetentionFlowSubscription = { + currency: string /** - * Whether to offer the actor's own usage attribution view. Optional for rolling deployments; absent means unknown. True for a current workspace member with usage attribution enabled. Clients must use person/source ledger groupings or person/source filters, which the existing route scopes to the actor for members. This is not permission for the default model grouping, whole-workspace analytics, or other unscoped queries. Query authorization and filters are unchanged. Attribution disabled emits usage_attribution_unavailable; missing denial means unknown. + * Unix seconds of the next renewal. */ - can_view_own_usage?: boolean + period_end: number + quantity: number /** - * Whether to offer the workspace invitation list. True for a current owner while workspace features are available. A false capability may have its matching denied_reasons key; absence means no recognized explanation. This is not capacity to send another invitation; use can_invite_members. The owner-only list route stays authoritative and can include expired invitations despite the word pending. + * Recurring unit price in the currency's smallest unit. */ - can_view_pending_invites: boolean + unit_amount: number +} + +/** + * Present only when the session's arm is an offer. Terms come from the server catalog. + */ +export type RetentionOffer = { + duration_in_months: number + id: string + percent_off: number +} + +/** + * Request body for undoing a pending scheduled plan change. + */ +export type RevertScheduledChangeRequest = { + idempotency_key?: string +} + +/** + * Response after accepting a scheduled-change revert. + */ +export type RevertScheduledChangeResponse = { + billing_op_id: string /** - * Whether to offer whole-workspace usage analytics. True only for a current workspace owner with usage attribution enabled. Members use can_view_own_usage instead. False with no matching denied_reasons key means unknown or unavailable guidance. This does not authorize a read. + * `pending`: poll GET /api/billing/ops/{id}. */ - can_view_team_usage: boolean + status: 'reverted' | 'pending' } /** - * Recorded account setup guidance, separate from owner authority in - * can_manage_auto_top_up. Frozen prevents enabling/editing; unavailable - * means setup is not available. Owner read/disable authority remains separate. - * These states do not determine surface visibility. Unified billing settings - * hide the auto top-up card when can_top_up is false, including paused or - * payment-failed billing. - * Ready does not authorize a charge or guarantee an off-session payment method. - * This fact ignores saved consent and monthly budget. An absent fact is unknown. - * + * Response after signing out of all devices */ -export type AutoTopUpSetup = { +export type RevokeAllSessionsResponse = { /** - * Absent for ready; required for frozen or unavailable. Frozen reasons are - * payment_past_due, billing_paused, billing_awaiting_payment_method, - * billing_payment_pending, default_payment_method_missing, - * default_payment_method_unsupported and billing_operation_parked. - * Remaining reasons are unavailable. The first recorded workspace, provider, - * rail, billing, subscription, parked-operation or default-payment-method - * check that refuses setup supplies the reason. - * default_payment_method_unsupported means the default payment method cannot - * be charged off-session (Korea-only wallets, WeChat Pay); the owner must set - * a different default. It is checked against the payment provider; when - * that read fails, the setup stays ready. - * Creator-only provisioning replaces otherwise ready or frozen guidance - * for a noncreator; existing unavailable account reasons remain. - * + * How many web sessions were ended */ - reason?: - | 'workspace_deleted' - | 'workspace_blocked' - | 'billing_not_provisioned' - | 'billing_rail_not_supported' - | 'billing_status_unrecognized' - | 'payment_past_due' - | 'billing_paused' - | 'billing_awaiting_payment_method' - | 'billing_payment_pending' - | 'subscription_tier_unrecognized' - | 'subscription_status_unrecognized' - | 'subscription_state_unknown' - | 'billing_operation_parked' - | 'default_payment_method_missing' - | 'default_payment_method_unsupported' - | 'creator_only_provisioning' - state: 'ready' | 'frozen' | 'unavailable' + revoked: number +} + +export type SsoDiscoverResponse = { + /** + * Display name of the organization, when `sso` is true + */ + organization_name?: string + /** + * When `sso` is true: whether the organization requires SSO (true) or only offers it (false, an organization in optional mode, whose people keep their other sign-ins). Absent means required. + */ + required?: boolean + /** + * The email signs in through its organization's SSO + */ + sso: boolean } -/** - * Current credit balance and usage details for a workspace. Every amount here is CENTS of `currency`. The `*_micros` fields are a misnamed legacy set kept for wire compatibility; the `*_cents` fields beside them carry the identical values under honest names. `amount_micros` stays required and `amount_cents` is optional so existing strict clients are unaffected. - */ -export type BillingBalanceResponse = { +export type SavedPaymentMethod = { /** - * The total remaining balance. Cents of `currency`, the same value as `amount_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer. + * Bank of a US bank account. Absent for other types. */ - amount_cents?: number + bank_name?: string /** - * DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `amount_cents`. The total remaining balance. - * - * @deprecated + * Card brand. Present only for card payment methods. */ - amount_micros: number + brand?: string /** - * The remaining balance from cloud credits (subscription). Cents of `currency`, the same value as `cloud_credit_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer. + * When the method was saved to the customer. */ - cloud_credit_balance_cents?: number + created_at?: string /** - * DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `cloud_credit_balance_cents`. The remaining balance from cloud credits (subscription). - * - * @deprecated + * Masked email of a Link payment method (first character and domain, such as `o***@example.com`). Absent for other types. Two methods from one Link account, or two addresses that mask alike, read the same; use `created_at` to tell them apart. */ - cloud_credit_balance_micros?: number + email?: string /** - * Display-only subscription remainder in cents of currency, capped at the known configured period_credit_grant converted at USD1 = 211 credits. Preserves fractional cents and negative balances. A proven zero allowance caps at zero. Omitted when the allowance is unknown, unavailable, or the workspace is unprovisioned. When omitted, display cloud_credit_balance_cents unchanged, without a client-side cap or zero substitution. The cap may show less than spendable credit after a downgrade or on a known-zero plan. Does not change actual cloud_credit_balance_cents, totals, prepaid credit, pending charges or spend authorization. + * Display-only card expiry month. Returned with exp_year only when both are known and valid; omitted otherwise, including non-card methods. */ - cloud_credit_display_balance_cents?: number + exp_month?: number /** - * Currency code + * Display-only four-digit card expiry year. Returned with exp_month only when both are known and valid; omitted otherwise, including non-card methods. */ - currency: string + exp_year?: number /** - * False when pending charges could not be read. effective_balance_* and pending_charges_* are then omitted, because total minus an unread pending amount would overstate spendable credit. Present on every 200: the zero-balance response for an unprovisioned workspace reports true, because no draft-invoice read happened there to fail. Treat an absent flag as "server predates this field", not as false. + * Whether the card has expired, at 00:00 UTC on the first day after its expiry month. Omitted when expiry is unknown or invalid, including non-card methods. A display warning, not payment eligibility. */ - effective_balance_authoritative?: boolean + expired?: boolean /** - * The total balance minus pending charges; negative when charges exceed credit. Cents of `currency`, the same value as `effective_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer. + * Whether the card expires within the next 30 days, including already expired cards, using the UTC expiry-month boundary. Omitted when expiry is unknown or invalid, including non-card methods. A display warning, not payment eligibility. */ - effective_balance_cents?: number + expiring_soon?: boolean + id: string /** - * DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `effective_balance_cents`. The total balance minus pending charges; negative when charges exceed credit. - * - * @deprecated + * Exactly one item is the default when the returned list is non-empty. */ - effective_balance_micros?: number + is_default: boolean /** - * True when the effective balance is above 0 and at or below the low-balance threshold ($5 of credits). False when the balance is not authoritative. + * Last four digits of a card, US bank account or SEPA debit account. Absent for other types, and when a SEPA account's last four characters are not all digits. */ - low_balance?: boolean + last4?: string + type: string +} + +/** + * A plan change persisted to take effect at a future billing boundary. + */ +export type ScheduledPlanChange = { /** - * The most one top-up from this API may charge, in cents. First-purchase responses use the same bounds as purchase validation. + * Billing boundary when the destination plan takes effect */ - max_topup_cents?: number + effective_at: string /** - * The whole credits `max_topup_cents` buys. Absent when `max_topup_cents` is. + * Destination plan identifier */ - max_topup_credits?: number + plan_slug: string /** - * The least one manual top-up may buy, in USD cents before tax or discounts. First-purchase responses use the same bounds as purchase validation. + * Destination Team credit stop. Null for personal plans and legacy Team plans without a credit stop. */ - min_topup_cents?: number + team_credit_stop: TeamCreditStopSummary | null +} + +/** + * List of user secrets with metadata only. + */ +export type SecretListResponse = { + data: Array +} + +/** + * A provider the user may configure a secret for, with its display label and credential-entry options. + */ +export type SecretProvider = { /** - * The whole credits min_topup_cents buys. Absent when min_topup_cents is. + * The credential-entry options for this provider. A single entry is the common case (an API key); multiple entries (e.g. Gemini's AI Studio API key vs Vertex service account) drive a client-side sub-selection. */ - min_topup_credits?: number + credential_options?: Array /** - * Pending/unbilled charges from draft invoices. Cents of `currency`, the same value as `pending_charges_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer. + * Provider identifier (e.g., huggingface, civitai, runway, gemini) */ - pending_charges_cents?: number + id: string /** - * DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `pending_charges_cents`. Pending/unbilled charges from draft invoices. - * - * @deprecated + * Human-facing display label for the provider. Falls back to the client registry label, then the raw id, when omitted. */ - pending_charges_micros?: number + label?: string +} + +/** + * The providers available to the authenticated user in the current workspace. + */ +export type SecretProvidersResponse = { + data: Array +} + +/** + * User secret metadata (the secret value itself is never returned after creation). + */ +export type SecretResponse = { /** - * The remaining balance from prepaid commits (top-ups). Cents of `currency`, the same value as `prepaid_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer. + * When the secret was created */ - prepaid_balance_cents?: number + created_at: string /** - * DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `prepaid_balance_cents`. The remaining balance from prepaid commits (top-ups). - * - * @deprecated + * Credential class discriminator (`api_key` or `gcp_service_account`). */ - prepaid_balance_micros?: number + credential_type?: 'api_key' | 'gcp_service_account' /** - * Amount in cents to prefill for a top-up when the effective balance is negative: covers the shortfall plus the minimum top-up, rounded up to a whole dollar, never below the default amount and never above max_topup_cents. Null when the balance is zero or positive, or not authoritative. + * Unique identifier for the secret */ - suggested_topup_amount_cents?: number | null + id: string + /** + * When the secret was last used for decryption + */ + last_used_at?: string + /** + * User-provided label for the secret + */ + name: string + /** + * Provider identifier (e.g., huggingface, civitai) + */ + provider?: string + /** + * When the secret was last updated + */ + updated_at: string } /** - * Every listed field is required, and one of target_credits or - * reload_credits. reload_credits alone means target_credits = - * threshold_credits + reload_credits. On every save, disabled included, - * threshold_credits must be a positive whole number of credits and a - * non-null monthly_budget_cents positive. When enabled is true: - * target_credits must be greater than threshold_credits; target_credits - * and reload_credits must agree (reload_credits = target_credits - - * threshold_credits) when both are sent; a non-null monthly_budget_cents - * must be at most max_monthly_budget_cents, and a null one means no - * owner limit and is stored as max_monthly_budget_cents; target_credits - * must be at least threshold_credits + min_reload_credits and at most - * threshold_credits + max_reload_credits; and the smallest automatic - * reload (from one credit below threshold_credits to target_credits) - * must cost no more than the budget. A save with enabled false accepts a - * null budget, stores it as null, and skips the enabled-only rules. A - * save with enabled false is never refused over target_credits or - * reload_credits: it stores target_credits minus threshold_credits when - * the target is above the threshold, else a positive reload_credits, - * else min_reload_credits. - * + * Server-to-client CRDT document frame carried by the /ws envelope. */ -export type AutoReloadSettingsRequest = { - enabled: boolean - monthly_budget_cents: number | null +export type ServerDocFrame = + | DocSubscribedFrame + | DocUpdateFrame + | DocResetFrame + | DocOpsResultFrame + +/** + * The deployment a start was asked for, and its status after the ask. + */ +export type StartWorkspaceDeploymentResult = { /** - * Older form, target_credits minus threshold_credits; must agree with target_credits when both are sent on an enabled save. + * The deployment's id (dep-{uuid}). */ - reload_credits?: number + deployment_id: string /** - * The balance to top up to. + * The status comfy-deploy reports after the start: queued when it accepted the start, or the deployment's current status, unchanged, when it was already up. A job is taken only once the listing shows it ready. */ - target_credits?: number - threshold_credits: number + status: string } /** - * billing-api's automatic top-up settings, server prices and automatic - * spend this cycle, passed through unchanged. Credits are whole credits; - * amounts are US cents. When `configured` is false, `enabled` is false - * and the other setting fields are null. - * + * A stored AgentConsentSettingValue with its timestamp. Named apart from the write schema because codegen derives nested property type names from the schema name, and `AgentConsentSetting` would generate an `AgentConsentSettingValue` that collides with the write schema itself. */ -export type AutoReloadSettings = { +export type StoredAgentConsentSetting = AgentConsentSettingValue & + GlobalSettingUpdatedAt + +/** + * Request body for subscribing a workspace to a billing plan. + */ +export type SubscribeRequest = { /** - * True when the validated default card is already expired or its expiry-month boundary (00:00 UTC on the first day of the following month) is within the next 30 days. Absent or null means unknown, never a healthy-card claim. This includes non-card methods, malformed data, provider errors or a live Stripe default that differs from the recorded default payment method (for example, before a portal-change webhook syncs). Independent of status and charge eligibility; save responses omit the fact. Missing on an older server also means unknown. + * Billing cycle for the team slider contract. When present it must be + * consistent with plan_slug (monthly -> team_per_credit_monthly, + * yearly -> team_per_credit_annual). * */ - card_expiring_soon?: boolean | null + billing_cycle?: 'monthly' | 'yearly' /** - * Expiry of the validated default card, from the same read as card_expiring_soon; null whenever card_expiring_soon is null or absent, including save responses. Read expired for the state; do not compare month and year against the client clock. + * URL to redirect if user cancels the payment method flow. + * If not provided, return_url is used for both success and cancel. + * */ - card_expiry: AutoReloadCardExpiry | null - configured: boolean + cancel_url?: string /** - * When the budget cycle resets; null when no cycle anchor is known. + * Client-minted identifier for one checkout attempt, generated when + * the customer starts checkout and sent on every request and + * analytics event of that attempt. Purely for observability: it is + * what joins the frontend funnel (which emits events before any + * billing op exists) to the backend outcome. Expected to match + * ^[A-Za-z0-9_-]{1,64}$; a present value that does not is ignored, + * never rejected, so the constraint is intentionally not declared + * here as pattern/maxLength -- either would make a conforming + * client or request validator reject the request before ingest + * ever applies that "ignored, not rejected" behavior. + * */ - cycle_resets_at: string | null + checkout_attempt_id?: string /** - * The payment method whose declines caused the current failed state, for a notice such as "Visa ending 4242 was declined". Set only while paused_by_decline is true or disabled_reason is consecutive_declines; null otherwise, and null when the method cannot be read or is no longer attached. Also null once the default changed to a payment method whose match with the declined one could not be determined (a wallet, or an unreadable method), since the pause then continues on an untried method. Never carries a payment method ID. + * Explicit consent to reactivate a subscription that is currently + * scheduled to cancel at period end. Set to true when the caller has + * confirmed this with the user; omitting it (or sending false) while + * a cancellation is scheduled fails the request with + * REACTIVATION_CONFIRMATION_REQUIRED instead of silently clearing + * the cancellation. + * */ - declined_payment_method: AutoReloadDeclinedPaymentMethod | null + confirm_reactivation?: boolean /** - * Why the system, not an owner, turned automatic reload off: consecutive_declines. Null after any owner save, or once a different default card re-enables it. + * Stripe ConfirmationToken created from deferred Payment Element + * details. For an initial subscription, the backend creates the exact + * invoice PaymentIntent and confirms it with this token. + * + */ + confirmation_token?: string + /** + * Client-provided key to prevent duplicate operations. + * If a billing op with this key already exists, returns the existing op instead of creating a new one. + * + */ + idempotency_key?: string + /** + * Target plan slug to subscribe to + */ + plan_slug: string + /** + * Optional customer-facing Stripe promotion code. The backend + * resolves and validates it, then stacks it with plan discounts. + * */ - disabled_reason: string | null - enabled: boolean + promotion_code?: string /** - * When the most recent automatic reload declined, or null. + * Echoes PreviewSubscribeResponse.proration_at from the preview the + * caller consented to. When present, the charge is prorated to this + * exact instant instead of the instant this request is processed, so + * the amount billed matches exactly what was previewed and consented + * to. Optional for backward compatibility: omit to keep today's + * behavior (prorate to now). Rejected with PRORATION_QUOTE_EXPIRED if + * it is in the future or older than a short window — request a fresh + * preview and retry in that case. + * */ - last_failure_at: string | null + proration_at?: string /** - * Decline code of the most recent declined automatic reload, or null. Fraud codes read as generic_decline. Kept after a later success; read paused_by_decline for the current state. + * Opaque quote id returned by PreviewSubscribeResponse. */ - last_failure_reason: string | null + quote_id?: string /** - * The largest monthly_budget_cents an enabled save accepts. + * Quote version returned by PreviewSubscribeResponse. */ - max_monthly_budget_cents: number + quote_version?: number /** - * The most credits a single automatic reload buys. An enabled save needs target_credits at most threshold_credits plus this; a disable keeps a target saved above it. The smallest automatic reload must also fit the monthly limit (monthly_budget_cents, at most max_monthly_budget_cents). Null when billing-api did not report the cap. + * URL to redirect after payment method is added successfully. + * Required if the workspace has no payment method on file, when + * confirmation_token is provided, or when a selected saved payment + * method is redirect-based (any non-card type). Redirect-based flows + * require an absolute HTTPS URL; plain HTTP is accepted only for + * loopback hosts during local development. * */ - max_reload_credits: number | null + return_url?: string /** - * The fewest credits a single automatic reload buys. An enabled save needs target_credits at least threshold_credits plus this. + * Optional saved payment method selected for this subscription. It + * must be attached to the current workspace's Stripe customer. + * Mutually exclusive with confirmation_token. + * */ - min_reload_credits: number - monthly_budget_cents: number | null + saved_payment_method_id?: string /** - * true when the stored monthly limit came from an owner's null (no-limit) save and still equals the current ceiling; the dialog reopens with the limit switch off. False when unconfigured, when the owner sent a limit or disabled, or when the ceiling has since changed. A consecutive-declines system disable keeps the saved value. + * Selected team credit-stop preset id (e.g. "team_700") for the + * per-credit Team plan. Required when subscribing to a per-credit Team + * plan; rejected for non-team plans. The backend owns the resolved + * amounts (credits/price) for the stop. * */ - monthly_budget_is_default: boolean + team_credit_stop_id?: string +} + +/** + * Response after successfully subscribing to a billing plan. + */ +export type SubscribeResponse = { /** - * Enabled, but no budget cycle is known, monthly_budget_cents is null, or the remaining budget cannot fund even the smallest automatic reload, from one credit below threshold_credits to target_credits. Always false when disabled. Read guidance only; it does not enforce charging. + * Billing operation ID to poll for status via GET /api/billing/ops/{id} */ - paused_by_budget: boolean + billing_op_id: string /** - * True only when paused_by_budget holds because the unspent part of the monthly limit is positive but smaller than the smallest automatic reload (from one credit below threshold_credits to target_credits); false when the limit is fully used or exceeded, when no cycle or limit is known, and when disabled. + * When the subscription became/becomes active (present when status=subscribed or pending_payment) */ - paused_by_budget_remainder: boolean + effective_at?: string /** - * Enabled, but the default card is the one that last declined an automatic reload, so none is attempted until the default card changes. Not the workspace billing status. + * URL to redirect user to add payment method (present when status=needs_payment_method) */ - paused_by_decline: boolean + payment_method_url?: string /** - * Current server price of the smallest automatic reload, from one credit below threshold_credits to target_credits (reload_credits + 1 credit, clamped to the reload bounds). Reloads for lower balances cost more, so show it as a starting price. Display only; never sent back. + * Status of the subscription operation: + * - subscribed: Subscription is active immediately + * - needs_payment_method: User must add payment method via payment_method_url + * - pending_payment: Upgrade initiated, waiting for payment to complete + * */ - reload_amount_cents: number | null + status: 'subscribed' | 'needs_payment_method' | 'pending_payment' +} + +export type SubscriptionDiscount = { /** - * target_credits minus threshold_credits. Kept for older clients; read target_credits. A reload buys the gap between the balance and target_credits, so it can buy more than this. + * What this discount removed from the amount due today. */ - reload_credits: number | null + amount_off_cents?: number + code: string /** - * Automatic reload spend counted in the current budget cycle. + * How long the underlying coupon keeps applying. May be absent when + * the coupon's term is not known, e.g. a plan coupon Stripe does not + * echo back. + * */ - spent_this_cycle_cents: number + duration?: 'once' | 'repeating' | 'forever' /** - * The one automatic reload state the card renders, decided by - * billing-api so clients never order the separate facts themselves. - * Render it as received. Values are listed in precedence order; the - * first that holds wins: - * - failed: paused_by_decline is true, or the system turned automatic - * reload off after consecutive declines (disabled_reason is - * consecutive_declines). The card asks for a new payment method. - * - off: not configured, or an owner turned it off. - * - on_hold: enabled, but the workspace has no default payment method - * recorded, so no automatic reload can be attempted. - * - paused_by_budget: enabled, and paused_by_budget is true; it - * resumes at cycle_resets_at. - * - on: enabled and able to reload. - * Read guidance, not charging enforcement or the workspace billing - * status. An expired card that is still the default reads as on - * until a reload declines, then failed. Treat an unknown value as off. + * The coupon's total term in months when duration is repeating. + * Omitted for discounts carried over from the current subscription. * */ - status: 'failed' | 'off' | 'on_hold' | 'paused_by_budget' | 'on' + duration_in_months?: number + kind: 'plan' | 'promotion' /** - * The balance an automatic reload tops up to: threshold_credits plus reload_credits. Null when not configured, when that sum does not fit in an int64, and from an older billing-api that does not report it. + * Customer-facing display name of the underlying coupon. `code` can + * be an internal identifier (e.g. team_commitment_7_5); render this + * when present. + * */ - target_credits: number | null + name?: string /** - * Reload when the balance falls below this many credits. + * How long the discount applies, as the checkout should state it. + * this_payment: a one-time code on a change to a monthly plan, which + * covers only today's charge. first_month / first_year: a one-time + * code on a new monthly or yearly subscription, or on a change to a + * yearly plan. months: a repeating discount, for duration_in_months + * months. ongoing: a forever discount. Absent when the term is not + * known. + * */ - threshold_credits: number | null + term?: 'this_payment' | 'first_month' | 'first_year' | 'months' | 'ongoing' } /** - * Display facts about a declined payment method. Carries no identifier. + * Billing period (uppercase to match comfy-api) */ -export type AutoReloadDeclinedPaymentMethod = { - /** - * Card brand as Stripe reports it (for example visa or mastercard); null for non-card methods. - */ - brand: string | null - /** - * Last four card digits; null for non-card methods. - */ - last4: string | null - /** - * Stripe payment method type, such as card, alipay or link. Render an unknown value generically. - */ - type: string +export type SubscriptionDuration = 'MONTHLY' | 'ANNUAL' + +/** + * Server-owned subscription presentation state. A future scheduled plan change remains active, with its target in scheduled_change. Paused means a recoverable renewal collection failure; past_due requires direct subscription payment evidence, never an unattributed workspace or top-up failure. Activating means the initial subscription is awaiting payment. This is not an authorization or workflow admission decision; use capabilities. + */ +export type SubscriptionState = + | 'never_subscribed' + | 'active' + | 'cancel_scheduled' + | 'past_due' + | 'paused' + | 'activating' + | 'ended' + +/** + * Subscription tier (uppercase to match comfy-api) + */ +export type SubscriptionTier = + | 'FREE' + | 'STANDARD' + | 'CREATOR' + | 'PRO' + | 'FOUNDERS_EDITION' + | 'TEAM' + | 'ENTERPRISE' + +/** + * System statistics response + */ +export type SystemStatsResponse = { + devices: Array<{ + /** + * Device name + */ + name: string + /** + * Device type + */ + type: string + /** + * Free VRAM in bytes + */ + vram_free?: number + /** + * Total VRAM in bytes + */ + vram_total?: number + }> + system: { + /** + * Command line arguments + */ + argv: Array + /** + * Cloud ingest service version (commit hash) + */ + cloud_version?: string + /** + * ComfyUI frontend version (commit hash or tag) + */ + comfyui_frontend_version?: string + /** + * ComfyUI version + */ + comfyui_version: string + /** + * How this ComfyUI instance is deployed (e.g. cloud, local-git, local-portable, local-desktop) + */ + deploy_environment?: string + /** + * Whether using embedded Python + */ + embedded_python: boolean + /** + * Operating system + */ + os: string + /** + * Python version + */ + python_version: string + /** + * PyTorch version + */ + pytorch_version: string + /** + * Free RAM in bytes + */ + ram_free: number + /** + * Total RAM in bytes + */ + ram_total: number + /** + * Workflow templates version + */ + workflow_templates_version?: string + } } /** - * Expiry of the default card. Carries no identifier. + * Metadata for a single tag that can be applied to assets. */ -export type AutoReloadCardExpiry = { - /** - * True once 00:00 UTC on the first day after the expiry month has passed. - */ - expired: boolean +export type TagInfo = { /** - * Expiry month, 1 to 12. + * Number of assets using this tag */ - month: number + count: number /** - * Four-digit expiry year. + * Tag name */ - year: number + name: string } /** - * Estimated automatic charge for the proposed settings. + * Response after adding, updating, or removing tags on an asset. */ -export type AutoReloadPreview = { +export type TagsModificationResponse = { /** - * Price of charge_credits in cents; null when charge_credits is null. + * Tags that were successfully added (for add operation) */ - charge_cents: number | null + added?: Array /** - * Credits the charge buys; null when the balance is at or above the threshold. + * Tags that were already present (for add operation) */ - charge_credits: number | null + already_present?: Array /** - * Whether saving would start a charge at the next check. + * Tags that were not present (for remove operation) */ - charges_now: boolean + not_present?: Array /** - * Why saving would not start a charge; null when charges_now is true. + * Tags that were successfully removed (for remove operation) */ - not_charging_reason: - | 'above_threshold' - | 'monthly_budget' - | 'paused_by_decline' -} - -export type AuthenticateResponse = { + removed?: Array /** - * Seconds until the session ends, when `method` is `session` + * All tags on the asset after the operation */ - expires_in?: number + total_tags: Array +} + +/** + * Task data for list views + */ +export type TaskEntry = { /** - * `sso`: go to `start_url`. `password`: ask for the password. `session`: signed in; the web session cookie is set. `firebase`: the password is right but this account still signs in with Firebase on the client. + * When task completed, failed, or was cancelled (null if not finished) */ - method: 'sso' | 'password' | 'session' | 'firebase' + completed_at?: string /** - * The SSO organization's display name, when `method` is `sso` + * Task creation timestamp */ - organization_name?: string + create_time: string /** - * Path that starts the organization's SSO, when `method` is `sso`; add `return_to` + * Unique task identifier */ - start_url?: string -} - -export type AuthenticateRequest = { - email: string + id: string /** - * Omit to only ask where the email signs in + * When task execution started (null if not started) */ - password?: string -} - -export type AuthenticateRefusal = { - code: string - message: string + started_at?: string /** - * The SSO organization to sign in with, for `sso_required` when it is known; the value `GET /api/auth/sso/start?organization=` takes + * Current task status */ - organization_id?: string + status: 'created' | 'running' | 'completed' | 'failed' | 'cancelled' /** - * Path that starts the organization's SSO, for `sso_required` + * Task type name (e.g., model_upload) */ - start_url?: string + task_name: string } /** - * Response returned when an existing asset is successfully updated. + * Full task details including payload and result */ -export type AssetUpdated = { +export type TaskResponse = { /** - * Display name of the asset. Mirrors name for backwards compatibility. + * When task completed or failed (null if not finished) */ - display_name?: string | null + completed_at?: string /** - * Relative path in global-namespace-root form (e.g. "models/checkpoints/flux.safetensors") + * Task creation timestamp */ - file_path?: string | null + create_time: string /** - * Blake3 hash of the asset content. + * Error message on failure (null if not failed) */ - hash?: string + error_message?: string /** - * Asset ID + * Unique task identifier */ id: string /** - * ID of the job that created this asset, if available + * Caller-provided key for idempotent task creation */ - job_id?: string | null + idempotency_key: string /** - * The bare value a loader widget consumes for this asset. For models it is the path inside the category folder (e.g. "flux.safetensors" for "models/checkpoints/flux.safetensors"), which is what the model resolver matches. For input/output/temp it is the content hash, because those assets are fetched by hash rather than staged by name — that is the value LoadImage-style widgets must carry. Clients add the "[output]"/"[temp]" annotation from the asset's own type, so it is never included here. Null when no such value can be derived. + * Task input data */ - loader_path?: string | null + payload: { + [key: string]: unknown + } /** - * Updated MIME type of the asset + * Task output data (null if not completed) */ - mime_type?: string + result?: { + [key: string]: unknown + } /** - * Updated name of the asset + * When task execution started (null if not started) */ - name?: string + started_at?: string /** - * Tags associated with the asset + * Current task status */ - tags?: Array + status: 'created' | 'running' | 'completed' | 'failed' | 'cancelled' /** - * Timestamp of the update + * Task type name (e.g., model_upload) */ - updated_at: string + task_name: string /** - * Updated custom metadata + * Task last update timestamp */ - user_metadata?: { - [key: string]: unknown - } + update_time: string } /** - * Histogram of tag counts used for refining asset search results. + * Paginated list of background tasks for the authenticated user. */ -export type AssetTagHistogramResponse = { +export type TasksListResponse = { + pagination: PaginationInfo /** - * Map of tag names to their occurrence counts on matching assets + * Array of tasks ordered by create_time */ - tag_counts: { - [key: string]: number - } + tasks: Array } /** - * Metadata for a remotely hosted asset resolved by URL. + * A selectable preset on the team pricing slider. Echoed on subscribe via + * team_credit_stop_id; the backend owns the resolved amounts. credits is a + * RAW monthly credit count (not cents). Save% is derived by the FE as + * (list_price_cents - price_cents) / list_price_cents. + * */ -export type AssetMetadataResponse = { - /** - * Size of the asset in bytes (-1 if unknown) - */ - content_length: number - /** - * MIME type of the asset - */ - content_type?: string +export type TeamCreditStop = { /** - * Suggested filename for the asset from source + * Raw monthly credit count granted at this stop */ - filename?: string + credits: number /** - * Display name or title for the asset from source + * Stable stop id echoed on subscribe (e.g. "team_700") */ - name?: string + id: string + monthly: TeamCreditStopPrice + yearly: TeamCreditStopPrice +} + +/** + * Pre/post-discount price for a team credit stop, in cents. + */ +export type TeamCreditStopPrice = { + action: PlanAction + denied_reason?: PlanActionDeniedReason + denied_reason_params?: PlanActionDeniedReasonParams /** - * Preview image as base64-encoded data URL + * Pre-discount (struck-through) price in cents */ - preview_image?: string + list_price_cents: number /** - * Tags for categorization from source + * What one billing period at this stop is charged, in cents: one month + * for monthly, the whole year for yearly. This is the current catalog + * amount a new checkout at this stop quotes and invoices; an existing + * subscription's invoice can differ. Show this server amount as the + * billed total rather than deriving price_cents x 12: Stripe rounds + * the per-credit line before applying the discount. + * */ - tags?: Array + period_charge_cents: number /** - * Validation results for the file + * Post-discount (bold) price in cents */ - validation?: ValidationResult + price_cents: number } /** - * Acknowledgement of an async asset download task; clients poll GET /api/tasks/{task_id} for status. + * The team credit stop a workspace is currently subscribed to: the + * per-workspace slider choice recorded at subscribe time + * (workspace_subscriptions.team_credit_stop_id). Amounts are owned by the + * catalog, not the subscription row. Returned on GET /api/billing/status + * for per-credit Team plans (BE-1254). + * */ -export type AssetDownloadResponse = { +export type TeamCreditStopSummary = { /** - * Human-readable message + * Raw monthly credit count granted at this stop */ - message?: string + credits_monthly: number /** - * Current task status + * Stable stop id (e.g. "team_200") */ - status: 'created' | 'running' | 'completed' | 'failed' | 'cancelled' + id: string /** - * Task ID for tracking download progress via GET /api/tasks/{task_id} + * Monthly USD commitment for this stop */ - task_id: string + stop_usd: number } /** - * Response returned when a new asset is successfully created. + * Credit-stop ladder for the pricing slider (BE-1254). Returned by GET /api/billing/plans for every workspace regardless of the caller's token or workspace type (the personal/team distinction was removed); omitted only when the catalog defines no stops. */ -export type AssetCreated = Asset & { +export type TeamCreditStops = { + /** + * Index into stops[] for the slider's initial position + */ + default_stop_index: number + stops: Array +} + +/** + * One persisted tool call attached to an assistant message's content.tool_calls (services/agent/internal/persist.ToolCallSummary), so a chat reload can render the tool-call history a turn produced. Display data only — raw arguments/results are never projected here. The optional produced_asset field is a strict exception containing only the server-recorded id/hash from a successful asset-producing media call. Only terminal rows (status ok/error) are ever surfaced; a row a dead turn left in pending/running has no wire-status mapping and is dropped rather than shown as a perpetual-progress chip. + * This object is projected at read time by services/agent/internal/persist.ToolCallsForThread from agent_tool_calls; it is never stored in agent_messages.content, so there is no legacy persisted shape. Because of that projection the contract holds for every row ever served: tool_call_id is always present (it falls back to id for rows written before the column existed), status is always one of the enum values (the audit-table word "ok" is translated by ToolCallWireStatus), and duration_ms is always an integer when present. Clients (the frontend's zPersistedToolCallSummary) must not relax these fields to parse "historical" rows — a row that fails this schema is a server bug (BE-20134). + */ +export type ToolCallSummary = { + /** + * Omitted when zero. + */ + duration_ms?: number + /** + * Present only when status is error. + */ + error_code?: string + finished_at?: string + /** + * This tool-call row's own primary key. + */ + id: string + /** + * Mirrors agent_tool_calls.prompt_id at read time. This is the exact-attempt ownership signal an eval driver needs to prove which job a given turn submitted — a model-authored result string, workflow id, or URL in the assistant's final text is not equivalent evidence. It is parsed from the comfy-cli runner's stdout envelope and never cross-checked against the job table, so it is proof of turn-to-job submission only, not proof the job completed or that any output URL belongs to it; a consumer must still authenticate job detail and bind the artifact to this id. Absence does NOT prove no job was submitted: most tool calls never submit one, but a call that submitted a job and then errored (for example while polling) also omits this field, as does any row outside the history window. + */ + job_id?: string + /** + * Present only when this exact row is a successful process_media or combine_media call whose persisted audit result contains a complete saved_asset identity. It binds an assistant message and tool call to the asset representing that call's output bytes. Ingest may dedupe identical bytes to an existing asset, so this does not prove the call created the asset, and multiple calls may name the same id. Consumers must still authenticate the asset id and match the hash against the candidate selector. Omitted for failed calls, non-producing tools, malformed/legacy results, and rows outside the history window. Raw results, arguments, asset names, URLs, credentials, notes, and unrelated metadata are never exposed. + */ + produced_asset?: { + /** + * The canonical asset hash/filename selector recorded by the producing call, including its media extension. + */ + hash: string + /** + * The server-assigned asset id recorded by the producing call. + */ + id: string + } + started_at?: string /** - * Whether this was a new asset creation (true) or returned existing (false) + * The WIRE status vocabulary (api/agent_events.schema.json's agent_tool_call), translated from the audit-row vocabulary (pending/running/ok/error) via ToolCallWireStatus — the same function the live agent_tool_call broadcast uses, so reloaded history and a live frame for the same call never disagree on the vocabulary. "running" never appears here: only terminal rows are queried, so a call still in flight when its turn died is omitted rather than shown as a perpetually in-progress chip. */ - created_new: boolean + status: 'success' | 'error' + /** + * The provider tool-use id, the same id a live agent_tool_call WebSocket frame carries as tool_call_id — the frontend keys its tool chip on this value so a reload and a resumed live frame for the same call render as one chip, not two. Rows recorded before this id existed have none; id (this row's own primary key) is emitted instead, so the field is never empty, though it then cannot match any live frame. + */ + tool_call_id: string + tool_name: string } /** - * Attachment extensions whose content the model can see: the raster formats Go's image - * package decodes, plus HEIC/HEIF stills (iPhone photos), which view_asset converts to JPEG - * first. view_asset always re-encodes to PNG or JPEG, so the provider's own four-type image - * allowlist is satisfied by construction rather than by matching this list. + * Requested credit purchase from this operation's validated stored interactive top-up intent. Visible only to callers authorized for payment details. Not the amount charged or proof of payment. Omitted for historical, non-interactive, invalid or non-top-up operations. * */ -export type AgentViewableAttachmentExtension = - | '.png' - | '.jpg' - | '.jpeg' - | '.gif' - | '.webp' - | '.bmp' - | '.tif' - | '.tiff' - | '.heic' - | '.heif' - -/** - * Usage of a completed turn, as carried on agent_message_done. Mirrors `$defs.agent_message_done.data.usage` in services/agent/api/agent_events.schema.json; TestMessageDoneFrameMatchesContract holds the two definitions to the same fields and constraints. charge_micro_usd appears only when the server durably captured priced billing for at least one round. It is the exact charge in millionths of a US dollar; clients convert that denomination to catalog credits for display and must not read its absence as a zero charge. - */ -export type AgentTurnUsage = { - cache_creation_input_tokens: number - cache_read_input_tokens: number - charge_micro_usd?: number - input_tokens: number - output_tokens: number - total_tokens: number +export type TopUpPurchaseAmount = { + amount_cents: number + currency: 'usd' } /** - * Present on agent_message_done only when the model service refused the turn. Mirrors `$defs.agent_message_done.data.refusal` in services/agent/api/agent_events.schema.json, which states the full rendering rules. Absence must not be read as the account having credit. + * What a credit top-up of the requested amount would grant. */ -export type AgentTurnRefusal = { +export type TopupQuoteResponse = { /** - * Whether adding credit to the account clears this refusal. True only for no_funds. + * The quoted amount, in cents. */ - can_add_credit: boolean + amount_cents: number /** - * What refused the turn. Clients must treat an unknown kind like payment_required (show the text) rather than fail. + * Display credits at 211 per dollar, rounded half up. The top-up + * itself grants `amount_cents` of balance. + * */ - kind: 'no_funds' | 'manual_block' | 'payment_required' | 'auth' | 'rate_limit' + credits: number /** - * Ingest's error.reason from the refused 402, verbatim, for logging and analytics. Render from kind and can_add_credit, not from this field. + * Approximately 12 months from now (the default top-up window); the + * actual grant may start an hour or two earlier, and a price-level + * validity setting can change it. + * */ - reason?: string + expires_at: string + /** + * Environment-configured Stripe payment method configuration for + * one-time credit top-up checkout. Omitted when not configured. + * This metadata does not establish interactive payment eligibility, + * ownership of a saved method, or guarantee payment success. The + * interactive endpoint independently accepts only cards without + * future usage and revalidates payment authority. + * Clients must constrain the interactive payment form to that + * card-only, no-future-use contract; this configuration alone does + * not guarantee its enabled methods are compatible. + * + */ + payment_method_configuration_id?: string } /** - * Acknowledgement that a turn was accepted. The agent runs asynchronously; output streams over the WebSocket (agent_message_delta, agent_tool_call, agent_message_done); canvas edits arrive as doc_update frames. + * Request body for updating an existing Hub profile. */ -export type AgentTurnAccepted = { +export type UpdateHubProfileRequest = { /** - * ID of the assistant message that will stream the reply. + * Token (from /api/hub/assets/upload-url) for a new avatar image. Omit or send null to leave unchanged; send empty string "" to remove. + * */ - message_id: string - thread_id: string + avatar_token?: string | null + description?: string + display_name?: string + /** + * List of website URLs. + */ + website_urls?: Array } /** - * Server-to-client agent_tool_call frame on /ws. A tool invocation started or reached a terminal state. Closed, like the canonical envelope. + * Request body for changing a workspace member's role. */ -export type AgentToolCallFrame = { - data: AgentToolCallData - type: 'agent_tool_call' +export type UpdateMemberRoleRequest = { + /** + * The role to assign to the member + */ + role: 'owner' | 'member' } /** - * The `data` of an agent_tool_call WebSocket event: one tool invocation's lifecycle. Mirrors `$defs.agent_tool_call.data` in services/agent/api/agent_events.schema.json, which also states the presence rules: the document correlation fields appear only on a terminal (success or error) frame, workflow_id and op_ids appear together, doc_seq and doc_lineage_seq appear together and only with both of them, and job_id and job_workflow_id appear together only on a terminal run frame when a job was submitted. This schema leaves those rules out on purpose. A oneOf over closed variants could express them, but it would turn the generated frontend type into a union the consumer cannot extend field by field. The producer enforces them instead: the Publisher omits incomplete correlation, and TestToolCallEmissionsSatisfyBothContracts validates every emitted shape against the canonical schema. Consumers treat correlation as advisory and use it only when workflow_id and op_ids are both present on a terminal frame. TestToolCallFrameMatchesContract holds the two definitions to the same fields and constraints. + * Request body for updating an existing user secret. */ -export type AgentToolCallData = { - /** - * Present with doc_seq. The lineage containing every correlated update, so a follower can detect replacement and resync. - */ - doc_lineage_seq?: number - /** - * Optional terminal recovery barrier. The highest published doc_update sequence carrying this call's op_ids. - */ - doc_seq?: number - duration_ms?: number - error_code?: string +export type UpdateSecretRequest = { /** - * Terminal run frame with a submitted job only. The job (prompt_id) this call submitted. Present with job_workflow_id, including when a later step made the run observation an error. + * New name for the secret */ - job_id?: string + name?: string /** - * Terminal run frame with a submitted job only. The workflow the job was submitted for, so the client can attribute the job's execution events to that workflow's tab. Present with job_id. + * New secret value (API key, token, etc.) */ - job_workflow_id?: string - message_id: string + secret_value?: string +} + +/** + * Request body for updating an existing saved workflow. + */ +export type UpdateWorkflowRequest = { /** - * Terminal success or error only. The semantic operations whose effects are carried by published doc_update frames for this call. + * New default view mode */ - op_ids?: Array + default_view?: 'workflow' | 'app' /** - * load_skill only. The skill pack name the call's input names, on its running frame and on its terminal frame, including an unknown_skill error. Omitted on every other tool. + * New description */ - skill?: string - status: 'running' | 'success' | 'error' - thread_id: string - tool_call_id: string - tool_name: string + description?: string /** - * Terminal success or error only. The workflow whose published doc_update contains op_ids. Replace-canvas doc_reset calls do not carry this correlation. + * New display name */ - workflow_id?: string + name?: string } /** - * One agent thread row for the history sidebar. + * Request body for updating an existing workspace's settings. */ -export type AgentThreadSummary = { +export type UpdateWorkspaceRequest = { /** - * Thread creation time (RFC3339). + * New display name for the workspace */ - created_at: string + name?: string +} + +/** + * A minted single-use upload grant. + */ +export type UploadGrantResponse = { /** - * Thread ID. + * Seconds until the grant expires if unused. */ - id: string + expires_in: number /** - * When the thread was last marked active (RFC3339). Empty when unset. + * Relative path (/api/uploads/{id}) to PUT the raw bytes to, resolved + * against this API's origin. The unguessable id is the only + * credential the upload needs — send no Authorization header or API + * key. Single-use: a failed or interrupted upload burns the grant; + * mint a new one to retry. + * */ - last_message_at: string + upload_path: string +} + +/** + * Current remaining balance, mirroring /billing/balance. Every amount is CENTS of `currency`; the `*_micros` names are a misnomer kept for wire compatibility. + */ +export type UsageBalance = { /** - * Number of messages in the thread. + * The total remaining balance. Cents of `currency`, the same value as `amount_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer. */ - message_count: number + amount_cents?: number /** - * First user message text, truncated. Shown when title is empty. + * DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `amount_cents`. The total remaining balance. + * + * @deprecated */ - preview: string + amount_micros?: number /** - * Thread status. + * The remaining balance from cloud credits (subscription). Cents of `currency`, the same value as `cloud_credit_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer. */ - status: 'active' | 'archived' + cloud_credit_balance_cents?: number /** - * Thread title; empty when none has been assigned (fall back to preview). + * DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `cloud_credit_balance_cents`. The remaining balance from cloud credits (subscription). + * + * @deprecated */ - title: string + cloud_credit_balance_micros?: number + currency?: string /** - * Thread last-update time (RFC3339). + * The remaining balance from prepaid commits (top-ups). Cents of `currency`, the same value as `prepaid_balance_micros`, which is misnamed. A fractional `number`, deliberately not the integer-cents convention other `*_cents` fields in this spec use -- do not decode it as an integer. */ - updated_at: string + prepaid_balance_cents?: number /** - * Associated workflow/draft ID; empty when the thread has none. + * DEPRECATED misnomer: this value is CENTS, not micros. Divide by 100. Use `prepaid_balance_cents`. The remaining balance from prepaid commits (top-ups). + * + * @deprecated */ - workflow_id: string + prepaid_balance_micros?: number } -/** - * A paginated page of the caller's agent threads. - */ -export type AgentThreadListResponse = { - pagination: PaginationInfo - threads: Array +export type UsageBreakdownRow = { + cost_micros: number + group_key: string + /** + * Only on a ledger-served answer (`served_from: ledger`): how many distinct charges — jobs, calls, metered hours — the group's spend came from over the range. + */ + run_count?: number + share: number } -/** - * Result of creating an agent thread. - */ -export type AgentThreadCreated = { - thread_id: string +export type UsageBucket = { + cost_micros: number + group_key: string + period_end: string + period_start: string } -/** - * Optional body for creating an agent thread. - */ -export type AgentThreadCreateRequest = { +export type UsageGroupLabel = { /** - * Workflow the thread is about. Optional — a thread can exist without a workflow. + * Only for `model` when the key is a Serverless deployment: `gpu` for the deployment's GPU time, `storage` for its network-volume and container-disk storage. */ - workflow_id?: string -} - -/** - * One model round's thinking as persisted on an assistant message's content.thinking (services/agent/internal/loop.persistedThinking): the round's reasoning text, then its narration, scrubbed exactly as the live agent_thinking frames were. Display data only. - */ -export type AgentThinkingEntry = { - text: string + cost_kind?: 'gpu' | 'storage' + /** + * For `model` and `source` when the key is a Serverless deployment: the deployment's id. Under Serverless the model level is the deployment, with its GPU time and its storage as separate keys; under `source` each deployment is one key. + */ + deployment_id?: string + /** + * For `model` and `source` when the key is a Serverless deployment and the caller is a signed-in session comfy-deploy can name it for; absent on an API-key read or when comfy-deploy could not be reached, and `display_name` then carries the id. + */ + deployment_name?: string /** - * The provider tool-use id of the round's first tool call, the same id ToolCallSummary.tool_call_id carries, so a client can place the entry ahead of that round's calls. Absent for the final round, whose thinking follows the last call. + * Human-readable name for the key: a person's name, a product line's label, a model's name (`Not specified` for `unspecified`: charges that name no model, such as Agent rounds, partner calls that send none, and Comfy Cloud GPU time), or the key's owner and prefix. */ - tool_call_id?: string -} - -/** - * A user-authored skill pack to create or replace. Plain JSON — a pack body is small enough that a signed-URL upload would be pure overhead. - */ -export type AgentSkillPublishRequest = { + display_name?: string /** - * Accepted only so an `always: true` copied out of a SKILL.md frontmatter is refused with an explanation instead of silently dropped. User packs are on-demand only, so true is rejected. + * Only for `person` when the member is known; tells two members with one name apart. */ - always?: boolean + email?: string /** - * The full instruction text, injected only when the pack is loaded. Capped per pack and, together with the caller's other packs, in total; the exact byte limits are deployment configuration and are named in the rejection message when exceeded. + * Only for `person`: true when the person is no longer a member of this workspace. Their spend stays under their name. */ - body: string + former_member?: boolean /** - * One line saying when the agent should load this pack. It is what every prompt carries for an unloaded pack, so it is a trigger description, not a title. Single-line: control characters, including CR and LF, are refused. maxLength is counted in code points, as JSON Schema defines it, and the service counts the same way. + * The value as it appears in `groups`, `buckets` and `breakdown`. */ - description: string + key: string /** - * The pack's flat identifier and the load_skill argument: letters, digits, '.', '_' and '-'. Publishing a name already held by the caller replaces that pack. A name matching a built-in always-on pack is refused; a name matching a built-in on-demand pack is accepted, and is the name consumption will resolve to the user's pack. Must contain at least one character that is not a dot: "." and ".." are path segments a normalizing client rewrites. + * Only for `source` when the key is known to this workspace. */ - name: string -} - -/** - * The caller's skill packs, ordered by name. - */ -export type AgentSkillListResponse = { - skills: Array -} - -/** - * One of the caller's user-authored skill packs. - */ -export type AgentSkill = { + key_name?: string /** - * The full instruction text. + * Only for `source` when kind is `api_key`. */ - body: string + key_prefix?: string /** - * Lowercase hex sha256 of body, with no algorithm prefix. Stamped on every write, so a client can tell whether the stored pack matches the body it last sent. + * Only for `source` when kind is `api_key` and the key is known to this workspace: true when the key has been revoked. Its spend stays under its name. */ - body_hash: string + key_revoked?: boolean /** - * RFC3339 timestamp of when the pack was first published. + * Only for `source`. A `deployment` key is one Serverless deployment's id (`deployment_id` set); the bare key `deployment` is deployment spend recorded without an id. */ - created_at: string + kind?: 'api_key' | 'session' | 'deployment' /** - * One-line trigger description the agent selects the pack from. + * Only for `source` when the key's or deployment's owner is known. */ - description: string + owner_display_name?: string /** - * Server-assigned pack ID. + * Only for `source` when the key's or deployment's owner is known; tells two owners with one name apart. */ - id: string + owner_email?: string /** - * The pack's flat identifier and the load_skill argument. + * Only for `source`: the API key's owner when the key is known to this workspace, or the member who deployed a deployment when comfy-deploy names it. */ - name: string + owner_user_id?: string /** - * RFC3339 timestamp of the pack's most recent publish. + * Only for `model` on a ledger-served answer: the partner the model's charges came through, as the partner catalog's provider id (the id workspace provider policy uses). Absent for a model whose charges name no known partner, a deployment and `unspecified`. */ - updated_at: string -} - -/** - * The run mode to save. - */ -export type AgentRunModePutRequest = { + provider?: string /** - * Required and positive for auto_limited; must be absent or null for ask_approval and auto. Bounded at 2^31-1 so the value round-trips exactly through an IEEE-754 JSON number. + * With `provider`: the partner's name, e.g. `Black Forest Labs`. Render beside `display_name`; `display_name` stays the model's own name. */ - credit_limit?: number | null - mode: 'ask_approval' | 'auto' | 'auto_limited' + provider_display_name?: string } /** - * How the agent may spend the caller's credits by running workflows from chat. The saved choice, or the default (ask_approval, no limit) for a caller who never chose. + * Present, with empty groups, buckets and breakdown, when the requested grouping is not served for this workspace. Render as unavailable, not as zero spend. */ -export type AgentRunMode = { - /** - * The credit ceiling for auto_limited. Always present; null for the other two modes. Bounded at 2^31-1 so the value round-trips exactly through an IEEE-754 JSON number and a client is never bounded by a ceiling it did not send. - */ - credit_limit: number | null - /** - * ask_approval pauses at every run and asks on the consent card; auto runs without asking; auto_limited runs without asking until credit_limit credits have been spent, then asks again. - */ - mode: 'ask_approval' | 'auto' | 'auto_limited' +export type UsageNotAvailable = { + reason: 'no_attribution_source' | 'filter_needs_ledger' } /** - * The `context` of a `run_approval` ask. It names the workflow and, for cards opened by content-binding builds, the exact canonical graph the user approved. Older in-flight cards may omit graph_binding; consumers must preserve that explicit legacy compatibility case. + * Mixed units, deliberately. `spend_micros` here (and `cost_micros` on UsageBucket / UsageBreakdownRow) is genuinely MICROS -- 1/1,000,000 of the currency unit -- because it comes from Metronome's usage figures. The `balance` breakdown below is CENTS, and its `*_micros` names are a misnomer; use its `*_cents` fields. */ -export type AgentRunApprovalContext = { +export type UsageSummary = { + balance?: UsageBalance /** - * The document sequence projected into the approved graph, when document-backed. + * Total gross spend over the range, in microamount (1/1,000,000 of the currency unit). Genuinely micros, unlike the balance breakdown. */ - doc_seq?: number + spend_micros: number +} + +export type UsageTimeSeries = { /** - * sha256 means graph_sha256 is enforced; identity_only means no durable graph existed to bind; unavailable means binding failed and execution must be denied. + * When the numbers were read. An open billing period is still moving. */ - graph_binding?: 'sha256' | 'identity_only' | 'unavailable' + as_of?: string /** - * SHA-256 of the canonical graph content the card authorizes. + * When per-charge recording began for this environment. The `person` and `source` groupings, and every `filter_*`, hold spend from this instant on: a range starting earlier shows only the recorded part under them, while `product_line` and `model` from the invoice show all of it. Absent where no charges are recorded yet. */ - graph_sha256?: string + attribution_since?: string + breakdown: Array + buckets: Array + ending_before: string + granularity: 'hour' | 'day' | 'month' + group_by: + | 'model' + | 'endpoint' + | 'product' + | 'product_line' + | 'person' + | 'source' /** - * The workflow the run will execute. + * One entry per value in `groups` for `product_line`, `person` and `source`; absent for the other groupings. */ - workflow_id: string + group_labels?: Array + groups: Array + not_available?: UsageNotAvailable /** - * The workflow's display name, when the turn knows it. + * `ledger` when `groups` are the usage ledger's keys, which the `filter_*` parameters accept. `invoice` when a range the ledger does not hold was read from Metronome's invoices narrowed by `filter_product_line` (alone, on `product_line` or `model`): its groups are the invoices' models and accept no further filter. Absent for any other invoice-served answer. */ - workflow_name?: string + served_from?: 'ledger' | 'invoice' + starting_on: string + summary: UsageSummary } /** - * Attachment extensions that are accepted so a user can keep them beside a workflow, and - * nothing more — the agent can neither read the contents nor wire the file in. - * - * .avif is the only one: it is an image the turn cannot decode (no registry entry, so - * view_asset would fail) and it is not text, so read_asset would return mojibake. It stays - * accepted because it was attachable before the policy existed. - * - */ -export type AgentRetainedAttachmentExtension = '.avif' - -/** - * Attachment extensions the agent cannot open but wires into a load node by filename. The 3D - * models go into Load3D's model_file widget and are exactly the set Load3D accepts - * (comfy_extras/nodes_load_3d.py); .usdz is absent from both lists, so it is not an exclusion - * this tier makes. .exr goes into LoadImage's image widget: ComfyUI core v0.40.0 registers it - * as an image type, but it is HDR, so view_asset cannot decode it and it is not on the view - * tier. - * - */ -export type AgentReferenceAttachmentExtension = - | '.glb' - | '.obj' - | '.fbx' - | '.gltf' - | '.stl' - | '.ply' - | '.spz' - | '.splat' - | '.ksplat' - | '.exr' - -/** - * Attachment extensions whose contents the agent reads verbatim, with read_asset. The bytes - * are decoded as UTF-8 and returned as text, bounded and truncation-marked. - * - * This tier describes CONTENT ACCESS only and says nothing about whether the file can be - * wired into a graph. Those are separate questions, so a format becoming a node input later - * does not move it out of this tier. - * - * .svg is here rather than with the images because it is XML: view_asset cannot decode it, - * but its markup is exactly what a caller would want read. - * + * User data listing entry with file metadata (path, size, modification time). */ -export type AgentReadableAttachmentExtension = - | '.md' - | '.markdown' - | '.txt' - | '.json' - | '.csv' - | '.yaml' - | '.yml' - | '.xml' - | '.log' - | '.svg' +export type UserDataResponseFull = { + /** + * UNIX timestamp of the last modification in milliseconds. + */ + modified?: number + path?: string + size?: number +} /** - * Attachment extensions the agent can only describe from metadata. A subset of the containers - * ingest sorts into a load node's video/audio lists: that categoriser also accepts .wmv, .flv, - * .aac and .wma, which the agreed attachment list rejects. - * + * User information response */ -export type AgentProbeableAttachmentExtension = - | '.mp4' - | '.webm' - | '.mov' - | '.m4v' - | '.avi' - | '.mkv' - | '.mp3' - | '.wav' - | '.ogg' - | '.opus' - | '.flac' - | '.m4a' +export type UserResponse = { + /** + * Firebase UID of the authenticated user + */ + id: string + /** + * User status (always "active" for authenticated users) + */ + status: string +} /** - * A user turn posted to the agent. + * Details of a single validation error encountered during asset operations. */ -export type AgentPostMessageRequest = { +export type ValidationError = { /** - * The ask cards this client can render. `run_approval` is the run consent card, `ask_user` the generic question card, and `delete_approval` the delete consent card. A turn only parks on a card its client listed here. Omitted means an older client and is read as `["run_approval"]`; an empty array means the client renders none. Per kind: without `run_approval`, a run that the user's run mode requires approval for is not parked and not executed; the `run` tool fails with `run_approval_unavailable` and the agent tells the user to approve it from a client that can, or run it themselves. Without `ask_user`, the agent asks its question in the reply instead of a card. `delete_approval` raises no card yet. Unknown values are ignored, duplicates collapse, and only the first 8 entries are read. `paused` is not negotiated: the pause card is raised for every client, so listing it changes nothing. + * Machine-readable error code */ - ask_kinds?: Array + code: string /** - * Optional input filenames the client already uploaded to the ComfyUI input namespace (via - * /api/upload/image, which returns the {name, subfolder, type} reference). The agent never - * receives file bytes here; what it can read or wire depends on the policy tier. - * - * Each entry's extension must appear in AgentAttachmentPolicy; a reference outside it is - * rejected with 422 (AgentAttachmentRejected). A reference with NO extension is the one - * exception: not every reference is a filename — an asset hash may be a bare hex digest or - * "blake3:" — so one with nothing to judge is admitted here and checked again once it - * resolves to a stored name. A refusal there costs the attachment its asset id and its - * kind, so the agent gets no tool for it and the turn is not refused; the reference itself - * is still echoed back by GET .../messages. Which tier of that policy an extension lands - * in says what the agent can do with it, and the tiers differ sharply — a client that - * presents them as one flat list misleads the user. - * - * The constraint is expressed as extension enums rather than on this array because the array - * carries FILENAMES, not content types: an extension is what both ends can actually agree - * on, and the upload route this list references stores no MIME type for what it accepts. - * + * Field that failed validation */ - attachments?: Array + field: string /** - * The client's live ComfyUI WebSocket clientId (the `sid` the server hands back on the socket's first status message). Local runs the agent submits on the caller's behalf are submitted under this id, so ComfyUI addresses their execution events — node highlights, progress and outputs — to this client instead of to the short-lived CLI socket that submitted them. Additive and advisory; omitting it restores the previous behaviour, where an agent-started run leaves the canvas with no execution feedback. Ignored on the cloud target, which fans execution events out per user/workspace regardless of submitter. A value that could not be a ComfyUI socket id is DROPPED, not rejected — no turn fails over it — so an id longer than 128 bytes, or one containing whitespace or non-printable characters, or one starting with `-`, is accepted with 202 and behaves exactly like omitting the field. Surrounding whitespace is trimmed. + * Human-readable error message */ - client_id?: string + message: string +} + +/** + * Result of validating a set of asset operations. + */ +export type ValidationResult = { /** - * Client-generated identifier for this send attempt. The frontend emits the same value on app:agent_message_sent; the agent echoes it on agent_turn_started so accepted turns can be joined to their originating sends without using timestamp proximity. Retries mint a new value. Older clients may omit it. + * Blocking validation errors that prevent download */ - client_message_id?: string + errors?: Array /** - * The frontend build that sent this turn (ComfyUI_frontend __COMFYUI_FRONTEND_VERSION__, optionally +commit). Observability only; never changes the turn. Recorded on the turn's trace as `comfy.client.version`. A value longer than 64 bytes, or one containing anything other than ASCII letters, digits, `.`, `+` and `-`, is DROPPED, not rejected — accepted with 202 exactly like omitting the field. Surrounding whitespace is trimmed. + * Overall validation status (true if all checks passed) */ - client_version?: string + is_valid: boolean /** - * The user's message. + * Non-blocking validation warnings (informational only) */ - content: string + warnings?: Array +} + +/** + * The live web session and the user it belongs to + */ +export type WebSessionResponse = { /** - * Cloud workflow id of the client's active editor tab; no ordering requirement. Modern clients use workflow_id for the editable target and omit this field. When present and authorized it selects the workflow the turn starts focused on — explicit workflow_id > current_tab > the thread's remembered workflow. + * The session ends at this time regardless of use */ - current_tab?: string + absolute_expires_at: string /** - * The client's active editor tab has no workflow yet (a fresh, unsaved tab), so it sends neither workflow_id nor current_tab. Without this signal the turn falls back to the thread's remembered workflow and the fresh tab is presented to the model as having no workflow selected. With it, the turn mints a workflow for the tab instead and that workflow is treated as selected. An explicit workflow_id or a resolvable current_tab still wins. + * Send as `X-CSRF-Token` on requests that change data with this session */ - current_tab_unbound?: boolean + csrf_token: string /** - * The client's live canvas, sent so the agent operates on what the user currently sees instead of an empty or stale draft. The canvas is authoritative for this send and carries no version token — the draft version returned by GET /api/agent/draft is a projection-cache snapshot counter, not a concurrency token, so there is no version to reconcile and no 409 on this field. Additive — older clients omit the whole object and the agent falls back to the stored draft. + * Idle expiry. Real use slides it; reading the session does not. */ - draft?: { - /** - * Full save-format graph (the frontend's app.graph.serialize() output). - */ - content?: { - [key: string]: unknown - } - } + expires_at: string /** - * Snapshot of the client's open editor tabs in editor order. Advisory context, not a grant — entries outside the caller's workspace are ignored. With workflow_references present, only the editable target and explicit references enter the model's workflow context. + * Whether personal billing and personal workspace UI apply to the + * account. True for a live personal workspace, and for a legacy + * account whose personal workspace is created lazily + * (personal_workspace_id still NULL), linked to SSO or not. False + * for an account SSO sign-in or the directory created, which has + * none, for a personal workspace that was deleted, and for an + * account scheduled for deletion. Read from the account's record + * (whether SSO created it is recorded when it is made), not inferred + * from the sign-in provider. + * */ - open_tabs?: Array<{ - /** - * Display name of the tab, shown to the agent so the user can reference tabs by name. - */ - name?: string - /** - * Cloud workflow id of the open tab. - */ - workflow_id: string - }> + has_personal_workspace: boolean + user: WebSessionUser +} + +/** + * The user a web session belongs to + */ +export type WebSessionUser = { + email: string /** - * Optional canvas selection context ("change these nodes"). + * The identity provider's verified-email claim when the session was created */ - selection?: { - [key: string]: unknown - } + email_verified: boolean /** - * When present, the agent edits this workflow's draft. Ownership-checked (403 if not the caller's workflow). + * Comfy user id */ - workflow_id?: string + id: string + name?: string /** - * Explicit read-only workflow references for this turn, independent of open_tabs. Omitted preserves legacy open-tab context; an empty array means no additional workflow context. The editable target is selected by workflow_id and excluded from references. Entries are workspace-authorized, deduplicated, capped at 50, and names truncated to 120 characters. References need not be open in the editor. Unknown or inaccessible references, including authorization lookup failures, are retained as unavailable metadata so the agent can acknowledge missing context; no workflow content or access is granted. + * Sign-in method, for example `google.com` or `password` */ - workflow_references?: Array<{ - name?: string - workflow_id: string - }> + sign_in_provider?: string } /** - * Which card renders an ask. `ask_user` is the generic prompt raised by the ask_user tool. `run_approval` is the run consent card raised when the caller's ask_approval run mode gates a run: exactly the Run and Cancel options, never free text. `paused` is the admission pause card: one Resume option, never free text. `delete_approval` is the delete consent card for nodes the user made: exactly the Delete and Keep options, never free text. The same value is the agent_ask event's `kind`, the message list's `pending_ask.kind`, and an entry of `ask_kinds` on the message POST. + * Request body for querying assets associated with a workflow. */ -export type AgentAskKind = - | 'ask_user' - | 'run_approval' - | 'paused' - | 'delete_approval' +export type WorkflowApiAssetsRequest = { + workflow_api_json: { + [key: string]: unknown + } +} /** - * A pending `run_approval` consent card. + * Response containing assets associated with a workflow. */ -export type AgentPendingRunApproval = AgentPendingAskBase & { - context: AgentRunApprovalContext - kind: 'run_approval' -} - -export type AgentAskOption = { - description?: string - id: string - label: string +export type WorkflowApiAssetsResponse = { + assets: Array } /** - * The fields every pending ask carries, whatever its kind. + * Reference to the parent workflow from which this workflow was forked. */ -export type AgentPendingAskBase = { - /** - * When true the UI offers a free-text answer, returned as other_text. - */ - allow_other: boolean - ask_id: string - kind: AgentAskKind - max_selections: number - message_id: string - min_selections: number - /** - * Selectable options. - */ - options: Array - prompt: string +export type WorkflowForkedFrom = { + workflow_id?: string + workflow_version_id?: string } /** - * A pending `paused` admission card. + * Paginated list of saved workflows. */ -export type AgentPendingPaused = AgentPendingAskBase & { - context: AgentPausedContext - kind: 'paused' +export type WorkflowListResponse = { + data: Array + pagination: PaginationInfo } /** - * The `context` of a `paused` ask. + * Publishing metadata for a workflow shared to the Hub. */ -export type AgentPausedContext = { - /** - * The card copy (same as the ask's prompt). - */ - message: string - /** - * The binding policy reason, e.g. workspace_paused or no_funds. - */ - reason: string +export type WorkflowPublishInfo = { /** - * When the turn rechecks admission on its own if nobody presses Resume, so Resume is a shortcut, not the only way out. + * Published assets (inputs and models). */ - recheck_after_seconds: number + assets: Array + listed: boolean + publish_time?: string | null + share_id: string + workflow_id: string } /** - * A pending `delete_approval` consent card. + * Full workflow entity including metadata and version history. */ -export type AgentPendingDeleteApproval = AgentPendingAskBase & { - context: AgentDeleteApprovalContext - kind: 'delete_approval' +export type WorkflowResponse = { + created_at: string + created_by: string + default_view?: 'workflow' | 'app' + description?: string + forked_from?: WorkflowForkedFrom + id: string + latest_version: number + name?: string + updated_at: string } /** - * One node a `delete_approval` ask names, read from the turn's workflow. + * Workflow metadata captured at mint time. The subsequent PUT body is the + * raw workflow JSON document and nothing else, so everything that would + * normally accompany workflow_json in POST /api/workflows is declared + * here instead. + * */ -export type AgentAskNodeRef = { +export type WorkflowUploadUrlRequest = { /** - * The node id in the workflow. + * Default view mode */ - id: string + default_view?: 'workflow' | 'app' /** - * The node's title, when it has one. + * Description of the workflow */ - title?: string + description?: string /** - * The node's class type, when the workflow names it. + * ID of the source workflow if forked */ - type?: string -} - -/** - * The `context` of a `delete_approval` ask: the user-made nodes the agent's delete would remove. The server always lists at least one node, and lists at most 50; any more are counted in `hidden_node_count`, so the card can say how many it did not list. - */ -export type AgentDeleteApprovalContext = { - action: 'delete_nodes' + forked_from_workflow_id?: string /** - * Nodes the delete would remove past the 50 listed. Omitted when every node is listed. + * ID of the source workflow version if forked */ - hidden_node_count?: number - nodes: Array + forked_from_workflow_version_id?: string + /** + * Display name for the workflow + */ + name?: string } /** - * A pending `ask_user` prompt. It carries no context. + * Full workflow version including the serialized workflow JSON. */ -export type AgentPendingAskUser = AgentPendingAskBase & { - kind: 'ask_user' +export type WorkflowVersionContentResponse = { + created_at: string + created_by: string + dependency_asset_ids?: Array + id: string + version: number + workflow_json: { + [key: string]: unknown + } } /** - * An unanswered ask attached to its assistant message, so a reload rehydrates the prompt from the ROW rather than from the agent_ask WebSocket event the client missed. Present only while the ask is pending; answer it via POST /agent/threads/{id}/asks/{ask_id}/answer. Discriminated on `kind`: narrowing on it gives the kind's `context` schema. The agent_ask WebSocket event's `data` is this same shape plus `thread_id`. + * Metadata for a single workflow version. */ -export type AgentPendingAsk = - | ({ - kind: 'ask_user' - } & AgentPendingAskUser) - | ({ - kind: 'run_approval' - } & AgentPendingRunApproval) - | ({ - kind: 'paused' - } & AgentPendingPaused) - | ({ - kind: 'delete_approval' - } & AgentPendingDeleteApproval) +export type WorkflowVersionResponse = { + created_at: string + created_by: string + id: string + latest_version: number + version: number +} /** - * Server-to-client agent_message_done frame on /ws. Closed, like the canonical envelope. + * Full workspace entity with configuration and ownership details. */ -export type AgentMessageDoneFrame = { - data: AgentMessageDoneData - type: 'agent_message_done' +export type Workspace = { + created_at: string + id: string + name: string + type: 'personal' | 'team' } /** - * The `data` of an agent_message_done WebSocket event: the assistant message is complete. Mirrors `$defs.agent_message_done.data` in services/agent/api/agent_events.schema.json. + * Metadata for a workspace-scoped API key (secret is never returned). */ -export type AgentMessageDoneData = { - message_id: string - refusal?: AgentTurnRefusal - thread_id: string +export type WorkspaceApiKeyInfo = { /** - * Null on a turn that failed or was refused; its rounds were billed as they ran, and the failed round has no usage. + * When the key was created */ - usage: AgentTurnUsage | null -} - -/** - * A persisted message in an agent thread. - */ -export type AgentMessage = { + created_at: string /** - * Message payload. User turns carry {text, attachments?, attachment_refs?, workflow_references?}. Attachments are the input-image filenames from the request. attachment_refs is the server's own resolution of those same filenames to library assets, as {name, id?, kind?, display_name?} objects. display_name carries the validated user-facing filename when name is an opaque storage key; the server may remove a registered emoji selector that does not change the displayed glyph. To bound denormalized data, repeated entries with the same name carry display_name only on the first occurrence; clients should apply it to every entry sharing that name. The sibling exists so a later turn in the thread can reach an earlier turn's file — clients should keep reading attachments. workflow_references is an optional array of explicit non-target references, each with workflow_id and name (an empty string when no name was supplied). An optional unavailable: true records that the reference could not be authorized at turn start, without distinguishing unknown IDs, inaccessible workflows, or lookup failures. These entries preserve the user's reference intent without exposing workflow content; the frontend restores reference chips from this metadata. The field is omitted when there are no references. Assistant turns carry {text} — the final answer text (or error copy on a failed turn). Omitted when empty (e.g. an assistant message still streaming). Per-turn token accounting is NOT included here; it is surfaced on the agent_message_done WebSocket broadcast. tool_calls is an optional array of ToolCallSummary, attached to an assistant message that has persisted terminal (ok/error) tool-call rows — it lets a chat reload render the tool history a turn produced instead of showing nothing until the next live turn. Omitted when the message has no such rows. thinking is an optional array of AgentThinkingEntry on a completed assistant message: the agent_thinking text the live turn showed, one entry per model round in order, so a reload keeps the thinking in the turn's work trace. Omitted when the turn produced none. + * User-provided description of the key's purpose. Limit is byte-based (UTF-8 encoding); 5000 bytes equals 5000 ASCII characters or fewer multi-byte characters. + */ + description: string + /** + * When the key expires (if set) + */ + expires_at?: string + /** + * API key ID */ - content?: { - attachment_refs?: Array<{ - display_name?: string - id?: string - kind?: string - name?: string - [key: string]: unknown - }> - thinking?: Array - tool_calls?: Array - [key: string]: unknown - } id: string - pending_ask?: AgentPendingAsk - role: 'user' | 'assistant' | 'tool' | 'system' /** - * Monotonic ordering within the thread. + * First 8 chars after prefix for display */ - seq: number - status: 'streaming' | 'complete' | 'error' | 'interrupted' - thread_id: string + key_prefix: string /** - * Groups the user message, assistant reply, and its tool calls. + * Last time the key was used */ - turn_id: string + last_used_at?: string /** - * The workflow/draft this turn operated on. Recorded per message so a thread can span or switch workflows over its lifetime; the thread's own workflow_id is only the active-workflow pointer. Empty for a workflow-less turn. + * User-provided label + */ + name: string + /** + * When the key was revoked (if revoked) + */ + revoked_at?: string + /** + * User who created this key */ - workflow_id?: string -} - -/** - * The (workspace, user) the agent service attributes the caller's requests to. - */ -export type AgentIdentity = { user_id: string + /** + * Workspace this key belongs to + */ workspace_id: string } /** - * Error body authored by the comfy-agent service and proxied verbatim through ingest. Errors raised by ingest itself (authentication, an unreachable agent service) use the standard ErrorResponse shape instead. + * Reasons creation is unavailable. Returned beside can_create_workspace false or on a creation refusal; first applicable reason wins. */ -export type AgentError = { +export type WorkspaceCreationDenials = { /** - * Human-readable error message. + * organization_managed: the SSO organization manages this account's workspaces. owned_workspace_limit: the caller owns at least max_owned_workspaces live workspaces. Reasons are evaluated in this order; an absent reason is no explanation, never permission. */ - error: string + can_create_workspace?: 'organization_managed' | 'owned_workspace_limit' } /** - * Authoritative snapshot of a workflow's agent draft — a snapshot for recovery and tooling. + * Creation refused because the account has reached its live owner membership threshold for creation. */ -export type AgentDraftSnapshot = { +export type WorkspaceCreationLimitError = { + code: 'OWNED_WORKSPACE_LIMIT' + denied_reasons: WorkspaceCreationDenials /** - * Full UI/save-format workflow graph (nodes, links, groups, widgets_values). + * Owner membership threshold for new workspace creation, including the personal workspace. Other owner assignments can raise the actual count above it. */ - content: { - [key: string]: unknown - } + max_owned_workspaces: number + message: string +} + +/** + * Present only for can_delete_workspace denied with plan_ending when all live subscription rows carry a known future cancel_at. This is guidance, not a promise that deletion will succeed at that time; writes recheck. + */ +export type WorkspaceDeletionDenialParams = { /** - * Monotonic draft version of the snapshot, for recovery and tooling; not a concurrency token. + * Latest authoritative cancel_at across live subscription rows. Absent means no known boundary; never synthesize a date. */ - version: number + effective_at?: string } /** - * A stop whose cancellation request did not land, or could not be confirmed as landed, on the durable engine. The turn is unaffected and still streaming, so the same request may be retried; cancellation is idempotent per turn. Distinct from the 500, which means the failure was one the service could not classify and a retry may never work. + * One live deployment of the workspace, as the editor's switcher shows it. */ -export type AgentCancelUnconfirmed = { +export type WorkspaceDeployment = { /** - * `cancel_not_requested` — the engine positively reports no cancellation recorded against a run it can still see, so the stop provably did not land. `cancel_outcome_unknown` — neither answer could be established; the stop may or may not have landed. + * The Build the Release was cut from. Absent when comfy-builder did not name the Release (see builds_visible). */ - code: 'cancel_not_requested' | 'cancel_outcome_unknown' + build_id?: string /** - * Human-readable error message. + * The Build's name. Absent when comfy-builder did not name the Release (see builds_visible). */ - error: string + build_name?: string /** - * Always true on this response; retrying the same stop is safe. + * Whether starting the deployment (POST /api/workspaces/{id}/deployments/{deployment_id}/start) brings it back: true while it is stopped or failed, the statuses comfy-deploy's start re-runs; for any other status the start answers it unchanged. Answers "may the switcher offer Start on this row", for any member. It does not say the start will be taken: credit, the concurrency cap and the deployment's own config are the start route's refusals. */ - retryable: boolean -} - -/** - * Acknowledgement that a turn cancellation was requested. Cancellation is asynchronous; the terminal message state (status=error with stop copy) arrives over the WebSocket. - */ -export type AgentCancelAccepted = { - status: 'cancelling' -} - -/** - * 422 body when a posted attachment's extension is outside the accepted list. It carries the - * policy rather than only an error string so a client never has to hardcode the list to - * explain the refusal — the same reason the list is expressed as enums the frontend generates - * its types from. - * - */ -export type AgentAttachmentRejected = { - accepted: AgentAttachmentPolicy - error: string + can_start: boolean /** - * The offending references, in the order they were posted. Capped, so it can be shorter than rejected_count — a client that reports "N were refused" must read that field rather than this array's length. + * When the deployment was created. */ - rejected: Array + created_at: string /** - * How many references were refused in total, before the list above was capped. + * Developer-platform deployment id; what PUT /api/workspaces/{id}/deployment takes. */ - rejected_count: number - type: 'ATTACHMENT_TYPE_NOT_ACCEPTED' -} - -/** - * Every extension the agent accepts as an attachment, grouped by what it can actually DO with - * one. The grouping is the point: the tiers differ sharply, and a client that renders them as - * one flat "supported files" list tells the user something false (PM-1855). - * - * - `view`: the model sees the content. view_asset decodes the still (converting HEIC/HEIF to - * JPEG first) and re-encodes it as PNG/JPEG into the turn, so the model reasons about actual - * pixels. - * - `probe`: metadata only. probe_media reports duration, resolution, frame rate and codecs; - * nothing in the model's input can carry a clip, so the CONTENT stays unreadable. Seeing a - * video means cutting a frame out with process_media and viewing that. - * - `reference`: the agent knows what the file is, with its kind and id, and wires its - * filename into the load node that takes it: a 3D model into a Load3D node's model_file - * widget, an .exr into a LoadImage node's image widget. No tool opens the file itself: the - * cloud turn registers neither a shell nor a file-read tool, by design, as it is a shared - * multi-tenant pod, and view_asset cannot decode an EXR. - * - `read`: the agent reads the contents verbatim with read_asset — UTF-8 decoded, bounded - * and truncation-marked. The tier describes CONTENT ACCESS only; whether the file can also - * be wired into a graph is a separate axis, so a format gaining an upload-backed node input - * later stays in this tier. - * - `retain`: the file is attached and nothing more — neither readable nor wirable. Only - * .avif, which the turn cannot decode as an image and is not text. - * - * The union of the five arrays is the accepted list. Anything absent is rejected. - * - */ -export type AgentAttachmentPolicy = { - probe: Array - read: Array - reference: Array - retain: Array - view: Array -} - -export type AgentAttachmentError = - | ({ - type: 'ATTACHMENT_TYPE_NOT_ACCEPTED' - } & AgentAttachmentRejected) - | ({ - type: 'ATTACHMENT_BOUNDS_EXCEEDED' - } & AgentAttachmentBoundsExceeded) - -export type AgentAttachmentBoundsExceeded = { - error: string - limits: { - max_item_length: number - max_items: number - } + deployment_id: string /** - * A bounded example of the first overlong reference; empty for count-only violations. + * The deployment's name in comfy-deploy: the one its owner gave it, or the default comfy-deploy gives it at create. It is unique among its Build's live deployments, and it stays the same when the deployment moves to another Release. Absent only on a deployment created before deployments had names, until it is given one. */ - overlong_ref: string - received_count: number - type: 'ATTACHMENT_BOUNDS_EXCEEDED' -} - -/** - * How an ask left pending, as stored on the ask row. `answered` means an answer was committed and delivered to the turn; `cancelled` means the turn ended, was stopped, or could not take the answer; `expired` means the ask timed out. There is no "unknown" status: when an answer request fails with a 5xx the client does not know the outcome and should wait for agent_ask_resolved or refetch the thread. - */ -export type AgentAskStatus = 'answered' | 'cancelled' | 'expired' - -/** - * The ask frames the server sends on /ws, discriminated on `type`. - */ -export type AgentAskServerFrame = AgentAskFrame | AgentAskResolvedFrame - -/** - * The `data` of an agent_ask_resolved WebSocket event: the outcome the server committed to the ask row. Every open tab gets the same frame, including tabs that did not send the answer, so a client reads the answer that won from here and never infers it from what it sent. - */ -export type AgentAskResolvedData = { - ask_id: string - message_id: string + deployment_name?: string /** - * The committed free-text answer. Present only when `status` is `answered` and the answer had free text. + * The Release the deployment runs now. It changes when the deployment's owner updates it; a browser that picked the deployment follows. */ - other_text?: string + release_id: string /** - * The committed option ids when `status` is `answered` (empty when the answer was free text only). Null for every other status: an answer that was never delivered is not reported as taking effect. + * The Release's version number within its Build. Absent when comfy-builder did not name the Release (see builds_visible). */ - selected: Array | null - status: AgentAskStatus - thread_id: string -} - -/** - * Server-to-client agent_ask_resolved frame on /ws. An ask left pending. - */ -export type AgentAskResolvedFrame = { - data: AgentAskResolvedData - type: 'agent_ask_resolved' + release_version?: number + /** + * The deployment's lifecycle status as comfy-deploy reports it; a job is taken only while it is ready. + */ + status: + | 'queued' + | 'provisioning' + | 'starting' + | 'ready' + | 'unhealthy' + | 'stopping' + | 'stop_failed' + | 'stopped' + | 'failed' } /** - * Server-to-client agent_ask frame on /ws. A turn is parked on this ask. + * Which step the CPU server of the deployment this browser's editor runs on is on. */ -export type AgentAskFrame = { +export type WorkspaceDeploymentCpuServer = { /** - * The pending ask, discriminated on `kind`, plus the thread it belongs to. + * none: the deployment gets no CPU server (Comfy Cloud, a deployment that is stopping, stop_failed, stopped or failed, or a Release with no route list or no pack route in it), so stop asking. A route list ingest could not read, or a status it does not know, is the 502, never none. creating: none yet, and setting one up takes seconds (a Modal deployment, or one on its way up). building: none yet, and Modal builds the Release's image first, which can take minutes the first time (RunPod). created: the CPU server exists; it may still be starting ComfyUI, which this does not say. */ - data: AgentPendingAsk & { - thread_id: string - } - type: 'agent_ask' + cpu_server: 'none' | 'creating' | 'building' | 'created' + /** + * The deployment the answer is about. Absent when the editor runs on Comfy Cloud. + */ + deployment_id?: string } /** - * 409 from the answer route: the ask is no longer pending, or its turn is gone so the answer can never be delivered. `status`, `selected` and `other_text` report the outcome stored on the ask row when the server knows it, with the same rules as the agent_ask_resolved event. + * The deployments a browser in this workspace may pick, newest first by created_at (always present). A row without a Build name keeps its place in that order. */ -export type AgentAskConflict = { +export type WorkspaceDeploymentList = { /** - * Human-readable error message. + * False when comfy-builder refused the caller's token when asked to name the rows' Releases, or its Builds listing (401 or 403); no row then carries a Build name or Release version. True does not mean every row is named: a row whose Release comfy-builder does not name carries none either, nor does one it could not name because a read of its Builds or their Releases failed (one Build's Releases refused with 401 or 403 included), or because its Build is past the first 50 Builds its Builds listing shows (on a comfy-builder released before it could name the rows for any member). */ - error: string + builds_visible: boolean /** - * The committed free-text answer, only when `status` is `answered`. + * The workspace's default deployment, set by an owner through PUT /api/workspaces/{id}/default-deployment; absent when none is set, or when the one set is gone (see gone_default_deployment_id). Present whether or not this browser follows it, so the switcher can label the row. */ - other_text?: string + default_deployment_id?: string /** - * The committed option ids when `status` is `answered`; null otherwise. + * The workspace's default deployment, present only when it is no longer one of the workspace's live deployments (deleted, or no longer the workspace's). Members with no pick of their own run on Comfy Cloud, and default_deployment_id is absent. The default stays recorded until an owner sets or clears it, so this is reported on every listing until then. */ - selected?: Array | null - status?: AgentAskStatus -} - -/** - * The user's answer to a pending ask_user prompt. `selected` holds the chosen option ids; a permission gate answers with one id (e.g. the Approve/Deny option). `other_text` carries a free-text answer when the ask set allow_other. - */ -export type AgentAnswerRequest = { + gone_default_deployment_id?: string /** - * Free-text answer; only permitted when the ask set allow_other. Counts as one selection toward the bounds. + * The deployment this browser had picked, present only when it is no longer one of the workspace's live deployments (deleted, or no longer the workspace's). Every catalog read and submit already ran this browser on Comfy Cloud for it. The response leaves the cookie untouched, so an older listing cannot overwrite a newer pick. The stale cookie remains an explicit browser pick (pick_source `browser`), so a workspace default set later does not move this browser. The browser is on Comfy Cloud and picked_deployment_id is absent. Subsequent listings report the same gone id until the cookie changes or expires. */ - other_text?: string + gone_picked_deployment_id?: string + items: Array /** - * Chosen option ids. Must be a subset of the ask's option ids and satisfy its min_selections/max_selections. + * Where the current pick came from: `browser`, this browser's own pick cookie (a deployment, or Comfy Cloud with picked_deployment_id absent); `workspace_default`, the workspace's default deployment because the browser has no pick. Absent when there is neither. */ - selected: Array + pick_source?: 'browser' | 'workspace_default' + /** + * The deployment this browser is on: its own pick, read from its pick cookie, or the workspace's default deployment when the browser has no pick (BE-17480); absent when the browser runs on Comfy Cloud. It is always one of the listed deployments: a pick or a default whose deployment is not among them (deleted, or no longer the workspace's) runs on Comfy Cloud, and is reported in gone_picked_deployment_id or gone_default_deployment_id instead. pick_source says which of the two it is. + */ + picked_deployment_id?: string } /** - * Acknowledgement that the ask is answered and the parked turn was woken; its continuation streams over the WebSocket. `selected` and `other_text` are the answer committed to the ask row. The first answer wins: when an earlier request already committed one (a retry, or another tab), this carries THAT answer, not the request body, so compare it with what you sent before showing it as the user's choice. + * Per-member action guidance for the authenticated actor; render each field as received rather than deriving it from roles. */ -export type AgentAnswerAccepted = { +export type WorkspaceMemberCapabilities = { /** - * The committed free-text answer, when there is one. + * Whether the actor may switch this member to the other supported role. Requires current owner authority and respects directory management, creator protection and the last-owner guard. Non-creator self-demotion is allowed when another owner remains. Not mutation authorization. */ - other_text?: string + can_change_role: boolean /** - * The committed option ids (empty when the answer was free text only). + * Whether the actor may remove this member. Requires current owner authority, refuses self-removal and protects the creator. Directory management alone does not refuse the existing removal route. Not permission to leave the workspace; use can_leave_workspace. */ - selected: Array - status: 'answered' + can_remove: boolean + /** + * Whether a persisted member credit-limit mutation is available. Currently false: no such backend mutation exists. Not a balance, local UI setting, permission to change roles or permission to remove. + */ + can_set_credit_limit: boolean } /** - * Returned when a request to run the agent is declined before the turn starts, because of a billing or account condition on the workspace. The `error` object carries a `message` you can show the user, a `type` that matches the HTTP status, and a more specific `reason` you can branch on to offer the right next step. + * Workspace-switcher display fact, not spend authorization or plan-action eligibility. Uses billing subscription-state precedence: ending, scheduled changes and activating display as active; renewal payment failures confirmed by the provider display as payment_due. Unknown or unavailable facts omit the entire summary; clients must not infer no_plan from omission. */ -export type AgentAdmissionError = { - error: { - /** - * A human-readable explanation of why the request was declined, suitable for display. - */ - message: string - /** - * The specific cause of the denial, for choosing what to show the user. `no_funds`: the workspace is out of credits — prompt them to add credits. `manual_block`: the workspace has been blocked — direct them to support. `funds_unavailable`: billing was temporarily unreachable — retry after the delay given in the `Retry-After` response header. - */ - reason: 'no_funds' | 'manual_block' | 'funds_unavailable' - /** - * The general category of the denial, matching the HTTP status. `PAYMENT_REQUIRED` (402): the workspace cannot currently pay for a turn. `SERVICE_UNAVAILABLE` (503): billing status could not be checked right now and the request can be retried (see the `Retry-After` response header). - */ - type: 'PAYMENT_REQUIRED' | 'SERVICE_UNAVAILABLE' - } +export type WorkspacePlanSummary = { + /** + * User-facing plan name. Null for no_plan or when the exact current/ended plan identity is unavailable; never inferred from cached admission tier. + */ + plan_name: string | null + status: 'active' | 'no_plan' | 'paused' | 'payment_due' | 'ended' } /** - * Response returned after successfully accepting a workspace invitation. + * Abbreviated workspace metadata used in list responses. */ -export type AcceptInviteResponse = { - /** - * ID of the workspace joined - */ - workspace_id: string - /** - * Name of the workspace joined - */ - workspace_name: string +export type WorkspaceSummary = { + id: string + name: string + type: 'personal' | 'team' } /** - * Paginated list of assets belonging to the authenticated user. + * Workspace entity annotated with the requesting user's role. */ -export type ListAssetsResponseWritable = { - /** - * List of assets matching the query - */ - assets: Array - /** - * Whether more assets are available beyond this page - */ - has_more: boolean +export type WorkspaceWithRole = { /** - * Opaque cursor to pass as the `after` query parameter to fetch the - * next page. Omitted from the response when there are no more results. - * + * When the workspace was created */ - next_cursor?: string + created_at: string + id: string /** - * Total number of assets matching the filters + * When the user joined the workspace (same as created_at for the workspace creator) */ - total: number + joined_at: string + name: string + plan_summary?: WorkspacePlanSummary + role: 'owner' | 'member' + subscription_tier?: SubscriptionTier + type: 'personal' | 'team' } /** @@ -8611,6 +8771,30 @@ export type AssetCreatedWritable = AssetWritable & { created_new: boolean } +/** + * Paginated list of assets belonging to the authenticated user. + */ +export type ListAssetsResponseWritable = { + /** + * List of assets matching the query + */ + assets: Array + /** + * Whether more assets are available beyond this page + */ + has_more: boolean + /** + * Opaque cursor to pass as the `after` query parameter to fetch the + * next page. Omitted from the response when there are no more results. + * + */ + next_cursor?: string + /** + * Total number of assets matching the filters + */ + total: number +} + /** * The workspace a media request reads from, where a media tag cannot * send `X-Comfy-Workspace-ID`. It applies only while @@ -8822,9 +9006,9 @@ export type AgentGetDraftErrors = { */ 400: ErrorResponse | AgentError /** - * Unauthorized + * Unauthorized. An ingest refusal, such as the web session's, is ErrorResponse; the agent service's identity-header rejection is AgentError and carries `kind`. */ - 401: ErrorResponse + 401: ErrorResponse | AgentError /** * Forbidden (workflow not found or cross-workspace). An ingest refusal, such as the web session's, is ErrorResponse; the agent service's is AgentError. */ @@ -8882,9 +9066,9 @@ export type GetAgentEventsErrors = { */ 400: ErrorResponse /** - * No credential, or one that failed. `code` is `UNAUTHORIZED`, with a `message` such as `authentication required`, `invalid auth token` or `invalid session cookie`. + * No credential, or one that failed. An ingest refusal is ErrorResponse: `code` is `UNAUTHORIZED`, with a `message` such as `authentication required`, `invalid auth token` or `invalid session cookie`. The agent service's identity-header rejection is AgentError and carries `kind` instead. */ - 401: ErrorResponse + 401: ErrorResponse | AgentError /** * A refused upgrade. A web session refusal has `code` `origin_not_allowed` (no `Origin`, or one that is not trusted), `cross_site_request` or `workspace_access_denied` (see the `WebSessionAuth` scheme). An unverified email (when email verification is enforced) or an account scheduled for deletion is `FORBIDDEN`. With the flag off, the cookie gets AuthTypeNotAllowedError instead. */ @@ -8911,9 +9095,9 @@ export type AgentGetIdentityErrors = { */ 400: ErrorResponse /** - * Unauthorized + * Unauthorized. An ingest refusal, such as the web session's, is ErrorResponse; the agent service's identity-header rejection is AgentError and carries `kind`. */ - 401: ErrorResponse + 401: ErrorResponse | AgentError /** * A refused request. For a web session, `code` is `workspace_access_denied` (the selected workspace is unknown, deleted, or the user is not a member; the three look the same), `no_workspace_access` (the account has no personal workspace and is a member of no live workspace), `origin_not_allowed` or `cross_site_request`; see the `WebSessionAuth` scheme. For any credential, `sso_required` means an SSO organization holds the account (its email is on the organization's verified domains) and the credential is not an SSO sign-in, or the workspace is an SSO organization's and the account is not on its domains or the credential is not an SSO sign-in; `organization_id`, when present, names the organization to sign in with. `account_outside_organization` means the workspace is an SSO organization's and the account is on none of its domains, so no sign-in admits it; `organization_id` names the workspace's organization. `personal_workspace_disabled` means the workspace is the account's personal one and an SSO organization holds the account, so it cannot use it; `organization_id` names that organization. `FORBIDDEN` is the route's own authorization check failing, such as an unverified email. On `GET /api/billing/churnkey/auth`, `NOT_ORIGINAL_OWNER` means the caller is not the workspace's creator; it is returned only when the rollout mode is `creator`. A credential this route does not take gets AuthTypeNotAllowedError instead, and so does the session while `web_session_enabled` is off for the user, unless the operation says it takes the session whatever `web_session_enabled` says. */ @@ -9055,6 +9239,10 @@ export type AgentLlmMessagesErrors = { * The agent in-app experience is disabled for this caller (FlagAgentInAppExperience off). The feature is kept invisible when off, so ingest returns 404 rather than 403. */ 404: ErrorResponse + /** + * Too many requests, with one of two bodies. RateLimitExceededError (`error` is a string): ingest refused the request before it reached the agent, so nothing ran, and no Retry-After is sent. AgentLLMError (`error` is an object): the agent's LLM proxy held the round for capacity past its wait (`error.type` `rate_limit_error`), an operator paused the Agent or the workspace (`error.type` `paused`), or Anthropic throttled the call. + */ + 429: RateLimitExceededError | AgentLlmError /** * Agent service unavailable */ @@ -9153,9 +9341,9 @@ export type AgentGetRunModeErrors = { */ 400: ErrorResponse /** - * Unauthorized + * Unauthorized. An ingest refusal, such as the web session's, is ErrorResponse; the agent service's identity-header rejection is AgentError and carries `kind`. */ - 401: ErrorResponse + 401: ErrorResponse | AgentError /** * A refused request. For a web session, `code` is `workspace_access_denied` (the selected workspace is unknown, deleted, or the user is not a member; the three look the same), `no_workspace_access` (the account has no personal workspace and is a member of no live workspace), `origin_not_allowed` or `cross_site_request`; see the `WebSessionAuth` scheme. For any credential, `sso_required` means an SSO organization holds the account (its email is on the organization's verified domains) and the credential is not an SSO sign-in, or the workspace is an SSO organization's and the account is not on its domains or the credential is not an SSO sign-in; `organization_id`, when present, names the organization to sign in with. `account_outside_organization` means the workspace is an SSO organization's and the account is on none of its domains, so no sign-in admits it; `organization_id` names the workspace's organization. `personal_workspace_disabled` means the workspace is the account's personal one and an SSO organization holds the account, so it cannot use it; `organization_id` names that organization. `FORBIDDEN` is the route's own authorization check failing, such as an unverified email. On `GET /api/billing/churnkey/auth`, `NOT_ORIGINAL_OWNER` means the caller is not the workspace's creator; it is returned only when the rollout mode is `creator`. A credential this route does not take gets AuthTypeNotAllowedError instead, and so does the session while `web_session_enabled` is off for the user, unless the operation says it takes the session whatever `web_session_enabled` says. */ @@ -9204,9 +9392,9 @@ export type AgentPutRunModeErrors = { */ 400: ErrorResponse | AgentError /** - * Unauthorized + * Unauthorized. An ingest refusal, such as the web session's, is ErrorResponse; the agent service's identity-header rejection is AgentError and carries `kind`. */ - 401: ErrorResponse + 401: ErrorResponse | AgentError /** * A refused request that changes data. For a web session, `code` is `csrf_invalid` (no `X-CSRF-Token`, or not the session's), `workspace_access_denied` (the selected workspace is unknown, deleted, or the user is not a member; the three look the same), `no_workspace_access` (the account has no personal workspace and is a member of no live workspace), `origin_not_allowed` or `cross_site_request`; see the `WebSessionAuth` scheme. For any credential, `sso_required` means an SSO organization holds the account (its email is on the organization's verified domains) and the credential is not an SSO sign-in, or the workspace is an SSO organization's and the account is not on its domains or the credential is not an SSO sign-in; `organization_id`, when present, names the organization to sign in with. `account_outside_organization` means the workspace is an SSO organization's and the account is on none of its domains, so no sign-in admits it; `organization_id` names the workspace's organization. `personal_workspace_disabled` means the workspace is the account's personal one and an SSO organization holds the account, so it cannot use it; `organization_id` names that organization. `FORBIDDEN` is the route's own authorization check failing, such as an unverified email, or, on `POST /api/workspaces`, an account an SSO organization holds (its organization manages its workspaces; signing in again does not change it). On the plan-lifecycle writes (`POST /api/billing/subscribe`, `POST /api/billing/subscription/cancel`, `POST /api/billing/subscription/resubscribe`, `POST /api/billing/subscription/revert-scheduled-change`, `POST /api/billing/ops/{id}/cancel` and the `/api/billing/retention*` routes), `NOT_ORIGINAL_OWNER` means the caller is an owner but not the workspace's creator, and only the creator may change the plan; it is returned only when the rollout mode is `creator`. A credential this route does not take gets AuthTypeNotAllowedError instead, and so does the session while `web_session_enabled` is off for the user, unless the operation says it takes the session whatever the flag. */ @@ -9259,9 +9447,9 @@ export type AgentListSkillsErrors = { */ 400: ErrorResponse /** - * Unauthorized + * Unauthorized. An ingest refusal, such as the web session's, is ErrorResponse; the agent service's identity-header rejection is AgentError and carries `kind`. */ - 401: ErrorResponse + 401: ErrorResponse | AgentError /** * A refused request. For a web session, `code` is `workspace_access_denied` (the selected workspace is unknown, deleted, or the user is not a member; the three look the same), `no_workspace_access` (the account has no personal workspace and is a member of no live workspace), `origin_not_allowed` or `cross_site_request`; see the `WebSessionAuth` scheme. For any credential, `sso_required` means an SSO organization holds the account (its email is on the organization's verified domains) and the credential is not an SSO sign-in, or the workspace is an SSO organization's and the account is not on its domains or the credential is not an SSO sign-in; `organization_id`, when present, names the organization to sign in with. `account_outside_organization` means the workspace is an SSO organization's and the account is on none of its domains, so no sign-in admits it; `organization_id` names the workspace's organization. `personal_workspace_disabled` means the workspace is the account's personal one and an SSO organization holds the account, so it cannot use it; `organization_id` names that organization. `FORBIDDEN` is the route's own authorization check failing, such as an unverified email. On `GET /api/billing/churnkey/auth`, `NOT_ORIGINAL_OWNER` means the caller is not the workspace's creator; it is returned only when the rollout mode is `creator`. A credential this route does not take gets AuthTypeNotAllowedError instead, and so does the session while `web_session_enabled` is off for the user, unless the operation says it takes the session whatever `web_session_enabled` says. */ @@ -9310,9 +9498,9 @@ export type AgentPublishSkillErrors = { */ 400: ErrorResponse | AgentError /** - * Unauthorized + * Unauthorized. An ingest refusal, such as the web session's, is ErrorResponse; the agent service's identity-header rejection is AgentError and carries `kind`. */ - 401: ErrorResponse + 401: ErrorResponse | AgentError /** * A refused request that changes data. For a web session, `code` is `csrf_invalid` (no `X-CSRF-Token`, or not the session's), `workspace_access_denied` (the selected workspace is unknown, deleted, or the user is not a member; the three look the same), `no_workspace_access` (the account has no personal workspace and is a member of no live workspace), `origin_not_allowed` or `cross_site_request`; see the `WebSessionAuth` scheme. For any credential, `sso_required` means an SSO organization holds the account (its email is on the organization's verified domains) and the credential is not an SSO sign-in, or the workspace is an SSO organization's and the account is not on its domains or the credential is not an SSO sign-in; `organization_id`, when present, names the organization to sign in with. `account_outside_organization` means the workspace is an SSO organization's and the account is on none of its domains, so no sign-in admits it; `organization_id` names the workspace's organization. `personal_workspace_disabled` means the workspace is the account's personal one and an SSO organization holds the account, so it cannot use it; `organization_id` names that organization. `FORBIDDEN` is the route's own authorization check failing, such as an unverified email, or, on `POST /api/workspaces`, an account an SSO organization holds (its organization manages its workspaces; signing in again does not change it). On the plan-lifecycle writes (`POST /api/billing/subscribe`, `POST /api/billing/subscription/cancel`, `POST /api/billing/subscription/resubscribe`, `POST /api/billing/subscription/revert-scheduled-change`, `POST /api/billing/ops/{id}/cancel` and the `/api/billing/retention*` routes), `NOT_ORIGINAL_OWNER` means the caller is an owner but not the workspace's creator, and only the creator may change the plan; it is returned only when the rollout mode is `creator`. A credential this route does not take gets AuthTypeNotAllowedError instead, and so does the session while `web_session_enabled` is off for the user, unless the operation says it takes the session whatever the flag. */ @@ -9378,9 +9566,9 @@ export type AgentDeleteSkillErrors = { */ 400: ErrorResponse /** - * Unauthorized + * Unauthorized. An ingest refusal, such as the web session's, is ErrorResponse; the agent service's identity-header rejection is AgentError and carries `kind`. */ - 401: ErrorResponse + 401: ErrorResponse | AgentError /** * A refused request that changes data. For a web session, `code` is `csrf_invalid` (no `X-CSRF-Token`, or not the session's), `workspace_access_denied` (the selected workspace is unknown, deleted, or the user is not a member; the three look the same), `no_workspace_access` (the account has no personal workspace and is a member of no live workspace), `origin_not_allowed` or `cross_site_request`; see the `WebSessionAuth` scheme. For any credential, `sso_required` means an SSO organization holds the account (its email is on the organization's verified domains) and the credential is not an SSO sign-in, or the workspace is an SSO organization's and the account is not on its domains or the credential is not an SSO sign-in; `organization_id`, when present, names the organization to sign in with. `account_outside_organization` means the workspace is an SSO organization's and the account is on none of its domains, so no sign-in admits it; `organization_id` names the workspace's organization. `personal_workspace_disabled` means the workspace is the account's personal one and an SSO organization holds the account, so it cannot use it; `organization_id` names that organization. `FORBIDDEN` is the route's own authorization check failing, such as an unverified email, or, on `POST /api/workspaces`, an account an SSO organization holds (its organization manages its workspaces; signing in again does not change it). On the plan-lifecycle writes (`POST /api/billing/subscribe`, `POST /api/billing/subscription/cancel`, `POST /api/billing/subscription/resubscribe`, `POST /api/billing/subscription/revert-scheduled-change`, `POST /api/billing/ops/{id}/cancel` and the `/api/billing/retention*` routes), `NOT_ORIGINAL_OWNER` means the caller is an owner but not the workspace's creator, and only the creator may change the plan; it is returned only when the rollout mode is `creator`. A credential this route does not take gets AuthTypeNotAllowedError instead, and so does the session while `web_session_enabled` is off for the user, unless the operation says it takes the session whatever the flag. */ @@ -9459,9 +9647,9 @@ export type AgentListThreadsErrors = { */ 400: ErrorResponse | AgentError /** - * Unauthorized + * Unauthorized. An ingest refusal, such as the web session's, is ErrorResponse; the agent service's identity-header rejection is AgentError and carries `kind`. */ - 401: ErrorResponse + 401: ErrorResponse | AgentError /** * A refused request. For a web session, `code` is `workspace_access_denied` (the selected workspace is unknown, deleted, or the user is not a member; the three look the same), `no_workspace_access` (the account has no personal workspace and is a member of no live workspace), `origin_not_allowed` or `cross_site_request`; see the `WebSessionAuth` scheme. For any credential, `sso_required` means an SSO organization holds the account (its email is on the organization's verified domains) and the credential is not an SSO sign-in, or the workspace is an SSO organization's and the account is not on its domains or the credential is not an SSO sign-in; `organization_id`, when present, names the organization to sign in with. `account_outside_organization` means the workspace is an SSO organization's and the account is on none of its domains, so no sign-in admits it; `organization_id` names the workspace's organization. `personal_workspace_disabled` means the workspace is the account's personal one and an SSO organization holds the account, so it cannot use it; `organization_id` names that organization. `FORBIDDEN` is the route's own authorization check failing, such as an unverified email. On `GET /api/billing/churnkey/auth`, `NOT_ORIGINAL_OWNER` means the caller is not the workspace's creator; it is returned only when the rollout mode is `creator`. A credential this route does not take gets AuthTypeNotAllowedError instead, and so does the session while `web_session_enabled` is off for the user, unless the operation says it takes the session whatever `web_session_enabled` says. */ @@ -9502,9 +9690,9 @@ export type AgentCreateThreadErrors = { */ 400: ErrorResponse /** - * Unauthorized + * Unauthorized. An ingest refusal, such as the web session's, is ErrorResponse; the agent service's identity-header rejection is AgentError and carries `kind`. */ - 401: ErrorResponse + 401: ErrorResponse | AgentError /** * A refused request that changes data. For a web session, `code` is `csrf_invalid` (no `X-CSRF-Token`, or not the session's), `workspace_access_denied` (the selected workspace is unknown, deleted, or the user is not a member; the three look the same), `no_workspace_access` (the account has no personal workspace and is a member of no live workspace), `origin_not_allowed` or `cross_site_request`; see the `WebSessionAuth` scheme. For any credential, `sso_required` means an SSO organization holds the account (its email is on the organization's verified domains) and the credential is not an SSO sign-in, or the workspace is an SSO organization's and the account is not on its domains or the credential is not an SSO sign-in; `organization_id`, when present, names the organization to sign in with. `account_outside_organization` means the workspace is an SSO organization's and the account is on none of its domains, so no sign-in admits it; `organization_id` names the workspace's organization. `personal_workspace_disabled` means the workspace is the account's personal one and an SSO organization holds the account, so it cannot use it; `organization_id` names that organization. `FORBIDDEN` is the route's own authorization check failing, such as an unverified email, or, on `POST /api/workspaces`, an account an SSO organization holds (its organization manages its workspaces; signing in again does not change it). On the plan-lifecycle writes (`POST /api/billing/subscribe`, `POST /api/billing/subscription/cancel`, `POST /api/billing/subscription/resubscribe`, `POST /api/billing/subscription/revert-scheduled-change`, `POST /api/billing/ops/{id}/cancel` and the `/api/billing/retention*` routes), `NOT_ORIGINAL_OWNER` means the caller is an owner but not the workspace's creator, and only the creator may change the plan; it is returned only when the rollout mode is `creator`. A credential this route does not take gets AuthTypeNotAllowedError instead, and so does the session while `web_session_enabled` is off for the user, unless the operation says it takes the session whatever the flag. */ @@ -9557,9 +9745,9 @@ export type AgentAnswerAskErrors = { */ 400: ErrorResponse /** - * Unauthorized + * Unauthorized. An ingest refusal, such as the web session's, is ErrorResponse; the agent service's identity-header rejection is AgentError and carries `kind`. */ - 401: ErrorResponse + 401: ErrorResponse | AgentError /** * Forbidden (ask not found or not owned by the caller). An ingest refusal, such as the web session's, is ErrorResponse; the agent service's is AgentError. */ @@ -9576,6 +9764,10 @@ export type AgentAnswerAskErrors = { * The selection is invalid for this ask (unknown option or wrong count) */ 422: AgentError + /** + * Rate limit exceeded: the request was refused before it reached the agent, so nothing ran. The body is a fixed message with no code to branch on. + */ + 429: RateLimitExceededError /** * Internal server error (ingest-raised failures use the standard ErrorResponse shape instead) */ @@ -9621,9 +9813,9 @@ export type AgentGetMessagesErrors = { */ 400: ErrorResponse /** - * Unauthorized + * Unauthorized. An ingest refusal, such as the web session's, is ErrorResponse; the agent service's identity-header rejection is AgentError and carries `kind`. */ - 401: ErrorResponse + 401: ErrorResponse | AgentError /** * A refused request. For a web session, `code` is `workspace_access_denied` (the selected workspace is unknown, deleted, or the user is not a member; the three look the same), `no_workspace_access` (the account has no personal workspace and is a member of no live workspace), `origin_not_allowed` or `cross_site_request`; see the `WebSessionAuth` scheme. For any credential, `sso_required` means an SSO organization holds the account (its email is on the organization's verified domains) and the credential is not an SSO sign-in, or the workspace is an SSO organization's and the account is not on its domains or the credential is not an SSO sign-in; `organization_id`, when present, names the organization to sign in with. `account_outside_organization` means the workspace is an SSO organization's and the account is on none of its domains, so no sign-in admits it; `organization_id` names the workspace's organization. `personal_workspace_disabled` means the workspace is the account's personal one and an SSO organization holds the account, so it cannot use it; `organization_id` names that organization. `FORBIDDEN` is the route's own authorization check failing, such as an unverified email. On `GET /api/billing/churnkey/auth`, `NOT_ORIGINAL_OWNER` means the caller is not the workspace's creator; it is returned only when the rollout mode is `creator`. A credential this route does not take gets AuthTypeNotAllowedError instead, and so does the session while `web_session_enabled` is off for the user, unless the operation says it takes the session whatever `web_session_enabled` says. */ @@ -9673,9 +9865,9 @@ export type AgentPostMessageErrors = { */ 400: ErrorResponse | AgentError /** - * Unauthorized + * Unauthorized. An ingest refusal, such as the web session's, is ErrorResponse; the agent service's identity-header rejection is AgentError and carries `kind`. */ - 401: ErrorResponse + 401: ErrorResponse | AgentError /** * The request to run the agent was declined for a payment reason: the workspace is out of credits or has been blocked. Not retryable as-is — resolve the account condition first. */ @@ -9688,6 +9880,10 @@ export type AgentPostMessageErrors = { * One or more attachments name a file type the agent does not accept. The body names the offending references and carries the full accepted policy, so the client can explain the refusal without hardcoding the list. */ 422: AgentAttachmentError + /** + * Rate limit exceeded: the request was refused before it reached the agent, so nothing ran. The body is a fixed message with no code to branch on. + */ + 429: RateLimitExceededError /** * Internal server error (ingest-raised failures use the standard ErrorResponse shape instead) */ @@ -9737,9 +9933,9 @@ export type AgentCancelMessageErrors = { */ 400: ErrorResponse /** - * Unauthorized + * Unauthorized. An ingest refusal, such as the web session's, is ErrorResponse; the agent service's identity-header rejection is AgentError and carries `kind`. */ - 401: ErrorResponse + 401: ErrorResponse | AgentError /** * Forbidden (message not found or not owned by the caller). An ingest refusal, such as the web session's, is ErrorResponse; the agent service's is AgentError. */ @@ -9783,6 +9979,57 @@ export type AgentCancelMessageResponses = { export type AgentCancelMessageResponse = AgentCancelMessageResponses[keyof AgentCancelMessageResponses] +export type AgentGetUsageStatusData = { + body?: never + path?: never + query?: never + url: '/api/agent/usage-status' +} + +export type AgentGetUsageStatusErrors = { + /** + * `code` is `workspace_id_invalid`: the `X-Comfy-Workspace-ID` header or `workspace_id` query value is malformed, or conflicts with another value or with the workspace the credential resolves to. Answered only while `web_session_enabled` is on for the user. See the `WebSessionAuth` scheme. + */ + 400: ErrorResponse + /** + * Missing or invalid identity; no usage status is returned. + */ + 401: ErrorResponse | AgentError + /** + * A refused request. For a web session, `code` is `workspace_access_denied` (the selected workspace is unknown, deleted, or the user is not a member; the three look the same), `no_workspace_access` (the account has no personal workspace and is a member of no live workspace), `origin_not_allowed` or `cross_site_request`; see the `WebSessionAuth` scheme. For any credential, `sso_required` means an SSO organization holds the account (its email is on the organization's verified domains) and the credential is not an SSO sign-in, or the workspace is an SSO organization's and the account is not on its domains or the credential is not an SSO sign-in; `organization_id`, when present, names the organization to sign in with. `account_outside_organization` means the workspace is an SSO organization's and the account is on none of its domains, so no sign-in admits it; `organization_id` names the workspace's organization. `personal_workspace_disabled` means the workspace is the account's personal one and an SSO organization holds the account, so it cannot use it; `organization_id` names that organization. `FORBIDDEN` is the route's own authorization check failing, such as an unverified email. On `GET /api/billing/churnkey/auth`, `NOT_ORIGINAL_OWNER` means the caller is not the workspace's creator; it is returned only when the rollout mode is `creator`. A credential this route does not take gets AuthTypeNotAllowedError instead, and so does the session while `web_session_enabled` is off for the user, unless the operation says it takes the session whatever `web_session_enabled` says. + */ + 403: ForbiddenError + /** + * Agent feature is unavailable for this caller. + */ + 404: unknown + /** + * Usage could not be determined; never interpret this as unused. + */ + 500: ErrorResponse | AgentError + /** + * Agent service unavailable. + */ + 502: ErrorResponse + /** + * Agent proxy is not configured. + */ + 503: ErrorResponse +} + +export type AgentGetUsageStatusError = + AgentGetUsageStatusErrors[keyof AgentGetUsageStatusErrors] + +export type AgentGetUsageStatusResponses = { + /** + * Message usage for the authenticated user and workspace. + */ + 200: AgentUsageStatusResponse +} + +export type AgentGetUsageStatusResponse = + AgentGetUsageStatusResponses[keyof AgentGetUsageStatusResponses] + export type ListAssetsData = { body?: never path?: never @@ -13057,6 +13304,49 @@ export type GetBillingUsageTimeSeriesResponses = { export type GetBillingUsageTimeSeriesResponse = GetBillingUsageTimeSeriesResponses[keyof GetBillingUsageTimeSeriesResponses] +export type CheckCloudCompatibilityData = { + body: CloudCompatibilityRequest + path?: never + query?: never + url: '/api/cloud/compatibility' +} + +export type CheckCloudCompatibilityErrors = { + /** + * No body, no `node_types` or a null `node_types` (an empty list is answered 200), more than 2,000 distinct node types, more than 500 distinct models, or `code` `workspace_id_invalid` (see SessionWorkspaceIDInvalid): the `X-Comfy-Workspace-ID` value is malformed or conflicts with the workspace the credential resolves to. + */ + 400: ErrorResponse + /** + * `code` is `workspace_access_denied`: the selected workspace is unknown, deleted, or the user is not a member; the three look the same. This route also serves anonymous callers, so the session's other refusals fall back to an anonymous request. See the `WebSessionAuth` scheme. + */ + 403: ErrorResponse + /** + * The cloud_compatibility_check_enabled switch is off + */ + 404: ErrorResponse + /** + * Comfy Cloud's model list, or the signed-in caller's uploads and the public model catalog, could not be read + */ + 500: ErrorResponse + /** + * Comfy Cloud's node list is not loaded yet + */ + 503: ErrorResponse +} + +export type CheckCloudCompatibilityError = + CheckCloudCompatibilityErrors[keyof CheckCloudCompatibilityErrors] + +export type CheckCloudCompatibilityResponses = { + /** + * The posted node types and models Comfy Cloud is missing + */ + 200: CloudCompatibility +} + +export type CheckCloudCompatibilityResponse = + CheckCloudCompatibilityResponses[keyof CheckCloudCompatibilityResponses] + export type GetDefaultWorkflowData = { body?: never path?: never @@ -13464,6 +13754,11 @@ export type GetFeaturesResponses = { * Authenticated assignment for the Agent starter-prompt experiment. Current Cloud responses include it and default to control when the caller is unauthenticated, evaluation is unavailable, or no treatment is assigned. It remains optional in the client contract so older environments and partial feature fixtures fail closed. Reading this field does not constitute experiment exposure; the frontend emits the custom exposure event only after rendering the starter prompt surface. */ 'agent-starter-prompt-set'?: 'control' | 'test' + /** + * The signed-in caller's arm in the local agent free-credit experiment (PostHog flag agent-gratis-cents-local-experiment): control or treatment. It answers which arm the caller is in, not whether credit has been granted, and does not depend on the grant being issued. + * Absent, never null or empty, when no arm is resolved: unauthenticated callers, a failed or unavailable flag evaluation, or no variant assigned yet. It has no default; a consumer treats absence as "no arm known" and shows no free-credit surface, without recording the caller as outside the experiment. Served on this HTTP response only, never in the WebSocket feature_flags push, and dynamic configuration cannot set it. + */ + agent_gratis_local_arm?: 'control' | 'treatment' /** * Origin of the billing-web deployment paired with this Cloud environment (e.g. https://billing.comfy.org). Absent when BILLING_WEB_URL is not configured on the server, so a client can tell "not configured" from "configured as empty". */ diff --git a/packages/ingest-types/src/zod.gen.ts b/packages/ingest-types/src/zod.gen.ts index db80b729e24..e15d3a341be 100644 --- a/packages/ingest-types/src/zod.gen.ts +++ b/packages/ingest-types/src/zod.gen.ts @@ -3,658 +3,733 @@ import * as z from 'zod' /** - * Subscription tier (uppercase to match comfy-api) + * Response returned after successfully accepting a workspace invitation. */ -export const zSubscriptionTier = z.enum([ - 'FREE', - 'STANDARD', - 'CREATOR', - 'PRO', - 'FOUNDERS_EDITION', - 'TEAM', - 'ENTERPRISE' -]) +export const zAcceptInviteResponse = z.object({ + workspace_id: z.string(), + workspace_name: z.string() +}) /** - * Workspace-switcher display fact, not spend authorization or plan-action eligibility. Uses billing subscription-state precedence: ending, scheduled changes and activating display as active; renewal payment failures confirmed by the provider display as payment_due. Unknown or unavailable facts omit the entire summary; clients must not infer no_plan from omission. + * Returned when a request to run the agent is declined before the turn starts, because of a billing or account condition on the workspace. The `error` object carries a `message` you can show the user, a `type` that matches the HTTP status, and a more specific `reason` you can branch on to offer the right next step. */ -export const zWorkspacePlanSummary = z.object({ - plan_name: z.string().nullable(), - status: z.enum(['active', 'no_plan', 'paused', 'payment_due', 'ended']) +export const zAgentAdmissionError = z.object({ + error: z.object({ + message: z.string(), + reason: z.enum(['no_funds', 'manual_block', 'funds_unavailable']), + type: z.enum(['PAYMENT_REQUIRED', 'SERVICE_UNAVAILABLE']) + }) }) /** - * Workspace entity annotated with the requesting user's role. + * Acknowledgement that the ask is answered and the parked turn was woken; its continuation streams over the WebSocket. `selected` and `other_text` are the answer committed to the ask row. The first answer wins: when an earlier request already committed one (a retry, or another tab), this carries THAT answer, not the request body, so compare it with what you sent before showing it as the user's choice. */ -export const zWorkspaceWithRole = z.object({ - created_at: z.iso.datetime(), - id: z.string(), - joined_at: z.iso.datetime(), - name: z.string(), - plan_summary: zWorkspacePlanSummary.optional(), - role: z.enum(['owner', 'member']), - subscription_tier: zSubscriptionTier.optional(), - type: z.enum(['personal', 'team']) +export const zAgentAnswerAccepted = z.object({ + other_text: z.string().optional(), + selected: z.array(z.string()), + status: z.enum(['answered']) }) /** - * Abbreviated workspace metadata used in list responses. + * The user's answer to a pending ask_user prompt. `selected` holds the chosen option ids; a permission gate answers with one id (e.g. the Approve/Deny option). `other_text` carries a free-text answer when the ask set allow_other. */ -export const zWorkspaceSummary = z.object({ - id: z.string(), - name: z.string(), - type: z.enum(['personal', 'team']) +export const zAgentAnswerRequest = z.object({ + other_text: z.string().optional(), + selected: z.array(z.string()) }) /** - * Per-member action guidance for the authenticated actor; render each field as received rather than deriving it from roles. + * Which card renders an ask. `ask_user` is the generic prompt raised by the ask_user tool. `run_approval` is the run consent card raised when the caller's ask_approval run mode gates a run: exactly the Run and Cancel options, never free text. `paused` is the admission pause card: one Resume option, never free text. `delete_approval` is the delete consent card for nodes the user made: exactly the Delete and Keep options, never free text. The same value is the agent_ask event's `kind`, the message list's `pending_ask.kind`, and an entry of `ask_kinds` on the message POST. */ -export const zWorkspaceMemberCapabilities = z.object({ - can_change_role: z.boolean(), - can_remove: z.boolean(), - can_set_credit_limit: z.boolean() -}) +export const zAgentAskKind = z.enum([ + 'ask_user', + 'run_approval', + 'paused', + 'delete_approval' +]) /** - * One live deployment of the workspace, as the editor's switcher shows it. + * One node a `delete_approval` ask names, read from the turn's workflow. */ -export const zWorkspaceDeployment = z.object({ - build_id: z.string().optional(), - build_name: z.string().optional(), - can_start: z.boolean(), - created_at: z.iso.datetime(), - deployment_id: z.string(), - deployment_name: z.string().optional(), - release_id: z.string(), - release_version: z.int().optional(), - status: z.enum([ - 'queued', - 'provisioning', - 'starting', - 'ready', - 'unhealthy', - 'stopping', - 'stop_failed', - 'stopped', - 'failed' - ]) +export const zAgentAskNodeRef = z.object({ + id: z.string(), + title: z.string().optional(), + type: z.string().optional() +}) + +export const zAgentAskOption = z.object({ + description: z.string().optional(), + id: z.string(), + label: z.string() }) /** - * The deployments a browser in this workspace may pick, newest first by created_at (always present). A row without a Build name keeps its place in that order. + * How an ask left pending, as stored on the ask row. `answered` means an answer was committed and delivered to the turn; `cancelled` means the turn ended, was stopped, or could not take the answer; `expired` means the ask timed out. There is no "unknown" status: when an answer request fails with a 5xx the client does not know the outcome and should wait for agent_ask_resolved or refetch the thread. */ -export const zWorkspaceDeploymentList = z.object({ - builds_visible: z.boolean(), - default_deployment_id: z.string().optional(), - gone_default_deployment_id: z.string().optional(), - gone_picked_deployment_id: z.string().optional(), - items: z.array(zWorkspaceDeployment), - pick_source: z.enum(['browser', 'workspace_default']).optional(), - picked_deployment_id: z.string().optional() +export const zAgentAskStatus = z.enum(['answered', 'cancelled', 'expired']) + +/** + * 409 from the answer route: the ask is no longer pending, or its turn is gone so the answer can never be delivered. `status`, `selected` and `other_text` report the outcome stored on the ask row when the server knows it, with the same rules as the agent_ask_resolved event. + */ +export const zAgentAskConflict = z.object({ + error: z.string(), + other_text: z.string().optional(), + selected: z.array(z.string()).nullish(), + status: zAgentAskStatus.optional() }) /** - * Which step the CPU server of the deployment this browser's editor runs on is on. + * The `data` of an agent_ask_resolved WebSocket event: the outcome the server committed to the ask row. Every open tab gets the same frame, including tabs that did not send the answer, so a client reads the answer that won from here and never infers it from what it sent. */ -export const zWorkspaceDeploymentCpuServer = z.object({ - cpu_server: z.enum(['none', 'creating', 'building', 'created']), - deployment_id: z.string().optional() +export const zAgentAskResolvedData = z.object({ + ask_id: z.string(), + message_id: z.string(), + other_text: z.string().optional(), + selected: z.array(z.string()).nullable(), + status: zAgentAskStatus, + thread_id: z.string() }) /** - * Present only for can_delete_workspace denied with plan_ending when all live subscription rows carry a known future cancel_at. This is guidance, not a promise that deletion will succeed at that time; writes recheck. + * Server-to-client agent_ask_resolved frame on /ws. An ask left pending. */ -export const zWorkspaceDeletionDenialParams = z.object({ - effective_at: z.iso.datetime().optional() +export const zAgentAskResolvedFrame = z.object({ + data: zAgentAskResolvedData, + type: z.enum(['agent_ask_resolved']) +}) + +export const zAgentAttachmentBoundsExceeded = z.object({ + error: z.string(), + limits: z.object({ + max_item_length: z.int(), + max_items: z.int() + }), + overlong_ref: z.string(), + received_count: z.int(), + type: z.enum(['ATTACHMENT_BOUNDS_EXCEEDED']) }) /** - * Reasons creation is unavailable. Returned beside can_create_workspace false or on a creation refusal; first applicable reason wins. + * Acknowledgement that a turn cancellation was requested. Cancellation is asynchronous; the terminal message state (status=error with stop copy) arrives over the WebSocket. */ -export const zWorkspaceCreationDenials = z.object({ - can_create_workspace: z - .enum(['organization_managed', 'owned_workspace_limit']) - .optional() +export const zAgentCancelAccepted = z.object({ + status: z.enum(['cancelling']) }) /** - * Creation refused because the account has reached its live owner membership threshold for creation. + * A stop whose cancellation request did not land, or could not be confirmed as landed, on the durable engine. The turn is unaffected and still streaming, so the same request may be retried; cancellation is idempotent per turn. Distinct from the 500, which means the failure was one the service could not classify and a retry may never work. */ -export const zWorkspaceCreationLimitError = z.object({ - code: z.enum(['OWNED_WORKSPACE_LIMIT']), - denied_reasons: zWorkspaceCreationDenials, - max_owned_workspaces: z.int(), - message: z.string() +export const zAgentCancelUnconfirmed = z.object({ + code: z.enum(['cancel_not_requested', 'cancel_outcome_unknown']), + error: z.string(), + retryable: z.boolean() }) /** - * Metadata for a workspace-scoped API key (secret is never returned). + * Consent to the in-app Agent panel. `true` is the only value that can be written — consent is revoked by DELETE, not by writing `false`, so the audit trail records a revocation rather than a value flip. */ -export const zWorkspaceApiKeyInfo = z.object({ - created_at: z.iso.datetime(), - description: z.string().max(5000), - expires_at: z.iso.datetime().optional(), - id: z.uuid(), - key_prefix: z.string(), - last_used_at: z.iso.datetime().optional(), - name: z.string(), - revoked_at: z.iso.datetime().optional(), - user_id: z.string(), - workspace_id: z.string() +export const zAgentConsentSettingValue = z.object({ + key: z.enum(['Comfy.AgentPanel.ConsentAccepted']), + value: z.literal(true) }) /** - * Full workspace entity with configuration and ownership details. + * The `context` of a `delete_approval` ask: the user-made nodes the agent's delete would remove. The server always lists at least one node, and lists at most 50; any more are counted in `hidden_node_count`, so the card can say how many it did not list. */ -export const zWorkspace = z.object({ - created_at: z.iso.datetime(), - id: z.string(), - name: z.string(), - type: z.enum(['personal', 'team']) +export const zAgentDeleteApprovalContext = z.object({ + action: z.enum(['delete_nodes']), + hidden_node_count: z.int().gte(1).optional(), + nodes: z.array(zAgentAskNodeRef).min(1).max(50) }) /** - * Metadata for a single workflow version. + * Authoritative snapshot of a workflow's agent draft — a snapshot for recovery and tooling. */ -export const zWorkflowVersionResponse = z.object({ - created_at: z.iso.datetime(), - created_by: z.string(), - id: z.string(), - latest_version: z.int(), +export const zAgentDraftSnapshot = z.object({ + content: z.record(z.string(), z.unknown()), version: z.int() }) /** - * Full workflow version including the serialized workflow JSON. + * Error body authored by the comfy-agent service and proxied verbatim through ingest. Errors raised by ingest itself (authentication, an unreachable agent service) use the standard ErrorResponse shape instead. */ -export const zWorkflowVersionContentResponse = z.object({ - created_at: z.iso.datetime(), - created_by: z.string(), - dependency_asset_ids: z.array(z.string()).optional(), - id: z.string(), - version: z.int(), - workflow_json: z.record(z.string(), z.unknown()) +export const zAgentError = z.object({ + code: z.string().optional(), + error: z.string(), + kind: z.enum(['unauthenticated', 'not_provisioned']).optional() }) /** - * Workflow metadata captured at mint time. The subsequent PUT body is the - * raw workflow JSON document and nothing else, so everything that would - * normally accompany workflow_json in POST /api/workflows is declared - * here instead. - * + * The `data` of an agent_extension_changed WebSocket event. The local agent sends it after turning a custom node pack on or off, or removing it. The change is already on disk; dropping the event loses only the informational card. */ -export const zWorkflowUploadUrlRequest = z.object({ - default_view: z.enum(['workflow', 'app']).optional(), - description: z.string().max(2000).optional(), - forked_from_workflow_id: z.string().max(128).optional(), - forked_from_workflow_version_id: z.string().max(128).optional(), - name: z.string().max(255).optional() +export const zAgentExtensionChangedData = z.object({ + action: z.enum(['enabled', 'disabled', 'removed']), + agent_created: z.boolean(), + message_id: z.string(), + pack: z.string().min(1), + restart_required: z.boolean(), + thread_id: z.string() }) /** - * Reference to the parent workflow from which this workflow was forked. + * Server-to-client agent_extension_changed frame on /ws. */ -export const zWorkflowForkedFrom = z.object({ - workflow_id: z.string().optional(), - workflow_version_id: z.string().optional() +export const zAgentExtensionChangedFrame = z.object({ + data: zAgentExtensionChangedData, + type: z.enum(['agent_extension_changed']) }) /** - * Full workflow entity including metadata and version history. + * The (workspace, user) the agent service attributes the caller's requests to. */ -export const zWorkflowResponse = z.object({ - created_at: z.iso.datetime(), - created_by: z.string(), - default_view: z.enum(['workflow', 'app']).optional(), - description: z.string().optional(), - forked_from: zWorkflowForkedFrom.optional(), - id: z.string(), - latest_version: z.int(), - name: z.string().optional(), - updated_at: z.iso.datetime() +export const zAgentIdentity = z.object({ + user_id: z.string(), + workspace_id: z.string() }) /** - * Lightweight asset reference used in workflow publishing payloads. + * Anthropic-shaped error envelope on POST /api/agent/llm/v1/messages, written by the agent's LLM proxy or passed through from Anthropic. */ -export const zAssetInfo = z.object({ - id: z.string(), - in_library: z.boolean(), - model: z.boolean(), - name: z.string(), - preview_url: z.string(), - public: z.boolean(), - storage_url: z.string() +export const zAgentLlmError = z.object({ + error: z.object({ + message: z.string(), + reason: z.string().optional(), + type: z.string() + }), + type: z.enum(['error']) }) /** - * Publishing metadata for a workflow shared to the Hub. + * The `context` of a `paused` ask. */ -export const zWorkflowPublishInfo = z.object({ - assets: z.array(zAssetInfo), - listed: z.boolean(), - publish_time: z.iso.datetime().nullish(), - share_id: z.string(), - workflow_id: z.string() +export const zAgentPausedContext = z.object({ + message: z.string(), + reason: z.string(), + recheck_after_seconds: z.int() }) /** - * Pagination metadata included in list responses. Supports both legacy - * offset/limit pagination and cursor-based pagination. When cursor-based - * pagination is used, `next_cursor` is the primary pagination token and - * `offset`/`total` may be zero. - * + * The fields every pending ask carries, whatever its kind. */ -export const zPaginationInfo = z.object({ - has_more: z.boolean(), - limit: z.int().gte(1), - next_cursor: z.string().optional(), - offset: z.int().gte(0), - total: z.int().gte(0) +export const zAgentPendingAskBase = z.object({ + allow_other: z.boolean(), + ask_id: z.string(), + kind: zAgentAskKind, + max_selections: z.int(), + message_id: z.string(), + min_selections: z.int(), + options: z.array(zAgentAskOption), + prompt: z.string() }) /** - * Paginated list of saved workflows. + * A pending `ask_user` prompt. It carries no context. */ -export const zWorkflowListResponse = z.object({ - data: z.array(zWorkflowResponse), - pagination: zPaginationInfo -}) +export const zAgentPendingAskUser = zAgentPendingAskBase.and( + z.object({ + kind: z.enum(['ask_user']) + }) +) /** - * Response containing assets associated with a workflow. + * A pending `delete_approval` consent card. */ -export const zWorkflowApiAssetsResponse = z.object({ - assets: z.array(zAssetInfo) -}) +export const zAgentPendingDeleteApproval = zAgentPendingAskBase.and( + z.object({ + context: zAgentDeleteApprovalContext, + kind: z.enum(['delete_approval']) + }) +) /** - * Request body for querying assets associated with a workflow. + * A pending `paused` admission card. */ -export const zWorkflowApiAssetsRequest = z.object({ - workflow_api_json: z.record(z.string(), z.unknown()) -}) +export const zAgentPendingPaused = zAgentPendingAskBase.and( + z.object({ + context: zAgentPausedContext, + kind: z.enum(['paused']) + }) +) /** - * The user a web session belongs to + * A user turn posted to the agent. */ -export const zWebSessionUser = z.object({ - email: z.string(), - email_verified: z.boolean(), - id: z.string(), - name: z.string().optional(), - sign_in_provider: z.string().optional() +export const zAgentPostMessageRequest = z.object({ + ask_kinds: z.array(zAgentAskKind).optional(), + attachments: z.array(z.string().max(256)).max(25).optional(), + client_id: z.string().optional(), + client_message_id: z.string().max(128).optional(), + client_version: z.string().optional(), + content: z.string(), + current_tab: z.string().optional(), + current_tab_unbound: z.boolean().optional(), + draft: z + .object({ + content: z.record(z.string(), z.unknown()).optional() + }) + .optional(), + open_tabs: z + .array( + z.object({ + name: z.string().optional(), + workflow_id: z.string() + }) + ) + .optional(), + selection: z.record(z.string(), z.unknown()).optional(), + workflow_id: z.string().optional(), + workflow_references: z + .array( + z.object({ + name: z.string().optional(), + workflow_id: z.string() + }) + ) + .optional() }) /** - * The live web session and the user it belongs to + * Attachment extensions the agent can only describe from metadata. A subset of the containers + * ingest sorts into a load node's video/audio lists: that categoriser also accepts .wmv, .flv, + * .aac and .wma, which the agreed attachment list rejects. + * */ -export const zWebSessionResponse = z.object({ - absolute_expires_at: z.iso.datetime(), - csrf_token: z.string(), - expires_at: z.iso.datetime(), - has_personal_workspace: z.boolean(), - user: zWebSessionUser -}) +export const zAgentProbeableAttachmentExtension = z.enum([ + '.mp4', + '.webm', + '.mov', + '.m4v', + '.avi', + '.mkv', + '.mp3', + '.wav', + '.ogg', + '.opus', + '.flac', + '.m4a' +]) /** - * Details of a single validation error encountered during asset operations. + * Attachment extensions whose contents the agent reads verbatim, with read_asset. The bytes + * are decoded as UTF-8 and returned as text, bounded and truncation-marked. + * + * This tier describes CONTENT ACCESS only and says nothing about whether the file can be + * wired into a graph. Those are separate questions, so a format becoming a node input later + * does not move it out of this tier. + * + * .svg is here rather than with the images because it is XML: view_asset cannot decode it, + * but its markup is exactly what a caller would want read. + * */ -export const zValidationError = z.object({ - code: z.string(), - field: z.string(), - message: z.string() -}) +export const zAgentReadableAttachmentExtension = z.enum([ + '.md', + '.markdown', + '.txt', + '.json', + '.csv', + '.yaml', + '.yml', + '.xml', + '.log', + '.svg' +]) /** - * Result of validating a set of asset operations. + * Attachment extensions the agent cannot open but wires into a load node by filename. The 3D + * models go into Load3D's model_file widget and are exactly the set Load3D accepts + * (comfy_extras/nodes_load_3d.py); .usdz is absent from both lists, so it is not an exclusion + * this tier makes. .exr goes into LoadImage's image widget: ComfyUI core v0.40.0 registers it + * as an image type, but it is HDR, so view_asset cannot decode it and it is not on the view + * tier. + * */ -export const zValidationResult = z.object({ - errors: z.array(zValidationError).optional(), - is_valid: z.boolean(), - warnings: z.array(zValidationError).optional() -}) +export const zAgentReferenceAttachmentExtension = z.enum([ + '.glb', + '.obj', + '.fbx', + '.gltf', + '.stl', + '.ply', + '.spz', + '.splat', + '.ksplat', + '.exr' +]) /** - * User information response + * Attachment extensions that are accepted so a user can keep them beside a workflow, and + * nothing more — the agent can neither read the contents nor wire the file in. + * + * .avif is the only one: it is an image the turn cannot decode (no registry entry, so + * view_asset would fail) and it is not text, so read_asset would return mojibake. It stays + * accepted because it was attachable before the policy existed. + * */ -export const zUserResponse = z.object({ - id: z.string(), - status: z.string() -}) +export const zAgentRetainedAttachmentExtension = z.enum(['.avif']) /** - * User data listing entry with file metadata (path, size, modification time). + * The `context` of a `run_approval` ask. It names the workflow and, for cards opened by content-binding builds, the exact canonical graph the user approved. Older in-flight cards may omit graph_binding; consumers must preserve that explicit legacy compatibility case. */ -export const zUserDataResponseFull = z.object({ - modified: z.coerce +export const zAgentRunApprovalContext = z.object({ + doc_seq: z.coerce .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) + .gte(BigInt(1)) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - path: z.string().optional(), - size: z.int().optional() -}) - -/** - * Current remaining balance, mirroring /billing/balance. Every amount is CENTS of `currency`; the `*_micros` names are a misnomer kept for wire compatibility. - */ -export const zUsageBalance = z.object({ - amount_cents: z.number().optional(), - amount_micros: z.number().optional(), - cloud_credit_balance_cents: z.number().optional(), - cloud_credit_balance_micros: z.number().optional(), - currency: z.string().optional(), - prepaid_balance_cents: z.number().optional(), - prepaid_balance_micros: z.number().optional() + graph_binding: z.enum(['sha256', 'identity_only', 'unavailable']).optional(), + graph_sha256: z + .string() + .regex(/^[0-9a-f]{64}$/) + .optional(), + workflow_id: z.string(), + workflow_name: z.string().optional() }) /** - * Mixed units, deliberately. `spend_micros` here (and `cost_micros` on UsageBucket / UsageBreakdownRow) is genuinely MICROS -- 1/1,000,000 of the currency unit -- because it comes from Metronome's usage figures. The `balance` breakdown below is CENTS, and its `*_micros` names are a misnomer; use its `*_cents` fields. + * A pending `run_approval` consent card. */ -export const zUsageSummary = z.object({ - balance: zUsageBalance.optional(), - spend_micros: z.number() -}) +export const zAgentPendingRunApproval = zAgentPendingAskBase.and( + z.object({ + context: zAgentRunApprovalContext, + kind: z.enum(['run_approval']) + }) +) /** - * Present, with empty groups, buckets and breakdown, when the requested grouping is not served for this workspace. Render as unavailable, not as zero spend. + * An unanswered ask attached to its assistant message, so a reload rehydrates the prompt from the ROW rather than from the agent_ask WebSocket event the client missed. Present only while the ask is pending; answer it via POST /agent/threads/{id}/asks/{ask_id}/answer. Discriminated on `kind`: narrowing on it gives the kind's `context` schema. The agent_ask WebSocket event's `data` is this same shape plus `thread_id`. */ -export const zUsageNotAvailable = z.object({ - reason: z.enum(['no_attribution_source', 'filter_needs_ledger']) -}) - -export const zUsageGroupLabel = z.object({ - cost_kind: z.enum(['gpu', 'storage']).optional(), - deployment_id: z.string().optional(), - deployment_name: z.string().optional(), - display_name: z.string().optional(), - email: z.string().optional(), - former_member: z.boolean().optional(), - key: z.string(), - key_name: z.string().optional(), - key_prefix: z.string().optional(), - key_revoked: z.boolean().optional(), - kind: z.enum(['api_key', 'session', 'deployment']).optional(), - owner_display_name: z.string().optional(), - owner_email: z.string().optional(), - owner_user_id: z.string().optional(), - provider: z.string().optional(), - provider_display_name: z.string().optional() -}) - -export const zUsageBucket = z.object({ - cost_micros: z.number(), - group_key: z.string(), - period_end: z.iso.datetime(), - period_start: z.iso.datetime() -}) - -export const zUsageBreakdownRow = z.object({ - cost_micros: z.number(), - group_key: z.string(), - run_count: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' +export const zAgentPendingAsk = z.union([ + z + .object({ + kind: z.literal('ask_user') }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + .and(zAgentPendingAskUser), + z + .object({ + kind: z.literal('run_approval') }) - .optional(), - share: z.number() + .and(zAgentPendingRunApproval), + z + .object({ + kind: z.literal('paused') + }) + .and(zAgentPendingPaused), + z + .object({ + kind: z.literal('delete_approval') + }) + .and(zAgentPendingDeleteApproval) +]) + +/** + * Server-to-client agent_ask frame on /ws. A turn is parked on this ask. + */ +export const zAgentAskFrame = z.object({ + data: zAgentPendingAsk.and( + z.object({ + thread_id: z.string() + }) + ), + type: z.enum(['agent_ask']) }) -export const zUsageTimeSeries = z.object({ - as_of: z.iso.datetime().optional(), - attribution_since: z.iso.datetime().optional(), - breakdown: z.array(zUsageBreakdownRow), - buckets: z.array(zUsageBucket), - ending_before: z.iso.datetime(), - granularity: z.enum(['hour', 'day', 'month']), - group_by: z.enum([ - 'model', - 'endpoint', - 'product', - 'product_line', - 'person', - 'source' - ]), - group_labels: z.array(zUsageGroupLabel).optional(), - groups: z.array(z.string()), - not_available: zUsageNotAvailable.optional(), - served_from: z.enum(['ledger', 'invoice']).optional(), - starting_on: z.iso.datetime(), - summary: zUsageSummary +/** + * The ask frames the server sends on /ws, discriminated on `type`. + */ +export const zAgentAskServerFrame = z.union([ + zAgentAskFrame, + zAgentAskResolvedFrame +]) + +/** + * How the agent may spend the caller's credits by running workflows from chat. The saved choice, or the default (ask_approval, no limit) for a caller who never chose. + */ +export const zAgentRunMode = z.object({ + credit_limit: z.int().gte(1).lte(2147483647).nullable(), + mode: z.enum(['ask_approval', 'auto', 'auto_limited']) }) /** - * A minted single-use upload grant. + * The run mode to save. */ -export const zUploadGrantResponse = z.object({ - expires_in: z.int(), - upload_path: z.string() +export const zAgentRunModePutRequest = z.object({ + credit_limit: z.int().gte(1).lte(2147483647).nullish(), + mode: z.enum(['ask_approval', 'auto', 'auto_limited']) }) /** - * Request body for updating an existing workspace's settings. + * One of the caller's user-authored skill packs. */ -export const zUpdateWorkspaceRequest = z.object({ - name: z.string().min(1).max(100).optional() +export const zAgentSkill = z.object({ + body: z.string(), + body_hash: z.string(), + created_at: z.string(), + description: z.string(), + id: z.string(), + name: z.string(), + updated_at: z.string() }) /** - * Request body for updating an existing saved workflow. + * The caller's skill packs, ordered by name. */ -export const zUpdateWorkflowRequest = z.object({ - default_view: z.enum(['workflow', 'app']).optional(), - description: z.string().optional(), - name: z.string().optional() +export const zAgentSkillListResponse = z.object({ + skills: z.array(zAgentSkill) }) /** - * Request body for updating an existing user secret. + * A user-authored skill pack to create or replace. Plain JSON — a pack body is small enough that a signed-URL upload would be pure overhead. */ -export const zUpdateSecretRequest = z.object({ - name: z.string().min(1).max(255).optional(), - secret_value: z.string().min(1).optional() +export const zAgentSkillPublishRequest = z.object({ + always: z.boolean().optional().default(false), + body: z.string(), + description: z.string().max(1024), + name: z + .string() + .max(64) + .regex(/^[A-Za-z0-9._-]*[A-Za-z0-9_-][A-Za-z0-9._-]*$/) }) /** - * Request body for changing a workspace member's role. + * One model round's thinking as persisted on an assistant message's content.thinking (services/agent/internal/loop.persistedThinking): the round's reasoning text, then its narration, scrubbed exactly as the live agent_thinking frames were. Display data only. */ -export const zUpdateMemberRoleRequest = z.object({ - role: z.enum(['owner', 'member']) +export const zAgentThinkingEntry = z.object({ + text: z.string(), + tool_call_id: z.string().optional() }) /** - * Request body for updating an existing Hub profile. + * Optional body for creating an agent thread. */ -export const zUpdateHubProfileRequest = z.object({ - avatar_token: z.string().nullish(), - description: z.string().optional(), - display_name: z.string().optional(), - website_urls: z.array(z.string()).optional() +export const zAgentThreadCreateRequest = z.object({ + workflow_id: z.string().optional() }) /** - * What a credit top-up of the requested amount would grant. + * Result of creating an agent thread. */ -export const zTopupQuoteResponse = z.object({ - amount_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - credits: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - expires_at: z.iso.datetime(), - payment_method_configuration_id: z.string().optional() +export const zAgentThreadCreated = z.object({ + thread_id: z.string() }) /** - * Requested credit purchase from this operation's validated stored interactive top-up intent. Visible only to callers authorized for payment details. Not the amount charged or proof of payment. Omitted for historical, non-interactive, invalid or non-top-up operations. - * + * One agent thread row for the history sidebar. */ -export const zTopUpPurchaseAmount = z.object({ - amount_cents: z.coerce - .bigint() - .gte(BigInt(1)) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - currency: z.enum(['usd']) +export const zAgentThreadSummary = z.object({ + created_at: z.string(), + id: z.string(), + last_message_at: z.string(), + message_count: z.int().gte(0), + preview: z.string(), + status: z.enum(['active', 'archived']), + title: z.string(), + updated_at: z.string(), + workflow_id: z.string() }) /** - * One persisted tool call attached to an assistant message's content.tool_calls (services/agent/internal/persist.ToolCallSummary), so a chat reload can render the tool-call history a turn produced. Display data only — raw arguments/results are never projected here. The optional produced_asset field is a strict exception containing only the server-recorded id/hash from a successful asset-producing media call. Only terminal rows (status ok/error) are ever surfaced; a row a dead turn left in pending/running has no wire-status mapping and is dropped rather than shown as a perpetual-progress chip. - * This object is projected at read time by services/agent/internal/persist.ToolCallsForThread from agent_tool_calls; it is never stored in agent_messages.content, so there is no legacy persisted shape. Because of that projection the contract holds for every row ever served: tool_call_id is always present (it falls back to id for rows written before the column existed), status is always one of the enum values (the audit-table word "ok" is translated by ToolCallWireStatus), and duration_ms is always an integer when present. Clients (the frontend's zPersistedToolCallSummary) must not relax these fields to parse "historical" rows — a row that fails this schema is a server bug (BE-20134). + * The `data` of an agent_tool_call WebSocket event: one tool invocation's lifecycle. Mirrors `$defs.agent_tool_call.data` in services/agent/api/agent_events.schema.json, which also states the presence rules: the document correlation fields appear only on a terminal (success or error) frame, workflow_id and op_ids appear together, doc_seq and doc_lineage_seq appear together and only with both of them, and job_id and job_workflow_id appear together only on a terminal run frame when a job was submitted. This schema leaves those rules out on purpose. A oneOf over closed variants could express them, but it would turn the generated frontend type into a union the consumer cannot extend field by field. The producer enforces them instead: the Publisher omits incomplete correlation, and TestToolCallEmissionsSatisfyBothContracts validates every emitted shape against the canonical schema. Consumers treat correlation as advisory and use it only when workflow_id and op_ids are both present on a terminal frame. TestToolCallFrameMatchesContract holds the two definitions to the same fields and constraints. */ -export const zToolCallSummary = z.object({ +export const zAgentToolCallData = z.object({ + doc_lineage_seq: z.int().gte(1).optional(), + doc_seq: z.int().gte(1).optional(), duration_ms: z.int().optional(), error_code: z.string().optional(), - finished_at: z.iso.datetime().optional(), - id: z.string(), - job_id: z.string().optional(), - produced_asset: z - .object({ - hash: z.string(), - id: z.string() - }) + job_id: z + .string() + .min(1) + .max(128) + .regex(/^[^\x00\n\r\t]+$/) .optional(), - started_at: z.iso.datetime().optional(), - status: z.enum(['success', 'error']), + job_workflow_id: z.string().min(1).optional(), + message_id: z.string(), + op_ids: z + .array( + z + .string() + .min(1) + .max(128) + .regex(/^[^\x00\n\r\t]+$/) + ) + .min(1) + .max(256) + .optional(), + skill: z.string().optional(), + status: z.enum(['running', 'success', 'error']), + thread_id: z.string(), tool_call_id: z.string(), - tool_name: z.string() + tool_name: z.string(), + workflow_id: z.string().min(1).optional() }) -export const zPlanActionDeniedReasonParams = z.object({ - effective_at: z.iso.datetime().optional() +/** + * Server-to-client agent_tool_call frame on /ws. A tool invocation started or reached a terminal state. Closed, like the canonical envelope. + */ +export const zAgentToolCallFrame = z.object({ + data: zAgentToolCallData, + type: z.enum(['agent_tool_call']) }) /** - * Why action is none. Permission refusals precede sales management, parked and running operations, a scheduled successor, transition restrictions, and seats. Scheduled successors include effective_at in denied_reason_params. Unknown or unavailable state fails closed with billing_state_unknown. Absent for an actionable choice. + * Acknowledgement that a turn was accepted. The agent runs asynchronously; output streams over the WebSocket (agent_message_delta, agent_tool_call, agent_message_done); canvas edits arrive as doc_update frames. */ -export const zPlanActionDeniedReason = z.enum([ - 'not_a_member', - 'not_workspace_owner', - 'not_original_owner', - 'sales_managed', - 'billing_operation_parked', - 'billing_operation_in_progress', - 'subscription_change_in_progress', - 'annual_to_monthly_unsupported', - 'same_plan', - 'incompatible_transition', - 'exceeds_max_seats', - 'billing_state_unknown' -]) +export const zAgentTurnAccepted = z.object({ + message_id: z.string(), + thread_id: z.string() +}) /** - * Action for this exact plan and billing interval. Render as received. Subscribe starts or resumes checkout, change changes the plan now, reactivate removes a scheduled cancellation, downgrade schedules a reduction at the billing boundary, and none disables the choice. This is presentation guidance, not authorization; writes recheck policy. + * Present on agent_message_done only when the model service refused the turn. Mirrors `$defs.agent_message_done.data.refusal` in services/agent/api/agent_events.schema.json, which states the full rendering rules. Absence must not be read as the account having credit. */ -export const zPlanAction = z.enum([ - 'subscribe', - 'change', - 'reactivate', - 'downgrade', - 'none' -]) +export const zAgentTurnRefusal = z.object({ + can_add_credit: z.boolean(), + kind: z.enum([ + 'no_funds', + 'manual_block', + 'payment_required', + 'auth', + 'rate_limit' + ]), + reason: z.string().optional() +}) /** - * Pre/post-discount price for a team credit stop, in cents. + * Usage of a completed turn, as carried on agent_message_done. Mirrors `$defs.agent_message_done.data.usage` in services/agent/api/agent_events.schema.json; TestMessageDoneFrameMatchesContract holds the two definitions to the same fields and constraints. charge_micro_usd appears only when the server durably captured priced billing for at least one round. It is the exact charge in millionths of a US dollar; clients convert that denomination to catalog credits for display and must not read its absence as a zero charge. */ -export const zTeamCreditStopPrice = z.object({ - action: zPlanAction, - denied_reason: zPlanActionDeniedReason.optional(), - denied_reason_params: zPlanActionDeniedReasonParams.optional(), - list_price_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - period_charge_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - price_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) +export const zAgentTurnUsage = z.object({ + cache_creation_input_tokens: z.int().gte(0), + cache_read_input_tokens: z.int().gte(0), + charge_micro_usd: z.int().gte(1).optional(), + input_tokens: z.int().gte(0), + output_tokens: z.int().gte(0), + total_tokens: z.int().gte(0) }) /** - * A selectable preset on the team pricing slider. Echoed on subscribe via - * team_credit_stop_id; the backend owns the resolved amounts. credits is a - * RAW monthly credit count (not cents). Save% is derived by the FE as - * (list_price_cents - price_cents) / list_price_cents. - * + * The `data` of an agent_message_done WebSocket event: the assistant message is complete. Mirrors `$defs.agent_message_done.data` in services/agent/api/agent_events.schema.json. */ -export const zTeamCreditStop = z.object({ - credits: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - id: z.string(), - monthly: zTeamCreditStopPrice, - yearly: zTeamCreditStopPrice +export const zAgentMessageDoneData = z.object({ + message_id: z.string(), + refusal: zAgentTurnRefusal.optional(), + thread_id: z.string(), + usage: zAgentTurnUsage.nullable() }) /** - * Credit-stop ladder for the pricing slider (BE-1254). Returned by GET /api/billing/plans for every workspace regardless of the caller's token or workspace type (the personal/team distinction was removed); omitted only when the catalog defines no stops. + * Server-to-client agent_message_done frame on /ws. Closed, like the canonical envelope. */ -export const zTeamCreditStops = z.object({ - default_stop_index: z.int(), - stops: z.array(zTeamCreditStop) +export const zAgentMessageDoneFrame = z.object({ + data: zAgentMessageDoneData, + type: z.enum(['agent_message_done']) +}) + +export const zAgentUsageStatusResponse = z.object({ + has_used_agent: z.boolean() }) /** - * The team credit stop a workspace is currently subscribed to: the - * per-workspace slider choice recorded at subscribe time - * (workspace_subscriptions.team_credit_stop_id). Amounts are owned by the - * catalog, not the subscription row. Returned on GET /api/billing/status - * for per-credit Team plans (BE-1254). + * Attachment extensions whose content the model can see: the raster formats Go's image + * package decodes, plus HEIC/HEIF stills (iPhone photos), which view_asset converts to JPEG + * first. view_asset always re-encodes to PNG or JPEG, so the provider's own four-type image + * allowlist is satisfied by construction rather than by matching this list. * */ -export const zTeamCreditStopSummary = z.object({ - credits_monthly: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - id: z.string(), - stop_usd: z.coerce +export const zAgentViewableAttachmentExtension = z.enum([ + '.png', + '.jpg', + '.jpeg', + '.gif', + '.webp', + '.bmp', + '.tif', + '.tiff', + '.heic', + '.heif' +]) + +/** + * Every extension the agent accepts as an attachment, grouped by what it can actually DO with + * one. The grouping is the point: the tiers differ sharply, and a client that renders them as + * one flat "supported files" list tells the user something false (PM-1855). + * + * - `view`: the model sees the content. view_asset decodes the still (converting HEIC/HEIF to + * JPEG first) and re-encodes it as PNG/JPEG into the turn, so the model reasons about actual + * pixels. + * - `probe`: metadata only. probe_media reports duration, resolution, frame rate and codecs; + * nothing in the model's input can carry a clip, so the CONTENT stays unreadable. Seeing a + * video means cutting a frame out with process_media and viewing that. + * - `reference`: the agent knows what the file is, with its kind and id, and wires its + * filename into the load node that takes it: a 3D model into a Load3D node's model_file + * widget, an .exr into a LoadImage node's image widget. No tool opens the file itself: the + * cloud turn registers neither a shell nor a file-read tool, by design, as it is a shared + * multi-tenant pod, and view_asset cannot decode an EXR. + * - `read`: the agent reads the contents verbatim with read_asset — UTF-8 decoded, bounded + * and truncation-marked. The tier describes CONTENT ACCESS only; whether the file can also + * be wired into a graph is a separate axis, so a format gaining an upload-backed node input + * later stays in this tier. + * - `retain`: the file is attached and nothing more — neither readable nor wirable. Only + * .avif, which the turn cannot decode as an image and is not text. + * + * The union of the five arrays is the accepted list. Anything absent is rejected. + * + */ +export const zAgentAttachmentPolicy = z.object({ + probe: z.array(zAgentProbeableAttachmentExtension), + read: z.array(zAgentReadableAttachmentExtension), + reference: z.array(zAgentReferenceAttachmentExtension), + retain: z.array(zAgentRetainedAttachmentExtension), + view: z.array(zAgentViewableAttachmentExtension) +}) + +/** + * 422 body when a posted attachment's extension is outside the accepted list. It carries the + * policy rather than only an error string so a client never has to hardcode the list to + * explain the refusal — the same reason the list is expressed as enums the frontend generates + * its types from. + * + */ +export const zAgentAttachmentRejected = z.object({ + accepted: zAgentAttachmentPolicy, + error: z.string(), + rejected: z.array(z.string()), + rejected_count: z.int(), + type: z.enum(['ATTACHMENT_TYPE_NOT_ACCEPTED']) +}) + +export const zAgentAttachmentError = z.discriminatedUnion('type', [ + zAgentAttachmentRejected.extend({ + type: z.literal('ATTACHMENT_TYPE_NOT_ACCEPTED') + }), + zAgentAttachmentBoundsExceeded.extend({ + type: z.literal('ATTACHMENT_BOUNDS_EXCEEDED') + }) +]) + +/** + * Represents a user-owned asset (image, video, or other generated output). + */ +export const zAsset = z.object({ + created_at: z.iso.datetime(), + display_name: z.string().nullish(), + file_path: z.string().nullish(), + hash: z + .string() + .regex(/^blake3:[a-f0-9]{64}$/) + .optional(), + id: z.uuid(), + is_immutable: z.boolean().optional(), + job_id: z.uuid().nullish(), + last_access_time: z.iso.datetime().optional(), + loader_path: z.string().nullish(), + metadata: z.record(z.string(), z.unknown()).readonly().optional(), + mime_type: z.string().optional(), + name: z.string(), + preview_id: z.uuid().nullish(), + preview_url: z.url().optional(), + short_url: z.string().nullish(), + size: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -662,112 +737,123 @@ export const zTeamCreditStopSummary = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) + .optional(), + tags: z.array(z.string()).optional(), + updated_at: z.iso.datetime(), + user_metadata: z.record(z.string(), z.unknown()).optional() }) /** - * Task data for list views + * Response returned when a new asset is successfully created. */ -export const zTaskEntry = z.object({ - completed_at: z.iso.datetime().optional(), - create_time: z.iso.datetime(), - id: z.uuid(), - started_at: z.iso.datetime().optional(), +export const zAssetCreated = zAsset.and( + z.object({ + created_new: z.boolean() + }) +) + +/** + * Acknowledgement of an async asset download task; clients poll GET /api/tasks/{task_id} for status. + */ +export const zAssetDownloadResponse = z.object({ + message: z.string().optional(), status: z.enum(['created', 'running', 'completed', 'failed', 'cancelled']), - task_name: z.string() + task_id: z.uuid() }) /** - * Paginated list of background tasks for the authenticated user. + * Lightweight asset reference used in workflow publishing payloads. */ -export const zTasksListResponse = z.object({ - pagination: zPaginationInfo, - tasks: z.array(zTaskEntry) +export const zAssetInfo = z.object({ + id: z.string(), + in_library: z.boolean(), + model: z.boolean(), + name: z.string(), + preview_url: z.string(), + public: z.boolean(), + storage_url: z.string() }) /** - * Full task details including payload and result + * Histogram of tag counts used for refining asset search results. */ -export const zTaskResponse = z.object({ - completed_at: z.iso.datetime().optional(), - create_time: z.iso.datetime(), - error_message: z.string().optional(), - id: z.uuid(), - idempotency_key: z.string(), - payload: z.record(z.string(), z.unknown()), - result: z.record(z.string(), z.unknown()).optional(), - started_at: z.iso.datetime().optional(), - status: z.enum(['created', 'running', 'completed', 'failed', 'cancelled']), - task_name: z.string(), - update_time: z.iso.datetime() +export const zAssetTagHistogramResponse = z.object({ + tag_counts: z.record(z.string(), z.int()) }) /** - * Response after adding, updating, or removing tags on an asset. + * Response returned when an existing asset is successfully updated. */ -export const zTagsModificationResponse = z.object({ - added: z.array(z.string()).optional(), - already_present: z.array(z.string()).optional(), - not_present: z.array(z.string()).optional(), - removed: z.array(z.string()).optional(), - total_tags: z.array(z.string()) +export const zAssetUpdated = z.object({ + display_name: z.string().nullish(), + file_path: z.string().nullish(), + hash: z + .string() + .regex(/^blake3:[a-f0-9]{64}$/) + .optional(), + id: z.uuid(), + job_id: z.uuid().nullish(), + loader_path: z.string().nullish(), + mime_type: z.string().optional(), + name: z.string().optional(), + tags: z.array(z.string()).optional(), + updated_at: z.iso.datetime(), + user_metadata: z.record(z.string(), z.unknown()).optional() }) /** - * Metadata for a single tag that can be applied to assets. + * 403 for a credential the route does not take. `accepted` names the ones it does, as `WWW-Authenticate` does. */ -export const zTagInfo = z.object({ - count: z.int(), - name: z.string() +export const zAuthTypeNotAllowedError = z.object({ + accepted: z.array(z.string()), + error: z.object({ + message: z.string(), + type: z.enum(['auth_type_not_allowed']) + }) +}) + +export const zAuthenticateRefusal = z.object({ + code: z.string(), + message: z.string(), + organization_id: z.string().optional(), + start_url: z.string().optional() +}) + +export const zAuthenticateRequest = z.object({ + email: z.string().max(320), + password: z.string().max(4096).optional() +}) + +export const zAuthenticateResponse = z.object({ + expires_in: z.int().optional(), + method: z.enum(['sso', 'password', 'session', 'firebase']), + organization_name: z.string().optional(), + start_url: z.string().optional() }) /** - * System statistics response + * Expiry of the default card. Carries no identifier. */ -export const zSystemStatsResponse = z.object({ - devices: z.array( - z.object({ - name: z.string(), - type: z.string(), - vram_free: z.number().optional(), - vram_total: z.number().optional() - }) - ), - system: z.object({ - argv: z.array(z.string()), - cloud_version: z.string().optional(), - comfyui_frontend_version: z.string().optional(), - comfyui_version: z.string(), - deploy_environment: z.string().optional(), - embedded_python: z.boolean(), - os: z.string(), - python_version: z.string(), - pytorch_version: z.string(), - ram_free: z.number(), - ram_total: z.number(), - workflow_templates_version: z.string().optional() - }) +export const zAutoReloadCardExpiry = z.object({ + expired: z.boolean(), + month: z.int().gte(1).lte(12), + year: z.int().gte(1000).lte(9999) }) /** - * Server-owned subscription presentation state. A future scheduled plan change remains active, with its target in scheduled_change. Paused means a recoverable renewal collection failure; past_due requires direct subscription payment evidence, never an unattributed workspace or top-up failure. Activating means the initial subscription is awaiting payment. This is not an authorization or workflow admission decision; use capabilities. + * Display facts about a declined payment method. Carries no identifier. */ -export const zSubscriptionState = z.enum([ - 'never_subscribed', - 'active', - 'cancel_scheduled', - 'past_due', - 'paused', - 'activating', - 'ended' -]) +export const zAutoReloadDeclinedPaymentMethod = z.object({ + brand: z.string().nullable(), + last4: z.string().nullable(), + type: z.string() +}) /** - * Billing period (uppercase to match comfy-api) + * Estimated automatic charge for the proposed settings. */ -export const zSubscriptionDuration = z.enum(['MONTHLY', 'ANNUAL']) - -export const zSubscriptionDiscount = z.object({ - amount_off_cents: z.coerce +export const zAutoReloadPreview = z.object({ + balance_after_credits: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -775,10 +861,9 @@ export const zSubscriptionDiscount = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) - .optional(), - code: z.string(), - duration: z.enum(['once', 'repeating', 'forever']).optional(), - duration_in_months: z.coerce + .nullish(), + capped: z.boolean().optional(), + charge_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -786,92 +871,18 @@ export const zSubscriptionDiscount = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) - .optional(), - kind: z.enum(['plan', 'promotion']), - name: z.string().optional(), - term: z - .enum(['this_payment', 'first_month', 'first_year', 'months', 'ongoing']) - .optional() -}) - -/** - * Response after successfully subscribing to a billing plan. - */ -export const zSubscribeResponse = z.object({ - billing_op_id: z.string(), - effective_at: z.iso.datetime().optional(), - payment_method_url: z.string().optional(), - status: z.enum(['subscribed', 'needs_payment_method', 'pending_payment']) -}) - -/** - * Request body for subscribing a workspace to a billing plan. - */ -export const zSubscribeRequest = z.object({ - billing_cycle: z.enum(['monthly', 'yearly']).optional(), - cancel_url: z.string().optional(), - checkout_attempt_id: z.string().optional(), - confirm_reactivation: z.boolean().optional(), - confirmation_token: z.string().optional(), - idempotency_key: z.string().optional(), - plan_slug: z.string(), - promotion_code: z.string().optional(), - proration_at: z.iso.datetime().optional(), - quote_id: z.string().optional(), - quote_version: z.int().optional(), - return_url: z.string().optional(), - saved_payment_method_id: z.string().regex(/^pm_/).optional(), - team_credit_stop_id: z.string().optional() -}) - -/** - * The last-changed timestamp every stored setting carries. - */ -export const zGlobalSettingUpdatedAt = z.object({ - updated_at: z.iso.datetime() -}) - -/** - * Consent to the in-app Agent panel. `true` is the only value that can be written — consent is revoked by DELETE, not by writing `false`, so the audit trail records a revocation rather than a value flip. - */ -export const zAgentConsentSettingValue = z.object({ - key: z.enum(['Comfy.AgentPanel.ConsentAccepted']), - value: z.literal(true) -}) - -/** - * A stored AgentConsentSettingValue with its timestamp. Named apart from the write schema because codegen derives nested property type names from the schema name, and `AgentConsentSetting` would generate an `AgentConsentSettingValue` that collides with the write schema itself. - */ -export const zStoredAgentConsentSetting = zAgentConsentSettingValue.and( - zGlobalSettingUpdatedAt -) - -/** - * The deployment a start was asked for, and its status after the ask. - */ -export const zStartWorkspaceDeploymentResult = z.object({ - deployment_id: z.string(), - status: z.string() -}) - -/** - * First rejected op in an abort-remainder batch. - */ -export const zDocOpFailure = z.object({ - code: z.string(), - index: z.int(), - message: z.string(), - op_id: z.string().max(128).optional() -}) - -export const zDocOpsResultData = z.object({ - applied: z.array(z.string()).optional(), - code: z.string().optional(), - failed: zDocOpFailure.optional(), - message: z.string().optional(), - ok: z.boolean(), - op_ids: z.array(z.string().min(1).max(128)).max(256).optional(), - seq: z.coerce + .nullable(), + charge_credits: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .nullable(), + charges_now: z.boolean(), + monthly_budget_remaining_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -880,22 +891,29 @@ export const zDocOpsResultData = z.object({ error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - skipped: z.array(z.string()).optional(), - v: z.int().gte(1).lte(1), - workflow_id: z.string().min(1).max(128) + not_charging_reason: z + .enum(['above_threshold', 'monthly_budget', 'paused_by_decline']) + .nullable() }) /** - * Host acknowledgement for a doc_ops batch. + * billing-api's automatic top-up settings, server prices and automatic + * spend this cycle, passed through unchanged. Credits are whole credits; + * amounts are US cents. When `configured` is false, `enabled` is false + * and the other setting fields are null. + * */ -export const zDocOpsResultFrame = z.object({ - data: zDocOpsResultData, - type: z.enum(['doc_ops_result']) -}) - -export const zDocResetData = z.object({ - actor: z.string().max(256).optional(), - lineage_seq: z.coerce +export const zAutoReloadSettings = z.object({ + card_expiring_soon: z.boolean().nullish(), + card_expiry: zAutoReloadCardExpiry.nullable(), + configured: z.boolean(), + cycle_resets_at: z.iso.datetime().nullable(), + declined_payment_method: zAutoReloadDeclinedPaymentMethod.nullable(), + disabled_reason: z.string().nullable(), + enabled: z.boolean(), + last_failure_at: z.iso.datetime().nullable(), + last_failure_reason: z.string().nullable(), + max_monthly_budget_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -903,29 +921,16 @@ export const zDocResetData = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }), - seq: z.coerce + max_reload_credits: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - v: z.int().gte(1).lte(1), - workflow_id: z.string().min(1).max(128) -}) - -/** - * Host-to-follower lineage break. The follower must resubscribe for fresh state. - */ -export const zDocResetFrame = z.object({ - data: zDocResetData, - type: z.enum(['doc_reset']) -}) - -export const zDocUpdateData = z.object({ - actor: z.string().max(256).optional(), - lineage_seq: z.coerce + }) + .nullable(), + min_reload_credits: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -933,8 +938,38 @@ export const zDocUpdateData = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }), - op_ids: z.array(z.string().min(1).max(128)).max(256).optional(), - seq: z.coerce + monthly_budget_cents: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .nullable(), + monthly_budget_is_default: z.boolean(), + paused_by_budget: z.boolean(), + paused_by_budget_remainder: z.boolean(), + paused_by_decline: z.boolean(), + reload_amount_cents: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .nullable(), + reload_credits: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .nullable(), + spent_this_cycle_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -942,22 +977,52 @@ export const zDocUpdateData = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }), - update_b64: z.string(), - v: z.int().gte(1).lte(1), - workflow_id: z.string().min(1).max(128) + status: z.enum(['failed', 'off', 'on_hold', 'paused_by_budget', 'on']), + target_credits: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .nullable(), + threshold_credits: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .nullable() }) /** - * Host-to-follower incremental Yjs document update. + * Every listed field is required, and one of target_credits or + * reload_credits. reload_credits alone means target_credits = + * threshold_credits + reload_credits. On every save, disabled included, + * threshold_credits must be a positive whole number of credits and a + * non-null monthly_budget_cents positive. When enabled is true: + * target_credits must be greater than threshold_credits; target_credits + * and reload_credits must agree (reload_credits = target_credits - + * threshold_credits) when both are sent; a non-null monthly_budget_cents + * must be at most max_monthly_budget_cents, and a null one means no + * owner limit and is stored as max_monthly_budget_cents; target_credits + * must be at least threshold_credits + min_reload_credits and at most + * threshold_credits + max_reload_credits; and the smallest automatic + * reload (from one credit below threshold_credits to target_credits) + * must cost no more than the budget. A save with enabled false accepts a + * null budget, stores it as null, and skips the enabled-only rules. A + * save with enabled false is never refused over target_credits or + * reload_credits: it stores target_credits minus threshold_credits when + * the target is above the threshold, else a positive reload_credits, + * else min_reload_credits. + * */ -export const zDocUpdateFrame = z.object({ - data: zDocUpdateData, - type: z.enum(['doc_update']) -}) - -export const zDocSubscribedData = z.object({ - code: z.string().optional(), - expected_seq: z.coerce +export const zAutoReloadSettingsRequest = z.object({ + enabled: z.boolean(), + monthly_budget_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -965,8 +1030,8 @@ export const zDocSubscribedData = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) - .optional(), - lineage_seq: z.coerce + .nullable(), + reload_credits: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -975,9 +1040,7 @@ export const zDocSubscribedData = z.object({ error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - message: z.string().optional(), - ok: z.boolean(), - seq: z.coerce + target_credits: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -986,303 +1049,668 @@ export const zDocSubscribedData = z.object({ error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - v: z.int().gte(1).lte(1), - workflow_id: z.string().min(1).max(128) -}) - -/** - * Server acknowledgement for a doc_subscribe request. - */ -export const zDocSubscribedFrame = z.object({ - data: zDocSubscribedData, - type: z.enum(['doc_subscribed']) -}) - -/** - * Server-to-client CRDT document frame carried by the /ws envelope. - */ -export const zServerDocFrame = z.union([ - zDocSubscribedFrame, - zDocUpdateFrame, - zDocResetFrame, - zDocOpsResultFrame -]) - -/** - * User secret metadata (the secret value itself is never returned after creation). - */ -export const zSecretResponse = z.object({ - created_at: z.iso.datetime(), - credential_type: z.enum(['api_key', 'gcp_service_account']).optional(), - id: z.uuid(), - last_used_at: z.iso.datetime().optional(), - name: z.string(), - provider: z.string().optional(), - updated_at: z.iso.datetime() -}) - -/** - * One way a provider's credential can be entered. When a provider exposes more than one option, clients present a sub-selection; the selected option's credential_type is sent on CreateSecretRequest. - */ -export const zCredentialOption = z.object({ - credential_type: z.enum(['api_key', 'gcp_service_account']), - input_type: z.enum(['text', 'json_file']), - label: z.string() + threshold_credits: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) }) /** - * A provider the user may configure a secret for, with its display label and credential-entry options. + * Recorded account setup guidance, separate from owner authority in + * can_manage_auto_top_up. Frozen prevents enabling/editing; unavailable + * means setup is not available. Owner read/disable authority remains separate. + * These states do not determine surface visibility. Unified billing settings + * hide the auto top-up card when can_top_up is false, including paused or + * payment-failed billing. + * Ready does not authorize a charge or guarantee an off-session payment method. + * This fact ignores saved consent and monthly budget. An absent fact is unknown. + * */ -export const zSecretProvider = z.object({ - credential_options: z.array(zCredentialOption).optional(), - id: z.string(), - label: z.string().optional() +export const zAutoTopUpSetup = z.object({ + reason: z + .enum([ + 'workspace_deleted', + 'workspace_blocked', + 'billing_not_provisioned', + 'billing_rail_not_supported', + 'billing_status_unrecognized', + 'payment_past_due', + 'billing_paused', + 'billing_awaiting_payment_method', + 'billing_payment_pending', + 'subscription_tier_unrecognized', + 'subscription_status_unrecognized', + 'subscription_state_unknown', + 'billing_operation_parked', + 'default_payment_method_missing', + 'default_payment_method_unsupported', + 'creator_only_provisioning' + ]) + .optional(), + state: z.enum(['ready', 'frozen', 'unavailable']) }) /** - * The providers available to the authenticated user in the current workspace. + * A billing address for a company Stripe customer. city and postal_code + * are optional because some countries (e.g. Hong Kong, the UAE, Panama) + * have no postal code and are not collected for them; Stripe validates + * what a given country actually requires. + * */ -export const zSecretProvidersResponse = z.object({ - data: z.array(zSecretProvider) +export const zBillingAddress = z.object({ + city: z.string().optional(), + country: z.string(), + line1: z.string(), + line2: z.string().optional(), + postal_code: z.string().optional(), + state: z.string().optional() }) /** - * List of user secrets with metadata only. + * Conservative UI guidance. These values do not authorize billing writes; + * each write endpoint independently enforces its permission policy. + * + * Each field answers one UI question for the authenticated user in the + * authenticated workspace. Render each as received and never combine fields + * into a new decision. False without a matching key in denied_reasons means no + * recognised explanation, not necessarily a refusal. A field is never + * per-surface: one value serves every screen. The plan-lifecycle fields + * (can_subscribe_self_serve, can_cancel, can_reactivate, + * can_revert_scheduled_change) require the workspace's creator only when the + * rollout mode is not `owner`; every other owner-level field stays open to + * every owner. + * + * When the deployment has billing disabled, this endpoint answers without + * consulting billing-api: can_top_up is true; can_manage_members, + * can_invite_members, can_manage_subscription and can_manage_auto_top_up + * follow the owner role. Other billing-action fields are false. These role + * facts do not promise that billing endpoints are available. + * */ -export const zSecretListResponse = z.object({ - data: z.array(zSecretResponse) +export const zBillingCapabilities = z.object({ + can_cancel: z.boolean(), + can_change_seats: z.boolean(), + can_delete_workspace: z.boolean(), + can_downgrade_to_personal: z.boolean(), + can_edit_workspace: z.boolean(), + can_invite_members: z.boolean(), + can_leave_workspace: z.boolean(), + can_manage_auto_top_up: z.boolean(), + can_manage_billing: z.boolean(), + can_manage_members: z.boolean(), + can_manage_partner_node_access: z.boolean(), + can_manage_subscription: z.boolean(), + can_open_plans: z.boolean(), + can_reactivate: z.boolean(), + can_revert_scheduled_change: z.boolean(), + can_run_workflows: z.boolean(), + can_subscribe_self_serve: z.boolean(), + can_top_up: z.boolean(), + can_upgrade: z.boolean(), + can_view_own_usage: z.boolean().optional(), + can_view_pending_invites: z.boolean(), + can_view_team_usage: z.boolean() }) /** - * A plan change persisted to take effect at a future billing boundary. - */ -export const zScheduledPlanChange = z.object({ - effective_at: z.iso.datetime(), - plan_slug: z.string(), - team_credit_stop: zTeamCreditStopSummary.nullable() + * Why a capability resolved false, keyed by the capability. The value + * names the policy branch that decided, not customer-facing wording: the + * client owns the message. + * + * How to read this: render each capability from `capabilities` as received, and + * use a reason only to explain a capability that is false. Never recombine + * capabilities or reasons into a new decision, and never derive a reason from + * tier, role, status or plan slug. A missing reason is not a grant. A refused + * capability usually has a key here naming the branch that refused it. A false + * capability with no matching key is an unexplained refusal: no recognised + * explanation, still false. A true capability never has a key. + * Within a key the values are listed in the order the resolver reaches them, + * and the first one reached is the one reported. Capabilities are UI guidance, + * not authorization: the write endpoints decide. + * + * The invariant runs one way only. **Presence implies refusal**: a key is + * present only alongside `capabilities. == false`, reconciled before + * the response is built, so a reason never accompanies a granted + * capability. **Absence implies nothing**: on a false capability it + * means no recognised explanation, and on a true capability it is the + * expected state. Consult `capabilities`, which stays authoritative for what + * the client may offer. + * + * A key is absent for a refused capability whenever this service is + * talking to a billing-api that predates the field, and whenever it drops + * a reason it does not recognise rather than forwarding a value outside + * the enum below. Both are supported states, so a client must never infer + * a capability's value from a missing reason -- only from `capabilities`. + * + * This endpoint omits the entire `denied_reasons` object when no recognised + * reason survives. The billing-api endpoint may emit `{}` for the same + * logical state, so object presence must not be used to detect support. + * + */ +export const zBillingCapabilityDenials = z.object({ + can_cancel: z + .enum([ + 'not_a_member', + 'not_workspace_owner', + 'not_original_owner', + 'free_plan', + 'no_subscription', + 'tier_not_self_serve', + 'billing_operation_in_progress', + 'billing_operation_parked', + 'cancellation_scheduled', + 'subscription_ended', + 'subscription_not_started', + 'subscription_status_unrecognized' + ]) + .optional(), + can_change_seats: z + .enum([ + 'not_a_member', + 'not_workspace_owner', + 'no_subscription', + 'tier_not_self_serve', + 'subscription_ended', + 'subscription_not_started', + 'subscription_status_unrecognized' + ]) + .optional(), + can_delete_workspace: z + .enum([ + 'not_a_member', + 'sales_managed_plan', + 'not_workspace_owner', + 'not_original_owner', + 'workspace_sso_attached', + 'personal_workspace', + 'billing_operation_in_progress', + 'billing_operation_parked', + 'plan_not_ended', + 'plan_ending' + ]) + .optional(), + can_downgrade_to_personal: z + .enum([ + 'not_a_member', + 'not_workspace_owner', + 'not_original_owner', + 'no_subscription', + 'tier_not_self_serve', + 'subscription_change_in_progress', + 'subscription_ended', + 'subscription_not_started', + 'subscription_status_unrecognized', + 'rollout_disabled' + ]) + .optional(), + can_edit_workspace: z + .enum(['not_a_member', 'not_workspace_owner']) + .optional(), + can_invite_members: z + .enum(['not_a_member', 'not_workspace_owner', 'invite_capacity_reached']) + .optional(), + can_leave_workspace: z + .enum([ + 'not_a_member', + 'membership_managed_by_directory', + 'personal_workspace_creator', + 'workspace_creator', + 'only_owner' + ]) + .optional(), + can_manage_auto_top_up: z + .enum(['not_a_member', 'not_workspace_owner']) + .optional(), + can_manage_billing: z + .enum(['not_a_member', 'not_workspace_owner', 'creator_only_provisioning']) + .optional(), + can_manage_members: z + .enum(['not_a_member', 'not_workspace_owner']) + .optional(), + can_manage_partner_node_access: z + .enum([ + 'not_a_member', + 'not_workspace_owner', + 'partner_governance_not_entitled' + ]) + .optional(), + can_manage_subscription: z + .enum(['not_a_member', 'not_workspace_owner']) + .optional(), + can_open_plans: z + .enum([ + 'not_a_member', + 'not_workspace_owner', + 'not_original_owner', + 'creator_only_provisioning', + 'tier_not_self_serve', + 'subscription_not_started', + 'subscription_status_unrecognized' + ]) + .optional(), + can_reactivate: z + .enum([ + 'not_a_member', + 'not_workspace_owner', + 'not_original_owner', + 'no_subscription', + 'tier_not_self_serve', + 'billing_operation_in_progress', + 'billing_operation_parked', + 'cancellation_not_scheduled', + 'subscription_ended', + 'subscription_not_started', + 'subscription_status_unrecognized' + ]) + .optional(), + can_revert_scheduled_change: z + .enum([ + 'not_a_member', + 'not_workspace_owner', + 'not_original_owner', + 'tier_not_self_serve', + 'subscription_ended', + 'subscription_not_started', + 'subscription_status_unrecognized', + 'no_revertible_scheduled_change' + ]) + .optional(), + can_run_workflows: z + .enum([ + 'manual_block', + 'subscription_inactive', + 'payment_past_due', + 'no_funds', + 'workspace_cap_exceeded', + 'project_cap_exceeded', + 'user_cap_exceeded', + 'free_tier_exhausted' + ]) + .optional(), + can_subscribe_self_serve: z + .enum([ + 'not_a_member', + 'not_workspace_owner', + 'not_original_owner', + 'creator_only_provisioning', + 'tier_not_self_serve', + 'subscription_change_in_progress', + 'subscription_not_started', + 'subscription_status_unrecognized' + ]) + .optional(), + can_top_up: z + .enum([ + 'not_a_member', + 'not_workspace_owner', + 'creator_only_provisioning', + 'payment_past_due', + 'tier_not_self_serve', + 'subscription_status_unrecognized', + 'topup_purchases_paused', + 'free_plan', + 'no_subscription', + 'subscription_ended' + ]) + .optional(), + can_upgrade: z + .enum([ + 'not_a_member', + 'not_workspace_owner', + 'not_original_owner', + 'creator_only_provisioning', + 'tier_not_self_serve', + 'subscription_change_in_progress', + 'subscription_not_started', + 'subscription_status_unrecognized', + 'billing_state_unknown', + 'no_subscription', + 'subscription_ended', + 'payment_past_due', + 'billing_operation_parked', + 'billing_operation_in_progress', + 'sales_managed', + 'no_upgrade_available' + ]) + .optional(), + can_view_own_usage: z + .enum(['not_a_member', 'usage_attribution_unavailable']) + .optional(), + can_view_pending_invites: z + .enum(['not_a_member', 'not_workspace_owner']) + .optional(), + can_view_team_usage: z + .enum([ + 'not_a_member', + 'not_workspace_owner', + 'usage_attribution_unavailable' + ]) + .optional() }) -export const zSavedPaymentMethod = z.object({ - bank_name: z.string().optional(), - brand: z.string().optional(), - created_at: z.iso.datetime().optional(), - email: z.string().optional(), - exp_month: z.int().gte(1).lte(12).optional(), - exp_year: z.int().gte(1000).lte(9999).optional(), - expired: z.boolean().optional(), - expiring_soon: z.boolean().optional(), - id: z.string().regex(/^pm_/), - is_default: z.boolean(), - last4: z - .string() - .regex(/^[0-9]{4}$/) - .optional(), - type: z.string() +/** + * Identifies capability values currently using safe rollout defaults + * instead of deterministic policy results. A true value is UI guidance, + * not evidence that the corresponding write will succeed. + * + */ +export const zBillingCapabilityRolloutDefaults = z.object({ + can_downgrade_to_personal: z.boolean(), + can_subscribe_self_serve: z.boolean(), + can_top_up: z.boolean() }) -export const zSsoDiscoverResponse = z.object({ - organization_name: z.string().optional(), - required: z.boolean().optional(), - sso: z.boolean() +export const zBillingCapabilityScope = z.object({ + user_id: z.string(), + workspace_id: z.string() }) /** - * Response after signing out of all devices + * A single history event. The cloud history-events store is the single source of truth for both billing events (charges, credits, adjustments) and user-facing usage events. */ -export const zRevokeAllSessionsResponse = z.object({ - revoked: z.int() +export const zBillingEvent = z.object({ + api_key_name: z.string().optional(), + api_key_prefix: z.string().optional(), + api_key_revoked: z.boolean().optional(), + createdAt: z.iso.datetime(), + deployment_id: z.string().optional(), + deployment_name: z.string().optional(), + event_id: z.string(), + event_type: z.string(), + member_display_name: z.string().optional(), + member_email: z.string().optional(), + member_former: z.boolean().optional(), + member_user_id: z.string().optional(), + params: z.record(z.string(), z.unknown()).optional(), + unattributed: z.boolean().optional() }) /** - * Response after accepting a scheduled-change revert. + * Paginated list of billing events for a workspace. */ -export const zRevertScheduledChangeResponse = z.object({ +export const zBillingEventsResponse = z.object({ + attribution_since: z.iso.datetime().optional(), + events: z.array(zBillingEvent), + limit: z.int(), + page: z.int(), + total: z.int(), + totalPages: z.int() +}) + +export const zBillingOpCancelResponse = z.object({ billing_op_id: z.string(), - status: z.enum(['reverted', 'pending']) + status: z.enum(['canceled', 'cancel_requested']) }) /** - * Request body for undoing a pending scheduled plan change. + * Payment lifecycle status */ -export const zRevertScheduledChangeRequest = z.object({ - idempotency_key: z.string().optional() +export const zBillingStatus = z.enum([ + 'awaiting_payment_method', + 'pending_payment', + 'paid', + 'payment_failed', + 'paused', + 'inactive' +]) + +/** + * A tax identifier for a company Stripe customer. Stripe validates the + * type/value combination synchronously and verifies VAT/ABN-style IDs + * asynchronously. + * + */ +export const zBillingTaxId = z.object({ + type: z.string(), + value: z.string() }) /** - * Present only when the session's arm is an offer. Terms come from the server catalog. + * Company billing details on file for the workspace's Stripe customer. + * A field is absent until the workspace sets it via PATCH + * /api/billing/company-details. + * */ -export const zRetentionOffer = z.object({ - duration_in_months: z.int().lte(9007199254740991), - id: z.string(), - percent_off: z.int().lte(9007199254740991) +export const zBillingCompanyDetailsResponse = z.object({ + address: zBillingAddress.optional(), + company_name: z.string().optional(), + tax_id: zBillingTaxId.optional() }) -export const zRetentionFlowSubscription = z.object({ - currency: z.string(), - period_end: z.int().lte(9007199254740991), - quantity: z.int().lte(9007199254740991), - unit_amount: z.int().lte(9007199254740991) +/** + * Fields to set on the workspace's Stripe customer. Every group is + * optional; omit a group to leave that part of the customer unchanged. + * + */ +export const zBillingCompanyDetailsUpdateRequest = z.object({ + address: zBillingAddress.optional(), + company_name: z.string().optional(), + tax_id: zBillingTaxId.optional() }) -export const zRetentionFlowResponse = z.object({ - experiment_variant: z.string().optional(), - expires_at: z.int().lte(9007199254740991), - offer: zRetentionOffer.optional(), - session_id: z.uuid(), - subscription: zRetentionFlowSubscription +/** + * Response after bulk-revoking API keys for a workspace member. + */ +export const zBulkRevokeApiKeysResponse = z.object({ + revoked_count: z.int().gte(0) }) -export const zRetentionFlowEventRequest = z.object({ - event: z.enum(['flow_opened', 'offer_shown']), - session_id: z.uuid() +export const zCccCatalogState = z.object({ + draft_generation: z.coerce + .bigint() + .gte(BigInt(0)) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + draft_rev: z.coerce + .bigint() + .gte(BigInt(1)) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + live_rev: z.coerce + .bigint() + .gte(BigInt(1)) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + next_rev: z.coerce + .bigint() + .gte(BigInt(1)) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + previous_live_rev: z.coerce + .bigint() + .gte(BigInt(1)) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .nullable() }) -export const zRetentionAcceptance = z.object({ - billing_op_id: z.string(), - status: z.enum(['pending', 'succeeded']) +export const zCccAuthoringContext = z.object({ + actor_uid: z.string().min(1), + can_apply: z.boolean(), + can_edit: z.boolean(), + owner_uid: z.string().min(1), + state: zCccCatalogState +}) + +export const zCccCheckedReviewReceipt = z.object({ + publish_enabled: z.boolean(), + receipt_version: z.literal(1), + selected_count: z.int().gte(1).lte(5000), + selected_versions_digest: z.string().regex(/^[0-9a-f]{64}$/), + selection_digest: z.string().regex(/^[0-9a-f]{64}$/), + state: zCccCatalogState, + unchecked_count: z.int().gte(0).lte(5000) +}) + +export const zCccCreatorLink = z.object({ + label: z.string(), + url: z.url() }) -export const zRetentionAcceptRequest = z.object({ - session_id: z.uuid() +export const zCccCreatorProfile = z.object({ + avatar_url: z.string(), + bio: z.string().max(5000), + display_name: z.string(), + links: z.array(zCccCreatorLink).max(8), + username: z.string() }) -/** - * Response after accepting a resubscribe request. - */ -export const zResubscribeResponse = z.object({ - billing_op_id: z.string(), - message: z.string().optional(), - status: z.enum(['active', 'pending']) +export const zCccCreatorSummary = z.object({ + avatar_url: z.string(), + display_name: z.string(), + username: z.string(), + workflow_count: z.int().gte(1) }) -/** - * Request body for reactivating a previously cancelled subscription. - */ -export const zResubscribeRequest = z.object({ - idempotency_key: z.string().optional() +export const zCccCreatorsPage = z.object({ + items: z.array(zCccCreatorSummary).max(100), + next_cursor: z.string().max(200).optional() }) /** - * The newest open renewal invoice of the workspace's Stripe subscription (active, or canceled but not yet ended). Returned only to workspace owners on the stripe billing rail while billing_status is payment_failed or paused, or on the legacy_stripe billing rail while billing_status is payment_failed and its legacy subscription is past_due or unpaid, and not while a payment for it is processing. hosted_invoice_url is a bearer payment link. + * Flat type-versioned CCC JSON. Domain schemas (/api/v1/catalog/schemas/{type}/{version}) constrain authored fields. The readOnly properties are server metadata returned by reads; a save may send them back unchanged and they are ignored, never applied. expected_draft_rev and expected_revision_uid are the save concurrency tokens. */ -export const zRenewalInvoice = z.object({ - amount_due: z.coerce +export const zCccjson = z.object({ + catalog_rev: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - currency: z.string(), - hosted_invoice_url: z.string(), - next_payment_attempt: z.iso.datetime().optional() -}) - -/** - * One declared pack that failed to import on the Release's build, as comfy-builder names it. - */ -export const zReleaseUnsupportedPack = z.object({ - cause: z.string(), - folder: z.string(), - registry_id: z.string(), - repository: z.string() + }) + .readonly() + .optional(), + creator_uid: z.string().readonly().optional(), + digest: z.string().readonly().optional(), + draft_generation: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .readonly() + .optional(), + edit_sequence: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .readonly() + .optional(), + is_deleted: z.boolean().readonly().optional(), + owner_uid: z.string().readonly().optional(), + revision_uid: z.uuid().readonly().optional(), + saved_at: z.iso.datetime().readonly().optional(), + saved_by_uid: z.string().readonly().optional(), + uid: z.uuid().readonly().optional() }) /** - * The declared packs that failed to import on the build of the editor's Release, in the order the build declared them, and which Release that is. + * Current Hub page that replaces an old public URL */ -export const zReleaseUnsupportedPacks = z.object({ - packs: z.array(zReleaseUnsupportedPack), - release_id: z.string().nullable() +export const zCccLegacyTarget = z.object({ + path: z.string(), + slug: z.string(), + type: z.enum(['workflow', 'app', 'model']) }) -/** - * Response after a queue management action (delete or clear). - */ -export const zQueueManageResponse = z.object({ - cleared: z.boolean().optional(), - deleted: z.array(z.string()).optional() +export const zCccWebsiteCardFacet = z.object({ + count: z.int().gte(0).optional(), + label: z.string(), + value: z.string() }) -/** - * Request to manage queue operations - */ -export const zQueueManageRequest = z.object({ - clear: z.boolean().optional(), - delete: z.array(z.string()).optional() +export const zCccWebsiteCardFacets = z.object({ + categories: z.array(zCccWebsiteCardFacet).max(100), + models: z.array(zCccWebsiteCardFacet).max(100), + use_cases: z.array(zCccWebsiteCardFacet).max(100) }) -/** - * Queue information with pending and running jobs - */ -export const zQueueInfo = z.object({ - queue_pending: z - .array( - z.tuple([z.unknown(), z.unknown(), z.unknown(), z.unknown(), z.unknown()]) - ) +export const zCccWebsiteModelDirectory = z.object({ + generation: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) .optional(), - queue_running: z + items: z .array( - z.tuple([z.unknown(), z.unknown(), z.unknown(), z.unknown(), z.unknown()]) + z.object({ + provider: z.string(), + slug: z.string(), + title: z.string(), + uid: z.uuid() + }) ) - .optional() + .max(5000), + revision_id: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) }) -/** - * Full detail of a publicly published workflow on the Hub. - */ -export const zPublishedWorkflowDetail = z.object({ - assets: z.array(zAssetInfo), - listed: z.boolean(), - name: z.string(), - publish_time: z.iso.datetime().nullish(), - share_id: z.string(), - workflow_id: z.string(), - workflow_json: z.record(z.string(), z.unknown()) +export const zCccWebsiteRootPageInfo = z.object({ + has_more: z.boolean(), + page_size: z.literal(24) }) -/** - * Request body for publishing workflow assets to the Hub. - */ -export const zPublishWorkflowAssetsRequest = z.object({ - asset_ids: z.array(z.string()) +export const zCccWebsiteRootTab = z.object({ + facets: zCccWebsiteCardFacets, + page: zCccWebsiteRootPageInfo, + sort_orders: z + .array(z.enum(['popular', 'name', 'priceAsc', 'priceDesc'])) + .max(4) +}) + +export const zCccWebsiteRootTabs = z.object({ + apps: zCccWebsiteRootTab, + models: zCccWebsiteRootTab, + workflows: zCccWebsiteRootTab }) /** - * Request body for publishing or updating a workflow on the Hub. + * Response when a cancellation is accepted but has not committed yet. Carries no cancel_at: no cancellation time exists to report until the operation settles. The billing operation reports only status, so once it reaches `succeeded` the committed date is read from `cancel_at` on `GET /api/billing/status`. */ -export const zPublishHubWorkflowRequest = z.object({ - asset_ids: z.array(z.string()), - custom_nodes: z.array(z.string()).optional(), - description: z.string().optional(), - metadata: z.record(z.string(), z.unknown()).optional(), - models: z.array(z.string()).optional(), - name: z.string(), - sample_image_tokens_or_urls: z.array(z.string()).optional(), - tags: z.array(z.string()).optional(), - thumbnail_comparison_token_or_url: z.string().optional(), - thumbnail_token_or_url: z.string().optional(), - thumbnail_type: z.enum(['image', 'video', 'image_comparison']).optional(), - tutorial_url: z.string().optional(), - username: z.string(), - workflow_filename: z.string() +export const zCancelSubscriptionAcceptedResponse = z.object({ + billing_op_id: z.string(), + status: z.enum(['pending']) }) /** - * One provider's policy state. + * Request body for cancelling the current subscription. */ -export const zProviderPolicyEntry = z.object({ - enabled: z.boolean(), - provider_id: z.string() +export const zCancelSubscriptionRequest = z.object({ + idempotency_key: z.string().optional() }) /** - * A workspace's partner-provider governance policy document — the exact shape PUT accepts (round-trips; entries come back sorted by provider_id, write order is not significant). Effective rule: enabled(P) = !enforcement_enabled || (the entry for P has enabled=true); absent from the array = unset (deny when enforcing). + * Response after successfully cancelling a subscription. */ -export const zProviderPolicy = z.object({ - enforcement_enabled: z.boolean(), - providers: z.array(zProviderPolicyEntry) +export const zCancelSubscriptionResponse = z.object({ + billing_op_id: z.string(), + cancel_at: z.iso.datetime() }) /** @@ -1295,104 +1723,73 @@ export const zCatalogProvider = z.object({ }) /** - * The partner-provider governance catalog: every governable provider, identical for all workspaces. A projection of the curated catalog minus the internal api_names. - */ -export const zProviderCatalogResponse = z.object({ - providers: z.array(zCatalogProvider) -}) - -/** - * Response returned after successfully queuing a workflow prompt. - */ -export const zPromptResponse = z.object({ - node_errors: z.record(z.string(), z.unknown()).optional(), - number: z.number().optional(), - prompt_id: z.uuid().optional() -}) - -/** - * Request body for submitting a ComfyUI workflow prompt for execution. - */ -export const zPromptRequest = z.object({ - extra_data: z.record(z.string(), z.unknown()).optional(), - front: z.boolean().optional(), - number: z.number().optional(), - partial_execution_targets: z.array(z.string()).optional(), - prompt: z.record(z.string(), z.unknown()), - workflow_id: z.string().optional(), - workflow_version_id: z.string().optional() -}) - -/** - * Metadata about the currently running and queued prompts. + * Credentials the Churnkey embed requires to launch the cancel flow. + * `auth_hash` is hex-encoded HMAC-SHA256 of `customer_id` signed with the + * server's CHURNKEY_HMAC_SECRET; it is bound to that single customer ID + * and must not be reused for other customers. + * */ -export const zPromptInfo = z.object({ - exec_info: z - .object({ - queue_remaining: z.int().optional() - }) - .optional() +export const zChurnkeyAuthResponse = z.object({ + auth_hash: z.string(), + customer_id: z.string(), + mode: z.enum(['live', 'test', 'sandbox']), + offer_subscription_id: z.string().min(1).optional() }) -/** - * Error response for ComfyUI prompt execution. - */ -export const zPromptErrorResponse = z.record(z.string(), z.unknown()) +export const zCloudNodeCompatibility = z.object({ + missing_node_types: z.array(z.string()) +}) /** - * Identity of the workspace-bound terminal subscription, not a checkout target or permission to resubscribe. Historical identity is independent of current plan availability and pricing. + * A model file and the ComfyUI model folder it is read from. */ -export const zPreviousPlan = z.object({ - plan_slug: z.string(), - team_credit_stop_id: z.string().optional() +export const zCompatibilityModel = z.object({ + folder: z.string(), + name: z.string() }) /** - * Summary of seat costs based on current workspace members + * The node types and models of a workflow. */ -export const zPlanSeatSummary = z.object({ - seat_count: z.int(), - total_cost_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - total_credits_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) +export const zCloudCompatibilityRequest = z.object({ + models: z.array(zCompatibilityModel).optional(), + node_types: z.array(z.string()) +}) + +export const zCloudWorkflowCompatibility = z.object({ + missing_models: z.array(zCompatibilityModel).optional(), + missing_node_types: z.array(z.string()) }) /** - * Plan information for preview display + * Which of the posted node types and models Comfy Cloud does not have. */ -export const zPreviewPlanInfo = z.object({ - credits_cents: z.coerce +export const zCloudCompatibility = z.object({ + cloud: zCloudWorkflowCompatibility +}) + +export const zContentCatalogRecord = z.object({ + data: z.record(z.string(), z.unknown()), + deleted: z.boolean(), + edit_version: z.string(), + enabled: z.boolean(), + kind: z.enum(['MODEL', 'WORKFLOW', 'APP', 'TEMPLATE_SET']), + revision: z.coerce .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) + .gte(BigInt(1)) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }), - duration: zSubscriptionDuration, - list_price_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - monthly_list_price_cents: z.coerce + slug: z.string(), + uid: z.string(), + visibility: z.enum(['PUBLIC', 'STAFF']), + visible_from: z.iso.datetime().optional() +}) + +export const zCccWebsiteCardsPage = z.object({ + available_kinds: z.array(z.enum(['MODEL', 'WORKFLOW', 'APP'])).max(3), + facets: zCccWebsiteCardFacets, + generation: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -1401,18 +1798,31 @@ export const zPreviewPlanInfo = z.object({ error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - monthly_price_cents: z.coerce + has_more: z.boolean(), + items: z.array(zContentCatalogRecord).max(24), + next_cursor: z.string().max(4096).optional(), + page_size: z.int().gte(1).lte(24), + previous_cursor: z.string().max(4096).optional(), + revision_id: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - period_end: z.iso.datetime().optional(), - period_start: z.iso.datetime().optional(), - price_cents: z.coerce + }), + sort_orders: z + .array(z.enum(['popular', 'name', 'priceAsc', 'priceDesc'])) + .max(4), + total: z.int().gte(0).optional() +}) + +export const zCccWebsiteRootPresentation = z.object({ + as_of: z.iso.datetime(), + items: z.array(zContentCatalogRecord).max(5000), + model_directory: zCccWebsiteModelDirectory, + next_visibility_at: z.iso.datetime().nullable(), + revision_id: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -1420,60 +1830,125 @@ export const zPreviewPlanInfo = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }), - seat_summary: zPlanSeatSummary, - slug: z.string(), - tier: zSubscriptionTier + tabs: zCccWebsiteRootTabs }) -/** - * Itemized cost preview for a pending subscription change. - */ -export const zPreviewSubscribeResponse = z.object({ - allowed: z.boolean(), - amount_due_cents: z.coerce +export const zContentCatalogProjection = z.object({ + generation: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - balance_applied_cents: z.coerce + }), + items: z.array(zContentCatalogRecord), + revision_id: z.coerce .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) + .gte(BigInt(1)) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) - .optional(), - cost_next_period_cents: z.coerce +}) + +export const zCccPublicItemsPage = zContentCatalogProjection.and( + z.object({ + has_more: z.boolean(), + next_cursor: z.string().optional(), + page_size: z.int().gte(1).lte(100) + }) +) + +/** + * Request body for creating a new Hub profile. + */ +export const zCreateHubProfileRequest = z.object({ + avatar_token: z.string().optional(), + description: z.string().optional(), + display_name: z.string().optional(), + username: z.string(), + website_urls: z.array(z.string()).optional(), + workspace_id: z.string() +}) + +/** + * Request body for inviting a user to a workspace. + */ +export const zCreateInviteRequest = z.object({ + email: z.email() +}) + +/** + * Request body for creating a new user secret. + */ +export const zCreateSecretRequest = z.object({ + credential_type: z + .enum(['api_key', 'gcp_service_account']) + .optional() + .default('api_key'), + name: z.string().min(1).max(255), + provider: z.string().max(64).optional(), + secret_value: z.string().min(1) +}) + +/** + * Response after creating a session cookie + */ +export const zCreateSessionResponse = z.object({ + expiresIn: z.int().optional(), + success: z.boolean() +}) + +/** + * Request body for creating a hosted credit top-up checkout session. + */ +export const zCreateTopupCheckoutRequest = z.object({ + amount_cents: z.coerce.bigint().gte(BigInt(500)).lte(BigInt(1600000)), + idempotency_key: z.string().optional(), + return_url: z.url() +}) + +/** + * A hosted Stripe Checkout session for a credit top-up. + */ +export const zCreateTopupCheckoutResponse = z.object({ + checkout_url: z.url(), + session_id: z.string().optional() +}) + +/** + * Request body for previewing a credit top-up. + */ +export const zCreateTopupQuoteRequest = z.object({ + amount_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - cost_today_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - credits_next_period: z.coerce +}) + +/** + * Legacy on-file top-up. Explicit payment authority and save/default fields require the dedicated interactive route and are rejected here, including null or false values. + */ +export const zCreateTopupRequest = z.object({ + amount_cents: z.coerce .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) + .gte(BigInt(500)) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - credits_next_period_cents: z.coerce + }), + checkout_attempt_id: z.string().optional(), + idempotency_key: z.string().optional() +}) + +/** + * Response after successfully purchasing a credit top-up. + */ +export const zCreateTopupResponse = z.object({ + amount_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -1481,7 +1956,99 @@ export const zPreviewSubscribeResponse = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }), - credits_today: z.coerce + billing_op_id: z.string(), + status: z.enum(['pending', 'completed', 'failed']), + topup_id: z.string() +}) + +/** + * Request body for creating a new saved workflow. + */ +export const zCreateWorkflowRequest = z.object({ + default_view: z.enum(['workflow', 'app']).optional(), + description: z.string().optional(), + forked_from_workflow_id: z.string().optional(), + forked_from_workflow_version_id: z.string().optional(), + name: z.string().optional(), + workflow_json: z.record(z.string(), z.unknown()) +}) + +/** + * Request body for creating a new version of a saved workflow. + */ +export const zCreateWorkflowVersionRequest = z.object({ + base_version: z.int(), + workflow_json: z.record(z.string(), z.unknown()) +}) + +/** + * Request body for creating a new workspace-scoped API key. + */ +export const zCreateWorkspaceApiKeyRequest = z.object({ + description: z.string().max(5000).optional(), + expires_at: z.iso.datetime().optional(), + name: z.string() +}) + +/** + * Response containing the newly created workspace API key. + */ +export const zCreateWorkspaceApiKeyResponse = z.object({ + created_at: z.iso.datetime(), + description: z.string().max(5000), + expires_at: z.iso.datetime().optional(), + id: z.uuid(), + key: z.string(), + key_prefix: z.string(), + name: z.string() +}) + +/** + * Request body for creating a new workspace. + */ +export const zCreateWorkspaceRequest = z.object({ + name: z.string().min(1).max(100) +}) + +/** + * One way a provider's credential can be entered. When a provider exposes more than one option, clients present a sub-selection; the selected option's credential_type is sent on CreateSecretRequest. + */ +export const zCredentialOption = z.object({ + credential_type: z.enum(['api_key', 'gcp_service_account']), + input_type: z.enum(['text', 'json_file']), + label: z.string() +}) + +export const zCreditValidityFact = z.object({ + expires_at: z.iso.datetime().optional(), + rollover: z.enum(['none', 'allowed', 'unknown']).optional(), + state: z.enum(['expiring', 'mixed', 'unknown']) +}) + +/** + * Display-only validity of the current shared wallet, including old-contract value and custom grants. Not a new-purchase quote or a spend decision. Missing facts on an older server mean unknown. No default year is inferred. + */ +export const zCreditValidity = z.object({ + plan: zCreditValidityFact, + top_up: zCreditValidityFact +}) + +/** + * Current credit balance and usage details for a workspace. Every amount here is CENTS of `currency`. The `*_micros` fields are a misnamed legacy set kept for wire compatibility; the `*_cents` fields beside them carry the identical values under honest names. `amount_micros` stays required and `amount_cents` is optional so existing strict clients are unaffected. + */ +export const zBillingBalanceResponse = z.object({ + amount_cents: z.number().optional(), + amount_micros: z.number(), + cloud_credit_balance_cents: z.number().optional(), + cloud_credit_balance_micros: z.number().optional(), + cloud_credit_display_balance_cents: z.number().optional(), + credit_validity: zCreditValidity.optional(), + currency: z.string(), + effective_balance_authoritative: z.boolean().optional(), + effective_balance_cents: z.number().optional(), + effective_balance_micros: z.number().optional(), + low_balance: z.boolean().optional(), + max_topup_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -1490,24 +2057,7 @@ export const zPreviewSubscribeResponse = z.object({ error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - credits_today_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - currency: z.string().optional(), - current_plan: zPreviewPlanInfo.optional(), - discounts: z.array(zSubscriptionDiscount).optional(), - effective_at: z.iso.datetime(), - is_immediate: z.boolean(), - new_plan: zPreviewPlanInfo, - payment_method_configuration_id: z.string().optional(), - promotion_code: z.string().optional(), - proration_at: z.iso.datetime().optional(), - proration_remaining_cents: z.coerce + max_topup_credits: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -1516,7 +2066,7 @@ export const zPreviewSubscribeResponse = z.object({ error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - proration_unused_cents: z.coerce + min_topup_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -1525,10 +2075,7 @@ export const zPreviewSubscribeResponse = z.object({ error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - quote_id: z.string().optional(), - quote_version: z.int().optional(), - reason: z.string().optional(), - renewal_amount_cents: z.coerce + min_topup_credits: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -1537,9 +2084,11 @@ export const zPreviewSubscribeResponse = z.object({ error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - renewal_at: z.iso.datetime().optional(), - requires_reactivation_confirmation: z.boolean().optional(), - subtotal_cents: z.coerce + pending_charges_cents: z.number().optional(), + pending_charges_micros: z.number().optional(), + prepaid_balance_cents: z.number().optional(), + prepaid_balance_micros: z.number().optional(), + suggested_topup_amount_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -1547,207 +2096,166 @@ export const zPreviewSubscribeResponse = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) - .optional(), - transition_type: z.enum([ - 'new_subscription', - 'upgrade', - 'downgrade', - 'duration_change' - ]) + .nullish() }) /** - * Request body for previewing the cost of a plan subscription change. + * The workspace bound to the presented credential, plus how that credential authenticated. Same shape as Workspace with the caller's role and the auth method added, and without created_at (callers of this endpoint want identity, not provenance). */ -export const zPreviewSubscribeRequest = z.object({ - checkout_attempt_id: z.string().optional(), - plan_slug: z.string(), - promotion_code: z.string().optional(), - team_credit_stop_id: z.string().optional() +export const zCurrentWorkspaceResponse = z.object({ + auth_method: z.string(), + id: z.string(), + name: z.string(), + permissions: z.array(z.string()).optional(), + role: z.enum(['owner', 'member']).optional(), + type: z.enum(['personal', 'team']) }) -export const zPlanFeatureItem = z.object({ - key: z.enum([ - 'shortRuntime', - 'longRuntime', - 'addCredits', - 'importModels', - 'sharedCreditPool', - 'membersUpTo', - 'perMemberCreditLimits', - 'memberSpendAuditing', - 'sharedWorkflowsAssets', - 'projects' +/** + * Response after deleting a session cookie + */ +export const zDeleteSessionResponse = z.object({ + success: z.boolean() +}) + +/** + * Error body of local ComfyUI's /api/deploy* routes. Branch on `error`, never on `message`. + */ +export const zDeployToCloudError = z.object({ + error: z.enum([ + 'offline', + 'multiple_credentials', + 'invalid_api_key_format', + 'invalid_body', + 'missing_credentials', + 'unauthorized', + 'too_large', + 'too_many_bundles', + 'builder_rejected', + 'builder_unavailable', + 'builder_busy' ]), - params: z - .object({ - count: z.coerce - .bigint() - .gte(BigInt(1)) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - }) - .optional(), - status: z.enum(['available', 'coming_soon']), - text: z.string() + message: z.string().optional() }) /** - * Why a plan is unavailable. Present exactly when available is false and - * absent when it is true. Only the first reason that applies is reported, - * in the order below. Render the value as received; do not recompute it. - * same_plan: (a) Why can this plan not be picked? (b) It is the plan the workspace is already on. (c) Absent means the plan is not the current one. (d) Not a refusal of a different plan; see incompatible_transition. (e) The plan slug equals the slug of the workspace's active subscription. - * incompatible_transition: (a) Why is this plan closed for the workspace's current plan? (b) The transition rules never allow it: the Free plan, which is provisioned only through free-tier eligibility, or a switch into the Founders plan. (c) Absent means no such rule applies. (d) Not a temporary state, and not billing_operation_in_progress, billing_operation_parked or annual_to_monthly_unsupported. (e) The target is the Free plan, or the transition matrix refuses the pair for a reason other than annual_to_monthly_unsupported. - * billing_operation_in_progress: (a) Why can no other plan be picked for now? (b) A subscription-changing billing operation is running for the workspace's active subscription. It settles on its own, so a client may say that plans will be available again shortly. (c) Absent means no such operation is running. (d) Not billing_operation_parked, which does not clear on its own, not a successor already scheduled for a future billing boundary, and not a seat problem. (e) The workspace has a non-scheduled active subscription and a subscription-changing billing operation is running and none is parked. - * billing_operation_parked: (a) Why can no other plan be picked until support steps in? (b) A subscription-changing billing operation is parked for reconciliation for the workspace's active subscription: it is either paid but credits not granted, or a replacement subscription that could not finish superseding the old one. It does not clear on its own, so a client must route the user to support and never imply a wait. (c) Absent means no operation is parked. (d) Not billing_operation_in_progress, which settles on its own, not a successor already scheduled for a future billing boundary, and not a seat problem. (e) The workspace has a non-scheduled active subscription and a subscription-changing billing operation is parked; reported instead of billing_operation_in_progress when both exist. - * annual_to_monthly_unsupported: (a) Why can a monthly plan not be chosen from an annual plan? (b) The annual commitment binds, so a move to a higher-tier monthly plan is not supported before the term ends. (c) Absent means the transition is not an annual to higher-tier monthly move. (d) Not a downgrade, which is allowed and scheduled, and not incompatible_transition. (e) The transition matrix refuses the pair with its annual-to-monthly tier upgrade rule. - * exceeds_max_seats: (a) Why is this plan closed to a workspace with many people? (b) The occupied seats exceed the plan's seat limit, counted as the subscribe request counts them: a team plan counts members plus unexpired pending invitations, any other plan counts members alone. (c) Absent means the occupied seats fit the plan. (d) Not a pending-invitation count for non-team plans, where an invitation does not occupy a seat. (e) For a team plan, members + pending invitations is greater than the seat limit; for any other plan, members is greater than the seat limit; a positive workspace override replaces the plan default in both cases. - * requires_team and requires_personal are part of this enum but are not reported today. + * The node types of the workflow open in the editor. */ -export const zPlanAvailabilityReason = z.enum([ - 'same_plan', - 'incompatible_transition', - 'billing_operation_in_progress', - 'billing_operation_parked', - 'annual_to_monthly_unsupported', - 'exceeds_max_seats', - 'requires_team', - 'requires_personal' -]) +export const zDeploymentCompatibilityRequest = z.object({ + node_types: z.array(z.string()) +}) + +export const zDeploymentNodeCompatibility = z.object({ + deployment_id: z.string(), + missing_node_types: z.array(z.string()), + unknown: z.boolean() +}) /** - * Availability and eligibility information for a billing plan. + * Which of the posted node types each of the workspace's deployments, and Comfy Cloud, does not have. */ -export const zPlanAvailability = z.object({ - available: z.boolean(), - reason: zPlanAvailabilityReason.optional() +export const zDeploymentCompatibility = z.object({ + cloud: zCloudNodeCompatibility, + deployments: z.array(zDeploymentNodeCompatibility) }) /** - * Billing plan details including pricing, limits, and features. + * Request to mint a desktop login code. */ -export const zPlan = z.object({ - action: zPlanAction, - availability: zPlanAvailability, - credits: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) +export const zDesktopLoginCodeCreateRequest = z.object({ + app_version: z.string().min(1).max(64), + code_challenge: z.string().min(43).max(128), + installation_id: z + .string() + .min(8) + .max(128) + .regex(/^[A-Za-z0-9._-]+$/) .optional(), - credits_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - denied_reason: zPlanActionDeniedReason.optional(), - denied_reason_params: zPlanActionDeniedReasonParams.optional(), - duration: zSubscriptionDuration, - feature_items: z.array(zPlanFeatureItem).optional(), - features: z.array(z.string()).optional(), - max_seats: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - popular: z.boolean().optional(), - price_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - seat_summary: zPlanSeatSummary, - slug: z.string(), - tier: zSubscriptionTier + platform: z.string().min(1).max(32) }) /** - * Which developer-platform deployment this browser should run on. + * A freshly minted desktop login code and its polling parameters. */ -export const zPickWorkspaceDeploymentRequest = z.object({ - deployment_id: z.string() +export const zDesktopLoginCodeCreateResponse = z.object({ + code: z.string(), + expires_in: z.int(), + poll_interval: z.int() }) /** - * Configured credit allowance of the current plan, not remaining balance, an invoice or proof of live provider grants. Amount includes credits and period; none is a proven configured zero. Native-empty or incoherent Enterprise configuration remains unknown, never none. Missing data and unresolved, unsupported, ended or activating plans remain unknown. Unknown or missing means unavailable; clients must not render zero. Does not change eligibility. + * Request to exchange a redeemed login code for a custom token. */ -export const zPeriodCreditGrant = z.object({ - credits: z.coerce - .bigint() - .gte(BigInt(1)) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - period: zSubscriptionDuration.optional(), - state: z.enum(['amount', 'none', 'unknown']) +export const zDesktopLoginCodeExchangeRequest = z.object({ + code: z.string(), + code_verifier: z.string().min(43).max(128) }) /** - * An outstanding workspace invitation that has not yet been accepted. + * Exchange poll result. Pending until the code is redeemed in the browser. */ -export const zPendingInvite = z.object({ - email: z.email(), - expires_at: z.iso.datetime(), - id: z.string(), - invited_at: z.iso.datetime(), - token: z.string().optional() +export const zDesktopLoginCodeExchangeResponse = z.object({ + custom_token: z.string().optional(), + status: z.enum(['pending', 'complete']) }) /** - * Response containing a redirect URL to the payment portal. + * Request to claim a desktop login code for the authenticated user. */ -export const zPaymentPortalResponse = z.object({ - url: z.string() +export const zDesktopLoginCodeRedeemRequest = z.object({ + code: z.string() }) /** - * Request body for generating a payment portal session URL. + * Result of redeeming a desktop login code. */ -export const zPaymentPortalRequest = z.object({ - flow_type: z.enum(['', 'payment_method_update']).optional(), - return_url: z.string().optional() +export const zDesktopLoginCodeRedeemResponse = z.object({ + status: z.enum(['redeemed']) }) /** - * RFC 6749 §5.1 successful token response. + * First rejected op in an abort-remainder batch. */ -export const zOAuthTokenResponse = z.object({ - access_token: z.string(), - expires_in: z.int(), - refresh_token: z.string(), - scope: z.string(), - token_type: z.enum(['Bearer']) +export const zDocOpFailure = z.object({ + code: z.string(), + index: z.int(), + message: z.string(), + op_id: z.string().max(128).optional() }) -/** - * RFC 6749 §5.2 error response. - */ -export const zOAuthTokenError = z.object({ - error: z.string(), - error_description: z.string().optional() +export const zDocOpsResultData = z.object({ + applied: z.array(z.string()).optional(), + code: z.string().optional(), + failed: zDocOpFailure.optional(), + lww_dropped: z.array(z.string()).optional(), + message: z.string().optional(), + ok: z.boolean(), + op_ids: z.array(z.string().min(1).max(128)).max(256).optional(), + seq: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .optional(), + skipped: z.array(z.string()).optional(), + v: z.int().gte(1).lte(1), + workflow_id: z.string().min(1).max(128) }) /** - * RFC 7591 §3.2.1 successful registration response. + * Host acknowledgement for a doc_ops batch. */ -export const zOAuthRegisterResponse = z.object({ - application_type: z.enum(['native', 'web']), - client_id: z.string(), - client_id_issued_at: z.coerce +export const zDocOpsResultFrame = z.object({ + data: zDocOpsResultData, + type: z.enum(['doc_ops_result']) +}) + +export const zDocResetData = z.object({ + actor: z.string().max(256).optional(), + lineage_seq: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -1755,386 +2263,460 @@ export const zOAuthRegisterResponse = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }), - client_name: z.string().optional(), - grant_types: z.array(z.string()), - redirect_uris: z.array(z.string()), - response_types: z.array(z.string()), - token_endpoint_auth_method: z.enum(['none']) + seq: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + v: z.int().gte(1).lte(1), + workflow_id: z.string().min(1).max(128) }) /** - * RFC 7591 §2 client metadata document. Fields fall into three groups: the ones the server honors, the purely informational ones it accepts and ignores (`scope` plus the client-profile fields `client_uri`, `logo_uri`, `tos_uri`, `policy_uri`, `contacts`, `software_id`, `software_version` — parsed, never persisted, never echoed, per RFC 7591 §2's "MAY ignore" allowance), and the ones it rejects with `invalid_client_metadata` (`resource_grants`, because scopes/grants are server-owned for dynamic clients; `jwks`/`jwks_uri`, because they only apply to the JWT client-authentication methods DCR does not offer). `additionalProperties: false` mirrors the runtime middleware that rejects any unknown metadata key. - * + * Host-to-follower lineage break. The follower must resubscribe for fresh state. */ -export const zOAuthRegisterRequest = z.object({ - application_type: z.enum(['native', 'web']).optional(), - client_name: z.string().max(100).optional(), - client_uri: z.string().nullish(), - contacts: z.array(z.string()).nullish(), - grant_types: z - .array(z.enum(['authorization_code', 'refresh_token'])) - .optional(), - jwks: z.record(z.string(), z.unknown()).nullish(), - jwks_uri: z.string().nullish(), - logo_uri: z.string().nullish(), - policy_uri: z.string().nullish(), - redirect_uris: z.array(z.string()).min(1).max(5), - resource_grants: z.record(z.string(), z.array(z.string())).nullish(), - response_types: z.array(z.enum(['code'])).optional(), - scope: z.string().nullish(), - software_id: z.string().nullish(), - software_version: z.string().nullish(), - token_endpoint_auth_method: z.string().optional(), - tos_uri: z.string().nullish() +export const zDocResetFrame = z.object({ + data: zDocResetData, + type: z.enum(['doc_reset']) }) -/** - * RFC 7591 §3.2.2 error response. - */ -export const zOAuthRegisterError = z.object({ - error: z.enum(['invalid_redirect_uri', 'invalid_client_metadata']), - error_description: z.string().nullish() +export const zDocSubscribedData = z.object({ + code: z.string().optional(), + expected_seq: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .optional(), + lineage_seq: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .optional(), + message: z.string().optional(), + ok: z.boolean(), + seq: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .optional(), + v: z.int().gte(1).lte(1), + workflow_id: z.string().min(1).max(128) }) /** - * Standard error response with a machine-readable code and human-readable message. + * Server acknowledgement for a doc_subscribe request. */ -export const zErrorResponse = z.object({ - code: z.string(), - denied_reasons: zWorkspaceCreationDenials.optional(), - details: z.record(z.string(), z.unknown()).optional(), - message: z.string(), - organization_id: z.string().optional() +export const zDocSubscribedFrame = z.object({ + data: zDocSubscribedData, + type: z.enum(['doc_subscribed']) }) -/** - * Union of the two 400 shapes /oauth/register can emit. `OAuthRegisterError` is the handler-shaped RFC 7591 §3.2.2 error; `ErrorResponse` is the strict-server binding-layer error fired when the request body fails OpenAPI-schema validation before the handler runs, normalized to the standard {code, message} shape by the custom Echo HTTPErrorHandler (BE-1178). - * - */ -export const zOAuthRegisterBadRequestResponse = z.union([ - zOAuthRegisterError, - zErrorResponse -]) +export const zDocUpdateData = z.object({ + actor: z.string().max(256).optional(), + lineage_seq: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + op_ids: z.array(z.string().min(1).max(128)).max(256).optional(), + seq: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + update_b64: z.string(), + v: z.int().gte(1).lte(1), + workflow_id: z.string().min(1).max(128) +}) /** - * OAuth 2.1 protected-resource metadata (RFC 9728). + * Host-to-follower incremental Yjs document update. */ -export const zOAuthProtectedResourceMetadata = z.object({ - authorization_servers: z.array(z.url()), - bearer_methods_supported: z.array(z.string()).optional(), - resource: z.url(), - scopes_supported: z.array(z.string()) +export const zDocUpdateFrame = z.object({ + data: zDocUpdateData, + type: z.enum(['doc_update']) }) /** - * One workspace option presented in the OAuth consent challenge. Promoted to a named schema so the generated Go type is referenceable in handlers and tests rather than re-declared as an anonymous struct at every callsite. + * Optional request body for the token exchange endpoint. The Firebase JWT + * being exchanged is supplied via the `Authorization: Bearer` header; this + * body only carries workspace-selection input. * */ -export const zOAuthConsentChallengeWorkspace = z.object({ - id: z.string(), - name: z.string(), - role: z.enum(['owner', 'member']), - type: z.enum(['personal', 'team']) +export const zExchangeTokenRequest = z.object({ + resource: z.enum(['partner-node']).optional(), + workspace_id: z.string().optional() }) /** - * Server-side state describing the OAuth consent decision the user is being asked to make. Returned by GET /oauth/authorize when a valid Cloud session exists; the frontend renders the consent UI from this payload and POSTs the decision back. Browser never sees the original OAuth params on resume. - * + * Detailed execution error information from ComfyUI */ -export const zOAuthConsentChallenge = z.object({ - client_display_name: z.string(), - client_provenance: z.enum(['first_party', 'dynamic']), - csrf_token: z.string(), - oauth_request_id: z.uuid(), - redirect_uri: z.url(), - resource_display_name: z.string(), - scopes: z.array(z.string()), - workspaces: z.array(zOAuthConsentChallengeWorkspace) +export const zExecutionError = z.object({ + current_inputs: z.record(z.string(), z.unknown()), + current_outputs: z.record(z.string(), z.unknown()), + exception_message: z.string(), + exception_type: z.string(), + node_id: z.string(), + node_type: z.string(), + traceback: z.array(z.string()) }) /** - * Redirect target produced after a JSON consent submission. The frontend must navigate the browser to this URL so custom-scheme client callbacks work without relying on fetch-visible 302 headers. + * Response containing a signed download URL for an exported asset archive. */ -export const zOAuthAuthorizeRedirectResponse = z.object({ - redirect_url: z.url() +export const zExportDownloadUrlResponse = z.object({ + expires_at: z.iso.datetime().optional(), + url: z.string() }) /** - * OAuth 2.1 authorization-server metadata (RFC 8414). + * Request to submit user feedback */ -export const zOAuthAuthorizationServerMetadata = z.object({ - authorization_endpoint: z.url(), - code_challenge_methods_supported: z.array(z.string()), - grant_types_supported: z.array(z.string()), - issuer: z.url(), - jwks_uri: z.url(), - registration_endpoint: z.url().optional(), - response_types_supported: z.array(z.string()), - scopes_supported: z.array(z.string()).optional(), - token_endpoint: z.url(), - token_endpoint_auth_methods_supported: z.array(z.string()) +export const zFeedbackRequest = z.object({ + content: z.string().optional(), + metadata: z.record(z.string(), z.unknown()).optional(), + rating: z.int().gte(1).lte(5).optional(), + type: z.enum(['missing_nodes', 'general', 'missing_models']) }) /** - * Metadata describing a single ComfyUI node type and its inputs/outputs. + * Response after submitting feedback */ -export const zNodeInfo = z.object({ - api_node: z.boolean().optional(), - category: z.string().optional(), - deprecated: z.boolean().optional(), - description: z.string().optional(), - display_name: z.string().optional(), - experimental: z.boolean().optional(), - input: z.record(z.string(), z.unknown()).optional(), - input_order: z.record(z.string(), z.array(z.string())).optional(), +export const zFeedbackResponse = z.record(z.string(), z.unknown()) + +/** + * Request body for forking an existing workflow into the user's account. + */ +export const zForkWorkflowRequest = z.object({ name: z.string().optional(), - output: z.array(z.string()).optional(), - output_is_list: z.array(z.boolean()).optional(), - output_name: z.array(z.string()).optional(), - output_node: z.boolean().optional(), - output_tooltips: z.array(z.string()).optional(), - python_module: z.string().optional() + source_version: z.int() }) /** - * Where and how the browser sends a model file's bytes (POST /api/assets/uploads). + * Individual file entry within a full user data response. */ -export const zModelUploadStarted = z.object({ - expires_at: z.iso.datetime(), - headers: z.record(z.string(), z.string()), - max_size_bytes: z.coerce +export const zGetUserDataResponseFullFile = z.object({ + modified: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - method: z.enum(['PUT']), - upload_id: z.uuid(), - upload_url: z.string() + }) + .optional(), + path: z.string().optional(), + size: z.int().optional() }) /** - * Represents a folder containing models + * List of user data file entries (each with path, size, and modification time) returned when full_info=true. */ -export const zModelFolder = z.object({ - folders: z.array(z.string()), - name: z.string() -}) +export const zGetUserDataResponseFull = z.array(zGetUserDataResponseFullFile) /** - * Represents a model file with metadata + * The union of setting keys this server accepts. Published as an enum so clients cannot address a key the registry does not know. */ -export const zModelFile = z.object({ - name: z.string(), - pathIndex: z.int() -}) +export const zGlobalSettingKey = z.enum(['Comfy.AgentPanel.ConsentAccepted']) /** - * The `data` of a model_download WebSocket event: the latest state of one model file a Cloud job on a deployment downloads before ComfyUI starts it. Sent by the deployment's worker (services/comfy-deploy/containerruntime worker.py, _ModelNews) only when the job asked for live progress, for each file the job fetches and never for a file the release ships, all before the job's execution_start. A failed file ends the job: no other source is tried and the job is not retried, so its execution_error (or execution_interrupted, when a cancel was in flight) follows. New fields may be added; a client ignores the ones it does not read. + * The last-changed timestamp every stored setting carries. */ -export const zModelDownloadData = z.object({ - bytes_downloaded: z.int(), - bytes_total: z.int().nullable(), - count: z.int(), - dir: z.string(), - index: z.int(), - name: z.string(), - progress: z.number().nullable(), - prompt_id: z.string(), - status: z.string(), - workflow_id: z.string().optional() +export const zGlobalSettingUpdatedAt = z.object({ + updated_at: z.iso.datetime() }) /** - * Server-to-client model_download frame on /ws. A Cloud job's model file download moved. + * A setting key with its value, discriminated on `key`. Narrowing on the key yields exactly one value schema, which is what gives writes their type safety. */ -export const zModelDownloadFrame = z.object({ - data: zModelDownloadData, - type: z.enum(['model_download']) -}) +export const zGlobalSettingValue = zAgentConsentSettingValue /** - * Workspace member with profile and role information. + * Full data for a global subgraph blueprint */ -export const zMember = z.object({ - capabilities: zWorkspaceMemberCapabilities.optional(), - email: z.string(), - id: z.string(), - is_original_owner: z.boolean(), - joined_at: z.iso.datetime(), - managed_by_directory: z.boolean().optional(), +export const zGlobalSubgraphData = z.object({ + data: z.string(), + info: z.object({ + node_pack: z.string() + }), name: z.string(), - role: z.enum(['owner', 'member']) + source: z.string() }) /** - * 400 for a missing `filename` or a `res` that is not a number, on the media routes served outside the generated wrapper. + * Metadata for a global subgraph blueprint (without full data) */ -export const zMediaQueryError = z.object({ - error: z.string() +export const zGlobalSubgraphInfo = z.object({ + data: z.string().optional(), + info: z.object({ + node_pack: z.string() + }), + name: z.string(), + source: z.string() }) /** - * A 400 from a media route served outside the generated wrapper: ErrorResponse, or MediaQueryError for a bad query parameter. - */ -export const zMediaBadRequestError = z.union([zErrorResponse, zMediaQueryError]) - -/** - * Paginated list of workspaces the authenticated user belongs to. + * History entry with full prompt data. The workflow graph (extra_data.extra_pnginfo) is omitted from records persisted after it stopped being stored; older records may still contain it. */ -export const zListWorkspacesResponse = z.object({ - can_create_workspace: z.boolean(), - default_workspace_id: z.string().optional(), - denied_reasons: zWorkspaceCreationDenials.optional(), - max_owned_workspaces: z.int(), - workspaces: z.array(zWorkspaceWithRole) +export const zHistoryDetailEntry = z.object({ + meta: z.record(z.string(), z.unknown()).optional(), + outputs: z.record(z.string(), z.unknown()).optional(), + prompt: z + .object({ + extra_data: z.record(z.string(), z.unknown()).optional(), + outputs_to_execute: z.array(z.string()).optional(), + priority: z.number().optional(), + prompt: z.record(z.string(), z.unknown()).optional(), + prompt_id: z.string().optional() + }) + .optional(), + status: z.record(z.string(), z.unknown()).optional() }) /** - * List of API keys associated with the current workspace. + * Detailed execution history response for a specific prompt. + * Returns a dictionary with prompt_id as key and full history data as value. + * */ -export const zListWorkspaceApiKeysResponse = z.object({ - api_keys: z.array(zWorkspaceApiKeyInfo) -}) +export const zHistoryDetailResponse = z.record(z.string(), zHistoryDetailEntry) /** - * Paginated list of available asset tags. + * History entry with prompt_id and execution data */ -export const zListTagsResponse = z.object({ - has_more: z.boolean(), - tags: z.array(zTagInfo), - total: z.int() +export const zHistoryEntry = z.object({ + create_time: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .optional(), + meta: z.record(z.string(), z.unknown()).optional(), + outputs: z.record(z.string(), z.unknown()).optional(), + prompt: z + .object({ + extra_data: z.record(z.string(), z.unknown()).optional(), + priority: z.number().optional(), + prompt_id: z.string().optional() + }) + .optional(), + prompt_id: z.string(), + status: z.record(z.string(), z.unknown()).optional(), + workflow_id: z.string().optional() }) /** - * List of members in the current workspace. + * Request to manage history operations */ -export const zListMembersResponse = z.object({ - members: z.array(zMember), - pagination: zPaginationInfo +export const zHistoryManageRequest = z.object({ + clear: z.boolean().optional(), + delete: z.array(z.string()).optional() }) /** - * List of pending invitations for the current workspace. + * Execution history response with history array. + * Returns an object with a "history" key containing an array of history entries. + * Each entry includes prompt_id as a property along with execution data. + * */ -export const zListInvitesResponse = z.object({ - invites: z.array(zPendingInvite) +export const zHistoryResponse = z.object({ + history: z.array(zHistoryEntry) }) -/** - * Represents a user-owned asset (image, video, or other generated output). - */ -export const zAsset = z.object({ - created_at: z.iso.datetime(), - display_name: z.string().nullish(), - file_path: z.string().nullish(), - hash: z - .string() - .regex(/^blake3:[a-f0-9]{64}$/) - .optional(), - id: z.uuid(), - is_immutable: z.boolean().optional(), - job_id: z.uuid().nullish(), - last_access_time: z.iso.datetime().optional(), - loader_path: z.string().nullish(), - metadata: z.record(z.string(), z.unknown()).readonly().optional(), - mime_type: z.string().optional(), - name: z.string(), - preview_id: z.uuid().nullish(), - preview_url: z.url().optional(), - short_url: z.string().nullish(), - size: z.coerce +export const zHostedTopupCheckout = z.object({ + amount_cents: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + payment_amount_cents: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .nullable(), + session_id: z.string(), + state: z.enum([ + 'open', + 'payment_processing', + 'credits_applying', + 'fulfilled', + 'expired', + 'failed' + ]) +}) + +/** + * Durable discovery record only. Fetch the session endpoint for current payment and credit-fulfillment state; a summary proves neither. An unavailable session remains discoverable without hiding other rows. + * + */ +export const zHostedTopupCheckoutSummary = z.object({ + amount_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - tags: z.array(z.string()).optional(), - updated_at: z.iso.datetime(), - user_metadata: z.record(z.string(), z.unknown()).optional() + }), + created_at: z.iso.datetime(), + session_id: z.string() +}) + +export const zHostedTopupCheckoutList = z.object({ + checkouts: z.array(zHostedTopupCheckoutSummary), + next_cursor: z.string().nullable() }) /** - * Paginated list of assets belonging to the authenticated user. + * Request body for requesting a signed upload URL for a Hub asset. */ -export const zListAssetsResponse = z.object({ - assets: z.array(zAsset), - has_more: z.boolean(), - next_cursor: z.string().optional(), - total: z.int() +export const zHubAssetUploadUrlRequest = z.object({ + content_type: z.string(), + filename: z.string() }) /** - * Reference to a Hub label by ID. + * Response containing a signed upload URL and the target asset path. */ -export const zLabelRef = z.object({ +export const zHubAssetUploadUrlResponse = z.object({ + public_url: z.string(), + token: z.string(), + upload_url: z.string() +}) + +/** + * Metadata for a single Hub label. + */ +export const zHubLabelInfo = z.object({ + description: z.string().optional(), display_name: z.string(), - name: z.string() + name: z.string(), + type: z.enum(['tag', 'model', 'custom_node']) }) /** - * A single JSON Web Key entry within a JWKS response. + * List of available Hub labels for categorizing workflows. */ -export const zJwkKey = z.object({ - alg: z.string(), - crv: z.string(), - kid: z.string(), - kty: z.string(), - use: z.string(), - x: z.string(), - y: z.string() +export const zHubLabelListResponse = z.object({ + labels: z.array(zHubLabelInfo) }) /** - * JSON Web Key Set containing the public keys used to verify Cloud JWTs. + * Full public profile for a Hub creator. */ -export const zJwksResponse = z.object({ - keys: z.array(zJwkKey) +export const zHubProfile = z.object({ + avatar_url: z.string().optional(), + description: z.string().optional(), + display_name: z.string().optional(), + username: z.string(), + website_urls: z.array(z.string()).optional() }) /** - * Detailed execution error information from ComfyUI + * Abbreviated Hub profile used in workflow listings. */ -export const zExecutionError = z.object({ - current_inputs: z.record(z.string(), z.unknown()), - current_outputs: z.record(z.string(), z.unknown()), - exception_message: z.string(), - exception_type: z.string(), - node_id: z.string(), - node_type: z.string(), - traceback: z.array(z.string()) +export const zHubProfileSummary = z.object({ + avatar_url: z.string().optional(), + display_name: z.string().optional(), + username: z.string() }) /** - * The deployment a job ran on and the Release it ran, as they were when the job was sent: deployment_id and release_id stay the same after the deployment is updated to another Release or deleted. build_name and release_version are read from comfy-builder when the job is read, so a renamed Build shows its new name within a few minutes. + * Response indicating whether a Hub username is available. */ -export const zJobDeployment = z.object({ - build_name: z.string().optional(), - deployment_id: z.string(), - name: z.string().optional(), - release_id: z.string(), - release_version: z.int().optional() +export const zHubUsernameCheckResponse = z.object({ + available: z.boolean(), + suggestions: z.array(z.string()).optional(), + username: z.string(), + validation_error: z.string().optional() }) /** - * Lightweight job data for list views (workflow and full outputs excluded) + * Public workflow status. NULL in the database is represented as pending in API responses. */ -export const zJobEntry = z.object({ - create_time: z.coerce +export const zHubWorkflowStatus = z.enum([ + 'pending', + 'approved', + 'rejected', + 'deprecated' +]) + +/** + * Entry in the curated workflow template gallery shown on the home page. + */ +export const zHubWorkflowTemplateEntry = z.object({ + contentTemplate: z.string().optional(), + date: z.string().optional(), + description: z.string().optional(), + extendedDescription: z.string().optional(), + faqItems: z + .array( + z.object({ + answer: z.string(), + question: z.string() + }) + ) + .optional(), + howToUse: z.array(z.string()).optional(), + includeOnDistributions: z.array(z.string()).optional(), + io: z + .object({ + inputs: z.array(z.record(z.string(), z.unknown())).optional(), + outputs: z.array(z.record(z.string(), z.unknown())).optional() + }) + .optional(), + isApp: z.boolean(), + isEssential: z.boolean().optional(), + logos: z.array(z.record(z.string(), z.unknown())).optional(), + mediaSubtype: z.string().optional(), + mediaType: z.string().optional(), + metaDescription: z.string().optional(), + models: z.array(z.string()).optional(), + name: z.string(), + openSource: z.boolean().optional(), + profile: zHubProfileSummary.optional(), + requiresCustomNodes: z.array(z.string()).optional(), + searchRank: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - deployment: zJobDeployment.optional(), - execution_end_time: z.coerce + }) + .optional(), + shareId: z.string().optional(), + size: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -2143,8 +2725,15 @@ export const zJobEntry = z.object({ error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - execution_error: zExecutionError.optional(), - execution_start_time: z.coerce + status: zHubWorkflowStatus, + suggestedUseCases: z.array(z.string()).optional(), + tags: z.array(z.string()).optional(), + thumbnailComparisonUrl: z.string().optional(), + thumbnailUrl: z.string().optional(), + thumbnailVariant: z.string().optional(), + title: z.string(), + tutorialUrl: z.string().optional(), + usage: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -2153,84 +2742,106 @@ export const zJobEntry = z.object({ error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - executor: z.enum(['cloud_inference', 'platform_gateway']).optional(), - id: z.uuid(), - outputs_count: z.int().optional(), - preview_output: z.record(z.string(), z.unknown()).optional(), - previewable_outputs_count: z.int().optional(), - status: z.enum([ - 'pending', - 'in_progress', - 'completed', - 'failed', - 'cancelled' - ]), - workflow_id: z.string().optional() + vram: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .optional() }) /** - * Paginated list of jobs for the authenticated user. + * Request body for importing assets from a published workflow. */ -export const zJobsListResponse = z.object({ - jobs: z.array(zJobEntry), - pagination: zPaginationInfo +export const zImportPublishedAssetsRequest = z.object({ + published_asset_ids: z.array(z.string()), + share_id: z.string().nullish() }) /** - * Response for POST /api/jobs/cancel. + * Response after importing published workflow assets. */ -export const zJobsCancelResponse = z.object({ - cancelled: z.array(z.string()) +export const zImportPublishedAssetsResponse = z.object({ + assets: z.array(zAssetInfo) }) /** - * Request to cancel multiple jobs by ID. + * Result of redeeming an input-image upload grant. Identical in shape to + * the POST /api/upload/image response. + * */ -export const zJobsCancelRequest = z.object({ - job_ids: z.array(z.uuid()).min(1).max(100) +export const zInputUploadResponse = z.object({ + name: z.string(), + subfolder: z.string(), + type: z.string() }) /** - * Job status information + * Request body for minting an input-image, input-audio or input-video upload grant. */ -export const zJobStatusResponse = z.object({ - assigned_inference: z.string().nullish(), - created_at: z.iso.datetime(), - error_message: z.string().nullish(), - id: z.uuid(), - last_state_update: z.iso.datetime().optional(), - status: z.enum([ - 'waiting_to_dispatch', - 'pending', - 'in_progress', - 'completed', - 'error', - 'cancelled' - ]), - updated_at: z.iso.datetime() +export const zInputUploadUrlRequest = z.object({ + content_type: z.string().max(64) +}) + +/** + * Pay once with exactly one new-card confirmation token or explicitly selected attached card. Keep the exact request and key on retry; never fall back to the on-file route. + */ +export const zInteractiveTopupRequest = z.object({ + amount_cents: z.coerce.bigint().gte(BigInt(500)).lte(BigInt(99999999)), + checkout_attempt_id: z.string().optional(), + confirmation_token: z.string().min(1).max(255).optional(), + idempotency_key: z.string().min(1).max(255), + make_default: z.boolean().optional().default(false), + return_url: z.string().min(1).max(2048).optional(), + save_payment_method: z.boolean().optional().default(false), + saved_payment_method_id: z.string().min(1).max(255).optional() +}) + +/** + * Response for POST /api/jobs/{job_id}/cancel. Returned on both fresh cancels and idempotent no-ops. + */ +export const zJobCancelResponse = z.object({ + cancelled: z.boolean() +}) + +/** + * The deployment a job ran on and the Release it ran, as they were when the job was sent: deployment_id and release_id stay the same after the deployment is updated to another Release or deleted. build_name and release_version are read from comfy-builder when the job is read, so a renamed Build shows its new name within a few minutes. + */ +export const zJobDeployment = z.object({ + build_name: z.string().optional(), + deployment_id: z.string(), + name: z.string().optional(), + release_id: z.string(), + release_version: z.int().optional() }) /** - * An asset produced by a job, enriched with the per-output node context - * (`node_id`, `output_key`, `output_index`) correlated from the job's - * execution outputs by content hash. The node-context fields are null - * when the asset cannot be matched to an output entry. - * + * Lightweight job data for list views (workflow and full outputs excluded) */ -export const zJobOutputAsset = z.object({ - created_at: z.iso.datetime(), - hash: z - .string() - .regex(/^blake3:[a-f0-9]{64}$/) +export const zJobEntry = z.object({ + create_time: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + deployment: zJobDeployment.optional(), + execution_end_time: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) .optional(), - id: z.uuid(), - mime_type: z.string().optional(), - name: z.string(), - node_id: z.string().nullish(), - output_index: z.int().nullish(), - output_key: z.string().nullish(), - preview_url: z.string().optional(), - size: z.coerce + execution_error: zExecutionError.optional(), + execution_start_time: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -2238,7 +2849,20 @@ export const zJobOutputAsset = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) - .optional() + .optional(), + executor: z.enum(['cloud_inference', 'platform_gateway']).optional(), + id: z.uuid(), + outputs_count: z.int().optional(), + preview_output: z.record(z.string(), z.unknown()).optional(), + previewable_outputs_count: z.int().optional(), + status: z.enum([ + 'pending', + 'in_progress', + 'completed', + 'failed', + 'cancelled' + ]), + workflow_id: z.string().optional() }) /** @@ -2319,173 +2943,103 @@ export const zJobDetailResponse = z.object({ }) /** - * Response for POST /api/jobs/{job_id}/cancel. Returned on both fresh cancels and idempotent no-ops. - */ -export const zJobCancelResponse = z.object({ - cancelled: z.boolean() -}) - -/** - * Paginated list of the assets produced by a single job. - */ -export const zJobAssetsResponse = z.object({ - assets: z.array(zJobOutputAsset), - job_id: z.uuid(), - pagination: zPaginationInfo -}) - -/** - * Pay once with exactly one new-card confirmation token or explicitly selected attached card. Keep the exact request and key on retry; never fall back to the on-file route. - */ -export const zInteractiveTopupRequest = z.object({ - amount_cents: z.coerce.bigint().gte(BigInt(500)).lte(BigInt(99999999)), - checkout_attempt_id: z.string().optional(), - confirmation_token: z.string().min(1).max(255).optional(), - idempotency_key: z.string().min(1).max(255), - make_default: z.boolean().optional().default(false), - return_url: z.string().min(1).max(2048).optional(), - save_payment_method: z.boolean().optional().default(false), - saved_payment_method_id: z.string().min(1).max(255).optional() -}) - -/** - * Request body for minting an input-image, input-audio or input-video upload grant. - */ -export const zInputUploadUrlRequest = z.object({ - content_type: z.string().max(64) -}) - -/** - * Result of redeeming an input-image upload grant. Identical in shape to - * the POST /api/upload/image response. + * An asset produced by a job, enriched with the per-output node context + * (`node_id`, `output_key`, `output_index`) correlated from the job's + * execution outputs by content hash. The node-context fields are null + * when the asset cannot be matched to an output entry. * */ -export const zInputUploadResponse = z.object({ +export const zJobOutputAsset = z.object({ + created_at: z.iso.datetime(), + hash: z + .string() + .regex(/^blake3:[a-f0-9]{64}$/) + .optional(), + id: z.uuid(), + mime_type: z.string().optional(), name: z.string(), - subfolder: z.string(), - type: z.string() -}) - -/** - * Response after importing published workflow assets. - */ -export const zImportPublishedAssetsResponse = z.object({ - assets: z.array(zAssetInfo) + node_id: z.string().nullish(), + output_index: z.int().nullish(), + output_key: z.string().nullish(), + preview_url: z.string().optional(), + size: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .optional() }) /** - * Request body for importing assets from a published workflow. + * Job status information */ -export const zImportPublishedAssetsRequest = z.object({ - published_asset_ids: z.array(z.string()), - share_id: z.string().nullish() +export const zJobStatusResponse = z.object({ + assigned_inference: z.string().nullish(), + created_at: z.iso.datetime(), + error_message: z.string().nullish(), + id: z.uuid(), + last_state_update: z.iso.datetime().optional(), + status: z.enum([ + 'waiting_to_dispatch', + 'pending', + 'in_progress', + 'completed', + 'error', + 'cancelled' + ]), + updated_at: z.iso.datetime() }) /** - * Public workflow status. NULL in the database is represented as pending in API responses. - */ -export const zHubWorkflowStatus = z.enum([ - 'pending', - 'approved', - 'rejected', - 'deprecated' -]) - -/** - * Abbreviated Hub profile used in workflow listings. + * Request to cancel multiple jobs by ID. */ -export const zHubProfileSummary = z.object({ - avatar_url: z.string().optional(), - display_name: z.string().optional(), - username: z.string() +export const zJobsCancelRequest = z.object({ + job_ids: z.array(z.uuid()).min(1).max(100) }) /** - * Entry in the curated workflow template gallery shown on the home page. + * Response for POST /api/jobs/cancel. */ -export const zHubWorkflowTemplateEntry = z.object({ - contentTemplate: z.string().optional(), - date: z.string().optional(), - description: z.string().optional(), - extendedDescription: z.string().optional(), - faqItems: z - .array( - z.object({ - answer: z.string(), - question: z.string() - }) - ) - .optional(), - howToUse: z.array(z.string()).optional(), - includeOnDistributions: z.array(z.string()).optional(), - io: z - .object({ - inputs: z.array(z.record(z.string(), z.unknown())).optional(), - outputs: z.array(z.record(z.string(), z.unknown())).optional() - }) - .optional(), - isApp: z.boolean(), - isEssential: z.boolean().optional(), - logos: z.array(z.record(z.string(), z.unknown())).optional(), - mediaSubtype: z.string().optional(), - mediaType: z.string().optional(), - metaDescription: z.string().optional(), - models: z.array(z.string()).optional(), - name: z.string(), - openSource: z.boolean().optional(), - profile: zHubProfileSummary.optional(), - requiresCustomNodes: z.array(z.string()).optional(), - searchRank: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - shareId: z.string().optional(), - size: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - status: zHubWorkflowStatus, - suggestedUseCases: z.array(z.string()).optional(), - tags: z.array(z.string()).optional(), - thumbnailComparisonUrl: z.string().optional(), - thumbnailUrl: z.string().optional(), - thumbnailVariant: z.string().optional(), - title: z.string(), - tutorialUrl: z.string().optional(), - usage: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - vram: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional() +export const zJobsCancelResponse = z.object({ + cancelled: z.array(z.string()) }) /** - * Abbreviated Hub workflow metadata used in search and listing results. + * A single JSON Web Key entry within a JWKS response. */ -export const zHubWorkflowSummary = z.object({ +export const zJwkKey = z.object({ + alg: z.string(), + crv: z.string(), + kid: z.string(), + kty: z.string(), + use: z.string(), + x: z.string(), + y: z.string() +}) + +/** + * JSON Web Key Set containing the public keys used to verify Cloud JWTs. + */ +export const zJwksResponse = z.object({ + keys: z.array(zJwkKey) +}) + +/** + * Reference to a Hub label by ID. + */ +export const zLabelRef = z.object({ + display_name: z.string(), + name: z.string() +}) + +/** + * Full Hub workflow detail including versions, assets, and statistics. + */ +export const zHubWorkflowDetail = z.object({ + assets: z.array(zAssetInfo), custom_nodes: z.array(zLabelRef).optional(), description: z.string().optional(), is_app: z.boolean(), @@ -2501,14 +3055,15 @@ export const zHubWorkflowSummary = z.object({ thumbnail_comparison_url: z.string().optional(), thumbnail_type: z.enum(['image', 'video', 'image_comparison']).optional(), thumbnail_url: z.string().optional(), - tutorial_url: z.string().optional() + tutorial_url: z.string().optional(), + workflow_id: z.string(), + workflow_json: z.record(z.string(), z.unknown()) }) /** - * Full Hub workflow detail including versions, assets, and statistics. + * Abbreviated Hub workflow metadata used in search and listing results. */ -export const zHubWorkflowDetail = z.object({ - assets: z.array(zAssetInfo), +export const zHubWorkflowSummary = z.object({ custom_nodes: z.array(zLabelRef).optional(), description: z.string().optional(), is_app: z.boolean(), @@ -2524,9 +3079,7 @@ export const zHubWorkflowDetail = z.object({ thumbnail_comparison_url: z.string().optional(), thumbnail_type: z.enum(['image', 'video', 'image_comparison']).optional(), thumbnail_url: z.string().optional(), - tutorial_url: z.string().optional(), - workflow_id: z.string(), - workflow_json: z.record(z.string(), z.unknown()) + tutorial_url: z.string().optional() }) /** @@ -2538,526 +3091,437 @@ export const zHubWorkflowListResponse = z.object({ }) /** - * Response indicating whether a Hub username is available. + * Paginated list of assets belonging to the authenticated user. */ -export const zHubUsernameCheckResponse = z.object({ - available: z.boolean(), - suggestions: z.array(z.string()).optional(), - username: z.string(), - validation_error: z.string().optional() +export const zListAssetsResponse = z.object({ + assets: z.array(zAsset), + has_more: z.boolean(), + next_cursor: z.string().optional(), + total: z.int() }) /** - * Full public profile for a Hub creator. + * 400 for a missing `filename` or a `res` that is not a number, on the media routes served outside the generated wrapper. */ -export const zHubProfile = z.object({ - avatar_url: z.string().optional(), - description: z.string().optional(), - display_name: z.string().optional(), - username: z.string(), - website_urls: z.array(z.string()).optional() +export const zMediaQueryError = z.object({ + error: z.string() }) /** - * Metadata for a single Hub label. + * The `data` of a model_download WebSocket event: the latest state of one model file a Cloud job on a deployment downloads before ComfyUI starts it. Sent by the deployment's worker (services/comfy-deploy/containerruntime worker.py, _ModelNews) only when the job asked for live progress, for each file the job fetches and never for a file the release ships, all before the job's execution_start. A failed file ends the job: no other source is tried and the job is not retried, so its execution_error (or execution_interrupted, when a cancel was in flight) follows. New fields may be added; a client ignores the ones it does not read. */ -export const zHubLabelInfo = z.object({ - description: z.string().optional(), - display_name: z.string(), +export const zModelDownloadData = z.object({ + bytes_downloaded: z.int(), + bytes_total: z.int().nullable(), + count: z.int(), + dir: z.string(), + index: z.int(), name: z.string(), - type: z.enum(['tag', 'model', 'custom_node']) -}) - -/** - * List of available Hub labels for categorizing workflows. - */ -export const zHubLabelListResponse = z.object({ - labels: z.array(zHubLabelInfo) -}) - -/** - * Response containing a signed upload URL and the target asset path. - */ -export const zHubAssetUploadUrlResponse = z.object({ - public_url: z.string(), - token: z.string(), - upload_url: z.string() -}) - -/** - * Request body for requesting a signed upload URL for a Hub asset. - */ -export const zHubAssetUploadUrlRequest = z.object({ - content_type: z.string(), - filename: z.string() -}) - -/** - * Durable discovery record only. Fetch the session endpoint for current payment and credit-fulfillment state; a summary proves neither. An unavailable session remains discoverable without hiding other rows. - * - */ -export const zHostedTopupCheckoutSummary = z.object({ - amount_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - created_at: z.iso.datetime(), - session_id: z.string() -}) - -export const zHostedTopupCheckoutList = z.object({ - checkouts: z.array(zHostedTopupCheckoutSummary), - next_cursor: z.string().nullable() -}) - -export const zHostedTopupCheckout = z.object({ - amount_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - payment_amount_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .nullable(), - session_id: z.string(), - state: z.enum([ - 'open', - 'payment_processing', - 'credits_applying', - 'fulfilled', - 'expired', - 'failed' - ]) -}) - -/** - * History entry with prompt_id and execution data - */ -export const zHistoryEntry = z.object({ - create_time: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - meta: z.record(z.string(), z.unknown()).optional(), - outputs: z.record(z.string(), z.unknown()).optional(), - prompt: z - .object({ - extra_data: z.record(z.string(), z.unknown()).optional(), - priority: z.number().optional(), - prompt_id: z.string().optional() - }) - .optional(), + progress: z.number().nullable(), prompt_id: z.string(), - status: z.record(z.string(), z.unknown()).optional(), + status: z.string(), workflow_id: z.string().optional() }) /** - * Execution history response with history array. - * Returns an object with a "history" key containing an array of history entries. - * Each entry includes prompt_id as a property along with execution data. - * - */ -export const zHistoryResponse = z.object({ - history: z.array(zHistoryEntry) -}) - -/** - * Request to manage history operations - */ -export const zHistoryManageRequest = z.object({ - clear: z.boolean().optional(), - delete: z.array(z.string()).optional() -}) - -/** - * History entry with full prompt data. The workflow graph (extra_data.extra_pnginfo) is omitted from records persisted after it stopped being stored; older records may still contain it. - */ -export const zHistoryDetailEntry = z.object({ - meta: z.record(z.string(), z.unknown()).optional(), - outputs: z.record(z.string(), z.unknown()).optional(), - prompt: z - .object({ - extra_data: z.record(z.string(), z.unknown()).optional(), - outputs_to_execute: z.array(z.string()).optional(), - priority: z.number().optional(), - prompt: z.record(z.string(), z.unknown()).optional(), - prompt_id: z.string().optional() - }) - .optional(), - status: z.record(z.string(), z.unknown()).optional() -}) - -/** - * Detailed execution history response for a specific prompt. - * Returns a dictionary with prompt_id as key and full history data as value. - * - */ -export const zHistoryDetailResponse = z.record(z.string(), zHistoryDetailEntry) - -/** - * Metadata for a global subgraph blueprint (without full data) - */ -export const zGlobalSubgraphInfo = z.object({ - data: z.string().optional(), - info: z.object({ - node_pack: z.string() - }), - name: z.string(), - source: z.string() -}) - -/** - * Full data for a global subgraph blueprint + * Server-to-client model_download frame on /ws. A Cloud job's model file download moved. */ -export const zGlobalSubgraphData = z.object({ - data: z.string(), - info: z.object({ - node_pack: z.string() - }), - name: z.string(), - source: z.string() +export const zModelDownloadFrame = z.object({ + data: zModelDownloadData, + type: z.enum(['model_download']) }) /** - * A setting key with its value, discriminated on `key`. Narrowing on the key yields exactly one value schema, which is what gives writes their type safety. - */ -export const zGlobalSettingValue = z - .object({ - key: z.literal('Comfy.AgentPanel.ConsentAccepted') - }) - .and(zAgentConsentSettingValue) - -/** - * The union of setting keys this server accepts. Published as an enum so clients cannot address a key the registry does not know. + * Represents a model file with metadata */ -export const zGlobalSettingKey = z.enum(['Comfy.AgentPanel.ConsentAccepted']) +export const zModelFile = z.object({ + name: z.string(), + pathIndex: z.int() +}) /** - * A stored setting: one GlobalSettingValue member plus when it last changed. Discriminated on `key` like GlobalSettingValue, so narrowing a read yields the same single value schema a write is typed by. + * Represents a folder containing models */ -export const zGlobalSetting = z - .object({ - key: z.literal('Comfy.AgentPanel.ConsentAccepted') - }) - .and(zStoredAgentConsentSetting) +export const zModelFolder = z.object({ + folders: z.array(z.string()), + name: z.string() +}) /** - * Individual file entry within a full user data response. + * Where and how the browser sends a model file's bytes (POST /api/assets/uploads). */ -export const zGetUserDataResponseFullFile = z.object({ - modified: z.coerce +export const zModelUploadStarted = z.object({ + expires_at: z.iso.datetime(), + headers: z.record(z.string(), z.string()), + max_size_bytes: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - path: z.string().optional(), - size: z.int().optional() + }), + method: z.enum(['PUT']), + upload_id: z.uuid(), + upload_url: z.string() }) /** - * List of user data file entries (each with path, size, and modification time) returned when full_info=true. + * The next charge to the card on file, as Stripe's invoice preview reported it, after proration, discounts, tax and account credit. */ -export const zGetUserDataResponseFull = z.array(zGetUserDataResponseFullFile) +export const zNextCharge = z.object({ + amount: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + currency: z.string(), + date: z.iso.datetime(), + reflects_scheduled_change: z.boolean() +}) /** - * Request body for forking an existing workflow into the user's account. + * Metadata describing a single ComfyUI node type and its inputs/outputs. */ -export const zForkWorkflowRequest = z.object({ +export const zNodeInfo = z.object({ + api_node: z.boolean().optional(), + category: z.string().optional(), + deprecated: z.boolean().optional(), + description: z.string().optional(), + display_name: z.string().optional(), + experimental: z.boolean().optional(), + input: z.record(z.string(), z.unknown()).optional(), + input_order: z.record(z.string(), z.array(z.string())).optional(), name: z.string().optional(), - source_version: z.int() + output: z.array(z.string()).optional(), + output_is_list: z.array(z.boolean()).optional(), + output_name: z.array(z.string()).optional(), + output_node: z.boolean().optional(), + output_tooltips: z.array(z.string()).optional(), + python_module: z.string().optional() }) /** - * 403 for a credential the route does not take. `accepted` names the ones it does, as `WWW-Authenticate` does. + * OAuth 2.1 authorization-server metadata (RFC 8414). */ -export const zAuthTypeNotAllowedError = z.object({ - accepted: z.array(z.string()), - error: z.object({ - message: z.string(), - type: z.enum(['auth_type_not_allowed']) - }) +export const zOAuthAuthorizationServerMetadata = z.object({ + authorization_endpoint: z.url(), + code_challenge_methods_supported: z.array(z.string()), + grant_types_supported: z.array(z.string()), + issuer: z.url(), + jwks_uri: z.url(), + registration_endpoint: z.url().optional(), + response_types_supported: z.array(z.string()), + scopes_supported: z.array(z.string()).optional(), + token_endpoint: z.url(), + token_endpoint_auth_methods_supported: z.array(z.string()) }) /** - * A 403 body: ErrorResponse, or AuthTypeNotAllowedError for a credential the route does not take. - */ -export const zForbiddenError = z.union([ - zErrorResponse, - zAuthTypeNotAllowedError -]) - -/** - * Response after submitting feedback - */ -export const zFeedbackResponse = z.record(z.string(), z.unknown()) - -/** - * Request to submit user feedback + * Redirect target produced after a JSON consent submission. The frontend must navigate the browser to this URL so custom-scheme client callbacks work without relying on fetch-visible 302 headers. */ -export const zFeedbackRequest = z.object({ - content: z.string().optional(), - metadata: z.record(z.string(), z.unknown()).optional(), - rating: z.int().gte(1).lte(5).optional(), - type: z.enum(['missing_nodes', 'general', 'missing_models']) +export const zOAuthAuthorizeRedirectResponse = z.object({ + redirect_url: z.url() }) /** - * Response containing a signed download URL for an exported asset archive. + * One workspace option presented in the OAuth consent challenge. Promoted to a named schema so the generated Go type is referenceable in handlers and tests rather than re-declared as an anonymous struct at every callsite. + * */ -export const zExportDownloadUrlResponse = z.object({ - expires_at: z.iso.datetime().optional(), - url: z.string() +export const zOAuthConsentChallengeWorkspace = z.object({ + id: z.string(), + name: z.string(), + role: z.enum(['owner', 'member']), + type: z.enum(['personal', 'team']) }) /** - * Response containing the issued Cloud JWT and its expiry. + * Server-side state describing the OAuth consent decision the user is being asked to make. Returned by GET /oauth/authorize when a valid Cloud session exists; the frontend renders the consent UI from this payload and POSTs the decision back. Browser never sees the original OAuth params on resume. + * */ -export const zExchangeTokenResponse = z.object({ - expires_at: z.iso.datetime(), - permissions: z.array(z.string()), - role: z.enum(['owner', 'member']), - token: z.string(), - user_id: z.string(), - workspace: zWorkspaceSummary +export const zOAuthConsentChallenge = z.object({ + client_display_name: z.string(), + client_provenance: z.enum(['first_party', 'dynamic']), + csrf_token: z.string(), + oauth_request_id: z.uuid(), + redirect_uri: z.url(), + resource_display_name: z.string(), + scopes: z.array(z.string()), + workspaces: z.array(zOAuthConsentChallengeWorkspace) }) /** - * Optional request body for the token exchange endpoint. The Firebase JWT - * being exchanged is supplied via the `Authorization: Bearer` header; this - * body only carries workspace-selection input. - * + * OAuth 2.1 protected-resource metadata (RFC 9728). */ -export const zExchangeTokenRequest = z.object({ - resource: z.enum(['partner-node']).optional(), - workspace_id: z.string().optional() +export const zOAuthProtectedResourceMetadata = z.object({ + authorization_servers: z.array(z.url()), + bearer_methods_supported: z.array(z.string()).optional(), + resource: z.url(), + scopes_supported: z.array(z.string()) }) /** - * Result of redeeming a desktop login code. + * RFC 7591 §3.2.2 error response. */ -export const zDesktopLoginCodeRedeemResponse = z.object({ - status: z.enum(['redeemed']) +export const zOAuthRegisterError = z.object({ + error: z.enum(['invalid_redirect_uri', 'invalid_client_metadata']), + error_description: z.string().nullish() }) /** - * Request to claim a desktop login code for the authenticated user. + * RFC 7591 §2 client metadata document. Fields fall into three groups: the ones the server honors, the purely informational ones it accepts and ignores (`scope` plus the client-profile fields `client_uri`, `logo_uri`, `tos_uri`, `policy_uri`, `contacts`, `software_id`, `software_version` — parsed, never persisted, never echoed, per RFC 7591 §2's "MAY ignore" allowance), and the ones it rejects with `invalid_client_metadata` (`resource_grants`, because scopes/grants are server-owned for dynamic clients; `jwks`/`jwks_uri`, because they only apply to the JWT client-authentication methods DCR does not offer). `additionalProperties: false` mirrors the runtime middleware that rejects any unknown metadata key. + * */ -export const zDesktopLoginCodeRedeemRequest = z.object({ - code: z.string() +export const zOAuthRegisterRequest = z.object({ + application_type: z.enum(['native', 'web']).optional(), + client_name: z.string().max(100).optional(), + client_uri: z.string().nullish(), + contacts: z.array(z.string()).nullish(), + grant_types: z + .array(z.enum(['authorization_code', 'refresh_token'])) + .optional(), + jwks: z.record(z.string(), z.unknown()).nullish(), + jwks_uri: z.string().nullish(), + logo_uri: z.string().nullish(), + policy_uri: z.string().nullish(), + redirect_uris: z.array(z.string()).min(1).max(5), + resource_grants: z.record(z.string(), z.array(z.string())).nullish(), + response_types: z.array(z.enum(['code'])).optional(), + scope: z.string().nullish(), + software_id: z.string().nullish(), + software_version: z.string().nullish(), + token_endpoint_auth_method: z.string().optional(), + tos_uri: z.string().nullish() }) /** - * Exchange poll result. Pending until the code is redeemed in the browser. + * RFC 7591 §3.2.1 successful registration response. */ -export const zDesktopLoginCodeExchangeResponse = z.object({ - custom_token: z.string().optional(), - status: z.enum(['pending', 'complete']) +export const zOAuthRegisterResponse = z.object({ + application_type: z.enum(['native', 'web']), + client_id: z.string(), + client_id_issued_at: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + client_name: z.string().optional(), + grant_types: z.array(z.string()), + redirect_uris: z.array(z.string()), + response_types: z.array(z.string()), + token_endpoint_auth_method: z.enum(['none']) }) /** - * Request to exchange a redeemed login code for a custom token. + * RFC 6749 §5.2 error response. */ -export const zDesktopLoginCodeExchangeRequest = z.object({ - code: z.string(), - code_verifier: z.string().min(43).max(128) +export const zOAuthTokenError = z.object({ + error: z.string(), + error_description: z.string().optional() }) /** - * A freshly minted desktop login code and its polling parameters. + * RFC 6749 §5.1 successful token response. */ -export const zDesktopLoginCodeCreateResponse = z.object({ - code: z.string(), +export const zOAuthTokenResponse = z.object({ + access_token: z.string(), expires_in: z.int(), - poll_interval: z.int() + refresh_token: z.string(), + scope: z.string(), + token_type: z.enum(['Bearer']) }) /** - * Request to mint a desktop login code. + * Pagination metadata included in list responses. Supports both legacy + * offset/limit pagination and cursor-based pagination. When cursor-based + * pagination is used, `next_cursor` is the primary pagination token and + * `offset`/`total` may be zero. + * */ -export const zDesktopLoginCodeCreateRequest = z.object({ - app_version: z.string().min(1).max(64), - code_challenge: z.string().min(43).max(128), - installation_id: z - .string() - .min(8) - .max(128) - .regex(/^[A-Za-z0-9._-]+$/) - .optional(), - platform: z.string().min(1).max(32) -}) - -export const zDeploymentNodeCompatibility = z.object({ - deployment_id: z.string(), - missing_node_types: z.array(z.string()), - unknown: z.boolean() +export const zPaginationInfo = z.object({ + has_more: z.boolean(), + limit: z.int().gte(1), + next_cursor: z.string().optional(), + offset: z.int().gte(0), + total: z.int().gte(0) }) /** - * The node types of the workflow open in the editor. + * A paginated page of the caller's agent threads. */ -export const zDeploymentCompatibilityRequest = z.object({ - node_types: z.array(z.string()) +export const zAgentThreadListResponse = z.object({ + pagination: zPaginationInfo, + threads: z.array(zAgentThreadSummary) }) -export const zCloudNodeCompatibility = z.object({ - missing_node_types: z.array(z.string()) +/** + * Paginated list of the assets produced by a single job. + */ +export const zJobAssetsResponse = z.object({ + assets: z.array(zJobOutputAsset), + job_id: z.uuid(), + pagination: zPaginationInfo }) /** - * Which of the posted node types each of the workspace's deployments, and Comfy Cloud, does not have. + * Paginated list of jobs for the authenticated user. */ -export const zDeploymentCompatibility = z.object({ - cloud: zCloudNodeCompatibility, - deployments: z.array(zDeploymentNodeCompatibility) +export const zJobsListResponse = z.object({ + jobs: z.array(zJobEntry), + pagination: zPaginationInfo }) /** - * Error body of local ComfyUI's /api/deploy* routes. Branch on `error`, never on `message`. + * Request body for generating a payment portal session URL. */ -export const zDeployToCloudError = z.object({ - error: z.enum([ - 'offline', - 'multiple_credentials', - 'invalid_api_key_format', - 'invalid_body', - 'missing_credentials', - 'unauthorized', - 'too_large', - 'too_many_bundles', - 'builder_rejected', - 'builder_unavailable', - 'builder_busy' - ]), - message: z.string().optional() +export const zPaymentPortalRequest = z.object({ + flow_type: z.enum(['', 'payment_method_update']).optional(), + return_url: z.string().optional() }) /** - * Response after deleting a session cookie + * Response containing a redirect URL to the payment portal. */ -export const zDeleteSessionResponse = z.object({ - success: z.boolean() +export const zPaymentPortalResponse = z.object({ + url: z.string() }) /** - * The workspace bound to the presented credential, plus how that credential authenticated. Same shape as Workspace with the caller's role and the auth method added, and without created_at (callers of this endpoint want identity, not provenance). + * An outstanding workspace invitation that has not yet been accepted. */ -export const zCurrentWorkspaceResponse = z.object({ - auth_method: z.string(), +export const zPendingInvite = z.object({ + email: z.email(), + expires_at: z.iso.datetime(), id: z.string(), - name: z.string(), - permissions: z.array(z.string()).optional(), - role: z.enum(['owner', 'member']).optional(), - type: z.enum(['personal', 'team']) + invited_at: z.iso.datetime(), + token: z.string().optional() }) /** - * Request body for creating a new workspace. + * List of pending invitations for the current workspace. */ -export const zCreateWorkspaceRequest = z.object({ - name: z.string().min(1).max(100) +export const zListInvitesResponse = z.object({ + invites: z.array(zPendingInvite) }) /** - * Response containing the newly created workspace API key. + * Which developer-platform deployment this browser should run on. */ -export const zCreateWorkspaceApiKeyResponse = z.object({ - created_at: z.iso.datetime(), - description: z.string().max(5000), - expires_at: z.iso.datetime().optional(), - id: z.uuid(), - key: z.string(), - key_prefix: z.string(), - name: z.string() +export const zPickWorkspaceDeploymentRequest = z.object({ + deployment_id: z.string() }) /** - * Request body for creating a new workspace-scoped API key. + * Action for this exact plan and billing interval. Render as received. Subscribe starts or resumes checkout, change changes the plan now, reactivate removes a scheduled cancellation, downgrade schedules a reduction at the billing boundary, and none disables the choice. This is presentation guidance, not authorization; writes recheck policy. */ -export const zCreateWorkspaceApiKeyRequest = z.object({ - description: z.string().max(5000).optional(), - expires_at: z.iso.datetime().optional(), - name: z.string() -}) +export const zPlanAction = z.enum([ + 'subscribe', + 'change', + 'reactivate', + 'downgrade', + 'none' +]) /** - * Request body for creating a new version of a saved workflow. + * Why action is none. Permission refusals precede sales management, parked and running operations, a scheduled successor, transition restrictions, and seats. Scheduled successors include effective_at in denied_reason_params. Unknown or unavailable state fails closed with billing_state_unknown. Absent for an actionable choice. */ -export const zCreateWorkflowVersionRequest = z.object({ - base_version: z.int(), - workflow_json: z.record(z.string(), z.unknown()) +export const zPlanActionDeniedReason = z.enum([ + 'not_a_member', + 'not_workspace_owner', + 'not_original_owner', + 'sales_managed', + 'billing_operation_parked', + 'billing_operation_in_progress', + 'subscription_change_in_progress', + 'annual_to_monthly_unsupported', + 'same_plan', + 'incompatible_transition', + 'exceeds_max_seats', + 'billing_state_unknown' +]) + +export const zPlanActionDeniedReasonParams = z.object({ + effective_at: z.iso.datetime().optional() }) /** - * Request body for creating a new saved workflow. + * Why a plan is unavailable. Present exactly when available is false and + * absent when it is true. Only the first reason that applies is reported, + * in the order below. Render the value as received; do not recompute it. + * same_plan: (a) Why can this plan not be picked? (b) It is the plan the workspace is already on. (c) Absent means the plan is not the current one. (d) Not a refusal of a different plan; see incompatible_transition. (e) The plan slug equals the slug of the workspace's active subscription. + * incompatible_transition: (a) Why is this plan closed for the workspace's current plan? (b) The transition rules never allow it: the Free plan, which is provisioned only through free-tier eligibility, or a switch into the Founders plan. (c) Absent means no such rule applies. (d) Not a temporary state, and not billing_operation_in_progress, billing_operation_parked or annual_to_monthly_unsupported. (e) The target is the Free plan, or the transition matrix refuses the pair for a reason other than annual_to_monthly_unsupported. + * billing_operation_in_progress: (a) Why can no other plan be picked for now? (b) A subscription-changing billing operation is running for the workspace's active subscription. It settles on its own, so a client may say that plans will be available again shortly. (c) Absent means no such operation is running. (d) Not billing_operation_parked, which does not clear on its own, not a successor already scheduled for a future billing boundary, and not a seat problem. (e) The workspace has a non-scheduled active subscription and a subscription-changing billing operation is running and none is parked. + * billing_operation_parked: (a) Why can no other plan be picked until support steps in? (b) A subscription-changing billing operation is parked for reconciliation for the workspace's active subscription: it is either paid but credits not granted, or a replacement subscription that could not finish superseding the old one. It does not clear on its own, so a client must route the user to support and never imply a wait. (c) Absent means no operation is parked. (d) Not billing_operation_in_progress, which settles on its own, not a successor already scheduled for a future billing boundary, and not a seat problem. (e) The workspace has a non-scheduled active subscription and a subscription-changing billing operation is parked; reported instead of billing_operation_in_progress when both exist. + * annual_to_monthly_unsupported: (a) Why can a monthly plan not be chosen from an annual plan? (b) The annual commitment binds, so a move to a higher-tier monthly plan is not supported before the term ends. (c) Absent means the transition is not an annual to higher-tier monthly move. (d) Not a downgrade, which is allowed and scheduled, and not incompatible_transition. (e) The transition matrix refuses the pair with its annual-to-monthly tier upgrade rule. + * exceeds_max_seats: (a) Why is this plan closed to a workspace with many people? (b) The occupied seats exceed the plan's seat limit, counted as the subscribe request counts them: a team plan counts members plus unexpired pending invitations, any other plan counts members alone. (c) Absent means the occupied seats fit the plan. (d) Not a pending-invitation count for non-team plans, where an invitation does not occupy a seat. (e) For a team plan, members + pending invitations is greater than the seat limit; for any other plan, members is greater than the seat limit; a positive workspace override replaces the plan default in both cases. + * requires_team and requires_personal are part of this enum but are not reported today. */ -export const zCreateWorkflowRequest = z.object({ - default_view: z.enum(['workflow', 'app']).optional(), - description: z.string().optional(), - forked_from_workflow_id: z.string().optional(), - forked_from_workflow_version_id: z.string().optional(), - name: z.string().optional(), - workflow_json: z.record(z.string(), z.unknown()) -}) +export const zPlanAvailabilityReason = z.enum([ + 'same_plan', + 'incompatible_transition', + 'billing_operation_in_progress', + 'billing_operation_parked', + 'annual_to_monthly_unsupported', + 'exceeds_max_seats', + 'requires_team', + 'requires_personal' +]) /** - * Response after successfully purchasing a credit top-up. + * Availability and eligibility information for a billing plan. */ -export const zCreateTopupResponse = z.object({ - amount_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' +export const zPlanAvailability = z.object({ + available: z.boolean(), + reason: zPlanAvailabilityReason.optional() +}) + +export const zPlanFeatureItem = z.object({ + key: z.enum([ + 'shortRuntime', + 'longRuntime', + 'addCredits', + 'importModels', + 'sharedCreditPool', + 'membersUpTo', + 'perMemberCreditLimits', + 'memberSpendAuditing', + 'sharedWorkflowsAssets', + 'projects' + ]), + params: z + .object({ + count: z.coerce + .bigint() + .gte(BigInt(1)) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - billing_op_id: z.string(), - status: z.enum(['pending', 'completed', 'failed']), - topup_id: z.string() + .optional(), + status: z.enum(['available', 'coming_soon']), + text: z.string() }) /** - * Legacy on-file top-up. Explicit payment authority and save/default fields require the dedicated interactive route and are rejected here, including null or false values. + * Summary of seat costs based on current workspace members */ -export const zCreateTopupRequest = z.object({ - amount_cents: z.coerce +export const zPlanSeatSummary = z.object({ + seat_count: z.int(), + total_cost_cents: z.coerce .bigint() - .gte(BigInt(500)) + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }), - checkout_attempt_id: z.string().optional(), - idempotency_key: z.string().optional() -}) - -/** - * Request body for previewing a credit top-up. - */ -export const zCreateTopupQuoteRequest = z.object({ - amount_cents: z.coerce + total_credits_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -3068,230 +3532,186 @@ export const zCreateTopupQuoteRequest = z.object({ }) /** - * A hosted Stripe Checkout session for a credit top-up. + * Request body for previewing the cost of a plan subscription change. */ -export const zCreateTopupCheckoutResponse = z.object({ - checkout_url: z.url(), - session_id: z.string().optional() +export const zPreviewSubscribeRequest = z.object({ + checkout_attempt_id: z.string().optional(), + plan_slug: z.string(), + promotion_code: z.string().optional(), + team_credit_stop_id: z.string().optional() }) /** - * Request body for creating a hosted credit top-up checkout session. + * Identity of the workspace-bound terminal subscription, not a checkout target or permission to resubscribe. Historical identity is independent of current plan availability and pricing. */ -export const zCreateTopupCheckoutRequest = z.object({ - amount_cents: z.coerce.bigint().gte(BigInt(500)).lte(BigInt(1600000)), - idempotency_key: z.string().optional(), - return_url: z.url() +export const zPreviousPlan = z.object({ + plan_slug: z.string(), + team_credit_stop_id: z.string().optional() }) /** - * Response after creating a session cookie + * Error response for ComfyUI prompt execution. */ -export const zCreateSessionResponse = z.object({ - expiresIn: z.int().optional(), - success: z.boolean() -}) +export const zPromptErrorResponse = z.record(z.string(), z.unknown()) /** - * Request body for creating a new user secret. + * Metadata about the currently running and queued prompts. */ -export const zCreateSecretRequest = z.object({ - credential_type: z - .enum(['api_key', 'gcp_service_account']) +export const zPromptInfo = z.object({ + exec_info: z + .object({ + queue_remaining: z.int().optional() + }) .optional() - .default('api_key'), - name: z.string().min(1).max(255), - provider: z.string().max(64).optional(), - secret_value: z.string().min(1) }) /** - * Request body for inviting a user to a workspace. + * Request body for submitting a ComfyUI workflow prompt for execution. + */ +export const zPromptRequest = z.object({ + extra_data: z.record(z.string(), z.unknown()).optional(), + front: z.boolean().optional(), + number: z.number().optional(), + partial_execution_targets: z.array(z.string()).optional(), + prompt: z.record(z.string(), z.unknown()), + workflow_id: z.string().optional(), + workflow_version_id: z.string().optional() +}) + +/** + * Response returned after successfully queuing a workflow prompt. + */ +export const zPromptResponse = z.object({ + node_errors: z.record(z.string(), z.unknown()).optional(), + number: z.number().optional(), + prompt_id: z.uuid().optional() +}) + +/** + * The partner-provider governance catalog: every governable provider, identical for all workspaces. A projection of the curated catalog minus the internal api_names. */ -export const zCreateInviteRequest = z.object({ - email: z.email() +export const zProviderCatalogResponse = z.object({ + providers: z.array(zCatalogProvider) }) /** - * Request body for creating a new Hub profile. + * One provider's policy state. */ -export const zCreateHubProfileRequest = z.object({ - avatar_token: z.string().optional(), - description: z.string().optional(), - display_name: z.string().optional(), - username: z.string(), - website_urls: z.array(z.string()).optional(), - workspace_id: z.string() -}) - -export const zContentCatalogRecord = z.object({ - data: z.record(z.string(), z.unknown()), - deleted: z.boolean(), - edit_version: z.string(), +export const zProviderPolicyEntry = z.object({ enabled: z.boolean(), - kind: z.enum(['MODEL', 'WORKFLOW', 'APP', 'TEMPLATE_SET']), - revision: z.coerce - .bigint() - .gte(BigInt(1)) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - slug: z.string(), - uid: z.string(), - visibility: z.enum(['PUBLIC', 'STAFF']), - visible_from: z.iso.datetime().optional() -}) - -export const zContentCatalogProjection = z.object({ - generation: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - items: z.array(zContentCatalogRecord), - revision_id: z.coerce - .bigint() - .gte(BigInt(1)) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) + provider_id: z.string() }) /** - * Credentials the Churnkey embed requires to launch the cancel flow. - * `auth_hash` is hex-encoded HMAC-SHA256 of `customer_id` signed with the - * server's CHURNKEY_HMAC_SECRET; it is bound to that single customer ID - * and must not be reused for other customers. - * + * A workspace's partner-provider governance policy document — the exact shape PUT accepts (round-trips; entries come back sorted by provider_id, write order is not significant). Effective rule: enabled(P) = !enforcement_enabled || (the entry for P has enabled=true); absent from the array = unset (deny when enforcing). */ -export const zChurnkeyAuthResponse = z.object({ - auth_hash: z.string(), - customer_id: z.string(), - mode: z.enum(['live', 'test', 'sandbox']), - offer_subscription_id: z.string().min(1).optional() +export const zProviderPolicy = z.object({ + enforcement_enabled: z.boolean(), + providers: z.array(zProviderPolicyEntry) }) /** - * Response after successfully cancelling a subscription. + * Request body for publishing or updating a workflow on the Hub. */ -export const zCancelSubscriptionResponse = z.object({ - billing_op_id: z.string(), - cancel_at: z.iso.datetime() +export const zPublishHubWorkflowRequest = z.object({ + asset_ids: z.array(z.string()), + custom_nodes: z.array(z.string()).optional(), + description: z.string().optional(), + metadata: z.record(z.string(), z.unknown()).optional(), + models: z.array(z.string()).optional(), + name: z.string(), + sample_image_tokens_or_urls: z.array(z.string()).optional(), + tags: z.array(z.string()).optional(), + thumbnail_comparison_token_or_url: z.string().optional(), + thumbnail_token_or_url: z.string().optional(), + thumbnail_type: z.enum(['image', 'video', 'image_comparison']).optional(), + tutorial_url: z.string().optional(), + username: z.string(), + workflow_filename: z.string() }) /** - * Request body for cancelling the current subscription. + * Request body for publishing workflow assets to the Hub. */ -export const zCancelSubscriptionRequest = z.object({ - idempotency_key: z.string().optional() +export const zPublishWorkflowAssetsRequest = z.object({ + asset_ids: z.array(z.string()) }) /** - * Response when a cancellation is accepted but has not committed yet. Carries no cancel_at: no cancellation time exists to report until the operation settles. The billing operation reports only status, so once it reaches `succeeded` the committed date is read from `cancel_at` on `GET /api/billing/status`. + * Full detail of a publicly published workflow on the Hub. */ -export const zCancelSubscriptionAcceptedResponse = z.object({ - billing_op_id: z.string(), - status: z.enum(['pending']) -}) - -export const zCccWebsiteRootPageInfo = z.object({ - has_more: z.boolean(), - page_size: z.literal(24) +export const zPublishedWorkflowDetail = z.object({ + assets: z.array(zAssetInfo), + listed: z.boolean(), + name: z.string(), + publish_time: z.iso.datetime().nullish(), + share_id: z.string(), + workflow_id: z.string(), + workflow_json: z.record(z.string(), z.unknown()) }) -export const zCccWebsiteCardFacet = z.object({ - count: z.int().gte(0).optional(), - label: z.string(), - value: z.string() +/** + * Queue information with pending and running jobs + */ +export const zQueueInfo = z.object({ + queue_pending: z + .array( + z.tuple([z.unknown(), z.unknown(), z.unknown(), z.unknown(), z.unknown()]) + ) + .optional(), + queue_running: z + .array( + z.tuple([z.unknown(), z.unknown(), z.unknown(), z.unknown(), z.unknown()]) + ) + .optional() }) -export const zCccWebsiteCardFacets = z.object({ - categories: z.array(zCccWebsiteCardFacet).max(100), - models: z.array(zCccWebsiteCardFacet).max(100), - use_cases: z.array(zCccWebsiteCardFacet).max(100) +/** + * Request to manage queue operations + */ +export const zQueueManageRequest = z.object({ + clear: z.boolean().optional(), + delete: z.array(z.string()).optional() }) -export const zCccWebsiteRootTab = z.object({ - facets: zCccWebsiteCardFacets, - page: zCccWebsiteRootPageInfo, - sort_orders: z - .array(z.enum(['popular', 'name', 'priceAsc', 'priceDesc'])) - .max(4) +/** + * Response after a queue management action (delete or clear). + */ +export const zQueueManageResponse = z.object({ + cleared: z.boolean().optional(), + deleted: z.array(z.string()).optional() }) -export const zCccWebsiteRootTabs = z.object({ - apps: zCccWebsiteRootTab, - models: zCccWebsiteRootTab, - workflows: zCccWebsiteRootTab +/** + * A 429 body with a fixed message and no machine-readable code. + */ +export const zRateLimitExceededError = z.object({ + error: z.string() }) -export const zCccWebsiteModelDirectory = z.object({ - generation: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - items: z - .array( - z.object({ - provider: z.string(), - slug: z.string(), - title: z.string(), - uid: z.uuid() - }) - ) - .max(5000), - revision_id: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) +/** + * One declared pack that failed to import on the Release's build, as comfy-builder names it. + */ +export const zReleaseUnsupportedPack = z.object({ + cause: z.string(), + folder: z.string(), + registry_id: z.string(), + repository: z.string() }) -export const zCccWebsiteRootPresentation = z.object({ - as_of: z.iso.datetime(), - items: z.array(zContentCatalogRecord).max(5000), - model_directory: zCccWebsiteModelDirectory, - next_visibility_at: z.iso.datetime().nullable(), - revision_id: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - tabs: zCccWebsiteRootTabs +/** + * The declared packs that failed to import on the build of the editor's Release, in the order the build declared them, and which Release that is. + */ +export const zReleaseUnsupportedPacks = z.object({ + packs: z.array(zReleaseUnsupportedPack), + release_id: z.string().nullable() }) -export const zCccWebsiteCardsPage = z.object({ - available_kinds: z.array(z.enum(['MODEL', 'WORKFLOW', 'APP'])).max(3), - facets: zCccWebsiteCardFacets, - generation: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - has_more: z.boolean(), - items: z.array(zContentCatalogRecord).max(24), - next_cursor: z.string().max(4096).optional(), - page_size: z.int().gte(1).lte(24), - previous_cursor: z.string().max(4096).optional(), - revision_id: z.coerce +/** + * The newest open renewal invoice of the workspace's Stripe subscription (active, or canceled but not yet ended). Returned only to workspace owners on the stripe billing rail while billing_status is payment_failed or paused, or on the legacy_stripe billing rail while billing_status is payment_failed and its legacy subscription is past_due or unpaid, and not while a payment for it is processing. hosted_invoice_url is a bearer payment link. + */ +export const zRenewalInvoice = z.object({ + amount_due: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -3299,240 +3719,209 @@ export const zCccWebsiteCardsPage = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }), - sort_orders: z - .array(z.enum(['popular', 'name', 'priceAsc', 'priceDesc'])) - .max(4), - total: z.int().gte(0).optional() + currency: z.string(), + hosted_invoice_url: z.string(), + next_payment_attempt: z.iso.datetime().optional() }) -export const zCccPublicItemsPage = zContentCatalogProjection.and( - z.object({ - has_more: z.boolean(), - next_cursor: z.string().optional(), - page_size: z.int().gte(1).lte(100) - }) -) +/** + * Request body for reactivating a previously cancelled subscription. + */ +export const zResubscribeRequest = z.object({ + idempotency_key: z.string().optional() +}) /** - * Current Hub page that replaces an old public URL + * Response after accepting a resubscribe request. */ -export const zCccLegacyTarget = z.object({ - path: z.string(), - slug: z.string(), - type: z.enum(['workflow', 'app', 'model']) +export const zResubscribeResponse = z.object({ + billing_op_id: z.string(), + message: z.string().optional(), + status: z.enum(['active', 'pending']) +}) + +export const zRetentionAcceptRequest = z.object({ + session_id: z.uuid() +}) + +export const zRetentionAcceptance = z.object({ + billing_op_id: z.string(), + status: z.enum(['pending', 'succeeded']) +}) + +export const zRetentionFlowEventRequest = z.object({ + event: z.enum(['flow_opened', 'offer_shown']), + session_id: z.uuid() +}) + +export const zRetentionFlowSubscription = z.object({ + currency: z.string(), + period_end: z.int().lte(9007199254740991), + quantity: z.int().lte(9007199254740991), + unit_amount: z.int().lte(9007199254740991) }) /** - * Flat type-versioned CCC JSON. Domain schemas (/api/v1/catalog/schemas/{type}/{version}) constrain authored fields. The readOnly properties are server metadata returned by reads; a save may send them back unchanged and they are ignored, never applied. expected_draft_rev and expected_revision_uid are the save concurrency tokens. + * Present only when the session's arm is an offer. Terms come from the server catalog. */ -export const zCccjson = z.object({ - catalog_rev: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .readonly() - .optional(), - creator_uid: z.string().readonly().optional(), - digest: z.string().readonly().optional(), - draft_generation: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .readonly() - .optional(), - edit_sequence: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .readonly() - .optional(), - is_deleted: z.boolean().readonly().optional(), - owner_uid: z.string().readonly().optional(), - revision_uid: z.uuid().readonly().optional(), - saved_at: z.iso.datetime().readonly().optional(), - saved_by_uid: z.string().readonly().optional(), - uid: z.uuid().readonly().optional() +export const zRetentionOffer = z.object({ + duration_in_months: z.int().lte(9007199254740991), + id: z.string(), + percent_off: z.int().lte(9007199254740991) }) -export const zCccCreatorSummary = z.object({ - avatar_url: z.string(), - display_name: z.string(), - username: z.string(), - workflow_count: z.int().gte(1) +export const zRetentionFlowResponse = z.object({ + experiment_variant: z.string().optional(), + expires_at: z.int().lte(9007199254740991), + offer: zRetentionOffer.optional(), + session_id: z.uuid(), + subscription: zRetentionFlowSubscription }) -export const zCccCreatorsPage = z.object({ - items: z.array(zCccCreatorSummary).max(100), - next_cursor: z.string().max(200).optional() +/** + * Request body for undoing a pending scheduled plan change. + */ +export const zRevertScheduledChangeRequest = z.object({ + idempotency_key: z.string().optional() }) -export const zCccCreatorLink = z.object({ - label: z.string(), - url: z.url() +/** + * Response after accepting a scheduled-change revert. + */ +export const zRevertScheduledChangeResponse = z.object({ + billing_op_id: z.string(), + status: z.enum(['reverted', 'pending']) }) -export const zCccCreatorProfile = z.object({ - avatar_url: z.string(), - bio: z.string().max(5000), - display_name: z.string(), - links: z.array(zCccCreatorLink).max(8), - username: z.string() +/** + * Response after signing out of all devices + */ +export const zRevokeAllSessionsResponse = z.object({ + revoked: z.int() }) -export const zCccCatalogState = z.object({ - draft_generation: z.coerce - .bigint() - .gte(BigInt(0)) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - draft_rev: z.coerce - .bigint() - .gte(BigInt(1)) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - live_rev: z.coerce - .bigint() - .gte(BigInt(1)) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - next_rev: z.coerce - .bigint() - .gte(BigInt(1)) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - previous_live_rev: z.coerce - .bigint() - .gte(BigInt(1)) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .nullable() +export const zSsoDiscoverResponse = z.object({ + organization_name: z.string().optional(), + required: z.boolean().optional(), + sso: z.boolean() }) -export const zCccCheckedReviewReceipt = z.object({ - publish_enabled: z.boolean(), - receipt_version: z.literal(1), - selected_count: z.int().gte(1).lte(5000), - selected_versions_digest: z.string().regex(/^[0-9a-f]{64}$/), - selection_digest: z.string().regex(/^[0-9a-f]{64}$/), - state: zCccCatalogState, - unchecked_count: z.int().gte(0).lte(5000) +export const zSavedPaymentMethod = z.object({ + bank_name: z.string().optional(), + brand: z.string().optional(), + created_at: z.iso.datetime().optional(), + email: z.string().optional(), + exp_month: z.int().gte(1).lte(12).optional(), + exp_year: z.int().gte(1000).lte(9999).optional(), + expired: z.boolean().optional(), + expiring_soon: z.boolean().optional(), + id: z.string().regex(/^pm_/), + is_default: z.boolean(), + last4: z + .string() + .regex(/^[0-9]{4}$/) + .optional(), + type: z.string() }) -export const zCccAuthoringContext = z.object({ - actor_uid: z.string().min(1), - can_apply: z.boolean(), - can_edit: z.boolean(), - owner_uid: z.string().min(1), - state: zCccCatalogState +/** + * A provider the user may configure a secret for, with its display label and credential-entry options. + */ +export const zSecretProvider = z.object({ + credential_options: z.array(zCredentialOption).optional(), + id: z.string(), + label: z.string().optional() }) /** - * Response after bulk-revoking API keys for a workspace member. + * The providers available to the authenticated user in the current workspace. */ -export const zBulkRevokeApiKeysResponse = z.object({ - revoked_count: z.int().gte(0) +export const zSecretProvidersResponse = z.object({ + data: z.array(zSecretProvider) }) /** - * A tax identifier for a company Stripe customer. Stripe validates the - * type/value combination synchronously and verifies VAT/ABN-style IDs - * asynchronously. - * + * User secret metadata (the secret value itself is never returned after creation). */ -export const zBillingTaxId = z.object({ - type: z.string(), - value: z.string() +export const zSecretResponse = z.object({ + created_at: z.iso.datetime(), + credential_type: z.enum(['api_key', 'gcp_service_account']).optional(), + id: z.uuid(), + last_used_at: z.iso.datetime().optional(), + name: z.string(), + provider: z.string().optional(), + updated_at: z.iso.datetime() }) /** - * Payment lifecycle status + * List of user secrets with metadata only. */ -export const zBillingStatus = z.enum([ - 'awaiting_payment_method', - 'pending_payment', - 'paid', - 'payment_failed', - 'paused', - 'inactive' -]) +export const zSecretListResponse = z.object({ + data: z.array(zSecretResponse) +}) /** - * Current billing and subscription status for a workspace. + * Server-to-client CRDT document frame carried by the /ws envelope. */ -export const zBillingStatusResponse = z.object({ - action_url: z.string().optional(), - billing_rail: z.enum(['legacy_stripe', 'metronome', 'stripe']).optional(), - billing_status: zBillingStatus.optional(), - cancel_at: z.iso.datetime().optional(), - current_period_start: z.iso.datetime().optional(), - ended_at: z.iso.datetime().nullable(), - ended_at_unavailable_reason: z.enum(['not_recorded']).optional(), - has_funds: z.boolean(), - is_active: z.boolean(), - latest_subscription_op_id: z.string().optional(), - max_seats: z.int(), - next_credit_refill_at: z.iso.datetime().optional(), - occupied_seats: z.int(), - payment_intent_client_secret: z.string().optional(), - pending_billing_op_id: z.string().optional(), - pending_billing_op_type: z.enum(['subscription', 'topup']).optional(), - period_credit_grant: zPeriodCreditGrant.optional(), - plan_slug: z.string().optional(), - previous_plan: zPreviousPlan.optional(), - renewal_date: z.iso.datetime().optional(), - renewal_invoice: zRenewalInvoice.optional(), - scheduled_change: zScheduledPlanChange.nullable(), - scoped_effective_has_funds: z.record(z.string(), z.boolean()).optional(), - scoped_has_funds: z.record(z.string(), z.boolean()).optional(), - subscription_duration: zSubscriptionDuration.optional(), - subscription_state: zSubscriptionState.optional(), - subscription_status: z.enum(['active', 'ended', 'canceled']).optional(), - subscription_tier: zSubscriptionTier.optional(), - team_credit_stop: zTeamCreditStopSummary.nullable() +export const zServerDocFrame = z.union([ + zDocSubscribedFrame, + zDocUpdateFrame, + zDocResetFrame, + zDocOpsResultFrame +]) + +/** + * The deployment a start was asked for, and its status after the ask. + */ +export const zStartWorkspaceDeploymentResult = z.object({ + deployment_id: z.string(), + status: z.string() }) /** - * List of available billing plans for subscription. + * A stored AgentConsentSettingValue with its timestamp. Named apart from the write schema because codegen derives nested property type names from the schema name, and `AgentConsentSetting` would generate an `AgentConsentSettingValue` that collides with the write schema itself. */ -export const zBillingPlansResponse = z.object({ - current_plan_slug: z.string().optional(), - plans: z.array(zPlan), - team_credit_stops: zTeamCreditStops.optional() +export const zStoredAgentConsentSetting = zAgentConsentSettingValue.and( + zGlobalSettingUpdatedAt +) + +/** + * A stored setting: one GlobalSettingValue member plus when it last changed. Discriminated on `key` like GlobalSettingValue, so narrowing a read yields the same single value schema a write is typed by. + */ +export const zGlobalSetting = zStoredAgentConsentSetting + +/** + * Request body for subscribing a workspace to a billing plan. + */ +export const zSubscribeRequest = z.object({ + billing_cycle: z.enum(['monthly', 'yearly']).optional(), + cancel_url: z.string().optional(), + checkout_attempt_id: z.string().optional(), + confirm_reactivation: z.boolean().optional(), + confirmation_token: z.string().optional(), + idempotency_key: z.string().optional(), + plan_slug: z.string(), + promotion_code: z.string().optional(), + proration_at: z.iso.datetime().optional(), + quote_id: z.string().optional(), + quote_version: z.int().optional(), + return_url: z.string().optional(), + saved_payment_method_id: z.string().regex(/^pm_/).optional(), + team_credit_stop_id: z.string().optional() }) /** - * Display only. The plan the operation targets; for a scheduled change, - * the plan it switches to at period end. Present for plan changes, - * initial subscriptions and resubscribes in every status (pending, - * failed and succeeded alike), so a recovered pending operation can be - * labelled with its own plan. Absent when the target plan could not be - * resolved. Visible to any workspace member who can read the operation. - * tier and the price fields are absent when the server cannot describe - * the plan, as for the retired seat-based Team plans, whose rows carry a - * personal tier and whose price depends on the workspace's seats. - * + * Response after successfully subscribing to a billing plan. */ -export const zBillingOpReceiptPlan = z.object({ - currency: z.string().optional(), - duration: zSubscriptionDuration, - monthly_price_cents: z.coerce +export const zSubscribeResponse = z.object({ + billing_op_id: z.string(), + effective_at: z.iso.datetime().optional(), + payment_method_url: z.string().optional(), + status: z.enum(['subscribed', 'needs_payment_method', 'pending_payment']) +}) + +export const zSubscriptionDiscount = z.object({ + amount_off_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -3541,7 +3930,9 @@ export const zBillingOpReceiptPlan = z.object({ error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - price_cents: z.coerce + code: z.string(), + duration: z.enum(['once', 'repeating', 'forever']).optional(), + duration_in_months: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -3550,9 +3941,11 @@ export const zBillingOpReceiptPlan = z.object({ error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - slug: z.string(), - team_credit_stop_id: z.string().optional(), - tier: zSubscriptionTier.optional() + kind: z.enum(['plan', 'promotion']), + name: z.string().optional(), + term: z + .enum(['this_payment', 'first_month', 'first_year', 'months', 'ongoing']) + .optional() }) /** @@ -3589,559 +3982,213 @@ export const zBillingOpChargeReason = z.object({ */ export const zBillingOpChargeBreakdown = z.object({ amount_charged_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - currency: z.string(), - prorated: z.boolean(), - reasons: z.array(zBillingOpChargeReason) -}) - -/** - * Status of an asynchronous billing operation. - */ -export const zBillingOpStatusResponse = z.object({ - action_url: z.string().optional(), - amount_charged_cents: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - authentication_deadline: z.iso.datetime().optional(), - authentication_state: z - .enum([ - 'requires_action', - 'processing', - 'failed_retryable', - 'succeeded', - 'reconciliation_needed' - ]) - .optional(), - cancelable: z.boolean().optional(), - charge_breakdown: zBillingOpChargeBreakdown.optional(), - checkout_state: z - .enum([ - 'unfinished', - 'verify_payment', - 'processing', - 'payment_received', - 'failed', - 'none' - ]) - .optional(), - completed_at: z.iso.datetime().optional(), - credits_added: z.coerce - .bigint() - .min(BigInt('-9223372036854775808'), { - error: 'Invalid value: Expected int64 to be >= -9223372036854775808' - }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - decline_reason: z - .enum([ - 'card_declined', - 'insufficient_funds', - 'expired_card', - 'incorrect_cvc', - 'authentication_required', - 'authentication_failed', - 'processing_error', - 'payment_not_completed', - 'generic' - ]) - .optional(), - error_message: z.string().optional(), - id: z.string(), - payment_intent_client_secret: z.string().optional(), - phase: z - .enum([ - 'awaiting_payment_method', - 'awaiting_invoice_payment', - 'in_progress' - ]) - .optional(), - plan: zBillingOpReceiptPlan.optional(), - recovery_action: z - .enum([ - 'retry', - 'replace_payment_method', - 'authenticate_payment', - 'contact_support' - ]) - .optional(), - retryable: z.boolean().optional(), - started_at: z.iso.datetime(), - status: z.enum(['pending', 'succeeded', 'failed', 'reconciliation_needed']), - topup_purchase_amount: zTopUpPurchaseAmount.optional() -}) - -export const zBillingOpCancelResponse = z.object({ - billing_op_id: z.string(), - status: z.enum(['canceled', 'cancel_requested']) -}) - -/** - * A single history event. The cloud history-events store is the single source of truth for both billing events (charges, credits, adjustments) and user-facing usage events. - */ -export const zBillingEvent = z.object({ - api_key_name: z.string().optional(), - api_key_prefix: z.string().optional(), - api_key_revoked: z.boolean().optional(), - createdAt: z.iso.datetime(), - deployment_id: z.string().optional(), - deployment_name: z.string().optional(), - event_id: z.string(), - event_type: z.string(), - member_display_name: z.string().optional(), - member_email: z.string().optional(), - member_former: z.boolean().optional(), - member_user_id: z.string().optional(), - params: z.record(z.string(), z.unknown()).optional(), - unattributed: z.boolean().optional() -}) - -/** - * Paginated list of billing events for a workspace. - */ -export const zBillingEventsResponse = z.object({ - attribution_since: z.iso.datetime().optional(), - events: z.array(zBillingEvent), - limit: z.int(), - page: z.int(), - total: z.int(), - totalPages: z.int() -}) - -/** - * A billing address for a company Stripe customer. city and postal_code - * are optional because some countries (e.g. Hong Kong, the UAE, Panama) - * have no postal code and are not collected for them; Stripe validates - * what a given country actually requires. - * - */ -export const zBillingAddress = z.object({ - city: z.string().optional(), - country: z.string(), - line1: z.string(), - line2: z.string().optional(), - postal_code: z.string().optional(), - state: z.string().optional() -}) - -/** - * Fields to set on the workspace's Stripe customer. Every group is - * optional; omit a group to leave that part of the customer unchanged. - * - */ -export const zBillingCompanyDetailsUpdateRequest = z.object({ - address: zBillingAddress.optional(), - company_name: z.string().optional(), - tax_id: zBillingTaxId.optional() -}) - -/** - * Company billing details on file for the workspace's Stripe customer. - * A field is absent until the workspace sets it via PATCH - * /api/billing/company-details. - * - */ -export const zBillingCompanyDetailsResponse = z.object({ - address: zBillingAddress.optional(), - company_name: z.string().optional(), - tax_id: zBillingTaxId.optional() -}) - -export const zBillingCapabilityScope = z.object({ - user_id: z.string(), - workspace_id: z.string() + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + currency: z.string(), + prorated: z.boolean(), + reasons: z.array(zBillingOpChargeReason) }) /** - * Identifies capability values currently using safe rollout defaults - * instead of deterministic policy results. A true value is UI guidance, - * not evidence that the corresponding write will succeed. - * + * Billing period (uppercase to match comfy-api) */ -export const zBillingCapabilityRolloutDefaults = z.object({ - can_downgrade_to_personal: z.boolean(), - can_subscribe_self_serve: z.boolean(), - can_top_up: z.boolean() -}) +export const zSubscriptionDuration = z.enum(['MONTHLY', 'ANNUAL']) /** - * Why a capability resolved false, keyed by the capability. The value - * names the policy branch that decided, not customer-facing wording: the - * client owns the message. - * - * How to read this: render each capability from `capabilities` as received, and - * use a reason only to explain a capability that is false. Never recombine - * capabilities or reasons into a new decision, and never derive a reason from - * tier, role, status or plan slug. A missing reason is not a grant. A refused - * capability usually has a key here naming the branch that refused it. A false - * capability with no matching key is an unexplained refusal: no recognised - * explanation, still false. A true capability never has a key. - * Within a key the values are listed in the order the resolver reaches them, - * and the first one reached is the one reported. Capabilities are UI guidance, - * not authorization: the write endpoints decide. - * - * The invariant runs one way only. **Presence implies refusal**: a key is - * present only alongside `capabilities. == false`, reconciled before - * the response is built, so a reason never accompanies a granted - * capability. **Absence implies nothing**: on a false capability it - * means no recognised explanation, and on a true capability it is the - * expected state. Consult `capabilities`, which stays authoritative for what - * the client may offer. - * - * A key is absent for a refused capability whenever this service is - * talking to a billing-api that predates the field, and whenever it drops - * a reason it does not recognise rather than forwarding a value outside - * the enum below. Both are supported states, so a client must never infer - * a capability's value from a missing reason -- only from `capabilities`. - * - * This endpoint omits the entire `denied_reasons` object when no recognised - * reason survives. The billing-api endpoint may emit `{}` for the same - * logical state, so object presence must not be used to detect support. - * + * Configured credit allowance of the current plan, not remaining balance, an invoice or proof of live provider grants. Amount includes credits and period; none is a proven configured zero. Native-empty or incoherent Enterprise configuration remains unknown, never none. Missing data and unresolved, unsupported, ended or activating plans remain unknown. Unknown or missing means unavailable; clients must not render zero. Does not change eligibility. */ -export const zBillingCapabilityDenials = z.object({ - can_cancel: z - .enum([ - 'not_a_member', - 'not_workspace_owner', - 'not_original_owner', - 'free_plan', - 'no_subscription', - 'tier_not_self_serve', - 'billing_operation_in_progress', - 'billing_operation_parked', - 'cancellation_scheduled', - 'subscription_ended', - 'subscription_not_started', - 'subscription_status_unrecognized' - ]) - .optional(), - can_change_seats: z - .enum([ - 'not_a_member', - 'not_workspace_owner', - 'no_subscription', - 'tier_not_self_serve', - 'subscription_ended', - 'subscription_not_started', - 'subscription_status_unrecognized' - ]) - .optional(), - can_delete_workspace: z - .enum([ - 'not_a_member', - 'sales_managed_plan', - 'not_workspace_owner', - 'not_original_owner', - 'workspace_sso_attached', - 'personal_workspace', - 'billing_operation_in_progress', - 'billing_operation_parked', - 'plan_not_ended', - 'plan_ending' - ]) - .optional(), - can_downgrade_to_personal: z - .enum([ - 'not_a_member', - 'not_workspace_owner', - 'not_original_owner', - 'no_subscription', - 'tier_not_self_serve', - 'subscription_change_in_progress', - 'subscription_ended', - 'subscription_not_started', - 'subscription_status_unrecognized', - 'rollout_disabled' - ]) - .optional(), - can_edit_workspace: z - .enum(['not_a_member', 'not_workspace_owner']) - .optional(), - can_invite_members: z - .enum(['not_a_member', 'not_workspace_owner', 'invite_capacity_reached']) - .optional(), - can_leave_workspace: z - .enum([ - 'not_a_member', - 'membership_managed_by_directory', - 'personal_workspace_creator', - 'workspace_creator', - 'only_owner' - ]) - .optional(), - can_manage_auto_top_up: z - .enum(['not_a_member', 'not_workspace_owner']) - .optional(), - can_manage_billing: z - .enum(['not_a_member', 'not_workspace_owner', 'creator_only_provisioning']) - .optional(), - can_manage_members: z - .enum(['not_a_member', 'not_workspace_owner']) - .optional(), - can_manage_partner_node_access: z - .enum([ - 'not_a_member', - 'not_workspace_owner', - 'partner_governance_not_entitled' - ]) - .optional(), - can_manage_subscription: z - .enum(['not_a_member', 'not_workspace_owner']) - .optional(), - can_open_plans: z - .enum([ - 'not_a_member', - 'not_workspace_owner', - 'not_original_owner', - 'creator_only_provisioning', - 'tier_not_self_serve', - 'subscription_not_started', - 'subscription_status_unrecognized' - ]) - .optional(), - can_reactivate: z - .enum([ - 'not_a_member', - 'not_workspace_owner', - 'not_original_owner', - 'no_subscription', - 'tier_not_self_serve', - 'billing_operation_in_progress', - 'billing_operation_parked', - 'cancellation_not_scheduled', - 'subscription_ended', - 'subscription_not_started', - 'subscription_status_unrecognized' - ]) - .optional(), - can_revert_scheduled_change: z - .enum([ - 'not_a_member', - 'not_workspace_owner', - 'not_original_owner', - 'tier_not_self_serve', - 'subscription_ended', - 'subscription_not_started', - 'subscription_status_unrecognized', - 'no_revertible_scheduled_change' - ]) - .optional(), - can_run_workflows: z - .enum([ - 'manual_block', - 'subscription_inactive', - 'payment_past_due', - 'no_funds', - 'workspace_cap_exceeded', - 'project_cap_exceeded', - 'user_cap_exceeded', - 'free_tier_exhausted' - ]) - .optional(), - can_subscribe_self_serve: z - .enum([ - 'not_a_member', - 'not_workspace_owner', - 'not_original_owner', - 'creator_only_provisioning', - 'tier_not_self_serve', - 'subscription_change_in_progress', - 'subscription_not_started', - 'subscription_status_unrecognized' - ]) - .optional(), - can_top_up: z - .enum([ - 'not_a_member', - 'not_workspace_owner', - 'creator_only_provisioning', - 'payment_past_due', - 'tier_not_self_serve', - 'subscription_status_unrecognized', - 'topup_purchases_paused', - 'free_plan', - 'no_subscription', - 'subscription_ended' - ]) - .optional(), - can_upgrade: z - .enum([ - 'not_a_member', - 'not_workspace_owner', - 'not_original_owner', - 'creator_only_provisioning', - 'tier_not_self_serve', - 'subscription_change_in_progress', - 'subscription_not_started', - 'subscription_status_unrecognized', - 'billing_state_unknown', - 'no_subscription', - 'subscription_ended', - 'payment_past_due', - 'billing_operation_parked', - 'billing_operation_in_progress', - 'sales_managed', - 'no_upgrade_available' - ]) - .optional(), - can_view_own_usage: z - .enum(['not_a_member', 'usage_attribution_unavailable']) - .optional(), - can_view_pending_invites: z - .enum(['not_a_member', 'not_workspace_owner']) - .optional(), - can_view_team_usage: z - .enum([ - 'not_a_member', - 'not_workspace_owner', - 'usage_attribution_unavailable' - ]) - .optional() +export const zPeriodCreditGrant = z.object({ + credits: z.coerce + .bigint() + .gte(BigInt(1)) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .optional(), + period: zSubscriptionDuration.optional(), + state: z.enum(['amount', 'none', 'unknown']) }) /** - * Optional facts for the matching denied_reasons key; absent facts are unknown and must not be inferred from other fields. + * Server-owned subscription presentation state. A future scheduled plan change remains active, with its target in scheduled_change. Paused means a recoverable renewal collection failure; past_due requires direct subscription payment evidence, never an unattributed workspace or top-up failure. Activating means the initial subscription is awaiting payment. This is not an authorization or workflow admission decision; use capabilities. */ -export const zBillingCapabilityDenialParams = z.object({ - can_delete_workspace: zWorkspaceDeletionDenialParams.optional() -}) +export const zSubscriptionState = z.enum([ + 'never_subscribed', + 'active', + 'cancel_scheduled', + 'past_due', + 'paused', + 'activating', + 'ended' +]) /** - * Conservative UI guidance. These values do not authorize billing writes; - * each write endpoint independently enforces its permission policy. - * - * Each field answers one UI question for the authenticated user in the - * authenticated workspace. Render each as received and never combine fields - * into a new decision. False without a matching key in denied_reasons means no - * recognised explanation, not necessarily a refusal. A field is never - * per-surface: one value serves every screen. The plan-lifecycle fields - * (can_subscribe_self_serve, can_cancel, can_reactivate, - * can_revert_scheduled_change) require the workspace's creator only when the - * rollout mode is not `owner`; every other owner-level field stays open to - * every owner. - * - * When the deployment has billing disabled, this endpoint answers without - * consulting billing-api: can_top_up is true; can_manage_members, - * can_invite_members, can_manage_subscription and can_manage_auto_top_up - * follow the owner role. Other billing-action fields are false. These role - * facts do not promise that billing endpoints are available. - * + * Subscription tier (uppercase to match comfy-api) */ -export const zBillingCapabilities = z.object({ - can_cancel: z.boolean(), - can_change_seats: z.boolean(), - can_delete_workspace: z.boolean(), - can_downgrade_to_personal: z.boolean(), - can_edit_workspace: z.boolean(), - can_invite_members: z.boolean(), - can_leave_workspace: z.boolean(), - can_manage_auto_top_up: z.boolean(), - can_manage_billing: z.boolean(), - can_manage_members: z.boolean(), - can_manage_partner_node_access: z.boolean(), - can_manage_subscription: z.boolean(), - can_open_plans: z.boolean(), - can_reactivate: z.boolean(), - can_revert_scheduled_change: z.boolean(), - can_run_workflows: z.boolean(), - can_subscribe_self_serve: z.boolean(), - can_top_up: z.boolean(), - can_upgrade: z.boolean(), - can_view_own_usage: z.boolean().optional(), - can_view_pending_invites: z.boolean(), - can_view_team_usage: z.boolean() -}) +export const zSubscriptionTier = z.enum([ + 'FREE', + 'STANDARD', + 'CREATOR', + 'PRO', + 'FOUNDERS_EDITION', + 'TEAM', + 'ENTERPRISE' +]) /** - * Recorded account setup guidance, separate from owner authority in - * can_manage_auto_top_up. Frozen prevents enabling/editing; unavailable - * means setup is not available. Owner read/disable authority remains separate. - * These states do not determine surface visibility. Unified billing settings - * hide the auto top-up card when can_top_up is false, including paused or - * payment-failed billing. - * Ready does not authorize a charge or guarantee an off-session payment method. - * This fact ignores saved consent and monthly budget. An absent fact is unknown. + * Display only. The plan the operation targets; for a scheduled change, + * the plan it switches to at period end. Present for plan changes, + * initial subscriptions and resubscribes in every status (pending, + * failed and succeeded alike), so a recovered pending operation can be + * labelled with its own plan. Absent when the target plan could not be + * resolved. Visible to any workspace member who can read the operation. + * tier and the price fields are absent when the server cannot describe + * the plan, as for the retired seat-based Team plans, whose rows carry a + * personal tier and whose price depends on the workspace's seats. * */ -export const zAutoTopUpSetup = z.object({ - reason: z - .enum([ - 'workspace_deleted', - 'workspace_blocked', - 'billing_not_provisioned', - 'billing_rail_not_supported', - 'billing_status_unrecognized', - 'payment_past_due', - 'billing_paused', - 'billing_awaiting_payment_method', - 'billing_payment_pending', - 'subscription_tier_unrecognized', - 'subscription_status_unrecognized', - 'subscription_state_unknown', - 'billing_operation_parked', - 'default_payment_method_missing', - 'default_payment_method_unsupported', - 'creator_only_provisioning' - ]) +export const zBillingOpReceiptPlan = z.object({ + currency: z.string().optional(), + duration: zSubscriptionDuration, + monthly_price_cents: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) .optional(), - state: z.enum(['ready', 'frozen', 'unavailable']) + price_cents: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .optional(), + slug: z.string(), + team_credit_stop_id: z.string().optional(), + tier: zSubscriptionTier.optional() }) /** - * Effective billing UI guidance for one authenticated user and workspace. + * Billing plan details including pricing, limits, and features. */ -export const zBillingCapabilitiesResponse = z.object({ - auto_top_up_enabled: z.boolean(), - auto_top_up_setup: zAutoTopUpSetup.optional(), - capabilities: zBillingCapabilities, - denied_reason_params: zBillingCapabilityDenialParams.optional(), - denied_reasons: zBillingCapabilityDenials.optional(), - expires_at: z.iso.datetime(), - has_parked_billing_operation: z.boolean().optional(), - payment_recovery_available: z.boolean().optional(), - plan_kind: z.enum(['none', 'self_serve', 'sales_managed']).optional(), - recovery_route: z.enum(['none', 'resubscribe', 'contact_sales']).optional(), - resolved_for: zBillingCapabilityScope, - revision: z.coerce +export const zPlan = z.object({ + action: zPlanAction, + availability: zPlanAvailability, + credits: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) - .lte(BigInt(9007199254740991)), - rollout_defaults_applied: zBillingCapabilityRolloutDefaults, - subscription_state_authoritative: z.boolean().optional() + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .optional(), + credits_cents: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + denied_reason: zPlanActionDeniedReason.optional(), + denied_reason_params: zPlanActionDeniedReasonParams.optional(), + duration: zSubscriptionDuration, + feature_items: z.array(zPlanFeatureItem).optional(), + features: z.array(z.string()).optional(), + max_seats: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + popular: z.boolean().optional(), + price_cents: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + seat_summary: zPlanSeatSummary, + slug: z.string(), + tier: zSubscriptionTier }) /** - * Current credit balance and usage details for a workspace. Every amount here is CENTS of `currency`. The `*_micros` fields are a misnamed legacy set kept for wire compatibility; the `*_cents` fields beside them carry the identical values under honest names. `amount_micros` stays required and `amount_cents` is optional so existing strict clients are unaffected. + * Plan information for preview display */ -export const zBillingBalanceResponse = z.object({ - amount_cents: z.number().optional(), - amount_micros: z.number(), - cloud_credit_balance_cents: z.number().optional(), - cloud_credit_balance_micros: z.number().optional(), - cloud_credit_display_balance_cents: z.number().optional(), - currency: z.string(), - effective_balance_authoritative: z.boolean().optional(), - effective_balance_cents: z.number().optional(), - effective_balance_micros: z.number().optional(), - low_balance: z.boolean().optional(), - max_topup_cents: z.coerce +export const zPreviewPlanInfo = z.object({ + credits_cents: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + duration: zSubscriptionDuration, + list_price_cents: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .optional(), + monthly_list_price_cents: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .optional(), + monthly_price_cents: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .optional(), + period_end: z.iso.datetime().optional(), + period_start: z.iso.datetime().optional(), + price_cents: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + seat_summary: zPlanSeatSummary, + slug: z.string(), + tier: zSubscriptionTier +}) + +/** + * Itemized cost preview for a pending subscription change. + */ +export const zPreviewSubscribeResponse = z.object({ + allowed: z.boolean(), + amount_due_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -4150,7 +4197,7 @@ export const zBillingBalanceResponse = z.object({ error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - max_topup_credits: z.coerce + balance_applied_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -4159,29 +4206,23 @@ export const zBillingBalanceResponse = z.object({ error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - min_topup_cents: z.coerce + cost_next_period_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - min_topup_credits: z.coerce + }), + cost_today_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - pending_charges_cents: z.number().optional(), - pending_charges_micros: z.number().optional(), - prepaid_balance_cents: z.number().optional(), - prepaid_balance_micros: z.number().optional(), - suggested_topup_amount_cents: z.coerce + }), + credits_next_period: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -4189,43 +4230,16 @@ export const zBillingBalanceResponse = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) - .nullish() -}) - -/** - * Every listed field is required, and one of target_credits or - * reload_credits. reload_credits alone means target_credits = - * threshold_credits + reload_credits. On every save, disabled included, - * threshold_credits must be a positive whole number of credits and a - * non-null monthly_budget_cents positive. When enabled is true: - * target_credits must be greater than threshold_credits; target_credits - * and reload_credits must agree (reload_credits = target_credits - - * threshold_credits) when both are sent; a non-null monthly_budget_cents - * must be at most max_monthly_budget_cents, and a null one means no - * owner limit and is stored as max_monthly_budget_cents; target_credits - * must be at least threshold_credits + min_reload_credits and at most - * threshold_credits + max_reload_credits; and the smallest automatic - * reload (from one credit below threshold_credits to target_credits) - * must cost no more than the budget. A save with enabled false accepts a - * null budget, stores it as null, and skips the enabled-only rules. A - * save with enabled false is never refused over target_credits or - * reload_credits: it stores target_credits minus threshold_credits when - * the target is above the threshold, else a positive reload_credits, - * else min_reload_credits. - * - */ -export const zAutoReloadSettingsRequest = z.object({ - enabled: z.boolean(), - monthly_budget_cents: z.coerce + .optional(), + credits_next_period_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .nullable(), - reload_credits: z.coerce + }), + credits_today: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -4234,16 +4248,24 @@ export const zAutoReloadSettingsRequest = z.object({ error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - target_credits: z.coerce + credits_today_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .optional(), - threshold_credits: z.coerce + }), + currency: z.string().optional(), + current_plan: zPreviewPlanInfo.optional(), + discounts: z.array(zSubscriptionDiscount).optional(), + effective_at: z.iso.datetime(), + is_immediate: z.boolean(), + new_plan: zPreviewPlanInfo, + payment_method_configuration_id: z.string().optional(), + promotion_code: z.string().optional(), + proration_at: z.iso.datetime().optional(), + proration_remaining_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -4251,52 +4273,20 @@ export const zAutoReloadSettingsRequest = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) -}) - -/** - * Display facts about a declined payment method. Carries no identifier. - */ -export const zAutoReloadDeclinedPaymentMethod = z.object({ - brand: z.string().nullable(), - last4: z.string().nullable(), - type: z.string() -}) - -/** - * Expiry of the default card. Carries no identifier. - */ -export const zAutoReloadCardExpiry = z.object({ - expired: z.boolean(), - month: z.int().gte(1).lte(12), - year: z.int().gte(1000).lte(9999) -}) - -/** - * billing-api's automatic top-up settings, server prices and automatic - * spend this cycle, passed through unchanged. Credits are whole credits; - * amounts are US cents. When `configured` is false, `enabled` is false - * and the other setting fields are null. - * - */ -export const zAutoReloadSettings = z.object({ - card_expiring_soon: z.boolean().nullish(), - card_expiry: zAutoReloadCardExpiry.nullable(), - configured: z.boolean(), - cycle_resets_at: z.iso.datetime().nullable(), - declined_payment_method: zAutoReloadDeclinedPaymentMethod.nullable(), - disabled_reason: z.string().nullable(), - enabled: z.boolean(), - last_failure_at: z.iso.datetime().nullable(), - last_failure_reason: z.string().nullable(), - max_monthly_budget_cents: z.coerce + .optional(), + proration_unused_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - max_reload_credits: z.coerce + }) + .optional(), + quote_id: z.string().optional(), + quote_version: z.int().optional(), + reason: z.string().optional(), + renewal_amount_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -4304,38 +4294,143 @@ export const zAutoReloadSettings = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) - .nullable(), - min_reload_credits: z.coerce + .optional(), + renewal_at: z.iso.datetime().optional(), + requires_reactivation_confirmation: z.boolean().optional(), + subtotal_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }), - monthly_budget_cents: z.coerce + }) + .optional(), + transition_type: z.enum([ + 'new_subscription', + 'upgrade', + 'downgrade', + 'duration_change' + ]) +}) + +/** + * System statistics response + */ +export const zSystemStatsResponse = z.object({ + devices: z.array( + z.object({ + name: z.string(), + type: z.string(), + vram_free: z.number().optional(), + vram_total: z.number().optional() + }) + ), + system: z.object({ + argv: z.array(z.string()), + cloud_version: z.string().optional(), + comfyui_frontend_version: z.string().optional(), + comfyui_version: z.string(), + deploy_environment: z.string().optional(), + embedded_python: z.boolean(), + os: z.string(), + python_version: z.string(), + pytorch_version: z.string(), + ram_free: z.number(), + ram_total: z.number(), + workflow_templates_version: z.string().optional() + }) +}) + +/** + * Metadata for a single tag that can be applied to assets. + */ +export const zTagInfo = z.object({ + count: z.int(), + name: z.string() +}) + +/** + * Paginated list of available asset tags. + */ +export const zListTagsResponse = z.object({ + has_more: z.boolean(), + tags: z.array(zTagInfo), + total: z.int() +}) + +/** + * Response after adding, updating, or removing tags on an asset. + */ +export const zTagsModificationResponse = z.object({ + added: z.array(z.string()).optional(), + already_present: z.array(z.string()).optional(), + not_present: z.array(z.string()).optional(), + removed: z.array(z.string()).optional(), + total_tags: z.array(z.string()) +}) + +/** + * Task data for list views + */ +export const zTaskEntry = z.object({ + completed_at: z.iso.datetime().optional(), + create_time: z.iso.datetime(), + id: z.uuid(), + started_at: z.iso.datetime().optional(), + status: z.enum(['created', 'running', 'completed', 'failed', 'cancelled']), + task_name: z.string() +}) + +/** + * Full task details including payload and result + */ +export const zTaskResponse = z.object({ + completed_at: z.iso.datetime().optional(), + create_time: z.iso.datetime(), + error_message: z.string().optional(), + id: z.uuid(), + idempotency_key: z.string(), + payload: z.record(z.string(), z.unknown()), + result: z.record(z.string(), z.unknown()).optional(), + started_at: z.iso.datetime().optional(), + status: z.enum(['created', 'running', 'completed', 'failed', 'cancelled']), + task_name: z.string(), + update_time: z.iso.datetime() +}) + +/** + * Paginated list of background tasks for the authenticated user. + */ +export const zTasksListResponse = z.object({ + pagination: zPaginationInfo, + tasks: z.array(zTaskEntry) +}) + +/** + * Pre/post-discount price for a team credit stop, in cents. + */ +export const zTeamCreditStopPrice = z.object({ + action: zPlanAction, + denied_reason: zPlanActionDeniedReason.optional(), + denied_reason_params: zPlanActionDeniedReasonParams.optional(), + list_price_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) - .max(BigInt('9223372036854775807'), { - error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .nullable(), - monthly_budget_is_default: z.boolean(), - paused_by_budget: z.boolean(), - paused_by_budget_remainder: z.boolean(), - paused_by_decline: z.boolean(), - reload_amount_cents: z.coerce + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + period_charge_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .nullable(), - reload_credits: z.coerce + }), + price_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -4343,8 +4438,17 @@ export const zAutoReloadSettings = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) - .nullable(), - spent_this_cycle_cents: z.coerce +}) + +/** + * A selectable preset on the team pricing slider. Echoed on subscribe via + * team_credit_stop_id; the backend owns the resolved amounts. credits is a + * RAW monthly credit count (not cents). Save% is derived by the FE as + * (list_price_cents - price_cents) / list_price_cents. + * + */ +export const zTeamCreditStop = z.object({ + credits: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -4352,17 +4456,30 @@ export const zAutoReloadSettings = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }), - status: z.enum(['failed', 'off', 'on_hold', 'paused_by_budget', 'on']), - target_credits: z.coerce + id: z.string(), + monthly: zTeamCreditStopPrice, + yearly: zTeamCreditStopPrice +}) + +/** + * The team credit stop a workspace is currently subscribed to: the + * per-workspace slider choice recorded at subscribe time + * (workspace_subscriptions.team_credit_stop_id). Amounts are owned by the + * catalog, not the subscription row. Returned on GET /api/billing/status + * for per-credit Team plans (BE-1254). + * + */ +export const zTeamCreditStopSummary = z.object({ + credits_monthly: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .nullable(), - threshold_credits: z.coerce + }), + id: z.string(), + stop_usd: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -4370,14 +4487,142 @@ export const zAutoReloadSettings = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) - .nullable() }) /** - * Estimated automatic charge for the proposed settings. + * A plan change persisted to take effect at a future billing boundary. */ -export const zAutoReloadPreview = z.object({ - charge_cents: z.coerce +export const zScheduledPlanChange = z.object({ + effective_at: z.iso.datetime(), + plan_slug: z.string(), + team_credit_stop: zTeamCreditStopSummary.nullable() +}) + +/** + * Current billing and subscription status for a workspace. + */ +export const zBillingStatusResponse = z.object({ + action_url: z.string().optional(), + billing_rail: z.enum(['legacy_stripe', 'metronome', 'stripe']).optional(), + billing_status: zBillingStatus.optional(), + cancel_at: z.iso.datetime().optional(), + current_period_start: z.iso.datetime().optional(), + ended_at: z.iso.datetime().nullable(), + ended_at_unavailable_reason: z.enum(['not_recorded']).optional(), + has_funds: z.boolean(), + is_active: z.boolean(), + latest_subscription_op_id: z.string().optional(), + max_seats: z.int(), + next_charge: zNextCharge.nullable(), + next_credit_refill_at: z.iso.datetime().optional(), + occupied_seats: z.int(), + payment_intent_client_secret: z.string().optional(), + pending_billing_op_id: z.string().optional(), + pending_billing_op_type: z.enum(['subscription', 'topup']).optional(), + period_credit_grant: zPeriodCreditGrant.optional(), + plan_slug: z.string().optional(), + previous_plan: zPreviousPlan.optional(), + renewal_date: z.iso.datetime().optional(), + renewal_invoice: zRenewalInvoice.optional(), + scheduled_change: zScheduledPlanChange.nullable(), + scoped_effective_has_funds: z.record(z.string(), z.boolean()).optional(), + scoped_has_funds: z.record(z.string(), z.boolean()).optional(), + subscription_duration: zSubscriptionDuration.optional(), + subscription_state: zSubscriptionState.optional(), + subscription_status: z.enum(['active', 'ended', 'canceled']).optional(), + subscription_tier: zSubscriptionTier.optional(), + team_credit_stop: zTeamCreditStopSummary.nullable() +}) + +/** + * Credit-stop ladder for the pricing slider (BE-1254). Returned by GET /api/billing/plans for every workspace regardless of the caller's token or workspace type (the personal/team distinction was removed); omitted only when the catalog defines no stops. + */ +export const zTeamCreditStops = z.object({ + default_stop_index: z.int(), + stops: z.array(zTeamCreditStop) +}) + +/** + * List of available billing plans for subscription. + */ +export const zBillingPlansResponse = z.object({ + current_plan_slug: z.string().optional(), + plans: z.array(zPlan), + team_credit_stops: zTeamCreditStops.optional() +}) + +/** + * One persisted tool call attached to an assistant message's content.tool_calls (services/agent/internal/persist.ToolCallSummary), so a chat reload can render the tool-call history a turn produced. Display data only — raw arguments/results are never projected here. The optional produced_asset field is a strict exception containing only the server-recorded id/hash from a successful asset-producing media call. Only terminal rows (status ok/error) are ever surfaced; a row a dead turn left in pending/running has no wire-status mapping and is dropped rather than shown as a perpetual-progress chip. + * This object is projected at read time by services/agent/internal/persist.ToolCallsForThread from agent_tool_calls; it is never stored in agent_messages.content, so there is no legacy persisted shape. Because of that projection the contract holds for every row ever served: tool_call_id is always present (it falls back to id for rows written before the column existed), status is always one of the enum values (the audit-table word "ok" is translated by ToolCallWireStatus), and duration_ms is always an integer when present. Clients (the frontend's zPersistedToolCallSummary) must not relax these fields to parse "historical" rows — a row that fails this schema is a server bug (BE-20134). + */ +export const zToolCallSummary = z.object({ + duration_ms: z.int().optional(), + error_code: z.string().optional(), + finished_at: z.iso.datetime().optional(), + id: z.string(), + job_id: z.string().optional(), + produced_asset: z + .object({ + hash: z.string(), + id: z.string() + }) + .optional(), + started_at: z.iso.datetime().optional(), + status: z.enum(['success', 'error']), + tool_call_id: z.string(), + tool_name: z.string() +}) + +/** + * A persisted message in an agent thread. + */ +export const zAgentMessage = z.object({ + content: z + .object({ + attachment_refs: z + .array( + z.object({ + display_name: z.string().optional(), + id: z.string().optional(), + kind: z.string().optional(), + name: z.string().optional() + }) + ) + .optional(), + thinking: z.array(zAgentThinkingEntry).optional(), + tool_calls: z.array(zToolCallSummary).optional() + }) + .optional(), + id: z.string(), + pending_ask: zAgentPendingAsk.optional(), + role: z.enum(['user', 'assistant', 'tool', 'system']), + seq: z.int(), + status: z.enum(['streaming', 'complete', 'error', 'interrupted']), + thread_id: z.string(), + turn_id: z.string(), + workflow_id: z.string().optional() +}) + +/** + * Requested credit purchase from this operation's validated stored interactive top-up intent. Visible only to callers authorized for payment details. Not the amount charged or proof of payment. Omitted for historical, non-interactive, invalid or non-top-up operations. + * + */ +export const zTopUpPurchaseAmount = z.object({ + amount_cents: z.coerce + .bigint() + .gte(BigInt(1)) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + currency: z.enum(['usd']) +}) + +/** + * Status of an asynchronous billing operation. + */ +export const zBillingOpStatusResponse = z.object({ + action_url: z.string().optional(), + amount_charged_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -4385,75 +4630,90 @@ export const zAutoReloadPreview = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) - .nullable(), - charge_credits: z.coerce + .optional(), + authentication_deadline: z.iso.datetime().optional(), + authentication_state: z + .enum([ + 'requires_action', + 'processing', + 'failed_retryable', + 'succeeded', + 'reconciliation_needed' + ]) + .optional(), + cancelable: z.boolean().optional(), + charge_breakdown: zBillingOpChargeBreakdown.optional(), + checkout_state: z + .enum([ + 'unfinished', + 'verify_payment', + 'processing', + 'payment_received', + 'failed', + 'none' + ]) + .optional(), + completed_at: z.iso.datetime().optional(), + credits_added: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .optional(), + decline_reason: z + .enum([ + 'card_declined', + 'insufficient_funds', + 'expired_card', + 'incorrect_cvc', + 'authentication_required', + 'authentication_failed', + 'processing_error', + 'payment_not_completed', + 'generic' + ]) + .optional(), + error_message: z.string().optional(), + id: z.string(), + payment_intent_client_secret: z.string().optional(), + phase: z + .enum([ + 'awaiting_payment_method', + 'awaiting_invoice_payment', + 'in_progress' + ]) + .optional(), + plan: zBillingOpReceiptPlan.optional(), + recovery_action: z + .enum([ + 'retry', + 'replace_payment_method', + 'authenticate_payment', + 'contact_support' + ]) + .optional(), + retryable: z.boolean().optional(), + started_at: z.iso.datetime(), + status: z.enum(['pending', 'succeeded', 'failed', 'reconciliation_needed']), + topup_purchase_amount: zTopUpPurchaseAmount.optional() +}) + +/** + * What a credit top-up of the requested amount would grant. + */ +export const zTopupQuoteResponse = z.object({ + amount_cents: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' - }) - .nullable(), - charges_now: z.boolean(), - not_charging_reason: z.enum([ - 'above_threshold', - 'monthly_budget', - 'paused_by_decline' - ]) -}) - -export const zAuthenticateResponse = z.object({ - expires_in: z.int().optional(), - method: z.enum(['sso', 'password', 'session', 'firebase']), - organization_name: z.string().optional(), - start_url: z.string().optional() -}) - -export const zAuthenticateRequest = z.object({ - email: z.string().max(320), - password: z.string().max(4096).optional() -}) - -export const zAuthenticateRefusal = z.object({ - code: z.string(), - message: z.string(), - organization_id: z.string().optional(), - start_url: z.string().optional() -}) - -/** - * Response returned when an existing asset is successfully updated. - */ -export const zAssetUpdated = z.object({ - display_name: z.string().nullish(), - file_path: z.string().nullish(), - hash: z - .string() - .regex(/^blake3:[a-f0-9]{64}$/) - .optional(), - id: z.uuid(), - job_id: z.uuid().nullish(), - loader_path: z.string().nullish(), - mime_type: z.string().optional(), - name: z.string().optional(), - tags: z.array(z.string()).optional(), - updated_at: z.iso.datetime(), - user_metadata: z.record(z.string(), z.unknown()).optional() -}) - -/** - * Histogram of tag counts used for refining asset search results. - */ -export const zAssetTagHistogramResponse = z.object({ - tag_counts: z.record(z.string(), z.int()) -}) - -/** - * Metadata for a remotely hosted asset resolved by URL. - */ -export const zAssetMetadataResponse = z.object({ - content_length: z.coerce + }), + credits: z.coerce .bigint() .min(BigInt('-9223372036854775808'), { error: 'Invalid value: Expected int64 to be >= -9223372036854775808' @@ -4461,727 +4721,583 @@ export const zAssetMetadataResponse = z.object({ .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }), - content_type: z.string().optional(), - filename: z.string().optional(), - name: z.string().optional(), - preview_image: z.string().optional(), - tags: z.array(z.string()).optional(), - validation: zValidationResult.optional() -}) - -/** - * Acknowledgement of an async asset download task; clients poll GET /api/tasks/{task_id} for status. - */ -export const zAssetDownloadResponse = z.object({ - message: z.string().optional(), - status: z.enum(['created', 'running', 'completed', 'failed', 'cancelled']), - task_id: z.uuid() -}) - -/** - * Response returned when a new asset is successfully created. - */ -export const zAssetCreated = zAsset.and( - z.object({ - created_new: z.boolean() - }) -) - -/** - * Attachment extensions whose content the model can see: the raster formats Go's image - * package decodes, plus HEIC/HEIF stills (iPhone photos), which view_asset converts to JPEG - * first. view_asset always re-encodes to PNG or JPEG, so the provider's own four-type image - * allowlist is satisfied by construction rather than by matching this list. - * - */ -export const zAgentViewableAttachmentExtension = z.enum([ - '.png', - '.jpg', - '.jpeg', - '.gif', - '.webp', - '.bmp', - '.tif', - '.tiff', - '.heic', - '.heif' -]) - -/** - * Usage of a completed turn, as carried on agent_message_done. Mirrors `$defs.agent_message_done.data.usage` in services/agent/api/agent_events.schema.json; TestMessageDoneFrameMatchesContract holds the two definitions to the same fields and constraints. charge_micro_usd appears only when the server durably captured priced billing for at least one round. It is the exact charge in millionths of a US dollar; clients convert that denomination to catalog credits for display and must not read its absence as a zero charge. - */ -export const zAgentTurnUsage = z.object({ - cache_creation_input_tokens: z.int().gte(0), - cache_read_input_tokens: z.int().gte(0), - charge_micro_usd: z.int().gte(1).optional(), - input_tokens: z.int().gte(0), - output_tokens: z.int().gte(0), - total_tokens: z.int().gte(0) -}) - -/** - * Present on agent_message_done only when the model service refused the turn. Mirrors `$defs.agent_message_done.data.refusal` in services/agent/api/agent_events.schema.json, which states the full rendering rules. Absence must not be read as the account having credit. - */ -export const zAgentTurnRefusal = z.object({ - can_add_credit: z.boolean(), - kind: z.enum([ - 'no_funds', - 'manual_block', - 'payment_required', - 'auth', - 'rate_limit' - ]), - reason: z.string().optional() -}) - -/** - * Acknowledgement that a turn was accepted. The agent runs asynchronously; output streams over the WebSocket (agent_message_delta, agent_tool_call, agent_message_done); canvas edits arrive as doc_update frames. - */ -export const zAgentTurnAccepted = z.object({ - message_id: z.string(), - thread_id: z.string() + expires_at: z.iso.datetime(), + payment_method_configuration_id: z.string().optional() }) /** - * The `data` of an agent_tool_call WebSocket event: one tool invocation's lifecycle. Mirrors `$defs.agent_tool_call.data` in services/agent/api/agent_events.schema.json, which also states the presence rules: the document correlation fields appear only on a terminal (success or error) frame, workflow_id and op_ids appear together, doc_seq and doc_lineage_seq appear together and only with both of them, and job_id and job_workflow_id appear together only on a terminal run frame when a job was submitted. This schema leaves those rules out on purpose. A oneOf over closed variants could express them, but it would turn the generated frontend type into a union the consumer cannot extend field by field. The producer enforces them instead: the Publisher omits incomplete correlation, and TestToolCallEmissionsSatisfyBothContracts validates every emitted shape against the canonical schema. Consumers treat correlation as advisory and use it only when workflow_id and op_ids are both present on a terminal frame. TestToolCallFrameMatchesContract holds the two definitions to the same fields and constraints. + * Request body for updating an existing Hub profile. */ -export const zAgentToolCallData = z.object({ - doc_lineage_seq: z.int().gte(1).optional(), - doc_seq: z.int().gte(1).optional(), - duration_ms: z.int().optional(), - error_code: z.string().optional(), - job_id: z - .string() - .min(1) - .max(128) - .regex(/^[^\x00\n\r\t]+$/) - .optional(), - job_workflow_id: z.string().min(1).optional(), - message_id: z.string(), - op_ids: z - .array( - z - .string() - .min(1) - .max(128) - .regex(/^[^\x00\n\r\t]+$/) - ) - .min(1) - .max(256) - .optional(), - skill: z.string().optional(), - status: z.enum(['running', 'success', 'error']), - thread_id: z.string(), - tool_call_id: z.string(), - tool_name: z.string(), - workflow_id: z.string().min(1).optional() +export const zUpdateHubProfileRequest = z.object({ + avatar_token: z.string().nullish(), + description: z.string().optional(), + display_name: z.string().optional(), + website_urls: z.array(z.string()).optional() }) /** - * Server-to-client agent_tool_call frame on /ws. A tool invocation started or reached a terminal state. Closed, like the canonical envelope. + * Request body for changing a workspace member's role. */ -export const zAgentToolCallFrame = z.object({ - data: zAgentToolCallData, - type: z.enum(['agent_tool_call']) +export const zUpdateMemberRoleRequest = z.object({ + role: z.enum(['owner', 'member']) }) /** - * One agent thread row for the history sidebar. + * Request body for updating an existing user secret. */ -export const zAgentThreadSummary = z.object({ - created_at: z.string(), - id: z.string(), - last_message_at: z.string(), - message_count: z.int().gte(0), - preview: z.string(), - status: z.enum(['active', 'archived']), - title: z.string(), - updated_at: z.string(), - workflow_id: z.string() +export const zUpdateSecretRequest = z.object({ + name: z.string().min(1).max(255).optional(), + secret_value: z.string().min(1).optional() }) /** - * A paginated page of the caller's agent threads. + * Request body for updating an existing saved workflow. */ -export const zAgentThreadListResponse = z.object({ - pagination: zPaginationInfo, - threads: z.array(zAgentThreadSummary) +export const zUpdateWorkflowRequest = z.object({ + default_view: z.enum(['workflow', 'app']).optional(), + description: z.string().optional(), + name: z.string().optional() }) /** - * Result of creating an agent thread. + * Request body for updating an existing workspace's settings. */ -export const zAgentThreadCreated = z.object({ - thread_id: z.string() +export const zUpdateWorkspaceRequest = z.object({ + name: z.string().min(1).max(100).optional() }) /** - * Optional body for creating an agent thread. + * A minted single-use upload grant. */ -export const zAgentThreadCreateRequest = z.object({ - workflow_id: z.string().optional() +export const zUploadGrantResponse = z.object({ + expires_in: z.int(), + upload_path: z.string() }) /** - * One model round's thinking as persisted on an assistant message's content.thinking (services/agent/internal/loop.persistedThinking): the round's reasoning text, then its narration, scrubbed exactly as the live agent_thinking frames were. Display data only. + * Current remaining balance, mirroring /billing/balance. Every amount is CENTS of `currency`; the `*_micros` names are a misnomer kept for wire compatibility. */ -export const zAgentThinkingEntry = z.object({ - text: z.string(), - tool_call_id: z.string().optional() +export const zUsageBalance = z.object({ + amount_cents: z.number().optional(), + amount_micros: z.number().optional(), + cloud_credit_balance_cents: z.number().optional(), + cloud_credit_balance_micros: z.number().optional(), + currency: z.string().optional(), + prepaid_balance_cents: z.number().optional(), + prepaid_balance_micros: z.number().optional() }) -/** - * A user-authored skill pack to create or replace. Plain JSON — a pack body is small enough that a signed-URL upload would be pure overhead. - */ -export const zAgentSkillPublishRequest = z.object({ - always: z.boolean().optional().default(false), - body: z.string(), - description: z.string().max(1024), - name: z - .string() - .max(64) - .regex(/^[A-Za-z0-9._-]*[A-Za-z0-9_-][A-Za-z0-9._-]*$/) +export const zUsageBreakdownRow = z.object({ + cost_micros: z.number(), + group_key: z.string(), + run_count: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }) + .optional(), + share: z.number() }) -/** - * One of the caller's user-authored skill packs. - */ -export const zAgentSkill = z.object({ - body: z.string(), - body_hash: z.string(), - created_at: z.string(), - description: z.string(), - id: z.string(), - name: z.string(), - updated_at: z.string() +export const zUsageBucket = z.object({ + cost_micros: z.number(), + group_key: z.string(), + period_end: z.iso.datetime(), + period_start: z.iso.datetime() }) -/** - * The caller's skill packs, ordered by name. - */ -export const zAgentSkillListResponse = z.object({ - skills: z.array(zAgentSkill) +export const zUsageGroupLabel = z.object({ + cost_kind: z.enum(['gpu', 'storage']).optional(), + deployment_id: z.string().optional(), + deployment_name: z.string().optional(), + display_name: z.string().optional(), + email: z.string().optional(), + former_member: z.boolean().optional(), + key: z.string(), + key_name: z.string().optional(), + key_prefix: z.string().optional(), + key_revoked: z.boolean().optional(), + kind: z.enum(['api_key', 'session', 'deployment']).optional(), + owner_display_name: z.string().optional(), + owner_email: z.string().optional(), + owner_user_id: z.string().optional(), + provider: z.string().optional(), + provider_display_name: z.string().optional() }) /** - * The run mode to save. + * Present, with empty groups, buckets and breakdown, when the requested grouping is not served for this workspace. Render as unavailable, not as zero spend. */ -export const zAgentRunModePutRequest = z.object({ - credit_limit: z.int().gte(1).lte(2147483647).nullish(), - mode: z.enum(['ask_approval', 'auto', 'auto_limited']) +export const zUsageNotAvailable = z.object({ + reason: z.enum(['no_attribution_source', 'filter_needs_ledger']) }) /** - * How the agent may spend the caller's credits by running workflows from chat. The saved choice, or the default (ask_approval, no limit) for a caller who never chose. + * Mixed units, deliberately. `spend_micros` here (and `cost_micros` on UsageBucket / UsageBreakdownRow) is genuinely MICROS -- 1/1,000,000 of the currency unit -- because it comes from Metronome's usage figures. The `balance` breakdown below is CENTS, and its `*_micros` names are a misnomer; use its `*_cents` fields. */ -export const zAgentRunMode = z.object({ - credit_limit: z.int().gte(1).lte(2147483647).nullable(), - mode: z.enum(['ask_approval', 'auto', 'auto_limited']) +export const zUsageSummary = z.object({ + balance: zUsageBalance.optional(), + spend_micros: z.number() +}) + +export const zUsageTimeSeries = z.object({ + as_of: z.iso.datetime().optional(), + attribution_since: z.iso.datetime().optional(), + breakdown: z.array(zUsageBreakdownRow), + buckets: z.array(zUsageBucket), + ending_before: z.iso.datetime(), + granularity: z.enum(['hour', 'day', 'month']), + group_by: z.enum([ + 'model', + 'endpoint', + 'product', + 'product_line', + 'person', + 'source' + ]), + group_labels: z.array(zUsageGroupLabel).optional(), + groups: z.array(z.string()), + not_available: zUsageNotAvailable.optional(), + served_from: z.enum(['ledger', 'invoice']).optional(), + starting_on: z.iso.datetime(), + summary: zUsageSummary }) /** - * The `context` of a `run_approval` ask. It names the workflow and, for cards opened by content-binding builds, the exact canonical graph the user approved. Older in-flight cards may omit graph_binding; consumers must preserve that explicit legacy compatibility case. + * User data listing entry with file metadata (path, size, modification time). */ -export const zAgentRunApprovalContext = z.object({ - doc_seq: z.coerce +export const zUserDataResponseFull = z.object({ + modified: z.coerce .bigint() - .gte(BigInt(1)) + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) .max(BigInt('9223372036854775807'), { error: 'Invalid value: Expected int64 to be <= 9223372036854775807' }) .optional(), - graph_binding: z.enum(['sha256', 'identity_only', 'unavailable']).optional(), - graph_sha256: z - .string() - .regex(/^[0-9a-f]{64}$/) - .optional(), - workflow_id: z.string(), - workflow_name: z.string().optional() + path: z.string().optional(), + size: z.int().optional() }) /** - * Attachment extensions that are accepted so a user can keep them beside a workflow, and - * nothing more — the agent can neither read the contents nor wire the file in. - * - * .avif is the only one: it is an image the turn cannot decode (no registry entry, so - * view_asset would fail) and it is not text, so read_asset would return mojibake. It stays - * accepted because it was attachable before the policy existed. - * + * User information response */ -export const zAgentRetainedAttachmentExtension = z.enum(['.avif']) +export const zUserResponse = z.object({ + id: z.string(), + status: z.string() +}) /** - * Attachment extensions the agent cannot open but wires into a load node by filename. The 3D - * models go into Load3D's model_file widget and are exactly the set Load3D accepts - * (comfy_extras/nodes_load_3d.py); .usdz is absent from both lists, so it is not an exclusion - * this tier makes. .exr goes into LoadImage's image widget: ComfyUI core v0.40.0 registers it - * as an image type, but it is HDR, so view_asset cannot decode it and it is not on the view - * tier. - * + * Details of a single validation error encountered during asset operations. */ -export const zAgentReferenceAttachmentExtension = z.enum([ - '.glb', - '.obj', - '.fbx', - '.gltf', - '.stl', - '.ply', - '.spz', - '.splat', - '.ksplat', - '.exr' -]) +export const zValidationError = z.object({ + code: z.string(), + field: z.string(), + message: z.string() +}) /** - * Attachment extensions whose contents the agent reads verbatim, with read_asset. The bytes - * are decoded as UTF-8 and returned as text, bounded and truncation-marked. - * - * This tier describes CONTENT ACCESS only and says nothing about whether the file can be - * wired into a graph. Those are separate questions, so a format becoming a node input later - * does not move it out of this tier. - * - * .svg is here rather than with the images because it is XML: view_asset cannot decode it, - * but its markup is exactly what a caller would want read. - * + * Result of validating a set of asset operations. */ -export const zAgentReadableAttachmentExtension = z.enum([ - '.md', - '.markdown', - '.txt', - '.json', - '.csv', - '.yaml', - '.yml', - '.xml', - '.log', - '.svg' -]) +export const zValidationResult = z.object({ + errors: z.array(zValidationError).optional(), + is_valid: z.boolean(), + warnings: z.array(zValidationError).optional() +}) /** - * Attachment extensions the agent can only describe from metadata. A subset of the containers - * ingest sorts into a load node's video/audio lists: that categoriser also accepts .wmv, .flv, - * .aac and .wma, which the agreed attachment list rejects. - * + * Metadata for a remotely hosted asset resolved by URL. */ -export const zAgentProbeableAttachmentExtension = z.enum([ - '.mp4', - '.webm', - '.mov', - '.m4v', - '.avi', - '.mkv', - '.mp3', - '.wav', - '.ogg', - '.opus', - '.flac', - '.m4a' -]) +export const zAssetMetadataResponse = z.object({ + content_length: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .max(BigInt('9223372036854775807'), { + error: 'Invalid value: Expected int64 to be <= 9223372036854775807' + }), + content_type: z.string().optional(), + filename: z.string().optional(), + name: z.string().optional(), + preview_image: z.string().optional(), + tags: z.array(z.string()).optional(), + validation: zValidationResult.optional() +}) /** - * Which card renders an ask. `ask_user` is the generic prompt raised by the ask_user tool. `run_approval` is the run consent card raised when the caller's ask_approval run mode gates a run: exactly the Run and Cancel options, never free text. `paused` is the admission pause card: one Resume option, never free text. `delete_approval` is the delete consent card for nodes the user made: exactly the Delete and Keep options, never free text. The same value is the agent_ask event's `kind`, the message list's `pending_ask.kind`, and an entry of `ask_kinds` on the message POST. + * The user a web session belongs to */ -export const zAgentAskKind = z.enum([ - 'ask_user', - 'run_approval', - 'paused', - 'delete_approval' -]) +export const zWebSessionUser = z.object({ + email: z.string(), + email_verified: z.boolean(), + id: z.string(), + name: z.string().optional(), + sign_in_provider: z.string().optional() +}) /** - * A user turn posted to the agent. + * The live web session and the user it belongs to */ -export const zAgentPostMessageRequest = z.object({ - ask_kinds: z.array(zAgentAskKind).optional(), - attachments: z.array(z.string().max(256)).max(25).optional(), - client_id: z.string().optional(), - client_message_id: z.string().max(128).optional(), - client_version: z.string().optional(), - content: z.string(), - current_tab: z.string().optional(), - current_tab_unbound: z.boolean().optional(), - draft: z - .object({ - content: z.record(z.string(), z.unknown()).optional() - }) - .optional(), - open_tabs: z - .array( - z.object({ - name: z.string().optional(), - workflow_id: z.string() - }) - ) - .optional(), - selection: z.record(z.string(), z.unknown()).optional(), - workflow_id: z.string().optional(), - workflow_references: z - .array( - z.object({ - name: z.string().optional(), - workflow_id: z.string() - }) - ) - .optional() -}) - -export const zAgentAskOption = z.object({ - description: z.string().optional(), - id: z.string(), - label: z.string() +export const zWebSessionResponse = z.object({ + absolute_expires_at: z.iso.datetime(), + csrf_token: z.string(), + expires_at: z.iso.datetime(), + has_personal_workspace: z.boolean(), + user: zWebSessionUser }) /** - * The fields every pending ask carries, whatever its kind. + * Request body for querying assets associated with a workflow. */ -export const zAgentPendingAskBase = z.object({ - allow_other: z.boolean(), - ask_id: z.string(), - kind: zAgentAskKind, - max_selections: z.int(), - message_id: z.string(), - min_selections: z.int(), - options: z.array(zAgentAskOption), - prompt: z.string() +export const zWorkflowApiAssetsRequest = z.object({ + workflow_api_json: z.record(z.string(), z.unknown()) }) /** - * A pending `run_approval` consent card. + * Response containing assets associated with a workflow. */ -export const zAgentPendingRunApproval = zAgentPendingAskBase.and( - z.object({ - context: zAgentRunApprovalContext, - kind: z.enum(['run_approval']) - }) -) +export const zWorkflowApiAssetsResponse = z.object({ + assets: z.array(zAssetInfo) +}) /** - * The `context` of a `paused` ask. + * Reference to the parent workflow from which this workflow was forked. */ -export const zAgentPausedContext = z.object({ - message: z.string(), - reason: z.string(), - recheck_after_seconds: z.int() +export const zWorkflowForkedFrom = z.object({ + workflow_id: z.string().optional(), + workflow_version_id: z.string().optional() }) /** - * A pending `paused` admission card. + * Publishing metadata for a workflow shared to the Hub. */ -export const zAgentPendingPaused = zAgentPendingAskBase.and( - z.object({ - context: zAgentPausedContext, - kind: z.enum(['paused']) - }) -) +export const zWorkflowPublishInfo = z.object({ + assets: z.array(zAssetInfo), + listed: z.boolean(), + publish_time: z.iso.datetime().nullish(), + share_id: z.string(), + workflow_id: z.string() +}) /** - * One node a `delete_approval` ask names, read from the turn's workflow. + * Full workflow entity including metadata and version history. */ -export const zAgentAskNodeRef = z.object({ +export const zWorkflowResponse = z.object({ + created_at: z.iso.datetime(), + created_by: z.string(), + default_view: z.enum(['workflow', 'app']).optional(), + description: z.string().optional(), + forked_from: zWorkflowForkedFrom.optional(), id: z.string(), - title: z.string().optional(), - type: z.string().optional() + latest_version: z.int(), + name: z.string().optional(), + updated_at: z.iso.datetime() }) /** - * The `context` of a `delete_approval` ask: the user-made nodes the agent's delete would remove. The server always lists at least one node, and lists at most 50; any more are counted in `hidden_node_count`, so the card can say how many it did not list. + * Paginated list of saved workflows. */ -export const zAgentDeleteApprovalContext = z.object({ - action: z.enum(['delete_nodes']), - hidden_node_count: z.int().gte(1).optional(), - nodes: z.array(zAgentAskNodeRef).min(1).max(50) +export const zWorkflowListResponse = z.object({ + data: z.array(zWorkflowResponse), + pagination: zPaginationInfo }) /** - * A pending `delete_approval` consent card. + * Workflow metadata captured at mint time. The subsequent PUT body is the + * raw workflow JSON document and nothing else, so everything that would + * normally accompany workflow_json in POST /api/workflows is declared + * here instead. + * */ -export const zAgentPendingDeleteApproval = zAgentPendingAskBase.and( - z.object({ - context: zAgentDeleteApprovalContext, - kind: z.enum(['delete_approval']) - }) -) +export const zWorkflowUploadUrlRequest = z.object({ + default_view: z.enum(['workflow', 'app']).optional(), + description: z.string().max(2000).optional(), + forked_from_workflow_id: z.string().max(128).optional(), + forked_from_workflow_version_id: z.string().max(128).optional(), + name: z.string().max(255).optional() +}) /** - * A pending `ask_user` prompt. It carries no context. + * Full workflow version including the serialized workflow JSON. */ -export const zAgentPendingAskUser = zAgentPendingAskBase.and( - z.object({ - kind: z.enum(['ask_user']) - }) -) +export const zWorkflowVersionContentResponse = z.object({ + created_at: z.iso.datetime(), + created_by: z.string(), + dependency_asset_ids: z.array(z.string()).optional(), + id: z.string(), + version: z.int(), + workflow_json: z.record(z.string(), z.unknown()) +}) /** - * An unanswered ask attached to its assistant message, so a reload rehydrates the prompt from the ROW rather than from the agent_ask WebSocket event the client missed. Present only while the ask is pending; answer it via POST /agent/threads/{id}/asks/{ask_id}/answer. Discriminated on `kind`: narrowing on it gives the kind's `context` schema. The agent_ask WebSocket event's `data` is this same shape plus `thread_id`. + * Metadata for a single workflow version. */ -export const zAgentPendingAsk = z.union([ - z - .object({ - kind: z.literal('ask_user') - }) - .and(zAgentPendingAskUser), - z - .object({ - kind: z.literal('run_approval') - }) - .and(zAgentPendingRunApproval), - z - .object({ - kind: z.literal('paused') - }) - .and(zAgentPendingPaused), - z - .object({ - kind: z.literal('delete_approval') - }) - .and(zAgentPendingDeleteApproval) -]) +export const zWorkflowVersionResponse = z.object({ + created_at: z.iso.datetime(), + created_by: z.string(), + id: z.string(), + latest_version: z.int(), + version: z.int() +}) /** - * The `data` of an agent_message_done WebSocket event: the assistant message is complete. Mirrors `$defs.agent_message_done.data` in services/agent/api/agent_events.schema.json. + * Full workspace entity with configuration and ownership details. */ -export const zAgentMessageDoneData = z.object({ - message_id: z.string(), - refusal: zAgentTurnRefusal.optional(), - thread_id: z.string(), - usage: zAgentTurnUsage.nullable() +export const zWorkspace = z.object({ + created_at: z.iso.datetime(), + id: z.string(), + name: z.string(), + type: z.enum(['personal', 'team']) }) /** - * Server-to-client agent_message_done frame on /ws. Closed, like the canonical envelope. + * Metadata for a workspace-scoped API key (secret is never returned). */ -export const zAgentMessageDoneFrame = z.object({ - data: zAgentMessageDoneData, - type: z.enum(['agent_message_done']) +export const zWorkspaceApiKeyInfo = z.object({ + created_at: z.iso.datetime(), + description: z.string().max(5000), + expires_at: z.iso.datetime().optional(), + id: z.uuid(), + key_prefix: z.string(), + last_used_at: z.iso.datetime().optional(), + name: z.string(), + revoked_at: z.iso.datetime().optional(), + user_id: z.string(), + workspace_id: z.string() }) /** - * A persisted message in an agent thread. + * List of API keys associated with the current workspace. */ -export const zAgentMessage = z.object({ - content: z - .object({ - attachment_refs: z - .array( - z.object({ - display_name: z.string().optional(), - id: z.string().optional(), - kind: z.string().optional(), - name: z.string().optional() - }) - ) - .optional(), - thinking: z.array(zAgentThinkingEntry).optional(), - tool_calls: z.array(zToolCallSummary).optional() - }) - .optional(), - id: z.string(), - pending_ask: zAgentPendingAsk.optional(), - role: z.enum(['user', 'assistant', 'tool', 'system']), - seq: z.int(), - status: z.enum(['streaming', 'complete', 'error', 'interrupted']), - thread_id: z.string(), - turn_id: z.string(), - workflow_id: z.string().optional() +export const zListWorkspaceApiKeysResponse = z.object({ + api_keys: z.array(zWorkspaceApiKeyInfo) }) /** - * The (workspace, user) the agent service attributes the caller's requests to. + * Reasons creation is unavailable. Returned beside can_create_workspace false or on a creation refusal; first applicable reason wins. */ -export const zAgentIdentity = z.object({ - user_id: z.string(), - workspace_id: z.string() +export const zWorkspaceCreationDenials = z.object({ + can_create_workspace: z + .enum(['organization_managed', 'owned_workspace_limit']) + .optional() }) /** - * Error body authored by the comfy-agent service and proxied verbatim through ingest. Errors raised by ingest itself (authentication, an unreachable agent service) use the standard ErrorResponse shape instead. + * Standard error response with a machine-readable code and human-readable message. */ -export const zAgentError = z.object({ - error: z.string() +export const zErrorResponse = z.object({ + code: z.string(), + denied_reasons: zWorkspaceCreationDenials.optional(), + details: z.record(z.string(), z.unknown()).optional(), + message: z.string(), + organization_id: z.string().optional() }) /** - * Authoritative snapshot of a workflow's agent draft — a snapshot for recovery and tooling. + * A 403 body: ErrorResponse, or AuthTypeNotAllowedError for a credential the route does not take. */ -export const zAgentDraftSnapshot = z.object({ - content: z.record(z.string(), z.unknown()), - version: z.int() +export const zForbiddenError = z.union([ + zErrorResponse, + zAuthTypeNotAllowedError +]) + +/** + * A 400 from a media route served outside the generated wrapper: ErrorResponse, or MediaQueryError for a bad query parameter. + */ +export const zMediaBadRequestError = z.union([zErrorResponse, zMediaQueryError]) + +/** + * Union of the two 400 shapes /oauth/register can emit. `OAuthRegisterError` is the handler-shaped RFC 7591 §3.2.2 error; `ErrorResponse` is the strict-server binding-layer error fired when the request body fails OpenAPI-schema validation before the handler runs, normalized to the standard {code, message} shape by the custom Echo HTTPErrorHandler (BE-1178). + * + */ +export const zOAuthRegisterBadRequestResponse = z.union([ + zOAuthRegisterError, + zErrorResponse +]) + +/** + * Creation refused because the account has reached its live owner membership threshold for creation. + */ +export const zWorkspaceCreationLimitError = z.object({ + code: z.enum(['OWNED_WORKSPACE_LIMIT']), + denied_reasons: zWorkspaceCreationDenials, + max_owned_workspaces: z.int(), + message: z.string() }) /** - * A stop whose cancellation request did not land, or could not be confirmed as landed, on the durable engine. The turn is unaffected and still streaming, so the same request may be retried; cancellation is idempotent per turn. Distinct from the 500, which means the failure was one the service could not classify and a retry may never work. + * Present only for can_delete_workspace denied with plan_ending when all live subscription rows carry a known future cancel_at. This is guidance, not a promise that deletion will succeed at that time; writes recheck. */ -export const zAgentCancelUnconfirmed = z.object({ - code: z.enum(['cancel_not_requested', 'cancel_outcome_unknown']), - error: z.string(), - retryable: z.boolean() +export const zWorkspaceDeletionDenialParams = z.object({ + effective_at: z.iso.datetime().optional() }) /** - * Acknowledgement that a turn cancellation was requested. Cancellation is asynchronous; the terminal message state (status=error with stop copy) arrives over the WebSocket. + * Optional facts for the matching denied_reasons key; absent facts are unknown and must not be inferred from other fields. */ -export const zAgentCancelAccepted = z.object({ - status: z.enum(['cancelling']) +export const zBillingCapabilityDenialParams = z.object({ + can_delete_workspace: zWorkspaceDeletionDenialParams.optional() }) /** - * Every extension the agent accepts as an attachment, grouped by what it can actually DO with - * one. The grouping is the point: the tiers differ sharply, and a client that renders them as - * one flat "supported files" list tells the user something false (PM-1855). - * - * - `view`: the model sees the content. view_asset decodes the still (converting HEIC/HEIF to - * JPEG first) and re-encodes it as PNG/JPEG into the turn, so the model reasons about actual - * pixels. - * - `probe`: metadata only. probe_media reports duration, resolution, frame rate and codecs; - * nothing in the model's input can carry a clip, so the CONTENT stays unreadable. Seeing a - * video means cutting a frame out with process_media and viewing that. - * - `reference`: the agent knows what the file is, with its kind and id, and wires its - * filename into the load node that takes it: a 3D model into a Load3D node's model_file - * widget, an .exr into a LoadImage node's image widget. No tool opens the file itself: the - * cloud turn registers neither a shell nor a file-read tool, by design, as it is a shared - * multi-tenant pod, and view_asset cannot decode an EXR. - * - `read`: the agent reads the contents verbatim with read_asset — UTF-8 decoded, bounded - * and truncation-marked. The tier describes CONTENT ACCESS only; whether the file can also - * be wired into a graph is a separate axis, so a format gaining an upload-backed node input - * later stays in this tier. - * - `retain`: the file is attached and nothing more — neither readable nor wirable. Only - * .avif, which the turn cannot decode as an image and is not text. - * - * The union of the five arrays is the accepted list. Anything absent is rejected. - * + * Effective billing UI guidance for one authenticated user and workspace. */ -export const zAgentAttachmentPolicy = z.object({ - probe: z.array(zAgentProbeableAttachmentExtension), - read: z.array(zAgentReadableAttachmentExtension), - reference: z.array(zAgentReferenceAttachmentExtension), - retain: z.array(zAgentRetainedAttachmentExtension), - view: z.array(zAgentViewableAttachmentExtension) +export const zBillingCapabilitiesResponse = z.object({ + auto_top_up_enabled: z.boolean(), + auto_top_up_setup: zAutoTopUpSetup.optional(), + capabilities: zBillingCapabilities, + denied_reason_params: zBillingCapabilityDenialParams.optional(), + denied_reasons: zBillingCapabilityDenials.optional(), + expires_at: z.iso.datetime(), + has_parked_billing_operation: z.boolean().optional(), + payment_recovery_available: z.boolean().optional(), + plan_kind: z.enum(['none', 'self_serve', 'sales_managed']).optional(), + recovery_route: z.enum(['none', 'resubscribe', 'contact_sales']).optional(), + resolved_for: zBillingCapabilityScope, + revision: z.coerce + .bigint() + .min(BigInt('-9223372036854775808'), { + error: 'Invalid value: Expected int64 to be >= -9223372036854775808' + }) + .lte(BigInt(9007199254740991)), + rollout_defaults_applied: zBillingCapabilityRolloutDefaults, + subscription_state_authoritative: z.boolean().optional() }) /** - * 422 body when a posted attachment's extension is outside the accepted list. It carries the - * policy rather than only an error string so a client never has to hardcode the list to - * explain the refusal — the same reason the list is expressed as enums the frontend generates - * its types from. - * + * One live deployment of the workspace, as the editor's switcher shows it. */ -export const zAgentAttachmentRejected = z.object({ - accepted: zAgentAttachmentPolicy, - error: z.string(), - rejected: z.array(z.string()), - rejected_count: z.int(), - type: z.enum(['ATTACHMENT_TYPE_NOT_ACCEPTED']) -}) - -export const zAgentAttachmentBoundsExceeded = z.object({ - error: z.string(), - limits: z.object({ - max_item_length: z.int(), - max_items: z.int() - }), - overlong_ref: z.string(), - received_count: z.int(), - type: z.enum(['ATTACHMENT_BOUNDS_EXCEEDED']) +export const zWorkspaceDeployment = z.object({ + build_id: z.string().optional(), + build_name: z.string().optional(), + can_start: z.boolean(), + created_at: z.iso.datetime(), + deployment_id: z.string(), + deployment_name: z.string().optional(), + release_id: z.string(), + release_version: z.int().optional(), + status: z.enum([ + 'queued', + 'provisioning', + 'starting', + 'ready', + 'unhealthy', + 'stopping', + 'stop_failed', + 'stopped', + 'failed' + ]) }) -export const zAgentAttachmentError = z.discriminatedUnion('type', [ - zAgentAttachmentRejected.extend({ - type: z.literal('ATTACHMENT_TYPE_NOT_ACCEPTED') - }), - zAgentAttachmentBoundsExceeded.extend({ - type: z.literal('ATTACHMENT_BOUNDS_EXCEEDED') - }) -]) - /** - * How an ask left pending, as stored on the ask row. `answered` means an answer was committed and delivered to the turn; `cancelled` means the turn ended, was stopped, or could not take the answer; `expired` means the ask timed out. There is no "unknown" status: when an answer request fails with a 5xx the client does not know the outcome and should wait for agent_ask_resolved or refetch the thread. + * Which step the CPU server of the deployment this browser's editor runs on is on. */ -export const zAgentAskStatus = z.enum(['answered', 'cancelled', 'expired']) +export const zWorkspaceDeploymentCpuServer = z.object({ + cpu_server: z.enum(['none', 'creating', 'building', 'created']), + deployment_id: z.string().optional() +}) /** - * The `data` of an agent_ask_resolved WebSocket event: the outcome the server committed to the ask row. Every open tab gets the same frame, including tabs that did not send the answer, so a client reads the answer that won from here and never infers it from what it sent. + * The deployments a browser in this workspace may pick, newest first by created_at (always present). A row without a Build name keeps its place in that order. */ -export const zAgentAskResolvedData = z.object({ - ask_id: z.string(), - message_id: z.string(), - other_text: z.string().optional(), - selected: z.array(z.string()).nullable(), - status: zAgentAskStatus, - thread_id: z.string() +export const zWorkspaceDeploymentList = z.object({ + builds_visible: z.boolean(), + default_deployment_id: z.string().optional(), + gone_default_deployment_id: z.string().optional(), + gone_picked_deployment_id: z.string().optional(), + items: z.array(zWorkspaceDeployment), + pick_source: z.enum(['browser', 'workspace_default']).optional(), + picked_deployment_id: z.string().optional() }) /** - * Server-to-client agent_ask_resolved frame on /ws. An ask left pending. + * Per-member action guidance for the authenticated actor; render each field as received rather than deriving it from roles. */ -export const zAgentAskResolvedFrame = z.object({ - data: zAgentAskResolvedData, - type: z.enum(['agent_ask_resolved']) +export const zWorkspaceMemberCapabilities = z.object({ + can_change_role: z.boolean(), + can_remove: z.boolean(), + can_set_credit_limit: z.boolean() }) /** - * Server-to-client agent_ask frame on /ws. A turn is parked on this ask. + * Workspace member with profile and role information. */ -export const zAgentAskFrame = z.object({ - data: zAgentPendingAsk.and( - z.object({ - thread_id: z.string() - }) - ), - type: z.enum(['agent_ask']) +export const zMember = z.object({ + capabilities: zWorkspaceMemberCapabilities.optional(), + email: z.string(), + id: z.string(), + is_original_owner: z.boolean(), + joined_at: z.iso.datetime(), + managed_by_directory: z.boolean().optional(), + name: z.string(), + role: z.enum(['owner', 'member']) }) /** - * The ask frames the server sends on /ws, discriminated on `type`. + * List of members in the current workspace. */ -export const zAgentAskServerFrame = z.union([ - zAgentAskFrame, - zAgentAskResolvedFrame -]) +export const zListMembersResponse = z.object({ + members: z.array(zMember), + pagination: zPaginationInfo +}) /** - * 409 from the answer route: the ask is no longer pending, or its turn is gone so the answer can never be delivered. `status`, `selected` and `other_text` report the outcome stored on the ask row when the server knows it, with the same rules as the agent_ask_resolved event. + * Workspace-switcher display fact, not spend authorization or plan-action eligibility. Uses billing subscription-state precedence: ending, scheduled changes and activating display as active; renewal payment failures confirmed by the provider display as payment_due. Unknown or unavailable facts omit the entire summary; clients must not infer no_plan from omission. */ -export const zAgentAskConflict = z.object({ - error: z.string(), - other_text: z.string().optional(), - selected: z.array(z.string()).nullish(), - status: zAgentAskStatus.optional() +export const zWorkspacePlanSummary = z.object({ + plan_name: z.string().nullable(), + status: z.enum(['active', 'no_plan', 'paused', 'payment_due', 'ended']) }) /** - * The user's answer to a pending ask_user prompt. `selected` holds the chosen option ids; a permission gate answers with one id (e.g. the Approve/Deny option). `other_text` carries a free-text answer when the ask set allow_other. + * Abbreviated workspace metadata used in list responses. */ -export const zAgentAnswerRequest = z.object({ - other_text: z.string().optional(), - selected: z.array(z.string()) +export const zWorkspaceSummary = z.object({ + id: z.string(), + name: z.string(), + type: z.enum(['personal', 'team']) }) /** - * Acknowledgement that the ask is answered and the parked turn was woken; its continuation streams over the WebSocket. `selected` and `other_text` are the answer committed to the ask row. The first answer wins: when an earlier request already committed one (a retry, or another tab), this carries THAT answer, not the request body, so compare it with what you sent before showing it as the user's choice. + * Response containing the issued Cloud JWT and its expiry. */ -export const zAgentAnswerAccepted = z.object({ - other_text: z.string().optional(), - selected: z.array(z.string()), - status: z.enum(['answered']) +export const zExchangeTokenResponse = z.object({ + expires_at: z.iso.datetime(), + permissions: z.array(z.string()), + role: z.enum(['owner', 'member']), + token: z.string(), + user_id: z.string(), + workspace: zWorkspaceSummary }) /** - * Returned when a request to run the agent is declined before the turn starts, because of a billing or account condition on the workspace. The `error` object carries a `message` you can show the user, a `type` that matches the HTTP status, and a more specific `reason` you can branch on to offer the right next step. + * Workspace entity annotated with the requesting user's role. */ -export const zAgentAdmissionError = z.object({ - error: z.object({ - message: z.string(), - reason: z.enum(['no_funds', 'manual_block', 'funds_unavailable']), - type: z.enum(['PAYMENT_REQUIRED', 'SERVICE_UNAVAILABLE']) - }) +export const zWorkspaceWithRole = z.object({ + created_at: z.iso.datetime(), + id: z.string(), + joined_at: z.iso.datetime(), + name: z.string(), + plan_summary: zWorkspacePlanSummary.optional(), + role: z.enum(['owner', 'member']), + subscription_tier: zSubscriptionTier.optional(), + type: z.enum(['personal', 'team']) }) /** - * Response returned after successfully accepting a workspace invitation. + * Paginated list of workspaces the authenticated user belongs to. */ -export const zAcceptInviteResponse = z.object({ - workspace_id: z.string(), - workspace_name: z.string() +export const zListWorkspacesResponse = z.object({ + can_create_workspace: z.boolean(), + default_workspace_id: z.string().optional(), + denied_reasons: zWorkspaceCreationDenials.optional(), + max_owned_workspaces: z.int(), + workspaces: z.array(zWorkspaceWithRole) }) /** @@ -5219,6 +5335,15 @@ export const zAssetWritable = z.object({ user_metadata: z.record(z.string(), z.unknown()).optional() }) +/** + * Response returned when a new asset is successfully created. + */ +export const zAssetCreatedWritable = zAssetWritable.and( + z.object({ + created_new: z.boolean() + }) +) + /** * Paginated list of assets belonging to the authenticated user. */ @@ -5229,15 +5354,6 @@ export const zListAssetsResponseWritable = z.object({ total: z.int() }) -/** - * Response returned when a new asset is successfully created. - */ -export const zAssetCreatedWritable = zAssetWritable.and( - z.object({ - created_new: z.boolean() - }) -) - /** * The workspace a media request reads from, where a media tag cannot * send `X-Comfy-Workspace-ID`. It applies only while @@ -5442,6 +5558,11 @@ export const zAgentCancelMessagePath = z.object({ */ export const zAgentCancelMessageResponse = zAgentCancelAccepted +/** + * Message usage for the authenticated user and workspace. + */ +export const zAgentGetUsageStatusResponse = zAgentUsageStatusResponse + export const zListAssetsQuery = z.object({ include_tags: z.array(z.string()).optional(), exclude_tags: z.array(z.string()).optional(), @@ -6047,6 +6168,13 @@ export const zGetBillingUsageTimeSeriesQuery = z.object({ */ export const zGetBillingUsageTimeSeriesResponse = zUsageTimeSeries +export const zCheckCloudCompatibilityBody = zCloudCompatibilityRequest + +/** + * The posted node types and models Comfy Cloud is missing + */ +export const zCheckCloudCompatibilityResponse = zCloudCompatibility + /** * Default workflow JSON */ @@ -6139,6 +6267,7 @@ export const zGetFeaturesResponse = z.object({ .enum(['control', 'test']) .optional() .default('control'), + agent_gratis_local_arm: z.enum(['control', 'treatment']).optional(), billing_web_url: z.string().optional(), can_run_partner_nodes: z.boolean().optional(), deploy_to_cloud: z.boolean().optional(), diff --git a/packages/object-info-parser/package.json b/packages/object-info-parser/package.json index 28ef7f994c4..d611f97fb2e 100644 --- a/packages/object-info-parser/package.json +++ b/packages/object-info-parser/package.json @@ -18,6 +18,11 @@ "@comfyorg/object-info-parser": "./src/index.ts", "types": "./dist/index.d.ts", "default": "./src/index.ts" + }, + "./*": { + "@comfyorg/object-info-parser": "./src/*.ts", + "types": "./dist/*.d.ts", + "default": "./src/*.ts" } }, "scripts": { diff --git a/src/schemas/nodeDef/inputSpecUtil.test.ts b/packages/object-info-parser/src/__tests__/flattenInputSpecs.test.ts similarity index 86% rename from src/schemas/nodeDef/inputSpecUtil.test.ts rename to packages/object-info-parser/src/__tests__/flattenInputSpecs.test.ts index 0aae98908fc..166ce78f200 100644 --- a/src/schemas/nodeDef/inputSpecUtil.test.ts +++ b/packages/object-info-parser/src/__tests__/flattenInputSpecs.test.ts @@ -1,8 +1,10 @@ import { describe, expect, it } from 'vitest' -import { flattenInputSpecs } from '@/schemas/nodeDef/inputSpecUtil' -import type { ComfyNodeDef as ComfyNodeDefV1 } from '@/schemas/nodeDefSchema' -import { ComfyNodeDefImpl } from '@/core/graph/nodeDef/ComfyNodeDefImpl' +import { createInputSpecInterpreter } from '#/inputSpecInterpreter' +import { transformNodeDefV1ToV2 } from '#/migration' +import type { ComfyNodeDef as ComfyNodeDefV1 } from '#/schemas/nodeDefSchema' + +const { flattenInputSpecs } = createInputSpecInterpreter(() => {}) describe('flattenInputSpecs', () => { it('includes a dynamic combo input alongside its nested per-option inputs', () => { @@ -57,8 +59,8 @@ describe('flattenInputSpecs', () => { output_node: false } - const nodeDefImpl = new ComfyNodeDefImpl(nodeDef) - const result = flattenInputSpecs(nodeDefImpl.inputs) + const nodeDefV2 = transformNodeDefV1ToV2(nodeDef) + const result = flattenInputSpecs(nodeDefV2.inputs) const byName = Object.fromEntries(result.map((spec) => [spec.name, spec])) expect(Object.keys(byName)).toEqual([ @@ -77,7 +79,7 @@ describe('flattenInputSpecs', () => { }) it('returns inputs unchanged when there is no dynamic combo', () => { - const nodeDefImpl = new ComfyNodeDefImpl({ + const nodeDefV2 = transformNodeDefV1ToV2({ name: 'PlainNode', display_name: 'Plain Node', category: 'Test', @@ -93,7 +95,7 @@ describe('flattenInputSpecs', () => { output_node: false }) - const result = flattenInputSpecs(nodeDefImpl.inputs) + const result = flattenInputSpecs(nodeDefV2.inputs) expect(result.map((spec) => spec.name)).toEqual(['seed']) }) @@ -145,8 +147,8 @@ describe('flattenInputSpecs', () => { output_node: false } - const nodeDefImpl = new ComfyNodeDefImpl(nodeDef) - const result = flattenInputSpecs(nodeDefImpl.inputs) + const nodeDefV2 = transformNodeDefV1ToV2(nodeDef) + const result = flattenInputSpecs(nodeDefV2.inputs) const thresholdSpecs = result.filter((spec) => spec.name === 'threshold') expect(thresholdSpecs).toHaveLength(1) @@ -173,10 +175,10 @@ describe('flattenInputSpecs', () => { output_node: false } - const nodeDefImpl = new ComfyNodeDefImpl(nodeDef) + const nodeDefV2 = transformNodeDefV1ToV2(nodeDef) - expect(() => flattenInputSpecs(nodeDefImpl.inputs)).not.toThrow() - const result = flattenInputSpecs(nodeDefImpl.inputs) + expect(() => flattenInputSpecs(nodeDefV2.inputs)).not.toThrow() + const result = flattenInputSpecs(nodeDefV2.inputs) expect(result.map((spec) => spec.name)).toEqual(['model']) }) @@ -199,8 +201,8 @@ describe('flattenInputSpecs', () => { output_node: false } - const nodeDefImpl = new ComfyNodeDefImpl(nodeDef) - const result = flattenInputSpecs(nodeDefImpl.inputs) + const nodeDefV2 = transformNodeDefV1ToV2(nodeDef) + const result = flattenInputSpecs(nodeDefV2.inputs) expect(result.map((spec) => spec.name)).toEqual(['model']) }) @@ -232,8 +234,8 @@ describe('flattenInputSpecs', () => { output_node: false } - const nodeDefImpl = new ComfyNodeDefImpl(nodeDef) - const result = flattenInputSpecs(nodeDefImpl.inputs) + const nodeDefV2 = transformNodeDefV1ToV2(nodeDef) + const result = flattenInputSpecs(nodeDefV2.inputs) expect(result.map((spec) => spec.name)).toEqual(['model', 'image']) }) diff --git a/src/schemas/nodeDef/inputSpecInterpreter.test.ts b/packages/object-info-parser/src/__tests__/inputSpecInterpreter.test.ts similarity index 88% rename from src/schemas/nodeDef/inputSpecInterpreter.test.ts rename to packages/object-info-parser/src/__tests__/inputSpecInterpreter.test.ts index d5acdcd983e..2c3bd970d5d 100644 --- a/src/schemas/nodeDef/inputSpecInterpreter.test.ts +++ b/packages/object-info-parser/src/__tests__/inputSpecInterpreter.test.ts @@ -1,7 +1,7 @@ import { expect, it, vi } from 'vitest' -import { createInputSpecInterpreter } from '@/schemas/nodeDef/inputSpecInterpreter' -import { transformInputSpecV1ToV2 } from '@/schemas/nodeDef/migration' +import { createInputSpecInterpreter } from '#/inputSpecInterpreter' +import { transformInputSpecV1ToV2 } from '#/migration' it('delivers every malformed option to its own sink without app dedupe or caps', () => { const sink = vi.fn() diff --git a/packages/object-info-parser/src/__tests__/migration.test.ts b/packages/object-info-parser/src/__tests__/migration.test.ts new file mode 100644 index 00000000000..4c55f9d131f --- /dev/null +++ b/packages/object-info-parser/src/__tests__/migration.test.ts @@ -0,0 +1,277 @@ +import { describe, expect, it } from 'vitest' + +import { + transformInputSpecV1ToV2, + transformInputSpecV2ToV1, + transformNodeDefV1ToV2 +} from '#/migration' +import type { ComfyNodeDef as ComfyNodeDefV1 } from '#/schemas/nodeDefSchema' + +describe('NodeDef Migration', () => { + it('should correctly transform required input specs', () => { + const plainObject = { + required: { + intInput: ['INT', { min: 0, max: 100, default: 50 }], + stringInput: ['STRING', { default: 'Hello', multiline: true }] + } + } as ComfyNodeDefV1['input'] + + const nodeDef: ComfyNodeDefV1 = { + name: 'TestNode', + display_name: 'Test Node', + category: 'Testing', + python_module: 'test_module', + description: 'A test node', + input: plainObject, + output: [], + output_is_list: [], + output_name: [], + output_node: false + } + + const result = transformNodeDefV1ToV2(nodeDef) + + const intInput = result.inputs['intInput'] + const stringInput = result.inputs['stringInput'] + + expect(intInput.min).toBe(0) + expect(intInput.max).toBe(100) + expect(intInput.default).toBe(50) + expect(intInput.name).toBe('intInput') + expect(intInput.type).toBe('INT') + expect(stringInput.default).toBe('Hello') + expect(stringInput.multiline).toBe(true) + expect(stringInput.name).toBe('stringInput') + expect(stringInput.type).toBe('STRING') + }) + + it('should correctly transform optional input specs', () => { + const plainObject = { + optional: { + booleanInput: [ + 'BOOLEAN', + { default: true, labelOn: 'Yes', labelOff: 'No' } + ], + floatInput: ['FLOAT', { min: 0, max: 1, step: 0.1 }] + } + } as ComfyNodeDefV1['input'] + + const nodeDef: ComfyNodeDefV1 = { + name: 'TestNode', + display_name: 'Test Node', + category: 'Testing', + python_module: 'test_module', + description: 'A test node', + input: plainObject, + output: [], + output_is_list: [], + output_name: [], + output_node: false + } + + const result = transformNodeDefV1ToV2(nodeDef) + + const booleanInput = result.inputs['booleanInput'] + const floatInput = result.inputs['floatInput'] + + expect(booleanInput.default).toBe(true) + expect(booleanInput.labelOn).toBe('Yes') + expect(booleanInput.labelOff).toBe('No') + expect(booleanInput.type).toBe('BOOLEAN') + expect(booleanInput.isOptional).toBe(true) + expect(floatInput.min).toBe(0) + expect(floatInput.max).toBe(1) + expect(floatInput.step).toBe(0.1) + expect(floatInput.type).toBe('FLOAT') + expect(floatInput.isOptional).toBe(true) + }) + + it('should handle combo input specs', () => { + const plainObject = { + optional: { + comboInput: [[1, 2, 3], { default: 2 }] + } + } as ComfyNodeDefV1['input'] + + const nodeDef: ComfyNodeDefV1 = { + name: 'TestNode', + display_name: 'Test Node', + category: 'Testing', + python_module: 'test_module', + description: 'A test node', + input: plainObject, + output: [], + output_is_list: [], + output_name: [], + output_node: false + } + + const result = transformNodeDefV1ToV2(nodeDef) + expect(result.inputs['comboInput'].type).toBe('COMBO') + expect(result.inputs['comboInput'].default).toBe(2) + expect(result.inputs['comboInput'].options).toEqual([1, 2, 3]) + }) + + it('should handle combo input specs (auto-default)', () => { + const plainObject = { + optional: { + comboInput: [[1, 2, 3], {}] + } + } as ComfyNodeDefV1['input'] + + const nodeDef: ComfyNodeDefV1 = { + name: 'TestNode', + display_name: 'Test Node', + category: 'Testing', + python_module: 'test_module', + description: 'A test node', + input: plainObject, + output: [], + output_is_list: [], + output_name: [], + output_node: false + } + + const result = transformNodeDefV1ToV2(nodeDef) + expect(result.inputs['comboInput'].type).toBe('COMBO') + // Should pick the first choice as default + expect(result.inputs['comboInput'].options).toEqual([1, 2, 3]) + }) + + it('should handle custom input specs', () => { + const plainObject = { + optional: { + customInput: ['CUSTOM_TYPE', { default: 'custom value' }] + } + } as ComfyNodeDefV1['input'] + + const nodeDef: ComfyNodeDefV1 = { + name: 'TestNode', + display_name: 'Test Node', + category: 'Testing', + python_module: 'test_module', + description: 'A test node', + input: plainObject, + output: [], + output_is_list: [], + output_name: [], + output_node: false + } + + const result = transformNodeDefV1ToV2(nodeDef) + expect(result.inputs['customInput'].type).toBe('CUSTOM_TYPE') + expect(result.inputs['customInput'].default).toBe('custom value') + }) + + it('should map CHART option type to chartType', () => { + const plainObject = { + optional: { + chartInput: ['CHART', { type: 'bar', data: { labels: [] } }] + } + } as ComfyNodeDefV1['input'] + + const nodeDef: ComfyNodeDefV1 = { + name: 'TestNode', + display_name: 'Test Node', + category: 'Testing', + python_module: 'test_module', + description: 'A test node', + input: plainObject, + output: [], + output_is_list: [], + output_name: [], + output_node: false + } + + const result = transformNodeDefV1ToV2(nodeDef) + const chartInput = result.inputs['chartInput'] + expect(chartInput.type).toBe('CHART') + expect(chartInput).toMatchObject({ chartType: 'bar', data: { labels: [] } }) + }) + + it('should default a dynamic combo with no supplied options to an empty options array', () => { + // Synthetic subgraph-blueprint nodedefs (subgraphStore.ts) promote a + // boundary input's type into a bare [type, undefined] tuple. + const result = transformInputSpecV1ToV2( + ['COMFY_DYNAMICCOMBO_V3', undefined], + { name: 'model' } + ) + + expect(result.type).toBe('COMFY_DYNAMICCOMBO_V3') + expect(result.options).toEqual([]) + }) + + it('should transform an input spec without options', () => { + const result = transformInputSpecV1ToV2(['PREVIEW_3D'], { name: 'image' }) + + expect(result).toEqual({ + type: 'PREVIEW_3D', + name: 'image', + isOptional: false + }) + }) + + it('should preserve chartType across a V2 to V1 round trip', () => { + const inputSpec = transformInputSpecV1ToV2(['CHART', { type: 'bar' }], { + name: 'chartInput' + }) + + const result = transformInputSpecV1ToV2( + transformInputSpecV2ToV1(inputSpec), + { name: 'chartInput' } + ) + + expect(result.chartType).toBe('bar') + }) + + it('should not transform hidden fields', () => { + const plainObject: NonNullable = { + hidden: { + someHiddenValue: 42, + anotherHiddenValue: { nested: 'object' } + } + } + + const nodeDef: ComfyNodeDefV1 = { + name: 'TestNode', + display_name: 'Test Node', + category: 'Testing', + python_module: 'test_module', + description: 'A test node', + input: plainObject, + output: [], + output_is_list: [], + output_name: [], + output_node: false + } + + const result = transformNodeDefV1ToV2(nodeDef) + + expect(result.hidden).toEqual(plainObject.hidden) + expect(result.hidden?.someHiddenValue).toBe(42) + expect(result.hidden?.anotherHiddenValue).toEqual({ nested: 'object' }) + }) + + it('should handle empty or undefined fields', () => { + const plainObject = {} + + const nodeDef: ComfyNodeDefV1 = { + name: 'TestNode', + display_name: 'Test Node', + category: 'Testing', + python_module: 'test_module', + description: 'A test node', + input: plainObject, + output: [], + output_is_list: [], + output_name: [], + output_node: false + } + + const result = transformNodeDefV1ToV2(nodeDef) + + expect(result).toBeDefined() + expect(result.inputs).toEqual({}) + expect(result.hidden).toBeUndefined() + }) +}) diff --git a/src/schemas/nodeDef/searchableSlotTypes.test.ts b/packages/object-info-parser/src/__tests__/searchableSlotTypes.test.ts similarity index 79% rename from src/schemas/nodeDef/searchableSlotTypes.test.ts rename to packages/object-info-parser/src/__tests__/searchableSlotTypes.test.ts index 827efca32dc..5110d1794b3 100644 --- a/src/schemas/nodeDef/searchableSlotTypes.test.ts +++ b/packages/object-info-parser/src/__tests__/searchableSlotTypes.test.ts @@ -1,12 +1,12 @@ import { describe, expect, it } from 'vitest' -import { transformInputSpecV1ToV2 } from '@/schemas/nodeDef/migration' -import type { OutputSpec as OutputSpecV2 } from '@/schemas/nodeDef/nodeDefSchemaV2' -import { - collectSearchableInputTypes, - collectSearchableOutputTypes -} from '@/schemas/nodeDef/searchableSlotTypes' -import type { ComfyInputsSpec, InputSpec } from '@/schemas/nodeDefSchema' +import { createInputSpecInterpreter } from '#/inputSpecInterpreter' +import { transformInputSpecV1ToV2 } from '#/migration' +import type { ComfyInputsSpec, InputSpec } from '#/schemas/nodeDefSchema' +import type { OutputSpec as OutputSpecV2 } from '#/schemas/nodeDefSchemaV2' + +const { collectSearchableInputTypes, collectSearchableOutputTypes } = + createInputSpecInterpreter(() => {}) function dynamicCombo( options: { key: string; inputs: ComfyInputsSpec }[] @@ -233,6 +233,44 @@ describe('collectSearchableOutputTypes', () => { ).toEqual(['LATENT', 'MASK']) }) + it('unions a template group across inputs and ignores plain inputs', () => { + const inputs = { + image: toV2(['IMAGE', {}], 'image'), + first: toV2(matchType('LATENT,MASK', 'group-a'), 'first'), + second: toV2(matchType('MASK,AUDIO', 'group-a'), 'second') + } + + expect( + collectSearchableOutputTypes(outputs('COMFY_MATCHTYPE_V3'), inputs, [ + 'group-a' + ]) + ).toEqual(['LATENT', 'MASK', 'AUDIO']) + }) + + it('keeps a plain output beside a MatchType output', () => { + const inputs = { value: toV2(matchType('LATENT', 'group-a'), 'value') } + const mixedOutputs: OutputSpecV2[] = [ + { index: 0, name: 'image', type: 'IMAGE,MASK', is_list: false }, + { index: 1, name: 'out', type: 'COMFY_MATCHTYPE_V3', is_list: false } + ] + + expect( + collectSearchableOutputTypes(mixedOutputs, inputs, [undefined, 'group-a']) + ).toEqual(['IMAGE', 'MASK', 'LATENT']) + }) + + it('yields nothing for a MatchType output without a template id', () => { + const inputs = { value: toV2(matchType('LATENT', 'group-a'), 'value') } + + expect( + collectSearchableOutputTypes( + outputs('COMFY_MATCHTYPE_V3'), + inputs, + undefined + ) + ).toEqual([]) + }) + it('does not leak the placeholder when the template is unknown', () => { expect( collectSearchableOutputTypes(outputs('COMFY_MATCHTYPE_V3'), {}, [ diff --git a/src/schemas/nodeDef/inputSpecInterpreter.ts b/packages/object-info-parser/src/inputSpecInterpreter.ts similarity index 71% rename from src/schemas/nodeDef/inputSpecInterpreter.ts rename to packages/object-info-parser/src/inputSpecInterpreter.ts index 6d71a831f27..dd4c740d8a1 100644 --- a/src/schemas/nodeDef/inputSpecInterpreter.ts +++ b/packages/object-info-parser/src/inputSpecInterpreter.ts @@ -1,11 +1,14 @@ import type { ZodError } from 'zod' -import { transformInputSpecV1ToV2 } from '@/schemas/nodeDef/migration' -import type { InputSpec as InputSpecV2 } from '@/schemas/nodeDef/nodeDefSchemaV2' +import { transformInputSpecV1ToV2 } from '#/migration' +import type { + InputSpec as InputSpecV2, + OutputSpec as OutputSpecV2 +} from '#/schemas/nodeDefSchemaV2' import type { ComfyInputsSpec, DynamicControlType -} from '@/schemas/nodeDefSchema' +} from '#/schemas/nodeDefSchema' import { isDynamicControlType, zAutogrowOptions, @@ -13,7 +16,7 @@ import { zDynamicComboSpecV2, zDynamicGroupInputSpec, zMatchTypeOptions -} from '@/schemas/nodeDefSchema' +} from '#/schemas/nodeDefSchema' interface DynamicControl { nestedInputs: (spec: InputSpecV2) => ComfyInputsSpec[] @@ -185,12 +188,64 @@ export function createInputSpecInterpreter( } } + /** Top-level and nested input specs, deduped by name with the first occurrence kept. */ + function flattenInputSpecs( + inputs: Record + ): InputSpecV2[] { + const seenNames = new Set() + return Object.values(inputs) + .flatMap(inputSpecTree) + .filter(({ name }) => { + if (seenNames.has(name)) return false + seenNames.add(name) + return true + }) + } + + /** Every slot type an input could expose across all DynamicCombo options; for search only. */ + function collectSearchableInputTypes(input: InputSpecV2): string[] { + return inputSpecTree(input).flatMap(ownSlotTypes) + } + + /** Every slot type an output could produce, resolving MatchType outputs to their template's allowed types. */ + function collectSearchableOutputTypes( + outputs: OutputSpecV2[], + inputs: Record, + outputMatchTypes: (string | undefined)[] | undefined + ): string[] { + if (!outputs.some((output) => output.type === 'COMFY_MATCHTYPE_V3')) { + return outputs.flatMap((output) => splitSlotTypes(output.type)) + } + + const allowedTypesByTemplate = new Map() + for (const spec of Object.values(inputs).flatMap(inputSpecTree)) { + const template = matchTypeTemplate(spec) + if (!template) continue + + const seen = allowedTypesByTemplate.get(template.templateId) ?? [] + allowedTypesByTemplate.set(template.templateId, [ + ...new Set([...seen, ...template.allowedTypes]) + ]) + } + + return outputs.flatMap((output) => { + if (output.type !== 'COMFY_MATCHTYPE_V3') + return splitSlotTypes(output.type) + + const templateId = outputMatchTypes?.[output.index] + return templateId ? (allowedTypesByTemplate.get(templateId) ?? []) : [] + }) + } + return { splitSlotTypes, inputSpecTree, ownSlotTypes, dynamicComboOptionKeys, dynamicComboOptionTypes, - matchTypeTemplate + matchTypeTemplate, + flattenInputSpecs, + collectSearchableInputTypes, + collectSearchableOutputTypes } } diff --git a/src/schemas/nodeDef/migration.ts b/packages/object-info-parser/src/migration.ts similarity index 97% rename from src/schemas/nodeDef/migration.ts rename to packages/object-info-parser/src/migration.ts index 01d659b1eb6..18439d9ac90 100644 --- a/src/schemas/nodeDef/migration.ts +++ b/packages/object-info-parser/src/migration.ts @@ -2,16 +2,16 @@ import type { ComfyNodeDef as ComfyNodeDefV2, InputSpec as InputSpecV2, OutputSpec as OutputSpecV2 -} from '@/schemas/nodeDef/nodeDefSchemaV2' +} from '#/schemas/nodeDefSchemaV2' import type { ComfyNodeDef as ComfyNodeDefV1, InputSpec as InputSpecV1 -} from '@/schemas/nodeDefSchema' +} from '#/schemas/nodeDefSchema' import { getComboSpecComboOptions, isComboInputSpec, isComboInputSpecV1 -} from '@/schemas/nodeDefSchema' +} from '#/schemas/nodeDefSchema' /** * Transforms a V1 node definition to V2 format diff --git a/src/schemas/nodeDef/nodeDefSchemaV2.ts b/packages/object-info-parser/src/schemas/nodeDefSchemaV2.ts similarity index 99% rename from src/schemas/nodeDef/nodeDefSchemaV2.ts rename to packages/object-info-parser/src/schemas/nodeDefSchemaV2.ts index ec2474d4f63..cddc4999437 100644 --- a/src/schemas/nodeDef/nodeDefSchemaV2.ts +++ b/packages/object-info-parser/src/schemas/nodeDefSchemaV2.ts @@ -8,7 +8,7 @@ import { zFloatInputOptions, zIntInputOptions, zStringInputOptions -} from '@/schemas/nodeDefSchema' +} from '#/schemas/nodeDefSchema' const zIntInputSpec = zIntInputOptions.extend({ type: z.literal('INT'), diff --git a/packages/shared-frontend-utils/src/urlSafety.test.ts b/packages/shared-frontend-utils/src/urlSafety.test.ts index fc9f322abb9..b359cb5e5e1 100644 --- a/packages/shared-frontend-utils/src/urlSafety.test.ts +++ b/packages/shared-frontend-utils/src/urlSafety.test.ts @@ -1,6 +1,6 @@ import { describe, expect, it } from 'vitest' -import { isSafeExternalUrl } from './urlSafety' +import { isSafeExternalUrl, parseUrl } from './urlSafety' describe('isSafeExternalUrl', () => { it.for([ @@ -24,3 +24,15 @@ describe('isSafeExternalUrl', () => { expect(isSafeExternalUrl(value)).toBe(false) }) }) + +describe('parseUrl', () => { + it('resolves a relative url against its base', () => { + expect(parseUrl('/view?a=1', 'https://comfy.org/app')?.href).toBe( + 'https://comfy.org/view?a=1' + ) + }) + + it('returns null for a url that cannot be parsed', () => { + expect(parseUrl('/view')).toBeNull() + }) +}) diff --git a/packages/shared-frontend-utils/src/urlSafety.ts b/packages/shared-frontend-utils/src/urlSafety.ts index 7f309f0c734..093d7afa48b 100644 --- a/packages/shared-frontend-utils/src/urlSafety.ts +++ b/packages/shared-frontend-utils/src/urlSafety.ts @@ -1,5 +1,14 @@ const SAFE_EXTERNAL_URL_SCHEMES = new Set(['http:', 'https:']) +/** `URL.parse` for browsers that lack it (Chrome < 126, Safari < 18). */ +export function parseUrl(url: string, base?: string): URL | null { + try { + return new URL(url, base) + } catch { + return null + } +} + /** * Checks that `url` is a syntactically valid URL using only an http(s) * scheme, for use wherever a URL is bound to a clickable `href` (e.g. an diff --git a/packages/telemetry/src/types.ts b/packages/telemetry/src/types.ts index 4fd999161d0..15e66bbe444 100644 --- a/packages/telemetry/src/types.ts +++ b/packages/telemetry/src/types.ts @@ -160,6 +160,8 @@ export interface BootstrapCompleteMetadata { phase_count: number /** Wall-clock ms not covered by any recorded phase. */ untraced_ms: number + /** Wall-clock ms the tab was hidden during startup. */ + hidden_ms: number /** * Per-phase durations, keyed `/` (e.g. * `bootstrap/object-info`). Nested phases intentionally overlap their @@ -769,6 +771,11 @@ export type AgentComposerDropReason = | 'no_target' | 'empty' | 'attachment_uploading' +/** + * The session refused a submitted send: `send_busy` while another is in + * flight, `target_unavailable` when its workflow target changed or has no canvas. + */ +export type AgentSessionRefusalReason = 'send_busy' | 'target_unavailable' /** `not_completed`: the consent flow ended without accept, decline or dismiss. */ export type AgentConsentDropReason = | 'declined' @@ -795,6 +802,13 @@ type AgentSendGateOutcome = client_message_id: null held_ms: null } + | { + gate: 'composer' + outcome: 'dropped' + reason: AgentSessionRefusalReason + client_message_id: string | null + held_ms: null + } | { gate: 'consent' | 'coach' outcome: 'held' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ce9889882ed..a010420f6cb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,6 +33,9 @@ catalogs: '@formkit/auto-animate': specifier: ^0.9.0 version: 0.9.0 + '@hey-api/openapi-ts': + specifier: 0.99.0 + version: 0.99.0 '@iconify-json/lucide': specifier: ^1.1.178 version: 1.2.117 @@ -47,55 +50,55 @@ catalogs: version: 5.0.12 '@iconify/utils': specifier: ^3.1.0 - version: 3.1.4 + version: 3.1.7 '@intlify/eslint-plugin-vue-i18n': specifier: ^4.5.1 version: 4.5.1 '@microsoft/api-extractor': - specifier: 7.58.9 - version: 7.58.9 + specifier: 7.60.0 + version: 7.60.0 '@pinia/testing': - specifier: ^2.0.1 + specifier: 2.0.1 version: 2.0.1 '@playwright/test': specifier: ^1.63.0 version: 1.63.0 '@sentry/vite-plugin': - specifier: ^4.6.0 - version: 4.9.1 + specifier: ^11.10.0 + version: 11.10.0 '@sentry/vue': specifier: ^10.32.1 - version: 10.65.0 + version: 10.78.0 '@sparkjsdev/spark': specifier: ^2.3.1 version: 2.3.1 '@storybook/addon-docs': - specifier: ^10.5.6 - version: 10.5.10 + specifier: ^10.6.5 + version: 10.6.5 '@storybook/addon-mcp': - specifier: 0.7.0 - version: 0.7.0 + specifier: 10.6.5 + version: 10.6.5 '@storybook/vue3': - specifier: ^10.5.6 - version: 10.5.6 + specifier: ^10.6.5 + version: 10.6.5 '@storybook/vue3-vite': - specifier: ^10.5.6 - version: 10.5.6 + specifier: ^10.6.5 + version: 10.6.5 '@stripe/stripe-js': specifier: ^9.12.0 version: 9.12.1 '@tailwindcss/vite': - specifier: ^4.3.2 - version: 4.3.2 + specifier: ^4.3.3 + version: 4.3.3 '@tanstack/vue-virtual': specifier: ^3.13.12 version: 3.13.32 '@testing-library/jest-dom': - specifier: ^6.9.1 - version: 6.9.1 + specifier: ^7.0.1 + version: 7.0.1 '@testing-library/user-event': - specifier: ^14.6.1 - version: 14.6.1 + specifier: ^14.6.8 + version: 14.6.8 '@testing-library/vue': specifier: ^8.1.0 version: 8.1.0 @@ -115,11 +118,11 @@ catalogs: specifier: ^11.0.4 version: 11.0.4 '@types/jsdom': - specifier: ^21.1.7 - version: 21.1.7 + specifier: ^30.0.0 + version: 30.0.0 '@types/node': - specifier: ^25.9.5 - version: 25.9.5 + specifier: ^26.6.6 + version: 26.6.6 '@types/semver': specifier: ^7.8.0 version: 7.8.0 @@ -127,14 +130,14 @@ catalogs: specifier: ^0.186.0 version: 0.186.0 '@vitejs/plugin-vue': - specifier: ^6.0.8 - version: 6.0.8 + specifier: ^6.0.10 + version: 6.0.10 '@vitest/coverage-v8': - specifier: ^5.0.2 - version: 5.0.2 + specifier: ^5.0.5 + version: 5.0.5 '@vitest/ui': - specifier: ^5.0.2 - version: 5.0.2 + specifier: ^5.0.5 + version: 5.0.5 '@vueuse/core': specifier: ^14.4.0 version: 14.4.0 @@ -142,8 +145,8 @@ catalogs: specifier: ^14.4.0 version: 14.4.0 '@webgpu/types': - specifier: ^0.1.66 - version: 0.1.71 + specifier: ^0.1.74 + version: 0.1.74 ag-psd: specifier: ^31.0.2 version: 31.0.2 @@ -152,7 +155,7 @@ catalogs: version: 5.56.0 axios: specifier: ^1.15.2 - version: 1.18.1 + version: 1.21.0 cross-env: specifier: ^10.1.0 version: 10.1.0 @@ -160,11 +163,11 @@ catalogs: specifier: 1.0.0-beta.4 version: 1.0.0-beta.4 dependency-cruiser: - specifier: ^18.5.0 - version: 18.5.0 + specifier: ^18.7.0 + version: 18.7.0 dompurify: - specifier: ^3.4.13 - version: 3.4.13 + specifier: ^3.4.17 + version: 3.4.17 dotenv: specifier: ^16.4.5 version: 16.6.1 @@ -172,8 +175,8 @@ catalogs: specifier: ^1.39.9 version: 1.49.0 eslint: - specifier: ^10.10.0 - version: 10.10.0 + specifier: ^10.13.0 + version: 10.13.0 eslint-config-prettier: specifier: ^10.1.8 version: 10.1.8 @@ -181,23 +184,23 @@ catalogs: specifier: ^4.4.5 version: 4.4.5 eslint-plugin-better-tailwindcss: - specifier: ^4.7.0 - version: 4.7.0 + specifier: ^4.10.0 + version: 4.10.0 eslint-plugin-import-x: specifier: ^4.17.1 version: 4.17.1 eslint-plugin-oxlint: - specifier: 1.81.0 - version: 1.81.0 + specifier: 1.77.0 + version: 1.77.0 eslint-plugin-playwright: - specifier: ^2.11.0 - version: 2.11.0 + specifier: ^2.12.1 + version: 2.12.1 eslint-plugin-regexp: - specifier: ^3.3.1 - version: 3.3.1 + specifier: ^3.3.2 + version: 3.3.2 eslint-plugin-storybook: - specifier: ^10.6.0 - version: 10.6.0 + specifier: ^10.6.5 + version: 10.6.5 eslint-plugin-testing-library: specifier: ^7.16.2 version: 7.16.2 @@ -205,32 +208,35 @@ catalogs: specifier: ^4.4.1 version: 4.4.1 eslint-plugin-vue: - specifier: ^10.10.0 - version: 10.10.0 + specifier: ^10.12.0 + version: 10.12.0 fallow: - specifier: 3.24.1 - version: 3.24.1 + specifier: 3.37.0 + version: 3.37.0 fast-check: - specifier: ^4.5.3 - version: 4.9.0 + specifier: ^4.10.2 + version: 4.10.2 firebase: specifier: ^11.6.0 version: 11.10.0 + fs-extra: + specifier: ^11.4.1 + version: 11.4.1 glob: specifier: ^13.0.6 version: 13.0.6 globals: - specifier: ^17.7.0 - version: 17.7.0 + specifier: ^17.13.0 + version: 17.13.0 happy-dom: - specifier: 20.14.5 - version: 20.14.5 + specifier: 21.0.4 + version: 21.0.4 husky: specifier: ^9.1.7 version: 9.1.7 jsdom: - specifier: ^29.1.1 - version: 29.1.1 + specifier: ^30.1.3 + version: 30.1.3 jsonata: specifier: ^2.1.0 version: 2.2.1 @@ -238,11 +244,11 @@ catalogs: specifier: 3.3.1 version: 3.3.1 knip: - specifier: ^6.27.0 + specifier: 6.27.0 version: 6.27.0 lint-staged: - specifier: ^16.2.7 - version: 16.4.0 + specifier: ^17.6.0 + version: 17.6.0 markdown-table: specifier: ^3.0.4 version: 3.0.4 @@ -259,19 +265,19 @@ catalogs: specifier: ^2.71.0 version: 2.81.0 monocart-coverage-reports: - specifier: ^2.12.9 - version: 2.12.12 + specifier: ^3.2.0 + version: 3.2.0 openai: - specifier: ^7.4.0 - version: 7.4.0 + specifier: ^7.45.1 + version: 7.45.1 oxfmt: - specifier: ^0.59.0 - version: 0.59.0 + specifier: ^0.75.0 + version: 0.75.0 oxlint: - specifier: ^1.77.0 + specifier: 1.77.0 version: 1.77.0 oxlint-tsgolint: - specifier: ^7.0.2001 + specifier: 7.0.2001 version: 7.0.2001 picocolors: specifier: ^1.1.1 @@ -280,14 +286,14 @@ catalogs: specifier: ^4.0.2 version: 4.0.2 postcss-html: - specifier: ^1.8.0 - version: 1.8.1 + specifier: ^2.0.0 + version: 2.0.0 posthog-js: specifier: ^1.358.1 version: 1.402.3 pretty-bytes: - specifier: ^7.1.0 - version: 7.1.1 + specifier: ^7.2.0 + version: 7.2.0 primeicons: specifier: ^7.0.0 version: 7.0.0 @@ -295,29 +301,29 @@ catalogs: specifier: 2.11.0 version: 2.11.0 rollup-plugin-visualizer: - specifier: ^6.0.4 - version: 6.0.11 + specifier: ^7.1.1 + version: 7.1.1 shiki: specifier: ^4.3.0 version: 4.3.1 start-server-and-test: - specifier: ^3.0.11 - version: 3.0.12 + specifier: ^3.0.13 + version: 3.0.13 storybook: - specifier: ^10.5.6 - version: 10.5.6 + specifier: ^10.6.5 + version: 10.6.5 stylelint: - specifier: ^17.14.0 - version: 17.14.0 + specifier: ^17.16.0 + version: 17.16.0 tailwindcss: - specifier: ^4.3.2 - version: 4.3.2 + specifier: ^4.3.3 + version: 4.3.3 three: specifier: ^0.186.1 version: 0.186.1 tsx: - specifier: ^4.15.6 - version: 4.23.1 + specifier: ^4.23.15 + version: 4.23.15 tw-animate-css: specifier: ^1.3.8 version: 1.4.0 @@ -328,14 +334,14 @@ catalogs: specifier: ^6.0.3 version: 6.0.3 typescript-eslint: - specifier: ^8.69.0 - version: 8.69.0 + specifier: ^8.72.1 + version: 8.72.1 typescript-native-bridge: - specifier: 6.0.3-bridge.17.tsgo.7.0.2 - version: 6.0.3-bridge.17.tsgo.7.0.2 + specifier: 6.0.3-bridge.19.tsgo.7.0.2 + version: 6.0.3-bridge.19.tsgo.7.0.2 unplugin-icons: - specifier: ^23.0.1 - version: 23.0.1 + specifier: ^24.0.0 + version: 24.0.0 unplugin-typegpu: specifier: 0.8.0 version: 0.8.0 @@ -349,8 +355,8 @@ catalogs: specifier: ^4.15.1 version: 4.15.1 vite-plugin-dts: - specifier: ^5.1.0 - version: 5.1.0 + specifier: ^5.1.2 + version: 5.1.2 vite-plugin-html: specifier: ^3.2.2 version: 3.2.2 @@ -358,14 +364,14 @@ catalogs: specifier: ^8.2.1 version: 8.2.1 vitest: - specifier: ^5.0.2 - version: 5.0.2 + specifier: ^5.0.5 + version: 5.0.5 vue: - specifier: ^3.5.42 - version: 3.5.42 + specifier: ^3.5.44 + version: 3.5.44 vue-component-type-helpers: - specifier: ^3.3.11 - version: 3.3.11 + specifier: ^3.3.14 + version: 3.3.14 vue-eslint-parser: specifier: ^10.4.1 version: 10.4.1 @@ -376,7 +382,7 @@ catalogs: specifier: ^5.2.0 version: 5.2.0 vue-tsc: - specifier: ^3.3.11 + specifier: 3.3.11 version: 3.3.11 wwobjloader2: specifier: ^6.2.1 @@ -384,24 +390,28 @@ catalogs: yjs: specifier: ^13.6.32 version: 13.6.32 + zip-dir: + specifier: ^2.0.0 + version: 2.0.0 zod: - specifier: ^4.6.5 - version: 4.6.5 + specifier: ^4.6.7 + version: 4.6.7 zod-validation-error: specifier: ^5.0.0 version: 5.0.0 overrides: - vite: ^8.2.2 + vite: ^8.3.5 + unplugin-dts>@vue/language-core: 3.3.11 '@tiptap/pm': 3.31.0 prettier: 3.9.5 lodash: ^4.18.0 - yaml: ^2.8.3 + yaml: ^2.9.1 minimatch@^9.0.0: ^9.0.7 minimatch@^10.0.0: ^10.2.3 ajv@^8.0.0: ^8.18.0 undici@^7.0.0: ^7.29.0 - dompurify@^3.0.0: ^3.4.13 + dompurify@^3.0.0: ^3.4.17 js-yaml@^4.0.0: ^4.3.1 js-yaml@^3.0.0: ^3.15.1 fast-uri@^3.0.0: ^3.1.5 @@ -411,6 +421,7 @@ overrides: brace-expansion@^4.0.0: ^5.0.9 brace-expansion@^5.0.0: ^5.0.9 '@grpc/grpc-js@^1.9.0': ^1.14.6 + tinypool@^2.0.0: 2.1.2 patchedDependencies: '@total-typescript/shoehorn@0.1.2': 8860f8e380c137bc50b1976516d562675229ce1e5b436bb48c7daf65a3dbec15 @@ -490,10 +501,10 @@ importers: version: 0.5.6 '@datadog/browser-rum': specifier: 'catalog:' - version: 6.33.0(@datadog/browser-logs@6.33.0) + version: 6.33.0 '@floating-ui/vue': specifier: 'catalog:' - version: 1.1.11(vue@3.5.42(typescript@6.0.3)) + version: 1.1.11(vue@3.5.44(typescript@6.0.3)) '@formkit/auto-animate': specifier: 'catalog:' version: 0.9.0 @@ -502,13 +513,13 @@ importers: version: 2.2.500 '@sentry/vue': specifier: 'catalog:' - version: 10.65.0(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)))(vue@3.5.42(typescript@6.0.3)) + version: 10.78.0(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)))(vue@3.5.44(typescript@6.0.3)) '@stripe/stripe-js': specifier: 'catalog:' version: 9.12.1 '@tanstack/vue-virtual': specifier: 'catalog:' - version: 3.13.32(vue@3.5.42(typescript@6.0.3)) + version: 3.13.32(vue@3.5.44(typescript@6.0.3)) '@tiptap/core': specifier: 'catalog:' version: 3.31.0(@tiptap/pm@3.31.0) @@ -523,13 +534,13 @@ importers: version: 3.31.0 '@vueuse/core': specifier: 'catalog:' - version: 14.4.0(vue@3.5.42(typescript@6.0.3)) + version: 14.4.0(vue@3.5.44(typescript@6.0.3)) '@vueuse/integrations': specifier: 'catalog:' - version: 14.4.0(axios@1.18.1)(fuse.js@7.0.0)(vue@3.5.42(typescript@6.0.3)) + version: 14.4.0(axios@1.21.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))(fuse.js@7.0.0)(vue@3.5.44(typescript@6.0.3)) '@vueuse/router': specifier: ^14.4.0 - version: 14.4.0(vue-router@5.2.0(@vue/compiler-sfc@3.5.42)(esbuild@0.28.1)(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)))(rolldown@1.2.6)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)))(vue@3.5.42(typescript@6.0.3)) + version: 14.4.0(vue-router@5.2.0(@vue/compiler-sfc@3.5.44)(esbuild@0.28.2)(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)))(rolldown@1.2.16)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)))(vue@3.5.44(typescript@6.0.3)) '@xterm/addon-fit': specifier: ^0.10.0 version: 0.10.0(@xterm/xterm@5.5.0) @@ -544,13 +555,13 @@ importers: version: 5.56.0 axios: specifier: 'catalog:' - version: 1.18.1(debug@4.4.3) + version: 1.21.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2) chart.js: specifier: ^4.5.0 version: 4.5.1 dompurify: specifier: 'catalog:' - version: 3.4.13 + version: 3.4.17 dotenv: specifier: 'catalog:' version: 16.6.1 @@ -586,7 +597,7 @@ importers: version: 2.81.0 pinia: specifier: 'catalog:' - version: 4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)) + version: 4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)) posthog-js: specifier: 'catalog:' version: 1.402.3 @@ -595,7 +606,7 @@ importers: version: 7.0.0 reka-ui: specifier: 'catalog:' - version: 2.11.0(vue@3.5.42(typescript@6.0.3)) + version: 2.11.0(vue@3.5.44(typescript@6.0.3)) semver: specifier: ^7.7.2 version: 7.8.5 @@ -616,25 +627,25 @@ importers: version: 11.1.1 vee-validate: specifier: 'catalog:' - version: 4.15.1(vue@3.5.42(typescript@6.0.3)) + version: 4.15.1(vue@3.5.44(typescript@6.0.3)) vue: specifier: 'catalog:' - version: 3.5.42(typescript@6.0.3) + version: 3.5.44(typescript@6.0.3) vue-i18n: specifier: 'catalog:' - version: 11.4.10(vue@3.5.42(typescript@6.0.3)) + version: 11.4.10(vue@3.5.44(typescript@6.0.3)) vue-router: specifier: 'catalog:' - version: 5.2.0(@vue/compiler-sfc@3.5.42)(esbuild@0.28.1)(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)))(rolldown@1.2.6)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) + version: 5.2.0(@vue/compiler-sfc@3.5.44)(esbuild@0.28.2)(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)))(rolldown@1.2.16)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)) yjs: specifier: 'catalog:' version: 13.6.32 zod: specifier: 'catalog:' - version: 4.6.5 + version: 4.6.7 zod-validation-error: specifier: 'catalog:' - version: 5.0.0(zod@4.6.5) + version: 5.0.0(zod@4.6.7) devDependencies: '@comfyorg/design-system-audits': specifier: workspace:* @@ -647,46 +658,46 @@ importers: version: link:packages/test-utils '@eslint/js': specifier: 'catalog:' - version: 10.0.1(eslint@10.10.0(jiti@2.7.0)) + version: 10.0.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2)) '@intlify/eslint-plugin-vue-i18n': specifier: 'catalog:' - version: 4.5.1(eslint@10.10.0(jiti@2.7.0))(jsonc-eslint-parser@3.1.0)(vue-eslint-parser@10.4.1(eslint@10.10.0(jiti@2.7.0)))(yaml-eslint-parser@2.1.0) + version: 4.5.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(jsonc-eslint-parser@3.1.0)(supports-color@10.2.2)(vue-eslint-parser@10.4.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2))(yaml-eslint-parser@2.1.0) '@microsoft/api-extractor': specifier: 'catalog:' - version: 7.58.9(@types/node@25.9.5) + version: 7.60.0(@types/node@26.6.6) '@pinia/testing': specifier: 'catalog:' - version: 2.0.1(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3))) + version: 2.0.1(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3))) '@playwright/test': specifier: 'catalog:' version: 1.63.0 '@sentry/vite-plugin': specifier: 'catalog:' - version: 4.9.1 + version: 11.10.0 '@storybook/addon-docs': specifier: 'catalog:' - version: 10.5.10(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(esbuild@0.28.1)(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 10.6.5(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(storybook@10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1)) '@storybook/addon-mcp': specifier: 'catalog:' - version: 0.7.0(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))(typescript@6.0.3) + version: 10.6.5(storybook@10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1))(typescript@6.0.3) '@storybook/vue3': specifier: 'catalog:' - version: 10.5.6(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))(vue@3.5.42(typescript@6.0.3)) + version: 10.6.5(storybook@10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1))(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)) '@storybook/vue3-vite': specifier: 'catalog:' - version: 10.5.6(esbuild@0.28.1)(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) + version: 10.6.5(storybook@10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1))(typescript@6.0.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)) '@tailwindcss/vite': specifier: 'catalog:' - version: 4.3.2(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 4.3.3(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) '@testing-library/jest-dom': specifier: 'catalog:' - version: 6.9.1 + version: 7.0.1(@testing-library/dom@10.4.2)(vitest@5.0.5) '@testing-library/user-event': specifier: 'catalog:' - version: 14.6.1(@testing-library/dom@10.4.1) + version: 14.6.8(@testing-library/dom@10.4.2) '@testing-library/vue': specifier: 'catalog:' - version: 8.1.0(@vue/compiler-dom@3.5.42)(@vue/compiler-sfc@3.5.42)(@vue/server-renderer@3.5.42)(vue@3.5.42(typescript@6.0.3)) + version: 8.1.0(@vue/compiler-dom@3.5.44)(@vue/compiler-sfc@3.5.44)(@vue/server-renderer@3.5.44)(vue@3.5.44(typescript@6.0.3)) '@total-typescript/shoehorn': specifier: 'catalog:' version: 0.1.2(patch_hash=8860f8e380c137bc50b1976516d562675229ce1e5b436bb48c7daf65a3dbec15) @@ -695,10 +706,10 @@ importers: version: 11.0.4 '@types/jsdom': specifier: 'catalog:' - version: 21.1.7 + version: 30.0.0 '@types/node': specifier: 'catalog:' - version: 25.9.5 + version: 26.6.6 '@types/semver': specifier: 'catalog:' version: 7.8.0 @@ -707,79 +718,79 @@ importers: version: 0.186.0 '@vitejs/plugin-vue': specifier: 'catalog:' - version: 6.0.8(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) + version: 6.0.10(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)) '@vitest/coverage-v8': specifier: 'catalog:' - version: 5.0.2(vitest@5.0.2) + version: 5.0.5(vitest@5.0.5) '@vitest/ui': specifier: 'catalog:' - version: 5.0.2(vitest@5.0.2) + version: 5.0.5(vitest@5.0.5) '@webgpu/types': specifier: 'catalog:' - version: 0.1.71 + version: 0.1.74 cross-env: specifier: 'catalog:' version: 10.1.0 dependency-cruiser: specifier: 'catalog:' - version: 18.5.0 + version: 18.7.0 eslint: specifier: 'catalog:' - version: 10.10.0(jiti@2.7.0) + version: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) eslint-config-prettier: specifier: 'catalog:' - version: 10.1.8(eslint@10.10.0(jiti@2.7.0)) + version: 10.1.8(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2)) eslint-import-resolver-typescript: specifier: 'catalog:' - version: 4.4.5(eslint-plugin-import-x@4.17.1(@typescript-eslint/utils@8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.10.0(jiti@2.7.0)))(eslint@10.10.0(jiti@2.7.0)) + version: 4.4.5(eslint-plugin-import-x@4.17.1(@typescript-eslint/utils@8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3))(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2))(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2) eslint-plugin-better-tailwindcss: specifier: 'catalog:' - version: 4.7.0(eslint@10.10.0(jiti@2.7.0))(oxlint@1.77.0(oxlint-tsgolint@7.0.2001))(tailwindcss@4.3.2)(typescript@6.0.3) + version: 4.10.0(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(oxlint@1.77.0(oxlint-tsgolint@7.0.2001))(tailwindcss@4.3.3)(typescript@6.0.3) eslint-plugin-import-x: specifier: 'catalog:' - version: 4.17.1(@typescript-eslint/utils@8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.10.0(jiti@2.7.0)) + version: 4.17.1(@typescript-eslint/utils@8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3))(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2) eslint-plugin-oxlint: specifier: 'catalog:' - version: 1.81.0(oxlint@1.77.0(oxlint-tsgolint@7.0.2001)) + version: 1.77.0(oxlint@1.77.0(oxlint-tsgolint@7.0.2001)) eslint-plugin-playwright: specifier: 'catalog:' - version: 2.11.0(eslint@10.10.0(jiti@2.7.0)) + version: 2.12.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2)) eslint-plugin-regexp: specifier: 'catalog:' - version: 3.3.1(eslint@10.10.0(jiti@2.7.0)) + version: 3.3.2(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2)) eslint-plugin-storybook: specifier: 'catalog:' - version: 10.6.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3) + version: 10.6.5(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3) eslint-plugin-testing-library: specifier: 'catalog:' - version: 7.16.2(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3) + version: 7.16.2(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3) eslint-plugin-unused-imports: specifier: 'catalog:' - version: 4.4.1(@typescript-eslint/eslint-plugin@8.69.0(@typescript-eslint/parser@8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.10.0(jiti@2.7.0)) + version: 4.4.1(@typescript-eslint/eslint-plugin@8.72.1(@typescript-eslint/parser@8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3))(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3))(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2)) eslint-plugin-vue: specifier: 'catalog:' - version: 10.10.0(@typescript-eslint/parser@8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.10.0(jiti@2.7.0))(vue-eslint-parser@10.4.1(eslint@10.10.0(jiti@2.7.0))) + version: 10.12.0(@typescript-eslint/parser@8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3))(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(vue-eslint-parser@10.4.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)) fallow: specifier: 'catalog:' - version: 3.24.1 + version: 3.37.0 fast-check: specifier: 'catalog:' - version: 4.9.0 + version: 4.10.2 fs-extra: - specifier: ^11.2.0 - version: 11.3.6 + specifier: 'catalog:' + version: 11.4.1 globals: specifier: 'catalog:' - version: 17.7.0 + version: 17.13.0 happy-dom: specifier: 'catalog:' - version: 20.14.5 + version: 21.0.4 husky: specifier: 'catalog:' version: 9.1.7 jsdom: specifier: 'catalog:' - version: 29.1.1 + version: 30.1.3 jsonc-parser: specifier: 'catalog:' version: 3.3.1 @@ -788,19 +799,19 @@ importers: version: 6.27.0 lint-staged: specifier: 'catalog:' - version: 16.4.0 + version: 17.6.0 markdown-table: specifier: 'catalog:' version: 3.0.4 monocart-coverage-reports: specifier: 'catalog:' - version: 2.12.12 + version: 3.2.0 openai: specifier: 'catalog:' - version: 7.4.0(ws@8.21.1)(zod@4.6.5) + version: 7.45.1(undici@7.29.0)(ws@8.22.0)(zod@4.6.7) oxfmt: specifier: 'catalog:' - version: 0.59.0 + version: 0.75.0 oxlint: specifier: 'catalog:' version: 1.77.0(oxlint-tsgolint@7.0.2001) @@ -812,75 +823,75 @@ importers: version: 1.1.1 postcss-html: specifier: 'catalog:' - version: 1.8.1 + version: 2.0.0(postcss@8.5.32) pretty-bytes: specifier: 'catalog:' - version: 7.1.1 + version: 7.2.0 rollup-plugin-visualizer: specifier: 'catalog:' - version: 6.0.11(rolldown@1.2.6) + version: 7.1.1(rolldown@1.2.16) start-server-and-test: specifier: 'catalog:' - version: 3.0.12 + version: 3.0.13(supports-color@10.2.2) storybook: specifier: 'catalog:' - version: 10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0) + version: 10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1) stylelint: specifier: 'catalog:' - version: 17.14.0(typescript@6.0.3) + version: 17.16.0(supports-color@10.2.2)(typescript@6.0.3) tailwindcss: specifier: 'catalog:' - version: 4.3.2 + version: 4.3.3 tsx: specifier: 'catalog:' - version: 4.23.1 + version: 4.23.15 typescript: specifier: 'catalog:' version: 6.0.3 typescript-eslint: specifier: 'catalog:' - version: 8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3) + version: 8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3) typescript-native-bridge: specifier: 'catalog:' - version: 6.0.3-bridge.17.tsgo.7.0.2 + version: 6.0.3-bridge.19.tsgo.7.0.2 unplugin-icons: specifier: 'catalog:' - version: 23.0.1(@vue/compiler-sfc@3.5.42) + version: 24.0.0(@vue/compiler-sfc@3.5.44)(esbuild@0.28.2)(rolldown@1.2.16)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) unplugin-typegpu: specifier: 'catalog:' version: 0.8.0(typegpu@0.8.2) unplugin-vue-components: specifier: 'catalog:' - version: 32.1.0(esbuild@0.28.1)(rolldown@1.2.6)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) + version: 32.1.0(esbuild@0.28.2)(rolldown@1.2.16)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)) vite: - specifier: ^8.2.2 - version: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + specifier: ^8.3.5 + version: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) vite-plugin-dts: specifier: 'catalog:' - version: 5.1.0(@microsoft/api-extractor@7.58.9(@types/node@25.9.5))(@vue/language-core@3.3.11)(esbuild@0.28.1)(rolldown@1.2.6)(typescript@6.0.3)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.1.2(@microsoft/api-extractor@7.60.0(@types/node@26.6.6))(@vue/language-core@3.3.11)(esbuild@0.28.2)(rolldown@1.2.16)(supports-color@10.2.2)(typescript@6.0.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) vite-plugin-html: specifier: 'catalog:' - version: 3.2.2(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 3.2.2(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) vite-plugin-vue-devtools: specifier: 'catalog:' - version: 8.2.1(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) + version: 8.2.1(supports-color@10.2.2)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)) vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) vue-component-type-helpers: specifier: 'catalog:' - version: 3.3.11 + version: 3.3.14 vue-eslint-parser: specifier: 'catalog:' - version: 10.4.1(eslint@10.10.0(jiti@2.7.0)) + version: 10.4.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2) vue-tsc: specifier: 'catalog:' version: 3.3.11(typescript@6.0.3) yaml: - specifier: ^2.8.3 - version: 2.9.0 + specifier: ^2.9.1 + version: 2.9.1 zip-dir: - specifier: ^2.0.0 + specifier: 'catalog:' version: 2.0.0 apps/billing-web: @@ -905,16 +916,16 @@ importers: version: link:../../packages/tailwind-utils '@datadog/browser-rum': specifier: 'catalog:' - version: 6.33.0(@datadog/browser-logs@6.33.0) + version: 6.33.0 '@stripe/stripe-js': specifier: 'catalog:' version: 9.12.1 '@vueuse/core': specifier: 'catalog:' - version: 14.4.0(vue@3.5.42(typescript@6.0.3)) + version: 14.4.0(vue@3.5.44(typescript@6.0.3)) '@vueuse/integrations': specifier: 'catalog:' - version: 14.4.0(axios@1.18.1)(fuse.js@7.0.0)(vue@3.5.42(typescript@6.0.3)) + version: 14.4.0(axios@1.21.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))(fuse.js@7.0.0)(vue@3.5.44(typescript@6.0.3)) firebase: specifier: 'catalog:' version: 11.10.0 @@ -926,16 +937,16 @@ importers: version: 7.0.0 reka-ui: specifier: 'catalog:' - version: 2.11.0(vue@3.5.42(typescript@6.0.3)) + version: 2.11.0(vue@3.5.44(typescript@6.0.3)) vue: specifier: 'catalog:' - version: 3.5.42(typescript@6.0.3) + version: 3.5.44(typescript@6.0.3) vue-i18n: specifier: 'catalog:' - version: 11.4.10(vue@3.5.42(typescript@6.0.3)) + version: 11.4.10(vue@3.5.44(typescript@6.0.3)) vue-router: specifier: 'catalog:' - version: 5.2.0(@vue/compiler-sfc@3.5.42)(esbuild@0.28.1)(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)))(rolldown@1.2.6)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) + version: 5.2.0(@vue/compiler-sfc@3.5.44)(esbuild@0.28.2)(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)))(rolldown@1.2.16)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)) devDependencies: '@comfyorg/ingest-types': specifier: workspace:* @@ -948,49 +959,49 @@ importers: version: 1.63.0 '@tailwindcss/vite': specifier: 'catalog:' - version: 4.3.2(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 4.3.3(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) '@testing-library/jest-dom': specifier: 'catalog:' - version: 6.9.1 + version: 7.0.1(@testing-library/dom@10.4.2)(vitest@5.0.5) '@testing-library/user-event': specifier: 'catalog:' - version: 14.6.1(@testing-library/dom@10.4.1) + version: 14.6.8(@testing-library/dom@10.4.2) '@testing-library/vue': specifier: 'catalog:' - version: 8.1.0(@vue/compiler-dom@3.5.42)(@vue/compiler-sfc@3.5.42)(@vue/server-renderer@3.5.42)(vue@3.5.42(typescript@6.0.3)) + version: 8.1.0(@vue/compiler-dom@3.5.44)(@vue/compiler-sfc@3.5.44)(@vue/server-renderer@3.5.44)(vue@3.5.44(typescript@6.0.3)) '@types/node': specifier: 'catalog:' - version: 25.9.5 + version: 26.6.6 '@vitejs/plugin-vue': specifier: 'catalog:' - version: 6.0.8(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) + version: 6.0.10(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)) '@vitest/coverage-v8': specifier: 'catalog:' - version: 5.0.2(vitest@5.0.2) + version: 5.0.5(vitest@5.0.5) cross-env: specifier: 'catalog:' version: 10.1.0 eslint: specifier: 'catalog:' - version: 10.10.0(jiti@2.7.0) + version: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) happy-dom: specifier: 'catalog:' - version: 20.14.5 + version: 21.0.4 stylelint: specifier: 'catalog:' - version: 17.14.0(typescript@6.0.3) + version: 17.16.0(supports-color@10.2.2)(typescript@6.0.3) tailwindcss: specifier: 'catalog:' - version: 4.3.2 + version: 4.3.3 typescript: specifier: 'catalog:' version: 6.0.3 vite: - specifier: ^8.2.2 - version: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + specifier: ^8.3.5 + version: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) packages/account-core: dependencies: @@ -1006,28 +1017,28 @@ importers: version: link:../test-utils '@types/node': specifier: 'catalog:' - version: 25.9.5 + version: 26.6.6 '@vitest/coverage-v8': specifier: 'catalog:' - version: 5.0.2(vitest@5.0.2) + version: 5.0.5(vitest@5.0.5) firebase: specifier: 'catalog:' version: 11.10.0 happy-dom: specifier: 'catalog:' - version: 20.14.5 + version: 21.0.4 typescript: specifier: 'catalog:' version: 6.0.3 vite: - specifier: ^8.2.2 - version: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + specifier: ^8.3.5 + version: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) zod: specifier: 'catalog:' - version: 4.6.5 + version: 4.6.7 packages/account-ui: dependencies: @@ -1036,7 +1047,7 @@ importers: version: link:../account-core '@vueuse/integrations': specifier: ^14.4.0 - version: 14.4.0(axios@1.18.1)(fuse.js@7.0.0)(vue@3.5.42(typescript@6.0.3)) + version: 14.4.0(axios@1.21.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))(fuse.js@7.0.0)(vue@3.5.44(typescript@6.0.3)) primeicons: specifier: ^7.0.0 version: 7.0.0 @@ -1056,42 +1067,45 @@ importers: '@stripe/stripe-js': specifier: 'catalog:' version: 9.12.1 + '@testing-library/jest-dom': + specifier: 'catalog:' + version: 7.0.1(@testing-library/dom@10.4.2)(vitest@5.0.5) '@testing-library/user-event': specifier: 'catalog:' - version: 14.6.1(@testing-library/dom@10.4.1) + version: 14.6.8(@testing-library/dom@10.4.2) '@testing-library/vue': specifier: 'catalog:' - version: 8.1.0(@vue/compiler-dom@3.5.42)(@vue/compiler-sfc@3.5.42)(@vue/server-renderer@3.5.42)(vue@3.5.42(typescript@6.0.3)) + version: 8.1.0(@vue/compiler-dom@3.5.44)(@vue/compiler-sfc@3.5.44)(@vue/server-renderer@3.5.44)(vue@3.5.44(typescript@6.0.3)) '@types/node': specifier: 'catalog:' - version: 25.9.5 + version: 26.6.6 '@vitejs/plugin-vue': specifier: 'catalog:' - version: 6.0.8(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) + version: 6.0.10(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)) '@vitest/coverage-v8': specifier: 'catalog:' - version: 5.0.2(vitest@5.0.2) + version: 5.0.5(vitest@5.0.5) '@vueuse/core': specifier: 'catalog:' - version: 14.4.0(vue@3.5.42(typescript@6.0.3)) + version: 14.4.0(vue@3.5.44(typescript@6.0.3)) happy-dom: specifier: 'catalog:' - version: 20.14.5 + version: 21.0.4 reka-ui: specifier: 'catalog:' - version: 2.11.0(vue@3.5.42(typescript@6.0.3)) + version: 2.11.0(vue@3.5.44(typescript@6.0.3)) typescript: specifier: 'catalog:' version: 6.0.3 vite: - specifier: ^8.2.2 - version: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + specifier: ^8.3.5 + version: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) vue: specifier: 'catalog:' - version: 3.5.42(typescript@6.0.3) + version: 3.5.44(typescript@6.0.3) packages/api-client: dependencies: @@ -1115,26 +1129,26 @@ importers: version: link:../telemetry '@sentry/vue': specifier: 'catalog:' - version: 10.65.0(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)))(vue@3.5.42(typescript@6.0.3)) + version: 10.78.0(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)))(vue@3.5.44(typescript@6.0.3)) axios: specifier: 'catalog:' - version: 1.18.1(debug@4.4.3) + version: 1.21.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2) es-toolkit: specifier: 'catalog:' version: 1.49.0 vue: specifier: 'catalog:' - version: 3.5.42(typescript@6.0.3) + version: 3.5.44(typescript@6.0.3) zod: specifier: 'catalog:' - version: 4.6.5 + version: 4.6.7 devDependencies: typescript: specifier: 'catalog:' version: 6.0.3 vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) packages/billing-contract: devDependencies: @@ -1146,19 +1160,19 @@ importers: version: link:../../tools/published-package-build '@types/node': specifier: 'catalog:' - version: 25.9.5 + version: 26.6.6 '@vitest/coverage-v8': specifier: 'catalog:' - version: 5.0.2(vitest@5.0.2) + version: 5.0.5(vitest@5.0.5) typescript: specifier: 'catalog:' version: 6.0.3 vite: - specifier: ^8.2.2 - version: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + specifier: ^8.3.5 + version: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) packages/billing-core: dependencies: @@ -1170,7 +1184,7 @@ importers: version: link:../ingest-types axios: specifier: 'catalog:' - version: 1.18.1(debug@4.4.3) + version: 1.21.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2) devDependencies: typescript: specifier: 'catalog:' @@ -1183,13 +1197,13 @@ importers: version: 1.2.117 '@iconify/tailwind4': specifier: 'catalog:' - version: 1.2.3(tailwindcss@4.3.2) + version: 1.2.3(tailwindcss@4.3.3) '@iconify/tools': specifier: 'catalog:' version: 5.0.12 '@iconify/utils': specifier: 'catalog:' - version: 3.1.4 + version: 3.1.7 chart.js: specifier: ^4.5.0 version: 4.5.1 @@ -1201,7 +1215,7 @@ importers: version: 1.0.0-beta.4(typescript@6.0.3) dompurify: specifier: 'catalog:' - version: 3.4.13 + version: 3.4.17 es-toolkit: specifier: 'catalog:' version: 1.49.0 @@ -1223,61 +1237,61 @@ importers: version: link:../tailwind-utils '@storybook/vue3-vite': specifier: 'catalog:' - version: 10.5.6(esbuild@0.28.1)(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) + version: 10.6.5(storybook@10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1))(typescript@6.0.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)) '@tailwindcss/vite': specifier: 'catalog:' - version: 4.3.2(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 4.3.3(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) '@testing-library/jest-dom': specifier: 'catalog:' - version: 6.9.1 + version: 7.0.1(@testing-library/dom@10.4.2)(vitest@5.0.5) '@testing-library/user-event': specifier: 'catalog:' - version: 14.6.1(@testing-library/dom@10.4.1) + version: 14.6.8(@testing-library/dom@10.4.2) '@testing-library/vue': specifier: 'catalog:' - version: 8.1.0(@vue/compiler-dom@3.5.42)(@vue/compiler-sfc@3.5.42)(@vue/server-renderer@3.5.42)(vue@3.5.42(typescript@6.0.3)) + version: 8.1.0(@vue/compiler-dom@3.5.44)(@vue/compiler-sfc@3.5.44)(@vue/server-renderer@3.5.44)(vue@3.5.44(typescript@6.0.3)) '@vitejs/plugin-vue': specifier: 'catalog:' - version: 6.0.8(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) + version: 6.0.10(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)) '@vitest/coverage-v8': specifier: 'catalog:' - version: 5.0.2(vitest@5.0.2) + version: 5.0.5(vitest@5.0.5) '@vueuse/core': specifier: 'catalog:' - version: 14.4.0(vue@3.5.42(typescript@6.0.3)) + version: 14.4.0(vue@3.5.44(typescript@6.0.3)) '@vueuse/integrations': specifier: 'catalog:' - version: 14.4.0(axios@1.18.1)(fuse.js@7.0.0)(vue@3.5.42(typescript@6.0.3)) + version: 14.4.0(axios@1.21.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))(fuse.js@7.0.0)(vue@3.5.44(typescript@6.0.3)) happy-dom: specifier: 'catalog:' - version: 20.14.5 + version: 21.0.4 reka-ui: specifier: 'catalog:' - version: 2.11.0(vue@3.5.42(typescript@6.0.3)) + version: 2.11.0(vue@3.5.44(typescript@6.0.3)) storybook: specifier: 'catalog:' - version: 10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0) + version: 10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1) tailwindcss: specifier: 'catalog:' - version: 4.3.2 + version: 4.3.3 typescript: specifier: 'catalog:' version: 6.0.3 vite: - specifier: ^8.2.2 - version: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + specifier: ^8.3.5 + version: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) vite-plugin-dts: specifier: 'catalog:' - version: 5.1.0(@microsoft/api-extractor@7.58.9(@types/node@25.9.5))(@vue/language-core@3.3.11)(esbuild@0.28.1)(rolldown@1.2.6)(typescript@6.0.3)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.1.2(@microsoft/api-extractor@7.60.0(@types/node@26.6.6))(@vue/language-core@3.3.11)(esbuild@0.28.2)(rolldown@1.2.16)(supports-color@10.2.2)(typescript@6.0.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) vue: specifier: 'catalog:' - version: 3.5.42(typescript@6.0.3) + version: 3.5.44(typescript@6.0.3) vue-component-type-helpers: specifier: 'catalog:' - version: 3.3.11 + version: 3.3.14 packages/graph-model: dependencies: @@ -1295,10 +1309,10 @@ importers: version: link:../viewport3d zod: specifier: 'catalog:' - version: 4.6.5 + version: 4.6.7 zod-validation-error: specifier: 'catalog:' - version: 5.0.0(zod@4.6.5) + version: 5.0.0(zod@4.6.7) devDependencies: typescript: specifier: 'catalog:' @@ -1310,17 +1324,17 @@ importers: specifier: workspace:* version: link:../../tools/published-package-build '@hey-api/openapi-ts': - specifier: 0.97.3 - version: 0.97.3(magicast@0.5.4)(typescript@6.0.3) + specifier: 'catalog:' + version: 0.99.0(magicast@0.5.5)(typescript@6.0.3) typescript: specifier: 'catalog:' version: 6.0.3 vite: - specifier: ^8.2.2 - version: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + specifier: ^8.3.5 + version: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) zod: specifier: 'catalog:' - version: 4.6.5 + version: 4.6.7 packages/keybindings: dependencies: @@ -1332,13 +1346,13 @@ importers: version: 1.49.0 pinia: specifier: 'catalog:' - version: 4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)) + version: 4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)) vue: specifier: 'catalog:' - version: 3.5.42(typescript@6.0.3) + version: 3.5.44(typescript@6.0.3) zod: specifier: 'catalog:' - version: 4.6.5 + version: 4.6.7 devDependencies: typescript: specifier: 'catalog:' @@ -1355,16 +1369,16 @@ importers: devDependencies: '@vitest/coverage-v8': specifier: 'catalog:' - version: 5.0.2(vitest@5.0.2) + version: 5.0.5(vitest@5.0.5) happy-dom: specifier: 'catalog:' - version: 20.14.5 + version: 21.0.4 typescript: specifier: 'catalog:' version: 6.0.3 vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) packages/mask-editor: dependencies: @@ -1376,63 +1390,63 @@ importers: version: link:../shared-frontend-utils '@vueuse/core': specifier: 'catalog:' - version: 14.4.0(vue@3.5.42(typescript@6.0.3)) + version: 14.4.0(vue@3.5.44(typescript@6.0.3)) es-toolkit: specifier: 'catalog:' version: 1.49.0 pinia: specifier: 'catalog:' - version: 4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)) + version: 4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)) typegpu: specifier: 'catalog:' version: 0.8.2 vue: specifier: 'catalog:' - version: 3.5.42(typescript@6.0.3) + version: 3.5.44(typescript@6.0.3) devDependencies: '@pinia/testing': specifier: 'catalog:' - version: 2.0.1(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3))) + version: 2.0.1(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3))) '@total-typescript/shoehorn': specifier: 'catalog:' version: 0.1.2(patch_hash=8860f8e380c137bc50b1976516d562675229ce1e5b436bb48c7daf65a3dbec15) '@vitest/coverage-v8': specifier: 'catalog:' - version: 5.0.2(vitest@5.0.2) + version: 5.0.5(vitest@5.0.5) '@webgpu/types': specifier: 'catalog:' - version: 0.1.71 + version: 0.1.74 happy-dom: specifier: 'catalog:' - version: 20.14.5 + version: 21.0.4 typescript: specifier: 'catalog:' version: 6.0.3 vite: - specifier: ^8.2.2 - version: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + specifier: ^8.3.5 + version: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) packages/object-info-parser: dependencies: zod: specifier: 'catalog:' - version: 4.6.5 + version: 4.6.7 zod-validation-error: specifier: 'catalog:' - version: 5.0.0(zod@4.6.5) + version: 5.0.0(zod@4.6.7) devDependencies: '@vitest/coverage-v8': specifier: 'catalog:' - version: 5.0.2(vitest@5.0.2) + version: 5.0.5(vitest@5.0.5) typescript: specifier: 'catalog:' version: 6.0.3 vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) packages/registry-types: devDependencies: @@ -1456,7 +1470,7 @@ importers: version: link:../telemetry '@vueuse/core': specifier: 'catalog:' - version: 14.4.0(vue@3.5.42(typescript@6.0.3)) + version: 14.4.0(vue@3.5.44(typescript@6.0.3)) es-toolkit: specifier: 'catalog:' version: 1.49.0 @@ -1465,10 +1479,10 @@ importers: version: 7.8.5 vue: specifier: 'catalog:' - version: 3.5.42(typescript@6.0.3) + version: 3.5.44(typescript@6.0.3) zod: specifier: 'catalog:' - version: 4.6.5 + version: 4.6.7 devDependencies: '@types/semver': specifier: 'catalog:' @@ -1478,7 +1492,7 @@ importers: version: 6.0.3 vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) packages/shared-frontend-utils: dependencies: @@ -1490,7 +1504,7 @@ importers: version: link:../registry-types axios: specifier: 'catalog:' - version: 1.18.1(debug@4.4.3) + version: 1.21.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2) es-toolkit: specifier: ^1.39.9 version: 1.49.0 @@ -1503,13 +1517,13 @@ importers: devDependencies: '@vitest/coverage-v8': specifier: 'catalog:' - version: 5.0.2(vitest@5.0.2) + version: 5.0.5(vitest@5.0.5) typescript: specifier: 'catalog:' version: 6.0.3 vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) packages/tailwind-utils: dependencies: @@ -1547,10 +1561,10 @@ importers: devDependencies: '@datadog/browser-rum': specifier: 'catalog:' - version: 6.33.0(@datadog/browser-logs@6.33.0) + version: 6.33.0 '@sentry/vue': specifier: 'catalog:' - version: 10.65.0(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)))(vue@3.5.42(typescript@6.0.3)) + version: 10.78.0(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)))(vue@3.5.44(typescript@6.0.3)) '@total-typescript/shoehorn': specifier: 'catalog:' version: 0.1.2(patch_hash=8860f8e380c137bc50b1976516d562675229ce1e5b436bb48c7daf65a3dbec15) @@ -1559,7 +1573,7 @@ importers: version: 6.0.3 vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) packages/test-utils: devDependencies: @@ -1568,7 +1582,7 @@ importers: version: 6.0.3 vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) packages/viewport3d: dependencies: @@ -1602,38 +1616,41 @@ importers: version: 0.186.0 '@vitest/coverage-v8': specifier: 'catalog:' - version: 5.0.2(vitest@5.0.2) + version: 5.0.5(vitest@5.0.5) happy-dom: specifier: 'catalog:' - version: 20.14.5 + version: 21.0.4 typescript: specifier: 'catalog:' version: 6.0.3 vite: - specifier: ^8.2.2 - version: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + specifier: ^8.3.5 + version: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) tools/architecture: dependencies: + fallow: + specifier: 'catalog:' + version: 3.37.0 oxfmt: specifier: 'catalog:' - version: 0.59.0 + version: 0.75.0 typescript: specifier: 'catalog:' version: 6.0.3 zod: specifier: 'catalog:' - version: 4.6.5 + version: 4.6.7 devDependencies: '@types/node': specifier: 'catalog:' - version: 25.9.5 + version: 26.6.6 vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) tools/cicd-dashboard: {} @@ -1641,17 +1658,17 @@ importers: dependencies: vue: specifier: 'catalog:' - version: 3.5.42(typescript@6.0.3) + version: 3.5.44(typescript@6.0.3) devDependencies: '@types/node': specifier: 'catalog:' - version: 25.9.5 + version: 26.6.6 typescript: specifier: 'catalog:' version: 6.0.3 vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) tools/expected-failures: dependencies: @@ -1660,27 +1677,27 @@ importers: version: 6.0.3 zod: specifier: 'catalog:' - version: 4.6.5 + version: 4.6.7 devDependencies: '@types/node': specifier: 'catalog:' - version: 25.9.5 + version: 26.6.6 vitest: specifier: 'catalog:' - version: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) tools/published-package-build: dependencies: vite-plugin-dts: specifier: 'catalog:' - version: 5.1.0(@microsoft/api-extractor@7.58.9(@types/node@25.9.5))(@vue/language-core@3.3.11)(esbuild@0.28.1)(rolldown@1.2.6)(typescript@6.0.3)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + version: 5.1.2(@microsoft/api-extractor@7.60.0(@types/node@26.6.6))(@vue/language-core@3.3.11)(esbuild@0.28.2)(rolldown@1.2.16)(supports-color@10.2.2)(typescript@6.0.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) devDependencies: '@types/node': specifier: 'catalog:' - version: 25.9.5 + version: 26.6.6 vite: - specifier: ^8.2.2 - version: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + specifier: ^8.3.5 + version: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) tools/snapshot-updates: devDependencies: @@ -1689,10 +1706,10 @@ importers: version: 1.63.0 '@types/node': specifier: 'catalog:' - version: 25.9.5 + version: 26.6.6 yaml: - specifier: ^2.8.3 - version: 2.9.0 + specifier: ^2.9.1 + version: 2.9.1 tools/test-recorder: dependencies: @@ -1705,7 +1722,7 @@ importers: devDependencies: '@types/node': specifier: 'catalog:' - version: 25.9.5 + version: 26.6.6 typescript: specifier: 'catalog:' version: 6.0.3 @@ -1714,7 +1731,7 @@ importers: devDependencies: '@types/node': specifier: 'catalog:' - version: 25.9.5 + version: 26.6.6 typescript: specifier: 'catalog:' version: 6.0.3 @@ -1787,20 +1804,16 @@ packages: '@antfu/install-pkg@1.1.0': resolution: {integrity: sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ==} - '@asamuzakjp/css-color@5.1.11': - resolution: {integrity: sha512-KVw6qIiCTUQhByfTd78h2yD1/00waTmm9uy/R7Ck/ctUyAPj+AEDLkQIdJW0T8+qGgj3j5bpNKK7Q3G+LedJWg==} - engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0} + '@antfu/install-pkg@2.1.0': + resolution: {integrity: sha512-sdg9NxU3zR4Mnawfbc/x6GB5Wf17WYud5qOuEuxXjaKpYpMkISSJEjItGebXJ2bQ4DIcly4NYH23mtkGJjvKUw==} - '@asamuzakjp/dom-selector@7.1.1': - resolution: {integrity: sha512-67RZDnYRc8H/8MLDgQCDE//zoqVFwajkepHZgmXrbwybzXOEwOWGPYGmALYl9J2DOLfFPPs6kKCqmbzV895hTQ==} - engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0} + '@asamuzakjp/css-color@7.1.9': + resolution: {integrity: sha512-vZ6JQVq8Ivgz6b/IBlAf90wZviXdluY13cQOPO+nJHbmXwGrPl2GcpqUY7a55/8ZVdfONXpCFMpRijOBCHNlcQ==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} - '@asamuzakjp/generational-cache@1.0.1': - resolution: {integrity: sha512-wajfB8KqzMCN2KGNFdLkReeHncd0AslUSrvHVvvYWuU8ghncRJoA50kT3zP9MVL0+9g4/67H+cdvBskj9THPzg==} - engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0} - - '@asamuzakjp/nwsapi@2.3.9': - resolution: {integrity: sha512-n8GuYSrI9bF7FFZ/SjhwevlHc8xaVlb/7HmHelnc/PZXBD2ZR49NnN9sMMuDdEGPeeRQ5d0hqlSlEpgCX3Wl0Q==} + '@asamuzakjp/dom-selector@10.0.5': + resolution: {integrity: sha512-EgmJ7oEaGQECTn3H3wmnQpEy4hKY66VvM7VQndwPIQob3p877BgbyOUE3EX0LgXQCciF2H8KMdR+RznqjMNOLw==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} '@atlaskit/pragmatic-drag-and-drop@1.8.1': resolution: {integrity: sha512-uXWNPpL8n4OmTVbduH7nq8pk8htqGo/prR5cYEE8sVCPJGAUMWn6lzvWTfI+4VCeQvHiDRODVz4YzH06OVAxhw==} @@ -1817,8 +1830,8 @@ packages: resolution: {integrity: sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==} engines: {node: '>=6.9.0'} - '@babel/generator@7.29.8': - resolution: {integrity: sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==} + '@babel/generator@7.29.12': + resolution: {integrity: sha512-2W76mhjrpQFO1lK5e8IvGYB2D0YZ7S2R1Z2BjO2ZUYuW+amcpK/z60U6ZZmzskwoa7sJ6XohP/Wg8H5KxXI/IA==} engines: {node: '>=6.9.0'} '@babel/generator@8.0.0': @@ -1833,8 +1846,8 @@ packages: resolution: {integrity: sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==} engines: {node: '>=6.9.0'} - '@babel/helper-create-class-features-plugin@7.29.7': - resolution: {integrity: sha512-IY3ZD9Tmooqr3TUhc3DUWxiuo8xx1DWLhd5M7hQ+ZWJamqM2BbalrBJb2MisSLoYorOj75U03qULCxQTY9r3hg==} + '@babel/helper-create-class-features-plugin@7.29.12': + resolution: {integrity: sha512-ACxGoWMV866q/QlZHeCOaQZAR5QclKsIvkAmlDemqjm6+6Bynijs1mH068BzH2N2e+wSuDmBWY87fqKfvhi1Lw==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 @@ -1875,8 +1888,8 @@ packages: resolution: {integrity: sha512-brcMGQaVzIeUb+6/bs1Av0f8YuNNjKY2JyvfRCsFuFsdKccEQ5Ges2y74D74NZ1Rz8lKJ9ksJkfqwQFJ/iNEyQ==} engines: {node: '>=6.9.0'} - '@babel/helper-string-parser@7.29.7': - resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==} + '@babel/helper-string-parser@7.29.11': + resolution: {integrity: sha512-snZbO7MEDOof+hvNa97EjEY7qD7h2kwvQr5AJC3ZhQudKW5dnej6k3kP9NQV88hJwaS8vDqRLFo9rivLEhle2g==} engines: {node: '>=6.9.0'} '@babel/helper-string-parser@8.0.0': @@ -1895,12 +1908,12 @@ packages: resolution: {integrity: sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==} engines: {node: '>=6.9.0'} - '@babel/helpers@7.29.7': - resolution: {integrity: sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==} + '@babel/helpers@7.29.10': + resolution: {integrity: sha512-EMCx3AGZ3WfAl6ht7AyQoPm2Lh+BGYEMdc4Q6Hf7uSCDOZFuLq44qNwL+iaim8VlyYhRAo4X43+weadK8ZB4Yg==} engines: {node: '>=6.9.0'} - '@babel/parser@7.29.8': - resolution: {integrity: sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==} + '@babel/parser@7.29.12': + resolution: {integrity: sha512-WJ7JBp/Q4+z/ImydtI7jS6NVco5++632ExBemSX+Ysb+G1lCwQ5BVo3SY+jGGOcZXI4ZccbZSUSJLNBW6eEpJg==} engines: {node: '>=6.0.0'} hasBin: true @@ -1944,30 +1957,30 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/plugin-transform-typescript@7.29.7': - resolution: {integrity: sha512-jK52h8LaLc7JarhQV2ofeFMts4H7vnOXnqZNA6fYglBTZewRBE51KWt3BUltW1P+KoPsYkHoJeXePuz4zo2LMw==} + '@babel/plugin-transform-typescript@7.29.9': + resolution: {integrity: sha512-FFwIwzU+7SCOuxxV4YtJql6T9981ZVTm+FHO5GhVsRqCTdy0WwrEZh3l42ARpXruJUDGOptdduHW6Zr7pNPLNg==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0-0 - '@babel/runtime@7.29.7': - resolution: {integrity: sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==} + '@babel/runtime@7.29.10': + resolution: {integrity: sha512-NpugTzbKgGrNe45Ui32cN8vCFFMxVtP/9rtfwv0nP5FRDAjvYBxJcLVpYA9mr1jxP6cnIT7x9LUzuDTbWYYNRA==} engines: {node: '>=6.9.0'} - '@babel/standalone@7.29.7': - resolution: {integrity: sha512-oFh9XoGL20UuHIeIuBQHOvF7r2dOCRnZW0r4SageGb9SWnt6HhbuPLREykNaEnP7/SRpMUwr50SSMJLrmeHvnQ==} + '@babel/standalone@7.29.12': + resolution: {integrity: sha512-+ZbUA81jL9HXWVdysgup3TAgnE8dayhAlzRTOlb2GCMB2+4ohLVHAtvG7nVbLwqBlgM2hXesYlB34RvVMk3jBA==} engines: {node: '>=6.9.0'} '@babel/template@7.29.7': resolution: {integrity: sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==} engines: {node: '>=6.9.0'} - '@babel/traverse@7.29.8': - resolution: {integrity: sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==} + '@babel/traverse@7.29.12': + resolution: {integrity: sha512-MscXe/NAZcOkYEsRajHZFt3ynsb22PUi6CTrp5U7+RYycR9By84mn9mFN54YgfITiqK4hFx3Ju3tZSyzfpS5ew==} engines: {node: '>=6.9.0'} - '@babel/types@7.29.8': - resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==} + '@babel/types@7.29.11': + resolution: {integrity: sha512-WCsemW40Cpc6gouC1SrY6PBaZ+oLRlEVY9XBvZBI7il/HyUrb2nJ505wE1MHEFyDZNnrWDEuy4jL50WVHfTTSQ==} engines: {node: '>=6.9.0'} '@babel/types@8.0.4': @@ -1978,8 +1991,8 @@ packages: resolution: {integrity: sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==} engines: {node: '>=18'} - '@bramus/specificity@2.4.2': - resolution: {integrity: sha512-ctxtJ/eA+t+6q2++vj5j7FYX3nRu311q1wfYH3xjlLOsczhlhxAg2FWNUXhpGvAw3BWo1xBcvOV6/YLc2r5FJw==} + '@bramus/specificity@2.4.3': + resolution: {integrity: sha512-0GEz8qJWokkUVYQYRukmkSHIFNoBH8QTreeHrAFbvz1XFYc3Y+puhMs8PQ5x8GNugiC2l5jvDBXKLbBIByeSBw==} hasBin: true '@cacheable/memory@2.2.0': @@ -2021,57 +2034,57 @@ packages: peerDependencies: three: '>=0.160.0' - '@csstools/color-helpers@6.1.0': - resolution: {integrity: sha512-064IFJdjTfUqnjpCVpMOdbr8FLQBhinbZj6yRv2An2E41O/pLEXqfFRWqGq/SxlE5PEUYTlvWsG2r8MswAVvkg==} + '@csstools/color-helpers@6.1.2': + resolution: {integrity: sha512-grhRy3OKmniaAEKXMjua5z/EODX0MSqBGjunw8+j/3HQjOnahs2AGhvEOIYVUWcU6ScApbhLhVrQTX8XqrMrow==} engines: {node: '>=20.19.0'} - '@csstools/css-calc@3.2.1': - resolution: {integrity: sha512-DtdHlgXh5ZkA43cwBcAm+huzgJiwx3ZTWVjBs94kwz2xKqSimDA3lBgCjphYgwgVUMWatSM0pDd8TILB1yrVVg==} + '@csstools/css-calc@3.4.3': + resolution: {integrity: sha512-iex20d8CHVkyvg6B7UKV7uHnI2Bqo9g+EFfT9E0y+GvTvhZ/DwONJ+9aKb1dlqm0ZiGsL5RXjp0fCoJYnkeDjA==} engines: {node: '>=20.19.0'} peerDependencies: - '@csstools/css-parser-algorithms': ^4.0.0 - '@csstools/css-tokenizer': ^4.0.0 + '@csstools/css-parser-algorithms': ^4.0.2 + '@csstools/css-tokenizer': ^4.0.2 - '@csstools/css-color-parser@4.1.9': - resolution: {integrity: sha512-paQcIaOO53Rk5+YrBaBjm/SgrV4INImjo2BT1DtQRYr+XeTRbeAYlS+jxXp9drqvKmtFnWRJKIalDLhZZDu42A==} + '@csstools/css-color-parser@4.2.7': + resolution: {integrity: sha512-zgm9yjQz5iJB4VL8RyVwd71TWB8Q89FSxt/NzXoWqPSkEBOVtn9L6vAPtSc9hpKfB0Awo/AL2VKFHjYetBLFHQ==} engines: {node: '>=20.19.0'} peerDependencies: - '@csstools/css-parser-algorithms': ^4.0.0 - '@csstools/css-tokenizer': ^4.0.0 + '@csstools/css-parser-algorithms': ^4.0.2 + '@csstools/css-tokenizer': ^4.0.2 - '@csstools/css-parser-algorithms@4.0.0': - resolution: {integrity: sha512-+B87qS7fIG3L5h3qwJ/IFbjoVoOe/bpOdh9hAjXbvx0o8ImEmUsGXN0inFOnk2ChCFgqkkGFQ+TpM5rbhkKe4w==} + '@csstools/css-parser-algorithms@4.0.2': + resolution: {integrity: sha512-40cSKyMvK+tq4qz6Awrlye2WGuOKt3FwPgtGg6KTfbHOWNw+Rk1rzbAtZnZ6IBhsY491HLRnDXwoyBAijmmILA==} engines: {node: '>=20.19.0'} peerDependencies: - '@csstools/css-tokenizer': ^4.0.0 + '@csstools/css-tokenizer': ^4.0.2 - '@csstools/css-syntax-patches-for-csstree@1.1.6': - resolution: {integrity: sha512-TcJCWFbXLPpJYq6z7bfOyjWYJDiDg2/I4gyUC9pqPNqHFRIey0EB0q0L5cSnQDfWJg8Jd6VadakxdIez/3zkqQ==} + '@csstools/css-syntax-patches-for-csstree@1.1.16': + resolution: {integrity: sha512-LsDbJPP/B8cPasUJyTA5S99F7C4G93ngW8hUluXz8CFeOaaRnBPtBiIlvgcPYU0HmHNz8CXg+1vwFrIB4F6Dgw==} peerDependencies: css-tree: ^3.2.1 peerDependenciesMeta: css-tree: optional: true - '@csstools/css-tokenizer@4.0.0': - resolution: {integrity: sha512-QxULHAm7cNu72w97JUNCBFODFaXpbDg+dP8b/oWFAZ2MTRppA3U00Y2L1HqaS4J6yBqxwa/Y3nMBaxVKbB/NsA==} + '@csstools/css-tokenizer@4.0.2': + resolution: {integrity: sha512-OoKoR0f76dCY666JlcbhmVTs2drYj1GUXZTYTcbUgJjh9Nv41aFfZ21bPQTERm5+L5cBDo466NltB2lplS5GBw==} engines: {node: '>=20.19.0'} - '@csstools/media-query-list-parser@5.0.0': - resolution: {integrity: sha512-T9lXmZOfnam3eMERPsszjY5NK0jX8RmThmmm99FZ8b7z8yMaFZWKwLWGZuTwdO3ddRY5fy13GmmEYZXB4I98Eg==} + '@csstools/media-query-list-parser@5.0.2': + resolution: {integrity: sha512-qx19O8AbbLLbDSAcI6YOby/Vq8rV51psgIvlF5OZT/L8fQJDCyQifL6k+kYU4a8ySpzJ4RBzZkIs530bAn8y4Q==} engines: {node: '>=20.19.0'} peerDependencies: - '@csstools/css-parser-algorithms': ^4.0.0 - '@csstools/css-tokenizer': ^4.0.0 + '@csstools/css-parser-algorithms': ^4.0.2 + '@csstools/css-tokenizer': ^4.0.2 - '@csstools/selector-resolve-nested@4.0.0': - resolution: {integrity: sha512-9vAPxmp+Dx3wQBIUwc1v7Mdisw1kbbaGqXUM8QLTgWg7SoPGYtXBsMXvsFs/0Bn5yoFhcktzxNZGNaUt0VjgjA==} + '@csstools/selector-resolve-nested@4.0.2': + resolution: {integrity: sha512-JpjNBJFA+4OnAHKRK4AMp8xrYyLhI9XapOeBlP2PhRU/IylSw+1ep3BFNTksBJnrTS3KT6kqKNVfpzLLwZUW5Q==} engines: {node: '>=20.19.0'} peerDependencies: postcss-selector-parser: ^7.1.1 - '@csstools/selector-specificity@6.0.0': - resolution: {integrity: sha512-4sSgl78OtOXEX/2d++8A83zHNTgwCJMaR24FvsYL7Uf/VS8HZk9PTwR51elTbGqMuwH3szLvvOXEaVnqn0Z3zA==} + '@csstools/selector-specificity@6.0.1': + resolution: {integrity: sha512-MBuqFIIvqk4S593MGAskTkPpEUUzZNvGzh8mMxEwl3oHwjQlXmqHEDxNbN3Y0Tsh+xjmem4GZjeg7I0qkwBivg==} engines: {node: '>=20.19.0'} peerDependencies: postcss-selector-parser: ^7.1.1 @@ -2091,14 +2104,6 @@ packages: '@datadog/browser-core@6.33.0': resolution: {integrity: sha512-h/xuBuY4Xi32CbBHkChMMWlOQ4al/mFF08x3o0hqrderfJvX7VO5tD3OVNwF+pfMXOGlDtBCIhwazr9sn24h3g==} - '@datadog/browser-logs@6.33.0': - resolution: {integrity: sha512-WZ1XEIIYK2sijR0hUG3hTPu2kQs8hE/PpoJcMDE7p0/NPXX3TR3dGVrwag+gvIVyBaszRkITiBsHQfnRvxV1DA==} - peerDependencies: - '@datadog/browser-rum': 6.33.0 - peerDependenciesMeta: - '@datadog/browser-rum': - optional: true - '@datadog/browser-rum-core@6.33.0': resolution: {integrity: sha512-Ais4x7zQBrBI6JyILYwFAmjUsqy0iQp2C7JcEEfzU4YYYcVO3DGpyVuYYrqHT27jY1QToHY8EnQUr3Yaj6saDA==} @@ -2113,6 +2118,9 @@ packages: '@dimforge/rapier3d-compat@0.12.0': resolution: {integrity: sha512-uekIGetywIgopfD97oDL5PfeezkFpNhwlzlaEYNOA0N6ghdsOvh/HYjSMek5Q2O1PYvRSDFcqFVJl4r4ZBwOow==} + '@dual-bundle/import-meta-resolve@4.2.1': + resolution: {integrity: sha512-id+7YRUgoUX6CgV0DtuhirQWodeeA7Lf4i2x71JS/vtA5pRb/hIGWlw+G6MeXvsM+MXrz0VAydTGElX1rAfgPg==} + '@emnapi/core@1.10.0': resolution: {integrity: sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==} @@ -2122,9 +2130,6 @@ packages: '@emnapi/core@1.11.1': resolution: {integrity: sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ==} - '@emnapi/core@1.11.2': - resolution: {integrity: sha512-TC8MkTuZUtcTSiFeuC0ksCh9QIJ5+F21MvZ4Wn4ORfYaFJ/0dsiudv5tVkejgwZlwQ39jL9WWDe2lz8x0WglOA==} - '@emnapi/core@1.9.2': resolution: {integrity: sha512-UC+ZhH3XtczQYfOlu3lNEkdW/p4dsJ1r/bP7H8+rhao3TTTMO1ATq/4DdIi23XuGoFY+Cz0JmCbdVl0hz9jZcA==} @@ -2137,9 +2142,6 @@ packages: '@emnapi/runtime@1.11.1': resolution: {integrity: sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw==} - '@emnapi/runtime@1.11.2': - resolution: {integrity: sha512-kyOl3X0DuTiT1h2ft8r2fYO8JYtU9a9Xis/zBSiGArNaagCOWx90N1k2wxp18czFDH+OgcWGb5ZP/XMt3dcyPA==} - '@emnapi/runtime@1.9.2': resolution: {integrity: sha512-3U4+MIWHImeyu1wnmVygh5WlgfYDtyf0k8AbLhMFxOipihf6nrWC4syIm/SwEeec0mNSafiiNnMJwbza/Is6Lw==} @@ -2152,164 +2154,164 @@ packages: '@epic-web/invariant@1.0.0': resolution: {integrity: sha512-lrTPqgvfFQtR/eY/qkIzp98OGdNJu0m5ji3q/nJI8v3SXkRKEnWiOxMmbvcSoAIzv/cGiuvRy57k4suKQSAdwA==} - '@esbuild/aix-ppc64@0.28.1': - resolution: {integrity: sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ==} + '@esbuild/aix-ppc64@0.28.2': + resolution: {integrity: sha512-XExcO+dvLKvVtNTibSTBej1NCAbaGhWn9Ww1ZPx80qsahhPFe/8jgWP0IchNe0F3HwkU7n8ejhH8bjonqht8mQ==} engines: {node: '>=18'} cpu: [ppc64] os: [aix] - '@esbuild/android-arm64@0.28.1': - resolution: {integrity: sha512-34EGEbCIAgosYz6goLcopX6Mo7NyGv9tfwEM2/7Ce2VcVRk568iSvniGWcUXIy7wEDR1wzolcxcriFVrWYcwBg==} + '@esbuild/android-arm64@0.28.2': + resolution: {integrity: sha512-5YfKeeI8qWfBZIX+u2xZC3Zlb3Os/gLS2sbEKM+I4ZOcsWmHS2WLysCcQZDAFRslDUU5Oiq44gf6PYN1vGwG5A==} engines: {node: '>=18'} cpu: [arm64] os: [android] - '@esbuild/android-arm@0.28.1': - resolution: {integrity: sha512-0k2F129Xdio1TdJfzJ8sy1Q47vUD2NnwdhiAf7drUN1EBTfPf4hsFCtmMgu/6m8JSzsBrlmVjudMBQqOfG8usQ==} + '@esbuild/android-arm@0.28.2': + resolution: {integrity: sha512-kXXoiPVVGQcnIYGOeaovwOURpniDBpSq4A03qkQ+BMQqtGG6HYap3xne9C1O1yo4TR3qxlCX5IqqmX6fFo2Lqg==} engines: {node: '>=18'} cpu: [arm] os: [android] - '@esbuild/android-x64@0.28.1': - resolution: {integrity: sha512-dbwY7ltSMDWsRatcRpCnES4F+im88OCUgGZjy52shC7GqHRE/cYlxNbB4Z4UpJswpcc4Qxd2oE/ufM0p61IKng==} + '@esbuild/android-x64@0.28.2': + resolution: {integrity: sha512-O387ite7SzUyCcy3JQX4P4bLtEA7bLLkx+esve5JHnyYfNTxcVpXZo9jhdB0lTKN44gztELTdU7nS8Nr16Fs1Q==} engines: {node: '>=18'} cpu: [x64] os: [android] - '@esbuild/darwin-arm64@0.28.1': - resolution: {integrity: sha512-TZbWkQY7kvTAXbXUT7uVACR5cMHsDiSz9z7ZKAX/RTq/WJEk3QyRr0wZpNhBDX+/0CtdqUIJlOiodQcta6tY3Q==} + '@esbuild/darwin-arm64@0.28.2': + resolution: {integrity: sha512-n4KqkOQrraxHJcgjM1RvwbigfQKIKJVpM7xp+KsxiyUSrRdIXnt73VhrPAx0fV44hgfmIVKjxMN9J1t5jySVkw==} engines: {node: '>=18'} cpu: [arm64] os: [darwin] - '@esbuild/darwin-x64@0.28.1': - resolution: {integrity: sha512-zfdzgK9ACBNZLI/CyHTOx81SyNbM6YXn7rxSgX97VjyiPl9W1i4Ka4fgKECEoFCKGpvBj5qArWIGgQjOwkgskQ==} + '@esbuild/darwin-x64@0.28.2': + resolution: {integrity: sha512-uq6suIWYP37qzGddBKPw5QEQPi6HiLGsO7UmkpfyaYNQ3D+rN6w6WfwH+nuqcGXWvawGwxOEroO4YGnFh95azw==} engines: {node: '>=18'} cpu: [x64] os: [darwin] - '@esbuild/freebsd-arm64@0.28.1': - resolution: {integrity: sha512-wG2EA8ENdEI0qhkSZMjfqrdY+ziCYCPMmtZjjIwOmXFjmyzEHn+UUxk5of+SYsjtfs3VpnlC7QLzSI5hY/rOAw==} + '@esbuild/freebsd-arm64@0.28.2': + resolution: {integrity: sha512-n+I0BTSRIoy+d6RPKnEVwql5UwBJolytvY4mAOIEJorKlqgPII8ix6slVVrfZ5Tnj7glIZvloylbB/EJPMWEXw==} engines: {node: '>=18'} cpu: [arm64] os: [freebsd] - '@esbuild/freebsd-x64@0.28.1': - resolution: {integrity: sha512-i7dZ9vQgnvSCzi/rYCXNgtF/U+eKZNJBzu3eTQbRgHnM7tNSizLOkRFAl3qzVc/Op/u5YkHHa4pf/3DOYHthLQ==} + '@esbuild/freebsd-x64@0.28.2': + resolution: {integrity: sha512-78XJTJkvPs0kz2w61301PJjXl4g7q3JqiYMZ/M/yVI73EHBrCRTgkhu9oqG7vPqq+a/yadEW8aD+agKlk5xrmg==} engines: {node: '>=18'} cpu: [x64] os: [freebsd] - '@esbuild/linux-arm64@0.28.1': - resolution: {integrity: sha512-yHs+0uc8+nvEAfAfxrWQKK5peSNzBc4PegcMO0EJ2hT71uA7vB8Ihg2e77R2P7SG5uYjPbHlLLmve4LLLRCf0g==} + '@esbuild/linux-arm64@0.28.2': + resolution: {integrity: sha512-pW4AC0P3it8c7do9MVM4p51FzHzdM/TZrerurgRcHJ2WTa1VQ1CIq18xncfpBJw4ojkiZZrKW2yIBWBP92j6Ug==} engines: {node: '>=18'} cpu: [arm64] os: [linux] - '@esbuild/linux-arm@0.28.1': - resolution: {integrity: sha512-qVXBOHQS+d5Y722GwJzJUtOLlX7km3CraOaGormF1pDtPd2C/l1SHRPgjLunLGe51Sh5YYWKMFDyV4SxgMQYTQ==} + '@esbuild/linux-arm@0.28.2': + resolution: {integrity: sha512-XlDnu2q5yoqems+xay6wSAcg9DDD7K9RLKZEBOMZm3ckNpJBvOX20tSfby8KfrrhINDyv9V2YVZKY/SpoGJI8w==} engines: {node: '>=18'} cpu: [arm] os: [linux] - '@esbuild/linux-ia32@0.28.1': - resolution: {integrity: sha512-d1z4ZuP0ajrfz/FhGT4vv278rX8KnPPJx8i5+AtK7TYbx9Le9F1hyzurZpkEyjkGa9dUGhQow4C1NmeGvqxN2w==} + '@esbuild/linux-ia32@0.28.2': + resolution: {integrity: sha512-CYbnj78HsIeA+DhgUKgFCfvNsTHFhMMrinUrMZpDXJXKN8T3XViTZ/+wtHeVxEWY8ewSzTFN+nRmSwO2tZaLUQ==} engines: {node: '>=18'} cpu: [ia32] os: [linux] - '@esbuild/linux-loong64@0.28.1': - resolution: {integrity: sha512-M5sRjUVZrkm1OAPR3dlOYzNmN+loZKGVi1VUQGrwuqLcbR6qeAz+famMhjASeH3YVKvZz+zT1jlh/keC3Rj/lg==} + '@esbuild/linux-loong64@0.28.2': + resolution: {integrity: sha512-buwkd8nsph4R+ajRvw0qM5Hja/TXQow3ptzWO2EbG/cqcIkHloRrdlBtQlshyYGTNFvfkfJ5tpPLVkY4DtsPfQ==} engines: {node: '>=18'} cpu: [loong64] os: [linux] - '@esbuild/linux-mips64el@0.28.1': - resolution: {integrity: sha512-mRObBZeHh2OxcBFPWE/FjylkRgZdYuiTR3vaTozquCGOH14iP9oN4x4Ge81CoIDYQrXmIxpFumJBu5MtZpnQJQ==} + '@esbuild/linux-mips64el@0.28.2': + resolution: {integrity: sha512-ZVykbDyk7519VwiNb9Lcj9m8XM6v5V9uKPvrEMkkEedVewf+0itkhahp4HDpgERXhwLRpWFypsGbG/J8s0QjJA==} engines: {node: '>=18'} cpu: [mips64el] os: [linux] - '@esbuild/linux-ppc64@0.28.1': - resolution: {integrity: sha512-slScBsMAb3GFDcdrCgLwZtPYRoH2H/youv10QiZyRjmsP48fznoveWytSgCI/R0ZcUgpc0ZhIUEx6LHts8yrfQ==} + '@esbuild/linux-ppc64@0.28.2': + resolution: {integrity: sha512-CAXl+Dtd9UUuJd8pKKdwh6MLm3MUMiqMPmhZ3tTSXPqfyQ3vDl6R5hZdZ/kYojK4ofXtdfSv1tFq8XzWx3heNQ==} engines: {node: '>=18'} cpu: [ppc64] os: [linux] - '@esbuild/linux-riscv64@0.28.1': - resolution: {integrity: sha512-kw0owk1o0GFETUJyW0jc0G4Yzs0BHZn0JDZ8JRT088vjJYX777BAs1fDGxAC+q831qOs2DTC96mNsG2opdfyyQ==} + '@esbuild/linux-riscv64@0.28.2': + resolution: {integrity: sha512-GeXCej4IQtU1B+QlDV8W/RRvbzI3O/Stss+/bCXv4lZls5WGRtu2a+3JkA3i4qIUlMXpcHebWpF8AkJhATowuA==} engines: {node: '>=18'} cpu: [riscv64] os: [linux] - '@esbuild/linux-s390x@0.28.1': - resolution: {integrity: sha512-/lAIjX8aYFRByhh6L5rYtPEDRqa9de/4V/juOXcta5frjvzXO4/sqEtyytse0g3zZFuWu5cDN0MkLz2qRDD2Ag==} + '@esbuild/linux-s390x@0.28.2': + resolution: {integrity: sha512-3H1weTYZPxt/WOhByszQZybS9w5lKzUn1FDMsgEChbHWQwHYQQRfBxgCcZvPhjHfKyJjIievvMmEUawJrdY9Dg==} engines: {node: '>=18'} cpu: [s390x] os: [linux] - '@esbuild/linux-x64@0.28.1': - resolution: {integrity: sha512-u/anNYF2mmVOEDwLtnQ1wOr3EZ9sTNGLWrsYGYwHWzGA3Si84IOkHXlbWTD1NB+9/1lcnweYKO54uhxZydNzfA==} + '@esbuild/linux-x64@0.28.2': + resolution: {integrity: sha512-4xTZr1FUmSoQW4XIWmit3tzQrUTZM+N3P0XV8xROKYF50XfI7xeO90+1bZvNwxIufQ9hDQVRJH5YhgPVF8A/HQ==} engines: {node: '>=18'} cpu: [x64] os: [linux] - '@esbuild/netbsd-arm64@0.28.1': - resolution: {integrity: sha512-oks0DYbLwWMmaakTsCb+zL4E+aHRVLom9IJZOAthMQEPiQmydXHkziYEsGYRx0uNV/IjEKGAV941JzH02pflqw==} + '@esbuild/netbsd-arm64@0.28.2': + resolution: {integrity: sha512-sSATRjPeDBg3pdgHoQfoYBob11Kk1FGa9lui5RIHZCoCkJa9QKlvl3/vKz2usCmYYjs7ymJR/2Nnsqe+Hjt5nw==} engines: {node: '>=18'} cpu: [arm64] os: [netbsd] - '@esbuild/netbsd-x64@0.28.1': - resolution: {integrity: sha512-aeL6lAnN89Hz43Mlh1G8ARasbuoYvSITDEx0tHh5b7jJnHcssqgjy9Yx430GDpmCa6OyrKoS0aNRjKundRizGg==} + '@esbuild/netbsd-x64@0.28.2': + resolution: {integrity: sha512-lqnzCV+mM0gIADaKihiCg6ifgfU2L3h5E33rNQBN1Y4MaVGnzryzmvvf7UHxprpQdE8hpqLolJ9Rl+SkIRDpyw==} engines: {node: '>=18'} cpu: [x64] os: [netbsd] - '@esbuild/openbsd-arm64@0.28.1': - resolution: {integrity: sha512-MEFJe5C3R8pwXdZ5Y21oo6m7ePiS0d9pWucn99O/wvyJZChoIQKrQDxKrGeW8F5+T0okTHesAmDeiHDTIq0V/Q==} + '@esbuild/openbsd-arm64@0.28.2': + resolution: {integrity: sha512-AL2qJILH7lNjrDmCQDvdxMfAUIv8KMNZOvrwAQ8i8//ntL9FflhOyMJ8OZSMBb8/AWXe3/5v5S20y3zCoZWKoQ==} engines: {node: '>=18'} cpu: [arm64] os: [openbsd] - '@esbuild/openbsd-x64@0.28.1': - resolution: {integrity: sha512-i/ZLIOafE0Z8cI/XANJAixoJL/uRAoS2xOA3rb0xN+KK0K177cMAsQYkzHtBrtMXAKuAc7HGgcWiZ/sRC1Nxgw==} + '@esbuild/openbsd-x64@0.28.2': + resolution: {integrity: sha512-QtiuPytchRyC4rwUKhexJdQKvDuZ6hWloi3igqPQNUJCS1/v9EiO3UTOXR6A3FoMo4fnAKbWJdqaIwhOzh8qEw==} engines: {node: '>=18'} cpu: [x64] os: [openbsd] - '@esbuild/openharmony-arm64@0.28.1': - resolution: {integrity: sha512-ge+Z7EXFNt2BO1oAMsVpiQ8EwndV9i1xXerAeTIK7AtPs3bKFXQM7nlRxDSIUIMeueR1CNXxqztLzdNeReKBJg==} + '@esbuild/openharmony-arm64@0.28.2': + resolution: {integrity: sha512-WkhYDmpTjLvGlScA1rwjRUmhl4k8oXR3cIbtqWmELgU/dFeHHlEllxDvdWcNJV9rbzCexB5vz8gtNewWLgCT7Q==} engines: {node: '>=18'} cpu: [arm64] os: [openharmony] - '@esbuild/sunos-x64@0.28.1': - resolution: {integrity: sha512-BEjgtECkL3vY+SaSQ6nzVfiALUeFxpawyp8Jmf5PtYhf1Ug40N1h/hxlhts+f1FvSvarEigdxS3BlSMI2PJLcQ==} + '@esbuild/sunos-x64@0.28.2': + resolution: {integrity: sha512-GPMSkTOtMnv2U2F8gxe4Io6qmVs+YKyp832Etqqxr0hFngmXQ3rzwytelm3GIn7T4VviRUlf3sOgBOiTdvaf7g==} engines: {node: '>=18'} cpu: [x64] os: [sunos] - '@esbuild/win32-arm64@0.28.1': - resolution: {integrity: sha512-lCv9eK/H6ZJWbE7bh2nw54CZ9M2nupBxJcTsdk/QQnWkdSjKGuxmmH8/GWrlT1eMmZfn4dGcCjRte397WqfQXA==} + '@esbuild/win32-arm64@0.28.2': + resolution: {integrity: sha512-PIhhEkE9uPBleRBrQEJpUn7MBnibZzbGzYWPmY3x+YoVg/95zbjB4CxPPOQ8l5tYYM4mMaCthF8/1DIfBQQyWQ==} engines: {node: '>=18'} cpu: [arm64] os: [win32] - '@esbuild/win32-ia32@0.28.1': - resolution: {integrity: sha512-zvb/mB2bSCoJOpoCBgYKKpX6YM6mJBlBUVUtVj41DlZJVEB6/0CKlRYxP5wWl1C1ILiCoAU5wZZ4q1P3qeS6Eg==} + '@esbuild/win32-ia32@0.28.2': + resolution: {integrity: sha512-YmJbfTlvU7Sdn9BB+4PRES4oB6pxgS37MAONj+hBr/cpXS1aBPKXxNnDbu+QCWPj0o9dgyxeq79g6c5P8KeuYA==} engines: {node: '>=18'} cpu: [ia32] os: [win32] - '@esbuild/win32-x64@0.28.1': - resolution: {integrity: sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A==} + '@esbuild/win32-x64@0.28.2': + resolution: {integrity: sha512-5ebpxr3nWMzrL/rnUI755Jkuee0bHL/Gq0WTF9lvcpv73wAp5eu8MfBUgWK9bhWvZjj7yX8etf/8tI8Ney695g==} engines: {node: '>=18'} cpu: [x64] os: [win32] - '@eslint-community/eslint-utils@4.9.1': - resolution: {integrity: sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==} + '@eslint-community/eslint-utils@4.10.1': + resolution: {integrity: sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 @@ -2330,12 +2332,12 @@ packages: resolution: {integrity: sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} - '@eslint/css-tree@4.0.5': - resolution: {integrity: sha512-iPmijIAq4hlIJB86PYmY/fcZORHtjphSqICDbwuw32A/JmkhZQ/K/6TjHE03zqf3n5yABpVcbRAMG8Mi9ojy8g==} + '@eslint/css-tree@4.1.2': + resolution: {integrity: sha512-rVcxLmwSkEL3aWS3vAgsTRrQHoYE1b0XcgDtKHDJ92XOkyUpcbS/g0tUJKhvCtlEhYzgKBWsgDd+Z/aPhd166w==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} - '@eslint/eslintrc@3.3.6': - resolution: {integrity: sha512-l2Ul9PrHsPCKcEY/ac7VgFj9D80C7S68sOKc618SyHDPK36s1XcFebXY0iTzUVn4Yq+YbwvSnDmCz9yxjX+QrA==} + '@eslint/eslintrc@3.3.7': + resolution: {integrity: sha512-F42g89Qd5oAWtp0k0nnSrjziAKza7w8SVT4mStc18LZMaRb4J1HQAHLCalEtDCxrTuksx7NU9qsmeLwpOfPqWw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@eslint/js@10.0.1': @@ -2355,8 +2357,8 @@ packages: resolution: {integrity: sha512-IkO+/KEUvwbVpiURZg+P7zF74z5Jxe0UgJxVni+RtoHQ6IZieXaO02kmadomap/q+l6bc/jdPGGqTjhuZnuz1Q==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} - '@exodus/bytes@1.15.1': - resolution: {integrity: sha512-S6mL0yNB/Abt9Ei4tq8gDhcczc4S3+vQ4ra7vxnAf+YHC02srtqxKKZghx2Dq6p0e66THKwR6r8N6P95wEty7Q==} + '@exodus/bytes@1.16.0': + resolution: {integrity: sha512-IcpW84uEn3N7ETtNZMlxKhfl6Pec8rUNGOTBtWbK1FKhJxIFAptZyVrvVRVBimAJxJCgc3PxepxkdWWG4DVzfA==} engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0} peerDependencies: '@noble/hashes': ^1.8.0 || ^2.0.0 @@ -2364,43 +2366,43 @@ packages: '@noble/hashes': optional: true - '@fallow-cli/darwin-arm64@3.24.1': - resolution: {integrity: sha512-4qCv+LoL43L+LVcRL/x/yM+cenp9G/yWqXRSpJHI/1aLeQ1FHUsGpcxbAFCvUydgLWAV2QpJMiXdodJ2J//PhQ==} + '@fallow-cli/darwin-arm64@3.37.0': + resolution: {integrity: sha512-J9JPc8lMF1ngLKx/MjPuVnBswQmdTdVoVYQaAJnTVvSsIyetTVUPEXy5TU6U+X5yAKJWQBDAUBjLOZOI141GZQ==} cpu: [arm64] os: [darwin] - '@fallow-cli/darwin-x64@3.24.1': - resolution: {integrity: sha512-t7JPn8MkI2nW0Bb69M5BYEYT/eXg7lF23FrMR2HXaMtH2vNlUbAdqX5XfvcVOhBAlYRboLrp69aG/so0c7hFcA==} + '@fallow-cli/darwin-x64@3.37.0': + resolution: {integrity: sha512-nLAoyqrPQeIjvuJHXw4CV1QJEmSoPA0R6p6kNI7LcXupoFrffxbf0jXGLH5SsyXOR8fNn01EyRIJjuzp+D5DZQ==} cpu: [x64] os: [darwin] - '@fallow-cli/linux-arm64-gnu@3.24.1': - resolution: {integrity: sha512-tzA/efrsEcuQubZ15ExH046EaVNwCzUJleWHLzurrB9XaXV0mwlnMn/1S045fFuKKhlqMZbk5MWhLT7o2M7zlg==} + '@fallow-cli/linux-arm64-gnu@3.37.0': + resolution: {integrity: sha512-WVhhIQZGYLHTCVdVdTFc8vtuUZyBkZOE0n5Rft5YuJv9JNyjE1QP2GPMLWamx/zRueNYd9q4P+vdqzAfKnDUWA==} cpu: [arm64] os: [linux] - '@fallow-cli/linux-arm64-musl@3.24.1': - resolution: {integrity: sha512-WGy6zs5XaIEpVw7iuOL0N1Ygfj8DVz80c0qDE/iMHhnldLVOZMioit0OZzbWIsDyS9YHvNzwvM9vj7JzFGAdrA==} + '@fallow-cli/linux-arm64-musl@3.37.0': + resolution: {integrity: sha512-0VggUolqDwfezWPnN5BdWvYt4ZDvRTcVFQOQg0vTxTuE0pl9lGZzVQoVdaf+UqWzxnlgObQEIaYrTPELut7tBw==} cpu: [arm64] os: [linux] - '@fallow-cli/linux-x64-gnu@3.24.1': - resolution: {integrity: sha512-TV7VikqFeViO/i7vcHrLzZeMGkXe8yjNS1b9SUSusgdX6DzdQAlh2FBT1lJuvLsL9ErER6zm9CG1qiYXovMsqw==} + '@fallow-cli/linux-x64-gnu@3.37.0': + resolution: {integrity: sha512-yLjGY47UW00c8h7374yZhX10BTH/qAbs07SLI3B09bEfJ61PlWyYpY/qA0AtUEpLr5YEvZKYHw4InkUUnIKmgA==} cpu: [x64] os: [linux] - '@fallow-cli/linux-x64-musl@3.24.1': - resolution: {integrity: sha512-3hA12wfdeJ5YDxgnHty+Vte0zbQZ9nvlvbwhObcBLRUOPuRWctLv8vYve7rAJb7FGEm7czSqHksJ1Ly+MO2cWQ==} + '@fallow-cli/linux-x64-musl@3.37.0': + resolution: {integrity: sha512-SopK7lk7Fm1CUkKwOQGVEdyFRmziO0bdJ5bWRA/zyn37ETx3vPbuuuc5rFw8bEpvlNLXUQCT9D9Iu+QNALkItg==} cpu: [x64] os: [linux] - '@fallow-cli/win32-arm64-msvc@3.24.1': - resolution: {integrity: sha512-cJXHfirAfXtBp938anwMhCWMy6nFXkDyZa+lgFuGd20OgaRdOxJCXE5ArpKtcIyc7rcMhPWZdIcoNfI3NbP7kg==} + '@fallow-cli/win32-arm64-msvc@3.37.0': + resolution: {integrity: sha512-S7sfUtHKF9203L2nMtBMdo69HMtzJGUhw+aqDTNtacRbjnVLUGkhwAyaxRA4r16WeFgKhwTsytb/DKTDAYff5Q==} cpu: [arm64] os: [win32] - '@fallow-cli/win32-x64-msvc@3.24.1': - resolution: {integrity: sha512-25nQwmjojqlHy4JW5FIeVEU7lAUEG68AFCCE38LsHxtGMeCCV2w9RrYAX5jmrN3gA+AzeFo64ysd64zqesegKg==} + '@fallow-cli/win32-x64-msvc@3.37.0': + resolution: {integrity: sha512-nNneEE31mlAGsgcgJvHfqAy921Tn/bWSRXb6yd5xK3A0TUdyQKcANAyKH8a/4g3G6rLwqkkWe+ZBSCdhYHTIPg==} cpu: [x64] os: [win32] @@ -2634,8 +2636,8 @@ packages: '@formkit/auto-animate@0.9.0': resolution: {integrity: sha512-VhP4zEAacXS3dfTpJpJ88QdLqMTcabMg0jwpOSxZ/VzfQVfl3GkZSCZThhGC5uhq/TxPHPzW0dzr4H9Bb1OgKA==} - '@grpc/grpc-js@1.14.6': - resolution: {integrity: sha512-SgC/B3/VZ8lTyOZ4Cwk6f1skWhmkNAaVfiX90qd5u1rRXGKk1//8FTUEN9GvOUq7rfWIqAYkA3CoyumYVpOS6g==} + '@grpc/grpc-js@1.14.7': + resolution: {integrity: sha512-W4W/fcBMGRVtG6dW2c7cw2mnpS3hvbBd+oQXjh2iYFTZDk1JJmcNqkM5KSaPubQpamlUUurrlb7G1s9NJeERmQ==} engines: {node: '>=12.10.0'} '@grpc/proto-loader@0.7.15': @@ -2668,24 +2670,24 @@ packages: '@hapi/topo@6.0.2': resolution: {integrity: sha512-KR3rD5inZbGMrHmgPxsJ9dbi6zEK+C3ZwUwTa+eMwWLz7oijWUTWD2pMSNNYJAU6Qq+65NkxXjqHr/7LM2Xkqg==} - '@hey-api/codegen-core@0.8.2': - resolution: {integrity: sha512-R2NMf3wq97rh1mjz33WJQU8svz3F0RYUjvx/QzXucjpSqQ3O5huTdDjErG4fMxSr1X+X56NuDrqtGfHmo1TRUQ==} - engines: {node: '>=22.13.0'} + '@hey-api/codegen-core@0.9.1': + resolution: {integrity: sha512-s97jL1dgTMuiMHv2BZ1X4Tgd99Mf9GOvGdNqNcGwIMmnR+PgYNoraj4Zvp134MKsNCap/m7k0r0vKKnl56pj4w==} + engines: {node: '>=22.18.0'} - '@hey-api/json-schema-ref-parser@1.4.2': - resolution: {integrity: sha512-ZhCFSKI2ipZHEbgmtUHdyddvRU3wJ4elgCfYUC7T7hZa4EivSrVflTQf2w+v3TuaYxR1Y2V2kq3otqTttrrK8Q==} - engines: {node: '>=22.13.0'} + '@hey-api/json-schema-ref-parser@1.4.4': + resolution: {integrity: sha512-otmd+zCxbYVBIp/mlMTnGkvlNYLkVKgs3VOIq0kSnenhB1+fRwLPQIeSwyWM6E51oXhUedkYjVsVpkVexeuJOA==} + engines: {node: '>=22.18.0'} - '@hey-api/openapi-ts@0.97.3': - resolution: {integrity: sha512-4sR6/E/POuy7aPZW9DDjhObzZCq7eSJWiW0+epXeKNczoTWEwdOyWFy9Ca/CnXYlZ3oJsrv0ZD0OO+YuczT7CA==} - engines: {node: '>=22.13.0'} + '@hey-api/openapi-ts@0.99.0': + resolution: {integrity: sha512-SePU/5oEWWkvUBYmvzdYRctseoLuskyhs4ET0RvLIcmzc8yLQoA2R+KtBIQ8bPsoSUB0m4E5SmBnl6aGSA0szQ==} + engines: {node: '>=22.18.0'} hasBin: true peerDependencies: typescript: '>=5.5.3 || >=6.0.0 || 6.0.1-rc' - '@hey-api/shared@0.4.5': - resolution: {integrity: sha512-au4eHpBXAe1du0iMp6ESYuEaMS2jsoEyrbcT246btRhI9rMeQFEs7ZjtcMGXGsxhpaR38A8cPGNHx7QOrWAdMw==} - engines: {node: '>=22.13.0'} + '@hey-api/shared@0.5.0': + resolution: {integrity: sha512-JN/j4Ebh4cJGYIQ5cwWuqe7GeSUyQoz7oC51WqyhKOcrejK6DKZMDkshc5d1eKTRuRL+rjozuRcoUaZZn2DGPw==} + engines: {node: '>=22.18.0'} '@hey-api/spec-types@0.2.0': resolution: {integrity: sha512-ibQ8Is7evMavzr8GNyJCcTg975d8DpaMUyLmOrQ85UBdy1l6t1KuRAwgChAbesJsIlNV6gjmlXruWyegDX18Fg==} @@ -2730,8 +2732,8 @@ packages: '@iconify/types@2.0.0': resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} - '@iconify/utils@3.1.4': - resolution: {integrity: sha512-b1S7B1k9ohZ+iNTi2ATxbRYG9fTrJmUT0rc46bvVnNxqNRGW7dyo/vRREwyniI5IRN2RSJHDcm+s3BjWrSAjHw==} + '@iconify/utils@3.1.7': + resolution: {integrity: sha512-JZHlwdID+dy+lTgbYC8NEC4zeugqeYsc6jewvzb4c58kHauJn+X7rNwQjxz5p2qSjqaEeQoLkCIQ9v/H4PK0/w==} '@internationalized/date@3.12.2': resolution: {integrity: sha512-FY1Y+H64NDs+HAF6omlnWxm3mEpfgaCSWtL5l551ZZfImA+kGjPFgrnJrGjH6lfmLL0g8Z/mBu1R3kufeCp6Jw==} @@ -2743,10 +2745,18 @@ packages: resolution: {integrity: sha512-+yJ74JRWVJokdgG9zYNMyTSzeNV3O9T4vVxk8PvLFHmI+R/BYA//cITh7vhRK37hWLZ4/kTcKcUz1dlWOpypIg==} engines: {node: '>= 22'} + '@intlify/core-base@11.4.16': + resolution: {integrity: sha512-xB8nMdMRLNx7b0zPvrHy0+N9uq9Vfi1aUxHqWgn2e2/TbjCKy8HfoFpnUXXxVP8I0p1ccd6LFSC3XsFjZ3vweA==} + engines: {node: '>= 22'} + '@intlify/devtools-types@11.4.10': resolution: {integrity: sha512-xZxzZsAuu6/0zoLRVQWdpXWe5Kjl0LnWpjlQA3r9u9FbLYMhapqt7IwkgQyn0Tm2GUNAqhj9eZiUmYOrB024BQ==} engines: {node: '>= 22'} + '@intlify/devtools-types@11.4.16': + resolution: {integrity: sha512-Bl7arICsKgwcSEQuZJun3swenN4jwSpg35lCpijFznYbW9GvkfH4wLxcI5+gz7d/EHqu66UT9CZDIdnQdgMAGg==} + engines: {node: '>= 22'} + '@intlify/eslint-plugin-vue-i18n@4.5.1': resolution: {integrity: sha512-iAX/zbg48uF8BvjfJKGKUOCdxntcJsNsh5iXePh9ivMDu+AdzfN7EHsdKyohxXTKcc8HaU1bW/SW++BQ+C0HUQ==} engines: {node: '>=18.0.0'} @@ -2760,10 +2770,18 @@ packages: resolution: {integrity: sha512-oUB/scz2EJENXDiUJ7JjZffOrH8UIZ1BuZeHvonbi5fWLavLt04aivuk2OIByOZA0tsci1bkeeQRmwhb5M8Imw==} engines: {node: '>= 22'} + '@intlify/message-compiler@11.4.16': + resolution: {integrity: sha512-p4lDWmBAsi3ja+PuEfPRavYyvqkYn/Upxz7UpnyI9LgIIy8XawcGIDzN+k99Z+99etO3HmDXGeTxnJIJGgSZ+g==} + engines: {node: '>= 22'} + '@intlify/shared@11.4.10': resolution: {integrity: sha512-FeImVdPeoSHTm3NBFFZHv0eRP9gQ3F4lj2puDBX5Kw7iiM1uJW6JTf39ian0K/17pbXCI3ef5i9RVsRrALqI6Q==} engines: {node: '>= 22'} + '@intlify/shared@11.4.16': + resolution: {integrity: sha512-xehmkbEgbbNh/V+d8r3hFup0ViaN29YTJSAfRr28C54rxjyZEO0RNQKqW7VVajj16gLdglotNjiq+sIVNtHGzw==} + engines: {node: '>= 22'} + '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} @@ -2823,18 +2841,20 @@ packages: '@types/react': '>=16' react: '>=16' - '@microsoft/api-extractor-model@7.33.8': - resolution: {integrity: sha512-aIcoQggPyer3B6Ze3usz0YWC/oBwUHfRH5ETUsr+oT2BRA6SfTJl7IKPcPZkX4UR+PohowzW4uMxsvjrn8vm+w==} + '@microsoft/api-extractor-model@7.33.15': + resolution: {integrity: sha512-UpCnItIJwu03iNTWtJVKv8Qbf0MXN7WLQZUail9cpAQmnZiIX36YPRRoRxz0pocwytzUpmJhstsLkyW5tsaHBA==} + engines: {node: '>=20.9.0'} - '@microsoft/api-extractor@7.58.9': - resolution: {integrity: sha512-S2UF4yza5GoxCmf7hJQNxJNZN9ltOVuOQv8Dy+Z21aol5ERoBNMdWcQHm4MJMPPItW4H/4rZD906iaf4mUojJA==} + '@microsoft/api-extractor@7.60.0': + resolution: {integrity: sha512-z744eKZNJ75h4WlsJiEa8oqbRUfczNe5MexweXe9kcm/phhZBZqfkDZCzHR5dDf8FdZvNapYK/wRPnSUAKuoug==} + engines: {node: '>=20.9.0'} hasBin: true - '@microsoft/tsdoc-config@0.18.1': - resolution: {integrity: sha512-9brPoVdfN9k9g0dcWkFeA7IH9bbcttzDJlXvkf8b2OBzd5MueR1V2wkKBL0abn0otvmkHJC6aapBOTJDDeMCZg==} + '@microsoft/tsdoc-config@0.18.3': + resolution: {integrity: sha512-0I0rGXo1eJziw3EEErkDS9p/0RzBcyOiV+zbSDqOZTeURmhtut+WIvpih0LM5g+ZpZ9SyFxDfkhAcl/r8e2zGw==} - '@microsoft/tsdoc@0.16.0': - resolution: {integrity: sha512-xgAyonlVVS+q7Vc7qLW0UrJU7rSFcETRWsqdXZtjzRU8dF+6CkozTK4V4y1LwOX7j8r/vHphjDeMeGI4tNGeGA==} + '@microsoft/tsdoc@0.17.1': + resolution: {integrity: sha512-VHyYyyoH63jFoO3shpw9Zfijk5v/9p/VrClW35z0/q6ooK7sSmxpzOkS4iZPxs3vO4XtBW4H38HRAKkAMIK7DA==} '@mixpanel/rrdom@2.0.0-alpha.18.5': resolution: {integrity: sha512-RSWgCJmPpAsAs7xwt0+gMeaWytGtsCLEaTTjTCim6CpVUWM+zZSEnGzspz6FDQD69BjIduAah1LVCT/7dI5T+Q==} @@ -2857,12 +2877,12 @@ packages: '@mixpanel/rrweb@2.0.0-alpha.18.4': resolution: {integrity: sha512-ICpEYDFEEiCoUuQg+de3VvQCsolF4lNHfEM9DBp5Pwuc7EgXqwWV4wUpiRF/NbhoKk+82X1Qe+oqqlKJb/CGFw==} - '@napi-rs/wasm-runtime@1.2.3': - resolution: {integrity: sha512-UMduMbqO5s5zF2NkNacMT/yK5Y5QiKvWr2+50bzIIxFDwVJ2h49b+oyjaCGPhJxd2/gC2x39EHv/gHVuu36x2Q==} + '@napi-rs/wasm-runtime@1.2.6': + resolution: {integrity: sha512-mRyDmEw9/fCDXCGfL1sbgIw/GUK0PVxRW4YwgPN61F3LQ+fSyoBFarJVzgGyhF6kRzEQZ0FejDqm4WLXSeqQmw==} engines: {node: ^20.19.0 || ^22.13.0 || >=23.5.0} peerDependencies: - '@emnapi/core': ^1.7.1 || ^2.0.0-alpha.4 - '@emnapi/runtime': ^1.7.1 || ^2.0.0-alpha.4 + '@emnapi/core': ^1.7.1 || 2.0.0-beta.2 + '@emnapi/runtime': ^1.7.1 || 2.0.0-beta.2 '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} @@ -2876,8 +2896,8 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@one-ini/wasm@0.1.1': - resolution: {integrity: sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw==} + '@one-ini/wasm@0.2.1': + resolution: {integrity: sha512-TUqERXGNTifZ9y2g3wPxQrw3HpHv/02DsW3D90T9x0hhonrL1ZqpSmNrU2XkoIq0fP1N6gZfVQzy2Fw1ZvGBNg==} '@oxc-parser/binding-android-arm-eabi@0.127.0': resolution: {integrity: sha512-0LC7ye4hvqbIKxAzThzvswgHLFu2AURKzYLeSVvLdu2TBOYWQDmHnTqPLeA597BcUCxiLqLsS4CJ5uoI5WYWCQ==} @@ -2891,6 +2911,12 @@ packages: cpu: [arm] os: [android] + '@oxc-parser/binding-android-arm-eabi@0.152.0': + resolution: {integrity: sha512-393VtirINkae4XHBTkq/yQxhOwEr4V+r0et37P2fp+sYZSdYgZTRDPo5Um8vBh0QjMZ+RmaMy4PP0qwr4cTMwA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [android] + '@oxc-parser/binding-android-arm64@0.127.0': resolution: {integrity: sha512-b5jtVTH6AU5CJXHNdj7Jj9IEiR9yVjjnwHzPJhGyHGPdcsZSzBCkS9GBbV33niRMvKthDwQRFRJfI4a+k4PvYg==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2903,6 +2929,12 @@ packages: cpu: [arm64] os: [android] + '@oxc-parser/binding-android-arm64@0.152.0': + resolution: {integrity: sha512-iYFcExATJNZ0rZj0o02THbD1Nc9jAW0nVgIQPee6ejbSASpbZXlIMw8jxtpzaG14JQTWwGSZ6U5dEtRJXE6V3Q==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [android] + '@oxc-parser/binding-darwin-arm64@0.127.0': resolution: {integrity: sha512-obCE8B7ISKkJidjlhv9xRGJPOSDG2Yu6PRga9Ruaz35uintHxbp1Ki/Yc71wx4rj3Edrm0a1kzG1TAwit0wFpg==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2915,6 +2947,12 @@ packages: cpu: [arm64] os: [darwin] + '@oxc-parser/binding-darwin-arm64@0.152.0': + resolution: {integrity: sha512-fnU+DfUzi5/rFy0LzmipYRz06PAUUkOS8kCJQ3Eg6oqlunC1XZXoffFqxmdL51RmcbYtUG3P8DVG1U5fckoa2A==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [darwin] + '@oxc-parser/binding-darwin-x64@0.127.0': resolution: {integrity: sha512-JL6Xb5IwPQT8rUzlpsX7E+AgfcdNklXNPFp8pjCQQ5MQOQo5rtEB2ui+3Hgg9Sn7Y9Egj6YOLLiHhLpdAe12Aw==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2927,6 +2965,12 @@ packages: cpu: [x64] os: [darwin] + '@oxc-parser/binding-darwin-x64@0.152.0': + resolution: {integrity: sha512-Y3U2okryWTs7hDld6UhjJwLNf8/do+x4g4C+1U5SiGwrTLwbO83WJYJA8+l9iFSilWBgnfpd/+U76tfeNxUHzA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [darwin] + '@oxc-parser/binding-freebsd-x64@0.127.0': resolution: {integrity: sha512-SDQ/3MQFw58fqQz3Z1PhSKFF3JoCF4gmlNjziDm8X02tTahCw0qJbd7FGPDKw1i4VTBZene9JPyC3mHtSvi+wA==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2939,6 +2983,12 @@ packages: cpu: [x64] os: [freebsd] + '@oxc-parser/binding-freebsd-x64@0.152.0': + resolution: {integrity: sha512-XkhkRrrPffEw+ZLv/d/5pEni0buxinm/E/N6fLbJCunD1DBbeCTtVP23ESV+4CWCWdSz397asks1ViGslpmWiQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [freebsd] + '@oxc-parser/binding-linux-arm-gnueabihf@0.127.0': resolution: {integrity: sha512-Av+D1MIqzV0YMGPT9we2SIZaMKD7Cxs4CvXSx/yxaWHewZjYEjScpOf5igc8IILASViw4WTnjlwUdI1KzVtDHQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2951,6 +3001,12 @@ packages: cpu: [arm] os: [linux] + '@oxc-parser/binding-linux-arm-gnueabihf@0.152.0': + resolution: {integrity: sha512-MLzsRRbdfmdzo6JEhbC1yKU9ItfvM8tEf18HM32jCiNYZEz6J3bRBRl3cTkKR0vBdrk9ZVlcARXtwHccs+epDA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [linux] + '@oxc-parser/binding-linux-arm-musleabihf@0.127.0': resolution: {integrity: sha512-Cs2fdJ8cPpFdeebj6p4dag8A4+56hPvZ0AhQQzlaLswGz1tz7bXt1nETLeorrM9+AMcWFFkqxcXwDGfTVidY8g==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2963,6 +3019,12 @@ packages: cpu: [arm] os: [linux] + '@oxc-parser/binding-linux-arm-musleabihf@0.152.0': + resolution: {integrity: sha512-HHerTEJz7Iy10Ji6BGsk4gqG6PU0UzFuBu91jIEOX89FnrI5ECWSEr7BLpkYQhp7U0QFtMnBhNfQKI0hYZK78w==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm] + os: [linux] + '@oxc-parser/binding-linux-arm64-gnu@0.127.0': resolution: {integrity: sha512-qdOfTcT6SY8gsJrrV92uyEUyjqMGPpIB5JZUG6QN5dukYd+7/j0kX6MwK1DgQj39jtUYixxPiaRUiEN1+0CXgQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2977,6 +3039,13 @@ packages: os: [linux] libc: [glibc] + '@oxc-parser/binding-linux-arm64-gnu@0.152.0': + resolution: {integrity: sha512-9Bb8GyzZ2uSLzRDZ27usaKokr07mxiBe2dDF5b6bd2janmaJTT1gL51UfP7AU30yFiXrJvcRyFKREAgKwZYs0w==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [linux] + libc: [glibc] + '@oxc-parser/binding-linux-arm64-musl@0.127.0': resolution: {integrity: sha512-EoTCZneNFU/P2qrpEM+RHmQwt+CvDkyGESG6qhr7KaegXLZwePfbrkCDfAk8/rhxbDUVGsZILX+2tqPzFtoFWA==} engines: {node: ^20.19.0 || >=22.12.0} @@ -2991,6 +3060,13 @@ packages: os: [linux] libc: [musl] + '@oxc-parser/binding-linux-arm64-musl@0.152.0': + resolution: {integrity: sha512-om7iDMUroI74A/lfRRWY9/Ev3VWrVsrUZ4tyvyh8raBey/sdcfyAD7tYWc+iykAiotnmftyKTpUKFr1QnaBrAQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [linux] + libc: [musl] + '@oxc-parser/binding-linux-ppc64-gnu@0.127.0': resolution: {integrity: sha512-zALjmZYgxFLHjXeudcDF0xFGNydTAtkAeXAr2EuC17ywCyFxcmQra4w0BMde0Yi/re4Bi4iwEoEXtYN7l6eBLQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -3005,6 +3081,13 @@ packages: os: [linux] libc: [glibc] + '@oxc-parser/binding-linux-ppc64-gnu@0.152.0': + resolution: {integrity: sha512-Lf1OL2lMTqwDMFC6jnRb30B+WYHKV0XT+bPHcFM6xHtNVwxpobiTzUIvKH6a0LWpvfwyru8Yu6zCGHqqFHH+gg==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [ppc64] + os: [linux] + libc: [glibc] + '@oxc-parser/binding-linux-riscv64-gnu@0.127.0': resolution: {integrity: sha512-fPP8M6zQLS7Jz7o9d5ArUSuAuSK3e+WCYVrCpdzeCOejidtZExJ9tjhDrAd3HEPqARBCPmdpqxESPFqy44vkBQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -3019,6 +3102,13 @@ packages: os: [linux] libc: [glibc] + '@oxc-parser/binding-linux-riscv64-gnu@0.152.0': + resolution: {integrity: sha512-BYWSMQK+YJ9ZILStPcmmiSVq8KEG9Qdq/c4BHPC3rUEq/fEDCVjUIwdj5ZzjgZ9P9is9PKu0tcAXzq1ZXg4urQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [riscv64] + os: [linux] + libc: [glibc] + '@oxc-parser/binding-linux-riscv64-musl@0.127.0': resolution: {integrity: sha512-7IcC4Ao02oGpfnjt+X/oF4U2mllo2qoSkw5xxiXNKL9MCTsTiAC6616beOuehdxGcnz1bRoPC1RQ2f1GQDdN+g==} engines: {node: ^20.19.0 || >=22.12.0} @@ -3033,6 +3123,13 @@ packages: os: [linux] libc: [musl] + '@oxc-parser/binding-linux-riscv64-musl@0.152.0': + resolution: {integrity: sha512-d2LqHNNNqdH185sRK5dPKWZu201JrNu9/CRFuVEuT+ht7n/QaVblEMWT9MALQPrDWYvhG10P+NSKJFquDWZ09w==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [riscv64] + os: [linux] + libc: [musl] + '@oxc-parser/binding-linux-s390x-gnu@0.127.0': resolution: {integrity: sha512-pbXIhiNFHoqWeqDNLiJ9JkpHz1IM9k4DXa66x+1GTWMG7iLxtkXgE53iiuKSXwmk3zIYmaPVfBvgcAhS583K4Q==} engines: {node: ^20.19.0 || >=22.12.0} @@ -3047,6 +3144,13 @@ packages: os: [linux] libc: [glibc] + '@oxc-parser/binding-linux-s390x-gnu@0.152.0': + resolution: {integrity: sha512-8gBeHt5rA/8+pKhHl+zLggfa3L/V/L2at96p7ty6pBE7id6lFO19nFUc15u2PcjC4OYeYK465MKy1fhhbpFIGw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [s390x] + os: [linux] + libc: [glibc] + '@oxc-parser/binding-linux-x64-gnu@0.127.0': resolution: {integrity: sha512-MYCguB9RvBvlSd6gbuNI7QwiLoCCAlGnlRJFPrzLI6U1/9wkC/WK6LtBAUln55H1Ctqw45PWmqrobKoMhsYQzQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -3061,6 +3165,13 @@ packages: os: [linux] libc: [glibc] + '@oxc-parser/binding-linux-x64-gnu@0.152.0': + resolution: {integrity: sha512-ltgrSF6L+yPTVsIdaAyqKq3zTqzj/1VlNbxWZuxAe8flR3sWdyNsKvdXukoO8/ucJbLickhmieRBge+o/e8Ugw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [linux] + libc: [glibc] + '@oxc-parser/binding-linux-x64-musl@0.127.0': resolution: {integrity: sha512-5eY0B/bxf1xIUxb4NOTvOI3KWtBQfPWYyKAzgcrCt0mDibSZygVpO1Pz8bkeiSZ5Jj9+M09dkggG3H8I5d0Uyg==} engines: {node: ^20.19.0 || >=22.12.0} @@ -3075,6 +3186,13 @@ packages: os: [linux] libc: [musl] + '@oxc-parser/binding-linux-x64-musl@0.152.0': + resolution: {integrity: sha512-LcMp6BvrBnewSfdkLHoSqidhoAq4syKOTBV5TYHWd+2VnGkfD/nPRRVIzTBt/Lkbt7pfOFDGtkiTntFS0p6sQQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [linux] + libc: [musl] + '@oxc-parser/binding-openharmony-arm64@0.127.0': resolution: {integrity: sha512-Gld0ajrFTUXNtdw20fVBuTQx66FA75nIVg+//pPfR3sXkuABB4mTBhl3r9JNzrJpgW//qiwxf0nWXUWGJSL3UQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -3087,6 +3205,12 @@ packages: cpu: [arm64] os: [openharmony] + '@oxc-parser/binding-openharmony-arm64@0.152.0': + resolution: {integrity: sha512-jbhoMCslVxzRCRNQ8TSHxjYdSKRvk8O6ciLVDkahJvmyHDzBqba/bMQHM6ULKj/rgHNNbSzlIiakdx8SEfkJzA==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [openharmony] + '@oxc-parser/binding-wasm32-wasi@0.127.0': resolution: {integrity: sha512-T6KVD7rhLzFlwGRXMnxUFfkCZD8FHnb968wVXW1mXzgRFc5RNXOBY2mPPDZ77x5Ln76ltLMgtPg0cOkU1NSrEQ==} engines: {node: ^20.19.0 || >=22.12.0} @@ -3109,6 +3233,12 @@ packages: cpu: [arm64] os: [win32] + '@oxc-parser/binding-win32-arm64-msvc@0.152.0': + resolution: {integrity: sha512-JZYVlhv36mr/nertnRB7vchJECOBb1Lz6lltalILsB+o9M/is+H6BEDRLQKdqA4JKs6NjJszo46+iM5sfwj6jQ==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [arm64] + os: [win32] + '@oxc-parser/binding-win32-ia32-msvc@0.127.0': resolution: {integrity: sha512-0cwxKO7KHQQQfo4Uf4B2SQrhgm+cJaP9OvFFhx52Tkg4bezsacu83GB2/In5bC415Ueeym+kXdnge/57rbSfTw==} engines: {node: ^20.19.0 || >=22.12.0} @@ -3121,6 +3251,12 @@ packages: cpu: [ia32] os: [win32] + '@oxc-parser/binding-win32-ia32-msvc@0.152.0': + resolution: {integrity: sha512-1X9oganvVsunRH0lH10UU05N+H9atpX6WsOybByUjwnfcd3h/0tYwvuv16XuHglrIUOnxV2TodbLVEwwafd64g==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [ia32] + os: [win32] + '@oxc-parser/binding-win32-x64-msvc@0.127.0': resolution: {integrity: sha512-rOrnSQSCbhI2kowr9XxE7m9a8oQXnBHjnS6j95LxxAnEZ0+Fz20WlRXG4ondQb+ejjt2KOsa65sE6++L6kUd+w==} engines: {node: ^20.19.0 || >=22.12.0} @@ -3133,23 +3269,37 @@ packages: cpu: [x64] os: [win32] + '@oxc-parser/binding-win32-x64-msvc@0.152.0': + resolution: {integrity: sha512-sw0M80/dn9rcpu+Rqqph/C+MjvDDce6MlXmFjsNQtPEymha0eJy3ml6+foSUTqFfpDIDyHZZ4eoJ43IoMe8bJw==} + engines: {node: ^20.19.0 || >=22.12.0} + cpu: [x64] + os: [win32] + '@oxc-project/types@0.127.0': resolution: {integrity: sha512-aIYXQBo4lCbO4z0R3FHeucQHpF46l2LbMdxRvqvuRuW2OxdnSkcng5B8+K12spgLDj93rtN3+J2Vac/TIO+ciQ==} '@oxc-project/types@0.137.0': resolution: {integrity: sha512-WT+Gb24i8hmvo85AIv2oEYouEXkRlKAlT9WaCa3TfLgNCN+GhrJOGZuIlMouAh38Qe4QOx26eUOVsq70qXrywA==} - '@oxc-project/types@0.147.0': - resolution: {integrity: sha512-IJ3s6ltHLp45S0bh7phkX+gJO7A1Wuz2EaqpAhb8WjqDwbzMiWKHhyyT42tskaWjEYXtHtVCPpnBJVT9+dcRLg==} + '@oxc-project/types@0.152.0': + resolution: {integrity: sha512-oM/5rLBm2tPkg0iBgkH/FOeR3PCDpY19GTgAZjMFM8h9WI9VW7cLgzp6nwtarYKmovavIQZ+Fe/RKX/8C8O/Rw==} + + '@oxc-project/types@0.156.0': + resolution: {integrity: sha512-1Duyg48TdJNdyhEB8Xn1L36bT9Pv6GUtlKjHxOys8xkaF/rQq3XJE+bAurSK/AgIz5mGFsb77cn9Pb20+WCScw==} + + '@oxc-resolver/binding-android-arm-eabi@11.21.2': + resolution: {integrity: sha512-xQoCRv+gKax9KTdwdaQNnAFOai8neay7g3jExDIORzhbrejwGSJaZNTdOJHR5ziLg2joMxOCMOFMo4zuxza2uQ==} + cpu: [arm] + os: [android] '@oxc-resolver/binding-android-arm-eabi@11.21.3': resolution: {integrity: sha512-eNU11A2WNizh04v3uyaJCootrHIaS0B9aHYXvAvVnPNk4xYSjMUjHnhQ6dewPN2MRYDskV85d1N0Aw0WNWhcyg==} cpu: [arm] os: [android] - '@oxc-resolver/binding-android-arm-eabi@11.24.2': - resolution: {integrity: sha512-y09e0L0SRI2OA2tUIrjBgoV3eH5hvUKXNkJqXmNo5V2WxIjyC7I7aJfRLMEVpA8yi95f90gFDvO0VMgrDw+vwA==} - cpu: [arm] + '@oxc-resolver/binding-android-arm64@11.21.2': + resolution: {integrity: sha512-HF5oiE2L05yInPYCFD/4uxSrEZW4SuIfn99Y6L1xnJnzl066JR+MJs2rIdstw8A2MPlAKH+13dpFPNycjqzvGg==} + cpu: [arm64] os: [android] '@oxc-resolver/binding-android-arm64@11.21.3': @@ -3157,19 +3307,19 @@ packages: cpu: [arm64] os: [android] - '@oxc-resolver/binding-android-arm64@11.24.2': - resolution: {integrity: sha512-cl4icWaZFnLdg8m6qtnh5rBMuGbxc/ptStFHLeCNwr+2cZjkjNwQu/jYRS0CHlnPecOJMpuS5M6/BH+0J/YkEg==} + '@oxc-resolver/binding-darwin-arm64@11.21.2': + resolution: {integrity: sha512-UX4u49CVCAD8QZNELaW8eMGgMAGwFWYEPbvNsh+3r/gs4NX3KfpiACMVwRQT0EuH3uat9hM5Zl+Ppm9pJD8tgg==} cpu: [arm64] - os: [android] + os: [darwin] '@oxc-resolver/binding-darwin-arm64@11.21.3': resolution: {integrity: sha512-wkh0qKZGHXVUDxFw3oA1TXnU2BDYY/r775oJflGeIr8uDPPoN2pk8gijQIzYRT6hoql/lg3+Tx/SaTn9e2/aGg==} cpu: [arm64] os: [darwin] - '@oxc-resolver/binding-darwin-arm64@11.24.2': - resolution: {integrity: sha512-At29QEMF6HajbQvgY8K6OXnHD1x9rad74xBEfmCB6ZqCGsdq75aK7tOYcTbOanMy8qdIBrfL3SMr3p/lfSlb9w==} - cpu: [arm64] + '@oxc-resolver/binding-darwin-x64@11.21.2': + resolution: {integrity: sha512-J9xPx7YBkrRmJ+xl561ztnMWEc1aOyjEIxBiGX1dVb3u7bGSnfObfcZk+Pd+uM0HZAPNsQ1xvD8j52A/uOSqNQ==} + cpu: [x64] os: [darwin] '@oxc-resolver/binding-darwin-x64@11.21.3': @@ -3177,28 +3327,28 @@ packages: cpu: [x64] os: [darwin] - '@oxc-resolver/binding-darwin-x64@11.24.2': - resolution: {integrity: sha512-A5Kqr1EUj4oIL5CF4WRssq/o5P0Y11cwoFouMRmQ7YnC/A8V93nv1nb7aSU8HwcgmXropjLNkVTl4MN87cu28Q==} + '@oxc-resolver/binding-freebsd-x64@11.21.2': + resolution: {integrity: sha512-fRlt7OvSaQkWj6+EDTVxawVxOlqJB2QSnBfkeCyK4RTvsGctbw3BiH2Tb7DzMs7bikc4BRBpvWP5zF9K8b54Zg==} cpu: [x64] - os: [darwin] + os: [freebsd] '@oxc-resolver/binding-freebsd-x64@11.21.3': resolution: {integrity: sha512-K6xNsTUPEUdfrn0+kbMq5nOUB5w1C5pavPQngt4TM2FpN91lP0PBe2srSpamb4d69O7h86oAi/qWX/kZNRSjkw==} cpu: [x64] os: [freebsd] - '@oxc-resolver/binding-freebsd-x64@11.24.2': - resolution: {integrity: sha512-R5xkRBRRz7ceH/P5Jrc6G7FmdUdgpLYyESFAUDVTNQ9K0sGPxcp4ljiwEwEqsvNcQ4sYbMRrWcHHBCu7ksAJVw==} - cpu: [x64] - os: [freebsd] + '@oxc-resolver/binding-linux-arm-gnueabihf@11.21.2': + resolution: {integrity: sha512-gK+vPUcPQITkGwBKpZGrcDHSlU6eDGl7AQacxS2CEKAZIBHWkOVFeJwLZ4tYnA1acJqRM5lt7yYwPCVqGHIJ7A==} + cpu: [arm] + os: [linux] '@oxc-resolver/binding-linux-arm-gnueabihf@11.21.3': resolution: {integrity: sha512-VcFmOpcpWX1zoEy8M58tR2M9YxM+Z9RuQhqAx5q0CTmrruaP7Gveejg75hzd/5sg5nk9G3aLALEa3hE2FsmmTQ==} cpu: [arm] os: [linux] - '@oxc-resolver/binding-linux-arm-gnueabihf@11.24.2': - resolution: {integrity: sha512-k/RuYL4L/R58IBn3wT5ma3Wh4k62bp1eYCFRWCmMsasUOqL+H6sW0VGFadEzKWXFFlz+2uIMoeMk9ySSZJHgbg==} + '@oxc-resolver/binding-linux-arm-musleabihf@11.21.2': + resolution: {integrity: sha512-L/Rgas7SrOKy/z7IH+HxSFRqVO4PuLDKLEGKvnhoCBBq3UJ0YzGBou3qMzaAGgkJwsIvX2pBF+7ojzfUhLiZxQ==} cpu: [arm] os: [linux] @@ -3207,10 +3357,11 @@ packages: cpu: [arm] os: [linux] - '@oxc-resolver/binding-linux-arm-musleabihf@11.24.2': - resolution: {integrity: sha512-bnHAak3ujYfH5pKk4NieFNbvYvernfoQDgwLddbZ3OtMYrem87/qjlA+u+aKG0oZcqSLGCful/6/CEA+aeAgaA==} - cpu: [arm] + '@oxc-resolver/binding-linux-arm64-gnu@11.21.2': + resolution: {integrity: sha512-CUEYvlX1Fk7E9kUMzuswru1J9HLxMwnpDeQGjQuI4ZH+iNCoa2X9T+pvyzrbsgl7WnIeTFTlNlHsRfVdf5g9/g==} + cpu: [arm64] os: [linux] + libc: [glibc] '@oxc-resolver/binding-linux-arm64-gnu@11.21.3': resolution: {integrity: sha512-X0AqNZgcD07Q4V3RDK18/vYOj/HQT/FnmEFGYS2jTWqY7JO13ryE3TEs3eAIgUJhBnNkpEaiXqz3VK8M7qQhWQ==} @@ -3218,11 +3369,11 @@ packages: os: [linux] libc: [glibc] - '@oxc-resolver/binding-linux-arm64-gnu@11.24.2': - resolution: {integrity: sha512-vDT3KHgzYp47gmtNOqL2VNhCyl5Zv643eyxm//A68J8DeUGXrvD1pZFiaT4jSfe+RInfnn1R2yVHye4enx6RnA==} + '@oxc-resolver/binding-linux-arm64-musl@11.21.2': + resolution: {integrity: sha512-ViN1ZibQyxwC67GpoP33oo+S9UyUnkog13vzQb9+v9bCNvrVzJuk0MRdacjtv/9xfRMVF/eqHFyl8YOeykI10Q==} cpu: [arm64] os: [linux] - libc: [glibc] + libc: [musl] '@oxc-resolver/binding-linux-arm64-musl@11.21.3': resolution: {integrity: sha512-YkaQnaKYdbuaXvRt5Qd0GpbihzVnyfR6z1SpYfIUC6RTu4NF7lDKPjVkYb+jRI2gedVO2rVpN35Y6akG6ud4Lw==} @@ -3230,11 +3381,11 @@ packages: os: [linux] libc: [musl] - '@oxc-resolver/binding-linux-arm64-musl@11.24.2': - resolution: {integrity: sha512-+kMlQvbzfyEYtu5FcjE4p+ttBLpKW4d/AsAsuE69BxV6V4twZJeIQZFfD8gh/wqglY0MkPSezWXQH0jBV13MUw==} - cpu: [arm64] + '@oxc-resolver/binding-linux-ppc64-gnu@11.21.2': + resolution: {integrity: sha512-CU1sCqWnhGqYD5I1HedHk5pujrn7ssDkNB/AEQd/pd3D/EojVSgJUlpbafwIbyhia3PgIfkvdFpRPWSALzVumA==} + cpu: [ppc64] os: [linux] - libc: [musl] + libc: [glibc] '@oxc-resolver/binding-linux-ppc64-gnu@11.21.3': resolution: {integrity: sha512-gB9HwhrPiFqUzDeEq+y/CgAijz1YdI6BnXz5GaH2Pa9cWdutchlkGFAiAuGb/PjVQpiK6NFKzFuztxrweoit7A==} @@ -3242,9 +3393,9 @@ packages: os: [linux] libc: [glibc] - '@oxc-resolver/binding-linux-ppc64-gnu@11.24.2': - resolution: {integrity: sha512-shjfMhmZ3gq9fv/w7bi3PnZlgOPG+2QAOFf0BJF0EgBSIGZ6PMLN2zbGEblTUYB/NKVDRyYhE2ff3dJ1QqNPkA==} - cpu: [ppc64] + '@oxc-resolver/binding-linux-riscv64-gnu@11.21.2': + resolution: {integrity: sha512-jWVyZtIHca4Gb96x7dag+y69vlei7ffjrsveLkmf2ZhqEAz6ZSBnY1GWvgZUaZlwZP62A3xD092BW97Q5VGc+g==} + cpu: [riscv64] os: [linux] libc: [glibc] @@ -3254,11 +3405,11 @@ packages: os: [linux] libc: [glibc] - '@oxc-resolver/binding-linux-riscv64-gnu@11.24.2': - resolution: {integrity: sha512-zGelwFR5oRo+b69k8Lrzun86DyUHzfKN6cnjbR9l7Z7NIRznOE/2ZvPa1IUKqAL2PzAXOdwkfVqNvO1H2RlpAw==} + '@oxc-resolver/binding-linux-riscv64-musl@11.21.2': + resolution: {integrity: sha512-LF29obFqNgBUgDX7rmUK7M4D0JQG5LxhYzn3xXmECcHU9aQAdWG7NiY052qybtesEdwHQXKNTWYQ7mTsybNvWg==} cpu: [riscv64] os: [linux] - libc: [glibc] + libc: [musl] '@oxc-resolver/binding-linux-riscv64-musl@11.21.3': resolution: {integrity: sha512-4UfsQvacV388y1zpXL7C1x1FNYaV52JtuNRiuzrfQA2z1z6ElVrsidkGsrvQ5EgeSq1Pj7kaKqrgGkvFuxJ/tw==} @@ -3266,11 +3417,11 @@ packages: os: [linux] libc: [musl] - '@oxc-resolver/binding-linux-riscv64-musl@11.24.2': - resolution: {integrity: sha512-qxZ1SWCXJY0eyhAlP6Lmo9F2Nrtx7EkYj9oCgL8apDPCwXwCEDA2U697bbT81JIc2IrVjxO4KX6WU2N+oN9Z4w==} - cpu: [riscv64] + '@oxc-resolver/binding-linux-s390x-gnu@11.21.2': + resolution: {integrity: sha512-+NYcm+cCHBbtdQQ3A4phQTSuVRYnNHz7wrl9XRAPEovcdoqi0mb1K5ZOl+jN54ZD+q1zz3V0vltbFJmzecJKmw==} + cpu: [s390x] os: [linux] - libc: [musl] + libc: [glibc] '@oxc-resolver/binding-linux-s390x-gnu@11.21.3': resolution: {integrity: sha512-b5uH+HKH0MP5mNBYaK75SKsJbw52URqrx2LavYdq6wb0l3ExAG5niYRP9DWUNHdKilpaBVM2bXk9HNWrH3ew7Q==} @@ -3278,9 +3429,9 @@ packages: os: [linux] libc: [glibc] - '@oxc-resolver/binding-linux-s390x-gnu@11.24.2': - resolution: {integrity: sha512-sGCecF3cx2DFlH4t/z7ApnOnXqN48p5p5mlHDEnHTAukQa2P+qMVE4CwyWE9W+q/m3QJ7kKfGrIjax31f44oFQ==} - cpu: [s390x] + '@oxc-resolver/binding-linux-x64-gnu@11.21.2': + resolution: {integrity: sha512-UQqZDdG2r2HhAOsZEgufkIWHPQ886IUyuJQkoZByvzhW8j51R4UNzGBJFkTiTnLhQnggwJRdJgFWK4uY6ZVIMw==} + cpu: [x64] os: [linux] libc: [glibc] @@ -3290,11 +3441,11 @@ packages: os: [linux] libc: [glibc] - '@oxc-resolver/binding-linux-x64-gnu@11.24.2': - resolution: {integrity: sha512-k/VlMMcSzMlahb3/fENM4rTlsJ0s3fFROA0KXPBmKggqmTSaE383sl8F3KCOXPLmVsYfW6hCitMhXCEtNeZxxg==} + '@oxc-resolver/binding-linux-x64-musl@11.21.2': + resolution: {integrity: sha512-3Q9PMRjalWkT6NZ4jfujuqTCFwoWErg3y3BnOgb544B8IMw4PktiwWOigMfOHNRLMghZeJ7hpfpZf4CP7rV7Og==} cpu: [x64] os: [linux] - libc: [glibc] + libc: [musl] '@oxc-resolver/binding-linux-x64-musl@11.21.3': resolution: {integrity: sha512-QTBAb7JuHlZ7JUEyM8UiQi2f7m/L4swBhP2TNpYIDc9Wp/wRw1G/8sl6i13aIzQAXH7LKIm294LeOHd0lQR8zA==} @@ -3302,40 +3453,39 @@ packages: os: [linux] libc: [musl] - '@oxc-resolver/binding-linux-x64-musl@11.24.2': - resolution: {integrity: sha512-8hbnZyNi97b/8wapYaIF9+t9GmZKBW2vunaOc3h9HGJptH7b7XpvZqOTBSm/MpTjr7H497BlgOaSfLUdhmy2bw==} - cpu: [x64] - os: [linux] - libc: [musl] + '@oxc-resolver/binding-openharmony-arm64@11.21.2': + resolution: {integrity: sha512-Eljeq3ndtyKhM+Es8LITi4Zl2htzuRZcrPMF3kMCsrILztvU6AjZ3FuEhHHKobPUB9rMpzLpJP5bDqXI7r+iog==} + cpu: [arm64] + os: [openharmony] '@oxc-resolver/binding-openharmony-arm64@11.21.3': resolution: {integrity: sha512-4j1DFwjwv36ec9kds0jU/ucQ5Ha4ERO/H95BxR5JFf0kqUUAJ1kwII7XhTc1vZrkdJkvLGC9Q2MbpObpum8RBg==} cpu: [arm64] os: [openharmony] - '@oxc-resolver/binding-openharmony-arm64@11.24.2': - resolution: {integrity: sha512-MvyGik3a6pVgZ0t/kWlbmFxFLmXQJwgLsY2eYFHLpy0wGwRbfzeIGgDwQ3kXqE30z+kSXennRkCrT7TUvkptNg==} - cpu: [arm64] - os: [openharmony] + '@oxc-resolver/binding-wasm32-wasi@11.21.2': + resolution: {integrity: sha512-HGDbNsIywqc4LxU38+CTJNnB/6BF7rheWOJ259b4eE0aEnelYblC8x+1tEd63bp31fYne63RQz9Jb4yVnC7Yig==} + engines: {node: '>=14.0.0'} + cpu: [wasm32] '@oxc-resolver/binding-wasm32-wasi@11.21.3': resolution: {integrity: sha512-i8oluoel5kru/j1WNrjmQSiA3GQ7wvIYVR1IwIoZtKogAhya2iub+ZKIeSIkcJOrnzQ18Tzl/F+kL3fYOxZLvA==} engines: {node: '>=14.0.0'} cpu: [wasm32] - '@oxc-resolver/binding-wasm32-wasi@11.24.2': - resolution: {integrity: sha512-vHcssMPwO08RTvj/c0iOBz90attxyG3wQJ0dTcyEQK43LRpcdLWZlV5feBhv6Isn6ahbQIzHbCgfa81+RiML0Q==} - engines: {node: '>=14.0.0'} - cpu: [wasm32] + '@oxc-resolver/binding-win32-arm64-msvc@11.21.2': + resolution: {integrity: sha512-iWx25CBEgH49iE9q5coEGI/jb1jl5kkCY9z6U5Og67xCkQ/WFMDc2J5U78+AE91SUxM2NqSLhJC8/PLfWnImww==} + cpu: [arm64] + os: [win32] '@oxc-resolver/binding-win32-arm64-msvc@11.21.3': resolution: {integrity: sha512-M/8dw8dD6aOs+NlPJax401CZB9I7Aut84isQLgALGGwke4Afvw+/7yYhZb94yXf6t2sPLhQLmSmtSV+2FhsOWg==} cpu: [arm64] os: [win32] - '@oxc-resolver/binding-win32-arm64-msvc@11.24.2': - resolution: {integrity: sha512-uokJqro2iBqkFvJdKQLP7d8/BUmFwESQFVmIJUQKj1Xn1a/LysJoe1vmeECLF5b3jsV8CAL5sEMJXX6SdK9Nhg==} - cpu: [arm64] + '@oxc-resolver/binding-win32-x64-msvc@11.21.2': + resolution: {integrity: sha512-VPoCAhKvCQTlG7vxqaBXcmuvbh77BfnGXj8g0pbvVXpm1F/R8rDVwqIWcEbMzrI1JvJlm8v7T9uMVQb6UctMRg==} + cpu: [x64] os: [win32] '@oxc-resolver/binding-win32-x64-msvc@11.21.3': @@ -3343,129 +3493,124 @@ packages: cpu: [x64] os: [win32] - '@oxc-resolver/binding-win32-x64-msvc@11.24.2': - resolution: {integrity: sha512-UqGPmo56KDfLlfXFAFIrNflHT8tFxWGEivWg3Zeyp4Uy2NlKN1FGPr6/BxcLGG3+kZ6Wp14g5Uj+n71boqZfiw==} - cpu: [x64] - os: [win32] - - '@oxfmt/binding-android-arm-eabi@0.59.0': - resolution: {integrity: sha512-bNTnfbuG7sAwb2PakMNaDukx5kXeW9duXOBeWtTOiLz3fXz3q2DlWguufPZ+c2IHEVrRXHD+M4aUgEWm841LDA==} + '@oxfmt/binding-android-arm-eabi@0.75.0': + resolution: {integrity: sha512-zHJ7LcTN46/5mtoLxsUu14pdF9ixFwDURtmxZ0CeNwqom5qB5NRVqU6o2GRZ7QPdNBW8G6j9UTJzQ+EDevMH0w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [android] - '@oxfmt/binding-android-arm64@0.59.0': - resolution: {integrity: sha512-R/Sn7z52QtdAKNqQLLY0EK7hVMjXiz3XUlvoCFCm/60jgIzAnQtiqLKBCFaBkimCQL5rs2ezPMcicpjCsrl54Q==} + '@oxfmt/binding-android-arm64@0.75.0': + resolution: {integrity: sha512-IdxsKZJvHZUvI7q6kLmzXdEFpFiBEDQw/WJtSp1QlzNXBw1JlLN3tY50WwWd4doPnq86XW4P+7BsQwu6meCW+w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@oxfmt/binding-darwin-arm64@0.59.0': - resolution: {integrity: sha512-vm/ynUqE4HjC0ZIEjmXv1UJu1/GngccQ+T+TJudTMxUxm6r+GQTg1TO3E5jJfI71pBaXxSzs1+vWHIwuilGHhw==} + '@oxfmt/binding-darwin-arm64@0.75.0': + resolution: {integrity: sha512-vyiqZilO5jal/nXZ0143NyKcP6TkzjaQdVEWU/kwgyWqugAgIRgAbrnO3MOF+e6LkQu3CrtrkPoc3mrsZZY6cA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@oxfmt/binding-darwin-x64@0.59.0': - resolution: {integrity: sha512-uTtYDpLN/obfKVWGpgEc8BqYlLZBQTPz2uYEvLRy3HPZxjZ34wiFzukUBU2bf64JuCYZI//GTV1EOMmWlPjf/w==} + '@oxfmt/binding-darwin-x64@0.75.0': + resolution: {integrity: sha512-oua7eVqVe769mDam6ORcavygxTzG3ovo5QRQ1kJCPaEbnWXPYhtAiYDj8pajVmFjO7j8Elf3gInnWpTX0LLYtg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@oxfmt/binding-freebsd-x64@0.59.0': - resolution: {integrity: sha512-e2UnxL/ifStSPy8ffBCDbdy595SYsGy+U1pur4G65TuMmWxAMBzYGG7atZo/3mp515p8rZdsflxVD/E1FAdPLQ==} + '@oxfmt/binding-freebsd-x64@0.75.0': + resolution: {integrity: sha512-NWkbezhg7mx2Ep94g/TysR3c1bsISsU4lQ6t5xI4841PAk0Kqcn1+UEe+BoFH2/UK2YegPXq+OF+0bUcSvUalA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@oxfmt/binding-linux-arm-gnueabihf@0.59.0': - resolution: {integrity: sha512-LtdeZ1l0urxte3VNi3g8cocZwv1xGM1NKHSgF/fJEEVhyQmlgGh7WFWKFd/pNuO7djfvPNtNO1+MS+FEWkgVSA==} + '@oxfmt/binding-linux-arm-gnueabihf@0.75.0': + resolution: {integrity: sha512-CAHX87kJplTq2E0OWP7opG8gEVlHc7CeLEi4nMJOyx3psuqBKf84HZ3UIkX2guWEJ5UljU2zJF0o46XylywVVA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxfmt/binding-linux-arm-musleabihf@0.59.0': - resolution: {integrity: sha512-dBTciSsj9GTMl7p+h2gMSI0hoPn2ijfc/dUsbnWsP0RbwgPl2r0C/5zkMb3Pb+gGj17LH7f1o4qLo9aes/pAvA==} + '@oxfmt/binding-linux-arm-musleabihf@0.75.0': + resolution: {integrity: sha512-jmxYOiQzx2fp+OwQb7717K1zI8AMKEykw04sfr95/mU8SIL/oKgQq8nXH42sEznEquBL2RU7nLY36eBnYFT+vg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxfmt/binding-linux-arm64-gnu@0.59.0': - resolution: {integrity: sha512-tXVdJ/JINsNWdponPHN0OuKHtC+HdpyoS9sd6IDPNiiEYsRki8b7tefRZ1iMnRkdbyT4SEbguWsr6o+5awvbPQ==} + '@oxfmt/binding-linux-arm64-gnu@0.75.0': + resolution: {integrity: sha512-eimaiAhx08dbOg12Fj3PYhymXY8vRbaiJB505vDXMy6ohne3Y1qTS0e5KEwFMq3LmDjEO+16BX38c/oXFI/SAQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-arm64-musl@0.59.0': - resolution: {integrity: sha512-RRTq38i2zT5fnw6XGHjvT6w2mh6x/G3m6AZcAZ56OTDTT/lsOeYnG3SVjwmH40z5kPqF+lf+o35e6m6PpKy9Dw==} + '@oxfmt/binding-linux-arm64-musl@0.75.0': + resolution: {integrity: sha512-bjSONIG1ba2xugr9oHQau0E6oPFYOMjPaa5hK/wpVC/Q1pcgf2BZMKwbuA8/cWzhWX5QV/UdPzD+rw1kQHpikQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@oxfmt/binding-linux-ppc64-gnu@0.59.0': - resolution: {integrity: sha512-lD3k7glAJSaXW0D6xzu8VOZbYbosvy+0ktOVkfLEoQF5HJlMSxTQ2KNW0JO+08ccP/1ElOKktVEMI0fqRbVB4w==} + '@oxfmt/binding-linux-ppc64-gnu@0.75.0': + resolution: {integrity: sha512-wDksWQXC/KZucISyqlhBtvpW+pyHh8z0Cjm6Qxiv22XlllM2Bx5gJGDnPYjV+H0lL+o1iqLlEli8jmBuRCLcjw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-riscv64-gnu@0.59.0': - resolution: {integrity: sha512-WH5ZP1RbuHKBO/yfPRQKpNO/ijHcEDNbnmC4VPf/Bcd3+mbMAZpRiJWRa1PL5bREdIZZHo343mk3sqlc9x7Usw==} + '@oxfmt/binding-linux-riscv64-gnu@0.75.0': + resolution: {integrity: sha512-5JkNwViqaVuk4I+9+zgVrEYiHOAPXFxgDgP6iDnpdOBjm7XAHAOjSvolHZZAokWPx7CGOw8tKteXmn4WPIInaQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-riscv64-musl@0.59.0': - resolution: {integrity: sha512-743wOiaI9RZY4QVGkWkfGRavD5ZJUJ6gscFjVrVu1dP8AZh9jM+a6v3NhlR+OIzHdS6DhLM96w+gcVskskz7rw==} + '@oxfmt/binding-linux-riscv64-musl@0.75.0': + resolution: {integrity: sha512-1EVqRIE0eZLB08j3ZCVN47Ors7LCXGmOI+3xJYgyoFUKUerD3Glxb+Q1Bp3lK8NeT5R3ZdS9uhX/wobNBYZ6jw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] libc: [musl] - '@oxfmt/binding-linux-s390x-gnu@0.59.0': - resolution: {integrity: sha512-xjRXQsRnrRZCcCkIEnbd2lmsQNobtwwkJxdy2bWXhZ1lIN0ouZwsBXRsoovW3yATuziAYwr9HMiQuR/Cc75NIw==} + '@oxfmt/binding-linux-s390x-gnu@0.75.0': + resolution: {integrity: sha512-UJWRVNT6Yuw4ssLv2BwaBUWU1GWtByE+EnoHu8I+P1t8Kn+WozYU5WYOqb5aj8gbXJJ8gGZt+w40Hi/7L6iVLw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-x64-gnu@0.59.0': - resolution: {integrity: sha512-4hNjqq/Rbr9B+StY9zMMAfm72+mtM4v80xYL5Qkb59Qd72g2vJMI0iFlPj3kf6miMsie/yJ7rt4urJT292HBgA==} + '@oxfmt/binding-linux-x64-gnu@0.75.0': + resolution: {integrity: sha512-FHdvHhyz8ChBctBUvVGti49kSEwANd1PZQwlXUEoF9Ed4plxXxk/wWc0mfZmrze2lRgmME7ytDmVIOixYauQhg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@oxfmt/binding-linux-x64-musl@0.59.0': - resolution: {integrity: sha512-NH579iN8EVQYsWowUB8B5vFchcylJtwPVJ7NmUAqEQHNLfhPbDT3K56KrECNAkUN4QpF4qiMgN2vsfZwVvjm7g==} + '@oxfmt/binding-linux-x64-musl@0.75.0': + resolution: {integrity: sha512-6MjtsF96s9mSBV0GEwUe4pOFPP2Mz7ahcHPAit0DSKL5fM6oMM7RG1zvYxwB7+SBkIxsWBRhhxuqmy7pibNwsA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@oxfmt/binding-openharmony-arm64@0.59.0': - resolution: {integrity: sha512-mzZy3Z5Aj1D75Aq9FVlmoRQH5ei8Ga4o/NZmlXkKyeZ5EmPrUXRR7c6BMBteV1ZuZ/356UYDuLRLjAMxTDTiBA==} + '@oxfmt/binding-openharmony-arm64@0.75.0': + resolution: {integrity: sha512-1D6T6aL1Pj+U5GLxqwV1fKjUJ5+FFm+bn7UrqNDMveZmWs0jo/3vc+dzzuV/jF/FdVo12gowODk3SnAO2YOwLg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@oxfmt/binding-win32-arm64-msvc@0.59.0': - resolution: {integrity: sha512-0CpDJ1gE3jN1Gk6xms1Ie6LPfPcOtY4FAtoOmVLHQoAf8DvO2wd0DW2dIX2f7YTp5dxrr0ND8JeUEjm3DP3k5g==} + '@oxfmt/binding-win32-arm64-msvc@0.75.0': + resolution: {integrity: sha512-RX2eUmy7J/nM8+tnM3nzR8t1eqkwj1q8Kgo7beA+4DVgKYYHHyrEa3qEmthxw7Z+HqpCCEOWuoqa+jelo9/w2Q==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@oxfmt/binding-win32-ia32-msvc@0.59.0': - resolution: {integrity: sha512-zwdKBu3pt87uW0bRcywZb0oGMS7C6n87qogwRYFUgmk44T90ZzYlPjtlFYXs/DnBFrgNCvlHwCuWKfVWLeE7kw==} + '@oxfmt/binding-win32-ia32-msvc@0.75.0': + resolution: {integrity: sha512-UpKta0iSZmPLII0dYXYdbzdBTsGREUbSHLqgLdtKcqBvs40qjmUz+cgUcaU1smPx13DfbEG4XqnaSn5MoFN0og==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ia32] os: [win32] - '@oxfmt/binding-win32-x64-msvc@0.59.0': - resolution: {integrity: sha512-dUUbZkKgWrmAeI/puzv4bxN8lzcYaFnQVwFTFtwO2Gp8M7lZGSE2qJjC58g518+1bltJ8mizjYwD0BGHym0l/w==} + '@oxfmt/binding-win32-x64-msvc@0.75.0': + resolution: {integrity: sha512-pjiLiCk0QMCWxs0n5XiNU85YLAKA+wJxPjxlDVygmr4bP4glcfTU2nOpso5nR4Rdi2Pxv5YwakD4UE+eh7M0BQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -3676,98 +3821,98 @@ packages: '@protobufjs/utf8@1.1.2': resolution: {integrity: sha512-b1UQwcEZ4yCnMCD8DAL1VlbvBJE9/IX4FTIp7BG1xYpf29SLazLSrqUkj4w7Y5y7cCVP6E5tcqqcI0xemPkHug==} - '@rolldown/binding-android-arm-eabi@1.2.6': - resolution: {integrity: sha512-b+jTcARdTiFLI6jB4a5XjTm0RWd6KcRfQj/I2356fxUZemiho9zQLxo0RtCuMDAyKcLo6cEltkgbQp6d1+sjjQ==} + '@rolldown/binding-android-arm-eabi@1.2.16': + resolution: {integrity: sha512-ia3DwAs0OsMGS7+IConptSiyk9pEXkOx/AbJ2n/lAGxH3QkWQus1t8d7gnAT38FCU2sQu8lUbeR6AiZFv4JxaA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [android] - '@rolldown/binding-android-arm64@1.2.6': - resolution: {integrity: sha512-lkWU8ZJaRk9q3CIEY1Tc7vIFALp3Xw5NfGJo2hQg5oIqNgxWi1zI+IiDEK3r70BF5Dzol1tcXsnzsRc8NLhG+Q==} + '@rolldown/binding-android-arm64@1.2.16': + resolution: {integrity: sha512-kx5wBiMB6E7TEvpl2B9gjLU004BkvEm2Dr941BFjx/SontPwSzNuQUIoVKxHHoSjpFIfHMmcguyLOtyn0hObRg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@rolldown/binding-darwin-arm64@1.2.6': - resolution: {integrity: sha512-dgR56NYnvAszm7Ob1B2/Vn0e8bUQYZH2UjVaMMtMVOCKFSfjhfLmuA/9+O+F+ajUdG6B/bSssrKW6JJYASa8jA==} + '@rolldown/binding-darwin-arm64@1.2.16': + resolution: {integrity: sha512-qslZrXnKJU4cUpjoAmtAo/KQM9e2IRMlmpig6Zpwj+8KWxW8v+nkAf9216Bsek9lOC1jvg2yCjygCFo2f83msQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@rolldown/binding-darwin-x64@1.2.6': - resolution: {integrity: sha512-vpVxFvUCFioJqug7OTvqptkc4yb8UX0AwfDmJpaR/0sWz+BUmqSVAf7c8JkUgnN8YLspb4a/N6NhTyMAmdyQ7Q==} + '@rolldown/binding-darwin-x64@1.2.16': + resolution: {integrity: sha512-FdF+y48ND13eAyM2mQn+85kvAqNlvRWROy2rhgA463X/0Gv4vGtazZtfaF1mRBLscYvtOlh4QnLjOWiFzX69OQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@rolldown/binding-freebsd-x64@1.2.6': - resolution: {integrity: sha512-h1wG6Y6K3JlRswxsI64qQJqBAy4vrLuHgRbc8CZMGSWTOFRY6ghMApM1NKzB2I0n5xV1fjkE18SuVl2QpLeNpA==} + '@rolldown/binding-freebsd-x64@1.2.16': + resolution: {integrity: sha512-ddjqFM5e95AgLbUPtKIS7V1KTVlA0RUgCVr5mn+/IEhsdy3pr+Vuj/HZ7nlMN2FyxIwUktOH1LEPIQXO1v9y1Q==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@rolldown/binding-linux-arm-gnueabihf@1.2.6': - resolution: {integrity: sha512-tbCiqub0q2MVWJKgF5PoAlNWCtQydiOYSLIkd8sByqK/6MMYLJRcSXSYodqYtd0O+Fw7QaVmKKlS4oL94YRZ0w==} + '@rolldown/binding-linux-arm-gnueabihf@1.2.16': + resolution: {integrity: sha512-tHdKWbFkFBI687iim3LIyIvyL7j66VvQYkDPss5Stn/qyE2tWkR1YD0dXmXPFKKqT/o5ZEJVsaRsWS2meQwGOA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@rolldown/binding-linux-arm64-gnu@1.2.6': - resolution: {integrity: sha512-oxK9+baEBPhZG5HB4URY+uU04zJWeZlH6Tb9rB5DK4DF9XR1uXNLXt5Q5ZsugTKayNCNLhkcwz/ye74hRI98dg==} + '@rolldown/binding-linux-arm64-gnu@1.2.16': + resolution: {integrity: sha512-FJiLGAblPBMlBEdbOqw6kW6QcXDWAf/oJu7gYs9ZJZwmg+K+/zjFLxPTIY9izJUzxzc24FHvmseyA0IvJSl17w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-arm64-musl@1.2.6': - resolution: {integrity: sha512-muWCk27FVBEZtv0MsK8gnfSmgczA8KQ0uRVJbTABKhkRfQc38aUrcb7fhi3BNiyseFmgcRsoMfQsSNJ+DbZdSw==} + '@rolldown/binding-linux-arm64-musl@1.2.16': + resolution: {integrity: sha512-hrJpblMsrQ58U9veWpbXzkhV5zStunds6HWLprqq1qauvgBr1E6P+24kLj6lSLI9vjRn/RYpjprhkHQPKGWpNg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@rolldown/binding-linux-ppc64-gnu@1.2.6': - resolution: {integrity: sha512-eWDoSfU7Co2qj3vgB3Dt4lj1mG6CoWbcJQkRMP3XJplyCMtuaq3LHvPFjS9QIPvMGWVadJC04Xiy0IdcVPtnwQ==} + '@rolldown/binding-linux-ppc64-gnu@1.2.16': + resolution: {integrity: sha512-qJd/dC6j6CwLG9/s/RP2nb1RZ0GIgj7Ioj7x/SYa3RzjVrlzrmH0fhIOpfvqQDeIsdP0loi+kHaMhJzY1PBIaA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-s390x-gnu@1.2.6': - resolution: {integrity: sha512-2bWNjRSIayvupRKxXUY2tWG9fYdoUlTqWywHRvE8Eq3GvuQ+f2HeIkve697fIt+IQs/PV8yFsdWuhp1aJ1PdnA==} + '@rolldown/binding-linux-s390x-gnu@1.2.16': + resolution: {integrity: sha512-Vx7Xg5uUJuNcujJjI70OICaH0EYj80BtOLZTSN7uOYg8QOLlyKnaG0IW7Fn/J0IpJsaKzmDKMhOQv1JBM9m9vg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-gnu@1.2.6': - resolution: {integrity: sha512-KekI0gS0wLxe1UBSQSjenBVwou/JkcQPDzBPICGZjxUv9k3RteHDPBQaiOicZUFKRIH2wKEimGwVpnJsbPzu7w==} + '@rolldown/binding-linux-x64-gnu@1.2.16': + resolution: {integrity: sha512-TNKhgE3uJTsTzatUSSYt0Kgo+Oa2uSlSjz4r1aEIea7HX6ULBym4fAlYUhG1i6pjNf2njfCUAfKwr6C3E9Xg1w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-musl@1.2.6': - resolution: {integrity: sha512-TvtPnfVr+HtyGiDmPK4VWmlNm7QhNNAcK5Q9A7aOXsI8545yCyaoMaicXrFZ72JzeYjaUVk7yT243zT0jzjFKQ==} + '@rolldown/binding-linux-x64-musl@1.2.16': + resolution: {integrity: sha512-7chXdpjXZ8qG0+mIxECN3cT9kvhZ3/oZhMX6Pp876P7CDrIy8nJswva6Mq357JR7eYXfuskwZxMeV1SzoZdHrA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@rolldown/binding-openharmony-arm64@1.2.6': - resolution: {integrity: sha512-iOo0VEay2XFhaCcH0sps5XIimkSuOnNaZrf6+ZkoSOQBJPKNU48RkmJv0/lSpipexu5P+ouFgafe5IGr/DiQfg==} + '@rolldown/binding-openharmony-arm64@1.2.16': + resolution: {integrity: sha512-Kwjt+7uNTJK5/MDkGWGVO2KQPnj8yAV75dMpfwyHZrJSXWHrniOB0aUEWlVYf3H1hOqFLIStLdM5QXq6bnKmOQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@rolldown/binding-win32-arm64-msvc@1.2.6': - resolution: {integrity: sha512-y5NTmmasMS455JlOCO4ZM9krIchv3Mvm1crL1iUPGOPgEzSkves9n0SdC5Sjz6+qWDFhd8/JpfWMH8NSWNHe+A==} + '@rolldown/binding-win32-arm64-msvc@1.2.16': + resolution: {integrity: sha512-/LH6WfjDRXXJz/p5xl4TmU+jpcnwcxbKEQBW/GZE0JHfN0lGIyTtsUEGaQ/q/GikkGJ2yLKe6pwm7AnEWO8pdw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@rolldown/binding-win32-x64-msvc@1.2.6': - resolution: {integrity: sha512-np8iZSLfXlAD4kWhiyq/u0Yt8oZDtRQ8lGhQaCXo2rl37KNjeU0GjJuwr4P3oeZ++ROfofsKNBqR5LTO8aXyWQ==} + '@rolldown/binding-win32-x64-msvc@1.2.16': + resolution: {integrity: sha512-1lv1KvX0Z871zfk7vw+dnXMMnHNyDwMzWG8Kv3HxDXMOhzCX4SHc7HK319fInP0i+0p9D8brkfzL7pJOaGl+tw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -3779,8 +3924,8 @@ packages: resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} engines: {node: '>= 8.0.0'} - '@rollup/pluginutils@5.4.0': - resolution: {integrity: sha512-MfPp06CjRLfXQ3wY0R8vJDYBy/MvVcc9OulEfR0B8Iv9ko+GCNaRZ+EpJYFl27LhKsZK0o420sYCRHCjfCgeUg==} + '@rollup/pluginutils@5.5.1': + resolution: {integrity: sha512-P9ZvnfouRu4MSC+ilERaw6FmZs8zqKhpHxEs4aGDGWQAMzQGXnhvCSvoNwokfNvdt7t3Y5Y4p6gStQgezeIqug==} engines: {node: '>=14.0.0'} peerDependencies: rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 @@ -3788,8 +3933,9 @@ packages: rollup: optional: true - '@rushstack/node-core-library@5.23.1': - resolution: {integrity: sha512-wlKmIKIYCKuCASbITvOxLZXepPbwXvrv7S6ig6XNWFchSyhL/E2txmVXspHY49Wu2dzf7nI27a2k/yV5BA3EiA==} + '@rushstack/node-core-library@5.25.1': + resolution: {integrity: sha512-ozoRDwIx3jStOYpx86rFyXH4SaUR+DVT6HubQ59avLplJkWXSm5InztYH7RrOzzq9PJXTdq9/+lKX06SfkLVsA==} + engines: {node: '>=20.9.0'} peerDependencies: '@types/node': '*' peerDependenciesMeta: @@ -3804,19 +3950,25 @@ packages: '@types/node': optional: true - '@rushstack/rig-package@0.7.3': - resolution: {integrity: sha512-aAA518n6wxxjCfnTAOjQnm7ngNE0FVHxHAw2pxKlIhxrMn0XQjGcXKF0oKWpjBgJOmsaJpVob/v+zr3zxgPWuA==} + '@rushstack/rig-package@0.7.4': + resolution: {integrity: sha512-SHZdzc9b2ptUb5uvRWALtAceD/QKZ4UAnZjcaKviTMPmHBnW14gs7XDocn6sDv2EqgnxxFPFkpV7/I3cUijCbw==} + engines: {node: '>=20.9.0'} - '@rushstack/terminal@0.24.0': - resolution: {integrity: sha512-8ZQS4MMaGsv27EXCBiH7WMPkRZrffeDoIevs6z9TM5dzqiY6+Hn4evfK/G+gvgBTjfvfkHIZPQQmalmI2sM4TQ==} + '@rushstack/terminal@0.24.7': + resolution: {integrity: sha512-o8J9nHOIwfYb0s0eG2WYhx7ed3YIvBXQHVFxYdXCmVdBOkTkdArJcgVzRS8ewUepmlic4nGgJPjKIVaNKSqEnA==} + engines: {node: '>=20.9.0'} peerDependencies: '@types/node': '*' peerDependenciesMeta: '@types/node': optional: true - '@rushstack/ts-command-line@5.3.10': - resolution: {integrity: sha512-fwI076HYknC0IrMXdY6UmjDv+PH7NHhNJX3/pY2UblSE5XrXgndXZPiOe/6ZtuFpn6DvVDVNhtkIzQ+Qu/MhVQ==} + '@rushstack/ts-command-line@5.3.17': + resolution: {integrity: sha512-pIwhWawZXAT0nTXwvcE/InQ7uaVAgSeIzILMb2mBrI01Hz1yEvxrhV2+DE2Fzux8aZY9OJTdLsI+sk9kZDuAJw==} + engines: {node: '>=20.9.0'} + + '@sec-ant/readable-stream@0.4.1': + resolution: {integrity: sha512-831qok9r2t8AlxLko40y2ebgSDhenenCatLVeW/uBtnHPyhHOvG0C7TvfgecV+wHzIm5KUICgzmVpWS+IMEAeg==} '@segment/analytics.js-video-plugins@0.2.1': resolution: {integrity: sha512-lZwCyEXT4aaHBLNK433okEKdxGAuyrVmop4BpQqQSJuRz0DglPZgd9B/XjiiWs1UyOankg2aNYMN3VcS8t4eSQ==} @@ -3830,104 +3982,64 @@ packages: '@segment/isodate@1.0.3': resolution: {integrity: sha512-BtanDuvJqnACFkeeYje7pWULVv8RgZaqKHWwGFnL/g/TH/CcZjkIVTfGDp/MAxmilYHUkrX70SqwnYSTNEaN7A==} - '@sentry/babel-plugin-component-annotate@4.9.1': - resolution: {integrity: sha512-0gEoi2Lb54MFYPOmdTfxlNKxI7kCOvNV7gP8lxMXJ7nCazF5OqOOZIVshfWjDLrc0QrSV6XdVvwPV9GDn4wBMg==} - engines: {node: '>= 14'} - - '@sentry/browser-utils@10.65.0': - resolution: {integrity: sha512-4J0mkfNJAGUOkpg1ZggizyftFTn9N20b+Jl87UnWsDUkNG0Ic1l/FIzMPTVxXrAnhBGu0ULO0TFWMoQ5s3QtZw==} + '@sentry/browser-utils@10.78.0': + resolution: {integrity: sha512-zlIrDub15KsHb0CacqDSnXevV0Z67IvfhB/5zb6I/DavIfMHJC4urvIXMkLzSktfAbLB3m7cQpMoqQBhhoB1kQ==} engines: {node: '>=18'} - '@sentry/browser@10.65.0': - resolution: {integrity: sha512-XUDDsx0qxzeIlcOu1fDEqTcDl0eiOqghsgV+ReuuNP4jYjZ9kUQxE3rXWM5mlT1pBi4VaQ4FHqvQZZrRXy+oDw==} + '@sentry/browser@10.78.0': + resolution: {integrity: sha512-azZBJHq5XxOhQAKdMpkBR7ERR0fSaTS+aQzfayicFk/xMepmFjWgAm2Vph1od2ULyY0OCadIfipCpu/cbsIJMA==} engines: {node: '>=18'} - '@sentry/bundler-plugin-core@4.9.1': - resolution: {integrity: sha512-moii+w7N8k8WdvkX7qCDY9iRBlhgHlhTHTUQwF2FNMhBHuqlNpVcSJJqJMjFUQcjYMBDrZgxhfKV18bt5ixwlQ==} - engines: {node: '>= 14'} - - '@sentry/cli-darwin@2.58.6': - resolution: {integrity: sha512-udAVvcyfNa0R+95GvPz/+43/N3TC0TYKdkQ7D7jhPSzbcMc7l2fxRNN5yB3UpCA5fWFnW4toeaqwDBhb/Wh3LA==} - engines: {node: '>=10'} - os: [darwin] - - '@sentry/cli-linux-arm64@2.58.6': - resolution: {integrity: sha512-q8mEcNNmeXMy5i+jWT30TVpH7LcP4HD21CD5XRSPAd/a912HF6EpK0ybf/1USO14WOhoXbAGi9txwaWabSe33g==} - engines: {node: '>=10'} - cpu: [arm64] - os: [linux, freebsd, android] - - '@sentry/cli-linux-arm@2.58.6': - resolution: {integrity: sha512-pD0LAt5PcUzAinBwvDqc66x9+2CabHEv486yP0gRjWO7SakbaxmfVq/EXd8VLq/Tzi39LAu422UYK1lpW3MILw==} - engines: {node: '>=10'} - cpu: [arm] - os: [linux, freebsd, android] - - '@sentry/cli-linux-i686@2.58.6': - resolution: {integrity: sha512-q8vNJi1eOV/4vxAFWBsEwLHoSYapaZHIf4j76KJGJXFKTkEbsjCOOsKbwUIBTQQhRgV4DFWh3ryfsPS/que4Kg==} - engines: {node: '>=10'} - cpu: [x86, ia32] - os: [linux, freebsd, android] - - '@sentry/cli-linux-x64@2.58.6': - resolution: {integrity: sha512-DZu956Mhi3ZRjTBe1WdbGV46ldVbA8d2rgp/fh51GsI25zjBHah4wZnPTSzpc+YqxU6pJpg579B/r3jrIK530Q==} - engines: {node: '>=10'} - cpu: [x64] - os: [linux, freebsd, android] - - '@sentry/cli-win32-arm64@2.58.6': - resolution: {integrity: sha512-nj0Ff/kmAB73EPDhR8B4O9r+NUHK5GkPCkGWC+kXVemqAJWL5jcJ5KdxG0l/S0z6RoEoltID8/43/B+TaMlT7A==} - engines: {node: '>=10'} - cpu: [arm64] - os: [win32] - - '@sentry/cli-win32-i686@2.58.6': - resolution: {integrity: sha512-WNZiDzPbgsEMQWq4avsQ391v/xWKJDIWWWo9GYl+N/w5qcYKkoDW7wQG7T9FasI6ENn68phChTOAPXXxbfAdOg==} - engines: {node: '>=10'} - cpu: [x86, ia32] - os: [win32] - - '@sentry/cli-win32-x64@2.58.6': - resolution: {integrity: sha512-R35WJ17oF4D2eqI1DR2sQQqr0fjRTt5xoP16WrTu91XM2lndRMFsnjh+/GttbxapLCBNlrjzia99MJ0PZHZpgA==} - engines: {node: '>=10'} - cpu: [x64] - os: [win32] + '@sentry/bundler-plugins@11.10.0': + resolution: {integrity: sha512-+ngJ485rIYll5uOhWSvSO+Vx4S24MGe5KcLKlUZghr+BXK+ib32uBOZNG294wGyeauLTDvdjncLEYwiaBnP/5w==} + engines: {node: '>=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0'} + peerDependencies: + rollup: '>=3.2.0' + webpack: '>=5.1.0' + peerDependenciesMeta: + rollup: + optional: true + webpack: + optional: true - '@sentry/cli@2.58.6': - resolution: {integrity: sha512-baBcNPLLfUi9WuL+Tpri9BFaAdvugZIKelC5X0tt0Zdy+K0K+PCVSrnNmwMWU/HyaF/SEv6b6UHnXIdqanBlcg==} - engines: {node: '>= 10'} - hasBin: true + '@sentry/conventions@0.16.0': + resolution: {integrity: sha512-fO9PLmHdVURcSPUpWCItWAtgKiMwGdJHbovoSEyLplX5sxs2ugvI4CBPTrkkgqhObnZOD0CnWBKDzSVQYBKEyQ==} + engines: {node: '>=14'} - '@sentry/conventions@0.15.1': - resolution: {integrity: sha512-ZLP8bRdMON3prWE2tJyImuYscCxdcJeIPIhrOs/rgyFm3C1nCh1B6gdvPj3AZ5zW08oSFFCsq7T+tYEW3h8MNA==} + '@sentry/conventions@0.29.0': + resolution: {integrity: sha512-kYq9/HJ/l6MYP/srIc20dy1W4mWyJfCF0OWFF+RhBGZwyr/wCmtabRFKyw7kqM+DTwZXQOjSTSZUcJhDowcInQ==} engines: {node: '>=14'} - '@sentry/core@10.65.0': - resolution: {integrity: sha512-3aqtmM5NgNGo45BNaaBzi0LPQZAw//NEL4HKS5fXm12pJMa4KEkze8DEKnkTEIrGnWaOJKamecHKlnNg/Mqf/Q==} + '@sentry/core@10.78.0': + resolution: {integrity: sha512-MMR4ME+agrjbvQ0DtTYJJypm+QlCoz9UJgWN8gjcXqlyDjYk69LwPjnaocYN1JyQMy2dx5Hk4S/Rt12gTQ5cGw==} engines: {node: '>=18'} - '@sentry/feedback@10.65.0': - resolution: {integrity: sha512-ck8h7wgd3F3bYNk0v1OgohmyLBeXcKxqlfBJRtQq4k6KZUq+pXimOG7ckNguVMYjCo3PEfuG+ckKc21yqotKug==} + '@sentry/core@11.10.0': + resolution: {integrity: sha512-l/OtTo1v+TQgZtHG2Q5N4IX+gFdAE1tZ27K/P21UCzJglWk54TPEm+d9T2lulPqMK06kZcLwDgRAhE2GO4YS5w==} + engines: {node: '>=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0'} + + '@sentry/feedback@10.78.0': + resolution: {integrity: sha512-sFcZ/TowGAIlbijurWmtO35RtwYwtwv74yKO3x0yxlre5gsmocdbJxi/zYyuuwypCClTFb1cSBtOrRVb7e7yjA==} engines: {node: '>=18'} - '@sentry/replay-canvas@10.65.0': - resolution: {integrity: sha512-A7X3RVk1Gk+knK8Ip/2EjejckNCLgCfRZo6eGlsy6qyz904KBpYmys1a0o7QkzFRjhIndjHAfcVxwt6jSLJlrQ==} + '@sentry/replay-canvas@10.78.0': + resolution: {integrity: sha512-opwqU4kZFKxIaOcpHy237bvNzcc4wSGYOv76al7iwktHlnw7h1ggf048bHF9pIPOGxMEA9N/X+vHar6z8nCAtw==} engines: {node: '>=18'} - '@sentry/replay@10.65.0': - resolution: {integrity: sha512-aW988CcQBNArbOMzOFOziipHz6uQyXSa4i5CPWsu+nhVPTJHafosi5Lv9n6NM/icDX5e23VdnX6mZd8SyJuo8A==} + '@sentry/replay@10.78.0': + resolution: {integrity: sha512-W2TEKRmoZFvEK01u9+F6GKxQsH8xYFOF+A/+OaDoYqpBAj2zJ1oosLFvwbOS74eg3rDkmkEyWCm+p7M8JNk2oA==} engines: {node: '>=18'} - '@sentry/vite-plugin@4.9.1': - resolution: {integrity: sha512-Tlyg2cyFYp/icX58GWvfpvZr9NLdLs2/xyFVyS8pQ0faZWmoXic3FMzoXYHV1gsdMbL1Yy5WQvGJy8j1rS8LGA==} - engines: {node: '>= 14'} + '@sentry/vite-plugin@11.10.0': + resolution: {integrity: sha512-1eUQmGMk7nPwGS6PN3nuzM8+U0mzP0zaPjmO3ua4IX6gd7HFpefkxriFgO9yGOhCBMSWkIkVzxl7hUrRTCIIfw==} + engines: {node: '>=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0'} - '@sentry/vue@10.65.0': - resolution: {integrity: sha512-r+QO7O4xKJtm+ixmqqrfDyLuQgFn0Ffh7EaioqEMxfKH/LuqV9+qjmt476oU7OdNk1NyiQgn8v0tSKJTKy2hNA==} + '@sentry/vue@10.78.0': + resolution: {integrity: sha512-EFF+9JlrcTFbSyI0XbKsaqk3bnGt1PiNGin3PLjTO6GOy0ztafki1n5+Z7Ryx/dCl4xogNz62uKN6aC7LObX9w==} engines: {node: '>=18'} peerDependencies: '@tanstack/vue-router': ^1.64.0 - pinia: 2.x || 3.x + pinia: 2.x || 3.x || 4.x vue: 2.x || 3.x peerDependenciesMeta: '@tanstack/vue-router': @@ -3978,102 +4090,71 @@ packages: '@standard-schema/spec@1.1.0': resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==} - '@storybook/addon-docs@10.5.10': - resolution: {integrity: sha512-06JoK3/a7FWI/6GzuidJP9iHp1/Vejboe6lzS1jW+d8ItpecriBt+oXh1VNmUM7i7PjI6pZnet+j51QnLyeOoQ==} + '@storybook/addon-docs@10.6.5': + resolution: {integrity: sha512-Kt0pGLA+nwdu2g80p8jbdoiiKXxwQbhrY6uzMzq/0G1lytxpJUzrOQAM+GDcEbqyvpKr0u5d1q05/LPem/uooQ==} peerDependencies: '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - storybook: ^10.5.10 + storybook: ^10.6.5 peerDependenciesMeta: '@types/react': optional: true - '@storybook/addon-mcp@0.7.0': - resolution: {integrity: sha512-f/IWGRMzWynBg5kDJ3DYvvnafuSX88kykGNFzzLOlkLVpfxEZoAmQF6AS47tw25GuH6EFIqSo6ZDBLHLVyZ/IQ==} + '@storybook/addon-mcp@10.6.5': + resolution: {integrity: sha512-i8TNgzBWguyGdb45+7VTcAqQr/wn3nSDSD6aW8yZtvVee+jv3CtaEjVFGmQbCdNHIQjYN0hqWW4Cg7vmqlISGg==} peerDependencies: - '@storybook/addon-vitest': ^0.0.0-0 || ^9.1.16 || ^10.0.0 || ^10.1.0-0 || ^10.2.0-0 || ^10.3.0-0 || ^10.4.0-0 || ^10.5.0-0 - storybook: ^0.0.0-0 || ^9.1.16 || ^10.0.0 || ^10.1.0-0 || ^10.2.0-0 || ^10.3.0-0 || ^10.4.0-0 || ^10.5.0-0 + '@storybook/addon-vitest': ^10.6.5 + storybook: ^10.6.5 peerDependenciesMeta: '@storybook/addon-vitest': optional: true - '@storybook/builder-vite@10.5.6': - resolution: {integrity: sha512-Ts8EohKPj8okDPCkueeKVN+IRGNpI3LuddsFGupqraRvK6aRWawDKA28uc0PlsLCLWbMkMsGVw+IpFXfmoLJgQ==} + '@storybook/builder-vite@10.6.5': + resolution: {integrity: sha512-udrGjg3yt38pz4FxplypXxw1creIGS7N6QS8xfvTFM8MQNtPyojT/gZdd4fhX0dFrQx5MMuJEYJA5gUBiPsLtg==} peerDependencies: - storybook: ^10.5.6 - vite: ^8.2.2 - - '@storybook/csf-plugin@10.5.10': - resolution: {integrity: sha512-TaCLBrqVEr767+w58QDotDUiCTuE5cyRJuRcDlsKQyUIyGBv+lYD3lu8wBiVCYxgIjB/gu9HmqiC+0yx1rHzaw==} - peerDependencies: - esbuild: '*' - rollup: '*' - storybook: ^10.5.10 - vite: ^8.2.2 - webpack: '*' - peerDependenciesMeta: - esbuild: - optional: true - rollup: - optional: true - vite: - optional: true - webpack: - optional: true - - '@storybook/csf-plugin@10.5.6': - resolution: {integrity: sha512-PJLyOmcKe1OZDBw7RaGX/gjuiJuVfS5pVgc4W2RnHYOFpU6F5Bv9+9MqQwp0i7tWZBWc4fsCJudgVqwgjuTROA==} - peerDependencies: - esbuild: '*' - rollup: '*' - storybook: ^10.5.6 - vite: ^8.2.2 - webpack: '*' - peerDependenciesMeta: - esbuild: - optional: true - rollup: - optional: true - vite: - optional: true - webpack: - optional: true + storybook: ^10.6.5 + vite: ^8.3.5 '@storybook/global@5.0.0': resolution: {integrity: sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ==} - '@storybook/icons@2.1.0': - resolution: {integrity: sha512-Fxh9vYpX9bQqFeHRiY8h2ApeRGDzRSMLwJwNZ/AIRqnyOKHxRKL+yFe+ctEkVJmuptRE9u1Hrn8ZZNHyfDKKNg==} + '@storybook/icons@2.2.0': + resolution: {integrity: sha512-FpUB/xizIrV1ILhCIYFo+TtQNN9YEoLjfcnAW0JtOXL+BcM2aisSysI0B54JMWDnljriXySBHgN6ps4s9lb75A==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - '@storybook/mcp@0.8.0': - resolution: {integrity: sha512-G+XDgoWGrE98moXqKSee8fQyMQxoIWxRAbPG8r/HQ95pKodratevDqNyOgW+t6ZigM6AAVN1WHiFc5MI+hc8sg==} - - '@storybook/react-dom-shim@10.5.10': - resolution: {integrity: sha512-rbu62ILo/VE3iXKmu+kWXFpD1H1Lwi0f19q/x7JnDsD2dxKS9w5znLEqPIq2qxpzi/wjjIb2iUP1cRG1d/9W5A==} + '@storybook/react-dom-shim@10.6.5': + resolution: {integrity: sha512-Qbbkp+5Otg32w8Ddav6rH6MGPiYVfEzrgn0HqbqlqS8kY+DRXo+NYXJwZTVSDSwrYPrfH+Ok2tV4uE8Zo0c3cg==} peerDependencies: '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 '@types/react-dom': ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 - storybook: ^10.5.10 + storybook: ^10.6.5 peerDependenciesMeta: '@types/react': optional: true '@types/react-dom': optional: true - '@storybook/vue3-vite@10.5.6': - resolution: {integrity: sha512-O4xKi+Um2yGUOSNLQCms6x51Scm6xnb7p3Ox4nIc2cu5b/udfznAi0o2jCMxWmbLryPiKuzjFLO+TA7OJSqtIA==} + '@storybook/vue3-vite@10.6.5': + resolution: {integrity: sha512-tpyhI56cgKGgxxYkT+CKwChMKLdtz+fLeaBs0l1RKOYLjbjvZ8FrzaVz/z8JZgMUbSJSD/tIDACgz6rAQVUbrg==} peerDependencies: - storybook: ^10.5.6 - vite: ^8.2.2 + storybook: ^10.6.5 + typescript: '>= 4.9.x' + vite: ^8.3.5 + peerDependenciesMeta: + typescript: + optional: true - '@storybook/vue3@10.5.6': - resolution: {integrity: sha512-gNNO+kg/ILpWPAfOP5F44/LxUfzWg7i3qnpx00enr7MOgOlQJ3Q+Q15a7nl3IF2xvvUcz17GC4vwqLNLO8VjNQ==} + '@storybook/vue3@10.6.5': + resolution: {integrity: sha512-Tb8AManjGkO0fwgzu0v40ooiY5HH6ePS9UGYGyav1mI9cwtI06TWA7BJbmpOGjdFSpdU9ATtAxEkDvyrtQ99xw==} peerDependencies: - storybook: ^10.5.6 + storybook: ^10.6.5 + typescript: '>= 4.9.x' vue: ^3.0.0 + peerDependenciesMeta: + typescript: + optional: true '@stripe/stripe-js@9.12.1': resolution: {integrity: sha512-KLXPvjA0BfS4dQnW+ddHjwtIXMnIfKYxqmeNMmQCfKjvYog0cSG+Z7ZvK4RH1+bV90GC07nUztWDRWmJLi5HZQ==} @@ -4082,69 +4163,69 @@ packages: '@swc/helpers@0.5.23': resolution: {integrity: sha512-5lSsMOTXURePglDfvuAQUqkGek9Hg2kksOYay2m0+XR++b2NWYL/4sWyuvVBIs8oKnJaxkdi9whaL/sqN13afw==} - '@tailwindcss/node@4.3.2': - resolution: {integrity: sha512-yWP/sqEcBLaD8JuA6zNwxoYKr75qxTioYwlRwekj5Jr/I5GXnoJfjetH/psLUIv74cYTH2lBUEzBkinthoYcBg==} + '@tailwindcss/node@4.3.3': + resolution: {integrity: sha512-/T8IKEsf9VTU6tLjgC7+sv2mOPtQxzE2jMw7u4Tt40Tx+QSZxpzh95/H6cMKoja9XuW7iMdLJYBB0o9G1CaAgg==} - '@tailwindcss/oxide-android-arm64@4.3.2': - resolution: {integrity: sha512-WHxqIuHpvZ5VtdX6GTl1Ik/Vp2YuN42Et+0CdeaVd/frQ9jAvGmvR8vLT+jk3e8/Q3x8kECB9+R17pgpp2BulA==} + '@tailwindcss/oxide-android-arm64@4.3.3': + resolution: {integrity: sha512-Y85A2gmPSkl5Ve5qR86GL4HT509cFqQh1aes9p3sSkyTPwt0Pppf3GkwGe4JPACcRYjgJIEhQgM6dBClnr0NYw==} engines: {node: '>= 20'} cpu: [arm64] os: [android] - '@tailwindcss/oxide-darwin-arm64@4.3.2': - resolution: {integrity: sha512-GZypeUY/IDJW3877KeM+O67vbXr3MBnbtEL4aYhNErv/JWZhye2vGSWWG9tB6iiqR2MqRNkY8IOUy4NdSZV26w==} + '@tailwindcss/oxide-darwin-arm64@4.3.3': + resolution: {integrity: sha512-BiaWatpBcERQFDlOjRDpIVXuFK5PJez5SA4JMg6VYZdBYU+qKfV/vqjcIs+IYmtitf1xYQZTwXvU/8y4lfZUGw==} engines: {node: '>= 20'} cpu: [arm64] os: [darwin] - '@tailwindcss/oxide-darwin-x64@4.3.2': - resolution: {integrity: sha512-UIIzmefR6KO1sDU7MzRqAxC8iBpft/VhkGjTjnhoS6k7Z3rQ9wEgA1ODSiyH/tcSYssulNm4Ci3hOeK1jH7ccQ==} + '@tailwindcss/oxide-darwin-x64@4.3.3': + resolution: {integrity: sha512-fAeUqfV5ndhxRwai8cXGzdLvul9utWOmeTkv69unv4ZXixjn61Z+p9lCWdwOwA3TYboG3BwdVuN/RDjhBRl0mw==} engines: {node: '>= 20'} cpu: [x64] os: [darwin] - '@tailwindcss/oxide-freebsd-x64@4.3.2': - resolution: {integrity: sha512-GN+uAmcI6DNspnCDwtOAZrTz6oukJnp337qZvxqCGLd3BHBzJpO0ZbTLRvJNdztOeAmTzewewGIMPb0tk2R4WA==} + '@tailwindcss/oxide-freebsd-x64@4.3.3': + resolution: {integrity: sha512-iyf5bV6+wnAlflVeEy7R25dupxTNECZN5QMI0qNT6eT+EgaGdZcKhGkr5SdoaWiLJ3spLqIY9VCeSGrwmtg4kw==} engines: {node: '>= 20'} cpu: [x64] os: [freebsd] - '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.2': - resolution: {integrity: sha512-4ABn7qSbdHRwTiDiuWNegCyb5+2FJ4vKIKc3DmKrvAFw7MU1Lm11dIkTPwUaFdTzc7IsOpDbqBrlh0x6y36U/w==} + '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.3': + resolution: {integrity: sha512-aAYUprJAJQWWbRrPvtjdroZ56Md+JM8pMiopS6xGEwDfLhqj+2ver2p4nU4Mb3CRqcMmNBjo8KkUgcxhkzVQGQ==} engines: {node: '>= 20'} cpu: [arm] os: [linux] - '@tailwindcss/oxide-linux-arm64-gnu@4.3.2': - resolution: {integrity: sha512-wDgEIGwoM8w8pufh9LVt1PahDgNdKXrLC2qfAnV3vAmococ9RWbxeAw4pxPttd/TsJfwjyLf90Dg1y9y8I6Emw==} + '@tailwindcss/oxide-linux-arm64-gnu@4.3.3': + resolution: {integrity: sha512-nDxldcEENOxZRzC2uu9jrutZdAAQtb+8WWDCSnWL1zvBk1+FN+x6MtDViPB5AJMfttVCUhehGWus3XBPgatM/w==} engines: {node: '>= 20'} cpu: [arm64] os: [linux] libc: [glibc] - '@tailwindcss/oxide-linux-arm64-musl@4.3.2': - resolution: {integrity: sha512-J5Nuk0uZQIiMTJj3LEx4sAA9tMFUoXQZFv1J6An+QGYe53HKRJuFDi0rpq/tuouCZeAbOBY3kQ6g8qeD4TUjtA==} + '@tailwindcss/oxide-linux-arm64-musl@4.3.3': + resolution: {integrity: sha512-Md44bD6veX/PC5iyF8cDVnw4HBIANZepRZZ7a8DQOvkfo5WUBwcp6iAuCUz23u+4SUkhJlD3eL7hNdW8ezd/kA==} engines: {node: '>= 20'} cpu: [arm64] os: [linux] libc: [musl] - '@tailwindcss/oxide-linux-x64-gnu@4.3.2': - resolution: {integrity: sha512-kqCZpSKOBEJO4mz7OqWoofBZeXTAwaVGPj0ErAj7CojmhKpWVWVOnrt9dE8odoIraZq4oj3ausM37kXi+Tow8w==} + '@tailwindcss/oxide-linux-x64-gnu@4.3.3': + resolution: {integrity: sha512-tx7us1muwOKAKWao2v/GaafFeQboE6aj88vC6ziN2NCGcRm8gWUhwjzg+YdVB1e4boAtdtma4L43onunI6NS4w==} engines: {node: '>= 20'} cpu: [x64] os: [linux] libc: [glibc] - '@tailwindcss/oxide-linux-x64-musl@4.3.2': - resolution: {integrity: sha512-cixpqbh2toJDmkuCRI68nXA8ZxNmdK9Y+9v5h3MC3ZQKy/0BO8AWzlkWyRM7JAFSGBlfig4YVTPsK6MVgqz1uw==} + '@tailwindcss/oxide-linux-x64-musl@4.3.3': + resolution: {integrity: sha512-SJxX60smvHgasZoBy11dX6YRjXJFovwWBoedhbQPOBzgFWBHGB+TVPWB9BxzR7TTxU8FQZAI2AyiNCMzFm8Img==} engines: {node: '>= 20'} cpu: [x64] os: [linux] libc: [musl] - '@tailwindcss/oxide-wasm32-wasi@4.3.2': - resolution: {integrity: sha512-4ec2Z/LOmRsAgU23CS4xeJfcJlmRg94A/XrbGRCF1gyU/zdDfRLYDVsS+ynSZCmGNxQ1jQriQOKMQeQxBA3Isw==} + '@tailwindcss/oxide-wasm32-wasi@4.3.3': + resolution: {integrity: sha512-jx1+rPhY/5Ympkktd656HBWEBLxP7dH06losBLjjf5vgCODXvi9KhtftWcMIwTFIDqBr7cRnQkdLnAG+IOlGvQ==} engines: {node: '>=14.0.0'} cpu: [wasm32] bundledDependencies: @@ -4155,26 +4236,26 @@ packages: - '@emnapi/wasi-threads' - tslib - '@tailwindcss/oxide-win32-arm64-msvc@4.3.2': - resolution: {integrity: sha512-Zyr/M0+XcYZu3bZrUytc7TXvrk0ftWfl8gN2MwekNDzhqhKRUucMPSeOzM0o0wH5AWOU49BsKRrfKxI2atCPMQ==} + '@tailwindcss/oxide-win32-arm64-msvc@4.3.3': + resolution: {integrity: sha512-3rc292Ca2ceK6Ulcc/bAVnTs/3nDtoPhyEKlgPv+yQJQi/JS/AMJlqzxvlDacL1nekbrcf6bTqp/jV4qgnPxNQ==} engines: {node: '>= 20'} cpu: [arm64] os: [win32] - '@tailwindcss/oxide-win32-x64-msvc@4.3.2': - resolution: {integrity: sha512-QI9BO7KlNZsp2GuO0jwAAj5jCDABOKXRkCk2XuKTSaNEFSdfzqswYVTtCHBNKHLsqyjFyFkqlDiwkNbTYSssMQ==} + '@tailwindcss/oxide-win32-x64-msvc@4.3.3': + resolution: {integrity: sha512-yJ0pwIVc/nYeGoV02WtsN8KYyLQv7kyI2wDnkezyJlGGjkd4QLwDGAwl47YpPJeuI0M0ObaXGSPjvWDPeTPggw==} engines: {node: '>= 20'} cpu: [x64] os: [win32] - '@tailwindcss/oxide@4.3.2': - resolution: {integrity: sha512-z8ZgnzX8gdNoWLBLqBPoh/sjnxkwvf9ZuWjnO0l0yIzbLa5/9S+eC5QxGZKRobVHIC3/1BoMWjHblqWjcgFgag==} + '@tailwindcss/oxide@4.3.3': + resolution: {integrity: sha512-krXjAikiaFSPaK/FkAQT5UTx3VormQaiZ5hBFlJZ9UFQGB/rwg1MZIhHAG9smMQRTdyJxP6Qt5MwMtdyU5FWrA==} engines: {node: '>= 20'} - '@tailwindcss/vite@4.3.2': - resolution: {integrity: sha512-eHpMeX4JXfVNJDEcsouTeCBubJBTcTLigeaw/NTUW6PB5ATKKXdyonnXgTBX2VuRbjz1hjfz6C5XAhr52ImQXA==} + '@tailwindcss/vite@4.3.3': + resolution: {integrity: sha512-yYU8cogLeSh/ms2jh8Fj7jaba/EWa7Ja6GoUqYZaraEuCI5YS6ms6ObZgjjedm+jm6XZjdNRWBpPP6Z86oOxcw==} peerDependencies: - vite: ^8.2.2 + vite: ^8.3.5 '@tanstack/virtual-core@3.17.4': resolution: {integrity: sha512-nGm5KteqxasUdThLc2izl6dHUqLv0LQj7Nuyo5gYalTPf/U8a9ermvsl7reT+6ioBW1l8WfpP/mcU338nLXpqw==} @@ -4184,8 +4265,8 @@ packages: peerDependencies: vue: ^2.7.0 || ^3.0.0 - '@testing-library/dom@10.4.1': - resolution: {integrity: sha512-o4PXJQidqJl82ckFaXUeoAW+XysPLauYI43Abki5hABd853iMhitooc6znOnczgbTYmEP6U6/y1ZyKAIsvMKGg==} + '@testing-library/dom@10.4.2': + resolution: {integrity: sha512-yzr2S9HyAIdhz2/6qHgbs665Q7PKVcDF05vsOlHPxG1mo36gKVesdYVeDLnXgfjJ03CrKRk08knc6+E/9m8v2Q==} engines: {node: '>=18'} '@testing-library/dom@9.3.4': @@ -4196,8 +4277,18 @@ packages: resolution: {integrity: sha512-zIcONa+hVtVSSep9UT3jZ5rizo2BsxgyDYU7WFD5eICBE7no3881HGeb/QkGfsJs6JTkY1aQhT7rIPC7e+0nnA==} engines: {node: '>=14', npm: '>=6', yarn: '>=1'} - '@testing-library/user-event@14.6.1': - resolution: {integrity: sha512-vq7fv0rnt+QTXgPxr5Hjc210p6YKq2kmdziLgnsZGgLJ9e6VAShx1pACLuRjd/AS/sr7phAR58OIIpf0LlmQNw==} + '@testing-library/jest-dom@7.0.1': + resolution: {integrity: sha512-oMDTC3oA+6CXSO2JZnvOI7CA6oVub6kij5ggk9ohwye5slmkwxYDXcPOVxgMw/RQlticjtO0C1RZkR97HgrWMw==} + engines: {node: '>=22', npm: '>=6', yarn: '>=1'} + peerDependencies: + '@testing-library/dom': '>=10 <11' + vitest: '>= 0.32' + peerDependenciesMeta: + vitest: + optional: true + + '@testing-library/user-event@14.6.8': + resolution: {integrity: sha512-vgSSqnANMnkcYR/vUNDbwS7aM3OErRLNUG8vCVVlj4oc6cKffUrccX7UAS5AmJQQNZTSibi9z5GvvRZ0aYgUCQ==} engines: {node: '>=12', npm: '>=6'} peerDependencies: '@testing-library/dom': '>=7.21.4' @@ -4345,10 +4436,10 @@ packages: '@tiptap/starter-kit@3.31.0': resolution: {integrity: sha512-P80nhDEsBf6EMTaRb/ld3BaQW7iqITPR6BiIjOjbO3QDivCz/rGDKSS6q4ngsXfXOpSBc/clo/g0OyAdA8+Q4Q==} - '@tmcp/adapter-valibot@0.1.6': - resolution: {integrity: sha512-drirZeNinhYLiRSMksN+m//u0ImFxtGRk1Vp425Xp/7CbBXFQdjAG+f7grssyHAukbVTGzmWsMMP6ejrGVErUA==} + '@tmcp/adapter-valibot@0.1.7': + resolution: {integrity: sha512-MkY4yiyx6k/eeft7Ktnp3RSWrflwWF2PvhmVBSSSGjclJLdIOhhIY1wgp7LVKWwHKiYjOnaL8fQqx1kfdk4xkA==} peerDependencies: - tmcp: ^1.17.0 + tmcp: ^1.17.0 || ^1.20.0-next.0 valibot: ^1.1.0 '@tmcp/session-manager@0.2.2': @@ -4371,8 +4462,8 @@ packages: '@tweenjs/tween.js@23.1.3': resolution: {integrity: sha512-vJmvvwFxYuGnF2axRtPYocag6Clbb5YS7kLL+SO/TeVFzHqDIWrNKYtcsPMibjDx9O+bu+psAy9NKfWklassUA==} - '@tybys/wasm-util@0.10.3': - resolution: {integrity: sha512-F3fo1MYrRJYL3zER0OUOmkutjr1Vp23m7OsSgp7nq4SP6OqX6C/56XFIPAl5bt3zaBRjmW7SGz3u/6LwFpYcOg==} + '@tybys/wasm-util@0.10.4': + resolution: {integrity: sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==} '@types/argparse@1.0.38': resolution: {integrity: sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==} @@ -4398,8 +4489,8 @@ packages: '@types/esrecurse@4.3.1': resolution: {integrity: sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==} - '@types/estree@1.0.9': - resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==} + '@types/estree@1.0.10': + resolution: {integrity: sha512-lTyOMnOcmRBzdCv6/4zUZCrEhV0xrqQiUZBZtVcbmLHBXKLnN8q89v/wKRF/Q0HbwVsqbIG3o5HDoFl9sduM+g==} '@types/fs-extra@11.0.4': resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} @@ -4407,8 +4498,8 @@ packages: '@types/hast@3.0.5': resolution: {integrity: sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==} - '@types/jsdom@21.1.7': - resolution: {integrity: sha512-yOriVnggzrnQ3a9OKOCxaVuSug3w3/SbOj5i7VwXWZEyUNl3bLF9V3MfxGbZKuwqJOQyRfqXyROBB1CoZLFWzA==} + '@types/jsdom@30.0.0': + resolution: {integrity: sha512-uAHGxujGE0cDaKGdK28zgDotFtNA7MKq5DXl8LrfdxdCI8VHcg15oJz+amHTChPNI5JpgEPQWc2xFdrw3em/nQ==} '@types/jsesc@2.5.1': resolution: {integrity: sha512-9VN+6yxLOPLOav+7PwjZbxiID2bVaeq0ED4qSQmdQTdjnXJSaCVKTR58t15oqH1H5t8Ng2ZX1SabJVoN9Q34bw==} @@ -4446,8 +4537,8 @@ packages: '@types/mdx@2.0.14': resolution: {integrity: sha512-T48PeuJtvLosNTPVhfnIp3i/n3a4g4Bad7YCq5k64D4u7NwDrAotikQ+5+sjtUvBmxCMlbo3dVL+C2dP0rWHzg==} - '@types/node@25.9.5': - resolution: {integrity: sha512-OScDchr2fwuUmWdf4kZ9h7PcJiYDVInhJizG/biAq3cAvqwYktuy/TYGGdZNMtNTFUP7rnb0NU4TUdm82kt4Rg==} + '@types/node@26.6.6': + resolution: {integrity: sha512-MzQj+8Kx3XI40OmUAE6Qoh58ZMNstNNMwn2nfd3qWsfe7nDNSqJNzes4njhz6AHwrSHOffSLwXU6yb474Q4aog==} '@types/react-dom@19.3.0': resolution: {integrity: sha512-ZI7bU42mZXXKHn/qNLEw2IrbiINU7X5+vfgdixBHkCNpYWXjKgfQ/P+uyGb5CjOLB9UcnTeg3rylQtV2hym44Q==} @@ -4484,100 +4575,100 @@ packages: '@types/whatwg-mimetype@3.0.2': resolution: {integrity: sha512-c2AKvDT8ToxLIOUlN51gTiHXflsfIFisS4pO7pDPoKouJCESkhZnEy623gwP9laCy5lnLDAw1vAzu2vM2YLOrA==} - '@types/ws@8.18.1': - resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==} + '@types/ws@8.18.2': + resolution: {integrity: sha512-67MQl+fpWKVTT1NYdnmo3U4sc/xPo/zQBncVnI74qmQa0z/b+1g6iYqNmGCPbxO+zz2aklb08a0oHfegiVd0/w==} - '@typescript-eslint/eslint-plugin@8.69.0': - resolution: {integrity: sha512-t5jQTKPIgVW1PE6dR6H6Qz5gm8zjMlX5/2gRaOGd9eO6V7J+tQc6iWKukEe7dY8u9HyYasQ0yfF0/FSSTEO2gA==} + '@typescript-eslint/eslint-plugin@8.72.1': + resolution: {integrity: sha512-5CokTWXpmbylfFabsbvHC0CAw3XLaGnoa+nFJX5FR592h/LoZsENUE6p/rg5xvkKrFEXz6pYmgI29AgXc2N3BQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - '@typescript-eslint/parser': ^8.69.0 + '@typescript-eslint/parser': ^8.72.1 eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 typescript: '>=4.8.4 <6.1.0' - '@typescript-eslint/parser@8.69.0': - resolution: {integrity: sha512-l4b0DhWioGg6Gt2ebGlvfkFMOjRsauxtsnDRwUSRX1qHq3HdTfQHV8wW9zEXeciai6HfeaKOedQn2Zoofx3WBw==} + '@typescript-eslint/parser@8.72.1': + resolution: {integrity: sha512-ZGwZP4OCfyA0AQTpEAMWz+rtX01DRhQWW5hB0ucKDEIX5U7jdmPSaMx94rQfaPAQzIYz2BimOgKOJtjfpRFQ9g==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 typescript: '>=4.8.4 <6.1.0' - '@typescript-eslint/project-service@8.69.0': - resolution: {integrity: sha512-yi4obFrHMmnsesWehHbkg9zMA7Jt8cXT+mKM08G999pH1yT6nqgsHx7MYm0uY1wAj8CqiBXYRJ7WAT0QdQHQXg==} + '@typescript-eslint/project-service@8.72.1': + resolution: {integrity: sha512-fAuVMkwdO/huI8nyo/WKnNKf6Gag93S56Rh3Ts5mGcavwSdaN8tRg1gCeIGX8PF+nzp1BjGfO4gHhGzW1J6jTg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.1.0' - '@typescript-eslint/scope-manager@8.69.0': - resolution: {integrity: sha512-ewfspqWvSxKSOaplqAUNbaSFO0eB6w1EtQ+esfYFRm3614Ty4uNtExkcbgd6nWsXphbqKyf9ZYdbZdv2xEoWEQ==} + '@typescript-eslint/scope-manager@8.72.1': + resolution: {integrity: sha512-lC/t6eMCZZQAAKZEYGL6RDVSuFehpdmMT6h+nJIjIa6oylN/PwDgDVtEIbB7O9xFfZYtZAYLoLlDNWKJhtF+uQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/tsconfig-utils@8.69.0': - resolution: {integrity: sha512-xNqK7YTDZsLniQMV/4rpFR8Z5JlqeRvVjuG1YgF/mdPVH84HSD19L8CczMA0qg2RfwEV231GHH3VnToJDo4MfQ==} + '@typescript-eslint/tsconfig-utils@8.72.1': + resolution: {integrity: sha512-e4D5R5vpeAEPBxT2BAzsFQL3sbwyeeeo5+aczgNSRK1V734jE7pTqaGFU+fXapWEQwnZbpFaTn32+Z8DwS6OTg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.1.0' - '@typescript-eslint/type-utils@8.69.0': - resolution: {integrity: sha512-ZfoJAVg3JZndQEpEl9petVlxau3lRuElc4HRMuAlLCf8to04/iHz692RUSNmXKDjEuJmIL+KZ2/BsOcBc16dsA==} + '@typescript-eslint/type-utils@8.72.1': + resolution: {integrity: sha512-iY2wlmyrXJmx4yxUGP3aYCFF3cA/6ShddOKmLU2dx7LnEykbAM8WThlxZEfd1NddqceF6eJmZUayxx9oKIYNlg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 typescript: '>=4.8.4 <6.1.0' - '@typescript-eslint/types@8.69.0': - resolution: {integrity: sha512-K3VrubUPhlo9VDBS6QdI8YB5j7ClpqLRdefcz6PFrhnwicehBweqQ9Evhl4l+FYz0HdDmMqIiSX0aldGRYtDCA==} + '@typescript-eslint/types@8.72.1': + resolution: {integrity: sha512-LmE5IhQet1BWOWEXqBrVtBPsMAOQ6Nzk35d+WLh3mk4EUF33sqlfxjio1MdYeSvKSG5skactKKuixBIKXhL4Rw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.69.0': - resolution: {integrity: sha512-AdFkgqck3Vudb/kWnxlyafU/4aBhHrbQ9locP2N4psXTy5mOBg0SHJumnLvx7r6g1gV4DKvUFwV2nJZBoqOD8w==} + '@typescript-eslint/typescript-estree@8.72.1': + resolution: {integrity: sha512-DAlUoUV93hIvrtIQLwCbmZQYVZwOMhiHJrOVUUIWicFZaIYjTRqlY3I/NZevfkLmSqkNHRu2qYDcq9lrn16oOQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.1.0' - '@typescript-eslint/utils@8.69.0': - resolution: {integrity: sha512-tUbx60BBqQa31kXF5MCsOOLL5E/WzUuxIn7YpAvq+eaUlqvk8/NXnXMBNAdLCr0icjkzem7iUA5QqWHe/hJ1aw==} + '@typescript-eslint/utils@8.72.1': + resolution: {integrity: sha512-5v5liypurJBFHCBNqh/RjsymAD+VWcE0djuGY/BUqp5fC3Qn+luWDEksjuTtWjPn6i5zQlUtkZCRG/CYG0yCkA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 typescript: '>=4.8.4 <6.1.0' - '@typescript-eslint/visitor-keys@8.69.0': - resolution: {integrity: sha512-+rmdgPA+EXkNgKYvHvFfhrs35utXbwaC5PGpDquSXcoXQDKUA5UjV0LmTucG/4JXkM31BTu4TilHtrN8IVBe8w==} + '@typescript-eslint/visitor-keys@8.72.1': + resolution: {integrity: sha512-SB8xqipSzZHUePCCLNeYxqnxq83X61/qzNhjQGbTfjxGZIeOEP7tBgWYX05Tcd6CgE02WdTJnh5b8kMZJ/+bnQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-native-bridge/darwin-arm64@6.0.3-bridge.17.tsgo.7.0.2': - resolution: {integrity: sha512-Vpg8so68YwnLB7IU+/j2bKjIvDaXY9oMY+k4VyesFpJLGTE4O6JAmOk8v6S6pHo7C417S6b3qIkvWjYGBkEiXQ==} + '@typescript-native-bridge/darwin-arm64@6.0.3-bridge.19.tsgo.7.0.2': + resolution: {integrity: sha512-rH2VAjxJYx8hyzCn2tmRoXFZ43lwWBsIufJbTMZPOeEyHHW2z1Upi+br5agXQWeNJtnpNKj/dqGzrNpQrtbzkA==} cpu: [arm64] os: [darwin] - '@typescript-native-bridge/darwin-x64@6.0.3-bridge.17.tsgo.7.0.2': - resolution: {integrity: sha512-OWvfgOINl0+ALgsPhsXpNgCkpzefyV44StqmyUVXq7yzz9DEPynLPi9Giv6IMQE8vmdS4rOA7bs4i/DggamMtw==} + '@typescript-native-bridge/darwin-x64@6.0.3-bridge.19.tsgo.7.0.2': + resolution: {integrity: sha512-Waxqmr4o7s53cEXDGvsayUaE2ur5PXy+Ug2K8iL9/QM+fjbeXskI3UGw7TZj7GoiGwzjmS61eJn8iXJZkAVC2g==} cpu: [x64] os: [darwin] - '@typescript-native-bridge/linux-arm64@6.0.3-bridge.17.tsgo.7.0.2': - resolution: {integrity: sha512-TtDJqezDnZ1vm8CHzYtkceoA7ugo//NE9Mm3/zwVXdvYDxUCUlG9kDE5HUJlB3Xymi5opnTs6RroSLi10aENYQ==} + '@typescript-native-bridge/linux-arm64@6.0.3-bridge.19.tsgo.7.0.2': + resolution: {integrity: sha512-agS7Ki8LUFKU6b2tXgy0UoatSWwzDEJsVg8jBJsBonT/o7itGtasxjUd+a/T4RC7ifJeJt3JBYuU/y6uzULN0g==} cpu: [arm64] os: [linux] - '@typescript-native-bridge/linux-arm@6.0.3-bridge.17.tsgo.7.0.2': - resolution: {integrity: sha512-Hci0x6qA1/mCoWp4hDGOYG4RGtLrzY7AFN+jSlb4d/HT8N1Wge1MYgQzg7DWmg42D+PjQYoeGOcGf6QCQ2zq0A==} + '@typescript-native-bridge/linux-arm@6.0.3-bridge.19.tsgo.7.0.2': + resolution: {integrity: sha512-Vkt8iAaZmbo9qoVtyWecSTpT64sxz7evUfNeISOiWlTWNmoWI178ptXCV/WypHXLkI/C5BCAKoOVRsoYDPpc9Q==} cpu: [arm] os: [linux] - '@typescript-native-bridge/linux-x64@6.0.3-bridge.17.tsgo.7.0.2': - resolution: {integrity: sha512-yGedsXO9a0nTGwZ/vI+tDZ9SD8HDu+TnQbYIlSMLTbtYl8CKXNCFVBvw8XEro6DDGo8CIB3uNYHUXPRwZ7CwOg==} + '@typescript-native-bridge/linux-x64@6.0.3-bridge.19.tsgo.7.0.2': + resolution: {integrity: sha512-CWQxiKnqk4WGxAd1K2OQYPDtqQy93ye3G2FARdfvqwopuT+i1joAoZas6u9Up1Eee19LOLkgYVfBO+k/alZfZw==} cpu: [x64] os: [linux] - '@typescript-native-bridge/win32-arm64@6.0.3-bridge.17.tsgo.7.0.2': - resolution: {integrity: sha512-RMm/YbPyv0qMRJV1378DPddut8jHXRYvHpb2ETT2VOx/ehfc4jvDD0uysaqivU//JjxRS3J+39ldXD+00Lwr1A==} + '@typescript-native-bridge/win32-arm64@6.0.3-bridge.19.tsgo.7.0.2': + resolution: {integrity: sha512-wKKJsDB+oSMOCaT2OiovupKX9X2JyaPawJY63tMkwZhQJaFXICWr4RXYFGHMoHDf0UPV571NQ8idieY2jfy/4w==} cpu: [arm64] os: [win32] - '@typescript-native-bridge/win32-x64@6.0.3-bridge.17.tsgo.7.0.2': - resolution: {integrity: sha512-gbTIfontb1I9SomZw5mXn+k2ekQnBkRu3lmCy4zuHvEqNFwFFA936CkwGpgifs/SK/fU2B2hGcksm1pQJ6w6mg==} + '@typescript-native-bridge/win32-x64@6.0.3-bridge.19.tsgo.7.0.2': + resolution: {integrity: sha512-YR29W2mxNbT0BAeiyPMvIzH3WJHtPzf54/Fr9KCllOO5dnN1g6iHf4OHSaPJRE/genhWXuYefN+S+sSSyQGA3A==} cpu: [x64] os: [win32] @@ -4824,23 +4915,23 @@ packages: cpu: [x64] os: [win32] - '@valibot/to-json-schema@1.7.1': - resolution: {integrity: sha512-3qkmU6KXWh8GIThEAW3kuRHPQBMjWkKy+Ppz3WkUucx53DTpOa6siMn4xDGSOhlVyMrDaJTCTMLYPZVAIk1P0A==} + '@valibot/to-json-schema@1.8.0': + resolution: {integrity: sha512-a0M+uwCuQZEPAo65NYkFSJ14O5c213KoSZmPdoCfuFvUhfULi4T2Z6Tpjv6lTVMW9RoLm74RpRAjNEa43KcN+g==} peerDependencies: - valibot: ^1.4.0 + valibot: ^1.5.0 - '@vitejs/plugin-vue@6.0.8': - resolution: {integrity: sha512-0ZjgOg7oO6farnNGup7yvoM/YXZV84OZxHAwtflItNa/6zzQyVb5LNxyea3FEKEX2XlagIKzrlH7wwxkKgtiew==} + '@vitejs/plugin-vue@6.0.10': + resolution: {integrity: sha512-b80aUQh3n+qEzzZm5oQp3rT2QImeCx58K6eFl/RkJ3d65KW0kTuv5lNsLRVAjbW9YRUpo/wzmvzMgV34bTAItA==} engines: {node: ^20.19.0 || >=22.12.0} peerDependencies: - vite: ^8.2.2 - vue: ^3.2.25 + vite: ^8.3.5 + vue: ^3.2.25 || ^3.6.0-rc.10 - '@vitest/coverage-v8@5.0.2': - resolution: {integrity: sha512-3ffHBEi8DOOBLwIGBhOBZbRfYFYWjMUuxZicONdhuFEFEG5AVsMOSrVeuROskqnqpbOmEJwxM2eTVZ9N3a1t+A==} + '@vitest/coverage-v8@5.0.5': + resolution: {integrity: sha512-4KpkGdIrSqBihx/JyP/e+S+IKB98etg1XDQiLAxksLfcShnwi1VReGeOT9NI43hLHbknosKp/1CCLn9Zgcs8mg==} peerDependencies: - '@vitest/browser': 5.0.2 - vitest: 5.0.2 + '@vitest/browser': 5.0.5 + vitest: 5.0.5 peerDependenciesMeta: '@vitest/browser': optional: true @@ -4848,19 +4939,19 @@ packages: '@vitest/expect@3.2.4': resolution: {integrity: sha512-Io0yyORnB6sikFlt8QW5K7slY4OjqNX9jmJQ02QDda8lyM6B5oNgVWoSoKPac8/kgnCUzuHQKrSLtu/uOqqrig==} - '@vitest/istanbul-lib-coverage@1.0.1': - resolution: {integrity: sha512-k3DJZ8LhMBK9NS4SclF1ASD3OgXEWDorbIcPTRDK0/Zae6fRvu+fJRxtFdLfHsa9Y24beCdPnoNZ4LviTNstfA==} + '@vitest/istanbul-lib-coverage@1.0.2': + resolution: {integrity: sha512-9J/JMwOf9AoJhAywhrn7ScKTL38hsWQP/qPG60OtaAFcQ5OXPwKsxZFlbnuCKmZ61m8/lGgHYnFpdyQZUvG/iA==} engines: {node: '>=22'} - '@vitest/istanbul-lib-report@1.0.1': - resolution: {integrity: sha512-1EOLRfsTMnyAr3+kEAsP4o9dhaDlGPpD7H5iLBBeq//YpNB1VIahkPhB+eRp9N2Dkfw8oySROjE3yf9XDeaIkQ==} + '@vitest/istanbul-lib-report@1.0.2': + resolution: {integrity: sha512-gUsfXZJbzPamoIY5TvHFiMMoXESBrUMo+xqaj+rYrWI69+EnvRlYBlP96ZnHPY4vX8kyUpgAnFUCg5wZG/HkDQ==} engines: {node: '>=22'} - '@vitest/mocker@5.0.2': - resolution: {integrity: sha512-Z5FS00Q1SJHkB35xATsmWGdQ5WA1/0MV3CDjqyv7GavHv1OfOj145MNfHOlHk7QLes21dKFDHr8EO2zvL+9WGA==} + '@vitest/mocker@5.0.5': + resolution: {integrity: sha512-xLL3lkDegJZw+MGoGaCCsFayDZthGgpAtr3Vziyfc4p7xH89K7KRPcRBBh/kEYm0Aqkt5DtTmkYpBtRV/FrHZg==} peerDependencies: - msw: ^2.4.9 - vite: ^8.2.2 + msw: ^2.4.9 || ^3.0.0 + vite: ^8.3.5 peerDependenciesMeta: msw: optional: true @@ -4870,34 +4961,61 @@ packages: '@vitest/pretty-format@3.2.4': resolution: {integrity: sha512-IVNZik8IVRJRTr9fxlitMKeJeXFFFN0JaB9PHPGQ8NKQbGpfjlTx9zO4RefN8gp7eqjNy8nyK3NZmBzOPeIxtA==} - '@vitest/pretty-format@5.0.2': - resolution: {integrity: sha512-YHM+mQQ7N1ROHMugJ7P/M+fC/q1G4zs/iAMZZCvhHcY8WkwPQcXBHD+z18oz+808Cfa12K7jOr3XPQMcLIovjw==} + '@vitest/pretty-format@5.0.5': + resolution: {integrity: sha512-24sSdIlMA9DVPXnYiB9siwU0bTd887Y9jX3+vabztCSsvHwo7ipvJ/a2L3Rljw8+2rK1f5fCj3h5U9I/Jsqgbw==} '@vitest/spy@3.2.4': resolution: {integrity: sha512-vAfasCOe6AIK70iP5UD11Ac4siNUNJ9i/9PZ3NKx07sG6sUxeag1LWdNrMWeKKYBLlzuK+Gn65Yd5nyL6ds+nw==} - '@vitest/spy@5.0.2': - resolution: {integrity: sha512-Ijc7T1nT9efNb5LxvjaBrEqw3f/QwUv5EE0nKqZxgqsaV/FxAAZ8baGylA8X/Z2oS4Lp+K74Jr6dTJsDKxJDeg==} + '@vitest/spy@5.0.5': + resolution: {integrity: sha512-lwJRExuH417257Q5wv9QYugN9IMJkoxcrKrYxGPQkBzl7wlNpTUxD/5yNX4ESKVUIShKPgkGchYPFMWOOk0wzw==} - '@vitest/ui@5.0.2': - resolution: {integrity: sha512-FRGWhLK/S+aaAtty/5d+jTtY5l+9pGNcjz6IHbyUiP3VWs6a+zIgU4lc1SzWCR7H+OXgetAI06i/VpCWQmVorQ==} + '@vitest/ui@5.0.5': + resolution: {integrity: sha512-dCoGUOdgmCaSB2g+WQ/spPCBkytAWdNUkFSXY4z+eYp2d8JEOY8v0uDRaJTG9qf/kTlTVZ4CuYMYMz/f1HS/qQ==} peerDependencies: - vitest: 5.0.2 + vitest: 5.0.5 '@vitest/utils@3.2.4': resolution: {integrity: sha512-fB2V0JFrQSMsCo9HiSq3Ezpdv4iYaXRG1Sx8edX3MwxfyNn83mKiGzOcH+Fkxt4MHxr3y42fQi1oeAInqgX2QA==} - '@vitest/utils@5.0.2': - resolution: {integrity: sha512-mgpUtxFhKeOKVaArBVHNJGdYHAeRh135o59l13uVmPUCS1OUtis5pBqXEgE25iqRgFqEBwXvJlkhknRsYnMeqg==} + '@vitest/utils@5.0.5': + resolution: {integrity: sha512-/rBu7gzLDQI/SC79Tn98b5DwOgaHU/Gt4I9OVeP3YofzNaYtbImRCOJQmT1S6vOJg9gEIlWC+r3QxKkjuSa1nQ==} '@volar/language-core@2.4.28': resolution: {integrity: sha512-w4qhIJ8ZSitgLAkVay6AbcnC7gP3glYM3fYwKV3srj8m494E3xtrCv6E+bWviiK/8hs6e6t1ij1s2Endql7vzQ==} + '@volar/language-core@2.4.30': + resolution: {integrity: sha512-73fjwEV8wat6aOZ6U/y/hqtE30ocrIWECg67b0txGczOMNw+MffLmvJ5fnFfN9drVUEYZzLdaNo6VAy6G6avMw==} + + '@volar/language-service@2.4.30': + resolution: {integrity: sha512-w/xDsASiqC71ggCOm7sTDXDNk/l72XEptodeRC68tgZ0e5QM4hM3zAqBGC7mBctvhrpYwKfMG+t9xcUo2hEFtA==} + peerDependencies: + typescript: <7 + peerDependenciesMeta: + typescript: + optional: true + '@volar/source-map@2.4.28': resolution: {integrity: sha512-yX2BDBqJkRXfKw8my8VarTyjv48QwxdJtvRgUpNE5erCsgEUdI2DsLbpa+rOQVAJYshY99szEcRDmyHbF10ggQ==} + '@volar/source-map@2.4.30': + resolution: {integrity: sha512-zym1ob/KwDDyN+0jGVtxwbxJSRRnUvv5HspCtz3yEfVVdCG4/dzxJktMGPAgemqRuVs81O0o/y0q3qOUErR8kg==} + '@volar/typescript@2.4.28': resolution: {integrity: sha512-Ja6yvWrbis2QtN4ClAKreeUZPVYMARDYZl9LMEv1iQ1QdepB6wn0jTRxA9MftYmYa4DQ4k/DaSZpFPUfxl8giw==} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + '@volar/typescript@2.4.30': + resolution: {integrity: sha512-/DgA5tgYFPfrLFuSjIMXMGHk1LQv2+P8eny6+BhGNzFJELWIW7UZlc56ZLIRFhLsPpMfIFxM8/HvOPBggrjTZg==} + peerDependencies: + typescript: <7 + peerDependenciesMeta: + typescript: + optional: true '@vue-macros/common@3.1.3': resolution: {integrity: sha512-pphnexn8CDKugcA4TYSKlg1XanBYPbILST+eZK9ZGqG8sVbNR5L0kXEpRqs8+iSznosHt/Jo2k1FGl0tnWIpyg==} @@ -4924,17 +5042,17 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@vue/compiler-core@3.5.42': - resolution: {integrity: sha512-2Ye1ilMtKXxl8qZUrQ5j0CdgenFp/HFQmta6rfRyfEsTG69L6Wk+tWuNoHYHMx9E8tF2Slvdg1FuwDvAXdy1LQ==} + '@vue/compiler-core@3.5.44': + resolution: {integrity: sha512-k34nCytbK8PQ1gR2mGROYOw6Pnv/mumqIdrZ3x2tbyXZDWm7ViKGLTfdB+DRrWqEQsLgGJvn0WN9jBif5zCTLQ==} - '@vue/compiler-dom@3.5.42': - resolution: {integrity: sha512-qbhQZEFmycr+ni/qyuccS4sucNN7VAbDfbkvNxWOX2VfgFm90MNs3/UhRNKoPMEIVn0F8gdlYjLPvqxHwHeQOA==} + '@vue/compiler-dom@3.5.44': + resolution: {integrity: sha512-W5AoBFWdw1lQAKiHowkfgFKFab82oSRT6sGsPfw/q1GRjsy/ZJFLHGhJyBRIFN9APLTUduDH9U2JAiPOIyKuYg==} - '@vue/compiler-sfc@3.5.42': - resolution: {integrity: sha512-fkCAFB4okcAANGMThboWnScp/gzWjU0ZSkVnjTIiplmMDq2uq0tIB3j+xVu4rhv5rvOgBySCysudmbMd6xRRqw==} + '@vue/compiler-sfc@3.5.44': + resolution: {integrity: sha512-dzHmQ4jXTpdr5FjIQUeykVakN/uzqFbUo9/C5ikBFg3a3PeM6uRxeczx1ZbXBML0/zJstEh3ygYipzR5Z7b2Pw==} - '@vue/compiler-ssr@3.5.42': - resolution: {integrity: sha512-xmLk3wLkbizPAiLyomjgFFosf2ys9b5Ghb+oh/k2tnvipNz8OFrQOiTcWCzyK7MpBp9KkyGtfvgfLUivbmuGYA==} + '@vue/compiler-ssr@3.5.44': + resolution: {integrity: sha512-xr5gb1JVHlfXJwSlRz1FeP6uxoazdzHuMTVLE7up+4Vrqxk219CvxLPxD9NXBt47yvZW7+p4DXfyp4O1fkByIA==} '@vue/devtools-api@6.6.4': resolution: {integrity: sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==} @@ -4965,26 +5083,26 @@ packages: '@vue/language-core@3.3.11': resolution: {integrity: sha512-QJmpliwAVpC/OxubIByPAhNzsQPRc8/gxlN2qnVzVfIMjMDz/9RnXRFoetjz5yEgXVXyp4LqhXq3V53PjmNzFw==} - '@vue/language-core@3.3.7': - resolution: {integrity: sha512-LzmkKinXAMMoh8Jfi/jMUSDUjuPdv8mynH5WJGKfXyZtDw3hQ6GBaoI6Bcnl/Xqlu32q/0Z6i/trp4VXykzyLw==} + '@vue/language-core@3.3.14': + resolution: {integrity: sha512-kRB+3hHg0c+BdD1XLAvwjVMQd5pC05zijSlPDRI3ERvC/s04JlRs5upy2KjeMg/9m9oD5zuMVh9yVvkKfZqoJg==} - '@vue/reactivity@3.5.42': - resolution: {integrity: sha512-TzNNfKpb7hDxbQltwAut8VDQA5YP+BuRlxntHUuRjyKwlMvmAPbs3unhCvieijifY6vFfVBwsS7wG/C7uq+bEQ==} + '@vue/reactivity@3.5.44': + resolution: {integrity: sha512-u+QJdKeBBEADkPdevsL+6E12QlYVfBD8Zcw5qjDQKtamI6l14KyqazJMobhCKelhWN5zpyKUiEDoTyHE93cqWw==} - '@vue/runtime-core@3.5.42': - resolution: {integrity: sha512-9uACtuHs7vJGkm5Bp3xu4xRDLFTIYy5DgxpToVjqGIAhAEKwQfsaLvKINhM6nFVp6bZPRFGdDqd1g52MqKsotA==} + '@vue/runtime-core@3.5.44': + resolution: {integrity: sha512-uEa/ndwjhrrhnOfb2p+sZy6zeoamJOISqaLSJGk/8R6nABT1ZldpzcJoPzKj+zHVomVBPcmQYyC2r4LtvDV6CQ==} - '@vue/runtime-dom@3.5.42': - resolution: {integrity: sha512-rsCmhiWLaRxGltLwhlCWyYkFn7WAbKRh0q17eZ1A6Dq6eqc2ACQ61IIryxz0LrsvCzHSilLA9JHovVwM8CNE2g==} + '@vue/runtime-dom@3.5.44': + resolution: {integrity: sha512-3fc4ARcXVhVBaJ3ujWiNZJARD6pkyRcwG+ZYhMzjKtKUp7MAY0HLwr7r3Smep3Li6ZaWT6ewdmx8XqdaD5oNZg==} - '@vue/server-renderer@3.5.42': - resolution: {integrity: sha512-2++5dUyYS4gvo7xQXSECUDhB7TS0aOl5SeVfC5qSq1Jgfhjvegw1zqhwTIR3imZ+QYPJQw9gfcFvXGAjGZ7ajQ==} + '@vue/server-renderer@3.5.44': + resolution: {integrity: sha512-R4S1UoH4h5Frrauv8Z5XE5TxV9oBiUSgWIC4TyVK1FK+RocRnOLwFA5Xcmo2011RlgJp+AbZCnw6afrhlgRuUQ==} - '@vue/shared@3.5.42': - resolution: {integrity: sha512-2rPxex1jQf4jvl9MOHl6YaXCPcrNqz/FstMOEh3QWY+/OME9nQTvl9WYeCwhW7AFjaR0SnngZGlp/wkR6rkI6g==} + '@vue/shared@3.5.44': + resolution: {integrity: sha512-H82XLH0DjmSOdbEwO15x3QTo1f5PWEtv237eLpYKc0mqLu+B8hnq16lFWmuBmNurkeiG3wr+oM1FhOll/YVFRg==} - '@vue/test-utils@2.4.11': - resolution: {integrity: sha512-GDqaqZsA6m2E5vNzej0aYiIb6BX8xV9pNSbbbXKOfEYwg7ZNblVX8suyqmUBThq8VIrgAJNxn+z72hVtUeiWHA==} + '@vue/test-utils@2.5.1': + resolution: {integrity: sha512-V/4a99odJ7hapr0bRt35XxljGk8hefq31gSOnlKTcEq2fUeoj2qb+FcpJYfQu4qfYhW9Ug+O2+CZ3QmZ7gXDzA==} peerDependencies: '@vue/compiler-dom': 3.x '@vue/server-renderer': 3.x @@ -5057,8 +5175,8 @@ packages: '@webcontainer/env@1.1.1': resolution: {integrity: sha512-6aN99yL695Hi9SuIk1oC88l9o0gmxL1nGWWQ/kNy81HigJ0FoaoTXpytCj6ItzgyCEwA9kF1wixsTuv5cjsgng==} - '@webgpu/types@0.1.71': - resolution: {integrity: sha512-mMy8/ODcKhab808co15eW+yN+HgXoQxRQHTiBV9Mrvl1r0ufnid7YOcI+gi4eUWSWl9ezD6TW2KXccrL8HCh2A==} + '@webgpu/types@0.1.74': + resolution: {integrity: sha512-lgiI4hbuLcI9unnm2cL/tvCaQU45dp0xcLWJh5uB/9MBGvIA4F8XIk7nSiBeg+K4xWGYwgZKn80LmERI5CxoTA==} '@xstate/fsm@1.6.5': resolution: {integrity: sha512-b5o1I6aLNeYlU/3CPlj/Z91ybk1gUsKT+5NAJI+2W4UjvS5KLG28K9v5UvNoFVjHV8PajVZ00RH3vnjyQO7ZAw==} @@ -5071,9 +5189,9 @@ packages: '@xterm/xterm@5.5.0': resolution: {integrity: sha512-hqJHYaQb5OptNunnyAnkHyM8aCjZ1MEIDTQu1iIbbTD/xops91NB5yq1ZK/dC2JDbVWtF23zUtl9JE2NqwT87A==} - abbrev@2.0.0: - resolution: {integrity: sha512-6/mh1E2u2YgEsCHdY0Yx5oW+61gZU+1vXaoiHHrpKeuRNNgFvS+/jrwHiQhB5apAf5oB7UB7E19ol2R2LKH8hQ==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + abbrev@5.0.0: + resolution: {integrity: sha512-/XrFJgzQQQHpti1raDJC6m4ws6aNktmjBlhk8Fdlk7LwCEuDoieEJJY9OFHjfiFJFFRM2tK+Ky/IsfbbmlMu1w==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} acorn-jsx-walk@2.0.0: resolution: {integrity: sha512-uuo6iJj4D4ygkdzd6jPtcxs8vZgDX9YFIkqczGImoypX2fQ4dVImmu3UzA4ynixCIMTrEOWW+95M2HuBaCEOVA==} @@ -5096,8 +5214,8 @@ packages: engines: {node: '>=0.4.0'} hasBin: true - acorn@8.18.0: - resolution: {integrity: sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==} + acorn@8.19.0: + resolution: {integrity: sha512-oJlA3XiRm7Cyk6qFD2Jn8ak9B7jSy0qy00ADO3+8dpT0LSjFihQYv4C02LFCSYJV3Q37xYwwRy5m+IpIiUzqWw==} engines: {node: '>=0.4.0'} hasBin: true @@ -5141,16 +5259,12 @@ packages: resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} engines: {node: '>=6'} - ansi-escapes@7.3.0: - resolution: {integrity: sha512-BvU8nYgGQBxcmMuEeUEmNTvrMVjJNSH7RgW24vXexN4Ven6qCvy4TntnvlnwnMLTVlcRQQdbRY8NKnaIoeWDNg==} - engines: {node: '>=18'} - ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} - ansi-regex@6.2.2: - resolution: {integrity: sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==} + ansi-regex@6.5.0: + resolution: {integrity: sha512-zhvbbbdt1kbw7EJ9OQoxmQcuaNR9P5kTj7e/YdmOSU10aHWbycofJxA6jKfoEy3vlLdctOF9ZHaxLtmSm998wQ==} engines: {node: '>=12'} ansi-styles@4.3.0: @@ -5165,14 +5279,10 @@ packages: resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==} engines: {node: '>=12'} - ansis@4.3.1: - resolution: {integrity: sha512-BJ8/l4R5LRE7hW9WdSuGYrLSHi2ynxeFpDFbH0K/CgNeY/tyhk+vO6TYxXC5r5CpUhNVX310xzPsN/H9lCdfOA==} + ansis@4.4.0: + resolution: {integrity: sha512-9k3v7xcHwgdO/DruxGIg4HtjvlAZlcnsX/mzqUb1t3NkYnl9kK2UJ+Gq0io+vQf7iT//BD/HB/NBkUR1LWxoeA==} engines: {node: '>=14'} - anymatch@3.1.3: - resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} - engines: {node: '>= 8'} - arg@5.0.2: resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} @@ -5214,12 +5324,12 @@ packages: resolution: {integrity: sha512-m1Q/RaVOnTp9JxPX+F+Zn7IcLYMzM8kZofDImfsKZd8MbR+ikdOzTeztStWqfrqIxZnYWryyI9ePm3NGjnZgGw==} engines: {node: '>=20.19.0'} - ast-types@0.16.1: - resolution: {integrity: sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==} + ast-types@0.16.3: + resolution: {integrity: sha512-FvWoWYfSCM6kRxCSH+MGLHIKKGRL6A6AW7Zek2O32REPQRdg131428uRTKMBYAeRd3XXAaHDS60Wpri7CdKDrA==} engines: {node: '>=4'} - ast-v8-to-istanbul@1.0.5: - resolution: {integrity: sha512-UPAgKJFSEGMWSDr3LX4tqnAb4f7KGT8O40Tyx8wbYmmZ/yn58lNCm8h3svs3eXgiGd5AXxz8NDOvXWvicq+rJA==} + ast-v8-to-istanbul@1.0.7: + resolution: {integrity: sha512-kFL68AG6ajd8fg248zwM9GQrUWEp79gsmjum34OEXjs4yHuUMZfYKwOLW9GMmB4oNvVrj+EAGxsP7ye2UR9UlA==} ast-walker-scope@0.9.0: resolution: {integrity: sha512-IJdzo2vLiElBxKzwS36VsCue/62d6IdWjnPB2v3nuPKeWGynp6FF/CYoLa5i/3jXH/z97ZDdsXz6abpgM6w07A==} @@ -5243,8 +5353,8 @@ packages: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} - axios@1.18.1: - resolution: {integrity: sha512-3nTvFlvpn9Zu/RkHUqtc7/+al4UpRW5az71ap5zccp6e8RAYEzhMTecX8Dz1wWDYrPpUoB1HAQEGEAEvUr7S9g==} + axios@1.21.0: + resolution: {integrity: sha512-YCzXMB53Q9PZBsh7yN7wtapit4WepwcHS2fP8QhGsBxSz5YtgYobV7GGlWlAJi+RxfU77GQTQi2DSLUma42EYA==} babel-walk@3.0.0-canary-5: resolution: {integrity: sha512-GAwkz0AihzY5bkwIY5QDR+LvsRQgB/B+1foMPvi0FZPMl5fjD7ICiznUiBdLYMH1QYe6vqu4gWYytZOccLouFw==} @@ -5264,17 +5374,13 @@ packages: base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - baseline-browser-mapping@2.10.43: - resolution: {integrity: sha512-AjYpR78kDWAY3Efj+cDTFH9t9SCoL7OoTp1BOb0mQV7S+6CiLwnWM3FyxhJtdPufDFKzmCSFoUncKjWgJEZTCQ==} + baseline-browser-mapping@2.11.34: + resolution: {integrity: sha512-Aqr8mA1kIvyJ3UY5YAY7ib8LSo1DmDMbMnVqGPtsKW1LxaFQFwn9Eb3yvq2fUKJsRvaXjnAV7R5osqETapzNiA==} engines: {node: '>=6.0.0'} hasBin: true - bidi-js@1.0.3: - resolution: {integrity: sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw==} - - binary-extensions@2.3.0: - resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} - engines: {node: '>=8'} + bidi-js@1.1.0: + resolution: {integrity: sha512-fX1Onk0tdVPC7obPWB5EbJ1z7NVhLq4m2xZLq2YXBkxzMXIGRpNMU88n0EPgWseKl12J7zXs7qrDxPK4sRs2fg==} bind-event-listener@3.0.0: resolution: {integrity: sha512-PJvH288AWQhKs2v9zyfYdPzlPqf5bXbGMmhmUIY9x4dAUGIWgomO771oBQNwJnMQSnUIXhKu6sgzpBRXTlvb8Q==} @@ -5282,20 +5388,20 @@ packages: birpc@2.9.0: resolution: {integrity: sha512-KrayHS5pBi69Xi9JmvoqrIgYGDkD6mcSe/i6YKi3w5kekCLzrX4+nawcXqrj2tIp50Kw/mT/s3p+GVK0A0sKxw==} - birpc@4.0.0: - resolution: {integrity: sha512-LShSxJP0KTmd101b6DRyGBj57LZxSDYWKitQNW/mi8GRMvZb078Uf9+pveax1DrVL89vm7mWe+TovdI/UDOuPw==} + birpc@4.2.0: + resolution: {integrity: sha512-KxgKcZPfrtzJDDALHPguGpGJUrzdgpymyiQQgzFjWreHMOpWrnFNVREr5J48x2DBh8ZVioscrV1SBkDipGiX+Q==} boolbase@1.0.0: resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} - brace-expansion@1.1.18: - resolution: {integrity: sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==} + brace-expansion@1.1.21: + resolution: {integrity: sha512-9zeA+KLZNNzglF2TPKRQEDyx6Yby7daAkuy8MiPzpXPsYDWi/DRM8jmwUDxokQjYqBpv5DgPiwD4h4ZZSy1Ujw==} - brace-expansion@2.1.4: - resolution: {integrity: sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==} + brace-expansion@2.1.7: + resolution: {integrity: sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==} - brace-expansion@5.0.9: - resolution: {integrity: sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==} + brace-expansion@5.0.12: + resolution: {integrity: sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==} engines: {node: 20 || >=22} braces@3.0.3: @@ -5305,11 +5411,15 @@ packages: broker-factory@3.1.15: resolution: {integrity: sha512-ko+aWvgNuP49meGrdjUu7rC+Y+Wai3cCPxP3xWwHsHfehFjOh5ZQM2yC4gEB2UddeZ/YXhm0K1eG/L6fxym2Og==} - browserslist@4.28.6: - resolution: {integrity: sha512-FQBYNK15VMslhLHpA7+n+n1GOlF1kId2xcCg7/j95f24AOF6VDYMNH4mFxF7KuaTdv627faazpOAjFzMrfJOUw==} + browserslist@4.29.5: + resolution: {integrity: sha512-khTmKu5NGYTotqcYo8Bew2k4RAE9PuXRSFRXG2lQBrCEQHyeQ/vX6gKMxfokwywBsLiXZMnHsmWMG1pnO8J7uQ==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true + buffer-crc32@1.0.0: + resolution: {integrity: sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==} + engines: {node: '>=8.0.0'} + buffer-from@1.1.2: resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} @@ -5317,8 +5427,8 @@ packages: resolution: {integrity: sha512-nEh+kZOPY1w+gcCMobZ6ETUp9WfibndnosbpwB1iJk/8Gt5ZF2bhS6+B6bPYz424KtwsR6Rflc3tCz1/ghX2dQ==} engines: {node: '>=4.0'} - bundle-name@4.1.0: - resolution: {integrity: sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==} + bundle-name@4.1.1: + resolution: {integrity: sha512-DdH81/zPLVS11EUgWq3tEu/xn+EzljlMYooDNdzWEnFha3R3NBMpMV1UqYIpjYHV/SgpFKMIX1Oh7o06SjM/oA==} engines: {node: '>=18'} c12@3.3.4: @@ -5351,8 +5461,8 @@ packages: camel-case@4.1.2: resolution: {integrity: sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==} - caniuse-lite@1.0.30001805: - resolution: {integrity: sha512-52noaS3DubycKSXaU30TwPGIp+POyQSUVa5jBEq3vkRkY0kjyb3LQgvhU6WGyCcyXqVLWO0Cw0Q6BSdD0kUfVA==} + caniuse-lite@1.0.30001820: + resolution: {integrity: sha512-gfWD6MxqVCqAOwmODfZf7DchWvlrA+SRdNX7ceLfg3xRqe5ssjjpF7EgslC/0tiLiNTajdaNN/q8c/5u/7Gz8w==} ccount@2.0.1: resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} @@ -5361,8 +5471,8 @@ packages: resolution: {integrity: sha512-4zNhdJD/iOjSH0A05ea+Ke6MU5mmpQcbQsSOkgdaUMJ9zTlDTD/GYlwohmIE2u0gaxHYiVHEn1Fw9mZ/ktJWgw==} engines: {node: '>=18'} - chai@6.2.2: - resolution: {integrity: sha512-NUPRluOfOiTKBKvWPtSD4PhFvWCqOi0BGStNWs57X9js7XGTprSmFoz5F0tWhR4WPjNeR9jXqdC7/UpSJTnlRg==} + chai@6.3.0: + resolution: {integrity: sha512-XWAtwJ6OHO+tj0EKCs0Y2UamnyOxseZWltU4x2U2wh8g4AigdjwvtUjvLP2tqkA/avxHEtzxNaqGq/YGNwckKg==} engines: {node: '>=18'} chalk@4.1.2: @@ -5390,10 +5500,6 @@ packages: resolution: {integrity: sha512-Pj779qHxV2tuapviy1bSZNEL1maXr13bPYpsvSDB68HlYcYuhlDrmGd63i0JHMCLKzc7rUSNIrpdJlhVlNwrxA==} engines: {node: '>= 0.8.0'} - chokidar@3.6.0: - resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} - engines: {node: '>= 8.10.0'} - chokidar@5.0.0: resolution: {integrity: sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==} engines: {node: '>= 20.19.0'} @@ -5402,18 +5508,14 @@ packages: resolution: {integrity: sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg==} engines: {node: '>= 10.0'} - cli-cursor@5.0.0: - resolution: {integrity: sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==} - engines: {node: '>=18'} - - cli-truncate@5.2.0: - resolution: {integrity: sha512-xRwvIOMGrfOAnM1JYtqQImuaNtDEv9v6oIYAs4LIHwTiKee8uwvIi363igssOC0O5U04i4AlENs79LQLu9tEMw==} - engines: {node: '>=20'} - cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} + cliui@9.0.1: + resolution: {integrity: sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==} + engines: {node: '>=20'} + clsx@2.1.1: resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} engines: {node: '>=6'} @@ -5429,8 +5531,8 @@ packages: resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==} hasBin: true - colord@2.9.3: - resolution: {integrity: sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw==} + colord@2.10.0: + resolution: {integrity: sha512-AidJptpBJmjTclAp9BkLwJi0T93fo5epJnbaZslpg6QVzpHjAiveF55mE9AcUJiGMqRHgMDY8soMsQtuNYMHfw==} colorette@2.0.20: resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} @@ -5442,10 +5544,6 @@ packages: comma-separated-tokens@2.0.3: resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==} - commander@10.0.1: - resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} - engines: {node: '>=14'} - commander@11.1.0: resolution: {integrity: sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==} engines: {node: '>=16'} @@ -5465,8 +5563,8 @@ packages: resolution: {integrity: sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==} engines: {node: '>= 12'} - comment-parser@1.4.7: - resolution: {integrity: sha512-0h+uSNtQGW3D98eQt3jJ8L06Fves8hncB4V/PKdw/Qb8Hnk19VaKuTr55UNRYiSoVa7WwrFls+rh3ux9agmkeQ==} + comment-parser@1.4.9: + resolution: {integrity: sha512-+2AvZKjJaNq9GQljm3tr0utwrig5BL+jgJGvz5rDpGKNIp+ojcRXWUwBbh/sGIi1QCprR6PsKFakub+w1v+4hQ==} engines: {node: '>= 12.0.0'} compare-versions@6.1.1: @@ -5481,6 +5579,9 @@ packages: confbox@0.2.4: resolution: {integrity: sha512-ysOGlgTFbN2/Y6Cg3Iye8YKulHw+R2fNXHrgSmXISQdMnomY6eNDprVdW9R5xBguEqI954+S6709UyiO7B+6OQ==} + confbox@0.3.2: + resolution: {integrity: sha512-ZUAKhKlkCOrIGKc8cj7zek9s9z1mveHif/25nUshI2BzCRzF7KH7KHa+Lnh2ubq+e1tIlaFuP763mzW4qVoehg==} + config-chain@1.1.13: resolution: {integrity: sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==} @@ -5576,9 +5677,9 @@ packages: typescript: optional: true - data-urls@7.0.0: - resolution: {integrity: sha512-23XHcCF+coGYevirZceTVD7NdJOqVn+49IHyxgszm+JIiHLoB2TkmPtsYkNWT1pvRSGkc35L6NHs0yHkN2SumA==} - engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0} + data-urls@8.0.0: + resolution: {integrity: sha512-JQUCCK+/CAGbGGx618PlFZMXH81Jtj7t73CHv9dd/zVWvxgGT2zLFRjnKb+Ng46GIwcy+f7f88qd4duqllK+WQ==} + engines: {node: ^22.14.0 || >=24.0.0} debug@4.4.3: resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} @@ -5607,18 +5708,14 @@ packages: resolution: {integrity: sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q==} engines: {node: '>=18'} - default-browser@5.5.0: - resolution: {integrity: sha512-H9LMLr5zwIbSxrmvikGuI/5KGhZ8E2zH3stkMgM5LpOWDutGM2JZaj460Udnf1a+946zc7YBgrqEWwbk7zHvGw==} + default-browser@5.5.1: + resolution: {integrity: sha512-m1pAzaJgZ/gssEqlOhJkPJp8Xly7QyW6xcrkUa2KKcDeDSEMP7X8xipU3snUcfisTQx0w1AGae+9UtJSfVnXGw==} engines: {node: '>=18'} define-data-property@1.1.4: resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} engines: {node: '>= 0.4'} - define-lazy-prop@2.0.0: - resolution: {integrity: sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==} - engines: {node: '>=8'} - define-lazy-prop@3.0.0: resolution: {integrity: sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==} engines: {node: '>=12'} @@ -5634,8 +5731,8 @@ packages: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} - dependency-cruiser@18.5.0: - resolution: {integrity: sha512-LFvJOvufjQ7XTucSI40NHqse0gcQBevDGkZabLAKcGwO+VWOywTqZ5EyFRYWSokNxvLOO7v6EXyNi+9I72oWUA==} + dependency-cruiser@18.7.0: + resolution: {integrity: sha512-WexT4OswA6Gy86ms2J7SJ4FJscN43dyS+i5skpbtXlPTFQW4yWbontjFip1TOBAVnc+U+9zdH0a56YTRZX/IGw==} engines: {node: ^22||^24||>=26} hasBin: true @@ -5683,8 +5780,8 @@ packages: resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==} engines: {node: '>= 4'} - dompurify@3.4.13: - resolution: {integrity: sha512-2vmYIoqjze2d+kakP8S/nS5shfsl587kzwEjcGlTdiksUVgFHnFCsLYDVj/JNqJVOQZGSYBTmuycv0PodwmnMQ==} + dompurify@3.4.17: + resolution: {integrity: sha512-B/pSlYVHQ58kqISD/yDjuJ1yfzI34m1gF4lAod2bwSRhiN4K5Cl3H8Af7hqB2PmTL911tdEudnnXn5FnhRoz0w==} domutils@2.8.0: resolution: {integrity: sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==} @@ -5718,9 +5815,9 @@ packages: eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - editorconfig@1.0.7: - resolution: {integrity: sha512-e0GOtq/aTQhVdNyDU9e02+wz9oDDM+SIOQxWME2QRjzRX5yyLAuHDE+0aE8vHb9XRC8XD37eO2u57+F09JqFhw==} - engines: {node: '>=14'} + editorconfig@3.0.2: + resolution: {integrity: sha512-T0ix8GhtxyKVfUFEcvdNDt3YGqlwkFHbD4/5bgFUDgFmxhI/cSRAeJ87/Sz//Cq8Eam6JX/e23RkoFO71P7aAA==} + engines: {node: '>=20'} hasBin: true eight-colors@1.3.3: @@ -5731,8 +5828,8 @@ packages: engines: {node: '>=0.10.0'} hasBin: true - electron-to-chromium@1.5.392: - resolution: {integrity: sha512-1yQq3VQCZRwsnYc67Oc+1fge6Lwtn0hzi6zmEVkB61Zx21kTbwJAW4dFLadl5Rc1tKhG/kSpYXnfiAhu0f0a1g==} + electron-to-chromium@1.5.468: + resolution: {integrity: sha512-8XdEp3sIqO+PzmVPxhzqHq/3+yCxp44m27cm2WY1sRn3ZhwKyKmqSi2hx6gEhmnOXmh8NUuYE00z6Onzn5m6DA==} emoji-regex@10.6.0: resolution: {integrity: sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==} @@ -5743,10 +5840,6 @@ packages: emoji-regex@9.2.2: resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} - enhanced-resolve@5.21.6: - resolution: {integrity: sha512-aNnGCvbJ/RIyWo1IuhNdVjnNF+EjH9wpzpNHt+ci/m9He9LJvUN8wrCcXjp9cWsGNAuvSpVFTx/vraAFQ8qGjQ==} - engines: {node: '>=10.13.0'} - enhanced-resolve@5.26.0: resolution: {integrity: sha512-9vhedylFonb2YGogzUKX6+Ja72gOJbN1QHAqdrvqLwhdl/QWbKopzoUC9EbQNVsAns/bx/4uyqalrQAoy1IByw==} engines: {node: '>=10.13.0'} @@ -5766,18 +5859,14 @@ packages: resolution: {integrity: sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA==} engines: {node: '>=0.12'} - entities@8.0.0: - resolution: {integrity: sha512-zwfzJecQ/Uej6tusMqwAqU/6KL2XaB2VZ2Jg54Je6ahNBGNH6Ek6g3jjNCF0fG9EWQKGZNddNjU5F1ZQn/sBnA==} + entities@8.1.0: + resolution: {integrity: sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA==} engines: {node: '>=20.19.0'} env-paths@2.2.1: resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} engines: {node: '>=6'} - environment@1.1.0: - resolution: {integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==} - engines: {node: '>=18'} - error-ex@1.3.4: resolution: {integrity: sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==} @@ -5809,8 +5898,8 @@ packages: es-toolkit@1.49.0: resolution: {integrity: sha512-G5iZ6Pc/FNRY/soKZHC+TxGDD83rHUDXxzaWhGCX44vAv/tMs56WMusnm/KMNK+luUPsgA9U28cGr4RDlSzL2g==} - esbuild@0.28.1: - resolution: {integrity: sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw==} + esbuild@0.28.2: + resolution: {integrity: sha512-HKVLS8dvII+xoKW9kmqxbRKrnWEXfJJr/FZhhJmiqIB0e053QNYFqOBouTMO/k5sID4MvCiUCvv8b9M4h32wIA==} engines: {node: '>=18'} hasBin: true @@ -5856,8 +5945,8 @@ packages: eslint-plugin-import-x: optional: true - eslint-plugin-better-tailwindcss@4.7.0: - resolution: {integrity: sha512-lrdlVW4pzLPj/zX5HRqMhKPesGijDfRhnSRJMlNcsrCyJHsndmHCLKTiRNa1eREUZ6G3D3QjdLc+G4tlfGrmkw==} + eslint-plugin-better-tailwindcss@4.10.0: + resolution: {integrity: sha512-EvcfEScF7N39LXuqX8fDnDsgylhbBZe5bbNb+6oN8ht06ou3MvwfPQ5hVgm2LWIPLOB5LBwNDCY6gBQGW4KHGA==} engines: {node: ^20.19.0 || ^22.12.0 || >=23.0.0} peerDependencies: eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 @@ -5882,25 +5971,25 @@ packages: eslint-import-resolver-node: optional: true - eslint-plugin-oxlint@1.81.0: - resolution: {integrity: sha512-yoig+eqijGmt+09wBOi71H8teCXFuDnOePWOiU1ynrME1WiOkw7zEFtkQwbacPYGjrbqhd5XXU4lQDzRWojW0g==} + eslint-plugin-oxlint@1.77.0: + resolution: {integrity: sha512-+hAAOHn0KeIdq9yb+tSHnqS9oYtx+gZLJKAiNlAmFz7ydlrC2orbwZCcHWC4qU98t6Ju8FKfWTer/VbAnpK5ZA==} peerDependencies: - oxlint: ~1.81.0 + oxlint: ~1.77.0 - eslint-plugin-playwright@2.11.0: - resolution: {integrity: sha512-zOIEYyv1TSn2izXkyg/yj0LXc4YBQI6pl3xIFWwMCcXt/dgQCz8dBqXiXFMoM3xc/GqZThAtaGYo8aPu/vBd+Q==} + eslint-plugin-playwright@2.12.1: + resolution: {integrity: sha512-JhavNuYBIq7SE/Zg9Esf9RGHkXoDbzrEKS383cowzMyvZ4JMbmdNCN6CoW+RU1Cjzwcoea1tou0je58uXmT/9A==} engines: {node: '>=16.9.0'} peerDependencies: eslint: '>=8.40.0' - eslint-plugin-regexp@3.3.1: - resolution: {integrity: sha512-58bGUci/AaWAo1ETj6Lsnmy6QXwnSyVONRA805828nnqp7vrTwdaQMc02vtowmYB3A5OB3SLr3r5HgmfxX4dLg==} + eslint-plugin-regexp@3.3.2: + resolution: {integrity: sha512-hdkHQVDUtP3+U66PMZSQxw++mburJyJbFY8fu8lryMvJ2glo7xjq1Ov8A/uczxNU+IS87TFXUUBIJ7dxqgcJwg==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} peerDependencies: eslint: '>=9.38.0' - eslint-plugin-storybook@10.6.0: - resolution: {integrity: sha512-HK3yD5Nslv97buJ5JfT1xFkTOoyJgGIENmBoZZI3F8t2UpBzb/dHpKyCh5bQ8AvJWnhoM/WAtDNqyd9nq6xgcg==} + eslint-plugin-storybook@10.6.5: + resolution: {integrity: sha512-sQSRwmbqcyGVtjVGUSOPTM5TFjopoit3blQxMcsHeqmmR1PJsciLH/WjgG7CT+u2/F0HMJFsQa+TqJSFDxXwWQ==} peerDependencies: eslint: '>=8' @@ -5919,8 +6008,8 @@ packages: '@typescript-eslint/eslint-plugin': optional: true - eslint-plugin-vue@10.10.0: - resolution: {integrity: sha512-dL9x9rBHqqNcByWiLOHK6L0SB97V82/NC0cZRn9cXPjM7pCuWlpQQP9bFH4vjBv80ej1ZpzAkuD8zWH1o9bZbA==} + eslint-plugin-vue@10.12.0: + resolution: {integrity: sha512-YsrHHtMaxjWqmxr/Kv9yXUfakUlbTCWtIBvr9eounzj6ZsGJdz1I4UuTIHkhzKHes793Cwo3PGTcvsoBqNyzCA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: '@stylistic/eslint-plugin': ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 @@ -5949,8 +6038,8 @@ packages: resolution: {integrity: sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} - eslint@10.10.0: - resolution: {integrity: sha512-NPXn6r5zl4uET1DAVPaOwzX3rut4c0wcmw3dWJAfOsTM5+TogXo0DDjz8pwm/hL8cyVNpHqeK4JpN0NjnyFFNw==} + eslint@10.13.0: + resolution: {integrity: sha512-UohDjD4zSzEwhf58M3O7vc/ycc8O1I7dNlhtD0WxE8Px8EHNJKtUwzBqrzeGhisRuv2ag4sAYswszCJRgKXYUg==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} hasBin: true peerDependencies: @@ -6000,8 +6089,9 @@ packages: resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} engines: {node: '>=0.10.0'} - eventemitter3@5.0.4: - resolution: {integrity: sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==} + execa@10.2.1: + resolution: {integrity: sha512-/Bofl3ZBh2Q4/PG0W63qFzP5vDAypi8Zc90UWTBzaDNIYiX7apPOd0N6L8hG8CojUdq4V51adu8BObP+iVsSTw==} + engines: {node: '>=22'} execa@5.1.1: resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} @@ -6011,8 +6101,8 @@ packages: resolution: {integrity: sha512-KfYbmpRm0VbLjEvVa9yGwCi9GI34xvi7A/HXYWQO65CSD2u3MczUJSuwXKFIxlGsgBQizV9q5J9NHj4VG0n+pA==} engines: {node: '>=12.0.0'} - exsolve@1.1.0: - resolution: {integrity: sha512-D+42+T12DdIlJM3uepa55qGiL3sYdLBOxIl2ifQCzCHz4c7eiolaHsi3BIqEr7JxBzxv2pYZQX9kw16ziMcEmw==} + exsolve@1.2.0: + resolution: {integrity: sha512-h1pQPR9XoeSMdntRNCjyTznaume4UpfXrULBnlkZ2CUM/G5eSa+pBByGldO5uR8dxbPC+OuJXsPPNf+JZ81ADg==} extendable-media-recorder-wav-encoder-broker@7.0.128: resolution: {integrity: sha512-4pP+IBbU8n9aP6teDvewleI+QtYCQPaRiSDW12PuPkhjxc89QZkM56w1zXhm0M4niJiqzh8SoAs/ndlWVuQo9A==} @@ -6026,18 +6116,23 @@ packages: extendable-media-recorder@9.2.38: resolution: {integrity: sha512-HD5IqjYtSmwr6p0pTd6AG3fEYmILOrURguEqyoSCQvTtS426OwijJqnbCOtg7/UzgN9Rrdin24rziEkz+OX8cQ==} - fallow-type-aware@3.24.1: - resolution: {integrity: sha512-4Pw/58d3WYNcGAMio8+b1WYy566t1VqAxr1hKrha0G3fwpr0bHecsdzgFFC+wojz9z+Ix/p85ecFs9Mf4uwiJA==} + fallow-type-aware@3.37.0: + resolution: {integrity: sha512-g+lefbZEEtUxBPj4S9NkosD3rP//Gyi3HFR+sedhYOcHM4IsHAxhV1QcZ1B/ndad3j2YOMcGflTXnanpQdQGpg==} engines: {node: '>=20'} hasBin: true + peerDependencies: + tsrs: 0.18.0-ts7.1.0-dev.20260929 + peerDependenciesMeta: + tsrs: + optional: true - fallow@3.24.1: - resolution: {integrity: sha512-cDKyybJyUYyFhXHKzIlRTDjd0g2eeero4AmMEpkwc8zP0l5KDCwB+UINuTeJSX63XfinUcEOwQZdFtGSxejrxw==} + fallow@3.37.0: + resolution: {integrity: sha512-j2SvFK77i1obTpN6I5S5I8WfJG4t9L/MpvFdt+9Pm65Uu99ABhU2JDGkPAQYD5jzjRRErMqQzImzWn7yvXHrtA==} engines: {node: '>=22'} hasBin: true - fast-check@4.9.0: - resolution: {integrity: sha512-7ms6T7SybUev/PQITciI0yLM2pOSFy5zpG8Ty7tQofcVaQUvrMXp6CBwqF6fThLCLOrfBtuHAtwq6Yu4XPCllg==} + fast-check@4.10.2: + resolution: {integrity: sha512-iK2f+YrcmoeGqk6fA0ea2bptcu/itMIm4NfEozq6N25+aG6h7s5HZbB/k1aV7b5w5sFLMCbbtRUsTVR+BgC3xw==} engines: {node: '>=12.17.0'} fast-deep-equal@3.1.3: @@ -6063,8 +6158,8 @@ packages: resolution: {integrity: sha512-nDA9ADeINN8SA2u2wCtU+siWFTTDqQR37XvgPIDDmboWQeExz7X0mImxuaN+kJddliIqy2FpVRmnvRZ+j8i1/A==} engines: {node: '>=18.2.0'} - fast-uri@3.1.5: - resolution: {integrity: sha512-gHwA1O9LDIcKunMKhObS/HimwtehO1nPUECKAu5TpKgaO19fcWEl4bliWe1jWxVFvIXztJjjQ4L8XQ1EU9f7Jw==} + fast-uri@3.1.9: + resolution: {integrity: sha512-hS/0Wt3Ya043oKXs0sIxrMpKQITXhMLIrVAKKXi4gozGC9v7YRWVnXIZzjNPTO02M9BdxLCWqK1yRXgNziVyJQ==} fast-wrap-ansi@0.2.2: resolution: {integrity: sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q==} @@ -6073,8 +6168,8 @@ packages: resolution: {integrity: sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg==} engines: {node: '>= 4.9.1'} - fastq@1.20.1: - resolution: {integrity: sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==} + fastq@1.20.3: + resolution: {integrity: sha512-XKv5nnLs6nLF71NgiKJLIZFLkPyIEuOselLG7ujZnGrRfQK8HpvY+WqKhAJUAdLomwVHErVS4LfxFlPq0/FTAw==} faye-websocket@0.11.4: resolution: {integrity: sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g==} @@ -6098,6 +6193,10 @@ packages: fflate@0.8.3: resolution: {integrity: sha512-tbZNuJrLwGUp3zshBtdy4W+ORxZuIh8a5ilyIEQDC5rY1f3U20JMry0Ll3WBzU58EZKsEuJFXhb5gwv8CsPvgA==} + figures@6.1.0: + resolution: {integrity: sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==} + engines: {node: '>=18'} + file-entry-cache@11.1.5: resolution: {integrity: sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==} @@ -6138,10 +6237,6 @@ packages: resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==} engines: {node: '>=14'} - foreground-child@4.0.3: - resolution: {integrity: sha512-yeXZaNbCBGaT9giTpLPBdtedzjwhlJBUoL/R4BVQU5mn0TQXOHwVIl1Q2DMuBIdNno4ktA1abZ7dQFVxD6uHxw==} - engines: {node: '>=16'} - form-data@4.0.6: resolution: {integrity: sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==} engines: {node: '>= 6'} @@ -6159,6 +6254,10 @@ packages: resolution: {integrity: sha512-w8ZNZr2mKIc7qeNaQ9AVPT1+iFaI+Avd4xudVOvdDJ8VytREi1Ft5Ih7hd9jjehod8vAM5GMsfQ/TpPf4EyoEA==} engines: {node: '>=14.14'} + fs-extra@11.4.1: + resolution: {integrity: sha512-KYAb4c9BJQI6QqGKthV68OHe0badztdXJWKo0WtBA9IuCFPTKvE5ZdUBglP833aMjhaSPNO4A5j/EkzZtGlKjA==} + engines: {node: '>=14.14'} + fsevents@2.3.3: resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} @@ -6182,8 +6281,8 @@ packages: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} - get-east-asian-width@1.6.0: - resolution: {integrity: sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==} + get-east-asian-width@1.7.0: + resolution: {integrity: sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==} engines: {node: '>=18'} get-intrinsic@1.3.0: @@ -6198,9 +6297,16 @@ packages: resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} engines: {node: '>=10'} + get-stream@9.0.1: + resolution: {integrity: sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==} + engines: {node: '>=18'} + get-tsconfig@4.14.0: resolution: {integrity: sha512-yTb+8DXzDREzgvYmh6s9vHsSVCHeC0G3PI5bEXNBHtmshPnO+S5O7qgLEOn0I5QvMy6kpZN8K1NKGyilLb93wA==} + get-tsconfig@4.14.3: + resolution: {integrity: sha512-++QEw4DIY7WGoukz+/+A/8dGYPT9l9yIadnmSgZ8Rjr3YVSVDipQSO9CdnJo9ePqFqUUqh+wk9uIaoiAwsiPkA==} + giget@3.3.1: resolution: {integrity: sha512-r+mvuDjrjMpsdw46Kmeydb8bdHm7wOKw8wNBtTndkjbPjgAp5oUJUxRE76wZFknxIPokfWvep2qSXK37aXE6zg==} hasBin: true @@ -6241,12 +6347,12 @@ packages: resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} engines: {node: '>=18'} - globals@17.7.0: - resolution: {integrity: sha512-Czmyns5dUsq4seFBR/Kdydhmo8y9kC79hiSkPn0YcGtNnYWnrgt0vjrSjx9tspoDGWm2CMarffRuLjM4xUz8xg==} + globals@17.13.0: + resolution: {integrity: sha512-RwMTC61u7hrG3ZJMkZQOK4JLJrKS8QtoTii63EmWvFXHqycY9FObBJQCbsLxSO8kjKhWE5kV1GC+Vb1g3RI0Zg==} engines: {node: '>=18'} - globby@16.2.2: - resolution: {integrity: sha512-NLvV9ubZ6NDsJaOpKPy3cQeJpKi9DcWiyCiFUpJPA0YihRqiE6RWaLUmgNNPr8MgPpLZjnBjSmou7uZBRJv9wA==} + globby@16.2.4: + resolution: {integrity: sha512-c8B/VNLmxRcmqqenRA9t+9IyOjf9+V6lTxPaUJLqOCONdQkWZ0ETYgX0qbtJqPsgCNusT9MZ5Jeidw8Eb9tn2g==} engines: {node: '>=20'} globjoin@0.1.4: @@ -6259,8 +6365,8 @@ packages: graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - happy-dom@20.14.5: - resolution: {integrity: sha512-x/RzkpWO40bTjIoT30iQtt64FLLmH/iRcUCN2X//bLx7H3ifkdfPXyqsro/OYtqzIAhiLMMA7mmiOR9C3NOKjQ==} + happy-dom@21.0.4: + resolution: {integrity: sha512-tFm+GaLBgo6o0awHnvHaNoraVo27qJ+2tZEtZ+cIa08hXbeitrxAJajLI05hsUy/2/YTKcUjQYzHe5mCcraLBw==} engines: {node: '>=20.0.0'} has-bigints@1.1.0: @@ -6316,9 +6422,9 @@ packages: hookified@2.2.0: resolution: {integrity: sha512-p/LgFzRN5FeoD3DLS6bkUapeye6E4SI6yJs6KetENd18S+FBthqYq2amJUWpt5z0EQwwHemidjY5OqJGEKm5uA==} - html-encoding-sniffer@6.0.0: - resolution: {integrity: sha512-CV9TW3Y3f8/wT0BRFc1/KAVQ3TUHiXmaAb6VW9vtiMFf7SLoMd1PdAc4W3KFOFETBJUb90KatHqlsZMWV+R9Gg==} - engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0} + html-encoding-sniffer@7.0.0: + resolution: {integrity: sha512-UikN5yr7xsCDAq87Or5or0PAlD3HJJOKVzM05az588WnpDJ4Ux7a2A53Qi6gofGg2/EtvF/H4hCi/TXfCW4Y6w==} + engines: {node: ^22.13.0 || >=24.0.0} html-escaper@2.0.2: resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} @@ -6335,8 +6441,8 @@ packages: html-void-elements@3.0.0: resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==} - htmlparser2@8.0.2: - resolution: {integrity: sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==} + htmlparser2@9.1.0: + resolution: {integrity: sha512-5zfg6mHUoaer/97TxnGpxmbR7zJtPwIYFMZ/H5ucTlPZhKvtum05yiPK3Mgai3a0DyVxv7qYqoweaEd2nrYQzQ==} http-parser-js@0.5.10: resolution: {integrity: sha512-Pysuw9XpUq5dVc/2SMHpuTY01RFl8fttgcyunjL7eEMhGM3cI4eOmiCycJDVCo/7O7ClfQD3SaI6ftDzqOXYMA==} @@ -6349,6 +6455,10 @@ packages: resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} engines: {node: '>=10.17.0'} + human-signals@8.0.1: + resolution: {integrity: sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ==} + engines: {node: '>=18.18.0'} + husky@9.1.7: resolution: {integrity: sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==} engines: {node: '>=18'} @@ -6361,8 +6471,12 @@ packages: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} engines: {node: '>= 4'} - ignore@7.0.11: - resolution: {integrity: sha512-YChdK5txDjwGUvgR7oCJcLGkwi3LDh8Zx8tS7ndYciLEg/oOCL26VUBSUEtgS7EjiybcBqFxh5j0rAdDX7/bbg==} + ignore@7.0.12: + resolution: {integrity: sha512-/8UvqAPU9DGTI9k4mxtf49U37Isfwr8Uts96+SBHIkFxPJnHS0Ew4f00sM4Scd8V8EjM0jUNtVDdv1kPdt35lg==} + engines: {node: '>= 4'} + + ignore@7.0.14: + resolution: {integrity: sha512-wCBiZ77u1tuWde6G/nfOtLaCTYcFDU5yCzARzK10y+rLhzYoL7a7yEemcopcc2Mzow7gZOIjnV2ym1NYmdiJOQ==} engines: {node: '>= 4'} immediate@3.0.6: @@ -6372,8 +6486,8 @@ packages: resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} engines: {node: '>=6'} - import-fresh@4.0.0: - resolution: {integrity: sha512-Fpi660c7VPDM3fPKYovStd9IP1CPOikf6v/dGxJJMmHPcwYQIMJ4W7kO1avBYEpMqkCh+Dx3Ln6H7VYqgztLjw==} + import-fresh@4.0.1: + resolution: {integrity: sha512-/XFeXYgkuWgbtqPC7qPKvciXTvhtz7WMNQKQsAM1Kz+j0I5OWJDrybfiya6QtHF9oEvPkLwTHmC9+4OR/MmfIA==} engines: {node: '>=22.15'} import-lazy@4.0.0: @@ -6424,10 +6538,6 @@ packages: resolution: {integrity: sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==} engines: {node: '>= 0.4'} - is-binary-path@2.1.0: - resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} - engines: {node: '>=8'} - is-boolean-object@1.2.2: resolution: {integrity: sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==} engines: {node: '>= 0.4'} @@ -6439,19 +6549,14 @@ packages: resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} engines: {node: '>= 0.4'} - is-core-module@2.16.2: - resolution: {integrity: sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA==} + is-core-module@2.17.0: + resolution: {integrity: sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA==} engines: {node: '>= 0.4'} is-date-object@1.1.0: resolution: {integrity: sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==} engines: {node: '>= 0.4'} - is-docker@2.2.1: - resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} - engines: {node: '>=8'} - hasBin: true - is-docker@3.0.0: resolution: {integrity: sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -6468,10 +6573,6 @@ packages: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} - is-fullwidth-code-point@5.1.0: - resolution: {integrity: sha512-5XHYaSyiqADb4RnZ1Bdad6cPp8Toise4TzEjcOYDHZkTCbKgiUl7WTUCpNWHuxmDt91wnsZBc9xinNzopv3JMQ==} - engines: {node: '>=18'} - is-glob@4.0.3: resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} engines: {node: '>=0.10.0'} @@ -6508,6 +6609,10 @@ packages: resolution: {integrity: sha512-lJJV/5dYS+RcL8uQdBDW9c9uWFLLBNRyFhnAKXw5tVqLlKZ4RMGZKv+YQ/IA3OhD+RpbJa1LLFM1FQPGyIXvOA==} engines: {node: '>=12'} + is-plain-obj@4.1.0: + resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==} + engines: {node: '>=12'} + is-potential-custom-element-name@1.0.1: resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} @@ -6530,6 +6635,10 @@ packages: resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} engines: {node: '>=8'} + is-stream@4.0.1: + resolution: {integrity: sha512-Dnz92NInDqYckGEUJv689RbRiTSEHCQ7wOVeALbkOz999YpqT46yMRIGtSNl2iCL1waAZSx40+h59NV/EwzV/A==} + engines: {node: '>=18'} + is-string@1.1.1: resolution: {integrity: sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==} engines: {node: '>= 0.4'} @@ -6538,6 +6647,10 @@ packages: resolution: {integrity: sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==} engines: {node: '>= 0.4'} + is-unicode-supported@2.1.0: + resolution: {integrity: sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==} + engines: {node: '>=18'} + is-weakmap@2.0.2: resolution: {integrity: sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==} engines: {node: '>= 0.4'} @@ -6550,10 +6663,6 @@ packages: resolution: {integrity: sha512-oG7cgbmg5kLYae2N5IVd3jm2s+vldjxJzK1pcu9LfpGuQ93MQSzo0okvRna+7y5ifrD+20FE8FvjusyGaz14fw==} engines: {node: '>=18'} - is-wsl@2.2.0: - resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==} - engines: {node: '>=8'} - is-wsl@3.1.1: resolution: {integrity: sha512-e6rvdUCiQCAuumZslxRJWR/Doq4VpPR82kqclvcS0efgt430SlGIk05vdCN58+VrzgtIcfNODjozVielycD4Sw==} engines: {node: '>=16'} @@ -6597,12 +6706,12 @@ packages: jju@1.4.0: resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==} - joi@18.2.3: - resolution: {integrity: sha512-N5A3KTWQpPWT4ExxxPlUx7WmykGXRzhNidWhV41d6Abu9YfI2NyWCJuxdPnslJCPWtbRpSVOWSnSS6GakLM/Rg==} + joi@18.3.1: + resolution: {integrity: sha512-mV9M4Llh4va3NT90p7KBtQhoZqjs8xLX7EWYE4y/GG3yLF6REbIBEHSUb0UX1JXRht2w5tiLSsvmpYc5akiqIw==} engines: {node: '>= 20'} - js-beautify@1.15.4: - resolution: {integrity: sha512-9/KXeZUKKJwqCXUdBxFJ3vPh467OCckSBmYDwSK/EtV090K+iMJ7zx2S3HLVDIWFQdqMIsZWbnaGiba18aWhaA==} + js-beautify@2.0.3: + resolution: {integrity: sha512-cyFbh3tkPhknnTD/0bLf0T0yy2ZIbqL05mttzbt4y1Zfr7NxqXQZ62dkBLKs3oHH/lpjmDRAnciJiSUyOy8XwQ==} engines: {node: '>=14'} hasBin: true @@ -6621,19 +6730,19 @@ packages: js-tokens@9.0.1: resolution: {integrity: sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ==} - js-yaml@4.3.1: - resolution: {integrity: sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==} + js-yaml@4.3.2: + resolution: {integrity: sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==} hasBin: true - jsdoc-type-pratt-parser@9.2.0: - resolution: {integrity: sha512-9TsacmMHRpB1pcKGuXZCJxV6MzYD6h0filpYuYnoO1WzUVin5dg8TFrwbfZSR3R6wlNN+Q81iwcIR2gzpCWmdg==} + jsdoc-type-pratt-parser@9.4.0: + resolution: {integrity: sha512-orXhi2Y06rag47r4SW4JPII6WlUJbp0xe9cIcqLaSbb/8tREcEZSq99Lu3AFfra6PAlMqTYIxV+ZHxl1dFUrWw==} engines: {node: ^22.22.2 || >=24.15.0} - jsdom@29.1.1: - resolution: {integrity: sha512-ECi4Fi2f7BdJtUKTflYRTiaMxIB0O6zfR1fX0GXpUrf6flp8QIYn1UT20YQqdSOfk2dfkCwS8LAFoJDEppNK5Q==} - engines: {node: ^20.19.0 || ^22.13.0 || >=24.0.0} + jsdom@30.1.3: + resolution: {integrity: sha512-hQMUPvRgN7KxsfIytDQji7bimuJeRQa6Qo5+iuiZQk5CafeRxLIA10/cG5YCBFNpD9RO3oqIiN4CO1Y44kxqXg==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} peerDependencies: - canvas: ^3.0.0 + canvas: ^3.2.3 peerDependenciesMeta: canvas: optional: true @@ -6649,8 +6758,8 @@ packages: json-parse-even-better-errors@2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} - json-rpc-2.0@1.7.1: - resolution: {integrity: sha512-JqZjhjAanbpkXIzFE7u8mE/iFblawwlXtONaCvRqI+pyABVz7B4M1EUNpyVW+dZjqgQ2L5HFmZCmOCgUKm00hg==} + json-rpc-2.0@1.8.1: + resolution: {integrity: sha512-BmN42JKn6FI36pcMMzHCXQhpKNEfbeqgSIcUYHKnifq0/4Ey6PDinovwUOgajT7NsgUtpWdDXaCWlpI4LHXN3g==} json-schema-traverse@0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} @@ -6683,8 +6792,8 @@ packages: jstransformer@1.0.0: resolution: {integrity: sha512-C9YK3Rf8q6VAPDCCU9fnqo3mAfOH6vUGnMcP4AQAYIEpWtfGLpwOTmZ+igtdK5y+VvI2n3CyYSzy4Qh34eq24A==} - jszip@3.10.1: - resolution: {integrity: sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==} + jszip@3.10.2: + resolution: {integrity: sha512-3l+rb15IOWtUhU0H5MFqES/T6Kh7abYwjosBey/vD6hDt8zoEffkSC5Ws5SGtgVw3gBx2NEbhTeSW1+kWkpyTQ==} keyv@5.6.0: resolution: {integrity: sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==} @@ -6878,15 +6987,11 @@ packages: linkifyjs@4.3.3: resolution: {integrity: sha512-P8aEP5U/D1/IlTY2OeYsErdwh9bGuLE30NcXtKEjgdHcahveQoQwM2yZNsioQHsWFz0P7KKudisbrzCgR0sDHg==} - lint-staged@16.4.0: - resolution: {integrity: sha512-lBWt8hujh/Cjysw5GYVmZpFHXDCgZzhrOm8vbcUdobADZNOK/bRshr2kM3DfgrrtR1DQhfupW9gnIXOfiFi+bw==} - engines: {node: '>=20.17'} + lint-staged@17.6.0: + resolution: {integrity: sha512-nOhBfYkZEwkFtNzD5pK9s9LkcWoxJ+whLzEnhqi9nl7zTB5n7tg8+9iYgMGx2Wm3VlLu8cbNj0RACzY+nWi5iQ==} + engines: {node: '>=22.22.1'} hasBin: true - listr2@9.0.5: - resolution: {integrity: sha512-ME4Fb83LgEgwNw96RKNvKV4VTLuXfoKudAmm2lP8Kk87KaMK0/Xrx/aAkMWmT8mDb+3MlFDspfbCs7adjRxA2g==} - engines: {node: '>=20.0.0'} - local-pkg@1.2.1: resolution: {integrity: sha512-++gUqRDEvcnN6Zhqrr+y/CkVEHhlrR96vZn3nZZPYzMcBUyBtTKzB9NadClFIsIVSsu+3i9tfk/erqy9kAmt7Q==} engines: {node: '>=14'} @@ -6904,10 +7009,6 @@ packages: lodash@4.18.1: resolution: {integrity: sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==} - log-update@6.1.0: - resolution: {integrity: sha512-9ie8ItPR6tjY5uYJh8K/Zrv/RMZ5VOlOWvtZdEHYSTFKZfIBPQa9tOAEeAWhd+AnIneLJ22w5fjOYtoutpWq5w==} - engines: {node: '>=18'} - loglevel@1.9.2: resolution: {integrity: sha512-HgMmCqIJSAKqo68l0rS2AanEWfkxaZ5wNiEFb5ggm08lDs9Xl2KxBlX3PTcaD2chBM1gXAYf491/M2Rv8Jwayg==} engines: {node: '>= 0.6.0'} @@ -6924,8 +7025,8 @@ packages: lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} - lru-cache@11.5.2: - resolution: {integrity: sha512-4pfM1Ff0x50o0tQwb5ucw/RzNyD0/YJME6IVcStalZuMWxdt3sR3huStTtxz4PUmvZfRguvDejasvQ2kifR11g==} + lru-cache@11.5.3: + resolution: {integrity: sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==} engines: {node: 20 || >=22} lru-cache@5.1.1: @@ -6949,15 +7050,11 @@ packages: magic-string@0.30.21: resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==} - magic-string@0.30.8: - resolution: {integrity: sha512-ISQTe55T2ao7XtlAStud6qwYPZjE4GK1S/BeVPus4jrq6JuOnQ00YKQC581RWhR122W7msZV263KzVeLoqidyQ==} - engines: {node: '>=12'} - - magic-string@1.4.2: - resolution: {integrity: sha512-vG+rjFRj1PqdIBozIxAGMjPlOhaVe+GXpbttY/iSK7rGcJRMlwNJO7dcUwmUqkymsFLJiNGI06t4D7Fr7yRC9g==} + magic-string@1.4.5: + resolution: {integrity: sha512-oLLC2+YvQUfAa+vxoufE/yc1icb87M9iXIRqAoR/2EhE/8cb3SF/+Gi0c2By1B+5Vz2e2vQtUvHiu1+63Znh+w==} - magicast@0.5.4: - resolution: {integrity: sha512-llBEhWm1SacoRwgHUoQJYtwp4PBLF4faQi5TCpIGyGs9n4y5+juI0tDgyKIfpqxckRHaHzouUEph3THklWh03w==} + magicast@0.5.5: + resolution: {integrity: sha512-UicdXN8zQ3JHlxVq+28afMXPr1z7WNY6+7EJnzTdQWkTAlMLF5fNCCKxJHBQwGaNGR11581EiQmQzx73+MvszA==} make-dir@4.0.0: resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} @@ -6994,8 +7091,8 @@ packages: mdn-data@2.27.1: resolution: {integrity: sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==} - mdn-data@2.29.0: - resolution: {integrity: sha512-pVxQFCcaYUEAH853+v7yoI/qzhxXSq1bTb9obMYGYAN1c3Hen+XDCEvr296XhstrwlSTNgOR7mCSD4JPjbJe5A==} + mdn-data@2.37.2: + resolution: {integrity: sha512-rz9YOBGItdSbe7HcSArUbhiAv4SB/4DKRYg96CSFS2CcIYMbUvBtZlzA1NCbk2AdgbmYwMqwNblLpR441lLeiQ==} mdurl@2.0.0: resolution: {integrity: sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==} @@ -7057,16 +7154,12 @@ packages: resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} engines: {node: '>=6'} - mimic-function@5.0.1: - resolution: {integrity: sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==} - engines: {node: '>=18'} - min-indent@1.0.1: resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} engines: {node: '>=4'} - minimatch@10.2.5: - resolution: {integrity: sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==} + minimatch@10.2.6: + resolution: {integrity: sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==} engines: {node: 18 || 20 || >=22} minimatch@3.1.5: @@ -7103,12 +7196,13 @@ packages: resolution: {integrity: sha512-sweCIVXzx1aIGTCdzcMlSZt1h8k5Tmk08VNAuRk3IU28XamGiOH5ypi11g6De2CH7PhYqSSnGy2A/EFhbWnVKg==} engines: {node: '>=18.0.0'} - monocart-coverage-reports@2.12.12: - resolution: {integrity: sha512-d9FdUr2dn58Crweon0IE0zVi8r/i4vLvfvb2G7eL5vL5LfrxCB2X6F6qzuiwV6RioA4zbAI//7CYi6LjCvN3zA==} + monocart-coverage-reports@3.2.0: + resolution: {integrity: sha512-hF8GxLozQGJ9P2FDjTrGfo/IAvHSlPdmYiBE3qkfbWUc9Zc+I+mrShta9+cJxmZfC5d6FiaEyrhjzCNrpAflog==} + engines: {node: '>=22.15.0'} hasBin: true - monocart-locator@1.0.3: - resolution: {integrity: sha512-pe29W2XAoA1WQmZZqxXoP7s06ZEXUhcb81086v68cqjk1HnVL7Q/iU/WJnnetxjPcLqwb4qG8vaSGUOMQU602g==} + monocart-locator@1.0.6: + resolution: {integrity: sha512-P4DCDxeOhy59KexF3yx/kD7y64HVxHO0lskxjxAML9kTOvQnD2jTpZWFQFEFyyABx32at3t77mWLKftFfk1wHQ==} mrmime@2.0.1: resolution: {integrity: sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==} @@ -7124,13 +7218,13 @@ packages: resolution: {integrity: sha512-hqbVIRFskEUX3PmHxGPGFOcLU93va4yfYkBBg4c1U0wK1Z/pDfIbYDexbIIWI+vtrXWkQAStCQ4drcQ1ooakiA==} engines: {node: '>=18.2.0'} - nanoid@3.3.17: - resolution: {integrity: sha512-xQLf0A3HOMlgHq0n247/LRuAOYmB7dXJ/DvAxGvsSBij45XtBSmQycu+F8ODbHwns/XyFZagyL1+J0Offw1E0g==} + nanoid@3.3.20: + resolution: {integrity: sha512-uKdg2G3GNCKQn9byYOpxbGqrT2fGO5KRt5J/8b3pok8rT6qxGWF6hxMyJiEYtAf+FVyYuD9hRaDqX5uPFYJ4ZQ==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - napi-postinstall@0.3.4: - resolution: {integrity: sha512-PHI5f1O0EP5xJ9gQmFGMS6IZcrVvTjpXjz7Na41gTE7eE2hK11lg04CECCYEEjdc17EV4DO+fkGEtt7TpTaTiQ==} + napi-postinstall@0.3.7: + resolution: {integrity: sha512-jyU4cU4kVAmy/3qjP+DcoQTNXfINHc+dFw54gGqWC8nu0mpV0kOnk7kff+J+Q18SbX0k3Np8Rm7yFjd3phatNQ==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} hasBin: true @@ -7155,26 +7249,34 @@ packages: node-html-parser@5.4.2: resolution: {integrity: sha512-RaBPP3+51hPne/OolXxcz89iYvQvKOydaqoePpOgXcrOKZhjVIzmpKZz+Hd/RBO2/zN2q6CNJhQzucVz+u3Jyw==} - node-releases@2.0.51: - resolution: {integrity: sha512-wRNIrw4DmVLKQlbgOMdkMx27Wrpzes2hh5Jtbi2bjPd+4wJstWIqP5A+lscnqbm0xxmT5Bpg8Lec5ItEBwx6BQ==} + node-releases@2.0.61: + resolution: {integrity: sha512-5NUN6QCxNFrS9oEA9RPS+d0AP+ooGBzzovY2JhIpDRHacPvOhHjXjUsUMX9qp4nLHZ+5jVgXB2jj/P4arGOE/g==} engines: {node: '>=18'} - nopt@7.2.1: - resolution: {integrity: sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w==} - engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + node-stream-zip@1.16.0: + resolution: {integrity: sha512-ObaRrRoR8T68wF6suxHd7R4XQNamij6ZQHrwG7Dx1D2zeHcDNLsIOBcWrIwtDm7AsCXBguaPHgXhcjxDa2szrg==} + engines: {node: '>=0.12.0'} + + nopt@10.0.1: + resolution: {integrity: sha512-df3sBr/6ax9hSGuC3CspvLlbnX8cP5L5nZwXF8cGN8l0zSWR6BvzmQ6jPUKjvo6+/xdpkNvEcucBNUdBeeV13g==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} hasBin: true normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} - nostics@1.1.4: - resolution: {integrity: sha512-U4FApICSLCQ0dYiN59pxUCEZC053palQXi57yLaNdMaL6TBY4C4q3qZrJKUGcor2dGv8EhEwt8y5KvU2bo2kFg==} + nostics@1.3.0: + resolution: {integrity: sha512-wzRsrJwNlFbqIRQt8aCeL2WE8USip/uuvGSOZV1D02CxX8ABTMbw8IywKjH7yWHETMXbWJI4OBpihg9rmz2Vyg==} npm-run-path@4.0.1: resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} engines: {node: '>=8'} + npm-run-path@6.0.0: + resolution: {integrity: sha512-9qny7Z9DsQU8Ou39ERsPU4OZQlSTP47ShQzuKZ6PRXpYLtIFgl/DEBYEXKlvcEa+9tHVcK8CF81Y2V72qaZhWA==} + engines: {node: '>=18'} + nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} @@ -7201,21 +7303,21 @@ packages: resolution: {integrity: sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==} engines: {node: '>= 0.4'} - obug@2.1.4: - resolution: {integrity: sha512-4a+OsYv9UktOJKE+l1A4OufDgdRF9PifWj+tJnHURo/P+WOxpG4GzUFL9qCalmWauao6ogiG+QvnCovwPoyAWA==} + obug@2.2.1: + resolution: {integrity: sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q==} + engines: {node: '>=12.20.0'} + + obug@3.0.0: + resolution: {integrity: sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==} engines: {node: '>=12.20.0'} - ohash@2.0.11: - resolution: {integrity: sha512-RdR9FQrFwNBNXAr4GixM8YaRZRJ5PUWbKYbE5eOsrwAjJW0q2REGcf79oYPsLyskQCZG1PLN+S/K1V00joZAoQ==} + ohash@2.0.12: + resolution: {integrity: sha512-65S/5gk9YSsaRjcyf7Nfa6h/d3E8/1gslpXfI4W7Dxn/oap8IKRuNT5VXkLQ1YFKIEg4apRY4Pj6aiwFzrDdmw==} onetime@5.1.2: resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} engines: {node: '>=6'} - onetime@7.0.0: - resolution: {integrity: sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==} - engines: {node: '>=18'} - oniguruma-parser@0.12.2: resolution: {integrity: sha512-6HVa5oIrgMC6aA6WF6XyyqbhRPJrKR02L20+2+zpDtO5QAzGHAUGw5TKQvwi5vctNnRHkJYmjAhRVQF2EKdTQw==} @@ -7230,18 +7332,20 @@ packages: resolution: {integrity: sha512-smsWv2LzFjP03xmvFoJ331ss6h+jixfA4UUV/Bsiyuu4YJPfN+FIQGOIiv4w9/+MoHkfkJ22UIaQWRVFRfH6Vw==} engines: {node: '>=20'} - open@8.4.2: - resolution: {integrity: sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==} - engines: {node: '>=12'} + open@11.0.4: + resolution: {integrity: sha512-++Zlftm0kVLPmzC06t6epuWmcRMDbI4z5P3NNX979WA/k23+NtSOynEGzsVfZwguKw2mi5umVgnBlJQMwRz4Pg==} + engines: {node: '>=20'} - openai@7.4.0: - resolution: {integrity: sha512-+C9Muit5x8j9R8ej8ZzVgKcrVDtqFqTy9gxFdov0EItLgU68zrJtF9ZeT0cyqJQW9S3PCJkdFgADtRGquRBtew==} + openai@7.45.1: + resolution: {integrity: sha512-mutrJXwhJIMZ24Lab2COFtNp44OcpZSnV4O2O7q38wAHUa2m2fQqUO5pj1XS3PqLfOTeODBUS9YoadqDnnGk5A==} engines: {node: '>=22.0.0'} peerDependencies: '@aws-sdk/credential-provider-node': '>=3.972.0 <4' '@smithy/hash-node': '>=4.3.0 <5' '@smithy/signature-v4': '>=5.4.0 <6' - ws: ^8.18.0 + google-auth-library: '>=9.15.1 <12' + undici: ^7.29.0 + ws: ^8.21.0 zod: ^3.25 || ^4.0 peerDependenciesMeta: '@aws-sdk/credential-provider-node': @@ -7250,6 +7354,10 @@ packages: optional: true '@smithy/signature-v4': optional: true + google-auth-library: + optional: true + undici: + optional: true ws: optional: true zod: @@ -7270,20 +7378,27 @@ packages: resolution: {integrity: sha512-yFImD+WLElJpLKy8llG1qe4DCmMsL18peRp8XP1JKfig/gISbJkglnpDtX2aTmAn10kZF7164HbN2H8QPsXxGg==} engines: {node: ^20.19.0 || >=22.12.0} + oxc-parser@0.152.0: + resolution: {integrity: sha512-ZztsZgaCWmPeKYMdoTT5e0oV/oxD1NeLWNR3kAtr/G707cUPYaaozRlVDHLCGnszHJRszN9mJwmPNpqgwloC0A==} + engines: {node: ^20.19.0 || >=22.12.0} + + oxc-resolver@11.21.2: + resolution: {integrity: sha512-w5tLwYN3Zo24w5EeWJjJWZOwhYqTtC8PS2B1tIt7BZUuqTIcU07sQValbDw+rq7+AuAGzOHklgK+ifsy4lpXfw==} + oxc-resolver@11.21.3: resolution: {integrity: sha512-2Mx3fKQz7+xgrBONjsxOgCGtMHOn38/HxMzW1I5efwXB5a4lRN0Vp40gYUJFBWJslcrvwoofTrqoTnLbwTd3pA==} - oxc-resolver@11.24.2: - resolution: {integrity: sha512-FY91FiDBj7ls5MsFS9jN3tjz2o0/zsdSsymlakySaBwVJZorHhkWyICLZMKxlu1R9vYo+sd3z1jwb4J8x7bNDw==} - - oxfmt@0.59.0: - resolution: {integrity: sha512-Xqk6cPZS1yMvVa7OAuenaDZUsgMDutvvbZ9/L5gSvAfW64+WN4HVhgipLj5rVERbYQt8fLs9TopyZ1rU1XEG/w==} + oxfmt@0.75.0: + resolution: {integrity: sha512-/ZKvY5asfsVi9hdkOmRIumqOPu6kxlTgiJSZf54uq29kKew+Gu1FFAnEkGePyvLVW+MAYu41D6XggnzoElQzPw==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: + '@astrojs/compiler-rs': ^0.5.0 svelte: ^5.0.0 vite-plus: '*' peerDependenciesMeta: + '@astrojs/compiler-rs': + optional: true svelte: optional: true vite-plus: @@ -7317,8 +7432,8 @@ packages: package-json-from-dist@1.0.1: resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==} - package-manager-detector@1.7.0: - resolution: {integrity: sha512-xg1eHpwYL/D/HEdWw2goFZP6vV0FH7W+PZ5rFkGjdIDLtxq7EkzBUeT3m+lndYCt8wKbmofUu1MUdMCXkCk9ZQ==} + package-manager-detector@1.9.0: + resolution: {integrity: sha512-zAMfbta9nPA8AKkA4WdmNAT8R8s6Dk0/xwPsqNnRidMFcLo1YkLuPDTgs2f64XdzS8vbLNnoJ+uUIkgbz7oRHA==} pako@1.0.11: resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==} @@ -7337,6 +7452,10 @@ packages: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} + parse-ms@4.0.0: + resolution: {integrity: sha512-TXfryirbmq34y8QBwgqCVLi+8oA3oWx2eAnSn62ITyEhEYaWRlVZ2DvMM9eZbMs/RfxPu/PK/aBLyGj4IrqMHw==} + engines: {node: '>=18'} + parse5@7.3.0: resolution: {integrity: sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==} @@ -7357,6 +7476,10 @@ packages: resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} engines: {node: '>=8'} + path-key@4.0.0: + resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} + engines: {node: '>=12'} + path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} @@ -7395,9 +7518,6 @@ packages: resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==} engines: {node: '>=12'} - picoquery@2.5.0: - resolution: {integrity: sha512-j1kgOFxtaCyoFCkpoYG2Oj3OdGakadO7HZ7o5CqyRazlmBekKhbDoUnNnXASE07xSY4nDImWZkrZv7toSxMi/g==} - pinia@4.0.2: resolution: {integrity: sha512-yKVVA7bSj5oRZFp/Ab9wLlmyb5gPUYEiIm4ryiWTe/xe7PtkRdMVOp1X1ggvq0c6Uj7Q0Du1HnV2mtAwM0Ks1g==} peerDependencies: @@ -7411,8 +7531,8 @@ packages: pkg-types@1.3.1: resolution: {integrity: sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==} - pkg-types@2.3.1: - resolution: {integrity: sha512-y+ichcgc2LrADuhLNAx8DFjVfgz91pRxfZdI3UDhxHvcVEZsenLO+7XaU5vOp0u/7V/wZ+plyuQxtrDlZJ+yeg==} + pkg-types@2.4.0: + resolution: {integrity: sha512-07Fys7iVx0X6TcviMOgogM1Lk33ZyqOezMnU79S+kffWqwolG/5W9V8EgQSeYCIfFTYVgssRbnH630Oa2+soBA==} playwright-core@1.63.0: resolution: {integrity: sha512-rYCsBF/M5HjUch52bbtVONEFjv6Xu8sm8h72dNlR5bzIE1fvC/bxgspzkjSfU+MweEMmPM8KJebG6nnyxo5mCg==} @@ -7428,31 +7548,27 @@ packages: resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==} engines: {node: '>= 0.4'} - postcss-html@1.8.1: - resolution: {integrity: sha512-OLF6P7qctfAWayOhLpcVnTGqVeJzu2W3WpIYelfz2+JV5oGxfkcEvweN9U4XpeqE0P98dcD9ssusGwlF0TK0uQ==} - engines: {node: ^12 || >=14} - - postcss-safe-parser@6.0.0: - resolution: {integrity: sha512-FARHN8pwH+WiS2OPCxJI8FuRJpTVnn6ZNFiqAM2aeW2LwTHWWmWgIyKC6cUo0L8aeKiF/14MNvnpls6R2PBeMQ==} - engines: {node: '>=12.0'} + postcss-html@2.0.0: + resolution: {integrity: sha512-f2Rvw5FCollEfVj3wfN7JdQb7n2rNIthW+epw2EByio7M6P7RH0BTj8a/ODHrUXd0cmO7ychb6YniymV93182Q==} + engines: {node: ^22.12 || >=24} peerDependencies: - postcss: ^8.3.3 + postcss: ^8.5.0 - postcss-safe-parser@7.0.1: - resolution: {integrity: sha512-0AioNCJZ2DPYz5ABT6bddIqlhgwhpHZ/l65YAYo0BCIn0xiDpsnTHz0gnoTGk0OXZW0JRs+cDwL8u/teRdz+8A==} + postcss-safe-parser@7.1.0: + resolution: {integrity: sha512-1WzZxRLaAFwEh6Do+zyGpjWV3nGJNxxhuh7Ubu/q1ICImMgZJnLwhoaEpRbG4pJppp2Y1ncL9ffA2f+LhrefQg==} engines: {node: '>=18.0'} peerDependencies: postcss: ^8.4.31 - postcss-selector-parser@7.1.4: - resolution: {integrity: sha512-HeP7D2wyhkR+XaK6v4W8oRF62Dsz4flyuczALJp61GckGm42u1saSSJ/0auvcBqxs3jMRFEcPK34At/0JBKdOg==} + postcss-selector-parser@7.1.7: + resolution: {integrity: sha512-wWBro/7hJ40ye6TPiXkUQoXKCw23xSsjriUvqd7Uls9Sso3oLiON1flc18cCdnjgCRXw4fBVqUJJeOdDTh3P3g==} engines: {node: '>=4'} postcss-value-parser@4.2.0: resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==} - postcss@8.5.26: - resolution: {integrity: sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==} + postcss@8.5.32: + resolution: {integrity: sha512-LJlKCCAUFKOuZxipUdYw1NzIITEsPcgyOG9LkvRJvuKj/bRzbuRY0ARXvL0pWGpsZvn8jku+LMep2eU0seHp8g==} engines: {node: ^10 || ^12 || >=14} posthog-js@1.402.3: @@ -7462,6 +7578,10 @@ packages: resolution: {integrity: sha512-dM0jVuXJPsDN6DvRpea484tCUaMiXWjuCn++HGTqUWzGDjv5tZkEZldAJ/UMlqRYGFrD/etByo4/xOuC/snX2A==} engines: {node: '>=20'} + powershell-utils@0.2.1: + resolution: {integrity: sha512-C+y9x90UElAddDZmV4qOx9W53B61PO7cIqWz2dQsWlwswuq4mr8NEwytdGKboYbQlGZ3awrkTeNvcZiZNHnQ8A==} + engines: {node: '>=20'} + preact@10.29.7: resolution: {integrity: sha512-DCHYrK/B10yUD3ZjLfhZ3WIE/9Vf9VFUODcRE2dRomTYDpJk6z6L9wecSfhfE6M9ZTHUdyQkoC46arIDhEV84Q==} peerDependencies: @@ -7479,24 +7599,24 @@ packages: engines: {node: '>=14'} hasBin: true - pretty-bytes@7.1.1: - resolution: {integrity: sha512-X+vn9z8nOFZQlxOLmfJ0iKDdMD7jYTsTW12OAlCpdoE3Igik6L37pugIZi+N3usuyp5McfgKPWi12q3zvHLeGQ==} + pretty-bytes@7.2.0: + resolution: {integrity: sha512-T2kroepGB5DRVbkN/nOpW03+VRWqdtJhZNuCW3wYk3chdPjgi4GcTBOaxWfHq1MIM0ypidxsSWbQaAiRpxnXmg==} engines: {node: '>=20'} pretty-format@27.5.1: resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==} engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + pretty-ms@9.3.1: + resolution: {integrity: sha512-HzMy3Geq23nVALD/M2LliU+F+M+gVNsvkQWWqeBZ8HDiCgzo6YPJ/Omrmtq24EFrIsk0a3EkQGEd7bDOo+IhGA==} + engines: {node: '>=18'} + primeicons@7.0.0: resolution: {integrity: sha512-jK3Et9UzwzTsd6tzl2RmwrVY/b8raJ3QZLzoDACj+oTJ0oX7L9Hy+XnVwgo4QVKlKpnP/Ur13SXV/pVh4LzaDw==} process-nextick-args@2.0.1: resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} - progress@2.0.3: - resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} - engines: {node: '>=0.4.0'} - promise@7.3.1: resolution: {integrity: sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==} @@ -7556,9 +7676,6 @@ packages: resolution: {integrity: sha512-/FPD0nUc9jH6rfFjji9IBqOz4pcSE3CsT1m7Ep6Mdb0LxSUMj8hgl6GomOvZzpNpAqqGaXA0P3VSrZLFzIhQrw==} engines: {node: '>=12.0.0'} - proxy-from-env@1.1.0: - resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} - proxy-from-env@2.1.0: resolution: {integrity: sha512-cJ+oHTW1VAEa8cJslgmUZrc+sjRKgAKl3Zyse6+PV38hZe/V6Z14TbCuXcan9F9ghlz4QrFr2c92TNF82UkYHA==} engines: {node: '>=10'} @@ -7626,34 +7743,30 @@ packages: raf-schd@4.0.3: resolution: {integrity: sha512-tQkJl2GRWh83ui2DiPTJz9wEiMN20syf+5oKfB03yYP7ioZcJwsIK8FjrtLwH1m7C7e+Tt2yYBlrOpdT+dyeIQ==} - rc9@3.0.1: - resolution: {integrity: sha512-gMDyleLWVE+i6Sgtc0QbbY6pEKqYs97NGi6isHQPqYlLemPoO8dxQ3uGi0f4NiP98c+jMW6cG1Kx9dDwfvqARQ==} + rc9@3.1.0: + resolution: {integrity: sha512-ufjkNVzbRHKcCOmTahZkmVsyc3W+MSk3jY03m+a7tGHkIsdVMG9l10/3HvFbWkkKzY5VFp3pkRsIo/UYgmFL7Q==} - react-dom@19.3.0: - resolution: {integrity: sha512-JDk8dgif51OjFoDE70+OT9ICyYr+69HlmihNwp1+Nsfbna3t5sIiCa9ZJktDmQ4/1b/rn26hIAR2uYXDMr5r0Q==} + react-dom@19.3.1: + resolution: {integrity: sha512-Y0bARz53lhEC1NMCASs0/j+faB/zqt3R8hpvg1e8+61ZVJ4UL0UdC4cBbXfZMcIuhrfgeILTLe+ZeBCavQPtKQ==} peerDependencies: - react: ^19.3.0 + react: ^19.3.1 react-is@17.0.2: resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} - react@19.3.0: - resolution: {integrity: sha512-E8LUcbtBWt20bbl2YoHfx4ZDBdxVTfOKtCZn9cDSJ4l6/nuoApcpIBcj47t2wZoVX8g2ZHuMHbiShgCR1T5Sog==} + react@19.3.1: + resolution: {integrity: sha512-QNhWdt7nrgVWWQG58QuGsAR3jv3Hbe4mb4vz7w2csnHavciZJgda1CPNaldF6eVxv90ud3jUXpKlHL69gO38yw==} engines: {node: '>=0.10.0'} readable-stream@2.3.8: resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} - readdirp@3.6.0: - resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} - engines: {node: '>=8.10.0'} - - readdirp@5.0.0: - resolution: {integrity: sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ==} + readdirp@5.1.1: + resolution: {integrity: sha512-Kko+Y5XQ6fM+Ce3dq3m9YGxnacYZYl9cA1wZjaF3Vbry2L3i1qVg8+CAgNPsXRArPMUMCaOR7oa9Nqntc43JKA==} engines: {node: '>= 20.19.0'} - recast@0.23.12: - resolution: {integrity: sha512-dEWRjcINDu/F4l2dYx57ugBtD7HV9KXESyxhzw/MqWLeglJrsjJKqACPyUPg+6AF8mIgm+Zi0dZ3ACoIg+QtpA==} + recast@0.23.21: + resolution: {integrity: sha512-mFAyJq9vUbSTARLZUvAEf1z3YxlvAwswbmxMx2mPA/MSm4KmpwvwvhsH/NIrZhyOuwD60Lzyw2qh83uCbgTPYw==} engines: {node: '>= 4'} rechoir@0.8.0: @@ -7719,15 +7832,11 @@ packages: resolve-pkg-maps@1.0.0: resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} - resolve@1.22.12: - resolution: {integrity: sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==} + resolve@1.22.13: + resolution: {integrity: sha512-Dj/cW9zBV2aRj6XzCxuGIs3ESZKv02jixne3q6jFZYZ3/Tg09gHHviSMDL4kObh9pqSahdRHEnDoaP2gn8YLhA==} engines: {node: '>= 0.4'} hasBin: true - restore-cursor@5.1.0: - resolution: {integrity: sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==} - engines: {node: '>=18'} - reusify@1.1.0: resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} @@ -7735,17 +7844,17 @@ packages: rfdc@1.4.1: resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==} - rolldown@1.2.6: - resolution: {integrity: sha512-vMM4q3aixf46GiF1Kok8jDPFsEpXgFWGjUHXNkNHNm+Y2adXAG2dbX91jkti3i0ZRsOlcmbuzAz1poObSHCmUA==} + rolldown@1.2.16: + resolution: {integrity: sha512-bWvlMpFKiTfDKfnK7FC2MPgPeWCf/Kpwsq49ApdW+FQaBZb6O6dZ4MAPbPUjp7hYQrw/RobqCzn64BRrQecGHw==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true - rollup-plugin-visualizer@6.0.11: - resolution: {integrity: sha512-TBwVHVY7buHjIKVLqr9scTVFwqZqMXINcCphPwIWKPDCOBIa+jCQfafvbjRJDZgXdq/A996Dy6yGJ/+/NtAXDQ==} - engines: {node: '>=18'} + rollup-plugin-visualizer@7.1.1: + resolution: {integrity: sha512-ThaGiHTU8XW02OkK80TrTHATraJmM9OAduU4otal+7gyXLpYEtmGBLfx5kW+EHvvLwn03YGW2NnwKUIqsYlJAA==} + engines: {node: '>=22'} hasBin: true peerDependencies: - rolldown: 1.x || ^1.0.0-beta + rolldown: 1.x || ^1.0.0-beta || ^1.0.0-rc rollup: 2.x || 3.x || 4.x peerDependenciesMeta: rolldown: @@ -7809,11 +7918,21 @@ packages: engines: {node: '>=10'} hasBin: true + semver@7.8.4: + resolution: {integrity: sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==} + engines: {node: '>=10'} + hasBin: true + semver@7.8.5: resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==} engines: {node: '>=10'} hasBin: true + sentry@0.45.0: + resolution: {integrity: sha512-kgmEbLlC22lL7uneeUm9Sjz65rp5cvwYOMTxXbZCmBum4sbVre/lLT3zTV3kwXHJ9/BM8ZS0/GhZe9Cl1t6WyA==} + engines: {node: '>=20.0'} + hasBin: true + set-function-length@1.2.2: resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} @@ -7875,20 +7994,12 @@ packages: resolution: {integrity: sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==} engines: {node: '>=10'} - slice-ansi@7.1.2: - resolution: {integrity: sha512-iOBWFgUX7caIZiuutICxVgX1SdxwAVFFKwt1EvMYYec/NWO5meOJ6K5uQxhrYBdQJne4KxiqZc+KptFOWFSI9w==} - engines: {node: '>=18'} - - slice-ansi@8.0.0: - resolution: {integrity: sha512-stxByr12oeeOyY2BlviTNQlYV5xOj47GirPr4yA1hE9JCtxfQN0+tVbkxwCtYDQWhEKWFHsEK48ORg5jrouCAg==} - engines: {node: '>=20'} - - smol-toml@1.7.0: - resolution: {integrity: sha512-aqVvWoyO21L23mb+drl4RmMXbf6N7FdHjAhTRA9ZBL7apWBgfWC16KjrASI+1p9GAroljyMHj6fK67i0UiTNvQ==} + smol-toml@1.9.1: + resolution: {integrity: sha512-j7WyPdf0CJoutMzMoPLF/bVXHtKZIT9Rb4eGeEbWw8X2t5oirjPgpL+OpaENZrILYaXqYwnVH+qgUwVbl+pUJQ==} engines: {node: '>= 18'} - source-map-js@1.2.1: - resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + source-map-js@1.2.2: + resolution: {integrity: sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==} engines: {node: '>=0.10.0'} source-map-support@0.5.21: @@ -7898,8 +8009,8 @@ packages: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} - source-map@0.7.6: - resolution: {integrity: sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==} + source-map@0.8.0: + resolution: {integrity: sha512-d8EqvL+k/SOXCreS/SUzg2ciyHqBBLcN/yuRjFsbvVhHTE2pgei7oAhmPM7kWFbkX6OSMQfUq4KbkF3au9lhYQ==} engines: {node: '>= 12'} space-separated-tokens@2.0.2: @@ -7925,20 +8036,20 @@ packages: standardized-audio-context@25.3.77: resolution: {integrity: sha512-Ki9zNz6pKcC5Pi+QPjPyVsD9GwJIJWgryji0XL9cAJXMGyn+dPOf6Qik1AHei0+UNVcc4BOCa0hWLBzlwqsW/A==} - start-server-and-test@3.0.12: - resolution: {integrity: sha512-JhW9LiYXqJxyzmgMvBQ6JxVcz16wV+c5IE6rTHofqLBKjSE075Yr9e6sTr8QgrkHMHlHqkDegzKpQfVKxwauJw==} + start-server-and-test@3.0.13: + resolution: {integrity: sha512-Zlgm0u/S+J9XOPljvr2M/cOWCG4BasrNLnBBr/rCK/EWmmTF2c5+P4CCALQNwwmJHovvgsS8aGlmze2ybYUn3g==} engines: {node: ^22 || >=24} hasBin: true - std-env@4.2.0: - resolution: {integrity: sha512-oCUKSupKTHX53EyjDtuZQ64pjLJ6yYCtpmEw0goYxtjG9KpbRe8KAsl2tBUGU9DyMcJ0RwJ8GqJAFzMXcXW1Rw==} + std-env@4.3.0: + resolution: {integrity: sha512-OtU/EgQ1kIm5KwqQpBC6ZEMXrZRui11w8zgfTWp8cdO9B8OaPsbA8bTHO2P+HNo1VlUTGMVBwPhydu6poeXiag==} stop-iteration-iterator@1.1.0: resolution: {integrity: sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==} engines: {node: '>= 0.4'} - storybook@10.5.6: - resolution: {integrity: sha512-VhYwqxPySa24CVXKoWD6gCZXx9//DTmo43YpusGuAoHDYj5Osjt8wuBRQVeGoaLUWnHiPWv8S+GYHrJEaBM6Rg==} + storybook@10.6.5: + resolution: {integrity: sha512-qurC38Nx4PDF9YIq6GO95dpUx8a3B9AZwlcHBo4cOI9At09ifjQRsqcwcdOf2YX0cpVhFKmHkI20SWCrxqYQrg==} hasBin: true peerDependencies: '@types/react': ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 @@ -7968,8 +8079,8 @@ packages: resolution: {integrity: sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==} engines: {node: '>=18'} - string-width@8.2.2: - resolution: {integrity: sha512-GaPUh5gfdrYzqeVNZvUfT23vYYxXzKYidUcnMtJg/3rxRV63EFZy3k6xfKlmfeJD0176lnUV/Usr3XcwSvFzpg==} + string-width@8.3.0: + resolution: {integrity: sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ==} engines: {node: '>=20'} string_decoder@1.1.1: @@ -7994,6 +8105,10 @@ packages: resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} engines: {node: '>=6'} + strip-final-newline@4.0.0: + resolution: {integrity: sha512-aulFJcD6YK8V1G7iRB5tigAP4TsHBZZrOV8pjV++zdUwmeV8uzbY7yn6h9MswN62adStNZFuCIx4haBnRuMDaw==} + engines: {node: '>=18'} + strip-indent@3.0.0: resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} engines: {node: '>=8'} @@ -8006,8 +8121,8 @@ packages: resolution: {integrity: sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==} engines: {node: '>=14.16'} - stylelint@17.14.0: - resolution: {integrity: sha512-8xkHPpdqYryeIsOgfsYTmr6cIeC4nLYWk5S8BPxpodq8mIuepggkMljsHewWfuAjj/+qpRKou2QerhjMH3iasg==} + stylelint@17.16.0: + resolution: {integrity: sha512-ejlWnbJ13x1GU32+zZXa6sYQJsKKkwSdv2B4rAdO3OWdEmvhSJKcXi5pOphQYSzyaj1kXpuGJr7pcMBNfDIuPw==} engines: {node: '>=20.19.0'} hasBin: true @@ -8030,8 +8145,8 @@ packages: resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} engines: {node: '>=10'} - supports-hyperlinks@4.5.0: - resolution: {integrity: sha512-ZW2OvfeCXrNTbLakPUzjQG922EeGCOteFSVoek5DKStTh898wf7zgtuFlzQN8HfZCxC3Eh02yJVrRW51hADf+w==} + supports-hyperlinks@4.6.0: + resolution: {integrity: sha512-FL/q/YePS4tFFTNiBOR+zPk2ZrKheqNtmTJ/9OUZ4e1wKHJofDbGQSmSsxS0XNnabSkqexryCaXGvEKz1vf9UQ==} engines: {node: '>=20'} supports-preserve-symlinks-flag@1.0.0: @@ -8046,13 +8161,14 @@ packages: engines: {node: '>=16'} hasBin: true - symbol-tree@3.2.4: - resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} - synckit@0.11.13: resolution: {integrity: sha512-eNRKgb3z66Yp3D2CixVujOUvXLFUTij/zVnV8KRyvFdQwpz7I5DS8UfRkTeLzb64u+dkzDSdelE24izu+zSSUg==} engines: {node: ^14.18.0 || >=16.0.0} + synckit@0.12.3: + resolution: {integrity: sha512-U+/AXT6LWsxnj2vz9HeUuPWBNgdWxjyIEjEPdbJARC9txmgPzo2VEdqnFo4hHaNyMPtycyVJrSaQYeQv/PoyyA==} + engines: {node: ^14.18.0 || >=16.0.0} + table@6.9.0: resolution: {integrity: sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==} engines: {node: '>=10.0.0'} @@ -8073,15 +8189,15 @@ packages: tailwind-merge@2.6.1: resolution: {integrity: sha512-Oo6tHdpZsGpkKG88HJ8RR1rg/RdnEkQEfMoEk2x1XRI3F1AxeU+ijRXpiVUF4UbLfcxxRGw6TbUINKYdWVsQTQ==} - tailwindcss@4.3.2: - resolution: {integrity: sha512-WtctNNSH8A9jlMIqxzuYumOHU5uGZyRv0Q5svQl+oEPy5w84YpBxdb7MdqyiSPQge5jTJ6zFQLq0PFygdccSBA==} + tailwindcss@4.3.3: + resolution: {integrity: sha512-gOhV3P7ufE62QDGg1zVaTgCR+EtPv92k2nIhVcVKcLmxT1sUBsQGhnZj175j+MqRt4zLF7ic+sCYjfhxMxj7YQ==} tapable@2.3.3: resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} engines: {node: '>=6'} - terser@5.49.0: - resolution: {integrity: sha512-SNiDnXyHSrxVcIOtVbULzcTmniUiwcV7Nwdyj1twVubeTmbjoa8p69KKDpfkdoOavuM4/GRm1+ykI8qqnavHoA==} + terser@5.51.2: + resolution: {integrity: sha512-bWnjSNscmuI+GJze6ZupnHP8G/cTcsJF+bXCeQknk2SHQsgbNJnLrqiH9jZ2W4STPVXH2mDKKRX3iwPhc9Cn/Q==} engines: {node: '>=10'} hasBin: true @@ -8091,8 +8207,8 @@ packages: tiny-invariant@1.3.3: resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==} - tinybench@6.2.0: - resolution: {integrity: sha512-78U2TlB2CnVenajOFzf3BKSm0J6oz5L0NV7g32LCPccvYc0lbWvys4d3uUUCS2B1N8PAf2+aekR8i1KbC3HO7Q==} + tinybench@6.2.2: + resolution: {integrity: sha512-nIZ2N2dFpjBsg2hgitKu7mA+FvsIJuGJOwysRngmVRRmWgR/UyPjwJj8c/fT/dhm8EkHnF5EOogRf+0Z2qrimA==} engines: {node: '>=20.0.0'} tinyest-for-wgsl@0.1.3: @@ -8111,20 +8227,20 @@ packages: resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} engines: {node: '>=12.0.0'} - tinypool@2.1.0: - resolution: {integrity: sha512-Pugqs6M0m7Lv1I7FtxN4aoyToKg1C4tu+/381vH35y8oENM/Ai7f7C4StcoK4/+BSw9ebcS8jRiVrORFKCALLw==} + tinypool@2.1.2: + resolution: {integrity: sha512-9YodfrxS9g9IbFr/KOjE5bAeJ0p61n3bW6mqvy0jtoeKd1kTW1Cxm0oulm6KX2lyM9Gl6WIe8nEbY7LWv5ZJww==} engines: {node: ^20.0.0 || >=22.0.0} tinyrainbow@2.0.0: resolution: {integrity: sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==} engines: {node: '>=14.0.0'} - tinyrainbow@3.1.1: - resolution: {integrity: sha512-yau8yJdTt989Mm0Bd/236QnzEiPf2xLLTqUZRUJOo/3CB078LSwzei343DgtJVmfJKJE3TMINY1u42SQsP6mXw==} + tinyrainbow@3.2.0: + resolution: {integrity: sha512-LgO3D9yZJjApUiuUfl9iFAwrtaX4+lok3wJIqttGoKCHlWUqHqbQpnxCf82L8FjgKsh4iGo78hqJwgL8F6To2A==} engines: {node: '>=14.0.0'} - tinyspy@4.0.4: - resolution: {integrity: sha512-azl+t0z7pw/z958Gy9svOTuzqIk6xq+NSheJzn5MMWtWTFywIacg2wUlzKFGtt3cthx0r2SxMK0yzJOR0IES7Q==} + tinyspy@4.0.6: + resolution: {integrity: sha512-u8KszXvGfU68hVcZpRHKG28T0krMuv2G5nDhiHaMLen/gIuFEgIJhaJuO69qjnXg5paSrbPMFfx3brNuN8eVSg==} engines: {node: '>=14.0.0'} tiptap-markdown@0.9.0: @@ -8132,15 +8248,15 @@ packages: peerDependencies: '@tiptap/core': ^3.0.1 - tldts-core@7.4.8: - resolution: {integrity: sha512-c1P7u0EhACHj7lPy4MJm8iTFEU8+nB0LCtddH0fhP7noaVoXAqafMtOOeX+ulpuPBqnrRgRhw494RICT3mbhnw==} + tldts-core@7.4.20: + resolution: {integrity: sha512-C630TWXZCZmLq0F2bW4QqwnaaxCQ/svpAqvJwnC4JvgEM5ohhBnGsEzTLSOXcN+xjz+kEaHS5uoWIw2klnqd0A==} - tldts@7.4.8: - resolution: {integrity: sha512-htwgN/8KRB3z3vnC0BOETVh2m499g5GmyTK9Wq5JBLX3FNz6tSBveAd+fQhzy9hkjif8vy2jwDMR1sGhLtZl2A==} + tldts@7.4.19: + resolution: {integrity: sha512-48dH6aSpQnpbzDUc4vIQZ1VjB8tkK+e8c1yx05/SZK+rkssgjEOlxDd/yU8/a4vGYQ9vRgJr9dwMq9TJ0b3X2Q==} hasBin: true - tmcp@1.19.4: - resolution: {integrity: sha512-fMoUJ3Gef9iA0yKZNeW2SQCCKTluCwghUyOz/qxPS8XxrQk6Jlw4lgql3S+s6L//FteLeSJ7erKxMWl727mZoQ==} + tmcp@1.20.1: + resolution: {integrity: sha512-fpUliSYZnYOlFbgpUtUAdyKWoLsjyyt1DZc/zvpY5r0aUUUwcp57od4iJGemLcrEQrRF2V7Niktmt7S5DYIqhw==} to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} @@ -8160,9 +8276,9 @@ packages: tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} - tr46@6.0.0: - resolution: {integrity: sha512-bLVMLPtstlZ4iMQHpFHTR7GAGj2jxi8Dg0s2h2MafAE4uSWF98FC/3MomU51iQAMf8/qDUbKWf5GxuvvVcXEhw==} - engines: {node: '>=20'} + tr46@7.0.0: + resolution: {integrity: sha512-BcDSDW+SIGWVOns1Zm6Yg91q9AEj7eaID0QDY9oIqJD1A8dscNwMcl9Sms2DeuWCNov1X0/oXanHGYQBSLwZsg==} + engines: {node: ^22.14.0 || >=24.0.0} tree-kill@1.2.2: resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} @@ -8195,8 +8311,8 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} - tsx@4.23.1: - resolution: {integrity: sha512-GQHnkIfxyx1wYCOS/wonik5MVRZU9hi1TEZmzGZSCJB1y9YgoZ8H6itNE/u4suE+yLmOzuE4E5S4TZ/ZX2wcWQ==} + tsx@4.23.15: + resolution: {integrity: sha512-Yiex1Ovn8z2xPpOWckIiysV1SSyRMY9BkLF++q0yKiDxCqRhosKfMg3janKkiLBwZ5c/YryloKwGZcrEmtwxKw==} engines: {node: '>=18.0.0'} hasBin: true @@ -8211,8 +8327,8 @@ packages: resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} engines: {node: '>=16'} - type-fest@5.8.0: - resolution: {integrity: sha512-YGYEVz3Fm5iy/AybuA0oyNFq7H4CgQNfRp/qfe8nurE1kuCeNm3/vfm9X4Mtl+qLyaKJUh5xrFZwogr41SMjYA==} + type-fest@5.10.0: + resolution: {integrity: sha512-NoSdpq/WEiAg5sjmBkmV/hfxv6HJH4NqPNrqjtSO5CwRmpsDfaf4begxW34KdJykH/l1yHtwBWQkCRdoXO8mPA==} engines: {node: '>=20'} typed-binary@4.3.3: @@ -8222,23 +8338,18 @@ packages: resolution: {integrity: sha512-wkMJWhJE0pSkw2G/FesjqjbtHkREyOKu1Zmyj19xfmaX5+65YFwgfQNKSK8CxqN4kJkP7JFelLDJTSYY536TYg==} engines: {node: '>=12.20.0'} - typescript-eslint@8.69.0: - resolution: {integrity: sha512-B3MltX0VqjUBNEe3b3sSuiRbfa6XrfHFtBiPamjT5AsW/dfq+y+bc0wyuS9DxAS1LyzCxRp2+rxzpLUvqM2BvA==} + typescript-eslint@8.72.1: + resolution: {integrity: sha512-3Li9FfPmQp45nxEtFD1ZCrYFI3cYK5kpyNtmm1H7lMagm8u9sy6PTjy3ytwQZs7KNukOyKFHAZ6z6GjYFeaeXw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 || ^10.0.0 typescript: '>=4.8.4 <6.1.0' - typescript-native-bridge@6.0.3-bridge.17.tsgo.7.0.2: - resolution: {integrity: sha512-n4rPgV60szK0/nJjqXnETdrWCr70EysgH3FRheHL5UME1lRBJhDhUZOoLNulnXlqB+2SXSpxn4KKF3S3l7ZUFA==} + typescript-native-bridge@6.0.3-bridge.19.tsgo.7.0.2: + resolution: {integrity: sha512-BB3iFbsTcNdirXoR+Rmljowvbb/46bBhGwkU9up2+tCE6YjXa+OeNBkwmkzStAMpZVMFnqGC6O0WFBTmVXZ3vw==} engines: {node: '>=20.19'} hasBin: true - typescript@5.9.3: - resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==} - engines: {node: '>=14.17'} - hasBin: true - typescript@6.0.3: resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==} engines: {node: '>=14.17'} @@ -8255,25 +8366,36 @@ packages: ufo@1.6.4: resolution: {integrity: sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==} - unbash@4.0.3: - resolution: {integrity: sha512-3cudTErfToSc4Ggv8XGXVNVli/xHKUtUZvaY5UVwhOcUPbQGz7PeaEnT/SAVgNziZtX67KEN9swMUYkLghxA1w==} + unbash@4.0.12: + resolution: {integrity: sha512-PnKvRX+Fbxl/usVlTr/31tXIOVAH+8OdC9qaxUQcvurwEnoc3Vk/ipi2Ce8IjMxzK9byfSGdsUBjqqJGc1o5lw==} engines: {node: '>=14'} - undici-types@7.24.6: - resolution: {integrity: sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==} + undici-types@8.12.3: + resolution: {integrity: sha512-EXE4ydL3S76dFb27UFjNVZHTyv/TLdATj/KUe29ptdcg6qXL48J2tZ3126E5kICj5jn781OR+XlVH1N6Mz8jbA==} + + undici-types@8.9.0: + resolution: {integrity: sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==} undici@7.29.0: resolution: {integrity: sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==} engines: {node: '>=20.18.1'} + undici@8.12.3: + resolution: {integrity: sha512-+fdndUTwBP86cVjihTp21hZHo7d6oj1c/47XPA3lL8mM0XHs+C4EkcjmgRsFnFk2f/UONGDy9ItBItmXsLOQHw==} + engines: {node: '>=22.19.0'} + unfetch@3.1.2: resolution: {integrity: sha512-L0qrK7ZeAudGiKYw6nzFjnJ2D5WHblUBwmHIqtPS6oKUd+Hcpk7/hKsSmcHsTlpd1TbTNsiRBUKRq3bHLNIqIw==} unfetch@4.2.0: resolution: {integrity: sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA==} - unicorn-magic@0.4.0: - resolution: {integrity: sha512-wH590V9VNgYH9g3lH9wWjTrUoKsjLF6sGLjhR4sH1LWpLmCOH0Zf7PukhDA8BiS7KHe4oPNkcTHqYkj7SOGUOw==} + unicorn-magic@0.3.0: + resolution: {integrity: sha512-+QBBXBCvifc56fsbuxZQ6Sic3wqqc3WWaqxs58gvJrcOuN83HGTCwz3oS5phzU9LthRNE9VrJCFCLUgHeeFnfA==} + engines: {node: '>=18'} + + unicorn-magic@0.4.1: + resolution: {integrity: sha512-lzlXPoVB0Uy/FvTaUgX39RbixYiSKoc3JSoSf01+0c2B6FR3qdYIPN7Qjo/AV7n6sqLCk0509cT3LRj1oSZ1+A==} engines: {node: '>=20'} unist-util-is@6.0.1: @@ -8295,17 +8417,17 @@ packages: resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} engines: {node: '>= 10.0.0'} - unplugin-dts@1.1.0: - resolution: {integrity: sha512-KZJ+qk+lmd9dJY/PJvDRFL9BUtVubKDiX7Ai/X6mlkCArcQNzwmupKjVqHbRA42uqO5ZfFRFc+o8/OCbQ1GonQ==} + unplugin-dts@1.1.2: + resolution: {integrity: sha512-RDqy90XUmFj6rz4U5YoTMdYdaCJe2ZnQZaWIjkWS4952Gv0zBTQyqWtlGgVMPYHa982dURvyoc+sUOFIcDFv+w==} peerDependencies: '@microsoft/api-extractor': '>=7' '@rspack/core': ^1 - '@vue/language-core': ^3.1.5 + '@vue/language-core': 3.3.11 esbuild: '*' rolldown: '*' rollup: '>=3' typescript: '>=4' - vite: ^8.2.2 + vite: ^8.3.5 webpack: ^4 || ^5 peerDependenciesMeta: '@microsoft/api-extractor': @@ -8325,12 +8447,13 @@ packages: webpack: optional: true - unplugin-icons@23.0.1: - resolution: {integrity: sha512-rv0XEJepajKzDLvRUWASM8K+8+/CCfZn2jtogXqg6RIp7kpatRc/aFrVJn8ANQA09e++lPEEv9yX8cC9enc+QQ==} + unplugin-icons@24.0.0: + resolution: {integrity: sha512-wV6c7I0PtiIP8KIU7Z1Ukyc2uzgY9ind3RXNu7j63L9qTWDn7CzLnW9FD57DKbfGpWKQv3qyV2PCtBG8Y5Llcg==} peerDependencies: '@svgr/core': '>=7.0.0' '@svgx/core': ^1.0.1 '@vue/compiler-sfc': ^3.0.2 + '@vue/compiler-vapor': ^3.6.0-rc.5 svelte: ^3.0.0 || ^4.0.0 || ^5.0.0 peerDependenciesMeta: '@svgr/core': @@ -8339,6 +8462,8 @@ packages: optional: true '@vue/compiler-sfc': optional: true + '@vue/compiler-vapor': + optional: true svelte: optional: true @@ -8361,29 +8486,29 @@ packages: '@nuxt/kit': optional: true - unplugin@1.0.1: - resolution: {integrity: sha512-aqrHaVBWW1JVKBHmGo33T5TxeL0qWzfvjWokObHA9bYmN7eNDkwOxmLjhioHl9878qDFMAaT51XNroRyuz7WxA==} - unplugin@2.3.11: resolution: {integrity: sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww==} engines: {node: '>=18.12.0'} - unplugin@3.3.0: - resolution: {integrity: sha512-qa66K+crbfyE6JK10GjvbJeRrOsuC/JpbnHctfyp/i4oBTxWOzJfRZyDiOk1PtErMFRu8JhsU/wPvOdBNWe5Rg==} + unplugin@3.7.0: + resolution: {integrity: sha512-GrM2uq3DQo3hvLU2FjeYhooJ8BY9N6j1Fbzgx7Pta3VVJevsD3VP4dPjZkZOS0mLvN8w9zzr9OlP+31bSMyuLw==} engines: {node: ^20.19.0 || >=22.12.0} peerDependencies: '@farmfe/core': '*' + '@rsbuild/core': '*' '@rspack/core': '*' bun-types-no-globals: '*' esbuild: '*' rolldown: '*' rollup: '*' unloader: '*' - vite: ^8.2.2 + vite: ^8.3.5 webpack: '*' peerDependenciesMeta: '@farmfe/core': optional: true + '@rsbuild/core': + optional: true '@rspack/core': optional: true bun-types-no-globals: @@ -8404,8 +8529,8 @@ packages: unrs-resolver@1.12.2: resolution: {integrity: sha512-dmlRxBJJayXjqTwC+JtF1HhJmgf3ftQ3YejFcZrf4+KKtJv0qDsK1pjqaaVjG7wJ5NJ6UVP1OqRMQ71Z4C3rxQ==} - update-browserslist-db@1.2.3: - resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==} + update-browserslist-db@1.3.4: + resolution: {integrity: sha512-t8wonIOdQyOjtPd2VktlBu6QjTVTks6v8bSi7kd0r2Vll8TK1JYDZtRRdbmCHOAMphkZgrzK+L+vXK4pyZ8t4A==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' @@ -8416,8 +8541,8 @@ packages: uri-template-matcher@1.1.2: resolution: {integrity: sha512-uZc1h12jdO3m/R77SfTEOuo6VbMhgWznaawKpBjRGSJb7i91x5PgI37NQJtG+Cerxkk0yr1pylBY2qG1kQ+aEQ==} - use-sync-external-store@1.6.0: - resolution: {integrity: sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==} + use-sync-external-store@1.7.0: + resolution: {integrity: sha512-6L+EeigHMQhdaIPNIFUKwfWJSwWFQ8gJbJ2DLOs5sDIegTwR9fRxvnM3uciHKjIZhFz+KAv2emhWMRvDmMcY8A==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 @@ -8432,16 +8557,8 @@ packages: resolution: {integrity: sha512-6ZxzVpzDXDa3bJWaHilVayA+BH/1zmxCJoVgvmqJnid/gPoKHxUrS/aC/T6LGQtNHT+XHG9fXPJB4d+IrU30Ew==} hasBin: true - valibot@1.2.0: - resolution: {integrity: sha512-mm1rxUsmOxzrwnX5arGS+U4T25RdvpPjPN4yR0u9pUBov9+zGVtO84tif1eY4r6zWxVxu3KzIyknJy3rxfRZZg==} - peerDependencies: - typescript: '>=5' - peerDependenciesMeta: - typescript: - optional: true - - valibot@1.4.2: - resolution: {integrity: sha512-gjdCvJ6d3RyHAneqxMYMW9QMCwYMb3jpOO0IyHZV1bnRHFBHrX3VkIILt5XYR0WhwHiH7Mty8ovuPZ/O3gamrg==} + valibot@1.5.0: + resolution: {integrity: sha512-nil6AkP2TChWL43Z5uJ6GTxX01CUA+g8LWUM+N/rB9NBbkUMaUsi9PUNzlUPgoKASgmx9f7eGOYpJ04/fSa6FQ==} peerDependencies: typescript: '>=5' peerDependenciesMeta: @@ -8462,19 +8579,19 @@ packages: vite-dev-rpc@2.0.0: resolution: {integrity: sha512-yKwbTwdHKSD2k/aGqyWpPHepo45OQc8lH3/6IfT4ZqeKE26ooKvi4WIEKzqWav8v+9Is8u1k8q54hvOmqASazA==} peerDependencies: - vite: ^8.2.2 + vite: ^8.3.5 vite-hot-client@2.2.0: resolution: {integrity: sha512-76Zs9zrHbH7M7wqeyooGQKdX+yg0pQ0xuQ1PbFp4z5a0Lzn2e5IPFoCswnmqZ4GiwqB4Jo3WcDAMO9jARTJl8w==} peerDependencies: - vite: ^8.2.2 + vite: ^8.3.5 - vite-plugin-dts@5.1.0: - resolution: {integrity: sha512-MfLc2G+mXPUDGGxpHQeYbdunavFP9UpT9yxiAsTgUXRxfEd3HqysSAM4E72jhz5eIz3OOexCHkqiVlQq8ok9/A==} + vite-plugin-dts@5.1.2: + resolution: {integrity: sha512-1bXUz836sWq6ewEMQre3ZtNFVfZk/92DppgCCKP8tWx/NWwV2wHuXlRHb2TztHjbikPxvyAGLGu7hVh94Plwww==} peerDependencies: '@microsoft/api-extractor': '>=7' rollup: '>=3' - vite: ^8.2.2 + vite: ^8.3.5 peerDependenciesMeta: '@microsoft/api-extractor': optional: true @@ -8486,14 +8603,14 @@ packages: vite-plugin-html@3.2.2: resolution: {integrity: sha512-vb9C9kcdzcIo/Oc3CLZVS03dL5pDlOFuhGlZYDCJ840BhWl/0nGeZWf3Qy7NlOayscY4Cm/QRgULCQkEZige5Q==} peerDependencies: - vite: ^8.2.2 + vite: ^8.3.5 vite-plugin-inspect@11.4.1: resolution: {integrity: sha512-ShOFe2PURXGvRS5OrgmOLZOCwDTD7dEBVt0tMpFPKb9AsvqXKCRGM8QgKrUbRbJYFXScHvDPpGRd28rYidC0tA==} engines: {node: '>=14'} peerDependencies: '@nuxt/kit': '*' - vite: ^8.2.2 + vite: ^8.3.5 peerDependenciesMeta: '@nuxt/kit': optional: true @@ -8502,20 +8619,21 @@ packages: resolution: {integrity: sha512-5JLxXWWCo5lJMw16/xVeNvJ8k2zLwZPf1vITLzya/2IePrCBeGe/p/iAokgXHZpEi39fcYtPXmO8SaKeXmqCAA==} engines: {node: '>=v14.21.3'} peerDependencies: - vite: ^8.2.2 + vite: ^8.3.5 + vue: '*' vite-plugin-vue-inspector@6.0.0: resolution: {integrity: sha512-OpyITJLgZNibxlrik1EmRtvXHDjLRxNPsWkGFTERZs2LgMEdG4W0WoFt5GIgp3a3jRou+eJR8U1zOBk/XQgEbw==} peerDependencies: - vite: ^8.2.2 + vite: ^8.3.5 - vite@8.2.2: - resolution: {integrity: sha512-cFKLV/PRgAUlIRm5WjMjJ86jrftzpqcgH+Us+DS8mI3CDNiH30Whrz8uHL3+MOLPAgqbMBAqWdAHAphOAM+z/Q==} + vite@8.3.5: + resolution: {integrity: sha512-z1YpjieJ9g0ebTmQpLBv/oq9E3F9EIlOe+7LahW8SrE3LTiG3udBRUXQOlYXP9b+IC2q2phHeVxj9xGlw34OEQ==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: '@types/node': ^20.19.0 || >=22.12.0 - '@vitejs/devtools': ^0.4.0 || ^0.5.0 + '@vitejs/devtools': ^0.7.1 || ^0.8.0 esbuild: ^0.27.0 || ^0.28.0 jiti: '>=1.21.0' less: ^4.0.0 @@ -8525,7 +8643,7 @@ packages: sugarss: ^5.0.0 terser: ^5.16.0 tsx: ^4.8.1 - yaml: ^2.8.3 + yaml: ^2.9.1 peerDependenciesMeta: '@types/node': optional: true @@ -8552,23 +8670,23 @@ packages: yaml: optional: true - vitest@5.0.2: - resolution: {integrity: sha512-7MQrx9pDv5aHiUcovIb/70Ys3tgtkUVgCtledvKdCmEO+/1Dicq5ZqoSxOW034m03oqC+oHOKui2dM6qtMLoJg==} + vitest@5.0.5: + resolution: {integrity: sha512-cPODOMF8YnkiiYtDdHo6n4wWmBrOBBbOIYH2d33M4l3CdNn72h+qMmO6uXffUN6A5AZFXNND/d+krS9mgkXRfg==} engines: {node: ^22.12.0 || ^24.0.0 || >=26.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' '@opentelemetry/api': ^1.9.0 '@types/node': ^22.0.0 || >=24.0.0 - '@vitest/browser-playwright': 5.0.2 - '@vitest/browser-preview': 5.0.2 + '@vitest/browser-playwright': 5.0.5 + '@vitest/browser-preview': 5.0.5 '@vitest/browser-webdriverio': ^5.0.0-beta.5 || >=5.0.0 - '@vitest/coverage-istanbul': 5.0.2 - '@vitest/coverage-v8': 5.0.2 - '@vitest/ui': 5.0.2 + '@vitest/coverage-istanbul': 5.0.5 + '@vitest/coverage-v8': 5.0.5 + '@vitest/ui': 5.0.5 happy-dom: '*' jsdom: '*' - vite: ^8.2.2 + vite: ^8.3.5 peerDependenciesMeta: '@edge-runtime/vm': optional: true @@ -8597,19 +8715,32 @@ packages: resolution: {integrity: sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==} engines: {node: '>=0.10.0'} + vscode-jsonrpc@10.0.0: + resolution: {integrity: sha512-USSfxg0vDIpTQqlQBGxF3mBARyoS8cU7LHLpbYNh6dOJt32dlskxPWB0Irrh5TllTmyf7oNLAvqDqzklbwwnpA==} + engines: {node: '>=14.17.0'} + + vscode-languageserver-protocol@3.18.5: + resolution: {integrity: sha512-FW4fBMzZ99N8xeob4py0l050wgCoRgTpEq5Xcsb9lM1bc29UKGR/wSV+4knaqFxssFHajy7OzNiKP/m3U1ZEuA==} + + vscode-languageserver-textdocument@1.0.16: + resolution: {integrity: sha512-qeNEuOi9a3qkqRf7Gfez2WL2VwlBTLCNekHBGO9kxPVUp9XuY15yfTJ9jwvOwKI0I2MhUUfZq95NSp+LK1CLQg==} + + vscode-languageserver-types@3.18.5: + resolution: {integrity: sha512-kPd6+JQNz3HMJvjKlqUxERSlZHAntl/aGpsk7ImwIh0ewDKDcjgAEyVSYciPiOJD3ftbK9IrfiqUeTZLSbCizw==} + vscode-uri@3.2.0: resolution: {integrity: sha512-m2gXo3bn0G1kT9InzMf07fTbqMbGtyckj3bH5ktLO+1Ssv+yiATZ4dhwaQv9UZWxJh6E9IFGnQyjgWVDWVBDrg==} - vue-component-meta@3.3.7: - resolution: {integrity: sha512-rqMY/EGOHGLcUbCb1VRZNBlDpUS12O0kMJL133Z3TrWpKmwtdGNLALTwEX1jBskoV+ibQp/aWEW+87a79FexCA==} + vue-component-meta@3.3.14: + resolution: {integrity: sha512-OQT0AVGbFjmo/aIsyrNN8M3zR3D7U3SNyQPzVlotl89dxIdhhy95wYALiiFrHkBWyvTLRxMRQ3cqkbOMHEh8DQ==} peerDependencies: typescript: '*' peerDependenciesMeta: typescript: optional: true - vue-component-type-helpers@3.3.11: - resolution: {integrity: sha512-LwcxzeliO9fkQcpJG0PoX8X5kmAhKmH9wkpDLxNabwzkQ9Zeib2YVHwFV4pcWmMLfXVfjr/dSV+DaJ3cIPgSNA==} + vue-component-type-helpers@3.3.14: + resolution: {integrity: sha512-Pq3+OnbCiPCHk0R7KSZrx+j/XXaUn2kSQ1epxq60w8CPbByLjC1EJgV51n4WY851sTXUVzsNMuitywdkdVyKjA==} vue-demi@0.14.10: resolution: {integrity: sha512-nMZBOwuzabUO0nLgIcc6rycZEebF6eeUfaiQx9+WSk8e29IbLvPU9feI6tqW4kTo3hvoYAJkMh8n8D0fuISphg==} @@ -8650,7 +8781,7 @@ packages: '@pinia/colada': '>=0.21.2' '@vue/compiler-sfc': ^3.5.34 || ^4.0.0 pinia: ^3.0.4 || ^4.0.2 - vite: ^8.2.2 + vite: ^8.3.5 vue: ^3.5.34 || ^4.0.0 peerDependenciesMeta: '@pinia/colada': @@ -8668,8 +8799,8 @@ packages: peerDependencies: typescript: '>=5.0.0' - vue@3.5.42: - resolution: {integrity: sha512-4RyHQTbQvOPs3MfvUO1Sg0YRrKNnA0mAVtvpd12Tg1fKDN7OHBUl1IqSn8zGJjK9nI3NkNp8cgTpVrSZC5TTcA==} + vue@3.5.44: + resolution: {integrity: sha512-dvvmaOCG7lAMkJTPqPwWeGMsPS6DIsFsfZDUgBp9V6mHf9b3+/wyVwYR4Es+WV6uJC0FKRxp81Obcq0ZwUcGFQ==} peerDependencies: typescript: '*' peerDependenciesMeta: @@ -8679,12 +8810,12 @@ packages: w3c-keyname@2.2.8: resolution: {integrity: sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==} - w3c-xmlserializer@5.0.0: - resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==} - engines: {node: '>=18'} + w3c-xmlserializer@6.0.0: + resolution: {integrity: sha512-4Nsy8K5Tr6SPDH9jhKJOHf7ChDrc1zufZTVSF7x72hwuEXBqxqk9G6cK+K2NRUtB3iELRJqjXb4JPDMBjMTl2Q==} + engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} - wait-on@9.1.0: - resolution: {integrity: sha512-PymrLXHLBM1Ju/Xspb2ADUhbPSMvbnuNvy/mN2hWtpbJ3da0h3Ky1LqwKPG5QSVR57liyO0iUpfipYl/s5qNvA==} + wait-on@9.5.1: + resolution: {integrity: sha512-bOtj1wRY6u+GPnNskZLcgZNHOaL5NC4+5hRCbEpVoVX6MbMrCLCqIBM2bjsAfrgst3ZC0siIo7vLb4LuYFfIow==} engines: {node: '>=20.0.0'} hasBin: true @@ -8710,13 +8841,6 @@ packages: resolution: {integrity: sha512-BMhLD/Sw+GbJC21C/UgyaZX41nPt8bUTg+jWyDeg7e7YN4xOM05YPSIXceACnXVtqyEw/LMClUQMtMZ+PGGpqQ==} engines: {node: '>=20'} - webpack-sources@3.5.1: - resolution: {integrity: sha512-jyuiGJdtvY434z5bUZrjz67v76/ePNvFZTp9Mdz29IlH4+GPsgyGjiv0fKI+M7BdkU6ADjulUcKAd3tUK3WlEw==} - engines: {node: '>=10.13.0'} - - webpack-virtual-modules@0.5.0: - resolution: {integrity: sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==} - webpack-virtual-modules@0.6.2: resolution: {integrity: sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==} @@ -8736,9 +8860,9 @@ packages: resolution: {integrity: sha512-sXcNcHOC51uPGF0P/D4NVtrkjSU2fNsm9iog4ZvZJsL3rjoDAzXZhkm2MWt1y+PUdggKAYVoMAIYcs78wJ51Cw==} engines: {node: '>=20'} - whatwg-url@16.0.1: - resolution: {integrity: sha512-1to4zXBxmXHV3IiSSEInrreIlu02vUOvrhxJJH5vcxYTBDAx51cqZiKdyTxlecdKNSjj8EcxGBxNf6Vg+945gw==} - engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0} + whatwg-url@17.3.0: + resolution: {integrity: sha512-KwOAJrpf+GTgBvcBQJcP38sMF0DsQKdwtG+TxM2pW44P6E5k0hDbWrDmyuJDIF0Uef0aQq0ZoJs+5oI+k8ddhg==} + engines: {node: ^22.14.0 || >=24.0.0} whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} @@ -8751,8 +8875,13 @@ packages: resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==} engines: {node: '>= 0.4'} - which-typed-array@1.1.22: - resolution: {integrity: sha512-fvO4ExWMFsqyhG3AiPAObMuY1lxaqgYcxbc49CNdWDDECOJNgQyvsOWVwbZc+qf3rzRtxojBK+CMEv0Ld5CYpw==} + which-command@0.1.0: + resolution: {integrity: sha512-XZyoF5/5hZtXitIwzrU4NKK+Wtbb9aB9CezUEw2Q0wlYK8NUYQxC1rRXgNueYLtBAJwXIb+/tFVk4dozciNJMA==} + engines: {node: '>=22'} + hasBin: true + + which-typed-array@1.1.24: + resolution: {integrity: sha512-wk4Mf4pR5mRP7eYuuTBCIQ9d0ud2Fv2jRLQpfgnRjbOxAFHmjKFValgTpitVKzJJS8ajnYQV2Du1SZ8j6b/EUQ==} engines: {node: '>= 0.4'} which@1.3.1: @@ -8764,8 +8893,8 @@ packages: engines: {node: '>= 8'} hasBin: true - why-is-node-running@3.2.2: - resolution: {integrity: sha512-NKUzAelcoCXhXL4dJzKIwXeR8iEVqsA0Lq6Vnd0UXvgaKbzVo4ZTHROF2Jidrv+SgxOQ03fMinnNhzZATxOD3A==} + why-is-node-running@3.2.1: + resolution: {integrity: sha512-Tb2FUhB4vUsGQlfSquQLYkApkuPAFQXGFzxWKHHumVz2dK+X1RUm/HnID4+TfIGYJ1kTcwOaCk/buYCEJr6YjQ==} engines: {node: '>=20.11'} hasBin: true @@ -8796,8 +8925,8 @@ packages: resolution: {integrity: sha512-OTIk8iR8/aCRWBqvxrzxR0hgxWpnYBblY1S5hDWBQfk/VFmJwzmJgQFN3WsoUKHISv2eAwe+PpbUzyL1CKTLXg==} engines: {node: ^20.17.0 || >=22.9.0} - ws@8.21.1: - resolution: {integrity: sha512-+0NTnW77fFN/DjQi6k/Sq/Yvk4Sgajw7urW8V+asjXnRgDs9gyGkdb7EzgfhA4goXsRIZKE28fzIXBHEzhuiWw==} + ws@8.22.0: + resolution: {integrity: sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==} engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 @@ -8816,6 +8945,10 @@ packages: resolution: {integrity: sha512-g/eziiSUNBSsdDJtCLB8bdYEUMj4jR7AGeUo96p/3dTafgjHhpF4RiCFPiRILwjQoDXx5MqkBr4fwWtR3Ky4Wg==} engines: {node: '>=20'} + wsl-utils@1.0.1: + resolution: {integrity: sha512-c16PKLIRxBYpR3jSWsdS7SFp0COm5SOQdiFjY818dYFHJbMGuLBszpF07LBWmOS1uzrHa9VGdynsEgoeKy0oOQ==} + engines: {node: '>=20'} + wtd-core@3.0.0: resolution: {integrity: sha512-LSPfAQ5ULSV5vPhipcjdQvV5xOx25QesYK23jwUOF99xOx6fuulk7CMQerERRwA4uoQooNmRd8AT6IPBwORlWQ==} @@ -8847,8 +8980,8 @@ packages: resolution: {integrity: sha512-1zo9KRfp6vIAXBEhWAz09ex3hUwh3T+/6dGbGteHvNseA0Uk4FgQnPES55klZ6cDzSy9FpgKS0D/CoLUvCCj4w==} engines: {node: ^20.19.0 || ^22.13.0 || >=24} - yaml@2.9.0: - resolution: {integrity: sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==} + yaml@2.9.1: + resolution: {integrity: sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==} engines: {node: '>= 14.6'} hasBin: true @@ -8856,10 +8989,21 @@ packages: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} + yargs-parser@22.0.0: + resolution: {integrity: sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==} + engines: {node: ^20.19.0 || ^22.12.0 || >=23} + yargs@17.7.3: resolution: {integrity: sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==} engines: {node: '>=12'} + yargs@18.2.0: + resolution: {integrity: sha512-9OpKOLeaoNFecEp7P6iYbzze/5CqWoH7N3SMs/6y1XF4nMvFMspEGZzJ6uFi9MmQwXhyzqYoSEKO3tvA3Z/o2w==} + engines: {node: ^20.19.0 || ^22.12.0 || >=23} + + yazl@3.3.1: + resolution: {integrity: sha512-BbETDVWG+VcMUle37k5Fqp//7SDOK2/1+T7X8TD96M3D9G8jK5VLUdQVdVjGi8im7FGkazX7kk5hkU8X4L5Bng==} + yjs@13.6.32: resolution: {integrity: sha512-lfiJIIC4Xayt5ItynE407ehlE03pCjeOc4hkR4yxxvvNJ4kuiN25B0g+Qp8XagYz361LLL7DCzR5bvFJ81QKtQ==} engines: {node: '>=16.0.0', npm: '>=8.0.0'} @@ -8868,6 +9012,10 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} + yoctocolors@2.2.0: + resolution: {integrity: sha512-xYqdZFUK/VYazNl/oCDYN+3WloWQwMfZxBoiNt6qNyk+xfOdi598muWE42rNZFp1kNOiqW936q5RhUdnpqElSg==} + engines: {node: '>=18'} + zip-dir@2.0.0: resolution: {integrity: sha512-uhlsJZWz26FLYXOD6WVuq+fIcZ3aBPGo/cFdiLlv3KNwpa52IF3ISV8fLhQLiqVu5No3VhlqlgthN6gehil1Dg==} @@ -8877,8 +9025,8 @@ packages: peerDependencies: zod: ^3.25.0 || ^4.0.0 - zod@4.6.5: - resolution: {integrity: sha512-v5l/aFXZQeai4awLbOpSoHecE9UiMrnfx75tEXLjNonXVARxQ5mOeipTjROUchszUNCqnE+hqAMujRsRHsut2Q==} + zod@4.6.7: + resolution: {integrity: sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==} zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} @@ -8975,32 +9123,32 @@ snapshots: '@antfu/install-pkg@1.1.0': dependencies: - package-manager-detector: 1.7.0 + package-manager-detector: 1.9.0 tinyexec: 1.3.1 - '@asamuzakjp/css-color@5.1.11': + '@antfu/install-pkg@2.1.0': dependencies: - '@asamuzakjp/generational-cache': 1.0.1 - '@csstools/css-calc': 3.2.1(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0) - '@csstools/css-color-parser': 4.1.9(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0) - '@csstools/css-parser-algorithms': 4.0.0(@csstools/css-tokenizer@4.0.0) - '@csstools/css-tokenizer': 4.0.0 + package-manager-detector: 1.9.0 + tinyexec: 1.3.1 + + '@asamuzakjp/css-color@7.1.9': + dependencies: + '@csstools/css-calc': 3.4.3(@csstools/css-parser-algorithms@4.0.2(@csstools/css-tokenizer@4.0.2))(@csstools/css-tokenizer@4.0.2) + '@csstools/css-color-parser': 4.2.7(@csstools/css-parser-algorithms@4.0.2(@csstools/css-tokenizer@4.0.2))(@csstools/css-tokenizer@4.0.2) + '@csstools/css-parser-algorithms': 4.0.2(@csstools/css-tokenizer@4.0.2) + '@csstools/css-tokenizer': 4.0.2 + lru-cache: 11.5.3 - '@asamuzakjp/dom-selector@7.1.1': + '@asamuzakjp/dom-selector@10.0.5': dependencies: - '@asamuzakjp/generational-cache': 1.0.1 - '@asamuzakjp/nwsapi': 2.3.9 - bidi-js: 1.0.3 + bidi-js: 1.1.0 css-tree: 3.2.1 is-potential-custom-element-name: 1.0.1 - - '@asamuzakjp/generational-cache@1.0.1': {} - - '@asamuzakjp/nwsapi@2.3.9': {} + lru-cache: 11.5.3 '@atlaskit/pragmatic-drag-and-drop@1.8.1': dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 bind-event-listener: 3.0.0 raf-schd: 4.0.3 @@ -9012,30 +9160,30 @@ snapshots: '@babel/compat-data@7.29.7': {} - '@babel/core@7.29.7': + '@babel/core@7.29.7(supports-color@10.2.2)': dependencies: '@babel/code-frame': 7.29.7 - '@babel/generator': 7.29.8 + '@babel/generator': 7.29.12 '@babel/helper-compilation-targets': 7.29.7 - '@babel/helper-module-transforms': 7.29.7(@babel/core@7.29.7) - '@babel/helpers': 7.29.7 - '@babel/parser': 7.29.8 + '@babel/helper-module-transforms': 7.29.7(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2) + '@babel/helpers': 7.29.10 + '@babel/parser': 7.29.12 '@babel/template': 7.29.7 - '@babel/traverse': 7.29.8 - '@babel/types': 7.29.8 + '@babel/traverse': 7.29.12(supports-color@10.2.2) + '@babel/types': 7.29.11 '@jridgewell/remapping': 2.3.5 convert-source-map: 2.0.0 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 transitivePeerDependencies: - supports-color - '@babel/generator@7.29.8': + '@babel/generator@7.29.12': dependencies: - '@babel/parser': 7.29.8 - '@babel/types': 7.29.8 + '@babel/parser': 7.29.12 + '@babel/types': 7.29.11 '@jridgewell/gen-mapping': 0.3.13 '@jridgewell/trace-mapping': 0.3.31 jsesc: 3.1.0 @@ -9051,77 +9199,77 @@ snapshots: '@babel/helper-annotate-as-pure@7.29.7': dependencies: - '@babel/types': 7.29.8 + '@babel/types': 7.29.11 '@babel/helper-compilation-targets@7.29.7': dependencies: '@babel/compat-data': 7.29.7 '@babel/helper-validator-option': 7.29.7 - browserslist: 4.28.6 + browserslist: 4.29.5 lru-cache: 5.1.1 semver: 6.3.1 - '@babel/helper-create-class-features-plugin@7.29.7(@babel/core@7.29.7)': + '@babel/helper-create-class-features-plugin@7.29.12(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2)': dependencies: - '@babel/core': 7.29.7 + '@babel/core': 7.29.7(supports-color@10.2.2) '@babel/helper-annotate-as-pure': 7.29.7 - '@babel/helper-member-expression-to-functions': 7.29.7 + '@babel/helper-member-expression-to-functions': 7.29.7(supports-color@10.2.2) '@babel/helper-optimise-call-expression': 7.29.7 - '@babel/helper-replace-supers': 7.29.7(@babel/core@7.29.7) - '@babel/helper-skip-transparent-expression-wrappers': 7.29.7 - '@babel/traverse': 7.29.8 + '@babel/helper-replace-supers': 7.29.7(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2) + '@babel/helper-skip-transparent-expression-wrappers': 7.29.7(supports-color@10.2.2) + '@babel/traverse': 7.29.12(supports-color@10.2.2) semver: 6.3.1 transitivePeerDependencies: - supports-color '@babel/helper-globals@7.29.7': {} - '@babel/helper-member-expression-to-functions@7.29.7': + '@babel/helper-member-expression-to-functions@7.29.7(supports-color@10.2.2)': dependencies: - '@babel/traverse': 7.29.8 - '@babel/types': 7.29.8 + '@babel/traverse': 7.29.12(supports-color@10.2.2) + '@babel/types': 7.29.11 transitivePeerDependencies: - supports-color - '@babel/helper-module-imports@7.29.7': + '@babel/helper-module-imports@7.29.7(supports-color@10.2.2)': dependencies: - '@babel/traverse': 7.29.8 - '@babel/types': 7.29.8 + '@babel/traverse': 7.29.12(supports-color@10.2.2) + '@babel/types': 7.29.11 transitivePeerDependencies: - supports-color - '@babel/helper-module-transforms@7.29.7(@babel/core@7.29.7)': + '@babel/helper-module-transforms@7.29.7(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2)': dependencies: - '@babel/core': 7.29.7 - '@babel/helper-module-imports': 7.29.7 + '@babel/core': 7.29.7(supports-color@10.2.2) + '@babel/helper-module-imports': 7.29.7(supports-color@10.2.2) '@babel/helper-validator-identifier': 7.29.7 - '@babel/traverse': 7.29.8 + '@babel/traverse': 7.29.12(supports-color@10.2.2) transitivePeerDependencies: - supports-color '@babel/helper-optimise-call-expression@7.29.7': dependencies: - '@babel/types': 7.29.8 + '@babel/types': 7.29.11 '@babel/helper-plugin-utils@7.29.7': {} - '@babel/helper-replace-supers@7.29.7(@babel/core@7.29.7)': + '@babel/helper-replace-supers@7.29.7(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2)': dependencies: - '@babel/core': 7.29.7 - '@babel/helper-member-expression-to-functions': 7.29.7 + '@babel/core': 7.29.7(supports-color@10.2.2) + '@babel/helper-member-expression-to-functions': 7.29.7(supports-color@10.2.2) '@babel/helper-optimise-call-expression': 7.29.7 - '@babel/traverse': 7.29.8 + '@babel/traverse': 7.29.12(supports-color@10.2.2) transitivePeerDependencies: - supports-color - '@babel/helper-skip-transparent-expression-wrappers@7.29.7': + '@babel/helper-skip-transparent-expression-wrappers@7.29.7(supports-color@10.2.2)': dependencies: - '@babel/traverse': 7.29.8 - '@babel/types': 7.29.8 + '@babel/traverse': 7.29.12(supports-color@10.2.2) + '@babel/types': 7.29.11 transitivePeerDependencies: - supports-color - '@babel/helper-string-parser@7.29.7': {} + '@babel/helper-string-parser@7.29.11': {} '@babel/helper-string-parser@8.0.0': {} @@ -9131,89 +9279,89 @@ snapshots: '@babel/helper-validator-option@7.29.7': {} - '@babel/helpers@7.29.7': + '@babel/helpers@7.29.10': dependencies: '@babel/template': 7.29.7 - '@babel/types': 7.29.8 + '@babel/types': 7.29.11 - '@babel/parser@7.29.8': + '@babel/parser@7.29.12': dependencies: - '@babel/types': 7.29.8 + '@babel/types': 7.29.11 '@babel/parser@8.0.4': dependencies: '@babel/types': 8.0.4 - '@babel/plugin-proposal-decorators@7.29.7(@babel/core@7.29.7)': + '@babel/plugin-proposal-decorators@7.29.7(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2)': dependencies: - '@babel/core': 7.29.7 - '@babel/helper-create-class-features-plugin': 7.29.7(@babel/core@7.29.7) + '@babel/core': 7.29.7(supports-color@10.2.2) + '@babel/helper-create-class-features-plugin': 7.29.12(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2) '@babel/helper-plugin-utils': 7.29.7 - '@babel/plugin-syntax-decorators': 7.29.7(@babel/core@7.29.7) + '@babel/plugin-syntax-decorators': 7.29.7(@babel/core@7.29.7(supports-color@10.2.2)) transitivePeerDependencies: - supports-color - '@babel/plugin-syntax-decorators@7.29.7(@babel/core@7.29.7)': + '@babel/plugin-syntax-decorators@7.29.7(@babel/core@7.29.7(supports-color@10.2.2))': dependencies: - '@babel/core': 7.29.7 + '@babel/core': 7.29.7(supports-color@10.2.2) '@babel/helper-plugin-utils': 7.29.7 - '@babel/plugin-syntax-import-attributes@7.29.7(@babel/core@7.29.7)': + '@babel/plugin-syntax-import-attributes@7.29.7(@babel/core@7.29.7(supports-color@10.2.2))': dependencies: - '@babel/core': 7.29.7 + '@babel/core': 7.29.7(supports-color@10.2.2) '@babel/helper-plugin-utils': 7.29.7 - '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.29.7)': + '@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.29.7(supports-color@10.2.2))': dependencies: - '@babel/core': 7.29.7 + '@babel/core': 7.29.7(supports-color@10.2.2) '@babel/helper-plugin-utils': 7.29.7 - '@babel/plugin-syntax-jsx@7.29.7(@babel/core@7.29.7)': + '@babel/plugin-syntax-jsx@7.29.7(@babel/core@7.29.7(supports-color@10.2.2))': dependencies: - '@babel/core': 7.29.7 + '@babel/core': 7.29.7(supports-color@10.2.2) '@babel/helper-plugin-utils': 7.29.7 - '@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7)': + '@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7(supports-color@10.2.2))': dependencies: - '@babel/core': 7.29.7 + '@babel/core': 7.29.7(supports-color@10.2.2) '@babel/helper-plugin-utils': 7.29.7 - '@babel/plugin-transform-typescript@7.29.7(@babel/core@7.29.7)': + '@babel/plugin-transform-typescript@7.29.9(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2)': dependencies: - '@babel/core': 7.29.7 + '@babel/core': 7.29.7(supports-color@10.2.2) '@babel/helper-annotate-as-pure': 7.29.7 - '@babel/helper-create-class-features-plugin': 7.29.7(@babel/core@7.29.7) + '@babel/helper-create-class-features-plugin': 7.29.12(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2) '@babel/helper-plugin-utils': 7.29.7 - '@babel/helper-skip-transparent-expression-wrappers': 7.29.7 - '@babel/plugin-syntax-typescript': 7.29.7(@babel/core@7.29.7) + '@babel/helper-skip-transparent-expression-wrappers': 7.29.7(supports-color@10.2.2) + '@babel/plugin-syntax-typescript': 7.29.7(@babel/core@7.29.7(supports-color@10.2.2)) transitivePeerDependencies: - supports-color - '@babel/runtime@7.29.7': {} + '@babel/runtime@7.29.10': {} - '@babel/standalone@7.29.7': {} + '@babel/standalone@7.29.12': {} '@babel/template@7.29.7': dependencies: '@babel/code-frame': 7.29.7 - '@babel/parser': 7.29.8 - '@babel/types': 7.29.8 + '@babel/parser': 7.29.12 + '@babel/types': 7.29.11 - '@babel/traverse@7.29.8': + '@babel/traverse@7.29.12(supports-color@10.2.2)': dependencies: '@babel/code-frame': 7.29.7 - '@babel/generator': 7.29.8 + '@babel/generator': 7.29.12 '@babel/helper-globals': 7.29.7 - '@babel/parser': 7.29.8 + '@babel/parser': 7.29.12 '@babel/template': 7.29.7 - '@babel/types': 7.29.8 - debug: 4.4.3 + '@babel/types': 7.29.11 + debug: 4.4.3(supports-color@10.2.2) transitivePeerDependencies: - supports-color - '@babel/types@7.29.8': + '@babel/types@7.29.11': dependencies: - '@babel/helper-string-parser': 7.29.7 + '@babel/helper-string-parser': 7.29.11 '@babel/helper-validator-identifier': 7.29.7 '@babel/types@8.0.4': @@ -9223,7 +9371,7 @@ snapshots: '@bcoe/v8-coverage@1.0.2': {} - '@bramus/specificity@2.4.2': + '@bramus/specificity@2.4.3': dependencies: css-tree: 3.2.1 @@ -9271,42 +9419,42 @@ snapshots: fflate: 0.8.3 three: 0.186.1 - '@csstools/color-helpers@6.1.0': {} + '@csstools/color-helpers@6.1.2': {} - '@csstools/css-calc@3.2.1(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0)': + '@csstools/css-calc@3.4.3(@csstools/css-parser-algorithms@4.0.2(@csstools/css-tokenizer@4.0.2))(@csstools/css-tokenizer@4.0.2)': dependencies: - '@csstools/css-parser-algorithms': 4.0.0(@csstools/css-tokenizer@4.0.0) - '@csstools/css-tokenizer': 4.0.0 + '@csstools/css-parser-algorithms': 4.0.2(@csstools/css-tokenizer@4.0.2) + '@csstools/css-tokenizer': 4.0.2 - '@csstools/css-color-parser@4.1.9(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0)': + '@csstools/css-color-parser@4.2.7(@csstools/css-parser-algorithms@4.0.2(@csstools/css-tokenizer@4.0.2))(@csstools/css-tokenizer@4.0.2)': dependencies: - '@csstools/color-helpers': 6.1.0 - '@csstools/css-calc': 3.2.1(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0) - '@csstools/css-parser-algorithms': 4.0.0(@csstools/css-tokenizer@4.0.0) - '@csstools/css-tokenizer': 4.0.0 + '@csstools/color-helpers': 6.1.2 + '@csstools/css-calc': 3.4.3(@csstools/css-parser-algorithms@4.0.2(@csstools/css-tokenizer@4.0.2))(@csstools/css-tokenizer@4.0.2) + '@csstools/css-parser-algorithms': 4.0.2(@csstools/css-tokenizer@4.0.2) + '@csstools/css-tokenizer': 4.0.2 - '@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0)': + '@csstools/css-parser-algorithms@4.0.2(@csstools/css-tokenizer@4.0.2)': dependencies: - '@csstools/css-tokenizer': 4.0.0 + '@csstools/css-tokenizer': 4.0.2 - '@csstools/css-syntax-patches-for-csstree@1.1.6(css-tree@3.2.1)': + '@csstools/css-syntax-patches-for-csstree@1.1.16(css-tree@3.2.1)': optionalDependencies: css-tree: 3.2.1 - '@csstools/css-tokenizer@4.0.0': {} + '@csstools/css-tokenizer@4.0.2': {} - '@csstools/media-query-list-parser@5.0.0(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0)': + '@csstools/media-query-list-parser@5.0.2(@csstools/css-parser-algorithms@4.0.2(@csstools/css-tokenizer@4.0.2))(@csstools/css-tokenizer@4.0.2)': dependencies: - '@csstools/css-parser-algorithms': 4.0.0(@csstools/css-tokenizer@4.0.0) - '@csstools/css-tokenizer': 4.0.0 + '@csstools/css-parser-algorithms': 4.0.2(@csstools/css-tokenizer@4.0.2) + '@csstools/css-tokenizer': 4.0.2 - '@csstools/selector-resolve-nested@4.0.0(postcss-selector-parser@7.1.4)': + '@csstools/selector-resolve-nested@4.0.2(postcss-selector-parser@7.1.7)': dependencies: - postcss-selector-parser: 7.1.4 + postcss-selector-parser: 7.1.7 - '@csstools/selector-specificity@6.0.0(postcss-selector-parser@7.1.4)': + '@csstools/selector-specificity@6.0.1(postcss-selector-parser@7.1.7)': dependencies: - postcss-selector-parser: 7.1.4 + postcss-selector-parser: 7.1.7 '@customerio/cdp-analytics-browser@0.5.6': dependencies: @@ -9338,26 +9486,19 @@ snapshots: '@datadog/browser-core@6.33.0': {} - '@datadog/browser-logs@6.33.0(@datadog/browser-rum@6.33.0)': - dependencies: - '@datadog/browser-core': 6.33.0 - optionalDependencies: - '@datadog/browser-rum': 6.33.0(@datadog/browser-logs@6.33.0) - optional: true - '@datadog/browser-rum-core@6.33.0': dependencies: '@datadog/browser-core': 6.33.0 - '@datadog/browser-rum@6.33.0(@datadog/browser-logs@6.33.0)': + '@datadog/browser-rum@6.33.0': dependencies: '@datadog/browser-core': 6.33.0 '@datadog/browser-rum-core': 6.33.0 - optionalDependencies: - '@datadog/browser-logs': 6.33.0(@datadog/browser-rum@6.33.0) '@dimforge/rapier3d-compat@0.12.0': {} + '@dual-bundle/import-meta-resolve@4.2.1': {} + '@emnapi/core@1.10.0': dependencies: '@emnapi/wasi-threads': 1.2.1 @@ -9376,12 +9517,6 @@ snapshots: tslib: 2.8.1 optional: true - '@emnapi/core@1.11.2': - dependencies: - '@emnapi/wasi-threads': 1.2.2 - tslib: 2.8.1 - optional: true - '@emnapi/core@1.9.2': dependencies: '@emnapi/wasi-threads': 1.2.1 @@ -9403,11 +9538,6 @@ snapshots: tslib: 2.8.1 optional: true - '@emnapi/runtime@1.11.2': - dependencies: - tslib: 2.8.1 - optional: true - '@emnapi/runtime@1.9.2': dependencies: tslib: 2.8.1 @@ -9425,96 +9555,96 @@ snapshots: '@epic-web/invariant@1.0.0': {} - '@esbuild/aix-ppc64@0.28.1': + '@esbuild/aix-ppc64@0.28.2': optional: true - '@esbuild/android-arm64@0.28.1': + '@esbuild/android-arm64@0.28.2': optional: true - '@esbuild/android-arm@0.28.1': + '@esbuild/android-arm@0.28.2': optional: true - '@esbuild/android-x64@0.28.1': + '@esbuild/android-x64@0.28.2': optional: true - '@esbuild/darwin-arm64@0.28.1': + '@esbuild/darwin-arm64@0.28.2': optional: true - '@esbuild/darwin-x64@0.28.1': + '@esbuild/darwin-x64@0.28.2': optional: true - '@esbuild/freebsd-arm64@0.28.1': + '@esbuild/freebsd-arm64@0.28.2': optional: true - '@esbuild/freebsd-x64@0.28.1': + '@esbuild/freebsd-x64@0.28.2': optional: true - '@esbuild/linux-arm64@0.28.1': + '@esbuild/linux-arm64@0.28.2': optional: true - '@esbuild/linux-arm@0.28.1': + '@esbuild/linux-arm@0.28.2': optional: true - '@esbuild/linux-ia32@0.28.1': + '@esbuild/linux-ia32@0.28.2': optional: true - '@esbuild/linux-loong64@0.28.1': + '@esbuild/linux-loong64@0.28.2': optional: true - '@esbuild/linux-mips64el@0.28.1': + '@esbuild/linux-mips64el@0.28.2': optional: true - '@esbuild/linux-ppc64@0.28.1': + '@esbuild/linux-ppc64@0.28.2': optional: true - '@esbuild/linux-riscv64@0.28.1': + '@esbuild/linux-riscv64@0.28.2': optional: true - '@esbuild/linux-s390x@0.28.1': + '@esbuild/linux-s390x@0.28.2': optional: true - '@esbuild/linux-x64@0.28.1': + '@esbuild/linux-x64@0.28.2': optional: true - '@esbuild/netbsd-arm64@0.28.1': + '@esbuild/netbsd-arm64@0.28.2': optional: true - '@esbuild/netbsd-x64@0.28.1': + '@esbuild/netbsd-x64@0.28.2': optional: true - '@esbuild/openbsd-arm64@0.28.1': + '@esbuild/openbsd-arm64@0.28.2': optional: true - '@esbuild/openbsd-x64@0.28.1': + '@esbuild/openbsd-x64@0.28.2': optional: true - '@esbuild/openharmony-arm64@0.28.1': + '@esbuild/openharmony-arm64@0.28.2': optional: true - '@esbuild/sunos-x64@0.28.1': + '@esbuild/sunos-x64@0.28.2': optional: true - '@esbuild/win32-arm64@0.28.1': + '@esbuild/win32-arm64@0.28.2': optional: true - '@esbuild/win32-ia32@0.28.1': + '@esbuild/win32-ia32@0.28.2': optional: true - '@esbuild/win32-x64@0.28.1': + '@esbuild/win32-x64@0.28.2': optional: true - '@eslint-community/eslint-utils@4.9.1(eslint@10.10.0(jiti@2.7.0))': + '@eslint-community/eslint-utils@4.10.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))': dependencies: - eslint: 10.10.0(jiti@2.7.0) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) eslint-visitor-keys: 3.4.3 '@eslint-community/regexpp@4.12.2': {} - '@eslint/config-array@0.23.5': + '@eslint/config-array@0.23.5(supports-color@10.2.2)': dependencies: '@eslint/object-schema': 3.0.5 - debug: 4.4.3 - minimatch: 10.2.5 + debug: 4.4.3(supports-color@10.2.2) + minimatch: 10.2.6 transitivePeerDependencies: - supports-color @@ -9526,28 +9656,28 @@ snapshots: dependencies: '@types/json-schema': 7.0.15 - '@eslint/css-tree@4.0.5': + '@eslint/css-tree@4.1.2': dependencies: - mdn-data: 2.29.0 - source-map-js: 1.2.1 + mdn-data: 2.37.2 + source-map-js: 1.2.2 - '@eslint/eslintrc@3.3.6': + '@eslint/eslintrc@3.3.7(supports-color@10.2.2)': dependencies: ajv: 6.15.0 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) espree: 10.4.0 globals: 14.0.0 ignore: 5.3.2 import-fresh: 3.3.1 - js-yaml: 4.3.1 + js-yaml: 4.3.2 minimatch: 3.1.5 strip-json-comments: 3.1.1 transitivePeerDependencies: - supports-color - '@eslint/js@10.0.1(eslint@10.10.0(jiti@2.7.0))': + '@eslint/js@10.0.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))': optionalDependencies: - eslint: 10.10.0(jiti@2.7.0) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) '@eslint/object-schema@3.0.5': {} @@ -9556,30 +9686,30 @@ snapshots: '@eslint/core': 1.2.1 levn: 0.4.1 - '@exodus/bytes@1.15.1': {} + '@exodus/bytes@1.16.0': {} - '@fallow-cli/darwin-arm64@3.24.1': + '@fallow-cli/darwin-arm64@3.37.0': optional: true - '@fallow-cli/darwin-x64@3.24.1': + '@fallow-cli/darwin-x64@3.37.0': optional: true - '@fallow-cli/linux-arm64-gnu@3.24.1': + '@fallow-cli/linux-arm64-gnu@3.37.0': optional: true - '@fallow-cli/linux-arm64-musl@3.24.1': + '@fallow-cli/linux-arm64-musl@3.37.0': optional: true - '@fallow-cli/linux-x64-gnu@3.24.1': + '@fallow-cli/linux-x64-gnu@3.37.0': optional: true - '@fallow-cli/linux-x64-musl@3.24.1': + '@fallow-cli/linux-x64-musl@3.37.0': optional: true - '@fallow-cli/win32-arm64-msvc@3.24.1': + '@fallow-cli/win32-arm64-msvc@3.37.0': optional: true - '@fallow-cli/win32-x64-msvc@3.24.1': + '@fallow-cli/win32-x64-msvc@3.37.0': optional: true '@firebase/ai@1.4.1(@firebase/app-types@0.9.3)(@firebase/app@0.13.2)': @@ -9746,7 +9876,7 @@ snapshots: '@firebase/logger': 0.4.4 '@firebase/util': 1.12.1 '@firebase/webchannel-wrapper': 1.0.3 - '@grpc/grpc-js': 1.14.6 + '@grpc/grpc-js': 1.14.7 '@grpc/proto-loader': 0.7.15 tslib: 2.8.1 @@ -9911,24 +10041,24 @@ snapshots: '@floating-ui/utils@0.2.12': {} - '@floating-ui/vue@1.1.11(vue@3.5.42(typescript@6.0.3))': + '@floating-ui/vue@1.1.11(vue@3.5.44(typescript@6.0.3))': dependencies: '@floating-ui/dom': 1.8.0 '@floating-ui/utils': 0.2.12 - vue-demi: 0.14.10(vue@3.5.42(typescript@6.0.3)) + vue-demi: 0.14.10(vue@3.5.44(typescript@6.0.3)) transitivePeerDependencies: - '@vue/composition-api' - vue - '@floating-ui/vue@2.0.1(vue@3.5.42(typescript@6.0.3))': + '@floating-ui/vue@2.0.1(vue@3.5.44(typescript@6.0.3))': dependencies: '@floating-ui/dom': 1.8.0 '@floating-ui/utils': 0.2.12 - vue: 3.5.42(typescript@6.0.3) + vue: 3.5.44(typescript@6.0.3) '@formkit/auto-animate@0.9.0': {} - '@grpc/grpc-js@1.14.6': + '@grpc/grpc-js@1.14.7': dependencies: '@grpc/proto-loader': 0.8.1 '@js-sdsl/ordered-map': 4.4.2 @@ -9963,47 +10093,47 @@ snapshots: dependencies: '@hapi/hoek': 11.0.7 - '@hey-api/codegen-core@0.8.2(magicast@0.5.4)': + '@hey-api/codegen-core@0.9.1(magicast@0.5.5)': dependencies: '@hey-api/types': 0.1.4 ansi-colors: 4.1.3 - c12: 3.3.4(magicast@0.5.4) + c12: 3.3.4(magicast@0.5.5) color-support: 1.1.3 transitivePeerDependencies: - magicast - '@hey-api/json-schema-ref-parser@1.4.2': + '@hey-api/json-schema-ref-parser@1.4.4': dependencies: '@jsdevtools/ono': 7.1.3 '@types/json-schema': 7.0.15 - js-yaml: 4.3.1 + js-yaml: 4.3.2 - '@hey-api/openapi-ts@0.97.3(magicast@0.5.4)(typescript@6.0.3)': + '@hey-api/openapi-ts@0.99.0(magicast@0.5.5)(typescript@6.0.3)': dependencies: - '@hey-api/codegen-core': 0.8.2(magicast@0.5.4) - '@hey-api/json-schema-ref-parser': 1.4.2 - '@hey-api/shared': 0.4.5(magicast@0.5.4) + '@hey-api/codegen-core': 0.9.1(magicast@0.5.5) + '@hey-api/json-schema-ref-parser': 1.4.4 + '@hey-api/shared': 0.5.0(magicast@0.5.5) '@hey-api/spec-types': 0.2.0 '@hey-api/types': 0.1.4 '@lukeed/ms': 2.0.2 ansi-colors: 4.1.3 color-support: 1.1.3 - commander: 14.0.3 + commander: 15.0.0 get-tsconfig: 4.14.0 typescript: 6.0.3 transitivePeerDependencies: - magicast - '@hey-api/shared@0.4.5(magicast@0.5.4)': + '@hey-api/shared@0.5.0(magicast@0.5.5)': dependencies: - '@hey-api/codegen-core': 0.8.2(magicast@0.5.4) - '@hey-api/json-schema-ref-parser': 1.4.2 + '@hey-api/codegen-core': 0.9.1(magicast@0.5.5) + '@hey-api/json-schema-ref-parser': 1.4.4 '@hey-api/spec-types': 0.2.0 '@hey-api/types': 0.1.4 ansi-colors: 4.1.3 cross-spawn: 7.0.6 open: 11.0.0 - semver: 7.7.4 + semver: 7.8.4 transitivePeerDependencies: - magicast @@ -10038,18 +10168,18 @@ snapshots: '@iconify/types': 2.0.0 pathe: 2.0.3 - '@iconify/tailwind4@1.2.3(tailwindcss@4.3.2)': + '@iconify/tailwind4@1.2.3(tailwindcss@4.3.3)': dependencies: '@iconify/tools': 5.0.12 '@iconify/types': 2.0.0 - '@iconify/utils': 3.1.4 - tailwindcss: 4.3.2 + '@iconify/utils': 3.1.7 + tailwindcss: 4.3.3 '@iconify/tools@5.0.12': dependencies: '@cyberalien/svg-utils': 1.2.18 '@iconify/types': 2.0.0 - '@iconify/utils': 3.1.4 + '@iconify/utils': 3.1.7 fflate: 0.8.3 modern-tar: 0.7.6 pathe: 2.0.3 @@ -10057,9 +10187,9 @@ snapshots: '@iconify/types@2.0.0': {} - '@iconify/utils@3.1.4': + '@iconify/utils@3.1.7': dependencies: - '@antfu/install-pkg': 1.1.0 + '@antfu/install-pkg': 2.1.0 '@iconify/types': 2.0.0 import-meta-resolve: 4.2.0 @@ -10077,31 +10207,42 @@ snapshots: '@intlify/message-compiler': 11.4.10 '@intlify/shared': 11.4.10 + '@intlify/core-base@11.4.16': + dependencies: + '@intlify/devtools-types': 11.4.16 + '@intlify/message-compiler': 11.4.16 + '@intlify/shared': 11.4.16 + '@intlify/devtools-types@11.4.10': dependencies: '@intlify/core-base': 11.4.10 '@intlify/shared': 11.4.10 - '@intlify/eslint-plugin-vue-i18n@4.5.1(eslint@10.10.0(jiti@2.7.0))(jsonc-eslint-parser@3.1.0)(vue-eslint-parser@10.4.1(eslint@10.10.0(jiti@2.7.0)))(yaml-eslint-parser@2.1.0)': + '@intlify/devtools-types@11.4.16': dependencies: - '@eslint/eslintrc': 3.3.6 - '@intlify/core-base': 11.4.10 - '@intlify/message-compiler': 11.4.10 - debug: 4.4.3 - eslint: 10.10.0(jiti@2.7.0) - eslint-compat-utils: 0.6.5(eslint@10.10.0(jiti@2.7.0)) + '@intlify/core-base': 11.4.16 + '@intlify/shared': 11.4.16 + + '@intlify/eslint-plugin-vue-i18n@4.5.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(jsonc-eslint-parser@3.1.0)(supports-color@10.2.2)(vue-eslint-parser@10.4.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2))(yaml-eslint-parser@2.1.0)': + dependencies: + '@eslint/eslintrc': 3.3.7(supports-color@10.2.2) + '@intlify/core-base': 11.4.16 + '@intlify/message-compiler': 11.4.16 + debug: 4.4.3(supports-color@10.2.2) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) + eslint-compat-utils: 0.6.5(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2)) glob: 10.5.0 - globals: 17.7.0 - ignore: 7.0.11 - import-fresh: 4.0.0 + globals: 17.13.0 + ignore: 7.0.14 + import-fresh: 4.0.1 is-language-code: 3.1.0 - js-yaml: 4.3.1 + js-yaml: 4.3.2 json5: 2.2.3 jsonc-eslint-parser: 3.1.0 parse5: 7.3.0 semver: 7.8.5 synckit: 0.11.13 - vue-eslint-parser: 10.4.1(eslint@10.10.0(jiti@2.7.0)) + vue-eslint-parser: 10.4.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2) yaml-eslint-parser: 2.1.0 transitivePeerDependencies: - supports-color @@ -10109,10 +10250,17 @@ snapshots: '@intlify/message-compiler@11.4.10': dependencies: '@intlify/shared': 11.4.10 - source-map-js: 1.2.1 + source-map-js: 1.2.2 + + '@intlify/message-compiler@11.4.16': + dependencies: + '@intlify/shared': 11.4.16 + source-map-js: 1.2.2 '@intlify/shared@11.4.10': {} + '@intlify/shared@11.4.16': {} + '@isaacs/cliui@8.0.2': dependencies: string-width: 5.1.2 @@ -10168,46 +10316,46 @@ snapshots: dependencies: '@lukeed/csprng': 1.1.0 - '@mdx-js/react@3.1.1(@types/react@19.3.0)(react@19.3.0)': + '@mdx-js/react@3.1.1(@types/react@19.3.0)(react@19.3.1)': dependencies: '@types/mdx': 2.0.14 '@types/react': 19.3.0 - react: 19.3.0 + react: 19.3.1 - '@microsoft/api-extractor-model@7.33.8(@types/node@25.9.5)': + '@microsoft/api-extractor-model@7.33.15(@types/node@26.6.6)': dependencies: - '@microsoft/tsdoc': 0.16.0 - '@microsoft/tsdoc-config': 0.18.1 - '@rushstack/node-core-library': 5.23.1(@types/node@25.9.5) + '@microsoft/tsdoc': 0.17.1 + '@microsoft/tsdoc-config': 0.18.3 + '@rushstack/node-core-library': 5.25.1(@types/node@26.6.6) transitivePeerDependencies: - '@types/node' - '@microsoft/api-extractor@7.58.9(@types/node@25.9.5)': + '@microsoft/api-extractor@7.60.0(@types/node@26.6.6)': dependencies: - '@microsoft/api-extractor-model': 7.33.8(@types/node@25.9.5) - '@microsoft/tsdoc': 0.16.0 - '@microsoft/tsdoc-config': 0.18.1 - '@rushstack/node-core-library': 5.23.1(@types/node@25.9.5) - '@rushstack/rig-package': 0.7.3 - '@rushstack/terminal': 0.24.0(@types/node@25.9.5) - '@rushstack/ts-command-line': 5.3.10(@types/node@25.9.5) + '@microsoft/api-extractor-model': 7.33.15(@types/node@26.6.6) + '@microsoft/tsdoc': 0.17.1 + '@microsoft/tsdoc-config': 0.18.3 + '@rushstack/node-core-library': 5.25.1(@types/node@26.6.6) + '@rushstack/rig-package': 0.7.4 + '@rushstack/terminal': 0.24.7(@types/node@26.6.6) + '@rushstack/ts-command-line': 5.3.17(@types/node@26.6.6) diff: 8.0.4 - minimatch: 10.2.5 - resolve: 1.22.12 + minimatch: 10.2.6 + resolve: 1.22.13 semver: 7.7.4 source-map: 0.6.1 - typescript: 5.9.3 + typescript: 6.0.3 transitivePeerDependencies: - '@types/node' - '@microsoft/tsdoc-config@0.18.1': + '@microsoft/tsdoc-config@0.18.3': dependencies: - '@microsoft/tsdoc': 0.16.0 + '@microsoft/tsdoc': 0.17.1 ajv: 8.20.0 jju: 1.4.0 - resolve: 1.22.12 + resolve: 1.22.13 - '@microsoft/tsdoc@0.16.0': {} + '@microsoft/tsdoc@0.17.1': {} '@mixpanel/rrdom@2.0.0-alpha.18.5': dependencies: @@ -10220,7 +10368,7 @@ snapshots: '@mixpanel/rrweb-snapshot@2.0.0-alpha.18.5': dependencies: - postcss: 8.5.26 + postcss: 8.5.32 '@mixpanel/rrweb-types@2.0.0-alpha.18.5': {} @@ -10237,39 +10385,32 @@ snapshots: base64-arraybuffer: 1.0.2 mitt: 3.0.1 - '@napi-rs/wasm-runtime@1.2.3(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)': + '@napi-rs/wasm-runtime@1.2.6(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)': dependencies: '@emnapi/core': 1.10.0 '@emnapi/runtime': 1.10.0 - '@tybys/wasm-util': 0.10.3 + '@tybys/wasm-util': 0.10.4 optional: true - '@napi-rs/wasm-runtime@1.2.3(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0)': + '@napi-rs/wasm-runtime@1.2.6(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0)': dependencies: '@emnapi/core': 1.11.0 '@emnapi/runtime': 1.11.0 - '@tybys/wasm-util': 0.10.3 + '@tybys/wasm-util': 0.10.4 optional: true - '@napi-rs/wasm-runtime@1.2.3(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)': + '@napi-rs/wasm-runtime@1.2.6(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)': dependencies: '@emnapi/core': 1.11.1 '@emnapi/runtime': 1.11.1 - '@tybys/wasm-util': 0.10.3 - optional: true - - '@napi-rs/wasm-runtime@1.2.3(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2)': - dependencies: - '@emnapi/core': 1.11.2 - '@emnapi/runtime': 1.11.2 - '@tybys/wasm-util': 0.10.3 + '@tybys/wasm-util': 0.10.4 optional: true - '@napi-rs/wasm-runtime@1.2.3(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)': + '@napi-rs/wasm-runtime@1.2.6(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)': dependencies: '@emnapi/core': 1.9.2 '@emnapi/runtime': 1.9.2 - '@tybys/wasm-util': 0.10.3 + '@tybys/wasm-util': 0.10.4 optional: true '@nodelib/fs.scandir@2.1.5': @@ -10282,9 +10423,9 @@ snapshots: '@nodelib/fs.walk@1.2.8': dependencies: '@nodelib/fs.scandir': 2.1.5 - fastq: 1.20.1 + fastq: 1.20.3 - '@one-ini/wasm@0.1.1': {} + '@one-ini/wasm@0.2.1': {} '@oxc-parser/binding-android-arm-eabi@0.127.0': optional: true @@ -10292,108 +10433,156 @@ snapshots: '@oxc-parser/binding-android-arm-eabi@0.137.0': optional: true + '@oxc-parser/binding-android-arm-eabi@0.152.0': + optional: true + '@oxc-parser/binding-android-arm64@0.127.0': optional: true '@oxc-parser/binding-android-arm64@0.137.0': optional: true + '@oxc-parser/binding-android-arm64@0.152.0': + optional: true + '@oxc-parser/binding-darwin-arm64@0.127.0': optional: true '@oxc-parser/binding-darwin-arm64@0.137.0': optional: true + '@oxc-parser/binding-darwin-arm64@0.152.0': + optional: true + '@oxc-parser/binding-darwin-x64@0.127.0': optional: true '@oxc-parser/binding-darwin-x64@0.137.0': optional: true + '@oxc-parser/binding-darwin-x64@0.152.0': + optional: true + '@oxc-parser/binding-freebsd-x64@0.127.0': optional: true '@oxc-parser/binding-freebsd-x64@0.137.0': optional: true + '@oxc-parser/binding-freebsd-x64@0.152.0': + optional: true + '@oxc-parser/binding-linux-arm-gnueabihf@0.127.0': optional: true '@oxc-parser/binding-linux-arm-gnueabihf@0.137.0': optional: true + '@oxc-parser/binding-linux-arm-gnueabihf@0.152.0': + optional: true + '@oxc-parser/binding-linux-arm-musleabihf@0.127.0': optional: true '@oxc-parser/binding-linux-arm-musleabihf@0.137.0': optional: true + '@oxc-parser/binding-linux-arm-musleabihf@0.152.0': + optional: true + '@oxc-parser/binding-linux-arm64-gnu@0.127.0': optional: true '@oxc-parser/binding-linux-arm64-gnu@0.137.0': optional: true + '@oxc-parser/binding-linux-arm64-gnu@0.152.0': + optional: true + '@oxc-parser/binding-linux-arm64-musl@0.127.0': optional: true '@oxc-parser/binding-linux-arm64-musl@0.137.0': optional: true + '@oxc-parser/binding-linux-arm64-musl@0.152.0': + optional: true + '@oxc-parser/binding-linux-ppc64-gnu@0.127.0': optional: true '@oxc-parser/binding-linux-ppc64-gnu@0.137.0': optional: true + '@oxc-parser/binding-linux-ppc64-gnu@0.152.0': + optional: true + '@oxc-parser/binding-linux-riscv64-gnu@0.127.0': optional: true '@oxc-parser/binding-linux-riscv64-gnu@0.137.0': optional: true + '@oxc-parser/binding-linux-riscv64-gnu@0.152.0': + optional: true + '@oxc-parser/binding-linux-riscv64-musl@0.127.0': optional: true '@oxc-parser/binding-linux-riscv64-musl@0.137.0': optional: true + '@oxc-parser/binding-linux-riscv64-musl@0.152.0': + optional: true + '@oxc-parser/binding-linux-s390x-gnu@0.127.0': optional: true '@oxc-parser/binding-linux-s390x-gnu@0.137.0': optional: true + '@oxc-parser/binding-linux-s390x-gnu@0.152.0': + optional: true + '@oxc-parser/binding-linux-x64-gnu@0.127.0': optional: true '@oxc-parser/binding-linux-x64-gnu@0.137.0': optional: true + '@oxc-parser/binding-linux-x64-gnu@0.152.0': + optional: true + '@oxc-parser/binding-linux-x64-musl@0.127.0': optional: true '@oxc-parser/binding-linux-x64-musl@0.137.0': optional: true + '@oxc-parser/binding-linux-x64-musl@0.152.0': + optional: true + '@oxc-parser/binding-openharmony-arm64@0.127.0': optional: true '@oxc-parser/binding-openharmony-arm64@0.137.0': optional: true + '@oxc-parser/binding-openharmony-arm64@0.152.0': + optional: true + '@oxc-parser/binding-wasm32-wasi@0.127.0': dependencies: '@emnapi/core': 1.9.2 '@emnapi/runtime': 1.9.2 - '@napi-rs/wasm-runtime': 1.2.3(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2) + '@napi-rs/wasm-runtime': 1.2.6(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2) optional: true '@oxc-parser/binding-wasm32-wasi@0.137.0': dependencies: '@emnapi/core': 1.11.1 '@emnapi/runtime': 1.11.1 - '@napi-rs/wasm-runtime': 1.2.3(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1) + '@napi-rs/wasm-runtime': 1.2.6(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1) optional: true '@oxc-parser/binding-win32-arm64-msvc@0.127.0': @@ -10402,201 +10591,212 @@ snapshots: '@oxc-parser/binding-win32-arm64-msvc@0.137.0': optional: true + '@oxc-parser/binding-win32-arm64-msvc@0.152.0': + optional: true + '@oxc-parser/binding-win32-ia32-msvc@0.127.0': optional: true '@oxc-parser/binding-win32-ia32-msvc@0.137.0': optional: true + '@oxc-parser/binding-win32-ia32-msvc@0.152.0': + optional: true + '@oxc-parser/binding-win32-x64-msvc@0.127.0': optional: true '@oxc-parser/binding-win32-x64-msvc@0.137.0': optional: true + '@oxc-parser/binding-win32-x64-msvc@0.152.0': + optional: true + '@oxc-project/types@0.127.0': {} '@oxc-project/types@0.137.0': {} - '@oxc-project/types@0.147.0': {} + '@oxc-project/types@0.152.0': {} + + '@oxc-project/types@0.156.0': {} + + '@oxc-resolver/binding-android-arm-eabi@11.21.2': + optional: true '@oxc-resolver/binding-android-arm-eabi@11.21.3': optional: true - '@oxc-resolver/binding-android-arm-eabi@11.24.2': + '@oxc-resolver/binding-android-arm64@11.21.2': optional: true '@oxc-resolver/binding-android-arm64@11.21.3': optional: true - '@oxc-resolver/binding-android-arm64@11.24.2': + '@oxc-resolver/binding-darwin-arm64@11.21.2': optional: true '@oxc-resolver/binding-darwin-arm64@11.21.3': optional: true - '@oxc-resolver/binding-darwin-arm64@11.24.2': + '@oxc-resolver/binding-darwin-x64@11.21.2': optional: true '@oxc-resolver/binding-darwin-x64@11.21.3': optional: true - '@oxc-resolver/binding-darwin-x64@11.24.2': + '@oxc-resolver/binding-freebsd-x64@11.21.2': optional: true '@oxc-resolver/binding-freebsd-x64@11.21.3': optional: true - '@oxc-resolver/binding-freebsd-x64@11.24.2': + '@oxc-resolver/binding-linux-arm-gnueabihf@11.21.2': optional: true '@oxc-resolver/binding-linux-arm-gnueabihf@11.21.3': optional: true - '@oxc-resolver/binding-linux-arm-gnueabihf@11.24.2': + '@oxc-resolver/binding-linux-arm-musleabihf@11.21.2': optional: true '@oxc-resolver/binding-linux-arm-musleabihf@11.21.3': optional: true - '@oxc-resolver/binding-linux-arm-musleabihf@11.24.2': + '@oxc-resolver/binding-linux-arm64-gnu@11.21.2': optional: true '@oxc-resolver/binding-linux-arm64-gnu@11.21.3': optional: true - '@oxc-resolver/binding-linux-arm64-gnu@11.24.2': + '@oxc-resolver/binding-linux-arm64-musl@11.21.2': optional: true '@oxc-resolver/binding-linux-arm64-musl@11.21.3': optional: true - '@oxc-resolver/binding-linux-arm64-musl@11.24.2': + '@oxc-resolver/binding-linux-ppc64-gnu@11.21.2': optional: true '@oxc-resolver/binding-linux-ppc64-gnu@11.21.3': optional: true - '@oxc-resolver/binding-linux-ppc64-gnu@11.24.2': + '@oxc-resolver/binding-linux-riscv64-gnu@11.21.2': optional: true '@oxc-resolver/binding-linux-riscv64-gnu@11.21.3': optional: true - '@oxc-resolver/binding-linux-riscv64-gnu@11.24.2': + '@oxc-resolver/binding-linux-riscv64-musl@11.21.2': optional: true '@oxc-resolver/binding-linux-riscv64-musl@11.21.3': optional: true - '@oxc-resolver/binding-linux-riscv64-musl@11.24.2': + '@oxc-resolver/binding-linux-s390x-gnu@11.21.2': optional: true '@oxc-resolver/binding-linux-s390x-gnu@11.21.3': optional: true - '@oxc-resolver/binding-linux-s390x-gnu@11.24.2': + '@oxc-resolver/binding-linux-x64-gnu@11.21.2': optional: true '@oxc-resolver/binding-linux-x64-gnu@11.21.3': optional: true - '@oxc-resolver/binding-linux-x64-gnu@11.24.2': + '@oxc-resolver/binding-linux-x64-musl@11.21.2': optional: true '@oxc-resolver/binding-linux-x64-musl@11.21.3': optional: true - '@oxc-resolver/binding-linux-x64-musl@11.24.2': + '@oxc-resolver/binding-openharmony-arm64@11.21.2': optional: true '@oxc-resolver/binding-openharmony-arm64@11.21.3': optional: true - '@oxc-resolver/binding-openharmony-arm64@11.24.2': + '@oxc-resolver/binding-wasm32-wasi@11.21.2': + dependencies: + '@emnapi/core': 1.11.0 + '@emnapi/runtime': 1.11.0 + '@napi-rs/wasm-runtime': 1.2.6(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0) optional: true '@oxc-resolver/binding-wasm32-wasi@11.21.3': dependencies: '@emnapi/core': 1.11.0 '@emnapi/runtime': 1.11.0 - '@napi-rs/wasm-runtime': 1.2.3(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0) + '@napi-rs/wasm-runtime': 1.2.6(@emnapi/core@1.11.0)(@emnapi/runtime@1.11.0) optional: true - '@oxc-resolver/binding-wasm32-wasi@11.24.2': - dependencies: - '@emnapi/core': 1.11.2 - '@emnapi/runtime': 1.11.2 - '@napi-rs/wasm-runtime': 1.2.3(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2) + '@oxc-resolver/binding-win32-arm64-msvc@11.21.2': optional: true '@oxc-resolver/binding-win32-arm64-msvc@11.21.3': optional: true - '@oxc-resolver/binding-win32-arm64-msvc@11.24.2': + '@oxc-resolver/binding-win32-x64-msvc@11.21.2': optional: true '@oxc-resolver/binding-win32-x64-msvc@11.21.3': optional: true - '@oxc-resolver/binding-win32-x64-msvc@11.24.2': - optional: true - - '@oxfmt/binding-android-arm-eabi@0.59.0': + '@oxfmt/binding-android-arm-eabi@0.75.0': optional: true - '@oxfmt/binding-android-arm64@0.59.0': + '@oxfmt/binding-android-arm64@0.75.0': optional: true - '@oxfmt/binding-darwin-arm64@0.59.0': + '@oxfmt/binding-darwin-arm64@0.75.0': optional: true - '@oxfmt/binding-darwin-x64@0.59.0': + '@oxfmt/binding-darwin-x64@0.75.0': optional: true - '@oxfmt/binding-freebsd-x64@0.59.0': + '@oxfmt/binding-freebsd-x64@0.75.0': optional: true - '@oxfmt/binding-linux-arm-gnueabihf@0.59.0': + '@oxfmt/binding-linux-arm-gnueabihf@0.75.0': optional: true - '@oxfmt/binding-linux-arm-musleabihf@0.59.0': + '@oxfmt/binding-linux-arm-musleabihf@0.75.0': optional: true - '@oxfmt/binding-linux-arm64-gnu@0.59.0': + '@oxfmt/binding-linux-arm64-gnu@0.75.0': optional: true - '@oxfmt/binding-linux-arm64-musl@0.59.0': + '@oxfmt/binding-linux-arm64-musl@0.75.0': optional: true - '@oxfmt/binding-linux-ppc64-gnu@0.59.0': + '@oxfmt/binding-linux-ppc64-gnu@0.75.0': optional: true - '@oxfmt/binding-linux-riscv64-gnu@0.59.0': + '@oxfmt/binding-linux-riscv64-gnu@0.75.0': optional: true - '@oxfmt/binding-linux-riscv64-musl@0.59.0': + '@oxfmt/binding-linux-riscv64-musl@0.75.0': optional: true - '@oxfmt/binding-linux-s390x-gnu@0.59.0': + '@oxfmt/binding-linux-s390x-gnu@0.75.0': optional: true - '@oxfmt/binding-linux-x64-gnu@0.59.0': + '@oxfmt/binding-linux-x64-gnu@0.75.0': optional: true - '@oxfmt/binding-linux-x64-musl@0.59.0': + '@oxfmt/binding-linux-x64-musl@0.75.0': optional: true - '@oxfmt/binding-openharmony-arm64@0.59.0': + '@oxfmt/binding-openharmony-arm64@0.75.0': optional: true - '@oxfmt/binding-win32-arm64-msvc@0.59.0': + '@oxfmt/binding-win32-arm64-msvc@0.75.0': optional: true - '@oxfmt/binding-win32-ia32-msvc@0.59.0': + '@oxfmt/binding-win32-ia32-msvc@0.75.0': optional: true - '@oxfmt/binding-win32-x64-msvc@0.59.0': + '@oxfmt/binding-win32-x64-msvc@0.75.0': optional: true '@oxlint-tsgolint/darwin-arm64@7.0.2001': @@ -10674,10 +10874,10 @@ snapshots: '@oxlint/binding-win32-x64-msvc@1.77.0': optional: true - '@pinia/testing@2.0.1(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)))': + '@pinia/testing@2.0.1(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)))': dependencies: - nostics: 1.1.4 - pinia: 4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)) + nostics: 1.3.0 + pinia: 4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)) '@pkgjs/parseargs@0.11.0': optional: true @@ -10716,49 +10916,49 @@ snapshots: '@protobufjs/utf8@1.1.2': {} - '@rolldown/binding-android-arm-eabi@1.2.6': + '@rolldown/binding-android-arm-eabi@1.2.16': optional: true - '@rolldown/binding-android-arm64@1.2.6': + '@rolldown/binding-android-arm64@1.2.16': optional: true - '@rolldown/binding-darwin-arm64@1.2.6': + '@rolldown/binding-darwin-arm64@1.2.16': optional: true - '@rolldown/binding-darwin-x64@1.2.6': + '@rolldown/binding-darwin-x64@1.2.16': optional: true - '@rolldown/binding-freebsd-x64@1.2.6': + '@rolldown/binding-freebsd-x64@1.2.16': optional: true - '@rolldown/binding-linux-arm-gnueabihf@1.2.6': + '@rolldown/binding-linux-arm-gnueabihf@1.2.16': optional: true - '@rolldown/binding-linux-arm64-gnu@1.2.6': + '@rolldown/binding-linux-arm64-gnu@1.2.16': optional: true - '@rolldown/binding-linux-arm64-musl@1.2.6': + '@rolldown/binding-linux-arm64-musl@1.2.16': optional: true - '@rolldown/binding-linux-ppc64-gnu@1.2.6': + '@rolldown/binding-linux-ppc64-gnu@1.2.16': optional: true - '@rolldown/binding-linux-s390x-gnu@1.2.6': + '@rolldown/binding-linux-s390x-gnu@1.2.16': optional: true - '@rolldown/binding-linux-x64-gnu@1.2.6': + '@rolldown/binding-linux-x64-gnu@1.2.16': optional: true - '@rolldown/binding-linux-x64-musl@1.2.6': + '@rolldown/binding-linux-x64-musl@1.2.16': optional: true - '@rolldown/binding-openharmony-arm64@1.2.6': + '@rolldown/binding-openharmony-arm64@1.2.16': optional: true - '@rolldown/binding-win32-arm64-msvc@1.2.6': + '@rolldown/binding-win32-arm64-msvc@1.2.16': optional: true - '@rolldown/binding-win32-x64-msvc@1.2.6': + '@rolldown/binding-win32-x64-msvc@1.2.16': optional: true '@rolldown/pluginutils@1.0.1': {} @@ -10768,51 +10968,53 @@ snapshots: estree-walker: 2.0.2 picomatch: 2.3.2 - '@rollup/pluginutils@5.4.0': + '@rollup/pluginutils@5.5.1': dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 estree-walker: 2.0.2 picomatch: 4.0.7 - '@rushstack/node-core-library@5.23.1(@types/node@25.9.5)': + '@rushstack/node-core-library@5.25.1(@types/node@26.6.6)': dependencies: ajv: 8.20.0 ajv-draft-04: 1.0.0(ajv@8.20.0) - ajv-formats: 3.0.1(ajv@8.20.0) + ajv-formats: 3.0.1 fs-extra: 11.3.6 import-lazy: 4.0.0 jju: 1.4.0 - resolve: 1.22.12 + resolve: 1.22.13 semver: 7.7.4 optionalDependencies: - '@types/node': 25.9.5 + '@types/node': 26.6.6 - '@rushstack/problem-matcher@0.2.1(@types/node@25.9.5)': + '@rushstack/problem-matcher@0.2.1(@types/node@26.6.6)': optionalDependencies: - '@types/node': 25.9.5 + '@types/node': 26.6.6 - '@rushstack/rig-package@0.7.3': + '@rushstack/rig-package@0.7.4': dependencies: jju: 1.4.0 - resolve: 1.22.12 + resolve: 1.22.13 - '@rushstack/terminal@0.24.0(@types/node@25.9.5)': + '@rushstack/terminal@0.24.7(@types/node@26.6.6)': dependencies: - '@rushstack/node-core-library': 5.23.1(@types/node@25.9.5) - '@rushstack/problem-matcher': 0.2.1(@types/node@25.9.5) + '@rushstack/node-core-library': 5.25.1(@types/node@26.6.6) + '@rushstack/problem-matcher': 0.2.1(@types/node@26.6.6) supports-color: 8.1.1 optionalDependencies: - '@types/node': 25.9.5 + '@types/node': 26.6.6 - '@rushstack/ts-command-line@5.3.10(@types/node@25.9.5)': + '@rushstack/ts-command-line@5.3.17(@types/node@26.6.6)': dependencies: - '@rushstack/terminal': 0.24.0(@types/node@25.9.5) + '@rushstack/terminal': 0.24.7(@types/node@26.6.6) '@types/argparse': 1.0.38 argparse: 1.0.10 string-argv: 0.3.2 transitivePeerDependencies: - '@types/node' + '@sec-ant/readable-stream@0.4.1': {} + '@segment/analytics.js-video-plugins@0.2.1': dependencies: unfetch: 3.1.2 @@ -10830,116 +11032,71 @@ snapshots: '@segment/isodate@1.0.3': {} - '@sentry/babel-plugin-component-annotate@4.9.1': {} - - '@sentry/browser-utils@10.65.0': + '@sentry/browser-utils@10.78.0': dependencies: - '@sentry/conventions': 0.15.1 - '@sentry/core': 10.65.0 + '@sentry/conventions': 0.16.0 + '@sentry/core': 10.78.0 - '@sentry/browser@10.65.0': + '@sentry/browser@10.78.0': dependencies: - '@sentry/browser-utils': 10.65.0 - '@sentry/conventions': 0.15.1 - '@sentry/core': 10.65.0 - '@sentry/feedback': 10.65.0 - '@sentry/replay': 10.65.0 - '@sentry/replay-canvas': 10.65.0 + '@sentry/browser-utils': 10.78.0 + '@sentry/conventions': 0.16.0 + '@sentry/core': 10.78.0 + '@sentry/feedback': 10.78.0 + '@sentry/replay': 10.78.0 + '@sentry/replay-canvas': 10.78.0 - '@sentry/bundler-plugin-core@4.9.1': + '@sentry/bundler-plugins@11.10.0': dependencies: - '@babel/core': 7.29.7 - '@sentry/babel-plugin-component-annotate': 4.9.1 - '@sentry/cli': 2.58.6 - dotenv: 16.6.1 - find-up: 5.0.0 - glob: 10.5.0 - magic-string: 0.30.8 - unplugin: 1.0.1 - transitivePeerDependencies: - - encoding - - supports-color - - '@sentry/cli-darwin@2.58.6': - optional: true - - '@sentry/cli-linux-arm64@2.58.6': - optional: true - - '@sentry/cli-linux-arm@2.58.6': - optional: true - - '@sentry/cli-linux-i686@2.58.6': - optional: true - - '@sentry/cli-linux-x64@2.58.6': - optional: true - - '@sentry/cli-win32-arm64@2.58.6': - optional: true + '@sentry/core': 11.10.0 + dotenv: 17.4.2 + glob: 13.0.6 + magic-string: 1.4.5 + oxc-parser: 0.152.0 + sentry: 0.45.0 + supports-color: 8.1.1 - '@sentry/cli-win32-i686@2.58.6': - optional: true + '@sentry/conventions@0.16.0': {} - '@sentry/cli-win32-x64@2.58.6': - optional: true + '@sentry/conventions@0.29.0': {} - '@sentry/cli@2.58.6': + '@sentry/core@10.78.0': dependencies: - https-proxy-agent: 5.0.1 - node-fetch: 2.7.0 - progress: 2.0.3 - proxy-from-env: 1.1.0 - which: 2.0.2 - optionalDependencies: - '@sentry/cli-darwin': 2.58.6 - '@sentry/cli-linux-arm': 2.58.6 - '@sentry/cli-linux-arm64': 2.58.6 - '@sentry/cli-linux-i686': 2.58.6 - '@sentry/cli-linux-x64': 2.58.6 - '@sentry/cli-win32-arm64': 2.58.6 - '@sentry/cli-win32-i686': 2.58.6 - '@sentry/cli-win32-x64': 2.58.6 - transitivePeerDependencies: - - encoding - - supports-color - - '@sentry/conventions@0.15.1': {} + '@sentry/conventions': 0.16.0 - '@sentry/core@10.65.0': + '@sentry/core@11.10.0': dependencies: - '@sentry/conventions': 0.15.1 + '@sentry/conventions': 0.29.0 - '@sentry/feedback@10.65.0': + '@sentry/feedback@10.78.0': dependencies: - '@sentry/core': 10.65.0 + '@sentry/core': 10.78.0 - '@sentry/replay-canvas@10.65.0': + '@sentry/replay-canvas@10.78.0': dependencies: - '@sentry/core': 10.65.0 - '@sentry/replay': 10.65.0 + '@sentry/core': 10.78.0 + '@sentry/replay': 10.78.0 - '@sentry/replay@10.65.0': + '@sentry/replay@10.78.0': dependencies: - '@sentry/browser-utils': 10.65.0 - '@sentry/core': 10.65.0 + '@sentry/browser-utils': 10.78.0 + '@sentry/core': 10.78.0 - '@sentry/vite-plugin@4.9.1': + '@sentry/vite-plugin@11.10.0': dependencies: - '@sentry/bundler-plugin-core': 4.9.1 - unplugin: 1.0.1 + '@sentry/bundler-plugins': 11.10.0 transitivePeerDependencies: - - encoding - - supports-color + - rollup + - webpack - '@sentry/vue@10.65.0(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)))(vue@3.5.42(typescript@6.0.3))': + '@sentry/vue@10.78.0(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)))(vue@3.5.44(typescript@6.0.3))': dependencies: - '@sentry/browser': 10.65.0 - '@sentry/conventions': 0.15.1 - '@sentry/core': 10.65.0 - vue: 3.5.42(typescript@6.0.3) + '@sentry/browser': 10.78.0 + '@sentry/conventions': 0.16.0 + '@sentry/core': 10.78.0 + vue: 3.5.44(typescript@6.0.3) optionalDependencies: - pinia: 4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)) + pinia: 4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)) '@shikijs/core@4.3.1': dependencies: @@ -10990,113 +11147,78 @@ snapshots: '@standard-schema/spec@1.1.0': {} - '@storybook/addon-docs@10.5.10(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(esbuild@0.28.1)(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))': + '@storybook/addon-docs@10.6.5(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(storybook@10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1))': dependencies: - '@mdx-js/react': 3.1.1(@types/react@19.3.0)(react@19.3.0) - '@storybook/csf-plugin': 10.5.10(esbuild@0.28.1)(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) - '@storybook/icons': 2.1.0(react@19.3.0) - '@storybook/react-dom-shim': 10.5.10(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0)) - react: 19.3.0 - react-dom: 19.3.0(react@19.3.0) - storybook: 10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0) + '@mdx-js/react': 3.1.1(@types/react@19.3.0)(react@19.3.1) + '@storybook/icons': 2.2.0(react@19.3.1) + '@storybook/react-dom-shim': 10.6.5(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(storybook@10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1)) + react: 19.3.1 + react-dom: 19.3.1(react@19.3.1) + storybook: 10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1) ts-dedent: 2.3.0 + unplugin: 2.3.11 optionalDependencies: '@types/react': 19.3.0 transitivePeerDependencies: - - '@types/react-dom' - - esbuild - - rollup - - vite - - webpack + - '@types/react-dom' - '@storybook/addon-mcp@0.7.0(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))(typescript@6.0.3)': + '@storybook/addon-mcp@10.6.5(storybook@10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1))(typescript@6.0.3)': dependencies: - '@storybook/mcp': 0.8.0(typescript@6.0.3) - '@tmcp/adapter-valibot': 0.1.6(tmcp@1.19.4(typescript@6.0.3))(valibot@1.2.0(typescript@6.0.3)) - '@tmcp/transport-http': 0.8.6(tmcp@1.19.4(typescript@6.0.3)) - picoquery: 2.5.0 - storybook: 10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0) - tmcp: 1.19.4(typescript@6.0.3) - valibot: 1.2.0(typescript@6.0.3) + '@tmcp/adapter-valibot': 0.1.7(tmcp@1.20.1(typescript@6.0.3))(valibot@1.5.0(typescript@6.0.3)) + '@tmcp/transport-http': 0.8.6(tmcp@1.20.1(typescript@6.0.3)) + storybook: 10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1) + tmcp: 1.20.1(typescript@6.0.3) + valibot: 1.5.0(typescript@6.0.3) transitivePeerDependencies: - '@tmcp/auth' - typescript - '@storybook/builder-vite@10.5.6(esbuild@0.28.1)(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))': + '@storybook/builder-vite@10.6.5(storybook@10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1))(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))': dependencies: - '@storybook/csf-plugin': 10.5.6(esbuild@0.28.1)(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) - storybook: 10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0) + storybook: 10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1) ts-dedent: 2.3.0 - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) - transitivePeerDependencies: - - esbuild - - rollup - - webpack - - '@storybook/csf-plugin@10.5.10(esbuild@0.28.1)(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))': - dependencies: - storybook: 10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0) - unplugin: 2.3.11 - optionalDependencies: - esbuild: 0.28.1 - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) - - '@storybook/csf-plugin@10.5.6(esbuild@0.28.1)(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))': - dependencies: - storybook: 10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0) - unplugin: 2.3.11 - optionalDependencies: - esbuild: 0.28.1 - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + vite: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) '@storybook/global@5.0.0': {} - '@storybook/icons@2.1.0(react@19.3.0)': - dependencies: - react: 19.3.0 - - '@storybook/mcp@0.8.0(typescript@6.0.3)': + '@storybook/icons@2.2.0(react@19.3.1)': dependencies: - '@tmcp/adapter-valibot': 0.1.6(tmcp@1.19.4(typescript@6.0.3))(valibot@1.2.0(typescript@6.0.3)) - '@tmcp/transport-http': 0.8.6(tmcp@1.19.4(typescript@6.0.3)) - tmcp: 1.19.4(typescript@6.0.3) - valibot: 1.2.0(typescript@6.0.3) - transitivePeerDependencies: - - '@tmcp/auth' - - typescript + react: 19.3.1 - '@storybook/react-dom-shim@10.5.10(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.0(react@19.3.0))(react@19.3.0)(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))': + '@storybook/react-dom-shim@10.6.5(@types/react-dom@19.3.0(@types/react@19.3.0))(@types/react@19.3.0)(react-dom@19.3.1(react@19.3.1))(react@19.3.1)(storybook@10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1))': dependencies: - react: 19.3.0 - react-dom: 19.3.0(react@19.3.0) - storybook: 10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0) + react: 19.3.1 + react-dom: 19.3.1(react@19.3.1) + storybook: 10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1) optionalDependencies: '@types/react': 19.3.0 '@types/react-dom': 19.3.0(@types/react@19.3.0) - '@storybook/vue3-vite@10.5.6(esbuild@0.28.1)(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3))': + '@storybook/vue3-vite@10.6.5(storybook@10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1))(typescript@6.0.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3))': dependencies: - '@storybook/builder-vite': 10.5.6(esbuild@0.28.1)(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) - '@storybook/vue3': 10.5.6(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))(vue@3.5.42(typescript@6.0.3)) - magic-string: 0.30.21 - storybook: 10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0) - typescript: 5.9.3 - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) - vue-component-meta: 3.3.7(typescript@5.9.3) - vue-docgen-api: 4.79.2(vue@3.5.42(typescript@6.0.3)) + '@storybook/builder-vite': 10.6.5(storybook@10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1))(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) + '@storybook/vue3': 10.6.5(storybook@10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1))(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)) + magic-string: 1.4.5 + storybook: 10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1) + vite: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) + optionalDependencies: + typescript: 6.0.3 transitivePeerDependencies: - - esbuild - - rollup - vue - - webpack - '@storybook/vue3@10.5.6(storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0))(vue@3.5.42(typescript@6.0.3))': + '@storybook/vue3@10.6.5(storybook@10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1))(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3))': dependencies: '@storybook/global': 5.0.0 - storybook: 10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0) - type-fest: 5.8.0 - vue: 3.5.42(typescript@6.0.3) - vue-component-type-helpers: 3.3.11 + '@vue/compiler-dom': 3.5.44 + '@vue/language-core': 3.3.14 + storybook: 10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1) + type-fest: 5.10.0 + vue: 3.5.44(typescript@6.0.3) + vue-component-meta: 3.3.14(typescript@6.0.3) + vue-component-type-helpers: 3.3.14 + vue-docgen-api: 4.79.2(vue@3.5.44(typescript@6.0.3)) + optionalDependencies: + typescript: 6.0.3 '@stripe/stripe-js@9.12.1': {} @@ -11104,85 +11226,85 @@ snapshots: dependencies: tslib: 2.8.1 - '@tailwindcss/node@4.3.2': + '@tailwindcss/node@4.3.3': dependencies: '@jridgewell/remapping': 2.3.5 - enhanced-resolve: 5.21.6 + enhanced-resolve: 5.26.0 jiti: 2.7.0 lightningcss: 1.32.0 magic-string: 0.30.21 - source-map-js: 1.2.1 - tailwindcss: 4.3.2 + source-map-js: 1.2.2 + tailwindcss: 4.3.3 - '@tailwindcss/oxide-android-arm64@4.3.2': + '@tailwindcss/oxide-android-arm64@4.3.3': optional: true - '@tailwindcss/oxide-darwin-arm64@4.3.2': + '@tailwindcss/oxide-darwin-arm64@4.3.3': optional: true - '@tailwindcss/oxide-darwin-x64@4.3.2': + '@tailwindcss/oxide-darwin-x64@4.3.3': optional: true - '@tailwindcss/oxide-freebsd-x64@4.3.2': + '@tailwindcss/oxide-freebsd-x64@4.3.3': optional: true - '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.2': + '@tailwindcss/oxide-linux-arm-gnueabihf@4.3.3': optional: true - '@tailwindcss/oxide-linux-arm64-gnu@4.3.2': + '@tailwindcss/oxide-linux-arm64-gnu@4.3.3': optional: true - '@tailwindcss/oxide-linux-arm64-musl@4.3.2': + '@tailwindcss/oxide-linux-arm64-musl@4.3.3': optional: true - '@tailwindcss/oxide-linux-x64-gnu@4.3.2': + '@tailwindcss/oxide-linux-x64-gnu@4.3.3': optional: true - '@tailwindcss/oxide-linux-x64-musl@4.3.2': + '@tailwindcss/oxide-linux-x64-musl@4.3.3': optional: true - '@tailwindcss/oxide-wasm32-wasi@4.3.2': + '@tailwindcss/oxide-wasm32-wasi@4.3.3': optional: true - '@tailwindcss/oxide-win32-arm64-msvc@4.3.2': + '@tailwindcss/oxide-win32-arm64-msvc@4.3.3': optional: true - '@tailwindcss/oxide-win32-x64-msvc@4.3.2': + '@tailwindcss/oxide-win32-x64-msvc@4.3.3': optional: true - '@tailwindcss/oxide@4.3.2': + '@tailwindcss/oxide@4.3.3': optionalDependencies: - '@tailwindcss/oxide-android-arm64': 4.3.2 - '@tailwindcss/oxide-darwin-arm64': 4.3.2 - '@tailwindcss/oxide-darwin-x64': 4.3.2 - '@tailwindcss/oxide-freebsd-x64': 4.3.2 - '@tailwindcss/oxide-linux-arm-gnueabihf': 4.3.2 - '@tailwindcss/oxide-linux-arm64-gnu': 4.3.2 - '@tailwindcss/oxide-linux-arm64-musl': 4.3.2 - '@tailwindcss/oxide-linux-x64-gnu': 4.3.2 - '@tailwindcss/oxide-linux-x64-musl': 4.3.2 - '@tailwindcss/oxide-wasm32-wasi': 4.3.2 - '@tailwindcss/oxide-win32-arm64-msvc': 4.3.2 - '@tailwindcss/oxide-win32-x64-msvc': 4.3.2 - - '@tailwindcss/vite@4.3.2(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))': - dependencies: - '@tailwindcss/node': 4.3.2 - '@tailwindcss/oxide': 4.3.2 - tailwindcss: 4.3.2 - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + '@tailwindcss/oxide-android-arm64': 4.3.3 + '@tailwindcss/oxide-darwin-arm64': 4.3.3 + '@tailwindcss/oxide-darwin-x64': 4.3.3 + '@tailwindcss/oxide-freebsd-x64': 4.3.3 + '@tailwindcss/oxide-linux-arm-gnueabihf': 4.3.3 + '@tailwindcss/oxide-linux-arm64-gnu': 4.3.3 + '@tailwindcss/oxide-linux-arm64-musl': 4.3.3 + '@tailwindcss/oxide-linux-x64-gnu': 4.3.3 + '@tailwindcss/oxide-linux-x64-musl': 4.3.3 + '@tailwindcss/oxide-wasm32-wasi': 4.3.3 + '@tailwindcss/oxide-win32-arm64-msvc': 4.3.3 + '@tailwindcss/oxide-win32-x64-msvc': 4.3.3 + + '@tailwindcss/vite@4.3.3(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))': + dependencies: + '@tailwindcss/node': 4.3.3 + '@tailwindcss/oxide': 4.3.3 + tailwindcss: 4.3.3 + vite: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) '@tanstack/virtual-core@3.17.4': {} - '@tanstack/vue-virtual@3.13.32(vue@3.5.42(typescript@6.0.3))': + '@tanstack/vue-virtual@3.13.32(vue@3.5.44(typescript@6.0.3))': dependencies: '@tanstack/virtual-core': 3.17.4 - vue: 3.5.42(typescript@6.0.3) + vue: 3.5.44(typescript@6.0.3) - '@testing-library/dom@10.4.1': + '@testing-library/dom@10.4.2': dependencies: '@babel/code-frame': 7.29.7 - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 '@types/aria-query': 5.0.4 aria-query: 5.3.0 dom-accessibility-api: 0.5.16 @@ -11193,7 +11315,7 @@ snapshots: '@testing-library/dom@9.3.4': dependencies: '@babel/code-frame': 7.29.7 - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 '@types/aria-query': 5.0.4 aria-query: 5.1.3 chalk: 4.1.2 @@ -11210,18 +11332,30 @@ snapshots: picocolors: 1.1.1 redent: 3.0.0 - '@testing-library/user-event@14.6.1(@testing-library/dom@10.4.1)': + '@testing-library/jest-dom@7.0.1(@testing-library/dom@10.4.2)(vitest@5.0.5)': + dependencies: + '@adobe/css-tools': 4.5.0 + '@testing-library/dom': 10.4.2 + aria-query: 5.3.2 + css.escape: 1.5.1 + dom-accessibility-api: 0.6.3 + picocolors: 1.1.1 + redent: 3.0.0 + optionalDependencies: + vitest: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) + + '@testing-library/user-event@14.6.8(@testing-library/dom@10.4.2)': dependencies: - '@testing-library/dom': 10.4.1 + '@testing-library/dom': 10.4.2 - '@testing-library/vue@8.1.0(@vue/compiler-dom@3.5.42)(@vue/compiler-sfc@3.5.42)(@vue/server-renderer@3.5.42)(vue@3.5.42(typescript@6.0.3))': + '@testing-library/vue@8.1.0(@vue/compiler-dom@3.5.44)(@vue/compiler-sfc@3.5.44)(@vue/server-renderer@3.5.44)(vue@3.5.44(typescript@6.0.3))': dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 '@testing-library/dom': 9.3.4 - '@vue/test-utils': 2.4.11(@vue/compiler-dom@3.5.42)(@vue/server-renderer@3.5.42)(vue@3.5.42(typescript@6.0.3)) - vue: 3.5.42(typescript@6.0.3) + '@vue/test-utils': 2.5.1(@vue/compiler-dom@3.5.44)(@vue/server-renderer@3.5.44)(vue@3.5.44(typescript@6.0.3)) + vue: 3.5.44(typescript@6.0.3) optionalDependencies: - '@vue/compiler-sfc': 3.5.42 + '@vue/compiler-sfc': 3.5.44 transitivePeerDependencies: - '@vue/compiler-dom' - '@vue/server-renderer' @@ -11373,28 +11507,28 @@ snapshots: '@tiptap/extensions': 3.31.0(@tiptap/core@3.31.0(@tiptap/pm@3.31.0))(@tiptap/pm@3.31.0) '@tiptap/pm': 3.31.0 - '@tmcp/adapter-valibot@0.1.6(tmcp@1.19.4(typescript@6.0.3))(valibot@1.2.0(typescript@6.0.3))': + '@tmcp/adapter-valibot@0.1.7(tmcp@1.20.1(typescript@6.0.3))(valibot@1.5.0(typescript@6.0.3))': dependencies: '@standard-schema/spec': 1.1.0 - '@valibot/to-json-schema': 1.7.1(valibot@1.2.0(typescript@6.0.3)) - tmcp: 1.19.4(typescript@6.0.3) - valibot: 1.2.0(typescript@6.0.3) + '@valibot/to-json-schema': 1.8.0(valibot@1.5.0(typescript@6.0.3)) + tmcp: 1.20.1(typescript@6.0.3) + valibot: 1.5.0(typescript@6.0.3) - '@tmcp/session-manager@0.2.2(tmcp@1.19.4(typescript@6.0.3))': + '@tmcp/session-manager@0.2.2(tmcp@1.20.1(typescript@6.0.3))': dependencies: - tmcp: 1.19.4(typescript@6.0.3) + tmcp: 1.20.1(typescript@6.0.3) - '@tmcp/transport-http@0.8.6(tmcp@1.19.4(typescript@6.0.3))': + '@tmcp/transport-http@0.8.6(tmcp@1.20.1(typescript@6.0.3))': dependencies: - '@tmcp/session-manager': 0.2.2(tmcp@1.19.4(typescript@6.0.3)) + '@tmcp/session-manager': 0.2.2(tmcp@1.20.1(typescript@6.0.3)) esm-env: 1.2.2 - tmcp: 1.19.4(typescript@6.0.3) + tmcp: 1.20.1(typescript@6.0.3) '@total-typescript/shoehorn@0.1.2(patch_hash=8860f8e380c137bc50b1976516d562675229ce1e5b436bb48c7daf65a3dbec15)': {} '@tweenjs/tween.js@23.1.3': {} - '@tybys/wasm-util@0.10.3': + '@tybys/wasm-util@0.10.4': dependencies: tslib: 2.8.1 optional: true @@ -11420,22 +11554,23 @@ snapshots: '@types/esrecurse@4.3.1': {} - '@types/estree@1.0.9': {} + '@types/estree@1.0.10': {} '@types/fs-extra@11.0.4': dependencies: '@types/jsonfile': 6.1.4 - '@types/node': 25.9.5 + '@types/node': 26.6.6 '@types/hast@3.0.5': dependencies: '@types/unist': 3.0.3 - '@types/jsdom@21.1.7': + '@types/jsdom@30.0.0': dependencies: - '@types/node': 25.9.5 + '@types/node': 26.6.6 '@types/tough-cookie': 4.0.5 - parse5: 7.3.0 + parse5: 8.0.1 + undici-types: 8.12.3 '@types/jsesc@2.5.1': {} @@ -11445,7 +11580,7 @@ snapshots: '@types/jsonfile@6.1.4': dependencies: - '@types/node': 25.9.5 + '@types/node': 26.6.6 '@types/linkify-it@3.0.5': {} @@ -11471,9 +11606,9 @@ snapshots: '@types/mdx@2.0.14': {} - '@types/node@25.9.5': + '@types/node@26.6.6': dependencies: - undici-types: 7.24.6 + undici-types: 8.9.0 '@types/react-dom@19.3.0(@types/react@19.3.0)': dependencies: @@ -11510,78 +11645,78 @@ snapshots: '@types/whatwg-mimetype@3.0.2': {} - '@types/ws@8.18.1': + '@types/ws@8.18.2': dependencies: - '@types/node': 25.9.5 + '@types/node': 26.6.6 - '@typescript-eslint/eslint-plugin@8.69.0(@typescript-eslint/parser@8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3)': + '@typescript-eslint/eslint-plugin@8.72.1(@typescript-eslint/parser@8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3))(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3)': dependencies: '@eslint-community/regexpp': 4.12.2 - '@typescript-eslint/parser': 8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3) - '@typescript-eslint/scope-manager': 8.69.0 - '@typescript-eslint/type-utils': 8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3) - '@typescript-eslint/utils': 8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3) - '@typescript-eslint/visitor-keys': 8.69.0 - eslint: 10.10.0(jiti@2.7.0) - ignore: 7.0.11 + '@typescript-eslint/parser': 8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3) + '@typescript-eslint/scope-manager': 8.72.1 + '@typescript-eslint/type-utils': 8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3) + '@typescript-eslint/utils': 8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3) + '@typescript-eslint/visitor-keys': 8.72.1 + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) + ignore: 7.0.14 natural-compare: 1.4.0 ts-api-utils: 2.5.0(typescript@6.0.3) typescript: 6.0.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3)': + '@typescript-eslint/parser@8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3)': dependencies: - '@typescript-eslint/scope-manager': 8.69.0 - '@typescript-eslint/types': 8.69.0 - '@typescript-eslint/typescript-estree': 8.69.0(typescript@6.0.3) - '@typescript-eslint/visitor-keys': 8.69.0 - debug: 4.4.3 - eslint: 10.10.0(jiti@2.7.0) + '@typescript-eslint/scope-manager': 8.72.1 + '@typescript-eslint/types': 8.72.1 + '@typescript-eslint/typescript-estree': 8.72.1(supports-color@10.2.2)(typescript@6.0.3) + '@typescript-eslint/visitor-keys': 8.72.1 + debug: 4.4.3(supports-color@10.2.2) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) typescript: 6.0.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/project-service@8.69.0(typescript@6.0.3)': + '@typescript-eslint/project-service@8.72.1(supports-color@10.2.2)(typescript@6.0.3)': dependencies: - '@typescript-eslint/tsconfig-utils': 8.69.0(typescript@6.0.3) - '@typescript-eslint/types': 8.69.0 - debug: 4.4.3 + '@typescript-eslint/tsconfig-utils': 8.72.1(typescript@6.0.3) + '@typescript-eslint/types': 8.72.1 + debug: 4.4.3(supports-color@10.2.2) typescript: 6.0.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.69.0': + '@typescript-eslint/scope-manager@8.72.1': dependencies: - '@typescript-eslint/types': 8.69.0 - '@typescript-eslint/visitor-keys': 8.69.0 + '@typescript-eslint/types': 8.72.1 + '@typescript-eslint/visitor-keys': 8.72.1 - '@typescript-eslint/tsconfig-utils@8.69.0(typescript@6.0.3)': + '@typescript-eslint/tsconfig-utils@8.72.1(typescript@6.0.3)': dependencies: typescript: 6.0.3 - '@typescript-eslint/type-utils@8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3)': + '@typescript-eslint/type-utils@8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3)': dependencies: - '@typescript-eslint/types': 8.69.0 - '@typescript-eslint/typescript-estree': 8.69.0(typescript@6.0.3) - '@typescript-eslint/utils': 8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3) - debug: 4.4.3 - eslint: 10.10.0(jiti@2.7.0) + '@typescript-eslint/types': 8.72.1 + '@typescript-eslint/typescript-estree': 8.72.1(supports-color@10.2.2)(typescript@6.0.3) + '@typescript-eslint/utils': 8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3) + debug: 4.4.3(supports-color@10.2.2) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) ts-api-utils: 2.5.0(typescript@6.0.3) typescript: 6.0.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/types@8.69.0': {} + '@typescript-eslint/types@8.72.1': {} - '@typescript-eslint/typescript-estree@8.69.0(typescript@6.0.3)': + '@typescript-eslint/typescript-estree@8.72.1(supports-color@10.2.2)(typescript@6.0.3)': dependencies: - '@typescript-eslint/project-service': 8.69.0(typescript@6.0.3) - '@typescript-eslint/tsconfig-utils': 8.69.0(typescript@6.0.3) - '@typescript-eslint/types': 8.69.0 - '@typescript-eslint/visitor-keys': 8.69.0 - debug: 4.4.3 - minimatch: 10.2.5 + '@typescript-eslint/project-service': 8.72.1(supports-color@10.2.2)(typescript@6.0.3) + '@typescript-eslint/tsconfig-utils': 8.72.1(typescript@6.0.3) + '@typescript-eslint/types': 8.72.1 + '@typescript-eslint/visitor-keys': 8.72.1 + debug: 4.4.3(supports-color@10.2.2) + minimatch: 10.2.6 semver: 7.8.5 tinyglobby: 0.2.17 ts-api-utils: 2.5.0(typescript@6.0.3) @@ -11589,41 +11724,41 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3)': + '@typescript-eslint/utils@8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3)': dependencies: - '@eslint-community/eslint-utils': 4.9.1(eslint@10.10.0(jiti@2.7.0)) - '@typescript-eslint/scope-manager': 8.69.0 - '@typescript-eslint/types': 8.69.0 - '@typescript-eslint/typescript-estree': 8.69.0(typescript@6.0.3) - eslint: 10.10.0(jiti@2.7.0) + '@eslint-community/eslint-utils': 4.10.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2)) + '@typescript-eslint/scope-manager': 8.72.1 + '@typescript-eslint/types': 8.72.1 + '@typescript-eslint/typescript-estree': 8.72.1(supports-color@10.2.2)(typescript@6.0.3) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) typescript: 6.0.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/visitor-keys@8.69.0': + '@typescript-eslint/visitor-keys@8.72.1': dependencies: - '@typescript-eslint/types': 8.69.0 + '@typescript-eslint/types': 8.72.1 eslint-visitor-keys: 5.0.1 - '@typescript-native-bridge/darwin-arm64@6.0.3-bridge.17.tsgo.7.0.2': + '@typescript-native-bridge/darwin-arm64@6.0.3-bridge.19.tsgo.7.0.2': optional: true - '@typescript-native-bridge/darwin-x64@6.0.3-bridge.17.tsgo.7.0.2': + '@typescript-native-bridge/darwin-x64@6.0.3-bridge.19.tsgo.7.0.2': optional: true - '@typescript-native-bridge/linux-arm64@6.0.3-bridge.17.tsgo.7.0.2': + '@typescript-native-bridge/linux-arm64@6.0.3-bridge.19.tsgo.7.0.2': optional: true - '@typescript-native-bridge/linux-arm@6.0.3-bridge.17.tsgo.7.0.2': + '@typescript-native-bridge/linux-arm@6.0.3-bridge.19.tsgo.7.0.2': optional: true - '@typescript-native-bridge/linux-x64@6.0.3-bridge.17.tsgo.7.0.2': + '@typescript-native-bridge/linux-x64@6.0.3-bridge.19.tsgo.7.0.2': optional: true - '@typescript-native-bridge/win32-arm64@6.0.3-bridge.17.tsgo.7.0.2': + '@typescript-native-bridge/win32-arm64@6.0.3-bridge.19.tsgo.7.0.2': optional: true - '@typescript-native-bridge/win32-x64@6.0.3-bridge.17.tsgo.7.0.2': + '@typescript-native-bridge/win32-x64@6.0.3-bridge.19.tsgo.7.0.2': optional: true '@typescript/typescript-aix-ppc64@7.0.2': @@ -11746,7 +11881,7 @@ snapshots: dependencies: '@emnapi/core': 1.10.0 '@emnapi/runtime': 1.10.0 - '@napi-rs/wasm-runtime': 1.2.3(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0) + '@napi-rs/wasm-runtime': 1.2.6(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0) optional: true '@unrs/resolver-binding-win32-arm64-msvc@1.12.2': @@ -11758,31 +11893,27 @@ snapshots: '@unrs/resolver-binding-win32-x64-msvc@1.12.2': optional: true - '@valibot/to-json-schema@1.7.1(valibot@1.2.0(typescript@6.0.3))': - dependencies: - valibot: 1.2.0(typescript@6.0.3) - - '@valibot/to-json-schema@1.7.1(valibot@1.4.2(typescript@6.0.3))': + '@valibot/to-json-schema@1.8.0(valibot@1.5.0(typescript@6.0.3))': dependencies: - valibot: 1.4.2(typescript@6.0.3) + valibot: 1.5.0(typescript@6.0.3) - '@vitejs/plugin-vue@6.0.8(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3))': + '@vitejs/plugin-vue@6.0.10(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3))': dependencies: '@rolldown/pluginutils': 1.0.1 - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) - vue: 3.5.42(typescript@6.0.3) + vite: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) + vue: 3.5.44(typescript@6.0.3) - '@vitest/coverage-v8@5.0.2(vitest@5.0.2)': + '@vitest/coverage-v8@5.0.5(vitest@5.0.5)': dependencies: '@bcoe/v8-coverage': 1.0.2 - '@vitest/istanbul-lib-coverage': 1.0.1 - '@vitest/istanbul-lib-report': 1.0.1 - ast-v8-to-istanbul: 1.0.5 - magicast: 0.5.4 - obug: 2.1.4 - std-env: 4.2.0 - tinyrainbow: 3.1.1 - vitest: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + '@vitest/istanbul-lib-coverage': 1.0.2 + '@vitest/istanbul-lib-report': 1.0.2 + ast-v8-to-istanbul: 1.0.7 + magicast: 0.5.5 + obug: 3.0.0 + std-env: 4.3.0 + tinyrainbow: 3.2.0 + vitest: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) '@vitest/expect@3.2.4': dependencies: @@ -11792,44 +11923,44 @@ snapshots: chai: 5.3.3 tinyrainbow: 2.0.0 - '@vitest/istanbul-lib-coverage@1.0.1': {} + '@vitest/istanbul-lib-coverage@1.0.2': {} - '@vitest/istanbul-lib-report@1.0.1': + '@vitest/istanbul-lib-report@1.0.2': dependencies: - '@vitest/istanbul-lib-coverage': 1.0.1 + '@vitest/istanbul-lib-coverage': 1.0.2 - '@vitest/mocker@5.0.2(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))': + '@vitest/mocker@5.0.5(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))': dependencies: '@jridgewell/trace-mapping': 0.3.31 - '@vitest/spy': 5.0.2 + '@vitest/spy': 5.0.5 estree-walker: 3.0.3 - magic-string: 1.4.2 + magic-string: 1.4.5 optionalDependencies: - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + vite: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) '@vitest/pretty-format@3.2.4': dependencies: tinyrainbow: 2.0.0 - '@vitest/pretty-format@5.0.2': + '@vitest/pretty-format@5.0.5': dependencies: - tinyrainbow: 3.1.1 + tinyrainbow: 3.2.0 '@vitest/spy@3.2.4': dependencies: - tinyspy: 4.0.4 + tinyspy: 4.0.6 - '@vitest/spy@5.0.2': {} + '@vitest/spy@5.0.5': {} - '@vitest/ui@5.0.2(vitest@5.0.2)': + '@vitest/ui@5.0.5(vitest@5.0.5)': dependencies: - '@vitest/utils': 5.0.2 + '@vitest/utils': 5.0.5 fflate: 0.8.3 flatted: 3.4.4 pathe: 2.0.3 sirv: 3.0.2 - tinyrainbow: 3.1.1 - vitest: 5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + tinyrainbow: 3.2.0 + vitest: 5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) '@vitest/utils@3.2.4': dependencies: @@ -11837,92 +11968,118 @@ snapshots: loupe: 3.2.1 tinyrainbow: 2.0.0 - '@vitest/utils@5.0.2': + '@vitest/utils@5.0.5': dependencies: - '@vitest/pretty-format': 5.0.2 + '@vitest/pretty-format': 5.0.5 convert-source-map: 2.0.0 - tinyrainbow: 3.1.1 + tinyrainbow: 3.2.0 '@volar/language-core@2.4.28': dependencies: '@volar/source-map': 2.4.28 + '@volar/language-core@2.4.30': + dependencies: + '@volar/source-map': 2.4.30 + + '@volar/language-service@2.4.30(typescript@6.0.3)': + dependencies: + '@volar/language-core': 2.4.30 + vscode-languageserver-protocol: 3.18.5 + vscode-languageserver-textdocument: 1.0.16 + vscode-uri: 3.2.0 + optionalDependencies: + typescript: 6.0.3 + '@volar/source-map@2.4.28': {} - '@volar/typescript@2.4.28': + '@volar/source-map@2.4.30': {} + + '@volar/typescript@2.4.28(typescript@6.0.3)': dependencies: '@volar/language-core': 2.4.28 path-browserify: 1.0.1 vscode-uri: 3.2.0 + optionalDependencies: + typescript: 6.0.3 + + '@volar/typescript@2.4.30(typescript@6.0.3)': + dependencies: + '@volar/language-core': 2.4.30 + '@volar/language-service': 2.4.30(typescript@6.0.3) + path-browserify: 1.0.1 + vscode-uri: 3.2.0 + optionalDependencies: + typescript: 6.0.3 - '@vue-macros/common@3.1.3(vue@3.5.42(typescript@6.0.3))': + '@vue-macros/common@3.1.3(vue@3.5.44(typescript@6.0.3))': dependencies: - '@vue/compiler-sfc': 3.5.42 + '@vue/compiler-sfc': 3.5.44 ast-kit: 2.2.0 local-pkg: 1.2.1 magic-string-ast: 1.0.3 unplugin-utils: 0.3.2 optionalDependencies: - vue: 3.5.42(typescript@6.0.3) + vue: 3.5.44(typescript@6.0.3) '@vue/babel-helper-vue-transform-on@1.5.0': {} - '@vue/babel-plugin-jsx@1.5.0(@babel/core@7.29.7)': + '@vue/babel-plugin-jsx@1.5.0(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2)': dependencies: - '@babel/helper-module-imports': 7.29.7 + '@babel/helper-module-imports': 7.29.7(supports-color@10.2.2) '@babel/helper-plugin-utils': 7.29.7 - '@babel/plugin-syntax-jsx': 7.29.7(@babel/core@7.29.7) + '@babel/plugin-syntax-jsx': 7.29.7(@babel/core@7.29.7(supports-color@10.2.2)) '@babel/template': 7.29.7 - '@babel/traverse': 7.29.8 - '@babel/types': 7.29.8 + '@babel/traverse': 7.29.12(supports-color@10.2.2) + '@babel/types': 7.29.11 '@vue/babel-helper-vue-transform-on': 1.5.0 - '@vue/babel-plugin-resolve-type': 1.5.0(@babel/core@7.29.7) - '@vue/shared': 3.5.42 + '@vue/babel-plugin-resolve-type': 1.5.0(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2) + '@vue/shared': 3.5.44 optionalDependencies: - '@babel/core': 7.29.7 + '@babel/core': 7.29.7(supports-color@10.2.2) transitivePeerDependencies: - supports-color - '@vue/babel-plugin-resolve-type@1.5.0(@babel/core@7.29.7)': + '@vue/babel-plugin-resolve-type@1.5.0(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2)': dependencies: '@babel/code-frame': 7.29.7 - '@babel/core': 7.29.7 - '@babel/helper-module-imports': 7.29.7 + '@babel/core': 7.29.7(supports-color@10.2.2) + '@babel/helper-module-imports': 7.29.7(supports-color@10.2.2) '@babel/helper-plugin-utils': 7.29.7 - '@babel/parser': 7.29.8 - '@vue/compiler-sfc': 3.5.42 + '@babel/parser': 7.29.12 + '@vue/compiler-sfc': 3.5.44 transitivePeerDependencies: - supports-color - '@vue/compiler-core@3.5.42': + '@vue/compiler-core@3.5.44': dependencies: - '@babel/parser': 7.29.8 - '@vue/shared': 3.5.42 + '@babel/parser': 7.29.12 + '@vue/shared': 3.5.44 entities: 7.0.1 estree-walker: 2.0.2 - source-map-js: 1.2.1 + source-map-js: 1.2.2 - '@vue/compiler-dom@3.5.42': + '@vue/compiler-dom@3.5.44': dependencies: - '@vue/compiler-core': 3.5.42 - '@vue/shared': 3.5.42 + '@vue/compiler-core': 3.5.44 + '@vue/shared': 3.5.44 - '@vue/compiler-sfc@3.5.42': + '@vue/compiler-sfc@3.5.44': dependencies: - '@babel/parser': 7.29.8 - '@vue/compiler-core': 3.5.42 - '@vue/compiler-dom': 3.5.42 - '@vue/compiler-ssr': 3.5.42 - '@vue/shared': 3.5.42 + '@babel/parser': 7.29.12 + '@vue/compiler-core': 3.5.44 + '@vue/compiler-dom': 3.5.44 + '@vue/compiler-ssr': 3.5.44 + '@vue/shared': 3.5.44 estree-walker: 2.0.2 magic-string: 0.30.21 - postcss: 8.5.26 - source-map-js: 1.2.1 + postcss: 8.5.32 + source-map-js: 1.2.2 - '@vue/compiler-ssr@3.5.42': + '@vue/compiler-ssr@3.5.44': dependencies: - '@vue/compiler-dom': 3.5.42 - '@vue/shared': 3.5.42 + '@vue/compiler-dom': 3.5.44 + '@vue/shared': 3.5.44 '@vue/devtools-api@6.6.4': {} @@ -11934,11 +12091,11 @@ snapshots: dependencies: '@vue/devtools-kit': 8.2.1 - '@vue/devtools-core@8.2.1(vue@3.5.42(typescript@6.0.3))': + '@vue/devtools-core@8.2.1(vue@3.5.44(typescript@6.0.3))': dependencies: '@vue/devtools-kit': 8.2.1 '@vue/devtools-shared': 8.2.1 - vue: 3.5.42(typescript@6.0.3) + vue: 3.5.44(typescript@6.0.3) '@vue/devtools-kit@7.7.10': dependencies: @@ -11966,87 +12123,87 @@ snapshots: '@vue/language-core@3.3.11': dependencies: '@volar/language-core': 2.4.28 - '@vue/compiler-dom': 3.5.42 - '@vue/shared': 3.5.42 + '@vue/compiler-dom': 3.5.44 + '@vue/shared': 3.5.44 alien-signals: 3.2.1 muggle-string: 0.4.1 path-browserify: 1.0.1 picomatch: 4.0.7 - '@vue/language-core@3.3.7': + '@vue/language-core@3.3.14': dependencies: - '@volar/language-core': 2.4.28 - '@vue/compiler-dom': 3.5.42 - '@vue/shared': 3.5.42 + '@volar/language-core': 2.4.30 + '@vue/compiler-dom': 3.5.44 + '@vue/shared': 3.5.44 alien-signals: 3.2.1 muggle-string: 0.4.1 path-browserify: 1.0.1 picomatch: 4.0.7 - '@vue/reactivity@3.5.42': + '@vue/reactivity@3.5.44': dependencies: - '@vue/shared': 3.5.42 + '@vue/shared': 3.5.44 - '@vue/runtime-core@3.5.42': + '@vue/runtime-core@3.5.44': dependencies: - '@vue/reactivity': 3.5.42 - '@vue/shared': 3.5.42 + '@vue/reactivity': 3.5.44 + '@vue/shared': 3.5.44 - '@vue/runtime-dom@3.5.42': + '@vue/runtime-dom@3.5.44': dependencies: - '@vue/reactivity': 3.5.42 - '@vue/runtime-core': 3.5.42 - '@vue/shared': 3.5.42 + '@vue/reactivity': 3.5.44 + '@vue/runtime-core': 3.5.44 + '@vue/shared': 3.5.44 csstype: 3.2.3 - '@vue/server-renderer@3.5.42': + '@vue/server-renderer@3.5.44': dependencies: - '@vue/compiler-ssr': 3.5.42 - '@vue/runtime-dom': 3.5.42 - '@vue/shared': 3.5.42 + '@vue/compiler-ssr': 3.5.44 + '@vue/runtime-dom': 3.5.44 + '@vue/shared': 3.5.44 - '@vue/shared@3.5.42': {} + '@vue/shared@3.5.44': {} - '@vue/test-utils@2.4.11(@vue/compiler-dom@3.5.42)(@vue/server-renderer@3.5.42)(vue@3.5.42(typescript@6.0.3))': + '@vue/test-utils@2.5.1(@vue/compiler-dom@3.5.44)(@vue/server-renderer@3.5.44)(vue@3.5.44(typescript@6.0.3))': dependencies: - '@vue/compiler-dom': 3.5.42 - js-beautify: 1.15.4 - vue: 3.5.42(typescript@6.0.3) - vue-component-type-helpers: 3.3.11 + '@vue/compiler-dom': 3.5.44 + js-beautify: 2.0.3 + vue: 3.5.44(typescript@6.0.3) + vue-component-type-helpers: 3.3.14 optionalDependencies: - '@vue/server-renderer': 3.5.42 + '@vue/server-renderer': 3.5.44 - '@vueuse/core@14.4.0(vue@3.5.42(typescript@6.0.3))': + '@vueuse/core@14.4.0(vue@3.5.44(typescript@6.0.3))': dependencies: '@types/web-bluetooth': 0.0.21 '@vueuse/metadata': 14.4.0 - '@vueuse/shared': 14.4.0(vue@3.5.42(typescript@6.0.3)) - vue: 3.5.42(typescript@6.0.3) + '@vueuse/shared': 14.4.0(vue@3.5.44(typescript@6.0.3)) + vue: 3.5.44(typescript@6.0.3) - '@vueuse/integrations@14.4.0(axios@1.18.1)(fuse.js@7.0.0)(vue@3.5.42(typescript@6.0.3))': + '@vueuse/integrations@14.4.0(axios@1.21.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2))(fuse.js@7.0.0)(vue@3.5.44(typescript@6.0.3))': dependencies: - '@vueuse/core': 14.4.0(vue@3.5.42(typescript@6.0.3)) - '@vueuse/shared': 14.4.0(vue@3.5.42(typescript@6.0.3)) - vue: 3.5.42(typescript@6.0.3) + '@vueuse/core': 14.4.0(vue@3.5.44(typescript@6.0.3)) + '@vueuse/shared': 14.4.0(vue@3.5.44(typescript@6.0.3)) + vue: 3.5.44(typescript@6.0.3) optionalDependencies: - axios: 1.18.1(debug@4.4.3) + axios: 1.21.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2) fuse.js: 7.0.0 '@vueuse/metadata@14.4.0': {} - '@vueuse/router@14.4.0(vue-router@5.2.0(@vue/compiler-sfc@3.5.42)(esbuild@0.28.1)(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)))(rolldown@1.2.6)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)))(vue@3.5.42(typescript@6.0.3))': + '@vueuse/router@14.4.0(vue-router@5.2.0(@vue/compiler-sfc@3.5.44)(esbuild@0.28.2)(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)))(rolldown@1.2.16)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)))(vue@3.5.44(typescript@6.0.3))': dependencies: - '@vueuse/shared': 14.4.0(vue@3.5.42(typescript@6.0.3)) - vue: 3.5.42(typescript@6.0.3) - vue-router: 5.2.0(@vue/compiler-sfc@3.5.42)(esbuild@0.28.1)(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)))(rolldown@1.2.6)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)) + '@vueuse/shared': 14.4.0(vue@3.5.44(typescript@6.0.3)) + vue: 3.5.44(typescript@6.0.3) + vue-router: 5.2.0(@vue/compiler-sfc@3.5.44)(esbuild@0.28.2)(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)))(rolldown@1.2.16)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)) - '@vueuse/shared@14.4.0(vue@3.5.42(typescript@6.0.3))': + '@vueuse/shared@14.4.0(vue@3.5.44(typescript@6.0.3))': dependencies: - vue: 3.5.42(typescript@6.0.3) + vue: 3.5.44(typescript@6.0.3) '@webcontainer/env@1.1.1': {} - '@webgpu/types@0.1.71': {} + '@webgpu/types@0.1.74': {} '@xstate/fsm@1.6.5': {} @@ -12056,34 +12213,34 @@ snapshots: '@xterm/xterm@5.5.0': {} - abbrev@2.0.0: {} + abbrev@5.0.0: {} acorn-jsx-walk@2.0.0: {} - acorn-jsx@5.3.2(acorn@8.18.0): + acorn-jsx@5.3.2(acorn@8.19.0): dependencies: - acorn: 8.18.0 + acorn: 8.19.0 acorn-loose@8.5.2: dependencies: - acorn: 8.18.0 + acorn: 8.19.0 acorn-walk@8.3.5: dependencies: - acorn: 8.18.0 + acorn: 8.19.0 acorn@7.4.1: {} - acorn@8.18.0: {} + acorn@8.19.0: {} ag-psd@31.0.2: dependencies: base64-js: 1.5.1 pako: 2.1.0 - agent-base@6.0.2: + agent-base@6.0.2(supports-color@10.2.2): dependencies: - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) transitivePeerDependencies: - supports-color @@ -12091,8 +12248,8 @@ snapshots: optionalDependencies: ajv: 8.20.0 - ajv-formats@3.0.1(ajv@8.20.0): - optionalDependencies: + ajv-formats@3.0.1: + dependencies: ajv: 8.20.0 ajv@6.15.0: @@ -12105,7 +12262,7 @@ snapshots: ajv@8.20.0: dependencies: fast-deep-equal: 3.1.3 - fast-uri: 3.1.5 + fast-uri: 3.1.9 json-schema-traverse: 1.0.0 require-from-string: 2.0.2 @@ -12130,13 +12287,9 @@ snapshots: ansi-colors@4.1.3: {} - ansi-escapes@7.3.0: - dependencies: - environment: 1.1.0 - ansi-regex@5.0.1: {} - ansi-regex@6.2.2: {} + ansi-regex@6.5.0: {} ansi-styles@4.3.0: dependencies: @@ -12146,12 +12299,7 @@ snapshots: ansi-styles@6.2.3: {} - ansis@4.3.1: {} - - anymatch@3.1.3: - dependencies: - normalize-path: 3.0.0 - picomatch: 2.3.2 + ansis@4.4.0: {} arg@5.0.2: {} @@ -12188,14 +12336,14 @@ snapshots: ast-kit@2.2.0: dependencies: - '@babel/parser': 7.29.8 + '@babel/parser': 7.29.12 pathe: 2.0.3 - ast-types@0.16.1: + ast-types@0.16.3: dependencies: tslib: 2.8.1 - ast-v8-to-istanbul@1.0.5: + ast-v8-to-istanbul@1.0.7: dependencies: '@jridgewell/trace-mapping': 0.3.31 estree-walker: 3.0.3 @@ -12203,8 +12351,8 @@ snapshots: ast-walker-scope@0.9.0: dependencies: - '@babel/parser': 7.29.8 - '@babel/types': 7.29.8 + '@babel/parser': 7.29.12 + '@babel/types': 7.29.11 ast-kit: 2.2.0 astral-regex@2.0.0: {} @@ -12215,18 +12363,18 @@ snapshots: automation-events@7.1.19: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 tslib: 2.8.1 available-typed-arrays@1.0.7: dependencies: possible-typed-array-names: 1.1.0 - axios@1.18.1(debug@4.4.3): + axios@1.21.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2): dependencies: - follow-redirects: 1.16.0(debug@4.4.3) + follow-redirects: 1.16.0(debug@4.4.3(supports-color@10.2.2)) form-data: 4.0.6 - https-proxy-agent: 5.0.1 + https-proxy-agent: 5.0.1(supports-color@10.2.2) proxy-from-env: 2.1.0 transitivePeerDependencies: - debug @@ -12234,7 +12382,7 @@ snapshots: babel-walk@3.0.0-canary-5: dependencies: - '@babel/types': 7.29.8 + '@babel/types': 7.29.11 balanced-match@1.0.2: {} @@ -12244,32 +12392,30 @@ snapshots: base64-js@1.5.1: {} - baseline-browser-mapping@2.10.43: {} + baseline-browser-mapping@2.11.34: {} - bidi-js@1.0.3: + bidi-js@1.1.0: dependencies: require-from-string: 2.0.2 - binary-extensions@2.3.0: {} - bind-event-listener@3.0.0: {} birpc@2.9.0: {} - birpc@4.0.0: {} + birpc@4.2.0: {} boolbase@1.0.0: {} - brace-expansion@1.1.18: + brace-expansion@1.1.21: dependencies: balanced-match: 1.0.2 concat-map: 0.0.1 - brace-expansion@2.1.4: + brace-expansion@2.1.7: dependencies: balanced-match: 1.0.2 - brace-expansion@5.0.9: + brace-expansion@5.0.12: dependencies: balanced-match: 4.0.4 @@ -12279,45 +12425,47 @@ snapshots: broker-factory@3.1.15: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 fast-unique-numbers: 9.0.27 tslib: 2.8.1 worker-factory: 7.0.50 - browserslist@4.28.6: + browserslist@4.29.5: dependencies: - baseline-browser-mapping: 2.10.43 - caniuse-lite: 1.0.30001805 - electron-to-chromium: 1.5.392 - node-releases: 2.0.51 - update-browserslist-db: 1.2.3(browserslist@4.28.6) + baseline-browser-mapping: 2.11.34 + caniuse-lite: 1.0.30001820 + electron-to-chromium: 1.5.468 + node-releases: 2.0.61 + update-browserslist-db: 1.3.4(browserslist@4.29.5) + + buffer-crc32@1.0.0: {} buffer-from@1.1.2: {} buffer-image-size@0.6.4: dependencies: - '@types/node': 25.9.5 + '@types/node': 26.6.6 - bundle-name@4.1.0: + bundle-name@4.1.1: dependencies: run-applescript: 7.1.0 - c12@3.3.4(magicast@0.5.4): + c12@3.3.4(magicast@0.5.5): dependencies: chokidar: 5.0.0 confbox: 0.2.4 defu: 6.1.7 dotenv: 17.4.2 - exsolve: 1.1.0 + exsolve: 1.2.0 giget: 3.3.1 jiti: 2.7.0 - ohash: 2.0.11 + ohash: 2.0.12 pathe: 2.0.3 perfect-debounce: 2.1.0 - pkg-types: 2.3.1 - rc9: 3.0.1 + pkg-types: 2.4.0 + rc9: 3.1.0 optionalDependencies: - magicast: 0.5.4 + magicast: 0.5.5 cacheable@2.5.0: dependencies: @@ -12351,7 +12499,7 @@ snapshots: pascal-case: 3.1.2 tslib: 2.8.1 - caniuse-lite@1.0.30001805: {} + caniuse-lite@1.0.30001820: {} ccount@2.0.1: {} @@ -12363,7 +12511,7 @@ snapshots: loupe: 3.2.1 pathval: 2.0.1 - chai@6.2.2: {} + chai@6.3.0: {} chalk@4.1.2: dependencies: @@ -12386,41 +12534,26 @@ snapshots: check-more-types@2.24.0: {} - chokidar@3.6.0: - dependencies: - anymatch: 3.1.3 - braces: 3.0.3 - glob-parent: 5.1.2 - is-binary-path: 2.1.0 - is-glob: 4.0.3 - normalize-path: 3.0.0 - readdirp: 3.6.0 - optionalDependencies: - fsevents: 2.3.3 - chokidar@5.0.0: dependencies: - readdirp: 5.0.0 + readdirp: 5.1.1 clean-css@5.3.3: dependencies: source-map: 0.6.1 - cli-cursor@5.0.0: - dependencies: - restore-cursor: 5.1.0 - - cli-truncate@5.2.0: - dependencies: - slice-ansi: 8.0.0 - string-width: 8.2.2 - cliui@8.0.1: dependencies: string-width: 4.2.3 strip-ansi: 6.0.1 wrap-ansi: 7.0.0 + cliui@9.0.1: + dependencies: + string-width: 7.2.0 + strip-ansi: 7.2.0 + wrap-ansi: 9.0.2 + clsx@2.1.1: {} color-convert@2.0.1: @@ -12431,7 +12564,7 @@ snapshots: color-support@1.1.3: {} - colord@2.9.3: {} + colord@2.10.0: {} colorette@2.0.20: {} @@ -12441,8 +12574,6 @@ snapshots: comma-separated-tokens@2.0.3: {} - commander@10.0.1: {} - commander@11.1.0: {} commander@14.0.3: {} @@ -12453,7 +12584,7 @@ snapshots: commander@8.3.0: {} - comment-parser@1.4.7: {} + comment-parser@1.4.9: {} compare-versions@6.1.1: {} @@ -12463,6 +12594,8 @@ snapshots: confbox@0.2.4: {} + confbox@0.3.2: {} + config-chain@1.1.13: dependencies: ini: 1.3.8 @@ -12476,8 +12609,8 @@ snapshots: constantinople@4.0.1: dependencies: - '@babel/parser': 7.29.8 - '@babel/types': 7.29.8 + '@babel/parser': 7.29.12 + '@babel/types': 7.29.11 convert-source-map@2.0.0: {} @@ -12493,7 +12626,7 @@ snapshots: dependencies: env-paths: 2.2.1 import-fresh: 3.3.1 - js-yaml: 4.3.1 + js-yaml: 4.3.2 parse-json: 5.2.0 optionalDependencies: typescript: 6.0.3 @@ -12530,12 +12663,12 @@ snapshots: css-tree@2.2.1: dependencies: mdn-data: 2.0.28 - source-map-js: 1.2.1 + source-map-js: 1.2.2 css-tree@3.2.1: dependencies: mdn-data: 2.27.1 - source-map-js: 1.2.1 + source-map-js: 1.2.2 css-what@6.2.2: {} @@ -12560,16 +12693,18 @@ snapshots: optionalDependencies: typescript: 6.0.3 - data-urls@7.0.0: + data-urls@8.0.0: dependencies: whatwg-mimetype: 5.0.0 - whatwg-url: 16.0.1 + whatwg-url: 17.3.0 transitivePeerDependencies: - '@noble/hashes' - debug@4.4.3: + debug@4.4.3(supports-color@10.2.2): dependencies: ms: 2.1.3 + optionalDependencies: + supports-color: 10.2.2 decimal.js@10.6.0: {} @@ -12594,15 +12729,15 @@ snapshots: side-channel: 1.1.1 which-boxed-primitive: 1.1.1 which-collection: 1.0.2 - which-typed-array: 1.1.22 + which-typed-array: 1.1.24 deep-is@0.1.4: {} default-browser-id@5.0.1: {} - default-browser@5.5.0: + default-browser@5.5.1: dependencies: - bundle-name: 4.1.0 + bundle-name: 4.1.1 default-browser-id: 5.0.1 define-data-property@1.1.4: @@ -12611,8 +12746,6 @@ snapshots: es-errors: 1.3.0 gopd: 1.2.0 - define-lazy-prop@2.0.0: {} - define-lazy-prop@3.0.0: {} define-properties@1.2.1: @@ -12625,16 +12758,16 @@ snapshots: delayed-stream@1.0.0: {} - dependency-cruiser@18.5.0: + dependency-cruiser@18.7.0: dependencies: - acorn: 8.18.0 - acorn-jsx: 5.3.2(acorn@8.18.0) + acorn: 8.19.0 + acorn-jsx: 5.3.2(acorn@8.19.0) acorn-jsx-walk: 2.0.0 acorn-loose: 8.5.2 acorn-walk: 8.3.5 commander: 15.0.0 enhanced-resolve: 5.26.0 - ignore: 7.0.11 + ignore: 7.0.12 interpret: 3.1.1 is-installed-globally: 1.0.1 json5: 2.2.3 @@ -12686,7 +12819,7 @@ snapshots: dependencies: domelementtype: 2.3.0 - dompurify@3.4.13: + dompurify@3.4.17: optionalDependencies: '@types/trusted-types': 2.0.7 @@ -12723,11 +12856,11 @@ snapshots: eastasianwidth@0.2.0: {} - editorconfig@1.0.7: + editorconfig@3.0.2: dependencies: - '@one-ini/wasm': 0.1.1 - commander: 10.0.1 - minimatch: 9.0.9 + '@one-ini/wasm': 0.2.1 + commander: 14.0.3 + minimatch: 10.2.6 semver: 7.8.5 eight-colors@1.3.3: {} @@ -12736,7 +12869,7 @@ snapshots: dependencies: jake: 10.9.4 - electron-to-chromium@1.5.392: {} + electron-to-chromium@1.5.468: {} emoji-regex@10.6.0: {} @@ -12744,11 +12877,6 @@ snapshots: emoji-regex@9.2.2: {} - enhanced-resolve@5.21.6: - dependencies: - graceful-fs: 4.2.11 - tapable: 2.3.3 - enhanced-resolve@5.26.0: dependencies: graceful-fs: 4.2.11 @@ -12762,12 +12890,10 @@ snapshots: entities@7.0.1: {} - entities@8.0.0: {} + entities@8.1.0: {} env-paths@2.2.1: {} - environment@1.1.0: {} - error-ex@1.3.4: dependencies: is-arrayish: 0.2.1 @@ -12805,94 +12931,94 @@ snapshots: es-toolkit@1.49.0: {} - esbuild@0.28.1: + esbuild@0.28.2: optionalDependencies: - '@esbuild/aix-ppc64': 0.28.1 - '@esbuild/android-arm': 0.28.1 - '@esbuild/android-arm64': 0.28.1 - '@esbuild/android-x64': 0.28.1 - '@esbuild/darwin-arm64': 0.28.1 - '@esbuild/darwin-x64': 0.28.1 - '@esbuild/freebsd-arm64': 0.28.1 - '@esbuild/freebsd-x64': 0.28.1 - '@esbuild/linux-arm': 0.28.1 - '@esbuild/linux-arm64': 0.28.1 - '@esbuild/linux-ia32': 0.28.1 - '@esbuild/linux-loong64': 0.28.1 - '@esbuild/linux-mips64el': 0.28.1 - '@esbuild/linux-ppc64': 0.28.1 - '@esbuild/linux-riscv64': 0.28.1 - '@esbuild/linux-s390x': 0.28.1 - '@esbuild/linux-x64': 0.28.1 - '@esbuild/netbsd-arm64': 0.28.1 - '@esbuild/netbsd-x64': 0.28.1 - '@esbuild/openbsd-arm64': 0.28.1 - '@esbuild/openbsd-x64': 0.28.1 - '@esbuild/openharmony-arm64': 0.28.1 - '@esbuild/sunos-x64': 0.28.1 - '@esbuild/win32-arm64': 0.28.1 - '@esbuild/win32-ia32': 0.28.1 - '@esbuild/win32-x64': 0.28.1 + '@esbuild/aix-ppc64': 0.28.2 + '@esbuild/android-arm': 0.28.2 + '@esbuild/android-arm64': 0.28.2 + '@esbuild/android-x64': 0.28.2 + '@esbuild/darwin-arm64': 0.28.2 + '@esbuild/darwin-x64': 0.28.2 + '@esbuild/freebsd-arm64': 0.28.2 + '@esbuild/freebsd-x64': 0.28.2 + '@esbuild/linux-arm': 0.28.2 + '@esbuild/linux-arm64': 0.28.2 + '@esbuild/linux-ia32': 0.28.2 + '@esbuild/linux-loong64': 0.28.2 + '@esbuild/linux-mips64el': 0.28.2 + '@esbuild/linux-ppc64': 0.28.2 + '@esbuild/linux-riscv64': 0.28.2 + '@esbuild/linux-s390x': 0.28.2 + '@esbuild/linux-x64': 0.28.2 + '@esbuild/netbsd-arm64': 0.28.2 + '@esbuild/netbsd-x64': 0.28.2 + '@esbuild/openbsd-arm64': 0.28.2 + '@esbuild/openbsd-x64': 0.28.2 + '@esbuild/openharmony-arm64': 0.28.2 + '@esbuild/sunos-x64': 0.28.2 + '@esbuild/win32-arm64': 0.28.2 + '@esbuild/win32-ia32': 0.28.2 + '@esbuild/win32-x64': 0.28.2 escalade@3.2.0: {} escape-string-regexp@4.0.0: {} - eslint-compat-utils@0.6.5(eslint@10.10.0(jiti@2.7.0)): + eslint-compat-utils@0.6.5(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2)): dependencies: - eslint: 10.10.0(jiti@2.7.0) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) semver: 7.8.5 - eslint-config-prettier@10.1.8(eslint@10.10.0(jiti@2.7.0)): + eslint-config-prettier@10.1.8(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2)): dependencies: - eslint: 10.10.0(jiti@2.7.0) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) eslint-import-context@0.1.9(unrs-resolver@1.12.2): dependencies: - get-tsconfig: 4.14.0 + get-tsconfig: 4.14.3 stable-hash-x: 0.2.0 optionalDependencies: unrs-resolver: 1.12.2 - eslint-import-resolver-typescript@4.4.5(eslint-plugin-import-x@4.17.1(@typescript-eslint/utils@8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.10.0(jiti@2.7.0)))(eslint@10.10.0(jiti@2.7.0)): + eslint-import-resolver-typescript@4.4.5(eslint-plugin-import-x@4.17.1(@typescript-eslint/utils@8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3))(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2))(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2): dependencies: - debug: 4.4.3 - eslint: 10.10.0(jiti@2.7.0) + debug: 4.4.3(supports-color@10.2.2) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) eslint-import-context: 0.1.9(unrs-resolver@1.12.2) - get-tsconfig: 4.14.0 + get-tsconfig: 4.14.3 is-bun-module: 2.0.0 stable-hash-x: 0.2.0 tinyglobby: 0.2.17 unrs-resolver: 1.12.2 optionalDependencies: - eslint-plugin-import-x: 4.17.1(@typescript-eslint/utils@8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.10.0(jiti@2.7.0)) + eslint-plugin-import-x: 4.17.1(@typescript-eslint/utils@8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3))(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2) transitivePeerDependencies: - supports-color - eslint-plugin-better-tailwindcss@4.7.0(eslint@10.10.0(jiti@2.7.0))(oxlint@1.77.0(oxlint-tsgolint@7.0.2001))(tailwindcss@4.3.2)(typescript@6.0.3): + eslint-plugin-better-tailwindcss@4.10.0(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(oxlint@1.77.0(oxlint-tsgolint@7.0.2001))(tailwindcss@4.3.3)(typescript@6.0.3): dependencies: - '@eslint/css-tree': 4.0.5 - '@valibot/to-json-schema': 1.7.1(valibot@1.4.2(typescript@6.0.3)) + '@eslint/css-tree': 4.1.2 + '@valibot/to-json-schema': 1.8.0(valibot@1.5.0(typescript@6.0.3)) enhanced-resolve: 5.26.0 jiti: 2.7.0 - synckit: 0.11.13 + synckit: 0.12.3 tailwind-csstree: 0.3.3 - tailwindcss: 4.3.2 + tailwindcss: 4.3.3 tsconfig-paths-webpack-plugin: 4.2.0 - valibot: 1.4.2(typescript@6.0.3) + valibot: 1.5.0(typescript@6.0.3) optionalDependencies: - eslint: 10.10.0(jiti@2.7.0) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) oxlint: 1.77.0(oxlint-tsgolint@7.0.2001) transitivePeerDependencies: - '@eslint/css' - typescript - eslint-plugin-import-x@4.17.1(@typescript-eslint/utils@8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.10.0(jiti@2.7.0)): + eslint-plugin-import-x@4.17.1(@typescript-eslint/utils@8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3))(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2): dependencies: - '@typescript-eslint/types': 8.69.0 - comment-parser: 1.4.7 - debug: 4.4.3 - eslint: 10.10.0(jiti@2.7.0) + '@typescript-eslint/types': 8.72.1 + comment-parser: 1.4.9 + debug: 4.4.3(supports-color@10.2.2) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) eslint-import-context: 0.1.9(unrs-resolver@1.12.2) is-glob: 4.0.3 minimatch: 9.0.9 @@ -12900,72 +13026,72 @@ snapshots: stable-hash-x: 0.2.0 unrs-resolver: 1.12.2 optionalDependencies: - '@typescript-eslint/utils': 8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3) + '@typescript-eslint/utils': 8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3) transitivePeerDependencies: - supports-color - eslint-plugin-oxlint@1.81.0(oxlint@1.77.0(oxlint-tsgolint@7.0.2001)): + eslint-plugin-oxlint@1.77.0(oxlint@1.77.0(oxlint-tsgolint@7.0.2001)): dependencies: jsonc-parser: 3.3.1 oxlint: 1.77.0(oxlint-tsgolint@7.0.2001) - eslint-plugin-playwright@2.11.0(eslint@10.10.0(jiti@2.7.0)): + eslint-plugin-playwright@2.12.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2)): dependencies: - eslint: 10.10.0(jiti@2.7.0) - globals: 17.7.0 + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) + globals: 17.13.0 - eslint-plugin-regexp@3.3.1(eslint@10.10.0(jiti@2.7.0)): + eslint-plugin-regexp@3.3.2(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2)): dependencies: - '@eslint-community/eslint-utils': 4.9.1(eslint@10.10.0(jiti@2.7.0)) + '@eslint-community/eslint-utils': 4.10.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2)) '@eslint-community/regexpp': 4.12.2 - comment-parser: 1.4.7 - eslint: 10.10.0(jiti@2.7.0) - jsdoc-type-pratt-parser: 9.2.0 + comment-parser: 1.4.9 + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) + jsdoc-type-pratt-parser: 9.4.0 refa: 0.12.1 regexp-ast-analysis: 0.7.1 scslre: 0.3.0 - eslint-plugin-storybook@10.6.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3): + eslint-plugin-storybook@10.6.5(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3): dependencies: - '@typescript-eslint/types': 8.69.0 - '@typescript-eslint/utils': 8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3) - eslint: 10.10.0(jiti@2.7.0) + '@typescript-eslint/types': 8.72.1 + '@typescript-eslint/utils': 8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) transitivePeerDependencies: - supports-color - typescript - eslint-plugin-testing-library@7.16.2(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3): + eslint-plugin-testing-library@7.16.2(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3): dependencies: - '@typescript-eslint/scope-manager': 8.69.0 - '@typescript-eslint/utils': 8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3) - eslint: 10.10.0(jiti@2.7.0) + '@typescript-eslint/scope-manager': 8.72.1 + '@typescript-eslint/utils': 8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) transitivePeerDependencies: - supports-color - typescript - eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.69.0(@typescript-eslint/parser@8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.10.0(jiti@2.7.0)): + eslint-plugin-unused-imports@4.4.1(@typescript-eslint/eslint-plugin@8.72.1(@typescript-eslint/parser@8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3))(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3))(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2)): dependencies: - eslint: 10.10.0(jiti@2.7.0) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) optionalDependencies: - '@typescript-eslint/eslint-plugin': 8.69.0(@typescript-eslint/parser@8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3) + '@typescript-eslint/eslint-plugin': 8.72.1(@typescript-eslint/parser@8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3))(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3) - eslint-plugin-vue@10.10.0(@typescript-eslint/parser@8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.10.0(jiti@2.7.0))(vue-eslint-parser@10.4.1(eslint@10.10.0(jiti@2.7.0))): + eslint-plugin-vue@10.12.0(@typescript-eslint/parser@8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3))(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(vue-eslint-parser@10.4.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)): dependencies: - '@eslint-community/eslint-utils': 4.9.1(eslint@10.10.0(jiti@2.7.0)) - eslint: 10.10.0(jiti@2.7.0) + '@eslint-community/eslint-utils': 4.10.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2)) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) natural-compare: 1.4.0 nth-check: 2.1.1 - postcss-selector-parser: 7.1.4 + postcss-selector-parser: 7.1.7 semver: 7.8.5 - vue-eslint-parser: 10.4.1(eslint@10.10.0(jiti@2.7.0)) + vue-eslint-parser: 10.4.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2) xml-name-validator: 5.0.0 optionalDependencies: - '@typescript-eslint/parser': 8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3) + '@typescript-eslint/parser': 8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3) eslint-scope@9.1.2: dependencies: '@types/esrecurse': 4.3.1 - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 esrecurse: 4.3.0 estraverse: 5.3.0 @@ -12975,21 +13101,21 @@ snapshots: eslint-visitor-keys@5.0.1: {} - eslint@10.10.0(jiti@2.7.0): + eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2): dependencies: - '@eslint-community/eslint-utils': 4.9.1(eslint@10.10.0(jiti@2.7.0)) + '@eslint-community/eslint-utils': 4.10.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2)) '@eslint-community/regexpp': 4.12.2 - '@eslint/config-array': 0.23.5 + '@eslint/config-array': 0.23.5(supports-color@10.2.2) '@eslint/config-helpers': 0.7.0 '@eslint/core': 1.2.1 '@eslint/plugin-kit': 0.7.3 '@humanfs/node': 0.16.8 '@humanwhocodes/module-importer': 1.0.1 '@humanwhocodes/retry': 0.4.3 - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 ajv: 6.15.0 cross-spawn: 7.0.6 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) escape-string-regexp: 4.0.0 eslint-scope: 9.1.2 eslint-visitor-keys: 5.0.1 @@ -13004,7 +13130,7 @@ snapshots: imurmurhash: 0.1.4 is-glob: 4.0.3 json-stable-stringify-without-jsonify: 1.0.1 - minimatch: 10.2.5 + minimatch: 10.2.6 natural-compare: 1.4.0 optionator: 0.9.4 optionalDependencies: @@ -13018,14 +13144,14 @@ snapshots: espree@10.4.0: dependencies: - acorn: 8.18.0 - acorn-jsx: 5.3.2(acorn@8.18.0) + acorn: 8.19.0 + acorn-jsx: 5.3.2(acorn@8.19.0) eslint-visitor-keys: 4.2.1 espree@11.2.0: dependencies: - acorn: 8.18.0 - acorn-jsx: 5.3.2(acorn@8.18.0) + acorn: 8.19.0 + acorn-jsx: 5.3.2(acorn@8.19.0) eslint-visitor-keys: 5.0.1 esprima@4.0.1: {} @@ -13044,11 +13170,24 @@ snapshots: estree-walker@3.0.3: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 esutils@2.0.3: {} - eventemitter3@5.0.4: {} + execa@10.2.1: + dependencies: + '@sindresorhus/merge-streams': 4.0.0 + figures: 6.1.0 + get-stream: 9.0.1 + human-signals: 8.0.1 + is-plain-obj: 4.1.0 + is-stream: 4.0.1 + npm-run-path: 6.0.0 + pretty-ms: 9.3.1 + signal-exit: 4.1.0 + strip-final-newline: 4.0.0 + which-command: 0.1.0 + yoctocolors: 2.2.0 execa@5.1.1: dependencies: @@ -13064,31 +13203,31 @@ snapshots: expect-type@1.4.0: {} - exsolve@1.1.0: {} + exsolve@1.2.0: {} extendable-media-recorder-wav-encoder-broker@7.0.128: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 broker-factory: 3.1.15 extendable-media-recorder-wav-encoder-worker: 8.0.123 tslib: 2.8.1 extendable-media-recorder-wav-encoder-worker@8.0.123: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 tslib: 2.8.1 worker-factory: 7.0.50 extendable-media-recorder-wav-encoder@7.0.139: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 extendable-media-recorder-wav-encoder-broker: 7.0.128 extendable-media-recorder-wav-encoder-worker: 8.0.123 tslib: 2.8.1 extendable-media-recorder@9.2.38: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 media-encoder-host: 9.0.30 multi-buffer-data-view: 6.0.27 recorder-audio-worklet: 6.0.59 @@ -13096,26 +13235,28 @@ snapshots: subscribable-things: 2.1.60 tslib: 2.8.1 - fallow-type-aware@3.24.1: + fallow-type-aware@3.37.0: dependencies: typescript: 7.0.2 optional: true - fallow@3.24.1: + fallow@3.37.0: dependencies: detect-libc: 2.1.2 optionalDependencies: - '@fallow-cli/darwin-arm64': 3.24.1 - '@fallow-cli/darwin-x64': 3.24.1 - '@fallow-cli/linux-arm64-gnu': 3.24.1 - '@fallow-cli/linux-arm64-musl': 3.24.1 - '@fallow-cli/linux-x64-gnu': 3.24.1 - '@fallow-cli/linux-x64-musl': 3.24.1 - '@fallow-cli/win32-arm64-msvc': 3.24.1 - '@fallow-cli/win32-x64-msvc': 3.24.1 - fallow-type-aware: 3.24.1 - - fast-check@4.9.0: + '@fallow-cli/darwin-arm64': 3.37.0 + '@fallow-cli/darwin-x64': 3.37.0 + '@fallow-cli/linux-arm64-gnu': 3.37.0 + '@fallow-cli/linux-arm64-musl': 3.37.0 + '@fallow-cli/linux-x64-gnu': 3.37.0 + '@fallow-cli/linux-x64-musl': 3.37.0 + '@fallow-cli/win32-arm64-msvc': 3.37.0 + '@fallow-cli/win32-x64-msvc': 3.37.0 + fallow-type-aware: 3.37.0 + transitivePeerDependencies: + - tsrs + + fast-check@4.10.2: dependencies: pure-rand: 8.4.2 @@ -13141,10 +13282,10 @@ snapshots: fast-unique-numbers@9.0.27: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 tslib: 2.8.1 - fast-uri@3.1.5: {} + fast-uri@3.1.9: {} fast-wrap-ansi@0.2.2: dependencies: @@ -13152,7 +13293,7 @@ snapshots: fastest-levenshtein@1.0.16: {} - fastq@1.20.1: + fastq@1.20.3: dependencies: reusify: 1.1.0 @@ -13172,6 +13313,10 @@ snapshots: fflate@0.8.3: {} + figures@6.1.0: + dependencies: + is-unicode-supported: 2.1.0 + file-entry-cache@11.1.5: dependencies: flat-cache: 6.1.23 @@ -13230,9 +13375,9 @@ snapshots: flatted@3.4.4: {} - follow-redirects@1.16.0(debug@4.4.3): + follow-redirects@1.16.0(debug@4.4.3(supports-color@10.2.2)): optionalDependencies: - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) for-each@0.3.5: dependencies: @@ -13243,10 +13388,6 @@ snapshots: cross-spawn: 7.0.6 signal-exit: 4.1.0 - foreground-child@4.0.3: - dependencies: - signal-exit: 4.1.0 - form-data@4.0.6: dependencies: asynckit: 0.4.0 @@ -13271,6 +13412,12 @@ snapshots: jsonfile: 6.2.1 universalify: 2.0.1 + fs-extra@11.4.1: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 6.2.1 + universalify: 2.0.1 + fsevents@2.3.3: optional: true @@ -13284,7 +13431,7 @@ snapshots: get-caller-file@2.0.5: {} - get-east-asian-width@1.6.0: {} + get-east-asian-width@1.7.0: {} get-intrinsic@1.3.0: dependencies: @@ -13306,10 +13453,19 @@ snapshots: get-stream@6.0.1: {} + get-stream@9.0.1: + dependencies: + '@sec-ant/readable-stream': 0.4.1 + is-stream: 4.0.1 + get-tsconfig@4.14.0: dependencies: resolve-pkg-maps: 1.0.0 + get-tsconfig@4.14.3: + dependencies: + resolve-pkg-maps: 1.0.0 + giget@3.3.1: {} glob-parent@5.1.2: @@ -13333,7 +13489,7 @@ snapshots: glob@13.0.6: dependencies: - minimatch: 10.2.5 + minimatch: 10.2.6 minipass: 7.1.3 path-scurry: 2.0.2 @@ -13353,16 +13509,17 @@ snapshots: globals@14.0.0: {} - globals@17.7.0: {} + globals@17.13.0: {} - globby@16.2.2: + globby@16.2.4: dependencies: '@sindresorhus/merge-streams': 4.0.0 fast-glob: 3.3.3 - ignore: 7.0.11 + ignore: 7.0.14 is-path-inside: 4.0.0 + micromatch: 4.0.8 slash: 5.1.0 - unicorn-magic: 0.4.0 + unicorn-magic: 0.4.1 globjoin@0.1.4: {} @@ -13370,15 +13527,15 @@ snapshots: graceful-fs@4.2.11: {} - happy-dom@20.14.5: + happy-dom@21.0.4: dependencies: - '@types/node': 25.9.5 + '@types/node': 26.6.6 '@types/whatwg-mimetype': 3.0.2 - '@types/ws': 8.18.1 + '@types/ws': 8.18.2 buffer-image-size: 0.6.4 entities: 7.0.1 whatwg-mimetype: 3.0.0 - ws: 8.21.1 + ws: 8.22.0 transitivePeerDependencies: - bufferutil - utf-8-validate @@ -13435,9 +13592,9 @@ snapshots: hookified@2.2.0: {} - html-encoding-sniffer@6.0.0: + html-encoding-sniffer@7.0.0: dependencies: - '@exodus/bytes': 1.15.1 + '@exodus/bytes': 1.16.0 transitivePeerDependencies: - '@noble/hashes' @@ -13451,13 +13608,13 @@ snapshots: he: 1.2.0 param-case: 3.0.4 relateurl: 0.2.7 - terser: 5.49.0 + terser: 5.51.2 html-tags@5.1.0: {} html-void-elements@3.0.0: {} - htmlparser2@8.0.2: + htmlparser2@9.1.0: dependencies: domelementtype: 2.3.0 domhandler: 5.0.3 @@ -13466,22 +13623,26 @@ snapshots: http-parser-js@0.5.10: {} - https-proxy-agent@5.0.1: + https-proxy-agent@5.0.1(supports-color@10.2.2): dependencies: - agent-base: 6.0.2 - debug: 4.4.3 + agent-base: 6.0.2(supports-color@10.2.2) + debug: 4.4.3(supports-color@10.2.2) transitivePeerDependencies: - supports-color human-signals@2.1.0: {} + human-signals@8.0.1: {} + husky@9.1.7: {} idb@7.1.1: {} ignore@5.3.2: {} - ignore@7.0.11: {} + ignore@7.0.12: {} + + ignore@7.0.14: {} immediate@3.0.6: {} @@ -13490,7 +13651,7 @@ snapshots: parent-module: 1.0.1 resolve-from: 4.0.0 - import-fresh@4.0.0: {} + import-fresh@4.0.1: {} import-lazy@4.0.0: {} @@ -13531,10 +13692,6 @@ snapshots: dependencies: has-bigints: 1.1.0 - is-binary-path@2.1.0: - dependencies: - binary-extensions: 2.3.0 - is-boolean-object@1.2.2: dependencies: call-bound: 1.0.4 @@ -13546,7 +13703,7 @@ snapshots: is-callable@1.2.7: {} - is-core-module@2.16.2: + is-core-module@2.17.0: dependencies: hasown: 2.0.4 @@ -13555,8 +13712,6 @@ snapshots: call-bound: 1.0.4 has-tostringtag: 1.0.2 - is-docker@2.2.1: {} - is-docker@3.0.0: {} is-expression@4.0.0: @@ -13568,10 +13723,6 @@ snapshots: is-fullwidth-code-point@3.0.0: {} - is-fullwidth-code-point@5.1.0: - dependencies: - get-east-asian-width: 1.6.0 - is-glob@4.0.3: dependencies: is-extglob: 2.1.1 @@ -13589,7 +13740,7 @@ snapshots: is-language-code@3.1.0: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 is-map@2.0.3: {} @@ -13602,6 +13753,8 @@ snapshots: is-path-inside@4.0.0: {} + is-plain-obj@4.1.0: {} + is-potential-custom-element-name@1.0.1: {} is-promise@2.2.2: {} @@ -13621,6 +13774,8 @@ snapshots: is-stream@2.0.1: {} + is-stream@4.0.1: {} + is-string@1.1.1: dependencies: call-bound: 1.0.4 @@ -13632,6 +13787,8 @@ snapshots: has-symbols: 1.1.0 safe-regex-test: 1.1.0 + is-unicode-supported@2.1.0: {} + is-weakmap@2.0.2: {} is-weakset@2.0.4: @@ -13641,10 +13798,6 @@ snapshots: is-what@5.5.0: {} - is-wsl@2.2.0: - dependencies: - is-docker: 2.2.1 - is-wsl@3.1.1: dependencies: is-inside-container: 1.0.0 @@ -13686,7 +13839,7 @@ snapshots: jju@1.4.0: {} - joi@18.2.3: + joi@18.3.1: dependencies: '@hapi/address': 5.1.1 '@hapi/formula': 3.0.2 @@ -13696,13 +13849,13 @@ snapshots: '@hapi/topo': 6.0.2 '@standard-schema/spec': 1.1.0 - js-beautify@1.15.4: + js-beautify@2.0.3: dependencies: config-chain: 1.1.13 - editorconfig: 1.0.7 - glob: 10.5.0 + editorconfig: 3.0.2 + glob: 13.0.6 js-cookie: 3.0.8 - nopt: 7.2.1 + nopt: 10.0.1 js-cookie@3.0.8: {} @@ -13714,36 +13867,35 @@ snapshots: js-tokens@9.0.1: {} - js-yaml@4.3.1: + js-yaml@4.3.2: dependencies: argparse: 2.0.1 - jsdoc-type-pratt-parser@9.2.0: + jsdoc-type-pratt-parser@9.4.0: dependencies: - '@types/estree': 1.0.9 + '@types/estree': 1.0.10 - jsdom@29.1.1: + jsdom@30.1.3: dependencies: - '@asamuzakjp/css-color': 5.1.11 - '@asamuzakjp/dom-selector': 7.1.1 - '@bramus/specificity': 2.4.2 - '@csstools/css-syntax-patches-for-csstree': 1.1.6(css-tree@3.2.1) - '@exodus/bytes': 1.15.1 + '@asamuzakjp/css-color': 7.1.9 + '@asamuzakjp/dom-selector': 10.0.5 + '@bramus/specificity': 2.4.3 + '@csstools/css-syntax-patches-for-csstree': 1.1.16(css-tree@3.2.1) + '@exodus/bytes': 1.16.0 css-tree: 3.2.1 - data-urls: 7.0.0 + data-urls: 8.0.0 decimal.js: 10.6.0 - html-encoding-sniffer: 6.0.0 + html-encoding-sniffer: 7.0.0 is-potential-custom-element-name: 1.0.1 - lru-cache: 11.5.2 + lru-cache: 11.5.3 parse5: 8.0.1 saxes: 6.0.0 - symbol-tree: 3.2.4 tough-cookie: 6.0.2 - undici: 7.29.0 - w3c-xmlserializer: 5.0.0 + undici: 8.12.3 + w3c-xmlserializer: 6.0.0 webidl-conversions: 8.0.1 whatwg-mimetype: 5.0.0 - whatwg-url: 16.0.1 + whatwg-url: 17.3.0 xml-name-validator: 5.0.0 transitivePeerDependencies: - '@noble/hashes' @@ -13754,7 +13906,7 @@ snapshots: json-parse-even-better-errors@2.3.1: {} - json-rpc-2.0@1.7.1: {} + json-rpc-2.0@1.8.1: {} json-schema-traverse@0.4.1: {} @@ -13768,7 +13920,7 @@ snapshots: jsonc-eslint-parser@3.1.0: dependencies: - acorn: 8.18.0 + acorn: 8.19.0 eslint-visitor-keys: 5.0.1 semver: 7.8.5 @@ -13785,7 +13937,7 @@ snapshots: is-promise: 2.2.2 promise: 7.3.1 - jszip@3.10.1: + jszip@3.10.2: dependencies: lie: 3.3.0 pako: 1.0.11 @@ -13809,12 +13961,12 @@ snapshots: oxc-parser: 0.137.0 oxc-resolver: 11.21.3 picomatch: 4.0.7 - smol-toml: 1.7.0 + smol-toml: 1.9.1 strip-json-comments: 5.0.3 tinyglobby: 0.2.17 - unbash: 4.0.3 - yaml: 2.9.0 - zod: 4.6.5 + unbash: 4.0.12 + yaml: 2.9.1 + zod: 4.6.7 kolorist@1.8.0: {} @@ -13939,28 +14091,18 @@ snapshots: linkifyjs@4.3.3: {} - lint-staged@16.4.0: + lint-staged@17.6.0: dependencies: - commander: 14.0.3 - listr2: 9.0.5 picomatch: 4.0.7 string-argv: 0.3.2 tinyexec: 1.3.1 - yaml: 2.9.0 - - listr2@9.0.5: - dependencies: - cli-truncate: 5.2.0 - colorette: 2.0.20 - eventemitter3: 5.0.4 - log-update: 6.1.0 - rfdc: 1.4.1 - wrap-ansi: 9.0.2 + optionalDependencies: + yaml: 2.9.1 local-pkg@1.2.1: dependencies: mlly: 1.8.2 - pkg-types: 2.3.1 + pkg-types: 2.4.0 quansync: 0.2.11 locate-path@6.0.0: @@ -13973,14 +14115,6 @@ snapshots: lodash@4.18.1: {} - log-update@6.1.0: - dependencies: - ansi-escapes: 7.3.0 - cli-cursor: 5.0.0 - slice-ansi: 7.1.2 - strip-ansi: 7.2.0 - wrap-ansi: 9.0.2 - loglevel@1.9.2: {} long@5.3.2: {} @@ -13993,7 +14127,7 @@ snapshots: lru-cache@10.4.3: {} - lru-cache@11.5.2: {} + lru-cache@11.5.3: {} lru-cache@5.1.1: dependencies: @@ -14013,19 +14147,15 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.6.0 - magic-string@0.30.8: - dependencies: - '@jridgewell/sourcemap-codec': 1.6.0 - - magic-string@1.4.2: + magic-string@1.4.5: dependencies: '@jridgewell/sourcemap-codec': 1.6.0 - magicast@0.5.4: + magicast@0.5.5: dependencies: - '@babel/parser': 7.29.8 - '@babel/types': 7.29.8 - source-map-js: 1.2.1 + '@babel/parser': 7.29.12 + '@babel/types': 7.29.11 + source-map-js: 1.2.2 make-dir@4.0.0: dependencies: @@ -14066,13 +14196,13 @@ snapshots: mdn-data@2.27.1: {} - mdn-data@2.29.0: {} + mdn-data@2.37.2: {} mdurl@2.0.0: {} media-encoder-host-broker@8.0.29: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 broker-factory: 3.1.15 fast-unique-numbers: 9.0.27 media-encoder-host-worker: 10.0.29 @@ -14080,14 +14210,14 @@ snapshots: media-encoder-host-worker@10.0.29: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 extendable-media-recorder-wav-encoder-broker: 7.0.128 tslib: 2.8.1 worker-factory: 7.0.50 media-encoder-host@9.0.30: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 media-encoder-host-broker: 8.0.29 media-encoder-host-worker: 10.0.29 tslib: 2.8.1 @@ -14135,25 +14265,23 @@ snapshots: mimic-fn@2.1.0: {} - mimic-function@5.0.1: {} - min-indent@1.0.1: {} - minimatch@10.2.5: + minimatch@10.2.6: dependencies: - brace-expansion: 5.0.9 + brace-expansion: 5.0.12 minimatch@3.1.5: dependencies: - brace-expansion: 1.1.18 + brace-expansion: 1.1.21 minimatch@5.1.9: dependencies: - brace-expansion: 2.1.4 + brace-expansion: 2.1.7 minimatch@9.0.9: dependencies: - brace-expansion: 2.1.4 + brace-expansion: 2.1.7 minimist@1.2.8: {} @@ -14173,29 +14301,37 @@ snapshots: mlly@1.8.2: dependencies: - acorn: 8.18.0 + acorn: 8.19.0 pathe: 2.0.3 pkg-types: 1.3.1 ufo: 1.6.4 modern-tar@0.7.6: {} - monocart-coverage-reports@2.12.12: + monocart-coverage-reports@3.2.0: dependencies: - acorn: 8.18.0 + '@jridgewell/sourcemap-codec': 1.6.0 + acorn: 8.19.0 acorn-loose: 8.5.2 acorn-walk: 8.3.5 - commander: 14.0.3 + commander: 15.0.0 console-grid: 2.2.4 + convert-source-map: 2.0.0 eight-colors: 1.3.3 - foreground-child: 4.0.3 + execa: 10.2.1 istanbul-lib-coverage: 3.2.2 istanbul-lib-report: 3.0.1 istanbul-reports: 3.2.0 lz-utils: 2.1.1 - monocart-locator: 1.0.3 + monocart-locator: 1.0.6 + node-stream-zip: 1.16.0 + ws: 8.22.0 + yazl: 3.3.1 + transitivePeerDependencies: + - bufferutil + - utf-8-validate - monocart-locator@1.0.3: {} + monocart-locator@1.0.6: {} mrmime@2.0.1: {} @@ -14205,12 +14341,12 @@ snapshots: multi-buffer-data-view@6.0.27: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 tslib: 2.8.1 - nanoid@3.3.17: {} + nanoid@3.3.20: {} - napi-postinstall@0.3.4: {} + napi-postinstall@0.3.7: {} natural-compare@1.4.0: {} @@ -14232,20 +14368,27 @@ snapshots: css-select: 4.3.0 he: 1.2.0 - node-releases@2.0.51: {} + node-releases@2.0.61: {} + + node-stream-zip@1.16.0: {} - nopt@7.2.1: + nopt@10.0.1: dependencies: - abbrev: 2.0.0 + abbrev: 5.0.0 normalize-path@3.0.0: {} - nostics@1.1.4: {} + nostics@1.3.0: {} npm-run-path@4.0.1: dependencies: path-key: 3.1.1 + npm-run-path@6.0.0: + dependencies: + path-key: 4.0.0 + unicorn-magic: 0.3.0 + nth-check@2.1.1: dependencies: boolbase: 1.0.0 @@ -14272,18 +14415,16 @@ snapshots: has-symbols: 1.1.0 object-keys: 1.1.1 - obug@2.1.4: {} + obug@2.2.1: {} - ohash@2.0.11: {} + obug@3.0.0: {} + + ohash@2.0.12: {} onetime@5.1.2: dependencies: mimic-fn: 2.1.0 - onetime@7.0.0: - dependencies: - mimic-function: 5.0.1 - oniguruma-parser@0.12.2: {} oniguruma-to-es@4.3.6: @@ -14294,30 +14435,34 @@ snapshots: open@10.2.0: dependencies: - default-browser: 5.5.0 + default-browser: 5.5.1 define-lazy-prop: 3.0.0 is-inside-container: 1.0.0 wsl-utils: 0.1.0 open@11.0.0: dependencies: - default-browser: 5.5.0 + default-browser: 5.5.1 define-lazy-prop: 3.0.0 is-in-ssh: 1.0.0 is-inside-container: 1.0.0 powershell-utils: 0.1.0 wsl-utils: 0.3.1 - open@8.4.2: + open@11.0.4: dependencies: - define-lazy-prop: 2.0.0 - is-docker: 2.2.1 - is-wsl: 2.2.0 + default-browser: 5.5.1 + define-lazy-prop: 3.0.0 + is-in-ssh: 1.0.0 + is-inside-container: 1.0.0 + powershell-utils: 0.2.1 + wsl-utils: 1.0.1 - openai@7.4.0(ws@8.21.1)(zod@4.6.5): + openai@7.45.1(undici@7.29.0)(ws@8.22.0)(zod@4.6.7): optionalDependencies: - ws: 8.21.1 - zod: 4.6.5 + undici: 7.29.0 + ws: 8.22.0 + zod: 4.6.7 optionator@0.9.4: dependencies: @@ -14380,6 +14525,52 @@ snapshots: '@oxc-parser/binding-win32-ia32-msvc': 0.137.0 '@oxc-parser/binding-win32-x64-msvc': 0.137.0 + oxc-parser@0.152.0: + dependencies: + '@oxc-project/types': 0.152.0 + optionalDependencies: + '@oxc-parser/binding-android-arm-eabi': 0.152.0 + '@oxc-parser/binding-android-arm64': 0.152.0 + '@oxc-parser/binding-darwin-arm64': 0.152.0 + '@oxc-parser/binding-darwin-x64': 0.152.0 + '@oxc-parser/binding-freebsd-x64': 0.152.0 + '@oxc-parser/binding-linux-arm-gnueabihf': 0.152.0 + '@oxc-parser/binding-linux-arm-musleabihf': 0.152.0 + '@oxc-parser/binding-linux-arm64-gnu': 0.152.0 + '@oxc-parser/binding-linux-arm64-musl': 0.152.0 + '@oxc-parser/binding-linux-ppc64-gnu': 0.152.0 + '@oxc-parser/binding-linux-riscv64-gnu': 0.152.0 + '@oxc-parser/binding-linux-riscv64-musl': 0.152.0 + '@oxc-parser/binding-linux-s390x-gnu': 0.152.0 + '@oxc-parser/binding-linux-x64-gnu': 0.152.0 + '@oxc-parser/binding-linux-x64-musl': 0.152.0 + '@oxc-parser/binding-openharmony-arm64': 0.152.0 + '@oxc-parser/binding-win32-arm64-msvc': 0.152.0 + '@oxc-parser/binding-win32-ia32-msvc': 0.152.0 + '@oxc-parser/binding-win32-x64-msvc': 0.152.0 + + oxc-resolver@11.21.2: + optionalDependencies: + '@oxc-resolver/binding-android-arm-eabi': 11.21.2 + '@oxc-resolver/binding-android-arm64': 11.21.2 + '@oxc-resolver/binding-darwin-arm64': 11.21.2 + '@oxc-resolver/binding-darwin-x64': 11.21.2 + '@oxc-resolver/binding-freebsd-x64': 11.21.2 + '@oxc-resolver/binding-linux-arm-gnueabihf': 11.21.2 + '@oxc-resolver/binding-linux-arm-musleabihf': 11.21.2 + '@oxc-resolver/binding-linux-arm64-gnu': 11.21.2 + '@oxc-resolver/binding-linux-arm64-musl': 11.21.2 + '@oxc-resolver/binding-linux-ppc64-gnu': 11.21.2 + '@oxc-resolver/binding-linux-riscv64-gnu': 11.21.2 + '@oxc-resolver/binding-linux-riscv64-musl': 11.21.2 + '@oxc-resolver/binding-linux-s390x-gnu': 11.21.2 + '@oxc-resolver/binding-linux-x64-gnu': 11.21.2 + '@oxc-resolver/binding-linux-x64-musl': 11.21.2 + '@oxc-resolver/binding-openharmony-arm64': 11.21.2 + '@oxc-resolver/binding-wasm32-wasi': 11.21.2 + '@oxc-resolver/binding-win32-arm64-msvc': 11.21.2 + '@oxc-resolver/binding-win32-x64-msvc': 11.21.2 + oxc-resolver@11.21.3: optionalDependencies: '@oxc-resolver/binding-android-arm-eabi': 11.21.3 @@ -14402,51 +14593,29 @@ snapshots: '@oxc-resolver/binding-win32-arm64-msvc': 11.21.3 '@oxc-resolver/binding-win32-x64-msvc': 11.21.3 - oxc-resolver@11.24.2: - optionalDependencies: - '@oxc-resolver/binding-android-arm-eabi': 11.24.2 - '@oxc-resolver/binding-android-arm64': 11.24.2 - '@oxc-resolver/binding-darwin-arm64': 11.24.2 - '@oxc-resolver/binding-darwin-x64': 11.24.2 - '@oxc-resolver/binding-freebsd-x64': 11.24.2 - '@oxc-resolver/binding-linux-arm-gnueabihf': 11.24.2 - '@oxc-resolver/binding-linux-arm-musleabihf': 11.24.2 - '@oxc-resolver/binding-linux-arm64-gnu': 11.24.2 - '@oxc-resolver/binding-linux-arm64-musl': 11.24.2 - '@oxc-resolver/binding-linux-ppc64-gnu': 11.24.2 - '@oxc-resolver/binding-linux-riscv64-gnu': 11.24.2 - '@oxc-resolver/binding-linux-riscv64-musl': 11.24.2 - '@oxc-resolver/binding-linux-s390x-gnu': 11.24.2 - '@oxc-resolver/binding-linux-x64-gnu': 11.24.2 - '@oxc-resolver/binding-linux-x64-musl': 11.24.2 - '@oxc-resolver/binding-openharmony-arm64': 11.24.2 - '@oxc-resolver/binding-wasm32-wasi': 11.24.2 - '@oxc-resolver/binding-win32-arm64-msvc': 11.24.2 - '@oxc-resolver/binding-win32-x64-msvc': 11.24.2 - - oxfmt@0.59.0: - dependencies: - tinypool: 2.1.0 + oxfmt@0.75.0: + dependencies: + tinypool: 2.1.2 optionalDependencies: - '@oxfmt/binding-android-arm-eabi': 0.59.0 - '@oxfmt/binding-android-arm64': 0.59.0 - '@oxfmt/binding-darwin-arm64': 0.59.0 - '@oxfmt/binding-darwin-x64': 0.59.0 - '@oxfmt/binding-freebsd-x64': 0.59.0 - '@oxfmt/binding-linux-arm-gnueabihf': 0.59.0 - '@oxfmt/binding-linux-arm-musleabihf': 0.59.0 - '@oxfmt/binding-linux-arm64-gnu': 0.59.0 - '@oxfmt/binding-linux-arm64-musl': 0.59.0 - '@oxfmt/binding-linux-ppc64-gnu': 0.59.0 - '@oxfmt/binding-linux-riscv64-gnu': 0.59.0 - '@oxfmt/binding-linux-riscv64-musl': 0.59.0 - '@oxfmt/binding-linux-s390x-gnu': 0.59.0 - '@oxfmt/binding-linux-x64-gnu': 0.59.0 - '@oxfmt/binding-linux-x64-musl': 0.59.0 - '@oxfmt/binding-openharmony-arm64': 0.59.0 - '@oxfmt/binding-win32-arm64-msvc': 0.59.0 - '@oxfmt/binding-win32-ia32-msvc': 0.59.0 - '@oxfmt/binding-win32-x64-msvc': 0.59.0 + '@oxfmt/binding-android-arm-eabi': 0.75.0 + '@oxfmt/binding-android-arm64': 0.75.0 + '@oxfmt/binding-darwin-arm64': 0.75.0 + '@oxfmt/binding-darwin-x64': 0.75.0 + '@oxfmt/binding-freebsd-x64': 0.75.0 + '@oxfmt/binding-linux-arm-gnueabihf': 0.75.0 + '@oxfmt/binding-linux-arm-musleabihf': 0.75.0 + '@oxfmt/binding-linux-arm64-gnu': 0.75.0 + '@oxfmt/binding-linux-arm64-musl': 0.75.0 + '@oxfmt/binding-linux-ppc64-gnu': 0.75.0 + '@oxfmt/binding-linux-riscv64-gnu': 0.75.0 + '@oxfmt/binding-linux-riscv64-musl': 0.75.0 + '@oxfmt/binding-linux-s390x-gnu': 0.75.0 + '@oxfmt/binding-linux-x64-gnu': 0.75.0 + '@oxfmt/binding-linux-x64-musl': 0.75.0 + '@oxfmt/binding-openharmony-arm64': 0.75.0 + '@oxfmt/binding-win32-arm64-msvc': 0.75.0 + '@oxfmt/binding-win32-ia32-msvc': 0.75.0 + '@oxfmt/binding-win32-x64-msvc': 0.75.0 oxlint-tsgolint@7.0.2001: optionalDependencies: @@ -14490,7 +14659,7 @@ snapshots: package-json-from-dist@1.0.1: {} - package-manager-detector@1.7.0: {} + package-manager-detector@1.9.0: {} pako@1.0.11: {} @@ -14512,13 +14681,15 @@ snapshots: json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 + parse-ms@4.0.0: {} + parse5@7.3.0: dependencies: entities: 6.0.1 parse5@8.0.1: dependencies: - entities: 8.0.0 + entities: 8.1.0 pascal-case@3.1.2: dependencies: @@ -14531,6 +14702,8 @@ snapshots: path-key@3.1.1: {} + path-key@4.0.0: {} + path-parse@1.0.7: {} path-scurry@1.11.1: @@ -14540,7 +14713,7 @@ snapshots: path-scurry@2.0.2: dependencies: - lru-cache: 11.5.2 + lru-cache: 11.5.3 minipass: 7.1.3 pathe@0.2.0: {} @@ -14559,13 +14732,11 @@ snapshots: picomatch@4.0.7: {} - picoquery@2.5.0: {} - - pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)): + pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)): dependencies: '@vue/devtools-api': 8.1.5 - nostics: 1.1.4 - vue: 3.5.42(typescript@6.0.3) + nostics: 1.3.0 + vue: 3.5.44(typescript@6.0.3) optionalDependencies: typescript: 6.0.3 @@ -14575,10 +14746,10 @@ snapshots: mlly: 1.8.2 pathe: 2.0.3 - pkg-types@2.3.1: + pkg-types@2.4.0: dependencies: - confbox: 0.2.4 - exsolve: 1.1.0 + confbox: 0.3.2 + exsolve: 1.2.0 pathe: 2.0.3 playwright-core@1.63.0: {} @@ -14589,40 +14760,36 @@ snapshots: possible-typed-array-names@1.1.0: {} - postcss-html@1.8.1: + postcss-html@2.0.0(postcss@8.5.32): dependencies: - htmlparser2: 8.0.2 + htmlparser2: 9.1.0 js-tokens: 9.0.1 - postcss: 8.5.26 - postcss-safe-parser: 6.0.0(postcss@8.5.26) - - postcss-safe-parser@6.0.0(postcss@8.5.26): - dependencies: - postcss: 8.5.26 + postcss: 8.5.32 + postcss-safe-parser: 7.1.0(postcss@8.5.32) - postcss-safe-parser@7.0.1(postcss@8.5.26): + postcss-safe-parser@7.1.0(postcss@8.5.32): dependencies: - postcss: 8.5.26 + postcss: 8.5.32 - postcss-selector-parser@7.1.4: + postcss-selector-parser@7.1.7: dependencies: cssesc: 3.0.0 util-deprecate: 1.0.2 postcss-value-parser@4.2.0: {} - postcss@8.5.26: + postcss@8.5.32: dependencies: - nanoid: 3.3.17 + nanoid: 3.3.20 picocolors: 1.1.1 - source-map-js: 1.2.1 + source-map-js: 1.2.2 posthog-js@1.402.3: dependencies: '@posthog/core': 1.42.1 '@posthog/types': 1.395.0 core-js: 3.49.0 - dompurify: 3.4.13 + dompurify: 3.4.17 fflate: 0.4.8 preact: 10.29.7 query-selector-shadow-dom: 1.0.1 @@ -14632,6 +14799,8 @@ snapshots: powershell-utils@0.1.0: {} + powershell-utils@0.2.1: {} + preact@10.29.7: {} prelude-ls@1.2.1: {} @@ -14639,7 +14808,7 @@ snapshots: prettier@3.9.5: optional: true - pretty-bytes@7.1.1: {} + pretty-bytes@7.2.0: {} pretty-format@27.5.1: dependencies: @@ -14647,12 +14816,14 @@ snapshots: ansi-styles: 5.2.0 react-is: 17.0.2 + pretty-ms@9.3.1: + dependencies: + parse-ms: 4.0.0 + primeicons@7.0.0: {} process-nextick-args@2.0.1: {} - progress@2.0.3: {} - promise@7.3.1: dependencies: asap: 2.0.6 @@ -14757,11 +14928,9 @@ snapshots: '@protobufjs/path': 1.1.2 '@protobufjs/pool': 1.1.0 '@protobufjs/utf8': 1.1.2 - '@types/node': 25.9.5 + '@types/node': 26.6.6 long: 5.3.2 - proxy-from-env@1.1.0: {} - proxy-from-env@2.1.0: {} pug-attrs@3.0.0: @@ -14789,7 +14958,7 @@ snapshots: jstransformer: 1.0.0 pug-error: 2.1.0 pug-walk: 2.0.0 - resolve: 1.22.12 + resolve: 1.22.13 pug-lexer@5.0.1: dependencies: @@ -14849,19 +15018,19 @@ snapshots: raf-schd@4.0.3: {} - rc9@3.0.1: + rc9@3.1.0: dependencies: defu: 6.1.7 destr: 2.0.5 - react-dom@19.3.0(react@19.3.0): + react-dom@19.3.1(react@19.3.1): dependencies: - react: 19.3.0 + react: 19.3.1 scheduler: 0.28.0 react-is@17.0.2: {} - react@19.3.0: {} + react@19.3.1: {} readable-stream@2.3.8: dependencies: @@ -14873,15 +15042,11 @@ snapshots: string_decoder: 1.1.1 util-deprecate: 1.0.2 - readdirp@3.6.0: - dependencies: - picomatch: 2.3.2 + readdirp@5.1.1: {} - readdirp@5.0.0: {} - - recast@0.23.12: + recast@0.23.21: dependencies: - ast-types: 0.16.1 + ast-types: 0.16.3 esprima: 4.0.1 source-map: 0.6.1 tiny-invariant: 1.3.3 @@ -14889,16 +15054,16 @@ snapshots: rechoir@0.8.0: dependencies: - resolve: 1.22.12 + resolve: 1.22.13 recorder-audio-worklet-processor@5.0.41: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 tslib: 2.8.1 recorder-audio-worklet@6.0.59: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 broker-factory: 3.1.15 fast-unique-numbers: 9.0.27 recorder-audio-worklet-processor: 5.0.41 @@ -14942,18 +15107,18 @@ snapshots: gopd: 1.2.0 set-function-name: 2.0.2 - reka-ui@2.11.0(vue@3.5.42(typescript@6.0.3)): + reka-ui@2.11.0(vue@3.5.44(typescript@6.0.3)): dependencies: - '@floating-ui/vue': 2.0.1(vue@3.5.42(typescript@6.0.3)) + '@floating-ui/vue': 2.0.1(vue@3.5.44(typescript@6.0.3)) '@internationalized/date': 3.12.2 '@internationalized/number': 3.6.7 - '@tanstack/vue-virtual': 3.13.32(vue@3.5.42(typescript@6.0.3)) - '@vueuse/core': 14.4.0(vue@3.5.42(typescript@6.0.3)) - '@vueuse/shared': 14.4.0(vue@3.5.42(typescript@6.0.3)) + '@tanstack/vue-virtual': 3.13.32(vue@3.5.44(typescript@6.0.3)) + '@vueuse/core': 14.4.0(vue@3.5.44(typescript@6.0.3)) + '@vueuse/shared': 14.4.0(vue@3.5.44(typescript@6.0.3)) aria-hidden: 1.2.6 defu: 6.1.7 - ohash: 2.0.11 - vue: 3.5.42(typescript@6.0.3) + ohash: 2.0.12 + vue: 3.5.44(typescript@6.0.3) relateurl@0.2.7: {} @@ -14965,51 +15130,46 @@ snapshots: resolve-pkg-maps@1.0.0: {} - resolve@1.22.12: + resolve@1.22.13: dependencies: es-errors: 1.3.0 - is-core-module: 2.16.2 + is-core-module: 2.17.0 path-parse: 1.0.7 supports-preserve-symlinks-flag: 1.0.0 - restore-cursor@5.1.0: - dependencies: - onetime: 7.0.0 - signal-exit: 4.1.0 - reusify@1.1.0: {} rfdc@1.4.1: {} - rolldown@1.2.6: + rolldown@1.2.16: dependencies: - '@oxc-project/types': 0.147.0 + '@oxc-project/types': 0.156.0 '@rolldown/pluginutils': 1.0.1 optionalDependencies: - '@rolldown/binding-android-arm-eabi': 1.2.6 - '@rolldown/binding-android-arm64': 1.2.6 - '@rolldown/binding-darwin-arm64': 1.2.6 - '@rolldown/binding-darwin-x64': 1.2.6 - '@rolldown/binding-freebsd-x64': 1.2.6 - '@rolldown/binding-linux-arm-gnueabihf': 1.2.6 - '@rolldown/binding-linux-arm64-gnu': 1.2.6 - '@rolldown/binding-linux-arm64-musl': 1.2.6 - '@rolldown/binding-linux-ppc64-gnu': 1.2.6 - '@rolldown/binding-linux-s390x-gnu': 1.2.6 - '@rolldown/binding-linux-x64-gnu': 1.2.6 - '@rolldown/binding-linux-x64-musl': 1.2.6 - '@rolldown/binding-openharmony-arm64': 1.2.6 - '@rolldown/binding-win32-arm64-msvc': 1.2.6 - '@rolldown/binding-win32-x64-msvc': 1.2.6 - - rollup-plugin-visualizer@6.0.11(rolldown@1.2.6): - dependencies: - open: 8.4.2 + '@rolldown/binding-android-arm-eabi': 1.2.16 + '@rolldown/binding-android-arm64': 1.2.16 + '@rolldown/binding-darwin-arm64': 1.2.16 + '@rolldown/binding-darwin-x64': 1.2.16 + '@rolldown/binding-freebsd-x64': 1.2.16 + '@rolldown/binding-linux-arm-gnueabihf': 1.2.16 + '@rolldown/binding-linux-arm64-gnu': 1.2.16 + '@rolldown/binding-linux-arm64-musl': 1.2.16 + '@rolldown/binding-linux-ppc64-gnu': 1.2.16 + '@rolldown/binding-linux-s390x-gnu': 1.2.16 + '@rolldown/binding-linux-x64-gnu': 1.2.16 + '@rolldown/binding-linux-x64-musl': 1.2.16 + '@rolldown/binding-openharmony-arm64': 1.2.16 + '@rolldown/binding-win32-arm64-msvc': 1.2.16 + '@rolldown/binding-win32-x64-msvc': 1.2.16 + + rollup-plugin-visualizer@7.1.1(rolldown@1.2.16): + dependencies: + open: 11.0.4 picomatch: 4.0.7 - source-map: 0.7.6 - yargs: 17.7.3 + source-map: 0.8.0 + yargs: 18.2.0 optionalDependencies: - rolldown: 1.2.6 + rolldown: 1.2.16 rope-sequence@1.3.4: {} @@ -15059,8 +15219,12 @@ snapshots: semver@7.7.4: {} + semver@7.8.4: {} + semver@7.8.5: {} + sentry@0.45.0: {} + set-function-length@1.2.2: dependencies: define-data-property: 1.1.4 @@ -15144,19 +15308,9 @@ snapshots: astral-regex: 2.0.0 is-fullwidth-code-point: 3.0.0 - slice-ansi@7.1.2: - dependencies: - ansi-styles: 6.2.3 - is-fullwidth-code-point: 5.1.0 - - slice-ansi@8.0.0: - dependencies: - ansi-styles: 6.2.3 - is-fullwidth-code-point: 5.1.0 + smol-toml@1.9.1: {} - smol-toml@1.7.0: {} - - source-map-js@1.2.1: {} + source-map-js@1.2.2: {} source-map-support@0.5.21: dependencies: @@ -15165,7 +15319,7 @@ snapshots: source-map@0.6.1: {} - source-map@0.7.6: {} + source-map@0.8.0: {} space-separated-tokens@2.0.2: {} @@ -15181,48 +15335,48 @@ snapshots: standardized-audio-context@25.3.77: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 automation-events: 7.1.19 tslib: 2.8.1 - start-server-and-test@3.0.12: + start-server-and-test@3.0.13(supports-color@10.2.2): dependencies: arg: 5.0.2 check-more-types: 2.24.0 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) execa: 5.1.1 lazy-ass: 2.0.3 tree-kill: 1.2.2 - wait-on: 9.1.0(debug@4.4.3) + wait-on: 9.5.1(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2) transitivePeerDependencies: - supports-color - std-env@4.2.0: {} + std-env@4.3.0: {} stop-iteration-iterator@1.1.0: dependencies: es-errors: 1.3.0 internal-slot: 1.1.0 - storybook@10.5.6(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.0): + storybook@10.6.5(@types/react@19.3.0)(prettier@3.9.5)(react@19.3.1): dependencies: '@storybook/global': 5.0.0 - '@storybook/icons': 2.1.0(react@19.3.0) - '@testing-library/dom': 10.4.1 + '@storybook/icons': 2.2.0(react@19.3.1) + '@testing-library/dom': 10.4.2 '@testing-library/jest-dom': 6.9.1 - '@testing-library/user-event': 14.6.1(@testing-library/dom@10.4.1) + '@testing-library/user-event': 14.6.8(@testing-library/dom@10.4.2) '@vitest/expect': 3.2.4 '@vitest/spy': 3.2.4 '@webcontainer/env': 1.1.1 - esbuild: 0.28.1 + esbuild: 0.28.2 jsonc-parser: 3.3.1 open: 10.2.0 oxc-parser: 0.127.0 - oxc-resolver: 11.24.2 - recast: 0.23.12 + oxc-resolver: 11.21.2 + recast: 0.23.21 semver: 7.8.5 - use-sync-external-store: 1.6.0(react@19.3.0) - ws: 8.21.1 + use-sync-external-store: 1.7.0(react@19.3.1) + ws: 8.22.0 optionalDependencies: '@types/react': 19.3.0 prettier: 3.9.5 @@ -15248,12 +15402,12 @@ snapshots: string-width@7.2.0: dependencies: emoji-regex: 10.6.0 - get-east-asian-width: 1.6.0 + get-east-asian-width: 1.7.0 strip-ansi: 7.2.0 - string-width@8.2.2: + string-width@8.3.0: dependencies: - get-east-asian-width: 1.6.0 + get-east-asian-width: 1.7.0 strip-ansi: 7.2.0 string_decoder@1.1.1: @@ -15271,12 +15425,14 @@ snapshots: strip-ansi@7.2.0: dependencies: - ansi-regex: 6.2.2 + ansi-regex: 6.5.0 strip-bom@3.0.0: {} strip-final-newline@2.0.0: {} + strip-final-newline@4.0.0: {} + strip-indent@3.0.0: dependencies: min-indent: 1.0.1 @@ -15285,40 +15441,40 @@ snapshots: strip-json-comments@5.0.3: {} - stylelint@17.14.0(typescript@6.0.3): + stylelint@17.16.0(supports-color@10.2.2)(typescript@6.0.3): dependencies: - '@csstools/css-calc': 3.2.1(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0) - '@csstools/css-parser-algorithms': 4.0.0(@csstools/css-tokenizer@4.0.0) - '@csstools/css-syntax-patches-for-csstree': 1.1.6(css-tree@3.2.1) - '@csstools/css-tokenizer': 4.0.0 - '@csstools/media-query-list-parser': 5.0.0(@csstools/css-parser-algorithms@4.0.0(@csstools/css-tokenizer@4.0.0))(@csstools/css-tokenizer@4.0.0) - '@csstools/selector-resolve-nested': 4.0.0(postcss-selector-parser@7.1.4) - '@csstools/selector-specificity': 6.0.0(postcss-selector-parser@7.1.4) - colord: 2.9.3 + '@csstools/css-calc': 3.4.3(@csstools/css-parser-algorithms@4.0.2(@csstools/css-tokenizer@4.0.2))(@csstools/css-tokenizer@4.0.2) + '@csstools/css-parser-algorithms': 4.0.2(@csstools/css-tokenizer@4.0.2) + '@csstools/css-syntax-patches-for-csstree': 1.1.16(css-tree@3.2.1) + '@csstools/css-tokenizer': 4.0.2 + '@csstools/media-query-list-parser': 5.0.2(@csstools/css-parser-algorithms@4.0.2(@csstools/css-tokenizer@4.0.2))(@csstools/css-tokenizer@4.0.2) + '@csstools/selector-resolve-nested': 4.0.2(postcss-selector-parser@7.1.7) + '@csstools/selector-specificity': 6.0.1(postcss-selector-parser@7.1.7) + colord: 2.10.0 cosmiconfig: 9.0.2(typescript@6.0.3) css-functions-list: 3.3.3 css-tree: 3.2.1 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) fast-glob: 3.3.3 fastest-levenshtein: 1.0.16 file-entry-cache: 11.1.5 global-modules: 2.0.0 - globby: 16.2.2 + globby: 16.2.4 globjoin: 0.1.4 html-tags: 5.1.0 - ignore: 7.0.11 + ignore: 7.0.14 import-meta-resolve: 4.2.0 mathml-tag-names: 4.0.0 meow: 14.1.0 micromatch: 4.0.8 normalize-path: 3.0.0 picocolors: 1.1.1 - postcss: 8.5.26 - postcss-safe-parser: 7.0.1(postcss@8.5.26) - postcss-selector-parser: 7.1.4 + postcss: 8.5.32 + postcss-safe-parser: 7.1.0(postcss@8.5.32) + postcss-selector-parser: 7.1.7 postcss-value-parser: 4.2.0 - string-width: 8.2.2 - supports-hyperlinks: 4.5.0 + string-width: 8.3.0 + supports-hyperlinks: 4.6.0 svg-tags: 1.0.0 table: 6.9.0 write-file-atomic: 7.0.1 @@ -15328,7 +15484,7 @@ snapshots: subscribable-things@2.1.60: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 rxjs-interop: 2.0.0 tslib: 2.8.1 @@ -15346,7 +15502,7 @@ snapshots: dependencies: has-flag: 4.0.0 - supports-hyperlinks@4.5.0: + supports-hyperlinks@4.6.0: dependencies: has-flag: 5.0.1 supports-color: 10.2.2 @@ -15365,12 +15521,15 @@ snapshots: picocolors: 1.1.1 sax: 1.6.0 - symbol-tree@3.2.4: {} - synckit@0.11.13: dependencies: '@pkgr/core': 0.3.6 + synckit@0.12.3: + dependencies: + '@dual-bundle/import-meta-resolve': 4.2.1 + '@pkgr/core': 0.3.6 + table@6.9.0: dependencies: ajv: 8.20.0 @@ -15385,14 +15544,14 @@ snapshots: tailwind-merge@2.6.1: {} - tailwindcss@4.3.2: {} + tailwindcss@4.3.3: {} tapable@2.3.3: {} - terser@5.49.0: + terser@5.51.2: dependencies: '@jridgewell/source-map': 0.3.11 - acorn: 8.18.0 + acorn: 8.19.0 commander: 2.20.3 source-map-support: 0.5.21 @@ -15400,7 +15559,7 @@ snapshots: tiny-invariant@1.3.3: {} - tinybench@6.2.0: {} + tinybench@6.2.2: {} tinyest-for-wgsl@0.1.3: dependencies: @@ -15415,13 +15574,13 @@ snapshots: fdir: 6.5.0(picomatch@4.0.7) picomatch: 4.0.7 - tinypool@2.1.0: {} + tinypool@2.1.2: {} tinyrainbow@2.0.0: {} - tinyrainbow@3.1.1: {} + tinyrainbow@3.2.0: {} - tinyspy@4.0.4: {} + tinyspy@4.0.6: {} tiptap-markdown@0.9.0(@tiptap/core@3.31.0(@tiptap/pm@3.31.0)): dependencies: @@ -15431,19 +15590,20 @@ snapshots: markdown-it-task-lists: 2.1.1 prosemirror-markdown: 1.13.5 - tldts-core@7.4.8: {} + tldts-core@7.4.20: {} - tldts@7.4.8: + tldts@7.4.19: dependencies: - tldts-core: 7.4.8 + tldts-core: 7.4.20 - tmcp@1.19.4(typescript@6.0.3): + tmcp@1.20.1(typescript@6.0.3): dependencies: '@standard-schema/spec': 1.1.0 - json-rpc-2.0: 1.7.1 + '@types/json-schema': 7.0.15 + json-rpc-2.0: 1.8.1 sqids: 0.3.0 uri-template-matcher: 1.1.2 - valibot: 1.4.2(typescript@6.0.3) + valibot: 1.5.0(typescript@6.0.3) transitivePeerDependencies: - typescript @@ -15457,11 +15617,11 @@ snapshots: tough-cookie@6.0.2: dependencies: - tldts: 7.4.8 + tldts: 7.4.19 tr46@0.0.3: {} - tr46@6.0.0: + tr46@7.0.0: dependencies: punycode: 2.3.1 @@ -15492,9 +15652,9 @@ snapshots: tslib@2.8.1: {} - tsx@4.23.1: + tsx@4.23.15: dependencies: - esbuild: 0.28.1 + esbuild: 0.28.2 optionalDependencies: fsevents: 2.3.3 @@ -15506,7 +15666,7 @@ snapshots: type-fest@4.41.0: {} - type-fest@5.8.0: + type-fest@5.10.0: dependencies: tagged-tag: 1.0.0 @@ -15517,28 +15677,26 @@ snapshots: tinyest: 0.1.2 typed-binary: 4.3.3 - typescript-eslint@8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3): + typescript-eslint@8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3): dependencies: - '@typescript-eslint/eslint-plugin': 8.69.0(@typescript-eslint/parser@8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3))(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3) - '@typescript-eslint/parser': 8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3) - '@typescript-eslint/typescript-estree': 8.69.0(typescript@6.0.3) - '@typescript-eslint/utils': 8.69.0(eslint@10.10.0(jiti@2.7.0))(typescript@6.0.3) - eslint: 10.10.0(jiti@2.7.0) + '@typescript-eslint/eslint-plugin': 8.72.1(@typescript-eslint/parser@8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3))(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3) + '@typescript-eslint/parser': 8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3) + '@typescript-eslint/typescript-estree': 8.72.1(supports-color@10.2.2)(typescript@6.0.3) + '@typescript-eslint/utils': 8.72.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2)(typescript@6.0.3) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) typescript: 6.0.3 transitivePeerDependencies: - supports-color - typescript-native-bridge@6.0.3-bridge.17.tsgo.7.0.2: + typescript-native-bridge@6.0.3-bridge.19.tsgo.7.0.2: optionalDependencies: - '@typescript-native-bridge/darwin-arm64': 6.0.3-bridge.17.tsgo.7.0.2 - '@typescript-native-bridge/darwin-x64': 6.0.3-bridge.17.tsgo.7.0.2 - '@typescript-native-bridge/linux-arm': 6.0.3-bridge.17.tsgo.7.0.2 - '@typescript-native-bridge/linux-arm64': 6.0.3-bridge.17.tsgo.7.0.2 - '@typescript-native-bridge/linux-x64': 6.0.3-bridge.17.tsgo.7.0.2 - '@typescript-native-bridge/win32-arm64': 6.0.3-bridge.17.tsgo.7.0.2 - '@typescript-native-bridge/win32-x64': 6.0.3-bridge.17.tsgo.7.0.2 - - typescript@5.9.3: {} + '@typescript-native-bridge/darwin-arm64': 6.0.3-bridge.19.tsgo.7.0.2 + '@typescript-native-bridge/darwin-x64': 6.0.3-bridge.19.tsgo.7.0.2 + '@typescript-native-bridge/linux-arm': 6.0.3-bridge.19.tsgo.7.0.2 + '@typescript-native-bridge/linux-arm64': 6.0.3-bridge.19.tsgo.7.0.2 + '@typescript-native-bridge/linux-x64': 6.0.3-bridge.19.tsgo.7.0.2 + '@typescript-native-bridge/win32-arm64': 6.0.3-bridge.19.tsgo.7.0.2 + '@typescript-native-bridge/win32-x64': 6.0.3-bridge.19.tsgo.7.0.2 typescript@6.0.3: {} @@ -15570,17 +15728,24 @@ snapshots: ufo@1.6.4: {} - unbash@4.0.3: {} + unbash@4.0.12: {} + + undici-types@8.12.3: {} + + undici-types@8.9.0: {} - undici-types@7.24.6: {} + undici@7.29.0: + optional: true - undici@7.29.0: {} + undici@8.12.3: {} unfetch@3.1.2: {} unfetch@4.2.0: {} - unicorn-magic@0.4.0: {} + unicorn-magic@0.3.0: {} + + unicorn-magic@0.4.1: {} unist-util-is@6.0.1: dependencies: @@ -15607,12 +15772,12 @@ snapshots: universalify@2.0.1: {} - unplugin-dts@1.1.0(@microsoft/api-extractor@7.58.9(@types/node@25.9.5))(@vue/language-core@3.3.11)(esbuild@0.28.1)(rolldown@1.2.6)(typescript@6.0.3)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)): + unplugin-dts@1.1.2(@microsoft/api-extractor@7.60.0(@types/node@26.6.6))(@vue/language-core@3.3.11)(esbuild@0.28.2)(rolldown@1.2.16)(supports-color@10.2.2)(typescript@6.0.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)): dependencies: - '@rollup/pluginutils': 5.4.0 - '@volar/typescript': 2.4.28 + '@rollup/pluginutils': 5.5.1 + '@volar/typescript': 2.4.30(typescript@6.0.3) compare-versions: 6.1.1 - debug: 4.4.3 + debug: 4.4.3(supports-color@10.2.2) glob-to-regexp: 0.4.1 kolorist: 1.8.0 local-pkg: 1.2.1 @@ -15620,27 +15785,38 @@ snapshots: typescript: 6.0.3 unplugin: 2.3.11 optionalDependencies: - '@microsoft/api-extractor': 7.58.9(@types/node@25.9.5) + '@microsoft/api-extractor': 7.60.0(@types/node@26.6.6) '@vue/language-core': 3.3.11 - esbuild: 0.28.1 - rolldown: 1.2.6 - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + esbuild: 0.28.2 + rolldown: 1.2.16 + vite: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) transitivePeerDependencies: - supports-color - unplugin-icons@23.0.1(@vue/compiler-sfc@3.5.42): + unplugin-icons@24.0.0(@vue/compiler-sfc@3.5.44)(esbuild@0.28.2)(rolldown@1.2.16)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)): dependencies: '@antfu/install-pkg': 1.1.0 - '@iconify/utils': 3.1.4 + '@iconify/utils': 3.1.7 local-pkg: 1.2.1 - obug: 2.1.4 - unplugin: 2.3.11 + obug: 2.2.1 + unplugin: 3.7.0(esbuild@0.28.2)(rolldown@1.2.16)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) optionalDependencies: - '@vue/compiler-sfc': 3.5.42 + '@vue/compiler-sfc': 3.5.44 + transitivePeerDependencies: + - '@farmfe/core' + - '@rsbuild/core' + - '@rspack/core' + - bun-types-no-globals + - esbuild + - rolldown + - rollup + - unloader + - vite + - webpack unplugin-typegpu@0.8.0(typegpu@0.8.2): dependencies: - '@babel/standalone': 7.29.7 + '@babel/standalone': 7.29.12 defu: 6.1.7 estree-walker: 3.0.3 magic-string-ast: 1.0.3 @@ -15656,20 +15832,21 @@ snapshots: pathe: 2.0.3 picomatch: 4.0.7 - unplugin-vue-components@32.1.0(esbuild@0.28.1)(rolldown@1.2.6)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)): + unplugin-vue-components@32.1.0(esbuild@0.28.2)(rolldown@1.2.16)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)): dependencies: chokidar: 5.0.0 local-pkg: 1.2.1 magic-string: 0.30.21 mlly: 1.8.2 - obug: 2.1.4 + obug: 2.2.1 picomatch: 4.0.7 tinyglobby: 0.2.17 - unplugin: 3.3.0(esbuild@0.28.1)(rolldown@1.2.6)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + unplugin: 3.7.0(esbuild@0.28.2)(rolldown@1.2.16)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) unplugin-utils: 0.3.2 - vue: 3.5.42(typescript@6.0.3) + vue: 3.5.44(typescript@6.0.3) transitivePeerDependencies: - '@farmfe/core' + - '@rsbuild/core' - '@rspack/core' - bun-types-no-globals - esbuild @@ -15679,33 +15856,27 @@ snapshots: - vite - webpack - unplugin@1.0.1: - dependencies: - acorn: 8.18.0 - chokidar: 3.6.0 - webpack-sources: 3.5.1 - webpack-virtual-modules: 0.5.0 - unplugin@2.3.11: dependencies: '@jridgewell/remapping': 2.3.5 - acorn: 8.18.0 + acorn: 8.19.0 picomatch: 4.0.7 webpack-virtual-modules: 0.6.2 - unplugin@3.3.0(esbuild@0.28.1)(rolldown@1.2.6)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)): + unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.16)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)): dependencies: '@jridgewell/remapping': 2.3.5 + '@rolldown/pluginutils': 1.0.1 picomatch: 4.0.7 webpack-virtual-modules: 0.6.2 optionalDependencies: - esbuild: 0.28.1 - rolldown: 1.2.6 - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + esbuild: 0.28.2 + rolldown: 1.2.16 + vite: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) unrs-resolver@1.12.2: dependencies: - napi-postinstall: 0.3.4 + napi-postinstall: 0.3.7 optionalDependencies: '@unrs/resolver-binding-android-arm-eabi': 1.12.2 '@unrs/resolver-binding-android-arm64': 1.12.2 @@ -15730,9 +15901,9 @@ snapshots: '@unrs/resolver-binding-win32-ia32-msvc': 1.12.2 '@unrs/resolver-binding-win32-x64-msvc': 1.12.2 - update-browserslist-db@1.2.3(browserslist@4.28.6): + update-browserslist-db@1.3.4(browserslist@4.29.5): dependencies: - browserslist: 4.28.6 + browserslist: 4.29.5 escalade: 3.2.0 picocolors: 1.1.1 @@ -15742,9 +15913,9 @@ snapshots: uri-template-matcher@1.1.2: {} - use-sync-external-store@1.6.0(react@19.3.0): + use-sync-external-store@1.7.0(react@19.3.1): dependencies: - react: 19.3.0 + react: 19.3.1 util-deprecate@1.0.2: {} @@ -15752,19 +15923,15 @@ snapshots: uuid@14.0.1: {} - valibot@1.2.0(typescript@6.0.3): - optionalDependencies: - typescript: 6.0.3 - - valibot@1.4.2(typescript@6.0.3): + valibot@1.5.0(typescript@6.0.3): optionalDependencies: typescript: 6.0.3 - vee-validate@4.15.1(vue@3.5.42(typescript@6.0.3)): + vee-validate@4.15.1(vue@3.5.44(typescript@6.0.3)): dependencies: '@vue/devtools-api': 7.7.10 type-fest: 4.41.0 - vue: 3.5.42(typescript@6.0.3) + vue: 3.5.44(typescript@6.0.3) vfile-message@4.0.3: dependencies: @@ -15776,22 +15943,22 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.3 - vite-dev-rpc@2.0.0(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)): + vite-dev-rpc@2.0.0(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)): dependencies: - birpc: 4.0.0 - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) - vite-hot-client: 2.2.0(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + birpc: 4.2.0 + vite: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) + vite-hot-client: 2.2.0(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) - vite-hot-client@2.2.0(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)): + vite-hot-client@2.2.0(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)): dependencies: - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + vite: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) - vite-plugin-dts@5.1.0(@microsoft/api-extractor@7.58.9(@types/node@25.9.5))(@vue/language-core@3.3.11)(esbuild@0.28.1)(rolldown@1.2.6)(typescript@6.0.3)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)): + vite-plugin-dts@5.1.2(@microsoft/api-extractor@7.60.0(@types/node@26.6.6))(@vue/language-core@3.3.11)(esbuild@0.28.2)(rolldown@1.2.16)(supports-color@10.2.2)(typescript@6.0.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)): dependencies: - unplugin-dts: 1.1.0(@microsoft/api-extractor@7.58.9(@types/node@25.9.5))(@vue/language-core@3.3.11)(esbuild@0.28.1)(rolldown@1.2.6)(typescript@6.0.3)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + unplugin-dts: 1.1.2(@microsoft/api-extractor@7.60.0(@types/node@26.6.6))(@vue/language-core@3.3.11)(esbuild@0.28.2)(rolldown@1.2.16)(supports-color@10.2.2)(typescript@6.0.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) optionalDependencies: - '@microsoft/api-extractor': 7.58.9(@types/node@25.9.5) - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + '@microsoft/api-extractor': 7.60.0(@types/node@26.6.6) + vite: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) transitivePeerDependencies: - '@rspack/core' - '@vue/language-core' @@ -15801,7 +15968,7 @@ snapshots: - typescript - webpack - vite-plugin-html@3.2.2(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)): + vite-plugin-html@3.2.2(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)): dependencies: '@rollup/pluginutils': 4.2.1 colorette: 2.0.20 @@ -15815,129 +15982,140 @@ snapshots: html-minifier-terser: 6.1.0 node-html-parser: 5.4.2 pathe: 0.2.0 - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + vite: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) - vite-plugin-inspect@11.4.1(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)): + vite-plugin-inspect@11.4.1(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)): dependencies: - ansis: 4.3.1 + ansis: 4.4.0 error-stack-parser-es: 1.0.5 - obug: 2.1.4 - ohash: 2.0.11 - open: 11.0.0 + obug: 2.2.1 + ohash: 2.0.12 + open: 11.0.4 perfect-debounce: 2.1.0 sirv: 3.0.2 unplugin-utils: 0.3.2 - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) - vite-dev-rpc: 2.0.0(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + vite: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) + vite-dev-rpc: 2.0.0(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) - vite-plugin-vue-devtools@8.2.1(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)): + vite-plugin-vue-devtools@8.2.1(supports-color@10.2.2)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)): dependencies: - '@vue/devtools-core': 8.2.1(vue@3.5.42(typescript@6.0.3)) + '@vue/devtools-core': 8.2.1(vue@3.5.44(typescript@6.0.3)) '@vue/devtools-kit': 8.2.1 '@vue/devtools-shared': 8.2.1 sirv: 3.0.2 - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) - vite-plugin-inspect: 11.4.1(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) - vite-plugin-vue-inspector: 6.0.0(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + vite: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) + vite-plugin-inspect: 11.4.1(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) + vite-plugin-vue-inspector: 6.0.0(supports-color@10.2.2)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) + vue: 3.5.44(typescript@6.0.3) transitivePeerDependencies: - '@nuxt/kit' - supports-color - - vue - vite-plugin-vue-inspector@6.0.0(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)): + vite-plugin-vue-inspector@6.0.0(supports-color@10.2.2)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)): dependencies: - '@babel/core': 7.29.7 - '@babel/plugin-proposal-decorators': 7.29.7(@babel/core@7.29.7) - '@babel/plugin-syntax-import-attributes': 7.29.7(@babel/core@7.29.7) - '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.29.7) - '@babel/plugin-transform-typescript': 7.29.7(@babel/core@7.29.7) - '@vue/babel-plugin-jsx': 1.5.0(@babel/core@7.29.7) - '@vue/compiler-dom': 3.5.42 + '@babel/core': 7.29.7(supports-color@10.2.2) + '@babel/plugin-proposal-decorators': 7.29.7(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2) + '@babel/plugin-syntax-import-attributes': 7.29.7(@babel/core@7.29.7(supports-color@10.2.2)) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.29.7(supports-color@10.2.2)) + '@babel/plugin-transform-typescript': 7.29.9(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2) + '@vue/babel-plugin-jsx': 1.5.0(@babel/core@7.29.7(supports-color@10.2.2))(supports-color@10.2.2) + '@vue/compiler-dom': 3.5.44 kolorist: 1.8.0 magic-string: 0.30.21 - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + vite: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) transitivePeerDependencies: - supports-color - vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0): + vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1): dependencies: lightningcss: 1.33.0 picomatch: 4.0.7 - postcss: 8.5.26 - rolldown: 1.2.6 + postcss: 8.5.32 + rolldown: 1.2.16 tinyglobby: 0.2.17 optionalDependencies: - '@types/node': 25.9.5 - esbuild: 0.28.1 + '@types/node': 26.6.6 + esbuild: 0.28.2 fsevents: 2.3.3 jiti: 2.7.0 - terser: 5.49.0 - tsx: 4.23.1 - yaml: 2.9.0 + terser: 5.51.2 + tsx: 4.23.15 + yaml: 2.9.1 - vitest@5.0.2(@types/node@25.9.5)(@vitest/coverage-v8@5.0.2)(@vitest/ui@5.0.2)(happy-dom@20.14.5)(jsdom@29.1.1)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)): + vitest@5.0.5(@types/node@26.6.6)(@vitest/coverage-v8@5.0.5)(@vitest/ui@5.0.5)(happy-dom@21.0.4)(jsdom@30.1.3)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)): dependencies: '@types/chai': 5.2.3 - '@vitest/mocker': 5.0.2(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) - chai: 6.2.2 + '@vitest/mocker': 5.0.5(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) + chai: 6.3.0 es-module-lexer: 2.3.2 expect-type: 1.4.0 - magic-string: 1.4.2 - obug: 2.1.4 + magic-string: 1.4.5 + obug: 3.0.0 picomatch: 4.0.7 - std-env: 4.2.0 - tinybench: 6.2.0 + std-env: 4.3.0 + tinybench: 6.2.2 tinyexec: 1.3.1 tinyglobby: 0.2.17 - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) - why-is-node-running: 3.2.2 + vite: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) + why-is-node-running: 3.2.1 optionalDependencies: - '@types/node': 25.9.5 - '@vitest/coverage-v8': 5.0.2(vitest@5.0.2) - '@vitest/ui': 5.0.2(vitest@5.0.2) - happy-dom: 20.14.5 - jsdom: 29.1.1 + '@types/node': 26.6.6 + '@vitest/coverage-v8': 5.0.5(vitest@5.0.5) + '@vitest/ui': 5.0.5(vitest@5.0.5) + happy-dom: 21.0.4 + jsdom: 30.1.3 transitivePeerDependencies: - msw void-elements@3.1.0: {} + vscode-jsonrpc@10.0.0: {} + + vscode-languageserver-protocol@3.18.5: + dependencies: + vscode-jsonrpc: 10.0.0 + vscode-languageserver-types: 3.18.5 + + vscode-languageserver-textdocument@1.0.16: {} + + vscode-languageserver-types@3.18.5: {} + vscode-uri@3.2.0: {} - vue-component-meta@3.3.7(typescript@5.9.3): + vue-component-meta@3.3.14(typescript@6.0.3): dependencies: - '@volar/typescript': 2.4.28 - '@vue/language-core': 3.3.7 + '@volar/typescript': 2.4.30(typescript@6.0.3) + '@vue/language-core': 3.3.14 path-browserify: 1.0.1 optionalDependencies: - typescript: 5.9.3 + typescript: 6.0.3 - vue-component-type-helpers@3.3.11: {} + vue-component-type-helpers@3.3.14: {} - vue-demi@0.14.10(vue@3.5.42(typescript@6.0.3)): + vue-demi@0.14.10(vue@3.5.44(typescript@6.0.3)): dependencies: - vue: 3.5.42(typescript@6.0.3) + vue: 3.5.44(typescript@6.0.3) - vue-docgen-api@4.79.2(vue@3.5.42(typescript@6.0.3)): + vue-docgen-api@4.79.2(vue@3.5.44(typescript@6.0.3)): dependencies: - '@babel/parser': 7.29.8 - '@babel/types': 7.29.8 - '@vue/compiler-dom': 3.5.42 - '@vue/compiler-sfc': 3.5.42 - ast-types: 0.16.1 + '@babel/parser': 7.29.12 + '@babel/types': 7.29.11 + '@vue/compiler-dom': 3.5.44 + '@vue/compiler-sfc': 3.5.44 + ast-types: 0.16.3 esm-resolve: 1.0.11 hash-sum: 2.0.0 lru-cache: 8.0.5 pug: 3.0.4 - recast: 0.23.12 + recast: 0.23.21 ts-map: 1.0.3 - vue: 3.5.42(typescript@6.0.3) - vue-inbrowser-compiler-independent-utils: 4.71.1(vue@3.5.42(typescript@6.0.3)) + vue: 3.5.44(typescript@6.0.3) + vue-inbrowser-compiler-independent-utils: 4.71.1(vue@3.5.44(typescript@6.0.3)) - vue-eslint-parser@10.4.1(eslint@10.10.0(jiti@2.7.0)): + vue-eslint-parser@10.4.1(eslint@10.13.0(jiti@2.7.0)(supports-color@10.2.2))(supports-color@10.2.2): dependencies: - debug: 4.4.3 - eslint: 10.10.0(jiti@2.7.0) + debug: 4.4.3(supports-color@10.2.2) + eslint: 10.13.0(jiti@2.7.0)(supports-color@10.2.2) eslint-scope: 9.1.2 eslint-visitor-keys: 5.0.1 espree: 11.2.0 @@ -15946,22 +16124,22 @@ snapshots: transitivePeerDependencies: - supports-color - vue-i18n@11.4.10(vue@3.5.42(typescript@6.0.3)): + vue-i18n@11.4.10(vue@3.5.44(typescript@6.0.3)): dependencies: '@intlify/core-base': 11.4.10 '@intlify/devtools-types': 11.4.10 '@intlify/shared': 11.4.10 '@vue/devtools-api': 6.6.4 - vue: 3.5.42(typescript@6.0.3) + vue: 3.5.44(typescript@6.0.3) - vue-inbrowser-compiler-independent-utils@4.71.1(vue@3.5.42(typescript@6.0.3)): + vue-inbrowser-compiler-independent-utils@4.71.1(vue@3.5.44(typescript@6.0.3)): dependencies: - vue: 3.5.42(typescript@6.0.3) + vue: 3.5.44(typescript@6.0.3) - vue-router@5.2.0(@vue/compiler-sfc@3.5.42)(esbuild@0.28.1)(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)))(rolldown@1.2.6)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0))(vue@3.5.42(typescript@6.0.3)): + vue-router@5.2.0(@vue/compiler-sfc@3.5.44)(esbuild@0.28.2)(pinia@4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)))(rolldown@1.2.16)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1))(vue@3.5.44(typescript@6.0.3)): dependencies: '@babel/generator': 8.0.0 - '@vue-macros/common': 3.1.3(vue@3.5.42(typescript@6.0.3)) + '@vue-macros/common': 3.1.3(vue@3.5.44(typescript@6.0.3)) '@vue/devtools-api': 8.1.5 ast-walker-scope: 0.9.0 chokidar: 5.0.0 @@ -15970,21 +16148,22 @@ snapshots: magic-string: 0.30.21 mlly: 1.8.2 muggle-string: 0.4.1 - nostics: 1.1.4 + nostics: 1.3.0 pathe: 2.0.3 picomatch: 4.0.7 scule: 1.3.0 tinyglobby: 0.2.17 - unplugin: 3.3.0(esbuild@0.28.1)(rolldown@1.2.6)(vite@8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0)) + unplugin: 3.7.0(esbuild@0.28.2)(rolldown@1.2.16)(vite@8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1)) unplugin-utils: 0.3.2 - vue: 3.5.42(typescript@6.0.3) - yaml: 2.9.0 + vue: 3.5.44(typescript@6.0.3) + yaml: 2.9.1 optionalDependencies: - '@vue/compiler-sfc': 3.5.42 - pinia: 4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.42(typescript@6.0.3)) - vite: 8.2.2(@types/node@25.9.5)(esbuild@0.28.1)(jiti@2.7.0)(terser@5.49.0)(tsx@4.23.1)(yaml@2.9.0) + '@vue/compiler-sfc': 3.5.44 + pinia: 4.0.2(@vue/devtools-api@8.1.5)(typescript@6.0.3)(vue@3.5.44(typescript@6.0.3)) + vite: 8.3.5(@types/node@26.6.6)(esbuild@0.28.2)(jiti@2.7.0)(terser@5.51.2)(tsx@4.23.15)(yaml@2.9.1) transitivePeerDependencies: - '@farmfe/core' + - '@rsbuild/core' - '@rspack/core' - bun-types-no-globals - esbuild @@ -15995,32 +16174,31 @@ snapshots: vue-tsc@3.3.11(typescript@6.0.3): dependencies: - '@volar/typescript': 2.4.28 + '@volar/typescript': 2.4.28(typescript@6.0.3) '@vue/language-core': 3.3.11 typescript: 6.0.3 - vue@3.5.42(typescript@6.0.3): + vue@3.5.44(typescript@6.0.3): dependencies: - '@vue/compiler-dom': 3.5.42 - '@vue/compiler-sfc': 3.5.42 - '@vue/runtime-dom': 3.5.42 - '@vue/server-renderer': 3.5.42 - '@vue/shared': 3.5.42 + '@vue/compiler-dom': 3.5.44 + '@vue/compiler-sfc': 3.5.44 + '@vue/runtime-dom': 3.5.44 + '@vue/server-renderer': 3.5.44 + '@vue/shared': 3.5.44 optionalDependencies: typescript: 6.0.3 w3c-keyname@2.2.8: {} - w3c-xmlserializer@5.0.0: + w3c-xmlserializer@6.0.0: dependencies: xml-name-validator: 5.0.0 - wait-on@9.1.0(debug@4.4.3): + wait-on@9.5.1(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2): dependencies: - axios: 1.18.1(debug@4.4.3) - joi: 18.2.3 + axios: 1.21.0(debug@4.4.3(supports-color@10.2.2))(supports-color@10.2.2) + joi: 18.3.1 lodash: 4.18.1 - minimist: 1.2.8 rxjs: 7.8.2 transitivePeerDependencies: - debug @@ -16038,10 +16216,6 @@ snapshots: webidl-conversions@8.0.1: {} - webpack-sources@3.5.1: {} - - webpack-virtual-modules@0.5.0: {} - webpack-virtual-modules@0.6.2: {} websocket-driver@0.7.5: @@ -16056,10 +16230,10 @@ snapshots: whatwg-mimetype@5.0.0: {} - whatwg-url@16.0.1: + whatwg-url@17.3.0: dependencies: - '@exodus/bytes': 1.15.1 - tr46: 6.0.0 + '@exodus/bytes': 1.16.0 + tr46: 7.0.0 webidl-conversions: 8.0.1 transitivePeerDependencies: - '@noble/hashes' @@ -16084,7 +16258,9 @@ snapshots: is-weakmap: 2.0.2 is-weakset: 2.0.4 - which-typed-array@1.1.22: + which-command@0.1.0: {} + + which-typed-array@1.1.24: dependencies: available-typed-arrays: 1.0.7 call-bind: 1.0.9 @@ -16102,12 +16278,12 @@ snapshots: dependencies: isexe: 2.0.0 - why-is-node-running@3.2.2: {} + why-is-node-running@3.2.1: {} with@7.0.2: dependencies: - '@babel/parser': 7.29.8 - '@babel/types': 7.29.8 + '@babel/parser': 7.29.12 + '@babel/types': 7.29.11 assert-never: 1.4.0 babel-walk: 3.0.0-canary-5 @@ -16115,7 +16291,7 @@ snapshots: worker-factory@7.0.50: dependencies: - '@babel/runtime': 7.29.7 + '@babel/runtime': 7.29.10 fast-unique-numbers: 9.0.27 tslib: 2.8.1 @@ -16141,7 +16317,7 @@ snapshots: dependencies: signal-exit: 4.1.0 - ws@8.21.1: {} + ws@8.22.0: {} wsl-utils@0.1.0: dependencies: @@ -16152,6 +16328,11 @@ snapshots: is-wsl: 3.1.1 powershell-utils: 0.1.0 + wsl-utils@1.0.1: + dependencies: + is-wsl: 3.1.1 + powershell-utils: 0.2.1 + wtd-core@3.0.0: {} wtd-three-ext@3.0.0(three@0.186.1): @@ -16176,12 +16357,14 @@ snapshots: yaml-eslint-parser@2.1.0: dependencies: eslint-visitor-keys: 5.0.1 - yaml: 2.9.0 + yaml: 2.9.1 - yaml@2.9.0: {} + yaml@2.9.1: {} yargs-parser@21.1.1: {} + yargs-parser@22.0.0: {} + yargs@17.7.3: dependencies: cliui: 8.0.1 @@ -16192,21 +16375,36 @@ snapshots: y18n: 5.0.8 yargs-parser: 21.1.1 + yargs@18.2.0: + dependencies: + cliui: 9.0.1 + escalade: 3.2.0 + get-caller-file: 2.0.5 + string-width: 8.3.0 + y18n: 5.0.8 + yargs-parser: 22.0.0 + + yazl@3.3.1: + dependencies: + buffer-crc32: 1.0.0 + yjs@13.6.32: dependencies: lib0: 0.2.117 yocto-queue@0.1.0: {} + yoctocolors@2.2.0: {} + zip-dir@2.0.0: dependencies: async: 3.2.6 - jszip: 3.10.1 + jszip: 3.10.2 - zod-validation-error@5.0.0(zod@4.6.5): + zod-validation-error@5.0.0(zod@4.6.7): dependencies: - zod: 4.6.5 + zod: 4.6.7 - zod@4.6.5: {} + zod@4.6.7: {} zwitch@2.0.4: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 5343111b904..3cef7359321 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -25,20 +25,20 @@ catalog: '@iconify/tools': ^5.0.3 '@iconify/utils': ^3.1.0 '@intlify/eslint-plugin-vue-i18n': ^4.5.1 - '@pinia/testing': ^2.0.1 + '@pinia/testing': 2.0.1 '@playwright/test': ^1.63.0 - '@sentry/vite-plugin': ^4.6.0 + '@sentry/vite-plugin': ^11.10.0 '@sentry/vue': ^10.32.1 '@sparkjsdev/spark': ^2.3.1 - '@storybook/addon-docs': ^10.5.6 - '@storybook/addon-mcp': 0.7.0 - '@storybook/vue3': ^10.5.6 - '@storybook/vue3-vite': ^10.5.6 + '@storybook/addon-docs': ^10.6.5 + '@storybook/addon-mcp': 10.6.5 + '@storybook/vue3': ^10.6.5 + '@storybook/vue3-vite': ^10.6.5 '@stripe/stripe-js': ^9.12.0 - '@tailwindcss/vite': ^4.3.2 + '@tailwindcss/vite': ^4.3.3 '@tanstack/vue-virtual': ^3.13.12 - '@testing-library/jest-dom': ^6.9.1 - '@testing-library/user-event': ^14.6.1 + '@testing-library/jest-dom': ^7.0.1 + '@testing-library/user-event': ^14.6.8 '@testing-library/vue': ^8.1.0 '@tiptap/core': 3.31.0 '@tiptap/extension-table': 3.31.0 @@ -46,102 +46,105 @@ catalog: '@tiptap/starter-kit': 3.31.0 '@total-typescript/shoehorn': ^0.1.2 '@types/fs-extra': ^11.0.4 - '@types/jsdom': ^21.1.7 - '@types/node': ^25.9.5 + '@types/jsdom': ^30.0.0 + '@types/node': ^26.6.6 '@types/semver': ^7.8.0 '@types/three': ^0.186.0 - '@vitejs/plugin-vue': ^6.0.8 - '@vitest/coverage-v8': ^5.0.2 - '@vitest/ui': ^5.0.2 + '@vitejs/plugin-vue': ^6.0.10 + '@vitest/coverage-v8': ^5.0.5 + '@vitest/ui': ^5.0.5 '@vueuse/core': ^14.4.0 '@vueuse/integrations': ^14.4.0 - '@webgpu/types': ^0.1.66 + '@webgpu/types': ^0.1.74 ag-psd: ^31.0.2 algoliasearch: ^5.21.0 axios: ^1.15.2 cross-env: ^10.1.0 cva: 1.0.0-beta.4 - dompurify: ^3.4.13 + dompurify: ^3.4.17 dotenv: ^16.4.5 es-toolkit: ^1.39.9 - eslint: ^10.10.0 + eslint: ^10.13.0 eslint-config-prettier: ^10.1.8 eslint-import-resolver-typescript: ^4.4.5 - eslint-plugin-better-tailwindcss: ^4.7.0 + eslint-plugin-better-tailwindcss: ^4.10.0 eslint-plugin-import-x: ^4.17.1 - eslint-plugin-oxlint: 1.81.0 - eslint-plugin-playwright: ^2.11.0 - eslint-plugin-regexp: ^3.3.1 - eslint-plugin-storybook: ^10.6.0 + eslint-plugin-oxlint: 1.77.0 + eslint-plugin-playwright: ^2.12.1 + eslint-plugin-regexp: ^3.3.2 + eslint-plugin-storybook: ^10.6.5 eslint-plugin-testing-library: ^7.16.2 eslint-plugin-unused-imports: ^4.4.1 - eslint-plugin-vue: ^10.10.0 - fallow: 3.24.1 - fast-check: ^4.5.3 + eslint-plugin-vue: ^10.12.0 + fallow: 3.37.0 + fast-check: ^4.10.2 firebase: ^11.6.0 glob: ^13.0.6 - globals: ^17.7.0 - happy-dom: 20.14.5 + globals: ^17.13.0 + happy-dom: 21.0.4 husky: ^9.1.7 - jsdom: ^29.1.1 + jsdom: ^30.1.3 jsonata: ^2.1.0 jsonc-parser: 3.3.1 - knip: ^6.27.0 - lint-staged: ^16.2.7 + knip: 6.27.0 + lint-staged: ^17.6.0 markdown-table: ^3.0.4 marked: ^15.0.11 mediabunny: ^1.53.1 minisearch: ^7.2.0 mixpanel-browser: ^2.71.0 - monocart-coverage-reports: ^2.12.9 - openai: ^7.4.0 - oxfmt: ^0.59.0 - oxlint: ^1.77.0 - oxlint-tsgolint: ^7.0.2001 + monocart-coverage-reports: ^3.2.0 + openai: ^7.45.1 + oxfmt: ^0.75.0 + oxlint: 1.77.0 + oxlint-tsgolint: 7.0.2001 picocolors: ^1.1.1 pinia: ^4.0.2 - postcss-html: ^1.8.0 + postcss-html: ^2.0.0 posthog-js: ^1.358.1 - pretty-bytes: ^7.1.0 + pretty-bytes: ^7.2.0 primeicons: ^7.0.0 reka-ui: 2.11.0 - rollup-plugin-visualizer: ^6.0.4 + rollup-plugin-visualizer: ^7.1.1 shiki: ^4.3.0 - start-server-and-test: ^3.0.11 - storybook: ^10.5.6 - stylelint: ^17.14.0 - tailwindcss: ^4.3.2 + start-server-and-test: ^3.0.13 + storybook: ^10.6.5 + stylelint: ^17.16.0 + tailwindcss: ^4.3.3 three: ^0.186.1 - tsx: ^4.15.6 + tsx: ^4.23.15 tw-animate-css: ^1.3.8 typegpu: ^0.8.2 typescript: ^6.0.3 - typescript-eslint: ^8.69.0 - unplugin-icons: ^23.0.1 + typescript-eslint: ^8.72.1 + unplugin-icons: ^24.0.0 unplugin-typegpu: 0.8.0 unplugin-vue-components: ^32.1.0 uuid: ^11.1.1 vee-validate: ^4.15.1 - vite: ^8.2.2 - vite-plugin-dts: ^5.1.0 + vite: ^8.3.5 + vite-plugin-dts: ^5.1.2 vite-plugin-html: ^3.2.2 vite-plugin-vue-devtools: ^8.2.1 - vitest: ^5.0.2 - vue: ^3.5.42 - vue-component-type-helpers: ^3.3.11 + vitest: ^5.0.5 + vue: ^3.5.44 + vue-component-type-helpers: ^3.3.14 vue-eslint-parser: ^10.4.1 vue-i18n: ^11.4.8 vue-router: ^5.2.0 - vue-tsc: ^3.3.11 + vue-tsc: 3.3.11 wwobjloader2: ^6.2.1 - yaml: ^2.8.3 + yaml: ^2.9.1 yjs: ^13.6.32 - zod: ^4.6.5 + zod: ^4.6.7 zod-validation-error: ^5.0.0 '@comfyorg/comfy-multi-player': 0.3.13 - typescript-native-bridge: 6.0.3-bridge.17.tsgo.7.0.2 - dependency-cruiser: ^18.5.0 - '@microsoft/api-extractor': 7.58.9 + typescript-native-bridge: 6.0.3-bridge.19.tsgo.7.0.2 + dependency-cruiser: ^18.7.0 + '@microsoft/api-extractor': 7.60.0 + fs-extra: ^11.4.1 + zip-dir: ^2.0.0 + '@hey-api/openapi-ts': 0.99.0 cleanupUnusedCatalogs: true @@ -158,6 +161,7 @@ allowBuilds: overrides: vite: 'catalog:' + 'unplugin-dts>@vue/language-core': 3.3.11 '@tiptap/pm': 3.31.0 prettier: 3.9.5 # Security overrides @@ -167,7 +171,7 @@ overrides: minimatch@^10.0.0: ^10.2.3 ajv@^8.0.0: ^8.18.0 undici@^7.0.0: ^7.29.0 - dompurify@^3.0.0: ^3.4.13 + dompurify@^3.0.0: ^3.4.17 js-yaml@^4.0.0: ^4.3.1 js-yaml@^3.0.0: ^3.15.1 fast-uri@^3.0.0: ^3.1.5 @@ -177,6 +181,7 @@ overrides: brace-expansion@^4.0.0: ^5.0.9 brace-expansion@^5.0.0: ^5.0.9 '@grpc/grpc-js@^1.9.0': ^1.14.6 + tinypool@^2.0.0: 2.1.2 # Transitional - drop each entry once that version is older than the release-age gate. minimumReleaseAgeExclude: diff --git a/scripts/check-command-locales.test.ts b/scripts/check-command-locales.test.ts new file mode 100644 index 00000000000..2030e07c873 --- /dev/null +++ b/scripts/check-command-locales.test.ts @@ -0,0 +1,306 @@ +import { spawnSync } from 'node:child_process' +import { mkdirSync, mkdtempSync, rmSync, writeFileSync } from 'node:fs' +import { tmpdir } from 'node:os' +import { join } from 'node:path' +import { afterEach, beforeEach, describe, expect, test } from 'vitest' + +import { + checkCommandLocales, + collectDeclaredCommands, + findCommandLocaleGaps, + formatGap +} from './check-command-locales' + +const LOAD3D_FILE = 'src/extensions/core/load3d/load3d.ts' +const TSX_LOADER = import.meta.resolve('tsx') + +const LAZY_EXTENSION = ` +export const load3dExtension: ComfyExtension = { + name: 'Comfy.Load3D', + commands: [ + { + id: 'Comfy.3DViewer.Open3DViewer', + label: 'Open 3D Viewer (Beta) for Selected Node', + function: () => {} + } + ] +} +` + +const VIEWER_ENTRY = { + Comfy_3DViewer_Open3DViewer: { + label: 'Open 3D Viewer (Beta) for Selected Node' + } +} + +describe('collectDeclaredCommands', () => { + test('finds an id in a ComfyExtension commands array', () => { + const { declared, unresolved } = collectDeclaredCommands( + LOAD3D_FILE, + LAZY_EXTENSION + ) + expect(declared).toEqual([ + { id: 'Comfy.3DViewer.Open3DViewer', file: LOAD3D_FILE, line: 6 } + ]) + expect(unresolved).toEqual([]) + }) + + test('finds ids in a `const commands = [...]` list, as useCoreCommands declares them', () => { + const fixture = ` + const commands = [ + { id: 'Comfy.Undo', label: 'Undo', function: () => {} }, + { id: 'Comfy.Redo', label: 'Redo', function: () => {} } + ] + ` + expect( + collectDeclaredCommands('src/composables/useCoreCommands.ts', fixture) + .declared + ).toEqual([ + expect.objectContaining({ id: 'Comfy.Undo' }), + expect.objectContaining({ id: 'Comfy.Redo' }) + ]) + }) + + test('unwraps `as const` and `satisfies` around the array', () => { + const asConst = `const commands = [{ id: 'Comfy.A' }] as const` + const satisfied = `const commands = [{ id: 'Comfy.B' }] satisfies ComfyCommand[]` + expect(collectDeclaredCommands('a.ts', asConst).declared).toEqual([ + expect.objectContaining({ id: 'Comfy.A' }) + ]) + expect(collectDeclaredCommands('b.ts', satisfied).declared).toEqual([ + expect.objectContaining({ id: 'Comfy.B' }) + ]) + }) + + test('ignores menuCommands entries, which reference ids instead of declaring them', () => { + const fixture = ` + const referencedCommand = 'Comfy-Desktop.OpenUserGuide' + const extension = { + menuCommands: [ + { + path: ['Extensions'], + commands: ['Comfy-Desktop.OpenDevTools', referencedCommand] + } + ] + } + ` + expect(collectDeclaredCommands('src/x.ts', fixture)).toEqual({ + declared: [], + unresolved: [] + }) + }) + + test('reports a computed id as unresolved rather than silently dropping it', () => { + const fixture = `const commands = [{ id: \`Comfy.\${suffix}\`, function: run }]` + const { declared, unresolved } = collectDeclaredCommands( + 'src/x.ts', + fixture + ) + expect(declared).toEqual([]) + expect(unresolved).toEqual([{ file: 'src/x.ts', line: 1 }]) + }) + + test.for([ + { + name: 'typed variable', + source: ` + const extension: ComfyExtension = { + name: 'Comfy.Example', + commands: buildCommands() + } + `, + line: 4 + }, + { + name: 'typed factory', + source: ` + function extension(): ComfyExtension { + return { + name: 'Comfy.Example', + commands: buildCommands() + } + } + `, + line: 5 + }, + { + name: 'shorthand property', + source: ` + const commands = buildCommands() + const extension: ComfyExtension = { + name: 'Comfy.Example', + commands + } + `, + line: 5 + } + ])( + 'reports non-literal commands in a $name as unresolved', + ({ source, line }) => { + const { declared, unresolved } = collectDeclaredCommands( + 'src/x.ts', + source + ) + expect(declared).toEqual([]) + expect(unresolved).toEqual([{ file: 'src/x.ts', line }]) + } + ) + + test('ignores non-literal commands on unrelated objects', () => { + const fixture = ` + const commands = buildCommands() + const assigned = { commands: buildCommands() } + const shorthand = { commands } + ` + expect(collectDeclaredCommands('src/x.ts', fixture)).toEqual({ + declared: [], + unresolved: [] + }) + }) + + test.for([ + { + name: 'identifier element', + source: `const command = { id: 'Comfy.A' }; const commands = [command]` + }, + { + name: 'shorthand id', + source: `const id = 'Comfy.A'; const commands = [{ id }]` + } + ])('reports an unresolved $name', ({ source }) => { + const { declared, unresolved } = collectDeclaredCommands('src/x.ts', source) + expect(declared).toEqual([]) + expect(unresolved).toEqual([{ file: 'src/x.ts', line: 1 }]) + }) +}) + +describe('findCommandLocaleGaps', () => { + const declared = [ + { id: 'Comfy.3DViewer.Open3DViewer', file: LOAD3D_FILE, line: 60 } + ] + + test('reports the id the locale regeneration pruned', () => { + expect( + findCommandLocaleGaps(declared, { Comfy_Undo: { label: 'Undo' } }) + ).toEqual([ + { + id: 'Comfy.3DViewer.Open3DViewer', + key: 'Comfy_3DViewer_Open3DViewer', + file: LOAD3D_FILE, + line: 60, + reason: 'missing-entry' + } + ]) + }) + + test('passes once the entry is restored', () => { + expect(findCommandLocaleGaps(declared, VIEWER_ENTRY)).toEqual([]) + }) + + test.for([ + { + name: 'absent label', + catalog: { Comfy_3DViewer_Open3DViewer: {} } + }, + { + name: 'blank label', + catalog: { Comfy_3DViewer_Open3DViewer: { label: ' ' } } + }, + { + name: 'tooltip without a label', + catalog: { + Comfy_3DViewer_Open3DViewer: { tooltip: 'Open it' } + } + } + ])('rejects $name', ({ catalog }) => { + expect(findCommandLocaleGaps(declared, catalog)[0]?.reason).toBe( + 'missing-label' + ) + }) + + test('reports a duplicated declaration once', () => { + const twice = [...declared, { ...declared[0], file: 'src/other.ts' }] + expect(findCommandLocaleGaps(twice, {})).toHaveLength(1) + }) + + test('names the declaration site and the missing key', () => { + expect(formatGap(findCommandLocaleGaps(declared, {})[0])).toBe( + `${LOAD3D_FILE}:60 command 'Comfy.3DViewer.Open3DViewer' has no commands.Comfy_3DViewer_Open3DViewer entry` + ) + }) +}) + +describe('checkCommandLocales over a repository tree', () => { + let root: string + + function write(file: string, contents: string): void { + const target = join(root, file) + mkdirSync(join(target, '..'), { recursive: true }) + writeFileSync(target, contents) + } + + function writeCatalog(catalog: object): void { + write('src/locales/en/commands.json', JSON.stringify(catalog, null, 2)) + } + + beforeEach(() => { + root = mkdtempSync(join(tmpdir(), 'command-locales-')) + write(LOAD3D_FILE, LAZY_EXTENSION) + }) + + afterEach(() => { + rmSync(root, { recursive: true, force: true }) + }) + + test('fails the pruned release state', () => { + writeCatalog({ Comfy_Undo: { label: 'Undo' } }) + expect(checkCommandLocales(root).gaps).toEqual([ + expect.objectContaining({ + id: 'Comfy.3DViewer.Open3DViewer', + reason: 'missing-entry' + }) + ]) + }) + + test('passes the repaired state', () => { + writeCatalog(VIEWER_ENTRY) + const { gaps, declared } = checkCommandLocales(root) + expect(gaps).toEqual([]) + expect(declared).toHaveLength(1) + }) + + test('fails closed when a command array contains a spread', () => { + write( + LOAD3D_FILE, + `const sharedCommands = [{ id: 'Comfy.Shared' }] +const commands = [...sharedCommands]` + ) + writeCatalog({ Comfy_Shared: { label: 'Shared' } }) + const result = spawnSync( + process.execPath, + [ + '--import', + TSX_LOADER, + join(process.cwd(), 'scripts/check-command-locales.ts') + ], + { cwd: root, encoding: 'utf8' } + ) + expect(result.status).toBe(1) + expect(result.stderr).toContain( + `${LOAD3D_FILE}:2 command id cannot be resolved statically` + ) + }) + + test('skips test files, so a fixture command needs no locale entry', () => { + write( + 'src/extensions/core/load3d/load3dLazy.test.ts', + `const extension = { commands: [{ id: 'test.lazy3d.command' }] }` + ) + write( + 'src/platform/extensions/__tests__/helpers.ts', + `const commands = [{ id: 'test.helper.command' }]` + ) + writeCatalog(VIEWER_ENTRY) + expect(checkCommandLocales(root).gaps).toEqual([]) + }) +}) diff --git a/scripts/check-command-locales.ts b/scripts/check-command-locales.ts new file mode 100644 index 00000000000..0d51d7a8733 --- /dev/null +++ b/scripts/check-command-locales.ts @@ -0,0 +1,374 @@ +import { globSync, readFileSync } from 'node:fs' +import { resolve } from 'node:path' +import { fileURLToPath } from 'node:url' +import ts from 'typescript' + +import { normalizeI18nKey } from '@comfyorg/shared-frontend-utils/formatUtil' + +export const COMMAND_SOURCE_GLOB = 'src/**/*.ts' + +export const COMMANDS_CATALOG_FILE = 'src/locales/en/commands.json' + +export interface DeclaredCommand { + id: string + file: string + line: number +} + +export interface UnresolvedCommand { + file: string + line: number +} + +export interface CommandLocaleGap extends DeclaredCommand { + key: string + reason: 'missing-entry' | 'missing-label' +} + +export interface CommandCatalog { + [key: string]: unknown +} + +const isGeneratedOrTestFile = (file: string): boolean => + /\.(test|spec)\.ts$/.test(file) || + file.endsWith('.d.ts') || + file.startsWith('src/locales/') || + file.includes('__tests__/') || + file.includes('__mocks__/') || + file.includes('__fixtures__/') + +export function findCommandSourceFiles(repositoryRoot: string): string[] { + return globSync(COMMAND_SOURCE_GLOB, { cwd: repositoryRoot }) + .map((file) => file.replaceAll('\\', '/')) + .filter((file) => !isGeneratedOrTestFile(file)) + .sort() +} + +function arrayLiteral( + expression: ts.Expression | undefined +): ts.ArrayLiteralExpression | undefined { + if (!expression) return + if (ts.isArrayLiteralExpression(expression)) return expression + if (ts.isAsExpression(expression) || ts.isSatisfiesExpression(expression)) + return arrayLiteral(expression.expression) + if (ts.isParenthesizedExpression(expression)) + return arrayLiteral(expression.expression) +} + +function propertyName(name: ts.PropertyName): string | undefined { + if (ts.isIdentifier(name) || ts.isStringLiteral(name)) return name.text +} + +function isInsideMenuCommands(node: ts.Node): boolean { + for ( + let current = node.parent; + !ts.isSourceFile(current); + current = current.parent + ) { + if ( + (ts.isPropertyAssignment(current) && + propertyName(current.name) === 'menuCommands') || + (ts.isVariableDeclaration(current) && + ts.isIdentifier(current.name) && + current.name.text === 'menuCommands') + ) + return true + } + return false +} + +function isComfyExtensionType(type: ts.TypeNode | undefined): boolean { + return ( + type !== undefined && + ts.isTypeReferenceNode(type) && + ts.isIdentifier(type.typeName) && + type.typeName.text === 'ComfyExtension' + ) +} + +function isRegisterExtensionCall(node: ts.Node): boolean { + if (!ts.isCallExpression(node)) return false + const expression = node.expression + return ( + (ts.isIdentifier(expression) && expression.text === 'registerExtension') || + (ts.isPropertyAccessExpression(expression) && + expression.name.text === 'registerExtension') + ) +} + +function functionReturnType(node: ts.Node): ts.TypeNode | undefined { + for ( + let current = node.parent; + !ts.isSourceFile(current); + current = current.parent + ) { + if ( + ts.isFunctionDeclaration(current) || + ts.isFunctionExpression(current) || + ts.isArrowFunction(current) || + ts.isMethodDeclaration(current) + ) + return current.type + } +} + +type ExpressionWrapper = + | ts.AsExpression + | ts.SatisfiesExpression + | ts.ParenthesizedExpression + +function expressionWrapper(node: ts.Node): ExpressionWrapper | undefined { + if (ts.isAsExpression(node)) return node + if (ts.isSatisfiesExpression(node)) return node + if (ts.isParenthesizedExpression(node)) return node +} + +function wrapperType(node: ExpressionWrapper): ts.TypeNode | undefined { + if (ts.isAsExpression(node) || ts.isSatisfiesExpression(node)) + return node.type +} + +function isComfyExtensionReturn( + expression: ts.Expression, + parent: ts.Node +): boolean { + if (ts.isArrowFunction(parent)) + return parent.body === expression && isComfyExtensionType(parent.type) + if (ts.isReturnStatement(parent)) + return isComfyExtensionType(functionReturnType(expression)) + return false +} + +function isComfyExtensionObject(node: ts.ObjectLiteralExpression): boolean { + let expression: ts.Expression = node + for (let wrapper = expressionWrapper(expression.parent); wrapper;) { + if (isComfyExtensionType(wrapperType(wrapper))) return true + expression = wrapper + wrapper = expressionWrapper(expression.parent) + } + const parent = expression.parent + if (ts.isVariableDeclaration(parent)) return isComfyExtensionType(parent.type) + if (isComfyExtensionReturn(expression, parent)) return true + return isRegisterExtensionCall(parent) +} + +function unresolvedExtensionCommands( + node: ts.Node +): ts.PropertyAssignment | ts.ShorthandPropertyAssignment | undefined { + if ( + (!ts.isPropertyAssignment(node) && + !ts.isShorthandPropertyAssignment(node)) || + propertyName(node.name) !== 'commands' || + isInsideMenuCommands(node) || + !ts.isObjectLiteralExpression(node.parent) || + !isComfyExtensionObject(node.parent) + ) + return + if (ts.isPropertyAssignment(node) && arrayLiteral(node.initializer)) return + return node +} + +function commandArray(node: ts.Node): ts.ArrayLiteralExpression | undefined { + if ( + ts.isPropertyAssignment(node) && + propertyName(node.name) === 'commands' && + !isInsideMenuCommands(node) + ) + return arrayLiteral(node.initializer) + if ( + ts.isVariableDeclaration(node) && + ts.isIdentifier(node.name) && + node.name.text === 'commands' + ) + return arrayLiteral(node.initializer) +} + +function lineOf(sourceFile: ts.SourceFile, node: ts.Node): number { + return ( + sourceFile.getLineAndCharacterOfPosition(node.getStart(sourceFile)).line + 1 + ) +} + +function commandIdProperty( + element: ts.Expression +): ts.PropertyAssignment | ts.ShorthandPropertyAssignment | undefined { + if (!ts.isObjectLiteralExpression(element)) return + return element.properties.find( + ( + property + ): property is ts.PropertyAssignment | ts.ShorthandPropertyAssignment => + (ts.isPropertyAssignment(property) || + ts.isShorthandPropertyAssignment(property)) && + propertyName(property.name) === 'id' + ) +} + +function collectCommandArrayElement( + file: string, + sourceFile: ts.SourceFile, + element: ts.Expression +): { declared: DeclaredCommand[]; unresolved: UnresolvedCommand[] } { + if (ts.isStringLiteralLike(element)) return { declared: [], unresolved: [] } + if (ts.isSpreadElement(element)) + return { + declared: [], + unresolved: [{ file, line: lineOf(sourceFile, element) }] + } + const property = commandIdProperty(element) + const line = lineOf(sourceFile, property ?? element) + if ( + property && + ts.isPropertyAssignment(property) && + ts.isStringLiteralLike(property.initializer) + ) + return { + declared: [{ id: property.initializer.text, file, line }], + unresolved: [] + } + return { declared: [], unresolved: [{ file, line }] } +} + +export function collectDeclaredCommands( + file: string, + source: string +): { declared: DeclaredCommand[]; unresolved: UnresolvedCommand[] } { + const sourceFile = ts.createSourceFile( + file, + source, + ts.ScriptTarget.Latest, + true, + ts.ScriptKind.TS + ) + const declared: DeclaredCommand[] = [] + const unresolved: UnresolvedCommand[] = [] + const walk = (node: ts.Node): void => { + const array = commandArray(node) + const unresolvedCommands = unresolvedExtensionCommands(node) + if (unresolvedCommands) + unresolved.push({ + file, + line: lineOf( + sourceFile, + ts.isPropertyAssignment(unresolvedCommands) + ? unresolvedCommands.initializer + : unresolvedCommands.name + ) + }) + for (const element of array?.elements ?? []) { + const found = collectCommandArrayElement(file, sourceFile, element) + declared.push(...found.declared) + unresolved.push(...found.unresolved) + } + ts.forEachChild(node, walk) + } + walk(sourceFile) + return { declared, unresolved } +} + +export function findCommandLocaleGaps( + declared: readonly DeclaredCommand[], + catalog: CommandCatalog +): CommandLocaleGap[] { + const gaps = new Map() + for (const command of declared) { + const key = normalizeI18nKey(command.id) + if (gaps.has(key)) continue + const entry: unknown = Object.hasOwn(catalog, key) + ? catalog[key] + : undefined + if (entry === undefined || entry === null) { + gaps.set(key, { ...command, key, reason: 'missing-entry' }) + continue + } + const label: unknown = + typeof entry === 'object' && Object.hasOwn(entry, 'label') + ? Reflect.get(entry, 'label') + : undefined + if (typeof label !== 'string' || label.trim().length === 0) + gaps.set(key, { ...command, key, reason: 'missing-label' }) + } + return [...gaps.values()].sort((a, b) => a.id.localeCompare(b.id)) +} + +export function readCommandCatalog(repositoryRoot: string): CommandCatalog { + const file = resolve(repositoryRoot, COMMANDS_CATALOG_FILE) + const parsed: unknown = JSON.parse(readFileSync(file, 'utf8')) + if (typeof parsed !== 'object' || parsed === null || Array.isArray(parsed)) + throw new Error(`${COMMANDS_CATALOG_FILE} is not a JSON object`) + return parsed as CommandCatalog +} + +export function checkCommandLocales(repositoryRoot: string): { + files: string[] + declared: DeclaredCommand[] + unresolved: UnresolvedCommand[] + gaps: CommandLocaleGap[] +} { + const files = findCommandSourceFiles(repositoryRoot) + const declared: DeclaredCommand[] = [] + const unresolved: UnresolvedCommand[] = [] + for (const file of files) { + const found = collectDeclaredCommands( + file, + readFileSync(resolve(repositoryRoot, file), 'utf8') + ) + declared.push(...found.declared) + unresolved.push(...found.unresolved) + } + return { + files, + declared, + unresolved, + gaps: findCommandLocaleGaps(declared, readCommandCatalog(repositoryRoot)) + } +} + +export function formatGap(gap: CommandLocaleGap): string { + const detail = + gap.reason === 'missing-entry' + ? `has no commands.${gap.key} entry` + : `has no commands.${gap.key}.label string` + return `${gap.file}:${gap.line} command '${gap.id}' ${detail}` +} + +export function formatUnresolved(command: UnresolvedCommand): string { + return `${command.file}:${command.line} command id cannot be resolved statically` +} + +function main(): void { + const { files, declared, unresolved, gaps } = checkCommandLocales( + process.cwd() + ) + if (gaps.length === 0 && unresolved.length === 0) { + process.stdout.write( + `Command locale guard passed (${declared.length} declared commands across ${files.length} files)\n` + ) + return + } + const reports = [] + if (gaps.length) + reports.push( + `Command locale guard found ${gaps.length} declared command(s) missing from ${COMMANDS_CATALOG_FILE}:\n\n` + + gaps.map(formatGap).join('\n') + ) + if (unresolved.length) + reports.push( + `Command locale guard found ${unresolved.length} command declaration(s) that cannot be resolved:\n\n` + + unresolved.map(formatUnresolved).join('\n') + ) + reports.push( + `Locale regeneration prunes a command whose extension had not registered when ` + + `scripts/collect-i18n-general.ts ran, and ESLint's cache can hide the result until an ` + + `unrelated pull request fails. Restore missing entries, replace computed or spread command ` + + `declarations with statically declared ids, and fix collection for lazy extensions.` + ) + process.stderr.write(reports.join('\n\n') + '\n') + process.exitCode = 1 +} + +if ( + process.argv[1] && + fileURLToPath(import.meta.url) === resolve(process.argv[1]) +) { + main() +} diff --git a/scripts/cicd/backport-auto-merge.test.ts b/scripts/cicd/backport-auto-merge.test.ts new file mode 100644 index 00000000000..9de30693c2b --- /dev/null +++ b/scripts/cicd/backport-auto-merge.test.ts @@ -0,0 +1,282 @@ +import { spawnSync } from 'node:child_process' +import { + chmodSync, + mkdtempSync, + readFileSync, + rmSync, + writeFileSync +} from 'node:fs' +import { tmpdir } from 'node:os' +import { join } from 'node:path' + +import { describe, expect, it, onTestFinished } from 'vitest' +import { parse } from 'yaml' + +interface WorkflowStep { + name?: string + run?: string +} + +interface Workflow { + jobs?: Partial> +} + +const workflow = parse( + readFileSync('.github/workflows/backport-auto-merge.yaml', 'utf8') +) as Workflow +const mergeScript = + workflow.jobs?.merge?.steps?.find( + (step) => step.name === 'Merge eligible backport PRs' + )?.run ?? '' + +const HEAD = 'b'.repeat(40) +const OLD = 'a'.repeat(40) +const AUTHORIZED_BASES = [ + 'cloud/1.56', + 'core/1.56', + 'cloud/1.57', + 'core/1.57', + 'cloud/1.58', + 'core/1.58', + 'cloud/1.59', + 'core/1.59' +] +const UNAUTHORIZED_BASES = [ + 'cloud/1.54', + 'core/1.54', + 'cloud/1.55', + 'core/1.55', + 'cloud/1.60', + 'core/1.60' +] + +const fakeGh = `#!/usr/bin/env bash +set -euo pipefail +echo "$*" >> "$FAKE_CALLS" +case "$1 $2" in + "pr view") + jq_filter='' + while [ $# -gt 0 ]; do + case "$1" in --jq) jq_filter="$2"; shift 2 ;; *) shift ;; esac + done + if [ -n "$jq_filter" ]; then jq -r "$jq_filter" "$FAKE_PR"; else cat "$FAKE_PR"; fi ;; + "pr merge") + jq '.state = "MERGED"' "$FAKE_PR" > "$FAKE_PR.tmp" && mv "$FAKE_PR.tmp" "$FAKE_PR" ;; + "pr comment") : ;; + api\\ *) + case "$2" in + */reviews) + [ -z "\${FAKE_REVIEWS_FAIL:-}" ] || { echo 'API rate limit exceeded (HTTP 403)' >&2; exit 1; } + cat "$FAKE_REVIEWS" ;; + */collaborators/*/permission) + [ -z "\${FAKE_PERMISSION_FAIL:-}" ] || { echo 'API rate limit exceeded (HTTP 403)' >&2; exit 1; } + login="\${2%/permission}" login="\${login##*/}" + jq -rn --arg login "$login" --slurpfile reviews "$FAKE_REVIEWS" ' + [$reviews[0][] | select(.user.login == $login)][0].permission // "none"' ;; + */comments) echo '[]' ;; + *) echo "unexpected gh api call: $2" >&2; exit 2 ;; + esac ;; + *) echo "unexpected gh call: $*" >&2; exit 2 ;; +esac +` + +interface Review { + state: string + commit_id: string + login?: string + author_association?: string + permission?: string +} + +function runMerge( + reviews: Review[], + { + baseRefName = 'core/1.59', + permissionFail = false, + reviewsFail = false + } = {} +) { + const directory = mkdtempSync(join(tmpdir(), 'backport-auto-merge-')) + onTestFinished(() => rmSync(directory, { recursive: true, force: true })) + const calls = join(directory, 'calls') + writeFileSync(calls, '') + writeFileSync(join(directory, 'gh'), fakeGh) + chmodSync(join(directory, 'gh'), 0o755) + writeFileSync( + join(directory, 'pr.json'), + JSON.stringify({ + number: 22422, + state: 'OPEN', + isDraft: false, + labels: [{ name: 'backport' }], + baseRefName, + reviewDecision: 'APPROVED', + mergeStateStatus: 'CLEAN', + headRefOid: HEAD + }) + ) + writeFileSync( + join(directory, 'reviews.json'), + JSON.stringify( + reviews.map( + ({ + login = 'reviewer', + author_association = 'MEMBER', + permission = 'write', + ...review + }) => ({ + user: { login }, + author_association, + permission, + ...review + }) + ) + ) + ) + const result = spawnSync('bash', ['-c', mergeScript], { + encoding: 'utf8', + env: { + ...process.env, + CANDIDATES: '22422', + FAKE_CALLS: calls, + FAKE_PR: join(directory, 'pr.json'), + FAKE_PERMISSION_FAIL: permissionFail ? '1' : '', + FAKE_REVIEWS: join(directory, 'reviews.json'), + FAKE_REVIEWS_FAIL: reviewsFail ? '1' : '', + GH_REPO: 'Comfy-Org/ComfyUI_frontend', + MERGE_TOKEN: 'merge-token', + PATH: `${directory}:${process.env.PATH}`, + READ_TOKEN: 'read-token' + } + }) + const merges = readFileSync(calls, 'utf8') + .split('\n') + .filter((line) => line.startsWith('pr merge')) + return { result, merges } +} + +describe('backport auto-merge', () => { + it('merges a ready backport approved at its current head', () => { + const { result, merges } = runMerge([ + { state: 'APPROVED', commit_id: HEAD } + ]) + + expect(result.stderr).toBe('') + expect(result.status).toBe(0) + expect(merges).toHaveLength(1) + expect(merges[0]).toContain(`--match-head-commit ${HEAD}`) + }) + + it.for(AUTHORIZED_BASES)( + 'merges an approved backport to %s', + (baseRefName) => { + const { merges } = runMerge([{ state: 'APPROVED', commit_id: HEAD }], { + baseRefName + }) + + expect(merges).toHaveLength(1) + } + ) + + it.for(UNAUTHORIZED_BASES)( + 'does not merge a backport to unauthorized train %s', + (baseRefName) => { + const { result, merges } = runMerge( + [{ state: 'APPROVED', commit_id: HEAD }], + { baseRefName } + ) + + expect(merges).toHaveLength(0) + expect(result.stdout).toContain('not an active release branch') + } + ) + + it('does not merge when the only approval is on an older commit', () => { + const { result, merges } = runMerge([{ state: 'APPROVED', commit_id: OLD }]) + + expect(result.stderr).toBe('') + expect(result.status).toBe(0) + expect(merges).toHaveLength(0) + expect(result.stdout).toContain('no approval at head') + }) + + it('ignores an approval at head from an account without write access', () => { + const { merges } = runMerge([ + { state: 'APPROVED', commit_id: OLD, login: 'maintainer' }, + { + state: 'APPROVED', + commit_id: HEAD, + login: 'outsider', + author_association: 'NONE', + permission: 'read' + } + ]) + + expect(merges).toHaveLength(0) + }) + + it('uses only the latest review from each reviewer', () => { + const { merges } = runMerge([ + { state: 'APPROVED', commit_id: HEAD, login: 'first' }, + { state: 'DISMISSED', commit_id: HEAD, login: 'first' }, + { state: 'COMMENTED', commit_id: HEAD, login: 'first' }, + { state: 'APPROVED', commit_id: OLD, login: 'second' } + ]) + + expect(merges).toHaveLength(0) + }) + + it('reports a failed review lookup instead of waiting silently', () => { + const { result, merges } = runMerge([], { reviewsFail: true }) + + expect(result.status).toBe(0) + expect(merges).toHaveLength(0) + expect(result.stdout).toContain('Could not read reviews') + expect(result.stdout).toContain('API rate limit exceeded') + }) + + it('reports a failed permission lookup and rejects that reviewer', () => { + const { result, merges } = runMerge( + [{ state: 'APPROVED', commit_id: HEAD }], + { permissionFail: true } + ) + + expect(result.status).toBe(0) + expect(merges).toHaveLength(0) + expect(result.stdout).toContain('Could not read permission for reviewer') + expect(result.stdout).toContain('API rate limit exceeded') + }) + + it('ignores an approval at head from a member with read access only', () => { + const { merges } = runMerge([ + { state: 'APPROVED', commit_id: OLD, login: 'maintainer' }, + { + state: 'APPROVED', + commit_id: HEAD, + login: 'reader', + permission: 'read' + } + ]) + + expect(merges).toHaveLength(0) + }) + + it('does not merge after the head approver later requests changes', () => { + const { merges } = runMerge([ + { state: 'APPROVED', commit_id: OLD, login: 'maintainer' }, + { state: 'APPROVED', commit_id: HEAD, login: 'reviewer' }, + { state: 'CHANGES_REQUESTED', commit_id: HEAD, login: 'reviewer' } + ]) + + expect(merges).toHaveLength(0) + }) + + it('keeps an approval when the same reviewer later comments', () => { + const { merges } = runMerge([ + { state: 'APPROVED', commit_id: HEAD }, + { state: 'COMMENTED', commit_id: HEAD } + ]) + + expect(merges).toHaveLength(1) + }) +}) diff --git a/scripts/cicd/backport-conflict-comment.test.ts b/scripts/cicd/backport-conflict-comment.test.ts index 756d16c5af9..b6b1578c9b8 100644 --- a/scripts/cicd/backport-conflict-comment.test.ts +++ b/scripts/cicd/backport-conflict-comment.test.ts @@ -124,6 +124,7 @@ interface Run { mergeCommit?: string targetHead?: string failed?: string + alreadyApplied?: string forceRerun?: boolean commentsRead?: 'ok' | 'error' login?: string @@ -137,6 +138,7 @@ function reportConflict( mergeCommit = firstMergeCommit, targetHead = firstTargetHead, failed = coreConflict, + alreadyApplied = '', forceRerun = false, commentsRead = 'ok', login = botLogin, @@ -161,12 +163,12 @@ function reportConflict( const script = commentRun .replaceAll('${{ github.event_name }}', event) .replaceAll('${{ inputs.pr_number }}', '21078') - .replaceAll('${{ steps.backport.outputs.failed }}', failed) const result = spawnSync('bash', ['-e', '-c', script], { encoding: 'utf8', env: { ...process.env, + ALREADY_APPLIED_TARGETS: alreadyApplied, BACKPORT_AGENT_PROMPT_TEMPLATE: commentEnv.BACKPORT_AGENT_PROMPT_TEMPLATE, COMMENT_BODY_TEMPLATE: commentEnv.COMMENT_BODY_TEMPLATE, FAKE_DIR: sandbox, @@ -176,6 +178,7 @@ function reportConflict( FAKE_PR_LOCKED: String(prLocked), FAKE_READ: commentsRead, FAKE_TARGET_HEAD: targetHead, + FAILED_TARGETS: failed, FORCE_RERUN: evaluateForceRerun(event, forceRerun), GITHUB_EVENT_PATH: eventPath, GITHUB_REPOSITORY: 'Comfy-Org/ComfyUI_frontend', @@ -203,6 +206,46 @@ const postedReports = (sandbox: string) => .filter((body) => body.includes('Backport to `')) describe('backport conflict comment', () => { + it('titles the tracking issue as not needed when a locked PR already has the changes on its target', () => { + const sandbox = createSandbox() + + reportConflict(sandbox, { + failed: '', + alreadyApplied: 'core/1.56 ', + prLocked: true + }) + + expect( + readFileSync(join(sandbox, 'issues.jsonl'), 'utf8') + .split('\n') + .filter(Boolean) + .map((line) => (JSON.parse(line) as { title: string }).title) + ).toEqual(['Backport of #21078 to core/1.56 not needed']) + }) + + it('reads the target lists from the backport step outputs', () => { + expect(commentEnv).toMatchObject({ + FAILED_TARGETS: '${{ steps.backport.outputs.failed }}', + ALREADY_APPLIED_TARGETS: '${{ steps.backport.outputs.already-applied }}' + }) + }) + + it('tells the author when a target already has the changes, without a conflict report', () => { + const sandbox = createSandbox() + + reportConflict(sandbox, { failed: '', alreadyApplied: 'core/1.56 ' }) + + const bodies = readRecords(sandbox, 'comments.jsonl').map( + ({ body }) => body + ) + expect(postedReports(sandbox)).toHaveLength(0) + expect(bodies).toEqual([ + expect.stringContaining( + `\`core/1.56\` already has the changes from \`${firstMergeCommit}\`, so no backport PR was opened.` + ) + ]) + }) + it('marks the conflict comment with its target, merge commit and target head', () => { const sandbox = createSandbox() diff --git a/scripts/cicd/ci-prerequisites.test.ts b/scripts/cicd/ci-prerequisites.test.ts index 6c75cf40a63..4420ff01151 100644 --- a/scripts/cicd/ci-prerequisites.test.ts +++ b/scripts/cicd/ci-prerequisites.test.ts @@ -1,5 +1,7 @@ import { spawnSync } from 'node:child_process' -import { readFileSync } from 'node:fs' +import { mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs' +import { tmpdir } from 'node:os' +import { join } from 'node:path' import { describe, expect, it } from 'vitest' import { parse } from 'yaml' @@ -16,9 +18,11 @@ const workflowSchema = z.object({ steps: z .array( z.object({ + id: z.string().optional(), run: z.string().optional(), uses: z.string().optional(), - with: z.record(z.string(), z.unknown()).optional() + with: z.record(z.string(), z.unknown()).optional(), + env: z.record(z.string(), z.string()).optional() }) ) .optional() @@ -48,13 +52,182 @@ it.for([ expect.objectContaining({ uses: expect.stringMatching(/^actions\/checkout@/), with: expect.objectContaining({ - 'sparse-checkout': '/package.json', + 'sparse-checkout': expect.stringMatching(/^\/package\.json$/m), 'sparse-checkout-cone-mode': false }) }) ) }) +it.for(['comment-on-pr-start', 'deploy-and-comment'])( + '%s does not write the PR report after its run is cancelled', + (job) => { + const condition = pipeline.jobs[job].if ?? '' + expect(condition).toMatch(/!cancelled\(\)/) + expect(condition).not.toMatch(/\balways\(\)/) + } +) + +function lockfileWithPlaywright(catalogVersion: string, rootVersion: string) { + return [ + 'catalogs:', + ' default:', + " '@playwright/test':", + ' specifier: ^1.0.0', + ` version: ${catalogVersion}`, + 'importers:', + ' .:', + ' devDependencies:', + " '@playwright/test':", + ' specifier: ^1.0.0', + ` version: ${rootVersion}`, + ' apps/website:', + ' devDependencies:', + " '@playwright/test':", + ' specifier: ^1.0.0', + ' version: 9.9.9', + 'packages:', + '' + ].join('\n') +} + +function readLockedPlaywrightVersion(lockfile: string) { + const step = pipeline.jobs['merge-reports'].steps?.find( + (candidate) => candidate.id === 'playwright-version' + ) + if (!step?.run) throw new Error('Missing Playwright version step') + const dir = mkdtempSync(join(tmpdir(), 'playwright-version-')) + try { + writeFileSync(join(dir, 'pnpm-lock.yaml'), lockfile) + const output = join(dir, 'output') + writeFileSync(output, '') + const result = spawnSync( + 'bash', + ['--noprofile', '--norc', '-c', step.run], + { + cwd: dir, + env: { PATH: process.env.PATH, GITHUB_OUTPUT: output }, + encoding: 'utf8' + } + ) + return { status: result.status, output: readFileSync(output, 'utf8') } + } finally { + rmSync(dir, { recursive: true, force: true }) + } +} + +describe('merge-reports Playwright version', () => { + it.for([ + [ + 'root importer version', + lockfileWithPlaywright('1.2.0', '1.3.0'), + 0, + 'version=1.3.0\n' + ], + [ + 'peer suffix stripped', + lockfileWithPlaywright('1.2.0', '1.3.0(foo@1.0.0)'), + 0, + 'version=1.3.0\n' + ], + [ + 'missing root entry', + 'importers:\n .:\n devDependencies: {}\n', + 1, + '' + ], + [ + 'root entry without a version', + [ + 'importers:', + ' .:', + ' devDependencies:', + " '@playwright/test':", + ' specifier: ^1.0.0', + " '@vitest/ui':", + ' specifier: ^1.0.0', + ' version: 9.9.9', + '' + ].join('\n'), + 1, + '' + ] + ] as const)('%s', ([, lockfile, status, output]) => { + expect(readLockedPlaywrightVersion(lockfile)).toEqual({ status, output }) + }) + + it('checks out the lockfile it reads', () => { + expect(pipeline.jobs['merge-reports'].steps).toContainEqual( + expect.objectContaining({ + uses: expect.stringMatching(/^actions\/checkout@/), + with: expect.objectContaining({ + 'sparse-checkout': expect.stringMatching(/^\/pnpm-lock\.yaml$/m) + }) + }) + ) + }) + + it('merges the HTML and JSON reports with the locked version', () => { + const step = pipeline.jobs['merge-reports'].steps?.find((candidate) => + candidate.run?.includes('merge-reports') + ) + if (!step?.run) throw new Error('Missing merge-reports step') + expect(step.env).toEqual({ + PLAYWRIGHT_VERSION: '${{ steps.playwright-version.outputs.version }}' + }) + const dir = mkdtempSync(join(tmpdir(), 'merge-reports-')) + try { + const calls = join(dir, 'calls') + writeFileSync( + join(dir, 'pnpm'), + `#!/bin/bash\necho "\${PLAYWRIGHT_JSON_OUTPUT_NAME:-} $*" >> "${calls}"\n`, + { mode: 0o755 } + ) + const result = spawnSync( + 'bash', + ['--noprofile', '--norc', '-eo', 'pipefail', '-c', step.run], + { + cwd: dir, + env: { + PATH: `${dir}:${process.env.PATH}`, + PLAYWRIGHT_VERSION: '1.3.0' + }, + encoding: 'utf8' + } + ) + expect(result.status).toBe(0) + expect(readFileSync(calls, 'utf8')).toBe( + [ + ' dlx @playwright/test@1.3.0 merge-reports --reporter=html ./all-blob-reports', + 'playwright-report/report.json dlx @playwright/test@1.3.0 merge-reports --reporter=json ./all-blob-reports', + '' + ].join('\n') + ) + } finally { + rmSync(dir, { recursive: true, force: true }) + } + }) + + it('matches the root importer in the repository lockfile', () => { + const lockfile = readFileSync('pnpm-lock.yaml', 'utf8') + const root = z + .object({ + importers: z.object({ + '.': z.object({ + devDependencies: z.object({ + '@playwright/test': z.object({ version: z.string() }) + }) + }) + }) + }) + .parse(parse(lockfile)) + expect(readLockedPlaywrightVersion(lockfile)).toEqual({ + status: 0, + output: `version=${root.importers['.'].devDependencies['@playwright/test'].version.replace(/\(.*/, '')}\n` + }) + }) +}) + function verdict(job: string, env: Record) { const script = pipeline.jobs[job].steps?.[0].run if (!script) throw new Error(`Missing verdict script for ${job}`) diff --git a/scripts/cicd/coverage-unit-baseline.test.ts b/scripts/cicd/coverage-unit-baseline.test.ts index 5b955718e7c..5c5d4bfd14a 100644 --- a/scripts/cicd/coverage-unit-baseline.test.ts +++ b/scripts/cicd/coverage-unit-baseline.test.ts @@ -43,9 +43,11 @@ function history(...commits: CommitFixture[]): History { function historyWithGaps(gaps: number): History { const shas = ['head', ...Array.from({ length: gaps }, (_, i) => `gap-${i}`)] return history( - ...shas.map( - (sha, index): CommitFixture => [sha, shas[index + 1] ?? 'oldest', NONE] - ), + ...shas.map((sha, index): CommitFixture => [ + sha, + shas[index + 1] ?? 'oldest', + NONE + ]), ['oldest', null, MEASURED] ) } diff --git a/scripts/cicd/plan-playwright-videos.test.ts b/scripts/cicd/plan-playwright-videos.test.ts index 4bead7c508b..e211087f2e7 100644 --- a/scripts/cicd/plan-playwright-videos.test.ts +++ b/scripts/cicd/plan-playwright-videos.test.ts @@ -304,6 +304,7 @@ process.exit(${JSON.stringify(failing)}.includes(args.at(-1)) ? 1 : 0) const result = spawnSync(bash, ['-eo', 'pipefail', '-c', command], { cwd: root, encoding: 'utf8', + stdio: ['ignore', 'pipe', 'pipe'], env: { PATH: `${bin}:/usr/bin:/bin`, PROJECT: 'cloud', diff --git a/scripts/cicd/pr-backport-commits.test.ts b/scripts/cicd/pr-backport-commits.test.ts new file mode 100644 index 00000000000..f434d6bd584 --- /dev/null +++ b/scripts/cicd/pr-backport-commits.test.ts @@ -0,0 +1,150 @@ +import { execFileSync, spawnSync } from 'node:child_process' +import { + chmodSync, + mkdtempSync, + readFileSync, + rmSync, + writeFileSync +} from 'node:fs' +import { tmpdir } from 'node:os' +import { join } from 'node:path' + +import { afterEach, beforeEach, describe, expect, it } from 'vitest' +import { parse } from 'yaml' +import { z } from 'zod' + +const workflowSchema = z.object({ + jobs: z.object({ + backport: z.object({ + steps: z.array( + z.object({ id: z.string().optional(), run: z.string().optional() }) + ) + }) + }) +}) + +const PR_NUMBER = '21829' +const TARGET = 'core/1.0' + +function backportScript(): string { + const workflow = workflowSchema.parse( + parse(readFileSync('.github/workflows/pr-backport.yaml', 'utf8')) + ) + const step = workflow.jobs.backport.steps.find( + (step) => step.id === 'backport' + ) + if (!step?.run) throw new Error('Missing backport script') + return step.run + .replaceAll('${{ github.event_name }}', 'workflow_dispatch') + .replaceAll('${{ inputs.pr_number }}', PR_NUMBER) + .replaceAll('${{ steps.filter-targets.outputs.pending-targets }}', TARGET) +} + +let dir: string +let work: string + +function git(...args: string[]): string { + return execFileSync('git', args, { cwd: work, encoding: 'utf8' }).trim() +} + +function commitFile(content: string, message: string): string { + writeFileSync(join(work, 'file.txt'), content) + git('add', 'file.txt') + git('commit', '--quiet', '-m', message) + return git('rev-parse', 'HEAD') +} + +beforeEach(() => { + dir = mkdtempSync(join(tmpdir(), 'pr-backport-commits-')) + work = join(dir, 'work') + execFileSync('git', ['init', '--quiet', '--bare', join(dir, 'origin.git')]) + execFileSync('git', ['init', '--quiet', '-b', 'main', work]) + git('config', 'user.email', 'test@example.com') + git('config', 'user.name', 'test') + git('remote', 'add', 'origin', join(dir, 'origin.git')) + commitFile('one\n', 'base') + git('branch', TARGET) +}) + +afterEach(() => { + rmSync(dir, { recursive: true, force: true }) +}) + +function runBackport(mergeCommit: string) { + git('push', '--quiet', 'origin', 'main', TARGET) + writeFileSync( + join(dir, 'gh'), + `#!/usr/bin/env bash\necho '{"title":"Change","mergeCommit":{"oid":"${mergeCommit}"}}'\n` + ) + chmodSync(join(dir, 'gh'), 0o755) + const output = join(dir, 'github-output') + writeFileSync(output, '') + const result = spawnSync( + 'bash', + ['--noprofile', '--norc', '-e', '-c', backportScript()], + { + cwd: work, + env: { + PATH: `${dir}:${process.env.PATH}`, + HOME: dir, + GITHUB_OUTPUT: output, + PR_NUMBER + }, + encoding: 'utf8' + } + ) + expect(result.status).toBe(0) + return { ...result, outputs: readFileSync(output, 'utf8') } +} + +describe('pr-backport cherry-pick step', () => { + it('skips a target that already has the change by hand without failing it or reporting a conflict', () => { + git('checkout', '--quiet', TARGET) + commitFile('two\n', 'hand-made backport') + git('checkout', '--quiet', 'main') + const mergeCommit = commitFile('two\n', 'change') + + const { outputs } = runBackport(mergeCommit) + + expect(outputs).toContain(`already-applied=${TARGET} `) + expect(outputs).toContain('failed=\n') + expect(outputs).toContain('success=\n') + }) + + it('still reports a real conflict', () => { + git('checkout', '--quiet', TARGET) + commitFile('three\n', 'diverged') + git('checkout', '--quiet', 'main') + const mergeCommit = commitFile('two\n', 'change') + + const { outputs } = runBackport(mergeCommit) + + expect(outputs).toContain(`failed=${TARGET}:conflicts:file.txt, `) + }) + + it('reports a cherry-pick that fails before it starts as a failure, not as already applied', () => { + git('checkout', '--quiet', '-b', 'feature') + commitFile('two\n', 'feature change') + git('checkout', '--quiet', 'main') + writeFileSync(join(work, 'main.txt'), 'main\n') + git('add', 'main.txt') + git('commit', '--quiet', '-m', 'main change') + git('merge', '--quiet', '--no-ff', 'feature', '-m', 'merge') + const mergeCommit = git('rev-parse', 'HEAD') + + const { outputs } = runBackport(mergeCommit) + + expect(outputs).toContain(`failed=${TARGET}:conflicts: `) + expect(outputs).toContain('already-applied=\n') + }) + + it('pushes a clean cherry-pick', () => { + const mergeCommit = commitFile('two\n', 'change') + + const { outputs } = runBackport(mergeCommit) + + expect(outputs).toContain( + `success=${TARGET}:backport-${PR_NUMBER}-to-core-1.0 ` + ) + }) +}) diff --git a/scripts/cicd/pr-backport-dispatch.test.ts b/scripts/cicd/pr-backport-dispatch.test.ts new file mode 100644 index 00000000000..c33325f77d6 --- /dev/null +++ b/scripts/cicd/pr-backport-dispatch.test.ts @@ -0,0 +1,96 @@ +import { spawnSync } from 'node:child_process' +import { + chmodSync, + mkdtempSync, + readFileSync, + rmSync, + writeFileSync +} from 'node:fs' +import { tmpdir } from 'node:os' +import { join } from 'node:path' + +import { afterEach, beforeEach, describe, expect, it } from 'vitest' +import { parse } from 'yaml' +import { z } from 'zod' + +const workflowSchema = z.object({ + jobs: z.object({ + backport: z.object({ + steps: z.array( + z.object({ name: z.string().optional(), run: z.string().optional() }) + ) + }) + }) +}) + +const PR_NUMBER = '21829' + +function validateScript() { + const workflow = workflowSchema.parse( + parse(readFileSync('.github/workflows/pr-backport.yaml', 'utf8')) + ) + const step = workflow.jobs.backport.steps.find( + (step) => step.name === 'Validate inputs for manual triggers' + ) + if (!step?.run) throw new Error('Missing manual trigger validation') + return step.run.replaceAll('${{ inputs.pr_number }}', PR_NUMBER) +} + +const GH_STUB = `#!/usr/bin/env bash +filter="." fields="" +while [ $# -gt 0 ]; do + case "$1" in + --json) fields="$2"; shift 2 ;; + --jq) filter="$2"; shift 2 ;; + *) shift ;; + esac +done +jq -c --arg state "$STUB_STATE" --argjson labels "$STUB_LABELS" -n ' + {state: $state, labels: ($labels | map({name: .}))}' \ + | jq -r "$filter" +` + +let dir: string + +beforeEach(() => { + dir = mkdtempSync(join(tmpdir(), 'pr-backport-dispatch-')) + writeFileSync(join(dir, 'gh'), GH_STUB) + chmodSync(join(dir, 'gh'), 0o755) +}) + +afterEach(() => { + rmSync(dir, { recursive: true, force: true }) +}) + +function runValidate(state: string, labels: string[]) { + return spawnSync('bash', ['--noprofile', '--norc', '-c', validateScript()], { + env: { + PATH: `${dir}:${process.env.PATH}`, + STUB_STATE: state, + STUB_LABELS: JSON.stringify(labels) + }, + encoding: 'utf8' + }) +} + +describe('pr-backport manual dispatch validation', () => { + it('accepts a merged PR whose needs-backport label the bot already removed', () => { + const result = runValidate('MERGED', ['core/1.57', 'cloud/1.57']) + + expect(result.stdout).not.toContain('::error::') + expect(result.status).toBe(0) + }) + + it('accepts a merged PR that still has needs-backport', () => { + expect(runValidate('MERGED', ['needs-backport', 'core/1.57']).status).toBe( + 0 + ) + }) + + it('rejects a PR that has not merged', () => { + const result = runValidate('OPEN', ['needs-backport', 'core/1.57']) + + expect(result.status).toBe(1) + expect(result.stdout).toContain('is not merged') + }) +}) diff --git a/scripts/cicd/pr-report-disclosure.test.ts b/scripts/cicd/pr-report-disclosure.test.ts index 06917f80dd3..e659d0ffe5f 100644 --- a/scripts/cicd/pr-report-disclosure.test.ts +++ b/scripts/cicd/pr-report-disclosure.test.ts @@ -28,7 +28,14 @@ function fixture() { function runExplainCheck( workspace: string, - inputs: { slug: string; status: string } + inputs: { + slug: string + status: string + headline?: string + detailsFile?: string + reproduce?: string + docs?: string + } ) { const actionFile = parseDocument( readFileSync( @@ -51,10 +58,10 @@ function runExplainCheck( INPUT_TITLE: 'Test check', INPUT_ICON: '', INPUT_STATUS: inputs.status, - INPUT_HEADLINE: 'Check summary.', - INPUT_DETAILS_FILE: details, - INPUT_REPRODUCE: 'pnpm check', - INPUT_DOCS: 'docs/check.md', + INPUT_HEADLINE: inputs.headline ?? 'Check summary.', + INPUT_DETAILS_FILE: inputs.detailsFile ?? details, + INPUT_REPRODUCE: inputs.reproduce ?? 'pnpm check', + INPUT_DOCS: inputs.docs ?? 'docs/check.md', GITHUB_WORKSPACE: workspace, GITHUB_OUTPUT: join(workspace, 'output'), GITHUB_STEP_SUMMARY: join(workspace, 'summary'), @@ -80,16 +87,49 @@ describe('shared PR report disclosure', () => { expect(result.status).toBe(0) const output = readFileSync(join(dir.root, 'summary'), 'utf8') const visible = output.split('
')[0] - expect(visible).toContain('Check summary.') expect(visible).toContain(action) + expect(visible).not.toContain('Check summary.') + expect(visible).not.toContain('docs/check.md') expect(visible).not.toContain('| Finding |') expect(output).toMatch( - /Findings and check details<\/summary>\n\n\| Finding[\s\S]*\n\n<\/details>/ + /Findings and check details<\/summary>\n\nCheck summary\.\n\n\| Finding[\s\S]*\n\nFull docs: docs\/check\.md\n\n<\/details>/ ) expect(output).not.toContain('
{ + using dir = fixture() + const result = runExplainCheck(dir.root, { + slug: 'test', + status: 'pass', + detailsFile: '', + reproduce: '', + docs: '' + }) + + expect(result.status).toBe(0) + expect(readFileSync(join(dir.root, 'summary'), 'utf8')).toBe( + '## Test check: ✅ Passed\n\n
\nFindings and check details\n\nCheck summary.\n\n
\n' + ) + }) + + it('collapses a docs link when the check has no headline or findings', () => { + using dir = fixture() + const result = runExplainCheck(dir.root, { + slug: 'test', + status: 'pass', + headline: '', + detailsFile: '', + reproduce: '' + }) + + expect(result.status).toBe(0) + expect(readFileSync(join(dir.root, 'summary'), 'utf8')).toBe( + '## Test check: ✅ Passed\n\n
\nFindings and check details\n\nFull docs: docs/check.md\n\n
\n' + ) + }) + it.for(['../escape', 'Upper', 'a/b', '', 'a;b', 'a\nb'])( 'rejects slug %j before writing any report file', (slug) => { diff --git a/scripts/collect-i18n-node-defs.ts b/scripts/collect-i18n-node-defs.ts index 9e5efca03e8..e6221cc8503 100644 --- a/scripts/collect-i18n-node-defs.ts +++ b/scripts/collect-i18n-node-defs.ts @@ -1,7 +1,8 @@ import * as fs from 'fs' -import type { ComfyNodeDef as ComfyNodeDefV2 } from '@/schemas/nodeDef/nodeDefSchemaV2' -import type { ComfyNodeDef } from '@/schemas/nodeDefSchema' +import { transformNodeDefV1ToV2 } from '@comfyorg/object-info-parser/migration' +import type { ComfyNodeDef as ComfyNodeDefV2 } from '@comfyorg/object-info-parser/schemas/nodeDefSchemaV2' +import type { ComfyNodeDef } from '@comfyorg/object-info-parser' import { comfyPageFixture as test } from '../browser_tests/fixtures/ComfyPage' import type { WidgetLabels } from './nodeDefLocaleSerializer' @@ -11,30 +12,21 @@ const localePath = './src/locales/en/main.json' const nodeDefsPath = './src/locales/en/nodeDefs.json' test('collect-i18n-node-defs', async ({ comfyPage }) => { - // Mock view route await comfyPage.page.route('**/view**', async (route) => { await route.fulfill({ body: JSON.stringify({}) }) }) - // Note: Don't mock the object_info API endpoint - let it hit the actual backend - - const nodeDefs: ComfyNodeDefV2[] = await comfyPage.page.evaluate(async () => { + const rawNodeDefs = await comfyPage.page.evaluate(async () => { const app = window.app if (!app) throw new Error('ComfyUI app is not initialized') - const rawNodeDefs = await app.api.getNodeDefs() - const { transformNodeDefV1ToV2 } = - await import('../src/schemas/nodeDef/migration') - - return ( - Object.values(rawNodeDefs) - // Ignore DevTools nodes (used for internal testing) - .filter((def: ComfyNodeDef) => !def.name.startsWith('DevTools')) - .map((def: ComfyNodeDef) => transformNodeDefV1ToV2(def)) - ) + return app.api.getNodeDefs() }) + const nodeDefs: ComfyNodeDefV2[] = Object.values(rawNodeDefs) + .filter((def: ComfyNodeDef) => !def.name.startsWith('DevTools')) + .map((def: ComfyNodeDef) => transformNodeDefV1ToV2(def)) async function extractWidgetLabels() { const nodeLabels: WidgetLabels = {} diff --git a/scripts/dev-agent-options.test.ts b/scripts/dev-agent-options.test.ts index dc58acaeda1..9027dbb32d2 100644 --- a/scripts/dev-agent-options.test.ts +++ b/scripts/dev-agent-options.test.ts @@ -27,6 +27,32 @@ describe('parseOptions', () => { ).toThrow(`collides with the ${what}`) }) + it.for([ + { + name: 'Postgres port equal to the Temporal port', + args: ['--pg-port', '7400'], + message: 'collides with the Postgres port 7400' + }, + { + name: 'Redis port equal to the Temporal UI port', + args: ['--redis-port', '8400'], + message: 'collides with the Redis port 8400' + } + ])('rejects a $name', ({ args, message }) => { + expect(() => + parseOptions([ + '--record', + '--catalog', + 'seed.json', + '--engine', + 'temporal', + '--temporal-port', + '7400', + ...args + ]) + ).toThrow(message) + }) + it('returns safe defaults with derived companion ports', () => { expect(parseOptions([])).toEqual({ agentPort: 6286, @@ -40,8 +66,10 @@ describe('parseOptions', () => { healthPort: 6287, help: false, pgExec: '', + pgPort: 54331, record: false, redisExec: '', + redisPort: 6379, target: 'local', temporalPort: 7234, temporalUiPort: 8234 @@ -74,8 +102,12 @@ describe('parseOptions', () => { '7400', '--pg-exec', 'psql -At -c', + '--pg-port', + '55431', '--redis-exec', - 'redis-cli -p 6379' + 'redis-cli -p 6389', + '--redis-port', + '6389' ]) ).toMatchObject({ record: true, @@ -92,7 +124,9 @@ describe('parseOptions', () => { temporalPort: 7400, temporalUiPort: 8400, pgExec: 'psql -At -c', - redisExec: 'redis-cli -p 6379' + pgPort: 55431, + redisExec: 'redis-cli -p 6389', + redisPort: 6389 }) }) @@ -118,6 +152,14 @@ describe('parseOptions', () => { args: ['--frontend-port', '0'], message: '--frontend-port must be an integer' }, + { + args: ['--pg-port', '0'], + message: '--pg-port must be an integer' + }, + { + args: ['--redis-port', '65536'], + message: '--redis-port must be an integer' + }, { args: ['--agent-port', '6207'], message: 'Agent and frontend ports must be different' diff --git a/scripts/dev-agent-options.ts b/scripts/dev-agent-options.ts index 88fc8bd4275..06d50f8b5c9 100644 --- a/scripts/dev-agent-options.ts +++ b/scripts/dev-agent-options.ts @@ -14,8 +14,10 @@ export interface Options { healthPort: number help: boolean pgExec: string + pgPort: number record: boolean redisExec: string + redisPort: number target: 'cloud' | 'local' temporalPort: number temporalUiPort: number @@ -40,8 +42,10 @@ Options: --catalog PATH Conversation fixture whose workflow.catalog the agent loads --doc-host-port PORT Doc host port in record mode (default: 8096) --pg-exec CMD Command taking one SQL string, ending in -c; quote - an argument that contains a space - --redis-exec CMD redis-cli-compatible command for recording + an argument that contains a space; must target --pg-port + --pg-port PORT Record-mode Postgres port (default: 54331) + --redis-exec CMD redis-cli-compatible command targeting --redis-port + --redis-port PORT Record-mode Redis port (default: 6379) --engine NAME Record mode engine: inline or temporal (default: inline) --temporal-port PORT Temporal gRPC port for --engine temporal (default: 7234) --help Show this help @@ -105,8 +109,10 @@ export function parseOptions(args: string[]): Options { healthPort: 0, help: false, pgExec: '', + pgPort: 54331, record: false, redisExec: '', + redisPort: 6379, target: 'local', temporalPort: 7234, temporalUiPort: 0 @@ -155,10 +161,18 @@ export function parseOptions(args: string[]): Options { options.pgExec = optionValue(args, index, arg) index++ break + case '--pg-port': + options.pgPort = port(optionValue(args, index, arg), arg) + index++ + break case '--redis-exec': options.redisExec = optionValue(args, index, arg) index++ break + case '--redis-port': + options.redisPort = port(optionValue(args, index, arg), arg) + index++ + break case '--record': options.record = true break @@ -234,7 +248,9 @@ export function parseOptions(args: string[]): Options { ['agent', options.agentPort], ['agent health', options.healthPort], ['frontend', options.frontendPort], - ['doc host', options.docHostPort] + ['doc host', options.docHostPort], + ['Postgres', options.pgPort], + ['Redis', options.redisPort] ] for (const [label, portNumber] of taken) { if ( diff --git a/scripts/dev-agent-record-mode.test.ts b/scripts/dev-agent-record-mode.test.ts new file mode 100644 index 00000000000..b134ad3880d --- /dev/null +++ b/scripts/dev-agent-record-mode.test.ts @@ -0,0 +1,70 @@ +// @vitest-environment node +import { describe, expect, it } from 'vitest' + +import { + containerServiceFromDockerPs, + pgContainerExecCommand, + recordServiceExecCommands, + redisContainerExecCommand +} from './dev-agent-record-mode' + +describe('record-mode container commands', () => { + it("uses each container mapping's non-default internal port", () => { + const dockerPs = [ + 'record-pg postgres:17 127.0.0.1:55431->55432/tcp', + 'record-redis redis@sha256:abc 0.0.0.0:6389->6390/tcp, [::]:6389->6390/tcp' + ].join('\n') + + const postgres = containerServiceFromDockerPs( + dockerPs, + 55431, + 'Postgres', + 'postgres' + ) + const redis = containerServiceFromDockerPs(dockerPs, 6389, 'Redis', 'redis') + + expect(pgContainerExecCommand(postgres)).toBe( + 'docker exec -i record-pg psql -p 55432 -U postgres -d postgres -At -c' + ) + expect(redisContainerExecCommand(redis)).toBe( + 'docker exec -i record-redis redis-cli -p 6390' + ) + }) + + it('wires runRecord service ports through container lookup and command builders', async () => { + const requests: Array<[number, string, string]> = [] + const commands = await recordServiceExecCommands( + { pgExec: '', pgPort: 55431, redisExec: '', redisPort: 6389 }, + async (port, service, image) => { + requests.push([port, service, image]) + return { + name: service === 'Postgres' ? 'record-pg' : 'record-redis', + port: service === 'Postgres' ? 55432 : 6390 + } + } + ) + + expect(requests).toEqual([ + [55431, 'Postgres', 'postgres'], + [6389, 'Redis', 'redis'] + ]) + expect(commands).toEqual({ + pgExec: + 'docker exec -i record-pg psql -p 55432 -U postgres -d postgres -At -c', + redisExec: 'docker exec -i record-redis redis-cli -p 6390' + }) + }) + + it('ignores non-TCP mappings, deduplicates one container, and expands ranges', () => { + const dockerPs = [ + 'record-redis redis:7 0.0.0.0:6389->6399/udp, 0.0.0.0:6389-6390->6390-6391/tcp, [::]:6389->6390/tcp' + ].join('\n') + + expect( + containerServiceFromDockerPs(dockerPs, 6389, 'Redis', 'redis') + ).toEqual({ name: 'record-redis', port: 6390 }) + expect( + containerServiceFromDockerPs(dockerPs, 6390, 'Redis', 'redis') + ).toEqual({ name: 'record-redis', port: 6391 }) + }) +}) diff --git a/scripts/dev-agent-record-mode.ts b/scripts/dev-agent-record-mode.ts index 51708af2ab8..bc7c04f53e8 100644 --- a/scripts/dev-agent-record-mode.ts +++ b/scripts/dev-agent-record-mode.ts @@ -18,9 +18,6 @@ import { } from './dev-agent-supervisor' const execFileAsync = promisify(execFile) -// The ports the cloud repo's own local stack publishes. -const PG_PORT = 54331 -const REDIS_PORT = 6379 const CLOUD_QUICKSTART = 'start the cloud stack first: `cloud up` from the cloud checkout, or scripts/start-all.sh' const TEMPORAL_INSTALL = @@ -76,47 +73,128 @@ async function assertTemporalCli(): Promise { } } -// Neither psql nor redis-cli is on PATH here, so each service is reached through its container. -async function containerFor( +export interface ContainerService { + name: string + port: number +} + +function internalPortForHostMapping( + mapping: string, + portNumber: number +): number | undefined { + const match = mapping.match( + /^(?:\[[^\]]+\]|[^:]+):(\d+)(?:-(\d+))?->(\d+)(?:-(\d+))?\/tcp$/ + ) + if (!match) return + const hostStart = Number(match.at(1)) + const hostEnd = Number(match.at(2) ?? match.at(1)) + const internalStart = Number(match.at(3)) + const internalEnd = Number(match.at(4) ?? match.at(3)) + if (portNumber < hostStart || portNumber > hostEnd) return + if (hostEnd - hostStart !== internalEnd - internalStart) { + throw new Error(`Unsupported Docker port range: ${mapping}`) + } + return internalStart + portNumber - hostStart +} + +export function containerServiceFromDockerPs( + stdout: string, portNumber: number, service: string, image: string -): Promise { - const { stdout } = await execFileAsync('docker', [ - 'ps', - '--format', - '{{.Names}} {{.Image}} {{.Ports}}' - ]) - const names = stdout +): ContainerService { + const byContainer = new Map>() + const services = stdout .split('\n') - .filter((line) => line !== '') - .map((line) => line.split(' ')) + .filter((value) => value !== '') + .map((line) => line.trim().split(/\s+/)) .filter( - ([, imageName, ...ports]) => - imageName.replace(/@.+$/, '').replace(/:[^/]+$/, '') === image && - ports.join(' ').includes(`:${portNumber}->`) + ([, imageName]) => + imageName.replace(/@.+$/, '').replace(/:[^/]+$/, '') === image ) - .map(([name]) => name) - if (names.length === 0) { + for (const [name, , ...ports] of services) { + for (const mapping of ports.join(' ').split(/,\s*/)) { + const internalPort = internalPortForHostMapping(mapping, portNumber) + if (internalPort === undefined) continue + const internalPorts = byContainer.get(name) ?? new Set() + internalPorts.add(internalPort) + byContainer.set(name, internalPorts) + } + } + const containers = [...byContainer].map(([name, ports]) => { + if (ports.size !== 1) { + throw new Error( + `${name} maps ${service} ${portNumber} to multiple internal ports: ${[...ports].join(', ')}` + ) + } + return { name, port: [...ports][0] } + }) + if (containers.length === 0) { throw new Error(`No ${image} container publishes ${service} ${portNumber}`) } - if (names.length > 1) { + if (containers.length > 1) { throw new Error( - `${names.join(', ')} all publish ${service} ${portNumber}; stop the ones this recording should not use` + `${containers.map(({ name }) => name).join(', ')} all publish ${service} ${portNumber}; stop the ones this recording should not use` ) } - return names[0] + return containers[0] } -async function pgExecCommand(override: string): Promise { +async function containerFor( + portNumber: number, + service: string, + image: string +): Promise { + const { stdout } = await execFileAsync('docker', [ + 'ps', + '--format', + '{{.Names}} {{.Image}} {{.Ports}}' + ]) + return containerServiceFromDockerPs(stdout, portNumber, service, image) +} + +export function pgContainerExecCommand({ name, port }: ContainerService) { + return `docker exec -i ${name} psql -p ${port} -U postgres -d postgres -At -c` +} + +export function redisContainerExecCommand({ name, port }: ContainerService) { + return `docker exec -i ${name} redis-cli -p ${port}` +} + +type ContainerLookup = typeof containerFor + +export async function pgExecCommand( + override: string, + portNumber: number, + lookup: ContainerLookup = containerFor +): Promise { + if (override) return override + const container = await lookup(portNumber, 'Postgres', 'postgres') + return pgContainerExecCommand(container) +} + +export async function redisExecCommand( + override: string, + portNumber: number, + lookup: ContainerLookup = containerFor +): Promise { if (override) return override - const name = await containerFor(PG_PORT, 'Postgres', 'postgres') - return `docker exec -i ${name} psql -U postgres -d postgres -At -c` + const container = await lookup(portNumber, 'Redis', 'redis') + return redisContainerExecCommand(container) } -async function redisExecCommand(): Promise { - const name = await containerFor(REDIS_PORT, 'Redis', 'redis') - return `docker exec -i ${name} redis-cli` +export async function recordServiceExecCommands( + options: Pick, + lookup: ContainerLookup = containerFor +) { + return { + pgExec: await pgExecCommand(options.pgExec, options.pgPort, lookup), + redisExec: await redisExecCommand( + options.redisExec, + options.redisPort, + lookup + ) + } } // Every value is a module constant, so the statement carries no caller input. @@ -165,10 +243,10 @@ function recordEnv(options: Options, catalogPath: string, secret: string) { AGENT_PORT: String(options.agentPort), AGENT_TARGET: options.target, AGENT_WIDGET_CATALOG_PATH: catalogPath, - DB_CONNECTION_STRING: `postgresql://postgres:postgres@127.0.0.1:${PG_PORT}/postgres?sslmode=disable`, + DB_CONNECTION_STRING: `postgresql://postgres:postgres@127.0.0.1:${options.pgPort}/postgres?sslmode=disable`, DOC_HOST_ENDPOINT: `http://127.0.0.1:${options.docHostPort}`, HEALTH_PORT: String(options.healthPort), - REDIS_URL: `redis://localhost:${REDIS_PORT}/1`, + REDIS_URL: `redis://127.0.0.1:${options.redisPort}/1`, // AGENT_TASK_QUEUE stays at its default so the agent's own worker serves it. ...(options.engine === 'temporal' ? { @@ -184,8 +262,8 @@ export async function runRecord(options: Options): Promise { 'start.sh', 'dochost/start.sh' ]) - await assertListening(PG_PORT, 'Postgres') - await assertListening(REDIS_PORT, 'Redis') + await assertListening(options.pgPort, 'Postgres') + await assertListening(options.redisPort, 'Redis') if (options.engine === 'temporal') await assertTemporalCli() const dataDir = await mkdtemp(resolve(tmpdir(), 'comfy-agent-record-')) @@ -197,8 +275,9 @@ export async function runRecord(options: Options): Promise { let redisExec: string try { catalogPath = await writeCatalog(options.catalog, dataDir) - pgExec = await pgExecCommand(options.pgExec) - redisExec = options.redisExec || (await redisExecCommand()) + const commands = await recordServiceExecCommands(options) + pgExec = commands.pgExec + redisExec = commands.redisExec await seedIdentity(pgExec) } catch (error) { await rm(dataDir, { force: true, recursive: true }) diff --git a/scripts/generate-json-schema.ts b/scripts/generate-json-schema.ts index 3e94b29f438..11b418bf2c0 100644 --- a/scripts/generate-json-schema.ts +++ b/scripts/generate-json-schema.ts @@ -6,8 +6,8 @@ import { zComfyWorkflow, zComfyWorkflow1 } from '@comfyorg/graph-model/workflowSchema' -import { zComfyNodeDef as zComfyNodeDefV2 } from '../src/schemas/nodeDef/nodeDefSchemaV2' -import { zComfyNodeDef as zComfyNodeDefV1 } from '../src/schemas/nodeDefSchema' +import { zComfyNodeDef as zComfyNodeDefV2 } from '@comfyorg/object-info-parser/schemas/nodeDefSchemaV2' +import { zComfyNodeDef as zComfyNodeDefV1 } from '@comfyorg/object-info-parser' function toNamedJsonSchema(schema: z.ZodType, title: string) { return { diff --git a/scripts/hooks/server-fact-hook.ts b/scripts/hooks/server-fact-hook.ts index 4fb5e4a1ed9..9e02a06f4c5 100644 --- a/scripts/hooks/server-fact-hook.ts +++ b/scripts/hooks/server-fact-hook.ts @@ -32,7 +32,8 @@ export type SnapshotReview = | { ok: false; detail: string } const AGENT_GUIDANCE = [ - 'Render each server fact as received: no &&, ||, ??, ternary, comparison or helper around it, and do not choose which fact answers the question.', + 'Render each server fact as the API documents it: no &&, ||, ??, ternary, arithmetic, comparison or helper that joins it with another fact, and no field the API does not document as the answer.', + 'This check still blocks tier and billing or subscription status literals even where the spec documents the value. Ask the backend for the fact, or change the lint rule in its own PR; do not disable it.', 'Local UI state (loading, in-flight, validity) may only narrow it, as in canTopUp && !isLoading.', "If the UI needs a fact the API does not emit, open a backend ticket and wrap the interim expression in pendingServerFact('BE-xxxx', ...).", 'Never substitute another field: can_change_seats is not member management.', diff --git a/scripts/i18n/config.ts b/scripts/i18n/config.ts index 9304b5350d9..15808971fa2 100644 --- a/scripts/i18n/config.ts +++ b/scripts/i18n/config.ts @@ -1,9 +1,12 @@ import type { Reasoning } from 'openai/resources/shared' +import { RUSSIAN_PLURAL_FORM_COUNT } from '@/i18nPluralForms' + export interface OutputLocale { code: string name: string guidance?: string + pluralFormCount?: number } export interface TranslationPipelineConfig { @@ -76,7 +79,11 @@ const appTranslationConfig: TranslationPipelineConfig = { name: 'Traditional Chinese (Taiwan)', guidance: chineseTraditionalGuidance }, - { code: 'ru', name: 'Russian' }, + { + code: 'ru', + name: 'Russian', + pluralFormCount: RUSSIAN_PLURAL_FORM_COUNT + }, { code: 'ja', name: 'Japanese' }, { code: 'ko', name: 'Korean' }, { code: 'fr', name: 'French' }, diff --git a/scripts/i18n/locale-retention.test.ts b/scripts/i18n/locale-retention.test.ts index d176fc39504..448a8aaecca 100644 --- a/scripts/i18n/locale-retention.test.ts +++ b/scripts/i18n/locale-retention.test.ts @@ -22,13 +22,15 @@ function simulateGeneration({ english, existing, excludedPaths = [], - policy = preserve + policy = preserve, + pluralFormCount }: { previousEnglish: LocaleObject english: LocaleObject existing: LocaleObject excludedPaths?: string[][] policy?: TranslationPipelineConfig['existingCopy'] + pluralFormCount?: number }): LocaleObject { const changes = diffLocaleSources(previousEnglish, english) const invalidated = new Set( @@ -40,7 +42,8 @@ function simulateGeneration({ existing, modifiedKeys: new Set(changes.modified.map(pathKey)), policy, - excludedKeys: new Set(excludedPaths.map(pathKey)) + excludedKeys: new Set(excludedPaths.map(pathKey)), + pluralFormCount }) const regenerated = collectPendingLeaves(english, existing, invalidated) .filter(({ path }) => !retained.has(pathKey(path))) @@ -116,6 +119,70 @@ describe('locale retention', () => { ).toEqual({ kept: '保持', title: 'MT(New)' }) }) + describe('locale plural forms under regenerate', () => { + const english = { used: '{n} credit | {n} credits' } + const russian = { + used: '{n} кредит | {n} кредита | {n} кредитов | {n} кредита' + } + const regenerate = { kind: 'regenerate' } as const + + it.for<{ label: string; previousEnglish: LocaleObject }>([ + { label: 'an added key', previousEnglish: {} }, + { label: 'an unchanged key', previousEnglish: english } + ])( + 'keeps every plural form the locale needs for $label', + ({ previousEnglish }) => { + expect( + simulateGeneration({ + previousEnglish, + english, + existing: russian, + policy: regenerate, + pluralFormCount: 4 + }) + ).toEqual(russian) + } + ) + + it('regenerates the forms when the English source changed', () => { + expect( + simulateGeneration({ + previousEnglish: { used: '{n} point | {n} points' }, + english, + existing: russian, + policy: regenerate, + pluralFormCount: 4 + }) + ).toEqual({ used: `MT(${english.used})` }) + }) + + it.for<{ label: string; existing: LocaleObject; pluralFormCount?: number }>( + [ + { + label: 'copy with the English form count', + existing: { used: '{n} кредит | {n} кредитов' }, + pluralFormCount: 4 + }, + { label: 'a locale without its own plural rule', existing: russian }, + { + label: 'copy with a blank plural form', + existing: { used: '{n} кредит | {n} кредита | | {n} кредита' }, + pluralFormCount: 4 + } + ] + )('regenerates $label', ({ existing, pluralFormCount }) => { + expect( + simulateGeneration({ + previousEnglish: {}, + english, + existing, + policy: regenerate, + pluralFormCount + }) + ).toEqual({ used: `MT(${english.used})` }) + }) + }) + describe('excluded copy', () => { const excludedPaths = [['tos', 'body']] const changedEnglish = { diff --git a/scripts/i18n/locale-retention.ts b/scripts/i18n/locale-retention.ts index f1d6fb303bf..4814fffb132 100644 --- a/scripts/i18n/locale-retention.ts +++ b/scripts/i18n/locale-retention.ts @@ -7,6 +7,7 @@ import type { LocaleTrackedLeaf } from './locale-tree' import { getLeaf } from './locale-tree' +import { countPluralForms, hasBlankPluralForm } from './protected-tokens' function usesEnglishFallback({ current, @@ -24,13 +25,56 @@ function usesEnglishFallback({ ) } +function hasLocalePluralForms( + source: string, + current: string, + pluralFormCount: number +): boolean { + return ( + countPluralForms(source) > 1 && + countPluralForms(source) !== pluralFormCount && + countPluralForms(current) === pluralFormCount && + !hasBlankPluralForm(current) + ) +} + +export type LeafCorrupted = ( + source: LocaleTrackedLeaf, + target: LocaleTrackedLeaf +) => boolean + +function retainLocalePluralForms( + sourceLeaves: ReadonlyMap, + existing: LocaleObject, + modifiedKeys: ReadonlySet, + pluralFormCount: number | undefined, + leafCorrupted: LeafCorrupted +): Map { + const retained = new Map() + if (pluralFormCount === undefined) return retained + for (const [key, leaf] of sourceLeaves) { + const current = getLeaf(existing, leaf.path) + if ( + !modifiedKeys.has(key) && + typeof leaf.value === 'string' && + typeof current === 'string' && + hasLocalePluralForms(leaf.value, current, pluralFormCount) && + !leafCorrupted(leaf.value, current) + ) + retained.set(key, current) + } + return retained +} + export function partitionLocale({ sourceLeaves, previousEnglish, existing, modifiedKeys, policy, - excludedKeys + excludedKeys, + pluralFormCount, + leafCorrupted = () => false }: { sourceLeaves: ReadonlyMap previousEnglish: LocaleObject @@ -38,13 +82,25 @@ export function partitionLocale({ modifiedKeys: ReadonlySet policy: TranslationPipelineConfig['existingCopy'] excludedKeys: ReadonlySet + pluralFormCount?: number + leafCorrupted?: LeafCorrupted }): { omitted: Set retained: Map } { const omitted = new Set() const retained = new Map() - if (policy.kind === 'regenerate') return { omitted, retained } + if (policy.kind === 'regenerate') + return { + omitted, + retained: retainLocalePluralForms( + sourceLeaves, + existing, + modifiedKeys, + pluralFormCount, + leafCorrupted + ) + } for (const [key, leaf] of sourceLeaves) { const excluded = excludedKeys.has(key) const current = getLeaf(existing, leaf.path) diff --git a/scripts/i18n/protected-tokens.ts b/scripts/i18n/protected-tokens.ts index eb38eb64379..e8e20b96b7d 100644 --- a/scripts/i18n/protected-tokens.ts +++ b/scripts/i18n/protected-tokens.ts @@ -64,6 +64,14 @@ const literalInterpolationPattern = /\{'[^']*'\}/g const linkedMessagePattern = /@[.:]/ const urlPattern = /\]\((https?:\/\/[^\s)]+)\)|https?:\/\/[\w\-./?=&#%~:@+,;]+/g +export function countPluralForms(value: string): number { + return pluralForms(value).length +} + +export function hasBlankPluralForm(value: string): boolean { + return pluralForms(value).some((form) => form.trim() === '') +} + function pluralForms(value: string): string[] { const forms: string[] = [] let start = 0 diff --git a/scripts/i18n/update-locales.integration.test.ts b/scripts/i18n/update-locales.integration.test.ts index 22e227b667b..884925848ce 100644 --- a/scripts/i18n/update-locales.integration.test.ts +++ b/scripts/i18n/update-locales.integration.test.ts @@ -177,6 +177,49 @@ describe('updateLocales generation', () => { }) }) + it('keeps hand-written Russian plural forms for a key added since the recorded English', async () => { + const appConfig = translationTargets.app + const repo = createCatalogRepo({ + ...appConfig, + outputLocales: appConfig.outputLocales.filter(({ code }) => + ['ru', 'zh'].includes(code) + ) + }) + const russian = '{n} кредит | {n} кредита | {n} кредитов | {n} кредита' + repo.recordEnglish({ 'main.json': {} }) + repo.writeCatalog('en/main.json', { used: '{n} credit | {n} credits' }) + repo.writeCatalog('ru/main.json', { used: russian }) + repo.writeCatalog('zh/main.json', { used: '{n} 积分' }) + const translator = createTranslator() + + await repo.run(false, translator.translate) + + expect(translator.sourcesByLocale()).toEqual({ + zh: ['{n} credit | {n} credits'] + }) + expect(repo.readCatalog('ru/main.json')).toEqual({ used: russian }) + }) + + it('regenerates hand-written Russian plural forms whose placeholders do not match English', async () => { + const appConfig = translationTargets.app + const repo = createCatalogRepo({ + ...appConfig, + outputLocales: appConfig.outputLocales.filter(({ code }) => code === 'ru') + }) + repo.recordEnglish({ 'main.json': {} }) + repo.writeCatalog('en/main.json', { used: '{n} credit | {n} credits' }) + repo.writeCatalog('ru/main.json', { + used: '{count} кредит | {count} кредита | {count} кредитов | {count} кредита' + }) + const translator = createTranslator() + + await repo.run(false, translator.translate) + + expect(translator.sourcesByLocale()).toEqual({ + ru: ['{n} credit | {n} credits'] + }) + }) + it('writes only catalogs and a blob-ID manifest, then reruns without translating or rewriting', async () => { const repo = createCatalogRepo() const english = { diff --git a/scripts/i18n/update-locales.ts b/scripts/i18n/update-locales.ts index 93e95bceca9..b15e72a4c3c 100644 --- a/scripts/i18n/update-locales.ts +++ b/scripts/i18n/update-locales.ts @@ -286,23 +286,29 @@ function loadStates( plans.map((plan) => { const outputFile = join(outputDir, locale.code, plan.filename) const existing = readCatalog(outputFile) + const leafCorrupted = ( + source: LocaleTrackedLeaf, + target: LocaleTrackedLeaf + ) => + leafTokensDiffer(source, target, { + strict: config.strictProtectedTokens, + localeCode: locale.code + }) const retention = partitionLocale({ sourceLeaves: plan.sourceLeaves, previousEnglish: plan.previous, existing, modifiedKeys: plan.modified, policy: config.existingCopy, - excludedKeys: plan.excluded + excludedKeys: plan.excluded, + pluralFormCount: locale.pluralFormCount, + leafCorrupted }) const pendingLeaves = collectPendingLeaves( plan.source, existing, plan.invalidated, - (source, target) => - leafTokensDiffer(source, target, { - strict: config.strictProtectedTokens, - localeCode: locale.code - }) + leafCorrupted ).filter( (leaf) => !retention.retained.has(pathKey(leaf.path)) && diff --git a/scripts/nodeDefLocaleSerializer.test.ts b/scripts/nodeDefLocaleSerializer.test.ts index ae36535681e..8af77c32f99 100644 --- a/scripts/nodeDefLocaleSerializer.test.ts +++ b/scripts/nodeDefLocaleSerializer.test.ts @@ -3,8 +3,8 @@ import { describe, expect, it } from 'vitest' import { escapeI18nMessage } from '@comfyorg/shared-frontend-utils/formatUtil' -import { transformNodeDefV1ToV2 } from '@/schemas/nodeDef/migration' -import type { ComfyNodeDef as ComfyNodeDefV1 } from '@/schemas/nodeDefSchema' +import { transformNodeDefV1ToV2 } from '@comfyorg/object-info-parser/migration' +import type { ComfyNodeDef as ComfyNodeDefV1 } from '@comfyorg/object-info-parser' import { serializeNodeDefLocales } from './nodeDefLocaleSerializer' diff --git a/scripts/registry-census/corpus.pins.json b/scripts/registry-census/corpus.pins.json index e783e1732b9..450efa14c16 100644 --- a/scripts/registry-census/corpus.pins.json +++ b/scripts/registry-census/corpus.pins.json @@ -36,7 +36,7 @@ "Blind_watermark_Comfyui": "aa7c361328a842f513735bb0b2803e99213a3bb9", "Block_Patcher_ComfyUI": "293ca1ca25553765244d95ec28f4498083cd50af", "Bobs_LoRA_Loader": "02a47d25ff5d78554ecd24c47e1edcdbeec219c1", - "Boyonodes": "c01c51bda14d8d02fff0e50a8059e41b0afceda8", + "Boyonodes": "e9cf4629cdef3acfd9dd49ee43c60d4169e22043", "BrevImage": "bea715e0cd63a8cccad60bfc80414528077cf2a6", "CFE_comfyui": "2a3bbf48446fd53ccff4177f873fef9263e9f9ff", "CLIPTextEncodeA1111-ComfyUI": "b34783a2baea99245cee564e0ea9087b7076beb6", @@ -52,17 +52,17 @@ "Comfy-Topaz-Photo": "587ff0c450002f268df66ca0b29158c2ff15d533", "Comfy-URN-Arcade-Games": "62e631f20e6825dffb17c9867e2038da6a71e93a", "Comfy3D-Studio": "f5285dd059cc54125e1ea5d460a958a8bee90b54", - "ComfyArt": "13396a8c160cd7950ab7365393475973090b69c1", + "ComfyArt": "6a5588e4a12f021c1f278054d8ce31caad9b001f", "ComfyCanvas": "84d312a65c49e3752aef13192c14b68c026c17e3", - "ComfyDL": "921b749704fb848be09b68ff969e4bdb22c61258", + "ComfyDL": "f0f4935d28c95128e5d129bbe0c2c685b670187c", "ComfyI2I": "2bd011b043f87023a2d86a82cd23d594a9793e10", "ComfyLatentTools": "69c34916fcb0566e2a7f51efcc1cdbfa034d9e08", "ComfyLiterals": "bdddb08ca82d90d75d97b1d437a652e0284a32ac", "ComfyMath": "c01177221c31b8e5fbc062778fc8254aeb541638", "ComfyMepi": "d23b3f8a0ccb8cd0da7ae5244d7140604f516ae1", "ComfyRage": "511ab3eaff9a5af3644b6a972cec387f6f74772e", - "ComfyTV": "2a3eff8b73df0218e49bfd70131dd5eaf247594b", - "ComfyUI-1hewNodes": "fca958615b489c8b6659ea90cc6ee7e9037e1903", + "ComfyTV": "a32162c6692295a53438ab3ad4dd387d05d98496", + "ComfyUI-1hewNodes": "92f8a18886e72e1a504cd8c51151cd5645eecc06", "ComfyUI-3D-Convert": "fdae947bf1e0857ee025025866ee95d6bb5b8853", "ComfyUI-3D-MeshTool": "53dfe0b5ae197b1b394a66e77eba8b69365c24f6", "ComfyUI-3D-Pack": "9e8096e50c5bcf35e1f3e34c6ae06216101f8a11", @@ -171,7 +171,7 @@ "ComfyUI-Champ": "d85f05134d8ebf31d1e4a4a12821a6fcd61a3f82", "ComfyUI-Chat-GPT-Integration": "02378eb16d79bd78d7d422645399877304e58431", "ComfyUI-Chat-Image": "c1992b9691cd53952589c2b7f1d9a98b5465b66e", - "ComfyUI-ChatterboxTTS": "b619de9e605b8477ba76bfd069f64be2ce2b7b5c", + "ComfyUI-ChatterboxTTS": "7175b1e42d652e12482da57c1b44f74194649c4a", "ComfyUI-CheckpointThumbnailExporter": "37c06b2896c34217206100a321ddd6ba6acf100c", "ComfyUI-Chibi-Nodes": "9a9734f9c17bab3b4775c04291d26f48cbff2791", "ComfyUI-Chinese-CLIP": "6a4846b6a0b9610771b8d8cd098be4d7d5dc672c", @@ -209,7 +209,7 @@ "ComfyUI-DDColor": "30d5b8e7666382a6a78404caee28dfa87f741037", "ComfyUI-DDUF": "bf9456e871c95693a1f59ddc1b80475af230cb55", "ComfyUI-DJZ-ZeroPrompt": "63b8a4d5a621d54db18b82beeadda938dc0a6077", - "ComfyUI-DaSiWa-Nodes": "ab364c582a3367eb3bab523b7b3b9d8c1fb17e63", + "ComfyUI-DaSiWa-Nodes": "9d739d01f95667504bf0b4c9a3f010b7f24a06ac", "ComfyUI-DanbooruPromptQuiz": "8c669ff9c3700095e55657e399a1d3a808c5e355", "ComfyUI-DashscopeImage": "930a0fd225f634962060f2c009cca5279a456624", "ComfyUI-DataBeast": "8cebf80597ea9e1c820a33bd17b383b2d98d7f07", @@ -240,7 +240,7 @@ "ComfyUI-DisPose": "49516bed6e3b345ab0174a915d9f451e7e3a11fb", "ComfyUI-Disco-Diffusion": "44e342eaa1ae2df8f048e3fc56d1d06e94383f33", "ComfyUI-DistorchMemoryManager": "659c4ae5efedeac4351ef08f7699f3c3c98bf9ad", - "ComfyUI-Distributed": "9df1531b7830d3db70df45bceb2fe55ce18b0530", + "ComfyUI-Distributed": "d302eb6df58d0ddaa25a3430b1a99616ead12cba", "ComfyUI-Documents": "a18dfd0e0276ef2e42afc686cc1bbff85c8a8363", "ComfyUI-DragAnything": "e52d5df3e8b85c3b69a88fbf8bba01f9c2cda554", "ComfyUI-DragNUWA": "bd9f53fed49c24e220108249fe9744c5e61542a8", @@ -261,7 +261,7 @@ "ComfyUI-EasyNode": "4eb9e38bba06ec84b706a8ffae5350732e407383", "ComfyUI-EasySAM3": "4698b272d3fe3ab4489fcf567a738cfecf02e544", "ComfyUI-Easyai": "e00408398954b88396bf9b4253d605cdbd823dcb", - "ComfyUI-Element_TileEdit": "9803f19239749e3ec446f30e217d6af1b59b9ed3", + "ComfyUI-Element_TileEdit": "836517d9e2462a4e104a1d46f58d3f4980eca20d", "ComfyUI-EmbeddingPipelineAnalytics": "72fd7ed6688c63716034ec1ce9c489ae7bfd25f3", "ComfyUI-EmptyHunyuanLatent": "3930b0f322cbc68bdb23cd0fa52d6ea3e84f635a", "ComfyUI-EnvVariable": "2af6b6424f40df4fdf0b1c7e3ed35e8de211ec3f", @@ -303,7 +303,6 @@ "ComfyUI-FitDiTx": "13c620f4d70648d1bca1868d92e2f34f3b473bf3", "ComfyUI-FlashPortrait": "25598f3d78206eb597f88b0e251941152f29a5c0", "ComfyUI-FlashVSR": "8877fdd593ea93b27353956dc69edf423c561fee", - "ComfyUI-FlashVSR_Stable": "f7f55bae4c0e82b18b190d4b62a977995507c51c", "ComfyUI-Florence-2": "9d63004767be518bbaadad6df51e5fbccd285268", "ComfyUI-Flow-Hub": "34278734a00ed075a8a81bfa8e0168c670a9f571", "ComfyUI-Flowty-CRM": "aa6e296ea8b8cc69528b93e0813da4ef76e68177", @@ -361,7 +360,7 @@ "ComfyUI-HY-Motion1": "60843a4d631efa3989b5c512ae547f996c30dcc3", "ComfyUI-HaiperAI-API": "952c3583e2ee4f31ac1f12c51b1ba5cef534584c", "ComfyUI-Hallo": "39afdc3bb2a9289953844508b9b92d5e3528316b", - "ComfyUI-HandyNodes-KT": "78d760022c58ffc4ded0c0945a3451ac621e27a8", + "ComfyUI-HandyNodes-KT": "94c304adbdd60e8895dfff7d6a983f01589540e1", "ComfyUI-Hangover-Moondream": "535143df87a5fe0271ec80799b19156eb68dffc0", "ComfyUI-Hangover-Nodes": "12935eaad6fe9f79edab7232b9b122fd040699be", "ComfyUI-Hangover-Recognize_Anything": "5ff73e657ac7c80c87ab73f11aef754064a5ce8f", @@ -409,7 +408,7 @@ "ComfyUI-ImageQualityEvaluator": "6680dcea86f7963bde001f6180c3da5c4fc60f28", "ComfyUI-ImageTagger": "3ba538ac4539a73eb81704b993c76732a1ff6b7c", "ComfyUI-ImageUploader": "13bd180ef0bcbd56065acb29d824c62e18410833", - "ComfyUI-ImageViewer": "7e73fbc9dda5a42fd271382529d67bb6aaaaec39", + "ComfyUI-ImageViewer": "fa635e9996b7be4e6f55342b1593ce50c0dc328a", "ComfyUI-Image_Properties_SG": "fda1775b8e182f7409a1ee392919b5f86356a141", "ComfyUI-Img2Img-Turbo": "ff42ae98412a3a3f69bfef6d0ef76cd7312c99f2", "ComfyUI-ImgMask2PNG": "a7ae08c135c13e254cfbb3bee194990e970bb6ae", @@ -622,7 +621,7 @@ "ComfyUI-Path-Helper": "6b190bcd1a6fc17483c3e978eaeaecb47837d95e", "ComfyUI-Pathway-CutPNG-Node": "9aa64d49b8a394737cf59db020771aae83de4e77", "ComfyUI-PechaKucha": "bf59ccd9d9194b51032b4fd77e5b30800516a002", - "ComfyUI-PerfectVideoResolution": "f9a6cda341e1aec2996b4648f2457aff958e0a5f", + "ComfyUI-PerfectVideoResolution": "76c6f6df596a5e4580567ba667aaeecf99fbe7d5", "ComfyUI-PersonaLive": "9ef67ed79c3d198c3f94ba7f26d38b138a71a94a", "ComfyUI-Pets": "e82dc4d0dedb1bd4eee352726671d69da8bc78ab", "ComfyUI-PhandoNodes": "b88b3f8b38c2cd48373d0ef5ab7f28d2f0a01b29", @@ -637,7 +636,7 @@ "ComfyUI-PiperTTS": "fb7e1ce91f08b66e623a2605f528790086162645", "ComfyUI-PixArt-alpha-Diffusers": "5cf29a7eac0df512d8b4c5aaf4bff0aec1fad21b", "ComfyUI-Pixal3D-Pozzetti": "dc2fd3b46253629d60895626b11a5c80818fae05", - "ComfyUI-Pixaroma": "2862183894cf25d83b45f2432b6dd5782c0831b1", + "ComfyUI-Pixaroma": "890c0b8efc917fbad02809cf07cfcaf143e170c5", "ComfyUI-PixelML-CustomNodes": "abdd30cef540d9759a2f008034fabeca11780e7f", "ComfyUI-PixelOE-Wrapper": "a280830bf7093722867708f2e7914a694cecb0e7", "ComfyUI-PixelResolutionCalculator": "8de61faaba8486f6eea1de3a2b08cf813da8a31c", @@ -689,7 +688,7 @@ "ComfyUI-QwenImageLoraLoader": "e160548803b675601dd777e7c20ee491f8ee225d", "ComfyUI-QwenTTS": "d8122a8ba835b65fd65c113d2b273b1ad1579293", "ComfyUI-QwenVL": "1b67b443918801f571714bab636edc1845b7002a", - "ComfyUI-QwenVL-Mod": "9907de9c691f6d2bc1cc6bc41b8b32eb6c2d8a37", + "ComfyUI-QwenVL-Mod": "d3240c85b11eddefde11fd832f019d1ba02ade5a", "ComfyUI-RAFT": "001d0d014f764157f647f03f52071ce3b102dafc", "ComfyUI-RAVE": "92d19be86cdcec198088757c07873919d3c8e1b1", "ComfyUI-RAVE_ATTN": "494b9ef5aaff7fc3668d1b1845e440c74e2ab76b", @@ -702,7 +701,7 @@ "ComfyUI-RVC": "5829db68395487d5ecc922f36aca7e7e1c7575d3", "ComfyUI-RVC-Native": "f13919f95e3b5be3088424073c5e9010632ee99f", "ComfyUI-RabbitMQ-Publisher": "caea370af9e6fafb2188c87061dff2a81f80243f", - "ComfyUI-Ranking": "aa5d53fade3cad1e51bc990bddcea3103bc392d3", + "ComfyUI-Ranking": "19a3e070c2b917741c36abfee8195dacea0b9536", "ComfyUI-RawSaver": "2dddb73a27acfd16c7582a31787836335074a463", "ComfyUI-ReNoise": "eb2093fb2d9af106ac27a97874f2b4f37f03e65c", "ComfyUI-RealESRGAN_Upscaler": "4a97128b6e39ff9b055569482e8114244a466d8f", @@ -734,7 +733,7 @@ "ComfyUI-SAI_API": "6c0e3a21639304755861fd7d5865580d986eb3e3", "ComfyUI-SAM2-Realtime": "8e6213cfdd8485c003137f0c85d3218a0bc7f48d", "ComfyUI-SAM3DBody": "6800ef98f25e407f46ad06e5ab8bb5c62e8cec8e", - "ComfyUI-SAUS": "d8474cb3dc6b72a7c913b665e8ed35d4fe0cc654", + "ComfyUI-SAUS": "f519a4295f2f36666ec6071249ccf52239ae9376", "ComfyUI-SCAIL-Pose": "1db9ac3b44b93c336402512c118d35a89a0bee58", "ComfyUI-SCAIL2-Easy": "f4ab426b747a4f5ae1b7cff5a7eb1961be283452", "ComfyUI-SD3-nodes": "15c6bb2b31aca2de8e74efc5b972879248f4a004", @@ -855,7 +854,7 @@ "ComfyUI-Text2Json": "333d53b10256bd47e3fa2060b42b01d42262fd5c", "ComfyUI-Text_Image-Composite": "47c1531abd59a5315aa0092536867745711ff897", "ComfyUI-Texturaizer": "0296feba9e396ec214a7c6b3ab4e9a494fbae038", - "ComfyUI-ThinkingLLM": "dc5029beabdaa4d2176beb2f80847373e2d03252", + "ComfyUI-ThinkingLLM": "9a19ec82c0b8e2364866a11c59bbc4d6403af2c5", "ComfyUI-TiledDiffusion": "a155b1bac39147381aeaa52b9be42e545626a44f", "ComfyUI-TimestepShiftModel": "d9917638178ab951e6344863705c5d4a25f33f01", "ComfyUI-TkNodes": "3e1ea113a6ce54dd85582ae120e71af47cc740d0", @@ -891,7 +890,7 @@ "ComfyUI-UsageMonitor": "b6513225cae294219291cd8a087904a0d88e3547", "ComfyUI-Usgromana": "ad45429d872069d8573a6ea74cec9001ac790430", "ComfyUI-Usgromana-Gallery": "ca90f0566e43d22bdfc1063871f56b849a8ee564", - "ComfyUI-UtilsCollection": "c4372f093ea5d9b9ce70a5136e051c146327bc3e", + "ComfyUI-UtilsCollection": "a34f3b861d89748aecf97c612c54cf8bcd43bc0a", "ComfyUI-V-Prediction-Node": "a18aaef36888d68778a3ada8a0a49551d174cd19", "ComfyUI-VIBE": "b7e99764609f0758de6b11215e664e6450b9ef29", "ComfyUI-VLM-Captions": "f44c8c41164a34e63a7249bb809f33bb91f934e5", @@ -922,7 +921,7 @@ "ComfyUI-Wan22-PromptGenerator": "96d680ee941ba9fb9972a55400f850fc4e96d735", "ComfyUI-WanAnimalPreprocess": "b067127ad23f7e9e2869807d4f005865be3012da", "ComfyUI-WanAnimatePreprocess": "0e0b6a2a555625acf4d4aefb780e27d06937132f", - "ComfyUI-WanAnimatePreprocessV2": "e3bfd415f525884613887468ecb09841c741c18c", + "ComfyUI-WanAnimatePreprocessV2": "9f043bdd7503a32b3b04994664f786a64281de61", "ComfyUI-WanStartEndFramesNative": "c31ae5dcc278ea25bd2c47456d18342174183992", "ComfyUI-WanVideo-LatentIO": "456d9e52dd1fe3a351d07403c7ff29920d996923", "ComfyUI-WanVideoKsampler": "e92a703670b6d2ed0748f3c25ae551e7e05d0ea8", @@ -940,7 +939,7 @@ "ComfyUI-Workarounds": "09ec6a48384c1d16432a732953318bad665706ad", "ComfyUI-WorkflowManager-beta": "1a6ea21f2fbf853c118ea2336dd95ec1b7a04f0a", "ComfyUI-World_weaver": "bc36e42e564ec2b36134b195ca22782666f43c38", - "ComfyUI-WtlNodes": "99b8b682e0b4e5c4070a87fb340dcd831021af5d", + "ComfyUI-WtlNodes": "23e6aa42da4b19071a2dde11d2b1a5322d5eb129", "ComfyUI-XAV-Json-Nodes": "28999084706cf27ea506719b440b4d85be7923aa", "ComfyUI-XPU-CacheClean": "d97cfd26f5b51e7b7d9ad07f946433127302b6bf", "ComfyUI-XPUSYS-Monitor": "878bd225e09cdf1de78199cda62e8e58de679d41", @@ -1033,7 +1032,7 @@ "ComfyUI-text-replace": "7f362f4a0496c4b4e60d8777f6bb0b55a44b8384", "ComfyUI-ultimate-openpose-estimator": "8b4c397176a40a8393d3cdad616e292a2b090d93", "ComfyUI-ultimate-openpose-render": "e90006bc0aa032bf085c32d69c8f33b90783b5d8", - "ComfyUI-xiaozhuguang": "b9cea42ec2f4900813264d5b2447603595d4a0b8", + "ComfyUI-xiaozhuguang": "d6535ccb7bef72ed9b5af892fae8075c9eaedac7", "ComfyUI-yolov5-face": "58529138a485fe4805b1d6894c97dbee5d76ccb2", "ComfyUI-z-a1111-sd-webui-DanTagGen": "8b530bac62256011f6f616a07118e4b4fa0e1e08", "ComfyUIInvisibleWatermark": "f7d7590aebb7e33d4db5b53b2f13940836061748", @@ -1100,9 +1099,9 @@ "ComfyUI_Eagleshadow": "f82eb3f231f85dcac94f80e542c88d963d3b5dfb", "ComfyUI_EchoMimic": "3a36b00f405e0578db1f2c048b3ad0e41ff091bd", "ComfyUI_Eclipse": "acb3673dca6e64a27c46cba5dbe740113f7b1edd", - "ComfyUI_Eclipse_Nova": "6a572b1f738bfce49e4104fa5f8e3eb211a03763", + "ComfyUI_Eclipse_Nova": "82b4d283d88c220a0a38aa9c3cf15a6af86f4757", "ComfyUI_EfficientTAM": "98a9c09f1bf8e2689869e42c1bdd4bc6265e1406", - "ComfyUI_Element_easy": "14b05ee312a57189c729237ca89d3e085bda25de", + "ComfyUI_Element_easy": "a4607c556d10f2075f3e4c341b68a25dac207f0b", "ComfyUI_EmAySee_CustomNodes": "b2629571965bb618cdbedd5f5bae7f692c621fd8", "ComfyUI_EmbeddingToolkit": "6dc63a1bc2b456d9b88a8f9d840c7e2baf04a68d", "ComfyUI_EmojiOverlay": "169c367d729b72fc3f6110c107b1a1a3383f5a6f", @@ -1165,11 +1164,11 @@ "ComfyUI_KurtHokke-Nodes": "fee669f926b0e0aa1e65b9cebb4914e54dbe4f78", "ComfyUI_KurtHokke_Nodes": "fee669f926b0e0aa1e65b9cebb4914e54dbe4f78", "ComfyUI_KytraWebhookHTTP": "8bb5141f4846406028fee3b198cf330b20969a16", - "ComfyUI_LC123_nodes": "b2c4c1f43c0fa571994b0ed553e4d6d3c266fc7b", - "ComfyUI_LC_AV_nodes": "032d77c7ced1873a28bbc4869c5ba81c42172f90", - "ComfyUI_LC_MaskMaker_nodes": "c29d6c45af68b26ee7e0807ef12fa9352b88a4b3", - "ComfyUI_LC_ModelBuilder_nodes": "3dd61cdfc326fc20f1c2a05407171f9981a15585", - "ComfyUI_LC_Vision_nodes": "9c38f37c2e54ee44960074b922a0f1e238108368", + "ComfyUI_LC123_nodes": "dafb3d21525333559d3ec2333f71f533adb6af80", + "ComfyUI_LC_AV_nodes": "56192edd96149783f5f84ee5c88eb22781c2caae", + "ComfyUI_LC_MaskMaker_nodes": "3695f137bf3365457dfd820d9fd87bcdd7e6eadb", + "ComfyUI_LC_ModelBuilder_nodes": "375561f264dba8d36509463100ab528df4a35cf0", + "ComfyUI_LC_Vision_nodes": "4d80c08bd7b06da57551f8ef2940439058e892ef", "ComfyUI_LLM_Banana": "57bd7e3af8339344bd89f6d3a78491722bbb50e2", "ComfyUI_LLaSM": "c262663d1311432f973b6098acc17eac1903cd12", "ComfyUI_Lam": "1334f81d8652756250b0dc1314b5ea6d8f282aca", @@ -1201,7 +1200,7 @@ "ComfyUI_MiniCPM-V": "5a0a5b66e88c0d8536a1a323c9ead1d29e55d185", "ComfyUI_MiniCPM-V-2_6-int4": "7c656fa8a87fcb6100d69354f35987ce0721cffd", "ComfyUI_MiniMax_H3_Extender": "b3e23bded3bcfb2398ec2470943b35330c7faaff", - "ComfyUI_MinimaxH3_AutoContext": "08f91c5b7e13919cb6149902bd730f1d9961de09", + "ComfyUI_MinimaxH3_AutoContext": "19539c6968e7c3d807afc43dc042f952343c0c1f", "ComfyUI_Mira": "dfb1c847097cf1f69055c46c24b723a5a55f2e09", "ComfyUI_ModelScopeT2V": "e6de83b9f988537db7e408bedcf3f19a51a3358c", "ComfyUI_Model_Cache": "4f1b7bbb4e3670bfd9dc1e0cb4553bd65d315e40", @@ -1251,7 +1250,7 @@ "ComfyUI_RWKV_Studio": "249119fb7734309e204237f078f7cbaf52ec5246", "ComfyUI_Rabbit-Camera-Perspective": "6d5bc031b3e75bbbab4d2b51648d7b131693d3d9", "ComfyUI_RadioStation": "f0f60e7ead41ca63b9b8fe7a2dc861bac98cd94c", - "ComfyUI_RaykoStudio": "9862906faebd304f44f4c3d1d0ddd3aca194ec2d", + "ComfyUI_RaykoStudio": "cfa5971e460cdf5a411fe019d12e2c55162f881e", "ComfyUI_Resolution-and-Ratio": "58769e57f190ff7d7a22ad0227f4caa0dfb3ac3c", "ComfyUI_RollingArtist": "a02c2f806fac7e3a8471aea77d24d59f89eb847a", "ComfyUI_RopeWrapper": "cef62137522af76760301b0695b89dcd75a3c789", @@ -1275,9 +1274,9 @@ "ComfyUI_Simple_Qwen3-VL-gguf": "3e2819d9e1da7b420219ec415f25c98634700969", "ComfyUI_Simple_Web_Browser": "566459ae7999c1261faec5a0f57ec2aac4de5a2a", "ComfyUI_SmartLLM": "43b90061d641e1f4eecec6092df02811b8d5ee65", - "ComfyUI_SmartLLM_Nova": "fb3c5271f95677e10f37434c52d2a5bf6af46e1d", + "ComfyUI_SmartLLM_Nova": "86befca1bddd74e6dfca7db54c5e2316129fbfc6", "ComfyUI_SmartModelLoader": "862f2472d67a1bcd12e104811187e9ea6fa24490", - "ComfyUI_SmartModelLoader_Nova": "c613602bf49680b1a66a9e47f96801d81932f21c", + "ComfyUI_SmartModelLoader_Nova": "51e81a5b9d76be5dbbd7362639390ae54a3aa95d", "ComfyUI_Sonic": "3abd3aa877c43118281b4788cbaad7f477d97b61", "ComfyUI_Sora": "2318a1aaa57c864db629174aed096d622b25c8e6", "ComfyUI_SpideyReroute": "cf5e14e538c0f8327a3e973d64757e3cbfd58940", @@ -1348,7 +1347,7 @@ "ComfyUI_yanc": "923c366c2937cf6ce55e8a808e29f23831281bb5", "ComfyUI_zip": "06353c9b02fd1e0e6379bc673ad5afc139d862c3", "ComfyUX": "dd2c1e6bab143bd77a7c4523b54ba555b81a9d04", - "ComfyUi-MpiNodes": "291bf3decce14021e371352f97717ceab801ec57", + "ComfyUi-MpiNodes": "cbb950da2bd87bcf4ea91504407271a76c9d57fa", "ComfyUi-NoodleWebcam": "d6ae38047725d549a0e341284bea265d97be12df", "ComfyUi-RadarWeightNode": "64bd1a505fad852f25ef7b5894669b53e1bb4ed0", "ComfyUi_PromptStylers": "376b3aa2d6c418ec3176b9e7ee6447281d8a16dc", @@ -1374,12 +1373,12 @@ "Comfyui-Lyrics": "ba207186baa72fdbff9b7a9167546cda97bc938e", "Comfyui-MMH3-UltimateExtend": "c84e0a39454352bf96bda48b2a133e76cca522ca", "Comfyui-MMH3-UltimateUpscale": "0a8d5ee3914e8fe8bd842885412ec397d7ca1629", - "Comfyui-Model-Resolver": "22f454b67fd29a7fc547921d3d73a9a9e03a93bc", + "Comfyui-Model-Resolver": "85165379e611db84e696883991563ca20f68dfc2", "Comfyui-MusePose": "f1f15c5abb6f10868b976f2502786ba3972010a2", "Comfyui-OpenAI-API": "f5c6bb379022b5166d8b580ed040f0f8b4c27f83", "Comfyui-Padded-Rect-Mask": "6651fd5477341d8533e2986b074db775cad2fb80", "Comfyui-Prompt-Sorter": "7b228f8f3140392d0a20b46fb19b82ecc1ddbd17", - "Comfyui-Resolution-Master": "108d6eb11e24cd1aa59f4f86207723bc63d7deba", + "Comfyui-Resolution-Master": "7ee97387c39c8c99d0c9aea27ce81dd51cd4db7c", "Comfyui-SoulX-Singer": "4826458b4597999641d6930320c468be9f750455", "Comfyui-Spark-TTS": "72df232461a9f392299c7d41e44d0b11579e22b6", "Comfyui-Superprompt-Unofficial": "2b2cc3bd39354d286ce01b828e545f9c19e31726", @@ -1429,7 +1428,7 @@ "CosyVoice-ComfyUI": "67e650c761cd5306a4a06bc050196b84ab592aa3", "CosyVoice2": "615ffd6b8b2bb0d8fb9c8de8cdca08eb07e7bd73", "CrasHUtils": "8e6e44976c1f387447bb793fa56e2b9fbac67aad", - "CreativeLab": "9abe40e0009cc0dd79d38fabb9aa7653ac4b2f73", + "CreativeLab": "7e042d6793c7adcb7a7ce2872a7048e6126de356", "Crystools-MonitorOnly": "779aa6d8537e44acf0db1534a35d813bdd1ad452", "Cyber-BCat_ComfyUI_Auto_Caption": "4d76655b2f791f992e5a6b373dc243f9f288aa76", "Cyber-Blacat_ComfyUI-Yuan": "67a522ffb9d46b77a38bf0ce3f8e8153f5251a39", @@ -1567,7 +1566,7 @@ "PixelArt-Processing-Nodes-for-ComfyUI": "ee3a105721458cc245456d1efa2d04a34b1307f5", "Plush-for-ComfyUI": "a9e824e6717039edea45bc157b88db3ff31bcc22", "PonyUltimatePro": "692ced7d9136b0457f599ef0c5ec9eddf7c9ad74", - "Practical-Tools": "22f4197defae28dd9a1842ecd60b9c3399d62477", + "Practical-Tools": "bcf0c0c56bf44b28a9072c92eeae9d4ac3a9194f", "Preview_Selector": "e3be831d960ef657fc312616e32e4d82f0d19c7d", "PromptStudio_Video": "d2926d1a711af85ea2de49ebd3a5d1b373d98741", "Ps-Comfy-TiHeaveN-CustomNodes": "d3c3aa3509f41ae377366d3e082b6403e26bb3e4", @@ -1578,7 +1577,7 @@ "Qwen3_TTS": "8935bf37ea3b147b4c11ad2d679f5565fd1cd2c7", "QwenImage-PromptExtractor": "c3dc61d03febccfbba9e79177dcb7d5d4643b027", "QwenVL-F": "996f56c1a07ed3d5e91cafc09588db09c46aaeb6", - "RES4LYF": "56e44755d866c87ff9cb4b6608c8e42155db6ecc", + "RES4LYF": "a36f130313a2763587ba71d579f81517bbfb6f31", "RES4SHO": "ce0d63d9626abe5d63216c1714c5ccab590b887e", "RUI-Nodes": "205a7c0e315cdaf1e0aaffecf5ca13c74240197f", "ReLight": "79a182d51ededb7b2008097e2691046ac4d30fd6", @@ -1659,7 +1658,7 @@ "WhatDreamsCost-ComfyUI": "a3c809c8b593a74c2ddcd6c1f83ad85ebebe3c64", "Whykiki-ComfyUIToolset": "ed9f5eb686806f2f98cf9865ce44f01b75119d44", "WorkflowUIPlugin": "0b1fabed29cfc4a933acc17e76c21146223da6b1", - "XB_ToolBox": "21eb17f086bbb64708a0716e2efeb03fa25bfba2", + "XB_ToolBox": "b4761a58d09f4729f64edf4cbd622847527afb9d", "Xycuno-Oobabooga": "66771dafc96cdc84f55985d1e6b8d310b8fbb733", "YANC_LMStudio": "0eecb7c3e0de3288484ef1b9a4c7a8fd59d786ec", "YK-ComfyUI-HybridI2I-OSS": "5a29d59d92a6a54f551f6a3dd4f9e2aeaad6300c", @@ -1671,7 +1670,7 @@ "a-person-mask-generator": "d2587540ff7ce7154f3fddfbf01a8628d77bf3c9", "a1111-prompt-node": "070723c767ed5bf38a5aae84fe060f34de1263dc", "a3d-comfyui-integration": "2b9377d1edcfafabfd936358cd8ea970a56eda85", - "a5-nodes": "bc33c267a4a3b052c00f4a315117d267fed3b5b5", + "a5-nodes": "61a371b86e51ddcae2cd985424579129329f7129", "aaa-metadata-system": "d708917b50e85dd43ae620848d6618c67e410371", "aaalice-image-picker": "e31e21061e010f64ba7060c5c7035863e1a21496", "aap": "81691fbecd395570904be808044e5bb442c65fd2", @@ -1707,7 +1706,7 @@ "ai-pixel-art-enhancer": "c8b1597068d5ff13113f162b61d2ebe2a9b3b063", "ai-prompt": "5370fd9cfcf5cff5ba00d876ee10d46a4fcff06f", "ai_text_comfyui": "06dcc6e879958c7db2496131bb03ee042f075d50", - "aicg3d-h3-suite": "fb5962eabaa6761d34bff9b903a95cfb9e33036c", + "aicg3d-h3-suite": "b08826264488e128670f0b39f5246f2f7969859d", "aichat": "5eb1f1f01238b2a978919888cc1ce5805eaae67c", "aicu-comfyui-stability-ai-api": "dd97eb5dbbb2cb50fbef22fb3ab4cfd5e210ac80", "aicuai_aicu-comfyui-stability-ai-api": "dd97eb5dbbb2cb50fbef22fb3ab4cfd5e210ac80", @@ -1717,15 +1716,15 @@ "aiia": "85146e994732856bf7ab20ea2bb2913838fd71c5", "aimacor_labs": "6d3adb5d7b97acb3f397e121171b3fc1329abc64", "aimacor_labs_video_prompt_director_lite": "37c09387fe90843e60ee21eb1f9831b1c0fef510", - "ainvfx-paintaplate": "6d0f2dfe0c06434b0f4bad899dd5fa2cb1203b45", - "aioli-nodes": "cc0ce3cf3edce4df026559b0fc942d7842a4df26", + "ainvfx-paintaplate": "ed4d1f07eebf9d8aa305414b04ab6b0b2995764e", + "aioli-nodes": "b5ff4394f0129678a56b616d91ffe7ce65408147", "aistudynow-qwenvl": "897514ae1d4711d7e356dcce5953a0c750ffaf68", "akatz-loop-nodes": "711a5fb244fc0b39a22f5b5603cb2a86b3534631", "akatz-seamless-tiling": "cff86c6a7a20cca46771f3c2161389c2f38525f6", "alex-node-final": "da264d73cb3de10cd23d8d1507788c7eff2d37f3", "alex-seedvr-node": "5cda36d689b20f0a0b7394ae8f7e6bd1f4861e4d", "alice-lab-audio-tools": "ad1c96127f06fd5b8f75ff75e69def3253b3953a", - "alignlayout": "33a344076db8f04931f987c7127e89763be5170a", + "alignlayout": "3ff5001ed032be84ee1ae57fb5ecb8472bc623e6", "all-in-one-style": "ce17ba7079c99688141e40eed892e14bb92613bb", "allinone-lazynode": "ec7ad3b9cd9d9c49998ba70d2fc034808d684fe6", "altera2ion-loader": "3446dc05c34ef64200442591ab9f6128f10f2f65", @@ -1740,7 +1739,7 @@ "anima-28to40-lora-converter": "9567460d4abe3a4db4d048d7a4b622377a22c16f", "anima-artist-mixer": "6e83084b20f82ffbc001d4ff280c38e3a3675f29", "anima-artist-mixer-forge": "0b1be774f67bc349ca887ab72323ff67d5ea0122", - "anima-prompt-builder": "5caf756c9b634397b03c83aa064f9863910ac347", + "anima-prompt-builder": "add9c85e93d643371a82be53cbbe82151092586b", "anima-regional-canvas": "50b9d87f302cf9e261a871863438ddf2de5b61e6", "anima-remap": "ad6a2c4af587b434f452932a0b1cb67199dcbdc5", "anima-safe-pag": "45af52fb866155c81330ecd410703b00960340c6", @@ -1765,6 +1764,7 @@ "ap-tools": "b7a9ce5797e8b16f0f3c573c04a9825893cb6b2e", "ap-wildcards": "e696c85be3c3b15bcb46221e32124aa59f89233e", "apachellmpack": "1ed4e6e115b1a35d5d49c6854d82cdb8a22388dc", + "apex-pipeline": "bf15cebd5a6de60329233570ce5e32ec4c0bfde3", "apg": "c43828eb2d70022bdc44343e848ddce8e23b9315", "apostudio": "fe22ba5cae0a8d8305206727e26acbff13d9fe2b", "app-mode-mcp": "b9dd5b68b006d9b79af6e3dcc6ac0e27f2a1ad02", @@ -1776,8 +1776,8 @@ "archviz-preset-system": "981fa60a229602a27349ff01ba9b3d57b8cd7549", "arctenoxs-essentials-comfyui": "b12bd1b76f35bcedcf30f380d492e8ec428ff72e", "ardent-nodes-comfyui": "874cc5e52711e836bde911fb48785d3165ec060d", - "area": "508e4230e6902a4f7ddf23650efc426ddd8cf83f", - "arg-toolkit": "4d25e7d40c7f8e2b54f991edb17bee7bad9482ed", + "area": "d07c5621297f235fd0393428addba2f2dd46d881", + "arg-toolkit": "c37e9bd84f64368f5af0e929571d4e7ac74a6ea4", "arisu_nodes": "d712b510838bb370f9ae3185de84b4913a2d6a4b", "arthemy_live-tuner-zit-comfyui": "79c86ef7dc4c4c25100cd013702379874b2c2a6d", "artist_randomizer": "f1469b9c0566728bf0ffcafb561a4f1e3682512b", @@ -1801,20 +1801,21 @@ "audio-separation-nodes-comfyui": "ac339561973f0c1e56db2f9d40f11b0fddda6763", "audio-separator-cli-node": "539545944ecec2231dcaf6a5152bd1edc5a29d62", "audio-tagger": "940e025908e5af47a64b76b1e5f2966546a403ab", + "audio-toolbox": "04103657a463d70e9f58f244f5ee8703e01b8bd2", "audio-waveform-visualizer": "c5d96b2156a7d2e1a2e83971646373dcbc9a3b1a", "audiodriven-latent-space-tools-for-comfyui": "ae02401883ef83cc92bc53effc1145a95bf1fdff", "audiosegment": "ec7b18eec03fd61c3591a613fc219bf751c8a031", "audiotools": "41463715b476aa1d44de617119a68d8841aa04bd", "augment-ComfyUI": "6baac5c0667af5f1b8be4b8433ef53c3d63c9c19", "auk-t8": "c40eee27dbc6effcf8b235d6e44f9a49abe2a30e", - "aun-comfyui-nodes": "52d07bea9a5b9fa8747ac0a8df35386fde071eed", - "ausboss-nodes": "0853872174f368d227e570050b8f22c374e90197", + "aun-comfyui-nodes": "7f21ca32f36fed44344972926011804dab3e67e6", + "ausboss-nodes": "f9e17c1fddb34879d5b96f8bb731e473924fa443", "auto-aspect-ratio": "78b91a7b01666429f57e12a2e0a3e5e7983637bf", "auto-audio-player": "f4fc92e96852112cc076667aadf0c7f6e437ad44", "auto-metadata-ksampler-stamp": "9b3e1c317d31ad77fab8134fd47397380b30331b", "auto-switch-any-by-steve-lasmin": "e22679c58f09ec324d16be1c1312412447a6e177", "autodownloadmodels": "4e97f4cc1c8ae966ff6b3f6839ce62a9e74b7937", - "autoexpress": "f91d9339bdf67313c9bb6ef0532ccf59f475d282", + "autoexpress": "1877f7b2bdf9a95c46703f29104f1436af9a8f91", "autofreememory": "a00d3a6827128c33c81556ba10972b2348f3ab2c", "autoguidance": "ac8183e8485178aca00e6e67ee1bfd53baf00afb", "autoresetint": "36c2942d9624a1d755a4e2343c0a60cf0dc3daa5", @@ -1833,7 +1834,7 @@ "basix_image_filters": "3af9964b5abaa5bc03fda6a54438792f28a3ba4e", "batch-anime-timm": "7eaf3a94d19712b906c6e9cc60d330a2a6c7e91d", "batch-color-standardizer": "756c808f7fa01459e7486701e661656cc719bf5d", - "batch-folder-tools": "e3946d04ed8c244bc036084e62b74bd25875e521", + "batch-folder-tools": "8621f610f0d0a1bf322b0cfa2f70bc42b2692229", "batch-process": "5c7cb7f575d9ee3ac354b97d39ecd7c1381eb5ba", "batch_whisper_extension": "93755d9f362749419f8a02e8e23522009a7b919d", "batchimg-rembg-comfyui-nodes": "746095b44cd9fa252fa031b73f3b843188850c60", @@ -1863,7 +1864,7 @@ "blindwatermark": "274168199e0ac8e248286aaca316bf885055e38a", "blip-comfyui": "c1ffa48b429c3a1ef0fc3c2fa2ba314254486f4d", "block_mouse_wheel": "84112228379352fe37730b9a33485ecfab766129", - "bluepixel-t8": "ee1b967fc8985c4a33a213177efb42d8f1b82d66", + "bluepixel-t8": "2376b10c95e99917b79c24c7e898a56a9ad9c9ef", "bobs_latent_optimizer": "a0a175aed20bc9e42bdd03f99b9f6dcfd1ecbf40", "boggerrr-nodes": "33eef3e0fdb1a506dff603f86038d284d5e56277", "bonfire": "e1334c7977d403920d2d9c38cc47fba7db3b6717", @@ -1909,7 +1910,7 @@ "captionforge": "33c21baff8b26b28712a42687857aeb753b3048f", "card-creator-llm-nodes": "873fd0bd598880043abd22028ff224c91d2535f3", "casa-maldita": "261dc6eb405f15c836a1c8caa7140defe7934ace", - "castcut-nodes": "e4b25dcb6b5681fe5e31f5b5f80fce6162f5b126", + "castcut-nodes": "38b62edf3455b07f6085b3677dcda6fa17a1cfd2", "causalforcing": "bf338f8079049f3184f41521ae647b1d7806bbf8", "ccollins-civiscribe": "5262524168e7ba16661359778ad0e4ca277a3dac", "ccsun_node": "3baffef26148d49e7d56439a66d0ebc3a7d7d14c", @@ -1922,7 +1923,7 @@ "cg-nodecaching": "987ba7e4018ca397a409110053558ed60b504f3a", "cg-noisetools": "23c7723e6f856f236f69bb87a218b7f54481c48b", "cg-prompt-info": "87dc1fe423fe32428867c8fdc28982a44c5df3f2", - "cg-use-everywhere": "1e1d25f03a06d07c0637ce987d8e46e8700fa6c2", + "cg-use-everywhere": "ffc99037eea8eac4d4ad20bb72a12a87740279a9", "cgem156-ComfyUI": "18efecff8feae270fb274e6cdedd50b897e082dd", "cglide": "4a3d60b4e97e4b6a5a35925359e7e0d17172a32b", "champdev-comfyui-nodes": "e43313b9f48842bf03d17ed5db17a71539faca4c", @@ -1945,7 +1946,7 @@ "chris-comfyui-nodes": "3b57386db62382d1a478792a45b015080dbd0d5d", "chuangjie": "489b15fa050e01da6bd8f9a960b6fff0ceac2d1d", "cine-con-ia": "2ea0d2ba7c2906c8520ee95c128815083f2251e5", - "cine-timeline": "ca5d12b56429e5eef5c18dedc31d338166a1db06", + "cine-timeline": "a185b78900548d92313f23b02f17f1ab72a76b57", "cinespatial": "644c44600d6f386ff65ee963d2abf98b4e270ba2", "cinestack-h3": "465394d45533e99817f73afa0308e8a2d36ea60d", "cinestyle": "5e7f44c9cf4cacea87c8c7435cac53b8b08a88e4", @@ -1986,13 +1987,12 @@ "colorimagedetection": "c7b02434e908d6133c0acb94e031640689165abf", "colorshiftcolor": "42ebdb3e74ed420c6a5d6dbe33c73396fd436bd2", "comal-node-clipboard-bridge": "b45cfe2a2fd5a3720567a516a533dd0e3bed145b", - "comet-api": "2e7ea2e8c4f6c3045982a1323124b22f4b253c00", + "comet-api": "9ebdd59497869c4bb19a1713ac3ca4057f2bbe2f", "comet-chat": "f7ef09047fcb36729b203ad4e7ad270f6914b662", "comfierui-companion": "b50f25ec136c6d018df85e599c50330335a63211", "comflowy-nodes": "d92239b69090b257d3beb01600c385e61df5a92b", "comfpod-openai-api": "ebe4e686b2639195462f45e31840cfc5e24e31d3", "comfuinoda-Navyblue": "8f6e9c3b7af42b8e72b0fd3539707bde714f8d18", - "comfy-aspect-ratios": "c47658e30eb82fef27cb7342793206b8606e9388", "comfy-asset-downloader": "40c8468aae66740733b3ee456979b4b655b0e764", "comfy-assistant": "d0a668359304423109c38d74f3d65eefe8aee5ec", "comfy-audio-duration": "5cec70700d597f91a45c0c09261bf7517a1b1685", @@ -2003,21 +2003,17 @@ "comfy-depthdiff": "dd9eacbf4d320138b97c47190c64cfb004b7c6a9", "comfy-drawer": "d84983966e4eedc922aca9646ab0cc11d8ad2b54", "comfy-easy-grids": "376a8adf2a86fec214816c26789849c866f25466", - "comfy-ex-tagcomplete": "028631834bb99b9dc1fb98fa53307686c7e83b80", "comfy-fetch": "a3c96c535bb582dd0cb5e052c4314ae72378a313", "comfy-gemini": "704fe661de8d1a17aa92e3886eb7efad6b3c04fa", "comfy-gimm-vfi": "a897c72ad3f62e2a7f01bf35b5113411645ac281", - "comfy-image-browser": "42eddf743aebfb2f67b1b9454ab62bf439d640a9", + "comfy-image-browser": "054daea08acb5c3ce1ce532b2c28babdc1e9a046", "comfy-image-saver": "c6223965d45871d1ff2931b6ac9518a13947c920", "comfy-import-guard": "f07085a1f8f206cc3c3f2b8552eb76bcc7a66310", "comfy-inpaint-blend": "d94b4898a011e3db562959243d5df9afac81738e", - "comfy-join-prompt": "0832089ec5f5f1808c6b649777b125a2b1db516c", "comfy-line-boil": "f255209ffe385cc1161b165de0c96db591aa9c33", - "comfy-linear-move": "7b3a2bad2d2b63d7fd24bd3b87d2444a44a35e37", "comfy-loop-utilities": "cd99dfba93441ad4d0a14e1ef763f65f85f4bd85", "comfy-mcp-server": "887e2066d3fcb31dfb7f6a5eb7a45142c57781a5", "comfy-mecha": "94006722f742e0975691809e966bf91ece6a8870", - "comfy-mecha-utils": "2194f7de37bb2d0c877bcedaa67d916ba1b5bf03", "comfy-mtb": "b35b5d8a17c0d59e80a8b3627b679c2c1003d04f", "comfy-multigpu-loader": "6ec4183b31c54d1e0e2b09a3dea45b0e1f8e6421", "comfy-nekonote-extensions": "72e7a101d9f9fd7f9e8f385c80b935ac70532140", @@ -2028,7 +2024,6 @@ "comfy-pants": "3007e6294df8da2b3291cadc4e53a5ca369a9328", "comfy-pilot": "772f639a7fed8513b145fb082102c7ac7837a766", "comfy-plasma": "c63555fec40a7dddb36c99aa603e817abab3abdb", - "comfy-preview-model": "e23fe1194469c5e49c02f574ab04e0477a6f5ee8", "comfy-pro-alpha-generator": "93846b669526575674010fecb261a46e46a5e735", "comfy-prompt-iterator": "2b5cf4dab3058bdc1f52f94e23bdec804986d94d", "comfy-rvc": "9ff974aa30d391d99fcecfac51ffe0f7bc54dbe6", @@ -2079,7 +2074,7 @@ "comfylab-pack": "3003f1181e10f4772e16c682db109295929e2fa1", "comfymate": "d08c21a8ed00d331251ff6dd18dbc3ad1cf70bc0", "comfymath-ng": "63c7a4b3a1e3959d82d6720106bad8c78bdd045b", - "comfypanel": "e10a8b07813c2a5670f7743158e91be191ac040c", + "comfypanel": "2d5fb71ff91b716df26b74f11f1a7bc22c7a1139", "comfypsi_blur_mask": "25070eb27c9e938745c167edae428e5986c81cc1", "comfypsi_force_connect": "efe008c577b179865d1dd77fab9a7fe141a566ef", "comfyqr": "e31449c99a6ba8c5c567646659e0a75e4056259f", @@ -2094,8 +2089,8 @@ "comfyui-32gpu-video-upscale": "3c5b0e4202ff03ede97835c28cd5caeae31cf29e", "comfyui-360panoramas": "b5fa0ad5a3d32821e75f7c1b7a307b8358fdbc63", "comfyui-4a-novelai": "7263a1a9c3f495037413a6f4076250db6568334f", - "comfyui-4k-video-save-load": "ed5ec385525afaf7ccf9d09101547f06ce6d8033", - "comfyui-AGSoft": "c4f71cda93ce29d5a0c89b2b57718abce7700306", + "comfyui-4k-video-save-load": "52bec773fb133399a67d313ce2d698dedecfb3ec", + "comfyui-AGSoft": "4539ddec623dfcce6ab5bf0661e73164b94d49ed", "comfyui-CLIP-Search": "1e61a1320ed8ef083960275bd0eae518fa6acb1c", "comfyui-CustomCodeNode": "869aec438b628d0a14853be2dda73cabc609bfc2", "comfyui-DataCleaning": "62fc04432df94ed6edb27e5d664c0db89e8f7e92", @@ -2115,7 +2110,7 @@ "comfyui-WildcardCluster": "ff8c98d4efccdf453eccaffc080d55d511f874f9", "comfyui-aaalice-nodes": "2395128e6f02d60ccc4c2b514201533cd8fd3f92", "comfyui-aala-nodes": "ab43f3a823f8cf49dddc7ee13a6f1266101fa90f", - "comfyui-abcpreview": "09793cc9e45082f3bda755716467e61d38c7a6c7", + "comfyui-abcpreview": "816b1393f896d7dbf5fe4c04a10977a8039b244a", "comfyui-aces-exr-toolkit": "7542c791051c3d9e2d15238cd2935e080f8348ff", "comfyui-aces-io": "81d5922258156cd5cacb2b4b76ed53294a6abebe", "comfyui-acgc99-pack": "f26dae355e6ba012e2373be0102a01d0de257498", @@ -2150,7 +2145,7 @@ "comfyui-ak-pack": "0d7ad2233a8e25a853bcfa47343ad910bbb1e6b0", "comfyui-akatz-nodes": "56e574e0faccdf061fc360c9ef786b543997ad70", "comfyui-alchemicasampler": "eff384ad1567433b16512903b5a322f9917d7a3d", - "comfyui-alchemine-pack": "1d0219483e52df8cc92f52b34530c360f5cdc981", + "comfyui-alchemine-pack": "d4953b49d534e42352577cda7f2758d42d6e0de7", "comfyui-align-shortcuts": "287e82ac4895249c1b4c2b1ef88e329411129793", "comfyui-allmanodes": "67a21af629d57c2103911056b214d23442744cad", "comfyui-allor-fork": "98050cd2cfa39c98edb5b324ba88241324643214", @@ -2163,10 +2158,10 @@ "comfyui-anima-2.9b-blockspatch": "be1a3ea808da88d4c955dfdf9ce6e53c908eb189", "comfyui-anima-2.9b-lorapatch": "045f240210b52037e6dd3d8328d776463fe54b96", "comfyui-anima-3-8b-lora-bridge": "fbd0850a7d641ad898cddb112d0617ec5d6c0497", - "comfyui-anima-blockcompile": "3c579c2beab665e11b2f4559ef923a25b595581c", - "comfyui-anima-dave": "229b54a352a40911a07822d449b9f4b1153b152d", + "comfyui-anima-blockcompile": "eca845a5e059208509b4f9a922a7c2ad249b10bf", + "comfyui-anima-dave": "38d03029adaf6b5f9a314e4563f4932640608fe3", "comfyui-anima-diffusers-lora": "e2d3c2eee853348350df73c0d5900bb4c212723e", - "comfyui-anima-directedit": "3c579c2beab665e11b2f4559ef923a25b595581c", + "comfyui-anima-directedit": "eca845a5e059208509b4f9a922a7c2ad249b10bf", "comfyui-anima-enhancer": "4789ae9e96de7dc402dda4ce3e83922898d41dba", "comfyui-anima-lora-comparison": "fb0927795f1d84386e0f6a604ddcf470dbf3a95d", "comfyui-anima-lora-controlnet-patch": "b25ae637102f2358116fe419a409f0594f61245b", @@ -2175,11 +2170,11 @@ "comfyui-anima-resolutions": "d8a125f0b77de6d1832db6290f0a32fe1ebace98", "comfyui-anima-style-nodes": "aa414d9453386a38ca0c79081a438b0616cd015e", "comfyui-anima-t8": "4c355cd3e621cb243c2409f3825a167b4bb4c4dc", - "comfyui-anima-tagger": "c5f67fa8f5b95003e2c2425aa5dea860da457fd7", + "comfyui-anima-tagger": "1fac04b4eb4b503bdac9ebd7a6ad6b5261e6f4da", "comfyui-anima-tools": "34dd2141ef05e038b14a0e251df80b047cd759f3", "comfyui-anima-wardrobe": "e049b034641575addef313a2f1d59cea674a4d8e", "comfyui-anima29b-remap": "dcc5b1c8f33c5a0342af79272dcb5528c27de883", - "comfyui-animalora-trainer": "3c579c2beab665e11b2f4559ef923a25b595581c", + "comfyui-animalora-trainer": "eca845a5e059208509b4f9a922a7c2ad249b10bf", "comfyui-animated-links": "96cd57322bdb3b94542679aa39d98946aaf5c7b1", "comfyui-animated-mask-editor": "c4827735837ad4c1f5eb542b54f8cb40d76906c6", "comfyui-animatediff": "08aad38986ae9ad6974beeea4ef15bdee0f2f622", @@ -2212,7 +2207,8 @@ "comfyui-artfat-faceconsistency": "6524bdd7fb0883ebbddf3c4de34acc04c9eace89", "comfyui-artfat-moss-bbox": "59f76ab63e33309ba9bdefacd6135d0d7b10b562", "comfyui-artfat-resolution": "68c054434dd5ae594b92540d76dddf56e6133ca4", - "comfyui-artius-browser": "e3d95c43edc0465452189fd03de70c548feb1e7d", + "comfyui-artifex": "94f2068fd45796a2fee28affefc66e6c0944d0d0", + "comfyui-artius-browser": "a4eb7a9dbc7a2b76afd2e61f049554a4963869b4", "comfyui-arzumata-lgctinyperf": "56449c99ddd252400ab5b9e7cf1a86da06e09004", "comfyui-arzumata-pixelit": "d2f09e8426487ad4b400c79fe94b82d004fec7bd", "comfyui-asasr": "c3809625ca8cb3ee05c3259903b90f9a7f17c8c5", @@ -2226,7 +2222,7 @@ "comfyui-audio-processing": "203ecc70e63d3e50c24f6bba349377a8c99ec78c", "comfyui-audio-quality-check": "866fe8c0c8a7ae3262eb7ec3d8bd66ecc9e05361", "comfyui-audioqc": "2612cba52fa9f5f9b2f6bfda1bded7c5bbacd818", - "comfyui-audiovisualizer": "1116c72c0a3bf1cc54f23a13f2d4e554c18ee6f5", + "comfyui-audiovisualizer": "ac02f5d2dc98efbe560f92a483c98b40e86137b5", "comfyui-audiox": "d07bfa2e039f653f8e5da3021312f92301d4644d", "comfyui-auk-doc": "246654f93143e6473014aac5b42105b4d8d8c5ff", "comfyui-aurasr": "29c97cf9d7bda74d3020678a03545d74dfccadf4", @@ -2255,7 +2251,7 @@ "comfyui-base64-to-image": "283457a6779e5456e15c7865a7126931a4992419", "comfyui-basic-auth": "bee17b55aa83b774ce19fb87baa070c5eedae481", "comfyui-basic-math": "ae234be900e9c2002ef264c9b2ce399e897a05cd", - "comfyui-batch-image-timer": "16a6f9b5a89a03ffbe77b05380dde45d69c1c434", + "comfyui-batch-image-timer": "1acda56c875a83b8d0e4c97b9d92e6d1f25934ff", "comfyui-batch-render": "f04f13eb0f5ad146b0cb46b1e43f6558f941e32c", "comfyui-batch-video-loader": "d87c89e22f11a24614d494c9997d121833cec955", "comfyui-batchclear-dockr": "2b550b577c518c8107178d431ea6741a9b4b9b5a", @@ -2278,7 +2274,7 @@ "comfyui-birefnet-trt": "a15f1d55d453b1caba9974611f3292c6c19a56e8", "comfyui-bit-depth-enhancer": "59e2bb71062f4ebcbe7029d9d2fa6ee398b116ab", "comfyui-blender": "1203383bf899aecfe9e521f2155bdc5564cefa8c", - "comfyui-bluebox": "e46a4b32d6360d8234f400357e21925a36f05fc5", + "comfyui-bluebox": "13f8c1d08b022b1d28f6a1a36885898dd73f08f8", "comfyui-bluemagpie-tts": "ba751db8c047c1b0d509417e590be289136ca656", "comfyui-book-tools": "02fd11d8a2ea14516bac39562b1eb6a41bb0cb7f", "comfyui-bot-runner": "b7aa7d01c48b2c3c1f83b612dcfbf6da0052f894", @@ -2348,7 +2344,7 @@ "comfyui-cmyk-magic": "cfcda64101b1804faa1917848eb2753473dcb722", "comfyui-cncc": "7463e3c2fba9500b4ffa4def3640fb019b689199", "comfyui-cntranslator": "402b75e498fae0a7687874dbf55a2cbc9d9f9d0d", - "comfyui-cof": "761b24aa20a2f5f88fe1794232cbde718bb34c28", + "comfyui-cof": "201dcb58007fcb7a37762c31f0ff4698f5620ff0", "comfyui-cogvideoxwrapper": "fdb8abd2790b5459ddc7066c31861bb0b62e988b", "comfyui-color-ascii-art-node": "b0604919edead4a60656b552b538c53469d2fef7", "comfyui-colorednoisediffusionsampling": "231c9d69583e2005ecb1f86afb8c8d51f43fcd16", @@ -2389,7 +2385,7 @@ "comfyui-custom-nodes": "4bcaa1de53048d4defa7fc5fa1926029c8e98821", "comfyui-custom-scripts": "609f3afaa74b2f88ef9ce8d939626065e3247469", "comfyui-customnodekit": "5099660055cfe96a26366150f171129fd5578c39", - "comfyui-customnodepacks": "3fa45853d603f298205d598908e51aacfe8c4145", + "comfyui-customnodepacks": "749d63ab1abf097d6e99ab2fc20ed7fb3b5339c4", "comfyui-customnodes-template": "b4f64f17ab897182addad39914dcaeb7d8aeb79e", "comfyui-customselector": "ca0e98932d31bce18ad188f0bebf3898683c8dcf", "comfyui-customvideosave": "435dc88e04ab470ab4ddc5046bd7588b9635681f", @@ -2397,7 +2393,7 @@ "comfyui-cx-sliders": "8a0e3a1542422ebc9f877d04182713e5a1b336c5", "comfyui-cyberdelia-metadata": "17da40c1626c07118e78299d711657d66bf1ba5b", "comfyui-cyberdelia-prompt-format": "87fadaf6c6a402dd2c7ae6bf6a3887cb44ab8618", - "comfyui-cyberdelia-z-engineer": "7ab25270f33ddfd7453af019064fded945d66ebb", + "comfyui-cyberdelia-z-engineer": "b56672d0f4dc046775f4d6f3280782bab69d430e", "comfyui-cyclist": "6b6accd84fcd69cb6b04e7f6b500a90c28171fca", "comfyui-d2-send-eagle": "60839817583faebe9e9b3fc1a4a9d89bfff50db6", "comfyui-daam": "2ea6c5a93e8cb77f2f9420ce678b7e398d225ef0", @@ -2411,13 +2407,13 @@ "comfyui-darkil-nodes": "813d114f07d33635740244d0afa5ead5e3451476", "comfyui-darkroom": "69612f04b2481dc0d0e45c9c7784d0e8a6d7be45", "comfyui-dart": "953511a30e4896ba17840161ad4d9aeeaaa9e0bc", - "comfyui-dashscope": "882ba6aa02fbcc72cf81b4e0089f700fe842c468", + "comfyui-dashscope": "2024d143c0749511065c3fe198cabe790430f246", "comfyui-datadog-monitor": "556243bf8c231da7c3426c985a8f4464e4085f99", "comfyui-dataset": "83a3c7254c33effd06482651ea39a141024df5dc", "comfyui-davinci-resolve-export": "f29de2c9dec4429996c96c75ce4195a1a29b8c1c", "comfyui-daz-tools": "7eaa6641b1952b17d7176ba6a1876372809eeaa8", "comfyui-dazzle-ksampler": "9d949fc5bf3ad5818945c3b82df40a39ca6b5f5d", - "comfyui-dazzlenodes": "0b826c528c1fa555d0bf0cde68165f7742d5ccab", + "comfyui-dazzlenodes": "af877ad968e9a0d1fea6455d771c6306fb606164", "comfyui-dci": "cf0d072d2893fd4b672f2ae4a5e81d2bbee98932", "comfyui-deadline-distributed": "a72f3c83ea9e39da28d6377508e94c24f7252ddd", "comfyui-deadline-plugin": "db9c87d546da4df1ebe49518619646e039fc4d0e", @@ -2429,7 +2425,7 @@ "comfyui-default-values-manager": "74d3ebf89e1fc9777f2a486010738520325b9559", "comfyui-deforum": "5d2bb850d934e69a73ba79c2186a4a437e9c2ec2", "comfyui-denoisechooser": "57b8a372e9291e050c725b987ae1722f11b93143", - "comfyui-deploy": "98c1aca606b18ec945baabc820a436583cee4e6a", + "comfyui-deploy": "0ad7b8eae61030cb38c3a74db73893953f28303d", "comfyui-depth-visualization": "a9e20b77646fd8f69d19e9efeca3a42f24bfc862", "comfyui-depthanythingv2": "553187872eeb1d52e50dc53209fa57e569609a72", "comfyui-depthcrafter-nodes": "f469414d48cd0393ed43ae47af692009ca071706", @@ -2480,7 +2476,7 @@ "comfyui-dn-voxcpm": "3b12d328711bd0b12a935b505d898e36de7acade", "comfyui-docres": "a5f68ae4fde79d6e6598c40dd8769b36c843e5bc", "comfyui-doctor": "4963fc97e88bbd038f80d667477f39a02630fcfd", - "comfyui-dogma-nodes": "0abaad9969419fd862b9945bf1a33a31324c27a7", + "comfyui-dogma-nodes": "9814f66aa7f136c0a984fb9b58c14714b0018f0f", "comfyui-donut-local-automation": "c55b510cda729742c4e3314e884efb0343675afb", "comfyui-doomflux-nodes": "4522a46cc33f5893415783fb40c1b32e91907071", "comfyui-dots.tts": "aa3d5080a7cd1c876a3a23b5c7e6d3e5093bfbdb", @@ -2490,7 +2486,7 @@ "comfyui-downloader": "d42c9cfdc749a48bba24618a0bfd64e470712ddb", "comfyui-draftsman": "43dd894dbead826fdac3c81b24ffc118e9271a97", "comfyui-drag-ghost": "faf2d611eefadcc9dc0707a63173b690d500e961", - "comfyui-drama3-t8": "32be10388d6d006c70672842b741e3df36b1839c", + "comfyui-drama3-t8": "69104acf9d85149b0a513d288e6975ec224d8e25", "comfyui-dramabox": "715fcb11cc14d8c185438e2319b52fc00163941c", "comfyui-drawthingswrapper": "2eda3a06a07ae223efa31141198f4bb39d5d4821", "comfyui-dream-interpreter": "0e12f6b133dab036f1ab63377fc439d20ab6657c", @@ -2500,8 +2496,8 @@ "comfyui-dreambait-nodes": "8c31e84c10be98ae94983ec8671ca87749b0eda3", "comfyui-drivesend-node": "4f85fcadfae1dfcb183452760d10b323b72ad7e7", "comfyui-drmn": "83a3c7254c33effd06482651ea39a141024df5dc", - "comfyui-dropdown-switch": "1dc5fef21d742e032588f6a1bb26b5a24ab77c7d", - "comfyui-droplet-commander": "aeec22560fd57601fcd04532548c825776325c70", + "comfyui-dropdown-switch": "b648d894c86c81dd691776470bd623a82b76682c", + "comfyui-droplet-commander": "157acd56b15e4a78cb346cc3427c9c73c37a3244", "comfyui-dropsend-node": "701fab766aea9185be8180d682a045fb21456349", "comfyui-dynamic-routes": "bc67c8cdcb14bfa7e713a607d6f12a9941668875", "comfyui-dynamic-selector": "be852d383df852297a030fbcb09e3c8c3df3cfaf", @@ -2555,7 +2551,7 @@ "comfyui-eric-semantic-search": "0127126bf81a7fc27cdd4c9e40197ad4f9788e68", "comfyui-eric-unipic3": "ec8eaac15155e6984f7a2ea01a59c57d6e2cfb1b", "comfyui-eric-visual-research": "cd9d18550f8f9311e720b52e556bafca46def3ad", - "comfyui-erics-prompt-enhancers": "0c07d6bdc7cd06db1fe32a82ebd731b37db2e66a", + "comfyui-erics-prompt-enhancers": "373ea8bda3ea0bea69cd1761c75d992784cbc093", "comfyui-et_dynamicprompts": "22609d26da053e5973310fa0de1df58c80d0ac73", "comfyui-et_infoutils": "a77910be9fb1127e58dce5bfbd18332481f8a2b9", "comfyui-et_stringutils": "4ce8aeb37bc987c6228a17dbdd46c3bab630d7f9", @@ -2596,13 +2592,12 @@ "comfyui-faster-whisper": "a8f39d5ae4cd160ba1ec429492025a75a8422928", "comfyui-fasth3patcher": "febbfba2800bd84930788b0a1a02382022cad082", "comfyui-fasttool": "300aceae40826734b3b371975903d3aa15d169d4", - "comfyui-fastvideopreview": "ba00e18f85b0de4d8f1bc1570c10d6973693370b", "comfyui-fatmex-nodes": "38f735ed1ed7169fe094e8be257016bddc4265d2", "comfyui-fb-utils": "12876686c9d657ab17b1edcf0345bd59f0c9f1bb", "comfyui-fbcnn": "c737c933f88a62eb7dc6fbb4f97d5aa4ab1c8bb4", - "comfyui-fbnodes": "3246735468f9a7b718070fd81422fad018ebc649", + "comfyui-fbnodes": "51403b54573b07a162f2d588f98cfe4f587df6d7", "comfyui-fd-tagger": "d44465abeab2251fa8dd81eccfbe4e1cefd74dba", - "comfyui-feihou-easy-h3": "81be41fe32758f545c18d4a1e4b8ef30c162e01a", + "comfyui-feihou-easy-h3": "a9ee63b94108e012cfca2a39ac5da0aca5863a29", "comfyui-feihou-wananimate2-plus": "b7d03259bd66ae08b2c8896e62c5d63ff34518ad", "comfyui-feynobg": "1841ac439933043677d824819ed15e6ccb291d75", "comfyui-ffmpega": "da3f2372361ead3d0a82d215e8b9d43e7e5362b2", @@ -2610,7 +2605,7 @@ "comfyui-fibo2": "93e1ae55538219eb4aa9f2c9ca76f6bb9463f768", "comfyui-field": "6e1467ba15c8088c6e01bfbebb8500da85d20c79", "comfyui-filemanaty": "19fc0fe88608fa5a97775322e9d472b905180fd4", - "comfyui-filename-prefix": "bdfa152ccb1b524d052603a2701faf2ec145f6b9", + "comfyui-filename-prefix": "a36c4ec40aef650f4986913eb3802b8d35b091db", "comfyui-filename-tools": "b2a69968db6726bcae1140696d633ce9e532499f", "comfyui-filepathcreator": "92b42118d8f3c023ff34799792a046536c67c82f", "comfyui-fill-image-for-outpainting": "4c21e317c04b2e87fe3c2f9c2fcbae94be250b80", @@ -2633,7 +2628,7 @@ "comfyui-fl-ui-addons": "ca3db2e7cfec6bb6a504fb775a8d6559647bb143", "comfyui-fl-voxtral-tts": "05f133d331ad27d179ab8058fe4df5194b80c7b9", "comfyui-fl-yue2": "aa66e121798698f04e82f7dab7e50707968ec37c", - "comfyui-flakes": "c59f59e8047fd25b8e748f57f32aa964c698ea47", + "comfyui-flakes": "4a12adb41badacef1bcc68314ed94a1f079015c6", "comfyui-flamin-galah": "22e8f71c2ceb93bcdfb662eb74879a04b2076882", "comfyui-flashvsr-stock": "c4855c12ab91b5947568076cd24a51dcc20493a4", "comfyui-flex-attention": "852153e547d65ea6b5b321c9e8b560e25abe0ef8", @@ -2663,6 +2658,7 @@ "comfyui-for-chatterbox": "ec2e9afdc54ce755a2f80e94d46dec8bf69839cb", "comfyui-forgeneo-bridge": "95d189e464246ef6bf05d5302a339752844f9069", "comfyui-foxpack": "eeaa19232ffa281b2aefe90c42a78e6fa7e857c9", + "comfyui-fp32-toolkit": "a47042813ee6bbc48d0584ad0a0f25fdc234d4f6", "comfyui-frame-interpolation": "26545cc2dd95bc3d27f056016300673bdeee78f5", "comfyui-frame-step": "3ce951c4b0ed7ff778a30505040bd5327842ea38", "comfyui-frameaudit": "77ad84b49064d1f7b79a60b9ab5ec93f35eef389", @@ -2675,7 +2671,7 @@ "comfyui-furrey-turnaroundsplitter": "535bcab2ba2441c1d6f1c9ebd06fd43e7ce0242d", "comfyui-futurewarningignore": "e3a562ee3231817b18ed0992814a6840a3a54770", "comfyui-g-workflows": "d6c0ea6cfe0be64693146dd97fde1535d4fe9911", - "comfyui-gallery-loader": "e36aa7946b4d2ea39320df91871d0a2cf7bac419", + "comfyui-gallery-loader": "bda772adc2bac4dca1e53b86e339011147c5dfbc", "comfyui-gamedev": "b414b8cdc5c58bfeefb31e553d6a88f75825ac51", "comfyui-gapfiller": "ecf58b8c65ce94338323b0385ee57f148f760d79", "comfyui-gb-player": "9a34730f17fa63a71278b6ca41f5c145e968e379", @@ -2687,17 +2683,17 @@ "comfyui-gemini-ownkey": "6d967bba4e25d4c7d9499dd32907321de546d9ed", "comfyui-geminiweb": "057435dfe6da546477ea360bbd3f8c4361005789", "comfyui-gemma4-referenceprompt": "328dba001bb58fe44c39a5af38cc39df3e877a9a", - "comfyui-gen13": "95553b7728e49fff6df63a94bba6bd62e8e7c5aa", + "comfyui-gen13": "13616bcb42cbc25f4d6592c41f8f10bde945e74c", "comfyui-generator-pack": "61fe9e62afaee1b7fd61ebac736020ef0d7e017e", "comfyui-genshin-start": "3c69ce159b02b71b6a0dad10e9cff154d733d4e4", "comfyui-geometrypack": "1cbd14431bc88df27e5368f3e375b6bafd09006e", "comfyui-gerrynodes": "09f1da1ac7df910ddc2d59dc8e221a7ae817019a", "comfyui-get-meta": "7cf912d2804d037c9f2a6a679a8b16a6e6d9f845", "comfyui-get-random-file": "8f2c9f881643091de1f6ae9c4376184cc18b7538", - "comfyui-gg-krea2": "94c7e24481a9e76b8287a2deda5c3939aad89316", + "comfyui-gg-krea2": "46b2e1a13210ff22b29ed1f5223c4f7e9cb04d19", "comfyui-gg-tools": "d99e3afabdd64eabe0542030344ba6aeae54bc5f", "comfyui-gguf-loader": "109a281b1a49570cb708f8543efea6383baba40a", - "comfyui-gguf-reboot": "61843db580f8549a85b0a1ed850d550079fadfee", + "comfyui-gguf-reboot": "da5f435cd9a9e54ad27eed417ed72b1f2543ef41", "comfyui-gigaam": "a520bb746f1beb0d1945aa1fe50c9a8b9374a716", "comfyui-gigachad": "282a79075d958674c7df3627317fefa84519cdac", "comfyui-gimp-nodes": "79d9abe5ae232dec6c87eb831cf8ff50f9508909", @@ -2712,7 +2708,8 @@ "comfyui-google-storage": "95a235cd1eb7732fa9a1467c449026a8dcda9b0b", "comfyui-google-translate-plus": "3fcb37ffc26a3a2e4fbed7e20aee9d1617ecffd8", "comfyui-googletrans": "d8dfe74817c70fa72ebdeccf4478992363b55654", - "comfyui-gori-custom-nodes": "cc32ce917bcb35017490538a54b96b71a5aaab73", + "comfyui-gori-custom-nodes": "e9a7b0d83e2994b6977e0641f513d81d7463b7cd", + "comfyui-goudan-autoqueue": "de44436739d34021fe47c26a6466babf8e72f3c2", "comfyui-gpeno": "afcd19c586588e4a863975c1fe3b8f6308912746", "comfyui-gprompts": "84ddb1abd557668c23f4e757763f023b41300173", "comfyui-gpt-image": "77b621c871059df2613eafc64130f05a23882a1f", @@ -2751,13 +2748,15 @@ "comfyui-h3-temporal-sampler": "29554a7dd3277b464dd4264196b1e9d93fc1c7de", "comfyui-h3-upgrade-kit": "a630a471edb801e9a5ebf59a0a1008cd6400c365", "comfyui-h3mc-distributed": "a2748fc00a9f9268a3289abbc45731b75486b5c7", + "comfyui-h3md-director": "dec3e9aaec3115a4c8198926b6a2f77debfee703", "comfyui-h3studio": "85c557a8f0a2642804f6323499ca77a66a02a6fc", "comfyui-h4-live": "7d7fc57364fc513370a6bfac2f630d4dc6920ba0", "comfyui-hakuimg": "4f319e6dcfedb403738462ff56cf8c3ea9239e74", - "comfyui-hand-tie-clips": "a5e40ac96d0931f61ad4a2f722db03640c6e1350", + "comfyui-hand-tie-clips": "63043fd2cf7ce837189bd9696ba73806f275fb9d", "comfyui-hb-party": "bf6ec00e7f1c280f65d97ae521d6197112afc3a0", "comfyui-hdr-video-save": "18753ea1834ebfef9a2813b47e99026caba1df21", "comfyui-healthcheck": "5794c85e03d95c55ddc7f81930c48ef7e33e86e4", + "comfyui-helm": "e332ce8b5425ee7e8e24e9e6611ca6bd48684a92", "comfyui-henge": "95a928479c5a4e358a06d9af67ef1ce3052d6e96", "comfyui-henjicc": "0a1d8cae6b7412326173b5840985f5bb638474fd", "comfyui-hermes-nodes": "950306092d7f8017b985d0ca7d91beddb6642c9d", @@ -2774,6 +2773,7 @@ "comfyui-hmt-ultimate": "94d76a2d68b4e9dc6b4a65767f490154ceb8b264", "comfyui-holdcounter": "d4cf25f19a89c936d64bbbe472d22b14697b1a75", "comfyui-hollow-preserve": "f99e9d507a0598631c362f370d406a5bda638829", + "comfyui-hotbox": "4a2ad947f96c943a0a76faeadb274ec6ebff56fd", "comfyui-hotcut": "7446b52b29400b017e0c3861b92542be34f5ab4b", "comfyui-hotswitches": "f7c2f49e3299e3e4dd4680747e1e5c15e67f237a", "comfyui-hpsv3": "41599a0d1547070dcf1897530aaf55dd189fe5dd", @@ -2781,11 +2781,12 @@ "comfyui-html": "eca7177f48fb7abf8b4e74565a14925ca98c4279", "comfyui-html2image": "34c3cc47ad80c6013ab1139902169509f5210f88", "comfyui-http": "b1d7866404f22f14929a867c048640d4d936feaa", + "comfyui-hubris": "8786efcbf58406cc17d3ff6ac3fa2a7dd1d390af", "comfyui-hunyuan3d-part": "b9b151be6e30a0c4186d97b35475dd14c73c8153", "comfyui-hunyuan3dwrapper": "2609efa38f6a98292476f714839b7c1e5f9b699a", "comfyui-hunyuanvideowrapper": "fcbd6729a9b0b8ff6037c598bbada4a6bdc6d967", "comfyui-hwp-nodes": "25707c8ccd493cdbdcd850fab137c2a06da73738", - "comfyui-hydralora": "b71aaa1a5fdb5b0bc64f8102919675557e24eebb", + "comfyui-hydralora": "80bb512910a8f4451367e87dcf754baf6ab46785", "comfyui-hypano2": "6770117363096b90aff108da87ce9dd524667d55", "comfyui-hyperflow": "6ec22a6910c9035c6bbbc04296d8f19f7d61db36", "comfyui-hyperflow-h3": "99778905b0074a622af7ba45901d31b28bca5d53", @@ -2796,7 +2797,7 @@ "comfyui-ic-light-native": "40883a839d2a719ad3d3a454700609b94b1a9c65", "comfyui-ic-light-video": "b71616aaa8dc1eafb3f36f4880856677a7924cfa", "comfyui-icc-nodes": "98352b8ac9196636714c007b473bcd4029b17e09", - "comfyui-identity-forge": "a0d5c84d57b9797da6b7a60f7beaa9289b617a99", + "comfyui-identity-forge": "15551de6bd0c97fc3dbd84f55e9e8cef475931c4", "comfyui-ideogram-autoprompter": "b45ccdd9997039a40f081ebeff0c910ee9220a66", "comfyui-ideogram-palette-and-prompt-tools": "79a8de97e15936a28c66d74930a7f9bc36851e1c", "comfyui-ideogram4-quad-storyboard": "f935b11bd6c0ec7629b596966bb230636d33fd92", @@ -2804,6 +2805,7 @@ "comfyui-ideogramhelper": "14b785eee6d590eaf574001042bd43cce90c1a97", "comfyui-idle-free": "8519efe259db653c6cdb39b3e2f29965a2820927", "comfyui-idm-vton": "5a8334c58c390381e31a8023cb7ba398ade40b39", + "comfyui-idol": "59ed4b43f0d04a2c8bac689f99e51901dd7c2329", "comfyui-if_ai_dreamtalk": "3f4a56c4e44e2ad6c1b035b9ede29bdd96e6e3d4", "comfyui-if_ai_hfdownloadernode": "cc1b8313051523f69a8b032c55ed22e909444155", "comfyui-if_ai_parlerttsnode": "97882397ce4d49a2b02ab16a3a67cdf189c2b081", @@ -2863,18 +2865,19 @@ "comfyui-imgslider": "173196e1003c3266ff73246ed5943a7d20b6217e", "comfyui-imgutils": "f88cd73d17a549281dce4149da0d47c7e09ab870", "comfyui-immich": "616bf61d9d4b00a0ac3de309c3d344ff979b8ef0", - "comfyui-impact-pack": "d59dc2f4c4dc82f443f63722bd6d2db0835c7358", + "comfyui-impact-pack": "244e93ef9883aaf241d5d0e54ebb57e3b2e840d3", "comfyui-impact-subpack": "50c7b71a6a224734cc9b21963c6d1926816a97f1", "comfyui-in-context-lora-utils": "ede1f33f5889f9f6d5bcb3cc54a5904869f31a41", "comfyui-in-memory-nodes": "fde751e516cdfd87bc25c8b38a8cc5a7631b14be", "comfyui-indextts2": "1e99f5f96fa33980251801a2d5a1e11e87336ebc", + "comfyui-infinite-image-browsing": "cb01c5ec02b7f22f3c408d5bea065f0eb9e6ac44", "comfyui-inout": "8e5676d89f046e8c28cbe7f2548f4abdaf86ca35", "comfyui-inpaint-cropandstitch": "6005efc02f7745649118edd89cdd084c2b9bd3ae", "comfyui-inpaint-nodes": "5b7681746fe19e563113d27366ba85236bc1ba5b", "comfyui-inpaint-region-editor": "d9e2d7d698fe1c3c70f6b5cf60aa32d37e6aac92", "comfyui-inpaintcanvas": "4e7bd24520a167198295b8475fba78b649d191d4", "comfyui-inpainteasy": "d631a03dea2397db27042f5e9ec34fce34b2cfb6", - "comfyui-input-thumbnails": "aacb2c595309fe39b94dd2b5a07e3ae8c0ca3cf4", + "comfyui-input-thumbnails": "5b3e55b1c46ca7a2e3618c6b4f3e6e3281a0a78c", "comfyui-inspire-pack": "d23db9aa544de9a6d4c609cb7005fa9e0d42031d", "comfyui-inspyrenet-rembg": "87ac452ef1182e8f35f59b04010158d74dcefd06", "comfyui-instant-reference": "183ca3b250b7742e7b25a11475643721e0fb1ee6", @@ -2882,7 +2885,7 @@ "comfyui-instantx-ipadapter-sd3": "9f9a9a8a428857a98d3e02f18d1ecc6ee9f671d0", "comfyui-int8-fast-fork": "7bdbde715c05adfc3681ac26db494e5f4ad664bc", "comfyui-interactive": "fb1ef21c8cfd48fd81afae4c97dfc2411f075185", - "comfyui-intothelatent-utils": "db94e257882da8f5bc4bffe75a93ab443c4f90d5", + "comfyui-intothelatent-utils": "80a7068d9c7a5f9f7d9dbe7fde791e99db392e3b", "comfyui-iris": "4f911f9b232f7a7d973b516548daebeb7ba3b32a", "comfyui-iterator": "a61216bda4e99fa4ab3f7ea26756b8a1948d6bb8", "comfyui-itools": "a8f2fef227ca5b0cb9321c39ac7b874a906b1a5b", @@ -2910,7 +2913,7 @@ "comfyui-json-dynamic": "5d202152063fbf4c8666fac0d9e0d1b9a4706127", "comfyui-just-nodes": "0ebb208432a0a4596c19e81d9097a24374418cd2", "comfyui-jz": "78ed43c1398884638d826a6451dce23793f6ee00", - "comfyui-jzl-minimax-h3": "66b8550e37783c0745e672cf43de7f28b7265224", + "comfyui-jzl-minimax-h3": "6096bd87896828b0ffa1d85a4e6b7d51c96559d9", "comfyui-kandinsky22": "1ca461f00233d60ac032cc869fe4150763506711", "comfyui-kaola-ace-step": "cb0d0fc6723864201020624931d9cbb2ff0cbc66", "comfyui-kaola-heartmula": "839ed73b31ab18b27ecdf60e8732b3ed31d85056", @@ -2940,8 +2943,9 @@ "comfyui-kolors-mz": "43ec2701a1390259a17ef3bea6244a3134aa5153", "comfyui-kotari": "6becce730ec609663013294a045631d77328eb08", "comfyui-kotodama": "0784af535c9f466e8399570a289fd5abe4132331", + "comfyui-krea-api": "86a232688db6963bb5809f417f06d0c1a561d1bf", "comfyui-krea-moodboards": "ce9b2fd7f0a5a296fb02492ad8e0e6c8b44923ba", - "comfyui-krea-reference": "06089c01f2496e7e839f9506e0c2d7f4414a6c4e", + "comfyui-krea-reference": "203ac5dc30c33e8826dcfd0001d9fe6899e57423", "comfyui-krea2-conditioning": "729cda4fade982988a375b01928f515458407a5c", "comfyui-krea2-edit-carousel": "a5c3eff64e9740e9ffc38ba0b7775961fa618614", "comfyui-krea2-merge": "11850e88b3a72e5d0d8d20b764e25a08bb1416f1", @@ -2951,7 +2955,7 @@ "comfyui-krea2blockswap": "ee25485bb85f600af48d84a9369bbf72669607bf", "comfyui-krea2edit": "13ef60f20828949becada815d3cbc371eb5ccaab", "comfyui-kreareason": "196b8993e62bfc3450178b2051805f8ddbd366d1", - "comfyui-kubanodes": "327759f1829dbc47854fbaef070880c1d177b1fe", + "comfyui-kubanodes": "fb7f0eefdf665e7d0e3da2b417d12ae42e57df33", "comfyui-kwaikolorswrapper": "6fc1cd9d20bb7537facf180e5494b486b9710e24", "comfyui-kynode": "648e65634c55e9d224e2d183d3f2d6d3bd5bd878", "comfyui-labnana": "b3d2989eef0d072768d4c17f5818a2e7f1dce612", @@ -3028,7 +3032,7 @@ "comfyui-local-gguf-llm": "3ce58d99ad4529714268252e8c793702c4891435", "comfyui-locateanything": "9f240e3036336c457394d6bc5d963be52b27dbd9", "comfyui-lock-mode": "871c4ffc86ee57d08c44d17d9c8ef84f816e5344", - "comfyui-logblaster": "665ee9769a59d7003de1ba3fd6f92f5cb0c6707f", + "comfyui-logblaster": "56fe444e6099d6225a624bdf1103ba66954f0de2", "comfyui-logic": "214cfba933291be224156d37bc30c25742076b44", "comfyui-logic-nodes": "c26a73597cbc6f680fc30db5349f812bbbefb082", "comfyui-logicutils": "f77c699543b8f9977b24581af66ad026d340b663", @@ -3041,7 +3045,7 @@ "comfyui-lora-backup": "badc3907c081558ad81f52f9901bd4254f0fa6b9", "comfyui-lora-control": "3f2fd8003289b7c416f2b7cb228f599dc094fd57", "comfyui-lora-helpers": "e2f0394311a923ee72475a5d2277f32493c3a67b", - "comfyui-lora-manager": "7670b31296d27d67330a1ccc6393d97162eb7ee2", + "comfyui-lora-manager": "3b639077be311537f85b28109aaef1504459fa71", "comfyui-lora-optimizer": "28ec4e746e9fea2b4caaf45db1c4f86973daea79", "comfyui-lora-pipeline": "9bc4c9a3c8481d8ffe19dc9d2541b5b190c57831", "comfyui-lora-preview": "8ee0b7c9b9e2094c17037988eef59767f8f0b35b", @@ -3054,7 +3058,7 @@ "comfyui-lora-weight-auto-optimization": "6b0f70c9159f2f4996faa2ffaeb7a80ebfbba935", "comfyui-lorablocksweep": "36a3103a205cc1751362944d3d3d8ee0915b1bc6", "comfyui-lorablockweight": "36a3103a205cc1751362944d3d3d8ee0915b1bc6", - "comfyui-lorastackautotriggers": "3158fd81d71dc1ac04d8b8053d2fe2d6d49ce2a3", + "comfyui-lorastackautotriggers": "a56ff9846eaca273931b3de393be2a08a49d8a37", "comfyui-louis-use": "26cd3f8b5981f14f2fa9d05a9f8049c27da105ea", "comfyui-lrw-nodes": "b5b24e317f444d2e19ea2fc74dcec26b3786e42c", "comfyui-ltx2-mlx": "d38b63abfffc32520cb31dd8b8471ba7bba52991", @@ -3064,21 +3068,21 @@ "comfyui-lumi-batcher": "0f63d03ee24629a1c63c3252b70971b549d1c289", "comfyui-lumi-tools": "f7f5e5da0a0c3ec84144379e0c93c7e7cb6b080f", "comfyui-luminawrapper": "1086e2894af742c7a70f573aababc749816e9e3e", - "comfyui-lyonir-studio": "71a39f327892b61d708ffccdc8cadac94b8f51fa", + "comfyui-lyonir-studio": "5451833e1365bc4d1d9fa8b52be4b6beda0f5d0b", "comfyui-lyrebird": "92a9f3cc09c294e78f8282afe08173652d514c05", "comfyui-m8-nodes": "ecd6081111f17dff494a1dc953591c958aab7a45", "comfyui-machinepainting-nodes": "ec494703b492f72b7acf19d884b976476acb8f1a", "comfyui-maelstrom-tools": "d8ce0597739a3c9b8108b363f0740f5395696d7d", - "comfyui-mage": "32acfa5e6b46c2748e6ddd93b011b5babf2892b0", + "comfyui-mage": "8b17a6c9323a9e54ffdd38dd4eaa4da3072fb8e6", "comfyui-magic-clothing": "31ab502de59f9412955269588e9681c20c112994", "comfyui-magic-hour": "3fb3d7d0de6b6664920b27a297bd9cf7f98548f3", "comfyui-magickwand": "f1c51cbf96b49a4f883a49d73cb135a79b515a2f", "comfyui-magnifyglass": "f4f55f8ad09156a7fb258991cc5a2301f4b3c1e1", - "comfyui-mainodes": "f4868b4a08e8a504ce86db54a17961d399ffa2bc", + "comfyui-mainodes": "4cc929d195187fdfd324a20efe468f6286fca299", "comfyui-majoor-h3-guidemaster": "866d04c957999602bc756370d11492979f0ad776", - "comfyui-majordomo": "92900662497198c3b67a0dec13886af0af853242", + "comfyui-majordomo": "7b3e835ee6c35cbea3e19d650ae3cead78ce2831", "comfyui-makeseamlesstexture": "1e4972a455718a831b4b1ad458186646dadb1354", - "comfyui-manager": "8afdee041650a18e7b66b88a06668c7b684d7c6f", + "comfyui-manager": "4e4077b0a557d2dbde36b6d5dd30f6dee9f0f641", "comfyui-mangascreen": "04c6867f8672d2de82c249076d8155f499e9aeb2", "comfyui-mango-random": "ee8cb539a1ff6b0ff337a4aaaa8e274fdd70fb67", "comfyui-mape-helpers": "ca61205c68cbed47d09e5f1684657c6e9c70844c", @@ -3100,7 +3104,7 @@ "comfyui-mdnotes": "80c503631f15229c5a0437fe6eb244b4b98b9037", "comfyui-mdsnodes": "d8b6836ddbda55c211d472c69f8fc38dbb9e9c6d", "comfyui-mediabrowser": "4597af9e77fd78bb8cea13e81045501ae0bc22b0", - "comfyui-mediaforge": "99beb7cf4960b8c37a8256b347a58c2fbb557f71", + "comfyui-mediaforge": "ca9bbc26ddba489a1b9bcf67dcae51a623ae2ef1", "comfyui-megapotato": "07d3429d0a30458b2d0f0f4a3cfa71d9a46bf00d", "comfyui-meld": "c422033bfbd85eb100b98ba4e66c7f0e190c76f2", "comfyui-mememizator": "77bd063890ae7f1f2ef9b5caf7ebab7cf382655a", @@ -3116,7 +3120,7 @@ "comfyui-midjourney-direct": "33d702a8be00da46e53366a10bc5d2b5f8459313", "comfyui-mimicmotionwrapper": "89d0ed551dbb1e0a14e89a01d42a39e9ed755d9c", "comfyui-minds": "f41de1438adbbec8e4459dbfe3983ede9506896a", - "comfyui-ming-3-tts": "1e972485e008973c48dd83ea26747508aabce6ba", + "comfyui-ming-3-tts": "1b154ead25d22bea6457f79cee26ed80afb45052", "comfyui-minicpm-plus": "114fc38e6fa28d74a40c4cf5a08c32b36a648a2b", "comfyui-minimal-prometheus-exporter": "90740d68ed8b1d64ad923ba95a1ae40f84c4a602", "comfyui-minimap": "dad932d8affcf341e0cbed28fb6b9f1c9e83a043", @@ -3132,7 +3136,7 @@ "comfyui-minimax-h3-raven-streaming": "bcfa38138ddf1a5041af9880760815874138d4e1", "comfyui-minimax-h3-refdelta-solver": "034e4c4c14c56bf76813cee4765e7164b0c7e0db", "comfyui-minimax-h3-studio": "8e106b3400bc090cfbb4b385a3b3bda2abf3e145", - "comfyui-minimax-h3-temporal-window-spatial-tiles": "63729a3372481903261d87be1f6602023505d4f1", + "comfyui-minimax-h3-temporal-window-spatial-tiles": "21f22aad86e6bcebdb997e2445fd1751b3373f45", "comfyui-minimax-h3-timeline-director": "b80ea45a2fbec1105a7de6868fb1747308bf470c", "comfyui-minimax-h3-turbo": "4274783a23afcfdbea3b4876cb79effd6c510785", "comfyui-minimax-music-production-toolkit": "3d3d08796f3ad814eaf6251dcf4cb2fe53062e8a", @@ -3141,11 +3145,12 @@ "comfyui-minimaxh3-contex-loop": "43afeffcc570beb5f7382593e79e4b211c7e02f6", "comfyui-minimaxh3-easy": "4b496eedeff944b2f1266c8c92df1b6c89758de0", "comfyui-minimaxh3-flowdirector": "dccad86be8df93799649db182367f5ed56245107", - "comfyui-minimaxh3-prefixstream": "cfdc177ee491580950a87750ff48c5cce5a17611", + "comfyui-minimaxh3-prefixstream": "775be9090ec0796d56db7a0fcbdd63d329395828", "comfyui-minimaxh3-qwenprompt": "4bfc13a46a692ca9d8e28d61d32b515917923560", "comfyui-minimaxh3-timed-references": "da5a88593817435b6d7102ba901571216e2ad6fb", "comfyui-minimaxh3reflora": "5c914fbb9ca091421abf3a8ff7e59e48787d8571", "comfyui-minimaxrefpack": "7012734eabf6f98063d6eaf8ce1f9264ee803664", + "comfyui-miris": "f9d0c2a47e1fabe151eec4effc8cd8c4446ed4b9", "comfyui-mirror": "5c5578c6a1912e13568bbfa7639b925d70415e98", "comfyui-missing-tool": "4d450bfa3f5bef1a32c3659c572615e5897f54b5", "comfyui-mistralai-api": "7ed6387ffbbd05f918be61f9a097a65ef6b3d724", @@ -3163,12 +3168,12 @@ "comfyui-model-diff-to-lora": "8957fd812cf4922f9808ac7f6a399d1dbe5634d4", "comfyui-model-downloader": "c48061e234cb5bf0e17d82a88e546c049f8fa441", "comfyui-model-dynamic-loader": "dfe679794090e4436f55deeda27f6039b40534cd", - "comfyui-model-gallery": "391b8bfa1d094857934098ab0bca1c75be767206", - "comfyui-model-hub": "928c854cb00e9ba9b30bef47eb73a4d8be20b327", - "comfyui-model-librarian": "395d8b8d4381eee861a0d9d1bbe04f70cb44dd0d", + "comfyui-model-gallery": "74a7d167a67a63699b58c7344b0f58d825f66ae7", + "comfyui-model-hub": "d4d68262b8ed7b3b3dd488acd3350e0e7fb1db74", + "comfyui-model-librarian": "8e87bec68f593e540963776adbf8f55df56ddc35", "comfyui-model-linker": "c2ecd18ab33fac0e15bc38f6efce09f0620df4e9", "comfyui-model-manager": "2d8558b68cae3a3212ac688f22d1f3284722cd9d", - "comfyui-model-manager-neo": "2dcf9e4b274ed0902503b34bb0e347645f089a30", + "comfyui-model-manager-neo": "46c3019e0065447b74a97d5409c560bac9526705", "comfyui-model-merge-cosmos-predict-2-2b-slerp": "9926382f8385bef4a40213903ec780ee59049696", "comfyui-model-mover": "5cc88e92a08be8c0260b7e225f0b9ed22382dd50", "comfyui-modelbrowser": "7b609d3e97a81c13e096220b8e60d71d3037b0c1", @@ -3177,7 +3182,7 @@ "comfyui-modelresolver": "b1477eb047aa948cf87064fe0cb3769767050a9b", "comfyui-modelrouter": "0e46f54ad8437ef5e070f17f3a84ba491886eb1d", "comfyui-modelsamplingsd3advanced": "fc63c23c698c37ba99a7054f5366724d85b8ef57", - "comfyui-modelscope": "39775b186dcf4a90d774e3659c45b0a5cec8fc6d", + "comfyui-modelscope": "362d1e538acb3628aaf5b8693a7f21c51aebf77e", "comfyui-modelsite": "fc7327984ce25b6cc7ba1c1f23659f12f88dc7df", "comfyui-mojen-nodeset": "ce8a1219b9459be27de9a3ff3478a74fe926cefc", "comfyui-molmo": "813673d1b1cd3b059e3a2ae03ab82a86ff24a34d", @@ -3190,13 +3195,17 @@ "comfyui-mosaic-mask": "7871eb8cc512c63e6c6afaf465483b08f062ef52", "comfyui-mosaica": "e739e8f77f870e7a5e41b26fb355639227ee689d", "comfyui-moss-Image": "d129f13271d3cb7f87dd6a041814b173c61b078b", - "comfyui-moss-i2i": "53ee3b30f97b592ca2c91acc582605d73af8f74e", + "comfyui-moss-card-layout": "54dae214cc411aff6fc3023ae73ae7e0b80c7881", + "comfyui-moss-emphasis": "d296d7a04afea3c46e997d3fd665e9e0923bee58", + "comfyui-moss-i2i": "6fb71983e70b4f55ef90881926fc34f4425772d5", "comfyui-moss-image-ostris-edit": "8f9b50c0d2b28248ecd48a4d4905c815e726f146", "comfyui-moss-image-studio-lite-satodive": "2d4eea7a0fa985c0ce7d23d5d9ab898b1ebb1cf9", "comfyui-moss-layout-ui": "4d3c668935e9314b6f5d3b0b2c09a30e7d050917", - "comfyui-moss-qwenvl-layout": "6557615c743d45908f43cebbd16def565501187e", - "comfyui-moss-toolkit": "53ee3b30f97b592ca2c91acc582605d73af8f74e", + "comfyui-moss-qwenvl-layout": "121395809f5116bcbee0360198741bf3acb20634", + "comfyui-moss-shift-scheduler": "c59be6d361fb7bf2494c2c5ce1e66f7c32874ae6", + "comfyui-moss-toolkit": "6fb71983e70b4f55ef90881926fc34f4425772d5", "comfyui-moss-transcribe-diarize-t8": "b8f7d4dc534625dd3a691829eb869bdcce9b3ed6", + "comfyui-moss-tts": "2611ac735e5905764053559d5adc51b9c043c1aa", "comfyui-mossdype": "788e4df14e95f76bcfbc0d47ea8d2cc6eddd1383", "comfyui-motioncapture": "09e90d86ec0eb9bca1edba17673231490380957a", "comfyui-motiondiff": "76fbdaa44330b1d45ec4f60251ca1f69474edf68", @@ -3221,6 +3230,7 @@ "comfyui-mzmaxam": "7efad59c202454bb9904a7dd5377ac2c80f236fc", "comfyui-n-nodes": "76e02e80e3bdbce58ed4ceb330089cfc00d4aefb", "comfyui-n-sidebar": "bddcfb6dc7b7932919bc4ae0ae97ca48de15f6e6", + "comfyui-nafnet-plus": "e303e6a1b575481bb9926525fbf29b6c4f595200", "comfyui-nag": "059a87d5cfe9b058b43cb2493d447a7ccf411286", "comfyui-nag-delcado": "2355279d5049b62fda5811448fc83fefeee0c8a5", "comfyui-nag-extended": "d31ebdac5555847e387dac2ae50d78129401ece5", @@ -3232,13 +3242,13 @@ "comfyui-negativewildcardsprocessor": "6300e076ffd280443d67993f592dddffeae95cb2", "comfyui-negpip-zimage": "ac56196d1caafe5f285b92582b186746d71d3675", "comfyui-negpippromptmerge": "f03e919d227c83dcc3f9fe25191e61dcbff7c4c6", - "comfyui-neo-nodes": "4b2f0ad008083455641fc40ac9972ddd2fab296c", + "comfyui-neo-nodes": "602a48e1134850ece09f71bf4abcab2f267812c4", "comfyui-neo-sampler": "925257cf3a97ea203d30d37fb24b3657721c986a", - "comfyui-neo-studio": "4b2f0ad008083455641fc40ac9972ddd2fab296c", + "comfyui-neo-studio": "602a48e1134850ece09f71bf4abcab2f267812c4", "comfyui-nettools": "5d2e785f3cd4e498b1ad892848ab0dacfbf925dd", "comfyui-neural-atelier": "cd00c9ca8066ae35f26a912b4eea7f14255f0c4e", "comfyui-neuralbooru": "e3376e5fcea10d38c52e8261f81f73fab6ef3352", - "comfyui-neuraldreamer-nodes": "b9a62b763b54838b3c4249253bb7bc9613b3a688", + "comfyui-neuraldreamer-nodes": "a60c64cf4013bd93aadf85e80882b0db6b67bc2e", "comfyui-nexus": "e5a34b749466095b9811db3127a33e9617799fea", "comfyui-nich-utils": "8c3dba9e0170c7f4bb704938309bdf8ff0cff6d6", "comfyui-nifty-nodes": "1985c2ace160ec00b6673c7b58e60015c96fe0a8", @@ -3246,15 +3256,15 @@ "comfyui-nikosis-preprocessors": "a1c28e7ecdd805b3c463898267163016a3c1d71e", "comfyui-ninode-utils": "a4ee8431959e612fd059bbe730d5db1edd8a6007", "comfyui-nk2e": "ea321e1603e019f90971c743adce17146756fdac", - "comfyui-nkd-basic-tools": "055b0784360dca77c1df049de2b9fc2115b0aeda", - "comfyui-nkd-klein-tools": "a9cc507b097dcff8891a594c4eac2d54dd6ccc1a", - "comfyui-nkd-notes": "d5bffd268c7f43049a3371952c01f304fc4ed6ec", - "comfyui-nkd-preview-tools": "2562b1a817f8565df7950fb7630204a9c443e526", - "comfyui-nkd-qwen-tools": "e09d1985d4a251da735bafc636b1c48132d40716", - "comfyui-nkd-radial-menu": "e39da6b5282a0530aa30ddbe3e010e09344e682f", - "comfyui-nkd-reroutes": "358241841274e91c65f1868b135ed06d3dc72e47", + "comfyui-nkd-basic-tools": "726d727217a15a469319731d9a17a66159435557", + "comfyui-nkd-klein-tools": "d467001115e66c775efb48045baf847b38b111b5", + "comfyui-nkd-notes": "1bc2d9692b55d251da02bc8658239d350bf84905", + "comfyui-nkd-preview-tools": "a4264a369e04496fd1d7b9d4e28a6b63846255ef", + "comfyui-nkd-qwen-tools": "a689bb86e0048cb4ee74dc539bf234ec5250b9c1", + "comfyui-nkd-radial-menu": "e610a7045f4bd20bf471c99daf9274bab5262608", + "comfyui-nkd-reroutes": "2620031f7ccccbce1896a9abe467d01f213c41b0", "comfyui-nkd-vfx-tools": "69c038121452eb54f11307d10f5f2d4101b1fe71", - "comfyui-nkxx": "7c0378bb09697eb3814b9d8a5f8c3e63e933fdfa", + "comfyui-nkxx": "f793788634c268c8de7a8053c25175e07184d15f", "comfyui-node-beautify": "2a1050a5603789f4649bded16fb71a54c2081f00", "comfyui-node-encrypt": "d3b2f083217a7defc19c76ef36948612a94b0a2b", "comfyui-node-organizer": "d0b18b147b3c576755e1cd7aca3204a85f312e2c", @@ -3285,7 +3295,7 @@ "comfyui-nuvu": "a88ce47b2d3c9122e19b330aa8a7b352e7b0b1df", "comfyui-nvidia-cmd": "dfa4348ab54ccdef1d1bce829acac8ae7a89a504", "comfyui-nynxz-experimental": "4a1d2beef59aa370a8d326ce03408ecd40b34866", - "comfyui-nynxz-nodes": "4335d8447cce0b6fe0f5732ca735b354cbe065f3", + "comfyui-nynxz-nodes": "fc4f961580e75331e19dce39cbff96a33c75a739", "comfyui-nynxz-zip-utils": "cded35409acee62687b13770a643046e97e5065c", "comfyui-obvpm": "baf0aa8f3cd220b1b882e91a7145e96d1af90300", "comfyui-obvpm-timeline": "068a97b4786daef8d67277fe323297fb86d54a3f", @@ -3293,7 +3303,7 @@ "comfyui-offload-models": "0e8a9e87a1d6d61edc7cb791d18c213929a47f98", "comfyui-oidn": "99ca28529dcda991ed650679ce713e8e347f4d2f", "comfyui-old-photo-restoration": "62441ab213b3e8e6a392d1227b01d47729250db2", - "comfyui-old-time-radio": "a259c0021729df40c9862a793ba85947aa7025d9", + "comfyui-old-time-radio": "e478cff5b3e7de024c03503faebdf121b3bd4810", "comfyui-oled-auto-black": "2aa79c8d7e4fcae9c07183377947247e6f665817", "comfyui-ollama": "6db7560576e5a59488708e6be13e07b5aba2432a", "comfyui-ollama-describer": "43e9c128ce31b83194d6f8ba87dbc1dd158bd59d", @@ -3314,11 +3324,12 @@ "comfyui-on-set-studio": "e9b676f9dd00f26c0473065a988b54c87b70090a", "comfyui-oneforone": "88486298b97ebcfe8d2d24290c7d641421021041", "comfyui-onnxtagger": "e481896d85dbed3527f345d4645c96edce08d691", - "comfyui-open-manager": "d8799c1fd06368c735d98ee904cc0969e1401739", + "comfyui-open-h3-face-region": "620d956d2fe4aaf5aa7f67ddac0ab792e61287e9", + "comfyui-open-manager": "afb9f8b1d558f509d4f6ccf26d825999aa868c03", "comfyui-openai-compatible": "0aee2e14d3fa9ff7b69dadb7db5c5bd32e52b68f", "comfyui-openai-fm": "b6e07ad4007da1a94daee30534c8b1feb6d728ff", "comfyui-openai-tts": "208c35cc5e9a636187d1354dbb85f36aee6c0463", - "comfyui-openclaw": "8f4c21cd7f6e155bec0bb739ba4eb8e0253a7c1f", + "comfyui-openclaw": "f76a1527447141f24f60c3ca71e2101b76a41247", "comfyui-openpose": "8bc6c07576408a6baa5263fb432f69d1d279ef39", "comfyui-openpose-editor": "75ba64b5704e2f9f02accf4eee42b7458966d5d3", "comfyui-openpose-editor-dockr": "c8d0f10f7e4a25b2182569517026c90c3452c39e", @@ -3328,6 +3339,7 @@ "comfyui-openrouter-simple": "79a217c596f808a133305a9e9cb7c49cda6bc184", "comfyui-openvino": "ff731d2f473219cb4b35d0c0c3d1fec4a7c98b38", "comfyui-optical-flow": "93af3a85377a0739dd7d7fc1f31393ec63a7bd1a", + "comfyui-oracle-noise": "5c98e00238c26e537371ce281a56dce4e9b84163", "comfyui-orakul-svp": "70bb84990bf379824097ca5a90d934c79b4614c4", "comfyui-orbit-to-3d": "618e1bbcd9e257f142e7707372074f9302542b34", "comfyui-orex": "a40020b30f012850152a3ef09d00d04bb2be9c0e", @@ -3336,7 +3348,7 @@ "comfyui-otacoo": "dbb0378502d7cdb69d6c164bf2dc8cc2bdb13252", "comfyui-outfit-caption": "c35f9e1c1cfb00a467d7bd14faafa304457b32c7", "comfyui-outpaintmask": "71fa724399ccf97cd8586ec1eeda05d90121b183", - "comfyui-output-swap": "b821a31ee95963cc4297619daf606ab8c0af2e69", + "comfyui-output-swap": "d4eab60553bdf0bc7a2febd0378e036561576b84", "comfyui-overlay-media": "b43fb1844c9ed5bdc96cee724b89b24528fc1008", "comfyui-p2ldgan": "cfa09c88008df20a5cf47e81ca0de70b8c1f1d6c", "comfyui-pad-image-for-outpainting-color": "67ecafd2a50938e94f5db0aea5f7e77e528f20d3", @@ -3346,6 +3358,7 @@ "comfyui-palette-director": "8df222110d39ba21331986249cb32a5e4025f5ba", "comfyui-panopack": "f03bdf7b7d7e1fdc0685c7fd615e299dcdd4ee5f", "comfyui-panoramic-imgstitcher": "7d11b93cd4201d9c7cc6d52f96efb3ad3196349c", + "comfyui-parametric-studio": "b24d49a59530c20c94c6f2a2b745ee67c9edd0a7", "comfyui-particle-pixijs": "65dbe5e19676599b3ea495c227e8491cf21c871b", "comfyui-particleboy": "4cdb2371877802e17ab90130cedaaf834d754fa0", "comfyui-path-sanitizer": "1f34994dea0a56faf01c8bdc0a24824d93ec350f", @@ -3384,7 +3397,7 @@ "comfyui-pixtralllamavision": "48fab4b9814f4602528bb2144f3fd0da8b9b8c36", "comfyui-pixydustquantizer": "2ecf5f12b87c1d27bb0b42550a28d07dc27d3efa", "comfyui-platetrack": "e6b44d5822defae799e45334ca22e7d53e5abef9", - "comfyui-plenio-music": "6d9d62cb6def7817b1d3ab45a6895596a2978793", + "comfyui-plenio-music": "770ad05cb714fc11d994015083212d06f3873c10", "comfyui-png-gallery": "75e42759f08582cadc6a7e76dec96fcc595fdcf7", "comfyui-polotno-canvas-editor": "a6a42b1df6f1a5b707c41cf46daa5131f324024e", "comfyui-polymask": "f4fb548173c5d908283f0fe632a20343de3e1ee7", @@ -3398,11 +3411,12 @@ "comfyui-posekeypoint-mask": "03b6d92302b24beb9ed63bbf23f8b2a3246add06", "comfyui-poser": "840cb672187f3484150a4a72ca02a61f94af64f4", "comfyui-post-processing-nodes": "c49a05254795403648f2c1774b6f5ea39f96e7d5", - "comfyui-ppm": "9df6fd056956c41527642ee120546c4283a5ef8b", + "comfyui-powervision": "2ca53e729d61378465c95c94e73789c6177bce67", + "comfyui-ppm": "e042ee9125f5fb3850b5e414757a7f18ce7a4940", "comfyui-prediction-boost": "c8176ca71b9e4c3824849f6c65826024a7c6468a", "comfyui-preset-download-manager": "1f41a2ff25f998a47a5d394fd0f7b59dc23c2fd9", "comfyui-prevent-sleep": "0391411288174a9637139109e4b8172bde3d2aa1", - "comfyui-preview-bridge-extended": "6359c2fdfb8d230fe3c1514a4bfd51bf5565bdd8", + "comfyui-preview-bridge-extended": "c3767eb96c550bec435d628bf14c2543b4ef6c1e", "comfyui-preview-video-monitor": "b4466be2dec404374af738a08e9579657b61ac2c", "comfyui-preview-webm": "7785d529f1362bb526fcf072a468bc98be08e4c0", "comfyui-preview360panorama": "2a440145a3b858a24192d6f7b2f0d48015928dee", @@ -3422,7 +3436,7 @@ "comfyui-prompt-control": "71f464c3206cce850387792fd9ae6219edae560a", "comfyui-prompt-control-legacy": "3c44d3115195dc3e216f62ddba730a6a2382b70b", "comfyui-prompt-craft": "cc3b0cb06f15da29681073ab31bbe719b7559a99", - "comfyui-prompt-editor": "397363d5817916df08116438e357c50eb40ef22b", + "comfyui-prompt-editor": "e6428e3ce366dc14920bf24c279e2848bd5c5e9f", "comfyui-prompt-enhancer": "2691877b9aae1a8c7133024c75f16ef216bf36ee", "comfyui-prompt-enhancer-suite": "9aedf78c8d18882caae1184e736719dffbc8c0cd", "comfyui-prompt-extractor-nodes": "d30bbf663c67f6d5d413d12132fa7e516daa0dcc", @@ -3431,6 +3445,7 @@ "comfyui-prompt-format": "bfaee0391745937042e6848515853327df9d839e", "comfyui-prompt-generator": "721dacd6547e5756f34eea7f08f63223b3914fee", "comfyui-prompt-helper": "546ad82076f6f01d5abd5be74525974936221278", + "comfyui-prompt-history-viewer": "6a2d07916ba45ba04b86d7cb841cadb63bf649ce", "comfyui-prompt-library": "8fc1eb49e52ba03bcfa628c7f6252fb7df072321", "comfyui-prompt-manager": "42bce4c86e5a7a8dcea6bb760fe7d5e128c3efce", "comfyui-prompt-mz": "276599874053f09438641fba7c23ed32015f2376", @@ -3439,7 +3454,7 @@ "comfyui-prompt-skill": "9c07ac1f658e161ecb714fad538b2603c6190609", "comfyui-prompt-studio": "cac64a837bb2d887fceab553715cd273fc82f9ad", "comfyui-prompt-syntax-highlight": "39a778f9b71f8b5b60bd5877f299619faeea6437", - "comfyui-prompt-tag-editor": "73a32ceb934a1b4b1937ff662f07f4853189b94b", + "comfyui-prompt-tag-editor": "0394eaae1af380320d884017284245e846277302", "comfyui-prompt-tools": "5c0c10dc6a3d3807cc77224fc0f83a17c3f0d012", "comfyui-prompt-translator-enhancer": "a155494417dda0a78e2017d6ec3894629cb34da8", "comfyui-prompt-vault": "59969e74569cb05bcdfcd0b3109aaeab52755510", @@ -3458,7 +3473,7 @@ "comfyui-promptpresetbuilder": "1abb515452ba06f52355c646b70b353c99caf52a", "comfyui-promptswitch": "ca5aae53940ca787e16decdf036538a1efd534b9", "comfyui-promptutilities": "6d53c4fbf945bfb1e28e1e787c1cfa58458458b4", - "comfyui-properpixelart": "8825aaaf00db1523dd59a370e3a949d5c83b32a3", + "comfyui-properpixelart": "be42f904f109300e6cb1c4d6de3b90d2e4b9b2a3", "comfyui-propost": "df6a6d122498f57ad7195d58e07701a501c9dcb6", "comfyui-proxy": "8877d91c857e893ddfc0e2af6d2fd4f271425ba1", "comfyui-prxpixel": "6dc0b50158ece158ab6456efbe1f0ee9325e27c7", @@ -3477,7 +3492,7 @@ "comfyui-qaishelper": "4499e51d17609d4338234b3339cd64e752e9958f", "comfyui-qb-date-nodes": "e716f88b466f9e5aa08c4c8fbadf62304486e74a", "comfyui-qbug-batch": "84ff36c440b9f0083af599e7ef0e2a8a72d623a7", - "comfyui-qg-tools": "f7e62b36baf567d4feeb8a87419b03060a86cab5", + "comfyui-qg-tools": "2b79d0dd3586891354f45dd984aaef28f7a61cfa", "comfyui-qi-qweneditsafe": "4c60b8678000fe21199eedefe4a5cc123856169b", "comfyui-quadmoons-nodes": "89c3b5f7272691285c9d5e954f6ea8003be216f3", "comfyui-quasimondonodes": "cdae487720196e13c3ac27b7634231be8fae735b", @@ -3491,7 +3506,7 @@ "comfyui-quickimagesequenceprocess": "b031f6c3a4c9b439986d17fbb5f66318c53202f0", "comfyui-qwen-asr": "444e2a9364a335b603c365ebdf483263dd54d1e7", "comfyui-qwen-chat-models": "d5d40396135b201c96708add557827828dde54f5", - "comfyui-qwen21-adult-policy": "3368878137c3bc91ed4f0154749fcc4d61ffed7e", + "comfyui-qwen21-adult-policy": "a28e26353ef03b197bbdbd49ef4cc3198f74025e", "comfyui-qwen3-asr-endman100": "d3448165e0afb52df658ed439d771324e2085eee", "comfyui-qwen3-tts": "17c22adb80a63c1c51bf74549e71a5cf218f4e1b", "comfyui-qwen3-tts-triton": "4492580ea2b83f8162621622d4b5e7f6f49f37ee", @@ -3501,6 +3516,7 @@ "comfyui-qwenmultiangle": "bf8d032a36f1b78296568cda939418b88f0950b3", "comfyui-qwenscope": "aa76ea0b6954c9ddc7fa015698893c77609d006a", "comfyui-rabbit-prompt": "64e9540403905e7f3bb9b2c8e55930eb6b510f37", + "comfyui-ragha-preview-video": "a95fd9ab9a811d4e2f0c65fbf068d8e00671d16b", "comfyui-ranbooru": "e790028c6b884182a96e596cba6fc40ff3b40c98", "comfyui-random-image": "ed62ad2767441767c74ba7394788f18ad762b7e3", "comfyui-randomnumber": "6370e235b2fc61a8c8118a6a79d433199d85d243", @@ -3510,7 +3526,7 @@ "comfyui-rb-bridge": "25c7917c83dbcde57cf48995ab4003957bbf404a", "comfyui-rb-command": "4446d44ea6e7dbb63204fe98e504eddb5c2c69d7", "comfyui-reactor": "0763f707e3f791323f2e7450d100a25860df546c", - "comfyui-reactor-api": "cf5f0ced130d51538c0694c71c86382503f2c4f3", + "comfyui-reactor-api": "a3eb624e2f0acb0ad597eec398d6d66df0813604", "comfyui-realisticbokeh": "3d431112faa47a95404e0e4300bc41b2a1e2e22c", "comfyui-realproductscene": "023377c91bf680c2d8c058ff26b1de0974ba33e0", "comfyui-realtime-lora": "47d5962a651e61a39afcf06c7cf26614454c5fe7", @@ -3521,7 +3537,7 @@ "comfyui-refcap": "310618992a6b57627177ac9d15f033e75d12d574", "comfyui-reference-image-comparer": "be257891bae4233536b9c67f29b5feff891e1953", "comfyui-reference-latent-plus": "7550e53015b12cd024615cc338f6cf68f6a94071", - "comfyui-reference-library": "21a8e226224675d6e45a7a288a05506647105407", + "comfyui-reference-library": "16d7a7c0a0e8841ba391d7e95e5a5105373751f7", "comfyui-reference-loader": "7ef15f4636727ea04b65a5ea8cffca12bb9fd399", "comfyui-referencecopy": "8207d0a08743d84bc333170a9e06c36cf402577e", "comfyui-refiners": "bf5ac09c5855bc5167a5b1477370999c19d02bb8", @@ -3536,7 +3552,7 @@ "comfyui-remotevae": "f36ec1d034da282d7f5d824350d7df67a16eb055", "comfyui-remove-background": "2b715eb5649176a52f9e00acb5e709039cb24220", "comfyui-render-time": "28bdbbeea8986678bb4019908b81354dc64d1e63", - "comfyui-renest": "e8e192a9a0c0754de3b7cb415c7c10b9a0ac669f", + "comfyui-renest": "d4c916af6d68b7090a66bb7b79431450a6e6f929", "comfyui-replicate": "5066bc3b9a6b626babb8b608045edbf9d5abd99d", "comfyui-replicate-api-nm": "b7b81e7f705c62f6a859b568e56068c4f2cd65ee", "comfyui-resharpen": "1312fce2d75ee6015524df555e9f04da091cc39e", @@ -3563,8 +3579,9 @@ "comfyui-rogala": "c368b4a1f36c4afe9651ac7479dba486e8872b34", "comfyui-rookieui": "a7dcd94d71cc676d488fbb0c8f810c4ccd8a9f80", "comfyui-rotate-image-any-angle": "388b2fc48dfdd7f561b43df00b5608eaf1eb0d5d", - "comfyui-rs-multicharacter-sampler": "d62788806d2a95877a0af9e976076fb628784b51", + "comfyui-rs-multicharacter-sampler": "721d57ab98e80dc6854d4f49758bc9c456bb925c", "comfyui-rtx-video-suite": "65d95a75a1a06e6143fd7a4d4c2ef05d314de44c", + "comfyui-rulznodes": "5c7c2fe54b121a347da695cd8e889cddd3c3dc21", "comfyui-rum": "2b778bf9434a2e4abed8892a7ea4644881496498", "comfyui-run-js": "f408db14910317fd0e93d2671530a2cfbaa16992", "comfyui-runonrunpod": "d5b504d77bebb12b9cb595f37c2ef5f5b2fddde1", @@ -3582,12 +3599,12 @@ "comfyui-sahib-nodes": "cc162ee4687e8847eec67ade9d60e639f4e60f0f", "comfyui-sal-vton": "625807a1b87f0aa0ee66a2c54d75b45179122645", "comfyui-sam-audio": "567efea80f3bca4fa7faed11b907b2ce7923a2ff", - "comfyui-sam2": "757034be78e877c07db8e7913f489089af224630", + "comfyui-sam2": "1d29f4eda7ee00a639014f5e0833d4599276d2c0", "comfyui-sam3": "de0ff5d2c2ea435d29f800abfa568cffdfb94773", "comfyui-sam3-json-boxes-api": "0ed8b0532025d44ee2ce7425cba85edf2a16cdd9", "comfyui-sam3dobjects": "0d2a838699d05aa318e9233927823d370c1f9506", - "comfyui-sameface": "6a96f49c83feb2b870f938d906e340db2d615633", - "comfyui-sampler-info": "d7045d01cc9b68801b46ecd1d302764d05e88e60", + "comfyui-sameface": "d608d617f19e2895c51dad4222c0fd4823b1266f", + "comfyui-sampler-info": "618f58aa903290834e9109bd95970083ad9bb092", "comfyui-sampler-lcm-alternative": "883d4ec755aa4e107da9db4a46abbb4f243c81f4", "comfyui-samplingtrace-inspector": "1ea1a13ef1574df757f9a28db4edc7b719f2f255", "comfyui-sapiens2-easy": "51958bb75a2ee7644018d55b4f2b6f6d535101ad", @@ -3595,6 +3612,7 @@ "comfyui-save-image-local": "b6158a8cdba8b1b4caedf0274274568090711cca", "comfyui-save-image-watermark": "abad8458101928774911d6b89f877f62915c2778", "comfyui-save-prompt-and-output": "8d4a82f0e9d2e1914dc7b39f4af4a140b68cf90d", + "comfyui-save-video-local-path": "42db19e39b72ae97051d61a26b032d32a2eb09c7", "comfyui-save-vpred": "8a8e1b859909e48884d5cc5a477998cb0d4bb589", "comfyui-save-webp-meta-node": "0e18ef69cef4120cd9c85c6c7d12bfe75ebafc63", "comfyui-saveimage-plus": "efa54493216e47126e022a6a38cdaf0c0480256d", @@ -3618,7 +3636,7 @@ "comfyui-sd3-powerlab": "5f2d15f0d05e9104e1a3384eb211fadc38d558c5", "comfyui-sd3.5-latent-size-picker": "67eeeeff12f5f6859a0f4c4853e14cc96a9dc8fe", "comfyui-sd3latentselectres": "d5867b6fedf58dbe4559904097b5e2eef3cacfb1", - "comfyui-sdnq": "c0e01f4b05a14414e518e2e1e70d241c13ffaee9", + "comfyui-sdnq": "9eddb6036726b7e1e1785defb113079c34758248", "comfyui-sdnq-splited": "0e11ab444b720d426a8f5093f76bd0307bb9aa4d", "comfyui-seam-carving": "94b004b2e34def87ab9b053a2880b1b0992a542a", "comfyui-seamless-clone": "858425c358e1e2bfacbbac3bc019da95275c2336", @@ -3645,15 +3663,15 @@ "comfyui-serving-toolkit": "f6f1cc26f551067ffd2b0b1b5e26849a00412adf", "comfyui-settings-overview": "1a76a8fd5ef9c322bb36c19a0cae1a6903b552d5", "comfyui-settings-sidebar-button": "a01c890f612c813c63a3f9b4aa4b95a16bb80ab6", - "comfyui-sf-exr": "dc8857c3e6a843f81c8b95fe350d520508088aef", - "comfyui-sf-nodes": "d392931a435f6394fccc7c9217213ebf78ce9ec4", + "comfyui-sf-exr": "9caf79934ca4b3fe652338f294c3b834acc81f92", + "comfyui-sf-nodes": "878bfc2392b008650cc61252d170bbbead25e43f", "comfyui-sg-llama-cpp": "541ad78b522f03557b802c81a033dc2cc36f75ae", "comfyui-sg-nodes": "ae672d37e7c8b984a98f9daf4a9bfe518e59df0a", "comfyui-sg-openai-client": "d37a8cee05cfa8c78df477b628c877a3ca62a4b4", "comfyui-sg-process-manager": "2d5c6099e97b8a640abc5a99dd2b4b37ee309186", "comfyui-sg-resolution-picker": "1454d9501bd4b2d85e0a3bb816389a00c80034ff", "comfyui-sg-text-encode-reference-images": "25f58bcbba2e0c35499c39c1fae35783e832112e", - "comfyui-shadernoiseksampler": "8cf5f3f7cf9919159a55e36315c653857cab782e", + "comfyui-shadernoiseksampler": "b6d89e0936d5a4d05924943cbb5af17bd84b3569", "comfyui-shadertoygl": "e5253a141bd021b05d1693eb2bcaf1bc204ff7c8", "comfyui-sharp": "92c0015af61b71e6fd88301cfb336e7034f19796", "comfyui-sharpfin": "4651edb1eba8c0a974f61937ae8b611bfa0b9399", @@ -3696,6 +3714,7 @@ "comfyui-skoogeer-noise": "86d3d207d1bc61bd478e4fe1cba742640425621c", "comfyui-skycoder-tools": "9fab8da967fa697dbc1d6a29c7549d11fd8dd7bb", "comfyui-slack": "62a7df36f77c97b304d8e89170c6621a47f6eb89", + "comfyui-slap-stickers": "b649883f3889082f3348a8e286e95dda8ad3fbd7", "comfyui-slapshot": "59a1088f5bbaaef1e57046435b453d3dabeefc00", "comfyui-smart-resolution-calc": "4b283dfd635e797412a976c3e5e30570024e6f59", "comfyui-smart-shot-loop": "b31fc866bd0ab5bc8d050c9a36a91183c801c310", @@ -3705,8 +3724,12 @@ "comfyui-smplx-estimator": "471d8ee528118fabb1be8d27521a725570f6d368", "comfyui-snapshot-manager": "ff59e58b335866ebc203ad4c506633531f091709", "comfyui-snek-nodes": "7f497462dc518422b9200b11da784b27e8c8a049", - "comfyui-soda-prompt-classifier": "4f26abd49556032c9de50a33ef1fa2afecb84539", - "comfyui-soda-storyboard": "21c24c07fc9f16b5759b5026a0bce802b42c58f3", + "comfyui-soda-chat": "4eea6b84ec263ea2bd665427075c1d3cb4acc150", + "comfyui-soda-h3-tools": "45774007c9086c49102fb4f47226abb8bbaa65b1", + "comfyui-soda-prompt-classifier": "358746f09ce088c0b14eff108c9443822448877b", + "comfyui-soda-prompt-library": "5d032500393f733e34661ff64b32f9cfe543f1c8", + "comfyui-soda-prompt-workflow": "2869751d3d1005e442761f2191aee050763eb069", + "comfyui-soda-storyboard": "80e7d93577dda9e92fb36b6b1468de486d0848fc", "comfyui-sol-attn": "69d2e4009313e5cc3a1a70ab092ed6bb54fd5cd3", "comfyui-sol-h3": "fe6a96183a84a1b91a16fa042ff1f3ad3e9dd62a", "comfyui-solricks": "f42875e493059e3ffa6079db9762907d3e73acc5", @@ -3718,7 +3741,7 @@ "comfyui-sparkstudio": "923360e15879927a87427333d50c05ac7bda1f4c", "comfyui-sparktts": "0f27bed3c5852924960b9d5a7969733b08f82d27", "comfyui-spectralvaedetailer": "4b7e352d0f67cc0d2fdc31d238f8d57bff7e6fca", - "comfyui-spectrum-ksampler": "63eb94d3c17472dd6963bdaf13d1f97cb7eac72f", + "comfyui-spectrum-ksampler": "7b3774e11123bc1403d3fa26aeb8155e2400ca2a", "comfyui-spectrum-minimax-h3": "806fe498d574a726fecb8818917f00a4b993fd77", "comfyui-spectrum-moss": "1e5eb359160b50be02ff95d1a93f22af2947888c", "comfyui-spectrum-proper": "f48213cbf8ccc47fa3c4d6d20672f3bb67bc6e4b", @@ -3729,7 +3752,7 @@ "comfyui-speech-bubble": "947fc9c17a053f802c77f9984b84daadb0c7de00", "comfyui-speech-bubble-detector": "ff134553d1629b0c3723614e9fdc29bceb5d10e4", "comfyui-spellcaster": "10bbf8da20c805955f91d4edd178951c2cae9757", - "comfyui-spicyapi": "5fb0ded4d26f1308fde2aa9e7d07e9751441992d", + "comfyui-spicyapi": "d600f859df08e7ad44bc9e8ec69f2ba47c0b83bb", "comfyui-splat-loader": "36f3b862062bb56715144d8305addfbe369ef17f", "comfyui-splatcam": "0c57528b18e0cbc87b014d9833054f56930539a1", "comfyui-splatkit": "47c93ee95c345314b0b3b0a998a80788fc984207", @@ -3752,13 +3775,14 @@ "comfyui-storyboard-editor": "fbec86406b56eb88f1db47648927bd452fc951c3", "comfyui-storyboard-layout": "c33d8c9f2eb02d59ce585f963e946593d2572434", "comfyui-storyboard-suite": "c9a329267a0683e557312942ce927b3d40ec7a80", + "comfyui-strata-control": "2bb3bf1d4883f46b5cee7621731a3d9c4cfba520", "comfyui-streetview-loader": "3bcc552af51aab76504e401950e5f5b4f7310c6d", "comfyui-string-converter": "0e1e78f877e4d5fc2b46ace8fa21a0ef70e92f11", "comfyui-string-helper": "2122ed9775d6c066986ecf987ff8d4225376a642", "comfyui-string-join": "94534ee96fb4f0ff9a8a10e29e0330ccf0e29b9f", "comfyui-string-tools": "272bc39b50dc20e020badd33900bb130f454f43d", "comfyui-stringkit": "fb47240c27f6daaef28e60d6c487bc439b8d4180", - "comfyui-stringsandthings": "7814d2187389cefb0be3ef0efd3ff0cddfe7a7a0", + "comfyui-stringsandthings": "dbe614bf1e5a80de0440b16d3482425075130c38", "comfyui-structured-outputs": "fde7ddffffa88af1b4dc2bf52696ad871f4728e0", "comfyui-studio-prompt-director": "5dbdaf4a8fc2c5b84f96f0f6ca2a49f2117a9219", "comfyui-studiodeep": "4bb6e15d2319d5e6cd68b20a9dbe4a1f255ef254", @@ -3825,7 +3849,7 @@ "comfyui-tiledattentioncouple": "b97518ce92d1e3a6fdc1a95f23f76c5c59ce5d17", "comfyui-tiledupscale": "fecdcb179c97dfe945b5bc1d5d3afc559737ad52", "comfyui-timer-nodes": "571ce8f65bbcb64a97fb0b6709ea09aa8b2d321b", - "comfyui-timesaver": "74b956081795f78e8f97d6b3764016805eeeff11", + "comfyui-timesaver": "212dcb879ba3f0cc548ee30b6172c727aa9a5955", "comfyui-tinyPNG": "3b5a3580e3af2156f1f66c7d6388c333c6ed890e", "comfyui-titrain": "04291caf09f85cc253fe8e1eee070fff14fd7aad", "comfyui-tj_node": "2cc75998cb52ffba140ec3fb6fb05b9af433f377", @@ -3833,18 +3857,18 @@ "comfyui-to-python-extension": "6cdcc235a06c3354058d606fdd17daf7ca759190", "comfyui-togethervision": "dd941fcdd187705dff7cf4fb3f03f54bafb4b015", "comfyui-togglemaster": "794dcadf8c33c19a8242c4f8ff7edcf8b0883f7c", - "comfyui-toml-prompt": "99953bfa10897e5f20bec9b4b0c2b12e89378de8", + "comfyui-toml-prompt": "97466cd0bd1c5207a4046d55d4c3868e39d36ef2", "comfyui-tooling-nodes": "0abe742480d4d2e98cc7c6f432f9442463a7bca3", "comfyui-tools_zero": "6d2a6a6b2369781e899037d224626de7fee76310", "comfyui-topazvideolocal": "ef6fef765de0e99b40d6d6f1eb6ea99d863be358", "comfyui-torch-compile": "5de6422c8be8931930e4118b1457f8592e93dbce", "comfyui-tosvg": "1022ba05318dccb4fe586ce5bbd09f1f0b3c7909", - "comfyui-touch-connect": "87acb0518a16aaac9e3f52fb854b2b8bc34064a6", - "comfyui-touch-manager": "fc40e7a0f84bc6cf63da6e36bdb4a4dfdf266068", - "comfyui-touch-numeric": "c3ec45f437dfcad19590b951792f8dcf3a20a1eb", - "comfyui-touch-resize": "be148dd48769c9826dd4e599277b1723b93feb83", - "comfyui-touch-shim": "2912aa34193d5cdff9d075da402861641f7cc08c", - "comfyui-touch-tooltips": "083f09c38d46caf70717745c4defc829448a6935", + "comfyui-touch-connect": "f7ed31416cc789e37a5afd4c4a97bccf23d5ecca", + "comfyui-touch-manager": "39760719729f3f5d4aa18b0d7dd0f46306d6be54", + "comfyui-touch-numeric": "8bcf2dea9ea2dc11436abd32d7e66c398ba2a103", + "comfyui-touch-resize": "59301712a5f8105a9b574bffb846eb36563c4b5c", + "comfyui-touch-shim": "c0bf38b386a5c37ae912ae774102f9de2ca3cc61", + "comfyui-touch-tooltips": "44d108e244d45ffcc95797669d1a04b4c6806ebe", "comfyui-trackandwheel": "27c365267eff55419e469ea7046e3d5359c32944", "comfyui-traintools-mz": "a0b8910cd0a4736666e8bd49f8070bf427791ad0", "comfyui-trajectoryforcing": "65befe9496cbdf99b2f9648a00f645e3611548a3", @@ -3870,8 +3894,6 @@ "comfyui-uit-hidream-o1": "c1a17fb82c1e11b3d6c2b8a7d091b15aea363648", "comfyui-ultimate-sd-upscale-lazyload": "551ba4444dc03567a45f225a7064993fd0840e57", "comfyui-ultimatesdupscale-guider": "1f43d695a06fb59ad448f0b97345d306fa6a1b15", - "comfyui-ultra-lora-reference-images": "8a2398007601fcc9a3d9f5d89e739fc08782dc6f", - "comfyui-ultra-tools": "66304630807474837983fa83f3c1ea2659ba24aa", "comfyui-ultralytics-studio": "36acbd35c251140865c180b3ff5cdfd88aeeea25", "comfyui-ultralytics-yolo": "c48a4aeaa4a1b07c882e3334ed9630084d817fce", "comfyui-umeairt-sync": "3f2efc452baa3e5b0d1fc1d7293002d8719d10a1", @@ -3886,12 +3908,13 @@ "comfyui-unique3d": "260e48914a0e541859935e7ddbf8e1c7be97c494", "comfyui-unirig": "69ee59dc459d2da7cb0291930c1f944886c31d7c", "comfyui-universal-asset-downloader": "d2dcc0fa6c29a668bef79b3067f6572207170def", - "comfyui-universal-timer": "51fc7df99d370e02189c7e5a4a883a1775adc96c", + "comfyui-universal-timer": "e5796718add7b916c6196e9f70831eb597e52b7b", "comfyui-universal-trigger-toggle": "42fa856f9d10037c49cc64433548c31e69ab1b36", "comfyui-unlimited-ocr": "15df6c67e734f96b980981ac02675296dd9d75bf", "comfyui-unload-buttons": "b9d7e12de4fd84fca133b243e9cda67bb91048fa", "comfyui-unload-model": "ac5ffb4ed05546545ce7cf38e7b69b5152714eed", "comfyui-unprompted": "ddd623f963541870a715948f652b7e39574521b8", + "comfyui-updater": "3c49dafe5acae9f3e86ce2ed396e67ee85eb1dba", "comfyui-uscg-civitai": "873ec0316ab05b54bcfc8fd97d851918db4eb48e", "comfyui-uscg-distributed": "49fdb346b41507c1327ab81d2969282a8c1daf37", "comfyui-uscg-remotevae": "b5800a9fc263acbe68b64bd202560b17d1ac4fd7", @@ -3899,7 +3922,7 @@ "comfyui-usefulstuffnodes": "dff284c46dba697274d3be999768e7bcabe25b19", "comfyui-utility-megapack": "e8a0eaef4452c377236d07dddf9ff0915ad61441", "comfyui-utility-nodes": "a05cb9706eff361a42964b3fdc08e9626d41772b", - "comfyui-utility-suite": "c4830a139dfe08c15c07cd549d045da769284900", + "comfyui-utility-suite": "a1a57a1fdfeeb81a8a57badd82fb70ff1359b99d", "comfyui-utils-extra": "0d7ad2233a8e25a853bcfa47343ad910bbb1e6b0", "comfyui-utils-nodes": "c81ccb9b47a51b0e6b5087ab52581ed0cf3bac4e", "comfyui-utools": "e6ebc8492797023596036c956d13d9c79426e3f7", @@ -3928,6 +3951,7 @@ "comfyui-video-xy-plot": "886a74ab44d5f3a31d9cd7d091098e64814d9a62", "comfyui-videodircombiner": "b38b8bcf6624fa85d7622a0ae80ff4516c586c67", "comfyui-videoframenode": "62e7689cef8e8adde7d494acca65190b2b5ad1a2", + "comfyui-videogen": "422c92a0cbb3a561e8a72a82aa58b60903f781a0", "comfyui-videohelper-adv": "0ec378a27c565fceeeb7e2f141e1eabe8dd66d0c", "comfyui-videohelpersuite": "4d907bee61e92c2e65af3bd6383a4e4d356126d1", "comfyui-videomark": "aca1b802e98aabf27e7776cb39424a3da9cec69b", @@ -3953,18 +3977,19 @@ "comfyui-vitals": "948350c99deb19a27ceeea263e9c28ae2954b3bb", "comfyui-vividai": "2a0d498efe155f25fa2bf4b8839a5a3ad5521ea5", "comfyui-vl-nodes": "e0c2025fff9f3879cc4779118f74d563bfe78003", - "comfyui-vlo": "8a7092ad91d2265bb17f050a5729c41e66410de6", + "comfyui-vlo": "668db1d123bd4de71edce71ad40a4d2e97633a79", "comfyui-voice-clone": "7e8e3b98e4d4d31736995fffc2db3c6e29d2fa12", "comfyui-vosr2": "6a21810b3f4f1a0ffc477c55330db0ac03c671f0", "comfyui-vram-overlay": "f059bb36b80b89a7d049e07d83f81bdff2996256", - "comfyui-vrgamedevgirl": "4008c1c377247cfad4d9ccda6c8de68848885b17", + "comfyui-vrgamedevgirl": "099042d8d635cdc37b658ec825aa5298637ca69b", "comfyui-vrm-pose-editor": "b582f9089aeb4f3cfe2ab1974f56e4d4732dd129", + "comfyui-vrm-pose-studio": "15cb7397c4d18e1d083941de14da33b8a0abd527", "comfyui-vs-glassmatte": "f33d2e5be3231736032cd0af928749f6a1a2bdfa", "comfyui-vsco-scraper": "2598f7cdd967757ae5d45efbbca1b387b1ed4dc2", "comfyui-vslinx-nodes": "21a8653541c82ccf4db7c11481e5f6d9d416ff31", "comfyui-vst": "b4533d7e63c1d4af95114acadb711629ef416070", "comfyui-wa": "41d473d0a1bc430eaaff53e38e0648971f4dced1", - "comfyui-wa-suite": "d76fe096f1c753d2b085c8c14672f51a03b680d9", + "comfyui-wa-suite": "39bba683c9c8540800824b577fc741f5b1c49f05", "comfyui-wan-i2v-control": "b33a909dea4eca63c57d26f14e53dc68de6ce3d9", "comfyui-wan-vace-prep": "f04e44cd24204ba03bfd27bd97711686333c1138", "comfyui-wan27": "f0bf62de4bf69dd60aa1d09d08e087fba2f9d53d", @@ -3978,7 +4003,7 @@ "comfyui-wdv-nodes": "c693cde8e12c4ffc72bcb0b4c99068f0ac8f6ea1", "comfyui-web-viewer": "c4d41cb8a6c2c3387de0faa7cc8a4acf987eeacc", "comfyui-webcam-node": "048e1cf4813b80d963a0dd8ddbe5d0988b4b42df", - "comfyui-webui-prompt-bridge": "0b895e05f8053ecfea9c7587025347bf26df4d70", + "comfyui-webui-prompt-bridge": "54bb1ded90fd7ea5f2115ed217216604a65f7cee", "comfyui-wedgediff": "17cffdbf48ce1199dafca688e86652e630d4517a", "comfyui-weekend-studio": "8c2d1039af8a2a58acc1fd4f9d317db8cbb21b1c", "comfyui-weightedrandomchoice": "a1ad37491ac0d5b89793c6ca3fea7de2b4b93155", @@ -3994,7 +4019,7 @@ "comfyui-wireless-link-simple": "47cef701e09c5149dd2495c70ecef58f4127c590", "comfyui-wltx-nodes": "71fe416fbe4fcc9fdae98d7040babe30a6052c25", "comfyui-workflow-encrypt": "5ec45fdac73d8bd6d732af76bbe81c94413b3e36", - "comfyui-workflow-folders": "7f89780861396441ea11efa1cb07a0d02f16d1e0", + "comfyui-workflow-folders": "c72721fe1dcb81143cd6aed1ac85aa47295f9705", "comfyui-workflow-iterator": "92fb9559065695362da0bd700b16b06992be3ca6", "comfyui-workflow-model-manager": "8186c23e460eca0b8e029597050488b14bd18b89", "comfyui-workflow-models-downloader": "c3ef4db2a650836053e571c3eab3987c70c431d8", @@ -4030,13 +4055,13 @@ "comfyui-youtube-downloader": "3ecd7551ce30f539b29c1dec51fc25aca5217c41", "comfyui-youtubevideoplayer": "0792afaffd8f2a340c51d4d0489132c1a19c9192", "comfyui-ytdl-nodes": "fe735cab69bd640796d4de5bc867b8189574f3f0", - "comfyui-yue2-kit": "762549e6fa8f527784fe52bdb17899f1320a8e7e", + "comfyui-yue2-kit": "f4aac43e4f3dc0e26404d586b21e49b6891e9c57", "comfyui-z-engineer": "1cee3f431c48bb388be28d082d4a5c39c0fa5e3a", "comfyui-zegr": "f0d3e2fa8b5d2c059606c66d7c2eb37193895a6e", - "comfyui-zeninspector": "2e907d1b63cde4d5a38ced3f78161f1cc5ea8185", - "comfyui-zenkit": "2e907d1b63cde4d5a38ced3f78161f1cc5ea8185", - "comfyui-zensuite": "2e907d1b63cde4d5a38ced3f78161f1cc5ea8185", - "comfyui-zentrainer": "1c49d96d7dde3ad9c5732b6ee60e9e55ac0d0ff2", + "comfyui-zeninspector": "9afdc80a4f902c365f5139711de5070726b22392", + "comfyui-zenkit": "9afdc80a4f902c365f5139711de5070726b22392", + "comfyui-zensuite": "9afdc80a4f902c365f5139711de5070726b22392", + "comfyui-zentrainer": "efbdd439f5d4dc9546e534e663d0cbd1a44293db", "comfyui-zeroclip-nodes": "1556ef097a38e2b077ce53aa0df225a5eba72a24", "comfyui-zerocopy-continuity": "c0fe203cdbf6b580f7c9ec06c5fec8b5ff91898c", "comfyui-zeroenh": "b8c5ad0bd14449d3deb53b9004b6fc5d72d1862f", @@ -4045,7 +4070,7 @@ "comfyui-zip-batch-loader": "6ae2c016fa47ce95fa7f59a37bd916cd3f8d0982", "comfyui-zip-ties": "dd31e8d2e3abf5d0f88f44c70723cc52401fd87a", "comfyui-zoeytool": "5d7b4c90c3803b44c4e2c17861deca52d4a8f266", - "comfyui-zura-nodes": "f902df2a347d6f230c1e1e2f3c78125966dec8ee", + "comfyui-zura-nodes": "cf31eab065fb1ab5aefa9f3ec71a0aca0e9b235f", "comfyui-zyd232-nodes": "f50e273cfdbc1eacb5c34ae0356675609d860475", "comfyui_DSP_imagehelpers": "30b471e6cb2113cad8edd9944ad0153f0eb22dda", "comfyui_FMJ": "84f76736af97d4b56be58630cdd4f3d6288d7ac0", @@ -4088,7 +4113,7 @@ "comfyui_creepy_nodes": "a02456f5b14daa78852344c1af38ddfebf6ca1af", "comfyui_cryptocat": "d728bfdf14add5f9de7376a0e56227674cbdff1c", "comfyui_custom_node_image": "020559dfb3c7b68fa515f0a215c6c33635a0ba54", - "comfyui_custom_nodes_alekpet": "c57c053ae7e5dbebf20c1a5b9ea0b50e87cff330", + "comfyui_custom_nodes_alekpet": "8111722784733b4d5d85096ae1fb3cdef32742ca", "comfyui_cut_audio": "78cb1519ef53bfcdae45316f8f11ae2e7ebdef4b", "comfyui_cyc_email": "7c73bff98dd4b4f44deae7c110b874dbd7255632", "comfyui_dados_nodes": "55e97cf79fa6419a97a748c4dfcdacc2be2c2a64", @@ -4247,7 +4272,7 @@ "comfyui_profilerx": "007bc3439b4f73c2e60099812d0c371b7e97d2c8", "comfyui_prompt_all_in_one": "0408311006e005165d4793228397ac1cb6b274c7", "comfyui_prompt_camera_assistant": "41c0faa3b011e9a2d70388422cc681b69f95df6e", - "comfyui_prompt_composer": "51a14a0bdf683d86080e0c26ebf8d2360f7a160f", + "comfyui_prompt_composer": "afc2d9a40b8a9c77b9897a0c355ae401103526a4", "comfyui_prompt_gallery": "83bcf2ba9d0330137134d31d6adf68f7e70c1eec", "comfyui_prompt_list_json": "5a96c9a9925927cc935523c9ba2a987c498078ce", "comfyui_prompt_manager": "628a723a829143219bd050f22aebd2487837fdfd", @@ -4260,7 +4285,8 @@ "comfyui_qwen3_asr": "fd12348b5da684a610bfc99c9be9694ab83ecc0b", "comfyui_qwen_image_edit_adv": "6202738e3ab1718acf3e98d20e8c2502ce4cd0ee", "comfyui_r44_nodes": "6b2387a38776d70de3360f8252423ff12166a191", - "comfyui_randomperson": "1ce4dc851f07131d017fb37cd85d970176c4d2fa", + "comfyui_randomperson": "459411a029f250f3e718e10f437f608b02a7bd30", + "comfyui_randompose": "d48d093221ce662c5c1c7e5bd451b572189b7bd7", "comfyui_realtimenodes": "4e4a4bb3c1bb0c564564512a60ee63d521e58343", "comfyui_reimgsize": "aada583b1f15f572c9737c88e61d528a15021fed", "comfyui_remote_media_io": "aaffe0ed5d00418f2e231ac8f1fb05921a4c0b22", @@ -4289,7 +4315,7 @@ "comfyui_slider_sidebar": "bbc790eff307d2a5d2001df309991c09b38f21dc", "comfyui_slk_joy_caption_two": "a61f9a91c45743712fe24961803b3c9903cc298e", "comfyui_smznodes": "fa16c4dca9068706966728376e5d3ecad92f7a91", - "comfyui_snacknodes": "432f93c7d972f46bf454726c5d2aaaeb4e9eccc3", + "comfyui_snacknodes": "b48ff7b7b807a19cd770dcadc034d3a594bb665d", "comfyui_soze": "41c7f91d2b0d018ba75eca8a065b6922719cafcc", "comfyui_ssstereoscope_bysamseen": "30372fec69a1929ce6eb5fded8d23ba2604fd68f", "comfyui_stable_makeup": "e9b8fc7aa0047e6f81899037cd558bd4caa80dd1", @@ -4352,13 +4378,13 @@ "conditioningnoiseinjection": "339c3be4ffaa67a2807e86112a2143620d878b6f", "conditioningtimestepswitch": "89543dfc168955d3e7ac3beb4cbbea6c18b8d177", "confucius4-r2t2-t8": "9bebc7bb09b2426c43af36b72ac7377f144ac852", - "confyui-node-prompt-stash-saver": "591aa08da43a510fe0d2a7579c4608c87e577668", + "confyui-node-prompt-stash-saver": "eee485b70cd7a4bbdb26bb159dad41b7749cd6a7", "conjurer": "e0d7fa1e42f3fdfa4d638a3ab70410d35d71007c", "connection-helper": "a917f77bd02cde5aa67f427eb81e8356fffbc98e", "constrainresolution": "c385f389ee53cc15cd7f92edb76c1b35f45e0ba7", "content_aware_tiles": "c7ce77026b780b54d2c4a2d213a75aa441fd47a8", "contextanchoredtilerefine": "905445f6eeaab1ae3fcfad061c64249dcdbb9fce", - "continuity": "3146741a2b19768754bf68f8450fb3a4ad6455f1", + "continuity": "5323a2e89844c44f7e0cf7f394f94b026b52c3c7", "continuity-metal": "5fe5421ae0c784a18ef402d80f28f805aeacfb04", "controlaltai-nodes": "721492b66c9cede8ae23ae10615462ad80cfd061", "cooldown_node": "8fc58271840b15de61fcc2542ff8197d89f00324", @@ -4386,16 +4412,17 @@ "cui-lumina2-teacache": "b3ee192e1ca4635c59781d99383dba8316a542da", "custom-gpt-image-2-api": "6941e81c0e133a6e2b2a77e1f100718165c49977", "custom-node-color": "0ef05d124318f80dc6c3bc928c7696af5a963a19", + "custom-wildcard-prompt": "27c223eb88f24450db37948ddd8caa8d3ee8b575", "customdia": "6a7e4d671d9e719f0d28fc723fbf7da35d6a534d", "customweightselector": "d99bf14c461bc8b5484441d0516ac5c5117d0e41", "cute-comfy": "3178c18891a50dd147137e1c2bad1adc1a11483f", - "cyberdelia-quantizer": "24eed26ea82f9e6b2bf75c0fa68aa8b870ac8f83", + "cyberdelia-quantizer": "11b097894d6aa3a2026eaacdd4c2929e302352f6", "cyberdolphin": "482fbc7269324aac6d806bf3f72be6c0da81baab", "cyberkrea-sampler": "53777c62ff48db882652b92062ff70e042665b18", "cyberzit": "adae89ad9b43522ff324e543951ae880764dde3b", - "d2-nodes-comfyui": "8f1fbf93c7425fb3f32d393677ea15e6611678fe", + "d2-nodes-comfyui": "eb966b9f38e816d84b584b05de45ef678fe7c0fc", "d2-promptselector-comfyui": "98c52299a41dad393de4882d7a36f9c997060d51", - "danbooru-tag-jp-assist": "f7ec1512e26ca36f306af063ce85fa61c6186036", + "danbooru-tag-jp-assist": "994877d0eeaf7219f021bea444b0a008e3c7ec70", "danbot-comfy-node": "175f9ba48453af5922f5a513e100ca18e7a92c0d", "danotes": "cda964ce7597748082ea254bae23d020e2aae628", "darkhub-prompt-library": "f0ae445e24063287616d9bb6cd01f2eabcc58dbc", @@ -4422,7 +4449,7 @@ "demonalone-minipaint-comfyui": "a83c4e69ce2c98a41c4f1e9016db64913deb8ee2", "demonalone-nodes-comfyui": "db373cdfacf57454e6bd870a586ac5217b466800", "demonalone-styleselector-comfyui": "5efa1b9d1b19153f647b8e7005cc927bd17bf236", - "deno-custom-nodes": "0cd75f47be68bc2d5fb120d250d2b74f460c0c09", + "deno-custom-nodes": "cede99b76152c05a0e0c98ae95e1f4d0ccab5700", "denrakeiw-nodes": "701d68a18d8330b9ec820c72169b6c39a4b7ff80", "depthMapOperation": "e83b8b164b8f242128a53a41ff56abbc23eec33b", "depthanythingaccel": "dee1717b40fa1f4f3b873c9f3ad32aa3549d9da5", @@ -4456,7 +4483,7 @@ "dn_patchflashattention": "b005549ad33193bc0e946c9389de792dc767f5bc", "dn_patchvaeattention": "e0064b0782900c08c50a2570210545ba1384a448", "dnf-pixel-perfect": "b97610629e8208b5a8ea9cbeea44007a529e585f", - "donutnodes": "b48bee940d52261adf8ed40877f95717aa4f7b4e", + "donutnodes": "0879a6db55ba49908f3290b074d50e03d193f3a7", "doomai-nodes": "4522a46cc33f5893415783fb40c1b32e91907071", "dora-dynamic-lora-loader": "51c44419bbe3bbdea2d7ea080e32bd61e9f0fa38", "doss-node-suite": "bf925874e9e2c6dd72de6dec8251280e9e740826", @@ -4501,7 +4528,7 @@ "echo-memory": "194be716aedaa84d9bd377740d6e6d9c32a309cb", "echo-wm-t8": "752bd1af1c3e72614254bbf9259e7f33f80d7753", "echomimic_dl": "e6210d11b7c02020f6aec9eb65225f6cf1e42d6c", - "eden_comfy_pipelines": "aae9e4169fc25390310bf0fb29236d9c8e476c55", + "eden_comfy_pipelines": "fb2a3d33f09860629cedf01ff09abd2920d277b8", "edge-match-checker": "e61a44a2751dba6bed83ed3e750dc68e02f766a5", "edit-router": "d5671d86d2bd2c7960fa066d7d58f0a8efabba46", "editutils": "fd87e4c5fdb36032ff129c9d78ee5c1cd6ff30d9", @@ -4513,7 +4540,7 @@ "egregora-frames-animation-nodes": "b52b1a078acab690f579e61043ca4c1ebd1af36f", "elegant-nodes": "44778f639e4f451e7679aa639557d4423f8d8498", "elevenlabs-comfyui": "aedb4c0a90d6749c07339cc7a31ba23248b62d06", - "elvax-nodes": "6607115d001fa6da40955973a8df2e187e93fdcc", + "elvax-nodes": "8a8c98114844858cb4a227c0aabb9339e9c17173", "ema-lightning-tts": "e86a966c831935e9d8075814ff9cf15d0db5120c", "embeddinggemma2": "21e54febad9658bd7e9f6d92e2bcbb68d8b1ee4a", "embeddings_curve_editor": "527c1d4edb903ffd1ed83d68515141eb2385ece0", @@ -4531,8 +4558,8 @@ "erax-wow-turbo-mw": "ae7132ad03b26e7022f1e095c4d1331d8164720e", "eric-color-correction": "10755ae92dc256a3f9863fcfb487634a7761bf0d", "eric-composer-studio": "f7989e751d98b9c8004c36b88572dcac56ef5ce0", - "eric-lora-catalog": "80678a64c65c19b94f7d79f4ca0e6540093b08c0", - "eric_krea2": "e05495f2fa09d755953639e98ff25b518954aed8", + "eric-lora-catalog": "55c2b45e9c95e8d6d9b2d6285828d89d01785d53", + "eric_krea2": "49f82e962ed08331f8fd9c315afdc38d52ec3732", "ernie-image-real-diffusers": "7fc484b7afb0c217ef3fd1d437c1e9753506ff3a", "erosdiffusion-controlnetmaps": "1d7e8abdc1b770d3458a3d41319a4b0041f7bb0a", "erosdiffusion-eulerflowmatchingdiscretescheduler": "eb5bd4dc43ad15becb62e387fa4d07503a4a3737", @@ -4570,11 +4597,11 @@ "fast_video_comfyui": "4b74aa00cc86086cf7712d53bac95da1de2e36fd", "fastloramaster": "6cc9df47060a0997eff69b197b5fdb67f05f7112", "fastmask": "9e5b79f4b2f95b0eaa16bc47446f0bba550e4392", - "fastvideo": "7203b4976eefcd70a52728ca1281797ce96734eb", + "fastvideo": "0d1244a8699d3f2c2bd290e3bb08deed6b1e6e85", "fcSuite": "17b56b59cb9e9a9735a5953fcccf6f20108062b8", "feedback-sampler": "83109bfe0609aaa240ab4b7f7890829a9a370ec6", "feidorian-ComfyNodes": "8c20b542e95c450d447e3a837ec198169c680d4e", - "feihou-toolbox": "07f2a71916d5d7a7fc4b8574f41c2bfdfb89050d", + "feihou-toolbox": "8ba47000b9aeaf6cae6a5ddfab981e668726fd8c", "felsir-image-tools": "a1515e7ca60951e60c4c62014ab82a4cc36e96a5", "fenodes": "33ff877b7ba781dc15dad48babae9cc9d64aa603", "feroccustomnodes": "1f04e1032235095678aac8f40dfe8ab48bb59ada", @@ -4594,9 +4621,10 @@ "fl-pixelgen": "b1e947243c27cf6994d586d3fcd7bdd2fb19acfa", "flashvsr": "5e3a20737f4abad337141779b586c2df0e8c42f8", "flashvsr-plus-t8": "ac60d1e3a5dc0a6a24c4057b672e22b588145cce", + "flashvsr-plus-tiled": "ec8c148b3b8689ad088a6dec88a546b0458a77c5", "flashvsr-sm89-ops": "59c74311b715b0f038854365b799707636236e73", "flashvsr_ultra_fast": "4820b3f02347bddcbbb9a5a85ab7638fe976366e", - "flexai": "a5acb9fd19d46aede95027056a903f1a0d5844c5", + "flexai": "db3870255c27d36f0dcdbdd4966c7fc2c90ce71b", "float-optimized": "12fa95692a528a42eaa1ea5bb610ee6d841e6958", "florence_dw": "ed6ec8cca5a18953949be592e519156b0a2b18e1", "flow-branch": "0edb673bc4f41b0e13c280ceba41929b7d63992f", @@ -4637,7 +4665,7 @@ "funaudiobreezyvoice": "02bdba33da9cc50ffec04f922f816c42215c89cd", "futurematrix-comfyui": "cf1608ea17d6b0e2bf3d221c85cfe14ac065634c", "fx-group-bypasser": "7193c57329b34ca984ab3cf0ce86398eec97e5de", - "fxai-toolkit": "81ba5270675a487af94ba14ecebd4fb907a764a9", + "fxai-toolkit": "e1b43107dc9017afad2719d4c38377d153fc5054", "fxi-frame-chain": "cd62510f6ca98576f622807dc462989e166bac8a", "gadzoinks_ComfyUI": "a1fadd6ad68ad2c498cd5b89722c874fbde835e5", "galiais-nodes": "bdeeb19b58ae9f4217679a2b1d679cebbc140b9d", @@ -4655,7 +4683,7 @@ "genasset": "f9913843d813a871c9ca8f18d3970db9186d311c", "gender-tag-filter": "f9d0cabca4c09dc9ecb7d10b1b3f12437990c009", "general-api-node": "9686836076b44b898a11e06f2765029c96747b9d", - "genereti": "59fd033718315dfd9eb344d172e46c92a1958ce1", + "genereti": "d835cbac275f80c186e07bb1dd38fe968cc3e6b6", "genereticore": "dd9d903bccaa8987f4eb3a7df5ffb82bcbada5f6", "genius-nodes": "80eb6184aa1f6b37bf84e80b15a117a2beb57276", "genkai-nodes": "8c183fcabbf404f46e7373c65aa8d45af0f5d8d3", @@ -4668,7 +4696,7 @@ "ghost2_comfyui": "506958967462193d05f25aad1e2400b7be5b7ebe", "gif-toolkit": "d979953d84fb9dac8713ce95a3a27bc4c3ec16ff", "gigapixelai": "740d24d5f14d4282ed4744ca0af5d61864522f2b", - "glb-face-retexture": "7657b5bc194faf38629672738725dcc19676dce8", + "glb-face-retexture": "ec5557e4a66e30a4fc4454e32665159bc5ccadce", "glitchnodes": "42e6843f266ffd31aa93cdc57b9d30ae1ef578f3", "glm_prompt": "a362b637a442b70857f1f479ae4bffd7343cb50a", "gm-image-saver": "1ac5fdb8d4b78df6241ad17583ccbb889d6c95b7", @@ -4678,7 +4706,7 @@ "google-search": "6f515556fa8a57db84958d68e2b0020eb99f18e8", "google_image_search": "f6953dc75bea3b50f5f233bb55db8a5e0969f069", "google_moogle": "acef6c0aceae96d7003bf49622d5586b4c4aef52", - "gprompts": "0ce95fcc52448f10d84858af39536773c9e66acc", + "gprompts": "cad66db777a5ee12b20956feeab6519fb2998277", "gpt-image": "05aec9eef65c4e17c2dd2f98d760676b3c30370b", "gpt-image-latent-refiner": "b5a10f5c74a523be72aeffd26630a4d38b2a1998", "gpt-image-size-calculator": "d5ee087de62cf775dbba596aff787aee4c4b1249", @@ -4696,10 +4724,11 @@ "h3-audiofirst-x2-stream": "6d6cff08efca688ea7b5336bf129deba42f7d103", "h3-auto-prompt-chain": "084fc432ab68426472c0bddcd632d72c5bd2a0d8", "h3-cast": "62f7ac727ae672fb3c0a678d1edfeefc890f6938", + "h3-character-sheet-designer": "abdd8c570d7b08c61dec84cc2f054f8255e2ff6b", "h3-context-noise": "7e5531233b42dadd19c40d86770521a36508c358", "h3-latent-relay": "054936a5313fe94902e2d7fd672754691beff320", "h3-lbh-x2-stream": "a3c5b370304dbdcb759b1349f56108847d5340e4", - "h3-modality-lora-loader": "2815b711be1d2abc760096e0c9b17a76903b0b57", + "h3-modality-lora-loader": "c1e24b621833fd14b78cef49a6f98f3ee10446af", "h3-optimizations": "c6bc3cfc58c18c3a6220aeea09116e1eebd91669", "h3-prompt-compiler": "f3dcf08aa47a346db72f37262ffbc77b67249b77", "h3-prompt-ide": "c1667471203bc3afd0385e0711230ec968ff3dae", @@ -4712,12 +4741,13 @@ "h3-video-controller": "01e132b11c0df35c3d204fac1d1ea21dd904d314", "h3-x2-stream": "e05e79ab3242abaafddd673e88e19c1824cd863c", "h3vae-pyopt": "5face9697f0170c4e67a39f3728cc8da3f6607e7", - "h3zerostudio": "c471f745cb852d7bafe08fde03908b3885e46453", + "h3zerostudio": "82fd450e5bb509af8e238b4c75871d6e39f8600e", "hackafterdark-nodes": "04ff165c2eaf50860ab4628ace40946638f93a1e", + "hades-anima-suite": "f617177c4273eb48370fb8199acba46074b2b113", "halxp-comfy": "dac746d0a75a7e21cc23ab22bd850c688b6dac86", "handy-nodes-comfyui": "e52751926e2380c697b1509b3b0cf5cdb25c0d7a", "happy-horse": "f5e8646e75efa367aebecddaec4c2d54946193f6", - "happylatent": "409b69162acc94dbb5116f46425d2ef4c766f727", + "happylatent": "bf1189af9e70474f97f0ea6d72d9a6bc1e4c0f24", "hash-phrase": "871812e152c66e2957d2e6d5d168756d3ad16304", "havocscall_custom_nodes": "807116100d14289f5f8d9cc4bb5a8c252458a273", "hayo_comfyui_nodes": "3a4c6e298f7f89e2a499ef955ab881d5c480a8e4", @@ -4755,7 +4785,7 @@ "hunyuanvideo-foley": "b7fef4f116505ffabd64c0d92d759a361dc2c913", "hunyuanvideo_1.5_plugin": "3d890bcadbc05cecfb3d6e7e0f78e5401b8f2a9c", "hy-nomas": "712614ecf1d57a7159f9ab96b7894152f3195a26", - "hy-nomas-t8": "7ad544db8a1d95ce40312066bd156e404618511d", + "hy-nomas-t8": "fee324565492a307ddac82cc2459f6f1e9b410d7", "hylarucoder_comfyui-copilot": "03e82a0df73433ae5941c9288f80aca1f4159455", "hyperlora": "108d4c32eb6bb77d386a6fb1a3d05d6826df8bcd", "hypir-comfyui": "b8a7b264799728b93113e214ef9a5acad5ae7831", @@ -4768,7 +4798,7 @@ "illustrious-lora-tools": "a7ef50e289683e98619fc7a6356fa1a5ebf7db0d", "image-batch-audit": "30e865402e302d7973a21b9f3bc91df47ae8e739", "image-batch-cacher": "3ac1da3b1c685899638dd013cceba8968c00fc21", - "image-bench": "f275f040088404db17e76d257909379847e15701", + "image-bench": "6f56e9bb43affb4f59fccb6090746aefe90ebe3a", "image-block-glitch": "af42b6f08e198db434260df129bc3efcb45f5beb", "image-browser": "91fcaa077f2d2f0449ad41af3fd573b3ae9062b6", "image-caption-comfyui": "746095e17079a55e1c89bf38ee66eadc625023fd", @@ -4792,7 +4822,7 @@ "imagegalleryloader": "0c8869334c810213d1dd9ef8370befb5f57cc813", "imagegen_toolkit_dev_utils": "40a9fd4af7629285da13aa96ba17bf27f7fed908", "imagemaskpainter": "763d15827fb5b462ae9aea67c7a261f1c48eab57", - "imagemetahub-comfyui-save": "431a2c9956e2d9e109934d22aed1430ff692767f", + "imagemetahub-comfyui-save": "21bea866edfd3fe53e9faa225b5b94fb1bf3dcf1", "images-grid-comfy-plugin": "acad7c4273b5ff50b0e43d600b658dc01b71eab3", "images_base64": "b662516166d6e2884f7168c9840d6a2370073c08", "imagesentinel": "3cbab0eef8c8bda7b647dfc754ba644c44357e16", @@ -4801,6 +4831,7 @@ "img2txt-comfyui-nodes": "80e638a4edeccf6ddbea5711ca64f1855581e938", "imgloader": "979149191ce3498c8fc9d6a453b1ec150f7cf024", "impact-bigdetector-bbox-segs": "afc722f310271dd88c78e541032c63804625e654", + "impact-pack-cycledenoise": "be2df209747014d32ab1c9ecee4816290ef41250", "import-to-hydrus": "a98aedab58eb37a6732c8375b2ef43cd69d4177b", "imprintai-provenance": "7d0444899da166d69d94aee5b7b901d91b802c48", "index-translate-t8": "5beac49cd0f8e125f0ca00cb5eba6bc2b7ed265a", @@ -4822,7 +4853,7 @@ "interior-design-for-comfyui": "2b686b072c6499ae97cd5c46719d7c1f8c5e18be", "io-helpers": "411aafdb586eb26b207ae92263a349f290f36c6f", "iris-3b-comfy-nodes": "d176b2b93f89449a64d453bad2fcc11b84b7360f", - "ironleo78-mtv": "0fa1405121e7cf22db72ade553d29c273571a280", + "ironleo78-mtv": "18879b96ad5210b622ec52d1091ec2d7f3baf543", "isekai-comfy-node": "f839cc5c5b600c9064a8fd581ea5c3139c409874", "iterable-nodes": "8a0aafd1813707d86b27026532f3d3b2736bef38", "iterator-nodes": "46e9eef95cafeffe46e21658f21c670f3bb1cc21", @@ -4871,15 +4902,15 @@ "kiko-downloader": "510ecd32dfb23ebaf53aab261d86535c3b7152ec", "kiko-prompt-builder": "53238538b9197732250a9d24d7ae4a551227883f", "kikostats": "7ae6c9a335696b19411fd9b68f98b9e053f6c8cb", - "kikotools": "6a4b9513d05c57452dcc626ae529a487c835bba5", + "kikotools": "82d7243c42b86e93149d625cb9ade1796c13aa2e", "kinburg-nodes": "0988f349a571ac5f7d3baaa9e0e277d45106f6c6", "kingzcheung_ComfyUI_kkTranslator_nodes": "026262cd30b1e1992eadd2371c8fab68e3eda2e9", - "kittentts": "ef8feb481b9e313a6e66b366e502778c1a5aa4b3", + "kittentts": "89d2b72d6153cfc81d095d85021012f579fe6eae", "kling": "3b43d6a1861912aa607b8c0b87682dd3a7f3d931", "kling-direct": "0334d794c1f0d37b4a719547faa7f493c1efc70f", "klingai": "a923aa2f9dc6063fab6d66af2cd191fab7976eb6", "klinter_nodes": "09a3a40d6eb401a33eafaa42d35301874589248e", - "kohaku-moss-lowvram-optimized": "bd36ad9826f725aad89084c32307a2a36209acb9", + "kohaku-moss-lowvram-optimized": "5fc5743ab700568ac1c6ba7b0334b54bb2a38605", "kokorotts-zh": "810a4e102cd69630216390a40e4ebfd4891e91b6", "kokorotts_mw": "bd7473481b6f13aa10648eebe985487e4783b221", "komojini-comfyui-nodes": "0f5b4eb08f5c3823ba32228d0b58155feffc0986", @@ -4890,18 +4921,21 @@ "koolook": "229457c05754d4c95426a7ed0a2ef768499b68aa", "koukoutu": "2fd9dbf71f35433ea2a70c9a84a016caff1b8e41", "kraken-discord-bot": "d5821de066fdef42275cc6cb68c8c6506ab570a5", + "krc-nodepack": "f219fe3a96fa2d89fa475439c2dcf9eabc10dea1", + "krc-nodepack-extras": "cd83e7b1c8b82ca2d538aa17bd0862269818795f", "krea-2-svdquant": "56adad3ae84085039d0397da2d289f51e39b1c76", "krea-seed-variance-enhancer": "1515d23a5b399a44ccd97482e1105a43937268ae", "krea2-bbox-prompter": "7f6b61d151d52ba980bd5d92ec094cba52f4a633", "krea2-nag": "0afb38dfc4ae4040d621ac5a46e1761b83fa2a43", "krea2-negpip": "bede8b8978f721a20711bc763fa68280dc4ec232", "krea2-pixel-art-refiner": "0b01ea37f1573ca26a8511337e7d9d77759ee2c7", + "krea2-spatial-composition": "11592055ed92632003eda8d43e23cfbba48f670c", "krea2-structured-prompt": "68b50c94b8ba33ecbfe0e732507888501a84c8b6", "krea2-style-refrence": "230f5043e43217e35e9792459f90adf8727d5cbf", "krea2-twostage-sampler": "df2692f11d5227b440c501b1f22ca5c63987530c", "krea2_scanline": "f0cc98097bac6a9abd0fc91e794e6ea3fc1c85b7", "krsnodes": "6e38f36af9d04508fbbb304d6bd2ed0dc02415d9", - "kruins-node-suite": "9c790d9b6938b2bc624155816eb8594f8b851dab", + "kruins-node-suite": "7182be9a5998d49cf22e77bbe8437d7dac51d3fe", "kruins-pbc": "9198f860f89bff5a7ad3d3524302e45de83f5e54", "kumiho-comfyui": "4076306f64a95b2ebb1de0b68f74a1870c727b1b", "kurutai": "cb20317b40454b4c8c039a189bc97414dfb155cc", @@ -4934,7 +4968,7 @@ "lightx02-nodes": "8d34f51a36fe87be450b5a624c7c64c91e3c8692", "lightx2vwrapper": "f8442f3feb5c44d15877afa555661782faa45f63", "likeshare-image-obfuscator": "9eafe3bc54131ee59c286106c0ad6109c8631228", - "linkmodetoggle": "7df719ea762a9e6a864e328893f037ea35265fda", + "linkmodetoggle": "9c5ea89d283652e40fc6e4f0ff97ed0dc7be69a7", "liquid-inference": "64be065b5f38ad1fa4ef502f9fb1d4e2531690d7", "liquid-time-interpolation": "af3177539147b935b31ea78010fb2c2fe3b31f38", "lite-text-to-file-tools": "28f4b35883408d2a79f1bdc3970a4df8fef4d957", @@ -4963,10 +4997,10 @@ "load-gif-as-video": "1bef82f483b3e1d7418b5598739bd45658ebf6ce", "load-image-and-display-prompt-metadata": "3e429ece1fc6520ddf6dfaa0fb158e60c324061b", "load-image-enhanced": "1906fe30da61daa03f23ba65544802b88ce8a868", - "load_image_recursive": "f3d8f41fd134bde6e0e6ae26bf64a32966fadcc3", + "load_image_recursive": "b93f347e65b184feb64b12091d8dd5b0f6840e8b", "loaderutils": "47fba8481c65ce399e15e256bd7f9a2a868f4a2c", "loadlorawithtags": "cfc28d70e362695b001854172013bf643e851313", - "local-gallery": "0d765d54ceb4b87cd9525bd79088989c19394c37", + "local-gallery": "25d7e7436f91c8ae92e8e70785124aa5bdcfb3f1", "local-ollama-translator": "f5e1bb85861fbeb7b01706431b7d9b0f43f67539", "local-translator": "ee3587d8fc311f98841b6dea6c8fa599efe94131", "lock_previous_value": "d7baf869bbb8221c203912e3fa7fd3ac3cf688e5", @@ -5001,15 +5035,15 @@ "lorautils": "db6ba9fb6ba4b771461a87f34b4c13730198a3eb", "lordgasmic_ComfyUI-Wildcards": "c14cf0919f2fc6def75c7b34e954e22fc9c5135e", "lostless-nodes": "2ca6404b2494b0adc9729701a9ef8e9ae6f3bda8", - "lsdub": "75a949ea88d3559f5e2f253f2c440e4f0f2cbf2c", + "lsdub": "65fcefc861c0e0ca10b36cdf1bbe93bf55f28f83", "lsnet": "1f1f12d4103fd10c6f890ecf197a0e280d1979d5", - "lth_extended_prompting_nodes": "fd7639f477050e5c25b68fc38a9c2a6b6d988211", + "lth_extended_prompting_nodes": "17ff1dcce963bd9f23095ec9b28febbfc4db8388", "ltx-audiocaptioner": "673fdfd0e71a40d363dd997d6398129b93cafb7c", "ltx-director-motion-brush": "2f49deef7af11e47b13776eb16b795f95ba717be", "ltx2.5-msr": "03061c18f8a79d26f3c63931dd8e28f5e5d872a6", "ltx2_sm": "ecb0ef83ac9cb4b2e5877aeac8b8f83d11a421f6", "ltxv-time-gated-lora": "bcba53e34462bb4deb05fa978f97cf167dc0c340", - "lucid-vrp": "88e20d8252f7d22baed99f1605c8cdba9255f8f1", + "lucid-vrp": "80d808b512cb608cfabbcee6816210ca3ddd2d39", "lucidflux": "61b0fbbc15a08376df005101323d02ef88b711aa", "lucidnft": "ea1d2d091f9ef5478d5687622a15abc4db111c9e", "lukutar-nodes": "80e5853e8c3394331f3ede00df17325ae25fd234", @@ -5020,19 +5054,20 @@ "lvo-node-aligner": "1aaa2c79376b91f85f2c77b172f467b608b9bbb3", "lyric_align": "eb65c57bffca4fae3414c07a8f5d5fbebe39f3fd", "lzits-nodes": "8d5e18e68cabf8d64adec3fcf9adfd7c88698b92", - "lznodes": "6b25e758aba11ccb933bbcaedcec6560f6e00c21", + "lznodes": "fe2c6018a3f73566e8697274b2eb29563178c075", "m3-ircontext-leoleexh": "a2c7f8dd68a4e3567ae0bef84d0f805ae69a29d6", "m9-prompts-comfyui": "ad11b5f4863f1e9edbfac44445cefc30b1a514bc", "m957ymj75urz_ComfyUI-Custom-Nodes": "606629b510397ddfecaec18201f5e795978b98e0", "macronodes": "c2841686ca63378b10dda1df51d565bb43ffe357", "magic-assistant": "76ddf283afa0bb5399ed4f232d2a3f78c46caedc", - "magic-hour": "97cf248bb474804ecefa08873fc5e4f83cc77ad2", + "magic-hour": "b6b7921299b95fedca82e0a7166f6c3829f20062", "magonodes": "63e0307d59ce15341f38f9928f66e0f3e91a4709", "majoor-assetsmanager": "599b47dfc1657b28d73ddf62076942e02776e55c", "majoor-imageops": "a4154ccf05c0334d13d11abafab5bc0a49677d05", "majoor-omnicam": "e720a05143a3c2ed42f796bf0d4c7efefcb3602e", "make-it-animatable": "486409c0843b66bd548a787516f0f987effe9aa1", "makkitools": "69dcd6496b3d1d49b3e3d15556ea31b4f2fb5e2f", + "mambair": "3bf93931bed56c38e1382d44ae0a3facd818fc24", "mangonodepack": "be338f85ec6fe9529f28386db1846a503fecfea0", "manhwacropping": "ade10a82c644a0c351bf7d5f13fa307ee43f9cba", "marigold-v2-tiled-depth-vathography": "86b15c4cb78c7b47dba08e11236a8e5b15d0aa2c", @@ -5060,7 +5095,7 @@ "mediahub-cloud": "aa250502ff59d65cac79faf4e91ad4318981563e", "mediakit-toolkit": "0e52c3e5c857a5acd9d9b6f5f46505d750c8d5cc", "megatts3-mw": "bad7ccb58afcf0d8cedc45dc901ec1f271a175ea", - "melite-audio-nodes": "aee650591ab2204521eb48ee8f61b669ea629d8f", + "melite-audio-nodes": "58c8afd47d863c9c7fb7f58ddb70068fe7876897", "melite-autoremesher-nodes": "bcf4e6bfd1e89ea8fa30b17b2fad0cdccbd84fce", "melite-autorig-nodes": "add7154fec4d31c051b881cf5dae5be34fe1560e", "melite-kimodo-nodes": "6685fa7f07706bf637d37b3e50ff1529f2408bfb", @@ -5070,7 +5105,7 @@ "melite-sfx-nodes": "580a72010b2ac8841332b99b859e8da031e2ee87", "melite-tts-nodes": "96f07c317e7bc5f377fec1b5c3062521350c9285", "melite-unity-nodes": "53f6e44f96a3d6ca887f3d789131afdd71983fb2", - "melite-utility-nodes": "555f12ec70e8f3e7762b7554e1739c6e7875efce", + "melite-utility-nodes": "7ba44fb6b59b18f6f16389656e676f2790c44ecb", "mememage-comfy": "940bc7ac405ce112e1aa0cba225300adceeb190f", "mengbaoai": "9a8ae548a71d19e36858c90550485114b76accd7", "metadata-extractor": "466baa1f313784a67f676c5be195dac42dba7059", @@ -5088,14 +5123,14 @@ "militanthitchhiker-switchbladepack": "cf57de2a4195298c56eaf295346a1b14cbb57090", "mimetic-a0-music": "5e44de6ac15b24dffc22a8e4799647828320e94b", "mimo-tts": "2a30d6a030eed48c0534c6ca9e9091a26072868c", - "ming3-tts-t8": "bc385161cf9f59ac7a6e57cb0f08820e14519c60", + "ming3-tts-t8": "c01c669d3f8ee65d80626fe4bd12fb26553932f3", "mini-nodes": "9f36d92cfd97a6e67bfa54d0a5b726a12880e254", "minicpm-o": "709469aac6c46f2a42903601014d2104a4d7d105", "minimal-workflow-image": "898fd3f2d1478f13533537eb87772d2cb7f3a060", - "minimax-creator": "3146741a2b19768754bf68f8450fb3a4ad6455f1", + "minimax-creator": "5323a2e89844c44f7e0cf7f394f94b026b52c3c7", "minimax-director": "dc38ef9c5ec9f905e81d548fa14ec7aff8f92bfd", "minimax-h3": "099aa38c122cea030ce45a51eb1d83208b16a363", - "minimax-h3-audio-t8": "71059af042f33de6d86749abfbc602cd1cb7cba7", + "minimax-h3-audio-t8": "3a23f333537d9a715aad7ce79af8d9ec891d9ad8", "minimax-h3-block-cache": "317f6abb1f281f0d7145d9b58f6dd70463b091fd", "minimax-h3-block-cache-t8": "36336dcee1ecb49a5ee98426456aeb353c8535bd", "minimax-h3-chunk-star7": "971bbe0c8f0e75eb160a96865e74823096b93a98", @@ -5115,7 +5150,7 @@ "minimax-h3-prompt-enhancer": "66858ebd55a52924d4b113fcd518726b2038a77c", "minimax-h3-prompt-rewriter": "cedd084f783bcb773648ba5ea3710d267bbc3261", "minimax-h3-sage-safe": "444426a0839caf24f84ad772523e4f7f7508ff3f", - "minimax-h3-seedance-music3-prompt-enhancer-t8": "6cf6610d503320b4fd0b5722ec4058ad4bbbc3da", + "minimax-h3-seedance-music3-prompt-enhancer-t8": "e766ba302558835acae143d9b09111e5e00ea924", "minimax-h3-semantic-bridge": "0ec72f44598d4a9d54541fd7c967f6ba34829aa9", "minimax-h3-seqattn": "e1627c03cf76f8ea5d2ade18580bc7b30599b811", "minimax-h3-sol-attn-rocm": "85326e18e113b062cfd6b1a0231a0ca7fd6b2eef", @@ -5127,7 +5162,7 @@ "minimax-h3-w4a8-loader": "ad1d4e072bd2ed5eec1d30d07ec390f327a3af52", "minimax-music3-semantic-studio": "b9b3665b8af6d2b4a52a04ef16ae2a122d401821", "minimaxH3DYTsc6.0": "f93d6c2539f1812621847cc9d828b277d2db5caf", - "minimax_h3_novel_pipeline": "85599928e1dd4fb7b78193008213841c5de0655c", + "minimax_h3_novel_pipeline": "31c6ade2ca35044072bc82e3b75d94ad7a0f459c", "minimaxh3-clipcached": "507c1ecd7c92439134e097e0fac34381340ab8c9", "minimaxh3-direct": "0d1c72b1d80a54237b40adb111ae74d7fe38f4b4", "minimaxh3-director": "c88655a12a09e3717628d60cde1ceae85c56586e", @@ -5140,7 +5175,7 @@ "mm-comfyui-megamask": "6ccdc6897af0628d55119bd228c07ad73b5df01f", "mmuuai-group-bypass": "f853d945738df473a1d2d4becefc5bbae5ccecd0", "mmuuai-resolution-selector": "52de86623b21e82fafcb410c56bd0d42c1f2a311", - "modal-sync": "39364494e72bce54653cb01c995e6c96567a1bf1", + "modal-sync": "87cd5064102cb42fcf2b158dc387e9d42844d6e7", "model-and-prompt-from-metadata": "5bd5b9f31c741b828ac815ba7e76c26c729a692d", "model-phase-sync": "e6f7f5a9d28e859f7680d7dc5d0c94d0be4f4a55", "model-usage-counter": "4599fac93a7bf565524cf67bbf3a22a5bd577df4", @@ -5153,8 +5188,8 @@ "monarch_attention": "df72b909538bc1ab5f08f68532e2ad164f511c76", "monarchrt": "8416fcd140813a13afb323c6a72d8a76ff0c830a", "mood-site-upload": "b16c591d998f1ec6f12fdaef575437d1a12649bf", - "moon-nodes": "72b3acacda4fc2b7a46d2548e79ad4aee11ecad5", - "more_math": "b183898e4c4dd0a9a9ad00df9f67be74bf8e4623", + "moon-nodes": "2da5d314aedb0398cf41d72fa26ec8bcad1d101c", + "more_math": "ae15cf5d2289955eb935af87327e5667e3e48717", "mosaic-blur": "007acb074a77b8472bd837704442e4056d9de7e7", "moss-bbox1000": "d62b55d4447600609897c589614e292a6f47be72", "moss-image": "2b46b1e0e13b5aaec253879e0d006a42564b8b27", @@ -5163,7 +5198,7 @@ "moss-image-t8": "c045ac07e48b202d8f9df76992b8446c0cea663b", "moss-layout-ydr": "a4f55ff98577c430779f712c4e580aecf07bf941", "moss-soundeffect-v2": "2d19599ca8d28689eaf9ce07691b45ba72b5c7a3", - "moss-storyboard": "f3c1fa811ab86fda9dbacecc341716270e976dcd", + "moss-storyboard": "11b58a3fcf32adefecb056ab89e00692025b1bb3", "moss-tts": "1da883471016249f7f0af361dea23a3773451dda", "mossimage-bbox-prompter": "c7a578ba490e2bcee5e41f436fa9d91804a4a333", "motion-video-search": "6b98d981dcb0fd1eaf7cc6aa471c0607ec5dc1fd", @@ -5205,7 +5240,7 @@ "muse-minimax-director": "c9d01f903c60137e07bbf7412a748d79531bbbe2", "muse-minimax-director-seed-hunt": "d07e8408f3809af7d1406a653da3fb44152b0af6", "muse-minimax-director-v1-2": "2f1e6cece7317fc3a2b7ceb3219ab7ad16587012", - "muse-minimax-h3-unified-loader": "6efcff3a73593966c8ff4194545bc3e8f0ad15cf", + "muse-minimax-h3-unified-loader": "7d92d566bea38533fbecb4e22f5b752d7fd8c97a", "muse-minimax-refine": "e46f0aed164f037bd76dc3b28a77df04df4440b3", "muse-run-stats": "2466949c90a05fb97291997d91d609ded5313fc1", "muse-upscale-advanced": "529639fca831f9e2787984b64952c345ce3a36f7", @@ -5230,17 +5265,17 @@ "neons-style-explorer": "00525c6c1dcebae042cf50504780f20c2f2e2e90", "neural-underground": "e246e966a0df1f91122b6a2dea7fdb9af8ca02b8", "nf-suite": "09651025adf7f566650eb023cffd9cce17c20b24", - "ng8-metadata": "9ffab8910af9852b5caf72b99bd50c220054992e", + "ng8-metadata": "abc0aea32668e90bf20cbcbf12bfc2b20d55ad20", "nh-nodes": "7b60ad5bea36fc0879bfa919ce821569eeda85c4", "nilor-nodes": "08b953f40ff6d327a4a0802e0d0a24d733c5c706", "nimnodes": "59a7b812c0a9cfa1147815a613f3f4c8125d0fbd", "nine_image_compare": "96b3998d9f04c6b8463387347ac59f78a1ff0dcd", "ninfer-api": "2491539027b7e66bef73424b53fd34423f7a6866", "nixie-timer": "61d10e850a2706ce0be4a070f34b2295624c22bd", - "nkd-sigmas-curve": "b76bad938b0094c85927c06f1663e87c9aef7906", + "nkd-sigmas-curve": "2b0d8f8ded36eaed2b331e8b70261fcc1f877586", "nn-custom-nodes": "05652aeccd720e816b5afa61828a537637b1a057", "nnt": "baad4aba273f65f52868e060509c2e4769ce4ee9", - "no8d-controls": "929a02b14abd46856e56424d859c30de09965a30", + "no8d-controls": "7bb3389066b419716020dc7cbcf453b356424e64", "node-550w-media": "f66c5b629c12eba768e60538bede11cdb862e666", "node-550w-media-cn": "45b30fe49bbce7fab08a24ea2f6ad9c304a7a09a", "nodepack-test1-do-not-install": "079dc0b4d1bf95f37a09ca98f5832de81aaeab43", @@ -5252,7 +5287,7 @@ "normalstodepth": "b6cc171e73ee517d72686a24a4426c1cc3e2378e", "northtools": "5872846bea8cd1d4c98379f140ea96b27ba7616e", "notagen-mw": "a2a9f67c844663590c98acce18c39d4f7eb2f73c", - "nougan_nodes": "0766484c8a7432ab24fb0e6124df5402025bafa9", + "nougan_nodes": "f6b0a65bdd14b7b68b92fd8ca428bf61c6828af7", "novelai-cloud": "a487617d1d7e69ca1690ce4d893520ce0137bc1d", "novelai-genytools": "e3c99d8fe957a3f4e1c11d9d6d7273ab3da3020d", "nsfw-image-check-comfyui": "26cdc1d88d2e3d2ccfc94e828cc64ff4d7caff75", @@ -5328,7 +5363,7 @@ "paint-by-example_comfyui": "1704eb4ca48a12c76d2d9f1e859d083198431aea", "painting-by-colors-generator": "794bbfc4275b583e3967f08394cbe3564af5eb67", "painting_coder_utils": "d4912da93c0a8b8a89649424429863bda1c269d1", - "panorama-stickers": "ef900eb1a0e5b4b104a562ba91ae744d5f22608c", + "panorama-stickers": "8b5f0a83dc42307f28629731f2fedc90f1010c88", "parakeet-tdt-mw": "e7c174eb8bfa510a6c08408ea4701b855c76fa92", "path-generator": "ca3de2aa63eab9c7a33ba87480b1cdd02b0b78e4", "pause_to_mask": "1ea660d45699dc23677daea0a0cb182430dca9a3", @@ -5351,8 +5386,8 @@ "pixellatent-mosaic-blur": "ea6e4d21b81e74d1f7fbc2c18d037d23afdaf6d3", "pixeloe": "7ce444b36d3876a151d845d4493240e904454d89", "pixelsmile-conditioning-interpolation": "5d3419f383d64b13bd8e0db7c03bd5dc655b8c65", - "pixlstash": "f7991e3e4187a8cf2b5a9ddc03d4fae418f6cbcc", - "pixnodes": "63d2db64ceba87da4e54cdbbc3a969f9c2a6c1eb", + "pixlstash": "d0c870894bd4aa77fcf50fa28f67fba12562307d", + "pixnodes": "4fc6f2f8bf877e50721d4966fdb8b74b26d95f4e", "pixrestore": "31181a65a12cfd61fe540e89280e4ceb74fa5656", "pixtext": "3ba8100171ab54ce26271590332ddb5481664d7b", "pk_load_image_paste": "6ead88be1090651734329e61db7c19acffb69dd1", @@ -5367,10 +5402,10 @@ "png-info": "fa309c2af11a2ec4a35a2708e607a688f468796f", "pnginfo_sidebar": "aca5523a5057a28e2b8b9683283dd69fadc30186", "pollinations": "ab2e060f7a3aeec9abc1f5e3c61d341ba657b36b", - "pollinations-byop": "743010921c000147e84606328c0e8925ae65d66a", - "polyhedron-lora-stack": "262775f1868636c8cb59dba68af7bf10f3336126", + "pollinations-byop": "8c0fa35be7daaf0fc1265638d582747ae4558cc5", + "polyhedron-lora-stack": "103febd8e092ae6b6870011ba0926b9533dba6d8", "pond_nodes_v2": "7131183850857d96048420a1f5812aadd1403178", - "popnow-comfyui": "c8cac24c79f78dc4272bf6f8948e67984d338ebd", + "popnow-comfyui": "e0d9fcde3924dc6734aac6b56c276a703efd68be", "portal-endpoint": "2d2b262c801d62c83111610c63106b339269af30", "portraittools-mw": "ed35f2df22d24e9f09c1f7527bf3330a5952eb5c", "portraitutils": "48f2accdc58337023a533e8bbeb558dfb8f6f125", @@ -5403,20 +5438,20 @@ "prompt-formatter": "6318f44b80a268e03b62c633ae1ecce8ca385dda", "prompt-gallery": "0e2f08fb4c20347d11c2e0b663d324fab6bd448f", "prompt-generator-comfyui": "ccc4d25a90d419f3b97a26886a3a2b2e14864b9d", - "prompt-manager": "3a182253ebed9b9c0acbd6587ed75484cd839c79", + "prompt-manager": "43319e7330ce7f9c1e84d3da68316cc2b997bee1", "prompt-manager-meet-ai": "7a5297af759c1fe3d256c32fdbe61e82878dafa5", "prompt-palette-f": "6090b9e88a00cc10ee35e25eebc29e9167f50849", - "prompt-preset-manager": "60a85554707d75fa5f8cf971ae958b1ebd6cf103", + "prompt-preset-manager": "fca143915f28f0ac3e412ab35b81273c64a2beec", "prompt-presets": "9e2453b62e3c64740fd478cc862e87dee2a740ca", "prompt-random-choice": "ffb8f1e32fb47240003f1c9cdaa522f0cf1043a2", "prompt-rewriter": "03dee8dad2f9dea74903623715a4859d90ac2b0f", "prompt-studio": "648505569300578819456edfc2dbd9436b0e5578", "prompt-studio-suite": "53e4bcb6f4dea951fbe9084b32d9008b8abe7736", "prompt-templating": "29b5d91b5ce82607d01263c8f23563ee9fe76b17", - "prompt-translator-manager": "194a6a8206c02aebf519787ad3479d51a98f3249", + "prompt-translator-manager": "62c90526dba7ba87b33073e70d53e6018c244eb4", "prompt-viewer": "66c5c95c07e57e07c2905af4cc16971c6aefacd6", "prompt-workbench": "855c0b37b0743ea8eb3c5166bf905e7685c6e586", - "prompt-writer-grok-api-and-llm-gguf": "15d299e9792f7799d23c62deecb3ab86cc5f3670", + "prompt-writer-grok-api-and-llm-gguf": "7890a1160cb88ce21adc52350c2a6dd06b481083", "prompt808": "73af95ed7ba1cc77b9165d9e3930dc69ec0119fe", "prompt_collapse": "90f114a524591639b0c7091b0d5b3df6761f137d", "prompt_formatter": "47d29099fbe96f9fd5a9a5a97ea68877c66199a9", @@ -5428,7 +5463,7 @@ "prompter": "b690ff20ad4c0f686c15ed577b4b21eaaeec7aaf", "promptgenerator12columns": "833c165b69d606a515ff8c6679193df83230df14", "promptloop": "09b1c322f3164f96234909ee2795c2da764def08", - "promptmanager": "a4a7b7129a279a9a72db7626ec7e85d63b008fdd", + "promptmanager": "bf2fa3f50ecc8ae2b520dd42d4c37e39a002bb7b", "promptmodels": "71d20a40556bb969abd1a13c39d8cc9cac8a84ce", "promptoptimizer": "bb926c9000997f22cafea96506bff9d53096eeb2", "promptprism": "46f6a32e531764a5d9989e704d995dde69d599d6", @@ -5452,7 +5487,7 @@ "python-interpreter-node": "bce2ecce7169f9434f71e63fb6f0da4370a4249f", "pytorch-nodes": "fea2f21e3ac09c97c0eb8cd6b66650a84a54b959", "qalign": "dfdb9b375115af0d39d828cb35b91109dc3c4c55", - "qbb-nodeops": "ae1708a8bcceea14722d656618bf9443ac503afd", + "qbb-nodeops": "0c6de7f5e4ddb8ab87da7e06ae924fa027ab1f79", "qbb-pentool": "4b4162c5bfdc850488fcac89604b5e69181f621b", "qh-ah-nodes": "99a6e29b2dc5215e889c6e319b387ec226c2fb32", "qhnodes": "6e7c6e6e8c5dcd7ff205645efcd9b1e69a4aac57", @@ -5471,10 +5506,10 @@ "qwen-image-21-blockcache-t8": "7761f58676361c210db1bedffb724f13076d2379", "qwen-image-21-fun-acc-pdd-t8": "11bb4ba146507f06f23480f44ebbe8bf9d63cfc4", "qwen-image-21-multiangle-iv": "4429208b3a7950a3b59ee9e4f95ac528e98318ea", - "qwen-image-21-multiangle-t8": "d5565f8413cdf0378f041b2047fc019be6183609", + "qwen-image-21-multiangle-t8": "f920d97fd9477a807a8d68e59bf3174a70fa1b30", "qwen-image-integrated-ksampler": "d1ecf179c60587d39b3e7dcd0c67708416486f77", "qwen-image-optimized": "711bb09e33266fef865b9f3c35966f9abc9c6732", - "qwen-image-prompt-rewrite-t8": "4bf44ae391939e18ff7ba58d984f92900b3bb26b", + "qwen-image-prompt-rewrite-t8": "103bb2a97b14a74529a1ec7d22a3aa599eb8f57e", "qwen-image21-character-sheet-designer": "7b93fc9fca1c9956e204bc6dc7611c6b662a63ff", "qwen-prompt-expander": "eda02da161dd3719a5e412deed3a0ef7a1ed48d8", "qwen-vae-triton": "6e0c2f95efb5863340a838c73a7fdae97409cb75", @@ -5509,7 +5544,7 @@ "realtime_forktest_test": "8e6213cfdd8485c003137f0c85d3218a0bc7f48d", "reboot": "b6720ec17063e38b5ae2d0eeb3b1699f58316013", "rect": "fe2495647f6db986c0d8fe099510da1f83b38a07", - "rectumfire": "faa1b208b529f7f150ed933bb2db8c2792b6d7e2", + "rectumfire": "41546e8391613a76187ba0b0191a23088577149f", "rednode-studio": "635ec58c404a27d60e41a6f9a2a79eb3513c69a2", "reference-image-manager": "af52f5759e7a9a330e69e5eb45471f6f2f1e4d19", "reference-video-colorization": "644680e9dfad09bca3358119f48eb12a5ad920cd", @@ -5519,19 +5554,19 @@ "rembg-comfyui-node-better": "40659e01702fe847f0f92bf51b4af39781bfe3ee", "remote-call": "4f8fb1030dfb5630101e4be7c72638e2b8101a64", "remotecliploader": "e09e6fa09a72b36707dbd4be23dbe9c3ad54525e", - "remove-ai-watermarks": "a37d34ca13f0136a24b74f5c4acf88c47e93d76a", + "remove-ai-watermarks": "16a7473e771db97db7fd5931b4fb9b47aefaff00", "remove-background": "f232204f6c3fd3a79b737ee6a00b0f9305eef200", "removebackgroundsuite": "0d30ad8f578e8fba7010b19f62c1bd6ea5e2a7a1", "repo_eater": "da471149d8f6d55c0bf337b55eb5794d8759ebc0", "rescalecfgadvanced": "a494087fca2c8275e8b3b0ca1993417b5b199967", "reservedvram": "cd9f1911d960e3d31b3908867c638a19e5d42af3", "resolution_calculator_by_steve_lasmin": "8e27507c01f7c8971a84a71763b5939a045b20be", - "resolutionhelper": "449f94744b41477baa7118a9a54540a7f5a66451", - "restart-control": "b6eb8e42b3563707123ddd05bb52cf1245ffb391", + "resolutionhelper": "b2f7822ee42ed8a1ceac35c97dce1591ed25d50b", + "restart-control": "61677c01b8269dde6cbcabc744cef0e55c80d891", "retro-pixel-matrix-dither": "b25579e48242694d03eb33b25832963124adc8b1", "retrodiffusion-api-node": "aca82d1f700148e3543b7bcfbf868788682e37ed", "rexomni": "10be03dd338e43441c115c834e253e614108f1fe", - "rgthree-comfy": "218d6347dac5b6499ae56dbfeb25cbb6dd203ac5", + "rgthree-comfy": "bc48c6aaeca87bedbc14245d89f9bc6be37a630e", "rh_pixal3d": "70a25df40d3d7ccb773f647caf9910a1378abc0a", "rh_rvc": "58cc75b476dbdcee8ad618f9fa773a3aeb5df275", "rh_voxcpm": "2d9a5fe0249682b9d36c15f371b05611b4479979", @@ -5548,6 +5583,7 @@ "rs-nai-api-request-editable": "25dea037024d5406852fe7416af6bba69c88ff83", "rs-seasonal-prompt-generator": "354cc9b5adce251bb787b2091d5f747f9decc88d", "ruben-bilbox-comfyui": "858e9d6e5915ea5d2c0b2e025f0feb6312126448", + "ruic-pose-atlas": "b0799387bf4bf95cf961fd71d20e647c39c2db12", "ruucm-comfy": "dd2f4a214d944bfde0a5519f2f29e76b4a6a6545", "ruyi-nodes": "e3bfa0c751e6d7283c83a21e5f2170fed3d2b51c", "rvc-trainer": "256ac7fdf7653ab358569d9e85c4aff4f5449725", @@ -5564,6 +5600,7 @@ "samuelsujan-exr-plate": "7a5a706253d638b0a9e16c02c7217004dee47a3b", "santodan-custom-nodes-comfyui": "33efaa6781fa263d0f7dd16201ed13cc6b839119", "sasolver": "4502775cdffaac9e4368824fa8c1fd84d2c2a03d", + "saturnnodes": "a8b5a5aee2f60fd6c89472da0b3affd871b0028d", "save-as-sd-webui": "b3ae80ac04f9dbd37c4c7320c9fe8959061ee704", "save-image-extended-comfyui": "d49387f000b2febcfa9e27a5235b5d3fdde1e335", "save-image-organized": "7810a6bc6f97887d8dde789215dc8b72a066a4cd", @@ -5608,11 +5645,11 @@ "sdxl_prompt_styler": "51068179927f79dce14f38c6b1984390ab242be2", "sdxlcustomaspectratio": "4a0bbec07134768324b49f14b2fa7f3bee66f0ba", "seb_nodes": "a0ec2d5b8bad4c4ff8ca5bcf0006403f25a398b8", - "sec-audit-test-node": "14220b8bd3e86baa852959f17039613191e66656", + "sec-audit-test-node": "c067929d7e9cc0f3fd15be348fa1a1d85da15946", "secnodes_ultra_fast": "78f4801714624695d3bb85b33bf2bfc9b7014a7f", "secureapicall": "a8fddaf3f4aa97a95bcffc604ae7a7fc9e8c4b68", "seed-vc-mw": "02c0cb8b05121dd9e391b4287c8e28e0eb4e79a4", - "seedance": "8798fb8018873cb8eb765bc7ff22c946151bfa88", + "seedance": "0c3d4f17cb7fee2d1388de16d67e63d814d4e0b6", "seedream": "374ee331b09e9c9cf9237347c272b7a69ea61c26", "seedvarianceenhancer": "aa97baee8bacbe0dd702e419eb6c39505b631cc3", "seedvr2_video_path_upscaler": "9922c86804f4d3d0cc964e3cf6050709fcb2a51b", @@ -5627,7 +5664,7 @@ "sensenova_u1": "64ab6f330e3ceabb34ee125df7f73da842a1226f", "sequencer-comfy-nodes": "6b631e317466828f297f491a66c6fb4b351c9505", "sequential-image-loader": "840d1dbfaa7cb96ab84dbe1c3e9ee7d8d7b65efc", - "seriesmith": "356fcc45782618fbf79ebf5231e6e82590b81915", + "seriesmith": "5be1b223b0f4aaaa906914a2f4745196d4d2be9e", "sg-comfyui": "d01166e7b4829ee0a6a1a85cc6e458e7e377eaa5", "show_seed": "9116577f49444ce33e9cd091da71d445dd12e1a9", "siberianodes": "078a9143599c73081b44cdc40635618da01b7724", @@ -5657,7 +5694,7 @@ "skimmed_cfg": "d83005832ac42783adfd6f4ae96f6ef6406d1a74", "skin-alex-02-comfy": "b6d3ecd67c10090369be77da7919361d0a9c8f3e", "skin-beauty-cn": "c953c084874c8fc760263e29d2d864089bcc8f9c", - "skkut-utils": "0eb7cb294e41b65dfbe5dd8b46a5b463adeb6831", + "skkut-utils": "bdbbce035b63bc16999e4c4e20448fec363a4c41", "slarti-llm-nodes": "31c980b9ade97195403103a2716e93a06e8bfc5d", "sloyd": "99e6f712be12f4d9ee4a22ca52ec44e63dd7a23c", "smart-image-quantize": "8295ead24c81965d5b49d49ec1f0956f72761824", @@ -5674,11 +5711,11 @@ "snjake_jpg_artifacts_noise_cleaner": "a79cf745e86c2013e26b5ade86241c8c58e707a6", "snjake_sapsan-vfi": "e1d6cde95b5cf6c2ffdb75cafbb138da9e7bec64", "sno-test-unclaimed-node": "483848e2035356779305bb000b630b738571ff2f", - "sno-test-unclaimed-node-2": "e5bdb5fcced2c7e4b62ba040597cf51a1f1274b2", + "sno-test-unclaimed-node-2": "fbbd72797efda24edec872c3cd02f77601557684", "solarrenderer": "fb620895cede25e5a89185250c2f44d7d49dc930", "solarwm_h3": "24c709719add044ba7ba5465a15c7a0632dff612", "some-mw": "a6cb1e46cc2be31da61a50a09ad13486684ca1da", - "sonder-editor": "4ec9ff1cbe9bfe359e8ea0bb715fbae10bb992bc", + "sonder-editor": "8e4e89edd17a9456baec309bbbb375d8a9f8d031", "songgeneration": "daace52551c88cb3b84a033dd8474e7b6a75853a", "songscribe": "a6a7a7ca63cf749a05737d5513b357fe46447fb7", "sopranotts": "fab077c98e5ac3017fb4088dfda11f1608b701a7", @@ -5696,6 +5733,7 @@ "spectral": "0bae1a15539b275bd60b66439a8130d5ff786cae", "spectrum-ltx": "589dbd599103bd9171629a44ddfb3a2ddec97152", "spin256-comfyui": "d9e6291bf98f59b16c9e3fb8b471dde5641a2e7c", + "spool-timeline": "3a81292d8396d109ab63c79b5309dc153f168faa", "spritefusion-pixel-snapper-rust": "7fb8883ba5b6c76a51754e43f8604bd30c07d47c", "srl-nodes": "803eea5da80647a0f83810a04a693d95ea9d5f29", "ssl_gemini_exp": "2822942e11458a8606a14aecdcd850ed4ad8e92a", @@ -5706,7 +5744,7 @@ "stablediffusion-dpmpp_2m_alt-sampler": "8714512989b7b1b61cf04d8e6346e04349dfdaed", "star7-director": "057d7add379384a6130ad26a38ebc729bdfe2a1a", "starlight26-runninghub": "442dc09fe12ccf2f89086de3369378b123065c47", - "steaked-nodes": "e83d5845608f1c8954337f9f091b15444be08c8f", + "steaked-nodes": "500e12d05c70549c6a03c931339843ef885e79bd", "steerable-motion": "1b18a647f70528076156d6b9867d4684bab0e148", "stepaudiotts_mw": "93345aa06f33f430b62695be6d8ef8637fc8fb8b", "storyboard": "b019b5fd92d49d377000cecab204ebe95df83005", @@ -5733,6 +5771,7 @@ "sync-translate-node": "9775b5acebaf79dc2099bdc7814e072a63f5ed0c", "syncreward": "2b99e97cc25ca720509e72da0567edd1360c171f", "syntax-highlighting": "80ca8b5419c3dccceebdef3f68442f173c7a8199", + "tab-audio-capture": "d88fa5d259d07d5f9cdcd78d0272fbf4561506b8", "tag-semantic-search": "0ca7d29e8805c15688cd507745496f49dd4a94bb", "tag_prompt": "054a4b873868bb193d89988e73cadfc07941ea40", "tagclassifier": "e5b10b0fd916c6a244c6c7362be3a1bd2b9aa288", @@ -5757,7 +5796,7 @@ "text-latch": "bd4e26773e65688734b8a99379b842f843bded0d", "text-node-with-comments": "aa109023d632974e45455190225ab46e74b29ecc", "text-utility": "f49a803c2d6fdb9ef77c23269baf62dc60675249", - "text_processor": "ac1eea1a3f926610344595d747a1690b90760ce1", + "text_processor": "883d1efbc73a4b303c7a48630b1517ae6a97209c", "textencodeeditadvanced": "93a508d09918c2c624a267bc9b9f33535ca72ee6", "thinkremover": "8bbfc8e595669081eda7d2ba0263d528abd79617", "thoughtbubble": "5e9c9854401bfd578067d11d57c83064175a85ed", @@ -5798,13 +5837,13 @@ "transparent-background-comfyui": "deb7805344dff0969df86a99205f60cfa9af0843", "trellis2": "b0e84c0f29857a444e8bcb5b9be2ea218e96efd0", "trellis2_sm": "6c0a347c71d2d99ce466c45cad9ec56fd5f02ac4", - "trentnodes": "8047c2a54dad7dad263791a0736569a38a070aaf", + "trentnodes": "3d80a9dfbdf87d3d7b4b555b2024efad9413bf88", "tri3d-comfyui-nodes": "5ee4d01da69497ebee57018f24956275390b315c", "tripleksampler": "b35509c84ff8a82f9111418aad8611a2ec3ef216", "trixloader": "3aa02d6b221b52af5fa396e4ee431ae93362ac8b", "tryoff-anyone": "336c7958a920e8d4777557f77a80777cba796363", "tts-webui": "ea84e58ed3870619ee6d47df12feba7d09475f50", - "tts_audio_suite": "5da61c0d45c72549e121264762b6263821cdf890", + "tts_audio_suite": "27eef5b85db27ede27d04a44a39e0cfb262bf9a4", "tunan-paint-bridge-nodes": "57784d923d088f30281177997bc779831910daf4", "tw-cui-util": "f148e722dd8656e5b408f25650889f253f3fe4ca", "twinflow": "f8c7fc34b89e3ca64e8fe7886bb1ecd483421980", @@ -5821,7 +5860,6 @@ "ultimate-lora-loader": "551eb04544d6d651733dd54fcdda6ac8a379f36f", "ultimate-lora-loader-civitai": "509cbf50856377fa060e7d7fed00289d925aa14d", "ultools-comfyui": "c27021ef140e6dd3032a73a4829ca1866dedb181", - "ultra-minimax-h3-prompt": "192eddc7fe12640988a0fc431932d310f742f81f", "ultraflux": "64c442742bda68b7885ee7c55130c17e3300b3b0", "ultratex": "1f2392308e7d08374cb1c3844afe7e3ee2fadbe0", "umbra-nodes": "1a6aba4ac9021c0c0eb54e156c41bc4c4c856828", @@ -5866,6 +5904,7 @@ "vewdtab": "e561d405e453d5f6857fb99d9f9298e5b0e1458e", "vf-comfyui-grid-layout": "dda1f778cd4c118c1ea5b03314abb3f0370b1bab", "vhotseat-guard": "aa35609bac64b875460e6fe87500a7a1e516489b", + "vicnodes": "f556e2d0baf078e3d6771e262ba36c0361a9e32e", "video-comparer": "9f8336c8f01e467847fd23d80049e7e1f21d091b", "video-crop-trim": "6fd48b08a900c670d5cbab763be7331c36da084c", "video-resolution": "6db89122e93a0218d29af1a04384b487aee1f0c9", @@ -5878,7 +5917,7 @@ "videoresolutions": "1a2c5db1768dc0c1260082a5e5653dca9274786c", "videox-fun": "e8c314fbfa494d0429bbef605c9f6112b79a7ead", "view-source": "8a069fe376ce9bf541998ad0817cc2f0f700555d", - "vig-minimax-h3-director": "fa00da2b7e8820a7462d5e807d84d874541c2861", + "vig-minimax-h3-director": "794db4469e4b0582856464cc206f75e1a6a648d5", "viperyl_ComfyUI-BiRefNet": "a059e7eba58ea7c8cca4e4aca1bd851d34976e03", "virtual-webcam": "a104199e4d8c28813bfbf62bfa8d40554ea63e80", "virtuoso-nodes": "b3725230f593a42ffdb229a7544f1069c01b7d4c", @@ -5911,7 +5950,7 @@ "warppipe": "0a274e89a35a8a0e9c5f90a40845faa4aae11b67", "was-affine": "76d5e33d46a95265683a570c981cbb4a206d74cb", "was-extras": "66667a380067b74cadb555e7e01f6b3827dc143e", - "was-node-suite-comfyui": "7f30cf0f8fa62237900f21772857f1ec8014a538", + "was-node-suite-comfyui": "715e2c934a926002c996a028318255df1cce24c0", "was-ns": "44de705818d4663fefefde57ffe0ea5a9ea39df4", "watermark-detection": "a48694d44009032f4fcf6b80f6c2ea0c58388b35", "watermark-removal": "5ded2778d95d9fa9627242111cf4ecdb7df65b1f", @@ -5957,12 +5996,12 @@ "x4lch3mist": "b9f62a9c5f60ce76052b314be113367782c01ce9", "xcp_derp-UI": "98e5b92a0421a1d0e52a136935f58f5884121a22", "xelion": "2a974faccd65d7f18f03737034c37591202ff990", - "xenodes": "7d41cc87a951d81354d67c3e346262b7b55e384c", + "xenodes": "01fe1ef54585814a615ec233c854c364a82640de", "xenoflow": "5da673419061cee35ae62a40210c77bfd1c565af", - "xiantu-qwen-image21-workbench": "72a1cef9e189ae0049eddccf36fccb9ff834f87b", + "xiantu-qwen-image21-workbench": "5872f876416b6b4f8b38559fcc87fceb5cd37a64", "xiaomi-lens-segmentation": "d9485c7c69155d5f3a933bbda94f58d59abc5641", "xwide-use-everywhere": "9aa58648da2e646a122870f3874b839278af2a45", - "xz3r0-nodes": "8afd4729f40fbb37108794b37118eed16a5fb26d", + "xz3r0-nodes": "424603d5cc8c5e61ec3e0978364d8423e1d15f55", "yallm-llamavision": "da1613c7cfeee19d002fd021d823ba0ba528fda9", "yanhuo-easy-use": "376aa4dfdff35df9d84833b8b001b2c5440ee05b", "yanhuo-h3-motion-context-selflift": "50855214004b3a27a5a56e4a285d04fb61d061ed", @@ -5982,9 +6021,9 @@ "youtube-dl-comfyui": "30e9430be7b82efb61bbf3e6153d052862dec74a", "ysc_highresfix": "c03d2c68e05f1902b7a0f6380e5f84248d126a02", "yue2": "3081a5ea74d6cfcf5a2cb21e62c2d6e06f37fef6", - "yue2-comfyui": "22601b8b7b5f60a7b1de52a7e9f1901e84ca6be1", + "yue2-comfyui": "408862db017878907c23e5b1a407ba89780dc2a1", "yue2-native": "717168a0414b6538a1800b37f4388541cc2f1837", - "yue2-t8": "5b40c06fd45efcc471a2dc1986640774fb0010c4", + "yue2-t8": "8a279f6921d9ee9216e376b62c52bcec712828e9", "yumi-comics": "4fb1838d84916fbdc1c309a918e977c6b14050de", "yumil-mpm": "9e560c15470f2fee924f4680c5bc4949ce03c73d", "yvtou-gemini": "cc76a0402297f125d8ee169744dd5385ed43bbce", @@ -5997,18 +6036,18 @@ "zen-image-edit-t8": "cc9bd3ddc593c9f5efad25bdfedc51f482c9067c", "zer0gear-comfy-utilities": "51c420dbbdb4bb2f566dd38494bf5318e77257a7", "zf-h3-creator-palette": "e7b71ef2bbeea9ae567943b7dfad58d3de7c6688", - "zf-prompt-palette": "8dd6e8abf319d0bebc70ce66f6839440b9682a89", + "zf-prompt-palette": "6e3efc0505cabcba5889d8c6a180967b310c2c24", "zhaoke1006-heartmula-comfyui": "25c96499ff6725e8c2cfc1aa6519d735ccdf57cc", - "zhenzhen": "11c99f9dc7f562851fcb25eb8cd576eebd2a52cd", - "zhihui_nodes_comfyui": "5d96f7479cecc1afdab5999f30b3eae65114897a", + "zhenzhen": "2452b154333fcb26eec38129b7c70154c6fad25e", + "zhihui_nodes_comfyui": "44d40c00e28034b997ee97d26014eadea58c8590", "zhihuige-nodes-comfyui": "41867c2f4d34dd0fcff22696d239d72acb6d1306", "zimagelatent": "5dd91d71bff801e5cb1daa56ca5f85d08490e089", "ziyun-labelkit": "ae6d9bb90ee27c53e74fab94821e1500b98d07b0", "zml-image": "9760a4e9bc6ba3b80e1f0ac6ece2815e986893bc", "zonos2-tts-comfyui-emotion": "94a816ad835b98520e4808cb45480748ba88df6b", "zsq_prompt": "0b833808e4c77de8d711b288d0e0645b00e71e6d", - "zura-paintout": "83e9e0aae624fb51b0973c0b0f91313916a097e1", + "zura-paintout": "0c049f12be652b9df06d758a2dc2b7d7d480fcf8", "zznodes": "d5438885b1e3f66e6445c99874ed50dc1cb066a9" }, - "updated": "2026-10-29" + "updated": "2026-11-02" } \ No newline at end of file diff --git a/scripts/registry-census/matrix_runner.ts b/scripts/registry-census/matrix_runner.ts index 6b796a4b02c..a96ba105b3f 100644 --- a/scripts/registry-census/matrix_runner.ts +++ b/scripts/registry-census/matrix_runner.ts @@ -19,7 +19,7 @@ import type { import type { PointTuple as Point } from '@comfyorg/shared-frontend-utils/geometry' import type { CanvasPointerEvent } from '@comfyorg/graph-model/events' import type { IBaseWidget } from '@comfyorg/graph-model/widgets' -import type { ComfyNodeDef, InputSpec } from '@/schemas/nodeDefSchema' +import type { ComfyNodeDef, InputSpec } from '@comfyorg/object-info-parser' import type { useWidgetValueStore } from '@/stores/widgetValueStore' import type * as WidgetValuesForm from '@/workbench/extensions/agent/crdt/widgetValuesForm' diff --git a/scripts/test-browser-local.test.ts b/scripts/test-browser-local.test.ts index e4b238a1641..77f6c15e361 100644 --- a/scripts/test-browser-local.test.ts +++ b/scripts/test-browser-local.test.ts @@ -62,6 +62,20 @@ writeFileSync(process.env.CAPTURE, JSON.stringify({ } describe('local browser test launcher', () => { + it('runs a native package manager without interpreting it as JavaScript', () => { + const invocation = getPnpmInvocation( + ['--eval', 'process.stdout.write("native launcher")'], + process.execPath + ) + const result = spawnSync(invocation.command, invocation.args, { + encoding: 'utf8', + timeout: 10_000 + }) + + expect(result.status).toBe(0) + expect(result.stdout).toBe('native launcher') + }) + it('runs pnpm through Node without a shell', () => { expect(getPnpmInvocation(['test:browser', 'spec.ts'], '/pnpm.mjs')).toEqual( { diff --git a/scripts/test-browser-local.utils.ts b/scripts/test-browser-local.utils.ts index 14da60cb841..f9ac69dea51 100644 --- a/scripts/test-browser-local.utils.ts +++ b/scripts/test-browser-local.utils.ts @@ -8,8 +8,7 @@ export function getPnpmInvocation( ) } - return { - command: process.execPath, - args: [pnpmEntry, ...args] - } + return /\.[cm]?js$/.test(pnpmEntry) + ? { command: process.execPath, args: [pnpmEntry, ...args] } + : { command: pnpmEntry, args } } diff --git a/src/components/builder/useLoaderDropIndicator.ts b/src/components/builder/useLoaderDropIndicator.ts index e5fafa9955a..8cfd23f0b78 100644 --- a/src/components/builder/useLoaderDropIndicator.ts +++ b/src/components/builder/useLoaderDropIndicator.ts @@ -1,4 +1,3 @@ -import { extractWidgetStringValue } from '@/renderer/extensions/maskEditor/composables/useMaskEditorLoader' import type { LGraphNode } from '@/lib/litegraph/src/LGraphNode' import { iconForMediaType } from '@/platform/assets/utils/mediaIconUtil' import { appendCloudResParam } from '@/platform/distribution/cloudPreviewUtil' @@ -7,7 +6,10 @@ import { app } from '@/scripts/app' import type { useWidgetValueStore } from '@/stores/widgetValueStore' import { parseWidgetId } from '@comfyorg/graph-model/widgetId' import type { WidgetId } from '@comfyorg/graph-model/widgetId' -import { parseImageWidgetValue } from '@/utils/imageUtil' +import { + extractWidgetStringValue, + parseImageWidgetValue +} from '@/utils/imageUtil' type LoaderMediaType = 'image' | 'video' | 'audio' diff --git a/src/components/dialog/GlobalDialog.vue b/src/components/dialog/GlobalDialog.vue index 6a7f92879ec..48a7cb16808 100644 --- a/src/components/dialog/GlobalDialog.vue +++ b/src/components/dialog/GlobalDialog.vue @@ -18,8 +18,7 @@ :maximized="!!item.dialogComponentProps.maximized" :data-dialog-key="item.key" @escape-key-down=" - (e) => - item.dialogComponentProps.closable === false && e.preventDefault() + (e) => onRekaEscapeKeyDown(item.dialogComponentProps, e) " @pointer-down-outside=" (e) => onRekaPointerDownOutside(item.dialogComponentProps, e) @@ -109,7 +108,10 @@ import DialogMaximize from '@comfyorg/design-system/dialog/DialogMaximize' import DialogOverlay from '@comfyorg/design-system/dialog/DialogOverlay' import DialogPortal from '@comfyorg/design-system/dialog/DialogPortal' import DialogTitle from '@comfyorg/design-system/dialog/DialogTitle' -import { onRekaPointerDownOutside } from '@/components/dialog/dialogDismissGuards' +import { + onRekaEscapeKeyDown, + onRekaPointerDownOutside +} from '@/components/dialog/dialogDismissGuards' import type { DialogInstance } from '@/stores/dialogStore' import { useDialogStore } from '@/stores/dialogStore' diff --git a/src/components/dialog/content/ConfirmationDialogContent.vue b/src/components/dialog/content/ConfirmationDialogContent.vue index edf86536ff7..59074102cfb 100644 --- a/src/components/dialog/content/ConfirmationDialogContent.vue +++ b/src/components/dialog/content/ConfirmationDialogContent.vue @@ -58,14 +58,18 @@ {{ $t('g.cancel') }} - - @@ -91,7 +95,7 @@