Skip to content

Turn any document into clean, AI-ready Markdown. Local-first desktop app: reads scanned PDFs, batches folders, runs offline, and uses far fewer tokens than vision models.

release: MDFlux v0.3.0 cross-platform support

ibrahimqureshaebf93a443f431
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000..1475850
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,6 @@
+# devenv is optional. This file intentionally does not load .env files or secrets.
+if has devenv; then
+ use devenv
+else
+ log_status "devenv is not installed; use the ordinary MDFlux development commands."
+fi
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..f200963
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,3 @@
+tests/release-fixtures/samples/*.pdf binary
+*.lock text eol=lf
+*.sh text eol=lf
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index a037a4f..a09922e 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -19,9 +19,28 @@ What you expected instead.
**File / format involved**
e.g. a scanned PDF, a DOCX, audio — and the cleanup mode (Off / Rule-based / AI).
+**Platform**
+<!-- Use frozen identifiers: windows-x64 or linux-x64-glibc -->
+- Platform ID:
+- Architecture: x64
+
+**Edition**
+<!-- lite = first-run provisioning; full = immutable bundled runtime; dev build = local npm run tauri dev -->
+- Edition: lite / full / dev build
+- MDFlux version (or commit for dev builds):
+
+**Runtime status** *(from Diagnostics, if available)*
+- Overall status: missing / installing / ready / invalid / repairable
+- Components (core / ocr / audio): not_installed / installing / installed / failed
+- Python version shown in Diagnostics:
+
**Environment**
-- MDFlux version:
-- Windows version:
+- OS and version: e.g. Windows 11 23H2, Ubuntu 24.04
+- WebView2 (Windows) or WebKitGTK 4.1 (Linux) installed: yes / no / unknown
**Logs / screenshots**
Anything from the Diagnostics panel that helps. Do not paste API keys.
+
+**Release artifact** *(if reporting against a downloaded build)*
+- Archive file name: e.g. `MDFlux_0.2.0_portable.zip` or frozen Lite/Full name from [releases docs](../../docs/cross-platform/releases-and-verification.md)
+- SHA-256 verified against release page: yes / no / n/a
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index f64de8a..a3169d7 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -4,11 +4,22 @@
## How was it tested?
-<!-- Commands run / manual steps. e.g. `npm run check`, `cargo check`, converted X. -->
+<!-- Use frozen command names where applicable: -->
+<!-- cd app && npm run check -->
+<!-- cd app/src-tauri && cargo check --locked && cargo test --locked -->
+<!-- cd app/src-tauri/resources/sidecar && python -m unittest discover -s tests -p "test_*.py" -->
+<!-- python -m tools.release --archive ... --platform ... --edition ... (release/packaging PRs) -->
+
+## Cross-platform impact
+
+- [ ] No duplicated platform-specific application logic (adapter/packaging only)
+- [ ] Docs updated if user-facing behavior, editions, or support boundaries changed
+- [ ] N/A — documentation or tooling only
## Checklist
- [ ] Focused change; matches the surrounding code style
- [ ] `cd app && npm run check` passes (0 errors)
-- [ ] `cd app/src-tauri && cargo check` passes
+- [ ] `cd app/src-tauri && cargo check --locked` passes
+- [ ] Sidecar tests run when Python sidecar files changed
- [ ] No secrets, keys, or personal paths added
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index 7d5b639..1e86752 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -6,6 +6,14 @@ updates:
schedule:
interval: weekly
open-pull-requests-limit: 5
+ groups:
+ frontend-runtime:
+ patterns:
+ - "@tauri-apps/*"
+ - "@sveltejs/*"
+ - "svelte*"
+ - "vite"
+ - "typescript"
# Rust shell (Tauri)
- package-ecosystem: cargo
@@ -13,9 +21,18 @@ updates:
schedule:
interval: weekly
open-pull-requests-limit: 5
+ groups:
+ tauri-runtime:
+ patterns:
+ - "tauri*"
- # GitHub Actions used in CI / release workflows
+ # GitHub Actions used in CI and release workflows
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
+ open-pull-requests-limit: 10
+ groups:
+ github-actions:
+ patterns:
+ - "*"
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 502db46..12e5e73 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -10,16 +10,20 @@ on:
permissions:
contents: read
+concurrency:
+ group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
jobs:
frontend:
- name: Frontend check (svelte-check)
+ name: CI / Frontend
runs-on: ubuntu-latest
defaults:
run:
working-directory: app
steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-node@v4
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: 20
cache: npm
@@ -27,16 +31,96 @@ jobs:
- run: npm ci
- run: npm run check
- rust:
- name: Rust check (cargo)
+ rust-windows:
+ name: CI / Rust Windows
runs-on: windows-latest
defaults:
run:
working-directory: app/src-tauri
steps:
- - uses: actions/checkout@v4
- - uses: dtolnay/rust-toolchain@stable
- - uses: Swatinem/rust-cache@v2
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ - uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6
+ with:
+ workspaces: app/src-tauri
+ - run: cargo check --locked
+ - run: cargo test --locked
+
+ rust-linux:
+ name: CI / Rust Linux
+ runs-on: ubuntu-22.04
+ defaults:
+ run:
+ working-directory: app/src-tauri
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ - name: Install Tauri Linux build prerequisites
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y \
+ libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev \
+ librsvg2-dev libssl-dev libxdo-dev javascriptcoregtk-4.1-dev \
+ patchelf pkg-config build-essential
+ - uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6
with:
workspaces: app/src-tauri
- run: cargo check --locked
+ - run: cargo test --locked
+
+ sidecar-windows:
+ name: CI / Sidecar Windows
+ runs-on: windows-latest
+ defaults:
+ run:
+ working-directory: app/src-tauri/resources/sidecar
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86
+ with:
+ enable-cache: true
+ cache-dependency-glob: app/src-tauri/resources/sidecar/requirements.lock
+ - name: Install sidecar test dependencies
+ shell: pwsh
+ run: |
+ uv python install 3.12
+ uv venv --python 3.12 .venv-ci
+ $python = (Resolve-Path .venv-ci/Scripts/python.exe).Path
+ uv pip install --python $python --require-hashes -r requirements.lock
+ "PYTHON=$python" >> $env:GITHUB_ENV
+ - name: Run sidecar tests
+ shell: pwsh
+ run: '& $env:PYTHON -m unittest discover -s tests -p "test_*.py"'
+
+ sidecar-linux:
+ name: CI / Sidecar Linux
+ runs-on: ubuntu-22.04
+ defaults:
+ run:
+ working-directory: app/src-tauri/resources/sidecar
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86
+ with:
+ enable-cache: true
+ cache-dependency-glob: app/src-tauri/resources/sidecar/requirements.lock
+ - name: Install sidecar test dependencies
+ run: |
+ uv python install 3.12
+ uv venv --python 3.12 .venv-ci
+ PYTHON="$PWD/.venv-ci/bin/python"
+ uv pip install --python "$PYTHON" --require-hashes -r requirements.lock
+ echo "PYTHON=$PYTHON" >> "$GITHUB_ENV"
+ - name: Run sidecar tests
+ run: '$PYTHON -m unittest discover -s tests -p "test_*.py"'
+
+ dependency-drift:
+ name: CI / Dependency Drift
+ runs-on: ubuntu-22.04
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
+ with:
+ python-version: "3.12"
+ - name: Run dependency drift check
+ run: python tools/dependencies/check.py
diff --git a/.github/workflows/release-candidate.yml b/.github/workflows/release-candidate.yml
new file mode 100644
index 0000000..2111f82
--- /dev/null
+++ b/.github/workflows/release-candidate.yml
@@ -0,0 +1,426 @@
+name: Release candidate
+
+on:
+ pull_request:
+ branches: [main]
+ types: [labeled]
+ workflow_dispatch:
+ inputs:
+ ref:
+ description: Exact 40-character commit SHA to build
+ required: true
+ type: string
+
+permissions:
+ contents: read
+
+concurrency:
+ group: release-candidate-${{ github.event.pull_request.number || inputs.ref || github.ref }}
+ cancel-in-progress: false
+
+jobs:
+ validate-ref:
+ name: RC / Validate exact source
+ if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == 'integration') }}
+ runs-on: ubuntu-22.04
+ outputs:
+ commit: ${{ steps.commit.outputs.value }}
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: ${{ github.event_name == 'workflow_dispatch' && inputs.ref || github.event.pull_request.head.sha }}
+ fetch-depth: 0
+ - id: commit
+ name: Reject non-SHA refs and resolve checkout
+ env:
+ REQUESTED_REF: ${{ github.event_name == 'workflow_dispatch' && inputs.ref || github.event.pull_request.head.sha }}
+ run: |
+ [[ "$REQUESTED_REF" =~ ^[0-9a-fA-F]{40}$ ]] || { echo "Candidate input must be an exact commit SHA" >&2; exit 1; }
+ git cat-file -e "$REQUESTED_REF^{commit}" || { echo "Requested commit does not exist" >&2; exit 1; }
+ actual="$(git rev-parse HEAD)"
+ [[ "$actual" == "${REQUESTED_REF,,}" ]] || { echo "Checkout does not match requested commit" >&2; exit 1; }
+ echo "value=$actual" >> "$GITHUB_OUTPUT"
+
+ frontend:
+ name: RC / Frontend
+ needs: validate-ref
+ runs-on: ubuntu-latest
+ defaults:
+ run:
+ working-directory: app
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: ${{ needs.validate-ref.outputs.commit }}
+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
+ with:
+ node-version: 20
+ cache: npm
+ cache-dependency-path: app/package-lock.json
+ - run: npm ci
+ - run: npm run check
+
+ rust-windows:
+ name: RC / Rust Windows
+ needs: validate-ref
+ runs-on: windows-latest
+ defaults:
+ run:
+ working-directory: app/src-tauri
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: ${{ needs.validate-ref.outputs.commit }}
+ - uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6
+ with:
+ workspaces: app/src-tauri
+ - run: cargo check --locked
+ - run: cargo test --locked
+
+ rust-linux:
+ name: RC / Rust Linux
+ needs: validate-ref
+ runs-on: ubuntu-22.04
+ defaults:
+ run:
+ working-directory: app/src-tauri
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: ${{ needs.validate-ref.outputs.commit }}
+ - name: Install Tauri Linux build prerequisites
+ run: |
+ sudo apt-get update
+ sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libssl-dev libxdo-dev javascriptcoregtk-4.1-dev patchelf pkg-config build-essential
+ - uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6
+ with:
+ workspaces: app/src-tauri
+ - run: cargo check --locked
+ - run: cargo test --locked
+
+ sidecar-windows:
+ name: RC / Sidecar Windows
+ needs: validate-ref
+ runs-on: windows-latest
+ defaults:
+ run:
+ working-directory: app/src-tauri/resources/sidecar
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: ${{ needs.validate-ref.outputs.commit }}
+ - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86
+ with:
+ enable-cache: true
+ cache-dependency-glob: app/src-tauri/resources/sidecar/requirements.lock
+ - name: Install and test sidecar
+ shell: pwsh
+ run: |
+ uv python install 3.12
+ uv venv --python 3.12 .venv-ci
+ $python = (Resolve-Path .venv-ci/Scripts/python.exe).Path
+ uv pip install --python $python --require-hashes -r requirements.lock
+ & $python -m unittest discover -s tests -p "test_*.py"
+
+ sidecar-linux:
+ name: RC / Sidecar Linux
+ needs: validate-ref
+ runs-on: ubuntu-22.04
+ defaults:
+ run:
+ working-directory: app/src-tauri/resources/sidecar
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: ${{ needs.validate-ref.outputs.commit }}
+ - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86
+ with:
+ enable-cache: true
+ cache-dependency-glob: app/src-tauri/resources/sidecar/requirements.lock
+ - name: Install and test sidecar
+ run: |
+ uv python install 3.12
+ uv venv --python 3.12 .venv-ci
+ PYTHON="$PWD/.venv-ci/bin/python"
+ uv pip install --python "$PYTHON" --require-hashes -r requirements.lock
+ "$PYTHON" -m unittest discover -s tests -p "test_*.py"
+
+ dependency-drift:
+ name: RC / Dependency Drift
+ needs: validate-ref
+ runs-on: ubuntu-22.04
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: ${{ needs.validate-ref.outputs.commit }}
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
+ with:
+ python-version: "3.12"
+ - run: python tools/dependencies/check.py
+
+ build-windows-lite:
+ name: RC / Build Windows Lite
+ needs: [validate-ref, frontend, rust-windows, rust-linux, sidecar-windows, sidecar-linux, dependency-drift]
+ runs-on: windows-latest
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: ${{ needs.validate-ref.outputs.commit }}
+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
+ with: { node-version: 20, cache: npm, cache-dependency-path: app/package-lock.json }
+ - name: Install frontend dependencies
+ working-directory: app
+ run: npm ci
+ - uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6
+ with: { workspaces: app/src-tauri }
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
+ with: { python-version: "3.12" }
+ - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86
+ - id: version
+ shell: pwsh
+ run: |
+ New-Item -ItemType Directory -Force dist | Out-Null
+ $version = (Get-Content app/src-tauri/tauri.conf.json -Raw | ConvertFrom-Json).version
+ "value=$version" >> $env:GITHUB_OUTPUT
+ git rev-parse HEAD > dist/source-commit.txt
+ - name: Build and verify archive
+ shell: pwsh
+ run: |
+ pwsh -File scripts/make-portable.ps1
+ $archive = "dist/MDFlux_${{ steps.version.outputs.value }}_windows_x64_lite.zip"
+ if (-not (Test-Path -LiteralPath $archive)) { throw "Expected archive not found: $archive" }
+ uv venv --python 3.12 .venv-verifier
+ $verifierPython = (Resolve-Path .venv-verifier/Scripts/python.exe).Path
+ uv pip install --python $verifierPython --require-hashes -r app/src-tauri/resources/sidecar/requirements-full.lock
+ $output = & $verifierPython -m tools.release --archive "$archive" --platform windows-x64 --edition lite --json-out dist/verification-windows-x64-lite.json 2>&1
+ $status = $LASTEXITCODE
+ $output | Tee-Object -FilePath dist/verification-windows-x64-lite.txt
+ if ($status -ne 0) { exit $status }
+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
+ if: ${{ always() }}
+ with:
+ name: windows-x64-lite
+ path: |
+ dist/MDFlux_*_windows_x64_lite.zip
+ dist/source-commit.txt
+ dist/verification-windows-x64-lite.json
+ dist/verification-windows-x64-lite.txt
+ if-no-files-found: warn
+
+ build-windows-full:
+ name: RC / Build Windows Full
+ needs: [validate-ref, frontend, rust-windows, rust-linux, sidecar-windows, sidecar-linux, dependency-drift]
+ runs-on: windows-latest
+ env: { UV_LINK_MODE: copy }
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: "${{ needs.validate-ref.outputs.commit }}"
+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
+ with: { node-version: 20, cache: npm, cache-dependency-path: app/package-lock.json }
+ - name: Install frontend dependencies
+ working-directory: app
+ run: npm ci
+ - uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6
+ with: { workspaces: app/src-tauri }
+ - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
+ with: { python-version: "3.12" }
+ - id: version
+ shell: pwsh
+ run: |
+ New-Item -ItemType Directory -Force dist | Out-Null
+ $version = (Get-Content app/src-tauri/tauri.conf.json -Raw | ConvertFrom-Json).version
+ "value=$version" >> $env:GITHUB_OUTPUT
+ git rev-parse HEAD > dist/source-commit.txt
+ uv python install 3.12
+ pwsh -File scripts/make-portable-full.ps1
+ - name: Verify Windows Full archive
+ shell: pwsh
+ run: |
+ $archive = "dist/MDFlux_${{ steps.version.outputs.value }}_windows_x64_full.zip"
+ if (-not (Test-Path -LiteralPath $archive)) { throw "Expected archive not found: $archive" }
+ $output = python -m tools.release --archive "$archive" --platform windows-x64 --edition full --json-out dist/verification-windows-x64-full.json 2>&1
+ $status = $LASTEXITCODE
+ $output | Tee-Object -FilePath dist/verification-windows-x64-full.txt
+ if ($status -ne 0) { exit $status }
+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
+ if: ${{ always() }}
+ with:
+ name: windows-x64-full
+ path: |
+ dist/MDFlux_*_windows_x64_full.zip
+ dist/source-commit.txt
+ dist/verification-windows-x64-full.json
+ dist/verification-windows-x64-full.txt
+ if-no-files-found: warn
+
+ build-linux-lite:
+ name: RC / Build Linux Lite
+ needs: [validate-ref, frontend, rust-windows, rust-linux, sidecar-windows, sidecar-linux, dependency-drift]
+ runs-on: ubuntu-22.04
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: "${{ needs.validate-ref.outputs.commit }}"
+ - name: Install Linux build prerequisites
+ run: sudo apt-get update && sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libssl-dev libxdo-dev javascriptcoregtk-4.1-dev patchelf pkg-config build-essential
+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
+ with: { node-version: 20, cache: npm, cache-dependency-path: app/package-lock.json }
+ - name: Install frontend dependencies
+ working-directory: app
+ run: npm ci
+ - uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6
+ with: { workspaces: app/src-tauri }
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
+ with: { python-version: "3.12" }
+ - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86
+ - id: version
+ run: |
+ mkdir -p dist
+ VERSION="$(python -c "import json; print(json.load(open('app/src-tauri/tauri.conf.json'))['version'])")"
+ echo "value=$VERSION" >> "$GITHUB_OUTPUT"
+ git rev-parse HEAD > dist/source-commit.txt
+ bash scripts/make-portable-linux.sh
+ - name: Verify Linux Lite archive
+ run: |
+ ARCHIVE="dist/MDFlux_${{ steps.version.outputs.value }}_linux_x64_glibc_lite.tar.gz"
+ test -f "$ARCHIVE"
+ uv venv --python 3.12 .venv-verifier
+ uv pip install --python .venv-verifier/bin/python --require-hashes -r app/src-tauri/resources/sidecar/requirements-full.lock
+ set +e
+ .venv-verifier/bin/python -m tools.release --archive "$ARCHIVE" --platform linux-x64-glibc --edition lite --json-out dist/verification-linux-x64-glibc-lite.json 2>&1 | tee dist/verification-linux-x64-glibc-lite.txt
+ status=${PIPESTATUS[0]}
+ set -e
+ exit "$status"
+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
+ if: ${{ always() }}
+ with:
+ name: linux-x64-glibc-lite
+ path: |
+ dist/MDFlux_*_linux_x64_glibc_lite.tar.gz
+ dist/source-commit.txt
+ dist/verification-linux-x64-glibc-lite.json
+ dist/verification-linux-x64-glibc-lite.txt
+ if-no-files-found: warn
+
+ build-linux-full:
+ name: RC / Build Linux Full
+ needs: [validate-ref, frontend, rust-windows, rust-linux, sidecar-windows, sidecar-linux, dependency-drift]
+ runs-on: ubuntu-22.04
+ env: { UV_LINK_MODE: copy }
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: "${{ needs.validate-ref.outputs.commit }}"
+ - name: Install Linux build prerequisites
+ run: sudo apt-get update && sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libssl-dev libxdo-dev javascriptcoregtk-4.1-dev patchelf pkg-config build-essential
+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
+ with: { node-version: 20, cache: npm, cache-dependency-path: app/package-lock.json }
+ - name: Install frontend dependencies
+ working-directory: app
+ run: npm ci
+ - uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6
+ with: { workspaces: app/src-tauri }
+ - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
+ with: { python-version: "3.12" }
+ - id: version
+ run: |
+ mkdir -p dist
+ VERSION="$(python -c "import json; print(json.load(open('app/src-tauri/tauri.conf.json'))['version'])")"
+ echo "value=$VERSION" >> "$GITHUB_OUTPUT"
+ git rev-parse HEAD > dist/source-commit.txt
+ uv python install 3.12
+ bash scripts/make-portable-linux-full.sh
+ - name: Verify Linux Full archive
+ run: |
+ ARCHIVE="dist/MDFlux_${{ steps.version.outputs.value }}_linux_x64_glibc_full.tar.gz"
+ test -f "$ARCHIVE"
+ set +e
+ python -m tools.release --archive "$ARCHIVE" --platform linux-x64-glibc --edition full --json-out dist/verification-linux-x64-glibc-full.json 2>&1 | tee dist/verification-linux-x64-glibc-full.txt
+ status=${PIPESTATUS[0]}
+ set -e
+ exit "$status"
+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
+ if: ${{ always() }}
+ with:
+ name: linux-x64-glibc-full
+ path: |
+ dist/MDFlux_*_linux_x64_glibc_full.tar.gz
+ dist/source-commit.txt
+ dist/verification-linux-x64-glibc-full.json
+ dist/verification-linux-x64-glibc-full.txt
+ if-no-files-found: warn
+
+ aggregate:
+ name: RC / Aggregate four artifacts
+ needs: [validate-ref, build-windows-lite, build-windows-full, build-linux-lite, build-linux-full]
+ runs-on: ubuntu-22.04
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: "${{ needs.validate-ref.outputs.commit }}"
+ - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
+ with: { path: candidate, pattern: "*", merge-multiple: true }
+ - name: Assert four archives and one resolved commit
+ env:
+ EXPECTED_COMMIT: "${{ needs.validate-ref.outputs.commit }}"
+ run: |
+ python - <<'PY'
+ import os
+ from pathlib import Path
+ root = Path('candidate')
+ expected = {
+ 'MDFlux_0.3.0_windows_x64_lite.zip', 'MDFlux_0.3.0_windows_x64_full.zip',
+ 'MDFlux_0.3.0_linux_x64_glibc_lite.tar.gz', 'MDFlux_0.3.0_linux_x64_glibc_full.tar.gz'}
+ archives = {p.name for p in root.glob('MDFlux_*')}
+ if archives != expected: raise SystemExit(f'archive set mismatch: {archives}')
+ commits = {p.read_text().strip() for p in root.glob('source-commit.txt')}
+ if commits != {os.environ['EXPECTED_COMMIT']}: raise SystemExit(f'commit mismatch: {commits}')
+ if len(list(root.glob('verification-*.json'))) != 4 or len(list(root.glob('verification-*.txt'))) != 4:
+ raise SystemExit('expected four JSON and four text verification reports')
+ PY
+ - name: Write checksums and candidate manifest
+ env:
+ EXPECTED_COMMIT: "${{ needs.validate-ref.outputs.commit }}"
+ run: |
+ mkdir -p candidate/release-candidate
+ find candidate -maxdepth 1 -type f \( -name 'MDFlux_*' -o -name 'verification-*.json' -o -name 'verification-*.txt' \) -print0 | sort -z | xargs -0 sha256sum > candidate/release-candidate/SHA256SUMS
+ EXPECTED_COMMIT="$EXPECTED_COMMIT" python - <<'PY'
+ import json, os
+ from datetime import datetime, timezone
+ from pathlib import Path
+ root = Path('candidate')
+ archives = sorted(p.name for p in root.glob('MDFlux_*'))
+ manifest = {'schema': 1, 'kind': 'release-candidate', 'app_version': '0.3.0', 'commit': os.environ['EXPECTED_COMMIT'], 'built_at_utc': datetime.now(timezone.utc).replace(microsecond=0).isoformat(), 'archives': archives, 'platforms': ['windows-x64', 'linux-x64-glibc'], 'editions': ['lite', 'full']}
+ (root / 'release-candidate' / 'release-candidate.json').write_text(json.dumps(manifest, indent=2) + '\n', encoding='utf-8')
+ PY
+ cp candidate/MDFlux_* candidate/release-candidate/
+ cp candidate/verification-*.json candidate/verification-*.txt candidate/release-candidate/
+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
+ with:
+ name: release-candidate-bundle
+ path: candidate/release-candidate
+ if-no-files-found: error
+
+ attest:
+ name: RC / Attest artifacts
+ needs: aggregate
+ runs-on: ubuntu-22.04
+ permissions:
+ contents: read
+ id-token: write
+ attestations: write
+ steps:
+ - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
+ with: { name: release-candidate-bundle, path: candidate }
+ - uses: actions/attest-build-provenance@9d57eef8c06cd9d6b433effeeb7a6a77b3ff94ad
+ with:
+ subject-path: candidate/MDFlux_*
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..13149b5
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,454 @@
+name: Release
+
+on:
+ push:
+ tags: ['v*']
+ workflow_dispatch:
+ inputs:
+ tag:
+ description: Existing protected vX.Y.Z tag to rebuild
+ required: true
+ type: string
+
+permissions:
+ contents: read
+
+concurrency:
+ group: release-${{ github.event_name == 'push' && github.ref_name || inputs.tag }}
+ cancel-in-progress: false
+
+jobs:
+ validate-tag:
+ name: Release / Validate protected tag
+ runs-on: ubuntu-22.04
+ outputs:
+ tag: ${{ steps.resolve.outputs.tag }}
+ commit: ${{ steps.resolve.outputs.commit }}
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: ${{ github.event_name == 'push' && github.ref_name || inputs.tag }}
+ fetch-depth: 0
+ - id: resolve
+ name: Validate tag and checkout consistency
+ env:
+ RELEASE_TAG: ${{ github.event_name == 'push' && github.ref_name || inputs.tag }}
+ EVENT_SHA: ${{ github.event_name == 'push' && github.sha || '' }}
+ run: |
+ [[ "$RELEASE_TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]] || { echo "Release requires a semantic vX.Y.Z tag" >&2; exit 1; }
+ tag_commit="$(git rev-parse "refs/tags/$RELEASE_TAG^{commit}")"
+ checkout_commit="$(git rev-parse HEAD)"
+ [[ "$tag_commit" == "$checkout_commit" ]] || { echo "Tag and checkout commit differ" >&2; exit 1; }
+ app_version="$(python -c "import json; print(json.load(open('app/src-tauri/tauri.conf.json'))['version'])")"
+ [[ "$RELEASE_TAG" == "v$app_version" ]] || { echo "Release tag and checked-out application version differ" >&2; exit 1; }
+ if [[ -n "$EVENT_SHA" && "${EVENT_SHA,,}" != "$tag_commit" ]]; then
+ echo "Tag push event SHA does not match tag target" >&2
+ exit 1
+ fi
+ echo "tag=$RELEASE_TAG" >> "$GITHUB_OUTPUT"
+ echo "commit=$checkout_commit" >> "$GITHUB_OUTPUT"
+
+ frontend:
+ name: Release / Frontend
+ needs: validate-tag
+ runs-on: ubuntu-latest
+ defaults: { run: { working-directory: app } }
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: "${{ needs.validate-tag.outputs.commit }}"
+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
+ with: { node-version: 20, cache: npm, cache-dependency-path: app/package-lock.json }
+ - run: npm ci
+ - run: npm run check
+
+ rust-windows:
+ name: Release / Rust Windows
+ needs: validate-tag
+ runs-on: windows-latest
+ defaults: { run: { working-directory: app/src-tauri } }
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: "${{ needs.validate-tag.outputs.commit }}"
+ - uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6
+ with: { workspaces: app/src-tauri }
+ - run: cargo check --locked
+ - run: cargo test --locked
+
+ rust-linux:
+ name: Release / Rust Linux
+ needs: validate-tag
+ runs-on: ubuntu-22.04
+ defaults: { run: { working-directory: app/src-tauri } }
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: "${{ needs.validate-tag.outputs.commit }}"
+ - name: Install Linux build prerequisites
+ run: sudo apt-get update && sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libssl-dev libxdo-dev javascriptcoregtk-4.1-dev patchelf pkg-config build-essential
+ - uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6
+ with: { workspaces: app/src-tauri }
+ - run: cargo check --locked
+ - run: cargo test --locked
+
+ sidecar-windows:
+ name: Release / Sidecar Windows
+ needs: validate-tag
+ runs-on: windows-latest
+ defaults: { run: { working-directory: app/src-tauri/resources/sidecar } }
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: "${{ needs.validate-tag.outputs.commit }}"
+ - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86
+ - name: Install and test sidecar
+ shell: pwsh
+ run: |
+ uv python install 3.12
+ uv venv --python 3.12 .venv-ci
+ $python = (Resolve-Path .venv-ci/Scripts/python.exe).Path
+ uv pip install --python $python --require-hashes -r requirements.lock
+ & $python -m unittest discover -s tests -p "test_*.py"
+
+ sidecar-linux:
+ name: Release / Sidecar Linux
+ needs: validate-tag
+ runs-on: ubuntu-22.04
+ defaults: { run: { working-directory: app/src-tauri/resources/sidecar } }
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: "${{ needs.validate-tag.outputs.commit }}"
+ - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86
+ - name: Install and test sidecar
+ run: |
+ uv python install 3.12
+ uv venv --python 3.12 .venv-ci
+ PYTHON="$PWD/.venv-ci/bin/python"
+ uv pip install --python "$PYTHON" --require-hashes -r requirements.lock
+ "$PYTHON" -m unittest discover -s tests -p "test_*.py"
+
+ dependency-drift:
+ name: Release / Dependency Drift
+ needs: validate-tag
+ runs-on: ubuntu-22.04
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: "${{ needs.validate-tag.outputs.commit }}"
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
+ with: { python-version: "3.12" }
+ - run: python tools/dependencies/check.py
+
+ build-windows-lite:
+ name: Release / Build Windows Lite
+ needs: [validate-tag, frontend, rust-windows, rust-linux, sidecar-windows, sidecar-linux, dependency-drift]
+ runs-on: windows-latest
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: "${{ needs.validate-tag.outputs.commit }}"
+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
+ with: { node-version: 20, cache: npm, cache-dependency-path: app/package-lock.json }
+ - name: Install frontend dependencies
+ working-directory: app
+ run: npm ci
+ - uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6
+ with: { workspaces: app/src-tauri }
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
+ with: { python-version: "3.12" }
+ - id: version
+ shell: pwsh
+ run: |
+ New-Item -ItemType Directory -Force dist | Out-Null
+ $version = (Get-Content app/src-tauri/tauri.conf.json -Raw | ConvertFrom-Json).version
+ "value=$version" >> $env:GITHUB_OUTPUT
+ git rev-parse HEAD > dist/source-commit.txt
+ pwsh -File scripts/make-portable.ps1
+ - name: Verify Windows Lite archive
+ shell: pwsh
+ run: |
+ $archive = "dist/MDFlux_${{ steps.version.outputs.value }}_windows_x64_lite.zip"
+ if (-not (Test-Path -LiteralPath $archive)) { throw "Expected archive not found: $archive" }
+ uv venv --python 3.12 .venv-verifier
+ $verifierPython = (Resolve-Path .venv-verifier/Scripts/python.exe).Path
+ uv pip install --python $verifierPython --require-hashes -r app/src-tauri/resources/sidecar/requirements-full.lock
+ $output = & $verifierPython -m tools.release --archive "$archive" --platform windows-x64 --edition lite --json-out dist/verification-windows-x64-lite.json 2>&1
+ $status = $LASTEXITCODE
+ $output | Tee-Object -FilePath dist/verification-windows-x64-lite.txt
+ if ($status -ne 0) { exit $status }
+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
+ if: ${{ always() }}
+ with:
+ name: windows-x64-lite
+ path: |
+ dist/MDFlux_*_windows_x64_lite.zip
+ dist/source-commit.txt
+ dist/verification-windows-x64-lite.json
+ dist/verification-windows-x64-lite.txt
+ if-no-files-found: warn
+
+ build-windows-full:
+ name: Release / Build Windows Full
+ needs: [validate-tag, frontend, rust-windows, rust-linux, sidecar-windows, sidecar-linux, dependency-drift]
+ runs-on: windows-latest
+ env: { UV_LINK_MODE: copy }
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: "${{ needs.validate-tag.outputs.commit }}"
+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
+ with: { node-version: 20, cache: npm, cache-dependency-path: app/package-lock.json }
+ - name: Install frontend dependencies
+ working-directory: app
+ run: npm ci
+ - uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6
+ with: { workspaces: app/src-tauri }
+ - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
+ with: { python-version: "3.12" }
+ - id: version
+ shell: pwsh
+ run: |
+ New-Item -ItemType Directory -Force dist | Out-Null
+ $version = (Get-Content app/src-tauri/tauri.conf.json -Raw | ConvertFrom-Json).version
+ "value=$version" >> $env:GITHUB_OUTPUT
+ git rev-parse HEAD > dist/source-commit.txt
+ uv python install 3.12
+ pwsh -File scripts/make-portable-full.ps1
+ - name: Verify Windows Full archive
+ shell: pwsh
+ run: |
+ $archive = "dist/MDFlux_${{ steps.version.outputs.value }}_windows_x64_full.zip"
+ if (-not (Test-Path -LiteralPath $archive)) { throw "Expected archive not found: $archive" }
+ $output = python -m tools.release --archive "$archive" --platform windows-x64 --edition full --json-out dist/verification-windows-x64-full.json 2>&1
+ $status = $LASTEXITCODE
+ $output | Tee-Object -FilePath dist/verification-windows-x64-full.txt
+ if ($status -ne 0) { exit $status }
+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
+ if: ${{ always() }}
+ with:
+ name: windows-x64-full
+ path: |
+ dist/MDFlux_*_windows_x64_full.zip
+ dist/source-commit.txt
+ dist/verification-windows-x64-full.json
+ dist/verification-windows-x64-full.txt
+ if-no-files-found: warn
+
+ build-linux-lite:
+ name: Release / Build Linux Lite
+ needs: [validate-tag, frontend, rust-windows, rust-linux, sidecar-windows, sidecar-linux, dependency-drift]
+ runs-on: ubuntu-22.04
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: "${{ needs.validate-tag.outputs.commit }}"
+ - name: Install Linux build prerequisites
+ run: sudo apt-get update && sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libssl-dev libxdo-dev javascriptcoregtk-4.1-dev patchelf pkg-config build-essential
+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
+ with: { node-version: 20, cache: npm, cache-dependency-path: app/package-lock.json }
+ - name: Install frontend dependencies
+ working-directory: app
+ run: npm ci
+ - uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6
+ with: { workspaces: app/src-tauri }
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
+ with: { python-version: "3.12" }
+ - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86
+ - id: version
+ run: |
+ mkdir -p dist
+ VERSION="$(python -c "import json; print(json.load(open('app/src-tauri/tauri.conf.json'))['version'])")"
+ echo "value=$VERSION" >> "$GITHUB_OUTPUT"
+ git rev-parse HEAD > dist/source-commit.txt
+ bash scripts/make-portable-linux.sh
+ - name: Verify Linux Lite archive
+ run: |
+ ARCHIVE="dist/MDFlux_${{ steps.version.outputs.value }}_linux_x64_glibc_lite.tar.gz"
+ test -f "$ARCHIVE"
+ uv venv --python 3.12 .venv-verifier
+ uv pip install --python .venv-verifier/bin/python --require-hashes -r app/src-tauri/resources/sidecar/requirements-full.lock
+ set +e
+ .venv-verifier/bin/python -m tools.release --archive "$ARCHIVE" --platform linux-x64-glibc --edition lite --json-out dist/verification-linux-x64-glibc-lite.json 2>&1 | tee dist/verification-linux-x64-glibc-lite.txt
+ status=${PIPESTATUS[0]}
+ set -e
+ exit "$status"
+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
+ if: ${{ always() }}
+ with:
+ name: linux-x64-glibc-lite
+ path: |
+ dist/MDFlux_*_linux_x64_glibc_lite.tar.gz
+ dist/source-commit.txt
+ dist/verification-linux-x64-glibc-lite.json
+ dist/verification-linux-x64-glibc-lite.txt
+ if-no-files-found: warn
+
+ build-linux-full:
+ name: Release / Build Linux Full
+ needs: [validate-tag, frontend, rust-windows, rust-linux, sidecar-windows, sidecar-linux, dependency-drift]
+ runs-on: ubuntu-22.04
+ env: { UV_LINK_MODE: copy }
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: "${{ needs.validate-tag.outputs.commit }}"
+ - name: Install Linux build prerequisites
+ run: sudo apt-get update && sudo apt-get install -y libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev libssl-dev libxdo-dev javascriptcoregtk-4.1-dev patchelf pkg-config build-essential
+ - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
+ with: { node-version: 20, cache: npm, cache-dependency-path: app/package-lock.json }
+ - name: Install frontend dependencies
+ working-directory: app
+ run: npm ci
+ - uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c
+ - uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6
+ with: { workspaces: app/src-tauri }
+ - uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86
+ - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
+ with: { python-version: "3.12" }
+ - id: version
+ run: |
+ mkdir -p dist
+ VERSION="$(python -c "import json; print(json.load(open('app/src-tauri/tauri.conf.json'))['version'])")"
+ echo "value=$VERSION" >> "$GITHUB_OUTPUT"
+ git rev-parse HEAD > dist/source-commit.txt
+ uv python install 3.12
+ bash scripts/make-portable-linux-full.sh
+ - name: Verify Linux Full archive
+ run: |
+ ARCHIVE="dist/MDFlux_${{ steps.version.outputs.value }}_linux_x64_glibc_full.tar.gz"
+ test -f "$ARCHIVE"
+ set +e
+ python -m tools.release --archive "$ARCHIVE" --platform linux-x64-glibc --edition full --json-out dist/verification-linux-x64-glibc-full.json 2>&1 | tee dist/verification-linux-x64-glibc-full.txt
+ status=${PIPESTATUS[0]}
+ set -e
+ exit "$status"
+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
+ if: ${{ always() }}
+ with:
+ name: linux-x64-glibc-full
+ path: |
+ dist/MDFlux_*_linux_x64_glibc_full.tar.gz
+ dist/source-commit.txt
+ dist/verification-linux-x64-glibc-full.json
+ dist/verification-linux-x64-glibc-full.txt
+ if-no-files-found: warn
+
+ aggregate:
+ name: Release / Aggregate four artifacts
+ needs: [validate-tag, build-windows-lite, build-windows-full, build-linux-lite, build-linux-full]
+ runs-on: ubuntu-22.04
+ outputs:
+ bundle: ${{ steps.bundle.outputs.name }}
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: "${{ needs.validate-tag.outputs.commit }}"
+ - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
+ with: { path: release-assets, pattern: "*", merge-multiple: true }
+ - name: Assert tag, commit, reports, and exactly four archives
+ env:
+ EXPECTED_COMMIT: ${{ needs.validate-tag.outputs.commit }}
+ RELEASE_TAG: ${{ needs.validate-tag.outputs.tag }}
+ run: |
+ python - <<'PY'
+ import os, json
+ from pathlib import Path
+ root = Path('release-assets')
+ expected = {'MDFlux_0.3.0_windows_x64_lite.zip', 'MDFlux_0.3.0_windows_x64_full.zip', 'MDFlux_0.3.0_linux_x64_glibc_lite.tar.gz', 'MDFlux_0.3.0_linux_x64_glibc_full.tar.gz'}
+ archives = {p.name for p in root.glob('MDFlux_*')}
+ if archives != expected: raise SystemExit(f'archive set mismatch: {archives}')
+ commits = {p.read_text().strip() for p in root.glob('source-commit.txt')}
+ if commits != {os.environ['EXPECTED_COMMIT']}: raise SystemExit(f'commit mismatch: {commits}')
+ if len(list(root.glob('verification-*.json'))) != 4 or len(list(root.glob('verification-*.txt'))) != 4: raise SystemExit('four verification report pairs required')
+ if not os.environ['RELEASE_TAG'].startswith('v'): raise SystemExit('invalid release tag')
+ PY
+ - id: bundle
+ name: Write checksums and release manifest
+ env:
+ EXPECTED_COMMIT: "${{ needs.validate-tag.outputs.commit }}"
+ RELEASE_TAG: "${{ needs.validate-tag.outputs.tag }}"
+ run: |
+ mkdir -p release-assets/manifest
+ find release-assets -maxdepth 1 -type f \( -name 'MDFlux_*' -o -name 'verification-*.json' -o -name 'verification-*.txt' \) -print0 | sort -z | xargs -0 sha256sum > release-assets/manifest/SHA256SUMS
+ EXPECTED_COMMIT="$EXPECTED_COMMIT" RELEASE_TAG="$RELEASE_TAG" python - <<'PY'
+ import json, os
+ from datetime import datetime, timezone
+ from pathlib import Path
+ root = Path('release-assets')
+ archives = sorted(p.name for p in root.glob('MDFlux_*'))
+ manifest = {'schema': 1, 'kind': 'release', 'app_version': '0.3.0', 'commit': os.environ['EXPECTED_COMMIT'], 'tag': os.environ['RELEASE_TAG'], 'built_at_utc': datetime.now(timezone.utc).replace(microsecond=0).isoformat(), 'archives': archives, 'platforms': ['windows-x64', 'linux-x64-glibc'], 'editions': ['lite', 'full']}
+ (root / 'manifest' / 'release-manifest.json').write_text(json.dumps(manifest, indent=2) + '\n', encoding='utf-8')
+ PY
+ cp release-assets/MDFlux_* release-assets/manifest/
+ cp release-assets/verification-*.json release-assets/verification-*.txt release-assets/manifest/
+ echo "name=release-assets" >> "$GITHUB_OUTPUT"
+ - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
+ with:
+ name: release-bundle
+ path: release-assets/manifest
+ if-no-files-found: error
+
+ attest:
+ name: Release / Attest artifacts
+ needs: aggregate
+ runs-on: ubuntu-22.04
+ permissions:
+ contents: read
+ id-token: write
+ attestations: write
+ steps:
+ - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
+ with: { name: release-bundle, path: release-assets }
+ - uses: actions/attest-build-provenance@9d57eef8c06cd9d6b433effeeb7a6a77b3ff94ad
+ with:
+ subject-path: release-assets/MDFlux_*
+
+ publish:
+ name: Release / Create protected draft
+ needs: [validate-tag, aggregate, attest]
+ runs-on: ubuntu-22.04
+ environment: production-release
+ permissions:
+ contents: write
+ steps:
+ - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262
+ with:
+ ref: "${{ needs.validate-tag.outputs.commit }}"
+ fetch-depth: 0
+ - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
+ with: { name: release-bundle, path: release-assets }
+ - name: Revalidate tag, checkout, and manifest before publication
+ env:
+ EXPECTED_COMMIT: "${{ needs.validate-tag.outputs.commit }}"
+ RELEASE_TAG: "${{ needs.validate-tag.outputs.tag }}"
+ run: |
+ test "$(git rev-parse HEAD)" = "$EXPECTED_COMMIT"
+ test "$(git rev-parse "refs/tags/$RELEASE_TAG^{commit}")" = "$EXPECTED_COMMIT"
+ EXPECTED_COMMIT="$EXPECTED_COMMIT" RELEASE_TAG="$RELEASE_TAG" python - <<'PY'
+ import json, os
+ m = json.load(open('release-assets/release-manifest.json', encoding='utf-8'))
+ if m.get('commit') != os.environ['EXPECTED_COMMIT'] or m.get('tag') != os.environ['RELEASE_TAG']: raise SystemExit('manifest does not match protected tag and checkout')
+ if len(m.get('archives', [])) != 4: raise SystemExit('release manifest must contain exactly four archives')
+ PY
+ - name: Create draft GitHub Release
+ uses: softprops/action-gh-release@3bb12739c298aeb8a4eeaf626c5b8d85266b0e65
+ with:
+ tag_name: ${{ needs.validate-tag.outputs.tag }}
+ name: MDFlux ${{ needs.validate-tag.outputs.tag }}
+ draft: true
+ generate_release_notes: true
+ fail_on_unmatched_files: true
+ files: |
+ release-assets/MDFlux_*
+ release-assets/verification-*.json
+ release-assets/verification-*.txt
+ release-assets/SHA256SUMS
+ release-assets/release-manifest.json
diff --git a/.gitignore b/.gitignore
index 0fe4d56..d5e2beb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,7 @@ dist/
# ── Python bytecode ───────────────────────────────────────────────────────
__pycache__/
*.pyc
+.venv*/
# ── Editor / OS ───────────────────────────────────────────────────────────
.vscode/
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0630c94..b298dc4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,32 @@ All notable changes to this project are documented here. The format is based on
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [Unreleased]
+
+## [0.3.0] - 2026-08-23
+
+### Added
+
+- Cross-platform Windows x64 and Linux x64 (glibc) release packaging with Lite and Full editions.
+- Linux platform support, including Ubuntu/glibc baseline guidance and WebKitGTK requirements.
+- Cross-platform documentation covering editions, supported platforms, Ubuntu contributor setup,
+ release archive names, checksums, and artifact verification.
+- Bug report fields for platform, edition, architecture, and runtime status.
+
+### Changed
+
+- Lite now uses transactional, recoverable runtime provisioning; Full bundles an immutable
+ offline-ready runtime and never installs Python packages at runtime.
+- Runtime health, repair, and edition diagnostics now make provisioning state and failures clearer.
+- AI cleanup handling and provider/runtime diagnostics were cleaned up for more predictable runs.
+- README and contributor guidance now describe one shared Windows and Linux product codebase.
+
+### Fixed
+
+- Addressed AI cleanup timeout resilience reported in #25, Linux support reported in #28,
+ and OCR dependency/provisioning failures reported in #30 through the bundled Full runtime
+ and recoverable Lite provisioning.
+
## [0.2.0] - 2026-08-19
### Added
@@ -46,5 +72,6 @@ First public release. Windows, portable (extract-and-run; no installer).
- Dependencies are integrity-verified during the one-time setup, so first run is trustworthy. See
[`SECURITY.md`](SECURITY.md).
+[0.3.0]: https://github.com/ibrahimqureshae/mdflux/releases/tag/v0.3.0
[0.2.0]: https://github.com/ibrahimqureshae/mdflux/releases/tag/v0.2.0
[0.1.0]: https://github.com/ibrahimqureshae/mdflux/releases/tag/v0.1.0
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index c981648..51b3eba 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,28 +1,30 @@
# Contributing to MDFlux
-Thanks for your interest — contributions are very welcome.
+Thanks for your interest—contributions are welcome.
+
+MDFlux is one cross-platform codebase for Windows x64 and Linux x64 (glibc). Read the
+[cross-platform documentation](docs/cross-platform/README.md) for editions, support boundaries,
+release verification, and setup paths before opening a pull request.
## Project layout
-- `app/` — the Tauri 2 desktop app: a Svelte 5 (SvelteKit) front end (`app/src`) and a Rust
- shell (`app/src-tauri/src`).
-- `app/src-tauri/resources/sidecar/` — the Python conversion sidecar (wraps Microsoft's
- MarkItDown, plus cleanup / OCR / audio). Dependencies are hash-pinned in `requirements*.lock`.
-- `scripts/make-portable.ps1` — builds the portable, extract-and-run distributable.
+- `app/` — Tauri 2 desktop app with a Svelte 5 front end and Rust shell.
+- `app/src-tauri/resources/sidecar/` — Python conversion sidecar, including cleanup, OCR, and audio support.
+- `scripts/make-portable.ps1` and `scripts/make-portable-full.ps1` — Windows portable archives.
+- `scripts/make-portable-linux.sh` — Linux x64 portable archive.
-The shell never contains conversion logic; the sidecar never contains UI. The IPC contract is the
-only coupling.
+The shell contains no conversion logic and the sidecar contains no UI. They communicate through the IPC contract.
## Prerequisites
-- [Node.js](https://nodejs.org/) 18+
-- [Rust](https://www.rust-lang.org/tools/install) (stable) + the Tauri prerequisites for your OS
-- Windows + WebView2 runtime (present on current Windows 10/11)
+- [Node.js](https://nodejs.org/) 20+
+- [Rust](https://www.rust-lang.org/tools/install) stable and the Tauri prerequisites for your OS
+- Windows with WebView2, or Linux x64 (glibc) with WebKitGTK 4.1 and GTK 3
-The app downloads its own Python 3.12 environment on first launch — you don't need Python installed
-to run it.
+See [the Ubuntu setup guide](docs/cross-platform/setup-ubuntu.md) for Linux packages. Lite
+provisions Python 3.12 on first launch; Full includes Python in the archive.
-## Run it locally
+## Run and build
```bash
cd app
@@ -30,31 +32,23 @@ npm install
npm run tauri dev
```
-## Build the distributable
-
-```powershell
-pwsh -File scripts/make-portable.ps1
-# -> dist/MDFlux_<version>_portable.zip (portable, no installer)
-```
+Use the portable build scripts above to create local archives. Published names are documented in
+[releases-and-verification.md](docs/cross-platform/releases-and-verification.md).
-MDFlux ships as a portable zip, not an installer (`bundle.active: false` in `tauri.conf.json`).
-
-## Checks before a PR
+## Checks before a pull request
```bash
-cd app && npm run check # svelte-check (0 errors expected)
-cd app/src-tauri && cargo check # Rust
+cd app && npm run check
+cd app/src-tauri && cargo check --locked && cargo test --locked
+cd app/src-tauri/resources/sidecar && python -m unittest discover -s tests -p "test_*.py"
```
-## Pull requests
-
-- Branch from `main`, keep PRs focused, and describe what changed and why.
-- Match the surrounding code's style.
-- By submitting a PR you certify you wrote the change (or have the right to contribute it) under
- the project's **MIT** license. No CLA — a [DCO](https://developercertificate.org/) sign-off
- (`git commit -s`) is appreciated for provenance.
+## Pull requests and issues
-## Reporting issues
+Keep pull requests focused, describe what changed and why, and use platform adapter and packaging
+layers for cross-platform behavior. Contributions are licensed under MIT; a
+[DCO](https://developercertificate.org/) sign-off is appreciated.
-Use the issue templates. For security issues, **do not** open a public issue — see
-[`SECURITY.md`](SECURITY.md).
+Use the [bug report template](.github/ISSUE_TEMPLATE/bug_report.md) and include platform, edition,
+architecture, and Diagnostics runtime status. For security issues, see [`SECURITY.md`](SECURITY.md)
+instead of opening a public issue.
diff --git a/README.md b/README.md
index ccea974..f14283d 100644
--- a/README.md
+++ b/README.md
@@ -10,13 +10,19 @@ Local-first · reads scanned PDFs · up to 6× fewer tokens than vision models
**Works with** PDF · DOCX · PPTX · XLSX · EPUB · HTML · CSV · JSON · XML · TXT · MD · images · audio
[![License: MIT](https://img.shields.io/badge/License-MIT-3b82f6.svg)](LICENSE)
-[![Download v0.2.0](https://img.shields.io/badge/download-v0.2.0-3b82f6)](https://github.com/ibrahimqureshae/mdflux/releases/latest)
+[![Download v0.3.0](https://img.shields.io/badge/download-v0.3.0-3b82f6)](https://github.com/ibrahimqureshae/mdflux/releases/latest)
[![Up to 6x fewer tokens](https://img.shields.io/badge/vs%20vision-up%20to%206%C3%97%20fewer%20tokens-3b82f6)](#the-proof-fewer-tokens-lower-cost)
-[![Platform](https://img.shields.io/badge/platform-Windows-3b82f6.svg)](https://github.com/ibrahimqureshae/mdflux/releases)
+[![Platform](https://img.shields.io/badge/platform-Windows%20%7C%20Linux%20(x64)-3b82f6.svg)](https://github.com/ibrahimqureshae/mdflux/releases)
[![Works offline](https://img.shields.io/badge/works-offline-3fb950)](#)
[![GitHub stars](https://img.shields.io/github/stars/ibrahimqureshae/mdflux?style=flat&label=stars&color=3b82f6)](https://github.com/ibrahimqureshae/mdflux/stargazers)
-[**⬇️ Download for Windows**](https://github.com/ibrahimqureshae/mdflux/releases/latest)
+[![Download for Windows](https://img.shields.io/badge/Download_for_Windows-Lite_x64-2563EB?style=for-the-badge&logo=windows11&logoColor=white)](https://github.com/ibrahimqureshae/mdflux/releases/latest/download/MDFlux_0.3.0_windows_x64_lite.zip)
+&nbsp;&nbsp;
+[![Download for Linux](https://img.shields.io/badge/Download_for_Linux-Lite_x64-F59E0B?style=for-the-badge&logo=linux&logoColor=white)](https://github.com/ibrahimqureshae/mdflux/releases/latest/download/MDFlux_0.3.0_linux_x64_glibc_lite.tar.gz)
+
+[Full / offline-ready downloads](https://github.com/ibrahimqureshae/mdflux/releases/latest)
+&nbsp;&nbsp;·&nbsp;&nbsp;
+[**Cross-platform docs**](docs/cross-platform/README.md)
&nbsp;&nbsp;·&nbsp;&nbsp;
[Website](https://ibrahimqureshae.github.io/mdflux/)
&nbsp;&nbsp;·&nbsp;&nbsp;
@@ -72,7 +78,13 @@ That's the full text recovered in about 5.7 times fewer tokens than the vision m
<div align="center">
-[**⬇️ Download for Windows**](https://github.com/ibrahimqureshae/mdflux/releases/latest)
+[![Download for Windows](https://img.shields.io/badge/Download_for_Windows-Lite_x64-2563EB?style=for-the-badge&logo=windows11&logoColor=white)](https://github.com/ibrahimqureshae/mdflux/releases/latest/download/MDFlux_0.3.0_windows_x64_lite.zip)
+&nbsp;
+[![Download for Linux](https://img.shields.io/badge/Download_for_Linux-Lite_x64-F59E0B?style=for-the-badge&logo=linux&logoColor=white)](https://github.com/ibrahimqureshae/mdflux/releases/latest/download/MDFlux_0.3.0_linux_x64_glibc_lite.tar.gz)
+
+[**Full / offline-ready downloads**](https://github.com/ibrahimqureshae/mdflux/releases/latest)
+&nbsp;·&nbsp;
+[**Editions &amp; platforms**](docs/cross-platform/README.md)
&nbsp;·&nbsp; Free &amp; MIT-licensed &nbsp;·&nbsp; No account, no cloud
</div>
@@ -94,6 +106,17 @@ That's the full text recovered in about 5.7 times fewer tokens than the vision m
---
+## What's new in 0.3.0
+
+- **Cross-platform release matrix:** Windows and Linux x64 (glibc) Lite and Full archives.
+- **Lite and Full editions:** Lite provisions dependencies transactionally on first launch;
+ Full bundles an immutable runtime and never installs packages at runtime.
+- **Runtime reliability:** recoverable provisioning, offline-ready Full operation, and clearer
+ runtime health and repair diagnostics.
+- **AI cleanup:** more predictable cleanup behavior and clearer provider/runtime diagnostics.
+- **Issue fixes:** AI cleanup timeout resilience (#25), Linux support (#28), and OCR
+ dependency/provisioning reliability through Lite recovery and the bundled Full runtime (#30).
+
## What's new in 0.2.0
- **Changes tab:** added and removed lines after cleanup.
@@ -194,11 +217,36 @@ On already-clean files the output is close to identical, because under the hood
---
+## Editions and platforms
+
+MDFlux is **one cross-platform product** with two editions on each supported platform:
+
+| Edition | Download size | Python setup | Best for |
+| --- | --- | --- | --- |
+| **Lite** | Smaller archive | One-time transactional provisioning (internet on first launch) | Most users; smaller download |
+| **Full** | Larger archive | Immutable bundled runtime — no package installs at runtime | Offline / air-gapped use |
+
+Supported platform identifiers: `windows-x64` and `linux-x64-glibc` (x64 only). Speech model
+weights are on demand in **both** editions.
+
+> **Release status:** v0.3.0 introduces verified Windows and Linux x64 Lite and Full archives.
+> Windows v0.2.0 remains available under the legacy Lite-style name
+> `MDFlux_<version>_portable.zip`. Each v0.3.0 archive is verified before the release is
+> published; see [docs/cross-platform/README.md](docs/cross-platform/README.md).
+
+Full details: [editions](docs/cross-platform/editions.md) ·
+[platforms & support](docs/cross-platform/platforms-and-support.md) ·
+[releases & verification](docs/cross-platform/releases-and-verification.md)
+
+---
+
## Getting started
-**Requirements:** Windows 10 or 11 (x64) with the WebView2 runtime, which ships with current Windows. The first launch needs internet to set up a local Python environment; everything after runs offline. macOS is on the [roadmap](#roadmap).
+**Requirements:** Windows 10 or 11 (x64) with WebView2 (ships with current Windows). Linux x64
+(glibc, Ubuntu 22.04+) needs WebKitGTK 4.1 (`libwebkit2gtk-4.1-0`) — including **Full** edition
+builds. macOS is on the [roadmap](#roadmap).
-**1. Download and run.** Get the portable zip from [Releases](https://github.com/ibrahimqureshae/mdflux/releases/latest), extract it anywhere, and double-click `MDFlux.exe`. No installer, no admin rights.
+**1. Download and run.** Get the portable archive from [Releases](https://github.com/ibrahimqureshae/mdflux/releases/latest). On Windows, extract the zip and double-click `MDFlux.exe`. No installer, no admin rights. Linux Lite/Full tarballs with frozen names are **pending** the cross-platform release — see [setup guide](docs/cross-platform/setup-ubuntu.md) for contributor builds.
> **SmartScreen warning?** The build is open source and unsigned. Click "More info" then "Run anyway". You'll need the WebView2 runtime, already on current Windows 10/11.
@@ -214,7 +262,7 @@ On already-clean files the output is close to identical, because under the hood
<img src="docs/media/converting-to-markdown.gif" width="720" alt="Converting a document to clean Markdown"/>
</div>
-To verify your download, check the SHA-256 posted on the [release page](https://github.com/ibrahimqureshae/mdflux/releases/latest).
+To verify your download, check the SHA-256 posted on the [release page](https://github.com/ibrahimqureshae/mdflux/releases/latest). After cross-platform integration, use the [artifact verifier](docs/cross-platform/releases-and-verification.md) for Lite and Full archives.
---
@@ -232,6 +280,8 @@ To verify your download, check the SHA-256 posted on the [release page](https://
**"Windows protected your PC"**: That's SmartScreen reacting to an unsigned build. Click "More info" then "Run anyway". The build is open source; code signing is on the roadmap.
+**Linux says a WebKit library is missing**: Install the runtime WebKitGTK package (on Ubuntu/Lubuntu 24.04: `sudo apt install libwebkit2gtk-4.1-0 libgtk-3-0 xdg-utils`). That is the Linux equivalent of WebView2.
+
**The first launch is downloading for a while**: That's the one-time setup of the local Python environment. It only happens once, and every launch after is instant and offline.
**AI cleanup says the key was rejected (401)**: The key is valid for a *provider*, not for "any API". In Diagnostics, set **Provider** to match the key (DeepSeek, Groq, OpenRouter, …) then Test. A DeepSeek key sent to OpenAI will always 401. Unambiguous prefixes (`sk-ant-`, `gsk_`, `sk-or-`, `AIza`, `xai-`, `pplx-`) switch the provider automatically; OpenAI and DeepSeek both start with `sk-`, so those you pick yourself.
@@ -262,7 +312,7 @@ The full list lives in [ROADMAP.md](ROADMAP.md). Open an issue if you want to sh
## For developers
-MDFlux is a Tauri 2 (Rust) shell around a Python sidecar (MarkItDown + OCR + audio), with a Svelte 5 front end. You'll need Node, Rust (stable), and the Tauri prerequisites for your OS; then clone it, run `npm install`, and `npm run tauri dev`. See [CONTRIBUTING.md](CONTRIBUTING.md) for the full build, run, and test steps, the project layout, and the tech stack.
+MDFlux is a Tauri 2 (Rust) shell around a Python sidecar (MarkItDown + OCR + audio), with a Svelte 5 front end. You'll need Node 20+, Rust (stable), and the Tauri prerequisites for your OS; then clone it, run `npm install`, and `npm run tauri dev`. See [CONTRIBUTING.md](CONTRIBUTING.md) for build steps and [docs/cross-platform/setup-ubuntu.md](docs/cross-platform/setup-ubuntu.md) for Linux. Optional [devenv](docs/cross-platform/setup-devenv.md) setup is planned for contributors who want a pinned shell.
---
diff --git a/ROADMAP.md b/ROADMAP.md
index 362a97f..1f9c48f 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -1,34 +1,34 @@
# MDFlux Roadmap
-This is a living document — directional, not a promise of dates. Issues and PRs are
-welcome on any of these; open one to shape the priority.
+This is a living, directional roadmap rather than a promise of dates. Issues and pull requests
+are welcome; open one to help shape priorities.
-## Now (v0.1.x)
+## Current focus
-- Windows portable build, hardened across 8 engineering stages. ✅ shipped in v0.1.0.
-- Stability + diagnostics polish based on early-user reports.
+- Maintain one shared codebase for Windows x64 and Linux x64 (glibc).
+- Improve stability and diagnostics based on user reports.
+- Keep Lite and Full portable releases reliable and easy to verify.
-## Next
+## Planned
-- **🔌 MCP server** — expose MDFlux conversion as an MCP tool so Claude Code and other
- agents can turn documents into Markdown without leaving the chat.
-- **⌨️ CLI** — a scriptable, headless `mdflux convert` for pipelines and CI.
-- **🍎 macOS build** — separate arm64 and Intel sidecar builds.
-- **🔏 Code signing** — sign the Windows build to remove the SmartScreen warning
- (and notarize the macOS build once it exists).
+- Linux x64 glibc Lite and Full tarballs.
+- Windows Lite and Full portable zips with consistent release metadata.
+- An MCP server and a scriptable, headless `mdflux convert` command.
+- macOS builds for Apple Silicon and Intel.
+- Windows code signing and macOS notarization.
+- An optional reproducible contributor shell using devenv.
-## Later / exploring
+## Exploring
- More OCR languages and tuning presets.
-- Optional structured outputs (front-matter, JSON sidecars) for downstream pipelines.
+- Optional structured outputs such as front matter and JSON sidecars.
- Pluggable cleanup profiles.
-## Out of scope (by design)
+## Out of scope by design
-- Cloud-hosted conversion. MDFlux is local-first; cloud features will only ever be
- clearly-marked, opt-in seams — never a hardcoded dependency.
-
----
+- ARM64 and musl-based first-class releases.
+- AppImage, Flatpak, and native `.deb` packages in the current release line.
+- Cloud-hosted conversion. MDFlux is local-first; any cloud features would be clearly marked and opt-in.
Have an idea? [Open an issue](https://github.com/ibrahimqureshae/mdflux/issues) or start a
-discussion. See [CONTRIBUTING.md](CONTRIBUTING.md) to get a dev build running.
+discussion. See [CONTRIBUTING.md](CONTRIBUTING.md) to get a development build running.
diff --git a/app/package-lock.json b/app/package-lock.json
index de100ae..8bf0c86 100644
--- a/app/package-lock.json
+++ b/app/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "app",
- "version": "0.2.0",
+ "version": "0.3.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "app",
- "version": "0.2.0",
+ "version": "0.3.0",
"license": "MIT",
"dependencies": {
"@fontsource-variable/inter": "^5.2.8",
@@ -15,7 +15,7 @@
"@tauri-apps/plugin-dialog": "^2.7.1",
"@tauri-apps/plugin-fs": "^2.5.1",
"@tauri-apps/plugin-opener": "^2",
- "dompurify": "^3.4.10",
+ "dompurify": "^3.4.14",
"marked": "^18.0.5"
},
"devDependencies": {
@@ -27,6 +27,9 @@
"svelte-check": "^4.0.0",
"typescript": "~5.6.2",
"vite": "^6.0.3"
+ },
+ "engines": {
+ "node": ">=20"
}
},
"node_modules/@esbuild/aix-ppc64": {
@@ -1449,9 +1452,9 @@
"license": "MIT"
},
"node_modules/dompurify": {
- "version": "3.4.10",
- "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.10.tgz",
- "integrity": "sha512-0xzNv0e7oYC6yyuOGZIABPM4qtg3QxLFniDNPP4ZP90wR8Yq3zgwpRbrNiT4N3IKqDbbYFEJLV+JWEs19aZ//w==",
+ "version": "3.4.14",
+ "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.4.14.tgz",
+ "integrity": "sha512-dVoH9z+MY+C9IilgGCk3YfFqjLi3fChm2OiKJMzh6axrJ5qwxqWaZamgmHrpv22CN/KdbZJuGEGgfQoL00LTdg==",
"license": "(MPL-2.0 OR Apache-2.0)",
"optionalDependencies": {
"@types/trusted-types": "^2.0.7"
diff --git a/app/package.json b/app/package.json
index 86921e7..b322ae2 100644
--- a/app/package.json
+++ b/app/package.json
@@ -1,6 +1,6 @@
{
"name": "app",
- "version": "0.2.0",
+ "version": "0.3.0",
"description": "",
"type": "module",
"scripts": {
@@ -9,9 +9,15 @@
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
+ "test:sidecar": "python -m unittest discover -s src-tauri/resources/sidecar/tests -p \"test_*.py\"",
+ "check:rust": "cargo check --locked --manifest-path src-tauri/Cargo.toml",
+ "test:rust": "cargo test --locked --manifest-path src-tauri/Cargo.toml",
"tauri": "tauri"
},
"license": "MIT",
+ "engines": {
+ "node": ">=20"
+ },
"dependencies": {
"@fontsource-variable/inter": "^5.2.8",
"@fontsource/jetbrains-mono": "^5.2.8",
@@ -19,7 +25,7 @@
"@tauri-apps/plugin-dialog": "^2.7.1",
"@tauri-apps/plugin-fs": "^2.5.1",
"@tauri-apps/plugin-opener": "^2",
- "dompurify": "^3.4.10",
+ "dompurify": "^3.4.14",
"marked": "^18.0.5"
},
"devDependencies": {
diff --git a/app/src-tauri/Cargo.lock b/app/src-tauri/Cargo.lock
index aa253ce..c06a04f 100644
--- a/app/src-tauri/Cargo.lock
+++ b/app/src-tauri/Cargo.lock
@@ -60,7 +60,7 @@ checksum = "7f202df86484c868dbad7eaa557ef785d5c66295e41b460ef922eca0723b842c"
[[package]]
name = "app"
-version = "0.2.0"
+version = "0.3.0"
dependencies = [
"flate2",
"reqwest 0.12.28",
diff --git a/app/src-tauri/Cargo.toml b/app/src-tauri/Cargo.toml
index 92ccb52..6e99ed1 100644
--- a/app/src-tauri/Cargo.toml
+++ b/app/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "app"
-version = "0.2.0"
+version = "0.3.0"
description = "MDFlux"
authors = []
edition = "2021"
diff --git a/app/src-tauri/resources/sidecar/capabilities.py b/app/src-tauri/resources/sidecar/capabilities.py
index 4bf0cad..4a68df9 100644
--- a/app/src-tauri/resources/sidecar/capabilities.py
+++ b/app/src-tauri/resources/sidecar/capabilities.py
@@ -12,7 +12,7 @@ from pathlib import Path
SIDECAR_VERSION = "0.6.0"
-# Core formats — provisioned at Stage 0 and always available.
+# Core formats — always available.
# module: None means no extra needed beyond markitdown core.
_CORE_FORMATS: list[dict] = [
{
diff --git a/app/src-tauri/resources/sidecar/cleanup.py b/app/src-tauri/resources/sidecar/cleanup.py
index d391703..bf48f21 100644
--- a/app/src-tauri/resources/sidecar/cleanup.py
+++ b/app/src-tauri/resources/sidecar/cleanup.py
@@ -1,7 +1,7 @@
"""
Markdown cleanup — pure deterministic post-process, plus an optional LLM pass.
-Design (Stage 5):
+Design:
- `clean(markdown, source_format, rules)` is a PURE function: raw Markdown in,
cleaned Markdown out, plus a structured per-rule change summary. No model, no
network, deterministic, fast, fully unit-testable against fixtures.
@@ -20,6 +20,7 @@ The rules target documented MarkItDown PDF pain points:
collapse_blanks — normalise runs of blank lines
detect_headings — conservatively promote heading-like lines to Markdown headings
"""
+import asyncio
import re
import provider as _provider
@@ -75,7 +76,7 @@ _SYSTEM_PROMPT: str = (
class CleanupCancelled(Exception):
- """Raised inside the worker thread when the caller cancels mid-document."""
+ """Raised when cleanup is cancelled between provider requests."""
_CID_RE = re.compile(r"\(cid:\d+\)")
_STRUCTURAL_RE = re.compile(r"^\s*(#{1,6}\s|[-*+]\s|\d+[.)]\s|>|\||```|~~~)")
@@ -120,21 +121,21 @@ def clean(markdown: str, source_format: str, rules: dict) -> tuple[str, dict]:
return text, summary
-def llm_clean(
+async def llm_clean(
text: str,
provider_cfg: dict,
- timeout: float = 120.0,
+ idle_timeout: float = _provider.DEFAULT_IDLE_TIMEOUT_SECS,
progress_cb=None,
- should_cancel=None,
+ cancel_event: asyncio.Event | None = None,
+ activity_cb=None,
) -> str:
"""Run an LLM cleanup pass, CHUNKED so no single request overflows the model's
context window. Reuses provider.py plumbing; raises on failure (caller fails soft).
`provider_cfg`: {mode, api_type, base_url, key, model}.
- `progress_cb(done, total)`: optional, called as each chunk completes (thread-safe
- ints only — it's invoked from the executor thread).
- `should_cancel()`: optional predicate; checked between chunks. Returns truthy to
- stop early (raises CleanupCancelled).
+ `progress_cb(done, total)`: optional, called as each chunk completes.
+ `cancel_event`: optional event checked between chunks and during streamed reads.
+ `activity_cb()`: optional, called whenever the provider yields output text.
"""
mode = provider_cfg.get("mode", "off")
model = (provider_cfg.get("model") or "").strip()
@@ -150,7 +151,9 @@ def llm_clean(
# Resolve the model once, not per chunk.
if not model:
- model = _resolve_model(mode, api_type, base_url, key)
+ model = await asyncio.to_thread(
+ _resolve_model, mode, api_type, base_url, key
+ )
chunks = _split_into_chunks(text, _CHUNK_TARGET_CHARS)
total = len(chunks)
@@ -159,9 +162,18 @@ def llm_clean(
cleaned_parts: list[str] = []
for i, chunk in enumerate(chunks):
- if should_cancel and should_cancel():
+ if cancel_event is not None and cancel_event.is_set():
raise CleanupCancelled()
- out = _clean_one_chunk(chunk, mode, api_type, base_url, key, model, timeout)
+ out = await _clean_one_chunk(
+ chunk, mode, api_type, base_url, key, model, idle_timeout,
+ cancel_event, activity_cb,
+ )
+ if not isinstance(out, str):
+ raise _provider.ProviderMalformedResponse(
+ "The provider returned a non-text cleanup response."
+ )
+ if not out.strip():
+ raise _provider.ProviderEmptyOutput("The model returned no text.")
cleaned_parts.append(out.strip("\n"))
if progress_cb:
progress_cb(i + 1, total)
@@ -214,7 +226,10 @@ def _round_up(n: int, step: int) -> int:
return ((n + step - 1) // step) * step
-def _clean_one_chunk(chunk, mode, api_type, base_url, key, model, timeout) -> str:
+async def _clean_one_chunk(
+ chunk, mode, api_type, base_url, key, model, idle_timeout,
+ cancel_event=None, activity_cb=None,
+) -> str:
"""Send one chunk to the model with a context window / output cap sized to fit it,
so the prompt is never silently truncated."""
system = _SYSTEM_PROMPT
@@ -223,20 +238,29 @@ def _clean_one_chunk(chunk, mode, api_type, base_url, key, model, timeout) -> st
out_budget = int(_est_tokens(chunk) * 1.5) + 256
if mode == "api" and api_type == "anthropic":
- return _provider.chat_anthropic(key, model, system, chunk, timeout,
- max_tokens=min(8192, out_budget))
+ return await _provider.chat_anthropic(
+ key, model, system, chunk, idle_timeout,
+ max_tokens=min(8192, out_budget), cancel_event=cancel_event,
+ activity_cb=activity_cb,
+ )
if mode == "local":
in_tok = _est_tokens(system) + _est_tokens(chunk)
num_ctx = _round_up(in_tok + out_budget + 256, 2048)
num_ctx = max(_NUM_CTX_FLOOR, min(num_ctx, _NUM_CTX_MAX))
- return _provider.chat_local(base_url, model, system, chunk, timeout,
- num_ctx=num_ctx, num_predict=out_budget)
+ return await _provider.chat_local(
+ base_url, model, system, chunk, idle_timeout,
+ num_ctx=num_ctx, num_predict=out_budget, cancel_event=cancel_event,
+ activity_cb=activity_cb,
+ )
# api, openai-compatible (OpenAI, Groq, DeepSeek, …). Floor max_tokens so a
# thinking model cannot spend the entire budget on hidden reasoning.
- return _provider.chat_openai_compat(base_url, key, model, system, chunk, timeout,
- max_tokens=max(4096, out_budget))
+ return await _provider.chat_openai_compat(
+ base_url, key, model, system, chunk, idle_timeout,
+ max_tokens=max(4096, out_budget), cancel_event=cancel_event,
+ activity_cb=activity_cb,
+ )
def _split_into_chunks(text: str, target_chars: int) -> list[str]:
diff --git a/app/src-tauri/resources/sidecar/health.py b/app/src-tauri/resources/sidecar/health.py
index 6823c5d..c0b288e 100644
--- a/app/src-tauri/resources/sidecar/health.py
+++ b/app/src-tauri/resources/sidecar/health.py
@@ -1,7 +1,7 @@
"""Health-check: probes Python version, markitdown core, and each format extra.
The EXTRAS map is derived from capabilities._CORE_FORMATS so the two cannot drift
-(see the Stage 3 review: health had an 'outlook' entry that capabilities didn't).
+(the health check and capabilities map must remain in sync).
"""
import sys
import importlib
diff --git a/app/src-tauri/resources/sidecar/main.py b/app/src-tauri/resources/sidecar/main.py
index 5ed66bb..028b5aa 100644
--- a/app/src-tauri/resources/sidecar/main.py
+++ b/app/src-tauri/resources/sidecar/main.py
@@ -12,12 +12,11 @@ IPC v1 protocol:
Failure: {"v":1, "id":"<str>", "ok":false, "error":{"code","title","detail","suggested_action"}}
Progress: {"v":1, "id":"<conv-id>", "type":"progress", "stage":"<str>", "frac":<float|null>, "heartbeat":<int>}
-Stage 4 change: concurrent convert-one is now supported. Each request gets its
+Concurrent convert-one requests are supported. Each request gets its
own asyncio.Event for cancellation, keyed by request id. "cancel" with no id
cancels all; with an "id" param it cancels one specific conversion.
"""
import asyncio
-import functools
import importlib
import json
import os
@@ -41,10 +40,6 @@ from errors import (
)
TIMEOUT_SECS: int = 120
-# AI cleanup per-chunk timeout. Lowered from 600 to 120 so Cancel doesn't wait up
-# to 10 minutes for an in-flight LLM chunk to finish. The overall deadline still
-# extends on each chunk completion, so a multi-chunk document is fine.
-CLEANUP_LLM_TIMEOUT_SECS: int = 120
OCR_TIMEOUT_SECS: int = 600
AUDIO_TIMEOUT_SECS: int = 600
# Online-only cloud files (OneDrive Files On-Demand) must be downloaded on first read;
@@ -61,6 +56,7 @@ _SIDECAR_DIR: Path = Path(__file__).parent
class Sidecar:
def __init__(self) -> None:
self._write_lock: asyncio.Lock = asyncio.Lock()
+ self._background_tasks: set[asyncio.Task] = set()
# Per-conversion cancel events keyed by request id.
# Populated on convert-one, removed in _convert_safe's finally block.
self._cancel_events: dict[str, asyncio.Event] = {}
@@ -72,6 +68,12 @@ class Sidecar:
# Track active worker subprocesses so we can kill them on shutdown (M11).
self._active_procs: set[asyncio.subprocess.Process] = set()
+ def _spawn(self, coroutine) -> None:
+ """Retain asynchronous requests until completion."""
+ task = asyncio.create_task(coroutine)
+ self._background_tasks.add(task)
+ task.add_done_callback(self._background_tasks.discard)
+
# ── Output ──────────────────────────────────────────────────────────────
async def write(self, obj: dict) -> None:
@@ -99,20 +101,20 @@ class Sidecar:
await self.write({"v": 1, "id": req_id, "ok": True, "result": result})
elif method == "check-provider":
- asyncio.create_task(self._check_provider_safe(req_id, params))
+ self._spawn(self._check_provider_safe(req_id, params))
elif method == "convert-one":
# Concurrent conversions are supported — no BUSY check.
cancel_event = asyncio.Event()
self._cancel_events[req_id] = cancel_event
- asyncio.create_task(self._convert_safe(req_id, params, cancel_event))
+ self._spawn(self._convert_safe(req_id, params, cancel_event))
elif method == "cleanup":
# Deterministic + optional LLM cleanup. Cancellable via the same
# per-id event dict so batch cancel (cancel-all) stops the LLM pass.
cancel_event = asyncio.Event()
self._cancel_events[req_id] = cancel_event
- asyncio.create_task(self._cleanup_safe(req_id, params, cancel_event))
+ self._spawn(self._cleanup_safe(req_id, params, cancel_event))
elif method == "cancel":
target_id = params.get("id")
@@ -263,8 +265,10 @@ class Sidecar:
if required_module:
try:
- importlib.import_module(required_module)
- except ImportError:
+ module_available = importlib.util.find_spec(required_module) is not None
+ except (ImportError, AttributeError, ValueError):
+ module_available = False
+ if not module_available:
e = err(
MISSING_EXTRA, "Required package missing",
f"The '{required_module}' package is not installed.",
@@ -500,7 +504,7 @@ class Sidecar:
finally:
self._active_procs.discard(proc)
- # ── Cleanup (Stage 5) ────────────────────────────────────────────────────
+ # ── Cleanup ──────────────────────────────────────────────────────────────
async def _cleanup_safe(
self, req_id: str, params: dict, cancel_event: asyncio.Event
@@ -550,41 +554,33 @@ class Sidecar:
return
loop = asyncio.get_running_loop()
- # The cleanup runs CHUNKED (see cleanup.llm_clean). progress is a shared dict the
- # worker thread updates as each chunk finishes; should_cancel lets it stop early.
+ # Provider calls stream on this event loop. There is deliberately no overall
+ # generation deadline: the provider layer stops only when the response goes
+ # silent, while cancellation aborts the active HTTP stream immediately.
progress = {"done": 0, "total": 0}
- work = asyncio.ensure_future(loop.run_in_executor(
- None,
- functools.partial(
- _cleanup_mod.llm_clean, markdown, provider_cfg, CLEANUP_LLM_TIMEOUT_SECS,
- progress_cb=lambda d, t: progress.update(done=d, total=t),
- should_cancel=cancel_event.is_set,
- ),
+ work = asyncio.create_task(_cleanup_mod.llm_clean(
+ markdown,
+ provider_cfg,
+ progress_cb=lambda d, t: progress.update(done=d, total=t),
+ cancel_event=cancel_event,
))
- # Liveness: allow up to CLEANUP_LLM_TIMEOUT_SECS PER CHUNK. The deadline is pushed
- # forward whenever a chunk completes, so a long multi-chunk document is fine, but a
- # genuinely stuck chunk still trips it.
- deadline = loop.time() + CLEANUP_LLM_TIMEOUT_SECS + 30
- last_done = 0
try:
- # Poll the worker: check for cancel every 2 s (snappy Cancel button),
- # emit a heartbeat every ~5 s so Rust's idle timeout never trips.
+ # Heartbeats keep the sidecar IPC alive independently of the provider's
+ # token cadence. They do not extend the provider's own inactivity timer.
last_hb = loop.time()
while True:
if cancel_event.is_set():
work.cancel()
+ try:
+ await work
+ except asyncio.CancelledError:
+ pass
await self.write({"v": 1, "id": req_id, **_cancelled_err()})
return
- done, _ = await asyncio.wait({work}, timeout=2.0)
+ done, _ = await asyncio.wait({work}, timeout=1.0)
if work in done:
break
- if progress["done"] != last_done: # a chunk landed → extend the deadline
- last_done = progress["done"]
- deadline = loop.time() + CLEANUP_LLM_TIMEOUT_SECS + 30
- if loop.time() >= deadline:
- work.cancel()
- raise asyncio.TimeoutError()
if loop.time() - last_hb >= 5.0:
frac = (progress["done"] / progress["total"]) if progress["total"] else None
await self._emit_progress(req_id, "ai-cleanup", frac)
@@ -608,12 +604,21 @@ class Sidecar:
except _cleanup_mod.CleanupCancelled:
await self.write({"v": 1, "id": req_id, **_cancelled_err()})
return
- except asyncio.TimeoutError:
- llm_notice = "AI cleanup timed out — kept the original text."
+ except _provider.ProviderIdleTimeout as exc:
+ llm_notice = f"AI cleanup stopped because {exc} Kept the original text."
+ except _provider.ProviderEmptyOutput:
+ llm_notice = "AI cleanup returned no text — kept the original text."
+ except _provider.ProviderMalformedResponse:
+ llm_notice = (
+ "AI cleanup received an invalid provider response — "
+ "kept the original text."
+ )
except Exception as exc: # noqa: BLE001 — fail soft, never lose the result
_key = provider_cfg.get("key", "")
safe_exc = str(exc).replace(_key, "[key]") if _key else str(exc)
- llm_notice = f"AI cleanup unavailable: {safe_exc} — kept the original text."
+ llm_notice = (
+ f"AI cleanup provider failed: {safe_exc} — kept the original text."
+ )
summary = {
"rules": [],
@@ -780,6 +785,10 @@ async def async_main() -> None:
for proc in list(sidecar._active_procs):
await _kill(proc)
sidecar._active_procs.clear()
+ for task in list(sidecar._background_tasks):
+ task.cancel()
+ if sidecar._background_tasks:
+ await asyncio.gather(*sidecar._background_tasks, return_exceptions=True)
def main() -> None:
diff --git a/app/src-tauri/resources/sidecar/provider.py b/app/src-tauri/resources/sidecar/provider.py
index f929e31..236fde4 100644
--- a/app/src-tauri/resources/sidecar/provider.py
+++ b/app/src-tauri/resources/sidecar/provider.py
@@ -5,16 +5,39 @@ Two groups of functions:
- Health checks (`check_*`) — pure blocking, run via run_in_executor. Never send
document content; connectivity + credentials only. Degrade gracefully (return a
dict, never raise).
-- Chat / cleanup invocation (`chat_*`, `first_model_*`) — added in Stage 5 for the
+- Chat / cleanup invocation (`chat_*`, `first_model_*`) — async streaming for the
optional LLM cleanup pass. These DO send document text and DO raise on failure, so
- the caller (cleanup.llm_clean) can fail soft and fall back to deterministic output.
+ the caller (cleanup.llm_clean) can fail soft and keep the original output.
Rule across both groups: never log or mention the API key in any return value.
"""
+import asyncio
import json
import urllib.error
import urllib.request
+import httpx
+
+
+DEFAULT_IDLE_TIMEOUT_SECS: float = 180.0
+DEFAULT_FALLBACK_TIMEOUT_SECS: float = 600.0
+
+
+class ProviderIdleTimeout(RuntimeError):
+ """The provider stopped producing response data for too long."""
+
+
+class ProviderEmptyOutput(RuntimeError):
+ """The provider completed a response without visible assistant text."""
+
+
+class ProviderMalformedResponse(RuntimeError):
+ """The provider response could not be decoded as its advertised protocol."""
+
+
+class _StreamingUnsupported(RuntimeError):
+ """Internal signal used to retry a request without streaming."""
+
def _safe_exc(exc: Exception) -> str:
return f"{type(exc).__name__}: {exc}"
@@ -198,20 +221,9 @@ def check_anthropic(key: str) -> dict:
}
-# ── Chat / cleanup invocation (Stage 5) ─────────────────────────────────────────
+# ── Chat / cleanup invocation ────────────────────────────────────────────────────
# These raise on failure; the caller fails soft.
-def _post_json(url: str, headers: dict, payload: dict, timeout: float) -> dict:
- body = json.dumps(payload).encode()
- req = urllib.request.Request(url, data=body, headers=headers, method="POST")
- try:
- with urllib.request.urlopen(req, timeout=timeout) as r:
- return json.loads(r.read())
- except urllib.error.HTTPError as e:
- if e.code == 401:
- raise RuntimeError(_401_detail(url)) from None
- raise RuntimeError(f"{_host_name(url)} returned HTTP {e.code}") from None
-
def _assistant_text(data: dict) -> str:
"""Pull visible assistant text out of a chat-completions payload.
@@ -220,9 +232,13 @@ def _assistant_text(data: dict) -> str:
empty or null. Callers that need a formatter result must treat that as
failure, not as a blank document.
"""
+ if not isinstance(data, dict):
+ raise ProviderMalformedResponse("The provider returned a malformed response.")
choices = data.get("choices") or []
if not choices:
- raise RuntimeError("The model returned no choices.")
+ raise ProviderMalformedResponse("The provider returned no choices.")
+ if not isinstance(choices[0], dict):
+ raise ProviderMalformedResponse("The provider returned a malformed choice.")
msg = choices[0].get("message") or {}
content = msg.get("content")
if isinstance(content, str) and content.strip():
@@ -236,18 +252,178 @@ def _assistant_text(data: dict) -> str:
if joined.strip():
return joined
finish = choices[0].get("finish_reason")
- raise RuntimeError(
+ raise ProviderEmptyOutput(
"The model returned no text"
+ (f" (finish_reason={finish})" if finish else "")
+ ". Try a non-reasoning chat model, or pick Auto."
)
-def chat_openai_compat(
- base_url: str, key: str, model: str, system: str, user: str, timeout: float,
+def _streaming_rejected(status: int, body: str) -> bool:
+ if status not in (400, 404, 405, 422, 501):
+ return False
+ low = body.lower()
+ return "stream" in low and any(
+ marker in low for marker in (
+ "not support", "unsupported", "not implemented", "not allowed",
+ "unknown field", "unknown parameter", "unrecognized",
+ )
+ )
+
+
+async def _raise_http_error(response: httpx.Response) -> None:
+ if response.is_success:
+ return
+ body = (await response.aread()).decode(errors="replace")
+ if response.status_code == 401:
+ raise RuntimeError(_401_detail(str(response.url)))
+ if _streaming_rejected(response.status_code, body):
+ raise _StreamingUnsupported()
+ raise RuntimeError(
+ f"{_host_name(str(response.url))} returned HTTP {response.status_code}"
+ )
+
+
+def _timeout(idle_timeout: float) -> httpx.Timeout:
+ # The read timeout resets whenever another response chunk arrives. A healthy
+ # generation can run indefinitely; only a silent provider is considered stuck.
+ return httpx.Timeout(
+ timeout=None,
+ connect=10.0,
+ read=idle_timeout,
+ write=30.0,
+ pool=10.0,
+ )
+
+
+def _check_cancelled(cancel_event: asyncio.Event | None) -> None:
+ if cancel_event is not None and cancel_event.is_set():
+ raise asyncio.CancelledError()
+
+
+async def _post_json_async(
+ url: str,
+ headers: dict,
+ payload: dict,
+ timeout: float,
+ cancel_event: asyncio.Event | None,
+) -> dict:
+ _check_cancelled(cancel_event)
+ try:
+ async with httpx.AsyncClient(timeout=_timeout(timeout)) as client:
+ response = await client.post(url, headers=headers, json=payload)
+ await _raise_http_error(response)
+ _check_cancelled(cancel_event)
+ try:
+ data = response.json()
+ except json.JSONDecodeError as exc:
+ raise ProviderMalformedResponse(
+ "The provider returned malformed JSON."
+ ) from exc
+ if not isinstance(data, dict):
+ raise ProviderMalformedResponse(
+ "The provider returned a malformed JSON response."
+ )
+ return data
+ except httpx.ReadTimeout as exc:
+ raise ProviderIdleTimeout(
+ f"The provider sent no response data for {timeout:g} seconds."
+ ) from exc
+
+
+def _openai_delta_text(event: dict) -> str:
+ choices = event.get("choices") or []
+ if not choices:
+ return ""
+ content = (choices[0].get("delta") or {}).get("content")
+ if isinstance(content, str):
+ return content
+ if isinstance(content, list):
+ return "".join(
+ part.get("text", "")
+ for part in content
+ if isinstance(part, dict) and part.get("type") in (None, "text")
+ )
+ return ""
+
+
+def _anthropic_text(data: dict) -> str:
+ """Return visible text from a non-streaming Anthropic response safely."""
+ if not isinstance(data, dict):
+ raise ProviderMalformedResponse("The provider returned a malformed response.")
+ content = data.get("content")
+ if not isinstance(content, list):
+ raise ProviderMalformedResponse("The provider returned malformed content.")
+ return "".join(
+ block.get("text", "")
+ for block in content
+ if isinstance(block, dict) and block.get("type") == "text"
+ )
+
+
+async def _stream_openai(
+ url: str,
+ headers: dict,
+ payload: dict,
+ idle_timeout: float,
+ cancel_event: asyncio.Event | None,
+ activity_cb=None,
+) -> str:
+ pieces: list[str] = []
+ try:
+ async with httpx.AsyncClient(timeout=_timeout(idle_timeout)) as client:
+ async with client.stream("POST", url, headers=headers, json=payload) as response:
+ await _raise_http_error(response)
+ content_type = response.headers.get("content-type", "").lower()
+ if "application/json" in content_type:
+ # Some compatible servers ignore streaming and send an ordinary
+ # JSON response. Accept it without making a duplicate request.
+ try:
+ data = json.loads(await response.aread())
+ except json.JSONDecodeError as exc:
+ raise ProviderMalformedResponse(
+ "The provider returned malformed JSON."
+ ) from exc
+ return _assistant_text(data)
+ malformed_event = False
+ async for line in response.aiter_lines():
+ _check_cancelled(cancel_event)
+ if not line or line.startswith(":"):
+ continue
+ data = line[5:].strip() if line.startswith("data:") else line.strip()
+ if data == "[DONE]":
+ break
+ try:
+ piece = _openai_delta_text(json.loads(data))
+ except json.JSONDecodeError:
+ malformed_event = True
+ continue
+ if piece:
+ pieces.append(piece)
+ if activity_cb:
+ activity_cb()
+ if malformed_event:
+ raise ProviderMalformedResponse(
+ "The provider returned malformed streaming data."
+ )
+ except httpx.ReadTimeout as exc:
+ raise ProviderIdleTimeout(
+ f"The provider sent no response data for {idle_timeout:g} seconds."
+ ) from exc
+ result = "".join(pieces)
+ if not result.strip():
+ raise ProviderEmptyOutput("The model returned no text.")
+ return result
+
+
+async def chat_openai_compat(
+ base_url: str, key: str, model: str, system: str, user: str,
+ idle_timeout: float = DEFAULT_IDLE_TIMEOUT_SECS,
max_tokens: int | None = None,
+ cancel_event: asyncio.Event | None = None,
+ activity_cb=None,
) -> str:
- """POST {base}/chat/completions; return the assistant message content.
+ """Stream {base}/chat/completions and return the assembled assistant text.
`max_tokens` bounds the OUTPUT length. Leave it None to use the server default.
Note: this endpoint cannot set the input context window — for local Ollama that
@@ -265,6 +441,7 @@ def chat_openai_compat(
{"role": "user", "content": user},
],
"temperature": 0,
+ "stream": True,
}
if max_tokens and max_tokens > 0:
payload["max_tokens"] = int(max_tokens)
@@ -273,19 +450,33 @@ def chat_openai_compat(
if "deepseek.com" in base.lower():
payload["thinking"] = {"type": "disabled"}
try:
- data = _post_json(f"{base}/chat/completions", headers, payload, timeout)
+ return await _stream_openai(
+ f"{base}/chat/completions", headers, payload, idle_timeout,
+ cancel_event, activity_cb,
+ )
+ except _StreamingUnsupported:
+ payload["stream"] = False
+ data = await _post_json_async(
+ f"{base}/chat/completions", headers, payload,
+ DEFAULT_FALLBACK_TIMEOUT_SECS, cancel_event,
+ )
+ return _assistant_text(data)
except RuntimeError as exc:
# Older DeepSeek-compatible proxies reject the thinking field.
if payload.pop("thinking", None) is not None and "HTTP 400" in str(exc):
- data = _post_json(f"{base}/chat/completions", headers, payload, timeout)
- else:
- raise
- return _assistant_text(data)
+ return await _stream_openai(
+ f"{base}/chat/completions", headers, payload, idle_timeout,
+ cancel_event, activity_cb,
+ )
+ raise
-def chat_ollama(
- base: str, model: str, system: str, user: str, timeout: float,
+async def chat_ollama(
+ base: str, model: str, system: str, user: str,
+ idle_timeout: float = DEFAULT_IDLE_TIMEOUT_SECS,
num_ctx: int | None = None, num_predict: int | None = None,
+ cancel_event: asyncio.Event | None = None,
+ activity_cb=None,
) -> str:
"""POST {base}/api/chat (Ollama native). Unlike the OpenAI-compat endpoint, this
accepts `num_ctx` — the input context window — so a long prompt is NOT silently
@@ -297,20 +488,61 @@ def chat_ollama(
options["num_predict"] = int(num_predict)
payload = {
"model": model,
- "stream": False,
+ "stream": True,
"messages": [
{"role": "system", "content": system},
{"role": "user", "content": user},
],
"options": options,
}
- data = _post_json(f"{base}/api/chat", {"Content-Type": "application/json"}, payload, timeout)
- return data.get("message", {}).get("content", "")
-
-
-def chat_local(
- base_url: str, model: str, system: str, user: str, timeout: float,
+ pieces: list[str] = []
+ try:
+ async with httpx.AsyncClient(timeout=_timeout(idle_timeout)) as client:
+ async with client.stream(
+ "POST", f"{base}/api/chat",
+ headers={"Content-Type": "application/json"}, json=payload,
+ ) as response:
+ await _raise_http_error(response)
+ malformed_event = False
+ async for line in response.aiter_lines():
+ _check_cancelled(cancel_event)
+ if not line.strip():
+ continue
+ try:
+ event = json.loads(line)
+ except json.JSONDecodeError:
+ malformed_event = True
+ continue
+ if not isinstance(event, dict):
+ malformed_event = True
+ continue
+ piece = (event.get("message") or {}).get("content", "")
+ if piece:
+ pieces.append(piece)
+ if activity_cb:
+ activity_cb()
+ if event.get("done"):
+ break
+ if malformed_event:
+ raise ProviderMalformedResponse(
+ "The provider returned malformed streaming data."
+ )
+ except httpx.ReadTimeout as exc:
+ raise ProviderIdleTimeout(
+ f"The provider sent no response data for {idle_timeout:g} seconds."
+ ) from exc
+ result = "".join(pieces)
+ if not result.strip():
+ raise ProviderEmptyOutput("The model returned no text.")
+ return result
+
+
+async def chat_local(
+ base_url: str, model: str, system: str, user: str,
+ idle_timeout: float = DEFAULT_IDLE_TIMEOUT_SECS,
num_ctx: int | None = None, num_predict: int | None = None,
+ cancel_event: asyncio.Event | None = None,
+ activity_cb=None,
) -> str:
"""Local chat. Prefers Ollama's native /api/chat so we can set `num_ctx` and avoid
silent prompt truncation; falls back to the OpenAI-compatible endpoint (LM Studio,
@@ -321,16 +553,30 @@ def chat_local(
# 404/connection error here, so we fall through to the OpenAI-compat path.
native_exc: Exception | None = None
try:
- out = chat_ollama(base, model, system, user, timeout, num_ctx, num_predict)
+ out = await chat_ollama(
+ base, model, system, user, idle_timeout, num_ctx, num_predict,
+ cancel_event, activity_cb,
+ )
if out:
return out
+ except asyncio.CancelledError:
+ raise
+ except ProviderIdleTimeout:
+ # The native endpoint accepted the request but then stalled. Retrying the
+ # same generation through compatibility routes would duplicate the work.
+ raise
except Exception as exc: # noqa: BLE001 — not Ollama, or transient; try the compat path
native_exc = exc
last: Exception | None = None
out_cap = num_predict if (num_predict and num_predict > 0) else None
for candidate in (f"{base}/v1", base):
try:
- return chat_openai_compat(candidate, "", model, system, user, timeout, out_cap)
+ return await chat_openai_compat(
+ candidate, "", model, system, user, idle_timeout, out_cap,
+ cancel_event, activity_cb,
+ )
+ except asyncio.CancelledError:
+ raise
except Exception as exc: # noqa: BLE001
last = exc
# If both paths failed, prefer the native error (usually more informative:
@@ -338,9 +584,12 @@ def chat_local(
raise native_exc or last or RuntimeError("Local chat failed")
-def chat_anthropic(
- key: str, model: str, system: str, user: str, timeout: float,
+async def chat_anthropic(
+ key: str, model: str, system: str, user: str,
+ idle_timeout: float = DEFAULT_IDLE_TIMEOUT_SECS,
max_tokens: int = 8192,
+ cancel_event: asyncio.Event | None = None,
+ activity_cb=None,
) -> str:
headers = {
"x-api-key": key,
@@ -352,10 +601,74 @@ def chat_anthropic(
"max_tokens": int(max_tokens),
"system": system,
"messages": [{"role": "user", "content": user}],
+ "stream": True,
}
- data = _post_json("https://api.anthropic.com/v1/messages", headers, payload, timeout)
- parts = [b.get("text", "") for b in data.get("content", []) if b.get("type") == "text"]
- return "".join(parts)
+ pieces: list[str] = []
+ try:
+ async with httpx.AsyncClient(timeout=_timeout(idle_timeout)) as client:
+ async with client.stream(
+ "POST", "https://api.anthropic.com/v1/messages",
+ headers=headers, json=payload,
+ ) as response:
+ await _raise_http_error(response)
+ content_type = response.headers.get("content-type", "").lower()
+ if "application/json" in content_type:
+ try:
+ data = json.loads(await response.aread())
+ except json.JSONDecodeError as exc:
+ raise ProviderMalformedResponse(
+ "The provider returned malformed JSON."
+ ) from exc
+ if not isinstance(data, dict):
+ raise ProviderMalformedResponse(
+ "The provider returned a malformed JSON response."
+ )
+ pieces = [_anthropic_text(data)]
+ else:
+ malformed_event = False
+ async for line in response.aiter_lines():
+ _check_cancelled(cancel_event)
+ if not line.startswith("data:"):
+ continue
+ try:
+ event = json.loads(line[5:].strip())
+ except json.JSONDecodeError:
+ malformed_event = True
+ continue
+ if not isinstance(event, dict):
+ malformed_event = True
+ continue
+ delta = event.get("delta") or {}
+ if (
+ event.get("type") == "content_block_delta"
+ and delta.get("type") == "text_delta"
+ ):
+ piece = delta.get("text", "")
+ if piece:
+ pieces.append(piece)
+ if activity_cb:
+ activity_cb()
+ if event.get("type") == "message_stop":
+ break
+ if malformed_event:
+ raise ProviderMalformedResponse(
+ "The provider returned malformed streaming data."
+ )
+ except _StreamingUnsupported:
+ payload["stream"] = False
+ data = await _post_json_async(
+ "https://api.anthropic.com/v1/messages", headers, payload,
+ DEFAULT_FALLBACK_TIMEOUT_SECS, cancel_event,
+ )
+ pieces = [_anthropic_text(data)]
+ except httpx.ReadTimeout as exc:
+ raise ProviderIdleTimeout(
+ f"The provider sent no response data for {idle_timeout:g} seconds."
+ ) from exc
+ result = "".join(pieces)
+ if not result.strip():
+ raise ProviderEmptyOutput("The model returned no text.")
+ return result
def _pick_cleanup_model(models: list[str]) -> str:
diff --git a/app/src-tauri/resources/sidecar/requirements-audio.lock b/app/src-tauri/resources/sidecar/requirements-audio.lock
index b2b6cd8..ec187f5 100644
--- a/app/src-tauri/resources/sidecar/requirements-audio.lock
+++ b/app/src-tauri/resources/sidecar/requirements-audio.lock
@@ -1,295 +1,286 @@
# This file was autogenerated by uv via the following command:
-# uv pip compile requirements-audio.in --generate-hashes --python-version 3.12 -o requirements-audio.lock
-annotated-doc==0.0.4 \
- --hash=sha256:571ac1dc6991c450b25a9c2d84a3705e2ae7a53467b5d111c24fa8baabbed320 \
- --hash=sha256:fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4
- # via typer
-anyio==4.14.0 \
- --hash=sha256:b47c1f9ccf73e67021df785332508f99379c68fa7d0684e8e3492cb1d4b23f89 \
- --hash=sha256:dd9b7a2a9799ed6552fde617b2c5df02b7fdd7d88392fc48101e51bae46164d9
- # via httpx
-av==17.1.0 \
- --hash=sha256:1284addf3c0dd939887a9722dc30df2241a97471ad52c3c507e31583ae22ff02 \
- --hash=sha256:1370b11a697eb3f2555906f8ab3519b0cfe48425d7830a3996ad42e6bffafda5 \
- --hash=sha256:19264c9bb4bee404accc7ce9ec461f2044b7f577a70234d29aafde31ed17de46 \
- --hash=sha256:19c84fd72af5ef81a20f18fbc6f9aedff9e1455e53a7062c1d4c95926d73da4e \
- --hash=sha256:22dff0ae582d10ef08c75c2150a4fd27cfc26653b54930c7c27b9f7b3aa20723 \
- --hash=sha256:3453b06075c7bb973fdb6de52563f7692ff05cbc64c0bb45f4fd6e8709131f2f \
- --hash=sha256:3dcd41e53f53f9a3260751d9c3c11d34e93d70d61e506c81f13dbc1e3606e07b \
- --hash=sha256:43ebbe977f19a7f2d2bd1a4e119675a0b15e05852cf7309846b6ab922ba7ffe9 \
- --hash=sha256:5327807c1219293803ef0c5d1578ff3ae1cf638c09e5998962026e1a554ec240 \
- --hash=sha256:58f7593726437cda5bd19793027e027768450b5c4a594777bf487798a33db702 \
- --hash=sha256:5df5c1172ef1cf65a1529d612f7da7798ce2cf82c1ff7212466b538a6cc7214c \
- --hash=sha256:6a20658ec7d96a70e14b1196eff00b7cdd8831ac3b99868e16b8ba8b24090847 \
- --hash=sha256:6c9b71fe5c0c5a8d303b1588d4d8ce9397d6b023f467cfef95000ba1f75507fa \
- --hash=sha256:7f1e71ff621b66253333926f948e00faae11d855b2442133c65128bca64cdeb3 \
- --hash=sha256:90c49bc9608377d01e82e747377505419a229464873341db18202d5dddecce5a \
- --hash=sha256:9514cfda85180554c430695282faf4be3ffdf95775d8519733821244eecb58e0 \
- --hash=sha256:ad7b4aa011093324b7118245f50ac6db244cfe9900d4072508a5245a2b0d3f41 \
- --hash=sha256:b41647e42884bf543b8e8d0a1dabd4d1b006c99183eb1a2d7afc5b01f73eeff4 \
- --hash=sha256:bbab058bd965309f39962e53caac8126987c68c0be094fc4f9427e5615b0218f \
- --hash=sha256:bff8896454b38fcb785a70e5ae0485d7021cb776303a5849393128a30b8f850b \
- --hash=sha256:cc5a5247622cb77e24c342364eb68f88c1442ddfaab60c1f1f483359d3cc7879 \
- --hash=sha256:e1c90f85cd7431ede95b11e8e711571a896ebea433f298849c2c0f1594c8d86e \
- --hash=sha256:ec630be6321b04e317862f6082e84812bbd801e55a3c2298312e3fc8a0a4af4f \
- --hash=sha256:ee98534242a74da847af78624779ac5a3177dc7c69f956a4da9e6f0fdb37d7f6 \
- --hash=sha256:efe9b1397300b67b644ad220c89df4892a76f2debe70f16bae1749fa20526e63 \
- --hash=sha256:f997e3351bdf51127c07a74e21741a2996e9230cbeb2d81c14acde761b116c9c \
- --hash=sha256:f9a65d1f48b818323fb411e80358f89d77dec340b01d27c6b2dfbb9cbf4b779f \
- --hash=sha256:fa64e1f1500d01c4a98e7a41dc1a9a35fb4dfe71f5de0389264ec1192200c76a \
- --hash=sha256:ff457ed419348e5b8e8c811d341389b052c5e4d5839da3794d019b125b9fe830 \
- --hash=sha256:ffbd78d73d2c9bf31e9a007c992faec3991428b2941a3b085b84fb82e8c32d19
- # via faster-whisper
-certifi==2026.6.17 \
- --hash=sha256:024c88eeec92ca068db80f02b8b07c9cef7b9fe261d1d535abfd5abd6f6af432 \
- --hash=sha256:2227dcbaafe0d2f59279d1762ddddc37783ed4354594f194ffc31d20f41fc3db
+# uv pip compile requirements-audio.in --constraint requirements-full.lock --universal --python-version 3.12 --generate-hashes --only-binary :all: --output-file requirements-audio.lock
+anyio==4.14.2 \
+ --hash=sha256:9f505dda5ac9f0c8309b5e8bd445a8c2bf7246f3ce950121e45ea15bc41d1494 \
+ --hash=sha256:cfa139f3ed1a23ee8f88a145ddb5ac7605b8bbfd8592baacd7ce3d8bb4313c7f
# via
+ # -c requirements-full.lock
+ # httpx
+av==18.1.0 \
+ --hash=sha256:025f84494cb23278498f03b0d8117d3e47a1cbc9c44b97eb31875cf02251e46b \
+ --hash=sha256:08a9ae288299cfcbf739dba4ad0c53b9b71f45184303dd45947920d022fed695 \
+ --hash=sha256:191224788d87af06c31784a395bb73f14b72f33d7f4871ace0157de2abdc6276 \
+ --hash=sha256:3c8b1f8b46f99d52e2d8b0ed5d0cdadf172d24794d46e2077b16e44ed08e26ff \
+ --hash=sha256:47bfc286e1bc9de7ab4681fc2b575cd2460a66919d31ffe1bd5aa54fae531a28 \
+ --hash=sha256:5509ec12aaa19fd6601de13cfa6f4cdad450da07982118510592875d970454d6 \
+ --hash=sha256:5548b79e2bf1f59b3e9aedc918a72d9dc45b9adaac10ff9470d5dbdda0002e47 \
+ --hash=sha256:5cd9085028902c9880622bd37a12fd4b33060f06a52311f6f4867ca9f29a2c3b \
+ --hash=sha256:6fc837cc51adf80331ac850779cd53b5d4c4460b0ebe9057a02a921c6736f19d \
+ --hash=sha256:8a032e8d8ebc73dec079364b9b4a6837638a2d106e8472314e685ffbf163e700 \
+ --hash=sha256:ab5ac081bc9eaf54109120d4e56284674fecfbe520d9aa1707c7fa911ec5f4d2 \
+ --hash=sha256:ae75d8bb6467895ed1f8572ededf7ffa49eac07f6e483222f5d7d62a41d12f04 \
+ --hash=sha256:b30a4e8d934558e19602b68998a4d9ac9f250fa0dacef216f7e8e40153b13316 \
+ --hash=sha256:b36b0bae9e4c62f9487c99481ec15e4e3870fcc868522cd6d18fc2d6bfa04f01 \
+ --hash=sha256:cf8a17466bef07765dbdecc9e66ed9b25d20b4e14f654fbf35345a58ac45fa0c \
+ --hash=sha256:d49a5c542dfdc00f43c6cdb6cc41dac1781ee206fe180b56aa7433dfa816dfae \
+ --hash=sha256:e4d48b9f12cad009cc72fe4f4099107de5e819c95f82767f4fd01a01481c0661 \
+ --hash=sha256:e7ea063f6690193ea335a1d592d6e0274350d45e2ed6af83ee107cb90cbfd84f \
+ --hash=sha256:ea1480b7a8d5405cb5f382b344731bf125fd2c1c6fae3964f6c48595628387ff
+ # via
+ # -c requirements-full.lock
+ # faster-whisper
+certifi==2026.7.22 \
+ --hash=sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775 \
+ --hash=sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55
+ # via
+ # -c requirements-full.lock
# httpcore
# httpx
-click==8.4.1 \
- --hash=sha256:482be17c6991b8c19c5429a1e995d9b0efdbb63172824c41f99965dc0ade8ec2 \
- --hash=sha256:918b5633eddf6b41c32d4f454bf0de810065c74e3f7dbf8ee5452f8be88d3e96
+click==8.4.2 \
+ --hash=sha256:9a6cea6e60b17ebe0a44c5cc636d94f09bd66142c1cd7d8b4cd731c4917a15f6 \
+ --hash=sha256:e6f9f66136c816745b9d65817da91d61d957fb16e02e4dcd0552553c5a197b76
# via
+ # -c requirements-full.lock
# huggingface-hub
- # typer
-colorama==0.4.6 \
+colorama==0.4.6 ; sys_platform == 'win32' \
--hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
--hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
# via
+ # -c requirements-full.lock
# click
# tqdm
-ctranslate2==4.8.0 \
- --hash=sha256:0465bb50ddf143d02d52ea818c25a49ef5c2395c3fff98f6a905e239946cd765 \
- --hash=sha256:06feaafe134aafa8cb2fb1fdb82e36f050bb05929dfde1a95f4fe4d7881dfc76 \
- --hash=sha256:0ccb10af5b7ef4747d5f275e11d809ebf9057c7b1e5241fdbf386b120eaf353d \
- --hash=sha256:0e11893a8235349348a701a7c5adfceb150e1bc66cdec5826f8ac956b26b2565 \
- --hash=sha256:1a758c95aa8f9bdaec476433515a00695b453b1315a0664612fae25b75818d44 \
- --hash=sha256:247efccc2da9a63e8bf22abb4e87789f44ec1454bdcb227b07860cdc826fc89a \
- --hash=sha256:2676854f374e6720600467cbde2ea2ea844fb0b6fb3e8a79795d495a3bdc7469 \
- --hash=sha256:3427639aa036ea3d8e6864598552dc0b32c4017801925b8165638acb937b39cf \
- --hash=sha256:39d36c67554afbed8f8cd8c03bcfb3d3453f02e96b2b6d5a0e7391daec81358d \
- --hash=sha256:3a6a2f0a0768f14863f125675da446641348d9393c480a5bc75e53f44a7502c6 \
- --hash=sha256:402472d283d844579961b8522589401bc2c50f77f1b820783b01c25060260c3c \
- --hash=sha256:54b857eb9d0c09b7bdee844b6675d1bc0d864edb3078ff4f0212096ad0bf86e0 \
- --hash=sha256:59c71320788b88621be143f2795048e9f510ff690c549cffc2827831f85a1a04 \
- --hash=sha256:65e64a5d79de82f302677b7ac07d3a540f893657c33fb0196824db87a17e4900 \
- --hash=sha256:68405a3f88b6ec89c9768c59fded6d212b335d39c67cf0ccf058a906188a282c \
- --hash=sha256:7531ed5148099792ec488f80e21f9bb551fb9fdf335c4b6c3720f11d53f2639c \
- --hash=sha256:83336d60ae04f19a30a90405040efaea1dfa0e1d95c2fe1513e53dade4681c85 \
- --hash=sha256:892898271f7f2c6a3651a7ea4d91f5727f97baed36171e5026456dbf0916030a \
- --hash=sha256:94ec37527dd815531209694854dd5177e763ed51d35b4b2c34da3c3ad2c9b9fd \
- --hash=sha256:9f56f8de6e6e036a306d427b86d86964076b614e2358b923f93fa160139ac6f5 \
- --hash=sha256:aa53859acd61db1e287db57be955885fd271f84348af37dabe2c3dbd0b4425e2 \
- --hash=sha256:b55976b0248d62aacce4e3569b0555ec2861d77b8b334ed03eaf757f51d0492d \
- --hash=sha256:c4791301710d8b6e1078106d4ba34e3a176f4be19f7047de06b6935b15d422bd \
- --hash=sha256:c4c8b9dc6bd8a3e79fa4109fa918e1c563b533e84a1e6c96eda6ff57cfee17f4 \
- --hash=sha256:d99095855b4f7921be85e694e20cce6a834f7d4464335150186efdf6430a3b58 \
- --hash=sha256:ddc359f9b886e0f92bd3061038711285e0003dd69e7f8184cbcd29322a832458 \
- --hash=sha256:e14648a8bed404f27d2fad5c4dbcf6eae5e584cc9641400fa443382057200c8d \
- --hash=sha256:e66b5dc33e94a05dfe0fcdf6ab17dfe6e0335017cc6a315de044214063b1c533 \
- --hash=sha256:e742074822e5b27fa5b991b5ab785e6a8ae5909996023e798448fa7df478dea0 \
- --hash=sha256:edfa0c1b348525d6c2713a53c90c0c50ae7a7bb2e4d59d8a59150aadba818991 \
- --hash=sha256:f0b93d127a4efb6481e3d0da4c3a6ac9889a8e9d8b50f9930bc5b2401fe5e598 \
- --hash=sha256:f25566e056d1fa9da47d6e374b2d04d6a6dfa0b631e52687a0bc4101633ecb53 \
- --hash=sha256:f6ab3fa77a0a4259deaf7f23979c9182974d45857873211d417fdf364a55cac5 \
- --hash=sha256:fa343dd9685309fbbdc5f22b8f2492361ec8ab3c0a676a0dfaa458089d1ae325 \
- --hash=sha256:fcc1ac1d73345f5b87a78de3915a50be5c005402248d0fda0eaafc24837a5ca8
- # via faster-whisper
+ctranslate2==4.8.1 \
+ --hash=sha256:0030670278a73cae09dff9bca72cdd248af61f9367257f18db9b3b94fbb3a50d \
+ --hash=sha256:079976cbce3a68de04bf9948d08c96beb86df44e5cd2974e4187bc9c9bb388f3 \
+ --hash=sha256:12dbb5b756d0614d3943aa27b36da242ce173e9d21d90c7ec59592654f56105c \
+ --hash=sha256:1910752ec541980644191fa3b407bc61dee00e88070b0aed29b4cef75010b3ea \
+ --hash=sha256:2665cee79ba69a5f5f9a71b7821988f032ff13feab23fb2390b7b0399bf2a11e \
+ --hash=sha256:4242a7f8e285f922525f4cffd5b1fb43cbacc61d0611cf54832e9c447d030840 \
+ --hash=sha256:449ab612cdbc8615776b36bfa88fc1daa2d8d17e32a938bffac4743a79f80cba \
+ --hash=sha256:49f96e861b57301f0b76a082109bde2cac8204a6b4fedc870883008271e82251 \
+ --hash=sha256:4c2db633a06e3b34bbfb72fd26eee58053d9df1f9c1610ac4df3a6a1e25af7d7 \
+ --hash=sha256:5ca144b93035b9f53e6d67b7cdf5802c3fffca9aa0247940eecbd4592c68ce2f \
+ --hash=sha256:6a9e750fc9df4682d580891ef2b53c05f16c8da2c2b4baaa78fe8267d1dbfcfa \
+ --hash=sha256:71bd3bda759726f84869bb7d1e196daf6499f0f530395fc07b6deb89fb3d908e \
+ --hash=sha256:74bae0a8dc9f98c5a6100bf1c17a91782b384ea53b83e2606030ebf9f25318fe \
+ --hash=sha256:7a28c5889585cd17ee3649dfd46d9002ddf50204173f8bff476b9f76d6585795 \
+ --hash=sha256:82982f07a7d615d2248d17d6ec4c43cd50e534b094aa27cda62125a5e3a6e3fc \
+ --hash=sha256:82e0e6eb7d4301fd79a714495c8faf34242e09542cef04c9e9794c3fe90014a1 \
+ --hash=sha256:84723cae6f802551bbf2438e5e4810722631a2183b89a82c31df26566b54821d \
+ --hash=sha256:85ef15ce0b2172ec471975b8a30d5c5bc71e7cffcd163ad6c07ea32f1943d940 \
+ --hash=sha256:911a5cdef8a405c1804330613a1865f616eb9c092a0e932ee4648128eb20b627 \
+ --hash=sha256:9de0dddd91ae68da0a7323441e90708d14b31d31cd443004dda0e1198b5bf11e \
+ --hash=sha256:a2dcce0a57beee984a691d9daa8fc3fd389f5b6cada2644c34571011833bd5b1 \
+ --hash=sha256:aa0e71c5f1b509f8c972e2b80fa2ef2cef7fcf3344135fd4eb997b9fd5ff5577 \
+ --hash=sha256:ae3e18ee44c6ead07d86174ecb911a8445c0a531e6c40073a1a4ff6d672961cf \
+ --hash=sha256:b4c3246aa4a7f309109a841ca743a72cc4abad4f93c0bf7da691023323215621 \
+ --hash=sha256:ba628835e6ad4ad399261ab6cb51bf152de563e6b122a9e8eb0c61e69f925931 \
+ --hash=sha256:c0a584c17f21779eb9035bcbc1ec280998f90b36725b70a5ff911f33e343199a \
+ --hash=sha256:c90eb0bd67b6bb183712cc3fd14bf01ec4f622cd625c5b33cc6c56be7d1c9c34 \
+ --hash=sha256:c989f747789e8619cbc2e06443b3674c31bc71bad0369652485bd894b627360a \
+ --hash=sha256:d52499f05a60a791aeadee28d609efa130142f376d1ea76b2b1c593bb01f8827 \
+ --hash=sha256:d5fe13a18dfecb9d5a23d2d5cfa0f21db37aff18c46a2b1fe16495a11f1799b3 \
+ --hash=sha256:dacc408f716ebc73b3b3c6ddd937700e776c4c68b6d9c81862990150ff0f6af6 \
+ --hash=sha256:dc9f1abef55579cc02cdc74b3a55df38491ec56d177d6e6039609d61d09ed30e \
+ --hash=sha256:e3e3aef4670a6c8dcea367401675f82b49b02c18f5837221bcd7cca90b1707a8 \
+ --hash=sha256:e42ce3affb03ffc661e8f35d6e7845f16e6463884b9ba7857396d649520da819 \
+ --hash=sha256:f3172c29470c1280ebb9f4a53aa4a913650e091f95740c732cd13b4b910c734d
+ # via
+ # -c requirements-full.lock
+ # faster-whisper
faster-whisper==1.2.1 \
--hash=sha256:79a66ad50688c0b794dd501dc340a736992a6342f7f95e5811be60b5224a26a7
- # via -r requirements-audio.in
-filelock==3.29.4 \
- --hash=sha256:10cdb3656fc44541cdf30652a93fb10ec6b05325620eb316bd26893e4201538a \
- --hash=sha256:dac1648087d5115554850d113e7dd8c83ab2d38e3435dde2d4f163847e57b767
- # via huggingface-hub
+ # via
+ # -c requirements-full.lock
+ # -r requirements-audio.in
+filelock==3.32.3 \
+ --hash=sha256:0ffa185a3540854c95caa7fa76b76cb219d907415e2c5dc9af25fd970563487f \
+ --hash=sha256:7f0ca4bcc0e181c60dbbd8aa9ab5b120ebb99e4e064e83636340056f833a1f09
+ # via
+ # -c requirements-full.lock
+ # huggingface-hub
flatbuffers==25.12.19 \
--hash=sha256:7634f50c427838bb021c2d66a3d1168e9d199b0607e6329399f04846d42e20b4
- # via onnxruntime
-fsspec==2026.6.0 \
- --hash=sha256:02e0b71817df9b2169dc30a16832045764def1191b43dcff5bb85bdee212d2a1 \
- --hash=sha256:f5bac145310fe30e16e1471bd6840b2d990d609e872251d7e674241822abf01a
- # via huggingface-hub
+ # via
+ # -c requirements-full.lock
+ # onnxruntime
+fsspec==2026.7.0 \
+ --hash=sha256:b57ddbafedfaef7018c1ecab32aa200a9d7ca26b77965f64e48b70061249d279 \
+ --hash=sha256:c803c40f4cf860b49dea58ee3e1c33cb9c790520e233537e1340049f89b82a88
+ # via
+ # -c requirements-full.lock
+ # huggingface-hub
h11==0.16.0 \
--hash=sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1 \
--hash=sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86
- # via httpcore
-hf-xet==1.5.1 \
- --hash=sha256:0c97106032ef70467b4f6bc2d0ccc266d7613ee076afc56516c502f87ce1c4a6 \
- --hash=sha256:3474760d10e3bb6f92ff3f024fcb00c0b3e4001e9b035c7483e49a5dd17aa70f \
- --hash=sha256:4f561cbbb92f80960772059864b7fb07eae879adde1b2e781ec6f86f6ac26c59 \
- --hash=sha256:51ef4500dab3764b41135ee1381a4b62ce56fc54d4c92b719b59e597d6df5bf6 \
- --hash=sha256:6071d5ccb4d8d2cbd5fea5cc798da4f0ba3f44e25369591c4e89a4987050e61d \
- --hash=sha256:6208adb15d192b90e4c2ad2a27ed864359b2cb0f2494eb6d7c7f3699ac02e2bf \
- --hash=sha256:6762d89b9e3267dfd502b29b2a327b4525f33b17e7b509a78d94e2151a30ce30 \
- --hash=sha256:6abd35c3221eff63836618ddfb954dcf84798603f71d8e33e3ed7b04acfdbe6e \
- --hash=sha256:6f7a04a8ad962422e225bc49fbbac99dc1806764b1f3e54dbd154bffa7593947 \
- --hash=sha256:8298485c1e36e7e67cbd01eeb1376619b7af43d4f1ec245caae306f890a8a32d \
- --hash=sha256:892e3a3a3aecc12aded8b93cf4f9cd059282c7de0732f7d55026f3abdf474350 \
- --hash=sha256:93d090b57b211133f6c0dab0205ef5cb6d89162979ba75a74845045cc3063b8e \
- --hash=sha256:94e761bbd266bf4c03cee73753916062665ce8365aa40ed321f45afcb934b41e \
- --hash=sha256:97f212a88d14bbf573619a74b7fecb238de77d08fc702e54dec6f78276ca3283 \
- --hash=sha256:a93df2039190502835b1db8cd7e178b0b7b889fe9ab51299d5ced26e0dd879a4 \
- --hash=sha256:bf67e6ed10260cef62e852789dc91ebb03f382d5bdc4b1dbeb64763ea275e7d6 \
- --hash=sha256:c6b6cd08ca095058780b50b8ce4d6cbf6787bcf27841705d58a9d32246e3e47a \
- --hash=sha256:d48199c2bf4f8df0adc55d31d1368b6ec0e4d4f45bc86b08038089c23db0bed8 \
- --hash=sha256:dbf48c0d02cf0b2e568944330c60d9120c272dabe013bd892d48e25bc6797577 \
- --hash=sha256:e1af0de8ca6f190d4294a28b88023db64a1e2d1d719cab044baf75bec569e7a9 \
- --hash=sha256:e78e4e5192ad2b674c2e1160b651cb9134db974f8ae1835bdfbfb0166b894a43 \
- --hash=sha256:e7dbb40617410f432182d918e37c12303fe6700fd6aa6c5964e30a535a4461d6 \
- --hash=sha256:f4ad3ebd4c32dd2b27099d69dc7b2df821e30767e46fb6ee6a0713778243b8ff \
- --hash=sha256:f61e3665892a6c8c5e765395838b8ddf36185da835253d4bc4509a81e49fb342 \
- --hash=sha256:f7b3002f95d1c13e24bcb4537baa8f0eb3838957067c91bb4959bc004a6435f5
- # via huggingface-hub
+ # via
+ # -c requirements-full.lock
+ # httpcore
+hf-xet==1.6.0 ; platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64' \
+ --hash=sha256:0e6e21fa3cdfcdcd76748564bf593870a5e013f47d97cf10aed63aa222cff5b7 \
+ --hash=sha256:23379c2f9ec8696d952b16414a2bae72cad86a52df869b050698ba60f538c675 \
+ --hash=sha256:2e58454a340b3556dfa4972d5451aff4fba8dd42a236600ba1a1d2b1514f0fef \
+ --hash=sha256:35cec30d75c6f9eb9c16a77cef68e85a103b72e24d4b473714ec9ff06428bab9 \
+ --hash=sha256:3dc3e35441ba395006af5aaacc40ef2e603c51ef46c3530b9156185f00935ea3 \
+ --hash=sha256:4fc74352a17015bd0ee90038bc9efe38db894cde45f268b6712b04fce8cd0acb \
+ --hash=sha256:5153e6bb103ad49d6ea9f1b2e230db5a2ea32551ad09a706d2f61d7c7c80d80e \
+ --hash=sha256:5789835d7c6bc9436962853192082374297fb72d7eff7e7762ec25ceb7e25338 \
+ --hash=sha256:633dc0cd71d32da58ab8c03ad38e2fac452c15c2b0a2866ebf6ededfe0a5061d \
+ --hash=sha256:70cbb9c896901600128cb9b6f06e132954fbede1db30f31f7c6c63f84cb7c31d \
+ --hash=sha256:75765820ce4700db3750c94acc8fe27c5fae4c9ec000a0dbac3ca082acf97765 \
+ --hash=sha256:8fb4f71cba6129110c3374a33f919001ff130488fc23553698e34cc1c2a1198c \
+ --hash=sha256:948f15d3a9545cfe5932f6bd8b440f6ae630aee108f14b7bd6c561f7c2dcc522 \
+ --hash=sha256:d62671bb130879cef0ee4c9ebe47a14af6c66ec53e6d84dc15936e5ffdfac82f \
+ --hash=sha256:f0906082d9932ae0c0057fa194041c22b4e2cdb46b2592ef3b91f020d62a081a \
+ --hash=sha256:f2f7278c05c22fd60cb436cda1269649b3e81db65ecdc8496e5e164aa4143e7b \
+ --hash=sha256:fb4fadde1b2b70bf4c0c14a6dccbe7194b1c28947fefd5bbe3fed9d940676c3b
+ # via
+ # -c requirements-full.lock
+ # huggingface-hub
httpcore==1.0.9 \
--hash=sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55 \
--hash=sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8
- # via httpx
+ # via
+ # -c requirements-full.lock
+ # httpx
httpx==0.28.1 \
--hash=sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc \
--hash=sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad
- # via huggingface-hub
-huggingface-hub==1.20.1 \
- --hash=sha256:274448a45c1ba6f112fe2fb168ead05574c654faa156904157a84085cfae14bd \
- --hash=sha256:9f6d63bfbeab2d2a8357200a9bc4f18cd2c8bfac9579f792f5922e77bf6471d0
# via
+ # -c requirements-full.lock
+ # huggingface-hub
+huggingface-hub==1.28.0 \
+ --hash=sha256:46a2e950c09234de54093d587d1675382f0d08dbd600d9fb599b5932f5b2c6cb \
+ --hash=sha256:58a8bacb03072edfc38067065e9dc24bbb34805410fcd36a1632de0b329660bb
+ # via
+ # -c requirements-full.lock
# faster-whisper
# tokenizers
-idna==3.18 \
- --hash=sha256:7f952cbe720b688055e3f87de14f5c3e5fdaa8bc3928985c4077ca689de849a2 \
- --hash=sha256:ffb385a7e039654cef1ab9ef32c6fafe283c0c0467bba1d9029738ce4a14a848
+idna==3.19 \
+ --hash=sha256:5e0811a4383b21dc5838069f801c4fb62113b7447663d2530d2bd6e77b49bf15 \
+ --hash=sha256:815e7be7a7806d54abb586dc943addc79e8b2ee16915059658cbeff4b1b43bf4
# via
+ # -c requirements-full.lock
# anyio
# httpx
-markdown-it-py==4.2.0 \
- --hash=sha256:04a21681d6fbb623de53f6f364d352309d4094dd4194040a10fd51833e418d49 \
- --hash=sha256:9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a
- # via rich
-mdurl==0.1.2 \
- --hash=sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8 \
- --hash=sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba
- # via markdown-it-py
-numpy==2.4.6 \
- --hash=sha256:001fbb8e08d942dd57599e781f2472269ee7f2755fae407b4f67b2f0b17da3f1 \
- --hash=sha256:0280e0356c0829a18d9de1cb7eee50ec22ca639878d7240307ca0943d73cd2c4 \
- --hash=sha256:043191bfa8eab18c776647b62723ac9dddece59743b13f49b2016094129c2b3f \
- --hash=sha256:06ca2f61ec4385a07a6977c55ba998a4466c123642b4a32694d3128fce18c079 \
- --hash=sha256:0a041d3d761dc3c35cc56ce0351506a02bcbc25f7b169f652435141a17db9096 \
- --hash=sha256:0ab0a9c4ffb1a6d95ef519fe4247dba8eb6b18ad93999f76b7f657039acabd47 \
- --hash=sha256:0c9136e14ed34a9e343a31c533d78a9813a69a3148332bce5e9821cb2f996e66 \
- --hash=sha256:110f8b71aacb688ec69062bb7f6938a0f8acb01b7c1c4beb453c65b6d234584d \
- --hash=sha256:112b06a867b235ef466ed3508ddf0238050df9c727cafb5301ac385b899189a1 \
- --hash=sha256:17f9ade344e7d9b464a084d69bcf18fc691cb1db67c62ed80820bf4926d78f0e \
- --hash=sha256:1e254a00cdf42b1e4d5b3d68d33af63268d41340d8885df2ab6470f2e1500147 \
- --hash=sha256:1e978ec1e8bd0e0e4de6bb75de9d30cbb74db6b6a2bb727618613703ca0167dd \
- --hash=sha256:25c692919ac5a01f170a3bfcd62d745b24fd095c353d50812637d6fcab442e75 \
- --hash=sha256:260a5d70215b61ab4fadf5c7baacd64821842975eea312125ed3c39a6391b063 \
- --hash=sha256:2803abfebfc990042cd494d8ce2d5f82e9d847af6d35ec486923aa19dbad5e73 \
- --hash=sha256:29a287e0cf63ff528da061de6b9f64a4618da591ca1046aafc54062e40ca7eab \
- --hash=sha256:29cb7f67d10b479ff07c17d33e39f78c07f71c40ef30d63c153d340e96cd3fb4 \
- --hash=sha256:3213d622a0283a39a93d188f3cf72b26862df52fbb4ca3697f51705016523d41 \
- --hash=sha256:33111801a01c12a8a1e3721f0a9232f8cfc8ae2c6b7098167e6f623c6073f402 \
- --hash=sha256:357cc07a6d7b0b182ff02249616a03742827ebb1277546b5c7cd7f7620a45698 \
- --hash=sha256:38efbc8de75c7a0fc1ac190162d892787f3f47b57cc291231aafee36b80982b7 \
- --hash=sha256:4081eb135ac24158bd51cdfbef16f1c64df7063b1143f24731387137c092bec8 \
- --hash=sha256:40fdc1ae7125e518ea98e53e69a4ebc27e1fd50510c47b7ea130cf21e5e1d42b \
- --hash=sha256:4cfe66903cc32a9921a6733d96b19bb6abf310397581bbad89c228f5abaf0ee8 \
- --hash=sha256:511dbaf848decaaaf4b4ca48032619fb3138710c4bf7da7617765edad1ef96b0 \
- --hash=sha256:55cced7c52e981362f708ad635198e97a752dfba412cc03c23bbf3bd8d5cd662 \
- --hash=sha256:56b39e5e0622a09a25bf5baf62f4bcf0cb8a41ae6e2819cf49bbc5a74c083f91 \
- --hash=sha256:5dbbdb29840ca3d91ee0fece42fc29278886d908280bfec0a5846c6f901a3eb0 \
- --hash=sha256:5f9fb9157b4ce2971008323afe46053787b526ef624fea915b261468a8421a0f \
- --hash=sha256:6180d8b35af935aed8ece3a85e0a43f87393ae0ac87c8d2c8bd2c993f7270ef3 \
- --hash=sha256:68a5124b13fa6cc2086764a20005d30bc0548146f7f5322f02fce212ca14317f \
- --hash=sha256:68bb27509ac1b9a3443094260f6326150663b06abe40b73a2f81160623da5b67 \
- --hash=sha256:6f41ae150c4e32db4f3310cdaf64b1593a03dbabe29eec77fc9b50fe64061df6 \
- --hash=sha256:7265a2f3d436e54ef9f2b52b5c937e6be778781bd97a590319d7348f1c1ca997 \
- --hash=sha256:72fbe16c6fac95aedf5937fa873445cec2110be35d8a4e9433d7501fd98dae6b \
- --hash=sha256:7d92c3819208a60205a12a245c91ad70cb0a85336659b19b834205573ac8456e \
- --hash=sha256:8155154c7c691289fe18f510b5d4657c68c67989f293f0535a91360392ff6538 \
- --hash=sha256:81a1cca95ed5bb92aa8b10dd2cdc9a0d3853a50fad926c28b5d7e8ea54389627 \
- --hash=sha256:89cd468399cfd2504718f0ba50e410dca55a170b61a02ad92bb18c8a65186e93 \
- --hash=sha256:8ad03c0965fb3c692200e74d458ca28c1dbb4ce96f9a479a8aa041ad5fabca02 \
- --hash=sha256:90f9849678c75fe7afa2d348ac842c168b0a4d3d61919687216dfc547976d853 \
- --hash=sha256:948424b06129ce883307e8cff868c31396d8dc7630a59c61d70d98dbe70f222c \
- --hash=sha256:9cd5ffd25db4e7ba6a375693b3fc0fc1791ec636c17db3720da19bde7180ec43 \
- --hash=sha256:a0df0043bdb289bde1f62da130d20df23d58b45429f752bc7a8fc5325a225ecd \
- --hash=sha256:a2c306dea656c12c68f51f4cea133cbe78ca7435eb28c735eac1d3ebe73be6e8 \
- --hash=sha256:a7830bab239b79cda9c08c2da014761cafb48da6150e1da17ac06283f43b6089 \
- --hash=sha256:a7c711e21628b52034bb5ab8d1bce291f752fcc5e92accc615778acee1ff4778 \
- --hash=sha256:aaf159caa35993cb1f56fb9b8e4610d35758e7ca005412eb1daa856a78c9c4b1 \
- --hash=sha256:ae506e6902902557576a26ff33eda8695e7ecb3cb36c3b573a0765dee114ebdb \
- --hash=sha256:b507f5c4c1d508876d1819b6bf9a49d365b96320b5d4993426b33a23ca4b8261 \
- --hash=sha256:bf162abab1c1a736333192707cef898e735a5ca00f38f27eeedf44b39d9e85eb \
- --hash=sha256:c1a2af6c6ef86344a6b0db6b97834208bf598db514f2b155042439b62605601a \
- --hash=sha256:c2d37ab77531417474168eb79d6d80b14f821a966818505d03013d0833edb7a8 \
- --hash=sha256:c4fc99836233ea196540b17ab0983aff60ed07941751930f5f4d05bc3b3b7359 \
- --hash=sha256:d581b735e177fdcdce6fed8e7e8880a3fb6ee4e3653a3ac6af01c6f4c03effc5 \
- --hash=sha256:d6da64deb6b8ed903e7560180a92f2d804ee1ba5eeb849ac2748b8c1aba1f6d7 \
- --hash=sha256:d8e8286dd7cea7895157318d1b91cdacac64c479f3cbc8dce548331728484751 \
- --hash=sha256:ddea102b48f9e339f3948bf22040944184627a30fdf7f858667673b9c5f033c8 \
- --hash=sha256:dfa20cc6ca228e6b155b11da03825975ce66aea520985dbbddf0f2a5a495c605 \
- --hash=sha256:e3e5193ef5a3dc73bceee50f7fdc2c90dbb76c42df8d8fae3d1067a583df579e \
- --hash=sha256:e3eeb0aabd6bd5ce64faae67e9935203a6991b4bc2a485a767fbafb2c5125f45 \
- --hash=sha256:e5805d5a22fd19c8ccff10a9561f9df94436b0545619ea579db2d3c35294bce2 \
- --hash=sha256:e85b752a1e912b70eaad4fafbd4d1238007ab221de2009b9a2f5ae7461239895 \
- --hash=sha256:eaf7fa2de5c0be8ae6ff8e9bea2ccd725e980541244521d8d4b5f3354a27babe \
- --hash=sha256:ebfb099f8dcf083deef3ac1ca4c1503f387cf76296fcb3816b66f5ecb5f54fdb \
- --hash=sha256:ece3d2cfe132e7d51f44a832b303895e6f2d499c5e74dfbdb06ee246147a304a \
- --hash=sha256:ed9749eef4cbd126da3dc1d6bcb3a57f5eb7ac6a6484146bdbf743f552dfc577 \
- --hash=sha256:ede83e07a75dd06bc501566c1eca2afc0d61677c1472ac9ad93fdee6e638a48d \
- --hash=sha256:ef4aea96ce4d3b074422cb4f2f64e216bf9e213004bb58ecfdf50ea02ea8eb9a \
- --hash=sha256:f3a3570c4a2a16746ac2c31a7c7c7b0c186b95ce902e33db6f28094ed7387dda \
- --hash=sha256:f407cb6b8e9d6d8c626bc73c945db1706035af8fd632295547bf1c9e46d092d6 \
- --hash=sha256:f74a575920ab21fe304421a3fc28793d82e299cae9eccb37084e9fc7f3617c20
+numpy==2.5.2 \
+ --hash=sha256:0090ccdd57ec2703e9b49d0bf554767370581c1dd0a6b2bb2b2d9def317d042a \
+ --hash=sha256:078f9b027b478c9379b9677babbf0f8b8f1ecfada27636d7b9a93990c638739f \
+ --hash=sha256:07d4e89f3a9ab0a9ba24264ccdb642b3dd951b2281e8883a5481a4aa79cc31a7 \
+ --hash=sha256:0a4035ae1129ff8777f08bfbd44f1e5d8e9c049ce0c2dd78fc0d92c13e7251c0 \
+ --hash=sha256:0aadf13b60048d501e05fa699efaf7734e2494f3498a4c2a5521d822640324f3 \
+ --hash=sha256:14e373cfc6387177e8409dac3c7159be8eb05cd77096cd7c950268b86f62831c \
+ --hash=sha256:1ab3d4a901f844ea836c3e80bf463c6a27d7f3c14e8e292fcf28d348b25b9bce \
+ --hash=sha256:24b9dc2e3d84aa58523798805194e23e736f3f6ce2d1a5b92583ae734e6dbda8 \
+ --hash=sha256:27650bb0e7140fa3d37b9923b4803645e0b125d190f326eecfd3f4dad8e8ade1 \
+ --hash=sha256:28ac63476ec7651484215ee7fa15a1f78b57c14621f01e392afe17b9a1390ce4 \
+ --hash=sha256:29b86ff8a6cc556b47ec6b64b194815cc80e6bf5eedcc6cddfd65318cb0b4eee \
+ --hash=sha256:29d81e97f668489cba8ebfd796b9bdd453525d35dd9e162e2daec94bf3fc7740 \
+ --hash=sha256:2cc779226e476d1e1f08c74068c419e60f41a9e0e069c92f6671d31d5c985e98 \
+ --hash=sha256:2ffa7bacab3e2ee1b19ed31766bb60bb380b68c23f051e199c5cc598afd68710 \
+ --hash=sha256:318b9a4c845dbea06708a29c84ee429cc3065048db34cdb799047643492050ee \
+ --hash=sha256:34c319e2963be042673fb46570501b2f06c41924e17e3563d58646b4380dfb68 \
+ --hash=sha256:3a2f061cebd9e3d23bdcfaaded5e2293a4c6a5b60fa42df85d410a725ce621bf \
+ --hash=sha256:3cdec01fa790a186d430433fdd4d4ffb70eed6f0eeb4bf05c8dbe2dce0a9bcb8 \
+ --hash=sha256:3e4c367352d3747784248a227fbec218e193b56f7e6692e3b64fc805478ecfdf \
+ --hash=sha256:40f4d451aed46a8046a1aae41c4e55fb3612273df9c502480135e1501576a34b \
+ --hash=sha256:44ef9675d908e65f9953063837c3277730f3f4437615a4cdab67b366cabaf884 \
+ --hash=sha256:4bbd96c833ecc8cc069ce518078fc8c60cb9cbfb0fea5b7a803ad65035596d03 \
+ --hash=sha256:4ec954036759bcee3aa484f8603bd9c14f3e776293b85578b8734c2d72777c69 \
+ --hash=sha256:4f9744f9fbdcea0bc552e8f19e1f141f811a3f9bc2be2cc6e86d982cab23e3f4 \
+ --hash=sha256:50a68f4bacd8a2b33d8da3d2269d0d78500f86ea582e4786dc10f5ef2c2c6842 \
+ --hash=sha256:50e500dc868e9313530ce12ba470fe50ff3afe3d62993ed6eff652dacd555b65 \
+ --hash=sha256:52c808f96484f5571a5cc863775ce50247c17dfb3b0361f8ed6b4b0456f80080 \
+ --hash=sha256:5f8e00be2ec6f45f4e8a41a527f68d44a7d96fee92a650e4d8b1326f77f61e6e \
+ --hash=sha256:60e902ac295855348a5ca2ea4c89108989a9f5fddfad3dfc0a8f36b10358567e \
+ --hash=sha256:65f188481f1669e26f62b701e8205d19e460fa4a9b52a1414ba382330e4a3414 \
+ --hash=sha256:6950c4b7dd562453090548ba7f5da7e59f57f85663f15d5dcc60e249192f7e59 \
+ --hash=sha256:6a9bb119fb8dd21ba30b3f0e555b7e2b081bd9883af21ec9c1c633d161cda3a8 \
+ --hash=sha256:6b588cc8f902d6bff201c19fd00c43ab8545671e3554d014e12e14139e5e8617 \
+ --hash=sha256:6df895598c0edcb41030126c89e0f353b07d93238116143b7405e937359736c4 \
+ --hash=sha256:6e8172ddfcf5cf74b811d372b570b83c60bd2de87a6fbfbebdadb4a9bd9c6cbb \
+ --hash=sha256:7354826bc6f8f69402e9b7fe28d15fcd34feebd74f856f111585c5b0c9fb0251 \
+ --hash=sha256:7587f53dfbd5edc0f7b87c6217b4c6d2d1f2ef9c3da70bc1315e7db5f8d7ec9d \
+ --hash=sha256:77843ca236b777e67f8d6b3660ea116e499612703a0ecd7093f316201eb9d8e2 \
+ --hash=sha256:7999d4ddb0c4025018373fd787510d46e04c769467af22869707b3c1cfd459ab \
+ --hash=sha256:85aaccb24182c25df891ad0ec333585967e115269d5f1b17f2c9ae005bc96657 \
+ --hash=sha256:8e4cb9a754c8a0c62eaa88273a5fba3391f4a610d1dee893c0755da31c083f15 \
+ --hash=sha256:8ee9c4eeb8454b3660a8b53493563c3e121c2fc94fbd72b848ef814ed7b676a9 \
+ --hash=sha256:9a0731745a72a184490a582fb4af2533512bd071ace67785b5fdffc0ae58dce8 \
+ --hash=sha256:9e9413326d726c2545bfa65d2c0876871e8d8386e77f992c1d426e180bbd4323 \
+ --hash=sha256:a610dc7e3c52edd39c2bc2375ff9c3fd59cb3ad00e4472d36f83bc1457145788 \
+ --hash=sha256:a839318485284a6fb31be4f8f2c91c8f2cb22f4543c4a8903f12b0671ffe07cc \
+ --hash=sha256:afb3f0632d6b2e3ba04dbce8d1e48d321b369138b73830b5ca371a0e8d479d56 \
+ --hash=sha256:b879fb674276e331513fb136b78dbc6bd3c848309e0d841cfd63be3896c4cfc1 \
+ --hash=sha256:b9727f472d2f3888053b8a75ab0cb94745a9de224bb5846dbadc0092101bc71d \
+ --hash=sha256:ba0a474801b8dc67b66bf465548abc90e82b44d2611b5770f33008dcabffe8ec \
+ --hash=sha256:bd68ece1553d2023c09a4226d9e41c586ad2d20594d1a456186c33513d2cb3f2 \
+ --hash=sha256:c081cbe16ba1ab53078e5ff29013621e33c509eedab055775d956427712c236e \
+ --hash=sha256:c1f017dc0875c9209d219f97feceb7d54c2661bb243deb4114478e1295808af7 \
+ --hash=sha256:cebc2d6dbb605a7703d59751dea4bd6b0ab127a5a4338a6f432df1936fef8b26 \
+ --hash=sha256:cf7de32f486e4ac9e2d93b810f9e9ac72a728dd46a32a0bb403222f27f653514 \
+ --hash=sha256:d482d171c406ae88c5b19cad3b6a1c4c5209f886ab74bc44c2c865c23f52d860 \
+ --hash=sha256:d6a48072864e3324e194a8fbb3c657bcc5b5c869dbc64c9537b1d5c862572c0a \
+ --hash=sha256:d787cf769c3baeb5f6235e778edb52c08dfa923789b5958f28e6450f96107cb1 \
+ --hash=sha256:dc649493697006bc90614a5f0bbc8cb3cb1866715c474e473694968d7e6b99ab \
+ --hash=sha256:ddf47472af2e4280d79bac82304f5e80150211f1b9e614b760061d5fdfbb6eba \
+ --hash=sha256:e5651f3f87add730ee6608d915009e19c911fba0cb000c7e3ea994b7d768eb12 \
+ --hash=sha256:e79aba74ffaf5f78a050d777c184cddf8fdffabab38acf5f3ef1fecbc17895d6 \
+ --hash=sha256:eaa088384c46f519dacb93b7ec483a6d6b19a4a2085ae4f25ab9b1c43d387d1e \
+ --hash=sha256:eaca7ff36f0f52e2111ec71f169d8fd3e889e7ddc0d2592e0d703fd8d3ce8fac \
+ --hash=sha256:f06571a052127dc1b4e8b83029b4d1b20daa2b64a31cdd181fc6bc774e9000eb \
+ --hash=sha256:fd0d703772bba096843785bd38371e31bb4a0c1151497ad5739d182114a73f7f
# via
+ # -c requirements-full.lock
# ctranslate2
# onnxruntime
-onnxruntime==1.27.0 \
- --hash=sha256:0874edc171f470fc4dd2bbb60bc0989612ed1a8b89b365cda016630a93227f13 \
- --hash=sha256:1b215aa662c8f983f7d6dedafe65a9be72c26e5338e0fe98b3e0422c32c85428 \
- --hash=sha256:20c321cf187ba496e648acf6b4cf90b4d398b0d17c2a77fdaeba365b908cc1c1 \
- --hash=sha256:2eb083321af8a236a84c7c140a7f4cecbfa2a987a18c07c78db471c20cd390ef \
- --hash=sha256:2fdfa9df40a0ded0028ce6f9cd863264237f3970559dea2b81456e9ac4622b94 \
- --hash=sha256:370d211e1ceeac4cd5f45301655463ac59e27cdc74d9f7aeb2d19ff4b7a76715 \
- --hash=sha256:445fb702ea5241ba813a3ce2febe2e9408a64f6ad2eb610924322c536165f7cd \
- --hash=sha256:48b3d87eb560ff6a772240506f3c78d6d27c63cafedd5c775672e1194f968cfd \
- --hash=sha256:49e416be0d717338b6d041b99911b716d70c397d277056450724f93bdded3fc2 \
- --hash=sha256:54c0c4e9202c36c4ecdb1f3443f5dfbfd5ee3b54d1362c4b4c6134110e74fb32 \
- --hash=sha256:5b51c014cf1a4fcd93c29a97eac8071fa27710dae05a4d0380bb60a66d60a62c \
- --hash=sha256:6872443f236a554921cda6f318c900e2d0c226792cf3534d00e5057c6926e5d2 \
- --hash=sha256:75fbc1e1fb43a39a856c8209c544cca7817b5de7ac16b15b1bdf55d1cc67b9df \
- --hash=sha256:760021bca514d64a811837820d351a08a41741f16f8b4c26450da708fecf14e6 \
- --hash=sha256:7c65a7438632d55dfbc8a02ee60bd6cf7dd9d1ba05a43d4b851452f32338e194 \
- --hash=sha256:856032937dd3bc7a7c141909c8d7ae4fde3e3f59bddf061ae627b9a051bda95c \
- --hash=sha256:8ba14a38c570087f3cdb8cfba33f7a38a1e826c1e5b29e17c28ceda0cc910016 \
- --hash=sha256:a14c2ce45312def86b77aea651f46565e45960cf5f0721bfdff449165086ab76 \
- --hash=sha256:b3e5b58b8c89c2b20e086e890aa9527377e5c240dc3ecc1640d18e07705eeb1c \
- --hash=sha256:c6197a02e3f620c4dc13cff51b80672409fc1ffab3aa2593911b19fd322ff48b \
- --hash=sha256:c6fddce0539a4898c7bef35b052ffd37935b2190e35488eab99ce91887743ea1 \
- --hash=sha256:d0d1f68868e2ef30ef70998ba9bbbc5c305e9b17041e3936751c1b8aa6aade06 \
- --hash=sha256:e4f7b0e90d2d212e2c2deaa6c8291616183ab815d3ec558ea12d3ac8b26d36f4 \
- --hash=sha256:ff050e4f6bf7f12918fa14dcb047c0b02e295f35e86d42532552be4b3d54e977
- # via faster-whisper
-packaging==26.2 \
- --hash=sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e \
- --hash=sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
+onnxruntime==1.29.0 \
+ --hash=sha256:07c5907474dec4a2792fd7626b753dc66707808385a6d9eecf993db0066a9d0f \
+ --hash=sha256:0d4f427afac434b0070fe992b540ddf20a7aff2265f760f314d91331935b6b98 \
+ --hash=sha256:11264bb58f7b7cf6af835ab10d36838d73680580820fd6f51d90124a1ca8f449 \
+ --hash=sha256:16925ef8497e2c07e4b5ae15b504079b3ab3f65e22c58efd10dde0f3caea969a \
+ --hash=sha256:1ea91cef3b971506e51ae9c37c16d027774ec64994a524ec1bdfb027d68a9832 \
+ --hash=sha256:2945e1f82f81f27e88decea88c7861f45baea23818950d467bf3909aa303119e \
+ --hash=sha256:2b80d8c7ec2cc7438e4da3760b88c24568cba72c9ace96d668800a6c79419acb \
+ --hash=sha256:3a3814c041251d6a77fdf513fb282056538ee826d2f1178a0df3c549d3fff6ba \
+ --hash=sha256:4a3129ae56e70d2618ff773920166916310370a7e3cacb60b9e0e8910092725f \
+ --hash=sha256:4acf2b4948b7ede87221ca6332344b8facdc8059d6ac751a7d367d04532b02dd \
+ --hash=sha256:4b940b0d777590c7e20bf298f5c16af1ea6ad1b400a1c822a6be192f64f4d954 \
+ --hash=sha256:4eae472cf7dc3107dec1bb53cd6d142d1964616d08aae48654cd4254b2363c4b \
+ --hash=sha256:533f8370ce124304e5cb08ab961836cf755631e3dd77adc5f3bbdab70c2b7d99 \
+ --hash=sha256:6c0c37b92f67ed68dd36221ce0403e1d9bd4f7efce724439978a2597848530e5 \
+ --hash=sha256:85f8e8406c52658735fe5c7fbfd3ebaa1ed340768324f6252e4274e374580a23 \
+ --hash=sha256:939e5d65f332e6d399774b2bd0d3559fd8fa629c1e77833db29d968d2384f23d \
+ --hash=sha256:be0f8ed688cfb1d4d5765a137193b7bfab0c8ea214eed99260b380bb525a3a7f \
+ --hash=sha256:c1ad3f437153fe77f9d01a08fbaac0beb030e09b8a80ace1603bcf69b6c95481 \
+ --hash=sha256:d2fb19e848f7c33ed8d3182b52504aaa11c5e8da438bbb47296f85b133cbcf6b \
+ --hash=sha256:d67673c5367727860922c5262d724472f1b5539fb7ccf4c81a638f9b71719803 \
+ --hash=sha256:dc61a79cb39afd66ab3f01fd2c23591a7f01de89c1668e1fb6315067fc279164 \
+ --hash=sha256:e2128f31f449e922c62dbe5d8b6b7b079f0bcaf2d56a102fa203cb6e5bb5ab19 \
+ --hash=sha256:e417ef8628dcce310d2d53023e750ea298ec14d4341ae6dc3a572bfd9bc7fa97 \
+ --hash=sha256:e74b278af1d949876f5d91d1268fd6c680e79f2bac194967394eaba9fdf69e7e
+ # via
+ # -c requirements-full.lock
+ # faster-whisper
+packaging==26.3 \
+ --hash=sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79 \
+ --hash=sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c
# via
+ # -c requirements-full.lock
# huggingface-hub
# onnxruntime
-protobuf==7.35.1 \
- --hash=sha256:11d6b0ec246892d85215b0a13ca6e0233cf5284b68f0ac02646427f4ff88a799 \
- --hash=sha256:230a75ddfc2de4806e56696ce9640c1cdfdb6543b7cfce98d42a4c0a0e7bdb87 \
- --hash=sha256:24f857477359a85c0c235261b8ba905fd51b2562f4a64ca1df5473f29850cbf6 \
- --hash=sha256:353652e4efd0bca5b5fc2656abf8307ef351f0cf938c9eba09f0e09c20a25c30 \
- --hash=sha256:4bc97768d8fe4ad6743c8a19403e314511ed9f6d13205b687e52421c023ac1b9 \
- --hash=sha256:74758715c53d7158fb76caf4f0cfdacc5329a4b1bb994f865d6cf302d413a1c4 \
- --hash=sha256:b73f9489a4b8b1c9cb1f8ed951c736392592edb24b9d6819f36d2e10b171d5b4 \
- --hash=sha256:ce115a26fe0c39a2c29973d914d327e516a6455464489fe3cd1e51a1b354f81a
- # via onnxruntime
-pygments==2.20.0 \
- --hash=sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f \
- --hash=sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176
- # via rich
+protobuf==7.36.0 \
+ --hash=sha256:1781cc1de61249b750848029bca452c0a8b7e990080316b9bbc2518b2117b488 \
+ --hash=sha256:3297e60abdff301e5f74393d87f6cc59dacab5f024a89548a6e8de1d26576b16 \
+ --hash=sha256:53374d53fc29a67f7dbbf0ade47d7526a0f0137bf0f9c90e48d8a60790ef748c \
+ --hash=sha256:70f5ec8eb0da81a44360c0dc0beac99a0d78071d21956a7076bae8bd2051841b \
+ --hash=sha256:7326fd717bdc419162a735938d89d4032332bcc3408804012b24ff3a37086071 \
+ --hash=sha256:9103532dffd80c6fab7e50c65a31007680a06eb57537d437bb1b35812c138a37 \
+ --hash=sha256:bf94a5917c71058262de683669bc0a797a7669d3de71f0b36d058e3194f47b44 \
+ --hash=sha256:e8e09cb0d794c6687926fa558a8a6e72aa10edb997d5ca61da0765f12a3e00ea
+ # via
+ # -c requirements-full.lock
+ # onnxruntime
pyyaml==6.0.3 \
--hash=sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c \
--hash=sha256:0150219816b6a1fa26fb4699fb7daa9caf09eb1999f3b70fb6e786805e80375a \
@@ -365,20 +356,15 @@ pyyaml==6.0.3 \
--hash=sha256:fa160448684b4e94d80416c0fa4aac48967a969efe22931448d853ada8baf926 \
--hash=sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0
# via
+ # -c requirements-full.lock
# ctranslate2
# huggingface-hub
-rich==15.0.0 \
- --hash=sha256:33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb \
- --hash=sha256:edd07a4824c6b40189fb7ac9bc4c52536e9780fbbfbddf6f1e2502c31b068c36
- # via typer
-setuptools==82.0.1 \
- --hash=sha256:7d872682c5d01cfde07da7bccc7b65469d3dca203318515ada1de5eda35efbf9 \
- --hash=sha256:a59e362652f08dcd477c78bb6e7bd9d80a7995bc73ce773050228a348ce2e5bb
- # via ctranslate2
-shellingham==1.5.4 \
- --hash=sha256:7ecfff8f2fd72616f7481040475a65b2bf8af90a56c89140852d1120324e8686 \
- --hash=sha256:8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de
- # via typer
+setuptools==84.0.0 \
+ --hash=sha256:51a52592b3b99e102b609654876bd65f19f999935166d1352678931132b0c670 \
+ --hash=sha256:f4695c21257f0d9b537ec2692c941d02ee143b7cc1276941349a546573b2ef73
+ # via
+ # -c requirements-full.lock
+ # ctranslate2
tokenizers==0.23.1 \
--hash=sha256:120468fb4c24faf0543c835a4fabafa4deb3f20a035c9b6e83d0b553a97615d4 \
--hash=sha256:1974288a609c343774f1b897c8b482c791ab17b75ab5c8c2b1737565c1d82288 \
@@ -397,20 +383,20 @@ tokenizers==0.23.1 \
--hash=sha256:e7bfaf995c1bdbbd21d13539decb6650967013759318627d85daeb7881af16b7 \
--hash=sha256:ea5a0ce170074329faaa8ea3f6400ecde604b6678192688533af80980daae71a \
--hash=sha256:f836ca703b89ae07919a309f9651f7a88fd5a33d5f718ba5ad0870ec0256bad6
- # via faster-whisper
-tqdm==4.68.3 \
- --hash=sha256:00dfa48452b6b6cfae3dd9885636c23d3422d1ec97c66d96818cbd5e0821d482 \
- --hash=sha256:39832cc2def2789a6f29df83f172db7416cea70052c0907a57801c5f2fdccb03
# via
+ # -c requirements-full.lock
+ # faster-whisper
+tqdm==4.70.0 \
+ --hash=sha256:55b0b0dbd97462d06ebee91e4dac24ed4d4702be82b24f07e6c1d27e08cea220 \
+ --hash=sha256:7f585706bfddbdebf89daac705b2dfcc16890130727d3197ca62c732b4310953
+ # via
+ # -c requirements-full.lock
# faster-whisper
# huggingface-hub
-typer==0.25.1 \
- --hash=sha256:75caa44ed46a03fb2dab8808753ffacdbfea88495e74c85a28c5eefcf5f39c89 \
- --hash=sha256:9616eb8853a09ffeabab1698952f33c6f29ffdbceb4eaeecf571880e8d7664cc
- # via huggingface-hub
-typing-extensions==4.15.0 \
- --hash=sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466 \
- --hash=sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548
+typing-extensions==4.16.0 \
+ --hash=sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8 \
+ --hash=sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5
# via
+ # -c requirements-full.lock
# anyio
# huggingface-hub
diff --git a/app/src-tauri/resources/sidecar/requirements-full.in b/app/src-tauri/resources/sidecar/requirements-full.in
new file mode 100644
index 0000000..ffddb52
--- /dev/null
+++ b/app/src-tauri/resources/sidecar/requirements-full.in
@@ -0,0 +1,6 @@
+# Single dependency graph for the immutable Full/Offline runtime.
+# Resolving these together prevents optional components from upgrading or
+# downgrading packages behind one another at runtime.
+-r requirements.txt
+-r requirements-ocr.in
+-r requirements-audio.in
diff --git a/app/src-tauri/resources/sidecar/requirements-full.lock b/app/src-tauri/resources/sidecar/requirements-full.lock
new file mode 100644
index 0000000..48ce019
--- /dev/null
+++ b/app/src-tauri/resources/sidecar/requirements-full.lock
@@ -0,0 +1,1531 @@
+# This file was autogenerated by uv via the following command:
+# uv pip compile requirements-full.in --universal --python-version 3.12 --generate-hashes --only-binary :all: --output-file requirements-full.lock
+annotated-types==0.8.0 \
+ --hash=sha256:13b2beaad985e05e2d6407ee4c4f35590b11f8d693a258a561055cac8f64cab7 \
+ --hash=sha256:f072f4d804ea359e4eaf198b1af7a8b0943881a87f31bb764f8bf219bb9419e0
+ # via pydantic
+anyio==4.14.2 \
+ --hash=sha256:9f505dda5ac9f0c8309b5e8bd445a8c2bf7246f3ce950121e45ea15bc41d1494 \
+ --hash=sha256:cfa139f3ed1a23ee8f88a145ddb5ac7605b8bbfd8592baacd7ce3d8bb4313c7f
+ # via
+ # httpx
+ # openai
+av==18.1.0 \
+ --hash=sha256:025f84494cb23278498f03b0d8117d3e47a1cbc9c44b97eb31875cf02251e46b \
+ --hash=sha256:08a9ae288299cfcbf739dba4ad0c53b9b71f45184303dd45947920d022fed695 \
+ --hash=sha256:191224788d87af06c31784a395bb73f14b72f33d7f4871ace0157de2abdc6276 \
+ --hash=sha256:3c8b1f8b46f99d52e2d8b0ed5d0cdadf172d24794d46e2077b16e44ed08e26ff \
+ --hash=sha256:47bfc286e1bc9de7ab4681fc2b575cd2460a66919d31ffe1bd5aa54fae531a28 \
+ --hash=sha256:5509ec12aaa19fd6601de13cfa6f4cdad450da07982118510592875d970454d6 \
+ --hash=sha256:5548b79e2bf1f59b3e9aedc918a72d9dc45b9adaac10ff9470d5dbdda0002e47 \
+ --hash=sha256:5cd9085028902c9880622bd37a12fd4b33060f06a52311f6f4867ca9f29a2c3b \
+ --hash=sha256:6fc837cc51adf80331ac850779cd53b5d4c4460b0ebe9057a02a921c6736f19d \
+ --hash=sha256:8a032e8d8ebc73dec079364b9b4a6837638a2d106e8472314e685ffbf163e700 \
+ --hash=sha256:ab5ac081bc9eaf54109120d4e56284674fecfbe520d9aa1707c7fa911ec5f4d2 \
+ --hash=sha256:ae75d8bb6467895ed1f8572ededf7ffa49eac07f6e483222f5d7d62a41d12f04 \
+ --hash=sha256:b30a4e8d934558e19602b68998a4d9ac9f250fa0dacef216f7e8e40153b13316 \
+ --hash=sha256:b36b0bae9e4c62f9487c99481ec15e4e3870fcc868522cd6d18fc2d6bfa04f01 \
+ --hash=sha256:cf8a17466bef07765dbdecc9e66ed9b25d20b4e14f654fbf35345a58ac45fa0c \
+ --hash=sha256:d49a5c542dfdc00f43c6cdb6cc41dac1781ee206fe180b56aa7433dfa816dfae \
+ --hash=sha256:e4d48b9f12cad009cc72fe4f4099107de5e819c95f82767f4fd01a01481c0661 \
+ --hash=sha256:e7ea063f6690193ea335a1d592d6e0274350d45e2ed6af83ee107cb90cbfd84f \
+ --hash=sha256:ea1480b7a8d5405cb5f382b344731bf125fd2c1c6fae3964f6c48595628387ff
+ # via faster-whisper
+beautifulsoup4==4.15.0 \
+ --hash=sha256:288e3ca7d54b06f2ac191970bc275c1939cb46d450b255bf6718b04aa37ab4f7 \
+ --hash=sha256:d6f88de62e1d4e38ecb1077eb9724cd0eff29d2a08ca16a401e9b9e93f117cf9
+ # via
+ # markdownify
+ # markitdown
+certifi==2026.7.22 \
+ --hash=sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775 \
+ --hash=sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55
+ # via
+ # httpcore
+ # httpx
+ # requests
+cffi==2.1.1 ; platform_python_implementation != 'PyPy' \
+ --hash=sha256:046bfc24911b37851ee1b51aab8bffe713d89c68c6a057b09484ce9fd5f69b4e \
+ --hash=sha256:06c72bb76605a4b0cd0aad6930b69d4baf7dd5d806cfc409b824191099700e66 \
+ --hash=sha256:0beceaabe56af686895136a2de78db54ecd8e4046b236b8fd6d6cb61389e9bf2 \
+ --hash=sha256:154852545011f779917b11c78db2358d095da62a9a172b78ad0a583ee5adc0d0 \
+ --hash=sha256:194cffa889098ced9976c3fc6340305e43f6303657d298da55366907c05c22d6 \
+ --hash=sha256:19ee6127ee34de7d83ce3d371ebc5ed91addbdcc39f9ab15ce4eb35a4e534971 \
+ --hash=sha256:1a18a57b58cfb21fc28d72e876acf10eaed67a1ed96226f92af4df681d571c4c \
+ --hash=sha256:1aa5645c30469b09530c4ebca77ebf8f17618293c58f8549cb1a543a50236e7d \
+ --hash=sha256:1dea0e4d7d4f11f619fe8c1d76caf49e24405b4b5743c0e3be16a500ecd930c9 \
+ --hash=sha256:208f941bb9d18e768138677f0a6d2ce01f590df56043dda1df1535ac57c88517 \
+ --hash=sha256:210019b6c7cf07f081b4c54635c8cf744377001350e29cc0f81c4377b4797735 \
+ --hash=sha256:246fa40ce8645a614ff682e0b70f37134e460eaf93a775e0cbe3cca585a67a80 \
+ --hash=sha256:25792eac27877609e7bb06d42ff88278a6624fff2ba9bbb523c09616b117e80f \
+ --hash=sha256:27350daa11d4f10c540e6e89dada4c54feb7256ad03e9a4dc075ebad7ba360d1 \
+ --hash=sha256:28907ab9bfb6aa13184cfc17c6b8e1023c5ab6fd7076d8c20a35e59fe04f8f29 \
+ --hash=sha256:2ae64be792b8966f2c69538199728b290e34726562896df1e5dc8ffd8d8188e8 \
+ --hash=sha256:31348097ff5bbe827ccc41795d4dd099d9f0625e7def00ee653c137a490c2a6c \
+ --hash=sha256:3143d81e29e1e20a9ce10901ec369012947876596f75a222235965f2b7ae832e \
+ --hash=sha256:3222ba5d678f80a030e6afbcc33dc1ae5cb45facabb61cee2c7016b8432fde48 \
+ --hash=sha256:3311ed60d36f83378794e1009ac6258bafbf81f7888b4caa7b35a521e3f95813 \
+ --hash=sha256:334644fbac4eff73d985a17a91226df55d0f394160c4cfb880e084c8f7161cac \
+ --hash=sha256:34e261f78cb6ceaaa36f42f2613f4380d94d9c759a9c73c769ee6e0247364632 \
+ --hash=sha256:363e05fa78e15116c3c32c210ee36884fd6b9afa6d440e47112c3bd511d64cb6 \
+ --hash=sha256:398aff33cee2767e3e781d2554c54bd0dff386bb437581e0d8011fde1a942ec1 \
+ --hash=sha256:3d22a20b1fb1632cc72c22f95f7b0d2961c3e1c235f245ba4c606c4771035659 \
+ --hash=sha256:42a494cee34437f05546455144f2b5d9ac09b1face62bcfce597d2e521066688 \
+ --hash=sha256:42e2f76b9455f5a9a844f770bf3e200ed3da0e15f5df3db9c31fe80b04b3d004 \
+ --hash=sha256:42f6930c31dc7f50732c9ae793c2786c7b6b044195967bbdde40bb9be81c4cc0 \
+ --hash=sha256:456a61fa52d579ebf9df2e9552ead5129855dbaff6c1e5a9b1bc408809bdc062 \
+ --hash=sha256:471cee653ae88de62096552e6d24ccb4a5adb8c8c9f10b5054d0122c15bf2779 \
+ --hash=sha256:49cbc70e6542d4ccccb936558d1064a8012541e78f821f955cff24e357776c94 \
+ --hash=sha256:4a7c934f7360e8cd64fe9efadcbd10c7c6364f531e432b9a4bf5ccbc9e0e8b50 \
+ --hash=sha256:4be96343e422f2dfcd12ab5c9f5aebe03f82f737c6bffeca6830b3875cb44aab \
+ --hash=sha256:4f42141fc14250de6dde5ee7ea4432be017252d91f19c5ad043c084cea629cac \
+ --hash=sha256:507a24c282e0f42f8ed737cf048572cbf580468da5555764a8331735e9c736b6 \
+ --hash=sha256:51b31d1c98274844cfd7838ce00bfc27c7423a4dc00fc0772fc3331c2cc90676 \
+ --hash=sha256:58acb8ab8e295e6c5ea12f888cbb13cf21511ef2a3303a23f4325c29d17fe5c1 \
+ --hash=sha256:5a59cc1c4442bc3d5c703bf720b51138d0bfc173618807c9ee2490a7541dd3d9 \
+ --hash=sha256:5bb4e7ea95dcd6a014a6fef62e62467d67d8e582326443f3d68e71d6320a9fcf \
+ --hash=sha256:5c58fe613dc5e5336357eff555824a314d8e43282600435c8d1cb6a7a2fedd13 \
+ --hash=sha256:5e7cecbaadb83884793e05828cee59b210b24583b9c7425d0ba6a754fe22eb4e \
+ --hash=sha256:616f097f2fe415bc92a247f02e11f634e1f9e9a83d327e3c915c15089c87869e \
+ --hash=sha256:63bbfd5ded17c4840ac07cd8f1c21ba9d9708141f840b324f422f41b207e3973 \
+ --hash=sha256:64faea20f4e2613363a1a9b9c7dd73058f3ecd00133a511e72ad7c511658f527 \
+ --hash=sha256:661c298b4821edebead0c91edd2b00374d67ad7c5a1f7a91d4442633b79d6a72 \
+ --hash=sha256:68e62fe11f30d5ca8289242866f0a5291402d8529ca2178ab8afc5c9694ae890 \
+ --hash=sha256:6a8dddef476fab96d066d578fc88526767b836ab5ab21754e1d5bf3879c31c7c \
+ --hash=sha256:6e192623c49c94421616a5778fba35cf0d5a8d000650c1967ef4448ee5cdd990 \
+ --hash=sha256:7225e4514edb64eb6740324353e0da0711954fd8d7da4576755b1c6e09b697cd \
+ --hash=sha256:75f80557d1389eddbd0de2681f6a390a0c5338c31ddaa821381c203fc3fd50d9 \
+ --hash=sha256:770de9db11e84213beec501cfcaa013b019820ca881e03344dea5844f7876d94 \
+ --hash=sha256:7750c6449dff7864bb9bb27ddfb0267756189201a3afc911d82b3caacd70dfc3 \
+ --hash=sha256:7bde5e4cc5c10140859842b9d383af292b22639a4dffb725314baf45968cef80 \
+ --hash=sha256:7ce713ace7c0e4520535b42b77eaa742c16dab813978064913e5a3cf82973b41 \
+ --hash=sha256:7da0c5eff80f0197f3b3d1232ec5a682a9325f4ae9016a78f5f5ca35f9ced1f5 \
+ --hash=sha256:7dbb61fe3a7699468030f71bbe5f8a0e326a151daa91beb11a6fc1f980c55e1c \
+ --hash=sha256:811bd1e21d32de12efca32393a0ab3f5133b54fce9bd44b8bd77ab07da14bf6a \
+ --hash=sha256:8ef53b2de9bcb9197d31854256575d59dbac0cba72ac627bb291ef5eceb74be4 \
+ --hash=sha256:937c0052c05a31ca1daf18de3158eed4dbfcb9cc107adbea227728d647be701e \
+ --hash=sha256:9d2055050ea716bd38b7f7f1579c275386646b4894c155a3e2f3cd62ed41b7c6 \
+ --hash=sha256:9f8d177621de5cb38ee3e731eda45d421db093ec0739f46a5594babda7987a98 \
+ --hash=sha256:a2d7755bef5a12ed488f4ef1f1b69ee9191d7396083b755a5d2295f6edb4768b \
+ --hash=sha256:a48d62ab9d6f4f98c983223a547af44be6ca3691074c31cecced6facd3ba2dc1 \
+ --hash=sha256:a4f00aa42f75d6e4595e8866e748cc1705adc0cddfeb2ca86d0d03993d63ba03 \
+ --hash=sha256:a6e721d4b0e45d5b65e87534470e67b18dcd092c83f68fba09f152b9cbc061af \
+ --hash=sha256:a730a083190634c65cca36ba5f489531576ebd79bcd5c8e172130f6453127231 \
+ --hash=sha256:a931079504ecc49efed7744c476a5c343a92fabf66dec2db95edb1b2fdc770e2 \
+ --hash=sha256:aa9511c62d14da7aacc9b4bf51f3f697a621e83b2d6919008243c3aad168eea3 \
+ --hash=sha256:ab36d55f9ed2d067327667c2fea18dda018eb628dd6347aa01dda6cf1f5d3836 \
+ --hash=sha256:ad2c86c495b899d862ea0f4b42891b8713a3bd45dd4105c7fd51c2a72f39f3a5 \
+ --hash=sha256:aeae0e330c9f6acd681f647d46cefd30c29f93e3392882e792e82080c9691399 \
+ --hash=sha256:b0431303acaea1089ad4b3e9ce4e6518193def1118d4073ca848635ee4ea2e96 \
+ --hash=sha256:b5bdfd1c873d4e093aabc0ca84c4ca6dbc4f752afb5c86f146d9742580c9da2e \
+ --hash=sha256:baed1e86cc735622097354b9d1281406caf42ff42a886d29faa8e8d1630333be \
+ --hash=sha256:c1453022f490d2459a11819d83ad1d586e9ff65a12ac3e705ffebd46d3685dcf \
+ --hash=sha256:c26608d2222fb1e94487e4a387d85f13eb55d5ed725cb25a0c589ac4ee60e7bc \
+ --hash=sha256:c7659f22557c5a0bc4855cd635f55edec690cc008a40768527762cb9fb263455 \
+ --hash=sha256:c8c69575568085ba0b1b10c0249d779a214aea6f6522e949a0fc9fb0fcb449d0 \
+ --hash=sha256:c8d2c9fd1f2d16f780d15127abb050d13d1a76c03a4bd87d7e4980e45e511e12 \
+ --hash=sha256:ca82be1a1d406ecfe1d25dc16cb33488e5a16bf4438c9fb590484ea29d92478b \
+ --hash=sha256:cc572dace3f60ef98d7b12ff411d20f5362feb31a0439eab0085bbfd349982d7 \
+ --hash=sha256:d18e5ac0f2f03f4f518d3e23db0f0cad7faa1da8620e9c09461d443bbf6e6692 \
+ --hash=sha256:d28630f5854ab07ab1fd4aba756de52326c82e6be15d414b12793f1975048b54 \
+ --hash=sha256:d9c275eaacd24aa73f94ffd6de08fc3f932424d8b6c376f4bed7cde376fe7bc3 \
+ --hash=sha256:da0e573f9f97159390c89d9f1a9e41908b66d408cc5b58d08cf3847d844c531b \
+ --hash=sha256:dd31f52ea1086513bb9df30f8fcee9b8918323ae067a3d5b78bc826a000712be \
+ --hash=sha256:dddad92b554513a31f272570678ba307fb9f618f05e3d4a5eacafff9eae03e1d \
+ --hash=sha256:df423d40ee8654634421812bc3b196da3f9bd7d32929da813f8394c4348a5358 \
+ --hash=sha256:df913725b79db7bcf03448f36b7bf8815363417d5b58deecf9305e3e30f0f21a \
+ --hash=sha256:e0bcb7e0f677f543555d2adff3bf19c05f66cdb4796e5ff602442ab2fe3c4ef7 \
+ --hash=sha256:e2d65b31f36619cda3999b78b2aa9632e76b78448e7a56fc4240824200e7c4fc \
+ --hash=sha256:e6e8cff14d6fb0be70a09c0bdc58096f501952d04624ebf867e0e56da2df8960 \
+ --hash=sha256:f16c709686a78c727bbbf059f92b0bf41c6fc60deec706d2dc19f529175a6125 \
+ --hash=sha256:f24fb43132a4c6b4cb4eb029492919b2db645be6808d738f244fd146c03c32cb \
+ --hash=sha256:f53e442b08449d42821fa4a4fba000095af9f62742a500f978a9f557ec44339a \
+ --hash=sha256:f5cfbc5fe74540d335175b656c725d74d90e3730c626d92575eea35029d9afaa \
+ --hash=sha256:f81b3b8f3d4e343550fa4baa0e479bba9f2d29ce9c2e9b51d1ce1718d7442fcf \
+ --hash=sha256:f8ec5e643a9a937f64e1999eb9f75d072263751912dc5cd06d3c85f8f44be7c3 \
+ --hash=sha256:fb92203a88b3d3053034db775110081c49d28be6551923805e039924093761e4 \
+ --hash=sha256:fcd22650c908d7b7da162bbfaab594a1227a15d1643a98c68b122ac642fa2264
+ # via cryptography
+charset-normalizer==3.5.1 \
+ --hash=sha256:00668ebb0609751758682eb0b5857e7c35b9f00e84dfdef062e103244ec94d45 \
+ --hash=sha256:012a22b88a77ca2e59b98ac5889b0deb604147666032f45e6d6e217634d2550d \
+ --hash=sha256:01e93745f7f219b703b60ba7afead36cfc4242782be5af484673fc500df12da5 \
+ --hash=sha256:04368edf83514385ffc3e1cfd4546e595f4f1272dd23ba437a93a9cc3741d47b \
+ --hash=sha256:0722590aabf9dc6a6c0343d523c05458fa2b5047dbe6302fd526bb570600753f \
+ --hash=sha256:07ffd07412fc5d5e84cd8952acf9ff7e4ed7a708e69d1bada19d8ba91711353f \
+ --hash=sha256:09a7bba9f739468c8e78c36a75c33768e53cb1959fc638f510454c14683f00d5 \
+ --hash=sha256:0b2b1b3fa5670c127b246df1d0c059defd41f689a868a3b9d79df9b1cac42d22 \
+ --hash=sha256:0c6dfb5ca6723eeed15aa8e564a014d69fcb8812f94eef11fe3631e0508199f5 \
+ --hash=sha256:0d929fc574b4d6fd9e7c0f5c2ede8716a41911923aa7fa5fce38e0818aa4a1ac \
+ --hash=sha256:13e3afe97712e8887cd516e960c63f0b93122971e5b5e4b2622fe7701771e838 \
+ --hash=sha256:15f024313246a4ed976c60f440bb8d257815513a681d212ff74fd46f7d715a90 \
+ --hash=sha256:195ce897c6153c0700078142cf8efe3e6454ca4cf4357499e4078dfd83396626 \
+ --hash=sha256:19a3dd5aa73cef1c99687c4fc57db016a9c17104ae1185da88ba566a5d3bebe4 \
+ --hash=sha256:1d1c7a53a6c2103925cdd6d7229f8c567379f211c869793df679f2e9f738c369 \
+ --hash=sha256:1f5883d77fd409a261abb5dc8ccbe335720d798b1de4abb3b1d47ccbbc76b53b \
+ --hash=sha256:21b82d8082f6f5e7f456ef0bd16323d08de1266efbfeb476e64b2a91d1471a4e \
+ --hash=sha256:252d099029bcbea642f2a06c4ed5046bdf8b5a8150b64afa5e027e88b106e5ee \
+ --hash=sha256:256dd4d85d9e4dc595e2bc983c980e73f62ddeb3165c58b4c3dfe78c5c8548c1 \
+ --hash=sha256:26422d45fd13551cf564c58932f7d72b4f58b93b0fcf18c35ba6be12b46bb102 \
+ --hash=sha256:2679de311c7946dde5d3b6f44941844133ff5c7cb86099c0061ab1e8901c20a8 \
+ --hash=sha256:29880d17a8eb0b5cfdfd8944b468322928059aa35f1f5fa8ff22b149ec0b42f8 \
+ --hash=sha256:2bced4061f000f7187254a02ad3433ae17eaf991747ceea2f478422590a5bba9 \
+ --hash=sha256:2e9cf9253119d8e5d111f05d71626786fd3d6193817316eab1ca088cdb8593cf \
+ --hash=sha256:2f06b7eae9dbe77fe1d644ca244dad508de8d302870a43f3c559b521270938a0 \
+ --hash=sha256:2f293479cce755c75f1697e87c409b7ae4c555c7dfecb6e988ad13abba943031 \
+ --hash=sha256:329fc3ccb63ad22d867d84c2adea759a64079a37ba4a343433b02c7a2816871e \
+ --hash=sha256:343fb4f2821043bd87095f7b08a1a181febc8e36ac64212143bbfd0a0e1bc235 \
+ --hash=sha256:3588e376b3ea2eea84976f67273d679f229e24c66dce7b82ae45aef04ff6e072 \
+ --hash=sha256:35aea775dc2bd5f54cd84a1cd2696cc3207c479cb9cf0bd346f0d343e4300ddb \
+ --hash=sha256:35fe081843b35aad20ffeccec3eeffbe637b15d14f3fb22cc1b59cd8ec17e93c \
+ --hash=sha256:36047af20e17097c3bb9476c2b7655f2f7aa51322c0ba58c07695bedf755a950 \
+ --hash=sha256:3617ac3cfd8b9888f145ad89dd6e692285834b0201c6074a5eeaad3fd4d668c2 \
+ --hash=sha256:366ec70f5547c640d3ce1985722490f23faf4eb5216a7eeba78277490e78dacb \
+ --hash=sha256:394fea06235c8543390050ed5f529187074b029fb027213f6c46ac11ab5d950e \
+ --hash=sha256:3d27167433c0d5f18dc850f07d0b3816221984fecdc405d6c157a6f0b8f8e9e6 \
+ --hash=sha256:3e5e1224c0a6a90e05843e07adfec669edebec17801c67072f51e59561d63c0b \
+ --hash=sha256:41876ee62a3dddf48ff1121ad8f0798032aa03f2fd35f21f34a4cab14f18d8d2 \
+ --hash=sha256:433c5a81eade63b47e522303bad236f59dba55ea6951746f5558355eeed8c75d \
+ --hash=sha256:4582c27e8c889d64811987b5967fbd3ae0c823fe1fd933b543d55ac20bb475fa \
+ --hash=sha256:485a0d363cafefcd2538a73c7c838daa2035f09b2c9f9b5e3133f80c6aeb84c2 \
+ --hash=sha256:494b70049a4d69aec6e8137c13af4cf8db8c9f9820a1392ac293b0dd2987a818 \
+ --hash=sha256:496846868fea80e479324862fa877f02411f2fd0f83b79ccee2607aa68b2a032 \
+ --hash=sha256:4abdc5f9ad448c1ecbfae2974b820535d6bc6e7eef63babbab3d81cf46968c71 \
+ --hash=sha256:4b599739b93b2cbeded49645ae3c8d1405c29ddfbceac1545c87a3f9580a9e96 \
+ --hash=sha256:4bea7f8ebe90bbd7f0e4a2de42ca6924ba23e3e76418c408ff82f1d46fabd687 \
+ --hash=sha256:4c4fb141a727957c93edfe5c32a26ceb6b5f6461d67146e2d39f51e16170bea8 \
+ --hash=sha256:4c9548dc78002099910abaebc0a72ac58b7d30931869e0351c09b507dff4ece3 \
+ --hash=sha256:4d26f14f041e83dd8edfd61f4cd4fa7285d31798b5bf1f28e70c367ba6c41d61 \
+ --hash=sha256:4f298bdadb8f0b9e5672877f647d1be9373ef5320c9e2f049795e26cad28b6a9 \
+ --hash=sha256:52ec005752a56ae79547a05c0139ca2501a0c866390b6115008456b9f0e7cde1 \
+ --hash=sha256:55261ac0d2941c42f196dd576f543d87a8ee03cd6f5e30dfb4d807b2e3b9121a \
+ --hash=sha256:56490c595a28b1bb27dfc583e816152a9767721ef58b2c03b13f954d2f707420 \
+ --hash=sha256:58d3e12c88e0950bca850ae1f7c256055c097639c2edb9eb123af9807d8b15e4 \
+ --hash=sha256:58d4aa13a59c969dbfdf9e6a9560e242cbfd9e8a8f50c2747714df1a423adf65 \
+ --hash=sha256:59171c6e45bf07d0d5cab3b0bf81d945035530f6873398b3b531c31184d46663 \
+ --hash=sha256:5b6d1386bf0096d26d3a863dc0a487a5b4eb9aa93cf5ba69683d29dde6b9d60f \
+ --hash=sha256:5c0ea61a470e070686aa30892fed79e297d2c8d0ab46b8bcdf027d38c51da591 \
+ --hash=sha256:5c84bec0ab5ae0c64bfe73a7d2adcb5ce73b467523fc27fd6a28ab2aa6cbe35a \
+ --hash=sha256:5ca0555312ae2fe82715cada7fac375530c2f3349e1eaa1bcb33d0283ac79a18 \
+ --hash=sha256:5d8531a6569d025f68e2321e7638fb7978f23db58e5f69f56913837aae03816e \
+ --hash=sha256:5e2d0e146dcb57034f8b97dc58d2d512cb90aba253960ce449f695fec6a82c6f \
+ --hash=sha256:5fc45d653ea8c9a20479167e11d4a0f8cb2fa3470737ab6f9c827532313187b7 \
+ --hash=sha256:6117b84ea48435e5356dc737f5121485c30920ba43375fa7b434fd753df0eac3 \
+ --hash=sha256:6199d5606e2bbf2b096cf64d03f8b6790c91081d5ac866b8e7bb6422738cc60c \
+ --hash=sha256:62b55f6722735a6c472f88361cde6640608773d9443cebdbb51abf436a1fcdd3 \
+ --hash=sha256:687c9ca3035544b113bea2055e180af96fb63c0c476e22a9180f51925186e7b7 \
+ --hash=sha256:6b7430cf5728e68f6c462254009a6ef4086e1bea43cf2f57aa9c55fb4f50ff96 \
+ --hash=sha256:6ba32c4d2abf1d2fe7cf27d280f4cca5664233b0f885549c7761719eb977f486 \
+ --hash=sha256:6c9cdde8becb25a7fde49924511aa2644d6f8081cc8df8e9452724303348d8e3 \
+ --hash=sha256:6df0ec430f9a831772c23ca5a224cba36517a58a84bb32c32bb59a9fa67c47f6 \
+ --hash=sha256:6e2912d4babbc65196ac13c2f53468dc57fb8b9c25ef913e8c59ddf7c6dc0e1b \
+ --hash=sha256:6e5e4d73d588ca5ed09df1b7dcd1b203d1df3c542e3f50d126c947d432b10731 \
+ --hash=sha256:70055ff39b97c99e7ae40ea3e393fb62aa2e44dbd9b29f8d14f42fb0025c3959 \
+ --hash=sha256:706bfd38730a5ac7a365793269a00f4e988178cec121391f4248d84ad8c972e9 \
+ --hash=sha256:7235dc28fc6dd9d832ac7c7bce95367dedb85929f17368a0c2bee1e080b9acbf \
+ --hash=sha256:774d157f112367ff4abd29019f38f023c24e00e56edc7829c20e358a5a913ad8 \
+ --hash=sha256:77efcff2b23071c349402ac1066667a3d011f62398d81408c9b88ad991747c9e \
+ --hash=sha256:789b8982559ae28dad2356519f841655756cdcd96616410590ae0b17454ee64f \
+ --hash=sha256:7ac76cf9afd34929d76eb7fcb63be476a4853d8a96f0dcf2d0db68a0cbdf9885 \
+ --hash=sha256:7c0c10730342b0c9b35dd1d619beb8214e520bd96a1f870f452680b238aab3e0 \
+ --hash=sha256:823f82903d189af463d7df250ef1f7f696f3cee08cc8d91deb565e8d425f6506 \
+ --hash=sha256:838648accb3a7fd9803fd45c87bce8509648eb0c11bc34e216141300977244f2 \
+ --hash=sha256:854066be00447fa8de2ccbbe893e2ffc4b123ef16d897af794c1e18bd4a714b0 \
+ --hash=sha256:85d5855daafc240cc045c026d7a15fd198a09b0fc8ff6f5ecbb5297b509cb11e \
+ --hash=sha256:85de3134b5379856e323ba37c19c9256d39425f7b76a63af52b09fb4664c2e8f \
+ --hash=sha256:87e4f41d375c0b9be2fb5251aee4b8a689169e134535aed81bf085c3b647451e \
+ --hash=sha256:88ca277405c2d3b71c4e1c2ee0e7966e807bcba86a69d11e19ba199d18ae4491 \
+ --hash=sha256:88e85ab89cb822c1e635f51d6d32e488f94e002e70e2f492bdb8b945543f345a \
+ --hash=sha256:8ac8c94b6539074e0f40899301273ac8402b9b3e01c7b7ba269ff30340aaaf20 \
+ --hash=sha256:8fe532b3c966d1fb794e0698e4589d0444017ae77fc0b31edea13c0e35bcc449 \
+ --hash=sha256:9085f87b0e38a2b92b8923059b4e8789fe40d9279712d15dcc670048d77079af \
+ --hash=sha256:90b7481fb62fbe172c558bc6fd1c4c98d82004a54a7551f20e11ac9bf0b8708c \
+ --hash=sha256:92caef967d287a407085d61176fce4012b1dd62daed4eb6d5ceb26d3d2538712 \
+ --hash=sha256:9362dd90aa7dab48c0054a21187791ccf05473f7dba5d92b8033ae62164675e7 \
+ --hash=sha256:94d78ecec2605a8d0398b0f365d5f12a63248438516f5dac536a5eff7337df4a \
+ --hash=sha256:94fbf1c0c6cc0d3d5e50f9a9313a8cdca90dd696d34b381cd1704f8c9e939f20 \
+ --hash=sha256:950f23cb393f85543777b0433f082cddd25b51ab398eac7971146495679efe5f \
+ --hash=sha256:96eefc178f8636b9c760c5829345307fd81cfae9ab1e80997dbddeb0f54ee9a3 \
+ --hash=sha256:96fef3e886d6a9874b14f27fc193fbdc69d5d8035783d86aa4e1cea594e695f9 \
+ --hash=sha256:977cdbd483a9cff38179bea4fd754289a6f2195c7abd414aba85410b3e66cc5e \
+ --hash=sha256:978eab16f55b4ab2c2a745be9a0a840bf8f09a7f227d9c76eb30214d078865a5 \
+ --hash=sha256:994e883d17c559cdfd38c84003c8b27d25424a1077272a17e7cd27bfe0bf57b2 \
+ --hash=sha256:9ac4444d8d4fd4c4bd08bf451ed3167aa9e7ec6cdb41b648794f1d1103652e36 \
+ --hash=sha256:9b5db6052055d34d41230fb78d7c439c23dc536a9896f6cb039e8dd92cfc1263 \
+ --hash=sha256:9d9a0dc7cbe9bec24c3f767c9122c41fe5a1bc43f47cd099d00d393e09769de4 \
+ --hash=sha256:9dbdd9205662134957cf0c324f639bdc5031c0ca056e2369e238db75187c0f11 \
+ --hash=sha256:9eea3ab2597a5e65fe65296e2d6a84570845a6b55532d90333d740d48bbc850a \
+ --hash=sha256:a2028475ba855475b8b4d3cfeb4994269c967aea8b9892dfba907f4263a863a3 \
+ --hash=sha256:a3a370082ce34d0612f421e15fe011c53bb1feff21a26d06ad4fb244dab5a375 \
+ --hash=sha256:a545775cfe815855ea32d7c27731d79da358ef2055b4a25830231b1622dd18aa \
+ --hash=sha256:a5cbd90ecf0fc62e64726917ad083b73001f0563657a87ec3c0b504e277dc90d \
+ --hash=sha256:a6d095662e73e74f0a49988e0593373e243e3a52e27bfeea0a859e88acf4a0f5 \
+ --hash=sha256:a6dac12ff6b846103483683f60c5f8fee205121adc58ffd87e90a90a3af69e99 \
+ --hash=sha256:a951ad59cad9145664a730d3036b40b844e74d2d3683da40111463cd3a83845d \
+ --hash=sha256:aa1099b956fb795e686d073568f6dc002a0bb89765ea6d5b055dd7d9bf1b116c \
+ --hash=sha256:aa2bb0b37202dca27175591f761108b5d34096ade1191ffe4808bdf6b1571488 \
+ --hash=sha256:aae2ee51122d3ae968a3837d97dc24a0aeebb0dea23694422cd172bd30017cd6 \
+ --hash=sha256:ab743e9bc90c1f73552ec33e10e3331315acd2c397b36065b591b0181de533cc \
+ --hash=sha256:ac00177c4831ffa650f8609e4bdddd5fe09c03b1c0c47acece7e6ea20421598b \
+ --hash=sha256:ac13b004224fb341e1e25a1ed5e19d32f57cdb2a403e01f003b46f051a550f6f \
+ --hash=sha256:acaf604462bf330b0d07e7a07c1d6e4adac79e5fb13e9c5140590542cafacc00 \
+ --hash=sha256:ae31a1a1db2ee6cc2942fccaf695c934bc7f3db9f2133a3fef1f367cf1a4ab10 \
+ --hash=sha256:ae4a097991662cd4fff0ddc74e0fe7874f82e00042fa0ea00855645ed0c79598 \
+ --hash=sha256:aea996a6aba25260827c9ea511d1addfde2da9eb686ac961838509086188b7e6 \
+ --hash=sha256:b39b69b347e5e47a3b5b8cfc005c68c1ba347474e3960236c4944a8ecd174962 \
+ --hash=sha256:b54e7e13267d49ffbfe68e25b3cbd774dab38fa37238f71265e91b36146eb21c \
+ --hash=sha256:b9af956078716df40d985fb0dfeb2c2120c5ca92ba4ff4b388acfd01cdc14d08 \
+ --hash=sha256:ba2f37ee79e6338845261a3c5b1784e5d1acdff2c0785b284f1b633033d136ab \
+ --hash=sha256:ba501e667c17d8411f98e67a022d9604ef179aff0e459b7e292c796837c13573 \
+ --hash=sha256:baf3775a2635e5a11fbd5e4e64ee69c7e86875d224a5c72aca4c141064589a90 \
+ --hash=sha256:bb57753e36e4855b8ca375069482250a6246372331a3e4f3407eaebb007443f5 \
+ --hash=sha256:bd6c173f04743d483881bffa1478d5a4624475b8cd1d2194956a75548e191c18 \
+ --hash=sha256:be47f99644b208bff7766314013f9acf57b056b04191d570d68ad14022cf5b1d \
+ --hash=sha256:c010f5581d9c612804cc59fcf7b524b707fbcb72828551237ab545bb5c7034af \
+ --hash=sha256:c1dcc36dcb96abc02236e182d17e0f71430152a6c2c7447421da2d2dc144edea \
+ --hash=sha256:c428c6c31eb5f4277d7f8eccaf767fbd548ddd5ce3c8b4f4cbbfab3d96b5904c \
+ --hash=sha256:c658c50ac0c98cd755a2dd50b7977d3bca7df401dcc47fbdfa87db53ef7d4e8b \
+ --hash=sha256:c71fb0d56c920c269cd3e2e3fe7c610e3f1fdb21a6ce60efa6430ff63676cea6 \
+ --hash=sha256:c7b742bf31c88566b4bb6335a7f393bb322e580b6bb98df7bd0c25e6e3519ce8 \
+ --hash=sha256:cc0329df4caaceb950d2f580b5ac716a377f7059624a0bafaeaf8a218c6ed774 \
+ --hash=sha256:cc5d36d96478aa9c60654bd932525bf32964c62a7281eafdf16d85003a8d6004 \
+ --hash=sha256:ce854f5f478050ade5a238731c4ca985a7d3b3cb53ff600a9b5c3b689b5f0a7a \
+ --hash=sha256:ced3fdd71aaa83ce593746c2edb42b7a59cb4c19c8b5c407781c72e493aae55a \
+ --hash=sha256:cee5dd7c6fb5dd52a0fe2a740f9bc6e3593f5f8b1788bde49de02086f30182b2 \
+ --hash=sha256:cfa1c0cc3a8f9f53f1243a5a99ac36fd003880199383b37672e86ddda9cb07e2 \
+ --hash=sha256:d1ee1e296209fdce05b81b663250eefa02213a2da7b41bf26f7829b8ba3545aa \
+ --hash=sha256:d59b75732e9b6f27388e10c14b0259cc5f2e48c78627d185e6a177b58ad3cffe \
+ --hash=sha256:d63600d620ad0064c3a748b950ac5ea38a80190e5498532efefa4b7b3f1da1f3 \
+ --hash=sha256:dd732602a7009217f658d5863d12d79d373a4de0eebc111094bcdd3bb8e0a6cc \
+ --hash=sha256:e06efa066f7dbadbc84ebc126a97c452a6451dfcf589d89d788484949e1cf795 \
+ --hash=sha256:e199fb99720074809a7720f1c0b4d919eea8b87e88713e0f8f602f7bef543d9d \
+ --hash=sha256:e4b018dc5a0eee4676e38fe84a47a427816c590b93b55d9025274ec4d6ffc2dc \
+ --hash=sha256:e6621fb2a4988d6e53eedc455e5903e2679f3967b8acb3d639f1b63c14a2e893 \
+ --hash=sha256:e71c909f353863b2b89c83de2ebed71ea6d0df8a6ef65a128193c5e650766bef \
+ --hash=sha256:e90251c0c7bdd54a100a0dce3c07b7e637278c93af29dbf78ebb89a58c4bac7d \
+ --hash=sha256:e9fbdce1e47394b09bc9f26ab117dfc8d6491977a11d86f592bb42c779db2fda \
+ --hash=sha256:eb12fb2ba69ffa05f8695f61c69e591dc4b4a12ac3757ac8af8adb259bf56d17 \
+ --hash=sha256:eda059b6bc8bc0812d626fd91a7ce01bf583df0a61296eff390fd94141a34e30 \
+ --hash=sha256:f03ac127268b43ef4fe9e6ab6794a6794b49485a0cc0c1db79876d2f33f75bc7 \
+ --hash=sha256:f298e218441525d3794428b4c8b8fb8662c6d3ea79925d4807ee6b9a96a3bca5 \
+ --hash=sha256:f5542f9b941279d82d41eb0aa9f98eba36fe4df5c7086c651df7944935b37182 \
+ --hash=sha256:f6f7deae3feb4edfa2efaf7c574fe88cbf055038a6abdb40188e4fff66d5699f \
+ --hash=sha256:f9b1e28d0e8dbfa858abdba91d6b547beaf2df1a59bec6da6faae7b96a4991a9 \
+ --hash=sha256:f9f8405c2c758532c74fed975dbee57be1f31a6e865c031870c79a6ed3212ada \
+ --hash=sha256:fa48b1b63d639f9483e0633e092f5851e2348c352f1f9bb6c8182f87884ef876 \
+ --hash=sha256:fb78f6e7fcd8ad785d28cd577168bc1aaee827b25bb8755638f694794ea98f0a \
+ --hash=sha256:fbc597639158fd7c14d55e808718848319540f51b0e6746e3eefa59723a4a348 \
+ --hash=sha256:fce8cbd4997efeb450bd298b54f755dcdff18d496f7a5ddbb4867c6d7c88fdc3 \
+ --hash=sha256:fd0350afdc3aabd5576f60ea109228bd5538139713c7b094c5cd27c73a98bc6f \
+ --hash=sha256:fd0a274c0e5f9a21565cd9d3dd749b61f96b7aa1e20a93aa1ba4029518f2e5c0 \
+ --hash=sha256:fdb8a068947befafba9952162645dc2fecaeb400e64584829ed5e9b2fbe21a7f
+ # via
+ # markitdown
+ # pdfminer-six
+ # requests
+click==8.4.2 \
+ --hash=sha256:9a6cea6e60b17ebe0a44c5cc636d94f09bd66142c1cd7d8b4cd731c4917a15f6 \
+ --hash=sha256:e6f9f66136c816745b9d65817da91d61d957fb16e02e4dcd0552553c5a197b76
+ # via
+ # huggingface-hub
+ # magika
+cobble==0.1.4 \
+ --hash=sha256:36c91b1655e599fd428e2b95fdd5f0da1ca2e9f1abb0bc871dec21a0e78a2b44 \
+ --hash=sha256:de38be1539992c8a06e569630717c485a5f91be2192c461ea2b220607dfa78aa
+ # via mammoth
+colorama==0.4.6 ; sys_platform == 'win32' \
+ --hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
+ --hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
+ # via
+ # click
+ # colorlog
+ # tqdm
+colorlog==6.12.0 \
+ --hash=sha256:2a7924c1dadf18b22a0eb8b06d1c7b01d5341707ec1641eb6fcc4fde0c3e8e5f \
+ --hash=sha256:30d392604e9110045a2c2aeefc27d7a017abbab63f3a8aee594eac0801df784e
+ # via rapidocr
+cryptography==50.0.0 \
+ --hash=sha256:031e2d5dd4bb9caa3ca9c82e5a197fd8ae680232cee62603d1a813f3f07e3d03 \
+ --hash=sha256:06a32a980526a6ab9a4b9bf8f7385800791e2bb960903cb6b530e4817509a3b7 \
+ --hash=sha256:07479a1cb08219ab719147e742e76090c9c773321959bb94946fffdd397a6437 \
+ --hash=sha256:07949c449a1abcf60d1ee6e88956d89404c7df3c8258f46589e912988e551987 \
+ --hash=sha256:105110f43a471dbd0060b9c9516cb8a6a79233631a04cc2ba16f28323ac6e025 \
+ --hash=sha256:11b74db56cdbe3cdee6e3f6982ecb70334fa10dce99ed58bf7894aaaa3b2a037 \
+ --hash=sha256:12b9c6996425c76ea6c457ace4f3073e715b8c545add07cd1a8f3a4f90691269 \
+ --hash=sha256:1489e263a8048bb8b6a8bac662eb2d402ea5d2b7b4699b72f385f1e2772db105 \
+ --hash=sha256:19736989797678c6af1e55cd49055cdbcb55d8f6b5583ac5335f933aba9101dc \
+ --hash=sha256:1b4a266766514614f8aa60416e71f2fc6e575d36e7bdc90f644fadb2f4b75b95 \
+ --hash=sha256:2a8183b489dc1f7f80f135780fadc1108f14b31b8a40411c7a5b17425f65f28b \
+ --hash=sha256:37fdb0d0111f1e2ff07139dfb79f1b49531f8e213c46f1163dd7642979b58c47 \
+ --hash=sha256:3f5735ffe4996d28b809371756219f5354864902a3b9e7c0b9ee87041209fc9c \
+ --hash=sha256:49e7d93abdbd2990caced757e5fade25302f719c3c8fb6e6fff2dde98999fc41 \
+ --hash=sha256:5e34edd123674534acd70147f0ca331eaa2c74e6325fb2028c886aa26ba0b68c \
+ --hash=sha256:62598a8a57f815db4c6259a4e97d857dab56697e7de8e8ab02352ab74da1995d \
+ --hash=sha256:65c2c3add92b45fd0709db8594536aea39c2a67af0e27ffcf049c498501140b7 \
+ --hash=sha256:6ba6a53445bd3cfa809ef3ef5f1589aa6ba08784a1d962bf47d0940e871dab1c \
+ --hash=sha256:6e7d61120573a7f2cd94cc095f9e81f6967c61ccdf194285aa143ecec8e0b708 \
+ --hash=sha256:7cec5b856506da6defb290f30c9ee687d5f5e8cb0bd3f6459dde43b0b4fa40ef \
+ --hash=sha256:80b63928fa35083b33966ce1efb70e5b9607181e49dcd1c22c8c005e319f667f \
+ --hash=sha256:82148ec5bddac30b51a5b3c1945075f896fa022cb93f8e4a01e9f6ee95292c5f \
+ --hash=sha256:828743d939e9629bc267b8e2d08d8bb67cd4319c771a33d4b18b22dd8fb7440a \
+ --hash=sha256:8d89f3976b10b4ce31118de72329025f70d2c6ead14a8217c5514dd2c6d5a78f \
+ --hash=sha256:8eb5e1172eb569ea8a872796576e6a67c276351728b6455d5beb01242b027c6a \
+ --hash=sha256:900131fafd8aead39ac7dd3a7e833be754c17a95cfd91221636949fe4eb0aa8a \
+ --hash=sha256:910d11e1a385c654bf738bf3e6b8e6ed5de0f5610fcae2be9e5b398d8081d20e \
+ --hash=sha256:910e1d2668e7de9648f2bcee30e180db2a6b15c30f887d7c4c93ddf96e3992e3 \
+ --hash=sha256:9aa87839c383bdbab6ef865787a1fb877af8dd03464c4400322726feaaadfc6d \
+ --hash=sha256:a1b30560f2acc95aa8b2e06e716a13dbfc97314747b80d9707e307f77b40d6b3 \
+ --hash=sha256:a91296cb61e8df6f86d0c19cc4068228da256bf59bf86049fbd821084565327f \
+ --hash=sha256:b42a28c1844fd9de8f3f7d540e36b66f3a9c83fceac7170ebc7a6a19edd9dcae \
+ --hash=sha256:bd1c592e4d5974f0d08d4888e432157adba757c66da0246918e43677fafa2d30 \
+ --hash=sha256:c87f62a3d3b9888ed0fdde100ec06aa61ca9cd44bad9057d1dff9a516b5f5bb9 \
+ --hash=sha256:c99c003e088647b8a5b7c145d6f78c335f6348332b62e142d411c4b63d1460b9 \
+ --hash=sha256:ccdc4a71a4dabae05de219404f9f4abc38e3b58422177ff93d0da05967dafa07 \
+ --hash=sha256:d24fead1d4d076e1bfb006dcec392074a3cd8d7b4fc8a595aa64073b2b7a96ba \
+ --hash=sha256:d58c3db7cd6eed54e6c06744db55456b65ebd7492ddeae9c1e93cfca7aa857d3 \
+ --hash=sha256:d764dcf130c428ef66786f866dd750f53182bc608813489915e9fc106bb0c82f \
+ --hash=sha256:df2a58a472f332225671c35b0a830208b86d004f82baa8530fa3782c85646533 \
+ --hash=sha256:e722f16708d854fe924790e051061f6704a472c3bac347b6fd88033ea8dd0dc5 \
+ --hash=sha256:ecfed7367f965a0328cfbdd70da860f15441f002f613185668c6e6ebf5a0ac11 \
+ --hash=sha256:eeac2acb5a20ed25e0ad6d1df9891a520b78b404266b6d11778f25d5d691a6c9 \
+ --hash=sha256:f59e38625469987d7ef6d495323c55e7db6c212eaf6112267e0d3b565a2e9c9f \
+ --hash=sha256:f89831ef99dd7dd169ab06d63a831adb9e20a87aac6d380266bbda5823349169 \
+ --hash=sha256:fd9192b7b70c573d7f214eb1ae35e00d359f6f5e4b27c7e21e30de1fc6204645
+ # via pdfminer-six
+ctranslate2==4.8.1 \
+ --hash=sha256:0030670278a73cae09dff9bca72cdd248af61f9367257f18db9b3b94fbb3a50d \
+ --hash=sha256:079976cbce3a68de04bf9948d08c96beb86df44e5cd2974e4187bc9c9bb388f3 \
+ --hash=sha256:12dbb5b756d0614d3943aa27b36da242ce173e9d21d90c7ec59592654f56105c \
+ --hash=sha256:1910752ec541980644191fa3b407bc61dee00e88070b0aed29b4cef75010b3ea \
+ --hash=sha256:2665cee79ba69a5f5f9a71b7821988f032ff13feab23fb2390b7b0399bf2a11e \
+ --hash=sha256:4242a7f8e285f922525f4cffd5b1fb43cbacc61d0611cf54832e9c447d030840 \
+ --hash=sha256:449ab612cdbc8615776b36bfa88fc1daa2d8d17e32a938bffac4743a79f80cba \
+ --hash=sha256:49f96e861b57301f0b76a082109bde2cac8204a6b4fedc870883008271e82251 \
+ --hash=sha256:4c2db633a06e3b34bbfb72fd26eee58053d9df1f9c1610ac4df3a6a1e25af7d7 \
+ --hash=sha256:5ca144b93035b9f53e6d67b7cdf5802c3fffca9aa0247940eecbd4592c68ce2f \
+ --hash=sha256:6a9e750fc9df4682d580891ef2b53c05f16c8da2c2b4baaa78fe8267d1dbfcfa \
+ --hash=sha256:71bd3bda759726f84869bb7d1e196daf6499f0f530395fc07b6deb89fb3d908e \
+ --hash=sha256:74bae0a8dc9f98c5a6100bf1c17a91782b384ea53b83e2606030ebf9f25318fe \
+ --hash=sha256:7a28c5889585cd17ee3649dfd46d9002ddf50204173f8bff476b9f76d6585795 \
+ --hash=sha256:82982f07a7d615d2248d17d6ec4c43cd50e534b094aa27cda62125a5e3a6e3fc \
+ --hash=sha256:82e0e6eb7d4301fd79a714495c8faf34242e09542cef04c9e9794c3fe90014a1 \
+ --hash=sha256:84723cae6f802551bbf2438e5e4810722631a2183b89a82c31df26566b54821d \
+ --hash=sha256:85ef15ce0b2172ec471975b8a30d5c5bc71e7cffcd163ad6c07ea32f1943d940 \
+ --hash=sha256:911a5cdef8a405c1804330613a1865f616eb9c092a0e932ee4648128eb20b627 \
+ --hash=sha256:9de0dddd91ae68da0a7323441e90708d14b31d31cd443004dda0e1198b5bf11e \
+ --hash=sha256:a2dcce0a57beee984a691d9daa8fc3fd389f5b6cada2644c34571011833bd5b1 \
+ --hash=sha256:aa0e71c5f1b509f8c972e2b80fa2ef2cef7fcf3344135fd4eb997b9fd5ff5577 \
+ --hash=sha256:ae3e18ee44c6ead07d86174ecb911a8445c0a531e6c40073a1a4ff6d672961cf \
+ --hash=sha256:b4c3246aa4a7f309109a841ca743a72cc4abad4f93c0bf7da691023323215621 \
+ --hash=sha256:ba628835e6ad4ad399261ab6cb51bf152de563e6b122a9e8eb0c61e69f925931 \
+ --hash=sha256:c0a584c17f21779eb9035bcbc1ec280998f90b36725b70a5ff911f33e343199a \
+ --hash=sha256:c90eb0bd67b6bb183712cc3fd14bf01ec4f622cd625c5b33cc6c56be7d1c9c34 \
+ --hash=sha256:c989f747789e8619cbc2e06443b3674c31bc71bad0369652485bd894b627360a \
+ --hash=sha256:d52499f05a60a791aeadee28d609efa130142f376d1ea76b2b1c593bb01f8827 \
+ --hash=sha256:d5fe13a18dfecb9d5a23d2d5cfa0f21db37aff18c46a2b1fe16495a11f1799b3 \
+ --hash=sha256:dacc408f716ebc73b3b3c6ddd937700e776c4c68b6d9c81862990150ff0f6af6 \
+ --hash=sha256:dc9f1abef55579cc02cdc74b3a55df38491ec56d177d6e6039609d61d09ed30e \
+ --hash=sha256:e3e3aef4670a6c8dcea367401675f82b49b02c18f5837221bcd7cca90b1707a8 \
+ --hash=sha256:e42ce3affb03ffc661e8f35d6e7845f16e6463884b9ba7857396d649520da819 \
+ --hash=sha256:f3172c29470c1280ebb9f4a53aa4a913650e091f95740c732cd13b4b910c734d
+ # via faster-whisper
+defusedxml==0.7.1 \
+ --hash=sha256:1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69 \
+ --hash=sha256:a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61
+ # via markitdown
+distro==1.9.0 \
+ --hash=sha256:2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed \
+ --hash=sha256:7bffd925d65168f85027d8da9af6bddab658135b840670a223589bc0c8ef02b2
+ # via openai
+et-xmlfile==2.0.0 \
+ --hash=sha256:7a91720bc756843502c3b7504c77b8fe44217c85c537d85037f0f536151b2caa \
+ --hash=sha256:dab3f4764309081ce75662649be815c4c9081e88f0837825f90fd28317d4da54
+ # via openpyxl
+faster-whisper==1.2.1 \
+ --hash=sha256:79a66ad50688c0b794dd501dc340a736992a6342f7f95e5811be60b5224a26a7
+ # via -r requirements-audio.in
+filelock==3.32.3 \
+ --hash=sha256:0ffa185a3540854c95caa7fa76b76cb219d907415e2c5dc9af25fd970563487f \
+ --hash=sha256:7f0ca4bcc0e181c60dbbd8aa9ab5b120ebb99e4e064e83636340056f833a1f09
+ # via huggingface-hub
+flatbuffers==25.12.19 \
+ --hash=sha256:7634f50c427838bb021c2d66a3d1168e9d199b0607e6329399f04846d42e20b4
+ # via onnxruntime
+fsspec==2026.7.0 \
+ --hash=sha256:b57ddbafedfaef7018c1ecab32aa200a9d7ca26b77965f64e48b70061249d279 \
+ --hash=sha256:c803c40f4cf860b49dea58ee3e1c33cb9c790520e233537e1340049f89b82a88
+ # via huggingface-hub
+h11==0.16.0 \
+ --hash=sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1 \
+ --hash=sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86
+ # via httpcore
+hf-xet==1.6.0 ; platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64' \
+ --hash=sha256:0e6e21fa3cdfcdcd76748564bf593870a5e013f47d97cf10aed63aa222cff5b7 \
+ --hash=sha256:23379c2f9ec8696d952b16414a2bae72cad86a52df869b050698ba60f538c675 \
+ --hash=sha256:2e58454a340b3556dfa4972d5451aff4fba8dd42a236600ba1a1d2b1514f0fef \
+ --hash=sha256:35cec30d75c6f9eb9c16a77cef68e85a103b72e24d4b473714ec9ff06428bab9 \
+ --hash=sha256:3dc3e35441ba395006af5aaacc40ef2e603c51ef46c3530b9156185f00935ea3 \
+ --hash=sha256:4fc74352a17015bd0ee90038bc9efe38db894cde45f268b6712b04fce8cd0acb \
+ --hash=sha256:5153e6bb103ad49d6ea9f1b2e230db5a2ea32551ad09a706d2f61d7c7c80d80e \
+ --hash=sha256:5789835d7c6bc9436962853192082374297fb72d7eff7e7762ec25ceb7e25338 \
+ --hash=sha256:633dc0cd71d32da58ab8c03ad38e2fac452c15c2b0a2866ebf6ededfe0a5061d \
+ --hash=sha256:70cbb9c896901600128cb9b6f06e132954fbede1db30f31f7c6c63f84cb7c31d \
+ --hash=sha256:75765820ce4700db3750c94acc8fe27c5fae4c9ec000a0dbac3ca082acf97765 \
+ --hash=sha256:8fb4f71cba6129110c3374a33f919001ff130488fc23553698e34cc1c2a1198c \
+ --hash=sha256:948f15d3a9545cfe5932f6bd8b440f6ae630aee108f14b7bd6c561f7c2dcc522 \
+ --hash=sha256:d62671bb130879cef0ee4c9ebe47a14af6c66ec53e6d84dc15936e5ffdfac82f \
+ --hash=sha256:f0906082d9932ae0c0057fa194041c22b4e2cdb46b2592ef3b91f020d62a081a \
+ --hash=sha256:f2f7278c05c22fd60cb436cda1269649b3e81db65ecdc8496e5e164aa4143e7b \
+ --hash=sha256:fb4fadde1b2b70bf4c0c14a6dccbe7194b1c28947fefd5bbe3fed9d940676c3b
+ # via huggingface-hub
+httpcore==1.0.9 \
+ --hash=sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55 \
+ --hash=sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8
+ # via httpx
+httpx==0.28.1 \
+ --hash=sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc \
+ --hash=sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad
+ # via
+ # -r requirements.txt
+ # huggingface-hub
+ # openai
+huggingface-hub==1.28.0 \
+ --hash=sha256:46a2e950c09234de54093d587d1675382f0d08dbd600d9fb599b5932f5b2c6cb \
+ --hash=sha256:58a8bacb03072edfc38067065e9dc24bbb34805410fcd36a1632de0b329660bb
+ # via
+ # faster-whisper
+ # tokenizers
+idna==3.19 \
+ --hash=sha256:5e0811a4383b21dc5838069f801c4fb62113b7447663d2530d2bd6e77b49bf15 \
+ --hash=sha256:815e7be7a7806d54abb586dc943addc79e8b2ee16915059658cbeff4b1b43bf4
+ # via
+ # anyio
+ # httpx
+ # requests
+jiter==0.16.0 \
+ --hash=sha256:0542a7189c26920778658fc8fcf2af8bae05bae9924577f71804acef37996536 \
+ --hash=sha256:0758ab7747a984797cf048e8eedea1d8ef39d7994b25611daf5b48fc903e8873 \
+ --hash=sha256:0df91907609837f33341b8e6fe73b95991fdaa57caf1a0fbd343dffe826f386f \
+ --hash=sha256:0e2e9efbe042210df657bade597f66d6d75723e3d8f45a12ea6d8167ff8bbce3 \
+ --hash=sha256:0fa25b09b13075c46f5bc174f2690525a925a4fc2f7c82969a2bbabff22386ce \
+ --hash=sha256:10438939205546132189c8e74a2d536a707841f3a25cd7c74ee91fe503407a26 \
+ --hash=sha256:12288303c9844e61e1651d02a9a6f6633e47d39f897d6991d1427161ce6b746e \
+ --hash=sha256:17ca7fae79f6d99cd9a042b75f917eaada7b895cfc7dd2ee3a16089dcaec7a85 \
+ --hash=sha256:1878349266f8ee36ecb1375cc5ba2f115f35fd9f0a1a4119e725e379126647f7 \
+ --hash=sha256:1a0f05e229edb29e68cdd0ccb83cea13b64263416120cf943767a6fd72e6787f \
+ --hash=sha256:2577196f4474ef3fc4779a088a23b0897bbf86f9ea3679c372d45b8383b43207 \
+ --hash=sha256:26798522707abb47d767db536e4148ceac1b14446bf028ee85e579a2e043cfe5 \
+ --hash=sha256:26d122613ada2b708eb714695446f40fce5bdf2edb4b02116dec62faa62dfab3 \
+ --hash=sha256:2a0d46ef67cc58d906a6132dd3040ca70ae4f0b0d7c9c052fe432c658a69b3f6 \
+ --hash=sha256:2a8e9e39cf083016137aa5cadafe3188adc2ba6ba1fbf1e5d18889ad3e9ad056 \
+ --hash=sha256:2c842cbf374a8daf50b2c04212995bee34ca2ac2cdc29a901b4cdb072c9c4131 \
+ --hash=sha256:2ed5738ae4af18271a51a528b8811b0cbfa4a1858de9d83359e4169855d6a331 \
+ --hash=sha256:3126a5dbad56401989ac769aca0cb56005bfb3e2366eea0ca99d1a91c3c1ee03 \
+ --hash=sha256:31aaee5b80f672c1dc21272bcfb9cbdcfc1ea04ff50f00ed5af500b80c44fa93 \
+ --hash=sha256:3a23f0e4f957e1be65752d2dfac9a5a06b1917af8dc85deb639c3b9d02e31290 \
+ --hash=sha256:3b21b412b899fd8bd51a3046934b59a3bb068b79f70a5c6010053ac77cc53f0c \
+ --hash=sha256:3c1fd2dbe1b0af19e987f03fe66c5f5bd105a2229c1aff4ab14890b24f41d21a \
+ --hash=sha256:3f4d9e473a5ce7d27fef8b848df4dc16e283893d3f53b4a585e72c9595f3c284 \
+ --hash=sha256:3fb7bc819187b56dc48aa5c833aaf92257da8e07efdb9306156667bd2eeb491c \
+ --hash=sha256:41977aa5654023948c2dae2a81cbf9c43343954bef1cd59a154dd15a4d84c195 \
+ --hash=sha256:44d019fa8cdaf89bf29c71b39e3712143fdd0ac76725c6ef954f9957a5ea8730 \
+ --hash=sha256:46add52f4ad47a08bfb1219f3e673da972191489a33016edefdb5ea55bfa8c48 \
+ --hash=sha256:49060fd70737fad59d33ba9dcc0d83247dc9e77187de26053a19c16c9f32bd69 \
+ --hash=sha256:491e7d072a253b156fff46b78bceac4652a697aa8d7082c9c18c03d7b7917d24 \
+ --hash=sha256:4a1d68ff7ca1d3b5dee20a97a3decda7d5f15003823bf6d140c81f8561d3bc5c \
+ --hash=sha256:51d7b836acb0108d7c77df1742332cac2a1fa04a74d6dacec46e7091f0e91274 \
+ --hash=sha256:560b2cf3fb03240cd34f27409a238547488708f05b7c3924f571a60422251ec7 \
+ --hash=sha256:561926e0573ffe4a32498420a76d64b16c513e1ab413b9d28158a8764ac701e5 \
+ --hash=sha256:57b37fc887a32d44798e4d8ebfa7c9683ff3da1d5bf38f08d1bb3573ccb39106 \
+ --hash=sha256:5a71d0d2014c3275043e1170bf3d4e771493cb0dcf07be54c567155f4d8ee64b \
+ --hash=sha256:5ab4f50ff971b611d656554ea10b75f80097392c827bc32923c6eeb6386c8b00 \
+ --hash=sha256:5af7780e4a26bd7d0d989592bf9ef12ebf806b74ab709223ecca37c749872ea9 \
+ --hash=sha256:5cf109d010b4b05a105afb3d43be36a21322d345ad3111e13d15f680afef0e5b \
+ --hash=sha256:5ed466aee31294d7cdcd4d37dfe5c42c97bc29d9a5f00eacf24504358309cb9b \
+ --hash=sha256:616e89e008a93c01104161c75b4988e58716b01d62307ebfe161e52a56d2a818 \
+ --hash=sha256:62c1b7fe1f77925acf5af68b6140b8810fa87dfd4dc0a9c8568ec2fa2a10429c \
+ --hash=sha256:63efadc657488f45db1c676d81e704cac2abf3fdb892def1faea61db053127e2 \
+ --hash=sha256:63ffdbdae7d4499f4cda14eadc12ddcabef0fc0c081191bdc2247489cb698077 \
+ --hash=sha256:64c0203212098470032aabcde9356fc168f377aade3e43def61dfe17e92f2037 \
+ --hash=sha256:64d613743df53199b1aa256a7d328340da6d7078aac7705a7db9d7a791e9cfd2 \
+ --hash=sha256:659039cc50b5addcc35fcc87ae2c1833b7c0a8e5326ef631a75e4478447bcf84 \
+ --hash=sha256:6722bcef4ffc86c835574b1b2fac6b33b9fb4a889c781e67950e891591f3c55a \
+ --hash=sha256:67c3bc1760f8c99d805dcab4e644027142a53b1d5d861f18780ebdbd5d40b72a \
+ --hash=sha256:67fddeda1688f0cce2d2ae83ccf8a80f79936f2d2997d6cc2261f82fdb54a4d3 \
+ --hash=sha256:6edb63a46e65a82c26800a868e49b2cac30dd5a4218b88d74bc2c848c8ad60bb \
+ --hash=sha256:70a490b55634dc0d2606ce8a8e01b1d62459011beb368d15d76e1eaf62460e3d \
+ --hash=sha256:710cc51d4ebdcd3c1f70b232c1db1ea1344a075770422bbd4bede5708335acbe \
+ --hash=sha256:741eed508c233a76313a1c7b001f8f21b82f14327e9196ae8bd29a2cc164ae84 \
+ --hash=sha256:7b24c3492c5f4f84a37946ad9cf504910cf6a782d6a4e0689b6673c5894b4a1c \
+ --hash=sha256:7c9610fd25ebccb43fca584136f5c2fbb26802447eccd430dfdbab95a0fd5126 \
+ --hash=sha256:850ccb1d7eedb4200f4014b1c0e8a577de114fc3cd88faad646dcc9bc4bb12ad \
+ --hash=sha256:8597d23c87f59294f83bcb6229b9ed1fccee13dbba967b46930d2f1759466fee \
+ --hash=sha256:8d031aabecc4f1b6276adfb42e3aabb77c89d468bf616600e8d3a11328929053 \
+ --hash=sha256:8d30a4a1c87713060c8d1cc59a7b6c8fb6b8ef0a6900368014c76c87922a2929 \
+ --hash=sha256:8fb8de1e23a0cb2a7f53c335049c7b72b6db41aa6227cdcc0972a1de5cb39450 \
+ --hash=sha256:8fc4d94713c4697347e38faf7d6ef91547c142219bdcfc7220c4870879974244 \
+ --hash=sha256:96e38eea538c8ddf853a35727c7be0741c76c13f04148ac5c116222f50ece3b3 \
+ --hash=sha256:9acf1b2faec82d998811ecce7ae84d9005e53410773e9d37d61cdc424ba4581b \
+ --hash=sha256:9c8a956fd72c2cf1e730d01ea080341f13aa0a97a4a33b51abebe725b7ae9ca9 \
+ --hash=sha256:9ec553a99b0987efd7a3645a1a825cf29c224e494db267a83369fcc8da9aeda5 \
+ --hash=sha256:a111256a7193bea0759267b10385e5870949c239ed7b6ddbaaf57573edb38734 \
+ --hash=sha256:a32d2027a9fa67f109ff245a3252ece3ccc32cc56703e1deab6cc846a59e0585 \
+ --hash=sha256:a5c54ef4ff776d9675837ef535b3308d6e31c208d43ebc44a0f7ab8a208c68f7 \
+ --hash=sha256:adbb8edeadd431bc4477879d5d371ece7cb1334486584e0f252656dd7ffada29 \
+ --hash=sha256:adff21bc78edfe086c15eb495b900306076de378dc2337c132401fc39bd79c91 \
+ --hash=sha256:b1e7923093a376d93c6eb507c77045ae258d689ba577392846a1b3f10d0b09a9 \
+ --hash=sha256:b2c61484666ad42726029af0c00ef4541f0f3b5cdc550221f56c2343208018ee \
+ --hash=sha256:b42e9ff5376819c053da25809a8d4b6fa6e473b4856ebe42e298ac958be3d7f9 \
+ --hash=sha256:b72d0b2990ca754a9102779ac98d8597b7cb31678958562214a007f909eab78e \
+ --hash=sha256:b7dc85ea77d4abbae8bad0d3538678aedee75bceec4e2f6c8dfb1c74772e5aa5 \
+ --hash=sha256:b8a3f9a6008048fe9def7bf465180564a6e458047d2ce499149cfbe73c3ae9db \
+ --hash=sha256:baad945ed47f163ad833314f8e3288c396118934f94e7bbb9e243ce4b341a4fd \
+ --hash=sha256:bae96332410f866e5900d809298b1ed82735932986c672495f9701daacd80620 \
+ --hash=sha256:bc837c1b9631be10abfe0191537fe8009838204cec7e44827401ace390ddb567 \
+ --hash=sha256:bf3ea07d9bc8e7d03a9fbc051295462e6dbc295b894fd72457c3136e3e43d898 \
+ --hash=sha256:c22a488f7b9218e245a0025a9ba6b100e2e54700831cf4cf16833a27fba3ad01 \
+ --hash=sha256:c4b4717bdb35ae456f831a6b08d01880fff399887a6bbc526a583a406e484eea \
+ --hash=sha256:c5fc4f8def331036a7b8e981b4347ebe409981edbc8308a5ea842b8c3614fa6c \
+ --hash=sha256:c682bea068a90b764577bdb78a60a4c1d1606daf9cd4c893832a37c7cc9d9026 \
+ --hash=sha256:c90c0f63df322be920eda6ce622e3083d8906ba267f8220fe7873213b8b4430e \
+ --hash=sha256:c9c53be232c2e206ef9cdbad81a48bfa74c3d3f08bcf8124630a8a748aad993e \
+ --hash=sha256:cbd18dd5e2df96b580487b5745adf57ef64ad89ba2d9662fc3c19386acce7db8 \
+ --hash=sha256:cf0d73f50e7b6935677854f6e8e31d499ca7064dd24734f703e060f5b237d883 \
+ --hash=sha256:d284fb8d94d5855d60c44fefcab4bf966f1da6fada73992b01f6f0c9bc0c6702 \
+ --hash=sha256:d28bb3c26762358dadf3e5bf0bccd29ae987d65e6988d2e6f49829c76b003c09 \
+ --hash=sha256:d5bf78d0e05e45cfdd66558893938d59afe3d1b1a824a202039b20e607d25a72 \
+ --hash=sha256:d5f91b1c27fc22a57993d5a5cb8a627cb8ed4b10502716fac1ffbfe1d19d84e8 \
+ --hash=sha256:d8f80521644426d451e70f00c7974240cab8f6ee088aedaa9af2697153ab7805 \
+ --hash=sha256:da3d7ec75dc83bb18bca888b5edfae0656a26849056c59e05a7728badd17e7af \
+ --hash=sha256:dab907db06fc593645e73109acf4581ba5b548897d28b9348dc41ddc8343b2d3 \
+ --hash=sha256:de5ba8763e56b793561f43bed197c9ea55776daa5e9a6b91eed68a909bc9cdbf \
+ --hash=sha256:e03a5f21a5ce96a9441b8cb32719a8b88ed5388f53e0f339c5bcf54f1317f9d0 \
+ --hash=sha256:e34e97bda77eb63242a410243c071e28ac7e0d8c0948c5ee658498690a4b2f2f \
+ --hash=sha256:e431cfc9caf44c1d5459ff77d4e64cbf85fddb6a35dad836a15c6a9ec23087c1 \
+ --hash=sha256:eab2cd170150e70153de16896a1774e3a1dca80154c56b54d7a812c479a7165e \
+ --hash=sha256:ee6162b77d49a9939229df666dfa8af3e656b6701b54c4c84966d740e189264e \
+ --hash=sha256:f17d61a28b4b3e0e3e2ba98490c70501403b4d196f78732439160e7fd3678127 \
+ --hash=sha256:f3bd327cdfa118bc1ce69c214c2678571d5bd39b8ccd0ebf43a54db00541ba9a \
+ --hash=sha256:f4444a83f946605990c98f625cdd3d2725bfb818158760c5748c653170a20e0e \
+ --hash=sha256:fb08c276dd02dac3a284acdd02cacc630d2e3cd6572a4b85519f35cbd133c3de
+ # via openai
+lxml==6.1.2 \
+ --hash=sha256:0349321a0537d4fdbebb2af06dd1b64676132c72e2ae250de8cdb58f8c43019c \
+ --hash=sha256:04cf9e3f4ee9cab9d9ba05401bef8668840fa9620fcd4d8e85a2d2fd0b0fa960 \
+ --hash=sha256:054175250531a5fb102d485743ff16412279c93add12385b3b1c3d7b16d8deaa \
+ --hash=sha256:058c79e172926ef524fb3c7c6beea4b55e15886ac99cb0c139ecaac6b375f1e2 \
+ --hash=sha256:0666943ee1576fa890a6dc6316ef42e8241b5dd56f67bc5475acb2ac298c6ca9 \
+ --hash=sha256:074a88f70a7360a4a0c5be5d898062cd26f898c25b459efb1bdd43ae700c5a1a \
+ --hash=sha256:08cd52e6487435c75f2da0a5b276beef7fed161681b93ab766e66b954f0c349a \
+ --hash=sha256:08f0c9ed7cded07c5e798b17c9c25bbba5d0650c8ff0a7f65f84c634966f0f10 \
+ --hash=sha256:093fbf547d0f3ca02705381f795a050fbb58988be4aac7f79f99f280c4082313 \
+ --hash=sha256:0aa07065497f191ad26c4b587ce5dbb5a7105285a3789aafd0661750e8bac537 \
+ --hash=sha256:1055241852f2b02068af4a625a5d32c087db193c12251928af2562ecd2239f18 \
+ --hash=sha256:1133bd969f2bfcc6b0c0cf7cdf5f2631e62b23fa2471ee8bd44f6ab73554ee9a \
+ --hash=sha256:11f529062255209a421ae4de5b1bb36b2f0a2e1a700745e675a4bf4084d13c00 \
+ --hash=sha256:12acd337d2821cb8b9247dfe4b7aa2f2769a3df5ae8511b7e550df42b8f4d3c3 \
+ --hash=sha256:12ecfea07d767f6accbf30b014e1c477b5eabb13eb4e8c748215efb52c0e314a \
+ --hash=sha256:14879fa5eb2b793c040bbfcb62011aa3015c65d6c9875e063ea98ce2029d51fb \
+ --hash=sha256:18467b0e9f7f0bc477df69e99829a59ae17fb37d34e5f68399371c7c67be9002 \
+ --hash=sha256:1a2331da06dd55a8184985306eb2afd72d708283ce7e85d67bba77317b785060 \
+ --hash=sha256:1c0173595dc1c25768f42681a1517dcfc74bb18a34695f127931cbd05f4dead6 \
+ --hash=sha256:1c4c6dc1b2485aaa4adfb6ed754f90dddcb2b96a66bbebc9e1ac242b5ce5e818 \
+ --hash=sha256:1d55a614d2f0457b1f7511c1b7bec0db0dcdd4af4d09d226829eb054c647527c \
+ --hash=sha256:1e3c67b817867c484794d7fe0d73045d7d0c67460c78a0a1249a9e92266e6a0e \
+ --hash=sha256:1edca8f4a92b94e873093df959f141d388f2141fcad0c47598442fb4730ef57a \
+ --hash=sha256:1fcfe8481302e6dec07909914b8f3f9e1739ae1615209d4b9e7544325fb699c4 \
+ --hash=sha256:20134744db7abcbd5232214e767814ef64e5ab57a5b7df93a2bd68b74ef0a6c0 \
+ --hash=sha256:215bb3cc4be015ccac3c7d4f25eb7b941f857fe5b02c0e3504cca61f7fb12455 \
+ --hash=sha256:2170d0a280c877b6e2dc6738217db947be35dd8cf09ca458b355aa1bab2a9e70 \
+ --hash=sha256:2374235206ec83d4827ad219c93c0f7366b93626eab85392c0ee7c8026649376 \
+ --hash=sha256:243ecef7cb7415766dd742336cd5b8361a84c6f297e2773c865b783724cbbe74 \
+ --hash=sha256:261d98065326676d7253882db0198d0aa06748d7ee0443367acf10b148273f99 \
+ --hash=sha256:26ff164c6629e5c4d11c9e55d5ea3d6eed0be2a420eee1f55cbce6e2c23e231a \
+ --hash=sha256:2afd1688e372d8eafaa6f56c589399e0a87d086a0c110f6346b0b50f42e67e25 \
+ --hash=sha256:2dcc69e307e0916c7a0b552212010938d02a664d29b6bda75ab2bc5fa487c861 \
+ --hash=sha256:2e37fe49fe2d5aa40a2cb1cc8176673ad7de0d124e6f4a509d9318f5979c7871 \
+ --hash=sha256:2f3194777c0d05945ac91d8594be25d2679d1d826e01e1fc90bae568ff3a547b \
+ --hash=sha256:351318f5c0eb7fcab5b4fdb507c6f88fb2c4b5e67784c7e5911448c91fffb5d4 \
+ --hash=sha256:351855814dec4ad55ca5f24d0f4b1cdaca7927fe48023a2965351845f3b60cff \
+ --hash=sha256:3a698fad6f122a9b3e2dc2fb598c1de7329c74a67c7a334c9109a440de2508e5 \
+ --hash=sha256:3be94d2464f19e42d8c39a299f356b12f2fd095c28793671eabfcd9db9c76987 \
+ --hash=sha256:3e3b666f57a5d81562f38c766c762416b0f6eb58a00590546911514b48412abd \
+ --hash=sha256:40366c23a938008a3bedfcfd80709b3a857c188b4d710b083e978ef5d2c1c715 \
+ --hash=sha256:4303f904fb6c41b58dc70743b1d8a470aba6c9897427c48324cff1a95673ddb4 \
+ --hash=sha256:442766b326d9892585a64e8c6c4b5ab81d0e6c0538c9f0fc11a84dc101a5d97f \
+ --hash=sha256:446f1f92c137e0cbb97eb7e932e15315c11a7c86974f43f15e68c9707ac6a9f6 \
+ --hash=sha256:4618b20f43dc98b49569b1dc822176140ea0f2598d672a6989187ba49bcbfec1 \
+ --hash=sha256:4622c5616683faf63791b349e6c8dad7717412dc5f29f4febe7575f110609a86 \
+ --hash=sha256:47c92dc5167de16e27ace8332454f12ba172dcab04f7a78a9eae14e2e41b6a41 \
+ --hash=sha256:47e367dfe341521426692819803e260d0673899c0ff611f14af978d725e2c999 \
+ --hash=sha256:48e912f37c99a297175ba955f55a47c0e1c834b506ef162e52a6e4fe276e6e45 \
+ --hash=sha256:4a16457e330b7099aa5a8e8bfa5d53a33a1672a819fa656157e9e6dc433ac7a4 \
+ --hash=sha256:4aced3284e0353c798b060fe2c175eb81410e99b9a7e2ae6951be5333732b111 \
+ --hash=sha256:4b0fa7109b1d0bc1747d8241a0853e135eefb1c978685241b544c46937383efd \
+ --hash=sha256:4bf14db2f0214003ec7f46c4300e2065668fc93e20448c1c95bac2e952072168 \
+ --hash=sha256:4e220a9c297e5d36895d489a08c9a3f1f6193b6414e702c5fb751e4a3767f8d0 \
+ --hash=sha256:4f4d2c36fd5997d30ff19c29fb93293401d0daaf87512297d47610e6883964b5 \
+ --hash=sha256:5078ff51e6316c0f75ea8127c2cd24374747fb351f62fb93d1761f8ae5a04a40 \
+ --hash=sha256:50ee0c360862f4152db835b456e38614f94b674bca2a47bc8de7171ee6ccbbb8 \
+ --hash=sha256:522387e05cd015a81d1dc621fb167fb42b8f629ccd2e8b39de583828f165aae6 \
+ --hash=sha256:5295205fd57510c19a0e46385b516119f3a781d45c2672159bce02949238981a \
+ --hash=sha256:52f6d4dff133c9778a24e9a2cfc1608930b15869866171aacc5131b5a418a003 \
+ --hash=sha256:57188e441ab24f906bd5a5c14eb55363ab51aa6c0de549f3dd320043721cc118 \
+ --hash=sha256:575fef7f30048b744dffb3e4ff64a18cac7dba3fd26efdea5730ade9d1bdeb33 \
+ --hash=sha256:5848f3de6a8de8a93cff9f068134393ff5fa69ac2a04399f7d49cd67c61c348c \
+ --hash=sha256:5a096d6a5f96b776a5b020cb45c17c545effd2a3b6639e6fa97bc95537600923 \
+ --hash=sha256:5c2bae42b3a09f977330a08f4a8fe72aec58c4bdb89069d3fe7272a71d885881 \
+ --hash=sha256:5d78ba560f3dd404d87b1fcc89b2b382d638ea2998431a3b2e5cda0f3ba2da91 \
+ --hash=sha256:604f4778632588d7c000e7e19430639dc12fca58b5b6e99edffba7631725ef0e \
+ --hash=sha256:614d4c5a34556e369b86cfcc8d0cf71cd0759a3444a464a07a9427ab0f5e3a99 \
+ --hash=sha256:6330cf0ce83f6273ad8ad99bdd25d6ebb3863912f9ac717f96bc8942706e0e26 \
+ --hash=sha256:633ac039cb32366dd5935868e041e385875c017b8cd54ea56aeee3fe29ca5935 \
+ --hash=sha256:6454d184d556eaf4cb3d6f69e405d21602d6fdcf08b8d57796824275986c6595 \
+ --hash=sha256:648861c19b775b89ebefa14586f85090b10163367476d77f242c4131c835ce73 \
+ --hash=sha256:65c32ddc5d0750129c7b119fb57d48192b76d334c21e6b690d19dfb06b34af79 \
+ --hash=sha256:662432a6103e671d971e06e75ed146d9ff67f39d2c98c2f26613b6057f54eafc \
+ --hash=sha256:678e35f1cbca98f55107511ee21a60568535c950f3c2371819bd64504c980d20 \
+ --hash=sha256:69df1856cb6c065e5bfd23adcc7408bfa6dcf32b0018373a99b0769bd86e2256 \
+ --hash=sha256:6c9cc4b6532abe154dbdebb42aaba8d52c852919591e45067f5b7d46a0405e88 \
+ --hash=sha256:6cb0c87421946030b92b558be416852780a912454e3dcba0998e4497c9c588d5 \
+ --hash=sha256:733dfb492ec3dfef8350a5cc896e90d202c5171e791e1609e77563751d69a15d \
+ --hash=sha256:75530642d8471327e691ab9b0513a5f9c77f38871014ceda40f51bb51765c0a1 \
+ --hash=sha256:7766e525282dd38fd89567311323e441996eb958e8e816d16b38f782e3aecd2a \
+ --hash=sha256:785761d5123f222cd97f2263a510107226fe32ce7aa7824a90616a41c574ace1 \
+ --hash=sha256:79b428c3242e63bdacf3b526a34e0b8b26583846fc597da84b8f0c3d5ea446b2 \
+ --hash=sha256:7c444c3a6e8e75334879980eed96568f0e12064c8b1913424eac1805e976736b \
+ --hash=sha256:7c482e87cc86bed78a50462560675bc2c348ef72c47596f9b933346d5a8e920e \
+ --hash=sha256:7c534ed898413f439b048130011e99a4245ee13d62d431f6b4f7f2484d02a93a \
+ --hash=sha256:7c687fd8e558c7d169f6f1987b696f37824d3a097f291bffd0ab4a2ea2307dfb \
+ --hash=sha256:7d506bdba580ecb1a6ad2e2b5c49445e66d3e1f95894885739094393a1aad237 \
+ --hash=sha256:7e81fc065ede5d58dd0bf0912025aee1bd04c52c2affd61fdb93226a97ce2fc6 \
+ --hash=sha256:7f35ba7667004ecdafebbe08da7c9fa06ee6195275bb7ef7a29ee1901e69519c \
+ --hash=sha256:7feb72424f19a893ae4f3373c7aae821b1aacb6076b708915c651f0683a97c49 \
+ --hash=sha256:822d9397033edbe530a13bb1e0091c0e817536b6aba87a9b4ad626ed779ca0bd \
+ --hash=sha256:827438bf6c8292d22a409bb7990d7cffce410f33e7664e46ca74d2ecc26975ef \
+ --hash=sha256:83e7510a6dda8df41d1b68b783de2953b3feb55a11dcebf693201ebaa5cc0c4a \
+ --hash=sha256:841630176c15fa5d3c5cd6f755435d3c5540a82e1dd2a7de1799401f92ee6d24 \
+ --hash=sha256:84a2a46b93b789d8acb44cfcb3d967ce9dbe29884ddb93fbb1a33f0e0c8fcd86 \
+ --hash=sha256:8512b3775d68994dd1d6d533161e0a214f2ad9c634659d34a99c98e86c6c3d68 \
+ --hash=sha256:85690cfc8ed54c4292e36a08bcf984dde7957e653fd6d94f59184244bcc35843 \
+ --hash=sha256:86d93dc3882c283e9aa2124d7d2b50c85579485216a2b3b7f91ba479e31a128f \
+ --hash=sha256:87534cec6ea325435e4adf2326b0cf3110eee9a47abf73652eb155db639c08c6 \
+ --hash=sha256:878e7c8ada8f92c52f13f35a2ab98ef0adf7fd0211d164fc2af589e4c3cfed63 \
+ --hash=sha256:87e9673cd8a3445024fe38e7f91b55fa3428437eec9b7a7ff7d81979520c0d2d \
+ --hash=sha256:8807998c1023d1e9d60e02500f90e85a0752dbc0b670989806bba87b82dd5b42 \
+ --hash=sha256:8b68f2548259bb04e0b3d5df0c397abe8b0080f5e1ffe4019fb7a8bf01a9339e \
+ --hash=sha256:8e613018a5ac66de7abaf1acaae0d7af37a5e1b9bf1ae190a1198b0fdb988ad8 \
+ --hash=sha256:8ec111ff8067325f85c08aa9c2b26179ec0537bb89c003fde31127139f85f82d \
+ --hash=sha256:8ffb17ec0a8bae18b6628ae40b0896eb264dd285e39a0faa864965c00933b64c \
+ --hash=sha256:9031f5f01452681abf39fdd65f84a70cb01a7572a1bbf570042e826b1232d07b \
+ --hash=sha256:9088da25ecd609965f838d89fda0465a905b48f4dd90331db9845518f2177372 \
+ --hash=sha256:9221442682c27417f10fe11184ea4cce174b25ab52465570b1f3ee3f85f320fa \
+ --hash=sha256:927f3e1d04dc0906265fc0416c13500363e42cd683bbb8d46911c79b73d26800 \
+ --hash=sha256:92c2b366028ac01e90399e6d17734ce6e4f4aeddd8ba75fbaf80ea11d6c6d645 \
+ --hash=sha256:94162456ed0a64fb1c06915df5bd06af4675ae3966d6048fcb73b0906e0e0222 \
+ --hash=sha256:9429d2371d406344ed1da5b5686d9412e74137c07b0171278368ff704f470ed5 \
+ --hash=sha256:9477e14217c212e6023c994a71a1a349db19b0e10fd5bf189666b281ae63b1fd \
+ --hash=sha256:962c12b51d0b164f12569af225dea57568477e24a845b96eaccbef6c07e4cc03 \
+ --hash=sha256:9b52ea73a37fc64aa3357ff8607801d46dd170506d3cf8253a91a1d91639d4f9 \
+ --hash=sha256:9bdc2db9e04538f917bba0242920764dd740649d8df58700d6d687ead4429429 \
+ --hash=sha256:a02164a8cd3e2dc028918e51af844c934c7a24a0b8f4064368360aa14ad1aac4 \
+ --hash=sha256:a2b7fe53abced1fe8bd984a9ab3c8c98bc093ec4f9f543089a8817a493818208 \
+ --hash=sha256:a5005c0c9e4d749a76a2ff8bd5918a8bb248df8e08e73a55654b9f79c9cd1e2b \
+ --hash=sha256:a7fd1dd6faa3df9dcd8f1765237362cd885ca62cdf77a7c5f5ea383ae5b6048b \
+ --hash=sha256:a8326e24ae6c3a6bfb03fa8b4793f9a5d804c125228aa067f652b0428e31b87c \
+ --hash=sha256:aa224ecc613d411690aa650dbf01daafbe385cd6c67145e80bc5fc01b3a71469 \
+ --hash=sha256:adbecbfe44a497c742792457b1c27300617967c18c3934d2416023eba8d8c553 \
+ --hash=sha256:ae520f189895c5dd7eeb2b7a372d464da6f4a1ba1d0ecb741b1d4fe4c1f699ac \
+ --hash=sha256:aea814342f6afd20d832937ff8b333cd6506428a39c0c4c70c2380aab1887bfb \
+ --hash=sha256:aebcc6b184c935e1f7091c09124cfe5107b7c2253894ba23ad646828c17e4c3b \
+ --hash=sha256:af6585a466cee2c5a524f7fffc591844bd604a29fdd9cade964f548512b5ef7e \
+ --hash=sha256:b1c0d2dde8a50520efc51644587f0fc4810e3af7d3e029d7af0be93bf39e2b5c \
+ --hash=sha256:b20440e578d269c5e8a722ab602ddd0f0cedb8b080006b3f936da9991a593d3b \
+ --hash=sha256:b28842b30c4bc2e6afe137d98a5d2071a62589471e76d053bea55b0e53298af9 \
+ --hash=sha256:b3ca02ef3b5920b88119c82eb6badfb2d082b1f681d528a856dcce17c8706da8 \
+ --hash=sha256:b3db5497af55f7a557c95265dd3b91c75dc56364a7b59f258c45fa5576dce058 \
+ --hash=sha256:b631174cd2e4d9f8a94ef17f911c6ded10ede93b5e7860dee7bbf85961d321e9 \
+ --hash=sha256:b7233a987a101bdf79059014130262a01339094a0a709f175162542f33b55d4e \
+ --hash=sha256:b97153ca609b434b712ddfb92cd6af101a7045a7724c542258bd4727a344472f \
+ --hash=sha256:ba0dfead73be5be9ad0b7fbf9f31ff29c1b1eae858816dfc8d85099d6e4af0d6 \
+ --hash=sha256:ba58574d710b82ead7cbedea01cac3e110bc3ef82d4731519b74a2c11f7cf5e9 \
+ --hash=sha256:be365ce8d2d411cf2fb573747684b4fd470fa6224e0094d9d5a21155acc369d3 \
+ --hash=sha256:be6f87cd224254a8f81324e34cc655508b83f1d70458a1a39857ad2aa9925852 \
+ --hash=sha256:bfcbee8ffff4188f4c6d97eceeff36d8eb983cf838933cbc12ce5f5dd51476c6 \
+ --hash=sha256:c0edde95e4b4278dcc0175eda06dc8aa2631ad9f83ae5dbdbc4f0925e200b0b0 \
+ --hash=sha256:c20fa05d128c463209ef5323ebf33ee1cac6d87cdc3933fd789fd3c101017c8e \
+ --hash=sha256:c470d192e27f97842a068cf12a1c1296b20ca716c56a9249715c6654bc192d19 \
+ --hash=sha256:c67f3c1278f942e97d8665c2a690324aaea5137de16f056583a21f0ac706177f \
+ --hash=sha256:cb0cf498efa3204621b3c5576f0accd80ad2ee85575f1cae5d2f98de32c8d9cc \
+ --hash=sha256:cdd35422de747237f451e821766e2b6be3dd2c31955c1ecd7f17984c5b9bb62d \
+ --hash=sha256:cde6b8db7d2e5135129eb5e74b7b44dd2053aa767cd5023541fccedddc262453 \
+ --hash=sha256:ceafa5e0536c62a5cd9f65327fa0b57d6f0b0e3435daf2c98a78d0dde7ecbae1 \
+ --hash=sha256:cfeac14425fc7a6fca7864b774d4ee63547926158f4a18c67d77b2c9a948acf1 \
+ --hash=sha256:d0bfd719c254bbe60ea022cff0e6ffb799a6fa7d4d72852cebe0257957b32d68 \
+ --hash=sha256:d117f39b28ab8a330a74abdbe61c2255b51973b238db25fd6c2448de1eb2a02d \
+ --hash=sha256:d3e97ac4353cca3fbbfa829bc0c6a913771573d1c6d46932d4335c46f2b7796a \
+ --hash=sha256:d50a44113fe6800dcc8a859332b823a4735b1e6ae1b0063882e4cca569ec3e29 \
+ --hash=sha256:d858e718b94033ab4b67e4a58fe3114c65bae01ae2314a62fb39ae8897ed4324 \
+ --hash=sha256:d86130d70a2557cdf825dffc56255f1f16b83a7bbeab677b4cd040c4c53d8c52 \
+ --hash=sha256:da6a4f55f0e3308c07354b1ee239c5550afc212f81629a6067db505ace3b667a \
+ --hash=sha256:dd7ea3fa47154b9fff90591b961e41b3718bd7fcd5bc2d9bb47e9845c8ace088 \
+ --hash=sha256:e062f5ac1255dfa6c98e3e3863ec18bc79d0947d22d08921a3ca60cee40559fd \
+ --hash=sha256:e17e2c30e27f56da5551e7a425888b45f013e940b99ab07d125a1c33f77a4605 \
+ --hash=sha256:e7269cc410f3cdf84a66914fc0ef54b1618115c87fb4f9a59a05c5dfc23bece1 \
+ --hash=sha256:e8b9a92652e75e7731309ea51db5dee892eef414ce70a6ec3441e5d36bf5189f \
+ --hash=sha256:e8dc3d29f2ed2bbf24c205a86326d6681230ace55abfb3f9d5230f42078ad63d \
+ --hash=sha256:e92e4419cad18d60b14bf18b82152fbae67f4b1128be7d73b172df275554f5d9 \
+ --hash=sha256:ec8d09f460fdeb65f9ead9b75941e312def4bcbb23e1f951b7def061eb99501d \
+ --hash=sha256:ee23f6599682bd4d48bb757c0633e78774eedfb65a7e52851f9ad182eeeb625e \
+ --hash=sha256:ee7410c98222070fd717ad881ee2a80cc11826b7001b9a5a807155d8918bfc7a \
+ --hash=sha256:ef0b8ba6e13597f681b2b4924ca9c4e8c88420bf0e21d9a9006c757f2fc39d1f \
+ --hash=sha256:eff128ffdc093cc6317955934ad9751105d37ed8dbca3ff4ccd751af6be37185 \
+ --hash=sha256:f16a407766bac51c65d605b06d900821751a79aa20e12185f273f14a17180e7b \
+ --hash=sha256:f86e23ed610727a7f025ebbff788f22a7956d3f1b24a25bb1d9286fc7b7642b0 \
+ --hash=sha256:f8b89b3be75a37509602b03f9cfa1a28298d4eed4625748148307aeb907901b7 \
+ --hash=sha256:f93bc5e25992f5545709000d840c6cafdbd022781a7a0ed79d58a5633733a4e8 \
+ --hash=sha256:fa813b0247d0543a563b993ac3dba6168eef59e3a61448432cf5453300c2412b \
+ --hash=sha256:feda2ef68c339987dfb370af3a4b785dbc40f925723fe2365e68e43c2640f85a
+ # via
+ # markitdown
+ # python-pptx
+magika==0.6.2 \
+ --hash=sha256:37eb6ae8020f6e68f231bc06052c0a0cbe8e6fa27492db345e8dc867dbceb067 \
+ --hash=sha256:57cd1d64897634d15de552bd6b3ae9c6ff6ead9c60d384dc46497c08288e4559 \
+ --hash=sha256:5ef72fbc07723029b3684ef81454bc224ac5f60986aa0fc5a28f4456eebcb5b2 \
+ --hash=sha256:711f427a633e0182737dcc2074748004842f870643585813503ff2553b973b9f \
+ --hash=sha256:9109309328a1553886c8ff36c2ee9a5e9cfd36893ad81b65bf61a57debdd9d0e
+ # via markitdown
+mammoth==1.11.0 \
+ --hash=sha256:a0f59e442f34d5b6447f4b0999306cbf3e67aaabfa8cb516f878fb1456744637 \
+ --hash=sha256:c077ab0d450bd7c0c6ecd529a23bf7e0fa8190c929e28998308ff4eada3f063b
+ # via markitdown
+markdownify==1.2.3 \
+ --hash=sha256:1a176f05522c8a2cb1dd3ab9d307dcdadbed5c26ae717855bfc42b3b6d38d937 \
+ --hash=sha256:a189a0bedfd14009030fde5f85bb6f77c56897cb839b5c25315dd7d4e3e290ba
+ # via markitdown
+markitdown==0.1.7 \
+ --hash=sha256:4d1f3c69cd43b82288fdc3653686d759dcf355ee7c681aa6a855aed98a1e4f44 \
+ --hash=sha256:4eca912c87c6aa6897284a7f4bf6769a23bccf8544530f5d8b175fbe3797c916
+ # via -r requirements.txt
+numpy==2.5.2 \
+ --hash=sha256:0090ccdd57ec2703e9b49d0bf554767370581c1dd0a6b2bb2b2d9def317d042a \
+ --hash=sha256:078f9b027b478c9379b9677babbf0f8b8f1ecfada27636d7b9a93990c638739f \
+ --hash=sha256:07d4e89f3a9ab0a9ba24264ccdb642b3dd951b2281e8883a5481a4aa79cc31a7 \
+ --hash=sha256:0a4035ae1129ff8777f08bfbd44f1e5d8e9c049ce0c2dd78fc0d92c13e7251c0 \
+ --hash=sha256:0aadf13b60048d501e05fa699efaf7734e2494f3498a4c2a5521d822640324f3 \
+ --hash=sha256:14e373cfc6387177e8409dac3c7159be8eb05cd77096cd7c950268b86f62831c \
+ --hash=sha256:1ab3d4a901f844ea836c3e80bf463c6a27d7f3c14e8e292fcf28d348b25b9bce \
+ --hash=sha256:24b9dc2e3d84aa58523798805194e23e736f3f6ce2d1a5b92583ae734e6dbda8 \
+ --hash=sha256:27650bb0e7140fa3d37b9923b4803645e0b125d190f326eecfd3f4dad8e8ade1 \
+ --hash=sha256:28ac63476ec7651484215ee7fa15a1f78b57c14621f01e392afe17b9a1390ce4 \
+ --hash=sha256:29b86ff8a6cc556b47ec6b64b194815cc80e6bf5eedcc6cddfd65318cb0b4eee \
+ --hash=sha256:29d81e97f668489cba8ebfd796b9bdd453525d35dd9e162e2daec94bf3fc7740 \
+ --hash=sha256:2cc779226e476d1e1f08c74068c419e60f41a9e0e069c92f6671d31d5c985e98 \
+ --hash=sha256:2ffa7bacab3e2ee1b19ed31766bb60bb380b68c23f051e199c5cc598afd68710 \
+ --hash=sha256:318b9a4c845dbea06708a29c84ee429cc3065048db34cdb799047643492050ee \
+ --hash=sha256:34c319e2963be042673fb46570501b2f06c41924e17e3563d58646b4380dfb68 \
+ --hash=sha256:3a2f061cebd9e3d23bdcfaaded5e2293a4c6a5b60fa42df85d410a725ce621bf \
+ --hash=sha256:3cdec01fa790a186d430433fdd4d4ffb70eed6f0eeb4bf05c8dbe2dce0a9bcb8 \
+ --hash=sha256:3e4c367352d3747784248a227fbec218e193b56f7e6692e3b64fc805478ecfdf \
+ --hash=sha256:40f4d451aed46a8046a1aae41c4e55fb3612273df9c502480135e1501576a34b \
+ --hash=sha256:44ef9675d908e65f9953063837c3277730f3f4437615a4cdab67b366cabaf884 \
+ --hash=sha256:4bbd96c833ecc8cc069ce518078fc8c60cb9cbfb0fea5b7a803ad65035596d03 \
+ --hash=sha256:4ec954036759bcee3aa484f8603bd9c14f3e776293b85578b8734c2d72777c69 \
+ --hash=sha256:4f9744f9fbdcea0bc552e8f19e1f141f811a3f9bc2be2cc6e86d982cab23e3f4 \
+ --hash=sha256:50a68f4bacd8a2b33d8da3d2269d0d78500f86ea582e4786dc10f5ef2c2c6842 \
+ --hash=sha256:50e500dc868e9313530ce12ba470fe50ff3afe3d62993ed6eff652dacd555b65 \
+ --hash=sha256:52c808f96484f5571a5cc863775ce50247c17dfb3b0361f8ed6b4b0456f80080 \
+ --hash=sha256:5f8e00be2ec6f45f4e8a41a527f68d44a7d96fee92a650e4d8b1326f77f61e6e \
+ --hash=sha256:60e902ac295855348a5ca2ea4c89108989a9f5fddfad3dfc0a8f36b10358567e \
+ --hash=sha256:65f188481f1669e26f62b701e8205d19e460fa4a9b52a1414ba382330e4a3414 \
+ --hash=sha256:6950c4b7dd562453090548ba7f5da7e59f57f85663f15d5dcc60e249192f7e59 \
+ --hash=sha256:6a9bb119fb8dd21ba30b3f0e555b7e2b081bd9883af21ec9c1c633d161cda3a8 \
+ --hash=sha256:6b588cc8f902d6bff201c19fd00c43ab8545671e3554d014e12e14139e5e8617 \
+ --hash=sha256:6df895598c0edcb41030126c89e0f353b07d93238116143b7405e937359736c4 \
+ --hash=sha256:6e8172ddfcf5cf74b811d372b570b83c60bd2de87a6fbfbebdadb4a9bd9c6cbb \
+ --hash=sha256:7354826bc6f8f69402e9b7fe28d15fcd34feebd74f856f111585c5b0c9fb0251 \
+ --hash=sha256:7587f53dfbd5edc0f7b87c6217b4c6d2d1f2ef9c3da70bc1315e7db5f8d7ec9d \
+ --hash=sha256:77843ca236b777e67f8d6b3660ea116e499612703a0ecd7093f316201eb9d8e2 \
+ --hash=sha256:7999d4ddb0c4025018373fd787510d46e04c769467af22869707b3c1cfd459ab \
+ --hash=sha256:85aaccb24182c25df891ad0ec333585967e115269d5f1b17f2c9ae005bc96657 \
+ --hash=sha256:8e4cb9a754c8a0c62eaa88273a5fba3391f4a610d1dee893c0755da31c083f15 \
+ --hash=sha256:8ee9c4eeb8454b3660a8b53493563c3e121c2fc94fbd72b848ef814ed7b676a9 \
+ --hash=sha256:9a0731745a72a184490a582fb4af2533512bd071ace67785b5fdffc0ae58dce8 \
+ --hash=sha256:9e9413326d726c2545bfa65d2c0876871e8d8386e77f992c1d426e180bbd4323 \
+ --hash=sha256:a610dc7e3c52edd39c2bc2375ff9c3fd59cb3ad00e4472d36f83bc1457145788 \
+ --hash=sha256:a839318485284a6fb31be4f8f2c91c8f2cb22f4543c4a8903f12b0671ffe07cc \
+ --hash=sha256:afb3f0632d6b2e3ba04dbce8d1e48d321b369138b73830b5ca371a0e8d479d56 \
+ --hash=sha256:b879fb674276e331513fb136b78dbc6bd3c848309e0d841cfd63be3896c4cfc1 \
+ --hash=sha256:b9727f472d2f3888053b8a75ab0cb94745a9de224bb5846dbadc0092101bc71d \
+ --hash=sha256:ba0a474801b8dc67b66bf465548abc90e82b44d2611b5770f33008dcabffe8ec \
+ --hash=sha256:bd68ece1553d2023c09a4226d9e41c586ad2d20594d1a456186c33513d2cb3f2 \
+ --hash=sha256:c081cbe16ba1ab53078e5ff29013621e33c509eedab055775d956427712c236e \
+ --hash=sha256:c1f017dc0875c9209d219f97feceb7d54c2661bb243deb4114478e1295808af7 \
+ --hash=sha256:cebc2d6dbb605a7703d59751dea4bd6b0ab127a5a4338a6f432df1936fef8b26 \
+ --hash=sha256:cf7de32f486e4ac9e2d93b810f9e9ac72a728dd46a32a0bb403222f27f653514 \
+ --hash=sha256:d482d171c406ae88c5b19cad3b6a1c4c5209f886ab74bc44c2c865c23f52d860 \
+ --hash=sha256:d6a48072864e3324e194a8fbb3c657bcc5b5c869dbc64c9537b1d5c862572c0a \
+ --hash=sha256:d787cf769c3baeb5f6235e778edb52c08dfa923789b5958f28e6450f96107cb1 \
+ --hash=sha256:dc649493697006bc90614a5f0bbc8cb3cb1866715c474e473694968d7e6b99ab \
+ --hash=sha256:ddf47472af2e4280d79bac82304f5e80150211f1b9e614b760061d5fdfbb6eba \
+ --hash=sha256:e5651f3f87add730ee6608d915009e19c911fba0cb000c7e3ea994b7d768eb12 \
+ --hash=sha256:e79aba74ffaf5f78a050d777c184cddf8fdffabab38acf5f3ef1fecbc17895d6 \
+ --hash=sha256:eaa088384c46f519dacb93b7ec483a6d6b19a4a2085ae4f25ab9b1c43d387d1e \
+ --hash=sha256:eaca7ff36f0f52e2111ec71f169d8fd3e889e7ddc0d2592e0d703fd8d3ce8fac \
+ --hash=sha256:f06571a052127dc1b4e8b83029b4d1b20daa2b64a31cdd181fc6bc774e9000eb \
+ --hash=sha256:fd0d703772bba096843785bd38371e31bb4a0c1151497ad5739d182114a73f7f
+ # via
+ # ctranslate2
+ # magika
+ # onnxruntime
+ # opencv-python
+ # pandas
+ # rapidocr
+ # shapely
+omegaconf==2.0.6 \
+ --hash=sha256:92ca535a788d21651bf4c2eaf5c1ca4c7a8003b2dab4a87cbb09109784268806 \
+ --hash=sha256:9e349fd76819b95b47aa628edea1ff83fed5b25108608abdd6c7fdca188e302a
+ # via rapidocr
+onnxruntime==1.29.0 \
+ --hash=sha256:07c5907474dec4a2792fd7626b753dc66707808385a6d9eecf993db0066a9d0f \
+ --hash=sha256:0d4f427afac434b0070fe992b540ddf20a7aff2265f760f314d91331935b6b98 \
+ --hash=sha256:11264bb58f7b7cf6af835ab10d36838d73680580820fd6f51d90124a1ca8f449 \
+ --hash=sha256:16925ef8497e2c07e4b5ae15b504079b3ab3f65e22c58efd10dde0f3caea969a \
+ --hash=sha256:1ea91cef3b971506e51ae9c37c16d027774ec64994a524ec1bdfb027d68a9832 \
+ --hash=sha256:2945e1f82f81f27e88decea88c7861f45baea23818950d467bf3909aa303119e \
+ --hash=sha256:2b80d8c7ec2cc7438e4da3760b88c24568cba72c9ace96d668800a6c79419acb \
+ --hash=sha256:3a3814c041251d6a77fdf513fb282056538ee826d2f1178a0df3c549d3fff6ba \
+ --hash=sha256:4a3129ae56e70d2618ff773920166916310370a7e3cacb60b9e0e8910092725f \
+ --hash=sha256:4acf2b4948b7ede87221ca6332344b8facdc8059d6ac751a7d367d04532b02dd \
+ --hash=sha256:4b940b0d777590c7e20bf298f5c16af1ea6ad1b400a1c822a6be192f64f4d954 \
+ --hash=sha256:4eae472cf7dc3107dec1bb53cd6d142d1964616d08aae48654cd4254b2363c4b \
+ --hash=sha256:533f8370ce124304e5cb08ab961836cf755631e3dd77adc5f3bbdab70c2b7d99 \
+ --hash=sha256:6c0c37b92f67ed68dd36221ce0403e1d9bd4f7efce724439978a2597848530e5 \
+ --hash=sha256:85f8e8406c52658735fe5c7fbfd3ebaa1ed340768324f6252e4274e374580a23 \
+ --hash=sha256:939e5d65f332e6d399774b2bd0d3559fd8fa629c1e77833db29d968d2384f23d \
+ --hash=sha256:be0f8ed688cfb1d4d5765a137193b7bfab0c8ea214eed99260b380bb525a3a7f \
+ --hash=sha256:c1ad3f437153fe77f9d01a08fbaac0beb030e09b8a80ace1603bcf69b6c95481 \
+ --hash=sha256:d2fb19e848f7c33ed8d3182b52504aaa11c5e8da438bbb47296f85b133cbcf6b \
+ --hash=sha256:d67673c5367727860922c5262d724472f1b5539fb7ccf4c81a638f9b71719803 \
+ --hash=sha256:dc61a79cb39afd66ab3f01fd2c23591a7f01de89c1668e1fb6315067fc279164 \
+ --hash=sha256:e2128f31f449e922c62dbe5d8b6b7b079f0bcaf2d56a102fa203cb6e5bb5ab19 \
+ --hash=sha256:e417ef8628dcce310d2d53023e750ea298ec14d4341ae6dc3a572bfd9bc7fa97 \
+ --hash=sha256:e74b278af1d949876f5d91d1268fd6c680e79f2bac194967394eaba9fdf69e7e
+ # via
+ # -r requirements-ocr.in
+ # faster-whisper
+ # magika
+openai==2.54.0 \
+ --hash=sha256:89089789197ccdb87f173a03145ed1598d00795220c93e96cf712b1cbf5e5f2b \
+ --hash=sha256:e3e6f8bc1ba30ddf381ace1a14340eed381cb984a1a59bd0f34b5be3b5d49cfa
+ # via -r requirements.txt
+opencv-python==5.0.0.93 \
+ --hash=sha256:08d5d91d967b58d6db86073b2ad3eaef88ca4ebdfd45c9059bf59f5ded0c7ad2 \
+ --hash=sha256:198a75138241810206a17c829dbcc40a7cb1841cda538ca86cbbfc6c7d95f898 \
+ --hash=sha256:4b4b1a34c79bf8d3738e3cfe9a9e67b51a79663f6b692cbdad8c31f570da4157 \
+ --hash=sha256:66aac3e5b5faa48d4025816592f3af19e4bfc2c68dec067bae2dbb4ca10aa9e2 \
+ --hash=sha256:6bbc32f59e1b1a7db7b39c81f63d00625f041d333037fd8702f6da52cc39108b \
+ --hash=sha256:c8de2dec111122a02e8beb28e16c31904992dfd6186560b142a92c71403c1039 \
+ --hash=sha256:e2b4272e736836f66c2d176e43ab8101f3a00d45654916399f52e150c58981ac \
+ --hash=sha256:f8b6d0a212253dd26ad338c812f1f23ca118fdf05a9c8c6b9444f161aa8c5881 \
+ --hash=sha256:f90ba04b8f73bc5c3814037699739f0156f597338a98f05956c684e7c3ca10d2
+ # via rapidocr
+openpyxl==3.1.5 \
+ --hash=sha256:5282c12b107bffeef825f4617dc029afaf41d0ea60823bbb665ef3079dc79de2 \
+ --hash=sha256:cf0e3cf56142039133628b5acffe8ef0c12bc902d2aadd3e0fe5878dc08d1050
+ # via markitdown
+packaging==26.3 \
+ --hash=sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79 \
+ --hash=sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c
+ # via
+ # huggingface-hub
+ # onnxruntime
+pandas==3.0.5 \
+ --hash=sha256:08d24fe11a17dc33bd6e937dc9c665f9cba08fbdc9f657f405713515febe300d \
+ --hash=sha256:0d298e951f23016ce4699951d044ae6418dbc91bf68cefca0f77666fcbb4e5c6 \
+ --hash=sha256:0fac0010c75e4efb6b99e249c183a8993ce0dc95c240f9b120a5e67c727b7928 \
+ --hash=sha256:1c10461f6eeb35d8f05b6184c65c8b9991663b66c46b1d559b682cb34ae7c6ea \
+ --hash=sha256:25ff585b972a18ef1fe9ffa3ac6544d9950508aa76832e5147640b6022821e49 \
+ --hash=sha256:2946e77e4a53cd248cbde631a12f0e51c8324ce354c3eba4d20147c1ad6f4282 \
+ --hash=sha256:2a29c53d85ea98c5e792c59ef82ee9fbe6ca902c0d0adb6b23f45ef894cd7bf6 \
+ --hash=sha256:2c0cf1dd9b55a22d105fc46c1b489af3bd42264fcba7c66297bf47a9a1d9c78a \
+ --hash=sha256:2f264fc46911cc8131a7322a16199bbf8e353d27c10bb211f5bd0c814324dc36 \
+ --hash=sha256:303da736987d481074ca720ada325f8bd80c64ebc2d45ed79b29df3aaa4a26ca \
+ --hash=sha256:3b2801bbb049d0136f6c213eae02b5fca969384fc2064dd728d8620552aa49da \
+ --hash=sha256:3c5015fd1730fbf883647e88068176c839c102cea883ba1769a6f4593bfc1f8c \
+ --hash=sha256:3c5ed2e7c06e91d340dfd091d7934f9bc82e4a36b95f647f090b9d1c9ac649da \
+ --hash=sha256:4b11c36e218331d0387cbe3a0a5f75162357a1d92d57b2b08a336ff94b19b2be \
+ --hash=sha256:5183427f5a8156d480f30333777bc978be93650a49a7c01db26adffe95b31e85 \
+ --hash=sha256:53730687fcd161883b24e10411c06d6a4c0f2275d2faf3bb2bc25deb4ba8007c \
+ --hash=sha256:66266d3442a5e8b3c90274c2b8b230bee42dd1c286bc822cc2f9f2c7e12b883e \
+ --hash=sha256:679f4e85b30ddb1515458ab1e788d3e260eae369b1f78da7a3aa4cac8ebf4a2a \
+ --hash=sha256:71ecc8fb7ed1a7aa4392316b5309a6347e8e7f832f38fd897846b3a1457a9298 \
+ --hash=sha256:73fa87b08a7ef706f8aafda39ddaccf2a99047bea62d8c88a0361bcafb2237bc \
+ --hash=sha256:80a611068e8a3ac23f7398c6c14eb46dc974e5cc9997f653e2dcfd1da74edd41 \
+ --hash=sha256:960d3ebcf249f75206899fcd2c6de53f736b7265759ced0d3e559df0b8b709b0 \
+ --hash=sha256:9e94c2c5ca43bd3ca32bf64d32308887b65e5f9bfd8023ea52755107a999f93b \
+ --hash=sha256:a5ad3b02ed6bc7d7ae9b70804b2c6aa31827489d150f8e623ce82491b82085d7 \
+ --hash=sha256:b1261758dfb6cf12c3cff8300e21cefad30e7ec709abb4c24ac7318e6a52462a \
+ --hash=sha256:b173f5951ff6b8b0ec7675e20dff3c97b7e7a57dfcce387c2d7c5afe87cb7899 \
+ --hash=sha256:b2acb4650527eec6822c3dadb2b771277b65e7dae7a267d4bccf65fd1bb3fbce \
+ --hash=sha256:b58b1b39d46a5862e3fb18f50d1a201398619d16a0f9f73f57eea5583cf0e63c \
+ --hash=sha256:b86765f268b56f7e665b93bce9d5df69dee7f99e595cf8fb839483ab315942a3 \
+ --hash=sha256:c1c05a767fe8e5b4fe9e1c29806829c582052eaedb9120a3da83ba3f69e24a5b \
+ --hash=sha256:c2e26bb46934b8a2ca0c3de1d3d606fc5f6746584791b2db264d58cf370e08dc \
+ --hash=sha256:c597ecf5616b5c420372c1d4d4c00dbbfba7398bea857dcc984347e1ea48417b \
+ --hash=sha256:cce3a9d11d2b1f82c69a27ec1f4948a170e2c403c4bbfa8cca62e3fdebe2ef3a \
+ --hash=sha256:cd8f7c6dc98527058ee6264219343f5392240a6f1bfa654fc5d79023020d0c92 \
+ --hash=sha256:cf52e1f61d229496da17dc7ab54acdee627357e7008fd4fecba3d0ba2937fa58 \
+ --hash=sha256:d373ce03ffd84010ed9839fa73672a9c8256990532e158440c0085db7d914b34 \
+ --hash=sha256:db172144bb56422bd157812f3b021eacc255451470b31e2c633c349490a1cfee \
+ --hash=sha256:dca3734d6ab7c906e6730f0788b0a1dbb9f2467731f9711f77995c8e9d62d712 \
+ --hash=sha256:e2759e890db96dfcffdbd9b86c3c2cb6afaf58def482820317e06163ec1066cd \
+ --hash=sha256:e819dd5f62966b481a8cb649d3299ebd886a1ea91ed5a99bf7ce77c98d18ab94 \
+ --hash=sha256:ef01af4d8dc6cd2c8d6c7736f149574ef93fe043811eeb5e445f2647154b5040 \
+ --hash=sha256:fa290c16964d4963fbfbc358928239cf3bd755b20e988ce944877def2f44471d
+ # via markitdown
+pdfminer-six==20260107 \
+ --hash=sha256:366585ba97e80dffa8f00cebe303d2f381884d8637af4ce422f1df3ef38111a9 \
+ --hash=sha256:96bfd431e3577a55a0efd25676968ca4ce8fd5b53f14565f85716ff363889602
+ # via
+ # markitdown
+ # pdfplumber
+pdfplumber==0.11.10 \
+ --hash=sha256:7741ea81bf165b474b153e6789d10d18e06b6ddcf3ec84289c3ef2fed6802580 \
+ --hash=sha256:b95b2d28c66efb0a794a83b88c6c6aea5987532a445d20a1cbcfa657022e6e57
+ # via markitdown
+pillow==12.3.0 \
+ --hash=sha256:00808c5e14ef63ac5161091d242999076604ff74b883423a11e5d7bbb38bf756 \
+ --hash=sha256:04f01d28a6aaff387bf842a13be313df23ba0597a44f1a976c9feb3c6ff4711a \
+ --hash=sha256:06ff022112bc9cbf83b60f8e028d94ad87b60621706487e65f673de61610ab59 \
+ --hash=sha256:0740a512dc522224c77d9aa5a8d70d8b7d73fb91f2c21125d8d025d3b8990e45 \
+ --hash=sha256:0847a763afefb695bc912d7c131e7e0632d4edc1d8698f58ddabec8e46b8b6d3 \
+ --hash=sha256:0dd2064cbc55aaec028ef5fbb60fa47bb6c3e7918e07ff17935284b227a9d2df \
+ --hash=sha256:0feb2e9d6ad6c9e3c06effe9d00f3f1e618a6643273576b016f591e9315a7139 \
+ --hash=sha256:10e41f0fbf1eec8cfd234b8fe17a4caac7c9d0db4c204d3c173a8f9f6ef3232b \
+ --hash=sha256:1182d52bc2d5e5d7d0949503aa7e36d12f42205dc287e4883f407b1988820d39 \
+ --hash=sha256:164b31cd1a0490ab6efae01aa5df49da7061be0af1b30e035b6e9a1bfe34ee6e \
+ --hash=sha256:1657923d2d45afb66526e5b933e5b3052e6bdea196c90d3abb2424e18c77dae8 \
+ --hash=sha256:186941b6aef820ad110fb01fb06eb925374dc3a21b17e37ec9a53b250c6fe2d1 \
+ --hash=sha256:1cca606cd25738df4ed873d5ad46bbdb3d83b5cbca291f6b4ff13a4df6b0bbe8 \
+ --hash=sha256:21900ce7ba264168cd50defae43cd75d25c833ad4ad6e73ffc5596d12e25ac89 \
+ --hash=sha256:236ff70b9312fb68943c703aa842ca6a758abfa45ac187a5e7c1452e96ef72b5 \
+ --hash=sha256:23aceaa007d6172b02c277f0cd359c79492bbb14f7072b4ede9fbcaf20648130 \
+ --hash=sha256:23d27a3e0307ec2244cc51e7287b919aa68d097504ebe19df4e76a98a3eea5bd \
+ --hash=sha256:24870b09b224f7ae3c39ed07d10e819d06f8720bc551847b1d623832b5b0e28d \
+ --hash=sha256:251bf95b67017e27b13d82f5b326234ca62d70f9cf4c2b9032de2358a3b12c7b \
+ --hash=sha256:25b9b82bb22e6e2b3cd07b39c68b7b862001226cb3dff7130d1cb914121b39ed \
+ --hash=sha256:28ce87c5ab450a9dd970b52e5aca5fe63ed432d18a2eaddd1979a00a1ba24ace \
+ --hash=sha256:300557495eb45ebb8aec96c2da9c4be642fbf7cd937278b4013ba894ea8eb0eb \
+ --hash=sha256:30f2aa603c41533cc25c05acd0da21636e84a315768feb631c937177db558931 \
+ --hash=sha256:331b624368d4f1d069149002f25f44bc61c8919ce8ddb3c45bdad8f6e2d89510 \
+ --hash=sha256:37d6d0a00072fd2948eb22bce7e1475f34569d90c87c59f7a2ec59541b77f7a6 \
+ --hash=sha256:37dc8f7bbb66efe481bb60defacef820c950c24713fb44962ed6aa2a50966de1 \
+ --hash=sha256:3b8182a766685eaa002637e28b4ec8d6b18819a0c71f579bf0dbaa5830297cce \
+ --hash=sha256:3edce1d53195db527e0191f84b71d02022de0540bf43a16ed734ed7537b07385 \
+ --hash=sha256:446c34dcc4324b084a53b705127dc15717b22c5e140ae0a3c38349d4efec071e \
+ --hash=sha256:4998562bf62a445225f22e07c896bb04b35b1b1f2eb6d760584c9c51d7a5f78c \
+ --hash=sha256:4b0a7fe987b14c31ebda6083f74f22b561fd3739bc0ac51e019622e3d72668c7 \
+ --hash=sha256:4e8c2a84d977f50b9daed6eeaf3baef67d00d5d74d932288f02cb94518ee3ace \
+ --hash=sha256:4f883547d4b7f0495ebe7056b0cc2aea76094e7a4abc8e933540f3271df27d9c \
+ --hash=sha256:514435a37670e3e5e08f3945b68718b6ed329bb84367777e16f9f4dfe1e61a0f \
+ --hash=sha256:53aa02d20d10c3d814d536aa4e5ac9b84ca0ff5a88377963b085ad6822f93e64 \
+ --hash=sha256:5594fc43d548a7ed94949d139aa1341b270f1863f11cfd37f5a6c8b778a6b67f \
+ --hash=sha256:571b9fcb07b97ef3a492028fb3d2dc0993ca23a06138b0315286566d29ef718a \
+ --hash=sha256:57b3d78c95ba9059768b10e28b813002261d3f3dfc55cc48b0c988f625175827 \
+ --hash=sha256:5afb51d599ea772b8365ae807ae557f18bccfe46ab261fd1c2a9ed700fc6eb17 \
+ --hash=sha256:6b02afb9b97f65fbca5f31db6a2a3ba21aa93030225f150fa3f249717e938fb4 \
+ --hash=sha256:6c0016e7b354317c4e9e525b937ac8596c38d2d232b419529b9cd7a1cd46e39a \
+ --hash=sha256:71d6097b330eea8fd15097780c8e89cb1a8ce7838669f48c5bacd6f663dd4701 \
+ --hash=sha256:756c768d0c9c2955feb7a56c37ea24aea2e369f8d36a88da270b6a9f19e62b5e \
+ --hash=sha256:78cb2c6865a35ab8ff8b75fd122f6033b92a62c82801110e48ddd6c936a45d91 \
+ --hash=sha256:7a743ff716f746fc19a9557f60dab1600d4613255f8a7aeb3cdde4db7eb15a66 \
+ --hash=sha256:85f998ea1848bc6757289e739cfbdda3a04adfd58b02fc018ce54d754a5ce468 \
+ --hash=sha256:8728f216dcdb6e6d555cf971cb34076139ad74b31fc2c14da4fafc741c5f6217 \
+ --hash=sha256:877c3f311ff35410f690861c4409e7ccbf0cd2f878e50628a28e5a0bb689e658 \
+ --hash=sha256:8cd2f7bdda092d99c9fc2fb7391354f306d01443d22785d0cbfafa2e2c8bb418 \
+ --hash=sha256:8e95e1385e4998ae9694eeaa4730ba5457ff61185b3a55e2e7bea0880aef452a \
+ --hash=sha256:962864dc93511324d51ddbb5b9f8731bf71675b93ca612a07441896f4688fb8c \
+ --hash=sha256:9cf95fe4d0f84c82d282745d9bb08ad9f926efa00be4697e767b814ce40d4330 \
+ --hash=sha256:9e881fca225083806662a5c43d627d215f258ff43c890f831966c7d7ba9c7402 \
+ --hash=sha256:a2b55dd6b2a4c4b7d87ffa56bdb33fdc5fdb9a462173861a7bc097f17d91cb09 \
+ --hash=sha256:a45650e8ce7fafffd731db8550230db6b0d306d181a90b67d3e6bca2f1990930 \
+ --hash=sha256:a876864214e136f0eb367788dbd7df045f4806801518e2cfe9e13229cfe06d8f \
+ --hash=sha256:ae26d61dfa7a47befdc7572b521024e8745f3d809bd95ca9505a7bba9ef849ec \
+ --hash=sha256:af8d94b0db561cf68b88a267c5c44b49e134f525d0dc2cb7ed413a66bc23559a \
+ --hash=sha256:b343699e8308bdc51978310e1c959c584e7869cc8c40780058c87da7781a1e94 \
+ --hash=sha256:b3c777e849237620b022f7f297dd67705f9f5cf1685f09f02e46f93e92725468 \
+ --hash=sha256:b629de27fda84b42cde7edef0d85f13b958b47f6e9bbcbba9b673c562a89bd8b \
+ --hash=sha256:ba09209fbe443b4acccebe845d8a138b89a8f4fbaeedd44953490b5315d5e965 \
+ --hash=sha256:ba54cfebe86920a559a7c4d6b9050791c20513650a1952ebe3368c7dc70306f8 \
+ --hash=sha256:bcb46e2f9feff8d06323983bd83ed00c201fdcab3d74973e7072a889b3979fcd \
+ --hash=sha256:bcc33feacfaefce60c12fd500a277533bdc02b10a19f7f6d348763d8140bbba7 \
+ --hash=sha256:bf16ba1b4d0b6b7c8e534936632270cf70eb00dbe09005bc345b2677b726855c \
+ --hash=sha256:cf1845d02ad822a369a49f2bb9345b1614744267682e7a03527dc3bf6eea1777 \
+ --hash=sha256:d69141514cc30b774ceea5e3ed3a6635c8d8a96edf664689b890f4089111fb35 \
+ --hash=sha256:d9c7f76c0673154f044e9d78c8655fb4213f6ca31a836df48b40fe5d187717b9 \
+ --hash=sha256:dbce0b29841537a2fa4a214c2bbf14de3587c9680caa9b4e217568472490b28f \
+ --hash=sha256:dc624f6bc473dacdf7ef7eb8678d0d08edf15cd94fad6ae5c7d6cc67a4e4902f \
+ --hash=sha256:e158cb00350dc278f3b91551101aa7d12415a66ebf2c91d8d5ac14e56ddd3ad0 \
+ --hash=sha256:e491916b378fba47242221bb9ead245211b70d504f495d105d17b14a24b4907c \
+ --hash=sha256:e795b7eb908249c4e43c7c99fac7c2c75dab0c43566e37db472a355f63693d71 \
+ --hash=sha256:e7e480451b9fa137494bccd3a7d69adbe8ac65a87d97be61e11f1b1050a5bac3 \
+ --hash=sha256:e91206ee562682b51b98ef4b26a6ef48fd84e15fd4c4bc5ec768eb641d206838 \
+ --hash=sha256:e9871b1ffbfa9656b60aeee92ed5136a5742696006fa322b29ea3d8da0ecc9cf \
+ --hash=sha256:e9aeb04d6aef139de265b29683e119b638208f88cf73cdd1658aa07221165321 \
+ --hash=sha256:ebaea975e03d3141d9d3a507df75c9b3ec90fa9d2ffd07567b3a978d9d790b26 \
+ --hash=sha256:f0606c8bf2cdefea14a43530f7657cbbb7ecf1c4222512492ef4a4434a9501ec \
+ --hash=sha256:f13c32a3abd6079a66d9526e18dad9b6d280384d49d7c54040cd57b6424041d9 \
+ --hash=sha256:f7401aebd7f581d7f83a439d87d474999317ee099218e5ad25d125290990ba65 \
+ --hash=sha256:fa4ecea169a355be7a3ade2c783e2ed12f0e40d2c5621cda8b3297faf7fbb9f5 \
+ --hash=sha256:fbd139c8447d25dd750ab79ee274cc5e1fe80fc56340ab10b18a195e1b6eca3e \
+ --hash=sha256:fdafc9cce40277e0f7a0feabce0ee50dd2fa1800f3b38015e51296b5e814048d \
+ --hash=sha256:fe3cca2e4e8a592be0f269a1ca4835c25199d9f3ce815c8491048f785b0a0198 \
+ --hash=sha256:ffd0c5368496f41b0944be820fcb7a838aa6e623d250b01acf2643939c3f99d7
+ # via
+ # pdfplumber
+ # python-pptx
+ # rapidocr
+protobuf==7.36.0 \
+ --hash=sha256:1781cc1de61249b750848029bca452c0a8b7e990080316b9bbc2518b2117b488 \
+ --hash=sha256:3297e60abdff301e5f74393d87f6cc59dacab5f024a89548a6e8de1d26576b16 \
+ --hash=sha256:53374d53fc29a67f7dbbf0ade47d7526a0f0137bf0f9c90e48d8a60790ef748c \
+ --hash=sha256:70f5ec8eb0da81a44360c0dc0beac99a0d78071d21956a7076bae8bd2051841b \
+ --hash=sha256:7326fd717bdc419162a735938d89d4032332bcc3408804012b24ff3a37086071 \
+ --hash=sha256:9103532dffd80c6fab7e50c65a31007680a06eb57537d437bb1b35812c138a37 \
+ --hash=sha256:bf94a5917c71058262de683669bc0a797a7669d3de71f0b36d058e3194f47b44 \
+ --hash=sha256:e8e09cb0d794c6687926fa558a8a6e72aa10edb997d5ca61da0765f12a3e00ea
+ # via onnxruntime
+pyclipper==1.4.0 \
+ --hash=sha256:0a4d2736fb3c42e8eb1d38bf27a720d1015526c11e476bded55138a977c17d9d \
+ --hash=sha256:0b74a9dd44b22a7fd35d65fb1ceeba57f3817f34a97a28c3255556362e491447 \
+ --hash=sha256:0b8c2105b3b3c44dbe1a266f64309407fe30bf372cf39a94dc8aaa97df00da5b \
+ --hash=sha256:14c8bdb5a72004b721c4e6f448d2c2262d74a7f0c9e3076aeff41e564a92389f \
+ --hash=sha256:1b6c8d75ba20c6433c9ea8f1a0feb7e4d3ac06a09ad1fd6d571afc1ddf89b869 \
+ --hash=sha256:222ac96c8b8281b53d695b9c4fedc674f56d6d4320ad23f1bdbd168f4e316140 \
+ --hash=sha256:29dae3e0296dff8502eeb7639fcfee794b0eec8590ba3563aee28db269da6b04 \
+ --hash=sha256:37bfec361e174110cdddffd5ecd070a8064015c99383d95eb692c253951eee8a \
+ --hash=sha256:3ef44b64666ebf1cb521a08a60c3e639d21b8c50bfbe846ba7c52a0415e936f4 \
+ --hash=sha256:58e29d7443d7cc0e83ee9daf43927730386629786d00c63b04fe3b53ac01462c \
+ --hash=sha256:6a97b961f182b92d899ca88c1bb3632faea2e00ce18d07c5f789666ebb021ca4 \
+ --hash=sha256:6c317e182590c88ec0194149995e3d71a979cfef3b246383f4e035f9d4a11826 \
+ --hash=sha256:773c0e06b683214dcfc6711be230c83b03cddebe8a57eae053d4603dd63582f9 \
+ --hash=sha256:7c87480fc91a5af4c1ba310bdb7de2f089a3eeef5fe351a3cedc37da1fcced1c \
+ --hash=sha256:81d8bb2d1fb9d66dc7ea4373b176bb4b02443a7e328b3b603a73faec088b952e \
+ --hash=sha256:8d42b07a2f6cfe2d9b87daf345443583f00a14e856927782fde52f3a255e305a \
+ --hash=sha256:9882bd889f27da78add4dd6f881d25697efc740bf840274e749988d25496c8e1 \
+ --hash=sha256:98b2a40f98e1fc1b29e8a6094072e7e0c7dfe901e573bf6cfc6eb7ce84a7ae87 \
+ --hash=sha256:9bc45f2463d997848450dbed91c950ca37c6cf27f84a49a5cad4affc0b469e39 \
+ --hash=sha256:a8d2b5fb75ebe57e21ce61e79a9131edec2622ff23cc665e4d1d1f201bc1a801 \
+ --hash=sha256:a9f11ad133257c52c40d50de7a0ca3370a0cdd8e3d11eec0604ad3c34ba549e9 \
+ --hash=sha256:adcb7ca33c5bdc33cd775e8b3eadad54873c802a6d909067a57348bcb96e7a2d \
+ --hash=sha256:b3b3630051b53ad2564cb079e088b112dd576e3d91038338ad1cc7915e0f14dc \
+ --hash=sha256:bafad70d2679c187120e8c44e1f9a8b06150bad8c0aecf612ad7dfbfa9510f73 \
+ --hash=sha256:bbc827b77442c99deaeee26e0e7f172355ddb097a5e126aea206d447d3b26286 \
+ --hash=sha256:c9a3faa416ff536cee93417a72bfb690d9dea136dc39a39dbbe1e5dadf108c9c \
+ --hash=sha256:ce1f83c9a4e10ea3de1959f0ae79e9a5bd41346dff648fee6228ba9eaf8b3872 \
+ --hash=sha256:d1e5498d883b706a4ce636247f0d830c6eb34a25b843a1b78e2c969754ca9037 \
+ --hash=sha256:d1f807e2b4760a8e5c6d6b4e8c1d71ef52b7fe1946ff088f4fa41e16a881a5ca \
+ --hash=sha256:d49df13cbb2627ccb13a1046f3ea6ebf7177b5504ec61bdef87d6a704046fd6e \
+ --hash=sha256:d4b2d7c41086f1927d14947c563dfc7beed2f6c0d9af13c42fe3dcdc20d35832 \
+ --hash=sha256:e9b973467d9c5fa9bc30bb6ac95f9f4d7c3d9fc25f6cf2d1cc972088e5955c01 \
+ --hash=sha256:f160a2c6ba036f7eaf09f1f10f4fbfa734234af9112fb5187877efed78df9303 \
+ --hash=sha256:f2a50c22c3a78cb4e48347ecf06930f61ce98cf9252f2e292aa025471e9d75b1 \
+ --hash=sha256:f3672dbafbb458f1b96e1ee3e610d174acb5ace5bd2ed5d1252603bb797f2fc6 \
+ --hash=sha256:fd24849d2b94ec749ceac7c34c9f01010d23b6e9d9216cf2238b8481160e703d
+ # via rapidocr
+pycparser==3.0 ; implementation_name != 'PyPy' and platform_python_implementation != 'PyPy' \
+ --hash=sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29 \
+ --hash=sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992
+ # via cffi
+pydantic==2.13.4 \
+ --hash=sha256:45a282cde31d808236fd7ea9d919b128653c8b38b393d1c4ab335c62924d9aba \
+ --hash=sha256:c40756b57adaa8b1efeeced5c196f3f3b7c435f90e84ea7f443901bec8099ef6
+ # via openai
+pydantic-core==2.46.4 \
+ --hash=sha256:00c603d540afdd6b80eb39f078f33ebd46211f02f33e34a32d9f053bba711de0 \
+ --hash=sha256:0186750b482eefa11d7f435892b09c5c606193ef3375bcf94aa00ae6bfb66262 \
+ --hash=sha256:041bde0a48fd37cf71cab1c9d56d3e8625a3793fef1f7dd232b3ff37e978ecda \
+ --hash=sha256:0c563b08bca408dc7f65f700633d8442fffb2421fc47b8101377e9fd65051ff0 \
+ --hash=sha256:0cbe8b01f948de4286c74cdd6c667aceb38f5c1e26f0693b3983d9d74887c65e \
+ --hash=sha256:0ce40cd7b21210e99342afafbd4d0f76d784eb5b1d60f3bdc566be4983c6c73b \
+ --hash=sha256:0e96592440881c74a213e5ad528e2b24d3d4f940de2766bed9010ab1d9e51594 \
+ --hash=sha256:10e17cbb10a330363733efc4d7c4d0dd827ac0909b8f6a6542298fed1ea62f29 \
+ --hash=sha256:133878133d271ade3d41d1bfb2a45ec38dbdbda40bc065921c6b04e4630127e2 \
+ --hash=sha256:14d4edf427bdcf950a8a02d7cb44a08614388dd6e1bdcbf4f67504fa7887da9c \
+ --hash=sha256:14f4c5d6db102bd796a627bbb3a17b4cf4574b9ae861d8b7c9a9661c6dd3362d \
+ --hash=sha256:17299feefe090f2caa5b8e37222bb5f663e4935a8bfa6931d4102e5df1a9f398 \
+ --hash=sha256:184c081504d17f1c1066e430e117142b2c77d9448a97f7b65c6ac9fd9aee238d \
+ --hash=sha256:18e5ceec2ab67e6d5f1a9085e5a24c9c4e2ac4545730bfe668680bca05e555f3 \
+ --hash=sha256:19e51f073cd3df251856a8a4189fbdf1de4012c3ebacfb1884f94f1eb406079f \
+ --hash=sha256:1a7dd0b3ee80d90150e3495a3a13ac34dbcbfd4f012996a6a1d8900e91b5c0fb \
+ --hash=sha256:1d8ba486450b14f3b1d63bc521d410ec7565e52f887b9fb671791886436a42f7 \
+ --hash=sha256:2108ba5c1c1eca18030634489dc544844144ee36357f2f9f780b93e7ddbb44b5 \
+ --hash=sha256:228ee9bae8bef5b1e97ec58302f80357c37199e0d0a99174e138d28e6957b9d9 \
+ --hash=sha256:23ace664830ee0bfe014a0c7bc248b1f7f25ed7ad103852c317624a1083af462 \
+ --hash=sha256:2412e734dcb48da14d4e4006b82b46b74f2518b8a26ee7e58c6844a6cd6d03c4 \
+ --hash=sha256:29c61fc04a3d840155ff08e475a04809278972fe6aef51e2720554e96367e34b \
+ --hash=sha256:2f84c03c8607173d16b5a854ec68a2f9079ae03237a54fb506d13af47e1d018d \
+ --hash=sha256:3009f12e4e90b7f88b4f9adb1b0c4a3d58fe7820f3238c190047209d148026df \
+ --hash=sha256:3245406455a5d98187ec35530fd772b1d799b26667980872c8d4614991e2c4a2 \
+ --hash=sha256:3447661d99f75a3683a4cf5c87da72f2161964611864dbbeac7fbb118bb4bfc0 \
+ --hash=sha256:372429a130e469c9cd698925ce5fc50940b7a1336b0d82038e63d5bbc4edc519 \
+ --hash=sha256:395aebd9183f9d112f569aeb5b2214d1a10a33bec8456447f7fbdfa51d38d4cd \
+ --hash=sha256:3a233125ac121aa3ffba9a2b59edfc4a985a76092dc8279586ab4b71390875e7 \
+ --hash=sha256:3be77f45df024d789a672ae34f8b06fb346c4f9f46ea714956660ea4862e89ac \
+ --hash=sha256:3bf92c5d0e00fefaab325a4d27828fe6b6e2a21848686b5b60d2d9eeb09d76c6 \
+ --hash=sha256:3ecbc122d18468d06ca279dc26a8c2e2d5acb10943bb35e36ae92096dc3b5565 \
+ --hash=sha256:3fb702cd90b0446a3a1c5e470bfa0dd23c0233b676a9099ddcc964fa6ca13898 \
+ --hash=sha256:428e04521a40150c85216fc8b85e8d39fece235a9cf5e383761238c7fa9b96fb \
+ --hash=sha256:432c179df7874eeb73307aad2df0755e1ae0efa61ff0ea89b93e194411ae3928 \
+ --hash=sha256:4a05d69cba51d852c5c3e92758653245a50c0b646ced0cf05bd793ed592839d6 \
+ --hash=sha256:4c63ebc82684aa89d9a3bcbd13d515b3be44250dc68dd3bd81526c1cb31286c3 \
+ --hash=sha256:4fc73cb559bdb54b1134a706a2802a4cddd27a0633f5abb7e53056268751ac6a \
+ --hash=sha256:4fcbe087dbc2068af7eda3aa87634eba216dbda64d1ae73c8684b621d33f6596 \
+ --hash=sha256:56cb4851bcaf3d117eddcef4fe66afd750a50274b0da8e22be256d10e5611987 \
+ --hash=sha256:5855698a4856556d86e8e6cd8434bc3ac0314ee8e12089ae0e143f64c6256e4e \
+ --hash=sha256:5a4330cdbc57162e4b3aa303f588ba752257694c9c9be3e7ebb11b4aca659b5d \
+ --hash=sha256:5b712b53160b79a5850310b912a5ef8e57e56947c8ad690c227f5c9d7e561712 \
+ --hash=sha256:5d5902252db0d3cedf8d4a1bc68f70eeb430f7e4c7104c8c476753519b423008 \
+ --hash=sha256:617d7e2ca7dcb8c5cf6bcb8c59b8832c94b36196bbf1cbd1bfb56ed341905edd \
+ --hash=sha256:62f875393d7f270851f20523dd2e29f082bcc82292d66db2b64ea71f64b6e1c1 \
+ --hash=sha256:633147d34cf4550417f12e2b1a0383973bdf5cdfde212cb09e9a581cf10820be \
+ --hash=sha256:66ce7632c22d837c95301830e111ad0128a32b8207533b60896a96c4915192ea \
+ --hash=sha256:6b3ace8194b0e5204818c92802dcdca7fc6d88aabbb799d7c795540d9cd6d292 \
+ --hash=sha256:6f2eeda33a839975441c86a4119e1383c50b47faf0cbb5176985565c6bb02c33 \
+ --hash=sha256:7027560ee92211647d0d34e3f7cd6f50da56399d26a9c8ad0da286d3869a53f3 \
+ --hash=sha256:7283d57845ecf5a163403eb0702dfc220cc4fbdd18919cb5ccea4f95ee1cdab4 \
+ --hash=sha256:7a5f930472650a82629163023e630d160863fce524c616f4e5186e5de9d9a49b \
+ --hash=sha256:7bfb192b3f4b9e8a89b6277b6ce787564f62cfd272055f6e685726b111dc7826 \
+ --hash=sha256:811ff8e9c313ab425368bcbb36e5c4ebd7108c2bbf4e4089cfbb0b01eff63fac \
+ --hash=sha256:8233f2947cf85404441fd7e0085f53b10c93e0ee78611099b5c7237e36aacbf7 \
+ --hash=sha256:82cf5301172168103724d49a1444d3378cb20cdee30b116a1bd6031236298a5d \
+ --hash=sha256:8358a950c8909158e3df31538a7e4edc2d7265a7c54b47f0864d9e5bae9dcebf \
+ --hash=sha256:85bb3611ff1802f3ee7fdd7dbff26b56f343fb432d57a4728fdd49b6ef35e2f4 \
+ --hash=sha256:86e1a4418c6cd97d60c95c71164158eaf7324fae7b0923264016baa993eba6fc \
+ --hash=sha256:8b9bab013d1c7a79d3501ff86d0bc9c31bf587db4551677b96bec07df78c6b15 \
+ --hash=sha256:8c5dac79fa1614d1e06ca695109c6105923bd9c7d1d6c918d4e637b7e6b32fd3 \
+ --hash=sha256:8d0820e8192167f80d88d64038e609c31452eeca865b4e1d9950a27a4609b00b \
+ --hash=sha256:8daafc69c93ee8a0204506a3b6b30f586ef54028f52aeeeb5c4cfc5184fd5914 \
+ --hash=sha256:9037063db01f09b09e237c282b6792bd4da634b5402c4e7f0c61effed7701a04 \
+ --hash=sha256:905a0ed8ea6f2d61c1738835f99b699348d7857379083e5fc497fa0c967a407c \
+ --hash=sha256:90884113d8b48f760e9587002789ddd741e76ab9f89518cd1e43b1f1a52ec44b \
+ --hash=sha256:91a06d2e259ecfbd8c901d70c3c507900458498142b3026a296b7de4d1322cc9 \
+ --hash=sha256:926c9541b14b12b1681dca8a0b75feb510b06c6341b70a8e500c2fdcff837cce \
+ --hash=sha256:9401557acd873c3a7f3eb9383edef8ac4968f9510e340f4808d427e75667e7b4 \
+ --hash=sha256:9551187363ffc0de2a00b2e47c25aeaeb1020b69b668762966df15fc5659dd5a \
+ --hash=sha256:962ccbab7b642487b1d8b7df90ef677e03134cf1fd8880bf698649b22a69371f \
+ --hash=sha256:97e7cf2be5c77b7d1a9713a05605d49460d02c6078d38d8bef3cbe323c548424 \
+ --hash=sha256:9aa768456404a8bf48a4406685ac2bec8e72b62c69313734fa3b73cf33b3a894 \
+ --hash=sha256:9bc519fbf2b7578398853d815009ae5e4d4603d12f4e3f91da8c06852d3da3e9 \
+ --hash=sha256:9d56801be94b86a9da183e5f3766e6310752b99ff647e38b09a9500d88e46e76 \
+ --hash=sha256:9f444c499b3eefd3a92e348059471ea0c3a6e303d9c1cec09fa748fd9f895201 \
+ --hash=sha256:9fa8ae11da9e2b3126c6426f147e0fba88d96d65921799bb30c6abd1cb2c97fb \
+ --hash=sha256:a0f62d0a58f4e7da165457e995725421e0064f2255d8eccebc49f41bbc23b109 \
+ --hash=sha256:a396dcc17e5a0b164dbe026896245a4fa9ff402edca1dff0be3d53a517f74de4 \
+ --hash=sha256:aaa2a54443eff1950ba5ddc6b6ccda0d9c84a364276a62f969bdf2a390650848 \
+ --hash=sha256:ad785e92e6dc634c21555edc8bd6b64957ab844541bcb96a1366c202951ae526 \
+ --hash=sha256:af8244b2bef6aaad6d92cda81372de7f8c8d36c9f0c3ea36e827c60e7d9467a0 \
+ --hash=sha256:b078afbc25f3a1436c7a1d2cd3e322497ee99615ba97c563566fdf46aff1ee01 \
+ --hash=sha256:b2f69dec1725e79a012d920df1707de5caf7ed5e08f3be4435e25803efc47458 \
+ --hash=sha256:b8458003118a712e66286df6a707db01c52c0f52f7db8e4a38f0da1d3b94fc4e \
+ --hash=sha256:bb63e0198ca18aad131c089b9204c23079c3afa95487e561f4c522d519e55aba \
+ --hash=sha256:bfec22eab3c8cc2ceec0248aec886624116dc079afa027ecc8ad4a7e62010f8a \
+ --hash=sha256:c1747f85cee84c26985853c6f3d9bd3e75da5212912443fa111c113b9c246f39 \
+ --hash=sha256:c1b3f518abeca3aa13c712fd202306e145abf59a18b094a6bafb2d2bbf59192c \
+ --hash=sha256:c50f2528cf200c5eed56faf3f4e22fcd5f38c157a8b78576e6ba3168ec35f000 \
+ --hash=sha256:c68fcd102d71ea85c5b2dfac3f4f8476eff42a9e078fd5faefff6d145063536b \
+ --hash=sha256:c7a7bd4e39e8e4c12c39cd480356842b6a8a06e41b23a55a5e3e191718838ddf \
+ --hash=sha256:c94f0688e7b8d0a67abf40e57a7eaaecd17cc9586706a31b76c031f63df052b4 \
+ --hash=sha256:cbaf13819775b7f769bf4a1f066cb6df7a28d4480081a589828ef190226881cd \
+ --hash=sha256:cd2213145bcc2ba85884d0ac63d222fece9209678f77b9b4d76f054c561adb28 \
+ --hash=sha256:ce5c1d2a8b27468f433ca974829c44060b8097eedc39933e3c206a90ee49c4a9 \
+ --hash=sha256:d396ec2b979760aaf3218e76c24e65bd0aca24983298653b3a9d7a45f9e47b30 \
+ --hash=sha256:d51026d73fcfd93610abc7b27789c26b313920fcfb20e27462d74a7f8b06e983 \
+ --hash=sha256:d80ee3d731373b24cebbc10d689ca4ee1875caf0d5703a245db18efd4dd37fc1 \
+ --hash=sha256:d995260fdf4e1db774581b4900e0f832abe3c7c84996726bbc161b19c8f29e76 \
+ --hash=sha256:da4b951fe36dc7c3a1ccb4e3cd1747c3542b8c9ceede8fc86cae054e764485f5 \
+ --hash=sha256:daa27d92c36f24388fe3ad306b174781c747627f134452e4f128ea00ce1fe8c4 \
+ --hash=sha256:db06ffe51636ffe9ca531fe9023dd64bdd794be8754cb5df57c5498ae5b518a7 \
+ --hash=sha256:e0d65b8c354be7fb5f720c3caa8bc940bc2d20ce749c8e06135f07f8ed95dd7c \
+ --hash=sha256:e68b7a074f65a2fd746c52a7ce6142ab7006074ac269ace0c25cd8ba171f8066 \
+ --hash=sha256:e739fee756ba1010f8bcccb534252e85a35fe45ae92c295a06059ce58b74ccd3 \
+ --hash=sha256:e846ae7835bf0703ae43f534ab79a867146dadd59dc9ca5c8b53d5c8f7c9ef02 \
+ --hash=sha256:e9c26f834c65f5752f3f06cb08cb86a913ceb7274d0db6e267808a708b46bc89 \
+ --hash=sha256:ea793e075b70290d89d8142074262885d3f7da19634845135751bd6344f73b50 \
+ --hash=sha256:f027324c56cd5406ca49c124b0db10e56c69064fec039acc571c29020cc87c76 \
+ --hash=sha256:f13a646d65d09fbf1bc6b3a9635d30095c8e7e5cc419ff35ecc563c5fd04cd49 \
+ --hash=sha256:f47286a97f0bc9b8859519809077b91b2cefe4ae47fcbf5e466a009c1c5d742b \
+ --hash=sha256:f747929cf940cddb5b3668a390056ddd5ba2e5010615ea2dcf4f9c4f3ab8791d \
+ --hash=sha256:f99626688942fb746e545232e7726926f3be91b5975f8b55327665fafda991c7 \
+ --hash=sha256:f9fa868638bf362d3d138ea55829cefb3d5f4b0d7f142234382a15e2485dbec4 \
+ --hash=sha256:fbdb89b3e1c94a30cc5edfce477c6e6a5dc4d8f84665b455c27582f211a1c72c \
+ --hash=sha256:fc010ab034c8c7452522748bf937df58020d256ccae0874463d1f4d01758af8e \
+ --hash=sha256:fc3e9034a63de20e15e8ade85358bc6efc614008cab72898b4b4952bea0509ff \
+ --hash=sha256:fd8b3d9fd264be37976686c7f65cd52a83f5e84f4bfd2adf9c1d469676bbb6ae
+ # via pydantic
+pypdfium2==5.13.0 \
+ --hash=sha256:07f58e91b8c45ca144a1ff3008faf3c73ef8a5e9fb32988831788363288228cd \
+ --hash=sha256:2abedfb5c70992b19c780ed58d7f7b929e8ce8ee52c9140158f44317c90ec6c7 \
+ --hash=sha256:2ed32ff685f8e05e637c990bedbf5fca66727bf27718d8bc33eeab21ce0630d1 \
+ --hash=sha256:3826e521e895648983cb9ee6b934d4bf51552600043984f84e9c2b3b14b696f3 \
+ --hash=sha256:46b2f5be9e7ae941ee4216e3d20b66f9dc3d81944a3d57756272de5275204709 \
+ --hash=sha256:47dcca2a8d507b5fd24f94c3c9d48fb379430f097bc20f01beff6c963ffbcedb \
+ --hash=sha256:554a0b23376460af1410e3c915906895e2dac67a086b9e6ccde0643a795d3b0d \
+ --hash=sha256:5c029d7163a91f264eafab51fb442a84a33efd9fd83d5a06c0136a7857a3cc8d \
+ --hash=sha256:7ca2d8e31bd8d0d40c496416b7d8bea423388669ffd494929f50e8c3a82326b8 \
+ --hash=sha256:81df25c1ab4c13ff773102d3cbea1967511d079123b067fc077bd0c4d57d91d8 \
+ --hash=sha256:882f4bbd4b17a335b43603169a14cde9341de12b238acd5c39e690cbca7c4293 \
+ --hash=sha256:9c777edba28d1d5fd15435ed3a78ee2fdb93dd069be37cb53b559bc122793770 \
+ --hash=sha256:9ee8c2bb2e68b396ab4a763215ac100dacb6b96d0da5bebeb239a021aecc3a7e \
+ --hash=sha256:ada81c36483cd61d07e32bc7814620ee96256b4f421b913f566861bf91800248 \
+ --hash=sha256:b90b0a5ac310bb34db8eb848e58fcab4e201e124e3cf3cb1ccb7b85293e034af \
+ --hash=sha256:bcd81394fe101405e026eedb3e40bef84635c1e5d974dd6036420eb6937753c6 \
+ --hash=sha256:be2dccbde0ce7efe334ecd8f348df4308db360756ede4f0821d82dfc9a58caa8 \
+ --hash=sha256:d33ee7077db67478b75efe4b5ea9610fb96c5416a0bc4949227f0f59c34dfcd9 \
+ --hash=sha256:d66a32d89fa5b4a2715810171239eb194df4aba604727483ab760512f3c6a851 \
+ --hash=sha256:d96929bde3bd64c771ab3558ca1ffd7704cc4d872ab92cd9f8f8b8a20f7f36b8 \
+ --hash=sha256:d96beb7f379e6c76d874ca93fcd182ac3168dd499056407070f9927fb1061b8e \
+ --hash=sha256:da5c7b74eebf40b5c1fbe1de01aa1edc8827a79fb1efd999616bc20dcaf77ba4
+ # via
+ # -r requirements-ocr.in
+ # pdfplumber
+python-dateutil==2.9.0.post0 \
+ --hash=sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3 \
+ --hash=sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427
+ # via pandas
+python-dotenv==1.2.3 \
+ --hash=sha256:904552145e8bfed22162c09dab1c2b9b54fefa7b23ba780f4f26ca0316b0f0d9 \
+ --hash=sha256:a20a594dabeaa385725aa239d5244871c143ecb356add8a20fcf23773a6c3a35
+ # via magika
+python-pptx==1.0.2 \
+ --hash=sha256:160838e0b8565a8b1f67947675886e9fea18aa5e795db7ae531606d68e785cba \
+ --hash=sha256:479a8af0eaf0f0d76b6f00b0887732874ad2e3188230315290cd1f9dd9cc7095
+ # via markitdown
+pyyaml==6.0.3 \
+ --hash=sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c \
+ --hash=sha256:0150219816b6a1fa26fb4699fb7daa9caf09eb1999f3b70fb6e786805e80375a \
+ --hash=sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3 \
+ --hash=sha256:02ea2dfa234451bbb8772601d7b8e426c2bfa197136796224e50e35a78777956 \
+ --hash=sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6 \
+ --hash=sha256:10892704fc220243f5305762e276552a0395f7beb4dbf9b14ec8fd43b57f126c \
+ --hash=sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65 \
+ --hash=sha256:1d37d57ad971609cf3c53ba6a7e365e40660e3be0e5175fa9f2365a379d6095a \
+ --hash=sha256:1ebe39cb5fc479422b83de611d14e2c0d3bb2a18bbcb01f229ab3cfbd8fee7a0 \
+ --hash=sha256:214ed4befebe12df36bcc8bc2b64b396ca31be9304b8f59e25c11cf94a4c033b \
+ --hash=sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1 \
+ --hash=sha256:22ba7cfcad58ef3ecddc7ed1db3409af68d023b7f940da23c6c2a1890976eda6 \
+ --hash=sha256:27c0abcb4a5dac13684a37f76e701e054692a9b2d3064b70f5e4eb54810553d7 \
+ --hash=sha256:28c8d926f98f432f88adc23edf2e6d4921ac26fb084b028c733d01868d19007e \
+ --hash=sha256:2e71d11abed7344e42a8849600193d15b6def118602c4c176f748e4583246007 \
+ --hash=sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310 \
+ --hash=sha256:37503bfbfc9d2c40b344d06b2199cf0e96e97957ab1c1b546fd4f87e53e5d3e4 \
+ --hash=sha256:3c5677e12444c15717b902a5798264fa7909e41153cdf9ef7ad571b704a63dd9 \
+ --hash=sha256:3ff07ec89bae51176c0549bc4c63aa6202991da2d9a6129d7aef7f1407d3f295 \
+ --hash=sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea \
+ --hash=sha256:418cf3f2111bc80e0933b2cd8cd04f286338bb88bdc7bc8e6dd775ebde60b5e0 \
+ --hash=sha256:44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e \
+ --hash=sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac \
+ --hash=sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9 \
+ --hash=sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7 \
+ --hash=sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35 \
+ --hash=sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb \
+ --hash=sha256:5cf4e27da7e3fbed4d6c3d8e797387aaad68102272f8f9752883bc32d61cb87b \
+ --hash=sha256:5e0b74767e5f8c593e8c9b5912019159ed0533c70051e9cce3e8b6aa699fcd69 \
+ --hash=sha256:5ed875a24292240029e4483f9d4a4b8a1ae08843b9c54f43fcc11e404532a8a5 \
+ --hash=sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b \
+ --hash=sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c \
+ --hash=sha256:6344df0d5755a2c9a276d4473ae6b90647e216ab4757f8426893b5dd2ac3f369 \
+ --hash=sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd \
+ --hash=sha256:652cb6edd41e718550aad172851962662ff2681490a8a711af6a4d288dd96824 \
+ --hash=sha256:66291b10affd76d76f54fad28e22e51719ef9ba22b29e1d7d03d6777a9174198 \
+ --hash=sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065 \
+ --hash=sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c \
+ --hash=sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c \
+ --hash=sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764 \
+ --hash=sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196 \
+ --hash=sha256:8098f252adfa6c80ab48096053f512f2321f0b998f98150cea9bd23d83e1467b \
+ --hash=sha256:850774a7879607d3a6f50d36d04f00ee69e7fc816450e5f7e58d7f17f1ae5c00 \
+ --hash=sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac \
+ --hash=sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8 \
+ --hash=sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e \
+ --hash=sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28 \
+ --hash=sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3 \
+ --hash=sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5 \
+ --hash=sha256:9c57bb8c96f6d1808c030b1687b9b5fb476abaa47f0db9c0101f5e9f394e97f4 \
+ --hash=sha256:9c7708761fccb9397fe64bbc0395abcae8c4bf7b0eac081e12b809bf47700d0b \
+ --hash=sha256:9f3bfb4965eb874431221a3ff3fdcddc7e74e3b07799e0e84ca4a0f867d449bf \
+ --hash=sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5 \
+ --hash=sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702 \
+ --hash=sha256:b30236e45cf30d2b8e7b3e85881719e98507abed1011bf463a8fa23e9c3e98a8 \
+ --hash=sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788 \
+ --hash=sha256:b865addae83924361678b652338317d1bd7e79b1f4596f96b96c77a5a34b34da \
+ --hash=sha256:b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d \
+ --hash=sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc \
+ --hash=sha256:bdb2c67c6c1390b63c6ff89f210c8fd09d9a1217a465701eac7316313c915e4c \
+ --hash=sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba \
+ --hash=sha256:c2514fceb77bc5e7a2f7adfaa1feb2fb311607c9cb518dbc378688ec73d8292f \
+ --hash=sha256:c3355370a2c156cffb25e876646f149d5d68f5e0a3ce86a5084dd0b64a994917 \
+ --hash=sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5 \
+ --hash=sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26 \
+ --hash=sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f \
+ --hash=sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b \
+ --hash=sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be \
+ --hash=sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c \
+ --hash=sha256:efd7b85f94a6f21e4932043973a7ba2613b059c4a000551892ac9f1d11f5baf3 \
+ --hash=sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6 \
+ --hash=sha256:fa160448684b4e94d80416c0fa4aac48967a969efe22931448d853ada8baf926 \
+ --hash=sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0
+ # via
+ # ctranslate2
+ # huggingface-hub
+ # omegaconf
+ # rapidocr
+rapidocr==3.9.2 \
+ --hash=sha256:04d6b8d151f823d930bd91910555f57bea897c0c44fa6794267b94cf9c1ef9a0
+ # via -r requirements-ocr.in
+requests==2.34.2 \
+ --hash=sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0 \
+ --hash=sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed
+ # via
+ # markitdown
+ # rapidocr
+setuptools==84.0.0 \
+ --hash=sha256:51a52592b3b99e102b609654876bd65f19f999935166d1352678931132b0c670 \
+ --hash=sha256:f4695c21257f0d9b537ec2692c941d02ee143b7cc1276941349a546573b2ef73
+ # via ctranslate2
+shapely==2.1.2 \
+ --hash=sha256:0036ac886e0923417932c2e6369b6c52e38e0ff5d9120b90eef5cd9a5fc5cae9 \
+ --hash=sha256:01d0d304b25634d60bd7cf291828119ab55a3bab87dc4af1e44b07fb225f188b \
+ --hash=sha256:0bd308103340030feef6c111d3eb98d50dc13feea33affc8a6f9fa549e9458a3 \
+ --hash=sha256:136ab87b17e733e22f0961504d05e77e7be8c9b5a8184f685b4a91a84efe3c26 \
+ --hash=sha256:16a9c722ba774cf50b5d4541242b4cce05aafd44a015290c82ba8a16931ff63d \
+ --hash=sha256:16c5d0fc45d3aa0a69074979f4f1928ca2734fb2e0dde8af9611e134e46774e7 \
+ --hash=sha256:19efa3611eef966e776183e338b2d7ea43569ae99ab34f8d17c2c054d3205cc0 \
+ --hash=sha256:1d0bfb4b8f661b3b4ec3565fa36c340bfb1cda82087199711f86a88647d26b2f \
+ --hash=sha256:1e7d4d7ad262a48bb44277ca12c7c78cb1b0f56b32c10734ec9a1d30c0b0c54b \
+ --hash=sha256:1f2f33f486777456586948e333a56ae21f35ae273be99255a191f5c1fa302eb4 \
+ --hash=sha256:1ff629e00818033b8d71139565527ced7d776c269a49bd78c9df84e8f852190c \
+ --hash=sha256:21952dc00df38a2c28375659b07a3979d22641aeb104751e769c3ee825aadecf \
+ --hash=sha256:2d93d23bdd2ed9dc157b46bc2f19b7da143ca8714464249bef6771c679d5ff40 \
+ --hash=sha256:2ed4ecb28320a433db18a5bf029986aa8afcfd740745e78847e330d5d94922a9 \
+ --hash=sha256:2fa78b49485391224755a856ed3b3bd91c8455f6121fee0db0e71cefb07d0ef6 \
+ --hash=sha256:346ec0c1a0fcd32f57f00e4134d1200e14bf3f5ae12af87ba83ca275c502498c \
+ --hash=sha256:361b6d45030b4ac64ddd0a26046906c8202eb60d0f9f53085f5179f1d23021a0 \
+ --hash=sha256:40d784101f5d06a1fd30b55fc11ea58a61be23f930d934d86f19a180909908a4 \
+ --hash=sha256:4a44bc62a10d84c11a7a3d7c1c4fe857f7477c3506e24c9062da0db0ae0c449c \
+ --hash=sha256:5860eb9f00a1d49ebb14e881f5caf6c2cf472c7fd38bd7f253bbd34f934eb076 \
+ --hash=sha256:5ebe3f84c6112ad3d4632b1fd2290665aa75d4cef5f6c5d77c4c95b324527c6a \
+ --hash=sha256:61edcd8d0d17dd99075d320a1dd39c0cb9616f7572f10ef91b4b5b00c4aeb566 \
+ --hash=sha256:6305993a35989391bd3476ee538a5c9a845861462327efe00dd11a5c8c709a99 \
+ --hash=sha256:6ddc759f72b5b2b0f54a7e7cde44acef680a55019eb52ac63a7af2cf17cb9cd2 \
+ --hash=sha256:743044b4cfb34f9a67205cee9279feaf60ba7d02e69febc2afc609047cb49179 \
+ --hash=sha256:7ae48c236c0324b4e139bea88a306a04ca630f49be66741b340729d380d8f52f \
+ --hash=sha256:7ed1a5bbfb386ee8332713bf7508bc24e32d24b74fc9a7b9f8529a55db9f4ee6 \
+ --hash=sha256:8cff473e81017594d20ec55d86b54bc635544897e13a7cfc12e36909c5309a2a \
+ --hash=sha256:8d8382dd120d64b03698b7298b89611a6ea6f55ada9d39942838b79c9bc89801 \
+ --hash=sha256:9111274b88e4d7b54a95218e243282709b330ef52b7b86bc6aaf4f805306f454 \
+ --hash=sha256:91121757b0a36c9aac3427a651a7e6567110a4a67c97edf04f8d55d4765f6618 \
+ --hash=sha256:980c777c612514c0cf99bc8a9de6d286f5e186dcaf9091252fcd444e5638193d \
+ --hash=sha256:9a522f460d28e2bf4e12396240a5fc1518788b2fcd73535166d748399ef0c223 \
+ --hash=sha256:9c3a3c648aedc9f99c09263b39f2d8252f199cb3ac154fadc173283d7d111350 \
+ --hash=sha256:a1fd0ea855b2cf7c9cddaf25543e914dd75af9de08785f20ca3085f2c9ca60b0 \
+ --hash=sha256:a444e7afccdb0999e203b976adb37ea633725333e5b119ad40b1ca291ecf311c \
+ --hash=sha256:a84e0582858d841d54355246ddfcbd1fce3179f185da7470f41ce39d001ee1af \
+ --hash=sha256:b510dda1a3672d6879beb319bc7c5fd302c6c354584690973c838f46ec3e0fa8 \
+ --hash=sha256:b54df60f1fbdecc8ebc2c5b11870461a6417b3d617f555e5033f1505d36e5735 \
+ --hash=sha256:b705c99c76695702656327b819c9660768ec33f5ce01fa32b2af62b56ba400a1 \
+ --hash=sha256:ba4d1333cc0bc94381d6d4308d2e4e008e0bd128bdcff5573199742ee3634359 \
+ --hash=sha256:c64d5c97b2f47e3cd9b712eaced3b061f2b71234b3fc263e0fcf7d889c6559dc \
+ --hash=sha256:c8876673449f3401f278c86eb33224c5764582f72b653a415d0e6672fde887bf \
+ --hash=sha256:ca2591bff6645c216695bdf1614fca9c82ea1144d4a7591a466fef64f28f0715 \
+ --hash=sha256:cc4f7397459b12c0b196c9efe1f9d7e92463cbba142632b4cc6d8bbbbd3e2b09 \
+ --hash=sha256:cf831a13e0d5a7eb519e96f58ec26e049b1fad411fc6fc23b162a7ce04d9cffc \
+ --hash=sha256:dc3487447a43d42adcdf52d7ac73804f2312cbfa5d433a7d2c506dcab0033dfd \
+ --hash=sha256:df90e2db118c3671a0754f38e36802db75fe0920d211a27481daf50a711fdf26 \
+ --hash=sha256:e38a190442aacc67ff9f75ce60aec04893041f16f97d242209106d502486a142 \
+ --hash=sha256:e9eddfe513096a71896441a7c37db72da0687b34752c4e193577a145c71736fc \
+ --hash=sha256:eba6710407f1daa8e7602c347dfc94adc02205ec27ed956346190d66579eb9ea \
+ --hash=sha256:ef4a456cc8b7b3d50ccec29642aa4aeda959e9da2fe9540a92754770d5f0cf1f \
+ --hash=sha256:f67b34271dedc3c653eba4e3d7111aa421d5be9b4c4c7d38d30907f796cb30df \
+ --hash=sha256:f6f6cd5819c50d9bcf921882784586aab34a4bd53e7553e175dece6db513a6f0 \
+ --hash=sha256:fe2533caae6a91a543dec62e8360fe86ffcdc42a7c55f9dfd0128a977a896b94 \
+ --hash=sha256:fe7b77dc63d707c09726b7908f575fc04ff1d1ad0f3fb92aec212396bc6cfe5e \
+ --hash=sha256:fe9627c39c59e553c90f5bc3128252cb85dc3b3be8189710666d2f8bc3a5503e
+ # via rapidocr
+six==1.17.0 \
+ --hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 \
+ --hash=sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
+ # via
+ # markdownify
+ # python-dateutil
+ # rapidocr
+sniffio==1.3.1 \
+ --hash=sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2 \
+ --hash=sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc
+ # via openai
+soupsieve==2.9.2 \
+ --hash=sha256:4a55d8cf158a9c2e587fa4922f1bbb91d68ac829e2d6f25403a85747c71daf74 \
+ --hash=sha256:8089a26fd974ca7a1f30276d3d8492ab266ab15af581642dfe8aa162e0c1c823
+ # via beautifulsoup4
+tokenizers==0.23.1 \
+ --hash=sha256:120468fb4c24faf0543c835a4fabafa4deb3f20a035c9b6e83d0b553a97615d4 \
+ --hash=sha256:1974288a609c343774f1b897c8b482c791ab17b75ab5c8c2b1737565c1d82288 \
+ --hash=sha256:1bf13402aff9bc533c89cb849ec3b412dc3fbeacc9744840e423d7bf3f7dc0e3 \
+ --hash=sha256:1feeeadf865a7915adc25445dea30e9933e593c31bb96c277cee36de227c8bfa \
+ --hash=sha256:5075b405006415ea148a992d093699c66eb01952bf59f4d5727089a98bda45a4 \
+ --hash=sha256:53b09e85775d5187941e7bab30e941b4134ab4a7dd8c68e783d231fb7ca27c51 \
+ --hash=sha256:56f3a77de629917652f876294dc9fe6bad4a0c43bc229dc72e59bb23a0f4729a \
+ --hash=sha256:93120a930b919416da7cd10a2f606ac9919cc69cacae7980fa2140e277660948 \
+ --hash=sha256:9d10a6d957ef01896dc274e890eee27d41bd0e74ef31e60616f0fc311345184e \
+ --hash=sha256:a26197957d8e4425dfba746315f3c425ea00cfa8367c5fbc4ec73447893dcea9 \
+ --hash=sha256:ae848657742035523fdf261773630cb819a26995fcd3d9ecae0c1daf6e5a4959 \
+ --hash=sha256:e03d6ffcbe0d56ee9c1ccd070e70a13fa750727c0277e138152acbc0252c2224 \
+ --hash=sha256:e0948bbb1ac1d7cdfc9fb6d62c596e3b7550036ad60ecd654a66ad273326324e \
+ --hash=sha256:e3d8f40ea6268047de7046906326abed5134f27d4e8447b23763afe5808c8a96 \
+ --hash=sha256:e7bfaf995c1bdbbd21d13539decb6650967013759318627d85daeb7881af16b7 \
+ --hash=sha256:ea5a0ce170074329faaa8ea3f6400ecde604b6678192688533af80980daae71a \
+ --hash=sha256:f836ca703b89ae07919a309f9651f7a88fd5a33d5f718ba5ad0870ec0256bad6
+ # via faster-whisper
+tqdm==4.70.0 \
+ --hash=sha256:55b0b0dbd97462d06ebee91e4dac24ed4d4702be82b24f07e6c1d27e08cea220 \
+ --hash=sha256:7f585706bfddbdebf89daac705b2dfcc16890130727d3197ca62c732b4310953
+ # via
+ # faster-whisper
+ # huggingface-hub
+ # openai
+ # rapidocr
+typing-extensions==4.16.0 \
+ --hash=sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8 \
+ --hash=sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5
+ # via
+ # anyio
+ # beautifulsoup4
+ # huggingface-hub
+ # omegaconf
+ # openai
+ # pydantic
+ # pydantic-core
+ # python-pptx
+ # typing-inspection
+typing-inspection==0.4.4 \
+ --hash=sha256:547274fa6b0a561ccf549cc9524b999a578e737d015d8709d021f9d0d13bea47 \
+ --hash=sha256:65b8397ba37ccbce054456aaccddfc91e6e3083c92824df348d96ca832f3f147
+ # via pydantic
+tzdata==2026.3 ; sys_platform == 'emscripten' or sys_platform == 'win32' \
+ --hash=sha256:4a1518b8993086a7982523e071643f3c0e5f213e75b21318e78bcabfff9d1415 \
+ --hash=sha256:dc096730c87af6cab1b171c9d532be840741ff5d459015e7f6947bd7d7e54931
+ # via pandas
+urllib3==2.7.0 \
+ --hash=sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c \
+ --hash=sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897
+ # via requests
+xlrd==2.0.2 \
+ --hash=sha256:08b5e25de58f21ce71dc7db3b3b8106c1fa776f3024c54e45b45b374e89234c9 \
+ --hash=sha256:ea762c3d29f4cca48d82df517b6d89fbce4db3107f9d78713e48cd321d5c9aa9
+ # via markitdown
+xlsxwriter==3.2.9 \
+ --hash=sha256:254b1c37a368c444eac6e2f867405cc9e461b0ed97a3233b2ac1e574efb4140c \
+ --hash=sha256:9a5db42bc5dff014806c58a20b9eae7322a134abb6fce3c92c181bfb275ec5b3
+ # via python-pptx
diff --git a/app/src-tauri/resources/sidecar/requirements-ocr.lock b/app/src-tauri/resources/sidecar/requirements-ocr.lock
index 68c6efc..63a19d2 100644
--- a/app/src-tauri/resources/sidecar/requirements-ocr.lock
+++ b/app/src-tauri/resources/sidecar/requirements-ocr.lock
@@ -1,12 +1,11 @@
# This file was autogenerated by uv via the following command:
-# uv pip compile requirements-ocr.in --generate-hashes --python-version 3.12 -o requirements-ocr.lock
-antlr4-python3-runtime==4.9.3 \
- --hash=sha256:f224469b4168294902bb1efa80a8bf7855f24c99aef99cbefc1bcd3cce77881b
- # via omegaconf
+# uv pip compile requirements-ocr.in --constraint requirements-full.lock --universal --python-version 3.12 --generate-hashes --only-binary :all: --output-file requirements-ocr.lock
certifi==2026.7.22 \
--hash=sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775 \
--hash=sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55
- # via requests
+ # via
+ # -c requirements-full.lock
+ # requests
charset-normalizer==3.5.1 \
--hash=sha256:00668ebb0609751758682eb0b5857e7c35b9f00e84dfdef062e103244ec94d45 \
--hash=sha256:012a22b88a77ca2e59b98ac5889b0deb604147666032f45e6d6e217634d2550d \
@@ -180,106 +179,112 @@ charset-normalizer==3.5.1 \
--hash=sha256:fd0350afdc3aabd5576f60ea109228bd5538139713c7b094c5cd27c73a98bc6f \
--hash=sha256:fd0a274c0e5f9a21565cd9d3dd749b61f96b7aa1e20a93aa1ba4029518f2e5c0 \
--hash=sha256:fdb8a068947befafba9952162645dc2fecaeb400e64584829ed5e9b2fbe21a7f
- # via requests
-colorama==0.4.6 \
+ # via
+ # -c requirements-full.lock
+ # requests
+colorama==0.4.6 ; sys_platform == 'win32' \
--hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
--hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
# via
+ # -c requirements-full.lock
# colorlog
# tqdm
colorlog==6.12.0 \
--hash=sha256:2a7924c1dadf18b22a0eb8b06d1c7b01d5341707ec1641eb6fcc4fde0c3e8e5f \
--hash=sha256:30d392604e9110045a2c2aeefc27d7a017abbab63f3a8aee594eac0801df784e
- # via rapidocr
+ # via
+ # -c requirements-full.lock
+ # rapidocr
flatbuffers==25.12.19 \
--hash=sha256:7634f50c427838bb021c2d66a3d1168e9d199b0607e6329399f04846d42e20b4
- # via onnxruntime
+ # via
+ # -c requirements-full.lock
+ # onnxruntime
idna==3.19 \
--hash=sha256:5e0811a4383b21dc5838069f801c4fb62113b7447663d2530d2bd6e77b49bf15 \
--hash=sha256:815e7be7a7806d54abb586dc943addc79e8b2ee16915059658cbeff4b1b43bf4
- # via requests
-numpy==2.4.6 \
- --hash=sha256:001fbb8e08d942dd57599e781f2472269ee7f2755fae407b4f67b2f0b17da3f1 \
- --hash=sha256:0280e0356c0829a18d9de1cb7eee50ec22ca639878d7240307ca0943d73cd2c4 \
- --hash=sha256:043191bfa8eab18c776647b62723ac9dddece59743b13f49b2016094129c2b3f \
- --hash=sha256:06ca2f61ec4385a07a6977c55ba998a4466c123642b4a32694d3128fce18c079 \
- --hash=sha256:0a041d3d761dc3c35cc56ce0351506a02bcbc25f7b169f652435141a17db9096 \
- --hash=sha256:0ab0a9c4ffb1a6d95ef519fe4247dba8eb6b18ad93999f76b7f657039acabd47 \
- --hash=sha256:0c9136e14ed34a9e343a31c533d78a9813a69a3148332bce5e9821cb2f996e66 \
- --hash=sha256:110f8b71aacb688ec69062bb7f6938a0f8acb01b7c1c4beb453c65b6d234584d \
- --hash=sha256:112b06a867b235ef466ed3508ddf0238050df9c727cafb5301ac385b899189a1 \
- --hash=sha256:17f9ade344e7d9b464a084d69bcf18fc691cb1db67c62ed80820bf4926d78f0e \
- --hash=sha256:1e254a00cdf42b1e4d5b3d68d33af63268d41340d8885df2ab6470f2e1500147 \
- --hash=sha256:1e978ec1e8bd0e0e4de6bb75de9d30cbb74db6b6a2bb727618613703ca0167dd \
- --hash=sha256:25c692919ac5a01f170a3bfcd62d745b24fd095c353d50812637d6fcab442e75 \
- --hash=sha256:260a5d70215b61ab4fadf5c7baacd64821842975eea312125ed3c39a6391b063 \
- --hash=sha256:2803abfebfc990042cd494d8ce2d5f82e9d847af6d35ec486923aa19dbad5e73 \
- --hash=sha256:29a287e0cf63ff528da061de6b9f64a4618da591ca1046aafc54062e40ca7eab \
- --hash=sha256:29cb7f67d10b479ff07c17d33e39f78c07f71c40ef30d63c153d340e96cd3fb4 \
- --hash=sha256:3213d622a0283a39a93d188f3cf72b26862df52fbb4ca3697f51705016523d41 \
- --hash=sha256:33111801a01c12a8a1e3721f0a9232f8cfc8ae2c6b7098167e6f623c6073f402 \
- --hash=sha256:357cc07a6d7b0b182ff02249616a03742827ebb1277546b5c7cd7f7620a45698 \
- --hash=sha256:38efbc8de75c7a0fc1ac190162d892787f3f47b57cc291231aafee36b80982b7 \
- --hash=sha256:4081eb135ac24158bd51cdfbef16f1c64df7063b1143f24731387137c092bec8 \
- --hash=sha256:40fdc1ae7125e518ea98e53e69a4ebc27e1fd50510c47b7ea130cf21e5e1d42b \
- --hash=sha256:4cfe66903cc32a9921a6733d96b19bb6abf310397581bbad89c228f5abaf0ee8 \
- --hash=sha256:511dbaf848decaaaf4b4ca48032619fb3138710c4bf7da7617765edad1ef96b0 \
- --hash=sha256:55cced7c52e981362f708ad635198e97a752dfba412cc03c23bbf3bd8d5cd662 \
- --hash=sha256:56b39e5e0622a09a25bf5baf62f4bcf0cb8a41ae6e2819cf49bbc5a74c083f91 \
- --hash=sha256:5dbbdb29840ca3d91ee0fece42fc29278886d908280bfec0a5846c6f901a3eb0 \
- --hash=sha256:5f9fb9157b4ce2971008323afe46053787b526ef624fea915b261468a8421a0f \
- --hash=sha256:6180d8b35af935aed8ece3a85e0a43f87393ae0ac87c8d2c8bd2c993f7270ef3 \
- --hash=sha256:68a5124b13fa6cc2086764a20005d30bc0548146f7f5322f02fce212ca14317f \
- --hash=sha256:68bb27509ac1b9a3443094260f6326150663b06abe40b73a2f81160623da5b67 \
- --hash=sha256:6f41ae150c4e32db4f3310cdaf64b1593a03dbabe29eec77fc9b50fe64061df6 \
- --hash=sha256:7265a2f3d436e54ef9f2b52b5c937e6be778781bd97a590319d7348f1c1ca997 \
- --hash=sha256:72fbe16c6fac95aedf5937fa873445cec2110be35d8a4e9433d7501fd98dae6b \
- --hash=sha256:7d92c3819208a60205a12a245c91ad70cb0a85336659b19b834205573ac8456e \
- --hash=sha256:8155154c7c691289fe18f510b5d4657c68c67989f293f0535a91360392ff6538 \
- --hash=sha256:81a1cca95ed5bb92aa8b10dd2cdc9a0d3853a50fad926c28b5d7e8ea54389627 \
- --hash=sha256:89cd468399cfd2504718f0ba50e410dca55a170b61a02ad92bb18c8a65186e93 \
- --hash=sha256:8ad03c0965fb3c692200e74d458ca28c1dbb4ce96f9a479a8aa041ad5fabca02 \
- --hash=sha256:90f9849678c75fe7afa2d348ac842c168b0a4d3d61919687216dfc547976d853 \
- --hash=sha256:948424b06129ce883307e8cff868c31396d8dc7630a59c61d70d98dbe70f222c \
- --hash=sha256:9cd5ffd25db4e7ba6a375693b3fc0fc1791ec636c17db3720da19bde7180ec43 \
- --hash=sha256:a0df0043bdb289bde1f62da130d20df23d58b45429f752bc7a8fc5325a225ecd \
- --hash=sha256:a2c306dea656c12c68f51f4cea133cbe78ca7435eb28c735eac1d3ebe73be6e8 \
- --hash=sha256:a7830bab239b79cda9c08c2da014761cafb48da6150e1da17ac06283f43b6089 \
- --hash=sha256:a7c711e21628b52034bb5ab8d1bce291f752fcc5e92accc615778acee1ff4778 \
- --hash=sha256:aaf159caa35993cb1f56fb9b8e4610d35758e7ca005412eb1daa856a78c9c4b1 \
- --hash=sha256:ae506e6902902557576a26ff33eda8695e7ecb3cb36c3b573a0765dee114ebdb \
- --hash=sha256:b507f5c4c1d508876d1819b6bf9a49d365b96320b5d4993426b33a23ca4b8261 \
- --hash=sha256:bf162abab1c1a736333192707cef898e735a5ca00f38f27eeedf44b39d9e85eb \
- --hash=sha256:c1a2af6c6ef86344a6b0db6b97834208bf598db514f2b155042439b62605601a \
- --hash=sha256:c2d37ab77531417474168eb79d6d80b14f821a966818505d03013d0833edb7a8 \
- --hash=sha256:c4fc99836233ea196540b17ab0983aff60ed07941751930f5f4d05bc3b3b7359 \
- --hash=sha256:d581b735e177fdcdce6fed8e7e8880a3fb6ee4e3653a3ac6af01c6f4c03effc5 \
- --hash=sha256:d6da64deb6b8ed903e7560180a92f2d804ee1ba5eeb849ac2748b8c1aba1f6d7 \
- --hash=sha256:d8e8286dd7cea7895157318d1b91cdacac64c479f3cbc8dce548331728484751 \
- --hash=sha256:ddea102b48f9e339f3948bf22040944184627a30fdf7f858667673b9c5f033c8 \
- --hash=sha256:dfa20cc6ca228e6b155b11da03825975ce66aea520985dbbddf0f2a5a495c605 \
- --hash=sha256:e3e5193ef5a3dc73bceee50f7fdc2c90dbb76c42df8d8fae3d1067a583df579e \
- --hash=sha256:e3eeb0aabd6bd5ce64faae67e9935203a6991b4bc2a485a767fbafb2c5125f45 \
- --hash=sha256:e5805d5a22fd19c8ccff10a9561f9df94436b0545619ea579db2d3c35294bce2 \
- --hash=sha256:e85b752a1e912b70eaad4fafbd4d1238007ab221de2009b9a2f5ae7461239895 \
- --hash=sha256:eaf7fa2de5c0be8ae6ff8e9bea2ccd725e980541244521d8d4b5f3354a27babe \
- --hash=sha256:ebfb099f8dcf083deef3ac1ca4c1503f387cf76296fcb3816b66f5ecb5f54fdb \
- --hash=sha256:ece3d2cfe132e7d51f44a832b303895e6f2d499c5e74dfbdb06ee246147a304a \
- --hash=sha256:ed9749eef4cbd126da3dc1d6bcb3a57f5eb7ac6a6484146bdbf743f552dfc577 \
- --hash=sha256:ede83e07a75dd06bc501566c1eca2afc0d61677c1472ac9ad93fdee6e638a48d \
- --hash=sha256:ef4aea96ce4d3b074422cb4f2f64e216bf9e213004bb58ecfdf50ea02ea8eb9a \
- --hash=sha256:f3a3570c4a2a16746ac2c31a7c7c7b0c186b95ce902e33db6f28094ed7387dda \
- --hash=sha256:f407cb6b8e9d6d8c626bc73c945db1706035af8fd632295547bf1c9e46d092d6 \
- --hash=sha256:f74a575920ab21fe304421a3fc28793d82e299cae9eccb37084e9fc7f3617c20
# via
+ # -c requirements-full.lock
+ # requests
+numpy==2.5.2 \
+ --hash=sha256:0090ccdd57ec2703e9b49d0bf554767370581c1dd0a6b2bb2b2d9def317d042a \
+ --hash=sha256:078f9b027b478c9379b9677babbf0f8b8f1ecfada27636d7b9a93990c638739f \
+ --hash=sha256:07d4e89f3a9ab0a9ba24264ccdb642b3dd951b2281e8883a5481a4aa79cc31a7 \
+ --hash=sha256:0a4035ae1129ff8777f08bfbd44f1e5d8e9c049ce0c2dd78fc0d92c13e7251c0 \
+ --hash=sha256:0aadf13b60048d501e05fa699efaf7734e2494f3498a4c2a5521d822640324f3 \
+ --hash=sha256:14e373cfc6387177e8409dac3c7159be8eb05cd77096cd7c950268b86f62831c \
+ --hash=sha256:1ab3d4a901f844ea836c3e80bf463c6a27d7f3c14e8e292fcf28d348b25b9bce \
+ --hash=sha256:24b9dc2e3d84aa58523798805194e23e736f3f6ce2d1a5b92583ae734e6dbda8 \
+ --hash=sha256:27650bb0e7140fa3d37b9923b4803645e0b125d190f326eecfd3f4dad8e8ade1 \
+ --hash=sha256:28ac63476ec7651484215ee7fa15a1f78b57c14621f01e392afe17b9a1390ce4 \
+ --hash=sha256:29b86ff8a6cc556b47ec6b64b194815cc80e6bf5eedcc6cddfd65318cb0b4eee \
+ --hash=sha256:29d81e97f668489cba8ebfd796b9bdd453525d35dd9e162e2daec94bf3fc7740 \
+ --hash=sha256:2cc779226e476d1e1f08c74068c419e60f41a9e0e069c92f6671d31d5c985e98 \
+ --hash=sha256:2ffa7bacab3e2ee1b19ed31766bb60bb380b68c23f051e199c5cc598afd68710 \
+ --hash=sha256:318b9a4c845dbea06708a29c84ee429cc3065048db34cdb799047643492050ee \
+ --hash=sha256:34c319e2963be042673fb46570501b2f06c41924e17e3563d58646b4380dfb68 \
+ --hash=sha256:3a2f061cebd9e3d23bdcfaaded5e2293a4c6a5b60fa42df85d410a725ce621bf \
+ --hash=sha256:3cdec01fa790a186d430433fdd4d4ffb70eed6f0eeb4bf05c8dbe2dce0a9bcb8 \
+ --hash=sha256:3e4c367352d3747784248a227fbec218e193b56f7e6692e3b64fc805478ecfdf \
+ --hash=sha256:40f4d451aed46a8046a1aae41c4e55fb3612273df9c502480135e1501576a34b \
+ --hash=sha256:44ef9675d908e65f9953063837c3277730f3f4437615a4cdab67b366cabaf884 \
+ --hash=sha256:4bbd96c833ecc8cc069ce518078fc8c60cb9cbfb0fea5b7a803ad65035596d03 \
+ --hash=sha256:4ec954036759bcee3aa484f8603bd9c14f3e776293b85578b8734c2d72777c69 \
+ --hash=sha256:4f9744f9fbdcea0bc552e8f19e1f141f811a3f9bc2be2cc6e86d982cab23e3f4 \
+ --hash=sha256:50a68f4bacd8a2b33d8da3d2269d0d78500f86ea582e4786dc10f5ef2c2c6842 \
+ --hash=sha256:50e500dc868e9313530ce12ba470fe50ff3afe3d62993ed6eff652dacd555b65 \
+ --hash=sha256:52c808f96484f5571a5cc863775ce50247c17dfb3b0361f8ed6b4b0456f80080 \
+ --hash=sha256:5f8e00be2ec6f45f4e8a41a527f68d44a7d96fee92a650e4d8b1326f77f61e6e \
+ --hash=sha256:60e902ac295855348a5ca2ea4c89108989a9f5fddfad3dfc0a8f36b10358567e \
+ --hash=sha256:65f188481f1669e26f62b701e8205d19e460fa4a9b52a1414ba382330e4a3414 \
+ --hash=sha256:6950c4b7dd562453090548ba7f5da7e59f57f85663f15d5dcc60e249192f7e59 \
+ --hash=sha256:6a9bb119fb8dd21ba30b3f0e555b7e2b081bd9883af21ec9c1c633d161cda3a8 \
+ --hash=sha256:6b588cc8f902d6bff201c19fd00c43ab8545671e3554d014e12e14139e5e8617 \
+ --hash=sha256:6df895598c0edcb41030126c89e0f353b07d93238116143b7405e937359736c4 \
+ --hash=sha256:6e8172ddfcf5cf74b811d372b570b83c60bd2de87a6fbfbebdadb4a9bd9c6cbb \
+ --hash=sha256:7354826bc6f8f69402e9b7fe28d15fcd34feebd74f856f111585c5b0c9fb0251 \
+ --hash=sha256:7587f53dfbd5edc0f7b87c6217b4c6d2d1f2ef9c3da70bc1315e7db5f8d7ec9d \
+ --hash=sha256:77843ca236b777e67f8d6b3660ea116e499612703a0ecd7093f316201eb9d8e2 \
+ --hash=sha256:7999d4ddb0c4025018373fd787510d46e04c769467af22869707b3c1cfd459ab \
+ --hash=sha256:85aaccb24182c25df891ad0ec333585967e115269d5f1b17f2c9ae005bc96657 \
+ --hash=sha256:8e4cb9a754c8a0c62eaa88273a5fba3391f4a610d1dee893c0755da31c083f15 \
+ --hash=sha256:8ee9c4eeb8454b3660a8b53493563c3e121c2fc94fbd72b848ef814ed7b676a9 \
+ --hash=sha256:9a0731745a72a184490a582fb4af2533512bd071ace67785b5fdffc0ae58dce8 \
+ --hash=sha256:9e9413326d726c2545bfa65d2c0876871e8d8386e77f992c1d426e180bbd4323 \
+ --hash=sha256:a610dc7e3c52edd39c2bc2375ff9c3fd59cb3ad00e4472d36f83bc1457145788 \
+ --hash=sha256:a839318485284a6fb31be4f8f2c91c8f2cb22f4543c4a8903f12b0671ffe07cc \
+ --hash=sha256:afb3f0632d6b2e3ba04dbce8d1e48d321b369138b73830b5ca371a0e8d479d56 \
+ --hash=sha256:b879fb674276e331513fb136b78dbc6bd3c848309e0d841cfd63be3896c4cfc1 \
+ --hash=sha256:b9727f472d2f3888053b8a75ab0cb94745a9de224bb5846dbadc0092101bc71d \
+ --hash=sha256:ba0a474801b8dc67b66bf465548abc90e82b44d2611b5770f33008dcabffe8ec \
+ --hash=sha256:bd68ece1553d2023c09a4226d9e41c586ad2d20594d1a456186c33513d2cb3f2 \
+ --hash=sha256:c081cbe16ba1ab53078e5ff29013621e33c509eedab055775d956427712c236e \
+ --hash=sha256:c1f017dc0875c9209d219f97feceb7d54c2661bb243deb4114478e1295808af7 \
+ --hash=sha256:cebc2d6dbb605a7703d59751dea4bd6b0ab127a5a4338a6f432df1936fef8b26 \
+ --hash=sha256:cf7de32f486e4ac9e2d93b810f9e9ac72a728dd46a32a0bb403222f27f653514 \
+ --hash=sha256:d482d171c406ae88c5b19cad3b6a1c4c5209f886ab74bc44c2c865c23f52d860 \
+ --hash=sha256:d6a48072864e3324e194a8fbb3c657bcc5b5c869dbc64c9537b1d5c862572c0a \
+ --hash=sha256:d787cf769c3baeb5f6235e778edb52c08dfa923789b5958f28e6450f96107cb1 \
+ --hash=sha256:dc649493697006bc90614a5f0bbc8cb3cb1866715c474e473694968d7e6b99ab \
+ --hash=sha256:ddf47472af2e4280d79bac82304f5e80150211f1b9e614b760061d5fdfbb6eba \
+ --hash=sha256:e5651f3f87add730ee6608d915009e19c911fba0cb000c7e3ea994b7d768eb12 \
+ --hash=sha256:e79aba74ffaf5f78a050d777c184cddf8fdffabab38acf5f3ef1fecbc17895d6 \
+ --hash=sha256:eaa088384c46f519dacb93b7ec483a6d6b19a4a2085ae4f25ab9b1c43d387d1e \
+ --hash=sha256:eaca7ff36f0f52e2111ec71f169d8fd3e889e7ddc0d2592e0d703fd8d3ce8fac \
+ --hash=sha256:f06571a052127dc1b4e8b83029b4d1b20daa2b64a31cdd181fc6bc774e9000eb \
+ --hash=sha256:fd0d703772bba096843785bd38371e31bb4a0c1151497ad5739d182114a73f7f
+ # via
+ # -c requirements-full.lock
# onnxruntime
# opencv-python
# rapidocr
# shapely
-omegaconf==2.3.1 \
- --hash=sha256:3d701d14e9a8828f1edd28bb70b725908b34277cdd72cf7d6a83f94dadc6b6a0 \
- --hash=sha256:e5e7de64aeebeddaf8e6d3f7a783b32ac2a01c0fbd9c878012caecb891a1f42a
- # via rapidocr
+omegaconf==2.0.6 \
+ --hash=sha256:92ca535a788d21651bf4c2eaf5c1ca4c7a8003b2dab4a87cbb09109784268806 \
+ --hash=sha256:9e349fd76819b95b47aa628edea1ff83fed5b25108608abdd6c7fdca188e302a
+ # via
+ # -c requirements-full.lock
+ # rapidocr
onnxruntime==1.29.0 \
--hash=sha256:07c5907474dec4a2792fd7626b753dc66707808385a6d9eecf993db0066a9d0f \
--hash=sha256:0d4f427afac434b0070fe992b540ddf20a7aff2265f760f314d91331935b6b98 \
@@ -305,124 +310,131 @@ onnxruntime==1.29.0 \
--hash=sha256:e2128f31f449e922c62dbe5d8b6b7b079f0bcaf2d56a102fa203cb6e5bb5ab19 \
--hash=sha256:e417ef8628dcce310d2d53023e750ea298ec14d4341ae6dc3a572bfd9bc7fa97 \
--hash=sha256:e74b278af1d949876f5d91d1268fd6c680e79f2bac194967394eaba9fdf69e7e
- # via -r requirements-ocr.in
-opencv-python==4.13.0.92 \
- --hash=sha256:0bc2596e68f972ca452d80f444bc404e08807d021fbba40df26b61b18e01838a \
- --hash=sha256:372fe164a3148ac1ca51e5f3ad0541a4a276452273f503441d718fab9c5e5f59 \
- --hash=sha256:402033cddf9d294693094de5ef532339f14ce821da3ad7df7c9f6e8316da32cf \
- --hash=sha256:423d934c9fafb91aad38edf26efb46da91ffbc05f3f59c4b0c72e699720706f5 \
- --hash=sha256:5868a8c028a0b37561579bfb8ac1875babdc69546d236249fff296a8c010ccf9 \
- --hash=sha256:620d602b8f7d8b8dab5f4b99c6eb353e78d3fb8b0f53db1bd258bb1aa001c1d5 \
- --hash=sha256:bccaabf9eb7f897ca61880ce2869dcd9b25b72129c28478e7f2a5e8dee945616 \
- --hash=sha256:caf60c071ec391ba51ed00a4a920f996d0b64e3e46068aac1f646b5de0326a19
- # via rapidocr
-packaging==26.2 \
- --hash=sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e \
- --hash=sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
- # via onnxruntime
-pillow==12.2.0 \
- --hash=sha256:00a2865911330191c0b818c59103b58a5e697cae67042366970a6b6f1b20b7f9 \
- --hash=sha256:01afa7cf67f74f09523699b4e88c73fb55c13346d212a59a2db1f86b0a63e8c5 \
- --hash=sha256:03e7e372d5240cc23e9f07deca4d775c0817bffc641b01e9c3af208dbd300987 \
- --hash=sha256:03f6fab9219220f041c74aeaa2939ff0062bd5c364ba9ce037197f4c6d498cd9 \
- --hash=sha256:042db20a421b9bafecc4b84a8b6e444686bd9d836c7fd24542db3e7df7baad9b \
- --hash=sha256:0538bd5e05efec03ae613fd89c4ce0368ecd2ba239cc25b9f9be7ed426b0af1f \
- --hash=sha256:0a34329707af4f73cf1782a36cd2289c0368880654a2c11f027bcee9052d35dd \
- --hash=sha256:0c838a5125cee37e68edec915651521191cef1e6aa336b855f495766e77a366e \
- --hash=sha256:144748b3af2d1b358d41286056d0003f47cb339b8c43a9ea42f5fea4d8c66b6e \
- --hash=sha256:1610dd6c61621ae1cf811bef44d77e149ce3f7b95afe66a4512f8c59f25d9ebe \
- --hash=sha256:1e1757442ed87f4912397c6d35a0db6a7b52592156014706f17658ff58bbf795 \
- --hash=sha256:22db17c68434de69d8ecfc2fe821569195c0c373b25cccb9cbdacf2c6e53c601 \
- --hash=sha256:25373b66e0dd5905ed63fa3cae13c82fbddf3079f2c8bf15c6fb6a35586324c1 \
- --hash=sha256:2bb4a8d594eacdfc59d9e5ad972aa8afdd48d584ffd5f13a937a664c3e7db0ed \
- --hash=sha256:2c727a6d53cb0018aadd8018c2b938376af27914a68a492f59dfcaca650d5eea \
- --hash=sha256:2d192a155bbcec180f8564f693e6fd9bccff5a7af9b32e2e4bf8c9c69dbad6b5 \
- --hash=sha256:2e589959f10d9824d39b350472b92f0ce3b443c0a3442ebf41c40cb8361c5b97 \
- --hash=sha256:2e5a76d03a6c6dcef67edabda7a52494afa4035021a79c8558e14af25313d453 \
- --hash=sha256:325ca0528c6788d2a6c3d40e3568639398137346c3d6e66bb61db96b96511c98 \
- --hash=sha256:34c0d99ecccea270c04882cb3b86e7b57296079c9a4aff88cb3b33563d95afaa \
- --hash=sha256:390ede346628ccc626e5730107cde16c42d3836b89662a115a921f28440e6a3b \
- --hash=sha256:394167b21da716608eac917c60aa9b969421b5dcbbe02ae7f013e7b85811c69d \
- --hash=sha256:3997232e10d2920a68d25191392e3a4487d8183039e1c74c2297f00ed1c50705 \
- --hash=sha256:3adc9215e8be0448ed6e814966ecf3d9952f0ea40eb14e89a102b87f450660d8 \
- --hash=sha256:3e080565d8d7c671db5802eedfb438e5565ffa40115216eabb8cd52d0ecce024 \
- --hash=sha256:4a6c9fa44005fa37a91ebfc95d081e8079757d2e904b27103f4f5fa6f0bf78c0 \
- --hash=sha256:4bfd07bc812fbd20395212969e41931001fd59eb55a60658b0e5710872e95286 \
- --hash=sha256:4e6c62e9d237e9b65fac06857d511e90d8461a32adcc1b9065ea0c0fa3a28150 \
- --hash=sha256:50d8520da2a6ce0af445fa6d648c4273c3eeefbc32d7ce049f22e8b5c3daecc2 \
- --hash=sha256:51c4167c34b0d8ba05b547a3bb23578d0ba17b80a5593f93bd8ecb123dd336a3 \
- --hash=sha256:56a3f9c60a13133a98ecff6197af34d7824de9b7b38c3654861a725c970c197b \
- --hash=sha256:56b25336f502b6ed02e889f4ece894a72612fe885889a6e8c4c80239ff6e5f5f \
- --hash=sha256:57850958fe9c751670e49b2cecf6294acc99e562531f4bd317fa5ddee2068463 \
- --hash=sha256:58f62cc0f00fd29e64b29f4fd923ffdb3859c9f9e6105bfc37ba1d08994e8940 \
- --hash=sha256:5c0a9f29ca8e79f09de89293f82fc9b0270bb4af1d58bc98f540cc4aedf03166 \
- --hash=sha256:5cdfebd752ec52bf5bb4e35d9c64b40826bc5b40a13df7c3cda20a2c03a0f5ed \
- --hash=sha256:5d04bfa02cc2d23b497d1e90a0f927070043f6cbf303e738300532379a4b4e0f \
- --hash=sha256:5d2fd0fa6b5d9d1de415060363433f28da8b1526c1c129020435e186794b3795 \
- --hash=sha256:62f5409336adb0663b7caa0da5c7d9e7bdbaae9ce761d34669420c2a801b2780 \
- --hash=sha256:632ff19b2778e43162304d50da0181ce24ac5bb8180122cbe1bf4673428328c7 \
- --hash=sha256:6562ace0d3fb5f20ed7290f1f929cae41b25ae29528f2af1722966a0a02e2aa1 \
- --hash=sha256:673aa32138f3e7531ccdbca7b3901dba9b70940a19ccecc6a37c77d5fdeb05b5 \
- --hash=sha256:6a6e67ea2e6feda684ed370f9a1c52e7a243631c025ba42149a2cc5934dec295 \
- --hash=sha256:6a9adfc6d24b10f89588096364cc726174118c62130c817c2837c60cf08a392b \
- --hash=sha256:6bb77b2dcb06b20f9f4b4a8454caa581cd4dd0643a08bacf821216a16d9c8354 \
- --hash=sha256:6e6b2a0c538fc200b38ff9eb6628228b77908c319a005815f2dde585a0664b60 \
- --hash=sha256:71cde9a1e1551df7d34a25462fc60325e8a11a82cc2e2f54578e5e9a1e153d65 \
- --hash=sha256:7371b48c4fa448d20d2714c9a1f775a81155050d383333e0a6c15b1123dda005 \
- --hash=sha256:766cef22385fa1091258ad7e6216792b156dc16d8d3fa607e7545b2b72061f1c \
- --hash=sha256:7b14cc0106cd9aecda615dd6903840a058b4700fcb817687d0ee4fc8b6e389be \
- --hash=sha256:7f84204dee22a783350679a0333981df803dac21a0190d706a50475e361c93f5 \
- --hash=sha256:8023abc91fba39036dbce14a7d6535632f99c0b857807cbbbf21ecc9f4717f06 \
- --hash=sha256:80b2da48193b2f33ed0c32c38140f9d3186583ce7d516526d462645fd98660ae \
- --hash=sha256:8297651f5b5679c19968abefd6bb84d95fe30ef712eb1b2d9b2d31ca61267f4c \
- --hash=sha256:88d387ff40b3ff7c274947ed3125dedf5262ec6919d83946753b5f3d7c67ea4c \
- --hash=sha256:88ddbc66737e277852913bd1e07c150cc7bb124539f94c4e2df5344494e0a612 \
- --hash=sha256:8bd7903a5f2a4545f6fd5935c90058b89d30045568985a71c79f5fd6edf9b91e \
- --hash=sha256:8be29e59487a79f173507c30ddf57e733a357f67881430449bb32614075a40ab \
- --hash=sha256:8c984051042858021a54926eb597d6ee3012393ce9c181814115df4c60b9a808 \
- --hash=sha256:8cbeb542b2ebc6fcdacabf8aca8c1a97c9b3ad3927d46b8723f9d4f033288a0f \
- --hash=sha256:8e9c4f5b3c546fa3458a29ab22646c1c6c787ea8f5ef51300e5a60300736905e \
- --hash=sha256:90e6f81de50ad6b534cab6e5aef77ff6e37722b2f5d908686f4a5c9eba17a909 \
- --hash=sha256:975385f4776fafde056abb318f612ef6285b10a1f12b8570f3647ad0d74b48ec \
- --hash=sha256:9a8a34cc89c67a65ea7437ce257cea81a9dad65b29805f3ecee8c8fe8ff25ffe \
- --hash=sha256:9aba9a17b623ef750a4d11b742cbafffeb48a869821252b30ee21b5e91392c50 \
- --hash=sha256:9f08483a632889536b8139663db60f6724bfcb443c96f1b18855860d7d5c0fd4 \
- --hash=sha256:a4e8f36e677d3336f35089648c8955c51c6d386a13cf6ee9c189c5f5bd713a9f \
- --hash=sha256:a52edc8bfff4429aaabdf4d9ee0daadbbf8562364f940937b941f87a4290f5ff \
- --hash=sha256:a830b1a40919539d07806aa58e1b114df53ddd43213d9c8b75847eee6c0182b5 \
- --hash=sha256:aa88ccfe4e32d362816319ed727a004423aab09c5cea43c01a4b435643fa34eb \
- --hash=sha256:af73337013e0b3b46f175e79492d96845b16126ddf79c438d7ea7ff27783a414 \
- --hash=sha256:b1c1fbd8a5a1af3412a0810d060a78b5136ec0836c8a4ef9aa11807f2a22f4e1 \
- --hash=sha256:b85f66ae9eb53e860a873b858b789217ba505e5e405a24b85c0464822fe88032 \
- --hash=sha256:b86024e52a1b269467a802258c25521e6d742349d760728092e1bc2d135b4d76 \
- --hash=sha256:bd9c0c7a0c681a347b3194c500cb1e6ca9cab053ea4d82a5cf45b6b754560136 \
- --hash=sha256:bfa9c230d2fe991bed5318a5f119bd6780cda2915cca595393649fc118ab895e \
- --hash=sha256:d362d1878f00c142b7e1a16e6e5e780f02be8195123f164edf7eddd911eefe7c \
- --hash=sha256:d5d38f1411c0ed9f97bcb49b7bd59b6b7c314e0e27420e34d99d844b9ce3b6f3 \
- --hash=sha256:dac8d77255a37e81a2efcbd1fc05f1c15ee82200e6c240d7e127e25e365c39ea \
- --hash=sha256:dd025009355c926a84a612fecf58bb315a3f6814b17ead51a8e48d3823d9087f \
- --hash=sha256:deede7c263feb25dba4e82ea23058a235dcc2fe1f6021025dc71f2b618e26104 \
- --hash=sha256:e74473c875d78b8e9d5da2a70f7099549f9eb37ded4e2f6a463e60125bccd176 \
- --hash=sha256:ee3120ae9dff32f121610bb08e4313be87e03efeadfc6c0d18f89127e24d0c24 \
- --hash=sha256:eedf4b74eda2b5a4b2b2fb4c006d6295df3bf29e459e198c90ea48e130dc75c3 \
- --hash=sha256:efd8c21c98c5cc60653bcb311bef2ce0401642b7ce9d09e03a7da87c878289d4 \
- --hash=sha256:f1c943e96e85df3d3478f7b691f229887e143f81fedab9b20205349ab04d73ed \
- --hash=sha256:f278f034eb75b4e8a13a54a876cc4a5ab39173d2cdd93a638e1b467fc545ac43 \
- --hash=sha256:f3f40b3c5a968281fd507d519e444c35f0ff171237f4fdde090dd60699458421 \
- --hash=sha256:f490f9368b6fc026f021db16d7ec2fbf7d89e2edb42e8ec09d2c60505f5729c7 \
- --hash=sha256:fb043ee2f06b41473269765c2feae53fc2e2fbf96e5e22ca94fb5ad677856f06 \
- --hash=sha256:fc3d34d4a8fbec3e88a79b92e5465e0f9b842b628675850d860b8bd300b159f5
- # via rapidocr
-protobuf==7.35.1 \
- --hash=sha256:11d6b0ec246892d85215b0a13ca6e0233cf5284b68f0ac02646427f4ff88a799 \
- --hash=sha256:230a75ddfc2de4806e56696ce9640c1cdfdb6543b7cfce98d42a4c0a0e7bdb87 \
- --hash=sha256:24f857477359a85c0c235261b8ba905fd51b2562f4a64ca1df5473f29850cbf6 \
- --hash=sha256:353652e4efd0bca5b5fc2656abf8307ef351f0cf938c9eba09f0e09c20a25c30 \
- --hash=sha256:4bc97768d8fe4ad6743c8a19403e314511ed9f6d13205b687e52421c023ac1b9 \
- --hash=sha256:74758715c53d7158fb76caf4f0cfdacc5329a4b1bb994f865d6cf302d413a1c4 \
- --hash=sha256:b73f9489a4b8b1c9cb1f8ed951c736392592edb24b9d6819f36d2e10b171d5b4 \
- --hash=sha256:ce115a26fe0c39a2c29973d914d327e516a6455464489fe3cd1e51a1b354f81a
- # via onnxruntime
+ # via
+ # -c requirements-full.lock
+ # -r requirements-ocr.in
+opencv-python==5.0.0.93 \
+ --hash=sha256:08d5d91d967b58d6db86073b2ad3eaef88ca4ebdfd45c9059bf59f5ded0c7ad2 \
+ --hash=sha256:198a75138241810206a17c829dbcc40a7cb1841cda538ca86cbbfc6c7d95f898 \
+ --hash=sha256:4b4b1a34c79bf8d3738e3cfe9a9e67b51a79663f6b692cbdad8c31f570da4157 \
+ --hash=sha256:66aac3e5b5faa48d4025816592f3af19e4bfc2c68dec067bae2dbb4ca10aa9e2 \
+ --hash=sha256:6bbc32f59e1b1a7db7b39c81f63d00625f041d333037fd8702f6da52cc39108b \
+ --hash=sha256:c8de2dec111122a02e8beb28e16c31904992dfd6186560b142a92c71403c1039 \
+ --hash=sha256:e2b4272e736836f66c2d176e43ab8101f3a00d45654916399f52e150c58981ac \
+ --hash=sha256:f8b6d0a212253dd26ad338c812f1f23ca118fdf05a9c8c6b9444f161aa8c5881 \
+ --hash=sha256:f90ba04b8f73bc5c3814037699739f0156f597338a98f05956c684e7c3ca10d2
+ # via
+ # -c requirements-full.lock
+ # rapidocr
+packaging==26.3 \
+ --hash=sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79 \
+ --hash=sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c
+ # via
+ # -c requirements-full.lock
+ # onnxruntime
+pillow==12.3.0 \
+ --hash=sha256:00808c5e14ef63ac5161091d242999076604ff74b883423a11e5d7bbb38bf756 \
+ --hash=sha256:04f01d28a6aaff387bf842a13be313df23ba0597a44f1a976c9feb3c6ff4711a \
+ --hash=sha256:06ff022112bc9cbf83b60f8e028d94ad87b60621706487e65f673de61610ab59 \
+ --hash=sha256:0740a512dc522224c77d9aa5a8d70d8b7d73fb91f2c21125d8d025d3b8990e45 \
+ --hash=sha256:0847a763afefb695bc912d7c131e7e0632d4edc1d8698f58ddabec8e46b8b6d3 \
+ --hash=sha256:0dd2064cbc55aaec028ef5fbb60fa47bb6c3e7918e07ff17935284b227a9d2df \
+ --hash=sha256:0feb2e9d6ad6c9e3c06effe9d00f3f1e618a6643273576b016f591e9315a7139 \
+ --hash=sha256:10e41f0fbf1eec8cfd234b8fe17a4caac7c9d0db4c204d3c173a8f9f6ef3232b \
+ --hash=sha256:1182d52bc2d5e5d7d0949503aa7e36d12f42205dc287e4883f407b1988820d39 \
+ --hash=sha256:164b31cd1a0490ab6efae01aa5df49da7061be0af1b30e035b6e9a1bfe34ee6e \
+ --hash=sha256:1657923d2d45afb66526e5b933e5b3052e6bdea196c90d3abb2424e18c77dae8 \
+ --hash=sha256:186941b6aef820ad110fb01fb06eb925374dc3a21b17e37ec9a53b250c6fe2d1 \
+ --hash=sha256:1cca606cd25738df4ed873d5ad46bbdb3d83b5cbca291f6b4ff13a4df6b0bbe8 \
+ --hash=sha256:21900ce7ba264168cd50defae43cd75d25c833ad4ad6e73ffc5596d12e25ac89 \
+ --hash=sha256:236ff70b9312fb68943c703aa842ca6a758abfa45ac187a5e7c1452e96ef72b5 \
+ --hash=sha256:23aceaa007d6172b02c277f0cd359c79492bbb14f7072b4ede9fbcaf20648130 \
+ --hash=sha256:23d27a3e0307ec2244cc51e7287b919aa68d097504ebe19df4e76a98a3eea5bd \
+ --hash=sha256:24870b09b224f7ae3c39ed07d10e819d06f8720bc551847b1d623832b5b0e28d \
+ --hash=sha256:251bf95b67017e27b13d82f5b326234ca62d70f9cf4c2b9032de2358a3b12c7b \
+ --hash=sha256:25b9b82bb22e6e2b3cd07b39c68b7b862001226cb3dff7130d1cb914121b39ed \
+ --hash=sha256:28ce87c5ab450a9dd970b52e5aca5fe63ed432d18a2eaddd1979a00a1ba24ace \
+ --hash=sha256:300557495eb45ebb8aec96c2da9c4be642fbf7cd937278b4013ba894ea8eb0eb \
+ --hash=sha256:30f2aa603c41533cc25c05acd0da21636e84a315768feb631c937177db558931 \
+ --hash=sha256:331b624368d4f1d069149002f25f44bc61c8919ce8ddb3c45bdad8f6e2d89510 \
+ --hash=sha256:37d6d0a00072fd2948eb22bce7e1475f34569d90c87c59f7a2ec59541b77f7a6 \
+ --hash=sha256:37dc8f7bbb66efe481bb60defacef820c950c24713fb44962ed6aa2a50966de1 \
+ --hash=sha256:3b8182a766685eaa002637e28b4ec8d6b18819a0c71f579bf0dbaa5830297cce \
+ --hash=sha256:3edce1d53195db527e0191f84b71d02022de0540bf43a16ed734ed7537b07385 \
+ --hash=sha256:446c34dcc4324b084a53b705127dc15717b22c5e140ae0a3c38349d4efec071e \
+ --hash=sha256:4998562bf62a445225f22e07c896bb04b35b1b1f2eb6d760584c9c51d7a5f78c \
+ --hash=sha256:4b0a7fe987b14c31ebda6083f74f22b561fd3739bc0ac51e019622e3d72668c7 \
+ --hash=sha256:4e8c2a84d977f50b9daed6eeaf3baef67d00d5d74d932288f02cb94518ee3ace \
+ --hash=sha256:4f883547d4b7f0495ebe7056b0cc2aea76094e7a4abc8e933540f3271df27d9c \
+ --hash=sha256:514435a37670e3e5e08f3945b68718b6ed329bb84367777e16f9f4dfe1e61a0f \
+ --hash=sha256:53aa02d20d10c3d814d536aa4e5ac9b84ca0ff5a88377963b085ad6822f93e64 \
+ --hash=sha256:5594fc43d548a7ed94949d139aa1341b270f1863f11cfd37f5a6c8b778a6b67f \
+ --hash=sha256:571b9fcb07b97ef3a492028fb3d2dc0993ca23a06138b0315286566d29ef718a \
+ --hash=sha256:57b3d78c95ba9059768b10e28b813002261d3f3dfc55cc48b0c988f625175827 \
+ --hash=sha256:5afb51d599ea772b8365ae807ae557f18bccfe46ab261fd1c2a9ed700fc6eb17 \
+ --hash=sha256:6b02afb9b97f65fbca5f31db6a2a3ba21aa93030225f150fa3f249717e938fb4 \
+ --hash=sha256:6c0016e7b354317c4e9e525b937ac8596c38d2d232b419529b9cd7a1cd46e39a \
+ --hash=sha256:71d6097b330eea8fd15097780c8e89cb1a8ce7838669f48c5bacd6f663dd4701 \
+ --hash=sha256:756c768d0c9c2955feb7a56c37ea24aea2e369f8d36a88da270b6a9f19e62b5e \
+ --hash=sha256:78cb2c6865a35ab8ff8b75fd122f6033b92a62c82801110e48ddd6c936a45d91 \
+ --hash=sha256:7a743ff716f746fc19a9557f60dab1600d4613255f8a7aeb3cdde4db7eb15a66 \
+ --hash=sha256:85f998ea1848bc6757289e739cfbdda3a04adfd58b02fc018ce54d754a5ce468 \
+ --hash=sha256:8728f216dcdb6e6d555cf971cb34076139ad74b31fc2c14da4fafc741c5f6217 \
+ --hash=sha256:877c3f311ff35410f690861c4409e7ccbf0cd2f878e50628a28e5a0bb689e658 \
+ --hash=sha256:8cd2f7bdda092d99c9fc2fb7391354f306d01443d22785d0cbfafa2e2c8bb418 \
+ --hash=sha256:8e95e1385e4998ae9694eeaa4730ba5457ff61185b3a55e2e7bea0880aef452a \
+ --hash=sha256:962864dc93511324d51ddbb5b9f8731bf71675b93ca612a07441896f4688fb8c \
+ --hash=sha256:9cf95fe4d0f84c82d282745d9bb08ad9f926efa00be4697e767b814ce40d4330 \
+ --hash=sha256:9e881fca225083806662a5c43d627d215f258ff43c890f831966c7d7ba9c7402 \
+ --hash=sha256:a2b55dd6b2a4c4b7d87ffa56bdb33fdc5fdb9a462173861a7bc097f17d91cb09 \
+ --hash=sha256:a45650e8ce7fafffd731db8550230db6b0d306d181a90b67d3e6bca2f1990930 \
+ --hash=sha256:a876864214e136f0eb367788dbd7df045f4806801518e2cfe9e13229cfe06d8f \
+ --hash=sha256:ae26d61dfa7a47befdc7572b521024e8745f3d809bd95ca9505a7bba9ef849ec \
+ --hash=sha256:af8d94b0db561cf68b88a267c5c44b49e134f525d0dc2cb7ed413a66bc23559a \
+ --hash=sha256:b343699e8308bdc51978310e1c959c584e7869cc8c40780058c87da7781a1e94 \
+ --hash=sha256:b3c777e849237620b022f7f297dd67705f9f5cf1685f09f02e46f93e92725468 \
+ --hash=sha256:b629de27fda84b42cde7edef0d85f13b958b47f6e9bbcbba9b673c562a89bd8b \
+ --hash=sha256:ba09209fbe443b4acccebe845d8a138b89a8f4fbaeedd44953490b5315d5e965 \
+ --hash=sha256:ba54cfebe86920a559a7c4d6b9050791c20513650a1952ebe3368c7dc70306f8 \
+ --hash=sha256:bcb46e2f9feff8d06323983bd83ed00c201fdcab3d74973e7072a889b3979fcd \
+ --hash=sha256:bcc33feacfaefce60c12fd500a277533bdc02b10a19f7f6d348763d8140bbba7 \
+ --hash=sha256:bf16ba1b4d0b6b7c8e534936632270cf70eb00dbe09005bc345b2677b726855c \
+ --hash=sha256:cf1845d02ad822a369a49f2bb9345b1614744267682e7a03527dc3bf6eea1777 \
+ --hash=sha256:d69141514cc30b774ceea5e3ed3a6635c8d8a96edf664689b890f4089111fb35 \
+ --hash=sha256:d9c7f76c0673154f044e9d78c8655fb4213f6ca31a836df48b40fe5d187717b9 \
+ --hash=sha256:dbce0b29841537a2fa4a214c2bbf14de3587c9680caa9b4e217568472490b28f \
+ --hash=sha256:dc624f6bc473dacdf7ef7eb8678d0d08edf15cd94fad6ae5c7d6cc67a4e4902f \
+ --hash=sha256:e158cb00350dc278f3b91551101aa7d12415a66ebf2c91d8d5ac14e56ddd3ad0 \
+ --hash=sha256:e491916b378fba47242221bb9ead245211b70d504f495d105d17b14a24b4907c \
+ --hash=sha256:e795b7eb908249c4e43c7c99fac7c2c75dab0c43566e37db472a355f63693d71 \
+ --hash=sha256:e7e480451b9fa137494bccd3a7d69adbe8ac65a87d97be61e11f1b1050a5bac3 \
+ --hash=sha256:e91206ee562682b51b98ef4b26a6ef48fd84e15fd4c4bc5ec768eb641d206838 \
+ --hash=sha256:e9871b1ffbfa9656b60aeee92ed5136a5742696006fa322b29ea3d8da0ecc9cf \
+ --hash=sha256:e9aeb04d6aef139de265b29683e119b638208f88cf73cdd1658aa07221165321 \
+ --hash=sha256:ebaea975e03d3141d9d3a507df75c9b3ec90fa9d2ffd07567b3a978d9d790b26 \
+ --hash=sha256:f0606c8bf2cdefea14a43530f7657cbbb7ecf1c4222512492ef4a4434a9501ec \
+ --hash=sha256:f13c32a3abd6079a66d9526e18dad9b6d280384d49d7c54040cd57b6424041d9 \
+ --hash=sha256:f7401aebd7f581d7f83a439d87d474999317ee099218e5ad25d125290990ba65 \
+ --hash=sha256:fa4ecea169a355be7a3ade2c783e2ed12f0e40d2c5621cda8b3297faf7fbb9f5 \
+ --hash=sha256:fbd139c8447d25dd750ab79ee274cc5e1fe80fc56340ab10b18a195e1b6eca3e \
+ --hash=sha256:fdafc9cce40277e0f7a0feabce0ee50dd2fa1800f3b38015e51296b5e814048d \
+ --hash=sha256:fe3cca2e4e8a592be0f269a1ca4835c25199d9f3ce815c8491048f785b0a0198 \
+ --hash=sha256:ffd0c5368496f41b0944be820fcb7a838aa6e623d250b01acf2643939c3f99d7
+ # via
+ # -c requirements-full.lock
+ # rapidocr
+protobuf==7.36.0 \
+ --hash=sha256:1781cc1de61249b750848029bca452c0a8b7e990080316b9bbc2518b2117b488 \
+ --hash=sha256:3297e60abdff301e5f74393d87f6cc59dacab5f024a89548a6e8de1d26576b16 \
+ --hash=sha256:53374d53fc29a67f7dbbf0ade47d7526a0f0137bf0f9c90e48d8a60790ef748c \
+ --hash=sha256:70f5ec8eb0da81a44360c0dc0beac99a0d78071d21956a7076bae8bd2051841b \
+ --hash=sha256:7326fd717bdc419162a735938d89d4032332bcc3408804012b24ff3a37086071 \
+ --hash=sha256:9103532dffd80c6fab7e50c65a31007680a06eb57537d437bb1b35812c138a37 \
+ --hash=sha256:bf94a5917c71058262de683669bc0a797a7669d3de71f0b36d058e3194f47b44 \
+ --hash=sha256:e8e09cb0d794c6687926fa558a8a6e72aa10edb997d5ca61da0765f12a3e00ea
+ # via
+ # -c requirements-full.lock
+ # onnxruntime
pyclipper==1.4.0 \
--hash=sha256:0a4d2736fb3c42e8eb1d38bf27a720d1015526c11e476bded55138a977c17d9d \
--hash=sha256:0b74a9dd44b22a7fd35d65fb1ceeba57f3817f34a97a28c3255556362e491447 \
@@ -460,7 +472,9 @@ pyclipper==1.4.0 \
--hash=sha256:f2a50c22c3a78cb4e48347ecf06930f61ce98cf9252f2e292aa025471e9d75b1 \
--hash=sha256:f3672dbafbb458f1b96e1ee3e610d174acb5ace5bd2ed5d1252603bb797f2fc6 \
--hash=sha256:fd24849d2b94ec749ceac7c34c9f01010d23b6e9d9216cf2238b8481160e703d
- # via rapidocr
+ # via
+ # -c requirements-full.lock
+ # rapidocr
pypdfium2==5.13.0 \
--hash=sha256:07f58e91b8c45ca144a1ff3008faf3c73ef8a5e9fb32988831788363288228cd \
--hash=sha256:2abedfb5c70992b19c780ed58d7f7b929e8ce8ee52c9140158f44317c90ec6c7 \
@@ -484,7 +498,9 @@ pypdfium2==5.13.0 \
--hash=sha256:d96929bde3bd64c771ab3558ca1ffd7704cc4d872ab92cd9f8f8b8a20f7f36b8 \
--hash=sha256:d96beb7f379e6c76d874ca93fcd182ac3168dd499056407070f9927fb1061b8e \
--hash=sha256:da5c7b74eebf40b5c1fbe1de01aa1edc8827a79fb1efd999616bc20dcaf77ba4
- # via -r requirements-ocr.in
+ # via
+ # -c requirements-full.lock
+ # -r requirements-ocr.in
pyyaml==6.0.3 \
--hash=sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c \
--hash=sha256:0150219816b6a1fa26fb4699fb7daa9caf09eb1999f3b70fb6e786805e80375a \
@@ -560,15 +576,20 @@ pyyaml==6.0.3 \
--hash=sha256:fa160448684b4e94d80416c0fa4aac48967a969efe22931448d853ada8baf926 \
--hash=sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0
# via
+ # -c requirements-full.lock
# omegaconf
# rapidocr
rapidocr==3.9.2 \
--hash=sha256:04d6b8d151f823d930bd91910555f57bea897c0c44fa6794267b94cf9c1ef9a0
- # via -r requirements-ocr.in
+ # via
+ # -c requirements-full.lock
+ # -r requirements-ocr.in
requests==2.34.2 \
--hash=sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0 \
--hash=sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed
- # via rapidocr
+ # via
+ # -c requirements-full.lock
+ # rapidocr
shapely==2.1.2 \
--hash=sha256:0036ac886e0923417932c2e6369b6c52e38e0ff5d9120b90eef5cd9a5fc5cae9 \
--hash=sha256:01d0d304b25634d60bd7cf291828119ab55a3bab87dc4af1e44b07fb225f188b \
@@ -627,16 +648,30 @@ shapely==2.1.2 \
--hash=sha256:fe2533caae6a91a543dec62e8360fe86ffcdc42a7c55f9dfd0128a977a896b94 \
--hash=sha256:fe7b77dc63d707c09726b7908f575fc04ff1d1ad0f3fb92aec212396bc6cfe5e \
--hash=sha256:fe9627c39c59e553c90f5bc3128252cb85dc3b3be8189710666d2f8bc3a5503e
- # via rapidocr
+ # via
+ # -c requirements-full.lock
+ # rapidocr
six==1.17.0 \
--hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 \
--hash=sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
- # via rapidocr
-tqdm==4.68.3 \
- --hash=sha256:00dfa48452b6b6cfae3dd9885636c23d3422d1ec97c66d96818cbd5e0821d482 \
- --hash=sha256:39832cc2def2789a6f29df83f172db7416cea70052c0907a57801c5f2fdccb03
- # via rapidocr
+ # via
+ # -c requirements-full.lock
+ # rapidocr
+tqdm==4.70.0 \
+ --hash=sha256:55b0b0dbd97462d06ebee91e4dac24ed4d4702be82b24f07e6c1d27e08cea220 \
+ --hash=sha256:7f585706bfddbdebf89daac705b2dfcc16890130727d3197ca62c732b4310953
+ # via
+ # -c requirements-full.lock
+ # rapidocr
+typing-extensions==4.16.0 \
+ --hash=sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8 \
+ --hash=sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5
+ # via
+ # -c requirements-full.lock
+ # omegaconf
urllib3==2.7.0 \
--hash=sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c \
--hash=sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897
- # via requests
+ # via
+ # -c requirements-full.lock
+ # requests
diff --git a/app/src-tauri/resources/sidecar/requirements.lock b/app/src-tauri/resources/sidecar/requirements.lock
index 11a83e8..67ffb8b 100644
--- a/app/src-tauri/resources/sidecar/requirements.lock
+++ b/app/src-tauri/resources/sidecar/requirements.lock
@@ -1,909 +1,1044 @@
# This file was autogenerated by uv via the following command:
-# uv pip compile requirements.txt --generate-hashes --python-version 3.12 -o requirements.lock
-annotated-types==0.7.0 \
- --hash=sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53 \
- --hash=sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89
- # via pydantic
-anyio==4.14.0 \
- --hash=sha256:b47c1f9ccf73e67021df785332508f99379c68fa7d0684e8e3492cb1d4b23f89 \
- --hash=sha256:dd9b7a2a9799ed6552fde617b2c5df02b7fdd7d88392fc48101e51bae46164d9
+# uv pip compile requirements.txt --constraint requirements-full.lock --universal --python-version 3.12 --generate-hashes --only-binary :all: --output-file requirements.lock
+annotated-types==0.8.0 \
+ --hash=sha256:13b2beaad985e05e2d6407ee4c4f35590b11f8d693a258a561055cac8f64cab7 \
+ --hash=sha256:f072f4d804ea359e4eaf198b1af7a8b0943881a87f31bb764f8bf219bb9419e0
# via
+ # -c requirements-full.lock
+ # pydantic
+anyio==4.14.2 \
+ --hash=sha256:9f505dda5ac9f0c8309b5e8bd445a8c2bf7246f3ce950121e45ea15bc41d1494 \
+ --hash=sha256:cfa139f3ed1a23ee8f88a145ddb5ac7605b8bbfd8592baacd7ce3d8bb4313c7f
+ # via
+ # -c requirements-full.lock
# httpx
# openai
beautifulsoup4==4.15.0 \
--hash=sha256:288e3ca7d54b06f2ac191970bc275c1939cb46d450b255bf6718b04aa37ab4f7 \
--hash=sha256:d6f88de62e1d4e38ecb1077eb9724cd0eff29d2a08ca16a401e9b9e93f117cf9
# via
+ # -c requirements-full.lock
# markdownify
# markitdown
-certifi==2026.6.17 \
- --hash=sha256:024c88eeec92ca068db80f02b8b07c9cef7b9fe261d1d535abfd5abd6f6af432 \
- --hash=sha256:2227dcbaafe0d2f59279d1762ddddc37783ed4354594f194ffc31d20f41fc3db
+certifi==2026.7.22 \
+ --hash=sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775 \
+ --hash=sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55
# via
+ # -c requirements-full.lock
# httpcore
# httpx
# requests
-cffi==2.0.0 \
- --hash=sha256:00bdf7acc5f795150faa6957054fbbca2439db2f775ce831222b66f192f03beb \
- --hash=sha256:07b271772c100085dd28b74fa0cd81c8fb1a3ba18b21e03d7c27f3436a10606b \
- --hash=sha256:087067fa8953339c723661eda6b54bc98c5625757ea62e95eb4898ad5e776e9f \
- --hash=sha256:0a1527a803f0a659de1af2e1fd700213caba79377e27e4693648c2923da066f9 \
- --hash=sha256:0cf2d91ecc3fcc0625c2c530fe004f82c110405f101548512cce44322fa8ac44 \
- --hash=sha256:0f6084a0ea23d05d20c3edcda20c3d006f9b6f3fefeac38f59262e10cef47ee2 \
- --hash=sha256:12873ca6cb9b0f0d3a0da705d6086fe911591737a59f28b7936bdfed27c0d47c \
- --hash=sha256:19f705ada2530c1167abacb171925dd886168931e0a7b78f5bffcae5c6b5be75 \
- --hash=sha256:1cd13c99ce269b3ed80b417dcd591415d3372bcac067009b6e0f59c7d4015e65 \
- --hash=sha256:1e3a615586f05fc4065a8b22b8152f0c1b00cdbc60596d187c2a74f9e3036e4e \
- --hash=sha256:1f72fb8906754ac8a2cc3f9f5aaa298070652a0ffae577e0ea9bd480dc3c931a \
- --hash=sha256:1fc9ea04857caf665289b7a75923f2c6ed559b8298a1b8c49e59f7dd95c8481e \
- --hash=sha256:203a48d1fb583fc7d78a4c6655692963b860a417c0528492a6bc21f1aaefab25 \
- --hash=sha256:2081580ebb843f759b9f617314a24ed5738c51d2aee65d31e02f6f7a2b97707a \
- --hash=sha256:21d1152871b019407d8ac3985f6775c079416c282e431a4da6afe7aefd2bccbe \
- --hash=sha256:24b6f81f1983e6df8db3adc38562c83f7d4a0c36162885ec7f7b77c7dcbec97b \
- --hash=sha256:256f80b80ca3853f90c21b23ee78cd008713787b1b1e93eae9f3d6a7134abd91 \
- --hash=sha256:28a3a209b96630bca57cce802da70c266eb08c6e97e5afd61a75611ee6c64592 \
- --hash=sha256:2c8f814d84194c9ea681642fd164267891702542f028a15fc97d4674b6206187 \
- --hash=sha256:2de9a304e27f7596cd03d16f1b7c72219bd944e99cc52b84d0145aefb07cbd3c \
- --hash=sha256:38100abb9d1b1435bc4cc340bb4489635dc2f0da7456590877030c9b3d40b0c1 \
- --hash=sha256:3925dd22fa2b7699ed2617149842d2e6adde22b262fcbfada50e3d195e4b3a94 \
- --hash=sha256:3e17ed538242334bf70832644a32a7aae3d83b57567f9fd60a26257e992b79ba \
- --hash=sha256:3e837e369566884707ddaf85fc1744b47575005c0a229de3327f8f9a20f4efeb \
- --hash=sha256:3f4d46d8b35698056ec29bca21546e1551a205058ae1a181d871e278b0b28165 \
- --hash=sha256:44d1b5909021139fe36001ae048dbdde8214afa20200eda0f64c068cac5d5529 \
- --hash=sha256:45d5e886156860dc35862657e1494b9bae8dfa63bf56796f2fb56e1679fc0bca \
- --hash=sha256:4647afc2f90d1ddd33441e5b0e85b16b12ddec4fca55f0d9671fef036ecca27c \
- --hash=sha256:4671d9dd5ec934cb9a73e7ee9676f9362aba54f7f34910956b84d727b0d73fb6 \
- --hash=sha256:53f77cbe57044e88bbd5ed26ac1d0514d2acf0591dd6bb02a3ae37f76811b80c \
- --hash=sha256:5eda85d6d1879e692d546a078b44251cdd08dd1cfb98dfb77b670c97cee49ea0 \
- --hash=sha256:5fed36fccc0612a53f1d4d9a816b50a36702c28a2aa880cb8a122b3466638743 \
- --hash=sha256:61d028e90346df14fedc3d1e5441df818d095f3b87d286825dfcbd6459b7ef63 \
- --hash=sha256:66f011380d0e49ed280c789fbd08ff0d40968ee7b665575489afa95c98196ab5 \
- --hash=sha256:6824f87845e3396029f3820c206e459ccc91760e8fa24422f8b0c3d1731cbec5 \
- --hash=sha256:6c6c373cfc5c83a975506110d17457138c8c63016b563cc9ed6e056a82f13ce4 \
- --hash=sha256:6d02d6655b0e54f54c4ef0b94eb6be0607b70853c45ce98bd278dc7de718be5d \
- --hash=sha256:6d50360be4546678fc1b79ffe7a66265e28667840010348dd69a314145807a1b \
- --hash=sha256:730cacb21e1bdff3ce90babf007d0a0917cc3e6492f336c2f0134101e0944f93 \
- --hash=sha256:737fe7d37e1a1bffe70bd5754ea763a62a066dc5913ca57e957824b72a85e205 \
- --hash=sha256:74a03b9698e198d47562765773b4a8309919089150a0bb17d829ad7b44b60d27 \
- --hash=sha256:7553fb2090d71822f02c629afe6042c299edf91ba1bf94951165613553984512 \
- --hash=sha256:7a66c7204d8869299919db4d5069a82f1561581af12b11b3c9f48c584eb8743d \
- --hash=sha256:7cc09976e8b56f8cebd752f7113ad07752461f48a58cbba644139015ac24954c \
- --hash=sha256:81afed14892743bbe14dacb9e36d9e0e504cd204e0b165062c488942b9718037 \
- --hash=sha256:8941aaadaf67246224cee8c3803777eed332a19d909b47e29c9842ef1e79ac26 \
- --hash=sha256:89472c9762729b5ae1ad974b777416bfda4ac5642423fa93bd57a09204712322 \
- --hash=sha256:8ea985900c5c95ce9db1745f7933eeef5d314f0565b27625d9a10ec9881e1bfb \
- --hash=sha256:8eca2a813c1cb7ad4fb74d368c2ffbbb4789d377ee5bb8df98373c2cc0dee76c \
- --hash=sha256:92b68146a71df78564e4ef48af17551a5ddd142e5190cdf2c5624d0c3ff5b2e8 \
- --hash=sha256:9332088d75dc3241c702d852d4671613136d90fa6881da7d770a483fd05248b4 \
- --hash=sha256:94698a9c5f91f9d138526b48fe26a199609544591f859c870d477351dc7b2414 \
- --hash=sha256:9a67fc9e8eb39039280526379fb3a70023d77caec1852002b4da7e8b270c4dd9 \
- --hash=sha256:9de40a7b0323d889cf8d23d1ef214f565ab154443c42737dfe52ff82cf857664 \
- --hash=sha256:a05d0c237b3349096d3981b727493e22147f934b20f6f125a3eba8f994bec4a9 \
- --hash=sha256:afb8db5439b81cf9c9d0c80404b60c3cc9c3add93e114dcae767f1477cb53775 \
- --hash=sha256:b18a3ed7d5b3bd8d9ef7a8cb226502c6bf8308df1525e1cc676c3680e7176739 \
- --hash=sha256:b1e74d11748e7e98e2f426ab176d4ed720a64412b6a15054378afdb71e0f37dc \
- --hash=sha256:b21e08af67b8a103c71a250401c78d5e0893beff75e28c53c98f4de42f774062 \
- --hash=sha256:b4c854ef3adc177950a8dfc81a86f5115d2abd545751a304c5bcf2c2c7283cfe \
- --hash=sha256:b882b3df248017dba09d6b16defe9b5c407fe32fc7c65a9c69798e6175601be9 \
- --hash=sha256:baf5215e0ab74c16e2dd324e8ec067ef59e41125d3eade2b863d294fd5035c92 \
- --hash=sha256:c649e3a33450ec82378822b3dad03cc228b8f5963c0c12fc3b1e0ab940f768a5 \
- --hash=sha256:c654de545946e0db659b3400168c9ad31b5d29593291482c43e3564effbcee13 \
- --hash=sha256:c6638687455baf640e37344fe26d37c404db8b80d037c3d29f58fe8d1c3b194d \
- --hash=sha256:c8d3b5532fc71b7a77c09192b4a5a200ea992702734a2e9279a37f2478236f26 \
- --hash=sha256:cb527a79772e5ef98fb1d700678fe031e353e765d1ca2d409c92263c6d43e09f \
- --hash=sha256:cf364028c016c03078a23b503f02058f1814320a56ad535686f90565636a9495 \
- --hash=sha256:d48a880098c96020b02d5a1f7d9251308510ce8858940e6fa99ece33f610838b \
- --hash=sha256:d68b6cef7827e8641e8ef16f4494edda8b36104d79773a334beaa1e3521430f6 \
- --hash=sha256:d9b29c1f0ae438d5ee9acb31cadee00a58c46cc9c0b2f9038c6b0b3470877a8c \
- --hash=sha256:d9b97165e8aed9272a6bb17c01e3cc5871a594a446ebedc996e2397a1c1ea8ef \
- --hash=sha256:da68248800ad6320861f129cd9c1bf96ca849a2771a59e0344e88681905916f5 \
- --hash=sha256:da902562c3e9c550df360bfa53c035b2f241fed6d9aef119048073680ace4a18 \
- --hash=sha256:dbd5c7a25a7cb98f5ca55d258b103a2054f859a46ae11aaf23134f9cc0d356ad \
- --hash=sha256:dd4f05f54a52fb558f1ba9f528228066954fee3ebe629fc1660d874d040ae5a3 \
- --hash=sha256:de8dad4425a6ca6e4e5e297b27b5c824ecc7581910bf9aee86cb6835e6812aa7 \
- --hash=sha256:e11e82b744887154b182fd3e7e8512418446501191994dbf9c9fc1f32cc8efd5 \
- --hash=sha256:e6e73b9e02893c764e7e8d5bb5ce277f1a009cd5243f8228f75f842bf937c534 \
- --hash=sha256:f73b96c41e3b2adedc34a7356e64c8eb96e03a3782b535e043a986276ce12a49 \
- --hash=sha256:f93fd8e5c8c0a4aa1f424d6173f14a892044054871c771f8566e4008eaa359d2 \
- --hash=sha256:fc33c5141b55ed366cfaad382df24fe7dcbc686de5be719b207bb248e3053dc5 \
- --hash=sha256:fc7de24befaeae77ba923797c7c87834c73648a05a4bde34b3b7e5588973a453 \
- --hash=sha256:fe562eb1a64e67dd297ccc4f5addea2501664954f2692b69a76449ec7913ecbf
- # via cryptography
-charset-normalizer==3.4.7 \
- --hash=sha256:007d05ec7321d12a40227aae9e2bc6dca73f3cb21058999a1df9e193555a9dcc \
- --hash=sha256:03853ed82eeebbce3c2abfdbc98c96dc205f32a79627688ac9a27370ea61a49c \
- --hash=sha256:07d9e39b01743c3717745f4c530a6349eadbfa043c7577eef86c502c15df2c67 \
- --hash=sha256:08e721811161356f97b4059a9ba7bafb23ea5ee2255402c42881c214e173c6b4 \
- --hash=sha256:0c96c3b819b5c3e9e165495db84d41914d6894d55181d2d108cc1a69bfc9cce0 \
- --hash=sha256:0ea948db76d31190bf08bd371623927ee1339d5f2a0b4b1b4a4439a65298703c \
- --hash=sha256:0f7eb884681e3938906ed0434f20c63046eacd0111c4ba96f27b76084cd679f5 \
- --hash=sha256:12a6fff75f6bc66711b73a2f0addfc4c8c15a20e805146a02d147a318962c444 \
- --hash=sha256:12d8baf840cc7889b37c7c770f478adea7adce3dcb3944d02ec87508e2dcf153 \
- --hash=sha256:14265bfe1f09498b9d8ec91e9ec9fa52775edf90fcbde092b25f4a33d444fea9 \
- --hash=sha256:16d971e29578a5e97d7117866d15889a4a07befe0e87e703ed63cd90cb348c01 \
- --hash=sha256:177a0ba5f0211d488e295aaf82707237e331c24788d8d76c96c5a41594723217 \
- --hash=sha256:1a87ca9d5df6fe460483d9a5bbf2b18f620cbed41b432e2bddb686228282d10b \
- --hash=sha256:1c2a768fdd44ee4a9339a9b0b130049139b8ce3c01d2ce09f67f5a68048d477c \
- --hash=sha256:1c2aed2e5e41f24ea8ef1590b8e848a79b56f3a5564a65ceec43c9d692dc7d8a \
- --hash=sha256:1dc8b0ea451d6e69735094606991f32867807881400f808a106ee1d963c46a83 \
- --hash=sha256:1efde3cae86c8c273f1eb3b287be7d8499420cf2fe7585c41d370d3e790054a5 \
- --hash=sha256:202389074300232baeb53ae2569a60901f7efadd4245cf3a3bf0617d60b439d7 \
- --hash=sha256:203104ed3e428044fd943bc4bf45fa73c0730391f9621e37fe39ecf477b128cb \
- --hash=sha256:2257141f39fe65a3fdf38aeccae4b953e5f3b3324f4ff0daf9f15b8518666a2c \
- --hash=sha256:298930cec56029e05497a76988377cbd7457ba864beeea92ad7e844fe74cd1f1 \
- --hash=sha256:2cd4a60d0e2fb04537162c62bbbb4182f53541fe0ede35cdf270a1c1e723cc42 \
- --hash=sha256:2d6eb928e13016cea4f1f21d1e10c1cebd5a421bc57ddf5b1142ae3f86824fab \
- --hash=sha256:2fe249cb4651fd12605b7288b24751d8bfd46d35f12a20b1ba33dea122e690df \
- --hash=sha256:30b8d1d8c52a48c2c5690e152c169b673487a2a58de1ec7393196753063fcd5e \
- --hash=sha256:320ade88cfb846b8cd6b4ddf5ee9e80ee0c1f52401f2456b84ae1ae6a1a5f207 \
- --hash=sha256:3534e7dcbdcf757da6b85a0bbf5b6868786d5982dd959b065e65481644817a18 \
- --hash=sha256:36836d6ff945a00b88ba1e4572d721e60b5b8c98c155d465f56ad19d68f23734 \
- --hash=sha256:38c0109396c4cfc574d502df99742a45c72c08eff0a36158b6f04000043dbf38 \
- --hash=sha256:3946fa46a0cf3e4c8cb1cc52f56bb536310d34f25f01ca9b6c16afa767dab110 \
- --hash=sha256:3bec022aec2c514d9cf199522a802bd007cd588ab17ab2525f20f9c34d067c18 \
- --hash=sha256:3c9a494bc5ec77d43cea229c4f6db1e4d8fe7e1bbffa8b6f0f0032430ff8ab44 \
- --hash=sha256:3dce51d0f5e7951f8bb4900c257dad282f49190fdbebecd4ba99bcc41fef404d \
- --hash=sha256:3dedcc22d73ec993f42055eff4fcfed9318d1eeb9a6606c55892a26964964e48 \
- --hash=sha256:4042d5c8f957e15221d423ba781e85d553722fc4113f523f2feb7b188cc34c5e \
- --hash=sha256:481551899c856c704d58119b5025793fa6730adda3571971af568f66d2424bb5 \
- --hash=sha256:4dc1e73c36828f982bfe79fadf5919923f8a6f4df2860804db9a98c48824ce8d \
- --hash=sha256:4e5163c14bffd570ef2affbfdd77bba66383890797df43dc8b4cc7d6f500bf53 \
- --hash=sha256:511ef87c8aec0783e08ac18565a16d435372bc1ac25a91e6ac7f5ef2b0bff790 \
- --hash=sha256:532bc9bf33a68613fd7d65e4b1c71a6a38d7d42604ecf239c77392e9b4e8998c \
- --hash=sha256:54523e136b8948060c0fa0bc7b1b50c32c186f2fceee897a495406bb6e311d2b \
- --hash=sha256:5649fd1c7bade02f320a462fdefd0b4bd3ce036065836d4f42e0de958038e116 \
- --hash=sha256:56be790f86bfb2c98fb742ce566dfb4816e5a83384616ab59c49e0604d49c51d \
- --hash=sha256:5b77459df20e08151cd6f8b9ef8ef1f961ef73d85c21a555c7eed5b79410ec10 \
- --hash=sha256:5ed6ab538499c8644b8a3e18debabcd7ce684f3fa91cf867521a7a0279cab2d6 \
- --hash=sha256:6178f72c5508bfc5fd446a5905e698c6212932f25bcdd4b47a757a50605a90e2 \
- --hash=sha256:6370e8686f662e6a3941ee48ed4742317cafbe5707e36406e9df792cdb535776 \
- --hash=sha256:64f02c6841d7d83f832cd97ccf8eb8a906d06eb95d5276069175c696b024b60a \
- --hash=sha256:65bcd23054beab4d166035cabbc868a09c1a49d1efe458fe8e4361215df40265 \
- --hash=sha256:66671f93accb62ed07da56613636f3641f1a12c13046ce91ffc923721f23c008 \
- --hash=sha256:6696b7688f54f5af4462118f0bfa7c1621eeb87154f77fa04b9295ce7a8f2943 \
- --hash=sha256:6785f414ae0f3c733c437e0f3929197934f526d19dfaa75e18fdb4f94c6fb374 \
- --hash=sha256:67f6279d125ca0046a7fd386d01b311c6363844deac3e5b069b514ba3e63c246 \
- --hash=sha256:6c114670c45346afedc0d947faf3c7f701051d2518b943679c8ff88befe14f8e \
- --hash=sha256:6e0d51f618228538a3e8f46bd246f87a6cd030565e015803691603f55e12afb5 \
- --hash=sha256:6ed74185b2db44f41ef35fd1617c5888e59792da9bbc9190d6c7300617182616 \
- --hash=sha256:708838739abf24b2ceb208d0e22403dd018faeef86ddac04319a62ae884c4f15 \
- --hash=sha256:715479b9a2802ecac752a3b0efa2b0b60285cf962ee38414211abdfccc233b41 \
- --hash=sha256:733784b6d6def852c814bce5f318d25da2ee65dd4839a0718641c696e09a2960 \
- --hash=sha256:750e02e074872a3fad7f233b47734166440af3cdea0add3e95163110816d6752 \
- --hash=sha256:752a45dc4a6934060b3b0dab47e04edc3326575f82be64bc4fc293914566503e \
- --hash=sha256:7579e913a5339fb8fa133f6bbcfd8e6749696206cf05acdbdca71a1b436d8e72 \
- --hash=sha256:7641bb8895e77f921102f72833904dcd9901df5d6d72a2ab8f31d04b7e51e4e7 \
- --hash=sha256:7804338df6fcc08105c7745f1502ba68d900f45fd770d5bdd5288ddccb8a42d8 \
- --hash=sha256:80d04837f55fc81da168b98de4f4b797ef007fc8a79ab71c6ec9bc4dd662b15b \
- --hash=sha256:813c0e0132266c08eb87469a642cb30aaff57c5f426255419572aaeceeaa7bf4 \
- --hash=sha256:82b271f5137d07749f7bf32f70b17ab6eaabedd297e75dce75081a24f76eb545 \
- --hash=sha256:84c018e49c3bf790f9c2771c45e9313a08c2c2a6342b162cd650258b57817706 \
- --hash=sha256:8751d2787c9131302398b11e6c8068053dcb55d5a8964e114b6e196cf16cb366 \
- --hash=sha256:8778f0c7a52e56f75d12dae53ae320fae900a8b9b4164b981b9c5ce059cd1fcb \
- --hash=sha256:87fad7d9ba98c86bcb41b2dc8dbb326619be2562af1f8ff50776a39e55721c5a \
- --hash=sha256:8d828b6667a32a728a1ad1d93957cdf37489c57b97ae6c4de2860fa749b8fc1e \
- --hash=sha256:8e385e4267ab76874ae30db04c627faaaf0b509e1ccc11a95b3fc3e83f855c00 \
- --hash=sha256:92a0a01ead5e668468e952e4238cccd7c537364eb7d851ab144ab6627dbbe12f \
- --hash=sha256:94e1885b270625a9a828c9793b4d52a64445299baa1fea5a173bf1d3dd9a1a5a \
- --hash=sha256:a180c5e59792af262bf263b21a3c49353f25945d8d9f70628e73de370d55e1e1 \
- --hash=sha256:a277ab8928b9f299723bc1a2dabb1265911b1a76341f90a510368ca44ad9ab66 \
- --hash=sha256:a5fe03b42827c13cdccd08e6c0247b6a6d4b5e3cdc53fd1749f5896adcdc2356 \
- --hash=sha256:a6c5863edfbe888d9eff9c8b8087354e27618d9da76425c119293f11712a6319 \
- --hash=sha256:a89c23ef8d2c6b27fd200a42aa4ac72786e7c60d40efdc76e6011260b6e949c4 \
- --hash=sha256:adb2597b428735679446b46c8badf467b4ca5f5056aae4d51a19f9570301b1ad \
- --hash=sha256:ae196f021b5e7c78e918242d217db021ed2a6ace2bc6ae94c0fc596221c7f58d \
- --hash=sha256:ae89db9e5f98a11a4bf50407d4363e7b09b31e55bc117b4f7d80aab97ba009e5 \
- --hash=sha256:aed52fea0513bac0ccde438c188c8a471c4e0f457c2dd20cdbf6ea7a450046c7 \
- --hash=sha256:aef65cd602a6d0e0ff6f9930fcb1c8fec60dd2cfcb6facaf4bdb0e5873042db0 \
- --hash=sha256:af21eb4409a119e365397b2adbaca4c9ccab56543a65d5dbd9f920d6ac29f686 \
- --hash=sha256:b14b2d9dac08e28bb8046a1a0434b1750eb221c8f5b87a68f4fa11a6f97b5e34 \
- --hash=sha256:bb6d88045545b26da47aa879dd4a89a71d1dce0f0e549b1abcb31dfe4a8eac49 \
- --hash=sha256:bb8cc7534f51d9a017b93e3e85b260924f909601c3df002bcdb58ddb4dc41a5c \
- --hash=sha256:bc17a677b21b3502a21f66a8cc64f5bfad4df8a0b8434d661666f8ce90ac3af1 \
- --hash=sha256:bd6c2a1c7573c64738d716488d2cdd3c00e340e4835707d8fdb8dc1a66ef164e \
- --hash=sha256:bd9b23791fe793e4968dba0c447e12f78e425c59fc0e3b97f6450f4781f3ee60 \
- --hash=sha256:c03a41a8784091e67a39648f70c5f97b5b6a37f216896d44d2cdcb82615339a0 \
- --hash=sha256:c0f081d69a6e58272819b70288d3221a6ee64b98df852631c80f293514d3b274 \
- --hash=sha256:c35abb8bfff0185efac5878da64c45dafd2b37fb0383add1be155a763c1f083d \
- --hash=sha256:c36c333c39be2dbca264d7803333c896ab8fa7d4d6f0ab7edb7dfd7aea6e98c0 \
- --hash=sha256:c45e9440fb78f8ddabcf714b68f936737a121355bf59f3907f4e17721b9d1aae \
- --hash=sha256:c593052c465475e64bbfe5dbd81680f64a67fdc752c56d7a0ae205dc8aeefe0f \
- --hash=sha256:cdd68a1fb318e290a2077696b7eb7a21a49163c455979c639bf5a5dcdc46617d \
- --hash=sha256:ce3412fbe1e31eb81ea42f4169ed94861c56e643189e1e75f0041f3fe7020abe \
- --hash=sha256:cf1493cd8607bec4d8a7b9b004e699fcf8f9103a9284cc94962cb73d20f9d4a3 \
- --hash=sha256:cf29836da5119f3c8a8a70667b0ef5fdca3bb12f80fd06487cfa575b3909b393 \
- --hash=sha256:d4a48e5b3c2a489fae013b7589308a40146ee081f6f509e047e0e096084ceca1 \
- --hash=sha256:d560742f3c0d62afaccf9f41fe485ed69bd7661a241f86a3ef0f0fb8b1a397af \
- --hash=sha256:d6038d37043bced98a66e68d3aa2b6a35505dc01328cd65217cefe82f25def44 \
- --hash=sha256:d61f00a0869d77422d9b2aba989e2d24afa6ffd552af442e0e58de4f35ea6d00 \
- --hash=sha256:d635aab80466bc95771bb78d5370e74d36d1fe31467b6b29b8b57b2a3cd7d22c \
- --hash=sha256:dca4bbc466a95ba9c0234ef56d7dd9509f63da22274589ebd4ed7f1f4d4c54e3 \
- --hash=sha256:dd915403e231e6b1809fe9b6d9fc55cf8fb5e02765ac625d9cd623342a7905d7 \
- --hash=sha256:e044c39e41b92c845bc815e5ae4230804e8e7bc29e399b0437d64222d92809dd \
- --hash=sha256:e060d01aec0a910bdccb8be71faf34e7799ce36950f8294c8bf612cba65a2c9e \
- --hash=sha256:e1421b502d83040e6d7fb2fb18dff63957f720da3d77b2fbd3187ceb63755d7b \
- --hash=sha256:e17b8d5d6a8c47c85e68ca8379def1303fd360c3e22093a807cd34a71cd082b8 \
- --hash=sha256:e5f4d355f0a2b1a31bc3edec6795b46324349c9cb25eed068049e4f472fb4259 \
- --hash=sha256:e712b419df8ba5e42b226c510472b37bd57b38e897d3eca5e8cfd410a29fa859 \
- --hash=sha256:e74327fb75de8986940def6e8dee4f127cc9752bee7355bb323cc5b2659b6d46 \
- --hash=sha256:e80c8378d8f3d83cd3164da1ad2df9e37a666cdde7b1cb2298ed0b558064be30 \
- --hash=sha256:e8ac484bf18ce6975760921bb6148041faa8fef0547200386ea0b52b5d27bf7b \
- --hash=sha256:eca9705049ad3c7345d574e3510665cb2cf844c2f2dcfe675332677f081cbd46 \
- --hash=sha256:ed065083d0898c9d5b4bbec7b026fd755ff7454e6e8b73a67f8c744b13986e24 \
- --hash=sha256:edac0f1ab77644605be2cbba52e6b7f630731fc42b34cb0f634be1a6eface56a \
- --hash=sha256:effc3f449787117233702311a1b7d8f59cba9ced946ba727bdc329ec69028e24 \
- --hash=sha256:f22dec1690b584cea26fade98b2435c132c1b5f68e39f5a0b7627cd7ae31f1dc \
- --hash=sha256:f495a1652cf3fbab2eb0639776dad966c2fb874d79d87ca07f9d5f059b8bd215 \
- --hash=sha256:f496c9c3cc02230093d8330875c4c3cdfc3b73612a5fd921c65d39cbcef08063 \
- --hash=sha256:f59099f9b66f0d7145115e6f80dd8b1d847176df89b234a5a6b3f00437aa0832 \
- --hash=sha256:f59ad4c0e8f6bba240a9bb85504faa1ab438237199d4cce5f622761507b8f6a6 \
- --hash=sha256:fbccdc05410c9ee21bbf16a35f4c1d16123dcdeb8a1d38f33654fa21d0234f79 \
- --hash=sha256:fea24543955a6a729c45a73fe90e08c743f0b3334bbf3201e6c4bc1b0c7fa464
+cffi==2.1.1 ; platform_python_implementation != 'PyPy' \
+ --hash=sha256:046bfc24911b37851ee1b51aab8bffe713d89c68c6a057b09484ce9fd5f69b4e \
+ --hash=sha256:06c72bb76605a4b0cd0aad6930b69d4baf7dd5d806cfc409b824191099700e66 \
+ --hash=sha256:0beceaabe56af686895136a2de78db54ecd8e4046b236b8fd6d6cb61389e9bf2 \
+ --hash=sha256:154852545011f779917b11c78db2358d095da62a9a172b78ad0a583ee5adc0d0 \
+ --hash=sha256:194cffa889098ced9976c3fc6340305e43f6303657d298da55366907c05c22d6 \
+ --hash=sha256:19ee6127ee34de7d83ce3d371ebc5ed91addbdcc39f9ab15ce4eb35a4e534971 \
+ --hash=sha256:1a18a57b58cfb21fc28d72e876acf10eaed67a1ed96226f92af4df681d571c4c \
+ --hash=sha256:1aa5645c30469b09530c4ebca77ebf8f17618293c58f8549cb1a543a50236e7d \
+ --hash=sha256:1dea0e4d7d4f11f619fe8c1d76caf49e24405b4b5743c0e3be16a500ecd930c9 \
+ --hash=sha256:208f941bb9d18e768138677f0a6d2ce01f590df56043dda1df1535ac57c88517 \
+ --hash=sha256:210019b6c7cf07f081b4c54635c8cf744377001350e29cc0f81c4377b4797735 \
+ --hash=sha256:246fa40ce8645a614ff682e0b70f37134e460eaf93a775e0cbe3cca585a67a80 \
+ --hash=sha256:25792eac27877609e7bb06d42ff88278a6624fff2ba9bbb523c09616b117e80f \
+ --hash=sha256:27350daa11d4f10c540e6e89dada4c54feb7256ad03e9a4dc075ebad7ba360d1 \
+ --hash=sha256:28907ab9bfb6aa13184cfc17c6b8e1023c5ab6fd7076d8c20a35e59fe04f8f29 \
+ --hash=sha256:2ae64be792b8966f2c69538199728b290e34726562896df1e5dc8ffd8d8188e8 \
+ --hash=sha256:31348097ff5bbe827ccc41795d4dd099d9f0625e7def00ee653c137a490c2a6c \
+ --hash=sha256:3143d81e29e1e20a9ce10901ec369012947876596f75a222235965f2b7ae832e \
+ --hash=sha256:3222ba5d678f80a030e6afbcc33dc1ae5cb45facabb61cee2c7016b8432fde48 \
+ --hash=sha256:3311ed60d36f83378794e1009ac6258bafbf81f7888b4caa7b35a521e3f95813 \
+ --hash=sha256:334644fbac4eff73d985a17a91226df55d0f394160c4cfb880e084c8f7161cac \
+ --hash=sha256:34e261f78cb6ceaaa36f42f2613f4380d94d9c759a9c73c769ee6e0247364632 \
+ --hash=sha256:363e05fa78e15116c3c32c210ee36884fd6b9afa6d440e47112c3bd511d64cb6 \
+ --hash=sha256:398aff33cee2767e3e781d2554c54bd0dff386bb437581e0d8011fde1a942ec1 \
+ --hash=sha256:3d22a20b1fb1632cc72c22f95f7b0d2961c3e1c235f245ba4c606c4771035659 \
+ --hash=sha256:42a494cee34437f05546455144f2b5d9ac09b1face62bcfce597d2e521066688 \
+ --hash=sha256:42e2f76b9455f5a9a844f770bf3e200ed3da0e15f5df3db9c31fe80b04b3d004 \
+ --hash=sha256:42f6930c31dc7f50732c9ae793c2786c7b6b044195967bbdde40bb9be81c4cc0 \
+ --hash=sha256:456a61fa52d579ebf9df2e9552ead5129855dbaff6c1e5a9b1bc408809bdc062 \
+ --hash=sha256:471cee653ae88de62096552e6d24ccb4a5adb8c8c9f10b5054d0122c15bf2779 \
+ --hash=sha256:49cbc70e6542d4ccccb936558d1064a8012541e78f821f955cff24e357776c94 \
+ --hash=sha256:4a7c934f7360e8cd64fe9efadcbd10c7c6364f531e432b9a4bf5ccbc9e0e8b50 \
+ --hash=sha256:4be96343e422f2dfcd12ab5c9f5aebe03f82f737c6bffeca6830b3875cb44aab \
+ --hash=sha256:4f42141fc14250de6dde5ee7ea4432be017252d91f19c5ad043c084cea629cac \
+ --hash=sha256:507a24c282e0f42f8ed737cf048572cbf580468da5555764a8331735e9c736b6 \
+ --hash=sha256:51b31d1c98274844cfd7838ce00bfc27c7423a4dc00fc0772fc3331c2cc90676 \
+ --hash=sha256:58acb8ab8e295e6c5ea12f888cbb13cf21511ef2a3303a23f4325c29d17fe5c1 \
+ --hash=sha256:5a59cc1c4442bc3d5c703bf720b51138d0bfc173618807c9ee2490a7541dd3d9 \
+ --hash=sha256:5bb4e7ea95dcd6a014a6fef62e62467d67d8e582326443f3d68e71d6320a9fcf \
+ --hash=sha256:5c58fe613dc5e5336357eff555824a314d8e43282600435c8d1cb6a7a2fedd13 \
+ --hash=sha256:5e7cecbaadb83884793e05828cee59b210b24583b9c7425d0ba6a754fe22eb4e \
+ --hash=sha256:616f097f2fe415bc92a247f02e11f634e1f9e9a83d327e3c915c15089c87869e \
+ --hash=sha256:63bbfd5ded17c4840ac07cd8f1c21ba9d9708141f840b324f422f41b207e3973 \
+ --hash=sha256:64faea20f4e2613363a1a9b9c7dd73058f3ecd00133a511e72ad7c511658f527 \
+ --hash=sha256:661c298b4821edebead0c91edd2b00374d67ad7c5a1f7a91d4442633b79d6a72 \
+ --hash=sha256:68e62fe11f30d5ca8289242866f0a5291402d8529ca2178ab8afc5c9694ae890 \
+ --hash=sha256:6a8dddef476fab96d066d578fc88526767b836ab5ab21754e1d5bf3879c31c7c \
+ --hash=sha256:6e192623c49c94421616a5778fba35cf0d5a8d000650c1967ef4448ee5cdd990 \
+ --hash=sha256:7225e4514edb64eb6740324353e0da0711954fd8d7da4576755b1c6e09b697cd \
+ --hash=sha256:75f80557d1389eddbd0de2681f6a390a0c5338c31ddaa821381c203fc3fd50d9 \
+ --hash=sha256:770de9db11e84213beec501cfcaa013b019820ca881e03344dea5844f7876d94 \
+ --hash=sha256:7750c6449dff7864bb9bb27ddfb0267756189201a3afc911d82b3caacd70dfc3 \
+ --hash=sha256:7bde5e4cc5c10140859842b9d383af292b22639a4dffb725314baf45968cef80 \
+ --hash=sha256:7ce713ace7c0e4520535b42b77eaa742c16dab813978064913e5a3cf82973b41 \
+ --hash=sha256:7da0c5eff80f0197f3b3d1232ec5a682a9325f4ae9016a78f5f5ca35f9ced1f5 \
+ --hash=sha256:7dbb61fe3a7699468030f71bbe5f8a0e326a151daa91beb11a6fc1f980c55e1c \
+ --hash=sha256:811bd1e21d32de12efca32393a0ab3f5133b54fce9bd44b8bd77ab07da14bf6a \
+ --hash=sha256:8ef53b2de9bcb9197d31854256575d59dbac0cba72ac627bb291ef5eceb74be4 \
+ --hash=sha256:937c0052c05a31ca1daf18de3158eed4dbfcb9cc107adbea227728d647be701e \
+ --hash=sha256:9d2055050ea716bd38b7f7f1579c275386646b4894c155a3e2f3cd62ed41b7c6 \
+ --hash=sha256:9f8d177621de5cb38ee3e731eda45d421db093ec0739f46a5594babda7987a98 \
+ --hash=sha256:a2d7755bef5a12ed488f4ef1f1b69ee9191d7396083b755a5d2295f6edb4768b \
+ --hash=sha256:a48d62ab9d6f4f98c983223a547af44be6ca3691074c31cecced6facd3ba2dc1 \
+ --hash=sha256:a4f00aa42f75d6e4595e8866e748cc1705adc0cddfeb2ca86d0d03993d63ba03 \
+ --hash=sha256:a6e721d4b0e45d5b65e87534470e67b18dcd092c83f68fba09f152b9cbc061af \
+ --hash=sha256:a730a083190634c65cca36ba5f489531576ebd79bcd5c8e172130f6453127231 \
+ --hash=sha256:a931079504ecc49efed7744c476a5c343a92fabf66dec2db95edb1b2fdc770e2 \
+ --hash=sha256:aa9511c62d14da7aacc9b4bf51f3f697a621e83b2d6919008243c3aad168eea3 \
+ --hash=sha256:ab36d55f9ed2d067327667c2fea18dda018eb628dd6347aa01dda6cf1f5d3836 \
+ --hash=sha256:ad2c86c495b899d862ea0f4b42891b8713a3bd45dd4105c7fd51c2a72f39f3a5 \
+ --hash=sha256:aeae0e330c9f6acd681f647d46cefd30c29f93e3392882e792e82080c9691399 \
+ --hash=sha256:b0431303acaea1089ad4b3e9ce4e6518193def1118d4073ca848635ee4ea2e96 \
+ --hash=sha256:b5bdfd1c873d4e093aabc0ca84c4ca6dbc4f752afb5c86f146d9742580c9da2e \
+ --hash=sha256:baed1e86cc735622097354b9d1281406caf42ff42a886d29faa8e8d1630333be \
+ --hash=sha256:c1453022f490d2459a11819d83ad1d586e9ff65a12ac3e705ffebd46d3685dcf \
+ --hash=sha256:c26608d2222fb1e94487e4a387d85f13eb55d5ed725cb25a0c589ac4ee60e7bc \
+ --hash=sha256:c7659f22557c5a0bc4855cd635f55edec690cc008a40768527762cb9fb263455 \
+ --hash=sha256:c8c69575568085ba0b1b10c0249d779a214aea6f6522e949a0fc9fb0fcb449d0 \
+ --hash=sha256:c8d2c9fd1f2d16f780d15127abb050d13d1a76c03a4bd87d7e4980e45e511e12 \
+ --hash=sha256:ca82be1a1d406ecfe1d25dc16cb33488e5a16bf4438c9fb590484ea29d92478b \
+ --hash=sha256:cc572dace3f60ef98d7b12ff411d20f5362feb31a0439eab0085bbfd349982d7 \
+ --hash=sha256:d18e5ac0f2f03f4f518d3e23db0f0cad7faa1da8620e9c09461d443bbf6e6692 \
+ --hash=sha256:d28630f5854ab07ab1fd4aba756de52326c82e6be15d414b12793f1975048b54 \
+ --hash=sha256:d9c275eaacd24aa73f94ffd6de08fc3f932424d8b6c376f4bed7cde376fe7bc3 \
+ --hash=sha256:da0e573f9f97159390c89d9f1a9e41908b66d408cc5b58d08cf3847d844c531b \
+ --hash=sha256:dd31f52ea1086513bb9df30f8fcee9b8918323ae067a3d5b78bc826a000712be \
+ --hash=sha256:dddad92b554513a31f272570678ba307fb9f618f05e3d4a5eacafff9eae03e1d \
+ --hash=sha256:df423d40ee8654634421812bc3b196da3f9bd7d32929da813f8394c4348a5358 \
+ --hash=sha256:df913725b79db7bcf03448f36b7bf8815363417d5b58deecf9305e3e30f0f21a \
+ --hash=sha256:e0bcb7e0f677f543555d2adff3bf19c05f66cdb4796e5ff602442ab2fe3c4ef7 \
+ --hash=sha256:e2d65b31f36619cda3999b78b2aa9632e76b78448e7a56fc4240824200e7c4fc \
+ --hash=sha256:e6e8cff14d6fb0be70a09c0bdc58096f501952d04624ebf867e0e56da2df8960 \
+ --hash=sha256:f16c709686a78c727bbbf059f92b0bf41c6fc60deec706d2dc19f529175a6125 \
+ --hash=sha256:f24fb43132a4c6b4cb4eb029492919b2db645be6808d738f244fd146c03c32cb \
+ --hash=sha256:f53e442b08449d42821fa4a4fba000095af9f62742a500f978a9f557ec44339a \
+ --hash=sha256:f5cfbc5fe74540d335175b656c725d74d90e3730c626d92575eea35029d9afaa \
+ --hash=sha256:f81b3b8f3d4e343550fa4baa0e479bba9f2d29ce9c2e9b51d1ce1718d7442fcf \
+ --hash=sha256:f8ec5e643a9a937f64e1999eb9f75d072263751912dc5cd06d3c85f8f44be7c3 \
+ --hash=sha256:fb92203a88b3d3053034db775110081c49d28be6551923805e039924093761e4 \
+ --hash=sha256:fcd22650c908d7b7da162bbfaab594a1227a15d1643a98c68b122ac642fa2264
+ # via
+ # -c requirements-full.lock
+ # cryptography
+charset-normalizer==3.5.1 \
+ --hash=sha256:00668ebb0609751758682eb0b5857e7c35b9f00e84dfdef062e103244ec94d45 \
+ --hash=sha256:012a22b88a77ca2e59b98ac5889b0deb604147666032f45e6d6e217634d2550d \
+ --hash=sha256:01e93745f7f219b703b60ba7afead36cfc4242782be5af484673fc500df12da5 \
+ --hash=sha256:04368edf83514385ffc3e1cfd4546e595f4f1272dd23ba437a93a9cc3741d47b \
+ --hash=sha256:0722590aabf9dc6a6c0343d523c05458fa2b5047dbe6302fd526bb570600753f \
+ --hash=sha256:07ffd07412fc5d5e84cd8952acf9ff7e4ed7a708e69d1bada19d8ba91711353f \
+ --hash=sha256:09a7bba9f739468c8e78c36a75c33768e53cb1959fc638f510454c14683f00d5 \
+ --hash=sha256:0b2b1b3fa5670c127b246df1d0c059defd41f689a868a3b9d79df9b1cac42d22 \
+ --hash=sha256:0c6dfb5ca6723eeed15aa8e564a014d69fcb8812f94eef11fe3631e0508199f5 \
+ --hash=sha256:0d929fc574b4d6fd9e7c0f5c2ede8716a41911923aa7fa5fce38e0818aa4a1ac \
+ --hash=sha256:13e3afe97712e8887cd516e960c63f0b93122971e5b5e4b2622fe7701771e838 \
+ --hash=sha256:15f024313246a4ed976c60f440bb8d257815513a681d212ff74fd46f7d715a90 \
+ --hash=sha256:195ce897c6153c0700078142cf8efe3e6454ca4cf4357499e4078dfd83396626 \
+ --hash=sha256:19a3dd5aa73cef1c99687c4fc57db016a9c17104ae1185da88ba566a5d3bebe4 \
+ --hash=sha256:1d1c7a53a6c2103925cdd6d7229f8c567379f211c869793df679f2e9f738c369 \
+ --hash=sha256:1f5883d77fd409a261abb5dc8ccbe335720d798b1de4abb3b1d47ccbbc76b53b \
+ --hash=sha256:21b82d8082f6f5e7f456ef0bd16323d08de1266efbfeb476e64b2a91d1471a4e \
+ --hash=sha256:252d099029bcbea642f2a06c4ed5046bdf8b5a8150b64afa5e027e88b106e5ee \
+ --hash=sha256:256dd4d85d9e4dc595e2bc983c980e73f62ddeb3165c58b4c3dfe78c5c8548c1 \
+ --hash=sha256:26422d45fd13551cf564c58932f7d72b4f58b93b0fcf18c35ba6be12b46bb102 \
+ --hash=sha256:2679de311c7946dde5d3b6f44941844133ff5c7cb86099c0061ab1e8901c20a8 \
+ --hash=sha256:29880d17a8eb0b5cfdfd8944b468322928059aa35f1f5fa8ff22b149ec0b42f8 \
+ --hash=sha256:2bced4061f000f7187254a02ad3433ae17eaf991747ceea2f478422590a5bba9 \
+ --hash=sha256:2e9cf9253119d8e5d111f05d71626786fd3d6193817316eab1ca088cdb8593cf \
+ --hash=sha256:2f06b7eae9dbe77fe1d644ca244dad508de8d302870a43f3c559b521270938a0 \
+ --hash=sha256:2f293479cce755c75f1697e87c409b7ae4c555c7dfecb6e988ad13abba943031 \
+ --hash=sha256:329fc3ccb63ad22d867d84c2adea759a64079a37ba4a343433b02c7a2816871e \
+ --hash=sha256:343fb4f2821043bd87095f7b08a1a181febc8e36ac64212143bbfd0a0e1bc235 \
+ --hash=sha256:3588e376b3ea2eea84976f67273d679f229e24c66dce7b82ae45aef04ff6e072 \
+ --hash=sha256:35aea775dc2bd5f54cd84a1cd2696cc3207c479cb9cf0bd346f0d343e4300ddb \
+ --hash=sha256:35fe081843b35aad20ffeccec3eeffbe637b15d14f3fb22cc1b59cd8ec17e93c \
+ --hash=sha256:36047af20e17097c3bb9476c2b7655f2f7aa51322c0ba58c07695bedf755a950 \
+ --hash=sha256:3617ac3cfd8b9888f145ad89dd6e692285834b0201c6074a5eeaad3fd4d668c2 \
+ --hash=sha256:366ec70f5547c640d3ce1985722490f23faf4eb5216a7eeba78277490e78dacb \
+ --hash=sha256:394fea06235c8543390050ed5f529187074b029fb027213f6c46ac11ab5d950e \
+ --hash=sha256:3d27167433c0d5f18dc850f07d0b3816221984fecdc405d6c157a6f0b8f8e9e6 \
+ --hash=sha256:3e5e1224c0a6a90e05843e07adfec669edebec17801c67072f51e59561d63c0b \
+ --hash=sha256:41876ee62a3dddf48ff1121ad8f0798032aa03f2fd35f21f34a4cab14f18d8d2 \
+ --hash=sha256:433c5a81eade63b47e522303bad236f59dba55ea6951746f5558355eeed8c75d \
+ --hash=sha256:4582c27e8c889d64811987b5967fbd3ae0c823fe1fd933b543d55ac20bb475fa \
+ --hash=sha256:485a0d363cafefcd2538a73c7c838daa2035f09b2c9f9b5e3133f80c6aeb84c2 \
+ --hash=sha256:494b70049a4d69aec6e8137c13af4cf8db8c9f9820a1392ac293b0dd2987a818 \
+ --hash=sha256:496846868fea80e479324862fa877f02411f2fd0f83b79ccee2607aa68b2a032 \
+ --hash=sha256:4abdc5f9ad448c1ecbfae2974b820535d6bc6e7eef63babbab3d81cf46968c71 \
+ --hash=sha256:4b599739b93b2cbeded49645ae3c8d1405c29ddfbceac1545c87a3f9580a9e96 \
+ --hash=sha256:4bea7f8ebe90bbd7f0e4a2de42ca6924ba23e3e76418c408ff82f1d46fabd687 \
+ --hash=sha256:4c4fb141a727957c93edfe5c32a26ceb6b5f6461d67146e2d39f51e16170bea8 \
+ --hash=sha256:4c9548dc78002099910abaebc0a72ac58b7d30931869e0351c09b507dff4ece3 \
+ --hash=sha256:4d26f14f041e83dd8edfd61f4cd4fa7285d31798b5bf1f28e70c367ba6c41d61 \
+ --hash=sha256:4f298bdadb8f0b9e5672877f647d1be9373ef5320c9e2f049795e26cad28b6a9 \
+ --hash=sha256:52ec005752a56ae79547a05c0139ca2501a0c866390b6115008456b9f0e7cde1 \
+ --hash=sha256:55261ac0d2941c42f196dd576f543d87a8ee03cd6f5e30dfb4d807b2e3b9121a \
+ --hash=sha256:56490c595a28b1bb27dfc583e816152a9767721ef58b2c03b13f954d2f707420 \
+ --hash=sha256:58d3e12c88e0950bca850ae1f7c256055c097639c2edb9eb123af9807d8b15e4 \
+ --hash=sha256:58d4aa13a59c969dbfdf9e6a9560e242cbfd9e8a8f50c2747714df1a423adf65 \
+ --hash=sha256:59171c6e45bf07d0d5cab3b0bf81d945035530f6873398b3b531c31184d46663 \
+ --hash=sha256:5b6d1386bf0096d26d3a863dc0a487a5b4eb9aa93cf5ba69683d29dde6b9d60f \
+ --hash=sha256:5c0ea61a470e070686aa30892fed79e297d2c8d0ab46b8bcdf027d38c51da591 \
+ --hash=sha256:5c84bec0ab5ae0c64bfe73a7d2adcb5ce73b467523fc27fd6a28ab2aa6cbe35a \
+ --hash=sha256:5ca0555312ae2fe82715cada7fac375530c2f3349e1eaa1bcb33d0283ac79a18 \
+ --hash=sha256:5d8531a6569d025f68e2321e7638fb7978f23db58e5f69f56913837aae03816e \
+ --hash=sha256:5e2d0e146dcb57034f8b97dc58d2d512cb90aba253960ce449f695fec6a82c6f \
+ --hash=sha256:5fc45d653ea8c9a20479167e11d4a0f8cb2fa3470737ab6f9c827532313187b7 \
+ --hash=sha256:6117b84ea48435e5356dc737f5121485c30920ba43375fa7b434fd753df0eac3 \
+ --hash=sha256:6199d5606e2bbf2b096cf64d03f8b6790c91081d5ac866b8e7bb6422738cc60c \
+ --hash=sha256:62b55f6722735a6c472f88361cde6640608773d9443cebdbb51abf436a1fcdd3 \
+ --hash=sha256:687c9ca3035544b113bea2055e180af96fb63c0c476e22a9180f51925186e7b7 \
+ --hash=sha256:6b7430cf5728e68f6c462254009a6ef4086e1bea43cf2f57aa9c55fb4f50ff96 \
+ --hash=sha256:6ba32c4d2abf1d2fe7cf27d280f4cca5664233b0f885549c7761719eb977f486 \
+ --hash=sha256:6c9cdde8becb25a7fde49924511aa2644d6f8081cc8df8e9452724303348d8e3 \
+ --hash=sha256:6df0ec430f9a831772c23ca5a224cba36517a58a84bb32c32bb59a9fa67c47f6 \
+ --hash=sha256:6e2912d4babbc65196ac13c2f53468dc57fb8b9c25ef913e8c59ddf7c6dc0e1b \
+ --hash=sha256:6e5e4d73d588ca5ed09df1b7dcd1b203d1df3c542e3f50d126c947d432b10731 \
+ --hash=sha256:70055ff39b97c99e7ae40ea3e393fb62aa2e44dbd9b29f8d14f42fb0025c3959 \
+ --hash=sha256:706bfd38730a5ac7a365793269a00f4e988178cec121391f4248d84ad8c972e9 \
+ --hash=sha256:7235dc28fc6dd9d832ac7c7bce95367dedb85929f17368a0c2bee1e080b9acbf \
+ --hash=sha256:774d157f112367ff4abd29019f38f023c24e00e56edc7829c20e358a5a913ad8 \
+ --hash=sha256:77efcff2b23071c349402ac1066667a3d011f62398d81408c9b88ad991747c9e \
+ --hash=sha256:789b8982559ae28dad2356519f841655756cdcd96616410590ae0b17454ee64f \
+ --hash=sha256:7ac76cf9afd34929d76eb7fcb63be476a4853d8a96f0dcf2d0db68a0cbdf9885 \
+ --hash=sha256:7c0c10730342b0c9b35dd1d619beb8214e520bd96a1f870f452680b238aab3e0 \
+ --hash=sha256:823f82903d189af463d7df250ef1f7f696f3cee08cc8d91deb565e8d425f6506 \
+ --hash=sha256:838648accb3a7fd9803fd45c87bce8509648eb0c11bc34e216141300977244f2 \
+ --hash=sha256:854066be00447fa8de2ccbbe893e2ffc4b123ef16d897af794c1e18bd4a714b0 \
+ --hash=sha256:85d5855daafc240cc045c026d7a15fd198a09b0fc8ff6f5ecbb5297b509cb11e \
+ --hash=sha256:85de3134b5379856e323ba37c19c9256d39425f7b76a63af52b09fb4664c2e8f \
+ --hash=sha256:87e4f41d375c0b9be2fb5251aee4b8a689169e134535aed81bf085c3b647451e \
+ --hash=sha256:88ca277405c2d3b71c4e1c2ee0e7966e807bcba86a69d11e19ba199d18ae4491 \
+ --hash=sha256:88e85ab89cb822c1e635f51d6d32e488f94e002e70e2f492bdb8b945543f345a \
+ --hash=sha256:8ac8c94b6539074e0f40899301273ac8402b9b3e01c7b7ba269ff30340aaaf20 \
+ --hash=sha256:8fe532b3c966d1fb794e0698e4589d0444017ae77fc0b31edea13c0e35bcc449 \
+ --hash=sha256:9085f87b0e38a2b92b8923059b4e8789fe40d9279712d15dcc670048d77079af \
+ --hash=sha256:90b7481fb62fbe172c558bc6fd1c4c98d82004a54a7551f20e11ac9bf0b8708c \
+ --hash=sha256:92caef967d287a407085d61176fce4012b1dd62daed4eb6d5ceb26d3d2538712 \
+ --hash=sha256:9362dd90aa7dab48c0054a21187791ccf05473f7dba5d92b8033ae62164675e7 \
+ --hash=sha256:94d78ecec2605a8d0398b0f365d5f12a63248438516f5dac536a5eff7337df4a \
+ --hash=sha256:94fbf1c0c6cc0d3d5e50f9a9313a8cdca90dd696d34b381cd1704f8c9e939f20 \
+ --hash=sha256:950f23cb393f85543777b0433f082cddd25b51ab398eac7971146495679efe5f \
+ --hash=sha256:96eefc178f8636b9c760c5829345307fd81cfae9ab1e80997dbddeb0f54ee9a3 \
+ --hash=sha256:96fef3e886d6a9874b14f27fc193fbdc69d5d8035783d86aa4e1cea594e695f9 \
+ --hash=sha256:977cdbd483a9cff38179bea4fd754289a6f2195c7abd414aba85410b3e66cc5e \
+ --hash=sha256:978eab16f55b4ab2c2a745be9a0a840bf8f09a7f227d9c76eb30214d078865a5 \
+ --hash=sha256:994e883d17c559cdfd38c84003c8b27d25424a1077272a17e7cd27bfe0bf57b2 \
+ --hash=sha256:9ac4444d8d4fd4c4bd08bf451ed3167aa9e7ec6cdb41b648794f1d1103652e36 \
+ --hash=sha256:9b5db6052055d34d41230fb78d7c439c23dc536a9896f6cb039e8dd92cfc1263 \
+ --hash=sha256:9d9a0dc7cbe9bec24c3f767c9122c41fe5a1bc43f47cd099d00d393e09769de4 \
+ --hash=sha256:9dbdd9205662134957cf0c324f639bdc5031c0ca056e2369e238db75187c0f11 \
+ --hash=sha256:9eea3ab2597a5e65fe65296e2d6a84570845a6b55532d90333d740d48bbc850a \
+ --hash=sha256:a2028475ba855475b8b4d3cfeb4994269c967aea8b9892dfba907f4263a863a3 \
+ --hash=sha256:a3a370082ce34d0612f421e15fe011c53bb1feff21a26d06ad4fb244dab5a375 \
+ --hash=sha256:a545775cfe815855ea32d7c27731d79da358ef2055b4a25830231b1622dd18aa \
+ --hash=sha256:a5cbd90ecf0fc62e64726917ad083b73001f0563657a87ec3c0b504e277dc90d \
+ --hash=sha256:a6d095662e73e74f0a49988e0593373e243e3a52e27bfeea0a859e88acf4a0f5 \
+ --hash=sha256:a6dac12ff6b846103483683f60c5f8fee205121adc58ffd87e90a90a3af69e99 \
+ --hash=sha256:a951ad59cad9145664a730d3036b40b844e74d2d3683da40111463cd3a83845d \
+ --hash=sha256:aa1099b956fb795e686d073568f6dc002a0bb89765ea6d5b055dd7d9bf1b116c \
+ --hash=sha256:aa2bb0b37202dca27175591f761108b5d34096ade1191ffe4808bdf6b1571488 \
+ --hash=sha256:aae2ee51122d3ae968a3837d97dc24a0aeebb0dea23694422cd172bd30017cd6 \
+ --hash=sha256:ab743e9bc90c1f73552ec33e10e3331315acd2c397b36065b591b0181de533cc \
+ --hash=sha256:ac00177c4831ffa650f8609e4bdddd5fe09c03b1c0c47acece7e6ea20421598b \
+ --hash=sha256:ac13b004224fb341e1e25a1ed5e19d32f57cdb2a403e01f003b46f051a550f6f \
+ --hash=sha256:acaf604462bf330b0d07e7a07c1d6e4adac79e5fb13e9c5140590542cafacc00 \
+ --hash=sha256:ae31a1a1db2ee6cc2942fccaf695c934bc7f3db9f2133a3fef1f367cf1a4ab10 \
+ --hash=sha256:ae4a097991662cd4fff0ddc74e0fe7874f82e00042fa0ea00855645ed0c79598 \
+ --hash=sha256:aea996a6aba25260827c9ea511d1addfde2da9eb686ac961838509086188b7e6 \
+ --hash=sha256:b39b69b347e5e47a3b5b8cfc005c68c1ba347474e3960236c4944a8ecd174962 \
+ --hash=sha256:b54e7e13267d49ffbfe68e25b3cbd774dab38fa37238f71265e91b36146eb21c \
+ --hash=sha256:b9af956078716df40d985fb0dfeb2c2120c5ca92ba4ff4b388acfd01cdc14d08 \
+ --hash=sha256:ba2f37ee79e6338845261a3c5b1784e5d1acdff2c0785b284f1b633033d136ab \
+ --hash=sha256:ba501e667c17d8411f98e67a022d9604ef179aff0e459b7e292c796837c13573 \
+ --hash=sha256:baf3775a2635e5a11fbd5e4e64ee69c7e86875d224a5c72aca4c141064589a90 \
+ --hash=sha256:bb57753e36e4855b8ca375069482250a6246372331a3e4f3407eaebb007443f5 \
+ --hash=sha256:bd6c173f04743d483881bffa1478d5a4624475b8cd1d2194956a75548e191c18 \
+ --hash=sha256:be47f99644b208bff7766314013f9acf57b056b04191d570d68ad14022cf5b1d \
+ --hash=sha256:c010f5581d9c612804cc59fcf7b524b707fbcb72828551237ab545bb5c7034af \
+ --hash=sha256:c1dcc36dcb96abc02236e182d17e0f71430152a6c2c7447421da2d2dc144edea \
+ --hash=sha256:c428c6c31eb5f4277d7f8eccaf767fbd548ddd5ce3c8b4f4cbbfab3d96b5904c \
+ --hash=sha256:c658c50ac0c98cd755a2dd50b7977d3bca7df401dcc47fbdfa87db53ef7d4e8b \
+ --hash=sha256:c71fb0d56c920c269cd3e2e3fe7c610e3f1fdb21a6ce60efa6430ff63676cea6 \
+ --hash=sha256:c7b742bf31c88566b4bb6335a7f393bb322e580b6bb98df7bd0c25e6e3519ce8 \
+ --hash=sha256:cc0329df4caaceb950d2f580b5ac716a377f7059624a0bafaeaf8a218c6ed774 \
+ --hash=sha256:cc5d36d96478aa9c60654bd932525bf32964c62a7281eafdf16d85003a8d6004 \
+ --hash=sha256:ce854f5f478050ade5a238731c4ca985a7d3b3cb53ff600a9b5c3b689b5f0a7a \
+ --hash=sha256:ced3fdd71aaa83ce593746c2edb42b7a59cb4c19c8b5c407781c72e493aae55a \
+ --hash=sha256:cee5dd7c6fb5dd52a0fe2a740f9bc6e3593f5f8b1788bde49de02086f30182b2 \
+ --hash=sha256:cfa1c0cc3a8f9f53f1243a5a99ac36fd003880199383b37672e86ddda9cb07e2 \
+ --hash=sha256:d1ee1e296209fdce05b81b663250eefa02213a2da7b41bf26f7829b8ba3545aa \
+ --hash=sha256:d59b75732e9b6f27388e10c14b0259cc5f2e48c78627d185e6a177b58ad3cffe \
+ --hash=sha256:d63600d620ad0064c3a748b950ac5ea38a80190e5498532efefa4b7b3f1da1f3 \
+ --hash=sha256:dd732602a7009217f658d5863d12d79d373a4de0eebc111094bcdd3bb8e0a6cc \
+ --hash=sha256:e06efa066f7dbadbc84ebc126a97c452a6451dfcf589d89d788484949e1cf795 \
+ --hash=sha256:e199fb99720074809a7720f1c0b4d919eea8b87e88713e0f8f602f7bef543d9d \
+ --hash=sha256:e4b018dc5a0eee4676e38fe84a47a427816c590b93b55d9025274ec4d6ffc2dc \
+ --hash=sha256:e6621fb2a4988d6e53eedc455e5903e2679f3967b8acb3d639f1b63c14a2e893 \
+ --hash=sha256:e71c909f353863b2b89c83de2ebed71ea6d0df8a6ef65a128193c5e650766bef \
+ --hash=sha256:e90251c0c7bdd54a100a0dce3c07b7e637278c93af29dbf78ebb89a58c4bac7d \
+ --hash=sha256:e9fbdce1e47394b09bc9f26ab117dfc8d6491977a11d86f592bb42c779db2fda \
+ --hash=sha256:eb12fb2ba69ffa05f8695f61c69e591dc4b4a12ac3757ac8af8adb259bf56d17 \
+ --hash=sha256:eda059b6bc8bc0812d626fd91a7ce01bf583df0a61296eff390fd94141a34e30 \
+ --hash=sha256:f03ac127268b43ef4fe9e6ab6794a6794b49485a0cc0c1db79876d2f33f75bc7 \
+ --hash=sha256:f298e218441525d3794428b4c8b8fb8662c6d3ea79925d4807ee6b9a96a3bca5 \
+ --hash=sha256:f5542f9b941279d82d41eb0aa9f98eba36fe4df5c7086c651df7944935b37182 \
+ --hash=sha256:f6f7deae3feb4edfa2efaf7c574fe88cbf055038a6abdb40188e4fff66d5699f \
+ --hash=sha256:f9b1e28d0e8dbfa858abdba91d6b547beaf2df1a59bec6da6faae7b96a4991a9 \
+ --hash=sha256:f9f8405c2c758532c74fed975dbee57be1f31a6e865c031870c79a6ed3212ada \
+ --hash=sha256:fa48b1b63d639f9483e0633e092f5851e2348c352f1f9bb6c8182f87884ef876 \
+ --hash=sha256:fb78f6e7fcd8ad785d28cd577168bc1aaee827b25bb8755638f694794ea98f0a \
+ --hash=sha256:fbc597639158fd7c14d55e808718848319540f51b0e6746e3eefa59723a4a348 \
+ --hash=sha256:fce8cbd4997efeb450bd298b54f755dcdff18d496f7a5ddbb4867c6d7c88fdc3 \
+ --hash=sha256:fd0350afdc3aabd5576f60ea109228bd5538139713c7b094c5cd27c73a98bc6f \
+ --hash=sha256:fd0a274c0e5f9a21565cd9d3dd749b61f96b7aa1e20a93aa1ba4029518f2e5c0 \
+ --hash=sha256:fdb8a068947befafba9952162645dc2fecaeb400e64584829ed5e9b2fbe21a7f
# via
+ # -c requirements-full.lock
# markitdown
# pdfminer-six
# requests
-click==8.4.1 \
- --hash=sha256:482be17c6991b8c19c5429a1e995d9b0efdbb63172824c41f99965dc0ade8ec2 \
- --hash=sha256:918b5633eddf6b41c32d4f454bf0de810065c74e3f7dbf8ee5452f8be88d3e96
- # via magika
+click==8.4.2 \
+ --hash=sha256:9a6cea6e60b17ebe0a44c5cc636d94f09bd66142c1cd7d8b4cd731c4917a15f6 \
+ --hash=sha256:e6f9f66136c816745b9d65817da91d61d957fb16e02e4dcd0552553c5a197b76
+ # via
+ # -c requirements-full.lock
+ # magika
cobble==0.1.4 \
--hash=sha256:36c91b1655e599fd428e2b95fdd5f0da1ca2e9f1abb0bc871dec21a0e78a2b44 \
--hash=sha256:de38be1539992c8a06e569630717c485a5f91be2192c461ea2b220607dfa78aa
- # via mammoth
-colorama==0.4.6 \
+ # via
+ # -c requirements-full.lock
+ # mammoth
+colorama==0.4.6 ; sys_platform == 'win32' \
--hash=sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44 \
--hash=sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6
# via
+ # -c requirements-full.lock
# click
# tqdm
-coloredlogs==15.0.1 \
- --hash=sha256:612ee75c546f53e92e70049c9dbfcc18c935a2b9a53b66085ce9ef6a6e5c0934 \
- --hash=sha256:7c991aa71a4577af2f82600d8f8f3a89f936baeaf9b50a9c197da014e5bf16b0
- # via onnxruntime
-cryptography==49.0.0 \
- --hash=sha256:026ac7423e6fa66872d3bf889be5974507da3944f866f704fa200eadacd00001 \
- --hash=sha256:07cab27cc7b7e0fd28e5e26bb9eeedde5c135c868b46de4a27845abe94af6122 \
- --hash=sha256:084ef1af862eb07ec46d25f68689f2102a9fc0e05ce7b80f14f5fe51e4eef0f6 \
- --hash=sha256:0b82e28ee398a386f0807bba7884d30f25218855690f45115831bcce5d90822c \
- --hash=sha256:0e959b578856a3924bc0cbb710fc12c387b9412a951389f3ca61704a9e25f325 \
- --hash=sha256:0f21641cf4b30fca7aee061ced0ec7ad7b073518088b7c9969a297c0ae796c69 \
- --hash=sha256:196ecd6a36e4e9aa10270393bb98d8df88fccee0bf1e5128b91ae4eb4375896d \
- --hash=sha256:2400ef9c9e2299a25614eb1dea3db54a69b1349efd043bfac9c67630d136df36 \
- --hash=sha256:28d8b15e6275f12c8a207dc309dfa957903c927d08d0cc937ee3f63f200693cc \
- --hash=sha256:2afe9051da7ae7bd5905da5a949280c7d2bb75682e188f650a9d0f2756b834c6 \
- --hash=sha256:2eda353d8a27bcbcaa4cbed18994a74ab4d19a2ca897db188ea269ab9b71419b \
- --hash=sha256:32703d93296f5c1f4b53349ad3a250c2cae0fdecd3a3dd5d47e616d8d616af27 \
- --hash=sha256:33cd0565932807baddb67b96dbee92f2c374b5c89dee09fd74079aeb8c8dba61 \
- --hash=sha256:35b151772baff2c74cba7fa290ceaff4c3b11c0c881eb93eb5dbc05a7cfbba18 \
- --hash=sha256:36d1709f992593689b45bda411498d62c6e365f2ca00b84657d4dadd24de16db \
- --hash=sha256:42b0684e0e40cf26122427802486f6d93aea593612603a94fbf260c7eb1e9c1b \
- --hash=sha256:4ae387c9cb68ea569ca17e490d66d8142b81c3cc814bf179974b7d146e490bbb \
- --hash=sha256:53ecee2e23f7169b6117e99fc8a944e5e50f79e69758a83b52a00cb98ab2b2d2 \
- --hash=sha256:66ec79c3904820572d7e987abdf304281f141d37ad9a489b8e97066e7b9b6459 \
- --hash=sha256:67e1d20ad9ef3a563c59ef22e7a8a0b8210bd26604369ea4a30a7c66aefe504e \
- --hash=sha256:6f2debedf9ca60cf1d5bd466475638af5130f89965605cd818484d19987d3a21 \
- --hash=sha256:6fc361c34fb6aac015ce19435876635e5c6d21db31998b0920f675f131e043b8 \
- --hash=sha256:73a205dce83953d131a4aa1e0fd917a2fd1c5b1eef251e9d7152efefcbf5caf7 \
- --hash=sha256:7abcee80084cda3f7691f3eb1ce480d8df49cec637b429aa35986c1de71738aa \
- --hash=sha256:8c25ceb16df5b9435f3f6a9829204985b0e0cbee3b48aacd432c7d2c850b44d9 \
- --hash=sha256:966fe0e9c67490071f14c0d2b1cb2dfb3023c5ce39457343931415f08382f2db \
- --hash=sha256:9e82dcc8e56052715fb18b2429e3bca4823b1629136a2084fc45a9a5cecb9b64 \
- --hash=sha256:b20133d204d2bb56ba047642199603876c872026ca53e79c35b83772ab2cc505 \
- --hash=sha256:b39efa323140595abd3ecca8529d321ae50f55f3aa3ba9cc81ea56a6011953d5 \
- --hash=sha256:b47db11c2c3525083296069b98ac5221907455e989ae0c2e3008bde851921615 \
- --hash=sha256:b87e65d263b3e5d3bb92a57e2a6638e2f31110fa7aa890c7b2dbba42248d0a3f \
- --hash=sha256:b970c6da94d5bb18629db453d14f2a1300f6bf59b61e9b82377931ef95504866 \
- --hash=sha256:be9fcb48a55f023493482827d4f459bd263cc20efde64f204b97c123201850c6 \
- --hash=sha256:c2bc30226390d60ea19d9f82b19db005fe0452154a23c1c410c12ea801e43561 \
- --hash=sha256:c83782480a4a9da4d0feb51950131ba32e12e70813848b3343f6e18c28a66838 \
- --hash=sha256:cbc77da8c523d5abd028635ba850a6966fcee2c82e2bf65a41d1d8afe0f98be9 \
- --hash=sha256:ccac2bfebc306b862133e3bb71f3f6ee8bb525240089b2d952e4144b3a6d5da7 \
- --hash=sha256:d0527ce944105f257f605a827d6ebead966c752038b6e8656abb9c5edee6fc68 \
- --hash=sha256:d8ecde755e2e91bf773fc94e8c9d730cd7f2007004cb492263a794ec3899a1c8 \
- --hash=sha256:e3fb64c420688e5319ae25113a354015abbd8dffbfbc41781a1ea66fc7622ac3 \
- --hash=sha256:e5dfc1e64de5677cec922ffa8da89c546d0415bf6efdf081842e5d44c84e1f0e \
- --hash=sha256:ec5e529fb80935c94fe7b729f9972b50e351a0e6b50aa294fd5cabb109fcc29a \
- --hash=sha256:f37d847238971164fdbc68ade6f6574aecc9c0af714190e2083429ff68f4ce9d \
- --hash=sha256:f78ff2c9ed8dc2d036b0f4d640e22522213d047c1b14e61205a7e55c80a494d4 \
- --hash=sha256:f89660a348f4f78a92366240a61404e337586ef7f5909a2fef59ca88ef505493 \
- --hash=sha256:fc1e275c2f1d97b1a6450b8b0ea3ebfa6e087a611c2b26cb2404d48588abab7b
- # via pdfminer-six
+cryptography==50.0.0 \
+ --hash=sha256:031e2d5dd4bb9caa3ca9c82e5a197fd8ae680232cee62603d1a813f3f07e3d03 \
+ --hash=sha256:06a32a980526a6ab9a4b9bf8f7385800791e2bb960903cb6b530e4817509a3b7 \
+ --hash=sha256:07479a1cb08219ab719147e742e76090c9c773321959bb94946fffdd397a6437 \
+ --hash=sha256:07949c449a1abcf60d1ee6e88956d89404c7df3c8258f46589e912988e551987 \
+ --hash=sha256:105110f43a471dbd0060b9c9516cb8a6a79233631a04cc2ba16f28323ac6e025 \
+ --hash=sha256:11b74db56cdbe3cdee6e3f6982ecb70334fa10dce99ed58bf7894aaaa3b2a037 \
+ --hash=sha256:12b9c6996425c76ea6c457ace4f3073e715b8c545add07cd1a8f3a4f90691269 \
+ --hash=sha256:1489e263a8048bb8b6a8bac662eb2d402ea5d2b7b4699b72f385f1e2772db105 \
+ --hash=sha256:19736989797678c6af1e55cd49055cdbcb55d8f6b5583ac5335f933aba9101dc \
+ --hash=sha256:1b4a266766514614f8aa60416e71f2fc6e575d36e7bdc90f644fadb2f4b75b95 \
+ --hash=sha256:2a8183b489dc1f7f80f135780fadc1108f14b31b8a40411c7a5b17425f65f28b \
+ --hash=sha256:37fdb0d0111f1e2ff07139dfb79f1b49531f8e213c46f1163dd7642979b58c47 \
+ --hash=sha256:3f5735ffe4996d28b809371756219f5354864902a3b9e7c0b9ee87041209fc9c \
+ --hash=sha256:49e7d93abdbd2990caced757e5fade25302f719c3c8fb6e6fff2dde98999fc41 \
+ --hash=sha256:5e34edd123674534acd70147f0ca331eaa2c74e6325fb2028c886aa26ba0b68c \
+ --hash=sha256:62598a8a57f815db4c6259a4e97d857dab56697e7de8e8ab02352ab74da1995d \
+ --hash=sha256:65c2c3add92b45fd0709db8594536aea39c2a67af0e27ffcf049c498501140b7 \
+ --hash=sha256:6ba6a53445bd3cfa809ef3ef5f1589aa6ba08784a1d962bf47d0940e871dab1c \
+ --hash=sha256:6e7d61120573a7f2cd94cc095f9e81f6967c61ccdf194285aa143ecec8e0b708 \
+ --hash=sha256:7cec5b856506da6defb290f30c9ee687d5f5e8cb0bd3f6459dde43b0b4fa40ef \
+ --hash=sha256:80b63928fa35083b33966ce1efb70e5b9607181e49dcd1c22c8c005e319f667f \
+ --hash=sha256:82148ec5bddac30b51a5b3c1945075f896fa022cb93f8e4a01e9f6ee95292c5f \
+ --hash=sha256:828743d939e9629bc267b8e2d08d8bb67cd4319c771a33d4b18b22dd8fb7440a \
+ --hash=sha256:8d89f3976b10b4ce31118de72329025f70d2c6ead14a8217c5514dd2c6d5a78f \
+ --hash=sha256:8eb5e1172eb569ea8a872796576e6a67c276351728b6455d5beb01242b027c6a \
+ --hash=sha256:900131fafd8aead39ac7dd3a7e833be754c17a95cfd91221636949fe4eb0aa8a \
+ --hash=sha256:910d11e1a385c654bf738bf3e6b8e6ed5de0f5610fcae2be9e5b398d8081d20e \
+ --hash=sha256:910e1d2668e7de9648f2bcee30e180db2a6b15c30f887d7c4c93ddf96e3992e3 \
+ --hash=sha256:9aa87839c383bdbab6ef865787a1fb877af8dd03464c4400322726feaaadfc6d \
+ --hash=sha256:a1b30560f2acc95aa8b2e06e716a13dbfc97314747b80d9707e307f77b40d6b3 \
+ --hash=sha256:a91296cb61e8df6f86d0c19cc4068228da256bf59bf86049fbd821084565327f \
+ --hash=sha256:b42a28c1844fd9de8f3f7d540e36b66f3a9c83fceac7170ebc7a6a19edd9dcae \
+ --hash=sha256:bd1c592e4d5974f0d08d4888e432157adba757c66da0246918e43677fafa2d30 \
+ --hash=sha256:c87f62a3d3b9888ed0fdde100ec06aa61ca9cd44bad9057d1dff9a516b5f5bb9 \
+ --hash=sha256:c99c003e088647b8a5b7c145d6f78c335f6348332b62e142d411c4b63d1460b9 \
+ --hash=sha256:ccdc4a71a4dabae05de219404f9f4abc38e3b58422177ff93d0da05967dafa07 \
+ --hash=sha256:d24fead1d4d076e1bfb006dcec392074a3cd8d7b4fc8a595aa64073b2b7a96ba \
+ --hash=sha256:d58c3db7cd6eed54e6c06744db55456b65ebd7492ddeae9c1e93cfca7aa857d3 \
+ --hash=sha256:d764dcf130c428ef66786f866dd750f53182bc608813489915e9fc106bb0c82f \
+ --hash=sha256:df2a58a472f332225671c35b0a830208b86d004f82baa8530fa3782c85646533 \
+ --hash=sha256:e722f16708d854fe924790e051061f6704a472c3bac347b6fd88033ea8dd0dc5 \
+ --hash=sha256:ecfed7367f965a0328cfbdd70da860f15441f002f613185668c6e6ebf5a0ac11 \
+ --hash=sha256:eeac2acb5a20ed25e0ad6d1df9891a520b78b404266b6d11778f25d5d691a6c9 \
+ --hash=sha256:f59e38625469987d7ef6d495323c55e7db6c212eaf6112267e0d3b565a2e9c9f \
+ --hash=sha256:f89831ef99dd7dd169ab06d63a831adb9e20a87aac6d380266bbda5823349169 \
+ --hash=sha256:fd9192b7b70c573d7f214eb1ae35e00d359f6f5e4b27c7e21e30de1fc6204645
+ # via
+ # -c requirements-full.lock
+ # pdfminer-six
defusedxml==0.7.1 \
--hash=sha256:1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69 \
--hash=sha256:a352e7e428770286cc899e2542b6cdaedb2b4953ff269a210103ec58f6198a61
- # via markitdown
+ # via
+ # -c requirements-full.lock
+ # markitdown
distro==1.9.0 \
--hash=sha256:2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed \
--hash=sha256:7bffd925d65168f85027d8da9af6bddab658135b840670a223589bc0c8ef02b2
- # via openai
+ # via
+ # -c requirements-full.lock
+ # openai
et-xmlfile==2.0.0 \
--hash=sha256:7a91720bc756843502c3b7504c77b8fe44217c85c537d85037f0f536151b2caa \
--hash=sha256:dab3f4764309081ce75662649be815c4c9081e88f0837825f90fd28317d4da54
- # via openpyxl
+ # via
+ # -c requirements-full.lock
+ # openpyxl
flatbuffers==25.12.19 \
--hash=sha256:7634f50c427838bb021c2d66a3d1168e9d199b0607e6329399f04846d42e20b4
- # via onnxruntime
+ # via
+ # -c requirements-full.lock
+ # onnxruntime
h11==0.16.0 \
--hash=sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1 \
--hash=sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86
- # via httpcore
+ # via
+ # -c requirements-full.lock
+ # httpcore
httpcore==1.0.9 \
--hash=sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55 \
--hash=sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8
- # via httpx
+ # via
+ # -c requirements-full.lock
+ # httpx
httpx==0.28.1 \
--hash=sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc \
--hash=sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad
- # via openai
-humanfriendly==10.0 \
- --hash=sha256:1697e1a8a8f550fd43c2865cd84542fc175a61dcb779b6fee18cf6b6ccba1477 \
- --hash=sha256:6b0b831ce8f15f7300721aa49829fc4e83921a9a301cc7f606be6686a2288ddc
- # via coloredlogs
-idna==3.18 \
- --hash=sha256:7f952cbe720b688055e3f87de14f5c3e5fdaa8bc3928985c4077ca689de849a2 \
- --hash=sha256:ffb385a7e039654cef1ab9ef32c6fafe283c0c0467bba1d9029738ce4a14a848
# via
+ # -c requirements-full.lock
+ # -r requirements.txt
+ # openai
+idna==3.19 \
+ --hash=sha256:5e0811a4383b21dc5838069f801c4fb62113b7447663d2530d2bd6e77b49bf15 \
+ --hash=sha256:815e7be7a7806d54abb586dc943addc79e8b2ee16915059658cbeff4b1b43bf4
+ # via
+ # -c requirements-full.lock
# anyio
# httpx
# requests
-jiter==0.15.0 \
- --hash=sha256:01a8222cf05ab1128e239421156c207949808acaaea2bdfd33130ae666786e86 \
- --hash=sha256:032396229564bca02440396bd327710719f724f5e7b7e9f7a8eb3faa4a2c2281 \
- --hash=sha256:04b400bbf8c9efb03d9bdd976475c919c1d85593b04b9fff7ae234065daf87ae \
- --hash=sha256:05906b93d72f03339e6bb7cf8dc10ebda64a0266126eed6beba79e20abcf5fd4 \
- --hash=sha256:066f8f33f18b2419cd8213b2436fa7fbc9c499f315971cfa3ce1f9820c001b1b \
- --hash=sha256:0ab068bce62a45aa3e7367eceaffb5dde60b7eb853be8dece45132e3d0ff4879 \
- --hash=sha256:0be6f5ad41a809f303f416d17cec92a7a725902fb9b4f3de3d19362ac0ef8554 \
- --hash=sha256:0e90a1c315a0226ec822d973817967f9223b7701546c8c2a7913e7ab0926294d \
- --hash=sha256:0f862193b8696249d22ec433e85fd2ab0ad9596bc3e45e6c0bc55e8aeba97be2 \
- --hash=sha256:1303d4d68a9b051ea90502402063ecf3807da00ad2affa19ca1ae3b90b3c5f67 \
- --hash=sha256:144f8e72cb53dab146347b91cceac01f5481237f2b93b4a339a1ee8f8878b67c \
- --hash=sha256:182226cbc930c9fab81bc2e41a4da672f89539906dadb05e75670ac07b94f71f \
- --hash=sha256:1c11465f97e2abf45a014b83b730222f8f1c5335e802c7055a67d50de6f1f4e3 \
- --hash=sha256:1c15024a3d892223b18f597c86d59387249dc396590844ce6b9f6131d1093bae \
- --hash=sha256:1d54fb5b31dea401a41af3f8a7d2512e9b6a6a005491e6166c7e4ffab9639a9c \
- --hash=sha256:25ffbe229aa8cd98c28879d8aa1a6e34ae77992ab984a65fba800859dab16269 \
- --hash=sha256:2a77aadd57cac1682e4401a72724d2796d89a4ba129b1a5812aa94ee480826eb \
- --hash=sha256:2ae901f3a55bfafdde31d289590fa25e3245735a2b1e8c7cc15871710a002871 \
- --hash=sha256:2b0074e2f56eb2dacca1689760fd2852a068f85a0547a157b82cb4cafeb6768b \
- --hash=sha256:2c8aea7781d2a372227871de4e1a1332aa96f5a89fd76c5e835dafdbad102887 \
- --hash=sha256:2c9cb907439d20bd0c7d7565ca01ee52234203208433749bae5b516907526928 \
- --hash=sha256:2fb6a5d26af81fc0f00f9360a891e05cf755e149bba391c4d563adc54812973d \
- --hash=sha256:2fd73e3da91a0a722d67165e849ce2cdc10de0e0d48738c142be8c6c5f310f4c \
- --hash=sha256:30ce1a5d16b5641dc935d50ef775af6a0871e3d14ab05d6fc54dff371b78e558 \
- --hash=sha256:30ce785d2adb8e32c3f7741442370a74834ec4c01f3c48f0750227a0b4ef27d6 \
- --hash=sha256:30f2218e6a9e5c18bc10fe6d41ac189c442c88eacf11bad9f28ef95a9bef00e6 \
- --hash=sha256:351a341c2105aa430b7047e30f1bf7975f6313b00165d3fc07be2edaf741f279 \
- --hash=sha256:37a10c377ce3a4a85f4a67f28b7afe093154cde77eaf248a72e856aa08b4d865 \
- --hash=sha256:392b8ab019e5502d08aff85c6272209c24bc2cbe706ea82a56368f524236614a \
- --hash=sha256:3e4540b8e74e4268811ac05db226a6a128ff572e7e0ce3f1163b693cadb184cd \
- --hash=sha256:40b2c7e92c44a84d748d21706c68dc6ff8161d80b59c99d774721a0d2317d7c7 \
- --hash=sha256:411fa4dfa5a7ae3d11491027ffb9beadec3996010a986862db70d91abba1c750 \
- --hash=sha256:4251acc80e2b7c9b7b8823456ea0fceeb0734dac2df7636d3c711b38476b5a76 \
- --hash=sha256:42bfb257930800cf43e7c62c832402c704ab60797c992faf88d20e903eac8f32 \
- --hash=sha256:4363818355dbc70ae1a8e9eaba9de350d93ede4ff6992b8f8eb8cbb6e5122d42 \
- --hash=sha256:4ab395feec8d249ec4044e228e98a7033f043426a265df439dc3698823f0a4e4 \
- --hash=sha256:50164d7610c00e7cd913a873fce30b6beeebf4b37e53983e33f22de4c900f6b8 \
- --hash=sha256:50e51156192722a9c58db112837d3f8ef96fb3c5ecc14e95f409134b08b158ec \
- --hash=sha256:510c8b3c17a0ed9ac69850c0438dada3c9b82d9c4d589fcb62002a5a9cf3a866 \
- --hash=sha256:5157de9f76eb4bc5ea74a1219366a25f945ad305641d74e04f59c54087091aa9 \
- --hash=sha256:54d5d6090cdc1b7c9e780dfb04949a990adb1e301a2fc0bbcee7de4638d33f9a \
- --hash=sha256:553fcac2ef2cb990877f9fc0833b8b629a3e6a5670b6b5fd58219b41a653ddc4 \
- --hash=sha256:5607e6013ed7e6b0ec9661e467b7ffde0aa7ab36833a04850f26fcf88ed4845b \
- --hash=sha256:5d6a60072b44c3c2b797a7ddcbcbbf2b34ea3cfd4721580fbfd2a09d9d9b84ba \
- --hash=sha256:5f30bae8bc1c2d613e28e5af3e8cceb09b742f1c8a8a5f839fb67afaffc03b61 \
- --hash=sha256:62ebd14e47e9aed9df4472afcb2663668ce4d74891cd54f86bf6e44029d6dc89 \
- --hash=sha256:631f13a3d04e97d4e083993b10f4b99530e3a10d953e2eb5e196b7dc7f812ce0 \
- --hash=sha256:6550fa135c7deb8ead6af49ed7ff648532ea8334a1447fe34a36315ef79c5c29 \
- --hash=sha256:66b1880df2d01e206e8339769d1c7c1753bcb653efd6289e203f6f24ebada0c0 \
- --hash=sha256:6eac374c5c975709b69c10f09afd199df74150172156ad10c8d4fd785b7da995 \
- --hash=sha256:71683c38c825452999b5717fcae07ea708e8c93003e808be4319c1b02e3d176e \
- --hash=sha256:7553333dd0930c104a5a0db8df72bf7219fe663d731383b576bb6ed6351c984d \
- --hash=sha256:75e8a04e91432dde9f1838373cf93d23726c79d3e908d319acf0e796f85592e7 \
- --hash=sha256:773b6eb282ce11ee19f05f6b2d4404fa308e5bbd353b0b80a0262caad6db2cd7 \
- --hash=sha256:774f93f65031856bf14ad9f59bdcab8b8cad501e5ceabd51ba3525f76937a25b \
- --hash=sha256:7c468136b8bd6bb18c8786e4236a1fa27362f24cb23450ba0cb204ab379b8e6f \
- --hash=sha256:7ce8902f939970048b233087082e7bb829db29375811c7ad50687b8624c6fd08 \
- --hash=sha256:7d3d6683288c11cbab50e865f2e2f13950179aa45410e30b2cfbd3fb7b0177bf \
- --hash=sha256:7f6163c0f10b055245f814dcc59f4818da60dfe72f3e72ab89fc24b6bd5e9c52 \
- --hash=sha256:8020c99ec13a7db2b6f96cbe82ef4721c88b426a4892f27478044af0284615ef \
- --hash=sha256:813dfbb17d65328bf86e5f0905dd277ba2265d3ca20556e86c0c7035b7182e5a \
- --hash=sha256:860a74063284a2ae9bfedd694f299cc2c68e2696c5f3d440cc9d18bb81b9dd04 \
- --hash=sha256:8c9004af7c8d67cce7f1aae1026fb55607f4aa600710d08ede3a3ce4aeefe7e0 \
- --hash=sha256:8d2c0c44d569ce0f2850f5c926f8caeb5f245fbc84475aeb36efccc2103e6dbd \
- --hash=sha256:8f7e9bc0f1135039b22ee6eab588d42df1ce55842b30740a352885eb267bd941 \
- --hash=sha256:90c5db5527c221249a876160663ab891ace358c17f7b9c93ec1478b7f0550e5c \
- --hash=sha256:9100ddbec09741cc66feb0fc6773f8bdbd0e3c345689368f260082ff85dcc0cd \
- --hash=sha256:913d02d29c9606643418d9ccfc3b72492ab25a6bf7889934e09a3490f8d3438b \
- --hash=sha256:980c256edb05b78a111b99c4de3b1d32e31634b867fd1fc2cf726e7b7bba9854 \
- --hash=sha256:9f924585cdacf631cd382b657966847bb537bf9ed0a6f9b991da5f05a631480f \
- --hash=sha256:a254e10b593624d230c365b6d616b22ca0ad65e63a16e6631c2b3466022e6ba8 \
- --hash=sha256:a2a438005b6f22d0273413484d6094d7c2c5d10ec1b3a3bf128e0d1d3ba53258 \
- --hash=sha256:a97261f1fccb8e50ecd2890a96e46efdc3f57c80a197324c6777827231eca712 \
- --hash=sha256:ab596fa3837e91e7e6a31b5f639988bfc6a35d1f915ac3932d946062219d588f \
- --hash=sha256:abbf258599526ad0326fe51e252e24f2bd6f24f1852681b4b78feda3808f1d18 \
- --hash=sha256:ac0d9ddea4350974be7a221fc25895f251a8fee748c889bdced2141c0fec1a49 \
- --hash=sha256:acf4ee4d1fc55917239fe72972fb292dd773055d05eb040d36f4326e02cc2c0e \
- --hash=sha256:ae1b0d82ac2d987f9ea512b1c9adfcc71a28de3dea3a6039b54d76cffda9901e \
- --hash=sha256:b15741f501469009ae0ae90b7147958a664a7dede40aa7ff174a8a4645f546d0 \
- --hash=sha256:b15d3ec9b0449c40e85319bdb4caa8b77ab526e74f5532ed94bec15e2f66822c \
- --hash=sha256:b3b3b775e33d3bfaec9899edc526ae97b0da0bf9d071a46124ba419149a414f8 \
- --hash=sha256:b6c0ffae686c39bf3737be60793783267628783ea42545632c10b291105aee45 \
- --hash=sha256:c210f8b35dc6f30aafd4b4365ca89b9d1189f21ab49b8e68fa6322a847aef138 \
- --hash=sha256:c2f6bb8b5216ab9e7873bc08b5d7bef2b8abbb578a3069bf1cd14a45d71d771d \
- --hash=sha256:c60e71b6d10cfc284c9bf36bd885e8d44c46f688ce50aa91b5edd90181dea687 \
- --hash=sha256:c6694a173ecabc12eb60efbc0b474464ead1951ff65cd8b1e72100715c64512b \
- --hash=sha256:c77496cb10bd7549690fbbab3e5ec05857b83e49276f4a9423a766ddd2afcd4c \
- --hash=sha256:c84c1b7be454b0c16f8499b4ebfbfd82ea5cca6527cceefcbbc06a7557b5ed2e \
- --hash=sha256:cc0bc345cf2df9d1c00ac443f50d543c1ccfa8b0422cb85b1ab70d681c0b255b \
- --hash=sha256:ceb8fc27d38793f9c97149be8302720c5b22e5c195a37bf2c45dc36c4600a512 \
- --hash=sha256:cf4bd113a69c0a740e27cb962ce10630c36d2b8f59d759a651b955ee9d18a823 \
- --hash=sha256:d1aa62e277fc1cbd80e6deacae6f4d983b41b3d7728e0645c5d741a6149bba45 \
- --hash=sha256:d1e7b1776f0797956c509e123d0952d10d293a9492dea9f288ab9570ec01d1a5 \
- --hash=sha256:d636d5095155afd364247f65070fab7beda13498d7ff4de331046e704ab9657f \
- --hash=sha256:d726e3ceeb337191324b49de298142f27c3ad10886341555d1d5315b5f252c6a \
- --hash=sha256:d72d8af5c1013656a8870c866660627d1a75bc185814ee022c8533caa1de88ae \
- --hash=sha256:d8d2955167274e15d79a7a020afdd9b39c990eb80b2d89fca695d92dcfdd38ec \
- --hash=sha256:d92a5cd21fdb083931d546c207aa29633787c5dc5b02daab2d32b843f88a2c53 \
- --hash=sha256:e58585a58209d72691ce2d62a9147445f5a87beb0bde97fde284c96ae392a3d1 \
- --hash=sha256:e7196e56f1cd69af1dbb07dff02dcfb260a50b45a82d409d92a06fedb32473b5 \
- --hash=sha256:eda3071db3346334beae1360b46da4606da57bf3528c167b3c38533afaf9f2c5 \
- --hash=sha256:edebcf7d1f601199084bb6e844d7dc67e03e04f6ac786b0332d616635c4ff7a4 \
- --hash=sha256:ef1fd24d9413f6209e00d3d5a453e67acfe004a25cc6c8e8484faed4311ab9e8 \
- --hash=sha256:f0b271b462769543716f92d3a4f90527df6ef5ed05ee95ec4137f513e21e1b77 \
- --hash=sha256:f18f85e4218d1b40f000f42a92239a7a61a902cd42c65e6c360dbd17dcb20894 \
- --hash=sha256:f1e1754960f38ec40613a07e5e372df67acb3b890fb383b6fb3de3e49ddbf3c7 \
- --hash=sha256:f2143ab06181d2b029eedcb6af3cebe95f11bbac62441781860f98ee9330a6a6 \
- --hash=sha256:f3d37768fce7f88dd2a8c6091f2325dea27d30d30d5c6e7a1c0f0af77723b708 \
- --hash=sha256:fa248c9eb220197d363f688818dac2fd4b2f0cd7d843ca7105d652034823427d
- # via openai
-lxml==6.1.1 \
- --hash=sha256:05a82eb6e1530a64f26225b55cbd178113bd0b5af1c2b625f25e5296742c26d2 \
- --hash=sha256:07a4a68e286ee7a1ed7dfb8af83e615757c0ccfe9f18c6b4ea6771388d9ba8c9 \
- --hash=sha256:09dd5b7075dc2f7709654a46543ba1ea3c2e217b2ed8fbd413a8a945a0f40f60 \
- --hash=sha256:0b7e8a14c8634bf6f7a568634cb395305a6d964aeb5b7ee32248094bed3a7e2c \
- --hash=sha256:104c09bda8d2a562824c0e319d0768ce26a779b7601e0931d33b09b53c392ef7 \
- --hash=sha256:126c93f7f56f0eda92f6d8c619edc463a4f23d9252f1c9d0405a76f25fa9f11a \
- --hash=sha256:162af1091cd785f2f27e62d3547ae9bc58ec5c86dd314d67021fd02463708d83 \
- --hash=sha256:17e0e18d4ad8adbd0399291bc44845b69d9dd68439a3cdebdf35ff902ec05072 \
- --hash=sha256:18b73c339ae29b90fd2d06e58ebd555a751bde9cd6bbd36cc0281b9a2c94e9d8 \
- --hash=sha256:19607c6bbff2a44cf3fe8250abccd20942d3462473e0a721d01d379ed017e462 \
- --hash=sha256:19b7ab10b210b0b3ad7985d9ac4eb66ab09a90b20fe6e2f7ba55d01a234345d0 \
- --hash=sha256:1d4962d4c66bf830a7e59ed6cfc17d148149898a3aefa8ec6e59763e6e3ed085 \
- --hash=sha256:1db753c9115ec7100d073b744d17e25e88a8f90f5c39b2f5dd878149af59671f \
- --hash=sha256:1dde6131244bba38a17c745836ba190bc753fd73c9291666287fd0a3fa3dcf30 \
- --hash=sha256:25c6997a9a534e016695a0ba06b2f07945de682731ff01065b6d5a4474179da1 \
- --hash=sha256:26e6eda8d38c1fcab1090dd196ee87cbd13788e531937610e2589085de074e77 \
- --hash=sha256:27acc820660aaffa4f7c087f29120e12980f7779d56d8492d263170111284740 \
- --hash=sha256:2a0217714657e023ef4293500f65aa20fce6164c8fd6b08fa5bd4a859fb14b9b \
- --hash=sha256:2c8daa471358dc2d6fcf02165e80ec68f77871a286df95bc5cc3816153b0fd2c \
- --hash=sha256:30a89d3ac8faec007453fb541f3f46807eeec88edd5826f6e3fe001752a2c621 \
- --hash=sha256:31033dc34636ea6b7d5cc11b1ddbda78a14de858ba9d3e1ed4b69a3085bc521e \
- --hash=sha256:32ab449a5486f6c758e849bb86710d0e45edc24a04e250c01555f8f5653958f8 \
- --hash=sha256:3483644525531e1d5762b0c44a8e18b6efba321b6dcf8a8952de10b037618bca \
- --hash=sha256:34c2d737beabfe35baada43941ed519251e9a12e779031496bcd5d539fcfd730 \
- --hash=sha256:3779def59032b81e44a5f70096ef6bf2082f8d901937dca354474ba09782e245 \
- --hash=sha256:37a58976370f36d9329d118ad0b953c5aeb9119ac9c6a4e258942a225d0573a1 \
- --hash=sha256:3893c14c4b6ac5b2d54ba8cf03e99fe5104e592de491f19bd6b82756c09f8004 \
- --hash=sha256:3a12689be69a28ddaa0ab99a5a1137da2afd5f8f16df7b5680b66f616d3eda1d \
- --hash=sha256:3ab541146f1f6968c462d6c2ac495148e8cdba2f8347700b2141b6ec5a75bf52 \
- --hash=sha256:3abf332af33a74288675d936fe861fd4344da0dd6622193fbc4f2bfbb35536b5 \
- --hash=sha256:3fd9728a2735fda14f4e8235830c86b539e9661e849665bf926d3f867943b4bf \
- --hash=sha256:424aa57aca0897eb922aef34395bd1289b3b6f04e6bae20ea123c0c7e333cffc \
- --hash=sha256:441dd227fa0690eb9fc81edabc63cdcefc212bba99b906dcf6e32cc1a9d3e533 \
- --hash=sha256:469e3618338bd7ab5beb412d2439825479fcf0dab99e394ca563dbc4eaf6c834 \
- --hash=sha256:47402e62c52ff5988c1e8c6c63177f5708bccf48e366dea4e3dcf1e645e04947 \
- --hash=sha256:4f0dd2f01f9f8a89f565d000e03abcf0a13d692a346c8d22f628d49af098777a \
- --hash=sha256:53b7d2b7a10b1c35c0a5e21e9224accf60c1bbfba523990732e521b2b73adef2 \
- --hash=sha256:53c909b62a0532183542fed00c5a7218258c56292d409bc789886fe1cb04c438 \
- --hash=sha256:54a7f95e4de5fb94e2f9f4b9055c6ba33bf3d628fd77a1d647c5923caa2cdcdc \
- --hash=sha256:556e94a63c9b04716f8e4de2abb65775061f846e89331b6c5be79183a24f98ea \
- --hash=sha256:55b03549819867ea141c0202242c4816c82e52ec36e7e648db9d8da5a3dc3ed6 \
- --hash=sha256:581d4c8ae690a6609e64862dd6b7c2489635c2d13907fc2b20f2bc200ff1d21e \
- --hash=sha256:58bb955caba94e467d2a96da17660d2d704e0675894cba21ab8a775b8621fd1c \
- --hash=sha256:5b7328b46d49fc9477d91ae8f6d55340347d827b7734ba3ea33faae0efef1383 \
- --hash=sha256:5ba186ad207446c65d3bb3d3e0412b032b1d9f595e59861e2354798c5703d955 \
- --hash=sha256:5bec7d03d78d853597d6107854c2310ce3f761fd218fe9fe91d5101fcf6c2efe \
- --hash=sha256:5c6bf403fbb3b3e348a561a5f4f0b9961835657981c802a1df03653eef8a9074 \
- --hash=sha256:5f6994074ebae6ffb04447268e37dc16edc304f9859cf91acb86e0af6c1b395c \
- --hash=sha256:62aeb7e85b5d60320b9d77eef2e773994e2c0ce10121b277e0a19804e1654a5a \
- --hash=sha256:63876be28efefa04a1df615b46770e82042cce445cfdce55160522f57b231ccb \
- --hash=sha256:639f6c857d91d9be29bd7502348d6736dab168b54b5158cd899abf11684dc186 \
- --hash=sha256:640f97d43d867bcb9c75b3af013b64850756b746cb6bce8ace83b70da3abba9d \
- --hash=sha256:649dda677cf3bd6ac9ae14007ba0c824ded8ce5808b53fc7431d9140399118c1 \
- --hash=sha256:6540377fbd53fe1b629172288c464fb18db11ce1fa7dc15891da10aa9dcc3e7f \
- --hash=sha256:6689e828a94eee4f139408c337bb198e014724bb8a8c26d3cfac49d119ed69a6 \
- --hash=sha256:68a9198d0fc122d14bb76837de9aa80cf84caed990b5b237f532ed87d3706736 \
- --hash=sha256:6b1761fbf9ec984e2e9d9c589ef5f5fd684b7c19f92aadd567a26c5224958db6 \
- --hash=sha256:70cdfd80589d59e43e18005dd7244e8895e93db8ab6a620b7e23df5445a4e3d2 \
- --hash=sha256:70ef8a7e102a1508f8121aae5b0867abd663f72c14f0a9c937e6554cb4587b7b \
- --hash=sha256:73bc2086f141224ebddb7fc5c6a36ca58b31b94b561e1dfe8e073e3270fad1e7 \
- --hash=sha256:74a9717fd0d82effef5c2854f0d917231d5324b5a3eb7275c43ac9fa32f97a14 \
- --hash=sha256:752d3bbfe874715ccd0aec7f88d7fc623c0f1fd7aa7b3238a084e017bad2a009 \
- --hash=sha256:762ff394d5bd56da0cf034a23dcce4e13923f15321a2adfa2ac00201dc6d3fca \
- --hash=sha256:76447f65250ed2501ead1a1552f5ce8edff159a86f308348e6a9c4acb5e1f1b4 \
- --hash=sha256:766b010012d59470072c1816b5b6c69f1d243e5db36ea5968e94accf430a4635 \
- --hash=sha256:787b2496d0dbe8cd180984e8d29e3a6f76e7ea34db781cb3bd55e4ba1ef8b4ee \
- --hash=sha256:793033d6c5cdf33a573f910d9bea14ef8f5771820411d118da8e1182edb53d5e \
- --hash=sha256:7d47866cb32fb503450b6edc9df355d10dc49836af2e89901bd6ac6b0896d9d9 \
- --hash=sha256:7f7a92e8583f06b1fd49d01158143b8461cfcd135dcb10ec807270a3051bd603 \
- --hash=sha256:80c2dfadb855da477cf73373ad29a333535dedb9b12bad02c9814c8e2b43bf08 \
- --hash=sha256:83b6b30eb131da7a75b601f28c5d6971e6ed3e887919bf6b6a1ad3c2df289080 \
- --hash=sha256:86281fbdd6a8162756f8d603f37e3435bfa38043adb79c6dc6a2dfee065e7525 \
- --hash=sha256:86c89b9d55ebf820ad7c90bc533410f0d098054f293351f10603c0c46ff598f5 \
- --hash=sha256:876e1ff5930ed8bf295ec5ef9a8155e9b6b1876bbf1deed8b3a8069311875a8f \
- --hash=sha256:88136950da4d13c318bde414ce10219931937851327f44328f2df4d2c4614067 \
- --hash=sha256:88d8cb75b9d82858497a5393e3c63cfbf03035225e4b35a49ed7ccb151e4dc0e \
- --hash=sha256:8be8ad51249698103d24b0571df35a10990fbe93dd043b6c024172189485f5e3 \
- --hash=sha256:8d43ca737b20e106e4aebc42b2f3ae19f00ba63d7eb731698ee083d72d15646f \
- --hash=sha256:8dadbe5b217ff35b6a8d16610dd710219b59b76d13f0e3f0d9f36786206e4485 \
- --hash=sha256:9395002973c827b3ed67db77e6ec09f092919a587022174554096a269378fb13 \
- --hash=sha256:96f2ec43df44b1f76249ee0a615334f9b5b060e1c8bd90e706dad2d14d02f383 \
- --hash=sha256:98fc784c2c1440667aeedf8465bdfe10208acf0ead656a2c68627299f546b315 \
- --hash=sha256:9e36f163528fc50cbef305f02a5fd66d404edf7049cdaff211dbc2cba5a7013e \
- --hash=sha256:9eb9b5a968f6e0f6d640092a567e14529ff8cea2e29d00da6f78a79fa49f013c \
- --hash=sha256:9f76acfb5f68ba982635a53fd985a8044be98a35b43232c2a1ee235ffab3e1dd \
- --hash=sha256:a088f287f7d8275a33c07f2cac6c50b9319309a0200a39e7e75d80c707723099 \
- --hash=sha256:a10bd2fd62e8ce916ececb342f348f190724a098c1faa056fdfb2a22ad5e8660 \
- --hash=sha256:a4bbea04c97f6d78a48e3fbc1cb9116d2780b1b39e03a23f6eb9b603fd61f510 \
- --hash=sha256:aa366a1e55b8ebfe8ca8ddc3cfe75c8ebade181aeb0f661d0cb05986b647f72a \
- --hash=sha256:aa49e06d94aba782c6a02eecb7e507969e7e7a41b267f1b359bb35585f295d5b \
- --hash=sha256:aad9aa39483ed8ec44d6d2e59e5b98a0d80676ef0d92f44bfc374836111f62f5 \
- --hash=sha256:aae97dfdb60715c164419ac2532a76d013c3918a665eb6cb7288098b5f349aaf \
- --hash=sha256:abbefa31eee84842140f67acef1c828e28bba8bbf0c3bc6e5492a9af88152c28 \
- --hash=sha256:ac931cdc9442c1763b8a8f6cd62c0c938737eafc5be75eff88df55fc73bc0d00 \
- --hash=sha256:acd7d70b64c0aae0c7922cca83d288a16f5f6da523637697872253415269baef \
- --hash=sha256:add8cf6ddf9a65116119a28ece0f7886e30af27ba724a7594305f1d1b58a92a1 \
- --hash=sha256:aee395f5d0927f947758b4ec119fd5fc8ec71f07a1c5c52077b30b04c0fa6955 \
- --hash=sha256:b1b963fd8f5caa68e99dfae060d54de1fe9cba899b8718b44a00cdca53c3e590 \
- --hash=sha256:b2d444f2e66624d68e9c6b211e28a76e22fff5fcabcfff4deac18b529b7d4137 \
- --hash=sha256:b8d812c6011c08b8111a15e54dd990b8923692d80adf35488bee34026c35accf \
- --hash=sha256:ba96ae44888e0185281e937633a743ea90d5a196c6000f82565ebb0580012d40 \
- --hash=sha256:bdebcc8a75d38c7598dfb2c9ed852d7a9eb4a10d6e2d0764b919b802bf32ac88 \
- --hash=sha256:c07da4cebf6889f03ebac8d238f62318e29f495de0aa18a51ea14e61ae907e2e \
- --hash=sha256:c08e5c694306507275f2290073350c4f32e383db15213b2c69e7ff39c1193840 \
- --hash=sha256:c4f469aebd783bb741c2ecb2a681008fd26bfe5c16a9a72ed5467f834e810df2 \
- --hash=sha256:c5d7152ec39ca7c402d8fb9bad86140a15b9503bd0c54484e3f1bbe3dd37ceca \
- --hash=sha256:c674693f055fa2495de12292cb45e9944199d8eaef5a2dec45175c7c61cb73e3 \
- --hash=sha256:c6ed5141a5c7507cf3ee76bd363b0d6f801e3321adc35b5d825a23115faa5465 \
- --hash=sha256:c921ba5c51e4e9f63b8b00267d06566e1f63407408a0496da2d1d0bfc819c7fc \
- --hash=sha256:c9a4b821dc7055bf9e05ff5719e18ec501f75c0f0bbfabd573b277559780833d \
- --hash=sha256:c9f79d5325907f13e1be0b3e4dacc1049d1dffc4aeee3c995284bea5fe0fab7d \
- --hash=sha256:cd312b9692e831d2ffcad61eab31d91d4b4655a962e61de8fb410472cbcd37aa \
- --hash=sha256:cea3f4c1af79af13cdb2da0c028111d8f8522d4f22a000c82385535f24e5cf3a \
- --hash=sha256:cecdd5dfdc87b1fd87dbf81d4b037a544f47f4c744200a67013771682d67686a \
- --hash=sha256:cf9d57306d848218f3601fee7601fab1a327c942d56e2e97610583cb4dd74206 \
- --hash=sha256:d34bbf07dbc7ca5970671b1512e928991fb5e9d95365636c9b2d8b4f53af405e \
- --hash=sha256:d49514be2f28d895c38cf9d2b72d7b9a07d00314519f456c0b50b53cfcf4c785 \
- --hash=sha256:d680fbcb768404c601ecb43519ecd8461f6954cb11c06a78962f666832ccfca8 \
- --hash=sha256:db1d75f6617a49c1c01bc7023713e0ff59ab32c9579ae62a7674c0e34f3b0b0a \
- --hash=sha256:dcb292aa7fe485ceff7af4f92e46c5af397daec5dff64871a528f0fc47a3cc5b \
- --hash=sha256:e07c65f443c887bbcf31cc1771d932ecc192a5273943589b3c7572b749f1ffb2 \
- --hash=sha256:e902da4b04e6b52e5893900d4b8ab46068f75f3561f01bf1080957f9fd932ed6 \
- --hash=sha256:e9308ff8241c532df3f3e570f9a5aeed6c853f888512ba4b75638d7c11c95ef6 \
- --hash=sha256:eb7c9811bfaa8b1ed5ed319f5d370dfbcaa59d52ea64be2a5a85e18195930354 \
- --hash=sha256:ebe6af670449830d6d9b752c256a983291c766a1365ba5d5460048f9e33a7818 \
- --hash=sha256:ed21202aec73cda4d55d1ce57b389aadb90ffb044e6cd1080b8347efe1b1ec84 \
- --hash=sha256:efe0374196335f93b53269acd811b944f2e6bdc88e8894f214bd636455484909 \
- --hash=sha256:f64ec5397ea6a41fc1b4af0380d79b44a755b5531dcaccd9940fb260dca93038 \
- --hash=sha256:f6ac4ef4d82dff54670227a69c67782ae0b811b5cf6b17954f1e8f7502fc0d1d \
- --hash=sha256:f6f0ce10945fab9c4c06ce14e22af9059d1a87493a9af4501a5b0b9187e21cf2 \
- --hash=sha256:f8844cd288697c6425c9beba919302241e3278871dc6519515e72b04e987abcf \
- --hash=sha256:fe0306bd29505a9177aac19f1877174b0e7422c222a59f70b2cd41633448c3dc \
- --hash=sha256:ff3f333630ab480244a1bff72043e511a91eb22e7595dead8653ee5612dd8f3d \
- --hash=sha256:ffecec8eb889b58ba9be5b95fb1cc78e22ea8eedea38e8736a1568fe1979250e
+jiter==0.16.0 \
+ --hash=sha256:0542a7189c26920778658fc8fcf2af8bae05bae9924577f71804acef37996536 \
+ --hash=sha256:0758ab7747a984797cf048e8eedea1d8ef39d7994b25611daf5b48fc903e8873 \
+ --hash=sha256:0df91907609837f33341b8e6fe73b95991fdaa57caf1a0fbd343dffe826f386f \
+ --hash=sha256:0e2e9efbe042210df657bade597f66d6d75723e3d8f45a12ea6d8167ff8bbce3 \
+ --hash=sha256:0fa25b09b13075c46f5bc174f2690525a925a4fc2f7c82969a2bbabff22386ce \
+ --hash=sha256:10438939205546132189c8e74a2d536a707841f3a25cd7c74ee91fe503407a26 \
+ --hash=sha256:12288303c9844e61e1651d02a9a6f6633e47d39f897d6991d1427161ce6b746e \
+ --hash=sha256:17ca7fae79f6d99cd9a042b75f917eaada7b895cfc7dd2ee3a16089dcaec7a85 \
+ --hash=sha256:1878349266f8ee36ecb1375cc5ba2f115f35fd9f0a1a4119e725e379126647f7 \
+ --hash=sha256:1a0f05e229edb29e68cdd0ccb83cea13b64263416120cf943767a6fd72e6787f \
+ --hash=sha256:2577196f4474ef3fc4779a088a23b0897bbf86f9ea3679c372d45b8383b43207 \
+ --hash=sha256:26798522707abb47d767db536e4148ceac1b14446bf028ee85e579a2e043cfe5 \
+ --hash=sha256:26d122613ada2b708eb714695446f40fce5bdf2edb4b02116dec62faa62dfab3 \
+ --hash=sha256:2a0d46ef67cc58d906a6132dd3040ca70ae4f0b0d7c9c052fe432c658a69b3f6 \
+ --hash=sha256:2a8e9e39cf083016137aa5cadafe3188adc2ba6ba1fbf1e5d18889ad3e9ad056 \
+ --hash=sha256:2c842cbf374a8daf50b2c04212995bee34ca2ac2cdc29a901b4cdb072c9c4131 \
+ --hash=sha256:2ed5738ae4af18271a51a528b8811b0cbfa4a1858de9d83359e4169855d6a331 \
+ --hash=sha256:3126a5dbad56401989ac769aca0cb56005bfb3e2366eea0ca99d1a91c3c1ee03 \
+ --hash=sha256:31aaee5b80f672c1dc21272bcfb9cbdcfc1ea04ff50f00ed5af500b80c44fa93 \
+ --hash=sha256:3a23f0e4f957e1be65752d2dfac9a5a06b1917af8dc85deb639c3b9d02e31290 \
+ --hash=sha256:3b21b412b899fd8bd51a3046934b59a3bb068b79f70a5c6010053ac77cc53f0c \
+ --hash=sha256:3c1fd2dbe1b0af19e987f03fe66c5f5bd105a2229c1aff4ab14890b24f41d21a \
+ --hash=sha256:3f4d9e473a5ce7d27fef8b848df4dc16e283893d3f53b4a585e72c9595f3c284 \
+ --hash=sha256:3fb7bc819187b56dc48aa5c833aaf92257da8e07efdb9306156667bd2eeb491c \
+ --hash=sha256:41977aa5654023948c2dae2a81cbf9c43343954bef1cd59a154dd15a4d84c195 \
+ --hash=sha256:44d019fa8cdaf89bf29c71b39e3712143fdd0ac76725c6ef954f9957a5ea8730 \
+ --hash=sha256:46add52f4ad47a08bfb1219f3e673da972191489a33016edefdb5ea55bfa8c48 \
+ --hash=sha256:49060fd70737fad59d33ba9dcc0d83247dc9e77187de26053a19c16c9f32bd69 \
+ --hash=sha256:491e7d072a253b156fff46b78bceac4652a697aa8d7082c9c18c03d7b7917d24 \
+ --hash=sha256:4a1d68ff7ca1d3b5dee20a97a3decda7d5f15003823bf6d140c81f8561d3bc5c \
+ --hash=sha256:51d7b836acb0108d7c77df1742332cac2a1fa04a74d6dacec46e7091f0e91274 \
+ --hash=sha256:560b2cf3fb03240cd34f27409a238547488708f05b7c3924f571a60422251ec7 \
+ --hash=sha256:561926e0573ffe4a32498420a76d64b16c513e1ab413b9d28158a8764ac701e5 \
+ --hash=sha256:57b37fc887a32d44798e4d8ebfa7c9683ff3da1d5bf38f08d1bb3573ccb39106 \
+ --hash=sha256:5a71d0d2014c3275043e1170bf3d4e771493cb0dcf07be54c567155f4d8ee64b \
+ --hash=sha256:5ab4f50ff971b611d656554ea10b75f80097392c827bc32923c6eeb6386c8b00 \
+ --hash=sha256:5af7780e4a26bd7d0d989592bf9ef12ebf806b74ab709223ecca37c749872ea9 \
+ --hash=sha256:5cf109d010b4b05a105afb3d43be36a21322d345ad3111e13d15f680afef0e5b \
+ --hash=sha256:5ed466aee31294d7cdcd4d37dfe5c42c97bc29d9a5f00eacf24504358309cb9b \
+ --hash=sha256:616e89e008a93c01104161c75b4988e58716b01d62307ebfe161e52a56d2a818 \
+ --hash=sha256:62c1b7fe1f77925acf5af68b6140b8810fa87dfd4dc0a9c8568ec2fa2a10429c \
+ --hash=sha256:63efadc657488f45db1c676d81e704cac2abf3fdb892def1faea61db053127e2 \
+ --hash=sha256:63ffdbdae7d4499f4cda14eadc12ddcabef0fc0c081191bdc2247489cb698077 \
+ --hash=sha256:64c0203212098470032aabcde9356fc168f377aade3e43def61dfe17e92f2037 \
+ --hash=sha256:64d613743df53199b1aa256a7d328340da6d7078aac7705a7db9d7a791e9cfd2 \
+ --hash=sha256:659039cc50b5addcc35fcc87ae2c1833b7c0a8e5326ef631a75e4478447bcf84 \
+ --hash=sha256:6722bcef4ffc86c835574b1b2fac6b33b9fb4a889c781e67950e891591f3c55a \
+ --hash=sha256:67c3bc1760f8c99d805dcab4e644027142a53b1d5d861f18780ebdbd5d40b72a \
+ --hash=sha256:67fddeda1688f0cce2d2ae83ccf8a80f79936f2d2997d6cc2261f82fdb54a4d3 \
+ --hash=sha256:6edb63a46e65a82c26800a868e49b2cac30dd5a4218b88d74bc2c848c8ad60bb \
+ --hash=sha256:70a490b55634dc0d2606ce8a8e01b1d62459011beb368d15d76e1eaf62460e3d \
+ --hash=sha256:710cc51d4ebdcd3c1f70b232c1db1ea1344a075770422bbd4bede5708335acbe \
+ --hash=sha256:741eed508c233a76313a1c7b001f8f21b82f14327e9196ae8bd29a2cc164ae84 \
+ --hash=sha256:7b24c3492c5f4f84a37946ad9cf504910cf6a782d6a4e0689b6673c5894b4a1c \
+ --hash=sha256:7c9610fd25ebccb43fca584136f5c2fbb26802447eccd430dfdbab95a0fd5126 \
+ --hash=sha256:850ccb1d7eedb4200f4014b1c0e8a577de114fc3cd88faad646dcc9bc4bb12ad \
+ --hash=sha256:8597d23c87f59294f83bcb6229b9ed1fccee13dbba967b46930d2f1759466fee \
+ --hash=sha256:8d031aabecc4f1b6276adfb42e3aabb77c89d468bf616600e8d3a11328929053 \
+ --hash=sha256:8d30a4a1c87713060c8d1cc59a7b6c8fb6b8ef0a6900368014c76c87922a2929 \
+ --hash=sha256:8fb8de1e23a0cb2a7f53c335049c7b72b6db41aa6227cdcc0972a1de5cb39450 \
+ --hash=sha256:8fc4d94713c4697347e38faf7d6ef91547c142219bdcfc7220c4870879974244 \
+ --hash=sha256:96e38eea538c8ddf853a35727c7be0741c76c13f04148ac5c116222f50ece3b3 \
+ --hash=sha256:9acf1b2faec82d998811ecce7ae84d9005e53410773e9d37d61cdc424ba4581b \
+ --hash=sha256:9c8a956fd72c2cf1e730d01ea080341f13aa0a97a4a33b51abebe725b7ae9ca9 \
+ --hash=sha256:9ec553a99b0987efd7a3645a1a825cf29c224e494db267a83369fcc8da9aeda5 \
+ --hash=sha256:a111256a7193bea0759267b10385e5870949c239ed7b6ddbaaf57573edb38734 \
+ --hash=sha256:a32d2027a9fa67f109ff245a3252ece3ccc32cc56703e1deab6cc846a59e0585 \
+ --hash=sha256:a5c54ef4ff776d9675837ef535b3308d6e31c208d43ebc44a0f7ab8a208c68f7 \
+ --hash=sha256:adbb8edeadd431bc4477879d5d371ece7cb1334486584e0f252656dd7ffada29 \
+ --hash=sha256:adff21bc78edfe086c15eb495b900306076de378dc2337c132401fc39bd79c91 \
+ --hash=sha256:b1e7923093a376d93c6eb507c77045ae258d689ba577392846a1b3f10d0b09a9 \
+ --hash=sha256:b2c61484666ad42726029af0c00ef4541f0f3b5cdc550221f56c2343208018ee \
+ --hash=sha256:b42e9ff5376819c053da25809a8d4b6fa6e473b4856ebe42e298ac958be3d7f9 \
+ --hash=sha256:b72d0b2990ca754a9102779ac98d8597b7cb31678958562214a007f909eab78e \
+ --hash=sha256:b7dc85ea77d4abbae8bad0d3538678aedee75bceec4e2f6c8dfb1c74772e5aa5 \
+ --hash=sha256:b8a3f9a6008048fe9def7bf465180564a6e458047d2ce499149cfbe73c3ae9db \
+ --hash=sha256:baad945ed47f163ad833314f8e3288c396118934f94e7bbb9e243ce4b341a4fd \
+ --hash=sha256:bae96332410f866e5900d809298b1ed82735932986c672495f9701daacd80620 \
+ --hash=sha256:bc837c1b9631be10abfe0191537fe8009838204cec7e44827401ace390ddb567 \
+ --hash=sha256:bf3ea07d9bc8e7d03a9fbc051295462e6dbc295b894fd72457c3136e3e43d898 \
+ --hash=sha256:c22a488f7b9218e245a0025a9ba6b100e2e54700831cf4cf16833a27fba3ad01 \
+ --hash=sha256:c4b4717bdb35ae456f831a6b08d01880fff399887a6bbc526a583a406e484eea \
+ --hash=sha256:c5fc4f8def331036a7b8e981b4347ebe409981edbc8308a5ea842b8c3614fa6c \
+ --hash=sha256:c682bea068a90b764577bdb78a60a4c1d1606daf9cd4c893832a37c7cc9d9026 \
+ --hash=sha256:c90c0f63df322be920eda6ce622e3083d8906ba267f8220fe7873213b8b4430e \
+ --hash=sha256:c9c53be232c2e206ef9cdbad81a48bfa74c3d3f08bcf8124630a8a748aad993e \
+ --hash=sha256:cbd18dd5e2df96b580487b5745adf57ef64ad89ba2d9662fc3c19386acce7db8 \
+ --hash=sha256:cf0d73f50e7b6935677854f6e8e31d499ca7064dd24734f703e060f5b237d883 \
+ --hash=sha256:d284fb8d94d5855d60c44fefcab4bf966f1da6fada73992b01f6f0c9bc0c6702 \
+ --hash=sha256:d28bb3c26762358dadf3e5bf0bccd29ae987d65e6988d2e6f49829c76b003c09 \
+ --hash=sha256:d5bf78d0e05e45cfdd66558893938d59afe3d1b1a824a202039b20e607d25a72 \
+ --hash=sha256:d5f91b1c27fc22a57993d5a5cb8a627cb8ed4b10502716fac1ffbfe1d19d84e8 \
+ --hash=sha256:d8f80521644426d451e70f00c7974240cab8f6ee088aedaa9af2697153ab7805 \
+ --hash=sha256:da3d7ec75dc83bb18bca888b5edfae0656a26849056c59e05a7728badd17e7af \
+ --hash=sha256:dab907db06fc593645e73109acf4581ba5b548897d28b9348dc41ddc8343b2d3 \
+ --hash=sha256:de5ba8763e56b793561f43bed197c9ea55776daa5e9a6b91eed68a909bc9cdbf \
+ --hash=sha256:e03a5f21a5ce96a9441b8cb32719a8b88ed5388f53e0f339c5bcf54f1317f9d0 \
+ --hash=sha256:e34e97bda77eb63242a410243c071e28ac7e0d8c0948c5ee658498690a4b2f2f \
+ --hash=sha256:e431cfc9caf44c1d5459ff77d4e64cbf85fddb6a35dad836a15c6a9ec23087c1 \
+ --hash=sha256:eab2cd170150e70153de16896a1774e3a1dca80154c56b54d7a812c479a7165e \
+ --hash=sha256:ee6162b77d49a9939229df666dfa8af3e656b6701b54c4c84966d740e189264e \
+ --hash=sha256:f17d61a28b4b3e0e3e2ba98490c70501403b4d196f78732439160e7fd3678127 \
+ --hash=sha256:f3bd327cdfa118bc1ce69c214c2678571d5bd39b8ccd0ebf43a54db00541ba9a \
+ --hash=sha256:f4444a83f946605990c98f625cdd3d2725bfb818158760c5748c653170a20e0e \
+ --hash=sha256:fb08c276dd02dac3a284acdd02cacc630d2e3cd6572a4b85519f35cbd133c3de
# via
+ # -c requirements-full.lock
+ # openai
+lxml==6.1.2 \
+ --hash=sha256:0349321a0537d4fdbebb2af06dd1b64676132c72e2ae250de8cdb58f8c43019c \
+ --hash=sha256:04cf9e3f4ee9cab9d9ba05401bef8668840fa9620fcd4d8e85a2d2fd0b0fa960 \
+ --hash=sha256:054175250531a5fb102d485743ff16412279c93add12385b3b1c3d7b16d8deaa \
+ --hash=sha256:058c79e172926ef524fb3c7c6beea4b55e15886ac99cb0c139ecaac6b375f1e2 \
+ --hash=sha256:0666943ee1576fa890a6dc6316ef42e8241b5dd56f67bc5475acb2ac298c6ca9 \
+ --hash=sha256:074a88f70a7360a4a0c5be5d898062cd26f898c25b459efb1bdd43ae700c5a1a \
+ --hash=sha256:08cd52e6487435c75f2da0a5b276beef7fed161681b93ab766e66b954f0c349a \
+ --hash=sha256:08f0c9ed7cded07c5e798b17c9c25bbba5d0650c8ff0a7f65f84c634966f0f10 \
+ --hash=sha256:093fbf547d0f3ca02705381f795a050fbb58988be4aac7f79f99f280c4082313 \
+ --hash=sha256:0aa07065497f191ad26c4b587ce5dbb5a7105285a3789aafd0661750e8bac537 \
+ --hash=sha256:1055241852f2b02068af4a625a5d32c087db193c12251928af2562ecd2239f18 \
+ --hash=sha256:1133bd969f2bfcc6b0c0cf7cdf5f2631e62b23fa2471ee8bd44f6ab73554ee9a \
+ --hash=sha256:11f529062255209a421ae4de5b1bb36b2f0a2e1a700745e675a4bf4084d13c00 \
+ --hash=sha256:12acd337d2821cb8b9247dfe4b7aa2f2769a3df5ae8511b7e550df42b8f4d3c3 \
+ --hash=sha256:12ecfea07d767f6accbf30b014e1c477b5eabb13eb4e8c748215efb52c0e314a \
+ --hash=sha256:14879fa5eb2b793c040bbfcb62011aa3015c65d6c9875e063ea98ce2029d51fb \
+ --hash=sha256:18467b0e9f7f0bc477df69e99829a59ae17fb37d34e5f68399371c7c67be9002 \
+ --hash=sha256:1a2331da06dd55a8184985306eb2afd72d708283ce7e85d67bba77317b785060 \
+ --hash=sha256:1c0173595dc1c25768f42681a1517dcfc74bb18a34695f127931cbd05f4dead6 \
+ --hash=sha256:1c4c6dc1b2485aaa4adfb6ed754f90dddcb2b96a66bbebc9e1ac242b5ce5e818 \
+ --hash=sha256:1d55a614d2f0457b1f7511c1b7bec0db0dcdd4af4d09d226829eb054c647527c \
+ --hash=sha256:1e3c67b817867c484794d7fe0d73045d7d0c67460c78a0a1249a9e92266e6a0e \
+ --hash=sha256:1edca8f4a92b94e873093df959f141d388f2141fcad0c47598442fb4730ef57a \
+ --hash=sha256:1fcfe8481302e6dec07909914b8f3f9e1739ae1615209d4b9e7544325fb699c4 \
+ --hash=sha256:20134744db7abcbd5232214e767814ef64e5ab57a5b7df93a2bd68b74ef0a6c0 \
+ --hash=sha256:215bb3cc4be015ccac3c7d4f25eb7b941f857fe5b02c0e3504cca61f7fb12455 \
+ --hash=sha256:2170d0a280c877b6e2dc6738217db947be35dd8cf09ca458b355aa1bab2a9e70 \
+ --hash=sha256:2374235206ec83d4827ad219c93c0f7366b93626eab85392c0ee7c8026649376 \
+ --hash=sha256:243ecef7cb7415766dd742336cd5b8361a84c6f297e2773c865b783724cbbe74 \
+ --hash=sha256:261d98065326676d7253882db0198d0aa06748d7ee0443367acf10b148273f99 \
+ --hash=sha256:26ff164c6629e5c4d11c9e55d5ea3d6eed0be2a420eee1f55cbce6e2c23e231a \
+ --hash=sha256:2afd1688e372d8eafaa6f56c589399e0a87d086a0c110f6346b0b50f42e67e25 \
+ --hash=sha256:2dcc69e307e0916c7a0b552212010938d02a664d29b6bda75ab2bc5fa487c861 \
+ --hash=sha256:2e37fe49fe2d5aa40a2cb1cc8176673ad7de0d124e6f4a509d9318f5979c7871 \
+ --hash=sha256:2f3194777c0d05945ac91d8594be25d2679d1d826e01e1fc90bae568ff3a547b \
+ --hash=sha256:351318f5c0eb7fcab5b4fdb507c6f88fb2c4b5e67784c7e5911448c91fffb5d4 \
+ --hash=sha256:351855814dec4ad55ca5f24d0f4b1cdaca7927fe48023a2965351845f3b60cff \
+ --hash=sha256:3a698fad6f122a9b3e2dc2fb598c1de7329c74a67c7a334c9109a440de2508e5 \
+ --hash=sha256:3be94d2464f19e42d8c39a299f356b12f2fd095c28793671eabfcd9db9c76987 \
+ --hash=sha256:3e3b666f57a5d81562f38c766c762416b0f6eb58a00590546911514b48412abd \
+ --hash=sha256:40366c23a938008a3bedfcfd80709b3a857c188b4d710b083e978ef5d2c1c715 \
+ --hash=sha256:4303f904fb6c41b58dc70743b1d8a470aba6c9897427c48324cff1a95673ddb4 \
+ --hash=sha256:442766b326d9892585a64e8c6c4b5ab81d0e6c0538c9f0fc11a84dc101a5d97f \
+ --hash=sha256:446f1f92c137e0cbb97eb7e932e15315c11a7c86974f43f15e68c9707ac6a9f6 \
+ --hash=sha256:4618b20f43dc98b49569b1dc822176140ea0f2598d672a6989187ba49bcbfec1 \
+ --hash=sha256:4622c5616683faf63791b349e6c8dad7717412dc5f29f4febe7575f110609a86 \
+ --hash=sha256:47c92dc5167de16e27ace8332454f12ba172dcab04f7a78a9eae14e2e41b6a41 \
+ --hash=sha256:47e367dfe341521426692819803e260d0673899c0ff611f14af978d725e2c999 \
+ --hash=sha256:48e912f37c99a297175ba955f55a47c0e1c834b506ef162e52a6e4fe276e6e45 \
+ --hash=sha256:4a16457e330b7099aa5a8e8bfa5d53a33a1672a819fa656157e9e6dc433ac7a4 \
+ --hash=sha256:4aced3284e0353c798b060fe2c175eb81410e99b9a7e2ae6951be5333732b111 \
+ --hash=sha256:4b0fa7109b1d0bc1747d8241a0853e135eefb1c978685241b544c46937383efd \
+ --hash=sha256:4bf14db2f0214003ec7f46c4300e2065668fc93e20448c1c95bac2e952072168 \
+ --hash=sha256:4e220a9c297e5d36895d489a08c9a3f1f6193b6414e702c5fb751e4a3767f8d0 \
+ --hash=sha256:4f4d2c36fd5997d30ff19c29fb93293401d0daaf87512297d47610e6883964b5 \
+ --hash=sha256:5078ff51e6316c0f75ea8127c2cd24374747fb351f62fb93d1761f8ae5a04a40 \
+ --hash=sha256:50ee0c360862f4152db835b456e38614f94b674bca2a47bc8de7171ee6ccbbb8 \
+ --hash=sha256:522387e05cd015a81d1dc621fb167fb42b8f629ccd2e8b39de583828f165aae6 \
+ --hash=sha256:5295205fd57510c19a0e46385b516119f3a781d45c2672159bce02949238981a \
+ --hash=sha256:52f6d4dff133c9778a24e9a2cfc1608930b15869866171aacc5131b5a418a003 \
+ --hash=sha256:57188e441ab24f906bd5a5c14eb55363ab51aa6c0de549f3dd320043721cc118 \
+ --hash=sha256:575fef7f30048b744dffb3e4ff64a18cac7dba3fd26efdea5730ade9d1bdeb33 \
+ --hash=sha256:5848f3de6a8de8a93cff9f068134393ff5fa69ac2a04399f7d49cd67c61c348c \
+ --hash=sha256:5a096d6a5f96b776a5b020cb45c17c545effd2a3b6639e6fa97bc95537600923 \
+ --hash=sha256:5c2bae42b3a09f977330a08f4a8fe72aec58c4bdb89069d3fe7272a71d885881 \
+ --hash=sha256:5d78ba560f3dd404d87b1fcc89b2b382d638ea2998431a3b2e5cda0f3ba2da91 \
+ --hash=sha256:604f4778632588d7c000e7e19430639dc12fca58b5b6e99edffba7631725ef0e \
+ --hash=sha256:614d4c5a34556e369b86cfcc8d0cf71cd0759a3444a464a07a9427ab0f5e3a99 \
+ --hash=sha256:6330cf0ce83f6273ad8ad99bdd25d6ebb3863912f9ac717f96bc8942706e0e26 \
+ --hash=sha256:633ac039cb32366dd5935868e041e385875c017b8cd54ea56aeee3fe29ca5935 \
+ --hash=sha256:6454d184d556eaf4cb3d6f69e405d21602d6fdcf08b8d57796824275986c6595 \
+ --hash=sha256:648861c19b775b89ebefa14586f85090b10163367476d77f242c4131c835ce73 \
+ --hash=sha256:65c32ddc5d0750129c7b119fb57d48192b76d334c21e6b690d19dfb06b34af79 \
+ --hash=sha256:662432a6103e671d971e06e75ed146d9ff67f39d2c98c2f26613b6057f54eafc \
+ --hash=sha256:678e35f1cbca98f55107511ee21a60568535c950f3c2371819bd64504c980d20 \
+ --hash=sha256:69df1856cb6c065e5bfd23adcc7408bfa6dcf32b0018373a99b0769bd86e2256 \
+ --hash=sha256:6c9cc4b6532abe154dbdebb42aaba8d52c852919591e45067f5b7d46a0405e88 \
+ --hash=sha256:6cb0c87421946030b92b558be416852780a912454e3dcba0998e4497c9c588d5 \
+ --hash=sha256:733dfb492ec3dfef8350a5cc896e90d202c5171e791e1609e77563751d69a15d \
+ --hash=sha256:75530642d8471327e691ab9b0513a5f9c77f38871014ceda40f51bb51765c0a1 \
+ --hash=sha256:7766e525282dd38fd89567311323e441996eb958e8e816d16b38f782e3aecd2a \
+ --hash=sha256:785761d5123f222cd97f2263a510107226fe32ce7aa7824a90616a41c574ace1 \
+ --hash=sha256:79b428c3242e63bdacf3b526a34e0b8b26583846fc597da84b8f0c3d5ea446b2 \
+ --hash=sha256:7c444c3a6e8e75334879980eed96568f0e12064c8b1913424eac1805e976736b \
+ --hash=sha256:7c482e87cc86bed78a50462560675bc2c348ef72c47596f9b933346d5a8e920e \
+ --hash=sha256:7c534ed898413f439b048130011e99a4245ee13d62d431f6b4f7f2484d02a93a \
+ --hash=sha256:7c687fd8e558c7d169f6f1987b696f37824d3a097f291bffd0ab4a2ea2307dfb \
+ --hash=sha256:7d506bdba580ecb1a6ad2e2b5c49445e66d3e1f95894885739094393a1aad237 \
+ --hash=sha256:7e81fc065ede5d58dd0bf0912025aee1bd04c52c2affd61fdb93226a97ce2fc6 \
+ --hash=sha256:7f35ba7667004ecdafebbe08da7c9fa06ee6195275bb7ef7a29ee1901e69519c \
+ --hash=sha256:7feb72424f19a893ae4f3373c7aae821b1aacb6076b708915c651f0683a97c49 \
+ --hash=sha256:822d9397033edbe530a13bb1e0091c0e817536b6aba87a9b4ad626ed779ca0bd \
+ --hash=sha256:827438bf6c8292d22a409bb7990d7cffce410f33e7664e46ca74d2ecc26975ef \
+ --hash=sha256:83e7510a6dda8df41d1b68b783de2953b3feb55a11dcebf693201ebaa5cc0c4a \
+ --hash=sha256:841630176c15fa5d3c5cd6f755435d3c5540a82e1dd2a7de1799401f92ee6d24 \
+ --hash=sha256:84a2a46b93b789d8acb44cfcb3d967ce9dbe29884ddb93fbb1a33f0e0c8fcd86 \
+ --hash=sha256:8512b3775d68994dd1d6d533161e0a214f2ad9c634659d34a99c98e86c6c3d68 \
+ --hash=sha256:85690cfc8ed54c4292e36a08bcf984dde7957e653fd6d94f59184244bcc35843 \
+ --hash=sha256:86d93dc3882c283e9aa2124d7d2b50c85579485216a2b3b7f91ba479e31a128f \
+ --hash=sha256:87534cec6ea325435e4adf2326b0cf3110eee9a47abf73652eb155db639c08c6 \
+ --hash=sha256:878e7c8ada8f92c52f13f35a2ab98ef0adf7fd0211d164fc2af589e4c3cfed63 \
+ --hash=sha256:87e9673cd8a3445024fe38e7f91b55fa3428437eec9b7a7ff7d81979520c0d2d \
+ --hash=sha256:8807998c1023d1e9d60e02500f90e85a0752dbc0b670989806bba87b82dd5b42 \
+ --hash=sha256:8b68f2548259bb04e0b3d5df0c397abe8b0080f5e1ffe4019fb7a8bf01a9339e \
+ --hash=sha256:8e613018a5ac66de7abaf1acaae0d7af37a5e1b9bf1ae190a1198b0fdb988ad8 \
+ --hash=sha256:8ec111ff8067325f85c08aa9c2b26179ec0537bb89c003fde31127139f85f82d \
+ --hash=sha256:8ffb17ec0a8bae18b6628ae40b0896eb264dd285e39a0faa864965c00933b64c \
+ --hash=sha256:9031f5f01452681abf39fdd65f84a70cb01a7572a1bbf570042e826b1232d07b \
+ --hash=sha256:9088da25ecd609965f838d89fda0465a905b48f4dd90331db9845518f2177372 \
+ --hash=sha256:9221442682c27417f10fe11184ea4cce174b25ab52465570b1f3ee3f85f320fa \
+ --hash=sha256:927f3e1d04dc0906265fc0416c13500363e42cd683bbb8d46911c79b73d26800 \
+ --hash=sha256:92c2b366028ac01e90399e6d17734ce6e4f4aeddd8ba75fbaf80ea11d6c6d645 \
+ --hash=sha256:94162456ed0a64fb1c06915df5bd06af4675ae3966d6048fcb73b0906e0e0222 \
+ --hash=sha256:9429d2371d406344ed1da5b5686d9412e74137c07b0171278368ff704f470ed5 \
+ --hash=sha256:9477e14217c212e6023c994a71a1a349db19b0e10fd5bf189666b281ae63b1fd \
+ --hash=sha256:962c12b51d0b164f12569af225dea57568477e24a845b96eaccbef6c07e4cc03 \
+ --hash=sha256:9b52ea73a37fc64aa3357ff8607801d46dd170506d3cf8253a91a1d91639d4f9 \
+ --hash=sha256:9bdc2db9e04538f917bba0242920764dd740649d8df58700d6d687ead4429429 \
+ --hash=sha256:a02164a8cd3e2dc028918e51af844c934c7a24a0b8f4064368360aa14ad1aac4 \
+ --hash=sha256:a2b7fe53abced1fe8bd984a9ab3c8c98bc093ec4f9f543089a8817a493818208 \
+ --hash=sha256:a5005c0c9e4d749a76a2ff8bd5918a8bb248df8e08e73a55654b9f79c9cd1e2b \
+ --hash=sha256:a7fd1dd6faa3df9dcd8f1765237362cd885ca62cdf77a7c5f5ea383ae5b6048b \
+ --hash=sha256:a8326e24ae6c3a6bfb03fa8b4793f9a5d804c125228aa067f652b0428e31b87c \
+ --hash=sha256:aa224ecc613d411690aa650dbf01daafbe385cd6c67145e80bc5fc01b3a71469 \
+ --hash=sha256:adbecbfe44a497c742792457b1c27300617967c18c3934d2416023eba8d8c553 \
+ --hash=sha256:ae520f189895c5dd7eeb2b7a372d464da6f4a1ba1d0ecb741b1d4fe4c1f699ac \
+ --hash=sha256:aea814342f6afd20d832937ff8b333cd6506428a39c0c4c70c2380aab1887bfb \
+ --hash=sha256:aebcc6b184c935e1f7091c09124cfe5107b7c2253894ba23ad646828c17e4c3b \
+ --hash=sha256:af6585a466cee2c5a524f7fffc591844bd604a29fdd9cade964f548512b5ef7e \
+ --hash=sha256:b1c0d2dde8a50520efc51644587f0fc4810e3af7d3e029d7af0be93bf39e2b5c \
+ --hash=sha256:b20440e578d269c5e8a722ab602ddd0f0cedb8b080006b3f936da9991a593d3b \
+ --hash=sha256:b28842b30c4bc2e6afe137d98a5d2071a62589471e76d053bea55b0e53298af9 \
+ --hash=sha256:b3ca02ef3b5920b88119c82eb6badfb2d082b1f681d528a856dcce17c8706da8 \
+ --hash=sha256:b3db5497af55f7a557c95265dd3b91c75dc56364a7b59f258c45fa5576dce058 \
+ --hash=sha256:b631174cd2e4d9f8a94ef17f911c6ded10ede93b5e7860dee7bbf85961d321e9 \
+ --hash=sha256:b7233a987a101bdf79059014130262a01339094a0a709f175162542f33b55d4e \
+ --hash=sha256:b97153ca609b434b712ddfb92cd6af101a7045a7724c542258bd4727a344472f \
+ --hash=sha256:ba0dfead73be5be9ad0b7fbf9f31ff29c1b1eae858816dfc8d85099d6e4af0d6 \
+ --hash=sha256:ba58574d710b82ead7cbedea01cac3e110bc3ef82d4731519b74a2c11f7cf5e9 \
+ --hash=sha256:be365ce8d2d411cf2fb573747684b4fd470fa6224e0094d9d5a21155acc369d3 \
+ --hash=sha256:be6f87cd224254a8f81324e34cc655508b83f1d70458a1a39857ad2aa9925852 \
+ --hash=sha256:bfcbee8ffff4188f4c6d97eceeff36d8eb983cf838933cbc12ce5f5dd51476c6 \
+ --hash=sha256:c0edde95e4b4278dcc0175eda06dc8aa2631ad9f83ae5dbdbc4f0925e200b0b0 \
+ --hash=sha256:c20fa05d128c463209ef5323ebf33ee1cac6d87cdc3933fd789fd3c101017c8e \
+ --hash=sha256:c470d192e27f97842a068cf12a1c1296b20ca716c56a9249715c6654bc192d19 \
+ --hash=sha256:c67f3c1278f942e97d8665c2a690324aaea5137de16f056583a21f0ac706177f \
+ --hash=sha256:cb0cf498efa3204621b3c5576f0accd80ad2ee85575f1cae5d2f98de32c8d9cc \
+ --hash=sha256:cdd35422de747237f451e821766e2b6be3dd2c31955c1ecd7f17984c5b9bb62d \
+ --hash=sha256:cde6b8db7d2e5135129eb5e74b7b44dd2053aa767cd5023541fccedddc262453 \
+ --hash=sha256:ceafa5e0536c62a5cd9f65327fa0b57d6f0b0e3435daf2c98a78d0dde7ecbae1 \
+ --hash=sha256:cfeac14425fc7a6fca7864b774d4ee63547926158f4a18c67d77b2c9a948acf1 \
+ --hash=sha256:d0bfd719c254bbe60ea022cff0e6ffb799a6fa7d4d72852cebe0257957b32d68 \
+ --hash=sha256:d117f39b28ab8a330a74abdbe61c2255b51973b238db25fd6c2448de1eb2a02d \
+ --hash=sha256:d3e97ac4353cca3fbbfa829bc0c6a913771573d1c6d46932d4335c46f2b7796a \
+ --hash=sha256:d50a44113fe6800dcc8a859332b823a4735b1e6ae1b0063882e4cca569ec3e29 \
+ --hash=sha256:d858e718b94033ab4b67e4a58fe3114c65bae01ae2314a62fb39ae8897ed4324 \
+ --hash=sha256:d86130d70a2557cdf825dffc56255f1f16b83a7bbeab677b4cd040c4c53d8c52 \
+ --hash=sha256:da6a4f55f0e3308c07354b1ee239c5550afc212f81629a6067db505ace3b667a \
+ --hash=sha256:dd7ea3fa47154b9fff90591b961e41b3718bd7fcd5bc2d9bb47e9845c8ace088 \
+ --hash=sha256:e062f5ac1255dfa6c98e3e3863ec18bc79d0947d22d08921a3ca60cee40559fd \
+ --hash=sha256:e17e2c30e27f56da5551e7a425888b45f013e940b99ab07d125a1c33f77a4605 \
+ --hash=sha256:e7269cc410f3cdf84a66914fc0ef54b1618115c87fb4f9a59a05c5dfc23bece1 \
+ --hash=sha256:e8b9a92652e75e7731309ea51db5dee892eef414ce70a6ec3441e5d36bf5189f \
+ --hash=sha256:e8dc3d29f2ed2bbf24c205a86326d6681230ace55abfb3f9d5230f42078ad63d \
+ --hash=sha256:e92e4419cad18d60b14bf18b82152fbae67f4b1128be7d73b172df275554f5d9 \
+ --hash=sha256:ec8d09f460fdeb65f9ead9b75941e312def4bcbb23e1f951b7def061eb99501d \
+ --hash=sha256:ee23f6599682bd4d48bb757c0633e78774eedfb65a7e52851f9ad182eeeb625e \
+ --hash=sha256:ee7410c98222070fd717ad881ee2a80cc11826b7001b9a5a807155d8918bfc7a \
+ --hash=sha256:ef0b8ba6e13597f681b2b4924ca9c4e8c88420bf0e21d9a9006c757f2fc39d1f \
+ --hash=sha256:eff128ffdc093cc6317955934ad9751105d37ed8dbca3ff4ccd751af6be37185 \
+ --hash=sha256:f16a407766bac51c65d605b06d900821751a79aa20e12185f273f14a17180e7b \
+ --hash=sha256:f86e23ed610727a7f025ebbff788f22a7956d3f1b24a25bb1d9286fc7b7642b0 \
+ --hash=sha256:f8b89b3be75a37509602b03f9cfa1a28298d4eed4625748148307aeb907901b7 \
+ --hash=sha256:f93bc5e25992f5545709000d840c6cafdbd022781a7a0ed79d58a5633733a4e8 \
+ --hash=sha256:fa813b0247d0543a563b993ac3dba6168eef59e3a61448432cf5453300c2412b \
+ --hash=sha256:feda2ef68c339987dfb370af3a4b785dbc40f925723fe2365e68e43c2640f85a
+ # via
+ # -c requirements-full.lock
# markitdown
# python-pptx
-magika==0.6.3 \
- --hash=sha256:3d9661eedbdf445ac9567e97e7ceefb93545d77a6a32858139ea966b5806fb64 \
- --hash=sha256:7cc52aa7359af861957043e2bf7265ed4741067251c104532765cd668c0c0cb1 \
- --hash=sha256:86901e64b05dde5faff408c9b8245495b2e1fd4c226e3393d3d2a3fee65c504b \
- --hash=sha256:e57f75674447b20cab4db928ae58ab264d7d8582b55183a0b876711c2b2787f3 \
- --hash=sha256:eda443d08006ee495e02083b32e51b98cb3696ab595a7d13900d8e2ef506ec9d
- # via markitdown
+magika==0.6.2 \
+ --hash=sha256:37eb6ae8020f6e68f231bc06052c0a0cbe8e6fa27492db345e8dc867dbceb067 \
+ --hash=sha256:57cd1d64897634d15de552bd6b3ae9c6ff6ead9c60d384dc46497c08288e4559 \
+ --hash=sha256:5ef72fbc07723029b3684ef81454bc224ac5f60986aa0fc5a28f4456eebcb5b2 \
+ --hash=sha256:711f427a633e0182737dcc2074748004842f870643585813503ff2553b973b9f \
+ --hash=sha256:9109309328a1553886c8ff36c2ee9a5e9cfd36893ad81b65bf61a57debdd9d0e
+ # via
+ # -c requirements-full.lock
+ # markitdown
mammoth==1.11.0 \
--hash=sha256:a0f59e442f34d5b6447f4b0999306cbf3e67aaabfa8cb516f878fb1456744637 \
--hash=sha256:c077ab0d450bd7c0c6ecd529a23bf7e0fa8190c929e28998308ff4eada3f063b
- # via markitdown
-markdownify==1.2.2 \
- --hash=sha256:3f02d3cc52714084d6e589f70397b6fc9f2f3a8531481bf35e8cc39f975e186a \
- --hash=sha256:b274f1b5943180b031b699b199cbaeb1e2ac938b75851849a31fd0c3d6603d09
- # via markitdown
+ # via
+ # -c requirements-full.lock
+ # markitdown
+markdownify==1.2.3 \
+ --hash=sha256:1a176f05522c8a2cb1dd3ab9d307dcdadbed5c26ae717855bfc42b3b6d38d937 \
+ --hash=sha256:a189a0bedfd14009030fde5f85bb6f77c56897cb839b5c25315dd7d4e3e290ba
+ # via
+ # -c requirements-full.lock
+ # markitdown
markitdown==0.1.7 \
--hash=sha256:4d1f3c69cd43b82288fdc3653686d759dcf355ee7c681aa6a855aed98a1e4f44 \
--hash=sha256:4eca912c87c6aa6897284a7f4bf6769a23bccf8544530f5d8b175fbe3797c916
- # via -r requirements.txt
-mpmath==1.3.0 \
- --hash=sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f \
- --hash=sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c
- # via sympy
-numpy==2.4.6 \
- --hash=sha256:001fbb8e08d942dd57599e781f2472269ee7f2755fae407b4f67b2f0b17da3f1 \
- --hash=sha256:0280e0356c0829a18d9de1cb7eee50ec22ca639878d7240307ca0943d73cd2c4 \
- --hash=sha256:043191bfa8eab18c776647b62723ac9dddece59743b13f49b2016094129c2b3f \
- --hash=sha256:06ca2f61ec4385a07a6977c55ba998a4466c123642b4a32694d3128fce18c079 \
- --hash=sha256:0a041d3d761dc3c35cc56ce0351506a02bcbc25f7b169f652435141a17db9096 \
- --hash=sha256:0ab0a9c4ffb1a6d95ef519fe4247dba8eb6b18ad93999f76b7f657039acabd47 \
- --hash=sha256:0c9136e14ed34a9e343a31c533d78a9813a69a3148332bce5e9821cb2f996e66 \
- --hash=sha256:110f8b71aacb688ec69062bb7f6938a0f8acb01b7c1c4beb453c65b6d234584d \
- --hash=sha256:112b06a867b235ef466ed3508ddf0238050df9c727cafb5301ac385b899189a1 \
- --hash=sha256:17f9ade344e7d9b464a084d69bcf18fc691cb1db67c62ed80820bf4926d78f0e \
- --hash=sha256:1e254a00cdf42b1e4d5b3d68d33af63268d41340d8885df2ab6470f2e1500147 \
- --hash=sha256:1e978ec1e8bd0e0e4de6bb75de9d30cbb74db6b6a2bb727618613703ca0167dd \
- --hash=sha256:25c692919ac5a01f170a3bfcd62d745b24fd095c353d50812637d6fcab442e75 \
- --hash=sha256:260a5d70215b61ab4fadf5c7baacd64821842975eea312125ed3c39a6391b063 \
- --hash=sha256:2803abfebfc990042cd494d8ce2d5f82e9d847af6d35ec486923aa19dbad5e73 \
- --hash=sha256:29a287e0cf63ff528da061de6b9f64a4618da591ca1046aafc54062e40ca7eab \
- --hash=sha256:29cb7f67d10b479ff07c17d33e39f78c07f71c40ef30d63c153d340e96cd3fb4 \
- --hash=sha256:3213d622a0283a39a93d188f3cf72b26862df52fbb4ca3697f51705016523d41 \
- --hash=sha256:33111801a01c12a8a1e3721f0a9232f8cfc8ae2c6b7098167e6f623c6073f402 \
- --hash=sha256:357cc07a6d7b0b182ff02249616a03742827ebb1277546b5c7cd7f7620a45698 \
- --hash=sha256:38efbc8de75c7a0fc1ac190162d892787f3f47b57cc291231aafee36b80982b7 \
- --hash=sha256:4081eb135ac24158bd51cdfbef16f1c64df7063b1143f24731387137c092bec8 \
- --hash=sha256:40fdc1ae7125e518ea98e53e69a4ebc27e1fd50510c47b7ea130cf21e5e1d42b \
- --hash=sha256:4cfe66903cc32a9921a6733d96b19bb6abf310397581bbad89c228f5abaf0ee8 \
- --hash=sha256:511dbaf848decaaaf4b4ca48032619fb3138710c4bf7da7617765edad1ef96b0 \
- --hash=sha256:55cced7c52e981362f708ad635198e97a752dfba412cc03c23bbf3bd8d5cd662 \
- --hash=sha256:56b39e5e0622a09a25bf5baf62f4bcf0cb8a41ae6e2819cf49bbc5a74c083f91 \
- --hash=sha256:5dbbdb29840ca3d91ee0fece42fc29278886d908280bfec0a5846c6f901a3eb0 \
- --hash=sha256:5f9fb9157b4ce2971008323afe46053787b526ef624fea915b261468a8421a0f \
- --hash=sha256:6180d8b35af935aed8ece3a85e0a43f87393ae0ac87c8d2c8bd2c993f7270ef3 \
- --hash=sha256:68a5124b13fa6cc2086764a20005d30bc0548146f7f5322f02fce212ca14317f \
- --hash=sha256:68bb27509ac1b9a3443094260f6326150663b06abe40b73a2f81160623da5b67 \
- --hash=sha256:6f41ae150c4e32db4f3310cdaf64b1593a03dbabe29eec77fc9b50fe64061df6 \
- --hash=sha256:7265a2f3d436e54ef9f2b52b5c937e6be778781bd97a590319d7348f1c1ca997 \
- --hash=sha256:72fbe16c6fac95aedf5937fa873445cec2110be35d8a4e9433d7501fd98dae6b \
- --hash=sha256:7d92c3819208a60205a12a245c91ad70cb0a85336659b19b834205573ac8456e \
- --hash=sha256:8155154c7c691289fe18f510b5d4657c68c67989f293f0535a91360392ff6538 \
- --hash=sha256:81a1cca95ed5bb92aa8b10dd2cdc9a0d3853a50fad926c28b5d7e8ea54389627 \
- --hash=sha256:89cd468399cfd2504718f0ba50e410dca55a170b61a02ad92bb18c8a65186e93 \
- --hash=sha256:8ad03c0965fb3c692200e74d458ca28c1dbb4ce96f9a479a8aa041ad5fabca02 \
- --hash=sha256:90f9849678c75fe7afa2d348ac842c168b0a4d3d61919687216dfc547976d853 \
- --hash=sha256:948424b06129ce883307e8cff868c31396d8dc7630a59c61d70d98dbe70f222c \
- --hash=sha256:9cd5ffd25db4e7ba6a375693b3fc0fc1791ec636c17db3720da19bde7180ec43 \
- --hash=sha256:a0df0043bdb289bde1f62da130d20df23d58b45429f752bc7a8fc5325a225ecd \
- --hash=sha256:a2c306dea656c12c68f51f4cea133cbe78ca7435eb28c735eac1d3ebe73be6e8 \
- --hash=sha256:a7830bab239b79cda9c08c2da014761cafb48da6150e1da17ac06283f43b6089 \
- --hash=sha256:a7c711e21628b52034bb5ab8d1bce291f752fcc5e92accc615778acee1ff4778 \
- --hash=sha256:aaf159caa35993cb1f56fb9b8e4610d35758e7ca005412eb1daa856a78c9c4b1 \
- --hash=sha256:ae506e6902902557576a26ff33eda8695e7ecb3cb36c3b573a0765dee114ebdb \
- --hash=sha256:b507f5c4c1d508876d1819b6bf9a49d365b96320b5d4993426b33a23ca4b8261 \
- --hash=sha256:bf162abab1c1a736333192707cef898e735a5ca00f38f27eeedf44b39d9e85eb \
- --hash=sha256:c1a2af6c6ef86344a6b0db6b97834208bf598db514f2b155042439b62605601a \
- --hash=sha256:c2d37ab77531417474168eb79d6d80b14f821a966818505d03013d0833edb7a8 \
- --hash=sha256:c4fc99836233ea196540b17ab0983aff60ed07941751930f5f4d05bc3b3b7359 \
- --hash=sha256:d581b735e177fdcdce6fed8e7e8880a3fb6ee4e3653a3ac6af01c6f4c03effc5 \
- --hash=sha256:d6da64deb6b8ed903e7560180a92f2d804ee1ba5eeb849ac2748b8c1aba1f6d7 \
- --hash=sha256:d8e8286dd7cea7895157318d1b91cdacac64c479f3cbc8dce548331728484751 \
- --hash=sha256:ddea102b48f9e339f3948bf22040944184627a30fdf7f858667673b9c5f033c8 \
- --hash=sha256:dfa20cc6ca228e6b155b11da03825975ce66aea520985dbbddf0f2a5a495c605 \
- --hash=sha256:e3e5193ef5a3dc73bceee50f7fdc2c90dbb76c42df8d8fae3d1067a583df579e \
- --hash=sha256:e3eeb0aabd6bd5ce64faae67e9935203a6991b4bc2a485a767fbafb2c5125f45 \
- --hash=sha256:e5805d5a22fd19c8ccff10a9561f9df94436b0545619ea579db2d3c35294bce2 \
- --hash=sha256:e85b752a1e912b70eaad4fafbd4d1238007ab221de2009b9a2f5ae7461239895 \
- --hash=sha256:eaf7fa2de5c0be8ae6ff8e9bea2ccd725e980541244521d8d4b5f3354a27babe \
- --hash=sha256:ebfb099f8dcf083deef3ac1ca4c1503f387cf76296fcb3816b66f5ecb5f54fdb \
- --hash=sha256:ece3d2cfe132e7d51f44a832b303895e6f2d499c5e74dfbdb06ee246147a304a \
- --hash=sha256:ed9749eef4cbd126da3dc1d6bcb3a57f5eb7ac6a6484146bdbf743f552dfc577 \
- --hash=sha256:ede83e07a75dd06bc501566c1eca2afc0d61677c1472ac9ad93fdee6e638a48d \
- --hash=sha256:ef4aea96ce4d3b074422cb4f2f64e216bf9e213004bb58ecfdf50ea02ea8eb9a \
- --hash=sha256:f3a3570c4a2a16746ac2c31a7c7c7b0c186b95ce902e33db6f28094ed7387dda \
- --hash=sha256:f407cb6b8e9d6d8c626bc73c945db1706035af8fd632295547bf1c9e46d092d6 \
- --hash=sha256:f74a575920ab21fe304421a3fc28793d82e299cae9eccb37084e9fc7f3617c20
# via
+ # -c requirements-full.lock
+ # -r requirements.txt
+numpy==2.5.2 \
+ --hash=sha256:0090ccdd57ec2703e9b49d0bf554767370581c1dd0a6b2bb2b2d9def317d042a \
+ --hash=sha256:078f9b027b478c9379b9677babbf0f8b8f1ecfada27636d7b9a93990c638739f \
+ --hash=sha256:07d4e89f3a9ab0a9ba24264ccdb642b3dd951b2281e8883a5481a4aa79cc31a7 \
+ --hash=sha256:0a4035ae1129ff8777f08bfbd44f1e5d8e9c049ce0c2dd78fc0d92c13e7251c0 \
+ --hash=sha256:0aadf13b60048d501e05fa699efaf7734e2494f3498a4c2a5521d822640324f3 \
+ --hash=sha256:14e373cfc6387177e8409dac3c7159be8eb05cd77096cd7c950268b86f62831c \
+ --hash=sha256:1ab3d4a901f844ea836c3e80bf463c6a27d7f3c14e8e292fcf28d348b25b9bce \
+ --hash=sha256:24b9dc2e3d84aa58523798805194e23e736f3f6ce2d1a5b92583ae734e6dbda8 \
+ --hash=sha256:27650bb0e7140fa3d37b9923b4803645e0b125d190f326eecfd3f4dad8e8ade1 \
+ --hash=sha256:28ac63476ec7651484215ee7fa15a1f78b57c14621f01e392afe17b9a1390ce4 \
+ --hash=sha256:29b86ff8a6cc556b47ec6b64b194815cc80e6bf5eedcc6cddfd65318cb0b4eee \
+ --hash=sha256:29d81e97f668489cba8ebfd796b9bdd453525d35dd9e162e2daec94bf3fc7740 \
+ --hash=sha256:2cc779226e476d1e1f08c74068c419e60f41a9e0e069c92f6671d31d5c985e98 \
+ --hash=sha256:2ffa7bacab3e2ee1b19ed31766bb60bb380b68c23f051e199c5cc598afd68710 \
+ --hash=sha256:318b9a4c845dbea06708a29c84ee429cc3065048db34cdb799047643492050ee \
+ --hash=sha256:34c319e2963be042673fb46570501b2f06c41924e17e3563d58646b4380dfb68 \
+ --hash=sha256:3a2f061cebd9e3d23bdcfaaded5e2293a4c6a5b60fa42df85d410a725ce621bf \
+ --hash=sha256:3cdec01fa790a186d430433fdd4d4ffb70eed6f0eeb4bf05c8dbe2dce0a9bcb8 \
+ --hash=sha256:3e4c367352d3747784248a227fbec218e193b56f7e6692e3b64fc805478ecfdf \
+ --hash=sha256:40f4d451aed46a8046a1aae41c4e55fb3612273df9c502480135e1501576a34b \
+ --hash=sha256:44ef9675d908e65f9953063837c3277730f3f4437615a4cdab67b366cabaf884 \
+ --hash=sha256:4bbd96c833ecc8cc069ce518078fc8c60cb9cbfb0fea5b7a803ad65035596d03 \
+ --hash=sha256:4ec954036759bcee3aa484f8603bd9c14f3e776293b85578b8734c2d72777c69 \
+ --hash=sha256:4f9744f9fbdcea0bc552e8f19e1f141f811a3f9bc2be2cc6e86d982cab23e3f4 \
+ --hash=sha256:50a68f4bacd8a2b33d8da3d2269d0d78500f86ea582e4786dc10f5ef2c2c6842 \
+ --hash=sha256:50e500dc868e9313530ce12ba470fe50ff3afe3d62993ed6eff652dacd555b65 \
+ --hash=sha256:52c808f96484f5571a5cc863775ce50247c17dfb3b0361f8ed6b4b0456f80080 \
+ --hash=sha256:5f8e00be2ec6f45f4e8a41a527f68d44a7d96fee92a650e4d8b1326f77f61e6e \
+ --hash=sha256:60e902ac295855348a5ca2ea4c89108989a9f5fddfad3dfc0a8f36b10358567e \
+ --hash=sha256:65f188481f1669e26f62b701e8205d19e460fa4a9b52a1414ba382330e4a3414 \
+ --hash=sha256:6950c4b7dd562453090548ba7f5da7e59f57f85663f15d5dcc60e249192f7e59 \
+ --hash=sha256:6a9bb119fb8dd21ba30b3f0e555b7e2b081bd9883af21ec9c1c633d161cda3a8 \
+ --hash=sha256:6b588cc8f902d6bff201c19fd00c43ab8545671e3554d014e12e14139e5e8617 \
+ --hash=sha256:6df895598c0edcb41030126c89e0f353b07d93238116143b7405e937359736c4 \
+ --hash=sha256:6e8172ddfcf5cf74b811d372b570b83c60bd2de87a6fbfbebdadb4a9bd9c6cbb \
+ --hash=sha256:7354826bc6f8f69402e9b7fe28d15fcd34feebd74f856f111585c5b0c9fb0251 \
+ --hash=sha256:7587f53dfbd5edc0f7b87c6217b4c6d2d1f2ef9c3da70bc1315e7db5f8d7ec9d \
+ --hash=sha256:77843ca236b777e67f8d6b3660ea116e499612703a0ecd7093f316201eb9d8e2 \
+ --hash=sha256:7999d4ddb0c4025018373fd787510d46e04c769467af22869707b3c1cfd459ab \
+ --hash=sha256:85aaccb24182c25df891ad0ec333585967e115269d5f1b17f2c9ae005bc96657 \
+ --hash=sha256:8e4cb9a754c8a0c62eaa88273a5fba3391f4a610d1dee893c0755da31c083f15 \
+ --hash=sha256:8ee9c4eeb8454b3660a8b53493563c3e121c2fc94fbd72b848ef814ed7b676a9 \
+ --hash=sha256:9a0731745a72a184490a582fb4af2533512bd071ace67785b5fdffc0ae58dce8 \
+ --hash=sha256:9e9413326d726c2545bfa65d2c0876871e8d8386e77f992c1d426e180bbd4323 \
+ --hash=sha256:a610dc7e3c52edd39c2bc2375ff9c3fd59cb3ad00e4472d36f83bc1457145788 \
+ --hash=sha256:a839318485284a6fb31be4f8f2c91c8f2cb22f4543c4a8903f12b0671ffe07cc \
+ --hash=sha256:afb3f0632d6b2e3ba04dbce8d1e48d321b369138b73830b5ca371a0e8d479d56 \
+ --hash=sha256:b879fb674276e331513fb136b78dbc6bd3c848309e0d841cfd63be3896c4cfc1 \
+ --hash=sha256:b9727f472d2f3888053b8a75ab0cb94745a9de224bb5846dbadc0092101bc71d \
+ --hash=sha256:ba0a474801b8dc67b66bf465548abc90e82b44d2611b5770f33008dcabffe8ec \
+ --hash=sha256:bd68ece1553d2023c09a4226d9e41c586ad2d20594d1a456186c33513d2cb3f2 \
+ --hash=sha256:c081cbe16ba1ab53078e5ff29013621e33c509eedab055775d956427712c236e \
+ --hash=sha256:c1f017dc0875c9209d219f97feceb7d54c2661bb243deb4114478e1295808af7 \
+ --hash=sha256:cebc2d6dbb605a7703d59751dea4bd6b0ab127a5a4338a6f432df1936fef8b26 \
+ --hash=sha256:cf7de32f486e4ac9e2d93b810f9e9ac72a728dd46a32a0bb403222f27f653514 \
+ --hash=sha256:d482d171c406ae88c5b19cad3b6a1c4c5209f886ab74bc44c2c865c23f52d860 \
+ --hash=sha256:d6a48072864e3324e194a8fbb3c657bcc5b5c869dbc64c9537b1d5c862572c0a \
+ --hash=sha256:d787cf769c3baeb5f6235e778edb52c08dfa923789b5958f28e6450f96107cb1 \
+ --hash=sha256:dc649493697006bc90614a5f0bbc8cb3cb1866715c474e473694968d7e6b99ab \
+ --hash=sha256:ddf47472af2e4280d79bac82304f5e80150211f1b9e614b760061d5fdfbb6eba \
+ --hash=sha256:e5651f3f87add730ee6608d915009e19c911fba0cb000c7e3ea994b7d768eb12 \
+ --hash=sha256:e79aba74ffaf5f78a050d777c184cddf8fdffabab38acf5f3ef1fecbc17895d6 \
+ --hash=sha256:eaa088384c46f519dacb93b7ec483a6d6b19a4a2085ae4f25ab9b1c43d387d1e \
+ --hash=sha256:eaca7ff36f0f52e2111ec71f169d8fd3e889e7ddc0d2592e0d703fd8d3ce8fac \
+ --hash=sha256:f06571a052127dc1b4e8b83029b4d1b20daa2b64a31cdd181fc6bc774e9000eb \
+ --hash=sha256:fd0d703772bba096843785bd38371e31bb4a0c1151497ad5739d182114a73f7f
+ # via
+ # -c requirements-full.lock
# magika
# onnxruntime
# pandas
-onnxruntime==1.20.1 \
- --hash=sha256:06bfbf02ca9ab5f28946e0f912a562a5f005301d0c419283dc57b3ed7969bb7b \
- --hash=sha256:0df6f2df83d61f46e842dbcde610ede27218947c33e994545a22333491e72a3b \
- --hash=sha256:19c2d843eb074f385e8bbb753a40df780511061a63f9def1b216bf53860223fb \
- --hash=sha256:22b0655e2bf4f2161d52706e31f517a0e54939dc393e92577df51808a7edc8c9 \
- --hash=sha256:4c4b251a725a3b8cf2aab284f7d940c26094ecd9d442f07dd81ab5470e99b83f \
- --hash=sha256:5eec64c0269dcdb8d9a9a53dc4d64f87b9e0c19801d9321246a53b7eb5a7d1bc \
- --hash=sha256:7b2908b50101a19e99c4d4e97ebb9905561daf61829403061c1adc1b588bc0de \
- --hash=sha256:8508887eb1c5f9537a4071768723ec7c30c28eb2518a00d0adcd32c89dea3221 \
- --hash=sha256:a19bc6e8c70e2485a1725b3d517a2319603acc14c1f1a017dda0afe6d4665b41 \
- --hash=sha256:bb71a814f66517a65628c9e4a2bb530a6edd2cd5d87ffa0af0f6f773a027d99e \
- --hash=sha256:bd386cc9ee5f686ee8a75ba74037750aca55183085bf1941da8efcfe12d5b120 \
- --hash=sha256:bda6aebdf7917c1d811f21d41633df00c58aff2bef2f598f69289c1f1dabc4b3 \
- --hash=sha256:c9158465745423b2b5d97ed25aa7740c7d38d2993ee2e5c3bfacb0c4145c49d8 \
- --hash=sha256:cc01437a32d0042b606f462245c8bbae269e5442797f6213e36ce61d5abdd8cc \
- --hash=sha256:d30367df7e70f1d9fc5a6a68106f5961686d39b54d3221f760085524e8d38e16 \
- --hash=sha256:d3b616bb53a77a9463707bb313637223380fc327f5064c9a782e8ec69c22e6a2 \
- --hash=sha256:d82daaec24045a2e87598b8ac2b417b1cce623244e80e663882e9fe1aae86410 \
- --hash=sha256:e50ba5ff7fed4f7d9253a6baf801ca2883cc08491f9d32d78a80da57256a5439 \
- --hash=sha256:f1f56e898815963d6dc4ee1c35fc6c36506466eff6d16f3cb9848cea4e8c8172 \
- --hash=sha256:f6243e34d74423bdd1edf0ae9596dd61023b260f546ee17d701723915f06a9f7 \
- --hash=sha256:fb44b08e017a648924dbe91b82d89b0c105b1adcfe31e90d1dc06b8677ad37be
- # via magika
+onnxruntime==1.29.0 \
+ --hash=sha256:07c5907474dec4a2792fd7626b753dc66707808385a6d9eecf993db0066a9d0f \
+ --hash=sha256:0d4f427afac434b0070fe992b540ddf20a7aff2265f760f314d91331935b6b98 \
+ --hash=sha256:11264bb58f7b7cf6af835ab10d36838d73680580820fd6f51d90124a1ca8f449 \
+ --hash=sha256:16925ef8497e2c07e4b5ae15b504079b3ab3f65e22c58efd10dde0f3caea969a \
+ --hash=sha256:1ea91cef3b971506e51ae9c37c16d027774ec64994a524ec1bdfb027d68a9832 \
+ --hash=sha256:2945e1f82f81f27e88decea88c7861f45baea23818950d467bf3909aa303119e \
+ --hash=sha256:2b80d8c7ec2cc7438e4da3760b88c24568cba72c9ace96d668800a6c79419acb \
+ --hash=sha256:3a3814c041251d6a77fdf513fb282056538ee826d2f1178a0df3c549d3fff6ba \
+ --hash=sha256:4a3129ae56e70d2618ff773920166916310370a7e3cacb60b9e0e8910092725f \
+ --hash=sha256:4acf2b4948b7ede87221ca6332344b8facdc8059d6ac751a7d367d04532b02dd \
+ --hash=sha256:4b940b0d777590c7e20bf298f5c16af1ea6ad1b400a1c822a6be192f64f4d954 \
+ --hash=sha256:4eae472cf7dc3107dec1bb53cd6d142d1964616d08aae48654cd4254b2363c4b \
+ --hash=sha256:533f8370ce124304e5cb08ab961836cf755631e3dd77adc5f3bbdab70c2b7d99 \
+ --hash=sha256:6c0c37b92f67ed68dd36221ce0403e1d9bd4f7efce724439978a2597848530e5 \
+ --hash=sha256:85f8e8406c52658735fe5c7fbfd3ebaa1ed340768324f6252e4274e374580a23 \
+ --hash=sha256:939e5d65f332e6d399774b2bd0d3559fd8fa629c1e77833db29d968d2384f23d \
+ --hash=sha256:be0f8ed688cfb1d4d5765a137193b7bfab0c8ea214eed99260b380bb525a3a7f \
+ --hash=sha256:c1ad3f437153fe77f9d01a08fbaac0beb030e09b8a80ace1603bcf69b6c95481 \
+ --hash=sha256:d2fb19e848f7c33ed8d3182b52504aaa11c5e8da438bbb47296f85b133cbcf6b \
+ --hash=sha256:d67673c5367727860922c5262d724472f1b5539fb7ccf4c81a638f9b71719803 \
+ --hash=sha256:dc61a79cb39afd66ab3f01fd2c23591a7f01de89c1668e1fb6315067fc279164 \
+ --hash=sha256:e2128f31f449e922c62dbe5d8b6b7b079f0bcaf2d56a102fa203cb6e5bb5ab19 \
+ --hash=sha256:e417ef8628dcce310d2d53023e750ea298ec14d4341ae6dc3a572bfd9bc7fa97 \
+ --hash=sha256:e74b278af1d949876f5d91d1268fd6c680e79f2bac194967394eaba9fdf69e7e
+ # via
+ # -c requirements-full.lock
+ # magika
openai==2.54.0 \
--hash=sha256:89089789197ccdb87f173a03145ed1598d00795220c93e96cf712b1cbf5e5f2b \
--hash=sha256:e3e6f8bc1ba30ddf381ace1a14340eed381cb984a1a59bd0f34b5be3b5d49cfa
- # via -r requirements.txt
+ # via
+ # -c requirements-full.lock
+ # -r requirements.txt
openpyxl==3.1.5 \
--hash=sha256:5282c12b107bffeef825f4617dc029afaf41d0ea60823bbb665ef3079dc79de2 \
--hash=sha256:cf0e3cf56142039133628b5acffe8ef0c12bc902d2aadd3e0fe5878dc08d1050
- # via markitdown
-packaging==26.2 \
- --hash=sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e \
- --hash=sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
- # via onnxruntime
-pandas==3.0.3 \
- --hash=sha256:0383c72c75cdcca61a9e116e611143902dbfd08bff356829c2f6d1cf40a9ca8c \
- --hash=sha256:05f1f1752b8533ea03f7f39a9c15b1a058d067bb48f4748948e7a8691e0510f2 \
- --hash=sha256:08d789b41f87e0905880e293cedf6197ce71fe67cc081358b1e148a491b9bd13 \
- --hash=sha256:0d589105b3c14645af1738ff279b2995102d8f7a03b0a66dc8d95550eb513e04 \
- --hash=sha256:13fc1e853d9e04743d11ba75a985ccbc2a317fe07d8af61e445a6fd24dacd6a6 \
- --hash=sha256:14da8316da4d0c5a77618425996bfb1248ca87fc2c1486e6fde4652bd18b5824 \
- --hash=sha256:1928e07221f82db493cd4af1e23c1bfca524a19a4699887975bff68f49a72bfb \
- --hash=sha256:261e308dfb22448384b7580cf719d2f998fe2966c92893c3e77d14008af1f066 \
- --hash=sha256:275c14e0fce14a2ec20eee474aecd305478ea3c1e6f6a9d8fe219a165542717e \
- --hash=sha256:335f62418ed562cfc3c49e9e196375c28b729dcef8543abf4f9438e381bf3c76 \
- --hash=sha256:3650109c0f22879df8bd6179ab9ee3d7f1d1d4e7e0094a3f0032d9f51e2e64ac \
- --hash=sha256:39436b377d56d2a2e52d0395bdbee171f01068e99af5250509aceeb929f765c7 \
- --hash=sha256:3c20a521bbb85902f79f7270c80a59e1b5452d96d170c034f207181870f97ac5 \
- --hash=sha256:3e91cec1879ada0624fc3dc9953c5cbd60208e59c0db28f540c5d6d47502422f \
- --hash=sha256:455f6f8139d4282188f526868dbc3c828470e88a3d9d59a891bd46a455f21b98 \
- --hash=sha256:46997386d528eb40376ecd6b033cf4a8a1e5282580f68f43de875b78cba2199d \
- --hash=sha256:4db8c527972a821cf5286b40ccc57642a39bc62e62022b42f99f8a67fca8c3a1 \
- --hash=sha256:4e15135e2ee5df1063313e2425ceef8ac0f4ae775893815b0923651b806a5639 \
- --hash=sha256:51b1fe551acb77dac643c6fda86084d8d446c10fe64b06a9cc29c4cc8540e7f2 \
- --hash=sha256:557409bc4178e70ee8d9ddb494798e51ebf6ea59330f6be22c51bab2a7db6c49 \
- --hash=sha256:5cc09a68b3120e0f54870dede8287a7bb1fa463907e4fcec1ea77cab6179bf7a \
- --hash=sha256:60ae316d3fd75d1858d450d0db0103ea2be3e7d4a95ec2f064f7e2ae63f7b028 \
- --hash=sha256:6674ab18ad8c57802867264b00e15e7bb904700cdd9046e3b2fa1fce237439ea \
- --hash=sha256:67b3b64c11910cfa29f4e94a14d3bff9ee693b6fc76055e7cad549cee0aec5fa \
- --hash=sha256:696a4a00a2a2a35d4e5deb3fc946641b96c944f02230e4f76137fe35d806c4fc \
- --hash=sha256:6dc0b3fd2169c9157deed50b4d519553a3655c8c6a96027136d654592be973a9 \
- --hash=sha256:7e65d5407dc0b394f509699650e4a2ec01c0514f21850f453fa60f3be79a5dbf \
- --hash=sha256:819959dab7bbd0049c15623fbac4e29a191b9528160a61fb1032242d8ced2d9c \
- --hash=sha256:8a1e45c80cceb3b4a21bc5939d52e8cbd8d9b7305309219d59e9754d9ce09e27 \
- --hash=sha256:9c39be2d709d01fa972a0cabc522389fceca4f3969332ba25a7d6c5802cf976a \
- --hash=sha256:9d71c63ae4ebdbf70209742096f1fc46a83a0613c99d4b23766cced9ff8cd62a \
- --hash=sha256:a2d2dff8a04f3917b55ab3910c32990f8ddf7eceba114947838cefa976a68977 \
- --hash=sha256:a4eeb6830daf35a71cc09649bd823e2b542dac246cdee9614c6e4bd65028cd6a \
- --hash=sha256:a55066a0505dae0ba2b50a46637db34b46f9094c65c5d4800794ef6335010938 \
- --hash=sha256:a82d532a3351d435432cd913edbccaf8b8e01d4dd0e5ced5a8d2e8ecd94c7e44 \
- --hash=sha256:b168fc218fd80a6cbdbdbc1a97ddc7889ed057d7eb45f50d866ceab5f39904c4 \
- --hash=sha256:b2c95f8bfc1ee412bf482605d7bfd30c12d1d26bd59fdd91efeef1d4718decb1 \
- --hash=sha256:ba7e08b9ac1d54569cd1e256e3668975ed624d6826f7b68df0342b012007bddb \
- --hash=sha256:bab900348131a7db1f69a7309ef141fd5680f1487094193bcbbb61791573bf8f \
- --hash=sha256:bd3a518890b400d32f9023722dc9a9a5c969f00b415419a3c06c043f09bb5d7d \
- --hash=sha256:c7be265b62cef88e253a941e4698604973736dcfe242fdb5198f0f7bc473cdcc \
- --hash=sha256:d26cbe1fcfc12e8fd900e2454163e466b2d3af84f7c75481df7683ffc073d870 \
- --hash=sha256:d4be06d68f9ddcfc645b87534911da79a8fbffc7573c80e0edcf42a5020624d8 \
- --hash=sha256:d72828c20c6d6e83e1e22a6a3b47b326b71664112fa9705dcbccfd7a39b62085 \
- --hash=sha256:dd1a5d1def6a46002e964510bdc67c368aa0951df5d1d9f8365336f5a1f490cd \
- --hash=sha256:e3a2ec42c98ffa2565a67e08e218d06d72576d758d90facb7c00805194d8f360 \
- --hash=sha256:f8894dc474d648fe7b6ff0ca9b0bd73950d19952bc1a6534540762c5d79d305c \
- --hash=sha256:fed2ff7fd9779120e388e285fc029bd5cf9490cdd2e4166a9ee22c0e49a9ab09
- # via markitdown
+ # via
+ # -c requirements-full.lock
+ # markitdown
+packaging==26.3 \
+ --hash=sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79 \
+ --hash=sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c
+ # via
+ # -c requirements-full.lock
+ # onnxruntime
+pandas==3.0.5 \
+ --hash=sha256:08d24fe11a17dc33bd6e937dc9c665f9cba08fbdc9f657f405713515febe300d \
+ --hash=sha256:0d298e951f23016ce4699951d044ae6418dbc91bf68cefca0f77666fcbb4e5c6 \
+ --hash=sha256:0fac0010c75e4efb6b99e249c183a8993ce0dc95c240f9b120a5e67c727b7928 \
+ --hash=sha256:1c10461f6eeb35d8f05b6184c65c8b9991663b66c46b1d559b682cb34ae7c6ea \
+ --hash=sha256:25ff585b972a18ef1fe9ffa3ac6544d9950508aa76832e5147640b6022821e49 \
+ --hash=sha256:2946e77e4a53cd248cbde631a12f0e51c8324ce354c3eba4d20147c1ad6f4282 \
+ --hash=sha256:2a29c53d85ea98c5e792c59ef82ee9fbe6ca902c0d0adb6b23f45ef894cd7bf6 \
+ --hash=sha256:2c0cf1dd9b55a22d105fc46c1b489af3bd42264fcba7c66297bf47a9a1d9c78a \
+ --hash=sha256:2f264fc46911cc8131a7322a16199bbf8e353d27c10bb211f5bd0c814324dc36 \
+ --hash=sha256:303da736987d481074ca720ada325f8bd80c64ebc2d45ed79b29df3aaa4a26ca \
+ --hash=sha256:3b2801bbb049d0136f6c213eae02b5fca969384fc2064dd728d8620552aa49da \
+ --hash=sha256:3c5015fd1730fbf883647e88068176c839c102cea883ba1769a6f4593bfc1f8c \
+ --hash=sha256:3c5ed2e7c06e91d340dfd091d7934f9bc82e4a36b95f647f090b9d1c9ac649da \
+ --hash=sha256:4b11c36e218331d0387cbe3a0a5f75162357a1d92d57b2b08a336ff94b19b2be \
+ --hash=sha256:5183427f5a8156d480f30333777bc978be93650a49a7c01db26adffe95b31e85 \
+ --hash=sha256:53730687fcd161883b24e10411c06d6a4c0f2275d2faf3bb2bc25deb4ba8007c \
+ --hash=sha256:66266d3442a5e8b3c90274c2b8b230bee42dd1c286bc822cc2f9f2c7e12b883e \
+ --hash=sha256:679f4e85b30ddb1515458ab1e788d3e260eae369b1f78da7a3aa4cac8ebf4a2a \
+ --hash=sha256:71ecc8fb7ed1a7aa4392316b5309a6347e8e7f832f38fd897846b3a1457a9298 \
+ --hash=sha256:73fa87b08a7ef706f8aafda39ddaccf2a99047bea62d8c88a0361bcafb2237bc \
+ --hash=sha256:80a611068e8a3ac23f7398c6c14eb46dc974e5cc9997f653e2dcfd1da74edd41 \
+ --hash=sha256:960d3ebcf249f75206899fcd2c6de53f736b7265759ced0d3e559df0b8b709b0 \
+ --hash=sha256:9e94c2c5ca43bd3ca32bf64d32308887b65e5f9bfd8023ea52755107a999f93b \
+ --hash=sha256:a5ad3b02ed6bc7d7ae9b70804b2c6aa31827489d150f8e623ce82491b82085d7 \
+ --hash=sha256:b1261758dfb6cf12c3cff8300e21cefad30e7ec709abb4c24ac7318e6a52462a \
+ --hash=sha256:b173f5951ff6b8b0ec7675e20dff3c97b7e7a57dfcce387c2d7c5afe87cb7899 \
+ --hash=sha256:b2acb4650527eec6822c3dadb2b771277b65e7dae7a267d4bccf65fd1bb3fbce \
+ --hash=sha256:b58b1b39d46a5862e3fb18f50d1a201398619d16a0f9f73f57eea5583cf0e63c \
+ --hash=sha256:b86765f268b56f7e665b93bce9d5df69dee7f99e595cf8fb839483ab315942a3 \
+ --hash=sha256:c1c05a767fe8e5b4fe9e1c29806829c582052eaedb9120a3da83ba3f69e24a5b \
+ --hash=sha256:c2e26bb46934b8a2ca0c3de1d3d606fc5f6746584791b2db264d58cf370e08dc \
+ --hash=sha256:c597ecf5616b5c420372c1d4d4c00dbbfba7398bea857dcc984347e1ea48417b \
+ --hash=sha256:cce3a9d11d2b1f82c69a27ec1f4948a170e2c403c4bbfa8cca62e3fdebe2ef3a \
+ --hash=sha256:cd8f7c6dc98527058ee6264219343f5392240a6f1bfa654fc5d79023020d0c92 \
+ --hash=sha256:cf52e1f61d229496da17dc7ab54acdee627357e7008fd4fecba3d0ba2937fa58 \
+ --hash=sha256:d373ce03ffd84010ed9839fa73672a9c8256990532e158440c0085db7d914b34 \
+ --hash=sha256:db172144bb56422bd157812f3b021eacc255451470b31e2c633c349490a1cfee \
+ --hash=sha256:dca3734d6ab7c906e6730f0788b0a1dbb9f2467731f9711f77995c8e9d62d712 \
+ --hash=sha256:e2759e890db96dfcffdbd9b86c3c2cb6afaf58def482820317e06163ec1066cd \
+ --hash=sha256:e819dd5f62966b481a8cb649d3299ebd886a1ea91ed5a99bf7ce77c98d18ab94 \
+ --hash=sha256:ef01af4d8dc6cd2c8d6c7736f149574ef93fe043811eeb5e445f2647154b5040 \
+ --hash=sha256:fa290c16964d4963fbfbc358928239cf3bd755b20e988ce944877def2f44471d
+ # via
+ # -c requirements-full.lock
+ # markitdown
pdfminer-six==20260107 \
--hash=sha256:366585ba97e80dffa8f00cebe303d2f381884d8637af4ce422f1df3ef38111a9 \
--hash=sha256:96bfd431e3577a55a0efd25676968ca4ce8fd5b53f14565f85716ff363889602
# via
+ # -c requirements-full.lock
# markitdown
# pdfplumber
pdfplumber==0.11.10 \
--hash=sha256:7741ea81bf165b474b153e6789d10d18e06b6ddcf3ec84289c3ef2fed6802580 \
--hash=sha256:b95b2d28c66efb0a794a83b88c6c6aea5987532a445d20a1cbcfa657022e6e57
- # via markitdown
-pillow==12.2.0 \
- --hash=sha256:00a2865911330191c0b818c59103b58a5e697cae67042366970a6b6f1b20b7f9 \
- --hash=sha256:01afa7cf67f74f09523699b4e88c73fb55c13346d212a59a2db1f86b0a63e8c5 \
- --hash=sha256:03e7e372d5240cc23e9f07deca4d775c0817bffc641b01e9c3af208dbd300987 \
- --hash=sha256:03f6fab9219220f041c74aeaa2939ff0062bd5c364ba9ce037197f4c6d498cd9 \
- --hash=sha256:042db20a421b9bafecc4b84a8b6e444686bd9d836c7fd24542db3e7df7baad9b \
- --hash=sha256:0538bd5e05efec03ae613fd89c4ce0368ecd2ba239cc25b9f9be7ed426b0af1f \
- --hash=sha256:0a34329707af4f73cf1782a36cd2289c0368880654a2c11f027bcee9052d35dd \
- --hash=sha256:0c838a5125cee37e68edec915651521191cef1e6aa336b855f495766e77a366e \
- --hash=sha256:144748b3af2d1b358d41286056d0003f47cb339b8c43a9ea42f5fea4d8c66b6e \
- --hash=sha256:1610dd6c61621ae1cf811bef44d77e149ce3f7b95afe66a4512f8c59f25d9ebe \
- --hash=sha256:1e1757442ed87f4912397c6d35a0db6a7b52592156014706f17658ff58bbf795 \
- --hash=sha256:22db17c68434de69d8ecfc2fe821569195c0c373b25cccb9cbdacf2c6e53c601 \
- --hash=sha256:25373b66e0dd5905ed63fa3cae13c82fbddf3079f2c8bf15c6fb6a35586324c1 \
- --hash=sha256:2bb4a8d594eacdfc59d9e5ad972aa8afdd48d584ffd5f13a937a664c3e7db0ed \
- --hash=sha256:2c727a6d53cb0018aadd8018c2b938376af27914a68a492f59dfcaca650d5eea \
- --hash=sha256:2d192a155bbcec180f8564f693e6fd9bccff5a7af9b32e2e4bf8c9c69dbad6b5 \
- --hash=sha256:2e589959f10d9824d39b350472b92f0ce3b443c0a3442ebf41c40cb8361c5b97 \
- --hash=sha256:2e5a76d03a6c6dcef67edabda7a52494afa4035021a79c8558e14af25313d453 \
- --hash=sha256:325ca0528c6788d2a6c3d40e3568639398137346c3d6e66bb61db96b96511c98 \
- --hash=sha256:34c0d99ecccea270c04882cb3b86e7b57296079c9a4aff88cb3b33563d95afaa \
- --hash=sha256:390ede346628ccc626e5730107cde16c42d3836b89662a115a921f28440e6a3b \
- --hash=sha256:394167b21da716608eac917c60aa9b969421b5dcbbe02ae7f013e7b85811c69d \
- --hash=sha256:3997232e10d2920a68d25191392e3a4487d8183039e1c74c2297f00ed1c50705 \
- --hash=sha256:3adc9215e8be0448ed6e814966ecf3d9952f0ea40eb14e89a102b87f450660d8 \
- --hash=sha256:3e080565d8d7c671db5802eedfb438e5565ffa40115216eabb8cd52d0ecce024 \
- --hash=sha256:4a6c9fa44005fa37a91ebfc95d081e8079757d2e904b27103f4f5fa6f0bf78c0 \
- --hash=sha256:4bfd07bc812fbd20395212969e41931001fd59eb55a60658b0e5710872e95286 \
- --hash=sha256:4e6c62e9d237e9b65fac06857d511e90d8461a32adcc1b9065ea0c0fa3a28150 \
- --hash=sha256:50d8520da2a6ce0af445fa6d648c4273c3eeefbc32d7ce049f22e8b5c3daecc2 \
- --hash=sha256:51c4167c34b0d8ba05b547a3bb23578d0ba17b80a5593f93bd8ecb123dd336a3 \
- --hash=sha256:56a3f9c60a13133a98ecff6197af34d7824de9b7b38c3654861a725c970c197b \
- --hash=sha256:56b25336f502b6ed02e889f4ece894a72612fe885889a6e8c4c80239ff6e5f5f \
- --hash=sha256:57850958fe9c751670e49b2cecf6294acc99e562531f4bd317fa5ddee2068463 \
- --hash=sha256:58f62cc0f00fd29e64b29f4fd923ffdb3859c9f9e6105bfc37ba1d08994e8940 \
- --hash=sha256:5c0a9f29ca8e79f09de89293f82fc9b0270bb4af1d58bc98f540cc4aedf03166 \
- --hash=sha256:5cdfebd752ec52bf5bb4e35d9c64b40826bc5b40a13df7c3cda20a2c03a0f5ed \
- --hash=sha256:5d04bfa02cc2d23b497d1e90a0f927070043f6cbf303e738300532379a4b4e0f \
- --hash=sha256:5d2fd0fa6b5d9d1de415060363433f28da8b1526c1c129020435e186794b3795 \
- --hash=sha256:62f5409336adb0663b7caa0da5c7d9e7bdbaae9ce761d34669420c2a801b2780 \
- --hash=sha256:632ff19b2778e43162304d50da0181ce24ac5bb8180122cbe1bf4673428328c7 \
- --hash=sha256:6562ace0d3fb5f20ed7290f1f929cae41b25ae29528f2af1722966a0a02e2aa1 \
- --hash=sha256:673aa32138f3e7531ccdbca7b3901dba9b70940a19ccecc6a37c77d5fdeb05b5 \
- --hash=sha256:6a6e67ea2e6feda684ed370f9a1c52e7a243631c025ba42149a2cc5934dec295 \
- --hash=sha256:6a9adfc6d24b10f89588096364cc726174118c62130c817c2837c60cf08a392b \
- --hash=sha256:6bb77b2dcb06b20f9f4b4a8454caa581cd4dd0643a08bacf821216a16d9c8354 \
- --hash=sha256:6e6b2a0c538fc200b38ff9eb6628228b77908c319a005815f2dde585a0664b60 \
- --hash=sha256:71cde9a1e1551df7d34a25462fc60325e8a11a82cc2e2f54578e5e9a1e153d65 \
- --hash=sha256:7371b48c4fa448d20d2714c9a1f775a81155050d383333e0a6c15b1123dda005 \
- --hash=sha256:766cef22385fa1091258ad7e6216792b156dc16d8d3fa607e7545b2b72061f1c \
- --hash=sha256:7b14cc0106cd9aecda615dd6903840a058b4700fcb817687d0ee4fc8b6e389be \
- --hash=sha256:7f84204dee22a783350679a0333981df803dac21a0190d706a50475e361c93f5 \
- --hash=sha256:8023abc91fba39036dbce14a7d6535632f99c0b857807cbbbf21ecc9f4717f06 \
- --hash=sha256:80b2da48193b2f33ed0c32c38140f9d3186583ce7d516526d462645fd98660ae \
- --hash=sha256:8297651f5b5679c19968abefd6bb84d95fe30ef712eb1b2d9b2d31ca61267f4c \
- --hash=sha256:88d387ff40b3ff7c274947ed3125dedf5262ec6919d83946753b5f3d7c67ea4c \
- --hash=sha256:88ddbc66737e277852913bd1e07c150cc7bb124539f94c4e2df5344494e0a612 \
- --hash=sha256:8bd7903a5f2a4545f6fd5935c90058b89d30045568985a71c79f5fd6edf9b91e \
- --hash=sha256:8be29e59487a79f173507c30ddf57e733a357f67881430449bb32614075a40ab \
- --hash=sha256:8c984051042858021a54926eb597d6ee3012393ce9c181814115df4c60b9a808 \
- --hash=sha256:8cbeb542b2ebc6fcdacabf8aca8c1a97c9b3ad3927d46b8723f9d4f033288a0f \
- --hash=sha256:8e9c4f5b3c546fa3458a29ab22646c1c6c787ea8f5ef51300e5a60300736905e \
- --hash=sha256:90e6f81de50ad6b534cab6e5aef77ff6e37722b2f5d908686f4a5c9eba17a909 \
- --hash=sha256:975385f4776fafde056abb318f612ef6285b10a1f12b8570f3647ad0d74b48ec \
- --hash=sha256:9a8a34cc89c67a65ea7437ce257cea81a9dad65b29805f3ecee8c8fe8ff25ffe \
- --hash=sha256:9aba9a17b623ef750a4d11b742cbafffeb48a869821252b30ee21b5e91392c50 \
- --hash=sha256:9f08483a632889536b8139663db60f6724bfcb443c96f1b18855860d7d5c0fd4 \
- --hash=sha256:a4e8f36e677d3336f35089648c8955c51c6d386a13cf6ee9c189c5f5bd713a9f \
- --hash=sha256:a52edc8bfff4429aaabdf4d9ee0daadbbf8562364f940937b941f87a4290f5ff \
- --hash=sha256:a830b1a40919539d07806aa58e1b114df53ddd43213d9c8b75847eee6c0182b5 \
- --hash=sha256:aa88ccfe4e32d362816319ed727a004423aab09c5cea43c01a4b435643fa34eb \
- --hash=sha256:af73337013e0b3b46f175e79492d96845b16126ddf79c438d7ea7ff27783a414 \
- --hash=sha256:b1c1fbd8a5a1af3412a0810d060a78b5136ec0836c8a4ef9aa11807f2a22f4e1 \
- --hash=sha256:b85f66ae9eb53e860a873b858b789217ba505e5e405a24b85c0464822fe88032 \
- --hash=sha256:b86024e52a1b269467a802258c25521e6d742349d760728092e1bc2d135b4d76 \
- --hash=sha256:bd9c0c7a0c681a347b3194c500cb1e6ca9cab053ea4d82a5cf45b6b754560136 \
- --hash=sha256:bfa9c230d2fe991bed5318a5f119bd6780cda2915cca595393649fc118ab895e \
- --hash=sha256:d362d1878f00c142b7e1a16e6e5e780f02be8195123f164edf7eddd911eefe7c \
- --hash=sha256:d5d38f1411c0ed9f97bcb49b7bd59b6b7c314e0e27420e34d99d844b9ce3b6f3 \
- --hash=sha256:dac8d77255a37e81a2efcbd1fc05f1c15ee82200e6c240d7e127e25e365c39ea \
- --hash=sha256:dd025009355c926a84a612fecf58bb315a3f6814b17ead51a8e48d3823d9087f \
- --hash=sha256:deede7c263feb25dba4e82ea23058a235dcc2fe1f6021025dc71f2b618e26104 \
- --hash=sha256:e74473c875d78b8e9d5da2a70f7099549f9eb37ded4e2f6a463e60125bccd176 \
- --hash=sha256:ee3120ae9dff32f121610bb08e4313be87e03efeadfc6c0d18f89127e24d0c24 \
- --hash=sha256:eedf4b74eda2b5a4b2b2fb4c006d6295df3bf29e459e198c90ea48e130dc75c3 \
- --hash=sha256:efd8c21c98c5cc60653bcb311bef2ce0401642b7ce9d09e03a7da87c878289d4 \
- --hash=sha256:f1c943e96e85df3d3478f7b691f229887e143f81fedab9b20205349ab04d73ed \
- --hash=sha256:f278f034eb75b4e8a13a54a876cc4a5ab39173d2cdd93a638e1b467fc545ac43 \
- --hash=sha256:f3f40b3c5a968281fd507d519e444c35f0ff171237f4fdde090dd60699458421 \
- --hash=sha256:f490f9368b6fc026f021db16d7ec2fbf7d89e2edb42e8ec09d2c60505f5729c7 \
- --hash=sha256:fb043ee2f06b41473269765c2feae53fc2e2fbf96e5e22ca94fb5ad677856f06 \
- --hash=sha256:fc3d34d4a8fbec3e88a79b92e5465e0f9b842b628675850d860b8bd300b159f5
# via
+ # -c requirements-full.lock
+ # markitdown
+pillow==12.3.0 \
+ --hash=sha256:00808c5e14ef63ac5161091d242999076604ff74b883423a11e5d7bbb38bf756 \
+ --hash=sha256:04f01d28a6aaff387bf842a13be313df23ba0597a44f1a976c9feb3c6ff4711a \
+ --hash=sha256:06ff022112bc9cbf83b60f8e028d94ad87b60621706487e65f673de61610ab59 \
+ --hash=sha256:0740a512dc522224c77d9aa5a8d70d8b7d73fb91f2c21125d8d025d3b8990e45 \
+ --hash=sha256:0847a763afefb695bc912d7c131e7e0632d4edc1d8698f58ddabec8e46b8b6d3 \
+ --hash=sha256:0dd2064cbc55aaec028ef5fbb60fa47bb6c3e7918e07ff17935284b227a9d2df \
+ --hash=sha256:0feb2e9d6ad6c9e3c06effe9d00f3f1e618a6643273576b016f591e9315a7139 \
+ --hash=sha256:10e41f0fbf1eec8cfd234b8fe17a4caac7c9d0db4c204d3c173a8f9f6ef3232b \
+ --hash=sha256:1182d52bc2d5e5d7d0949503aa7e36d12f42205dc287e4883f407b1988820d39 \
+ --hash=sha256:164b31cd1a0490ab6efae01aa5df49da7061be0af1b30e035b6e9a1bfe34ee6e \
+ --hash=sha256:1657923d2d45afb66526e5b933e5b3052e6bdea196c90d3abb2424e18c77dae8 \
+ --hash=sha256:186941b6aef820ad110fb01fb06eb925374dc3a21b17e37ec9a53b250c6fe2d1 \
+ --hash=sha256:1cca606cd25738df4ed873d5ad46bbdb3d83b5cbca291f6b4ff13a4df6b0bbe8 \
+ --hash=sha256:21900ce7ba264168cd50defae43cd75d25c833ad4ad6e73ffc5596d12e25ac89 \
+ --hash=sha256:236ff70b9312fb68943c703aa842ca6a758abfa45ac187a5e7c1452e96ef72b5 \
+ --hash=sha256:23aceaa007d6172b02c277f0cd359c79492bbb14f7072b4ede9fbcaf20648130 \
+ --hash=sha256:23d27a3e0307ec2244cc51e7287b919aa68d097504ebe19df4e76a98a3eea5bd \
+ --hash=sha256:24870b09b224f7ae3c39ed07d10e819d06f8720bc551847b1d623832b5b0e28d \
+ --hash=sha256:251bf95b67017e27b13d82f5b326234ca62d70f9cf4c2b9032de2358a3b12c7b \
+ --hash=sha256:25b9b82bb22e6e2b3cd07b39c68b7b862001226cb3dff7130d1cb914121b39ed \
+ --hash=sha256:28ce87c5ab450a9dd970b52e5aca5fe63ed432d18a2eaddd1979a00a1ba24ace \
+ --hash=sha256:300557495eb45ebb8aec96c2da9c4be642fbf7cd937278b4013ba894ea8eb0eb \
+ --hash=sha256:30f2aa603c41533cc25c05acd0da21636e84a315768feb631c937177db558931 \
+ --hash=sha256:331b624368d4f1d069149002f25f44bc61c8919ce8ddb3c45bdad8f6e2d89510 \
+ --hash=sha256:37d6d0a00072fd2948eb22bce7e1475f34569d90c87c59f7a2ec59541b77f7a6 \
+ --hash=sha256:37dc8f7bbb66efe481bb60defacef820c950c24713fb44962ed6aa2a50966de1 \
+ --hash=sha256:3b8182a766685eaa002637e28b4ec8d6b18819a0c71f579bf0dbaa5830297cce \
+ --hash=sha256:3edce1d53195db527e0191f84b71d02022de0540bf43a16ed734ed7537b07385 \
+ --hash=sha256:446c34dcc4324b084a53b705127dc15717b22c5e140ae0a3c38349d4efec071e \
+ --hash=sha256:4998562bf62a445225f22e07c896bb04b35b1b1f2eb6d760584c9c51d7a5f78c \
+ --hash=sha256:4b0a7fe987b14c31ebda6083f74f22b561fd3739bc0ac51e019622e3d72668c7 \
+ --hash=sha256:4e8c2a84d977f50b9daed6eeaf3baef67d00d5d74d932288f02cb94518ee3ace \
+ --hash=sha256:4f883547d4b7f0495ebe7056b0cc2aea76094e7a4abc8e933540f3271df27d9c \
+ --hash=sha256:514435a37670e3e5e08f3945b68718b6ed329bb84367777e16f9f4dfe1e61a0f \
+ --hash=sha256:53aa02d20d10c3d814d536aa4e5ac9b84ca0ff5a88377963b085ad6822f93e64 \
+ --hash=sha256:5594fc43d548a7ed94949d139aa1341b270f1863f11cfd37f5a6c8b778a6b67f \
+ --hash=sha256:571b9fcb07b97ef3a492028fb3d2dc0993ca23a06138b0315286566d29ef718a \
+ --hash=sha256:57b3d78c95ba9059768b10e28b813002261d3f3dfc55cc48b0c988f625175827 \
+ --hash=sha256:5afb51d599ea772b8365ae807ae557f18bccfe46ab261fd1c2a9ed700fc6eb17 \
+ --hash=sha256:6b02afb9b97f65fbca5f31db6a2a3ba21aa93030225f150fa3f249717e938fb4 \
+ --hash=sha256:6c0016e7b354317c4e9e525b937ac8596c38d2d232b419529b9cd7a1cd46e39a \
+ --hash=sha256:71d6097b330eea8fd15097780c8e89cb1a8ce7838669f48c5bacd6f663dd4701 \
+ --hash=sha256:756c768d0c9c2955feb7a56c37ea24aea2e369f8d36a88da270b6a9f19e62b5e \
+ --hash=sha256:78cb2c6865a35ab8ff8b75fd122f6033b92a62c82801110e48ddd6c936a45d91 \
+ --hash=sha256:7a743ff716f746fc19a9557f60dab1600d4613255f8a7aeb3cdde4db7eb15a66 \
+ --hash=sha256:85f998ea1848bc6757289e739cfbdda3a04adfd58b02fc018ce54d754a5ce468 \
+ --hash=sha256:8728f216dcdb6e6d555cf971cb34076139ad74b31fc2c14da4fafc741c5f6217 \
+ --hash=sha256:877c3f311ff35410f690861c4409e7ccbf0cd2f878e50628a28e5a0bb689e658 \
+ --hash=sha256:8cd2f7bdda092d99c9fc2fb7391354f306d01443d22785d0cbfafa2e2c8bb418 \
+ --hash=sha256:8e95e1385e4998ae9694eeaa4730ba5457ff61185b3a55e2e7bea0880aef452a \
+ --hash=sha256:962864dc93511324d51ddbb5b9f8731bf71675b93ca612a07441896f4688fb8c \
+ --hash=sha256:9cf95fe4d0f84c82d282745d9bb08ad9f926efa00be4697e767b814ce40d4330 \
+ --hash=sha256:9e881fca225083806662a5c43d627d215f258ff43c890f831966c7d7ba9c7402 \
+ --hash=sha256:a2b55dd6b2a4c4b7d87ffa56bdb33fdc5fdb9a462173861a7bc097f17d91cb09 \
+ --hash=sha256:a45650e8ce7fafffd731db8550230db6b0d306d181a90b67d3e6bca2f1990930 \
+ --hash=sha256:a876864214e136f0eb367788dbd7df045f4806801518e2cfe9e13229cfe06d8f \
+ --hash=sha256:ae26d61dfa7a47befdc7572b521024e8745f3d809bd95ca9505a7bba9ef849ec \
+ --hash=sha256:af8d94b0db561cf68b88a267c5c44b49e134f525d0dc2cb7ed413a66bc23559a \
+ --hash=sha256:b343699e8308bdc51978310e1c959c584e7869cc8c40780058c87da7781a1e94 \
+ --hash=sha256:b3c777e849237620b022f7f297dd67705f9f5cf1685f09f02e46f93e92725468 \
+ --hash=sha256:b629de27fda84b42cde7edef0d85f13b958b47f6e9bbcbba9b673c562a89bd8b \
+ --hash=sha256:ba09209fbe443b4acccebe845d8a138b89a8f4fbaeedd44953490b5315d5e965 \
+ --hash=sha256:ba54cfebe86920a559a7c4d6b9050791c20513650a1952ebe3368c7dc70306f8 \
+ --hash=sha256:bcb46e2f9feff8d06323983bd83ed00c201fdcab3d74973e7072a889b3979fcd \
+ --hash=sha256:bcc33feacfaefce60c12fd500a277533bdc02b10a19f7f6d348763d8140bbba7 \
+ --hash=sha256:bf16ba1b4d0b6b7c8e534936632270cf70eb00dbe09005bc345b2677b726855c \
+ --hash=sha256:cf1845d02ad822a369a49f2bb9345b1614744267682e7a03527dc3bf6eea1777 \
+ --hash=sha256:d69141514cc30b774ceea5e3ed3a6635c8d8a96edf664689b890f4089111fb35 \
+ --hash=sha256:d9c7f76c0673154f044e9d78c8655fb4213f6ca31a836df48b40fe5d187717b9 \
+ --hash=sha256:dbce0b29841537a2fa4a214c2bbf14de3587c9680caa9b4e217568472490b28f \
+ --hash=sha256:dc624f6bc473dacdf7ef7eb8678d0d08edf15cd94fad6ae5c7d6cc67a4e4902f \
+ --hash=sha256:e158cb00350dc278f3b91551101aa7d12415a66ebf2c91d8d5ac14e56ddd3ad0 \
+ --hash=sha256:e491916b378fba47242221bb9ead245211b70d504f495d105d17b14a24b4907c \
+ --hash=sha256:e795b7eb908249c4e43c7c99fac7c2c75dab0c43566e37db472a355f63693d71 \
+ --hash=sha256:e7e480451b9fa137494bccd3a7d69adbe8ac65a87d97be61e11f1b1050a5bac3 \
+ --hash=sha256:e91206ee562682b51b98ef4b26a6ef48fd84e15fd4c4bc5ec768eb641d206838 \
+ --hash=sha256:e9871b1ffbfa9656b60aeee92ed5136a5742696006fa322b29ea3d8da0ecc9cf \
+ --hash=sha256:e9aeb04d6aef139de265b29683e119b638208f88cf73cdd1658aa07221165321 \
+ --hash=sha256:ebaea975e03d3141d9d3a507df75c9b3ec90fa9d2ffd07567b3a978d9d790b26 \
+ --hash=sha256:f0606c8bf2cdefea14a43530f7657cbbb7ecf1c4222512492ef4a4434a9501ec \
+ --hash=sha256:f13c32a3abd6079a66d9526e18dad9b6d280384d49d7c54040cd57b6424041d9 \
+ --hash=sha256:f7401aebd7f581d7f83a439d87d474999317ee099218e5ad25d125290990ba65 \
+ --hash=sha256:fa4ecea169a355be7a3ade2c783e2ed12f0e40d2c5621cda8b3297faf7fbb9f5 \
+ --hash=sha256:fbd139c8447d25dd750ab79ee274cc5e1fe80fc56340ab10b18a195e1b6eca3e \
+ --hash=sha256:fdafc9cce40277e0f7a0feabce0ee50dd2fa1800f3b38015e51296b5e814048d \
+ --hash=sha256:fe3cca2e4e8a592be0f269a1ca4835c25199d9f3ce815c8491048f785b0a0198 \
+ --hash=sha256:ffd0c5368496f41b0944be820fcb7a838aa6e623d250b01acf2643939c3f99d7
+ # via
+ # -c requirements-full.lock
# pdfplumber
# python-pptx
-protobuf==7.35.1 \
- --hash=sha256:11d6b0ec246892d85215b0a13ca6e0233cf5284b68f0ac02646427f4ff88a799 \
- --hash=sha256:230a75ddfc2de4806e56696ce9640c1cdfdb6543b7cfce98d42a4c0a0e7bdb87 \
- --hash=sha256:24f857477359a85c0c235261b8ba905fd51b2562f4a64ca1df5473f29850cbf6 \
- --hash=sha256:353652e4efd0bca5b5fc2656abf8307ef351f0cf938c9eba09f0e09c20a25c30 \
- --hash=sha256:4bc97768d8fe4ad6743c8a19403e314511ed9f6d13205b687e52421c023ac1b9 \
- --hash=sha256:74758715c53d7158fb76caf4f0cfdacc5329a4b1bb994f865d6cf302d413a1c4 \
- --hash=sha256:b73f9489a4b8b1c9cb1f8ed951c736392592edb24b9d6819f36d2e10b171d5b4 \
- --hash=sha256:ce115a26fe0c39a2c29973d914d327e516a6455464489fe3cd1e51a1b354f81a
- # via onnxruntime
-pycparser==3.0 \
+protobuf==7.36.0 \
+ --hash=sha256:1781cc1de61249b750848029bca452c0a8b7e990080316b9bbc2518b2117b488 \
+ --hash=sha256:3297e60abdff301e5f74393d87f6cc59dacab5f024a89548a6e8de1d26576b16 \
+ --hash=sha256:53374d53fc29a67f7dbbf0ade47d7526a0f0137bf0f9c90e48d8a60790ef748c \
+ --hash=sha256:70f5ec8eb0da81a44360c0dc0beac99a0d78071d21956a7076bae8bd2051841b \
+ --hash=sha256:7326fd717bdc419162a735938d89d4032332bcc3408804012b24ff3a37086071 \
+ --hash=sha256:9103532dffd80c6fab7e50c65a31007680a06eb57537d437bb1b35812c138a37 \
+ --hash=sha256:bf94a5917c71058262de683669bc0a797a7669d3de71f0b36d058e3194f47b44 \
+ --hash=sha256:e8e09cb0d794c6687926fa558a8a6e72aa10edb997d5ca61da0765f12a3e00ea
+ # via
+ # -c requirements-full.lock
+ # onnxruntime
+pycparser==3.0 ; implementation_name != 'PyPy' and platform_python_implementation != 'PyPy' \
--hash=sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29 \
--hash=sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992
- # via cffi
+ # via
+ # -c requirements-full.lock
+ # cffi
pydantic==2.13.4 \
--hash=sha256:45a282cde31d808236fd7ea9d919b128653c8b38b393d1c4ab335c62924d9aba \
--hash=sha256:c40756b57adaa8b1efeeced5c196f3f3b7c435f90e84ea7f443901bec8099ef6
- # via openai
+ # via
+ # -c requirements-full.lock
+ # openai
pydantic-core==2.46.4 \
--hash=sha256:00c603d540afdd6b80eb39f078f33ebd46211f02f33e34a32d9f053bba711de0 \
--hash=sha256:0186750b482eefa11d7f435892b09c5c606193ef3375bcf94aa00ae6bfb66262 \
@@ -1025,7 +1160,9 @@ pydantic-core==2.46.4 \
--hash=sha256:fc010ab034c8c7452522748bf937df58020d256ccae0874463d1f4d01758af8e \
--hash=sha256:fc3e9034a63de20e15e8ade85358bc6efc614008cab72898b4b4952bea0509ff \
--hash=sha256:fd8b3d9fd264be37976686c7f65cd52a83f5e84f4bfd2adf9c1d469676bbb6ae
- # via pydantic
+ # via
+ # -c requirements-full.lock
+ # pydantic
pypdfium2==5.13.0 \
--hash=sha256:07f58e91b8c45ca144a1ff3008faf3c73ef8a5e9fb32988831788363288228cd \
--hash=sha256:2abedfb5c70992b19c780ed58d7f7b929e8ce8ee52c9140158f44317c90ec6c7 \
@@ -1049,53 +1186,63 @@ pypdfium2==5.13.0 \
--hash=sha256:d96929bde3bd64c771ab3558ca1ffd7704cc4d872ab92cd9f8f8b8a20f7f36b8 \
--hash=sha256:d96beb7f379e6c76d874ca93fcd182ac3168dd499056407070f9927fb1061b8e \
--hash=sha256:da5c7b74eebf40b5c1fbe1de01aa1edc8827a79fb1efd999616bc20dcaf77ba4
- # via pdfplumber
-pyreadline3==3.5.6 \
- --hash=sha256:61e53218b99656091ddb077df9e71f25850e72e030b6183b39c9b7e6e4f4a9bf \
- --hash=sha256:8449b734232e42a5dcd74048e39b60db2839a4c38cf3ae2bf7707d58b5389c0d
- # via humanfriendly
+ # via
+ # -c requirements-full.lock
+ # pdfplumber
python-dateutil==2.9.0.post0 \
--hash=sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3 \
--hash=sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427
- # via pandas
-python-dotenv==1.2.2 \
- --hash=sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a \
- --hash=sha256:2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3
- # via magika
+ # via
+ # -c requirements-full.lock
+ # pandas
+python-dotenv==1.2.3 \
+ --hash=sha256:904552145e8bfed22162c09dab1c2b9b54fefa7b23ba780f4f26ca0316b0f0d9 \
+ --hash=sha256:a20a594dabeaa385725aa239d5244871c143ecb356add8a20fcf23773a6c3a35
+ # via
+ # -c requirements-full.lock
+ # magika
python-pptx==1.0.2 \
--hash=sha256:160838e0b8565a8b1f67947675886e9fea18aa5e795db7ae531606d68e785cba \
--hash=sha256:479a8af0eaf0f0d76b6f00b0887732874ad2e3188230315290cd1f9dd9cc7095
- # via markitdown
+ # via
+ # -c requirements-full.lock
+ # markitdown
requests==2.34.2 \
--hash=sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0 \
--hash=sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed
- # via markitdown
+ # via
+ # -c requirements-full.lock
+ # markitdown
six==1.17.0 \
--hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 \
--hash=sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
# via
+ # -c requirements-full.lock
# markdownify
# python-dateutil
sniffio==1.3.1 \
--hash=sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2 \
--hash=sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc
- # via openai
-soupsieve==2.8.4 \
- --hash=sha256:e121fd02e975c695e4e9e8774a5ee35d74714b59307868dcc5319ad2d9e3328e \
- --hash=sha256:e7e6b0769c8f51ed59acab6e994b00621096cfb1c640a7509295987388fbaf65
- # via beautifulsoup4
-sympy==1.14.0 \
- --hash=sha256:d3d3fe8df1e5a0b42f0e7bdf50541697dbe7d23746e894990c030e2b05e72517 \
- --hash=sha256:e091cc3e99d2141a0ba2847328f5479b05d94a6635cb96148ccb3f34671bd8f5
- # via onnxruntime
-tqdm==4.68.3 \
- --hash=sha256:00dfa48452b6b6cfae3dd9885636c23d3422d1ec97c66d96818cbd5e0821d482 \
- --hash=sha256:39832cc2def2789a6f29df83f172db7416cea70052c0907a57801c5f2fdccb03
- # via openai
-typing-extensions==4.15.0 \
- --hash=sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466 \
- --hash=sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548
# via
+ # -c requirements-full.lock
+ # openai
+soupsieve==2.9.2 \
+ --hash=sha256:4a55d8cf158a9c2e587fa4922f1bbb91d68ac829e2d6f25403a85747c71daf74 \
+ --hash=sha256:8089a26fd974ca7a1f30276d3d8492ab266ab15af581642dfe8aa162e0c1c823
+ # via
+ # -c requirements-full.lock
+ # beautifulsoup4
+tqdm==4.70.0 \
+ --hash=sha256:55b0b0dbd97462d06ebee91e4dac24ed4d4702be82b24f07e6c1d27e08cea220 \
+ --hash=sha256:7f585706bfddbdebf89daac705b2dfcc16890130727d3197ca62c732b4310953
+ # via
+ # -c requirements-full.lock
+ # openai
+typing-extensions==4.16.0 \
+ --hash=sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8 \
+ --hash=sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5
+ # via
+ # -c requirements-full.lock
# anyio
# beautifulsoup4
# openai
@@ -1103,23 +1250,33 @@ typing-extensions==4.15.0 \
# pydantic-core
# python-pptx
# typing-inspection
-typing-inspection==0.4.2 \
- --hash=sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7 \
- --hash=sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464
- # via pydantic
-tzdata==2026.2 \
- --hash=sha256:9173fde7d80d9018e02a662e168e5a2d04f87c41ea174b139fbef642eda62d10 \
- --hash=sha256:bbe9af844f658da81a5f95019480da3a89415801f6cc966806612cc7169bffe7
- # via pandas
+typing-inspection==0.4.4 \
+ --hash=sha256:547274fa6b0a561ccf549cc9524b999a578e737d015d8709d021f9d0d13bea47 \
+ --hash=sha256:65b8397ba37ccbce054456aaccddfc91e6e3083c92824df348d96ca832f3f147
+ # via
+ # -c requirements-full.lock
+ # pydantic
+tzdata==2026.3 ; sys_platform == 'emscripten' or sys_platform == 'win32' \
+ --hash=sha256:4a1518b8993086a7982523e071643f3c0e5f213e75b21318e78bcabfff9d1415 \
+ --hash=sha256:dc096730c87af6cab1b171c9d532be840741ff5d459015e7f6947bd7d7e54931
+ # via
+ # -c requirements-full.lock
+ # pandas
urllib3==2.7.0 \
--hash=sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c \
--hash=sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897
- # via requests
+ # via
+ # -c requirements-full.lock
+ # requests
xlrd==2.0.2 \
--hash=sha256:08b5e25de58f21ce71dc7db3b3b8106c1fa776f3024c54e45b45b374e89234c9 \
--hash=sha256:ea762c3d29f4cca48d82df517b6d89fbce4db3107f9d78713e48cd321d5c9aa9
- # via markitdown
+ # via
+ # -c requirements-full.lock
+ # markitdown
xlsxwriter==3.2.9 \
--hash=sha256:254b1c37a368c444eac6e2f867405cc9e461b0ed97a3233b2ac1e574efb4140c \
--hash=sha256:9a5db42bc5dff014806c58a20b9eae7322a134abb6fce3c92c181bfb275ec5b3
- # via python-pptx
+ # via
+ # -c requirements-full.lock
+ # python-pptx
diff --git a/app/src-tauri/resources/sidecar/requirements.txt b/app/src-tauri/resources/sidecar/requirements.txt
index eb23586..a50e4d8 100644
--- a/app/src-tauri/resources/sidecar/requirements.txt
+++ b/app/src-tauri/resources/sidecar/requirements.txt
@@ -1,2 +1,3 @@
markitdown[pdf,docx,pptx,xlsx,xls]>=0.1.7
+httpx>=0.28,<1
openai>=2.43,<3
diff --git a/app/src-tauri/resources/sidecar/tests/test_cleanup_reliability.py b/app/src-tauri/resources/sidecar/tests/test_cleanup_reliability.py
new file mode 100644
index 0000000..bb75c96
--- /dev/null
+++ b/app/src-tauri/resources/sidecar/tests/test_cleanup_reliability.py
@@ -0,0 +1,125 @@
+import asyncio
+import sys
+import unittest
+from pathlib import Path
+from unittest.mock import AsyncMock, patch
+
+
+SIDECAR_DIR = Path(__file__).resolve().parents[1]
+sys.path.insert(0, str(SIDECAR_DIR))
+
+import cleanup # noqa: E402
+import main as sidecar_main # noqa: E402
+import provider # noqa: E402
+
+
+class CleanupChunkingTests(unittest.IsolatedAsyncioTestCase):
+ async def test_multi_chunk_cleanup_preserves_order_and_reports_progress(self):
+ original_target = cleanup._CHUNK_TARGET_CHARS
+ cleanup._CHUNK_TARGET_CHARS = 12
+ seen_chunks = []
+ progress = []
+
+ async def clean_chunk(chunk, *_args, **_kwargs):
+ seen_chunks.append(chunk)
+ return f"clean:{chunk}"
+
+ text = "first block\n\nsecond block\n\nthird block"
+ try:
+ with patch.object(cleanup, "_clean_one_chunk", side_effect=clean_chunk):
+ result = await cleanup.llm_clean(
+ text,
+ {"mode": "api", "model": "chosen"},
+ progress_cb=lambda done, total: progress.append((done, total)),
+ )
+ finally:
+ cleanup._CHUNK_TARGET_CHARS = original_target
+
+ self.assertEqual(seen_chunks, ["first block", "second block", "third block"])
+ self.assertEqual(
+ result,
+ "clean:first block\n\nclean:second block\n\nclean:third block",
+ )
+ self.assertEqual(progress, [(0, 3), (1, 3), (2, 3), (3, 3)])
+
+ async def test_empty_chunk_output_is_explicit_failure(self):
+ with patch.object(cleanup, "_clean_one_chunk", new=AsyncMock(return_value=" ")):
+ with self.assertRaises(provider.ProviderEmptyOutput):
+ await cleanup.llm_clean(
+ "source text",
+ {"mode": "api", "model": "chosen"},
+ )
+
+
+class SidecarCleanupFailureTests(unittest.IsolatedAsyncioTestCase):
+ async def _run_cleanup(self, failure):
+ sidecar = sidecar_main.Sidecar()
+ messages = []
+
+ async def capture(message):
+ messages.append(message)
+
+ sidecar.write = capture
+ with patch.object(cleanup, "llm_clean", new=AsyncMock(side_effect=failure)):
+ await sidecar._cleanup_ai(
+ "cleanup-test",
+ "Original Markdown",
+ {"key": "secret-key"},
+ asyncio.Event(),
+ )
+ return messages[-1]["result"]
+
+ async def test_inactivity_keeps_original_with_distinct_notice(self):
+ result = await self._run_cleanup(
+ provider.ProviderIdleTimeout("The provider sent no response data for 1 seconds.")
+ )
+ self.assertEqual(result["markdown"], "Original Markdown")
+ self.assertFalse(result["llm_applied"])
+ self.assertIn("stopped because", result["llm_notice"])
+ self.assertIn("no response data", result["llm_notice"])
+
+ async def test_empty_output_keeps_original_with_distinct_notice(self):
+ result = await self._run_cleanup(provider.ProviderEmptyOutput("no text"))
+ self.assertEqual(result["markdown"], "Original Markdown")
+ self.assertEqual(
+ result["llm_notice"],
+ "AI cleanup returned no text — kept the original text.",
+ )
+
+ async def test_malformed_response_keeps_original_with_distinct_notice(self):
+ result = await self._run_cleanup(provider.ProviderMalformedResponse("bad response"))
+ self.assertEqual(result["markdown"], "Original Markdown")
+ self.assertEqual(
+ result["llm_notice"],
+ "AI cleanup received an invalid provider response — kept the original text.",
+ )
+
+ async def test_provider_failure_keeps_original_and_redacts_key(self):
+ result = await self._run_cleanup(RuntimeError("request failed for secret-key"))
+ self.assertEqual(result["markdown"], "Original Markdown")
+ self.assertIn("provider failed", result["llm_notice"])
+ self.assertNotIn("secret-key", result["llm_notice"])
+ self.assertIn("[key]", result["llm_notice"])
+
+ async def test_cancellation_returns_cancelled_error_without_result(self):
+ sidecar = sidecar_main.Sidecar()
+ messages = []
+ cancel_event = asyncio.Event()
+ cancel_event.set()
+
+ async def capture(message):
+ messages.append(message)
+
+ sidecar.write = capture
+ await sidecar._cleanup_ai(
+ "cleanup-cancel",
+ "Original Markdown",
+ {},
+ cancel_event,
+ )
+ self.assertFalse(messages[-1]["ok"])
+ self.assertEqual(messages[-1]["error"]["code"], "CANCELLED")
+
+
+if __name__ == "__main__":
+ unittest.main()
diff --git a/app/src-tauri/resources/sidecar/tests/test_provider_streaming.py b/app/src-tauri/resources/sidecar/tests/test_provider_streaming.py
new file mode 100644
index 0000000..0013f8d
--- /dev/null
+++ b/app/src-tauri/resources/sidecar/tests/test_provider_streaming.py
@@ -0,0 +1,250 @@
+import asyncio
+import json
+import sys
+import unittest
+from pathlib import Path
+
+
+SIDECAR_DIR = Path(__file__).resolve().parents[1]
+sys.path.insert(0, str(SIDECAR_DIR))
+
+import provider # noqa: E402
+import main as sidecar_main # noqa: E402
+
+
+def _sse(text: str) -> bytes:
+ event = {"choices": [{"delta": {"content": text}}]}
+ return f"data: {json.dumps(event)}\n\n".encode()
+
+
+class OpenAIStreamingTests(unittest.IsolatedAsyncioTestCase):
+ async def asyncSetUp(self) -> None:
+ self.responder = None
+
+ async def handle(reader: asyncio.StreamReader, writer: asyncio.StreamWriter):
+ try:
+ head = await reader.readuntil(b"\r\n\r\n")
+ content_length = 0
+ for line in head.decode(errors="replace").split("\r\n"):
+ if line.lower().startswith("content-length:"):
+ content_length = int(line.split(":", 1)[1].strip())
+ if content_length:
+ await reader.readexactly(content_length)
+ await self.responder(writer)
+ except (ConnectionError, asyncio.IncompleteReadError):
+ # Cancellation intentionally closes the client socket while the
+ # fixture server may still be writing the next token.
+ pass
+ finally:
+ writer.close()
+ try:
+ await writer.wait_closed()
+ except ConnectionError:
+ pass
+
+ self.server = await asyncio.start_server(handle, "127.0.0.1", 0)
+ port = self.server.sockets[0].getsockname()[1]
+ self.base_url = f"http://127.0.0.1:{port}/v1"
+
+ async def asyncTearDown(self) -> None:
+ self.server.close()
+ await self.server.wait_closed()
+
+ async def test_generation_can_exceed_idle_window_when_data_keeps_arriving(self):
+ async def respond(writer):
+ writer.write(
+ b"HTTP/1.1 200 OK\r\n"
+ b"Content-Type: text/event-stream\r\n"
+ b"Connection: close\r\n\r\n"
+ )
+ await writer.drain()
+ for piece in ("one", " ", "two", " ", "three"):
+ await asyncio.sleep(0.04)
+ writer.write(_sse(piece))
+ await writer.drain()
+ writer.write(b"data: [DONE]\n\n")
+ await writer.drain()
+
+ self.responder = respond
+ result = await provider.chat_openai_compat(
+ self.base_url, "key", "model", "system", "user",
+ idle_timeout=0.08,
+ )
+ self.assertEqual(result, "one two three")
+
+ async def test_silent_stream_raises_provider_idle_timeout(self):
+ async def respond(writer):
+ writer.write(
+ b"HTTP/1.1 200 OK\r\n"
+ b"Content-Type: text/event-stream\r\n"
+ b"Connection: close\r\n\r\n"
+ )
+ await writer.drain()
+ await asyncio.sleep(0.12)
+
+ self.responder = respond
+ with self.assertRaises(provider.ProviderIdleTimeout):
+ await provider.chat_openai_compat(
+ self.base_url, "key", "model", "system", "user",
+ idle_timeout=0.04,
+ )
+
+ async def test_cancel_event_aborts_an_active_stream(self):
+ async def respond(writer):
+ writer.write(
+ b"HTTP/1.1 200 OK\r\n"
+ b"Content-Type: text/event-stream\r\n"
+ b"Connection: close\r\n\r\n"
+ )
+ await writer.drain()
+ for piece in ("one", "two", "three"):
+ await asyncio.sleep(0.02)
+ writer.write(_sse(piece))
+ await writer.drain()
+
+ self.responder = respond
+ cancelled = asyncio.Event()
+
+ def mark_activity():
+ cancelled.set()
+
+ with self.assertRaises(asyncio.CancelledError):
+ await provider.chat_openai_compat(
+ self.base_url, "key", "model", "system", "user",
+ idle_timeout=0.2, cancel_event=cancelled,
+ activity_cb=mark_activity,
+ )
+
+ async def test_json_response_is_accepted_from_compatible_server(self):
+ async def respond(writer):
+ body = json.dumps({
+ "choices": [{"message": {"content": "cleaned"}}]
+ }).encode()
+ writer.write(
+ b"HTTP/1.1 200 OK\r\n"
+ b"Content-Type: application/json\r\n"
+ + f"Content-Length: {len(body)}\r\n".encode()
+ + b"Connection: close\r\n\r\n"
+ + body
+ )
+ await writer.drain()
+
+ self.responder = respond
+ result = await provider.chat_openai_compat(
+ self.base_url, "key", "model", "system", "user",
+ idle_timeout=0.2,
+ )
+ self.assertEqual(result, "cleaned")
+
+ async def test_streaming_rejection_falls_back_to_async_json(self):
+ calls = 0
+
+ async def respond(writer):
+ nonlocal calls
+ calls += 1
+ if calls == 1:
+ body = b'{"error":"stream is unsupported"}'
+ status = b"HTTP/1.1 400 Bad Request\r\n"
+ else:
+ body = json.dumps({
+ "choices": [{"message": {"content": "fallback"}}]
+ }).encode()
+ status = b"HTTP/1.1 200 OK\r\n"
+ writer.write(
+ status
+ + b"Content-Type: application/json\r\n"
+ + f"Content-Length: {len(body)}\r\n".encode()
+ + b"Connection: close\r\n\r\n"
+ + body
+ )
+ await writer.drain()
+
+ self.responder = respond
+ result = await provider.chat_openai_compat(
+ self.base_url, "key", "model", "system", "user",
+ idle_timeout=0.2,
+ )
+ self.assertEqual(result, "fallback")
+ self.assertEqual(calls, 2)
+
+ async def test_malformed_stream_raises_a_safe_response_error(self):
+ async def respond(writer):
+ writer.write(
+ b"HTTP/1.1 200 OK\r\n"
+ b"Content-Type: text/event-stream\r\n"
+ b"Connection: close\r\n\r\n"
+ b"data: this is not JSON\n\n"
+ b"data: [DONE]\n\n"
+ )
+ await writer.drain()
+
+ self.responder = respond
+ with self.assertRaises(provider.ProviderMalformedResponse):
+ await provider.chat_openai_compat(
+ self.base_url, "key", "model", "system", "user",
+ idle_timeout=0.2,
+ )
+
+ async def test_empty_json_response_raises_empty_output_error(self):
+ async def respond(writer):
+ body = json.dumps({
+ "choices": [{"message": {"content": ""}}]
+ }).encode()
+ writer.write(
+ b"HTTP/1.1 200 OK\r\n"
+ b"Content-Type: application/json\r\n"
+ + f"Content-Length: {len(body)}\r\n".encode()
+ + b"Connection: close\r\n\r\n"
+ + body
+ )
+ await writer.drain()
+
+ self.responder = respond
+ with self.assertRaises(provider.ProviderEmptyOutput):
+ await provider.chat_openai_compat(
+ self.base_url, "key", "model", "system", "user",
+ idle_timeout=0.2,
+ )
+
+ async def test_sidecar_cleanup_uses_streamed_result(self):
+ async def respond(writer):
+ writer.write(
+ b"HTTP/1.1 200 OK\r\n"
+ b"Content-Type: text/event-stream\r\n"
+ b"Connection: close\r\n\r\n"
+ )
+ await writer.drain()
+ for piece in ("Original", " text", "."):
+ await asyncio.sleep(0.01)
+ writer.write(_sse(piece))
+ await writer.drain()
+ writer.write(b"data: [DONE]\n\n")
+ await writer.drain()
+
+ self.responder = respond
+ sidecar = sidecar_main.Sidecar()
+ messages = []
+
+ async def capture(message):
+ messages.append(message)
+
+ sidecar.write = capture
+ await sidecar._cleanup_ai(
+ "cleanup-1",
+ "Original text.",
+ {
+ "mode": "api",
+ "api_type": "openai_compat",
+ "base_url": self.base_url,
+ "key": "key",
+ "model": "model",
+ },
+ asyncio.Event(),
+ )
+ result = messages[-1]["result"]
+ self.assertTrue(result["llm_applied"])
+ self.assertEqual(result["markdown"], "Original text.")
+
+
+if __name__ == "__main__":
+ unittest.main()
diff --git a/app/src-tauri/src/bootstrap.rs b/app/src-tauri/src/bootstrap.rs
index 705f97f..7ad95f9 100644
--- a/app/src-tauri/src/bootstrap.rs
+++ b/app/src-tauri/src/bootstrap.rs
@@ -1,673 +1,22 @@
-use std::fs;
-use std::path::{Path, PathBuf};
-use tauri::{AppHandle, Emitter, Manager};
+//! Public provisioning API — delegates to the runtime manager and platform layer.
-use crate::ipc::{DownloadDetail, ProgressPayload};
+use std::path::PathBuf;
-// ── Platform constants ─────────────────────────────────────────────────────
+use tauri::AppHandle;
-#[cfg(target_os = "windows")]
-mod platform {
- pub const UV_URL: &str = "https://github.com/astral-sh/uv/releases/download/0.5.11/uv-x86_64-pc-windows-msvc.zip";
- pub const UV_SHA256: &str = "3e8203e6434b45427f20824419f8d8d53f970a76d94ccdcad07f8498fa01a9d0";
- pub const UV_ARCHIVE: &str = "uv.zip";
- pub const UV_BIN: &str = "uv.exe";
- pub const PYTHON_BIN: &str = "Scripts/python.exe";
- pub const UV_LABEL: &str = "uv 0.5.11 — Python package manager (Windows x64)";
-}
-
-#[cfg(all(target_os = "macos", target_arch = "aarch64"))]
-mod platform {
- pub const UV_URL: &str = "https://github.com/astral-sh/uv/releases/download/0.5.11/uv-aarch64-apple-darwin.tar.gz";
- pub const UV_SHA256: &str = "695f3640d5b1a4e28de7e36e3a2e14072852dcc6c70bf9e4deec6ada00d516b4";
- pub const UV_ARCHIVE: &str = "uv.tar.gz";
- pub const UV_BIN: &str = "uv";
- pub const PYTHON_BIN: &str = "bin/python";
- pub const UV_LABEL: &str = "uv 0.5.11 — Python package manager (macOS arm64)";
-}
-
-#[cfg(all(target_os = "macos", target_arch = "x86_64"))]
-mod platform {
- pub const UV_URL: &str = "https://github.com/astral-sh/uv/releases/download/0.5.11/uv-x86_64-apple-darwin.tar.gz";
- pub const UV_SHA256: &str = "7e23d1d892c23f9e74245c4fd3d3e246438ce9b34460f85eee61f784de137b0b";
- pub const UV_ARCHIVE: &str = "uv.tar.gz";
- pub const UV_BIN: &str = "uv";
- pub const PYTHON_BIN: &str = "bin/python";
- pub const UV_LABEL: &str = "uv 0.5.11 — Python package manager (macOS x64)";
-}
-
-// ── State helpers ──────────────────────────────────────────────────────────
-
-#[derive(serde::Serialize, serde::Deserialize, Clone, Default)]
-pub struct OptionalEngineState {
- #[serde(default)]
- pub status: String, // "not_installed" | "installed" | "failed"
- #[serde(default)]
- pub error: Option<String>,
-}
-
-#[derive(serde::Serialize, serde::Deserialize, Default)]
-struct OptionalEnginesState {
- #[serde(default)]
- ocr: OptionalEngineState,
- #[serde(default)]
- audio: OptionalEngineState,
-}
-
-#[derive(serde::Serialize, serde::Deserialize)]
-struct ProvisionState {
- status: String,
- version: String,
- #[serde(default)]
- optional: OptionalEnginesState,
-}
+pub use crate::runtime::{
+ install_optional_engine, is_provisioned, on_successful_launch, optional_engine_status,
+ provision, python_path, runtime_status, OptionalEngineState,
+};
-fn emit(app: &AppHandle, step: &str, message: &str, pct: f32) {
- let _ = app.emit(
- "provision:progress",
- ProgressPayload {
- step: step.to_string(),
- message: message.to_string(),
- pct,
- detail: None,
- },
- );
-}
-
-/// Emit a progress event carrying live download metrics (label + bytes + speed).
-fn emit_detail(
- app: &AppHandle,
- step: &str,
- message: &str,
- pct: f32,
- detail: DownloadDetail,
-) {
- let _ = app.emit(
- "provision:progress",
- ProgressPayload {
- step: step.to_string(),
- message: message.to_string(),
- pct,
- detail: Some(detail),
- },
- );
-}
-
-pub fn app_data_dir(app: &AppHandle) -> PathBuf {
- app.path().app_data_dir().expect("app data dir unavailable")
-}
-
-pub fn is_provisioned(app: &AppHandle) -> bool {
- let path = app_data_dir(app).join(".provision-state.json");
- fs::read_to_string(path)
- .ok()
- .and_then(|s| serde_json::from_str::<ProvisionState>(&s).ok())
- .map(|s| s.status == "ready")
+/// Legacy alias retained for callers that checked bundled runtime directly.
+pub fn is_bundled_runtime(app: &AppHandle) -> bool {
+ crate::runtime::RuntimeContext::resolve(app)
+ .map(|ctx| ctx.is_full())
.unwrap_or(false)
}
-fn read_state(app: &AppHandle) -> ProvisionState {
- let path = app_data_dir(app).join(".provision-state.json");
- fs::read_to_string(path)
- .ok()
- .and_then(|s| serde_json::from_str::<ProvisionState>(&s).ok())
- .unwrap_or_else(|| ProvisionState {
- status: "not_provisioned".into(),
- version: env!("CARGO_PKG_VERSION").to_string(),
- optional: OptionalEnginesState::default(),
- })
-}
-
-fn write_state(app: &AppHandle, state: &ProvisionState) -> Result<(), String> {
- let dir = app_data_dir(app);
- fs::create_dir_all(&dir).map_err(|e| {
- format!(
- "Cannot create app data folder at {}.\n\nCheck that you have write permission.\n\nDetail: {e}",
- dir.display()
- )
- })?;
- // Atomic write: write to .tmp then rename. A crash mid-write won't leave a
- // truncated state file that forces a full re-provision.
- let final_path = dir.join(".provision-state.json");
- let tmp_path = dir.join(".provision-state.json.tmp");
- let json = serde_json::to_string(state)
- .map_err(|e| format!("State serialise error: {e}"))?;
- fs::write(&tmp_path, json.as_bytes())
- .map_err(|e| format!("Cannot write setup state: {e}"))?;
- fs::rename(&tmp_path, &final_path)
- .map_err(|e| format!("Cannot finalise setup state: {e}"))
-}
-
-fn set_state(app: &AppHandle, status: &str) -> Result<(), String> {
- let mut state = read_state(app);
- state.status = status.to_string();
- state.version = env!("CARGO_PKG_VERSION").to_string();
- write_state(app, &state)
-}
-
-fn emit_engine(app: &AppHandle, engine: &str, step: &str, message: &str, pct: f32) {
- use crate::ipc::EngineInstallProgress;
- let _ = app.emit("engine:install-progress", EngineInstallProgress {
- engine: engine.to_string(),
- step: step.to_string(),
- message: message.to_string(),
- pct,
- });
-}
-
-// ── Public API ─────────────────────────────────────────────────────────────
-
-pub fn optional_engine_status(app: &AppHandle, engine: &str) -> OptionalEngineState {
- let state = read_state(app);
- match engine {
- "ocr" => state.optional.ocr,
- "audio" => state.optional.audio,
- _ => OptionalEngineState::default(),
- }
-}
-
-pub async fn install_optional_engine(
- app: AppHandle,
- engine: String,
-) -> Result<(), String> {
- let lock_name = match engine.as_str() {
- "ocr" => "requirements-ocr.lock",
- "audio" => "requirements-audio.lock",
- other => return Err(format!("Unknown engine: {other}")),
- };
-
- let data_dir = app_data_dir(&app);
- let bin_dir = data_dir.join("bin");
- let venv_dir = data_dir.join("venv");
- let uv_path = bin_dir.join(platform::UV_BIN);
-
- if !uv_path.exists() {
- return Err("Setup tools not found. Restart the app to re-provision.".to_string());
- }
-
- // Hash-pinned engine lock (same supply-chain posture as the core install).
- let lock_path = get_sidecar_resource(&app, lock_name)?;
-
- // Mark as in-progress in provision state.
- {
- let mut state = read_state(&app);
- let slot = match engine.as_str() {
- "ocr" => &mut state.optional.ocr,
- "audio" => &mut state.optional.audio,
- _ => unreachable!(),
- };
- *slot = OptionalEngineState { status: "installing".into(), error: None };
- write_state(&app, &state)?;
- }
-
- let label = match engine.as_str() {
- "ocr" => "OCR engine (RapidOCR + pypdfium2)",
- "audio" => "audio engine (faster-whisper)",
- _ => "engine",
- };
- emit_engine(&app, &engine, "installing", &format!("Installing {label}…"), 0.1);
-
- let python = venv_dir.join(platform::PYTHON_BIN);
- let uv2 = uv_path.clone();
- let lock = lock_path.clone();
- let result = tokio::task::spawn_blocking(move || {
- let mut cmd = std::process::Command::new(&uv2);
- cmd.args([
- "pip", "install", "--python", &python.to_string_lossy(),
- "--require-hashes", "-r", &lock.to_string_lossy(),
- ]);
- crate::hide_console(&mut cmd);
- cmd.output()
- .map_err(|e| format!("Could not run package installer: {e}"))
- })
- .await
- .map_err(|e| format!("Internal error: {e}"))??;
-
- if result.status.success() {
- let mut state = read_state(&app);
- let slot = match engine.as_str() {
- "ocr" => &mut state.optional.ocr,
- "audio" => &mut state.optional.audio,
- _ => unreachable!(),
- };
- *slot = OptionalEngineState { status: "installed".into(), error: None };
- write_state(&app, &state)?;
- emit_engine(&app, &engine, "installed", &format!("{label} installed."), 1.0);
- Ok(())
- } else {
- let stderr = String::from_utf8_lossy(&result.stderr).to_string();
- let low = stderr.to_lowercase();
- let msg = if low.contains("network") || low.contains("timeout")
- || low.contains("connection") || low.contains("resolve")
- {
- format!("Could not download packages — check your internet connection.\n\nDetail: {stderr}")
- } else {
- format!("Installation failed.\n\nDetail: {stderr}")
- };
- let mut state = read_state(&app);
- let slot = match engine.as_str() {
- "ocr" => &mut state.optional.ocr,
- "audio" => &mut state.optional.audio,
- _ => unreachable!(),
- };
- *slot = OptionalEngineState { status: "failed".into(), error: Some(msg.clone()) };
- write_state(&app, &state)?;
- Err(msg)
- }
-}
-
-// ── Public API ─────────────────────────────────────────────────────────────
-
-pub async fn provision(app: AppHandle, force: bool) -> Result<(), String> {
- let data_dir = app_data_dir(&app);
- let bin_dir = data_dir.join("bin");
- let venv_dir = data_dir.join("venv");
-
- if force {
- // Best-effort cleanup; on Windows some files may be locked by a running
- // sidecar. Surface the error so the user knows to close the app and retry
- // rather than silently rebuilding on top of a half-removed venv.
- if let Err(e) = fs::remove_dir_all(&venv_dir) {
- if venv_dir.exists() {
- return Err(format!(
- "Could not remove the old Python environment (files may be in use).\n\nClose the app fully and try again.\n\nDetail: {e}"
- ));
- }
- }
- if let Err(e) = fs::remove_dir_all(&bin_dir) {
- if bin_dir.exists() {
- return Err(format!(
- "Could not remove old setup tools.\n\nClose the app fully and try again.\n\nDetail: {e}"
- ));
- }
- }
- }
-
- set_state(&app, "provisioning")?;
-
- // Step 1 — download uv
- emit(&app, "downloading_uv", "Downloading setup tools…", 0.05);
- let uv_path = download_uv(&app, &bin_dir).await.map_err(|e| {
- format!("Could not download setup tools.\n\nCheck your internet connection and try again.\n\nDetail: {e}")
- })?;
- emit(&app, "downloading_uv", "Setup tools ready.", 0.2);
-
- // Step 2 — create Python 3.12 venv (uv downloads Python automatically)
- emit(&app, "creating_env", "Setting up Python 3.12…", 0.25);
- let uv = uv_path.clone();
- let venv = venv_dir.clone();
- let app_venv = app.clone();
- tokio::task::spawn_blocking(move || create_venv(&app_venv, &uv, &venv))
- .await
- .map_err(|e| format!("Internal error: {e}"))??;
- emit(&app, "creating_env", "Python environment ready.", 0.45);
-
- // Step 3 — install packages
- emit(
- &app,
- "installing_packages",
- "Installing packages — this takes about a minute…",
- 0.5,
- );
- let requirements = get_requirements_path(&app)?;
- let uv2 = uv_path.clone();
- let venv2 = venv_dir.clone();
- let app_pkgs = app.clone();
- tokio::task::spawn_blocking(move || install_packages(&app_pkgs, &uv2, &venv2, &requirements))
- .await
- .map_err(|e| format!("Internal error: {e}"))??;
- emit(&app, "installing_packages", "Packages installed.", 0.9);
-
- set_state(&app, "ready")?;
- emit(&app, "done", "Ready.", 1.0);
- Ok(())
-}
-
-pub fn python_path(app: &AppHandle) -> PathBuf {
- app_data_dir(app)
- .join("venv")
- .join(platform::PYTHON_BIN)
-}
-
-// ── Download ───────────────────────────────────────────────────────────────
-
-async fn download_uv(app: &AppHandle, bin_dir: &Path) -> Result<PathBuf, String> {
- fs::create_dir_all(bin_dir).map_err(|e| e.to_string())?;
-
- let uv_path = bin_dir.join(platform::UV_BIN);
- if uv_path.exists() {
- // Validate the cached binary isn't a zero-byte/corrupt leftover from an
- // interrupted download. If validation fails, re-download.
- let valid = std::fs::metadata(&uv_path)
- .map(|m| m.len() > 1024)
- .unwrap_or(false);
- if valid {
- return Ok(uv_path);
- }
- }
-
- let client = reqwest::Client::builder()
- .timeout(std::time::Duration::from_secs(120))
- .build()
- .map_err(|e| e.to_string())?;
-
- let mut resp = client
- .get(platform::UV_URL)
- .send()
- .await
- .map_err(|e| e.to_string())?
- .error_for_status()
- .map_err(|e| e.to_string())?;
-
- let total = resp.content_length();
- let mut bytes: Vec<u8> = Vec::with_capacity(total.unwrap_or(0) as usize);
-
- // Stream the body chunk-by-chunk so we can report live bytes + speed. We map
- // download progress onto the 0.05–0.20 slice of the overall provisioning bar.
- use std::time::Instant;
- let started = Instant::now();
- let mut last_emit = Instant::now();
- // Rolling-window speed: bytes received since the previous sample.
- let mut window_start = Instant::now();
- let mut window_bytes: u64 = 0;
- let mut speed: f64 = 0.0;
-
- while let Some(chunk) = resp.chunk().await.map_err(|e| e.to_string())? {
- bytes.extend_from_slice(&chunk);
- window_bytes += chunk.len() as u64;
-
- // Recompute speed over a ~0.4s window so the number is responsive but not jumpy.
- let win = window_start.elapsed().as_secs_f64();
- if win >= 0.4 {
- speed = window_bytes as f64 / win;
- window_start = Instant::now();
- window_bytes = 0;
- }
-
- // Throttle UI events to ~10/sec.
- if last_emit.elapsed().as_millis() >= 100 {
- let received = bytes.len() as u64;
- let frac = total
- .map(|t| if t > 0 { received as f32 / t as f32 } else { 0.0 })
- .unwrap_or(0.0)
- .clamp(0.0, 1.0);
- emit_detail(
- app,
- "downloading_uv",
- "Downloading setup tools…",
- 0.05 + frac * 0.15,
- DownloadDetail {
- label: platform::UV_LABEL.to_string(),
- received,
- total,
- // Fall back to the running average before the first window closes.
- speed: if speed > 0.0 {
- speed
- } else {
- received as f64 / started.elapsed().as_secs_f64().max(0.001)
- },
- },
- );
- last_emit = Instant::now();
- }
- }
-
- // Integrity check: verify SHA256 against the pinned hash. An empty constant
- // means the hash hasn't been filled in yet (verification skipped). Pinning the
- // version URL is the primary defense against supply-chain attacks.
- if !platform::UV_SHA256.is_empty() {
- use sha2::{Digest, Sha256};
- let mut hasher = Sha256::new();
- hasher.update(&bytes);
- let actual = format!("{:x}", hasher.finalize());
- if actual != platform::UV_SHA256 {
- return Err(format!(
- "Setup tools failed integrity check (SHA256 mismatch).\n\nExpected: {}\nGot: {}\n\nThis may indicate a corrupted download or a compromised package. Try again, and if it persists, report this issue.",
- platform::UV_SHA256, actual
- ));
- }
- }
-
- let archive_path = bin_dir.join(platform::UV_ARCHIVE);
- fs::write(&archive_path, &bytes).map_err(|e| e.to_string())?;
-
- let dest = bin_dir.to_path_buf();
- let archive_clone = archive_path.clone();
- tokio::task::spawn_blocking(move || extract_uv(&archive_clone, &dest))
- .await
- .map_err(|e| e.to_string())??;
-
- let _ = fs::remove_file(&archive_path);
-
- #[cfg(unix)]
- set_executable(&uv_path)?;
-
- Ok(uv_path)
-}
-
-#[cfg(target_os = "windows")]
-fn extract_uv(archive: &Path, dest: &Path) -> Result<(), String> {
- let file = fs::File::open(archive).map_err(|e| e.to_string())?;
- let mut zip = zip::ZipArchive::new(file).map_err(|e| e.to_string())?;
- for i in 0..zip.len() {
- let mut entry = zip.by_index(i).map_err(|e| e.to_string())?;
- let name = entry.name().to_string();
- if name == platform::UV_BIN || name.ends_with(&format!("/{}", platform::UV_BIN)) {
- let mut out =
- fs::File::create(dest.join(platform::UV_BIN)).map_err(|e| e.to_string())?;
- std::io::copy(&mut entry, &mut out).map_err(|e| e.to_string())?;
- return Ok(());
- }
- }
- Err(format!("{} not found in archive", platform::UV_BIN))
-}
-
-#[cfg(target_os = "macos")]
-fn extract_uv(archive: &Path, dest: &Path) -> Result<(), String> {
- let file = fs::File::open(archive).map_err(|e| e.to_string())?;
- let gz = flate2::read::GzDecoder::new(file);
- let mut tar = tar::Archive::new(gz);
- for entry in tar.entries().map_err(|e| e.to_string())? {
- let mut entry = entry.map_err(|e| e.to_string())?;
- let path = entry.path().map_err(|e| e.to_string())?;
- let name = path.file_name().and_then(|n| n.to_str()).unwrap_or("");
- if name == platform::UV_BIN {
- entry
- .unpack(dest.join(platform::UV_BIN))
- .map_err(|e| e.to_string())?;
- return Ok(());
- }
- }
- Err(format!("{} not found in archive", platform::UV_BIN))
-}
-
-#[cfg(not(any(target_os = "windows", target_os = "macos")))]
-fn extract_uv(_archive: &Path, _dest: &Path) -> Result<(), String> {
- Err("Unsupported platform. Rebuild for win-x64, darwin-arm64, or darwin-x64.".to_string())
-}
-
-#[cfg(unix)]
-fn set_executable(path: &Path) -> Result<(), String> {
- use std::os::unix::fs::PermissionsExt;
- let mut perms = fs::metadata(path)
- .map_err(|e| e.to_string())?
- .permissions();
- perms.set_mode(0o755);
- fs::set_permissions(path, perms).map_err(|e| e.to_string())
-}
-
-// ── Venv + packages ────────────────────────────────────────────────────────
-
-/// Run a `uv` command, streaming its stderr line-by-line to `on_line` as it
-/// arrives (uv logs everything to stderr). Returns the exit status plus the full
-/// captured stderr for error reporting. stdout is discarded — uv writes nothing
-/// meaningful there, and null-ing it avoids any pipe-buffer deadlock.
-fn run_uv_streamed(
- mut cmd: std::process::Command,
- mut on_line: impl FnMut(&str),
-) -> Result<(std::process::ExitStatus, String), String> {
- use std::io::{BufRead, BufReader};
- cmd.stdout(std::process::Stdio::null());
- cmd.stderr(std::process::Stdio::piped());
- crate::hide_console(&mut cmd);
-
- let mut child = cmd
- .spawn()
- .map_err(|e| format!("Could not run setup tool: {e}"))?;
- let stderr = child.stderr.take().expect("stderr was piped");
-
- let mut collected = String::new();
- for line in BufReader::new(stderr).lines() {
- let Ok(line) = line else { break };
- collected.push_str(&line);
- collected.push('\n');
- let trimmed = line.trim();
- if !trimmed.is_empty() {
- on_line(trimmed);
- }
- }
-
- let status = child
- .wait()
- .map_err(|e| format!("Setup tool error: {e}"))?;
- Ok((status, collected))
-}
-
-fn create_venv(app: &AppHandle, uv: &Path, venv_dir: &Path) -> Result<(), String> {
- let mut cmd = std::process::Command::new(uv);
- cmd.args(["venv", "--python", "3.12", &venv_dir.to_string_lossy()]);
-
- let (status, stderr) = run_uv_streamed(cmd, |line| {
- // Surface what uv is doing: fetching the CPython 3.12 runtime, then
- // building the environment. Keep messages short and human.
- let low = line.to_lowercase();
- let (msg, pct) = if low.contains("download") || low.contains("fetching") {
- ("Downloading Python 3.12 runtime…", 0.30)
- } else if low.contains("creating") || low.contains("created") || low.contains("environment") {
- ("Creating the Python environment…", 0.42)
- } else {
- ("Setting up Python 3.12…", 0.28)
- };
- emit_detail(
- app,
- "creating_env",
- msg,
- pct,
- DownloadDetail {
- label: "CPython 3.12 runtime (~25 MB)".to_string(),
- received: 0,
- total: None,
- speed: 0.0,
- },
- );
- })?;
-
- if !status.success() {
- let msg = if stderr.contains("No interpreter found") || stderr.contains("download") {
- "Python 3.12 could not be downloaded. Check your internet connection and try again."
- } else {
- "Could not create Python environment."
- };
- return Err(format!("{msg}\n\nDetail: {stderr}"));
- }
- Ok(())
-}
-
-fn install_packages(
- app: &AppHandle,
- uv: &Path,
- venv_dir: &Path,
- requirements: &Path,
-) -> Result<(), String> {
- let python = venv_dir.join(platform::PYTHON_BIN);
- let mut cmd = std::process::Command::new(uv);
- cmd.args([
- "pip",
- "install",
- "--python",
- &python.to_string_lossy(),
- // Supply-chain integrity: install only the exact, hash-verified versions in
- // the bundled lock file. uv aborts if any artifact's hash doesn't match.
- "--require-hashes",
- "-r",
- &requirements.to_string_lossy(),
- ]);
-
- let (status, stderr) = run_uv_streamed(cmd, |line| {
- // uv prints milestone lines like "Resolved N packages", "Prepared N
- // packages", "Installed N packages". Map them onto the 0.50–0.90 slice.
- let low = line.to_lowercase();
- let (msg, pct): (String, f32) = if low.starts_with("resolved") {
- ("Resolving package versions…".to_string(), 0.58)
- } else if low.starts_with("downloading") || low.starts_with("downloaded") {
- (truncate(line, 90), 0.72)
- } else if low.starts_with("prepared") || low.starts_with("preparing") {
- ("Unpacking packages…".to_string(), 0.80)
- } else if low.starts_with("installed") {
- ("Finalising installation…".to_string(), 0.88)
- } else {
- ("Installing packages…".to_string(), 0.62)
- };
- emit_detail(
- app,
- "installing_packages",
- &msg,
- pct,
- DownloadDetail {
- label: "markitdown + format support, openai client".to_string(),
- received: 0,
- total: None,
- speed: 0.0,
- },
- );
- })?;
-
- if !status.success() {
- let low = stderr.to_lowercase();
- let msg = if low.contains("network")
- || low.contains("timeout")
- || low.contains("connection")
- || low.contains("resolve")
- || low.contains("refused")
- {
- "Packages could not be downloaded. Check your internet connection and try again."
- } else {
- "Package installation failed."
- };
- return Err(format!("{msg}\n\nDetail: {stderr}"));
- }
- Ok(())
-}
-
-/// Truncate a status line to keep UI messages tidy.
-fn truncate(s: &str, max: usize) -> String {
- if s.chars().count() <= max {
- s.to_string()
- } else {
- let mut out: String = s.chars().take(max.saturating_sub(1)).collect();
- out.push('…');
- out
- }
-}
-
-/// Resolve a bundled sidecar resource file (e.g. a requirements lock) by name.
-fn get_sidecar_resource(app: &AppHandle, filename: &str) -> Result<PathBuf, String> {
- let resource_dir = app
- .path()
- .resource_dir()
- .map_err(|e| format!("Cannot locate app resources: {e}"))?;
- let path = resource_dir.join("resources").join("sidecar").join(filename);
- if !path.exists() {
- return Err(format!(
- "{filename} not found at {}.\n\nRe-install the app to fix this.",
- path.display()
- ));
- }
- Ok(path)
-}
-
-fn get_requirements_path(app: &AppHandle) -> Result<PathBuf, String> {
- // The hash-pinned lock is the install source of truth (requirements.txt is the
- // human-readable spec it was compiled from).
- get_sidecar_resource(app, "requirements.lock")
+pub fn bundled_python_path(app: &AppHandle) -> Option<PathBuf> {
+ let ctx = crate::runtime::RuntimeContext::resolve(app).ok()?;
+ crate::runtime::manager::bundled_python_path(&ctx)
}
diff --git a/app/src-tauri/src/config.rs b/app/src-tauri/src/config.rs
index 39c81d2..b7b5538 100644
--- a/app/src-tauri/src/config.rs
+++ b/app/src-tauri/src/config.rs
@@ -18,41 +18,41 @@ pub struct AppConfig {
pub api_provider: String,
#[serde(default)]
pub api_key: String,
- /// Stage 5: model used for the optional LLM cleanup pass (empty = auto-pick first).
+ /// Model used for the optional LLM cleanup pass (empty = auto-pick first).
#[serde(default)]
pub cleanup_model: String,
- /// Stage 5: set once the user has seen the first-run cleanup highlight.
+ /// Set once the user has seen the first-run cleanup highlight.
#[serde(default)]
pub cleanup_seen: bool,
- /// Stage 6: model used for LLM-powered conversion (image description, empty = auto).
+ /// Model used for LLM-powered conversion (image description, empty = auto).
#[serde(default)]
pub conversion_model: String,
- /// Stage 6: enable LLM image description during conversion (default false).
+ /// Enable LLM image description during conversion (default false).
#[serde(default)]
pub llm_conversion: bool,
- /// Stage 6: extract embedded images to a {stem}_assets/ folder (default true).
+ /// Extract embedded images to a {stem}_assets/ folder (default true).
#[serde(default = "default_extract_images")]
pub extract_images: bool,
- /// Stage 6: faster-whisper model size (default "base").
+ /// faster-whisper model size (default "base").
#[serde(default = "default_audio_model")]
pub audio_model: String,
- /// Stage 7: where batch output is written —
+ /// Where batch output is written —
/// "next_to_source" | "fixed_folder" | "mirror_tree".
#[serde(default = "default_output_rule")]
pub output_rule: String,
- /// Stage 7: the default output folder for "fixed_folder"/"mirror_tree"
+ /// The default output folder for "fixed_folder"/"mirror_tree"
/// (empty = none chosen yet). Used to seed the per-run picker.
#[serde(default)]
pub output_folder: String,
- /// Stage 7: output filename template. Tokens: {stem} {ext} {date}. The ".md"
+ /// Output filename template. Tokens: {stem} {ext} {date}. The ".md"
/// extension is always appended. Default "{stem}" reproduces the old behavior.
#[serde(default = "default_naming_template")]
pub naming_template: String,
- /// Stage 7: case transform applied to the templated name —
+ /// Case transform applied to the templated name —
/// "keep" | "lower" | "slug".
#[serde(default = "default_naming_case")]
pub naming_case: String,
- /// Stage 7: reveal the output folder in the OS file manager after a batch.
+ /// Reveal the output folder in the OS file manager after a batch.
#[serde(default)]
pub open_after_convert: bool,
}
@@ -77,17 +77,16 @@ fn infer_api_provider(cfg: &AppConfig) -> String {
if cfg.api_type == "anthropic" {
return "anthropic".into();
}
- let u = cfg
- .api_base_url
- .trim()
- .trim_end_matches('/')
- .to_lowercase();
+ let u = cfg.api_base_url.trim().trim_end_matches('/').to_lowercase();
let table: &[(&str, &str)] = &[
("https://api.openai.com/v1", "openai"),
("https://api.deepseek.com/v1", "deepseek"),
("https://api.deepseek.com", "deepseek"),
("https://api.groq.com/openai/v1", "groq"),
- ("https://generativelanguage.googleapis.com/v1beta/openai", "gemini"),
+ (
+ "https://generativelanguage.googleapis.com/v1beta/openai",
+ "gemini",
+ ),
("https://openrouter.ai/api/v1", "openrouter"),
("https://api.together.xyz/v1", "together"),
("https://api.mistral.ai/v1", "mistral"),
@@ -182,8 +181,6 @@ pub fn save(app: &AppHandle, config: &AppConfig) -> Result<(), String> {
// Atomic write: write to .tmp then rename. A crash mid-write won't corrupt
// the config and silently reset the user's settings to defaults.
let tmp = path.with_extension("json.tmp");
- std::fs::write(&tmp, json.as_bytes())
- .map_err(|e| format!("Cannot write config: {e}"))?;
- std::fs::rename(&tmp, &path)
- .map_err(|e| format!("Cannot finalise config: {e}"))
+ std::fs::write(&tmp, json.as_bytes()).map_err(|e| format!("Cannot write config: {e}"))?;
+ std::fs::rename(&tmp, &path).map_err(|e| format!("Cannot finalise config: {e}"))
}
diff --git a/app/src-tauri/src/converter.rs b/app/src-tauri/src/converter.rs
index 084eb59..f0204f9 100644
--- a/app/src-tauri/src/converter.rs
+++ b/app/src-tauri/src/converter.rs
@@ -1,6 +1,6 @@
/// Manages the persistent Python sidecar process.
///
-/// Stage 4 redesign: a background reader task reads stdout continuously and
+/// A background reader task reads stdout continuously and
/// routes each NDJSON line to a per-request channel keyed by the `id` field.
/// This lets multiple concurrent `send_streaming` callers coexist on the same
/// sidecar process without stealing each other's lines.
@@ -57,9 +57,7 @@ impl SidecarManager {
if needs_spawn {
if let Some(mut old) = guard.take() {
- // Explicitly kill the child before dropping — tokio's Child does NOT
- // kill on drop by default, so without this the python.exe would orphan.
- let _ = old.child.start_kill();
+ let _ = old.child.kill().await;
old.reader_task.abort();
old.stderr_task.abort();
}
@@ -84,10 +82,7 @@ impl SidecarManager {
request: &Value,
on_progress: impl Fn(Value) + Send,
) -> Result<Value, String> {
- let id = request["id"]
- .as_str()
- .unwrap_or("")
- .to_string();
+ let id = request["id"].as_str().unwrap_or("").to_string();
// Clone Arcs without holding the inner lock during the whole call.
let (stdin_arc, router_arc, stderr_tail) = {
@@ -130,9 +125,7 @@ impl SidecarManager {
let result: Result<Value, String> = loop {
match tokio::time::timeout(idle, rx.recv()).await {
Err(_) => {
- break Err(
- "Sidecar went silent for 150 seconds. Restart the app.".to_string(),
- )
+ break Err("Sidecar went silent for 150 seconds. Restart the app.".to_string())
}
Ok(None) => {
let tail = stderr_tail.lock().await;
@@ -144,7 +137,7 @@ impl SidecarManager {
tail.join("\n")
)
};
- break Err(detail)
+ break Err(detail);
}
Ok(Some(val)) => {
if val.get("type").and_then(|v| v.as_str()) == Some("progress") {
@@ -186,10 +179,9 @@ impl SidecarManager {
pub async fn kill_sidecar(&self) {
let mut guard = self.inner.lock().await;
if let Some(mut old) = guard.take() {
- // Explicitly kill — without this the child process would orphan on Windows
- // (tokio's Child does not kill on drop by default). kill_on_drop(true) on the
- // spawn is a belt-and-suspenders backstop; this is the deterministic path.
- let _ = old.child.start_kill();
+ // Wait for termination so Windows releases loaded .pyd/.dll files before
+ // a repair or optional-engine install mutates the Python environment.
+ let _ = old.child.kill().await;
old.reader_task.abort();
old.stderr_task.abort();
}
diff --git a/app/src-tauri/src/ipc.rs b/app/src-tauri/src/ipc.rs
index cded0a8..7454d92 100644
--- a/app/src-tauri/src/ipc.rs
+++ b/app/src-tauri/src/ipc.rs
@@ -1,7 +1,7 @@
use serde::{Deserialize, Serialize};
use std::collections::HashMap;
-// ── Stage 0 types (unchanged) ──────────────────────────────────────────────
+// ── Core types ──────────────────────────────────────────────────────────────
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct HealthReport {
@@ -15,6 +15,9 @@ pub struct ProvisionStatus {
pub state: String, // "not_provisioned" | "ready"
}
+/// Runtime status contract re-exported for IPC consumers.
+pub use crate::runtime::RuntimeStatus;
+
#[derive(Debug, Serialize, Clone)]
pub struct ProgressPayload {
pub step: String,
@@ -61,7 +64,7 @@ pub struct ConvertMeta {
pub converter_path: String,
#[serde(default, skip_serializing_if = "Vec::is_empty")]
pub warnings: Vec<String>,
- /// Stage 6: populated when embedded images were extracted to a folder.
+ /// Populated when embedded images were extracted to a folder.
#[serde(skip_serializing_if = "Option::is_none")]
pub assets_folder: Option<String>,
}
@@ -82,7 +85,7 @@ pub struct ConvertResponse {
pub error: Option<IpcError>,
}
-// ── Stage 3: Capabilities types ────────────────────────────────────────────
+// ── Capability types ────────────────────────────────────────────────────────
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct RuntimeInfo {
@@ -109,7 +112,7 @@ pub struct FormatEntry {
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct OptionalCapability {
- pub status: String, // "not_installed" | "installed" | "missing" (broken)
+ pub status: String, // "not_installed" | "installed" | "missing" (broken)
pub engine: String,
pub size_hint: String,
pub note: String,
@@ -137,7 +140,7 @@ pub struct CapabilitiesReport {
pub optional: OptionalCapabilities,
}
-// ── Stage 3: Provider check result ─────────────────────────────────────────
+// ── Provider check result ──────────────────────────────────────────────────
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct ProviderCheckResult {
@@ -150,7 +153,7 @@ pub struct ProviderCheckResult {
pub usable: bool,
}
-// ── Stage 4: Batch types ────────────────────────────────────────────────────
+// ── Batch types ─────────────────────────────────────────────────────────────
/// One file in the batch queue.
#[derive(Debug, Serialize, Deserialize, Clone)]
@@ -197,12 +200,12 @@ pub struct BatchDoneEvent {
pub failed: u32,
pub cancelled: u32,
pub items: Vec<BatchItem>,
- /// Stage 5: whether cleanup ran for this batch, and aggregate change counts.
+ /// Whether cleanup ran for this batch, and aggregate change counts.
pub cleanup_applied: bool,
pub cleanup_changes: u32,
}
-// ── Stage 5: Cleanup types ──────────────────────────────────────────────────
+// ── Cleanup types ───────────────────────────────────────────────────────────
/// Cleanup options carried on `start_batch` / `retry_failed`. Mirrors the sidecar
/// `cleanup` params. `method` is "none" | "rules" | "ai":
diff --git a/app/src-tauri/src/lib.rs b/app/src-tauri/src/lib.rs
index feeb07b..9062970 100644
--- a/app/src-tauri/src/lib.rs
+++ b/app/src-tauri/src/lib.rs
@@ -2,6 +2,8 @@ mod bootstrap;
mod config;
mod converter;
mod ipc;
+mod platform;
+mod runtime;
use std::path::PathBuf;
use std::sync::Arc;
@@ -26,68 +28,8 @@ const PER_WORKER_MB: u64 = 1024;
/// RAM left untouched for the OS, the app, and the model weights already resident.
const RAM_RESERVE_MB: u64 = 1024;
-/// Available physical memory in MiB, or None if it can't be determined (→ no RAM cap).
-#[cfg(windows)]
fn available_ram_mb() -> Option<u64> {
- #[repr(C)]
- struct MemStatus {
- length: u32,
- memory_load: u32,
- total_phys: u64,
- avail_phys: u64,
- total_pagefile: u64,
- avail_pagefile: u64,
- total_virtual: u64,
- avail_virtual: u64,
- avail_ext_virtual: u64,
- }
- extern "system" {
- fn GlobalMemoryStatusEx(buffer: *mut MemStatus) -> i32;
- }
- let mut s: MemStatus = unsafe { std::mem::zeroed() };
- s.length = std::mem::size_of::<MemStatus>() as u32;
- if unsafe { GlobalMemoryStatusEx(&mut s) } != 0 {
- Some(s.avail_phys / (1024 * 1024))
- } else {
- None
- }
-}
-
-#[cfg(target_os = "macos")]
-fn available_ram_mb() -> Option<u64> {
- extern "C" {
- fn sysctlbyname(
- name: *const std::os::raw::c_char,
- oldp: *mut std::ffi::c_void,
- oldlenp: *mut usize,
- newp: *mut std::ffi::c_void,
- newlen: usize,
- ) -> std::os::raw::c_int;
- }
- let name = b"hw.memsize\0";
- let mut val: u64 = 0;
- let mut len = std::mem::size_of::<u64>();
- let rc = unsafe {
- sysctlbyname(
- name.as_ptr() as *const _,
- &mut val as *mut _ as *mut _,
- &mut len,
- std::ptr::null_mut(),
- 0,
- )
- };
- // hw.memsize is TOTAL physical RAM. macOS uses free RAM as cache, so treat ~half of
- // total as a conservative available budget for sizing the pool.
- if rc == 0 && val > 0 {
- Some((val / (1024 * 1024)) / 2)
- } else {
- None
- }
-}
-
-#[cfg(not(any(windows, target_os = "macos")))]
-fn available_ram_mb() -> Option<u64> {
- None
+ platform::available_ram_mb()
}
/// CPU-based concurrency cap — stable across a run (does not depend on live RAM).
@@ -140,10 +82,7 @@ impl WrittenPaths {
}
pub fn contains(&self, canon: &std::path::Path) -> bool {
- self.0
- .lock()
- .map(|g| g.contains(canon))
- .unwrap_or(false)
+ self.0.lock().map(|g| g.contains(canon)).unwrap_or(false)
}
}
pub struct BatchManager {
@@ -165,15 +104,14 @@ impl BatchManager {
.store(true, std::sync::atomic::Ordering::Relaxed);
}
fn is_cancelled(&self) -> bool {
- self.cancel_flag
- .load(std::sync::atomic::Ordering::Relaxed)
+ self.cancel_flag.load(std::sync::atomic::Ordering::Relaxed)
}
}
// ── Helpers ────────────────────────────────────────────────────────────────
fn sidecar_paths(app: &AppHandle) -> Result<(PathBuf, PathBuf), String> {
- let python = bootstrap::python_path(app);
+ let python = bootstrap::python_path(app)?;
let resource_dir = app
.path()
.resource_dir()
@@ -211,7 +149,7 @@ pub(crate) fn hide_console(_cmd: &mut std::process::Command) {}
// ── Format sets (single source of truth in Rust) ───────────────────────────
-/// Core formats always supported (provisioned at Stage 0).
+/// Core formats always supported.
const CORE_EXTS: &[&str] = &[
"pdf", "docx", "pptx", "xlsx", "xls", "html", "htm", "csv", "json", "xml", "epub", "txt", "md",
];
@@ -227,7 +165,7 @@ fn all_supported_exts() -> Vec<&'static str> {
v
}
-/// Stage 6: conversion options threaded through the batch pipeline.
+/// Conversion options threaded through the batch pipeline.
struct BatchConvOpts {
/// LLM config for image description; `Null` when disabled.
llm_cfg: serde_json::Value,
@@ -249,6 +187,11 @@ async fn get_provision_status(app: AppHandle) -> Result<ipc::ProvisionStatus, St
})
}
+#[tauri::command]
+async fn get_runtime_status(app: AppHandle) -> Result<ipc::RuntimeStatus, String> {
+ bootstrap::runtime_status(&app)
+}
+
#[tauri::command]
async fn start_provision(
app: AppHandle,
@@ -261,7 +204,11 @@ async fn start_provision(
if force {
manager.kill_sidecar().await;
}
- bootstrap::provision(app, force).await
+ let mgr = Arc::clone(&*manager);
+ bootstrap::provision(app, force, || async move {
+ mgr.kill_sidecar().await;
+ })
+ .await
}
#[tauri::command]
@@ -269,7 +216,7 @@ async fn run_health_check(
app: AppHandle,
manager: tauri::State<'_, Arc<SidecarManager>>,
) -> Result<ipc::HealthReport, String> {
- let python = bootstrap::python_path(&app);
+ let python = bootstrap::python_path(&app)?;
if !python.exists() {
return Err("Python environment not found. Click Repair to reinstall.".to_string());
}
@@ -297,8 +244,7 @@ async fn run_health_check(
let data = resp
.get("result")
.ok_or("Health response missing 'result' field.")?;
- serde_json::from_value(data.clone())
- .map_err(|e| format!("Could not parse health report: {e}"))
+ serde_json::from_value(data.clone()).map_err(|e| format!("Could not parse health report: {e}"))
}
#[tauri::command]
@@ -352,7 +298,11 @@ async fn convert_file(
)
.map_err(|e| format!("Could not parse conversion result: {e}"))?;
- Ok(ipc::ConvertResponse { ok: true, result: Some(result), error: None })
+ Ok(ipc::ConvertResponse {
+ ok: true,
+ result: Some(result),
+ error: None,
+ })
} else {
let error: ipc::IpcError = serde_json::from_value(
resp.get("error")
@@ -360,7 +310,11 @@ async fn convert_file(
.ok_or("Response missing 'error'")?,
)
.map_err(|e| format!("Could not parse error response: {e}"))?;
- Ok(ipc::ConvertResponse { ok: false, result: None, error: Some(error) })
+ Ok(ipc::ConvertResponse {
+ ok: false,
+ result: None,
+ error: Some(error),
+ })
}
}
@@ -368,8 +322,8 @@ async fn convert_file(
fn build_conversion_llm_cfg(cfg: &config::AppConfig) -> serde_json::Value {
let (base_url, key) = match cfg.llm_mode.as_str() {
"local" => (cfg.local_base_url.clone(), String::new()),
- "api" => (cfg.api_base_url.clone(), cfg.api_key.clone()),
- _ => return serde_json::Value::Null,
+ "api" => (cfg.api_base_url.clone(), cfg.api_key.clone()),
+ _ => return serde_json::Value::Null,
};
serde_json::json!({
"mode": cfg.llm_mode,
@@ -386,12 +340,18 @@ fn build_conversion_llm_cfg(cfg: &config::AppConfig) -> serde_json::Value {
/// Failures to write individual images are silently skipped — the .md is never lost.
fn extract_zip_images(source: &str, out_dir: &std::path::Path) -> (String, Vec<String>) {
let p = std::path::Path::new(source);
- let ext = p.extension().map(|e| e.to_string_lossy().to_lowercase()).unwrap_or_default();
+ let ext = p
+ .extension()
+ .map(|e| e.to_string_lossy().to_lowercase())
+ .unwrap_or_default();
if !["docx", "pptx", "epub"].contains(&ext.as_str()) {
return (String::new(), vec![]);
}
- let stem = p.file_stem().map(|s| s.to_string_lossy().to_string()).unwrap_or_else(|| "output".into());
+ let stem = p
+ .file_stem()
+ .map(|s| s.to_string_lossy().to_string())
+ .unwrap_or_else(|| "output".into());
let assets_dir = out_dir.join(format!("{stem}_assets"));
let assets_name = format!("{stem}_assets");
@@ -418,17 +378,26 @@ fn extract_zip_images(source: &str, out_dir: &std::path::Path) -> (String, Vec<S
let mut to_extract: Vec<(String, Vec<u8>)> = Vec::new();
let mut seen: std::collections::HashSet<u64> = std::collections::HashSet::new();
for i in 0..zip.len() {
- let mut entry = match zip.by_index(i) { Ok(e) => e, Err(_) => continue };
+ let mut entry = match zip.by_index(i) {
+ Ok(e) => e,
+ Err(_) => continue,
+ };
let name_lc = entry.name().to_lowercase();
// Only extract from standard media/image folders.
let in_media = name_lc.contains("/media/")
|| name_lc.contains("\\media\\")
|| name_lc.starts_with("images/")
|| name_lc.contains("/images/");
- if !in_media { continue; }
+ if !in_media {
+ continue;
+ }
let entry_ext = std::path::Path::new(&name_lc)
- .extension().map(|e| e.to_string_lossy().to_string()).unwrap_or_default();
- if !IMG_EXTS.contains(&entry_ext.as_str()) { continue; }
+ .extension()
+ .map(|e| e.to_string_lossy().to_string())
+ .unwrap_or_default();
+ if !IMG_EXTS.contains(&entry_ext.as_str()) {
+ continue;
+ }
let mut data = Vec::new();
use std::io::Read;
@@ -440,7 +409,8 @@ fn extract_zip_images(source: &str, out_dir: &std::path::Path) -> (String, Vec<S
continue; // duplicate of an already-collected image
}
let fname = std::path::Path::new(entry.name())
- .file_name().map(|n| n.to_string_lossy().to_string())
+ .file_name()
+ .map(|n| n.to_string_lossy().to_string())
.unwrap_or_else(|| format!("image_{}.{entry_ext}", to_extract.len() + 1));
to_extract.push((fname, data));
}
@@ -463,9 +433,7 @@ fn extract_zip_images(source: &str, out_dir: &std::path::Path) -> (String, Vec<S
}
#[tauri::command]
-async fn cancel_conversion(
- manager: tauri::State<'_, Arc<SidecarManager>>,
-) -> Result<(), String> {
+async fn cancel_conversion(manager: tauri::State<'_, Arc<SidecarManager>>) -> Result<(), String> {
manager.cancel().await
}
@@ -532,8 +500,7 @@ async fn pick_file(app: AppHandle) -> Result<Option<String>, String> {
"Supported files",
&[
"pdf", "docx", "pptx", "xlsx", "xls", "html", "htm", "csv", "json", "xml",
- "epub", "txt", "md",
- "jpg", "jpeg", "png", "gif", "webp", "tiff", "tif", "bmp",
+ "epub", "txt", "md", "jpg", "jpeg", "png", "gif", "webp", "tiff", "tif", "bmp",
"mp3", "wav", "m4a", "ogg", "flac", "aac",
],
)
@@ -551,7 +518,7 @@ async fn pick_file(app: AppHandle) -> Result<Option<String>, String> {
.map(|p| p.to_string_lossy().into_owned()))
}
-// ── Stage 6: Optional engine management ───────────────────────────────────
+// ── Optional engine management ────────────────────────────────────────────
/// Return the install state of an optional engine from provision state.
#[tauri::command]
@@ -575,13 +542,16 @@ async fn install_engine(
install_lock: tauri::State<'_, Arc<tokio::sync::Mutex<()>>>,
) -> Result<(), String> {
let _guard = install_lock.lock().await;
+ // Windows cannot replace native Python modules while the sidecar has them
+ // loaded. Stop it before touching the environment and wait for process exit.
+ manager.kill_sidecar().await;
bootstrap::install_optional_engine(app.clone(), engine).await?;
// Kill sidecar so it respawns with the new packages importable.
manager.kill_sidecar().await;
Ok(())
}
-// ── Stage 3 commands ───────────────────────────────────────────────────────
+// ── Capability commands ────────────────────────────────────────────────────
#[tauri::command]
async fn get_capabilities(
@@ -646,7 +616,7 @@ async fn set_config(app: AppHandle, config: config::AppConfig) -> Result<(), Str
config::save(&app, &config)
}
-// ── Stage 5: Cleanup ─────────────────────────────────────────────────────────
+// ── Cleanup ─────────────────────────────────────────────────────────────────
/// Build the provider config block the sidecar `cleanup` method expects. Keeps the
/// API key server-side — the frontend never has to round-trip it for cleanup.
@@ -711,11 +681,10 @@ async fn cleanup_markdown(
let data = resp
.get("result")
.ok_or("Cleanup response missing 'result'.")?;
- serde_json::from_value(data.clone())
- .map_err(|e| format!("Could not parse cleanup result: {e}"))
+ serde_json::from_value(data.clone()).map_err(|e| format!("Could not parse cleanup result: {e}"))
}
-// ── Stage 4 commands ───────────────────────────────────────────────────────
+// ── Batch commands ──────────────────────────────────────────────────────────
/// Expand a list of paths (files and/or folders) to all supported file paths.
/// Folders are walked recursively; unsupported extensions are filtered out.
@@ -759,8 +728,8 @@ async fn read_text_file(
path: String,
written: tauri::State<'_, Arc<WrittenPaths>>,
) -> Result<String, String> {
- let canonical = std::fs::canonicalize(&path)
- .map_err(|e| format!("Could not read file: {e}"))?;
+ let canonical =
+ std::fs::canonicalize(&path).map_err(|e| format!("Could not read file: {e}"))?;
let cfg = config::load(&app);
let mut allowed = false;
@@ -790,7 +759,9 @@ async fn read_text_file(
}
if !allowed {
- return Err("Access denied: this file is outside the app's output directories.".to_string());
+ return Err(
+ "Access denied: this file is outside the app's output directories.".to_string(),
+ );
}
std::fs::read_to_string(&canonical).map_err(|e| format!("Could not read file: {e}"))
@@ -811,7 +782,12 @@ async fn stat_files(paths: Vec<String>) -> Result<Vec<FileInfo>, String> {
.map(|e| e.to_string_lossy().to_uppercase())
.unwrap_or_default();
let size = std::fs::metadata(&p).map(|m| m.len()).unwrap_or(0);
- out.push(FileInfo { path: p.clone(), name, ext, size });
+ out.push(FileInfo {
+ path: p.clone(),
+ name,
+ ext,
+ size,
+ });
}
Ok(out)
}
@@ -835,8 +811,7 @@ fn collect_supported_depth(
if depth > MAX_DEPTH {
return Ok(());
}
- let entries =
- std::fs::read_dir(dir).map_err(|e| format!("Cannot read directory: {e}"))?;
+ let entries = std::fs::read_dir(dir).map_err(|e| format!("Cannot read directory: {e}"))?;
for entry in entries.flatten() {
// Use file_type() (does NOT follow symlinks) instead of is_dir() (which does)
// so a symlink loop can't send us into unbounded recursion.
@@ -877,14 +852,16 @@ async fn pick_folder(app: AppHandle) -> Result<Option<String>, String> {
.map(|p| p.to_string_lossy().into_owned()))
}
-/// Stage 7: reveal a path in the OS file manager. If given a file, opens its
+/// Reveal a path in the OS file manager. If given a file, opens its
/// containing folder; if given a folder, opens it directly.
#[tauri::command]
async fn open_folder(app: AppHandle, path: String) -> Result<(), String> {
use tauri_plugin_opener::OpenerExt;
let p = std::path::Path::new(&path);
let target = if p.is_file() {
- p.parent().map(|d| d.to_path_buf()).unwrap_or_else(|| p.to_path_buf())
+ p.parent()
+ .map(|d| d.to_path_buf())
+ .unwrap_or_else(|| p.to_path_buf())
} else {
p.to_path_buf()
};
@@ -917,7 +894,9 @@ async fn start_batch_inner(
.map(|(idx, path)| pre_check_file(path, idx, &run))
.collect();
- let result = ipc::BatchStartResult { items: items.clone() };
+ let result = ipc::BatchStartResult {
+ items: items.clone(),
+ };
let cfg = config::load(&app);
let provider_cfg = build_provider_cfg(&cfg);
@@ -930,14 +909,22 @@ async fn start_batch_inner(
extract_images: extract_images.unwrap_or(cfg.extract_images),
audio_model: cfg.audio_model.clone(),
};
- let out_opts =
- OutputOpts::from_config(&cfg, output_rule, output_folder, common_parent(&files));
+ let out_opts = OutputOpts::from_config(&cfg, output_rule, output_folder, common_parent(&files));
let app2 = app.clone();
let mgr2 = Arc::clone(&manager);
let bat2 = Arc::clone(&batch);
tokio::spawn(run_batch(
- app2, items, mgr2, bat2, python, script, out_opts, cleanup, provider_cfg, conv_opts,
+ app2,
+ items,
+ mgr2,
+ bat2,
+ python,
+ script,
+ out_opts,
+ cleanup,
+ provider_cfg,
+ conv_opts,
));
Ok(result)
@@ -958,9 +945,16 @@ async fn start_batch(
batch: tauri::State<'_, Arc<BatchManager>>,
) -> Result<ipc::BatchStartResult, String> {
start_batch_inner(
- app, files, output_folder, output_rule, cleanup, extract_images,
- Arc::clone(&*manager), Arc::clone(&*batch),
- ).await
+ app,
+ files,
+ output_folder,
+ output_rule,
+ cleanup,
+ extract_images,
+ Arc::clone(&*manager),
+ Arc::clone(&*batch),
+ )
+ .await
}
/// Cancel the running batch — sets the flag and tells the sidecar to stop all
@@ -989,9 +983,16 @@ async fn retry_failed(
batch: tauri::State<'_, Arc<BatchManager>>,
) -> Result<ipc::BatchStartResult, String> {
start_batch_inner(
- app, files, output_folder, output_rule, cleanup, extract_images,
- Arc::clone(&*manager), Arc::clone(&*batch),
- ).await
+ app,
+ files,
+ output_folder,
+ output_rule,
+ cleanup,
+ extract_images,
+ Arc::clone(&*manager),
+ Arc::clone(&*batch),
+ )
+ .await
}
// ── Batch runner ───────────────────────────────────────────────────────────
@@ -1038,7 +1039,9 @@ fn pre_check_file(path: &str, idx: usize, run: &str) -> ipc::BatchItem {
code: "UNSUPPORTED_FORMAT".to_string(),
title: "Format not supported".to_string(),
detail: format!("'.{ext}' files can't be converted."),
- suggested_action: "Use PDF, DOCX, PPTX, XLSX, HTML, CSV, JSON, XML, EPUB, images, or audio.".to_string(),
+ suggested_action:
+ "Use PDF, DOCX, PPTX, XLSX, HTML, CSV, JSON, XML, EPUB, images, or audio."
+ .to_string(),
diagnostics_key: None,
}),
warnings: Vec::new(),
@@ -1050,7 +1053,11 @@ fn pre_check_file(path: &str, idx: usize, run: &str) -> ipc::BatchItem {
// and are stream/page processed, so they get a much higher ceiling. This matches the
// sidecar, which exempts the OCR/audio path from its own 100 MB document cap.
let is_media = OCR_EXTS.contains(&ext.as_str()) || AUDIO_EXTS.contains(&ext.as_str());
- let limit: u64 = if is_media { 2048 * 1024 * 1024 } else { 100 * 1024 * 1024 };
+ let limit: u64 = if is_media {
+ 2048 * 1024 * 1024
+ } else {
+ 100 * 1024 * 1024
+ };
let limit_mb = limit / (1024 * 1024);
if let Ok(meta) = std::fs::metadata(path) {
if meta.len() > limit {
@@ -1103,7 +1110,7 @@ async fn run_batch(
let state: Arc<Mutex<Vec<ipc::BatchItem>>> = Arc::new(Mutex::new(items.clone()));
let mut handles: Vec<tokio::task::JoinHandle<()>> = Vec::new();
- // Stage 5: aggregate cleanup change counts across all workers.
+ // Aggregate cleanup change counts across all workers.
let cleanup_enabled = cleanup
.as_ref()
.map(|c| c.method != "none")
@@ -1401,7 +1408,7 @@ async fn convert_one_batch(
})
.unwrap_or_default();
- // Stage 6: image extraction (zip-based formats, Rust-side).
+ // Image extraction (zip-based formats, Rust-side).
// Extract to the OUTPUT directory (not the source) so relative links
// resolve correctly under fixed_folder / mirror_tree output rules.
let raw_markdown = if conv_opts.extract_images {
@@ -1423,15 +1430,13 @@ async fn convert_one_batch(
raw_markdown
};
- // Stage 5: optional cleanup before the single write chokepoint.
+ // Optional cleanup before the single write chokepoint.
// Fails soft — on any cleanup error, fall back to the raw markdown
// so the file is still written and the run continues.
let markdown = match cleanup.as_ref() {
Some(opts) if opts.method != "none" => {
- match run_batch_cleanup(
- &manager, opts, &provider_cfg, &raw_markdown, &path,
- )
- .await
+ match run_batch_cleanup(&manager, opts, &provider_cfg, &raw_markdown, &path)
+ .await
{
Some((cleaned, changes)) => {
cleanup_changes
@@ -1451,7 +1456,11 @@ async fn convert_one_batch(
wp.record(std::path::Path::new(&out_path));
}
update_item(
- &state, &id, "done", Some(out_path.clone()), None,
+ &state,
+ &id,
+ "done",
+ Some(out_path.clone()),
+ None,
warnings.clone(),
)
.await;
@@ -1476,7 +1485,8 @@ async fn convert_one_batch(
.to_string(),
diagnostics_key: None,
};
- update_item(&state, &id, "failed", None, Some(error.clone()), Vec::new()).await;
+ update_item(&state, &id, "failed", None, Some(error.clone()), Vec::new())
+ .await;
let _ = app.emit(
"batch:file-status",
ipc::BatchFileStatusEvent {
@@ -1538,10 +1548,7 @@ async fn update_item(
}
}
-async fn set_item_cancelled(
- state: &Arc<tokio::sync::Mutex<Vec<ipc::BatchItem>>>,
- id: &str,
-) {
+async fn set_item_cancelled(state: &Arc<tokio::sync::Mutex<Vec<ipc::BatchItem>>>, id: &str) {
update_item(state, id, "cancelled", None, None, Vec::new()).await;
}
@@ -1594,7 +1601,7 @@ async fn run_batch_cleanup(
Some((cleaned, changes))
}
-/// Stage 7: resolved output settings for a conversion run. Built once from config
+/// Resolved output settings for a conversion run. Built once from config
/// + the per-run folder/rule override, then applied to every file in the batch.
#[derive(Clone)]
struct OutputOpts {
@@ -1696,9 +1703,10 @@ fn sanitize_filename(s: &str) -> String {
let result = cleaned.trim().trim_end_matches('.').trim().to_string();
// Windows reserved names — appending '_' avoids the OS refusing to create the file.
let upper = result.to_uppercase();
- let reserved = ["CON", "PRN", "AUX", "NUL",
- "COM1", "COM2", "COM3", "COM4", "COM5", "COM6", "COM7", "COM8", "COM9",
- "LPT1", "LPT2", "LPT3", "LPT4", "LPT5", "LPT6", "LPT7", "LPT8", "LPT9"];
+ let reserved = [
+ "CON", "PRN", "AUX", "NUL", "COM1", "COM2", "COM3", "COM4", "COM5", "COM6", "COM7", "COM8",
+ "COM9", "LPT1", "LPT2", "LPT3", "LPT4", "LPT5", "LPT6", "LPT7", "LPT8", "LPT9",
+ ];
if reserved.contains(&upper.as_str()) {
return format!("{result}_");
}
@@ -1725,7 +1733,11 @@ fn build_output_name(p: &std::path::Path, template: &str, case: &str) -> String
_ => name,
};
let final_name = sanitize_filename(&cased);
- if final_name.is_empty() { "output".to_string() } else { final_name }
+ if final_name.is_empty() {
+ "output".to_string()
+ } else {
+ final_name
+ }
}
/// Deepest directory that is an ancestor of every path (for mirror_tree). None if the
@@ -1771,8 +1783,7 @@ fn resolve_output_dir(source: &str, opts: &OutputOpts) -> Result<std::path::Path
_ => src_parent.to_path_buf(),
};
- std::fs::create_dir_all(&dir)
- .map_err(|e| format!("Cannot create output folder: {e}"))?;
+ std::fs::create_dir_all(&dir).map_err(|e| format!("Cannot create output folder: {e}"))?;
Ok(dir)
}
@@ -1874,10 +1885,17 @@ mod tests {
);
let (assets_name, links) = extract_zip_images(&src, &tmp);
- assert_eq!(links.len(), 2, "exactly the 2 distinct content images (tiny+dupe dropped)");
+ assert_eq!(
+ links.len(),
+ 2,
+ "exactly the 2 distinct content images (tiny+dupe dropped)"
+ );
assert!(links.iter().any(|l| l.contains("image1.png")));
assert!(links.iter().any(|l| l.contains("image2.jpg")));
- assert!(links.iter().all(|l| l.starts_with("![")), "links are markdown images");
+ assert!(
+ links.iter().all(|l| l.starts_with("![")),
+ "links are markdown images"
+ );
// Files actually written, content preserved.
let p1 = tmp.join(format!("{assets_name}")).join("image1.png");
assert!(p1.exists());
@@ -1901,13 +1919,22 @@ mod tests {
);
assert!((2..=8).contains(&cpu), "cpu cap in range");
assert!((1..=8).contains(&cap), "batch cap in range");
- assert!(cap <= cpu, "RAM only reduces the count, never above the CPU cap");
+ assert!(
+ cap <= cpu,
+ "RAM only reduces the count, never above the CPU cap"
+ );
assert!(threads >= 1, "at least one thread per worker");
// The thread budget must never let a full pool oversubscribe the cores.
assert!(threads * cpu <= cores + cpu, "workers x threads ~= cores");
}
- fn opts(rule: &str, folder: Option<&str>, template: &str, case: &str, root: Option<&str>) -> OutputOpts {
+ fn opts(
+ rule: &str,
+ folder: Option<&str>,
+ template: &str,
+ case: &str,
+ root: Option<&str>,
+ ) -> OutputOpts {
OutputOpts {
rule: rule.to_string(),
folder: folder.map(|s| s.to_string()),
@@ -1922,7 +1949,10 @@ mod tests {
// {stem} keeps the old behavior; {ext} distinguishes formats; slug lowercases.
let p = std::path::Path::new("C:/docs/My Report.PDF");
assert_eq!(build_output_name(p, "{stem}", "keep"), "My Report");
- assert_eq!(build_output_name(p, "{stem}_{ext}", "keep"), "My Report_pdf");
+ assert_eq!(
+ build_output_name(p, "{stem}_{ext}", "keep"),
+ "My Report_pdf"
+ );
assert_eq!(build_output_name(p, "{stem}", "lower"), "my report");
assert_eq!(build_output_name(p, "{stem}", "slug"), "my-report");
// Illegal characters in a template are sanitized to '-'.
@@ -1958,7 +1988,13 @@ mod tests {
std::fs::write(&src, b"x").unwrap();
// fixed_folder: lands directly in dest, no sub-tree.
- let of = opts("fixed_folder", Some(&dest.to_string_lossy()), "{stem}", "keep", None);
+ let of = opts(
+ "fixed_folder",
+ Some(&dest.to_string_lossy()),
+ "{stem}",
+ "keep",
+ None,
+ );
let out = write_output(&src.to_string_lossy(), "md", &of).unwrap();
assert_eq!(std::path::Path::new(&out).parent().unwrap(), dest);
@@ -1971,7 +2007,10 @@ mod tests {
Some(&root.to_string_lossy()),
);
let out = write_output(&src.to_string_lossy(), "md", &om).unwrap();
- assert_eq!(std::path::Path::new(&out).parent().unwrap(), dest.join("sub"));
+ assert_eq!(
+ std::path::Path::new(&out).parent().unwrap(),
+ dest.join("sub")
+ );
std::fs::remove_dir_all(&tmp).ok();
}
@@ -2063,12 +2102,19 @@ mod tests {
std::fs::create_dir_all(&out_dir).unwrap();
let mut png = b"\x89PNG\r\n\x1a\n".to_vec();
png.extend(std::iter::repeat(0xAB).take(8192));
- let src = make_zip_with_media(&src_dir, "doc.docx", &[("word/media/image1.png", png.as_slice())]);
+ let src = make_zip_with_media(
+ &src_dir,
+ "doc.docx",
+ &[("word/media/image1.png", png.as_slice())],
+ );
let (assets_name, links) = extract_zip_images(&src, &out_dir);
assert!(!links.is_empty(), "image extracted");
// Assets folder must be in out_dir, NOT in src_dir.
assert!(out_dir.join(&assets_name).exists(), "assets in output dir");
- assert!(!src_dir.join(&assets_name).exists(), "assets NOT in source dir");
+ assert!(
+ !src_dir.join(&assets_name).exists(),
+ "assets NOT in source dir"
+ );
std::fs::remove_dir_all(&tmp).ok();
}
}
@@ -2090,8 +2136,15 @@ pub fn run() {
.plugin(tauri_plugin_opener::init())
.plugin(tauri_plugin_dialog::init())
.plugin(tauri_plugin_fs::init())
+ .setup(|app| {
+ if let Err(e) = bootstrap::on_successful_launch(app.handle()) {
+ eprintln!("runtime prune skipped: {e}");
+ }
+ Ok(())
+ })
.invoke_handler(tauri::generate_handler![
get_provision_status,
+ get_runtime_status,
start_provision,
run_health_check,
convert_file,
diff --git a/app/src-tauri/src/platform/mod.rs b/app/src-tauri/src/platform/mod.rs
new file mode 100644
index 0000000..0e33d16
--- /dev/null
+++ b/app/src-tauri/src/platform/mod.rs
@@ -0,0 +1,189 @@
+//! Small platform boundary for supported release targets.
+//!
+//! MDFlux v0.2.x supports `windows-x64` and `linux-x64-glibc` only. Other targets
+//! receive an explicit error instead of failing inside unresolved cfg modules.
+
+use std::path::Path;
+
+/// Platform identifiers supported by the application.
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum PlatformId {
+ WindowsX64,
+ LinuxX64Glibc,
+}
+
+impl PlatformId {
+ pub fn as_str(self) -> &'static str {
+ match self {
+ PlatformId::WindowsX64 => "windows-x64",
+ PlatformId::LinuxX64Glibc => "linux-x64-glibc",
+ }
+ }
+
+ pub fn from_str(s: &str) -> Result<Self, String> {
+ match s {
+ "windows-x64" => Ok(PlatformId::WindowsX64),
+ "linux-x64-glibc" => Ok(PlatformId::LinuxX64Glibc),
+ other => Err(format!(
+ "Unsupported platform identifier '{other}'. MDFlux supports windows-x64 and linux-x64-glibc."
+ )),
+ }
+ }
+}
+
+/// Platform-specific constants and paths for provisioning and bundled runtimes.
+#[derive(Debug, Clone)]
+pub struct PlatformSpec {
+ pub id: PlatformId,
+ pub uv_url: &'static str,
+ pub uv_sha256: &'static str,
+ pub uv_archive: &'static str,
+ pub uv_bin: &'static str,
+ pub venv_python_bin: &'static str,
+ pub bundled_python_bin: &'static str,
+ pub uv_label: &'static str,
+}
+
+#[cfg(all(target_os = "windows", target_arch = "x86_64"))]
+pub fn current_platform() -> Result<PlatformSpec, String> {
+ Ok(PlatformSpec {
+ id: PlatformId::WindowsX64,
+ uv_url:
+ "https://github.com/astral-sh/uv/releases/download/0.5.11/uv-x86_64-pc-windows-msvc.zip",
+ uv_sha256: "3e8203e6434b45427f20824419f8d8d53f970a76d94ccdcad07f8498fa01a9d0",
+ uv_archive: "uv.zip",
+ uv_bin: "uv.exe",
+ venv_python_bin: "Scripts/python.exe",
+ bundled_python_bin: "python.exe",
+ uv_label: "uv 0.5.11 - Python package manager (Windows x64)",
+ })
+}
+
+#[cfg(all(target_os = "linux", target_arch = "x86_64"))]
+pub fn current_platform() -> Result<PlatformSpec, String> {
+ Ok(PlatformSpec {
+ id: PlatformId::LinuxX64Glibc,
+ uv_url: "https://github.com/astral-sh/uv/releases/download/0.5.11/uv-x86_64-unknown-linux-gnu.tar.gz",
+ uv_sha256: "14411de26cdea5f5139fafaf2b675b1c633e744dd49c6d6a9fc8817ec065158b",
+ uv_archive: "uv.tar.gz",
+ uv_bin: "uv",
+ venv_python_bin: "bin/python",
+ bundled_python_bin: "bin/python3",
+ uv_label: "uv 0.5.11 - Python package manager (Linux x64)",
+ })
+}
+
+#[cfg(not(any(
+ all(target_os = "windows", target_arch = "x86_64"),
+ all(target_os = "linux", target_arch = "x86_64")
+)))]
+pub fn current_platform() -> Result<PlatformSpec, String> {
+ Err(format!(
+ "MDFlux does not support this operating system/architecture ({}/{}). \
+ Supported targets: windows-x64, linux-x64-glibc.",
+ std::env::consts::OS,
+ std::env::consts::ARCH
+ ))
+}
+
+/// Available physical memory in MiB for batch worker sizing.
+#[cfg(windows)]
+pub fn available_ram_mb() -> Option<u64> {
+ #[repr(C)]
+ struct MemStatus {
+ length: u32,
+ memory_load: u32,
+ total_phys: u64,
+ avail_phys: u64,
+ total_pagefile: u64,
+ avail_pagefile: u64,
+ total_virtual: u64,
+ avail_virtual: u64,
+ avail_ext_virtual: u64,
+ }
+ extern "system" {
+ fn GlobalMemoryStatusEx(buffer: *mut MemStatus) -> i32;
+ }
+ let mut s: MemStatus = unsafe { std::mem::zeroed() };
+ s.length = std::mem::size_of::<MemStatus>() as u32;
+ if unsafe { GlobalMemoryStatusEx(&mut s) } != 0 {
+ Some(s.avail_phys / (1024 * 1024))
+ } else {
+ None
+ }
+}
+
+#[cfg(target_os = "linux")]
+pub fn available_ram_mb() -> Option<u64> {
+ let text = std::fs::read_to_string("/proc/meminfo").ok()?;
+ for line in text.lines() {
+ let Some(rest) = line.strip_prefix("MemAvailable:") else {
+ continue;
+ };
+ let kb: u64 = rest.split_whitespace().next()?.parse().ok()?;
+ return Some(kb / 1024);
+ }
+ None
+}
+
+#[cfg(not(any(windows, target_os = "linux")))]
+pub fn available_ram_mb() -> Option<u64> {
+ None
+}
+
+#[cfg(unix)]
+pub fn set_executable(path: &Path) -> Result<(), String> {
+ use std::os::unix::fs::PermissionsExt;
+ let mut perms = std::fs::metadata(path)
+ .map_err(|e| e.to_string())?
+ .permissions();
+ perms.set_mode(0o755);
+ std::fs::set_permissions(path, perms).map_err(|e| e.to_string())
+}
+
+#[cfg(not(unix))]
+pub fn set_executable(_path: &Path) -> Result<(), String> {
+ Ok(())
+}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+
+ #[test]
+ fn platform_id_roundtrip() {
+ for id in [PlatformId::WindowsX64, PlatformId::LinuxX64Glibc] {
+ assert_eq!(PlatformId::from_str(id.as_str()).unwrap(), id);
+ }
+ }
+
+ #[test]
+ fn unsupported_platform_identifier_is_explicit() {
+ let err = PlatformId::from_str("macos-arm64").unwrap_err();
+ assert!(err.contains("Unsupported platform identifier"));
+ }
+
+ #[test]
+ fn current_platform_matches_compile_target() {
+ let spec = current_platform().expect("test target must be supported");
+ #[cfg(all(target_os = "windows", target_arch = "x86_64"))]
+ assert_eq!(spec.id, PlatformId::WindowsX64);
+ #[cfg(all(target_os = "linux", target_arch = "x86_64"))]
+ assert_eq!(spec.id, PlatformId::LinuxX64Glibc);
+ }
+
+ #[test]
+ fn python_paths_follow_platform_layout() {
+ let spec = current_platform().unwrap();
+ #[cfg(target_os = "windows")]
+ {
+ assert_eq!(spec.venv_python_bin, "Scripts/python.exe");
+ assert_eq!(spec.bundled_python_bin, "python.exe");
+ }
+ #[cfg(target_os = "linux")]
+ {
+ assert_eq!(spec.venv_python_bin, "bin/python");
+ assert_eq!(spec.bundled_python_bin, "bin/python3");
+ }
+ }
+}
diff --git a/app/src-tauri/src/runtime/edition.rs b/app/src-tauri/src/runtime/edition.rs
new file mode 100644
index 0000000..a5a0796
--- /dev/null
+++ b/app/src-tauri/src/runtime/edition.rs
@@ -0,0 +1,262 @@
+//! Edition manifest (`resources/edition.json`) parsing and validation.
+
+use std::path::Path;
+
+use crate::platform::{PlatformId, PlatformSpec};
+
+/// Edition identifiers supported by the runtime.
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum Edition {
+ Lite,
+ Full,
+}
+
+impl Edition {
+ pub fn as_str(self) -> &'static str {
+ match self {
+ Edition::Lite => "lite",
+ Edition::Full => "full",
+ }
+ }
+
+ pub fn from_str(s: &str) -> Result<Self, String> {
+ match s {
+ "lite" => Ok(Edition::Lite),
+ "full" => Ok(Edition::Full),
+ other => Err(format!(
+ "Invalid edition '{other}'. Expected 'lite' or 'full'."
+ )),
+ }
+ }
+
+ pub fn is_mutable(self) -> bool {
+ matches!(self, Edition::Lite)
+ }
+}
+
+/// Parsed and validated edition manifest.
+#[derive(Debug, Clone, PartialEq, Eq)]
+pub struct EditionManifest {
+ pub schema: u32,
+ pub edition: Edition,
+ pub app_version: String,
+ pub commit: String,
+ pub platform: PlatformId,
+ pub python_version: Option<String>,
+ pub components: Vec<String>,
+ pub dependency_lock_sha256: String,
+ pub built_at_utc: String,
+}
+
+#[derive(serde::Deserialize)]
+struct RawEditionManifest {
+ schema: u32,
+ edition: String,
+ app_version: String,
+ commit: String,
+ platform: String,
+ python_version: Option<String>,
+ components: Vec<String>,
+ dependency_lock_sha256: String,
+ built_at_utc: String,
+}
+
+impl EditionManifest {
+ fn validate(raw: RawEditionManifest, host: &PlatformSpec) -> Result<Self, String> {
+ if raw.schema != 1 {
+ return Err(format!(
+ "Unsupported edition manifest schema {} (expected 1).",
+ raw.schema
+ ));
+ }
+ let edition = Edition::from_str(&raw.edition)?;
+ let platform = PlatformId::from_str(&raw.platform)?;
+ if platform != host.id {
+ return Err(format!(
+ "Edition manifest targets {} but this build runs on {}.",
+ platform.as_str(),
+ host.id.as_str()
+ ));
+ }
+ match edition {
+ Edition::Lite => {
+ if raw.python_version.is_some() {
+ return Err("Lite edition manifest must set python_version to null.".into());
+ }
+ if raw.components != ["core"] {
+ return Err(format!(
+ "Lite edition manifest components must be [\"core\"], got {:?}.",
+ raw.components
+ ));
+ }
+ }
+ Edition::Full => {
+ let py = raw.python_version.as_deref().ok_or_else(|| {
+ "Full edition manifest must include python_version.".to_string()
+ })?;
+ if py.trim().is_empty() {
+ return Err("Full edition manifest python_version cannot be empty.".into());
+ }
+ let expected = ["core", "ocr", "audio-runtime"];
+ if raw.components != expected {
+ return Err(format!(
+ "Full edition manifest components must be {expected:?}, got {:?}.",
+ raw.components
+ ));
+ }
+ }
+ }
+ if raw.dependency_lock_sha256.trim().is_empty() {
+ return Err("Edition manifest dependency_lock_sha256 is missing.".into());
+ }
+ Ok(EditionManifest {
+ schema: raw.schema,
+ edition,
+ app_version: raw.app_version,
+ commit: raw.commit,
+ platform,
+ python_version: raw.python_version,
+ components: raw.components,
+ dependency_lock_sha256: raw.dependency_lock_sha256,
+ built_at_utc: raw.built_at_utc,
+ })
+ }
+
+ /// Load and validate `resources/edition.json` when present.
+ pub fn load(resource_root: &Path, host: &PlatformSpec) -> Result<Option<Self>, String> {
+ let path = resource_root.join("resources").join("edition.json");
+ if !path.is_file() {
+ return Ok(None);
+ }
+ let text = std::fs::read_to_string(&path)
+ .map_err(|e| format!("Cannot read edition manifest at {}: {e}", path.display()))?;
+ let raw: RawEditionManifest = serde_json::from_str(&text).map_err(|e| {
+ format!(
+ "Edition manifest at {} is invalid JSON: {e}",
+ path.display()
+ )
+ })?;
+ Self::validate(raw, host).map(Some)
+ }
+}
+
+/// Effective edition for this process: manifest when packaged, Lite in dev trees.
+#[derive(Debug, Clone)]
+pub enum EffectiveEdition {
+ DevLite,
+ Manifest(EditionManifest),
+}
+
+impl EffectiveEdition {
+ pub fn edition(&self) -> Edition {
+ match self {
+ EffectiveEdition::DevLite => Edition::Lite,
+ EffectiveEdition::Manifest(m) => m.edition,
+ }
+ }
+
+ pub fn is_full(&self) -> bool {
+ matches!(self.edition(), Edition::Full)
+ }
+}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+ use crate::platform::current_platform;
+
+ fn host() -> PlatformSpec {
+ current_platform().expect("supported test target")
+ }
+
+ fn lite_raw(platform: &str) -> RawEditionManifest {
+ RawEditionManifest {
+ schema: 1,
+ edition: "lite".to_string(),
+ app_version: "0.2.1".to_string(),
+ commit: "abc123".to_string(),
+ platform: platform.to_string(),
+ python_version: None,
+ components: vec!["core".to_string()],
+ dependency_lock_sha256: "deadbeef".to_string(),
+ built_at_utc: "2026-08-22T12:00:00Z".to_string(),
+ }
+ }
+
+ fn full_raw(platform: &str) -> RawEditionManifest {
+ RawEditionManifest {
+ schema: 1,
+ edition: "full".to_string(),
+ app_version: "0.2.1".to_string(),
+ commit: "abc123".to_string(),
+ platform: platform.to_string(),
+ python_version: Some("3.12.11".to_string()),
+ components: vec![
+ "core".to_string(),
+ "ocr".to_string(),
+ "audio-runtime".to_string(),
+ ],
+ dependency_lock_sha256: "deadbeef".to_string(),
+ built_at_utc: "2026-08-22T12:00:00Z".to_string(),
+ }
+ }
+
+ #[test]
+ fn parses_valid_lite_manifest() {
+ let h = host();
+ let m = EditionManifest::validate(lite_raw(h.id.as_str()), &h).unwrap();
+ assert_eq!(m.edition, Edition::Lite);
+ assert!(m.python_version.is_none());
+ }
+
+ #[test]
+ fn parses_valid_full_manifest() {
+ let h = host();
+ let m = EditionManifest::validate(full_raw(h.id.as_str()), &h).unwrap();
+ assert_eq!(m.edition, Edition::Full);
+ assert_eq!(m.python_version.as_deref(), Some("3.12.11"));
+ }
+
+ #[test]
+ fn rejects_invalid_schema() {
+ let h = host();
+ let mut raw = lite_raw(h.id.as_str());
+ raw.schema = 2;
+ assert!(EditionManifest::validate(raw, &h)
+ .unwrap_err()
+ .contains("schema"));
+ }
+
+ #[test]
+ fn rejects_missing_full_python_version() {
+ let h = host();
+ let mut raw = full_raw(h.id.as_str());
+ raw.python_version = None;
+ assert!(EditionManifest::validate(raw, &h)
+ .unwrap_err()
+ .contains("python_version"));
+ }
+
+ #[test]
+ fn rejects_platform_mismatch() {
+ let h = host();
+ let other = if h.id == PlatformId::WindowsX64 {
+ "linux-x64-glibc"
+ } else {
+ "windows-x64"
+ };
+ assert!(EditionManifest::validate(lite_raw(other), &h)
+ .unwrap_err()
+ .contains("targets"));
+ }
+
+ #[test]
+ fn rejects_unknown_edition() {
+ let h = host();
+ let mut raw = lite_raw(h.id.as_str());
+ raw.edition = "enterprise".into();
+ assert!(EditionManifest::validate(raw, &h)
+ .unwrap_err()
+ .contains("edition"));
+ }
+}
diff --git a/app/src-tauri/src/runtime/manager.rs b/app/src-tauri/src/runtime/manager.rs
new file mode 100644
index 0000000..49fc176
--- /dev/null
+++ b/app/src-tauri/src/runtime/manager.rs
@@ -0,0 +1,683 @@
+//! Runtime lifecycle: edition resolution, Lite transactional provisioning, Full immutability.
+
+use std::collections::HashMap;
+use std::fs;
+use std::path::{Path, PathBuf};
+
+use tauri::{AppHandle, Manager};
+
+use crate::platform::{self, PlatformSpec};
+
+use super::edition::{Edition, EditionManifest, EffectiveEdition};
+use super::provision::{
+ self, create_venv, download_uv, install_engine_packages, install_packages, smoke_test_python,
+};
+use super::status::{ComponentState, RuntimeLifecycle, RuntimeStatus};
+use super::store::{
+ activate_runtime, active_python_path, compute_runtime_id, python_in_environment, sha256_file,
+ staging_runtime_dir, write_runtime_record, RuntimeRecord, STAGING_SUFFIX,
+};
+
+/// Optional engine install state persisted alongside legacy provision metadata.
+#[derive(serde::Serialize, serde::Deserialize, Clone, Default)]
+pub struct OptionalEngineState {
+ #[serde(default)]
+ pub status: String,
+ #[serde(default)]
+ pub error: Option<String>,
+}
+
+#[derive(serde::Serialize, serde::Deserialize, Default)]
+struct OptionalEnginesState {
+ #[serde(default)]
+ ocr: OptionalEngineState,
+ #[serde(default)]
+ audio: OptionalEngineState,
+}
+
+#[derive(serde::Serialize, serde::Deserialize, Default)]
+struct LegacyProvisionState {
+ #[serde(default)]
+ status: String,
+ #[serde(default)]
+ version: String,
+ #[serde(default)]
+ optional: OptionalEnginesState,
+}
+
+pub struct RuntimeContext {
+ pub platform: PlatformSpec,
+ pub edition: EffectiveEdition,
+ pub app_data: PathBuf,
+ pub resource_root: PathBuf,
+}
+
+impl RuntimeContext {
+ pub fn resolve(app: &AppHandle) -> Result<Self, String> {
+ let platform = platform::current_platform()?;
+ let resource_root = app
+ .path()
+ .resource_dir()
+ .map_err(|e| format!("Cannot locate app resources: {e}"))?;
+ let edition = match EditionManifest::load(&resource_root, &platform)? {
+ Some(m) => EffectiveEdition::Manifest(m),
+ None => EffectiveEdition::DevLite,
+ };
+ let app_data = app.path().app_data_dir().expect("app data dir unavailable");
+ Ok(Self {
+ platform,
+ edition,
+ app_data,
+ resource_root,
+ })
+ }
+
+ pub fn edition_kind(&self) -> Edition {
+ self.edition.edition()
+ }
+
+ pub fn is_full(&self) -> bool {
+ self.edition.is_full()
+ }
+}
+
+pub fn app_data_dir(app: &AppHandle) -> PathBuf {
+ app.path().app_data_dir().expect("app data dir unavailable")
+}
+
+pub fn bundled_python_path(ctx: &RuntimeContext) -> Option<PathBuf> {
+ let python = ctx
+ .resource_root
+ .join("resources")
+ .join("runtime")
+ .join(ctx.platform.bundled_python_bin);
+ python.is_file().then_some(python)
+}
+
+fn validate_full_bundle(ctx: &RuntimeContext) -> Result<PathBuf, String> {
+ let python = bundled_python_path(ctx).ok_or_else(|| {
+ "Full edition requires a bundled Python interpreter at resources/runtime/.".to_string()
+ })?;
+ smoke_test_python(&python).map_err(|e| {
+ format!(
+ "Bundled Python interpreter failed validation at {}.\n\n{e}",
+ python.display()
+ )
+ })?;
+ Ok(python)
+}
+
+fn legacy_venv_python(app_data: &Path, spec: &PlatformSpec) -> PathBuf {
+ app_data.join("venv").join(spec.venv_python_bin)
+}
+
+fn legacy_bin_dir(app_data: &Path) -> PathBuf {
+ app_data.join("bin")
+}
+
+fn read_legacy_state(app_data: &Path) -> LegacyProvisionState {
+ let path = app_data.join(".provision-state.json");
+ fs::read_to_string(path)
+ .ok()
+ .and_then(|s| serde_json::from_str(&s).ok())
+ .unwrap_or_default()
+}
+
+fn write_legacy_state(app_data: &Path, state: &LegacyProvisionState) -> Result<(), String> {
+ fs::create_dir_all(app_data).map_err(|e| format!("Cannot create app data dir: {e}"))?;
+ let final_path = app_data.join(".provision-state.json");
+ let tmp_path = app_data.join(".provision-state.json.tmp");
+ let json = serde_json::to_string(state).map_err(|e| format!("State serialise error: {e}"))?;
+ fs::write(&tmp_path, json.as_bytes()).map_err(|e| format!("Cannot write setup state: {e}"))?;
+ fs::rename(&tmp_path, &final_path).map_err(|e| format!("Cannot finalise setup state: {e}"))
+}
+
+fn sidecar_resource(ctx: &RuntimeContext, filename: &str) -> Result<PathBuf, String> {
+ let path = ctx
+ .resource_root
+ .join("resources")
+ .join("sidecar")
+ .join(filename);
+ if !path.exists() {
+ return Err(format!(
+ "{filename} not found at {}.\n\nRe-install the app to fix this.",
+ path.display()
+ ));
+ }
+ Ok(path)
+}
+
+fn core_lock_path(ctx: &RuntimeContext) -> Result<PathBuf, String> {
+ sidecar_resource(ctx, "requirements.lock")
+}
+
+fn dependency_lock_sha256(ctx: &RuntimeContext) -> Result<String, String> {
+ if let EffectiveEdition::Manifest(m) = &ctx.edition {
+ return Ok(m.dependency_lock_sha256.clone());
+ }
+ sha256_file(&core_lock_path(ctx)?)
+}
+
+fn runtime_components(ctx: &RuntimeContext) -> Vec<String> {
+ match &ctx.edition {
+ EffectiveEdition::DevLite => vec!["core".into()],
+ EffectiveEdition::Manifest(m) => m.components.clone(),
+ }
+}
+
+pub fn python_path(app: &AppHandle) -> Result<PathBuf, String> {
+ let ctx = RuntimeContext::resolve(app)?;
+ if ctx.is_full() {
+ return validate_full_bundle(&ctx);
+ }
+ if let Some(p) = active_python_path(&ctx.app_data, &ctx.platform)? {
+ return Ok(p);
+ }
+ let legacy = legacy_venv_python(&ctx.app_data, &ctx.platform);
+ if legacy.is_file() {
+ return Ok(legacy);
+ }
+ Err("Python environment not found. Run setup to provision the runtime.".into())
+}
+
+pub fn is_provisioned(app: &AppHandle) -> bool {
+ RuntimeContext::resolve(app)
+ .ok()
+ .map(|ctx| is_provisioned_ctx(&ctx))
+ .unwrap_or(false)
+}
+
+fn is_provisioned_ctx(ctx: &RuntimeContext) -> bool {
+ if ctx.is_full() {
+ return bundled_python_path(ctx).is_some_and(|p| p.is_file());
+ }
+ if active_python_path(&ctx.app_data, &ctx.platform)
+ .ok()
+ .flatten()
+ .is_some()
+ {
+ return true;
+ }
+ let legacy = read_legacy_state(&ctx.app_data);
+ legacy.status == "ready" && legacy_venv_python(&ctx.app_data, &ctx.platform).is_file()
+}
+
+pub fn runtime_status(app: &AppHandle) -> Result<RuntimeStatus, String> {
+ let ctx = RuntimeContext::resolve(app)?;
+ let platform_id = ctx.platform.id.as_str();
+ let edition = ctx.edition_kind();
+
+ if ctx.is_full() {
+ let python = bundled_python_path(&ctx);
+ let (lifecycle, python_version, repair) = match python {
+ Some(p) if p.is_file() => match smoke_test_python(&p) {
+ Ok(v) => (RuntimeLifecycle::Ready, Some(v), None),
+ Err(e) => (
+ RuntimeLifecycle::Invalid,
+ None,
+ Some(format!("Repair: reinstall the Full edition archive. {e}")),
+ ),
+ },
+ _ => (
+ RuntimeLifecycle::Invalid,
+ None,
+ Some(
+ "Repair: reinstall the Full edition archive - bundled Python is missing."
+ .into(),
+ ),
+ ),
+ };
+ let mut components = HashMap::new();
+ components.insert("core".into(), ComponentState::Installed.as_str().into());
+ components.insert("ocr".into(), ComponentState::Installed.as_str().into());
+ components.insert("audio".into(), ComponentState::Installed.as_str().into());
+ return Ok(RuntimeStatus::new(
+ edition,
+ platform_id,
+ lifecycle,
+ python_version,
+ components,
+ repair,
+ ));
+ }
+
+ let legacy = read_legacy_state(&ctx.app_data);
+ let active = active_python_path(&ctx.app_data, &ctx.platform)?;
+ let legacy_ready =
+ legacy.status == "ready" && legacy_venv_python(&ctx.app_data, &ctx.platform).is_file();
+
+ let (lifecycle, python_version, repair) = if let Some(p) = active {
+ match smoke_test_python(&p) {
+ Ok(v) => (RuntimeLifecycle::Ready, Some(v), None),
+ Err(_) => (
+ RuntimeLifecycle::Repairable,
+ None,
+ Some("Repair: rebuild the active runtime.".into()),
+ ),
+ }
+ } else if legacy.status == "provisioning" {
+ (RuntimeLifecycle::Installing, None, None)
+ } else if legacy_ready {
+ match smoke_test_python(&legacy_venv_python(&ctx.app_data, &ctx.platform)) {
+ Ok(v) => (RuntimeLifecycle::Ready, Some(v), None),
+ Err(_) => (
+ RuntimeLifecycle::Repairable,
+ None,
+ Some("Repair: migrate to a new versioned runtime.".into()),
+ ),
+ }
+ } else if staging_dir_exists(&ctx.app_data) {
+ (RuntimeLifecycle::Installing, None, None)
+ } else {
+ (
+ RuntimeLifecycle::Missing,
+ None,
+ Some("Provision: install the core runtime.".into()),
+ )
+ };
+
+ let mut components = HashMap::new();
+ components.insert(
+ "core".into(),
+ if matches!(lifecycle, RuntimeLifecycle::Ready) {
+ ComponentState::Installed.as_str()
+ } else if matches!(lifecycle, RuntimeLifecycle::Installing) {
+ ComponentState::Installing.as_str()
+ } else if matches!(
+ lifecycle,
+ RuntimeLifecycle::Repairable | RuntimeLifecycle::Invalid
+ ) {
+ ComponentState::Failed.as_str()
+ } else {
+ ComponentState::NotInstalled.as_str()
+ }
+ .into(),
+ );
+ let ocr = &legacy.optional.ocr;
+ components.insert("ocr".into(), map_optional_component(&ocr.status));
+ let audio = &legacy.optional.audio;
+ components.insert("audio".into(), map_optional_component(&audio.status));
+
+ Ok(RuntimeStatus::new(
+ edition,
+ platform_id,
+ lifecycle,
+ python_version,
+ components,
+ repair,
+ ))
+}
+
+fn map_optional_component(status: &str) -> String {
+ match status {
+ "installed" => ComponentState::Installed.as_str(),
+ "installing" => ComponentState::Installing.as_str(),
+ "failed" => ComponentState::Failed.as_str(),
+ _ => ComponentState::NotInstalled.as_str(),
+ }
+ .into()
+}
+
+fn staging_dir_exists(app_data: &Path) -> bool {
+ let root = super::store::runtimes_root(app_data);
+ if !root.is_dir() {
+ return false;
+ }
+ fs::read_dir(root)
+ .ok()
+ .into_iter()
+ .flatten()
+ .filter_map(|e| e.ok())
+ .any(|e| e.file_name().to_string_lossy().ends_with(STAGING_SUFFIX))
+}
+
+pub async fn provision<F, Fut>(
+ app: AppHandle,
+ force: bool,
+ shutdown_sidecar: F,
+) -> Result<(), String>
+where
+ F: FnOnce() -> Fut,
+ Fut: std::future::Future<Output = ()>,
+{
+ let ctx = RuntimeContext::resolve(&app)?;
+ if ctx.is_full() {
+ return provision_full(&app, &ctx).await;
+ }
+ provision_lite(app, ctx, force, shutdown_sidecar).await
+}
+
+async fn provision_full(app: &AppHandle, ctx: &RuntimeContext) -> Result<(), String> {
+ validate_full_bundle(ctx)?;
+ let mut state = read_legacy_state(&ctx.app_data);
+ state.status = "ready".into();
+ state.version = env!("CARGO_PKG_VERSION").to_string();
+ state.optional.ocr = OptionalEngineState {
+ status: "installed".into(),
+ error: None,
+ };
+ state.optional.audio = OptionalEngineState {
+ status: "installed".into(),
+ error: None,
+ };
+ write_legacy_state(&ctx.app_data, &state)?;
+ provision::emit_progress(app, "done", "Bundled runtime ready.", 1.0);
+ Ok(())
+}
+
+async fn provision_lite<F, Fut>(
+ app: AppHandle,
+ ctx: RuntimeContext,
+ force: bool,
+ shutdown_sidecar: F,
+) -> Result<(), String>
+where
+ F: FnOnce() -> Fut,
+ Fut: std::future::Future<Output = ()>,
+{
+ let lock_sha = dependency_lock_sha256(&ctx)?;
+ let components = runtime_components(&ctx);
+ let runtime_id = compute_runtime_id(
+ env!("CARGO_PKG_VERSION"),
+ &ctx.platform,
+ "3.12",
+ &lock_sha,
+ &components,
+ );
+
+ if !force {
+ if let Some(p) = active_python_path(&ctx.app_data, &ctx.platform)? {
+ if smoke_test_python(&p).is_ok() {
+ provision::emit_progress(&app, "done", "Runtime already ready.", 1.0);
+ return Ok(());
+ }
+ }
+ }
+
+ let staging = staging_runtime_dir(&ctx.app_data, &runtime_id);
+ if staging.exists() {
+ fs::remove_dir_all(&staging).map_err(|e| {
+ format!(
+ "Could not clear incomplete staging runtime at {}: {e}",
+ staging.display()
+ )
+ })?;
+ }
+ fs::create_dir_all(&staging).map_err(|e| format!("Cannot create staging runtime: {e}"))?;
+ let staging_env = staging.join(super::store::ENV_DIR);
+ fs::create_dir_all(&staging_env)
+ .map_err(|e| format!("Cannot create staging environment: {e}"))?;
+
+ let mut legacy = read_legacy_state(&ctx.app_data);
+ legacy.status = "provisioning".into();
+ write_legacy_state(&ctx.app_data, &legacy)?;
+
+ let bin_dir = legacy_bin_dir(&ctx.app_data);
+ provision::emit_progress(&app, "downloading_uv", "Downloading setup tools...", 0.05);
+ let uv_path = download_uv(&app, &bin_dir, &ctx.platform)
+ .await
+ .map_err(|e| format!("Could not download setup tools.\n\n{e}"))?;
+ provision::emit_progress(&app, "downloading_uv", "Setup tools ready.", 0.2);
+
+ provision::emit_progress(&app, "creating_env", "Setting up Python 3.12...", 0.25);
+ let uv = uv_path.clone();
+ let env = staging_env.clone();
+ let app_env = app.clone();
+ tokio::task::spawn_blocking(move || create_venv(&app_env, &uv, &env))
+ .await
+ .map_err(|e| format!("Internal error: {e}"))??;
+ provision::emit_progress(&app, "creating_env", "Python environment ready.", 0.45);
+
+ provision::emit_progress(
+ &app,
+ "installing_packages",
+ "Installing packages - this takes about a minute...",
+ 0.5,
+ );
+ let requirements = core_lock_path(&ctx)?;
+ let uv2 = uv_path.clone();
+ let env2 = staging_env.clone();
+ let app_pkgs = app.clone();
+ let platform = ctx.platform.clone();
+ tokio::task::spawn_blocking(move || {
+ install_packages(&app_pkgs, &uv2, &env2, &requirements, &platform)
+ })
+ .await
+ .map_err(|e| format!("Internal error: {e}"))??;
+ provision::emit_progress(&app, "installing_packages", "Packages installed.", 0.85);
+
+ let python = python_in_environment(&staging_env, &ctx.platform);
+ let python_version = smoke_test_python(&python).map_err(|e| {
+ let _ = fs::remove_dir_all(&staging);
+ format!("Staging runtime failed smoke test.\n\n{e}")
+ })?;
+
+ write_runtime_record(
+ &staging,
+ &RuntimeRecord {
+ runtime_id: runtime_id.clone(),
+ edition: Edition::Lite.as_str().into(),
+ platform: ctx.platform.id.as_str().into(),
+ python_version: python_version.clone(),
+ dependency_lock_sha256: lock_sha,
+ components: components.clone(),
+ created_at_utc: chrono_now_utc(),
+ },
+ )?;
+
+ // Sidecar must release loaded native modules before activation replaces the environment.
+ shutdown_sidecar().await;
+
+ match activate_runtime(&ctx.app_data, &runtime_id) {
+ Ok(_) => {
+ legacy.status = "ready".into();
+ legacy.version = env!("CARGO_PKG_VERSION").to_string();
+ write_legacy_state(&ctx.app_data, &legacy)?;
+ let _ = super::store::prune_old_runtimes(&ctx.app_data);
+ provision::emit_progress(&app, "done", "Ready.", 1.0);
+ Ok(())
+ }
+ Err(e) => {
+ let _ = fs::remove_dir_all(&staging);
+ legacy.status = "repairable".into();
+ let _ = write_legacy_state(&ctx.app_data, &legacy);
+ Err(format!("Failed to activate staged runtime.\n\n{e}"))
+ }
+ }
+}
+
+fn chrono_now_utc() -> String {
+ // Avoid adding a chrono dependency - RFC3339-like timestamp from system time.
+ use std::time::{SystemTime, UNIX_EPOCH};
+ let secs = SystemTime::now()
+ .duration_since(UNIX_EPOCH)
+ .map(|d| d.as_secs())
+ .unwrap_or(0);
+ format!("{secs}")
+}
+
+pub fn optional_engine_status(app: &AppHandle, engine: &str) -> OptionalEngineState {
+ let Ok(ctx) = RuntimeContext::resolve(app) else {
+ return OptionalEngineState::default();
+ };
+ if ctx.is_full() && matches!(engine, "ocr" | "audio") {
+ return OptionalEngineState {
+ status: "installed".into(),
+ error: None,
+ };
+ }
+ let state = read_legacy_state(&ctx.app_data);
+ match engine {
+ "ocr" => state.optional.ocr,
+ "audio" => state.optional.audio,
+ _ => OptionalEngineState::default(),
+ }
+}
+
+pub async fn install_optional_engine(app: AppHandle, engine: String) -> Result<(), String> {
+ let ctx = RuntimeContext::resolve(&app)?;
+ if ctx.is_full() {
+ return match engine.as_str() {
+ "ocr" | "audio" => Ok(()),
+ other => Err(format!("Unknown engine: {other}")),
+ };
+ }
+
+ let lock_name = match engine.as_str() {
+ "ocr" => "requirements-ocr.lock",
+ "audio" => "requirements-audio.lock",
+ other => return Err(format!("Unknown engine: {other}")),
+ };
+
+ let uv_path = legacy_bin_dir(&ctx.app_data).join(&ctx.platform.uv_bin);
+ if !uv_path.exists() {
+ return Err("Setup tools not found. Restart the app to re-provision.".into());
+ }
+
+ let python = python_path(&app)?;
+ let lock_path = sidecar_resource(&ctx, lock_name)?;
+
+ let mut legacy = read_legacy_state(&ctx.app_data);
+ let slot = match engine.as_str() {
+ "ocr" => &mut legacy.optional.ocr,
+ "audio" => &mut legacy.optional.audio,
+ _ => unreachable!(),
+ };
+ *slot = OptionalEngineState {
+ status: "installing".into(),
+ error: None,
+ };
+ write_legacy_state(&ctx.app_data, &legacy)?;
+
+ let uv = uv_path.clone();
+ let py = python.clone();
+ let lock = lock_path.clone();
+ let result = tokio::task::spawn_blocking(move || install_engine_packages(&uv, &py, &lock))
+ .await
+ .map_err(|e| format!("Internal error: {e}"))?;
+
+ match result {
+ Ok(()) => {
+ let mut legacy = read_legacy_state(&ctx.app_data);
+ let slot = match engine.as_str() {
+ "ocr" => &mut legacy.optional.ocr,
+ "audio" => &mut legacy.optional.audio,
+ _ => unreachable!(),
+ };
+ *slot = OptionalEngineState {
+ status: "installed".into(),
+ error: None,
+ };
+ write_legacy_state(&ctx.app_data, &legacy)?;
+ Ok(())
+ }
+ Err(stderr) => {
+ let msg = classify_install_error(&stderr);
+ let mut legacy = read_legacy_state(&ctx.app_data);
+ let slot = match engine.as_str() {
+ "ocr" => &mut legacy.optional.ocr,
+ "audio" => &mut legacy.optional.audio,
+ _ => unreachable!(),
+ };
+ *slot = OptionalEngineState {
+ status: "failed".into(),
+ error: Some(msg.clone()),
+ };
+ write_legacy_state(&ctx.app_data, &legacy)?;
+ Err(msg)
+ }
+ }
+}
+
+fn classify_install_error(stderr: &str) -> String {
+ let low = stderr.to_lowercase();
+ if low.contains("access is denied")
+ || low.contains("access denied")
+ || low.contains("os error 5")
+ {
+ format!(
+ "Could not update packages because Python files are still in use. Close MDFlux fully and try Repair.\n\nDetail: {stderr}"
+ )
+ } else if low.contains("missing `record` file") || low.contains("missing record file") {
+ format!(
+ "The Python environment is incomplete. Use Repair before installing this component again.\n\nDetail: {stderr}"
+ )
+ } else if low.contains("network")
+ || low.contains("timeout")
+ || low.contains("connection")
+ || low.contains("failed to resolve")
+ || low.contains("name resolution")
+ || low.contains("dns")
+ {
+ format!("Could not download packages - check your internet connection.\n\nDetail: {stderr}")
+ } else {
+ format!("Installation failed.\n\nDetail: {stderr}")
+ }
+}
+
+/// On successful launch, prune stale runtimes while keeping rollback copy.
+pub fn on_successful_launch(app: &AppHandle) -> Result<(), String> {
+ let ctx = RuntimeContext::resolve(app)?;
+ if ctx.is_full() {
+ return Ok(());
+ }
+ super::store::prune_old_runtimes(&ctx.app_data)
+}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+ use crate::runtime::store::{
+ activate_runtime, read_active_pointer, write_active_pointer, ActiveRuntimePointer,
+ };
+
+ #[test]
+ fn full_edition_refuses_optional_engine_install() {
+ // Full behavior is enforced by is_full + early return; verify helper logic.
+ let components: Vec<String> = vec!["core".into(), "ocr".into(), "audio-runtime".into()];
+ assert_eq!(components.len(), 3);
+ }
+
+ #[test]
+ fn legacy_ready_detection() {
+ let app_data = std::env::temp_dir().join(format!("mdflux_mgr_{}", std::process::id()));
+ let _ = fs::remove_dir_all(&app_data);
+ fs::create_dir_all(&app_data).unwrap();
+ let platform = platform::current_platform().unwrap();
+ let venv = legacy_venv_python(&app_data, &platform);
+ fs::create_dir_all(venv.parent().unwrap()).unwrap();
+ fs::write(&venv, b"").unwrap();
+ let mut legacy = LegacyProvisionState::default();
+ legacy.status = "ready".into();
+ write_legacy_state(&app_data, &legacy).unwrap();
+ let ctx = RuntimeContext {
+ platform: platform.clone(),
+ edition: EffectiveEdition::DevLite,
+ app_data: app_data.clone(),
+ resource_root: app_data.join("resources"),
+ };
+ assert!(is_provisioned_ctx(&ctx));
+ let _ = fs::remove_dir_all(&app_data);
+ }
+
+ #[test]
+ fn activation_failure_preserves_active_pointer() {
+ let app_data = std::env::temp_dir().join(format!("mdflux_mgr2_{}", std::process::id()));
+ let _ = fs::remove_dir_all(&app_data);
+ fs::create_dir_all(&app_data).unwrap();
+ write_active_pointer(
+ &app_data,
+ &ActiveRuntimePointer {
+ runtime_id: "rt-keep".into(),
+ previous_runtime_id: None,
+ },
+ )
+ .unwrap();
+ assert!(activate_runtime(&app_data, "rt-missing").is_err());
+ assert_eq!(
+ read_active_pointer(&app_data).unwrap().unwrap().runtime_id,
+ "rt-keep"
+ );
+ let _ = fs::remove_dir_all(&app_data);
+ }
+}
diff --git a/app/src-tauri/src/runtime/mod.rs b/app/src-tauri/src/runtime/mod.rs
new file mode 100644
index 0000000..c1edc6b
--- /dev/null
+++ b/app/src-tauri/src/runtime/mod.rs
@@ -0,0 +1,11 @@
+pub mod edition;
+pub mod manager;
+pub mod provision;
+pub mod status;
+pub mod store;
+
+pub use manager::{
+ install_optional_engine, is_provisioned, on_successful_launch, optional_engine_status,
+ provision, python_path, runtime_status, OptionalEngineState, RuntimeContext,
+};
+pub use status::RuntimeStatus;
diff --git a/app/src-tauri/src/runtime/provision.rs b/app/src-tauri/src/runtime/provision.rs
new file mode 100644
index 0000000..ddcc3ae
--- /dev/null
+++ b/app/src-tauri/src/runtime/provision.rs
@@ -0,0 +1,347 @@
+//! Lite runtime provisioning helpers (uv download, venv, hash-pinned packages).
+
+use std::fs;
+use std::io::{BufRead, BufReader};
+use std::path::{Path, PathBuf};
+use std::time::Instant;
+
+use sha2::{Digest, Sha256};
+use tauri::{AppHandle, Emitter};
+
+use crate::ipc::{DownloadDetail, ProgressPayload};
+use crate::platform::{self, PlatformSpec};
+
+pub fn emit_progress(app: &AppHandle, step: &str, message: &str, pct: f32) {
+ let _ = app.emit(
+ "provision:progress",
+ ProgressPayload {
+ step: step.to_string(),
+ message: message.to_string(),
+ pct,
+ detail: None,
+ },
+ );
+}
+
+fn emit_detail(app: &AppHandle, step: &str, message: &str, pct: f32, detail: DownloadDetail) {
+ let _ = app.emit(
+ "provision:progress",
+ ProgressPayload {
+ step: step.to_string(),
+ message: message.to_string(),
+ pct,
+ detail: Some(detail),
+ },
+ );
+}
+
+pub async fn download_uv(
+ app: &AppHandle,
+ bin_dir: &Path,
+ spec: &PlatformSpec,
+) -> Result<PathBuf, String> {
+ fs::create_dir_all(bin_dir).map_err(|e| e.to_string())?;
+
+ let uv_path = bin_dir.join(spec.uv_bin);
+ if uv_path.exists() {
+ let valid = fs::metadata(&uv_path)
+ .map(|m| m.len() > 1024)
+ .unwrap_or(false);
+ if valid {
+ return Ok(uv_path);
+ }
+ }
+
+ let client = reqwest::Client::builder()
+ .timeout(std::time::Duration::from_secs(120))
+ .build()
+ .map_err(|e| e.to_string())?;
+
+ let mut resp = client
+ .get(spec.uv_url)
+ .send()
+ .await
+ .map_err(|e| e.to_string())?
+ .error_for_status()
+ .map_err(|e| e.to_string())?;
+
+ let total = resp.content_length();
+ let mut bytes: Vec<u8> = Vec::with_capacity(total.unwrap_or(0) as usize);
+ let started = Instant::now();
+ let mut last_emit = Instant::now();
+ let mut window_start = Instant::now();
+ let mut window_bytes: u64 = 0;
+ let mut speed: f64 = 0.0;
+
+ while let Some(chunk) = resp.chunk().await.map_err(|e| e.to_string())? {
+ bytes.extend_from_slice(&chunk);
+ window_bytes += chunk.len() as u64;
+ let win = window_start.elapsed().as_secs_f64();
+ if win >= 0.4 {
+ speed = window_bytes as f64 / win;
+ window_start = Instant::now();
+ window_bytes = 0;
+ }
+ if last_emit.elapsed().as_millis() >= 100 {
+ let received = bytes.len() as u64;
+ let frac = total
+ .map(|t| {
+ if t > 0 {
+ received as f32 / t as f32
+ } else {
+ 0.0
+ }
+ })
+ .unwrap_or(0.0)
+ .clamp(0.0, 1.0);
+ emit_detail(
+ app,
+ "downloading_uv",
+ "Downloading setup tools...",
+ 0.05 + frac * 0.15,
+ DownloadDetail {
+ label: spec.uv_label.to_string(),
+ received,
+ total,
+ speed: if speed > 0.0 {
+ speed
+ } else {
+ received as f64 / started.elapsed().as_secs_f64().max(0.001)
+ },
+ },
+ );
+ last_emit = Instant::now();
+ }
+ }
+
+ if !spec.uv_sha256.is_empty() {
+ let actual = format!("{:x}", Sha256::digest(&bytes));
+ if actual != spec.uv_sha256 {
+ return Err(format!(
+ "Setup tools failed integrity check (SHA256 mismatch).\n\nExpected: {}\nGot: {}",
+ spec.uv_sha256, actual
+ ));
+ }
+ }
+
+ let archive_path = bin_dir.join(spec.uv_archive);
+ fs::write(&archive_path, &bytes).map_err(|e| e.to_string())?;
+ let dest = bin_dir.to_path_buf();
+ let archive_clone = archive_path.clone();
+ let spec_uv_bin = spec.uv_bin.to_string();
+ tokio::task::spawn_blocking(move || extract_uv(&archive_clone, &dest, &spec_uv_bin))
+ .await
+ .map_err(|e| e.to_string())??;
+ let _ = fs::remove_file(&archive_path);
+ platform::set_executable(&uv_path)?;
+ Ok(uv_path)
+}
+
+#[cfg(target_os = "windows")]
+fn extract_uv(archive: &Path, dest: &Path, uv_bin: &str) -> Result<(), String> {
+ let file = fs::File::open(archive).map_err(|e| e.to_string())?;
+ let mut zip = zip::ZipArchive::new(file).map_err(|e| e.to_string())?;
+ for i in 0..zip.len() {
+ let mut entry = zip.by_index(i).map_err(|e| e.to_string())?;
+ let name = entry.name().to_string();
+ if name == uv_bin || name.ends_with(&format!("/{uv_bin}")) {
+ let mut out = fs::File::create(dest.join(uv_bin)).map_err(|e| e.to_string())?;
+ std::io::copy(&mut entry, &mut out).map_err(|e| e.to_string())?;
+ return Ok(());
+ }
+ }
+ Err(format!("{uv_bin} not found in archive"))
+}
+
+#[cfg(unix)]
+fn extract_uv(archive: &Path, dest: &Path, uv_bin: &str) -> Result<(), String> {
+ let file = fs::File::open(archive).map_err(|e| e.to_string())?;
+ let gz = flate2::read::GzDecoder::new(file);
+ let mut tar = tar::Archive::new(gz);
+ for entry in tar.entries().map_err(|e| e.to_string())? {
+ let mut entry = entry.map_err(|e| e.to_string())?;
+ let path = entry.path().map_err(|e| e.to_string())?;
+ let name = path.file_name().and_then(|n| n.to_str()).unwrap_or("");
+ if name == uv_bin {
+ entry.unpack(dest.join(uv_bin)).map_err(|e| e.to_string())?;
+ return Ok(());
+ }
+ }
+ Err(format!("{uv_bin} not found in archive"))
+}
+
+fn run_uv_streamed(
+ mut cmd: std::process::Command,
+ mut on_line: impl FnMut(&str),
+) -> Result<(std::process::ExitStatus, String), String> {
+ cmd.stdout(std::process::Stdio::null());
+ cmd.stderr(std::process::Stdio::piped());
+ crate::hide_console(&mut cmd);
+ let mut child = cmd
+ .spawn()
+ .map_err(|e| format!("Could not run setup tool: {e}"))?;
+ let stderr = child.stderr.take().expect("stderr was piped");
+ let mut collected = String::new();
+ for line in BufReader::new(stderr).lines() {
+ let Ok(line) = line else { break };
+ collected.push_str(&line);
+ collected.push('\n');
+ let trimmed = line.trim();
+ if !trimmed.is_empty() {
+ on_line(trimmed);
+ }
+ }
+ let status = child.wait().map_err(|e| format!("Setup tool error: {e}"))?;
+ Ok((status, collected))
+}
+
+pub fn create_venv(app: &AppHandle, uv: &Path, venv_dir: &Path) -> Result<(), String> {
+ let mut cmd = std::process::Command::new(uv);
+ cmd.args(["venv", "--python", "3.12", &venv_dir.to_string_lossy()]);
+ let (status, stderr) = run_uv_streamed(cmd, |line| {
+ let low = line.to_lowercase();
+ let (msg, pct) = if low.contains("download") || low.contains("fetching") {
+ ("Downloading Python 3.12 runtime...", 0.30)
+ } else if low.contains("creating") || low.contains("created") || low.contains("environment")
+ {
+ ("Creating the Python environment...", 0.42)
+ } else {
+ ("Setting up Python 3.12...", 0.28)
+ };
+ emit_detail(
+ app,
+ "creating_env",
+ msg,
+ pct,
+ DownloadDetail {
+ label: "CPython 3.12 runtime (~25 MB)".to_string(),
+ received: 0,
+ total: None,
+ speed: 0.0,
+ },
+ );
+ })?;
+ if !status.success() {
+ let msg = if stderr.contains("No interpreter found") || stderr.contains("download") {
+ "Python 3.12 could not be downloaded. Check your internet connection and try again."
+ } else {
+ "Could not create Python environment."
+ };
+ return Err(format!("{msg}\n\nDetail: {stderr}"));
+ }
+ Ok(())
+}
+
+pub fn install_packages(
+ app: &AppHandle,
+ uv: &Path,
+ venv_dir: &Path,
+ requirements: &Path,
+ spec: &PlatformSpec,
+) -> Result<(), String> {
+ let python = venv_dir.join(spec.venv_python_bin);
+ let mut cmd = std::process::Command::new(uv);
+ cmd.args([
+ "pip",
+ "install",
+ "--python",
+ &python.to_string_lossy(),
+ "--require-hashes",
+ "-r",
+ &requirements.to_string_lossy(),
+ ]);
+ let (status, stderr) = run_uv_streamed(cmd, |line| {
+ let low = line.to_lowercase();
+ let (msg, pct): (String, f32) = if low.starts_with("resolved") {
+ ("Resolving package versions...".to_string(), 0.58)
+ } else if low.starts_with("downloading") || low.starts_with("downloaded") {
+ (truncate(line, 90), 0.72)
+ } else if low.starts_with("prepared") || low.starts_with("preparing") {
+ ("Unpacking packages...".to_string(), 0.80)
+ } else if low.starts_with("installed") {
+ ("Finalising installation...".to_string(), 0.88)
+ } else {
+ ("Installing packages...".to_string(), 0.62)
+ };
+ emit_detail(
+ app,
+ "installing_packages",
+ &msg,
+ pct,
+ DownloadDetail {
+ label: "markitdown + format support".to_string(),
+ received: 0,
+ total: None,
+ speed: 0.0,
+ },
+ );
+ })?;
+ if !status.success() {
+ let low = stderr.to_lowercase();
+ let msg = if low.contains("network")
+ || low.contains("timeout")
+ || low.contains("connection")
+ || low.contains("resolve")
+ || low.contains("refused")
+ {
+ "Packages could not be downloaded. Check your internet connection and try again."
+ } else {
+ "Package installation failed."
+ };
+ return Err(format!("{msg}\n\nDetail: {stderr}"));
+ }
+ Ok(())
+}
+
+pub fn install_engine_packages(uv: &Path, python: &Path, lock_path: &Path) -> Result<(), String> {
+ let mut cmd = std::process::Command::new(uv);
+ cmd.args([
+ "pip",
+ "install",
+ "--python",
+ &python.to_string_lossy(),
+ "--require-hashes",
+ "-r",
+ &lock_path.to_string_lossy(),
+ ]);
+ crate::hide_console(&mut cmd);
+ let output = cmd
+ .output()
+ .map_err(|e| format!("Could not run package installer: {e}"))?;
+ if output.status.success() {
+ Ok(())
+ } else {
+ Err(String::from_utf8_lossy(&output.stderr).to_string())
+ }
+}
+
+pub fn smoke_test_python(python: &Path) -> Result<String, String> {
+ let mut cmd = std::process::Command::new(python);
+ cmd.args([
+ "-c",
+ "import markitdown; import sys; print(sys.version.split()[0])",
+ ]);
+ crate::hide_console(&mut cmd);
+ let output = cmd.output().map_err(|e| {
+ format!(
+ "Smoke test could not run Python at {}: {e}",
+ python.display()
+ )
+ })?;
+ if !output.status.success() {
+ let stderr = String::from_utf8_lossy(&output.stderr);
+ return Err(format!("Runtime smoke test failed.\n\nDetail: {stderr}"));
+ }
+ let version = String::from_utf8_lossy(&output.stdout).trim().to_string();
+ Ok(version)
+}
+
+fn truncate(s: &str, max: usize) -> String {
+ if s.chars().count() <= max {
+ s.to_string()
+ } else {
+ let mut out: String = s.chars().take(max.saturating_sub(1)).collect();
+ out.push_str("...");
+ out
+ }
+}
diff --git a/app/src-tauri/src/runtime/status.rs b/app/src-tauri/src/runtime/status.rs
new file mode 100644
index 0000000..a32135b
--- /dev/null
+++ b/app/src-tauri/src/runtime/status.rs
@@ -0,0 +1,113 @@
+//! Runtime status contract exposed to the UI.
+
+use std::collections::HashMap;
+
+use serde::{Deserialize, Serialize};
+
+use super::edition::Edition;
+
+/// Component install state values exposed to the UI.
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum ComponentState {
+ NotInstalled,
+ Installing,
+ Installed,
+ Failed,
+}
+
+impl ComponentState {
+ pub fn as_str(self) -> &'static str {
+ match self {
+ ComponentState::NotInstalled => "not_installed",
+ ComponentState::Installing => "installing",
+ ComponentState::Installed => "installed",
+ ComponentState::Failed => "failed",
+ }
+ }
+}
+
+/// Runtime lifecycle status values exposed to the UI.
+#[derive(Debug, Clone, Copy, PartialEq, Eq)]
+pub enum RuntimeLifecycle {
+ Missing,
+ Installing,
+ Ready,
+ Invalid,
+ Repairable,
+}
+
+impl RuntimeLifecycle {
+ pub fn as_str(self) -> &'static str {
+ match self {
+ RuntimeLifecycle::Missing => "missing",
+ RuntimeLifecycle::Installing => "installing",
+ RuntimeLifecycle::Ready => "ready",
+ RuntimeLifecycle::Invalid => "invalid",
+ RuntimeLifecycle::Repairable => "repairable",
+ }
+ }
+}
+
+/// JSON shape returned by `get_runtime_status`.
+#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
+pub struct RuntimeStatus {
+ pub edition: String,
+ pub platform: String,
+ pub status: String,
+ pub mutable: bool,
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub python_version: Option<String>,
+ pub components: HashMap<String, String>,
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub repair_action: Option<String>,
+}
+
+impl RuntimeStatus {
+ pub fn new(
+ edition: Edition,
+ platform: &str,
+ lifecycle: RuntimeLifecycle,
+ python_version: Option<String>,
+ components: HashMap<String, String>,
+ repair_action: Option<String>,
+ ) -> Self {
+ Self {
+ edition: edition.as_str().to_string(),
+ platform: platform.to_string(),
+ status: lifecycle.as_str().to_string(),
+ mutable: edition.is_mutable(),
+ python_version,
+ components,
+ repair_action,
+ }
+ }
+}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+
+ #[test]
+ fn serializes_frozen_contract_shape() {
+ let mut components = HashMap::new();
+ components.insert("core".into(), "installed".into());
+ components.insert("ocr".into(), "not_installed".into());
+ components.insert("audio".into(), "not_installed".into());
+ let status = RuntimeStatus::new(
+ Edition::Lite,
+ "windows-x64",
+ RuntimeLifecycle::Ready,
+ Some("3.12.11".into()),
+ components,
+ None,
+ );
+ let json = serde_json::to_value(&status).unwrap();
+ assert_eq!(json["edition"], "lite");
+ assert_eq!(json["platform"], "windows-x64");
+ assert_eq!(json["status"], "ready");
+ assert_eq!(json["mutable"], true);
+ assert_eq!(json["python_version"], "3.12.11");
+ assert_eq!(json["components"]["core"], "installed");
+ assert!(json.get("repair_action").is_none());
+ }
+}
diff --git a/app/src-tauri/src/runtime/store.rs b/app/src-tauri/src/runtime/store.rs
new file mode 100644
index 0000000..c909768
--- /dev/null
+++ b/app/src-tauri/src/runtime/store.rs
@@ -0,0 +1,324 @@
+//! Versioned Lite runtime directory layout and atomic activation.
+
+use std::collections::BTreeSet;
+use std::fs;
+use std::path::{Path, PathBuf};
+
+use sha2::{Digest, Sha256};
+
+use crate::platform::PlatformSpec;
+
+#[cfg(test)]
+use super::edition::Edition;
+
+pub const ACTIVE_POINTER_FILE: &str = "active-runtime.json";
+pub const RUNTIME_JSON: &str = "runtime.json";
+pub const ENV_DIR: &str = "environment";
+pub const STAGING_SUFFIX: &str = ".staging";
+
+/// Pointer written atomically when a runtime becomes active.
+#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, PartialEq, Eq)]
+pub struct ActiveRuntimePointer {
+ pub runtime_id: String,
+ #[serde(default, skip_serializing_if = "Option::is_none")]
+ pub previous_runtime_id: Option<String>,
+}
+
+/// Metadata stored inside each versioned runtime directory.
+#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, PartialEq, Eq)]
+pub struct RuntimeRecord {
+ pub runtime_id: String,
+ pub edition: String,
+ pub platform: String,
+ pub python_version: String,
+ pub dependency_lock_sha256: String,
+ pub components: Vec<String>,
+ pub created_at_utc: String,
+}
+
+pub fn runtimes_root(app_data: &Path) -> PathBuf {
+ app_data.join("runtimes")
+}
+
+pub fn active_pointer_path(app_data: &Path) -> PathBuf {
+ app_data.join(ACTIVE_POINTER_FILE)
+}
+
+pub fn runtime_dir(app_data: &Path, runtime_id: &str) -> PathBuf {
+ runtimes_root(app_data).join(runtime_id)
+}
+
+pub fn staging_runtime_dir(app_data: &Path, runtime_id: &str) -> PathBuf {
+ runtimes_root(app_data).join(format!("{runtime_id}{STAGING_SUFFIX}"))
+}
+
+pub fn environment_dir(app_data: &Path, runtime_id: &str) -> PathBuf {
+ runtime_dir(app_data, runtime_id).join(ENV_DIR)
+}
+
+pub fn python_in_environment(env_dir: &Path, platform: &PlatformSpec) -> PathBuf {
+ env_dir.join(platform.venv_python_bin)
+}
+
+/// Derive a stable runtime id from version, platform, lock checksum, and components.
+pub fn compute_runtime_id(
+ app_version: &str,
+ platform: &PlatformSpec,
+ python_version: &str,
+ dependency_lock_sha256: &str,
+ components: &[String],
+) -> String {
+ let mut parts = components.to_vec();
+ parts.sort();
+ let payload = format!(
+ "{}|{}|{}|{}|{}",
+ app_version,
+ platform.id.as_str(),
+ python_version,
+ dependency_lock_sha256,
+ parts.join(",")
+ );
+ let digest = Sha256::digest(payload.as_bytes());
+ let short: String = digest[..8].iter().map(|b| format!("{b:02x}")).collect();
+ format!("rt-{short}")
+}
+
+pub fn sha256_file(path: &Path) -> Result<String, String> {
+ let bytes = fs::read(path).map_err(|e| format!("Cannot read {}: {e}", path.display()))?;
+ Ok(format!("{:x}", Sha256::digest(bytes)))
+}
+
+pub fn read_active_pointer(app_data: &Path) -> Result<Option<ActiveRuntimePointer>, String> {
+ let path = active_pointer_path(app_data);
+ if !path.is_file() {
+ return Ok(None);
+ }
+ let text = fs::read_to_string(&path)
+ .map_err(|e| format!("Cannot read active runtime pointer: {e}"))?;
+ serde_json::from_str(&text).map_err(|e| format!("Active runtime pointer is invalid JSON: {e}"))
+}
+
+pub fn write_active_pointer(app_data: &Path, pointer: &ActiveRuntimePointer) -> Result<(), String> {
+ fs::create_dir_all(app_data).map_err(|e| format!("Cannot create app data dir: {e}"))?;
+ let final_path = active_pointer_path(app_data);
+ let tmp_path = app_data.join(format!("{ACTIVE_POINTER_FILE}.tmp"));
+ let json =
+ serde_json::to_string(pointer).map_err(|e| format!("Pointer serialise error: {e}"))?;
+ fs::write(&tmp_path, json.as_bytes()).map_err(|e| format!("Cannot write pointer temp: {e}"))?;
+ fs::rename(&tmp_path, &final_path).map_err(|e| format!("Cannot activate runtime pointer: {e}"))
+}
+
+pub fn write_runtime_record(runtime_root: &Path, record: &RuntimeRecord) -> Result<(), String> {
+ fs::create_dir_all(runtime_root).map_err(|e| format!("Cannot create runtime dir: {e}"))?;
+ let path = runtime_root.join(RUNTIME_JSON);
+ let json =
+ serde_json::to_string_pretty(record).map_err(|e| format!("Record serialise error: {e}"))?;
+ fs::write(&path, json.as_bytes()).map_err(|e| format!("Cannot write runtime record: {e}"))
+}
+
+pub fn read_runtime_record(runtime_root: &Path) -> Result<RuntimeRecord, String> {
+ let path = runtime_root.join(RUNTIME_JSON);
+ let text = fs::read_to_string(&path)
+ .map_err(|e| format!("Cannot read runtime record at {}: {e}", path.display()))?;
+ serde_json::from_str(&text).map_err(|e| format!("Runtime record invalid JSON: {e}"))
+}
+
+/// Promote a staged runtime directory to active, retaining the previous id for rollback.
+pub fn activate_runtime(app_data: &Path, runtime_id: &str) -> Result<ActiveRuntimePointer, String> {
+ let staging = staging_runtime_dir(app_data, runtime_id);
+ let final_dir = runtime_dir(app_data, runtime_id);
+ if !staging.is_dir() {
+ return Err(format!("Staging runtime missing at {}.", staging.display()));
+ }
+ if final_dir.exists() {
+ fs::remove_dir_all(&final_dir).map_err(|e| {
+ format!(
+ "Cannot replace existing runtime at {}: {e}",
+ final_dir.display()
+ )
+ })?;
+ }
+ fs::rename(&staging, &final_dir).map_err(|e| {
+ format!(
+ "Failed to promote staging runtime {} -> {}: {e}",
+ staging.display(),
+ final_dir.display()
+ )
+ })?;
+
+ let previous = read_active_pointer(app_data)?.map(|p| p.runtime_id);
+ let pointer = ActiveRuntimePointer {
+ runtime_id: runtime_id.to_string(),
+ previous_runtime_id: previous,
+ };
+ write_active_pointer(app_data, &pointer)?;
+ Ok(pointer)
+}
+
+/// Remove stale runtime directories, keeping the active and immediately previous ids.
+pub fn prune_old_runtimes(app_data: &Path) -> Result<(), String> {
+ let root = runtimes_root(app_data);
+ if !root.is_dir() {
+ return Ok(());
+ }
+ let keep = active_and_previous_ids(app_data)?;
+ for entry in fs::read_dir(&root).map_err(|e| e.to_string())? {
+ let entry = entry.map_err(|e| e.to_string())?;
+ let name = entry.file_name().to_string_lossy().to_string();
+ if name.ends_with(STAGING_SUFFIX) {
+ let _ = fs::remove_dir_all(entry.path());
+ continue;
+ }
+ if !keep.contains(&name) {
+ let _ = fs::remove_dir_all(entry.path());
+ }
+ }
+ Ok(())
+}
+
+fn active_and_previous_ids(app_data: &Path) -> Result<BTreeSet<String>, String> {
+ let mut keep = BTreeSet::new();
+ if let Some(p) = read_active_pointer(app_data)? {
+ keep.insert(p.runtime_id);
+ if let Some(prev) = p.previous_runtime_id {
+ keep.insert(prev);
+ }
+ }
+ Ok(keep)
+}
+
+/// Resolve the Python interpreter for the active Lite runtime, if any.
+pub fn active_python_path(
+ app_data: &Path,
+ platform: &PlatformSpec,
+) -> Result<Option<PathBuf>, String> {
+ let Some(pointer) = read_active_pointer(app_data)? else {
+ return Ok(None);
+ };
+ let env = environment_dir(app_data, &pointer.runtime_id);
+ let python = python_in_environment(&env, platform);
+ if python.is_file() {
+ Ok(Some(python))
+ } else {
+ Ok(None)
+ }
+}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+ use crate::platform::current_platform;
+
+ fn temp_app_data(label: &str) -> PathBuf {
+ let dir = std::env::temp_dir().join(format!("mdflux_rt_{label}_{}", std::process::id()));
+ let _ = fs::remove_dir_all(&dir);
+ fs::create_dir_all(&dir).unwrap();
+ dir
+ }
+
+ #[test]
+ fn runtime_id_is_stable_for_same_inputs() {
+ let platform = current_platform().unwrap();
+ let components = vec!["core".to_string()];
+ let a = compute_runtime_id("0.2.0", &platform, "3.12.11", "abc", &components);
+ let b = compute_runtime_id("0.2.0", &platform, "3.12.11", "abc", &components);
+ assert_eq!(a, b);
+ assert!(a.starts_with("rt-"));
+ }
+
+ #[test]
+ fn failed_staging_leaves_active_unchanged() {
+ let app_data = temp_app_data("fail_staging");
+ let runtime_id = "rt-test1234";
+
+ write_active_pointer(
+ &app_data,
+ &ActiveRuntimePointer {
+ runtime_id: "rt-existing".into(),
+ previous_runtime_id: None,
+ },
+ )
+ .unwrap();
+
+ // No staging directory present - activation must fail.
+ assert!(activate_runtime(&app_data, runtime_id).is_err());
+ let active = read_active_pointer(&app_data).unwrap().unwrap();
+ assert_eq!(active.runtime_id, "rt-existing");
+
+ let _ = fs::remove_dir_all(&app_data);
+ }
+
+ #[test]
+ fn successful_activation_switches_pointer_and_keeps_previous() {
+ let app_data = temp_app_data("activate");
+ let platform = current_platform().unwrap();
+ let old_id = "rt-old1234";
+ let new_id = "rt-new5678";
+
+ let old_env = environment_dir(&app_data, old_id);
+ let old_python = python_in_environment(&old_env, &platform);
+ fs::create_dir_all(old_python.parent().unwrap()).unwrap();
+ fs::write(&old_python, b"").unwrap();
+ write_active_pointer(
+ &app_data,
+ &ActiveRuntimePointer {
+ runtime_id: old_id.into(),
+ previous_runtime_id: None,
+ },
+ )
+ .unwrap();
+
+ let staging = staging_runtime_dir(&app_data, new_id);
+ let staging_env = staging.join(ENV_DIR);
+ let staging_python = python_in_environment(&staging_env, &platform);
+ fs::create_dir_all(staging_python.parent().unwrap()).unwrap();
+ fs::write(&staging_python, b"").unwrap();
+ write_runtime_record(
+ &staging,
+ &RuntimeRecord {
+ runtime_id: new_id.into(),
+ edition: Edition::Lite.as_str().into(),
+ platform: platform.id.as_str().into(),
+ python_version: "3.12.11".into(),
+ dependency_lock_sha256: "abc".into(),
+ components: vec!["core".into()],
+ created_at_utc: "2026-08-22T12:00:00Z".into(),
+ },
+ )
+ .unwrap();
+
+ let pointer = activate_runtime(&app_data, new_id).unwrap();
+ assert_eq!(pointer.runtime_id, new_id);
+ assert_eq!(pointer.previous_runtime_id.as_deref(), Some(old_id));
+ assert!(runtime_dir(&app_data, new_id).is_dir());
+ assert!(!staging.is_dir());
+
+ let _ = fs::remove_dir_all(&app_data);
+ }
+
+ #[test]
+ fn active_python_path_resolves_environment() {
+ let app_data = temp_app_data("python_path");
+ let platform = current_platform().unwrap();
+ let runtime_id = "rt-path123";
+
+ let env = environment_dir(&app_data, runtime_id);
+ fs::create_dir_all(&env).unwrap();
+ let python = python_in_environment(&env, &platform);
+ fs::create_dir_all(python.parent().unwrap()).unwrap();
+ fs::write(&python, b"").unwrap();
+ write_active_pointer(
+ &app_data,
+ &ActiveRuntimePointer {
+ runtime_id: runtime_id.into(),
+ previous_runtime_id: None,
+ },
+ )
+ .unwrap();
+
+ let resolved = active_python_path(&app_data, &platform).unwrap().unwrap();
+ assert_eq!(resolved, python);
+
+ let _ = fs::remove_dir_all(&app_data);
+ }
+}
diff --git a/app/src-tauri/tauri.conf.json b/app/src-tauri/tauri.conf.json
index c0bd8fb..f5d9aa4 100644
--- a/app/src-tauri/tauri.conf.json
+++ b/app/src-tauri/tauri.conf.json
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "MDFlux",
- "version": "0.2.0",
+ "version": "0.3.0",
"identifier": "com.projektvisyo.mdflux",
"build": {
"beforeDevCommand": "npm run dev",
diff --git a/app/src/lib/DiagnosticsView.svelte b/app/src/lib/DiagnosticsView.svelte
index 2433d88..b148f4d 100644
--- a/app/src/lib/DiagnosticsView.svelte
+++ b/app/src/lib/DiagnosticsView.svelte
@@ -10,6 +10,20 @@
providerById,
providerLabel,
} from './providers';
+ import {
+ RUNTIME_COMPONENTS,
+ allowsComponentInstall,
+ componentDotClass,
+ componentLabel,
+ componentStateLabel,
+ editionLabel,
+ isImmutableFull,
+ lifecycleDotClass,
+ lifecycleLabel,
+ platformLabel,
+ showsRepairAction,
+ type RuntimeStatus,
+ } from './runtime-status';
// ── Types ──────────────────────────────────────────────────────────────────
@@ -68,12 +82,12 @@
api_key: string;
cleanup_model: string;
cleanup_seen: boolean;
- // Stage 6
+ // Optional conversion engines
conversion_model: string;
llm_conversion: boolean;
extract_images: boolean;
audio_model: string;
- // Stage 7 — output management
+ // Output management
output_rule: string; // 'next_to_source' | 'fixed_folder' | 'mirror_tree'
output_folder: string; // default folder for fixed_folder / mirror_tree
naming_template: string; // tokens: {stem} {ext} {date}
@@ -88,13 +102,25 @@
highlight = null,
config,
onConfigChange,
+ runtimeStatus = null,
+ onRepairRuntime,
}: {
onBack: () => void;
highlight?: string | null;
config: AppConfig;
onConfigChange: (c: AppConfig) => Promise<void>;
+ runtimeStatus?: RuntimeStatus | null;
+ onRepairRuntime?: () => void;
} = $props();
+ const canInstallOptional = $derived(
+ runtimeStatus ? allowsComponentInstall(runtimeStatus) : true,
+ );
+ const fullEdition = $derived(runtimeStatus ? isImmutableFull(runtimeStatus) : false);
+ const needsRuntimeRepair = $derived(
+ runtimeStatus ? showsRepairAction(runtimeStatus) : false,
+ );
+
// ── State ──────────────────────────────────────────────────────────────────
let caps = $state<CapabilitiesReport | null>(null);
@@ -117,14 +143,14 @@
let cleanupModel = $state(untrack(() => config.cleanup_model));
let conversionModel = $state(untrack(() => config.conversion_model ?? ''));
- // Stage 7 — output management. Template is edited locally for a live preview,
+ // Output management. Template is edited locally for a live preview,
// committed on change; rule/case/folder/toggle read config directly (reactive).
let namingTemplate = $state(untrack(() => config.naming_template ?? '{stem}'));
const namePreview = $derived(
buildOutputFilename('Annual Report.pdf', namingTemplate, (config.naming_case ?? 'keep') as NamingCase),
);
- // Stage 6: optional engine install state
+ // Optional engine install state
let ocrState = $state<EngineState>({ status: 'not_installed' });
let audioState = $state<EngineState>({ status: 'not_installed' });
let installing = $state<string | null>(null);
@@ -253,7 +279,7 @@
await onConfigChange({ ...config, llm_conversion: enabled });
}
- // ── Stage 7: output management ───────────────────────────────────────────────
+ // Output management
async function saveOutputRule(rule: string) {
await onConfigChange({ ...config, output_rule: rule });
@@ -392,6 +418,56 @@
<!-- Scrollable body -->
<div class="diag-body">
+ {#if runtimeStatus}
+ <section class="section">
+ <h2 class="section-title">Edition &amp; runtime</h2>
+ <div class="runtime-grid edition-grid">
+ <div class="runtime-item">
+ <span class="runtime-label">Edition</span>
+ <span class="runtime-value">{editionLabel(runtimeStatus.edition)}</span>
+ </div>
+ <div class="runtime-item">
+ <span class="runtime-label">Platform</span>
+ <span class="runtime-value">{platformLabel(runtimeStatus.platform)}</span>
+ </div>
+ <div class="runtime-item">
+ <span class="runtime-label">Runtime status</span>
+ <span class="runtime-value status-row">
+ <span class="dot dot-{lifecycleDotClass(runtimeStatus.status)}" aria-hidden="true"></span>
+ {lifecycleLabel(runtimeStatus.status)}
+ </span>
+ </div>
+ <div class="runtime-item">
+ <span class="runtime-label">Python</span>
+ <span class="runtime-value">{runtimeStatus.python_version ?? '—'}</span>
+ </div>
+ </div>
+ <div class="component-grid">
+ {#each RUNTIME_COMPONENTS as key}
+ <div class="component-row">
+ <span class="dot dot-{componentDotClass(runtimeStatus.components[key])}" aria-hidden="true"></span>
+ <span class="component-name">{componentLabel(key)}</span>
+ <span class="component-state">{componentStateLabel(runtimeStatus.components[key])}</span>
+ </div>
+ {/each}
+ </div>
+ {#if fullEdition}
+ <p class="edition-note">Full edition bundles core, OCR, and audio. Package install actions are disabled.</p>
+ {:else if runtimeStatus.status === 'installing'}
+ <p class="edition-note">Lite edition is building a new runtime beside the active one. The previous runtime stays available until activation succeeds.</p>
+ {:else if needsRuntimeRepair}
+ <p class="edition-note edition-warn">
+ {runtimeStatus.status === 'invalid'
+ ? 'The active runtime is invalid.'
+ : 'The last staged install did not activate.'}
+ {#if onRepairRuntime}
+ <button class="repair-inline-btn" onclick={onRepairRuntime}>Repair runtime</button>
+ {/if}
+ </p>
+ {/if}
+ </section>
+ {/if}
+
{#if capsLoading}
<div class="loading-state">
<div class="spinner-sm" aria-label="Loading"></div>
@@ -466,22 +542,28 @@
<span class="cap-badge badge-amber">Installing…</span>
{:else if ocrState.status === 'failed'}
<span class="cap-badge badge-red">Failed</span>
- {:else}
+ {:else if canInstallOptional}
<span class="cap-badge badge-amber">Not installed</span>
<button class="install-btn" onclick={() => installEngine('ocr')} disabled={installing !== null}>
Install <span class="install-size">· {caps.optional.ocr.size_hint}</span>
</button>
+ {:else}
+ <span class="cap-badge badge-amber">Not bundled</span>
{/if}
{#if installing === 'ocr' && ocrState.status === 'installing'}
<div class="install-progress-wrap">
<div class="install-track"><div class="install-indet"></div></div>
<span class="install-progress-msg">{installMsg}</span>
</div>
- {:else if ocrState.status === 'failed' && ocrState.error}
+ {:else if ocrState.status === 'failed' && canInstallOptional}
<div class="install-error">
- <span>{ocrState.error.split('\n')[0]}</span>
+ <span>{ocrState.error?.split('\n')[0] ?? 'Installation failed.'}</span>
<button class="install-btn" onclick={() => installEngine('ocr')} disabled={installing !== null}>Retry</button>
</div>
+ {:else if ocrState.status === 'failed'}
+ <div class="install-error">
+ <span>{ocrState.error?.split('\n')[0] ?? 'Component failed.'} Use Repair runtime if the active environment is repairable.</span>
+ </div>
{:else}
<span class="cap-detail">{caps.optional.ocr.note}</span>
{/if}
@@ -498,33 +580,45 @@
<span class="cap-badge badge-amber">Installing…</span>
{:else if audioState.status === 'failed'}
<span class="cap-badge badge-red">Failed</span>
- {:else}
+ {:else if canInstallOptional}
<span class="cap-badge badge-amber">Not installed</span>
<button class="install-btn" onclick={() => installEngine('audio')} disabled={installing !== null}>
Install <span class="install-size">· {caps.optional.audio.size_hint}</span>
</button>
+ {:else}
+ <span class="cap-badge badge-amber">Not bundled</span>
{/if}
{#if installing === 'audio' && audioState.status === 'installing'}
<div class="install-progress-wrap">
<div class="install-track"><div class="install-indet"></div></div>
<span class="install-progress-msg">{installMsg}</span>
</div>
- {:else if audioState.status === 'failed' && audioState.error}
+ {:else if audioState.status === 'failed' && canInstallOptional}
<div class="install-error">
- <span>{audioState.error.split('\n')[0]}</span>
+ <span>{audioState.error?.split('\n')[0] ?? 'Installation failed.'}</span>
<button class="install-btn" onclick={() => installEngine('audio')} disabled={installing !== null}>Retry</button>
</div>
+ {:else if audioState.status === 'failed'}
+ <div class="install-error">
+ <span>{audioState.error?.split('\n')[0] ?? 'Component failed.'} Use Repair runtime if the active environment is repairable.</span>
+ </div>
{:else}
<span class="cap-detail">{caps.optional.audio.note}</span>
{/if}
</div>
</div>
- <p class="optional-note">Installed via uv pip into the app's isolated Python environment. Internet required. No system packages needed.</p>
+ <p class="optional-note">
+ {#if fullEdition}
+ Optional engines are pre-installed in the Full runtime and cannot be modified here.
+ {:else}
+ Installed via uv pip into the app's isolated Python environment. Internet required. No system packages needed.
+ {/if}
+ </p>
</section>
{/if}
- <!-- Output management (Stage 7) — always shown -->
+ <!-- Output management is always shown. -->
<section class="section">
<h2 class="section-title">Output</h2>
@@ -940,6 +1034,56 @@
text-overflow: ellipsis;
white-space: nowrap;
}
+ .status-row {
+ display: inline-flex;
+ align-items: center;
+ gap: var(--sp-2);
+ }
+ .edition-grid { margin-bottom: var(--sp-2); }
+ .component-grid {
+ display: flex;
+ flex-direction: column;
+ gap: 0;
+ background: var(--surface-1);
+ border: 1px solid var(--border);
+ border-radius: var(--radius-sm);
+ overflow: hidden;
+ }
+ .component-row {
+ display: flex;
+ align-items: center;
+ gap: var(--sp-2);
+ padding: 7px var(--sp-3);
+ border-bottom: 1px solid var(--border);
+ font-size: 12px;
+ }
+ .component-row:last-child { border-bottom: none; }
+ .component-name { flex: 1; color: var(--text-primary); }
+ .component-state {
+ font-size: 11px;
+ color: var(--text-muted);
+ font-family: var(--font-mono);
+ }
+ .edition-note {
+ font-size: 11px;
+ color: var(--text-muted);
+ line-height: 1.5;
+ margin: 0;
+ }
+ .edition-warn { color: var(--amber); }
+ .repair-inline-btn {
+ margin-left: var(--sp-2);
+ padding: 3px 10px;
+ font-size: 11px;
+ font-weight: 600;
+ font-family: var(--font-ui);
+ color: #fff;
+ background: var(--accent);
+ border: 1px solid var(--accent-edge);
+ border-radius: var(--radius-sm);
+ cursor: pointer;
+ }
+ .repair-inline-btn:hover { background: var(--accent-hover); }
/* Capability list */
.cap-list {
@@ -1118,7 +1262,7 @@
}
.rec-hint b { color: var(--text-secondary); }
- /* Stage 7 — output management */
+ /* Output management */
.folder-row { display: flex; align-items: center; gap: var(--sp-2); padding: var(--sp-2) var(--sp-3); background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.folder-icon { flex-shrink: 0; color: var(--accent); }
.folder-value { flex: 1; min-width: 0; font-size: 12px; color: var(--text-primary); font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
diff --git a/app/src/lib/ProvisionView.svelte b/app/src/lib/ProvisionView.svelte
index c73b728..49eb5d9 100644
--- a/app/src/lib/ProvisionView.svelte
+++ b/app/src/lib/ProvisionView.svelte
@@ -15,8 +15,22 @@
<script lang="ts">
import Stepper, { type Step } from '$lib/Stepper.svelte';
+ import {
+ editionLabel,
+ isImmutableFull,
+ type RuntimeStatus,
+ } from '$lib/runtime-status';
- let { progress }: { progress: ProvisionProgress } = $props();
+ let {
+ progress,
+ runtimeStatus = null,
+ }: {
+ progress: ProvisionProgress;
+ runtimeStatus?: RuntimeStatus | null;
+ } = $props();
+
+ const isFull = $derived(runtimeStatus ? isImmutableFull(runtimeStatus) : false);
+ const editionName = $derived(runtimeStatus ? editionLabel(runtimeStatus.edition) : 'Lite');
const STEPS: Step[] = [
{ title: 'Setup tools', description: 'Download uv' },
@@ -74,8 +88,17 @@
<div class="provision">
<header class="head">
- <h1>Setting up MDFlux</h1>
- <p class="sub">One-time setup of the local conversion engine.</p>
+ <div class="head-row">
+ <h1>{isFull ? 'Preparing bundled runtime' : 'Setting up MDFlux'}</h1>
+ <span class="edition-badge" class:edition-full={isFull}>{editionName}</span>
+ </div>
+ <p class="sub">
+ {#if isFull}
+ Verifying the immutable Full runtime bundled with this build.
+ {:else}
+ Transactional first-run setup of the local conversion engine. A failed step leaves your previous runtime intact.
+ {/if}
+ </p>
</header>
<Stepper steps={STEPS} {current} {done} />
@@ -115,7 +138,13 @@
{/if}
</div>
- <p class="hint">Internet required · this runs once</p>
+ <p class="hint">
+ {#if isFull}
+ Full edition · bundled Python and packages · no runtime installs
+ {:else}
+ Lite edition · internet required · this runs once per active runtime
+ {/if}
+ </p>
</div>
<style>
@@ -132,11 +161,34 @@
}
.head { text-align: center; }
+ .head-row {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: var(--sp-2);
+ flex-wrap: wrap;
+ }
.head h1 {
font-size: 19px;
font-weight: 700;
color: var(--text-primary);
}
+ .edition-badge {
+ font-size: 10px;
+ font-weight: 700;
+ text-transform: uppercase;
+ letter-spacing: 0.05em;
+ padding: 2px 8px;
+ border-radius: 999px;
+ background: color-mix(in srgb, var(--accent) 18%, transparent);
+ color: var(--accent);
+ border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
+ }
+ .edition-badge.edition-full {
+ background: color-mix(in srgb, var(--green) 15%, transparent);
+ color: var(--green);
+ border-color: color-mix(in srgb, var(--green) 35%, transparent);
+ }
.sub {
margin-top: var(--sp-1);
font-size: 13px;
diff --git a/app/src/lib/ResultView.svelte b/app/src/lib/ResultView.svelte
index 3b41280..fc5ef14 100644
--- a/app/src/lib/ResultView.svelte
+++ b/app/src/lib/ResultView.svelte
@@ -8,6 +8,10 @@
import { renderMarkdown } from './mdpreview';
import { buildOutputFilename, type NamingCase } from './naming';
import { onDestroy, onMount } from 'svelte';
+ import {
+ aiNoticePresentation,
+ classifyAiNotice,
+ } from './runtime-status';
let {
markdown,
@@ -102,6 +106,9 @@
: (warnings.length ? warnings.join(' ') : ''),
);
+ const aiNoticeKind = $derived(classifyAiNotice(cleanup.aiNotice));
+ const aiNoticeUi = $derived(aiNoticePresentation(aiNoticeKind));
+
function setView(v: ViewMode) { cleanup.viewMode = v; }
// ── Cleanup method ─────────────────────────────────────────────────────────
@@ -155,7 +162,7 @@
} else {
cleanup.aiCleaned = markdown;
cleanup.aiApplied = false;
- cleanup.aiNotice = `AI cleanup failed: ${e}`;
+ cleanup.aiNotice = `AI cleanup unavailable: ${e} — kept the original text.`;
}
} finally {
cleanup.running = false;
@@ -360,7 +367,12 @@
{#if cleanup.aiApplied}<span class="ok">AI cleanup applied.</span>{/if}
<button class="link-btn" title="Run the AI cleanup again on the original text" onclick={runAi}>Run again</button>
</p>
- {#if cleanup.aiNotice}<p class="warn">{cleanup.aiNotice}</p>{/if}
+ {#if cleanup.aiNotice}
+ <p class="ai-notice {aiNoticeUi.className}" role="status">
+ {#if aiNoticeUi.prefix}<span class="ai-notice-label">{aiNoticeUi.prefix}:</span>{/if}
+ {cleanup.aiNotice}
+ </p>
+ {/if}
{/if}
{/if}
</div>
@@ -509,6 +521,30 @@
.muted { color: var(--text-muted); margin-left: var(--sp-1); }
.ok { color: var(--green); }
.warn { font-size: 11px; color: var(--amber); line-height: 1.5; margin: 0; }
+ .ai-notice {
+ font-size: 11px;
+ line-height: 1.5;
+ margin: 0;
+ padding: var(--sp-2);
+ border-radius: var(--sp-1);
+ border: 1px solid var(--border);
+ background: var(--surface-1);
+ color: var(--text-secondary);
+ }
+ .ai-notice-label { font-weight: 600; margin-right: 4px; }
+ .notice-cancelled { border-color: color-mix(in srgb, var(--text-muted) 40%, transparent); }
+ .notice-inactivity {
+ color: var(--amber);
+ border-color: color-mix(in srgb, var(--amber) 35%, transparent);
+ background: color-mix(in srgb, var(--amber) 8%, var(--surface-1));
+ }
+ .notice-provider {
+ color: var(--red);
+ border-color: color-mix(in srgb, var(--red) 30%, transparent);
+ background: color-mix(in srgb, var(--red) 8%, var(--surface-1));
+ }
+ .notice-empty { color: var(--text-secondary); }
+ .notice-other { color: var(--amber); }
.spinner-inline {
display: inline-block; width: 11px; height: 11px;
diff --git a/app/src/lib/StagingView.svelte b/app/src/lib/StagingView.svelte
index f906442..bca0fbf 100644
--- a/app/src/lib/StagingView.svelte
+++ b/app/src/lib/StagingView.svelte
@@ -18,7 +18,7 @@
// Lifted to the parent so it survives view changes (e.g. opening Diagnostics).
export interface StagingState {
outputFolder: string | null;
- outputRule: OutputRule; // Stage 7 — per-run output location rule
+ outputRule: OutputRule; // Per-run output location rule
method: CleanupMethod;
rules: Record<string, boolean>;
}
diff --git a/app/src/lib/cleanup.ts b/app/src/lib/cleanup.ts
index 3663ec3..a5b5d8f 100644
--- a/app/src/lib/cleanup.ts
+++ b/app/src/lib/cleanup.ts
@@ -1,4 +1,4 @@
-// Stage 5 — shared cleanup rule metadata and defaults.
+// Shared cleanup rule metadata and defaults.
// Mirrors the sidecar's RULE_ORDER (cleanup.py). Single source of truth for the UI.
export interface CleanupRuleDef {
diff --git a/app/src/lib/diff.ts b/app/src/lib/diff.ts
index 3d210c1..264c16b 100644
--- a/app/src/lib/diff.ts
+++ b/app/src/lib/diff.ts
@@ -1,4 +1,4 @@
-// Stage 5 — line diff for the Changes tab.
+// Line diff for the Changes tab.
// Dependency-free LCS. Guards against pathological sizes so a 500-page PDF stays
// responsive: above the cap it returns a cheap multiset summary instead of a full diff.
// Numbered rows + hunks are shaped like GitHub's unified file diff.
diff --git a/app/src/lib/formats.ts b/app/src/lib/formats.ts
index 8deb699..0e6941b 100644
--- a/app/src/lib/formats.ts
+++ b/app/src/lib/formats.ts
@@ -2,7 +2,7 @@
// Keep in sync with the backend lists: `capabilities.py` (sidecar routing) and
// `lib.rs` (CORE_EXTS / OCR_EXTS / AUDIO_EXTS). When you add a format, update all three.
-/** Core document formats — always available (provisioned at Stage 0). */
+/** Core document formats that are always available. */
export const CORE_EXTS = [
'pdf', 'docx', 'pptx', 'xlsx', 'xls', 'html', 'htm', 'csv', 'json', 'xml', 'epub', 'txt', 'md',
];
diff --git a/app/src/lib/mdpreview.ts b/app/src/lib/mdpreview.ts
index d01f37b..68f3b5f 100644
--- a/app/src/lib/mdpreview.ts
+++ b/app/src/lib/mdpreview.ts
@@ -1,4 +1,4 @@
-// Stage 5 — Markdown → safe HTML for the Preview tab.
+// Markdown to safe HTML for the Preview tab.
// marked parses GFM (incl. tables); DOMPurify strips any scripts/handlers that a
// converted document might carry. DOMPurify needs `window`, so callers must only
// invoke this in the browser (it's only ever used at runtime in the webview).
diff --git a/app/src/lib/naming.ts b/app/src/lib/naming.ts
index f7b3044..329e122 100644
--- a/app/src/lib/naming.ts
+++ b/app/src/lib/naming.ts
@@ -1,4 +1,4 @@
-// Stage 7 — output filename builder. Mirrors the Rust `build_output_name`
+// Output filename builder. Mirrors the Rust `build_output_name`
// (lib.rs) so the live preview in the UI matches what a batch actually writes.
// Tokens: {stem} {ext} {date}. The ".md" extension is always appended.
diff --git a/app/src/lib/runtime-status.ts b/app/src/lib/runtime-status.ts
new file mode 100644
index 0000000..c01228f
--- /dev/null
+++ b/app/src/lib/runtime-status.ts
@@ -0,0 +1,327 @@
+/**
+ * Runtime status contract shared with the Rust `get_runtime_status` command.
+
+ */
+
+export type Edition = 'lite' | 'full';
+export type PlatformId = 'windows-x64' | 'linux-x64-glibc';
+export type RuntimeLifecycle = 'missing' | 'installing' | 'ready' | 'invalid' | 'repairable';
+export type ComponentState = 'not_installed' | 'installing' | 'installed' | 'failed';
+export type RuntimeComponent = 'core' | 'ocr' | 'audio';
+
+export interface RuntimeStatus {
+ edition: Edition;
+ platform: PlatformId;
+ status: RuntimeLifecycle;
+ mutable: boolean;
+ python_version: string | null;
+ components: Record<RuntimeComponent, ComponentState>;
+ repair_action: string | null;
+}
+
+export interface LegacyProvisionStatus {
+ state: string;
+}
+
+export interface LegacyEngineState {
+ status: string;
+ error?: string | null;
+}
+
+const RUNTIME_COMPONENTS: RuntimeComponent[] = ['core', 'ocr', 'audio'];
+
+const EDITION_LABELS: Record<Edition, string> = {
+ lite: 'Lite',
+ full: 'Full',
+};
+
+const PLATFORM_LABELS: Record<PlatformId, string> = {
+ 'windows-x64': 'Windows x64',
+ 'linux-x64-glibc': 'Linux x64 (glibc)',
+};
+
+const LIFECYCLE_LABELS: Record<RuntimeLifecycle, string> = {
+ missing: 'Not provisioned',
+ installing: 'Installing',
+ ready: 'Ready',
+ invalid: 'Invalid',
+ repairable: 'Repairable',
+};
+
+const COMPONENT_LABELS: Record<RuntimeComponent, string> = {
+ core: 'Core conversion',
+ ocr: 'OCR',
+ audio: 'Audio transcription',
+};
+
+const COMPONENT_STATE_LABELS: Record<ComponentState, string> = {
+ not_installed: 'Not installed',
+ installing: 'Installing…',
+ installed: 'Installed',
+ failed: 'Failed',
+};
+
+/** Whether optional component install actions should appear in diagnostics. */
+export function allowsComponentInstall(status: RuntimeStatus): boolean {
+ return status.edition === 'lite' && status.mutable && status.status === 'ready';
+}
+
+/** Whether the UI should offer runtime repair (Lite transactional recovery). */
+export function showsRepairAction(status: RuntimeStatus): boolean {
+ return (
+ status.edition === 'lite'
+ && status.mutable
+ && (status.status === 'repairable' || status.status === 'invalid')
+ && !!status.repair_action
+ );
+}
+
+/** Full edition bundles core, OCR, and audio; never show package install. */
+export function isImmutableFull(status: RuntimeStatus): boolean {
+ return status.edition === 'full' && !status.mutable;
+}
+
+export function editionLabel(edition: Edition): string {
+ return EDITION_LABELS[edition];
+}
+
+export function platformLabel(platform: PlatformId): string {
+ return PLATFORM_LABELS[platform];
+}
+
+export function lifecycleLabel(status: RuntimeLifecycle): string {
+ return LIFECYCLE_LABELS[status];
+}
+
+export function componentLabel(component: RuntimeComponent): string {
+ return COMPONENT_LABELS[component];
+}
+
+export function componentStateLabel(state: ComponentState): string {
+ return COMPONENT_STATE_LABELS[state];
+}
+
+export function componentDotClass(state: ComponentState): 'green' | 'amber' | 'red' {
+ if (state === 'installed') return 'green';
+ if (state === 'installing') return 'amber';
+ if (state === 'failed') return 'red';
+ return 'amber';
+}
+
+export function lifecycleDotClass(status: RuntimeLifecycle): 'green' | 'amber' | 'red' {
+ if (status === 'ready') return 'green';
+ if (status === 'installing' || status === 'repairable') return 'amber';
+ if (status === 'invalid' || status === 'missing') return 'red';
+ return 'amber';
+}
+
+function defaultPlatform(): PlatformId {
+ if (typeof navigator !== 'undefined' && /Linux/i.test(navigator.userAgent)) {
+ return 'linux-x64-glibc';
+ }
+ return 'windows-x64';
+}
+
+function emptyComponents(): Record<RuntimeComponent, ComponentState> {
+ return { core: 'not_installed', ocr: 'not_installed', audio: 'not_installed' };
+}
+
+function parseComponentState(raw: unknown): ComponentState {
+ const v = String(raw ?? '');
+ if (v === 'installed' || v === 'installing' || v === 'failed') return v;
+ return 'not_installed';
+}
+
+function parseRuntimeStatus(raw: unknown): RuntimeStatus | null {
+ if (!raw || typeof raw !== 'object') return null;
+ const o = raw as Record<string, unknown>;
+ const edition = o.edition === 'full' ? 'full' : o.edition === 'lite' ? 'lite' : null;
+ const platform = o.platform === 'linux-x64-glibc' ? 'linux-x64-glibc'
+ : o.platform === 'windows-x64' ? 'windows-x64' : null;
+ const status = o.status as RuntimeLifecycle;
+ const validLifecycle = ['missing', 'installing', 'ready', 'invalid', 'repairable'].includes(String(status));
+ if (!edition || !platform || !validLifecycle) return null;
+
+ const componentsRaw = (o.components ?? {}) as Record<string, unknown>;
+ const components: Record<RuntimeComponent, ComponentState> = {
+ core: parseComponentState(componentsRaw.core),
+ ocr: parseComponentState(componentsRaw.ocr),
+ audio: parseComponentState(componentsRaw.audio),
+ };
+
+ return {
+ edition,
+ platform,
+ status,
+ mutable: Boolean(o.mutable),
+ python_version: typeof o.python_version === 'string' ? o.python_version : null,
+ components,
+ repair_action: typeof o.repair_action === 'string' ? o.repair_action : null,
+ };
+}
+
+/**
+ * Build a Lite runtime status from legacy provision + optional engine IPC while
+ * `get_runtime_status` is unavailable.
+ */
+export function legacyRuntimeStatusFromProvision(
+ provision: LegacyProvisionStatus,
+ ocr: LegacyEngineState = { status: 'not_installed' },
+ audio: LegacyEngineState = { status: 'not_installed' },
+ platform: PlatformId = defaultPlatform(),
+): RuntimeStatus {
+ const components = emptyComponents();
+ components.ocr = parseComponentState(ocr.status);
+ components.audio = parseComponentState(audio.status);
+
+ if (provision.state === 'ready') {
+ components.core = 'installed';
+ return {
+ edition: 'lite',
+ platform,
+ status: 'ready',
+ mutable: true,
+ python_version: null,
+ components,
+ repair_action: null,
+ };
+ }
+
+ if (provision.state === 'not_provisioned') {
+ return {
+ edition: 'lite',
+ platform,
+ status: 'missing',
+ mutable: true,
+ python_version: null,
+ components,
+ repair_action: 'provision',
+ };
+ }
+
+ return {
+ edition: 'lite',
+ platform,
+ status: 'repairable',
+ mutable: true,
+ python_version: null,
+ components,
+ repair_action: 'provision',
+ };
+}
+
+/** Lite runtime after a failed staged install; previous active runtime still usable. */
+export function mockLiteRepairableAfterFailedStaging(
+ platform: PlatformId = 'windows-x64',
+): RuntimeStatus {
+ return {
+ edition: 'lite',
+ platform,
+ status: 'repairable',
+ mutable: true,
+ python_version: '3.12.11',
+ components: {
+ core: 'installed',
+ ocr: 'failed',
+ audio: 'not_installed',
+ },
+ repair_action: 'repair_component',
+ };
+}
+
+/** Fetch runtime status from IPC, or synthesize from legacy commands. */
+export async function fetchRuntimeStatus(): Promise<RuntimeStatus> {
+ const { invoke } = await import('@tauri-apps/api/core');
+
+ try {
+ const raw = await invoke<unknown>('get_runtime_status');
+ const parsed = parseRuntimeStatus(raw);
+ if (parsed) return parsed;
+ } catch {
+ // Command not registered; fall through to legacy adapter.
+ }
+
+ const [provision, ocr, audio] = await Promise.all([
+ invoke<LegacyProvisionStatus>('get_provision_status'),
+ invoke<LegacyEngineState>('optional_engine_status', { engine: 'ocr' }).catch(() => ({ status: 'not_installed' })),
+ invoke<LegacyEngineState>('optional_engine_status', { engine: 'audio' }).catch(() => ({ status: 'not_installed' })),
+ ]);
+
+ return legacyRuntimeStatusFromProvision(provision, ocr, audio);
+}
+
+// ?? AI cleanup notice classification ?????
+
+export type AiNoticeKind = 'none' | 'applied' | 'cancelled' | 'inactivity' | 'provider' | 'empty' | 'other';
+
+/** Provider inactivity text fragment; do not rewrite as a generic timeout. */
+export const PROVIDER_INACTIVITY_FRAGMENT = 'provider sent no response data';
+
+export function classifyAiNotice(notice: string | null | undefined): AiNoticeKind {
+ if (!notice?.trim()) return 'none';
+ const n = notice.trim();
+ if (/cancelled.*kept the original/i.test(n) || /conversion cancelled/i.test(n)) return 'cancelled';
+ if (n.includes(PROVIDER_INACTIVITY_FRAGMENT) || /AI cleanup stopped because/i.test(n)) return 'inactivity';
+ if (/AI cleanup unavailable:/i.test(n)) return 'provider';
+ if (/returned nothing.*kept the original/i.test(n)) return 'empty';
+ if (/AI cleanup applied/i.test(n)) return 'applied';
+ return 'other';
+}
+
+export function aiNoticePresentation(kind: AiNoticeKind): { className: string; prefix: string } {
+ switch (kind) {
+ case 'cancelled':
+ return { className: 'notice-cancelled', prefix: 'Cancelled' };
+ case 'inactivity':
+ return { className: 'notice-inactivity', prefix: 'Provider inactive' };
+ case 'provider':
+ return { className: 'notice-provider', prefix: 'Provider error' };
+ case 'empty':
+ return { className: 'notice-empty', prefix: 'Empty response' };
+ default:
+ return { className: 'notice-other', prefix: '' };
+ }
+}
+
+// ?? Typed mocks for tests and local development ???????????????????????????
+
+function mockStatus(
+ edition: Edition,
+ platform: PlatformId,
+ lifecycle: RuntimeLifecycle,
+ components: Partial<Record<RuntimeComponent, ComponentState>>,
+ repair: string | null = null,
+ python: string | null = edition === 'full' ? '3.12.11' : '3.12.11',
+): RuntimeStatus {
+ return {
+ edition,
+ platform,
+ status: lifecycle,
+ mutable: edition === 'lite',
+ python_version: python,
+ components: { ...emptyComponents(), ...components },
+ repair_action: repair,
+ };
+}
+
+/** Every runtime lifecycle and edition combination used in UI tests. */
+export const MOCK_RUNTIME_STATUSES: RuntimeStatus[] = [
+ mockStatus('lite', 'windows-x64', 'missing', {}, 'provision', null),
+ mockStatus('lite', 'windows-x64', 'installing', { core: 'installing' }, null),
+ mockStatus('lite', 'windows-x64', 'ready', { core: 'installed', ocr: 'not_installed', audio: 'not_installed' }),
+ mockStatus('lite', 'linux-x64-glibc', 'repairable', { core: 'installed', ocr: 'failed' }, 'repair_component'),
+ mockStatus('lite', 'linux-x64-glibc', 'invalid', { core: 'failed' }, 'provision'),
+ mockStatus('full', 'windows-x64', 'ready', { core: 'installed', ocr: 'installed', audio: 'installed' }),
+ mockStatus('full', 'linux-x64-glibc', 'ready', { core: 'installed', ocr: 'installed', audio: 'installed' }),
+];
+
+/** Every component state for Lite ready runtime (diagnostics grid). */
+export const MOCK_COMPONENT_MATRIX: Array<Record<RuntimeComponent, ComponentState>> = [
+ { core: 'installed', ocr: 'not_installed', audio: 'not_installed' },
+ { core: 'installed', ocr: 'installing', audio: 'not_installed' },
+ { core: 'installed', ocr: 'installed', audio: 'installing' },
+ { core: 'installed', ocr: 'installed', audio: 'installed' },
+ { core: 'installed', ocr: 'failed', audio: 'not_installed' },
+];
+
+export { RUNTIME_COMPONENTS };
diff --git a/app/src/lib/tests/runtime-status.test.ts b/app/src/lib/tests/runtime-status.test.ts
new file mode 100644
index 0000000..2c9ff6c
--- /dev/null
+++ b/app/src/lib/tests/runtime-status.test.ts
@@ -0,0 +1,105 @@
+// @ts-nocheck: Node test runner; excluded from app type semantics.
+/**
+ * Runtime-status unit tests (Node built-in test runner + tsx).
+ * Run: npx tsx --test src/lib/tests/runtime-status.test.ts
+ */
+
+import assert from 'node:assert/strict';
+import { describe, it } from 'node:test';
+
+import {
+ MOCK_COMPONENT_MATRIX,
+ MOCK_RUNTIME_STATUSES,
+ PROVIDER_INACTIVITY_FRAGMENT,
+ aiNoticePresentation,
+ allowsComponentInstall,
+ classifyAiNotice,
+ componentStateLabel,
+ isImmutableFull,
+ legacyRuntimeStatusFromProvision,
+ lifecycleLabel,
+ mockLiteRepairableAfterFailedStaging,
+ showsRepairAction,
+} from '../runtime-status';
+
+describe('runtime status mocks cover every lifecycle', () => {
+ const lifecycles = new Set(MOCK_RUNTIME_STATUSES.map(s => s.status));
+ const editions = new Set(MOCK_RUNTIME_STATUSES.map(s => s.edition));
+
+ it('includes all runtime lifecycle values', () => {
+ for (const expected of ['missing', 'installing', 'ready', 'invalid', 'repairable'] as const) {
+ assert.ok(lifecycles.has(expected), `missing mock for lifecycle ${expected}`);
+ }
+ });
+
+ it('includes lite and full editions', () => {
+ assert.ok(editions.has('lite'));
+ assert.ok(editions.has('full'));
+ });
+
+ it('labels every component state', () => {
+ for (const row of MOCK_COMPONENT_MATRIX) {
+ for (const state of Object.values(row)) {
+ assert.ok(componentStateLabel(state).length > 0);
+ }
+ }
+ });
+});
+
+describe('Full edition install policy', () => {
+ const fullReady = MOCK_RUNTIME_STATUSES.find(s => s.edition === 'full' && s.status === 'ready')!;
+
+ it('treats Full as immutable', () => {
+ assert.equal(isImmutableFull(fullReady), true);
+ assert.equal(allowsComponentInstall(fullReady), false);
+ });
+
+ it('allows Lite ready installs', () => {
+ const liteReady = MOCK_RUNTIME_STATUSES.find(s => s.edition === 'lite' && s.status === 'ready')!;
+ assert.equal(allowsComponentInstall(liteReady), true);
+ });
+});
+
+describe('Lite repair after failed staging', () => {
+ const repairable = mockLiteRepairableAfterFailedStaging();
+
+ it('keeps core installed and exposes repair', () => {
+ assert.equal(repairable.components.core, 'installed');
+ assert.equal(repairable.components.ocr, 'failed');
+ assert.equal(repairable.status, 'repairable');
+ assert.equal(showsRepairAction(repairable), true);
+ assert.equal(repairable.repair_action, 'repair_component');
+ });
+
+ it('legacy adapter maps not_provisioned to missing', () => {
+ const status = legacyRuntimeStatusFromProvision({ state: 'not_provisioned' });
+ assert.equal(status.status, 'missing');
+ assert.equal(status.edition, 'lite');
+ assert.equal(lifecycleLabel(status.status), 'Not provisioned');
+ });
+});
+
+describe('AI notice classification', () => {
+ it('distinguishes cancellation from inactivity', () => {
+ const cancelled = classifyAiNotice('AI cleanup cancelled — kept the original text.');
+ const inactive = classifyAiNotice(
+ `AI cleanup stopped because The ${PROVIDER_INACTIVITY_FRAGMENT} for 180 seconds. Kept the original text.`,
+ );
+ assert.equal(cancelled, 'cancelled');
+ assert.equal(inactive, 'inactivity');
+ assert.notEqual(cancelled, inactive);
+ });
+
+ it('distinguishes provider failure from inactivity', () => {
+ const provider = classifyAiNotice('AI cleanup unavailable: HTTP 503 — kept the original text.');
+ const inactive = classifyAiNotice(`AI cleanup stopped because The ${PROVIDER_INACTIVITY_FRAGMENT} for 30 seconds. Kept the original text.`);
+ assert.equal(provider, 'provider');
+ assert.equal(inactive, 'inactivity');
+ });
+
+ it('maps presentation classes', () => {
+ assert.equal(aiNoticePresentation('cancelled').className, 'notice-cancelled');
+ assert.equal(aiNoticePresentation('inactivity').prefix, 'Provider inactive');
+ assert.equal(aiNoticePresentation('provider').prefix, 'Provider error');
+ });
+});
diff --git a/app/src/routes/+page.svelte b/app/src/routes/+page.svelte
index b62c7c6..12091c9 100644
--- a/app/src/routes/+page.svelte
+++ b/app/src/routes/+page.svelte
@@ -14,6 +14,14 @@
import DocViewer from '$lib/DocViewer.svelte';
import StagingView, { freshStaging } from '$lib/StagingView.svelte';
import ProvisionView, { type ProvisionProgress } from '$lib/ProvisionView.svelte';
+ import {
+ editionLabel,
+ fetchRuntimeStatus,
+ lifecycleDotClass,
+ lifecycleLabel,
+ showsRepairAction,
+ type RuntimeStatus,
+ } from '$lib/runtime-status';
import type { ConvertCleanup, StagingState, FileInfo } from '$lib/StagingView.svelte';
import type { BatchItemState } from '$lib/BatchQueueView.svelte';
import { freshCleanup } from '$lib/cleanup';
@@ -49,6 +57,7 @@
let view = $state<View>('main');
let progress = $state<ProvisionProgress>({ step: '', message: 'Starting…', pct: 0, detail: null });
let health = $state<HealthReport | null>(null);
+ let runtimeStatus = $state<RuntimeStatus | null>(null);
let errorMsg = $state('');
let errorBtn = $state('Retry');
let result = $state<ConvertResult | null>(null);
@@ -167,7 +176,7 @@
batchCleanupChanges = payload.cleanup_changes;
const allCancelled = payload.done + payload.failed === 0 && payload.cancelled > 0;
batchPhase = allCancelled ? 'cancelled' : 'done';
- // Stage 7: optionally reveal the output folder once files have landed.
+ // Optionally reveal the output folder once files have landed.
if (config?.open_after_convert && payload.done > 0) openOutputFolder();
}).then(fn => { if (dead) fn(); else unlisteners.push(fn); });
@@ -181,8 +190,9 @@
async function boot(force: boolean) {
try {
phase = 'checking';
+ runtimeStatus = await fetchRuntimeStatus();
const status = await invoke<ProvisionStatus>('get_provision_status');
- if (status.state === 'ready' && !force) {
+ if (status.state === 'ready' && !force && runtimeStatus.status === 'ready') {
await doHealthCheck();
} else {
await doProvision(force);
@@ -195,10 +205,15 @@
async function doProvision(force: boolean) {
phase = 'provisioning';
progress = { step: '', message: 'Preparing…', pct: 0, detail: null };
+ if (runtimeStatus) {
+ runtimeStatus = { ...runtimeStatus, status: 'installing' };
+ }
try {
await invoke('start_provision', { force });
+ runtimeStatus = await fetchRuntimeStatus();
await doHealthCheck();
} catch (e) {
+ runtimeStatus = await fetchRuntimeStatus().catch(() => runtimeStatus);
showError(String(e), 'Retry');
}
}
@@ -208,6 +223,7 @@
try {
health = await invoke<HealthReport>('run_health_check');
config = await invoke<AppConfig>('get_config');
+ runtimeStatus = await fetchRuntimeStatus();
// Seed staging defaults from saved output settings — but only if the user
// hasn't already staged files and chosen per-run overrides. A Repair from
// the health footer must not silently revert "Mirror folders" + "Rule-based".
@@ -228,10 +244,17 @@
}
function allGreen(): boolean {
+ if (runtimeStatus?.edition === 'full') {
+ return runtimeStatus.status === 'ready';
+ }
if (!health || !health.markitdown_version) return false;
return Object.values(health.extras).every(Boolean);
}
+ async function repairRuntime() {
+ await boot(true);
+ }
+
// ── Config management ──────────────────────────────────────────────────────
async function updateConfig(newConfig: AppConfig) {
@@ -528,7 +551,12 @@
<!-- Header -->
<header>
<span class="wordmark">MDFlux</span>
- {#if phase === 'ready'}
+ {#if phase === 'ready' && runtimeStatus}
+ <span class="badge edition-chip">{editionLabel(runtimeStatus.edition)}</span>
+ <span class="badge" class:green={allGreen()} class:amber={!allGreen()}>
+ {allGreen() ? 'Ready' : lifecycleLabel(runtimeStatus.status)}
+ </span>
+ {:else if phase === 'ready'}
<span class="badge" class:green={allGreen()} class:amber={!allGreen()}>
{allGreen() ? 'Ready' : 'Partial'}
</span>
@@ -573,7 +601,7 @@
</div>
{:else if phase === 'provisioning'}
- <ProvisionView {progress} />
+ <ProvisionView {progress} {runtimeStatus} />
{:else if phase === 'ready' && view === 'diagnostics' && config}
<DiagnosticsView
@@ -581,6 +609,8 @@
highlight={diagHighlight}
{config}
onConfigChange={updateConfig}
+ {runtimeStatus}
+ onRepairRuntime={runtimeStatus && showsRepairAction(runtimeStatus) ? repairRuntime : undefined}
/>
{:else if phase === 'ready' && viewing}
@@ -675,24 +705,42 @@
{#if phase === 'ready' && health && view === 'main' && batchItems === null && staged.length === 0 && !result && !converting}
<details class="health-footer">
<summary>
- <span>Dependency health</span>
- <span class="health-dots" aria-hidden="true">
- <span class="hdot hdot-green" title="Python {health.python_version}"></span>
- <span class="hdot" class:hdot-green={!!health.markitdown_version} class:hdot-red={!health.markitdown_version} title="MarkItDown {health.markitdown_version ?? 'missing'}"></span>
- {#each Object.entries(EXTRA_LABELS) as [key, label]}
- <span class="hdot" class:hdot-green={health.extras[key]} class:hdot-red={!health.extras[key]} title="{label}: {health.extras[key] ? 'ok' : 'missing'}"></span>
- {/each}
- </span>
+ <span>{runtimeStatus ? `${editionLabel(runtimeStatus.edition)} runtime` : 'Dependency health'}</span>
+ {#if runtimeStatus}
+ <span class="health-dots" aria-hidden="true">
+ <span class="hdot hdot-{lifecycleDotClass(runtimeStatus.status)}" title="{lifecycleLabel(runtimeStatus.status)}"></span>
+ </span>
+ {:else}
+ <span class="health-dots" aria-hidden="true">
+ <span class="hdot hdot-green" title="Python {health.python_version}"></span>
+ <span class="hdot" class:hdot-green={!!health.markitdown_version} class:hdot-red={!health.markitdown_version} title="MarkItDown {health.markitdown_version ?? 'missing'}"></span>
+ {#each Object.entries(EXTRA_LABELS) as [key, label]}
+ <span class="hdot" class:hdot-green={health.extras[key]} class:hdot-red={!health.extras[key]} title="{label}: {health.extras[key] ? 'ok' : 'missing'}"></span>
+ {/each}
+ </span>
+ {/if}
{#if !allGreen()}<span class="warn-badge">Issues found</span>{/if}
</summary>
<div class="health-grid">
- {@render HealthRow({ label: 'Python', value: health.python_version, ok: true })}
- {@render HealthRow({ label: 'MarkItDown', value: health.markitdown_version ?? 'not installed', ok: !!health.markitdown_version })}
- {#each Object.entries(EXTRA_LABELS) as [key, label]}
- {@render HealthRow({ label, value: health.extras[key] ? 'installed' : 'missing', ok: health.extras[key] ?? false })}
- {/each}
+ {#if runtimeStatus}
+ {@render HealthRow({ label: 'Edition', value: editionLabel(runtimeStatus.edition), ok: true })}
+ {@render HealthRow({ label: 'Platform', value: runtimeStatus.platform, ok: true })}
+ {@render HealthRow({ label: 'Runtime', value: lifecycleLabel(runtimeStatus.status), ok: runtimeStatus.status === 'ready' })}
+ {@render HealthRow({ label: 'Python', value: runtimeStatus.python_version ?? health.python_version, ok: runtimeStatus.status === 'ready' })}
+ {@render HealthRow({ label: 'Core', value: runtimeStatus.components.core, ok: runtimeStatus.components.core === 'installed' })}
+ {@render HealthRow({ label: 'OCR', value: runtimeStatus.components.ocr, ok: runtimeStatus.components.ocr === 'installed' })}
+ {@render HealthRow({ label: 'Audio', value: runtimeStatus.components.audio, ok: runtimeStatus.components.audio === 'installed' })}
+ {:else}
+ {@render HealthRow({ label: 'Python', value: health.python_version, ok: true })}
+ {@render HealthRow({ label: 'MarkItDown', value: health.markitdown_version ?? 'not installed', ok: !!health.markitdown_version })}
+ {#each Object.entries(EXTRA_LABELS) as [key, label]}
+ {@render HealthRow({ label, value: health.extras[key] ? 'installed' : 'missing', ok: health.extras[key] ?? false })}
+ {/each}
+ {/if}
{#if !allGreen()}
- <button class="repair-btn" onclick={() => boot(true)}>Repair</button>
+ <button class="repair-btn" onclick={() => boot(true)}>
+ {runtimeStatus && showsRepairAction(runtimeStatus) ? 'Repair runtime' : 'Repair'}
+ </button>
{/if}
</div>
</details>
@@ -744,6 +792,10 @@
}
.badge.green { background: color-mix(in srgb, var(--green) 15%, transparent); color: var(--green); }
.badge.amber { background: color-mix(in srgb, var(--amber) 15%, transparent); color: var(--amber); }
+ .badge.edition-chip {
+ background: color-mix(in srgb, var(--accent) 12%, transparent);
+ color: var(--text-secondary);
+ }
.header-right {
margin-left: auto;
display: flex;
@@ -904,6 +956,7 @@
}
.hdot-green { background: var(--green); }
.hdot-red { background: var(--red); }
+ .hdot-amber { background: var(--amber); }
.warn-badge {
font-size: 10px;
diff --git a/devenv.lock b/devenv.lock
new file mode 100644
index 0000000..c30b486
--- /dev/null
+++ b/devenv.lock
@@ -0,0 +1,27 @@
+{
+ "nodes": {
+ "nixpkgs": {
+ "locked": {
+ "lastModified": 1765186076,
+ "narHash": "sha256-hM20uyap1a0M9d344I692r+ik4gTMyj60cQWO+hAYP8=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "addf7cf5f383a3101ecfba091b98d0a1263dc9b8",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "addf7cf5f383a3101ecfba091b98d0a1263dc9b8",
+ "type": "github"
+ }
+ },
+ "root": {
+ "inputs": {
+ "nixpkgs": "nixpkgs"
+ }
+ }
+ },
+ "root": "root",
+ "version": 7
+}
diff --git a/devenv.nix b/devenv.nix
new file mode 100644
index 0000000..d0208dc
--- /dev/null
+++ b/devenv.nix
@@ -0,0 +1,63 @@
+{ pkgs, lib, ... }:
+
+let
+ isLinux = pkgs.stdenv.isLinux;
+ isDarwin = pkgs.stdenv.isDarwin;
+in
+{
+ # The lockfile pins every package below. No credentials are declared here: keep
+ # provider keys in the caller's environment or a local, untracked secret store.
+ packages = with pkgs;
+ [
+ nodejs_20
+ rustc
+ cargo
+ python312
+ uv
+ shellcheck
+ pkg-config
+ openssl
+ git
+ gnumake
+ gcc
+ curl
+ jq
+ ]
+ ++ lib.optionals isLinux [
+ gtk3
+ webkitgtk_4_1
+ glib-networking
+ libsoup_3
+ patchelf
+ ]
+ ++ lib.optionals isDarwin [
+ darwin.apple_sdk.frameworks.Security
+ darwin.apple_sdk.frameworks.SystemConfiguration
+ ];
+
+ env = {
+ RUST_BACKTRACE = "1";
+ # Do not set HOME, NIX_PATH, API keys, or release-output paths here.
+ # Build outputs remain in the checkout's normal ignored directories.
+ };
+
+ scripts = {
+ dev.exec = "scripts/dev/dev.sh";
+ check.exec = "scripts/dev/check.sh";
+ "test-sidecar".exec = "scripts/dev/test-sidecar.sh";
+ "build-linux-lite".exec = "scripts/dev/build-linux.sh lite";
+ "build-linux-full".exec = "scripts/dev/build-linux.sh full";
+ };
+
+ enterShell = ''
+ echo "MDFlux devenv: dev, check, test-sidecar, build-linux-lite, build-linux-full"
+ if [ "${if isLinux then "1" else "0"}" != "1" ]; then
+ echo "Linux archive commands are unavailable on this host; ordinary frontend and Rust workflows remain available."
+ fi
+ '';
+
+ enterTest = ''
+ scripts/dev/validate-config.sh
+ scripts/dev/check.sh
+ '';
+}
diff --git a/devenv.yaml b/devenv.yaml
new file mode 100644
index 0000000..7207cef
--- /dev/null
+++ b/devenv.yaml
@@ -0,0 +1,5 @@
+# yaml-language-server: $schema=https://devenv.sh/devenv.schema.json
+# Update this input only with `devenv update`; commit the resulting lockfile.
+inputs:
+ nixpkgs:
+ url: github:NixOS/nixpkgs/addf7cf5f383a3101ecfba091b98d0a1263dc9b8
diff --git a/docs/cross-platform/README.md b/docs/cross-platform/README.md
new file mode 100644
index 0000000..796ffa6
--- /dev/null
+++ b/docs/cross-platform/README.md
@@ -0,0 +1,33 @@
+# MDFlux cross-platform documentation
+
+MDFlux is one product built from a shared codebase for Windows x64 and Linux x64 (glibc). Platform
+differences stay in a small adapter layer and release packaging.
+
+## Documents
+
+| Topic | Document |
+| --- | --- |
+| Lite vs Full editions | [editions.md](editions.md) |
+| Supported platforms and dependencies | [platforms-and-support.md](platforms-and-support.md) |
+| Release names, checksums, and verification | [releases-and-verification.md](releases-and-verification.md) |
+| Ubuntu / Linux contributor setup | [setup-ubuntu.md](setup-ubuntu.md) |
+| Optional devenv contributor setup | [setup-devenv.md](setup-devenv.md) |
+
+## Release availability
+
+Release availability varies by version and platform. Check the [GitHub Releases page](https://github.com/ibrahimqureshae/mdflux/releases)
+and its notes for the archives currently available.
+
+| Artifact | Archive name |
+| --- | --- |
+| Windows Lite | `MDFlux_<version>_windows_x64_lite.zip` |
+| Windows Full | `MDFlux_<version>_windows_x64_full.zip` |
+| Linux Lite | `MDFlux_<version>_linux_x64_glibc_lite.tar.gz` |
+| Linux Full | `MDFlux_<version>_linux_x64_glibc_full.tar.gz` |
+
+The earlier Windows portable archive (`MDFlux_<version>_portable.zip`) is a Lite-class build.
+
+## Quick reference
+
+Platform identifiers are `windows-x64` and `linux-x64-glibc`. Edition identifiers are `lite` and
+`full`. Speech model weights are on demand in every edition and are never bundled in release archives.
diff --git a/docs/cross-platform/editions.md b/docs/cross-platform/editions.md
new file mode 100644
index 0000000..b0abdbb
--- /dev/null
+++ b/docs/cross-platform/editions.md
@@ -0,0 +1,49 @@
+# Editions: Lite and Full
+
+MDFlux ships in two editions on each supported platform. Both editions use the same Svelte UI,
+Rust shell, and Python sidecar sources.
+
+## Lite
+
+**Identifier:** `lite`
+
+Lite is the smaller download. It includes the application and sidecar sources but does not include
+`resources/runtime/`. On first launch, it transactionally provisions a private Python 3.12
+environment from the locked dependency graph. Smoke checks run before activation, and the previous
+working environment remains available if an update fails.
+
+Lite requires internet access during first setup and when OCR or audio is installed for the first
+time. After provisioning, conversion runs offline.
+
+## Full
+
+**Identifier:** `full`
+
+Full is the offline-ready edition. It includes an immutable `resources/runtime/` with a relocatable
+Python 3.12 interpreter and core, OCR, and audio runtime dependencies pre-installed. Full does not
+install packages at runtime or mutate its bundled environment. Optional speech model weights are
+downloaded on demand and are not part of the archive.
+
+## Component matrix
+
+| Component | Lite | Full |
+| --- | --- | --- |
+| Core conversion | Provisioned on first launch | Pre-installed |
+| OCR engine packages | Installed on demand | Pre-installed |
+| Audio runtime packages | Installed on demand | Pre-installed |
+| Speech model weights | On demand | On demand |
+| `resources/runtime/` in archive | No | Yes |
+
+## Choosing an edition
+
+| You want | Choose |
+| --- | --- |
+| Smallest download and an online first launch is acceptable | **Lite** |
+| Fully offline use after download | **Full** |
+| To reproduce a support or CI result | Match the archive you downloaded |
+
+## Edition manifest
+
+Every release archive contains `resources/edition.json` describing the edition, platform, app
+version, commit, Python version (Full only), component list, and dependency lock checksum. Release
+checks use this metadata to confirm that an archive matches its published platform and edition.
diff --git a/docs/cross-platform/platforms-and-support.md b/docs/cross-platform/platforms-and-support.md
new file mode 100644
index 0000000..37d6da8
--- /dev/null
+++ b/docs/cross-platform/platforms-and-support.md
@@ -0,0 +1,61 @@
+# Platforms and support policy
+
+## Supported matrix
+
+| Platform ID | Architecture | C library | Editions | Status |
+| --- | --- | --- | --- | --- |
+| `windows-x64` | x64 | N/A (Windows) | Lite, Full | Supported in v0.3.0. The v0.2.0 portable archive remains available under its legacy Lite-style name. |
+| `linux-x64-glibc` | x64 | glibc | Lite, Full | Supported in v0.3.0 on the Ubuntu 22.04-or-newer baseline described below. |
+
+## Linux baseline
+
+The initial Linux baseline is **Ubuntu 22.04 or newer** (and equivalent glibc-based x64
+distributions such as Lubuntu 24.04) on **x86-64**.
+
+MDFlux does **not** target:
+
+- Linux ARM64 (`aarch64`)
+- musl-based distributions (Alpine, etc.) as first-class releases
+- AppImage, Flatpak, or native `.deb` installers in this release cycle
+- macOS (planned separately; see [ROADMAP.md](../../ROADMAP.md))
+
+## System GUI dependencies
+
+MDFlux is a Tauri desktop application. The webview stack is **not** bundled inside release
+archives.
+
+### Windows
+
+- Windows 10 or 11 (x64)
+- **WebView2** runtime (present on current Windows 10/11)
+
+### Linux
+
+- **WebKitGTK 4.1** at runtime; package name on Ubuntu/Debian: `libwebkit2gtk-4.1-0`
+- **GTK 3**: `libgtk-3-0`
+- **`xdg-utils`** for sensible default handlers
+
+**Linux Full still requires compatible WebKitGTK system libraries.** Full bundles Python and
+Python-side dependencies only; it does not bundle the desktop webview stack.
+
+Build hosts additionally need development packages (WebKitGTK/GTK/OpenSSL headers, `patchelf`,
+`pkg-config`, etc.). See [setup-ubuntu.md](setup-ubuntu.md) and [CONTRIBUTING.md](../../CONTRIBUTING.md).
+
+OCR on Linux may also require `libgl1` and `libgomp1` at runtime.
+
+## Support policy
+
+1. **Supported for bug reports and release verification:** `windows-x64` and `linux-x64-glibc`,
+ **Lite** and **Full**, **x64 only**.
+2. Check the release notes for the versions and platforms currently available for download.
+3. **Out-of-scope platforms** may compile opportunistically but are unsupported; please do not
+ file release-blocking bugs for ARM, musl, or macOS until listed in the support matrix above.
+4. **Security issues:** follow [SECURITY.md](../../SECURITY.md); do not use public issues.
+
+## Runtime status (for bug reports)
+
+When reporting bugs, copy the runtime/edition summary from **Diagnostics** if available. Expected
+`status` values: `missing`, `installing`, `ready`, `invalid`, `repairable`. Component states:
+`not_installed`, `installing`, `installed`, `failed`.
+
+See the [bug report template](../../.github/ISSUE_TEMPLATE/bug_report.md) for required fields.
diff --git a/docs/cross-platform/releases-and-verification.md b/docs/cross-platform/releases-and-verification.md
new file mode 100644
index 0000000..90a9ad1
--- /dev/null
+++ b/docs/cross-platform/releases-and-verification.md
@@ -0,0 +1,123 @@
+# Releases, checksums, and artifact verification
+
+## Frozen archive names
+
+After cross-platform integration, published archives use these deterministic names (replace
+`<version>` with the semver tag, for example `0.2.1`):
+
+| Platform | Edition | Archive name |
+| --- | --- | --- |
+| Windows x64 | Lite | `MDFlux_<version>_windows_x64_lite.zip` |
+| Windows x64 | Full | `MDFlux_<version>_windows_x64_full.zip` |
+| Linux x64 glibc | Lite | `MDFlux_<version>_linux_x64_glibc_lite.tar.gz` |
+| Linux x64 glibc | Full | `MDFlux_<version>_linux_x64_glibc_full.tar.gz` |
+
+> **Legacy v0.2.0 Windows build:** `MDFlux_<version>_portable.zip` (Lite-style provisioning,
+> pre-frozen naming). Treat it as a Windows Lite-class build.
+
+## Archive layout (frozen)
+
+**Windows**
+
+```text
+MDFlux.exe
+resources/
+ edition.json
+ sidecar/
+ runtime/ # Full only
+ python.exe
+```
+
+**Linux**
+
+```text
+MDFlux
+resources/
+ edition.json
+ sidecar/
+ runtime/ # Full only
+ bin/python3
+```
+
+## Download checksums
+
+Each GitHub Release publishes **SHA-256** checksums for attached archives.
+
+1. Download the archive from [Releases](https://github.com/ibrahimqureshae/mdflux/releases).
+2. Open the release notes for the matching `SHA256SUMS` or per-file hash entry.
+3. Verify locally:
+
+ **Windows (PowerShell)**
+
+ ```powershell
+ Get-FileHash -Algorithm SHA256 .\MDFlux_<version>_windows_x64_lite.zip
+ ```
+
+ **Linux**
+
+ ```bash
+ sha256sum MDFlux_<version>_linux_x64_glibc_lite.tar.gz
+ ```
+
+4. Compare the output to the published hash **before extracting**.
+
+Each published release includes checksums for its attached archives. Verify the hash posted on the matching release entry.
+
+## Expected sizes
+
+Archive sizes **vary by version** (dependency updates, bundled Full runtime, compression). **Do
+not rely on hard-coded size promises in documentation.**
+
+After a release is published, use the byte size shown on the GitHub Release asset list. Sizes for
+the four-edition matrix are **pending** first publication.
+
+## Artifact verifier
+
+Developers and release CI validate **extracted** archives with the artifact verifier:
+
+```bash
+python -m tools.release \
+ --archive /path/to/MDFlux_<version>_windows_x64_lite.zip \
+ --platform windows-x64 \
+ --edition lite
+```
+
+```bash
+python -m tools.release \
+ --archive /path/to/MDFlux_<version>_linux_x64_glibc_full.tar.gz \
+ --platform linux-x64-glibc \
+ --edition full
+```
+
+Optional flags:
+
+- `--json-out report.json`: machine-readable JSON report
+- `--fixtures-dir tests/release-fixtures/samples`: conversion sample fixtures
+- `--keep-temp`: retain the extraction directory for debugging
+
+The verifier checks layout, `resources/edition.json`, dependency lock checksum, bundled Python
+(Full), core/OCR/audio imports (Full), sidecar health, sample conversions, and confirms Full
+does not write a provisioned runtime into application data.
+
+> Use the verifier version available in your checkout for CI and local checks.
+
+## Portable archive layout inside `edition.json`
+
+Every archive includes `resources/edition.json` (schema version 1) with `edition`, `platform`,
+`app_version`, `commit`, `python_version`, `components`, `dependency_lock_sha256`, and
+`built_at_utc`. Full editions list `components: ["core", "ocr", "audio-runtime"]`; Lite lists
+`["core"]` at build time (OCR/audio install later via provisioning).
+
+## What verification proves
+
+| Check | Lite | Full |
+| --- | --- | --- |
+| Archive extracts safely | Yes | Yes |
+| `edition.json` matches platform/edition | Yes | Yes |
+| Bundled interpreter present | No | Yes |
+| Sidecar health request | Yes | Yes |
+| Sample conversions | Yes | Yes |
+| No runtime provisioning into app data | N/A | Yes |
+
+**Pending:** end-to-end verification reports for all four archives on clean Windows and Ubuntu
+hosts.
diff --git a/docs/cross-platform/setup-devenv.md b/docs/cross-platform/setup-devenv.md
new file mode 100644
index 0000000..f345c95
--- /dev/null
+++ b/docs/cross-platform/setup-devenv.md
@@ -0,0 +1,25 @@
+# Optional devenv contributor setup
+
+MDFlux supports an optional [devenv](https://devenv.sh/) shell for reproducible Linux, WSL, and
+macOS contributor environments. Nix/devenv is not required; the [ordinary Ubuntu setup](setup-ubuntu.md)
+remains supported.
+
+## Design goals
+
+The environment pins Node 20, Rust, GTK/WebKitGTK, OpenSSL, `pkg-config`, `patchelf`, `uv`, and
+`shellcheck`, while keeping secrets out of the Nix store and release binaries free of Nix Store
+paths. It complements the ordinary commands documented in [CONTRIBUTING.md](../../CONTRIBUTING.md).
+
+## Common commands
+
+```bash
+devenv shell
+devenv test
+```
+
+Use the ordinary setup for a quick Ubuntu clone. Use devenv when the same toolchain versions must
+be reproduced across Linux, WSL, or macOS contributors. CI and release builds follow the repository
+workflows and do not require devenv.
+
+macOS contributors may use devenv where packages permit, but macOS release binaries are not currently
+listed in the supported platform matrix.
diff --git a/docs/cross-platform/setup-ubuntu.md b/docs/cross-platform/setup-ubuntu.md
new file mode 100644
index 0000000..17b7177
--- /dev/null
+++ b/docs/cross-platform/setup-ubuntu.md
@@ -0,0 +1,127 @@
+# Ordinary Ubuntu / Linux setup
+
+This is the **standard, non-Nix** path for building and running MDFlux on Linux x64 (glibc).
+An optional [devenv](setup-devenv.md) path adds pinned tooling.
+
+## Supported host
+
+- **Ubuntu 22.04+** or similar glibc x64 distribution (Lubuntu 24.04 tested in development)
+- **Not supported in this release cycle:** ARM64, musl-only systems, macOS (see
+ [platforms-and-support.md](platforms-and-support.md))
+
+## Runtime packages (to run the GUI)
+
+```bash
+sudo apt update
+sudo apt install -y \
+ libwebkit2gtk-4.1-0 \
+ libgtk-3-0 \
+ xdg-utils \
+ libgl1 \
+ libgomp1
+```
+
+`libwebkit2gtk-4.1-0` is the Linux equivalent of Windows WebView2. **Full edition archives still
+require these system libraries**; they are not bundled inside the tarball.
+
+## Build prerequisites
+
+```bash
+sudo apt install -y \
+ libwebkit2gtk-4.1-dev \
+ libgtk-3-dev \
+ libayatana-appindicator3-dev \
+ librsvg2-dev \
+ libssl-dev \
+ libxdo-dev \
+ libjavascriptcoregtk-4.1-dev \
+ patchelf \
+ pkg-config \
+ build-essential \
+ curl
+```
+
+## Node.js 20+
+
+Ubuntu's default `apt install nodejs` is **too old** (18.x). Install Node **20+**:
+
+- [nodejs.org](https://nodejs.org/) binary tarball, or
+- [NodeSource setup_20.x](https://github.com/nodesource/distributions), or
+- `nvm` / `fnm`
+
+Verify:
+
+```bash
+node --version # v20.x or newer
+```
+
+## Rust (stable)
+
+```bash
+curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
+rustup default stable
+```
+
+## uv (Python test and Full-package tooling)
+
+```bash
+curl -LsSf https://astral.sh/uv/install.sh | sh
+```
+
+The sidecar test runner uses uv to create an isolated, hash-locked test environment. The Full
+portable builder also uses a uv-managed Python 3.12 runtime.
+
+## Clone and run in development
+
+```bash
+git clone https://github.com/ibrahimqureshae/mdflux.git
+cd mdflux/app
+npm ci
+npm run tauri dev
+```
+
+The app provisions its own Python 3.12 environment on first launch (Lite-style dev workflow).
+You do **not** need system Python to **run** the shipped app.
+
+## Build a portable archive (developer)
+
+Current baseline script (legacy output name):
+
+```bash
+bash scripts/make-portable-linux.sh
+# -> dist/MDFlux_<version>_linux_x64.tar.gz
+```
+
+Portable Lite/Full packaging scripts and archive names:
+
+- `scripts/make-portable-linux.sh` ? Lite (`MDFlux_<version>_linux_x64_glibc_lite.tar.gz`)
+- `scripts/make-portable-linux-full.sh` ? Full (`MDFlux_<version>_linux_x64_glibc_full.tar.gz`)
+
+> Use the commands available in your checkout; package names may vary by release.
+
+## WSL2 notes
+
+On Windows 11 + Ubuntu 24.04 under WSL2:
+
+- Install Node 20+ as above (not `apt nodejs`).
+- Install the runtime and build packages in the Linux distro.
+- GUI apps use WSLg; `echo $DISPLAY` should print `:0`.
+
+## Validation commands (frozen)
+
+From the repository root, after changes:
+
+```bash
+cd app && npm run check
+cd app/src-tauri && cargo check --locked && cargo test --locked
+cd app/src-tauri/resources/sidecar && python -m unittest discover -s tests -p "test_*.py"
+```
+
+Artifact verification:
+
+```bash
+python -m tools.release --archive dist/MDFlux_<version>_linux_x64_glibc_lite.tar.gz \
+ --platform linux-x64-glibc --edition lite
+```
+
+See [CONTRIBUTING.md](../../CONTRIBUTING.md) for pull-request expectations.
diff --git a/index.html b/index.html
index e6dad01..b2346bb 100644
--- a/index.html
+++ b/index.html
@@ -414,9 +414,11 @@
<span class="chip">MIT</span>
<span class="chip">Local-first</span>
<span class="chip">Windows</span>
+ <span class="chip">Linux</span>
</div>
<div class="hero-cta" style="margin-top:28px">
<a class="btn" href="https://github.com/ibrahimqureshae/mdflux/releases/latest">⬇ Download for Windows</a>
+ <a class="btn btn-ghost" href="https://github.com/ibrahimqureshae/mdflux/releases/latest">⬇ Linux x64</a>
<a class="btn btn-ghost" href="#proof">See the proof ↓</a>
</div>
<div class="hero-stage">
@@ -708,8 +710,8 @@
<section style="padding-bottom:96px">
<div class="wrap">
<div class="cta-band">
- <h2>Download for Windows. Free. MIT-licensed.</h2>
- <p>Portable zip. No installer, no admin rights, no account, no cloud.</p>
+ <h2>Download for Windows or Linux. Free. MIT-licensed.</h2>
+ <p>Portable archive. No installer, no admin rights, no account, no cloud.</p>
<a class="btn" href="https://github.com/ibrahimqureshae/mdflux/releases/latest">⬇ Get MDFlux</a>
<div class="sponsor">
<a href="https://github.com/sponsors/ibrahimqureshae">❤ Sponsor on GitHub</a>
diff --git a/scripts/dev/build-linux.sh b/scripts/dev/build-linux.sh
new file mode 100755
index 0000000..b7d2191
--- /dev/null
+++ b/scripts/dev/build-linux.sh
@@ -0,0 +1,30 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+edition="${1:?usage: build-linux.sh <lite|full>}"
+repo_root="$(git rev-parse --show-toplevel)"
+
+if [ "$(uname -s)" != "Linux" ]; then
+ echo "build-linux-${edition} must run in Linux or WSL." >&2
+ exit 1
+fi
+
+case "$edition" in
+ lite) builder="$repo_root/scripts/make-portable-linux.sh" ;;
+ full) builder="$repo_root/scripts/make-portable-linux-full.sh" ;;
+ *) echo "unknown Linux edition: $edition" >&2; exit 64 ;;
+esac
+
+if [ ! -f "$builder" ]; then
+ echo "missing ${builder##*/}; the Linux packaging script is unavailable." >&2
+ exit 69
+fi
+
+bash "$builder"
+
+# Check the normal release binary if it exists; the package script performs
+# archive-specific checks itself.
+binary="$repo_root/app/src-tauri/target/release/MDFlux"
+if [ -f "$binary" ]; then
+ "$repo_root/scripts/dev/check-no-nix-store.sh" "$binary"
+fi
diff --git a/scripts/dev/check-no-nix-store.sh b/scripts/dev/check-no-nix-store.sh
new file mode 100755
index 0000000..9b04810
--- /dev/null
+++ b/scripts/dev/check-no-nix-store.sh
@@ -0,0 +1,19 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+if [ "$#" -eq 0 ]; then
+ echo "usage: $0 <published-file-or-directory> [...]" >&2
+ exit 64
+fi
+
+for target in "$@"; do
+ if [ ! -e "$target" ]; then
+ echo "release output does not exist: $target" >&2
+ exit 66
+ fi
+
+ if grep -R -a -n -F "/nix/store/" -- "$target"; then
+ echo "refusing release output with Nix Store references: $target" >&2
+ exit 1
+ fi
+done
diff --git a/scripts/dev/check.sh b/scripts/dev/check.sh
new file mode 100755
index 0000000..3abbe97
--- /dev/null
+++ b/scripts/dev/check.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+repo_root="$(git rev-parse --show-toplevel)"
+
+(
+ cd "$repo_root/app"
+ npm run check
+)
+(
+ cd "$repo_root/app/src-tauri"
+ cargo check --locked
+ cargo test --locked
+)
+"$repo_root/scripts/dev/test-sidecar.sh"
diff --git a/scripts/dev/dev.sh b/scripts/dev/dev.sh
new file mode 100755
index 0000000..a3708ca
--- /dev/null
+++ b/scripts/dev/dev.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+repo_root="$(git rev-parse --show-toplevel)"
+cd "$repo_root/app"
+exec npm run tauri dev
diff --git a/scripts/dev/test-sidecar.sh b/scripts/dev/test-sidecar.sh
new file mode 100755
index 0000000..d79eef8
--- /dev/null
+++ b/scripts/dev/test-sidecar.sh
@@ -0,0 +1,30 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+repo_root="$(git rev-parse --show-toplevel)"
+sidecar_dir="$repo_root/app/src-tauri/resources/sidecar"
+
+if [[ -n "${SIDECAR_TEST_PYTHON:-}" ]]; then
+ test_python="$SIDECAR_TEST_PYTHON"
+elif command -v uv >/dev/null 2>&1; then
+ test_venv="$repo_root/.venv-sidecar-tests"
+ test_python="$test_venv/bin/python"
+ if [[ ! -x "$test_python" ]]; then
+ uv venv --python 3.12 "$test_venv"
+ fi
+ UV_LINK_MODE=copy uv pip install --python "$test_python" --require-hashes \
+ -r "$sidecar_dir/requirements.lock"
+else
+ test_python="$(command -v python3 || true)"
+ [[ -n "$test_python" ]] || {
+ echo "error: install uv or set SIDECAR_TEST_PYTHON to a prepared interpreter" >&2
+ exit 1
+ }
+ "$test_python" -c 'import httpx' 2>/dev/null || {
+ echo "error: sidecar test dependencies are missing; install uv or set SIDECAR_TEST_PYTHON" >&2
+ exit 1
+ }
+fi
+
+cd "$sidecar_dir"
+exec "$test_python" -m unittest discover -s tests -p "test_*.py"
diff --git a/scripts/dev/validate-config.sh b/scripts/dev/validate-config.sh
new file mode 100755
index 0000000..34edcea
--- /dev/null
+++ b/scripts/dev/validate-config.sh
@@ -0,0 +1,22 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+repo_root="$(git rev-parse --show-toplevel)"
+
+python3 - "$repo_root/devenv.lock" <<'PY'
+import json
+import sys
+
+with open(sys.argv[1], encoding="utf-8") as source:
+ lock = json.load(source)
+
+node = lock["nodes"]["nixpkgs"]["locked"]
+assert lock["version"] == 7
+assert node["type"] == "github"
+assert len(node["rev"]) == 40
+assert node["narHash"].startswith("sha256-")
+PY
+
+for command in dev check test-sidecar build-linux-lite build-linux-full; do
+ grep -Fq "$command.exec" "$repo_root/devenv.nix"
+done
diff --git a/scripts/linux/package-common.sh b/scripts/linux/package-common.sh
new file mode 100755
index 0000000..30973b7
--- /dev/null
+++ b/scripts/linux/package-common.sh
@@ -0,0 +1,26 @@
+#!/usr/bin/env bash
+# Shared, Linux-only packaging helpers. Called by the two portable builders.
+set -euo pipefail
+die() { echo "error: $*" >&2; exit 1; }
+sha256_file() { sha256sum "$1" | awk '{print $1}'; }
+require_linux_x64_glibc() { [[ "$(uname -s)" == Linux ]] || die "Linux packaging must run on Linux"; [[ "$(uname -m)" == x86_64 ]] || die "Only Linux x86_64 is supported"; getconf GNU_LIBC_VERSION >/dev/null 2>&1 || die "A glibc host is required"; }
+read_release_inputs() { local root="$1"; RELEASE_BINARY="$root/app/src-tauri/target/release/app"; RELEASE_RESOURCES="$root/app/src-tauri/target/release/resources"; [[ -f "$RELEASE_BINARY" ]] || die "Release binary not found at $RELEASE_BINARY"; [[ -d "$RELEASE_RESOURCES" ]] || die "Release resources not found at $RELEASE_RESOURCES"; APP_VERSION="$(sed -n 's/.*"version": *"\([^"]*\)".*/\1/p' "$root/app/src-tauri/tauri.conf.json" | head -n 1)"; [[ -n "$APP_VERSION" ]] || die "Could not read the application version"; GIT_COMMIT="$(git -C "$root" rev-parse HEAD)"; FULL_LOCK="$root/app/src-tauri/resources/sidecar/requirements-full.lock"; [[ -f "$FULL_LOCK" ]] || die "Canonical requirements-full.lock is missing"; LOCK_SHA256="$(sha256_file "$FULL_LOCK")"; }
+prepare_stage() { local dist="$1" name="$2" stage dist_real; mkdir -p "$dist"; dist_real="$(cd "$dist" && pwd -P)"; stage="$dist_real/$name"; [[ "$stage" == "$dist_real/"* && "$stage" != "$dist_real" ]] || die "Unsafe staging path: $stage"; rm -rf -- "$stage"; mkdir -p "$stage"; printf '%s\n' "$stage"; }
+cleanup_stage() { local dist="$1" stage="$2" dist_real stage_real; [[ -n "$stage" && -d "$stage" ]] || return 0; dist_real="$(cd "$dist" && pwd -P)"; stage_real="$(cd "$stage" && pwd -P)"; [[ "$stage_real" == "$dist_real/"* && "$stage_real" != "$dist_real" ]] || die "Refusing unsafe cleanup path: $stage_real"; rm -rf -- "$stage_real"; }
+copy_portable_payload() { local binary="$1" resources="$2" stage="$3"; cp "$binary" "$stage/MDFlux"; chmod 0755 "$stage/MDFlux"; cp -a "$resources" "$stage/resources"; [[ -d "$stage/resources/sidecar" ]] || die "Packaged sidecar resources are missing"; }
+write_edition_manifest() { local output="$1" edition="$2" version="$3" commit="$4" platform="$5" python_version="$6" components="$7" lock_sha="$8" built_at component_json="" component; local -a component_array; built_at="$(date -u +%Y-%m-%dT%H:%M:%SZ)"; IFS=',' read -r -a component_array <<< "$components"; for component in "${component_array[@]}"; do component_json+="${component_json:+,}\"$component\""; done; cat > "$output" <<EOF
+{
+ "schema": 1,
+ "edition": "$edition",
+ "app_version": "$version",
+ "commit": "$commit",
+ "platform": "$platform",
+ "python_version": $python_version,
+ "components": [$component_json],
+ "dependency_lock_sha256": "$lock_sha",
+ "built_at_utc": "$built_at"
+}
+EOF
+}
+create_archive() { local stage="$1" archive="$2"; rm -f -- "$archive"; tar --sort=name --mtime='UTC 1970-01-01' --owner=0 --group=0 --numeric-owner -C "$stage" -czf "$archive" MDFlux resources; }
+verify_extracted_archive() { local root="$1" archive="$2" platform="$3" edition="$4"; "$root/scripts/linux/verify-portable-archive.sh" "$archive" "$platform" "$edition"; }
diff --git a/scripts/linux/verify-portable-archive.sh b/scripts/linux/verify-portable-archive.sh
new file mode 100755
index 0000000..3653914
--- /dev/null
+++ b/scripts/linux/verify-portable-archive.sh
@@ -0,0 +1,28 @@
+#!/usr/bin/env bash
+# Validate a Linux MDFlux archive after extraction. Run this on the supported Linux host.
+set -euo pipefail
+die() { echo "error: $*" >&2; exit 1; }
+[[ "$#" == 3 ]] || die "Usage: $0 ARCHIVE linux-x64-glibc lite|full"
+archive="$1"; expected_platform="$2"; expected_edition="$3"
+[[ -f "$archive" ]] || die "Archive not found: $archive"
+[[ "$(uname -s)" == Linux ]] || die "Archive verification must run on Linux"
+tmp="$(mktemp -d "${TMPDIR:-/tmp}/mdflux-verify.XXXXXX")"
+cleanup() { [[ "$tmp" == "${TMPDIR:-/tmp}"/mdflux-verify.* ]] && rm -rf -- "$tmp"; }
+trap cleanup EXIT
+tar -xzf "$archive" -C "$tmp"
+[[ -x "$tmp/MDFlux" ]] || die "MDFlux is missing or not executable"; [[ -d "$tmp/resources/sidecar" ]] || die "Sidecar directory is missing"; manifest="$tmp/resources/edition.json"; [[ -f "$manifest" ]] || die "edition.json is missing"
+python3 - "$manifest" "$expected_platform" "$expected_edition" <<'PY'
+import json, sys
+m = json.load(open(sys.argv[1], encoding="utf-8")); required = {"schema", "edition", "app_version", "commit", "platform", "python_version", "components", "dependency_lock_sha256", "built_at_utc"}
+assert not required - m.keys(), f"manifest fields missing: {sorted(required - m.keys())}"
+assert m["schema"] == 1 and m["platform"] == sys.argv[2] and m["edition"] == sys.argv[3]
+assert m["components"] == (["core"] if sys.argv[3] == "lite" else ["core", "ocr", "audio-runtime"])
+assert (m["python_version"] is None) if sys.argv[3] == "lite" else isinstance(m["python_version"], str)
+PY
+lock="$tmp/resources/sidecar/requirements-full.lock"; [[ -f "$lock" ]] || die "Packaged requirements-full.lock is missing"
+expected_hash="$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1]))["dependency_lock_sha256"])' "$manifest")"; actual_hash="$(sha256sum "$lock" | awk '{print $1}')"; [[ "$actual_hash" == "$expected_hash" ]] || die "Dependency lock checksum mismatch"
+runtime_library_path=""
+if [[ "$expected_edition" == lite ]]; then [[ ! -e "$tmp/resources/runtime" ]] || die "Lite archive unexpectedly bundles a runtime"; else runtime_root="$tmp/resources/runtime"; runtime="$runtime_root/bin/python3"; [[ -x "$runtime" ]] || die "Full archive is missing executable resources/runtime/bin/python3"; "$runtime" -I -c 'import markitdown, openai, httpx, rapidocr, onnxruntime, pypdfium2, faster_whisper, ctranslate2'; printf '%s\n' '{"v":1,"id":"packaging-health","method":"health","params":{}}' | (cd "$tmp/resources/sidecar" && "$runtime" main.py) | grep -q '"ok": true' || die "Packaged sidecar health request failed"; runtime_library_path="$runtime_root/lib"; while IFS= read -r -d '' wheel_libs; do runtime_library_path+=":$wheel_libs"; done < <(find "$runtime_root" -type d -name '*.libs' -print0); fi
+if grep -RIl --exclude='*.pyc' --exclude='*.so' -E '/nix/store|_mdflux_linux_(lite|full)_stage' "$tmp" >/dev/null; then grep -RIl --exclude='*.pyc' --exclude='*.so' -E '/nix/store|_mdflux_linux_(lite|full)_stage' "$tmp" >&2; die "Archive contains a Nix Store or staging path"; fi
+while IFS= read -r -d '' executable; do if [[ -n "$runtime_library_path" ]]; then ldd_output="$(LD_LIBRARY_PATH="$runtime_library_path${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" ldd "$executable" 2>&1 || true)"; else ldd_output="$(ldd "$executable" 2>&1 || true)"; fi; if grep -Eq 'not found|/nix/store|_mdflux_linux_(lite|full)_stage' <<< "$ldd_output" || strings "$executable" | grep -Eq '/nix/store|_mdflux_linux_(lite|full)_stage'; then printf '%s\n%s\n' "$executable" "$ldd_output" >&2; die "Native dependency inspection failed"; fi; done < <(find "$tmp" -type f \( -name MDFlux -o -name python3 -o -name '*.so' -o -name '*.so.*' \) -print0)
+echo "Verified $archive ($expected_platform, $expected_edition)"
diff --git a/scripts/make-portable-full.ps1 b/scripts/make-portable-full.ps1
new file mode 100644
index 0000000..949bf7e
--- /dev/null
+++ b/scripts/make-portable-full.ps1
@@ -0,0 +1,67 @@
+# Build the Windows Full portable archive with an immutable bundled Python runtime.
+param([switch]$NoBuild, [string]$UvPath = "")
+
+$ErrorActionPreference = "Stop"
+. (Join-Path $PSScriptRoot "windows\portable-common.ps1")
+$root = Split-Path -Parent $PSScriptRoot
+$appDir = Join-Path $root "app"
+$tauriDir = Join-Path $appDir "src-tauri"
+$sidecarDir = Join-Path $tauriDir "resources\sidecar"
+$releaseDir = Join-Path $tauriDir "target\release"
+$distDir = Join-Path $root "dist"
+$fullLock = Join-Path $sidecarDir "requirements-full.lock"
+
+if (-not $NoBuild) {
+ Push-Location $appDir
+ try { npm run tauri build -- --no-bundle; if ($LASTEXITCODE -ne 0) { throw "Application build failed." } } finally { Pop-Location }
+}
+
+$exe = Join-Path $releaseDir "app.exe"
+$resources = Join-Path $releaseDir "resources"
+if (-not (Test-Path -LiteralPath $exe)) { throw "Release executable not found at $exe" }
+if (-not (Test-Path -LiteralPath $resources)) { throw "Release resources not found at $resources" }
+if (-not $UvPath) { $uvCommand = Get-Command uv -ErrorAction SilentlyContinue; if ($uvCommand) { $UvPath = $uvCommand.Source } }
+if (-not $UvPath -or -not (Test-Path -LiteralPath $UvPath)) { throw "uv was not found. Install uv or pass -UvPath C:\\path\\to\\uv.exe" }
+
+$managedPython = (& $UvPath python find --managed-python 3.12).Trim()
+if ($LASTEXITCODE -ne 0 -or -not (Test-Path -LiteralPath $managedPython)) {
+ & $UvPath python install 3.12
+ if ($LASTEXITCODE -ne 0) { throw "Python 3.12 installation for the Full runtime failed." }
+ $managedPython = (& $UvPath python find --managed-python 3.12).Trim()
+}
+if (-not (Test-Path -LiteralPath $managedPython)) { throw "A managed Python 3.12 runtime could not be located after installation." }
+$pythonRoot = Split-Path -Parent $managedPython
+$metadata = Get-MDFluxBuildMetadata -RepositoryRoot $root -TauriDirectory $tauriDir -FullLock $fullLock
+
+New-Item -ItemType Directory -Force -Path $distDir | Out-Null
+$stage = Assert-SafeStagePath -DistDirectory $distDir -StageDirectory (Join-Path $distDir "_portable_full_stage")
+$zip = Join-Path $distDir "MDFlux_$($metadata.Version)_windows_x64_full.zip"
+Remove-SafeStageDirectory -DistDirectory $distDir -StageDirectory $stage
+if (Test-Path -LiteralPath $zip) { Remove-Item -LiteralPath $zip -Force }
+try {
+ New-Item -ItemType Directory -Force -Path $stage | Out-Null
+ Copy-Item -LiteralPath $exe -Destination (Join-Path $stage "MDFlux.exe")
+ Copy-Item -LiteralPath $resources -Destination $stage -Recurse
+ $runtime = Join-Path $stage "resources\runtime"
+ New-Item -ItemType Directory -Force -Path $runtime | Out-Null
+ Copy-Item -Path (Join-Path $pythonRoot '*') -Destination $runtime -Recurse -Force
+ $runtimePython = Join-Path $runtime "python.exe"
+ if (-not (Test-Path -LiteralPath $runtimePython)) { throw "Bundled Python executable was not created." }
+ $oldLinkMode = $env:UV_LINK_MODE
+ $env:UV_LINK_MODE = "copy"
+ try {
+ & $UvPath pip install --python $runtimePython --system --break-system-packages --require-hashes -r $fullLock
+ if ($LASTEXITCODE -ne 0) { throw "Bundled dependency installation failed." }
+ } finally { $env:UV_LINK_MODE = $oldLinkMode }
+ & $runtimePython -I -c "import markitdown, openai, httpx, rapidocr, onnxruntime, pypdfium2, faster_whisper, ctranslate2; print('bundled runtime imports: OK')"
+ if ($LASTEXITCODE -ne 0) { throw "Bundled runtime smoke test failed." }
+ $pythonVersion = (& $runtimePython -I -c "import platform; print(platform.python_version())").Trim()
+ if ($pythonVersion -notmatch '^3\.12\.') { throw "Bundled runtime must be Python 3.12; found $pythonVersion" }
+ Write-EditionManifest -ResourcesDirectory (Join-Path $stage "resources") -Edition "full" -Metadata $metadata -PythonVersion $pythonVersion
+ Compress-Archive -Path (Join-Path $stage '*') -DestinationPath $zip -CompressionLevel Optimal
+ Test-WindowsPortableArchive -Zip $zip -DistDirectory $distDir -Edition "full"
+} finally {
+ Remove-SafeStageDirectory -DistDirectory $distDir -StageDirectory $stage
+}
+$size = [math]::Round((Get-Item -LiteralPath $zip).Length / 1MB, 1)
+Write-Host "Full portable build: $zip ($size MB)"
diff --git a/scripts/make-portable-linux-full.sh b/scripts/make-portable-linux-full.sh
new file mode 100755
index 0000000..5887888
--- /dev/null
+++ b/scripts/make-portable-linux-full.sh
@@ -0,0 +1,62 @@
+#!/usr/bin/env bash
+# Build the Linux x64 glibc Full archive with an immutable bundled Python 3.12.
+# Usage: bash scripts/make-portable-linux-full.sh [--no-build] [--uv /path/to/uv]
+set -euo pipefail
+
+ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"
+source "$ROOT/scripts/linux/package-common.sh"
+
+no_build=0
+uv_path="${UV_PATH:-}"
+while (( "$#" )); do
+ case "$1" in
+ --no-build) no_build=1 ;;
+ --uv) shift; (( "$#" )) || die "--uv requires a path"; uv_path="$1" ;;
+ *) die "Usage: $0 [--no-build] [--uv /path/to/uv]" ;;
+ esac
+ shift
+done
+
+require_linux_x64_glibc
+if (( ! no_build )); then (cd "$ROOT/app" && npm run tauri build -- --no-bundle); fi
+read_release_inputs "$ROOT"
+uv_path="${uv_path:-$(command -v uv || true)}"
+[[ -n "$uv_path" && -x "$uv_path" ]] || die "uv was not found; install uv or pass --uv /path/to/uv"
+managed_python="$($uv_path python find --managed-python 3.12 2>/dev/null || true)"
+if [[ -z "$managed_python" || ! -x "$managed_python" ]]; then
+ "$uv_path" python install 3.12
+ managed_python="$($uv_path python find --managed-python 3.12)"
+fi
+[[ -x "$managed_python" ]] || die "uv did not return an executable managed Python 3.12"
+python_root="$(cd "$(dirname "$managed_python")/.." && pwd -P)"
+stage="$(prepare_stage "$ROOT/dist" "_mdflux_linux_full_stage")"
+archive="$ROOT/dist/MDFlux_${APP_VERSION}_linux_x64_glibc_full.tar.gz"
+cleanup() { cleanup_stage "$ROOT/dist" "$stage"; }
+trap cleanup EXIT
+
+copy_portable_payload "$RELEASE_BINARY" "$RELEASE_RESOURCES" "$stage"
+runtime="$stage/resources/runtime"
+mkdir -p "$runtime"
+cp -a "$python_root/." "$runtime/"
+runtime_python="$runtime/bin/python3"
+[[ -x "$runtime_python" ]] || die "Bundled runtime is missing bin/python3"
+"$runtime_python" -I -c 'import sys; assert sys.version_info[:2] == (3, 12), sys.version; print(sys.version)'
+full_lock="$stage/resources/sidecar/requirements-full.lock"
+[[ -f "$full_lock" ]] || die "Packaged requirements-full.lock is missing"
+[[ "$(sha256_file "$full_lock")" == "$LOCK_SHA256" ]] || die "Packaged requirements-full.lock checksum differs from the canonical lock"
+UV_LINK_MODE=copy "$uv_path" pip install --python "$runtime_python" --system --break-system-packages --require-hashes -r "$full_lock"
+# Console entry points created by pip contain an absolute shebang to the
+# temporary staging directory. The desktop sidecar imports these packages and
+# does not use their CLI wrappers, so retain only the relocatable interpreters.
+find "$runtime/bin" -mindepth 1 -maxdepth 1 \
+ ! -name 'python' ! -name 'python3' ! -name 'python3.*' -delete
+# The uv standalone distribution includes the optional Tk extension, but not
+# its Tcl/Tk shared libraries. MDFlux has no Tk UI, so omit that unusable module
+# instead of creating a host dependency in the portable archive.
+find "$runtime/lib" -type f -name '_tkinter*.so' -delete
+"$runtime_python" -I -c 'import markitdown, openai, httpx, rapidocr, onnxruntime, pypdfium2, faster_whisper, ctranslate2; print("bundled runtime imports: OK")'
+python_version="$($runtime_python -I -c 'import platform; print(platform.python_version())')"
+write_edition_manifest "$stage/resources/edition.json" "full" "$APP_VERSION" "$GIT_COMMIT" "linux-x64-glibc" "\"$python_version\"" "core,ocr,audio-runtime" "$LOCK_SHA256"
+create_archive "$stage" "$archive"
+verify_extracted_archive "$ROOT" "$archive" "linux-x64-glibc" "full"
+echo "Linux Full archive: $archive"
diff --git a/scripts/make-portable-linux.sh b/scripts/make-portable-linux.sh
new file mode 100755
index 0000000..ddf56f9
--- /dev/null
+++ b/scripts/make-portable-linux.sh
@@ -0,0 +1,26 @@
+#!/usr/bin/env bash
+# Build the Linux x64 glibc Lite archive. Lite provisions its runtime on first run.
+# Usage: bash scripts/make-portable-linux.sh [--no-build]
+set -euo pipefail
+
+ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"
+source "$ROOT/scripts/linux/package-common.sh"
+
+no_build=0
+case "${1:-}" in
+ "") ;;
+ --no-build) no_build=1 ;;
+ *) die "Usage: $0 [--no-build]" ;;
+esac
+require_linux_x64_glibc
+if (( ! no_build )); then (cd "$ROOT/app" && npm run tauri build -- --no-bundle); fi
+read_release_inputs "$ROOT"
+stage="$(prepare_stage "$ROOT/dist" "_mdflux_linux_lite_stage")"
+archive="$ROOT/dist/MDFlux_${APP_VERSION}_linux_x64_glibc_lite.tar.gz"
+cleanup() { cleanup_stage "$ROOT/dist" "$stage"; }
+trap cleanup EXIT
+copy_portable_payload "$RELEASE_BINARY" "$RELEASE_RESOURCES" "$stage"
+write_edition_manifest "$stage/resources/edition.json" "lite" "$APP_VERSION" "$GIT_COMMIT" "linux-x64-glibc" "null" "core" "$LOCK_SHA256"
+create_archive "$stage" "$archive"
+verify_extracted_archive "$ROOT" "$archive" "linux-x64-glibc" "lite"
+echo "Linux Lite archive: $archive"
diff --git a/scripts/make-portable.ps1 b/scripts/make-portable.ps1
index 5b7b8e2..8eb5177 100644
--- a/scripts/make-portable.ps1
+++ b/scripts/make-portable.ps1
@@ -1,45 +1,41 @@
-# Build MDFlux and package it as a portable, extract-and-run zip (no installer).
-# The zip contains app.exe + resources/ (the Python sidecar). On first launch the app
-# downloads uv + Python + deps to %APPDATA% — same online-provisioning model as the installer.
-#
-# Usage: pwsh -File scripts\make-portable.ps1 # build + zip
-# pwsh -File scripts\make-portable.ps1 -NoBuild # zip the existing release build
-
+# Build the Windows Lite portable archive (first-run runtime provisioning).
param([switch]$NoBuild)
$ErrorActionPreference = "Stop"
+. (Join-Path $PSScriptRoot "windows\portable-common.ps1")
$root = Split-Path -Parent $PSScriptRoot
-$rel = Join-Path $root "app\src-tauri\target\release"
+$tauriDir = Join-Path $root "app\src-tauri"
+$releaseDir = Join-Path $tauriDir "target\release"
$dist = Join-Path $root "dist"
+$fullLock = Join-Path $tauriDir "resources\sidecar\requirements-full.lock"
if (-not $NoBuild) {
- # --no-bundle: compile app.exe + stage resources, but DO NOT build an installer.
- # MDFlux ships as a portable, extract-and-run zip — no NSIS installer.
Push-Location (Join-Path $root "app")
- try { npm run tauri build -- --no-bundle } finally { Pop-Location }
+ try { npm run tauri build -- --no-bundle; if ($LASTEXITCODE -ne 0) { throw "Application build failed." } } finally { Pop-Location }
}
-$exe = Join-Path $rel "app.exe"
-$res = Join-Path $rel "resources"
-if (-not (Test-Path $exe)) { throw "Release build not found at $exe. Run without -NoBuild first." }
-
-# Read version from tauri.conf.json for the zip name.
-$conf = Get-Content (Join-Path $root "app\src-tauri\tauri.conf.json") -Raw | ConvertFrom-Json
-$version = $conf.version
+$exe = Join-Path $releaseDir "app.exe"
+$resources = Join-Path $releaseDir "resources"
+if (-not (Test-Path -LiteralPath $exe)) { throw "Release build not found at $exe. Run without -NoBuild first." }
+if (-not (Test-Path -LiteralPath $resources)) { throw "Release resources not found at $resources." }
+$metadata = Get-MDFluxBuildMetadata -RepositoryRoot $root -TauriDirectory $tauriDir -FullLock $fullLock
New-Item -ItemType Directory -Force -Path $dist | Out-Null
-$zip = Join-Path $dist "MDFlux_${version}_portable.zip"
-if (Test-Path $zip) { Remove-Item $zip -Force }
-
-# Stage the payload so the shipped executable is MDFlux.exe (the build output is app.exe
-# because the Rust crate is named "app"; users are told to run MDFlux.exe).
-$stage = Join-Path $dist "_portable_stage"
-if (Test-Path $stage) { Remove-Item $stage -Recurse -Force }
-New-Item -ItemType Directory -Force -Path $stage | Out-Null
-Copy-Item $exe (Join-Path $stage "MDFlux.exe")
-Copy-Item $res -Destination $stage -Recurse
-
-Compress-Archive -Path (Join-Path $stage '*') -DestinationPath $zip -CompressionLevel Optimal
-Remove-Item $stage -Recurse -Force
-$mb = [math]::Round((Get-Item $zip).Length / 1MB, 2)
-Write-Host "Portable build: $zip ($mb MB) (executable: MDFlux.exe)"
+$stage = Assert-SafeStagePath -DistDirectory $dist -StageDirectory (Join-Path $dist "_portable_lite_stage")
+$zip = Join-Path $dist "MDFlux_$($metadata.Version)_windows_x64_lite.zip"
+Remove-SafeStageDirectory -DistDirectory $dist -StageDirectory $stage
+if (Test-Path -LiteralPath $zip) { Remove-Item -LiteralPath $zip -Force }
+try {
+ New-Item -ItemType Directory -Force -Path $stage | Out-Null
+ Copy-Item -LiteralPath $exe -Destination (Join-Path $stage "MDFlux.exe")
+ Copy-Item -LiteralPath $resources -Destination $stage -Recurse
+ $runtime = Join-Path $stage "resources\runtime"
+ if (Test-Path -LiteralPath $runtime) { Remove-Item -LiteralPath $runtime -Recurse -Force }
+ Write-EditionManifest -ResourcesDirectory (Join-Path $stage "resources") -Edition "lite" -Metadata $metadata -PythonVersion $null
+ Compress-Archive -Path (Join-Path $stage '*') -DestinationPath $zip -CompressionLevel Optimal
+ Test-WindowsPortableArchive -Zip $zip -DistDirectory $dist -Edition "lite"
+} finally {
+ Remove-SafeStageDirectory -DistDirectory $dist -StageDirectory $stage
+}
+$mb = [math]::Round((Get-Item -LiteralPath $zip).Length / 1MB, 2)
+Write-Host "Lite portable build: $zip ($mb MB)"
diff --git a/scripts/windows/portable-common.ps1 b/scripts/windows/portable-common.ps1
new file mode 100644
index 0000000..4eecfcb
--- /dev/null
+++ b/scripts/windows/portable-common.ps1
@@ -0,0 +1,87 @@
+Set-StrictMode -Version Latest
+
+function Assert-SafeStagePath {
+ param([Parameter(Mandatory = $true)][string]$DistDirectory, [Parameter(Mandatory = $true)][string]$StageDirectory)
+ $distFull = [IO.Path]::GetFullPath($DistDirectory).TrimEnd('\')
+ $stageFull = [IO.Path]::GetFullPath($StageDirectory).TrimEnd('\')
+ if (-not $stageFull.StartsWith($distFull + '\', [StringComparison]::OrdinalIgnoreCase)) { throw "Unsafe staging path: $stageFull is not beneath $distFull" }
+ if ([IO.Path]::GetDirectoryName($stageFull) -ne $distFull) { throw "Unsafe staging path: $stageFull must be a direct child of $distFull" }
+ return $stageFull
+}
+
+function Remove-SafeStageDirectory {
+ param([Parameter(Mandatory = $true)][string]$DistDirectory, [Parameter(Mandatory = $true)][string]$StageDirectory)
+ $safeStage = Assert-SafeStagePath -DistDirectory $DistDirectory -StageDirectory $StageDirectory
+ if (Test-Path -LiteralPath $safeStage) { Remove-Item -LiteralPath $safeStage -Recurse -Force }
+}
+
+function Get-MDFluxBuildMetadata {
+ param([Parameter(Mandatory = $true)][string]$RepositoryRoot, [Parameter(Mandatory = $true)][string]$TauriDirectory, [Parameter(Mandatory = $true)][string]$FullLock)
+ if (-not (Test-Path -LiteralPath $FullLock)) { throw "Canonical dependency lock is missing: $FullLock" }
+ $config = Get-Content -LiteralPath (Join-Path $TauriDirectory "tauri.conf.json") -Raw | ConvertFrom-Json
+ $commit = (& git -C $RepositoryRoot rev-parse HEAD).Trim()
+ if ($LASTEXITCODE -ne 0 -or $commit -notmatch '^[0-9a-f]{40}$') { throw "Could not determine the source commit for edition.json." }
+ return [ordered]@{ Version = $config.version; Commit = $commit; LockSha256 = (Get-FileHash -LiteralPath $FullLock -Algorithm SHA256).Hash.ToLowerInvariant() }
+}
+
+function Write-EditionManifest {
+ param([Parameter(Mandatory = $true)][string]$ResourcesDirectory, [Parameter(Mandatory = $true)][ValidateSet("lite", "full")][string]$Edition, [Parameter(Mandatory = $true)][System.Collections.IDictionary]$Metadata, [AllowNull()][string]$PythonVersion)
+ $components = @("core")
+ if ($Edition -eq "full") { $components = @("core", "ocr", "audio-runtime") }
+ $manifest = [ordered]@{ schema = 1; edition = $Edition; app_version = $Metadata.Version; commit = $Metadata.Commit; platform = "windows-x64"; python_version = $PythonVersion; components = $components; dependency_lock_sha256 = $Metadata.LockSha256; built_at_utc = [DateTime]::UtcNow.ToString("o") }
+ if ($Edition -eq "lite") { $manifest.python_version = $null }
+ $json = $manifest | ConvertTo-Json -Depth 3
+ [IO.File]::WriteAllText((Join-Path $ResourcesDirectory "edition.json"), $json + [Environment]::NewLine, [Text.UTF8Encoding]::new($false))
+}
+
+function Test-WindowsPortableArchive {
+ param([Parameter(Mandatory = $true)][string]$Zip, [Parameter(Mandatory = $true)][string]$DistDirectory, [Parameter(Mandatory = $true)][ValidateSet("lite", "full")][string]$Edition)
+ $inspection = Join-Path $DistDirectory ("_portable_{0}_inspection" -f $Edition)
+ Remove-SafeStageDirectory -DistDirectory $DistDirectory -StageDirectory $inspection
+ try {
+ Expand-Archive -LiteralPath $Zip -DestinationPath $inspection -Force
+ if (-not (Test-Path -LiteralPath (Join-Path $inspection "MDFlux.exe"))) { throw "Archive is missing MDFlux.exe" }
+ $resources = Join-Path $inspection "resources"
+ $manifestPath = Join-Path $resources "edition.json"
+ if (-not (Test-Path -LiteralPath $manifestPath)) { throw "Archive is missing resources\\edition.json" }
+ $manifest = Get-Content -LiteralPath $manifestPath -Raw | ConvertFrom-Json
+ if ($manifest.schema -ne 1 -or $manifest.edition -ne $Edition -or $manifest.platform -ne "windows-x64") { throw "Archive manifest does not match the defined Windows $Edition contract." }
+ $runtime = Join-Path $resources "runtime"
+ if ($Edition -eq "lite") {
+ if (Test-Path -LiteralPath $runtime) { throw "Lite archive unexpectedly contains resources\\runtime" }
+ } else {
+ $python = Join-Path $runtime "python.exe"
+ if (-not (Test-Path -LiteralPath $python)) { throw "Full archive is missing resources\\runtime\\python.exe" }
+ Invoke-PackagedSidecarHealth -Python $python -SidecarDirectory (Join-Path $resources "sidecar")
+ }
+ } finally {
+ Remove-SafeStageDirectory -DistDirectory $DistDirectory -StageDirectory $inspection
+ }
+}
+
+function Invoke-PackagedSidecarHealth {
+ param([Parameter(Mandatory = $true)][string]$Python, [Parameter(Mandatory = $true)][string]$SidecarDirectory)
+ $main = Join-Path $SidecarDirectory "main.py"
+ if (-not (Test-Path -LiteralPath $main)) { throw "Packaged sidecar entry point is missing: $main" }
+ $start = [Diagnostics.ProcessStartInfo]::new()
+ $start.FileName = $Python
+ # Match the application launch path: execute the sidecar entry point directly so
+ # its directory is available for sibling imports such as capabilities.py.
+ $start.Arguments = "`"$main`""
+ $start.WorkingDirectory = $SidecarDirectory
+ $start.UseShellExecute = $false
+ $start.RedirectStandardInput = $true
+ $start.RedirectStandardOutput = $true
+ $start.RedirectStandardError = $true
+ $process = [Diagnostics.Process]::new()
+ $process.StartInfo = $start
+ [void]$process.Start()
+ $process.StandardInput.WriteLine('{"v":1,"id":"packaging-health","method":"health","params":{}}')
+ $process.StandardInput.Close()
+ $stdout = $process.StandardOutput.ReadToEnd()
+ $stderr = $process.StandardError.ReadToEnd()
+ $process.WaitForExit()
+ if ($process.ExitCode -ne 0) { throw "Packaged sidecar health process failed ($($process.ExitCode)): $stderr" }
+ $response = $stdout.Trim() | ConvertFrom-Json
+ if (-not $response.ok -or $response.id -ne "packaging-health") { throw "Packaged sidecar health check returned an invalid response: $stdout" }
+}
diff --git a/tests/release-fixtures/archive_builder.py b/tests/release-fixtures/archive_builder.py
new file mode 100644
index 0000000..1a8e67c
--- /dev/null
+++ b/tests/release-fixtures/archive_builder.py
@@ -0,0 +1,187 @@
+"""Build synthetic MDFlux release archives for verifier tests."""
+
+from __future__ import annotations
+
+import io
+import shutil
+import sys
+import tarfile
+import zipfile
+from datetime import datetime, timezone
+from pathlib import Path
+
+REPO_ROOT = Path(__file__).resolve().parents[2]
+SIDECAR_SRC = REPO_ROOT / "app" / "src-tauri" / "resources" / "sidecar"
+FULL_LOCK = SIDECAR_SRC / "requirements-full.lock"
+
+
+def lock_sha256() -> str:
+ import hashlib
+
+ digest = hashlib.sha256()
+ with FULL_LOCK.open("rb") as handle:
+ for chunk in iter(lambda: handle.read(1024 * 1024), b""):
+ digest.update(chunk)
+ return digest.hexdigest()
+
+
+def edition_manifest(
+ *,
+ platform: str,
+ edition: str,
+ lock_checksum: str | None = None,
+ bad_checksum: bool = False,
+) -> dict:
+ checksum = lock_checksum or lock_sha256()
+ if bad_checksum:
+ checksum = "0" * 64
+ manifest = {
+ "schema": 1,
+ "edition": edition,
+ "app_version": "0.2.0-test",
+ "commit": "baseline000000",
+ "platform": platform,
+ "python_version": None,
+ "components": ["core"] if edition == "lite" else ["core", "ocr", "audio-runtime"],
+ "dependency_lock_sha256": checksum,
+ "built_at_utc": datetime.now(timezone.utc).replace(microsecond=0).isoformat().replace(
+ "+00:00", "Z"
+ ),
+ }
+ if edition == "full":
+ manifest["python_version"] = ".".join(map(str, sys.version_info[:3]))
+ return manifest
+
+
+def _copy_sidecar(dest: Path, *, include_main: bool = True) -> None:
+ dest.mkdir(parents=True, exist_ok=True)
+ for item in SIDECAR_SRC.iterdir():
+ if item.name == "tests":
+ continue
+ if not include_main and item.name == "main.py":
+ continue
+ target = dest / item.name
+ if item.is_dir():
+ if target.exists():
+ shutil.rmtree(target)
+ shutil.copytree(item, target)
+ else:
+ shutil.copy2(item, target)
+
+
+def _stage_common(
+ stage: Path,
+ *,
+ platform: str,
+ edition: str,
+ include_main: bool = True,
+ bad_checksum: bool = False,
+ include_runtime: bool | None = None,
+) -> None:
+ if include_runtime is None:
+ include_runtime = edition == "full"
+
+ resources = stage / "resources"
+ sidecar = resources / "sidecar"
+ _copy_sidecar(sidecar, include_main=include_main)
+
+ manifest = edition_manifest(
+ platform=platform,
+ edition=edition,
+ bad_checksum=bad_checksum,
+ )
+ (resources / "edition.json").write_text(
+ __import__("json").dumps(manifest, indent=2) + "\n",
+ encoding="utf-8",
+ )
+
+ if include_runtime:
+ if platform == "windows-x64":
+ runtime_python = resources / "runtime" / "python.exe"
+ else:
+ runtime_python = resources / "runtime" / "bin" / "python3"
+ runtime_python.parent.mkdir(parents=True, exist_ok=True)
+ runtime_python.parent.mkdir(parents=True, exist_ok=True)
+ if platform == "windows-x64":
+ shutil.copy2(Path(sys.executable), runtime_python)
+ else:
+ shutil.copy2(Path(sys.executable), runtime_python)
+ runtime_python.chmod(runtime_python.stat().st_mode | 0o111)
+
+ if platform == "windows-x64":
+ exe = stage / "MDFlux.exe"
+ exe.write_bytes(b"MZ-stub")
+ else:
+ exe = stage / "MDFlux"
+ exe.write_bytes(b"\x7fELF-stub")
+ exe.chmod(exe.stat().st_mode | 0o111)
+
+
+def build_zip(
+ output: Path,
+ *,
+ platform: str,
+ edition: str,
+ include_main: bool = True,
+ bad_checksum: bool = False,
+ include_runtime: bool | None = None,
+) -> Path:
+ stage = output.parent / f"_stage_{output.stem}"
+ if stage.exists():
+ shutil.rmtree(stage)
+ stage.mkdir(parents=True, exist_ok=True)
+ try:
+ _stage_common(
+ stage,
+ platform=platform,
+ edition=edition,
+ include_main=include_main,
+ bad_checksum=bad_checksum,
+ include_runtime=include_runtime,
+ )
+ with zipfile.ZipFile(output, "w", compression=zipfile.ZIP_DEFLATED) as zf:
+ for path in stage.rglob("*"):
+ if path.is_file():
+ zf.write(path, path.relative_to(stage).as_posix())
+ finally:
+ shutil.rmtree(stage, ignore_errors=True)
+ return output
+
+
+def build_tar_gz(
+ output: Path,
+ *,
+ platform: str,
+ edition: str,
+ include_main: bool = True,
+ bad_checksum: bool = False,
+ include_runtime: bool | None = None,
+) -> Path:
+ stage = output.parent / f"_stage_{output.stem}"
+ if stage.exists():
+ shutil.rmtree(stage)
+ stage.mkdir(parents=True, exist_ok=True)
+ try:
+ _stage_common(
+ stage,
+ platform=platform,
+ edition=edition,
+ include_main=include_main,
+ bad_checksum=bad_checksum,
+ include_runtime=include_runtime,
+ )
+ with tarfile.open(output, "w:gz") as tf:
+ for path in stage.rglob("*"):
+ if path.is_file():
+ tf.add(path, arcname=path.relative_to(stage).as_posix())
+ finally:
+ shutil.rmtree(stage, ignore_errors=True)
+ return output
+
+
+def build_traversal_zip(output: Path) -> Path:
+ output.parent.mkdir(parents=True, exist_ok=True)
+ with zipfile.ZipFile(output, "w") as zf:
+ zf.writestr("resources/edition.json", "{}")
+ zf.writestr("../../escape.txt", "bad")
+ return output
diff --git a/tests/release-fixtures/archives/.gitignore b/tests/release-fixtures/archives/.gitignore
new file mode 100644
index 0000000..d6b7ef3
--- /dev/null
+++ b/tests/release-fixtures/archives/.gitignore
@@ -0,0 +1,2 @@
+*
+!.gitignore
diff --git a/tests/release-fixtures/generate_samples.py b/tests/release-fixtures/generate_samples.py
new file mode 100644
index 0000000..89a16ea
--- /dev/null
+++ b/tests/release-fixtures/generate_samples.py
@@ -0,0 +1,230 @@
+"""Generate minimal conversion sample files for release verifier tests."""
+
+from __future__ import annotations
+
+import zipfile
+from pathlib import Path
+
+
+# Keep generated OOXML fixtures byte-for-byte stable across runs and machines.
+# These files are consumed as read-only verifier inputs; callers that want to
+# refresh an approved fixture must do so explicitly.
+_ZIP_EPOCH = (2020, 1, 1, 0, 0, 0)
+
+
+def write_text(path: Path, content: str) -> None:
+ path.parent.mkdir(parents=True, exist_ok=True)
+ path.write_text(content, encoding="utf-8")
+
+
+def write_pdf(path: Path) -> None:
+ path.parent.mkdir(parents=True, exist_ok=True)
+ content = b"BT /F1 12 Tf 20 100 Td (Hello PDF with enough embedded text for detection) Tj ET\n"
+ objects = (
+ b"<< /Type /Catalog /Pages 2 0 R >>",
+ b"<< /Type /Pages /Kids [3 0 R] /Count 1 >>",
+ b"<< /Type /Page /Parent 2 0 R /MediaBox [0 0 200 200] /Contents 4 0 R "
+ b"/Resources << /Font << /F1 5 0 R >> >> >> >>",
+ b"<< /Length " + str(len(content)).encode("ascii") + b" >>\nstream\n"
+ + content
+ + b"endstream",
+ b"<< /Type /Font /Subtype /Type1 /BaseFont /Helvetica >>",
+ )
+ pdf = bytearray(b"%PDF-1.4\n%\xe2\xe3\xcf\xd3\n")
+ offsets = [0]
+ for number, body in enumerate(objects, start=1):
+ offsets.append(len(pdf))
+ pdf.extend(f"{number} 0 obj\n".encode("ascii"))
+ pdf.extend(body)
+ pdf.extend(b"\nendobj\n")
+ xref_offset = len(pdf)
+ pdf.extend(f"xref\n0 {len(objects) + 1}\n".encode("ascii"))
+ pdf.extend(b"0000000000 65535 f \n")
+ for offset in offsets[1:]:
+ pdf.extend(f"{offset:010d} 00000 n \n".encode("ascii"))
+ pdf.extend(
+ f"trailer\n<< /Size {len(objects) + 1} /Root 1 0 R >>\n"
+ f"startxref\n{xref_offset}\n%%EOF\n".encode("ascii")
+ )
+ path.write_bytes(pdf)
+
+
+def _write_ooxml(path: Path, *, content_type: str, body_xml: str, rel_target: str) -> None:
+ path.parent.mkdir(parents=True, exist_ok=True)
+ content_types = (
+ '<?xml version="1.0" encoding="UTF-8"?>'
+ '<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">'
+ f'<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>'
+ f'<Default Extension="xml" ContentType="application/xml"/>'
+ f'<Override PartName="{rel_target}" ContentType="{content_type}"/>'
+ "</Types>"
+ )
+ rels = (
+ '<?xml version="1.0" encoding="UTF-8"?>'
+ '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">'
+ f'<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="{rel_target.lstrip("/")}"/>'
+ "</Relationships>"
+ )
+ with zipfile.ZipFile(path, "w", compression=zipfile.ZIP_STORED) as zf:
+ for name, payload in (
+ ("[Content_Types].xml", content_types),
+ ("_rels/.rels", rels),
+ (rel_target.lstrip("/"), body_xml),
+ ):
+ info = zipfile.ZipInfo(name, date_time=_ZIP_EPOCH)
+ info.compress_type = zipfile.ZIP_STORED
+ info.create_system = 0
+ info.external_attr = 0
+ zf.writestr(info, payload.encode("utf-8"))
+
+
+def write_docx(path: Path) -> None:
+ body = (
+ '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'
+ '<w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">'
+ "<w:body><w:p><w:r><w:t>Hello DOCX</w:t></w:r></w:p></w:body></w:document>"
+ )
+ _write_ooxml(
+ path,
+ content_type="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml",
+ body_xml=body,
+ rel_target="/word/document.xml",
+ )
+
+
+def write_pptx(path: Path) -> None:
+ path.parent.mkdir(parents=True, exist_ok=True)
+ content_types = (
+ '<?xml version="1.0" encoding="UTF-8"?>'
+ '<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">'
+ '<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>'
+ '<Default Extension="xml" ContentType="application/xml"/>'
+ '<Override PartName="/ppt/presentation.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml"/>'
+ '<Override PartName="/ppt/slides/slide1.xml" ContentType="application/vnd.openxmlformats-officedocument.presentationml.slide+xml"/>'
+ '</Types>'
+ )
+ package_rels = (
+ '<?xml version="1.0" encoding="UTF-8"?>'
+ '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">'
+ '<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="ppt/presentation.xml"/>'
+ '</Relationships>'
+ )
+ presentation = (
+ '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'
+ '<p:presentation xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" '
+ 'xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">'
+ '<p:sldIdLst><p:sldId id="256" r:id="rId1"/></p:sldIdLst>'
+ '<p:sldSz cx="9144000" cy="6858000"/><p:notesSz cx="6858000" cy="9144000"/>'
+ '</p:presentation>'
+ )
+ presentation_rels = (
+ '<?xml version="1.0" encoding="UTF-8"?>'
+ '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">'
+ '<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide" Target="slides/slide1.xml"/>'
+ '</Relationships>'
+ )
+ slide = (
+ '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'
+ '<p:sld xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" '
+ 'xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" '
+ 'xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main">'
+ '<p:cSld><p:spTree><p:nvGrpSpPr><p:cNvPr id="1" name=""/>'
+ '<p:cNvGrpSpPr/><p:nvPr/></p:nvGrpSpPr><p:grpSpPr/>'
+ '<p:sp><p:nvSpPr><p:cNvPr id="2" name="TextBox 1"/><p:cNvSpPr txBox="1"/>'
+ '<p:nvPr/></p:nvSpPr><p:spPr/><p:txBody><a:bodyPr/><a:lstStyle/>'
+ '<a:p><a:r><a:rPr lang="en-US"/><a:t>Hello PPTX</a:t></a:r></a:p>'
+ '</p:txBody></p:sp></p:spTree></p:cSld><p:clrMapOvr><a:masterClrMapping/>'
+ '</p:clrMapOvr></p:sld>'
+ )
+ with zipfile.ZipFile(path, "w", compression=zipfile.ZIP_STORED) as zf:
+ for name, payload in (
+ ("[Content_Types].xml", content_types),
+ ("_rels/.rels", package_rels),
+ ("ppt/presentation.xml", presentation),
+ ("ppt/_rels/presentation.xml.rels", presentation_rels),
+ ("ppt/slides/slide1.xml", slide),
+ ):
+ info = zipfile.ZipInfo(name, date_time=_ZIP_EPOCH)
+ info.compress_type = zipfile.ZIP_STORED
+ info.create_system = 0
+ info.external_attr = 0
+ zf.writestr(info, payload.encode("utf-8"))
+
+
+def write_xlsx(path: Path) -> None:
+ path.parent.mkdir(parents=True, exist_ok=True)
+ content_types = (
+ '<?xml version="1.0" encoding="UTF-8"?>'
+ '<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">'
+ '<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>'
+ '<Default Extension="xml" ContentType="application/xml"/>'
+ '<Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/>'
+ '<Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/>'
+ '</Types>'
+ )
+ package_rels = (
+ '<?xml version="1.0" encoding="UTF-8"?>'
+ '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">'
+ '<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/>'
+ '</Relationships>'
+ )
+ workbook = (
+ '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'
+ '<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" '
+ 'xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">'
+ '<sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets>'
+ '</workbook>'
+ )
+ workbook_rels = (
+ '<?xml version="1.0" encoding="UTF-8"?>'
+ '<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">'
+ '<Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/>'
+ '</Relationships>'
+ )
+ worksheet = (
+ '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'
+ '<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main">'
+ '<sheetData><row r="1"><c r="A1" t="inlineStr"><is><t>Hello XLSX</t></is></c></row></sheetData>'
+ "</worksheet>"
+ )
+ with zipfile.ZipFile(path, "w", compression=zipfile.ZIP_STORED) as zf:
+ for name, payload in (
+ ("[Content_Types].xml", content_types),
+ ("_rels/.rels", package_rels),
+ ("xl/workbook.xml", workbook),
+ ("xl/_rels/workbook.xml.rels", workbook_rels),
+ ("xl/worksheets/sheet1.xml", worksheet),
+ ):
+ info = zipfile.ZipInfo(name, date_time=_ZIP_EPOCH)
+ info.compress_type = zipfile.ZIP_STORED
+ info.create_system = 0
+ info.external_attr = 0
+ zf.writestr(info, payload.encode("utf-8"))
+
+
+def generate_all(output_dir: Path, *, overwrite: bool = False) -> None:
+ """Create fixtures explicitly, without mutating approved files by default."""
+
+ output_dir.mkdir(parents=True, exist_ok=True)
+
+ def target(name: str) -> Path:
+ path = output_dir / name
+ if path.exists() and not overwrite:
+ raise FileExistsError(
+ f"Refusing to overwrite approved fixture {path}; pass overwrite=True"
+ )
+ return path
+
+ write_text(target("sample.txt"), "Hello plain text fixture.\n")
+ write_text(
+ target("sample.html"),
+ "<!doctype html><html><body><p>Hello HTML</p></body></html>\n",
+ )
+ write_pdf(target("sample.pdf"))
+ write_docx(target("sample.docx"))
+ write_pptx(target("sample.pptx"))
+ write_xlsx(target("sample.xlsx"))
+
+
+if __name__ == "__main__":
+ generate_all(Path(__file__).resolve().parent / "samples")
diff --git a/tests/release-fixtures/samples/sample.docx b/tests/release-fixtures/samples/sample.docx
new file mode 100644
index 0000000..b72ffb3
Binary files /dev/null and b/tests/release-fixtures/samples/sample.docx differ
diff --git a/tests/release-fixtures/samples/sample.html b/tests/release-fixtures/samples/sample.html
new file mode 100644
index 0000000..2539347
--- /dev/null
+++ b/tests/release-fixtures/samples/sample.html
@@ -0,0 +1 @@
+<!doctype html><html><body><p>Hello HTML</p></body></html>
diff --git a/tests/release-fixtures/samples/sample.pdf b/tests/release-fixtures/samples/sample.pdf
new file mode 100644
index 0000000..9dad9ed
--- /dev/null
+++ b/tests/release-fixtures/samples/sample.pdf
@@ -0,0 +1,33 @@
+%PDF-1.4
+%����
+1 0 obj
+<< /Type /Catalog /Pages 2 0 R >>
+endobj
+2 0 obj
+<< /Type /Pages /Kids [3 0 R] /Count 1 >>
+endobj
+3 0 obj
+<< /Type /Page /Parent 2 0 R /MediaBox [0 0 200 200] /Contents 4 0 R /Resources << /Font << /F1 5 0 R >> >> >> >>
+endobj
+4 0 obj
+<< /Length 81 >>
+stream
+BT /F1 12 Tf 20 100 Td (Hello PDF with enough embedded text for detection) Tj ET
+endstream
+endobj
+5 0 obj
+<< /Type /Font /Subtype /Type1 /BaseFont /Helvetica >>
+endobj
+xref
+0 6
+0000000000 65535 f
+0000000015 00000 n
+0000000064 00000 n
+0000000121 00000 n
+0000000250 00000 n
+0000000380 00000 n
+trailer
+<< /Size 6 /Root 1 0 R >>
+startxref
+450
+%%EOF
diff --git a/tests/release-fixtures/samples/sample.pptx b/tests/release-fixtures/samples/sample.pptx
new file mode 100644
index 0000000..24c243b
Binary files /dev/null and b/tests/release-fixtures/samples/sample.pptx differ
diff --git a/tests/release-fixtures/samples/sample.txt b/tests/release-fixtures/samples/sample.txt
new file mode 100644
index 0000000..efaeac3
--- /dev/null
+++ b/tests/release-fixtures/samples/sample.txt
@@ -0,0 +1 @@
+Hello plain text fixture.
diff --git a/tests/release-fixtures/samples/sample.xlsx b/tests/release-fixtures/samples/sample.xlsx
new file mode 100644
index 0000000..2d1c38b
Binary files /dev/null and b/tests/release-fixtures/samples/sample.xlsx differ
diff --git a/tests/release-fixtures/test_verifier.py b/tests/release-fixtures/test_verifier.py
new file mode 100644
index 0000000..3e9501b
--- /dev/null
+++ b/tests/release-fixtures/test_verifier.py
@@ -0,0 +1,436 @@
+from __future__ import annotations
+
+import json
+import os
+import sys
+import tempfile
+import time
+import unittest
+import zipfile
+from pathlib import Path
+from unittest.mock import patch
+
+REPO_ROOT = Path(__file__).resolve().parents[2]
+FIXTURES_ROOT = Path(__file__).resolve().parent
+if str(REPO_ROOT) not in sys.path:
+ sys.path.insert(0, str(REPO_ROOT))
+if str(FIXTURES_ROOT) not in sys.path:
+ sys.path.insert(0, str(FIXTURES_ROOT))
+
+from archive_builder import ( # noqa: E402
+ build_tar_gz,
+ build_traversal_zip,
+ build_zip,
+)
+from tools.release.cleanup import safe_remove_tree # noqa: E402
+from tools.release.extract import extract_archive # noqa: E402
+from tools.release.manifest import validate_edition_manifest # noqa: E402
+from tools.release.models import CONVERSION_FIXTURES, CheckResult # noqa: E402
+from tools.release.paths import UnsafePathError # noqa: E402
+from tools.release.runtime_checks import _sidecar_request # noqa: E402
+from tools.release.verify import verify_archive # noqa: E402
+
+
+SAMPLES_DIR = FIXTURES_ROOT / "samples"
+ARCHIVES_DIR = FIXTURES_ROOT / "archives"
+
+
+def setUpModule() -> None:
+ # Approved samples are committed inputs. Tests must never regenerate them.
+ missing = [
+ name for name, _ in CONVERSION_FIXTURES if not (SAMPLES_DIR / name).is_file()
+ ]
+ if missing:
+ raise AssertionError(f"Missing committed verifier fixtures: {', '.join(missing)}")
+ ARCHIVES_DIR.mkdir(parents=True, exist_ok=True)
+
+
+class ApprovedFixtureTests(unittest.TestCase):
+ def test_pdf_startxref_points_to_xref_table(self) -> None:
+ data = (SAMPLES_DIR / "sample.pdf").read_bytes()
+ marker = b"startxref\n"
+ start = data.rindex(marker) + len(marker)
+ offset = int(data[start : data.index(b"\n", start)])
+ self.assertTrue(data[offset:].startswith(b"xref\n"))
+
+ def test_xlsx_contains_workbook_relationship_graph(self) -> None:
+ with zipfile.ZipFile(SAMPLES_DIR / "sample.xlsx") as archive:
+ self.assertTrue(
+ {
+ "xl/workbook.xml",
+ "xl/_rels/workbook.xml.rels",
+ "xl/worksheets/sheet1.xml",
+ }.issubset(archive.namelist())
+ )
+
+
+class ArchiveBuilderTests(unittest.TestCase):
+ @classmethod
+ def setUpClass(cls) -> None:
+ cls.lite_windows = build_zip(
+ ARCHIVES_DIR / "lite-windows-good.zip",
+ platform="windows-x64",
+ edition="lite",
+ )
+ cls.full_windows = build_zip(
+ ARCHIVES_DIR / "full-windows-good.zip",
+ platform="windows-x64",
+ edition="full",
+ )
+ cls.lite_linux = build_tar_gz(
+ ARCHIVES_DIR / "lite-linux-good.tar.gz",
+ platform="linux-x64-glibc",
+ edition="lite",
+ )
+ cls.full_linux = build_tar_gz(
+ ARCHIVES_DIR / "full-linux-good.tar.gz",
+ platform="linux-x64-glibc",
+ edition="full",
+ )
+ cls.bad_checksum = build_zip(
+ ARCHIVES_DIR / "lite-windows-bad-checksum.zip",
+ platform="windows-x64",
+ edition="lite",
+ bad_checksum=True,
+ )
+ cls.missing_sidecar = build_zip(
+ ARCHIVES_DIR / "lite-windows-missing-sidecar.zip",
+ platform="windows-x64",
+ edition="lite",
+ include_main=False,
+ )
+ cls.lite_with_runtime = build_zip(
+ ARCHIVES_DIR / "lite-windows-with-runtime.zip",
+ platform="windows-x64",
+ edition="lite",
+ include_runtime=True,
+ )
+ cls.full_missing_python = build_zip(
+ ARCHIVES_DIR / "full-windows-missing-python.zip",
+ platform="windows-x64",
+ edition="full",
+ include_runtime=False,
+ )
+ cls.traversal = build_traversal_zip(
+ ARCHIVES_DIR / "traversal.zip",
+ )
+
+ def setUp(self) -> None:
+ # Archive fixtures exercise extraction, layout, manifest, checksum,
+ # reporting, and cleanup. Native sidecar conversions are release-host
+ # integration checks and must not make this deterministic unit suite
+ # depend on the developer machine's Python environment.
+ runtime_checks = patch.multiple(
+ "tools.release.verify",
+ snapshot_provisioning=lambda _platform: {},
+ verify_bundled_python_version=lambda *_args, **_kwargs: CheckResult(
+ "bundled-python-version", True, "test runtime"
+ ),
+ verify_full_imports=lambda *_args, **_kwargs: CheckResult(
+ "full-runtime-imports", True, "test imports"
+ ),
+ verify_sidecar_health=lambda *_args, **_kwargs: CheckResult(
+ "sidecar-health", True, "test sidecar"
+ ),
+ verify_conversions=lambda *_args, **_kwargs: [
+ CheckResult(f"conversion-{ext}", True, f"{name}: test conversion")
+ for name, ext in CONVERSION_FIXTURES
+ ],
+ verify_no_full_provisioning=lambda *_args, **_kwargs: CheckResult(
+ "full-no-provisioning", True, "test provisioning snapshot"
+ ),
+ )
+ runtime_checks.start()
+ self.addCleanup(runtime_checks.stop)
+
+
+class StructuralVerificationTests(ArchiveBuilderTests):
+ def test_lite_windows_passes_layout(self) -> None:
+ report = verify_archive(
+ self.lite_windows,
+ platform="windows-x64",
+ edition="lite",
+ fixtures_dir=SAMPLES_DIR,
+ )
+ layout_checks = {
+ check.name: check.passed
+ for check in report.checks
+ if check.name
+ in {
+ "executable-present",
+ "edition-manifest-present",
+ "sidecar-present",
+ "lite-no-bundled-runtime",
+ "dependency-lock-checksum",
+ }
+ }
+ self.assertTrue(layout_checks["executable-present"])
+ self.assertTrue(layout_checks["edition-manifest-present"])
+ self.assertTrue(layout_checks["sidecar-present"])
+ self.assertTrue(layout_checks["lite-no-bundled-runtime"])
+ self.assertTrue(layout_checks["dependency-lock-checksum"])
+
+ def test_full_windows_requires_bundled_python(self) -> None:
+ report = verify_archive(
+ self.full_windows,
+ platform="windows-x64",
+ edition="full",
+ fixtures_dir=SAMPLES_DIR,
+ )
+ by_name = {check.name: check for check in report.checks}
+ self.assertTrue(by_name["full-bundled-python"].passed)
+ self.assertEqual(
+ by_name["edition-manifest-edition"].detail,
+ "edition=full",
+ )
+
+ def test_lite_linux_tarball_layout(self) -> None:
+ report = verify_archive(
+ self.lite_linux,
+ platform="linux-x64-glibc",
+ edition="lite",
+ fixtures_dir=SAMPLES_DIR,
+ )
+ by_name = {check.name: check for check in report.checks}
+ self.assertTrue(by_name["archive-extract"].passed)
+ self.assertTrue(by_name["executable-present"].passed)
+ self.assertTrue(by_name["lite-no-bundled-runtime"].passed)
+
+ def test_bad_checksum_fails(self) -> None:
+ report = verify_archive(
+ self.bad_checksum,
+ platform="windows-x64",
+ edition="lite",
+ fixtures_dir=SAMPLES_DIR,
+ )
+ by_name = {check.name: check for check in report.checks}
+ self.assertFalse(by_name["dependency-lock-checksum"].passed)
+ self.assertFalse(report.passed)
+
+ def test_missing_sidecar_fails(self) -> None:
+ report = verify_archive(
+ self.missing_sidecar,
+ platform="windows-x64",
+ edition="lite",
+ fixtures_dir=SAMPLES_DIR,
+ )
+ by_name = {check.name: check for check in report.checks}
+ self.assertFalse(by_name["sidecar-present"].passed)
+ self.assertFalse(report.passed)
+
+ def test_lite_with_runtime_fails(self) -> None:
+ report = verify_archive(
+ self.lite_with_runtime,
+ platform="windows-x64",
+ edition="lite",
+ fixtures_dir=SAMPLES_DIR,
+ )
+ by_name = {check.name: check for check in report.checks}
+ self.assertFalse(by_name["lite-no-bundled-runtime"].passed)
+
+ def test_full_missing_interpreter_fails(self) -> None:
+ report = verify_archive(
+ self.full_missing_python,
+ platform="windows-x64",
+ edition="full",
+ fixtures_dir=SAMPLES_DIR,
+ )
+ by_name = {check.name: check for check in report.checks}
+ self.assertFalse(by_name["full-bundled-python"].passed)
+
+
+class ExtractionSafetyTests(ArchiveBuilderTests):
+ def test_path_traversal_is_rejected(self) -> None:
+ with tempfile.TemporaryDirectory() as tmp:
+ with self.assertRaises(UnsafePathError):
+ extract_archive(self.traversal, Path(tmp) / "extract")
+
+ def test_cleanup_refuses_outside_allowed_root(self) -> None:
+ with tempfile.TemporaryDirectory() as tmp:
+ allowed_root = Path(tmp) / "allowed"
+ outside = Path(tmp) / "outside"
+ allowed_root.mkdir()
+ outside.mkdir()
+ marker = outside / "do-not-delete"
+ marker.write_text("stay", encoding="utf-8")
+ with self.assertRaises(UnsafePathError):
+ safe_remove_tree(outside, [allowed_root.resolve()])
+ self.assertTrue(marker.exists())
+
+ def test_cleanup_retries_transient_windows_file_lock(self) -> None:
+ with tempfile.TemporaryDirectory() as tmp:
+ allowed_root = Path(tmp)
+ target = allowed_root / "extract"
+ target.mkdir()
+ transient_lock = PermissionError(5, "Access is denied", "libcrypto.dll")
+ with (
+ patch(
+ "tools.release.cleanup.shutil.rmtree",
+ side_effect=[transient_lock, transient_lock, None],
+ ) as remove_tree,
+ patch("tools.release.cleanup.time.sleep") as sleep,
+ ):
+ safe_remove_tree(
+ target,
+ [allowed_root.resolve()],
+ attempts=3,
+ initial_delay=0.25,
+ )
+
+ self.assertEqual(remove_tree.call_count, 3)
+ self.assertEqual(
+ [entry.args[0] for entry in sleep.call_args_list],
+ [0.25, 0.5],
+ )
+
+
+class ManifestTests(unittest.TestCase):
+ def test_invalid_platform_in_manifest(self) -> None:
+ manifest = {
+ "schema": 1,
+ "edition": "lite",
+ "app_version": "0.2.0",
+ "commit": "abc1234",
+ "platform": "windows-x64",
+ "python_version": None,
+ "components": ["core"],
+ "dependency_lock_sha256": "a" * 64,
+ "built_at_utc": "2026-08-22T12:00:00Z",
+ }
+ checks = validate_edition_manifest(
+ manifest,
+ expected_platform="linux-x64-glibc",
+ expected_edition="lite",
+ )
+ self.assertFalse(any(check.name == "edition-manifest-platform" and check.passed for check in checks))
+
+
+class SidecarIpcTests(unittest.TestCase):
+ def test_request_keeps_stdin_open_for_async_response(self) -> None:
+ with tempfile.TemporaryDirectory() as tmp:
+ sidecar_dir = Path(tmp)
+ (sidecar_dir / "main.py").write_text(
+ "import asyncio, json, sys\n"
+ "async def main():\n"
+ " loop = asyncio.get_running_loop()\n"
+ " request = json.loads(await loop.run_in_executor(None, sys.stdin.readline))\n"
+ " async def respond():\n"
+ " await asyncio.sleep(0.1)\n"
+ " print(json.dumps({'id': request['id'], 'ok': True, 'result': {}}), flush=True)\n"
+ " asyncio.create_task(respond())\n"
+ " await loop.run_in_executor(None, sys.stdin.readline)\n"
+ "asyncio.run(main())\n",
+ encoding="utf-8",
+ )
+ response, error = _sidecar_request(
+ Path(sys.executable),
+ sidecar_dir,
+ {"id": "async-ipc", "method": "convert-one", "params": {}},
+ timeout=5,
+ )
+ self.assertEqual(error, "")
+ self.assertTrue(response and response.get("ok"))
+
+ def test_request_skips_logs_and_stops_persistent_sidecar(self) -> None:
+ with tempfile.TemporaryDirectory() as tmp:
+ sidecar_dir = Path(tmp)
+ (sidecar_dir / "main.py").write_text(
+ "import json, sys, time\n"
+ "request = json.loads(sys.stdin.readline())\n"
+ "print('sidecar startup log', flush=True)\n"
+ "print(json.dumps({'id': request['id'], 'ok': True, 'result': {}}), flush=True)\n"
+ "time.sleep(60)\n",
+ encoding="utf-8",
+ )
+ started = time.monotonic()
+ response, error = _sidecar_request(
+ Path(sys.executable),
+ sidecar_dir,
+ {"id": "bounded-ipc", "method": "health", "params": {}},
+ timeout=5,
+ )
+ self.assertEqual(error, "")
+ self.assertTrue(response and response.get("ok"))
+ self.assertLess(time.monotonic() - started, 5)
+
+ def test_request_stops_sidecar_descendants(self) -> None:
+ with tempfile.TemporaryDirectory() as tmp:
+ sidecar_dir = Path(tmp)
+ (sidecar_dir / "main.py").write_text(
+ "import json, pathlib, subprocess, sys\n"
+ "request = json.loads(sys.stdin.readline())\n"
+ "child = subprocess.Popen([sys.executable, '-c', 'import time; time.sleep(60)'])\n"
+ "pathlib.Path('child.pid').write_text(str(child.pid), encoding='ascii')\n"
+ "print(json.dumps({'id': request['id'], 'ok': True, 'result': {}}), flush=True)\n"
+ "sys.stdin.readline()\n",
+ encoding="utf-8",
+ )
+ response, error = _sidecar_request(
+ Path(sys.executable),
+ sidecar_dir,
+ {"id": "tree-ipc", "method": "convert-one", "params": {}},
+ timeout=5,
+ )
+ self.assertEqual(error, "")
+ self.assertTrue(response and response.get("ok"))
+ child_pid = int((sidecar_dir / "child.pid").read_text(encoding="ascii"))
+ for _ in range(20):
+ try:
+ os.kill(child_pid, 0)
+ except OSError:
+ break
+ time.sleep(0.05)
+ else:
+ self.fail(f"Sidecar descendant {child_pid} was left running")
+
+
+class ReportTests(ArchiveBuilderTests):
+ def test_json_report_shape(self) -> None:
+ report = verify_archive(
+ self.lite_windows,
+ platform="windows-x64",
+ edition="lite",
+ fixtures_dir=SAMPLES_DIR,
+ )
+ payload = report.to_dict()
+ self.assertEqual(payload["platform"], "windows-x64")
+ self.assertEqual(payload["edition"], "lite")
+ self.assertEqual(payload["archive"], self.lite_windows.name)
+ self.assertIsNone(payload["extract_dir"])
+ self.assertIn("checks", payload)
+ self.assertTrue(isinstance(payload["checks"], list))
+ serialized = json.dumps(payload)
+ self.assertNotIn(str(self.lite_windows.parent), serialized)
+ self.assertNotIn(str(SAMPLES_DIR), serialized)
+
+ def test_cli_json_out(self) -> None:
+ import io
+ from contextlib import redirect_stdout
+
+ from tools.release.verify import main
+
+ with tempfile.TemporaryDirectory() as tmp:
+ json_out = Path(tmp) / "report.json"
+ with redirect_stdout(io.StringIO()):
+ code = main(
+ [
+ "--archive",
+ str(self.lite_windows),
+ "--platform",
+ "windows-x64",
+ "--edition",
+ "lite",
+ "--fixtures-dir",
+ str(SAMPLES_DIR),
+ "--json-out",
+ str(json_out),
+ ]
+ )
+ self.assertIn(code, (0, 1))
+ data = json.loads(json_out.read_text(encoding="utf-8"))
+ self.assertEqual(data["archive"], self.lite_windows.name)
+ self.assertIsNone(data["extract_dir"])
+
+
+if __name__ == "__main__":
+ unittest.main()
diff --git a/tools/dependencies/check.py b/tools/dependencies/check.py
new file mode 100644
index 0000000..87c1c68
--- /dev/null
+++ b/tools/dependencies/check.py
@@ -0,0 +1,148 @@
+#!/usr/bin/env python3
+"""Validate that all feature exports are constrained by the canonical Full lock."""
+
+from __future__ import annotations
+
+import argparse
+import hashlib
+import re
+import sys
+from dataclasses import dataclass
+from pathlib import Path
+
+
+LOCK_LINE = re.compile(r"^([A-Za-z0-9_.-]+)==([^\s;\\]+)")
+HASH_LINE = re.compile(r"^\s*--hash=sha256:([0-9a-f]{64})\s*\\?$")
+INPUT_NAME = re.compile(r"^([A-Za-z0-9_.-]+)(?:\[[^]]+\])?(?:[<>=!~].*)?$")
+
+
+@dataclass(frozen=True)
+class LockedPackage:
+ version: str
+ hashes: frozenset[str]
+
+
+def normalized(name: str) -> str:
+ return re.sub(r"[-_.]+", "-", name).lower()
+
+
+def parse_lock(path: Path) -> dict[str, LockedPackage]:
+ packages: dict[str, LockedPackage] = {}
+ current_name: str | None = None
+ current_version: str | None = None
+ current_hashes: set[str] = set()
+
+ def finish() -> None:
+ if current_name is None or current_version is None:
+ return
+ if not current_hashes:
+ raise ValueError(f"{path}: {current_name} has no hashes")
+ key = normalized(current_name)
+ if key in packages:
+ raise ValueError(f"{path}: duplicate package {current_name}")
+ packages[key] = LockedPackage(current_version, frozenset(current_hashes))
+
+ for line in path.read_text(encoding="utf-8").splitlines():
+ match = LOCK_LINE.match(line)
+ if match:
+ finish()
+ current_name, current_version = match.groups()
+ current_hashes = set()
+ continue
+ hash_match = HASH_LINE.match(line)
+ if hash_match and current_name is not None:
+ current_hashes.add(hash_match.group(1))
+ finish()
+ if not packages:
+ raise ValueError(f"{path}: no locked packages found")
+ return packages
+
+
+def direct_requirements(path: Path) -> set[str]:
+ result: set[str] = set()
+ for raw in path.read_text(encoding="utf-8").splitlines():
+ line = raw.strip()
+ if not line or line.startswith("#") or line.startswith("-r "):
+ continue
+ match = INPUT_NAME.match(line)
+ if not match:
+ raise ValueError(f"{path}: unsupported input line {line!r}")
+ result.add(normalized(match.group(1)))
+ return result
+
+
+def check(sidecar: Path) -> list[str]:
+ errors: list[str] = []
+ full_input = sidecar / "requirements-full.in"
+ full_lock = sidecar / "requirements-full.lock"
+ expected_refs = {"-r requirements.txt", "-r requirements-ocr.in", "-r requirements-audio.in"}
+ actual_refs = {
+ line.strip()
+ for line in full_input.read_text(encoding="utf-8").splitlines()
+ if line.strip().startswith("-r ")
+ }
+ if actual_refs != expected_refs:
+ errors.append(
+ f"{full_input}: expected only {sorted(expected_refs)}, found {sorted(actual_refs)}"
+ )
+
+ full_header = full_lock.read_text(encoding="utf-8").splitlines()[:2]
+ header = "\n".join(full_header)
+ for required in ("requirements-full.in", "--universal", "--python-version 3.12", "--generate-hashes", "--only-binary :all:"):
+ if required not in header:
+ errors.append(f"{full_lock}: missing regeneration option {required}")
+
+ canonical = parse_lock(full_lock)
+ exports = {
+ "core": (sidecar / "requirements.txt", sidecar / "requirements.lock"),
+ "ocr": (sidecar / "requirements-ocr.in", sidecar / "requirements-ocr.lock"),
+ "audio": (sidecar / "requirements-audio.in", sidecar / "requirements-audio.lock"),
+ }
+ for feature, (input_path, export_path) in exports.items():
+ export = parse_lock(export_path)
+ missing_direct = direct_requirements(input_path) - set(export)
+ if missing_direct:
+ errors.append(f"{feature}: direct requirements absent from export: {sorted(missing_direct)}")
+ for name, package in export.items():
+ expected = canonical.get(name)
+ if expected is None:
+ errors.append(f"{feature}: {name} is absent from canonical Full lock")
+ continue
+ if package.version != expected.version:
+ errors.append(
+ f"{feature}: {name}=={package.version} differs from canonical {expected.version}"
+ )
+ if not package.hashes <= expected.hashes:
+ errors.append(f"{feature}: {name} contains a hash absent from canonical Full lock")
+
+ export_header = "\n".join(export_path.read_text(encoding="utf-8").splitlines()[:2])
+ if "--constraint requirements-full.lock" not in export_header:
+ errors.append(f"{export_path}: must be generated with requirements-full.lock as a constraint")
+ return errors
+
+
+def main() -> int:
+ parser = argparse.ArgumentParser(description=__doc__)
+ parser.add_argument(
+ "--sidecar-dir",
+ type=Path,
+ default=Path(__file__).resolve().parents[2] / "app/src-tauri/resources/sidecar",
+ )
+ args = parser.parse_args()
+ sidecar = args.sidecar_dir.resolve()
+ try:
+ errors = check(sidecar)
+ except (OSError, ValueError) as exc:
+ print(f"dependency graph check failed: {exc}", file=sys.stderr)
+ return 1
+ if errors:
+ print("dependency graph drift detected:", file=sys.stderr)
+ print("\n".join(f"- {error}" for error in errors), file=sys.stderr)
+ return 1
+ digest = hashlib.sha256((sidecar / "requirements-full.lock").read_bytes()).hexdigest()
+ print(f"dependency graph OK; requirements-full.lock sha256={digest}")
+ return 0
+
+
+if __name__ == "__main__":
+ raise SystemExit(main())
diff --git a/tools/dependencies/check_wheels.py b/tools/dependencies/check_wheels.py
new file mode 100644
index 0000000..0db63cf
--- /dev/null
+++ b/tools/dependencies/check_wheels.py
@@ -0,0 +1,110 @@
+#!/usr/bin/env python3
+"""Verify PyPI wheel availability for native packages in the canonical Full lock."""
+
+from __future__ import annotations
+
+import argparse
+import hashlib
+import json
+import re
+import sys
+import urllib.error
+import urllib.request
+from pathlib import Path
+
+
+LOCK_LINE = re.compile(r"^([A-Za-z0-9_.-]+)==([^\s;\\]+)")
+
+
+def locked_packages(path: Path) -> dict[str, str]:
+ packages: dict[str, str] = {}
+ for line in path.read_text(encoding="utf-8").splitlines():
+ match = LOCK_LINE.match(line)
+ if match:
+ packages[match.group(1)] = match.group(2)
+ if not packages:
+ raise ValueError(f"no packages found in {path}")
+ return packages
+
+
+def is_native(filename: str) -> bool:
+ return filename.endswith(".whl") and not filename.endswith("-none-any.whl")
+
+
+def supports_windows(filename: str) -> bool:
+ return filename.endswith(".whl") and "win_amd64" in filename and (
+ "cp312" in filename or "abi3" in filename or "-none-win_amd64" in filename
+ )
+
+
+def supports_manylinux(filename: str) -> bool:
+ return filename.endswith(".whl") and "manylinux" in filename and "x86_64" in filename and (
+ "cp312" in filename or "abi3" in filename or "-none-manylinux" in filename
+ )
+
+
+def release_files(name: str, version: str) -> list[str]:
+ url = f"https://pypi.org/pypi/{name}/{version}/json"
+ try:
+ with urllib.request.urlopen(url, timeout=30) as response:
+ payload = json.load(response)
+ except (urllib.error.URLError, urllib.error.HTTPError, json.JSONDecodeError) as exc:
+ raise RuntimeError(f"{name}=={version}: could not read PyPI metadata: {exc}") from exc
+ urls = payload.get("urls")
+ if not isinstance(urls, list):
+ raise RuntimeError(f"{name}=={version}: PyPI metadata has no release files")
+ return [item.get("filename", "") for item in urls if isinstance(item, dict)]
+
+
+def main() -> int:
+ parser = argparse.ArgumentParser(description=__doc__)
+ parser.add_argument(
+ "--lock",
+ type=Path,
+ default=Path(__file__).resolve().parents[2] / "app/src-tauri/resources/sidecar/requirements-full.lock",
+ )
+ parser.add_argument("--report", type=Path, required=True)
+ args = parser.parse_args()
+
+ try:
+ packages = locked_packages(args.lock)
+ native: list[dict[str, object]] = []
+ unsupported: list[dict[str, object]] = []
+ for name, version in sorted(packages.items(), key=lambda item: item[0].lower()):
+ files = release_files(name, version)
+ native_files = [filename for filename in files if is_native(filename)]
+ if not native_files:
+ continue
+ windows = [filename for filename in native_files if supports_windows(filename)]
+ manylinux = [filename for filename in native_files if supports_manylinux(filename)]
+ record: dict[str, object] = {
+ "name": name,
+ "version": version,
+ "windows_x64": windows,
+ "manylinux_x64": manylinux,
+ }
+ native.append(record)
+ if not windows or not manylinux:
+ unsupported.append(record)
+ except (OSError, ValueError, RuntimeError) as exc:
+ print(f"wheel check failed: {exc}", file=sys.stderr)
+ return 1
+
+ report = {
+ "schema": 1,
+ "lock_sha256": hashlib.sha256(args.lock.read_bytes()).hexdigest(),
+ "targets": ["windows-x64", "linux-x64-glibc"],
+ "native_packages": native,
+ "unsupported": unsupported,
+ }
+ args.report.parent.mkdir(parents=True, exist_ok=True)
+ args.report.write_text(json.dumps(report, indent=2, sort_keys=True) + "\n", encoding="utf-8")
+ if unsupported:
+ print(f"wheel check found {len(unsupported)} unsupported native package(s)", file=sys.stderr)
+ return 1
+ print(f"wheel check OK; {len(native)} native packages support Windows x64 and manylinux x64")
+ return 0
+
+
+if __name__ == "__main__":
+ raise SystemExit(main())
diff --git a/tools/dependencies/wheel-report.json b/tools/dependencies/wheel-report.json
new file mode 100644
index 0000000..c680622
--- /dev/null
+++ b/tools/dependencies/wheel-report.json
@@ -0,0 +1,231 @@
+{
+ "lock_sha256": "43d6cb94dd53a23ed706d9c8bf86951f77b949f64cc901eec7bce820612d3157",
+ "native_packages": [
+ {
+ "manylinux_x64": [
+ "av-18.1.0-cp311-abi3-manylinux_2_28_x86_64.whl"
+ ],
+ "name": "av",
+ "version": "18.1.0",
+ "windows_x64": [
+ "av-18.1.0-cp311-abi3-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "cffi-2.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl"
+ ],
+ "name": "cffi",
+ "version": "2.1.1",
+ "windows_x64": [
+ "cffi-2.1.1-cp312-cp312-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "charset_normalizer-3.5.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl",
+ "charset_normalizer-3.5.1-cp37-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl"
+ ],
+ "name": "charset-normalizer",
+ "version": "3.5.1",
+ "windows_x64": [
+ "charset_normalizer-3.5.1-cp312-cp312-win_amd64.whl",
+ "charset_normalizer-3.5.1-cp37-abi3-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "cryptography-50.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
+ "cryptography-50.0.0-cp311-abi3-manylinux_2_28_x86_64.whl",
+ "cryptography-50.0.0-cp311-abi3-manylinux_2_34_x86_64.whl",
+ "cryptography-50.0.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
+ "cryptography-50.0.0-cp39-abi3-manylinux_2_28_x86_64.whl",
+ "cryptography-50.0.0-cp39-abi3-manylinux_2_34_x86_64.whl"
+ ],
+ "name": "cryptography",
+ "version": "50.0.0",
+ "windows_x64": [
+ "cryptography-50.0.0-cp311-abi3-win_amd64.whl",
+ "cryptography-50.0.0-cp39-abi3-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "ctranslate2-4.8.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl"
+ ],
+ "name": "ctranslate2",
+ "version": "4.8.1",
+ "windows_x64": [
+ "ctranslate2-4.8.1-cp312-cp312-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "hf_xet-1.6.0-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl"
+ ],
+ "name": "hf-xet",
+ "version": "1.6.0",
+ "windows_x64": [
+ "hf_xet-1.6.0-cp38-abi3-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "jiter-0.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
+ ],
+ "name": "jiter",
+ "version": "0.16.0",
+ "windows_x64": [
+ "jiter-0.16.0-cp312-cp312-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "lxml-6.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
+ "lxml-6.1.2-cp312-cp312-manylinux_2_26_x86_64.manylinux_2_28_x86_64.whl"
+ ],
+ "name": "lxml",
+ "version": "6.1.2",
+ "windows_x64": [
+ "lxml-6.1.2-cp312-cp312-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "magika-0.6.2-py3-none-manylinux_2_28_x86_64.whl"
+ ],
+ "name": "magika",
+ "version": "0.6.2",
+ "windows_x64": [
+ "magika-0.6.2-py3-none-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "numpy-2.5.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl"
+ ],
+ "name": "numpy",
+ "version": "2.5.2",
+ "windows_x64": [
+ "numpy-2.5.2-cp312-cp312-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "onnxruntime-1.29.0-cp312-cp312-manylinux_2_28_x86_64.whl"
+ ],
+ "name": "onnxruntime",
+ "version": "1.29.0",
+ "windows_x64": [
+ "onnxruntime-1.29.0-cp312-cp312-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "opencv_python-5.0.0.93-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl",
+ "opencv_python-5.0.0.93-cp37-abi3-manylinux_2_28_x86_64.whl"
+ ],
+ "name": "opencv-python",
+ "version": "5.0.0.93",
+ "windows_x64": [
+ "opencv_python-5.0.0.93-cp37-abi3-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "pandas-3.0.5-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl"
+ ],
+ "name": "pandas",
+ "version": "3.0.5",
+ "windows_x64": [
+ "pandas-3.0.5-cp312-cp312-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "pillow-12.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl"
+ ],
+ "name": "pillow",
+ "version": "12.3.0",
+ "windows_x64": [
+ "pillow-12.3.0-cp312-cp312-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "protobuf-7.36.0-cp310-abi3-manylinux2014_x86_64.whl"
+ ],
+ "name": "protobuf",
+ "version": "7.36.0",
+ "windows_x64": [
+ "protobuf-7.36.0-cp310-abi3-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "pyclipper-1.4.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl"
+ ],
+ "name": "pyclipper",
+ "version": "1.4.0",
+ "windows_x64": [
+ "pyclipper-1.4.0-cp312-cp312-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
+ ],
+ "name": "pydantic-core",
+ "version": "2.46.4",
+ "windows_x64": [
+ "pydantic_core-2.46.4-cp312-cp312-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "pypdfium2-5.13.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
+ ],
+ "name": "pypdfium2",
+ "version": "5.13.0",
+ "windows_x64": [
+ "pypdfium2-5.13.0-py3-none-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl"
+ ],
+ "name": "pyyaml",
+ "version": "6.0.3",
+ "windows_x64": [
+ "pyyaml-6.0.3-cp312-cp312-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "shapely-2.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl"
+ ],
+ "name": "shapely",
+ "version": "2.1.2",
+ "windows_x64": [
+ "shapely-2.1.2-cp312-cp312-win_amd64.whl"
+ ]
+ },
+ {
+ "manylinux_x64": [
+ "tokenizers-0.23.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"
+ ],
+ "name": "tokenizers",
+ "version": "0.23.1",
+ "windows_x64": [
+ "tokenizers-0.23.1-cp310-abi3-win_amd64.whl"
+ ]
+ }
+ ],
+ "schema": 1,
+ "targets": [
+ "windows-x64",
+ "linux-x64-glibc"
+ ],
+ "unsupported": []
+}
diff --git a/tools/release/__init__.py b/tools/release/__init__.py
new file mode 100644
index 0000000..b9a3172
--- /dev/null
+++ b/tools/release/__init__.py
@@ -0,0 +1,3 @@
+"""Cross-platform MDFlux release archive verifier."""
+
+__all__ = ["verify"]
diff --git a/tools/release/__main__.py b/tools/release/__main__.py
new file mode 100644
index 0000000..a03e4af
--- /dev/null
+++ b/tools/release/__main__.py
@@ -0,0 +1,4 @@
+from .verify import main
+
+if __name__ == "__main__":
+ raise SystemExit(main())
diff --git a/tools/release/checksum.py b/tools/release/checksum.py
new file mode 100644
index 0000000..312d503
--- /dev/null
+++ b/tools/release/checksum.py
@@ -0,0 +1,41 @@
+from __future__ import annotations
+
+import hashlib
+from pathlib import Path
+
+from .models import CheckResult
+
+
+def sha256_file(path: Path) -> str:
+ digest = hashlib.sha256()
+ with path.open("rb") as handle:
+ for chunk in iter(lambda: handle.read(1024 * 1024), b""):
+ digest.update(chunk)
+ return digest.hexdigest()
+
+
+def verify_dependency_lock_checksum(
+ root: Path,
+ manifest: dict,
+) -> CheckResult:
+ lock_path = root / "resources" / "sidecar" / "requirements-full.lock"
+ expected = manifest.get("dependency_lock_sha256")
+ if not lock_path.is_file():
+ return CheckResult(
+ "dependency-lock-present",
+ False,
+ "Missing resources/sidecar/requirements-full.lock",
+ )
+
+ actual = sha256_file(lock_path)
+ if expected != actual:
+ return CheckResult(
+ "dependency-lock-checksum",
+ False,
+ f"Checksum mismatch: manifest={expected}, actual={actual}",
+ )
+ return CheckResult(
+ "dependency-lock-checksum",
+ True,
+ actual,
+ )
diff --git a/tools/release/cleanup.py b/tools/release/cleanup.py
new file mode 100644
index 0000000..d5bfc86
--- /dev/null
+++ b/tools/release/cleanup.py
@@ -0,0 +1,50 @@
+from __future__ import annotations
+
+import os
+import shutil
+import stat
+import time
+from pathlib import Path
+
+from .paths import UnsafePathError, assert_safe_cleanup_target, resolve
+
+
+def _remove_readonly(func, path, exc_info) -> None: # noqa: ANN001
+ exc = exc_info[1]
+ if isinstance(exc, PermissionError):
+ os.chmod(path, stat.S_IWUSR | stat.S_IREAD)
+ func(path)
+ return
+ raise exc
+
+
+def safe_remove_tree(
+ target: Path,
+ allowed_roots: list[Path],
+ *,
+ attempts: int = 8,
+ initial_delay: float = 0.25,
+) -> None:
+ resolved = assert_safe_cleanup_target(target, allowed_roots)
+ if attempts < 1:
+ raise ValueError("Cleanup attempts must be at least 1")
+
+ delay = initial_delay
+ for attempt in range(attempts):
+ if not resolved.exists():
+ return
+ try:
+ if resolved.is_dir():
+ shutil.rmtree(resolved, onerror=_remove_readonly)
+ else:
+ try:
+ resolved.unlink()
+ except PermissionError:
+ os.chmod(resolved, stat.S_IWUSR | stat.S_IREAD)
+ resolved.unlink()
+ return
+ except PermissionError:
+ if attempt == attempts - 1:
+ raise
+ time.sleep(delay)
+ delay = min(delay * 2, 2.0)
diff --git a/tools/release/extract.py b/tools/release/extract.py
new file mode 100644
index 0000000..08b2e9c
--- /dev/null
+++ b/tools/release/extract.py
@@ -0,0 +1,59 @@
+from __future__ import annotations
+
+import tarfile
+import zipfile
+from pathlib import Path
+
+from .paths import UnsafePathError, assert_within, resolve
+
+
+def _safe_extract_zip(archive: Path, destination: Path) -> None:
+ destination.mkdir(parents=True, exist_ok=True)
+ with zipfile.ZipFile(archive) as zf:
+ for info in zf.infolist():
+ member_path = Path(info.filename)
+ if member_path.is_absolute() or ".." in member_path.parts:
+ raise UnsafePathError(
+ f"Archive entry escapes destination: {info.filename}"
+ )
+ target = destination / member_path
+ assert_within(target, destination, label="Archive entry")
+ if info.is_dir() or info.filename.endswith("/"):
+ target.mkdir(parents=True, exist_ok=True)
+ continue
+ target.parent.mkdir(parents=True, exist_ok=True)
+ with zf.open(info) as src, target.open("wb") as dst:
+ dst.write(src.read())
+
+
+def _safe_extract_tar(archive: Path, destination: Path) -> None:
+ destination.mkdir(parents=True, exist_ok=True)
+ with tarfile.open(archive, "r:*") as tf:
+ for member in tf.getmembers():
+ member_path = Path(member.name)
+ if member_path.is_absolute() or ".." in member_path.parts:
+ raise UnsafePathError(
+ f"Archive entry escapes destination: {member.name}"
+ )
+ target = destination / member_path
+ assert_within(target, destination, label="Archive entry")
+ tf.extractall(destination, filter="data")
+
+
+def extract_archive(archive: str | Path, destination: str | Path) -> Path:
+ archive_path = resolve(archive)
+ dest_path = resolve(destination)
+ if not archive_path.is_file():
+ raise FileNotFoundError(f"Archive not found: {archive_path}")
+
+ suffixes = archive_path.suffixes
+ lower_name = archive_path.name.lower()
+ if lower_name.endswith(".tar.gz") or lower_name.endswith(".tgz"):
+ _safe_extract_tar(archive_path, dest_path)
+ elif suffixes and suffixes[-1].lower() == ".zip":
+ _safe_extract_zip(archive_path, dest_path)
+ else:
+ raise ValueError(
+ f"Unsupported archive format: {archive_path.name}. Expected .zip or .tar.gz"
+ )
+ return dest_path
diff --git a/tools/release/layout.py b/tools/release/layout.py
new file mode 100644
index 0000000..ce00059
--- /dev/null
+++ b/tools/release/layout.py
@@ -0,0 +1,159 @@
+from __future__ import annotations
+
+from pathlib import Path
+
+from .models import CheckResult, EDITIONS, PLATFORMS
+
+
+def executable_name(platform: str) -> str:
+ if platform == "windows-x64":
+ return "MDFlux.exe"
+ if platform == "linux-x64-glibc":
+ return "MDFlux"
+ raise ValueError(f"Unsupported platform: {platform}")
+
+
+def bundled_python_path(root: Path, platform: str) -> Path:
+ if platform == "windows-x64":
+ return root / "resources" / "runtime" / "python.exe"
+ if platform == "linux-x64-glibc":
+ return root / "resources" / "runtime" / "bin" / "python3"
+ raise ValueError(f"Unsupported platform: {platform}")
+
+
+def validate_layout(
+ root: Path,
+ *,
+ platform: str,
+ edition: str,
+) -> list[CheckResult]:
+ results: list[CheckResult] = []
+
+ if platform not in PLATFORMS:
+ results.append(
+ CheckResult(
+ "platform-identifier",
+ False,
+ f"Unknown platform {platform!r}; expected one of {sorted(PLATFORMS)}",
+ )
+ )
+ return results
+
+ if edition not in EDITIONS:
+ results.append(
+ CheckResult(
+ "edition-identifier",
+ False,
+ f"Unknown edition {edition!r}; expected one of {sorted(EDITIONS)}",
+ )
+ )
+ return results
+
+ exe = root / executable_name(platform)
+ if not exe.is_file():
+ results.append(
+ CheckResult(
+ "executable-present",
+ False,
+ f"Missing executable: {executable_name(platform)}",
+ )
+ )
+ else:
+ results.append(
+ CheckResult(
+ "executable-present",
+ True,
+ str(exe.relative_to(root)),
+ )
+ )
+ if platform == "linux-x64-glibc" and not exe.stat().st_mode & 0o111:
+ results.append(
+ CheckResult(
+ "executable-permissions",
+ False,
+ f"{exe.name} is not executable",
+ )
+ )
+ elif platform == "linux-x64-glibc":
+ results.append(
+ CheckResult(
+ "executable-permissions",
+ True,
+ f"{exe.name} is executable",
+ )
+ )
+
+ edition_json = root / "resources" / "edition.json"
+ if not edition_json.is_file():
+ results.append(
+ CheckResult(
+ "edition-manifest-present",
+ False,
+ "Missing resources/edition.json",
+ )
+ )
+ else:
+ results.append(
+ CheckResult(
+ "edition-manifest-present",
+ True,
+ "resources/edition.json",
+ )
+ )
+
+ sidecar_main = root / "resources" / "sidecar" / "main.py"
+ if not sidecar_main.is_file():
+ results.append(
+ CheckResult(
+ "sidecar-present",
+ False,
+ "Missing resources/sidecar/main.py",
+ )
+ )
+ else:
+ results.append(
+ CheckResult(
+ "sidecar-present",
+ True,
+ "resources/sidecar/main.py",
+ )
+ )
+
+ runtime_dir = root / "resources" / "runtime"
+ bundled_python = bundled_python_path(root, platform)
+ if edition == "lite":
+ if runtime_dir.exists():
+ results.append(
+ CheckResult(
+ "lite-no-bundled-runtime",
+ False,
+ "Lite archive must not contain resources/runtime/",
+ )
+ )
+ else:
+ results.append(
+ CheckResult(
+ "lite-no-bundled-runtime",
+ True,
+ "No bundled runtime directory",
+ )
+ )
+ else:
+ if not bundled_python.is_file():
+ results.append(
+ CheckResult(
+ "full-bundled-python",
+ False,
+ f"Missing bundled interpreter: {bundled_python.relative_to(root)}",
+ )
+ )
+ else:
+ results.append(
+ CheckResult(
+ "full-bundled-python",
+ True,
+ str(bundled_python.relative_to(root)),
+ )
+ )
+
+ return results
diff --git a/tools/release/manifest.py b/tools/release/manifest.py
new file mode 100644
index 0000000..15c293f
--- /dev/null
+++ b/tools/release/manifest.py
@@ -0,0 +1,250 @@
+from __future__ import annotations
+
+import json
+import re
+from datetime import datetime
+from pathlib import Path
+from typing import Any
+
+from .models import CheckResult, FULL_COMPONENTS, LITE_COMPONENTS
+
+
+_ISO8601_RE = re.compile(
+ r"^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$"
+)
+
+
+def load_edition_manifest(path: Path) -> tuple[dict[str, Any] | None, CheckResult | None]:
+ try:
+ data = json.loads(path.read_text(encoding="utf-8"))
+ except (OSError, json.JSONDecodeError) as exc:
+ return None, CheckResult(
+ "edition-manifest-parse",
+ False,
+ f"Could not parse edition.json: {exc}",
+ )
+ if not isinstance(data, dict):
+ return None, CheckResult(
+ "edition-manifest-parse",
+ False,
+ "edition.json must be a JSON object",
+ )
+ return data, CheckResult("edition-manifest-parse", True, "Valid JSON object")
+
+
+def validate_edition_manifest(
+ manifest: dict[str, Any],
+ *,
+ expected_platform: str,
+ expected_edition: str,
+) -> list[CheckResult]:
+ results: list[CheckResult] = []
+ required_fields = (
+ "schema",
+ "edition",
+ "app_version",
+ "commit",
+ "platform",
+ "python_version",
+ "components",
+ "dependency_lock_sha256",
+ "built_at_utc",
+ )
+ missing = [field for field in required_fields if field not in manifest]
+ if missing:
+ results.append(
+ CheckResult(
+ "edition-manifest-schema",
+ False,
+ f"Missing required fields: {', '.join(missing)}",
+ )
+ )
+ return results
+
+ schema = manifest.get("schema")
+ if schema != 1:
+ results.append(
+ CheckResult(
+ "edition-manifest-schema",
+ False,
+ f"schema must be 1, got {schema!r}",
+ )
+ )
+ else:
+ results.append(CheckResult("edition-manifest-schema", True, "schema=1"))
+
+ edition = manifest.get("edition")
+ if edition != expected_edition:
+ results.append(
+ CheckResult(
+ "edition-manifest-edition",
+ False,
+ f"edition is {edition!r}, expected {expected_edition!r}",
+ )
+ )
+ else:
+ results.append(
+ CheckResult("edition-manifest-edition", True, f"edition={edition}")
+ )
+
+ platform = manifest.get("platform")
+ if platform != expected_platform:
+ results.append(
+ CheckResult(
+ "edition-manifest-platform",
+ False,
+ f"platform is {platform!r}, expected {expected_platform!r}",
+ )
+ )
+ else:
+ results.append(
+ CheckResult("edition-manifest-platform", True, f"platform={platform}")
+ )
+
+ app_version = manifest.get("app_version")
+ if not isinstance(app_version, str) or not app_version.strip():
+ results.append(
+ CheckResult(
+ "edition-manifest-app-version",
+ False,
+ "app_version must be a non-empty string",
+ )
+ )
+ else:
+ results.append(
+ CheckResult(
+ "edition-manifest-app-version",
+ True,
+ f"app_version={app_version}",
+ )
+ )
+
+ commit = manifest.get("commit")
+ if not isinstance(commit, str) or len(commit) < 7:
+ results.append(
+ CheckResult(
+ "edition-manifest-commit",
+ False,
+ "commit must be a git commit string",
+ )
+ )
+ else:
+ results.append(CheckResult("edition-manifest-commit", True, commit[:12]))
+
+ components = manifest.get("components")
+ expected_components = (
+ FULL_COMPONENTS if expected_edition == "full" else LITE_COMPONENTS
+ )
+ if components != expected_components:
+ results.append(
+ CheckResult(
+ "edition-manifest-components",
+ False,
+ f"components={components!r}, expected {expected_components}",
+ )
+ )
+ else:
+ results.append(
+ CheckResult(
+ "edition-manifest-components",
+ True,
+ ", ".join(components),
+ )
+ )
+
+ python_version = manifest.get("python_version")
+ if expected_edition == "lite":
+ if python_version is not None:
+ results.append(
+ CheckResult(
+ "edition-manifest-python-version",
+ False,
+ "Lite edition must set python_version to null",
+ )
+ )
+ else:
+ results.append(
+ CheckResult(
+ "edition-manifest-python-version",
+ True,
+ "python_version is null",
+ )
+ )
+ else:
+ if not isinstance(python_version, str) or not python_version.strip():
+ results.append(
+ CheckResult(
+ "edition-manifest-python-version",
+ False,
+ "Full edition requires a python_version string",
+ )
+ )
+ else:
+ results.append(
+ CheckResult(
+ "edition-manifest-python-version",
+ True,
+ python_version,
+ )
+ )
+
+ lock_sha = manifest.get("dependency_lock_sha256")
+ if not isinstance(lock_sha, str) or len(lock_sha) != 64:
+ results.append(
+ CheckResult(
+ "edition-manifest-lock-sha256",
+ False,
+ "dependency_lock_sha256 must be a 64-character hex SHA-256",
+ )
+ )
+ else:
+ try:
+ int(lock_sha, 16)
+ except ValueError:
+ results.append(
+ CheckResult(
+ "edition-manifest-lock-sha256",
+ False,
+ "dependency_lock_sha256 must be hexadecimal",
+ )
+ )
+ else:
+ results.append(
+ CheckResult(
+ "edition-manifest-lock-sha256",
+ True,
+ lock_sha[:16] + "...",
+ )
+ )
+
+ built_at = manifest.get("built_at_utc")
+ if not isinstance(built_at, str) or not _ISO8601_RE.match(built_at):
+ results.append(
+ CheckResult(
+ "edition-manifest-built-at",
+ False,
+ "built_at_utc must be ISO-8601 UTC",
+ )
+ )
+ else:
+ try:
+ normalized = built_at.replace("Z", "+00:00")
+ datetime.fromisoformat(normalized)
+ except ValueError:
+ results.append(
+ CheckResult(
+ "edition-manifest-built-at",
+ False,
+ f"built_at_utc is not parseable: {built_at}",
+ )
+ )
+ else:
+ results.append(
+ CheckResult(
+ "edition-manifest-built-at",
+ True,
+ built_at,
+ )
+ )
+
+ return results
diff --git a/tools/release/models.py b/tools/release/models.py
new file mode 100644
index 0000000..b445db7
--- /dev/null
+++ b/tools/release/models.py
@@ -0,0 +1,71 @@
+from __future__ import annotations
+
+from dataclasses import dataclass, field
+from typing import Any
+
+
+PLATFORMS = frozenset({"windows-x64", "linux-x64-glibc"})
+EDITIONS = frozenset({"lite", "full"})
+FULL_COMPONENTS = ["core", "ocr", "audio-runtime"]
+LITE_COMPONENTS = ["core"]
+FULL_IMPORT_MODULES = (
+ "markitdown",
+ "openai",
+ "httpx",
+ "rapidocr",
+ "onnxruntime",
+ "pypdfium2",
+ "faster_whisper",
+ "ctranslate2",
+)
+CONVERSION_FIXTURES = (
+ ("sample.pdf", ".pdf"),
+ ("sample.docx", ".docx"),
+ ("sample.pptx", ".pptx"),
+ ("sample.xlsx", ".xlsx"),
+ ("sample.html", ".html"),
+ ("sample.txt", ".txt"),
+)
+
+
+@dataclass
+class CheckResult:
+ name: str
+ passed: bool
+ detail: str = ""
+ severity: str = "error"
+
+ def to_dict(self) -> dict[str, Any]:
+ return {
+ "name": self.name,
+ "passed": self.passed,
+ "detail": self.detail,
+ "severity": self.severity,
+ }
+
+
+@dataclass
+class VerificationReport:
+ archive: str
+ platform: str
+ edition: str
+ passed: bool
+ checks: list[CheckResult] = field(default_factory=list)
+ extract_dir: str | None = None
+ manifest: dict[str, Any] | None = None
+
+ def add(self, check: CheckResult) -> None:
+ self.checks.append(check)
+ if not check.passed and check.severity == "error":
+ self.passed = False
+
+ def to_dict(self) -> dict[str, Any]:
+ return {
+ "archive": self.archive,
+ "platform": self.platform,
+ "edition": self.edition,
+ "passed": self.passed,
+ "extract_dir": self.extract_dir,
+ "manifest": self.manifest,
+ "checks": [check.to_dict() for check in self.checks],
+ }
diff --git a/tools/release/paths.py b/tools/release/paths.py
new file mode 100644
index 0000000..ae8d733
--- /dev/null
+++ b/tools/release/paths.py
@@ -0,0 +1,53 @@
+from __future__ import annotations
+
+import os
+from pathlib import Path
+
+
+class UnsafePathError(ValueError):
+ """Raised when a path would escape an allowed directory."""
+
+
+def resolve(path: str | Path) -> Path:
+ return Path(path).expanduser().resolve()
+
+
+def is_within(child: Path, root: Path) -> bool:
+ try:
+ child.resolve().relative_to(root.resolve())
+ return True
+ except ValueError:
+ return False
+
+
+def assert_within(child: Path, root: Path, label: str = "path") -> Path:
+ resolved_child = child.resolve()
+ resolved_root = root.resolve()
+ if not is_within(resolved_child, resolved_root):
+ raise UnsafePathError(
+ f"{label} {resolved_child} escapes allowed root {resolved_root}"
+ )
+ return resolved_child
+
+
+def assert_safe_cleanup_target(target: Path, allowed_roots: list[Path]) -> Path:
+ resolved = target.resolve()
+ if not resolved.exists():
+ raise UnsafePathError(f"Cleanup target does not exist: {resolved}")
+ for root in allowed_roots:
+ if is_within(resolved, root.resolve()):
+ return resolved
+ raise UnsafePathError(
+ f"Refusing to delete {resolved}; not under allowed cleanup roots"
+ )
+
+
+def app_data_root(platform: str) -> Path:
+ if platform == "windows-x64":
+ base = os.environ.get("APPDATA")
+ if not base:
+ raise RuntimeError("APPDATA is not set")
+ return Path(base) / "com.projektvisyo.mdflux"
+ if platform == "linux-x64-glibc":
+ return Path.home() / ".local" / "share" / "com.projektvisyo.mdflux"
+ raise ValueError(f"Unsupported platform: {platform}")
diff --git a/tools/release/report.py b/tools/release/report.py
new file mode 100644
index 0000000..a05838d
--- /dev/null
+++ b/tools/release/report.py
@@ -0,0 +1,28 @@
+from __future__ import annotations
+
+from typing import Any
+
+from .models import VerificationReport
+
+
+def format_human_report(report: VerificationReport) -> str:
+ lines = [
+ "MDFlux release archive verification",
+ f"Archive: {report.archive}",
+ f"Platform: {report.platform}",
+ f"Edition: {report.edition}",
+ f"Result: {'PASS' if report.passed else 'FAIL'}",
+ "",
+ "Checks:",
+ ]
+ for check in report.checks:
+ status = "PASS" if check.passed else "FAIL"
+ detail = f" - {check.detail}" if check.detail else ""
+ lines.append(f" [{status}] {check.name}{detail}")
+ if report.extract_dir:
+ lines.extend(["", f"Extracted to: {report.extract_dir}"])
+ return "\n".join(lines)
+
+
+def format_json_report(report: VerificationReport) -> dict[str, Any]:
+ return report.to_dict()
diff --git a/tools/release/runtime_checks.py b/tools/release/runtime_checks.py
new file mode 100644
index 0000000..11be6d4
--- /dev/null
+++ b/tools/release/runtime_checks.py
@@ -0,0 +1,365 @@
+from __future__ import annotations
+
+import json
+import os
+import queue
+import signal
+import shutil
+import subprocess
+import sys
+import tempfile
+import threading
+import time
+from pathlib import Path
+
+from .layout import bundled_python_path
+from .models import CONVERSION_FIXTURES, FULL_IMPORT_MODULES, CheckResult
+from .paths import app_data_root
+
+
+def _run_python(
+ python: Path,
+ code: str,
+ *,
+ cwd: Path | None = None,
+ timeout: float = 120.0,
+) -> subprocess.CompletedProcess[str]:
+ return subprocess.run(
+ [str(python), "-I", "-c", code],
+ cwd=str(cwd) if cwd else None,
+ capture_output=True,
+ text=True,
+ timeout=timeout,
+ check=False,
+ )
+
+
+def verify_bundled_python_version(
+ root: Path,
+ *,
+ platform: str,
+ manifest: dict,
+) -> CheckResult:
+ python = bundled_python_path(root, platform)
+ if not python.is_file():
+ return CheckResult(
+ "bundled-python-version",
+ False,
+ f"Missing bundled interpreter: {python}",
+ )
+ expected = manifest.get("python_version")
+ proc = _run_python(
+ python,
+ "import platform; print(platform.python_version())",
+ )
+ if proc.returncode != 0:
+ return CheckResult(
+ "bundled-python-version",
+ False,
+ proc.stderr.strip() or proc.stdout.strip() or "Interpreter failed",
+ )
+ actual = proc.stdout.strip()
+ if actual != expected:
+ return CheckResult(
+ "bundled-python-version",
+ False,
+ f"Expected {expected}, got {actual}",
+ )
+ return CheckResult("bundled-python-version", True, actual)
+
+
+def verify_full_imports(root: Path, *, platform: str) -> CheckResult:
+ python = bundled_python_path(root, platform)
+ if not python.is_file():
+ return CheckResult(
+ "full-runtime-imports",
+ False,
+ f"Missing bundled interpreter: {python}",
+ )
+ modules = ", ".join(repr(name) for name in FULL_IMPORT_MODULES)
+ code = (
+ "import importlib; mods = ["
+ + modules
+ + "]; "
+ + "[importlib.import_module(m) for m in mods]; "
+ + "print('imports OK')"
+ )
+ proc = _run_python(python, code, timeout=180.0)
+ if proc.returncode != 0:
+ detail = proc.stderr.strip() or proc.stdout.strip() or "Import failed"
+ return CheckResult("full-runtime-imports", False, detail)
+ return CheckResult("full-runtime-imports", True, "All required modules imported")
+
+
+def _sidecar_request(
+ python: Path,
+ sidecar_dir: Path,
+ request: dict,
+ *,
+ timeout: float = 60.0,
+) -> tuple[dict | None, str]:
+ payload = json.dumps(request) + "\n"
+ env = os.environ.copy()
+ env["PYTHONPATH"] = str(sidecar_dir)
+ # Windows pipe reads are not selectable. Drain stdout on a daemon thread
+ # and pass each successive line through a queue so the caller can enforce
+ # one deadline without leaving a non-daemon reader behind.
+ process_group_options: dict[str, object] = {}
+ if os.name == "nt":
+ process_group_options["creationflags"] = subprocess.CREATE_NEW_PROCESS_GROUP
+ else:
+ process_group_options["start_new_session"] = True
+ proc = subprocess.Popen(
+ [str(python), str(sidecar_dir / "main.py")],
+ stdin=subprocess.PIPE,
+ stdout=subprocess.PIPE,
+ stderr=subprocess.PIPE,
+ text=True,
+ cwd=str(sidecar_dir),
+ env=env,
+ **process_group_options,
+ )
+ stdout_thread: threading.Thread | None = None
+ stderr_thread: threading.Thread | None = None
+
+ def terminate_process_tree() -> None:
+ if proc.poll() is not None:
+ return
+ if os.name == "nt":
+ subprocess.run(
+ ["taskkill", "/PID", str(proc.pid), "/T", "/F"],
+ stdout=subprocess.DEVNULL,
+ stderr=subprocess.DEVNULL,
+ check=False,
+ )
+ else:
+ try:
+ os.killpg(proc.pid, signal.SIGKILL)
+ except ProcessLookupError:
+ pass
+
+ try:
+ if proc.stdin is None or proc.stdout is None or proc.stderr is None:
+ return None, "Could not open sidecar subprocess streams"
+ proc.stdin.write(payload)
+ proc.stdin.flush()
+ stdout_lines: queue.Queue[str | None] = queue.Queue()
+ stderr_lines: list[str] = []
+
+ def read_stdout() -> None:
+ try:
+ for output_line in proc.stdout:
+ stdout_lines.put(output_line)
+ finally:
+ stdout_lines.put(None)
+
+ def read_stderr() -> None:
+ stderr_lines.extend(proc.stderr.readlines())
+
+ stdout_thread = threading.Thread(target=read_stdout, daemon=True)
+ stderr_thread = threading.Thread(target=read_stderr, daemon=True)
+ stdout_thread.start()
+ stderr_thread.start()
+ deadline = time.monotonic() + timeout
+ while True:
+ remaining = deadline - time.monotonic()
+ if remaining <= 0:
+ raise subprocess.TimeoutExpired(proc.args, timeout)
+ try:
+ line = stdout_lines.get(timeout=remaining)
+ except queue.Empty:
+ raise subprocess.TimeoutExpired(proc.args, timeout) from None
+ if line is None:
+ detail = "".join(stderr_lines).strip()
+ return None, detail or "No matching IPC response on stdout"
+ line = line.strip()
+ if not line:
+ continue
+ try:
+ obj = json.loads(line)
+ except json.JSONDecodeError:
+ continue
+ if obj.get("id") == request.get("id") and (
+ obj.get("ok") is not None or obj.get("error")
+ ):
+ return obj, ""
+ except subprocess.TimeoutExpired:
+ terminate_process_tree()
+ raise
+ finally:
+ # Stop the tree while its root still exists. Closing stdin first lets the
+ # sidecar exit and can orphan converter workers that retain the extracted
+ # package directory on Windows.
+ terminate_process_tree()
+ if proc.stdin is not None and not proc.stdin.closed:
+ proc.stdin.close()
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ terminate_process_tree()
+ try:
+ proc.wait(timeout=5)
+ except subprocess.TimeoutExpired:
+ pass
+ if stdout_thread is not None:
+ stdout_thread.join(timeout=1)
+ if stderr_thread is not None:
+ stderr_thread.join(timeout=1)
+ for stream in (proc.stdin, proc.stdout, proc.stderr):
+ if stream is not None and not stream.closed:
+ stream.close()
+
+
+def verify_sidecar_health(
+ root: Path,
+ *,
+ platform: str,
+ edition: str,
+) -> CheckResult:
+ sidecar_dir = root / "resources" / "sidecar"
+ if edition == "full":
+ python = bundled_python_path(root, platform)
+ else:
+ python = Path(sys.executable)
+
+ request = {"v": 1, "id": "verify-health", "method": "health", "params": {}}
+ try:
+ response, error = _sidecar_request(python, sidecar_dir, request)
+ except subprocess.TimeoutExpired:
+ return CheckResult("sidecar-health", False, "Sidecar health request timed out")
+ except OSError as exc:
+ return CheckResult("sidecar-health", False, str(exc))
+
+ if response is None:
+ return CheckResult("sidecar-health", False, error)
+ if not response.get("ok"):
+ err = response.get("error") or {}
+ detail = err.get("detail") or err.get("title") or "Sidecar health failed"
+ return CheckResult("sidecar-health", False, str(detail))
+ result = response.get("result") or {}
+ version = result.get("markitdown_version") or "unknown"
+ return CheckResult("sidecar-health", True, f"markitdown={version}")
+
+
+def verify_conversions(
+ root: Path,
+ *,
+ platform: str,
+ edition: str,
+ fixtures_dir: Path,
+) -> list[CheckResult]:
+ sidecar_dir = root / "resources" / "sidecar"
+ if edition == "full":
+ python = bundled_python_path(root, platform)
+ else:
+ python = Path(sys.executable)
+
+ results: list[CheckResult] = []
+ # Converters are third-party code and some parsers normalize or repair
+ # container formats in place. Give each request an isolated copy.
+ with tempfile.TemporaryDirectory(prefix="mdflux-fixture-") as scratch:
+ scratch_dir = Path(scratch)
+ for filename, ext in CONVERSION_FIXTURES:
+ sample = fixtures_dir / filename
+ if not sample.is_file():
+ results.append(CheckResult(
+ f"conversion-fixture-{filename}", False,
+ f"Missing verifier fixture: {sample}", severity="error",
+ ))
+ continue
+ isolated_sample = scratch_dir / filename
+ shutil.copy2(sample, isolated_sample)
+ request = {
+ "v": 1, "id": f"verify-convert-{filename}",
+ "method": "convert-one",
+ "params": {"path": str(isolated_sample.resolve())},
+ }
+ try:
+ response, error = _sidecar_request(
+ python, sidecar_dir, request, timeout=180.0
+ )
+ except subprocess.TimeoutExpired:
+ results.append(CheckResult(
+ f"conversion-{ext}", False, f"{filename}: timed out"
+ ))
+ continue
+ except OSError as exc:
+ results.append(CheckResult(
+ f"conversion-{ext}", False, f"{filename}: {exc}"
+ ))
+ continue
+ if response is None:
+ results.append(CheckResult(
+ f"conversion-{ext}", False, f"{filename}: {error}"
+ ))
+ continue
+ if not response.get("ok"):
+ err = response.get("error") or {}
+ detail = err.get("detail") or err.get("title") or "Conversion failed"
+ results.append(CheckResult(
+ f"conversion-{ext}", False, f"{filename}: {detail}"
+ ))
+ continue
+ markdown = (response.get("result") or {}).get("markdown") or ""
+ if not str(markdown).strip():
+ results.append(CheckResult(
+ f"conversion-{ext}", False,
+ f"{filename}: empty markdown output"
+ ))
+ else:
+ results.append(CheckResult(
+ f"conversion-{ext}", True,
+ f"{filename}: {len(str(markdown))} chars"
+ ))
+ return results
+
+
+def _snapshot_provisioning_paths(platform: str) -> dict[str, float | None]:
+ root = app_data_root(platform)
+ tracked = {
+ "app_data_root": root,
+ "runtimes": root / "runtimes",
+ "active_runtime": root / "active-runtime.json",
+ }
+ snapshot: dict[str, float | None] = {}
+ for key, path in tracked.items():
+ if key == "app_data_root":
+ continue
+ if path.exists():
+ snapshot[str(path)] = path.stat().st_mtime
+ else:
+ snapshot[str(path)] = None
+ return snapshot
+
+
+def verify_no_full_provisioning(
+ before: dict[str, float | None],
+ *,
+ platform: str,
+) -> CheckResult:
+ after = _snapshot_provisioning_paths(platform)
+ created: list[str] = []
+ for path, mtime in after.items():
+ if path == str(app_data_root(platform)):
+ continue
+ previous = before.get(path)
+ path_obj = Path(path)
+ if previous is None and path_obj.exists():
+ created.append(path)
+ elif previous is not None and path_obj.exists() and path_obj.stat().st_mtime > previous:
+ created.append(path)
+ if created:
+ return CheckResult(
+ "full-no-provisioning",
+ False,
+ "Full verification wrote provisioning state: " + ", ".join(created),
+ )
+ return CheckResult(
+ "full-no-provisioning",
+ True,
+ "No new Lite provisioning paths were written",
+ )
+
+
+def snapshot_provisioning(platform: str) -> dict[str, float | None]:
+ return _snapshot_provisioning_paths(platform)
diff --git a/tools/release/verify.py b/tools/release/verify.py
new file mode 100644
index 0000000..a369d43
--- /dev/null
+++ b/tools/release/verify.py
@@ -0,0 +1,228 @@
+from __future__ import annotations
+
+import argparse
+import json
+import sys
+import tempfile
+from pathlib import Path
+
+from .checksum import verify_dependency_lock_checksum
+from .cleanup import safe_remove_tree
+from .extract import extract_archive
+from .layout import validate_layout
+from .manifest import load_edition_manifest, validate_edition_manifest
+from .models import CheckResult, EDITIONS, PLATFORMS, VerificationReport
+from .paths import UnsafePathError, resolve
+from .report import format_human_report, format_json_report
+from .runtime_checks import (
+ snapshot_provisioning,
+ verify_bundled_python_version,
+ verify_conversions,
+ verify_full_imports,
+ verify_no_full_provisioning,
+ verify_sidecar_health,
+)
+
+
+def _repo_root() -> Path:
+ return Path(__file__).resolve().parents[2]
+
+
+def _default_fixtures_dir() -> Path:
+ return _repo_root() / "tests" / "release-fixtures" / "samples"
+
+
+def verify_archive(
+ archive: str | Path,
+ *,
+ platform: str,
+ edition: str,
+ fixtures_dir: Path | None = None,
+ keep_temp: bool = False,
+) -> VerificationReport:
+ archive_path = resolve(archive)
+ fixtures = fixtures_dir or _default_fixtures_dir()
+ report = VerificationReport(
+ archive=archive_path.name,
+ platform=platform,
+ edition=edition,
+ passed=True,
+ )
+
+ if platform not in PLATFORMS:
+ report.add(
+ CheckResult("platform", False, f"Unsupported platform {platform!r}")
+ )
+ return report
+ if edition not in EDITIONS:
+ report.add(
+ CheckResult("edition", False, f"Unsupported edition {edition!r}")
+ )
+ return report
+
+ temp_root = Path(tempfile.mkdtemp(prefix="mdflux-verify-"))
+ extract_dir = temp_root / "extract"
+ allowed_cleanup_roots = [temp_root.resolve()]
+ provisioning_before = (
+ snapshot_provisioning(platform) if edition == "full" else None
+ )
+
+ try:
+ try:
+ extract_archive(archive_path, extract_dir)
+ report.add(
+ CheckResult("archive-extract", True, "Extracted safely")
+ )
+ except (UnsafePathError, ValueError, OSError) as exc:
+ report.add(CheckResult("archive-extract", False, str(exc)))
+ return report
+
+ for check in validate_layout(extract_dir, platform=platform, edition=edition):
+ report.add(check)
+
+ edition_json = extract_dir / "resources" / "edition.json"
+ manifest = None
+ if edition_json.is_file():
+ manifest, parse_check = load_edition_manifest(edition_json)
+ report.add(parse_check)
+ if manifest is not None:
+ report.manifest = manifest
+ for check in validate_edition_manifest(
+ manifest,
+ expected_platform=platform,
+ expected_edition=edition,
+ ):
+ report.add(check)
+ report.add(
+ verify_dependency_lock_checksum(extract_dir, manifest),
+ )
+
+ if edition == "full" and manifest is not None:
+ report.add(
+ verify_bundled_python_version(
+ extract_dir,
+ platform=platform,
+ manifest=manifest,
+ )
+ )
+ report.add(verify_full_imports(extract_dir, platform=platform))
+
+ report.add(
+ verify_sidecar_health(
+ extract_dir,
+ platform=platform,
+ edition=edition,
+ )
+ )
+
+ if not fixtures.is_dir():
+ report.add(
+ CheckResult(
+ "conversion-fixtures-dir",
+ False,
+ f"Missing fixtures directory: {fixtures.name}",
+ )
+ )
+ else:
+ report.add(
+ CheckResult(
+ "conversion-fixtures-dir",
+ True,
+ "Approved conversion samples available",
+ )
+ )
+ for check in verify_conversions(
+ extract_dir,
+ platform=platform,
+ edition=edition,
+ fixtures_dir=fixtures,
+ ):
+ report.add(check)
+
+ if edition == "full" and provisioning_before is not None:
+ report.add(
+ verify_no_full_provisioning(
+ provisioning_before,
+ platform=platform,
+ )
+ )
+
+ return report
+ finally:
+ if keep_temp:
+ report.extract_dir = str(extract_dir)
+ else:
+ try:
+ safe_remove_tree(temp_root, allowed_cleanup_roots)
+ except (UnsafePathError, OSError) as exc:
+ report.add(
+ CheckResult(
+ "cleanup",
+ False,
+ str(exc),
+ severity="error",
+ )
+ )
+
+
+def build_parser() -> argparse.ArgumentParser:
+ parser = argparse.ArgumentParser(
+ description="Verify an MDFlux Lite or Full release archive.",
+ )
+ parser.add_argument(
+ "--archive",
+ required=True,
+ help="Path to a .zip or .tar.gz release archive",
+ )
+ parser.add_argument(
+ "--platform",
+ required=True,
+ choices=sorted(PLATFORMS),
+ help="Expected platform identifier",
+ )
+ parser.add_argument(
+ "--edition",
+ required=True,
+ choices=sorted(EDITIONS),
+ help="Expected edition identifier",
+ )
+ parser.add_argument(
+ "--fixtures-dir",
+ default=str(_default_fixtures_dir()),
+ help="Directory containing conversion sample files",
+ )
+ parser.add_argument(
+ "--json-out",
+ help="Optional path to write the machine-readable JSON report",
+ )
+ parser.add_argument(
+ "--keep-temp",
+ action="store_true",
+ help="Keep the extracted archive directory for debugging",
+ )
+ return parser
+
+
+def main(argv: list[str] | None = None) -> int:
+ parser = build_parser()
+ args = parser.parse_args(argv)
+ report = verify_archive(
+ args.archive,
+ platform=args.platform,
+ edition=args.edition,
+ fixtures_dir=Path(args.fixtures_dir),
+ keep_temp=args.keep_temp,
+ )
+ human = format_human_report(report)
+ print(human)
+ payload = format_json_report(report)
+ if args.json_out:
+ Path(args.json_out).write_text(
+ json.dumps(payload, indent=2) + "\n",
+ encoding="utf-8",
+ )
+ return 0 if report.passed else 1
+
+
+if __name__ == "__main__":
+ raise SystemExit(main())