diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 57a33190..00000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,160 +0,0 @@ -name: Build Artifacts - -on: - push: - branches: [master, main] - tags: ["v*"] - paths-ignore: - - "**/*.md" - - "docs/**" - workflow_dispatch: - inputs: - platform: - description: "Target platform" - required: true - type: choice - options: [all, mac, windows, linux] - -permissions: - contents: read - -concurrency: - group: build-${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -env: - NODE_VERSION: "24" - -jobs: - build-mac: - if: ${{ github.event_name != 'workflow_dispatch' || inputs.platform == 'all' || inputs.platform == 'mac' }} - runs-on: ${{ matrix.runner }} - strategy: - fail-fast: false - matrix: - include: - - arch: x64 - runner: macos-15-intel - - arch: arm64 - runner: macos-15 - steps: - - uses: actions/checkout@v6 - - uses: actions/setup-node@v6 - with: - node-version: ${{ env.NODE_VERSION }} - cache: npm - - run: | - npm ci - - run: | - brew install --quiet sevenzip - - name: Test patch and build scripts on macOS - run: npm test - - run: node scripts/sync-upstream.js --force --skip-win - - name: Check upstream patch compatibility - run: node scripts/patch-all.js mac-${{ matrix.arch }} --check --report patch-reports/mac-${{ matrix.arch }}-check - - - name: Patch - run: node scripts/patch-all.js mac-${{ matrix.arch }} --report patch-reports/mac-${{ matrix.arch }}-apply - - - name: Upload patch compatibility reports - if: always() - uses: actions/upload-artifact@v7 - with: - name: Patch-Reports-macOS-${{ matrix.arch }} - path: patch-reports/ - if-no-files-found: ignore - - run: npm run build:mac-${{ matrix.arch }} - - uses: actions/upload-artifact@v7 - with: - name: Codex-macOS-${{ matrix.arch }} - path: out/*.dmg - if-no-files-found: error - - build-windows: - if: ${{ github.event_name != 'workflow_dispatch' || inputs.platform == 'all' || inputs.platform == 'windows' }} - runs-on: windows-latest - steps: - - uses: actions/checkout@v6 - - uses: actions/setup-node@v6 - with: - node-version: ${{ env.NODE_VERSION }} - cache: npm - - run: | - npm ci - - run: npm test - - run: | - choco install 7zip -y - - name: Add 7zz alias - run: | - Copy-Item "C:\Program Files\7-Zip\7z.exe" "C:\Program Files\7-Zip\7zz.exe" - echo "C:\Program Files\7-Zip" | Out-File -Append -Encoding utf8 $env:GITHUB_PATH - - run: node scripts/sync-upstream.js --force --skip-mac - - name: Check upstream patch compatibility - run: node scripts/patch-all.js win --check --report patch-reports/windows-x64-check - - - name: Patch - run: node scripts/patch-all.js win --report patch-reports/windows-x64-apply - - - name: Upload patch compatibility reports - if: always() - uses: actions/upload-artifact@v7 - with: - name: Patch-Reports-Windows-x64 - path: patch-reports/ - if-no-files-found: ignore - - run: npm run build:win-x64 - - uses: actions/upload-artifact@v7 - with: - name: Codex-Windows-x64 - path: out/*.zip - if-no-files-found: error - - build-linux: - if: ${{ github.event_name != 'workflow_dispatch' || inputs.platform == 'all' || inputs.platform == 'linux' }} - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - arch: [x64, arm64] - steps: - - uses: actions/checkout@v6 - - name: Free disk space - run: | - echo "Disk space before cleanup:" - df -h / - sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc /usr/local/.ghcup - sudo apt-get clean - echo "Disk space after cleanup:" - df -h / - - uses: actions/setup-node@v6 - with: - node-version: ${{ env.NODE_VERSION }} - cache: npm - - run: | - npm ci - - run: | - sudo apt-get update - sudo apt-get install -y rpm fakeroot dpkg 7zip unzip - - run: node scripts/sync-upstream.js --force --skip-win - - name: Check upstream patch compatibility - run: node scripts/patch-all.js mac-${{ matrix.arch }} --check --report patch-reports/linux-${{ matrix.arch }}-check - - - name: Patch - run: node scripts/patch-all.js mac-${{ matrix.arch }} --report patch-reports/linux-${{ matrix.arch }}-apply - - - name: Upload patch compatibility reports - if: always() - uses: actions/upload-artifact@v7 - with: - name: Patch-Reports-Linux-${{ matrix.arch }} - path: patch-reports/ - if-no-files-found: ignore - - run: npm run build:linux-${{ matrix.arch }} - - uses: actions/upload-artifact@v7 - with: - name: Codex-Linux-${{ matrix.arch }} - path: | - out/make/deb/**/*.deb - out/make/rpm/**/*.rpm - out/make/zip/**/*.zip - if-no-files-found: error diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml deleted file mode 100644 index 48d47692..00000000 --- a/.github/workflows/sync.yml +++ /dev/null @@ -1,383 +0,0 @@ -name: Sync Upstream & Patch - -on: - schedule: - - cron: "0 8 * * *" # Daily 08:00 UTC - workflow_dispatch: - inputs: - force: - description: "Force sync even without version change" - type: boolean - -env: - NODE_VERSION: "24" - -permissions: - contents: read - -concurrency: - group: sync-upstream-${{ github.ref }} - cancel-in-progress: false - -jobs: - check: - runs-on: ubuntu-latest - outputs: - has_update: ${{ steps.detect.outputs.has_update }} - latest_version: ${{ steps.detect.outputs.latest_version }} - steps: - - name: Checkout - uses: actions/checkout@v6 - - - name: Setup Node.js - uses: actions/setup-node@v6 - with: - node-version: ${{ env.NODE_VERSION }} - cache: npm - - - name: Install dependencies - run: npm ci - - - name: Test patch and build scripts - run: npm test - - - name: Check upstream versions - id: detect - run: | - RESULT="$(node scripts/check-update.js --state-file .github/upstream-versions.json --json --force)" - echo "$RESULT" > /tmp/codex-version-check.json - - LATEST_VERSION="$(node -e " - const fs = require('fs'); - const result = JSON.parse(fs.readFileSync('/tmp/codex-version-check.json', 'utf8')); - const platforms = result.platforms || {}; - const latest = platforms['macOS-arm64'] || platforms['macOS-x64'] || platforms.Windows; - process.stdout.write(latest?.version || ''); - ")" - - HAS_UPDATE="$(node -e " - const fs = require('fs'); - const result = JSON.parse(fs.readFileSync('/tmp/codex-version-check.json', 'utf8')); - process.stdout.write(result.hasUpdates ? 'true' : 'false'); - ")" - - echo "latest_version=$LATEST_VERSION" >> "$GITHUB_OUTPUT" - - if [ "${{ github.event_name == 'workflow_dispatch' && inputs.force }}" = "true" ]; then - echo "has_update=true" >> "$GITHUB_OUTPUT" - echo "Manual force sync requested." - elif [ "$HAS_UPDATE" = "true" ]; then - echo "has_update=true" >> "$GITHUB_OUTPUT" - echo "Upstream update detected: ${LATEST_VERSION}" - else - echo "has_update=false" >> "$GITHUB_OUTPUT" - echo "No upstream update detected. Platform versions match the saved state." - fi - - # ────────────────────────────────────────────── - # Each platform: sync + patch + build in one job - # (src/ is gitignored, so it must be generated per-runner) - # ────────────────────────────────────────────── - build-mac: - needs: check - if: needs.check.outputs.has_update == 'true' - runs-on: ${{ matrix.runner }} - strategy: - fail-fast: false - matrix: - include: - - arch: x64 - runner: macos-15-intel - - arch: arm64 - runner: macos-15 - steps: - - name: Checkout - uses: actions/checkout@v6 - - - name: Setup Node.js - uses: actions/setup-node@v6 - with: - node-version: ${{ env.NODE_VERSION }} - cache: npm - - - name: Install dependencies - run: | - npm ci - - - name: Install tools - run: | - brew install --quiet sevenzip - - - name: Test patch and build scripts on macOS - run: npm test - - - name: Sync upstream (macOS only) - run: node scripts/sync-upstream.js --force --skip-win - - - name: Check upstream patch compatibility - run: node scripts/patch-all.js mac-${{ matrix.arch }} --check --report patch-reports/mac-${{ matrix.arch }}-check - - - name: Patch - run: node scripts/patch-all.js mac-${{ matrix.arch }} --report patch-reports/mac-${{ matrix.arch }}-apply - - - name: Upload patch compatibility reports - if: always() - uses: actions/upload-artifact@v7 - with: - name: Patch-Reports-macOS-${{ matrix.arch }} - path: patch-reports/ - if-no-files-found: ignore - - - name: Build - run: npm run build:mac-${{ matrix.arch }} - - - name: Upload artifacts - uses: actions/upload-artifact@v7 - with: - name: Codex-macOS-${{ matrix.arch }} - path: out/*.dmg - if-no-files-found: error - - build-windows: - needs: check - if: needs.check.outputs.has_update == 'true' - runs-on: windows-latest - steps: - - name: Checkout - uses: actions/checkout@v6 - - - name: Setup Node.js - uses: actions/setup-node@v6 - with: - node-version: ${{ env.NODE_VERSION }} - cache: npm - - - name: Install dependencies - run: | - npm ci - - - name: Install tools - run: | - choco install 7zip -y - - - name: Add 7zz alias - run: | - Copy-Item "C:\Program Files\7-Zip\7z.exe" "C:\Program Files\7-Zip\7zz.exe" - echo "C:\Program Files\7-Zip" | Out-File -Append -Encoding utf8 $env:GITHUB_PATH - - - name: Sync upstream (Windows only) - run: node scripts/sync-upstream.js --force --skip-mac - - - name: Check upstream patch compatibility - run: node scripts/patch-all.js win --check --report patch-reports/windows-x64-check - - - name: Patch - run: node scripts/patch-all.js win --report patch-reports/windows-x64-apply - - - name: Upload patch compatibility reports - if: always() - uses: actions/upload-artifact@v7 - with: - name: Patch-Reports-Windows-x64 - path: patch-reports/ - if-no-files-found: ignore - - - name: Build - run: npm run build:win-x64 - - - name: Upload artifacts - uses: actions/upload-artifact@v7 - with: - name: Codex-Windows-x64 - path: out/*.zip - if-no-files-found: error - - build-linux: - needs: check - if: needs.check.outputs.has_update == 'true' - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - arch: [x64, arm64] - steps: - - name: Checkout - uses: actions/checkout@v6 - - - name: Free disk space - run: | - echo "Disk space before cleanup:" - df -h / - sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc /usr/local/.ghcup - sudo apt-get clean - echo "Disk space after cleanup:" - df -h / - - - name: Setup Node.js - uses: actions/setup-node@v6 - with: - node-version: ${{ env.NODE_VERSION }} - cache: npm - - - name: Install system dependencies - run: | - sudo apt-get update - sudo apt-get install -y rpm fakeroot dpkg 7zip unzip - - - name: Install dependencies - run: | - npm ci - - - name: Sync upstream (macOS ZIP for unix, skip Windows) - run: node scripts/sync-upstream.js --force --skip-win - - - name: Check upstream patch compatibility - run: node scripts/patch-all.js mac-${{ matrix.arch }} --check --report patch-reports/linux-${{ matrix.arch }}-check - - - name: Patch - run: node scripts/patch-all.js mac-${{ matrix.arch }} --report patch-reports/linux-${{ matrix.arch }}-apply - - - name: Upload patch compatibility reports - if: always() - uses: actions/upload-artifact@v7 - with: - name: Patch-Reports-Linux-${{ matrix.arch }} - path: patch-reports/ - if-no-files-found: ignore - - - name: Build - run: npm run build:linux-${{ matrix.arch }} - - - name: Upload artifacts - uses: actions/upload-artifact@v7 - with: - name: Codex-Linux-${{ matrix.arch }} - path: | - out/make/deb/**/*.deb - out/make/rpm/**/*.rpm - out/make/zip/**/*.zip - if-no-files-found: error - - # ────────────────────────────────────────────── - # 持久化上游版本 + 标签/发布 - # ────────────────────────────────────────────── - release: - needs: [check, build-mac, build-windows, build-linux] - if: >- - always() && - needs.check.result == 'success' && - needs.check.outputs.has_update == 'true' && - needs.build-mac.result == 'success' && - needs.build-windows.result == 'success' && - needs.build-linux.result == 'success' - runs-on: ubuntu-latest - permissions: - contents: write - steps: - - name: Checkout - uses: actions/checkout@v6 - with: - token: ${{ secrets.PAT_TOKEN || secrets.GITHUB_TOKEN }} - - - name: Setup Node.js - uses: actions/setup-node@v6 - with: - node-version: ${{ env.NODE_VERSION }} - - - name: Install dependencies - run: npm ci - - - name: Download all artifacts - uses: actions/download-artifact@v7 - with: - path: artifacts - - - name: Validate required artifacts - shell: bash - run: | - required_artifacts=( - "Codex-macOS-x64" - "Codex-macOS-arm64" - "Codex-Windows-x64" - "Codex-Linux-x64" - "Codex-Linux-arm64" - ) - - missing=0 - for artifact in "${required_artifacts[@]}"; do - if [ ! -d "artifacts/$artifact" ] || [ -z "$(find "artifacts/$artifact" -type f -print -quit)" ]; then - echo "::error::Missing or empty required artifact: $artifact" - missing=1 - fi - done - - if [ "$missing" -ne 0 ]; then - exit 1 - fi - - - name: Display structure - run: ls -lhR artifacts/ - - - name: Get upstream version and tag - id: version - run: | - RESULT=$(node scripts/check-update.js --state-file .github/upstream-versions.json --json --force --save) - MAC_ARM64=$(echo "$RESULT" | node -e "let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{try{const j=JSON.parse(d);console.log(j.platforms?.['macOS-arm64']?.version||'')}catch{console.log('')}})") - MAC_X64=$(echo "$RESULT" | node -e "let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{try{const j=JSON.parse(d);console.log(j.platforms?.['macOS-x64']?.version||'')}catch{console.log('')}})") - WIN_VER=$(echo "$RESULT" | node -e "let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{try{const j=JSON.parse(d);console.log(j.platforms?.Windows?.version||'')}catch{console.log('')}})") - - VERSION="${MAC_ARM64:-${MAC_X64:-$WIN_VER}}" - echo "version=$VERSION" >> "$GITHUB_OUTPUT" - echo "mac_arm64=$MAC_ARM64" >> "$GITHUB_OUTPUT" - echo "mac_x64=$MAC_X64" >> "$GITHUB_OUTPUT" - echo "win_version=$WIN_VER" >> "$GITHUB_OUTPUT" - - if [ -z "$VERSION" ]; then echo "No version detected"; exit 0; fi - - node -e " - const fs=require('fs'), p=JSON.parse(fs.readFileSync('package.json','utf8')); - p.version='$VERSION'; - fs.writeFileSync('package.json', JSON.stringify(p,null,2)+'\n'); - " - - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - - git add package.json .github/upstream-versions.json - git diff --cached --quiet && echo "No version change" && exit 0 - - git commit -m "Update upstream versions for ${VERSION}" - - if git ls-remote --exit-code --tags origin "refs/tags/v${VERSION}" >/dev/null 2>&1; then - echo "Tag v${VERSION} already exists; updating the version state and existing release." - git push origin HEAD - else - git tag -a "v${VERSION}" -m "Codex ${VERSION}" - git push origin HEAD --tags - fi - - - name: Create Release - if: steps.version.outputs.version != '' - uses: softprops/action-gh-release@v3 - with: - tag_name: v${{ steps.version.outputs.version }} - name: Codex ${{ steps.version.outputs.version }} - body: | - ## Upstream Versions - | Platform | Version | - |----------|---------| - | macOS arm64 | `${{ steps.version.outputs.mac_arm64 || 'N/A' }}` | - | macOS x64 | `${{ steps.version.outputs.mac_x64 || 'N/A' }}` | - | Windows x64 | `${{ steps.version.outputs.win_version || 'N/A' }}` | - | Linux | uses macOS ASAR | - - Patch compatibility reports and optional-patch warnings are available in the [Actions run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) Summary and `Patch-Reports-*` artifacts. - files: | - artifacts/**/*.dmg - artifacts/**/*.zip - artifacts/**/*.deb - artifacts/**/*.rpm - artifacts/**/*.exe - draft: false - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/windows-candidate.yml b/.github/workflows/windows-candidate.yml new file mode 100644 index 00000000..590bdfb2 --- /dev/null +++ b/.github/workflows/windows-candidate.yml @@ -0,0 +1,151 @@ +name: Windows Candidate + +on: + push: + branches: [master, 'maintenance/**', 'candidate/**'] + paths-ignore: ['**/*.md'] + pull_request: + branches: [master] + schedule: + - cron: '0 8 * * *' + workflow_dispatch: + inputs: + upstream_version: + description: 'Exact available Windows MSIX version; blank selects newest x64' + type: string + source_run_id: + description: 'Reuse verified Windows-Source artifact from this repository run' + type: string + +permissions: + contents: read + actions: read + +concurrency: + group: windows-candidate-${{ github.ref }} + cancel-in-progress: ${{ github.event_name != 'schedule' }} + +jobs: + candidate: + runs-on: windows-latest + timeout-minutes: 40 + steps: + - uses: actions/checkout@v6 + - uses: pnpm/action-setup@v4 + with: + version: 10.33.0 + - uses: actions/setup-node@v6 + with: + node-version: '24.14.1' + cache: pnpm + - name: Install tooling without native builds or Electron download + run: pnpm install --frozen-lockfile --ignore-scripts + - name: Syntax and upstream regression checks + run: | + pnpm check + if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } + pnpm test + if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE } + pnpm test:maintenance + - name: Use runner 7-Zip + run: | + $sevenZip = 'C:\Program Files\7-Zip' + if (-not (Test-Path -LiteralPath "$sevenZip\7z.exe")) { throw 'Runner 7-Zip missing' } + $sevenZip | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + - name: Restore last successfully constructed candidate observation + id: observation + if: github.event_name != 'pull_request' + uses: actions/cache/restore@v4 + with: + path: .cache/observed-candidate.json + key: windows-observed-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }} + restore-keys: | + windows-observed-${{ github.sha }}- + - name: Download fixed upstream source for a replay + if: github.event_name == 'workflow_dispatch' && inputs.source_run_id != '' + uses: actions/download-artifact@v7 + with: + github-token: ${{ github.token }} + run-id: ${{ inputs.source_run_id }} + name: Windows-Source + path: artifacts/replay + - name: Read current stable source for daily comparison + if: github.event_name == 'schedule' && steps.observation.outputs.cache-matched-key == '' + env: + GH_TOKEN: ${{ github.token }} + run: | + $releases = gh api "repos/$env:GITHUB_REPOSITORY/releases?per_page=100" | ConvertFrom-Json + if ($LASTEXITCODE -ne 0) { throw 'Cannot read releases' } + $stable = $releases | Where-Object { -not $_.draft -and -not $_.prerelease -and $_.tag_name -like 'win-*' } | Select-Object -First 1 + if ($stable) { + New-Item -ItemType Directory -Path artifacts/stable -Force | Out-Null + gh release download $stable.tag_name --repo $env:GITHUB_REPOSITORY --pattern candidate.json --dir artifacts/stable + if ($LASTEXITCODE -ne 0) { throw 'Stable source record missing' } + } + - name: Discover official Windows package + id: discover + if: github.event_name != 'pull_request' && (inputs.source_run_id == '' || github.event_name != 'workflow_dispatch') + env: + REQUESTED_VERSION: ${{ inputs.upstream_version }} + run: | + $arguments = @('scripts/windows-maintenance.js', 'discover', '--out', '.cache/windows-discovery.json') + if ($env:REQUESTED_VERSION) { $arguments += @('--version', $env:REQUESTED_VERSION) } + if (Test-Path .cache/observed-candidate.json) { $arguments += @('--stable-manifest', '.cache/observed-candidate.json') } + elseif (Test-Path artifacts/stable/candidate.json) { $arguments += @('--stable-manifest', 'artifacts/stable/candidate.json') } + node @arguments + - name: Build and verify fixed Windows candidate + if: github.event_name != 'pull_request' && (github.event_name != 'schedule' || steps.discover.outputs.has_update == 'true') + run: | + $arguments = @('scripts/windows-maintenance.js', 'candidate') + if (Test-Path artifacts/replay/upstream.json) { $arguments += @('--source', 'artifacts/replay/upstream.json') } + else { $arguments += @('--discovery', '.cache/windows-discovery.json') } + node @arguments + - name: Patch reports, including failures + if: always() + uses: actions/upload-artifact@v7 + with: + name: Windows-Patch-Reports + path: patch-reports/ + retention-days: 7 + if-no-files-found: ignore + - name: Candidate ZIP and provenance + if: success() && github.event_name != 'pull_request' && (github.event_name != 'schedule' || steps.discover.outputs.has_update == 'true') + uses: actions/upload-artifact@v7 + with: + name: Windows-Candidate + path: | + artifacts/candidate/* + !artifacts/candidate/*.msix + retention-days: 7 + compression-level: 0 + if-no-files-found: error + - name: Small verification records for local review + if: success() && github.event_name != 'pull_request' && (github.event_name != 'schedule' || steps.discover.outputs.has_update == 'true') + uses: actions/upload-artifact@v7 + with: + name: Windows-Verification + path: | + artifacts/candidate/*.json + artifacts/candidate/SHA256SUMS.txt + retention-days: 7 + if-no-files-found: error + - name: Original MSIX for replay and local archive + if: success() && github.event_name != 'pull_request' && (github.event_name != 'schedule' || steps.discover.outputs.has_update == 'true') + uses: actions/upload-artifact@v7 + with: + name: Windows-Source + path: | + artifacts/candidate/*.msix + artifacts/candidate/upstream.json + retention-days: 7 + compression-level: 0 + if-no-files-found: error + - name: Save successful candidate observation without modifying master + if: success() && github.event_name != 'pull_request' && (github.event_name != 'schedule' || steps.discover.outputs.has_update == 'true') + run: Copy-Item -LiteralPath artifacts/candidate/candidate.json -Destination .cache/observed-candidate.json + - name: Cache last constructed source version + if: success() && github.event_name != 'pull_request' && (github.event_name != 'schedule' || steps.discover.outputs.has_update == 'true') + uses: actions/cache/save@v4 + with: + path: .cache/observed-candidate.json + key: windows-observed-${{ github.sha }}-${{ github.run_id }}-${{ github.run_attempt }} diff --git a/.github/workflows/windows-release.yml b/.github/workflows/windows-release.yml new file mode 100644 index 00000000..79023c51 --- /dev/null +++ b/.github/workflows/windows-release.yml @@ -0,0 +1,95 @@ +name: Promote Verified Windows Candidate + +on: + workflow_dispatch: + inputs: + run_id: + description: 'Successful Windows Candidate run ID' + required: true + type: string + zip_sha256: + description: 'SHA-256 of the ZIP actually tested' + required: true + type: string + acceptance_path: + description: 'Reviewed public JSON acceptance record on master, e.g. release/acceptance/run-id.json' + required: true + type: string + +permissions: + contents: read + actions: read + +concurrency: + group: windows-formal-release + cancel-in-progress: false + +jobs: + promote: + if: github.ref == 'refs/heads/master' + runs-on: windows-latest + timeout-minutes: 20 + permissions: + contents: write + actions: read + steps: + - uses: actions/checkout@v6 + with: + fetch-depth: 0 + - uses: actions/setup-node@v6 + with: + node-version: '24.14.1' + - name: Validate run identity and committed acceptance record + id: run + env: + GH_TOKEN: ${{ github.token }} + CANDIDATE_RUN: ${{ inputs.run_id }} + ACCEPTANCE_PATH: ${{ inputs.acceptance_path }} + run: | + if ($env:CANDIDATE_RUN -notmatch '^\d+$') { throw 'Invalid run ID' } + if ($env:ACCEPTANCE_PATH -notmatch '^release/acceptance/[A-Za-z0-9._-]+\.json$') { throw 'Acceptance must be under release/acceptance' } + git ls-files --error-unmatch -- $env:ACCEPTANCE_PATH + if ($LASTEXITCODE -ne 0) { throw 'Acceptance record is not tracked on master' } + $run = gh api "repos/$env:GITHUB_REPOSITORY/actions/runs/$env:CANDIDATE_RUN" | ConvertFrom-Json + if ($LASTEXITCODE -ne 0) { throw 'Cannot read candidate run' } + if ($run.status -ne 'completed' -or $run.conclusion -ne 'success' -or $run.path -ne '.github/workflows/windows-candidate.yml' -or $run.head_repository.full_name -ne $env:GITHUB_REPOSITORY) { throw 'Not a successful same-repository candidate run' } + git merge-base --is-ancestor $run.head_sha HEAD + if ($LASTEXITCODE -ne 0) { throw 'Candidate source has not been merged into master' } + "source_commit=$($run.head_sha)" >> $env:GITHUB_OUTPUT + "run_attempt=$($run.run_attempt)" >> $env:GITHUB_OUTPUT + - uses: actions/download-artifact@v7 + with: + github-token: ${{ github.token }} + run-id: ${{ inputs.run_id }} + name: Windows-Candidate + path: artifacts/candidate + - uses: actions/download-artifact@v7 + with: + github-token: ${{ github.token }} + run-id: ${{ inputs.run_id }} + name: Windows-Source + path: artifacts/candidate + - name: Verify original payload and all acceptance gates + id: verify + env: + CANDIDATE_RUN: ${{ inputs.run_id }} + CANDIDATE_HASH: ${{ inputs.zip_sha256 }} + CANDIDATE_SOURCE: ${{ steps.run.outputs.source_commit }} + CANDIDATE_ATTEMPT: ${{ steps.run.outputs.run_attempt }} + ACCEPTANCE_PATH: ${{ inputs.acceptance_path }} + run: | + node scripts/windows-maintenance.js verify-release --dir artifacts/candidate --acceptance $env:ACCEPTANCE_PATH --run-id $env:CANDIDATE_RUN --zip-sha256 $env:CANDIDATE_HASH --source-commit $env:CANDIDATE_SOURCE --run-attempt $env:CANDIDATE_ATTEMPT + - name: Publish the existing tested ZIP without rebuilding + env: + GH_TOKEN: ${{ github.token }} + RELEASE_TAG: ${{ steps.verify.outputs.tag }} + SOURCE_COMMIT: ${{ steps.verify.outputs.source_commit }} + ZIP_NAME: ${{ steps.verify.outputs.zip_name }} + run: | + $existing = gh api "repos/$env:GITHUB_REPOSITORY/releases?per_page=100" | ConvertFrom-Json + if ($LASTEXITCODE -ne 0) { throw 'Cannot check existing release tags' } + if ($existing | Where-Object tag_name -eq $env:RELEASE_TAG) { throw 'Release already exists; overwriting is prohibited' } + $dir = 'artifacts/candidate' + $files = @("$dir/$env:ZIP_NAME", "$dir/SHA256SUMS.txt", "$dir/candidate.json", "$dir/upstream.json", "$dir/verify-report.json", "$dir/acceptance.json") + gh release create $env:RELEASE_TAG @files --repo $env:GITHUB_REPOSITORY --target $env:SOURCE_COMMIT --title $env:RELEASE_TAG --notes 'Windows x64 personal build. Published from the same accepted candidate; see provenance and acceptance records. Official runtime signature may be invalid after ASAR integrity changes.' + if ($LASTEXITCODE -ne 0) { throw 'Release failed' } diff --git a/.gitignore b/.gitignore index 07d5a077..708b991c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ Codex.app/ node_modules/ # Build outputs +/build/ out/ out-*/ dist/ @@ -45,3 +46,13 @@ resources/bin/ resources/codex resources/codex.exe .claude/ + +# Local tools, upstream packages, candidates and isolated acceptance data +7-Zip/ +.cache/ +artifacts/ +/acceptance/ +/release/archive/ + +# Private maintenance documents and machine-local tools; never commit +/local/ diff --git a/.npmignore b/.npmignore index 98a20cf4..13c8e6a7 100644 --- a/.npmignore +++ b/.npmignore @@ -1 +1,3 @@ # Not published to npm — this file silences the gitignore-fallback warning +/local/ +/build/ diff --git a/README.md b/README.md index 22db9165..8967be22 100644 --- a/README.md +++ b/README.md @@ -13,40 +13,64 @@ Cross-platform Electron build for OpenAI Codex Desktop App. ## Build ```bash -# Install dependencies -npm install +# Install locked dependencies without native install scripts +pnpm install --frozen-lockfile --ignore-scripts + +# Point downloads/extraction at an explicit disposable cache directory. +# PowerShell: $env:CODEX_SYNC_DIR = Join-Path $env:TEMP "codex-rebuild" +export CODEX_SYNC_DIR="${RUNNER_TEMP:-/tmp}/codex-rebuild" # Sync upstream resources, then apply all patches -npm run sync -npm run patch +pnpm run sync +pnpm run patch # Build for current platform -npm run build +pnpm run build # Build for specific platform -npm run build:mac-x64 -npm run build:mac-arm64 -npm run build:win-x64 -npm run build:linux-x64 -npm run build:linux-arm64 +pnpm run build:mac-x64 +pnpm run build:mac-arm64 +pnpm run build:win-x64 +pnpm run build:linux-x64 +pnpm run build:linux-arm64 # Build all platforms -npm run build:all +pnpm run build:all ``` ## 补丁链路 - `src//_asar` 是 ASAR 内资源的补丁目标。 - `src//plugins` 与 `src//cua_node` 是 Browser / Computer Use 等外置运行时的补丁目标;直打包流程会显式覆盖这两个目录,避免重新复制上游安装包缓存时丢失补丁。 -- `patch-browser-auth.js` 兼容 API-key 登录:ChatGPT 身份与 request-header 策略可用时保持原行为;身份读取失败时仅关闭该可选请求头并继续本地浏览器通道,不会把 API key 伪装或发送为 ChatGPT token。 -- `patch-image-generation-auth.js` 兼容自定义 `base_url` 的 API-key 登录:仅对非 OpenAI/ChatGPT 官方地址为 app-server 注入 provider 认证、`image_gen` 能力参数,并在没有静态模型目录时启用远端模型发现;显式关闭项及已有 `model_catalog_json`/`model_catalog_url` 均优先,API key 只经子进程环境传递,不写入用户配置或命令行。 +- `patch-fast-mode.js` 为 API-key / 自定义 Provider 补齐新版 `serviceTierAccess`:跳过不可用的 ChatGPT 账户权限查询,但仍由当前模型返回的 `serviceTierOptions` 决定是否显示和发送 Fast / Ultrafast 档位。 +- `patch-provider-quota.js` 按任务实际 Provider 和明确的 `base_url` 判断发送门槛,避免 ChatGPT 额度状态误阻断第三方 Provider,同时保留官方、云任务及第三方真实错误。 +- `patch-api-key-home-navigation.js` 补齐 API-key 模式的当前会话导航记录,并在官方公共首页恢复函数中复用当前位置短路;当前会话点击首页保持不变,从设置等页面点击首页则恢复最近会话,避免直达空首页。ChatGPT、无认证、其他认证方式及非首页区域保持原有条件。 +- `patch-thread-timeline.js` 在当前 host 与 App Server 版本支持时启用官方 `thread/timeline/list` 历史路径,移除 API-key / 自定义 Provider 无法获得的远端灰度条件;版本兼容判断仍由官方逻辑负责。 +- `patch-mcp-status-refresh.js` 将短时间内的 MCP 启动状态通知合并为一次轻量目录刷新;Full 目录只标记为 stale、不在后台立即重拉,详细 MCP 页面后续仍按官方 Full 查询取得资源与模板。 +- `patch-remote-control.js` 不强开 Connections 或 Remote Control gate;只有真实 ChatGPT 认证才同步官方 Remote Control 本地状态,API-key 等其他认证会清除旧启用值并禁用当前 app-server 的 Remote Control。 +- `patch-accent-presets.js` 允许没有 ChatGPT 账户主题的 API-key / 自定义 Provider 在本地选择强调色,并复用官方完整预设渲染消息气泡等界面变量;账户主题仍在加载时保持禁用,账户可用时继续使用官方同步。 +- `patch-hide-pet-menu.js` 只隐藏账户菜单中的 Pet / Mini 入口,保留浮动面板实现、状态和全局快捷键。 +- `patch-hide-invite-menu.js` 隐藏账户菜单中的“邀请好友 / 邀请同事”入口。 +- `patch-sidebar-usage.js` 在 ChatGPT 登录时以剩余额度圆环和数字替换侧栏头像,隐藏官方独立额度入口,使用官方圆环主题配色;复用官方额度查询和刷新机制,点击仍打开原账户菜单。 +- `patch-reading-layout.js` 在外观主题卡片中加入 50%–100%、步进 5% 的正文宽度滑杆,并同步代码块、表格和输入区宽度,扩宽适用对话框;百分比不低于官方宽度,Markdown 粗体颜色可跟随正文、强调色或使用自定义颜色。 +- `patch-rebuild-settings.js` 将正文宽度、Markdown 粗体颜色和本地强调色预设保存到 `CODEX_HOME/codex-rebuild-settings.json`,独立于程序目录与浏览器 User Data;通过限定的可信 IPC 读取和保存,不读取或迁移旧 localStorage。官方账户主题仍由官方管理。 +- `patch-test-isolation.js` 在官方设置 User Data 后、获取单实例锁前挂载 Windows 验收隔离,分别约束 `CODEX_HOME`、User Data 和 sessionData,并记录实际启动路径证据。 +- `patch-thread-file-manager-action.js` 将系统文件管理器入口提升到会话菜单顶层,复用官方工作区打开回调,保留最新工作树解析及失败提示,不覆盖默认编辑器偏好;按菜单内容识别所在 Bundle,支持新版菜单迁移。 +- `patch-thread-copy-markdown.js` 修复未打开会话时 Markdown 复制可能为空的问题,仅在复制操作中加载完整历史,并在需要时复用官方快照及渲染器;不改变日常会话恢复和分页。 +- `patch-archive-delete.js` 让归档列表明确查询全部 Provider,避免切换 Provider 后旧归档被隐藏;新版上游已有原生删除链路时保持原样,旧版才补充永久删除入口。 +- `patch-updater.js` 区分更新方法与调用 Bundle,并在补丁后核对更新方法确实返回禁用状态;缺少目标或结构未知不再误报为已关闭。 +- `sync-upstream.js`、`fetch-msstore.js` 和 `build-from-upstream.js` 强化 Windows x64 官方包选择与固定来源校验,支持精确版本和已验证原始 MSIX 重放;包身份、大小或 SHA-256 不符时拒绝构建,运行检查通过前不生成最终 ZIP。 +- `check-update.js` 在平台检测失败时输出对应错误并以退出码 2 标记检测不完整,不保存部分结果;`fetch-msstore.js` 先筛选目标包,再对同一包摘要的下载地址查询执行有限重试。 +- `windows-artifacts.js` 与 `windows-maintenance.js` 记录官方来源和候选产物哈希,生成候选、验证发布门槛,并保证正式发布复用已经验收的同一 ZIP。 +- `windows-runtime-checks.js` 检查 Windows EXE / 原生模块架构及未修改组件哈希,实际加载 CUA、运行 code-mode host / rg 基础命令,并执行空白隔离桌面的启动、就绪和退出冒烟。 +- `check-scripts.js`、`frontend-source-smoke.js`、`reading-layout-smoke.js` 和 `maintenance-smoke.js` 覆盖脚本语法、真实补丁资源、阅读设置及候选/发布拒绝路径。这些属于补丁结构回归,只证明补丁仍能安全命中和拒绝未知结构;首页、主题、MCP 等运行效果仍以独立 GUI 验收项为准。 - `patch-realtime-voice-auth.js` 为 API-key 登录放行实时语音入口;实时会话仍由 app-server 使用当前 model provider 的 `base_url` 与认证创建,ChatGPT 工作区能力的认证限制保持不变。 -- 上游更新后应先执行 `npm run patch -- --check` 或完整 `npm run patch`,再运行测试和构建。 +- 上游更新后应先执行 `pnpm run patch -- --check` 或完整 `pnpm run patch`,再运行测试和构建。 ## Development ```bash -npm run dev +pnpm run dev ``` ## Project Structure @@ -62,16 +86,16 @@ npm run dev │ └── notification.wav # Sound ├── scripts/ │ ├── patch-all.js -│ └── patch-browser-auth.js +│ └── patch-policy.js ├── forge.config.js # Electron Forge config └── package.json ``` ## CI/CD -GitHub Actions automatically builds on: -- Push to `master` / `main` and tag `v*` → build artifacts -- 每日上游同步工作流:逐平台比较已保存的版本;仅在任一平台版本变化时下载上游、重新应用补丁、构建并更新 Release +`Windows Candidate` 在面向 `master` 的 PR 上只运行语法、补丁和维护链回归检查,不下载或构建候选。推送到 `master`、`maintenance/**`、`candidate/**`,每日定时检查或手动触发时才构建候选 artifact;定时运行只有发现新的 Windows x64 官方版本时才构建。候选不会自动发布。 + +候选完成真实 GUI 验收后,将审查过的验收 JSON 合入 `master`,再手动触发 `Promote Verified Windows Candidate`。晋升工作流下载并核对原候选 run 的同一 ZIP、源码提交、来源和全部必过验收项,然后创建 Release;不会重新打包替代已验收 ZIP。 ### 上游补丁兼容检查 @@ -91,7 +115,7 @@ node scripts/patch-all.js mac-arm64 --check --report patch-reports/mac-arm64-che # 应用补丁,再构建 node scripts/patch-all.js mac-arm64 --report patch-reports/mac-arm64-apply -npm run build:mac-arm64 +pnpm run build:mac-arm64 # 调试历史或单独解压的资源,可指定 src 根目录 node scripts/patch-all.js win --check --source-dir /path/to/extracted/src --report patch-reports/win-check diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index e5619a6b..00000000 --- a/package-lock.json +++ /dev/null @@ -1,8866 +0,0 @@ -{ - "name": "codex-rebuild", - "version": "26.623.81905", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "codex-rebuild", - "version": "26.623.81905", - "dependencies": { - "@sentry/electron": "^7.5.0", - "@sentry/node": "10.29.0", - "better-sqlite3": "^12.11.1", - "electron-context-menu": "^4.1.1", - "electron-squirrel-startup": "^1.0.1", - "encoding": "^0.1.13", - "immer": "^10.1.1", - "lodash": "^4.17.21", - "memoizee": "^0.4.15", - "mime-types": "^2.1.35", - "node-pty": "^1.1.0", - "shell-env": "^4.0.1", - "shlex": "^3.0.0", - "smol-toml": "^1.5.2", - "tslib": "^2.8.1", - "zod": "^4.1.13" - }, - "devDependencies": { - "@electron-forge/cli": "^7.10.2", - "@electron-forge/maker-deb": "^7.10.2", - "@electron-forge/maker-dmg": "^7.10.2", - "@electron-forge/maker-rpm": "^7.10.2", - "@electron-forge/maker-squirrel": "^7.10.2", - "@electron-forge/maker-zip": "^7.10.2", - "@electron-forge/plugin-auto-unpack-natives": "^7.10.2", - "@electron-forge/plugin-fuses": "^7.10.2", - "@electron/asar": "^4.1.2", - "@electron/fuses": "^1.8.0", - "@electron/rebuild": "^3.7.1", - "acorn": "^8.16.0", - "electron": "^42.0.1", - "fast-xml-parser": "^5.5.9" - } - }, - "node_modules/@apm-js-collab/code-transformer": { - "version": "0.8.2", - "license": "Apache-2.0" - }, - "node_modules/@apm-js-collab/tracing-hooks": { - "version": "0.3.1", - "license": "Apache-2.0", - "dependencies": { - "@apm-js-collab/code-transformer": "^0.8.0", - "debug": "^4.4.1", - "module-details-from-path": "^1.0.4" - } - }, - "node_modules/@electron-forge/cli": { - "version": "7.11.1", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/malept" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/subscription/pkg/npm-.electron-forge-cli?utm_medium=referral&utm_source=npm_fund" - } - ], - "license": "MIT", - "dependencies": { - "@electron-forge/core": "7.11.1", - "@electron-forge/core-utils": "7.11.1", - "@electron-forge/shared-types": "7.11.1", - "@electron/get": "^3.0.0", - "@inquirer/prompts": "^6.0.1", - "@listr2/prompt-adapter-inquirer": "^2.0.22", - "chalk": "^4.0.0", - "commander": "^11.1.0", - "debug": "^4.3.1", - "fs-extra": "^10.0.0", - "listr2": "^7.0.2", - "log-symbols": "^4.0.0", - "semver": "^7.2.1" - }, - "bin": { - "electron-forge": "dist/electron-forge.js", - "electron-forge-vscode-nix": "script/vscode.sh", - "electron-forge-vscode-win": "script/vscode.cmd" - }, - "engines": { - "node": ">= 16.4.0" - } - }, - "node_modules/@electron-forge/core": { - "version": "7.11.1", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/malept" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/subscription/pkg/npm-.electron-forge-core?utm_medium=referral&utm_source=npm_fund" - } - ], - "license": "MIT", - "dependencies": { - "@electron-forge/core-utils": "7.11.1", - "@electron-forge/maker-base": "7.11.1", - "@electron-forge/plugin-base": "7.11.1", - "@electron-forge/publisher-base": "7.11.1", - "@electron-forge/shared-types": "7.11.1", - "@electron-forge/template-base": "7.11.1", - "@electron-forge/template-vite": "7.11.1", - "@electron-forge/template-vite-typescript": "7.11.1", - "@electron-forge/template-webpack": "7.11.1", - "@electron-forge/template-webpack-typescript": "7.11.1", - "@electron-forge/tracer": "7.11.1", - "@electron/get": "^3.0.0", - "@electron/packager": "^18.3.5", - "@electron/rebuild": "^3.7.0", - "@malept/cross-spawn-promise": "^2.0.0", - "@vscode/sudo-prompt": "^9.3.1", - "chalk": "^4.0.0", - "debug": "^4.3.1", - "fast-glob": "^3.2.7", - "filenamify": "^4.1.0", - "find-up": "^5.0.0", - "fs-extra": "^10.0.0", - "global-dirs": "^3.0.0", - "got": "^11.8.5", - "interpret": "^3.1.1", - "jiti": "^2.4.2", - "listr2": "^7.0.2", - "lodash": "^4.17.20", - "log-symbols": "^4.0.0", - "node-fetch": "^2.6.7", - "rechoir": "^0.8.0", - "semver": "^7.2.1", - "source-map-support": "^0.5.13", - "username": "^5.1.0" - }, - "engines": { - "node": ">= 16.4.0" - } - }, - "node_modules/@electron-forge/core-utils": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/shared-types": "7.11.1", - "@electron/rebuild": "^3.7.0", - "@malept/cross-spawn-promise": "^2.0.0", - "chalk": "^4.0.0", - "debug": "^4.3.1", - "find-up": "^5.0.0", - "fs-extra": "^10.0.0", - "log-symbols": "^4.0.0", - "parse-author": "^2.0.0", - "semver": "^7.2.1" - }, - "engines": { - "node": ">= 16.4.0" - } - }, - "node_modules/@electron-forge/maker-base": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/shared-types": "7.11.1", - "fs-extra": "^10.0.0", - "which": "^2.0.2" - }, - "engines": { - "node": ">= 16.4.0" - } - }, - "node_modules/@electron-forge/maker-deb": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/maker-base": "7.11.1", - "@electron-forge/shared-types": "7.11.1" - }, - "engines": { - "node": ">= 16.4.0" - }, - "optionalDependencies": { - "electron-installer-debian": "^3.2.0" - } - }, - "node_modules/@electron-forge/maker-dmg": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/maker-base": "7.11.1", - "@electron-forge/shared-types": "7.11.1", - "fs-extra": "^10.0.0" - }, - "engines": { - "node": ">= 16.4.0" - }, - "optionalDependencies": { - "electron-installer-dmg": "^5.0.1" - } - }, - "node_modules/@electron-forge/maker-rpm": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/maker-base": "7.11.1", - "@electron-forge/shared-types": "7.11.1" - }, - "engines": { - "node": ">= 16.4.0" - }, - "optionalDependencies": { - "electron-installer-redhat": "^3.2.0" - } - }, - "node_modules/@electron-forge/maker-squirrel": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/maker-base": "7.11.1", - "@electron-forge/shared-types": "7.11.1", - "fs-extra": "^10.0.0" - }, - "engines": { - "node": ">= 16.4.0" - }, - "optionalDependencies": { - "electron-winstaller": "^5.3.0" - } - }, - "node_modules/@electron-forge/maker-zip": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/maker-base": "7.11.1", - "@electron-forge/shared-types": "7.11.1", - "cross-zip": "^4.0.0", - "fs-extra": "^10.0.0", - "got": "^11.8.5" - }, - "engines": { - "node": ">= 16.4.0" - } - }, - "node_modules/@electron-forge/plugin-auto-unpack-natives": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/plugin-base": "7.11.1", - "@electron-forge/shared-types": "7.11.1" - }, - "engines": { - "node": ">= 16.4.0" - } - }, - "node_modules/@electron-forge/plugin-base": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/shared-types": "7.11.1" - }, - "engines": { - "node": ">= 16.4.0" - } - }, - "node_modules/@electron-forge/plugin-fuses": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/plugin-base": "7.11.1", - "@electron-forge/shared-types": "7.11.1" - }, - "engines": { - "node": ">= 16.4.0" - }, - "peerDependencies": { - "@electron/fuses": "^1.0.0" - } - }, - "node_modules/@electron-forge/publisher-base": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/shared-types": "7.11.1" - }, - "engines": { - "node": ">= 16.4.0" - } - }, - "node_modules/@electron-forge/shared-types": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/tracer": "7.11.1", - "@electron/packager": "^18.3.5", - "@electron/rebuild": "^3.7.0", - "listr2": "^7.0.2" - }, - "engines": { - "node": ">= 16.4.0" - } - }, - "node_modules/@electron-forge/template-base": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/core-utils": "7.11.1", - "@electron-forge/shared-types": "7.11.1", - "@malept/cross-spawn-promise": "^2.0.0", - "debug": "^4.3.1", - "fs-extra": "^10.0.0", - "semver": "^7.2.1", - "username": "^5.1.0" - }, - "engines": { - "node": ">= 16.4.0" - } - }, - "node_modules/@electron-forge/template-vite": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/shared-types": "7.11.1", - "@electron-forge/template-base": "7.11.1", - "fs-extra": "^10.0.0" - }, - "engines": { - "node": ">= 16.4.0" - } - }, - "node_modules/@electron-forge/template-vite-typescript": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/shared-types": "7.11.1", - "@electron-forge/template-base": "7.11.1", - "fs-extra": "^10.0.0" - }, - "engines": { - "node": ">= 16.4.0" - } - }, - "node_modules/@electron-forge/template-webpack": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/shared-types": "7.11.1", - "@electron-forge/template-base": "7.11.1", - "fs-extra": "^10.0.0" - }, - "engines": { - "node": ">= 16.4.0" - } - }, - "node_modules/@electron-forge/template-webpack-typescript": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron-forge/shared-types": "7.11.1", - "@electron-forge/template-base": "7.11.1", - "fs-extra": "^10.0.0", - "typescript": "~5.4.5", - "webpack": "^5.69.1" - }, - "engines": { - "node": ">= 16.4.0" - } - }, - "node_modules/@electron-forge/tracer": { - "version": "7.11.1", - "dev": true, - "license": "MIT", - "dependencies": { - "chrome-trace-event": "^1.0.3" - }, - "engines": { - "node": ">= 14.17.5" - } - }, - "node_modules/@electron/asar": { - "version": "4.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "commander": "^13.1.0", - "glob": "^13.0.2", - "minimatch": "^10.0.1" - }, - "bin": { - "asar": "bin/asar.mjs" - }, - "engines": { - "node": ">=22.12.0" - } - }, - "node_modules/@electron/asar/node_modules/commander": { - "version": "13.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/@electron/fuses": { - "version": "1.8.0", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "chalk": "^4.1.1", - "fs-extra": "^9.0.1", - "minimist": "^1.2.5" - }, - "bin": { - "electron-fuses": "dist/bin.js" - } - }, - "node_modules/@electron/fuses/node_modules/fs-extra": { - "version": "9.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@electron/get": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.1.1", - "env-paths": "^2.2.0", - "fs-extra": "^8.1.0", - "got": "^11.8.5", - "progress": "^2.0.3", - "semver": "^6.2.0", - "sumchecker": "^3.0.1" - }, - "engines": { - "node": ">=14" - }, - "optionalDependencies": { - "global-agent": "^3.0.0" - } - }, - "node_modules/@electron/get/node_modules/fs-extra": { - "version": "8.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/@electron/get/node_modules/jsonfile": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/@electron/get/node_modules/semver": { - "version": "6.3.1", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/@electron/get/node_modules/universalify": { - "version": "0.1.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/@electron/node-gyp": { - "version": "10.2.0-electron.1", - "resolved": "git+ssh://git@github.com/electron/node-gyp.git#06b29aafb7708acef8b3669835c8a7857ebc92d2", - "integrity": "sha512-CrYo6TntjpoMO1SHjl5Pa/JoUsECNqNdB7Kx49WLQpWzPw53eEITJ2Hs9fh/ryUYDn4pxZz11StaBYBrLFJdqg==", - "dev": true, - "license": "MIT", - "dependencies": { - "env-paths": "^2.2.0", - "exponential-backoff": "^3.1.1", - "glob": "^8.1.0", - "graceful-fs": "^4.2.6", - "make-fetch-happen": "^10.2.1", - "nopt": "^6.0.0", - "proc-log": "^2.0.1", - "semver": "^7.3.5", - "tar": "^6.2.1", - "which": "^2.0.2" - }, - "bin": { - "node-gyp": "bin/node-gyp.js" - }, - "engines": { - "node": ">=12.13.0" - } - }, - "node_modules/@electron/node-gyp/node_modules/balanced-match": { - "version": "1.0.2", - "dev": true, - "license": "MIT" - }, - "node_modules/@electron/node-gyp/node_modules/brace-expansion": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/@electron/node-gyp/node_modules/glob": { - "version": "8.1.0", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@electron/node-gyp/node_modules/minimatch": { - "version": "5.1.9", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@electron/notarize": { - "version": "2.5.0", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.1.1", - "fs-extra": "^9.0.1", - "promise-retry": "^2.0.1" - }, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/@electron/notarize/node_modules/fs-extra": { - "version": "9.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@electron/osx-sign": { - "version": "1.3.3", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "compare-version": "^0.1.2", - "debug": "^4.3.4", - "fs-extra": "^10.0.0", - "isbinaryfile": "^4.0.8", - "minimist": "^1.2.6", - "plist": "^3.0.5" - }, - "bin": { - "electron-osx-flat": "bin/electron-osx-flat.js", - "electron-osx-sign": "bin/electron-osx-sign.js" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/@electron/packager": { - "version": "18.4.4", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "@electron/asar": "^3.2.13", - "@electron/get": "^3.0.0", - "@electron/notarize": "^2.1.0", - "@electron/osx-sign": "^1.0.5", - "@electron/universal": "^2.0.1", - "@electron/windows-sign": "^1.0.0", - "@malept/cross-spawn-promise": "^2.0.0", - "debug": "^4.0.1", - "extract-zip": "^2.0.0", - "filenamify": "^4.1.0", - "fs-extra": "^11.1.0", - "galactus": "^1.0.0", - "get-package-info": "^1.0.0", - "junk": "^3.1.0", - "parse-author": "^2.0.0", - "plist": "^3.0.0", - "prettier": "^3.4.2", - "resedit": "^2.0.0", - "resolve": "^1.1.6", - "semver": "^7.1.3", - "yargs-parser": "^21.1.1" - }, - "bin": { - "electron-packager": "bin/electron-packager.js" - }, - "engines": { - "node": ">= 16.13.0" - }, - "funding": { - "url": "https://github.com/electron/packager?sponsor=1" - } - }, - "node_modules/@electron/packager/node_modules/@electron/asar": { - "version": "3.4.1", - "dev": true, - "license": "MIT", - "dependencies": { - "commander": "^5.0.0", - "glob": "^7.1.6", - "minimatch": "^3.0.4" - }, - "bin": { - "asar": "bin/asar.js" - }, - "engines": { - "node": ">=10.12.0" - } - }, - "node_modules/@electron/packager/node_modules/balanced-match": { - "version": "1.0.2", - "dev": true, - "license": "MIT" - }, - "node_modules/@electron/packager/node_modules/brace-expansion": { - "version": "1.1.14", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/@electron/packager/node_modules/commander": { - "version": "5.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/@electron/packager/node_modules/fs-extra": { - "version": "11.3.5", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/@electron/packager/node_modules/glob": { - "version": "7.2.3", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@electron/packager/node_modules/minimatch": { - "version": "3.1.5", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/@electron/rebuild": { - "version": "3.7.2", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron/node-gyp": "https://github.com/electron/node-gyp#06b29aafb7708acef8b3669835c8a7857ebc92d2", - "@malept/cross-spawn-promise": "^2.0.0", - "chalk": "^4.0.0", - "debug": "^4.1.1", - "detect-libc": "^2.0.1", - "fs-extra": "^10.0.0", - "got": "^11.7.0", - "node-abi": "^3.45.0", - "node-api-version": "^0.2.0", - "ora": "^5.1.0", - "read-binary-file-arch": "^1.0.6", - "semver": "^7.3.5", - "tar": "^6.0.5", - "yargs": "^17.0.1" - }, - "bin": { - "electron-rebuild": "lib/cli.js" - }, - "engines": { - "node": ">=12.13.0" - } - }, - "node_modules/@electron/universal": { - "version": "2.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron/asar": "^3.3.1", - "@malept/cross-spawn-promise": "^2.0.0", - "debug": "^4.3.1", - "dir-compare": "^4.2.0", - "fs-extra": "^11.1.1", - "minimatch": "^9.0.3", - "plist": "^3.1.0" - }, - "engines": { - "node": ">=16.4" - } - }, - "node_modules/@electron/universal/node_modules/@electron/asar": { - "version": "3.4.1", - "dev": true, - "license": "MIT", - "dependencies": { - "commander": "^5.0.0", - "glob": "^7.1.6", - "minimatch": "^3.0.4" - }, - "bin": { - "asar": "bin/asar.js" - }, - "engines": { - "node": ">=10.12.0" - } - }, - "node_modules/@electron/universal/node_modules/@electron/asar/node_modules/brace-expansion": { - "version": "1.1.14", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/@electron/universal/node_modules/@electron/asar/node_modules/minimatch": { - "version": "3.1.5", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/@electron/universal/node_modules/balanced-match": { - "version": "1.0.2", - "dev": true, - "license": "MIT" - }, - "node_modules/@electron/universal/node_modules/brace-expansion": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/@electron/universal/node_modules/commander": { - "version": "5.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, - "node_modules/@electron/universal/node_modules/fs-extra": { - "version": "11.3.5", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/@electron/universal/node_modules/glob": { - "version": "7.2.3", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@electron/universal/node_modules/glob/node_modules/brace-expansion": { - "version": "1.1.14", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/@electron/universal/node_modules/glob/node_modules/minimatch": { - "version": "3.1.5", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/@electron/universal/node_modules/minimatch": { - "version": "9.0.9", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.2" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@electron/windows-sign": { - "version": "1.2.2", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "cross-dirname": "^0.1.0", - "debug": "^4.3.4", - "fs-extra": "^11.1.1", - "minimist": "^1.2.8", - "postject": "^1.0.0-alpha.6" - }, - "bin": { - "electron-windows-sign": "bin/electron-windows-sign.js" - }, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/@electron/windows-sign/node_modules/fs-extra": { - "version": "11.3.5", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/@fastify/otel": { - "version": "0.18.0", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "license": "MIT", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.212.0", - "@opentelemetry/semantic-conventions": "^1.28.0", - "minimatch": "^10.2.4" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.9.0" - } - }, - "node_modules/@fastify/otel/node_modules/@opentelemetry/api-logs": { - "version": "0.212.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api": "^1.3.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@fastify/otel/node_modules/@opentelemetry/instrumentation": { - "version": "0.212.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api-logs": "0.212.0", - "import-in-the-middle": "^2.0.6", - "require-in-the-middle": "^8.0.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@gar/promisify": { - "version": "1.1.3", - "dev": true, - "license": "MIT" - }, - "node_modules/@inquirer/checkbox": { - "version": "3.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^9.2.1", - "@inquirer/figures": "^1.0.6", - "@inquirer/type": "^2.0.0", - "ansi-escapes": "^4.3.2", - "yoctocolors-cjs": "^2.1.2" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/confirm": { - "version": "4.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^9.2.1", - "@inquirer/type": "^2.0.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/core": { - "version": "9.2.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/figures": "^1.0.6", - "@inquirer/type": "^2.0.0", - "@types/mute-stream": "^0.0.4", - "@types/node": "^22.5.5", - "@types/wrap-ansi": "^3.0.0", - "ansi-escapes": "^4.3.2", - "cli-width": "^4.1.0", - "mute-stream": "^1.0.0", - "signal-exit": "^4.1.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^6.2.0", - "yoctocolors-cjs": "^2.1.2" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/editor": { - "version": "3.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^9.2.1", - "@inquirer/type": "^2.0.0", - "external-editor": "^3.1.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/expand": { - "version": "3.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^9.2.1", - "@inquirer/type": "^2.0.0", - "yoctocolors-cjs": "^2.1.2" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/figures": { - "version": "1.0.15", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/input": { - "version": "3.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^9.2.1", - "@inquirer/type": "^2.0.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/number": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^9.2.1", - "@inquirer/type": "^2.0.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/password": { - "version": "3.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^9.2.1", - "@inquirer/type": "^2.0.0", - "ansi-escapes": "^4.3.2" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/prompts": { - "version": "6.0.1", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@inquirer/checkbox": "^3.0.1", - "@inquirer/confirm": "^4.0.1", - "@inquirer/editor": "^3.0.1", - "@inquirer/expand": "^3.0.1", - "@inquirer/input": "^3.0.1", - "@inquirer/number": "^2.0.1", - "@inquirer/password": "^3.0.1", - "@inquirer/rawlist": "^3.0.1", - "@inquirer/search": "^2.0.1", - "@inquirer/select": "^3.0.1" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/rawlist": { - "version": "3.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^9.2.1", - "@inquirer/type": "^2.0.0", - "yoctocolors-cjs": "^2.1.2" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/search": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^9.2.1", - "@inquirer/figures": "^1.0.6", - "@inquirer/type": "^2.0.0", - "yoctocolors-cjs": "^2.1.2" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/select": { - "version": "3.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/core": "^9.2.1", - "@inquirer/figures": "^1.0.6", - "@inquirer/type": "^2.0.0", - "ansi-escapes": "^4.3.2", - "yoctocolors-cjs": "^2.1.2" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@inquirer/type": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "mute-stream": "^1.0.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.13", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.5.0", - "@jridgewell/trace-mapping": "^0.3.24" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/source-map": { - "version": "0.3.11", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.25" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.5", - "dev": true, - "license": "MIT" - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.31", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" - } - }, - "node_modules/@listr2/prompt-adapter-inquirer": { - "version": "2.0.22", - "dev": true, - "license": "MIT", - "dependencies": { - "@inquirer/type": "^1.5.5" - }, - "engines": { - "node": ">=18.0.0" - }, - "peerDependencies": { - "@inquirer/prompts": ">= 3 < 8" - } - }, - "node_modules/@listr2/prompt-adapter-inquirer/node_modules/@inquirer/type": { - "version": "1.5.5", - "dev": true, - "license": "MIT", - "dependencies": { - "mute-stream": "^1.0.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@malept/cross-spawn-promise": { - "version": "2.0.0", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/malept" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/subscription/pkg/npm-.malept-cross-spawn-promise?utm_medium=referral&utm_source=npm_fund" - } - ], - "license": "Apache-2.0", - "dependencies": { - "cross-spawn": "^7.0.1" - }, - "engines": { - "node": ">= 12.13.0" - } - }, - "node_modules/@nodable/entities": { - "version": "2.1.0", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/nodable" - } - ], - "license": "MIT" - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@npmcli/fs": { - "version": "2.1.2", - "dev": true, - "license": "ISC", - "dependencies": { - "@gar/promisify": "^1.1.3", - "semver": "^7.3.5" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/@npmcli/move-file": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/@opentelemetry/api": { - "version": "1.9.1", - "license": "Apache-2.0", - "peer": true, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@opentelemetry/api-logs": { - "version": "0.208.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api": "^1.3.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@opentelemetry/context-async-hooks": { - "version": "2.7.1", - "license": "Apache-2.0", - "peer": true, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/core": { - "version": "2.7.1", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@opentelemetry/semantic-conventions": "^1.29.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/instrumentation": { - "version": "0.208.0", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@opentelemetry/api-logs": "0.208.0", - "import-in-the-middle": "^2.0.0", - "require-in-the-middle": "^8.0.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-amqplib": { - "version": "0.55.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.208.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-connect": { - "version": "0.52.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.208.0", - "@opentelemetry/semantic-conventions": "^1.27.0", - "@types/connect": "3.4.38" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-dataloader": { - "version": "0.26.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.208.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-express": { - "version": "0.57.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.208.0", - "@opentelemetry/semantic-conventions": "^1.27.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-fs": { - "version": "0.28.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.208.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-generic-pool": { - "version": "0.52.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.208.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-graphql": { - "version": "0.56.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.208.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-hapi": { - "version": "0.55.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.208.0", - "@opentelemetry/semantic-conventions": "^1.27.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-http": { - "version": "0.208.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "2.2.0", - "@opentelemetry/instrumentation": "0.208.0", - "@opentelemetry/semantic-conventions": "^1.29.0", - "forwarded-parse": "2.1.2" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-http/node_modules/@opentelemetry/core": { - "version": "2.2.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/semantic-conventions": "^1.29.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/instrumentation-ioredis": { - "version": "0.56.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.208.0", - "@opentelemetry/redis-common": "^0.38.2" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-kafkajs": { - "version": "0.18.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.208.0", - "@opentelemetry/semantic-conventions": "^1.30.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-knex": { - "version": "0.53.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.208.0", - "@opentelemetry/semantic-conventions": "^1.33.1" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-koa": { - "version": "0.57.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.208.0", - "@opentelemetry/semantic-conventions": "^1.36.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.9.0" - } - }, - "node_modules/@opentelemetry/instrumentation-lru-memoizer": { - "version": "0.53.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.208.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-mongodb": { - "version": "0.61.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.208.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-mongoose": { - "version": "0.55.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.208.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-mysql": { - "version": "0.54.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.208.0", - "@types/mysql": "2.15.27" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-mysql2": { - "version": "0.55.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.208.0", - "@opentelemetry/semantic-conventions": "^1.33.0", - "@opentelemetry/sql-common": "^0.41.2" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-pg": { - "version": "0.61.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.208.0", - "@opentelemetry/semantic-conventions": "^1.34.0", - "@opentelemetry/sql-common": "^0.41.2", - "@types/pg": "8.15.6", - "@types/pg-pool": "2.0.6" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-redis": { - "version": "0.57.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.208.0", - "@opentelemetry/redis-common": "^0.38.2", - "@opentelemetry/semantic-conventions": "^1.27.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-tedious": { - "version": "0.27.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.208.0", - "@types/tedious": "^4.0.14" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/instrumentation-undici": { - "version": "0.19.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.208.0", - "@opentelemetry/semantic-conventions": "^1.24.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.7.0" - } - }, - "node_modules/@opentelemetry/redis-common": { - "version": "0.38.3", - "license": "Apache-2.0", - "engines": { - "node": "^18.19.0 || >=20.6.0" - } - }, - "node_modules/@opentelemetry/resources": { - "version": "2.7.1", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@opentelemetry/core": "2.7.1", - "@opentelemetry/semantic-conventions": "^1.29.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.3.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/sdk-trace-base": { - "version": "2.7.1", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@opentelemetry/core": "2.7.1", - "@opentelemetry/resources": "2.7.1", - "@opentelemetry/semantic-conventions": "^1.29.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.3.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/semantic-conventions": { - "version": "1.40.0", - "license": "Apache-2.0", - "peer": true, - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/sql-common": { - "version": "0.41.2", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.1.0" - } - }, - "node_modules/@prisma/instrumentation": { - "version": "6.19.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": ">=0.52.0 <1" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.8" - } - }, - "node_modules/@sentry-internal/browser-utils": { - "version": "10.50.0", - "license": "MIT", - "dependencies": { - "@sentry/core": "10.50.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@sentry-internal/feedback": { - "version": "10.50.0", - "license": "MIT", - "dependencies": { - "@sentry/core": "10.50.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@sentry-internal/replay": { - "version": "10.50.0", - "license": "MIT", - "dependencies": { - "@sentry-internal/browser-utils": "10.50.0", - "@sentry/core": "10.50.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@sentry-internal/replay-canvas": { - "version": "10.50.0", - "license": "MIT", - "dependencies": { - "@sentry-internal/replay": "10.50.0", - "@sentry/core": "10.50.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@sentry/browser": { - "version": "10.50.0", - "license": "MIT", - "dependencies": { - "@sentry-internal/browser-utils": "10.50.0", - "@sentry-internal/feedback": "10.50.0", - "@sentry-internal/replay": "10.50.0", - "@sentry-internal/replay-canvas": "10.50.0", - "@sentry/core": "10.50.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@sentry/core": { - "version": "10.50.0", - "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/@sentry/electron": { - "version": "7.13.0", - "license": "MIT", - "dependencies": { - "@sentry/browser": "10.50.0", - "@sentry/core": "10.50.0", - "@sentry/node": "10.50.0" - }, - "peerDependencies": { - "@sentry/node-native": "10.50.0" - }, - "peerDependenciesMeta": { - "@sentry/node-native": { - "optional": true - } - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/api-logs": { - "version": "0.214.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api": "^1.3.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/core": { - "version": "2.6.1", - "license": "Apache-2.0", - "peer": true, - "dependencies": { - "@opentelemetry/semantic-conventions": "^1.29.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.10.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation": { - "version": "0.214.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api-logs": "0.214.0", - "import-in-the-middle": "^3.0.0", - "require-in-the-middle": "^8.0.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-amqplib": { - "version": "0.61.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.214.0", - "@opentelemetry/semantic-conventions": "^1.33.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-connect": { - "version": "0.57.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.214.0", - "@opentelemetry/semantic-conventions": "^1.27.0", - "@types/connect": "3.4.38" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-dataloader": { - "version": "0.31.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.214.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-fs": { - "version": "0.33.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.214.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-generic-pool": { - "version": "0.57.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.214.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-graphql": { - "version": "0.62.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.214.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-hapi": { - "version": "0.60.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.214.0", - "@opentelemetry/semantic-conventions": "^1.27.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-http": { - "version": "0.214.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "2.6.1", - "@opentelemetry/instrumentation": "0.214.0", - "@opentelemetry/semantic-conventions": "^1.29.0", - "forwarded-parse": "2.1.2" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-ioredis": { - "version": "0.62.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.214.0", - "@opentelemetry/redis-common": "^0.38.2", - "@opentelemetry/semantic-conventions": "^1.33.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-kafkajs": { - "version": "0.23.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.214.0", - "@opentelemetry/semantic-conventions": "^1.30.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-knex": { - "version": "0.58.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.214.0", - "@opentelemetry/semantic-conventions": "^1.33.1" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-koa": { - "version": "0.62.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.214.0", - "@opentelemetry/semantic-conventions": "^1.36.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.9.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-lru-memoizer": { - "version": "0.58.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.214.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-mongodb": { - "version": "0.67.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.214.0", - "@opentelemetry/semantic-conventions": "^1.33.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-mongoose": { - "version": "0.60.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.214.0", - "@opentelemetry/semantic-conventions": "^1.33.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-mysql": { - "version": "0.60.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.214.0", - "@opentelemetry/semantic-conventions": "^1.33.0", - "@types/mysql": "2.15.27" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-mysql2": { - "version": "0.60.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.214.0", - "@opentelemetry/semantic-conventions": "^1.33.0", - "@opentelemetry/sql-common": "^0.41.2" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-pg": { - "version": "0.66.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "^2.0.0", - "@opentelemetry/instrumentation": "^0.214.0", - "@opentelemetry/semantic-conventions": "^1.34.0", - "@opentelemetry/sql-common": "^0.41.2", - "@types/pg": "8.15.6", - "@types/pg-pool": "2.0.7" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-redis": { - "version": "0.62.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.214.0", - "@opentelemetry/redis-common": "^0.38.2", - "@opentelemetry/semantic-conventions": "^1.27.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@opentelemetry/instrumentation-tedious": { - "version": "0.33.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.214.0", - "@opentelemetry/semantic-conventions": "^1.33.0", - "@types/tedious": "^4.0.14" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@prisma/instrumentation": { - "version": "7.6.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/instrumentation": "^0.207.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.8" - } - }, - "node_modules/@sentry/electron/node_modules/@prisma/instrumentation/node_modules/@opentelemetry/api-logs": { - "version": "0.207.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api": "^1.3.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@sentry/electron/node_modules/@prisma/instrumentation/node_modules/@opentelemetry/instrumentation": { - "version": "0.207.0", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api-logs": "0.207.0", - "import-in-the-middle": "^2.0.0", - "require-in-the-middle": "^8.0.0" - }, - "engines": { - "node": "^18.19.0 || >=20.6.0" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@sentry/electron/node_modules/@prisma/instrumentation/node_modules/import-in-the-middle": { - "version": "2.0.6", - "license": "Apache-2.0", - "dependencies": { - "acorn": "^8.15.0", - "acorn-import-attributes": "^1.9.5", - "cjs-module-lexer": "^2.2.0", - "module-details-from-path": "^1.0.4" - } - }, - "node_modules/@sentry/electron/node_modules/@sentry/node": { - "version": "10.50.0", - "license": "MIT", - "dependencies": { - "@fastify/otel": "0.18.0", - "@opentelemetry/api": "^1.9.1", - "@opentelemetry/core": "^2.6.1", - "@opentelemetry/instrumentation": "^0.214.0", - "@opentelemetry/instrumentation-amqplib": "0.61.0", - "@opentelemetry/instrumentation-connect": "0.57.0", - "@opentelemetry/instrumentation-dataloader": "0.31.0", - "@opentelemetry/instrumentation-fs": "0.33.0", - "@opentelemetry/instrumentation-generic-pool": "0.57.0", - "@opentelemetry/instrumentation-graphql": "0.62.0", - "@opentelemetry/instrumentation-hapi": "0.60.0", - "@opentelemetry/instrumentation-http": "0.214.0", - "@opentelemetry/instrumentation-ioredis": "0.62.0", - "@opentelemetry/instrumentation-kafkajs": "0.23.0", - "@opentelemetry/instrumentation-knex": "0.58.0", - "@opentelemetry/instrumentation-koa": "0.62.0", - "@opentelemetry/instrumentation-lru-memoizer": "0.58.0", - "@opentelemetry/instrumentation-mongodb": "0.67.0", - "@opentelemetry/instrumentation-mongoose": "0.60.0", - "@opentelemetry/instrumentation-mysql": "0.60.0", - "@opentelemetry/instrumentation-mysql2": "0.60.0", - "@opentelemetry/instrumentation-pg": "0.66.0", - "@opentelemetry/instrumentation-redis": "0.62.0", - "@opentelemetry/instrumentation-tedious": "0.33.0", - "@opentelemetry/sdk-trace-base": "^2.6.1", - "@opentelemetry/semantic-conventions": "^1.40.0", - "@prisma/instrumentation": "7.6.0", - "@sentry/core": "10.50.0", - "@sentry/node-core": "10.50.0", - "@sentry/opentelemetry": "10.50.0", - "import-in-the-middle": "^3.0.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@sentry/electron/node_modules/@sentry/node-core": { - "version": "10.50.0", - "license": "MIT", - "dependencies": { - "@sentry/core": "10.50.0", - "@sentry/opentelemetry": "10.50.0", - "import-in-the-middle": "^3.0.0" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.9.0", - "@opentelemetry/core": "^1.30.1 || ^2.1.0", - "@opentelemetry/exporter-trace-otlp-http": ">=0.57.0 <1", - "@opentelemetry/instrumentation": ">=0.57.1 <1", - "@opentelemetry/sdk-trace-base": "^1.30.1 || ^2.1.0", - "@opentelemetry/semantic-conventions": "^1.39.0" - }, - "peerDependenciesMeta": { - "@opentelemetry/api": { - "optional": true - }, - "@opentelemetry/core": { - "optional": true - }, - "@opentelemetry/exporter-trace-otlp-http": { - "optional": true - }, - "@opentelemetry/instrumentation": { - "optional": true - }, - "@opentelemetry/sdk-trace-base": { - "optional": true - }, - "@opentelemetry/semantic-conventions": { - "optional": true - } - } - }, - "node_modules/@sentry/electron/node_modules/@sentry/opentelemetry": { - "version": "10.50.0", - "license": "MIT", - "dependencies": { - "@sentry/core": "10.50.0" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.9.0", - "@opentelemetry/core": "^1.30.1 || ^2.1.0", - "@opentelemetry/sdk-trace-base": "^1.30.1 || ^2.1.0", - "@opentelemetry/semantic-conventions": "^1.39.0" - } - }, - "node_modules/@sentry/electron/node_modules/@types/pg-pool": { - "version": "2.0.7", - "license": "MIT", - "dependencies": { - "@types/pg": "*" - } - }, - "node_modules/@sentry/electron/node_modules/import-in-the-middle": { - "version": "3.0.1", - "license": "Apache-2.0", - "dependencies": { - "acorn": "^8.15.0", - "acorn-import-attributes": "^1.9.5", - "cjs-module-lexer": "^2.2.0", - "module-details-from-path": "^1.0.4" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@sentry/node": { - "version": "10.29.0", - "license": "MIT", - "dependencies": { - "@opentelemetry/api": "^1.9.0", - "@opentelemetry/context-async-hooks": "^2.2.0", - "@opentelemetry/core": "^2.2.0", - "@opentelemetry/instrumentation": "^0.208.0", - "@opentelemetry/instrumentation-amqplib": "0.55.0", - "@opentelemetry/instrumentation-connect": "0.52.0", - "@opentelemetry/instrumentation-dataloader": "0.26.0", - "@opentelemetry/instrumentation-express": "0.57.0", - "@opentelemetry/instrumentation-fs": "0.28.0", - "@opentelemetry/instrumentation-generic-pool": "0.52.0", - "@opentelemetry/instrumentation-graphql": "0.56.0", - "@opentelemetry/instrumentation-hapi": "0.55.0", - "@opentelemetry/instrumentation-http": "0.208.0", - "@opentelemetry/instrumentation-ioredis": "0.56.0", - "@opentelemetry/instrumentation-kafkajs": "0.18.0", - "@opentelemetry/instrumentation-knex": "0.53.0", - "@opentelemetry/instrumentation-koa": "0.57.0", - "@opentelemetry/instrumentation-lru-memoizer": "0.53.0", - "@opentelemetry/instrumentation-mongodb": "0.61.0", - "@opentelemetry/instrumentation-mongoose": "0.55.0", - "@opentelemetry/instrumentation-mysql": "0.54.0", - "@opentelemetry/instrumentation-mysql2": "0.55.0", - "@opentelemetry/instrumentation-pg": "0.61.0", - "@opentelemetry/instrumentation-redis": "0.57.0", - "@opentelemetry/instrumentation-tedious": "0.27.0", - "@opentelemetry/instrumentation-undici": "0.19.0", - "@opentelemetry/resources": "^2.2.0", - "@opentelemetry/sdk-trace-base": "^2.2.0", - "@opentelemetry/semantic-conventions": "^1.37.0", - "@prisma/instrumentation": "6.19.0", - "@sentry/core": "10.29.0", - "@sentry/node-core": "10.29.0", - "@sentry/opentelemetry": "10.29.0", - "import-in-the-middle": "^2", - "minimatch": "^9.0.0" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@sentry/node-core": { - "version": "10.29.0", - "license": "MIT", - "dependencies": { - "@apm-js-collab/tracing-hooks": "^0.3.1", - "@sentry/core": "10.29.0", - "@sentry/opentelemetry": "10.29.0", - "import-in-the-middle": "^2" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.9.0", - "@opentelemetry/context-async-hooks": "^1.30.1 || ^2.1.0 || ^2.2.0", - "@opentelemetry/core": "^1.30.1 || ^2.1.0 || ^2.2.0", - "@opentelemetry/instrumentation": ">=0.57.1 <1", - "@opentelemetry/resources": "^1.30.1 || ^2.1.0 || ^2.2.0", - "@opentelemetry/sdk-trace-base": "^1.30.1 || ^2.1.0 || ^2.2.0", - "@opentelemetry/semantic-conventions": "^1.37.0" - } - }, - "node_modules/@sentry/node-core/node_modules/@sentry/core": { - "version": "10.29.0", - "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/@sentry/node/node_modules/@sentry/core": { - "version": "10.29.0", - "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/@sentry/node/node_modules/balanced-match": { - "version": "1.0.2", - "license": "MIT" - }, - "node_modules/@sentry/node/node_modules/brace-expansion": { - "version": "2.1.0", - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/@sentry/node/node_modules/minimatch": { - "version": "9.0.9", - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.2" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/@sentry/opentelemetry": { - "version": "10.29.0", - "license": "MIT", - "dependencies": { - "@sentry/core": "10.29.0" - }, - "engines": { - "node": ">=18" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.9.0", - "@opentelemetry/context-async-hooks": "^1.30.1 || ^2.1.0 || ^2.2.0", - "@opentelemetry/core": "^1.30.1 || ^2.1.0 || ^2.2.0", - "@opentelemetry/sdk-trace-base": "^1.30.1 || ^2.1.0 || ^2.2.0", - "@opentelemetry/semantic-conventions": "^1.37.0" - } - }, - "node_modules/@sentry/opentelemetry/node_modules/@sentry/core": { - "version": "10.29.0", - "license": "MIT", - "engines": { - "node": ">=18" - } - }, - "node_modules/@sindresorhus/is": { - "version": "4.6.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/is?sponsor=1" - } - }, - "node_modules/@szmarczak/http-timer": { - "version": "4.0.6", - "dev": true, - "license": "MIT", - "dependencies": { - "defer-to-connect": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@tootallnate/once": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 10" - } - }, - "node_modules/@types/appdmg": { - "version": "0.5.5", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/cacheable-request": { - "version": "6.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/http-cache-semantics": "*", - "@types/keyv": "^3.1.4", - "@types/node": "*", - "@types/responselike": "^1.0.0" - } - }, - "node_modules/@types/connect": { - "version": "3.4.38", - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/eslint": { - "version": "9.6.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/estree": "*", - "@types/json-schema": "*" - } - }, - "node_modules/@types/eslint-scope": { - "version": "3.7.7", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/eslint": "*", - "@types/estree": "*" - } - }, - "node_modules/@types/estree": { - "version": "1.0.9", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/fs-extra": { - "version": "9.0.13", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/http-cache-semantics": { - "version": "4.2.0", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/keyv": { - "version": "3.1.4", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/mute-stream": { - "version": "0.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/mysql": { - "version": "2.15.27", - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/node": { - "version": "22.19.17", - "license": "MIT", - "dependencies": { - "undici-types": "~6.21.0" - } - }, - "node_modules/@types/pg": { - "version": "8.15.6", - "license": "MIT", - "dependencies": { - "@types/node": "*", - "pg-protocol": "*", - "pg-types": "^2.2.0" - } - }, - "node_modules/@types/pg-pool": { - "version": "2.0.6", - "license": "MIT", - "dependencies": { - "@types/pg": "*" - } - }, - "node_modules/@types/responselike": { - "version": "1.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/tedious": { - "version": "4.0.14", - "license": "MIT", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/wrap-ansi": { - "version": "3.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/@types/yauzl": { - "version": "2.10.3", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@vscode/sudo-prompt": { - "version": "9.3.2", - "dev": true, - "license": "MIT" - }, - "node_modules/@webassemblyjs/ast": { - "version": "1.14.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@webassemblyjs/helper-numbers": "1.13.2", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2" - } - }, - "node_modules/@webassemblyjs/floating-point-hex-parser": { - "version": "1.13.2", - "dev": true, - "license": "MIT" - }, - "node_modules/@webassemblyjs/helper-api-error": { - "version": "1.13.2", - "dev": true, - "license": "MIT" - }, - "node_modules/@webassemblyjs/helper-buffer": { - "version": "1.14.1", - "dev": true, - "license": "MIT" - }, - "node_modules/@webassemblyjs/helper-numbers": { - "version": "1.13.2", - "dev": true, - "license": "MIT", - "dependencies": { - "@webassemblyjs/floating-point-hex-parser": "1.13.2", - "@webassemblyjs/helper-api-error": "1.13.2", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.13.2", - "dev": true, - "license": "MIT" - }, - "node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.14.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-buffer": "1.14.1", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2", - "@webassemblyjs/wasm-gen": "1.14.1" - } - }, - "node_modules/@webassemblyjs/ieee754": { - "version": "1.13.2", - "dev": true, - "license": "MIT", - "dependencies": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "node_modules/@webassemblyjs/leb128": { - "version": "1.13.2", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@webassemblyjs/utf8": { - "version": "1.13.2", - "dev": true, - "license": "MIT" - }, - "node_modules/@webassemblyjs/wasm-edit": { - "version": "1.14.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-buffer": "1.14.1", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2", - "@webassemblyjs/helper-wasm-section": "1.14.1", - "@webassemblyjs/wasm-gen": "1.14.1", - "@webassemblyjs/wasm-opt": "1.14.1", - "@webassemblyjs/wasm-parser": "1.14.1", - "@webassemblyjs/wast-printer": "1.14.1" - } - }, - "node_modules/@webassemblyjs/wasm-gen": { - "version": "1.14.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2", - "@webassemblyjs/ieee754": "1.13.2", - "@webassemblyjs/leb128": "1.13.2", - "@webassemblyjs/utf8": "1.13.2" - } - }, - "node_modules/@webassemblyjs/wasm-opt": { - "version": "1.14.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-buffer": "1.14.1", - "@webassemblyjs/wasm-gen": "1.14.1", - "@webassemblyjs/wasm-parser": "1.14.1" - } - }, - "node_modules/@webassemblyjs/wasm-parser": { - "version": "1.14.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@webassemblyjs/helper-api-error": "1.13.2", - "@webassemblyjs/helper-wasm-bytecode": "1.13.2", - "@webassemblyjs/ieee754": "1.13.2", - "@webassemblyjs/leb128": "1.13.2", - "@webassemblyjs/utf8": "1.13.2" - } - }, - "node_modules/@webassemblyjs/wast-printer": { - "version": "1.14.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@webassemblyjs/ast": "1.14.1", - "@xtuc/long": "4.2.2" - } - }, - "node_modules/@xmldom/xmldom": { - "version": "0.9.10", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14.6" - } - }, - "node_modules/@xtuc/ieee754": { - "version": "1.2.0", - "dev": true, - "license": "BSD-3-Clause" - }, - "node_modules/@xtuc/long": { - "version": "4.2.2", - "dev": true, - "license": "Apache-2.0" - }, - "node_modules/abbrev": { - "version": "1.1.1", - "dev": true, - "license": "ISC" - }, - "node_modules/acorn": { - "version": "8.16.0", - "license": "MIT", - "peer": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-import-attributes": { - "version": "1.9.5", - "license": "MIT", - "peerDependencies": { - "acorn": "^8" - } - }, - "node_modules/acorn-import-phases": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10.13.0" - }, - "peerDependencies": { - "acorn": "^8.14.0" - } - }, - "node_modules/agent-base": { - "version": "6.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/agentkeepalive": { - "version": "4.6.0", - "dev": true, - "license": "MIT", - "dependencies": { - "humanize-ms": "^1.2.1" - }, - "engines": { - "node": ">= 8.0.0" - } - }, - "node_modules/aggregate-error": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "clean-stack": "^2.0.0", - "indent-string": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/ajv": { - "version": "8.20.0", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/ajv-formats": { - "version": "2.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ajv": "^8.0.0" - }, - "peerDependencies": { - "ajv": "^8.0.0" - }, - "peerDependenciesMeta": { - "ajv": { - "optional": true - } - } - }, - "node_modules/ajv-keywords": { - "version": "5.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.3" - }, - "peerDependencies": { - "ajv": "^8.8.2" - } - }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "dev": true, - "license": "MIT", - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/appdmg": { - "version": "0.6.6", - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "dependencies": { - "async": "^1.4.2", - "ds-store": "^0.1.5", - "execa": "^1.0.0", - "fs-temp": "^1.0.0", - "fs-xattr": "^0.3.0", - "image-size": "^0.7.4", - "is-my-json-valid": "^2.20.0", - "minimist": "^1.1.3", - "parse-color": "^1.0.0", - "path-exists": "^4.0.0", - "repeat-string": "^1.5.4" - }, - "bin": { - "appdmg": "bin/appdmg.js" - }, - "engines": { - "node": ">=8.5" - } - }, - "node_modules/async": { - "version": "1.5.2", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/at-least-node": { - "version": "1.0.0", - "dev": true, - "license": "ISC", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/author-regex": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/balanced-match": { - "version": "4.0.4", - "license": "MIT", - "engines": { - "node": "18 || 20 || >=22" - } - }, - "node_modules/base32-encode": { - "version": "1.2.0", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "to-data-view": "^1.1.0" - } - }, - "node_modules/base64-js": { - "version": "1.5.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/baseline-browser-mapping": { - "version": "2.10.27", - "dev": true, - "license": "Apache-2.0", - "bin": { - "baseline-browser-mapping": "dist/cli.cjs" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/better-sqlite3": { - "version": "12.11.1", - "resolved": "https://registry.npmjs.org/better-sqlite3/-/better-sqlite3-12.11.1.tgz", - "integrity": "sha512-dq9AtApgg5PGFtBzPFSBl3HZQjHok5gaQCM6zh2Yk0aSmDCs1CbnVI8/HgASQkNKsWFpseIO9beg5xxpYhbIfA==", - "hasInstallScript": true, - "license": "MIT", - "dependencies": { - "bindings": "^1.5.0", - "prebuild-install": "^7.1.1" - }, - "engines": { - "node": "20.x || 22.x || 23.x || 24.x || 25.x || 26.x" - } - }, - "node_modules/bindings": { - "version": "1.5.0", - "license": "MIT", - "dependencies": { - "file-uri-to-path": "1.0.0" - } - }, - "node_modules/bl": { - "version": "4.1.0", - "license": "MIT", - "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "node_modules/bluebird": { - "version": "3.7.2", - "dev": true, - "license": "MIT" - }, - "node_modules/boolean": { - "version": "3.2.0", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/bplist-creator": { - "version": "0.0.8", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "stream-buffers": "~2.2.0" - } - }, - "node_modules/brace-expansion": { - "version": "5.0.5", - "license": "MIT", - "dependencies": { - "balanced-match": "^4.0.2" - }, - "engines": { - "node": "18 || 20 || >=22" - } - }, - "node_modules/braces": { - "version": "3.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "fill-range": "^7.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/browserslist": { - "version": "4.28.2", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "peer": true, - "dependencies": { - "baseline-browser-mapping": "^2.10.12", - "caniuse-lite": "^1.0.30001782", - "electron-to-chromium": "^1.5.328", - "node-releases": "^2.0.36", - "update-browserslist-db": "^1.2.3" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, - "node_modules/buffer": { - "version": "5.7.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/buffer-crc32": { - "version": "0.2.13", - "dev": true, - "license": "MIT", - "engines": { - "node": "*" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "dev": true, - "license": "MIT" - }, - "node_modules/cacache": { - "version": "16.1.3", - "dev": true, - "license": "ISC", - "dependencies": { - "@npmcli/fs": "^2.1.0", - "@npmcli/move-file": "^2.0.0", - "chownr": "^2.0.0", - "fs-minipass": "^2.1.0", - "glob": "^8.0.1", - "infer-owner": "^1.0.4", - "lru-cache": "^7.7.1", - "minipass": "^3.1.6", - "minipass-collect": "^1.0.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "mkdirp": "^1.0.4", - "p-map": "^4.0.0", - "promise-inflight": "^1.0.1", - "rimraf": "^3.0.2", - "ssri": "^9.0.0", - "tar": "^6.1.11", - "unique-filename": "^2.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/cacache/node_modules/balanced-match": { - "version": "1.0.2", - "dev": true, - "license": "MIT" - }, - "node_modules/cacache/node_modules/brace-expansion": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/cacache/node_modules/glob": { - "version": "8.1.0", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/cacache/node_modules/minimatch": { - "version": "5.1.9", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/cacache/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cacheable-lookup": { - "version": "5.0.4", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10.6.0" - } - }, - "node_modules/cacheable-request": { - "version": "7.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "clone-response": "^1.0.2", - "get-stream": "^5.1.0", - "http-cache-semantics": "^4.0.0", - "keyv": "^4.0.0", - "lowercase-keys": "^2.0.0", - "normalize-url": "^6.0.1", - "responselike": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cacheable-request/node_modules/get-stream": { - "version": "5.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001792", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "CC-BY-4.0" - }, - "node_modules/chalk": { - "version": "4.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/chardet": { - "version": "0.7.0", - "dev": true, - "license": "MIT" - }, - "node_modules/chownr": { - "version": "2.0.0", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, - "node_modules/chrome-trace-event": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.0" - } - }, - "node_modules/cjs-module-lexer": { - "version": "2.2.0", - "license": "MIT" - }, - "node_modules/clean-stack": { - "version": "2.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/cli-cursor": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "restore-cursor": "^4.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-spinners": { - "version": "2.9.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-truncate": { - "version": "4.0.0", - "license": "MIT", - "dependencies": { - "slice-ansi": "^5.0.0", - "string-width": "^7.0.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-width": { - "version": "4.1.0", - "dev": true, - "license": "ISC", - "engines": { - "node": ">= 12" - } - }, - "node_modules/cliui": { - "version": "8.0.1", - "dev": true, - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/cliui/node_modules/emoji-regex": { - "version": "8.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/cliui/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/string-width": { - "version": "4.2.3", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cliui/node_modules/wrap-ansi": { - "version": "7.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/clone": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/clone-response": { - "version": "1.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "mimic-response": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "dev": true, - "license": "MIT" - }, - "node_modules/colorette": { - "version": "2.0.20", - "dev": true, - "license": "MIT" - }, - "node_modules/commander": { - "version": "11.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=16" - } - }, - "node_modules/compare-version": { - "version": "0.1.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/concat-map": { - "version": "0.0.1", - "dev": true, - "license": "MIT" - }, - "node_modules/cross-dirname": { - "version": "0.1.0", - "dev": true, - "license": "MIT" - }, - "node_modules/cross-spawn": { - "version": "7.0.6", - "license": "MIT", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/cross-zip": { - "version": "4.0.1", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "engines": { - "node": ">=12.10" - } - }, - "node_modules/d": { - "version": "1.0.2", - "license": "ISC", - "dependencies": { - "es5-ext": "^0.10.64", - "type": "^2.7.2" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/debug": { - "version": "4.4.3", - "license": "MIT", - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/decompress-response": { - "version": "6.0.0", - "license": "MIT", - "dependencies": { - "mimic-response": "^3.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/decompress-response/node_modules/mimic-response": { - "version": "3.1.0", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/deep-extend": { - "version": "0.6.0", - "license": "MIT", - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/default-shell": { - "version": "2.2.0", - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/defaults": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "dependencies": { - "clone": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/defer-to-connect": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - } - }, - "node_modules/define-data-property": { - "version": "1.1.4", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/define-properties": { - "version": "1.2.1", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "define-data-property": "^1.0.1", - "has-property-descriptors": "^1.0.0", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/detect-libc": { - "version": "2.1.2", - "license": "Apache-2.0", - "engines": { - "node": ">=8" - } - }, - "node_modules/detect-node": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/dir-compare": { - "version": "4.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "minimatch": "^3.0.5", - "p-limit": "^3.1.0 " - } - }, - "node_modules/dir-compare/node_modules/balanced-match": { - "version": "1.0.2", - "dev": true, - "license": "MIT" - }, - "node_modules/dir-compare/node_modules/brace-expansion": { - "version": "1.1.14", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/dir-compare/node_modules/minimatch": { - "version": "3.1.5", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/ds-store": { - "version": "0.1.6", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "bplist-creator": "~0.0.3", - "macos-alias": "~0.2.5", - "tn1150": "^0.1.0" - } - }, - "node_modules/eastasianwidth": { - "version": "0.2.0", - "dev": true, - "license": "MIT" - }, - "node_modules/electron": { - "version": "42.0.1", - "resolved": "https://registry.npmjs.org/electron/-/electron-42.0.1.tgz", - "integrity": "sha512-d8HnycE970DGESe91Nj30eonFBUcAI9EZ1TwUGJVzSAnJZdh0BkFEinAXjdklvDYst+bVDc8HsksCuqVLrnqdg==", - "dev": true, - "license": "MIT", - "dependencies": { - "@electron/get": "^5.0.0", - "@types/node": "^24.9.0", - "extract-zip": "^2.0.1" - }, - "bin": { - "electron": "cli.js", - "install-electron": "install.js" - }, - "engines": { - "node": ">= 22.12.0" - } - }, - "node_modules/electron-context-menu": { - "version": "4.1.2", - "license": "MIT", - "dependencies": { - "cli-truncate": "^4.0.0", - "electron-dl": "^4.0.0", - "electron-is-dev": "^3.0.1" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/electron-dl": { - "version": "4.0.0", - "license": "MIT", - "dependencies": { - "ext-name": "^5.0.0", - "pupa": "^3.1.0", - "unused-filename": "^4.0.1" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/electron-installer-common": { - "version": "0.10.4", - "dev": true, - "license": "Apache-2.0", - "optional": true, - "dependencies": { - "@electron/asar": "^3.2.5", - "@malept/cross-spawn-promise": "^1.0.0", - "debug": "^4.1.1", - "fs-extra": "^9.0.0", - "glob": "^7.1.4", - "lodash": "^4.17.15", - "parse-author": "^2.0.0", - "semver": "^7.1.1", - "tmp-promise": "^3.0.2" - }, - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "url": "https://github.com/electron-userland/electron-installer-common?sponsor=1" - }, - "optionalDependencies": { - "@types/fs-extra": "^9.0.1" - } - }, - "node_modules/electron-installer-common/node_modules/@electron/asar": { - "version": "3.4.1", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "commander": "^5.0.0", - "glob": "^7.1.6", - "minimatch": "^3.0.4" - }, - "bin": { - "asar": "bin/asar.js" - }, - "engines": { - "node": ">=10.12.0" - } - }, - "node_modules/electron-installer-common/node_modules/@malept/cross-spawn-promise": { - "version": "1.1.1", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/malept" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/subscription/pkg/npm-.malept-cross-spawn-promise?utm_medium=referral&utm_source=npm_fund" - } - ], - "license": "Apache-2.0", - "optional": true, - "dependencies": { - "cross-spawn": "^7.0.1" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/electron-installer-common/node_modules/balanced-match": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/electron-installer-common/node_modules/brace-expansion": { - "version": "1.1.14", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/electron-installer-common/node_modules/commander": { - "version": "5.1.0", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/electron-installer-common/node_modules/fs-extra": { - "version": "9.1.0", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/electron-installer-common/node_modules/glob": { - "version": "7.2.3", - "dev": true, - "license": "ISC", - "optional": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/electron-installer-common/node_modules/minimatch": { - "version": "3.1.5", - "dev": true, - "license": "ISC", - "optional": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/electron-installer-debian": { - "version": "3.2.0", - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin", - "linux" - ], - "dependencies": { - "@malept/cross-spawn-promise": "^1.0.0", - "debug": "^4.1.1", - "electron-installer-common": "^0.10.2", - "fs-extra": "^9.0.0", - "get-folder-size": "^2.0.1", - "lodash": "^4.17.4", - "word-wrap": "^1.2.3", - "yargs": "^16.0.2" - }, - "bin": { - "electron-installer-debian": "src/cli.js" - }, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/electron-installer-debian/node_modules/@malept/cross-spawn-promise": { - "version": "1.1.1", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/malept" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/subscription/pkg/npm-.malept-cross-spawn-promise?utm_medium=referral&utm_source=npm_fund" - } - ], - "license": "Apache-2.0", - "optional": true, - "dependencies": { - "cross-spawn": "^7.0.1" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/electron-installer-debian/node_modules/cliui": { - "version": "7.0.4", - "dev": true, - "license": "ISC", - "optional": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "node_modules/electron-installer-debian/node_modules/emoji-regex": { - "version": "8.0.0", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/electron-installer-debian/node_modules/fs-extra": { - "version": "9.1.0", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/electron-installer-debian/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/electron-installer-debian/node_modules/string-width": { - "version": "4.2.3", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/electron-installer-debian/node_modules/wrap-ansi": { - "version": "7.0.0", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/electron-installer-debian/node_modules/yargs": { - "version": "16.2.0", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/electron-installer-debian/node_modules/yargs-parser": { - "version": "20.2.9", - "dev": true, - "license": "ISC", - "optional": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/electron-installer-dmg": { - "version": "5.0.1", - "dev": true, - "license": "Apache-2.0", - "optional": true, - "dependencies": { - "@types/appdmg": "^0.5.5", - "debug": "^4.3.2", - "minimist": "^1.2.7" - }, - "bin": { - "electron-installer-dmg": "dist/electron-installer-dmg-bin.js" - }, - "engines": { - "node": ">= 16" - }, - "optionalDependencies": { - "appdmg": "^0.6.4" - } - }, - "node_modules/electron-installer-redhat": { - "version": "3.4.0", - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin", - "linux" - ], - "dependencies": { - "@malept/cross-spawn-promise": "^1.0.0", - "debug": "^4.1.1", - "electron-installer-common": "^0.10.2", - "fs-extra": "^9.0.0", - "lodash": "^4.17.15", - "word-wrap": "^1.2.3", - "yargs": "^16.0.2" - }, - "bin": { - "electron-installer-redhat": "src/cli.js" - }, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/electron-installer-redhat/node_modules/@malept/cross-spawn-promise": { - "version": "1.1.1", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/malept" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/subscription/pkg/npm-.malept-cross-spawn-promise?utm_medium=referral&utm_source=npm_fund" - } - ], - "license": "Apache-2.0", - "optional": true, - "dependencies": { - "cross-spawn": "^7.0.1" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/electron-installer-redhat/node_modules/cliui": { - "version": "7.0.4", - "dev": true, - "license": "ISC", - "optional": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "node_modules/electron-installer-redhat/node_modules/emoji-regex": { - "version": "8.0.0", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/electron-installer-redhat/node_modules/fs-extra": { - "version": "9.1.0", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/electron-installer-redhat/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/electron-installer-redhat/node_modules/string-width": { - "version": "4.2.3", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/electron-installer-redhat/node_modules/wrap-ansi": { - "version": "7.0.0", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/electron-installer-redhat/node_modules/yargs": { - "version": "16.2.0", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/electron-installer-redhat/node_modules/yargs-parser": { - "version": "20.2.9", - "dev": true, - "license": "ISC", - "optional": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/electron-is-dev": { - "version": "3.0.1", - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/electron-squirrel-startup": { - "version": "1.0.1", - "license": "Apache-2.0", - "dependencies": { - "debug": "^2.2.0" - } - }, - "node_modules/electron-squirrel-startup/node_modules/debug": { - "version": "2.6.9", - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/electron-squirrel-startup/node_modules/ms": { - "version": "2.0.0", - "license": "MIT" - }, - "node_modules/electron-to-chromium": { - "version": "1.5.352", - "dev": true, - "license": "ISC" - }, - "node_modules/electron-winstaller": { - "version": "5.4.0", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "dependencies": { - "@electron/asar": "^3.2.1", - "debug": "^4.1.1", - "fs-extra": "^7.0.1", - "lodash": "^4.17.21", - "temp": "^0.9.0" - }, - "engines": { - "node": ">=8.0.0" - }, - "optionalDependencies": { - "@electron/windows-sign": "^1.1.2" - } - }, - "node_modules/electron-winstaller/node_modules/@electron/asar": { - "version": "3.4.1", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "commander": "^5.0.0", - "glob": "^7.1.6", - "minimatch": "^3.0.4" - }, - "bin": { - "asar": "bin/asar.js" - }, - "engines": { - "node": ">=10.12.0" - } - }, - "node_modules/electron-winstaller/node_modules/balanced-match": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/electron-winstaller/node_modules/brace-expansion": { - "version": "1.1.14", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/electron-winstaller/node_modules/commander": { - "version": "5.1.0", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/electron-winstaller/node_modules/fs-extra": { - "version": "7.0.1", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/electron-winstaller/node_modules/glob": { - "version": "7.2.3", - "dev": true, - "license": "ISC", - "optional": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/electron-winstaller/node_modules/jsonfile": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "optional": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/electron-winstaller/node_modules/minimatch": { - "version": "3.1.5", - "dev": true, - "license": "ISC", - "optional": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/electron-winstaller/node_modules/universalify": { - "version": "0.1.2", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/electron/node_modules/@electron/get": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@electron/get/-/get-5.0.0.tgz", - "integrity": "sha512-pjoBpru1KdEtcExBnuHAP1cAc/5faoedw0hzJkL3o4/IJp7HNF1+fbrdxT3gMYRX2oJfvnA/WXeCTVQpYYxyJA==", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.1.1", - "env-paths": "^3.0.0", - "graceful-fs": "^4.2.11", - "progress": "^2.0.3", - "semver": "^7.6.3", - "sumchecker": "^3.0.1" - }, - "engines": { - "node": ">=22.12.0" - }, - "optionalDependencies": { - "undici": "^7.24.4" - } - }, - "node_modules/electron/node_modules/@types/node": { - "version": "24.12.2", - "dev": true, - "license": "MIT", - "dependencies": { - "undici-types": "~7.16.0" - } - }, - "node_modules/electron/node_modules/env-paths": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-3.0.0.tgz", - "integrity": "sha512-dtJUTepzMW3Lm/NPxRf3wP4642UWhjL2sQxc+ym2YMj1m/H2zDNQOlezafzkHwn6sMstjHTwG6iQQsctDW/b1A==", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/electron/node_modules/undici-types": { - "version": "7.16.0", - "dev": true, - "license": "MIT" - }, - "node_modules/emoji-regex": { - "version": "10.6.0", - "license": "MIT" - }, - "node_modules/encode-utf8": { - "version": "1.0.3", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/encoding": { - "version": "0.1.13", - "license": "MIT", - "peer": true, - "dependencies": { - "iconv-lite": "^0.6.2" - } - }, - "node_modules/end-of-stream": { - "version": "1.4.5", - "license": "MIT", - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/enhanced-resolve": { - "version": "5.21.0", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.4", - "tapable": "^2.3.3" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/env-paths": { - "version": "2.2.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/err-code": { - "version": "2.0.3", - "dev": true, - "license": "MIT" - }, - "node_modules/error-ex": { - "version": "1.3.4", - "dev": true, - "license": "MIT", - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/es-define-property": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-errors": { - "version": "1.3.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-module-lexer": { - "version": "2.1.0", - "dev": true, - "license": "MIT" - }, - "node_modules/es5-ext": { - "version": "0.10.64", - "hasInstallScript": true, - "license": "ISC", - "dependencies": { - "es6-iterator": "^2.0.3", - "es6-symbol": "^3.1.3", - "esniff": "^2.0.1", - "next-tick": "^1.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/es6-error": { - "version": "4.1.1", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/es6-iterator": { - "version": "2.0.3", - "license": "MIT", - "dependencies": { - "d": "1", - "es5-ext": "^0.10.35", - "es6-symbol": "^3.1.1" - } - }, - "node_modules/es6-symbol": { - "version": "3.1.4", - "license": "ISC", - "dependencies": { - "d": "^1.0.2", - "ext": "^1.7.0" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/es6-weak-map": { - "version": "2.0.3", - "license": "ISC", - "dependencies": { - "d": "1", - "es5-ext": "^0.10.46", - "es6-iterator": "^2.0.3", - "es6-symbol": "^3.1.1" - } - }, - "node_modules/escalade": { - "version": "3.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-goat": { - "version": "4.0.0", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/escape-string-regexp": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint-scope": { - "version": "5.1.1", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/esniff": { - "version": "2.0.1", - "license": "ISC", - "dependencies": { - "d": "^1.0.1", - "es5-ext": "^0.10.62", - "event-emitter": "^0.3.5", - "type": "^2.7.2" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/esrecurse": { - "version": "4.3.0", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "estraverse": "^5.2.0" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esrecurse/node_modules/estraverse": { - "version": "5.3.0", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estraverse": { - "version": "4.3.0", - "dev": true, - "license": "BSD-2-Clause", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/event-emitter": { - "version": "0.3.5", - "license": "MIT", - "dependencies": { - "d": "1", - "es5-ext": "~0.10.14" - } - }, - "node_modules/eventemitter3": { - "version": "5.0.4", - "dev": true, - "license": "MIT" - }, - "node_modules/events": { - "version": "3.3.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.x" - } - }, - "node_modules/execa": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "cross-spawn": "^6.0.0", - "get-stream": "^4.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/execa/node_modules/cross-spawn": { - "version": "6.0.6", - "dev": true, - "license": "MIT", - "dependencies": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - }, - "engines": { - "node": ">=4.8" - } - }, - "node_modules/execa/node_modules/path-key": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/execa/node_modules/semver": { - "version": "5.7.2", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/execa/node_modules/shebang-command": { - "version": "1.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "shebang-regex": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/execa/node_modules/shebang-regex": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/execa/node_modules/signal-exit": { - "version": "3.0.7", - "dev": true, - "license": "ISC" - }, - "node_modules/execa/node_modules/which": { - "version": "1.3.1", - "dev": true, - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "which": "bin/which" - } - }, - "node_modules/expand-template": { - "version": "2.0.3", - "license": "(MIT OR WTFPL)", - "engines": { - "node": ">=6" - } - }, - "node_modules/exponential-backoff": { - "version": "3.1.3", - "dev": true, - "license": "Apache-2.0" - }, - "node_modules/ext": { - "version": "1.7.0", - "license": "ISC", - "dependencies": { - "type": "^2.7.2" - } - }, - "node_modules/ext-list": { - "version": "2.2.2", - "license": "MIT", - "dependencies": { - "mime-db": "^1.28.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ext-name": { - "version": "5.0.0", - "license": "MIT", - "dependencies": { - "ext-list": "^2.0.0", - "sort-keys-length": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/external-editor": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/external-editor/node_modules/iconv-lite": { - "version": "0.4.24", - "dev": true, - "license": "MIT", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extract-zip": { - "version": "2.0.1", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "debug": "^4.1.1", - "get-stream": "^5.1.0", - "yauzl": "^2.10.0" - }, - "bin": { - "extract-zip": "cli.js" - }, - "engines": { - "node": ">= 10.17.0" - }, - "optionalDependencies": { - "@types/yauzl": "^2.9.1" - } - }, - "node_modules/extract-zip/node_modules/get-stream": { - "version": "5.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "dev": true, - "license": "MIT" - }, - "node_modules/fast-glob": { - "version": "3.3.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.8" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-uri": { - "version": "3.1.2", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "license": "BSD-3-Clause" - }, - "node_modules/fast-xml-builder": { - "version": "1.1.9", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "dependencies": { - "path-expression-matcher": "^1.1.3" - } - }, - "node_modules/fast-xml-parser": { - "version": "5.7.3", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "dependencies": { - "@nodable/entities": "^2.1.0", - "fast-xml-builder": "^1.1.7", - "path-expression-matcher": "^1.5.0", - "strnum": "^2.2.3" - }, - "bin": { - "fxparser": "src/cli/cli.js" - } - }, - "node_modules/fastq": { - "version": "1.20.1", - "dev": true, - "license": "ISC", - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/fd-slicer": { - "version": "1.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "pend": "~1.2.0" - } - }, - "node_modules/file-uri-to-path": { - "version": "1.0.0", - "license": "MIT" - }, - "node_modules/filename-reserved-regex": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/filenamify": { - "version": "4.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "filename-reserved-regex": "^2.0.0", - "strip-outer": "^1.0.1", - "trim-repeated": "^1.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/fill-range": { - "version": "7.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-up": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/flora-colossus": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.3.4", - "fs-extra": "^10.1.0" - }, - "engines": { - "node": ">= 12" - } - }, - "node_modules/fmix": { - "version": "0.1.0", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "imul": "^1.0.0" - } - }, - "node_modules/forwarded-parse": { - "version": "2.1.2", - "license": "MIT" - }, - "node_modules/fs-constants": { - "version": "1.0.0", - "license": "MIT" - }, - "node_modules/fs-extra": { - "version": "10.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/fs-minipass": { - "version": "2.1.0", - "dev": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/fs-minipass/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/fs-temp": { - "version": "1.2.1", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "random-path": "^0.1.0" - } - }, - "node_modules/fs-xattr": { - "version": "0.3.1", - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "!win32" - ], - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "dev": true, - "license": "ISC" - }, - "node_modules/function-bind": { - "version": "1.1.2", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/galactus": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.3.4", - "flora-colossus": "^2.0.0", - "fs-extra": "^10.1.0" - }, - "engines": { - "node": ">= 12" - } - }, - "node_modules/gar": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/generate-function": { - "version": "2.3.1", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "is-property": "^1.0.2" - } - }, - "node_modules/generate-object-property": { - "version": "1.2.0", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "is-property": "^1.0.0" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "dev": true, - "license": "ISC", - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-east-asian-width": { - "version": "1.5.0", - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/get-folder-size": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "gar": "^1.0.4", - "tiny-each-async": "2.0.3" - }, - "bin": { - "get-folder-size": "bin/get-folder-size" - } - }, - "node_modules/get-package-info": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "bluebird": "^3.1.1", - "debug": "^2.2.0", - "lodash.get": "^4.0.0", - "read-pkg-up": "^2.0.0" - }, - "engines": { - "node": ">= 4.0" - } - }, - "node_modules/get-package-info/node_modules/debug": { - "version": "2.6.9", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/get-package-info/node_modules/ms": { - "version": "2.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/get-stream": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/github-from-package": { - "version": "0.0.0", - "license": "MIT" - }, - "node_modules/glob": { - "version": "13.0.6", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "minimatch": "^10.2.2", - "minipass": "^7.1.3", - "path-scurry": "^2.0.2" - }, - "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "5.1.2", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/glob-to-regexp": { - "version": "0.4.1", - "dev": true, - "license": "BSD-2-Clause" - }, - "node_modules/global-agent": { - "version": "3.0.0", - "dev": true, - "license": "BSD-3-Clause", - "optional": true, - "dependencies": { - "boolean": "^3.0.1", - "es6-error": "^4.1.1", - "matcher": "^3.0.0", - "roarr": "^2.15.3", - "semver": "^7.3.2", - "serialize-error": "^7.0.1" - }, - "engines": { - "node": ">=10.0" - } - }, - "node_modules/global-dirs": { - "version": "3.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ini": "2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/globalthis": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "define-properties": "^1.2.1", - "gopd": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gopd": { - "version": "1.2.0", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/got": { - "version": "11.8.6", - "dev": true, - "license": "MIT", - "dependencies": { - "@sindresorhus/is": "^4.0.0", - "@szmarczak/http-timer": "^4.0.5", - "@types/cacheable-request": "^6.0.1", - "@types/responselike": "^1.0.0", - "cacheable-lookup": "^5.0.3", - "cacheable-request": "^7.0.2", - "decompress-response": "^6.0.0", - "http2-wrapper": "^1.0.0-beta.5.2", - "lowercase-keys": "^2.0.0", - "p-cancelable": "^2.0.0", - "responselike": "^2.0.0" - }, - "engines": { - "node": ">=10.19.0" - }, - "funding": { - "url": "https://github.com/sindresorhus/got?sponsor=1" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "dev": true, - "license": "ISC" - }, - "node_modules/has-flag": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/has-property-descriptors": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "es-define-property": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/hasown": { - "version": "2.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/hosted-git-info": { - "version": "2.8.9", - "dev": true, - "license": "ISC" - }, - "node_modules/http-cache-semantics": { - "version": "4.2.0", - "dev": true, - "license": "BSD-2-Clause" - }, - "node_modules/http-proxy-agent": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@tootallnate/once": "2", - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/http2-wrapper": { - "version": "1.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "quick-lru": "^5.1.1", - "resolve-alpn": "^1.0.0" - }, - "engines": { - "node": ">=10.19.0" - } - }, - "node_modules/https-proxy-agent": { - "version": "5.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/human-signals": { - "version": "2.1.0", - "license": "Apache-2.0", - "engines": { - "node": ">=10.17.0" - } - }, - "node_modules/humanize-ms": { - "version": "1.2.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ms": "^2.0.0" - } - }, - "node_modules/iconv-lite": { - "version": "0.6.3", - "license": "MIT", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "BSD-3-Clause" - }, - "node_modules/image-size": { - "version": "0.7.5", - "dev": true, - "license": "MIT", - "optional": true, - "bin": { - "image-size": "bin/image-size.js" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/immer": { - "version": "10.2.0", - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/immer" - } - }, - "node_modules/import-in-the-middle": { - "version": "2.0.6", - "license": "Apache-2.0", - "dependencies": { - "acorn": "^8.15.0", - "acorn-import-attributes": "^1.9.5", - "cjs-module-lexer": "^2.2.0", - "module-details-from-path": "^1.0.4" - } - }, - "node_modules/imul": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/indent-string": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/infer-owner": { - "version": "1.0.4", - "dev": true, - "license": "ISC" - }, - "node_modules/inflight": { - "version": "1.0.6", - "dev": true, - "license": "ISC", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "license": "ISC" - }, - "node_modules/ini": { - "version": "2.0.0", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, - "node_modules/interpret": { - "version": "3.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/ip-address": { - "version": "10.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 12" - } - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "dev": true, - "license": "MIT" - }, - "node_modules/is-core-module": { - "version": "2.16.2", - "dev": true, - "license": "MIT", - "dependencies": { - "hasown": "^2.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "4.0.0", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-interactive": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-lambda": { - "version": "1.0.1", - "dev": true, - "license": "MIT" - }, - "node_modules/is-my-ip-valid": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/is-my-json-valid": { - "version": "2.20.6", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "generate-function": "^2.0.0", - "generate-object-property": "^1.1.0", - "is-my-ip-valid": "^1.0.0", - "jsonpointer": "^5.0.0", - "xtend": "^4.0.0" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-plain-obj": { - "version": "1.1.0", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-promise": { - "version": "2.2.2", - "license": "MIT" - }, - "node_modules/is-property": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/is-stream": { - "version": "1.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-unicode-supported": { - "version": "0.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/isbinaryfile": { - "version": "4.0.10", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/gjtorikian/" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "license": "ISC" - }, - "node_modules/jest-worker": { - "version": "27.5.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/node": "*", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/jest-worker/node_modules/supports-color": { - "version": "8.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "node_modules/jiti": { - "version": "2.7.0", - "dev": true, - "license": "MIT", - "bin": { - "jiti": "lib/jiti-cli.mjs" - } - }, - "node_modules/json-buffer": { - "version": "3.0.1", - "dev": true, - "license": "MIT" - }, - "node_modules/json-schema-traverse": { - "version": "1.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/json-stringify-safe": { - "version": "5.0.1", - "dev": true, - "license": "ISC", - "optional": true - }, - "node_modules/jsonfile": { - "version": "6.2.1", - "dev": true, - "license": "MIT", - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/jsonpointer": { - "version": "5.0.1", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/junk": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/keyv": { - "version": "4.5.4", - "dev": true, - "license": "MIT", - "dependencies": { - "json-buffer": "3.0.1" - } - }, - "node_modules/listr2": { - "version": "7.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "cli-truncate": "^3.1.0", - "colorette": "^2.0.20", - "eventemitter3": "^5.0.1", - "log-update": "^5.0.1", - "rfdc": "^1.3.0", - "wrap-ansi": "^8.1.0" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/listr2/node_modules/ansi-regex": { - "version": "6.2.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/listr2/node_modules/ansi-styles": { - "version": "6.2.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/listr2/node_modules/cli-truncate": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "slice-ansi": "^5.0.0", - "string-width": "^5.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/listr2/node_modules/emoji-regex": { - "version": "9.2.2", - "dev": true, - "license": "MIT" - }, - "node_modules/listr2/node_modules/string-width": { - "version": "5.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/listr2/node_modules/strip-ansi": { - "version": "7.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.2.2" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/listr2/node_modules/wrap-ansi": { - "version": "8.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.1.0", - "string-width": "^5.0.1", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/load-json-file": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "strip-bom": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/loader-runner": { - "version": "4.3.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6.11.5" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/locate-path": { - "version": "6.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lodash": { - "version": "4.18.1", - "license": "MIT" - }, - "node_modules/lodash.get": { - "version": "4.4.2", - "dev": true, - "license": "MIT" - }, - "node_modules/log-symbols": { - "version": "4.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update": { - "version": "5.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-escapes": "^5.0.0", - "cli-cursor": "^4.0.0", - "slice-ansi": "^5.0.0", - "strip-ansi": "^7.0.1", - "wrap-ansi": "^8.0.1" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update/node_modules/ansi-escapes": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "type-fest": "^1.0.2" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update/node_modules/ansi-regex": { - "version": "6.2.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/log-update/node_modules/ansi-styles": { - "version": "6.2.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/log-update/node_modules/emoji-regex": { - "version": "9.2.2", - "dev": true, - "license": "MIT" - }, - "node_modules/log-update/node_modules/string-width": { - "version": "5.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "eastasianwidth": "^0.2.0", - "emoji-regex": "^9.2.2", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update/node_modules/strip-ansi": { - "version": "7.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.2.2" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/log-update/node_modules/type-fest": { - "version": "1.4.0", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/log-update/node_modules/wrap-ansi": { - "version": "8.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.1.0", - "string-width": "^5.0.1", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/lowercase-keys": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/lru-cache": { - "version": "7.18.3", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/lru-queue": { - "version": "0.1.0", - "license": "MIT", - "dependencies": { - "es5-ext": "~0.10.2" - } - }, - "node_modules/macos-alias": { - "version": "0.2.12", - "dev": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "dependencies": { - "nan": "^2.4.0" - } - }, - "node_modules/make-fetch-happen": { - "version": "10.2.1", - "dev": true, - "license": "ISC", - "dependencies": { - "agentkeepalive": "^4.2.1", - "cacache": "^16.1.0", - "http-cache-semantics": "^4.1.0", - "http-proxy-agent": "^5.0.0", - "https-proxy-agent": "^5.0.0", - "is-lambda": "^1.0.1", - "lru-cache": "^7.7.1", - "minipass": "^3.1.6", - "minipass-collect": "^1.0.2", - "minipass-fetch": "^2.0.3", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.3", - "promise-retry": "^2.0.1", - "socks-proxy-agent": "^7.0.0", - "ssri": "^9.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/make-fetch-happen/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/map-age-cleaner": { - "version": "0.1.3", - "dev": true, - "license": "MIT", - "dependencies": { - "p-defer": "^1.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/matcher": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "escape-string-regexp": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/mem": { - "version": "4.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "map-age-cleaner": "^0.1.1", - "mimic-fn": "^2.0.0", - "p-is-promise": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/memoizee": { - "version": "0.4.17", - "license": "ISC", - "dependencies": { - "d": "^1.0.2", - "es5-ext": "^0.10.64", - "es6-weak-map": "^2.0.3", - "event-emitter": "^0.3.5", - "is-promise": "^2.2.2", - "lru-queue": "^0.1.0", - "next-tick": "^1.1.0", - "timers-ext": "^0.1.7" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "license": "MIT" - }, - "node_modules/merge2": { - "version": "1.4.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.8", - "dev": true, - "license": "MIT", - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mime-db": { - "version": "1.54.0", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "license": "MIT", - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types/node_modules/mime-db": { - "version": "1.52.0", - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/mimic-response": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/minimatch": { - "version": "10.2.5", - "license": "BlueOak-1.0.0", - "dependencies": { - "brace-expansion": "^5.0.5" - }, - "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/minimist": { - "version": "1.2.8", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/minipass": { - "version": "7.1.3", - "dev": true, - "license": "BlueOak-1.0.0", - "engines": { - "node": ">=16 || 14 >=14.17" - } - }, - "node_modules/minipass-collect": { - "version": "1.0.2", - "dev": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/minipass-collect/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minipass-fetch": { - "version": "2.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "minipass": "^3.1.6", - "minipass-sized": "^1.0.3", - "minizlib": "^2.1.2" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - }, - "optionalDependencies": { - "encoding": "^0.1.13" - } - }, - "node_modules/minipass-fetch/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minipass-flush": { - "version": "1.0.7", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/minipass-flush/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minipass-pipeline": { - "version": "1.2.4", - "dev": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minipass-pipeline/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minipass-sized": { - "version": "1.0.3", - "dev": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minipass-sized/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minizlib": { - "version": "2.1.2", - "dev": true, - "license": "MIT", - "dependencies": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/minizlib/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/mkdirp": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/mkdirp-classic": { - "version": "0.5.3", - "license": "MIT" - }, - "node_modules/module-details-from-path": { - "version": "1.0.4", - "license": "MIT" - }, - "node_modules/ms": { - "version": "2.1.3", - "license": "MIT" - }, - "node_modules/murmur-32": { - "version": "0.2.0", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "encode-utf8": "^1.0.3", - "fmix": "^0.1.0", - "imul": "^1.0.0" - } - }, - "node_modules/mute-stream": { - "version": "1.0.0", - "dev": true, - "license": "ISC", - "engines": { - "node": "^14.17.0 || ^16.13.0 || >=18.0.0" - } - }, - "node_modules/nan": { - "version": "2.26.2", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/napi-build-utils": { - "version": "2.0.0", - "license": "MIT" - }, - "node_modules/negotiator": { - "version": "0.6.4", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/neo-async": { - "version": "2.6.2", - "dev": true, - "license": "MIT" - }, - "node_modules/next-tick": { - "version": "1.1.0", - "license": "ISC" - }, - "node_modules/nice-try": { - "version": "1.0.5", - "dev": true, - "license": "MIT" - }, - "node_modules/node-abi": { - "version": "3.92.0", - "license": "MIT", - "dependencies": { - "semver": "^7.3.5" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/node-addon-api": { - "version": "7.1.1", - "license": "MIT" - }, - "node_modules/node-api-version": { - "version": "0.2.1", - "dev": true, - "license": "MIT", - "dependencies": { - "semver": "^7.3.5" - } - }, - "node_modules/node-fetch": { - "version": "2.7.0", - "dev": true, - "license": "MIT", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/node-pty": { - "version": "1.1.0", - "hasInstallScript": true, - "license": "MIT", - "dependencies": { - "node-addon-api": "^7.1.0" - } - }, - "node_modules/node-releases": { - "version": "2.0.38", - "dev": true, - "license": "MIT" - }, - "node_modules/nopt": { - "version": "6.0.0", - "dev": true, - "license": "ISC", - "dependencies": { - "abbrev": "^1.0.0" - }, - "bin": { - "nopt": "bin/nopt.js" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/normalize-package-data": { - "version": "2.5.0", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "node_modules/normalize-package-data/node_modules/semver": { - "version": "5.7.2", - "dev": true, - "license": "ISC", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/normalize-url": { - "version": "6.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/npm-run-path": { - "version": "2.0.2", - "dev": true, - "license": "MIT", - "dependencies": { - "path-key": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/npm-run-path/node_modules/path-key": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/object-keys": { - "version": "1.1.1", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/once": { - "version": "1.4.0", - "license": "ISC", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "5.1.2", - "license": "MIT", - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ora": { - "version": "5.4.1", - "dev": true, - "license": "MIT", - "dependencies": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ora/node_modules/cli-cursor": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "restore-cursor": "^3.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/ora/node_modules/restore-cursor": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/ora/node_modules/signal-exit": { - "version": "3.0.7", - "dev": true, - "license": "ISC" - }, - "node_modules/os-tmpdir": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/p-cancelable": { - "version": "2.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/p-defer": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/p-finally": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/p-is-promise": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^3.0.2" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-map": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "aggregate-error": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-try": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/parse-author": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "author-regex": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/parse-color": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "color-convert": "~0.5.0" - } - }, - "node_modules/parse-color/node_modules/color-convert": { - "version": "0.5.3", - "dev": true, - "optional": true - }, - "node_modules/parse-json": { - "version": "2.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "error-ex": "^1.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-exists": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-expression-matcher": { - "version": "1.5.0", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT", - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "dev": true, - "license": "MIT" - }, - "node_modules/path-scurry": { - "version": "2.0.2", - "dev": true, - "license": "BlueOak-1.0.0", - "dependencies": { - "lru-cache": "^11.0.0", - "minipass": "^7.1.2" - }, - "engines": { - "node": "18 || 20 || >=22" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/path-scurry/node_modules/lru-cache": { - "version": "11.3.6", - "dev": true, - "license": "BlueOak-1.0.0", - "engines": { - "node": "20 || >=22" - } - }, - "node_modules/path-type": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "pify": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/pe-library": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=14", - "npm": ">=7" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/jet2jet" - } - }, - "node_modules/pend": { - "version": "1.2.0", - "dev": true, - "license": "MIT" - }, - "node_modules/pg-int8": { - "version": "1.0.1", - "license": "ISC", - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/pg-protocol": { - "version": "1.13.0", - "license": "MIT" - }, - "node_modules/pg-types": { - "version": "2.2.0", - "license": "MIT", - "dependencies": { - "pg-int8": "1.0.1", - "postgres-array": "~2.0.0", - "postgres-bytea": "~1.0.0", - "postgres-date": "~1.0.4", - "postgres-interval": "^1.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/picocolors": { - "version": "1.1.1", - "dev": true, - "license": "ISC" - }, - "node_modules/picomatch": { - "version": "2.3.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pify": { - "version": "2.3.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/plist": { - "version": "3.1.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@xmldom/xmldom": "^0.9.10", - "base64-js": "^1.5.1", - "xmlbuilder": "^15.1.1" - }, - "engines": { - "node": ">=10.4.0" - } - }, - "node_modules/postgres-array": { - "version": "2.0.0", - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/postgres-bytea": { - "version": "1.0.1", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postgres-date": { - "version": "1.0.7", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postgres-interval": { - "version": "1.2.0", - "license": "MIT", - "dependencies": { - "xtend": "^4.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postject": { - "version": "1.0.0-alpha.6", - "dev": true, - "license": "MIT", - "dependencies": { - "commander": "^9.4.0" - }, - "bin": { - "postject": "dist/cli.js" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/postject/node_modules/commander": { - "version": "9.5.0", - "dev": true, - "license": "MIT", - "engines": { - "node": "^12.20.0 || >=14" - } - }, - "node_modules/prebuild-install": { - "version": "7.1.3", - "license": "MIT", - "dependencies": { - "detect-libc": "^2.0.0", - "expand-template": "^2.0.3", - "github-from-package": "0.0.0", - "minimist": "^1.2.3", - "mkdirp-classic": "^0.5.3", - "napi-build-utils": "^2.0.0", - "node-abi": "^3.3.0", - "pump": "^3.0.0", - "rc": "^1.2.7", - "simple-get": "^4.0.0", - "tar-fs": "^2.0.0", - "tunnel-agent": "^0.6.0" - }, - "bin": { - "prebuild-install": "bin.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/prettier": { - "version": "3.8.3", - "dev": true, - "license": "MIT", - "bin": { - "prettier": "bin/prettier.cjs" - }, - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" - } - }, - "node_modules/proc-log": { - "version": "2.0.1", - "dev": true, - "license": "ISC", - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/progress": { - "version": "2.0.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/promise-inflight": { - "version": "1.0.1", - "dev": true, - "license": "ISC" - }, - "node_modules/promise-retry": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "err-code": "^2.0.2", - "retry": "^0.12.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/pump": { - "version": "3.0.4", - "license": "MIT", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/pupa": { - "version": "3.3.0", - "license": "MIT", - "dependencies": { - "escape-goat": "^4.0.0" - }, - "engines": { - "node": ">=12.20" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/quick-lru": { - "version": "5.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/random-path": { - "version": "0.1.2", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "base32-encode": "^0.1.0 || ^1.0.0", - "murmur-32": "^0.1.0 || ^0.2.0" - } - }, - "node_modules/rc": { - "version": "1.2.8", - "license": "(BSD-2-Clause OR MIT OR Apache-2.0)", - "dependencies": { - "deep-extend": "^0.6.0", - "ini": "~1.3.0", - "minimist": "^1.2.0", - "strip-json-comments": "~2.0.1" - }, - "bin": { - "rc": "cli.js" - } - }, - "node_modules/rc/node_modules/ini": { - "version": "1.3.8", - "license": "ISC" - }, - "node_modules/read-binary-file-arch": { - "version": "1.0.6", - "dev": true, - "license": "MIT", - "dependencies": { - "debug": "^4.3.4" - }, - "bin": { - "read-binary-file-arch": "cli.js" - } - }, - "node_modules/read-pkg": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "load-json-file": "^2.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg-up": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "find-up": "^2.0.0", - "read-pkg": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg-up/node_modules/find-up": { - "version": "2.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "locate-path": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg-up/node_modules/locate-path": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg-up/node_modules/p-limit": { - "version": "1.3.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-try": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg-up/node_modules/p-locate": { - "version": "2.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "p-limit": "^1.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg-up/node_modules/path-exists": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/readable-stream": { - "version": "3.6.2", - "license": "MIT", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/rechoir": { - "version": "0.8.0", - "dev": true, - "license": "MIT", - "dependencies": { - "resolve": "^1.20.0" - }, - "engines": { - "node": ">= 10.13.0" - } - }, - "node_modules/repeat-string": { - "version": "1.6.1", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/require-directory": { - "version": "2.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-from-string": { - "version": "2.0.2", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-in-the-middle": { - "version": "8.0.1", - "license": "MIT", - "dependencies": { - "debug": "^4.3.5", - "module-details-from-path": "^1.0.3" - }, - "engines": { - "node": ">=9.3.0 || >=8.10.0 <9.0.0" - } - }, - "node_modules/resedit": { - "version": "2.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "pe-library": "^1.0.1" - }, - "engines": { - "node": ">=14", - "npm": ">=7" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/jet2jet" - } - }, - "node_modules/resolve": { - "version": "1.22.12", - "dev": true, - "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "is-core-module": "^2.16.1", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-alpn": { - "version": "1.2.1", - "dev": true, - "license": "MIT" - }, - "node_modules/responselike": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "lowercase-keys": "^2.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/restore-cursor": { - "version": "4.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/restore-cursor/node_modules/signal-exit": { - "version": "3.0.7", - "dev": true, - "license": "ISC" - }, - "node_modules/retry": { - "version": "0.12.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 4" - } - }, - "node_modules/reusify": { - "version": "1.1.0", - "dev": true, - "license": "MIT", - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/rfdc": { - "version": "1.4.1", - "dev": true, - "license": "MIT" - }, - "node_modules/rimraf": { - "version": "3.0.2", - "dev": true, - "license": "ISC", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rimraf/node_modules/balanced-match": { - "version": "1.0.2", - "dev": true, - "license": "MIT" - }, - "node_modules/rimraf/node_modules/brace-expansion": { - "version": "1.1.14", - "dev": true, - "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/rimraf/node_modules/glob": { - "version": "7.2.3", - "dev": true, - "license": "ISC", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rimraf/node_modules/minimatch": { - "version": "3.1.5", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/roarr": { - "version": "2.15.4", - "dev": true, - "license": "BSD-3-Clause", - "optional": true, - "dependencies": { - "boolean": "^3.0.1", - "detect-node": "^2.0.4", - "globalthis": "^1.0.1", - "json-stringify-safe": "^5.0.1", - "semver-compare": "^1.0.0", - "sprintf-js": "^1.1.2" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "license": "MIT" - }, - "node_modules/schema-utils": { - "version": "4.3.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@types/json-schema": "^7.0.9", - "ajv": "^8.9.0", - "ajv-formats": "^2.1.1", - "ajv-keywords": "^5.1.0" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/semver": { - "version": "7.7.4", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/semver-compare": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/serialize-error": { - "version": "7.0.1", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "type-fest": "^0.13.1" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/serialize-error/node_modules/type-fest": { - "version": "0.13.1", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "optional": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "license": "MIT", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/shell-env": { - "version": "4.0.3", - "license": "MIT", - "dependencies": { - "default-shell": "^2.0.0", - "execa": "^5.1.1", - "strip-ansi": "^7.0.1" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/shell-env/node_modules/ansi-regex": { - "version": "6.2.2", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/shell-env/node_modules/execa": { - "version": "5.1.1", - "license": "MIT", - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/shell-env/node_modules/get-stream": { - "version": "6.0.1", - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/shell-env/node_modules/is-stream": { - "version": "2.0.1", - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/shell-env/node_modules/npm-run-path": { - "version": "4.0.1", - "license": "MIT", - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shell-env/node_modules/signal-exit": { - "version": "3.0.7", - "license": "ISC" - }, - "node_modules/shell-env/node_modules/strip-ansi": { - "version": "7.2.0", - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.2.2" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/shlex": { - "version": "3.0.0", - "license": "MIT" - }, - "node_modules/signal-exit": { - "version": "4.1.0", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=14" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/simple-concat": { - "version": "1.0.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, - "node_modules/simple-get": { - "version": "4.0.1", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "decompress-response": "^6.0.0", - "once": "^1.3.1", - "simple-concat": "^1.0.0" - } - }, - "node_modules/slice-ansi": { - "version": "5.0.0", - "license": "MIT", - "dependencies": { - "ansi-styles": "^6.0.0", - "is-fullwidth-code-point": "^4.0.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/slice-ansi?sponsor=1" - } - }, - "node_modules/slice-ansi/node_modules/ansi-styles": { - "version": "6.2.3", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/smart-buffer": { - "version": "4.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 6.0.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/smol-toml": { - "version": "1.6.1", - "license": "BSD-3-Clause", - "engines": { - "node": ">= 18" - }, - "funding": { - "url": "https://github.com/sponsors/cyyynthia" - } - }, - "node_modules/socks": { - "version": "2.8.8", - "dev": true, - "license": "MIT", - "dependencies": { - "ip-address": "^10.1.1", - "smart-buffer": "^4.2.0" - }, - "engines": { - "node": ">= 10.0.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/socks-proxy-agent": { - "version": "7.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "agent-base": "^6.0.2", - "debug": "^4.3.3", - "socks": "^2.6.2" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/sort-keys": { - "version": "1.1.2", - "license": "MIT", - "dependencies": { - "is-plain-obj": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sort-keys-length": { - "version": "1.0.1", - "license": "MIT", - "dependencies": { - "sort-keys": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map": { - "version": "0.6.1", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.21", - "dev": true, - "license": "MIT", - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/spdx-correct": { - "version": "3.2.0", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-exceptions": { - "version": "2.5.0", - "dev": true, - "license": "CC-BY-3.0" - }, - "node_modules/spdx-expression-parse": { - "version": "3.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-license-ids": { - "version": "3.0.23", - "dev": true, - "license": "CC0-1.0" - }, - "node_modules/sprintf-js": { - "version": "1.1.3", - "dev": true, - "license": "BSD-3-Clause", - "optional": true - }, - "node_modules/ssri": { - "version": "9.0.1", - "dev": true, - "license": "ISC", - "dependencies": { - "minipass": "^3.1.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/ssri/node_modules/minipass": { - "version": "3.3.6", - "dev": true, - "license": "ISC", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/stream-buffers": { - "version": "2.2.0", - "dev": true, - "license": "Unlicense", - "optional": true, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string-width": { - "version": "7.2.0", - "license": "MIT", - "dependencies": { - "emoji-regex": "^10.3.0", - "get-east-asian-width": "^1.0.0", - "strip-ansi": "^7.1.0" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/string-width/node_modules/ansi-regex": { - "version": "6.2.2", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/ansi-regex?sponsor=1" - } - }, - "node_modules/string-width/node_modules/strip-ansi": { - "version": "7.2.0", - "license": "MIT", - "dependencies": { - "ansi-regex": "^6.2.2" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/chalk/strip-ansi?sponsor=1" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=4" - } - }, - "node_modules/strip-eof": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strip-final-newline": { - "version": "2.0.0", - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/strip-json-comments": { - "version": "2.0.1", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strip-outer": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "escape-string-regexp": "^1.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strip-outer/node_modules/escape-string-regexp": { - "version": "1.0.5", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/strnum": { - "version": "2.3.0", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT" - }, - "node_modules/sumchecker": { - "version": "3.0.1", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "debug": "^4.1.0" - }, - "engines": { - "node": ">= 8.0" - } - }, - "node_modules/supports-color": { - "version": "7.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/tapable": { - "version": "2.3.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - } - }, - "node_modules/tar": { - "version": "6.2.1", - "dev": true, - "license": "ISC", - "dependencies": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^5.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/tar-fs": { - "version": "2.1.4", - "license": "MIT", - "dependencies": { - "chownr": "^1.1.1", - "mkdirp-classic": "^0.5.2", - "pump": "^3.0.0", - "tar-stream": "^2.1.4" - } - }, - "node_modules/tar-fs/node_modules/chownr": { - "version": "1.1.4", - "license": "ISC" - }, - "node_modules/tar-stream": { - "version": "2.2.0", - "license": "MIT", - "dependencies": { - "bl": "^4.0.3", - "end-of-stream": "^1.4.1", - "fs-constants": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/tar/node_modules/minipass": { - "version": "5.0.0", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=8" - } - }, - "node_modules/temp": { - "version": "0.9.4", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "mkdirp": "^0.5.1", - "rimraf": "~2.6.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/temp/node_modules/balanced-match": { - "version": "1.0.2", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/temp/node_modules/brace-expansion": { - "version": "1.1.14", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/temp/node_modules/glob": { - "version": "7.2.3", - "dev": true, - "license": "ISC", - "optional": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/temp/node_modules/minimatch": { - "version": "3.1.5", - "dev": true, - "license": "ISC", - "optional": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/temp/node_modules/mkdirp": { - "version": "0.5.6", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "minimist": "^1.2.6" - }, - "bin": { - "mkdirp": "bin/cmd.js" - } - }, - "node_modules/temp/node_modules/rimraf": { - "version": "2.6.3", - "dev": true, - "license": "ISC", - "optional": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/terser": { - "version": "5.47.1", - "dev": true, - "license": "BSD-2-Clause", - "dependencies": { - "@jridgewell/source-map": "^0.3.3", - "acorn": "^8.15.0", - "commander": "^2.20.0", - "source-map-support": "~0.5.20" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/terser-webpack-plugin": { - "version": "5.5.0", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.25", - "jest-worker": "^27.4.5", - "schema-utils": "^4.3.0", - "terser": "^5.31.1" - }, - "engines": { - "node": ">= 10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependencies": { - "webpack": "^5.1.0" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "esbuild": { - "optional": true - }, - "uglify-js": { - "optional": true - } - } - }, - "node_modules/terser/node_modules/commander": { - "version": "2.20.3", - "dev": true, - "license": "MIT" - }, - "node_modules/timers-ext": { - "version": "0.1.8", - "license": "ISC", - "dependencies": { - "es5-ext": "^0.10.64", - "next-tick": "^1.1.0" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/tiny-each-async": { - "version": "2.0.3", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/tmp": { - "version": "0.0.33", - "dev": true, - "license": "MIT", - "dependencies": { - "os-tmpdir": "~1.0.2" - }, - "engines": { - "node": ">=0.6.0" - } - }, - "node_modules/tmp-promise": { - "version": "3.0.3", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "tmp": "^0.2.0" - } - }, - "node_modules/tmp-promise/node_modules/tmp": { - "version": "0.2.5", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/tn1150": { - "version": "0.1.0", - "dev": true, - "license": "MIT", - "optional": true, - "dependencies": { - "unorm": "^1.4.1" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/to-data-view": { - "version": "1.1.0", - "dev": true, - "license": "MIT", - "optional": true - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/tr46": { - "version": "0.0.3", - "dev": true, - "license": "MIT" - }, - "node_modules/trim-repeated": { - "version": "1.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "escape-string-regexp": "^1.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/trim-repeated/node_modules/escape-string-regexp": { - "version": "1.0.5", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/tslib": { - "version": "2.8.1", - "license": "0BSD" - }, - "node_modules/tunnel-agent": { - "version": "0.6.0", - "license": "Apache-2.0", - "dependencies": { - "safe-buffer": "^5.0.1" - }, - "engines": { - "node": "*" - } - }, - "node_modules/type": { - "version": "2.7.3", - "license": "ISC" - }, - "node_modules/type-fest": { - "version": "0.21.3", - "dev": true, - "license": "(MIT OR CC0-1.0)", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/typescript": { - "version": "5.4.5", - "dev": true, - "license": "Apache-2.0", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/undici": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-7.25.0.tgz", - "integrity": "sha512-xXnp4kTyor2Zq+J1FfPI6Eq3ew5h6Vl0F/8d9XU5zZQf1tX9s2Su1/3PiMmUANFULpmksxkClamIZcaUqryHsQ==", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=20.18.1" - } - }, - "node_modules/undici-types": { - "version": "6.21.0", - "license": "MIT" - }, - "node_modules/unique-filename": { - "version": "2.0.1", - "dev": true, - "license": "ISC", - "dependencies": { - "unique-slug": "^3.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/unique-slug": { - "version": "3.0.0", - "dev": true, - "license": "ISC", - "dependencies": { - "imurmurhash": "^0.1.4" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/universalify": { - "version": "2.0.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/unorm": { - "version": "1.6.0", - "dev": true, - "license": "MIT or GPL-2.0", - "optional": true, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/unused-filename": { - "version": "4.0.1", - "license": "MIT", - "dependencies": { - "escape-string-regexp": "^5.0.0", - "path-exists": "^5.0.0" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/unused-filename/node_modules/escape-string-regexp": { - "version": "5.0.0", - "license": "MIT", - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/unused-filename/node_modules/path-exists": { - "version": "5.0.0", - "license": "MIT", - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - } - }, - "node_modules/update-browserslist-db": { - "version": "1.2.3", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "license": "MIT", - "dependencies": { - "escalade": "^3.2.0", - "picocolors": "^1.1.1" - }, - "bin": { - "update-browserslist-db": "cli.js" - }, - "peerDependencies": { - "browserslist": ">= 4.21.0" - } - }, - "node_modules/username": { - "version": "5.1.0", - "dev": true, - "license": "MIT", - "dependencies": { - "execa": "^1.0.0", - "mem": "^4.3.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "license": "MIT" - }, - "node_modules/validate-npm-package-license": { - "version": "3.0.4", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "node_modules/watchpack": { - "version": "2.5.1", - "dev": true, - "license": "MIT", - "dependencies": { - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.1.2" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/wcwidth": { - "version": "1.0.1", - "dev": true, - "license": "MIT", - "dependencies": { - "defaults": "^1.0.3" - } - }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "dev": true, - "license": "BSD-2-Clause" - }, - "node_modules/webpack": { - "version": "5.106.2", - "dev": true, - "license": "MIT", - "peer": true, - "dependencies": { - "@types/eslint-scope": "^3.7.7", - "@types/estree": "^1.0.8", - "@types/json-schema": "^7.0.15", - "@webassemblyjs/ast": "^1.14.1", - "@webassemblyjs/wasm-edit": "^1.14.1", - "@webassemblyjs/wasm-parser": "^1.14.1", - "acorn": "^8.16.0", - "acorn-import-phases": "^1.0.3", - "browserslist": "^4.28.1", - "chrome-trace-event": "^1.0.2", - "enhanced-resolve": "^5.20.0", - "es-module-lexer": "^2.0.0", - "eslint-scope": "5.1.1", - "events": "^3.2.0", - "glob-to-regexp": "^0.4.1", - "graceful-fs": "^4.2.11", - "loader-runner": "^4.3.1", - "mime-db": "^1.54.0", - "neo-async": "^2.6.2", - "schema-utils": "^4.3.3", - "tapable": "^2.3.0", - "terser-webpack-plugin": "^5.3.17", - "watchpack": "^2.5.1", - "webpack-sources": "^3.3.4" - }, - "bin": { - "webpack": "bin/webpack.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/webpack" - }, - "peerDependenciesMeta": { - "webpack-cli": { - "optional": true - } - } - }, - "node_modules/webpack-sources": { - "version": "3.4.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "dev": true, - "license": "MIT", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/which": { - "version": "2.0.2", - "license": "ISC", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/word-wrap": { - "version": "1.2.5", - "dev": true, - "license": "MIT", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wrap-ansi": { - "version": "6.2.0", - "dev": true, - "license": "MIT", - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/emoji-regex": { - "version": "8.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/string-width": { - "version": "4.2.3", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "license": "ISC" - }, - "node_modules/xmlbuilder": { - "version": "15.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8.0" - } - }, - "node_modules/xtend": { - "version": "4.0.2", - "license": "MIT", - "engines": { - "node": ">=0.4" - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "4.0.0", - "dev": true, - "license": "ISC" - }, - "node_modules/yargs": { - "version": "17.7.2", - "dev": true, - "license": "MIT", - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs-parser": { - "version": "21.1.1", - "dev": true, - "license": "ISC", - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs/node_modules/emoji-regex": { - "version": "8.0.0", - "dev": true, - "license": "MIT" - }, - "node_modules/yargs/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/yargs/node_modules/string-width": { - "version": "4.2.3", - "dev": true, - "license": "MIT", - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/yauzl": { - "version": "2.10.0", - "dev": true, - "license": "MIT", - "dependencies": { - "buffer-crc32": "~0.2.3", - "fd-slicer": "~1.1.0" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/yoctocolors-cjs": { - "version": "2.1.3", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/zod": { - "version": "4.4.3", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - } - } -} diff --git a/package.json b/package.json index bec08caa..bd26f479 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "codex-rebuild", "productName": "Codex", "version": "26.1007.71326", + "packageManager": "pnpm@10.33.0", + "codexRebuildRevision": 2, + "engines": { "node": ">=24 <25" }, "description": "Codex Electron App - Cross-platform Build", "main": "src/.vite/build/bootstrap.js", "scripts": { @@ -15,14 +18,21 @@ "build": "node scripts/build-current.js", "build:mac-arm64": "node scripts/build-from-upstream.js --platform mac-arm64", "build:mac-x64": "node scripts/build-from-upstream.js --platform mac-x64", - "build:mac": "npm run build:mac-arm64 && npm run build:mac-x64", + "build:mac": "pnpm run build:mac-arm64 && pnpm run build:mac-x64", "build:win-x64": "node scripts/build-from-upstream.js --platform win", - "build:win": "npm run build:win-x64", - "build:linux-x64": "node scripts/prepare-src.js --platform linux-x64 && npm run rebuild:native && node scripts/sync-native-modules.js --platform linux-x64 && rm -rf out && electron-forge make --platform=linux --arch=x64", - "build:linux-arm64": "node scripts/prepare-src.js --platform linux-arm64 && npm run rebuild:native && node scripts/sync-native-modules.js --platform linux-arm64 && rm -rf out && electron-forge make --platform=linux --arch=arm64", - "build:linux": "npm run build:linux-x64 && npm run build:linux-arm64", - "build:all": "npm run build:mac && npm run build:win && npm run build:linux", + "build:win": "pnpm run build:win-x64", + "build:linux-x64": "node scripts/prepare-src.js --platform linux-x64 && pnpm run rebuild:native && node scripts/sync-native-modules.js --platform linux-x64 && rm -rf out && electron-forge make --platform=linux --arch=x64", + "build:linux-arm64": "node scripts/prepare-src.js --platform linux-arm64 && pnpm run rebuild:native && node scripts/sync-native-modules.js --platform linux-arm64 && rm -rf out && electron-forge make --platform=linux --arch=arm64", + "build:linux": "pnpm run build:linux-x64 && pnpm run build:linux-arm64", + "build:all": "pnpm run build:mac && pnpm run build:win && pnpm run build:linux", "test": "node --test scripts/*.test.js", + "check": "node scripts/check-scripts.js", + "test:maintenance": "node scripts/maintenance-smoke.js", + "test:sidebar-usage": "node scripts/sidebar-usage-smoke.js", + "test:settings-persistence": "node scripts/settings-persistence-smoke.js", + "windows:check-update": "node scripts/windows-maintenance.js discover", + "windows:candidate": "node scripts/windows-maintenance.js candidate", + "windows:verify-release": "node scripts/windows-maintenance.js verify-release", "sync": "node scripts/sync-upstream.js", "check-update": "node scripts/check-update.js", "bump-version": "node scripts/bump-version.js", @@ -58,7 +68,6 @@ "node-pty": "^1.1.0", "shell-env": "^4.0.1", "shlex": "^3.0.0", - "smol-toml": "^1.5.2", "tslib": "^2.8.1", "zod": "^4.1.13" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 00000000..ecf560c4 --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,6291 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + dependencies: + '@sentry/electron': + specifier: ^7.5.0 + version: 7.13.0 + '@sentry/node': + specifier: 10.29.0 + version: 10.29.0 + better-sqlite3: + specifier: ^12.11.1 + version: 12.11.1 + electron-context-menu: + specifier: ^4.1.1 + version: 4.1.2 + electron-squirrel-startup: + specifier: ^1.0.1 + version: 1.0.1 + encoding: + specifier: ^0.1.13 + version: 0.1.13 + immer: + specifier: ^10.1.1 + version: 10.2.0 + lodash: + specifier: ^4.17.21 + version: 4.18.1 + memoizee: + specifier: ^0.4.15 + version: 0.4.17 + mime-types: + specifier: ^2.1.35 + version: 2.1.35 + node-pty: + specifier: ^1.1.0 + version: 1.1.0 + shell-env: + specifier: ^4.0.1 + version: 4.0.3 + shlex: + specifier: ^3.0.0 + version: 3.0.0 + tslib: + specifier: ^2.8.1 + version: 2.8.1 + zod: + specifier: ^4.1.13 + version: 4.4.3 + devDependencies: + '@electron-forge/cli': + specifier: ^7.10.2 + version: 7.11.1(encoding@0.1.13) + '@electron-forge/maker-deb': + specifier: ^7.10.2 + version: 7.11.1 + '@electron-forge/maker-dmg': + specifier: ^7.10.2 + version: 7.11.1 + '@electron-forge/maker-rpm': + specifier: ^7.10.2 + version: 7.11.1 + '@electron-forge/maker-squirrel': + specifier: ^7.10.2 + version: 7.11.1 + '@electron-forge/maker-zip': + specifier: ^7.10.2 + version: 7.11.1 + '@electron-forge/plugin-auto-unpack-natives': + specifier: ^7.10.2 + version: 7.11.1 + '@electron-forge/plugin-fuses': + specifier: ^7.10.2 + version: 7.11.1(@electron/fuses@1.8.0) + '@electron/asar': + specifier: ^4.1.2 + version: 4.2.0 + '@electron/fuses': + specifier: ^1.8.0 + version: 1.8.0 + '@electron/rebuild': + specifier: ^3.7.1 + version: 3.7.2 + acorn: + specifier: ^8.16.0 + version: 8.16.0 + electron: + specifier: ^42.0.1 + version: 42.0.1 + fast-xml-parser: + specifier: ^5.5.9 + version: 5.7.3 + +packages: + + '@apm-js-collab/code-transformer@0.8.2': + resolution: {integrity: sha512-YRjJjNq5KFSjDUoqu5pFUWrrsvGOxl6c3bu+uMFc9HNNptZ2rNU/TI2nLw4jnhQNtka972Ee2m3uqbvDQtPeCA==} + + '@apm-js-collab/tracing-hooks@0.3.1': + resolution: {integrity: sha512-Vu1CbmPURlN5fTboVuKMoJjbO5qcq9fA5YXpskx3dXe/zTBvjODFoerw+69rVBlRLrJpwPqSDqEuJDEKIrTldw==} + + '@electron-forge/cli@7.11.1': + resolution: {integrity: sha512-pk8AoLsr7t7LBAt0cFD06XFA6uxtPdvtLx06xeal7O9o7GHGCbj29WGwFoJ8Br/ENM0Ho868S3PrAn1PtBXt5g==} + engines: {node: '>= 16.4.0'} + hasBin: true + + '@electron-forge/core-utils@7.11.1': + resolution: {integrity: sha512-9UxRWVsfcziBsbAA2MS0Oz4yYovQCO2BhnGIfsbKNTBtMc/RcVSxAS0NMyymce44i43p1ZC/FqWhnt1XqYw3bQ==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/core@7.11.1': + resolution: {integrity: sha512-YtuPLzggPKPabFAD2rOZFE0s7f4KaUTpGRduhSMbZUqpqD1TIPyfoDBpYiZvao3Ht8pyZeOJjbzcC0LpFs9gIQ==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/maker-base@7.11.1': + resolution: {integrity: sha512-yhZrCGoN6bDeiB5DHFaueZ1h84AReElEj+f0hl2Ph4UbZnO0cnLpbx+Bs+XfMLAiA+beC8muB5UDK5ysfuT9BQ==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/maker-deb@7.11.1': + resolution: {integrity: sha512-QTYiryQLYPDkq6pIfBmx0GQ6D8QatUkowH7rTlW5MnCUa0uumX0Xu7yGIjesuwW37fxT3Lv4xi+FSXMCm2eC1w==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/maker-dmg@7.11.1': + resolution: {integrity: sha512-7zs5/Ewz1PcOl4N1102stFgBiFGWxU18+UPFUSd/fgf9MErBl4HBWuVNMIHyeJ/56rdfkcmTxTqE+9TBEYrZcg==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/maker-rpm@7.11.1': + resolution: {integrity: sha512-iEfJPRQQyaTqk2EbUfZgulChNWvxGXeYUH0xBX/r5cj1pL4vcJXt3jLMQBVn3mk/0Ytv9UWRs8R/XuNWX6sf2w==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/maker-squirrel@7.11.1': + resolution: {integrity: sha512-oSg7fgad6l+X0DjtRkSpMzB0AjzyDO4mb2gzM4kTodkP1ADeiMi08bxy0ZeCESqLm5+fG72cAPmEr3BAPvI1yw==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/maker-zip@7.11.1': + resolution: {integrity: sha512-30rcp0AbJLfkFBX2hmO14LKXx7z9V61LffTVbTCFMh5vUB2kZvcA5xAhsBk2oUJWfGVxe1DuSEU0rDR9bUMHUg==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/plugin-auto-unpack-natives@7.11.1': + resolution: {integrity: sha512-5uRM3WNv7jIeDt8pLP3V4U2puWHPGJ/3qRuSE47RKgTp5qxpZidWHSYcEJJxjoqOL/7KFwSqKSQ/a36GoZV4Fg==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/plugin-base@7.11.1': + resolution: {integrity: sha512-lKpSOV1GA3FoYiD9k05i6v4KaQVmojnRgCr7d6VL1bFp13QOtXSaAWhFI9mtSY7rGElOacX6Zt7P7rPoB8T9eQ==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/plugin-fuses@7.11.1': + resolution: {integrity: sha512-Td517mHf+RjQAayFDM2kKb7NaGdRXrZfPbc7KOHlGbXthp5YTkFu2cCZGWokiqt1y1wsFaAodULhqBIg7vbbbw==} + engines: {node: '>= 16.4.0'} + peerDependencies: + '@electron/fuses': ^1.0.0 + + '@electron-forge/publisher-base@7.11.1': + resolution: {integrity: sha512-rXE9oMFGMtdQrixnumWYH5TTGsp99iPHZb3jI74YWq518ctCh6DlIgWlhf6ok2X0+lhWovcIb45KJucUFAQ13w==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/shared-types@7.11.1': + resolution: {integrity: sha512-vvBWdAEh53UJlDGUevpaJk1+sqDMQibfrbHR+0IPA4MPyQex7/Uhv3vYH9oGHujBVAChQahjAuJt0fG6IJBLZg==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/template-base@7.11.1': + resolution: {integrity: sha512-XpTaEf+EfQw+0BlSAtSpZKYIKYvKu4raNzSGHZZoSYHp+HDC7R+MlpFQmSJiGdYQzQ14C+uxO42tVjgM0DMbpw==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/template-vite-typescript@7.11.1': + resolution: {integrity: sha512-Us4AHXFb+4z+gXgZImSqMBS63oKnsQWLOhqRg321xiDzu2UcQPlwgWNb4rAEKNVC1e7LXrUNDHuBiTrQkvWXbg==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/template-vite@7.11.1': + resolution: {integrity: sha512-Or8Lxf4awoeUZoMTKJEw5KQDIhqOFs24WhVka3yZXxc6VgVWN79KmYKYM6uM/YMQttmafhsBhY2t1Lxo1WR/ug==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/template-webpack-typescript@7.11.1': + resolution: {integrity: sha512-6ExfFnFkHBz8rvRFTFg5HVGTC12uJpbVk4q8DVg0R8rhhxhqiVNh8lF2UPtZ2yT2UtGWjXNVlyP3Y3T6q6E3GQ==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/template-webpack@7.11.1': + resolution: {integrity: sha512-15lbXxi+er461MPk6sbwAOyjofAHwmQjTvxNCiNpaU2naEwbj3t0SlLq/BMr5HxnVOaMmA7+lKV9afkIom+d4Q==} + engines: {node: '>= 16.4.0'} + + '@electron-forge/tracer@7.11.1': + resolution: {integrity: sha512-tiB6cglVQFcSw9N8GRwVwZUeB9u0DOx2Mj7aFXBUsFLUYQapvVGv51tUSy/UAW5lvmubGscYIILuVko+II3+NA==} + engines: {node: '>= 14.17.5'} + + '@electron/asar@3.4.1': + resolution: {integrity: sha512-i4/rNPRS84t0vSRa2HorerGRXWyF4vThfHesw0dmcWHp+cspK743UanA0suA5Q5y8kzY2y6YKrvbIUn69BCAiA==} + engines: {node: '>=10.12.0'} + hasBin: true + + '@electron/asar@4.2.0': + resolution: {integrity: sha512-npW1NW5yy8EB9XY/vEw9sUdgmq0sJEhmSBb6bqyFOAw1CSkrhvAvO6QWlW8CdIMo8VN1lkdF345l/MeW0LrY0Q==} + engines: {node: '>=22.12.0'} + hasBin: true + + '@electron/fuses@1.8.0': + resolution: {integrity: sha512-zx0EIq78WlY/lBb1uXlziZmDZI4ubcCXIMJ4uGjXzZW0nS19TjSPeXPAjzzTmKQlJUZm0SbmZhPKP7tuQ1SsEw==} + hasBin: true + + '@electron/get@3.1.0': + resolution: {integrity: sha512-F+nKc0xW+kVbBRhFzaMgPy3KwmuNTYX1fx6+FxxoSnNgwYX6LD7AKBTWkU0MQ6IBoe7dz069CNkR673sPAgkCQ==} + engines: {node: '>=14'} + + '@electron/get@5.0.0': + resolution: {integrity: sha512-pjoBpru1KdEtcExBnuHAP1cAc/5faoedw0hzJkL3o4/IJp7HNF1+fbrdxT3gMYRX2oJfvnA/WXeCTVQpYYxyJA==} + engines: {node: '>=22.12.0'} + + '@electron/node-gyp@https://codeload.github.com/electron/node-gyp/tar.gz/06b29aafb7708acef8b3669835c8a7857ebc92d2': + resolution: {tarball: https://codeload.github.com/electron/node-gyp/tar.gz/06b29aafb7708acef8b3669835c8a7857ebc92d2} + version: 10.2.0-electron.1 + engines: {node: '>=12.13.0'} + hasBin: true + + '@electron/notarize@2.5.0': + resolution: {integrity: sha512-jNT8nwH1f9X5GEITXaQ8IF/KdskvIkOFfB2CvwumsveVidzpSc+mvhhTMdAGSYF3O+Nq49lJ7y+ssODRXu06+A==} + engines: {node: '>= 10.0.0'} + + '@electron/osx-sign@1.3.3': + resolution: {integrity: sha512-KZ8mhXvWv2rIEgMbWZ4y33bDHyUKMXnx4M0sTyPNK/vcB81ImdeY9Ggdqy0SWbMDgmbqyQ+phgejh6V3R2QuSg==} + engines: {node: '>=12.0.0'} + hasBin: true + + '@electron/packager@18.4.4': + resolution: {integrity: sha512-fTUCmgL25WXTcFpM1M72VmFP8w3E4d+KNzWxmTDRpvwkfn/S206MAtM2cy0GF78KS9AwASMOUmlOIzCHeNxcGQ==} + engines: {node: '>= 16.13.0'} + hasBin: true + + '@electron/rebuild@3.7.2': + resolution: {integrity: sha512-19/KbIR/DAxbsCkiaGMXIdPnMCJLkcf8AvGnduJtWBs/CBwiAjY1apCqOLVxrXg+rtXFCngbXhBanWjxLUt1Mg==} + engines: {node: '>=12.13.0'} + hasBin: true + + '@electron/universal@2.0.3': + resolution: {integrity: sha512-Wn9sPYIVFRFl5HmwMJkARCCf7rqK/EurkfQ/rJZ14mHP3iYTjZSIOSVonEAnhWeAXwtw7zOekGRlc6yTtZ0t+g==} + engines: {node: '>=16.4'} + + '@electron/windows-sign@1.2.2': + resolution: {integrity: sha512-dfZeox66AvdPtb2lD8OsIIQh12Tp0GNCRUDfBHIKGpbmopZto2/A8nSpYYLoedPIHpqkeblZ/k8OV0Gy7PYuyQ==} + engines: {node: '>=14.14'} + hasBin: true + + '@fastify/otel@0.18.0': + resolution: {integrity: sha512-3TASCATfw+ctICSb4ymrv7iCm0qJ0N9CarB+CZ7zIJ7KqNbwI5JjyDL1/sxoC0ccTO1Zyd1iQ+oqncPg5FJXaA==} + peerDependencies: + '@opentelemetry/api': ^1.9.0 + + '@gar/promisify@1.1.3': + resolution: {integrity: sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==} + + '@inquirer/checkbox@3.0.1': + resolution: {integrity: sha512-0hm2nrToWUdD6/UHnel/UKGdk1//ke5zGUpHIvk5ZWmaKezlGxZkOJXNSWsdxO/rEqTkbB3lNC2J6nBElV2aAQ==} + engines: {node: '>=18'} + + '@inquirer/confirm@4.0.1': + resolution: {integrity: sha512-46yL28o2NJ9doViqOy0VDcoTzng7rAb6yPQKU7VDLqkmbCaH4JqK4yk4XqlzNWy9PVC5pG1ZUXPBQv+VqnYs2w==} + engines: {node: '>=18'} + + '@inquirer/core@9.2.1': + resolution: {integrity: sha512-F2VBt7W/mwqEU4bL0RnHNZmC/OxzNx9cOYxHqnXX3MP6ruYvZUZAW9imgN9+h/uBT/oP8Gh888J2OZSbjSeWcg==} + engines: {node: '>=18'} + + '@inquirer/editor@3.0.1': + resolution: {integrity: sha512-VA96GPFaSOVudjKFraokEEmUQg/Lub6OXvbIEZU1SDCmBzRkHGhxoFAVaF30nyiB4m5cEbDgiI2QRacXZ2hw9Q==} + engines: {node: '>=18'} + + '@inquirer/expand@3.0.1': + resolution: {integrity: sha512-ToG8d6RIbnVpbdPdiN7BCxZGiHOTomOX94C2FaT5KOHupV40tKEDozp12res6cMIfRKrXLJyexAZhWVHgbALSQ==} + engines: {node: '>=18'} + + '@inquirer/figures@1.0.15': + resolution: {integrity: sha512-t2IEY+unGHOzAaVM5Xx6DEWKeXlDDcNPeDyUpsRc6CUhBfU3VQOEl+Vssh7VNp1dR8MdUJBWhuObjXCsVpjN5g==} + engines: {node: '>=18'} + + '@inquirer/input@3.0.1': + resolution: {integrity: sha512-BDuPBmpvi8eMCxqC5iacloWqv+5tQSJlUafYWUe31ow1BVXjW2a5qe3dh4X/Z25Wp22RwvcaLCc2siHobEOfzg==} + engines: {node: '>=18'} + + '@inquirer/number@2.0.1': + resolution: {integrity: sha512-QpR8jPhRjSmlr/mD2cw3IR8HRO7lSVOnqUvQa8scv1Lsr3xoAMMworcYW3J13z3ppjBFBD2ef1Ci6AE5Qn8goQ==} + engines: {node: '>=18'} + + '@inquirer/password@3.0.1': + resolution: {integrity: sha512-haoeEPUisD1NeE2IanLOiFr4wcTXGWrBOyAyPZi1FfLJuXOzNmxCJPgUrGYKVh+Y8hfGJenIfz5Wb/DkE9KkMQ==} + engines: {node: '>=18'} + + '@inquirer/prompts@6.0.1': + resolution: {integrity: sha512-yl43JD/86CIj3Mz5mvvLJqAOfIup7ncxfJ0Btnl0/v5TouVUyeEdcpknfgc+yMevS/48oH9WAkkw93m7otLb/A==} + engines: {node: '>=18'} + + '@inquirer/rawlist@3.0.1': + resolution: {integrity: sha512-VgRtFIwZInUzTiPLSfDXK5jLrnpkuSOh1ctfaoygKAdPqjcjKYmGh6sCY1pb0aGnCGsmhUxoqLDUAU0ud+lGXQ==} + engines: {node: '>=18'} + + '@inquirer/search@2.0.1': + resolution: {integrity: sha512-r5hBKZk3g5MkIzLVoSgE4evypGqtOannnB3PKTG9NRZxyFRKcfzrdxXXPcoJQsxJPzvdSU2Rn7pB7lw0GCmGAg==} + engines: {node: '>=18'} + + '@inquirer/select@3.0.1': + resolution: {integrity: sha512-lUDGUxPhdWMkN/fHy1Lk7pF3nK1fh/gqeyWXmctefhxLYxlDsc7vsPBEpxrfVGDsVdyYJsiJoD4bJ1b623cV1Q==} + engines: {node: '>=18'} + + '@inquirer/type@1.5.5': + resolution: {integrity: sha512-MzICLu4yS7V8AA61sANROZ9vT1H3ooca5dSmI1FjZkzq7o/koMsRfQSzRtFo+F3Ao4Sf1C0bpLKejpKB/+j6MA==} + engines: {node: '>=18'} + + '@inquirer/type@2.0.0': + resolution: {integrity: sha512-XvJRx+2KR3YXyYtPUUy+qd9i7p+GO9Ko6VIIpWlBrpWwXDv8WLFeHTxz35CfQFUiBMLXlGHhGzys7lqit9gWag==} + engines: {node: '>=18'} + + '@jridgewell/gen-mapping@0.3.13': + resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} + + '@jridgewell/resolve-uri@3.1.2': + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + engines: {node: '>=6.0.0'} + + '@jridgewell/source-map@0.3.11': + resolution: {integrity: sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==} + + '@jridgewell/sourcemap-codec@1.5.5': + resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} + + '@jridgewell/trace-mapping@0.3.31': + resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} + + '@listr2/prompt-adapter-inquirer@2.0.22': + resolution: {integrity: sha512-hV36ZoY+xKL6pYOt1nPNnkciFkn89KZwqLhAFzJvYysAvL5uBQdiADZx/8bIDXIukzzwG0QlPYolgMzQUtKgpQ==} + engines: {node: '>=18.0.0'} + peerDependencies: + '@inquirer/prompts': '>= 3 < 8' + + '@malept/cross-spawn-promise@1.1.1': + resolution: {integrity: sha512-RTBGWL5FWQcg9orDOCcp4LvItNzUPcyEU9bwaeJX0rJ1IQxzucC48Y0/sQLp/g6t99IQgAlGIaesJS+gTn7tVQ==} + engines: {node: '>= 10'} + + '@malept/cross-spawn-promise@2.0.0': + resolution: {integrity: sha512-1DpKU0Z5ThltBwjNySMC14g0CkbyhCaz9FkhxqNsZI6uAPJXFS8cMXlBKo26FJ8ZuW6S9GCMcR9IO5k2X5/9Fg==} + engines: {node: '>= 12.13.0'} + + '@nodable/entities@2.1.0': + resolution: {integrity: sha512-nyT7T3nbMyBI/lvr6L5TyWbFJAI9FTgVRakNoBqCD+PmID8DzFrrNdLLtHMwMszOtqZa8PAOV24ZqDnQrhQINA==} + + '@nodelib/fs.scandir@2.1.5': + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} + engines: {node: '>= 8'} + + '@nodelib/fs.stat@2.0.5': + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} + engines: {node: '>= 8'} + + '@nodelib/fs.walk@1.2.8': + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} + engines: {node: '>= 8'} + + '@npmcli/fs@2.1.2': + resolution: {integrity: sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + + '@npmcli/move-file@2.0.1': + resolution: {integrity: sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + deprecated: This functionality has been moved to @npmcli/fs + + '@opentelemetry/api-logs@0.207.0': + resolution: {integrity: sha512-lAb0jQRVyleQQGiuuvCOTDVspc14nx6XJjP4FspJ1sNARo3Regq4ZZbrc3rN4b1TYSuUCvgH+UXUPug4SLOqEQ==} + engines: {node: '>=8.0.0'} + + '@opentelemetry/api-logs@0.208.0': + resolution: {integrity: sha512-CjruKY9V6NMssL/T1kAFgzosF1v9o6oeN+aX5JB/C/xPNtmgIJqcXHG7fA82Ou1zCpWGl4lROQUKwUNE1pMCyg==} + engines: {node: '>=8.0.0'} + + '@opentelemetry/api-logs@0.212.0': + resolution: {integrity: sha512-TEEVrLbNROUkYY51sBJGk7lO/OLjuepch8+hmpM6ffMJQ2z/KVCjdHuCFX6fJj8OkJP2zckPjrJzQtXU3IAsFg==} + engines: {node: '>=8.0.0'} + + '@opentelemetry/api-logs@0.214.0': + resolution: {integrity: sha512-40lSJeqYO8Uz2Yj7u94/SJWE/wONa7rmMKjI1ZcIjgf3MHNHv1OZUCrCETGuaRF62d5pQD1wKIW+L4lmSMTzZA==} + engines: {node: '>=8.0.0'} + + '@opentelemetry/api@1.9.1': + resolution: {integrity: sha512-gLyJlPHPZYdAk1JENA9LeHejZe1Ti77/pTeFm/nMXmQH/HFZlcS/O2XJB+L8fkbrNSqhdtlvjBVjxwUYanNH5Q==} + engines: {node: '>=8.0.0'} + + '@opentelemetry/context-async-hooks@2.7.1': + resolution: {integrity: sha512-OPFBYuXEn1E4ja3Y6eeA7O+ZnLBNcXTV5Cgsn1VaqBZ6hC5FnpZPLBNme1LJY8ZtF4aOujPKFoeWN4ik487KuQ==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': '>=1.0.0 <1.10.0' + + '@opentelemetry/core@2.2.0': + resolution: {integrity: sha512-FuabnnUm8LflnieVxs6eP7Z383hgQU4W1e3KJS6aOG3RxWxcHyBxH8fDMHNgu/gFx/M2jvTOW/4/PHhLz6bjWw==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': '>=1.0.0 <1.10.0' + + '@opentelemetry/core@2.6.1': + resolution: {integrity: sha512-8xHSGWpJP9wBxgBpnqGL0R3PbdWQndL1Qp50qrg71+B28zK5OQmUgcDKLJgzyAAV38t4tOyLMGDD60LneR5W8g==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': '>=1.0.0 <1.10.0' + + '@opentelemetry/core@2.7.1': + resolution: {integrity: sha512-QAqIj32AtK6+pEVNG7EOVxHdE06RP+FM5qpiEJ4RtDcFIqKUZHYhl7/7UY5efhwmwNAg7j8QbJVBLxMerc0+gw==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': '>=1.0.0 <1.10.0' + + '@opentelemetry/instrumentation-amqplib@0.55.0': + resolution: {integrity: sha512-5ULoU8p+tWcQw5PDYZn8rySptGSLZHNX/7srqo2TioPnAAcvTy6sQFQXsNPrAnyRRtYGMetXVyZUy5OaX1+IfA==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-amqplib@0.61.0': + resolution: {integrity: sha512-mCKoyTGfRNisge4br0NpOFSy2Z1NnEW8hbCJdUDdJFHrPqVzc4IIBPA/vX0U+LUcQqrQvJX+HMIU0dbDRe0i0Q==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-connect@0.52.0': + resolution: {integrity: sha512-GXPxfNB5szMbV3I9b7kNWSmQBoBzw7MT0ui6iU/p+NIzVx3a06Ri2cdQO7tG9EKb4aKSLmfX9Cw5cKxXqX6Ohg==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-connect@0.57.0': + resolution: {integrity: sha512-FMEBChnI4FLN5TE9DHwfH7QpNir1JzXno1uz/TAucVdLCyrG0jTrKIcNHt/i30A0M2AunNBCkcd8Ei26dIPKdg==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-dataloader@0.26.0': + resolution: {integrity: sha512-P2BgnFfTOarZ5OKPmYfbXfDFjQ4P9WkQ1Jji7yH5/WwB6Wm/knynAoA1rxbjWcDlYupFkyT0M1j6XLzDzy0aCA==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-dataloader@0.31.0': + resolution: {integrity: sha512-f654tZFQXS5YeLDNb9KySrwtg7SnqZN119FauD7acBoTzuLduaiGTNz88ixcVSOOMGZ+EjJu/RFtx5klObC95g==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-express@0.57.0': + resolution: {integrity: sha512-HAdx/o58+8tSR5iW+ru4PHnEejyKrAy9fYFhlEI81o10nYxrGahnMAHWiSjhDC7UQSY3I4gjcPgSKQz4rm/asg==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-fs@0.28.0': + resolution: {integrity: sha512-FFvg8fq53RRXVBRHZViP+EMxMR03tqzEGpuq55lHNbVPyFklSVfQBN50syPhK5UYYwaStx0eyCtHtbRreusc5g==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-fs@0.33.0': + resolution: {integrity: sha512-sCZWXGalQ01wr3tAhSR9ucqFJ0phidpAle6/17HVjD6gN8FLmZMK/8sKxdXYHy3PbnlV1P4zeiSVFNKpbFMNLA==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-generic-pool@0.52.0': + resolution: {integrity: sha512-ISkNcv5CM2IwvsMVL31Tl61/p2Zm2I2NAsYq5SSBgOsOndT0TjnptjufYVScCnD5ZLD1tpl4T3GEYULLYOdIdQ==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-generic-pool@0.57.0': + resolution: {integrity: sha512-orhmlaK+ZIW9hKU+nHTbXrCSXZcH83AescTqmpamHRobRmYSQwRbD0a1odc0yAzuzOtxYiHiXAnpnIpaSSY7Ow==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-graphql@0.56.0': + resolution: {integrity: sha512-IPvNk8AFoVzTAM0Z399t34VDmGDgwT6rIqCUug8P9oAGerl2/PEIYMPOl/rerPGu+q8gSWdmbFSjgg7PDVRd3Q==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-graphql@0.62.0': + resolution: {integrity: sha512-3YNuLVPUxafXkH1jBAbGsKNsP3XVzcFDhCDCE3OqBwCwShlqQbLMRMFh1T/d5jaVZiGVmSsfof+ICKD2iOV8xg==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-hapi@0.55.0': + resolution: {integrity: sha512-prqAkRf9e4eEpy4G3UcR32prKE8NLNlA90TdEU1UsghOTg0jUvs40Jz8LQWFEs5NbLbXHYGzB4CYVkCI8eWEVQ==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-hapi@0.60.0': + resolution: {integrity: sha512-aNljZKYrEa7obLAxd1bCEDxF7kzCLGXTuTJZ8lMR9rIVEjmuKBXN1gfqpm/OB//Zc2zP4iIve1jBp7sr3mQV6w==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-http@0.208.0': + resolution: {integrity: sha512-rhmK46DRWEbQQB77RxmVXGyjs6783crXCnFjYQj+4tDH/Kpv9Rbg3h2kaNyp5Vz2emF1f9HOQQvZoHzwMWOFZQ==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-http@0.214.0': + resolution: {integrity: sha512-FlkDhZDRjDJDcO2LcSCtjRpkal1NJ8y0fBqBhTvfAR3JSYY2jAIj1kSS5IjmEBt4c3aWv+u/lqLuoCDrrKCSKg==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-ioredis@0.56.0': + resolution: {integrity: sha512-XSWeqsd3rKSsT3WBz/JKJDcZD4QYElZEa0xVdX8f9dh4h4QgXhKRLorVsVkK3uXFbC2sZKAS2Ds+YolGwD83Dg==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-ioredis@0.62.0': + resolution: {integrity: sha512-ZYt//zcPve8qklaZX+5Z4MkU7UpEkFRrxsf2cnaKYBitqDnsCN69CPAuuMOX6NYdW2rG9sFy7V/QWtBlP5XiNQ==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-kafkajs@0.18.0': + resolution: {integrity: sha512-KCL/1HnZN5zkUMgPyOxfGjLjbXjpd4odDToy+7c+UsthIzVLFf99LnfIBE8YSSrYE4+uS7OwJMhvhg3tWjqMBg==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-kafkajs@0.23.0': + resolution: {integrity: sha512-4K+nVo+zI+aDz0Z85SObwbdixIbzS9moIuKJaYsdlzcHYnKOPtB7ya8r8Ezivy/GVIBHiKJVq4tv+BEkgOMLaQ==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-knex@0.53.0': + resolution: {integrity: sha512-xngn5cH2mVXFmiT1XfQ1aHqq1m4xb5wvU6j9lSgLlihJ1bXzsO543cpDwjrZm2nMrlpddBf55w8+bfS4qDh60g==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-knex@0.58.0': + resolution: {integrity: sha512-Hc/o8fSsaWxZ8r1Yw4rNDLwTpUopTf4X32y4W6UhlHmW8Wizz8wfhgOKIelSeqFVTKBBPIDUOsQWuIMxBmu8Bw==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-koa@0.57.0': + resolution: {integrity: sha512-3JS8PU/D5E3q295mwloU2v7c7/m+DyCqdu62BIzWt+3u9utjxC9QS7v6WmUNuoDN3RM+Q+D1Gpj13ERo+m7CGg==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.9.0 + + '@opentelemetry/instrumentation-koa@0.62.0': + resolution: {integrity: sha512-uVip0VuGUQXZ+vFxkKxAUNq8qNl+VFlyHDh/U6IQ8COOEDfbEchdaHnpFrMYF3psZRUuoSIgb7xOeXj00RdwDA==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.9.0 + + '@opentelemetry/instrumentation-lru-memoizer@0.53.0': + resolution: {integrity: sha512-LDwWz5cPkWWr0HBIuZUjslyvijljTwmwiItpMTHujaULZCxcYE9eU44Qf/pbVC8TulT0IhZi+RoGvHKXvNhysw==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-lru-memoizer@0.58.0': + resolution: {integrity: sha512-6grM3TdMyHzlGY1cUA+mwoPueB1F3dYKgKtZIH6jOFXqfHAByyLTc+6PFjGM9tKh52CFBJaDwodNlL/Td39z7Q==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-mongodb@0.61.0': + resolution: {integrity: sha512-OV3i2DSoY5M/pmLk+68xr5RvkHU8DRB3DKMzYJdwDdcxeLs62tLbkmRyqJZsYf3Ht7j11rq35pHOWLuLzXL7pQ==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-mongodb@0.67.0': + resolution: {integrity: sha512-1WJp5N1lYfHq2IhECOTewFs5Tf2NfUOwQRqs/rZdXKTezArMlucxgzAaqcgp3A3YREXopXTpXHsxZTGHjNhMdQ==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-mongoose@0.55.0': + resolution: {integrity: sha512-5afj0HfF6aM6Nlqgu6/PPHFk8QBfIe3+zF9FGpX76jWPS0/dujoEYn82/XcLSaW5LPUDW8sni+YeK0vTBNri+w==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-mongoose@0.60.0': + resolution: {integrity: sha512-8BahAZpKsOoc+lrZGb7Ofn4g3z8qtp5IxDfvAVpKXsEheQN7ONMH5djT5ihy6yf8yyeQJGS0gXFfpEAEeEHqQg==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-mysql2@0.55.0': + resolution: {integrity: sha512-0cs8whQG55aIi20gnK8B7cco6OK6N+enNhW0p5284MvqJ5EPi+I1YlWsWXgzv/V2HFirEejkvKiI4Iw21OqDWg==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-mysql2@0.60.0': + resolution: {integrity: sha512-m/5d3bxQALllCzezYDk/6vajh0tj5OijMMvOZGr+qN1NMXm1dzMNwyJ0gNZW7Fo3YFRyj/jJMxIw+W7d525dlw==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-mysql@0.54.0': + resolution: {integrity: sha512-bqC1YhnwAeWmRzy1/Xf9cDqxNG2d/JDkaxnqF5N6iJKN1eVWI+vg7NfDkf52/Nggp3tl1jcC++ptC61BD6738A==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-mysql@0.60.0': + resolution: {integrity: sha512-08pO8GFPEIz2zquKDGteBZDNmwketdgH8hTe9rVYgW9kCJXq1Psj3wPQGx+VaX4ZJKCfPeoLMYup9+cxHvZyVQ==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-pg@0.61.0': + resolution: {integrity: sha512-UeV7KeTnRSM7ECHa3YscoklhUtTQPs6V6qYpG283AB7xpnPGCUCUfECFT9jFg6/iZOQTt3FHkB1wGTJCNZEvPw==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-pg@0.66.0': + resolution: {integrity: sha512-KxfLGXBb7k2ueaPJfq2GXBDXBly8P+SpR/4Mj410hhNgmQF3sCqwXvUBQxZQkDAmsdBAoenM+yV1LhtsMRamcA==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-redis@0.57.0': + resolution: {integrity: sha512-bCxTHQFXzrU3eU1LZnOZQ3s5LURxQPDlU3/upBzlWY77qOI1GZuGofazj3jtzjctMJeBEJhNwIFEgRPBX1kp/Q==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-redis@0.62.0': + resolution: {integrity: sha512-y3pPpot7WzR/8JtHcYlTYsyY8g+pbFhAqbwAuG5bLPnR6v6pt1rQc0DpH0OlGP/9CZbWBP+Zhwp9yFoygf/ZXQ==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-tedious@0.27.0': + resolution: {integrity: sha512-jRtyUJNZppPBjPae4ZjIQ2eqJbcRaRfJkr0lQLHFmOU/no5A6e9s1OHLd5XZyZoBJ/ymngZitanyRRA5cniseA==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-tedious@0.33.0': + resolution: {integrity: sha512-Q6WQwAD01MMTub31GlejoiFACYNw26J426wyjvU7by7fDIr2nZXNW4vhTGs7i7F0TnXBO3xN688g1tdUgYwJ5w==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation-undici@0.19.0': + resolution: {integrity: sha512-Pst/RhR61A2OoZQZkn6OLpdVpXp6qn3Y92wXa6umfJe9rV640r4bc6SWvw4pPN6DiQqPu2c8gnSSZPDtC6JlpQ==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.7.0 + + '@opentelemetry/instrumentation@0.207.0': + resolution: {integrity: sha512-y6eeli9+TLKnznrR8AZlQMSJT7wILpXH+6EYq5Vf/4Ao+huI7EedxQHwRgVUOMLFbe7VFDvHJrX9/f4lcwnJsA==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation@0.208.0': + resolution: {integrity: sha512-Eju0L4qWcQS+oXxi6pgh7zvE2byogAkcsVv0OjHF/97iOz1N/aKE6etSGowYkie+YA1uo6DNwdSxaaNnLvcRlA==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation@0.212.0': + resolution: {integrity: sha512-IyXmpNnifNouMOe0I/gX7ENfv2ZCNdYTF0FpCsoBcpbIHzk81Ww9rQTYTnvghszCg7qGrIhNvWC8dhEifgX9Jg==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/instrumentation@0.214.0': + resolution: {integrity: sha512-MHqEX5Dk59cqVah5LiARMACku7jXSVk9iVDWOea4x3cr7VfdByeDCURK6o1lntT1JS/Tsovw01UJrBhN3/uC5w==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.3.0 + + '@opentelemetry/redis-common@0.38.3': + resolution: {integrity: sha512-VCghU1JYs/4gP6Gqf/xro9MEsZ7LrMv2uONVsaESKL38ZOB9BqnI98FfS23wjMnHlpuE+TTaWSoAVNpTwYXzjw==} + engines: {node: ^18.19.0 || >=20.6.0} + + '@opentelemetry/resources@2.7.1': + resolution: {integrity: sha512-DeT6KKolmC4e/dRQvMQ/RwlnzhaqeiFOXY5ngoOPJ07GgVVKxZOg9EcrNZb5aTzUn+iCrJldAgOfQm1O/QfPAQ==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': '>=1.3.0 <1.10.0' + + '@opentelemetry/sdk-trace-base@2.7.1': + resolution: {integrity: sha512-NAYIlsF8MPUsKqJMiDQJTMPOmlbawC1Iz/omMLygZ1C9am8fTKYjTaI+OZM+WTY3t3Glo0wnOg/6/pac6RGPPw==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': '>=1.3.0 <1.10.0' + + '@opentelemetry/semantic-conventions@1.40.0': + resolution: {integrity: sha512-cifvXDhcqMwwTlTK04GBNeIe7yyo28Mfby85QXFe1Yk8nmi36Ab/5UQwptOx84SsoGNRg+EVSjwzfSZMy6pmlw==} + engines: {node: '>=14'} + + '@opentelemetry/sql-common@0.41.2': + resolution: {integrity: sha512-4mhWm3Z8z+i508zQJ7r6Xi7y4mmoJpdvH0fZPFRkWrdp5fq7hhZ2HhYokEOLkfqSMgPR4Z9EyB3DBkbKGOqZiQ==} + engines: {node: ^18.19.0 || >=20.6.0} + peerDependencies: + '@opentelemetry/api': ^1.1.0 + + '@prisma/instrumentation@6.19.0': + resolution: {integrity: sha512-QcuYy25pkXM8BJ37wVFBO7Zh34nyRV1GOb2n3lPkkbRYfl4hWl3PTcImP41P0KrzVXfa/45p6eVCos27x3exIg==} + peerDependencies: + '@opentelemetry/api': ^1.8 + + '@prisma/instrumentation@7.6.0': + resolution: {integrity: sha512-ZPW2gRiwpPzEfgeZgaekhqXrbW+Y2RJKHVqUmlhZhKzRNCcvR6DykzylDrynpArKKRQtLxoZy36fK7U0p3pdgQ==} + peerDependencies: + '@opentelemetry/api': ^1.8 + + '@sentry-internal/browser-utils@10.50.0': + resolution: {integrity: sha512-42bxyRTxnCmYlWnvz4CxikuQNanw8UNma2WJrtxJ0f1MAJV2GhQGSHDLnA+lvFlmiz6qct3pfen/NXGyOTegTA==} + engines: {node: '>=18'} + + '@sentry-internal/feedback@10.50.0': + resolution: {integrity: sha512-0k9XZF0wn86f77mIO2U3gNNyDZooy139CnEanRzHinrN106vVzvBZ6TUEQoHtoO1fqQxr+nWWVrqV/PXUqk47w==} + engines: {node: '>=18'} + + '@sentry-internal/replay-canvas@10.50.0': + resolution: {integrity: sha512-jx6RKBmcJSWdI92qDGS/sBv1w+7Cww879Z/moX7bw7ipHa/Ts3iDcB3rgZwvhmi17U+mvYsbJeL2DXkPo3TjPw==} + engines: {node: '>=18'} + + '@sentry-internal/replay@10.50.0': + resolution: {integrity: sha512-51FYNfnvVLAWw1rrEWPFfwHuMRb9mkVCFGA4J9/un7SpeGBsQDziGB0Di4fsCxI7+EdSBpfLHPF0csKtCCw0oQ==} + engines: {node: '>=18'} + + '@sentry/browser@10.50.0': + resolution: {integrity: sha512-1f6rAvET6myiTaSeYqvaaBwvq1LfxqWjAPIoAW/NVC9bPMkeEcuvgDajHrnZMrBeWoJ81NMyoLkyX+iOc7MoFA==} + engines: {node: '>=18'} + + '@sentry/core@10.29.0': + resolution: {integrity: sha512-olQ2DU9dA/Bwsz3PtA9KNXRMqBWRQSkPw+MxwWEoU1K1qtiM9L0j6lbEFb5iSY3d7WYD5MB+1d5COugjSBrHtw==} + engines: {node: '>=18'} + + '@sentry/core@10.50.0': + resolution: {integrity: sha512-J4A+vzUO3adl0TkFCjaN1+4miamrjHiEIYuLHiuu1lmAjq5WIVw32ObvAh4yMwNtxyaEMosTrrh5M6f12XSJFg==} + engines: {node: '>=18'} + + '@sentry/electron@7.13.0': + resolution: {integrity: sha512-zW/1c9fKafCZsvhRRp9mIDH9bSvzBiIUwoN087zDDHc0vatVsqqai8nUk0bUewwYZY4Inia7r5w+kPWi8LXZzg==} + peerDependencies: + '@sentry/node-native': 10.50.0 + peerDependenciesMeta: + '@sentry/node-native': + optional: true + + '@sentry/node-core@10.29.0': + resolution: {integrity: sha512-f/Y0okHhPPb5HnYNBqCivJ2YuXtSadvcIx16dzU5mHQxZhgGednUCPEX7rsvPcd4HneQz12HKLqxbAmNu+b3FA==} + engines: {node: '>=18'} + peerDependencies: + '@opentelemetry/api': ^1.9.0 + '@opentelemetry/context-async-hooks': ^1.30.1 || ^2.1.0 || ^2.2.0 + '@opentelemetry/core': ^1.30.1 || ^2.1.0 || ^2.2.0 + '@opentelemetry/instrumentation': '>=0.57.1 <1' + '@opentelemetry/resources': ^1.30.1 || ^2.1.0 || ^2.2.0 + '@opentelemetry/sdk-trace-base': ^1.30.1 || ^2.1.0 || ^2.2.0 + '@opentelemetry/semantic-conventions': ^1.37.0 + + '@sentry/node-core@10.50.0': + resolution: {integrity: sha512-Eb1BYf4Lc7ZYmdX3acKP6SgyGikrBA370gbGHaWI5jRu7G7vig8sIu1ghPmY5AlvqBPOetado7GniXr6fAXbTw==} + engines: {node: '>=18'} + peerDependencies: + '@opentelemetry/api': ^1.9.0 + '@opentelemetry/core': ^1.30.1 || ^2.1.0 + '@opentelemetry/exporter-trace-otlp-http': '>=0.57.0 <1' + '@opentelemetry/instrumentation': '>=0.57.1 <1' + '@opentelemetry/sdk-trace-base': ^1.30.1 || ^2.1.0 + '@opentelemetry/semantic-conventions': ^1.39.0 + peerDependenciesMeta: + '@opentelemetry/api': + optional: true + '@opentelemetry/core': + optional: true + '@opentelemetry/exporter-trace-otlp-http': + optional: true + '@opentelemetry/instrumentation': + optional: true + '@opentelemetry/sdk-trace-base': + optional: true + '@opentelemetry/semantic-conventions': + optional: true + + '@sentry/node@10.29.0': + resolution: {integrity: sha512-9j8VzV06VCj+H8tlxpfa7BNN4HzH5exv68WOufdMTXzzWLOXnzrdNDoYplm1G2S3LMvWsc1SVI3a8A0yBY7oWg==} + engines: {node: '>=18'} + + '@sentry/node@10.50.0': + resolution: {integrity: sha512-TvwzFQu8MGKzMQ2/tqxcNzFA8UG2kKTB+GDmA4uOzx3+GT849YZRRSJzEXCmYhk1teVd2fbmgqyYY2nyLF5a+Q==} + engines: {node: '>=18'} + + '@sentry/opentelemetry@10.29.0': + resolution: {integrity: sha512-5QvtAwS73HlI/+OTF1poAFELzsc0se+PHmMsXGGrOeNBvjCr3ZE8qvke09aeMn7uRImf3Nc9J6i2KtSHJnbKPA==} + engines: {node: '>=18'} + peerDependencies: + '@opentelemetry/api': ^1.9.0 + '@opentelemetry/context-async-hooks': ^1.30.1 || ^2.1.0 || ^2.2.0 + '@opentelemetry/core': ^1.30.1 || ^2.1.0 || ^2.2.0 + '@opentelemetry/sdk-trace-base': ^1.30.1 || ^2.1.0 || ^2.2.0 + '@opentelemetry/semantic-conventions': ^1.37.0 + + '@sentry/opentelemetry@10.50.0': + resolution: {integrity: sha512-axn3pgDPveGdaMUC0abMCmFN7ux2pA5ebPufCef4lMIsyg7BBQvaEJ+vE19wjstMaBCAJGsdZlL3eeP2rtgRMw==} + engines: {node: '>=18'} + peerDependencies: + '@opentelemetry/api': ^1.9.0 + '@opentelemetry/core': ^1.30.1 || ^2.1.0 + '@opentelemetry/sdk-trace-base': ^1.30.1 || ^2.1.0 + '@opentelemetry/semantic-conventions': ^1.39.0 + + '@sindresorhus/is@4.6.0': + resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} + engines: {node: '>=10'} + + '@szmarczak/http-timer@4.0.6': + resolution: {integrity: sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==} + engines: {node: '>=10'} + + '@tootallnate/once@2.0.1': + resolution: {integrity: sha512-HqmEUIGRJ5fSXchkVgR5F7qn48bDBzv0kWj/Kfu5e6uci4UlEeng4331LnBkWffb++Ei3FOVLxo8JJWMFBDMeQ==} + engines: {node: '>= 10'} + + '@types/appdmg@0.5.5': + resolution: {integrity: sha512-G+n6DgZTZFOteITE30LnWj+HRVIGr7wMlAiLWOO02uJFWVEitaPU9JVXm9wJokkgshBawb2O1OykdcsmkkZfgg==} + + '@types/cacheable-request@6.0.3': + resolution: {integrity: sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw==} + + '@types/connect@3.4.38': + resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} + + '@types/eslint-scope@3.7.7': + resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==} + + '@types/eslint@9.6.1': + resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==} + + '@types/estree@1.0.9': + resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==} + + '@types/fs-extra@9.0.13': + resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} + + '@types/http-cache-semantics@4.2.0': + resolution: {integrity: sha512-L3LgimLHXtGkWikKnsPg0/VFx9OGZaC+eN1u4r+OB1XRqH3meBIAVC2zr1WdMH+RHmnRkqliQAOHNJ/E0j/e0Q==} + + '@types/json-schema@7.0.15': + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + + '@types/keyv@3.1.4': + resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==} + + '@types/mute-stream@0.0.4': + resolution: {integrity: sha512-CPM9nzrCPPJHQNA9keH9CVkVI+WR5kMa+7XEs5jcGQ0VoAGnLv242w8lIVgwAEfmE4oufJRaTc9PNLQl0ioAow==} + + '@types/mysql@2.15.27': + resolution: {integrity: sha512-YfWiV16IY0OeBfBCk8+hXKmdTKrKlwKN1MNKAPBu5JYxLwBEZl7QzeEpGnlZb3VMGJrrGmB84gXiH+ofs/TezA==} + + '@types/node@22.19.17': + resolution: {integrity: sha512-wGdMcf+vPYM6jikpS/qhg6WiqSV/OhG+jeeHT/KlVqxYfD40iYJf9/AE1uQxVWFvU7MipKRkRv8NSHiCGgPr8Q==} + + '@types/node@24.12.2': + resolution: {integrity: sha512-A1sre26ke7HDIuY/M23nd9gfB+nrmhtYyMINbjI1zHJxYteKR6qSMX56FsmjMcDb3SMcjJg5BiRRgOCC/yBD0g==} + + '@types/pg-pool@2.0.6': + resolution: {integrity: sha512-TaAUE5rq2VQYxab5Ts7WZhKNmuN78Q6PiFonTDdpbx8a1H0M1vhy3rhiMjl+e2iHmogyMw7jZF4FrE6eJUy5HQ==} + + '@types/pg-pool@2.0.7': + resolution: {integrity: sha512-U4CwmGVQcbEuqpyju8/ptOKg6gEC+Tqsvj2xS9o1g71bUh8twxnC6ZL5rZKCsGN0iyH0CwgUyc9VR5owNQF9Ng==} + + '@types/pg@8.15.6': + resolution: {integrity: sha512-NoaMtzhxOrubeL/7UZuNTrejB4MPAJ0RpxZqXQf2qXuVlTPuG6Y8p4u9dKRaue4yjmC7ZhzVO2/Yyyn25znrPQ==} + + '@types/responselike@1.0.3': + resolution: {integrity: sha512-H/+L+UkTV33uf49PH5pCAUBVPNj2nDBXTN+qS1dOwyyg24l3CcicicCA7ca+HMvJBZcFgl5r8e+RR6elsb4Lyw==} + + '@types/tedious@4.0.14': + resolution: {integrity: sha512-KHPsfX/FoVbUGbyYvk1q9MMQHLPeRZhRJZdO45Q4YjvFkv4hMNghCWTvy7rdKessBsmtz4euWCWAB6/tVpI1Iw==} + + '@types/wrap-ansi@3.0.0': + resolution: {integrity: sha512-ltIpx+kM7g/MLRZfkbL7EsCEjfzCcScLpkg37eXEtx5kmrAKBkTJwd1GIAjDSL8wTpM6Hzn5YO4pSb91BEwu1g==} + + '@types/yauzl@2.10.3': + resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} + + '@vscode/sudo-prompt@9.3.2': + resolution: {integrity: sha512-gcXoCN00METUNFeQOFJ+C9xUI0DKB+0EGMVg7wbVYRHBw2Eq3fKisDZOkRdOz3kqXRKOENMfShPOmypw1/8nOw==} + + '@webassemblyjs/ast@1.14.1': + resolution: {integrity: sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==} + + '@webassemblyjs/floating-point-hex-parser@1.13.2': + resolution: {integrity: sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==} + + '@webassemblyjs/helper-api-error@1.13.2': + resolution: {integrity: sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==} + + '@webassemblyjs/helper-buffer@1.14.1': + resolution: {integrity: sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==} + + '@webassemblyjs/helper-numbers@1.13.2': + resolution: {integrity: sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==} + + '@webassemblyjs/helper-wasm-bytecode@1.13.2': + resolution: {integrity: sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==} + + '@webassemblyjs/helper-wasm-section@1.14.1': + resolution: {integrity: sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==} + + '@webassemblyjs/ieee754@1.13.2': + resolution: {integrity: sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==} + + '@webassemblyjs/leb128@1.13.2': + resolution: {integrity: sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==} + + '@webassemblyjs/utf8@1.13.2': + resolution: {integrity: sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==} + + '@webassemblyjs/wasm-edit@1.14.1': + resolution: {integrity: sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==} + + '@webassemblyjs/wasm-gen@1.14.1': + resolution: {integrity: sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==} + + '@webassemblyjs/wasm-opt@1.14.1': + resolution: {integrity: sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==} + + '@webassemblyjs/wasm-parser@1.14.1': + resolution: {integrity: sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==} + + '@webassemblyjs/wast-printer@1.14.1': + resolution: {integrity: sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==} + + '@xmldom/xmldom@0.9.10': + resolution: {integrity: sha512-A9gOqLdi6cV4ibazAjcQufGj0B1y/vDqYrcuP6d/6x8P27gRS8643Dj9o1dEKtB6O7fwxb2FgBmJS2mX7gpvdw==} + engines: {node: '>=14.6'} + + '@xtuc/ieee754@1.2.0': + resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} + + '@xtuc/long@4.2.2': + resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} + + abbrev@1.1.1: + resolution: {integrity: sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==} + + acorn-import-attributes@1.9.5: + resolution: {integrity: sha512-n02Vykv5uA3eHGM/Z2dQrcD56kL8TyDb2p1+0P83PClMnC/nc+anbQRhIOWnSq4Ke/KvDPrY3C9hDtC/A3eHnQ==} + peerDependencies: + acorn: ^8 + + acorn-import-phases@1.0.4: + resolution: {integrity: sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==} + engines: {node: '>=10.13.0'} + peerDependencies: + acorn: ^8.14.0 + + acorn@8.16.0: + resolution: {integrity: sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==} + engines: {node: '>=0.4.0'} + hasBin: true + + agent-base@6.0.2: + resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} + engines: {node: '>= 6.0.0'} + + agentkeepalive@4.6.0: + resolution: {integrity: sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==} + engines: {node: '>= 8.0.0'} + + aggregate-error@3.1.0: + resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} + engines: {node: '>=8'} + + ajv-formats@2.1.1: + resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==} + peerDependencies: + ajv: ^8.0.0 + peerDependenciesMeta: + ajv: + optional: true + + ajv-keywords@5.1.0: + resolution: {integrity: sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==} + peerDependencies: + ajv: ^8.8.2 + + ajv@8.20.0: + resolution: {integrity: sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==} + + ansi-escapes@4.3.2: + resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} + engines: {node: '>=8'} + + ansi-escapes@5.0.0: + resolution: {integrity: sha512-5GFMVX8HqE/TB+FuBJGuO5XG0WrsA6ptUqoODaT/n9mmUaZFkqnBueB4leqGBCmrUHnCnC4PCZTCd0E7QQ83bA==} + engines: {node: '>=12'} + + ansi-regex@5.0.1: + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} + + ansi-regex@6.2.2: + resolution: {integrity: sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg==} + engines: {node: '>=12'} + + ansi-styles@4.3.0: + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} + engines: {node: '>=8'} + + ansi-styles@6.2.3: + resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==} + engines: {node: '>=12'} + + appdmg@0.6.6: + resolution: {integrity: sha512-GRmFKlCG+PWbcYF4LUNonTYmy0GjguDy6Jh9WP8mpd0T6j80XIJyXBiWlD0U+MLNhqV9Nhx49Gl9GpVToulpLg==} + engines: {node: '>=8.5'} + os: [darwin] + hasBin: true + + async@1.5.2: + resolution: {integrity: sha512-nSVgobk4rv61R9PUSDtYt7mPVB2olxNR5RWJcAsH676/ef11bUZwvu7+RGYrYauVdDPcO519v68wRhXQtxsV9w==} + + at-least-node@1.0.0: + resolution: {integrity: sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==} + engines: {node: '>= 4.0.0'} + + author-regex@1.0.0: + resolution: {integrity: sha512-KbWgR8wOYRAPekEmMXrYYdc7BRyhn2Ftk7KWfMUnQ43hFdojWEFRxhhRUm3/OFEdPa1r0KAvTTg9YQK57xTe0g==} + engines: {node: '>=0.8'} + + balanced-match@1.0.2: + resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + + balanced-match@4.0.4: + resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==} + engines: {node: 18 || 20 || >=22} + + base32-encode@1.2.0: + resolution: {integrity: sha512-cHFU8XeRyx0GgmoWi5qHMCVRiqU6J3MHWxVgun7jggCBUpVzm1Ir7M9dYr2whjSNc3tFeXfQ/oZjQu/4u55h9A==} + + base64-js@1.5.1: + resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} + + baseline-browser-mapping@2.10.27: + resolution: {integrity: sha512-zEs/ufmZoUd7WftKpKyXaT6RFxpQ5Qm9xytKRHvJfxFV9DFJkZph9RvJ1LcOUi0Z1ZVijMte65JbILeV+8QQEA==} + engines: {node: '>=6.0.0'} + hasBin: true + + better-sqlite3@12.11.1: + resolution: {integrity: sha512-dq9AtApgg5PGFtBzPFSBl3HZQjHok5gaQCM6zh2Yk0aSmDCs1CbnVI8/HgASQkNKsWFpseIO9beg5xxpYhbIfA==} + engines: {node: 20.x || 22.x || 23.x || 24.x || 25.x || 26.x} + + bindings@1.5.0: + resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} + + bl@4.1.0: + resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} + + bluebird@3.7.2: + resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} + + boolean@3.2.0: + resolution: {integrity: sha512-d0II/GO9uf9lfUHH2BQsjxzRJZBdsjgsBiW4BvhWk/3qoKwQFjIDVN19PfX8F2D/r9PCMTtLWjYVCFrpeYUzsw==} + deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. + + bplist-creator@0.0.8: + resolution: {integrity: sha512-Za9JKzD6fjLC16oX2wsXfc+qBEhJBJB1YPInoAQpMLhDuj5aVOv1baGeIQSq1Fr3OCqzvsoQcSBSwGId/Ja2PA==} + + brace-expansion@1.1.14: + resolution: {integrity: sha512-MWPGfDxnyzKU7rNOW9SP/c50vi3xrmrua/+6hfPbCS2ABNWfx24vPidzvC7krjU/RTo235sV776ymlsMtGKj8g==} + + brace-expansion@2.1.0: + resolution: {integrity: sha512-TN1kCZAgdgweJhWWpgKYrQaMNHcDULHkWwQIspdtjV4Y5aurRdZpjAqn6yX3FPqTA9ngHCc4hJxMAMgGfve85w==} + + brace-expansion@5.0.5: + resolution: {integrity: sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==} + engines: {node: 18 || 20 || >=22} + + braces@3.0.3: + resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} + engines: {node: '>=8'} + + browserslist@4.28.2: + resolution: {integrity: sha512-48xSriZYYg+8qXna9kwqjIVzuQxi+KYWp2+5nCYnYKPTr0LvD89Jqk2Or5ogxz0NUMfIjhh2lIUX/LyX9B4oIg==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + + buffer-crc32@0.2.13: + resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} + + buffer-from@1.1.2: + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + + buffer@5.7.1: + resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} + + cacache@16.1.3: + resolution: {integrity: sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + + cacheable-lookup@5.0.4: + resolution: {integrity: sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA==} + engines: {node: '>=10.6.0'} + + cacheable-request@7.0.4: + resolution: {integrity: sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg==} + engines: {node: '>=8'} + + caniuse-lite@1.0.30001792: + resolution: {integrity: sha512-hVLMUZFgR4JJ6ACt1uEESvQN1/dBVqPAKY0hgrV70eN3391K6juAfTjKZLKvOMsx8PxA7gsY1/tLMMTcfFLLpw==} + + chalk@4.1.2: + resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} + engines: {node: '>=10'} + + chardet@0.7.0: + resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} + + chownr@1.1.4: + resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} + + chownr@2.0.0: + resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} + engines: {node: '>=10'} + + chrome-trace-event@1.0.4: + resolution: {integrity: sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==} + engines: {node: '>=6.0'} + + cjs-module-lexer@2.2.0: + resolution: {integrity: sha512-4bHTS2YuzUvtoLjdy+98ykbNB5jS0+07EvFNXerqZQJ89F7DI6ET7OQo/HJuW6K0aVsKA9hj9/RVb2kQVOrPDQ==} + + clean-stack@2.2.0: + resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} + engines: {node: '>=6'} + + cli-cursor@3.1.0: + resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==} + engines: {node: '>=8'} + + cli-cursor@4.0.0: + resolution: {integrity: sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + cli-spinners@2.9.2: + resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} + engines: {node: '>=6'} + + cli-truncate@3.1.0: + resolution: {integrity: sha512-wfOBkjXteqSnI59oPcJkcPl/ZmwvMMOj340qUIY1SKZCv0B9Cf4D4fAucRkIKQmsIuYK3x1rrgU7MeGRruiuiA==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + cli-truncate@4.0.0: + resolution: {integrity: sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==} + engines: {node: '>=18'} + + cli-width@4.1.0: + resolution: {integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==} + engines: {node: '>= 12'} + + cliui@7.0.4: + resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} + + cliui@8.0.1: + resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} + engines: {node: '>=12'} + + clone-response@1.0.3: + resolution: {integrity: sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==} + + clone@1.0.4: + resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==} + engines: {node: '>=0.8'} + + color-convert@0.5.3: + resolution: {integrity: sha512-RwBeO/B/vZR3dfKL1ye/vx8MHZ40ugzpyfeVG5GsiuGnrlMWe2o8wxBbLCpw9CsxV+wHuzYlCiWnybrIA0ling==} + + color-convert@2.0.1: + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} + + color-name@1.1.4: + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + + colorette@2.0.20: + resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} + + commander@11.1.0: + resolution: {integrity: sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==} + engines: {node: '>=16'} + + commander@13.1.0: + resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==} + engines: {node: '>=18'} + + commander@2.20.3: + resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + + commander@5.1.0: + resolution: {integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==} + engines: {node: '>= 6'} + + commander@9.5.0: + resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==} + engines: {node: ^12.20.0 || >=14} + + compare-version@0.1.2: + resolution: {integrity: sha512-pJDh5/4wrEnXX/VWRZvruAGHkzKdr46z11OlTPN+VrATlWWhSKewNCJ1futCO5C7eJB3nPMFZA1LeYtcFboZ2A==} + engines: {node: '>=0.10.0'} + + concat-map@0.0.1: + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + + cross-dirname@0.1.0: + resolution: {integrity: sha512-+R08/oI0nl3vfPcqftZRpytksBXDzOUveBq/NBVx0sUp1axwzPQrKinNx5yd5sxPu8j1wIy8AfnVQ+5eFdha6Q==} + + cross-spawn@6.0.6: + resolution: {integrity: sha512-VqCUuhcd1iB+dsv8gxPttb5iZh/D0iubSP21g36KXdEuf6I5JiioesUVjpCdHV9MZRUfVFlvwtIUyPfxo5trtw==} + engines: {node: '>=4.8'} + + cross-spawn@7.0.6: + resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} + engines: {node: '>= 8'} + + cross-zip@4.0.1: + resolution: {integrity: sha512-n63i0lZ0rvQ6FXiGQ+/JFCKAUyPFhLQYJIqKaa+tSJtfKeULF/IDNDAbdnSIxgS4NTuw2b0+lj8LzfITuq+ZxQ==} + engines: {node: '>=12.10'} + + d@1.0.2: + resolution: {integrity: sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw==} + engines: {node: '>=0.12'} + + debug@2.6.9: + resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + debug@4.4.3: + resolution: {integrity: sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + decompress-response@6.0.0: + resolution: {integrity: sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==} + engines: {node: '>=10'} + + deep-extend@0.6.0: + resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} + engines: {node: '>=4.0.0'} + + default-shell@2.2.0: + resolution: {integrity: sha512-sPpMZcVhRQ0nEMDtuMJ+RtCxt7iHPAMBU+I4tAlo5dU1sjRpNax0crj6nR3qKpvVnckaQ9U38enXcwW9nZJeCw==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + defaults@1.0.4: + resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==} + + defer-to-connect@2.0.1: + resolution: {integrity: sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==} + engines: {node: '>=10'} + + define-data-property@1.1.4: + resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} + engines: {node: '>= 0.4'} + + define-properties@1.2.1: + resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} + engines: {node: '>= 0.4'} + + detect-libc@2.1.2: + resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} + engines: {node: '>=8'} + + detect-node@2.1.0: + resolution: {integrity: sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==} + + dir-compare@4.2.0: + resolution: {integrity: sha512-2xMCmOoMrdQIPHdsTawECdNPwlVFB9zGcz3kuhmBO6U3oU+UQjsue0i8ayLKpgBcm+hcXPMVSGUN9d+pvJ6+VQ==} + + ds-store@0.1.6: + resolution: {integrity: sha512-kY21M6Lz+76OS3bnCzjdsJSF7LBpLYGCVfavW8TgQD2XkcqIZ86W0y9qUDZu6fp7SIZzqosMDW2zi7zVFfv4hw==} + + eastasianwidth@0.2.0: + resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} + + electron-context-menu@4.1.2: + resolution: {integrity: sha512-9xYTUV0oRqKL50N9W71IrXNdVRB0LuBp3R1zkUdUc2wfIa2/QZwYYj5RLuO7Tn7ZSLVIaO3X6u+EIBK+cBvzrQ==} + engines: {node: '>=18'} + + electron-dl@4.0.0: + resolution: {integrity: sha512-USiB9816d2JzKv0LiSbreRfTg5lDk3lWh0vlx/gugCO92ZIJkHVH0UM18EHvKeadErP6Xn4yiTphWzYfbA2Ong==} + engines: {node: '>=18'} + + electron-installer-common@0.10.4: + resolution: {integrity: sha512-8gMNPXfAqUE5CfXg8RL0vXpLE9HAaPkgLXVoHE3BMUzogMWenf4LmwQ27BdCUrEhkjrKl+igs2IHJibclR3z3Q==} + engines: {node: '>= 10.0.0'} + + electron-installer-debian@3.2.0: + resolution: {integrity: sha512-58ZrlJ1HQY80VucsEIG9tQ//HrTlG6sfofA3nRGr6TmkX661uJyu4cMPPh6kXW+aHdq/7+q25KyQhDrXvRL7jw==} + engines: {node: '>= 10.0.0'} + os: [darwin, linux] + hasBin: true + + electron-installer-dmg@5.0.1: + resolution: {integrity: sha512-qOa1aAQdX57C+vzhDk3549dd/PRlNL4F8y736MTD1a43qptD+PvHY97Bo9gSf+OZ8iUWE7BrYSpk/FgLUe40EA==} + engines: {node: '>= 16'} + hasBin: true + + electron-installer-redhat@3.4.0: + resolution: {integrity: sha512-gEISr3U32Sgtj+fjxUAlSDo3wyGGq6OBx7rF5UdpIgbnpUvMN4W5uYb0ThpnAZ42VEJh/3aODQXHbFS4f5J3Iw==} + engines: {node: '>= 10.0.0'} + os: [darwin, linux] + hasBin: true + + electron-is-dev@3.0.1: + resolution: {integrity: sha512-8TjjAh8Ec51hUi3o4TaU0mD3GMTOESi866oRNavj9A3IQJ7pmv+MJVmdZBFGw4GFT36X7bkqnuDNYvkQgvyI8Q==} + engines: {node: '>=18'} + + electron-squirrel-startup@1.0.1: + resolution: {integrity: sha512-sTfFIHGku+7PsHLJ7v0dRcZNkALrV+YEozINTW8X1nM//e5O3L+rfYuvSW00lmGHnYmUjARZulD8F2V8ISI9RA==} + + electron-to-chromium@1.5.352: + resolution: {integrity: sha512-9wHk8x6dyuimoe18EdiDPWKExNdxYqo4fn4FwOVVper6RxT3cmpBwBkWWfSOCYJjQdIco/nPhJhNLmn4Ufg1Yg==} + + electron-winstaller@5.4.0: + resolution: {integrity: sha512-bO3y10YikuUwUuDUQRM4KfwNkKhnpVO7IPdbsrejwN9/AABJzzTQ4GeHwyzNSrVO+tEH3/Np255a3sVZpZDjvg==} + engines: {node: '>=8.0.0'} + + electron@42.0.1: + resolution: {integrity: sha512-d8HnycE970DGESe91Nj30eonFBUcAI9EZ1TwUGJVzSAnJZdh0BkFEinAXjdklvDYst+bVDc8HsksCuqVLrnqdg==} + engines: {node: '>= 22.12.0'} + hasBin: true + + emoji-regex@10.6.0: + resolution: {integrity: sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==} + + emoji-regex@8.0.0: + resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + + emoji-regex@9.2.2: + resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} + + encode-utf8@1.0.3: + resolution: {integrity: sha512-ucAnuBEhUK4boH2HjVYG5Q2mQyPorvv0u/ocS+zhdw0S8AlHYY+GOFhP1Gio5z4icpP2ivFSvhtFjQi8+T9ppw==} + + encoding@0.1.13: + resolution: {integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==} + + end-of-stream@1.4.5: + resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==} + + enhanced-resolve@5.21.0: + resolution: {integrity: sha512-otxSQPw4lkOZWkHpB3zaEQs6gWYEsmX4xQF68ElXC/TWvGxGMSGOvoNbaLXm6/cS/fSfHtsEdw90y20PCd+sCA==} + engines: {node: '>=10.13.0'} + + env-paths@2.2.1: + resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==} + engines: {node: '>=6'} + + env-paths@3.0.0: + resolution: {integrity: sha512-dtJUTepzMW3Lm/NPxRf3wP4642UWhjL2sQxc+ym2YMj1m/H2zDNQOlezafzkHwn6sMstjHTwG6iQQsctDW/b1A==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + err-code@2.0.3: + resolution: {integrity: sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==} + + error-ex@1.3.4: + resolution: {integrity: sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==} + + es-define-property@1.0.1: + resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} + engines: {node: '>= 0.4'} + + es-errors@1.3.0: + resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} + engines: {node: '>= 0.4'} + + es-module-lexer@2.1.0: + resolution: {integrity: sha512-n27zTYMjYu1aj4MjCWzSP7G9r75utsaoc8m61weK+W8JMBGGQybd43GstCXZ3WNmSFtGT9wi59qQTW6mhTR5LQ==} + + es5-ext@0.10.64: + resolution: {integrity: sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==} + engines: {node: '>=0.10'} + + es6-error@4.1.1: + resolution: {integrity: sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==} + + es6-iterator@2.0.3: + resolution: {integrity: sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==} + + es6-symbol@3.1.4: + resolution: {integrity: sha512-U9bFFjX8tFiATgtkJ1zg25+KviIXpgRvRHS8sau3GfhVzThRQrOeksPeT0BWW2MNZs1OEWJ1DPXOQMn0KKRkvg==} + engines: {node: '>=0.12'} + + es6-weak-map@2.0.3: + resolution: {integrity: sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==} + + escalade@3.2.0: + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} + engines: {node: '>=6'} + + escape-goat@4.0.0: + resolution: {integrity: sha512-2Sd4ShcWxbx6OY1IHyla/CVNwvg7XwZVoXZHcSu9w9SReNP1EzzD5T8NWKIR38fIqEns9kDWKUQTXXAmlDrdPg==} + engines: {node: '>=12'} + + escape-string-regexp@1.0.5: + resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} + engines: {node: '>=0.8.0'} + + escape-string-regexp@4.0.0: + resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} + engines: {node: '>=10'} + + escape-string-regexp@5.0.0: + resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} + engines: {node: '>=12'} + + eslint-scope@5.1.1: + resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} + engines: {node: '>=8.0.0'} + + esniff@2.0.1: + resolution: {integrity: sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==} + engines: {node: '>=0.10'} + + esrecurse@4.3.0: + resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} + engines: {node: '>=4.0'} + + estraverse@4.3.0: + resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} + engines: {node: '>=4.0'} + + estraverse@5.3.0: + resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} + engines: {node: '>=4.0'} + + event-emitter@0.3.5: + resolution: {integrity: sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==} + + eventemitter3@5.0.4: + resolution: {integrity: sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==} + + events@3.3.0: + resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} + engines: {node: '>=0.8.x'} + + execa@1.0.0: + resolution: {integrity: sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==} + engines: {node: '>=6'} + + execa@5.1.1: + resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} + engines: {node: '>=10'} + + expand-template@2.0.3: + resolution: {integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==} + engines: {node: '>=6'} + + exponential-backoff@3.1.3: + resolution: {integrity: sha512-ZgEeZXj30q+I0EN+CbSSpIyPaJ5HVQD18Z1m+u1FXbAeT94mr1zw50q4q6jiiC447Nl/YTcIYSAftiGqetwXCA==} + + ext-list@2.2.2: + resolution: {integrity: sha512-u+SQgsubraE6zItfVA0tBuCBhfU9ogSRnsvygI7wht9TS510oLkBRXBsqopeUG/GBOIQyKZO9wjTqIu/sf5zFA==} + engines: {node: '>=0.10.0'} + + ext-name@5.0.0: + resolution: {integrity: sha512-yblEwXAbGv1VQDmow7s38W77hzAgJAO50ztBLMcUyUBfxv1HC+LGwtiEN+Co6LtlqT/5uwVOxsD4TNIilWhwdQ==} + engines: {node: '>=4'} + + ext@1.7.0: + resolution: {integrity: sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==} + + external-editor@3.1.0: + resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} + engines: {node: '>=4'} + + extract-zip@2.0.1: + resolution: {integrity: sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==} + engines: {node: '>= 10.17.0'} + hasBin: true + + fast-deep-equal@3.1.3: + resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + + fast-glob@3.3.3: + resolution: {integrity: sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==} + engines: {node: '>=8.6.0'} + + fast-uri@3.1.2: + resolution: {integrity: sha512-rVjf7ArG3LTk+FS6Yw81V1DLuZl1bRbNrev6Tmd/9RaroeeRRJhAt7jg/6YFxbvAQXUCavSoZhPPj6oOx+5KjQ==} + + fast-xml-builder@1.1.9: + resolution: {integrity: sha512-jcyKVSEX13iseJqg7n/KWw+xnu/7fdrZ333Fac54KjHDIELVCfDDJXYIm6DTJ0Su4gSzrhqiK0DzY/wZbF40mw==} + + fast-xml-parser@5.7.3: + resolution: {integrity: sha512-C0AaNuC+mscy6vrAQKAc/rMq+zAPHodfHGZu4sGVehvAQt/JLG1O5zEcYcXSY5zSqr4YVgxsB+pHXTq0i7eDlg==} + hasBin: true + + fastq@1.20.1: + resolution: {integrity: sha512-GGToxJ/w1x32s/D2EKND7kTil4n8OVk/9mycTc4VDza13lOvpUZTGX3mFSCtV9ksdGBVzvsyAVLM6mHFThxXxw==} + + fd-slicer@1.1.0: + resolution: {integrity: sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==} + + file-uri-to-path@1.0.0: + resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} + + filename-reserved-regex@2.0.0: + resolution: {integrity: sha512-lc1bnsSr4L4Bdif8Xb/qrtokGbq5zlsms/CYH8PP+WtCkGNF65DPiQY8vG3SakEdRn8Dlnm+gW/qWKKjS5sZzQ==} + engines: {node: '>=4'} + + filenamify@4.3.0: + resolution: {integrity: sha512-hcFKyUG57yWGAzu1CMt/dPzYZuv+jAJUT85bL8mrXvNe6hWj6yEHEc4EdcgiA6Z3oi1/9wXJdZPXF2dZNgwgOg==} + engines: {node: '>=8'} + + fill-range@7.1.1: + resolution: {integrity: sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==} + engines: {node: '>=8'} + + find-up@2.1.0: + resolution: {integrity: sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==} + engines: {node: '>=4'} + + find-up@5.0.0: + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} + + flora-colossus@2.0.0: + resolution: {integrity: sha512-dz4HxH6pOvbUzZpZ/yXhafjbR2I8cenK5xL0KtBFb7U2ADsR+OwXifnxZjij/pZWF775uSCMzWVd+jDik2H2IA==} + engines: {node: '>= 12'} + + fmix@0.1.0: + resolution: {integrity: sha512-Y6hyofImk9JdzU8k5INtTXX1cu8LDlePWDFU5sftm9H+zKCr5SGrVjdhkvsim646cw5zD0nADj8oHyXMZmCZ9w==} + + forwarded-parse@2.1.2: + resolution: {integrity: sha512-alTFZZQDKMporBH77856pXgzhEzaUVmLCDk+egLgIgHst3Tpndzz8MnKe+GzRJRfvVdn69HhpW7cmXzvtLvJAw==} + + fs-constants@1.0.0: + resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==} + + fs-extra@10.1.0: + resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==} + engines: {node: '>=12'} + + fs-extra@11.3.5: + resolution: {integrity: sha512-eKpRKAovdpZtR1WopLHxlBWvAgPny3c4gX1G5Jhwmmw4XJj0ifSD5qB5TOo8hmA0wlRKDAOAhEE1yVPgs6Fgcg==} + engines: {node: '>=14.14'} + + fs-extra@7.0.1: + resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} + engines: {node: '>=6 <7 || >=8'} + + fs-extra@8.1.0: + resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} + engines: {node: '>=6 <7 || >=8'} + + fs-extra@9.1.0: + resolution: {integrity: sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==} + engines: {node: '>=10'} + + fs-minipass@2.1.0: + resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==} + engines: {node: '>= 8'} + + fs-temp@1.2.1: + resolution: {integrity: sha512-okTwLB7/Qsq82G6iN5zZJFsOfZtx2/pqrA7Hk/9fvy+c+eJS9CvgGXT2uNxwnI14BDY9L/jQPkaBgSvlKfSW9w==} + + fs-xattr@0.3.1: + resolution: {integrity: sha512-UVqkrEW0GfDabw4C3HOrFlxKfx0eeigfRne69FxSBdHIP8Qt5Sq6Pu3RM9KmMlkygtC4pPKkj5CiPO5USnj2GA==} + engines: {node: '>=8.6.0'} + os: ['!win32'] + + fs.realpath@1.0.0: + resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + + function-bind@1.1.2: + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} + + galactus@1.0.0: + resolution: {integrity: sha512-R1fam6D4CyKQGNlvJne4dkNF+PvUUl7TAJInvTGa9fti9qAv95quQz29GXapA4d8Ec266mJJxFVh82M4GIIGDQ==} + engines: {node: '>= 12'} + + gar@1.0.4: + resolution: {integrity: sha512-w4n9cPWyP7aHxKxYHFQMegj7WIAsL/YX/C4Bs5Rr8s1H9M1rNtRWRsw+ovYMkXDQ5S4ZbYHsHAPmevPjPgw44w==} + deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. + + generate-function@2.3.1: + resolution: {integrity: sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==} + + generate-object-property@1.2.0: + resolution: {integrity: sha512-TuOwZWgJ2VAMEGJvAyPWvpqxSANF0LDpmyHauMjFYzaACvn+QTT/AZomvPCzVBV7yDN3OmwHQ5OvHaeLKre3JQ==} + + get-caller-file@2.0.5: + resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} + engines: {node: 6.* || 8.* || >= 10.*} + + get-east-asian-width@1.5.0: + resolution: {integrity: sha512-CQ+bEO+Tva/qlmw24dCejulK5pMzVnUOFOijVogd3KQs07HnRIgp8TGipvCCRT06xeYEbpbgwaCxglFyiuIcmA==} + engines: {node: '>=18'} + + get-folder-size@2.0.1: + resolution: {integrity: sha512-+CEb+GDCM7tkOS2wdMKTn9vU7DgnKUTuDlehkNJKNSovdCOVxs14OfKCk4cvSaR3za4gj+OBdl9opPN9xrJ0zA==} + hasBin: true + + get-package-info@1.0.0: + resolution: {integrity: sha512-SCbprXGAPdIhKAXiG+Mk6yeoFH61JlYunqdFQFHDtLjJlDjFf6x07dsS8acO+xWt52jpdVo49AlVDnUVK1sDNw==} + engines: {node: '>= 4.0'} + + get-stream@4.1.0: + resolution: {integrity: sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==} + engines: {node: '>=6'} + + get-stream@5.2.0: + resolution: {integrity: sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==} + engines: {node: '>=8'} + + get-stream@6.0.1: + resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} + engines: {node: '>=10'} + + github-from-package@0.0.0: + resolution: {integrity: sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==} + + glob-parent@5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + + glob-to-regexp@0.4.1: + resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} + + glob@13.0.6: + resolution: {integrity: sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==} + engines: {node: 18 || 20 || >=22} + + glob@7.2.3: + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported + + glob@8.1.0: + resolution: {integrity: sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==} + engines: {node: '>=12'} + deprecated: Glob versions prior to v9 are no longer supported + + global-agent@3.0.0: + resolution: {integrity: sha512-PT6XReJ+D07JvGoxQMkT6qji/jVNfX/h364XHZOWeRzy64sSFr+xJ5OX7LI3b4MPQzdL4H8Y8M0xzPpsVMwA8Q==} + engines: {node: '>=10.0'} + + global-dirs@3.0.1: + resolution: {integrity: sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA==} + engines: {node: '>=10'} + + globalthis@1.0.4: + resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} + engines: {node: '>= 0.4'} + + gopd@1.2.0: + resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} + engines: {node: '>= 0.4'} + + got@11.8.6: + resolution: {integrity: sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==} + engines: {node: '>=10.19.0'} + + graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + + has-flag@4.0.0: + resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} + engines: {node: '>=8'} + + has-property-descriptors@1.0.2: + resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} + + hasown@2.0.3: + resolution: {integrity: sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==} + engines: {node: '>= 0.4'} + + hosted-git-info@2.8.9: + resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} + + http-cache-semantics@4.2.0: + resolution: {integrity: sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==} + + http-proxy-agent@5.0.0: + resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} + engines: {node: '>= 6'} + + http2-wrapper@1.0.3: + resolution: {integrity: sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg==} + engines: {node: '>=10.19.0'} + + https-proxy-agent@5.0.1: + resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} + engines: {node: '>= 6'} + + human-signals@2.1.0: + resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} + engines: {node: '>=10.17.0'} + + humanize-ms@1.2.1: + resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==} + + iconv-lite@0.4.24: + resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} + engines: {node: '>=0.10.0'} + + iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} + + ieee754@1.2.1: + resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} + + image-size@0.7.5: + resolution: {integrity: sha512-Hiyv+mXHfFEP7LzUL/llg9RwFxxY+o9N3JVLIeG5E7iFIFAalxvRU9UZthBdYDEVnzHMgjnKJPPpay5BWf1g9g==} + engines: {node: '>=6.9.0'} + hasBin: true + + immer@10.2.0: + resolution: {integrity: sha512-d/+XTN3zfODyjr89gM3mPq1WNX2B8pYsu7eORitdwyA2sBubnTl3laYlBk4sXY5FUa5qTZGBDPJICVbvqzjlbw==} + + import-in-the-middle@2.0.6: + resolution: {integrity: sha512-3vZV3jX0XRFW3EJDTwzWoZa+RH1b8eTTx6YOCjglrLyPuepwoBti1k3L2dKwdCUrnVEfc5CuRuGstaC/uQJJaw==} + + import-in-the-middle@3.0.1: + resolution: {integrity: sha512-pYkiyXVL2Mf3pozdlDGV6NAObxQx13Ae8knZk1UJRJ6uRW/ZRmTGHlQYtrsSl7ubuE5F8CD1z+s1n4RHNuTtuA==} + engines: {node: '>=18'} + + imul@1.0.1: + resolution: {integrity: sha512-WFAgfwPLAjU66EKt6vRdTlKj4nAgIDQzh29JonLa4Bqtl6D8JrIMvWjCnx7xEjVNmP3U0fM5o8ZObk7d0f62bA==} + engines: {node: '>=0.10.0'} + + imurmurhash@0.1.4: + resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} + engines: {node: '>=0.8.19'} + + indent-string@4.0.0: + resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} + engines: {node: '>=8'} + + infer-owner@1.0.4: + resolution: {integrity: sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==} + + inflight@1.0.6: + resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. + + inherits@2.0.4: + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + + ini@1.3.8: + resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} + + ini@2.0.0: + resolution: {integrity: sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA==} + engines: {node: '>=10'} + + interpret@3.1.1: + resolution: {integrity: sha512-6xwYfHbajpoF0xLW+iwLkhwgvLoZDfjYfoFNu8ftMoXINzwuymNLd9u/KmwtdT2GbR+/Cz66otEGEVVUHX9QLQ==} + engines: {node: '>=10.13.0'} + + ip-address@10.2.0: + resolution: {integrity: sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA==} + engines: {node: '>= 12'} + + is-arrayish@0.2.1: + resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} + + is-core-module@2.16.2: + resolution: {integrity: sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA==} + engines: {node: '>= 0.4'} + + is-extglob@2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + + is-fullwidth-code-point@3.0.0: + resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} + engines: {node: '>=8'} + + is-fullwidth-code-point@4.0.0: + resolution: {integrity: sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ==} + engines: {node: '>=12'} + + is-glob@4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + + is-interactive@1.0.0: + resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==} + engines: {node: '>=8'} + + is-lambda@1.0.1: + resolution: {integrity: sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==} + + is-my-ip-valid@1.0.1: + resolution: {integrity: sha512-jxc8cBcOWbNK2i2aTkCZP6i7wkHF1bqKFrwEHuN5Jtg5BSaZHUZQ/JTOJwoV41YvHnOaRyWWh72T/KvfNz9DJg==} + + is-my-json-valid@2.20.6: + resolution: {integrity: sha512-1JQwulVNjx8UqkPE/bqDaxtH4PXCe/2VRh/y3p99heOV87HG4Id5/VfDswd+YiAfHcRTfDlWgISycnHuhZq1aw==} + + is-number@7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + + is-plain-obj@1.1.0: + resolution: {integrity: sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==} + engines: {node: '>=0.10.0'} + + is-promise@2.2.2: + resolution: {integrity: sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==} + + is-property@1.0.2: + resolution: {integrity: sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==} + + is-stream@1.1.0: + resolution: {integrity: sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ==} + engines: {node: '>=0.10.0'} + + is-stream@2.0.1: + resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} + engines: {node: '>=8'} + + is-unicode-supported@0.1.0: + resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} + engines: {node: '>=10'} + + isbinaryfile@4.0.10: + resolution: {integrity: sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw==} + engines: {node: '>= 8.0.0'} + + isexe@2.0.0: + resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + + jest-worker@27.5.1: + resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} + engines: {node: '>= 10.13.0'} + + jiti@2.7.0: + resolution: {integrity: sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ==} + hasBin: true + + json-buffer@3.0.1: + resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} + + json-schema-traverse@1.0.0: + resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + + json-stringify-safe@5.0.1: + resolution: {integrity: sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==} + + jsonfile@4.0.0: + resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} + + jsonfile@6.2.1: + resolution: {integrity: sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==} + + jsonpointer@5.0.1: + resolution: {integrity: sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==} + engines: {node: '>=0.10.0'} + + junk@3.1.0: + resolution: {integrity: sha512-pBxcB3LFc8QVgdggvZWyeys+hnrNWg4OcZIU/1X59k5jQdLBlCsYGRQaz234SqoRLTCgMH00fY0xRJH+F9METQ==} + engines: {node: '>=8'} + + keyv@4.5.4: + resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} + + listr2@7.0.2: + resolution: {integrity: sha512-rJysbR9GKIalhTbVL2tYbF2hVyDnrf7pFUZBwjPaMIdadYHmeT+EVi/Bu3qd7ETQPahTotg2WRCatXwRBW554g==} + engines: {node: '>=16.0.0'} + + load-json-file@2.0.0: + resolution: {integrity: sha512-3p6ZOGNbiX4CdvEd1VcE6yi78UrGNpjHO33noGwHCnT/o2fyllJDepsm8+mFFv/DvtwFHht5HIHSyOy5a+ChVQ==} + engines: {node: '>=4'} + + loader-runner@4.3.2: + resolution: {integrity: sha512-DFEqQ3ihfS9blba08cLfYf1NRAIEm+dDjic073DRDc3/JspI/8wYmtDsHwd3+4hwvdxSK7PGaElfTmm0awWJ4w==} + engines: {node: '>=6.11.5'} + + locate-path@2.0.0: + resolution: {integrity: sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==} + engines: {node: '>=4'} + + locate-path@6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} + + lodash.get@4.4.2: + resolution: {integrity: sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==} + deprecated: This package is deprecated. Use the optional chaining (?.) operator instead. + + lodash@4.18.1: + resolution: {integrity: sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==} + + log-symbols@4.1.0: + resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} + engines: {node: '>=10'} + + log-update@5.0.1: + resolution: {integrity: sha512-5UtUDQ/6edw4ofyljDNcOVJQ4c7OjDro4h3y8e1GQL5iYElYclVHJ3zeWchylvMaKnDbDilC8irOVyexnA/Slw==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + lowercase-keys@2.0.0: + resolution: {integrity: sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==} + engines: {node: '>=8'} + + lru-cache@11.3.6: + resolution: {integrity: sha512-Gf/KoL3C/MlI7Bt0PGI9I+TeTC/I6r/csU58N4BSNc4lppLBeKsOdFYkK+dX0ABDUMJNfCHTyPpzwwO21Awd3A==} + engines: {node: 20 || >=22} + + lru-cache@7.18.3: + resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==} + engines: {node: '>=12'} + + lru-queue@0.1.0: + resolution: {integrity: sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ==} + + macos-alias@0.2.12: + resolution: {integrity: sha512-yiLHa7cfJcGRFq4FrR4tMlpNHb4Vy4mWnpajlSSIFM5k4Lv8/7BbbDLzCAVogWNl0LlLhizRp1drXv0hK9h0Yw==} + os: [darwin] + + make-fetch-happen@10.2.1: + resolution: {integrity: sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + + map-age-cleaner@0.1.3: + resolution: {integrity: sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==} + engines: {node: '>=6'} + + matcher@3.0.0: + resolution: {integrity: sha512-OkeDaAZ/bQCxeFAozM55PKcKU0yJMPGifLwV4Qgjitu+5MoAfSQN4lsLJeXZ1b8w0x+/Emda6MZgXS1jvsapng==} + engines: {node: '>=10'} + + mem@4.3.0: + resolution: {integrity: sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w==} + engines: {node: '>=6'} + + memoizee@0.4.17: + resolution: {integrity: sha512-DGqD7Hjpi/1or4F/aYAspXKNm5Yili0QDAFAY4QYvpqpgiY6+1jOfqpmByzjxbWd/T9mChbCArXAbDAsTm5oXA==} + engines: {node: '>=0.12'} + + merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + + merge2@1.4.1: + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} + + micromatch@4.0.8: + resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} + engines: {node: '>=8.6'} + + mime-db@1.52.0: + resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + engines: {node: '>= 0.6'} + + mime-db@1.54.0: + resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==} + engines: {node: '>= 0.6'} + + mime-types@2.1.35: + resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + engines: {node: '>= 0.6'} + + mimic-fn@2.1.0: + resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} + engines: {node: '>=6'} + + mimic-response@1.0.1: + resolution: {integrity: sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==} + engines: {node: '>=4'} + + mimic-response@3.1.0: + resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==} + engines: {node: '>=10'} + + minimatch@10.2.5: + resolution: {integrity: sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==} + engines: {node: 18 || 20 || >=22} + + minimatch@3.1.5: + resolution: {integrity: sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==} + + minimatch@5.1.9: + resolution: {integrity: sha512-7o1wEA2RyMP7Iu7GNba9vc0RWWGACJOCZBJX2GJWip0ikV+wcOsgVuY9uE8CPiyQhkGFSlhuSkZPavN7u1c2Fw==} + engines: {node: '>=10'} + + minimatch@9.0.9: + resolution: {integrity: sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==} + engines: {node: '>=16 || 14 >=14.17'} + + minimist@1.2.8: + resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + + minipass-collect@1.0.2: + resolution: {integrity: sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==} + engines: {node: '>= 8'} + + minipass-fetch@2.1.2: + resolution: {integrity: sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + + minipass-flush@1.0.7: + resolution: {integrity: sha512-TbqTz9cUwWyHS2Dy89P3ocAGUGxKjjLuR9z8w4WUTGAVgEj17/4nhgo2Du56i0Fm3Pm30g4iA8Lcqctc76jCzA==} + engines: {node: '>= 8'} + + minipass-pipeline@1.2.4: + resolution: {integrity: sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==} + engines: {node: '>=8'} + + minipass-sized@1.0.3: + resolution: {integrity: sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==} + engines: {node: '>=8'} + + minipass@3.3.6: + resolution: {integrity: sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==} + engines: {node: '>=8'} + + minipass@5.0.0: + resolution: {integrity: sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==} + engines: {node: '>=8'} + + minipass@7.1.3: + resolution: {integrity: sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==} + engines: {node: '>=16 || 14 >=14.17'} + + minizlib@2.1.2: + resolution: {integrity: sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==} + engines: {node: '>= 8'} + + mkdirp-classic@0.5.3: + resolution: {integrity: sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==} + + mkdirp@0.5.6: + resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} + hasBin: true + + mkdirp@1.0.4: + resolution: {integrity: sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==} + engines: {node: '>=10'} + hasBin: true + + module-details-from-path@1.0.4: + resolution: {integrity: sha512-EGWKgxALGMgzvxYF1UyGTy0HXX/2vHLkw6+NvDKW2jypWbHpjQuj4UMcqQWXHERJhVGKikolT06G3bcKe4fi7w==} + + ms@2.0.0: + resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} + + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + + murmur-32@0.2.0: + resolution: {integrity: sha512-ZkcWZudylwF+ir3Ld1n7gL6bI2mQAzXvSobPwVtu8aYi2sbXeipeSkdcanRLzIofLcM5F53lGaKm2dk7orBi7Q==} + + mute-stream@1.0.0: + resolution: {integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + + nan@2.26.2: + resolution: {integrity: sha512-0tTvBTYkt3tdGw22nrAy50x7gpbGCCFH3AFcyS5WiUu7Eu4vWlri1woE6qHBSfy11vksDqkiwjOnlR7WV8G1Hw==} + + napi-build-utils@2.0.0: + resolution: {integrity: sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==} + + negotiator@0.6.4: + resolution: {integrity: sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==} + engines: {node: '>= 0.6'} + + neo-async@2.6.2: + resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + + next-tick@1.1.0: + resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==} + + nice-try@1.0.5: + resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==} + + node-abi@3.92.0: + resolution: {integrity: sha512-KdHvFWZjEKDf0cakgFjebl371GPsISX2oZHcuyKqM7DtogIsHrqKeLTo8wBHxaXRAQlY2PsPlZmfo+9ZCxEREQ==} + engines: {node: '>=10'} + + node-addon-api@7.1.1: + resolution: {integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==} + + node-api-version@0.2.1: + resolution: {integrity: sha512-2xP/IGGMmmSQpI1+O/k72jF/ykvZ89JeuKX3TLJAYPDVLUalrshrLHkeVcCCZqG/eEa635cr8IBYzgnDvM2O8Q==} + + node-fetch@2.7.0: + resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} + engines: {node: 4.x || >=6.0.0} + peerDependencies: + encoding: ^0.1.0 + peerDependenciesMeta: + encoding: + optional: true + + node-pty@1.1.0: + resolution: {integrity: sha512-20JqtutY6JPXTUnL0ij1uad7Qe1baT46lyolh2sSENDd4sTzKZ4nmAFkeAARDKwmlLjPx6XKRlwRUxwjOy+lUg==} + + node-releases@2.0.38: + resolution: {integrity: sha512-3qT/88Y3FbH/Kx4szpQQ4HzUbVrHPKTLVpVocKiLfoYvw9XSGOX2FmD2d6DrXbVYyAQTF2HeF6My8jmzx7/CRw==} + + nopt@6.0.0: + resolution: {integrity: sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + hasBin: true + + normalize-package-data@2.5.0: + resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} + + normalize-url@6.1.0: + resolution: {integrity: sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==} + engines: {node: '>=10'} + + npm-run-path@2.0.2: + resolution: {integrity: sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw==} + engines: {node: '>=4'} + + npm-run-path@4.0.1: + resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} + engines: {node: '>=8'} + + object-keys@1.1.1: + resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} + engines: {node: '>= 0.4'} + + once@1.4.0: + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + + onetime@5.1.2: + resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} + engines: {node: '>=6'} + + ora@5.4.1: + resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} + engines: {node: '>=10'} + + os-tmpdir@1.0.2: + resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} + engines: {node: '>=0.10.0'} + + p-cancelable@2.1.1: + resolution: {integrity: sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==} + engines: {node: '>=8'} + + p-defer@1.0.0: + resolution: {integrity: sha512-wB3wfAxZpk2AzOfUMJNL+d36xothRSyj8EXOa4f6GMqYDN9BJaaSISbsk+wS9abmnebVw95C2Kb5t85UmpCxuw==} + engines: {node: '>=4'} + + p-finally@1.0.0: + resolution: {integrity: sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==} + engines: {node: '>=4'} + + p-is-promise@2.1.0: + resolution: {integrity: sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg==} + engines: {node: '>=6'} + + p-limit@1.3.0: + resolution: {integrity: sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==} + engines: {node: '>=4'} + + p-limit@3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} + + p-locate@2.0.0: + resolution: {integrity: sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==} + engines: {node: '>=4'} + + p-locate@5.0.0: + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} + + p-map@4.0.0: + resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} + engines: {node: '>=10'} + + p-try@1.0.0: + resolution: {integrity: sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==} + engines: {node: '>=4'} + + parse-author@2.0.0: + resolution: {integrity: sha512-yx5DfvkN8JsHL2xk2Os9oTia467qnvRgey4ahSm2X8epehBLx/gWLcy5KI+Y36ful5DzGbCS6RazqZGgy1gHNw==} + engines: {node: '>=0.10.0'} + + parse-color@1.0.0: + resolution: {integrity: sha512-fuDHYgFHJGbpGMgw9skY/bj3HL/Jrn4l/5rSspy00DoT4RyLnDcRvPxdZ+r6OFwIsgAuhDh4I09tAId4mI12bw==} + + parse-json@2.2.0: + resolution: {integrity: sha512-QR/GGaKCkhwk1ePQNYDRKYZ3mwU9ypsKhB0XyFnLQdomyEqk3e8wpW3V5Jp88zbxK4n5ST1nqo+g9juTpownhQ==} + engines: {node: '>=0.10.0'} + + path-exists@3.0.0: + resolution: {integrity: sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==} + engines: {node: '>=4'} + + path-exists@4.0.0: + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} + + path-exists@5.0.0: + resolution: {integrity: sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + path-expression-matcher@1.5.0: + resolution: {integrity: sha512-cbrerZV+6rvdQrrD+iGMcZFEiiSrbv9Tfdkvnusy6y0x0GKBXREFg/Y65GhIfm0tnLntThhzCnfKwp1WRjeCyQ==} + engines: {node: '>=14.0.0'} + + path-is-absolute@1.0.1: + resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} + engines: {node: '>=0.10.0'} + + path-key@2.0.1: + resolution: {integrity: sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==} + engines: {node: '>=4'} + + path-key@3.1.1: + resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} + engines: {node: '>=8'} + + path-parse@1.0.7: + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + + path-scurry@2.0.2: + resolution: {integrity: sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==} + engines: {node: 18 || 20 || >=22} + + path-type@2.0.0: + resolution: {integrity: sha512-dUnb5dXUf+kzhC/W/F4e5/SkluXIFf5VUHolW1Eg1irn1hGWjPGdsRcvYJ1nD6lhk8Ir7VM0bHJKsYTx8Jx9OQ==} + engines: {node: '>=4'} + + pe-library@1.0.1: + resolution: {integrity: sha512-nh39Mo1eGWmZS7y+mK/dQIqg7S1lp38DpRxkyoHf0ZcUs/HDc+yyTjuOtTvSMZHmfSLuSQaX945u05Y2Q6UWZg==} + engines: {node: '>=14', npm: '>=7'} + + pend@1.2.0: + resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==} + + pg-int8@1.0.1: + resolution: {integrity: sha512-WCtabS6t3c8SkpDBUlb1kjOs7l66xsGdKpIPZsg4wR+B3+u9UAum2odSsF9tnvxg80h4ZxLWMy4pRjOsFIqQpw==} + engines: {node: '>=4.0.0'} + + pg-protocol@1.13.0: + resolution: {integrity: sha512-zzdvXfS6v89r6v7OcFCHfHlyG/wvry1ALxZo4LqgUoy7W9xhBDMaqOuMiF3qEV45VqsN6rdlcehHrfDtlCPc8w==} + + pg-types@2.2.0: + resolution: {integrity: sha512-qTAAlrEsl8s4OiEQY69wDvcMIdQN6wdz5ojQiOy6YRMuynxenON0O5oCpJI6lshc6scgAY8qvJ2On/p+CXY0GA==} + engines: {node: '>=4'} + + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + + picomatch@2.3.2: + resolution: {integrity: sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==} + engines: {node: '>=8.6'} + + pify@2.3.0: + resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==} + engines: {node: '>=0.10.0'} + + plist@3.1.1: + resolution: {integrity: sha512-ZIfcLJC+7E7FBFnDxm9MPmt7D+DidyQ26lewieO75AdhA2ayMtsJSES0iWzqJQbcVRSrTufQoy0DR94xHue0oA==} + engines: {node: '>=10.4.0'} + + postgres-array@2.0.0: + resolution: {integrity: sha512-VpZrUqU5A69eQyW2c5CA1jtLecCsN2U/bD6VilrFDWq5+5UIEVO7nazS3TEcHf1zuPYO/sqGvUvW62g86RXZuA==} + engines: {node: '>=4'} + + postgres-bytea@1.0.1: + resolution: {integrity: sha512-5+5HqXnsZPE65IJZSMkZtURARZelel2oXUEO8rH83VS/hxH5vv1uHquPg5wZs8yMAfdv971IU+kcPUczi7NVBQ==} + engines: {node: '>=0.10.0'} + + postgres-date@1.0.7: + resolution: {integrity: sha512-suDmjLVQg78nMK2UZ454hAG+OAW+HQPZ6n++TNDUX+L0+uUlLywnoxJKDou51Zm+zTCjrCl0Nq6J9C5hP9vK/Q==} + engines: {node: '>=0.10.0'} + + postgres-interval@1.2.0: + resolution: {integrity: sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==} + engines: {node: '>=0.10.0'} + + postject@1.0.0-alpha.6: + resolution: {integrity: sha512-b9Eb8h2eVqNE8edvKdwqkrY6O7kAwmI8kcnBv1NScolYJbo59XUF0noFq+lxbC1yN20bmC0WBEbDC5H/7ASb0A==} + engines: {node: '>=14.0.0'} + hasBin: true + + prebuild-install@7.1.3: + resolution: {integrity: sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==} + engines: {node: '>=10'} + deprecated: No longer maintained. Please contact the author of the relevant native addon; alternatives are available. + hasBin: true + + prettier@3.8.3: + resolution: {integrity: sha512-7igPTM53cGHMW8xWuVTydi2KO233VFiTNyF5hLJqpilHfmn8C8gPf+PS7dUT64YcXFbiMGZxS9pCSxL/Dxm/Jw==} + engines: {node: '>=14'} + hasBin: true + + proc-log@2.0.1: + resolution: {integrity: sha512-Kcmo2FhfDTXdcbfDH76N7uBYHINxc/8GW7UAVuVP9I+Va3uHSerrnKV6dLooga/gh7GlgzuCCr/eoldnL1muGw==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + + progress@2.0.3: + resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} + engines: {node: '>=0.4.0'} + + promise-inflight@1.0.1: + resolution: {integrity: sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==} + peerDependencies: + bluebird: '*' + peerDependenciesMeta: + bluebird: + optional: true + + promise-retry@2.0.1: + resolution: {integrity: sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==} + engines: {node: '>=10'} + + pump@3.0.4: + resolution: {integrity: sha512-VS7sjc6KR7e1ukRFhQSY5LM2uBWAUPiOPa/A3mkKmiMwSmRFUITt0xuj+/lesgnCv+dPIEYlkzrcyXgquIHMcA==} + + pupa@3.3.0: + resolution: {integrity: sha512-LjgDO2zPtoXP2wJpDjZrGdojii1uqO0cnwKoIoUzkfS98HDmbeiGmYiXo3lXeFlq2xvne1QFQhwYXSUCLKtEuA==} + engines: {node: '>=12.20'} + + queue-microtask@1.2.3: + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + + quick-lru@5.1.1: + resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==} + engines: {node: '>=10'} + + random-path@0.1.2: + resolution: {integrity: sha512-4jY0yoEaQ5v9StCl5kZbNIQlg1QheIDBrdkDn53EynpPb9FgO6//p3X/tgMnrC45XN6QZCzU1Xz/+pSSsJBpRw==} + + rc@1.2.8: + resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} + hasBin: true + + read-binary-file-arch@1.0.6: + resolution: {integrity: sha512-BNg9EN3DD3GsDXX7Aa8O4p92sryjkmzYYgmgTAc6CA4uGLEDzFfxOxugu21akOxpcXHiEgsYkC6nPsQvLLLmEg==} + hasBin: true + + read-pkg-up@2.0.0: + resolution: {integrity: sha512-1orxQfbWGUiTn9XsPlChs6rLie/AV9jwZTGmu2NZw/CUDJQchXJFYE0Fq5j7+n558T1JhDWLdhyd1Zj+wLY//w==} + engines: {node: '>=4'} + + read-pkg@2.0.0: + resolution: {integrity: sha512-eFIBOPW7FGjzBuk3hdXEuNSiTZS/xEMlH49HxMyzb0hyPfu4EhVjT2DH32K1hSSmVq4sebAWnZuuY5auISUTGA==} + engines: {node: '>=4'} + + readable-stream@3.6.2: + resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} + engines: {node: '>= 6'} + + rechoir@0.8.0: + resolution: {integrity: sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==} + engines: {node: '>= 10.13.0'} + + repeat-string@1.6.1: + resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} + engines: {node: '>=0.10'} + + require-directory@2.1.1: + resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} + engines: {node: '>=0.10.0'} + + require-from-string@2.0.2: + resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} + engines: {node: '>=0.10.0'} + + require-in-the-middle@8.0.1: + resolution: {integrity: sha512-QT7FVMXfWOYFbeRBF6nu+I6tr2Tf3u0q8RIEjNob/heKY/nh7drD/k7eeMFmSQgnTtCzLDcCu/XEnpW2wk4xCQ==} + engines: {node: '>=9.3.0 || >=8.10.0 <9.0.0'} + + resedit@2.0.3: + resolution: {integrity: sha512-oTeemxwoMuxxTYxXUwjkrOPfngTQehlv0/HoYFNkB4uzsP1Un1A9nI8JQKGOFkxpqkC7qkMs0lUsGrvUlbLNUA==} + engines: {node: '>=14', npm: '>=7'} + + resolve-alpn@1.2.1: + resolution: {integrity: sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==} + + resolve@1.22.12: + resolution: {integrity: sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==} + engines: {node: '>= 0.4'} + hasBin: true + + responselike@2.0.1: + resolution: {integrity: sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==} + + restore-cursor@3.1.0: + resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==} + engines: {node: '>=8'} + + restore-cursor@4.0.0: + resolution: {integrity: sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + retry@0.12.0: + resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==} + engines: {node: '>= 4'} + + reusify@1.1.0: + resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==} + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + + rfdc@1.4.1: + resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==} + + rimraf@2.6.3: + resolution: {integrity: sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==} + deprecated: Rimraf versions prior to v4 are no longer supported + hasBin: true + + rimraf@3.0.2: + resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} + deprecated: Rimraf versions prior to v4 are no longer supported + hasBin: true + + roarr@2.15.4: + resolution: {integrity: sha512-CHhPh+UNHD2GTXNYhPWLnU8ONHdI+5DI+4EYIAOaiD63rHeYlZvyh8P+in5999TTSFgUYuKUAjzRI4mdh/p+2A==} + engines: {node: '>=8.0'} + + run-parallel@1.2.0: + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + + safe-buffer@5.2.1: + resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + + safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + + schema-utils@4.3.3: + resolution: {integrity: sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA==} + engines: {node: '>= 10.13.0'} + + semver-compare@1.0.0: + resolution: {integrity: sha512-YM3/ITh2MJ5MtzaM429anh+x2jiLVjqILF4m4oyQB18W7Ggea7BfqdH/wGMK7dDiMghv/6WG7znWMwUDzJiXow==} + + semver@5.7.2: + resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} + hasBin: true + + semver@6.3.1: + resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} + hasBin: true + + semver@7.7.4: + resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==} + engines: {node: '>=10'} + hasBin: true + + serialize-error@7.0.1: + resolution: {integrity: sha512-8I8TjW5KMOKsZQTvoxjuSIa7foAwPWGOts+6o7sgjz41/qMD9VQHEDxi6PBvK2l0MXUmqZyNpUK+T2tQaaElvw==} + engines: {node: '>=10'} + + shebang-command@1.2.0: + resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==} + engines: {node: '>=0.10.0'} + + shebang-command@2.0.0: + resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} + engines: {node: '>=8'} + + shebang-regex@1.0.0: + resolution: {integrity: sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==} + engines: {node: '>=0.10.0'} + + shebang-regex@3.0.0: + resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} + engines: {node: '>=8'} + + shell-env@4.0.3: + resolution: {integrity: sha512-Ioe5h+hCDZ7pKL5+JGzbtPvZ5ESMHePZ8nLxohlDL+twmlcmutttMhRkrQOed8DeLT8mkYBgbwZfohe8pqaA3g==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + shlex@3.0.0: + resolution: {integrity: sha512-jHPXQQk9d/QXCvJuLPYMOYWez3c43sORAgcIEoV7bFv5AJSJRAOyw5lQO12PMfd385qiLRCaDt7OtEzgrIGZUA==} + + signal-exit@3.0.7: + resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + + signal-exit@4.1.0: + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} + + simple-concat@1.0.1: + resolution: {integrity: sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==} + + simple-get@4.0.1: + resolution: {integrity: sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==} + + slice-ansi@5.0.0: + resolution: {integrity: sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==} + engines: {node: '>=12'} + + smart-buffer@4.2.0: + resolution: {integrity: sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==} + engines: {node: '>= 6.0.0', npm: '>= 3.0.0'} + + socks-proxy-agent@7.0.0: + resolution: {integrity: sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==} + engines: {node: '>= 10'} + + socks@2.8.8: + resolution: {integrity: sha512-NlGELfPrgX2f1TAAcz0WawlLn+0r3FyhhCRpFFK2CemXenPYvzMWWZINv3eDNo9ucdwme7oCHRY0Jnbs4aIkog==} + engines: {node: '>= 10.0.0', npm: '>= 3.0.0'} + + sort-keys-length@1.0.1: + resolution: {integrity: sha512-GRbEOUqCxemTAk/b32F2xa8wDTs+Z1QHOkbhJDQTvv/6G3ZkbJ+frYWsTcc7cBB3Fu4wy4XlLCuNtJuMn7Gsvw==} + engines: {node: '>=0.10.0'} + + sort-keys@1.1.2: + resolution: {integrity: sha512-vzn8aSqKgytVik0iwdBEi+zevbTYZogewTUM6dtpmGwEcdzbub/TX4bCzRhebDCRC3QzXgJsLRKB2V/Oof7HXg==} + engines: {node: '>=0.10.0'} + + source-map-support@0.5.21: + resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} + + source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + + spdx-correct@3.2.0: + resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} + + spdx-exceptions@2.5.0: + resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==} + + spdx-expression-parse@3.0.1: + resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} + + spdx-license-ids@3.0.23: + resolution: {integrity: sha512-CWLcCCH7VLu13TgOH+r8p1O/Znwhqv/dbb6lqWy67G+pT1kHmeD/+V36AVb/vq8QMIQwVShJ6Ssl5FPh0fuSdw==} + + sprintf-js@1.1.3: + resolution: {integrity: sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==} + + ssri@9.0.1: + resolution: {integrity: sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + + stream-buffers@2.2.0: + resolution: {integrity: sha512-uyQK/mx5QjHun80FLJTfaWE7JtwfRMKBLkMne6udYOmvH0CawotVa7TfgYHzAnpphn4+TweIx1QKMnRIbipmUg==} + engines: {node: '>= 0.10.0'} + + string-width@4.2.3: + resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} + engines: {node: '>=8'} + + string-width@5.1.2: + resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} + engines: {node: '>=12'} + + string-width@7.2.0: + resolution: {integrity: sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==} + engines: {node: '>=18'} + + string_decoder@1.3.0: + resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} + + strip-ansi@6.0.1: + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} + + strip-ansi@7.2.0: + resolution: {integrity: sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==} + engines: {node: '>=12'} + + strip-bom@3.0.0: + resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} + engines: {node: '>=4'} + + strip-eof@1.0.0: + resolution: {integrity: sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q==} + engines: {node: '>=0.10.0'} + + strip-final-newline@2.0.0: + resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} + engines: {node: '>=6'} + + strip-json-comments@2.0.1: + resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} + engines: {node: '>=0.10.0'} + + strip-outer@1.0.1: + resolution: {integrity: sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==} + engines: {node: '>=0.10.0'} + + strnum@2.3.0: + resolution: {integrity: sha512-ums3KNd42PGyx5xaoVTO1mjU1bH3NpY4vsrVlnv9PNGqQj8wd7rJ6nEypLrJ7z5vxK5RP0yMLo6J/Gsm62DI5Q==} + + sumchecker@3.0.1: + resolution: {integrity: sha512-MvjXzkz/BOfyVDkG0oFOtBxHX2u3gKbMHIF/dXblZsgD3BWOFLmHovIpZY7BykJdAjcqRCBi1WYBNdEC9yI7vg==} + engines: {node: '>= 8.0'} + + supports-color@7.2.0: + resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} + engines: {node: '>=8'} + + supports-color@8.1.1: + resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} + engines: {node: '>=10'} + + supports-preserve-symlinks-flag@1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + + tapable@2.3.3: + resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} + engines: {node: '>=6'} + + tar-fs@2.1.4: + resolution: {integrity: sha512-mDAjwmZdh7LTT6pNleZ05Yt65HC3E+NiQzl672vQG38jIrehtJk/J3mNwIg+vShQPcLF/LV7CMnDW6vjj6sfYQ==} + + tar-stream@2.2.0: + resolution: {integrity: sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==} + engines: {node: '>=6'} + + tar@6.2.1: + resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==} + engines: {node: '>=10'} + + temp@0.9.4: + resolution: {integrity: sha512-yYrrsWnrXMcdsnu/7YMYAofM1ktpL5By7vZhf15CrXijWWrEYZks5AXBudalfSWJLlnen/QUJUB5aoB0kqZUGA==} + engines: {node: '>=6.0.0'} + + terser-webpack-plugin@5.5.0: + resolution: {integrity: sha512-UYhptBwhWvfIjKd/UuFo6D8uq9xpGLDK+z8EDsj/zWhrTaH34cKEbrkMKfV5YWqGBvAYA3tlzZbs2R+qYrbQJA==} + engines: {node: '>= 10.13.0'} + peerDependencies: + '@swc/core': '*' + esbuild: '*' + uglify-js: '*' + webpack: ^5.1.0 + peerDependenciesMeta: + '@swc/core': + optional: true + esbuild: + optional: true + uglify-js: + optional: true + + terser@5.47.1: + resolution: {integrity: sha512-tPbLXTI6ohPASb/1YViL428oEHu6/qv1OxqYnfaonVCFHqx4+wCd95pHrQWsL5X4pl90CTyW9piSAsS2L0VoMw==} + engines: {node: '>=10'} + hasBin: true + + timers-ext@0.1.8: + resolution: {integrity: sha512-wFH7+SEAcKfJpfLPkrgMPvvwnEtj8W4IurvEyrKsDleXnKLCDw71w8jltvfLa8Rm4qQxxT4jmDBYbJG/z7qoww==} + engines: {node: '>=0.12'} + + tiny-each-async@2.0.3: + resolution: {integrity: sha512-5ROII7nElnAirvFn8g7H7MtpfV1daMcyfTGQwsn/x2VtyV+VPiO5CjReCJtWLvoKTDEDmZocf3cNPraiMnBXLA==} + + tmp-promise@3.0.3: + resolution: {integrity: sha512-RwM7MoPojPxsOBYnyd2hy0bxtIlVrihNs9pj5SUvY8Zz1sQcQG2tG1hSr8PDxfgEB8RNKDhqbIlroIarSNDNsQ==} + + tmp@0.0.33: + resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} + engines: {node: '>=0.6.0'} + + tmp@0.2.5: + resolution: {integrity: sha512-voyz6MApa1rQGUxT3E+BK7/ROe8itEx7vD8/HEvt4xwXucvQ5G5oeEiHkmHZJuBO21RpOf+YYm9MOivj709jow==} + engines: {node: '>=14.14'} + + tn1150@0.1.0: + resolution: {integrity: sha512-DbplOfQFkqG5IHcDyyrs/lkvSr3mPUVsFf/RbDppOshs22yTPnSJWEe6FkYd1txAwU/zcnR905ar2fi4kwF29w==} + engines: {node: '>=0.12'} + + to-data-view@1.1.0: + resolution: {integrity: sha512-1eAdufMg6mwgmlojAx3QeMnzB/BTVp7Tbndi3U7ftcT2zCZadjxkkmLmd97zmaxWi+sgGcgWrokmpEoy0Dn0vQ==} + + to-regex-range@5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + + tr46@0.0.3: + resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + + trim-repeated@1.0.0: + resolution: {integrity: sha512-pkonvlKk8/ZuR0D5tLW8ljt5I8kmxp2XKymhepUeOdCEfKpZaktSArkLHZt76OB1ZvO9bssUsDty4SWhLvZpLg==} + engines: {node: '>=0.10.0'} + + tslib@2.8.1: + resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + + tunnel-agent@0.6.0: + resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==} + + type-fest@0.13.1: + resolution: {integrity: sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==} + engines: {node: '>=10'} + + type-fest@0.21.3: + resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} + engines: {node: '>=10'} + + type-fest@1.4.0: + resolution: {integrity: sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==} + engines: {node: '>=10'} + + type@2.7.3: + resolution: {integrity: sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ==} + + typescript@5.4.5: + resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==} + engines: {node: '>=14.17'} + hasBin: true + + undici-types@6.21.0: + resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} + + undici-types@7.16.0: + resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==} + + undici@7.25.0: + resolution: {integrity: sha512-xXnp4kTyor2Zq+J1FfPI6Eq3ew5h6Vl0F/8d9XU5zZQf1tX9s2Su1/3PiMmUANFULpmksxkClamIZcaUqryHsQ==} + engines: {node: '>=20.18.1'} + + unique-filename@2.0.1: + resolution: {integrity: sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + + unique-slug@3.0.0: + resolution: {integrity: sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + + universalify@0.1.2: + resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} + engines: {node: '>= 4.0.0'} + + universalify@2.0.1: + resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} + engines: {node: '>= 10.0.0'} + + unorm@1.6.0: + resolution: {integrity: sha512-b2/KCUlYZUeA7JFUuRJZPUtr4gZvBh7tavtv4fvk4+KV9pfGiR6CQAQAWl49ZpR3ts2dk4FYkP7EIgDJoiOLDA==} + engines: {node: '>= 0.4.0'} + + unused-filename@4.0.1: + resolution: {integrity: sha512-ZX6U1J04K1FoSUeoX1OicAhw4d0aro2qo+L8RhJkiGTNtBNkd/Fi1Wxoc9HzcVu6HfOzm0si/N15JjxFmD1z6A==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + + update-browserslist-db@1.2.3: + resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + + username@5.1.0: + resolution: {integrity: sha512-PCKbdWw85JsYMvmCv5GH3kXmM66rCd9m1hBEDutPNv94b/pqCMT4NtcKyeWYvLFiE8b+ha1Jdl8XAaUdPn5QTg==} + engines: {node: '>=8'} + + util-deprecate@1.0.2: + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + + validate-npm-package-license@3.0.4: + resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} + + watchpack@2.5.1: + resolution: {integrity: sha512-Zn5uXdcFNIA1+1Ei5McRd+iRzfhENPCe7LeABkJtNulSxjma+l7ltNx55BWZkRlwRnpOgHqxnjyaDgJnNXnqzg==} + engines: {node: '>=10.13.0'} + + wcwidth@1.0.1: + resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==} + + webidl-conversions@3.0.1: + resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + + webpack-sources@3.4.1: + resolution: {integrity: sha512-eACpxRN02yaawnt+uUNIF7Qje6A9zArxBbcAJjK1PK3S9Ycg5jIuJ8pW4q8EMnwNZCEGltcjkRx1QzOxOkKD8A==} + engines: {node: '>=10.13.0'} + + webpack@5.106.2: + resolution: {integrity: sha512-wGN3qcrBQIFmQ/c0AiOAQBvrZ5lmY8vbbMv4Mxfgzqd/B6+9pXtLo73WuS1dSGXM5QYY3hZnIbvx+K1xxe6FyA==} + engines: {node: '>=10.13.0'} + hasBin: true + peerDependencies: + webpack-cli: '*' + peerDependenciesMeta: + webpack-cli: + optional: true + + whatwg-url@5.0.0: + resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + + which@1.3.1: + resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} + hasBin: true + + which@2.0.2: + resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} + engines: {node: '>= 8'} + hasBin: true + + word-wrap@1.2.5: + resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} + engines: {node: '>=0.10.0'} + + wrap-ansi@6.2.0: + resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} + engines: {node: '>=8'} + + wrap-ansi@7.0.0: + resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} + engines: {node: '>=10'} + + wrap-ansi@8.1.0: + resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} + engines: {node: '>=12'} + + wrappy@1.0.2: + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + + xmlbuilder@15.1.1: + resolution: {integrity: sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg==} + engines: {node: '>=8.0'} + + xtend@4.0.2: + resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} + engines: {node: '>=0.4'} + + y18n@5.0.8: + resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} + engines: {node: '>=10'} + + yallist@4.0.0: + resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + + yargs-parser@20.2.9: + resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} + engines: {node: '>=10'} + + yargs-parser@21.1.1: + resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} + engines: {node: '>=12'} + + yargs@16.2.0: + resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} + engines: {node: '>=10'} + + yargs@17.7.2: + resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} + engines: {node: '>=12'} + + yauzl@2.10.0: + resolution: {integrity: sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==} + + yocto-queue@0.1.0: + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} + engines: {node: '>=10'} + + yoctocolors-cjs@2.1.3: + resolution: {integrity: sha512-U/PBtDf35ff0D8X8D0jfdzHYEPFxAI7jJlxZXwCSez5M3190m+QobIfh+sWDWSHMCWWJN2AWamkegn6vr6YBTw==} + engines: {node: '>=18'} + + zod@4.4.3: + resolution: {integrity: sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==} + +snapshots: + + '@apm-js-collab/code-transformer@0.8.2': {} + + '@apm-js-collab/tracing-hooks@0.3.1': + dependencies: + '@apm-js-collab/code-transformer': 0.8.2 + debug: 4.4.3 + module-details-from-path: 1.0.4 + transitivePeerDependencies: + - supports-color + + '@electron-forge/cli@7.11.1(encoding@0.1.13)': + dependencies: + '@electron-forge/core': 7.11.1(encoding@0.1.13) + '@electron-forge/core-utils': 7.11.1 + '@electron-forge/shared-types': 7.11.1 + '@electron/get': 3.1.0 + '@inquirer/prompts': 6.0.1 + '@listr2/prompt-adapter-inquirer': 2.0.22(@inquirer/prompts@6.0.1) + chalk: 4.1.2 + commander: 11.1.0 + debug: 4.4.3 + fs-extra: 10.1.0 + listr2: 7.0.2 + log-symbols: 4.1.0 + semver: 7.7.4 + transitivePeerDependencies: + - '@swc/core' + - bluebird + - encoding + - esbuild + - supports-color + - uglify-js + - webpack-cli + + '@electron-forge/core-utils@7.11.1': + dependencies: + '@electron-forge/shared-types': 7.11.1 + '@electron/rebuild': 3.7.2 + '@malept/cross-spawn-promise': 2.0.0 + chalk: 4.1.2 + debug: 4.4.3 + find-up: 5.0.0 + fs-extra: 10.1.0 + log-symbols: 4.1.0 + parse-author: 2.0.0 + semver: 7.7.4 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/core@7.11.1(encoding@0.1.13)': + dependencies: + '@electron-forge/core-utils': 7.11.1 + '@electron-forge/maker-base': 7.11.1 + '@electron-forge/plugin-base': 7.11.1 + '@electron-forge/publisher-base': 7.11.1 + '@electron-forge/shared-types': 7.11.1 + '@electron-forge/template-base': 7.11.1 + '@electron-forge/template-vite': 7.11.1 + '@electron-forge/template-vite-typescript': 7.11.1 + '@electron-forge/template-webpack': 7.11.1 + '@electron-forge/template-webpack-typescript': 7.11.1 + '@electron-forge/tracer': 7.11.1 + '@electron/get': 3.1.0 + '@electron/packager': 18.4.4 + '@electron/rebuild': 3.7.2 + '@malept/cross-spawn-promise': 2.0.0 + '@vscode/sudo-prompt': 9.3.2 + chalk: 4.1.2 + debug: 4.4.3 + fast-glob: 3.3.3 + filenamify: 4.3.0 + find-up: 5.0.0 + fs-extra: 10.1.0 + global-dirs: 3.0.1 + got: 11.8.6 + interpret: 3.1.1 + jiti: 2.7.0 + listr2: 7.0.2 + lodash: 4.18.1 + log-symbols: 4.1.0 + node-fetch: 2.7.0(encoding@0.1.13) + rechoir: 0.8.0 + semver: 7.7.4 + source-map-support: 0.5.21 + username: 5.1.0 + transitivePeerDependencies: + - '@swc/core' + - bluebird + - encoding + - esbuild + - supports-color + - uglify-js + - webpack-cli + + '@electron-forge/maker-base@7.11.1': + dependencies: + '@electron-forge/shared-types': 7.11.1 + fs-extra: 10.1.0 + which: 2.0.2 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/maker-deb@7.11.1': + dependencies: + '@electron-forge/maker-base': 7.11.1 + '@electron-forge/shared-types': 7.11.1 + optionalDependencies: + electron-installer-debian: 3.2.0 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/maker-dmg@7.11.1': + dependencies: + '@electron-forge/maker-base': 7.11.1 + '@electron-forge/shared-types': 7.11.1 + fs-extra: 10.1.0 + optionalDependencies: + electron-installer-dmg: 5.0.1 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/maker-rpm@7.11.1': + dependencies: + '@electron-forge/maker-base': 7.11.1 + '@electron-forge/shared-types': 7.11.1 + optionalDependencies: + electron-installer-redhat: 3.4.0 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/maker-squirrel@7.11.1': + dependencies: + '@electron-forge/maker-base': 7.11.1 + '@electron-forge/shared-types': 7.11.1 + fs-extra: 10.1.0 + optionalDependencies: + electron-winstaller: 5.4.0 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/maker-zip@7.11.1': + dependencies: + '@electron-forge/maker-base': 7.11.1 + '@electron-forge/shared-types': 7.11.1 + cross-zip: 4.0.1 + fs-extra: 10.1.0 + got: 11.8.6 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/plugin-auto-unpack-natives@7.11.1': + dependencies: + '@electron-forge/plugin-base': 7.11.1 + '@electron-forge/shared-types': 7.11.1 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/plugin-base@7.11.1': + dependencies: + '@electron-forge/shared-types': 7.11.1 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/plugin-fuses@7.11.1(@electron/fuses@1.8.0)': + dependencies: + '@electron-forge/plugin-base': 7.11.1 + '@electron-forge/shared-types': 7.11.1 + '@electron/fuses': 1.8.0 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/publisher-base@7.11.1': + dependencies: + '@electron-forge/shared-types': 7.11.1 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/shared-types@7.11.1': + dependencies: + '@electron-forge/tracer': 7.11.1 + '@electron/packager': 18.4.4 + '@electron/rebuild': 3.7.2 + listr2: 7.0.2 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/template-base@7.11.1': + dependencies: + '@electron-forge/core-utils': 7.11.1 + '@electron-forge/shared-types': 7.11.1 + '@malept/cross-spawn-promise': 2.0.0 + debug: 4.4.3 + fs-extra: 10.1.0 + semver: 7.7.4 + username: 5.1.0 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/template-vite-typescript@7.11.1': + dependencies: + '@electron-forge/shared-types': 7.11.1 + '@electron-forge/template-base': 7.11.1 + fs-extra: 10.1.0 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/template-vite@7.11.1': + dependencies: + '@electron-forge/shared-types': 7.11.1 + '@electron-forge/template-base': 7.11.1 + fs-extra: 10.1.0 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/template-webpack-typescript@7.11.1': + dependencies: + '@electron-forge/shared-types': 7.11.1 + '@electron-forge/template-base': 7.11.1 + fs-extra: 10.1.0 + typescript: 5.4.5 + webpack: 5.106.2 + transitivePeerDependencies: + - '@swc/core' + - bluebird + - esbuild + - supports-color + - uglify-js + - webpack-cli + + '@electron-forge/template-webpack@7.11.1': + dependencies: + '@electron-forge/shared-types': 7.11.1 + '@electron-forge/template-base': 7.11.1 + fs-extra: 10.1.0 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron-forge/tracer@7.11.1': + dependencies: + chrome-trace-event: 1.0.4 + + '@electron/asar@3.4.1': + dependencies: + commander: 5.1.0 + glob: 7.2.3 + minimatch: 3.1.5 + + '@electron/asar@4.2.0': + dependencies: + commander: 13.1.0 + glob: 13.0.6 + minimatch: 10.2.5 + + '@electron/fuses@1.8.0': + dependencies: + chalk: 4.1.2 + fs-extra: 9.1.0 + minimist: 1.2.8 + + '@electron/get@3.1.0': + dependencies: + debug: 4.4.3 + env-paths: 2.2.1 + fs-extra: 8.1.0 + got: 11.8.6 + progress: 2.0.3 + semver: 6.3.1 + sumchecker: 3.0.1 + optionalDependencies: + global-agent: 3.0.0 + transitivePeerDependencies: + - supports-color + + '@electron/get@5.0.0': + dependencies: + debug: 4.4.3 + env-paths: 3.0.0 + graceful-fs: 4.2.11 + progress: 2.0.3 + semver: 7.7.4 + sumchecker: 3.0.1 + optionalDependencies: + undici: 7.25.0 + transitivePeerDependencies: + - supports-color + + '@electron/node-gyp@https://codeload.github.com/electron/node-gyp/tar.gz/06b29aafb7708acef8b3669835c8a7857ebc92d2': + dependencies: + env-paths: 2.2.1 + exponential-backoff: 3.1.3 + glob: 8.1.0 + graceful-fs: 4.2.11 + make-fetch-happen: 10.2.1 + nopt: 6.0.0 + proc-log: 2.0.1 + semver: 7.7.4 + tar: 6.2.1 + which: 2.0.2 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron/notarize@2.5.0': + dependencies: + debug: 4.4.3 + fs-extra: 9.1.0 + promise-retry: 2.0.1 + transitivePeerDependencies: + - supports-color + + '@electron/osx-sign@1.3.3': + dependencies: + compare-version: 0.1.2 + debug: 4.4.3 + fs-extra: 10.1.0 + isbinaryfile: 4.0.10 + minimist: 1.2.8 + plist: 3.1.1 + transitivePeerDependencies: + - supports-color + + '@electron/packager@18.4.4': + dependencies: + '@electron/asar': 3.4.1 + '@electron/get': 3.1.0 + '@electron/notarize': 2.5.0 + '@electron/osx-sign': 1.3.3 + '@electron/universal': 2.0.3 + '@electron/windows-sign': 1.2.2 + '@malept/cross-spawn-promise': 2.0.0 + debug: 4.4.3 + extract-zip: 2.0.1 + filenamify: 4.3.0 + fs-extra: 11.3.5 + galactus: 1.0.0 + get-package-info: 1.0.0 + junk: 3.1.0 + parse-author: 2.0.0 + plist: 3.1.1 + prettier: 3.8.3 + resedit: 2.0.3 + resolve: 1.22.12 + semver: 7.7.4 + yargs-parser: 21.1.1 + transitivePeerDependencies: + - supports-color + + '@electron/rebuild@3.7.2': + dependencies: + '@electron/node-gyp': https://codeload.github.com/electron/node-gyp/tar.gz/06b29aafb7708acef8b3669835c8a7857ebc92d2 + '@malept/cross-spawn-promise': 2.0.0 + chalk: 4.1.2 + debug: 4.4.3 + detect-libc: 2.1.2 + fs-extra: 10.1.0 + got: 11.8.6 + node-abi: 3.92.0 + node-api-version: 0.2.1 + ora: 5.4.1 + read-binary-file-arch: 1.0.6 + semver: 7.7.4 + tar: 6.2.1 + yargs: 17.7.2 + transitivePeerDependencies: + - bluebird + - supports-color + + '@electron/universal@2.0.3': + dependencies: + '@electron/asar': 3.4.1 + '@malept/cross-spawn-promise': 2.0.0 + debug: 4.4.3 + dir-compare: 4.2.0 + fs-extra: 11.3.5 + minimatch: 9.0.9 + plist: 3.1.1 + transitivePeerDependencies: + - supports-color + + '@electron/windows-sign@1.2.2': + dependencies: + cross-dirname: 0.1.0 + debug: 4.4.3 + fs-extra: 11.3.5 + minimist: 1.2.8 + postject: 1.0.0-alpha.6 + transitivePeerDependencies: + - supports-color + + '@fastify/otel@0.18.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.212.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + minimatch: 10.2.5 + transitivePeerDependencies: + - supports-color + + '@gar/promisify@1.1.3': {} + + '@inquirer/checkbox@3.0.1': + dependencies: + '@inquirer/core': 9.2.1 + '@inquirer/figures': 1.0.15 + '@inquirer/type': 2.0.0 + ansi-escapes: 4.3.2 + yoctocolors-cjs: 2.1.3 + + '@inquirer/confirm@4.0.1': + dependencies: + '@inquirer/core': 9.2.1 + '@inquirer/type': 2.0.0 + + '@inquirer/core@9.2.1': + dependencies: + '@inquirer/figures': 1.0.15 + '@inquirer/type': 2.0.0 + '@types/mute-stream': 0.0.4 + '@types/node': 22.19.17 + '@types/wrap-ansi': 3.0.0 + ansi-escapes: 4.3.2 + cli-width: 4.1.0 + mute-stream: 1.0.0 + signal-exit: 4.1.0 + strip-ansi: 6.0.1 + wrap-ansi: 6.2.0 + yoctocolors-cjs: 2.1.3 + + '@inquirer/editor@3.0.1': + dependencies: + '@inquirer/core': 9.2.1 + '@inquirer/type': 2.0.0 + external-editor: 3.1.0 + + '@inquirer/expand@3.0.1': + dependencies: + '@inquirer/core': 9.2.1 + '@inquirer/type': 2.0.0 + yoctocolors-cjs: 2.1.3 + + '@inquirer/figures@1.0.15': {} + + '@inquirer/input@3.0.1': + dependencies: + '@inquirer/core': 9.2.1 + '@inquirer/type': 2.0.0 + + '@inquirer/number@2.0.1': + dependencies: + '@inquirer/core': 9.2.1 + '@inquirer/type': 2.0.0 + + '@inquirer/password@3.0.1': + dependencies: + '@inquirer/core': 9.2.1 + '@inquirer/type': 2.0.0 + ansi-escapes: 4.3.2 + + '@inquirer/prompts@6.0.1': + dependencies: + '@inquirer/checkbox': 3.0.1 + '@inquirer/confirm': 4.0.1 + '@inquirer/editor': 3.0.1 + '@inquirer/expand': 3.0.1 + '@inquirer/input': 3.0.1 + '@inquirer/number': 2.0.1 + '@inquirer/password': 3.0.1 + '@inquirer/rawlist': 3.0.1 + '@inquirer/search': 2.0.1 + '@inquirer/select': 3.0.1 + + '@inquirer/rawlist@3.0.1': + dependencies: + '@inquirer/core': 9.2.1 + '@inquirer/type': 2.0.0 + yoctocolors-cjs: 2.1.3 + + '@inquirer/search@2.0.1': + dependencies: + '@inquirer/core': 9.2.1 + '@inquirer/figures': 1.0.15 + '@inquirer/type': 2.0.0 + yoctocolors-cjs: 2.1.3 + + '@inquirer/select@3.0.1': + dependencies: + '@inquirer/core': 9.2.1 + '@inquirer/figures': 1.0.15 + '@inquirer/type': 2.0.0 + ansi-escapes: 4.3.2 + yoctocolors-cjs: 2.1.3 + + '@inquirer/type@1.5.5': + dependencies: + mute-stream: 1.0.0 + + '@inquirer/type@2.0.0': + dependencies: + mute-stream: 1.0.0 + + '@jridgewell/gen-mapping@0.3.13': + dependencies: + '@jridgewell/sourcemap-codec': 1.5.5 + '@jridgewell/trace-mapping': 0.3.31 + + '@jridgewell/resolve-uri@3.1.2': {} + + '@jridgewell/source-map@0.3.11': + dependencies: + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.31 + + '@jridgewell/sourcemap-codec@1.5.5': {} + + '@jridgewell/trace-mapping@0.3.31': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.5.5 + + '@listr2/prompt-adapter-inquirer@2.0.22(@inquirer/prompts@6.0.1)': + dependencies: + '@inquirer/prompts': 6.0.1 + '@inquirer/type': 1.5.5 + + '@malept/cross-spawn-promise@1.1.1': + dependencies: + cross-spawn: 7.0.6 + optional: true + + '@malept/cross-spawn-promise@2.0.0': + dependencies: + cross-spawn: 7.0.6 + + '@nodable/entities@2.1.0': {} + + '@nodelib/fs.scandir@2.1.5': + dependencies: + '@nodelib/fs.stat': 2.0.5 + run-parallel: 1.2.0 + + '@nodelib/fs.stat@2.0.5': {} + + '@nodelib/fs.walk@1.2.8': + dependencies: + '@nodelib/fs.scandir': 2.1.5 + fastq: 1.20.1 + + '@npmcli/fs@2.1.2': + dependencies: + '@gar/promisify': 1.1.3 + semver: 7.7.4 + + '@npmcli/move-file@2.0.1': + dependencies: + mkdirp: 1.0.4 + rimraf: 3.0.2 + + '@opentelemetry/api-logs@0.207.0': + dependencies: + '@opentelemetry/api': 1.9.1 + + '@opentelemetry/api-logs@0.208.0': + dependencies: + '@opentelemetry/api': 1.9.1 + + '@opentelemetry/api-logs@0.212.0': + dependencies: + '@opentelemetry/api': 1.9.1 + + '@opentelemetry/api-logs@0.214.0': + dependencies: + '@opentelemetry/api': 1.9.1 + + '@opentelemetry/api@1.9.1': {} + + '@opentelemetry/context-async-hooks@2.7.1(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + + '@opentelemetry/core@2.2.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/semantic-conventions': 1.40.0 + + '@opentelemetry/core@2.6.1(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/semantic-conventions': 1.40.0 + + '@opentelemetry/core@2.7.1(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/semantic-conventions': 1.40.0 + + '@opentelemetry/instrumentation-amqplib@0.55.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-amqplib@0.61.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-connect@0.52.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + '@types/connect': 3.4.38 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-connect@0.57.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + '@types/connect': 3.4.38 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-dataloader@0.26.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-dataloader@0.31.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-express@0.57.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-fs@0.28.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-fs@0.33.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-generic-pool@0.52.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-generic-pool@0.57.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-graphql@0.56.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-graphql@0.62.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-hapi@0.55.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-hapi@0.60.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-http@0.208.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.2.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + forwarded-parse: 2.1.2 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-http@0.214.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.6.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + forwarded-parse: 2.1.2 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-ioredis@0.56.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + '@opentelemetry/redis-common': 0.38.3 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-ioredis@0.62.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/redis-common': 0.38.3 + '@opentelemetry/semantic-conventions': 1.40.0 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-kafkajs@0.18.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-kafkajs@0.23.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-knex@0.53.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-knex@0.58.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-koa@0.57.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-koa@0.62.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-lru-memoizer@0.53.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-lru-memoizer@0.58.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-mongodb@0.61.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-mongodb@0.67.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-mongoose@0.55.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-mongoose@0.60.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-mysql2@0.55.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + '@opentelemetry/sql-common': 0.41.2(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-mysql2@0.60.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + '@opentelemetry/sql-common': 0.41.2(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-mysql@0.54.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + '@types/mysql': 2.15.27 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-mysql@0.60.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + '@types/mysql': 2.15.27 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-pg@0.61.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + '@opentelemetry/sql-common': 0.41.2(@opentelemetry/api@1.9.1) + '@types/pg': 8.15.6 + '@types/pg-pool': 2.0.6 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-pg@0.66.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + '@opentelemetry/sql-common': 0.41.2(@opentelemetry/api@1.9.1) + '@types/pg': 8.15.6 + '@types/pg-pool': 2.0.7 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-redis@0.57.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + '@opentelemetry/redis-common': 0.38.3 + '@opentelemetry/semantic-conventions': 1.40.0 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-redis@0.62.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/redis-common': 0.38.3 + '@opentelemetry/semantic-conventions': 1.40.0 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-tedious@0.27.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + '@types/tedious': 4.0.14 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-tedious@0.33.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + '@types/tedious': 4.0.14 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation-undici@0.19.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation@0.207.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/api-logs': 0.207.0 + import-in-the-middle: 2.0.6 + require-in-the-middle: 8.0.1 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation@0.208.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/api-logs': 0.208.0 + import-in-the-middle: 2.0.6 + require-in-the-middle: 8.0.1 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation@0.212.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/api-logs': 0.212.0 + import-in-the-middle: 2.0.6 + require-in-the-middle: 8.0.1 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/instrumentation@0.214.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/api-logs': 0.214.0 + import-in-the-middle: 3.0.1 + require-in-the-middle: 8.0.1 + transitivePeerDependencies: + - supports-color + + '@opentelemetry/redis-common@0.38.3': {} + + '@opentelemetry/resources@2.7.1(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + + '@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/resources': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + + '@opentelemetry/semantic-conventions@1.40.0': {} + + '@opentelemetry/sql-common@0.41.2(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + + '@prisma/instrumentation@6.19.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@prisma/instrumentation@7.6.0(@opentelemetry/api@1.9.1)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/instrumentation': 0.207.0(@opentelemetry/api@1.9.1) + transitivePeerDependencies: + - supports-color + + '@sentry-internal/browser-utils@10.50.0': + dependencies: + '@sentry/core': 10.50.0 + + '@sentry-internal/feedback@10.50.0': + dependencies: + '@sentry/core': 10.50.0 + + '@sentry-internal/replay-canvas@10.50.0': + dependencies: + '@sentry-internal/replay': 10.50.0 + '@sentry/core': 10.50.0 + + '@sentry-internal/replay@10.50.0': + dependencies: + '@sentry-internal/browser-utils': 10.50.0 + '@sentry/core': 10.50.0 + + '@sentry/browser@10.50.0': + dependencies: + '@sentry-internal/browser-utils': 10.50.0 + '@sentry-internal/feedback': 10.50.0 + '@sentry-internal/replay': 10.50.0 + '@sentry-internal/replay-canvas': 10.50.0 + '@sentry/core': 10.50.0 + + '@sentry/core@10.29.0': {} + + '@sentry/core@10.50.0': {} + + '@sentry/electron@7.13.0': + dependencies: + '@sentry/browser': 10.50.0 + '@sentry/core': 10.50.0 + '@sentry/node': 10.50.0 + transitivePeerDependencies: + - '@opentelemetry/exporter-trace-otlp-http' + - supports-color + + '@sentry/node-core@10.29.0(@opentelemetry/api@1.9.1)(@opentelemetry/context-async-hooks@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/core@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/instrumentation@0.208.0(@opentelemetry/api@1.9.1))(@opentelemetry/resources@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/semantic-conventions@1.40.0)': + dependencies: + '@apm-js-collab/tracing-hooks': 0.3.1 + '@opentelemetry/api': 1.9.1 + '@opentelemetry/context-async-hooks': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + '@opentelemetry/resources': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/sdk-trace-base': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + '@sentry/core': 10.29.0 + '@sentry/opentelemetry': 10.29.0(@opentelemetry/api@1.9.1)(@opentelemetry/context-async-hooks@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/core@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/semantic-conventions@1.40.0) + import-in-the-middle: 2.0.6 + transitivePeerDependencies: + - supports-color + + '@sentry/node-core@10.50.0(@opentelemetry/api@1.9.1)(@opentelemetry/core@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/instrumentation@0.214.0(@opentelemetry/api@1.9.1))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/semantic-conventions@1.40.0)': + dependencies: + '@sentry/core': 10.50.0 + '@sentry/opentelemetry': 10.50.0(@opentelemetry/api@1.9.1)(@opentelemetry/core@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/semantic-conventions@1.40.0) + import-in-the-middle: 3.0.1 + optionalDependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/sdk-trace-base': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + + '@sentry/node@10.29.0': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/context-async-hooks': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.208.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-amqplib': 0.55.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-connect': 0.52.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-dataloader': 0.26.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-express': 0.57.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-fs': 0.28.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-generic-pool': 0.52.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-graphql': 0.56.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-hapi': 0.55.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-http': 0.208.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-ioredis': 0.56.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-kafkajs': 0.18.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-knex': 0.53.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-koa': 0.57.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-lru-memoizer': 0.53.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-mongodb': 0.61.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-mongoose': 0.55.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-mysql': 0.54.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-mysql2': 0.55.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-pg': 0.61.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-redis': 0.57.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-tedious': 0.27.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-undici': 0.19.0(@opentelemetry/api@1.9.1) + '@opentelemetry/resources': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/sdk-trace-base': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + '@prisma/instrumentation': 6.19.0(@opentelemetry/api@1.9.1) + '@sentry/core': 10.29.0 + '@sentry/node-core': 10.29.0(@opentelemetry/api@1.9.1)(@opentelemetry/context-async-hooks@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/core@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/instrumentation@0.208.0(@opentelemetry/api@1.9.1))(@opentelemetry/resources@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/semantic-conventions@1.40.0) + '@sentry/opentelemetry': 10.29.0(@opentelemetry/api@1.9.1)(@opentelemetry/context-async-hooks@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/core@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/semantic-conventions@1.40.0) + import-in-the-middle: 2.0.6 + minimatch: 9.0.9 + transitivePeerDependencies: + - supports-color + + '@sentry/node@10.50.0': + dependencies: + '@fastify/otel': 0.18.0(@opentelemetry/api@1.9.1) + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-amqplib': 0.61.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-connect': 0.57.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-dataloader': 0.31.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-fs': 0.33.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-generic-pool': 0.57.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-graphql': 0.62.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-hapi': 0.60.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-http': 0.214.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-ioredis': 0.62.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-kafkajs': 0.23.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-knex': 0.58.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-koa': 0.62.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-lru-memoizer': 0.58.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-mongodb': 0.67.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-mongoose': 0.60.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-mysql': 0.60.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-mysql2': 0.60.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-pg': 0.66.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-redis': 0.62.0(@opentelemetry/api@1.9.1) + '@opentelemetry/instrumentation-tedious': 0.33.0(@opentelemetry/api@1.9.1) + '@opentelemetry/sdk-trace-base': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + '@prisma/instrumentation': 7.6.0(@opentelemetry/api@1.9.1) + '@sentry/core': 10.50.0 + '@sentry/node-core': 10.50.0(@opentelemetry/api@1.9.1)(@opentelemetry/core@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/instrumentation@0.214.0(@opentelemetry/api@1.9.1))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/semantic-conventions@1.40.0) + '@sentry/opentelemetry': 10.50.0(@opentelemetry/api@1.9.1)(@opentelemetry/core@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/semantic-conventions@1.40.0) + import-in-the-middle: 3.0.1 + transitivePeerDependencies: + - '@opentelemetry/exporter-trace-otlp-http' + - supports-color + + '@sentry/opentelemetry@10.29.0(@opentelemetry/api@1.9.1)(@opentelemetry/context-async-hooks@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/core@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/semantic-conventions@1.40.0)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/context-async-hooks': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/sdk-trace-base': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + '@sentry/core': 10.29.0 + + '@sentry/opentelemetry@10.50.0(@opentelemetry/api@1.9.1)(@opentelemetry/core@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/sdk-trace-base@2.7.1(@opentelemetry/api@1.9.1))(@opentelemetry/semantic-conventions@1.40.0)': + dependencies: + '@opentelemetry/api': 1.9.1 + '@opentelemetry/core': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/sdk-trace-base': 2.7.1(@opentelemetry/api@1.9.1) + '@opentelemetry/semantic-conventions': 1.40.0 + '@sentry/core': 10.50.0 + + '@sindresorhus/is@4.6.0': {} + + '@szmarczak/http-timer@4.0.6': + dependencies: + defer-to-connect: 2.0.1 + + '@tootallnate/once@2.0.1': {} + + '@types/appdmg@0.5.5': + dependencies: + '@types/node': 24.12.2 + optional: true + + '@types/cacheable-request@6.0.3': + dependencies: + '@types/http-cache-semantics': 4.2.0 + '@types/keyv': 3.1.4 + '@types/node': 24.12.2 + '@types/responselike': 1.0.3 + + '@types/connect@3.4.38': + dependencies: + '@types/node': 24.12.2 + + '@types/eslint-scope@3.7.7': + dependencies: + '@types/eslint': 9.6.1 + '@types/estree': 1.0.9 + + '@types/eslint@9.6.1': + dependencies: + '@types/estree': 1.0.9 + '@types/json-schema': 7.0.15 + + '@types/estree@1.0.9': {} + + '@types/fs-extra@9.0.13': + dependencies: + '@types/node': 24.12.2 + optional: true + + '@types/http-cache-semantics@4.2.0': {} + + '@types/json-schema@7.0.15': {} + + '@types/keyv@3.1.4': + dependencies: + '@types/node': 24.12.2 + + '@types/mute-stream@0.0.4': + dependencies: + '@types/node': 24.12.2 + + '@types/mysql@2.15.27': + dependencies: + '@types/node': 24.12.2 + + '@types/node@22.19.17': + dependencies: + undici-types: 6.21.0 + + '@types/node@24.12.2': + dependencies: + undici-types: 7.16.0 + + '@types/pg-pool@2.0.6': + dependencies: + '@types/pg': 8.15.6 + + '@types/pg-pool@2.0.7': + dependencies: + '@types/pg': 8.15.6 + + '@types/pg@8.15.6': + dependencies: + '@types/node': 24.12.2 + pg-protocol: 1.13.0 + pg-types: 2.2.0 + + '@types/responselike@1.0.3': + dependencies: + '@types/node': 24.12.2 + + '@types/tedious@4.0.14': + dependencies: + '@types/node': 24.12.2 + + '@types/wrap-ansi@3.0.0': {} + + '@types/yauzl@2.10.3': + dependencies: + '@types/node': 24.12.2 + optional: true + + '@vscode/sudo-prompt@9.3.2': {} + + '@webassemblyjs/ast@1.14.1': + dependencies: + '@webassemblyjs/helper-numbers': 1.13.2 + '@webassemblyjs/helper-wasm-bytecode': 1.13.2 + + '@webassemblyjs/floating-point-hex-parser@1.13.2': {} + + '@webassemblyjs/helper-api-error@1.13.2': {} + + '@webassemblyjs/helper-buffer@1.14.1': {} + + '@webassemblyjs/helper-numbers@1.13.2': + dependencies: + '@webassemblyjs/floating-point-hex-parser': 1.13.2 + '@webassemblyjs/helper-api-error': 1.13.2 + '@xtuc/long': 4.2.2 + + '@webassemblyjs/helper-wasm-bytecode@1.13.2': {} + + '@webassemblyjs/helper-wasm-section@1.14.1': + dependencies: + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/helper-buffer': 1.14.1 + '@webassemblyjs/helper-wasm-bytecode': 1.13.2 + '@webassemblyjs/wasm-gen': 1.14.1 + + '@webassemblyjs/ieee754@1.13.2': + dependencies: + '@xtuc/ieee754': 1.2.0 + + '@webassemblyjs/leb128@1.13.2': + dependencies: + '@xtuc/long': 4.2.2 + + '@webassemblyjs/utf8@1.13.2': {} + + '@webassemblyjs/wasm-edit@1.14.1': + dependencies: + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/helper-buffer': 1.14.1 + '@webassemblyjs/helper-wasm-bytecode': 1.13.2 + '@webassemblyjs/helper-wasm-section': 1.14.1 + '@webassemblyjs/wasm-gen': 1.14.1 + '@webassemblyjs/wasm-opt': 1.14.1 + '@webassemblyjs/wasm-parser': 1.14.1 + '@webassemblyjs/wast-printer': 1.14.1 + + '@webassemblyjs/wasm-gen@1.14.1': + dependencies: + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/helper-wasm-bytecode': 1.13.2 + '@webassemblyjs/ieee754': 1.13.2 + '@webassemblyjs/leb128': 1.13.2 + '@webassemblyjs/utf8': 1.13.2 + + '@webassemblyjs/wasm-opt@1.14.1': + dependencies: + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/helper-buffer': 1.14.1 + '@webassemblyjs/wasm-gen': 1.14.1 + '@webassemblyjs/wasm-parser': 1.14.1 + + '@webassemblyjs/wasm-parser@1.14.1': + dependencies: + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/helper-api-error': 1.13.2 + '@webassemblyjs/helper-wasm-bytecode': 1.13.2 + '@webassemblyjs/ieee754': 1.13.2 + '@webassemblyjs/leb128': 1.13.2 + '@webassemblyjs/utf8': 1.13.2 + + '@webassemblyjs/wast-printer@1.14.1': + dependencies: + '@webassemblyjs/ast': 1.14.1 + '@xtuc/long': 4.2.2 + + '@xmldom/xmldom@0.9.10': {} + + '@xtuc/ieee754@1.2.0': {} + + '@xtuc/long@4.2.2': {} + + abbrev@1.1.1: {} + + acorn-import-attributes@1.9.5(acorn@8.16.0): + dependencies: + acorn: 8.16.0 + + acorn-import-phases@1.0.4(acorn@8.16.0): + dependencies: + acorn: 8.16.0 + + acorn@8.16.0: {} + + agent-base@6.0.2: + dependencies: + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + + agentkeepalive@4.6.0: + dependencies: + humanize-ms: 1.2.1 + + aggregate-error@3.1.0: + dependencies: + clean-stack: 2.2.0 + indent-string: 4.0.0 + + ajv-formats@2.1.1(ajv@8.20.0): + optionalDependencies: + ajv: 8.20.0 + + ajv-keywords@5.1.0(ajv@8.20.0): + dependencies: + ajv: 8.20.0 + fast-deep-equal: 3.1.3 + + ajv@8.20.0: + dependencies: + fast-deep-equal: 3.1.3 + fast-uri: 3.1.2 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + + ansi-escapes@4.3.2: + dependencies: + type-fest: 0.21.3 + + ansi-escapes@5.0.0: + dependencies: + type-fest: 1.4.0 + + ansi-regex@5.0.1: {} + + ansi-regex@6.2.2: {} + + ansi-styles@4.3.0: + dependencies: + color-convert: 2.0.1 + + ansi-styles@6.2.3: {} + + appdmg@0.6.6: + dependencies: + async: 1.5.2 + ds-store: 0.1.6 + execa: 1.0.0 + fs-temp: 1.2.1 + fs-xattr: 0.3.1 + image-size: 0.7.5 + is-my-json-valid: 2.20.6 + minimist: 1.2.8 + parse-color: 1.0.0 + path-exists: 4.0.0 + repeat-string: 1.6.1 + optional: true + + async@1.5.2: + optional: true + + at-least-node@1.0.0: {} + + author-regex@1.0.0: {} + + balanced-match@1.0.2: {} + + balanced-match@4.0.4: {} + + base32-encode@1.2.0: + dependencies: + to-data-view: 1.1.0 + optional: true + + base64-js@1.5.1: {} + + baseline-browser-mapping@2.10.27: {} + + better-sqlite3@12.11.1: + dependencies: + bindings: 1.5.0 + prebuild-install: 7.1.3 + + bindings@1.5.0: + dependencies: + file-uri-to-path: 1.0.0 + + bl@4.1.0: + dependencies: + buffer: 5.7.1 + inherits: 2.0.4 + readable-stream: 3.6.2 + + bluebird@3.7.2: {} + + boolean@3.2.0: + optional: true + + bplist-creator@0.0.8: + dependencies: + stream-buffers: 2.2.0 + optional: true + + brace-expansion@1.1.14: + dependencies: + balanced-match: 1.0.2 + concat-map: 0.0.1 + + brace-expansion@2.1.0: + dependencies: + balanced-match: 1.0.2 + + brace-expansion@5.0.5: + dependencies: + balanced-match: 4.0.4 + + braces@3.0.3: + dependencies: + fill-range: 7.1.1 + + browserslist@4.28.2: + dependencies: + baseline-browser-mapping: 2.10.27 + caniuse-lite: 1.0.30001792 + electron-to-chromium: 1.5.352 + node-releases: 2.0.38 + update-browserslist-db: 1.2.3(browserslist@4.28.2) + + buffer-crc32@0.2.13: {} + + buffer-from@1.1.2: {} + + buffer@5.7.1: + dependencies: + base64-js: 1.5.1 + ieee754: 1.2.1 + + cacache@16.1.3: + dependencies: + '@npmcli/fs': 2.1.2 + '@npmcli/move-file': 2.0.1 + chownr: 2.0.0 + fs-minipass: 2.1.0 + glob: 8.1.0 + infer-owner: 1.0.4 + lru-cache: 7.18.3 + minipass: 3.3.6 + minipass-collect: 1.0.2 + minipass-flush: 1.0.7 + minipass-pipeline: 1.2.4 + mkdirp: 1.0.4 + p-map: 4.0.0 + promise-inflight: 1.0.1 + rimraf: 3.0.2 + ssri: 9.0.1 + tar: 6.2.1 + unique-filename: 2.0.1 + transitivePeerDependencies: + - bluebird + + cacheable-lookup@5.0.4: {} + + cacheable-request@7.0.4: + dependencies: + clone-response: 1.0.3 + get-stream: 5.2.0 + http-cache-semantics: 4.2.0 + keyv: 4.5.4 + lowercase-keys: 2.0.0 + normalize-url: 6.1.0 + responselike: 2.0.1 + + caniuse-lite@1.0.30001792: {} + + chalk@4.1.2: + dependencies: + ansi-styles: 4.3.0 + supports-color: 7.2.0 + + chardet@0.7.0: {} + + chownr@1.1.4: {} + + chownr@2.0.0: {} + + chrome-trace-event@1.0.4: {} + + cjs-module-lexer@2.2.0: {} + + clean-stack@2.2.0: {} + + cli-cursor@3.1.0: + dependencies: + restore-cursor: 3.1.0 + + cli-cursor@4.0.0: + dependencies: + restore-cursor: 4.0.0 + + cli-spinners@2.9.2: {} + + cli-truncate@3.1.0: + dependencies: + slice-ansi: 5.0.0 + string-width: 5.1.2 + + cli-truncate@4.0.0: + dependencies: + slice-ansi: 5.0.0 + string-width: 7.2.0 + + cli-width@4.1.0: {} + + cliui@7.0.4: + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + optional: true + + cliui@8.0.1: + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + + clone-response@1.0.3: + dependencies: + mimic-response: 1.0.1 + + clone@1.0.4: {} + + color-convert@0.5.3: + optional: true + + color-convert@2.0.1: + dependencies: + color-name: 1.1.4 + + color-name@1.1.4: {} + + colorette@2.0.20: {} + + commander@11.1.0: {} + + commander@13.1.0: {} + + commander@2.20.3: {} + + commander@5.1.0: {} + + commander@9.5.0: {} + + compare-version@0.1.2: {} + + concat-map@0.0.1: {} + + cross-dirname@0.1.0: {} + + cross-spawn@6.0.6: + dependencies: + nice-try: 1.0.5 + path-key: 2.0.1 + semver: 5.7.2 + shebang-command: 1.2.0 + which: 1.3.1 + + cross-spawn@7.0.6: + dependencies: + path-key: 3.1.1 + shebang-command: 2.0.0 + which: 2.0.2 + + cross-zip@4.0.1: {} + + d@1.0.2: + dependencies: + es5-ext: 0.10.64 + type: 2.7.3 + + debug@2.6.9: + dependencies: + ms: 2.0.0 + + debug@4.4.3: + dependencies: + ms: 2.1.3 + + decompress-response@6.0.0: + dependencies: + mimic-response: 3.1.0 + + deep-extend@0.6.0: {} + + default-shell@2.2.0: {} + + defaults@1.0.4: + dependencies: + clone: 1.0.4 + + defer-to-connect@2.0.1: {} + + define-data-property@1.1.4: + dependencies: + es-define-property: 1.0.1 + es-errors: 1.3.0 + gopd: 1.2.0 + optional: true + + define-properties@1.2.1: + dependencies: + define-data-property: 1.1.4 + has-property-descriptors: 1.0.2 + object-keys: 1.1.1 + optional: true + + detect-libc@2.1.2: {} + + detect-node@2.1.0: + optional: true + + dir-compare@4.2.0: + dependencies: + minimatch: 3.1.5 + p-limit: 3.1.0 + + ds-store@0.1.6: + dependencies: + bplist-creator: 0.0.8 + macos-alias: 0.2.12 + tn1150: 0.1.0 + optional: true + + eastasianwidth@0.2.0: {} + + electron-context-menu@4.1.2: + dependencies: + cli-truncate: 4.0.0 + electron-dl: 4.0.0 + electron-is-dev: 3.0.1 + + electron-dl@4.0.0: + dependencies: + ext-name: 5.0.0 + pupa: 3.3.0 + unused-filename: 4.0.1 + + electron-installer-common@0.10.4: + dependencies: + '@electron/asar': 3.4.1 + '@malept/cross-spawn-promise': 1.1.1 + debug: 4.4.3 + fs-extra: 9.1.0 + glob: 7.2.3 + lodash: 4.18.1 + parse-author: 2.0.0 + semver: 7.7.4 + tmp-promise: 3.0.3 + optionalDependencies: + '@types/fs-extra': 9.0.13 + transitivePeerDependencies: + - supports-color + optional: true + + electron-installer-debian@3.2.0: + dependencies: + '@malept/cross-spawn-promise': 1.1.1 + debug: 4.4.3 + electron-installer-common: 0.10.4 + fs-extra: 9.1.0 + get-folder-size: 2.0.1 + lodash: 4.18.1 + word-wrap: 1.2.5 + yargs: 16.2.0 + transitivePeerDependencies: + - supports-color + optional: true + + electron-installer-dmg@5.0.1: + dependencies: + '@types/appdmg': 0.5.5 + debug: 4.4.3 + minimist: 1.2.8 + optionalDependencies: + appdmg: 0.6.6 + transitivePeerDependencies: + - supports-color + optional: true + + electron-installer-redhat@3.4.0: + dependencies: + '@malept/cross-spawn-promise': 1.1.1 + debug: 4.4.3 + electron-installer-common: 0.10.4 + fs-extra: 9.1.0 + lodash: 4.18.1 + word-wrap: 1.2.5 + yargs: 16.2.0 + transitivePeerDependencies: + - supports-color + optional: true + + electron-is-dev@3.0.1: {} + + electron-squirrel-startup@1.0.1: + dependencies: + debug: 2.6.9 + transitivePeerDependencies: + - supports-color + + electron-to-chromium@1.5.352: {} + + electron-winstaller@5.4.0: + dependencies: + '@electron/asar': 3.4.1 + debug: 4.4.3 + fs-extra: 7.0.1 + lodash: 4.18.1 + temp: 0.9.4 + optionalDependencies: + '@electron/windows-sign': 1.2.2 + transitivePeerDependencies: + - supports-color + optional: true + + electron@42.0.1: + dependencies: + '@electron/get': 5.0.0 + '@types/node': 24.12.2 + extract-zip: 2.0.1 + transitivePeerDependencies: + - supports-color + + emoji-regex@10.6.0: {} + + emoji-regex@8.0.0: {} + + emoji-regex@9.2.2: {} + + encode-utf8@1.0.3: + optional: true + + encoding@0.1.13: + dependencies: + iconv-lite: 0.6.3 + + end-of-stream@1.4.5: + dependencies: + once: 1.4.0 + + enhanced-resolve@5.21.0: + dependencies: + graceful-fs: 4.2.11 + tapable: 2.3.3 + + env-paths@2.2.1: {} + + env-paths@3.0.0: {} + + err-code@2.0.3: {} + + error-ex@1.3.4: + dependencies: + is-arrayish: 0.2.1 + + es-define-property@1.0.1: + optional: true + + es-errors@1.3.0: {} + + es-module-lexer@2.1.0: {} + + es5-ext@0.10.64: + dependencies: + es6-iterator: 2.0.3 + es6-symbol: 3.1.4 + esniff: 2.0.1 + next-tick: 1.1.0 + + es6-error@4.1.1: + optional: true + + es6-iterator@2.0.3: + dependencies: + d: 1.0.2 + es5-ext: 0.10.64 + es6-symbol: 3.1.4 + + es6-symbol@3.1.4: + dependencies: + d: 1.0.2 + ext: 1.7.0 + + es6-weak-map@2.0.3: + dependencies: + d: 1.0.2 + es5-ext: 0.10.64 + es6-iterator: 2.0.3 + es6-symbol: 3.1.4 + + escalade@3.2.0: {} + + escape-goat@4.0.0: {} + + escape-string-regexp@1.0.5: {} + + escape-string-regexp@4.0.0: + optional: true + + escape-string-regexp@5.0.0: {} + + eslint-scope@5.1.1: + dependencies: + esrecurse: 4.3.0 + estraverse: 4.3.0 + + esniff@2.0.1: + dependencies: + d: 1.0.2 + es5-ext: 0.10.64 + event-emitter: 0.3.5 + type: 2.7.3 + + esrecurse@4.3.0: + dependencies: + estraverse: 5.3.0 + + estraverse@4.3.0: {} + + estraverse@5.3.0: {} + + event-emitter@0.3.5: + dependencies: + d: 1.0.2 + es5-ext: 0.10.64 + + eventemitter3@5.0.4: {} + + events@3.3.0: {} + + execa@1.0.0: + dependencies: + cross-spawn: 6.0.6 + get-stream: 4.1.0 + is-stream: 1.1.0 + npm-run-path: 2.0.2 + p-finally: 1.0.0 + signal-exit: 3.0.7 + strip-eof: 1.0.0 + + execa@5.1.1: + dependencies: + cross-spawn: 7.0.6 + get-stream: 6.0.1 + human-signals: 2.1.0 + is-stream: 2.0.1 + merge-stream: 2.0.0 + npm-run-path: 4.0.1 + onetime: 5.1.2 + signal-exit: 3.0.7 + strip-final-newline: 2.0.0 + + expand-template@2.0.3: {} + + exponential-backoff@3.1.3: {} + + ext-list@2.2.2: + dependencies: + mime-db: 1.54.0 + + ext-name@5.0.0: + dependencies: + ext-list: 2.2.2 + sort-keys-length: 1.0.1 + + ext@1.7.0: + dependencies: + type: 2.7.3 + + external-editor@3.1.0: + dependencies: + chardet: 0.7.0 + iconv-lite: 0.4.24 + tmp: 0.0.33 + + extract-zip@2.0.1: + dependencies: + debug: 4.4.3 + get-stream: 5.2.0 + yauzl: 2.10.0 + optionalDependencies: + '@types/yauzl': 2.10.3 + transitivePeerDependencies: + - supports-color + + fast-deep-equal@3.1.3: {} + + fast-glob@3.3.3: + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.8 + + fast-uri@3.1.2: {} + + fast-xml-builder@1.1.9: + dependencies: + path-expression-matcher: 1.5.0 + + fast-xml-parser@5.7.3: + dependencies: + '@nodable/entities': 2.1.0 + fast-xml-builder: 1.1.9 + path-expression-matcher: 1.5.0 + strnum: 2.3.0 + + fastq@1.20.1: + dependencies: + reusify: 1.1.0 + + fd-slicer@1.1.0: + dependencies: + pend: 1.2.0 + + file-uri-to-path@1.0.0: {} + + filename-reserved-regex@2.0.0: {} + + filenamify@4.3.0: + dependencies: + filename-reserved-regex: 2.0.0 + strip-outer: 1.0.1 + trim-repeated: 1.0.0 + + fill-range@7.1.1: + dependencies: + to-regex-range: 5.0.1 + + find-up@2.1.0: + dependencies: + locate-path: 2.0.0 + + find-up@5.0.0: + dependencies: + locate-path: 6.0.0 + path-exists: 4.0.0 + + flora-colossus@2.0.0: + dependencies: + debug: 4.4.3 + fs-extra: 10.1.0 + transitivePeerDependencies: + - supports-color + + fmix@0.1.0: + dependencies: + imul: 1.0.1 + optional: true + + forwarded-parse@2.1.2: {} + + fs-constants@1.0.0: {} + + fs-extra@10.1.0: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 6.2.1 + universalify: 2.0.1 + + fs-extra@11.3.5: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 6.2.1 + universalify: 2.0.1 + + fs-extra@7.0.1: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 4.0.0 + universalify: 0.1.2 + optional: true + + fs-extra@8.1.0: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 4.0.0 + universalify: 0.1.2 + + fs-extra@9.1.0: + dependencies: + at-least-node: 1.0.0 + graceful-fs: 4.2.11 + jsonfile: 6.2.1 + universalify: 2.0.1 + + fs-minipass@2.1.0: + dependencies: + minipass: 3.3.6 + + fs-temp@1.2.1: + dependencies: + random-path: 0.1.2 + optional: true + + fs-xattr@0.3.1: + optional: true + + fs.realpath@1.0.0: {} + + function-bind@1.1.2: {} + + galactus@1.0.0: + dependencies: + debug: 4.4.3 + flora-colossus: 2.0.0 + fs-extra: 10.1.0 + transitivePeerDependencies: + - supports-color + + gar@1.0.4: + optional: true + + generate-function@2.3.1: + dependencies: + is-property: 1.0.2 + optional: true + + generate-object-property@1.2.0: + dependencies: + is-property: 1.0.2 + optional: true + + get-caller-file@2.0.5: {} + + get-east-asian-width@1.5.0: {} + + get-folder-size@2.0.1: + dependencies: + gar: 1.0.4 + tiny-each-async: 2.0.3 + optional: true + + get-package-info@1.0.0: + dependencies: + bluebird: 3.7.2 + debug: 2.6.9 + lodash.get: 4.4.2 + read-pkg-up: 2.0.0 + transitivePeerDependencies: + - supports-color + + get-stream@4.1.0: + dependencies: + pump: 3.0.4 + + get-stream@5.2.0: + dependencies: + pump: 3.0.4 + + get-stream@6.0.1: {} + + github-from-package@0.0.0: {} + + glob-parent@5.1.2: + dependencies: + is-glob: 4.0.3 + + glob-to-regexp@0.4.1: {} + + glob@13.0.6: + dependencies: + minimatch: 10.2.5 + minipass: 7.1.3 + path-scurry: 2.0.2 + + glob@7.2.3: + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.5 + once: 1.4.0 + path-is-absolute: 1.0.1 + + glob@8.1.0: + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 5.1.9 + once: 1.4.0 + + global-agent@3.0.0: + dependencies: + boolean: 3.2.0 + es6-error: 4.1.1 + matcher: 3.0.0 + roarr: 2.15.4 + semver: 7.7.4 + serialize-error: 7.0.1 + optional: true + + global-dirs@3.0.1: + dependencies: + ini: 2.0.0 + + globalthis@1.0.4: + dependencies: + define-properties: 1.2.1 + gopd: 1.2.0 + optional: true + + gopd@1.2.0: + optional: true + + got@11.8.6: + dependencies: + '@sindresorhus/is': 4.6.0 + '@szmarczak/http-timer': 4.0.6 + '@types/cacheable-request': 6.0.3 + '@types/responselike': 1.0.3 + cacheable-lookup: 5.0.4 + cacheable-request: 7.0.4 + decompress-response: 6.0.0 + http2-wrapper: 1.0.3 + lowercase-keys: 2.0.0 + p-cancelable: 2.1.1 + responselike: 2.0.1 + + graceful-fs@4.2.11: {} + + has-flag@4.0.0: {} + + has-property-descriptors@1.0.2: + dependencies: + es-define-property: 1.0.1 + optional: true + + hasown@2.0.3: + dependencies: + function-bind: 1.1.2 + + hosted-git-info@2.8.9: {} + + http-cache-semantics@4.2.0: {} + + http-proxy-agent@5.0.0: + dependencies: + '@tootallnate/once': 2.0.1 + agent-base: 6.0.2 + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + + http2-wrapper@1.0.3: + dependencies: + quick-lru: 5.1.1 + resolve-alpn: 1.2.1 + + https-proxy-agent@5.0.1: + dependencies: + agent-base: 6.0.2 + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + + human-signals@2.1.0: {} + + humanize-ms@1.2.1: + dependencies: + ms: 2.1.3 + + iconv-lite@0.4.24: + dependencies: + safer-buffer: 2.1.2 + + iconv-lite@0.6.3: + dependencies: + safer-buffer: 2.1.2 + + ieee754@1.2.1: {} + + image-size@0.7.5: + optional: true + + immer@10.2.0: {} + + import-in-the-middle@2.0.6: + dependencies: + acorn: 8.16.0 + acorn-import-attributes: 1.9.5(acorn@8.16.0) + cjs-module-lexer: 2.2.0 + module-details-from-path: 1.0.4 + + import-in-the-middle@3.0.1: + dependencies: + acorn: 8.16.0 + acorn-import-attributes: 1.9.5(acorn@8.16.0) + cjs-module-lexer: 2.2.0 + module-details-from-path: 1.0.4 + + imul@1.0.1: + optional: true + + imurmurhash@0.1.4: {} + + indent-string@4.0.0: {} + + infer-owner@1.0.4: {} + + inflight@1.0.6: + dependencies: + once: 1.4.0 + wrappy: 1.0.2 + + inherits@2.0.4: {} + + ini@1.3.8: {} + + ini@2.0.0: {} + + interpret@3.1.1: {} + + ip-address@10.2.0: {} + + is-arrayish@0.2.1: {} + + is-core-module@2.16.2: + dependencies: + hasown: 2.0.3 + + is-extglob@2.1.1: {} + + is-fullwidth-code-point@3.0.0: {} + + is-fullwidth-code-point@4.0.0: {} + + is-glob@4.0.3: + dependencies: + is-extglob: 2.1.1 + + is-interactive@1.0.0: {} + + is-lambda@1.0.1: {} + + is-my-ip-valid@1.0.1: + optional: true + + is-my-json-valid@2.20.6: + dependencies: + generate-function: 2.3.1 + generate-object-property: 1.2.0 + is-my-ip-valid: 1.0.1 + jsonpointer: 5.0.1 + xtend: 4.0.2 + optional: true + + is-number@7.0.0: {} + + is-plain-obj@1.1.0: {} + + is-promise@2.2.2: {} + + is-property@1.0.2: + optional: true + + is-stream@1.1.0: {} + + is-stream@2.0.1: {} + + is-unicode-supported@0.1.0: {} + + isbinaryfile@4.0.10: {} + + isexe@2.0.0: {} + + jest-worker@27.5.1: + dependencies: + '@types/node': 24.12.2 + merge-stream: 2.0.0 + supports-color: 8.1.1 + + jiti@2.7.0: {} + + json-buffer@3.0.1: {} + + json-schema-traverse@1.0.0: {} + + json-stringify-safe@5.0.1: + optional: true + + jsonfile@4.0.0: + optionalDependencies: + graceful-fs: 4.2.11 + + jsonfile@6.2.1: + dependencies: + universalify: 2.0.1 + optionalDependencies: + graceful-fs: 4.2.11 + + jsonpointer@5.0.1: + optional: true + + junk@3.1.0: {} + + keyv@4.5.4: + dependencies: + json-buffer: 3.0.1 + + listr2@7.0.2: + dependencies: + cli-truncate: 3.1.0 + colorette: 2.0.20 + eventemitter3: 5.0.4 + log-update: 5.0.1 + rfdc: 1.4.1 + wrap-ansi: 8.1.0 + + load-json-file@2.0.0: + dependencies: + graceful-fs: 4.2.11 + parse-json: 2.2.0 + pify: 2.3.0 + strip-bom: 3.0.0 + + loader-runner@4.3.2: {} + + locate-path@2.0.0: + dependencies: + p-locate: 2.0.0 + path-exists: 3.0.0 + + locate-path@6.0.0: + dependencies: + p-locate: 5.0.0 + + lodash.get@4.4.2: {} + + lodash@4.18.1: {} + + log-symbols@4.1.0: + dependencies: + chalk: 4.1.2 + is-unicode-supported: 0.1.0 + + log-update@5.0.1: + dependencies: + ansi-escapes: 5.0.0 + cli-cursor: 4.0.0 + slice-ansi: 5.0.0 + strip-ansi: 7.2.0 + wrap-ansi: 8.1.0 + + lowercase-keys@2.0.0: {} + + lru-cache@11.3.6: {} + + lru-cache@7.18.3: {} + + lru-queue@0.1.0: + dependencies: + es5-ext: 0.10.64 + + macos-alias@0.2.12: + dependencies: + nan: 2.26.2 + optional: true + + make-fetch-happen@10.2.1: + dependencies: + agentkeepalive: 4.6.0 + cacache: 16.1.3 + http-cache-semantics: 4.2.0 + http-proxy-agent: 5.0.0 + https-proxy-agent: 5.0.1 + is-lambda: 1.0.1 + lru-cache: 7.18.3 + minipass: 3.3.6 + minipass-collect: 1.0.2 + minipass-fetch: 2.1.2 + minipass-flush: 1.0.7 + minipass-pipeline: 1.2.4 + negotiator: 0.6.4 + promise-retry: 2.0.1 + socks-proxy-agent: 7.0.0 + ssri: 9.0.1 + transitivePeerDependencies: + - bluebird + - supports-color + + map-age-cleaner@0.1.3: + dependencies: + p-defer: 1.0.0 + + matcher@3.0.0: + dependencies: + escape-string-regexp: 4.0.0 + optional: true + + mem@4.3.0: + dependencies: + map-age-cleaner: 0.1.3 + mimic-fn: 2.1.0 + p-is-promise: 2.1.0 + + memoizee@0.4.17: + dependencies: + d: 1.0.2 + es5-ext: 0.10.64 + es6-weak-map: 2.0.3 + event-emitter: 0.3.5 + is-promise: 2.2.2 + lru-queue: 0.1.0 + next-tick: 1.1.0 + timers-ext: 0.1.8 + + merge-stream@2.0.0: {} + + merge2@1.4.1: {} + + micromatch@4.0.8: + dependencies: + braces: 3.0.3 + picomatch: 2.3.2 + + mime-db@1.52.0: {} + + mime-db@1.54.0: {} + + mime-types@2.1.35: + dependencies: + mime-db: 1.52.0 + + mimic-fn@2.1.0: {} + + mimic-response@1.0.1: {} + + mimic-response@3.1.0: {} + + minimatch@10.2.5: + dependencies: + brace-expansion: 5.0.5 + + minimatch@3.1.5: + dependencies: + brace-expansion: 1.1.14 + + minimatch@5.1.9: + dependencies: + brace-expansion: 2.1.0 + + minimatch@9.0.9: + dependencies: + brace-expansion: 2.1.0 + + minimist@1.2.8: {} + + minipass-collect@1.0.2: + dependencies: + minipass: 3.3.6 + + minipass-fetch@2.1.2: + dependencies: + minipass: 3.3.6 + minipass-sized: 1.0.3 + minizlib: 2.1.2 + optionalDependencies: + encoding: 0.1.13 + + minipass-flush@1.0.7: + dependencies: + minipass: 3.3.6 + + minipass-pipeline@1.2.4: + dependencies: + minipass: 3.3.6 + + minipass-sized@1.0.3: + dependencies: + minipass: 3.3.6 + + minipass@3.3.6: + dependencies: + yallist: 4.0.0 + + minipass@5.0.0: {} + + minipass@7.1.3: {} + + minizlib@2.1.2: + dependencies: + minipass: 3.3.6 + yallist: 4.0.0 + + mkdirp-classic@0.5.3: {} + + mkdirp@0.5.6: + dependencies: + minimist: 1.2.8 + optional: true + + mkdirp@1.0.4: {} + + module-details-from-path@1.0.4: {} + + ms@2.0.0: {} + + ms@2.1.3: {} + + murmur-32@0.2.0: + dependencies: + encode-utf8: 1.0.3 + fmix: 0.1.0 + imul: 1.0.1 + optional: true + + mute-stream@1.0.0: {} + + nan@2.26.2: + optional: true + + napi-build-utils@2.0.0: {} + + negotiator@0.6.4: {} + + neo-async@2.6.2: {} + + next-tick@1.1.0: {} + + nice-try@1.0.5: {} + + node-abi@3.92.0: + dependencies: + semver: 7.7.4 + + node-addon-api@7.1.1: {} + + node-api-version@0.2.1: + dependencies: + semver: 7.7.4 + + node-fetch@2.7.0(encoding@0.1.13): + dependencies: + whatwg-url: 5.0.0 + optionalDependencies: + encoding: 0.1.13 + + node-pty@1.1.0: + dependencies: + node-addon-api: 7.1.1 + + node-releases@2.0.38: {} + + nopt@6.0.0: + dependencies: + abbrev: 1.1.1 + + normalize-package-data@2.5.0: + dependencies: + hosted-git-info: 2.8.9 + resolve: 1.22.12 + semver: 5.7.2 + validate-npm-package-license: 3.0.4 + + normalize-url@6.1.0: {} + + npm-run-path@2.0.2: + dependencies: + path-key: 2.0.1 + + npm-run-path@4.0.1: + dependencies: + path-key: 3.1.1 + + object-keys@1.1.1: + optional: true + + once@1.4.0: + dependencies: + wrappy: 1.0.2 + + onetime@5.1.2: + dependencies: + mimic-fn: 2.1.0 + + ora@5.4.1: + dependencies: + bl: 4.1.0 + chalk: 4.1.2 + cli-cursor: 3.1.0 + cli-spinners: 2.9.2 + is-interactive: 1.0.0 + is-unicode-supported: 0.1.0 + log-symbols: 4.1.0 + strip-ansi: 6.0.1 + wcwidth: 1.0.1 + + os-tmpdir@1.0.2: {} + + p-cancelable@2.1.1: {} + + p-defer@1.0.0: {} + + p-finally@1.0.0: {} + + p-is-promise@2.1.0: {} + + p-limit@1.3.0: + dependencies: + p-try: 1.0.0 + + p-limit@3.1.0: + dependencies: + yocto-queue: 0.1.0 + + p-locate@2.0.0: + dependencies: + p-limit: 1.3.0 + + p-locate@5.0.0: + dependencies: + p-limit: 3.1.0 + + p-map@4.0.0: + dependencies: + aggregate-error: 3.1.0 + + p-try@1.0.0: {} + + parse-author@2.0.0: + dependencies: + author-regex: 1.0.0 + + parse-color@1.0.0: + dependencies: + color-convert: 0.5.3 + optional: true + + parse-json@2.2.0: + dependencies: + error-ex: 1.3.4 + + path-exists@3.0.0: {} + + path-exists@4.0.0: {} + + path-exists@5.0.0: {} + + path-expression-matcher@1.5.0: {} + + path-is-absolute@1.0.1: {} + + path-key@2.0.1: {} + + path-key@3.1.1: {} + + path-parse@1.0.7: {} + + path-scurry@2.0.2: + dependencies: + lru-cache: 11.3.6 + minipass: 7.1.3 + + path-type@2.0.0: + dependencies: + pify: 2.3.0 + + pe-library@1.0.1: {} + + pend@1.2.0: {} + + pg-int8@1.0.1: {} + + pg-protocol@1.13.0: {} + + pg-types@2.2.0: + dependencies: + pg-int8: 1.0.1 + postgres-array: 2.0.0 + postgres-bytea: 1.0.1 + postgres-date: 1.0.7 + postgres-interval: 1.2.0 + + picocolors@1.1.1: {} + + picomatch@2.3.2: {} + + pify@2.3.0: {} + + plist@3.1.1: + dependencies: + '@xmldom/xmldom': 0.9.10 + base64-js: 1.5.1 + xmlbuilder: 15.1.1 + + postgres-array@2.0.0: {} + + postgres-bytea@1.0.1: {} + + postgres-date@1.0.7: {} + + postgres-interval@1.2.0: + dependencies: + xtend: 4.0.2 + + postject@1.0.0-alpha.6: + dependencies: + commander: 9.5.0 + + prebuild-install@7.1.3: + dependencies: + detect-libc: 2.1.2 + expand-template: 2.0.3 + github-from-package: 0.0.0 + minimist: 1.2.8 + mkdirp-classic: 0.5.3 + napi-build-utils: 2.0.0 + node-abi: 3.92.0 + pump: 3.0.4 + rc: 1.2.8 + simple-get: 4.0.1 + tar-fs: 2.1.4 + tunnel-agent: 0.6.0 + + prettier@3.8.3: {} + + proc-log@2.0.1: {} + + progress@2.0.3: {} + + promise-inflight@1.0.1: {} + + promise-retry@2.0.1: + dependencies: + err-code: 2.0.3 + retry: 0.12.0 + + pump@3.0.4: + dependencies: + end-of-stream: 1.4.5 + once: 1.4.0 + + pupa@3.3.0: + dependencies: + escape-goat: 4.0.0 + + queue-microtask@1.2.3: {} + + quick-lru@5.1.1: {} + + random-path@0.1.2: + dependencies: + base32-encode: 1.2.0 + murmur-32: 0.2.0 + optional: true + + rc@1.2.8: + dependencies: + deep-extend: 0.6.0 + ini: 1.3.8 + minimist: 1.2.8 + strip-json-comments: 2.0.1 + + read-binary-file-arch@1.0.6: + dependencies: + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + + read-pkg-up@2.0.0: + dependencies: + find-up: 2.1.0 + read-pkg: 2.0.0 + + read-pkg@2.0.0: + dependencies: + load-json-file: 2.0.0 + normalize-package-data: 2.5.0 + path-type: 2.0.0 + + readable-stream@3.6.2: + dependencies: + inherits: 2.0.4 + string_decoder: 1.3.0 + util-deprecate: 1.0.2 + + rechoir@0.8.0: + dependencies: + resolve: 1.22.12 + + repeat-string@1.6.1: + optional: true + + require-directory@2.1.1: {} + + require-from-string@2.0.2: {} + + require-in-the-middle@8.0.1: + dependencies: + debug: 4.4.3 + module-details-from-path: 1.0.4 + transitivePeerDependencies: + - supports-color + + resedit@2.0.3: + dependencies: + pe-library: 1.0.1 + + resolve-alpn@1.2.1: {} + + resolve@1.22.12: + dependencies: + es-errors: 1.3.0 + is-core-module: 2.16.2 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + + responselike@2.0.1: + dependencies: + lowercase-keys: 2.0.0 + + restore-cursor@3.1.0: + dependencies: + onetime: 5.1.2 + signal-exit: 3.0.7 + + restore-cursor@4.0.0: + dependencies: + onetime: 5.1.2 + signal-exit: 3.0.7 + + retry@0.12.0: {} + + reusify@1.1.0: {} + + rfdc@1.4.1: {} + + rimraf@2.6.3: + dependencies: + glob: 7.2.3 + optional: true + + rimraf@3.0.2: + dependencies: + glob: 7.2.3 + + roarr@2.15.4: + dependencies: + boolean: 3.2.0 + detect-node: 2.1.0 + globalthis: 1.0.4 + json-stringify-safe: 5.0.1 + semver-compare: 1.0.0 + sprintf-js: 1.1.3 + optional: true + + run-parallel@1.2.0: + dependencies: + queue-microtask: 1.2.3 + + safe-buffer@5.2.1: {} + + safer-buffer@2.1.2: {} + + schema-utils@4.3.3: + dependencies: + '@types/json-schema': 7.0.15 + ajv: 8.20.0 + ajv-formats: 2.1.1(ajv@8.20.0) + ajv-keywords: 5.1.0(ajv@8.20.0) + + semver-compare@1.0.0: + optional: true + + semver@5.7.2: {} + + semver@6.3.1: {} + + semver@7.7.4: {} + + serialize-error@7.0.1: + dependencies: + type-fest: 0.13.1 + optional: true + + shebang-command@1.2.0: + dependencies: + shebang-regex: 1.0.0 + + shebang-command@2.0.0: + dependencies: + shebang-regex: 3.0.0 + + shebang-regex@1.0.0: {} + + shebang-regex@3.0.0: {} + + shell-env@4.0.3: + dependencies: + default-shell: 2.2.0 + execa: 5.1.1 + strip-ansi: 7.2.0 + + shlex@3.0.0: {} + + signal-exit@3.0.7: {} + + signal-exit@4.1.0: {} + + simple-concat@1.0.1: {} + + simple-get@4.0.1: + dependencies: + decompress-response: 6.0.0 + once: 1.4.0 + simple-concat: 1.0.1 + + slice-ansi@5.0.0: + dependencies: + ansi-styles: 6.2.3 + is-fullwidth-code-point: 4.0.0 + + smart-buffer@4.2.0: {} + + socks-proxy-agent@7.0.0: + dependencies: + agent-base: 6.0.2 + debug: 4.4.3 + socks: 2.8.8 + transitivePeerDependencies: + - supports-color + + socks@2.8.8: + dependencies: + ip-address: 10.2.0 + smart-buffer: 4.2.0 + + sort-keys-length@1.0.1: + dependencies: + sort-keys: 1.1.2 + + sort-keys@1.1.2: + dependencies: + is-plain-obj: 1.1.0 + + source-map-support@0.5.21: + dependencies: + buffer-from: 1.1.2 + source-map: 0.6.1 + + source-map@0.6.1: {} + + spdx-correct@3.2.0: + dependencies: + spdx-expression-parse: 3.0.1 + spdx-license-ids: 3.0.23 + + spdx-exceptions@2.5.0: {} + + spdx-expression-parse@3.0.1: + dependencies: + spdx-exceptions: 2.5.0 + spdx-license-ids: 3.0.23 + + spdx-license-ids@3.0.23: {} + + sprintf-js@1.1.3: + optional: true + + ssri@9.0.1: + dependencies: + minipass: 3.3.6 + + stream-buffers@2.2.0: + optional: true + + string-width@4.2.3: + dependencies: + emoji-regex: 8.0.0 + is-fullwidth-code-point: 3.0.0 + strip-ansi: 6.0.1 + + string-width@5.1.2: + dependencies: + eastasianwidth: 0.2.0 + emoji-regex: 9.2.2 + strip-ansi: 7.2.0 + + string-width@7.2.0: + dependencies: + emoji-regex: 10.6.0 + get-east-asian-width: 1.5.0 + strip-ansi: 7.2.0 + + string_decoder@1.3.0: + dependencies: + safe-buffer: 5.2.1 + + strip-ansi@6.0.1: + dependencies: + ansi-regex: 5.0.1 + + strip-ansi@7.2.0: + dependencies: + ansi-regex: 6.2.2 + + strip-bom@3.0.0: {} + + strip-eof@1.0.0: {} + + strip-final-newline@2.0.0: {} + + strip-json-comments@2.0.1: {} + + strip-outer@1.0.1: + dependencies: + escape-string-regexp: 1.0.5 + + strnum@2.3.0: {} + + sumchecker@3.0.1: + dependencies: + debug: 4.4.3 + transitivePeerDependencies: + - supports-color + + supports-color@7.2.0: + dependencies: + has-flag: 4.0.0 + + supports-color@8.1.1: + dependencies: + has-flag: 4.0.0 + + supports-preserve-symlinks-flag@1.0.0: {} + + tapable@2.3.3: {} + + tar-fs@2.1.4: + dependencies: + chownr: 1.1.4 + mkdirp-classic: 0.5.3 + pump: 3.0.4 + tar-stream: 2.2.0 + + tar-stream@2.2.0: + dependencies: + bl: 4.1.0 + end-of-stream: 1.4.5 + fs-constants: 1.0.0 + inherits: 2.0.4 + readable-stream: 3.6.2 + + tar@6.2.1: + dependencies: + chownr: 2.0.0 + fs-minipass: 2.1.0 + minipass: 5.0.0 + minizlib: 2.1.2 + mkdirp: 1.0.4 + yallist: 4.0.0 + + temp@0.9.4: + dependencies: + mkdirp: 0.5.6 + rimraf: 2.6.3 + optional: true + + terser-webpack-plugin@5.5.0(webpack@5.106.2): + dependencies: + '@jridgewell/trace-mapping': 0.3.31 + jest-worker: 27.5.1 + schema-utils: 4.3.3 + terser: 5.47.1 + webpack: 5.106.2 + + terser@5.47.1: + dependencies: + '@jridgewell/source-map': 0.3.11 + acorn: 8.16.0 + commander: 2.20.3 + source-map-support: 0.5.21 + + timers-ext@0.1.8: + dependencies: + es5-ext: 0.10.64 + next-tick: 1.1.0 + + tiny-each-async@2.0.3: + optional: true + + tmp-promise@3.0.3: + dependencies: + tmp: 0.2.5 + optional: true + + tmp@0.0.33: + dependencies: + os-tmpdir: 1.0.2 + + tmp@0.2.5: + optional: true + + tn1150@0.1.0: + dependencies: + unorm: 1.6.0 + optional: true + + to-data-view@1.1.0: + optional: true + + to-regex-range@5.0.1: + dependencies: + is-number: 7.0.0 + + tr46@0.0.3: {} + + trim-repeated@1.0.0: + dependencies: + escape-string-regexp: 1.0.5 + + tslib@2.8.1: {} + + tunnel-agent@0.6.0: + dependencies: + safe-buffer: 5.2.1 + + type-fest@0.13.1: + optional: true + + type-fest@0.21.3: {} + + type-fest@1.4.0: {} + + type@2.7.3: {} + + typescript@5.4.5: {} + + undici-types@6.21.0: {} + + undici-types@7.16.0: {} + + undici@7.25.0: + optional: true + + unique-filename@2.0.1: + dependencies: + unique-slug: 3.0.0 + + unique-slug@3.0.0: + dependencies: + imurmurhash: 0.1.4 + + universalify@0.1.2: {} + + universalify@2.0.1: {} + + unorm@1.6.0: + optional: true + + unused-filename@4.0.1: + dependencies: + escape-string-regexp: 5.0.0 + path-exists: 5.0.0 + + update-browserslist-db@1.2.3(browserslist@4.28.2): + dependencies: + browserslist: 4.28.2 + escalade: 3.2.0 + picocolors: 1.1.1 + + username@5.1.0: + dependencies: + execa: 1.0.0 + mem: 4.3.0 + + util-deprecate@1.0.2: {} + + validate-npm-package-license@3.0.4: + dependencies: + spdx-correct: 3.2.0 + spdx-expression-parse: 3.0.1 + + watchpack@2.5.1: + dependencies: + glob-to-regexp: 0.4.1 + graceful-fs: 4.2.11 + + wcwidth@1.0.1: + dependencies: + defaults: 1.0.4 + + webidl-conversions@3.0.1: {} + + webpack-sources@3.4.1: {} + + webpack@5.106.2: + dependencies: + '@types/eslint-scope': 3.7.7 + '@types/estree': 1.0.9 + '@types/json-schema': 7.0.15 + '@webassemblyjs/ast': 1.14.1 + '@webassemblyjs/wasm-edit': 1.14.1 + '@webassemblyjs/wasm-parser': 1.14.1 + acorn: 8.16.0 + acorn-import-phases: 1.0.4(acorn@8.16.0) + browserslist: 4.28.2 + chrome-trace-event: 1.0.4 + enhanced-resolve: 5.21.0 + es-module-lexer: 2.1.0 + eslint-scope: 5.1.1 + events: 3.3.0 + glob-to-regexp: 0.4.1 + graceful-fs: 4.2.11 + loader-runner: 4.3.2 + mime-db: 1.54.0 + neo-async: 2.6.2 + schema-utils: 4.3.3 + tapable: 2.3.3 + terser-webpack-plugin: 5.5.0(webpack@5.106.2) + watchpack: 2.5.1 + webpack-sources: 3.4.1 + transitivePeerDependencies: + - '@swc/core' + - esbuild + - uglify-js + + whatwg-url@5.0.0: + dependencies: + tr46: 0.0.3 + webidl-conversions: 3.0.1 + + which@1.3.1: + dependencies: + isexe: 2.0.0 + + which@2.0.2: + dependencies: + isexe: 2.0.0 + + word-wrap@1.2.5: + optional: true + + wrap-ansi@6.2.0: + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + + wrap-ansi@7.0.0: + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + + wrap-ansi@8.1.0: + dependencies: + ansi-styles: 6.2.3 + string-width: 5.1.2 + strip-ansi: 7.2.0 + + wrappy@1.0.2: {} + + xmlbuilder@15.1.1: {} + + xtend@4.0.2: {} + + y18n@5.0.8: {} + + yallist@4.0.0: {} + + yargs-parser@20.2.9: + optional: true + + yargs-parser@21.1.1: {} + + yargs@16.2.0: + dependencies: + cliui: 7.0.4 + escalade: 3.2.0 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 20.2.9 + optional: true + + yargs@17.7.2: + dependencies: + cliui: 8.0.1 + escalade: 3.2.0 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 21.1.1 + + yauzl@2.10.0: + dependencies: + buffer-crc32: 0.2.13 + fd-slicer: 1.1.0 + + yocto-queue@0.1.0: {} + + yoctocolors-cjs@2.1.3: {} + + zod@4.4.3: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 00000000..e617964f --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,9 @@ +packages: + - '.' + +# Windows packaging reuses the official runtime and native modules. +# Both local checks and CI packaging work without dependency build scripts. +ignoredBuiltDependencies: + - better-sqlite3 + - electron + - node-pty diff --git a/release/acceptance/.gitkeep b/release/acceptance/.gitkeep new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/release/acceptance/.gitkeep @@ -0,0 +1 @@ + diff --git a/scripts/1027-main-features.test.js b/scripts/1027-main-features.test.js new file mode 100644 index 00000000..5963338b --- /dev/null +++ b/scripts/1027-main-features.test.js @@ -0,0 +1,85 @@ +const test = require("node:test"); +const assert = require("node:assert/strict"); +const fs = require("node:fs"); +const path = require("node:path"); +const os = require("node:os"); +const vm = require("node:vm"); +const { spawnSync } = require("node:child_process"); +const acorn = require("acorn"); +const worker = require("./patch-worker-limits"); +const cdp = require("./patch-cdp-screenshot"); + +// 26.1027.6604.0 early-bootstrap-499 的真实 Worker 构造表达式。 +const workerExpression = "new eMg.Worker(r,{name:this.id,workerData:{...a,sentryRpcPort:n.port2,mainRpcPort:i?.port2??null},transferList:[n.port2,...null==i?[]:[i.port2]]})"; +test("1027 Worker 限额保留名称、RPC 端口和 transferList", () => { + const result = worker.patchSource("function create(){return " + workerExpression + "}"); + assert.equal(result.status, "patched"); + const run = vm.runInNewContext("(" + result.source + ")", { eMg: { Worker: class { constructor(file, options) { this.file = file; this.options = options; } } }, r: "worker.js", a: { task: "git" }, n: { port2: "sentry" }, i: { port2: "main" } }); + const instance = run.call({ id: "git-worker" }); + assert.equal(instance.file, "worker.js"); + assert.deepEqual(JSON.parse(JSON.stringify(instance.options)), { name: "git-worker", workerData: { task: "git", sentryRpcPort: "sentry", mainRpcPort: "main" }, transferList: ["sentry", "main"], resourceLimits: { maxOldGenerationSizeMb: 1024, maxYoungGenerationSizeMb: 128 } }); + assert.equal(worker.patchSource(result.source).status, "already-patched"); + assert.equal(worker.patchSource("function absent(){}").status, "unexpected-anchor-count"); + assert.equal(worker.patchSource(result.source + result.source).status, "unexpected-anchor-count"); +}); + +// 同一 chunk 的真实 sendDebuggerCommand,包含新增的结果包装器。 +const forwarder = 'async sendDebuggerCommand(e,t,r,n={},i=this.cdpCommandTimeoutMs){let s=n.sessionId??(null==n.targetId?void 0:this.debuggerSessionIdForTarget(e,n.targetId)??void 0);if(null!=n.targetId&&n.targetId!==eeY(e)&&null==s)throw Error(`No in-app browser debugger session is attached for target ${n.targetId}`);return(0,ea.LcI)(t,await ets(e.webContents.debugger.sendCommand(t,r,s),i,`Timed out running CDP command "${t}" for tab ${e.cdpTabId}`))}'; +test("1027 CDP 包装返回值和超时语义保留,仅修改整页截图副本", async () => { + const result = cdp.patchSource("class BrowserHost{" + forwarder + "}"); + assert.equal(result.status, "patched"); + let sent, timeout, wrapped; + const BrowserHost = vm.runInNewContext(result.source + ";BrowserHost", { ets: async (promise, ms) => { timeout = ms; return promise; }, ea: { LcI: (method, value) => { wrapped = method; return { value }; } } }); + const host = new BrowserHost(); + host.cdpCommandTimeoutMs = 456; + const tab = { webContents: { debugger: { sendCommand: async (...args) => { sent = args; return "response"; } } } }; + const params = { captureBeyondViewport: true, clip: { width: 10000, height: 10000 }, format: "png", other: 9 }; + const response = await host.sendDebuggerCommand(tab, "Page.captureScreenshot", params, { sessionId: "session" }); + assert.equal(response.value, "response"); + assert.equal(wrapped, "Page.captureScreenshot"); + assert.equal(timeout, 456); + assert.equal(sent[2], "session"); + assert.deepEqual(JSON.parse(JSON.stringify(sent[1])), { captureBeyondViewport: false, format: "jpeg", quality: 60, other: 9 }); + assert.equal(params.captureBeyondViewport, true); + assert.ok(params.clip); + const viewport = { captureBeyondViewport: false, clip: { width: 10, height: 10 }, format: "png" }; + await host.sendDebuggerCommand(tab, "Page.captureScreenshot", viewport); + assert.equal(sent[1], viewport); + await host.sendDebuggerCommand(tab, "Page.navigate", params); + assert.equal(sent[1], params); + const jpeg = { captureBeyondViewport: true, format: "jpeg", quality: 85 }; + await host.sendDebuggerCommand(tab, "Page.captureScreenshot", jpeg); + assert.equal(sent[1].quality, 85); + assert.equal(cdp.patchSource(result.source).status, "already-patched"); + assert.equal(cdp.patchSource("class X{" + forwarder + forwarder + "}").status, "unexpected-shape"); +}); + +const evidenceDir = process.env.CODEX_1027_SOURCE_EVIDENCE; +test("1027 完整真实源:四项补丁两次运行、缺失和歧义拒绝", { skip: !evidenceDir }, () => { + const root = fs.mkdtempSync(path.join(os.tmpdir(), "codex-1027-main-features-")); + const build = path.join(root, "win", "_asar", ".vite", "build"); + fs.mkdirSync(build, { recursive: true }); + fs.cpSync(evidenceDir, build, { recursive: true }); + function run(name) { + return spawnSync(process.execPath, [path.join(__dirname, "patch-" + name + ".js"), "win"], { env: { ...process.env, CODEX_PATCH_SOURCE_DIR: root }, encoding: "utf8" }); + } + try { + for (const name of ["devtools", "worker-limits", "cdp-screenshot", "copyright"]) { + for (let pass = 0; pass < 2; pass++) { + const result = run(name); + assert.equal(result.status, 0, name + " " + result.stdout + result.stderr); + } + } + const main = fs.readdirSync(build).find((f) => f.startsWith("early-bootstrap-499-")); + const mainPath = path.join(build, main); + const patched = fs.readFileSync(mainPath, "utf8"); + acorn.parse(patched, { ecmaVersion: "latest", sourceType: "module" }); + fs.copyFileSync(mainPath, path.join(build, "decoy.js")); + assert.notEqual(run("worker-limits").status, 0); + fs.unlinkSync(path.join(build, "decoy.js")); + fs.unlinkSync(mainPath); + for (const name of ["devtools", "worker-limits", "cdp-screenshot", "copyright"]) assert.notEqual(run(name).status, 0, name); + } finally { + fs.rmSync(root, { recursive: true }); + } +}); diff --git a/scripts/STATSIG_GATES.md b/scripts/STATSIG_GATES.md index ba92c9b1..8fd27d66 100644 --- a/scripts/STATSIG_GATES.md +++ b/scripts/STATSIG_GATES.md @@ -79,20 +79,18 @@ gate 2307253562 → codex_git_commit | 脚本 | 目标 | 策略 | |---|---|---| -| `patch-sunset.js` | gate `2929582856` | `Cs(i)` → `!1`,短路 sunset 守卫 | -| `patch-statsig-logger.js` | `_setStatus()` | 注入日志,打印所有 gates/configs/layers 值 | | `patch-i18n.js` | `qNe()` | 注入 `en-US` 到语言选择器列表 | | `patch-devtools.js` | `allowInspectElement` / `devTools` | 属性值 → `!0` | | `patch-copyright.js` | About Dialog / setAboutPanelOptions 或自定义 HTML | 替换版权文本 | | `patch-process-polyfill.js` | Windows `process` polyfill | 注入 `process.env`/`process.platform` | -| `patch-remote-control.js` | gate `4114442250` / `1042620455` | 开启 Connections 入口与 Remote Control 数据加载;保留服务端权限状态判断 | +| `patch-remote-control.js` | `local_remote_control_enabled` 同步组件 | 不覆盖任何 gate;ChatGPT 保持官方同步,API-key 等其他认证清除旧启用值并禁用当前 app-server 的 Remote Control | ### Remote Control 已确认 gate | ID | 功能 | 影响范围 | |---|---|---| -| `4114442250` | Remote Connections 可见性 | Settings 中的 Connections 项、相关远程标识 | -| `1042620455` | Remote Control / Slingshot | 手机控制分区、远程设备加载、主进程 gate bridge | +| `4114442250` | Remote Connections 可见性 | Settings 中的 Connections 项、相关远程标识;不得强制开启 | +| `1042620455` | Remote Control / Slingshot | 手机控制分区、远程设备加载、主进程 gate bridge;不得强制开启 | ## 备注 diff --git a/scripts/build-current.js b/scripts/build-current.js index be59b1b1..76ce7dcd 100644 --- a/scripts/build-current.js +++ b/scripts/build-current.js @@ -20,16 +20,16 @@ if (!TARGET_SCRIPT) { process.exit(1); } -console.log(`[build] current platform ${process.platform}-${process.arch} -> npm run ${TARGET_SCRIPT}`); +console.log(`[build] current platform ${process.platform}-${process.arch} -> pnpm run ${TARGET_SCRIPT}`); -const npmBin = process.platform === "win32" ? "npm.cmd" : "npm"; -const result = spawnSync(npmBin, ["run", TARGET_SCRIPT], { +const pnpmBin = process.platform === "win32" ? "pnpm.cmd" : "pnpm"; +const result = spawnSync(pnpmBin, ["run", TARGET_SCRIPT], { stdio: "inherit", shell: false, }); if (result.error) { - console.error(`[x] Failed to run npm: ${result.error.message}`); + console.error(`[x] Failed to run pnpm: ${result.error.message}`); process.exit(1); } diff --git a/scripts/build-from-upstream.js b/scripts/build-from-upstream.js index 5b23c883..85bfe8b9 100644 --- a/scripts/build-from-upstream.js +++ b/scripts/build-from-upstream.js @@ -16,7 +16,8 @@ const fs = require("fs"); const path = require("path"); const { execSync, execFileSync } = require("child_process"); const { findUpstreamCodex, getCodexBinarySource } = require("./codex-binary-policy"); -const { validateWindowsPackage } = require("./sync-upstream"); +const { resolveSyncDirectory, validateWindowsPackage } = require("./sync-upstream"); +const { validateSource } = require("./windows-artifacts"); const PROJECT_ROOT = path.resolve(__dirname, ".."); const SRC_DIR = path.join(PROJECT_ROOT, "src"); @@ -232,7 +233,7 @@ function buildMac(platform) { } // 1. Find the .app in the ZIP extract cache - const tempDir = path.join(require("os").tmpdir(), "codex-sync"); + const tempDir = resolveSyncDirectory(); const variant = platform === "mac-arm64" ? "arm64" : "x64"; const extractDir = path.join(tempDir, `${variant}-extract`); @@ -304,7 +305,7 @@ function buildMac(platform) { // ─── Windows build ────────────────────────────────────────────── -function buildWin(platform) { +function buildWin(platform, { deferZip = false } = {}) { const platformDir = path.join(SRC_DIR, platform); const asarDir = path.join(platformDir, "_asar"); @@ -314,7 +315,7 @@ function buildWin(platform) { } // Windows: use the MSIX extract cache - const tempDir = path.join(require("os").tmpdir(), "codex-sync"); + const tempDir = resolveSyncDirectory(); const extractDir = path.join(tempDir, "win-extract"); const appDir = path.join(extractDir, "app"); @@ -329,8 +330,12 @@ function buildWin(platform) { // 即使绕过同步步骤,也禁止将旧的 ARM64 缓存打包成 x64 产物。 try { + const sourcePath = path.join(extractDir, "verified-windows-source.json"); + const expected = process.env.CODEX_REQUIRE_PINNED_SOURCE === "1" + ? validateSource(JSON.parse(fs.readFileSync(sourcePath, "utf8"))) + : { architecture: "x64" }; const identity = validateWindowsPackage(extractDir, { - architecture: "x64", + ...expected, }); console.log(` [verify] MSIX ${identity.architecture}, version ${identity.version}`); } catch (e) { @@ -375,6 +380,8 @@ function buildWin(platform) { // 保留上游 Windows CLI,使 app-server、code-mode host 与本地工具运行时版本一致。 keepUpstreamCodex(platform, resourcesDir, "codex.exe"); + if (deferZip) { console.log(" [verify] ZIP deferred until real Windows runtime checks pass"); return; } + // Create ZIP const version = getVersion(asarDir); const zipName = `Codex-win-x64-${version}.zip`; @@ -534,7 +541,7 @@ function main() { if (platform.startsWith("mac")) { buildMac(platform); } else { - buildWin(platform); + buildWin(platform, { deferZip: args.includes("--defer-zip") }); } } @@ -544,6 +551,7 @@ module.exports = { assertWindowsPortableRuntime, computeAsarHeaderHash, createDmg, + createZip, ensureWindowsPortableLauncher, isOwlRuntime, isRetryableHdiutilError, diff --git a/scripts/build-from-upstream.test.js b/scripts/build-from-upstream.test.js index 309d49c9..c5f13b37 100644 --- a/scripts/build-from-upstream.test.js +++ b/scripts/build-from-upstream.test.js @@ -17,6 +17,7 @@ const { getCodexBinarySource, getCometixCodexPackageSpec, } = require("./codex-binary-policy"); +const { registryCurlArgs, resolveCometixRegistryEntry } = require("./prepare-src"); function createTemporaryOutput(t) { const directory = fs.mkdtempSync(path.join(os.tmpdir(), "codex-dmg-test-")); @@ -163,6 +164,41 @@ test("Cometix 平台包使用架构 dist-tag 而不是拼接主包版本", () => ); }); +test("Cometix registry 元数据固定架构版本、HTTPS tarball 与完整性摘要", () => { + const integrity = `sha512-${Buffer.alloc(64, 7).toString("base64")}`; + const metadata = { + "dist-tags": { "linux-x64": "1.2.3" }, + versions: { "1.2.3": { dist: { integrity, tarball: "https://registry.example/codex.tgz" } } }, + }; + assert.deepEqual(resolveCometixRegistryEntry("linux-x64", metadata), { + integrity, + spec: "@cometix/codex@1.2.3", + tarball: "https://registry.example/codex.tgz", + version: "1.2.3", + }); + assert.throws( + () => resolveCometixRegistryEntry("linux-x64", { + ...metadata, + versions: { "1.2.3": { dist: { tarball: "https://registry.example/codex.tgz" } } }, + }), + /缺少可验证的 registry tarball/, + ); + assert.throws( + () => resolveCometixRegistryEntry("linux-x64", { + ...metadata, + versions: { "1.2.3": { dist: { integrity, tarball: "http://registry.example/codex.tgz" } } }, + }), + /必须使用 HTTPS/, + ); +}); + +test("Cometix registry 下载禁止 HTTP 输入与降级重定向", () => { + const args = registryCurlArgs("https://registry.example/codex.tgz", "package.tgz"); + assert.deepEqual(args.slice(0, 6), [ + "--fail", "--location", "--proto", "=https", "--proto-redir", "=https", + ]); +}); + test("保留上游 CLI 时不会改写二进制", (t) => { const directory = fs.mkdtempSync(path.join(os.tmpdir(), "codex-cli-policy-test-")); t.after(() => fs.rmSync(directory, { recursive: true, force: true })); diff --git a/scripts/check-scripts.js b/scripts/check-scripts.js new file mode 100644 index 00000000..61df480c --- /dev/null +++ b/scripts/check-scripts.js @@ -0,0 +1,17 @@ +#!/usr/bin/env node +const fs = require("node:fs"); +const path = require("node:path"); +const { execFileSync } = require("node:child_process"); +const root = path.resolve(__dirname, ".."); +const files = fs.readdirSync(__dirname).filter((name) => /\.(?:js|cjs)$/.test(name)); +files.push("../forge.config.js"); +files.push("runtime/rebuild-test-isolation.cjs"); +files.push("runtime/rebuild-test-environment.cjs"); +files.push("runtime/reading-width.mjs"); +files.push("runtime/accent-presets.mjs"); +files.push("runtime/sidebar-usage.mjs"); +files.push("runtime/rebuild-settings.cjs"); +files.push("runtime/rebuild-settings.mjs"); +for (const file of files) execFileSync(process.execPath, ["--check", path.join(__dirname, file)], { stdio: "inherit" }); +JSON.parse(fs.readFileSync(path.join(root, "package.json"), "utf8")); +console.log(`脚本语法检查通过:${files.length} 个文件`); diff --git a/scripts/check-update.js b/scripts/check-update.js index 2903171f..e1646a85 100644 --- a/scripts/check-update.js +++ b/scripts/check-update.js @@ -181,9 +181,20 @@ function formatSize(bytes) { return (bytes / (1024 * 1024 * 1024)).toFixed(2) + " GB"; } +function summarizeChecks(checks) { + const platforms = ["macOS-arm64", "macOS-x64", "Windows"]; + const results = []; + const errors = {}; + checks.forEach((check, index) => { + if (check.status === "fulfilled") results.push(check.value); + else errors[platforms[index]] = check.reason?.message || String(check.reason); + }); + return { results, errors }; +} + // ─── 主流程 ────────────────────────────────────────────────────── -async function main() { - const args = process.argv.slice(2); +async function main(options = {}) { + const args = options.args || process.argv.slice(2); const force = args.includes("--force"); const jsonOutput = args.includes("--json"); const doSave = args.includes("--save"); @@ -191,20 +202,17 @@ async function main() { const versionFile = resolveVersionFile(args); const saved = loadVersions(versionFile); - const results = []; - - const checks = await Promise.allSettled([ - checkMacArm64Version(), - checkMacX64Version(), - checkWindowsVersion(), - ]); - - for (const r of checks) { - if (r.status === "fulfilled") { - const info = r.value; - results.push(info); - } else if (!quiet) { - console.error(` [!] ${r.reason.message}`); + const checkers = options.checkers || [ + checkMacArm64Version, + checkMacX64Version, + checkWindowsVersion, + ]; + const checks = await Promise.allSettled(checkers.map((check) => check())); + const { results, errors } = summarizeChecks(checks); + const hasErrors = Object.keys(errors).length > 0; + if (!quiet) { + for (const [platform, error] of Object.entries(errors)) { + console.error(` [!] ${platform}: ${error}`); } } @@ -214,8 +222,9 @@ async function main() { if (jsonOutput) { const output = { timestamp: new Date().toISOString(), - hasUpdates: updates.length > 0, + hasUpdates: hasErrors ? null : updates.length > 0, platforms: Object.fromEntries(results.map((r) => [r.platform, r])), + errors, previous: saved, }; console.log(JSON.stringify(output, null, 2)); @@ -224,7 +233,7 @@ async function main() { const toShow = force ? results : updates; if (toShow.length === 0 && !force) { - if (!quiet) console.log("✅ 没有新版本。"); + if (!quiet && !hasErrors) console.log("✅ 没有新版本。"); } else { for (const info of toShow) { const isUpdate = updates.includes(info); @@ -248,7 +257,7 @@ async function main() { } // 保存版本记录 - if (doSave && results.length > 0) { + if (doSave && !hasErrors && results.length > 0) { const newSaved = { ...saved }; for (const r of results) { newSaved[r.platform] = { @@ -261,10 +270,11 @@ async function main() { if (!quiet) console.log(`💾 版本记录已保存到 ${versionFile}`); } - // 退出码: 0=有更新, 1=无更新(方便 CI 使用) - if (!force && updates.length === 0) process.exitCode = 1; + // 退出码: 0=有更新或强制成功,1=无更新,2=检测不完整。 + if (hasErrors) process.exitCode = 2; + else if (!force && updates.length === 0) process.exitCode = 1; - return { results, updates }; + return { results, updates, errors, exitCode: hasErrors ? 2 : (!force && updates.length === 0 ? 1 : 0) }; } module.exports = { @@ -273,6 +283,8 @@ module.exports = { checkWindowsVersion, findUpdates, resolveVersionFile, + summarizeChecks, + main, }; if (require.main === module) { diff --git a/scripts/check-update.test.js b/scripts/check-update.test.js index 46138a31..dbc540b2 100644 --- a/scripts/check-update.test.js +++ b/scripts/check-update.test.js @@ -1,8 +1,11 @@ const test = require("node:test"); const assert = require("node:assert/strict"); const path = require("path"); +const fs = require("fs"); +const os = require("os"); +const { randomUUID } = require("crypto"); -const { findUpdates, resolveVersionFile } = require("./check-update"); +const { findUpdates, resolveVersionFile, main } = require("./check-update"); const CURRENT_PLATFORMS = [ { platform: "macOS-arm64", version: "26.721.41059", build: "5848" }, @@ -54,3 +57,42 @@ test("缺少状态文件路径时直接失败", () => { /需要提供文件路径/ ); }); + +test("检测不完整时 JSON 报错、退出码为 2 且不保存部分结果", async () => { + const testRoot = process.env.CODEX_REBUILD_TEST_ROOT || os.tmpdir(); + const dir = path.join(testRoot, `check-update-${randomUUID()}`); + const stateFile = path.join(dir, "versions.json"); + const saved = { Windows: { version: "26.721.4979.0" } }; + fs.mkdirSync(dir, { recursive: true }); + fs.writeFileSync(stateFile, JSON.stringify(saved)); + const output = []; + const previousExitCode = process.exitCode; + const previousLog = console.log; + const previousError = console.error; + + try { + process.exitCode = 0; + console.log = (line) => output.push(line); + console.error = () => {}; + const result = await main({ + args: ["--json", "--save", "--state-file", stateFile], + checkers: [ + async () => CURRENT_PLATFORMS[0], + async () => CURRENT_PLATFORMS[1], + async () => { throw new Error("Store unavailable"); }, + ], + }); + + const json = JSON.parse(output[0]); + assert.equal(json.hasUpdates, null); + assert.deepEqual(json.errors, { Windows: "Store unavailable" }); + assert.equal(result.errors.Windows, "Store unavailable"); + assert.equal(process.exitCode, 2); + assert.deepEqual(JSON.parse(fs.readFileSync(stateFile, "utf-8")), saved); + } finally { + process.exitCode = previousExitCode; + console.log = previousLog; + console.error = previousError; + fs.rmSync(dir, { recursive: true, force: true }); + } +}); diff --git a/scripts/fetch-msstore.js b/scripts/fetch-msstore.js index 47806671..6d5dc313 100644 --- a/scripts/fetch-msstore.js +++ b/scripts/fetch-msstore.js @@ -386,31 +386,37 @@ async function getFileList(cookie, categoryId, ring) { return updates; } -async function getDownloadUrl(updateID, revisionNumber, ring, digest) { +async function getDownloadUrl(updateID, revisionNumber, ring, digest, options = {}) { const soap = makeGetUrlSoap(updateID, revisionNumber, ring); - const res = await soapPost( - "https://fe3.delivery.mp.microsoft.com/ClientWebService/client.asmx/secured", - soap - ); - - if (res.status !== 200) return ""; - - const parsed = parseXml(res.body); - const locations = deepFindAll(parsed, "FileLocation"); - - for (const loc of locations) { - const fileDigest = deepFind(loc, "FileDigest"); - const url = deepFind(loc, "Url"); - if (fileDigest === digest && url) return url; - } + const request = options.request || ((url, body) => httpsRequestOnce(url, { + method: "POST", + headers: { + "Content-Type": "application/soap+xml; charset=utf-8", + "Content-Length": Buffer.byteLength(body, "utf-8"), + }, + body, + })); + // 商店灰度发布时可能 HTTP 200 但暂时没有匹配文件;重试同一更新且不放宽摘要校验。 + return withRetry(async () => { + const res = await request( + "https://fe3.delivery.mp.microsoft.com/ClientWebService/client.asmx/secured", + soap + ); + if (res.status !== 200) { + throw new Error(`GetExtendedUpdateInfo2 失败: HTTP ${res.status}`); + } - // 如果 digest 匹配不到,返回第一个 URL - for (const loc of locations) { - const url = deepFind(loc, "Url"); - if (url && typeof url === "string" && url.startsWith("http")) return url; - } + const locations = deepFindAll(parseXml(res.body), "FileLocation"); + for (const loc of locations) { + const fileDigest = deepFind(loc, "FileDigest"); + const url = deepFind(loc, "Url"); + if (digest && fileDigest === digest && typeof url === "string" && /^https?:\/\//.test(url)) { + return url; + } + } - return ""; + throw new Error(`微软未返回与包摘要匹配的下载链接 (${updateID})`); + }, options); } // ─── 深度搜索辅助 ──────────────────────────────────────────────── @@ -595,9 +601,13 @@ async function main() { // Step 4: Get URLs console.log(` [4/4] 获取下载链接...`); + const selected = filter + ? packages.filter((pkg) => pkg.name.toLowerCase().includes(filter)) + : packages; const results = []; - for (const pkg of packages) { + // 先筛选目标包,避免无关架构或依赖包的链接失败阻断目标包处理。 + for (const pkg of selected) { const url = await getDownloadUrl( pkg.updateID, pkg.revisionNumber, @@ -607,11 +617,7 @@ async function main() { results.push({ ...pkg, url }); } - // 过滤 - let filtered = results; - if (filter) { - filtered = results.filter((r) => r.name.toLowerCase().includes(filter)); - } + const filtered = results; // 输出结果 console.log(`\n${"─".repeat(80)}`); diff --git a/scripts/fetch-msstore.test.js b/scripts/fetch-msstore.test.js index 5e88a5f3..80502fec 100644 --- a/scripts/fetch-msstore.test.js +++ b/scripts/fetch-msstore.test.js @@ -1,7 +1,7 @@ const test = require("node:test"); const assert = require("node:assert/strict"); -const { withRetry } = require("./fetch-msstore"); +const { getDownloadUrl, withRetry } = require("./fetch-msstore"); test("临时请求失败后会重试并返回结果", async () => { let attempts = 0; @@ -35,3 +35,37 @@ test("请求持续失败时达到次数上限后抛出最后一个错误", async assert.equal(attempts, 3); }); + +test("商店暂时未返回文件位置时有限重试同一更新", async () => { + let calls = 0; + const url = await getDownloadUrl("update-1", "1", "Retail", "expected", { + retryDelayMs: 0, + request: async (_url, body) => { + assert.match(body, /update-1<\/UpdateID>/); + calls++; + return { + status: 200, + body: calls === 1 + ? "" + : "expectedhttps://example.com/app.msix", + }; + }, + }); + + assert.equal(url, "https://example.com/app.msix"); + assert.equal(calls, 2); +}); + +test("摘要不匹配时不返回其他包的 URL", async () => { + await assert.rejects( + getDownloadUrl("update-1", "1", "Retail", "expected", { + maxAttempts: 1, + retryDelayMs: 0, + request: async () => ({ + status: 200, + body: "differenthttps://example.com/other.msix", + }), + }), + /摘要匹配/ + ); +}); diff --git a/scripts/frontend-rspack-smoke.js b/scripts/frontend-rspack-smoke.js new file mode 100644 index 00000000..45209414 --- /dev/null +++ b/scripts/frontend-rspack-smoke.js @@ -0,0 +1,655 @@ +#!/usr/bin/env node +/** 在 26.1106 Rspack 模块工厂上执行已生成补丁;复用既有 sidebar/reading 验证入口。 */ +const assert = require("node:assert/strict"); +const fs = require("node:fs"); +const path = require("node:path"); +const vm = require("node:vm"); +const { spawnSync } = require("node:child_process"); +const { parse } = require("acorn"); +const { nodes, unique } = require("./patch-ast-util"); +const { + frontendFiles, + rspackModules, + moduleImports, + moduleExports, + findModuleCopies, + findFrontendModules, +} = require("./rspack-util"); + +const quota = require("./patch-provider-quota"); +const home = require("./patch-api-key-home-navigation"); +const timeline = require("./patch-thread-timeline"); +const mcp = require("./patch-mcp-status-refresh"); +const accent = require("./patch-accent-presets"); +const fast = require("./patch-fast-mode"); +const pet = require("./patch-hide-pet-menu"); +const invite = require("./patch-hide-invite-menu"); +const sidebar = require("./patch-sidebar-usage"); +const reading = require("./patch-reading-layout"); +const remote = require("./patch-remote-control"); + +const TOKENS = [ + "__codexQuotaThreadProvider", "modelProvider||null", "Codex:API-key", + "CodexRebuildThreadTimeline", "CodexRebuildMcpStatusRefresh", + "CodexRebuildServiceTierApiKey", "codex-rebuild-local-accent-presets", + "codex-rebuild-hide-pet-menu", "codex-rebuild-hide-invite-menu", + "CodexRebuildSidebarUsage", "CodexRebuildRemoteControl", + "accountId:null,accountLoading:!0,", "codex-rebuild-reading-width", + "codex-rebuild-dialog-default", "codex.profileFooter.settingsFallback", + "chatgptAccentPicker.ChatGptAccentPicker.updateError", + "--color-background-user-message", "settings.appearance.visualStyle", + "supportsThreadTimeline", "Failed to read service tier for request", +]; + +const property = node => { + if (!["MemberExpression", "MethodDefinition", "Property"].includes(node?.type)) return null; + const part = node.type === "MemberExpression" ? node.property : node.key; + if (!node.computed && part?.type === "Identifier") return part.name; + return part?.type === "Literal" ? part.value : null; +}; +const props = node => Object.fromEntries((node?.properties ?? []) + .filter(item => property(item)).map(item => [property(item), item.value])); +const text = (source, node) => source.slice(node.start, node.end); +const has = (source, node, value) => text(source, node).includes(value); +const sameText = (left, right) => left.replace(/\r\n/g, "\n") === right.replace(/\r\n/g, "\n"); + +function walk(node, visit) { + if (!node || typeof node !== "object") return; + if (node.type) visit(node); + for (const value of Object.values(node)) { + if (Array.isArray(value)) value.forEach(child => walk(child, visit)); + else if (value?.type) walk(value, visit); + } +} + +function smallest(source, types, position) { + const ast = parse(source, { ecmaVersion: "latest", sourceType: "module" }); + return nodes(ast, node => types.includes(node.type) && + node.start <= position && node.end >= position) + .sort((left, right) => left.end - left.start - (right.end - right.start))[0]; +} + +function moduleIndex(assets) { + const modules = []; + for (const file of frontendFiles(assets)) { + const chunkSource = fs.readFileSync(file, "utf8"); + if (!chunkSource.includes("export const __webpack_modules__=") || + !TOKENS.some(token => chunkSource.includes(token))) continue; + for (const module of rspackModules(chunkSource)) modules.push({ ...module, file }); + } + const copies = (marker, label) => { + const found = modules.filter(module => module.source.includes(marker)); + assert.ok(found.length, `${label}必须存在`); + return found; + }; + return { + assets, modules, copies, + one(marker, label) { return unique(modules.filter(module => module.source.includes(marker)), label); }, + }; +} + +function verifyQuota(index, target, metadata) { + const source = quota.patchRspackComposer(target.source, { + providerModule: metadata.module.id, + providerExport: metadata.exported, + imports: moduleImports(target), + }); + assert.equal(source, target.source, "额度 Composer 必须已是完整补丁"); + const ast = parse(source, { ecmaVersion: "latest", sourceType: "module" }); + const composer = unique(ast.body.filter(node => node.type === "FunctionDeclaration" && + has(source, node, quota.MARKER)), "Rspack quota composer"); + const guardStatement = unique(composer.body.body.filter(statement => + statement.type === "VariableDeclaration" && + statement.declarations.some(declaration => declaration.id.name === "__codexUsesCustomProvider")), + "Rspack quota guard"); + const providerRead = guardStatement.declarations.find(declaration => + declaration.id.name === "__codexQuotaThreadProvider").init; + const reasonStatement = unique(composer.body.body.filter(statement => + statement.type === "VariableDeclaration" && + ["reserve-limit", "usage-limit"].every(reason => has(source, statement, reason)) && + has(source, statement, "caller-disabled")), "Rspack quota reasons"); + const quotaReasons = reasonStatement.declarations.filter(declaration => + has(source, declaration, "reserve-limit") || has(source, declaration, "usage-limit")); + assert.equal(quotaReasons.length, 2, "必须保留两条额度原因"); + const reasonNames = quotaReasons.map(reason => reason.id.name); + const reasonList = unique(nodes(composer, node => node.type === "CallExpression" && + node.callee?.type === "MemberExpression" && property(node.callee) === "filter" && + reasonNames.every(name => has(source, node.callee.object, name))), + "Rspack quota reason list"); + const config = unique([...new Set(nodes(guardStatement, node => + node.type === "MemberExpression" && property(node) === "isConfigDataPending") + .map(node => node.object.name).filter(Boolean))], "Rspack quota config"); + const scope = unique([...new Set(nodes(guardStatement, node => + node.type === "MemberExpression" && property(node) === "kind") + .map(node => node.object?.object?.name).filter(Boolean))], "Rspack quota scope"); + const loadingDeclaration = unique(reasonStatement.declarations.filter(declaration => + declaration.init && has(source, declaration, "service-tier-loading") && + has(source, declaration, "isLoading")), "Rspack service-tier loading"); + const loading = unique([...new Set(nodes(loadingDeclaration.init, node => + node.type === "MemberExpression" && property(node) === "isLoading") + .map(node => node.object?.name).filter(Boolean))], "Rspack service-tier loading source"); + const providerMember = providerRead.callee.type === "SequenceExpression" + ? providerRead.callee.expressions.at(-1) : providerRead.callee; + assert.equal(providerMember.type, "MemberExpression"); + const providerRoot = providerMember.object.name; + const providerReadName = property(providerMember); + const atomRoots = new Set(nodes(providerRead, node => node.type === "MemberExpression") + .map(node => node.object?.name).filter(name => name && name !== providerRoot)); + const names = new Set(); + for (const root of [guardStatement, reasonStatement, reasonList]) walk(root, node => { + if (node.type === "Identifier") names.add(node.name); + }); + const scenarios = [ + ["第三方服务不受官方额度禁发", "local", "https://provider.example/v1", {}, false], + ["保存的官方任务不跟随全局第三方", "local", "https://provider.example/v1", { saved: "openai" }, true], + ["保存的第三方任务优先", "openai", "https://provider.example/v1", { saved: "local" }, false], + ["官方保留额度限制", "openai", "https://provider.example/v1", {}, true], + ["第三方无端点仍受保护", "local", null, {}, true], + ["ChatGPT 端点仍受保护", "local", "https://chatgpt.com/backend-api/codex", {}, true], + ["ChatGPT 子域仍受保护", "local", "https://api.chatgpt.com./", {}, true], + ["非法端点保留限制", "local", "file:///tmp", {}, true], + ["配置未就绪保留限制", "local", "https://provider.example/v1", { pending: true }, true], + ["云任务不绕过", "local", "https://provider.example/v1", { kind: "cloud" }, true], + ["新建本地允许第三方", "local", "https://provider.example/v1", { kind: "new" }, false], + ["新建云原型不绕过", "local", "https://provider.example/v1", { kind: "new", cloud: true }, true], + ["第三方真实加载错误仍阻止发送", "local", "https://provider.example/v1", { loading: true }, true], + ]; + for (const [name, provider, endpoint, extra, expected] of scenarios) { + const context = Object.fromEntries([...names].map(item => [item, false])); + Object.assign(context, { + URL, Boolean, + [providerRoot]: { [providerReadName]: () => extra.saved ?? null }, + [config]: { + isConfigDataPending: !!extra.pending, + resolvedConfig: { + model_provider: provider, + model_providers: { local: { base_url: endpoint, requires_openai_auth: true } }, + }, + }, + [scope]: { value: { kind: extra.kind ?? "local", cloudThreadPrototype: !!extra.cloud } }, + [loading]: { isLoading: !!extra.loading }, + }); + for (const root of atomRoots) context[root] = new Proxy({}, { + get(_target, key) { return key === "then" ? undefined : { atom: String(key) }; }, + }); + for (const reason of quotaReasons) { + const flag = nodes(reason.init, node => node.type === "Identifier" && + node.name !== "__codexUsesCustomProvider")[0]; + assert.ok(flag, `${target.id}: 额度原因标志必须可执行`); + context[flag.name] = true; + } + const actual = vm.runInNewContext( + `${text(source, guardStatement)}\n${text(source, reasonStatement)}\n` + + `Boolean((${text(source, reasonList)}).length)`, context, { timeout: 1000 }); + assert.equal(actual, expected, `${target.id}: ${name}`); + } + return true; +} + +function verifyHomeRecorder(index, target) { + assert.equal(home.patchRspackNavigation(target.source, "tracker").status, "already-patched"); + const source = target.source, position = source.indexOf(home.MARKER); + const owner = smallest(source, ["FunctionDeclaration"], position); + assert.ok(owner, "首页记录器宿主必须存在"); + const official = unique(nodes(owner, node => node.type === "CallExpression" && + node.arguments[1]?.type === "ObjectExpression" && + node.arguments[1].properties.length === 5 && + ["accountKey", "auth", "location", "productMode", "destinationId"] + .every(name => props(node.arguments[1])[name])), "官方首页五字段记录调用"); + const apiKey = unique(nodes(owner, node => node.type === "CallExpression" && + node.arguments[1]?.type === "ObjectExpression" && + node.arguments[1].properties.length === 4 && + ["accountKey", "auth", "location", "productMode"] + .every(name => props(node.arguments[1])[name])), "API-key 首页记录调用"); + assert.match(text(source, apiKey), /auth:apikey/); + const recorder = official.callee.type === "SequenceExpression" + ? official.callee.expressions.at(-1) : official.callee; + const dependency = unique(moduleImports(target).filter(item => item.local === recorder.object.name)); + const indexed = index.modules.filter(item => item.id === dependency.id); + const module = unique(indexed.length ? indexed : findModuleCopies(index.assets, dependency.id), + "记录器模块"); + const exported = unique(moduleExports(module).filter(item => + item.exported === property(recorder)), "记录器导出"); + const moduleAst = parse(module.source, { + ecmaVersion: "latest", sourceType: "script", allowReturnOutsideFunction: true, + }); + assert.equal(nodes(moduleAst, node => node.type === "FunctionDeclaration" && + node.id?.name === exported.value).length, 1, "官方首页记录器定义必须唯一"); + const callback = nodes(owner, node => node.type === "ArrowFunctionExpression" && + node.start <= position && node.end >= position) + .sort((left, right) => left.end - left.start - (right.end - right.start))[0]; + const ifStatement = callback && unique(nodes(callback, node => node.type === "IfStatement"), + "首页 API-key 记录条件"); + assert.ok(callback && ifStatement, "首页记录回调必须可执行"); + const values = props(apiKey.arguments[1]), calls = []; + const context = vm.createContext({ + [recorder.object.name]: { [property(recorder)]: (store, options) => calls.push({ store, options }) }, + [ifStatement.test.left.name]: "apikey", + [values.auth.name]: { authMethod: "apikey" }, + [apiKey.arguments[0].name]: {}, + [values.location.name]: { pathname: "/thread" }, + [values.productMode.name]: "codex", + }); + vm.runInContext(`(${text(source, callback)})();`, context); + assert.equal(calls.length, 1); + assert.deepEqual(Object.keys(calls[0].options), + ["accountKey", "auth", "location", "productMode"]); + return true; +} + +function verifyHomeRestore(target) { + const result = home.patchRspackNavigation(target.source, "restore"); + assert.equal(result.status, "already-patched"); + const markers = [home.HOME_CURRENT_MARKER, home.HOME_STATE_MARKER, home.HOME_RESTORE_MARKER]; + assert.ok(markers.every(marker => target.source.includes(marker)), "三项首页恢复条件必须存在"); + assert.match(target.source, /auth:apikey/); + assert.match(target.source, /sidebarThreadLocationId!=null/); + return true; +} + +function verifyTimeline(target) { + const result = timeline.patchSource(target.source); + assert.equal(result.status, "already-patched"); + const ast = parse(result.source, { ecmaVersion: "latest", sourceType: "module" }); + const method = nodes(ast, node => node.type === "MethodDefinition" && + property(node) === "supportsThreadTimeline" && + has(result.source, node, timeline.MARKER))[0]; + assert.ok(method); + const returned = method.value.body.body[0].argument; + let version; + const callee = returned.callee.type === "SequenceExpression" + ? returned.callee.expressions.at(-1) : returned.callee; + const versionCheck = (_host, value) => value === "supported"; + const context = vm.createContext(callee.type === "MemberExpression" + ? { [callee.object.name]: { [property(callee)]: versionCheck } } + : { [callee.name]: versionCheck }); + vm.runInContext(`class X{${text(result.source, method)}};globalThis.X=X`, context); + const value = new context.X(); + value.hostId = {}; + value.requestClient = { getAppServerVersion: () => version }; + version = "supported"; assert.equal(value.supportsThreadTimeline(), true); + version = "old"; assert.equal(value.supportsThreadTimeline(), false); + return true; +} + +function verifyMcp(target) { + const result = mcp.patchRspackSource(target.source); + assert.equal(result.status, "already-patched"); + const source = result.source, ast = parse(source, { ecmaVersion: "latest", sourceType: "module" }); + const branch = nodes(ast, node => node.type === "SwitchCase" && has(source, node, mcp.MARKER))[0]; + assert.ok(branch); + const listener = nodes(ast, node => ["ArrowFunctionExpression", "FunctionExpression"].includes(node.type) && + node.start < branch.start && node.end > branch.end) + .sort((left, right) => left.end - left.start - (right.end - right.start))[0]; + const branchText = text(source, branch); + const readiness = /\b([A-Za-z_$][\w$]*)&&\(([A-Za-z_$][\w$]*)\?\.\(\)\?\?!0\)/.exec(branchText); + const helper = /__codexReady&&([A-Za-z_$][\w$]*)\(([A-Za-z_$][\w$]*)?\)/.exec(branchText); + const threadSet = /([A-Za-z_$][\w$]*)\.add\(/.exec(branchText)?.[1]; + const helperImport = /\(0,([A-Za-z_$][\w$]*)\.([A-Za-z_$][\w$]*)\)\(n\.params\.name\)/ + .exec(branchText); + const inventoryState = /([A-Za-z_$][\w$]*)=\1\|\|/.exec(branchText)?.[1]; + const readyTimer = /([A-Za-z_$][\w$]*)\?\?=setTimeout/.exec(branchText)?.[1]; + const threadTimer = /null==([A-Za-z_$][\w$]*)&&\([A-Za-z_$][\w$]*=setTimeout/ + .exec(branchText)?.[1]; + const refresh = /\(0,([A-Za-z_$][\w$]*)\.([A-Za-z_$][\w$]*)\)\(([A-Za-z_$][\w$]*)\.queryClient,\{queryKey:\[\.\.\.([A-Za-z_$][\w$]*)\.([A-Za-z_$][\w$]*),([A-Za-z_$][\w$]*),`toolsAndAuthOnly`\]/ + .exec(branchText); + const globalHelper = /\.params\.status&&([A-Za-z_$][\w$]*)\(\(0,/.exec(branchText); + assert.ok(readiness && helper && threadSet && helperImport && globalHelper && + inventoryState && readyTimer && threadTimer && refresh); + const calls = [], timers = []; + const recordInventory = name => calls.push(["inventory", name]); + const context = vm.createContext({ + [readiness[1]]: true, [helper[1]]: recordInventory, [globalHelper[1]]: recordInventory, + [threadSet]: new Set(), + [readiness[2]]: () => true, __codexMcpThreadReadyPending: false, + [helperImport[1]]: { [helperImport[2]]: name => name }, + [refresh[4]]: { [refresh[5]]: ["mcp"] }, + [refresh[6]]: "host", + [refresh[1]]: { + [refresh[2]]: (_client, filters, options) => calls.push(["refresh", filters, options]), + }, + [refresh[3]]: { + queryClient: { + invalidateQueries: options => calls.push(["invalidate", options]), + }, + }, + [inventoryState]: undefined, + [readyTimer]: undefined, + [threadTimer]: undefined, + setTimeout: (callback, delay) => { const timer = { callback, delay }; timers.push(timer); return timer; }, + }); + vm.runInContext(`globalThis.listener=(${text(source, listener)});`, context); + const notify = (threadId, name = "plugin") => context.listener({ + method: "mcpServer/startupStatus/updated", params: { threadId, name, status: "ready" }, + }); + notify("thread-a"); notify(null); + assert.equal(timers.filter(timer => timer.delay === 250).length, 1); + assert.equal(timers.filter(timer => timer.delay === 0).length, 1); + timers.find(timer => timer.delay === 250).callback(); + assert.deepEqual(calls.filter(call => call[0] === "inventory"), [ + ["inventory", "plugin"], ["inventory", helper[2] ? "plugin" : undefined], + ]); + assert.equal(calls.filter(call => call[1]?.queryKey?.at(-1) === "toolsAndAuthOnly").length, 1); + const full = calls.find(call => call[1]?.refetchType === "none")[1]; + assert.equal(full.predicate({ queryKey: ["mcp", "local", "full"] }), true); + assert.equal(full.predicate({ queryKey: ["mcp", "local", "thread", "a", "full"] }), false); + return true; +} + +function moduleRequire(target, state) { + const exports = {}; + const imports = moduleImports(target); + const roles = new Map(); + const bindImport = (pattern, methods, label) => { + const local = pattern.exec(target.source)?.[1]; + const imported = unique(imports.filter(item => item.local === local), label); + const role = roles.get(imported.id) ?? {}; + Object.assign(role, methods); + roles.set(imported.id, role); + }; + bindImport(/\(0,([A-Za-z_$][\w$]*)\.c\)\(/, { + c: () => state.cache, + }, "Fast settings cache import"); + bindImport(/\(0,([A-Za-z_$][\w$]*)\.Ul\)\(/, { + Ul: () => state.host, + }, "Fast settings host import"); + bindImport(/\(0,([A-Za-z_$][\w$]*)\._U\)\(/, { + _U: () => ({ data: state.data, isPending: state.pending }), + }, "Fast settings query import"); + bindImport(/\(0,([A-Za-z_$][\w$]*)\.W6\)\(/, { + W6: value => value.access, + }, "Fast settings access import"); + bindImport(/\(0,([A-Za-z_$][\w$]*)\.tn\)\(/, { + tn: () => state.auth, + }, "Fast settings auth import"); + bindImport(/([A-Za-z_$][\w$]*)\.Dc\)/, { + Dc: "host", + }, "Fast settings host id import"); + bindImport(/([A-Za-z_$][\w$]*)\.b9\b/, { + b9: "query", + }, "Fast settings query key import"); + const namespace = id => new Proxy({}, { + get(_target, name) { + if (name === "then") return undefined; + return roles.get(id)?.[name]; + }, + }); + const root = new Proxy(function require() {}, { + get(_target, name) { + if (name === "then") return undefined; + if (name === "d") return (value, _first, second) => Object.assign(value, second ?? _first); + return undefined; + }, + apply(_target, _thisArg, [id]) { return namespace(String(id)); }, + }); + vm.runInContext(target.source, vm.createContext({ + [target.requireName]: root, [target.exportsName]: exports, + })); + return exports; +} + +function verifyFastSettings(target) { + const result = fast.patchRspackSource(target.source, "settings"); + assert.equal(result.status, "already-patched"); + const state = {}; + const exports = moduleRequire(target, state); + const useAccess = Object.values(exports).find(value => typeof value === "function"); + const run = (auth, pending) => { + Object.assign(state, { + auth, pending, cache: Array(12).fill(Symbol()), host: {}, + data: { access: { fast: false, ultrafast: true } }, + }); + return useAccess({}); + }; + assert.deepEqual(JSON.parse(JSON.stringify(run({ authMethod: "apikey" }, true))), { + serviceTierAccess: { fast: true, ultrafast: true }, isLoading: false, + }); + assert.equal(run({ authMethod: "chatgpt" }, true).serviceTierAccess, null); + assert.deepEqual(JSON.parse(JSON.stringify(run({ authMethod: "chatgpt" }, false).serviceTierAccess)), + { fast: false, ultrafast: true }); + return true; +} + +async function verifyFastRequest(target) { + const source = fast.patchRspackSource(target.source, "request").source; + const exported = moduleExports({ ...target, source })[0]; + const imports = moduleImports(target); + const requestFunction = parse(`(${exported.value})`, { ecmaVersion: "latest" }) + .body[0].expression; + const [requestContext, requestHost] = requestFunction.params.map(param => param.name); + assert.ok(requestContext && requestHost, "Fast 请求函数参数结构未知"); + let authMethod, requirements = 0; + const roles = new Map(); + const bindImport = (pattern, methods, label) => { + const local = pattern.exec(source)?.[1]; + const imported = unique(imports.filter(item => item.local === local), label); + const role = roles.get(imported.id) ?? {}; + Object.assign(role, methods); + roles.set(imported.id, role); + }; + bindImport(new RegExp(`\\(0,([A-Za-z_$][\\w$]*)\\.s\\)\\(${requestContext},${requestHost}\\)`), { + s: async () => authMethod, + }, "service tier auth import"); + bindImport(new RegExp(`\\(0,([A-Za-z_$][\\w$]*)\\.Wr\\)\\(${requestContext},${requestHost},\\{`), { + Wr: async () => { + requirements++; + return { access: { fast: false, ultrafast: false } }; + }, + }, "service tier requirements import"); + bindImport(/\(0,([A-Za-z_$][\w$]*)\.W6\)\([A-Za-z_$][\w$]*\)/, { + W6: value => value.access, + }, "service tier access import"); + bindImport(/\(0,([A-Za-z_$][\w$]*)\.E_\)\(/, { + E_: (...args) => args.at(-1), + }, "service tier result import"); + bindImport(/\(0,([A-Za-z_$][\w$]*)\.qh\)\(/, { + qh: (_value, fallback) => fallback, + }, "service tier config import"); + bindImport(/\(0,([A-Za-z_$][\w$]*)\.ig\)\(/, { + ig: async () => ({ config: {} }), + }, "service tier config loader import"); + bindImport(/\(0,([A-Za-z_$][\w$]*)\.Y\$\)\(/, { + Y$: () => ({ service_tier: {}, model: "fixture" }), + }, "service tier model config import"); + bindImport(/return ([A-Za-z_$][\w$]*)\.v\.error/, { + v: { error() {} }, + }, "service tier logger import"); + const namespace = id => new Proxy({}, { + get(_target, name) { + if (name === "then") return undefined; + return roles.get(id)?.[name]; + }, + }); + const root = new Proxy(function require() {}, { + get(_target, name) { + if (name === "then") return undefined; + if (name === "d") return (value, _first, second) => Object.assign(value, second ?? _first); + return undefined; + }, + apply(_target, _thisArg, [id]) { return namespace(String(id)); }, + }); + const context = vm.createContext({ [target.requireName]: root, [target.exportsName]: {} }); + vm.runInContext(target.source, context); + vm.runInContext(`globalThis.request=(${exported.value})`, context); + const store = { query: { setData() {} }, get: () => ({ type: "fromConfig" }) }; + for (const method of ["apikey", "chatgpt", "personalAccessToken", "amazonBedrock", "copilot"]) { + authMethod = method; requirements = 0; + const value = await context.request(store, "local", "model", undefined); + const expected = method === "apikey" ? { fast: true, ultrafast: true } + : method === "copilot" ? null : { fast: false, ultrafast: false }; + assert.deepEqual(JSON.parse(JSON.stringify(value)), expected, method); + assert.equal(requirements, ["chatgpt", "personalAccessToken", "amazonBedrock"].includes(method) ? 1 : 0); + } + return true; +} + +function verifyAppearance(index, settingsTargets, themeTargets) { + for (const target of settingsTargets) { + assert.equal(accent.patchSettingsSource(target.source).status, "already-patched"); + } + const runtime = fs.readFileSync(path.join(index.assets, accent.MODULE), "utf8"); + assert.ok(sameText(runtime, fs.readFileSync(path.join(__dirname, "runtime", "accent-presets.mjs"), "utf8"))); + for (const target of themeTargets) { + const theme = accent.patchThemeSource(target.source); + assert.equal(theme.status, "already-patched"); + const ast = parse(theme.source, { ecmaVersion: "latest", sourceType: "module" }); + const injected = unique(nodes(ast, node => node.type === "VariableDeclaration" && + node.declarations.some(item => item.id.name === "__codexAccentPreset")), "主题注入"); + const renderer = smallest(theme.source, ["FunctionDeclaration"], injected.start); + const injectedIf = nodes(renderer, node => node.type === "IfStatement" && + has(theme.source, node, "__codexAccentPreset"))[0]; + assert.ok(injected && injectedIf && has(theme.source, injectedIf, "accentSource:`chatgpt`")); + } + const readingRuntime = fs.readFileSync(path.join(index.assets, "codex-rebuild-reading-width.js"), "utf8"); + assert.ok(sameText(readingRuntime, + fs.readFileSync(path.join(__dirname, "runtime", "reading-width.mjs"), "utf8"))); + const settings = fs.readFileSync(path.join(index.assets, "codex-rebuild-reading-width.js"), "utf8"); + assert.match(settings, /MIN_WIDTH_PERCENT = 50/); + assert.match(settings, /MAX_WIDTH_PERCENT = 100/); + assert.match(settings, /WIDTH_STEP = 5/); + assert.match(settings, /type: "range"/); + return true; +} + +function verifyReading(index, settingsTarget) { + assert.equal(reading.patchSettings(settingsTarget.source), settingsTarget.source, + "阅读宽度设置必须已是完整补丁"); + assert.match(settingsTarget.source, /jsx\)\(__CodexRebuildReadingWidth/); + assert.match(settingsTarget.source, /codex-rebuild-reading-width:visual-card/); + const entries = findFrontendModules(index.assets, { + all: ["thread-content-responsive-max-width", "@max-thread-expanded/app-shell-main-content:"], + }); + assert.ok(entries.length, "正文响应宽度入口模块必须存在"); + for (const target of entries) { + assert.match(target.chunkSource, /import "\.\.\/codex-rebuild-reading-width\.js";/, + `${target.file}: 正文入口必须加载阅读宽度 runtime`); + } + const dialogs = index.copies("codex-rebuild-dialog-default", "对话框尺寸"); + for (const target of dialogs) { + assert.equal(reading.patchDialogs(target.source), target.source, + "对话框尺寸必须已是完整补丁"); + assert.match(target.source, /codex-rebuild-dialog-editor/); + } + return true; +} + +function verifyHidden(petTargets, inviteTargets) { + assert.ok(petTargets.length && inviteTargets.length); + for (const target of petTargets) { + assert.equal(pet.patchSource(target.source).status, "already-patched"); + assert.equal(target.source.split(pet.MARKER).length - 1, 1); + assert.match(target.source, /codex-rebuild-hide-pet-menu \*\/null/); + } + for (const target of inviteTargets) { + assert.equal(invite.patchSource(target.source).status, "already-patched"); + assert.equal(target.source.split(invite.MARKER).length - 1, 1); + assert.match(target.source, /codex-rebuild-hide-invite-menu \*\/null/); + } + return true; +} + +function verifyRemote(index) { + const accounts = index.modules.filter(module => + ["authenticatedAccountId", "authLoading", "supportedSurface", "hasChatGptToken"] + .every(value => module.source.includes(value)) && + module.source.includes("accountId:null,accountLoading:!0,")); + assert.ok(accounts.length, "Remote Control 当前账户模块必须存在"); + assert.equal(new Set(accounts.map(module => module.id)).size, 1); + const auth = accounts[0], authAst = parse(auth.source, { + ecmaVersion: "latest", sourceType: "script", allowReturnOutsideFunction: true, + }); + const atom = unique(nodes(authAst, node => node.type === "VariableDeclarator" && + node.init?.type === "CallExpression" && + ["accountLoading", "authLoading", "requiresAuth", "supportedSurface"] + .every(value => has(auth.source, node.init, value))), "当前账户 Atom"); + const exported = unique(moduleExports(auth).filter(item => item.value === atom.id.name)); + const targets = index.modules.filter(module => + module.source.includes(remote.MARKER) && + module.source.includes("CodexRebuildRemoteControlGateAuthIsolation")); + assert.ok(targets.length); + for (const target of targets) assert.equal(remote.patchRspackSource(target.source, { + requireName: target.requireName, authId: auth.id, authExport: exported.exported, + }).status, "already-patched"); + return true; +} + +function verifySidebarWithExistingSmoke(assets) { + const result = spawnSync(process.execPath, [ + path.join(__dirname, "sidebar-usage-smoke.js"), "--assets", assets, + ], { encoding: "utf8", env: process.env, maxBuffer: 16 * 1024 * 1024 }); + assert.equal(result.status, 0, result.stdout + result.stderr); + return result.stdout.trim(); +} + +function verifyRspackFrontend(assets) { + const index = moduleIndex(path.resolve(assets)); + const metadata = quota.rspackProviderMetadata(index.assets); + const quotaCopies = index.copies(quota.MARKER, "Provider quota"); + assert.ok(quotaCopies.length, "Provider Composer 必须存在"); + assert.equal(new Set(quotaCopies.map(target => target.id)).size, 1, + "Provider Composer 副本必须来自同一原生模块"); + quotaCopies.forEach(target => verifyQuota(index, target, metadata)); + + const trackers = index.copies(home.MARKER, "首页记录器"); + const restores = index.copies(home.HOME_CURRENT_MARKER, "首页恢复"); + trackers.forEach(target => verifyHomeRecorder(index, target)); + restores.forEach(verifyHomeRestore); + index.copies(timeline.MARKER, "timeline").forEach(verifyTimeline); + index.copies(mcp.MARKER, "MCP").forEach(verifyMcp); + verifyRemote(index); + + const settingsCopies = index.copies(fast.SETTINGS_ACCESS_MARKER, "Fast 设置"); + const requestCopies = index.copies(fast.REQUEST_ACCESS_MARKER, "Fast 请求"); + assert.ok(settingsCopies.length && requestCopies.length, "Fast 设置和请求模块必须存在"); + assert.equal(new Set(settingsCopies.map(target => target.id)).size, 1, + "Fast 设置副本必须来自同一原生模块"); + assert.equal(new Set(requestCopies.map(target => target.id)).size, 1, + "Fast 请求副本必须来自同一原生模块"); + settingsCopies.forEach(verifyFastSettings); + requestCopies.forEach(target => assert.equal( + fast.patchRspackSource(target.source, "request").status, "already-patched")); + + const accentSettings = index.copies(accent.SETTINGS_MARKER, "强调色设置"); + const themes = index.copies(accent.THEME_MARKER, "强调色主题"); + verifyAppearance(index, accentSettings, themes); + const readingSettings = unique(findFrontendModules(index.assets, { + all: ["settings.appearance.visualStyle", "chatgptAccentPicker.ChatGptAccentPicker.updateError"], + }), "外观设置"); + verifyReading(index, readingSettings); + verifyHidden(index.copies(pet.MARKER, "Pet"), index.copies(invite.MARKER, "邀请")); + + return Promise.all(requestCopies.map(verifyFastRequest)) + .then(() => sidebar.findRspackSidebarTarget(index.assets)) + .then(target => { + assert.ok(target.usageAtomExpression); + const output = verifySidebarWithExistingSmoke(index.assets); + return { + passed: true, + quotaScenarios: quotaCopies.length * 13, + quotaCopies: quotaCopies.length, + fastSettingsCopies: settingsCopies.length, + fastRequestCopies: requestCopies.length, + apiKeyHomeNavigation: true, + threadTimelineEnabled: true, + mcpStatusRefreshGoverned: true, + remoteControlAuthIsolated: true, + apiKeyServiceTiers: true, + nativeAppearanceRow: true, + nativeAccentThemePipeline: true, + dialogHeightPreserved: true, + sidebarUsage: output, + sharedUsageAtom: target.usageAtomExpression, + }; + }); +} + +if (require.main === module) { + verifyRspackFrontend(path.resolve(process.argv[2] || "src/win/_asar/webview/assets")) + .then(result => console.log(JSON.stringify(result, null, 2))) + .catch(error => { + console.error(error); + process.exitCode = 1; + }); +} + +module.exports = { moduleIndex, verifyMcp, verifyRspackFrontend }; diff --git a/scripts/frontend-source-smoke.js b/scripts/frontend-source-smoke.js new file mode 100644 index 00000000..7692679a --- /dev/null +++ b/scripts/frontend-source-smoke.js @@ -0,0 +1,213 @@ +#!/usr/bin/env node +/** 在真实已补丁资源上执行发送门槛表达式;未知结构不能当通过。 */ +const fs = require("node:fs"); +const path = require("node:path"); +const vm = require("node:vm"); +const assert = require("node:assert/strict"); +const { parse } = require("acorn"); +const { isRspackFrontend } = require("./rspack-util"); +function walk(node, visit) { + if (!node || typeof node !== "object") return; + if (node.type) visit(node); + for (const value of Object.values(node)) { + if (Array.isArray(value)) value.forEach(child => walk(child, visit)); + else if (value?.type) walk(value, visit); + } +} +function verifyFrontendSource(assets) { + if (isRspackFrontend(assets)) { + return require("./frontend-rspack-smoke").verifyRspackFrontend(assets); + } + const files = fs.readdirSync(assets).filter(name => name.endsWith(".js")); + const markers = ["const __codexQuotaThreadProvider=", "codex-rebuild-local-accent-presets:theme", + "Codex:API-key 首页使用官方记录器。", "CodexRebuildThreadTimeline", "CodexRebuildMcpStatusRefresh", + "CodexRebuildRemoteControlAuthIsolation", "CodexRebuildRemoteControlGateAuthIsolation", + "CodexRebuildServiceTierApiKeyRequest", "CodexRebuildSidebarUsage"]; + const markedSources = new Map(); + for (const name of files) { + const text = fs.readFileSync(path.join(assets, name), "utf8"); + if (markers.some(marker => text.includes(marker))) markedSources.set(name, text); + } + const markedSource = marker => { + const matches = [...markedSources.values()].filter(source => source.includes(marker)); + assert.equal(matches.length, 1, `补丁标记必须唯一:${marker}`); + return matches[0]; + }; + // 编译器会移动组件;实际补丁标记和后续契约检查共同定位,不绑定 chunk 名称。 + const source = markedSource("const __codexQuotaThreadProvider="), ast = parse(source, { ecmaVersion: "latest", sourceType: "module" }); + let guard, disabled, config, scope, quota = [], loading; + walk(ast, node => { + if (node.type === "VariableDeclaration" && node.declarations.some(d => d.id.name === "__codexUsesCustomProvider")) guard = node; + if (node.type === "VariableDeclarator" && node.init?.type === "LogicalExpression" && source.slice(node.init.start, node.init.end).includes("!__codexUsesCustomProvider")) disabled = node; + }); + assert.ok(guard && disabled); + walk(guard, node => { + if (node.type === "MemberExpression" && node.property.name === "isConfigDataPending") config = node.object.name; + if (node.type === "MemberExpression" && node.property.name === "kind") scope = node.object.object.name; + }); + const names = new Set(); + walk(disabled.init, node => { + if (node.type === "Identifier") names.add(node.name); + if (node.type === "LogicalExpression" && node.left?.type === "UnaryExpression" && node.left.argument.name === "__codexUsesCustomProvider") quota.push(node.right.name); + if (node.type === "MemberExpression" && node.property.name === "isLoading") loading = node.object.name; + }); + assert.equal(quota.length, 2); assert.ok(config && scope && loading); + const lookup = guard.declarations[0].init; + // 新 Composer 通过导出初始化器读取跨模块会话 atom;执行生成表达式,保留初始化调用。 + const providerRead = lookup.type === "SequenceExpression" ? lookup.expressions.at(-1) : lookup; + assert.equal(providerRead.type, "CallExpression"); + assert.equal(providerRead.callee.type, "Identifier"); + assert.equal(providerRead.arguments.length, 2); + const providerInitializers = lookup.type === "SequenceExpression" ? lookup.expressions.slice(0, -1) : []; + for (const initializer of providerInitializers) { + assert.equal(initializer.type, "CallExpression"); + assert.equal(initializer.callee.type, "Identifier"); + assert.equal(initializer.arguments.length, 0); + } + const external = { base_url: "https://provider.example/v1", requires_openai_auth: true }; + const scenarios = [ + { name: "第三方服务不受官方额度禁发", provider: "local", endpoint: external, expected: false }, + { name: "保存的官方任务不跟随全局第三方", saved: "openai", provider: "local", endpoint: external, expected: true }, + { name: "保存的第三方任务优先", saved: "local", provider: "openai", endpoint: external, expected: false }, + { name: "官方保留额度限制", provider: "openai", endpoint: external, expected: true }, + { name: "第三方无端点仍受保护", provider: "local", endpoint: {}, expected: true }, + { name: "ChatGPT 端点仍受保护", provider: "local", endpoint: { base_url: "https://chatgpt.com/backend-api/codex" }, expected: true }, + { name: "ChatGPT 子域仍受保护", provider: "local", endpoint: { base_url: "https://api.chatgpt.com./" }, expected: true }, + { name: "非法端点保留限制", provider: "local", endpoint: { base_url: "file:///tmp" }, expected: true }, + { name: "配置未就绪保留限制", provider: "local", endpoint: external, pending: true, expected: true }, + { name: "云任务不绕过", provider: "local", endpoint: external, kind: "cloud", expected: true }, + { name: "新建本地允许第三方", provider: "local", endpoint: external, kind: "new", expected: false }, + { name: "新建云原型不绕过", provider: "local", endpoint: external, kind: "new", cloud: true, expected: true }, + { name: "第三方真实加载错误仍阻止发送", provider: "local", endpoint: external, loading: true, expected: true }, + ]; + const results = []; + for (const scenario of scenarios) { + const context = Object.fromEntries([...names].map(name => [name, false])); + let initialized = providerInitializers.length === 0; + for (const initializer of providerInitializers) context[initializer.callee.name] = () => { initialized = true; }; + Object.assign(context, { URL, [config]: { isConfigDataPending: !!scenario.pending, resolvedConfig: { model_provider: scenario.provider, model_providers: { local: scenario.endpoint } } }, + [scope]: { value: { kind: scenario.kind || "local", cloudThreadPrototype: scenario.cloud } }, [loading]: { isLoading: !!scenario.loading }, + [providerRead.callee.name]: () => { assert.ok(initialized, "会话 Provider atom 必须先初始化"); return scenario.saved; }, + [providerRead.arguments[0].name]: null, [providerRead.arguments[1].name]: "fixture-thread" }); + for (const name of quota) context[name] = true; + const actual = vm.runInNewContext(source.slice(guard.start, guard.end) + `\nBoolean(${source.slice(disabled.init.start, disabled.init.end)})`, context, { timeout: 1000 }); + assert.equal(actual, scenario.expected, scenario.name); results.push(scenario.name); + } + const settings = files.filter(name => /^general-settings-/.test(name) + && fs.readFileSync(path.join(assets, name), "utf8").includes("settings.appearance.visualStyle")); assert.equal(settings.length, 1); + const settingsSource = fs.readFileSync(path.join(assets, settings[0]), "utf8"); + assert.match(settingsSource, /jsx\)\(__CodexRebuildReadingWidth/); + assert.match(settingsSource, /codex-rebuild-reading-width:visual-card/); + assert.match(settingsSource, /codex-rebuild-local-accent-presets:settings/); + assert.match(settingsSource, /codex-rebuild-accent-presets\.js/); + assert.match(settingsSource, /__codexSelectAccentPreset/); + const themeSource = markedSource("codex-rebuild-local-accent-presets:theme"); + assert.match(themeSource, /__codexResolveAccentPreset/); + assert.match(themeSource, /accentSource:`chatgpt`/); + const navigationSource = markedSource("Codex:API-key 首页使用官方记录器。"); + const recorder = /\/\* Codex:API-key 首页使用官方记录器。 \*\/if\([A-Za-z_$][\w$]*===`apikey`\)\{([A-Za-z_$][\w$]*)\([A-Za-z_$][\w$]*,\{accountKey:`auth:apikey`,auth:[A-Za-z_$][\w$]*,location:[A-Za-z_$][\w$]*,productMode:[A-Za-z_$][\w$]*\}\);return;\}/.exec(navigationSource); + assert.ok(recorder, "API-key 首页必须调用结构完整的官方记录器"); + // 校验实际调用契约,不绑定压缩函数名;仍要求与原生五字段调用共用唯一记录器。 + const navigationAst = parse(navigationSource, { ecmaVersion: "latest", sourceType: "module" }); + let recorderDefinitions = 0, officialRecorderCalls = 0; + walk(navigationAst, node => { + if (node.type === "FunctionDeclaration" && node.id?.name === recorder[1]) recorderDefinitions++; + if (node.type !== "CallExpression" || node.callee?.name !== recorder[1] || + node.arguments.length !== 2 || node.arguments[0]?.type !== "Identifier" || + node.arguments[1]?.type !== "ObjectExpression") return; + const properties = node.arguments[1].properties; + if (properties.length === 5 && ["accountKey", "auth", "location", "productMode", "destinationId"] + .every(name => properties.filter(property => property.key?.name === name && + property.value?.type === "Identifier").length === 1)) officialRecorderCalls++; + }); + assert.equal(recorderDefinitions, 1, "官方首页记录器定义必须唯一"); + assert.equal(officialRecorderCalls, 1, "官方首页五字段记录调用必须唯一"); + assert.doesNotMatch(navigationSource, /Codex:API-key 首页记录真实会话。/); + assert.match(navigationSource, + /\([A-Za-z_$][\w$]*\|\|\/\* Codex:API-key 首页保持当前位置。 \*\/[A-Za-z_$][\w$]*===`auth:apikey`&&[A-Za-z_$][\w$]*===`home`\)&&[A-Za-z_$][\w$]*!=null/); + assert.match(navigationSource, + /&&\([A-Za-z_$][\w$]*\([^)]*\)===[A-Za-z_$][\w$]*\|\|\/\* Codex:API-key 首页保持当前。 \*\/[A-Za-z_$][\w$]*\.state\?\.sidebarThreadLocationId!=null\)/); + assert.match(navigationSource, + /\(\s*[A-Za-z_$][\w$]*\|\|\/\* Codex:API-key 首页从其他页面恢复会话。 \*\/[A-Za-z_$][\w$]*===`auth:apikey`&&[A-Za-z_$][\w$]*===`home`\s*\)\?/); + assert.doesNotMatch(navigationSource, /Codex:API-key 当前首页保持会话/); + assert.doesNotMatch(navigationSource, /Codex:API-key 首页保持状态会话/); + assert.doesNotMatch(navigationSource, /Codex:API-key 首页恢复最近会话/); + assert.doesNotMatch(navigationSource, /Codex:API-key 首页恢复写入/); + assert.doesNotMatch(navigationSource, /authMethod:__codexAuthMethod/); + const timelineSource = markedSource("CodexRebuildThreadTimeline"); + assert.match(timelineSource, + /supportsThreadTimeline\(\)\{return\s*[A-Za-z_$][\w$]*\(this\.hostId,this\.requestClient\.getAppServerVersion\(\)\)\/\* CodexRebuildThreadTimeline \*\//); + const mcpRefreshSource = markedSource("CodexRebuildMcpStatusRefresh"); + assert.match(mcpRefreshSource, /toolsAndAuthOnly/); + assert.match(mcpRefreshSource, /mention-discovery/); + assert.match(mcpRefreshSource, /refetchType:`none`/); + assert.match(mcpRefreshSource, /===`full`/); + assert.match(mcpRefreshSource, /CodexRebuildMcpStatusRefresh \*\/\)\},250\)/); + const remoteControlSource = markedSource("CodexRebuildRemoteControlAuthIsolation"); + const remoteGateSource = markedSource("CodexRebuildRemoteControlGateAuthIsolation"); + assert.match(remoteControlSource, /__codexRemoteAccount\?\.authMethod!==`chatgpt`/); + // 新版官方目录 atom 为只读派生值;旧版仍需清理可写存储,二者均校验认证隔离。 + assert.equal(require("./patch-remote-control").patchSource(remoteControlSource).status, "already-patched"); + if (!remoteControlSource.includes("CodexRebuildRemoteControlCatalog")) { + assert.match(remoteControlSource, /__codexSetRemoteEnabled\(!1\)/); + } + assert.match(remoteGateSource, /__codexRemoteGateAccount\?\.authMethod===`chatgpt`/); + assert.match(remoteGateSource, /__codexRemoteGateAccount\?\.authLoading/); + assert.doesNotMatch(remoteControlSource, /codex-remote-gate:/); + assert.doesNotMatch(remoteGateSource, /codex-remote-gate:/); + const serviceTierSource = markedSource("CodexRebuildServiceTierApiKeyRequest"); + assert.match(serviceTierSource, /CodexRebuildServiceTierApiKeyAuth/); + assert.match(serviceTierSource, /CodexRebuildServiceTierApiKeyAccess/); + assert.match(serviceTierSource, /\{fast:!0,ultrafast:!0\}\/\* CodexRebuildServiceTierApiKeyRequest \*\//); + const accentModule = fs.readFileSync(path.join(assets, "codex-rebuild-accent-presets.js"), "utf8"); + assert.match(accentModule, /ACCENT_PRESET_STORAGE_KEY = "accentPreset"/); + assert.match(accentModule, /readSettings/); + assert.match(accentModule, /writeSettings/); + assert.doesNotMatch(accentModule, /localStorage/); + assert.match(accentModule, /export function resolveAccentPreset/); + assert.match(accentModule, /preset == null \|\| preset === "default" \? "blue" : preset/); + assert.match(accentModule, /CUSTOM_ACCENT_PRESET = "custom"/); + assert.doesNotMatch(accentModule, /getComputedStyle|#[0-9a-f]{6}/i); + const readingModule = fs.readFileSync(path.join(assets, "codex-rebuild-reading-width.js"), "utf8"); + assert.match(readingModule, /MIN_WIDTH_PERCENT = 50/); + assert.match(readingModule, /MAX_WIDTH_PERCENT = 100/); + assert.match(readingModule, /WIDTH_STEP = 5/); + assert.match(readingModule, /type: "range"/); + assert.match(readingModule, /markdownBoldColorMode/); + assert.match(readingModule, /\.\/rebuild-settings\.mjs/); + assert.doesNotMatch(readingModule, /localStorage/); + const settingsClient = fs.readFileSync(path.join(assets, "rebuild-settings.mjs"), "utf8"); + assert.match(settingsClient, /electronBridge\?\.rebuildSettings/); + assert.match(settingsClient, /bridge\.read\(\)/); + assert.match(settingsClient, /bridge\.write\(patch\)/); + assert.doesNotMatch(settingsClient, /localStorage/); + assert.match(readingModule, /--app-color-text-accent/); + assert.doesNotMatch(readingModule, /--color-token-charts-green|--green-500|#00a240/); + assert.doesNotMatch(readingModule, /设置无效|请重新选择/); + const shared = files.filter(name => /^app-shared-/.test(name) && fs.readFileSync(path.join(assets, name), "utf8").includes("codex-rebuild-dialog-default")); + assert.equal(shared.length, 1); + const dialogs = fs.readFileSync(path.join(assets, shared[0]), "utf8"); + const inviteMenus = files.filter(name => /^profile-dropdown-items-.*\.js$/.test(name)); + assert.equal(inviteMenus.length, 1); + assert.equal(require("./patch-hide-invite-menu").patchSource( + fs.readFileSync(path.join(assets, inviteMenus[0]), "utf8")).status, "already-patched"); + const usagePatch = require("./patch-sidebar-usage"); + const usageDependencies = files.filter(name => /^app-initial-.*\.js$/.test(name)) + .map(name => ({ name, source: fs.readFileSync(path.join(assets, name), "utf8") })); + assert.equal(usagePatch.patchSource(markedSource("CodexRebuildSidebarUsage"), { + relatedSources: usageDependencies, + }).status, "already-patched"); + assert.equal(fs.readFileSync(path.join(assets, usagePatch.MODULE), "utf8"), + fs.readFileSync(path.join(__dirname, "runtime", "sidebar-usage.mjs"), "utf8")); + assert.match(dialogs, /codex-rebuild-dialog-editor h-\[720px\] max-w-full max-h-full/); + return { passed: true, quotaScenarios: results, apiKeyHomeNavigation: true, threadTimelineEnabled: true, mcpStatusRefreshGoverned: true, remoteControlAuthIsolated: true, apiKeyServiceTiers: true, nativeAppearanceRow: true, nativeAccentThemePipeline: true, dialogHeightPreserved: true }; +} +if (require.main === module) { + Promise.resolve(verifyFrontendSource(path.resolve(process.argv[2] || "src/win/_asar/webview/assets"))) + .then(result => console.log(JSON.stringify(result, null, 2))) + .catch(error => { + console.error(error); + process.exitCode = 1; + }); +} +module.exports = { verifyFrontendSource }; diff --git a/scripts/maintenance-smoke.js b/scripts/maintenance-smoke.js new file mode 100644 index 00000000..f881e520 --- /dev/null +++ b/scripts/maintenance-smoke.js @@ -0,0 +1,266 @@ +#!/usr/bin/env node +/** 可重复的维护链功能测试:使用合成制品与 Electron 替身,不宣称 GUI 已验收。 */ +const fs = require("node:fs"); +const path = require("node:path"); +const os = require("node:os"); +const crypto = require("node:crypto"); +const assert = require("node:assert/strict"); +const { spawnSync } = require("node:child_process"); +const { requiredChecks, saveCompatibilityEvidence } = require("./windows-maintenance"); +const temporary = fs.mkdtempSync(path.join(os.tmpdir(), "codex-maintenance-smoke-")); +const scriptRoot = __dirname; +const hash = (value) => crypto.createHash("sha256").update(value).digest("hex"); +const write = (file, value) => { fs.mkdirSync(path.dirname(file), { recursive: true }); fs.writeFileSync(file, value); }; +const json = (file, value) => write(file, JSON.stringify(value)); +let checks = 0; +function run(script, args, expected = 0, env = {}) { + const result = spawnSync(process.execPath, [path.join(scriptRoot, script), ...args], { + encoding: "utf8", env: { ...process.env, GITHUB_ACTIONS: "false", GITHUB_OUTPUT: "", GITHUB_STEP_SUMMARY: "", ...env }, + }); + assert.equal(result.error, undefined); + if (expected === 0) assert.equal(result.status, 0, result.stdout + result.stderr); + else assert.notEqual(result.status, 0, "本应拒绝此输入"); + checks++; + return result; +} +try { + if (process.platform === "win32") { + const env = require("./windows-runtime-checks").isolatedEnvironment(path.join(temporary, "native-profile")); + const native = spawnSync("pwsh", ["-NoProfile", "-Command", "[pscustomobject]@{appData=[Environment]::GetFolderPath([Environment+SpecialFolder]::ApplicationData);local=[Environment]::GetFolderPath([Environment+SpecialFolder]::LocalApplicationData)}|ConvertTo-Json -Compress"], { env, encoding: "utf8" }); + assert.equal(native.status, 0, native.stderr); + const actual = JSON.parse(native.stdout); + assert.equal(path.resolve(actual.appData).toLowerCase(), env.APPDATA.toLowerCase()); + assert.equal(path.resolve(actual.local).toLowerCase(), env.LOCALAPPDATA.toLowerCase()); checks++; + } + run("windows-maintenance.js", ["candidate"], 1); + const discoveryPreload = path.join(temporary, "discovery-preload.cjs"); + write(discoveryPreload, `const target=require.resolve(${JSON.stringify(path.join(scriptRoot, "fetch-msstore.js"))}); require.cache[target]={id:target,filename:target,loaded:true,exports:{getCookie:async()=>"cookie",getAppInfo:async()=>({categoryId:"fixture"}),getFileList:async()=>["26.1007.9446.0","26.917.71314.0","26.1007.2314.0"].map(v=>({name:"OpenAI.Codex_"+v+"_x64__2p2nqsd0c76g0.msix",size:"10",digest:Buffer.alloc(20).toString("base64"),updateID:v,revisionNumber:"1"})),getDownloadUrl:async()=>"https://tlu.dl.delivery.mp.microsoft.com/fixture.msix"}};`); + const discoveryOutput = path.join(temporary, "discovery.json"); + const discoveryCache = path.join(temporary, "discovery-cache"); + const observed = path.join(temporary, "observed.json"); + json(observed, { schemaVersion: 1, upstream: { version: "26.1007.9446.0" } }); + const discovered = spawnSync(process.execPath, ["--require", discoveryPreload, path.join(scriptRoot, "windows-maintenance.js"), "discover", "--out", discoveryOutput, "--stable-manifest", observed], { encoding: "utf8", env: { ...process.env, GITHUB_OUTPUT: "" } }); + assert.equal(discovered.status, 0, discovered.stderr); + assert.match(discovered.stdout, /has_update=false/); + assert.equal(JSON.parse(fs.readFileSync(discoveryOutput)).version, "26.1007.9446.0"); + checks++; + const missingDiscoveryCache = spawnSync(process.execPath, ["--require", discoveryPreload, path.join(scriptRoot, "windows-maintenance.js"), "discover"], { + encoding: "utf8", env: { ...process.env, CODEX_SYNC_DIR: "", GITHUB_OUTPUT: "" }, + }); + assert.notEqual(missingDiscoveryCache.status, 0); + assert.match(missingDiscoveryCache.stderr, /缺少 CODEX_SYNC_DIR/); + const cachedDiscovery = spawnSync(process.execPath, ["--require", discoveryPreload, path.join(scriptRoot, "windows-maintenance.js"), "discover"], { + encoding: "utf8", env: { ...process.env, CODEX_SYNC_DIR: discoveryCache, GITHUB_OUTPUT: "" }, + }); + assert.equal(cachedDiscovery.status, 0, cachedDiscovery.stderr); + assert.equal(JSON.parse(fs.readFileSync(path.join(discoveryCache, "windows-discovery.json"))).version, "26.1007.9446.0"); + checks += 2; + json(observed, { schemaVersion: 1, upstream: { version: "26.1007.2314.0" } }); + const changed = spawnSync(process.execPath, ["--require", discoveryPreload, path.join(scriptRoot, "windows-maintenance.js"), "discover", "--out", discoveryOutput, "--stable-manifest", observed], { encoding: "utf8", env: { ...process.env, GITHUB_OUTPUT: "" } }); + assert.equal(changed.status, 0, changed.stderr); + assert.match(changed.stdout, /has_update=true/); + checks++; + for (const mode of ["commonjs", "module"]) { + const source = path.join(temporary, mode, "src"); + const asar = path.join(source, "win", "_asar"); + const testRoot = path.join(temporary, mode, "isolated"); + json(path.join(asar, "package.json"), { type: mode, main: "bootstrap.js" }); + const nativeImport = mode === "module" ? 'import {app} from "electron";' : 'const {app}=require("electron");'; + write(path.join(asar, "bootstrap.js"), '"use strict";\n' + nativeImport + '\nfunction resolveUserData({env}){return env.CODEX_ELECTRON_USER_DATA_PATH;} app.setName("fixture"),app.setPath("userData",resolveUserData({env:process.env})); app.requestSingleInstanceLock(); console.log("fixture started");\n'); + const mock = 'let data="",session="",named=false; exports.app={setName:()=>named=true,setPath:(k,v)=>{if(!named)throw Error("Owl path API too early");if(k==="userData")data=v;if(k==="sessionData")session=v;},getPath:k=>k==="sessionData"?session:data,requestSingleInstanceLock:()=>{if(session!==data)throw Error("sessionData not isolated before lock");return true;},whenReady:()=>Promise.resolve(),exit:()=>{process.exitCode=1;}};'; + json(path.join(asar, "node_modules", "electron", "package.json"), { type: "commonjs", main: "index.js" }); + write(path.join(asar, "node_modules", "electron", "index.js"), mock); + const entry = path.join(asar, "bootstrap.js"); + const before = fs.readFileSync(entry); + run("patch-test-isolation.js", ["win", "--check"], 0, { CODEX_PATCH_SOURCE_DIR: source }); + assert.deepEqual(fs.readFileSync(entry), before); + run("patch-test-isolation.js", ["win"], 0, { CODEX_PATCH_SOURCE_DIR: source }); + const patched = fs.readFileSync(entry); + run("patch-test-isolation.js", ["win"], 0, { CODEX_PATCH_SOURCE_DIR: source }); + assert.deepEqual(fs.readFileSync(entry), patched); + if (mode === "commonjs") { + run("patch-crash-forensics.js", ["win", "--check"], 0, { CODEX_PATCH_SOURCE_DIR: source }); + assert.deepEqual(fs.readFileSync(entry), patched); + run("patch-crash-forensics.js", ["win"], 0, { CODEX_PATCH_SOURCE_DIR: source }); + const combined = fs.readFileSync(entry); + assert.ok(combined.indexOf('require("./codex-rebuild-test-environment.cjs")') < combined.indexOf("__CODEX_CRASH_FORENSICS_V4__")); + run("patch-test-isolation.js", ["win", "--check"], 0, { CODEX_PATCH_SOURCE_DIR: source }); + run("patch-crash-forensics.js", ["win"], 0, { CODEX_PATCH_SOURCE_DIR: source }); + assert.deepEqual(fs.readFileSync(entry), combined, "隔离与诊断组合重复应用不能继续改写入口"); + checks++; + } + const started = spawnSync(process.execPath, [entry], { encoding: "utf8", env: { ...process.env, CODEX_REBUILD_TEST_ROOT: testRoot, + LOCALAPPDATA: path.join(testRoot, "diagnostics") } }); + assert.equal(started.status, 0, started.stderr); + const proof = JSON.parse(fs.readFileSync(path.join(testRoot, "isolation-runtime.json"))); + assert.equal(proof.codexHome, path.join(testRoot, "codex-home")); + assert.equal(proof.userData, path.join(testRoot, "electron-user-data")); + assert.ok(fs.readFileSync(entry, "utf8").startsWith('"use strict";')); + checks++; + write(entry, '"use strict";\nconsole.log("unknown native bootstrap");\n'); + run("patch-test-isolation.js", ["win", "--check"], 1, { CODEX_PATCH_SOURCE_DIR: source }); + } + const updaterSource = path.join(temporary, "updater", "win", "_asar", ".vite", "build"); + write(path.join(updaterSource, "gates.js"), 'const gates={shouldIncludeWindowsUpdater(){return true},shouldIncludeWindowsMsixUpdater(){return true},shouldIncludeUpdater(){return true}};'); + run("patch-updater.js", ["win"], 0, { CODEX_PATCH_SOURCE_DIR: path.join(temporary, "updater") }); + assert.equal((fs.readFileSync(path.join(updaterSource, "gates.js"), "utf8").match(/return !1/g) || []).length, 3); + write(path.join(updaterSource, "caller.js"), "gates.shouldIncludeUpdater(1,2,3);"); + const callerResult = run("patch-updater.js", ["win"], 0, { CODEX_PATCH_SOURCE_DIR: path.join(temporary, "updater") }); + assert.match(callerResult.stdout, /call sites only/); + assert.doesNotMatch(callerResult.stdout, /\[!\]/); + fs.unlinkSync(path.join(updaterSource, "caller.js")); + write(path.join(updaterSource, "gates.js"), "const changed=true;"); + assert.match(run("patch-updater.js", ["win"], 0, { CODEX_PATCH_SOURCE_DIR: path.join(temporary, "updater") }).stdout, /\[!\]/); + + const evidencePlatform = path.join(temporary, "evidence", "win"); + const evidenceAsar = path.join(evidencePlatform, "_asar"); + const evidenceOutput = path.join(temporary, "evidence-output"); + write(path.join(evidenceAsar, ".vite", "build", "early-bootstrap.js"), "const startup=true;"); + write(path.join(evidenceAsar, "webview", "assets", "app.js"), "const app=true;"); + const frontendEvidence = [ + ["app-shared-fixture.js", "const sharedDefinitions=true;"], + ["composer-content-fixture.js", "const composer={isConfigDataPending:false};"], + ["remote-control-fixture.js", "const event='set-remote-control-connections-enabled';"], + ["app-theme-fixture.js", "const theme={'--color-image-generation-accent':'blue'};"], + ]; + const settingsBridgeEvidence = [ + ["main-settings-fixture.js", "const options={isTrustedIpcEvent:trust,getContextForWebContents:getContext};"], + ["preload.js", "contextBridge.exposeInMainWorld('electronBridge',{});"], + ]; + for (const [name, source] of settingsBridgeEvidence) { + write(path.join(evidenceAsar, ".vite", "build", name), source); + } + for (const [name, source] of frontendEvidence) { + write(path.join(evidenceAsar, "webview", "assets", name), source); + } + const browserService = [ + 'const gate="codex_browser_use_agent_request_header";', + "async function read(){try{return await feature(gate)}catch{return!1}}", + ].join(""); + for (const plugin of ["browser", "chrome"]) { + write( + path.join( + evidencePlatform, + "plugins", + "openai-bundled", + "plugins", + plugin, + "scripts", + "browser-service.mjs", + ), + browserService, + ); + } + saveCompatibilityEvidence(evidenceAsar, { version: "fixture" }, evidenceOutput); + const evidenceIndex = JSON.parse(fs.readFileSync(path.join(evidenceOutput, "index.json"), "utf8")); + for (const [name, source] of settingsBridgeEvidence) { + const entry = evidenceIndex.files.find(file => file.name === name); + assert.equal(entry?.copied, true, `缺少外观配置桥取证:${name}`); + assert.equal(fs.readFileSync(path.join(evidenceOutput, "main", name), "utf8"), source); + assert.equal(entry.sha256, hash(source)); + } + for (const [name, source] of frontendEvidence) { + const entry = evidenceIndex.files.find(file => file.name === name); + assert.equal(entry?.copied, true, `缺少新版独立功能块取证:${name}`); + const copied = fs.readFileSync(path.join(evidenceOutput, "webview", name), "utf8"); + assert.equal(copied, source); + assert.equal(entry.sha256, hash(copied)); + } + checks++; + const browserEvidence = evidenceIndex.files.filter((item) => item.name === "browser-service.mjs"); + assert.equal(browserEvidence.length, 2); + assert(browserEvidence.every((item) => item.copied)); + assert(browserEvidence.every((item) => item.matches.includes("codex_browser_use_agent_request_header"))); + assert.equal( + fs.existsSync(path.join( + evidenceOutput, + "external", + "plugins", + "openai-bundled", + "plugins", + "browser", + "scripts", + "browser-service.mjs", + )), + true, + ); + checks++; + + const missingRequiredRoot = path.join(temporary, "missing-required-targets"); + fs.mkdirSync(path.join(missingRequiredRoot, "win", "_asar", "webview", "assets"), { recursive: true }); + run("patch-hide-pet-menu.js", ["win", "--check"], 1, { CODEX_PATCH_SOURCE_DIR: missingRequiredRoot }); + run("patch-hide-invite-menu.js", ["win", "--check"], 1, { CODEX_PATCH_SOURCE_DIR: missingRequiredRoot }); + run("patch-sidebar-usage.js", ["win", "--check"], 1, { CODEX_PATCH_SOURCE_DIR: missingRequiredRoot }); + run("sidebar-usage-smoke.js", []); + fs.writeFileSync( + path.join(missingRequiredRoot, "win", "_asar", "webview", "assets", "archived-list.js"), + "client.sendRequest(`thread/list`,{archived:!0,modelProviders:null});", + ); + run("patch-archive-delete.js", ["win", "--check"], 1, { CODEX_PATCH_SOURCE_DIR: missingRequiredRoot }); + + const inviteRoot = path.join(temporary, "invite-menu"); + const inviteFile = path.join(inviteRoot, "win", "_asar", "webview", "assets", "profile-dropdown-items-fixture.js"); + const inviteSource = 'function Invite(){return {id:`codex.profileDropdown.inviteFriend`,other:`codex.profileDropdown.inviteCoworker`}};function menu(){return [ui.jsx(Invite,{context:context,onSelect:close}),usage,settings,help]};'; + write(inviteFile, inviteSource); + const inviteEnv = { CODEX_PATCH_SOURCE_DIR: inviteRoot }; + run("patch-hide-invite-menu.js", ["win", "--check"], 0, inviteEnv); + assert.equal(fs.readFileSync(inviteFile, "utf8"), inviteSource); + run("patch-hide-invite-menu.js", ["win"], 0, inviteEnv); + const hiddenInvite = fs.readFileSync(inviteFile, "utf8"); + const renderMenu = source => Function("ui", "context", "close", "usage", "settings", "help", source + "return menu();")( + { jsx: () => "invite" }, {}, () => {}, "usage", "settings", "help"); + assert.deepEqual(renderMenu(inviteSource), ["invite", "usage", "settings", "help"]); + assert.deepEqual(renderMenu(hiddenInvite), [null, "usage", "settings", "help"]); + run("patch-hide-invite-menu.js", ["win"], 0, inviteEnv); + assert.equal(fs.readFileSync(inviteFile, "utf8"), hiddenInvite); + write(inviteFile, inviteSource.replace("onSelect:close", "changed:close")); + run("patch-hide-invite-menu.js", ["win"], 1, inviteEnv); + assert.equal(fs.readFileSync(inviteFile, "utf8"), inviteSource.replace("onSelect:close", "changed:close")); + + const candidate = path.join(temporary, "candidate"); + const zip = Buffer.from("synthetic ZIP payload for promotion checks"); + const msix = Buffer.from("synthetic official source for provenance checks"); + const sha = "1".repeat(40); + const source = { schemaVersion: 1, version: "26.1007.9446.0", architecture: "x64", packageName: "OpenAI.Codex_26.1007.9446.0_x64__2p2nqsd0c76g0.msix", size: msix.length, sha256: hash(msix) }; + const metadata = { schemaVersion: 1, repository: "Carptopus/CodexDesktop-Rebuild", sourceCommit: sha, runId: "123", runAttempt: "1", revision: 1, upstream: source, + zip: { name: "candidate.zip", size: zip.length, sha256: hash(zip) }, gate: { canPromote: true, blocks: [] } }; + const report = { upstream: source, gate: metadata.gate, cliInitialize: { passed: true }, updater: { disabled: true }, integrityHashEmbedded: true, components: { passed: true }, desktopSmoke: { passed: true } }; + const approval = { schemaVersion: 1, sourceCommit: sha, zipSha256: hash(zip), runId: "123", tester: "fixture", testedAt: "2026-10-14T12:00:00Z", isolationEvidence: "synthetic proof", rollbackEvidence: "synthetic proof", checks: Object.fromEntries(requiredChecks.map((name) => [name, "passed"])) }; + write(path.join(candidate, "candidate.zip"), zip); + write(path.join(candidate, source.packageName), msix); + json(path.join(candidate, "upstream.json"), source); + json(path.join(candidate, "candidate.json"), metadata); + json(path.join(candidate, "verify-report.json"), report); + const acceptance = path.join(temporary, "approval.json"); + json(acceptance, approval); + const arguments = ["verify-release", "--dir", candidate, "--acceptance", acceptance, "--repository", metadata.repository, + "--run-id", "123", "--run-attempt", "1", "--source-commit", sha, "--zip-sha256", hash(zip)]; + run("windows-maintenance.js", arguments); + for (const key of ["components", "desktopSmoke"]) { + for (const value of [undefined, { passed: false }]) { + json(path.join(candidate, "verify-report.json"), { ...report, [key]: value }); + run("windows-maintenance.js", arguments, 1); + } + } + json(path.join(candidate, "verify-report.json"), report); + for (const key of requiredChecks) { + json(acceptance, { ...approval, checks: { ...approval.checks, [key]: "pending" } }); + run("windows-maintenance.js", arguments, 1); + } + json(acceptance, approval); + write(path.join(candidate, "candidate.zip"), "changed ZIP"); + run("windows-maintenance.js", arguments, 1); + write(path.join(candidate, "candidate.zip"), zip); + write(path.join(candidate, source.packageName), "changed MSIX"); + run("windows-maintenance.js", arguments, 1); + write(path.join(candidate, source.packageName), msix); + json(path.join(candidate, "candidate.json"), { ...metadata, gate: { canPromote: false, blocks: ["necessary patch needs review"] } }); + run("windows-maintenance.js", arguments, 1); + json(path.join(candidate, "candidate.json"), metadata); + run("windows-maintenance.js", arguments.map((value) => value === "123" ? "999" : value), 1); + run("windows-maintenance.js", arguments.map((value) => value === sha ? "2".repeat(40) : value), 1); + + console.log(`维护链功能测试通过:${checks} 个 CLI 场景;实际 GUI、原始 MSIX 和签名由候选验收覆盖。`); +} finally { + fs.rmSync(temporary, { recursive: true, force: true }); +} diff --git a/scripts/patch-accent-presets.js b/scripts/patch-accent-presets.js new file mode 100644 index 00000000..1fe667e5 --- /dev/null +++ b/scripts/patch-accent-presets.js @@ -0,0 +1,217 @@ +#!/usr/bin/env node +/** + * 允许没有 ChatGPT 账户主题状态的 API-key / 自定义 Provider 使用官方强调色预设。 + * 本地只保存预设名,渲染继续复用官方预设生成器;账户主题可用时仍由账户状态优先。 + */ +const fs = require("fs"); +const path = require("path"); +const { parse } = require("acorn"); +const { applyEdits, key, literal, nodes, unique } = require("./patch-ast-util"); +const { SRC_DIR, relPath } = require("./patch-util"); + +const { isRspackFrontend, findFrontendModules, replaceFrontendModule } = require("./rspack-util"); +const MODULE = "codex-rebuild-accent-presets.js"; +const SETTINGS_MARKER = "/* codex-rebuild-local-accent-presets:settings */"; +const THEME_MARKER = "/* codex-rebuild-local-accent-presets:theme */"; +const PLATFORMS = ["mac-arm64", "mac-x64", "win", "unix"]; + +function objectBindings(pattern) { + return Object.fromEntries(pattern.properties.filter(property => property.type === "Property" && property.value?.type === "Identifier") + .map(property => [key(property.key), property.value.name])); +} + +function importInsertion(ast) { + const imports = ast.body.filter(node => node.type === "ImportDeclaration"); + return imports.length ? imports.at(-1).end : 0; +} + +function patchSettingsSource(source) { + if (!source.includes("chatgptAccentPicker.ChatGptAccentPicker.updateError") || !source.includes("accentSource")) { + return { status: "not-applicable", source }; + } + if (source.includes(SETTINGS_MARKER)) { + parse(source, { ecmaVersion: "latest", sourceType: "module" }); + if (![MODULE, "__codexAccentSelection(", "__codexSelectAccentPreset(", "__codexUseCustomAccent("].every(value => source.includes(value)) || source.includes("__codexCurrentAccent=")) { + return { status: "unexpected-shape", source, reason: "本地强调色设置标记不完整" }; + } + return { status: "already-patched", source }; + } + + try { + const ast = parse(source, { ecmaVersion: "latest", sourceType: "module" }); + const component = unique(ast.body.filter(node => node.type === "FunctionDeclaration" && + source.slice(node.start, node.end).includes("chatgptAccentPicker.ChatGptAccentPicker.updateError") && + source.slice(node.start, node.end).includes("accentSource")), "强调色组件"); + const props = unique(nodes(component, node => node.type === "VariableDeclarator" && node.id?.type === "ObjectPattern") + .map(node => objectBindings(node.id)) + .filter(bindings => ["theme", "variant", "onSelect", "onCustomColorChange"].every(name => bindings[name])), "强调色属性"); + const theme = props.theme; + const selectAccount = props.onSelect; + const selectCustom = props.onCustomColorChange; + + const disabled = unique(nodes(component, node => node.type === "Property" && key(node.key) === "disabled" && + node.value?.type === "BinaryExpression" && ["==", "==="].includes(node.value.operator) && + ((node.value.left?.type === "Identifier" && literal(node.value.right) === null) || (node.value.right?.type === "Identifier" && literal(node.value.left) === null))), "预设禁用条件"); + const accountTheme = disabled.value.left.type === "Identifier" ? disabled.value.left.name : disabled.value.right.name; + const selection = unique(nodes(component, node => node.type === "VariableDeclarator" && node.init?.type === "ConditionalExpression" && + source.slice(node.init.start, node.init.end).includes(`${theme}.accentSource`) && + nodes(node.init, child => literal(child) === "chatgpt").length > 0 && + nodes(node.init, child => literal(child) === "custom").length > 0), "当前强调色来源"); + + const accountCall = unique(nodes(component, node => node.type === "CallExpression" && node.callee?.type === "Identifier" && + node.callee.name === selectAccount), "账户强调色写入"); + const preset = accountCall.arguments[0]; + if (preset?.type !== "Identifier") throw new Error("强调色预设参数结构未知"); + + const customCall = unique(nodes(component, node => node.type === "CallExpression" && node.callee?.type === "Identifier" && + node.callee.name === selectCustom), "切换自定义强调色"); + if (customCall.arguments.length !== 1) throw new Error("自定义强调色调用结构未知"); + const onChange = unique(nodes(component, node => node.type === "Property" && key(node.key) === "onChange" && + node.value?.type === "Identifier" && node.value.name === selectCustom), "自定义颜色输入"); + + const importAt = importInsertion(ast); + const originalSelection = source.slice(selection.init.start, selection.init.end); + const originalAccountCall = source.slice(accountCall.start, accountCall.end); + const customValue = source.slice(customCall.arguments[0].start, customCall.arguments[0].end); + const moduleImport = `\n${SETTINGS_MARKER}\nimport {accentPresetSelection as __codexAccentSelection,selectAccentPreset as __codexSelectAccentPreset,useCustomAccent as __codexUseCustomAccent} from "./${MODULE}";`; + const edits = [ + { start: importAt, end: importAt, text: moduleImport }, + { start: selection.init.start, end: selection.init.end, + text: `__codexAccentSelection(${accountTheme},${theme}.accentSource,${originalSelection})` }, + // undefined 表示账户主题仍在加载;null 才表示没有可用账户主题。 + { start: disabled.value.start, end: disabled.value.end, text: `${accountTheme}===void 0` }, + { start: accountCall.start, end: accountCall.end, + text: `__codexSelectAccentPreset(${accountTheme},${preset.name},()=>${selectCustom}(${theme}.accent),()=>${originalAccountCall})` }, + { start: customCall.start, end: customCall.end, + text: `__codexUseCustomAccent(${selectCustom},${customValue})` }, + { start: onChange.value.start, end: onChange.value.end, + text: `__codexColor=>__codexUseCustomAccent(${selectCustom},__codexColor)` }, + ]; + return { status: "patched", source: applyEdits(source, edits) }; + } catch (error) { + return { status: "unexpected-shape", source, reason: error.message }; + } +} + +function patchThemeSource(source) { + if (!["--color-background-user-message", "--color-image-generation-accent", "accentSource"].every(value => source.includes(value))) { + return { status: "not-applicable", source }; + } + if (source.includes(THEME_MARKER)) { + parse(source, { ecmaVersion: "latest", sourceType: "module" }); + if (![MODULE, "__codexResolveAccentPreset(", "accentSource:`chatgpt`"].every(value => source.includes(value))) { + return { status: "unexpected-shape", source, reason: "本地强调色主题标记不完整" }; + } + return { status: "already-patched", source }; + } + + try { + const ast = parse(source, { ecmaVersion: "latest", sourceType: "module" }); + const renderer = unique(ast.body.filter(node => node.type === "FunctionDeclaration" && + ["--color-background-user-message", "--color-image-generation-accent", "accentSource"] + .every(value => source.slice(node.start, node.end).includes(value))), "官方强调色主题函数"); + const [theme, variant, accountPreset] = renderer.params; + if (![theme, variant, accountPreset].every(node => node?.type === "Identifier")) { + throw new Error("官方强调色主题参数结构未知"); + } + const importAt = importInsertion(ast); + const moduleImport = `\n${THEME_MARKER}\nimport {resolveAccentPreset as __codexResolveAccentPreset} from "./${MODULE}";`; + const injection = `const __codexAccentPreset=__codexResolveAccentPreset(${theme.name}.accentSource,${accountPreset.name});if(__codexAccentPreset!==null){${accountPreset.name}=__codexAccentPreset;${theme.name}={...${theme.name},accentSource:\`chatgpt\`}}`; + return { status: "patched", source: applyEdits(source, [ + { start: importAt, end: importAt, text: moduleImport }, + { start: renderer.body.start + 1, end: renderer.body.start + 1, text: injection }, + ]) }; + } catch (error) { + return { status: "unexpected-shape", source, reason: error.message }; + } +} + +function targetDirectories(platform) { + const directories = (platform ? [platform] : PLATFORMS) + .map(name => ({ platform: name, path: path.join(SRC_DIR, name, "_asar", "webview", "assets") })) + .filter(item => fs.existsSync(item.path)); + const legacy = path.join(SRC_DIR, "webview", "assets"); + if (!directories.length && fs.existsSync(legacy)) directories.push({ platform: "legacy", path: legacy }); + return directories; +} + +function findTarget(directory, pattern, content, label) { + const candidates = fs.readdirSync(directory).filter(name => pattern.test(name)) + .map(name => ({ name, path: path.join(directory, name), source: fs.readFileSync(path.join(directory, name), "utf8") })) + .filter(file => content.every(value => file.source.includes(value))); + if (candidates.length !== 1) throw new Error(`${label}资源数量异常(${candidates.length})`); + return candidates[0]; +} + +function findThemeTarget(directory) { + const signature = ["--color-background-user-message", "--color-image-generation-accent", "accentSource"]; + const candidates = fs.readdirSync(directory).filter(name => name.endsWith(".js")) + .map(name => ({ name, path: path.join(directory, name), source: fs.readFileSync(path.join(directory, name), "utf8") })) + .filter(file => signature.every(value => file.source.includes(value))); + if (candidates.length !== 1) throw new Error(`强调色主题资源数量异常(${candidates.length})`); + return candidates[0]; +} + +function main() { + const args = process.argv.slice(2); + const platform = args.find(arg => PLATFORMS.includes(arg)); + const check = args.includes("--check"); + const directories = targetDirectories(platform); + let failed = 0; + let patched = 0; + for (const directory of directories) { + try { + if (isRspackFrontend(directory.path)) { + const settings = unique(findFrontendModules(directory.path, {all:["chatgptAccentPicker.ChatGptAccentPicker.updateError", "accentSource"]}), "强调色设置模块"); + const themes = findFrontendModules(directory.path, {all:["--color-background-user-message", "--color-image-generation-accent", "accentSource"]}); + if (!themes.length) throw new Error("强调色主题模块缺失"); + const targets = [{target:settings, patch:patchSettingsSource}, ...themes.map(target=>({target,patch:patchThemeSource}))]; + let changed = false; + for (const {target,patch} of targets) { + const result = patch(target.source); + if (!["patched", "already-patched"].includes(result.status)) throw new Error(result.reason ?? result.status); + changed ||= result.status === "patched"; + const ast = parse(result.source, {ecmaVersion:"latest",sourceType:"module"}); + const imports = ast.body.filter(node=>node.type==="ImportDeclaration"); + const body = applyEdits(result.source, imports.map(node=>({start:node.start,end:node.end,text:'/* '+MODULE+' */'}))); + const chunk = replaceFrontendModule(target, body, imports.map(node=>result.source.slice(node.start,node.end).replace('./'+MODULE,'../'+MODULE))); + if (!check) fs.writeFileSync(target.file, chunk); + } + if (!check) fs.copyFileSync(path.join(__dirname, "runtime", "accent-presets.mjs"), path.join(directory.path, MODULE)); + patched += Number(changed && !check); + console.log(`[ok] Rspack 本地强调色设置与主题${check ? "检查通过" : "已应用"}`); + continue; + } + const settings = findTarget(directory.path, /^general-settings-.*\.js$/, + ["chatgptAccentPicker.ChatGptAccentPicker.updateError"], "强调色设置"); + const theme = findThemeTarget(directory.path); + const settingsResult = patchSettingsSource(settings.source); + const themeResult = patchThemeSource(theme.source); + for (const [label, result] of [["强调色设置", settingsResult], ["强调色主题", themeResult]]) { + if (["unexpected-shape", "not-applicable"].includes(result.status)) { + throw new Error(`${label}:${result.reason ?? "结构未知"}`); + } + } + console.log(` [${directory.platform}] ${relPath(settings.path)}`); + console.log(` [${directory.platform}] ${relPath(theme.path)}`); + if (check) { + console.log(" [ok] 本地预设设置入口与官方主题生成器结构已核对;dry-run 未写文件"); + continue; + } + if (settingsResult.status === "patched") fs.writeFileSync(settings.path, settingsResult.source, "utf8"); + if (themeResult.status === "patched") fs.writeFileSync(theme.path, themeResult.source, "utf8"); + fs.copyFileSync(path.join(__dirname, "runtime", "accent-presets.mjs"), path.join(directory.path, MODULE)); + patched += Number(settingsResult.status === "patched" || themeResult.status === "patched"); + console.log(" [ok] 本地预设已接入官方完整主题渲染;账户主题仍优先"); + } catch (error) { + console.error(` [x] ${directory.platform}: ${error.message}`); + failed++; + } + } + if (!directories.length) { console.error(" [x] 缺少目标平台界面资源"); failed++; } + if (failed) process.exitCode = 1; + else console.log(` [ok] ${patched} platform bundle set(s) patched`); +} + +if (require.main === module) main(); +module.exports = { MODULE, SETTINGS_MARKER, THEME_MARKER, findThemeTarget, patchSettingsSource, patchThemeSource }; diff --git a/scripts/patch-accent-presets.test.js b/scripts/patch-accent-presets.test.js new file mode 100644 index 00000000..ecfe64c6 --- /dev/null +++ b/scripts/patch-accent-presets.test.js @@ -0,0 +1,270 @@ +const test = require("node:test"); +const assert = require("node:assert/strict"); +const fs = require("node:fs"); +const os = require("node:os"); +const path = require("node:path"); +const { execFileSync } = require("node:child_process"); +const { pathToFileURL } = require("node:url"); +const { + MODULE, + SETTINGS_MARKER, + THEME_MARKER, + findThemeTarget, + patchSettingsSource, + patchThemeSource, +} = require("./patch-accent-presets"); + +function settingsFixture() { + return 'import{palette as P,options as O}from"./app.js";' + + 'function Accent(e){let{theme:r,variant:i,onSelect:a,onCustomColorChange:o}=e,s=scope(),u=read(themeAtom),d=read(pendingAtom),' + + 'f=r.accentSource===`chatgpt`?u?.chatTheme??`default`:`custom`,v=f!==`custom`&&jsx(`span`,{style:{backgroundColor:P(u?.effectiveTheme??f,i)}}),' + + 'x=O.map(e=>jsx(RadioItem,{disabled:u==null,value:e,onSelect:()=>{let t=s.get(account),n=s.get(settings).data,r=t!=null&&n?.eligibleNowOrBefore===!0;' + + 'a(e,()=>{r&&sync({accentColor:e})}).catch(()=>{toast("chatgptAccentPicker.ChatGptAccentPicker.updateError")})},children:e},e)),' + + 'S=()=>o(r.accent),D=f===`custom`?jsx(ColorInput,{value:r.accent,onChange:o}):null;return [v,x,S,D]}'; +} + +function themeFixture() { + return 'const presets={' + + 'default:{accent:`#default-accent`,userMessageBackground:`#default-bubble`,userMessageText:`#default-text`,soft:`#default-soft`},' + + 'blue:{accent:`#blue-accent`,userMessageBackground:`#blue-bubble`,userMessageText:`#blue-text`,soft:`#blue-soft`},' + + 'green:{accent:`#green-accent`,userMessageBackground:`#green-bubble`,userMessageText:`#green-text`,soft:`#green-soft`},' + + 'black:{accent:`#black-accent`,userMessageBackground:`#black-bubble`,userMessageText:`#black-text`,soft:`#black-soft`}};' + + 'function dba(e,t){return presets[e]}' + + 'function Tba(e,t,n,r=!0,i=!1){let a=e.accentSource===`chatgpt`&&n!=null?dba(n??`default`,t,r):null,' + + 'd={"--color-image-generation-accent":a!=null&&n===`black`?`black-image`:e.accent,"--color-background-user-message":`neutral-bubble`};' + + 'return a==null?d:{...d,"--color-background-user-message":a.userMessageBackground,"--color-text-user-message":a.userMessageText,"--app-color-background-accent":a.soft}}export{Tba}'; +} + +const defaults = { + readingWidthPercent: 50, + markdownBoldColorMode: "default", + markdownBoldCustomColor: "#7c3aed", + accentPreset: null, +}; +let snapshot = { ...defaults }; +let failWrites = false; +const listeners = new Set(); +function replaceSnapshot(next) { + snapshot = { ...next }; + for (const listener of listeners) listener({ ...snapshot }); +} +globalThis.electronBridge = { rebuildSettings: { + read: () => ({ ...snapshot }), + async write(patch) { + if (failWrites) throw new Error("settings unavailable"); + snapshot = { ...snapshot, ...patch }; + for (const listener of listeners) listener({ ...snapshot }); + return { ...snapshot }; + }, + onChange(listener) { listeners.add(listener); return () => listeners.delete(listener); }, +} }; + +async function runtimeModule() { + return import(pathToFileURL(path.join(__dirname, "runtime", "accent-presets.mjs")).href); +} + +test.afterEach(() => { + failWrites = false; + replaceSnapshot(defaults); +}); + +test("无账户主题时启用本地预设并保留加载态禁用", () => { + const result = patchSettingsSource(settingsFixture()); + assert.equal(result.status, "patched", result.reason); + assert.match(result.source, new RegExp(SETTINGS_MARKER.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"))); + assert.match(result.source, new RegExp(MODULE.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"))); + assert.doesNotMatch(result.source, /__codexCurrentAccent/); + assert.match(result.source, /disabled:u===void 0/); + assert.match(result.source, /__codexAccentSelection\(u,r\.accentSource,/); + assert.match(result.source, /__codexSelectAccentPreset\(u,e,\(\)=>o\(r\.accent\),\(\)=>a\(/); + assert.match(result.source, /onChange:__codexColor=>__codexUseCustomAccent\(o,__codexColor\)/); + assert.equal(patchSettingsSource(result.source).status, "already-patched"); +}); + +test("设置组件在属性解构后才读取主题", () => { + const result = patchSettingsSource(settingsFixture()); + assert.equal(result.status, "patched", result.reason); + const executable = result.source.replace(/import[^;]+;/g, ""); + const Accent = Function( + "P", "O", "scope", "read", "themeAtom", "pendingAtom", "jsx", "RadioItem", "ColorInput", + "account", "settings", "sync", "toast", "__codexAccentSelection", "__codexSelectAccentPreset", "__codexUseCustomAccent", + `${executable};return Accent;`, + )( + () => "color", ["default", "blue"], () => ({ get: () => null }), () => null, {}, {}, + (_type, props) => props, "radio", "color", {}, {}, () => {}, () => {}, + (_accountTheme, _accentSource, fallback) => fallback, + () => Promise.resolve(), + (onChange, value) => onChange(value), + ); + + assert.doesNotThrow(() => Accent({ + theme: { accent: "#123456", accentSource: "custom" }, + variant: "light", + onSelect: () => Promise.resolve(), + onCustomColorChange: () => {}, + })); +}); + +test("旧版在属性解构前读取主题的崩溃补丁会被拒绝", () => { + const patched = patchSettingsSource(settingsFixture()); + assert.equal(patched.status, "patched", patched.reason); + const broken = patched.source.replace("function Accent(e){let", "function Accent(e){const __codexCurrentAccent=r.accent;let"); + const result = patchSettingsSource(broken); + + assert.equal(result.status, "unexpected-shape"); + assert.match(result.reason, /本地强调色设置标记不完整/); +}); + +test("设置和主题未知结构均明确失败", () => { + const settings = patchSettingsSource('const x="chatgptAccentPicker.ChatGptAccentPicker.updateError accentSource"'); + assert.equal(settings.status, "unexpected-shape"); + const theme = patchThemeSource('const x="--color-background-user-message --color-image-generation-accent accentSource"'); + assert.equal(theme.status, "unexpected-shape"); +}); + +test("主题函数唯一注入本地预设解析器并保持幂等", () => { + const result = patchThemeSource(themeFixture()); + assert.equal(result.status, "patched", result.reason); + assert.match(result.source, new RegExp(THEME_MARKER.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"))); + assert.match(result.source, /__codexResolveAccentPreset\(e\.accentSource,n\)/); + assert.match(result.source, /e=\{\.\.\.e,accentSource:`chatgpt`\}/); + assert.equal(patchThemeSource(result.source).status, "already-patched"); +}); + +test("CLI 按主题签名定位旧新 chunk,并拒绝重复目标", t => { + const root = fs.mkdtempSync(path.join(os.tmpdir(), "codex-accent-locator-")); + t.after(() => fs.rmSync(root, { recursive: true, force: true })); + const assets = path.join(root, "webview", "assets"); + fs.mkdirSync(assets, { recursive: true }); + fs.writeFileSync(path.join(assets, "general-settings-fixture.js"), settingsFixture()); + const env = { ...process.env, CODEX_PATCH_SOURCE_DIR: root }; + for (const name of ["app-initial-legacy.js", "app-theme-current.js"]) { + fs.writeFileSync(path.join(assets, name), themeFixture()); + assert.equal(findThemeTarget(assets).name, name); + assert.match(execFileSync(process.execPath, [path.join(__dirname, "patch-accent-presets.js"), "--check"], { env, encoding: "utf8" }), /主题生成器结构已核对/); + fs.unlinkSync(path.join(assets, name)); + } + fs.writeFileSync(path.join(assets, "app-initial-a.js"), themeFixture()); + fs.writeFileSync(path.join(assets, "app-theme-b.js"), themeFixture()); + assert.throws(() => findThemeTarget(assets), /主题资源数量异常(2)/); + assert.throws(() => execFileSync(process.execPath, [path.join(__dirname, "patch-accent-presets.js"), "--check"], { env, encoding: "utf8" }), /强调色主题资源数量异常(2)/); +}); + +test("真实资源路径可核对 26.1021 设置与主题 Bundle", { skip: !process.env.CODEX_REBUILD_ACCENT_ASSETS }, () => { + const assets = process.env.CODEX_REBUILD_ACCENT_ASSETS; + const settingsFiles = fs.readdirSync(assets).filter(name => /^general-settings-.*\.js$/.test(name) && + fs.readFileSync(path.join(assets, name), "utf8").includes("chatgptAccentPicker.ChatGptAccentPicker.updateError")); + const themeFiles = fs.readdirSync(assets).filter(name => /^app-theme-.*\.js$/.test(name) && + ["--color-background-user-message", "--color-image-generation-accent", "accentSource"] + .every(value => fs.readFileSync(path.join(assets, name), "utf8").includes(value))); + assert.equal(settingsFiles.length, 1, "设置组件应唯一定位"); + assert.equal(themeFiles.length, 1, "主题生成器应唯一定位"); + const settings = patchSettingsSource(fs.readFileSync(path.join(assets, settingsFiles[0]), "utf8")); + const theme = patchThemeSource(fs.readFileSync(path.join(assets, themeFiles[0]), "utf8")); + assert.equal(settings.status, "patched", settings.reason); + assert.equal(theme.status, "patched", theme.reason); + assert.match(settings.source, /disabled:[^,}]*===void 0/); + assert.match(theme.source, /__codexResolveAccentPreset\(/); + assert.equal(patchThemeSource(theme.source).status, "already-patched"); +}); + +test("本地设置、账户同步和显式自定义使用同一预设状态", async () => { + const runtime = await runtimeModule(); + let localCalls = 0; + let accountCalls = 0; + let customValue = null; + + await runtime.selectAccentPreset(null, "blue", () => { localCalls++; }, () => { accountCalls++; }); + assert.equal(snapshot.accentPreset, "blue"); + assert.equal(runtime.accentPresetSelection(null, "custom", "custom"), "blue"); + assert.equal(runtime.accentPresetSelection({ chatTheme: "green" }, "custom", "custom"), "blue"); + assert.equal(runtime.accentPresetSelection(undefined, "custom", "custom"), "custom"); + assert.equal(runtime.accentPresetSelection({ chatTheme: "green" }, "chatgpt", "green"), "green"); + assert.equal(runtime.resolveAccentPreset("custom", null), "blue"); + assert.equal(localCalls, 1); + assert.equal(accountCalls, 0); + + await runtime.selectAccentPreset({ chatTheme: "green" }, "green", () => { localCalls++; }, () => { accountCalls++; }); + assert.equal(snapshot.accentPreset, "green"); + assert.equal(accountCalls, 1); + + failWrites = true; + await runtime.selectAccentPreset({ chatTheme: "purple" }, "purple", () => { localCalls++; }, () => { accountCalls++; }); + assert.equal(accountCalls, 2); + + await runtime.selectAccentPreset({ chatTheme: "future" }, "future-preset", () => { localCalls++; }, () => { accountCalls++; }); + assert.equal(accountCalls, 3); + assert.equal(snapshot.accentPreset, "green"); + + await runtime.selectAccentPreset(null, "future-preset", () => { localCalls++; }, () => { accountCalls++; }); + assert.equal(accountCalls, 4); + assert.equal(localCalls, 1); + + failWrites = false; + replaceSnapshot({ ...snapshot, accentPreset: "blue" }); + await runtime.useCustomAccent(value => { customValue = value; }, "#123456"); + assert.equal(customValue, "#123456"); + assert.equal(snapshot.accentPreset, "custom"); + assert.equal(runtime.accentPresetSelection(null, "custom", "custom"), "custom"); + assert.equal(runtime.resolveAccentPreset("custom", null), null); +}); + +test("预设解析补齐官方默认有效色并拒绝无效本地值", async () => { + const runtime = await runtimeModule(); + assert.equal(runtime.accentPresetSelection(null, "custom", "custom"), "default"); + assert.equal(runtime.resolveAccentPreset("custom", null), "blue"); + replaceSnapshot({ ...snapshot, accentPreset: "blue" }); + assert.equal(runtime.resolveAccentPreset("custom", null), "blue"); + assert.equal(runtime.resolveAccentPreset("chatgpt", "green"), "green"); + assert.equal(runtime.resolveAccentPreset("custom", "green"), "blue"); + + for (const preset of ["blue", "black"]) { + replaceSnapshot({ ...snapshot, accentPreset: preset }); + assert.equal(runtime.resolveAccentPreset("custom", null), preset); + } + replaceSnapshot({ ...snapshot, accentPreset: "default" }); + assert.equal(runtime.accentPresetSelection(null, "custom"), "default"); + assert.equal(runtime.resolveAccentPreset("custom", null), "blue"); + replaceSnapshot({ ...snapshot, accentPreset: "not-a-preset" }); + assert.equal(runtime.resolveAccentPreset("custom", null), "blue"); +}); + +test("完整主题链复用官方预设气泡且账户主题优先", async t => { + const directory = fs.mkdtempSync(path.join(os.tmpdir(), "codex-accent-theme-")); + t.after(() => fs.rmSync(directory, { recursive: true, force: true })); + fs.copyFileSync(path.join(__dirname, "runtime", "accent-presets.mjs"), path.join(directory, MODULE)); + fs.copyFileSync(path.join(__dirname, "runtime", "rebuild-settings.mjs"), path.join(directory, "rebuild-settings.mjs")); + const result = patchThemeSource(themeFixture()); + assert.equal(result.status, "patched", result.reason); + const bundle = path.join(directory, "theme.mjs"); + fs.writeFileSync(bundle, result.source, "utf8"); + const theme = await import(`${pathToFileURL(bundle).href}?test=${Date.now()}`); + const runtime = await runtimeModule(); + replaceSnapshot({ ...snapshot, accentPreset: null }); + + const localImplicitDefault = theme.Tba({ accentSource: "custom", accent: "#custom" }, "light", null); + assert.equal(localImplicitDefault["--color-background-user-message"], "#blue-bubble"); + + replaceSnapshot({ ...snapshot, accentPreset: "blue" }); + const localBlue = theme.Tba({ accentSource: "custom", accent: "#custom" }, "light", null); + assert.equal(localBlue["--color-background-user-message"], "#blue-bubble"); + assert.notEqual(localBlue["--color-background-user-message"], "neutral-bubble"); + + const accountGreen = theme.Tba({ accentSource: "chatgpt", accent: "#custom" }, "light", "green"); + assert.equal(accountGreen["--color-background-user-message"], "#green-bubble"); + const localWithAccountData = theme.Tba({ accentSource: "custom", accent: "#custom" }, "light", "green"); + assert.equal(localWithAccountData["--color-background-user-message"], "#blue-bubble"); + + for (const preset of ["blue", "black"]) { + replaceSnapshot({ ...snapshot, accentPreset: preset }); + const rendered = theme.Tba({ accentSource: "custom", accent: "#custom" }, "light", null); + assert.equal(rendered["--color-background-user-message"], `#${preset}-bubble`); + } + replaceSnapshot({ ...snapshot, accentPreset: "default" }); + const localDefault = theme.Tba({ accentSource: "custom", accent: "#custom" }, "light", null); + assert.equal(localDefault["--color-background-user-message"], "#blue-bubble"); + + replaceSnapshot({ ...snapshot, accentPreset: "custom" }); + const localCustom = theme.Tba({ accentSource: "custom", accent: "#custom" }, "light", null); + assert.equal(localCustom["--color-background-user-message"], "neutral-bubble"); +}); diff --git a/scripts/patch-all.js b/scripts/patch-all.js index ae13e91d..1de72f34 100644 --- a/scripts/patch-all.js +++ b/scripts/patch-all.js @@ -45,11 +45,11 @@ function snapshotOptionalTargets(patch, sourceDir, platform) { ? path.join(sourceDir, platform, "_asar", "webview", "assets") : path.join(sourceDir, platform, "_asar", ".vite", "build"); if (!fs.existsSync(directory)) return []; - const pattern = patch.rollback === "translations" ? /^zh-CN-.*\.js$/ : /^main(?:-[^.]+)?\.js$/; - return fs.readdirSync(directory).filter((name) => pattern.test(name)).map((name) => { - const file = path.join(directory, name); - return { file, contents: fs.readFileSync(file) }; - }); + const files = patch.rollback === "translations" + ? require("./patch-reasoning-effort-labels").findTranslationFiles(directory) + : fs.readdirSync(directory).filter(name => /^(?:main|early-bootstrap)(?:-[^.]+)?\.js$/.test(name)) + .map(name => path.join(directory, name)); + return files.map(file => ({ file, contents: fs.readFileSync(file) })); } function restoreFiles(snapshot) { diff --git a/scripts/patch-all.test.js b/scripts/patch-all.test.js index ec64ad28..b449db6e 100644 --- a/scripts/patch-all.test.js +++ b/scripts/patch-all.test.js @@ -44,7 +44,7 @@ test("真实 updater 补丁的预检查不修改资源,应用后关闭更新", test("可选版权补丁失败时保留上游文件,严格模式阻止继续", (t) => { const root = fixture(t); - const first = "const broken=;"; + const first = 'const about={copyright:"© OpenAI"};const broken=;'; const firstFile = write(root, ".vite/build/main-a.js", first); const reportDir = path.join(root, "report"); const options = { platform: "win", sourceDir: root, reportDir, policy: policy("patch-copyright.js"), log: () => {} }; @@ -68,10 +68,26 @@ test("可选版权补丁失败时保留上游文件,严格模式阻止继续", assert.equal(updater.shouldIncludeUpdater(), false); }); +test("新版箭头 updater 门槛在真实 CLI 应用后关闭且审计通过", t => { + const root = fixture(t); + const source = 'const updater={shouldIncludeWindowsUpdater:(plan,host)=>host==="win32",shouldIncludeWindowsMsixUpdater:()=>true,shouldIncludeUpdater:()=>true};'; + const file = write(root, ".vite/build/early-bootstrap.js", source); + const options = { platform: "win", sourceDir: root, policy: policy("patch-updater.js"), log: () => {} }; + assert.equal(runPatches(options).canBuild, true); + const updated = fs.readFileSync(file, "utf8"); + const updater = Function(`${updated};return updater`)(); + assert.equal(updater.shouldIncludeWindowsUpdater("pro", "win32"), false); + assert.equal(updater.shouldIncludeWindowsMsixUpdater(), false); + assert.equal(updater.shouldIncludeUpdater(), false); + assert.ok(require("./patch-updater").auditUpdaterSource(updated).every(item => item.disabled)); + assert.equal(runPatches(options).canBuild, true); + assert.equal(fs.readFileSync(file, "utf8"), updated); +}); + test("可选补丁已写文件但报告写入失败时回滚并阻止构建", (t) => { const root = fixture(t); const source = "const about={copyright:'© OpenAI'};"; - const file = write(root, ".vite/build/main-test.js", source); + const file = write(root, ".vite/build/early-bootstrap-499-test.js", source); const reportDir = path.join(root, "report"); fs.mkdirSync(path.join(reportDir, "logs", "win-patch-copyright.js.log"), { recursive: true }); @@ -95,18 +111,16 @@ test("版权结构缺失只报告警告,后续必要补丁仍实际生效", (t test("必要补丁漂移时阻止构建,失败日志仍写入报告", (t) => { const root = fixture(t); - const source = 'async function readGate(){throw new Error("Browser request-header policy requires caller identity.");checkGate("codex_browser_use_agent_request_header")}'; - const file = path.join(root, "win", "plugins", "browser", "browser-service.mjs"); - fs.mkdirSync(path.dirname(file), { recursive: true }); - fs.writeFileSync(file, source); + const source = 'const labels=["codex.profileFooter.showPet","codex.profileFooter.hidePet","codex.profileFooter.showMini","codex.profileFooter.hideMini"];'; + const file = write(root, "webview/assets/profile-dropdown-items-test.js", source); const reportDir = path.join(root, "report"); - const report = runPatches({ platform: "win", sourceDir: root, check: true, reportDir, policy: policy("patch-browser-auth.js"), log: () => {} }); + const report = runPatches({ platform: "win", sourceDir: root, check: true, reportDir, policy: policy("patch-hide-pet-menu.js"), log: () => {} }); assert.equal(report.canBuild, false); assert.equal(fs.readFileSync(file, "utf8"), source); const saved = JSON.parse(fs.readFileSync(path.join(reportDir, "report.json"))); assert.equal(saved.results[0].status, "failed"); - assert.match(fs.readFileSync(path.join(reportDir, saved.results[0].logFile), "utf8"), /unexpected-shape/); + assert.match(fs.readFileSync(path.join(reportDir, saved.results[0].logFile), "utf8"), /Pet 菜单资源数量异常(0)/); }); test("CLI 缺少同步资源时返回失败并生成可读报告", (t) => { @@ -123,37 +137,33 @@ test("CLI 缺少同步资源时返回失败并生成可读报告", (t) => { assert.match(report.errors[0], /mac-arm64/); }); -test("报告合并正常扫描提示,并把缺少目标与平台不适用分开", (t) => { +test("报告合并正常扫描提示,并阻止缺少必要补丁目标", (t) => { const root = fixture(t); const asar = path.join(root, "mac-arm64", "_asar"); const assets = path.join(asar, "webview", "assets"); fs.mkdirSync(assets, { recursive: true }); fs.writeFileSync(path.join(asar, "package.json"), JSON.stringify({ version: "26.1007.21159" })); - // These chunks are scanned for auth but contain no patchable auth function. + // Harmless asset chunks must not turn missing required targets into success. for (const file of ["auth-a.js", "auth-b.js"]) { fs.writeFileSync(path.join(assets, file), "const authMethod='chatgpt';const allowed=authMethod!=='chatgpt';"); } const reportDir = path.join(root, "report"); const report = runPatches({ platform: "mac-arm64", sourceDir: root, check: true, reportDir, - policy: policy("patch-windows-portable-runtime.js", "patch-model-picker-submenu.js", "patch-plugin-auth.js"), + policy: policy("patch-windows-portable-runtime.js", "patch-hide-pet-menu.js"), log: () => {}, }); - assert.equal(report.canBuild, true); - assert.equal(report.reviewCount, 1); - const scanner = report.results.find((item) => item.script === "patch-plugin-auth.js"); - assert.equal(scanner.noticeSummary.length, 1); - assert.equal(scanner.noticeSummary[0].kind, "info"); - assert.equal(scanner.noticeSummary[0].count, 2); + assert.equal(report.canBuild, false); + assert.equal(report.reviewCount, 0); assert.equal(report.results.find((item) => item.script === "patch-windows-portable-runtime.js").noticeSummary[0].kind, "info"); - assert.equal(report.results.find((item) => item.script === "patch-model-picker-submenu.js").noticeSummary[0].kind, "review"); + assert.equal(report.results.find((item) => item.script === "patch-hide-pet-menu.js").status, "failed"); const markdown = fs.readFileSync(path.join(reportDir, "report.md"), "utf8"); - // The table must not claim a missing submenu patch was applied. - const submenuRow = markdown.split("\n").find((line) => line.startsWith("|") && line.includes("patch-model-picker-submenu.js")); - assert.match(submenuRow, /待核对/); - const infoLines = markdown.split("\n").filter((line) => line.startsWith("- ") && line.includes("patch-plugin-auth.js")); + // A required patch with no verifiable target must block the build. + const petRow = markdown.split("\n").find((line) => line.startsWith("|") && line.includes("patch-hide-pet-menu.js")); + assert.match(petRow, /失败,阻止构建/); + const infoLines = markdown.split("\n").filter((line) => line.startsWith("- ") && line.includes("patch-windows-portable-runtime.js")); assert.equal(infoLines.length, 1); assert.equal(renderReport(report, { linkLogs: false }).includes("]("), false); }); diff --git a/scripts/patch-api-key-home-navigation.js b/scripts/patch-api-key-home-navigation.js new file mode 100644 index 00000000..f5f742d7 --- /dev/null +++ b/scripts/patch-api-key-home-navigation.js @@ -0,0 +1,596 @@ +#!/usr/bin/env node +/** + * 补齐 API-key 模式的首页导航记录。 + * + * 上游的读取端会使用 auth:apikey 查找最近位置,但写入端同时受 + * 新导航模式和 ChatGPT capability 限制,导致 API-key 下从不写入。 + * 官方公共首页恢复函数也只在 ChatGPT capability 可用时保持当前首页位置; + * API-key 因而会把仍在使用的当前会话判为不可恢复并回退到空的 `/` 路由。 + * 这里让 auth:apikey 仅在请求 home 且当前位置仍属于 home 时复用官方短路, + * 离开首页后仍由官方记录恢复逻辑处理,不再逐个修改具体按钮入口。 + * 补丁不开启 ChatGPT 账户能力,也不改变其他认证方式或其他导航区域。 + */ +const fs = require("node:fs"); +const path = require("node:path"); +const { parse } = require("acorn"); +const { applyEdits, literal, nodes, unique } = require("./patch-ast-util"); +const { SRC_DIR, relPath } = require("./patch-util"); +const { isRspackFrontend, findFrontendModules, replaceFrontendModule } = require("./rspack-util"); + +const MARKER = "/* Codex:API-key 首页使用官方记录器。 */"; +const BROKEN_TRACKER_MARKER = "/* Codex:API-key 首页记录真实会话。 */"; +const INVALID_TRACKER_MARKER = "/* Codex:API-key 首页恢复写入。 */"; +const HOME_CURRENT_MARKER = "/* Codex:API-key 首页保持当前位置。 */"; +const HOME_STATE_MARKER = "/* Codex:API-key 首页保持当前。 */"; +const HOME_RESTORE_MARKER = "/* Codex:API-key 首页从其他页面恢复会话。 */"; +const LEGACY_MARKERS = [ + "/* Codex:API-key 当前首页保持会话。 */", + "/* Codex:API-key 首页恢复最近会话。 */", + "/* Codex:API-key 首页保持状态会话。 */", +]; +const PLATFORMS = ["mac-arm64", "mac-x64", "win", "unix"]; + +function propertyName(property) { + if (property?.type !== "Property") return null; + if (!property.computed && property.key.type === "Identifier") return property.key.name; + return literal(property.key); +} + +function objectBinding(pattern, name) { + const property = pattern.properties.find(item => propertyName(item) === name); + return property?.value?.type === "Identifier" ? property.value.name : null; +} + +function optionBinding(pattern, name) { + const property = pattern.properties.find(item => propertyName(item) === name); + if (property?.value?.type === "Identifier") return property.value.name; + return property?.value?.type === "AssignmentPattern" && property.value.left?.type === "Identifier" + ? property.value.left.name : null; +} + +function memberName(node) { + if (node?.type === "ChainExpression") node = node.expression; + if (node?.type !== "MemberExpression") return null; + if (!node.computed && node.property.type === "Identifier") return node.property.name; + return literal(node.property); +} + +function memberRoot(node) { + let current = node; + while (current?.type === "MemberExpression" || current?.type === "ChainExpression") { + current = current.type === "ChainExpression" ? current.expression : current.object; + } + return current?.type === "Identifier" ? current.name : null; +} + +function isTrue(node) { + return literal(node) === true || node?.type === "UnaryExpression" && + node.operator === "!" && literal(node.argument) === 0; +} + +function returnsTrue(node) { + if (node?.type === "ReturnStatement") return isTrue(node.argument); + return node?.type === "BlockStatement" && node.body.length === 1 && + node.body[0].type === "ReturnStatement" && isTrue(node.body[0].argument); +} + +function equalityWithIdentifier(node, identifier) { + if (node?.type !== "BinaryExpression" || !["===", "=="].includes(node.operator)) return null; + if (node.left?.type === "Identifier" && node.left.name === identifier) return node.right; + if (node.right?.type === "Identifier" && node.right.name === identifier) return node.left; + return null; +} + +function isNotNullComparison(node, identifier) { + if (node?.type !== "BinaryExpression" || !["!=", "!=="].includes(node.operator)) return false; + return (node.left?.type === "Identifier" && node.left.name === identifier && + literal(node.right) === null) || + (node.right?.type === "Identifier" && node.right.name === identifier && + literal(node.left) === null); +} + +function firstAndOperand(node) { + let current = node; + while (current?.type === "LogicalExpression" && current.operator === "&&") current = current.left; + return current; +} + +function logicalOperands(node, operator) { + if (node?.type !== "LogicalExpression" || node.operator !== operator) return [node]; + return [...logicalOperands(node.left, operator), ...logicalOperands(node.right, operator)]; +} + +function comparison(node, identifier, value) { + if (node?.type !== "BinaryExpression" || !["===", "=="].includes(node.operator)) return false; + return (node.left?.type === "Identifier" && node.left.name === identifier && + literal(node.right) === value) || + (node.right?.type === "Identifier" && node.right.name === identifier && + literal(node.left) === value); +} + +function isApiKeyHomeGate(node, capability, accountKey, area) { + if (node?.type !== "LogicalExpression" || node.operator !== "||" || + node.left?.type !== "Identifier" || node.left.name !== capability) return false; + const conditions = logicalOperands(node.right, "&&"); + return conditions.length === 2 && + conditions.some(item => comparison(item, accountKey, "auth:apikey")) && + conditions.some(item => comparison(item, area, "home")); +} + +function currentHomeMatch(node, current, area) { + if (node?.type !== "BinaryExpression" || !["===", "=="].includes(node.operator)) return null; + const left = node.left; + if (left?.type !== "CallExpression" || left.arguments.length !== 2 || + left.callee?.type !== "Identifier" || left.arguments[1]?.type !== "Identifier" || + left.arguments[1].name !== current || node.right?.type !== "Identifier" || + node.right.name !== area) return null; + return left.callee.name; +} + +function sidebarThreadMember(node, current) { + const member = node?.type === "ChainExpression" ? node.expression : node; + return member?.type === "MemberExpression" && member.optional === true && + member.object?.type === "MemberExpression" && member.object.optional !== true && + member.object.object?.type === "Identifier" && member.object.object.name === current && + member.object.property?.type === "Identifier" && member.object.property.name === "state" && + member.property?.type === "Identifier" && member.property.name === "sidebarThreadLocationId" + ? member : null; +} + +function isSidebarThreadLocationMember(node, current) { + return sidebarThreadMember(node, current) != null; +} + +function sidebarThreadLocationPresence(node, current) { + if (node?.type !== "BinaryExpression" || !["!=", "!=="].includes(node.operator)) return null; + return isSidebarThreadLocationMember(node.left, current) && literal(node.right) === null ? node : null; +} + +function currentHomeDirect(node, current, area) { + const classifier = currentHomeMatch(node, current, area); + return classifier == null ? null : { classifier, home: node, state: null }; +} + +function findCurrentHomeCheck(fn, current, area, source) { + const candidates = []; + const branchRange = nodes(fn, + item => item.type === "IfStatement" && item.consequent.type === "ReturnStatement" && + item.test?.type === "LogicalExpression" && item.test.operator === "&&", + { ownScope: true }) + .map(item => item.test) + .find(item => nodes(item, node => currentHomeDirect(node, current, area) != null).length >= 1) ?? null; + const orExpressions = nodes(fn, + item => item.type === "LogicalExpression" && item.operator === "||", + { ownScope: true }); + for (const node of nodes(fn, item => item.type === "BinaryExpression" && + ["===", "=="].includes(item.operator), { ownScope: true })) { + const direct = currentHomeDirect(node, current, area); + if (direct == null) continue; + const alternatives = orExpressions + .filter(item => item.start <= node.start && item.end >= node.end) + .map(item => ({ item, parts: logicalOperands(item, "||") })) + .filter(({ parts }) => parts.length === 2 && parts.includes(node)) + .map(({ item, parts }) => { + const state = parts.find(part => part !== node); + return sidebarThreadLocationPresence(state, current) == null + ? null : { item, state }; + }) + .filter(Boolean) + .sort((left, right) => left.item.end - left.item.start - (right.item.end - right.item.start)); + const alternative = alternatives[0] ?? null; + const patchedRange = alternative?.item ?? node; + const markerRange = branchRange == null ? patchedRange : { + start: Math.min(patchedRange.start, branchRange.start), + end: Math.max(patchedRange.end, branchRange.end), + }; + const markerPresent = source.slice(markerRange.start, markerRange.end).includes(HOME_STATE_MARKER); + const statePatched = alternative?.state != null && markerPresent; + candidates.push({ + ...direct, + state: statePatched ? alternative.state : null, + node: patchedRange, + markerPresent, + }); + } + if (candidates.length !== 1) throw new Error(`首页当前位置判定 数量异常(${candidates.length})`); + return candidates[0]; +} + +function findHomeRestore(ast, source) { + const candidates = []; + for (const fn of nodes(ast, node => ["FunctionDeclaration", "FunctionExpression"].includes(node.type))) { + if (fn.params.length < 2 || fn.params[0]?.type !== "Identifier" || + fn.params[1]?.type !== "ObjectPattern") continue; + const store = fn.params[0].name; + const options = fn.params[1]; + const bindings = Object.fromEntries(["accountKey", "auth", "area", "navigate", "productMode", "state"] + .map(name => [name, optionBinding(options, name)])); + if (Object.values(bindings).some(value => value == null)) continue; + + for (const branch of nodes(fn, node => node.type === "IfStatement" && returnsTrue(node.consequent), + { ownScope: true })) { + const areaCalls = nodes(branch.test, node => { + const other = equalityWithIdentifier(node, bindings.area); + return other?.type === "CallExpression"; + }).map(node => equalityWithIdentifier(node, bindings.area)); + const currentNames = areaCalls.flatMap(call => call.arguments + .filter(argument => argument?.type === "Identifier" && argument.name !== store) + .map(argument => argument.name)); + const current = [...new Set(currentNames)].find(name => + nodes(branch.test, node => isNotNullComparison(node, name)).length === 1); + if (current == null) continue; + + const productChecks = nodes(branch.test, + node => equalityWithIdentifier(node, bindings.productMode)?.type === "CallExpression"); + if (productChecks.length !== 1) continue; + + const operands = logicalOperands(branch.test, "&&"); + const gate = operands.find(operand => { + const name = operand.type === "Identifier" ? operand.name : + operand.type === "LogicalExpression" && operand.operator === "||" ? operand.left?.name : null; + return name && + fn.body.body.filter(node => node.type === "VariableDeclaration") + .flatMap(node => node.declarations).some(node => node.id.name === name && + memberName(node.init?.callee) === "get" && memberRoot(node.init.callee) === store); + }) + ?? firstAndOperand(branch.test); + const capability = gate?.type === "Identifier" ? gate.name : + gate?.type === "LogicalExpression" && gate.operator === "||" && + gate.left?.type === "Identifier" ? gate.left.name : null; + if (capability == null) continue; + const capabilityDeclarations = fn.body.body + .filter(node => node.type === "VariableDeclaration") + .flatMap(node => node.declarations) + .filter(node => node.id?.type === "Identifier" && node.id.name === capability && + node.init?.type === "CallExpression" && memberName(node.init.callee) === "get" && + memberRoot(node.init.callee) === store); + if (capabilityDeclarations.length !== 1) continue; + let currentHome; + try { + currentHome = findCurrentHomeCheck(fn, current, bindings.area, source); + } catch { + continue; + } + + candidates.push({ + accountKey: bindings.accountKey, + area: bindings.area, + capability, + current, + currentHome, + gate, + preparedRestore: findPreparedRestoreCheck(fn, store, capability), + markerPresent: currentHome.markerPresent, + }); + } + } + if (candidates.length > 1) throw new Error(`公共首页恢复当前位置分支 数量异常(${candidates.length})`); + return candidates[0] ?? null; +} + +function findPreparedRestoreCheck(fn, store, capability) { + const candidates = []; + for (const conditional of nodes(fn, + item => item.type === "ConditionalExpression", { ownScope: true })) { + const prepared = conditional.consequent; + const direct = conditional.alternate; + const testPatched = isApiKeyRestoreOverride(conditional.test); + if (!testPatched && + (conditional.test?.type !== "Identifier" || conditional.test.name !== capability)) continue; + if ( + prepared?.type !== "CallExpression" || + prepared.arguments[0]?.type !== "Identifier" || prepared.arguments[0].name !== store || + prepared.arguments[1]?.type !== "Identifier" || + direct?.type !== "SequenceExpression") continue; + candidates.push({ node: conditional.test }); + } + if (candidates.length !== 1) { + throw new Error(`首页完整恢复分支 数量异常(${candidates.length})`); + } + return candidates[0]; +} + +function isApiKeyRestoreOverride(node) { + if (node?.type !== "LogicalExpression" || node.operator !== "||" || + node.left?.type !== "Identifier") return false; + const conditions = logicalOperands(node.right, "&&"); + return conditions.length === 2 && + conditions.some(item => item.type === "BinaryExpression" && + ["===", "=="].includes(item.operator) && + item.left?.type === "Identifier" && + literal(item.right) === "auth:apikey") && + conditions.some(item => item.type === "BinaryExpression" && + ["===", "=="].includes(item.operator) && + literal(item.right) === "home"); +} + +function activeDestinationStatement(tracker) { + // 交给官方记录器处理 atom、路由分类及离开时间;空 destinationId 会阻止记录。 + return `${MARKER}if(${tracker.authMethod}===\`apikey\`){` + + `${tracker.recorder}(${tracker.store},{accountKey:\`auth:apikey\`,` + + `auth:${tracker.auth},location:${tracker.location},productMode:${tracker.productMode}});return;}`; +} + +function findActiveDestinationTracker(ast, source) { + const candidates = []; + for (const fn of ast.body.filter(node => node.type === "FunctionDeclaration")) { + const all = nodes(fn, () => true); + const calls = all.filter(node => node.type === "CallExpression" && + ["Identifier", "SequenceExpression"].includes(node.callee?.type) && + node.arguments.length === 2 && node.arguments[0]?.type === "Identifier" && + node.arguments[1]?.type === "ObjectExpression"); + // 已补丁的回调会多一个 API-key 调用;以官方包含 destinationId 的调用为锚点。 + // 压缩器会重命名记录器;以完整官方调用契约定位,不能绑定 QBa 等临时名。 + const officialCalls = calls.filter(node => { + const properties = node.arguments[1].properties; + return properties.length === 5 && + ["accountKey", "auth", "location", "productMode", "destinationId"] + .every(name => properties.filter(item => propertyName(item) === name && + item.value?.type === "Identifier").length === 1); + }); + if (officialCalls.length !== 1) continue; + const call = officialCalls[0]; + const callback = all.filter(node => node.type === "ArrowFunctionExpression" && + node.start <= call.start && node.end >= call.end).at(-1); + if (callback?.body.type !== "BlockStatement") continue; + const properties = Object.fromEntries(call.arguments[1].properties + .filter(item => item.type === "Property") + .map(item => [propertyName(item), item.value])); + if (["accountKey", "auth", "location", "productMode", "destinationId"] + .some(name => properties[name]?.type !== "Identifier")) continue; + const auth = all.filter(node => node.type === "VariableDeclarator" && + node.init?.name === properties.auth.name && node.id?.type === "ObjectPattern") + .map(node => ({ accountId: objectBinding(node.id, "accountId"), + authMethod: objectBinding(node.id, "authMethod") })) + .find(item => item.accountId && item.authMethod); + if (auth == null) continue; + const marker = source.slice(callback.start, callback.end).includes(MARKER); + const sharedAuth = usesSharedAuth(callback, auth) || + nodes(callback.body, node => node.type === "Identifier" && node.name === properties.auth.name).length > 0; + const details = { authMethod: auth.authMethod, callback, + recorder: call.callee.type === "Identifier" ? call.callee.name : `(${source.slice(call.callee.start, call.callee.end)})`, auth: properties.auth.name, productMode: properties.productMode.name, + destinationId: properties.destinationId.name, location: properties.location.name, + store: call.arguments[0].name, alreadyPatched: marker }; + if (!marker && !sharedAuth) continue; + candidates.push(details); + } + if (candidates.length > 1) { + throw new Error(`首页活动目标跟踪器 数量异常(${candidates.length})`); + } + return candidates[0] ?? null; +} + +function usesSharedAuth(callback, auth) { + if (auth == null || callback?.type !== "ArrowFunctionExpression") return false; + return nodes(callback.body, node => node.type === "Identifier" && + (node.name === auth.accountId || node.name === auth.authMethod)).length > 0; +} + + +function patchSource(source) { + if (source.includes(BROKEN_TRACKER_MARKER)) { + return { status: "unexpected-shape", source, + reason: "检测到错误的状态仓库写入补丁;必须从干净的上游 Bundle 重新构建" }; + } + const previousMarker = source.includes(INVALID_TRACKER_MARKER); + if (previousMarker) { + return { status: "unexpected-shape", source, reason: "检测到上一版首页恢复补丁;必须从未应用旧补丁的上游 Bundle 重新构建" }; + } + const legacyMarker = LEGACY_MARKERS.find(marker => source.includes(marker)); + if (legacyMarker != null) { + return { + status: "unexpected-shape", + source, + reason: "检测到旧入口级首页补丁;必须从未应用旧补丁的上游 Bundle 重新构建", + }; + } + if (!["authMethod", "accountKey", "productMode", "auth:", "chatgpt:"].every(value => + source.includes(value))) { + if (source.includes(INVALID_TRACKER_MARKER) || source.includes(MARKER) || source.includes(HOME_CURRENT_MARKER)) { + return { status: "unexpected-shape", source, reason: "补丁标记存在但首页导航结构未知" }; + } + return { status: "not-applicable", source }; + } + try { + const ast = parse(source, { ecmaVersion: "latest", sourceType: "module" }); + const tracker = findActiveDestinationTracker(ast, source); + if (tracker == null) { + if ([MARKER, HOME_CURRENT_MARKER, HOME_STATE_MARKER, HOME_RESTORE_MARKER] + .some(marker => source.includes(marker))) throw new Error("补丁标记存在但首页活动目标跟踪器缺失"); + // 多个 chunk 会共享账户字段;只有完整原生记录调用所在文件才是补丁目标。 + return { status: "not-applicable", source }; + } + const homeRestore = findHomeRestore(ast, source); + if (tracker == null || homeRestore == null) { + if (source.includes(MARKER) || source.includes(HOME_CURRENT_MARKER)) { + throw new Error("补丁标记存在但首页导航结构未知"); + } + return { status: "not-applicable", source }; + } + + const trackerPatched = tracker.alreadyPatched; + const gatePatched = isApiKeyHomeGate(homeRestore.gate, homeRestore.capability, + homeRestore.accountKey, homeRestore.area); + const currentHomePatched = homeRestore.currentHome.state != null && + homeRestore.currentHome.markerPresent; + const preparedRestorePatched = isApiKeyRestoreOverride(homeRestore.preparedRestore.node); + if (trackerPatched && !source.slice(tracker.callback.start, tracker.callback.end).includes(MARKER)) { + throw new Error("API-key 放行逻辑存在但缺少本项目标记"); + } + if (gatePatched && !source.slice(homeRestore.gate.start, homeRestore.gate.end) + .includes(HOME_CURRENT_MARKER)) { + throw new Error("API-key 首页放行逻辑存在但缺少本项目标记"); + } + if (currentHomePatched && !homeRestore.currentHome.markerPresent) { + throw new Error("API-key 首页当前位置逻辑存在但缺少本项目标记"); + } + if (preparedRestorePatched && !source.slice(homeRestore.preparedRestore.node.start, + homeRestore.preparedRestore.node.end).includes(HOME_RESTORE_MARKER)) { + throw new Error("API-key 首页完整恢复逻辑存在但缺少本项目标记"); + } + if (!trackerPatched && (source.includes(MARKER) || + tracker.callback.body.type !== "BlockStatement")) { + throw new Error("导航模式与 ChatGPT capability 条件结构未知"); + } + if (!gatePatched && (source.includes(HOME_CURRENT_MARKER) || + homeRestore.gate.type !== "Identifier")) { + throw new Error("公共首页恢复当前位置逻辑不完整"); + } + if (!currentHomePatched && source.includes(HOME_STATE_MARKER) && + !homeRestore.currentHome.markerPresent) { + throw new Error("API-key 首页当前状态逻辑不完整"); + } + if (!preparedRestorePatched && source.includes(HOME_RESTORE_MARKER)) { + throw new Error("API-key 首页完整恢复逻辑不完整"); + } + if (trackerPatched && gatePatched && currentHomePatched && preparedRestorePatched) { + return { status: "already-patched", source }; + } + + const home = homeRestore.currentHome; + const next = applyEdits(source, [ + { + start: trackerPatched ? source.length : tracker.callback.body.start + 1, + end: trackerPatched ? source.length : tracker.callback.body.start + 1, + replacement: trackerPatched ? "" : activeDestinationStatement(tracker), + }, + { + start: homeRestore.gate.start, + end: homeRestore.gate.end, + replacement: gatePatched ? source.slice(homeRestore.gate.start, homeRestore.gate.end) : + `(${homeRestore.capability}||${HOME_CURRENT_MARKER}` + + `${homeRestore.accountKey}===\`auth:apikey\`&&${homeRestore.area}===\`home\`)`, + }, + { + start: home.node.start, + end: home.node.end, + replacement: currentHomePatched ? source.slice(home.node.start, home.node.end) : + `(${source.slice(home.home.start, home.home.end)}||` + + `${HOME_STATE_MARKER}${homeRestore.current}.state?.sidebarThreadLocationId!=null)`, + }, + { + start: homeRestore.preparedRestore.node.start, + end: homeRestore.preparedRestore.node.end, + replacement: preparedRestorePatched ? source.slice(homeRestore.preparedRestore.node.start, + homeRestore.preparedRestore.node.end) : + `(${homeRestore.capability}||${HOME_RESTORE_MARKER}` + + `${homeRestore.accountKey}===\`auth:apikey\`&&${homeRestore.area}===\`home\`)`, + }, + ]); + return { status: "patched", source: next }; + } catch (error) { + return { status: "unexpected-shape", source, reason: error.message }; + } +} + +function targetDirectories(platform) { + const directories = (platform ? [platform] : PLATFORMS) + .map(name => ({ platform: name, path: path.join(SRC_DIR, name, "_asar", "webview", "assets") })) + .filter(item => fs.existsSync(item.path)); + const legacy = path.join(SRC_DIR, "webview", "assets"); + if (!directories.length && fs.existsSync(legacy)) directories.push({ platform: "legacy", path: legacy }); + return directories; +} + +function patchRspackNavigation(source, role) { + const ast = parse(source, { ecmaVersion: "latest", sourceType: "module" }); + if (role === "tracker") { + const tracker = findActiveDestinationTracker(ast, source); + if (!tracker) throw new Error("Rspack 首页活动目标跟踪器缺失"); + if (tracker.alreadyPatched) return { status: "already-patched", source }; + const next = applyEdits(source, [{ start: tracker.callback.body.start + 1, + end: tracker.callback.body.start + 1, replacement: activeDestinationStatement(tracker) }]); + parse(next, { ecmaVersion: "latest", sourceType: "module" }); + if (!findActiveDestinationTracker(parse(next, { ecmaVersion: "latest", sourceType: "module" }), next)?.alreadyPatched) { + throw new Error("Rspack 首页记录器应用后验证失败"); + } + return { status: "patched", source: next }; + } + const restore = findHomeRestore(ast, source); + if (!restore) throw new Error("Rspack 公共首页恢复函数缺失"); + const home = restore.currentHome; + const markers = [HOME_CURRENT_MARKER, HOME_STATE_MARKER, HOME_RESTORE_MARKER]; + if (markers.every(marker => source.includes(marker))) { + if (!isApiKeyHomeGate(restore.gate, restore.capability, restore.accountKey, restore.area) + || !home.markerPresent || !isApiKeyRestoreOverride(restore.preparedRestore.node)) throw new Error("首页恢复补丁结构异常"); + return { status: "already-patched", source }; + } + if (markers.some(marker => source.includes(marker))) throw new Error("首页恢复补丁标记不完整"); + const override = marker => `(${restore.capability}||${marker}${restore.accountKey}===\`auth:apikey\`&&${restore.area}===\`home\`)`; + const next = applyEdits(source, [ + { start: restore.gate.start, end: restore.gate.end, replacement: override(HOME_CURRENT_MARKER) }, + { start: home.node.start, end: home.node.end, + replacement: `(${source.slice(home.home.start, home.home.end)}||${HOME_STATE_MARKER}${restore.current}.state?.sidebarThreadLocationId!=null)` }, + { start: restore.preparedRestore.node.start, end: restore.preparedRestore.node.end, replacement: override(HOME_RESTORE_MARKER) }, + ]); + patchRspackNavigation(next, role); + return { status: "patched", source: next }; +} + +function patchRspack(directory, check) { + const plans = []; + for (const [role, all] of [["tracker", ["activeDestinationId", "destinationId:", "accountId", "authMethod"]], + ["restore", ["accountKey", "departedAt", "prepareNavigation", "sidebarThreadLocationId"]]]) { + const targets = findFrontendModules(directory, { all, + test: source => role === "tracker" ? findActiveDestinationTracker(parse(source, { ecmaVersion: "latest", sourceType: "module" }), source) != null + : findHomeRestore(parse(source, { ecmaVersion: "latest", sourceType: "module" }), source) != null }); + if (!targets.length || new Set(targets.map(target => target.id)).size !== 1) throw new Error(`首页 ${role} 模块不唯一`); + for (const target of targets) plans.push({ target, result: patchRspackNavigation(target.source, role) }); + } + for (const { target, result } of plans) if (!check && result.status === "patched") fs.writeFileSync(target.file, replaceFrontendModule(target, result.source), "utf8"); + console.log(` [ok] Rspack 首页记录与恢复 ${plans.length} 个模块已核对${check ? ";dry-run" : ""}`); +} + +function main() { + const args = process.argv.slice(2); + const platform = args.find(arg => PLATFORMS.includes(arg)); + const check = args.includes("--check"); + const directories = targetDirectories(platform); + let failed = 0; + let patched = 0; + for (const directory of directories) { + try { + if (isRspackFrontend(directory.path)) { patchRspack(directory.path, check); continue; } + const results = fs.readdirSync(directory.path).filter(name => name.endsWith(".js")) + .map(name => ({ name, path: path.join(directory.path, name) })) + .map(file => ({ ...file, source: fs.readFileSync(file.path, "utf8") })) + .filter(file => ["authMethod", "accountKey", "productMode", "auth:", "chatgpt:"] + .every(value => file.source.includes(value))) + .map(file => ({ file, result: patchSource(file.source) })) + .filter(item => item.result.status !== "not-applicable"); + const target = unique(results, "首页导航 Bundle"); + if (target.result.status === "unexpected-shape") throw new Error(target.result.reason); + console.log(` [${directory.platform}] ${relPath(target.file.path)}`); + if (target.result.status === "already-patched") { + console.log(" [ok] API-key 首页导航记录和公共当前位置保持已启用"); + } else if (check) { + console.log(" [ok] API-key 首页导航写入与公共恢复分支已核对;dry-run 未写文件"); + } else { + fs.writeFileSync(target.file.path, target.result.source, "utf8"); + patched++; + console.log(" [ok] API-key 将保存并恢复首页会话,当前首页会话保持不变"); + } + } catch (error) { + console.error(` [x] ${directory.platform}: ${error.message}`); + failed++; + } + } + if (!directories.length) { + console.error(" [x] 缺少目标平台界面资源"); + failed++; + } + if (failed) process.exitCode = 1; + else console.log(` [ok] ${patched} platform bundle(s) patched`); +} + +if (require.main === module) main(); +module.exports = { + HOME_CURRENT_MARKER, + HOME_RESTORE_MARKER, + HOME_STATE_MARKER, + INVALID_TRACKER_MARKER, + LEGACY_MARKERS, + MARKER, + patchSource, + patchRspackNavigation, +}; diff --git a/scripts/patch-api-key-home-navigation.test.js b/scripts/patch-api-key-home-navigation.test.js new file mode 100644 index 00000000..36df138d --- /dev/null +++ b/scripts/patch-api-key-home-navigation.test.js @@ -0,0 +1,464 @@ +const test = require("node:test"); +const assert = require("node:assert/strict"); +const fs = require("node:fs"); +const acorn = require("acorn"); +const os = require("node:os"); +const path = require("node:path"); +const { spawnSync } = require("node:child_process"); + +const { + HOME_CURRENT_MARKER, + HOME_RESTORE_MARKER, + HOME_STATE_MARKER, + INVALID_TRACKER_MARKER, + LEGACY_MARKERS, + MARKER, + patchSource, + patchRspackNavigation, +} = require("./patch-api-key-home-navigation"); + +// 可选的官方资源功能验收;输入只读,直接执行已补丁的真实函数。 +test("26.1016 真实 Bundle:首页记录、离开及完整状态恢复", { + skip: !process.env.CODEX_PATCH_REAL_BUNDLE, +}, () => { + const source = fs.readFileSync(process.env.CODEX_PATCH_REAL_BUNDLE, "utf8"); + const result = patchSource(source); + assert.equal(result.status, "patched", result.reason); + const again = patchSource(result.source); + assert.equal(again.status, "already-patched", again.reason); + assert.equal(again.source, result.source); + const ast = acorn.parse(result.source, { ecmaVersion: "latest", sourceType: "module" }); + const functions = ["mEc", "uKa", "CKa", "xKa", "SKa", "$Ga", "eKa", "dKa", "pKa", "mKa", "bKa"] + .map(name => { + const matches = ast.body.filter(node => node.type === "FunctionDeclaration" && node.id.name === name); + assert.equal(matches.length, 1, `真实函数 ${name} 必须唯一`); + return result.source.slice(matches[0].start, matches[0].end); + }).join("\n"); + const harness = Function("assert", ` + const atoms=Object.fromEntries(["jE","HE","EL","hC","sC","DKa","EKa","CD","OL","tg","Gy","kw","Aw","Ow","fEc"].map(id=>[id,{id}])); + const {jE,HE,EL,hC,sC,DKa,EKa,CD,OL,tg,Gy,kw,Aw,Ow,fEc}=atoms; + const values=new Map([[jE,false],[EL,"codex"],[hC,{projectId:"sample"}],[sC,{}]]),records=new Map(); + const store={get(atom,partition){assert.ok(atom?.id,"get 必须使用 atom");return atom===EKa?(records.get(partition)||{}):values.get(atom)}, + set(atom,...args){assert.ok(atom?.id,"set 必须使用 atom");if(atom===EKa)records.set(args[0],args[1]);else values.set(atom,args[0])}}; + let current,navigated=null;const auth={authMethod:"apikey"}; + values.set(CD,{prepareNavigation:(pathname,options)=>()=>{navigated={pathname,...options}}}); + const J={},uEc={},hEc={c:()=>[]},gEc={useContext:()=>null,useLayoutEffect:fn=>fn()}; + const E=()=>store,Wa=()=>current,DT=()=>auth,Z=atom=>store.get(atom); + const gL={home:{destinationId:"builtin:home"}},Ty="/",wKa=480000; + const qke={},Ewe={},BI="/review",ia=()=>null,no=()=>false,nOe=()=>null; + const eb=({pathname})=>({routeKind:pathname.startsWith("/settings")?"other":"home"}); + const Me=location=>location.pathname,Cwn=()=>{}; + ${functions} + return {visit(location){current=location;values.set(HE,location);mEc()}, + click(){navigated=null;pKa(store,{accountKey:"auth:apikey",auth,area:"home",navigate:pathname=>{navigated={pathname}},productMode:"codex",state:{}});return navigated}, + record(){return records.get("auth:apikey:codex")?.["builtin:home"]}}; + `)(assert); + const thread = { pathname: "/local/sample-thread", key: "thread", search: "", hash: "", + state: { sidebarThreadLocationId: "chats", sidebarProductMode: "codex", sidebarProductModeAccountKey: "auth:apikey" } }; + harness.visit(thread); + assert.equal(harness.record().location.pathname, thread.pathname); + assert.equal(harness.record().departedAt, null); + assert.equal(harness.click(), null); + harness.visit({ pathname: "/settings/general", key: "settings", search: "", hash: "", state: null }); + assert.equal(harness.record().location.pathname, thread.pathname); + assert.ok(harness.record().departedAt > 0); + const restored = harness.click(); + assert.equal(restored.pathname, thread.pathname); + assert.equal(restored.state.sidebarThreadLocationId, "chats"); + assert.equal(restored.state.sidebarProductModeAccountKey, "auth:apikey"); +}); + +function fixture() { + return fixtureParts().join(""); +} + +function fixtureParts() { + return [ + "function Track(){", + "let e=cache(),t=store(),n=location(),{accountId:r,authMethod:i}=auth(),", + "a=mode()!==`legacy`,o=capability(),s=productMode(),l;", + "e[0]!==r||e[1]!==i||e[2]!==a||e[3]!==o?", + "(l=null,a&&o&&(i===`chatgpt`&&r!=null?l=`chatgpt:${r}`:i!=null&&(l=`auth:${i}`)),", + "e[0]=r,e[1]=i,e[2]=a,e[3]=o,e[4]=l):l=e[4];", + "track(t,{accountKey:l,location:n,productMode:s});return l", + "}", + "function Active(){let t=cache(17),n=store(),r=location(),i=useContext(Ctx),a=q(capability()),o=q(productMode()),s=q(project()),c=auth(),{accountId:l,authMethod:u,isLoading:d,userId:f}=c,p=null,m=i?.activeDestinationId??null,h;t[0]?h=()=>{QBa(n,{accountKey:p,auth:c,location:r,productMode:o,destinationId:m})}:h=t[7];let g;return (0,react.useLayoutEffect)(h,g),null}", + "function restore(e,{accountKey:t,auth:n,area:r,navigate:i,productMode:a,state:o}){", + "let s=e.get(AE),c=e.get(CH),u=remembered(e,{accountKey:t,auth:n,area:r,productMode:a});", + "if(s&&c!=null&&same(c,r).hash===c.hash&&areaOf(e,c)===r&&e.get(PM)===a&&", + "(c.state?.sidebarProductMode==null||c.state.sidebarProductMode===a))return!0;", + "if(u==null||!s&&u.departedAt==null||areaOf(e,u.location)!==r){i(`/`);return!0}", + "return s?nativeRestore(e,u,o):(i(u.location.pathname,{state:o}),!0)", + "}", + "function Rail(e,o){let d={id:`builtin:home`};return()=>restore(e,{...o,area:`home`})}", + ]; +} + +function loadTracker(source, authValue, capabilityValue, modeValue = "current") { + return Function("authValue", "capabilityValue", "modeValue", [ + "const cache=()=>[];const store=()=>({});const location=()=>({});", + "const auth=()=>authValue;const mode=()=>modeValue;const capability=()=>capabilityValue;", + "const productMode=()=>`codex`;const track=()=>{};", + source, + "return Track();", + ].join(""))(authValue, capabilityValue, modeValue); +} + +function clickHome(source, { + accountKey = "auth:apikey", + capability = false, + currentArea = "home", + sidebarThreadLocationId = "chats", + rememberedArea = "home", + rememberedDepartedAt = 1, + rememberedPath = "/thread/remembered", + hasRemembered = true, +} = {}) { + const navigations = []; + const current = currentArea == null ? null : { + area: currentArea === "home" ? null : currentArea, + hash: `same`, + pathname: currentArea === "settings" ? "/settings/general" : "/thread/current", + state: { sidebarProductMode: "codex", sidebarThreadLocationId }, + }; + const rememberedValue = hasRemembered ? { + departedAt: rememberedDepartedAt, + location: { area: rememberedArea, pathname: rememberedPath }, + } : null; + const activeStore = { + get(key) { + if (key === "AE") return capability; + if (key === "CH") return current; + if (key === "PM") return "codex"; + return null; + }, + }; + const invoke = Function("activeStore", "accountKey", "rememberedValue", "recordNavigation", [ + "const AE=`AE`,CH=`CH`,PM=`PM`;", + "const cache=()=>[];const store=()=>({});const location=()=>({});", + "const auth=()=>({accountId:null,authMethod:`apikey`});const mode=()=>`current`;", + "const capability=()=>false,productMode=()=>`codex`,track=()=>{};", + "const remembered=()=>rememberedValue;const same=()=>({hash:`same`});", + "const areaOf=(_store,value)=>value.area;", + "const nativeRestore=(_store,record)=>{recordNavigation(record.location.pathname);return true};", + source, + "return Rail(activeStore,{accountKey,auth:{},navigate:path=>recordNavigation(path),", + "productMode:`codex`,state:{}})();", + ].join("")); + invoke(activeStore, accountKey, rememberedValue, path => navigations.push(path)); + return navigations; +} + +test("Rspack 独立恢复工厂保留 fresh 门槛并恢复 API-key 首页完整状态", () => { + const source = fixture().slice(fixture().indexOf("function restore")) + .replace("function restore", "const restore=function restore") + .replace("state:o})", "state:o,fresh:__fresh=!1})") + .replace("if(s&&c!=null", "if(!__fresh&&s&&c!=null") + .replace("function Rail", ";function Rail"); + const result = patchRspackNavigation(source, "restore"); + assert.deepEqual(clickHome(result.source), []); + assert.deepEqual(clickHome(result.source, { currentArea: "settings", sidebarThreadLocationId: null }), ["/thread/remembered"]); + assert.deepEqual(clickHome(result.source, { currentArea: "settings", sidebarThreadLocationId: null, hasRemembered: false }), ["/"]); + assert.match(result.source, /!__fresh&&/); + assert.equal(patchRspackNavigation(result.source, "restore").status, "already-patched"); +}); + +test("API-key 在活动导航记录器写入真实会话", () => { + const result = patchSource(fixture()); + + assert.equal(result.status, "patched"); + assert.ok(result.source.includes(MARKER)); + assert.match(result.source, /QBa\(n,\{accountKey:`auth:apikey`,auth:c,location:r,productMode:o\}\);return;/); + assert.doesNotMatch(result.source, /n\.set\(m,r\.pathname\)/); + assert.doesNotMatch(result.source, /首页恢复写入/); +}); + +test("活动回调在会话和设置页都委托官方记录器,且不向仓库传入导航 ID", () => { + const source = patchSource(fixture()).source; + const calls = []; + const activeStore = { set() { assert.fail("不能将导航 ID 当作 atom 写入仓库"); } }; + const invoke = Function("current", "method", "activeStore", "record", [ + "const cache=()=>[true],store=()=>activeStore,location=()=>current;", + "const useContext=()=>({activeDestinationId:null}),Ctx={},q=x=>x;", + "const capability=()=>false,productMode=()=>`codex`,project=()=>null;", + "const auth=()=>({authMethod:method}),QBa=record;", + "const react={useLayoutEffect:callback=>callback()};", + source, + "Active();", + ].join("")); + for (const current of [ + { pathname: "/local/thread-1", state: { sidebarThreadLocationId: "chats" } }, + { pathname: "/settings/general", state: null }, + ]) { + invoke(current, "apikey", activeStore, (store, options) => calls.push({ store, options })); + const call = calls.at(-1); + assert.equal(call.store, activeStore); + assert.equal(call.options.accountKey, "auth:apikey"); + assert.equal(call.options.auth.authMethod, "apikey"); + assert.equal(call.options.location, current); + assert.equal(call.options.productMode, "codex"); + assert.equal(Object.hasOwn(call.options, "destinationId"), false); + } + assert.equal(calls.length, 2, "每次路由变化只调用一次官方记录器"); +}); + +test("拒绝曾导致真实 API-key 页面崩溃的旧写入补丁", () => { + const broken = fixture().replace("function Rail", "/* Codex:API-key 首页记录真实会话。 */function Rail"); + const result = patchSource(broken); + assert.equal(result.status, "unexpected-shape"); + assert.match(result.reason, /错误的状态仓库写入/); +}); + +test("builtin:home 通过公共恢复函数保持 API-key 当前首页会话", () => { + const result = patchSource(fixture()); + + assert.equal(result.status, "patched"); + assert.ok(result.source.includes("builtin:home")); + assert.ok(result.source.includes(HOME_CURRENT_MARKER)); + assert.ok(result.source.includes(HOME_STATE_MARKER)); + assert.ok(result.source.includes(HOME_RESTORE_MARKER)); + assert.match(result.source, + /same\(c,r\)\.hash===c\.hash&&\(areaOf\(e,c\)===r\|\|\/\* Codex:API-key 首页保持当前。 \*\/c\.state\?\.sidebarThreadLocationId!=null\)/); + assert.deepEqual(clickHome(result.source), []); +}); + +test("API-key 当前会话位于真实空首页分类时仍保持当前位置", () => { + const result = patchSource(fixture()); + + assert.deepEqual(clickHome(result.source, { + currentArea: "home", + sidebarThreadLocationId: "chats", + }), []); + assert.deepEqual(clickHome(result.source, { + currentArea: "home", + sidebarThreadLocationId: null, + rememberedDepartedAt: null, + }), ["/"]); +}); + +test("API-key 从设置页进入首页时恢复已记录的会话", () => { + const result = patchSource(fixture()); + + assert.deepEqual(clickHome(result.source, { + currentArea: "settings", + sidebarThreadLocationId: null, + }), ["/thread/remembered"]); +}); + +test("API-key 没有首页记录时保留官方根路由 fallback", () => { + const result = patchSource(fixture()); + + assert.deepEqual(clickHome(result.source, { + currentArea: "scheduled", + sidebarThreadLocationId: null, + hasRemembered: false, + }), ["/"]); +}); + +test("ChatGPT capability 可用时保持官方当前首页短路", () => { + const result = patchSource(fixture()); + + assert.deepEqual(clickHome(result.source, { + accountKey: "chatgpt:account-1", + capability: true, + }), []); +}); + +test("ChatGPT capability 不可用时不会获得 API-key 特例", () => { + const result = patchSource(fixture()); + + assert.deepEqual(clickHome(result.source, { + accountKey: "chatgpt:account-1", + capability: false, + rememberedDepartedAt: null, + }), ["/"]); +}); + +test("其他认证方式不会获得 API-key 特例", () => { + const result = patchSource(fixture()); + + assert.deepEqual(clickHome(result.source, { + accountKey: "auth:chatgptAuthTokens", + rememberedDepartedAt: null, + }), ["/"]); +}); + +test("API-key 的非首页区域不会获得首页当前位置特例", () => { + const result = patchSource(fixture()); + const direct = result.source.replace("area:`home`", "area:`scheduled`"); + + assert.deepEqual(clickHome(direct, { + currentArea: "scheduled", + rememberedArea: "scheduled", + rememberedDepartedAt: null, + }), ["/"]); +}); + +test("补丁可重复执行且不重复修改", () => { + const patched = patchSource(fixture()); + const repeated = patchSource(patched.source); + + assert.equal(repeated.status, "already-patched"); + assert.equal(repeated.source, patched.source); + assert.equal(repeated.source.split(MARKER).length - 1, 1); + assert.equal(repeated.source.split(HOME_CURRENT_MARKER).length - 1, 1); + assert.equal(repeated.source.split(HOME_STATE_MARKER).length - 1, 1); + assert.equal(repeated.source.split(HOME_RESTORE_MARKER).length - 1, 1); +}); + +test("上一版无效首页补丁明确拒绝,不自动剥离或修补", () => { + const source = fixture().replace("function Rail", `${INVALID_TRACKER_MARKER}function Rail`); + const result = patchSource(source); + assert.equal(result.status, "unexpected-shape"); + assert.match(result.reason, /上一版首页恢复补丁/); + assert.equal(result.source, source); +}); + +test("公共恢复条件缺少真实会话状态判据时会被拒绝", () => { + const patched = patchSource(fixture()); + const incomplete = patched.source.replace( + "&&(areaOf(e,c)===r||/* Codex:API-key 首页保持当前。 */c.state?.sidebarThreadLocationId!=null)", ""); + const result = patchSource(incomplete); + + assert.equal(result.status, "unexpected-shape"); + assert.match(result.reason, /补丁标记存在但首页导航结构未知|标记与结构不一致|逻辑不完整|缺少本项目标记/); +}); + +test("没有本项目标记的同形逻辑会被拒绝", () => { + const patched = patchSource(fixture()); + const unmarked = patched.source.replace(HOME_CURRENT_MARKER, ""); + const unmarkedFirst = unmarked.replace(MARKER, ""); + const result = patchSource(unmarkedFirst); + + assert.equal(result.status, "unexpected-shape"); + assert.match(result.reason, /标记与结构不一致|缺少本项目标记|首页导航目标.*数量异常|公共首页恢复当前位置逻辑不完整/); +}); + +for (const marker of LEGACY_MARKERS) { + test(`检测并拒绝旧入口级补丁:${marker}`, () => { + const source = fixture().replace("function Rail", `${marker}function Rail`); + const result = patchSource(source); + + assert.equal(result.status, "unexpected-shape"); + assert.match(result.reason, /旧入口级首页补丁/); + assert.equal(result.source, source); + }); +} + +test("ChatGPT 登录继续遵守官方 capability 与账户条件", () => { + const result = patchSource(fixture()); + + assert.equal(loadTracker(result.source, + { accountId: "account-1", authMethod: "chatgpt" }, true), "chatgpt:account-1"); + assert.equal(loadTracker(result.source, + { accountId: "account-1", authMethod: "chatgpt" }, false), null); + assert.equal(loadTracker(result.source, + { accountId: "account-1", authMethod: "chatgpt" }, true, "legacy"), null); +}); + +test("未认证及其他认证方式不会因写入补丁越过 capability", () => { + const result = patchSource(fixture()); + + assert.equal(loadTracker(result.source, { accountId: null, authMethod: null }, false), null); + assert.equal(loadTracker(result.source, + { accountId: null, authMethod: "chatgptAuthTokens" }, false), null); + assert.equal(loadTracker(result.source, + { accountId: null, authMethod: "chatgptAuthTokens" }, true), "auth:chatgptAuthTokens"); +}); + +test("首页导航目标不唯一时明确失败", () => { + const duplicate = fixture().replaceAll("Track", "Track2") + .replaceAll("restore", "restore2").replaceAll("Rail", "Rail2") + .replaceAll("Active", "Active2"); + const source = fixture() + duplicate; + const result = patchSource(source); + + assert.equal(result.status, "unexpected-shape"); + assert.match(result.reason, /首页真实会话跟踪器.*2|首页活动目标跟踪器\s*数量异常(0|2)|公共首页恢复当前位置分支.*2|补丁标记存在但首页导航结构未知/); + assert.equal(result.source, source); +}); + +test("无关 Bundle 保持不变", () => { + const source = "function unrelated(){return `home`}"; + const result = patchSource(source); + + assert.equal(result.status, "not-applicable"); + assert.equal(result.source, source); +}); + +test("CLI 从共享账户字段的多个 chunk 中选择唯一完整首页链路", t => { + const root = fs.mkdtempSync(path.join(os.tmpdir(), "codex-home-chunks-")); + t.after(() => fs.rmSync(root, { recursive: true, force: true })); + const assets = path.join(root, "win", "_asar", "webview", "assets"); + fs.mkdirSync(assets, { recursive: true }); + const unrelated = "const account={authMethod:`apikey`,accountKey:`auth:apikey`,productMode:`codex`,auth:`chatgpt:`};"; + const shared = path.join(assets, "app-shared-test.js"); + const primary = path.join(assets, "app-primary-test.js"); + fs.writeFileSync(shared, unrelated); + fs.writeFileSync(primary, fixture()); + const run = check => spawnSync(process.execPath, + [path.join(__dirname, "patch-api-key-home-navigation.js"), "win", ...(check ? ["--check"] : [])], + { encoding: "utf8", env: { ...process.env, CODEX_PATCH_SOURCE_DIR: root } }); + const checked = run(true); + assert.equal(checked.status, 0, checked.stdout + checked.stderr); + assert.equal(fs.readFileSync(primary, "utf8"), fixture()); + const applied = run(false); + assert.equal(applied.status, 0, applied.stdout + applied.stderr); + const patched = fs.readFileSync(primary, "utf8"); + assert.ok(patched.includes(MARKER)); + assert.equal(fs.readFileSync(shared, "utf8"), unrelated); + assert.equal(run(true).status, 0); + assert.equal(fs.readFileSync(primary, "utf8"), patched); + fs.writeFileSync(shared, unrelated + MARKER); + assert.equal(run(true).status, 1, "无跟踪器却包含残缺补丁时仍须拒绝"); +}); + +test("26.1021 真实资源:首页记录、离开和设置页完整恢复", { + skip: !process.env.CODEX_REBUILD_1021_ASSETS, +}, () => { + const directory = process.env.CODEX_REBUILD_1021_ASSETS; + const input = fs.readFileSync(path.join(directory, "app-primary-844e405f2b90.js"), "utf8"); + assert.equal(require("node:crypto").createHash("sha256").update(input).digest("hex"), + "298f4c7bafe278563aa82ef8d8d4c1afe3f581d54915917849065085f7f621d2"); + const result = patchSource(input); + assert.equal(result.status, "patched", result.reason); + const ast = acorn.parse(result.source, { ecmaVersion: "latest", sourceType: "module" }); + const functions = ["oNn", "HOt", "ekt", "jOt", "MOt", "ZOt", "$Ot", "QOt", "UOt", "KOt", "GOt"] + .map(name => { + const found = ast.body.filter(node => node.type === "FunctionDeclaration" && node.id.name === name); + assert.equal(found.length, 1, `真实函数 ${name} 必须唯一`); + return result.source.slice(found[0].start, found[0].end); + }).join("\n"); + const harness = Function("assert", ` + const atoms=Object.fromEntries(["PS","Wy","BD","vE","uP","lP","kS","iKe","xZe","xG"].map(id=>[id,{id}])); + const {PS,Wy,BD,vE,uP,lP,kS,iKe,xZe,xG}=atoms; + const values=new Map([[PS,false],[BD,"codex"],[vE,{projectId:"sample"}]]),records=new Map(); + const store={get(atom,partition){assert.ok(atom?.id,"get 必须使用 atom");return atom===lP?(records.get(partition)||{}):values.get(atom)}, + set(atom,...args){assert.ok(atom?.id,"set 必须使用 atom");if(atom===lP)records.set(args[0],args[1]);else values.set(atom,args[0])}}; + let current,navigated=null;const auth={authMethod:"apikey"}; + values.set(kS,{prepareNavigation:(pathname,options)=>()=>{navigated={pathname,...options}}}); + const q={},yG={},sNn={c:()=>[]},cNn={useContext:()=>null,useLayoutEffect:fn=>fn()}; + const Jd=()=>store,_n=()=>current,rw=()=>auth,X=atom=>store.get(atom); + const Fm={home:{destinationId:"builtin:home"}},sm="/orbit",tkt=480000; + const Sne="/site",Nte="/review",Co=()=>null,Ys=()=>null,jo=()=>false; + const sD=({pathname})=>({routeKind:pathname.startsWith("/settings")?"other":"home"}); + const Ga=location=>location.pathname,m0e=(target,project)=>target.set(vE,project); + ${functions} + return {visit(location){current=location;values.set(Wy,location);oNn()}, + click(){navigated=null;GOt(store,{accountKey:"auth:apikey",auth,area:"home",navigate:pathname=>{navigated={pathname}},productMode:"codex",state:{}});return navigated}, + record(){return records.get("auth:apikey:codex")?.["builtin:home"]}}; + `)(assert); + const thread = { pathname: "/local/sample-thread", key: "thread", search: "", hash: "", + state: { sidebarThreadLocationId: "chats", sidebarProductMode: "codex", sidebarProductModeAccountKey: "auth:apikey" } }; + harness.visit(thread); + assert.equal(harness.record().location.pathname, thread.pathname); + assert.equal(harness.click(), null); + harness.visit({ pathname: "/settings/general", key: "settings", search: "", hash: "", state: null }); + assert.equal(harness.record().location.pathname, thread.pathname); + assert.ok(harness.record().departedAt > 0); + const restored = harness.click(); + assert.equal(restored.pathname, thread.pathname); + assert.equal(restored.state.sidebarThreadLocationId, "chats"); + assert.equal(restored.state.sidebarProductModeAccountKey, "auth:apikey"); + assert.equal(patchSource(result.source).status, "already-patched"); +}); diff --git a/scripts/patch-archive-delete.js b/scripts/patch-archive-delete.js index 69569412..81ee15fd 100644 --- a/scripts/patch-archive-delete.js +++ b/scripts/patch-archive-delete.js @@ -1,8 +1,9 @@ #!/usr/bin/env node /** - * patch-archive-delete.js — 为旧版归档会话列表补充删除能力。 + * patch-archive-delete.js — 补齐跨 Provider 归档列表与旧版删除能力。 * - * Two-layer patch: + * Three-layer patch: + * 0. archived thread queries: use [] to explicitly query all model providers * 1. app-main chunk: inject "delete-conversation" route into the message router * 2. data-controls chunk: inject a red "Delete" button next to "Unarchive" * @@ -13,28 +14,658 @@ * 26.803 起上游已提供单条、按项目及全部删除;检测到完整原生链路时不再注入。 */ const fs = require("fs"); +const path = require("path"); const acorn = require("acorn"); -const { locateBundles, relPath } = require("./patch-util"); - -function hasNativeArchiveDelete(code) { - const legacyMarkers = [ - "delete-archived-conversation", - "delete-all-archived-conversations", - "showDeleteButton", - "settings.dataControls.archivedChats.deleteConfirm.title", - "thread/delete", - ]; - const currentMarkers = [ - "delete-archived-conversation", - "delete-archived-conversations", - "deleteArchivedConversation", - "deleteAllArchivedConversations", - "showDeleteButton", - "thread/delete", - ]; - return [legacyMarkers, currentMarkers].some((markers) => - markers.every((marker) => code.includes(marker)), - ); +const { key, literal, nodes } = require("./patch-ast-util"); +const { locateBundles, listBuildBundles, relPath, SRC_DIR } = require("./patch-util"); +const { + findFrontendModules, + isRspackFrontend, + replaceFrontendModule, +} = require("./rspack-util"); + +function walkArchive(node, visitor) { + if (!node || typeof node !== "object") return; + if (node.type) visitor(node); + for (const [key, child] of Object.entries(node)) { + if (key === "type" || key === "start" || key === "end") continue; + if (Array.isArray(child)) { + for (const item of child) { + if (item && typeof item === "object" && item.type) { + walkArchive(item, visitor); + } + } + } else if (child && typeof child === "object" && child.type) { + walkArchive(child, visitor); + } + } +} + +function archiveLiteral(node) { + if (node?.type === "Literal") return node.value; + if ( + node?.type === "TemplateLiteral" && + node.expressions.length === 0 && + node.quasis.length === 1 + ) { + return node.quasis[0].value.cooked; + } + return undefined; +} + +function archiveObjectProperty(node, name) { + if (node?.type !== "ObjectExpression") return null; + return node.properties.find((property) => { + if (property.type !== "Property" || property.kind !== "init") return false; + const key = property.computed + ? archiveLiteral(property.key) + : property.key.type === "Identifier" + ? property.key.name + : archiveLiteral(property.key); + return key === name; + }) ?? null; +} + +function archiveStaticBoolean(node) { + if (node?.type === "Literal" && typeof node.value === "boolean") { + return node.value; + } + if ( + node?.type === "UnaryExpression" && + node.operator === "!" && + node.argument?.type === "Literal" && + (node.argument.value === 0 || node.argument.value === 1) + ) { + return node.argument.value === 0; + } + return null; +} + +function analyzeArchivedListProviders(source) { + const ast = acorn.parse(source, { ecmaVersion: "latest", sourceType: "module" }); + const edits = []; + let alreadyAllProviders = 0; + + walkArchive(ast, (node) => { + if (node.type !== "CallExpression" || node.callee.type !== "MemberExpression") { + return; + } + const method = node.callee.computed + ? archiveLiteral(node.callee.property) + : node.callee.property.name; + const options = method === "listAllThreads" + ? node.arguments[0] + : method === "sendRequest" && archiveLiteral(node.arguments[0]) === "thread/list" + ? node.arguments[1] + : null; + if (archiveStaticBoolean(archiveObjectProperty(options, "archived")?.value) !== true) { + return; + } + + const providers = archiveObjectProperty(options, "modelProviders")?.value; + if (providers?.type === "Literal" && providers.value === null) { + edits.push(providers); + } else if (providers?.type === "ArrayExpression" && providers.elements.length === 0) { + alreadyAllProviders++; + } + }); + + let code = source; + for (const edit of edits.sort((left, right) => right.start - left.start)) { + code = code.slice(0, edit.start) + "[]" + code.slice(edit.end); + } + return { code, edits: edits.length, alreadyAllProviders }; +} + +function patchArchivedListProviders(source) { + return analyzeArchivedListProviders(source).code; +} + +function locateArchivedProviderBundles(platform) { + const platforms = platform + ? [platform] + : ["mac-arm64", "mac-x64", "win"].filter((name) => + fs.existsSync(path.join(SRC_DIR, name)), + ); + const roots = platforms.length > 0 + ? platforms.map((name) => ({ + platform: name, + dir: path.join(SRC_DIR, name, "_asar", "webview", "assets"), + })) + : [{ platform: "legacy", dir: path.join(SRC_DIR, "webview", "assets") }]; + const bundles = []; + + for (const root of roots) { + if (!fs.existsSync(root.dir)) continue; + for (const name of fs.readdirSync(root.dir)) { + if (!name.endsWith(".js")) continue; + const filePath = path.join(root.dir, name); + const source = fs.readFileSync(filePath, "utf-8"); + if ( + source.includes("modelProviders") && + (source.includes("listAllThreads") || source.includes("thread/list")) + ) { + bundles.push({ platform: root.platform, path: filePath }); + } + } + } + return bundles.sort((left, right) => left.path.localeCompare(right.path)); +} + +function locateDataControlsBundles(platform) { + const platforms = platform ? [platform] : ["mac-arm64", "mac-x64", "win"].filter(name => + fs.existsSync(path.join(SRC_DIR, name, "_asar", "webview", "assets"))); + const roots = platforms.length ? platforms.map(name => ({ platform: name, + dir: path.join(SRC_DIR, name, "_asar", "webview", "assets") })) : + [{ platform: "legacy", dir: path.join(SRC_DIR, "webview", "assets") }]; + return roots.flatMap(root => { + if (!fs.existsSync(root.dir)) return []; + const matches = fs.readdirSync(root.dir).filter(name => /^data-controls-.*\.js$/.test(name)) + .map(name => ({ platform: root.platform, path: path.join(root.dir, name) })) + .filter(bundle => { const source = fs.readFileSync(bundle.path, "utf-8"); + return source.includes("archivedThread") && source.includes("archived-threads"); }); + if (matches.length !== 1) throw new Error(`[${root.platform}] expected exactly 1 archived data-controls bundle, found ${matches.length}`); + return matches; + }); +} + +function patchArchivedProviderQueries(bundles, isCheck) { + let patched = 0; + let already = 0; + for (const bundle of bundles) { + const source = fs.readFileSync(bundle.path, "utf-8"); + const result = analyzeArchivedListProviders(source); + if (result.edits > 0) { + console.log( + ` [${isCheck ? "?" : "ok"}] ${relPath(bundle.path)}: ` + + `${isCheck ? "would query" : "queries"} all providers for ` + + `${result.edits} archived list call(s)`, + ); + if (!isCheck) fs.writeFileSync(bundle.path, result.code, "utf-8"); + patched += result.edits; + } + if (result.alreadyAllProviders > 0) { + console.log( + ` [ok] ${relPath(bundle.path)}: ${result.alreadyAllProviders} archived list ` + + "call(s) already query all providers", + ); + already += result.alreadyAllProviders; + } + } + if (patched === 0 && already === 0) { + throw new Error("archived list provider query target not found"); + } + return { patched, already }; +} + +function memberName(node) { + if (node?.type === "ChainExpression") node = node.expression; + if (node?.type !== "MemberExpression") return null; + return !node.computed && node.property.type === "Identifier" + ? node.property.name : key(node.property); +} + +function bindingNames(root, value) { + return nodes(root, (node) => + (node.type === "VariableDeclarator" && node.init === value && node.id?.type === "Identifier") || + (node.type === "AssignmentExpression" && node.right === value && node.left?.type === "Identifier")) + .map(owner => owner.type === "VariableDeclarator" ? owner.id.name : owner.left.name); +} + +function bindingAliases(root, initial) { + const names = new Set(initial); + let changed = true; + while (changed) { + changed = false; + for (const node of nodes(root, item => + (item.type === "VariableDeclarator" && item.id?.type === "Identifier" && + item.init?.type === "Identifier") || + (item.type === "AssignmentExpression" && item.left?.type === "Identifier" && + item.right?.type === "Identifier"))) { + const target = node.type === "VariableDeclarator" ? node.id.name : node.left.name; + const source = node.type === "VariableDeclarator" ? node.init.name : node.right.name; + if (names.has(source) && !names.has(target)) { + names.add(target); + changed = true; + } + } + } + return names; +} + +function objectProperty(node, name) { + return node?.type === "ObjectExpression" + ? node.properties.find(property => property.type === "Property" && key(property.key) === name) ?? null + : null; +} + +function receiverSource(source, call) { + const callee = call.callee?.type === "ChainExpression" ? call.callee.expression : call.callee; + return callee?.type === "MemberExpression" + ? source.slice(callee.object.start, callee.object.end) + : null; +} + +function inspectMutationChain(ast, source) { + return nodes(ast, node => node.type === "FunctionDeclaration").filter(fn => { + const deleteCallbacks = nodes(fn, (node, parent) => { + if (node.type !== "ArrowFunctionExpression" && node.type !== "FunctionExpression") return false; + if (!((parent?.type === "AssignmentExpression" && parent.left?.type === "Identifier") || + (parent?.type === "VariableDeclarator" && parent.id?.type === "Identifier"))) return false; + const calls = nodes(node, item => item.type === "CallExpression" && + ["deleteArchivedConversation", "deleteAllArchivedConversations"].includes(memberName(item.callee))); + const receivers = new Map(); + for (const call of calls) { + const receiver = receiverSource(source, call); + if (receiver == null) continue; + if (!receivers.has(receiver)) receivers.set(receiver, new Set()); + receivers.get(receiver).add(memberName(call.callee)); + } + return [...receivers.values()].some(methods => methods.has("deleteArchivedConversation") && + methods.has("deleteAllArchivedConversations")); + }); + if (deleteCallbacks.length !== 1) return false; + const callbackBindings = new Set(bindingNames(fn, deleteCallbacks[0])); + if (callbackBindings.size !== 1) return false; + + const mutationConfigs = nodes(fn, node => node.type === "ObjectExpression" && + objectProperty(node, "mutationFn")?.value?.type === "Identifier" && + callbackBindings.has(objectProperty(node, "mutationFn").value.name)); + const configBindings = new Set(mutationConfigs.flatMap(config => bindingNames(fn, config))); + if (configBindings.size !== 1) return false; + + const mutationHandles = new Set(nodes(fn, node => node.type === "CallExpression" && + node.arguments.some(argument => argument?.type === "Identifier" && + configBindings.has(argument.name))).flatMap(call => bindingNames(fn, call))); + if (mutationHandles.size !== 1) return false; + + const confirmCallbacks = nodes(fn, node => + (node.type === "ArrowFunctionExpression" || node.type === "FunctionExpression") && + nodes(node, call => call.type === "CallExpression" && memberName(call.callee) === "mutate" && + call.callee.object?.type === "Identifier" && mutationHandles.has(call.callee.object.name)).length > 0); + const confirmBindings = new Set(confirmCallbacks.flatMap(callback => bindingNames(fn, callback))); + if (confirmBindings.size < 1) return false; + return nodes(fn, node => node.type === "Property" && key(node.key) === "onConfirm" && + node.value?.type === "Identifier" && confirmBindings.has(node.value.name)).length === 1; + }); +} + +function inspectManagerDeleteChain(protocolAst) { + const helperFunctions = new Map(nodes(protocolAst, node => node.type === "FunctionDeclaration" && + node.id?.type === "Identifier").map(fn => [fn.id.name, fn])); + return nodes(protocolAst, node => node.type === "ClassDeclaration" || node.type === "ClassExpression") + .filter(classNode => { + const methods = new Map(classNode.body.body.filter(item => item.type === "MethodDefinition") + .map(method => [key(method.key), method])); + const names = ["deleteArchivedConversation", "deleteAllArchivedConversations"]; + if (names.some(name => !methods.has(name))) return false; + const helperNames = names.map(name => new Set(nodes(methods.get(name).value.body, + call => call.type === "CallExpression" && call.callee?.type === "Identifier") + .map(call => call.callee.name))); + const sharedHelpers = [...helperNames[0]].filter(name => helperNames[1].has(name)); + const helperLinked = sharedHelpers.some(name => { + const helper = helperFunctions.get(name); + const context = helper?.params[0]?.type === "Identifier" ? helper.params[0].name : null; + if (context == null) return false; + const runtimeCalls = nodes(helper, call => call.type === "CallExpression" && + memberName(call.callee) === "deleteArchivedThreads" && + call.callee.object?.type === "MemberExpression" && + memberName(call.callee.object) === "runtime" && + call.callee.object.object?.type === "Identifier" && + call.callee.object.object.name === context); + if (runtimeCalls.length !== 1) return false; + return names.every(methodName => nodes(methods.get(methodName).value.body, call => + call.type === "CallExpression" && call.callee?.type === "Identifier" && + call.callee.name === name && call.arguments.some(argument => + argument?.type === "ObjectExpression" && + objectProperty(argument, "runtime")?.value?.type === "MemberExpression" && + objectProperty(argument, "runtime").value.object?.type === "ThisExpression" && + memberName(objectProperty(argument, "runtime").value) === "runtime")).length === 1); + }); + const directLinked = names.every(name => nodes(methods.get(name).value.body, + call => call.type === "CallExpression" && + memberName(call.callee) === "deleteArchivedThreads" && + call.callee.object?.type === "MemberExpression" && + call.callee.object.object?.type === "ThisExpression" && + memberName(call.callee.object) === "runtime").length === 1); + return helperLinked || directLinked; + }); +} + +function functionForBinding(root, name) { + const functions = nodes(root, (node, parent) => + (node.type === "ArrowFunctionExpression" || node.type === "FunctionExpression") && + ((parent?.type === "VariableDeclarator" && parent.id?.type === "Identifier" && + parent.id.name === name) || + (parent?.type === "AssignmentExpression" && parent.left?.type === "Identifier" && + parent.left.name === name))); + return functions.length === 1 ? functions[0] : null; +} + +function componentNameForProps(ast, props) { + const calls = nodes(ast, call => call.type === "CallExpression" && + call.arguments[0]?.type === "Identifier" && call.arguments[1] === props); + return calls.length === 1 ? calls[0].arguments[0].name : null; +} + +function destructuredPropertyBinding(fn, propertyName) { + const bindings = nodes(fn, node => node.type === "ObjectPattern").flatMap(pattern => + pattern.properties.filter(property => property.type === "Property" && + key(property.key) === propertyName && property.value?.type === "Identifier") + .map(property => property.value.name)); + return bindings.length === 1 ? bindings[0] : null; +} + +function inspectRowMutationLink(ast, mutationFunction, rowFunctions, deleteProps, requireBulk = false) { + const statePairs = nodes(mutationFunction, node => node.type === "VariableDeclarator" && + node.id?.type === "ArrayPattern" && node.id.elements.length >= 2 && + node.id.elements[0]?.type === "Identifier" && node.id.elements[1]?.type === "Identifier" && + node.init?.type === "CallExpression" && literal(node.init.arguments[0]) === null) + .map(node => ({ value: node.id.elements[0].name, setter: node.id.elements[1].name })); + const confirmProps = nodes(mutationFunction, node => node.type === "Property" && + key(node.key) === "onConfirm" && node.value?.type === "Identifier"); + const linked = []; + + for (const confirmProp of confirmProps) { + const confirm = functionForBinding(mutationFunction, confirmProp.value.name); + if (confirm == null) continue; + for (const state of statePairs) { + const clearsState = nodes(confirm, call => call.type === "CallExpression" && + call.callee?.type === "Identifier" && call.callee.name === state.setter && + call.arguments.length === 1 && literal(call.arguments[0]) === null).length > 0; + const mutatesState = nodes(confirm, call => call.type === "CallExpression" && + memberName(call.callee) === "mutate" && + nodes({ type: "Arguments", values: call.arguments }, node => + node.type === "Identifier" && node.name === state.value).length > 0).length > 0; + if (!mutatesState || !clearsState) continue; + if (requireBulk && !nodes(mutationFunction, node => node.type === "Property" && + key(node.key) === "onClick" && nodes(node.value, call => call.type === "CallExpression" && + call.callee?.type === "Identifier" && call.callee.name === state.setter && + nodes(call, item => item.type === "Property" && key(item.key) === "kind" && + literal(item.value) === "all").length === 1).length === 1).length) continue; + + const openDeleteProps = nodes(mutationFunction, node => node.type === "ObjectExpression" && + objectProperty(node, "onDelete")?.value != null && + nodes(objectProperty(node, "onDelete").value, call => call.type === "CallExpression" && + call.callee?.type === "Identifier" && call.callee.name === state.setter && + nodes(call, item => item.type === "Property" && key(item.key) === "kind" && + literal(item.value) === "single").length === 1).length === 1); + for (const props of openDeleteProps) { + const groupName = componentNameForProps(ast, props); + const groupFunction = nodes(ast, node => node.type === "FunctionDeclaration" && + node.id?.name === groupName)[0]; + if (groupFunction == null) continue; + const groupDelete = destructuredPropertyBinding(groupFunction, "onDelete"); + if (groupDelete == null) continue; + for (const rowProps of deleteProps) { + const rowName = componentNameForProps(ast, rowProps); + if (!rowFunctions.some(fn => fn.id?.name === rowName)) continue; + const rowDelete = objectProperty(rowProps, "onDelete")?.value; + if (rowDelete != null && nodes(rowDelete, call => call.type === "CallExpression" && + call.callee?.type === "Identifier" && call.callee.name === groupDelete).length === 1) { + linked.push(rowProps); + } + } + } + } + } + return [...new Set(linked)]; +} + +function rootIdentifier(node) { + if (node?.type === "ChainExpression") node = node.expression; + while (node?.type === "MemberExpression") node = node.object; + return node?.type === "Identifier" ? node.name : null; +} + +function hasDeletionHandlerForRoot(root, scope) { + return nodes(scope, call => call.type === "CallExpression" && + memberName(call.callee) === "handleThreadDeletion" && + call.arguments.some(argument => nodes(argument, item => item.type === "MemberExpression" && + memberName(item) === "threadId" && rootIdentifier(item) === root).length > 0)).length > 0; +} + +function deletedComparisonRoot(node) { + if (node?.type !== "BinaryExpression" || !["===", "=="].includes(node.operator)) return null; + const method = literal(node.left) === "thread/deleted" + ? node.right + : literal(node.right) === "thread/deleted" + ? node.left + : null; + return memberName(method) === "method" ? rootIdentifier(method) : null; +} + +function handlesDeletedNotification(fn) { + const switches = nodes(fn, node => node.type === "SwitchStatement" && + memberName(node.discriminant) === "method"); + for (const statement of switches) { + const root = rootIdentifier(statement.discriminant); + if (root == null) continue; + for (const branch of statement.cases) { + if (literal(branch.test) !== "thread/deleted") continue; + if (hasDeletionHandlerForRoot(root, { type: "CaseBody", body: branch.consequent })) return true; + } + } + + const conditionals = nodes(fn, node => + node.type === "IfStatement" || node.type === "ConditionalExpression"); + for (const conditional of conditionals) { + const root = deletedComparisonRoot(conditional.test); + if (root != null && hasDeletionHandlerForRoot(root, conditional.consequent)) return true; + } + + const logicalBranches = nodes(fn, node => node.type === "LogicalExpression" && node.operator === "&&"); + for (const branch of logicalBranches) { + const root = deletedComparisonRoot(branch.left); + if (root != null && hasDeletionHandlerForRoot(root, branch.right)) return true; + } + return false; +} + +// Verify both archived-thread service methods reach the exported deletion path. +function hasSplitMainDeleteChain(mainAst, serviceAst) { + const functions = nodes(mainAst, node => node.type === "FunctionDeclaration" && node.id); + const callsName = (fn, name) => nodes(fn.body, call => call.type === "CallExpression" && + call.callee?.type === "Identifier" && call.callee.name === name).length > 0; + const deleteFns = functions.filter(fn => nodes(fn.body, call => call.type === "CallExpression" && + memberName(call.callee) === "sendAppServerRequest" && literal(call.arguments[0]) === "thread/delete").length > 0); + if (deleteFns.length !== 1) return false; + const batchFns = functions.filter(fn => callsName(fn, deleteFns[0].id.name)); + if (batchFns.length !== 1) return false; + const entryFns = functions.filter(fn => callsName(fn, batchFns[0].id.name)); + if (entryFns.length !== 2) return false; + const exports = new Map(); + for (const fn of entryFns) { + const properties = nodes(mainAst, node => node.type === "Property" && + node.value?.type === "ArrowFunctionExpression" && node.value.body?.type === "Identifier" && + node.value.body.name === fn.id.name); + if (properties.length !== 1) return false; + exports.set(fn.id.name, key(properties[0].key)); + } + const serviceMethods = nodes(serviceAst, node => node.type === "MethodDefinition" && + ["deleteArchivedThread", "deleteAllArchivedThreads"].includes(key(node.key))); + if (serviceMethods.length !== 2) return false; + const used = new Set(); + for (const method of serviceMethods) { + const hits = [...exports.values()].filter(name => nodes(method.value.body, call => + call.type === "CallExpression" && nodes(call.callee, member => + member.type === "MemberExpression" && memberName(member) === name).length > 0).length > 0); + if (hits.length !== 1 || used.has(hits[0])) return false; + used.add(hits[0]); + } + return true; +} + +function inspectArchiveRowFunctions(ast, source, archivedProps = false) { + return nodes(ast, node => node.type === "FunctionDeclaration").filter(fn => { + const patterns = [fn.params, ...nodes(fn.body, node => node.type === "ObjectPattern")].flat(); + const bindings = patterns.filter(pattern => pattern?.type === "ObjectPattern").map(pattern => + Object.fromEntries(pattern.properties.filter(property => property.type === "Property" && + property.value?.type === "Identifier").map(property => [key(property.key), property.value.name]))); + const props = bindings.find(item => item.onDelete && + (archivedProps + ? item.archivedThread && item.isDeleteDisabled + : item.showDeleteButton)); + if (props == null) return false; + const invokesDelete = nodes(fn.body, node => + node.type === "CallExpression" && node.callee?.type === "Identifier" && + node.callee.name === props.onDelete).length > 0; + const clickHandler = nodes(fn.body, node => node.type === "Property" && + key(node.key) === "onClick" && node.value?.type === "ArrowFunctionExpression" && + nodes(node.value, call => call.type === "CallExpression" && + call.callee?.type === "Identifier" && call.callee.name === props.onDelete).length === 1); + return invokesDelete || clickHandler.length > 0; + }); +} + +function inspectCurrentArchiveRowLink(ast, mutationFunction, rowFunctions) { + const statePairs = nodes(mutationFunction, node => node.type === "VariableDeclarator" && + node.id?.type === "ArrayPattern" && node.id.elements.length >= 2 && + node.id.elements[0]?.type === "Identifier" && node.id.elements[1]?.type === "Identifier" && + literal(node.init?.arguments?.[0]) === null) + .map(node => ({ value: node.id.elements[0].name, setter: node.id.elements[1].name })); + const confirms = nodes(mutationFunction, node => node.type === "Property" && + key(node.key) === "onConfirm" && node.value?.type === "Identifier"); + const linked = new Set(); + + for (const confirm of confirms) { + const confirmFunction = functionForBinding(mutationFunction, confirm.value.name); + if (confirmFunction == null) continue; + for (const state of statePairs) { + const clearsState = nodes(confirmFunction, call => call.type === "CallExpression" && + call.callee?.type === "Identifier" && call.callee.name === state.setter && + literal(call.arguments[0]) === null).length === 1; + const mutatesState = nodes(confirmFunction, call => call.type === "CallExpression" && + memberName(call.callee) === "mutate" && nodes(call.arguments[0], + item => item.type === "MemberExpression" && item.object?.name === state.value).length > 0) + .length > 0; + if (!clearsState || !mutatesState) continue; + + const directSetters = nodes(mutationFunction, node => + (node.type === "ArrowFunctionExpression" || node.type === "FunctionExpression") && + nodes(node, call => call.type === "CallExpression" && + call.callee?.type === "Identifier" && call.callee.name === state.setter && + nodes(call.arguments[0], item => item.type === "Property" && + key(item.key) === "kind" && literal(item.value) === "single").length === 1).length > 0) + .flatMap(callback => bindingNames(mutationFunction, callback)); + const setters = bindingAliases(mutationFunction, directSetters); + if (setters.size === 0) continue; + + for (const rowFunction of rowFunctions) { + const groups = nodes(ast, node => node.type === "FunctionDeclaration" && + nodes(node.body, call => call.type === "CallExpression" && + ((call.callee?.type === "Identifier" && call.callee.name === rowFunction.id.name) || + (call.arguments[0]?.type === "Identifier" && + call.arguments[0].name === rowFunction.id.name)) && + call.arguments[1]?.type === "ObjectExpression" && + objectProperty(call.arguments[1], "onDelete")?.value?.type === "Identifier").length === 1) + .filter(group => { + const groupBindings = [ + ...group.params, + ...nodes(group.body, node => node.type === "ObjectPattern"), + ].filter(pattern => pattern?.type === "ObjectPattern").map(pattern => + Object.fromEntries(pattern.properties.filter(property => property.type === "Property" && + property.value?.type === "Identifier").map(property => + [key(property.key), property.value.name]))); + return groupBindings.some(bindings => { + const onDelete = bindings.onDelete; + if (onDelete == null) return false; + return nodes(group.body, call => call.type === "CallExpression" && + ((call.callee?.type === "Identifier" && call.callee.name === rowFunction.id.name) || + (call.arguments[0]?.type === "Identifier" && + call.arguments[0].name === rowFunction.id.name)) && + objectProperty(call.arguments[1], "onDelete")?.value?.name === onDelete).length === 1; + }); + }); + for (const group of groups) { + if (nodes(mutationFunction, call => call.type === "CallExpression" && + ((call.callee?.type === "Identifier" && call.callee.name === group.id.name) || + (call.arguments[0]?.type === "Identifier" && + call.arguments[0].name === group.id.name)) && + objectProperty(call.arguments[1], "onDelete")?.value?.type === "Identifier" && + setters.has(objectProperty(call.arguments[1], "onDelete").value.name)).length === 1) { + linked.add(rowFunction); + } + } + } + } + } + return [...linked]; +} + +function inspectNativeArchiveDelete(code, protocolCode, runtimeCode = protocolCode, mainCode = protocolCode, serviceCode = null) { + const ast = acorn.parse(code, { ecmaVersion: "latest", sourceType: "module" }); + const protocolAst = acorn.parse(protocolCode, { ecmaVersion: "latest", sourceType: "module" }); + const runtimeAst = runtimeCode === protocolCode ? protocolAst : acorn.parse(runtimeCode, { ecmaVersion: "latest", sourceType: "module" }); + const mainAst = mainCode === protocolCode ? protocolAst : acorn.parse(mainCode, { ecmaVersion: "latest", sourceType: "module" }); + + const mutationFunctions = inspectMutationChain(ast, code); + if (mutationFunctions.length !== 1) return null; + + const deleteProps = nodes(ast, node => node.type === "ObjectExpression").filter(object => { + const names = new Set(object.properties.filter(property => property.type === "Property") + .map(property => key(property.key))); + return names.has("showDeleteButton") && names.has("onDelete"); + }); + let rowFunctions = inspectArchiveRowFunctions(ast, code); + let linkedDeleteProps = deleteProps.length > 0 ? inspectRowMutationLink( + ast, + mutationFunctions[0], + rowFunctions, + deleteProps, + serviceCode != null, + ) : []; + if (linkedDeleteProps.length < 1) { + rowFunctions = inspectArchiveRowFunctions(ast, code, true); + const linkedRows = inspectCurrentArchiveRowLink(ast, mutationFunctions[0], rowFunctions); + if (rowFunctions.length !== 1 || linkedRows.length !== 1) return null; + linkedDeleteProps = linkedRows; + } + + const managerChains = inspectManagerDeleteChain(protocolAst); + if (managerChains.length !== 1) return null; + const runtimeDeletes = nodes(runtimeAst, node => + (node.type === "Property" || node.type === "MethodDefinition") && + key(node.key) === "deleteArchivedThreads"); + if (runtimeDeletes.length !== 1) return null; + const runtimeCalls = nodes(runtimeDeletes[0], node => node.type === "CallExpression" && + ["deleteArchivedThread", "deleteAllArchivedThreads"].includes(memberName(node.callee))); + const runtimeReceivers = new Map(); + for (const call of runtimeCalls) { + const receiver = receiverSource(runtimeCode, call); + if (receiver == null) continue; + if (!runtimeReceivers.has(receiver)) runtimeReceivers.set(receiver, new Set()); + runtimeReceivers.get(receiver).add(memberName(call.callee)); + } + if (![...runtimeReceivers.values()].some(methods => methods.has("deleteArchivedThread") && + methods.has("deleteAllArchivedThreads"))) return null; + const protocolMethods = nodes(mainAst, node => + (node.type === "FunctionDeclaration" || node.type === "FunctionExpression" || + node.type === "ArrowFunctionExpression") && + nodes(node, call => call.type === "CallExpression" && + ["sendRequest", "sendAppServerRequest", "sendAppServerExtensionRequest"] + .includes(memberName(call.callee)) && literal(call.arguments[0]) === "thread/delete").length > 0); + const deleteNotifications = nodes(protocolAst, node => + (node.type === "FunctionDeclaration" || node.type === "FunctionExpression" || + node.type === "ArrowFunctionExpression") && + handlesDeletedNotification(node)); + if (protocolMethods.length < 1 || deleteNotifications.length < 1) return null; + if (serviceCode != null && !hasSplitMainDeleteChain(mainAst, + acorn.parse(serviceCode, { ecmaVersion: "latest", sourceType: "module" }))) return null; + + return { + deleteProps: linkedDeleteProps.length, + mutationFunction: mutationFunctions[0].id?.name ?? null, + rowFunction: rowFunctions[0].id?.name ?? null, + }; +} + +function hasNativeArchiveDelete(code, protocolCode = code, runtimeCode = protocolCode, mainCode = protocolCode, serviceCode = null) { + try { + return inspectNativeArchiveDelete(code, protocolCode, runtimeCode, mainCode, serviceCode) != null; + } catch { + return false; + } } // ─── Layer 1: app-main route injection ────────────────────────── @@ -57,8 +688,7 @@ function patchAppMain(bundles, isCheck) { const routeRe = /(["`])unarchive-conversation\1:(\w+)\(async\((\w+),\{conversationId:(\w+)\}\)=>\{\s*await \3\.unarchiveConversation\(\4\)\s*\}\)/; const routeMatch = code.match(routeRe); if (!routeMatch) { - console.log(` [!] ${relPath(bundle.path)}: unarchive-conversation route not found`); - continue; + throw new Error(`${relPath(bundle.path)}: unarchive-conversation route not found`); } const q = routeMatch[1]; // quote style @@ -101,8 +731,7 @@ function patchDataControls(bundles, isCheck) { try { ast = acorn.parse(code, { ecmaVersion: 2022, sourceType: "module" }); } catch (e) { - console.log(` [!] ${relPath(bundle.path)}: parse failed: ${e.message}`); - continue; + throw new Error(`${relPath(bundle.path)}: parse failed: ${e.message}`); } // ── Step 1: Extract import variable names via AST ImportDeclarations ── @@ -184,8 +813,7 @@ function patchDataControls(bundles, isCheck) { ]); if (!rowFunc) { - console.log(` [!] ${relPath(bundle.path)}: row function not found`); - continue; + throw new Error(`${relPath(bundle.path)}: row function not found`); } // Inside the row function, find: @@ -251,13 +879,12 @@ function patchDataControls(bundles, isCheck) { !threadVar || !hostIdVar || !queryClientVar || !contentVar || !unarchiveBtnVar || childrenArrayStart < 0 ) { - console.log(` [!] ${relPath(bundle.path)}: could not resolve all variables`); - console.log( - ` msgFn=${msgFnName} btn=${btnComponent} jsx=${jsxRuntime}` + + throw new Error( + `${relPath(bundle.path)}: could not resolve all delete-button variables ` + + `(msgFn=${msgFnName} btn=${btnComponent} jsx=${jsxRuntime}` + ` thread=${threadVar} host=${hostIdVar} qc=${queryClientVar}` + - ` content=${contentVar} unarchiveBtn=${unarchiveBtnVar}`, + ` content=${contentVar} unarchiveBtn=${unarchiveBtnVar})`, ); - continue; } // ── Step 4: Build delete button and splice into children array ── @@ -306,6 +933,151 @@ function patchDataControls(bundles, isCheck) { return patched; } +function parseRspackModule(module) { + return acorn.parse(module.source, { + ecmaVersion: "latest", + sourceType: "script", + allowReturnOutsideFunction: true, + }); +} + +function hasRspackRuntimeDelete(module) { + const ast = parseRspackModule(module); + return nodes(ast, node => + (node.type === "Property" || node.type === "MethodDefinition") && + key(node.key) === "deleteArchivedThreads").some((method) => { + const calls = nodes(method, node => node.type === "CallExpression" && + ["deleteArchivedThread", "deleteAllArchivedThreads"].includes(memberName(node.callee))); + const names = new Set(calls.map(call => memberName(call.callee))); + return names.has("deleteArchivedThread") && names.has("deleteAllArchivedThreads"); + }); +} + +function locateRspackArchiveArtifacts(assetsDir) { + const modules = findFrontendModules(assetsDir, { + test: (source) => source.includes("deleteArchivedConversation") || + source.includes("deleteAllArchivedConversations") || + source.includes("deleteArchivedThreads") || + source.includes("listArchivedThreads") || + (source.includes("modelProviders") && source.includes("archived")), + }); + const providerTargets = modules.flatMap((module) => { + const result = analyzeArchivedListProviders(module.source); + return result.edits > 0 || result.alreadyAllProviders > 0 + ? [{ module, result }] + : []; + }); + const uiTargets = modules.filter((module) => { + try { + return inspectMutationChain(parseRspackModule(module), module.source).length === 1 && + module.source.includes("deleteArchivedConversation") && + module.source.includes("deleteAllArchivedConversations"); + } catch { + return false; + } + }); + const runtimeTargets = modules.filter((module) => { + try { + return hasRspackRuntimeDelete(module); + } catch { + return false; + } + }); + const managerTargets = modules.filter((module) => { + if (!module.source.includes("listArchivedThreads")) return false; + try { + return inspectManagerDeleteChain(parseRspackModule(module)).length === 1; + } catch { + return false; + } + }); + return { providerTargets, uiTargets, runtimeTargets, managerTargets }; +} + +function patchRspackArchiveProviders(assetsDir, isCheck) { + const { providerTargets } = locateRspackArchiveArtifacts(assetsDir); + if (providerTargets.length === 0) { + throw new Error("Rspack archived list provider query target not found"); + } + let patched = 0; + let already = 0; + for (const { module, result } of providerTargets) { + patched += result.edits; + already += result.alreadyAllProviders; + console.log( + ` [${isCheck ? "?" : "ok"}] ${relPath(module.file)}#${module.id}: ` + + `${result.edits} archived list call(s) to patch, ` + + `${result.alreadyAllProviders} already query all providers`, + ); + } + if (isCheck || patched === 0) return { patched, already }; + + const pending = providerTargets + .filter(({ result }) => result.edits > 0) + .map(({ module }) => ({ file: module.file, id: module.id })); + while (pending.length > 0) { + const expected = pending.shift(); + const current = findFrontendModules(assetsDir, { + test: (_source, module) => module.id === expected.id, + }).filter((module) => module.file === expected.file); + if (current.length !== 1) { + throw new Error( + `Rspack archived provider target changed or became ambiguous: ${expected.file}#${expected.id}`, + ); + } + const [target] = current; + const result = analyzeArchivedListProviders(target.source); + if (result.edits === 0) { + if (result.alreadyAllProviders > 0) continue; + throw new Error( + `Rspack archived provider target no longer matches: ${expected.file}#${expected.id}`, + ); + } + fs.writeFileSync( + target.file, + replaceFrontendModule(target, result.code), + "utf8", + ); + } + return { patched, already }; +} + +function inspectRspackNativeArchiveDelete(assetsDir) { + const { uiTargets, runtimeTargets, managerTargets } = + locateRspackArchiveArtifacts(assetsDir); + if (uiTargets.length !== 1 || runtimeTargets.length !== 1 || managerTargets.length !== 1) { + throw new Error( + "Rspack 归档删除链路数量异常:" + + `ui=${uiTargets.length}, runtime=${runtimeTargets.length}, manager=${managerTargets.length}`, + ); + } + const [ui] = uiTargets; + const [runtime] = runtimeTargets; + const [manager] = managerTargets; + const inspection = inspectNativeArchiveDelete( + ui.source, + manager.source, + runtime.source, + manager.source, + ); + if (inspection == null) { + throw new Error("Rspack 原生归档删除或确认链未通过完整校验"); + } + return { ...inspection, ui, runtime, manager }; +} + +function patchRspackArchivePlatform(platform, isCheck) { + const assetsDir = path.join(SRC_DIR, platform, "_asar", "webview", "assets"); + console.log(` [layer 0] ${platform}: Rspack archived lists query all model providers`); + const providerResult = patchRspackArchiveProviders(assetsDir, isCheck); + const native = inspectRspackNativeArchiveDelete(assetsDir); + console.log( + ` [ok] ${platform}: native archived deletion verified ` + + `(${native.mutationFunction}/${native.rowFunction}, ${native.deleteProps} row)`, + ); + return providerResult; +} + // ─── Main ─────────────────────────────────────────────────────── function main() { @@ -315,14 +1087,71 @@ function main() { ["mac-arm64", "mac-x64", "win"].includes(a), ); - const dataControlsBundles = locateBundles({ - dir: "assets", - pattern: /^data-controls-.*\.js$/, - ...(platform ? { platform } : {}), + const expectedPlatforms = platform + ? [platform] + : ["mac-arm64", "mac-x64", "win"].filter(name => + fs.existsSync(path.join(SRC_DIR, name, "_asar"))); + const rspackPlatforms = expectedPlatforms.filter(name => + isRspackFrontend(path.join(SRC_DIR, name, "_asar", "webview", "assets"))); + const legacyPlatforms = expectedPlatforms.filter(name => + !rspackPlatforms.includes(name)); + let providerPatched = 0; + let providerAlready = 0; + let nativeCount = 0; + for (const current of rspackPlatforms) { + const result = patchRspackArchivePlatform(current, isCheck); + providerPatched += result.patched; + providerAlready += result.already; + nativeCount++; + } + + console.log(" [layer 0] archived lists: query all model providers"); + const legacyProviderBundles = legacyPlatforms.flatMap(current => + locateArchivedProviderBundles(current)); + if (legacyProviderBundles.length > 0) { + const result = patchArchivedProviderQueries(legacyProviderBundles, isCheck); + providerPatched += result.patched; + providerAlready += result.already; + } + + const dataControlsBundles = legacyPlatforms.flatMap(current => + locateDataControlsBundles(current)); + const protocolBundles = legacyPlatforms.length > 0 + ? locateBundles({ + dir: "assets", + pattern: /^app-initial-.*\.js$/, + }).filter(bundle => legacyPlatforms.includes(bundle.platform)) + : []; + const protocolByPlatform = new Map(); + for (const bundle of protocolBundles) { + if (protocolByPlatform.has(bundle.platform)) { + throw new Error(`[${bundle.platform}] app-initial protocol bundle 数量异常`); + } + protocolByPlatform.set(bundle.platform, fs.readFileSync(bundle.path, "utf-8")); + } + const runtimeBundles = legacyPlatforms.length > 0 + ? locateBundles({ + dir: "assets", pattern: /^renderer-app-server-managers-.*\.js$/, + }).filter(bundle => legacyPlatforms.includes(bundle.platform)) + : []; + const buildBundles = listBuildBundles().filter(bundle => + legacyPlatforms.includes(bundle.platform)); + const nativeBundles = dataControlsBundles.filter((bundle) => { + const protocolCode = protocolByPlatform.get(bundle.platform); + if (protocolCode == null) return false; + const uiCode = fs.readFileSync(bundle.path, "utf-8"); + if (hasNativeArchiveDelete(uiCode, protocolCode)) return true; + const runtimes = runtimeBundles.filter(item => item.platform === bundle.platform); + const mains = buildBundles.filter(item => item.platform === bundle.platform && + fs.readFileSync(item.path, "utf-8").includes('sendAppServerRequest("thread/delete"')); + const services = buildBundles.filter(item => item.platform === bundle.platform && + (() => { const source = fs.readFileSync(item.path, "utf-8"); + return source.includes("deleteArchivedThread(") && source.includes("deleteAllArchivedThreads("); })()); + if (runtimes.length !== 1 || mains.length !== 1 || services.length !== 1) return false; + return hasNativeArchiveDelete(uiCode, protocolCode, + fs.readFileSync(runtimes[0].path, "utf-8"), fs.readFileSync(mains[0].path, "utf-8"), + fs.readFileSync(services[0].path, "utf-8")); }); - const nativeBundles = dataControlsBundles.filter((bundle) => - hasNativeArchiveDelete(fs.readFileSync(bundle.path, "utf-8")), - ); const nativePlatforms = new Set(nativeBundles.map((bundle) => bundle.platform)); for (const bundle of nativeBundles) { @@ -330,11 +1159,23 @@ function main() { } console.log(" [layer 1] app-main: delete-conversation route"); - const appMainBundles = locateBundles({ - dir: "assets", - pattern: /^app-main-.*\.js$/, - ...(platform ? { platform } : {}), - }); + const appMainBundles = legacyPlatforms.length > 0 + ? locateBundles({ + dir: "assets", + pattern: /^app-main-.*\.js$/, + }).filter(bundle => legacyPlatforms.includes(bundle.platform)) + : []; + for (const name of legacyPlatforms) { + if (nativePlatforms.has(name)) continue; + const appMainCount = appMainBundles.filter(bundle => bundle.platform === name).length; + const dataControlsCount = dataControlsBundles.filter(bundle => bundle.platform === name).length; + if (appMainCount !== 1 || dataControlsCount !== 1) { + throw new Error( + `[${name}] 归档删除链路不完整:原生实现未通过验证,` + + `fallback app-main=${appMainCount}, data-controls=${dataControlsCount}`, + ); + } + } const routePatched = patchAppMain( appMainBundles.filter((bundle) => !nativePlatforms.has(bundle.platform)), isCheck, @@ -347,10 +1188,24 @@ function main() { ); console.log( - ` [done] native: ${nativeBundles.length}, routes: ${routePatched}, buttons: ${btnPatched}`, + ` [done] providers: ${providerPatched} patched/${providerAlready} already, ` + + `native: ${nativeCount + nativeBundles.length}, ` + + `routes: ${routePatched}, buttons: ${btnPatched}`, ); } if (require.main === module) main(); -module.exports = { hasNativeArchiveDelete, patchAppMain, patchDataControls }; +module.exports = { + analyzeArchivedListProviders, + hasNativeArchiveDelete, + inspectNativeArchiveDelete, + hasSplitMainDeleteChain, + inspectArchiveRowFunctions, + inspectCurrentArchiveRowLink, + inspectRowMutationLink, + patchAppMain, + patchArchivedListProviders, + patchArchivedProviderQueries, + patchDataControls, +}; diff --git a/scripts/patch-archive-delete.test.js b/scripts/patch-archive-delete.test.js new file mode 100644 index 00000000..22f0648c --- /dev/null +++ b/scripts/patch-archive-delete.test.js @@ -0,0 +1,160 @@ +const test = require("node:test"); +const assert = require("node:assert/strict"); + +const { + analyzeArchivedListProviders, + patchArchivedListProviders, +} = require("./patch-archive-delete"); + +test("归档分页会返回其他 Provider 的历史会话", async () => { + const source = "async function list(client,cursor){return client.sendRequest(`thread/list`,{archived:!0,cursor,limit:100,modelProviders:null,sourceKinds:[`vscode`],useStateDbOnly:!0})}"; + const threads = [ + { id: "old", provider: "local" }, + { id: "new", provider: "custom" }, + ]; + const calls = []; + const client = { + async sendRequest(method, options) { + calls.push({ method, options }); + const providers = options.modelProviders ?? ["custom"]; + return { + data: threads.filter( + (thread) => providers.length === 0 || providers.includes(thread.provider), + ), + }; + }, + }; + + const original = new Function(`${source};return list`)(); + assert.deepEqual( + (await original(client, "next")).data.map((thread) => thread.id), + ["new"], + ); + + const patchedSource = patchArchivedListProviders(source); + const patched = new Function(`${patchedSource};return list`)(); + assert.deepEqual( + (await patched(client, "next")).data.map((thread) => thread.id), + ["old", "new"], + ); + assert.deepEqual(calls[1], { + method: "thread/list", + options: { + archived: true, + cursor: "next", + limit: 100, + modelProviders: [], + sourceKinds: ["vscode"], + useStateDbOnly: true, + }, + }); + assert.equal(patchArchivedListProviders(patchedSource), patchedSource); +}); + +test("归档 Provider 修复不改变活动列表、显式过滤和其他调用", () => { + const unchanged = [ + 'client.sendRequest("thread/list",{archived:false,modelProviders:null});', + 'client.sendRequest("thread/list",{modelProviders:null});', + 'client.sendRequest("thread/list",{archived:true,modelProviders:["custom"]});', + 'client.sendRequest("thread/delete",{archived:true,modelProviders:null});', + 'client.unrelated({archived:true,modelProviders:null});', + 'const text="modelProviders:null,archived:!0";', + ].join(""); + const queries = [ + "client.listAllThreads({modelProviders:null,archived:!0});", + 'client["sendRequest"]("thread/list",{"archived":true,"modelProviders":null});', + ].join(""); + const expected = unchanged + [ + "client.listAllThreads({modelProviders:[],archived:!0});", + 'client["sendRequest"]("thread/list",{"archived":true,"modelProviders":[]});', + ].join(""); + + const result = analyzeArchivedListProviders(unchanged + queries); + assert.equal(result.code, expected); + assert.equal(result.edits, 2); + assert.equal(result.alreadyAllProviders, 0); + + const repeated = analyzeArchivedListProviders(result.code); + assert.equal(repeated.code, expected); + assert.equal(repeated.edits, 0); + assert.equal(repeated.alreadyAllProviders, 2); +}); + +test("新版主进程拆包后单条和批量归档删除均须连接协议", () => { + const acorn = require("acorn"); + const { hasSplitMainDeleteChain } = require("./patch-archive-delete"); + const main = [ + 'async function remove(server,id){return server.sendAppServerRequest("thread/delete",{threadId:id})}', + 'async function batch(server,ids){for(const id of ids)await guard(()=>remove(server,id))}', + 'async function one(server,id){return batch(server,[id])}', + 'async function all(server){return batch(server,await server.listThreads())}', + 'const exported={a:()=>one,b:()=>all};', + ].join(""); + const service = 'class Archive{async deleteArchivedThread(x){return module.a(x)}async deleteAllArchivedThreads(x){return module.b(x)}}'; + const parse = source => acorn.parse(source, { ecmaVersion: "latest" }); + assert.equal(hasSplitMainDeleteChain(parse(main), parse(service)), true); + assert.equal(hasSplitMainDeleteChain(parse(main.replace('"thread/delete"', '"thread/archive"')), parse(service)), false); + assert.equal(hasSplitMainDeleteChain(parse(main), parse(service.replace('module.b(x)', 'module.a(x)'))), false); + assert.equal(hasSplitMainDeleteChain(parse(main.replace('batch(server,await server.listThreads())', 'noop()')), parse(service)), false); +}); + + +test("新版批量按钮和单条行共用待确认状态", () => { + const acorn = require("acorn"); + const { inspectRowMutationLink } = require("./patch-archive-delete"); + const source = [ + 'function Screen(){const [pending,setPending]=useState(null);', + 'const confirm=()=>{if(pending){setPending(null);mutation.mutate(pending)}};', + 'return ui(Dialog,{onConfirm:confirm,children:[ui(Button,{onClick:()=>setPending({kind:"all"})}),', + 'ui(Group,{onDelete:thread=>setPending({kind:"single",thread})})]})}', + 'function Group(input){const {onDelete:openDelete}=input;return ui(Row,{showDeleteButton:true,onDelete:()=>openDelete(thread)})}', + 'function Row(input){const {showDeleteButton:show,onDelete:remove}=input;if(show)remove()}', + ].join(""); + function check(text) { + const ast = acorn.parse(text, { ecmaVersion: "latest" }); + const [screen, , row] = ast.body; + let props; + function walk(node) { + if (!node || typeof node !== "object") return; + if (node.type === "ObjectExpression" && node.properties.some(p => p.key?.name === "showDeleteButton")) props = node; + for (const value of Object.values(node)) if (Array.isArray(value)) value.forEach(walk); else if (value?.type) walk(value); + } + walk(ast); + return inspectRowMutationLink(ast, screen, [row], [props], true).length; + } + assert.equal(check(source), 1); + assert.equal(check(source.replace('setPending({kind:"all"})', 'noop({kind:"all"})')), 0); +}); + +test("当前归档行通过同一函数对象的别名连接到单条确认状态", () => { + const acorn = require("acorn"); + const { + inspectArchiveRowFunctions, + inspectCurrentArchiveRowLink, + } = require("./patch-archive-delete"); + const source = [ + 'function Screen(){const [pending,setPending]=useState(null);', + 'const mutation={mutate(){}};', + 'const confirm=()=>{if(pending!=null){setPending(null);', + 'mutation.mutate({kind:"single",thread:pending.thread})}};', + 'useDialog({onConfirm:confirm});', + 'const F=e=>setPending({kind:"single",thread:e});const ts=F;', + 'return ui(Group,{onDelete:ts});}', + 'function Group(input){const {onDelete:remove}=input;', + 'return ui(Row,{archivedThread:thread,isDeleteDisabled:false,onDelete:remove});}', + 'function Row(input){const {archivedThread:thread,isDeleteDisabled,onDelete:remove}=input;', + 'return ui("button",{onClick:()=>remove()});}', + ].join(""); + const ast = acorn.parse(source, { ecmaVersion: "latest" }); + const [screen] = ast.body; + const rows = inspectArchiveRowFunctions(ast, source, true); + assert.deepEqual(rows.map((row) => row.id.name), ["Row"]); + assert.deepEqual( + inspectCurrentArchiveRowLink(ast, screen, rows).map((row) => row.id.name), + ["Row"], + ); + + const renamedWithoutAlias = source.replace("const ts=F;", "const ts=other;"); + const missing = acorn.parse(renamedWithoutAlias, { ecmaVersion: "latest" }); + assert.equal(inspectCurrentArchiveRowLink(missing, missing.body[0], rows).length, 0); +}); diff --git a/scripts/patch-ast-util.js b/scripts/patch-ast-util.js new file mode 100644 index 00000000..bcc60fa8 --- /dev/null +++ b/scripts/patch-ast-util.js @@ -0,0 +1,60 @@ +"use strict"; + +const { parse } = require("acorn"); + +function walk(root, visit, { ownScope = false } = {}) { + function visitNode(node, parent) { + if (!node || typeof node !== "object" || !node.type) return; + if (ownScope && node !== root && /Function/.test(node.type)) return; + visit(node, parent); + for (const [key, value] of Object.entries(node)) { + if (["type", "start", "end"].includes(key)) continue; + if (Array.isArray(value)) { + for (const child of value) if (child?.type) visitNode(child, node); + } else if (value?.type) { + visitNode(value, node); + } + } + } + visitNode(root, null); +} + +function nodes(root, predicate, options) { + const found = []; + walk(root, (node, parent) => { + if (predicate(node, parent)) found.push(node); + }, options); + return found; +} + +function literal(node) { + if (node?.type === "Literal") return node.value; + if (node?.type === "TemplateLiteral" && node.expressions.length === 0) { + return node.quasis[0].value.cooked; + } + return undefined; +} + +function key(node) { + if (!node) return null; + if (node.type === "Identifier") return node.name; + return literal(node) ?? null; +} + +function unique(items, label) { + if (items.length !== 1) throw new Error(`${label} 数量异常(${items.length})`); + return items[0]; +} + +function applyEdits(source, edits) { + let next = source; + for (const edit of [...edits].sort((left, right) => right.start - left.start)) { + const replacement = edit.text ?? edit.replacement; + if (typeof replacement !== "string") throw new Error("AST edit 缺少替换文本"); + next = next.slice(0, edit.start) + replacement + next.slice(edit.end); + } + parse(next, { ecmaVersion: "latest", sourceType: "module" }); + return next; +} + +module.exports = { applyEdits, key, literal, nodes, unique, walk }; diff --git a/scripts/patch-browser-auth.js b/scripts/patch-browser-auth.js deleted file mode 100644 index 4f99614c..00000000 --- a/scripts/patch-browser-auth.js +++ /dev/null @@ -1,282 +0,0 @@ -#!/usr/bin/env node -/** - * 兼容 API-key 登录下的 Browser / Chrome 本地通道。 - * - * 新版 browser-service 会在扩展命令前读取 - * `codex_browser_use_agent_request_header`。读取过程依赖 ChatGPT 身份接口, - * 而 node_repl 对 `apikey` 认证会直接抛出: - * `unsupported Codex auth method: apikey`。 - * - * 这里保留 ChatGPT 登录下的原有身份与 Statsig 流程;仅当该流程失败时, - * 将 request-header 能力降级为关闭,恢复旧版可继续建立本地浏览器通道的行为。 - * 26.1007 将读取改为调用通用 feature-gate 函数;仅包装 request-header - * 回调,不改变其他 feature gate 的身份要求或超时逻辑。 - * 不会把 API key 当作 ChatGPT token 发送到 chatgpt.com。 - */ -const fs = require("fs"); -const path = require("path"); -const { parse } = require("acorn"); -const { SRC_DIR, relPath } = require("./patch-util"); - -const IDENTITY_ERROR = - "Browser request-header policy requires caller identity."; -const FEATURE_GATE_IDENTITY_ERROR = "Browser feature gates require caller identity."; -const REQUEST_HEADER_GATE = "codex_browser_use_agent_request_header"; - -function walk(node, visitor) { - if (!node || typeof node !== "object") return; - if (node.type) visitor(node); - for (const [key, child] of Object.entries(node)) { - if (key === "type" || key === "start" || key === "end") continue; - if (Array.isArray(child)) { - for (const item of child) { - if (item && typeof item === "object" && item.type) walk(item, visitor); - } - } else if (child && typeof child === "object" && child.type) { - walk(child, visitor); - } - } -} - -function isFunction(node) { - return ( - node.type === "FunctionDeclaration" || - node.type === "FunctionExpression" || - node.type === "ArrowFunctionExpression" - ); -} - -function returnsFalse(node) { - return ( - node?.type === "ReturnStatement" && - node.argument?.type === "UnaryExpression" && - node.argument.operator === "!" && - node.argument.argument?.type === "Literal" && - node.argument.argument.value === 1 - ); -} - -function hasFallbackCatch(fn) { - let found = false; - walk(fn.body, (node) => { - if (node.type !== "CatchClause") return; - if (node.body?.body?.some(returnsFalse)) found = true; - }); - return found; -} - -function findRequestHeaderAuthPatches(ast, source) { - const patches = []; - - walk(ast, (node) => { - if (!isFunction(node) || !node.async) return; - if (node.body?.type !== "BlockStatement") return; - - const fnSource = source.slice(node.start, node.end); - if (!fnSource.includes(IDENTITY_ERROR)) return; - if (!fnSource.includes(REQUEST_HEADER_GATE)) return; - - const gateReturn = node.body.body.find( - (statement) => - statement.type === "ReturnStatement" && - statement.argument && - source - .slice(statement.argument.start, statement.argument.end) - .includes(REQUEST_HEADER_GATE), - ); - if (!gateReturn) return; - - const gateExpression = source.slice( - gateReturn.argument.start, - gateReturn.argument.end, - ); - patches.push({ - id: "browser_request_header_auth_fallback", - start: node.body.start, - end: node.body.end, - replacement: `{try{return ${gateExpression}}catch{return!1}}`, - original: fnSource, - }); - }); - - return patches; -} - -function findInlineRequestHeaderAuthPatches(ast, source) { - const gateReaders = new Set(); - walk(ast, (node) => { - if (node.type !== "FunctionDeclaration" || !node.async || !node.id) return; - if (source.slice(node.start, node.end).includes(FEATURE_GATE_IDENTITY_ERROR)) { - gateReaders.add(node.id.name); - } - }); - - const patches = []; - walk(ast, (node) => { - if (node.type !== "ArrowFunctionExpression" || node.params.length !== 0) return; - const call = node.body; - if (call.type !== "CallExpression" || call.callee.type !== "Identifier") return; - if (!gateReaders.has(call.callee.name)) return; - if (call.arguments[0]?.type !== "Literal") return; - if (call.arguments[0].value !== REQUEST_HEADER_GATE) return; - - const expression = source.slice(call.start, call.end); - const arrow = source.slice(node.start, call.start); - patches.push({ - id: "browser_request_header_auth_fallback", - start: node.start, - end: node.end, - replacement: `${node.async ? "" : "async "}${arrow}{try{return await ${expression}}catch{return!1}}`, - original: source.slice(node.start, node.end), - }); - }); - return patches; -} - -function hasPatchedFallback(ast, source) { - let found = false; - walk(ast, (node) => { - if (found || !isFunction(node) || !node.async) return; - const fnSource = source.slice(node.start, node.end); - if (!fnSource.includes(REQUEST_HEADER_GATE)) return; - if (hasFallbackCatch(node)) found = true; - }); - return found; -} - -function applyPatches(source, patches) { - let next = source; - for (const patch of [...patches].sort((left, right) => right.start - left.start)) { - next = - next.slice(0, patch.start) + - patch.replacement + - next.slice(patch.end); - } - return next; -} - -function patchSource(source) { - if (!source.includes(REQUEST_HEADER_GATE)) { - return { status: "not-applicable", source, count: 0 }; - } - - const ast = parse(source, { ecmaVersion: "latest", sourceType: "module" }); - const patches = [ - ...findRequestHeaderAuthPatches(ast, source), - ...findInlineRequestHeaderAuthPatches(ast, source), - ]; - if (patches.length === 0) { - return { - status: hasPatchedFallback(ast, source) - ? "already-patched" - : "unexpected-shape", - source, - count: 0, - }; - } - if (patches.length !== 1) { - return { status: "unexpected-count", source, count: patches.length }; - } - - const next = applyPatches(source, patches); - parse(next, { ecmaVersion: "latest", sourceType: "module" }); - return { status: "patched", source: next, count: patches.length }; -} - -function findBrowserServices(root) { - if (!fs.existsSync(root)) return []; - const results = []; - const pending = [root]; - while (pending.length > 0) { - const current = pending.pop(); - for (const entry of fs.readdirSync(current, { withFileTypes: true })) { - const fullPath = path.join(current, entry.name); - if (entry.isDirectory()) { - pending.push(fullPath); - } else if (entry.isFile() && entry.name === "browser-service.mjs") { - results.push(fullPath); - } - } - } - return results; -} - -function locateTargets(platform) { - const platforms = platform - ? [platform] - : ["mac-arm64", "mac-x64", "win"].filter((name) => - fs.existsSync(path.join(SRC_DIR, name)), - ); - const targets = []; - - for (const name of platforms) { - const roots = [ - path.join(SRC_DIR, name, "plugins"), - path.join(SRC_DIR, name, "cua_node"), - ]; - for (const root of roots) { - for (const filePath of findBrowserServices(root)) { - const source = fs.readFileSync(filePath, "utf8"); - if (source.includes(REQUEST_HEADER_GATE)) { - targets.push({ platform: name, path: filePath }); - } - } - } - } - - return targets.sort((left, right) => left.path.localeCompare(right.path)); -} - -function main() { - const args = process.argv.slice(2); - const check = args.includes("--check"); - const platform = args.find((arg) => - ["mac-arm64", "mac-x64", "win"].includes(arg), - ); - const targets = locateTargets(platform); - - if (targets.length === 0) { - console.log("[ok] No browser request-header auth targets found"); - return; - } - - let patched = 0; - let alreadyPatched = 0; - for (const target of targets) { - const source = fs.readFileSync(target.path, "utf8"); - const result = patchSource(source); - const label = `[${target.platform}] ${relPath(target.path)}`; - - if (result.status === "patched") { - if (check) { - console.log(`[?] ${label}: API-key auth fallback patch required`); - } else { - fs.writeFileSync(target.path, result.source, "utf8"); - console.log(`[*] ${label}: API-key auth fallback patched`); - } - patched++; - continue; - } - if (result.status === "already-patched") { - console.log(`[ok] ${label}: already patched`); - alreadyPatched++; - continue; - } - - throw new Error(`${label}: unsupported browser auth shape (${result.status})`); - } - - console.log( - `[ok] Browser auth targets: ${targets.length}, patched: ${patched}, already: ${alreadyPatched}`, - ); -} - -if (require.main === module) main(); - -module.exports = { - IDENTITY_ERROR, - REQUEST_HEADER_GATE, - findRequestHeaderAuthPatches, - locateTargets, - patchSource, -}; diff --git a/scripts/patch-browser-auth.test.js b/scripts/patch-browser-auth.test.js deleted file mode 100644 index da378cca..00000000 --- a/scripts/patch-browser-auth.test.js +++ /dev/null @@ -1,101 +0,0 @@ -const test = require("node:test"); -const assert = require("node:assert/strict"); - -const { patchSource } = require("./patch-browser-auth"); - -function createService(identityPromise, gateValue = true) { - return [ - `let identity=${identityPromise};`, - `async function readGate(){`, - `if(identity==null)throw new Error("Browser request-header policy requires caller identity.");`, - `return await identity,checkGate("codex_browser_use_agent_request_header")`, - `}`, - `function checkGate(){return ${gateValue}}`, - ].join(""); -} - -function loadReadGate(source) { - return Function(`${source};return readGate`)(); -} - -// Reduced from the bundled browser/chrome service in macOS 26.1007.21159. -function createFeatureGateService(identityPromise, gateValue = true) { - return [ - `let identity=${identityPromise};`, - `async function readBrowserFeatureGate(name,deadline){`, - `if(identity==null)throw new Error("Browser feature gates require caller identity.");`, - `let value=identity.then(()=>checkGate(name));`, - `if(deadline==null)return value;`, - `let timer;`, - `try{return await Promise.race([value,new Promise((resolve,reject)=>{`, - `timer=setTimeout(()=>reject(new Error("Timed out waiting for browser feature gate.")),Math.max(0,deadline-Date.now()))`, - `})])}finally{if(timer!==undefined)clearTimeout(timer)}`, - `}`, - `function checkGate(){return ${gateValue}}`, - `class BrowserTransport{`, - `constructor(readRequestHeaderEnabled){this.readRequestHeaderEnabled=readRequestHeaderEnabled}`, - `async sendSessionRequest(){return {agent_request_header_enabled:await this.readRequestHeaderEnabled()}}`, - `}`, - `const browser=new BrowserTransport(()=>readBrowserFeatureGate("codex_browser_use_agent_request_header"));`, - ].join(""); -} - -function loadFeatureGateService(source) { - return Function(`${source};return {browser,readBrowserFeatureGate}`)(); -} - -test("API-key 身份读取失败时关闭 request header 并继续", async () => { - const result = patchSource( - createService(`Promise.reject(new Error("unsupported Codex auth method: apikey"))`), - ); - - assert.equal(result.status, "patched"); - assert.equal(await loadReadGate(result.source)(), false); - assert.equal(patchSource(result.source).status, "already-patched"); -}); - -test("ChatGPT 身份可用时保留原有 Statsig 开关", async () => { - const enabled = patchSource(createService("Promise.resolve()", true)); - const disabled = patchSource(createService("Promise.resolve()", false)); - - assert.equal(await loadReadGate(enabled.source)(), true); - assert.equal(await loadReadGate(disabled.source)(), false); -}); - -test("26.1007 浏览器命令在 API-key 身份失败时继续发送且不放行其他开关", async () => { - const result = patchSource(createFeatureGateService( - `Promise.reject(new Error("unsupported Codex auth method: apikey"))`, - )); - const { browser, readBrowserFeatureGate } = loadFeatureGateService(result.source); - - assert.deepEqual(await browser.sendSessionRequest(), { - agent_request_header_enabled: false, - }); - await assert.rejects( - readBrowserFeatureGate("another_browser_gate"), - /unsupported Codex auth method: apikey/, - ); - assert.equal(patchSource(result.source).status, "already-patched"); -}); - -test("26.1007 浏览器命令保留 ChatGPT request-header 开关的返回值", async () => { - for (const enabled of [true, false]) { - const result = patchSource(createFeatureGateService("Promise.resolve()", enabled)); - const { browser } = loadFeatureGateService(result.source); - - assert.deepEqual(await browser.sendSessionRequest(), { - agent_request_header_enabled: enabled, - }); - } -}); - -test("未知上游结构会明确失败而不是静默漏补", () => { - const source = [ - `async function readGate(){`, - `throw new Error("Browser request-header policy requires caller identity.");`, - `checkGate("codex_browser_use_agent_request_header")`, - `}`, - ].join(""); - - assert.equal(patchSource(source).status, "unexpected-shape"); -}); diff --git a/scripts/patch-cdp-screenshot.js b/scripts/patch-cdp-screenshot.js index ec7356f1..0df334a4 100644 --- a/scripts/patch-cdp-screenshot.js +++ b/scripts/patch-cdp-screenshot.js @@ -30,7 +30,7 @@ */ const fs = require("fs"); const acorn = require("acorn"); -const { locateBundles, relPath } = require("./patch-util"); +const { locateBuildFeatureBundles, relPath } = require("./patch-util"); const MARKER = "__codexCdpGuard"; @@ -41,13 +41,7 @@ const GUARD_DEF = MARKER + "=function(m,p){try{if(m===`Page.captureScreenshot`&&p&&typeof p==`object`&&p.captureBeyondViewport===!0){var q={};for(var k in p)q[k]=p[k];q.captureBeyondViewport=!1;delete q.clip;(q.format==null||q.format===`png`)&&(q.format=`jpeg`,q.quality=60);return q}}catch(e){}return p};\n"; -// CDP 统一转发点(sendDebuggerCommand 内部)——main bundle 中唯一 -const ANCHOR = - "return await hY(e.webContents.debugger.sendCommand(t,n,i),this.cdpCommandTimeoutMs,"; -const REPLACEMENT = - "return await hY(e.webContents.debugger.sendCommand(t,globalThis." + - MARKER + - "(t,n),i),this.cdpCommandTimeoutMs,"; +// 保留给已有诊断调用者的旧形态识别式;实际修改使用 AST 方法上下文。 const DYNAMIC_ANCHOR_RE = /return await ([A-Z_$a-z][\w$]*)\(([A-Z_$a-z][\w$]*)\.webContents\.debugger\.sendCommand\(([A-Z_$a-z][\w$]*),([A-Z_$a-z][\w$]*),([A-Z_$a-z][\w$]*)\),(this\.cdpCommandTimeoutMs|[A-Z_$a-z][\w$]*),/; @@ -66,21 +60,38 @@ function parseOk(code) { } function patchSource(code) { - if (code.includes(MARKER)) { - return { status: "already-patched", source: code }; + // 新版对返回结果再包装,直接定位 sendDebuggerCommand 方法内的真实调用。 + let ast; + try { ast = acorn.parse(code, { ecmaVersion: "latest", sourceType: "module" }); } + catch { return { status: "invalid-output", source: code }; } + const matches = []; + const guarded = []; + function walk(node, inForwarder = false) { + if (!node || typeof node !== "object") return; + if (node.type === "MethodDefinition") inForwarder = node.key?.name === "sendDebuggerCommand"; + if (inForwarder && node.type === "CallExpression" && node.arguments.length === 3 && + /\.webContents\.debugger\.sendCommand$/.test(code.slice(node.callee.start, node.callee.end))) { + if (node.arguments.every((arg) => arg.type === "Identifier")) matches.push(node); + else { + const [method, params, session] = node.arguments; + if (method.type === "Identifier" && session.type === "Identifier" && params.type === "CallExpression" && + code.slice(params.callee.start, params.callee.end) === `globalThis.${MARKER}` && + params.arguments.length === 2 && params.arguments[0].name === method.name && params.arguments[1].type === "Identifier") guarded.push(node); + } + } + for (const value of Object.values(node)) { + if (Array.isArray(value)) value.forEach((child) => walk(child, inForwarder)); + else if (value?.type) walk(value, inForwarder); + } } - + walk(ast); + if (code.includes(MARKER)) return { status: code.includes(GUARD_DEF) && guarded.length === 1 && matches.length === 0 ? "already-patched" : "unexpected-shape", source: code }; + if (matches.length > 1) return { status: "unexpected-shape", source: code }; let forwarded = null; - if (code.includes(ANCHOR)) { - forwarded = code.replace(ANCHOR, REPLACEMENT); - } else { - forwarded = code.replace( - DYNAMIC_ANCHOR_RE, - (match, timeoutFn, webContents, method, params, sessionId, timeout) => - `return await ${timeoutFn}(${webContents}.webContents.debugger.sendCommand(` + - `${method},globalThis.${MARKER}(${method},${params}),${sessionId}),${timeout},`, - ); - if (forwarded === code) forwarded = null; + if (matches.length === 1) { + const [method, params] = matches[0].arguments; + const replacement = `globalThis.${MARKER}(${code.slice(method.start, method.end)},${code.slice(params.start, params.end)})`; + forwarded = code.slice(0, params.start) + replacement + code.slice(params.end); } if (forwarded == null) { @@ -108,10 +119,10 @@ function main() { ["mac-arm64", "mac-x64", "win"].includes(a), ); - const bundles = locateBundles({ - dir: "build", - pattern: /^main-.*\.js$/, + const bundles = locateBuildFeatureBundles({ platform, + label: "CDP screenshot", + match: code => code.includes("sendDebuggerCommand") && code.includes("Page.captureScreenshot") && code.includes("captureBeyondViewport"), }); if (bundles.length === 0) { diff --git a/scripts/patch-codex-home-env.js b/scripts/patch-codex-home-env.js index c16c2508..28023fb6 100644 --- a/scripts/patch-codex-home-env.js +++ b/scripts/patch-codex-home-env.js @@ -10,6 +10,7 @@ */ const fs = require("fs"); const path = require("path"); +const { parse } = require("acorn"); const { SRC_DIR } = require("./patch-util"); const args = process.argv.slice(2); @@ -28,10 +29,6 @@ const LEGACY_NEW = // 新版上游会把 resolved Codex home 作为 codexHome 参数传入启动函数。 // 函数体一开始补写 process.env.CODEX_HOME,后续 spawn/import 的子进程即可继承。 -const NATIVE_PIPE_START_RE = - /(function\s+\w+\(\{codexHome:([A-Za-z_$][\w$]*)=[\s\S]{0,500}?startServer:[A-Za-z_$][\w$]*=[A-Za-z_$][\w$]*\}\)\{)(?!process\.env\.CODEX_HOME\?\?=)/g; -const NATIVE_PIPE_PATCHED_RE = - /function\s+\w+\(\{codexHome:([A-Za-z_$][\w$]*)=[\s\S]{0,500}?startServer:[A-Za-z_$][\w$]*=[A-Za-z_$][\w$]*\}\)\{process\.env\.CODEX_HOME\?\?=\1;/; function countLiteral(src, needle) { return src.split(needle).length - 1; @@ -41,10 +38,6 @@ function patchSource(src, file) { if (src.includes(LEGACY_NEW)) { return { matched: true, changed: false, source: src, label: "legacy bootstrap already patched" }; } - if (NATIVE_PIPE_PATCHED_RE.test(src)) { - return { matched: true, changed: false, source: src, label: "native-pipe bootstrap already patched" }; - } - const legacyCount = countLiteral(src, LEGACY_OLD); if (legacyCount > 0) { if (legacyCount !== 1) { @@ -58,18 +51,36 @@ function patchSource(src, file) { }; } - const matches = [...src.matchAll(NATIVE_PIPE_START_RE)]; + // 新版 Webpack 会将工厂内联为匿名函数;按参数契约识别,不能依赖压缩后的函数名。 + const matches = []; + function visit(node) { + if (!node || typeof node !== "object") return; + if (["FunctionDeclaration", "FunctionExpression"].includes(node.type) && node.params.length === 1 && node.params[0].type === "ObjectPattern") { + const props = Object.fromEntries(node.params[0].properties.filter(p => p.type === "Property").map(p => [p.key.name, p.value])); + const home = props.codexHome; + if (home?.type === "AssignmentPattern" && home.left.type === "Identifier" && ["codexCliPath", "platform", "startServer"].every(key => props[key])) { + const body = src.slice(node.body.start + 1, node.body.end - 1); + if (!body.includes("windowsHelperPath") || !body.includes("windowsHelperTransportModulePath") || !body.includes("codexHome:")) throw new Error(`Unknown native-pipe startup contract in ${file}`); + matches.push({ node, home: home.left.name }); + } + } + for (const value of Object.values(node)) { + if (Array.isArray(value)) value.forEach(visit); + else if (value?.type) visit(value); + } + } + visit(parse(src, { ecmaVersion: "latest", sourceType: "module" })); if (matches.length > 0) { if (matches.length !== 1) { throw new Error(`Expected one native-pipe Codex home startup marker in ${file}, found ${matches.length}`); } - NATIVE_PIPE_START_RE.lastIndex = 0; + const { node, home } = matches[0]; + const injection = `process.env.CODEX_HOME??=${home};`; + if (src.slice(node.body.start + 1).startsWith(injection)) return { matched: true, changed: false, source: src, label: "native-pipe bootstrap already patched" }; return { matched: true, changed: true, - source: src.replace(NATIVE_PIPE_START_RE, (_match, prefix, codexHomeVar) => { - return `${prefix}process.env.CODEX_HOME??=${codexHomeVar};`; - }), + source: src.slice(0, node.body.start + 1) + injection + src.slice(node.body.start + 1), label: "native-pipe bootstrap", }; } @@ -115,4 +126,5 @@ function main() { console.log(check ? `[check] ${changed} file(s) need patching` : `[done] ${changed} file(s) patched`); } -main(); +if (require.main === module) main(); +module.exports = { patchSource }; diff --git a/scripts/patch-composer-workspace-root.js b/scripts/patch-composer-workspace-root.js deleted file mode 100644 index a64a17fe..00000000 --- a/scripts/patch-composer-workspace-root.js +++ /dev/null @@ -1,138 +0,0 @@ -#!/usr/bin/env node -/** - * Post-build patch: make new local conversations honor the active workspace root. - * - * Upstream bundle behavior: - * a?.workspaceRoots ?? n.workspaceRoots ?? [`~`] - * - * If the composer context misses workspaceRoots, `[`~`]` is treated as a - * projectless conversation and the app creates/uses ~/Documents/Codex. The - * desktop project picker already updates the active-workspace-roots query, so - * this patch uses that query as the local-only fallback before falling back to - * projectless. - * 26.803 起上游会把 active-workspace-roots 解析结果写入提交上下文;检测到 - * 这条完整链路时不再重复注入旧补丁。 - * - * Usage: - * node scripts/patch-composer-workspace-root.js [platform] # Apply patch - * node scripts/patch-composer-workspace-root.js --check # Dry-run - */ -const fs = require("fs"); -const path = require("path"); -const { SRC_DIR, relPath } = require("./patch-util"); - -const PATCHED_MARKER = "c===`local`?(e.get(Oi)?.data?.roots??[]).filter"; - -const OLD_SNIPPET = - "E=async(n,r,i,a)=>{let o=a?.workspaceRoots??n.workspaceRoots??[`~`],s=Ks(o),c=a?.hostId??v,u=C(a),{context:f,goal:h}=await T(n,c),g=MF(f,c),E=!1,D=Dn(f.imageAttachments),O=e.get(Ok),k=er(f);try{let n=await FF({hostId:c,prompt:k,projectlessPrewarmReservation:_,workspaceRoots:o}),a=n.cwd??r,l=await AF({activeCollaborationMode:t,context:f,hostId:c,scope:e,serviceTier:y}),v=await Cg({context:f,prompt:k,workspaceRoots:n.workspaceRoots,cwd:a,hostId:c,agentMode:u.agentMode,permissionProfileId:u.permissionProfileId,serviceTier:l.serviceTier,collaborationMode:l.collaborationMode,memoryPreferences:O??void 0,workspaceKind:s?`projectless`:`project`,projectlessOutputDirectory:n.projectlessOutputDirectory,projectAssignment:n.projectAssignment})"; - -const NEW_SNIPPET = - "E=async(n,r,i,a)=>{let c=a?.hostId??v,o=a?.workspaceRoots??n.workspaceRoots??(c===`local`?(e.get(Oi)?.data?.roots??[]).filter(e=>e!=null&&e!==`~`):[]);o.length===0&&(o=[`~`]);let s=Ks(o),u=C(a),{context:f,goal:h}=await T(n,c),g=MF(f,c),E=!1,D=Dn(f.imageAttachments),O=e.get(Ok),k=er(f);try{let n=await FF({hostId:c,prompt:k,projectlessPrewarmReservation:_,workspaceRoots:o}),a=n.cwd??r,l=await AF({activeCollaborationMode:t,context:f,hostId:c,scope:e,serviceTier:y}),v=await Cg({context:f,prompt:k,workspaceRoots:n.workspaceRoots,cwd:a,hostId:c,agentMode:u.agentMode,permissionProfileId:u.permissionProfileId,serviceTier:l.serviceTier,collaborationMode:l.collaborationMode,memoryPreferences:O??void 0,workspaceKind:s?`projectless`:`project`,projectlessOutputDirectory:n.projectlessOutputDirectory,projectAssignment:n.projectAssignment})"; - -function hasNativeWorkspaceRootPropagation(source, relatedSource = source) { - const cwdResolver = - /function\s+[\w$]+\(\{[^}]*localConversationCwd:[\w$]+[^}]*workspaceRoots:[\w$]+[^}]*activeWorkspaceRoot:[\w$]+[^}]*canUseProjectlessThreads:[\w$]+[^}]*\}\)\{return/; - return ( - (source.includes("active-workspace-roots") || - relatedSource.includes("active-workspace-roots")) && - cwdResolver.test(source) - ); -} - -function getPlatforms(platform) { - if (platform) return [platform]; - return ["mac-arm64", "mac-x64", "win"].filter((p) => - fs.existsSync(path.join(SRC_DIR, p, "_asar", "webview", "assets")), - ); -} - -function findComposerBundles(platform) { - const targets = []; - for (const plat of getPlatforms(platform)) { - const assetsDir = path.join(SRC_DIR, plat, "_asar", "webview", "assets"); - if (!fs.existsSync(assetsDir)) continue; - const files = fs.readdirSync(assetsDir).filter((file) => file.endsWith(".js")); - const hasActiveWorkspaceRootsQuery = files.some((file) => - fs - .readFileSync(path.join(assetsDir, file), "utf-8") - .includes("active-workspace-roots"), - ); - - for (const file of files) { - if (!/^(?:composer|app-(?:initial|primary))-.*\.js$/.test(file)) continue; - const filePath = path.join(assetsDir, file); - const source = fs.readFileSync(filePath, "utf-8"); - if ( - hasNativeWorkspaceRootPropagation( - source, - hasActiveWorkspaceRootsQuery ? "active-workspace-roots" : "", - ) - ) { - targets.push({ platform: plat, path: filePath, source, native: true }); - continue; - } - if ( - source.includes("projectlessPrewarmReservation") && - source.includes("workspaceRoots") && - (source.includes(OLD_SNIPPET) || source.includes(PATCHED_MARKER)) - ) { - targets.push({ platform: plat, path: filePath, source }); - } - } - } - return targets; -} - -function main() { - const args = process.argv.slice(2); - const isCheck = args.includes("--check"); - const platform = args.find((a) => - ["mac-arm64", "mac-x64", "win"].includes(a), - ); - - const targets = findComposerBundles(platform); - if (targets.length === 0) { - console.log(" [skip] No matching composer bundle found"); - return; - } - - let patched = 0; - for (const target of targets) { - const label = relPath(target.path); - if (target.native) { - console.log(` [ok] ${label}: upstream propagates the active workspace root`); - continue; - } - if (target.source.includes(PATCHED_MARKER)) { - console.log(` [ok] ${label}: already patched`); - continue; - } - - const count = target.source.split(OLD_SNIPPET).length - 1; - if (count !== 1) { - console.log(` [!] ${label}: expected 1 patch site, found ${count}`); - continue; - } - - if (isCheck) { - console.log(` [?] ${label}: would patch local workspace fallback`); - patched++; - continue; - } - - const next = target.source.replace(OLD_SNIPPET, NEW_SNIPPET); - fs.writeFileSync(target.path, next, "utf-8"); - console.log(` [ok] ${label}: local workspace fallback patched`); - patched++; - } - - if (isCheck) { - console.log(` [check] ${patched} composer bundle(s) would be patched`); - } else { - console.log(` [done] ${patched} composer bundle(s) patched`); - } -} - -if (require.main === module) main(); - -module.exports = { findComposerBundles, hasNativeWorkspaceRootPropagation }; diff --git a/scripts/patch-copyright.js b/scripts/patch-copyright.js index 9b21287c..827fe385 100644 --- a/scripts/patch-copyright.js +++ b/scripts/patch-copyright.js @@ -11,7 +11,7 @@ const fs = require("fs"); const path = require("path"); const { parse } = require("acorn"); -const { locateBundles, relPath } = require("./patch-util"); +const { locateBuildFeatureBundles, relPath } = require("./patch-util"); // ────────────────────────────────────────────── // Config @@ -88,15 +88,16 @@ function collectPatches(ast, source) { }); // 26.803 起 About 面板改成自定义 HTML,不再调用 setAboutPanelOptions。 - let offset = 0; - while ((offset = source.indexOf(OLD_COPYRIGHT_HTML, offset)) !== -1) { + const htmlPattern = /