diff --git a/.dockerignore b/.dockerignore
new file mode 100644
index 00000000..d4b73443
--- /dev/null
+++ b/.dockerignore
@@ -0,0 +1,12 @@
+.git/
+artifacts/
+models/
+captures/
+logs/
+control-plane/target/
+engine/*
+!engine/strata/
+engine/strata/*
+!engine/strata/LICENSE
+benchmarks/
+docs/
diff --git a/.github/workflows/desktop.yml b/.github/workflows/desktop.yml
new file mode 100644
index 00000000..89e8c786
--- /dev/null
+++ b/.github/workflows/desktop.yml
@@ -0,0 +1,44 @@
+name: Desktop foundation
+on:
+ push:
+ paths: ['desktop-core/**', 'desktop/**', '.github/workflows/desktop.yml', 'rust-toolchain.toml']
+ pull_request:
+ paths: ['desktop-core/**', 'desktop/**', '.github/workflows/desktop.yml', 'rust-toolchain.toml']
+permissions:
+ contents: read
+jobs:
+ core:
+ strategy:
+ fail-fast: false
+ matrix:
+ os: [ubuntu-latest, windows-latest, macos-latest]
+ runs-on: ${{ matrix.os }}
+ steps:
+ - uses: actions/checkout@v4
+ - name: Format
+ run: cargo fmt --manifest-path desktop-core/Cargo.toml --check
+ - name: Tests
+ run: cargo test --locked --manifest-path desktop-core/Cargo.toml
+ - name: Lints
+ run: cargo clippy --locked --manifest-path desktop-core/Cargo.toml --all-targets -- -D warnings
+ - name: Hardware smoke (no inference)
+ run: cargo run --locked --manifest-path desktop-core/Cargo.toml -- hardware
+ - uses: actions/setup-dotnet@v4
+ with:
+ dotnet-version: '10.0.x'
+ - name: Restore desktop dependencies
+ run: dotnet restore desktop/Strata.Desktop.csproj --locked-mode
+ - name: Build desktop
+ run: dotnet build desktop/Strata.Desktop.csproj --no-restore
+ - name: Desktop gRPC node integration (headless, no inference)
+ run: dotnet desktop/bin/Debug/net10.0/Strata.Desktop.dll --self-check
+ - name: Desktop gRPC restart recovery (isolated node)
+ run: python desktop/tests/reconnect.py
+ - name: Desktop managed lifecycle (isolated synthetic worker)
+ run: python desktop/tests/lifecycle.py
+ - name: Real isolated SSH tunnel and gRPC recovery
+ if: runner.os == 'macOS'
+ run: python desktop/tests/ssh_tunnel.py
+ - name: Real isolated SSH installation and rollback
+ if: runner.os == 'macOS'
+ run: python desktop/tests/remote_install.py
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
new file mode 100644
index 00000000..bff86839
--- /dev/null
+++ b/.github/workflows/linux.yml
@@ -0,0 +1,358 @@
+name: Linux
+
+on:
+ push:
+ branches: [main]
+ tags: ['v*']
+ pull_request:
+ workflow_dispatch:
+ inputs:
+ keyless_gpu:
+ description: Run synthetic Keyless CUDA tests on the private GPU runner
+ type: boolean
+ default: false
+ hosted_cuda_package:
+ description: Build actual CUDA package on isolated hosted CPU (no GPU, private artifact)
+ type: boolean
+ default: false
+ static_cuda_package:
+ description: Build and audit static CUDA toolkit linkage on the private Linux runner (no inference)
+ type: boolean
+ default: false
+
+permissions:
+ contents: read
+
+jobs:
+ verify:
+ runs-on: ubuntu-24.04
+ steps:
+ - uses: actions/checkout@v4
+ - name: Install build tools
+ run: sudo apt-get update && sudo apt-get install -y cmake ninja-build g++ python3-numpy
+ - name: Install pinned Rust
+ run: rustup toolchain install 1.99.0 --profile minimal --component rustfmt --component clippy
+ - name: Local checks
+ run: scripts/check-local.sh
+
+ keyless-cuda:
+ if: github.event_name == 'workflow_dispatch' && inputs.keyless_gpu
+ runs-on: [self-hosted, linux, x64, strata-gpu]
+ steps:
+ - uses: actions/checkout@v4
+ - name: Query-routing, streaming and snapshot GPU tests
+ run: scripts/check-keyless-gpu.sh
+ - name: Bounded KAR expert component GPU tests
+ run: scripts/check-kar-expert-gpu.sh
+
+ static-cuda-package:
+ if: github.event_name == 'workflow_dispatch' && inputs.static_cuda_package && github.event.repository.private
+ needs: verify
+ runs-on: [self-hosted, linux, x64, strata-gpu]
+ steps:
+ - uses: actions/checkout@v4
+ - name: Build and audit engine without GPU inference
+ env:
+ CUDA_VISIBLE_DEVICES: ''
+ BUILD_JOBS: '2'
+ STRATA_BUILD_DIR: ${{ runner.temp }}/strata-static-cuda-${{ github.run_id }}
+ run: nice -n 10 scripts/build-static-cuda.sh
+ - name: Install pinned Rust and musl target
+ run: |
+ rustup toolchain install 1.99.0 --profile minimal
+ rustup target add --toolchain 1.99.0 x86_64-unknown-linux-musl
+ command -v musl-gcc
+ - name: Assemble combined private package
+ run: |
+ engine="${RUNNER_TEMP}/strata-static-cuda-${GITHUB_RUN_ID}/strata"
+ python3 scripts/build-linux-package.py --engine "$engine" \
+ --sha256 "$(sha256sum "$engine" | cut -d ' ' -f 1)" --revision "$GITHUB_SHA" \
+ --cargo-target-dir "${RUNNER_TEMP}/strata-package-build-${GITHUB_RUN_ID}" \
+ --output "${RUNNER_TEMP}/strata-package-${GITHUB_RUN_ID}"
+ - name: Build compatible private runtime image without GPU inference
+ run: |
+ package="${RUNNER_TEMP}/strata-package-${GITHUB_RUN_ID}"
+ python3 scripts/build-runtime-image.py --package "$package" \
+ --receipt-sha256 "$(sha256sum "$package/SHA256SUMS" | cut -d ' ' -f 1)" \
+ > "${RUNNER_TEMP}/strata-image-${GITHUB_RUN_ID}.json"
+ image="$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1]))["image"])' "${RUNNER_TEMP}/strata-image-${GITHUB_RUN_ID}.json")"
+ docker save --output "$package/runtime-image.tar" "$image"
+ cp "${RUNNER_TEMP}/strata-image-${GITHUB_RUN_ID}.json" "$package/IMAGE-PROVENANCE.json"
+ (cd "$package" && sha256sum runtime-image.tar IMAGE-PROVENANCE.json > IMAGE-SHA256SUMS)
+ - uses: actions/upload-artifact@v4
+ with:
+ name: strata-next-static-cuda-preview
+ path: ${{ runner.temp }}/strata-package-${{ github.run_id }}/
+ if-no-files-found: error
+ retention-days: 7
+ - name: Remove uploaded package copy
+ run: rm -rf -- "${RUNNER_TEMP}/strata-package-${GITHUB_RUN_ID}"
+ - name: Remove owned runtime image
+ if: always()
+ run: |
+ receipt="${RUNNER_TEMP}/strata-image-${GITHUB_RUN_ID}.json"
+ if test -s "$receipt"; then
+ image="$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1]))["image"])' "$receipt")"
+ docker image rm "$image"
+ rm "$receipt"
+ fi
+ - name: Remove private build intermediates
+ if: always()
+ run: rm -rf -- "${RUNNER_TEMP}/strata-static-cuda-${GITHUB_RUN_ID}" "${RUNNER_TEMP}/strata-package-build-${GITHUB_RUN_ID}"
+
+ hosted-cuda-package:
+ if: github.event_name == 'workflow_dispatch' && inputs.hosted_cuda_package && github.event.repository.private
+ needs: verify
+ runs-on: ubuntu-24.04
+ timeout-minutes: 150
+ env:
+ CUDA_VISIBLE_DEVICES: ''
+ BUILD_JOBS: '1'
+ CARGO_BUILD_JOBS: '2'
+ CUDA_ARCHITECTURES: '120'
+ steps:
+ - uses: actions/checkout@v4
+ - name: Install compatible host tools (no drivers)
+ run: |
+ echo "CUDACXX=$RUNNER_TEMP/strata-cuda-toolkit/bin/nvcc" >> "$GITHUB_ENV"
+ echo "CUDAToolkit_ROOT=$RUNNER_TEMP/strata-cuda-toolkit" >> "$GITHUB_ENV"
+ echo "STRATA_BUILD_DIR=$RUNNER_TEMP/strata-hosted-cuda-engine" >> "$GITHUB_ENV"
+ sudo apt-get update && sudo apt-get install -y gcc-13 g++-13 cmake ninja-build musl-tools binutils
+ - name: Assemble pinned build-only CUDA components
+ run: python3 scripts/bootstrap-cuda-toolkit.py --output "$CUDAToolkit_ROOT"
+ - name: Record actual toolchain
+ run: |
+ "$CUDACXX" --version
+ g++-13 --version
+ df -h "$RUNNER_TEMP"
+ free -h
+ python3 - <<'PYTOOL'
+ import json, os, platform, subprocess
+ from pathlib import Path
+ info=json.loads((Path(os.environ['CUDAToolkit_ROOT'])/'TOOLKIT-PROVENANCE.json').read_text())
+ info.update(source=os.environ['GITHUB_SHA'], runner_os=platform.platform(),
+ gcc=subprocess.check_output(['g++-13','--version'],text=True),
+ nvcc=subprocess.check_output([os.environ['CUDACXX'],'--version'],text=True),
+ cuda_architectures=os.environ['CUDA_ARCHITECTURES'], driver_tested=False, model_tested=False)
+ (Path(os.environ['RUNNER_TEMP'])/'CUDA-TOOLCHAIN.json').write_text(json.dumps(info,indent=2)+'\n')
+ PYTOOL
+ - name: Build actual static CUDA engine and audit without GPU
+ env:
+ CC: gcc-13
+ CXX: g++-13
+ CUDAHOSTCXX: g++-13
+ run: scripts/build-static-cuda.sh
+ - name: Install pinned Rust and musl target
+ run: |
+ rustup toolchain install 1.99.0 --profile minimal
+ rustup target add --toolchain 1.99.0 x86_64-unknown-linux-musl
+ - name: Assemble actual combined executable and runtime image
+ run: |
+ # Keep resource evidence even if the hosted runner terminates this job.
+ (while sleep 20; do
+ date -u
+ free -m
+ df -m "$RUNNER_TEMP"
+ test ! -r /sys/fs/cgroup/memory.events || cat /sys/fs/cgroup/memory.events
+ done) &
+ resource_sampler=$!
+ trap 'kill "$resource_sampler" 2>/dev/null || true; wait "$resource_sampler" 2>/dev/null || true' EXIT
+ engine="$STRATA_BUILD_DIR/strata"
+ package="$RUNNER_TEMP/strata-hosted-cuda-package"
+ /usr/bin/time -v python3 scripts/build-linux-package.py --engine "$engine" \
+ --sha256 "$(sha256sum "$engine" | cut -d ' ' -f 1)" --revision "$GITHUB_SHA" \
+ --cargo-target-dir "$RUNNER_TEMP/strata-hosted-package-build" --output "$package"
+ python3 scripts/build-runtime-image.py --package "$package" \
+ --receipt-sha256 "$(sha256sum "$package/SHA256SUMS" | cut -d ' ' -f 1)" \
+ > "$RUNNER_TEMP/strata-hosted-image.json"
+ image="$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1]))["image"])' "$RUNNER_TEMP/strata-hosted-image.json")"
+ docker save --output "$package/runtime-image.tar" "$image"
+ cp "$RUNNER_TEMP/strata-hosted-image.json" "$package/IMAGE-PROVENANCE.json"
+ cp "$RUNNER_TEMP/CUDA-TOOLCHAIN.json" "$package/CUDA-TOOLCHAIN.json"
+ tar -C "$CUDAToolkit_ROOT" -cf "$package/CUDA-LICENSES.tar" licenses
+ (cd "$package" && sha256sum runtime-image.tar IMAGE-PROVENANCE.json CUDA-TOOLCHAIN.json CUDA-LICENSES.tar > IMAGE-SHA256SUMS)
+ - uses: actions/upload-artifact@v4
+ with:
+ name: strata-next-hosted-cuda-preview
+ path: ${{ runner.temp }}/strata-hosted-cuda-package/
+ if-no-files-found: error
+ retention-days: 7
+ - name: Remove uploaded package copy
+ run: rm -rf -- "$RUNNER_TEMP/strata-hosted-cuda-package"
+ - name: Remove owned intermediate image and build files
+ if: always()
+ run: |
+ receipt="$RUNNER_TEMP/strata-hosted-image.json"
+ if test -s "$receipt"; then
+ image="$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1]))["image"])' "$receipt")"
+ docker image rm "$image"
+ fi
+ rm -rf -- "$RUNNER_TEMP/strata-cuda-toolkit" "$RUNNER_TEMP/strata-hosted-cuda-engine" "$RUNNER_TEMP/strata-hosted-package-build"
+
+ linux-static-cli:
+ needs: verify
+ runs-on: ubuntu-24.04
+ steps:
+ - uses: actions/checkout@v4
+ - name: Install musl toolchain
+ run: sudo apt-get update && sudo apt-get install -y musl-tools cmake binutils python3-numpy
+ - name: Install pinned Rust and target
+ run: |
+ rustup toolchain install 1.99.0 --profile minimal
+ rustup target add --toolchain 1.99.0 x86_64-unknown-linux-musl
+ - name: Build static CLI
+ run: cargo build --manifest-path control-plane/Cargo.toml --locked --release --target x86_64-unknown-linux-musl --bin strata-next
+ - name: Verify ELF and checksum
+ run: |
+ binary=control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ if readelf -l "$binary" | grep -q INTERP; then
+ echo 'ELF has a dynamic interpreter' >&2
+ exit 1
+ fi
+ if readelf -d "$binary" | grep -q NEEDED; then
+ echo 'ELF has a dynamic library dependency' >&2
+ exit 1
+ fi
+ "$binary" --version
+ mkdir -p dist
+ cp "$binary" dist/strata-next-linux-x86_64-musl
+ {
+ echo "Commit: $GITHUB_SHA"
+ echo "Workflow: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"
+ rustc --version
+ cargo --version
+ musl-gcc --version
+ readelf --version
+ } > dist/BUILD-PROVENANCE.txt
+ {
+ readelf -h "$binary"
+ readelf -l "$binary"
+ readelf -d "$binary"
+ } > dist/ELF-AUDIT.txt
+ cd dist
+ sha256sum strata-next-linux-x86_64-musl BUILD-PROVENANCE.txt ELF-AUDIT.txt > SHA256SUMS
+ - name: Static CLI model smoke
+ run: python3 scripts/smoke-static-cli.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Engine loader probe before model acquisition
+ run: python3 scripts/smoke-engine-probe.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Explicit GPU profile driver policy without GPU
+ run: python3 scripts/smoke-gpu-requirement.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Declared GPU memory admission and child UUID pin without GPU
+ run: python3 scripts/smoke-cuda-memory.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Atomic pinned assets before native serving
+ run: python3 scripts/smoke-asset-bootstrap.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Native GGUF pack preparation against upstream oracle
+ run: python3 scripts/smoke-native-pack.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Native fetch prepare serve and verified offline reuse
+ run: python3 scripts/smoke-native-bootstrap.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Pinned MTP structural preflight and native bootstrap
+ run: python3 scripts/smoke-mtp-pack.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Native runtime profile metadata admission
+ run: python3 scripts/smoke-runtime-profile.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Native systemd unit syntax and path safety
+ run: python3 scripts/smoke-service-unit.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Native installer with actual isolated systemd user service
+ run: |
+ uid=$(id -u)
+ sudo systemctl start "user@$uid.service"
+ export XDG_RUNTIME_DIR="/run/user/$uid"
+ export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"
+ python3 scripts/smoke-service-unit.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next --lifecycle
+ python3 scripts/smoke-native-switch.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Native deployment configuration without worker launch
+ run: python3 scripts/smoke-config-check.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Native deployment readiness deadline without GPU
+ run: python3 scripts/smoke-wait-ready.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Native API authentication without GPU
+ run: python3 scripts/smoke-native-auth.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Native custom text and regex tools without GPU
+ run: python3 scripts/smoke-custom-tools.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Native auto/none/required/forced tool policy without GPU
+ run: python3 scripts/smoke-tool-policy.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Live Responses replay and corrupt SSE evidence without GPU
+ run: PYTHONDONTWRITEBYTECODE=1 python3 scripts/test-live-responses-replay.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Input token count exact GEN wire parity without inference
+ run: python3 scripts/smoke-input-tokens.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Chat Completions live protocol and wire parity
+ run: python3 scripts/smoke-chat-completions.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Messages named SSE and tool protocol without GPU
+ run: python3 scripts/smoke-messages.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: SSE idle keep-alive, terminal parity and disconnect without GPU
+ run: PYTHONDONTWRITEBYTECODE=1 python3 scripts/smoke-sse-keepalive.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Stored Responses retrieval and deletion without GPU
+ run: python3 scripts/smoke-response-history.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Durable Responses restart and disk failure gate
+ run: python3 scripts/smoke-response-history.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next --durable
+ - name: Native drain and resume without GPU
+ run: python3 scripts/smoke-native-drain.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Native signal shutdown grace without GPU
+ run: python3 scripts/smoke-signal-drain.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Native generation deadline and recovery without GPU
+ run: python3 scripts/smoke-generation-deadline.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Native queue deadline without expiring active work
+ run: python3 scripts/smoke-queue-deadline.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Static CLI HTTP cancellation failure isolation
+ run: python3 scripts/smoke-worker-cancel.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next
+ - name: Static CLI HTTP crash recovery without request replay
+ run: python3 scripts/smoke-worker-cancel.py control-plane/target/x86_64-unknown-linux-musl/release/strata-next --restart
+ - name: Embedded CPU worker packaging without GPU
+ run: |
+ musl-gcc -O2 -static scripts/fixtures/embedded-worker.c -o "$RUNNER_TEMP/embedded-worker"
+ python3 scripts/build-linux-package.py --cpu-fixture --engine "$RUNNER_TEMP/embedded-worker" \
+ --sha256 "$(sha256sum "$RUNNER_TEMP/embedded-worker" | cut -d ' ' -f 1)" --revision "$GITHUB_SHA" \
+ --cargo-target-dir control-plane/target --output "$RUNNER_TEMP/combined-fixture"
+ cd "$RUNNER_TEMP/combined-fixture"
+ sha256sum -c SHA256SUMS
+ cd "$GITHUB_WORKSPACE"
+ python3 scripts/smoke-embedded-engine.py "$RUNNER_TEMP/combined-fixture/strata-next-linux-x86_64-musl" "$RUNNER_TEMP/embedded-worker"
+ python3 scripts/smoke-controller-deployment.py "$RUNNER_TEMP/combined-fixture/strata-next-linux-x86_64-musl"
+ python3 scripts/build-runtime-image.py --cpu-fixture --package "$RUNNER_TEMP/combined-fixture" \
+ --receipt-sha256 "$(sha256sum "$RUNNER_TEMP/combined-fixture/SHA256SUMS" | cut -d ' ' -f 1)" \
+ > "$RUNNER_TEMP/combined-image.json"
+ python3 scripts/smoke-runtime-image.py "$RUNNER_TEMP/combined-image.json"
+ rm "$RUNNER_TEMP/embedded-worker"
+ - name: Remove owned CPU fixture image
+ if: always()
+ run: |
+ receipt="$RUNNER_TEMP/combined-image.json"
+ if test -s "$receipt"; then
+ image="$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1]))["image"])' "$receipt")"
+ docker image rm "$image"
+ rm "$receipt"
+ fi
+ - uses: actions/upload-artifact@v4
+ with:
+ name: strata-next-linux-x86_64-musl
+ path: dist/
+
+ linux-cli-container:
+ needs: verify
+ runs-on: ubuntu-24.04
+ steps:
+ - uses: actions/checkout@v4
+ - name: Build actual CLI-only scratch image
+ run: docker build --file deploy/Dockerfile.static-cli --tag strata-cli-check .
+ - name: Check isolated CLI container startup and shutdown
+ run: python3 scripts/smoke-cli-container.py strata-cli-check
+ - name: Remove test image
+ if: always()
+ run: docker image rm strata-cli-check || true
+
+ release-cli:
+ if: startsWith(github.ref, 'refs/tags/v')
+ needs: [linux-static-cli, linux-cli-container]
+ runs-on: ubuntu-24.04
+ permissions:
+ contents: write
+ steps:
+ - uses: actions/download-artifact@v4
+ with:
+ name: strata-next-linux-x86_64-musl
+ path: dist/
+ - name: Publish CLI preview release
+ env:
+ GH_TOKEN: ${{ github.token }}
+ run: |
+ gh release create "${GITHUB_REF_NAME}" dist/strata-next-linux-x86_64-musl dist/SHA256SUMS dist/BUILD-PROVENANCE.txt dist/ELF-AUDIT.txt \
+ --repo "${GITHUB_REPOSITORY}" --title "Strata Next ${GITHUB_REF_NAME}" \
+ --notes 'CLI/control-plane preview. CUDA engine and model files are not included.' --prerelease
diff --git a/.gitignore b/.gitignore
index 019491eb..501e2fd0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,40 @@
-/target/
+.DS_Store
+.idea/
+.vscode/
+
+# Credentials and local configuration
+.env
+.env.*
+!.env.example
+*.pem
+*.key
+
+# Builds and caches
+build/
+cmake-build-*/
+CMakeFiles/
+CMakeCache.txt
+compile_commands.json
+target/
+desktop/**/bin/
+desktop/**/obj/
+.cache/
+__pycache__/
+.pytest_cache/
+.venv/
+*.o
+*.so
+*.dylib
+
+# Local data, models, captures, logs and generated results
+/dist/
+artifacts/
+models/
+captures/
+logs/
+*.log
*.gguf
+*.kar
+*.kar2
*.safetensors
*.bin
-.env*
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 00000000..3bac86e4
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,23 @@
+# Repository instructions
+
+Read `PROJECT_CHARTER.md` before changing architecture, performance policy, or scope. The charter is the source of truth for goals and milestones.
+
+## Priorities
+
+1. Preserve protocol correctness and successful task completion.
+2. Preserve model quality and tool-call integrity.
+3. Improve end-to-end agent throughput, then decode/prefill throughput.
+
+## Change rules
+
+- Keep production serving independent of Python. Python is allowed for offline conversion, calibration, experiments, and evaluations.
+- Keep model weights, request captures, credentials, logs, and generated artifacts out of Git. Use external volumes or ignored local paths. Sanitize any fixture committed to the repository.
+- Do not enable lossy optimizations by default until their separate quality gate passes. Mark experimental modes explicitly.
+- For non-lossy changes, compare greedy output or tensor values against the defined baseline and record numerical tolerances.
+- Do not label a change as a performance improvement without paired A/B measurements on the same workload and a quality result. Record hardware, software, model digest, configuration, cache state, token counts, and distributions as required by the charter.
+- Do not conflate a synthetic kernel gain with an end-to-end agent workload gain. Report both when relevant.
+- Keep the Strata upstream commit and local changes traceable. Do not overwrite or silently replace the upstream provenance record.
+
+## Repository state
+
+The Strata source is present under `engine/strata/` at the commit recorded in `docs/upstream.md`. The Rust control plane exposes health, readiness, status, and a `/v1/responses` validation stub, and can supervise one configured worker. A synthetic offline Responses replay exists, but live inference, project benchmark results, and deployment assets are not yet present. Read `engine/strata/AGENTS.md` before modifying imported engine code.
diff --git a/Cargo.lock b/Cargo.lock
index ca3fdc51..5fb51353 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2,6 +2,2940 @@
# It is not intended for manual editing.
version = 4
+[[package]]
+name = "ahash"
+version = "0.8.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75"
+dependencies = [
+ "cfg-if",
+ "getrandom 0.3.4",
+ "once_cell",
+ "serde",
+ "version_check",
+ "zerocopy",
+]
+
+[[package]]
+name = "aho-corasick"
+version = "1.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "allocator-api2"
+version = "0.2.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
+
+[[package]]
+name = "anyhow"
+version = "1.0.104"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470"
+
+[[package]]
+name = "async-stream"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b5a71a6f37880a80d1d7f19efd781e4b5de42c88f0722cc13bcb6cc2cfe8476"
+dependencies = [
+ "async-stream-impl",
+ "futures-core",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "async-stream-impl"
+version = "0.3.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "async-trait"
+version = "0.1.92"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "82f6aeea286b8eb4dd3431a1be1b59d290ace00f5bfd8e2a159bc2a05e2c1667"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+]
+
+[[package]]
+name = "atomic-waker"
+version = "1.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
+
+[[package]]
+name = "autocfg"
+version = "1.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
+
+[[package]]
+name = "aws-lc-rs"
+version = "1.18.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b281d307588d634de920874890732659e2e7672f72b5e10e81badc1a8a83621e"
+dependencies = [
+ "aws-lc-sys",
+ "zeroize",
+]
+
+[[package]]
+name = "aws-lc-sys"
+version = "0.45.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9bff6c3b54fad79a2e60b8102caf565819711497c1f5f092f49508e2f5c31b27"
+dependencies = [
+ "cc",
+ "cmake",
+ "dunce",
+ "fs_extra",
+ "pkg-config",
+]
+
+[[package]]
+name = "axum"
+version = "0.8.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "31b698c5f9a010f6573133b09e0de5408834d0c82f8d7475a89fc1867a71cd90"
+dependencies = [
+ "axum-core",
+ "bytes",
+ "form_urlencoded",
+ "futures-util",
+ "http",
+ "http-body",
+ "http-body-util",
+ "hyper",
+ "hyper-util",
+ "itoa",
+ "matchit",
+ "memchr",
+ "mime",
+ "percent-encoding",
+ "pin-project-lite",
+ "serde_core",
+ "serde_json",
+ "serde_path_to_error",
+ "serde_urlencoded",
+ "sync_wrapper",
+ "tokio",
+ "tower",
+ "tower-layer",
+ "tower-service",
+ "tracing",
+]
+
+[[package]]
+name = "axum-core"
+version = "0.5.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "08c78f31d7b1291f7ee735c1c6780ccde7785daae9a9206026862dab7d8792d1"
+dependencies = [
+ "bytes",
+ "futures-core",
+ "http",
+ "http-body",
+ "http-body-util",
+ "mime",
+ "pin-project-lite",
+ "sync_wrapper",
+ "tower-layer",
+ "tower-service",
+ "tracing",
+]
+
+[[package]]
+name = "base64"
+version = "0.22.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
+
+[[package]]
+name = "base64"
+version = "0.23.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5"
+
+[[package]]
+name = "bit-set"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3"
+dependencies = [
+ "bit-vec",
+]
+
+[[package]]
+name = "bit-vec"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
+
+[[package]]
+name = "bitflags"
+version = "2.13.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
+
+[[package]]
+name = "block-buffer"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa"
+dependencies = [
+ "hybrid-array",
+]
+
+[[package]]
+name = "borrow-or-share"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dc0b364ead1874514c8c2855ab558056ebfeb775653e7ae45ff72f28f8f3166c"
+
+[[package]]
+name = "bumpalo"
+version = "3.20.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
+
+[[package]]
+name = "bytecount"
+version = "0.6.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e"
+
+[[package]]
+name = "bytes"
+version = "1.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
+
+[[package]]
+name = "cc"
+version = "1.6.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f74872d07caf508b30a21f6836e7d7016a2eaf7d9ff4f48deaa58cd8a0407630"
+dependencies = [
+ "find-msvc-tools",
+ "jobserver",
+ "libc",
+ "shlex",
+]
+
+[[package]]
+name = "cfg-if"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
+
+[[package]]
+name = "cfg_aliases"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
+
+[[package]]
+name = "chacha20"
+version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06"
+dependencies = [
+ "cfg-if",
+ "cpufeatures",
+ "rand_core",
+]
+
+[[package]]
+name = "cmake"
+version = "0.1.58"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678"
+dependencies = [
+ "cc",
+]
+
+[[package]]
+name = "combine"
+version = "4.6.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cfc320937d09e6de266b31b9afb480f197d7a861be86be7cb2ea7e5d1bfffc5e"
+dependencies = [
+ "bytes",
+ "memchr",
+]
+
+[[package]]
+name = "const-oid"
+version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c"
+
+[[package]]
+name = "core-foundation"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6"
+dependencies = [
+ "core-foundation-sys",
+ "libc",
+]
+
+[[package]]
+name = "core-foundation-sys"
+version = "0.8.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
+
+[[package]]
+name = "cpufeatures"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "crypto-common"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453"
+dependencies = [
+ "hybrid-array",
+]
+
+[[package]]
+name = "data-encoding"
+version = "2.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06"
+
+[[package]]
+name = "digest"
+version = "0.11.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2"
+dependencies = [
+ "block-buffer",
+ "const-oid",
+ "crypto-common",
+]
+
+[[package]]
+name = "displaydoc"
+version = "0.2.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+]
+
+[[package]]
+name = "dunce"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
+
+[[package]]
+name = "either"
+version = "1.18.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "252afb9ae5eaa683babdc6a068b3f5726eb19e05070c731f9b2a23a7c3e8ed34"
+
+[[package]]
+name = "email_address"
+version = "0.2.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e079f19b08ca6239f47f8ba8509c11cf3ea30095831f7fed61441475edd8c449"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "equivalent"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
+
+[[package]]
+name = "errno"
+version = "0.3.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
+dependencies = [
+ "libc",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "fancy-regex"
+version = "0.19.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d301f5bf187b3c295fce6468d3875037a0bccc5f6b151c63cac2f85babf21912"
+dependencies = [
+ "bit-set",
+ "regex-automata",
+ "regex-syntax",
+]
+
+[[package]]
+name = "fastrand"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "da7c62ceae207dd37ea5b845da6a0696c799f85e97da1ab5b7910be3c1c80223"
+
+[[package]]
+name = "find-msvc-tools"
+version = "0.1.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484"
+
+[[package]]
+name = "fixedbitset"
+version = "0.5.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1d674e81391d1e1ab681a28d99df07927c6d4aa5b027d7da16ba32d1d21ecd99"
+
+[[package]]
+name = "fluent-uri"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bc74ac4d8359ae70623506d512209619e5cf8f347124910440dbc221714b328e"
+dependencies = [
+ "borrow-or-share",
+ "ref-cast",
+ "serde",
+]
+
+[[package]]
+name = "fnv"
+version = "1.0.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
+
+[[package]]
+name = "foldhash"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
+
+[[package]]
+name = "foldhash"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
+
+[[package]]
+name = "form_urlencoded"
+version = "1.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
+dependencies = [
+ "percent-encoding",
+]
+
+[[package]]
+name = "fraction"
+version = "0.17.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e246562084dde8ebbcc943b261c406ce4f68e5032ec28029a251a47d6a295500"
+dependencies = [
+ "num",
+ "num-bigint",
+]
+
+[[package]]
+name = "fs_extra"
+version = "1.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
+
+[[package]]
+name = "futures-channel"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4"
+dependencies = [
+ "futures-core",
+]
+
+[[package]]
+name = "futures-core"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
+
+[[package]]
+name = "futures-io"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "53c0fa8157de1303bfffdaa1cc2a673bfffb60102f76b0ef4441659124373fed"
+
+[[package]]
+name = "futures-macro"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9fb9654ba8355388abeb8dcb4fc62f511300867002afc858860463bdd9fe0c44"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+]
+
+[[package]]
+name = "futures-sink"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1944426bf7d03f1d14f708785e4b33efd750b36d48a157b836b3efc15ede8e1d"
+
+[[package]]
+name = "futures-task"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
+
+[[package]]
+name = "futures-util"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
+dependencies = [
+ "futures-core",
+ "futures-io",
+ "futures-macro",
+ "futures-sink",
+ "futures-task",
+ "memchr",
+ "pin-project-lite",
+ "slab",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.2.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
+dependencies = [
+ "cfg-if",
+ "js-sys",
+ "libc",
+ "wasi",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
+dependencies = [
+ "cfg-if",
+ "js-sys",
+ "libc",
+ "r-efi 5.3.0",
+ "wasip2",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
+dependencies = [
+ "cfg-if",
+ "js-sys",
+ "libc",
+ "r-efi 6.0.0",
+ "rand_core",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "h2"
+version = "0.4.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ef8e5e5a340588f4452631496976cf8636d4a7ecf600239fdc27615d2530bc16"
+dependencies = [
+ "atomic-waker",
+ "bytes",
+ "fnv",
+ "futures-core",
+ "futures-sink",
+ "http",
+ "indexmap",
+ "slab",
+ "tokio",
+ "tokio-util",
+ "tracing",
+]
+
+[[package]]
+name = "hashbrown"
+version = "0.15.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
+dependencies = [
+ "foldhash 0.1.5",
+]
+
+[[package]]
+name = "hashbrown"
+version = "0.17.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
+dependencies = [
+ "allocator-api2",
+ "equivalent",
+ "foldhash 0.2.0",
+]
+
+[[package]]
+name = "heck"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
+
+[[package]]
+name = "hex"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
+
+[[package]]
+name = "http"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0"
+dependencies = [
+ "bytes",
+ "itoa",
+]
+
+[[package]]
+name = "http-body"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c"
+dependencies = [
+ "bytes",
+ "http",
+]
+
+[[package]]
+name = "http-body-util"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c"
+dependencies = [
+ "bytes",
+ "futures-core",
+ "http",
+ "http-body",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "httparse"
+version = "1.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
+
+[[package]]
+name = "httpdate"
+version = "1.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
+
+[[package]]
+name = "hybrid-array"
+version = "0.4.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17"
+dependencies = [
+ "typenum",
+]
+
+[[package]]
+name = "hyper"
+version = "1.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "27b501faa50e7a26c3d3560ca625132f4078a17771f4810baf70475ae48cbe43"
+dependencies = [
+ "atomic-waker",
+ "bytes",
+ "futures-channel",
+ "futures-core",
+ "h2",
+ "http",
+ "http-body",
+ "httparse",
+ "httpdate",
+ "itoa",
+ "pin-project-lite",
+ "smallvec",
+ "tokio",
+ "want",
+]
+
+[[package]]
+name = "hyper-rustls"
+version = "0.27.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dfa8e654703247911e29c23fbeaa261834bd9bb74efba2f9acddc37bfb127f53"
+dependencies = [
+ "http",
+ "hyper",
+ "hyper-util",
+ "rustls",
+ "tokio",
+ "tokio-rustls",
+ "tower-service",
+]
+
+[[package]]
+name = "hyper-timeout"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2b90d566bffbce6a75bd8b09a05aa8c2cb1fabb6cb348f8840c9e4c90a0d83b0"
+dependencies = [
+ "hyper",
+ "hyper-util",
+ "pin-project-lite",
+ "tokio",
+ "tower-service",
+]
+
+[[package]]
+name = "hyper-util"
+version = "0.1.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ddc03d96684f9226b8a787cdb71488417b53ab5ea8fdb1dac946cb9431cc8bff"
+dependencies = [
+ "base64 0.23.1",
+ "bytes",
+ "futures-channel",
+ "futures-util",
+ "http",
+ "http-body",
+ "httparse",
+ "hyper",
+ "ipnet",
+ "libc",
+ "percent-encoding",
+ "pin-project-lite",
+ "socket2",
+ "tokio",
+ "tower-service",
+ "tracing",
+]
+
+[[package]]
+name = "icu_collections"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513"
+dependencies = [
+ "displaydoc",
+ "potential_utf",
+ "utf8_iter",
+ "yoke",
+ "zerofrom",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locale_core"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb"
+dependencies = [
+ "displaydoc",
+ "litemap",
+ "tinystr",
+ "writeable",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_normalizer"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f"
+dependencies = [
+ "icu_collections",
+ "icu_normalizer_data",
+ "icu_properties",
+ "icu_provider",
+ "smallvec",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_normalizer_data"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0"
+
+[[package]]
+name = "icu_properties"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148"
+dependencies = [
+ "displaydoc",
+ "icu_collections",
+ "icu_locale_core",
+ "icu_properties_data",
+ "icu_provider",
+ "zerotrie",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_properties_data"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa"
+
+[[package]]
+name = "icu_provider"
+version = "2.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73"
+dependencies = [
+ "displaydoc",
+ "icu_locale_core",
+ "writeable",
+ "yoke",
+ "zerofrom",
+ "zerotrie",
+ "zerovec",
+]
+
+[[package]]
+name = "idna"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
+dependencies = [
+ "idna_adapter",
+ "smallvec",
+ "utf8_iter",
+]
+
+[[package]]
+name = "idna_adapter"
+version = "1.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714"
+dependencies = [
+ "icu_normalizer",
+ "icu_properties",
+]
+
+[[package]]
+name = "indexmap"
+version = "2.14.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855"
+dependencies = [
+ "equivalent",
+ "hashbrown 0.17.1",
+]
+
+[[package]]
+name = "ipnet"
+version = "2.12.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "791930b43c0d5973160d90a8f3894509f2b273430f5c5c73b668636d0287c5c0"
+
+[[package]]
+name = "itertools"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
+dependencies = [
+ "either",
+]
+
+[[package]]
+name = "itoa"
+version = "1.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
+
+[[package]]
+name = "jni"
+version = "0.22.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498"
+dependencies = [
+ "cfg-if",
+ "combine",
+ "jni-macros",
+ "jni-sys",
+ "log",
+ "simd_cesu8",
+ "thiserror",
+ "walkdir",
+ "windows-link",
+]
+
+[[package]]
+name = "jni-macros"
+version = "0.22.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "rustc_version",
+ "simd_cesu8",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "jni-sys"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2"
+dependencies = [
+ "jni-sys-macros",
+]
+
+[[package]]
+name = "jni-sys-macros"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264"
+dependencies = [
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "jobserver"
+version = "0.1.35"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3"
+dependencies = [
+ "getrandom 0.4.3",
+ "libc",
+]
+
+[[package]]
+name = "js-sys"
+version = "0.3.106"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5"
+dependencies = [
+ "cfg-if",
+ "futures-util",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "jsonschema"
+version = "0.58.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ea18b8d5e1469b1bdd6b349169305141316a7c26da27f239773b65c830c0f5d6"
+dependencies = [
+ "ahash",
+ "bytecount",
+ "data-encoding",
+ "email_address",
+ "fancy-regex",
+ "fraction",
+ "getrandom 0.3.4",
+ "itoa",
+ "jsonschema-regex",
+ "jsonschema-value",
+ "num-cmp",
+ "num-traits",
+ "percent-encoding",
+ "referencing",
+ "regex",
+ "serde",
+ "serde_json",
+ "strum",
+ "unicode-general-category",
+ "uuid-simd",
+]
+
+[[package]]
+name = "jsonschema-regex"
+version = "0.58.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "854e9e22c420535035e95eed240cbfb4a5f4b7da74d122d63144e0c31926dbfd"
+dependencies = [
+ "regex-syntax",
+]
+
+[[package]]
+name = "jsonschema-value"
+version = "0.58.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4e3bfac11ac357ec620880025757d38c67da8fd5b9ef5024d19f0f360002b4ca"
+dependencies = [
+ "ahash",
+ "bytecount",
+ "fraction",
+ "getrandom 0.3.4",
+ "num-cmp",
+ "num-traits",
+ "serde_json",
+ "zmij",
+]
+
[[package]]
name = "leleka-backend-api"
version = "0.1.0"
+
+[[package]]
+name = "libc"
+version = "0.2.190"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78"
+
+[[package]]
+name = "linux-raw-sys"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
+
+[[package]]
+name = "litemap"
+version = "0.8.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae"
+
+[[package]]
+name = "lock_api"
+version = "0.4.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
+dependencies = [
+ "scopeguard",
+]
+
+[[package]]
+name = "log"
+version = "0.4.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
+
+[[package]]
+name = "lru-slab"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4050469837a6ff301cd14c1f8f24f88549e6d548f24f64e2148eb0f72cebc51f"
+
+[[package]]
+name = "matchit"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3"
+
+[[package]]
+name = "memchr"
+version = "2.8.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
+
+[[package]]
+name = "micromap"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c2a86d3146ed3995b5913c414f6664344b9617457320782e64f0bb44afd49d74"
+
+[[package]]
+name = "mime"
+version = "0.3.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
+
+[[package]]
+name = "mio"
+version = "1.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1788edb87fdc09c7e26304471e2f5be8cdefb1b6930d6e3985fc02ff53bf86ee"
+dependencies = [
+ "libc",
+ "wasi",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "multimap"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1d87ecb2933e8aeadb3e3a02b828fed80a7528047e68b4f424523a0981a3a084"
+
+[[package]]
+name = "ntapi"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3b335231dfd352ffb0f8017f3b6027a4917f7df785ea2143d8af2adc66980ae"
+dependencies = [
+ "winapi",
+]
+
+[[package]]
+name = "num"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23"
+dependencies = [
+ "num-bigint",
+ "num-complex",
+ "num-integer",
+ "num-iter",
+ "num-rational",
+ "num-traits",
+]
+
+[[package]]
+name = "num-bigint"
+version = "0.4.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367"
+dependencies = [
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-cmp"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "63335b2e2c34fae2fb0aa2cecfd9f0832a1e24b3b32ecec612c3426d46dc8aaa"
+
+[[package]]
+name = "num-complex"
+version = "0.4.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
+dependencies = [
+ "num-traits",
+]
+
+[[package]]
+name = "num-integer"
+version = "0.1.47"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b"
+dependencies = [
+ "num-traits",
+]
+
+[[package]]
+name = "num-iter"
+version = "0.1.46"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c92800bd69a1eac91786bcfe9da64a897eb72911b8dc3095decbd07429e8048b"
+dependencies = [
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-rational"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"
+dependencies = [
+ "num-bigint",
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-traits"
+version = "0.2.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
+dependencies = [
+ "autocfg",
+]
+
+[[package]]
+name = "objc2-core-foundation"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2a180dd8642fa45cdb7dd721cd4c11b1cadd4929ce112ebd8b9f5803cc79d536"
+dependencies = [
+ "bitflags",
+]
+
+[[package]]
+name = "objc2-io-kit"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "33fafba39597d6dc1fb709123dfa8289d39406734be322956a69f0931c73bb15"
+dependencies = [
+ "libc",
+ "objc2-core-foundation",
+]
+
+[[package]]
+name = "once_cell"
+version = "1.21.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
+
+[[package]]
+name = "openssl-probe"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe"
+
+[[package]]
+name = "outref"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e"
+
+[[package]]
+name = "parking_lot"
+version = "0.12.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
+dependencies = [
+ "lock_api",
+ "parking_lot_core",
+]
+
+[[package]]
+name = "parking_lot_core"
+version = "0.9.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "redox_syscall",
+ "smallvec",
+ "windows-link",
+]
+
+[[package]]
+name = "percent-encoding"
+version = "2.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
+
+[[package]]
+name = "petgraph"
+version = "0.8.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8701b58ea97060d5e5b155d383a69952a60943f0e6dfe30b04c287beb0b27455"
+dependencies = [
+ "fixedbitset",
+ "hashbrown 0.15.5",
+ "indexmap",
+]
+
+[[package]]
+name = "pin-project"
+version = "1.1.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2466b2336ed02bcdca6b294417127b90ec92038d1d5c4fbeac971a922e0e0924"
+dependencies = [
+ "pin-project-internal",
+]
+
+[[package]]
+name = "pin-project-internal"
+version = "1.1.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c96395f0a926bc13b1c17622aaddda1ecb55d49c8f1bf9777e4d877800a43f8b"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "pin-project-lite"
+version = "0.2.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
+
+[[package]]
+name = "pkg-config"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
+
+[[package]]
+name = "potential_utf"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661"
+dependencies = [
+ "zerovec",
+]
+
+[[package]]
+name = "prettyplease"
+version = "0.2.37"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
+dependencies = [
+ "proc-macro2",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.107"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "prost"
+version = "0.14.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "528ac67416ff8646872a3c02cad9cc4ee5dc9f9540c9b10771855c95cb2e5ae1"
+dependencies = [
+ "bytes",
+ "prost-derive",
+]
+
+[[package]]
+name = "prost-build"
+version = "0.14.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "03da047801ff44bb6a4d407d4860c05fd70bb81714e6b2f3812603d5b145b042"
+dependencies = [
+ "heck",
+ "itertools",
+ "log",
+ "multimap",
+ "petgraph",
+ "prettyplease",
+ "prost",
+ "prost-types",
+ "pulldown-cmark",
+ "pulldown-cmark-to-cmark",
+ "regex",
+ "syn 2.0.119",
+ "tempfile",
+]
+
+[[package]]
+name = "prost-derive"
+version = "0.14.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b570b25f7617e43d59005d0990ccb79e950a423952cea19671b7a876da390adf"
+dependencies = [
+ "anyhow",
+ "itertools",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "prost-types"
+version = "0.14.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f94967dc7688f3054c7fac87473ffae4cc4c3904800e2d9f5b857246d8963b0a"
+dependencies = [
+ "prost",
+]
+
+[[package]]
+name = "protoc-bin-vendored"
+version = "3.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8760a25b6ff9c620324822737e468478fa092234190d2e449760344354896ed9"
+dependencies = [
+ "protoc-bin-vendored-linux-aarch_64",
+ "protoc-bin-vendored-linux-ppcle_64",
+ "protoc-bin-vendored-linux-s390_64",
+ "protoc-bin-vendored-linux-x86_32",
+ "protoc-bin-vendored-linux-x86_64",
+ "protoc-bin-vendored-macos-aarch_64",
+ "protoc-bin-vendored-macos-x86_64",
+ "protoc-bin-vendored-win32",
+]
+
+[[package]]
+name = "protoc-bin-vendored-linux-aarch_64"
+version = "3.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "73fa2624782ca04cd44f51554566717377acd240e4c0016d757dd74fccc9324f"
+
+[[package]]
+name = "protoc-bin-vendored-linux-ppcle_64"
+version = "3.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e2417e9817fa237dab803ad4dda7357a111656e242959cc6b8f9a1a583367d42"
+
+[[package]]
+name = "protoc-bin-vendored-linux-s390_64"
+version = "3.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4d189c34636356a46a7ed3188233dc8a88c431278cc54d4a19b096a2d270e985"
+
+[[package]]
+name = "protoc-bin-vendored-linux-x86_32"
+version = "3.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "171e39f1e846e5f322ced1ac3b8d4cd3a3833ca24b6e5d58b3632574fe6204fa"
+
+[[package]]
+name = "protoc-bin-vendored-linux-x86_64"
+version = "3.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "873cdcc097593432086661aa432b8078f1cd87bfb02847c332e98ae2c119e966"
+
+[[package]]
+name = "protoc-bin-vendored-macos-aarch_64"
+version = "3.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eeb72df001783b8297847fe8f5f874ee400fd742c843d60583e8c23d96977c7f"
+
+[[package]]
+name = "protoc-bin-vendored-macos-x86_64"
+version = "3.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b04652167eca899dda05f32f5481adeaf25c623a98ce2fc146a001cc59a2add7"
+
+[[package]]
+name = "protoc-bin-vendored-win32"
+version = "3.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "263a3f48f01e7309e857138bd47f785585b4a005e8e56c6d2824ce91195999c3"
+
+[[package]]
+name = "pulldown-cmark"
+version = "0.13.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e9f068eba8e7071c5f9511831b44f32c740d5adf574e990f946ddb53db2f314e"
+dependencies = [
+ "bitflags",
+ "memchr",
+ "unicase",
+]
+
+[[package]]
+name = "pulldown-cmark-to-cmark"
+version = "22.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "84bbb29c624230c4bd1047bbdb2aa47e41c860e9665ce62ba9504eebe91bf867"
+dependencies = [
+ "pulldown-cmark",
+]
+
+[[package]]
+name = "quinn"
+version = "0.11.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4051e23e9185c255a7e33ef59cdbca87a22d359052eecd22fc6b901fb37d9d11"
+dependencies = [
+ "bytes",
+ "cfg_aliases",
+ "pin-project-lite",
+ "quinn-proto",
+ "quinn-udp",
+ "rustc-hash",
+ "rustls",
+ "socket2",
+ "thiserror",
+ "tokio",
+ "tracing",
+ "web-time",
+]
+
+[[package]]
+name = "quinn-proto"
+version = "0.11.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0e750cca55fe4f0439a15d0bb529da9651e79993e8e72c61a899a36d462befbe"
+dependencies = [
+ "aws-lc-rs",
+ "bytes",
+ "getrandom 0.4.3",
+ "lru-slab",
+ "rand",
+ "rand_pcg",
+ "ring",
+ "rustc-hash",
+ "rustls",
+ "rustls-pki-types",
+ "slab",
+ "thiserror",
+ "tinyvec",
+ "tracing",
+ "web-time",
+]
+
+[[package]]
+name = "quinn-udp"
+version = "0.5.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "af66907df18639dcf4db56ca65490cabc4b27a97dbadd96f2926cca73298f016"
+dependencies = [
+ "cfg_aliases",
+ "libc",
+ "once_cell",
+ "socket2",
+ "tracing",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.47"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "r-efi"
+version = "5.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
+
+[[package]]
+name = "r-efi"
+version = "6.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
+
+[[package]]
+name = "rand"
+version = "0.10.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af"
+dependencies = [
+ "chacha20",
+ "getrandom 0.4.3",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
+
+[[package]]
+name = "rand_pcg"
+version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a"
+dependencies = [
+ "rand_core",
+]
+
+[[package]]
+name = "redox_syscall"
+version = "0.5.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
+dependencies = [
+ "bitflags",
+]
+
+[[package]]
+name = "ref-cast"
+version = "1.0.27"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7e440fb4e4b4147295338efb76001ab9e4efc0e5839df2c47fc5ac2381d365c3"
+dependencies = [
+ "ref-cast-impl",
+]
+
+[[package]]
+name = "ref-cast-impl"
+version = "1.0.27"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92ecd8964f8453721699a1ed72037b0db49ce2f5a5138486ee89bed6f67cdf3a"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+]
+
+[[package]]
+name = "referencing"
+version = "0.58.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "590efadb0a669f1712c1e3ab810a55d4c3d20d0127c455f7236dd0710aba0346"
+dependencies = [
+ "ahash",
+ "fluent-uri",
+ "getrandom 0.3.4",
+ "hashbrown 0.17.1",
+ "itoa",
+ "micromap",
+ "parking_lot",
+ "percent-encoding",
+ "serde_json",
+]
+
+[[package]]
+name = "regex"
+version = "1.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-automata",
+ "regex-syntax",
+]
+
+[[package]]
+name = "regex-automata"
+version = "0.4.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-syntax",
+]
+
+[[package]]
+name = "regex-syntax"
+version = "0.8.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
+
+[[package]]
+name = "reqwest"
+version = "0.13.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "16a1cfa75cc186dd73d5818e510e042e40927bccc9c236b061cea97e1eb08029"
+dependencies = [
+ "base64 0.23.1",
+ "bytes",
+ "futures-core",
+ "futures-util",
+ "http",
+ "http-body",
+ "http-body-util",
+ "hyper",
+ "hyper-rustls",
+ "hyper-util",
+ "js-sys",
+ "log",
+ "percent-encoding",
+ "pin-project-lite",
+ "quinn",
+ "rustls",
+ "rustls-pki-types",
+ "rustls-platform-verifier",
+ "sync_wrapper",
+ "tokio",
+ "tokio-rustls",
+ "tokio-util",
+ "tower",
+ "tower-http",
+ "tower-service",
+ "url",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "wasm-streams",
+ "web-sys",
+]
+
+[[package]]
+name = "ring"
+version = "0.17.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
+dependencies = [
+ "cc",
+ "cfg-if",
+ "getrandom 0.2.17",
+ "libc",
+ "untrusted",
+ "windows-sys 0.52.0",
+]
+
+[[package]]
+name = "rustc-hash"
+version = "2.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
+
+[[package]]
+name = "rustc_version"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
+dependencies = [
+ "semver",
+]
+
+[[package]]
+name = "rustix"
+version = "1.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d"
+dependencies = [
+ "bitflags",
+ "errno",
+ "libc",
+ "linux-raw-sys",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "rustls"
+version = "0.23.45"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634"
+dependencies = [
+ "aws-lc-rs",
+ "once_cell",
+ "rustls-pki-types",
+ "rustls-webpki",
+ "subtle",
+ "zeroize",
+]
+
+[[package]]
+name = "rustls-native-certs"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dab5152771c58876a2146916e53e35057e1a4dfa2b9df0f0305b07f611fdea4d"
+dependencies = [
+ "openssl-probe",
+ "rustls-pki-types",
+ "schannel",
+ "security-framework",
+]
+
+[[package]]
+name = "rustls-pki-types"
+version = "1.15.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96"
+dependencies = [
+ "web-time",
+ "zeroize",
+]
+
+[[package]]
+name = "rustls-platform-verifier"
+version = "0.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1167586491e2b18b8bfbb293e8180ec17c201c4f076d7cb3070ca964e7598f98"
+dependencies = [
+ "core-foundation",
+ "core-foundation-sys",
+ "jni",
+ "log",
+ "once_cell",
+ "rustls",
+ "rustls-native-certs",
+ "rustls-platform-verifier-android",
+ "rustls-webpki",
+ "security-framework",
+ "security-framework-sys",
+ "webpki-root-certs",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "rustls-platform-verifier-android"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eec689c0bc40ff2458a5977b6619cb718087084a18e02a131c599b62d05e1a5f"
+
+[[package]]
+name = "rustls-webpki"
+version = "0.103.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2"
+dependencies = [
+ "aws-lc-rs",
+ "ring",
+ "rustls-pki-types",
+ "untrusted",
+]
+
+[[package]]
+name = "rustversion"
+version = "1.0.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
+
+[[package]]
+name = "ryu"
+version = "1.0.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
+
+[[package]]
+name = "same-file"
+version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
+dependencies = [
+ "winapi-util",
+]
+
+[[package]]
+name = "schannel"
+version = "0.1.29"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939"
+dependencies = [
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "scopeguard"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
+
+[[package]]
+name = "security-framework"
+version = "3.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d"
+dependencies = [
+ "bitflags",
+ "core-foundation",
+ "core-foundation-sys",
+ "libc",
+ "security-framework-sys",
+]
+
+[[package]]
+name = "security-framework-sys"
+version = "2.17.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3"
+dependencies = [
+ "core-foundation-sys",
+ "libc",
+]
+
+[[package]]
+name = "semver"
+version = "1.0.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
+
+[[package]]
+name = "serde"
+version = "1.0.229"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
+dependencies = [
+ "serde_core",
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_core"
+version = "1.0.229"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
+dependencies = [
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_derive"
+version = "1.0.229"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+]
+
+[[package]]
+name = "serde_json"
+version = "1.0.151"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
+dependencies = [
+ "itoa",
+ "memchr",
+ "serde",
+ "serde_core",
+ "zmij",
+]
+
+[[package]]
+name = "serde_path_to_error"
+version = "0.1.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "10a9ff822e371bb5403e391ecd83e182e0e77ba7f6fe0160b795797109d1b457"
+dependencies = [
+ "itoa",
+ "serde",
+ "serde_core",
+]
+
+[[package]]
+name = "serde_urlencoded"
+version = "0.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
+dependencies = [
+ "form_urlencoded",
+ "itoa",
+ "ryu",
+ "serde",
+]
+
+[[package]]
+name = "sha2"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4"
+dependencies = [
+ "cfg-if",
+ "cpufeatures",
+ "digest",
+]
+
+[[package]]
+name = "shlex"
+version = "2.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
+
+[[package]]
+name = "signal-hook-registry"
+version = "1.4.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
+dependencies = [
+ "errno",
+ "libc",
+]
+
+[[package]]
+name = "simd_cesu8"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520"
+dependencies = [
+ "rustc_version",
+ "simdutf8",
+]
+
+[[package]]
+name = "simdutf8"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e"
+
+[[package]]
+name = "slab"
+version = "0.4.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
+
+[[package]]
+name = "smallvec"
+version = "1.16.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f9395f0f0eee849a9b707b2f06bb92a6a422090e2123bb2ef8e87a0e61892a8e"
+
+[[package]]
+name = "socket2"
+version = "0.6.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4"
+dependencies = [
+ "libc",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "stable_deref_trait"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
+
+[[package]]
+name = "strata-control"
+version = "0.1.0"
+dependencies = [
+ "aho-corasick",
+ "axum",
+ "cc",
+ "fancy-regex",
+ "futures-core",
+ "hex",
+ "http-body",
+ "http-body-util",
+ "jsonschema",
+ "libc",
+ "regex",
+ "regex-syntax",
+ "reqwest",
+ "serde",
+ "serde_json",
+ "sha2",
+ "subtle",
+ "tokio",
+ "webpki-root-certs",
+]
+
+[[package]]
+name = "strata-desktop-core"
+version = "0.1.0"
+dependencies = [
+ "async-stream",
+ "axum",
+ "futures-util",
+ "prost",
+ "protoc-bin-vendored",
+ "reqwest",
+ "serde",
+ "serde_json",
+ "sha2",
+ "subtle",
+ "sysinfo",
+ "tokio",
+ "tokio-stream",
+ "tonic",
+ "tonic-prost",
+ "tonic-prost-build",
+ "tower",
+ "uuid",
+]
+
+[[package]]
+name = "strum"
+version = "0.28.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd"
+dependencies = [
+ "strum_macros",
+]
+
+[[package]]
+name = "strum_macros"
+version = "0.28.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664"
+dependencies = [
+ "heck",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "subtle"
+version = "2.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
+
+[[package]]
+name = "syn"
+version = "2.0.119"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "syn"
+version = "3.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "sync_wrapper"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263"
+dependencies = [
+ "futures-core",
+]
+
+[[package]]
+name = "synstructure"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+]
+
+[[package]]
+name = "sysinfo"
+version = "0.39.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d2071df9448915b71c4fe6d25deaf1c22f12bd234f01540b77312bb8e41361e6"
+dependencies = [
+ "libc",
+ "memchr",
+ "ntapi",
+ "objc2-core-foundation",
+ "objc2-io-kit",
+ "windows",
+]
+
+[[package]]
+name = "tempfile"
+version = "3.27.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"
+dependencies = [
+ "fastrand",
+ "getrandom 0.4.3",
+ "once_cell",
+ "rustix",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "thiserror"
+version = "2.0.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
+dependencies = [
+ "thiserror-impl",
+]
+
+[[package]]
+name = "thiserror-impl"
+version = "2.0.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+]
+
+[[package]]
+name = "tinystr"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643"
+dependencies = [
+ "displaydoc",
+ "zerovec",
+]
+
+[[package]]
+name = "tinyvec"
+version = "1.13.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee"
+
+[[package]]
+name = "tokio"
+version = "1.53.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e95f91fcc7a621e8b030f6aa23c71fe9838ae2fb4d8118b75602a328f5144044"
+dependencies = [
+ "bytes",
+ "libc",
+ "mio",
+ "pin-project-lite",
+ "signal-hook-registry",
+ "socket2",
+ "tokio-macros",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "tokio-macros"
+version = "2.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+]
+
+[[package]]
+name = "tokio-rustls"
+version = "0.26.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c9cc2678c2cdd569ef8215e2afd7954ada2ae20b4fdd2c5fe6139a3b02d105db"
+dependencies = [
+ "rustls",
+ "tokio",
+]
+
+[[package]]
+name = "tokio-stream"
+version = "0.1.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a3d06f0b082ba57c26b79407372e57cf2a1e28124f78e9479fe80322cf53420b"
+dependencies = [
+ "futures-core",
+ "pin-project-lite",
+ "tokio",
+ "tokio-util",
+]
+
+[[package]]
+name = "tokio-util"
+version = "0.7.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "494815d09bf52b5548659851081238f0ca39ff638363907596da739561c62c52"
+dependencies = [
+ "bytes",
+ "futures-core",
+ "futures-sink",
+ "libc",
+ "pin-project-lite",
+ "tokio",
+]
+
+[[package]]
+name = "tonic"
+version = "0.14.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac2a5518c70fa84342385732db33fb3f44bc4cc748936eb5833d2df34d6445ef"
+dependencies = [
+ "async-trait",
+ "axum",
+ "base64 0.22.1",
+ "bytes",
+ "h2",
+ "http",
+ "http-body",
+ "http-body-util",
+ "hyper",
+ "hyper-timeout",
+ "hyper-util",
+ "percent-encoding",
+ "pin-project",
+ "socket2",
+ "sync_wrapper",
+ "tokio",
+ "tokio-stream",
+ "tower",
+ "tower-layer",
+ "tower-service",
+ "tracing",
+]
+
+[[package]]
+name = "tonic-build"
+version = "0.14.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c68f61875ac5293cf72e6c8cf0158086428c82c37229e98c840878f1706b0322"
+dependencies = [
+ "prettyplease",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "tonic-prost"
+version = "0.14.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "50849f68853be452acf590cde0b146665b8d507b3b8af17261df47e02c209ea0"
+dependencies = [
+ "bytes",
+ "prost",
+ "tonic",
+]
+
+[[package]]
+name = "tonic-prost-build"
+version = "0.14.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "654e5643eff75d7f8c99197ce1440ed19a3474eada74c12bbac488b2cafdae27"
+dependencies = [
+ "prettyplease",
+ "proc-macro2",
+ "prost-build",
+ "prost-types",
+ "quote",
+ "syn 2.0.119",
+ "tempfile",
+ "tonic-build",
+]
+
+[[package]]
+name = "tower"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4"
+dependencies = [
+ "futures-core",
+ "futures-util",
+ "indexmap",
+ "pin-project-lite",
+ "slab",
+ "sync_wrapper",
+ "tokio",
+ "tokio-util",
+ "tower-layer",
+ "tower-service",
+ "tracing",
+]
+
+[[package]]
+name = "tower-http"
+version = "0.6.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840"
+dependencies = [
+ "bitflags",
+ "bytes",
+ "futures-util",
+ "http",
+ "http-body",
+ "pin-project-lite",
+ "tower",
+ "tower-layer",
+ "tower-service",
+ "url",
+]
+
+[[package]]
+name = "tower-layer"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e"
+
+[[package]]
+name = "tower-service"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
+
+[[package]]
+name = "tracing"
+version = "0.1.44"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
+dependencies = [
+ "log",
+ "pin-project-lite",
+ "tracing-attributes",
+ "tracing-core",
+]
+
+[[package]]
+name = "tracing-attributes"
+version = "0.1.31"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "tracing-core"
+version = "0.1.36"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a"
+dependencies = [
+ "once_cell",
+]
+
+[[package]]
+name = "try-lock"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
+
+[[package]]
+name = "typenum"
+version = "1.20.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
+
+[[package]]
+name = "unicase"
+version = "2.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "357cc3acc6a036009fd6c973ed009037c732d60d0b4f6c673e9041497482a28f"
+
+[[package]]
+name = "unicode-general-category"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b993bddc193ae5bd0d623b49ec06ac3e9312875fdae725a975c51db1cc1677f"
+
+[[package]]
+name = "unicode-ident"
+version = "1.0.26"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954"
+
+[[package]]
+name = "untrusted"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
+
+[[package]]
+name = "url"
+version = "2.5.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
+dependencies = [
+ "form_urlencoded",
+ "idna",
+ "percent-encoding",
+ "serde",
+]
+
+[[package]]
+name = "utf8_iter"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
+
+[[package]]
+name = "uuid"
+version = "1.27.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "97277d36b9c3ace13e58fa6e753f8b0bbbf302a18dd193240d70f9e29681059a"
+dependencies = [
+ "getrandom 0.4.3",
+ "js-sys",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "uuid-simd"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "23b082222b4f6619906941c17eb2297fff4c2fb96cb60164170522942a200bd8"
+dependencies = [
+ "outref",
+ "vsimd",
+]
+
+[[package]]
+name = "version_check"
+version = "0.9.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
+
+[[package]]
+name = "vsimd"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c3082ca00d5a5ef149bb8b555a72ae84c9c59f7250f013ac822ac2e49b19c64"
+
+[[package]]
+name = "walkdir"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
+dependencies = [
+ "same-file",
+ "winapi-util",
+]
+
+[[package]]
+name = "want"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
+dependencies = [
+ "try-lock",
+]
+
+[[package]]
+name = "wasi"
+version = "0.11.1+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
+
+[[package]]
+name = "wasip2"
+version = "1.0.4+wasi-0.2.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b67efb37e106e55ce722a510d6b5f9c17f083e5fc79afc2badeb12cc313d9487"
+dependencies = [
+ "wit-bindgen",
+]
+
+[[package]]
+name = "wasm-bindgen"
+version = "0.2.129"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409"
+dependencies = [
+ "cfg-if",
+ "once_cell",
+ "rustversion",
+ "wasm-bindgen-macro",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-futures"
+version = "0.4.79"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3cbab34de2d982e9b48e18d216d04c4a6f641066ff19ffb699980f591ee3610e"
+dependencies = [
+ "js-sys",
+ "tokio",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "wasm-bindgen-macro"
+version = "0.2.129"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535"
+dependencies = [
+ "quote",
+ "wasm-bindgen-macro-support",
+]
+
+[[package]]
+name = "wasm-bindgen-macro-support"
+version = "0.2.129"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7"
+dependencies = [
+ "bumpalo",
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-shared"
+version = "0.2.129"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "wasm-streams"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9d1ec4f6517c9e11ae630e200b2b65d193279042e28edd4a2cda233e46670bbb"
+dependencies = [
+ "futures-util",
+ "js-sys",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "web-sys",
+]
+
+[[package]]
+name = "web-sys"
+version = "0.3.106"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "88261b9deccee56594c11a3460c462c41f58d148598fe70ad77070126a68aba4"
+dependencies = [
+ "js-sys",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "web-time"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
+dependencies = [
+ "js-sys",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "webpki-root-certs"
+version = "1.0.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b96554aa2acc8ccdb7e1c9a58a7a68dd5d13bccc69cd124cb09406db612a1c9b"
+dependencies = [
+ "rustls-pki-types",
+]
+
+[[package]]
+name = "winapi"
+version = "0.3.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
+dependencies = [
+ "winapi-i686-pc-windows-gnu",
+ "winapi-x86_64-pc-windows-gnu",
+]
+
+[[package]]
+name = "winapi-i686-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
+
+[[package]]
+name = "winapi-util"
+version = "0.1.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
+dependencies = [
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "winapi-x86_64-pc-windows-gnu"
+version = "0.4.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
+
+[[package]]
+name = "windows"
+version = "0.62.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "527fadee13e0c05939a6a05d5bd6eec6cd2e3dbd648b9f8e447c6518133d8580"
+dependencies = [
+ "windows-collections",
+ "windows-core",
+ "windows-future",
+ "windows-numerics",
+]
+
+[[package]]
+name = "windows-collections"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "23b2d95af1a8a14a3c7367e1ed4fc9c20e0a26e79551b1454d72583c97cc6610"
+dependencies = [
+ "windows-core",
+]
+
+[[package]]
+name = "windows-core"
+version = "0.62.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b8e83a14d34d0623b51dce9581199302a221863196a1dde71a7663a4c2be9deb"
+dependencies = [
+ "windows-implement",
+ "windows-interface",
+ "windows-link",
+ "windows-result",
+ "windows-strings",
+]
+
+[[package]]
+name = "windows-future"
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e1d6f90251fe18a279739e78025bd6ddc52a7e22f921070ccdc67dde84c605cb"
+dependencies = [
+ "windows-core",
+ "windows-link",
+ "windows-threading",
+]
+
+[[package]]
+name = "windows-implement"
+version = "0.60.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "053e2e040ab57b9dc951b72c264860db7eb3b0200ba345b4e4c3b14f67855ddf"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "windows-interface"
+version = "0.59.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3f316c4a2570ba26bbec722032c4099d8c8bc095efccdc15688708623367e358"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "windows-link"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
+
+[[package]]
+name = "windows-numerics"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6e2e40844ac143cdb44aead537bbf727de9b044e107a0f1220392177d15b0f26"
+dependencies = [
+ "windows-core",
+ "windows-link",
+]
+
+[[package]]
+name = "windows-result"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7781fa89eaf60850ac3d2da7af8e5242a5ea78d1a11c49bf2910bb5a73853eb5"
+dependencies = [
+ "windows-link",
+]
+
+[[package]]
+name = "windows-strings"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7837d08f69c77cf6b07689544538e017c1bfcf57e34b4c0ff58e6c2cd3b37091"
+dependencies = [
+ "windows-link",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.52.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
+dependencies = [
+ "windows-targets",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.61.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
+dependencies = [
+ "windows-link",
+]
+
+[[package]]
+name = "windows-targets"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
+dependencies = [
+ "windows_aarch64_gnullvm",
+ "windows_aarch64_msvc",
+ "windows_i686_gnu",
+ "windows_i686_gnullvm",
+ "windows_i686_msvc",
+ "windows_x86_64_gnu",
+ "windows_x86_64_gnullvm",
+ "windows_x86_64_msvc",
+]
+
+[[package]]
+name = "windows-threading"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3949bd5b99cafdf1c7ca86b43ca564028dfe27d66958f2470940f73d86d75b37"
+dependencies = [
+ "windows-link",
+]
+
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
+
+[[package]]
+name = "windows_i686_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
+
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
+
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+
+[[package]]
+name = "wit-bindgen"
+version = "0.57.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1ebf944e87a7c253233ad6766e082e3cd714b5d03812acc24c318f549614536e"
+
+[[package]]
+name = "writeable"
+version = "0.6.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
+
+[[package]]
+name = "yoke"
+version = "0.8.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5"
+dependencies = [
+ "stable_deref_trait",
+ "yoke-derive",
+ "zerofrom",
+]
+
+[[package]]
+name = "yoke-derive"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+ "synstructure",
+]
+
+[[package]]
+name = "zerocopy"
+version = "0.8.59"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6df92bf3d9227be3d53173901ddbffac2babc27ae50f397776ffd6dc33f800cb"
+dependencies = [
+ "zerocopy-derive",
+]
+
+[[package]]
+name = "zerocopy-derive"
+version = "0.8.59"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac4f328cf2f05d084e496c3e9c3f33ed0a183656a16e1fcec4d464d8373aec82"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "zerofrom"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272"
+dependencies = [
+ "zerofrom-derive",
+]
+
+[[package]]
+name = "zerofrom-derive"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+ "synstructure",
+]
+
+[[package]]
+name = "zeroize"
+version = "1.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e"
+
+[[package]]
+name = "zerotrie"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f"
+dependencies = [
+ "displaydoc",
+ "yoke",
+ "zerofrom",
+]
+
+[[package]]
+name = "zerovec"
+version = "0.11.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8"
+dependencies = [
+ "yoke",
+ "zerofrom",
+ "zerovec-derive",
+]
+
+[[package]]
+name = "zerovec-derive"
+version = "0.11.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+]
+
+[[package]]
+name = "zmij"
+version = "1.0.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
diff --git a/Cargo.toml b/Cargo.toml
index baa34093..d73133ff 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,11 +1,12 @@
[workspace]
resolver = "3"
-members = ["crates/backend-api"]
+members = ["crates/backend-api", "control-plane", "desktop-core"]
+default-members = ["crates/backend-api", "control-plane", "desktop-core"]
[workspace.package]
edition = "2024"
license = "Apache-2.0"
-rust-version = "1.85"
+rust-version = "1.99"
[workspace.lints.rust]
unsafe_code = "forbid"
diff --git a/PROJECT_CHARTER.md b/PROJECT_CHARTER.md
new file mode 100644
index 00000000..7934b38f
--- /dev/null
+++ b/PROJECT_CHARTER.md
@@ -0,0 +1,531 @@
+# Strata Next — постановка задачі та цілі проєкту
+
+**Статус:** проєктний документ v0.1
+**Дата:** 2026-10-02
+**Тип:** окремий проєкт і форк Strata
+**Робоча назва:** `strata-next`
+
+## 1. Мета проєкту
+
+Створити production-ready inference runtime для локального та орендованого GPU-обладнання, оптимізований для автономних Codex-агентів із довгим контекстом.
+
+Результат має:
+
+1. давати максимально можливу кількість коректно згенерованих токенів за секунду;
+2. підтримувати один потік із контекстом 512K або два незалежні потоки по 256K;
+3. масштабуватися горизонтально на кілька орендованих GPU-серверів;
+4. працювати з Codex без зовнішнього compatibility bridge;
+5. зберігати якість моделі та достовірність tool calls;
+6. розгортатися однією командою на чистому Linux-сервері з NVIDIA GPU;
+7. дозволяти відтворювати й перевіряти кожне заявлене прискорення;
+8. після завантаження й перевірки моделі створювати придатний для запуску стиснений артефакт; цільовий GPU-шлях тримає стиснені ваги у VRAM і декодує потрібні блоки CUDA-декодером перед обчисленням.
+
+Основна модель першого етапу — **Qwen3.8-Flash-Next IQ3_S**. Основне цільове обладнання — **RTX 5090 32 GB + Ryzen 9 9950X3D + 128 GB RAM**.
+
+## 2. Проблема
+
+Поточна Strata вже забезпечує високу швидкість Qwen3.8-Flash-Next, але має обмеження для production-використання з Codex:
+
+- немає нативного повного `/v1/responses` API;
+- `text.format` і structured output підтримуються не повністю;
+- помилка логування або заповнений диск можуть обірвати SSE до `finish_reason`;
+- сервер обслуговує один запит за раз;
+- немає production scheduler для кількох GPU-вузлів;
+- Python control plane ускладнює автономне розгортання й контроль процесів;
+- експертний кеш, KV cache та speculative decoding оптимізуються окремо, без єдиного performance budget;
+- дослідження `koference` ще не інтегровані в inference engine;
+- можливість Value-Only Cache для Qwen3.8 не перевірена.
+
+Проєкт має усунути ці обмеження та перетворити Strata на керований, вимірюваний і горизонтально масштабований runtime.
+
+## 3. Вихідна база
+
+### 3.1 Strata
+
+- C++20 inference engine;
+- CUDA backend для NVIDIA;
+- HIP backend для AMD;
+- native quantized kernels;
+- expert cache у VRAM із CPU-обчисленням cache misses;
+- MTP і suffix speculative decoding;
+- KV streaming між RAM і VRAM;
+- формати KV: FP16, INT8, Q4_0, K8V4;
+- conversation/prefix cache;
+- підтримка Qwen3.8-Flash-Next, Coder і Swift;
+- активний upstream, який потрібно регулярно синхронізувати.
+
+### 3.2 Поточний виміряний baseline
+
+Поточна конфігурація:
+
+- Qwen3.8-Flash-Next IQ3_S;
+- 1 слот;
+- контекст 256K;
+- INT8 KV;
+- 32K KV resident у VRAM, решта через KV streaming;
+- MTP `spec=4`;
+- RTX 5090 32 GB.
+
+Орієнтири з поточного журналу реального агентного трафіку:
+
+- медіана decode для останніх 100 запитів із prompt ≥50K та output ≥200: **118 ток/с**;
+- 10–90 перцентиль: **81–138 ток/с**;
+- cold prefill великих prompt: приблизно **5,4–5,9 тис. ток/с**;
+- expert-cache hit rate: переважно **90–96%**;
+- медіанний draft acceptance: приблизно **70%**.
+
+Ці числа є початковими орієнтирами. Офіційний baseline проєкту має бути повторно зафіксований контрольованим benchmark harness.
+
+### 3.3 Koference
+
+Проєкт `koference` уже містить:
+
+- формат прогресивного стиснення KAR;
+- CUDA-декодер KAR;
+- виміряну швидкість декодування великих tensor blocks;
+- окреме кодування expert bank, dense matrices і PLE lookup tables;
+- `kar_decode_rows()` для декодування лише потрібних рядків PLE;
+- дослідження resident/offload режимів;
+- scheduler і memory planner;
+- activation tracing та quality/speed harness;
+- результати rate-distortion і перевірки якості на реальній Qwen3.8-Flash-Next.
+
+### 3.4 Ресурси проєкту
+
+- локальна RTX 5090 32 GB для розробки й профілювання;
+- 128 GB системної RAM;
+- доступ до орендованих NVIDIA GPU-серверів для масштабних тестів;
+- готові Qwen3.8 GGUF-квантизації;
+- реальний довготривалий workload Codex + LeaseVibe MCP;
+- можливість збирати request/response, performance і quality telemetry;
+- AI-assisted розробка, тому обсяг ручного переписування коду не є основним обмеженням;
+- наявний дослідницький код `koference`, який можна переносити в C++/CUDA engine.
+
+## 4. Обов'язкові вимоги
+
+### 4.1 Контекст і паралельність
+
+Runtime повинен підтримувати два режими:
+
+1. `1 × 512K` — один агентний потік із контекстом 512K;
+2. `2 × 256K` — два незалежні потоки з контекстом 256K кожен.
+
+Режим `1 × 256K` допускається як локальний профіль для максимальної швидкості на 32 GB VRAM, але не замінює два обов'язкові режими.
+
+### 4.2 Якість
+
+- Жодна lossy-оптимізація не вмикається за замовчуванням без окремого quality gate.
+- Зміни API, scheduler, Rust control plane та non-lossy kernels повинні зберігати результат у межах визначеної числової похибки або давати ідентичний greedy output.
+- Lossy-зміни перевіряються окремо на perplexity, long-context retrieval, tool calling і завершенні реальних задач.
+- Помилка або деградація не можуть приховуватися усередненням кількох benchmark-наборів.
+
+### 4.3 Відтворюваність
+
+Кожен performance result повинен містити:
+
+- commit engine і control plane;
+- модель, quant і digest файлів;
+- GPU, driver, CUDA toolkit і power limit;
+- параметри контексту, KV, slots, batch і speculation;
+- cold/warm стан кешів;
+- prompt/output token counts;
+- TTFT, prefill tok/s, decode tok/s і end-to-end wall time;
+- draft acceptance, expert-cache hit і KV-streaming hit;
+- середнє, медіану, перцентилі та довірчий інтервал;
+- результат quality gate.
+
+### 4.4 Мінімальний значущий приріст
+
+- Повторюване покращення від **1%** вважається корисним.
+- Зміна приймається як performance improvement лише після парного A/B тесту.
+- Для змін порядку 1% потрібно щонайменше 30 повторів або достатня кількість парних вимірів для вузького довірчого інтервалу.
+- Результат не приймається, якщо приріст швидкості компенсується неприйнятною втратою якості або нестабільністю.
+
+## 5. Цільова архітектура
+
+```text
+Codex / OpenAI-compatible clients
+ │
+ ▼
+Rust control plane
+ ├─ /v1/responses
+ ├─ /v1/chat/completions
+ ├─ /v1/messages
+ ├─ structured output / text.format
+ ├─ SSE, cancellation, backpressure
+ ├─ auth, health, readiness, metrics
+ ├─ request routing and queues
+ └─ worker lifecycle management
+ │
+ ▼
+C++20/CUDA Strata engine fork
+ ├─ native quantized inference
+ ├─ expert cache and cache-miss paths
+ ├─ MTP / suffix speculation
+ ├─ KV streaming and Value-Only experiments
+ ├─ continuous batching / multiple slots
+ └─ Koference/KAR kernels
+ │
+ ▼
+GPU / RAM / local NVMe model storage
+```
+
+Python залишається offline-інструментом для:
+
+- завантаження й конвертації моделей;
+- calibration;
+- KAR packing;
+- дослідницьких експериментів;
+- формування eval-наборів.
+
+Production serving не повинен залежати від Python runtime.
+
+## 6. Цілі проєкту
+
+### G1. Надійний нативний API для Codex
+
+Реалізувати в Rust control plane:
+
+- OpenAI Responses API;
+- Chat Completions API;
+- Anthropic Messages API;
+- streaming і non-streaming режими;
+- tool calls;
+- reasoning content;
+- `text.format` і structured output;
+- коректні `finish_reason` та terminal events;
+- cancellation і timeout;
+- обмеження розміру запитів;
+- health, readiness і status endpoints.
+
+**Критерій приймання:** записані реальні Codex-сесії відтворюються через Rust control plane без protocol errors, втрачених tool calls або незавершених SSE streams.
+
+### G2. Простий deployment
+
+Підготувати versioned OCI image і один керівний executable.
+
+Deployment повинен:
+
+- запускатися однією командою;
+- автоматично визначати GPU і допустимий memory plan;
+- використовувати зовнішній model volume;
+- підтримувати конфігурацію через файл та environment variables;
+- мати readiness лише після повного завантаження моделі;
+- коректно завершувати й перезапускати worker;
+- не вимагати ручного встановлення Python dependencies.
+
+**Критерій приймання:** чистий Linux GPU-вузол після встановлення драйвера запускає готовий endpoint однією командою; модель не завантажується повторно після перезапуску контейнера.
+
+### G3. Єдиний performance harness
+
+Створити benchmark suite для:
+
+- raw engine;
+- HTTP/SSE control plane;
+- cold і warm prefill;
+- decode без speculation;
+- MTP і suffix speculation;
+- 1×256K, 2×256K і 1×512K;
+- коротких, довгих, повторюваних і реальних agent outputs;
+- single-slot latency та aggregate multi-slot throughput;
+- RAM, VRAM, PCIe і NVMe traffic.
+
+**Критерій приймання:** будь-яку оптимізацію можна перевірити однією командою та отримати machine-readable JSON і Markdown-звіт.
+
+### G4. Максимізація speculative decoding
+
+Оптимізувати:
+
+- розмір MTP verify window;
+- адаптивний вибір speculation depth;
+- перемикання між MTP і suffix drafts;
+- workload-specific policy без зміни якості;
+- взаємодію speculation з expert cache і multi-token CPU kernels.
+
+**Критерій приймання:** приріст decode tok/s на реальному agent workload підтверджений A/B тестом; greedy output або quality gate не погіршується.
+
+### G5. Оптимізація GPU kernels і memory traffic
+
+Виконати профілювання Nsight Systems/Compute та оптимізувати:
+
+- quantized GEMV/MMQ;
+- QSA attention;
+- KV append/read;
+- synchronization points;
+- CUDA Graph capture;
+- allocations і staging buffers;
+- kernel fusion;
+- compile flags, LTO та спеціалізацію під `sm_120`;
+- overlap CPU, PCIe і GPU work.
+
+**Критерій приймання:** кожна прийнята зміна має профіль до/після та не створює нової глобальної синхронізації в hot path.
+
+### G6. Інтеграція Koference/KAR
+
+Цільовий ланцюг розгортання: `fetch` → перевірка SHA-256 джерела → `prepare` у KAR-2 з provenance та digest → перевірка архіву → передача стисненого представлення на GPU → декодування потрібних блоків на GPU → multiply. Початковий IQ3_S сам уже квантований; перекодування до KAR не можна вважати збереженням якості без окремих вимірювань. Поки quality gate KAR не пройдено, базовий IQ3_S шлях залишається контрольним і жодне lossy-перетворення не стає типовим режимом.
+
+Перевірити й реалізувати окремо:
+
+1. KAR для expert cache misses;
+2. GPU decode стисненого експерта з подальшим GPU multiply;
+3. прогресивні рівні точності для hot/cold experts;
+4. `kar_decode_rows()` для PLE;
+5. окремий rate budget для expert bank, dense matrices і PLE;
+6. scheduler, який перекриває decode, transfer і multiply.
+
+**Критерій приймання:** інтегрований шлях швидший за поточний CPU cache-miss path на однаковій якості та не збільшує median latency при високому cache hit.
+
+### G7. Value-Only Cache для Qwen3.8
+
+Два явні режими конфігурації кешу: `with-key` (контрольний KV cache) і `without-key` (експериментальний Value-Only). Режим без K не означає видалення окремих QSA indexer keys. Артефакт моделі, параметри перетворення `Wq_keyless` і вибір режиму мають бути прив'язані до digest та журналу вимірювань.
+
+Дослідити retrofit методу Keyless Attention:
+
+1. витягнути `Wq`, `Wk`, `Wv` для 12 QSA-шарів;
+2. знайти найкраще algebraic/least-squares перетворення `Wq_keyless`;
+3. виміряти residual у weight space;
+4. перевірити attention logits і layer outputs на реальних activation traces;
+5. за потреби навчити лише routing matrices, залишивши решту моделі замороженою;
+6. реалізувати Value-Only kernel у Strata;
+7. перевірити повну модель на 256K і 512K.
+
+Очікувана економія INT8 K:
+
+- 1×256K: приблизно **1,55 GiB**;
+- 2×256K: приблизно **3,1 GiB**;
+- 1×512K: приблизно **3,1 GiB**.
+
+Окремі QSA indexer keys зберігаються.
+
+**Критерій приймання:** режим проходить quality gate і дає вимірюваний виграш у пам'яті; швидкість і якість публікуються незалежно одна від одної. Якщо quality gate не пройдено, режим залишається експериментальним і не вмикається за замовчуванням.
+
+### G8. Continuous batching і кілька slots
+
+Реалізувати:
+
+- два незалежні 256K slots;
+- continuous batching;
+- fair scheduling;
+- окремий conversation/KV state для кожного slot;
+- контроль VRAM/RAM admission до запуску запиту;
+- пріоритет latency або aggregate throughput через конфігурацію.
+
+**Критерій приймання:** два паралельні агенти не пошкоджують стан один одного, не блокують control plane та дають більший aggregate tok/s, ніж послідовне виконання тих самих запитів.
+
+### G9. Горизонтальне масштабування
+
+Створити fleet scheduler для кількох GPU-вузлів:
+
+- реєстрація worker nodes;
+- health і capacity discovery;
+- sticky routing за conversation/prefix cache;
+- least-loaded routing для нових сесій;
+- backpressure;
+- retry лише до початку видимого stream або через явний resumable protocol;
+- graceful drain вузла;
+- централізовані метрики;
+- окреме зберігання model artifacts і runtime images.
+
+**Критерій приймання:** додавання нового вузла збільшує доступну concurrency без зміни клієнтської конфігурації; активні сесії не мігрують без явного механізму перенесення state.
+
+### G10. Телеметрія для аналізу й подальшого tuning
+
+Логувати в структурованому форматі:
+
+- request metadata;
+- response metadata;
+- optional full request/response capture;
+- token counts;
+- TTFT і wall time;
+- prefill/decode tok/s;
+- speculation source, depth і acceptance;
+- expert-cache hit/miss;
+- KV hit/transfer;
+- GPU/CPU/RAM/VRAM usage;
+- tool calls і protocol termination;
+- model/config/build identifiers.
+
+Secrets і credentials мають вилучатися до запису. Full payload capture вмикається окремо для дослідницького середовища.
+
+**Критерій приймання:** кожну повільну або невдалу відповідь можна пов'язати з конкретним request, engine run, конфігурацією й ресурсним профілем.
+
+## 7. Quality gates
+
+### Gate A — protocol
+
+- 100% terminal SSE events;
+- жодного stream без `finish_reason`;
+- tool-call arguments не втрачаються і не змінюються;
+- structured output проходить schema validation;
+- cancellation не залишає slot зайнятим.
+
+### Gate B — deterministic inference
+
+Для non-lossy змін:
+
+- greedy output повинен збігатися з baseline або;
+- відхилення tensor outputs має вкладатися в наперед визначений numerical tolerance.
+
+### Gate C — model quality
+
+Для lossy змін:
+
+- perplexity;
+- long-context needle/retrieval на різних глибинах;
+- код, документи, арифметика й cross-reference;
+- tool selection і tool arguments;
+- завершення реальних LeaseVibe-задач;
+- відсутність fluent nonsense, порожніх відповідей і повторюваних циклів.
+
+Рішення приймається за кожною категорією окремо. Загальна середня оцінка не може приховати провал категорії.
+
+### Gate D — performance
+
+- парний A/B;
+- однакові prompts і sampling settings;
+- прогрітий та cold режими розділені;
+- однакові power/clock conditions;
+- звіт про розподіл, а не лише найкращий результат;
+- зміна якості враховується поруч із приростом швидкості.
+
+### Gate E — stability
+
+- тривалий soak із реальним agent workload;
+- заповнення диска, обрив клієнта й timeout не ламають worker;
+- control plane відновлюється після crash worker;
+- відсутні витоки VRAM/RAM між запитами;
+- два slots ізольовані.
+
+## 8. Етапи реалізації
+
+### M0. Fork і baseline
+
+- створити окремий fork Strata;
+- зафіксувати upstream commit;
+- відокремити generated/runtime files від source tree;
+- додати reproducible build;
+- зафіксувати baseline 1×256K;
+- створити performance ledger.
+
+**Результат:** відтворювана точка порівняння.
+
+### M1. API reliability
+
+- виправити завершення SSE при помилках логування;
+- додати native Responses API;
+- реалізувати `text.format`;
+- додати structured telemetry;
+- закрити відомі Codex/MCP failures.
+
+**Результат:** Codex працює без bridge і без automatic-review protocol failures.
+
+### M2. Rust control plane
+
+- перенести production API й process supervision;
+- створити differential replay проти Python server;
+- додати deployment image;
+- провести soak і performance comparison.
+
+**Результат:** production serving не залежить від Python.
+
+### M3. Safe performance work
+
+- speculation policy;
+- sync removal;
+- CUDA Graph і buffer reuse;
+- KV/expert-cache memory planner;
+- compile specialization;
+- 1×256K optimization.
+
+**Результат:** накопичений підтверджений приріст без зміни якості.
+
+### M4. Multi-slot
+
+- 2×256K;
+- continuous batching;
+- admission control;
+- aggregate throughput benchmark.
+
+**Результат:** два стабільні паралельні агенти.
+
+### M5. Experimental memory architecture
+
+- KAR integration;
+- PLE row decode;
+- GPU cache-miss path;
+- Value-Only Cache feasibility;
+- 1×512K.
+
+**Результат:** окремі experimental profiles із чесними quality/performance звітами.
+
+### M6. Fleet
+
+- node agent;
+- central scheduler;
+- sticky routing;
+- autoscaling hooks;
+- multi-node load test.
+
+**Результат:** горизонтальне масштабування на орендованих серверах.
+
+## 9. Перший backlog
+
+1. Створити fork і чистий source checkout.
+2. Зафіксувати build provenance та baseline configuration.
+3. Зібрати golden corpus реальних Codex request/response streams.
+4. Виправити залежність protocol completion від запису логів.
+5. Реалізувати native `/v1/responses` і `text.format`.
+6. Додати machine-readable performance ledger.
+7. Створити Rust control plane skeleton із health/status/SSE.
+8. Реалізувати differential replay Python vs Rust.
+9. Побудувати контрольований benchmark для speculation depth.
+10. Провести Nsight profile одного cold і одного warm agent turn.
+11. Реалізувати offline Keyless least-squares feasibility probe.
+12. Додати окремий експеримент `K4V8` для визначення чутливості K.
+13. Оформити стабільний C ABI для libkar.
+14. Порівняти CPU expert miss із KAR GPU miss на однаковому expert block.
+15. Спроєктувати memory admission для 2×256K і 1×512K.
+
+## 10. Межі першої версії
+
+Перша production-версія повинна підтримувати:
+
+- Linux;
+- NVIDIA RTX 50xx;
+- один GPU на worker;
+- Qwen3.8-Flash-Next IQ3_S;
+- 1×256K;
+- native Codex Responses API;
+- Rust control plane;
+- structured telemetry;
+- відтворюваний OCI deployment.
+
+HIP/AMD, multi-GPU всередині одного worker, Value-Only Cache, KAR і 512K додаються після стабільного baseline та мають власні quality gates.
+
+## 11. Definition of Done
+
+Проєкт досяг основної мети, коли виконані всі умови:
+
+1. Qwen3.8-Flash-Next працює в режимах 2×256K і 1×512K.
+2. Codex підключається напряму через native Responses API.
+3. MCP tool calls, automatic approval review і structured output працюють стабільно.
+4. Production endpoint не залежить від Python runtime.
+5. Є one-command deployment на орендованому NVIDIA GPU-вузлі.
+6. Є reproducible performance і quality harness.
+7. Жоден заявлений приріст не базується на одиничному best run.
+8. Накопичені оптимізації дають вимірюваний приріст speed або throughput без неприйнятної втрати якості.
+9. Кілька вузлів об'єднуються одним scheduler із sticky routing і backpressure.
+10. Усі experimental режими мають чіткий статус: `rejected`, `experimental` або `production`.
+
+## 12. Принцип прийняття рішень
+
+Пріоритет визначається так:
+
+1. коректність і завершення задач;
+2. якість моделі;
+3. end-to-end task throughput;
+4. decode і prefill throughput;
+5. використання VRAM/RAM;
+6. простота deployment і масштабування.
+
+Оптимізація, що дає 1% і стабільно проходить gates, зберігається. Оптимізація з великим синтетичним прискоренням, яка не покращує реальний agent workload, не входить до production profile.
diff --git a/README.md b/README.md
index d8ecf4e0..518cef37 100644
--- a/README.md
+++ b/README.md
@@ -1,23 +1,50 @@
-# Leleka
+# Leleka / Strata Next
-Leleka is an independent Rust inference runtime. The first checked-in slice is
-the versioned backend boundary in `leleka-backend-api`.
+Leleka is the independent Rust NVIDIA inference runtime being developed from
+this repository. The complete tracked Strata Next source tree was imported from
+`paveldhq/strata-next` commit
+`1263e88f8947b9796924eb7e8d8d7af08b589049`; see `docs/upstream.md` for the
+pinned Strata engine provenance. The imported desktop application, Rust control
+plane, deployment code, model tooling, tests, and reference engine are all here.
-## Current scope
+The migration is staged: Leleka must eventually run without a Strata process,
+Strata source, Python, or a separately installed CUDA Toolkit on the target
+host. Until the replacement passes the same protocol, model-quality, and
+operational gates, Strata remains the behavior baseline. No model family or
+performance gain is claimed for Leleka until its real-model gates pass.
-- The API crate defines model identity, backend capabilities, load/generate/
- cancel/unload operations, and typed generation events.
-- Generation streams enforce one terminal result and report a producer that
- disappears without completion.
-- The crate has no Strata, Python, CUDA, model weights, or inference engine
- dependency. No model family is claimed as implemented yet.
+## Repository layout
-This is the interface foundation, not a runnable model server. NVIDIA engine
-integration and real-model/protocol/quality qualification remain future work.
+- `crates/backend-api/` — Leleka's versioned Rust backend contract.
+- `desktop/`, `desktop-core/` — current desktop application and its Rust core.
+- `control-plane/` — current Rust API, Responses handling, and worker supervisor.
+- `engine/strata/` — pinned upstream Strata reference; retained during migration.
+- `gpu/` — experimental optimization components, including KAR.
+- `integrations/`, `manifests/`, `deploy/`, `scripts/` — client integration,
+ model profiles, packaging, and development/test tooling.
+- `PROJECT_CHARTER.md`, `docs/` — requirements, provenance, decisions, and
+ performance/quality gates.
+
+Model weights, request captures, credentials, local logs, and generated build
+artifacts remain outside Git or under ignored paths.
+
+## Current Leleka scope
+
+The Leleka implementation currently defines a backend contract for model
+identity, capability declarations, loading, generation, cancellation, unloading,
+typed output events, and exactly-one terminal stream behavior. It has no
+inference backend or CUDA integration yet. The repository also contains the
+existing Strata Next desktop and control-plane implementations as migration
+source; their presence does not mean Leleka can serve a model independently.
## Development
+Run the Rust workspace tests and lint:
+
```sh
cargo test --workspace --locked
cargo clippy --workspace --all-targets --all-features -- -D warnings
```
+
+For the Linux release requirements, see [PROJECT_CHARTER.md](PROJECT_CHARTER.md)
+and [the independent engine design](docs/architecture/independent-nvidia-engine.md).
diff --git a/benchmarks/README.md b/benchmarks/README.md
new file mode 100644
index 00000000..2e991ab3
--- /dev/null
+++ b/benchmarks/README.md
@@ -0,0 +1,63 @@
+# Benchmarks
+
+The `fixtures/responses/` directory currently holds a synthetic protocol replay example. It is not a real Codex capture or a performance measurement. Run it through the Rust `replay-responses` binary described in [control-plane/README.md](../control-plane/README.md).
+
+Store future benchmark definitions and sanitized fixtures in Git; place generated reports and sensitive captures outside the source tree or under ignored local paths. No baseline has been measured yet.
+
+## Synthetic paired Chat smoke
+
+`fixtures/chat/paired-smoke.json` contains public synthetic arithmetic, retrieval, and function-call prompts. Run `scripts/bench-chat-paired.py` from the repository root. It sends one untimed warmup per case and endpoint, then alternates baseline/candidate order over repeated, sequential requests with the same model, prompt, greedy sampling settings, and token cap. It checks each response's terminal `finish_reason` and case-specific text or tool arguments. The report includes per-case pass counts, raw response timings, and paired wall-time ratios. The full response report is written only to a new private path outside Git with mode 0600; API keys are read from private server config files and omitted from the report.
+
+For the current upstream server, pass its full bound URL as `--baseline-url`, its `/health` URL as `--baseline-ready-url`, the configured model name as `--model`, and its private JSON config as `--baseline-auth-config`. The readiness poll waits for a nonzero `max_context` because upstream can report `loaded: true` during loading. Once a compressed inference endpoint exists, pass its URL as `--candidate-url` and optionally `--candidate-ready-url`. A baseline-only run is a functional check and cannot establish a speedup. Even a paired run of this small synthetic suite is only a smoke test: the charter's long-context, real-agent, cache-state, and model-quality gates still require separate runs. Record engine/config digests, GPU, driver, CUDA, power settings, and artifact digests in a private `--metadata` JSON for any reported performance result. Never commit the report or private config.
+# Live Responses episode replay
+
+`scripts/replay-live-responses.py` is an offline evaluator for an **explicitly
+isolated native endpoint**. It sends real inference requests. Do not point it
+at a user's active runtime. Remote evaluation uses an existing SSH loopback
+tunnel; this tool does not create tunnels or change runtime configuration.
+
+Copy `fixtures/responses/live-tool-episode.json` to private storage, set the
+configured model ID in both requests, and record model digests, runtime/engine
+commits, hardware/driver, configuration and cache conditions in `provenance`.
+Only use deliberately sanitized episodes. The `sanitized` flag records the
+operator's assertion; it cannot sanitize arbitrary captured agent traffic.
+
+```sh
+python3 scripts/replay-live-responses.py \
+ --endpoint http://127.0.0.1:18082 \
+ --fixture /private/evaluation/episode.json \
+ --key-file /private/evaluation/api.key \
+ --output /private/evaluation/new-evidence-directory
+```
+
+The output directory must not exist. It is created with mode 0700, with 0600
+fixture, request, raw response and report files. Credentials never enter those
+files or command arguments. HTTP calls have an 8 MiB response limit and a total
+wall deadline (default 120 seconds, configurable with `--timeout`); an isolated
+child is killed and reaped on timeout, including drip-fed headers. Redirects
+are not followed. Failed checks retain a failing report and available evidence;
+partial transport bodies lost on timeout are not captured.
+
+Each episode runs twice, first JSON then SSE, with independent explicitly
+replayed history and `store=false`. Each step supplies a request and exact
+semantic `expect` list. Later steps can supply `tool_results` strings in the
+previous turn's call order. Returned call IDs are bound automatically. No shell,
+MCP or other tool is ever executed. Call IDs and argument JSON formatting may
+differ between arms; normalized argument values and visible content must match
+exactly. Tokens, timings and hashes are recorded separately; this is not a
+paired performance benchmark.
+
+The verifier requires contiguous named events, exactly one successful terminal,
+consistent response/item identities, matching delta/done/final values, all
+items closed and consistent usage. It accepts native text, reasoning-content,
+function and custom-tool events; unsupported events fail closed. Readiness,
+idle queue/admission state and generation-counter deltas are checked around
+each arm. Counter mismatches invalidate the isolated replay; this is not an
+exclusive server lease or a durable process-epoch check. Reserve the endpoint
+for the evaluation and independently record its process/build identity.
+These observations do not replace cancellation/crash fault injection or a
+long-running soak. A declared real-model provenance alone is not qualification.
+
+Hosted CI runs the runner against actual native HTTP with a synthetic CPU
+worker, plus corrupt-stream/auth/overwrite/deadline tests. The full sanitized
+Codex/MCP real-model replay and model-quality gates remain separate and open.
diff --git a/benchmarks/fixtures/chat/cold-prefill-v1.json b/benchmarks/fixtures/chat/cold-prefill-v1.json
new file mode 100644
index 00000000..a87484e3
--- /dev/null
+++ b/benchmarks/fixtures/chat/cold-prefill-v1.json
@@ -0,0 +1,42 @@
+{
+ "schema": 1,
+ "name": "public-synthetic-cold-prefill-v1",
+ "cases": [
+ {
+ "id": "cold-alpha",
+ "category": "retrieval",
+ "messages": [{"role": "user", "content": {"parts": [
+ {"text": "ALPHA run. Read the log and return only its valid audit code. Decoy codes are invalid.\n"},
+ {"repeat": "filler row: no audit code; ignore decoy X-000.\n", "count": 2200},
+ {"text": "VALID AUDIT CODE: amber-731\n"},
+ {"repeat": "filler row: no audit code; ignore decoy X-000.\n", "count": 2200},
+ {"text": "What is the VALID AUDIT CODE? Reply with the code only."}
+ ]}}],
+ "expect": {"text_regex": "^amber-731\\s*$"}
+ },
+ {
+ "id": "cold-beta",
+ "category": "retrieval",
+ "messages": [{"role": "user", "content": {"parts": [
+ {"text": "BETA run. Read the log and return only its valid audit code. Decoy codes are invalid.\n"},
+ {"repeat": "filler row: no audit code; ignore decoy X-000.\n", "count": 2200},
+ {"text": "VALID AUDIT CODE: cobalt-482\n"},
+ {"repeat": "filler row: no audit code; ignore decoy X-000.\n", "count": 2200},
+ {"text": "What is the VALID AUDIT CODE? Reply with the code only."}
+ ]}}],
+ "expect": {"text_regex": "^cobalt-482\\s*$"}
+ },
+ {
+ "id": "cold-gamma",
+ "category": "retrieval",
+ "messages": [{"role": "user", "content": {"parts": [
+ {"text": "GAMMA run. Read the log and return only its valid audit code. Decoy codes are invalid.\n"},
+ {"repeat": "filler row: no audit code; ignore decoy X-000.\n", "count": 2200},
+ {"text": "VALID AUDIT CODE: violet-915\n"},
+ {"repeat": "filler row: no audit code; ignore decoy X-000.\n", "count": 2200},
+ {"text": "What is the VALID AUDIT CODE? Reply with the code only."}
+ ]}}],
+ "expect": {"text_regex": "^violet-915\\s*$"}
+ }
+ ]
+}
diff --git a/benchmarks/fixtures/chat/paired-smoke.json b/benchmarks/fixtures/chat/paired-smoke.json
new file mode 100644
index 00000000..a12778bf
--- /dev/null
+++ b/benchmarks/fixtures/chat/paired-smoke.json
@@ -0,0 +1,34 @@
+{
+ "schema": 1,
+ "name": "public-synthetic-chat-smoke",
+ "cases": [
+ {
+ "id": "arithmetic",
+ "category": "reasoning",
+ "messages": [
+ {"role": "user", "content": "Compute 17 * 19. Reply with the integer only."}
+ ],
+ "expect": {"text_regex": "^323\\s*$"}
+ },
+ {
+ "id": "retrieval",
+ "category": "retrieval",
+ "messages": [
+ {"role": "user", "content": "Facts: Ada owns a blue kite. Bruno owns a red cup. Cora owns a green book. Dany owns a yellow lamp. Who owns the green book? Reply with the name only."}
+ ],
+ "expect": {"text_regex": "^Cora\\s*$"}
+ },
+ {
+ "id": "tool-call",
+ "category": "tool-calling",
+ "messages": [
+ {"role": "user", "content": "Look up the weather for Paris. Use the weather tool."}
+ ],
+ "tools": [
+ {"type": "function", "function": {"name": "get_weather", "description": "Get weather for a city", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"], "additionalProperties": false}}}
+ ],
+ "tool_choice": {"type": "function", "function": {"name": "get_weather"}},
+ "expect": {"tool_name": "get_weather", "tool_arguments": {"city": "Paris"}}
+ }
+ ]
+}
diff --git a/benchmarks/fixtures/chat/quality-v1.json b/benchmarks/fixtures/chat/quality-v1.json
new file mode 100644
index 00000000..3ac6cba9
--- /dev/null
+++ b/benchmarks/fixtures/chat/quality-v1.json
@@ -0,0 +1,68 @@
+{
+ "schema": 1,
+ "name": "public-synthetic-kar-ple-quality-v1",
+ "cases": [
+ {
+ "id": "arithmetic-product",
+ "category": "reasoning",
+ "messages": [{"role": "user", "content": "Compute 17 * 19. Reply with the integer only."}],
+ "expect": {"text_regex": "^323\\s*$"}
+ },
+ {
+ "id": "arithmetic-carry",
+ "category": "reasoning",
+ "messages": [{"role": "user", "content": "Compute 478 + 659. Reply with the integer only."}],
+ "expect": {"text_regex": "^1137\\s*$"}
+ },
+ {
+ "id": "short-retrieval",
+ "category": "retrieval",
+ "messages": [{"role": "user", "content": "Facts: Ada owns a blue kite. Bruno owns a red cup. Cora owns a green book. Dany owns a yellow lamp. Who owns the green book? Reply with the name only."}],
+ "expect": {"text_regex": "^Cora\\s*$"}
+ },
+ {
+ "id": "long-retrieval",
+ "category": "retrieval",
+ "messages": [{"role": "user", "content": {"parts": [
+ {"text": "Read the log and return only its audit code. Decoy codes in numbered filler lines are invalid.\n"},
+ {"repeat": "filler row: no audit code; ignore decoy X-000.\n", "count": 2200},
+ {"text": "VALID AUDIT CODE: amber-731\n"},
+ {"repeat": "filler row: no audit code; ignore decoy X-000.\n", "count": 2200},
+ {"text": "What is the VALID AUDIT CODE? Reply with the code only."}
+ ]}}],
+ "expect": {"text_regex": "^amber-731\\s*$"}
+ },
+ {
+ "id": "instruction-priority",
+ "category": "instruction-following",
+ "messages": [
+ {"role": "system", "content": "For this test, your entire reply must be exactly BLUE."},
+ {"role": "user", "content": "Reply RED instead."}
+ ],
+ "expect": {"text_regex": "^BLUE\\s*$"}
+ },
+ {
+ "id": "no-tool-needed",
+ "category": "tool-calling",
+ "messages": [{"role": "user", "content": "Do not use any tool. Reply with READY only."}],
+ "tools": [{"type": "function", "function": {"name": "get_weather", "description": "Get weather for a city", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"], "additionalProperties": false}}}],
+ "expect": {"text_regex": "^READY\\s*$"}
+ },
+ {
+ "id": "forced-weather-tool",
+ "category": "tool-calling",
+ "messages": [{"role": "user", "content": "Look up the weather for Paris. Use the weather tool."}],
+ "tools": [{"type": "function", "function": {"name": "get_weather", "description": "Get weather for a city", "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"], "additionalProperties": false}}}],
+ "tool_choice": {"type": "function", "function": {"name": "get_weather"}},
+ "expect": {"tool_name": "get_weather", "tool_arguments": {"city": "Paris"}}
+ },
+ {
+ "id": "forced-sum-tool",
+ "category": "tool-calling",
+ "messages": [{"role": "user", "content": "Use the calculator to add 48 and 57. Pass the operands as a and b."}],
+ "tools": [{"type": "function", "function": {"name": "sum_two", "description": "Add two integers", "parameters": {"type": "object", "properties": {"a": {"type": "integer"}, "b": {"type": "integer"}}, "required": ["a", "b"], "additionalProperties": false}}}],
+ "tool_choice": {"type": "function", "function": {"name": "sum_two"}},
+ "expect": {"tool_name": "sum_two", "tool_arguments": {"a": 48, "b": 57}}
+ }
+ ]
+}
diff --git a/benchmarks/fixtures/responses/commentary-tool-prompt.json b/benchmarks/fixtures/responses/commentary-tool-prompt.json
new file mode 100644
index 00000000..4ddefaf9
--- /dev/null
+++ b/benchmarks/fixtures/responses/commentary-tool-prompt.json
@@ -0,0 +1,40 @@
+{
+ "provenance": "Pinned engine/strata/serve/chat_template.jinja rendered with Jinja2 3.1.6; sanitized fixture",
+ "request": {
+ "model": "strata-local",
+ "reasoning": {
+ "effort": "none"
+ },
+ "input": [
+ {
+ "role": "user",
+ "content": "Weather in Oslo?"
+ },
+ {
+ "type": "reasoning",
+ "content": [
+ {
+ "type": "reasoning_text",
+ "text": "Use the lookup."
+ }
+ ]
+ },
+ {
+ "role": "assistant",
+ "content": "Checking. \n"
+ },
+ {
+ "type": "function_call",
+ "call_id": "call_fixture",
+ "name": "lookup",
+ "arguments": "{\"city\":\"Oslo\"}"
+ },
+ {
+ "type": "function_call_output",
+ "call_id": "call_fixture",
+ "output": "3°C"
+ }
+ ]
+ },
+ "rendered": "<|im_start|>user\nWeather in Oslo?<|im_end|>\n<|im_start|>assistant\n\nUse the lookup.\n\n\nChecking.\n\n\n\n\nOslo\n\n\n<|im_end|>\n<|im_start|>user\n\n3°C\n<|im_end|>\n<|im_start|>assistant\n\n\n\n\n"
+}
diff --git a/benchmarks/fixtures/responses/live-tool-episode.json b/benchmarks/fixtures/responses/live-tool-episode.json
new file mode 100644
index 00000000..29ce5600
--- /dev/null
+++ b/benchmarks/fixtures/responses/live-tool-episode.json
@@ -0,0 +1,26 @@
+{
+ "schema": 1,
+ "sanitized": true,
+ "provenance": {"class": "synthetic episode; supply actual model/build/hardware identities for qualification"},
+ "steps": [
+ {
+ "request": {
+ "model": "strata-local", "input": "Call lookup with key value. Do not output any other text.",
+ "max_output_tokens": 256, "temperature": 0, "reasoning": {"effort": "none"},
+ "tools": [{"type": "function", "name": "lookup", "parameters": {"type": "object", "properties": {"key": {"type": "string"}}, "required": ["key"], "additionalProperties": false}}],
+ "tool_choice": {"type": "function", "name": "lookup"}
+ },
+ "expect": [{"type": "function_call", "name": "lookup", "arguments": {"key": "value"}}]
+ },
+ {
+ "request": {
+ "model": "strata-local", "input": "Reply with exactly CONFIRMED-731 and nothing else.",
+ "max_output_tokens": 64, "temperature": 0, "reasoning": {"effort": "none"},
+ "tools": [{"type": "function", "name": "lookup", "parameters": {"type": "object", "properties": {"key": {"type": "string"}}, "required": ["key"], "additionalProperties": false}}],
+ "tool_choice": "none"
+ },
+ "tool_results": ["CONFIRMED-731"],
+ "expect": [{"type": "text", "text": "CONFIRMED-731"}]
+ }
+ ]
+}
diff --git a/benchmarks/fixtures/responses/structured-tool.json b/benchmarks/fixtures/responses/structured-tool.json
new file mode 100644
index 00000000..9b5160fa
--- /dev/null
+++ b/benchmarks/fixtures/responses/structured-tool.json
@@ -0,0 +1,30 @@
+{
+ "request": {
+ "model": "strata-local",
+ "input": "Return a small result and call the example tool.",
+ "stream": true,
+ "store": false,
+ "text": {
+ "format": {
+ "type": "json_schema",
+ "name": "result",
+ "strict": true,
+ "schema": {
+ "type": "object",
+ "properties": {"ok": {"type": "boolean"}},
+ "required": ["ok"],
+ "additionalProperties": false
+ }
+ }
+ },
+ "tools": [{"type": "function", "name": "example_tool", "parameters": {"type": "object"}}]
+ },
+ "items": [
+ {"type": "text", "deltas": ["{\"ok\":", "true}"]},
+ {"type": "function_call", "name": "example_tool", "call_id": "call_example", "argument_deltas": ["{\"value\":", "1}"]}
+ ],
+ "usage": {"input_tokens": 14, "output_tokens": 9, "reasoning_tokens": 0, "cached_tokens": 0},
+ "id": "resp_fixture_001",
+ "created_at": 1,
+ "completed_at": 2
+}
diff --git a/control-plane/Cargo.lock b/control-plane/Cargo.lock
new file mode 100644
index 00000000..684c75e5
--- /dev/null
+++ b/control-plane/Cargo.lock
@@ -0,0 +1,2224 @@
+# This file is automatically @generated by Cargo.
+# It is not intended for manual editing.
+version = 4
+
+[[package]]
+name = "ahash"
+version = "0.8.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75"
+dependencies = [
+ "cfg-if",
+ "getrandom 0.3.4",
+ "once_cell",
+ "serde",
+ "version_check",
+ "zerocopy",
+]
+
+[[package]]
+name = "aho-corasick"
+version = "1.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba"
+dependencies = [
+ "memchr",
+]
+
+[[package]]
+name = "allocator-api2"
+version = "0.2.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
+
+[[package]]
+name = "atomic-waker"
+version = "1.1.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0"
+
+[[package]]
+name = "autocfg"
+version = "1.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
+
+[[package]]
+name = "aws-lc-rs"
+version = "1.18.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b281d307588d634de920874890732659e2e7672f72b5e10e81badc1a8a83621e"
+dependencies = [
+ "aws-lc-sys",
+ "zeroize",
+]
+
+[[package]]
+name = "aws-lc-sys"
+version = "0.45.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9bff6c3b54fad79a2e60b8102caf565819711497c1f5f092f49508e2f5c31b27"
+dependencies = [
+ "cc",
+ "cmake",
+ "dunce",
+ "fs_extra",
+ "pkg-config",
+]
+
+[[package]]
+name = "axum"
+version = "0.8.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "31b698c5f9a010f6573133b09e0de5408834d0c82f8d7475a89fc1867a71cd90"
+dependencies = [
+ "axum-core",
+ "bytes",
+ "form_urlencoded",
+ "futures-util",
+ "http",
+ "http-body",
+ "http-body-util",
+ "hyper",
+ "hyper-util",
+ "itoa",
+ "matchit",
+ "memchr",
+ "mime",
+ "percent-encoding",
+ "pin-project-lite",
+ "serde_core",
+ "serde_json",
+ "serde_path_to_error",
+ "serde_urlencoded",
+ "sync_wrapper",
+ "tokio",
+ "tower",
+ "tower-layer",
+ "tower-service",
+ "tracing",
+]
+
+[[package]]
+name = "axum-core"
+version = "0.5.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "08c78f31d7b1291f7ee735c1c6780ccde7785daae9a9206026862dab7d8792d1"
+dependencies = [
+ "bytes",
+ "futures-core",
+ "http",
+ "http-body",
+ "http-body-util",
+ "mime",
+ "pin-project-lite",
+ "sync_wrapper",
+ "tower-layer",
+ "tower-service",
+ "tracing",
+]
+
+[[package]]
+name = "base64"
+version = "0.23.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5"
+
+[[package]]
+name = "bit-set"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3"
+dependencies = [
+ "bit-vec",
+]
+
+[[package]]
+name = "bit-vec"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
+
+[[package]]
+name = "bitflags"
+version = "2.13.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06"
+
+[[package]]
+name = "block-buffer"
+version = "0.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa"
+dependencies = [
+ "hybrid-array",
+]
+
+[[package]]
+name = "borrow-or-share"
+version = "0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dc0b364ead1874514c8c2855ab558056ebfeb775653e7ae45ff72f28f8f3166c"
+
+[[package]]
+name = "bumpalo"
+version = "3.20.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649"
+
+[[package]]
+name = "bytecount"
+version = "0.6.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e"
+
+[[package]]
+name = "bytes"
+version = "1.12.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fc652a48c352aef3ea3aed32080501cf3ef6ed5da78602a020c991775b0aff04"
+
+[[package]]
+name = "cc"
+version = "1.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f360145194ee8e21db5ee7f3fcd4fe52210864c75c985dae33218202c8bbe040"
+dependencies = [
+ "find-msvc-tools",
+ "jobserver",
+ "libc",
+ "shlex",
+]
+
+[[package]]
+name = "cfg-if"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600"
+
+[[package]]
+name = "cfg_aliases"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
+
+[[package]]
+name = "chacha20"
+version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "65c35e4b699c7e15ccbe7ee35c005e4fc0a278d22238a2857e6ce2dadeda1b06"
+dependencies = [
+ "cfg-if",
+ "cpufeatures",
+ "rand_core",
+]
+
+[[package]]
+name = "cmake"
+version = "0.1.58"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678"
+dependencies = [
+ "cc",
+]
+
+[[package]]
+name = "combine"
+version = "4.6.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cfc320937d09e6de266b31b9afb480f197d7a861be86be7cb2ea7e5d1bfffc5e"
+dependencies = [
+ "bytes",
+ "memchr",
+]
+
+[[package]]
+name = "const-oid"
+version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a6ef517f0926dd24a1582492c791b6a4818a4d94e789a334894aa15b0d12f55c"
+
+[[package]]
+name = "core-foundation"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b2a6cd9ae233e7f62ba4e9353e81a88df7fc8a5987b8d445b4d90c879bd156f6"
+dependencies = [
+ "core-foundation-sys",
+ "libc",
+]
+
+[[package]]
+name = "core-foundation-sys"
+version = "0.8.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
+
+[[package]]
+name = "cpufeatures"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566"
+dependencies = [
+ "libc",
+]
+
+[[package]]
+name = "crypto-common"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453"
+dependencies = [
+ "hybrid-array",
+]
+
+[[package]]
+name = "data-encoding"
+version = "2.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4583a4551df46e2792f82ceeac45e850d2e2d5debba0b91f102385cda5b11f06"
+
+[[package]]
+name = "digest"
+version = "0.11.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2"
+dependencies = [
+ "block-buffer",
+ "const-oid",
+ "crypto-common",
+]
+
+[[package]]
+name = "displaydoc"
+version = "0.2.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6232dd377dcc64799954cbd3a9bb882e9cdc1308ccd87b1c098f1fb2eaf82a8"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+]
+
+[[package]]
+name = "dunce"
+version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"
+
+[[package]]
+name = "email_address"
+version = "0.2.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e079f19b08ca6239f47f8ba8509c11cf3ea30095831f7fed61441475edd8c449"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "equivalent"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
+
+[[package]]
+name = "errno"
+version = "0.3.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
+dependencies = [
+ "libc",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "fancy-regex"
+version = "0.19.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d301f5bf187b3c295fce6468d3875037a0bccc5f6b151c63cac2f85babf21912"
+dependencies = [
+ "bit-set",
+ "regex-automata",
+ "regex-syntax",
+]
+
+[[package]]
+name = "find-msvc-tools"
+version = "0.1.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484"
+
+[[package]]
+name = "fluent-uri"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bc74ac4d8359ae70623506d512209619e5cf8f347124910440dbc221714b328e"
+dependencies = [
+ "borrow-or-share",
+ "ref-cast",
+ "serde",
+]
+
+[[package]]
+name = "foldhash"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb"
+
+[[package]]
+name = "form_urlencoded"
+version = "1.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
+dependencies = [
+ "percent-encoding",
+]
+
+[[package]]
+name = "fraction"
+version = "0.17.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e246562084dde8ebbcc943b261c406ce4f68e5032ec28029a251a47d6a295500"
+dependencies = [
+ "num",
+ "num-bigint",
+]
+
+[[package]]
+name = "fs_extra"
+version = "1.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
+
+[[package]]
+name = "futures-channel"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b1f9e3d69d39e4862ffed03ed071a76f9a13ba1d9109d355b0f0aa6b15e393c4"
+dependencies = [
+ "futures-core",
+]
+
+[[package]]
+name = "futures-core"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e"
+
+[[package]]
+name = "futures-task"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd"
+
+[[package]]
+name = "futures-util"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc"
+dependencies = [
+ "futures-core",
+ "futures-task",
+ "pin-project-lite",
+ "slab",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.2.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
+dependencies = [
+ "cfg-if",
+ "js-sys",
+ "libc",
+ "wasi",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.3.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd"
+dependencies = [
+ "cfg-if",
+ "js-sys",
+ "libc",
+ "r-efi 5.3.0",
+ "wasip2",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "getrandom"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "300e883d756b2e4ec94e02791f39b04b522276138852cfc41d9fb7e904106099"
+dependencies = [
+ "cfg-if",
+ "js-sys",
+ "libc",
+ "r-efi 6.0.0",
+ "rand_core",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "hashbrown"
+version = "0.17.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
+dependencies = [
+ "allocator-api2",
+ "equivalent",
+ "foldhash",
+]
+
+[[package]]
+name = "heck"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
+
+[[package]]
+name = "hex"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
+
+[[package]]
+name = "http"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "918d3568bebf352712bc2ef3d46a8bcf1a75b373be6539de198e9105cbbf9ce0"
+dependencies = [
+ "bytes",
+ "itoa",
+]
+
+[[package]]
+name = "http-body"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ca2a8f2913ee65f60facd6a5905613afaa448497a0230cc41ce022d93290bc2c"
+dependencies = [
+ "bytes",
+ "http",
+]
+
+[[package]]
+name = "http-body-util"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "23169fe34a5fbcdd3f3862e78fb9b6fccd5f02a6dc6f732547005d45631ce71c"
+dependencies = [
+ "bytes",
+ "futures-core",
+ "http",
+ "http-body",
+ "pin-project-lite",
+]
+
+[[package]]
+name = "httparse"
+version = "1.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6dbf3de79e51f3d586ab4cb9d5c3e2c14aa28ed23d180cf89b4df0454a69cc87"
+
+[[package]]
+name = "httpdate"
+version = "1.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
+
+[[package]]
+name = "hybrid-array"
+version = "0.4.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "27f864f10dfb56725ce5ce5472bc52252c8f93a4ab86327122cebf62c5f59a17"
+dependencies = [
+ "typenum",
+]
+
+[[package]]
+name = "hyper"
+version = "1.11.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "27b501faa50e7a26c3d3560ca625132f4078a17771f4810baf70475ae48cbe43"
+dependencies = [
+ "atomic-waker",
+ "bytes",
+ "futures-channel",
+ "futures-core",
+ "http",
+ "http-body",
+ "httparse",
+ "httpdate",
+ "itoa",
+ "pin-project-lite",
+ "smallvec",
+ "tokio",
+ "want",
+]
+
+[[package]]
+name = "hyper-rustls"
+version = "0.27.10"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dfa8e654703247911e29c23fbeaa261834bd9bb74efba2f9acddc37bfb127f53"
+dependencies = [
+ "http",
+ "hyper",
+ "hyper-util",
+ "rustls",
+ "tokio",
+ "tokio-rustls",
+ "tower-service",
+]
+
+[[package]]
+name = "hyper-util"
+version = "0.1.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ddc03d96684f9226b8a787cdb71488417b53ab5ea8fdb1dac946cb9431cc8bff"
+dependencies = [
+ "base64",
+ "bytes",
+ "futures-channel",
+ "futures-util",
+ "http",
+ "http-body",
+ "httparse",
+ "hyper",
+ "ipnet",
+ "libc",
+ "percent-encoding",
+ "pin-project-lite",
+ "socket2",
+ "tokio",
+ "tower-service",
+ "tracing",
+]
+
+[[package]]
+name = "icu_collections"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513"
+dependencies = [
+ "displaydoc",
+ "potential_utf",
+ "utf8_iter",
+ "yoke",
+ "zerofrom",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_locale_core"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb"
+dependencies = [
+ "displaydoc",
+ "litemap",
+ "tinystr",
+ "writeable",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_normalizer"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f"
+dependencies = [
+ "icu_collections",
+ "icu_normalizer_data",
+ "icu_properties",
+ "icu_provider",
+ "smallvec",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_normalizer_data"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0"
+
+[[package]]
+name = "icu_properties"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148"
+dependencies = [
+ "displaydoc",
+ "icu_collections",
+ "icu_locale_core",
+ "icu_properties_data",
+ "icu_provider",
+ "zerotrie",
+ "zerovec",
+]
+
+[[package]]
+name = "icu_properties_data"
+version = "2.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa"
+
+[[package]]
+name = "icu_provider"
+version = "2.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73"
+dependencies = [
+ "displaydoc",
+ "icu_locale_core",
+ "writeable",
+ "yoke",
+ "zerofrom",
+ "zerotrie",
+ "zerovec",
+]
+
+[[package]]
+name = "idna"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de"
+dependencies = [
+ "idna_adapter",
+ "smallvec",
+ "utf8_iter",
+]
+
+[[package]]
+name = "idna_adapter"
+version = "1.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cb68373c0d6620ef8105e855e7745e18b0d00d3bdb07fb532e434244cdb9a714"
+dependencies = [
+ "icu_normalizer",
+ "icu_properties",
+]
+
+[[package]]
+name = "ipnet"
+version = "2.12.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "791930b43c0d5973160d90a8f3894509f2b273430f5c5c73b668636d0287c5c0"
+
+[[package]]
+name = "itoa"
+version = "1.0.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
+
+[[package]]
+name = "jni"
+version = "0.22.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5efd9a482cf3a427f00d6b35f14332adc7902ce91efb778580e180ff90fa3498"
+dependencies = [
+ "cfg-if",
+ "combine",
+ "jni-macros",
+ "jni-sys",
+ "log",
+ "simd_cesu8",
+ "thiserror",
+ "walkdir",
+ "windows-link",
+]
+
+[[package]]
+name = "jni-macros"
+version = "0.22.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a00109accc170f0bdb141fed3e393c565b6f5e072365c3bd58f5b062591560a3"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "rustc_version",
+ "simd_cesu8",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "jni-sys"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c6377a88cb3910bee9b0fa88d4f42e1d2da8e79915598f65fb0c7ee14c878af2"
+dependencies = [
+ "jni-sys-macros",
+]
+
+[[package]]
+name = "jni-sys-macros"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "38c0b942f458fe50cdac086d2f946512305e5631e720728f2a61aabcd47a6264"
+dependencies = [
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "jobserver"
+version = "0.1.35"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1c00acbd29eabad4a2392fa0e921c874934dbbf4194312ad20f04a0ed67a3cb3"
+dependencies = [
+ "getrandom 0.4.3",
+ "libc",
+]
+
+[[package]]
+name = "js-sys"
+version = "0.3.106"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7883d941dae510fb2d978fc3fe018c71c9e2892fd38854de3e8b92c2e5ad9cc5"
+dependencies = [
+ "cfg-if",
+ "futures-util",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "jsonschema"
+version = "0.58.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5761b0ca0a31464030d7c2a98087fde3124ebb5e09b5a112cdb815f03b8ee150"
+dependencies = [
+ "ahash",
+ "bytecount",
+ "data-encoding",
+ "email_address",
+ "fancy-regex",
+ "fraction",
+ "getrandom 0.3.4",
+ "itoa",
+ "jsonschema-regex",
+ "jsonschema-value",
+ "num-cmp",
+ "num-traits",
+ "percent-encoding",
+ "referencing",
+ "regex",
+ "serde",
+ "serde_json",
+ "strum",
+ "unicode-general-category",
+ "uuid-simd",
+]
+
+[[package]]
+name = "jsonschema-regex"
+version = "0.58.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f1ffba4378a3d6ee7f1ab65a8ed95c711ccfe4a3870932bdce89d8260abed38a"
+dependencies = [
+ "regex-syntax",
+]
+
+[[package]]
+name = "jsonschema-value"
+version = "0.58.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "386121f898b560ff6aaa7974952720e9d9276a201eca31296387c2ed8707855e"
+dependencies = [
+ "ahash",
+ "bytecount",
+ "fraction",
+ "getrandom 0.3.4",
+ "num-cmp",
+ "num-traits",
+ "serde_json",
+ "zmij",
+]
+
+[[package]]
+name = "libc"
+version = "0.2.189"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2"
+
+[[package]]
+name = "litemap"
+version = "0.8.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae"
+
+[[package]]
+name = "lock_api"
+version = "0.4.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
+dependencies = [
+ "scopeguard",
+]
+
+[[package]]
+name = "log"
+version = "0.4.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6"
+
+[[package]]
+name = "lru-slab"
+version = "0.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4050469837a6ff301cd14c1f8f24f88549e6d548f24f64e2148eb0f72cebc51f"
+
+[[package]]
+name = "matchit"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3"
+
+[[package]]
+name = "memchr"
+version = "2.8.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
+
+[[package]]
+name = "micromap"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c2a86d3146ed3995b5913c414f6664344b9617457320782e64f0bb44afd49d74"
+
+[[package]]
+name = "mime"
+version = "0.3.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a"
+
+[[package]]
+name = "mio"
+version = "1.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4b18443e9c262bfe8fa82f51666e2642c53393f7e5c27b3e1aeab922cff5b9d8"
+dependencies = [
+ "libc",
+ "wasi",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "num"
+version = "0.4.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "35bd024e8b2ff75562e5f34e7f4905839deb4b22955ef5e73d2fea1b9813cb23"
+dependencies = [
+ "num-bigint",
+ "num-complex",
+ "num-integer",
+ "num-iter",
+ "num-rational",
+ "num-traits",
+]
+
+[[package]]
+name = "num-bigint"
+version = "0.4.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367"
+dependencies = [
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-cmp"
+version = "0.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "63335b2e2c34fae2fb0aa2cecfd9f0832a1e24b3b32ecec612c3426d46dc8aaa"
+
+[[package]]
+name = "num-complex"
+version = "0.4.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
+dependencies = [
+ "num-traits",
+]
+
+[[package]]
+name = "num-integer"
+version = "0.1.47"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b"
+dependencies = [
+ "num-traits",
+]
+
+[[package]]
+name = "num-iter"
+version = "0.1.46"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c92800bd69a1eac91786bcfe9da64a897eb72911b8dc3095decbd07429e8048b"
+dependencies = [
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-rational"
+version = "0.4.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824"
+dependencies = [
+ "num-bigint",
+ "num-integer",
+ "num-traits",
+]
+
+[[package]]
+name = "num-traits"
+version = "0.2.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
+dependencies = [
+ "autocfg",
+]
+
+[[package]]
+name = "once_cell"
+version = "1.21.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
+
+[[package]]
+name = "openssl-probe"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe"
+
+[[package]]
+name = "outref"
+version = "0.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e"
+
+[[package]]
+name = "parking_lot"
+version = "0.12.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
+dependencies = [
+ "lock_api",
+ "parking_lot_core",
+]
+
+[[package]]
+name = "parking_lot_core"
+version = "0.9.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
+dependencies = [
+ "cfg-if",
+ "libc",
+ "redox_syscall",
+ "smallvec",
+ "windows-link",
+]
+
+[[package]]
+name = "percent-encoding"
+version = "2.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220"
+
+[[package]]
+name = "pin-project-lite"
+version = "0.2.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd"
+
+[[package]]
+name = "pkg-config"
+version = "0.3.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f6b464fbc74e149a392436b17d523f769e057cb6877f6a5c4618bc6f11800548"
+
+[[package]]
+name = "potential_utf"
+version = "0.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d83eb9bc6d8e5cf568e7a1101d60ee05e81ed50ea106026f3d18deeb046d7661"
+dependencies = [
+ "zerovec",
+]
+
+[[package]]
+name = "proc-macro2"
+version = "1.0.107"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "quinn"
+version = "0.11.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4051e23e9185c255a7e33ef59cdbca87a22d359052eecd22fc6b901fb37d9d11"
+dependencies = [
+ "bytes",
+ "cfg_aliases",
+ "pin-project-lite",
+ "quinn-proto",
+ "quinn-udp",
+ "rustc-hash",
+ "rustls",
+ "socket2",
+ "thiserror",
+ "tokio",
+ "tracing",
+ "web-time",
+]
+
+[[package]]
+name = "quinn-proto"
+version = "0.11.19"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0e750cca55fe4f0439a15d0bb529da9651e79993e8e72c61a899a36d462befbe"
+dependencies = [
+ "aws-lc-rs",
+ "bytes",
+ "getrandom 0.4.3",
+ "lru-slab",
+ "rand",
+ "rand_pcg",
+ "ring",
+ "rustc-hash",
+ "rustls",
+ "rustls-pki-types",
+ "slab",
+ "thiserror",
+ "tinyvec",
+ "tracing",
+ "web-time",
+]
+
+[[package]]
+name = "quinn-udp"
+version = "0.5.16"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "af66907df18639dcf4db56ca65490cabc4b27a97dbadd96f2926cca73298f016"
+dependencies = [
+ "cfg_aliases",
+ "libc",
+ "once_cell",
+ "socket2",
+ "tracing",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "quote"
+version = "1.0.47"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
+dependencies = [
+ "proc-macro2",
+]
+
+[[package]]
+name = "r-efi"
+version = "5.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f"
+
+[[package]]
+name = "r-efi"
+version = "6.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
+
+[[package]]
+name = "rand"
+version = "0.10.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af"
+dependencies = [
+ "chacha20",
+ "getrandom 0.4.3",
+ "rand_core",
+]
+
+[[package]]
+name = "rand_core"
+version = "0.10.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
+
+[[package]]
+name = "rand_pcg"
+version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "caa0f4137e1c0a72f4c651489402276c8e8e1cf081f3b0ba156d2cbeef09e86a"
+dependencies = [
+ "rand_core",
+]
+
+[[package]]
+name = "redox_syscall"
+version = "0.5.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
+dependencies = [
+ "bitflags",
+]
+
+[[package]]
+name = "ref-cast"
+version = "1.0.27"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7e440fb4e4b4147295338efb76001ab9e4efc0e5839df2c47fc5ac2381d365c3"
+dependencies = [
+ "ref-cast-impl",
+]
+
+[[package]]
+name = "ref-cast-impl"
+version = "1.0.27"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "92ecd8964f8453721699a1ed72037b0db49ce2f5a5138486ee89bed6f67cdf3a"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+]
+
+[[package]]
+name = "referencing"
+version = "0.58.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5cfa1c91745dbca76a406b926918d7c63e15a4525ebab939fec3e015a1fb82b1"
+dependencies = [
+ "ahash",
+ "fluent-uri",
+ "getrandom 0.3.4",
+ "hashbrown",
+ "itoa",
+ "micromap",
+ "parking_lot",
+ "percent-encoding",
+ "serde_json",
+]
+
+[[package]]
+name = "regex"
+version = "1.13.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-automata",
+ "regex-syntax",
+]
+
+[[package]]
+name = "regex-automata"
+version = "0.4.18"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2"
+dependencies = [
+ "aho-corasick",
+ "memchr",
+ "regex-syntax",
+]
+
+[[package]]
+name = "regex-syntax"
+version = "0.8.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
+
+[[package]]
+name = "reqwest"
+version = "0.13.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "16a1cfa75cc186dd73d5818e510e042e40927bccc9c236b061cea97e1eb08029"
+dependencies = [
+ "base64",
+ "bytes",
+ "futures-core",
+ "http",
+ "http-body",
+ "http-body-util",
+ "hyper",
+ "hyper-rustls",
+ "hyper-util",
+ "js-sys",
+ "log",
+ "percent-encoding",
+ "pin-project-lite",
+ "quinn",
+ "rustls",
+ "rustls-pki-types",
+ "rustls-platform-verifier",
+ "sync_wrapper",
+ "tokio",
+ "tokio-rustls",
+ "tower",
+ "tower-http",
+ "tower-service",
+ "url",
+ "wasm-bindgen",
+ "wasm-bindgen-futures",
+ "web-sys",
+]
+
+[[package]]
+name = "ring"
+version = "0.17.14"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a4689e6c2294d81e88dc6261c768b63bc4fcdb852be6d1352498b114f61383b7"
+dependencies = [
+ "cc",
+ "cfg-if",
+ "getrandom 0.2.17",
+ "libc",
+ "untrusted",
+ "windows-sys 0.52.0",
+]
+
+[[package]]
+name = "rustc-hash"
+version = "2.1.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
+
+[[package]]
+name = "rustc_version"
+version = "0.4.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
+dependencies = [
+ "semver",
+]
+
+[[package]]
+name = "rustls"
+version = "0.23.45"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634"
+dependencies = [
+ "aws-lc-rs",
+ "once_cell",
+ "rustls-pki-types",
+ "rustls-webpki",
+ "subtle",
+ "zeroize",
+]
+
+[[package]]
+name = "rustls-native-certs"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "dab5152771c58876a2146916e53e35057e1a4dfa2b9df0f0305b07f611fdea4d"
+dependencies = [
+ "openssl-probe",
+ "rustls-pki-types",
+ "schannel",
+ "security-framework",
+]
+
+[[package]]
+name = "rustls-pki-types"
+version = "1.15.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2f4925028c7eb5d1fcdaf196971378ed9d2c1c4efc7dc5d011256f76c99c0a96"
+dependencies = [
+ "web-time",
+ "zeroize",
+]
+
+[[package]]
+name = "rustls-platform-verifier"
+version = "0.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1167586491e2b18b8bfbb293e8180ec17c201c4f076d7cb3070ca964e7598f98"
+dependencies = [
+ "core-foundation",
+ "core-foundation-sys",
+ "jni",
+ "log",
+ "once_cell",
+ "rustls",
+ "rustls-native-certs",
+ "rustls-platform-verifier-android",
+ "rustls-webpki",
+ "security-framework",
+ "security-framework-sys",
+ "webpki-root-certs",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "rustls-platform-verifier-android"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "eec689c0bc40ff2458a5977b6619cb718087084a18e02a131c599b62d05e1a5f"
+
+[[package]]
+name = "rustls-webpki"
+version = "0.103.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2"
+dependencies = [
+ "aws-lc-rs",
+ "ring",
+ "rustls-pki-types",
+ "untrusted",
+]
+
+[[package]]
+name = "rustversion"
+version = "1.0.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f"
+
+[[package]]
+name = "ryu"
+version = "1.0.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
+
+[[package]]
+name = "same-file"
+version = "1.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
+dependencies = [
+ "winapi-util",
+]
+
+[[package]]
+name = "schannel"
+version = "0.1.29"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "91c1b7e4904c873ef0710c1f407dde2e6287de2bebc1bbbf7d430bb7cbffd939"
+dependencies = [
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "scopeguard"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
+
+[[package]]
+name = "security-framework"
+version = "3.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b7f4bc775c73d9a02cde8bf7b2ec4c9d12743edf609006c7facc23998404cd1d"
+dependencies = [
+ "bitflags",
+ "core-foundation",
+ "core-foundation-sys",
+ "libc",
+ "security-framework-sys",
+]
+
+[[package]]
+name = "security-framework-sys"
+version = "2.17.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce2691df843ecc5d231c0b14ece2acc3efb62c0a398c7e1d875f3983ce020e3"
+dependencies = [
+ "core-foundation-sys",
+ "libc",
+]
+
+[[package]]
+name = "semver"
+version = "1.0.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
+
+[[package]]
+name = "serde"
+version = "1.0.229"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba"
+dependencies = [
+ "serde_core",
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_core"
+version = "1.0.229"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48"
+dependencies = [
+ "serde_derive",
+]
+
+[[package]]
+name = "serde_derive"
+version = "1.0.229"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+]
+
+[[package]]
+name = "serde_json"
+version = "1.0.151"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
+dependencies = [
+ "itoa",
+ "memchr",
+ "serde",
+ "serde_core",
+ "zmij",
+]
+
+[[package]]
+name = "serde_path_to_error"
+version = "0.1.20"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "10a9ff822e371bb5403e391ecd83e182e0e77ba7f6fe0160b795797109d1b457"
+dependencies = [
+ "itoa",
+ "serde",
+ "serde_core",
+]
+
+[[package]]
+name = "serde_urlencoded"
+version = "0.7.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d3491c14715ca2294c4d6a88f15e84739788c1d030eed8c110436aafdaa2f3fd"
+dependencies = [
+ "form_urlencoded",
+ "itoa",
+ "ryu",
+ "serde",
+]
+
+[[package]]
+name = "sha2"
+version = "0.11.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4"
+dependencies = [
+ "cfg-if",
+ "cpufeatures",
+ "digest",
+]
+
+[[package]]
+name = "shlex"
+version = "2.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
+
+[[package]]
+name = "signal-hook-registry"
+version = "1.4.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
+dependencies = [
+ "errno",
+ "libc",
+]
+
+[[package]]
+name = "simd_cesu8"
+version = "1.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "11031e251abf8611c80f460e19dbdeb54a66db918e49c65a7065b46ac7aec520"
+dependencies = [
+ "rustc_version",
+ "simdutf8",
+]
+
+[[package]]
+name = "simdutf8"
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e"
+
+[[package]]
+name = "slab"
+version = "0.4.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5"
+
+[[package]]
+name = "smallvec"
+version = "1.16.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f9395f0f0eee849a9b707b2f06bb92a6a422090e2123bb2ef8e87a0e61892a8e"
+
+[[package]]
+name = "socket2"
+version = "0.6.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c3d1e2c7f27f8d4cb10542a02c49005dbd6e93095799d6f3be745fae9f8fedd4"
+dependencies = [
+ "libc",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "stable_deref_trait"
+version = "1.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
+
+[[package]]
+name = "strata-control"
+version = "0.1.0"
+dependencies = [
+ "aho-corasick",
+ "axum",
+ "cc",
+ "fancy-regex",
+ "futures-core",
+ "hex",
+ "http-body",
+ "http-body-util",
+ "jsonschema",
+ "libc",
+ "regex",
+ "regex-syntax",
+ "reqwest",
+ "serde",
+ "serde_json",
+ "sha2",
+ "subtle",
+ "tokio",
+ "webpki-root-certs",
+]
+
+[[package]]
+name = "strum"
+version = "0.28.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd"
+dependencies = [
+ "strum_macros",
+]
+
+[[package]]
+name = "strum_macros"
+version = "0.28.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664"
+dependencies = [
+ "heck",
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "subtle"
+version = "2.6.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
+
+[[package]]
+name = "syn"
+version = "2.0.119"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "syn"
+version = "3.0.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unicode-ident",
+]
+
+[[package]]
+name = "sync_wrapper"
+version = "1.0.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0bf256ce5efdfa370213c1dabab5935a12e49f2c58d15e9eac2870d3b4f27263"
+dependencies = [
+ "futures-core",
+]
+
+[[package]]
+name = "synstructure"
+version = "0.14.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "901704edd0dfe137f1987838ee4f259e4e063c31371bdb423f7ae38ec6f77f02"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+]
+
+[[package]]
+name = "thiserror"
+version = "2.0.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
+dependencies = [
+ "thiserror-impl",
+]
+
+[[package]]
+name = "thiserror-impl"
+version = "2.0.21"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+]
+
+[[package]]
+name = "tinystr"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643"
+dependencies = [
+ "displaydoc",
+ "zerovec",
+]
+
+[[package]]
+name = "tinyvec"
+version = "1.13.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fd3ca314f692efd6c868f8408f53fe444634a845f96c028b97d35f6a1f79f0ee"
+
+[[package]]
+name = "tokio"
+version = "1.53.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "202caea871b69668250d242070849eb495be178ed697a3e98aebce5bc81a0bed"
+dependencies = [
+ "bytes",
+ "libc",
+ "mio",
+ "pin-project-lite",
+ "signal-hook-registry",
+ "socket2",
+ "tokio-macros",
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "tokio-macros"
+version = "2.7.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "78773a2a397f451582ce068015985c33193cf6dea8b74d2a639fe457b2f07b0e"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+]
+
+[[package]]
+name = "tokio-rustls"
+version = "0.26.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c9cc2678c2cdd569ef8215e2afd7954ada2ae20b4fdd2c5fe6139a3b02d105db"
+dependencies = [
+ "rustls",
+ "tokio",
+]
+
+[[package]]
+name = "tower"
+version = "0.5.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ebe5ef63511595f1344e2d5cfa636d973292adc0eec1f0ad45fae9f0851ab1d4"
+dependencies = [
+ "futures-core",
+ "futures-util",
+ "pin-project-lite",
+ "sync_wrapper",
+ "tokio",
+ "tower-layer",
+ "tower-service",
+ "tracing",
+]
+
+[[package]]
+name = "tower-http"
+version = "0.6.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840"
+dependencies = [
+ "bitflags",
+ "bytes",
+ "futures-util",
+ "http",
+ "http-body",
+ "pin-project-lite",
+ "tower",
+ "tower-layer",
+ "tower-service",
+ "url",
+]
+
+[[package]]
+name = "tower-layer"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e"
+
+[[package]]
+name = "tower-service"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8df9b6e13f2d32c91b9bd719c00d1958837bc7dec474d94952798cc8e69eeec3"
+
+[[package]]
+name = "tracing"
+version = "0.1.44"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
+dependencies = [
+ "log",
+ "pin-project-lite",
+ "tracing-core",
+]
+
+[[package]]
+name = "tracing-core"
+version = "0.1.36"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "db97caf9d906fbde555dd62fa95ddba9eecfd14cb388e4f491a66d74cd5fb79a"
+dependencies = [
+ "once_cell",
+]
+
+[[package]]
+name = "try-lock"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
+
+[[package]]
+name = "typenum"
+version = "1.20.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6f5e870be6c3b371b77fe0ee0bafb859fa4964b4404c27de1d380043c4dda20"
+
+[[package]]
+name = "unicode-general-category"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b993bddc193ae5bd0d623b49ec06ac3e9312875fdae725a975c51db1cc1677f"
+
+[[package]]
+name = "unicode-ident"
+version = "1.0.26"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954"
+
+[[package]]
+name = "untrusted"
+version = "0.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
+
+[[package]]
+name = "url"
+version = "2.5.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
+dependencies = [
+ "form_urlencoded",
+ "idna",
+ "percent-encoding",
+ "serde",
+]
+
+[[package]]
+name = "utf8_iter"
+version = "1.0.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be"
+
+[[package]]
+name = "uuid-simd"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "23b082222b4f6619906941c17eb2297fff4c2fb96cb60164170522942a200bd8"
+dependencies = [
+ "outref",
+ "vsimd",
+]
+
+[[package]]
+name = "version_check"
+version = "0.9.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
+
+[[package]]
+name = "vsimd"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5c3082ca00d5a5ef149bb8b555a72ae84c9c59f7250f013ac822ac2e49b19c64"
+
+[[package]]
+name = "walkdir"
+version = "2.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
+dependencies = [
+ "same-file",
+ "winapi-util",
+]
+
+[[package]]
+name = "want"
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e"
+dependencies = [
+ "try-lock",
+]
+
+[[package]]
+name = "wasi"
+version = "0.11.1+wasi-snapshot-preview1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
+
+[[package]]
+name = "wasip2"
+version = "1.0.1+wasi-0.2.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
+dependencies = [
+ "wit-bindgen",
+]
+
+[[package]]
+name = "wasm-bindgen"
+version = "0.2.129"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9bb54f33acc68fd454578d9820b0bde1a1a3d17aa17bb7b6595806d02886d409"
+dependencies = [
+ "cfg-if",
+ "once_cell",
+ "rustversion",
+ "wasm-bindgen-macro",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-futures"
+version = "0.4.79"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3cbab34de2d982e9b48e18d216d04c4a6f641066ff19ffb699980f591ee3610e"
+dependencies = [
+ "js-sys",
+ "tokio",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "wasm-bindgen-macro"
+version = "0.2.129"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2e29d0c35b16e224a7eeb5cd2d25e3e1968fbd65604117b44d3b789d00ee8535"
+dependencies = [
+ "quote",
+ "wasm-bindgen-macro-support",
+]
+
+[[package]]
+name = "wasm-bindgen-macro-support"
+version = "0.2.129"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6f501a8bc3719dba86ef8ae4728879c08001bea749eb1333ac5b91e040e2a6b7"
+dependencies = [
+ "bumpalo",
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+ "wasm-bindgen-shared",
+]
+
+[[package]]
+name = "wasm-bindgen-shared"
+version = "0.2.129"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "23f0c9c52aa7cd7d77769a4cfe2a9adb1b331f489a41d912ce14513d5ab995c6"
+dependencies = [
+ "unicode-ident",
+]
+
+[[package]]
+name = "web-sys"
+version = "0.3.106"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "88261b9deccee56594c11a3460c462c41f58d148598fe70ad77070126a68aba4"
+dependencies = [
+ "js-sys",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "web-time"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb"
+dependencies = [
+ "js-sys",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "webpki-root-certs"
+version = "1.0.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b96554aa2acc8ccdb7e1c9a58a7a68dd5d13bccc69cd124cb09406db612a1c9b"
+dependencies = [
+ "rustls-pki-types",
+]
+
+[[package]]
+name = "winapi-util"
+version = "0.1.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
+dependencies = [
+ "windows-sys 0.61.2",
+]
+
+[[package]]
+name = "windows-link"
+version = "0.2.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
+
+[[package]]
+name = "windows-sys"
+version = "0.52.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
+dependencies = [
+ "windows-targets",
+]
+
+[[package]]
+name = "windows-sys"
+version = "0.61.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
+dependencies = [
+ "windows-link",
+]
+
+[[package]]
+name = "windows-targets"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
+dependencies = [
+ "windows_aarch64_gnullvm",
+ "windows_aarch64_msvc",
+ "windows_i686_gnu",
+ "windows_i686_gnullvm",
+ "windows_i686_msvc",
+ "windows_x86_64_gnu",
+ "windows_x86_64_gnullvm",
+ "windows_x86_64_msvc",
+]
+
+[[package]]
+name = "windows_aarch64_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
+
+[[package]]
+name = "windows_aarch64_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
+
+[[package]]
+name = "windows_i686_gnu"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
+
+[[package]]
+name = "windows_i686_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
+
+[[package]]
+name = "windows_i686_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
+
+[[package]]
+name = "windows_x86_64_gnu"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
+
+[[package]]
+name = "windows_x86_64_gnullvm"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
+
+[[package]]
+name = "windows_x86_64_msvc"
+version = "0.52.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
+
+[[package]]
+name = "wit-bindgen"
+version = "0.46.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
+
+[[package]]
+name = "writeable"
+version = "0.6.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc"
+
+[[package]]
+name = "yoke"
+version = "0.8.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5"
+dependencies = [
+ "stable_deref_trait",
+ "yoke-derive",
+ "zerofrom",
+]
+
+[[package]]
+name = "yoke-derive"
+version = "0.8.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ec8ebde2db3681e8c9980cc27822030e68752690ddfa9473e739aeb4dbde6d71"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+ "synstructure",
+]
+
+[[package]]
+name = "zerocopy"
+version = "0.8.59"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "6df92bf3d9227be3d53173901ddbffac2babc27ae50f397776ffd6dc33f800cb"
+dependencies = [
+ "zerocopy-derive",
+]
+
+[[package]]
+name = "zerocopy-derive"
+version = "0.8.59"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "ac4f328cf2f05d084e496c3e9c3f33ed0a183656a16e1fcec4d464d8373aec82"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+]
+
+[[package]]
+name = "zerofrom"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0ec05a11813ea801ff6d75110ad09cd0824ddba17dfe17128ea0d5f68e6c5272"
+dependencies = [
+ "zerofrom-derive",
+]
+
+[[package]]
+name = "zerofrom-derive"
+version = "0.1.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f75b4683f6c7f45248d4d64056a24298c6281e0993356d7d1b4a1a962ef10d4a"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+ "synstructure",
+]
+
+[[package]]
+name = "zeroize"
+version = "1.9.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e13c156562582aa81c60cb29407084cdb54c4164760106ab78e6c5b0858cf64e"
+
+[[package]]
+name = "zerotrie"
+version = "0.2.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f"
+dependencies = [
+ "displaydoc",
+ "yoke",
+ "zerofrom",
+]
+
+[[package]]
+name = "zerovec"
+version = "0.11.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8"
+dependencies = [
+ "yoke",
+ "zerofrom",
+ "zerovec-derive",
+]
+
+[[package]]
+name = "zerovec-derive"
+version = "0.11.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.6",
+]
+
+[[package]]
+name = "zmij"
+version = "1.0.23"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b"
diff --git a/control-plane/Cargo.toml b/control-plane/Cargo.toml
new file mode 100644
index 00000000..3a1da7d8
--- /dev/null
+++ b/control-plane/Cargo.toml
@@ -0,0 +1,36 @@
+[package]
+name = "strata-control"
+version = "0.1.0"
+edition = "2024"
+rust-version = "1.99"
+default-run = "strata-next"
+
+[[bin]]
+name = "strata-next"
+path = "src/main.rs"
+
+[dependencies]
+aho-corasick = "1.1"
+axum = "0.8"
+fancy-regex = "0.19"
+futures-core = "0.3"
+hex = "0.4"
+http-body = "1"
+jsonschema = { version = "0.58.4", default-features = false }
+libc = "0.2"
+reqwest = { version = "0.13.5", default-features = false, features = ["rustls"] }
+regex = "1.13.1"
+regex-syntax = "0.8.11"
+serde = { version = "1", features = ["derive"] }
+serde_json = "1"
+sha2 = "0.11"
+subtle = "2.6.1"
+tokio = { version = "1", features = ["fs", "io-util", "macros", "net", "process", "rt-multi-thread", "signal", "sync", "time"] }
+webpki-root-certs = "1.0"
+
+[build-dependencies]
+cc = "1"
+sha2 = "0.11"
+
+[dev-dependencies]
+http-body-util = "0.1"
diff --git a/control-plane/README.md b/control-plane/README.md
new file mode 100644
index 00000000..9c7a6089
--- /dev/null
+++ b/control-plane/README.md
@@ -0,0 +1,22 @@
+# Control plane
+
+For small, experimental sharded fixtures, `model ensure-sharded-preview MANIFEST --source-dir DIR --output FILE.kar --levels N` acquires and verifies the sources, creates a KAR-2 preview, and verifies it again. It reuses an existing archive only when its payload, provenance, source identity, and requested level count verify. `model smoke-fixture --output FILE.kar` creates a deterministic model-free archive, and `model checksum-kar-preview FILE.kar TENSOR LEVEL` independently decodes it on CPU for comparison with the CUDA smoke tool. The 64 MiB input limit remains; these commands cannot prepare the target model for serving.
+
+The repository pins Rust 1.99.0 in [`rust-toolchain.toml`](../rust-toolchain.toml). `rustup` selects it automatically from this checkout. The `strata-next` executable defaults to `serve` and also supports `doctor`, `model fetch MANIFEST --output DIR`, `model verify MANIFEST --output DIR`, `model inspect FILE.gguf`, `model index FILE.gguf [--hash]`, `model derive-iq3-identity FILE.gguf`, `model derive-mixed-identity FILE.gguf`, `model derive-sharded-identity MANIFEST --source-dir DIR`, `model prepare-f32-preview FILE.gguf --output FILE.kar --levels N`, `model prepare-iq3-preview FILE.gguf --output FILE.kar --levels N`, `model prepare-mixed-preview FILE.gguf --output FILE.kar --levels N`, `model prepare-sharded-preview MANIFEST --source-dir DIR --output FILE.kar --levels N`, `model inspect-kar FILE.kar`, `model verify-kar FILE.kar [--manifest SPEC --source-dir DIR]`, `model verify-iq3-preview FILE.kar --source FILE.gguf`, `model verify-mixed-preview FILE.kar --source FILE.gguf`, `model verify-sharded-preview FILE.kar --manifest SPEC --source-dir DIR`, `model extract-tokenizer FILE.gguf --output DIR`, `model tokenize TOKENIZER_DIR TEXT [--special]`, and `model detokenize TOKENIZER_DIR IDS`. Use `model tokenize TOKENIZER_DIR --stdin [--special]` for long text or control bytes. The IQ3, mixed, and sharded identity commands hash virtual F32 streams with bounded memory. Preview preparation commands write provenance sidecars, which the corresponding verification commands recompute and check against the archives. No preview archive is approved for serving. `model inspect-kar` checks bounded KAR-2 metadata, header CRC, directory digest, tensor shapes, and section bounds; `model verify-kar` also scans payload CRC-32 checksums. With a manifest and source directory it verifies each physical source shard and the archive's concatenated source digest. Neither command decodes KAR weights or measures quality. `scripts/check-local.sh` runs formatting, Clippy, Rust tests, protocol replay, and the CPU engine tests.
+
+The Rust control plane provides process health, worker readiness, status, and graceful shutdown. It can start a Strata engine worker and records worker readiness only after the engine emits `READY `. An abandoned internal generation sends `STOP` and drains its terminal response before the next request; shutdown during generation sends `STOP` before `QUIT`. With tokenizer assets configured, `POST /v1/responses` can perform a restricted non-streaming text generation with `reasoning.effort: "none"`. It returns 503 while the worker is unavailable, 501 for unsupported live features or a missing tokenizer, and never fabricates a model response. Worker restart is not yet implemented.
+
+Run locally with `cargo run --manifest-path control-plane/Cargo.toml`. It binds to `127.0.0.1:8081` by default; set `STRATA_BIND` to another socket address if needed. Check `/health`, `/ready`, and `/status`.
+
+Set `STRATA_CONFIG` to a JSON file using [`config.example.json`](config.example.json) as a template. The file supports `bind` and an `engine` object with `executable`, `args`, `tokenizer_dir`, and `startup_timeout_s` (1–3600 seconds, default 600). `STRATA_BIND`, `STRATA_ENGINE_EXE`, `STRATA_ENGINE_ARGS_JSON`, `STRATA_TOKENIZER_DIR`, and `STRATA_STARTUP_TIMEOUT_S` override their file counterparts. The control plane supplies `--serve` itself. The tokenizer directory must contain the native assets extracted from the model.
+
+Without an engine configuration, `/ready` returns HTTP 503 and `/status` reports `unconfigured`. A configured worker reports `starting`, then `ready` with `max_context`, or `failed` if startup, the readiness handshake, or the process fails. `/ready` returns HTTP 200 only when the worker and native tokenizer are configured and ready for the restricted text preview. During shutdown the worker reports `stopping` and receives `QUIT`. Startup has a timeout; the control plane never advertises readiness before the engine handshake.
+
+Run the local contract checks with `cargo test --manifest-path control-plane/Cargo.toml --locked`. The tests use a small fake engine process and need no GPU or model. The supervisor test sends a token-ID `GEN` command through the worker pipe, reads `T` and `DONE`, and rejects a request that exceeds the ready worker's context. The Responses trace builder checks ordered SSE events, terminal completion, unchanged tool arguments, and JSON Schema output validation. The synthetic replay can be run as JSON or SSE:
+
+```sh
+cargo run --manifest-path control-plane/Cargo.toml --locked --bin replay-responses -- benchmarks/fixtures/responses/structured-tool.json
+cargo run --manifest-path control-plane/Cargo.toml --locked --bin replay-responses -- --sse benchmarks/fixtures/responses/structured-tool.json
+```
+
+See [API contract](../docs/api-contract.md) for the supported subset and remaining integration work.
diff --git a/control-plane/build.rs b/control-plane/build.rs
new file mode 100644
index 00000000..5d2f7dee
--- /dev/null
+++ b/control-plane/build.rs
@@ -0,0 +1,117 @@
+#[path = "src/embedded_spec.rs"]
+mod embedded_spec;
+
+fn main() {
+ embed_engine().expect("invalid embedded engine build configuration");
+ println!("cargo:rerun-if-changed=src/ggml_bridge.c");
+ println!("cargo:rerun-if-changed=third_party/ggml");
+ cc::Build::new()
+ .file("third_party/ggml/ggml-quants.c")
+ .file("src/ggml_bridge.c")
+ .include("third_party/ggml")
+ .flag_if_supported("-std=c11")
+ .flag_if_supported("-ffunction-sections")
+ .flag_if_supported("-fdata-sections")
+ .warnings(false)
+ .compile("strata_ggml_quants");
+}
+
+fn embed_engine() -> Result<(), Box> {
+ use std::{env, fs, path::PathBuf};
+ let names = [
+ "STRATA_EMBED_ENGINE_PATH",
+ "STRATA_EMBED_ENGINE_SHA256",
+ "STRATA_EMBED_ENGINE_REVISION",
+ ];
+ for name in names {
+ println!("cargo:rerun-if-env-changed={name}");
+ }
+ let values: Vec<_> = names.iter().map(env::var_os).collect();
+ let output = PathBuf::from(env::var_os("OUT_DIR").ok_or("missing OUT_DIR")?);
+ let payload_path = output.join("embedded-engine.bin");
+ let (digest, revision) = if values.iter().all(Option::is_none) {
+ fs::write(&payload_path, [])?;
+ (String::new(), String::new())
+ } else {
+ if values.iter().any(Option::is_none) {
+ return Err("set all three STRATA_EMBED_ENGINE_PATH/SHA256/REVISION variables".into());
+ }
+ if env::var("CARGO_CFG_TARGET_OS")? != "linux" {
+ return Err("embedded engines require a Linux target".into());
+ }
+ let path = PathBuf::from(values[0].as_ref().unwrap()).canonicalize()?;
+ let printable = path.to_str().ok_or("engine path must be UTF-8")?;
+ if printable.contains(['\n', '\r']) {
+ return Err("engine path cannot contain newlines".into());
+ }
+ println!("cargo:rerun-if-changed={printable}");
+ let file = fs::File::open(path)?;
+ if !file.metadata()?.is_file() {
+ return Err("embedded engine must be a regular file".into());
+ }
+ if file.metadata()?.len() > embedded_spec::MAX_BYTES {
+ return Err("embedded engine exceeds 1 GiB".into());
+ }
+ let digest = values[1]
+ .as_ref()
+ .unwrap()
+ .to_str()
+ .ok_or("digest must be ASCII")?;
+ let revision = values[2]
+ .as_ref()
+ .unwrap()
+ .to_str()
+ .ok_or("revision must be ASCII")?;
+ embedded_spec::copy_verified(
+ file,
+ fs::File::create(&payload_path)?,
+ &env::var("CARGO_CFG_TARGET_ARCH")?,
+ digest,
+ revision,
+ )?;
+ (digest.to_ascii_lowercase(), revision.to_ascii_lowercase())
+ };
+ let size = fs::metadata(&payload_path)?.len();
+ let declaration = if size == 0 {
+ "pub const BYTES: &[u8] = &[];\n".to_owned()
+ } else {
+ // Keep large verified payloads out of Rust constant evaluation/LLVM IR.
+ // The target assembler copies the bytes into an immutable ELF section.
+ let path = payload_path.to_str().ok_or("payload path must be UTF-8")?;
+ if path.contains(['\n', '\r']) {
+ return Err("payload path cannot contain newlines".into());
+ }
+ let path = path.replace('\\', "\\\\").replace('"', "\\\"");
+ let assembly = output.join("embedded-engine.S");
+ fs::write(
+ &assembly,
+ format!(
+ ".section .rodata.strata_engine,\"a\"\n\
+ .balign 16\n\
+ .global strata_embedded_engine_bytes\n\
+ .hidden strata_embedded_engine_bytes\n\
+ strata_embedded_engine_bytes:\n\
+ .incbin \"{path}\"\n\
+ .size strata_embedded_engine_bytes, .-strata_embedded_engine_bytes\n\
+ .section .note.GNU-stack,\"\"\n"
+ ),
+ )?;
+ cc::Build::new()
+ .file(assembly)
+ .compile("strata_embedded_payload");
+ format!(
+ "unsafe extern \"C\" {{ static strata_embedded_engine_bytes: [u8; {size}]; }}\n\
+ // SAFETY: build.rs emits exactly {size} verified bytes in read-only storage.\n\
+ pub static BYTES: &[u8] = unsafe {{ &strata_embedded_engine_bytes }};\n"
+ )
+ };
+ fs::write(
+ output.join("embedded-engine.rs"),
+ format!(
+ "{declaration}\
+ pub const SHA256: &str = {digest:?};\n\
+ pub const SOURCE_REVISION: &str = {revision:?};\n"
+ ),
+ )?;
+ Ok(())
+}
diff --git a/control-plane/config.example.json b/control-plane/config.example.json
new file mode 100644
index 00000000..b0563274
--- /dev/null
+++ b/control-plane/config.example.json
@@ -0,0 +1,10 @@
+{
+ "bind": "127.0.0.1:8081",
+ "shutdown_grace_s": 0,
+ "engine": {
+ "executable": "/absolute/path/to/strata",
+ "tokenizer_dir": "/models/pack/tokenizer",
+ "args": ["--pack", "/models/pack", "--max-context", "262144", "--kv", "int8"],
+ "startup_timeout_s": 600
+ }
+}
diff --git a/control-plane/examples/compare-iq3-s.rs b/control-plane/examples/compare-iq3-s.rs
new file mode 100644
index 00000000..1b857aac
--- /dev/null
+++ b/control-plane/examples/compare-iq3-s.rs
@@ -0,0 +1,57 @@
+//! Compare the independent Rust IQ3_S decoder with pinned ggml on real GGUF blocks.
+//! The GGUF input stays outside Git; this diagnostic reads only caller-chosen blocks.
+
+use std::{
+ env,
+ fs::File,
+ io::{Read, Seek, SeekFrom},
+ path::Path,
+};
+
+use strata_control::{ggml_bridge, gguf, iq3_s};
+
+fn main() -> Result<(), Box> {
+ let mut args = env::args().skip(1);
+ let path = args
+ .next()
+ .ok_or("usage: compare-iq3-s FILE.gguf [BLOCKS]")?;
+ let requested: u64 = args.next().unwrap_or_else(|| "1024".into()).parse()?;
+ if args.next().is_some() || requested == 0 {
+ return Err("usage: compare-iq3-s FILE.gguf [BLOCKS]".into());
+ }
+ let path = Path::new(&path);
+ let index = gguf::tensor_index(path)?;
+ let tensor = index
+ .tensors
+ .iter()
+ .find(|tensor| tensor.kind == 21)
+ .ok_or("GGUF has no IQ3_S tensor")?;
+ let blocks = requested.min(tensor.bytes / iq3_s::BLOCK_BYTES as u64);
+ let mut source = File::open(path)?;
+ source.seek(SeekFrom::Start(index.summary.data_start + tensor.offset))?;
+ let mut block = [0u8; iq3_s::BLOCK_BYTES];
+ let mut ggml = [0.0f32; iq3_s::BLOCK_ELEMENTS];
+ for number in 0..blocks {
+ source.read_exact(&mut block)?;
+ let rust = iq3_s::decode_block(&block)?;
+ ggml_bridge::decode_into(21, &block, &mut ggml)?;
+ if let Some(position) = rust
+ .iter()
+ .zip(&ggml)
+ .position(|(left, right)| left.to_bits() != right.to_bits())
+ {
+ return Err(format!(
+ "block {number}, value {position}: Rust={:#010x}, ggml={:#010x}",
+ rust[position].to_bits(),
+ ggml[position].to_bits()
+ )
+ .into());
+ }
+ }
+ println!(
+ "{}: {blocks} IQ3_S blocks, {} F32 values bit-identical to pinned ggml",
+ tensor.name,
+ blocks * iq3_s::BLOCK_ELEMENTS as u64
+ );
+ Ok(())
+}
diff --git a/control-plane/examples/compare-kar-range.rs b/control-plane/examples/compare-kar-range.rs
new file mode 100644
index 00000000..a07054d7
--- /dev/null
+++ b/control-plane/examples/compare-kar-range.rs
@@ -0,0 +1,89 @@
+//! Independently decode a bounded KAR range and compare it with GGUF values.
+//! The one-tensor GGUF and KAR inputs stay outside Git. This is a CPU diagnostic.
+
+use std::{
+ env,
+ fs::File,
+ io::{Read, Seek, SeekFrom},
+ path::Path,
+};
+
+use strata_control::{ggml_bridge, gguf, kar};
+
+fn main() -> Result<(), Box> {
+ let mut args = env::args().skip(1);
+ let usage = "usage: compare-kar-range FILE.gguf FILE.kar LEVEL START COUNT";
+ let source_path = args.next().ok_or(usage)?;
+ let archive_path = args.next().ok_or(usage)?;
+ let level: u8 = args.next().ok_or(usage)?.parse()?;
+ let start: usize = args.next().ok_or(usage)?.parse()?;
+ let count: usize = args.next().ok_or(usage)?.parse()?;
+ if args.next().is_some() || count == 0 || count > 1_000_000 {
+ return Err(usage.into());
+ }
+ let source_path = Path::new(&source_path);
+ let archive_path = Path::new(&archive_path);
+ let index = gguf::tensor_index(source_path)?;
+ if index.tensors.len() != 1 {
+ return Err("diagnostic source must contain exactly one tensor".into());
+ }
+ let tensor = &index.tensors[0];
+ let (block_elements, block_bytes) = match tensor.kind {
+ 20 => (32usize, 18usize),
+ 21 => (256, 110),
+ _ => return Err("diagnostic supports IQ4_NL and IQ3_S sources".into()),
+ };
+ let end = start.checked_add(count).ok_or("GGUF range overflow")?;
+ let elements = tensor
+ .dimensions
+ .iter()
+ .try_fold(1usize, |n, d| n.checked_mul(usize::try_from(*d).ok()?))
+ .ok_or("GGUF element count overflow")?;
+ if end > elements {
+ return Err("GGUF range exceeds tensor".into());
+ }
+ let reconstructed = kar::decode_tensor_range(archive_path, &tensor.name, level, start, count)?;
+ let first_block = start / block_elements;
+ let final_block = end.div_ceil(block_elements);
+ let first_block_bytes = first_block
+ .checked_mul(block_bytes)
+ .and_then(|n| u64::try_from(n).ok())
+ .ok_or("GGUF offset overflow")?;
+ let absolute = index
+ .summary
+ .data_start
+ .checked_add(tensor.offset)
+ .and_then(|n| n.checked_add(first_block_bytes))
+ .ok_or("GGUF offset overflow")?;
+ let mut source = File::open(source_path)?;
+ source.seek(SeekFrom::Start(absolute))?;
+ let mut block = vec![0u8; block_bytes];
+ let mut decoded = vec![0.0f32; block_elements];
+ let mut error_sum = 0.0f64;
+ let mut reference_sum = 0.0f64;
+ let mut maximum_absolute_error = 0.0f64;
+ for number in first_block..final_block {
+ source.read_exact(&mut block)?;
+ ggml_bridge::decode_into(tensor.kind, &block, &mut decoded)?;
+ let begin = start.max(number * block_elements);
+ let finish = end.min((number + 1) * block_elements);
+ for position in begin..finish {
+ let reference = f64::from(decoded[position - number * block_elements]);
+ let value = f64::from(reconstructed[position - start]);
+ let error = (reference - value).abs();
+ error_sum += error * error;
+ reference_sum += reference * reference;
+ maximum_absolute_error = maximum_absolute_error.max(error);
+ }
+ }
+ let relative_l2 = if reference_sum == 0.0 {
+ error_sum.sqrt()
+ } else {
+ (error_sum / reference_sum).sqrt()
+ };
+ println!(
+ "{}: {count} archived F32 values decoded at level {level}, start {start}; relative L2 {relative_l2:.8}, maximum absolute error {maximum_absolute_error:.8}",
+ tensor.name
+ );
+ Ok(())
+}
diff --git a/control-plane/examples/kar-expert-fixture.rs b/control-plane/examples/kar-expert-fixture.rs
new file mode 100644
index 00000000..6c3ae49e
--- /dev/null
+++ b/control-plane/examples/kar-expert-fixture.rs
@@ -0,0 +1,69 @@
+//! Model-free routed-expert fixture, using the production KAR writer.
+use sha2::{Digest, Sha256};
+use std::path::Path;
+use strata_control::kar_writer::{self, SourceIdentity, Tensor, TensorData};
+
+fn main() -> Result<(), String> {
+ let args: Vec<_> = std::env::args().collect();
+ if args.len() != 2 {
+ return Err("usage: kar-expert-fixture NEW_OUTPUT.kar".into());
+ }
+ const H: u64 = 64;
+ const F: u64 = 32;
+ const E: u64 = 2;
+ let scales = vec![0x2800u16; (H * F * E / 32) as usize]; // 1/32
+ let mut plane = vec![u32::MAX; (H * F / 32) as usize];
+ plane.extend(vec![0u32; (H * F / 32) as usize]);
+ let book = [0xbc00u16, 0x3c00]; // expert 0 positive, expert 1 negative
+ let books: [&[u16]; 1] = [&book];
+ let planes: [&[u32]; 1] = [&plane];
+ let raw: Vec = (0..3)
+ .flat_map(|_| {
+ (0..H * F * E).flat_map(|i| {
+ (if i < H * F {
+ 1.0f32 / 32.0
+ } else {
+ -1.0f32 / 32.0
+ })
+ .to_le_bytes()
+ })
+ })
+ .collect();
+ let source = SourceIdentity {
+ name: "synthetic-routed-experts",
+ architecture: "synthetic",
+ builder: "strata-next/kar-expert-fixture-v1",
+ digest: Sha256::digest(&raw).into(),
+ total_elements: H * F * E * 3,
+ bytes: raw.len() as u64,
+ };
+ let dims = [[H, F, E], [H, F, E], [F, H, E]];
+ let names = [
+ "blk.0.ffn_gate_exps.weight",
+ "blk.0.ffn_up_exps.weight",
+ "blk.0.ffn_down_exps.weight",
+ ];
+ let tensors: Vec<_> = (0..3)
+ .map(|role| Tensor {
+ name: names[role],
+ dims: &dims[role],
+ source_dtype: 0,
+ source_digest: Sha256::digest(
+ &raw[role * (H * F * E * 4) as usize..(role + 1) * (H * F * E * 4) as usize],
+ )
+ .into(),
+ source_offset: role as u64 * H * F * E * 4,
+ data: TensorData::Nested {
+ group: 32,
+ nesting: 0,
+ planes_min: 1,
+ planes_max: 1,
+ scales: &scales,
+ books: &books,
+ planes: &planes,
+ },
+ })
+ .collect();
+ kar_writer::write_archive(Path::new(&args[1]), &source, &tensors)?;
+ Ok(())
+}
diff --git a/control-plane/examples/scan-quant-blocks.rs b/control-plane/examples/scan-quant-blocks.rs
new file mode 100644
index 00000000..597d0df7
--- /dev/null
+++ b/control-plane/examples/scan-quant-blocks.rs
@@ -0,0 +1,53 @@
+//! Decode the first real block of each quantized GGUF kind in one source shard.
+//! This is an offline diagnostic; input weights remain outside Git.
+
+use std::{collections::BTreeMap, env, fs::File, path::Path};
+
+use sha2::{Digest, Sha256};
+use strata_control::{gguf, gguf_f32_stream};
+
+fn main() -> Result<(), Box> {
+ let path = env::args()
+ .nth(1)
+ .ok_or("usage: scan-quant-blocks FILE.gguf")?;
+ let path = Path::new(&path);
+ let index = gguf::tensor_index(path)?;
+ let mut first_by_kind = BTreeMap::new();
+ for tensor in &index.tensors {
+ first_by_kind.entry(tensor.kind).or_insert(tensor);
+ }
+ let mut source = File::open(path)?;
+ for (kind, tensor) in first_by_kind {
+ let (expected_elements, bytes) =
+ gguf::block_geometry(kind).ok_or_else(|| format!("unsupported source kind {kind}"))?;
+ let absolute = index
+ .summary
+ .data_start
+ .checked_add(tensor.offset)
+ .ok_or("GGUF tensor offset overflow")?;
+ let mut hasher = Sha256::new();
+ let decoded_bytes =
+ gguf_f32_stream::visit(&mut source, absolute, kind, bytes, |_, values| {
+ if values
+ .as_chunks::<4>()
+ .0
+ .iter()
+ .any(|word| !f32::from_le_bytes(*word).is_finite())
+ {
+ return Err(format!("{}: non-finite decoded value", tensor.name));
+ }
+ hasher.update(values);
+ Ok(())
+ })?;
+ if decoded_bytes != expected_elements * 4 {
+ return Err(format!("{}: decoded block length mismatch", tensor.name).into());
+ }
+ println!(
+ "kind {kind}: {} values from {} SHA-256 {}",
+ expected_elements,
+ tensor.name,
+ hex::encode(hasher.finalize())
+ );
+ }
+ Ok(())
+}
diff --git a/control-plane/src/app.rs b/control-plane/src/app.rs
new file mode 100644
index 00000000..92e9ccb0
--- /dev/null
+++ b/control-plane/src/app.rs
@@ -0,0 +1,414 @@
+use std::sync::Arc;
+
+use axum::{
+ Json, Router,
+ extract::{DefaultBodyLimit, State},
+ http::{HeaderMap, StatusCode},
+ middleware,
+ response::{IntoResponse, Response},
+ routing::{get, post},
+};
+use serde::Serialize;
+use tokio::sync::{RwLock, mpsc};
+
+use crate::{
+ responses,
+ tokenizer::Tokenizer,
+ worker::{GenerationCommand, WorkerState, WorkerStatus},
+};
+
+#[derive(Clone)]
+pub struct AppState {
+ pub queue_timeout: Option,
+ pub lifecycle: crate::lifecycle::Lifecycle,
+ pub api_key: Option>,
+ pub model: Option,
+ pub worker: Arc>,
+ pub tokenizer: Option>,
+ pub generation: Option>,
+ pub response_history: Arc>,
+}
+
+impl Default for AppState {
+ fn default() -> Self {
+ Self {
+ queue_timeout: None,
+ lifecycle: Default::default(),
+ api_key: None,
+ model: None,
+ worker: Arc::new(RwLock::new(WorkerStatus::default())),
+ tokenizer: None,
+ generation: None,
+ response_history: Arc::new(RwLock::new(responses::ResponseHistory::default())),
+ }
+ }
+}
+
+#[derive(Serialize)]
+struct HealthResponse {
+ status: &'static str,
+}
+
+#[derive(Serialize)]
+struct StatusResponse {
+ service: &'static str,
+ server_pid: u32,
+ model: Option,
+ version: &'static str,
+ worker: WorkerState,
+ ready: bool,
+ max_context: Option,
+}
+
+pub fn router(state: AppState) -> Router {
+ Router::new()
+ .route("/health", get(health))
+ .route("/ready", get(ready))
+ .route("/status", get(status))
+ .route("/metrics", get(metrics))
+ .route("/v1/models", get(crate::models_api::list))
+ .route("/v1/models/{id}", get(crate::models_api::retrieve))
+ .route(
+ "/v1/responses",
+ post(responses::create).layer(middleware::from_fn_with_state(
+ state.lifecycle.clone(),
+ crate::lifecycle::admit,
+ )),
+ )
+ .route(
+ "/v1/responses/input_tokens",
+ post(responses::count_input_tokens).layer(middleware::from_fn_with_state(
+ state.lifecycle.clone(),
+ crate::lifecycle::admit,
+ )),
+ )
+ .route(
+ "/v1/chat/completions",
+ post(crate::chat::create).layer(middleware::from_fn_with_state(
+ state.lifecycle.clone(),
+ crate::lifecycle::admit,
+ )),
+ )
+ .route(
+ "/v1/messages/count_tokens",
+ post(crate::messages::count_tokens)
+ .layer(middleware::from_fn_with_state(
+ state.lifecycle.clone(),
+ crate::lifecycle::admit,
+ ))
+ .layer(middleware::from_fn(crate::messages::protocol)),
+ )
+ .route(
+ "/v1/messages",
+ post(crate::messages::create)
+ .layer(middleware::from_fn_with_state(
+ state.lifecycle.clone(),
+ crate::lifecycle::admit,
+ ))
+ .layer(middleware::from_fn(crate::messages::protocol)),
+ )
+ .route("/admin/lifecycle", get(lifecycle_status))
+ .route(
+ "/v1/responses/{id}",
+ get(responses::retrieve).delete(responses::delete),
+ )
+ .route(
+ "/v1/responses/{id}/input_items",
+ get(responses::input_items),
+ )
+ .route("/admin/drain", post(drain))
+ .route("/admin/resume", post(resume))
+ .layer(DefaultBodyLimit::max(16 * 1024 * 1024))
+ .layer(middleware::from_fn_with_state(
+ state.api_key.clone(),
+ crate::auth::authorize,
+ ))
+ .with_state(state)
+}
+
+async fn health() -> Json {
+ Json(HealthResponse { status: "ok" })
+}
+
+async fn lifecycle_status(State(state): State) -> Json {
+ let worker = *state.worker.read().await;
+ let lifecycle = state.lifecycle.snapshot();
+ let drained = lifecycle.draining
+ && lifecycle.requests_in_flight == 0
+ && lifecycle.generation_jobs == 0
+ && worker.metrics.active_since.is_none()
+ && matches!(worker.state, WorkerState::Ready | WorkerState::Unconfigured);
+ Json(
+ serde_json::json!({"service":"strata-control", "server_pid":std::process::id(), "model":state.model,
+ "draining":lifecycle.draining,
+ "shutting_down":lifecycle.shutting_down,
+ "max_in_flight_requests":lifecycle.max_in_flight_requests,
+ "available_request_slots":lifecycle.max_in_flight_requests.saturating_sub(lifecycle.requests_in_flight),
+ "requests_in_flight":lifecycle.requests_in_flight, "generation_jobs":lifecycle.generation_jobs,
+ "drained":drained, "worker":worker.state}),
+ )
+}
+
+fn lifecycle_precondition(headers: &HeaderMap) -> Option {
+ let mut values = headers.get_all("x-strata-expected-pid").iter();
+ let value = values.next()?;
+ let pid = value
+ .to_str()
+ .ok()
+ .filter(|s| !s.is_empty() && s.bytes().all(|b| b.is_ascii_digit()))
+ .and_then(|s| s.parse::().ok())
+ .filter(|n| *n > 0);
+ if values.next().is_some() || pid.is_none() {
+ return Some((StatusCode::BAD_REQUEST, Json(serde_json::json!({"error":{"code":"invalid_expected_pid","message":"expected PID must be one positive integer"}}))).into_response());
+ }
+ if pid != Some(std::process::id()) {
+ return Some((StatusCode::CONFLICT, Json(serde_json::json!({"error":{"code":"process_identity_changed","message":"native process no longer matches expected PID; admission unchanged"}}))).into_response());
+ }
+ None
+}
+
+async fn drain(State(state): State, headers: HeaderMap) -> Response {
+ if let Some(response) = lifecycle_precondition(&headers) {
+ return response;
+ }
+ state.lifecycle.set_draining(true);
+ lifecycle_status(State(state)).await.into_response()
+}
+
+async fn resume(State(state): State, headers: HeaderMap) -> Response {
+ if let Some(response) = lifecycle_precondition(&headers) {
+ return response;
+ }
+ state.lifecycle.set_draining(false);
+ lifecycle_status(State(state)).await.into_response()
+}
+
+async fn metrics(State(state): State) -> Json {
+ let worker = *state.worker.read().await;
+ let generation = worker.metrics;
+ let queue_capacity = state.generation.as_ref().map(mpsc::Sender::max_capacity);
+ let queue_used = state
+ .generation
+ .as_ref()
+ .map(|sender| sender.max_capacity() - sender.capacity());
+ Json(serde_json::json!({
+ "schema_version": 1,
+ "scope": "control_plane_process",
+ "model": state.model,
+ "worker": worker.state,
+ "active": generation.active_since.is_some(),
+ "active_elapsed_ms": generation.active_since.map(|start| start.elapsed().as_millis().min(u64::MAX as u128) as u64),
+ "queue_capacity": queue_capacity,
+ "queue_used": queue_used,
+ "generation": generation,
+ "done_decode_tokens_per_second": crate::metrics::token_rate(generation.done_generated_tokens, generation.done_decode_ms),
+ }))
+}
+
+async fn ready(State(state): State) -> (StatusCode, Json) {
+ let worker = *state.worker.read().await;
+ let inference_ready = worker.state == WorkerState::Ready
+ && state.tokenizer.is_some()
+ && state.generation.is_some()
+ && !state.lifecycle.snapshot().draining;
+ let code = if inference_ready {
+ StatusCode::OK
+ } else {
+ StatusCode::SERVICE_UNAVAILABLE
+ };
+ (
+ code,
+ Json(status_body(worker, inference_ready, state.model)),
+ )
+}
+
+async fn status(State(state): State) -> Json {
+ let worker = *state.worker.read().await;
+ let inference_ready = worker.state == WorkerState::Ready
+ && state.tokenizer.is_some()
+ && state.generation.is_some()
+ && !state.lifecycle.snapshot().draining;
+ Json(status_body(worker, inference_ready, state.model))
+}
+
+fn status_body(
+ worker: WorkerStatus,
+ inference_ready: bool,
+ model: Option,
+) -> StatusResponse {
+ StatusResponse {
+ service: "strata-control",
+ server_pid: std::process::id(),
+ model,
+ version: env!("CARGO_PKG_VERSION"),
+ worker: worker.state,
+ ready: inference_ready,
+ max_context: worker.max_context,
+ }
+}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+
+ #[tokio::test]
+ async fn conditional_admission_rejects_stale_or_ambiguous_pid_before_mutation() {
+ let state = AppState::default();
+ let listener = tokio::net::TcpListener::bind("127.0.0.1:0").await.unwrap();
+ let url = format!("http://{}", listener.local_addr().unwrap());
+ let router = router(state.clone());
+ let server = tokio::spawn(async move { axum::serve(listener, router).await });
+ let client = reqwest::Client::new();
+ for (path, initial) in [("drain", false), ("resume", true)] {
+ state.lifecycle.set_draining(initial);
+ for (value, status) in [
+ ("0".to_string(), 400),
+ ("bad".into(), 400),
+ ((std::process::id() + 1).to_string(), 409),
+ ] {
+ let response = client
+ .post(format!("{url}/admin/{path}"))
+ .header("x-strata-expected-pid", value)
+ .send()
+ .await
+ .unwrap();
+ assert_eq!(response.status().as_u16(), status);
+ assert_eq!(state.lifecycle.snapshot().draining, initial);
+ }
+ let duplicate = client
+ .post(format!("{url}/admin/{path}"))
+ .header("x-strata-expected-pid", std::process::id())
+ .header("x-strata-expected-pid", std::process::id())
+ .send()
+ .await
+ .unwrap();
+ assert_eq!(duplicate.status(), StatusCode::BAD_REQUEST);
+ assert_eq!(state.lifecycle.snapshot().draining, initial);
+ let response = client
+ .post(format!("{url}/admin/{path}"))
+ .header("x-strata-expected-pid", std::process::id())
+ .send()
+ .await
+ .unwrap();
+ assert_eq!(response.status(), StatusCode::OK);
+ let value: serde_json::Value =
+ serde_json::from_str(&response.text().await.unwrap()).unwrap();
+ assert_eq!(value["server_pid"], std::process::id());
+ assert_eq!(value["service"], "strata-control");
+ assert_eq!(value["draining"], !initial);
+ }
+ server.abort();
+ let _ = server.await;
+ }
+
+ #[tokio::test]
+ async fn drain_rejects_new_requests_before_json_parsing_and_resume_is_idempotent() {
+ let state = AppState::default();
+ let listener = tokio::net::TcpListener::bind("127.0.0.1:0").await.unwrap();
+ let url = format!("http://{}", listener.local_addr().unwrap());
+ let router = router(state.clone());
+ let server = tokio::spawn(async move { axum::serve(listener, router).await });
+ let client = reqwest::Client::new();
+ for _ in 0..2 {
+ let response = client
+ .post(format!("{url}/admin/drain"))
+ .send()
+ .await
+ .unwrap();
+ let data: serde_json::Value =
+ serde_json::from_str(&response.text().await.unwrap()).unwrap();
+ assert_eq!(data["draining"], true);
+ assert_eq!(data["drained"], true);
+ }
+ let response = client
+ .post(format!("{url}/v1/responses"))
+ .header("content-type", "application/json")
+ .body("invalid json")
+ .send()
+ .await
+ .unwrap();
+ assert_eq!(response.status(), StatusCode::SERVICE_UNAVAILABLE);
+ assert!(response.text().await.unwrap().contains("runtime_draining"));
+ assert_eq!(state.lifecycle.snapshot().requests_in_flight, 0);
+ let job = state.lifecycle.generation();
+ assert_eq!(
+ lifecycle_status(State(state.clone())).await.0["drained"],
+ false
+ );
+ drop(job);
+ state.worker.write().await.state = WorkerState::Restarting;
+ assert_eq!(
+ lifecycle_status(State(state.clone())).await.0["drained"],
+ false
+ );
+ for _ in 0..2 {
+ let response = client
+ .post(format!("{url}/admin/resume"))
+ .send()
+ .await
+ .unwrap();
+ assert_eq!(response.status(), StatusCode::OK);
+ }
+ let response = client
+ .post(format!("{url}/v1/responses"))
+ .header("content-type", "application/json")
+ .body("invalid json")
+ .send()
+ .await
+ .unwrap();
+ assert_eq!(response.status(), StatusCode::BAD_REQUEST);
+ let _ = response.text().await.unwrap();
+ server.abort();
+ }
+
+ #[tokio::test]
+ async fn metrics_expose_activity_without_changing_discovery() {
+ let (sender, mut receiver) = mpsc::channel(2);
+ let state = AppState {
+ generation: Some(sender.clone()),
+ ..Default::default()
+ };
+ let initial_status = serde_json::to_value(status(State(state.clone())).await.0).unwrap();
+ let initial_metrics = metrics(State(state.clone())).await.0;
+ assert_eq!(initial_metrics["active"], false);
+ assert!(initial_metrics["done_decode_tokens_per_second"].is_null());
+ let (result, _rx) = tokio::sync::oneshot::channel();
+ sender
+ .send(GenerationCommand {
+ queue: None,
+ activity: None,
+ request: crate::wire::Generate {
+ token_ids: vec![10],
+ max_new: 1,
+ temperature: None,
+ top_p: None,
+ },
+ result: crate::worker::GenerationResult::Buffered(result),
+ })
+ .await
+ .unwrap();
+ state.worker.write().await.metrics.start();
+ let listener = tokio::net::TcpListener::bind("127.0.0.1:0").await.unwrap();
+ let url = format!("http://{}/metrics", listener.local_addr().unwrap());
+ let router = router(state.clone());
+ let server = tokio::spawn(async move { axum::serve(listener, router).await });
+ let response = reqwest::get(url).await.unwrap();
+ assert_eq!(response.status(), StatusCode::OK);
+ assert_eq!(response.headers()["content-type"], "application/json");
+ let body: serde_json::Value =
+ serde_json::from_str(&response.text().await.unwrap()).unwrap();
+ assert_eq!(body["active"], true);
+ assert!(body["active_elapsed_ms"].is_u64());
+ assert_eq!(body["generation"]["started"], 1);
+ assert_eq!(body["queue_capacity"], 2);
+ assert_eq!(body["queue_used"], 1);
+ assert!(body["generation"].get("active_since").is_none());
+ assert_eq!(
+ serde_json::to_value(status(State(state.clone())).await.0).unwrap(),
+ initial_status
+ );
+ receiver.recv().await.unwrap();
+ assert_eq!(metrics(State(state)).await.0["queue_used"], 0);
+ server.abort();
+ }
+}
diff --git a/control-plane/src/asset_bundle.rs b/control-plane/src/asset_bundle.rs
new file mode 100644
index 00000000..9b9f9064
--- /dev/null
+++ b/control-plane/src/asset_bundle.rs
@@ -0,0 +1,141 @@
+//! Immutable, manifest-pinned assets acquired before native serving starts.
+use std::{
+ error::Error,
+ fs::{self, File, OpenOptions},
+ io,
+ path::{Component, Path, PathBuf},
+};
+
+use serde::Deserialize;
+
+use crate::model;
+
+type Result = std::result::Result>;
+
+#[derive(Deserialize)]
+#[serde(deny_unknown_fields)]
+pub struct AssetBundle {
+ pub manifest: PathBuf,
+ pub directory: PathBuf,
+}
+
+pub fn validate(bundles: &[AssetBundle]) -> Result<()> {
+ if bundles.len() > 16 {
+ return Err("at most 16 asset bundles may be configured".into());
+ }
+ for (index, bundle) in bundles.iter().enumerate() {
+ for path in [&bundle.manifest, &bundle.directory] {
+ if !path.is_absolute()
+ || path.file_name().is_none()
+ || path
+ .components()
+ .any(|part| matches!(part, Component::ParentDir))
+ {
+ return Err("asset paths must be absolute, non-root paths without '..'".into());
+ }
+ }
+ if bundles[..index].iter().any(|other| {
+ other.directory.starts_with(&bundle.directory)
+ || bundle.directory.starts_with(&other.directory)
+ }) {
+ return Err("asset bundle destinations must not overlap".into());
+ }
+ }
+ Ok(())
+}
+
+/// Parse every manifest before mutation. Each destination is an immutable
+/// versioned bundle: a mismatch is an error, never an implicit replacement.
+pub async fn provision(bundles: &[AssetBundle]) -> Result<()> {
+ validate(bundles)?;
+ let mut manifests = Vec::with_capacity(bundles.len());
+ for bundle in bundles {
+ manifests.push(model::Manifest::load(&bundle.manifest).await?);
+ }
+ for (bundle, manifest) in bundles.iter().zip(manifests) {
+ ensure(bundle, &manifest).await?;
+ }
+ Ok(())
+}
+
+async fn ensure(bundle: &AssetBundle, manifest: &model::Manifest) -> Result<()> {
+ let parent = bundle
+ .directory
+ .parent()
+ .ok_or("asset directory has no parent")?;
+ fs::create_dir_all(parent)?;
+ let name = bundle
+ .directory
+ .file_name()
+ .ok_or("asset directory has no name")?;
+ let sibling = |suffix: &str| {
+ let mut value = std::ffi::OsString::from(".");
+ value.push(name);
+ value.push(suffix);
+ parent.join(value)
+ };
+ // Keep the lock inode after releasing it: unlinking could let two later
+ // preparers lock different inodes for the same destination. OS locks are
+ // released on process death, allowing interrupted downloads to resume.
+ let mut options = OpenOptions::new();
+ options.read(true).write(true).create(true).truncate(false);
+ #[cfg(unix)]
+ {
+ use std::os::unix::fs::OpenOptionsExt;
+ options.mode(0o600).custom_flags(libc::O_NOFOLLOW);
+ }
+ let lock = options.open(sibling(".strata-lock"))?;
+ if !lock.metadata()?.is_file() {
+ return Err("asset lock must be a regular file".into());
+ }
+ lock.try_lock().map_err(
+ |_| "asset bundle is busy or cannot be locked; retry after preparation finishes",
+ )?;
+ if directory_exists(&bundle.directory)? {
+ return verify_bundle(manifest, &bundle.directory).await;
+ }
+ let stage = sibling(".strata-stage");
+ if !directory_exists(&stage)? {
+ let mut builder = fs::DirBuilder::new();
+ #[cfg(unix)]
+ {
+ use std::os::unix::fs::DirBuilderExt;
+ builder.mode(0o700);
+ }
+ builder.create(&stage)?;
+ }
+ // On failure the private stage remains for resumable acquisition. It is
+ // never used by the worker and never replaces an existing bundle.
+ model::fetch(manifest, &stage).await?;
+ verify_bundle(manifest, &stage).await?;
+ File::open(&stage)?.sync_all()?;
+ if fs::symlink_metadata(&bundle.directory).is_ok() {
+ return Err("asset destination appeared during preparation; refusing to replace it".into());
+ }
+ crate::immutable_directory::publish(&stage, &bundle.directory)?;
+ File::open(parent)?.sync_all()?;
+ Ok(())
+}
+
+fn directory_exists(path: &Path) -> Result {
+ match fs::symlink_metadata(path) {
+ Ok(metadata) if metadata.is_dir() && !metadata.file_type().is_symlink() => Ok(true),
+ Ok(_) => Err("asset destination/stage must be a directory, not a symlink".into()),
+ Err(error) if error.kind() == io::ErrorKind::NotFound => Ok(false),
+ Err(error) => Err(error.into()),
+ }
+}
+
+async fn verify_bundle(manifest: &model::Manifest, directory: &Path) -> Result<()> {
+ // Extra files could come from a different interrupted manifest. Do not
+ // silently publish a mixed bundle or trust a completion marker alone.
+ for entry in fs::read_dir(directory)? {
+ let name = entry?.file_name();
+ if !manifest.files.iter().any(|file| name == file.name.as_str()) {
+ return Err(
+ "asset bundle contains files absent from its manifest; use a new directory".into(),
+ );
+ }
+ }
+ model::verify(manifest, directory).await
+}
diff --git a/control-plane/src/auth.rs b/control-plane/src/auth.rs
new file mode 100644
index 00000000..c3d923da
--- /dev/null
+++ b/control-plane/src/auth.rs
@@ -0,0 +1,238 @@
+//! Optional single-operator bearer authentication. Never format the credential.
+use std::{fs::OpenOptions, io::Read, path::Path, sync::Arc};
+
+use axum::{
+ Json,
+ extract::{Request, State},
+ http::{HeaderMap, StatusCode, header},
+ middleware::Next,
+ response::{IntoResponse, Response},
+};
+use serde_json::json;
+use sha2::{Digest, Sha256};
+use subtle::ConstantTimeEq;
+
+pub struct ApiKey([u8; 32]);
+
+impl ApiKey {
+ pub fn from_file(path: &Path) -> Result> {
+ Self::from_token(&read_token(path)?).map_err(Into::into)
+ }
+
+ fn from_token(value: &str) -> Result {
+ if !(32..=512).contains(&value.len()) || !value.bytes().all(|b| b.is_ascii_graphic()) {
+ return Err("API key requires 32..512 printable ASCII bytes without whitespace");
+ }
+ Ok(Self(Sha256::digest(value.as_bytes()).into()))
+ }
+
+ fn accepts_messages(&self, headers: &HeaderMap) -> bool {
+ let mut values = headers.get_all("x-api-key").iter();
+ let Some(value) = values.next() else {
+ return self.accepts(headers);
+ };
+ if values.next().is_some() || headers.contains_key(header::AUTHORIZATION) {
+ return false;
+ }
+ let Ok(value) = value.to_str() else {
+ return false;
+ };
+ let Ok(candidate) = Self::from_token(value) else {
+ return false;
+ };
+ bool::from(self.0.ct_eq(&candidate.0))
+ }
+
+ fn accepts(&self, headers: &HeaderMap) -> bool {
+ let mut values = headers.get_all(header::AUTHORIZATION).iter();
+ let Some(value) = values.next() else {
+ return false;
+ };
+ if values.next().is_some() {
+ return false;
+ }
+ let Ok(value) = value.to_str() else {
+ return false;
+ };
+ let Some((scheme, token)) = value.split_once(' ') else {
+ return false;
+ };
+ if !scheme.eq_ignore_ascii_case("Bearer") {
+ return false;
+ }
+ let Ok(candidate) = Self::from_token(token) else {
+ return false;
+ };
+ bool::from(self.0.ct_eq(&candidate.0))
+ }
+}
+
+// Client code needs the original token; keep file and syntax policy identical to serving.
+pub(crate) fn read_token(path: &Path) -> Result> {
+ let mut options = OpenOptions::new();
+ options.read(true);
+ #[cfg(unix)]
+ {
+ use std::os::unix::fs::OpenOptionsExt;
+ options.custom_flags(libc::O_NONBLOCK);
+ }
+ let file = options.open(path)?;
+ let metadata = file.metadata()?;
+ if !metadata.is_file() {
+ return Err("API key source must be a regular file".into());
+ }
+ #[cfg(unix)]
+ {
+ use std::os::unix::fs::PermissionsExt;
+ if metadata.permissions().mode() & 0o077 != 0 {
+ return Err(
+ "API key file must not grant group/other permissions (use chmod 600)".into(),
+ );
+ }
+ }
+ let mut bytes = Vec::new();
+ file.take(515).read_to_end(&mut bytes)?;
+ parse_token(&bytes)
+}
+
+pub(crate) fn parse_token(bytes: &[u8]) -> Result> {
+ if bytes.len() > 514 {
+ return Err("API key file exceeds 514 bytes".into());
+ }
+ let value = std::str::from_utf8(bytes)
+ .map_err(|_| "API key must contain printable ASCII")?
+ .trim_end_matches(['\r', '\n']);
+ ApiKey::from_token(value)?;
+ Ok(value.to_owned())
+}
+
+pub async fn authorize(
+ State(key): State