Skip to content

AI-powered video editor that turns raw footage and a creative brief into a polished ad using an ensemble of AI agents (Google Gemini + FFmpeg)

Python

Initial open source release

poseljacobd7a910799ded
diff --git a/.claude/policies/broll-duration-accounting.md b/.claude/policies/broll-duration-accounting.md
new file mode 100644
index 0000000..16366c6
--- /dev/null
+++ b/.claude/policies/broll-duration-accounting.md
@@ -0,0 +1,21 @@
+---
+id: ave-broll-duration-accounting
+title: B-Roll entries do not add to timeline duration
+scope: repo
+trigger: Director planning, EditPlan total_duration, B-Roll entries
+enforcement: hard
+version: 1
+created: 2026-04-13
+updated: 2026-04-13
+source: back-pressure-failure
+---
+
+## Rule
+
+NEVER include B-Roll entry durations in EditPlan `total_duration`. B-Roll entries are video-only overlays composited on the A-Roll base — they occupy no timeline of their own. Only A-Roll entry durations contribute to the final video length.
+
+The Director's A-Roll entries alone must sum to the target duration (within +/-10%). If B-Roll durations are counted, the rendered video will be shorter than planned (by the total B-Roll duration) because the Editor sequences only A-Roll clips.
+
+## Rationale
+
+The Editor sequences A-Roll clips for continuous narration audio, then composites B-Roll as visual overlays on top. If the Director plans 30s total but 7s is B-Roll, only 23s of A-Roll gets sequenced — producing a video that cuts off early with no natural ending. The Director must plan enough A-Roll to fill the target duration independently.
diff --git a/.claude/policies/ffmpeg-overlay-pts-timing.md b/.claude/policies/ffmpeg-overlay-pts-timing.md
new file mode 100644
index 0000000..d93b9ab
--- /dev/null
+++ b/.claude/policies/ffmpeg-overlay-pts-timing.md
@@ -0,0 +1,21 @@
+---
+id: ave-ffmpeg-overlay-pts-timing
+title: FFmpeg overlay filter requires PTS shift for delayed compositing
+scope: repo
+trigger: FFmpeg overlay filter, B-Roll compositing, setpts
+enforcement: hard
+version: 1
+created: 2026-04-13
+updated: 2026-04-13
+source: back-pressure-failure
+---
+
+## Rule
+
+NEVER use `setpts=PTS-STARTPTS` alone when compositing overlays at non-zero timeline positions. The overlay's frames get consumed immediately (PTS starts at 0) while the `enable='between(t,start,end)'` window hasn't opened yet — the viewer sees a frozen last-frame instead of a playing clip.
+
+ALWAYS use `setpts=PTS-STARTPTS+{start}/TB` to shift the overlay PTS to match the timeline insertion point. ALWAYS add `eof_action=pass` to the overlay filter so the base video shows through after the overlay clip ends.
+
+## Rationale
+
+When compositing B-Roll as video-only overlays on an A-Roll base, the overlay filter synchronizes inputs by PTS. If B-Roll PTS starts at 0 but the enable window starts at e.g. 15s, FFmpeg consumes all B-Roll frames (typically 3-4s long) before the window opens. With the default `eof_action=repeat`, the last frame freezes on screen. The `+{start}/TB` term delays the B-Roll frames to arrive at the correct timeline position, and `eof_action=pass` ensures clean fallback to the base video.
diff --git a/.env.example b/.env.example
new file mode 100644
index 0000000..dc4bc73
--- /dev/null
+++ b/.env.example
@@ -0,0 +1,3 @@
+# Google AI API key (required)
+# Get yours at https://aistudio.google.com/apikey
+GOOGLE_API_KEY=your_api_key_here
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b54161b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,33 @@
+# Python
+__pycache__/
+*.pyc
+*.pyo
+*.egg-info/
+dist/
+build/
+.venv/
+venv/
+
+# Environment
+.env
+
+# Footage & output
+test_footage/
+output/
+
+# Next.js / Node
+node_modules/
+.next/
+out/
+src/web/studio/.next/
+src/web/studio/out/
+src/web/studio/node_modules/
+
+# IDE
+.vscode/
+.idea/
+*.swp
+*.swo
+*~
+.DS_Store
+.file-locks.json
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..e95f46b
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 Jacob Posel
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..2dbae69
--- /dev/null
+++ b/README.md
@@ -0,0 +1,277 @@
+# Agentic Video Editor
+
+AI-powered video editor that turns raw footage and a creative brief into a polished ad. Point it at a folder of clips, describe what you want, and an ensemble of AI agents handles the rest -- scene detection, shot selection, assembly, and quality review.
+
+Built with Google Gemini for intelligence and FFmpeg for rendering.
+
+## How It Works
+
+```
+Raw Footage + Creative Brief
+ |
+ [ Preprocess ] -- scene detection, transcription, shot indexing
+ |
+ [ Director ] -- AI agent picks shots, orders them, writes an EditPlan
+ |
+ [ Trim Refiner ] -- refines shot boundaries for tight cuts
+ |
+ [ Editor ] -- renders the EditPlan to video via FFmpeg
+ |
+ [ Reviewer ] -- scores the output (adherence, pacing, visual quality, watchability)
+ | if score < threshold, feeds back to Director and retries
+ v
+ Final Video + Review Scores
+```
+
+### Agents
+
+| Agent | Role | Powered By |
+|-------|------|------------|
+| **Director** | Searches the footage index, selects shots, and produces an `EditPlan` with trimming, ordering, and text overlays | Google Gemini via ADK |
+| **Trim Refiner** | Adjusts start/end trim points for tighter cuts | Gemini |
+| **Editor** | Renders the EditPlan to an MP4 using FFmpeg/MoviePy | FFmpeg |
+| **Reviewer** | Watches the rendered video and scores it on 5 dimensions (0-1 scale) | Gemini |
+
+### Pipeline System
+
+Pipelines are defined as YAML manifests in `pipelines/`. Each step names an agent and optionally a gate or retry condition:
+
+```yaml
+# pipelines/ugc-ad.yaml
+steps:
+ - agent: director
+ gate: human_approval # pause for human review (web UI only)
+ - agent: trim_refiner
+ - agent: editor
+ - agent: reviewer
+ retry_if:
+ metric: overall
+ threshold: 0.65 # retry if overall score < 0.65
+ max_retries: 2 # up to 2 retries (3 total passes)
+ feedback_target: director # send reviewer feedback back to director
+```
+
+### Style Templates
+
+Style files in `styles/` give the Director structured guidance -- segment durations, pacing rules, text overlay placement, and music mood. The included `dtc-testimonial.yaml` defines a 30-second DTC ad structure (hook, problem, solution, social proof, CTA).
+
+## Architecture
+
+```
+src/
+ agents/ -- Director, Editor, Reviewer, TrimRefiner (Google ADK)
+ models/ -- Pydantic schemas (CreativeBrief, Shot, EditPlan, ReviewScore)
+ pipeline/ -- Preprocessing (scene detection + transcription) and pipeline runner
+ tools/ -- Gemini tool functions (analyze footage, render, captions)
+ web/
+ app.py -- FastAPI backend (REST API + WebSocket)
+ routes/ -- API endpoints (jobs, projects, footage, feedback, etc.)
+ jobs.py -- Background job registry
+ studio/ -- Next.js frontend (NLE-style editor UI)
+```
+
+### Web UI (AVE Studio)
+
+The frontend is a Next.js app styled as a traditional non-linear editor:
+
+- **Project Picker** -- create projects by pointing at any folder of video files
+- **Source Monitor** -- preview individual clips from the media browser
+- **Program Monitor** -- watch the final rendered output
+- **Timeline** -- drag-to-reorder clips, view roll types, durations
+- **Media Browser** -- searchable shot catalog with roll-type filters
+- **Inspector** -- trim controls, text overlays, transitions, review radar chart
+- **Console** -- real-time pipeline progress via WebSocket
+- **Chat Panel** -- send feedback to trigger revision iterations
+
+**Tech stack:** Next.js 16, React 19, TypeScript, Tailwind CSS 4, Zustand, dnd-kit, Recharts, Lucide icons.
+
+## Setup
+
+### Prerequisites
+
+- Python 3.11+
+- Node.js 18+ and pnpm
+- FFmpeg installed and on PATH
+- A [Google AI API key](https://aistudio.google.com/apikey) (for Gemini)
+
+### 1. Clone and install Python dependencies
+
+```bash
+git clone https://github.com/yourusername/agentic-video-editor.git
+cd agentic-video-editor
+
+python -m venv .venv
+source .venv/bin/activate # or .venv\Scripts\activate on Windows
+pip install -e ".[dev]"
+```
+
+Or with [uv](https://docs.astral.sh/uv/):
+
+```bash
+uv sync
+source .venv/bin/activate
+```
+
+### 2. Set up your API key
+
+```bash
+cp .env.example .env
+# Edit .env and add your Google AI API key
+```
+
+### 3. Install the frontend
+
+```bash
+cd src/web/studio
+pnpm install
+cd ../../..
+```
+
+### 4. Verify FFmpeg
+
+```bash
+ffmpeg -version
+```
+
+If not installed: `brew install ffmpeg` (macOS), `apt install ffmpeg` (Ubuntu), or [download](https://ffmpeg.org/download.html).
+
+## Usage
+
+### CLI
+
+```bash
+# Preprocess footage (scene detection + transcription)
+ave edit \
+ --footage-dir /path/to/your/footage \
+ --brief '{"product": "My Product", "audience": "Women 25-45", "tone": "authentic", "duration_seconds": 30}' \
+ --pipeline pipelines/ugc-ad.yaml \
+ --style styles/dtc-testimonial.yaml
+```
+
+The brief can also be a path to a JSON file:
+
+```bash
+ave edit --footage-dir ./footage --brief brief.json
+```
+
+### Web UI
+
+Start both the backend and frontend:
+
+```bash
+# Terminal 1: FastAPI backend
+source .venv/bin/activate
+uvicorn src.web.app:app --reload --port 8000
+
+# Terminal 2: Next.js frontend
+cd src/web/studio
+pnpm dev --port 3000
+```
+
+Open http://localhost:3000, create a project by browsing to a footage folder, and run a pipeline.
+
+### API
+
+The FastAPI backend exposes a full REST API at `http://localhost:8000`:
+
+| Endpoint | Method | Description |
+|----------|--------|-------------|
+| `/api/projects` | GET/POST | List or create projects |
+| `/api/projects/{id}` | GET/DELETE | Get or delete a project |
+| `/api/browse?path=` | GET | Browse filesystem directories |
+| `/api/jobs` | GET/POST | List jobs or start a pipeline run |
+| `/api/jobs/{id}` | GET | Get job status and result |
+| `/api/jobs/{id}/edit-plan` | GET/PUT | Read or update the edit plan |
+| `/api/jobs/{id}/feedback` | POST | Submit feedback for revision |
+| `/api/jobs/{id}/re-render` | POST | Re-render with modified edit plan |
+| `/api/jobs/{id}/review-only` | POST | Run reviewer on existing output |
+| `/api/footage/catalog` | GET | List all indexed shots |
+| `/api/footage/search` | GET | Semantic search across footage |
+| `/ws/jobs/{id}` | WS | Real-time pipeline progress stream |
+
+### Running Tests
+
+```bash
+pytest tests/
+```
+
+## Configuration
+
+### Creative Brief Schema
+
+```json
+{
+ "product": "Product name",
+ "audience": "Target demographic",
+ "tone": "energetic, calm, professional, etc.",
+ "duration_seconds": 30,
+ "style_ref": "styles/dtc-testimonial.yaml"
+}
+```
+
+### Review Scores
+
+The Reviewer agent scores each output on five dimensions (0.0 - 1.0):
+
+- **Adherence** -- does the edit follow the brief?
+- **Pacing** -- are shot durations and energy levels well balanced?
+- **Visual Quality** -- are cuts clean, transitions smooth?
+- **Watchability** -- would a viewer watch to the end?
+- **Overall** -- composite score
+
+### Custom Pipelines
+
+Create a YAML file in `pipelines/`:
+
+```yaml
+name: my-pipeline
+steps:
+ - agent: director
+ - agent: editor
+ - agent: reviewer
+ retry_if:
+ metric: overall
+ threshold: 0.7
+ max_retries: 3
+```
+
+Available agents: `director`, `trim_refiner`, `editor`, `reviewer`.
+
+### Custom Styles
+
+Create a YAML file in `styles/` with segment structure, text overlay rules, music mood, and pacing guidance. See `styles/dtc-testimonial.yaml` for the full format.
+
+## Project Structure
+
+```
+agentic-video-editor/
+ .env.example # API key template
+ pyproject.toml # Python project config
+ pipelines/ # Pipeline YAML manifests
+ ugc-ad.yaml
+ styles/ # Style templates
+ dtc-testimonial.yaml
+ src/
+ main.py # CLI entry point
+ agents/ # AI agents (Director, Editor, Reviewer, TrimRefiner)
+ models/ # Pydantic data models
+ pipeline/ # Preprocessing + pipeline runner
+ tools/ # Gemini tool functions
+ web/
+ app.py # FastAPI application
+ jobs.py # Background job registry
+ routes/ # REST API endpoints
+ studio/ # Next.js frontend
+ src/
+ app/ # Pages (project picker, editor)
+ components/ # UI components
+ stores/ # Zustand state management
+ hooks/ # WebSocket streaming
+ lib/ # API client, utilities
+ types/ # TypeScript schemas
+ tests/ # Test suite
+```
+
+## License
+
+MIT
diff --git a/pipelines/ugc-ad.yaml b/pipelines/ugc-ad.yaml
new file mode 100644
index 0000000..d1e681e
--- /dev/null
+++ b/pipelines/ugc-ad.yaml
@@ -0,0 +1,18 @@
+name: ugc-ad
+description: >-
+ Default UGC ad pipeline — Director → Editor → Reviewer with an optional
+ human approval gate after the Director and a retry loop that sends
+ Reviewer feedback back to the Director when the overall score falls
+ below the threshold. Consumed by src.pipeline.runner.run_pipeline.
+steps:
+ - agent: director
+ gate: human_approval
+ - agent: trim_refiner
+ - agent: editor
+ - agent: reviewer
+ retry_if:
+ metric: overall
+ operator: "<"
+ threshold: 0.65
+ max_retries: 2
+ feedback_target: director
diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000..e47f789
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,34 @@
+[project]
+name = "agentic-video-editor"
+version = "0.1.0"
+description = "Agentic video editor — raw footage + creative brief → ad-ready video"
+requires-python = ">=3.11"
+dependencies = [
+ "google-adk>=1.0.0",
+ "google-genai>=1.0.0",
+ "pydantic>=2.0",
+ "scenedetect[opencv]>=0.6",
+ "faster-whisper>=1.0.0",
+ "moviepy>=2.0",
+ "click>=8.1",
+ "pyyaml>=6.0",
+ "pysubs2>=1.7",
+ "fastapi>=0.115",
+ "uvicorn[standard]>=0.30",
+ "websockets>=13",
+]
+
+[project.scripts]
+ave = "src.main:cli"
+
+[build-system]
+requires = ["hatchling"]
+build-backend = "hatchling.build"
+
+[tool.hatch.build.targets.wheel]
+packages = ["src"]
+
+[dependency-groups]
+dev = [
+ "pytest>=9.0.3",
+]
diff --git a/src/__init__.py b/src/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/src/agents/__init__.py b/src/agents/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/src/agents/director.py b/src/agents/director.py
new file mode 100644
index 0000000..38f09b3
--- /dev/null
+++ b/src/agents/director.py
@@ -0,0 +1,554 @@
+"""Director agent: creative brain that turns briefs into structured EditPlans.
+
+The Director is a Google ADK :class:`~google.adk.agents.Agent` named
+``director``, wired to ``gemini-3.1-pro`` with two tools:
+
+* :func:`src.tools.analyze.search_moments` — local lexical ranker over a
+ pre-built FootageIndex.
+* :func:`src.tools.analyze.analyze_footage` — Gemini native-video deep dive
+ on a single clip (expensive, used sparingly on top candidates).
+
+The agent's ``output_schema`` is :class:`~src.models.schemas.EditPlan` so
+the final response is forced to validate against the Pydantic contract.
+Google ADK's ``_OutputSchemaRequestProcessor`` transparently bridges
+``tools + output_schema`` for Gemini models via an internal
+``set_model_response`` shim, so a single :class:`~google.adk.agents.Agent`
+can both call tools and emit a strict structured response (no
+SequentialAgent split required).
+
+The Director never executes edits — it only decides which shots to use
+and how to sequence them. The Editor agent (US-006) handles rendering.
+
+Surfaces
+--------
+
+* Module-level :data:`director` — a constructed Agent instance with the
+ base instruction (no brief baked in). Useful for ADK auto-discovery
+ (``adk web``, ``adk eval``) and module-level introspection.
+* :func:`build_director` — factory that takes a
+ :class:`~src.models.schemas.CreativeBrief` and returns a fresh Agent
+ whose instruction has the brief details (and any loaded style skill)
+ baked in. Use this for real runs.
+* :func:`build_runtime_instruction` — pure helper that returns the runtime
+ instruction string for a given brief (exposed so callers can preview
+ what the agent will see before running it).
+* :func:`load_style_skill` — pure helper that loads a YAML style file
+ from disk into a dict, returning ``None`` on missing or invalid input
+ (graceful degradation, never raises).
+* :func:`run_director` — synchronous end-to-end runner that wires up an
+ ``InMemoryRunner``, sends the brief + footage index path as the user
+ message, and returns a validated :class:`~src.models.schemas.EditPlan`.
+
+Shot ID convention
+------------------
+
+Every :class:`~src.models.schemas.EditPlanEntry` references a real shot
+from the footage index via a ``shot_id`` of the form::
+
+ "{source_file}#{start_time}"
+
+Where ``source_file`` is the :attr:`~src.models.schemas.Shot.source_file`
+string and ``start_time`` is the :attr:`~src.models.schemas.Shot.start_time`
+float (in seconds) — both intrinsic fields on every Shot returned by
+:func:`~src.tools.analyze.search_moments`. The Editor agent (US-006) resolves
+entries by splitting on the LAST ``"#"``, parsing the suffix as a ``float``,
+and matching against ``FootageIndex.shots`` by ``(source_file, start_time)``
+with a small epsilon. This format was chosen over a positional index so
+the contract does not depend on the ordering of shots inside the
+FootageIndex (which can change between preprocess runs).
+
+The Director MUST NOT invent shot_ids — every entry's ``shot_id`` has to
+map to a :class:`~src.models.schemas.Shot` returned by
+:func:`~src.tools.analyze.search_moments` for the supplied FootageIndex.
+
+Importing this module instantiates the module-level ``director`` Agent
+(no Gemini API calls). Tool invocations and the Gemini round-trip only
+happen inside :func:`run_director`.
+"""
+
+from __future__ import annotations
+
+import asyncio
+import logging
+from pathlib import Path
+from typing import Any
+
+import yaml
+from google.adk.agents import Agent
+from google.adk.runners import InMemoryRunner
+from google.genai import types as genai_types
+
+from src.models.schemas import CreativeBrief, EditPlan
+from src.tools.analyze import analyze_footage, search_moments
+
+logger = logging.getLogger(__name__)
+
+# --------------------------------------------------------------------------- #
+# Constants
+# --------------------------------------------------------------------------- #
+
+_MODEL_ID = "gemini-3.1-pro-preview"
+_AGENT_NAME = "director"
+_APP_NAME = "agentic-video-editor"
+_USER_ID = "director-user"
+
+_AGENT_DESCRIPTION = (
+ "Creative director that converts a brief + footage index into a "
+ "structured EditPlan."
+)
+
+DIRECTOR_INSTRUCTION = """\
+You are the Director agent for an AI video editor. Your job is to turn a
+creative brief and a pre-built FootageIndex into a structured EditPlan
+that a downstream Editor agent will render. You are the creative brain —
+you do not execute edits, you decide what the final cut should look like.
+
+## Your Mission
+Given a creative brief and a footage_index_path provided in the user
+message, produce a single EditPlan that selects, trims, orders, and
+annotates the clips that best deliver the brief. The Editor agent will
+take your EditPlan and run FFmpeg against it.
+
+## Creative Principles
+- Pacing variety: alternate energy levels — never stack three high-energy
+ or three low-energy clips back to back. Contrast keeps viewers watching.
+- Hook quality: the first 3 seconds must grab attention. Lead with the
+ highest-energy or most visually striking clip you can justify against
+ the brief. A weak hook means the rest of the cut never gets seen.
+- Narrative arc for ad format: problem -> solution -> proof -> CTA. Map
+ your selected shots to these beats. Not every brief needs all four
+ beats, but the ordering matters.
+- Target duration: the sum of (end_trim - start_trim) across A-ROLL
+ entries only must be within plus or minus 10 percent of the requested
+ duration. B-Roll entries are overlays and do NOT count toward duration.
+- Entry count: 5 to 10 EditPlanEntry items total (A-Roll + B-Roll).
+ Fewer than 5 lacks variety, more than 10 is too choppy for a short ad.
+
+## A-Roll and B-Roll
+Shots in the FootageIndex have a `roll_type` field: "a-roll" (on-camera
+talent, talking head), "b-roll" (product close-ups, textures, packaging,
+application shots, environment), or "unknown".
+
+You have FULL creative control over how to use these. Think like a real
+editor — the best UGC ads mix footage types to keep things visually
+interesting. B-Roll can be used as cutaways, openers, transitions, proof
+shots, or anywhere your creative instinct says the viewer needs
+something new to look at. A-Roll carries the narrative; B-Roll sells
+the product visually.
+
+Search for B-Roll candidates alongside your A-Roll searches — queries
+like "product", "texture", "application", "packaging", "close-up" will
+surface them. B-Roll clips typically have no transcript (visual-only),
+which is normal.
+
+### CRITICAL — how B-Roll is rendered
+B-Roll entries are VIDEO-ONLY cutaways overlaid on the A-Roll base. The
+Editor sequences ONLY A-Roll clips to create a base video with continuous
+narration audio. B-Roll clips are composited on top as visual overlays —
+the talent's voice keeps playing underneath.
+
+This means B-Roll entries DO NOT add to the timeline duration. Only
+A-Roll entries contribute to total_duration. When planning:
+- The sum of (end_trim - start_trim) across A-ROLL entries alone must
+ hit the target duration (within ±10%).
+- B-Roll entries are placed between A-Roll entries to mark WHERE on the
+ timeline the cutaway appears (its timeline position = cumulative
+ duration of all preceding A-Roll entries).
+- B-Roll duration should not exceed the A-Roll clip it overlays.
+- total_duration in the EditPlan = sum of A-ROLL entry durations ONLY.
+ Do NOT include B-Roll durations in total_duration.
+
+## Available Tools
+- search_moments(footage_index_path, query, min_relevance, max_results) —
+ rank shots in the footage index by lexical relevance to a free-text
+ query. Local, cheap, deterministic. Use it liberally to retrieve
+ candidates for each narrative beat.
+- analyze_footage(video_path, brief) — deep scene-by-scene analysis of a
+ single clip via Gemini native video input. Expensive. Use it on at most
+ 2 to 4 top candidates to get energy_level, visual_quality, and
+ key_quote signals before final selection. Skip this for candidates that
+ are obviously strong from description and transcript alone.
+
+## Workflow
+1. Read the brief and footage_index_path from the user message.
+2. For each narrative beat (hook, problem, solution, proof, CTA), call
+ search_moments with a query that captures that beat. Use a
+ min_relevance around 0.2 and ask for 3 to 5 candidates per beat.
+3. Search for B-Roll candidates too: call search_moments with queries
+ like "product", "texture", "application", "packaging", "close-up",
+ "b-roll". Great ads use a mix of footage types.
+4. Identify the top 2 to 4 most promising candidates across all beats and
+ call analyze_footage on each one's source_file to get richer signal.
+5. Select and sequence your final clips. You have full creative freedom —
+ use your judgment on how to mix A-Roll and B-Roll, how long each clip
+ should be, and where cutaways or product shots create the most impact.
+ The goal is a polished, engaging ad that feels professionally edited.
+5. For each selected shot, build an EditPlanEntry with:
+ - shot_id: use the format "<source_file>#<start_time>" where
+ source_file is the Shot.source_file string returned by your tools
+ and start_time is the Shot.start_time float (in seconds, as it
+ appears on the Shot). Both fields are present on every Shot
+ returned by search_moments, so you can always construct the
+ shot_id directly from the tool output. The Editor agent resolves
+ this by splitting on the LAST '#', parsing the suffix as a float,
+ and matching against FootageIndex.shots with a small epsilon.
+ NEVER invent shot_ids. NEVER reference a source_file or start_time
+ that did not come from a search_moments result.
+ - start_trim, end_trim: floats in seconds, relative to the source
+ file, defining the in/out points for this entry. start_trim must be
+ >= the shot's start_time and end_trim must be <= the shot's
+ end_time.
+ - position: zero-indexed slot in the final cut. Positions across the
+ entries must form a contiguous 0..N-1 sequence with no gaps and no
+ duplicates.
+ - text_overlay: leave this null unless the user explicitly asks for
+ a non-speech title card. Captions are generated later from real
+ word timestamps during editing, so DO NOT use this field for spoken
+ dialogue captions.
+ - transition: optional transition into this entry (for example "cut",
+ "fade", "dissolve"). Default to "cut" or omit.
+6. Output a single EditPlan with:
+ - brief: the same CreativeBrief you were given, unchanged.
+ - entries: 5 to 10 EditPlanEntry items in the order they should play.
+ - music_path: null. The Editor agent picks music later.
+ - total_duration: the sum of (end_trim - start_trim) across A-ROLL
+ entries ONLY. Do NOT include B-Roll durations — they are overlays
+ and do not add to the timeline.
+
+## Hard Constraints
+- Every shot_id must reference a real shot in the FootageIndex you
+ searched. Do not hallucinate timestamps or source files.
+- total_duration must be greater than zero and within plus or minus 10
+ percent of the requested duration. Remember: only A-Roll durations
+ count toward total_duration.
+- The output must validate against the EditPlan Pydantic schema. Return
+ ONLY the JSON object — no preamble, no commentary, no markdown fences.
+"""
+
+
+# --------------------------------------------------------------------------- #
+# Style skill loader
+# --------------------------------------------------------------------------- #
+
+
+def load_style_skill(style_ref: str | None) -> dict[str, Any] | None:
+ """Load a style-skill YAML file from disk into a dict.
+
+ The Director uses style skills to bias structural decisions (hook
+ duration, segment ordering, text overlay position, music mood). The
+ file is optional: a brief may reference no style at all, or may
+ point at a path that does not exist on this machine. This loader
+ degrades gracefully in either case so the Director can still produce
+ a plan — missing or malformed inputs log a warning and return
+ ``None`` instead of raising.
+
+ Args:
+ style_ref: Path (relative or absolute) to a YAML style template,
+ or ``None``/empty string to skip loading. Tildes are expanded.
+
+ Returns:
+ The parsed YAML mapping as a ``dict[str, Any]`` if the file
+ exists, is non-empty, and parses to a mapping. Returns ``None``
+ when ``style_ref`` is falsy, the file does not exist, the file
+ is empty, parsing fails, or the parsed YAML is not a mapping.
+ """
+ if not style_ref:
+ return None
+
+ path = Path(style_ref).expanduser()
+ if not path.exists() or not path.is_file():
+ logger.warning(
+ "style_ref points to a missing file: %r; "
+ "continuing without style template",
+ style_ref,
+ )
+ return None
+
+ try:
+ text = path.read_text(encoding="utf-8")
+ except OSError as exc:
+ logger.warning("could not read style_ref %r: %s", style_ref, exc)
+ return None
+
+ if not text.strip():
+ logger.warning("style_ref %r is empty; skipping", style_ref)
+ return None
+
+ try:
+ data = yaml.safe_load(text)
+ except yaml.YAMLError as exc:
+ logger.warning(
+ "style_ref %r failed to parse as YAML: %s", style_ref, exc
+ )
+ return None
+
+ if not isinstance(data, dict):
+ logger.warning(
+ "style_ref %r parsed to %s, expected a mapping; skipping",
+ style_ref,
+ type(data).__name__,
+ )
+ return None
+
+ return data
+
+
+def _summarize_style(style: dict[str, Any] | None) -> str:
+ """Render the parsed style skill as a YAML block for the prompt.
+
+ The style skill YAML has an open schema — US-008 defines a
+ ``dtc-testimonial.yaml`` example, but future styles may use flat keys,
+ nested mappings (``structure: {hook: 3s, problem: 5s, ...}``), or
+ shapes we cannot predict today. To avoid regressing nested values
+ (dropping hook/segment durations when they live inside a parent key),
+ we serialize the whole dict back to YAML and inject it verbatim under
+ a guidance header. The model can read YAML fluently, so this
+ preserves every field the author put in the file without us guessing
+ which keys matter.
+
+ Args:
+ style: Parsed style-skill dict (from :func:`load_style_skill`),
+ or ``None``.
+
+ Returns:
+ A multi-line string with a header and a YAML block containing
+ every key/value pair from the parsed style skill, or an empty
+ string if no style is available.
+ """
+ if not style:
+ return ""
+
+ try:
+ body = yaml.safe_dump(
+ style,
+ default_flow_style=False,
+ sort_keys=False,
+ allow_unicode=True,
+ ).rstrip()
+ except yaml.YAMLError:
+ # Fall back to a plain repr — the dict came from safe_load so
+ # this should never trip, but we still refuse to raise from a
+ # prompt builder.
+ body = repr(style)
+
+ return (
+ "## Style skill guidance (honor every field below)\n"
+ "```yaml\n"
+ f"{body}\n"
+ "```"
+ )
+
+
+# --------------------------------------------------------------------------- #
+# Instruction builder
+# --------------------------------------------------------------------------- #
+
+
+def build_runtime_instruction(brief: CreativeBrief) -> str:
+ """Return the full runtime instruction for a brief-aware Director.
+
+ Combines the static :data:`DIRECTOR_INSTRUCTION` with a brief header
+ (product, audience, tone, target duration, style_ref) and an
+ optional style-skill summary loaded from ``brief.style_ref`` via
+ :func:`load_style_skill`. When ``brief.style_ref`` is ``None`` or
+ points at a missing/invalid file, the style block is omitted and the
+ Director degrades to its generic principles.
+
+ This helper is exposed so callers (tests, debug tools) can preview
+ exactly what the Director will see without spinning up an Agent.
+
+ Args:
+ brief: The :class:`CreativeBrief` to bake into the instruction.
+
+ Returns:
+ A multi-line instruction string ready to pass as
+ ``Agent.instruction``.
+ """
+ style = load_style_skill(brief.style_ref)
+ style_block = _summarize_style(style)
+
+ header = (
+ "## Brief Context (echo this brief verbatim into EditPlan.brief)\n"
+ f"- product: {brief.product}\n"
+ f"- audience: {brief.audience}\n"
+ f"- tone: {brief.tone}\n"
+ f"- target duration (seconds): {brief.duration_seconds}\n"
+ f"- style_ref: {brief.style_ref or '(none)'}\n"
+ )
+
+ parts: list[str] = [DIRECTOR_INSTRUCTION.rstrip(), "", header]
+ if style_block:
+ parts.extend(["", style_block])
+ return "\n".join(parts) + "\n"
+
+
+# --------------------------------------------------------------------------- #
+# Agent factory
+# --------------------------------------------------------------------------- #
+
+
+def build_director(brief: CreativeBrief) -> Agent:
+ """Construct a brief-aware Director ADK Agent without running it.
+
+ Each call returns a fresh :class:`google.adk.agents.Agent` whose
+ instruction has the brief details (and any loaded style skill) baked
+ in. The agent is wired with both tools — ``analyze_footage`` and
+ ``search_moments`` — and ``output_schema=EditPlan`` so the final
+ response validates against the Pydantic contract.
+
+ Use this factory whenever you have a concrete brief in hand. The
+ module-level :data:`director` instance is reserved for ADK
+ auto-discovery and tests that do not need brief-specific context.
+
+ Args:
+ brief: The creative brief whose product/audience/tone/duration
+ and optional ``style_ref`` shape the agent's instruction.
+
+ Returns:
+ A configured :class:`Agent` named ``director`` with model
+ ``gemini-3.1-pro``, the two analysis tools attached, and
+ ``output_schema=EditPlan``.
+ """
+ instruction = build_runtime_instruction(brief)
+ return Agent(
+ name=_AGENT_NAME,
+ model=_MODEL_ID,
+ description=_AGENT_DESCRIPTION,
+ instruction=instruction,
+ tools=[analyze_footage, search_moments],
+ output_schema=EditPlan,
+ )
+
+
+# --------------------------------------------------------------------------- #
+# Module-level default instance
+# --------------------------------------------------------------------------- #
+
+#: Default Director agent without any brief baked in. Useful for ADK
+#: discovery (``adk web``, ``adk eval``), tests, and module-level
+#: introspection. For real runs prefer :func:`build_director` so the
+#: brief details land inside the instruction.
+director: Agent = Agent(
+ name=_AGENT_NAME,
+ model=_MODEL_ID,
+ description=_AGENT_DESCRIPTION,
+ instruction=DIRECTOR_INSTRUCTION,
+ tools=[analyze_footage, search_moments],
+ output_schema=EditPlan,
+)
+
+
+# --------------------------------------------------------------------------- #
+# Synchronous end-to-end runner
+# --------------------------------------------------------------------------- #
+
+
+def run_director(
+ brief: CreativeBrief,
+ footage_index_path: str,
+) -> EditPlan:
+ """Run the Director agent end-to-end and return a validated EditPlan.
+
+ Builds a fresh brief-aware :class:`Agent` via :func:`build_director`,
+ creates a single-turn in-memory session, sends one user message
+ containing the brief and the footage index path, drains the event
+ stream, and parses the planner's final structured-output payload as
+ an :class:`EditPlan`.
+
+ The agent's ``output_schema`` forces structured JSON output so the
+ final message body is validated by Pydantic via
+ :meth:`EditPlan.model_validate_json`.
+
+ Args:
+ brief: The :class:`CreativeBrief` driving this edit.
+ ``brief.duration_seconds`` is the target final cut length;
+ ``brief.style_ref`` is an optional path to a YAML style skill.
+ footage_index_path: Path to the JSON-serialized
+ :class:`~src.models.schemas.FootageIndex` produced by
+ :mod:`src.pipeline.preprocess`. Must exist on disk so the
+ Director's ``search_moments`` tool calls can read it.
+
+ Returns:
+ A validated :class:`EditPlan` with 3-8 entries totaling
+ approximately ``brief.duration_seconds``.
+
+ Raises:
+ FileNotFoundError: If ``footage_index_path`` does not exist.
+ RuntimeError: If the agent stream completes without producing a
+ final response payload.
+ pydantic.ValidationError: If the model emits JSON that does not
+ satisfy the :class:`EditPlan` schema.
+ """
+ if not Path(footage_index_path).exists():
+ raise FileNotFoundError(
+ f"footage_index_path does not exist: {footage_index_path}"
+ )
+
+ agent = build_director(brief)
+ runner = InMemoryRunner(agent=agent, app_name=_APP_NAME)
+
+ user_message = genai_types.Content(
+ role="user",
+ parts=[
+ genai_types.Part(
+ text=(
+ "Build an EditPlan for the following brief.\n\n"
+ f"Brief JSON: {brief.model_dump_json()}\n\n"
+ f"Footage index path (use this exact path in tool "
+ f"calls): {footage_index_path}\n\n"
+ "Produce the EditPlan now."
+ )
+ )
+ ],
+ )
+
+ async def _go() -> EditPlan:
+ session = await runner.session_service.create_session(
+ app_name=_APP_NAME,
+ user_id=_USER_ID,
+ )
+ final_text: str | None = None
+ async for event in runner.run_async(
+ user_id=_USER_ID,
+ session_id=session.id,
+ new_message=user_message,
+ ):
+ if (
+ event.is_final_response()
+ and event.content
+ and event.content.parts
+ ):
+ # Concatenate any non-thought text parts so we capture the
+ # model's full structured response even if it is split.
+ text = "".join(
+ part.text
+ for part in event.content.parts
+ if getattr(part, "text", None)
+ and not getattr(part, "thought", False)
+ )
+ if text.strip():
+ final_text = text
+ if not final_text:
+ raise RuntimeError(
+ "Director agent returned no final response text. Check "
+ "that the FootageIndex contains at least one shot and "
+ "that the model returned a non-empty structured response."
+ )
+ return EditPlan.model_validate_json(final_text)
+
+ # The ADK InMemoryRunner occasionally completes the event stream
+ # without producing a final text response (the model emits only
+ # function_call parts). Retry up to 2 extra times before giving up.
+ last_exc: Exception | None = None
+ for attempt in range(3):
+ try:
+ return asyncio.run(_go())
+ except RuntimeError as exc:
+ if "no final response text" not in str(exc):
+ raise
+ last_exc = exc
+ logger.warning(
+ "Director attempt %d/3 produced no final text; retrying",
+ attempt + 1,
+ )
+ raise last_exc # type: ignore[misc]
diff --git a/src/agents/editor.py b/src/agents/editor.py
new file mode 100644
index 0000000..a3beba1
--- /dev/null
+++ b/src/agents/editor.py
@@ -0,0 +1,991 @@
+"""Editor agent: pure executor that renders an EditPlan into a final video.
+
+The Editor is a Google ADK :class:`~google.adk.agents.Agent` named
+``editor``, wired to ``gemini-3.1-pro`` with clip/caption/render tools:
+
+* :func:`src.tools.edit.cut_clip` — extract a sub-clip via stream copy.
+* :func:`src.tools.edit.sequence_clips` — concat clips via the FFmpeg
+ concat demuxer.
+* :func:`src.tools.captions.generate_ass_captions` — build a TikTok-style
+ ASS subtitle file from real per-word timestamps.
+* :func:`src.tools.captions.burn_ass_subtitles` — burn the ASS subtitles
+ onto a clip with FFmpeg's ``ass`` filter.
+* :func:`src.tools.edit.add_music` — mix a music track under the video's
+ original audio.
+* :func:`src.tools.render.render_final` — H.264 MP4 export with
+ aspect-ratio-safe scaling.
+
+Unlike the Director (US-005), the Editor makes **no creative decisions**.
+It is a pure executor that follows the :class:`~src.models.schemas.EditPlan`
+ mechanically: cut each entry's source clip, generate and burn captions
+ from real speech timing when the trimmed clip contains spoken words,
+ sequence the clips in ``position`` order, mix in music if specified, and
+ render the final MP4. If a clip referenced in the plan does not exist,
+its trim window falls outside the underlying shot, or any tool call
+fails, the Editor reports the error verbatim instead of guessing or
+silently producing a partial file.
+
+The Editor returns a plain text path (the final rendered MP4) — not a
+structured response — so it is wired *without* an ``output_schema``.
+
+Surfaces
+--------
+
+* Module-level :data:`editor` — a constructed Agent instance with the
+ base instruction (no plan baked in). Useful for ADK auto-discovery
+ (``adk web``, ``adk eval``) and module-level introspection.
+* :func:`build_editor` — factory that takes an
+ :class:`~src.models.schemas.EditPlan` plus a path to the source
+ :class:`~src.models.schemas.FootageIndex` and returns a fresh Agent
+ whose instruction has the fully resolved plan (per-entry source files,
+ trim windows, caption paths, intermediate paths, final path) baked in.
+ Use this for real runs.
+* :func:`build_runtime_instruction` — pure helper that returns the
+ runtime instruction string for a given plan + footage index path
+ (exposed so callers can preview what the agent will see before running
+ it).
+* :func:`run_editor` — synchronous end-to-end runner that validates the
+ plan against the footage index, pre-flights every source file and the
+ music track, wires up an ``InMemoryRunner``, drives the agent through
+ one turn, verifies the final MP4 exists on disk, and returns its path.
+
+Shot ID resolution contract
+---------------------------
+
+Every :class:`~src.models.schemas.EditPlanEntry` references a shot via a
+``shot_id`` of the form::
+
+ "{source_file}#{start_time}"
+
+where ``source_file`` is the :attr:`~src.models.schemas.Shot.source_file`
+string and ``start_time`` is the :attr:`~src.models.schemas.Shot.start_time`
+float (in seconds). To resolve an entry, :func:`_resolve_shot` splits
+``shot_id`` on the LAST ``"#"``, parses the suffix as a ``float``, and
+matches it against ``FootageIndex.shots`` by ``(source_file, start_time)``
+within a small epsilon (``1e-6``). Splitting on the last ``#`` keeps
+source paths that themselves contain ``#`` characters intact.
+
+If a ``shot_id`` cannot be resolved, the trim window falls outside the
+underlying shot, the position sequence is not contiguous ``0..N-1``, or
+any source file is missing on disk, :func:`run_editor` raises BEFORE
+the agent ever runs. The Editor itself trusts the validated plan and
+the FFmpeg tools to surface any remaining failures.
+
+Output layout
+-------------
+
+Per-brief working files are nested under a slugified subdirectory so
+multiple briefs can render in parallel without colliding::
+
+ output/working/{brief_slug}/clip_00.mp4
+ output/working/{brief_slug}/clip_00_captions.ass (optional)
+ output/working/{brief_slug}/clip_00_captioned.mp4 (optional)
+ output/working/{brief_slug}/clip_01.mp4
+ ...
+ output/working/{brief_slug}/sequenced.mp4
+ output/working/{brief_slug}/with_music.mp4 (optional)
+ output/final/{brief_slug}.mp4
+
+The ``brief_slug`` is derived by slugifying ``brief.product`` (lowercase,
+non-alphanumeric → dash, repeats collapsed, leading/trailing dashes
+stripped, falling back to ``"untitled"`` if the input slugifies empty).
+
+Failure semantics
+-----------------
+
+Every tool in :mod:`src.tools.edit` and :mod:`src.tools.render` raises
+on failure (``FileNotFoundError``, ``ValueError``, or ``RuntimeError``).
+The Editor agent does NOT swallow these — the exception is surfaced to
+the LLM via the tool result, and the agent's instruction tells it to
+report the error verbatim and STOP. After the agent returns,
+:func:`run_editor` additionally asserts the final MP4 exists on disk
+and raises ``RuntimeError`` if it does not, so there is no silent
+success path.
+
+Importing this module instantiates the module-level ``editor`` Agent
+(no Gemini API calls). Tool invocations and the Gemini round-trip only
+happen inside :func:`run_editor`.
+"""
+
+from __future__ import annotations
+
+import asyncio
+import logging
+import re
+from pathlib import Path
+
+from google.adk.agents import Agent
+from google.adk.runners import InMemoryRunner
+from google.genai import types as genai_types
+
+from src.models.schemas import (
+ CreativeBrief,
+ EditPlan,
+ EditPlanEntry,
+ FootageIndex,
+ Shot,
+)
+from src.tools.captions import (
+ burn_ass_subtitles,
+ generate_ass_captions,
+ has_words_in_window,
+)
+from src.tools.edit import add_music, composite_broll, cut_clip, sequence_clips
+from src.tools.render import render_final
+
+logger = logging.getLogger(__name__)
+
+# --------------------------------------------------------------------------- #
+# Constants
+# --------------------------------------------------------------------------- #
+
+_MODEL_ID = "gemini-3.1-pro-preview"
+_AGENT_NAME = "editor"
+_APP_NAME = "agentic-video-editor"
+_USER_ID = "editor-user"
+
+#: Float tolerance for matching ``EditPlanEntry.shot_id`` start_time
+#: suffixes against ``Shot.start_time`` in the FootageIndex. Footage
+#: indexes round timestamps slightly between preprocess runs and JSON
+#: serialization can also nudge floats by an LSB or two, so an exact
+#: equality check is too strict.
+_SHOT_MATCH_EPSILON = 1e-6
+
+_AGENT_DESCRIPTION = (
+ "Pure executor that renders an EditPlan into a final MP4 by calling "
+ "the cut/caption/sequence/music/render tools."
+)
+
+EDITOR_INSTRUCTION = """\
+You are the Editor agent for an AI video editor. Your job is to take a
+structured EditPlan produced by the Director agent and render it into a
+final MP4 file by calling the FFmpeg tools wired to you. You are a pure
+executor — you do not make creative decisions, you do not deviate from
+the plan, you do not invent parameters, and you do not call ffmpeg
+directly. You only use the provided tools.
+
+## Your Mission
+Given a fully resolved EditPlan and a set of pre-computed input/output
+paths in your runtime context, produce a single playable MP4 at the
+final output path. You handle ALL entries (A-Roll and B-Roll): cut each
+one, generate captions on A-Roll clips that have speech, burn captions,
+and normalize every clip. Then sequence ONLY the A-Roll clips into a
+base video with continuous narration audio. B-Roll compositing onto the
+base is handled automatically after you finish — you do NOT sequence
+B-Roll clips.
+
+## Available Tools
+- cut_clip(source, start, end, output) — extract a sub-clip from a
+ source video via stream copy. Returns the output path.
+- generate_ass_captions(footage_index_path, shot_id, clip_start,
+ clip_end, output) — build an ASS subtitle file from the resolved
+ shot's per-word timestamps over the trimmed clip window. Returns the
+ ASS file path.
+- burn_ass_subtitles(video, subtitles, output) — burn an ASS subtitle
+ file onto a video clip. Returns the output path.
+- sequence_clips(clips, output) — concatenate an ordered list of clips
+ into a single video via the concat demuxer. All inputs must share
+ codec/resolution/timebase. Returns the output path.
+- add_music(video, music, volume, output) — mix a music track under the
+ video's original audio at the given linear volume scale. Returns the
+ output path.
+- render_final(video, output, resolution) — re-encode to H.264 MP4 at
+ the given resolution (default "1080x1920"). Returns the output path.
+
+## Workflow (follow exactly, in order)
+1. For EVERY row in the "EditPlan Entries" table below (both A-Roll and
+ B-Roll), in ascending `position` order:
+ a. Call cut_clip(source=<source_file>, start=<start_trim>,
+ end=<end_trim>, output=<clip_working_path>). Use the values from
+ the table verbatim. Do NOT recompute anything.
+ b. If the row's `captions_ass_path` is not `(n/a)`, call
+ generate_ass_captions with:
+ - footage_index_path = the global <footage_index_path> from the
+ Runtime Context
+ - shot_id = the row's shot_id
+ - clip_start = the row's start_trim
+ - clip_end = the row's end_trim
+ - output = the row's <captions_ass_path>
+ c. If the row's `captioned_working_path` is not `(n/a)`, call
+ burn_ass_subtitles with:
+ - video = the cut_clip output (the same <clip_working_path>)
+ - subtitles = the row's <captions_ass_path>
+ - output = the row's <captioned_working_path>
+ Use the captioned file as this position's "pre-normalize" clip.
+ Otherwise, use the cut_clip output as this position's
+ "pre-normalize" clip.
+ d. Call render_final to NORMALIZE this position's clip into a uniform
+ H.264 / 1080x1920 / AAC container:
+ - video = the "pre-normalize" clip chosen in step 1c
+ - output = the row's <normalize_working_path>
+ - resolution = "1080x1920"
+2. Once every entry has been cut, captioned (where applicable), and
+ normalized, call sequence_clips with `clips` set to the ordered
+ list of A-ROLL ONLY <normalize_working_path> values (rows marked
+ `roll_type: a-roll` in the table) and `output` set to the
+ <sequenced_path> from the runtime context. Do NOT include B-Roll
+ clips in the sequence — they will be composited later automatically.
+3. If `music_path` in the runtime context is non-null, call add_music
+ with:
+ - video = the <sequenced_path>
+ - music = <music_path>
+ - volume = 0.3
+ - output = <with_music_path>
+ Use <with_music_path> as the input to the final render. If
+ `music_path` is null, skip this step and feed <sequenced_path>
+ directly into render_final.
+4. Call render_final with:
+ - video = the latest intermediate (with_music_path or
+ sequenced_path)
+ - output = <final_output_path>
+ - resolution = "1080x1920"
+5. Return ONLY the <final_output_path> as plain text. No JSON wrapper,
+ no commentary, no markdown fences, no explanation. Just the path.
+
+## Hard Constraints
+- NEVER invent paths or parameters. Every path you pass to a tool MUST
+ come from this instruction. Every numeric parameter MUST come from the
+ EditPlan Entries table or the rules above.
+- NEVER call ffmpeg directly or shell out. ONLY use the provided tools.
+- NEVER skip a step. Every entry must be cut and normalized. Every
+ caption step whose ASS path is present must be executed. Sequencing
+ (A-Roll only), music (if specified), and final render are all mandatory.
+- When sequencing, include ONLY A-Roll normalized clips. B-Roll clips
+ are composited onto the base video automatically after you finish.
+- NEVER produce a partial or "best effort" file. If ANY tool call raises
+ an error (FileNotFoundError, ValueError, RuntimeError), STOP
+ immediately. Your final response must be the error message verbatim
+ prefixed with "ERROR: " naming the tool and the position that failed.
+ Do not attempt to recover.
+- The final response is either the <final_output_path> on success or an
+ ERROR: ... message on failure. Nothing else.
+"""
+
+
+# --------------------------------------------------------------------------- #
+# Slugify helper
+# --------------------------------------------------------------------------- #
+
+
+def _slugify_brief(brief: CreativeBrief) -> str:
+ """Render a :class:`CreativeBrief` as a filesystem-safe lowercase slug.
+
+ Slugifies ``brief.product``: lowercases, replaces whitespace with
+ dashes, strips any character that is not ``[a-z0-9-]``, collapses
+ repeated dashes, and strips leading/trailing dashes. Falls back to
+ ``"untitled"`` if the result is empty.
+
+ Args:
+ brief: The :class:`CreativeBrief` whose ``product`` field is
+ slugified.
+
+ Returns:
+ A non-empty lowercase slug suitable for use as a filename stem
+ and directory name.
+ """
+ lowered = brief.product.strip().lower()
+ dashed = re.sub(r"\s+", "-", lowered)
+ cleaned = re.sub(r"[^a-z0-9-]", "", dashed)
+ collapsed = re.sub(r"-+", "-", cleaned).strip("-")
+ return collapsed or "untitled"
+
+
+# --------------------------------------------------------------------------- #
+# Shot resolution & plan validation
+# --------------------------------------------------------------------------- #
+
+
+def _resolve_shot(
+ shot_id: str,
+ index: FootageIndex,
+ epsilon: float = _SHOT_MATCH_EPSILON,
+) -> Shot:
+ """Resolve an :class:`EditPlanEntry` ``shot_id`` to a real :class:`Shot`.
+
+ Splits ``shot_id`` on the LAST ``"#"`` character (source paths may
+ contain ``#``), parses the suffix as a ``float`` start_time, and
+ scans ``index.shots`` for a shot whose ``source_file`` matches the
+ prefix exactly and whose ``start_time`` differs from the parsed
+ suffix by less than ``epsilon``.
+
+ Args:
+ shot_id: The ``"<source_file>#<start_time>"`` identifier from
+ an :class:`EditPlanEntry`.
+ index: The :class:`FootageIndex` to search.
+ epsilon: Float tolerance for matching ``start_time`` (default
+ ``1e-6``). Footage indexes round timestamps slightly between
+ preprocess runs and JSON round-trips can nudge floats by an
+ LSB, so an exact equality check is too strict.
+
+ Returns:
+ The matching :class:`Shot`.
+
+ Raises:
+ ValueError: If ``shot_id`` does not contain a ``"#"`` separator,
+ the suffix does not parse as a float, or no shot in the
+ index matches the ``(source_file, start_time)`` pair within
+ the epsilon tolerance. The error message names the
+ ``shot_id`` so callers can report the failing entry.
+ """
+ sep = shot_id.rfind("#")
+ if sep == -1:
+ raise ValueError(
+ f"shot_id {shot_id!r} is missing a '#' separator; expected "
+ "format '<source_file>#<start_time>'"
+ )
+ source_file = shot_id[:sep]
+ suffix = shot_id[sep + 1 :]
+ try:
+ start_time = float(suffix)
+ except ValueError as exc:
+ raise ValueError(
+ f"shot_id {shot_id!r} suffix {suffix!r} is not a valid float "
+ "start_time"
+ ) from exc
+
+ for shot in index.shots:
+ if (
+ shot.source_file == source_file
+ and abs(shot.start_time - start_time) < epsilon
+ ):
+ return shot
+
+ raise ValueError(
+ f"shot_id {shot_id!r} did not match any shot in the FootageIndex "
+ f"(looked for source_file={source_file!r}, "
+ f"start_time≈{start_time} ± {epsilon})"
+ )
+
+
+def _validate_edit_plan(
+ plan: EditPlan,
+ index: FootageIndex,
+) -> list[tuple[EditPlanEntry, Shot]]:
+ """Validate ``plan`` against ``index`` and return resolved entries.
+
+ Performs every structural check the Editor needs BEFORE the agent
+ runs so failures surface as Python exceptions rather than confusing
+ FFmpeg errors mid-render:
+
+ 1. Every ``EditPlanEntry.shot_id`` resolves to a real
+ :class:`Shot` in ``index`` via :func:`_resolve_shot`.
+ 2. ``end_trim`` is strictly greater than ``start_trim``.
+ 3. ``start_trim >= shot.start_time - epsilon`` and
+ ``end_trim <= shot.end_time + epsilon`` so the trim window stays
+ inside the underlying shot.
+ 4. ``[entry.position for entry in plan.entries]`` (sorted) equals
+ ``[0, 1, ..., N-1]`` — no gaps, no duplicates, contiguous from
+ zero.
+
+ Args:
+ plan: The :class:`EditPlan` to validate.
+ index: The :class:`FootageIndex` the plan was built against.
+
+ Returns:
+ A list of ``(entry, shot)`` pairs sorted by ``entry.position``,
+ ready for the runner to iterate over in play order.
+
+ Raises:
+ ValueError: With a specific message naming the failing entry's
+ ``shot_id`` and ``position`` on any validation failure. The
+ Editor never attempts to "fix" a broken plan.
+ """
+ if not plan.entries:
+ raise ValueError(
+ "EditPlan has zero entries; nothing to render. The Director "
+ "must produce at least one EditPlanEntry."
+ )
+
+ eps = _SHOT_MATCH_EPSILON
+ resolved: list[tuple[EditPlanEntry, Shot]] = []
+ for entry in plan.entries:
+ try:
+ shot = _resolve_shot(entry.shot_id, index)
+ except ValueError as exc:
+ raise ValueError(
+ f"EditPlanEntry position={entry.position} shot_id="
+ f"{entry.shot_id!r} could not be resolved: {exc}"
+ ) from exc
+
+ if entry.end_trim <= entry.start_trim:
+ raise ValueError(
+ f"EditPlanEntry position={entry.position} shot_id="
+ f"{entry.shot_id!r} has end_trim={entry.end_trim} <= "
+ f"start_trim={entry.start_trim}; end_trim must be strictly "
+ "greater than start_trim"
+ )
+ if entry.start_trim < shot.start_time - eps:
+ raise ValueError(
+ f"EditPlanEntry position={entry.position} shot_id="
+ f"{entry.shot_id!r} has start_trim={entry.start_trim} "
+ f"before the shot's start_time={shot.start_time}"
+ )
+ if entry.end_trim > shot.end_time + eps:
+ raise ValueError(
+ f"EditPlanEntry position={entry.position} shot_id="
+ f"{entry.shot_id!r} has end_trim={entry.end_trim} after "
+ f"the shot's end_time={shot.end_time}"
+ )
+ resolved.append((entry, shot))
+
+ resolved.sort(key=lambda pair: pair[0].position)
+ expected = list(range(len(resolved)))
+ actual = [pair[0].position for pair in resolved]
+ if actual != expected:
+ raise ValueError(
+ f"EditPlan positions are not contiguous 0..N-1: got {actual}, "
+ f"expected {expected}. Every position from 0 to "
+ f"{len(resolved) - 1} must appear exactly once."
+ )
+
+ return resolved
+
+
+# --------------------------------------------------------------------------- #
+# Path computation
+# --------------------------------------------------------------------------- #
+
+
+def _compute_output_paths(
+ plan: EditPlan,
+ resolved: list[tuple[EditPlanEntry, Shot]],
+ output_dir: str,
+) -> tuple[
+ Path,
+ Path,
+ list[Path],
+ list[Path | None],
+ list[Path | None],
+ list[Path],
+ Path,
+ Path,
+ Path,
+]:
+ """Compute every output path the Editor will use for ``plan``.
+
+ Builds the per-brief working subdirectory, the final output path,
+ and the per-position clip + (optional) caption + normalize paths so
+ the runner can pre-create parent directories AND embed exact paths
+ in the agent's runtime instruction.
+
+ Args:
+ plan: The :class:`EditPlan` whose ``brief.product`` determines
+ the slug.
+ resolved: The validated ``(entry, shot)`` pairs sorted by
+ ``position`` (from :func:`_validate_edit_plan`).
+ output_dir: Root output directory (typically ``"output"``).
+
+ Returns:
+ An 8-tuple of:
+
+ * ``working_dir`` — ``output/working/{slug}/`` :class:`Path`.
+ * ``final_dir`` — ``output/final/`` :class:`Path`.
+ * ``clip_paths`` — per-position raw cut paths.
+ * ``caption_ass_paths`` — per-position ASS subtitle paths or
+ ``None`` when the trimmed clip has no spoken words.
+ * ``captioned_paths`` — per-position burned-caption video
+ outputs or ``None`` when the trimmed clip has no spoken words.
+ * ``normalize_paths`` — per-position normalized paths. Every
+ entry gets a normalize path so the downstream
+ :func:`~src.tools.edit.sequence_clips` stream-copy concat
+ demuxer receives uniform inputs regardless of source codec,
+ source resolution, or whether captions were burned in.
+ * ``sequenced_path`` — concat output path.
+ * ``with_music_path`` — music-mix output path (always
+ materialized; only USED when ``plan.music_path`` is set).
+ * ``final_output`` — final rendered MP4 path.
+ """
+ root = Path(output_dir)
+ slug = _slugify_brief(plan.brief)
+ working_dir = root / "working" / slug
+ final_dir = root / "final"
+
+ clip_paths: list[Path] = []
+ caption_ass_paths: list[Path | None] = []
+ captioned_paths: list[Path | None] = []
+ normalize_paths: list[Path] = []
+ for entry, shot in resolved:
+ clip_paths.append(working_dir / f"clip_{entry.position:02d}.mp4")
+ if has_words_in_window(shot, entry.start_trim, entry.end_trim):
+ caption_ass_paths.append(
+ working_dir / f"clip_{entry.position:02d}_captions.ass"
+ )
+ captioned_paths.append(
+ working_dir / f"clip_{entry.position:02d}_captioned.mp4"
+ )
+ else:
+ caption_ass_paths.append(None)
+ captioned_paths.append(None)
+ normalize_paths.append(
+ working_dir / f"clip_{entry.position:02d}_normalized.mp4"
+ )
+
+ sequenced_path = working_dir / "sequenced.mp4"
+ with_music_path = working_dir / "with_music.mp4"
+ final_output = final_dir / f"{slug}.mp4"
+
+ return (
+ working_dir,
+ final_dir,
+ clip_paths,
+ caption_ass_paths,
+ captioned_paths,
+ normalize_paths,
+ sequenced_path,
+ with_music_path,
+ final_output,
+ )
+
+
+# --------------------------------------------------------------------------- #
+# Instruction builder
+# --------------------------------------------------------------------------- #
+
+
+def build_runtime_instruction(
+ edit_plan: EditPlan,
+ footage_index_path: str,
+ output_dir: str = "output",
+) -> str:
+ """Return the full runtime instruction for a plan-aware Editor.
+
+ Resolves ``edit_plan`` against the :class:`FootageIndex` loaded from
+ ``footage_index_path``, computes every intermediate and final path,
+ and bakes a fully concrete plan into the static
+ :data:`EDITOR_INSTRUCTION`. The agent then has zero ambiguity about
+ what to do — every parameter is spelled out in the table.
+
+ This helper is exposed so callers (tests, debug tools) can preview
+ exactly what the Editor will see without spinning up an Agent.
+
+ Args:
+ edit_plan: The :class:`EditPlan` whose entries drive this edit.
+ footage_index_path: Path to the JSON-serialized
+ :class:`FootageIndex` produced by :mod:`src.pipeline.preprocess`.
+ Must exist on disk so shot resolution can validate every
+ ``shot_id``.
+ output_dir: Root output directory (default ``"output"``).
+
+ Returns:
+ A multi-line instruction string ready to pass as
+ ``Agent.instruction``.
+
+ Raises:
+ FileNotFoundError: If ``footage_index_path`` does not exist.
+ ValueError: If the plan does not validate against the loaded
+ footage index (see :func:`_validate_edit_plan`).
+ """
+ index_path = Path(footage_index_path)
+ if not index_path.exists():
+ raise FileNotFoundError(
+ f"footage_index_path does not exist: {footage_index_path}"
+ )
+ index = FootageIndex.model_validate_json(index_path.read_text())
+ resolved = _validate_edit_plan(edit_plan, index)
+ (
+ working_dir,
+ _final_dir,
+ clip_paths,
+ caption_ass_paths,
+ captioned_paths,
+ normalize_paths,
+ sequenced_path,
+ with_music_path,
+ final_output,
+ ) = _compute_output_paths(edit_plan, resolved, output_dir)
+
+ if edit_plan.music_path:
+ music_line = f"- music_path: {edit_plan.music_path}"
+ else:
+ music_line = (
+ "- music_path: null (no music track — SKIP the add_music step "
+ "entirely; do NOT call add_music at all)"
+ )
+
+ runtime_lines: list[str] = [
+ "## Runtime Context",
+ f"- footage_index_path: {footage_index_path}",
+ f"- working_dir: {working_dir}",
+ f"- sequenced_path: {sequenced_path}",
+ f"- with_music_path: {with_music_path}",
+ f"- final_output_path: {final_output}",
+ music_line,
+ f"- entry_count: {len(resolved)}",
+ "",
+ "## EditPlan Entries (in play order — execute in this exact order)",
+ ]
+
+ for (
+ (entry, shot),
+ clip_path,
+ caption_ass_path,
+ captioned_path,
+ normalize_path,
+ ) in zip(
+ resolved,
+ clip_paths,
+ caption_ass_paths,
+ captioned_paths,
+ normalize_paths,
+ strict=True,
+ ):
+ transition = entry.transition or "cut"
+ caption_ass_line = (
+ f" captions_ass_path: {caption_ass_path}"
+ if caption_ass_path is not None
+ else " captions_ass_path: (n/a)"
+ )
+ captioned_line = (
+ f" captioned_working_path: {captioned_path}"
+ if captioned_path is not None
+ else " captioned_working_path: (n/a)"
+ )
+ roll_type = getattr(shot, "roll_type", "unknown")
+ runtime_lines.extend(
+ [
+ f" - position={entry.position}",
+ f" shot_id: {entry.shot_id}",
+ f" roll_type: {roll_type}",
+ f" source_file: {shot.source_file}",
+ f" start_trim: {entry.start_trim}",
+ f" end_trim: {entry.end_trim}",
+ f" transition: {transition}",
+ f" clip_working_path: {clip_path}",
+ caption_ass_line,
+ captioned_line,
+ f" normalize_working_path: {normalize_path}",
+ ]
+ )
+
+ runtime_block = "\n".join(runtime_lines)
+ return EDITOR_INSTRUCTION.rstrip() + "\n\n" + runtime_block + "\n"
+
+
+# --------------------------------------------------------------------------- #
+# Agent factory
+# --------------------------------------------------------------------------- #
+
+
+def build_editor(
+ edit_plan: EditPlan,
+ footage_index_path: str,
+ output_dir: str = "output",
+) -> Agent:
+ """Construct a plan-aware Editor ADK Agent without running it.
+
+ Each call returns a fresh :class:`google.adk.agents.Agent` whose
+ instruction has the fully resolved plan baked in via
+ :func:`build_runtime_instruction`. The agent is wired with the
+ execution tools — ``cut_clip``, ``generate_ass_captions``,
+ ``burn_ass_subtitles``, ``sequence_clips``, ``add_music``,
+ ``render_final`` — and **no** ``output_schema`` (the
+ Editor returns a plain text path, not a structured response).
+
+ Use this factory whenever you have a concrete plan in hand. The
+ module-level :data:`editor` instance is reserved for ADK
+ auto-discovery and tests that do not need plan-specific context.
+
+ Args:
+ edit_plan: The :class:`EditPlan` to render.
+ footage_index_path: Path to the JSON-serialized
+ :class:`FootageIndex` the plan was built against. Must exist
+ on disk.
+ output_dir: Root output directory (default ``"output"``).
+
+ Returns:
+ A configured :class:`Agent` named ``editor`` with model
+ ``gemini-3.1-pro`` and the five FFmpeg tools attached.
+
+ Raises:
+ FileNotFoundError: If ``footage_index_path`` does not exist.
+ ValueError: If the plan does not validate against the loaded
+ footage index.
+ """
+ instruction = build_runtime_instruction(
+ edit_plan,
+ footage_index_path=footage_index_path,
+ output_dir=output_dir,
+ )
+ return Agent(
+ name=_AGENT_NAME,
+ model=_MODEL_ID,
+ description=_AGENT_DESCRIPTION,
+ instruction=instruction,
+ tools=[
+ cut_clip,
+ generate_ass_captions,
+ burn_ass_subtitles,
+ sequence_clips,
+ add_music,
+ render_final,
+ ],
+ )
+
+
+# --------------------------------------------------------------------------- #
+# Module-level default instance
+# --------------------------------------------------------------------------- #
+
+#: Default Editor agent without any plan baked in. Useful for ADK
+#: discovery (``adk web``, ``adk eval``), tests, and module-level
+#: introspection. For real runs prefer :func:`build_editor` so the
+#: resolved plan, computed output paths, and shot source files land
+#: inside the instruction.
+editor: Agent = Agent(
+ name=_AGENT_NAME,
+ model=_MODEL_ID,
+ description=_AGENT_DESCRIPTION,
+ instruction=EDITOR_INSTRUCTION,
+ tools=[
+ cut_clip,
+ generate_ass_captions,
+ burn_ass_subtitles,
+ sequence_clips,
+ add_music,
+ render_final,
+ ],
+)
+
+
+# --------------------------------------------------------------------------- #
+# Synchronous end-to-end runner
+# --------------------------------------------------------------------------- #
+
+
+def run_editor(
+ edit_plan: EditPlan,
+ footage_index_path: str,
+ output_dir: str = "output",
+) -> str:
+ """Run the Editor agent end-to-end and return the final MP4 path.
+
+ Validates the plan against the footage index loaded from disk,
+ pre-flights every source file (and the music path, if any), creates
+ the working/final output directories, builds a fresh plan-aware
+ :class:`Agent` via :func:`build_editor`, drives one in-memory turn
+ via :class:`InMemoryRunner`, and verifies the final MP4 exists on
+ disk before returning its path.
+
+ The Editor is wired without an ``output_schema`` because its final
+ response is a plain text path string. Validation, pre-flight, path
+ computation, and post-run verification all live in this runner so
+ the agent itself only has to mechanically call the tools listed in
+ its instruction.
+
+ Args:
+ edit_plan: The :class:`EditPlan` to render.
+ footage_index_path: Path to the JSON-serialized
+ :class:`FootageIndex` the plan was built against. Used both
+ to validate every ``shot_id`` (via :func:`_resolve_shot`)
+ and to verify each underlying ``source_file`` exists on
+ disk before the agent runs.
+ output_dir: Root output directory (default ``"output"``).
+ ``{output_dir}/working/{brief_slug}/`` and
+ ``{output_dir}/final/`` will be created if they do not
+ exist.
+
+ Returns:
+ The final rendered MP4 path as a string. Always equals the
+ ``final_output_path`` baked into the agent's instruction; this
+ runner asserts the file exists on disk before returning so a
+ successful return guarantees a playable output.
+
+ Raises:
+ FileNotFoundError: If ``footage_index_path``, any resolved
+ ``Shot.source_file``, or ``edit_plan.music_path`` does not
+ exist on disk.
+ ValueError: If the plan does not validate against the loaded
+ footage index (see :func:`_validate_edit_plan`).
+ RuntimeError: If the agent stream completes without producing a
+ final response payload, OR completes but does not actually
+ write the final output file to disk.
+ """
+ index_path = Path(footage_index_path)
+ if not index_path.exists():
+ raise FileNotFoundError(
+ f"footage_index_path does not exist: {footage_index_path}"
+ )
+ index = FootageIndex.model_validate_json(index_path.read_text())
+
+ resolved = _validate_edit_plan(edit_plan, index)
+
+ # Pre-flight: every resolved source file must exist on disk.
+ missing_sources = sorted(
+ {
+ shot.source_file
+ for _entry, shot in resolved
+ if not Path(shot.source_file).exists()
+ }
+ )
+ if missing_sources:
+ raise FileNotFoundError(
+ "EditPlan references source files that do not exist on disk: "
+ + ", ".join(missing_sources)
+ )
+
+ # Pre-flight: music path (if any) must exist.
+ if edit_plan.music_path and not Path(edit_plan.music_path).exists():
+ raise FileNotFoundError(
+ f"EditPlan.music_path does not exist on disk: "
+ f"{edit_plan.music_path}"
+ )
+
+ (
+ working_dir,
+ final_dir,
+ _clip_paths,
+ _caption_ass_paths,
+ _captioned_paths,
+ _normalize_paths,
+ _sequenced_path,
+ _with_music_path,
+ final_output,
+ ) = _compute_output_paths(edit_plan, resolved, output_dir)
+
+ working_dir.mkdir(parents=True, exist_ok=True)
+ final_dir.mkdir(parents=True, exist_ok=True)
+
+ # Remove any stale output from a prior run so a failed rerender cannot
+ # be mistaken for a successful one by the post-run existence check.
+ if final_output.exists():
+ final_output.unlink()
+
+ agent = build_editor(
+ edit_plan,
+ footage_index_path=footage_index_path,
+ output_dir=output_dir,
+ )
+ runner = InMemoryRunner(agent=agent, app_name=_APP_NAME)
+
+ user_message = genai_types.Content(
+ role="user",
+ parts=[
+ genai_types.Part(
+ text=(
+ "Execute the EditPlan you were given. Call each tool "
+ "in the order described in your instructions, using "
+ "the exact paths and parameters from the EditPlan "
+ "Entries table and Runtime Context. Stop after "
+ "render_final returns. Report each tool call as you "
+ "go. On success, return ONLY the final_output_path. "
+ "On any tool failure, return an 'ERROR: ...' message "
+ "verbatim."
+ )
+ )
+ ],
+ )
+
+ async def _go() -> str:
+ session = await runner.session_service.create_session(
+ app_name=_APP_NAME,
+ user_id=_USER_ID,
+ )
+ final_text: str | None = None
+ async for event in runner.run_async(
+ user_id=_USER_ID,
+ session_id=session.id,
+ new_message=user_message,
+ ):
+ if (
+ event.is_final_response()
+ and event.content
+ and event.content.parts
+ ):
+ # Concatenate any non-thought text parts so we capture
+ # the model's full response even if it is split across
+ # multiple parts.
+ text = "".join(
+ part.text
+ for part in event.content.parts
+ if getattr(part, "text", None)
+ and not getattr(part, "thought", False)
+ )
+ if text.strip():
+ final_text = text
+ if not final_text:
+ raise RuntimeError(
+ "Editor agent returned no final response text. Check "
+ "that the EditPlan has at least one entry and that the "
+ "FFmpeg tools are reachable on this machine."
+ )
+ return final_text.strip()
+
+ agent_response = asyncio.run(_go())
+
+ # The agent is instructed to prefix any tool-failure message with
+ # "ERROR: ". Reject such responses instead of relying on the existence
+ # check, which could misread a stale file as a fresh success.
+ if agent_response.startswith("ERROR:"):
+ raise RuntimeError(
+ f"Editor agent reported tool failure: {agent_response}"
+ )
+
+ if not final_output.exists():
+ raise RuntimeError(
+ "Editor agent completed but final output does not exist: "
+ f"{final_output}. Agent response was: {agent_response!r}"
+ )
+
+ # --------------------------------------------------------------------- #
+ # B-Roll compositing (post-agent, deterministic)
+ #
+ # The agent sequenced only A-Roll clips into the base video. Now we
+ # overlay B-Roll clips at the correct timestamps so the A-Roll audio
+ # (narration) continues underneath the visual cutaways.
+ # --------------------------------------------------------------------- #
+ broll_entries = [
+ (entry, shot, norm_path)
+ for (entry, shot), norm_path in zip(resolved, _normalize_paths)
+ if getattr(shot, "roll_type", "unknown") == "b-roll"
+ ]
+
+ if broll_entries:
+ # Calculate timeline offset for each B-Roll clip. The agent
+ # sequenced only A-Roll clips in position order. Walk the resolved
+ # entries in position order and accumulate A-Roll durations to find
+ # the insertion point for each B-Roll clip.
+ cumulative = 0.0
+ position_offsets: dict[int, float] = {}
+ for entry, shot in resolved:
+ position_offsets[entry.position] = cumulative
+ if getattr(shot, "roll_type", "unknown") != "b-roll":
+ cumulative += entry.end_trim - entry.start_trim
+
+ overlays: list[dict] = []
+ for entry, shot, norm_path in broll_entries:
+ timeline_start = position_offsets[entry.position]
+ duration = entry.end_trim - entry.start_trim
+ overlays.append(
+ {
+ "path": str(norm_path),
+ "start": timeline_start,
+ "duration": duration,
+ }
+ )
+ logger.info(
+ "B-Roll overlay: position=%d at %.2fs for %.2fs — %s",
+ entry.position,
+ timeline_start,
+ duration,
+ Path(shot.source_file).name,
+ )
+
+ # Composite B-Roll onto the agent's final output. Write to a temp
+ # path first, then replace the final output so downstream checks
+ # still find the expected file.
+ composited_path = working_dir / "composited_broll.mp4"
+ composite_broll(
+ base_video=str(final_output),
+ overlays=overlays,
+ output=str(composited_path),
+ )
+
+ # Replace the agent's output with the composited version.
+ final_output.unlink()
+ composited_path.rename(final_output)
+ logger.info(
+ "B-Roll compositing done — %d overlay(s) applied",
+ len(overlays),
+ )
+
+ return str(final_output)
diff --git a/src/agents/reviewer.py b/src/agents/reviewer.py
new file mode 100644
index 0000000..3d50878
--- /dev/null
+++ b/src/agents/reviewer.py
@@ -0,0 +1,386 @@
+"""Reviewer agent: watches the rendered cut and grades it against the brief.
+
+The Reviewer is a Google ADK :class:`~google.adk.agents.Agent` named
+``reviewer``, wired to ``gemini-3.1-pro`` with a single tool:
+
+* :func:`src.tools.analyze.review_output` — sends the rendered video to
+ Gemini native-video and returns a structured
+ :class:`~src.models.schemas.ReviewScore`.
+
+Unlike the Director (which plans) and the Editor (which executes), the
+Reviewer only judges. It takes a rendered ad (MP4/MOV/etc.) and the
+original :class:`~src.models.schemas.CreativeBrief`, asks Gemini to score
+the cut across four qualitative dimensions plus a holistic ``overall``,
+and returns actionable feedback the upstream loop can use to re-edit.
+
+Scoring contract
+----------------
+
+Every dimension is a float in ``[0.0, 1.0]``:
+
+* ``adherence`` — how well the finished cut honors ``brief.product`` /
+ ``brief.audience`` / ``brief.tone``.
+* ``pacing`` — energy arc, hook strength, and cut rhythm.
+* ``visual_quality`` — composition, framing, color, clarity.
+* ``watchability`` — would a real viewer keep watching to the end.
+* ``overall`` — holistic judgment, NOT a plain mean. One broken dimension
+ can drag the whole score down when it deserves to.
+
+The ``feedback`` field is free text. If ``overall < 0.7`` it MUST include
+specific, actionable suggestions that reference beats, clip numbers, or
+timestamps (e.g. "hook at 0:00–0:03 is weak — replace clip 1 with the
+product close-up"). Vague feedback like "could be better" is not allowed.
+
+The agent's ``output_schema`` is :class:`~src.models.schemas.ReviewScore`
+so the final response is forced to validate against the Pydantic
+contract. Google ADK's ``_OutputSchemaRequestProcessor`` bridges
+``tools + output_schema`` for Gemini models, so a single
+:class:`~google.adk.agents.Agent` can both call ``review_output`` and
+emit a strict structured response (no SequentialAgent split required).
+
+Surfaces
+--------
+
+* Module-level :data:`reviewer` — a constructed Agent instance with the
+ base instruction (no brief baked in). Useful for ADK auto-discovery
+ (``adk web``, ``adk eval``) and module-level introspection.
+* :func:`build_reviewer` — factory that takes a
+ :class:`~src.models.schemas.CreativeBrief` and returns a fresh Agent
+ whose instruction has the brief details baked into the runtime prompt.
+ Use this for real runs.
+* :func:`build_runtime_instruction` — pure helper that returns the
+ runtime instruction string for a given brief (exposed so callers can
+ preview what the agent will see before running it).
+* :func:`run_reviewer` — synchronous end-to-end runner that wires up an
+ ``InMemoryRunner``, sends the brief + rendered video path as the user
+ message, and returns a validated
+ :class:`~src.models.schemas.ReviewScore`.
+
+Importing this module instantiates the module-level ``reviewer`` Agent
+(no Gemini API calls). Tool invocations and the Gemini round-trip only
+happen inside :func:`run_reviewer`.
+"""
+
+from __future__ import annotations
+
+import asyncio
+from pathlib import Path
+
+from google.adk.agents import Agent
+from google.adk.runners import InMemoryRunner
+from google.genai import types as genai_types
+
+from src.models.schemas import CreativeBrief, ReviewScore
+from src.tools.analyze import _ALLOWED_REVIEW_VIDEO_PATH, review_output
+
+# --------------------------------------------------------------------------- #
+# Constants
+# --------------------------------------------------------------------------- #
+
+_MODEL_ID = "gemini-3.1-pro-preview"
+_AGENT_NAME = "reviewer"
+_APP_NAME = "agentic-video-editor"
+_USER_ID = "reviewer-user"
+
+_AGENT_DESCRIPTION = (
+ "Creative reviewer that watches a rendered ad and scores it against "
+ "the brief, returning actionable feedback."
+)
+
+REVIEWER_INSTRUCTION = """\
+You are the Reviewer agent for an AI video editor. Your job is to watch a
+rendered ad and grade it honestly against the creative brief that
+produced it. You are the critic — you do not plan edits, you do not
+render, you judge the finished cut and tell the upstream loop what to
+fix.
+
+## Your Mission
+Given a creative brief and a rendered video path in the user message,
+call the review_output tool with that exact video path and the brief,
+then return a single ReviewScore that validates against the Pydantic
+schema.
+
+## Scoring Contract
+Every score is a float in [0.0, 1.0]. Do not clamp to round numbers —
+use the full range.
+
+- adherence: how well the finished cut honors brief.product,
+ brief.audience, and brief.tone. Is the right product on screen? Does
+ the tone match the stated audience?
+- pacing: energy arc, hook strength, and cut rhythm. A great cut opens
+ strong and varies energy; a bad cut drags or feels choppy.
+- visual_quality: composition, framing, color, and clarity. Does the
+ footage look like a finished ad, not rushed filler?
+- watchability: would a real viewer keep watching to the end. This is
+ the single most important retention signal.
+- overall: holistic judgment. NOT a plain mean of the four dimensions
+ above. One broken dimension (especially a weak hook) can and should
+ drag the whole score down.
+
+## Feedback Contract
+The feedback field must be concrete, actionable text that identifies
+what works and what should change.
+
+If overall >= 0.7, feedback can summarize strengths plus any minor
+polish notes.
+
+If overall < 0.7, feedback MUST include specific actionable
+suggestions that reference beats, clip numbers, or timestamps. Examples
+of good feedback:
+
+- "hook at 0:00–0:03 is weak — replace clip 1 with the product close-up
+ from the tool output"
+- "clip 3 drags, shorten by ~1.5s or swap for a higher-energy reaction
+ shot"
+- "tone is too formal for the stated audience — re-cut with the casual
+ reaction shots instead of the voiceover takes"
+
+Vague feedback like "could be better", "try harder", or "needs more
+energy" is NOT allowed when overall < 0.7.
+
+## Available Tools
+- review_output(video_path, brief) — sends the rendered video to Gemini
+ 3.1 Pro and returns a ReviewScore. Use this tool exactly once with the
+ video path and the brief JSON you were given. Do not paraphrase or
+ truncate the brief before passing it to the tool.
+
+## Workflow
+1. Read the brief JSON and the rendered video_path from the user
+ message.
+2. Call review_output(video_path, brief) exactly once with the values
+ you were given. Pass the brief JSON verbatim.
+3. Take the tool's ReviewScore and return it as your final structured
+ output. If the tool's feedback is already specific and the overall
+ score honors the rubric above, you may return the tool's output
+ unchanged. If the feedback is vague or fails the < 0.7 actionable
+ rule, rewrite feedback to be specific before returning — do NOT
+ invent new scores.
+
+## Hard Constraints
+- Every score must be a float in [0.0, 1.0].
+- If overall < 0.7, feedback must contain specific actionable
+ suggestions referencing beats, clips, or timestamps.
+- The output must validate against the ReviewScore Pydantic schema.
+- Return ONLY the JSON object — no preamble, no commentary, no
+ markdown fences.
+"""
+
+
+# --------------------------------------------------------------------------- #
+# Instruction builder
+# --------------------------------------------------------------------------- #
+
+
+def build_runtime_instruction(brief: CreativeBrief) -> str:
+ """Return the full runtime instruction for a brief-aware Reviewer.
+
+ Combines the static :data:`REVIEWER_INSTRUCTION` with a brief header
+ (product, audience, tone, target duration, style_ref) so the Reviewer
+ has the grading rubric context inline. Unlike the Director, the
+ Reviewer does not load style skills — style-skill YAML is a planning
+ concern, and the Reviewer grades whatever was actually rendered.
+
+ This helper is exposed so callers (tests, debug tools) can preview
+ exactly what the Reviewer will see without spinning up an Agent.
+
+ Args:
+ brief: The :class:`CreativeBrief` to bake into the instruction.
+
+ Returns:
+ A multi-line instruction string ready to pass as
+ ``Agent.instruction``.
+ """
+ header = (
+ "## Brief Context (grade the rendered cut against these fields)\n"
+ f"- product: {brief.product}\n"
+ f"- audience: {brief.audience}\n"
+ f"- tone: {brief.tone}\n"
+ f"- target duration (seconds): {brief.duration_seconds}\n"
+ f"- style_ref: {brief.style_ref or '(none)'}\n"
+ )
+
+ return "\n".join([REVIEWER_INSTRUCTION.rstrip(), "", header]) + "\n"
+
+
+# --------------------------------------------------------------------------- #
+# Agent factory
+# --------------------------------------------------------------------------- #
+
+
+def build_reviewer(brief: CreativeBrief) -> Agent:
+ """Construct a brief-aware Reviewer ADK Agent without running it.
+
+ Each call returns a fresh :class:`google.adk.agents.Agent` whose
+ instruction has the brief details baked into the runtime prompt. The
+ agent is wired with a single tool — :func:`review_output` — and
+ ``output_schema=ReviewScore`` so the final response validates
+ against the Pydantic contract.
+
+ Use this factory whenever you have a concrete brief in hand. The
+ module-level :data:`reviewer` instance is reserved for ADK
+ auto-discovery and tests that do not need brief-specific context.
+
+ Args:
+ brief: The creative brief whose product/audience/tone/duration
+ and optional ``style_ref`` shape the agent's instruction.
+
+ Returns:
+ A configured :class:`Agent` named ``reviewer`` with model
+ ``gemini-3.1-pro``, the ``review_output`` tool attached, and
+ ``output_schema=ReviewScore``.
+ """
+ instruction = build_runtime_instruction(brief)
+ return Agent(
+ name=_AGENT_NAME,
+ model=_MODEL_ID,
+ description=_AGENT_DESCRIPTION,
+ instruction=instruction,
+ tools=[review_output],
+ output_schema=ReviewScore,
+ )
+
+
+# --------------------------------------------------------------------------- #
+# Module-level default instance
+# --------------------------------------------------------------------------- #
+
+#: Default Reviewer agent without any brief baked in. Useful for ADK
+#: discovery (``adk web``, ``adk eval``), tests, and module-level
+#: introspection. For real runs prefer :func:`build_reviewer` so the
+#: brief details land inside the instruction.
+reviewer: Agent = Agent(
+ name=_AGENT_NAME,
+ model=_MODEL_ID,
+ description=_AGENT_DESCRIPTION,
+ instruction=REVIEWER_INSTRUCTION,
+ tools=[review_output],
+ output_schema=ReviewScore,
+)
+
+
+# --------------------------------------------------------------------------- #
+# Synchronous end-to-end runner
+# --------------------------------------------------------------------------- #
+
+
+def run_reviewer(
+ brief: CreativeBrief,
+ video_path: str,
+) -> ReviewScore:
+ """Run the Reviewer agent end-to-end and return a validated ReviewScore.
+
+ Builds a fresh brief-aware :class:`Agent` via :func:`build_reviewer`,
+ creates a single-turn in-memory session, sends one user message
+ containing the brief and the rendered video path, drains the event
+ stream, and parses the reviewer's final structured-output payload as
+ a :class:`ReviewScore`.
+
+ The agent's ``output_schema`` forces structured JSON output so the
+ final message body is validated by Pydantic via
+ :meth:`ReviewScore.model_validate_json`.
+
+ Args:
+ brief: The :class:`CreativeBrief` that drove this edit. Used to
+ anchor grading — the Reviewer scores the cut relative to the
+ brief's product, audience, tone, and target duration.
+ video_path: Path to the rendered ad video produced by the
+ Editor agent (US-006). Must exist on disk so the Reviewer's
+ ``review_output`` tool call can read it.
+
+ Returns:
+ A validated :class:`ReviewScore` with five float dimensions in
+ ``[0.0, 1.0]`` and a non-empty ``feedback`` string.
+
+ Raises:
+ FileNotFoundError: If ``video_path`` does not exist.
+ RuntimeError: If the agent stream completes without producing a
+ final response payload, or if the parsed
+ :class:`ReviewScore` has empty ``feedback`` (the grading
+ contract requires non-empty feedback on every response).
+ pydantic.ValidationError: If the model emits JSON that does not
+ satisfy the :class:`ReviewScore` schema.
+ """
+ if not Path(video_path).exists():
+ raise FileNotFoundError(
+ f"video_path does not exist: {video_path}"
+ )
+
+ # Defense-in-depth against prompt-injection path exfiltration: bind the
+ # pre-approved, resolved video path in a ContextVar so ``review_output``
+ # can reject any path the model fabricates. The FileNotFoundError guard
+ # above remains — this binding is additive and tightens the tool's trust
+ # boundary so the Reviewer can only read the cut we explicitly approved.
+ canonical_video_path = str(Path(video_path).resolve())
+
+ agent = build_reviewer(brief)
+ runner = InMemoryRunner(agent=agent, app_name=_APP_NAME)
+
+ user_message = genai_types.Content(
+ role="user",
+ parts=[
+ genai_types.Part(
+ text=(
+ "Watch the rendered ad at this path and score it "
+ "against the brief.\n\n"
+ f"Brief JSON: {brief.model_dump_json()}\n\n"
+ f"Rendered video path (use this exact path in the "
+ f"review_output tool call): {video_path}\n\n"
+ "Produce the ReviewScore now."
+ )
+ )
+ ],
+ )
+
+ async def _go() -> ReviewScore:
+ session = await runner.session_service.create_session(
+ app_name=_APP_NAME,
+ user_id=_USER_ID,
+ )
+ final_text: str | None = None
+ async for event in runner.run_async(
+ user_id=_USER_ID,
+ session_id=session.id,
+ new_message=user_message,
+ ):
+ if (
+ event.is_final_response()
+ and event.content
+ and event.content.parts
+ ):
+ # Concatenate any non-thought text parts so we capture the
+ # model's full structured response even if it is split.
+ text = "".join(
+ part.text
+ for part in event.content.parts
+ if getattr(part, "text", None)
+ and not getattr(part, "thought", False)
+ )
+ if text.strip():
+ final_text = text
+ if not final_text:
+ raise RuntimeError(
+ "Reviewer agent returned no final response text. Check "
+ "that the rendered video exists and that the model "
+ "returned a non-empty structured response."
+ )
+ score = ReviewScore.model_validate_json(final_text)
+ # Defensive safety net: the prompt instructs the model to always
+ # return concrete feedback (and mandatory actionable suggestions
+ # when overall < 0.7). The ReviewScore schema only types feedback
+ # as ``str`` so an empty string would otherwise slip through.
+ # Reject empty/whitespace feedback here — an upstream loop cannot
+ # act on it and the failure mode would be silent otherwise.
+ if not score.feedback.strip():
+ raise RuntimeError(
+ "Reviewer agent returned a ReviewScore with empty "
+ "feedback. The grading contract requires non-empty "
+ "feedback on every response (and specific actionable "
+ f"suggestions when overall < 0.7; got overall={score.overall})."
+ )
+ return score
+
+ _token = _ALLOWED_REVIEW_VIDEO_PATH.set(canonical_video_path)
+ try:
+ return asyncio.run(_go())
+ finally:
+ _ALLOWED_REVIEW_VIDEO_PATH.reset(_token)
diff --git a/src/agents/trim_refiner.py b/src/agents/trim_refiner.py
new file mode 100644
index 0000000..077c67a
--- /dev/null
+++ b/src/agents/trim_refiner.py
@@ -0,0 +1,420 @@
+"""Trim Refiner: two-pass cut-point precision via short-clip Gemini analysis.
+
+Takes the Director's rough EditPlan, extracts short (~6 s) probe clips
+around each entry's IN and OUT trim points, sends them to Gemini in
+parallel for frame-level timing, and returns a refined EditPlan with
+tighter cuts.
+
+The Director owns creative decisions (which clips, what order, narrative
+arc). The Trim Refiner only tightens timing — it never changes shot
+selection, ordering, or any other creative field.
+
+Public API
+----------
+
+* :func:`refine_plan` — takes an ``EditPlan`` + ``footage_index_path``,
+ returns a new ``EditPlan`` with refined ``start_trim`` / ``end_trim``
+ on every entry.
+"""
+
+from __future__ import annotations
+
+import os
+import re
+import time
+from concurrent.futures import ThreadPoolExecutor, as_completed
+from pathlib import Path
+
+from pydantic import BaseModel, Field
+
+from src.models.schemas import EditPlan, EditPlanEntry, FootageIndex, Shot
+
+# --------------------------------------------------------------------------- #
+# Constants
+# --------------------------------------------------------------------------- #
+
+_GEMINI_MODEL = "gemini-3.1-pro-preview"
+
+#: Seconds of context on each side of a trim point.
+_PROBE_MARGIN_SECONDS = 3.0
+
+#: Max workers for parallel Gemini calls (one per trim point).
+_MAX_WORKERS = 6
+
+#: Files larger than this are uploaded via the File API.
+_INLINE_MAX_BYTES = 20 * 1024 * 1024
+
+_FILE_ACTIVE_TIMEOUT_SECONDS = 60.0
+_FILE_ACTIVE_POLL_INTERVAL = 1.0
+
+_MIME_TYPE_BY_EXT: dict[str, str] = {
+ ".mp4": "video/mp4",
+ ".mov": "video/quicktime",
+ ".m4v": "video/x-m4v",
+ ".mkv": "video/x-matroska",
+}
+_DEFAULT_MIME_TYPE = "video/mp4"
+
+
+# --------------------------------------------------------------------------- #
+# Structured output schema
+# --------------------------------------------------------------------------- #
+
+
+class TrimRefinement(BaseModel):
+ """Gemini's answer for a single trim-point probe."""
+
+ refined_timestamp: float = Field(
+ ...,
+ description=(
+ "The precise timestamp (in seconds, relative to the start of "
+ "the probe clip) where the action/speech meaningfully begins "
+ "(for IN points) or naturally completes (for OUT points)."
+ ),
+ )
+ confidence: float = Field(
+ ...,
+ ge=0.0,
+ le=1.0,
+ description="How confident the model is in the refined timestamp.",
+ )
+
+
+# --------------------------------------------------------------------------- #
+# Helpers
+# --------------------------------------------------------------------------- #
+
+
+def _log(msg: str) -> None:
+ print(msg, flush=True)
+
+
+def _mime_type_for(path: str) -> str:
+ suffix = Path(path).suffix.lower()
+ return _MIME_TYPE_BY_EXT.get(suffix, _DEFAULT_MIME_TYPE)
+
+
+def _require_api_key() -> str:
+ api_key = os.environ.get("GOOGLE_API_KEY")
+ if not api_key:
+ raise RuntimeError("GOOGLE_API_KEY environment variable is not set.")
+ return api_key
+
+
+def _wait_for_file_active(client: object, file_obj: object) -> object:
+ deadline = time.monotonic() + _FILE_ACTIVE_TIMEOUT_SECONDS
+ current = file_obj
+ while True:
+ state = getattr(getattr(current, "state", None), "name", None) or str(
+ getattr(current, "state", "")
+ )
+ if state == "ACTIVE":
+ return current
+ if state == "FAILED":
+ raise RuntimeError(
+ f"Gemini file upload failed for {getattr(current, 'name', '<unknown>')}"
+ )
+ if time.monotonic() >= deadline:
+ raise RuntimeError(
+ f"Timed out waiting for uploaded video to become ACTIVE (last state={state!r})"
+ )
+ time.sleep(_FILE_ACTIVE_POLL_INTERVAL)
+ current = client.files.get(name=current.name) # type: ignore[attr-defined]
+
+
+def _extract_probe_clip(
+ source: str, start: float, end: float, output: str
+) -> str:
+ """Extract a short probe clip via FFmpeg stream copy."""
+ import subprocess
+
+ Path(output).parent.mkdir(parents=True, exist_ok=True)
+ duration = end - start
+ cmd = [
+ "ffmpeg", "-y",
+ "-ss", f"{start}",
+ "-i", source,
+ "-t", f"{duration}",
+ "-c", "copy",
+ output,
+ ]
+ try:
+ subprocess.run(cmd, check=True, capture_output=True, text=True)
+ except subprocess.CalledProcessError as e:
+ raise RuntimeError(f"FFmpeg probe extraction failed: {e.stderr}") from e
+ return output
+
+
+def _send_probe_to_gemini(
+ clip_path: str,
+ point_type: str,
+ original_trim: float,
+ probe_start_in_source: float,
+) -> float:
+ """Send a probe clip to Gemini and return the refined source-timeline timestamp.
+
+ Args:
+ clip_path: Path to the short probe clip.
+ point_type: ``"IN"`` or ``"OUT"``.
+ original_trim: The Director's original trim timestamp (source timeline).
+ probe_start_in_source: Where the probe clip starts in the source timeline.
+
+ Returns:
+ Refined timestamp in the source file's timeline.
+ """
+ from google import genai
+ from google.genai import types
+
+ api_key = _require_api_key()
+ client = genai.Client(api_key=api_key)
+
+ path = Path(clip_path)
+ mime_type = _mime_type_for(clip_path)
+ size = path.stat().st_size
+
+ if size > _INLINE_MAX_BYTES:
+ uploaded = client.files.upload(
+ file=str(path),
+ config=types.UploadFileConfig(mime_type=mime_type),
+ )
+ uploaded = _wait_for_file_active(client, uploaded)
+ video_part = types.Part.from_uri(
+ file_uri=uploaded.uri, mime_type=mime_type,
+ )
+ else:
+ video_part = types.Part.from_bytes(
+ data=path.read_bytes(), mime_type=mime_type,
+ )
+
+ if point_type == "IN":
+ task = (
+ "Find the exact timestamp where meaningful action or speech "
+ "BEGINS in this clip. Ignore any dead air, silence, or "
+ "stillness at the start. The timestamp should be the first "
+ "frame where the speaker starts talking, moves purposefully, "
+ "or visual action starts. Report the timestamp in seconds "
+ "relative to the START of this clip (0.0 = first frame)."
+ )
+ else:
+ task = (
+ "Find the exact timestamp where the speaker's thought or "
+ "visual action naturally COMPLETES in this clip. The cut "
+ "should feel clean — not mid-word or mid-gesture. Report "
+ "the timestamp in seconds relative to the START of this "
+ "clip (0.0 = first frame)."
+ )
+
+ prompt = (
+ "You are a professional video editor fine-tuning cut points.\n\n"
+ f"This is a short probe clip (~6 seconds) around a proposed "
+ f"{point_type} point.\n\n"
+ f"{task}\n\n"
+ "Return ONLY the JSON object matching the schema — no commentary."
+ )
+
+ response = client.models.generate_content(
+ model=_GEMINI_MODEL,
+ contents=[video_part, prompt],
+ config=types.GenerateContentConfig(
+ response_mime_type="application/json",
+ response_schema=TrimRefinement,
+ ),
+ )
+
+ parsed = getattr(response, "parsed", None)
+ if not isinstance(parsed, TrimRefinement):
+ raw_text = getattr(response, "text", None)
+ if not raw_text:
+ _log(f"[trim_refiner] no response for {point_type} probe, keeping original")
+ return original_trim
+ parsed = TrimRefinement.model_validate_json(raw_text)
+
+ # Map probe-relative timestamp back to source timeline.
+ refined_source_ts = probe_start_in_source + parsed.refined_timestamp
+
+ _log(
+ f"[trim_refiner] {point_type} point: "
+ f"original={original_trim:.2f}s -> refined={refined_source_ts:.2f}s "
+ f"(confidence={parsed.confidence:.2f})"
+ )
+ return refined_source_ts
+
+
+def _slugify(text: str) -> str:
+ lowered = text.strip().lower()
+ dashed = re.sub(r"\s+", "-", lowered)
+ cleaned = re.sub(r"[^a-z0-9-]", "", dashed)
+ return re.sub(r"-+", "-", cleaned).strip("-") or "untitled"
+
+
+# --------------------------------------------------------------------------- #
+# Shot resolution (mirrors editor.py logic)
+# --------------------------------------------------------------------------- #
+
+_SHOT_MATCH_EPSILON = 1e-6
+
+
+def _resolve_shot(shot_id: str, index: FootageIndex) -> Shot:
+ sep = shot_id.rfind("#")
+ if sep == -1:
+ raise ValueError(f"shot_id {shot_id!r} missing '#' separator")
+ source_file = shot_id[:sep]
+ start_time = float(shot_id[sep + 1:])
+ for shot in index.shots:
+ if (
+ shot.source_file == source_file
+ and abs(shot.start_time - start_time) < _SHOT_MATCH_EPSILON
+ ):
+ return shot
+ raise ValueError(f"shot_id {shot_id!r} not found in FootageIndex")
+
+
+# --------------------------------------------------------------------------- #
+# Public API
+# --------------------------------------------------------------------------- #
+
+
+def refine_plan(
+ plan: EditPlan,
+ footage_index_path: str,
+ output_dir: str = "output",
+) -> EditPlan:
+ """Refine trim points in *plan* using short-clip Gemini analysis.
+
+ For each entry, extracts ~6 s probe clips around the IN and OUT
+ trim points, sends them to Gemini in parallel, and returns a new
+ EditPlan with tightened timestamps. Shot selection, ordering,
+ overlays, and all other creative fields are preserved unchanged.
+
+ Args:
+ plan: The Director's rough EditPlan.
+ footage_index_path: Path to the FootageIndex JSON.
+ output_dir: Root output directory for temp probe clips.
+
+ Returns:
+ A new EditPlan with refined ``start_trim`` / ``end_trim``.
+ """
+ index_path = Path(footage_index_path)
+ if not index_path.exists():
+ raise FileNotFoundError(f"footage_index_path does not exist: {footage_index_path}")
+ index = FootageIndex.model_validate_json(index_path.read_text(encoding="utf-8"))
+
+ slug = _slugify(plan.brief.product)
+ probe_dir = Path(output_dir) / "working" / slug / "trim_probes"
+ probe_dir.mkdir(parents=True, exist_ok=True)
+
+ _log(f"[trim_refiner] refining {len(plan.entries)} entries in parallel")
+ t0 = time.monotonic()
+
+ # Build work items: (entry_index, point_type, entry, shot)
+ # Also store resolved shots for transcript lookup when building entries.
+ resolved_shots: dict[int, Shot] = {}
+ work_items: list[tuple[int, str, EditPlanEntry, Shot]] = []
+ for i, entry in enumerate(plan.entries):
+ shot = _resolve_shot(entry.shot_id, index)
+ resolved_shots[i] = shot
+ work_items.append((i, "IN", entry, shot))
+ work_items.append((i, "OUT", entry, shot))
+
+ # Results keyed by (entry_index, point_type) -> refined timestamp
+ refined: dict[tuple[int, str], float] = {}
+
+ def _refine_one(
+ entry_idx: int,
+ point_type: str,
+ entry: EditPlanEntry,
+ shot: Shot,
+ ) -> tuple[int, str, float]:
+ if point_type == "IN":
+ original = entry.start_trim
+ else:
+ original = entry.end_trim
+
+ # Compute probe window, clamped to shot boundaries.
+ probe_start = max(shot.start_time, original - _PROBE_MARGIN_SECONDS)
+ probe_end = min(shot.end_time, original + _PROBE_MARGIN_SECONDS)
+
+ # Ensure minimum probe duration of 1s.
+ if probe_end - probe_start < 1.0:
+ _log(
+ f"[trim_refiner] entry {entry_idx} {point_type}: "
+ f"probe too short ({probe_end - probe_start:.2f}s), keeping original"
+ )
+ return (entry_idx, point_type, original)
+
+ probe_path = str(
+ probe_dir / f"probe_{entry_idx}_{point_type.lower()}.mp4"
+ )
+
+ try:
+ _extract_probe_clip(shot.source_file, probe_start, probe_end, probe_path)
+ result_ts = _send_probe_to_gemini(
+ probe_path, point_type, original, probe_start
+ )
+ except Exception as exc:
+ _log(
+ f"[trim_refiner] entry {entry_idx} {point_type} failed: "
+ f"{exc}; keeping original={original:.2f}s"
+ )
+ return (entry_idx, point_type, original)
+ finally:
+ # Clean up probe clip.
+ try:
+ Path(probe_path).unlink(missing_ok=True)
+ except OSError:
+ pass
+
+ # Clamp to shot boundaries and sanity-check.
+ result_ts = max(shot.start_time, min(shot.end_time, result_ts))
+ return (entry_idx, point_type, result_ts)
+
+ with ThreadPoolExecutor(max_workers=_MAX_WORKERS) as pool:
+ futures = {
+ pool.submit(_refine_one, idx, pt, entry, shot): (idx, pt)
+ for idx, pt, entry, shot in work_items
+ }
+ for future in as_completed(futures):
+ entry_idx, point_type, ts = future.result()
+ refined[(entry_idx, point_type)] = ts
+
+ # Build refined entries while preserving all non-timing fields.
+ new_entries: list[EditPlanEntry] = []
+ for i, entry in enumerate(plan.entries):
+ new_start = refined.get((i, "IN"), entry.start_trim)
+ new_end = refined.get((i, "OUT"), entry.end_trim)
+
+ # Ensure start < end after refinement.
+ if new_start >= new_end:
+ _log(
+ f"[trim_refiner] entry {i}: refined start ({new_start:.2f}) "
+ f">= end ({new_end:.2f}), reverting to original trims"
+ )
+ new_start = entry.start_trim
+ new_end = entry.end_trim
+
+ shot = resolved_shots[i]
+ new_entries.append(
+ entry.model_copy(update={"start_trim": new_start, "end_trim": new_end})
+ )
+ _log(
+ f"[trim_refiner] entry {i}: "
+ f"trim ({entry.start_trim:.2f}, {entry.end_trim:.2f}) -> "
+ f"({new_start:.2f}, {new_end:.2f})"
+ f" shot={shot.source_file!r}"
+ )
+
+ # Recompute total_duration from refined trims.
+ total_dur = sum(e.end_trim - e.start_trim for e in new_entries)
+
+ elapsed = time.monotonic() - t0
+ _log(f"[trim_refiner] done in {elapsed:.1f}s — total_duration {total_dur:.2f}s")
+
+ # Clean up probe directory.
+ try:
+ probe_dir.rmdir()
+ except OSError:
+ pass
+
+ return plan.model_copy(
+ update={"entries": new_entries, "total_duration": total_dur}
+ )
diff --git a/src/main.py b/src/main.py
new file mode 100644
index 0000000..f131f76
--- /dev/null
+++ b/src/main.py
@@ -0,0 +1,369 @@
+"""CLI entry point: raw footage + creative brief → rendered ad.
+
+This module exposes the single user-facing entry point for the agentic
+video editor. It wires together the preprocess step
+(:func:`src.pipeline.preprocess.preprocess_footage`) and the pipeline
+runner (:func:`src.pipeline.runner.run_pipeline`) behind a Click CLI so
+the happy path is one command::
+
+ python -m src.main edit \\
+ --footage-dir ~/Downloads/footage/A-Roll \\
+ --brief '{"product": "My Product", "audience": "Women 25-45", \\
+ "tone": "authentic, confident", "duration_seconds": 30}' \\
+ --style styles/dtc-testimonial.yaml
+
+The CLI itself owns no FFmpeg, Gemini, or agent logic — it only:
+
+* Validates and normalizes inputs (footage directory, brief JSON or
+ JSON file, style override, output directory).
+* Calls :func:`preprocess_footage` to build (or reuse) a
+ :class:`~src.models.schemas.FootageIndex` on disk.
+* Calls :func:`run_pipeline` to drive the Director → Editor → Reviewer
+ loop defined by the selected YAML manifest.
+* Prints a human-readable summary of the run (output path, review
+ dimensions, retries, warnings, total duration).
+
+All hard errors (missing files, bad JSON, validation failures, FFmpeg
+crashes, API errors) are raised as :class:`click.ClickException`, which
+Click maps to exit code 1. Unexpected exceptions propagate so Click can
+render a traceback — those are real bugs the caller should see.
+"""
+
+from __future__ import annotations
+
+import json
+import sys
+import time
+from pathlib import Path
+
+import click
+import yaml
+from pydantic import ValidationError
+
+from src.models.schemas import CreativeBrief
+from src.pipeline.preprocess import preprocess_footage
+from src.pipeline.runner import PipelineResult, run_pipeline
+
+DEFAULT_PIPELINE = "pipelines/ugc-ad.yaml"
+DEFAULT_OUTPUT_DIR = "output"
+FOOTAGE_INDEX_FILENAME = "footage_index.json"
+
+
+def _parse_brief(raw: str) -> CreativeBrief:
+ """Parse a ``--brief`` value as either inline JSON or a JSON file path.
+
+ The heuristic is: try ``json.loads`` on the raw string first. If it
+ parses to a mapping, treat that as the inline brief. Otherwise, if
+ the raw string resolves to an existing file on disk, read the file
+ and parse its contents. Anything else is a user error.
+
+ Args:
+ raw: The verbatim ``--brief`` option value from the command line.
+
+ Returns:
+ A validated :class:`CreativeBrief`.
+
+ Raises:
+ click.ClickException: If the string is neither valid JSON nor an
+ existing file, or if the resulting payload fails
+ :class:`CreativeBrief` validation.
+ """
+ payload: object | None = None
+ inline_error: Exception | None = None
+ try:
+ payload = json.loads(raw)
+ except json.JSONDecodeError as exc:
+ inline_error = exc
+
+ if not isinstance(payload, dict):
+ candidate = Path(raw).expanduser()
+ if candidate.exists() and candidate.is_file():
+ try:
+ file_text = candidate.read_text(encoding="utf-8")
+ except OSError as exc:
+ raise click.ClickException(
+ f"--brief file {candidate} could not be read: {exc}"
+ ) from exc
+ try:
+ payload = json.loads(file_text)
+ except json.JSONDecodeError as exc:
+ raise click.ClickException(
+ f"--brief file {candidate} is not valid JSON: {exc}"
+ ) from exc
+ else:
+ detail = (
+ f" (JSON parse error: {inline_error})"
+ if inline_error is not None
+ else ""
+ )
+ raise click.ClickException(
+ f"--brief {raw!r} is neither inline JSON nor an existing "
+ f"file path{detail}"
+ )
+
+ if not isinstance(payload, dict):
+ raise click.ClickException(
+ f"--brief must resolve to a JSON object, got "
+ f"{type(payload).__name__}"
+ )
+
+ try:
+ return CreativeBrief.model_validate(payload)
+ except ValidationError as exc:
+ raise click.ClickException(
+ f"--brief failed CreativeBrief validation: {exc}"
+ ) from exc
+
+
+def _apply_style_override(brief: CreativeBrief, style_path: Path) -> CreativeBrief:
+ """Return a copy of ``brief`` with ``style_ref`` set to an absolute path.
+
+ Args:
+ brief: A validated brief — never mutated in place.
+ style_path: Path to the style YAML from the ``--style`` option.
+
+ Returns:
+ A new :class:`CreativeBrief` with ``style_ref`` pointing at the
+ resolved absolute path of the style file.
+
+ Raises:
+ click.ClickException: If ``style_path`` does not exist on disk.
+ """
+ resolved = style_path.expanduser().resolve()
+ if not resolved.exists() or not resolved.is_file():
+ raise click.ClickException(
+ f"--style file does not exist: {style_path}"
+ )
+ return brief.model_copy(update={"style_ref": str(resolved)})
+
+
+def _print_summary(result: PipelineResult, duration_seconds: float) -> None:
+ """Render a human-readable summary of a completed pipeline run."""
+ click.echo("")
+ click.echo("=" * 60)
+ click.echo("Pipeline run summary")
+ click.echo("=" * 60)
+ click.echo(
+ f"output video : {result.final_video_path or 'none'}"
+ )
+ review = result.review
+ if review is None:
+ click.echo("review : none (pipeline aborted before reviewer)")
+ else:
+ click.echo("review dimensions :")
+ click.echo(f" adherence : {review.adherence:.2f}")
+ click.echo(f" pacing : {review.pacing:.2f}")
+ click.echo(f" visual_quality : {review.visual_quality:.2f}")
+ click.echo(f" watchability : {review.watchability:.2f}")
+ click.echo(f" overall : {review.overall:.2f}")
+ click.echo(f"retries_used : {result.retries_used}")
+ click.echo(f"total duration : {duration_seconds:.2f}s")
+ if result.warnings:
+ click.echo("")
+ for warning in result.warnings:
+ click.echo(f"[pipeline] WARNING: {warning}")
+ click.echo("=" * 60)
+
+
+def cli() -> None:
+ """Agentic video editor — raw footage + creative brief → rendered ad."""
+
+
+ "--footage-dir",
+ "footage_dir",
+ required=True,
+ type=click.Path(
+ exists=False,
+ file_okay=False,
+ dir_okay=True,
+ path_type=Path,
+ ),
+ help="Directory containing raw footage clips to preprocess.",
+)
+ "--brief",
+ "brief_arg",
+ required=True,
+ type=str,
+ help=(
+ "Creative brief as inline JSON OR a path to a .json file. "
+ "Must validate against CreativeBrief."
+ ),
+)
+ "--pipeline",
+ "pipeline_path",
+ type=click.Path(
+ exists=False,
+ file_okay=True,
+ dir_okay=False,
+ path_type=Path,
+ ),
+ default=DEFAULT_PIPELINE,
+ show_default=True,
+ help="YAML pipeline manifest to run.",
+)
+ "--style",
+ "style_path",
+ type=click.Path(
+ exists=False,
+ file_okay=True,
+ dir_okay=False,
+ path_type=Path,
+ ),
+ default=None,
+ help=(
+ "Optional style YAML. When set, resolved to an absolute path and "
+ "assigned to brief.style_ref before the Director runs."
+ ),
+)
+ "--output-dir",
+ "output_dir",
+ type=click.Path(
+ exists=False,
+ file_okay=False,
+ dir_okay=True,
+ path_type=Path,
+ ),
+ default=DEFAULT_OUTPUT_DIR,
+ show_default=True,
+ help=(
+ "Directory for the cached footage_index.json. Note: rendered "
+ "artifacts currently go to the editor agent's default output/ "
+ "directory; threading this override through run_pipeline is "
+ "deferred to a follow-up story."
+ ),
+)
+ "--skip-preprocess",
+ is_flag=True,
+ default=False,
+ help=(
+ "Skip preprocessing when {output-dir}/footage_index.json already "
+ "exists. Falls through to preprocess if the index is missing."
+ ),
+)
+ "--no-approval",
+ is_flag=True,
+ default=False,
+ help="Auto-approve human_approval gates (headless/non-interactive runs).",
+)
+def edit(
+ footage_dir: Path,
+ brief_arg: str,
+ pipeline_path: Path,
+ style_path: Path | None,
+ output_dir: Path,
+ skip_preprocess: bool,
+ no_approval: bool,
+) -> None:
+ """Run the full pipeline: preprocess → director → editor → reviewer."""
+ started_at = time.monotonic()
+
+ # Resolve and validate core paths. Expand tildes so shell-style home
+ # references work even when Click didn't see them.
+ footage_dir = footage_dir.expanduser()
+ pipeline_path = pipeline_path.expanduser()
+ output_dir = output_dir.expanduser()
+
+ if not pipeline_path.exists() or not pipeline_path.is_file():
+ raise click.ClickException(
+ f"--pipeline file does not exist: {pipeline_path}"
+ )
+
+ output_dir.mkdir(parents=True, exist_ok=True)
+ footage_index_path = output_dir / FOOTAGE_INDEX_FILENAME
+
+ brief = _parse_brief(brief_arg)
+ if style_path is not None:
+ brief = _apply_style_override(brief, style_path)
+ click.echo(f"[cli] using style override: {brief.style_ref}")
+
+ # Decide whether to run preprocess. --skip-preprocess is a best-effort
+ # hint: if the cached index is missing we fall through to preprocess
+ # rather than silently running the pipeline against stale or empty
+ # input.
+ should_preprocess = True
+ if skip_preprocess and footage_index_path.exists():
+ should_preprocess = False
+ click.echo(
+ f"[cli] reusing existing footage index at {footage_index_path}"
+ )
+ elif skip_preprocess and not footage_index_path.exists():
+ click.echo(
+ f"[cli] --skip-preprocess set but {footage_index_path} is "
+ "missing; running preprocess anyway"
+ )
+
+ if should_preprocess:
+ if not footage_dir.exists():
+ raise click.ClickException(
+ f"--footage-dir does not exist: {footage_dir}"
+ )
+ if not footage_dir.is_dir():
+ raise click.ClickException(
+ f"--footage-dir is not a directory: {footage_dir}"
+ )
+ click.echo(
+ f"[cli] preprocessing {footage_dir} -> {footage_index_path}"
+ )
+ try:
+ preprocess_footage(
+ str(footage_dir),
+ str(footage_index_path),
+ )
+ except (FileNotFoundError, NotADirectoryError, ValueError) as exc:
+ raise click.ClickException(
+ f"preprocess failed: {exc}"
+ ) from exc
+ except RuntimeError as exc:
+ raise click.ClickException(
+ f"preprocess runtime error: {exc}"
+ ) from exc
+
+ click.echo(
+ f"[cli] running pipeline {pipeline_path} against "
+ f"{footage_index_path}"
+ )
+ try:
+ result = run_pipeline(
+ str(pipeline_path),
+ brief,
+ str(footage_index_path),
+ human_approval=not no_approval,
+ )
+ except FileNotFoundError as exc:
+ raise click.ClickException(f"pipeline input missing: {exc}") from exc
+ except ValidationError as exc:
+ raise click.ClickException(
+ f"pipeline schema validation failed: {exc}"
+ ) from exc
+ except yaml.YAMLError as exc:
+ raise click.ClickException(
+ f"pipeline YAML is malformed: {exc}"
+ ) from exc
+ except ValueError as exc:
+ raise click.ClickException(f"pipeline error: {exc}") from exc
+ except RuntimeError as exc:
+ raise click.ClickException(
+ f"pipeline runtime error: {exc}"
+ ) from exc
+
+ duration_seconds = time.monotonic() - started_at
+ _print_summary(result, duration_seconds)
+
+ # Successful exit even if the reviewer score was low — AC 6 says a
+ # complete-with-warnings run should still exit 0. Only hard errors
+ # should exit non-zero, and those all route through ClickException
+ # above.
+ sys.exit(0)
+
+
+if __name__ == "__main__":
+ cli()
diff --git a/src/models/__init__.py b/src/models/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/src/models/schemas.py b/src/models/schemas.py
new file mode 100644
index 0000000..ffef7a3
--- /dev/null
+++ b/src/models/schemas.py
@@ -0,0 +1,71 @@
+from __future__ import annotations
+
+from datetime import datetime
+
+from pydantic import BaseModel, Field
+
+
+class CreativeBrief(BaseModel):
+ product: str
+ audience: str
+ tone: str
+ duration_seconds: int
+ style_ref: str | None = None
+
+
+class WordTimestamp(BaseModel):
+ word: str
+ start: float
+ end: float
+
+
+class Shot(BaseModel):
+ source_file: str
+ start_time: float
+ end_time: float
+ description: str
+ energy_level: int
+ relevance_score: float
+ transcript: str
+ words: list[WordTimestamp] = Field(default_factory=list)
+ roll_type: str = Field(
+ default="unknown",
+ description=(
+ "Footage category: 'a-roll' (on-camera talent / talking head), "
+ "'b-roll' (cutaway / product / texture / environment), or "
+ "'unknown'. Auto-detected from the source directory name during "
+ "preprocessing."
+ ),
+ )
+
+
+class FootageIndex(BaseModel):
+ source_dir: str
+ shots: list[Shot]
+ total_duration: float
+ created_at: datetime
+
+
+class EditPlanEntry(BaseModel):
+ shot_id: str
+ start_trim: float
+ end_trim: float
+ position: int
+ text_overlay: str | None = None
+ transition: str | None = None
+
+
+class EditPlan(BaseModel):
+ brief: CreativeBrief
+ entries: list[EditPlanEntry]
+ music_path: str | None = None
+ total_duration: float
+
+
+class ReviewScore(BaseModel):
+ adherence: float
+ pacing: float
+ visual_quality: float
+ watchability: float
+ overall: float
+ feedback: str
diff --git a/src/pipeline/__init__.py b/src/pipeline/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/src/pipeline/preprocess.py b/src/pipeline/preprocess.py
new file mode 100644
index 0000000..34623fd
--- /dev/null
+++ b/src/pipeline/preprocess.py
@@ -0,0 +1,288 @@
+"""Pre-processing pipeline: scene detection + transcription.
+
+Walks an input directory of video files, splits each clip into shots using
+PySceneDetect, transcribes audio with Faster-Whisper, aligns word-level
+timestamps to shot boundaries, and emits a serialized FootageIndex JSON.
+"""
+
+from __future__ import annotations
+
+import sys
+from datetime import datetime, timezone
+from pathlib import Path
+from typing import TYPE_CHECKING
+
+from src.models.schemas import FootageIndex, Shot, WordTimestamp
+
+if TYPE_CHECKING:
+ from faster_whisper import WhisperModel
+
+VIDEO_SUFFIXES = {".mov", ".mp4", ".m4v", ".mkv"}
+
+#: Directory name patterns used to auto-detect roll type.
+_ROLL_TYPE_PATTERNS: dict[str, str] = {
+ "a-roll": "a-roll",
+ "a_roll": "a-roll",
+ "aroll": "a-roll",
+ "b-roll": "b-roll",
+ "b_roll": "b-roll",
+ "broll": "b-roll",
+}
+
+
+def _detect_roll_type(video_path: Path) -> str:
+ """Infer 'a-roll', 'b-roll', or 'unknown' from parent directory name."""
+ for parent in video_path.parents:
+ name_lower = parent.name.lower().replace(" ", "")
+ if name_lower in _ROLL_TYPE_PATTERNS:
+ return _ROLL_TYPE_PATTERNS[name_lower]
+ return "unknown"
+
+
+def _log(msg: str) -> None:
+ """Emit progress to stderr."""
+ print(msg, file=sys.stderr, flush=True)
+
+
+def _detect_shots(
+ video_path: Path, scene_threshold: float = 27.0
+) -> list[tuple[float, float]]:
+ """Detect shots in a video using PySceneDetect ContentDetector.
+
+ Args:
+ video_path: Path to the video file.
+ scene_threshold: ContentDetector threshold (default 27.0).
+
+ Returns:
+ List of (start_seconds, end_seconds) tuples. If no cuts are detected,
+ returns a single shot spanning the entire video duration.
+ """
+ from scenedetect import ContentDetector, SceneManager, open_video
+
+ video = open_video(str(video_path))
+ scene_manager = SceneManager()
+ scene_manager.add_detector(ContentDetector(threshold=scene_threshold))
+ scene_manager.detect_scenes(video, show_progress=False)
+ scene_list = scene_manager.get_scene_list()
+
+ if not scene_list:
+ try:
+ duration = video.duration.get_seconds()
+ except Exception:
+ duration = 0.0
+ return [(0.0, float(duration))]
+
+ return [
+ (float(start.get_seconds()), float(end.get_seconds()))
+ for start, end in scene_list
+ ]
+
+
+def _transcribe_words(
+ model: WhisperModel, video_path: Path
+) -> list[tuple[float, float, str]]:
+ """Transcribe a video and return word-level timestamps.
+
+ Args:
+ model: A pre-loaded Faster-Whisper model.
+ video_path: Path to the video file.
+
+ Returns:
+ List of (start_seconds, end_seconds, word_text) tuples across the
+ entire file. Returns empty list if no speech is detected.
+ """
+ segments, _info = model.transcribe(
+ str(video_path), word_timestamps=True, temperature=0
+ )
+ words: list[tuple[float, float, str]] = []
+ for segment in segments:
+ seg_words = getattr(segment, "words", None) or []
+ for w in seg_words:
+ if w.start is None or w.end is None:
+ continue
+ words.append((float(w.start), float(w.end), str(w.word)))
+ return words
+
+
+def _normalize_word_text(text: str) -> str:
+ """Collapse whitespace in a transcribed word while keeping punctuation."""
+ return " ".join(text.split())
+
+
+def _words_to_text(words: list[WordTimestamp]) -> str:
+ """Render a token stream into readable caption/transcript text."""
+ if not words:
+ return ""
+
+ no_leading_space = {".", ",", "!", "?", ";", ":", "%", ")", "]", "}"}
+ no_trailing_space = {"(", "[", "{", "$", "#"}
+
+ parts: list[str] = []
+ for word in words:
+ token = word.word
+ if not token:
+ continue
+ if parts and token not in no_leading_space:
+ prev = parts[-1]
+ if prev not in no_trailing_space:
+ parts.append(" ")
+ parts.append(token)
+ return "".join(parts).strip()
+
+
+def _words_for_shot(
+ words: list[tuple[float, float, str]],
+ shot_start: float,
+ shot_end: float,
+) -> list[WordTimestamp]:
+ """Return word timestamps whose midpoint falls within the shot window."""
+ selected: list[WordTimestamp] = []
+ for w_start, w_end, text in words:
+ midpoint = (w_start + w_end) / 2.0
+ if shot_start <= midpoint < shot_end:
+ normalized = _normalize_word_text(text)
+ if not normalized:
+ continue
+ start = max(shot_start, w_start)
+ end = min(shot_end, w_end)
+ if end <= start:
+ continue
+ selected.append(
+ WordTimestamp(word=normalized, start=float(start), end=float(end))
+ )
+ return selected
+
+
+def _process_video(
+ model: WhisperModel,
+ video_path: Path,
+ scene_threshold: float = 27.0,
+) -> list[Shot]:
+ """Detect shots in a video and assemble Shot objects with aligned transcripts."""
+ shot_ranges = _detect_shots(video_path, scene_threshold=scene_threshold)
+ try:
+ words = _transcribe_words(model, video_path)
+ except Exception as exc:
+ _log(f"[preprocess] no transcript for {video_path.name}: {exc}")
+ words = []
+
+ roll_type = _detect_roll_type(video_path)
+ shots: list[Shot] = []
+ for shot_start, shot_end in shot_ranges:
+ shot_words = _words_for_shot(words, shot_start, shot_end)
+ transcript = _words_to_text(shot_words)
+ shots.append(
+ Shot(
+ source_file=str(video_path),
+ start_time=shot_start,
+ end_time=shot_end,
+ description="",
+ energy_level=0,
+ relevance_score=0.0,
+ transcript=transcript,
+ words=shot_words,
+ roll_type=roll_type,
+ )
+ )
+ return shots
+
+
+def preprocess_footage(
+ input_dir: str,
+ output_path: str,
+ *,
+ scene_threshold: float = 27.0,
+ whisper_model_size: str = "base",
+) -> FootageIndex:
+ """Pre-process a directory of footage into a FootageIndex.
+
+ Walks ``input_dir`` recursively for video files, runs PySceneDetect to
+ find shot boundaries, transcribes each file with Faster-Whisper, aligns
+ word-level timestamps to shot ranges, and serializes the resulting
+ FootageIndex to ``output_path`` as JSON.
+
+ Args:
+ input_dir: Directory containing source video files.
+ output_path: File path to write the serialized FootageIndex JSON.
+ scene_threshold: PySceneDetect ContentDetector threshold.
+ whisper_model_size: Faster-Whisper model size (default "base").
+
+ Returns:
+ The constructed FootageIndex (also written to ``output_path``).
+
+ Raises:
+ FileNotFoundError: If ``input_dir`` does not exist.
+ NotADirectoryError: If ``input_dir`` is not a directory.
+ """
+ from faster_whisper import WhisperModel
+
+ input_root = Path(input_dir)
+ if not input_root.exists():
+ raise FileNotFoundError(f"input_dir does not exist: {input_dir}")
+ if not input_root.is_dir():
+ raise NotADirectoryError(f"input_dir is not a directory: {input_dir}")
+
+ out_path = Path(output_path)
+ out_path.parent.mkdir(parents=True, exist_ok=True)
+
+ video_files = sorted(
+ p
+ for p in input_root.rglob("*")
+ if p.is_file() and p.suffix.lower() in VIDEO_SUFFIXES
+ )
+
+ _log(
+ f"[preprocess] scanning {input_root} — found {len(video_files)} video file(s)"
+ )
+
+ if not video_files:
+ _log("[preprocess] WARNING: no video files found")
+
+ _log(f"[preprocess] loading Faster-Whisper model '{whisper_model_size}'...")
+ model = WhisperModel(whisper_model_size, device="cpu", compute_type="int8")
+
+ all_shots: list[Shot] = []
+ total = len(video_files)
+ for idx, video_path in enumerate(video_files, start=1):
+ _log(f"[{idx}/{total}] processing {video_path.name}...")
+ try:
+ shots = _process_video(
+ model, video_path, scene_threshold=scene_threshold
+ )
+ _log(f"[{idx}/{total}] -> {len(shots)} shot(s)")
+ all_shots.extend(shots)
+ except Exception as exc:
+ _log(f"[{idx}/{total}] ERROR processing {video_path.name}: {exc}")
+ continue
+
+ total_duration = sum(
+ max(0.0, shot.end_time - shot.start_time) for shot in all_shots
+ )
+
+ footage_index = FootageIndex(
+ source_dir=str(input_root),
+ shots=all_shots,
+ total_duration=total_duration,
+ created_at=datetime.now(timezone.utc),
+ )
+
+ out_path.write_text(
+ footage_index.model_dump_json(indent=2),
+ encoding="utf-8",
+ )
+ _log(
+ f"[preprocess] wrote FootageIndex with {len(all_shots)} shot(s), "
+ f"total_duration={total_duration:.2f}s -> {out_path}"
+ )
+
+ return footage_index
+
+
+if __name__ == "__main__":
+ if len(sys.argv) != 3:
+ print(
+ "Usage: python -m src.pipeline.preprocess <input_dir> <output_path>",
+ file=sys.stderr,
+ )
+ sys.exit(1)
+ preprocess_footage(sys.argv[1], sys.argv[2])
diff --git a/src/pipeline/runner.py b/src/pipeline/runner.py
new file mode 100644
index 0000000..ba94aa0
--- /dev/null
+++ b/src/pipeline/runner.py
@@ -0,0 +1,841 @@
+"""Pipeline runner: YAML-driven Director → Editor → Reviewer orchestration.
+
+This module is the glue between the three agent modules shipped in
+``src.agents.director``, ``src.agents.editor``, and ``src.agents.reviewer``.
+It reads a YAML pipeline manifest (see ``pipelines/ugc-ad.yaml``),
+executes each step in order, honors optional human-approval gates, and
+runs a retry loop that feeds Reviewer feedback back to the Director when
+the rendered cut falls below a configured score threshold.
+
+The runner intentionally does **not** reimplement any tool logic — it
+calls the public ``run_director`` / ``run_editor`` / ``run_reviewer``
+synchronous wrappers and composes their results. The one exception is
+retry feedback: ``run_director`` has no parameter for reviewer feedback,
+so :func:`_run_director_with_feedback` builds a fresh Agent via
+``build_director`` and sends an augmented user message that appends the
+feedback history. That helper never modifies the Director module and
+mirrors the event-draining loop used by ``run_director`` itself.
+
+Failure semantics
+-----------------
+
+* A broken pipeline manifest (unknown agent, bad retry_if block, missing
+ steps list) raises ``ValueError`` immediately.
+* If the retry budget is exhausted and the final review still trips the
+ ``retry_if`` predicate, the runner logs a WARNING and returns a
+ :class:`PipelineResult` with the best-effort artifacts plus a non-empty
+ ``warnings`` list. It does **not** raise — AC 8 treats this as a
+ complete-with-low-score outcome, not a pipeline failure.
+* If the user declines the human-approval gate the runner returns a
+ :class:`PipelineResult` with ``edit_plan`` set, ``final_video_path``
+ and ``review`` left as ``None``, and a warning recording the abort.
+* Any exception raised by ``run_director`` / ``run_editor`` /
+ ``run_reviewer`` (file-not-found, schema validation, tool failures)
+ propagates — those are real bugs the caller should see, not soft
+ retryable conditions.
+
+Logging is plain ``print()`` to stdout to match the rest of the project
+(see ``src/pipeline/preprocess.py``).
+"""
+
+from __future__ import annotations
+
+import asyncio
+import sys
+import time
+from dataclasses import dataclass, field
+from pathlib import Path
+from typing import Any, Literal
+
+import yaml
+from google.adk.runners import InMemoryRunner
+from google.genai import errors as genai_errors
+from google.genai import types as genai_types
+from pydantic import BaseModel, Field, ValidationError
+
+from src.agents.director import (
+ _APP_NAME as _DIRECTOR_APP_NAME,
+)
+from src.agents.director import (
+ _USER_ID as _DIRECTOR_USER_ID,
+)
+from src.agents.director import (
+ build_director,
+ run_director,
+)
+from src.agents.editor import run_editor
+from src.agents.reviewer import run_reviewer
+from src.agents.trim_refiner import refine_plan
+from src.models.schemas import CreativeBrief, EditPlan, ReviewScore
+
+# --------------------------------------------------------------------------- #
+# Transient error retry
+# --------------------------------------------------------------------------- #
+
+_TRANSIENT_DELAYS = (30, 60, 120) # seconds — exponential-ish backoff
+
+
+def _with_transient_retry(fn, *args, **kwargs):
+ """Call *fn* with retries on transient Gemini errors (502, 503, 429).
+
+ Catches ``google.genai.errors.ServerError`` (5xx) and
+ ``google.genai.errors.ClientError`` (429 rate-limit) and waits
+ before retrying, up to ``len(_TRANSIENT_DELAYS)`` attempts.
+ """
+ for attempt, delay in enumerate(_TRANSIENT_DELAYS):
+ try:
+ return fn(*args, **kwargs)
+ except (genai_errors.ServerError, genai_errors.ClientError) as exc:
+ _log(
+ f"[pipeline] transient error (attempt {attempt + 1}/"
+ f"{len(_TRANSIENT_DELAYS) + 1}): {exc}"
+ )
+ _log(f"[pipeline] waiting {delay}s before retry …")
+ time.sleep(delay)
+ # Final attempt — let exceptions propagate
+ return fn(*args, **kwargs)
+
+
+# --------------------------------------------------------------------------- #
+# Typed manifest models
+# --------------------------------------------------------------------------- #
+
+
+_ALLOWED_AGENTS: frozenset[str] = frozenset({"director", "editor", "reviewer", "trim_refiner"})
+_ALLOWED_METRICS: frozenset[str] = frozenset(
+ {"adherence", "pacing", "visual_quality", "watchability", "overall"}
+)
+_ALLOWED_OPERATORS: frozenset[str] = frozenset({"<", "<="})
+
+
+class RetryIf(BaseModel):
+ """Retry predicate for a pipeline step.
+
+ Declares which :class:`ReviewScore` metric to inspect, the comparison
+ operator, the threshold, the maximum number of retries allowed, and
+ which upstream agent receives the Reviewer feedback on retry. Today
+ only ``feedback_target: director`` is supported — the runner raises
+ ``ValueError`` on any other value.
+ """
+
+ metric: Literal[
+ "adherence", "pacing", "visual_quality", "watchability", "overall"
+ ] = "overall"
+ operator: Literal["<", "<="] = "<"
+ threshold: float = 0.7
+ max_retries: int = 2
+ feedback_target: Literal["director"] = "director"
+
+
+class PipelineStep(BaseModel):
+ """One step in a pipeline manifest.
+
+ Unknown keys are rejected at validation time. The :func:`_load_pipeline`
+ helper preprocesses raw YAML with :func:`_strip_unknown_keys` so
+ unexpected fields produce a stdout warning instead of a hard error.
+ """
+
+ agent: Literal["director", "editor", "reviewer", "trim_refiner"]
+ gate: Literal["human_approval"] | None = None
+ retry_if: RetryIf | None = None
+
+ model_config = {"extra": "forbid"}
+
+
+class PipelineManifest(BaseModel):
+ """Typed view of a pipeline YAML manifest."""
+
+ name: str = "unnamed-pipeline"
+ description: str | None = None
+ steps: list[PipelineStep] = Field(default_factory=list)
+
+ model_config = {"extra": "forbid"}
+
+
+# --------------------------------------------------------------------------- #
+# Result type
+# --------------------------------------------------------------------------- #
+
+
+@dataclass
+class PipelineResult:
+ """Outcome of a full :func:`run_pipeline` invocation.
+
+ Attributes:
+ edit_plan: The last :class:`EditPlan` produced by the Director,
+ or ``None`` if the pipeline aborted before the Director ran.
+ final_video_path: Absolute path to the last rendered MP4 the
+ Editor produced, or ``None`` if the pipeline aborted before
+ the Editor ran (e.g. the human declined the approval gate).
+ review: The last :class:`ReviewScore` produced by the Reviewer,
+ or ``None`` if the pipeline aborted before the Reviewer ran.
+ retries_used: How many retry iterations the Reviewer loop
+ consumed. Zero if the first pass passed the retry predicate
+ or the pipeline had no Reviewer step.
+ warnings: Non-fatal notices the runner wants to surface (retry
+ budget exhausted, human declined gate, unknown manifest
+ keys, etc.). Empty on a clean happy path.
+ feedback_history: All Reviewer feedback strings gathered across
+ retry attempts, in chronological order. Useful for debugging
+ retry regressions.
+ """
+
+ edit_plan: EditPlan | None = None
+ final_video_path: str | None = None
+ review: ReviewScore | None = None
+ retries_used: int = 0
+ warnings: list[str] = field(default_factory=list)
+ feedback_history: list[str] = field(default_factory=list)
+
+
+# --------------------------------------------------------------------------- #
+# Logging helpers
+# --------------------------------------------------------------------------- #
+
+
+def _log(msg: str) -> None:
+ """Write an informational line to stdout (flushed)."""
+ print(msg, flush=True)
+
+
+def _log_warning(msg: str) -> None:
+ """Write a prefixed warning line to stdout."""
+ print(f"[pipeline] WARNING: {msg}", flush=True)
+
+
+def _log_step_start(agent: str, index: int) -> None:
+ _log(f"[pipeline] step {index} — {agent} starting")
+
+
+def _log_step_end(agent: str, duration: float, summary: str) -> None:
+ _log(
+ f"[pipeline] step — {agent} done in {duration:.2f}s — {summary}"
+ )
+
+
+# --------------------------------------------------------------------------- #
+# Manifest loading
+# --------------------------------------------------------------------------- #
+
+
+_KNOWN_MANIFEST_KEYS: frozenset[str] = frozenset(
+ {"name", "description", "steps"}
+)
+_KNOWN_STEP_KEYS: frozenset[str] = frozenset({"agent", "gate", "retry_if"})
+_KNOWN_RETRY_KEYS: frozenset[str] = frozenset(
+ {"metric", "operator", "threshold", "max_retries", "feedback_target"}
+)
+
+
+def _strip_unknown_keys(raw: dict[str, Any]) -> dict[str, Any]:
+ """Strip unknown top-level/step/retry keys with stdout warnings.
+
+ Returns a new dict containing only the keys Pydantic will accept.
+ Each dropped key logs a warning so manifest authors see the typo
+ without the pipeline crashing.
+ """
+ cleaned: dict[str, Any] = {}
+ for key, value in raw.items():
+ if key not in _KNOWN_MANIFEST_KEYS:
+ _log_warning(
+ f"pipeline manifest has unknown top-level key {key!r}; "
+ "ignoring"
+ )
+ continue
+ cleaned[key] = value
+
+ steps_raw = cleaned.get("steps")
+ if isinstance(steps_raw, list):
+ cleaned_steps: list[dict[str, Any]] = []
+ for step_index, step in enumerate(steps_raw):
+ if not isinstance(step, dict):
+ raise ValueError(
+ f"pipeline step at index {step_index} is not a mapping: "
+ f"{step!r}"
+ )
+ cleaned_step: dict[str, Any] = {}
+ for sk, sv in step.items():
+ if sk not in _KNOWN_STEP_KEYS:
+ _log_warning(
+ f"pipeline step {step_index} has unknown key "
+ f"{sk!r}; ignoring"
+ )
+ continue
+ cleaned_step[sk] = sv
+ retry_raw = cleaned_step.get("retry_if")
+ if isinstance(retry_raw, dict):
+ cleaned_retry: dict[str, Any] = {}
+ for rk, rv in retry_raw.items():
+ if rk not in _KNOWN_RETRY_KEYS:
+ _log_warning(
+ f"pipeline step {step_index} retry_if has "
+ f"unknown key {rk!r}; ignoring"
+ )
+ continue
+ cleaned_retry[rk] = rv
+ cleaned_step["retry_if"] = cleaned_retry
+ cleaned_steps.append(cleaned_step)
+ cleaned["steps"] = cleaned_steps
+
+ return cleaned
+
+
+def _load_pipeline(pipeline_path: str) -> PipelineManifest:
+ """Load and validate a pipeline YAML manifest from disk.
+
+ Args:
+ pipeline_path: Filesystem path to a YAML manifest (relative or
+ absolute — tildes are expanded).
+
+ Returns:
+ A validated :class:`PipelineManifest` with ``steps`` populated.
+
+ Raises:
+ FileNotFoundError: If the path does not exist.
+ ValueError: If the YAML parses to a non-mapping, declares zero
+ steps, or fails Pydantic validation (unknown step agent,
+ bad retry operator, etc.).
+ """
+ path = Path(pipeline_path).expanduser()
+ if not path.exists():
+ raise FileNotFoundError(
+ f"pipeline_path does not exist: {pipeline_path}"
+ )
+
+ text = path.read_text(encoding="utf-8")
+ parsed = yaml.safe_load(text)
+ if parsed is None:
+ raise ValueError(
+ f"pipeline manifest {pipeline_path!r} is empty"
+ )
+ if not isinstance(parsed, dict):
+ raise ValueError(
+ f"pipeline manifest {pipeline_path!r} must be a mapping, got "
+ f"{type(parsed).__name__}"
+ )
+
+ cleaned = _strip_unknown_keys(parsed)
+
+ try:
+ manifest = PipelineManifest.model_validate(cleaned)
+ except ValidationError as exc:
+ raise ValueError(
+ f"pipeline manifest {pipeline_path!r} failed validation: {exc}"
+ ) from exc
+
+ if not manifest.steps:
+ raise ValueError(
+ f"pipeline manifest {pipeline_path!r} declares zero steps"
+ )
+
+ for step in manifest.steps:
+ if step.agent not in _ALLOWED_AGENTS:
+ raise ValueError(
+ f"pipeline manifest {pipeline_path!r} has unknown agent "
+ f"{step.agent!r} (allowed: {sorted(_ALLOWED_AGENTS)})"
+ )
+ if step.retry_if is not None:
+ if step.retry_if.metric not in _ALLOWED_METRICS:
+ raise ValueError(
+ f"retry_if.metric {step.retry_if.metric!r} is not one "
+ f"of {sorted(_ALLOWED_METRICS)}"
+ )
+ if step.retry_if.operator not in _ALLOWED_OPERATORS:
+ raise ValueError(
+ f"retry_if.operator {step.retry_if.operator!r} is not "
+ f"one of {sorted(_ALLOWED_OPERATORS)}"
+ )
+ if step.retry_if.max_retries < 0:
+ raise ValueError(
+ "retry_if.max_retries must be >= 0, got "
+ f"{step.retry_if.max_retries}"
+ )
+
+ return manifest
+
+
+# --------------------------------------------------------------------------- #
+# Retry predicate
+# --------------------------------------------------------------------------- #
+
+
+def _metric_value(review: ReviewScore, metric: str) -> float:
+ """Read the scalar score for a named metric off a ReviewScore."""
+ return float(getattr(review, metric))
+
+
+def _should_retry(review: ReviewScore | None, retry_if: RetryIf | None) -> bool:
+ """Return True when the review trips the retry_if predicate.
+
+ A ``None`` ``review`` or ``None`` ``retry_if`` both return False —
+ without a score we cannot evaluate the predicate, and without a
+ retry rule there is nothing to retry.
+ """
+ if review is None or retry_if is None:
+ return False
+ value = _metric_value(review, retry_if.metric)
+ if retry_if.operator == "<":
+ return value < retry_if.threshold
+ if retry_if.operator == "<=":
+ return value <= retry_if.threshold
+ return False
+
+
+# --------------------------------------------------------------------------- #
+# Director retry helper (with reviewer feedback)
+# --------------------------------------------------------------------------- #
+
+
+def _run_director_with_feedback(
+ brief: CreativeBrief,
+ footage_index_path: str,
+ feedback: str,
+) -> EditPlan:
+ """Re-run the Director with Reviewer feedback injected into the prompt.
+
+ This helper mirrors the event-drain + structured-output-parse pattern
+ in ``src.agents.director.run_director`` but appends a "Reviewer
+ feedback from previous attempt" block to the user message so the
+ Director sees the concrete issues it must address in the revised
+ EditPlan. The Director's :func:`build_director` is imported and
+ called directly — no module surgery on ``director.py``.
+
+ Args:
+ brief: The same :class:`CreativeBrief` that drove the first
+ attempt. The brief is intentionally NOT mutated so downstream
+ validation (e.g. :class:`EditPlan.brief` echo) keeps working.
+ footage_index_path: Path to the serialized
+ :class:`~src.models.schemas.FootageIndex`. Must exist on disk
+ so the Director's ``search_moments`` tool calls can read it.
+ feedback: One or more Reviewer feedback strings concatenated by
+ the caller (newest at the end). Injected verbatim into the
+ user message.
+
+ Returns:
+ A validated :class:`EditPlan` produced by the retry-aware run.
+
+ Raises:
+ FileNotFoundError: If ``footage_index_path`` does not exist.
+ RuntimeError: If the agent stream completes without producing a
+ final response payload.
+ pydantic.ValidationError: If the model emits JSON that does not
+ satisfy the :class:`EditPlan` schema.
+ """
+ if not Path(footage_index_path).exists():
+ raise FileNotFoundError(
+ f"footage_index_path does not exist: {footage_index_path}"
+ )
+
+ agent = build_director(brief)
+ runner = InMemoryRunner(agent=agent, app_name=_DIRECTOR_APP_NAME)
+
+ feedback_block = (
+ "\n\n## Reviewer feedback from previous attempt "
+ "(address these issues in the new plan)\n"
+ f"{feedback.strip()}\n"
+ "\nProduce a revised EditPlan that directly addresses the feedback "
+ "above. Keep the same brief and footage index — only change shot "
+ "selection, ordering, trims, or overlays as needed to fix the "
+ "issues called out."
+ )
+
+ user_message = genai_types.Content(
+ role="user",
+ parts=[
+ genai_types.Part(
+ text=(
+ "Build a REVISED EditPlan for the following brief.\n\n"
+ f"Brief JSON: {brief.model_dump_json()}\n\n"
+ f"Footage index path (use this exact path in tool "
+ f"calls): {footage_index_path}\n\n"
+ "Produce the revised EditPlan now."
+ + feedback_block
+ )
+ )
+ ],
+ )
+
+ async def _go() -> EditPlan:
+ session = await runner.session_service.create_session(
+ app_name=_DIRECTOR_APP_NAME,
+ user_id=_DIRECTOR_USER_ID,
+ )
+ final_text: str | None = None
+ async for event in runner.run_async(
+ user_id=_DIRECTOR_USER_ID,
+ session_id=session.id,
+ new_message=user_message,
+ ):
+ if (
+ event.is_final_response()
+ and event.content
+ and event.content.parts
+ ):
+ text = "".join(
+ part.text
+ for part in event.content.parts
+ if getattr(part, "text", None)
+ and not getattr(part, "thought", False)
+ )
+ if text.strip():
+ final_text = text
+ if not final_text:
+ raise RuntimeError(
+ "Director retry returned no final response text. Check "
+ "that the FootageIndex still contains shots and that the "
+ "model returned a non-empty structured response."
+ )
+ return EditPlan.model_validate_json(final_text)
+
+ last_exc: Exception | None = None
+ for attempt in range(3):
+ try:
+ return asyncio.run(_go())
+ except RuntimeError as exc:
+ if "no final response text" not in str(exc):
+ raise
+ last_exc = exc
+ _log(
+ f"[pipeline] director retry attempt {attempt + 1}/3 "
+ "produced no final text; retrying"
+ )
+ raise last_exc # type: ignore[misc]
+
+
+# --------------------------------------------------------------------------- #
+# Human approval gate
+# --------------------------------------------------------------------------- #
+
+
+def _summarize_edit_plan(plan: EditPlan) -> str:
+ """Render a short, human-readable summary of an EditPlan for stdout."""
+ lines = [
+ "--- EditPlan ---",
+ f"product: {plan.brief.product}",
+ f"audience: {plan.brief.audience}",
+ f"tone: {plan.brief.tone}",
+ f"target duration: {plan.brief.duration_seconds}s",
+ f"total duration: {plan.total_duration:.2f}s",
+ f"entries ({len(plan.entries)}):",
+ ]
+ for entry in sorted(plan.entries, key=lambda e: e.position):
+ duration = entry.end_trim - entry.start_trim
+ overlay = f" overlay={entry.text_overlay!r}" if entry.text_overlay else ""
+ lines.append(
+ f" [{entry.position}] {entry.shot_id} "
+ f"trim=({entry.start_trim:.2f}, {entry.end_trim:.2f}) "
+ f"dur={duration:.2f}s{overlay}"
+ )
+ lines.append("--- end EditPlan ---")
+ return "\n".join(lines)
+
+
+def _prompt_human_approval(plan: EditPlan) -> bool:
+ """Print the edit plan and block until the user types y/n on stdin.
+
+ Returns ``True`` when the user approves (``y``/``yes``, case
+ insensitive), ``False`` when they decline (``n``/``no``). Any other
+ input re-prompts up to three times before defaulting to declined.
+ """
+ _log(_summarize_edit_plan(plan))
+ for _ in range(3):
+ try:
+ answer = input(
+ "[pipeline] approve this EditPlan and proceed to Editor? "
+ "[y/n]: "
+ ).strip().lower()
+ except EOFError:
+ _log_warning(
+ "human_approval gate got EOF on stdin; declining by default"
+ )
+ return False
+ if answer in {"y", "yes"}:
+ return True
+ if answer in {"n", "no"}:
+ return False
+ _log_warning(f"unrecognized answer {answer!r}; expected y/n")
+ _log_warning("no valid answer after 3 prompts; declining by default")
+ return False
+
+
+# --------------------------------------------------------------------------- #
+# Step summaries
+# --------------------------------------------------------------------------- #
+
+
+def _summarize_director(plan: EditPlan | None) -> str:
+ if plan is None:
+ return "no plan produced"
+ return (
+ f"plan with {len(plan.entries)} entries, "
+ f"total_duration={plan.total_duration:.2f}s"
+ )
+
+
+def _summarize_editor(video_path: str | None) -> str:
+ if not video_path:
+ return "no video produced"
+ return f"rendered {video_path}"
+
+
+def _summarize_reviewer(review: ReviewScore | None) -> str:
+ if review is None:
+ return "no review produced"
+ return (
+ f"overall={review.overall:.2f} "
+ f"adherence={review.adherence:.2f} "
+ f"pacing={review.pacing:.2f} "
+ f"visual_quality={review.visual_quality:.2f} "
+ f"watchability={review.watchability:.2f}"
+ )
+
+
+# --------------------------------------------------------------------------- #
+# Main entrypoint
+# --------------------------------------------------------------------------- #
+
+
+def run_pipeline(
+ pipeline_path: str,
+ brief: CreativeBrief,
+ footage_index_path: str,
+ *,
+ human_approval: bool = True,
+) -> PipelineResult:
+ """Execute a YAML-defined agent pipeline end to end.
+
+ Reads the manifest at ``pipeline_path``, validates it against the
+ :class:`PipelineManifest` schema, and walks the declared steps in
+ order. Each step resolves to one of three agents:
+
+ * ``director`` — calls :func:`src.agents.director.run_director` on
+ the initial attempt and :func:`_run_director_with_feedback` on
+ retries. Honors an optional ``gate: human_approval`` that blocks
+ on stdin before proceeding. If the user declines, the pipeline
+ returns early with a warning and no final video. When
+ ``human_approval=False`` every ``gate: human_approval`` is
+ auto-approved and no stdin read happens — use this for tests and
+ non-interactive runs.
+ * ``editor`` — calls :func:`src.agents.editor.run_editor` against
+ the current :class:`EditPlan` and records the rendered MP4 path.
+ * ``reviewer`` — calls :func:`src.agents.reviewer.run_reviewer`
+ against the current video. If ``retry_if`` is declared and the
+ score trips the predicate, the runner feeds the Reviewer feedback
+ back into the Director (via :func:`_run_director_with_feedback`),
+ re-runs the Editor, and re-reviews, up to ``max_retries`` times.
+ After the retry budget is exhausted, a low score is logged as a
+ warning rather than raising.
+
+ Each step prints a start line, a duration, and a short summary of
+ its output to stdout. The return value is a :class:`PipelineResult`
+ that carries the final plan, video path, review, retry count,
+ warnings, and full feedback history so callers can inspect the run.
+
+ Args:
+ pipeline_path: Path to a YAML pipeline manifest (see
+ ``pipelines/ugc-ad.yaml`` for the canonical example).
+ brief: The :class:`CreativeBrief` driving this run. Passed
+ unchanged to the Director and Reviewer — the Editor reads
+ brief context off the plan itself.
+ footage_index_path: Path to the JSON-serialized
+ :class:`~src.models.schemas.FootageIndex` produced by
+ :mod:`src.pipeline.preprocess`. Must exist on disk.
+ human_approval: When ``True`` (default), any step with
+ ``gate: human_approval`` prints a human-readable plan
+ summary and blocks on stdin for a ``y/n`` confirmation
+ before the Editor runs. When ``False``, the gate is
+ auto-approved, the summary is still printed, and stdin is
+ not touched — intended for non-interactive test runs and
+ automation. Keyword-only so callers cannot accidentally
+ bypass the gate by passing positional arguments.
+
+ Returns:
+ A :class:`PipelineResult` describing what the pipeline produced
+ and any warnings it raised. AC 8: a retry-budget exhaustion is
+ reflected in ``warnings`` and does NOT raise.
+
+ Raises:
+ FileNotFoundError: If ``pipeline_path`` or
+ ``footage_index_path`` does not exist.
+ ValueError: If the manifest fails validation or an editor step
+ is reached before a plan exists / a reviewer step is
+ reached before a video exists.
+ RuntimeError: Propagated from any underlying agent runner
+ (e.g. the Editor reporting a tool failure).
+ """
+ if not Path(footage_index_path).exists():
+ raise FileNotFoundError(
+ f"footage_index_path does not exist: {footage_index_path}"
+ )
+
+ manifest = _load_pipeline(pipeline_path)
+ _log(
+ f"[pipeline] loaded manifest {manifest.name!r} with "
+ f"{len(manifest.steps)} step(s) from {pipeline_path}"
+ )
+
+ result = PipelineResult()
+
+ for step_index, step in enumerate(manifest.steps):
+ _log_step_start(step.agent, step_index)
+ t0 = time.monotonic()
+
+ if step.agent == "director":
+ # Only run the Director on the first director step; downstream
+ # retries are driven from inside the reviewer branch via
+ # _run_director_with_feedback so we do not re-plan twice in
+ # the same pass.
+ if result.edit_plan is None:
+ result.edit_plan = _with_transient_retry(
+ run_director, brief, footage_index_path
+ )
+ if step.gate == "human_approval":
+ if human_approval:
+ approved = _prompt_human_approval(result.edit_plan)
+ else:
+ # Non-interactive bypass: still print the plan summary
+ # so the run log captures what the Editor will execute,
+ # but skip the stdin read entirely. Tests and batch
+ # pipelines pass human_approval=False to get here.
+ _log(_summarize_edit_plan(result.edit_plan))
+ _log(
+ "[pipeline] human_approval gate auto-approved "
+ "(human_approval=False kwarg)"
+ )
+ approved = True
+ if not approved:
+ warning = (
+ "human_approval gate declined; aborting pipeline "
+ "before editor"
+ )
+ _log_warning(warning)
+ result.warnings.append(warning)
+ _log_step_end(
+ step.agent,
+ time.monotonic() - t0,
+ _summarize_director(result.edit_plan),
+ )
+ return result
+ _log_step_end(
+ step.agent,
+ time.monotonic() - t0,
+ _summarize_director(result.edit_plan),
+ )
+ continue
+
+ if step.agent == "trim_refiner":
+ if result.edit_plan is None:
+ raise ValueError(
+ "pipeline step 'trim_refiner' reached before any "
+ "director step produced an EditPlan"
+ )
+ result.edit_plan = _with_transient_retry(
+ refine_plan, result.edit_plan, footage_index_path
+ )
+ _log_step_end(
+ step.agent,
+ time.monotonic() - t0,
+ f"refined {len(result.edit_plan.entries)} entries, "
+ f"total_duration={result.edit_plan.total_duration:.2f}s",
+ )
+ continue
+
+ if step.agent == "editor":
+ if result.edit_plan is None:
+ raise ValueError(
+ "pipeline step 'editor' reached before any director "
+ "step produced an EditPlan"
+ )
+ result.final_video_path = _with_transient_retry(
+ run_editor, result.edit_plan, footage_index_path
+ )
+ _log_step_end(
+ step.agent,
+ time.monotonic() - t0,
+ _summarize_editor(result.final_video_path),
+ )
+ continue
+
+ if step.agent == "reviewer":
+ if result.final_video_path is None:
+ raise ValueError(
+ "pipeline step 'reviewer' reached before any editor "
+ "step produced a rendered video"
+ )
+ result.review = _with_transient_retry(
+ run_reviewer, brief, result.final_video_path
+ )
+ _log(
+ f"[pipeline] initial reviewer score: "
+ f"{_summarize_reviewer(result.review)}"
+ )
+
+ retry_if = step.retry_if
+ while (
+ _should_retry(result.review, retry_if)
+ and retry_if is not None
+ and result.retries_used < retry_if.max_retries
+ ):
+ result.retries_used += 1
+ assert result.review is not None # for type-checkers
+ result.feedback_history.append(result.review.feedback)
+ metric_value = _metric_value(result.review, retry_if.metric)
+ _log_warning(
+ f"reviewer {retry_if.metric}={metric_value:.2f} "
+ f"{retry_if.operator} {retry_if.threshold} — retry "
+ f"{result.retries_used}/{retry_if.max_retries}"
+ )
+ combined_feedback = "\n\n".join(result.feedback_history)
+ revised_plan = _with_transient_retry(
+ _run_director_with_feedback,
+ brief,
+ footage_index_path,
+ feedback=combined_feedback,
+ )
+ _log(_summarize_edit_plan(revised_plan))
+ result.edit_plan = _with_transient_retry(
+ refine_plan, revised_plan, footage_index_path
+ )
+ result.final_video_path = _with_transient_retry(
+ run_editor, result.edit_plan, footage_index_path
+ )
+ result.review = _with_transient_retry(
+ run_reviewer, brief, result.final_video_path
+ )
+ _log(
+ f"[pipeline] retry {result.retries_used} reviewer "
+ f"score: {_summarize_reviewer(result.review)}"
+ )
+
+ if _should_retry(result.review, retry_if) and retry_if is not None:
+ assert result.review is not None
+ final_metric = _metric_value(result.review, retry_if.metric)
+ warning = (
+ f"retry budget exhausted after "
+ f"{result.retries_used}/{retry_if.max_retries} "
+ f"attempts; final {retry_if.metric}={final_metric:.2f} "
+ f"still {retry_if.operator} {retry_if.threshold}"
+ )
+ _log_warning(warning)
+ result.warnings.append(warning)
+
+ _log_step_end(
+ step.agent,
+ time.monotonic() - t0,
+ _summarize_reviewer(result.review),
+ )
+ continue
+
+ # Unreachable because the manifest loader rejects unknown agents,
+ # but kept as a defensive final branch.
+ raise ValueError(f"Unknown pipeline step agent: {step.agent!r}")
+
+ _log(
+ f"[pipeline] pipeline {manifest.name!r} complete — "
+ f"retries_used={result.retries_used} warnings={len(result.warnings)}"
+ )
+ if result.warnings:
+ for w in result.warnings:
+ print(f"[pipeline] WARNING (final): {w}", flush=True, file=sys.stdout)
+
+ return result
diff --git a/src/tools/__init__.py b/src/tools/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/src/tools/analyze.py b/src/tools/analyze.py
new file mode 100644
index 0000000..78ede8d
--- /dev/null
+++ b/src/tools/analyze.py
@@ -0,0 +1,567 @@
+"""Analysis tools for the Director agent.
+
+Two pure tool functions:
+
+* :func:`analyze_footage` — sends a single video clip to Gemini 3.1 Pro for
+ scene-by-scene analysis using the model's native video input. Returns a
+ list of plain dicts (one per detected scene) with timing, description,
+ rated dimensions, and a key spoken quote.
+
+* :func:`search_moments` — purely local, dependency-free ranking over a
+ pre-built :class:`FootageIndex`. Scores each shot's description and
+ transcript against a free-text query using a normalized token-overlap
+ score, filters by ``min_relevance`` (0–1), and returns up to
+ ``max_results`` shots sorted by descending relevance.
+
+The functions are written so Google ADK's auto tool detection can pick
+them up: full type annotations and Google-style docstrings on every public
+parameter and return value.
+"""
+
+from __future__ import annotations
+
+import contextvars
+import os
+import re
+import time
+from pathlib import Path
+
+from pydantic import BaseModel, Field
+
+from src.models.schemas import FootageIndex, ReviewScore, Shot
+
+# --------------------------------------------------------------------------- #
+# Prompt-injection defense: canonical video path binding
+# --------------------------------------------------------------------------- #
+#
+# The Reviewer agent's prompt includes untrusted brief text and then lets the
+# model choose the ``video_path`` argument to ``review_output``. Without a
+# binding, a crafted brief could coerce the model into calling
+# ``review_output("/etc/passwd", ...)`` and exfiltrate arbitrary readable
+# local files to Gemini via the File API or inline bytes upload.
+#
+# ``run_reviewer`` resolves the pre-approved rendered cut path BEFORE invoking
+# the agent and stores it here. ``review_output`` compares the model-supplied
+# ``video_path`` against the bound canonical path (resolved for symlink /
+# relative-path parity) and refuses any mismatch. The ContextVar scopes the
+# binding to a single ``run_reviewer`` call via ``set`` / ``reset``, so
+# bindings never leak across concurrent callers.
+#
+# When the ContextVar is unset (``None``) — e.g. direct tool invocation in a
+# trusted test harness — the guard is skipped and the existing path-existence
+# check still applies. Callers that want the guard must set it.
+_ALLOWED_REVIEW_VIDEO_PATH: contextvars.ContextVar[str | None] = contextvars.ContextVar(
+ "_ALLOWED_REVIEW_VIDEO_PATH", default=None
+)
+
+# --------------------------------------------------------------------------- #
+# Constants
+# --------------------------------------------------------------------------- #
+
+_GEMINI_MODEL = "gemini-3.1-pro-preview"
+
+# Files larger than this must be uploaded via the Gemini File API rather than
+# inlined as bytes. Inline payloads are subject to per-request size limits and
+# 20 MB is the conventional safe ceiling.
+_INLINE_MAX_BYTES = 20 * 1024 * 1024
+
+# How long to wait for an uploaded file to reach ACTIVE state before giving up.
+_FILE_ACTIVE_TIMEOUT_SECONDS = 60.0
+_FILE_ACTIVE_POLL_INTERVAL = 1.0
+
+# Map common video extensions to their canonical mime types so we never lie
+# about the payload format (e.g. .mov footage uses QuickTime).
+_MIME_TYPE_BY_EXT: dict[str, str] = {
+ ".mp4": "video/mp4",
+ ".mov": "video/quicktime",
+ ".m4v": "video/x-m4v",
+ ".mkv": "video/x-matroska",
+}
+_DEFAULT_MIME_TYPE = "video/mp4"
+
+# Trivial English stopwords removed from query/document tokens before scoring.
+# Kept intentionally tiny — we want lexical recall, not a real NLP pipeline.
+_STOPWORDS: frozenset[str] = frozenset({"a", "an", "the", "of", "to", "and", "or"})
+
+
+# --------------------------------------------------------------------------- #
+# Internal response schema for Gemini structured output
+# --------------------------------------------------------------------------- #
+
+
+class _SceneAnalysis(BaseModel):
+ """Schema Gemini must populate for each detected scene.
+
+ Mirrors the public dict shape returned by :func:`analyze_footage`. Used
+ as ``response_schema`` so we never parse free-text output.
+ """
+
+ start_time: float = Field(..., description="Scene start time in seconds.")
+ end_time: float = Field(..., description="Scene end time in seconds.")
+ description: str = Field(..., description="One-sentence scene description.")
+ energy_level: int = Field(..., ge=1, le=5, description="Energy 1 (calm) – 5 (frenetic).")
+ visual_quality: int = Field(..., ge=1, le=5, description="Visual quality 1 (poor) – 5 (excellent).")
+ relevance_to_brief: int = Field(..., ge=1, le=5, description="Relevance to the brief 1 – 5.")
+ key_quote: str = Field("", description="Most notable spoken line; empty if none.")
+
+
+# --------------------------------------------------------------------------- #
+# Helpers
+# --------------------------------------------------------------------------- #
+
+
+def _mime_type_for(video_path: str) -> str:
+ """Return the canonical mime type for a video file based on its extension."""
+ suffix = Path(video_path).suffix.lower()
+ return _MIME_TYPE_BY_EXT.get(suffix, _DEFAULT_MIME_TYPE)
+
+
+def _require_api_key() -> str:
+ """Read ``GOOGLE_API_KEY`` from the environment or raise a clear error."""
+ api_key = os.environ.get("GOOGLE_API_KEY")
+ if not api_key:
+ raise RuntimeError(
+ "GOOGLE_API_KEY environment variable is not set. "
+ "Export it before calling any analyze.py tool "
+ "(analyze_footage / review_output): "
+ "`export GOOGLE_API_KEY=...`."
+ )
+ return api_key
+
+
+def _wait_for_file_active(client: object, file_obj: object) -> object:
+ """Poll an uploaded Gemini file until it reaches ACTIVE state.
+
+ Args:
+ client: The ``google.genai`` client used to perform the upload.
+ file_obj: The :class:`~google.genai.types.File` returned by ``files.upload``.
+
+ Returns:
+ The refreshed file object once its state is ``ACTIVE``.
+
+ Raises:
+ RuntimeError: If the file does not become ACTIVE within
+ ``_FILE_ACTIVE_TIMEOUT_SECONDS`` or transitions to a FAILED state.
+ """
+ deadline = time.monotonic() + _FILE_ACTIVE_TIMEOUT_SECONDS
+ current = file_obj
+ while True:
+ state = getattr(getattr(current, "state", None), "name", None) or str(
+ getattr(current, "state", "")
+ )
+ if state == "ACTIVE":
+ return current
+ if state == "FAILED":
+ raise RuntimeError(
+ f"Gemini file upload failed for {getattr(current, 'name', '<unknown>')}"
+ )
+ if time.monotonic() >= deadline:
+ raise RuntimeError(
+ "Timed out waiting for uploaded video to become ACTIVE "
+ f"(last state={state!r})"
+ )
+ time.sleep(_FILE_ACTIVE_POLL_INTERVAL)
+ current = client.files.get(name=current.name) # type: ignore[attr-defined]
+
+
+def _tokenize(text: str) -> list[str]:
+ """Lowercase, split on non-alphanumerics, and drop trivial stopwords.
+
+ Used for the local search ranker. Deterministic, dependency-free, and
+ intentionally simple — good enough to catch obvious lexical overlap
+ against shot descriptions and transcripts.
+ """
+ out: list[str] = []
+ buf: list[str] = []
+ for ch in text.lower():
+ if ch.isalnum():
+ buf.append(ch)
+ else:
+ if buf:
+ token = "".join(buf)
+ if token not in _STOPWORDS:
+ out.append(token)
+ buf.clear()
+ if buf:
+ token = "".join(buf)
+ if token not in _STOPWORDS:
+ out.append(token)
+ return out
+
+
+def _score_shot(query_tokens: list[str], shot: Shot) -> float:
+ """Compute a 0–1 lexical relevance score for a shot against the query.
+
+ The score is the fraction of distinct query tokens that appear at least
+ once in the shot's description or transcript. This is bounded in [0, 1]
+ and stable, making the ``min_relevance`` filter trivially interpretable.
+ """
+ if not query_tokens:
+ return 0.0
+ distinct_query = set(query_tokens)
+ # Build the haystack from description, transcript, roll_type, and the
+ # source filename (stem). B-Roll clips often have no transcript but
+ # their filename encodes content (e.g. "ProductPackaging", "TextureHighlight").
+ filename_stem = Path(shot.source_file).stem if shot.source_file else ""
+ # Split CamelCase/dash-separated filename into tokens
+ filename_tokens = re.sub(r"([A-Z])", r" \1", filename_stem)
+ filename_tokens = filename_tokens.replace("-", " ").replace("_", " ")
+ haystack = (
+ set(_tokenize(shot.description))
+ | set(_tokenize(shot.transcript))
+ | set(_tokenize(getattr(shot, "roll_type", "")))
+ | set(_tokenize(filename_tokens))
+ )
+ if not haystack:
+ return 0.0
+ hits = sum(1 for t in distinct_query if t in haystack)
+ return hits / len(distinct_query)
+
+
+def _validate_review_score(score: ReviewScore) -> ReviewScore:
+ """Enforce the ReviewScore contract on any parsed Gemini output.
+
+ The :class:`ReviewScore` schema only types its score fields as
+ ``float`` and ``feedback`` as ``str``, so Pydantic on its own will
+ happily accept values outside ``[0.0, 1.0]`` or an empty feedback
+ string. ``review_output`` calls this helper on every return path
+ (both the structured ``parsed`` branch and the raw-text fallback)
+ so direct tool callers get the same guarantees the Reviewer agent's
+ final-response check enforces.
+
+ Args:
+ score: A :class:`ReviewScore` freshly parsed from Gemini.
+
+ Returns:
+ The same ``score`` instance, unchanged, so callers can inline it
+ in a ``return`` expression.
+
+ Raises:
+ RuntimeError: If any of the five score fields falls outside
+ ``[0.0, 1.0]`` or if ``feedback`` is empty / whitespace-only.
+ """
+ for field_name in (
+ "adherence",
+ "pacing",
+ "visual_quality",
+ "watchability",
+ "overall",
+ ):
+ value = getattr(score, field_name)
+ if not (0.0 <= value <= 1.0):
+ raise RuntimeError(
+ f"review_output: {field_name}={value} out of [0.0, 1.0] range"
+ )
+ if not score.feedback.strip():
+ raise RuntimeError(
+ "review_output: feedback is empty — model must supply actionable text"
+ )
+ return score
+
+
+# --------------------------------------------------------------------------- #
+# Public tool functions
+# --------------------------------------------------------------------------- #
+
+
+def analyze_footage(video_path: str, brief: str) -> list[dict]:
+ """Analyze a video clip scene-by-scene with Gemini 3.1 Pro.
+
+ Sends ``video_path`` to Gemini via the unified ``google.genai`` SDK with
+ a structured-output schema so the response is parsed directly into a
+ list of scene dicts. Uses inline bytes for files up to 20 MB and the
+ Gemini File API (with ACTIVE-state polling) for anything larger.
+
+ Args:
+ video_path: Absolute or relative path to a video file (.mp4/.mov/
+ .m4v/.mkv). The mime type is inferred from the extension.
+ brief: Free-text creative brief used to prime the model for the
+ ``relevance_to_brief`` rating and the overall scene framing.
+
+ Returns:
+ A list of plain dicts, one per detected scene. Each dict has the
+ keys ``start_time`` (float seconds), ``end_time`` (float seconds),
+ ``description`` (str), ``energy_level`` (int 1–5),
+ ``visual_quality`` (int 1–5), ``relevance_to_brief`` (int 1–5),
+ and ``key_quote`` (str, possibly empty).
+
+ Raises:
+ RuntimeError: If ``GOOGLE_API_KEY`` is not set, the upload fails,
+ or the response cannot be coerced into the schema.
+ FileNotFoundError: If ``video_path`` does not exist on disk.
+ """
+ from google import genai
+ from google.genai import types
+
+ path = Path(video_path)
+ if not path.exists():
+ raise FileNotFoundError(f"video not found: {video_path}")
+
+ api_key = _require_api_key()
+ client = genai.Client(api_key=api_key)
+
+ mime_type = _mime_type_for(video_path)
+ size = path.stat().st_size
+
+ if size > _INLINE_MAX_BYTES:
+ uploaded = client.files.upload(
+ file=str(path),
+ config=types.UploadFileConfig(mime_type=mime_type),
+ )
+ uploaded = _wait_for_file_active(client, uploaded)
+ video_part = types.Part.from_uri(
+ file_uri=uploaded.uri,
+ mime_type=mime_type,
+ )
+ else:
+ video_part = types.Part.from_bytes(
+ data=path.read_bytes(),
+ mime_type=mime_type,
+ )
+
+ prompt = (
+ "You are a senior video editor analyzing raw footage for an ad campaign.\n"
+ "Creative brief:\n"
+ f"{brief}\n\n"
+ "Watch the entire clip and break it into distinct scenes. For each scene, "
+ "report start_time and end_time in seconds (relative to the start of the "
+ "clip), a one-sentence description, an energy_level (1=calm, 5=frenetic), "
+ "a visual_quality rating (1=poor, 5=excellent), a relevance_to_brief "
+ "rating (1=off-brief, 5=ideal), and the most notable spoken line as "
+ "key_quote (empty string if there is no speech). Return a JSON array."
+ )
+
+ response = client.models.generate_content(
+ model=_GEMINI_MODEL,
+ contents=[video_part, prompt],
+ config=types.GenerateContentConfig(
+ response_mime_type="application/json",
+ response_schema=list[_SceneAnalysis],
+ ),
+ )
+
+ parsed = getattr(response, "parsed", None)
+ if parsed is None:
+ # Fall back to validating the raw text payload through Pydantic so we
+ # still raise on schema violations rather than returning garbage.
+ import json
+
+ raw_text = getattr(response, "text", None)
+ if not raw_text:
+ raise RuntimeError(
+ "Gemini response had no parsed payload and no text body"
+ )
+ parsed = [_SceneAnalysis.model_validate(item) for item in json.loads(raw_text)]
+
+ return [scene.model_dump() for scene in parsed]
+
+
+def search_moments(
+ footage_index_path: str,
+ query: str,
+ min_relevance: float,
+ max_results: int,
+) -> list[Shot]:
+ """Rank shots in a FootageIndex by lexical relevance to a free-text query.
+
+ Loads a serialized :class:`FootageIndex` from disk, scores every shot's
+ description and transcript against ``query`` using a deterministic
+ token-overlap ranker (lowercased, alphanumeric tokenization, trivial
+ stopwords removed), filters by ``min_relevance``, and returns at most
+ ``max_results`` shots sorted by descending score.
+
+ The ranker is intentionally local and dependency-free: no LLM calls,
+ no network. Score is the fraction of distinct query tokens that appear
+ in the shot's description ∪ transcript, so it always lies in ``[0, 1]``
+ and ``min_relevance`` is interpretable as "fraction of query terms that
+ must match".
+
+ Args:
+ footage_index_path: Path to a JSON file produced by
+ :mod:`src.pipeline.preprocess` (i.e. ``FootageIndex.model_dump_json``).
+ query: Free-text query describing the desired moment.
+ min_relevance: Minimum lexical score in ``[0.0, 1.0]``. Shots scoring
+ below this are dropped before truncation.
+ max_results: Maximum number of shots to return. Must be >= 0; a value
+ of 0 yields an empty list.
+
+ Returns:
+ A list of :class:`Shot` objects (the originals from the loaded
+ FootageIndex, not copies or dicts) sorted by descending relevance.
+ Length is ``min(max_results, num_matching_shots)``.
+
+ Raises:
+ FileNotFoundError: If ``footage_index_path`` does not exist.
+ pydantic.ValidationError: If the file is not a valid FootageIndex.
+ """
+ if max_results <= 0:
+ return []
+
+ index_path = Path(footage_index_path)
+ if not index_path.exists():
+ raise FileNotFoundError(
+ f"footage_index_path does not exist: {footage_index_path}"
+ )
+
+ index = FootageIndex.model_validate_json(index_path.read_text(encoding="utf-8"))
+
+ query_tokens = _tokenize(query)
+ if not query_tokens:
+ return []
+
+ scored: list[tuple[float, int, Shot]] = []
+ for idx, shot in enumerate(index.shots):
+ score = _score_shot(query_tokens, shot)
+ if score >= min_relevance:
+ # Include the original index as a stable tiebreaker so equal
+ # scores preserve input order deterministically.
+ scored.append((score, idx, shot))
+
+ scored.sort(key=lambda item: (-item[0], item[1]))
+ return [shot for _score, _idx, shot in scored[:max_results]]
+
+
+def review_output(video_path: str, brief: str) -> ReviewScore:
+ """Score a rendered ad against a creative brief via Gemini 3.1 Pro.
+
+ Uploads ``video_path`` to Gemini and asks the model to act as a senior
+ creative director, watching the full rendered cut and grading it on four
+ qualitative dimensions plus an ``overall`` holistic judgment. The output
+ is constrained to the :class:`~src.models.schemas.ReviewScore` Pydantic
+ schema so callers can trust the shape without defensive parsing.
+
+ Scoring contract (every score is a float in ``[0.0, 1.0]``):
+
+ * ``adherence``: how well the cut honors ``brief.product`` / ``audience``
+ / ``tone``. Is the right product on screen, is the tone consistent?
+ * ``pacing``: energy arc, hook strength, and cut rhythm. A great cut
+ opens strong and varies energy; a bad cut drags or feels choppy.
+ * ``visual_quality``: composition, framing, color, clarity. Does the
+ footage look like a finished ad, not rushed filler?
+ * ``watchability``: would a real viewer keep watching to the end? This
+ is the single most important retention signal.
+ * ``overall``: holistic judgment — may deviate from the mean when a
+ single dimension dominates (e.g., a broken hook tanks the whole cut).
+
+ The ``feedback`` field is free text, but if ``overall < 0.7`` it MUST
+ contain specific, actionable suggestions referencing what is wrong and
+ what to try instead (e.g., "hook at 0:00–0:03 is weak — replace with
+ the product close-up", "clip 3 drags, shorten by ~1.5s"). The prompt
+ enforces this so downstream agents can act on the feedback directly.
+
+ Files up to :data:`_INLINE_MAX_BYTES` are sent as inline bytes; larger
+ files go through the Gemini File API with ACTIVE-state polling, exactly
+ like :func:`analyze_footage`.
+
+ Args:
+ video_path: Absolute or relative path to the rendered ad video
+ (.mp4 / .mov / .m4v / .mkv). The mime type is inferred from
+ the extension.
+ brief: The creative brief as a string — typically
+ ``CreativeBrief.model_dump_json()`` so the model sees every
+ field, but any descriptive text is accepted.
+
+ Returns:
+ A validated :class:`~src.models.schemas.ReviewScore` instance with
+ five float dimensions in ``[0.0, 1.0]`` and a non-empty
+ ``feedback`` string.
+
+ Raises:
+ FileNotFoundError: If ``video_path`` does not exist on disk.
+ RuntimeError: If ``GOOGLE_API_KEY`` is not set, the upload fails,
+ or Gemini returns no parsed payload and no text body.
+ pydantic.ValidationError: If the model emits JSON that does not
+ satisfy the :class:`ReviewScore` schema.
+ """
+ from google import genai
+ from google.genai import types
+
+ # Prompt-injection guard: if ``run_reviewer`` (or another trusted caller)
+ # has bound a canonical video path for this call, reject any mismatch
+ # BEFORE reading bytes or hitting the File API. This prevents a crafted
+ # brief from coercing the agent into uploading arbitrary local files.
+ # When no binding is present (``None``), direct tool invocation is still
+ # allowed — the existence check below applies either way.
+ _allowed = _ALLOWED_REVIEW_VIDEO_PATH.get()
+ if _allowed is not None:
+ supplied_abs = str(Path(video_path).resolve())
+ if supplied_abs != _allowed:
+ raise RuntimeError(
+ f"review_output: video_path mismatch — expected {_allowed!r}, "
+ f"got {supplied_abs!r}. The Reviewer agent may only operate "
+ "on the pre-approved rendered cut."
+ )
+
+ path = Path(video_path)
+ if not path.exists():
+ raise FileNotFoundError(f"video not found: {video_path}")
+
+ api_key = _require_api_key()
+ client = genai.Client(api_key=api_key)
+
+ mime_type = _mime_type_for(video_path)
+ size = path.stat().st_size
+
+ if size > _INLINE_MAX_BYTES:
+ uploaded = client.files.upload(
+ file=str(path),
+ config=types.UploadFileConfig(mime_type=mime_type),
+ )
+ uploaded = _wait_for_file_active(client, uploaded)
+ video_part = types.Part.from_uri(
+ file_uri=uploaded.uri,
+ mime_type=mime_type,
+ )
+ else:
+ video_part = types.Part.from_bytes(
+ data=path.read_bytes(),
+ mime_type=mime_type,
+ )
+
+ prompt = (
+ "You are a senior creative director reviewing a finished ad against "
+ "its brief. Watch the entire rendered video and grade it honestly.\n\n"
+ "Creative brief:\n"
+ f"{brief}\n\n"
+ "Score each dimension as a float in [0.0, 1.0] (0.0 = terrible, "
+ "1.0 = flawless). Do NOT clamp scores to round numbers — use the "
+ "full range.\n"
+ "- adherence: how well the cut honors the brief's product, "
+ "audience, and tone.\n"
+ "- pacing: energy arc, hook strength, and cut rhythm.\n"
+ "- visual_quality: composition, framing, color, and clarity.\n"
+ "- watchability: would a real viewer keep watching to the end.\n"
+ "- overall: holistic judgment, NOT a plain average — let a broken "
+ "dimension drag the whole score when it deserves to.\n\n"
+ "Write the 'feedback' field as concrete, actionable text that "
+ "identifies what works and what should change. If overall < 0.7, "
+ "feedback MUST include specific actionable suggestions that "
+ "reference beats, timestamps, or clip numbers (for example: "
+ "'hook at 0:00–0:03 is weak — replace clip 1 with the product "
+ "close-up', 'clip 3 drags, shorten by ~1.5s or swap for a higher "
+ "energy moment', 'tone is too formal for the stated audience — "
+ "re-cut with the casual reaction shots'). Never return vague "
+ "feedback like 'could be better'.\n\n"
+ "Return ONLY the JSON object matching the ReviewScore schema — no "
+ "preamble, no commentary, no markdown fences."
+ )
+
+ response = client.models.generate_content(
+ model=_GEMINI_MODEL,
+ contents=[video_part, prompt],
+ config=types.GenerateContentConfig(
+ response_mime_type="application/json",
+ response_schema=ReviewScore,
+ ),
+ )
+
+ parsed = getattr(response, "parsed", None)
+ if isinstance(parsed, ReviewScore):
+ return _validate_review_score(parsed)
+
+ raw_text = getattr(response, "text", None)
+ if not raw_text:
+ raise RuntimeError(
+ "Gemini response had no parsed payload and no text body"
+ )
+ return _validate_review_score(ReviewScore.model_validate_json(raw_text))
diff --git a/src/tools/captions.py b/src/tools/captions.py
new file mode 100644
index 0000000..116148b
--- /dev/null
+++ b/src/tools/captions.py
@@ -0,0 +1,249 @@
+"""ASS caption generation from per-word timestamps."""
+
+from __future__ import annotations
+
+from pathlib import Path
+
+from pysubs2 import Alignment, Color, SSAEvent, SSAFile, SSAStyle
+
+from src.models.schemas import FootageIndex, Shot, WordTimestamp
+
+_SHOT_MATCH_EPSILON = 1e-6
+_MAX_WORDS_PER_PHRASE = 4
+_MIN_WORDS_PER_PHRASE = 2
+_MAX_CHARS_PER_PHRASE = 28
+_MAX_PHRASE_DURATION_SECONDS = 1.8
+_MAX_INTER_WORD_GAP_SECONDS = 0.45
+_TERMINAL_PUNCTUATION = (".", "!", "?", ";")
+_HIGHLIGHT_TAG = r"{\1c&H4ACFFF&}"
+_RESET_TAG = r"{\r}"
+
+
+def _require_file(path: str, kind: str) -> None:
+ if not Path(path).exists():
+ raise FileNotFoundError(f"{kind} not found: {path}")
+
+
+def _format_tokens(tokens: list[str]) -> str:
+ """Join caption tokens into readable text."""
+ if not tokens:
+ return ""
+
+ no_leading_space = {".", ",", "!", "?", ";", ":", "%", ")", "]", "}"}
+ no_trailing_space = {"(", "[", "{", "$", "#"}
+
+ parts: list[str] = []
+ for token in tokens:
+ if not token:
+ continue
+ if parts and token not in no_leading_space:
+ prev = parts[-1]
+ if prev not in no_trailing_space:
+ parts.append(" ")
+ parts.append(token)
+ return "".join(parts).strip()
+
+
+def _resolve_shot(footage_index: FootageIndex, shot_id: str) -> Shot:
+ sep = shot_id.rfind("#")
+ if sep == -1:
+ raise ValueError(
+ f"shot_id {shot_id!r} is missing a '#' separator; expected "
+ "format '<source_file>#<start_time>'"
+ )
+ source_file = shot_id[:sep]
+ start_time = float(shot_id[sep + 1 :])
+
+ for shot in footage_index.shots:
+ if (
+ shot.source_file == source_file
+ and abs(shot.start_time - start_time) < _SHOT_MATCH_EPSILON
+ ):
+ return shot
+ raise ValueError(f"shot_id {shot_id!r} not found in FootageIndex")
+
+
+def _words_for_window(
+ shot: Shot,
+ clip_start: float,
+ clip_end: float,
+) -> list[WordTimestamp]:
+ """Select shot words whose midpoint lies within the trimmed clip."""
+ selected: list[WordTimestamp] = []
+ for word in shot.words:
+ midpoint = (word.start + word.end) / 2.0
+ if not (clip_start <= midpoint < clip_end):
+ continue
+ start = max(clip_start, word.start) - clip_start
+ end = min(clip_end, word.end) - clip_start
+ if end <= start:
+ continue
+ selected.append(
+ WordTimestamp(word=word.word, start=float(start), end=float(end))
+ )
+ return selected
+
+
+def has_words_in_window(shot: Shot, clip_start: float, clip_end: float) -> bool:
+ """Return True when a trimmed clip contains spoken words to caption."""
+ return bool(_words_for_window(shot, clip_start, clip_end))
+
+
+def _should_break_phrase(
+ current: list[WordTimestamp],
+ next_word: WordTimestamp | None,
+) -> bool:
+ if next_word is None:
+ return True
+ if len(current) < _MIN_WORDS_PER_PHRASE:
+ return False
+
+ current_text = _format_tokens([word.word for word in current])
+ current_duration = current[-1].end - current[0].start
+ gap = next_word.start - current[-1].end
+ last_token = current[-1].word
+
+ return (
+ len(current) >= _MAX_WORDS_PER_PHRASE
+ or len(current_text) >= _MAX_CHARS_PER_PHRASE
+ or current_duration >= _MAX_PHRASE_DURATION_SECONDS
+ or gap >= _MAX_INTER_WORD_GAP_SECONDS
+ or last_token.endswith(_TERMINAL_PUNCTUATION)
+ )
+
+
+def _group_words_into_phrases(words: list[WordTimestamp]) -> list[list[WordTimestamp]]:
+ """Group relative word timestamps into short readable caption phrases."""
+ if not words:
+ return []
+
+ phrases: list[list[WordTimestamp]] = []
+ current: list[WordTimestamp] = []
+
+ for index, word in enumerate(words):
+ current.append(word)
+ next_word = words[index + 1] if index + 1 < len(words) else None
+ if _should_break_phrase(current, next_word):
+ phrases.append(current)
+ current = []
+
+ if current:
+ phrases.append(current)
+
+ if len(phrases) >= 2 and len(phrases[-1]) == 1:
+ phrases[-2].extend(phrases.pop())
+
+ return phrases
+
+
+def _highlighted_phrase_text(
+ phrase: list[WordTimestamp],
+ highlight_index: int,
+) -> str:
+ tokens: list[str] = []
+ for index, word in enumerate(phrase):
+ token = word.word
+ if index == highlight_index:
+ token = f"{_HIGHLIGHT_TAG}{token}{_RESET_TAG}"
+ tokens.append(token)
+ return _format_tokens(tokens)
+
+
+def _build_subtitle_file() -> SSAFile:
+ subs = SSAFile()
+ subs.info["PlayResX"] = "1080"
+ subs.info["PlayResY"] = "1920"
+ subs.styles["Default"] = SSAStyle(
+ fontname="Helvetica",
+ fontsize=44,
+ primarycolor=Color(255, 255, 255, 0),
+ secondarycolor=Color(74, 207, 255, 0),
+ outlinecolor=Color(0, 0, 0, 0),
+ backcolor=Color(0, 0, 0, 0),
+ bold=True,
+ outline=3,
+ shadow=0,
+ alignment=Alignment.BOTTOM_CENTER,
+ marginl=80,
+ marginr=80,
+ marginv=220,
+ )
+ return subs
+
+
+def _to_ms(seconds: float) -> int:
+ return max(0, int(round(seconds * 1000)))
+
+
+def generate_ass_captions(
+ footage_index_path: str,
+ shot_id: str,
+ clip_start: float,
+ clip_end: float,
+ output: str,
+) -> str:
+ """Write an ASS subtitle file for a trimmed clip using shot word timings."""
+ _require_file(footage_index_path, "Footage index")
+ if clip_end <= clip_start:
+ raise ValueError(
+ f"clip_end ({clip_end}) must be greater than clip_start ({clip_start})"
+ )
+
+ index = FootageIndex.model_validate_json(
+ Path(footage_index_path).read_text(encoding="utf-8")
+ )
+ shot = _resolve_shot(index, shot_id)
+ words = _words_for_window(shot, clip_start, clip_end)
+ if not words:
+ raise ValueError(
+ f"shot_id {shot_id!r} has no captionable words in "
+ f"[{clip_start}, {clip_end})"
+ )
+
+ subs = _build_subtitle_file()
+ for phrase in _group_words_into_phrases(words):
+ phrase_end = phrase[-1].end
+ for index, word in enumerate(phrase):
+ next_start = phrase[index + 1].start if index + 1 < len(phrase) else phrase_end
+ end_time = max(word.end, next_start)
+ subs.events.append(
+ SSAEvent(
+ start=_to_ms(word.start),
+ end=_to_ms(end_time),
+ text=_highlighted_phrase_text(phrase, index),
+ )
+ )
+
+ output_path = Path(output)
+ output_path.parent.mkdir(parents=True, exist_ok=True)
+ subs.save(str(output_path))
+ return str(output_path)
+
+
+def burn_ass_subtitles(video: str, subtitles: str, output: str) -> str:
+ """Burn an ASS subtitle file into a video via FFmpeg's ass filter."""
+ import subprocess
+
+ _require_file(video, "Video")
+ _require_file(subtitles, "Subtitle file")
+
+ output_path = Path(output)
+ output_path.parent.mkdir(parents=True, exist_ok=True)
+
+ subtitle_path = str(Path(subtitles).resolve()).replace("\\", r"\\").replace(":", r"\:")
+ cmd = [
+ "ffmpeg",
+ "-y",
+ "-i",
+ video,
+ "-vf",
+ f"ass={subtitle_path}",
+ "-c:a",
+ "copy",
+ str(output_path),
+ ]
+ try:
+ subprocess.run(cmd, check=True, capture_output=True, text=True)
+ except subprocess.CalledProcessError as exc:
+ raise RuntimeError(f"FFmpeg failed: {exc.stderr}") from exc
+ return str(output_path)
diff --git a/src/tools/edit.py b/src/tools/edit.py
new file mode 100644
index 0000000..c2e244c
--- /dev/null
+++ b/src/tools/edit.py
@@ -0,0 +1,430 @@
+"""FFmpeg editing tools for the Editor agent.
+
+Each function shells out to ``ffmpeg`` via ``subprocess.run`` with a list
+of arguments (never ``shell=True``) so that user-supplied paths and text
+cannot inject commands. Functions raise ``RuntimeError`` with the captured
+``ffmpeg`` stderr on failure to make debugging straightforward.
+"""
+
+from __future__ import annotations
+
+import os
+import subprocess
+import tempfile
+from pathlib import Path
+from typing import Literal # noqa: F401 — used in deferred annotations
+
+DEFAULT_FONT = "/System/Library/Fonts/Helvetica.ttc"
+
+# Map friendly position names to FFmpeg drawtext x/y expressions.
+# y values are computed in terms of frame height (h) and text height (text_h).
+_POSITION_PRESETS: dict[str, tuple[str, str]] = {
+ "bottom-third": ("(w-text_w)/2", "h-(h/3)-(text_h/2)"),
+ "center": ("(w-text_w)/2", "(h-text_h)/2"),
+ "top": ("(w-text_w)/2", "h/12"),
+}
+
+
+def _ensure_parent(output: str) -> None:
+ """Create the parent directory for ``output`` if missing."""
+ Path(output).parent.mkdir(parents=True, exist_ok=True)
+
+
+def _require_file(path: str, kind: str) -> None:
+ """Raise ``FileNotFoundError`` if ``path`` does not exist on disk."""
+ if not Path(path).exists():
+ raise FileNotFoundError(f"{kind} not found: {path}")
+
+
+def _run_ffmpeg(cmd: list[str]) -> None:
+ """Invoke ffmpeg with ``check=True``; re-raise stderr as ``RuntimeError``.
+
+ Args:
+ cmd: Full argv list beginning with ``ffmpeg``.
+
+ Raises:
+ RuntimeError: If ffmpeg exits with a non-zero status.
+ """
+ try:
+ subprocess.run(cmd, check=True, capture_output=True, text=True)
+ except subprocess.CalledProcessError as e:
+ raise RuntimeError(f"FFmpeg failed: {e.stderr}") from e
+
+
+def _escape_drawtext(text: str) -> str:
+ """Escape characters that are special inside an FFmpeg drawtext value.
+
+ drawtext uses ``:`` to separate options and ``'`` to quote the value, and
+ treats backslashes as escapes. Escape order matters — backslash first.
+ """
+ return (
+ text.replace("\\", "\\\\")
+ .replace(":", "\\:")
+ .replace("'", "\\'")
+ .replace("%", "\\%")
+ )
+
+
+def cut_clip(source: str, start: float, end: float, output: str) -> str:
+ """Extract a sub-clip from ``source`` between ``start`` and ``end`` seconds.
+
+ Uses FFmpeg stream copy (``-c copy``) for millisecond-fast extraction
+ without re-encoding. The cut may snap to the nearest keyframe because
+ stream copy cannot split frames mid-GOP.
+
+ Args:
+ source: Path to the source video file.
+ start: Start time in seconds.
+ end: End time in seconds (must be greater than ``start``).
+ output: Destination path for the extracted clip.
+
+ Returns:
+ The ``output`` path on success.
+
+ Raises:
+ FileNotFoundError: If ``source`` does not exist.
+ ValueError: If ``end`` is not greater than ``start``.
+ RuntimeError: If ffmpeg fails.
+ """
+ _require_file(source, "Source video")
+ if end <= start:
+ raise ValueError(f"end ({end}) must be greater than start ({start})")
+ _ensure_parent(output)
+
+ duration = end - start
+ cmd = [
+ "ffmpeg",
+ "-y",
+ "-ss",
+ f"{start}",
+ "-i",
+ source,
+ "-t",
+ f"{duration}",
+ "-c",
+ "copy",
+ output,
+ ]
+ _run_ffmpeg(cmd)
+ return output
+
+
+def sequence_clips(clips: list[str], output: str) -> str:
+ """Concatenate ``clips`` in order using the FFmpeg concat demuxer.
+
+ Writes a temporary ``concat.txt`` listing each input as ``file '<path>'``,
+ runs ``ffmpeg -f concat -safe 0 -i concat.txt -c copy``, and removes the
+ temp file in a ``finally`` block. All clips must share codec, resolution,
+ and timebase for stream copy to succeed.
+
+ Args:
+ clips: Ordered list of clip paths to concatenate.
+ output: Destination path for the joined video.
+
+ Returns:
+ The ``output`` path on success.
+
+ Raises:
+ ValueError: If ``clips`` is empty.
+ FileNotFoundError: If any clip is missing.
+ RuntimeError: If ffmpeg fails.
+ """
+ if not clips:
+ raise ValueError("clips list must not be empty")
+ for clip in clips:
+ _require_file(clip, "Clip")
+ _ensure_parent(output)
+
+ tmp = tempfile.NamedTemporaryFile(
+ mode="w",
+ suffix=".txt",
+ prefix="concat_",
+ delete=False,
+ encoding="utf-8",
+ )
+ concat_path = tmp.name
+ try:
+ for clip in clips:
+ resolved = str(Path(clip).resolve())
+ # Reject control characters that could break ffconcat line syntax
+ # (newlines could inject extra concat directives even with -safe 0).
+ if any(ch in resolved for ch in ("\n", "\r", "\x00")):
+ raise ValueError(
+ f"clip path contains illegal control character: {clip!r}"
+ )
+ # Escape single quotes in paths per concat demuxer rules.
+ escaped = resolved.replace("'", r"'\''")
+ tmp.write(f"file '{escaped}'\n")
+ tmp.close()
+
+ cmd = [
+ "ffmpeg",
+ "-y",
+ "-f",
+ "concat",
+ "-safe",
+ "0",
+ "-i",
+ concat_path,
+ "-c",
+ "copy",
+ output,
+ ]
+ _run_ffmpeg(cmd)
+ finally:
+ try:
+ os.unlink(concat_path)
+ except OSError:
+ pass
+ return output
+
+
+def add_text_overlay(
+ video: str,
+ text: str,
+ position: Literal["bottom-third", "center", "top"],
+ start: float,
+ duration: float,
+ output: str,
+) -> str:
+ """Burn a text overlay onto ``video`` for a timed window.
+
+ Uses the FFmpeg ``drawtext`` filter with one of three positional presets
+ (``bottom-third``, ``center``, ``top``). Visibility is controlled by
+ ``enable='between(t,start,start+duration)'``. Special characters in the
+ text are escaped because ``drawtext`` is finicky about ``:``, ``'``,
+ ``\\``, and ``%``.
+
+ Args:
+ video: Input video path.
+ text: Overlay text to draw.
+ position: One of ``bottom-third``, ``center``, ``top``.
+ start: Time in seconds when the overlay appears.
+ duration: How long (in seconds) the overlay stays on screen.
+ output: Destination path for the rendered video.
+
+ Returns:
+ The ``output`` path on success.
+
+ Raises:
+ FileNotFoundError: If ``video`` is missing.
+ ValueError: If ``position`` is not a known preset or ``duration`` is
+ not positive.
+ RuntimeError: If ffmpeg fails.
+ """
+ _require_file(video, "Video")
+ if position not in _POSITION_PRESETS:
+ raise ValueError(
+ f"unknown position '{position}'; expected one of "
+ f"{sorted(_POSITION_PRESETS)}"
+ )
+ if duration <= 0:
+ raise ValueError(f"duration must be positive, got {duration}")
+ _ensure_parent(output)
+
+ x_expr, y_expr = _POSITION_PRESETS[position]
+ end = start + duration
+
+ # Write text to a temp file to avoid FFmpeg drawtext quoting issues
+ # with apostrophes, colons, and other special characters in subtitles.
+ tmp = tempfile.NamedTemporaryFile(
+ mode="w",
+ suffix=".txt",
+ prefix="drawtext_",
+ delete=False,
+ encoding="utf-8",
+ )
+ text_file_path = tmp.name
+ try:
+ tmp.write(text)
+ tmp.close()
+
+ drawtext = (
+ f"drawtext=fontfile='{DEFAULT_FONT}'"
+ f":textfile='{text_file_path}'"
+ f":fontcolor=white"
+ f":fontsize=40"
+ f":borderw=2"
+ f":x={x_expr}"
+ f":y={y_expr}"
+ f":enable='between(t,{start},{end})'"
+ )
+
+ cmd = [
+ "ffmpeg",
+ "-y",
+ "-i",
+ video,
+ "-vf",
+ drawtext,
+ "-c:a",
+ "copy",
+ output,
+ ]
+ _run_ffmpeg(cmd)
+ finally:
+ try:
+ os.unlink(text_file_path)
+ except OSError:
+ pass
+ return output
+
+
+def composite_broll(
+ base_video: str,
+ overlays: list[dict],
+ output: str,
+) -> str:
+ """Overlay B-Roll video segments onto a base A-Roll video.
+
+ Takes a base video (sequenced A-Roll with continuous narration audio)
+ and composites B-Roll clips on top at specified timestamps, keeping
+ the base audio playing through. Each overlay dict has:
+ - ``path``: path to the normalized B-Roll clip
+ - ``start``: timeline position (seconds) where the overlay begins
+ - ``duration``: how long the overlay shows (seconds)
+
+ Uses FFmpeg's overlay filter with ``enable='between(t,start,end)'``
+ and ``-map 0:a`` to preserve the base audio untouched.
+
+ Args:
+ base_video: Path to the base A-Roll sequenced video.
+ overlays: List of dicts, each with ``path``, ``start``, ``duration``.
+ output: Destination path for the composited video.
+
+ Returns:
+ The ``output`` path on success.
+
+ Raises:
+ FileNotFoundError: If ``base_video`` or any overlay path is missing.
+ ValueError: If ``overlays`` is empty.
+ RuntimeError: If ffmpeg fails.
+ """
+ _require_file(base_video, "Base video")
+ if not overlays:
+ raise ValueError("overlays list must not be empty")
+ for ov in overlays:
+ _require_file(ov["path"], "Overlay clip")
+ _ensure_parent(output)
+
+ # Build FFmpeg command:
+ # -i base_video -i broll1.mp4 -i broll2.mp4 ...
+ # filter_complex: scale each overlay to match base, then chain overlays
+ inputs = ["-i", base_video]
+ for ov in overlays:
+ inputs.extend(["-i", ov["path"]])
+
+ filter_parts: list[str] = []
+ prev_label = "0:v"
+
+ for idx, ov in enumerate(overlays):
+ input_idx = idx + 1 # 0 is base video
+ start = ov["start"]
+ end = start + ov["duration"]
+ scaled_label = f"s{idx}"
+ out_label = f"v{idx}"
+
+ # Scale overlay to match base resolution and shift PTS so the
+ # B-Roll frames arrive at the correct timeline position. Without
+ # the +{start}/TB term the clip starts at PTS 0, FFmpeg consumes
+ # all its frames before the enable window opens, and the viewer
+ # sees a frozen last-frame instead of a playing clip.
+ filter_parts.append(
+ f"[{input_idx}:v]scale=1080:1920:force_original_aspect_ratio=decrease,"
+ f"pad=1080:1920:(ow-iw)/2:(oh-ih)/2,"
+ f"setpts=PTS-STARTPTS+{start}/TB[{scaled_label}]"
+ )
+ # Overlay on previous stage. eof_action=pass lets the base video
+ # show through once the B-Roll clip runs out of frames.
+ filter_parts.append(
+ f"[{prev_label}][{scaled_label}]overlay=0:0:"
+ f"eof_action=pass:"
+ f"enable='between(t,{start:.3f},{end:.3f})'[{out_label}]"
+ )
+ prev_label = out_label
+
+ filter_complex = ";".join(filter_parts)
+
+ cmd = [
+ "ffmpeg",
+ "-y",
+ *inputs,
+ "-filter_complex",
+ filter_complex,
+ "-map",
+ f"[{prev_label}]",
+ "-map",
+ "0:a",
+ "-c:v",
+ "libx264",
+ "-preset",
+ "medium",
+ "-crf",
+ "18",
+ "-c:a",
+ "copy",
+ output,
+ ]
+ _run_ffmpeg(cmd)
+ return output
+
+
+def add_music(video: str, music: str, volume: float, output: str) -> str:
+ """Mix ``music`` under ``video``'s original audio at ``volume`` scale.
+
+ The music track is scaled by ``volume`` and then ``amix``'d with the
+ video's existing audio. ``duration=first`` keeps the output the same
+ length as the video, dropping or padding the music as needed.
+
+ Args:
+ video: Input video path (must contain an audio stream).
+ music: Music track path.
+ volume: Linear gain applied to the music track only (e.g. ``0.3``
+ for 30% volume).
+ output: Destination path for the mixed video.
+
+ Returns:
+ The ``output`` path on success.
+
+ Raises:
+ FileNotFoundError: If ``video`` or ``music`` is missing.
+ ValueError: If ``volume`` is negative.
+ RuntimeError: If ffmpeg fails.
+ """
+ _require_file(video, "Video")
+ _require_file(music, "Music")
+ if volume < 0:
+ raise ValueError(f"volume must be >= 0, got {volume}")
+ _ensure_parent(output)
+
+ # normalize=0 keeps the original dialogue at full level; without it amix
+ # auto-attenuates both inputs by 1/N and drowns out the video audio.
+ filter_complex = (
+ f"[1:a]volume={volume}[m];"
+ f"[0:a][m]amix=inputs=2:duration=first:normalize=0[a]"
+ )
+
+ cmd = [
+ "ffmpeg",
+ "-y",
+ "-i",
+ video,
+ "-i",
+ music,
+ "-filter_complex",
+ filter_complex,
+ "-map",
+ "0:v",
+ "-map",
+ "[a]",
+ "-c:v",
+ "copy",
+ "-c:a",
+ "aac",
+ "-b:a",
+ "192k",
+ output,
+ ]
+ _run_ffmpeg(cmd)
+ return output
diff --git a/src/tools/render.py b/src/tools/render.py
new file mode 100644
index 0000000..1cf3f0e
--- /dev/null
+++ b/src/tools/render.py
@@ -0,0 +1,116 @@
+"""Final-render tool: H.264 MP4 export with aspect-ratio-safe scaling."""
+
+from __future__ import annotations
+
+import subprocess
+from pathlib import Path
+
+
+def _ensure_parent(output: str) -> None:
+ """Create the parent directory for ``output`` if missing."""
+ Path(output).parent.mkdir(parents=True, exist_ok=True)
+
+
+def _require_file(path: str, kind: str) -> None:
+ """Raise ``FileNotFoundError`` if ``path`` does not exist on disk."""
+ if not Path(path).exists():
+ raise FileNotFoundError(f"{kind} not found: {path}")
+
+
+def _parse_resolution(resolution: str) -> tuple[int, int]:
+ """Parse a ``WxH`` resolution string into a ``(width, height)`` tuple.
+
+ Args:
+ resolution: A string like ``"1080x1920"``.
+
+ Returns:
+ Tuple of integer ``(width, height)``.
+
+ Raises:
+ ValueError: If ``resolution`` is malformed or non-positive.
+ """
+ parts = resolution.lower().split("x")
+ if len(parts) != 2:
+ raise ValueError(
+ f"resolution must be 'WxH' (e.g. '1080x1920'), got '{resolution}'"
+ )
+ try:
+ width, height = int(parts[0]), int(parts[1])
+ except ValueError as e:
+ raise ValueError(
+ f"resolution components must be integers, got '{resolution}'"
+ ) from e
+ if width <= 0 or height <= 0:
+ raise ValueError(
+ f"resolution components must be positive, got '{resolution}'"
+ )
+ return width, height
+
+
+def render_final(
+ video: str,
+ output: str,
+ resolution: str = "1080x1920",
+) -> str:
+ """Re-encode ``video`` to H.264 MP4 at ``resolution`` for delivery.
+
+ Uses ``libx264`` with ``preset medium`` and ``crf 23`` plus AAC audio at
+ 128 kbps. The scale filter preserves the source aspect ratio
+ (``force_original_aspect_ratio=decrease``) and pads the result with
+ black bars (``pad``) so the output exactly matches the requested
+ dimensions without distortion. The default ``1080x1920`` produces a
+ vertical 9:16 video suited for TikTok/Reels.
+
+ Args:
+ video: Input video path.
+ output: Destination path for the rendered MP4.
+ resolution: Target ``WxH`` resolution (default ``"1080x1920"``).
+
+ Returns:
+ The ``output`` path on success.
+
+ Raises:
+ FileNotFoundError: If ``video`` is missing.
+ ValueError: If ``resolution`` is malformed.
+ RuntimeError: If ffmpeg fails.
+ """
+ _require_file(video, "Video")
+ width, height = _parse_resolution(resolution)
+ _ensure_parent(output)
+
+ # setsar=1 normalizes the sample aspect ratio so non-square-pixel sources
+ # (e.g. anamorphic 1080i, some phone cameras) display at the intended
+ # aspect ratio rather than the raw pixel grid.
+ scale_filter = (
+ f"scale={width}:{height}:force_original_aspect_ratio=decrease,"
+ f"pad={width}:{height}:(ow-iw)/2:(oh-ih)/2,"
+ f"setsar=1"
+ )
+
+ cmd = [
+ "ffmpeg",
+ "-y",
+ "-i",
+ video,
+ "-vf",
+ scale_filter,
+ "-c:v",
+ "libx264",
+ "-preset",
+ "medium",
+ "-crf",
+ "23",
+ "-c:a",
+ "aac",
+ "-b:a",
+ "128k",
+ "-movflags",
+ "+faststart",
+ output,
+ ]
+
+ try:
+ subprocess.run(cmd, check=True, capture_output=True, text=True)
+ except subprocess.CalledProcessError as e:
+ raise RuntimeError(f"FFmpeg failed: {e.stderr}") from e
+ return output
diff --git a/src/web/__init__.py b/src/web/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/src/web/app.py b/src/web/app.py
new file mode 100644
index 0000000..c754e5b
--- /dev/null
+++ b/src/web/app.py
@@ -0,0 +1,94 @@
+"""FastAPI application for AVE Studio.
+
+Serves the Alpine.js + Tailwind UI shell, exposes a health endpoint, and
+mounts static + media directories for the browser to consume. Also owns the
+in-memory :class:`~src.web.jobs.JobRegistry` that runs pipeline executions
+as sequential background tasks (US-002).
+"""
+
+from contextlib import asynccontextmanager
+from pathlib import Path
+from typing import AsyncIterator
+
+from fastapi import FastAPI
+from fastapi.middleware.cors import CORSMiddleware
+from fastapi.responses import FileResponse
+from fastapi.staticfiles import StaticFiles
+
+from src.web.jobs import JobRegistry
+from src.web.routes.clips import router as clips_router
+from src.web.routes.config import router as config_router
+from src.web.routes.feedback import router as feedback_router
+from src.web.routes.footage import router as footage_router
+from src.web.routes.jobs import router as jobs_router
+from src.web.routes.browse import router as browse_router
+from src.web.routes.projects import router as projects_router
+from src.web.routes.render import router as render_router
+from src.web.routes.ws import router as ws_router
+
+REPO_ROOT = Path(__file__).resolve().parents[2]
+STATIC_DIR = Path(__file__).resolve().parent / "static"
+OUTPUT_DIR = REPO_ROOT / "output"
+
+# Ensure the media mount target exists before StaticFiles validates it at
+# import time. StaticFiles will raise if the directory is missing.
+OUTPUT_DIR.mkdir(parents=True, exist_ok=True)
+
+
+@asynccontextmanager
+async def lifespan(app: FastAPI) -> AsyncIterator[None]:
+ """Bring the :class:`JobRegistry` up on startup and down on shutdown.
+
+ The registry's sequential asyncio worker must run inside the event
+ loop that FastAPI starts, so we create and start it here rather than
+ at module import time. Request handlers pull the live instance off
+ ``app.state.job_registry`` via the :func:`get_registry` dependency.
+ """
+ registry = JobRegistry()
+ await registry.start()
+ app.state.job_registry = registry
+ try:
+ yield
+ finally:
+ await registry.stop()
+
+
+app = FastAPI(
+ title="AVE Studio",
+ version="0.1.0",
+ description="Agentic Video Editor web UI and API layer.",
+ lifespan=lifespan,
+)
+
+app.add_middleware(
+ CORSMiddleware,
+ allow_origins=["http://localhost:8000", "http://127.0.0.1:8000", "http://localhost:3000"],
+ allow_credentials=True,
+ allow_methods=["*"],
+ allow_headers=["*"],
+)
+
+app.mount("/static", StaticFiles(directory=STATIC_DIR), name="static")
+app.mount("/media", StaticFiles(directory=OUTPUT_DIR), name="media")
+
+app.include_router(config_router)
+app.include_router(jobs_router)
+app.include_router(feedback_router)
+app.include_router(render_router)
+app.include_router(clips_router)
+app.include_router(footage_router)
+app.include_router(browse_router)
+app.include_router(projects_router)
+app.include_router(ws_router)
+
+
[email protected]("/api/health")
+async def health() -> dict[str, str]:
+ """Lightweight liveness probe used by the UI and deploy checks."""
+ return {"status": "ok"}
+
+
+async def index() -> FileResponse:
+ """Serve the Alpine.js + Tailwind UI shell."""
+ return FileResponse(STATIC_DIR / "index.html")
diff --git a/src/web/jobs.py b/src/web/jobs.py
new file mode 100644
index 0000000..7df5255
--- /dev/null
+++ b/src/web/jobs.py
@@ -0,0 +1,1082 @@
+"""In-memory background job system for pipeline execution.
+
+AVE Studio runs ``src.pipeline.runner.run_pipeline`` as a background job so
+the FastAPI UI stays responsive while a cut is being produced (5–15 minutes
+on typical footage). US-002 explicitly forbids an external job queue — no
+Celery, no Redis, no Dramatiq — so this module implements everything in
+process with ``asyncio`` primitives.
+
+Design
+------
+
+* :class:`JobRegistry` owns a ``dict[str, Job]`` keyed by UUID. New jobs are
+ submitted via :meth:`JobRegistry.submit` which constructs a :class:`Job`
+ in the ``pending`` state and pushes its id onto an internal
+ :class:`asyncio.Queue`.
+* A single worker task — started by :meth:`JobRegistry.start` and stopped by
+ :meth:`JobRegistry.stop` — consumes the queue one id at a time, so jobs
+ always execute sequentially. This matches the PRD constraint that
+ ``run_pipeline`` is compute-heavy and we do not want overlapping runs
+ fighting for the Gemini quota or the ffmpeg CPU budget.
+* The pipeline runner is synchronous, so the worker invokes it via
+ :func:`asyncio.to_thread`. The wrapped function installs a per-thread
+ stdout capture via :class:`contextlib.redirect_stdout` so every line the
+ pipeline prints is appended to :attr:`Job.progress_log` with an ISO-8601
+ timestamp prefix. Because ``redirect_stdout`` uses thread-local state and
+ each call runs in a dedicated worker thread, the stream never leaks into
+ unrelated FastAPI request handlers.
+* Jobs always run with ``human_approval=False``: there is no stdin in a web
+ context. The UI is responsible for any pre-run confirmation the user
+ wants to see.
+* Failures are captured on the job (``error`` + ``status='failed'``) rather
+ than crashing the worker, so one bad run cannot take down the queue.
+"""
+
+from __future__ import annotations
+
+import asyncio
+import contextlib
+import io
+import logging
+import threading
+import uuid
+from dataclasses import dataclass, field
+from datetime import datetime, timezone
+from typing import Any
+
+from src.agents.editor import run_editor
+from src.agents.reviewer import run_reviewer
+from src.agents.trim_refiner import refine_plan
+from src.models.schemas import CreativeBrief, EditPlan
+from src.pipeline.runner import (
+ PipelineResult,
+ _run_director_with_feedback,
+ _with_transient_retry,
+ run_pipeline,
+)
+
+logger = logging.getLogger(__name__)
+
+
+JobStatus = str # one of: "pending", "running", "completed", "failed"
+
+
+def _utcnow() -> datetime:
+ """Return a timezone-aware UTC ``datetime`` for timestamp fields."""
+ return datetime.now(timezone.utc)
+
+
+def _iso(ts: datetime | None) -> str | None:
+ """Render a ``datetime`` as ISO-8601 or ``None``."""
+ return ts.isoformat() if ts is not None else None
+
+
+class _ProgressLogStream(io.TextIOBase):
+ """Line-buffered stdout proxy that appends to a :class:`Job` progress log.
+
+ The pipeline runner calls ``print(..., flush=True)`` for every log line,
+ but ``redirect_stdout`` still sees each ``write`` call as one fragment,
+ which may or may not correspond to a full line. We buffer until the next
+ newline, split on ``\\n``, and emit one progress entry per complete line
+ so ``progress_log`` stays human-readable.
+
+ Each emitted line is prefixed with ``[<iso timestamp>]`` so the UI can
+ show when a step began without needing separate metadata. A parallel
+ structured entry is also recorded on :attr:`Job._progress_entries` and
+ published to every registered WebSocket subscriber so US-003 can stream
+ live updates without re-parsing the prefixed string form.
+ """
+
+ def __init__(self, job: "Job") -> None:
+ super().__init__()
+ self._job = job
+ self._buffer = ""
+
+ # TextIOBase requires these to be present/True for ``print`` to work.
+ def writable(self) -> bool: # pragma: no cover - stdlib protocol
+ return True
+
+ def write(self, data: str) -> int:
+ if not data:
+ return 0
+ self._buffer += data
+ # Flush every complete line we have so far, leaving any partial
+ # trailing fragment in the buffer for the next ``write``.
+ while "\n" in self._buffer:
+ line, self._buffer = self._buffer.split("\n", 1)
+ self._emit(line)
+ return len(data)
+
+ def flush(self) -> None:
+ if self._buffer:
+ self._emit(self._buffer)
+ self._buffer = ""
+
+ def _emit(self, line: str) -> None:
+ # Strip any trailing carriage returns that printf-style writers leave
+ # behind. Empty lines are preserved so the UI sees the same spacing
+ # the CLI would.
+ line = line.rstrip("\r")
+ self._job._record_progress(line, _iso(_utcnow()) or "")
+
+
+#: Sentinel pushed onto a subscriber queue to signal "no more events".
+#: The WebSocket handler treats this as "close the connection cleanly".
+_STREAM_END: Any = object()
+
+
+@dataclass
+class Job:
+ """Runtime state for a single pipeline execution.
+
+ Instances are mutated in place by the worker thread — callers that read
+ these fields from the asyncio event loop should treat lists like
+ ``progress_log`` as snapshots (a subsequent read may see more entries).
+
+ Attributes:
+ id: UUID4 string identifier assigned at submit time. Used as the
+ dict key inside :class:`JobRegistry` and as the path parameter
+ for ``GET /api/jobs/{id}``.
+ status: One of ``pending``, ``running``, ``completed``, ``failed``.
+ brief: The :class:`CreativeBrief` the caller supplied in the POST
+ body. Stored as a model instance so the worker can hand it
+ straight to ``run_pipeline``.
+ footage_index_path: Filesystem path to the preprocessed
+ :class:`FootageIndex` JSON the Director will read.
+ pipeline_path: Filesystem path to the YAML pipeline manifest the
+ runner will execute.
+ progress_log: Timestamped lines captured from ``run_pipeline``
+ stdout. Appended to by the worker thread via
+ :class:`_ProgressLogStream`.
+ result: Serialized :class:`PipelineResult` payload once the run
+ completes, or ``None`` while pending/running. Stored as a
+ plain ``dict`` so ``GET /api/jobs/{id}`` can return it
+ directly.
+ error: Exception message if the run failed, else ``None``.
+ created_at: Timestamp when :meth:`JobRegistry.submit` was called.
+ started_at: Timestamp when the worker moved the job to ``running``.
+ completed_at: Timestamp when the worker finished (success or fail).
+
+ Private attributes (not serialized):
+ _progress_entries: Parallel structured copy of ``progress_log``
+ where each item is ``{"line": str, "timestamp": str}``. Used
+ as the replay buffer for new WebSocket subscribers — it keeps
+ the raw message separate from the human-readable prefixed form
+ so the UI does not need to regex the timestamp back out.
+ _subscribers: Live :class:`asyncio.Queue` instances registered by
+ WebSocket handlers. The worker thread fans new events out to
+ each queue via :meth:`publish`, which marshals the writes
+ back onto the main event loop via ``call_soon_threadsafe``.
+ _event_loop: Reference to the asyncio event loop that owns the
+ subscriber queues. Captured by the worker before dispatching
+ to :func:`asyncio.to_thread` so the worker thread can schedule
+ thread-safe writes back onto it.
+ _terminal: Flag set once the terminal stream-end sentinel has
+ been published — guards against double-closing subscribers
+ if the worker tries to terminate twice.
+ """
+
+ id: str
+ status: JobStatus
+ brief: CreativeBrief
+ footage_index_path: str
+ pipeline_path: str
+ #: Execution path this job should take. ``"full-pipeline"`` runs the
+ #: standard :func:`run_pipeline` flow. ``"feedback-rerun"`` re-runs the
+ #: Director (with accumulated feedback) -> trim_refiner -> editor ->
+ #: reviewer sequence directly, without starting from the preprocess /
+ #: director happy path.
+ job_type: str = "full-pipeline"
+ #: ID of the parent job when this job is a feedback-triggered re-run.
+ #: ``None`` for jobs created via ``POST /api/jobs``.
+ parent_job_id: str | None = None
+ #: Accumulated feedback history carried into this job's execution.
+ #: For ``"feedback-rerun"`` jobs this is the parent's feedback history
+ #: with the latest user message appended, and is joined with ``\n\n``
+ #: before being handed to :func:`_run_director_with_feedback`.
+ feedback_history: list[str] = field(default_factory=list)
+ progress_log: list[str] = field(default_factory=list)
+ result: dict[str, Any] | None = None
+ error: str | None = None
+ created_at: datetime = field(default_factory=_utcnow)
+ started_at: datetime | None = None
+ completed_at: datetime | None = None
+ _progress_entries: list[dict[str, str]] = field(default_factory=list)
+ _subscribers: list[asyncio.Queue[Any]] = field(default_factory=list)
+ _event_loop: asyncio.AbstractEventLoop | None = None
+ _terminal: bool = False
+ #: Parsed :class:`EditPlan` instance attached by
+ #: :meth:`JobRegistry.submit_editor_rerun` for ``"editor-only"`` jobs.
+ #: The worker path :meth:`JobRegistry._run_editor_only_sync` hands this
+ #: plan straight to :func:`run_editor` without re-coercion so validation
+ #: only happens once in the route layer. Always ``None`` for other job
+ #: types.
+ _editor_plan: EditPlan | None = None
+ #: Absolute path to the rendered MP4 that a ``"reviewer-only"`` job
+ #: should score. Set by :meth:`JobRegistry.submit_reviewer_only` from
+ #: the parent's ``result["final_video_path"]`` so the worker path
+ #: :meth:`JobRegistry._run_reviewer_only_sync` does not have to walk
+ #: the parent dict at execution time. Always ``None`` for other job
+ #: types.
+ _reviewer_target_video: str | None = None
+ #: Protects compound operations on ``_progress_entries`` and
+ #: ``_subscribers`` that need to be atomic across the worker thread
+ #: and the event loop. Used by :meth:`_record_progress` (append +
+ #: fan-out) and :meth:`subscribe` (snapshot + register) to close the
+ #: race window where an event could be appended-but-not-fanned-out
+ #: between a subscriber's snapshot read and its queue registration.
+ _lock: threading.Lock = field(default_factory=threading.Lock, repr=False)
+
+ def summary(self) -> dict[str, Any]:
+ """Return the compact status payload used by ``GET /api/jobs``."""
+ return {
+ "id": self.id,
+ "status": self.status,
+ "job_type": self.job_type,
+ "parent_job_id": self.parent_job_id,
+ "created_at": _iso(self.created_at),
+ "started_at": _iso(self.started_at),
+ "completed_at": _iso(self.completed_at),
+ "brief_product": self.brief.product,
+ "progress_lines": len(self.progress_log),
+ }
+
+ def to_dict(self) -> dict[str, Any]:
+ """Return the full job state used by ``GET /api/jobs/{id}``.
+
+ The caller reads a snapshot of ``progress_log`` so later appends by
+ the worker thread do not mutate the response body after it has been
+ handed to FastAPI's JSON encoder.
+ """
+ return {
+ "id": self.id,
+ "status": self.status,
+ "job_type": self.job_type,
+ "parent_job_id": self.parent_job_id,
+ "brief": self.brief.model_dump(),
+ "footage_index_path": self.footage_index_path,
+ "pipeline_path": self.pipeline_path,
+ "feedback_history": list(self.feedback_history),
+ "progress_log": list(self.progress_log),
+ "result": self.result,
+ "error": self.error,
+ "created_at": _iso(self.created_at),
+ "started_at": _iso(self.started_at),
+ "completed_at": _iso(self.completed_at),
+ }
+
+ # ------------------------------------------------------------------ #
+ # Progress + subscriber plumbing (US-003)
+ # ------------------------------------------------------------------ #
+
+ def progress_entries_snapshot(self) -> list[dict[str, str]]:
+ """Return a snapshot of every structured progress entry captured.
+
+ Used by the WebSocket handler for replay on connect. Returning a
+ fresh ``list`` shields the caller from subsequent appends by the
+ worker thread.
+ """
+ return list(self._progress_entries)
+
+ def add_subscriber(self, queue: "asyncio.Queue[Any]") -> None:
+ """Register a WebSocket subscriber queue on this job.
+
+ Most callers should prefer :meth:`subscribe` instead, which
+ atomically snapshots the replay buffer and registers the queue
+ under the job's lock. This bare register method is kept for
+ tests and callers that do not need a consistent replay.
+ """
+ with self._lock:
+ self._subscribers.append(queue)
+
+ def remove_subscriber(self, queue: "asyncio.Queue[Any]") -> None:
+ """Remove a subscriber queue (safe if already gone)."""
+ with self._lock:
+ try:
+ self._subscribers.remove(queue)
+ except ValueError:
+ pass
+
+ def subscribe(
+ self,
+ ) -> tuple["asyncio.Queue[Any]", list[dict[str, str]], bool]:
+ """Atomically register a new subscriber and snapshot the replay buffer.
+
+ Returns a tuple ``(queue, replay, terminal)`` where ``queue`` is a
+ fresh :class:`asyncio.Queue`, ``replay`` is a point-in-time copy
+ of every :attr:`_progress_entries` item the new subscriber should
+ flush before reading live events, and ``terminal`` is True if the
+ job had already reached a terminal state when the subscription
+ was taken out. When ``terminal`` is True the caller must drive the
+ queue to completion by calling :meth:`enqueue_terminal` (this
+ method intentionally does not push the terminal messages itself
+ so the caller can replay the full progress log first without
+ racing the queue reader).
+
+ The whole operation runs under :attr:`_lock` so
+ :meth:`_record_progress` cannot append a new entry in the gap
+ between the snapshot read and the subscriber registration. Any
+ events that land after :meth:`subscribe` returns are guaranteed
+ to be published to the queue because the queue is already in
+ ``_subscribers``.
+ """
+ queue: asyncio.Queue[Any] = asyncio.Queue()
+ with self._lock:
+ replay = list(self._progress_entries)
+ self._subscribers.append(queue)
+ terminal = self._terminal
+ return queue, replay, terminal
+
+ def enqueue_terminal(self, queue: "asyncio.Queue[Any]") -> None:
+ """Push terminal status + result/error + stream-end onto a queue.
+
+ Used by the WebSocket handler when it subscribes to a job that is
+ already in a ``completed`` or ``failed`` state. The replay loop
+ has already sent every progress entry, so all that is left is to
+ mirror what :meth:`JobRegistry._run_job_sync` would have emitted
+ at the moment the job transitioned to terminal.
+
+ Calls ``queue.put_nowait`` directly because this runs on the same
+ event loop that owns the queue (it is invoked from the WebSocket
+ coroutine, not the worker thread).
+ """
+ if self.status == "completed":
+ queue.put_nowait({"type": "status", "status": "completed"})
+ if self.result is not None:
+ queue.put_nowait({"type": "result", "data": self.result})
+ elif self.status == "failed":
+ queue.put_nowait(
+ {
+ "type": "status",
+ "status": "failed",
+ "error": self.error,
+ }
+ )
+ queue.put_nowait(_STREAM_END)
+
+ def _record_progress(self, line: str, timestamp: str) -> None:
+ """Append a progress line to both the prefixed log and entries list.
+
+ Also fans the event out to every registered WebSocket subscriber.
+ Called from the worker thread (inside ``redirect_stdout``) and from
+ :meth:`JobRegistry._run_job_sync` for synthetic framing lines, so
+ the append + publish pair runs under :attr:`_lock` — this is what
+ lets :meth:`subscribe` take a consistent snapshot without missing
+ or duplicating events.
+ """
+ entry = {"line": line, "timestamp": timestamp}
+ event = {"type": "progress", **entry}
+ with self._lock:
+ self.progress_log.append(f"[{timestamp}] {line}")
+ self._progress_entries.append(entry)
+ self._publish_locked(event)
+
+ def publish(self, event: Any) -> None:
+ """Fan out an event to every registered subscriber queue.
+
+ Safe to call from either the event loop thread or the worker
+ thread. Acquires :attr:`_lock` so the subscriber list snapshot
+ used for iteration is consistent with :meth:`subscribe` and
+ :meth:`remove_subscriber`.
+ """
+ with self._lock:
+ self._publish_locked(event)
+
+ def _publish_locked(self, event: Any) -> None:
+ """Lock-held variant of :meth:`publish`.
+
+ Callers MUST already hold :attr:`_lock`. When called from a
+ worker thread, each per-queue ``put_nowait`` is scheduled onto
+ the captured event loop via
+ :meth:`asyncio.AbstractEventLoop.call_soon_threadsafe` so the
+ :class:`asyncio.Queue` internals only ever run on the loop that
+ owns them.
+ """
+ loop = self._event_loop
+ # Snapshot to avoid "list changed size during iteration" — even
+ # though the lock prevents concurrent mutation, we still iterate
+ # a copy so ``remove_subscriber`` can be called from inside a
+ # publish callback (none do today, but it's cheap insurance).
+ for queue in list(self._subscribers):
+ if loop is None:
+ # No loop captured yet — this only happens for events
+ # emitted before :meth:`JobRegistry._run_job_sync` set
+ # ``_event_loop`` (e.g. unit tests). Fall back to direct
+ # put_nowait, which is safe on the same thread.
+ try:
+ queue.put_nowait(event)
+ except Exception: # pragma: no cover - defensive
+ pass
+ continue
+ try:
+ loop.call_soon_threadsafe(queue.put_nowait, event)
+ except RuntimeError:
+ # Loop already closed — nothing to fan out to.
+ continue
+
+ def _close_stream(self) -> None:
+ """Publish the stream-end sentinel to every subscriber.
+
+ Idempotent. After this call the job will not publish any further
+ events and WebSocket handlers will see ``_STREAM_END`` on their
+ queue, break out of the read loop, and close the connection.
+ """
+ with self._lock:
+ if self._terminal:
+ return
+ self._terminal = True
+ self._publish_locked(_STREAM_END)
+
+ def finalize(self, *events: Any) -> None:
+ """Publish the terminal events and the stream-end sentinel atomically.
+
+ Takes :attr:`_lock` once for the whole transition so a late
+ :meth:`subscribe` cannot land between the status/result emits
+ and the stream-end sentinel — the caller will either see
+ ``terminal=False`` (and therefore receive the events through
+ the queue) or ``terminal=True`` (and replay them from the
+ existing state via :meth:`enqueue_terminal`).
+ """
+ with self._lock:
+ if self._terminal:
+ return
+ for event in events:
+ self._publish_locked(event)
+ self._terminal = True
+ self._publish_locked(_STREAM_END)
+
+
+def _serialize_result(result: PipelineResult) -> dict[str, Any]:
+ """Convert a :class:`PipelineResult` into a JSON-ready dict.
+
+ ``edit_plan`` and ``review`` are Pydantic models on the dataclass, so
+ we call ``model_dump()`` on them when present. Scalar fields pass
+ through unchanged.
+ """
+ return {
+ "edit_plan": (
+ result.edit_plan.model_dump() if result.edit_plan is not None else None
+ ),
+ "final_video_path": result.final_video_path,
+ "review": (
+ result.review.model_dump() if result.review is not None else None
+ ),
+ "retries_used": result.retries_used,
+ "warnings": list(result.warnings),
+ "feedback_history": list(result.feedback_history),
+ }
+
+
+class JobRegistry:
+ """In-memory registry + sequential asyncio worker for pipeline jobs.
+
+ Lifecycle
+ ---------
+
+ * :meth:`start` creates the background worker task. Must be awaited
+ before any job can make progress. Safe to call once — repeated
+ calls are no-ops.
+ * :meth:`stop` cancels the worker task and waits for it to unwind.
+ Idempotent — safe to call on shutdown even if ``start`` was never
+ called.
+ * :meth:`submit` is synchronous from the caller's POV: it creates a
+ :class:`Job`, records it, and schedules it on the queue. The
+ returned object is safe to read immediately (status will be
+ ``pending`` until the worker picks it up).
+ * :meth:`get` / :meth:`list_jobs` provide read-only views for the
+ GET routes.
+
+ Thread safety
+ -------------
+
+ ``_jobs`` is only mutated from the event loop thread: submissions come
+ from FastAPI request handlers (also on the event loop) and the worker
+ itself only mutates the :class:`Job` dataclass it pulled from the dict
+ (not the dict structure). The worker thread (created by
+ :func:`asyncio.to_thread`) does mutate ``Job.progress_log`` and other
+ scalar fields concurrently with read paths; Python lists/dataclasses
+ are safe under the GIL for these operations and the JSON encoder
+ reads a snapshot via :meth:`Job.to_dict`.
+ """
+
+ def __init__(self) -> None:
+ self._jobs: dict[str, Job] = {}
+ self._queue: asyncio.Queue[str] = asyncio.Queue()
+ self._worker: asyncio.Task[None] | None = None
+ self._started = False
+
+ # ------------------------------------------------------------------ #
+ # Lifecycle
+ # ------------------------------------------------------------------ #
+
+ async def start(self) -> None:
+ """Spawn the background worker task.
+
+ No-op if already started. Safe to call from a FastAPI lifespan
+ handler.
+ """
+ if self._started:
+ return
+ self._started = True
+ self._worker = asyncio.create_task(
+ self._worker_loop(), name="ave-studio-job-worker"
+ )
+ logger.info("JobRegistry worker started")
+
+ async def stop(self) -> None:
+ """Cancel the worker task and wait for it to exit.
+
+ Idempotent. Any pending jobs still on the queue are abandoned —
+ the PRD scope is a single-process dev/preview server, so process
+ exit wipes state anyway.
+ """
+ if not self._started:
+ return
+ self._started = False
+ worker = self._worker
+ self._worker = None
+ if worker is None:
+ return
+ worker.cancel()
+ try:
+ await worker
+ except asyncio.CancelledError:
+ pass
+ logger.info("JobRegistry worker stopped")
+
+ # ------------------------------------------------------------------ #
+ # Public API
+ # ------------------------------------------------------------------ #
+
+ def submit(
+ self,
+ brief: CreativeBrief,
+ footage_index_path: str,
+ pipeline_path: str,
+ ) -> Job:
+ """Create a new pending job and enqueue it for the worker."""
+ job = Job(
+ id=str(uuid.uuid4()),
+ status="pending",
+ brief=brief,
+ footage_index_path=footage_index_path,
+ pipeline_path=pipeline_path,
+ )
+ self._jobs[job.id] = job
+ self._queue.put_nowait(job.id)
+ logger.info("JobRegistry submitted job %s", job.id)
+ return job
+
+ def submit_feedback_rerun(
+ self,
+ parent: "Job",
+ user_message: str,
+ ) -> Job:
+ """Create a feedback-triggered pipeline re-run child of ``parent``.
+
+ The child inherits the parent's brief, footage index path, and
+ pipeline manifest path so the Director sees the same creative
+ context as the original run. Its ``feedback_history`` is built by
+ copying the parent's accumulated feedback (falling back to the
+ parent ``PipelineResult.feedback_history`` on the first chat
+ round) and appending the new ``user_message``. The
+ :meth:`_run_job_sync` worker path branches on ``job_type`` and
+ runs the Director -> trim_refiner -> editor -> reviewer sequence
+ directly, mirroring the retry-loop section of
+ :func:`src.pipeline.runner.run_pipeline`.
+
+ Raises:
+ ValueError: If the parent is not in ``"completed"`` state, has
+ no ``result`` yet, or is missing an ``edit_plan`` /
+ ``footage_index_path``. The route layer maps this to a
+ 409 Conflict response.
+ """
+ if parent.status != "completed":
+ raise ValueError(
+ f"parent job {parent.id!r} is not completed "
+ f"(status={parent.status!r}); cannot run feedback re-run"
+ )
+ if parent.result is None:
+ raise ValueError(
+ f"parent job {parent.id!r} has no result payload; "
+ "cannot run feedback re-run"
+ )
+ if parent.result.get("edit_plan") is None:
+ raise ValueError(
+ f"parent job {parent.id!r} has no edit_plan in result; "
+ "cannot run feedback re-run"
+ )
+ if not parent.footage_index_path:
+ raise ValueError(
+ f"parent job {parent.id!r} has no footage_index_path; "
+ "cannot run feedback re-run"
+ )
+
+ cleaned_message = user_message.strip()
+ if not cleaned_message:
+ raise ValueError("feedback message must not be empty")
+
+ # The FIRST chat round sees whatever feedback the reviewer retry
+ # loop accumulated on the parent (exposed via
+ # ``PipelineResult.feedback_history``). Subsequent chat rounds
+ # chain off their parent's already-populated
+ # :attr:`Job.feedback_history` so each round's Director call
+ # sees every prior message in chronological order.
+ if parent.feedback_history:
+ history = list(parent.feedback_history)
+ else:
+ history = list(parent.result.get("feedback_history", []))
+ history.append(cleaned_message)
+
+ job = Job(
+ id=str(uuid.uuid4()),
+ status="pending",
+ brief=parent.brief,
+ footage_index_path=parent.footage_index_path,
+ pipeline_path=parent.pipeline_path,
+ job_type="feedback-rerun",
+ parent_job_id=parent.id,
+ feedback_history=history,
+ )
+ self._jobs[job.id] = job
+ self._queue.put_nowait(job.id)
+ logger.info(
+ "JobRegistry submitted feedback-rerun job %s (parent=%s, "
+ "history_len=%d)",
+ job.id,
+ parent.id,
+ len(history),
+ )
+ return job
+
+ def submit_editor_rerun(
+ self,
+ parent: "Job",
+ modified_plan: EditPlan,
+ ) -> Job:
+ """Create an ``editor-only`` re-render child from ``modified_plan``.
+
+ Used by ``POST /api/jobs/{id}/re-render`` (US-010) to render a
+ user-edited :class:`EditPlan` without re-running the Director or
+ Reviewer. The child inherits the parent's brief / footage index /
+ pipeline manifest so the frontend and the reviewer-only path (if
+ invoked later) still see the same creative context, and the
+ ``modified_plan`` is stashed on :attr:`Job._editor_plan` for
+ :meth:`_run_editor_only_sync` to hand straight to
+ :func:`run_editor`.
+
+ Importantly, the parent's ``result`` is **not** mutated. The
+ previous render stays available at its original
+ ``result["final_video_path"]`` so the UI can offer a version
+ history of renders for the session. The child's PipelineResult
+ stores the new MP4 path on its own ``result`` once the worker
+ finishes.
+
+ Raises:
+ ValueError: If the parent is not in the ``"completed"`` state,
+ has no ``result`` yet, or is missing ``footage_index_path``.
+ The route layer maps these to a 409 Conflict response so
+ the client gets a clear "can't re-render this parent"
+ signal instead of a 500.
+ """
+ if parent.status != "completed":
+ raise ValueError(
+ f"parent job {parent.id!r} is not completed "
+ f"(status={parent.status!r}); cannot run editor-only re-render"
+ )
+ if parent.result is None:
+ raise ValueError(
+ f"parent job {parent.id!r} has no result payload; "
+ "cannot run editor-only re-render"
+ )
+ if not parent.footage_index_path:
+ raise ValueError(
+ f"parent job {parent.id!r} has no footage_index_path; "
+ "cannot run editor-only re-render"
+ )
+
+ job = Job(
+ id=str(uuid.uuid4()),
+ status="pending",
+ brief=parent.brief,
+ footage_index_path=parent.footage_index_path,
+ pipeline_path=parent.pipeline_path,
+ job_type="editor-only",
+ parent_job_id=parent.id,
+ feedback_history=list(parent.feedback_history),
+ )
+ job._editor_plan = modified_plan
+ self._jobs[job.id] = job
+ self._queue.put_nowait(job.id)
+ logger.info(
+ "JobRegistry submitted editor-only re-render job %s (parent=%s, "
+ "entries=%d)",
+ job.id,
+ parent.id,
+ len(modified_plan.entries),
+ )
+ return job
+
+ def submit_reviewer_only(self, parent: "Job") -> Job:
+ """Create a ``reviewer-only`` child that re-scores the parent's MP4.
+
+ Used by ``POST /api/jobs/{id}/review-only`` (US-010) to run the
+ Reviewer against the parent's latest rendered video without
+ re-running the Director or Editor. Useful when the user wants a
+ fresh quality score for a plan that was manually edited + rendered
+ via ``editor-only``.
+
+ Inherits the parent's brief / footage / pipeline path so the
+ :class:`Job` shape stays uniform, but the video to score is
+ captured onto :attr:`Job._reviewer_target_video` so the worker
+ path does not have to re-dig the parent's result blob. The
+ parent's result itself is left untouched.
+
+ Raises:
+ ValueError: If the parent is not in ``"completed"`` state, has
+ no ``result``, has no ``final_video_path`` in its result,
+ or the referenced MP4 does not exist on disk. The route
+ layer maps this to 409 Conflict.
+ """
+ if parent.status != "completed":
+ raise ValueError(
+ f"parent job {parent.id!r} is not completed "
+ f"(status={parent.status!r}); cannot run reviewer-only"
+ )
+ if parent.result is None:
+ raise ValueError(
+ f"parent job {parent.id!r} has no result payload; "
+ "cannot run reviewer-only"
+ )
+ video_path = parent.result.get("final_video_path")
+ if not video_path:
+ raise ValueError(
+ f"parent job {parent.id!r} has no final_video_path in "
+ "result; cannot run reviewer-only"
+ )
+ # Importing here keeps the module-level import list stable and
+ # scopes the Path dependency to the failure-gate hot path.
+ from pathlib import Path as _Path
+
+ if not _Path(video_path).exists():
+ raise ValueError(
+ f"parent job {parent.id!r} final_video_path "
+ f"{video_path!r} does not exist on disk; cannot run "
+ "reviewer-only"
+ )
+
+ job = Job(
+ id=str(uuid.uuid4()),
+ status="pending",
+ brief=parent.brief,
+ footage_index_path=parent.footage_index_path,
+ pipeline_path=parent.pipeline_path,
+ job_type="reviewer-only",
+ parent_job_id=parent.id,
+ feedback_history=list(parent.feedback_history),
+ )
+ job._reviewer_target_video = video_path
+ self._jobs[job.id] = job
+ self._queue.put_nowait(job.id)
+ logger.info(
+ "JobRegistry submitted reviewer-only job %s (parent=%s, "
+ "video=%s)",
+ job.id,
+ parent.id,
+ video_path,
+ )
+ return job
+
+ def get(self, job_id: str) -> Job | None:
+ """Look up a job by id."""
+ return self._jobs.get(job_id)
+
+ def list_jobs(self) -> list[Job]:
+ """Return all known jobs in submission order (oldest first)."""
+ # ``created_at`` is always set at construction, so sorting by it
+ # gives a stable oldest-first order without relying on dict
+ # insertion order across Python versions.
+ return sorted(self._jobs.values(), key=lambda j: j.created_at)
+
+ # ------------------------------------------------------------------ #
+ # Worker internals
+ # ------------------------------------------------------------------ #
+
+ async def _worker_loop(self) -> None:
+ """Main worker loop — pull job ids and run them sequentially.
+
+ Pipeline failures are captured on the :class:`Job` instance so the
+ loop keeps running. A :class:`asyncio.CancelledError` from
+ :meth:`stop` is the only way out.
+ """
+ try:
+ while True:
+ job_id = await self._queue.get()
+ job = self._jobs.get(job_id)
+ if job is None:
+ # Should not happen — ``submit`` always writes to the
+ # dict before enqueueing — but guard anyway so a bug
+ # does not deadlock the worker.
+ self._queue.task_done()
+ continue
+ # Capture the running event loop so the worker thread
+ # (spawned by ``asyncio.to_thread``) can marshal subscriber
+ # writes back onto the loop that owns the queues.
+ job._event_loop = asyncio.get_running_loop()
+ try:
+ await asyncio.to_thread(self._run_job_sync, job)
+ except Exception as exc: # noqa: BLE001 - belt and suspenders
+ # ``_run_job_sync`` already captures exceptions onto
+ # the job, but if something escapes (e.g. OOM in
+ # to_thread), still mark the job failed so the caller
+ # sees an error instead of a forever-running status.
+ logger.exception("JobRegistry worker caught %s", exc)
+ job.status = "failed"
+ job.error = f"{type(exc).__name__}: {exc}"
+ job.completed_at = _utcnow()
+ # Make sure every subscriber hears the terminal story
+ # even if ``_run_job_sync`` never reached its publish
+ # section. ``finalize`` is idempotent so calling it
+ # here when the inner function already finalized is a
+ # no-op.
+ job.finalize(
+ {
+ "type": "status",
+ "status": "failed",
+ "error": job.error,
+ }
+ )
+ finally:
+ self._queue.task_done()
+ except asyncio.CancelledError:
+ logger.info("JobRegistry worker loop cancelled")
+ raise
+
+ def _run_job_sync(self, job: Job) -> None:
+ """Run one pipeline job on the current (worker) thread.
+
+ This runs inside :func:`asyncio.to_thread`, so ``sys.stdout`` can
+ be redirected safely for the duration of the call without
+ affecting the FastAPI event loop or any other request handler.
+
+ On success, :attr:`Job.result` is populated with the serialized
+ :class:`PipelineResult` and :attr:`Job.status` is set to
+ ``completed``. On failure, the exception message is stored on
+ :attr:`Job.error` and the status is set to ``failed``. Either way
+ :attr:`Job.completed_at` is stamped.
+ """
+ job.status = "running"
+ job.started_at = _utcnow()
+ job._record_progress(
+ f"[ave-studio] job {job.id} started",
+ _iso(job.started_at) or "",
+ )
+
+ stream = _ProgressLogStream(job)
+ try:
+ with contextlib.redirect_stdout(stream):
+ if job.job_type == "feedback-rerun":
+ result = self._run_feedback_rerun_sync(job)
+ elif job.job_type == "editor-only":
+ result = self._run_editor_only_sync(job)
+ elif job.job_type == "reviewer-only":
+ result = self._run_reviewer_only_sync(job)
+ else:
+ result = run_pipeline(
+ pipeline_path=job.pipeline_path,
+ brief=job.brief,
+ footage_index_path=job.footage_index_path,
+ human_approval=False,
+ )
+ # Flush any trailing partial line that never got a newline.
+ stream.flush()
+ job.result = _serialize_result(result)
+ job.status = "completed"
+ job.completed_at = _utcnow()
+ job._record_progress(
+ f"[ave-studio] job {job.id} completed",
+ _iso(job.completed_at) or "",
+ )
+ job.finalize(
+ {"type": "status", "status": "completed"},
+ {"type": "result", "data": job.result},
+ )
+ except Exception as exc: # noqa: BLE001 - we want every failure
+ # Flush any partial output captured before the exception so the
+ # UI can see the last log lines that preceded the crash.
+ try:
+ stream.flush()
+ except Exception: # pragma: no cover - defensive
+ pass
+ job.error = f"{type(exc).__name__}: {exc}"
+ job.status = "failed"
+ job.completed_at = _utcnow()
+ job._record_progress(
+ f"[ave-studio] job {job.id} failed: {job.error}",
+ _iso(job.completed_at) or "",
+ )
+ job.finalize(
+ {
+ "type": "status",
+ "status": "failed",
+ "error": job.error,
+ }
+ )
+ logger.exception("Pipeline job %s failed", job.id)
+
+ def _run_feedback_rerun_sync(self, job: Job) -> PipelineResult:
+ """Execute the feedback re-run sequence for ``job``.
+
+ Mirrors the retry-loop body inside :func:`run_pipeline` (see
+ ``src/pipeline/runner.py`` lines ~780-808): build a revised
+ ``EditPlan`` via :func:`_run_director_with_feedback` using the
+ accumulated feedback, then drive that plan through
+ :func:`refine_plan` -> :func:`run_editor` -> :func:`run_reviewer`.
+
+ Runs inside the same ``redirect_stdout(stream)`` context the
+ caller installs, so any ``print`` the imported helpers emit is
+ captured by :class:`_ProgressLogStream` and fanned out to every
+ WebSocket subscriber. Synthetic framing lines are published via
+ :meth:`Job._record_progress` so the existing step-indicator
+ parsing the UI relies on keeps working without any runner
+ changes.
+
+ Raises any exception the imported helpers raise -- the caller's
+ ``except`` branch converts that to ``status="failed"`` and
+ finalizes the job like a normal pipeline failure.
+ """
+ combined_feedback = "\n\n".join(job.feedback_history)
+ job._record_progress(
+ f"[feedback-rerun] step 1 -- director (with feedback, "
+ f"history_len={len(job.feedback_history)})",
+ _iso(_utcnow()) or "",
+ )
+ # Each helper is wrapped in _with_transient_retry to match the
+ # main run_pipeline retry loop (see src/pipeline/runner.py). Without
+ # this, a 502/503/429 from Gemini during a chat refinement would
+ # hard-fail the child job while the same error during a full pipeline
+ # run would be retried with backoff -- a reliability regression that
+ # Codex flagged during US-007 review.
+ revised_plan = _with_transient_retry(
+ _run_director_with_feedback,
+ job.brief,
+ job.footage_index_path,
+ feedback=combined_feedback,
+ )
+
+ job._record_progress(
+ "[feedback-rerun] step 2 -- trim_refiner",
+ _iso(_utcnow()) or "",
+ )
+ refined = _with_transient_retry(
+ refine_plan, revised_plan, job.footage_index_path
+ )
+
+ job._record_progress(
+ "[feedback-rerun] step 3 -- editor",
+ _iso(_utcnow()) or "",
+ )
+ video_path = _with_transient_retry(
+ run_editor, refined, job.footage_index_path
+ )
+
+ job._record_progress(
+ "[feedback-rerun] step 4 -- reviewer",
+ _iso(_utcnow()) or "",
+ )
+ review = _with_transient_retry(run_reviewer, job.brief, video_path)
+
+ return PipelineResult(
+ edit_plan=refined,
+ final_video_path=video_path,
+ review=review,
+ retries_used=0,
+ warnings=[],
+ feedback_history=list(job.feedback_history),
+ )
+
+ def _run_editor_only_sync(self, job: Job) -> PipelineResult:
+ """Run :func:`run_editor` against ``job._editor_plan`` and return a result.
+
+ Mirrors the editor step inside :meth:`_run_feedback_rerun_sync`:
+ we emit a single ``[editor-only] step 1 -- editor`` framing line
+ so the UI's step parser lights up, wrap the call in
+ :func:`_with_transient_retry` so Gemini/ffmpeg hiccups retry with
+ backoff instead of hard-failing the child, and package the
+ rendered MP4 path into a :class:`PipelineResult` that
+ :func:`_serialize_result` knows how to flatten.
+
+ The returned result's ``edit_plan`` is the same pydantic instance
+ the route layer validated, so ``job.result["edit_plan"]`` on the
+ child echoes the user-edited plan the client submitted -- no
+ additional validation needed because the route already ran the
+ PUT helpers before enqueueing.
+
+ ``feedback_history`` is carried over from the job (which the
+ registry populated from the parent's history) so a subsequent
+ ``/feedback`` or ``/review-only`` call on this child still sees
+ the chat lineage.
+
+ Raises any exception :func:`run_editor` raises -- the caller's
+ ``except`` branch converts that to ``status="failed"``.
+ """
+ if job._editor_plan is None: # pragma: no cover - defensive
+ raise ValueError(
+ f"editor-only job {job.id!r} has no _editor_plan; "
+ "submit_editor_rerun must set it before enqueueing"
+ )
+
+ job._record_progress(
+ "[editor-only] step 1 -- editor",
+ _iso(_utcnow()) or "",
+ )
+ video_path = _with_transient_retry(
+ run_editor, job._editor_plan, job.footage_index_path
+ )
+
+ return PipelineResult(
+ edit_plan=job._editor_plan,
+ final_video_path=video_path,
+ review=None,
+ retries_used=0,
+ warnings=[],
+ feedback_history=list(job.feedback_history),
+ )
+
+ def _run_reviewer_only_sync(self, job: Job) -> PipelineResult:
+ """Run :func:`run_reviewer` against ``job._reviewer_target_video``.
+
+ Emits a single ``[reviewer-only] step 1 -- reviewer`` framing
+ line, wraps the call in :func:`_with_transient_retry` for Gemini
+ transient-error resilience, and returns a :class:`PipelineResult`
+ with ``edit_plan=None`` (nothing was re-planned) and
+ ``review`` populated. :func:`_serialize_result` handles the None
+ edit_plan case natively, so the resulting ``job.result`` will be
+ ``{"edit_plan": None, "final_video_path": <same mp4>, "review":
+ {...}, ...}``.
+
+ Raises any exception :func:`run_reviewer` raises -- the caller's
+ ``except`` branch converts that to ``status="failed"``.
+ """
+ if not job._reviewer_target_video: # pragma: no cover - defensive
+ raise ValueError(
+ f"reviewer-only job {job.id!r} has no _reviewer_target_video; "
+ "submit_reviewer_only must set it before enqueueing"
+ )
+
+ job._record_progress(
+ "[reviewer-only] step 1 -- reviewer",
+ _iso(_utcnow()) or "",
+ )
+ review = _with_transient_retry(
+ run_reviewer, job.brief, job._reviewer_target_video
+ )
+
+ return PipelineResult(
+ edit_plan=None,
+ final_video_path=job._reviewer_target_video,
+ review=review,
+ retries_used=0,
+ warnings=[],
+ feedback_history=[],
+ )
diff --git a/src/web/routes/__init__.py b/src/web/routes/__init__.py
new file mode 100644
index 0000000..cc8558b
--- /dev/null
+++ b/src/web/routes/__init__.py
@@ -0,0 +1 @@
+"""FastAPI route modules for AVE Studio."""
diff --git a/src/web/routes/browse.py b/src/web/routes/browse.py
new file mode 100644
index 0000000..490c1e2
--- /dev/null
+++ b/src/web/routes/browse.py
@@ -0,0 +1,45 @@
+"""Filesystem directory browser for the studio UI."""
+
+from pathlib import Path
+
+from fastapi import APIRouter, HTTPException, Query
+
+router = APIRouter(prefix="/api/browse", tags=["browse"])
+
+
+async def browse_directory(
+ path: str = Query(default="~", description="Absolute path to list"),
+) -> dict:
+ """List subdirectories and video files at the given path."""
+ target = Path(path).expanduser().resolve()
+
+ if not target.exists():
+ raise HTTPException(status_code=404, detail=f"Path not found: {target}")
+ if not target.is_dir():
+ raise HTTPException(status_code=400, detail=f"Not a directory: {target}")
+
+ VIDEO_EXTS = {".mp4", ".mov", ".avi", ".mkv", ".webm", ".m4v", ".wmv"}
+
+ dirs: list[dict] = []
+ files: list[dict] = []
+
+ try:
+ for entry in sorted(target.iterdir(), key=lambda e: e.name.lower()):
+ # Skip hidden files/dirs.
+ if entry.name.startswith("."):
+ continue
+ if entry.is_dir():
+ dirs.append({"name": entry.name, "path": str(entry), "type": "dir"})
+ elif entry.suffix.lower() in VIDEO_EXTS:
+ files.append({"name": entry.name, "path": str(entry), "type": "file"})
+ except PermissionError:
+ raise HTTPException(status_code=403, detail=f"Permission denied: {target}")
+
+ return {
+ "current": str(target),
+ "parent": str(target.parent) if target.parent != target else None,
+ "dirs": dirs,
+ "files": files,
+ "video_count": len(files),
+ }
diff --git a/src/web/routes/clips.py b/src/web/routes/clips.py
new file mode 100644
index 0000000..33f68c1
--- /dev/null
+++ b/src/web/routes/clips.py
@@ -0,0 +1,402 @@
+"""US-008 routes -- EditPlan timeline viewer backend.
+
+Two endpoints power the timeline UI:
+
+* ``GET /api/jobs/{job_id}/edit-plan`` returns the stored
+ :class:`~src.models.schemas.EditPlan` for a completed job, enriched
+ per-entry with the display metadata the timeline needs (derived
+ ``source_filename``, ``source_timestamp``, ``display_label``,
+ ``duration``, ``roll_type`` resolved against the job's
+ :class:`~src.models.schemas.FootageIndex`, and a thumbnail URL).
+* ``GET /api/clips/{job_id}/{position}/thumbnail`` returns a JPEG of the
+ first frame of the cut clip at ``position`` for the given job. The
+ clip file is produced by the editor at
+ ``output/working/{brief_slug}/clip_{position:02d}.mp4``; the thumbnail
+ is extracted via a one-shot ffmpeg subprocess and cached on disk next
+ to the clip so repeat requests do not re-invoke ffmpeg.
+
+Both endpoints read from :class:`~src.web.jobs.JobRegistry` via the
+existing :func:`src.web.routes.jobs.get_registry` dependency and never
+mutate job state.
+
+Design notes
+------------
+
+The ``roll_type`` resolution inside the edit-plan endpoint uses the same
+"split shot_id on the LAST ``#`` and match (source_file, start_time)
+within a small epsilon" convention as
+:func:`src.agents.editor._resolve_shot`, but inlined so a single bad
+entry (malformed id, missing shot, unreadable index) degrades to
+``"unknown"`` instead of raising. The timeline must render even for
+partially broken plans, so no per-entry failure is allowed to 500 the
+whole request.
+
+The FootageIndex is loaded exactly once per request handler invocation
+and then used as a lookup table for every entry. If the index file is
+missing or fails to parse, every entry silently falls back to
+``"unknown"`` roll_type -- this is much more useful to a frontend than
+a 500.
+
+Thumbnails are cached on disk at
+``output/working/{brief_slug}/clip_{position:02d}.thumb.jpg``. Disk
+cache is the primary mechanism (survives worker restarts); there is no
+in-memory cache because FastAPI workers may be recycled and a cold
+cache hit is still ~50ms vs. ~300ms+ for a fresh ffmpeg extraction.
+"""
+
+from __future__ import annotations
+
+import os
+import subprocess
+from pathlib import Path
+from typing import Any
+
+from fastapi import APIRouter, HTTPException, Request
+from fastapi.responses import Response
+
+from src.agents.editor import _slugify_brief
+from src.models.schemas import FootageIndex, Shot
+from src.web.jobs import Job
+from src.web.routes.jobs import get_registry
+
+#: Repo root -- resolved relative to this file so the code works no
+#: matter what ``cwd`` the server was launched from. Matches the
+#: ``parents[2]`` depth used in :mod:`src.web.app` (this file is at
+#: ``src/web/routes/clips.py`` so ``parents[3]`` is the repo root).
+REPO_ROOT = Path(__file__).resolve().parents[3]
+OUTPUT_DIR = REPO_ROOT / "output"
+
+#: Float tolerance when matching ``EditPlanEntry.shot_id`` start_time
+#: suffixes to ``Shot.start_time``. Slightly looser than the editor's
+#: ``1e-6`` because the shot_id string may round-trip through JSON and
+#: lose a few LSBs, and "wrong roll_type label" is a strictly cosmetic
+#: failure so we prefer more matches over fewer.
+_SHOT_MATCH_EPSILON = 1e-3
+
+router = APIRouter(tags=["clips"])
+
+
+# --------------------------------------------------------------------------- #
+# Helpers
+# --------------------------------------------------------------------------- #
+
+
+def _load_footage_index(path_str: str | None) -> FootageIndex | None:
+ """Parse a :class:`FootageIndex` from disk, swallowing any failure.
+
+ Returns ``None`` if the path is missing / unreadable / malformed.
+ The edit-plan endpoint uses ``None`` as the signal to default every
+ entry's ``roll_type`` to ``"unknown"``.
+ """
+ if not path_str:
+ return None
+ try:
+ text = Path(path_str).read_text()
+ except OSError:
+ return None
+ try:
+ return FootageIndex.model_validate_json(text)
+ except Exception:
+ return None
+
+
+def _resolve_shot_for_entry(
+ shot_id: str,
+ index: FootageIndex | None,
+) -> Shot | None:
+ """Return the :class:`Shot` referenced by ``shot_id`` or ``None``.
+
+ Mirrors the split-on-last-``#`` convention used by
+ :func:`src.agents.editor._resolve_shot` but NEVER raises: malformed
+ ids, missing separators, unparseable suffixes, missing indexes, and
+ unmatched ids all collapse to ``None``. Callers use the sentinel to
+ default the entry's ``roll_type`` to ``"unknown"``.
+ """
+ if index is None:
+ return None
+ sep = shot_id.rfind("#")
+ if sep == -1:
+ return None
+ source_file = shot_id[:sep]
+ suffix = shot_id[sep + 1 :]
+ try:
+ start_time = float(suffix)
+ except ValueError:
+ return None
+ for shot in index.shots:
+ if (
+ shot.source_file == source_file
+ and abs(shot.start_time - start_time) < _SHOT_MATCH_EPSILON
+ ):
+ return shot
+ return None
+
+
+def _derive_source_timestamp(shot_id: str) -> float:
+ """Parse the numeric suffix from a shot_id, defaulting to ``0.0``.
+
+ Used for the display label even when roll_type resolution has
+ failed -- a badly formed id still gets a sensible label instead of
+ an exception bubbling up to the request handler.
+ """
+ sep = shot_id.rfind("#")
+ if sep == -1:
+ return 0.0
+ try:
+ return float(shot_id[sep + 1 :])
+ except ValueError:
+ return 0.0
+
+
+def _build_entry_payload(
+ entry: dict[str, Any],
+ job_id: str,
+ index: FootageIndex | None,
+) -> dict[str, Any]:
+ """Shape a single :class:`EditPlanEntry` dict for the timeline UI.
+
+ ``entry`` is the serialized dict form produced by
+ :func:`src.web.jobs._serialize_result` -- ie. already ``model_dump``'d.
+ We derive the display fields here instead of on the frontend so the
+ contract is stable and testable server-side.
+ """
+ shot_id = entry.get("shot_id") or ""
+ # Split on the LAST '#' to match _resolve_shot_for_entry -- source
+ # paths may contain '#' characters, so the separator is always the
+ # final occurrence.
+ _sep = shot_id.rfind("#") if shot_id else -1
+ source_file = shot_id[:_sep] if _sep != -1 else shot_id
+ # ``os.path.basename`` (not Path.name) because the shot_id may hold a
+ # POSIX path on a Windows server or vice versa; stdlib basename
+ # handles both separators without trying to normalize.
+ source_filename = os.path.basename(source_file) if source_file else ""
+ source_timestamp = _derive_source_timestamp(shot_id)
+ display_label = f"{source_filename}@{source_timestamp:.1f}s"
+
+ shot = _resolve_shot_for_entry(shot_id, index)
+ roll_type = shot.roll_type if shot is not None else "unknown"
+
+ start_trim = float(entry.get("start_trim", 0.0))
+ end_trim = float(entry.get("end_trim", 0.0))
+ position = int(entry.get("position", 0))
+ return {
+ "position": position,
+ "shot_id": shot_id,
+ "source_file": source_file,
+ "source_filename": source_filename,
+ "source_timestamp": source_timestamp,
+ "display_label": display_label,
+ "start_trim": start_trim,
+ "end_trim": end_trim,
+ "duration": end_trim - start_trim,
+ "text_overlay": entry.get("text_overlay"),
+ "transition": entry.get("transition"),
+ "roll_type": roll_type,
+ "thumbnail_url": f"/api/clips/{job_id}/{position}/thumbnail",
+ }
+
+
+def _require_completed_job_with_plan(
+ job: Job | None,
+ job_id: str,
+) -> dict[str, Any]:
+ """Validate ``job`` is completed with a serialized ``edit_plan``.
+
+ Returns the ``edit_plan`` dict on success. Raises 404/409 otherwise,
+ matching the detail-message conventions in
+ :mod:`tests.test_web_jobs_review` (detail includes id + wait hint).
+ """
+ if job is None:
+ raise HTTPException(
+ status_code=404,
+ detail=f"job {job_id!r} not found",
+ )
+ if job.status != "completed" or job.result is None:
+ raise HTTPException(
+ status_code=409,
+ detail=(
+ f"job {job_id!r} has no edit plan yet (status={job.status!r}); "
+ "wait until the pipeline completes"
+ ),
+ )
+ edit_plan = job.result.get("edit_plan")
+ if edit_plan is None:
+ raise HTTPException(
+ status_code=409,
+ detail=(
+ f"job {job_id!r} completed without an edit_plan; nothing to "
+ "display"
+ ),
+ )
+ return edit_plan
+
+
+# --------------------------------------------------------------------------- #
+# GET /api/jobs/{job_id}/edit-plan
+# --------------------------------------------------------------------------- #
+
+
[email protected]("/api/jobs/{job_id}/edit-plan")
+async def get_edit_plan(job_id: str, request: Request) -> dict[str, Any]:
+ """Return the enriched EditPlan for a completed job.
+
+ Each entry is augmented with the display fields the timeline UI
+ needs (source filename + timestamp, duration, roll_type, thumbnail
+ URL). Entries come back sorted by ``position`` ascending.
+ """
+ registry = get_registry(request)
+ job = registry.get(job_id)
+ edit_plan = _require_completed_job_with_plan(job, job_id)
+ assert job is not None # narrowed by the helper above
+
+ # Load the FootageIndex exactly once per request; every entry's
+ # roll_type lookup reuses this single parsed model.
+ index = _load_footage_index(job.footage_index_path)
+
+ raw_entries = list(edit_plan.get("entries") or [])
+ raw_entries.sort(key=lambda e: int(e.get("position", 0)))
+ entries = [_build_entry_payload(e, job_id, index) for e in raw_entries]
+
+ return {
+ "job_id": job_id,
+ "total_duration": float(edit_plan.get("total_duration", 0.0)),
+ "entry_count": len(entries),
+ "entries": entries,
+ }
+
+
+# --------------------------------------------------------------------------- #
+# GET /api/clips/{job_id}/{position}/thumbnail
+# --------------------------------------------------------------------------- #
+
+
+def _clip_paths(job: Job, position: int) -> tuple[Path, Path]:
+ """Return ``(clip_path, thumb_path)`` for a job + position.
+
+ Both paths live under ``output/working/{brief_slug}/`` so the
+ thumbnail sits next to its source clip -- makes cache invalidation
+ trivial (delete the brief dir and every cache entry goes with it).
+ """
+ brief_slug = _slugify_brief(job.brief)
+ working_dir = OUTPUT_DIR / "working" / brief_slug
+ clip_path = working_dir / f"clip_{position:02d}.mp4"
+ thumb_path = working_dir / f"clip_{position:02d}.thumb.jpg"
+ return clip_path, thumb_path
+
+
+def _extract_first_frame(clip_path: Path) -> bytes:
+ """Run ffmpeg once to pull a single JPEG-encoded frame out of ``clip_path``.
+
+ Uses ``-ss 0`` before ``-i`` for fast seek + ``-frames:v 1`` to cap
+ the output at one frame. ``-f image2 -vcodec mjpeg pipe:1`` writes
+ the JPEG bytes to stdout so we do not need a scratch file -- the
+ caller is responsible for persisting to the disk cache.
+
+ Passes argv as a list with ``shell=False`` (the default): the clip
+ path comes from filesystem composition, not user input, but the
+ list form is the right habit regardless.
+ """
+ cmd = [
+ "ffmpeg",
+ "-ss",
+ "0",
+ "-i",
+ str(clip_path),
+ "-frames:v",
+ "1",
+ "-f",
+ "image2",
+ "-vcodec",
+ "mjpeg",
+ "pipe:1",
+ ]
+ try:
+ completed = subprocess.run(
+ cmd,
+ capture_output=True,
+ check=True,
+ )
+ except FileNotFoundError as exc:
+ raise HTTPException(
+ status_code=500,
+ detail=f"ffmpeg binary not available: {exc}",
+ ) from exc
+ except subprocess.CalledProcessError as exc:
+ stderr_tail = (exc.stderr or b"").decode("utf-8", errors="replace")[-512:]
+ raise HTTPException(
+ status_code=500,
+ detail=f"ffmpeg failed to extract first frame: {stderr_tail}",
+ ) from exc
+ return completed.stdout
+
+
[email protected]("/api/clips/{job_id}/{position}/thumbnail")
+async def get_clip_thumbnail(
+ job_id: str,
+ position: int,
+ request: Request,
+) -> Response:
+ """Return a JPEG first-frame thumbnail for clip ``position`` of ``job_id``.
+
+ Cached on disk under the brief's working directory so repeat
+ requests never re-invoke ffmpeg. Browser-side caching is nudged via
+ ``Cache-Control: public, max-age=3600`` so timeline scrolls do not
+ re-fetch on every viewport shift.
+ """
+ registry = get_registry(request)
+ job = registry.get(job_id)
+ if job is None:
+ raise HTTPException(
+ status_code=404,
+ detail=f"job {job_id!r} not found",
+ )
+ if job.status != "completed" or job.result is None:
+ raise HTTPException(
+ status_code=409,
+ detail=(
+ f"job {job_id!r} has no rendered clips yet "
+ f"(status={job.status!r}); wait until the pipeline completes"
+ ),
+ )
+
+ # Bounds-check ``position`` against the stored edit plan so a bad
+ # request gets a 404 instead of silently 500ing on a missing file.
+ edit_plan = job.result.get("edit_plan") or {}
+ raw_entries = edit_plan.get("entries") or []
+ if position < 0 or position >= len(raw_entries):
+ raise HTTPException(
+ status_code=404,
+ detail=(
+ f"clip position {position} out of range for job {job_id!r} "
+ f"(edit plan has {len(raw_entries)} entries)"
+ ),
+ )
+
+ clip_path, thumb_path = _clip_paths(job, position)
+
+ if thumb_path.exists():
+ jpeg_bytes = thumb_path.read_bytes()
+ else:
+ if not clip_path.exists():
+ raise HTTPException(
+ status_code=404,
+ detail=(
+ f"clip file for job {job_id!r} position {position} not "
+ f"found on disk at {clip_path}"
+ ),
+ )
+ jpeg_bytes = _extract_first_frame(clip_path)
+ # Persist the cache. Best-effort: if the write fails (permission,
+ # disk full, race with another writer), still serve the bytes we
+ # have in memory so the request does not fail end-to-end.
+ try:
+ thumb_path.parent.mkdir(parents=True, exist_ok=True)
+ thumb_path.write_bytes(jpeg_bytes)
+ except OSError:
+ pass
+
+ return Response(
+ content=jpeg_bytes,
+ media_type="image/jpeg",
+ headers={"Cache-Control": "public, max-age=3600"},
+ )
diff --git a/src/web/routes/config.py b/src/web/routes/config.py
new file mode 100644
index 0000000..d6a8a14
--- /dev/null
+++ b/src/web/routes/config.py
@@ -0,0 +1,179 @@
+"""FastAPI routes that expose brief-builder configuration options (US-004).
+
+The AVE Studio brief builder needs to populate three dropdowns:
+
+* style presets — every YAML file under ``styles/``
+* pipeline manifests — every YAML file under ``pipelines/``
+* footage indexes — every ``footage_index*.json`` under ``output/``
+
+These three ``GET`` endpoints enumerate those directories on demand and
+return stable, alphabetically sorted lists so the UI render order is
+deterministic. The endpoints are intentionally side-effect free: they
+only read from disk, never write, and they degrade gracefully when the
+directories are missing (returning ``[]`` instead of 404) or when a
+footage-index file is unreadable (skipping it with a logged warning).
+"""
+
+from __future__ import annotations
+
+import json
+import logging
+from datetime import datetime, timezone
+from pathlib import Path
+
+from fastapi import APIRouter
+from pydantic import BaseModel
+
+logger = logging.getLogger(__name__)
+
+# Resolve the repo root the same way :mod:`src.web.app` does so the three
+# asset directories line up regardless of the current working directory
+# when the server is started.
+REPO_ROOT = Path(__file__).resolve().parents[3]
+STYLES_DIR = REPO_ROOT / "styles"
+PIPELINES_DIR = REPO_ROOT / "pipelines"
+OUTPUT_DIR = REPO_ROOT / "output"
+
+router = APIRouter(tags=["config"])
+
+
+class StyleEntry(BaseModel):
+ """Single entry in the ``GET /api/styles`` response."""
+
+ name: str
+ path: str
+
+
+class PipelineEntry(BaseModel):
+ """Single entry in the ``GET /api/pipelines`` response."""
+
+ name: str
+ path: str
+
+
+class FootageIndexEntry(BaseModel):
+ """Single entry in the ``GET /api/footage-indexes`` response.
+
+ ``shot_count`` is derived from the serialized
+ :class:`~src.models.schemas.FootageIndex` payload. ``created_at`` is
+ the ISO8601 timestamp embedded in the file, falling back to the
+ file's mtime (in UTC) when the payload has no timestamp.
+ """
+
+ name: str
+ path: str
+ shot_count: int
+ created_at: str
+
+
+def _list_yaml_entries(directory: Path, rel_prefix: str) -> list[dict[str, str]]:
+ """Return one ``{name, path}`` dict per ``*.yaml`` file in ``directory``.
+
+ ``name`` is the filename stem; ``path`` is a POSIX-style relative
+ path from the repo root (e.g. ``styles/dtc-testimonial.yaml``). The
+ result is sorted alphabetically by ``name`` so callers can rely on
+ render order being deterministic. A missing directory produces an
+ empty list rather than an error — the UI should treat "no presets"
+ as a normal state.
+ """
+ if not directory.is_dir():
+ return []
+ entries: list[dict[str, str]] = []
+ for yaml_path in directory.glob("*.yaml"):
+ if not yaml_path.is_file():
+ continue
+ entries.append(
+ {
+ "name": yaml_path.stem,
+ "path": f"{rel_prefix}/{yaml_path.name}",
+ }
+ )
+ entries.sort(key=lambda entry: entry["name"])
+ return entries
+
+
[email protected]("/api/styles", response_model=list[StyleEntry])
+async def list_styles() -> list[StyleEntry]:
+ """Enumerate every style preset YAML under ``styles/``."""
+ return [StyleEntry(**entry) for entry in _list_yaml_entries(STYLES_DIR, "styles")]
+
+
[email protected]("/api/pipelines", response_model=list[PipelineEntry])
+async def list_pipelines() -> list[PipelineEntry]:
+ """Enumerate every pipeline manifest YAML under ``pipelines/``."""
+ return [
+ PipelineEntry(**entry)
+ for entry in _list_yaml_entries(PIPELINES_DIR, "pipelines")
+ ]
+
+
[email protected]("/api/footage-indexes", response_model=list[FootageIndexEntry])
+async def list_footage_indexes() -> list[FootageIndexEntry]:
+ """Enumerate every ``footage_index*.json`` file under ``output/``.
+
+ For each file we parse the JSON, count shots, and extract the
+ embedded ``created_at`` timestamp. Files with invalid JSON are
+ skipped with a logged warning so a single bad file doesn't take the
+ entire endpoint down. If the payload has no timestamp we fall back
+ to the file's ``mtime`` in UTC.
+ """
+ if not OUTPUT_DIR.is_dir():
+ return []
+
+ entries: list[FootageIndexEntry] = []
+
+ # Collect index files: legacy top-level + project-scoped.
+ index_paths: list[Path] = list(OUTPUT_DIR.glob("footage_index*.json"))
+ projects_dir = OUTPUT_DIR / "projects"
+ if projects_dir.is_dir():
+ index_paths.extend(projects_dir.glob("*/footage_index.json"))
+
+ for index_path in index_paths:
+ if not index_path.is_file():
+ continue
+ try:
+ with index_path.open("r", encoding="utf-8") as fh:
+ data = json.load(fh)
+ except (json.JSONDecodeError, OSError) as exc:
+ logger.warning(
+ "Skipping unreadable footage index %s: %s", index_path.name, exc
+ )
+ continue
+
+ if not isinstance(data, dict):
+ logger.warning(
+ "Skipping footage index %s: expected object, got %s",
+ index_path.name,
+ type(data).__name__,
+ )
+ continue
+
+ shots = data.get("shots")
+ shot_count = len(shots) if isinstance(shots, list) else 0
+
+ created_at_raw = data.get("created_at")
+ if isinstance(created_at_raw, str) and created_at_raw:
+ created_at = created_at_raw
+ else:
+ mtime = datetime.fromtimestamp(
+ index_path.stat().st_mtime, tz=timezone.utc
+ )
+ created_at = mtime.isoformat()
+
+ # Compute a repo-relative path for both top-level and project indexes.
+ try:
+ rel_path = str(index_path.relative_to(REPO_ROOT))
+ except ValueError:
+ rel_path = str(index_path)
+
+ entries.append(
+ FootageIndexEntry(
+ name=index_path.stem,
+ path=rel_path,
+ shot_count=shot_count,
+ created_at=created_at,
+ )
+ )
+
+ entries.sort(key=lambda entry: entry.name)
+ return entries
diff --git a/src/web/routes/feedback.py b/src/web/routes/feedback.py
new file mode 100644
index 0000000..a2eac9a
--- /dev/null
+++ b/src/web/routes/feedback.py
@@ -0,0 +1,101 @@
+"""POST /api/jobs/{id}/feedback -- chat feedback triggers a pipeline re-run.
+
+The endpoint accepts a free-text user message describing what the user
+wants changed about the rendered video, constructs a new
+``feedback-rerun`` :class:`~src.web.jobs.Job` that inherits the parent's
+brief / footage / pipeline context, and returns ``202 Accepted`` with
+the new job id so the UI can subscribe to ``/ws/jobs/{new-id}`` and
+stream progress for the re-run exactly like a normal pipeline run.
+
+Contract:
+
+* ``POST /api/jobs/{id}/feedback`` body: ``{"message": "..."}``.
+* Success response (202): ``{"job_id": "<uuid>", "status": "pending",
+ "parent_job_id": "<uuid>"}``.
+* ``404`` if the parent job id is unknown.
+* ``409`` if the parent is not yet ``completed`` or is missing the
+ ``edit_plan`` / ``footage_index_path`` the re-run needs as input.
+
+All registry mutation happens through
+:meth:`JobRegistry.submit_feedback_rerun`, which builds the
+accumulated ``feedback_history`` the child should see and enqueues it
+on the same sequential worker used by :meth:`JobRegistry.submit` so
+only one pipeline runs at a time.
+"""
+
+from __future__ import annotations
+
+from fastapi import APIRouter, HTTPException, Request
+from pydantic import BaseModel, Field
+
+from src.web.routes.jobs import get_registry
+
+router = APIRouter(prefix="/api/jobs", tags=["feedback"])
+
+
+class FeedbackRequest(BaseModel):
+ """Request payload for ``POST /api/jobs/{id}/feedback``."""
+
+ message: str = Field(
+ ...,
+ min_length=1,
+ max_length=4000,
+ description=(
+ "User feedback to inject into the Director on the re-run. "
+ "Concatenated with prior feedback history and passed verbatim "
+ "to ``_run_director_with_feedback``."
+ ),
+ )
+
+
+class FeedbackResponse(BaseModel):
+ """Response body for ``POST /api/jobs/{id}/feedback``."""
+
+ job_id: str = Field(..., description="UUID of the new feedback-rerun job.")
+ status: str = Field(..., description="Initial status, always ``pending``.")
+ parent_job_id: str = Field(
+ ..., description="UUID of the job whose output this re-run revises."
+ )
+
+
+ "/{job_id}/feedback",
+ status_code=202,
+ response_model=FeedbackResponse,
+)
+async def post_feedback(
+ job_id: str,
+ payload: FeedbackRequest,
+ request: Request,
+) -> FeedbackResponse:
+ """Submit chat feedback for ``job_id`` and enqueue a pipeline re-run.
+
+ The parent job must be in ``"completed"`` state with an ``edit_plan``
+ in its serialized result -- the re-run path inside
+ :meth:`JobRegistry._run_feedback_rerun_sync` calls
+ :func:`_run_director_with_feedback` and feeds the revised plan
+ through trim_refiner -> editor -> reviewer, so there must be a
+ finished plan to build on. Pending / running / failed parents return
+ 409 Conflict.
+
+ The child's ``feedback_history`` is the parent's existing history
+ with ``payload.message`` appended, so each subsequent chat round
+ sees every prior user message plus the original reviewer feedback
+ (if any) in chronological order.
+ """
+ registry = get_registry(request)
+ parent = registry.get(job_id)
+ if parent is None:
+ raise HTTPException(
+ status_code=404,
+ detail=f"job {job_id!r} not found",
+ )
+ try:
+ child = registry.submit_feedback_rerun(parent, payload.message.strip())
+ except ValueError as exc:
+ raise HTTPException(status_code=409, detail=str(exc)) from exc
+ return FeedbackResponse(
+ job_id=child.id,
+ status=child.status,
+ parent_job_id=parent.id,
+ )
diff --git a/src/web/routes/footage.py b/src/web/routes/footage.py
new file mode 100644
index 0000000..d609c2f
--- /dev/null
+++ b/src/web/routes/footage.py
@@ -0,0 +1,271 @@
+"""US-009 routes -- footage search/catalog access for the shot-swap UI.
+
+Endpoints:
+
+* ``GET /api/footage/search?query=...&footage_index_path=...`` -- thin
+ HTTP wrapper around :func:`src.tools.analyze.search_moments`. Loads
+ the :class:`~src.models.schemas.FootageIndex` from
+ ``footage_index_path``, ranks shots against ``query`` using the same
+ deterministic lexical ranker the Director agent uses, and returns a
+ JSON list of matches in a shape the frontend shot-browser can render
+ directly (shot_id, source_file, source_filename, start_time,
+ end_time, duration, description, transcript, roll_type,
+ relevance_score).
+* ``GET /api/footage/catalog?footage_index_path=...`` -- loads the
+ same :class:`FootageIndex` and returns every shot without applying
+ lexical search. This gives the edit UI a complete local bounds cache
+ without relying on stopword-prone broad search queries.
+
+The endpoint is intentionally read-only and side-effect free -- swapping
+shots in an :class:`~src.models.schemas.EditPlan` happens through
+``PUT /api/jobs/{id}/edit-plan``; this route only feeds the picker.
+
+Error shape matches the conventions used elsewhere in ``src/web``:
+
+* ``422`` when ``query`` is empty or whitespace-only. Uses the standard
+ FastAPI validation-error body with a ``loc`` pointing at the query
+ parameter so the frontend can surface a field-level message.
+* ``404`` when ``footage_index_path`` is missing, unreadable, or fails
+ to parse as a :class:`FootageIndex`. The distinction between "file
+ absent" and "file malformed" is surfaced in ``detail`` so operators
+ can fix whichever they hit.
+* ``200`` with ``{"query": ..., "results": [...], "count": N}``
+ otherwise. ``results`` is empty when nothing matched -- that is NOT
+ an error.
+
+Defaults for ``min_relevance`` and ``max_results`` are wired as query
+parameters so the frontend can tune recall vs. precision per picker
+interaction without a backend change.
+"""
+
+from __future__ import annotations
+
+import os
+from pathlib import Path
+from typing import Any
+
+from fastapi import APIRouter, HTTPException, Query
+from pydantic import ValidationError
+
+from src.models.schemas import FootageIndex, Shot
+from src.tools.analyze import _score_shot, _tokenize, search_moments
+
+router = APIRouter(prefix="/api/footage", tags=["footage"])
+
+
+#: Default minimum lexical relevance for the picker. Matches the
+#: Director's typical call -- low enough to surface partial matches so
+#: users can still manually pick near-misses, high enough that pure
+#: stopword hits do not pollute the list.
+_DEFAULT_MIN_RELEVANCE = 0.1
+
+#: Default cap on results returned to the picker UI. The frontend
+#: renders a scrollable list, so we do not need more than this per
+#: query -- users who want a different result should refine the query.
+_DEFAULT_MAX_RESULTS = 20
+
+
+def _validation_error(field: str, message: str, error_type: str) -> list[dict[str, Any]]:
+ """Build a FastAPI-shaped validation error body for ``HTTPException.detail``.
+
+ FastAPI's own 422 responses use ``{"detail": [{"loc": [...],
+ "msg": ..., "type": ...}]}`` so matching that shape here keeps the
+ frontend error-rendering path uniform across hand-raised and
+ automatic validation failures.
+ """
+ return [
+ {
+ "loc": ["query", field],
+ "msg": message,
+ "type": error_type,
+ }
+ ]
+
+
+def _source_filename(source_file: str) -> str:
+ """Return the bare filename for a source path.
+
+ ``os.path.basename`` (not :meth:`pathlib.Path.name`) because the
+ stored path may use a different separator than the server's host
+ OS -- basename handles both styles without attempting normalization.
+ """
+ return os.path.basename(source_file) if source_file else ""
+
+
+def _load_footage_index(path: Path, footage_index_path: str) -> FootageIndex:
+ """Load ``path`` as a :class:`FootageIndex` or raise route-level 404."""
+ if not path.exists():
+ raise HTTPException(
+ status_code=404,
+ detail=(
+ f"footage_index_path not found on disk: {footage_index_path!r}"
+ ),
+ )
+ try:
+ text = path.read_text(encoding="utf-8")
+ except OSError as exc:
+ raise HTTPException(
+ status_code=404,
+ detail=f"footage_index_path unreadable: {exc}",
+ ) from exc
+ try:
+ return FootageIndex.model_validate_json(text)
+ except ValidationError as exc:
+ raise HTTPException(
+ status_code=404,
+ detail=(
+ f"footage_index_path exists but is not a valid FootageIndex: "
+ f"{exc.errors()[:3]}"
+ ),
+ ) from exc
+
+
+def _shot_result(shot: Shot, relevance_score: float | None = None) -> dict[str, Any]:
+ """Return the display-ready shot payload used by footage endpoints."""
+ duration = max(0.0, shot.end_time - shot.start_time)
+ result: dict[str, Any] = {
+ "shot_id": f"{shot.source_file}#{shot.start_time}",
+ "source_file": shot.source_file,
+ "source_filename": _source_filename(shot.source_file),
+ "start_time": shot.start_time,
+ "end_time": shot.end_time,
+ "duration": duration,
+ "description": shot.description,
+ "transcript": shot.transcript,
+ "roll_type": shot.roll_type,
+ "display_label": (
+ f"{_source_filename(shot.source_file)}@{shot.start_time:.1f}s"
+ ),
+ }
+ if relevance_score is not None:
+ result["relevance_score"] = round(relevance_score, 4)
+ return result
+
+
[email protected]("/catalog")
+async def catalog_footage(
+ footage_index_path: str = Query(
+ ...,
+ description=(
+ "Filesystem path to a serialized FootageIndex JSON file. "
+ "Returns every shot without applying search relevance."
+ ),
+ ),
+) -> dict[str, Any]:
+ """Return every shot in ``footage_index_path`` without lexical search."""
+ path = Path(footage_index_path)
+ index = _load_footage_index(path, footage_index_path)
+ results = [_shot_result(shot) for shot in index.shots]
+ return {
+ "footage_index_path": str(path),
+ "count": len(results),
+ "results": results,
+ }
+
+
+async def search_footage(
+ query: str = Query(
+ ...,
+ description=(
+ "Free-text query describing the desired moment. Tokenized "
+ "against each shot's description, transcript, roll_type, "
+ "and filename stem."
+ ),
+ ),
+ footage_index_path: str = Query(
+ ...,
+ description=(
+ "Filesystem path to a serialized FootageIndex JSON file. "
+ "Typically the same value passed to ``POST /api/jobs``."
+ ),
+ ),
+ min_relevance: float = Query(
+ _DEFAULT_MIN_RELEVANCE,
+ ge=0.0,
+ le=1.0,
+ description=(
+ "Minimum lexical score in [0.0, 1.0]. Shots scoring below "
+ "this are dropped before truncation."
+ ),
+ ),
+ max_results: int = Query(
+ _DEFAULT_MAX_RESULTS,
+ ge=1,
+ le=200,
+ description=(
+ "Maximum number of ranked shots to return. Results come "
+ "back sorted by descending relevance."
+ ),
+ ),
+) -> dict[str, Any]:
+ """Rank shots in ``footage_index_path`` against ``query``.
+
+ Wraps :func:`src.tools.analyze.search_moments` so the picker UI
+ does not need to know about the ranker or the FootageIndex file
+ format. Returns a JSON object with the echoed query plus a
+ ``results`` list containing each matching shot in display-ready
+ form.
+ """
+ cleaned_query = query.strip()
+ if not cleaned_query:
+ raise HTTPException(
+ status_code=422,
+ detail=_validation_error(
+ "query",
+ "query must not be empty or whitespace-only",
+ "value_error.empty",
+ ),
+ )
+
+ path = Path(footage_index_path)
+
+ # We could let ``search_moments`` raise here and convert the
+ # exception in a wrapper, but doing it inline lets us tell the
+ # caller the difference between "file missing" (404) and "file is
+ # not a valid FootageIndex" (404 with a different detail message).
+ try:
+ matches = search_moments(
+ footage_index_path=str(path),
+ query=cleaned_query,
+ min_relevance=min_relevance,
+ max_results=max_results,
+ )
+ except FileNotFoundError as exc:
+ # Defensive: ``path.exists()`` already guarded against the most
+ # common case, but ``search_moments`` also raises on missing
+ # files so we map both to the same 404.
+ raise HTTPException(
+ status_code=404,
+ detail=f"footage_index_path not found on disk: {footage_index_path!r}",
+ ) from exc
+ except ValidationError as exc:
+ raise HTTPException(
+ status_code=404,
+ detail=(
+ f"footage_index_path exists but is not a valid FootageIndex: "
+ f"{exc.errors()[:3]}"
+ ),
+ ) from exc
+
+ # Compute per-shot relevance scores again so the response carries
+ # them -- ``search_moments`` returns bare :class:`Shot` objects and
+ # does not expose the internal score. Re-running the local ranker
+ # is O(n) over the filtered list and keeps the tool function's
+ # public contract unchanged.
+ query_tokens = _tokenize(cleaned_query)
+
+ results: list[dict[str, Any]] = []
+ for shot in matches:
+ score = _score_shot(query_tokens, shot)
+ results.append(_shot_result(shot, score))
+
+ return {
+ "query": cleaned_query,
+ "footage_index_path": str(path),
+ "count": len(results),
+ "results": results,
+ }
+
+
+__all__ = ["router"]
diff --git a/src/web/routes/jobs.py b/src/web/routes/jobs.py
new file mode 100644
index 0000000..5623854
--- /dev/null
+++ b/src/web/routes/jobs.py
@@ -0,0 +1,466 @@
+"""FastAPI routes for the AVE Studio job API.
+
+All three endpoints operate against the :class:`~src.web.jobs.JobRegistry`
+that is stored on ``app.state.job_registry`` by the app's lifespan handler.
+Routes fetch the registry via a FastAPI dependency so tests can swap it out
+by overriding :func:`get_registry` if needed.
+"""
+
+from __future__ import annotations
+
+from pathlib import Path
+from typing import Any
+
+from fastapi import APIRouter, HTTPException, Request
+from pydantic import BaseModel, Field, ValidationError
+
+from src.models.schemas import CreativeBrief, EditPlan, FootageIndex, Shot
+from src.web.jobs import JobRegistry
+
+#: Float tolerance when matching ``EditPlanEntry.shot_id`` start_time
+#: suffixes to :attr:`Shot.start_time` during PUT validation. Matches
+#: the looser-than-editor epsilon used in
+#: :mod:`src.web.routes.clips` so display-resolution and PUT-validation
+#: resolution agree on whether a shot_id refers to an existing shot --
+#: a round-trip through JSON may drop a few LSBs that a strict
+#: ``1e-6`` comparison would reject.
+_SHOT_MATCH_EPSILON = 1e-3
+
+#: Tiny extra tolerance on trim-bound comparisons. Clients that slid a
+#: slider control to the exact end of a shot can end up passing a
+#: start/end trim that is a few LSBs outside the shot's declared
+#: ``[start_time, end_time]`` range; rejecting those would be a UX
+#: footgun, so we accept anything within this margin and let the
+#: editor ffmpeg pipeline clamp to the real bounds.
+_TRIM_EPSILON = 1e-3
+
+router = APIRouter(prefix="/api/jobs", tags=["jobs"])
+
+
+class CreateJobRequest(BaseModel):
+ """Request payload for ``POST /api/jobs``.
+
+ The brief is accepted as a nested object so the UI can serialize its
+ Alpine.js form state 1:1 without any field renaming. ``style_ref`` is
+ optional to match :class:`CreativeBrief`.
+ """
+
+ brief: CreativeBrief
+ footage_index_path: str = Field(
+ ..., description="Filesystem path to the serialized FootageIndex JSON."
+ )
+ pipeline_path: str = Field(
+ ..., description="Filesystem path to the YAML pipeline manifest."
+ )
+
+
+class CreateJobResponse(BaseModel):
+ """Response body for ``POST /api/jobs``."""
+
+ job_id: str
+ status: str
+
+
+def get_registry(request: Request) -> JobRegistry:
+ """FastAPI dependency: fetch the :class:`JobRegistry` from app state.
+
+ The registry is attached to ``app.state`` by the lifespan handler in
+ :mod:`src.web.app`. Raising a 503 (instead of letting a bare
+ ``AttributeError`` propagate) gives the client a clearer signal when a
+ request lands before startup finishes or after shutdown has begun.
+ """
+ registry: JobRegistry | None = getattr(request.app.state, "job_registry", None)
+ if registry is None:
+ raise HTTPException(
+ status_code=503,
+ detail="JobRegistry is not initialized yet; server is still starting",
+ )
+ return registry
+
+
[email protected]("", response_model=CreateJobResponse, status_code=202)
+async def create_job(
+ payload: CreateJobRequest,
+ request: Request,
+) -> CreateJobResponse:
+ """Submit a new pipeline job and return its id + initial status.
+
+ The job starts in ``pending`` and transitions to ``running`` once the
+ sequential worker picks it up. Clients poll ``GET /api/jobs/{id}`` for
+ updates.
+ """
+ registry = get_registry(request)
+ job = registry.submit(
+ brief=payload.brief,
+ footage_index_path=payload.footage_index_path,
+ pipeline_path=payload.pipeline_path,
+ )
+ return CreateJobResponse(job_id=job.id, status=job.status)
+
+
+async def list_jobs(request: Request) -> list[dict[str, Any]]:
+ """Return a status-summary list of every known job.
+
+ The UI uses this for the sidebar / history panel — it should stay
+ lightweight, so we return the :meth:`Job.summary` shape instead of the
+ full progress log.
+ """
+ registry = get_registry(request)
+ return [job.summary() for job in registry.list_jobs()]
+
+
[email protected]("/{job_id}")
+async def get_job(job_id: str, request: Request) -> dict[str, Any]:
+ """Return the full state of a single job, including its progress log.
+
+ Returns 404 if the id is unknown. The returned dict is a snapshot;
+ later appends by the worker thread do not mutate it.
+ """
+ registry = get_registry(request)
+ job = registry.get(job_id)
+ if job is None:
+ raise HTTPException(status_code=404, detail=f"job {job_id!r} not found")
+ return job.to_dict()
+
+
[email protected]("/{job_id}/review")
+async def get_job_review(job_id: str, request: Request) -> dict[str, Any]:
+ """Return the ReviewScore + retry metadata for a completed job.
+
+ Body shape: ``{"review": {...} | None, "retries_used": int,
+ "feedback_history": [...]}``. Returns 404 if the job id is unknown and
+ 409 if the job exists but has no result yet (still pending/running, or
+ the run failed before a ReviewScore was produced).
+ """
+ registry = get_registry(request)
+ job = registry.get(job_id)
+ if job is None:
+ raise HTTPException(status_code=404, detail=f"job {job_id!r} not found")
+ if job.result is None:
+ raise HTTPException(
+ status_code=409,
+ detail=(
+ f"job {job_id!r} has no review yet (status={job.status!r}); "
+ "wait until the pipeline completes"
+ ),
+ )
+ return {
+ "review": job.result.get("review"),
+ "retries_used": job.result.get("retries_used", 0),
+ "feedback_history": list(job.result.get("feedback_history", [])),
+ }
+
+
+# --------------------------------------------------------------------------- #
+# PUT /api/jobs/{job_id}/edit-plan (US-009)
+# --------------------------------------------------------------------------- #
+
+
+def _validation_error(
+ loc: list[str | int],
+ message: str,
+ error_type: str,
+) -> dict[str, Any]:
+ """Build a single FastAPI-shaped validation error dict.
+
+ Mirrors the body FastAPI itself emits for automatic pydantic
+ failures so the frontend can render field-level errors uniformly
+ whether they came from schema coercion or our hand-written
+ checks.
+ """
+ return {"loc": loc, "msg": message, "type": error_type}
+
+
+def _load_footage_index_or_422(path_str: str | None) -> FootageIndex:
+ """Load a :class:`FootageIndex` from ``path_str`` or raise HTTP 422.
+
+ The PUT endpoint needs the index to validate every shot_id, so a
+ missing/unreadable/malformed index is a hard failure for the
+ request (unlike the GET endpoint which degrades to
+ ``roll_type="unknown"``). The error shape intentionally targets the
+ server-side ``footage_index_path`` the job was created with, not a
+ field in the request body, so the frontend surfaces an operator
+ error ("the job's footage is gone") rather than a user error.
+ """
+ if not path_str:
+ raise HTTPException(
+ status_code=422,
+ detail=[
+ _validation_error(
+ ["job", "footage_index_path"],
+ "job has no footage_index_path; cannot validate edit plan",
+ "value_error.missing",
+ )
+ ],
+ )
+ path = Path(path_str)
+ if not path.exists():
+ raise HTTPException(
+ status_code=422,
+ detail=[
+ _validation_error(
+ ["job", "footage_index_path"],
+ f"footage_index_path not found on disk: {path_str!r}",
+ "value_error.path_not_found",
+ )
+ ],
+ )
+ try:
+ text = path.read_text(encoding="utf-8")
+ except OSError as exc:
+ raise HTTPException(
+ status_code=422,
+ detail=[
+ _validation_error(
+ ["job", "footage_index_path"],
+ f"footage_index_path unreadable: {exc}",
+ "value_error.path_unreadable",
+ )
+ ],
+ ) from exc
+ try:
+ return FootageIndex.model_validate_json(text)
+ except ValidationError as exc:
+ raise HTTPException(
+ status_code=422,
+ detail=[
+ _validation_error(
+ ["job", "footage_index_path"],
+ (
+ "footage_index_path exists but is not a valid "
+ f"FootageIndex: {exc.errors()[:3]}"
+ ),
+ "value_error.footage_index_invalid",
+ )
+ ],
+ ) from exc
+
+
+def _resolve_shot(shot_id: str, index: FootageIndex) -> Shot | None:
+ """Return the :class:`Shot` referenced by ``shot_id`` or ``None``.
+
+ Splits on the LAST ``#`` (source paths may contain ``#``), parses
+ the trailing float as the shot's start_time, and matches against
+ :attr:`FootageIndex.shots` with :data:`_SHOT_MATCH_EPSILON`
+ tolerance. Mirrors the resolver in :mod:`src.web.routes.clips` so
+ GET-enrichment and PUT-validation agree on what counts as a
+ matching shot.
+ """
+ sep = shot_id.rfind("#")
+ if sep == -1:
+ return None
+ source_file = shot_id[:sep]
+ suffix = shot_id[sep + 1 :]
+ try:
+ start_time = float(suffix)
+ except ValueError:
+ return None
+ for shot in index.shots:
+ if (
+ shot.source_file == source_file
+ and abs(shot.start_time - start_time) < _SHOT_MATCH_EPSILON
+ ):
+ return shot
+ return None
+
+
+def _validate_edit_plan_against_index(
+ plan: EditPlan,
+ index: FootageIndex,
+) -> list[dict[str, Any]]:
+ """Collect every field-level validation error against ``index``.
+
+ Returns a list of FastAPI-shaped error dicts (one per offending
+ field). An empty list means the plan passes. The caller decides
+ whether to raise 422 or persist.
+
+ Three families of checks:
+
+ 1. Every entry's ``shot_id`` resolves to a :class:`Shot` in the
+ FootageIndex. Unresolved entries get a single error against
+ ``["body", "entries", i, "shot_id"]``.
+ 2. Every entry's ``[start_trim, end_trim]`` lies within the shot's
+ ``[start_time, end_time]`` bounds (with
+ :data:`_TRIM_EPSILON` slack), and the trims are monotonic
+ (``start_trim <= end_trim``). Both bound violations and
+ ordering violations are reported against the offending field.
+ Trim checks are skipped for entries that failed check 1 so we
+ do not drown the frontend in cascading errors for a single bad
+ id.
+ 3. Positions form a contiguous ``0..N-1`` sequence. This is
+ reported once at the plan level with ``["body", "entries"]``
+ (no per-entry duplication) because the offending index set is
+ a property of the whole list, not any single entry.
+ """
+ errors: list[dict[str, Any]] = []
+ entries = list(plan.entries)
+
+ for i, entry in enumerate(entries):
+ shot = _resolve_shot(entry.shot_id, index)
+ if shot is None:
+ errors.append(
+ _validation_error(
+ ["body", "entries", i, "shot_id"],
+ (
+ f"shot_id {entry.shot_id!r} does not resolve to any "
+ "shot in the footage index"
+ ),
+ "value_error.shot_not_found",
+ )
+ )
+ continue
+
+ # Trim order: start must be <= end (equality allowed so a
+ # zero-duration placeholder is not rejected -- the editor will
+ # drop it later but that is not a validation concern).
+ if entry.start_trim > entry.end_trim + _TRIM_EPSILON:
+ errors.append(
+ _validation_error(
+ ["body", "entries", i, "start_trim"],
+ (
+ f"start_trim ({entry.start_trim}) must be <= end_trim "
+ f"({entry.end_trim})"
+ ),
+ "value_error.trim_order",
+ )
+ )
+ continue
+
+ # Bounds: trims must lie within the shot's [start_time,
+ # end_time] window (with epsilon slack).
+ if entry.start_trim < shot.start_time - _TRIM_EPSILON:
+ errors.append(
+ _validation_error(
+ ["body", "entries", i, "start_trim"],
+ (
+ f"start_trim ({entry.start_trim}) is before shot "
+ f"start_time ({shot.start_time})"
+ ),
+ "value_error.trim_out_of_bounds",
+ )
+ )
+ if entry.start_trim > shot.end_time + _TRIM_EPSILON:
+ errors.append(
+ _validation_error(
+ ["body", "entries", i, "start_trim"],
+ (
+ f"start_trim ({entry.start_trim}) is after shot "
+ f"end_time ({shot.end_time})"
+ ),
+ "value_error.trim_out_of_bounds",
+ )
+ )
+ if entry.end_trim < shot.start_time - _TRIM_EPSILON:
+ errors.append(
+ _validation_error(
+ ["body", "entries", i, "end_trim"],
+ (
+ f"end_trim ({entry.end_trim}) is before shot "
+ f"start_time ({shot.start_time})"
+ ),
+ "value_error.trim_out_of_bounds",
+ )
+ )
+ if entry.end_trim > shot.end_time + _TRIM_EPSILON:
+ errors.append(
+ _validation_error(
+ ["body", "entries", i, "end_trim"],
+ (
+ f"end_trim ({entry.end_trim}) is after shot "
+ f"end_time ({shot.end_time})"
+ ),
+ "value_error.trim_out_of_bounds",
+ )
+ )
+
+ # Positions must form a contiguous 0..N-1 sequence. We sort so
+ # reorders are permitted -- the frontend may submit entries in any
+ # order so long as the set of declared positions is exactly
+ # ``{0, 1, ..., N-1}``.
+ positions = sorted(entry.position for entry in entries)
+ expected = list(range(len(entries)))
+ if positions != expected:
+ errors.append(
+ _validation_error(
+ ["body", "entries"],
+ (
+ f"positions must form a contiguous 0..N-1 sequence "
+ f"(got {positions!r}, expected {expected!r})"
+ ),
+ "value_error.positions_not_contiguous",
+ )
+ )
+
+ return errors
+
+
[email protected]("/{job_id}/edit-plan")
+async def update_edit_plan(
+ job_id: str,
+ payload: dict[str, Any],
+ request: Request,
+) -> dict[str, Any]:
+ """Persist a modified :class:`EditPlan` onto a completed job.
+
+ Accepts the same serialized shape the GET endpoint returns (minus
+ the display-only fields) and validates it against the job's
+ original :class:`FootageIndex` before writing it back onto
+ :attr:`Job.result`. Does NOT trigger any pipeline re-run -- that
+ flow belongs to ``POST /api/jobs/{id}/feedback``.
+
+ Validation happens in three layers:
+
+ 1. The body must be a valid :class:`EditPlan` per Pydantic
+ (missing/mistyped fields -> 422).
+ 2. Every ``shot_id`` must resolve and every trim must stay within
+ the resolved shot's bounds (422 with per-field errors).
+ 3. The positions across all entries must form a contiguous
+ ``0..N-1`` sequence (422 with a plan-level error).
+
+ On success the request returns ``{"edit_plan": <saved plan>}`` and
+ mutates ``job.result["edit_plan"]`` in place so subsequent
+ ``GET /api/jobs/{id}/edit-plan`` and ``GET /api/clips/{id}/{pos}/
+ thumbnail`` calls see the new shape.
+ """
+ registry = get_registry(request)
+ job = registry.get(job_id)
+ if job is None:
+ raise HTTPException(
+ status_code=404,
+ detail=f"job {job_id!r} not found",
+ )
+ if job.result is None:
+ raise HTTPException(
+ status_code=409,
+ detail=(
+ f"job {job_id!r} has no edit plan yet (status={job.status!r}); "
+ "wait until the pipeline completes"
+ ),
+ )
+
+ # Layer 1: pydantic coercion. Raises ValidationError we convert to
+ # a 422 with the same shape FastAPI uses for automatic request
+ # validation -- the frontend already knows how to render that.
+ try:
+ plan = EditPlan.model_validate(payload)
+ except ValidationError as exc:
+ raise HTTPException(
+ status_code=422,
+ detail=exc.errors(),
+ ) from exc
+
+ # Layer 2 + 3: footage-aware semantic validation.
+ index = _load_footage_index_or_422(job.footage_index_path)
+ errors = _validate_edit_plan_against_index(plan, index)
+ if errors:
+ raise HTTPException(status_code=422, detail=errors)
+
+ # Persist back onto the job. ``job.result`` is a plain dict (see
+ # :func:`src.web.jobs._serialize_result`) so we overwrite the
+ # ``edit_plan`` key in place. Mutation is safe from the asyncio
+ # event loop -- no worker thread is touching this result after
+ # ``status="completed"``.
+ saved = plan.model_dump()
+ job.result["edit_plan"] = saved
+ return {"edit_plan": saved}
diff --git a/src/web/routes/projects.py b/src/web/routes/projects.py
new file mode 100644
index 0000000..9e23546
--- /dev/null
+++ b/src/web/routes/projects.py
@@ -0,0 +1,186 @@
+"""Project management routes for generalized footage ingestion.
+
+A project wraps a footage directory with an automatically generated
+FootageIndex. Users create a project by pointing at a local folder of
+video files; the backend runs ``preprocess_footage()`` asynchronously
+and tracks status until the index is ready.
+
+The in-memory ``ProjectStore`` mirrors the ``JobRegistry`` pattern --
+dict keyed by UUID, no external persistence, single-process scope.
+"""
+
+from __future__ import annotations
+
+import asyncio
+import logging
+import uuid
+from dataclasses import dataclass, field
+from datetime import datetime, timezone
+from pathlib import Path
+
+from fastapi import APIRouter, HTTPException
+from pydantic import BaseModel
+
+from src.models.schemas import FootageIndex
+from src.pipeline.preprocess import preprocess_footage
+
+logger = logging.getLogger(__name__)
+
+REPO_ROOT = Path(__file__).resolve().parents[3]
+OUTPUT_DIR = REPO_ROOT / "output"
+
+router = APIRouter(tags=["projects"])
+
+
+# ---------------------------------------------------------------------------
+# Data model
+# ---------------------------------------------------------------------------
+
+@dataclass
+class Project:
+ id: str
+ name: str
+ footage_dir: str
+ footage_index_path: str
+ status: str # "preprocessing" | "ready" | "failed"
+ shot_count: int = 0
+ total_duration: float = 0.0
+ created_at: datetime = field(default_factory=lambda: datetime.now(timezone.utc))
+ error: str | None = None
+
+ def summary(self) -> dict:
+ return {
+ "id": self.id,
+ "name": self.name,
+ "footage_dir": self.footage_dir,
+ "footage_index_path": self.footage_index_path,
+ "status": self.status,
+ "shot_count": self.shot_count,
+ "total_duration": self.total_duration,
+ "created_at": self.created_at.isoformat(),
+ "error": self.error,
+ }
+
+
+# ---------------------------------------------------------------------------
+# In-memory store
+# ---------------------------------------------------------------------------
+
+class ProjectStore:
+ def __init__(self) -> None:
+ self._projects: dict[str, Project] = {}
+
+ def get(self, project_id: str) -> Project | None:
+ return self._projects.get(project_id)
+
+ def list_projects(self) -> list[Project]:
+ return sorted(self._projects.values(), key=lambda p: p.created_at)
+
+ def create(self, name: str, footage_dir: str) -> Project:
+ project_id = str(uuid.uuid4())
+ index_dir = OUTPUT_DIR / "projects" / project_id
+ index_dir.mkdir(parents=True, exist_ok=True)
+ footage_index_path = str(index_dir / "footage_index.json")
+
+ project = Project(
+ id=project_id,
+ name=name,
+ footage_dir=footage_dir,
+ footage_index_path=footage_index_path,
+ status="preprocessing",
+ )
+ self._projects[project_id] = project
+ return project
+
+ def delete(self, project_id: str) -> bool:
+ return self._projects.pop(project_id, None) is not None
+
+
+# Singleton -- attached to app.state in lifespan, but also usable directly.
+_store = ProjectStore()
+
+
+def get_store() -> ProjectStore:
+ return _store
+
+
+# ---------------------------------------------------------------------------
+# Background preprocessing
+# ---------------------------------------------------------------------------
+
+async def _run_preprocessing(project: Project) -> None:
+ """Run ``preprocess_footage`` in a thread and update project status."""
+ try:
+ await asyncio.to_thread(
+ preprocess_footage,
+ input_dir=project.footage_dir,
+ output_path=project.footage_index_path,
+ )
+ # Read back the index to populate shot_count and total_duration.
+ index_path = Path(project.footage_index_path)
+ if index_path.is_file():
+ index = FootageIndex.model_validate_json(index_path.read_text("utf-8"))
+ project.shot_count = len(index.shots)
+ project.total_duration = index.total_duration
+ project.status = "ready"
+ logger.info("Project %s preprocessing complete: %d shots", project.id, project.shot_count)
+ except Exception as exc:
+ project.status = "failed"
+ project.error = str(exc)
+ logger.exception("Project %s preprocessing failed", project.id)
+
+
+# ---------------------------------------------------------------------------
+# Request / response models
+# ---------------------------------------------------------------------------
+
+class CreateProjectRequest(BaseModel):
+ name: str
+ footage_dir: str
+
+
+class CreateProjectResponse(BaseModel):
+ id: str
+ name: str
+ status: str
+
+
+# ---------------------------------------------------------------------------
+# Endpoints
+# ---------------------------------------------------------------------------
+
[email protected]("/api/projects", response_model=CreateProjectResponse, status_code=202)
+async def create_project(body: CreateProjectRequest) -> CreateProjectResponse:
+ footage_path = Path(body.footage_dir).expanduser().resolve()
+ if not footage_path.is_dir():
+ raise HTTPException(status_code=422, detail=f"Directory does not exist: {body.footage_dir}")
+
+ store = get_store()
+ project = store.create(name=body.name, footage_dir=str(footage_path))
+
+ # Fire-and-forget preprocessing task.
+ asyncio.create_task(_run_preprocessing(project))
+
+ return CreateProjectResponse(id=project.id, name=project.name, status=project.status)
+
+
[email protected]("/api/projects")
+async def list_projects() -> list[dict]:
+ store = get_store()
+ return [p.summary() for p in store.list_projects()]
+
+
[email protected]("/api/projects/{project_id}")
+async def get_project(project_id: str) -> dict:
+ store = get_store()
+ project = store.get(project_id)
+ if project is None:
+ raise HTTPException(status_code=404, detail="Project not found")
+ return project.summary()
+
+
[email protected]("/api/projects/{project_id}", status_code=204)
+async def delete_project(project_id: str) -> None:
+ store = get_store()
+ if not store.delete(project_id):
+ raise HTTPException(status_code=404, detail="Project not found")
diff --git a/src/web/routes/render.py b/src/web/routes/render.py
new file mode 100644
index 0000000..31066c6
--- /dev/null
+++ b/src/web/routes/render.py
@@ -0,0 +1,225 @@
+"""POST /api/jobs/{id}/re-render and /review-only (US-010).
+
+This module wires two "partial-pipeline" endpoints on top of the
+sequential :class:`~src.web.jobs.JobRegistry` worker used by the rest
+of AVE Studio:
+
+* ``POST /api/jobs/{job_id}/re-render`` takes a user-edited
+ :class:`EditPlan`, validates it against the parent job's
+ :class:`FootageIndex` using the same helpers the PUT route uses
+ (``_load_footage_index_or_422`` + ``_validate_edit_plan_against_index``
+ from :mod:`src.web.routes.jobs`), and enqueues an ``"editor-only"``
+ child job. The worker path calls :func:`run_editor` directly --
+ no Director, no Reviewer -- so B-Roll compositing and trim logic go
+ through the same renderer the full pipeline uses without any branching.
+ The parent job's ``result`` is **not** mutated, so previous renders
+ stay addressable by job id and the frontend can maintain a version
+ history for the chat session.
+* ``POST /api/jobs/{job_id}/review-only`` enqueues a ``"reviewer-only"``
+ child job that calls :func:`run_reviewer` against the parent's latest
+ rendered MP4. Useful after a manual plan edit + re-render where the
+ user wants a fresh quality score without triggering another full
+ Director retry loop.
+
+Both endpoints mirror the contract of
+:mod:`src.web.routes.feedback`: ``202 Accepted`` on success with
+``{"job_id", "status", "parent_job_id"}``, ``404`` for unknown parents,
+``409`` when the parent is not yet completed / missing the context the
+re-run needs, and ``422`` when the submitted :class:`EditPlan` fails
+pydantic coercion or semantic validation against the footage index.
+
+All registry mutation routes through
+:meth:`JobRegistry.submit_editor_rerun` and
+:meth:`JobRegistry.submit_reviewer_only`, which each raise
+``ValueError`` on invalid parents; this module converts those to
+``409`` HTTP responses.
+"""
+
+from __future__ import annotations
+
+from typing import Any
+
+from fastapi import APIRouter, HTTPException, Request
+from pydantic import BaseModel, Field, ValidationError
+
+from src.models.schemas import EditPlan
+from src.web.routes.jobs import (
+ _load_footage_index_or_422,
+ _validate_edit_plan_against_index,
+ get_registry,
+)
+
+router = APIRouter(prefix="/api/jobs", tags=["render"])
+
+
+class ReRenderResponse(BaseModel):
+ """Response body for ``POST /api/jobs/{id}/re-render``.
+
+ Mirrors :class:`~src.web.routes.feedback.FeedbackResponse` so the
+ frontend can handle both feedback-rerun and editor-only re-render
+ responses with a single parser.
+ """
+
+ job_id: str = Field(
+ ..., description="UUID of the new editor-only re-render job."
+ )
+ status: str = Field(
+ ..., description="Initial status, always ``pending``."
+ )
+ parent_job_id: str = Field(
+ ...,
+ description="UUID of the parent job whose plan this re-render revises.",
+ )
+
+
+ "/{job_id}/re-render",
+ status_code=202,
+ response_model=ReRenderResponse,
+)
+async def post_re_render(
+ job_id: str,
+ payload: dict[str, Any],
+ request: Request,
+) -> ReRenderResponse:
+ """Validate a modified :class:`EditPlan` and enqueue an editor-only job.
+
+ The body is the same serialized :class:`EditPlan` shape the GET
+ endpoint returns -- the frontend can submit the output of its local
+ edit state directly without any transformation. Validation happens
+ in the same three layers the PUT route uses:
+
+ 1. Pydantic coercion via :meth:`EditPlan.model_validate`. Bad
+ types / missing required fields surface as a ``422`` with the
+ same error-list shape FastAPI uses for automatic body
+ validation.
+ 2. :func:`_load_footage_index_or_422` loads the parent job's
+ :class:`FootageIndex` from disk. A missing / unreadable /
+ malformed index is surfaced as ``422`` with a server-side
+ ``job.footage_index_path`` error so the user sees "the job's
+ footage is gone" instead of a client-side validation error.
+ 3. :func:`_validate_edit_plan_against_index` walks every entry to
+ check shot_id resolution, trim bounds, and the contiguous
+ position sequence. Per-field errors are returned in the same
+ shape as layer 1.
+
+ Only if all three pass do we call
+ :meth:`JobRegistry.submit_editor_rerun` to enqueue the job. The
+ parent job's ``result`` is never mutated by this route -- the
+ previous render stays available under its original id so the
+ frontend can build a render-version list.
+
+ Returns ``202`` with ``{"job_id", "status", "parent_job_id"}`` so
+ the client can subscribe to ``/ws/jobs/{new_id}`` and stream
+ progress through the same plumbing used for full-pipeline and
+ feedback-rerun jobs.
+ """
+ registry = get_registry(request)
+ parent = registry.get(job_id)
+ if parent is None:
+ raise HTTPException(
+ status_code=404,
+ detail=f"job {job_id!r} not found",
+ )
+ if parent.result is None:
+ raise HTTPException(
+ status_code=409,
+ detail=(
+ f"job {job_id!r} has no result yet "
+ f"(status={parent.status!r}); cannot re-render"
+ ),
+ )
+
+ # Layer 1: pydantic coercion. Surfaces as 422 with the same error
+ # shape FastAPI uses for automatic request validation so the
+ # frontend can render field-level messages uniformly.
+ try:
+ plan = EditPlan.model_validate(payload)
+ except ValidationError as exc:
+ raise HTTPException(
+ status_code=422,
+ detail=exc.errors(),
+ ) from exc
+
+ # Layers 2 + 3: footage-aware semantic validation. Reuses the PUT
+ # helpers (imported from src.web.routes.jobs) so backend validation
+ # stays consistent with the PUT path even if the client skipped the
+ # save step and went straight to re-render.
+ index = _load_footage_index_or_422(parent.footage_index_path)
+ errors = _validate_edit_plan_against_index(plan, index)
+ if errors:
+ raise HTTPException(status_code=422, detail=errors)
+
+ try:
+ child = registry.submit_editor_rerun(parent, plan)
+ except ValueError as exc:
+ raise HTTPException(status_code=409, detail=str(exc)) from exc
+
+ return ReRenderResponse(
+ job_id=child.id,
+ status=child.status,
+ parent_job_id=parent.id,
+ )
+
+
+class ReviewOnlyResponse(BaseModel):
+ """Response body for ``POST /api/jobs/{id}/review-only``.
+
+ Identical envelope shape to :class:`ReRenderResponse` so the
+ frontend's "new job spawned" handler can process both.
+ """
+
+ job_id: str = Field(
+ ..., description="UUID of the new reviewer-only scoring job."
+ )
+ status: str = Field(
+ ..., description="Initial status, always ``pending``."
+ )
+ parent_job_id: str = Field(
+ ...,
+ description="UUID of the parent job whose MP4 this job scores.",
+ )
+
+
+ "/{job_id}/review-only",
+ status_code=202,
+ response_model=ReviewOnlyResponse,
+)
+async def post_review_only(
+ job_id: str,
+ request: Request,
+) -> ReviewOnlyResponse:
+ """Enqueue a reviewer-only scoring pass on the parent's latest MP4.
+
+ No request body: all the context the Reviewer needs
+ (:class:`CreativeBrief` + path to the rendered video) lives on
+ the parent :class:`Job`. The registry method
+ :meth:`JobRegistry.submit_reviewer_only` verifies the parent is
+ ``"completed"``, has a ``final_video_path`` in its result, and
+ that the referenced MP4 actually exists on disk -- any missing
+ precondition surfaces as a ``409 Conflict`` so the client gets a
+ descriptive error instead of a 500 when the worker inevitably
+ fails.
+
+ Returns ``202`` with ``{"job_id", "status", "parent_job_id"}`` so
+ the frontend can subscribe to ``/ws/jobs/{new_id}`` and watch the
+ scoring run stream.
+ """
+ registry = get_registry(request)
+ parent = registry.get(job_id)
+ if parent is None:
+ raise HTTPException(
+ status_code=404,
+ detail=f"job {job_id!r} not found",
+ )
+ try:
+ child = registry.submit_reviewer_only(parent)
+ except ValueError as exc:
+ raise HTTPException(status_code=409, detail=str(exc)) from exc
+
+ return ReviewOnlyResponse(
+ job_id=child.id,
+ status=child.status,
+ parent_job_id=parent.id,
+ )
diff --git a/src/web/routes/ws.py b/src/web/routes/ws.py
new file mode 100644
index 0000000..58883a2
--- /dev/null
+++ b/src/web/routes/ws.py
@@ -0,0 +1,184 @@
+"""WebSocket route for live pipeline progress streaming (US-003).
+
+The single endpoint here — ``/ws/jobs/{job_id}`` — lets the UI subscribe
+to a running pipeline job and receive progress updates as they happen.
+It is a read-only channel: the client never sends anything back, and the
+server closes the connection cleanly as soon as the job reaches a
+terminal state.
+
+Protocol
+--------
+
+On connect:
+
+1. The server looks the job id up in the :class:`JobRegistry`. If no
+ such job exists, the connection is closed immediately with
+ WebSocket close code ``4004``.
+2. The server accepts the handshake and atomically subscribes to the
+ job via :meth:`src.web.jobs.Job.subscribe`. ``subscribe`` returns a
+ fresh :class:`asyncio.Queue`, a point-in-time copy of every
+ structured progress entry captured so far, and a flag indicating
+ whether the job had already reached a terminal state.
+3. The server replays every snapshot entry to the client as
+ ``{"type": "progress", "line": ..., "timestamp": ...}``.
+4. If the job was already terminal, the server enqueues the matching
+ terminal status + result (or failure) and the stream-end sentinel
+ via :meth:`src.web.jobs.Job.enqueue_terminal`, drains them from the
+ queue, and closes the connection.
+5. Otherwise the server loops reading from the queue and forwarding
+ every event dict as JSON. When the sentinel
+ :data:`~src.web.jobs._STREAM_END` arrives (published by the worker
+ after it has already emitted the terminal status + result events),
+ the loop exits and the connection is closed cleanly.
+
+Threading
+---------
+
+The subscriber queues live on the main asyncio event loop. The
+pipeline runs in a worker thread via :func:`asyncio.to_thread`, so
+writes from the stdout-capture callback are marshalled back through
+:meth:`asyncio.AbstractEventLoop.call_soon_threadsafe` by
+:meth:`src.web.jobs.Job.publish`. This file never reads or writes
+across threads — it only touches the queue on the loop that owns it.
+"""
+
+from __future__ import annotations
+
+import logging
+from typing import Any
+
+from fastapi import APIRouter, WebSocket, WebSocketDisconnect
+
+from src.web.jobs import _STREAM_END, JobRegistry
+
+logger = logging.getLogger(__name__)
+
+router = APIRouter()
+
+
+#: WebSocket close code used when the client requests an unknown job id.
+#: Codes in the ``4000–4999`` range are application-defined per RFC 6455.
+UNKNOWN_JOB_CLOSE_CODE = 4004
+
+#: WebSocket close code used when the handler itself crashes. Matches the
+#: RFC 6455 "internal server error" code so browser devtools surface it
+#: clearly.
+INTERNAL_ERROR_CLOSE_CODE = 1011
+
+
+def _get_registry(websocket: WebSocket) -> JobRegistry | None:
+ """Fetch the :class:`JobRegistry` from app state, if it exists.
+
+ Mirrors the logic in :func:`src.web.routes.jobs.get_registry` but
+ for the WebSocket side of FastAPI — we cannot raise
+ ``HTTPException`` from a WS handler, so the caller decides how to
+ respond (close the socket).
+ """
+ return getattr(websocket.app.state, "job_registry", None)
+
+
+def _progress_message(entry: dict[str, str]) -> dict[str, Any]:
+ """Normalize a stored progress entry into the wire format.
+
+ Each entry stored on :attr:`src.web.jobs.Job._progress_entries` is
+ already in the ``{"line", "timestamp"}`` shape; this helper just
+ tacks on the discriminator ``type`` field so the client sees a
+ uniform message schema whether the entry came from replay or the
+ live queue.
+ """
+ return {
+ "type": "progress",
+ "line": entry.get("line", ""),
+ "timestamp": entry.get("timestamp", ""),
+ }
+
+
[email protected]("/ws/jobs/{job_id}")
+async def stream_job(websocket: WebSocket, job_id: str) -> None:
+ """Stream replay + live progress for a single pipeline job.
+
+ See the module docstring for the full protocol. The handler is
+ intentionally defensive: any unexpected exception closes the socket
+ cleanly so a buggy pipeline run can never leak file descriptors or
+ leave zombie connections hanging in uvicorn's state.
+ """
+ registry = _get_registry(websocket)
+ if registry is None:
+ # Server still starting up or already shutting down. Accept the
+ # handshake first so the application-defined close code (4004)
+ # survives the trip back to the browser — uvicorn's websockets
+ # transport maps any pre-accept ``websocket.close`` to an HTTP
+ # 403 response and drops the code, which would hide the
+ # "unknown job" signal from real clients.
+ await websocket.accept()
+ await websocket.close(code=UNKNOWN_JOB_CLOSE_CODE)
+ return
+
+ job = registry.get(job_id)
+ if job is None:
+ # Same rationale as above: accept the handshake so the 4004
+ # close code actually reaches the client instead of being
+ # collapsed into a generic 403 by the uvicorn websockets layer.
+ await websocket.accept()
+ await websocket.close(code=UNKNOWN_JOB_CLOSE_CODE)
+ return
+
+ await websocket.accept()
+
+ # ``subscribe`` atomically snapshots the replay buffer AND registers
+ # the new queue under the job's lock, so ``_record_progress`` cannot
+ # slip a new entry between those two steps. Any event that lands
+ # after ``subscribe`` returns is guaranteed to flow through the
+ # queue; any event visible in the replay is guaranteed NOT to have
+ # been put on the queue (because the job's publish fan-out snapshots
+ # the subscriber list while holding the same lock).
+ queue, replay, terminal_at_subscribe = job.subscribe()
+
+ try:
+ # Replay every progress entry captured so far with its original
+ # timestamp. The client sees these as a burst of ``progress``
+ # messages before the live feed begins.
+ for entry in replay:
+ await websocket.send_json(_progress_message(entry))
+
+ # If the job had already terminated before our subscribe,
+ # ``finalize`` had already run, which means the live queue will
+ # never receive any future events. Synthesize the terminal
+ # messages from the job's stored state so the client sees the
+ # same wire format it would for a live job. ``enqueue_terminal``
+ # also pushes the stream-end sentinel so the drain loop below
+ # exits cleanly.
+ if terminal_at_subscribe:
+ job.enqueue_terminal(queue)
+
+ # Drain events until the worker (or ``enqueue_terminal``) pushes
+ # the stream-end sentinel. Everything else on the queue is a
+ # dict matching one of the wire formats and can be forwarded
+ # straight through.
+ while True:
+ event = await queue.get()
+ if event is _STREAM_END:
+ break
+ await websocket.send_json(event)
+
+ except WebSocketDisconnect:
+ # Client hung up — nothing to do beyond the ``finally`` block's
+ # subscriber unregister. Do not try to send a close frame.
+ return
+ except Exception: # noqa: BLE001 - log and close, never crash uvicorn
+ logger.exception("WebSocket stream for job %s crashed", job_id)
+ try:
+ await websocket.close(code=INTERNAL_ERROR_CLOSE_CODE)
+ except Exception: # pragma: no cover - best effort
+ pass
+ return
+ finally:
+ job.remove_subscriber(queue)
+
+ # Clean close after the live loop (or replay of a terminal job)
+ # finished normally. The try/except around ``close`` handles the
+ # (rare) case where the client already shut down in parallel.
+ try:
+ await websocket.close()
+ except Exception: # pragma: no cover - best effort
+ pass
diff --git a/src/web/static/index.html b/src/web/static/index.html
new file mode 100644
index 0000000..5f90edc
--- /dev/null
+++ b/src/web/static/index.html
@@ -0,0 +1,1492 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <title>AVE Studio</title>
+ <link rel="stylesheet" href="/static/styles.css" />
+ <script src="https://cdn.tailwindcss.com"></script>
+ <!-- Component scripts MUST load before Alpine so window.briefBuilder,
+ window.progressView, window.videoPlayer, and window.reviewChart are
+ registered before Alpine.start() scans the DOM. All use `defer`,
+ which executes in document order -- Alpine CDN comes last so the
+ registrations are guaranteed to exist by the time Alpine walks the
+ DOM. Chart.js is loaded from the jsDelivr CDN before Alpine so
+ `window.Chart` exists when reviewChart()'s init() runs. -->
+ <script defer src="/static/js/brief-builder.js"></script>
+ <script defer src="/static/js/progress.js"></script>
+ <script defer src="/static/js/video-player.js"></script>
+ <script defer src="/static/js/review-chart.js"></script>
+ <script defer src="/static/js/chat.js"></script>
+ <script defer src="/static/js/timeline.js"></script>
+ <script defer src="/static/js/edit-controls.js"></script>
+ <script defer src="/static/js/re-render.js"></script>
+ <script defer src="/static/js/shot-browser.js"></script>
+ <script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/chart.umd.min.js"></script>
+ <script defer src="https://unpkg.com/[email protected]/dist/cdn.min.js"></script>
+</head>
+<body class="bg-slate-950 text-slate-100 min-h-screen">
+ <!--
+ Shared Alpine root — owns view state and the currently-watched job id.
+ Design note: we keep `view` + `currentJobId` on the root (not on a
+ custom event bus) so nested components (brief-builder, progress view)
+ can read and write them directly through Alpine's scope inheritance.
+ This avoids $dispatch round-tripping through the DOM and keeps the
+ "which job is the progress view showing?" answer in one place.
+ -->
+ <!--
+ Shared root scope. `promotedJobId` tracks the last brief-builder job we
+ already forwarded into `currentJobId` — it lets progressView clear
+ `currentJobId` on terminal state without the x-effect below
+ immediately re-promoting the same finished job.
+ -->
+ <main x-data="{ view: 'brief-builder', currentJobId: '', promotedJobId: '' }" class="mx-auto max-w-5xl p-6">
+ <header class="mb-8">
+ <h1 class="text-3xl font-bold">AVE Studio</h1>
+ <p class="text-slate-400">Agentic Video Editor — brief, preview, pointed edits.</p>
+ </header>
+
+ <nav class="mb-6 flex flex-wrap gap-2 text-sm">
+ <button type="button" class="rounded bg-slate-800 px-3 py-1 hover:bg-slate-700" @click="view = 'brief-builder'">Brief</button>
+ <button type="button" class="rounded bg-slate-800 px-3 py-1 hover:bg-slate-700" @click="view = 'progress'">Progress</button>
+ <button type="button" class="rounded bg-slate-800 px-3 py-1 hover:bg-slate-700" @click="view = 'review'">Review</button>
+ <button type="button" class="rounded bg-slate-800 px-3 py-1 hover:bg-slate-700" @click="view = 'chat'">Chat</button>
+ <button type="button" class="rounded bg-slate-800 px-3 py-1 hover:bg-slate-700" @click="view = 'timeline'">Timeline</button>
+ </nav>
+
+ <section x-show="view === 'brief-builder'" class="space-y-4">
+ <!--
+ Bridge from the briefBuilder's private `lastJobId` into the
+ root-level `currentJobId` + view transition. `x-effect` runs
+ whenever any reactive dependency in its expression changes, so
+ the moment brief-builder's submit() assigns `lastJobId`, we
+ promote it into the shared scope and flip the view. Using
+ `x-effect` (instead of editing brief-builder.js) keeps US-004's
+ implementation untouched while still satisfying the US-005 AC
+ that Queue job → Run transitions the view.
+
+ Note: we gate the promotion on `lastJobId !== promotedJobId`
+ (not `!== currentJobId`). progressView clears `currentJobId` on
+ terminal state so the Run button re-enables — if we keyed on
+ `currentJobId` here, the effect would immediately re-promote the
+ finished job and re-lock the button. `promotedJobId` is set once
+ per real brief-builder submit and never cleared, so the effect
+ only fires when a NEW job id appears.
+
+ Note: `x-init` is intentionally omitted — Alpine v3 calls any
+ `init()` method on the component automatically during its mount
+ phase, so an explicit `x-init="init()"` would invoke it twice.
+ -->
+ <div
+ x-data="briefBuilder()"
+ x-effect="
+ if (lastJobId && lastJobId !== promotedJobId) {
+ promotedJobId = lastJobId;
+ currentJobId = lastJobId;
+ view = 'progress';
+ }
+ "
+ class="space-y-6"
+ >
+ <header class="space-y-1">
+ <h2 class="text-xl font-semibold">Brief Builder</h2>
+ <p class="text-slate-400">Describe the spot, pick a pipeline, and queue a job.</p>
+ </header>
+
+ <template x-if="loadingOptions">
+ <p class="text-sm text-slate-400" aria-live="polite">Loading form options&hellip;</p>
+ </template>
+
+ <template x-if="error">
+ <div role="alert" class="rounded border border-red-700 bg-red-950/60 px-3 py-2 text-sm text-red-200" x-text="error"></div>
+ </template>
+
+ <template x-if="lastJobId">
+ <div role="status" aria-live="polite" class="rounded border border-emerald-700 bg-emerald-950/60 px-3 py-2 text-sm text-emerald-200">
+ Job <span class="font-mono" x-text="lastJobId"></span> queued.
+ </div>
+ </template>
+
+ <form class="space-y-5" @submit.prevent="submit()" novalidate>
+ <div class="space-y-1">
+ <label for="brief-product" class="block text-sm font-medium text-slate-200">Product</label>
+ <input
+ id="brief-product"
+ type="text"
+ required
+ x-model="brief.product"
+ placeholder="e.g. SleepWell weighted blanket"
+ class="w-full rounded border border-slate-700 bg-slate-900 px-3 py-2 text-slate-100 placeholder-slate-500 focus:border-emerald-500 focus:outline-none focus:ring-2 focus:ring-emerald-500/40"
+ />
+ </div>
+
+ <div class="space-y-1">
+ <label for="brief-audience" class="block text-sm font-medium text-slate-200">Audience</label>
+ <input
+ id="brief-audience"
+ type="text"
+ required
+ x-model="brief.audience"
+ placeholder="e.g. Stressed millennial professionals"
+ class="w-full rounded border border-slate-700 bg-slate-900 px-3 py-2 text-slate-100 placeholder-slate-500 focus:border-emerald-500 focus:outline-none focus:ring-2 focus:ring-emerald-500/40"
+ />
+ </div>
+
+ <div class="space-y-1">
+ <label for="brief-tone" class="block text-sm font-medium text-slate-200">Tone</label>
+ <input
+ id="brief-tone"
+ type="text"
+ required
+ x-model="brief.tone"
+ placeholder="e.g. Warm, conversational, aspirational"
+ class="w-full rounded border border-slate-700 bg-slate-900 px-3 py-2 text-slate-100 placeholder-slate-500 focus:border-emerald-500 focus:outline-none focus:ring-2 focus:ring-emerald-500/40"
+ />
+ </div>
+
+ <div class="space-y-2">
+ <div class="flex items-center justify-between">
+ <label for="brief-duration" class="block text-sm font-medium text-slate-200">Duration</label>
+ <span class="text-sm tabular-nums text-slate-300">
+ <span x-text="brief.duration_seconds"></span>s
+ </span>
+ </div>
+ <input
+ id="brief-duration"
+ type="range"
+ :min="durationMin"
+ :max="durationMax"
+ step="1"
+ x-model.number="brief.duration_seconds"
+ class="w-full accent-emerald-500"
+ aria-label="Duration in seconds"
+ />
+ <div class="flex justify-between text-xs text-slate-500">
+ <span x-text="durationMin + 's'"></span>
+ <span x-text="durationMax + 's'"></span>
+ </div>
+ </div>
+
+ <div class="space-y-1">
+ <label for="brief-style" class="block text-sm font-medium text-slate-200">
+ Style preset <span class="text-slate-500">(optional)</span>
+ </label>
+ <select
+ id="brief-style"
+ x-model="brief.style_ref"
+ :disabled="loadingOptions || styles.length === 0"
+ class="w-full rounded border border-slate-700 bg-slate-900 px-3 py-2 text-slate-100 focus:border-emerald-500 focus:outline-none focus:ring-2 focus:ring-emerald-500/40 disabled:opacity-60"
+ >
+ <option value="" selected x-text="loadingOptions ? 'Loading styles\u2026' : (styles.length === 0 ? 'No styles available' : '\u2014 none \u2014')"></option>
+ <template x-for="entry in styles" :key="entry.path">
+ <option :value="entry.path" x-text="entry.name"></option>
+ </template>
+ </select>
+ </div>
+
+ <div class="space-y-1">
+ <label for="brief-pipeline" class="block text-sm font-medium text-slate-200">Pipeline</label>
+ <select
+ id="brief-pipeline"
+ required
+ x-model="pipeline_path"
+ :disabled="loadingOptions || pipelines.length === 0"
+ class="w-full rounded border border-slate-700 bg-slate-900 px-3 py-2 text-slate-100 focus:border-emerald-500 focus:outline-none focus:ring-2 focus:ring-emerald-500/40 disabled:opacity-60"
+ >
+ <option value="" disabled selected x-text="loadingOptions ? 'Loading pipelines\u2026' : (pipelines.length === 0 ? 'No pipelines available' : 'Select a pipeline\u2026')"></option>
+ <template x-for="entry in pipelines" :key="entry.path">
+ <option :value="entry.path" x-text="entry.name"></option>
+ </template>
+ </select>
+ </div>
+
+ <div class="space-y-1">
+ <label for="brief-footage" class="block text-sm font-medium text-slate-200">Footage index</label>
+ <select
+ id="brief-footage"
+ required
+ x-model="footage_index_path"
+ :disabled="loadingOptions || footageIndexes.length === 0"
+ class="w-full rounded border border-slate-700 bg-slate-900 px-3 py-2 text-slate-100 focus:border-emerald-500 focus:outline-none focus:ring-2 focus:ring-emerald-500/40 disabled:opacity-60"
+ >
+ <option value="" disabled selected x-text="loadingOptions ? 'Loading footage indexes\u2026' : (footageIndexes.length === 0 ? 'No footage indexes available' : 'Select a footage index\u2026')"></option>
+ <template x-for="entry in footageIndexes" :key="entry.path">
+ <option :value="entry.path" x-text="footageLabel(entry)"></option>
+ </template>
+ </select>
+ </div>
+
+ <div class="flex items-center gap-3 pt-2">
+ <!--
+ The Run (Queue job) button stays disabled while:
+ - the form is loading / invalid (briefBuilder.canSubmit())
+ - OR a job is already active in the shared root scope.
+ The `currentJobId` check means a user who manually navigates
+ back to the brief view while a pipeline is running can't
+ double-submit — matching the US-005 AC that the Run button
+ is disabled while a job is active.
+ -->
+ <button
+ type="submit"
+ :disabled="!canSubmit() || !!currentJobId"
+ aria-label="Queue pipeline job"
+ class="rounded bg-emerald-600 px-4 py-2 text-sm font-semibold text-white hover:bg-emerald-500 focus:outline-none focus:ring-2 focus:ring-emerald-500/60 disabled:cursor-not-allowed disabled:bg-slate-700 disabled:text-slate-400"
+ >
+ <span x-show="!submitting">Run</span>
+ <span x-show="submitting">Queuing&hellip;</span>
+ </button>
+ <span x-show="submitting" class="text-sm text-slate-400" aria-live="polite">Submitting brief&hellip;</span>
+ <span x-show="currentJobId && !submitting" class="text-sm text-slate-400" aria-live="polite">
+ A job is already running. Watch it on the Progress tab.
+ </span>
+ </div>
+ </form>
+ </div>
+ </section>
+
+ <section x-show="view === 'progress'" class="space-y-6">
+ <!--
+ Pipeline progress dashboard (US-005).
+
+ `progressView()` opens the WebSocket and owns run state. It reads
+ `currentJobId` from the shared root scope (Alpine nested-component
+ scope inheritance) and mirrors it into its own `jobId` via x-init
+ so its `$watch('jobId', ...)` can react to job changes — including
+ a second run after the user goes back and submits another brief.
+
+ Alpine v3 calls `progressView().init()` automatically BEFORE
+ `x-init` runs, so the `$watch('jobId', ...)` registration is
+ already live by the time we assign `jobId = currentJobId`. Calling
+ `init()` explicitly in `x-init` would register the watch twice
+ and leak a second WebSocket per job.
+ -->
+ <div
+ x-data="progressView()"
+ x-init="jobId = currentJobId"
+ x-effect="jobId = currentJobId"
+ class="space-y-6"
+ >
+ <header class="flex flex-wrap items-start justify-between gap-3">
+ <div>
+ <h2 class="text-xl font-semibold">Pipeline Progress</h2>
+ <p class="text-slate-400">
+ <template x-if="jobId">
+ <span>
+ Watching job <span class="font-mono text-slate-200" x-text="jobId"></span>
+ </span>
+ </template>
+ <template x-if="!jobId">
+ <span>No job is running. Submit a brief to start one.</span>
+ </template>
+ </p>
+ </div>
+
+ <!--
+ Terminal-state badge (spinner while running, check on success,
+ X on failure). Uses role="status" + aria-live="polite" so
+ screen readers announce state transitions without interrupting
+ the user mid-thought.
+ -->
+ <div role="status" aria-live="polite" class="flex items-center gap-2 text-sm">
+ <template x-if="isRunning()">
+ <span class="flex items-center gap-2 text-emerald-300">
+ <svg class="h-4 w-4 animate-spin" viewBox="0 0 24 24" fill="none" aria-hidden="true">
+ <circle cx="12" cy="12" r="10" stroke="currentColor" stroke-width="3" stroke-opacity="0.25"></circle>
+ <path d="M22 12a10 10 0 0 1-10 10" stroke="currentColor" stroke-width="3" stroke-linecap="round"></path>
+ </svg>
+ <span x-text="status === 'connecting' ? 'Connecting\u2026' : 'Running\u2026'"></span>
+ </span>
+ </template>
+ <template x-if="isCompleted()">
+ <span class="flex items-center gap-2 text-emerald-300">
+ <svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
+ <path fill-rule="evenodd" d="M16.704 5.29a1 1 0 0 1 .007 1.414l-7.5 7.6a1 1 0 0 1-1.42.01l-3.5-3.5a1 1 0 1 1 1.414-1.414l2.79 2.79 6.793-6.886a1 1 0 0 1 1.416-.013Z" clip-rule="evenodd" />
+ </svg>
+ <span>Completed</span>
+ </span>
+ </template>
+ <template x-if="isFailed()">
+ <span class="flex items-center gap-2 text-red-300">
+ <svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
+ <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 0 1 1.414 0L10 8.586l4.293-4.293a1 1 0 1 1 1.414 1.414L11.414 10l4.293 4.293a1 1 0 0 1-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 0 1-1.414-1.414L8.586 10 4.293 5.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd" />
+ </svg>
+ <span>Failed</span>
+ </span>
+ </template>
+ </div>
+ </header>
+
+ <!--
+ Step indicator (Director → TrimRefiner → Editor → Reviewer).
+ Rendered via x-for over the stepNames array so adding a step in
+ the future only requires editing the component, not the markup.
+ Each step's visual state comes from `stepState(index)` — one of
+ "pending" / "active" / "done" / "failed" — and drives a tailwind
+ class swap. The x-for index is 0-based, matching the runner's
+ `enumerate(manifest.steps)` step numbering — see progress.js
+ STEP_NAMES for the display-label mapping.
+ -->
+ <ol class="flex flex-wrap items-center gap-2" role="list" aria-label="Pipeline steps">
+ <template x-for="(name, index) in stepNames" :key="name">
+ <li class="flex items-center gap-2">
+ <div
+ class="flex items-center gap-2 rounded border px-3 py-1.5 text-sm"
+ :class="{
+ 'border-emerald-500 bg-emerald-950/60 text-emerald-200 ring-2 ring-emerald-500/40': stepState(index) === 'active',
+ 'border-emerald-700 bg-emerald-900/30 text-emerald-300': stepState(index) === 'done',
+ 'border-slate-700 bg-slate-900/50 text-slate-400': stepState(index) === 'pending',
+ 'border-red-700 bg-red-950/60 text-red-200': stepState(index) === 'failed',
+ }"
+ :aria-current="stepState(index) === 'active' ? 'step' : null"
+ >
+ <!-- Circle / check / spinner prefix to show state visually -->
+ <template x-if="stepState(index) === 'done'">
+ <svg class="h-4 w-4" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
+ <path fill-rule="evenodd" d="M16.704 5.29a1 1 0 0 1 .007 1.414l-7.5 7.6a1 1 0 0 1-1.42.01l-3.5-3.5a1 1 0 1 1 1.414-1.414l2.79 2.79 6.793-6.886a1 1 0 0 1 1.416-.013Z" clip-rule="evenodd" />
+ </svg>
+ </template>
+ <template x-if="stepState(index) === 'active'">
+ <svg class="h-4 w-4 animate-spin" viewBox="0 0 24 24" fill="none" aria-hidden="true">
+ <circle cx="12" cy="12" r="10" stroke="currentColor" stroke-width="3" stroke-opacity="0.25"></circle>
+ <path d="M22 12a10 10 0 0 1-10 10" stroke="currentColor" stroke-width="3" stroke-linecap="round"></path>
+ </svg>
+ </template>
+ <template x-if="stepState(index) === 'failed'">
+ <svg class="h-4 w-4" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
+ <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 0 1 1.414 0L10 8.586l4.293-4.293a1 1 0 1 1 1.414 1.414L11.414 10l4.293 4.293a1 1 0 0 1-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 0 1-1.414-1.414L8.586 10 4.293 5.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd" />
+ </svg>
+ </template>
+ <template x-if="stepState(index) === 'pending'">
+ <span class="inline-block h-2 w-2 rounded-full bg-slate-600" aria-hidden="true"></span>
+ </template>
+ <span class="font-medium" x-text="name"></span>
+ </div>
+ <template x-if="index < stepNames.length - 1">
+ <span class="text-slate-600" aria-hidden="true">&rarr;</span>
+ </template>
+ </li>
+ </template>
+ </ol>
+
+ <!--
+ Error banner for the failed path. Renders the server's error
+ message plus the last 10 progress lines for context. The full
+ log stays visible below, per the US-005 AC.
+ -->
+ <template x-if="isFailed()">
+ <div role="alert" class="space-y-2 rounded border border-red-700 bg-red-950/60 px-4 py-3 text-sm text-red-200">
+ <p class="font-semibold">Pipeline failed</p>
+ <p x-text="error"></p>
+ <template x-if="entries.length > 0">
+ <div>
+ <p class="mt-2 text-xs uppercase tracking-wide text-red-300/80">Last <span x-text="Math.min(entries.length, 10)"></span> log lines</p>
+ <ul class="mt-1 space-y-0.5 font-mono text-xs text-red-100/90">
+ <template x-for="(entry, idx) in tailLines(10)" :key="idx + ':' + entry.timestamp">
+ <li x-text="entry.line"></li>
+ </template>
+ </ul>
+ </div>
+ </template>
+ </div>
+ </template>
+
+ <!--
+ Live log panel. Terminal-style scrolling container with
+ auto-scroll via $refs.logPane from progress.js. `aria-live="polite"`
+ gives AT users a chance to hear progress without interruption.
+ Rendered unconditionally (not inside an x-if) so the element's
+ ref stays stable across message arrivals.
+ -->
+ <div class="space-y-2">
+ <div class="flex items-center justify-between text-sm text-slate-400">
+ <span>Progress log</span>
+ <span x-show="entries.length > 0">
+ <span x-text="entries.length"></span> line<span x-show="entries.length !== 1">s</span>
+ </span>
+ </div>
+ <div
+ x-ref="logPane"
+ role="log"
+ aria-live="polite"
+ aria-label="Pipeline progress log"
+ class="h-72 overflow-y-auto rounded border border-slate-800 bg-slate-950 p-3 font-mono text-xs text-slate-300 shadow-inner"
+ >
+ <template x-if="entries.length === 0 && !jobId">
+ <p class="text-slate-500">No log yet. Submit a brief to start a pipeline run.</p>
+ </template>
+ <template x-if="entries.length === 0 && jobId">
+ <p class="text-slate-500">Waiting for the first progress line&hellip;</p>
+ </template>
+ <template x-for="(entry, idx) in entries" :key="idx + ':' + entry.timestamp">
+ <div class="whitespace-pre-wrap break-words">
+ <span class="text-slate-600" x-text="entry.timestamp ? '[' + entry.timestamp + '] ' : ''"></span>
+ <span x-text="entry.line"></span>
+ </div>
+ </template>
+ </div>
+ </div>
+
+ <!--
+ Video player + review summary. Nested inside progressView so the
+ child's scope inherits `videoSrc`, `result`, `status`, etc. Only
+ rendered once the pipeline completes to avoid a broken <video>
+ flicker during the running state.
+ -->
+ <template x-if="isCompleted()">
+ <!--
+ videoPlayer() exposes an `init()` lifecycle hook that Alpine
+ v3 auto-invokes on mount — no explicit `x-init` needed, and
+ adding one would register the $watch('videoSrc') handler
+ twice.
+ -->
+ <div x-data="videoPlayer()" class="space-y-4">
+ <h3 class="text-lg font-semibold">Rendered video</h3>
+ <template x-if="hasVideo()">
+ <video
+ :src="videoSrc"
+ controls
+ preload="metadata"
+ @error="onVideoError()"
+ class="w-full rounded border border-slate-800 bg-black shadow-lg"
+ aria-label="Rendered pipeline output"
+ ></video>
+ </template>
+ <template x-if="!hasVideo()">
+ <div role="alert" class="rounded border border-amber-700 bg-amber-950/60 px-4 py-3 text-sm text-amber-200">
+ Video unavailable &mdash; the pipeline did not return a playable
+ <code>final_video_path</code>. Check the log above for details.
+ </div>
+ </template>
+
+ <template x-if="hasReview()">
+ <div class="space-y-2">
+ <h4 class="text-sm font-semibold uppercase tracking-wide text-slate-400">Reviewer scores</h4>
+ <dl class="grid grid-cols-2 gap-2 sm:grid-cols-5">
+ <template x-for="dim in dimensions" :key="dim.key">
+ <div class="rounded border border-slate-800 bg-slate-900/60 px-3 py-2">
+ <dt class="text-xs uppercase tracking-wide text-slate-500" x-text="dim.label"></dt>
+ <dd class="mt-1 font-mono text-lg tabular-nums text-slate-100" x-text="reviewValue(dim.key)"></dd>
+ </div>
+ </template>
+ </dl>
+ <template x-if="result && result.review && result.review.feedback">
+ <p class="text-sm text-slate-400" x-text="result.review.feedback"></p>
+ </template>
+ </div>
+ </template>
+ </div>
+ </template>
+ </div>
+ </section>
+
+ <section x-show="view === 'review'" class="space-y-6">
+ <!--
+ Reviewer scorecard (US-006).
+
+ `reviewChart()` fetches GET /api/jobs/{job_id}/review on demand
+ and lazy-builds a Chart.js radar over the 5 ReviewScore dimensions.
+ It reads `promotedJobId` (not `currentJobId`) from the shared root
+ scope and mirrors it into its own `jobId` via x-init/x-effect.
+
+ Why `promotedJobId` and not `currentJobId`: progressView clears
+ `currentJobId` on terminal state to re-enable the Run button, so
+ mirroring `currentJobId` here would wipe the Review tab exactly
+ when the completed review first becomes available, and the user
+ would only ever see the running-job 409 "no review yet" state.
+ `promotedJobId` is set once per brief-builder submit and is never
+ cleared (see the brief-builder x-effect above and the comment in
+ progress.js::_clearRootJobId), so the Review tab stays pointed at
+ the last submitted job across the entire session.
+
+ As with progress.js, Alpine v3 calls `init()` on the component
+ automatically, so an explicit `x-init="init()"` would
+ double-register the $watch and refetch every job twice.
+ -->
+ <div
+ x-data="reviewChart()"
+ x-init="jobId = promotedJobId; activeView = view"
+ x-effect="jobId = promotedJobId; activeView = view"
+ class="space-y-6"
+ >
+ <header class="space-y-1">
+ <h2 class="text-xl font-semibold">Review</h2>
+ <p class="text-slate-400">
+ <template x-if="jobId">
+ <span>
+ Scores for job <span class="font-mono text-slate-200" x-text="jobId"></span>
+ </span>
+ </template>
+ <template x-if="!jobId">
+ <span>No review yet. Run a pipeline to see quality scores.</span>
+ </template>
+ </p>
+ </header>
+
+ <!-- Loading banner. -->
+ <template x-if="loading">
+ <div role="status" aria-live="polite" class="rounded border border-slate-800 bg-slate-900/60 px-4 py-3 text-sm text-slate-300">
+ Loading review&hellip;
+ </div>
+ </template>
+
+ <!-- Empty state: job exists but has no review yet (409 or null review). -->
+ <template x-if="!loading && jobId && noReviewYet">
+ <div role="status" aria-live="polite" class="rounded border border-amber-700 bg-amber-950/60 px-4 py-3 text-sm text-amber-200">
+ No review yet for this job. The pipeline may still be running, or it failed before the reviewer step.
+ </div>
+ </template>
+
+ <!-- Error banner for 404 / network / parse failures. -->
+ <template x-if="!loading && error">
+ <div role="alert" class="rounded border border-red-700 bg-red-950/60 px-4 py-3 text-sm text-red-200" x-text="error"></div>
+ </template>
+
+ <!-- Main state: radar chart + feedback card + optional history. -->
+ <template x-if="!loading && hasReview()">
+ <div class="space-y-6">
+ <!--
+ Sized wrapper for the Chart.js canvas. Chart.js responsive
+ mode requires a parent with a fixed size -- without it the
+ canvas can grow unbounded on every layout tick. h-80 gives
+ it a stable 20rem height, and max-w-md keeps the radar
+ square-ish on wide screens.
+ -->
+ <div class="relative mx-auto h-80 w-full max-w-md">
+ <canvas
+ x-ref="canvas"
+ role="img"
+ aria-label="Review score radar chart"
+ class="max-w-md mx-auto"
+ ></canvas>
+ </div>
+
+ <!-- Score value cards (screen-reader friendly fallback for the radar). -->
+ <dl class="grid grid-cols-2 gap-2 sm:grid-cols-5">
+ <template x-for="dim in dimensions" :key="dim.key">
+ <div class="rounded border border-slate-800 bg-slate-900/60 px-3 py-2">
+ <dt class="text-xs uppercase tracking-wide text-slate-500" x-text="dim.label"></dt>
+ <dd class="mt-1 font-mono text-lg tabular-nums text-slate-100" x-text="dimensionValue(dim.key)"></dd>
+ </div>
+ </template>
+ </dl>
+
+ <!-- Reviewer feedback card. -->
+ <template x-if="review && review.feedback">
+ <div class="space-y-2 rounded border border-slate-800 bg-slate-900/60 px-4 py-3">
+ <h3 class="text-sm font-semibold uppercase tracking-wide text-slate-400">Reviewer feedback</h3>
+ <p class="whitespace-pre-wrap text-sm text-slate-200" x-text="review.feedback"></p>
+ </div>
+ </template>
+
+ <!--
+ Retry history. Only renders when retries_used > 0 so the
+ common "one-shot review" case stays uncluttered. Uses a
+ native <details>/<summary> so collapse works without any
+ extra JS plumbing -- the Alpine root doesn't care.
+ -->
+ <template x-if="hasHistory()">
+ <details class="rounded border border-slate-800 bg-slate-900/60 px-4 py-3 text-sm text-slate-200">
+ <summary class="cursor-pointer font-semibold text-slate-300">
+ History
+ <span class="ml-2 rounded bg-slate-800 px-2 py-0.5 text-xs font-normal tabular-nums text-slate-400">
+ <span x-text="retriesUsed"></span> retr<span x-text="retriesUsed === 1 ? 'y' : 'ies'"></span>
+ </span>
+ </summary>
+ <ol class="mt-3 space-y-3">
+ <template x-for="(entry, idx) in feedbackHistory" :key="idx">
+ <li class="rounded border border-slate-800 bg-slate-950/60 px-3 py-2">
+ <p class="text-xs uppercase tracking-wide text-slate-500">
+ Attempt <span x-text="idx + 1"></span>
+ </p>
+ <p class="mt-1 whitespace-pre-wrap text-sm text-slate-200" x-text="entry"></p>
+ </li>
+ </template>
+ </ol>
+ </details>
+ </template>
+ </div>
+ </template>
+ </div>
+ </section>
+
+ <section x-show="view === 'chat'" class="space-y-6">
+ <!--
+ Chat feedback refinement (US-007).
+
+ `chatView()` seeds itself from the shared root scope's
+ `promotedJobId` (with `currentJobId` as a fallback) so the user
+ who just finished a brief-builder run can immediately start
+ iterating on it. It owns its own `currentJobId` (the latest
+ completed cut in this chat session), `inFlightJobId` (the live
+ re-run being streamed), `versions` (every render produced), and
+ `transcript` (chronological chat history). It speaks to
+ `POST /api/jobs/{id}/feedback` + `/ws/jobs/{new-id}` directly and
+ does NOT mutate the root scope -- switching renders via the
+ version dropdown flips chatView's local `activeVersionId` only.
+
+ As with the other Alpine components, `init()` is called
+ automatically on mount -- do NOT add an explicit `x-init="init()"`
+ or the internal watchers will register twice.
+
+ The `x-effect` below is how we forward the parent root scope's
+ `promotedJobId` / `currentJobId` into chatView. Inside a nested
+ component's `init()`, `this` does NOT walk the parent scope chain
+ (Alpine 3 limitation, see alpinejs/alpine#1711), so we cannot read
+ `this.promotedJobId` from the chatView factory. `x-effect`
+ expressions, however, run with the full merged scope, so
+ `promotedJobId` / `currentJobId` resolve to the root scope values
+ and we push them into the component via `seedFromRoot(...)` on
+ every change. The method is idempotent: it only resets when a
+ NEW job id arrives.
+ -->
+ <div
+ x-data="chatView()"
+ x-effect="seedFromRoot(promotedJobId, currentJobId)"
+ class="space-y-6"
+ >
+ <header class="space-y-1">
+ <h2 class="text-xl font-semibold">Chat feedback</h2>
+ <p class="text-slate-400">
+ Describe changes and we'll re-run the pipeline with your direction.
+ <template x-if="rootJobId">
+ <span>
+ Seeded from job
+ <span class="font-mono text-slate-200" x-text="rootJobId"></span>.
+ </span>
+ </template>
+ <template x-if="!rootJobId">
+ <span>Submit a brief first to start a chat session.</span>
+ </template>
+ </p>
+ </header>
+
+ <!-- Empty state: no root job yet. -->
+ <template x-if="!rootJobId && !loadingInitial">
+ <div role="status" aria-live="polite" class="rounded border border-slate-800 bg-slate-900/60 px-4 py-3 text-sm text-slate-400">
+ No chat session yet. Run a pipeline job from the Brief tab, then come back here to refine it.
+ </div>
+ </template>
+
+ <!-- Loading state while we fetch the initial job. -->
+ <template x-if="loadingInitial">
+ <div role="status" aria-live="polite" class="rounded border border-slate-800 bg-slate-900/60 px-4 py-3 text-sm text-slate-300">
+ Loading chat session&hellip;
+ </div>
+ </template>
+
+ <!-- Main chat panel: only rendered once a root job is seeded. -->
+ <template x-if="rootJobId">
+ <div class="grid gap-6 lg:grid-cols-5">
+ <!--
+ Left column: video player + version picker + review scores
+ for the currently selected version. Wider than the chat
+ column so the video has breathing room on large screens;
+ collapses to a single column on narrow viewports.
+ -->
+ <div class="space-y-4 lg:col-span-3">
+ <div class="space-y-3">
+ <div class="flex items-center justify-between gap-2">
+ <h3 class="text-lg font-semibold">Rendered video</h3>
+ <!-- Version picker. Only renders when >1 version exists. -->
+ <template x-if="versions.length > 1">
+ <label class="flex items-center gap-2 text-sm text-slate-400">
+ <span>Version</span>
+ <select
+ :value="activeVersionId"
+ @change="selectVersion($event.target.value)"
+ class="rounded border border-slate-700 bg-slate-900 px-2 py-1 text-slate-100 focus:border-emerald-500 focus:outline-none focus:ring-2 focus:ring-emerald-500/40"
+ aria-label="Select render version"
+ >
+ <template x-for="version in versions" :key="version.jobId">
+ <option :value="version.jobId" x-text="version.label"></option>
+ </template>
+ </select>
+ </label>
+ </template>
+ </div>
+
+ <template x-if="hasActiveVideo()">
+ <video
+ :src="activeVideoUrl()"
+ controls
+ preload="metadata"
+ @error="onVideoError()"
+ class="w-full rounded border border-slate-800 bg-black shadow-lg"
+ aria-label="Rendered pipeline output"
+ ></video>
+ </template>
+ <template x-if="!hasActiveVideo()">
+ <div role="alert" class="rounded border border-amber-700 bg-amber-950/60 px-4 py-3 text-sm text-amber-200">
+ Video unavailable for the selected version. Check the progress log below or pick a different version.
+ </div>
+ </template>
+ </div>
+
+ <!-- Review score summary cards for the active version. -->
+ <template x-if="hasActiveReview()">
+ <div class="space-y-2">
+ <h4 class="text-sm font-semibold uppercase tracking-wide text-slate-400">Reviewer scores</h4>
+ <dl class="grid grid-cols-2 gap-2 sm:grid-cols-5">
+ <template x-for="dim in dimensions" :key="dim.key">
+ <div class="rounded border border-slate-800 bg-slate-900/60 px-3 py-2">
+ <dt class="text-xs uppercase tracking-wide text-slate-500" x-text="dim.label"></dt>
+ <dd class="mt-1 font-mono text-lg tabular-nums text-slate-100" x-text="scoreValue(dim.key)"></dd>
+ </div>
+ </template>
+ </dl>
+ </div>
+ </template>
+
+ <!--
+ In-flight re-run indicator. Rendered when a feedback
+ re-run is streaming so the user can see the 4-step
+ progress and the live log lines without leaving the chat
+ panel.
+ -->
+ <template x-if="isInFlight() || progressStatus === 'failed'">
+ <div class="space-y-3 rounded border border-slate-800 bg-slate-900/60 px-4 py-3">
+ <div class="flex items-center justify-between text-sm text-slate-300">
+ <div class="flex items-center gap-2">
+ <template x-if="progressStatus === 'running'">
+ <span class="flex items-center gap-2 text-emerald-300">
+ <svg class="h-4 w-4 animate-spin" viewBox="0 0 24 24" fill="none" aria-hidden="true">
+ <circle cx="12" cy="12" r="10" stroke="currentColor" stroke-width="3" stroke-opacity="0.25"></circle>
+ <path d="M22 12a10 10 0 0 1-10 10" stroke="currentColor" stroke-width="3" stroke-linecap="round"></path>
+ </svg>
+ <span>Running feedback re-run&hellip;</span>
+ </span>
+ </template>
+ <template x-if="progressStatus === 'failed'">
+ <span class="flex items-center gap-2 text-red-300">
+ <svg class="h-5 w-5" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
+ <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 0 1 1.414 0L10 8.586l4.293-4.293a1 1 0 1 1 1.414 1.414L11.414 10l4.293 4.293a1 1 0 0 1-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 0 1-1.414-1.414L8.586 10 4.293 5.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd" />
+ </svg>
+ <span>Re-run failed</span>
+ </span>
+ </template>
+ </div>
+ <template x-if="inFlightJobId">
+ <span class="font-mono text-xs text-slate-500" x-text="inFlightJobId"></span>
+ </template>
+ </div>
+
+ <!-- Step indicator for the 4 feedback-rerun steps. -->
+ <ol class="flex flex-wrap items-center gap-2" role="list" aria-label="Feedback re-run steps">
+ <template x-for="(name, index) in stepNames" :key="name">
+ <li class="flex items-center gap-2">
+ <div
+ class="flex items-center gap-1.5 rounded border px-2 py-1 text-xs"
+ :class="{
+ 'border-emerald-500 bg-emerald-950/60 text-emerald-200 ring-2 ring-emerald-500/40': stepState(index) === 'active',
+ 'border-emerald-700 bg-emerald-900/30 text-emerald-300': stepState(index) === 'done',
+ 'border-slate-700 bg-slate-900/50 text-slate-400': stepState(index) === 'pending',
+ 'border-red-700 bg-red-950/60 text-red-200': stepState(index) === 'failed',
+ }"
+ :aria-current="stepState(index) === 'active' ? 'step' : null"
+ >
+ <template x-if="stepState(index) === 'done'">
+ <svg class="h-3.5 w-3.5" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
+ <path fill-rule="evenodd" d="M16.704 5.29a1 1 0 0 1 .007 1.414l-7.5 7.6a1 1 0 0 1-1.42.01l-3.5-3.5a1 1 0 1 1 1.414-1.414l2.79 2.79 6.793-6.886a1 1 0 0 1 1.416-.013Z" clip-rule="evenodd" />
+ </svg>
+ </template>
+ <template x-if="stepState(index) === 'active'">
+ <svg class="h-3.5 w-3.5 animate-spin" viewBox="0 0 24 24" fill="none" aria-hidden="true">
+ <circle cx="12" cy="12" r="10" stroke="currentColor" stroke-width="3" stroke-opacity="0.25"></circle>
+ <path d="M22 12a10 10 0 0 1-10 10" stroke="currentColor" stroke-width="3" stroke-linecap="round"></path>
+ </svg>
+ </template>
+ <template x-if="stepState(index) === 'failed'">
+ <svg class="h-3.5 w-3.5" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
+ <path fill-rule="evenodd" d="M4.293 4.293a1 1 0 0 1 1.414 0L10 8.586l4.293-4.293a1 1 0 1 1 1.414 1.414L11.414 10l4.293 4.293a1 1 0 0 1-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 0 1-1.414-1.414L8.586 10 4.293 5.707a1 1 0 0 1 0-1.414Z" clip-rule="evenodd" />
+ </svg>
+ </template>
+ <template x-if="stepState(index) === 'pending'">
+ <span class="inline-block h-1.5 w-1.5 rounded-full bg-slate-600" aria-hidden="true"></span>
+ </template>
+ <span class="font-medium" x-text="name"></span>
+ </div>
+ <template x-if="index < stepNames.length - 1">
+ <span class="text-slate-600" aria-hidden="true">&rarr;</span>
+ </template>
+ </li>
+ </template>
+ </ol>
+
+ <!-- Live log pane for the in-flight re-run. -->
+ <div
+ x-ref="chatLogPane"
+ role="log"
+ aria-live="polite"
+ aria-label="Feedback re-run log"
+ class="h-40 overflow-y-auto rounded border border-slate-800 bg-slate-950 p-2 font-mono text-[11px] leading-snug text-slate-300 shadow-inner"
+ >
+ <template x-if="progressLines.length === 0">
+ <p class="text-slate-500">Waiting for the first progress line&hellip;</p>
+ </template>
+ <template x-for="(entry, idx) in progressLines" :key="idx + ':' + entry.timestamp">
+ <div class="whitespace-pre-wrap break-words">
+ <span class="text-slate-600" x-text="entry.timestamp ? '[' + entry.timestamp + '] ' : ''"></span>
+ <span x-text="entry.line"></span>
+ </div>
+ </template>
+ </div>
+
+ <template x-if="progressStatus === 'failed' && errorMessage">
+ <p role="alert" class="text-xs text-red-300" x-text="errorMessage"></p>
+ </template>
+ </div>
+ </template>
+ </div>
+
+ <!--
+ Right column: chat transcript + message input. Scrollable
+ transcript with chronological messages (user, system, error)
+ styled distinctively so the conversation stays readable as
+ the history grows.
+ -->
+ <div class="space-y-3 lg:col-span-2">
+ <h3 class="text-lg font-semibold">Conversation</h3>
+
+ <div
+ class="max-h-[32rem] min-h-[16rem] space-y-3 overflow-y-auto rounded border border-slate-800 bg-slate-900/40 p-3"
+ role="log"
+ aria-live="polite"
+ aria-label="Chat transcript"
+ >
+ <template x-if="transcript.length === 0">
+ <p class="text-sm text-slate-500">No messages yet. Describe a change to start iterating.</p>
+ </template>
+
+ <template x-for="entry in transcript" :key="entry.id">
+ <div :class="{
+ 'flex justify-end': entry.role === 'user',
+ 'flex justify-start': entry.role !== 'user',
+ }">
+ <!-- User message: right-aligned, emerald. -->
+ <template x-if="entry.role === 'user'">
+ <div class="max-w-[85%] rounded-lg border border-emerald-700 bg-emerald-950/60 px-3 py-2 text-sm text-emerald-100">
+ <p class="whitespace-pre-wrap break-words" x-text="entry.text"></p>
+ </div>
+ </template>
+
+ <!-- System message: left-aligned, slate. May include a jump-to-version link. -->
+ <template x-if="entry.role === 'system'">
+ <div class="max-w-[85%] rounded-lg border border-slate-700 bg-slate-900/80 px-3 py-2 text-sm text-slate-200">
+ <p class="whitespace-pre-wrap break-words" x-text="entry.text"></p>
+ <template x-if="entry.jobId && entry.videoUrl">
+ <button
+ type="button"
+ class="mt-2 text-xs text-emerald-300 underline hover:text-emerald-200"
+ @click="selectVersion(entry.jobId)"
+ :aria-label="'Switch player to job ' + entry.jobId"
+ >
+ Play this render
+ </button>
+ </template>
+ </div>
+ </template>
+
+ <!-- Error message: left-aligned, red. -->
+ <template x-if="entry.role === 'error'">
+ <div class="max-w-[85%] rounded-lg border border-red-700 bg-red-950/60 px-3 py-2 text-sm text-red-100">
+ <p class="whitespace-pre-wrap break-words" x-text="entry.text"></p>
+ </div>
+ </template>
+ </div>
+ </template>
+ </div>
+
+ <!-- Message input + send button. -->
+ <form class="space-y-2" @submit.prevent="sendFeedback()" novalidate>
+ <label for="chat-message" class="sr-only">Feedback message</label>
+ <textarea
+ id="chat-message"
+ x-model="message"
+ rows="3"
+ :disabled="isInFlight() || !currentJobId"
+ placeholder="Describe a change -- e.g. 'Make the opening shot punchier and shorten the outro.'"
+ class="w-full resize-y rounded border border-slate-700 bg-slate-900 px-3 py-2 text-sm text-slate-100 placeholder-slate-500 focus:border-emerald-500 focus:outline-none focus:ring-2 focus:ring-emerald-500/40 disabled:opacity-60"
+ aria-label="Chat feedback message"
+ ></textarea>
+ <div class="flex items-center justify-between gap-3">
+ <span class="text-xs text-slate-500" aria-live="polite">
+ <template x-if="isInFlight()">
+ <span class="flex items-center gap-1 text-emerald-300">
+ <svg class="h-3 w-3 animate-spin" viewBox="0 0 24 24" fill="none" aria-hidden="true">
+ <circle cx="12" cy="12" r="10" stroke="currentColor" stroke-width="3" stroke-opacity="0.25"></circle>
+ <path d="M22 12a10 10 0 0 1-10 10" stroke="currentColor" stroke-width="3" stroke-linecap="round"></path>
+ </svg>
+ <span>Running&hellip;</span>
+ </span>
+ </template>
+ <template x-if="!isInFlight() && currentJobId">
+ <span>Feedback will target job <span class="font-mono text-slate-400" x-text="currentJobId"></span>.</span>
+ </template>
+ </span>
+ <button
+ type="submit"
+ :disabled="!canSend()"
+ aria-label="Send chat feedback"
+ class="rounded bg-emerald-600 px-4 py-2 text-sm font-semibold text-white hover:bg-emerald-500 focus:outline-none focus:ring-2 focus:ring-emerald-500/60 disabled:cursor-not-allowed disabled:bg-slate-700 disabled:text-slate-400"
+ >
+ <span x-show="!isInFlight()">Send</span>
+ <span x-show="isInFlight()">Running&hellip;</span>
+ </button>
+ </div>
+ </form>
+ </div>
+ </div>
+ </template>
+ </div>
+ </section>
+
+ <section x-show="view === 'timeline'" class="space-y-4">
+ <!--
+ EditPlan timeline viewer (US-008).
+
+ `timelineView()` fetches GET /api/jobs/{job_id}/edit-plan on
+ demand and renders a horizontally-scrolling card strip, one
+ card per EditPlanEntry. It reads `promotedJobId` (not
+ `currentJobId`) from the shared root scope for the same reason
+ the Review tab does: progressView clears `currentJobId` on
+ terminal state, so mirroring it here would wipe the timeline
+ exactly when the completed edit plan first becomes available.
+
+ As with review-chart, Alpine v3 calls `init()` on the component
+ automatically, so an explicit `x-init="init()"` would
+ double-register the $watch and refetch every plan twice.
+ -->
+ <!--
+ US-009 extends the US-008 timeline with pointed edit controls
+ (trim, reorder, overlay, delete, shot swap, save). The edit
+ surface lives on the same Alpine component so local mutations
+ can write straight into the plan.entries array without a
+ sibling-scope bus. We merge editControls() into timelineView()
+ via Object.assign and host the shot-browser modal inside the
+ same scope so its `swapTarget` reads land on the parent.
+ -->
+ <div
+ x-data="Object.assign(timelineView(), editControls(), reRenderControls())"
+ x-init="jobId = promotedJobId; activeView = view"
+ x-effect="jobId = promotedJobId; activeView = view; if (jobId) seedOriginalRender()"
+ class="space-y-4"
+ >
+ <header class="flex flex-wrap items-baseline justify-between gap-3">
+ <h2 class="text-xl font-semibold">Timeline</h2>
+ <template x-if="plan">
+ <div class="flex flex-wrap items-center gap-3 text-sm text-slate-400">
+ <span>
+ Total duration:
+ <span class="font-mono tabular-nums text-slate-100" x-text="formatTime(plan.total_duration)"></span>
+ </span>
+ <span>
+ Entries:
+ <span class="font-mono tabular-nums text-slate-100" x-text="plan.entry_count"></span>
+ </span>
+ <!-- Edit / Save / Cancel buttons -->
+ <template x-if="!editing">
+ <button
+ type="button"
+ class="rounded bg-emerald-600 px-3 py-1 text-xs font-semibold text-white hover:bg-emerald-500"
+ @click="enterEditMode()"
+ >Edit plan</button>
+ </template>
+ <template x-if="editing">
+ <span class="flex items-center gap-2">
+ <button
+ type="button"
+ class="rounded bg-emerald-600 px-3 py-1 text-xs font-semibold text-white hover:bg-emerald-500 disabled:cursor-not-allowed disabled:opacity-60"
+ :disabled="saving || !dirty || hasAnyError()"
+ @click="savePlan()"
+ >
+ <span x-show="!saving">Save</span>
+ <span x-show="saving">Saving&hellip;</span>
+ </button>
+ <!--
+ Re-render button (US-010). Visible whenever the
+ user is in edit mode AND either the plan has
+ unsaved changes OR a render is currently in flight.
+ The `|| rendering` clause keeps the button mounted
+ after savePlan() clears `dirty`, so the in-flight
+ "Rendering…" label has a chance to display and the
+ button doesn't visually vanish mid-click.
+ PUT-then-POST is fully encapsulated in
+ `triggerReRender()` -- the button just delegates.
+ -->
+ <template x-if="dirty || rendering">
+ <button
+ type="button"
+ class="rounded bg-indigo-600 px-3 py-1 text-xs font-semibold text-white hover:bg-indigo-500 disabled:cursor-not-allowed disabled:opacity-60"
+ :disabled="!canReRender()"
+ @click="triggerReRender()"
+ >
+ <span x-show="!rendering">Re-render</span>
+ <span x-show="rendering">Rendering&hellip;</span>
+ </button>
+ </template>
+ <button
+ type="button"
+ class="rounded bg-slate-700 px-3 py-1 text-xs font-semibold text-slate-100 hover:bg-slate-600 disabled:cursor-not-allowed disabled:opacity-60"
+ :disabled="saving || rendering"
+ @click="cancelEdit()"
+ >Cancel</button>
+ <span
+ x-show="dirty"
+ class="rounded-full bg-amber-900/60 px-2 py-0.5 text-[10px] uppercase tracking-wide text-amber-200"
+ >Unsaved</span>
+ </span>
+ </template>
+ <span
+ x-show="saveFlash"
+ x-text="saveFlash"
+ class="rounded-full bg-emerald-900/60 px-2 py-0.5 text-[10px] uppercase tracking-wide text-emerald-200"
+ ></span>
+ </div>
+ </template>
+ </header>
+
+ <!-- Plan-level edit errors (network, positions, generic 422). -->
+ <template x-if="planErrors.length > 0">
+ <ul role="alert" class="space-y-1 rounded border border-red-700 bg-red-950/60 px-4 py-3 text-sm text-red-200">
+ <template x-for="(msg, i) in planErrors" :key="i">
+ <li x-text="msg"></li>
+ </template>
+ </ul>
+ </template>
+
+ <!--
+ US-010: Re-render error banner. Distinct from `planErrors` so
+ a save-vs-render failure can be told apart at a glance. Cleared
+ when the next re-render is kicked off.
+ -->
+ <template x-if="renderError">
+ <div role="alert" class="rounded border border-red-700 bg-red-950/60 px-4 py-3 text-sm text-red-200" x-text="renderError"></div>
+ </template>
+
+ <!--
+ US-010: Re-render progress log + video player + version
+ dropdown + Review button. Only renders once at least one
+ render exists for this session OR a re-render is in flight,
+ so the timeline view stays clean for users who never click
+ "Edit plan". The whole block lives above the timeline cards
+ so the user can see the new render without scrolling.
+ -->
+ <template x-if="hasAnyRender() || rendering">
+ <section class="space-y-3 rounded border border-slate-800 bg-slate-900/40 p-4">
+ <header class="flex flex-wrap items-center justify-between gap-3">
+ <div class="flex items-center gap-3">
+ <h3 class="text-sm font-semibold uppercase tracking-wide text-slate-300">Renders</h3>
+ <template x-if="rendering">
+ <span class="flex items-center gap-2 text-xs text-emerald-300" role="status" aria-live="polite">
+ <svg class="h-3 w-3 animate-spin" viewBox="0 0 24 24" fill="none" aria-hidden="true">
+ <circle cx="12" cy="12" r="10" stroke="currentColor" stroke-width="3" stroke-opacity="0.25"></circle>
+ <path d="M22 12a10 10 0 0 1-10 10" stroke="currentColor" stroke-width="3" stroke-linecap="round"></path>
+ </svg>
+ <span>Re-rendering&hellip;</span>
+ </span>
+ </template>
+ </div>
+ <div class="flex items-center gap-2">
+ <!--
+ Version dropdown (US-010 AC: previous renders preserved,
+ version list shows all renders for this session). Only
+ renders when there is more than one entry so the common
+ "first render only" case stays uncluttered. Mirrors the
+ chat.js version picker shape.
+ -->
+ <template x-if="renders.length > 1">
+ <label class="flex items-center gap-2 text-xs text-slate-400">
+ <span>Version</span>
+ <select
+ :value="String(activeRenderIndex)"
+ @change="selectRender($event.target.value)"
+ class="rounded border border-slate-700 bg-slate-900 px-2 py-1 text-slate-100 focus:border-emerald-500 focus:outline-none focus:ring-2 focus:ring-emerald-500/40"
+ aria-label="Select render version"
+ >
+ <template x-for="(entry, idx) in renders" :key="entry.job_id || idx">
+ <option :value="String(idx)" x-text="entry.label"></option>
+ </template>
+ </select>
+ </label>
+ </template>
+
+ <!--
+ Review button (US-010 AC: optional Review button POSTs
+ /api/jobs/{id}/review-only and updates the radar chart).
+ Disabled while a reviewer-only run is already in flight
+ or no render exists yet to score.
+ -->
+ <button
+ type="button"
+ class="rounded bg-amber-600 px-3 py-1 text-xs font-semibold text-white hover:bg-amber-500 disabled:cursor-not-allowed disabled:opacity-60"
+ :disabled="!canReviewOnly()"
+ @click="triggerReviewOnly()"
+ aria-label="Run reviewer on the active render"
+ >
+ <span x-show="!reviewing">Review</span>
+ <span x-show="reviewing">Reviewing&hellip;</span>
+ </button>
+
+ <!--
+ Collapse / expand toggle for the inline progress log.
+ Defaults to open while a render is in flight (set in
+ triggerReRender) and is otherwise user-controlled.
+ -->
+ <template x-if="renderProgressLines.length > 0 || rendering">
+ <button
+ type="button"
+ class="rounded bg-slate-700 px-2 py-1 text-[11px] font-semibold text-slate-100 hover:bg-slate-600"
+ @click="renderProgressOpen = !renderProgressOpen"
+ :aria-expanded="renderProgressOpen ? 'true' : 'false'"
+ >
+ <span x-show="!renderProgressOpen">Show log</span>
+ <span x-show="renderProgressOpen">Hide log</span>
+ </button>
+ </template>
+ </div>
+ </header>
+
+ <!-- Reviewer-only error banner. Distinct from renderError. -->
+ <template x-if="reviewError">
+ <div role="alert" class="rounded border border-red-700 bg-red-950/60 px-3 py-2 text-xs text-red-200" x-text="reviewError"></div>
+ </template>
+
+ <!--
+ Active render video player. Always rendered when any
+ render exists so the user can scrub the latest render
+ without leaving the Timeline tab. Reassigning :src to a
+ new URL is sufficient to make the browser load the new
+ file (matches the chat.js + video-player.js pattern in
+ this same template).
+ -->
+ <template x-if="hasAnyRender() && activeRenderVideoUrl()">
+ <div class="space-y-1">
+ <video
+ :src="activeRenderVideoUrl()"
+ controls
+ preload="metadata"
+ class="w-full rounded border border-slate-800 bg-black shadow-lg"
+ :aria-label="'Render: ' + (activeRender() ? activeRender().label : '')"
+ ></video>
+ <p class="text-[11px] text-slate-500">
+ Showing
+ <span class="text-slate-300" x-text="activeRender() ? activeRender().label : ''"></span>
+ <template x-if="activeRender() && activeRender().job_id">
+ <span>
+ &middot;
+ <span class="font-mono" x-text="activeRender().job_id"></span>
+ </span>
+ </template>
+ </p>
+ </div>
+ </template>
+
+ <!--
+ Inline progress log for the in-flight render. Reuses the
+ same role="log" + aria-live pattern as progress.js so AT
+ users hear new lines as they stream.
+ -->
+ <template x-if="renderProgressOpen && (renderProgressLines.length > 0 || rendering)">
+ <div
+ x-ref="renderLogPane"
+ role="log"
+ aria-live="polite"
+ aria-label="Re-render progress log"
+ class="h-48 overflow-y-auto rounded border border-slate-800 bg-slate-950 p-2 font-mono text-[11px] leading-snug text-slate-300 shadow-inner"
+ >
+ <template x-if="renderProgressLines.length === 0">
+ <p class="text-slate-500">Waiting for the first progress line&hellip;</p>
+ </template>
+ <template x-for="(entry, idx) in renderProgressLines" :key="idx + ':' + entry.timestamp">
+ <div class="whitespace-pre-wrap break-words">
+ <span class="text-slate-600" x-text="entry.timestamp ? '[' + entry.timestamp + '] ' : ''"></span>
+ <span x-text="entry.line"></span>
+ </div>
+ </template>
+ </div>
+ </template>
+ </section>
+ </template>
+
+ <!-- Sticky "thumbnails may be stale" banner after reorders. -->
+ <template x-if="editing && thumbnailsStale">
+ <p class="rounded border border-amber-700 bg-amber-950/60 px-4 py-2 text-xs text-amber-200">
+ Thumbnails shown reflect the last rendered clip order and may be stale until the pipeline reruns.
+ </p>
+ </template>
+
+ <!-- Empty state: no job promoted yet. -->
+ <template x-if="!jobId">
+ <p class="text-slate-400">Submit a brief first to see its edit plan.</p>
+ </template>
+
+ <!-- Loading banner. -->
+ <template x-if="jobId && loading">
+ <p role="status" aria-live="polite" class="text-slate-400">Loading edit plan&hellip;</p>
+ </template>
+
+ <!-- Empty state: job exists but has no edit plan yet (409). -->
+ <template x-if="jobId && !loading && noPlanYet">
+ <p role="status" aria-live="polite" class="rounded border border-amber-700 bg-amber-950/60 px-4 py-3 text-sm text-amber-200">
+ No edit plan yet for this job. The pipeline may still be running, or it failed before the editor step.
+ </p>
+ </template>
+
+ <!-- Error banner for 404 / network / parse failures on GET. -->
+ <template x-if="jobId && !loading && error">
+ <p role="alert" class="rounded border border-red-700 bg-red-950/60 px-4 py-3 text-sm text-red-200" x-text="error"></p>
+ </template>
+
+ <!-- Empty plan (rare: plan exists but no entries). -->
+ <template x-if="jobId && !loading && !error && !noPlanYet && plan && plan.entry_count === 0">
+ <p class="text-slate-400">No entries in this edit plan.</p>
+ </template>
+
+ <!-- Timeline strip: horizontally-scrolling card list. -->
+ <template x-if="jobId && !loading && !error && !noPlanYet && plan && plan.entry_count > 0">
+ <div class="overflow-x-auto">
+ <ol class="flex gap-4 pb-4" role="list" aria-label="Edit plan timeline">
+ <template x-for="(entry, entryIndex) in plan.entries" :key="entry.position">
+ <li
+ class="flex w-72 shrink-0 flex-col rounded-lg bg-slate-800/60 shadow-sm ring-1 ring-slate-700"
+ :class="cardClasses(entry.roll_type)"
+ :draggable="editing"
+ @dragstart="dragStart($event, entryIndex)"
+ @dragover="dragOver($event)"
+ @drop="drop($event, entryIndex)"
+ >
+ <img
+ :src="entry.thumbnail_url"
+ :alt="'Thumbnail for position ' + entry.position"
+ loading="lazy"
+ class="h-36 w-full rounded-t-lg bg-slate-900 object-cover"
+ onerror="this.style.visibility='hidden'"
+ />
+ <div class="flex items-center justify-between px-3 pt-3">
+ <span class="text-xs font-semibold text-slate-400">#<span x-text="entry.position"></span></span>
+ <span
+ class="rounded-full px-2 py-0.5 text-[10px] uppercase tracking-wide"
+ :class="rollBadgeClasses(entry.roll_type)"
+ x-text="entry.roll_type"
+ ></span>
+ </div>
+ <p
+ class="truncate px-3 pt-1 font-mono text-xs text-slate-300"
+ :title="entry.shot_id"
+ x-text="entry.display_label"
+ ></p>
+
+ <!-- Read-only mode: existing US-008 metadata strip. -->
+ <template x-if="!editing">
+ <div>
+ <dl class="grid grid-cols-3 gap-2 px-3 py-2 text-[11px] text-slate-400">
+ <div>
+ <dt class="uppercase tracking-wide">Start</dt>
+ <dd class="font-mono tabular-nums text-slate-200" x-text="formatTime(entry.start_trim)"></dd>
+ </div>
+ <div>
+ <dt class="uppercase tracking-wide">End</dt>
+ <dd class="font-mono tabular-nums text-slate-200" x-text="formatTime(entry.end_trim)"></dd>
+ </div>
+ <div>
+ <dt class="uppercase tracking-wide">Dur</dt>
+ <dd class="font-mono tabular-nums text-slate-200" x-text="formatTime(entry.duration)"></dd>
+ </div>
+ </dl>
+ <template x-if="entry.text_overlay">
+ <p class="border-t border-slate-700/60 px-3 py-2 text-xs italic text-slate-300" x-text="entry.text_overlay"></p>
+ </template>
+ </div>
+ </template>
+
+ <!-- Edit mode: editable trim / overlay / action buttons. -->
+ <template x-if="editing">
+ <div class="space-y-2 border-t border-slate-700/60 px-3 py-3 text-xs text-slate-300">
+ <!-- Drag handle hint + duration readout. -->
+ <div class="flex items-center justify-between">
+ <span class="cursor-move text-[10px] uppercase tracking-wide text-slate-500">Drag to reorder</span>
+ <span class="font-mono tabular-nums text-slate-400">
+ Dur <span class="text-slate-200" x-text="formatTime(entry.duration)"></span>
+ </span>
+ </div>
+
+ <!-- start_trim input -->
+ <label class="block">
+ <span class="text-[10px] uppercase tracking-wide text-slate-500">Start trim</span>
+ <input
+ type="number"
+ step="0.1"
+ :min="shotStartBound(entry)"
+ :max="shotEndBound(entry)"
+ class="mt-1 w-full rounded bg-slate-900 px-2 py-1 font-mono tabular-nums text-slate-100 ring-1 ring-slate-700 focus:outline-none focus:ring-emerald-500"
+ :class="entryError(entry.position, 'start_trim') ? 'ring-red-500' : ''"
+ :value="entry.start_trim"
+ @input="setStartTrim(entry, $event.target.value)"
+ />
+ <template x-if="entryError(entry.position, 'start_trim')">
+ <p class="mt-1 text-[10px] text-red-300" x-text="entryError(entry.position, 'start_trim')"></p>
+ </template>
+ </label>
+
+ <!-- end_trim input -->
+ <label class="block">
+ <span class="text-[10px] uppercase tracking-wide text-slate-500">End trim</span>
+ <input
+ type="number"
+ step="0.1"
+ :min="shotStartBound(entry)"
+ :max="shotEndBound(entry)"
+ class="mt-1 w-full rounded bg-slate-900 px-2 py-1 font-mono tabular-nums text-slate-100 ring-1 ring-slate-700 focus:outline-none focus:ring-emerald-500"
+ :class="entryError(entry.position, 'end_trim') ? 'ring-red-500' : ''"
+ :value="entry.end_trim"
+ @input="setEndTrim(entry, $event.target.value)"
+ />
+ <template x-if="entryError(entry.position, 'end_trim')">
+ <p class="mt-1 text-[10px] text-red-300" x-text="entryError(entry.position, 'end_trim')"></p>
+ </template>
+ </label>
+
+ <!-- text_overlay input -->
+ <label class="block">
+ <span class="text-[10px] uppercase tracking-wide text-slate-500">Text overlay</span>
+ <input
+ type="text"
+ maxlength="120"
+ placeholder="(none)"
+ class="mt-1 w-full rounded bg-slate-900 px-2 py-1 italic text-slate-100 ring-1 ring-slate-700 focus:outline-none focus:ring-emerald-500"
+ :class="entryError(entry.position, 'text_overlay') ? 'ring-red-500' : ''"
+ :value="entry.text_overlay == null ? '' : entry.text_overlay"
+ @input="setTextOverlay(entry, $event.target.value)"
+ />
+ <template x-if="entryError(entry.position, 'text_overlay')">
+ <p class="mt-1 text-[10px] text-red-300" x-text="entryError(entry.position, 'text_overlay')"></p>
+ </template>
+ </label>
+
+ <!-- Per-entry "shot_id" error (from 422 when swap lands on a ghost) -->
+ <template x-if="entryError(entry.position, 'shot_id')">
+ <p class="text-[10px] text-red-300" x-text="entryError(entry.position, 'shot_id')"></p>
+ </template>
+
+ <!-- Action buttons: swap / delete -->
+ <div class="flex gap-2 pt-1">
+ <button
+ type="button"
+ class="flex-1 rounded bg-slate-700 px-2 py-1 text-[11px] font-semibold text-slate-100 hover:bg-slate-600"
+ @click="openSwapModal(entry.position)"
+ >Swap shot</button>
+ <button
+ type="button"
+ class="flex-1 rounded bg-red-900/70 px-2 py-1 text-[11px] font-semibold text-red-100 hover:bg-red-800"
+ @click="deleteEntry(entry.position)"
+ >Delete</button>
+ </div>
+ </div>
+ </template>
+ </li>
+ </template>
+ </ol>
+ </div>
+ </template>
+
+ <!--
+ Shot-browser modal (US-009). Nested inside the timeline
+ x-data so its `shotBrowser()` scope can reach the parent's
+ `swapTarget` + `jobFootageIndexPath` via `$root` -- Alpine's
+ nested component access pattern. The modal is only rendered
+ into the DOM while `swapTarget !== -1`, so the ESC listener
+ and fetch race-protection live in the component's lifecycle
+ hooks rather than as toplevel guards.
+ -->
+ <template x-if="swapTarget !== -1">
+ <div
+ x-data="shotBrowser()"
+ x-init="swapTargetLocal = swapTarget; footagePath = jobFootageIndexPath"
+ x-effect="swapTargetLocal = swapTarget; footagePath = jobFootageIndexPath"
+ class="fixed inset-0 z-50 flex items-start justify-center overflow-y-auto bg-slate-950/80 px-4 py-12"
+ @click.self="closeSwapModal()"
+ @keydown.escape.window="closeSwapModal()"
+ role="dialog"
+ aria-modal="true"
+ aria-labelledby="shot-browser-title"
+ >
+ <div class="w-full max-w-2xl rounded-lg bg-slate-900 ring-1 ring-slate-700">
+ <header class="flex items-center justify-between border-b border-slate-700/60 px-4 py-3">
+ <h3 id="shot-browser-title" class="text-sm font-semibold text-slate-100">
+ Swap shot at position <span class="font-mono tabular-nums" x-text="swapTargetLocal"></span>
+ </h3>
+ <button
+ type="button"
+ class="rounded bg-slate-800 px-2 py-1 text-xs text-slate-300 hover:bg-slate-700"
+ @click="closeSwapModal()"
+ >Close</button>
+ </header>
+ <div class="space-y-3 px-4 py-3">
+ <label class="block">
+ <span class="sr-only">Search footage</span>
+ <input
+ type="text"
+ placeholder="Search footage (description, transcript, filename)"
+ class="w-full rounded bg-slate-950 px-3 py-2 text-sm text-slate-100 ring-1 ring-slate-700 focus:outline-none focus:ring-emerald-500"
+ :value="query"
+ @input="onInput($event)"
+ autofocus
+ />
+ </label>
+ <template x-if="loading">
+ <p class="text-xs text-slate-400">Searching&hellip;</p>
+ </template>
+ <template x-if="!loading && error">
+ <p role="alert" class="rounded border border-red-700 bg-red-950/60 px-3 py-2 text-xs text-red-200" x-text="error"></p>
+ </template>
+ <template x-if="!loading && !error && hasSearched && results.length === 0">
+ <p class="text-xs text-slate-400">No matches.</p>
+ </template>
+ <template x-if="!loading && !error && !hasSearched">
+ <p class="text-xs text-slate-500">Type a query to search the footage index.</p>
+ </template>
+ <template x-if="!loading && results.length > 0">
+ <ul class="max-h-96 space-y-2 overflow-y-auto" role="list">
+ <template x-for="shot in results" :key="shot.shot_id">
+ <li>
+ <button
+ type="button"
+ class="flex w-full flex-col gap-1 rounded bg-slate-800/60 px-3 py-2 text-left ring-1 ring-slate-700 hover:bg-slate-800 hover:ring-emerald-500"
+ @click="applyShotSwap(shot)"
+ >
+ <div class="flex items-center justify-between gap-2">
+ <span class="truncate font-mono text-xs text-slate-200" x-text="shot.display_label"></span>
+ <span
+ class="shrink-0 rounded-full bg-emerald-900/60 px-2 py-0.5 text-[10px] font-semibold text-emerald-200"
+ x-text="formatRelevance(shot.relevance_score)"
+ ></span>
+ </div>
+ <div class="flex items-center gap-2 text-[10px] uppercase tracking-wide text-slate-500">
+ <span x-text="shot.roll_type"></span>
+ <span>&middot;</span>
+ <span class="font-mono">
+ <span x-text="Number(shot.start_time).toFixed(1)"></span>s
+ &ndash;
+ <span x-text="Number(shot.end_time).toFixed(1)"></span>s
+ </span>
+ </div>
+ <template x-if="shot.description">
+ <p class="text-[11px] text-slate-300" x-text="snippet(shot.description, 120)"></p>
+ </template>
+ <template x-if="shot.transcript">
+ <p class="text-[11px] italic text-slate-400" x-text="snippet(shot.transcript, 120)"></p>
+ </template>
+ </button>
+ </li>
+ </template>
+ </ul>
+ </template>
+ </div>
+ </div>
+ </div>
+ </template>
+ </div>
+ </section>
+ </main>
+</body>
+</html>
diff --git a/src/web/static/js/brief-builder.js b/src/web/static/js/brief-builder.js
new file mode 100644
index 0000000..3a15024
--- /dev/null
+++ b/src/web/static/js/brief-builder.js
@@ -0,0 +1,234 @@
+/**
+ * AVE Studio — Brief Builder (US-004)
+ *
+ * Alpine.js v3 component factory that powers the creative-brief form.
+ * Registers itself as `window.briefBuilder` so the template can bind via
+ * `x-data="briefBuilder()"` without needing ES modules or a build step.
+ *
+ * Responsibilities:
+ * 1. Fetch /api/styles, /api/pipelines, /api/footage-indexes in parallel
+ * on init() and populate dropdown option arrays.
+ * 2. Hold form state for the CreativeBrief + job config.
+ * 3. Client-side validate required text fields, pipeline selection, and
+ * footage index selection. Style is optional (maps to null).
+ * 4. Assemble the exact POST /api/jobs payload shape and submit it.
+ * 5. Surface loading / error / success states to the UI.
+ */
+(function () {
+ "use strict";
+
+ // Single source of truth for range slider bounds so UI and payload agree.
+ const DURATION_MIN = 15;
+ const DURATION_MAX = 60;
+ const DURATION_DEFAULT = 30;
+
+ /**
+ * Build the initial Alpine state object. Exposed as a factory (not a
+ * singleton) so each `x-data="briefBuilder()"` binding gets its own
+ * isolated state — important if the brief-builder section is ever
+ * re-rendered or duplicated.
+ */
+ function briefBuilder() {
+ return {
+ // --- CreativeBrief fields ---
+ brief: {
+ product: "",
+ audience: "",
+ tone: "",
+ duration_seconds: DURATION_DEFAULT,
+ style_ref: "",
+ },
+
+ // --- Job-level config (outside the brief object) ---
+ pipeline_path: "",
+ footage_index_path: "",
+
+ // --- Dropdown option arrays, populated by init() ---
+ styles: [],
+ pipelines: [],
+ footageIndexes: [],
+
+ // --- Range slider bounds exposed to the template ---
+ durationMin: DURATION_MIN,
+ durationMax: DURATION_MAX,
+
+ // --- Async UI state ---
+ loadingOptions: true,
+ submitting: false,
+ error: "",
+ lastJobId: "",
+
+ /**
+ * Alpine lifecycle hook. Fire all three GETs in parallel so the form
+ * is usable as fast as possible. A single failure sets `error` but
+ * still unblocks `loadingOptions` so the user can retry manually by
+ * reloading — we don't want to leave the form wedged.
+ */
+ async init() {
+ this.loadingOptions = true;
+ this.error = "";
+ try {
+ const [stylesRes, pipelinesRes, footageRes] = await Promise.all([
+ fetch("/api/styles"),
+ fetch("/api/pipelines"),
+ fetch("/api/footage-indexes"),
+ ]);
+
+ if (!stylesRes.ok) {
+ throw new Error(`Failed to load styles (HTTP ${stylesRes.status})`);
+ }
+ if (!pipelinesRes.ok) {
+ throw new Error(
+ `Failed to load pipelines (HTTP ${pipelinesRes.status})`
+ );
+ }
+ if (!footageRes.ok) {
+ throw new Error(
+ `Failed to load footage indexes (HTTP ${footageRes.status})`
+ );
+ }
+
+ const [styles, pipelines, footageIndexes] = await Promise.all([
+ stylesRes.json(),
+ pipelinesRes.json(),
+ footageRes.json(),
+ ]);
+
+ this.styles = Array.isArray(styles) ? styles : [];
+ this.pipelines = Array.isArray(pipelines) ? pipelines : [];
+ this.footageIndexes = Array.isArray(footageIndexes)
+ ? footageIndexes
+ : [];
+
+ // Auto-select when there is exactly one option — the browser
+ // renders it visually but never fires a change event, so x-model
+ // stays empty. Pre-setting the value fixes the disabled Run button.
+ if (this.pipelines.length === 1) {
+ this.pipeline_path = this.pipelines[0].path;
+ }
+ if (this.footageIndexes.length === 1) {
+ this.footage_index_path = this.footageIndexes[0].path;
+ }
+ } catch (err) {
+ this.error =
+ err && err.message
+ ? `Could not load form options: ${err.message}`
+ : "Could not load form options.";
+ } finally {
+ this.loadingOptions = false;
+ }
+ },
+
+ /**
+ * Human-readable label for a footage index option — we want the
+ * shot count visible in the dropdown so the user can spot the right
+ * index at a glance.
+ */
+ footageLabel(entry) {
+ if (!entry) return "";
+ const count = Number.isFinite(entry.shot_count) ? entry.shot_count : 0;
+ return `${entry.name} (${count} shots)`;
+ },
+
+ /**
+ * Returns true if the form is currently valid to submit.
+ * - product, audience, tone: non-empty after trim
+ * - pipeline_path: non-empty
+ * - footage_index_path: non-empty
+ * - style_ref: optional (no constraint)
+ * - duration is clamped by the range input natively
+ */
+ canSubmit() {
+ if (this.submitting) return false;
+ if (this.loadingOptions) return false;
+ if (!this.brief.product || !this.brief.product.trim()) return false;
+ if (!this.brief.audience || !this.brief.audience.trim()) return false;
+ if (!this.brief.tone || !this.brief.tone.trim()) return false;
+ if (!this.pipeline_path) return false;
+ if (!this.footage_index_path) return false;
+ return true;
+ },
+
+ /**
+ * Assemble the POST /api/jobs payload with the exact shape the
+ * FastAPI route expects. `style_ref` collapses to null when empty
+ * because the backend model types it as `str | None`, and pydantic
+ * will reject an empty-string-coerced-to-None only if we send it
+ * that way — safer to emit `null` explicitly.
+ */
+ buildPayload() {
+ const styleRef = this.brief.style_ref ? this.brief.style_ref : null;
+ return {
+ brief: {
+ product: this.brief.product.trim(),
+ audience: this.brief.audience.trim(),
+ tone: this.brief.tone.trim(),
+ duration_seconds: Number(this.brief.duration_seconds),
+ style_ref: styleRef,
+ },
+ footage_index_path: this.footage_index_path,
+ pipeline_path: this.pipeline_path,
+ };
+ },
+
+ /**
+ * POST the assembled payload to /api/jobs. On success, store the
+ * returned job_id and surface it in the UI. Navigation to the
+ * progress view is intentionally out of scope here — that's US-005.
+ */
+ async submit() {
+ if (!this.canSubmit()) return;
+ this.submitting = true;
+ this.error = "";
+ this.lastJobId = "";
+
+ const payload = this.buildPayload();
+
+ try {
+ const response = await fetch("/api/jobs", {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify(payload),
+ });
+
+ if (!response.ok) {
+ // Try to surface the FastAPI error body if present.
+ let detail = `HTTP ${response.status}`;
+ try {
+ const body = await response.json();
+ if (body && body.detail) {
+ detail = typeof body.detail === "string"
+ ? body.detail
+ : JSON.stringify(body.detail);
+ }
+ } catch (_parseErr) {
+ // Non-JSON error body; keep the status-code fallback.
+ }
+ throw new Error(detail);
+ }
+
+ const body = await response.json();
+ const jobId = body && (body.job_id || body.id);
+ if (!jobId) {
+ throw new Error("Server accepted the job but returned no job_id.");
+ }
+ this.lastJobId = jobId;
+ // eslint-disable-next-line no-console
+ console.log(`[brief-builder] Job ${jobId} queued`, body);
+ } catch (err) {
+ this.error =
+ err && err.message
+ ? `Failed to queue job: ${err.message}`
+ : "Failed to queue job.";
+ } finally {
+ this.submitting = false;
+ }
+ },
+ };
+ }
+
+ // Expose as a global so Alpine's x-data="briefBuilder()" can find it.
+ // No ES-module export needed — this script is loaded via a plain
+ // <script> tag alongside the Alpine CDN bundle.
+ window.briefBuilder = briefBuilder;
+})();
diff --git a/src/web/static/js/chat.js b/src/web/static/js/chat.js
new file mode 100644
index 0000000..1f9da5c
--- /dev/null
+++ b/src/web/static/js/chat.js
@@ -0,0 +1,1101 @@
+/**
+ * AVE Studio -- Chat Feedback (US-007)
+ *
+ * Alpine.js v3 component factory that powers the post-video chat refinement
+ * view. Registers itself as `window.chatView` so the template can bind via
+ * `x-data="chatView()"` without needing ES modules or a build step -- same
+ * pattern as brief-builder.js / progress.js / video-player.js / review-chart.js.
+ *
+ * Responsibilities
+ * ----------------
+ *
+ * 1. Seed the chat session from the shared root scope's `promotedJobId`
+ * (or `currentJobId` as a fallback) so the user who just finished a
+ * pipeline run can immediately start iterating on it.
+ * 2. Fetch the initial job via `GET /api/jobs/{id}` to populate the first
+ * version entry (video + review + any reviewer-generated feedback) and
+ * the initial transcript.
+ * 3. Accept free-text feedback, POST it to
+ * `POST /api/jobs/{currentJobId}/feedback`, and surface the 404 / 409 /
+ * network errors as system-chat messages (not crashes).
+ * 4. Open a WebSocket to `/ws/jobs/{new-job-id}` for the feedback re-run and
+ * stream progress lines + a four-step indicator (mirroring the main
+ * progressView component but inline in the chat panel).
+ * 5. On terminal completion, fetch the new job, append a system chat
+ * response (new video + new ReviewScore summary), push the new render
+ * into the `versions` array, and flip `activeVersionId` so the video
+ * player element swaps to the new source.
+ * 6. Track every prior render in `versions` so the user can flip back to
+ * an older cut via a dropdown -- selecting an older version mutates
+ * `activeVersionId` only, so chat.js owns the player source entirely
+ * and never mutates the shared root scope's `promotedJobId`.
+ * 7. Keep the full accumulated feedback history visible in the transcript
+ * across multiple rounds -- the backend already accumulates
+ * `feedback_history` on each re-run, we just render it chronologically.
+ * 8. Disable the send button while a feedback re-run is streaming so the
+ * user cannot pile on and race the server.
+ *
+ * Scope & integration
+ * -------------------
+ *
+ * This component is intentionally self-contained. It does NOT touch
+ * progress.js, review-chart.js, video-player.js, or brief-builder.js -- it
+ * speaks to the same REST + WebSocket endpoints the other components use
+ * and renders its own video / log / chart surfaces inline. The only shared
+ * state it reads is the Alpine root's `promotedJobId` (the last job the
+ * brief-builder promoted into the review/chat views), which it mirrors
+ * into its own `rootJobId` via `$watch` so switching briefs resets the
+ * chat session to the new job.
+ */
+(function () {
+ "use strict";
+
+ /**
+ * Display labels for the feedback re-run step indicator. The order
+ * matches the backend's `[feedback-rerun] step N -- {agent}` framing
+ * lines emitted by `JobRegistry._run_feedback_rerun_sync`. Steps are
+ * 1-based in the progress log (step 1 = director, 2 = trim_refiner,
+ * 3 = editor, 4 = reviewer), so we subtract 1 to index into this array.
+ */
+ const FEEDBACK_STEP_NAMES = ["Director", "TrimRefiner", "Editor", "Reviewer"];
+
+ /**
+ * Regex for the feedback-rerun step boundary lines. Matches lines of
+ * the form `[feedback-rerun] step N -- {agent}`. The number is the
+ * authoritative ordering signal -- the indicator keys on it (not the
+ * agent name), so a future rename on the Python side does not break
+ * the UI. Accepts any run of dashes between the number and agent name
+ * in case a future refactor uses em-dashes or single hyphens.
+ */
+ const FEEDBACK_STEP_LINE_RE =
+ /\[feedback-rerun\]\s+step\s+(\d+)\s*[\u2014\u2013\-]+\s*([A-Za-z_][\w]*)/;
+
+ /**
+ * WebSocket close code the server uses for unknown job ids. Matches the
+ * UNKNOWN_JOB_CLOSE_CODE constant in src/web/routes/ws.py. Must stay in
+ * sync with progress.js's copy.
+ */
+ const UNKNOWN_JOB_CLOSE_CODE = 4004;
+
+ /**
+ * Delay between poll attempts in `loadInitialJob` when the parent job
+ * is still pending or running. The poll stops as soon as the parent
+ * reaches a terminal status, or when `_resetSession` promotes a new
+ * root job id (so a new brief submit cancels any in-flight poll).
+ */
+ const INITIAL_JOB_POLL_MS = 1500;
+
+ /**
+ * ReviewScore dimensions we surface in the chat response message so the
+ * user can see at a glance what changed between rounds. Same ordering
+ * as video-player.js / review-chart.js / progress.js -- `overall` last.
+ */
+ const REVIEW_DIMENSIONS = [
+ { key: "adherence", label: "Adherence" },
+ { key: "pacing", label: "Pacing" },
+ { key: "visual_quality", label: "Visual quality" },
+ { key: "watchability", label: "Watchability" },
+ { key: "overall", label: "Overall" },
+ ];
+
+ /**
+ * Normalize an absolute pipeline `final_video_path` into a URL the
+ * browser can load through the FastAPI `/media/` static mount. Copied
+ * verbatim from progress.js::toMediaUrl -- we keep a local copy instead
+ * of importing so chat.js has no load-order coupling with progress.js.
+ *
+ * Returns an empty string when the input is missing or unparseable --
+ * the caller renders a "video unavailable" fallback in that case.
+ */
+ function toMediaUrl(rawPath) {
+ if (!rawPath || typeof rawPath !== "string") return "";
+ if (rawPath.startsWith("/media/")) return rawPath;
+ const marker = "output/";
+ const idx = rawPath.indexOf(marker);
+ if (idx === -1) return "";
+ const tail = rawPath.slice(idx + marker.length);
+ if (!tail) return "";
+ return "/media/" + tail;
+ }
+
+ /**
+ * Format a ReviewScore dimension value for display. Mirrors the helper
+ * used in progress.js / video-player.js so the chat panel feels
+ * consistent with the rest of the app.
+ */
+ function formatScore(review, key) {
+ if (!review) return "n/a";
+ const value = review[key];
+ if (value === undefined || value === null) return "n/a";
+ return typeof value === "number" ? value.toFixed(2) : String(value);
+ }
+
+ /**
+ * Build a compact multi-line summary of a ReviewScore for a system
+ * chat message. Used when the feedback re-run completes so the user
+ * can immediately compare scores against the prior render.
+ */
+ function summarizeReview(review) {
+ if (!review) return "";
+ const parts = REVIEW_DIMENSIONS.map((dim) => {
+ return `${dim.label}: ${formatScore(review, dim.key)}`;
+ });
+ return parts.join(" | ");
+ }
+
+ /**
+ * Build the initial Alpine state for a chatView instance. Factory (not
+ * singleton) so each `x-data="chatView()"` binding gets isolated state.
+ * The chat section is hidden via x-show on its parent, so Alpine keeps
+ * a single instance alive across view flips -- which is exactly what
+ * lets the user switch between Chat / Review / Progress tabs without
+ * losing the transcript or the WebSocket stream.
+ */
+ function chatView() {
+ return {
+ // --- Job tracking ---
+ /**
+ * UUID of the very first job the chat session was seeded with. Set
+ * once from $root.promotedJobId (or currentJobId) and used to detect
+ * when the user submitted a NEW brief so the chat transcript can be
+ * reset to the new job.
+ */
+ rootJobId: "",
+
+ /**
+ * UUID of the most recently COMPLETED job in the chain. New
+ * feedback POSTs go to `POST /api/jobs/{currentJobId}/feedback`,
+ * and a successful re-run flips this to the child job id so the
+ * next feedback round chains off the latest cut.
+ */
+ currentJobId: "",
+
+ /**
+ * UUID of the child job currently streaming over the WebSocket, if
+ * any. Non-empty while a feedback re-run is in flight; cleared when
+ * the WebSocket reports a terminal status.
+ */
+ inFlightJobId: "",
+
+ // --- Chat input + transcript ---
+ /**
+ * Two-way bound to the chat textarea. Cleared on successful
+ * submit so the user can immediately start typing the next message.
+ */
+ message: "",
+
+ /**
+ * Chronological chat transcript. Each entry is one of:
+ * - {id, role: 'user', text, timestamp}
+ * - {id, role: 'system', text, videoPath?, videoUrl?, review?, jobId?, timestamp}
+ * - {id, role: 'error', text, timestamp}
+ * `id` is a monotonic counter so Alpine's :key is stable.
+ */
+ transcript: [],
+
+ /**
+ * All renders produced in this chat session, oldest first. The
+ * initial entry comes from the rootJobId fetch; each successful
+ * feedback re-run appends a new entry. Shape:
+ * {jobId, videoPath, videoUrl, review, createdAt, label}
+ */
+ versions: [],
+
+ /**
+ * Job id of the version currently displayed in the <video> player.
+ * Mutated by `selectVersion(id)` and auto-updated to the newest
+ * entry whenever a feedback re-run completes. The template drives
+ * the <video src> off this field so the browser picks up the swap
+ * without any custom event plumbing.
+ */
+ activeVersionId: "",
+
+ // --- Progress streaming state (only used during an in-flight re-run) ---
+ /**
+ * Live progress lines from the current feedback re-run WebSocket.
+ * Cleared when a new re-run starts so the panel only shows the
+ * latest stream.
+ */
+ progressLines: [],
+
+ /**
+ * 1-based step index for the feedback re-run, matching the
+ * `[feedback-rerun] step N -- {agent}` framing the backend emits.
+ * 0 = no step seen yet, 1..4 = that step is active,
+ * 5 = all steps complete. Drives the inline step indicator.
+ */
+ feedbackStep: 0,
+
+ /**
+ * One of:
+ * - "idle" : no feedback re-run has been submitted yet, or
+ * the last one finished.
+ * - "running" : WebSocket open, streaming progress.
+ * - "completed" : last re-run succeeded.
+ * - "failed" : last re-run failed.
+ */
+ progressStatus: "idle",
+
+ /**
+ * Last re-run error message, if any. Shown in the inline progress
+ * banner in addition to the error message added to the transcript.
+ */
+ errorMessage: "",
+
+ /**
+ * Flag set while the first `GET /api/jobs/{id}` is in flight so
+ * the template can show a "loading chat session" state instead of
+ * a blank transcript.
+ */
+ loadingInitial: false,
+
+ // --- Template helper ---
+ /** Dimension list exposed for the inline review summary cards. */
+ dimensions: REVIEW_DIMENSIONS,
+
+ /** Video-player fallback flag. Flips true on the <video> error event. */
+ videoLoadError: false,
+
+ // --- Bookkeeping ---
+ /** Active WebSocket instance, or null when idle. */
+ _socket: null,
+
+ /** Tracks whether a terminal status frame was seen before the close. */
+ _terminalSeen: false,
+
+ /**
+ * Set true by `_teardownSocket` right before calling `socket.close()`
+ * so the trailing `close` event fired by the browser after an
+ * explicit teardown (e.g. from `_resetSession` on a mid-stream brief
+ * submit) does NOT fall through to `_handleClose`'s abnormal-close
+ * branch and write a spurious "WebSocket closed before terminal
+ * status" error into the freshly reset chat session.
+ */
+ _suppressNextClose: false,
+
+ /** Monotonic counter for transcript entry ids (stable :key values). */
+ _nextTranscriptId: 1,
+
+ // ---------------------------------------------------------------- #
+ // Lifecycle #
+ // ---------------------------------------------------------------- #
+
+ /**
+ * Alpine lifecycle hook. Kept as a no-op placeholder -- seeding
+ * happens via the `x-effect="seedFromRoot(promotedJobId, currentJobId)"`
+ * binding on the wrapper element (see index.html) because Alpine 3
+ * does NOT expose the parent scope via `this` inside a nested
+ * component's `init()` method (see alpinejs/alpine#1711). The
+ * effect expression has the merged scope chain and forwards the
+ * root values into `seedFromRoot` below.
+ *
+ * Alpine v3 invokes `init()` automatically on mount -- the template
+ * does NOT need `x-init="init()"` (and adding one would double-fire
+ * the effect).
+ */
+ init() {
+ // Intentionally empty: seeding is driven by `x-effect` below.
+ },
+
+ /**
+ * Forward the root scope's `promotedJobId` / `currentJobId` into
+ * the local chatView state. Called from the wrapper's `x-effect`
+ * binding, so it runs on mount AND on every subsequent change to
+ * either root-scope value. Idempotent: only resets the session
+ * when a NEW job id lands, so re-running on unrelated reactive
+ * updates is cheap and does not stomp on an in-flight re-run.
+ */
+ seedFromRoot(promotedJobId, currentJobIdArg) {
+ // Prefer promotedJobId (stable, never cleared on terminal state)
+ // over currentJobId (cleared by progressView to re-enable the
+ // Run button). If neither is set, leave rootJobId empty and the
+ // empty-state message in the template will explain what to do.
+ const promoted = typeof promotedJobId === "string" ? promotedJobId : "";
+ const current =
+ typeof currentJobIdArg === "string" ? currentJobIdArg : "";
+ const next = promoted || current || "";
+ if (!next) return;
+ if (next === this.rootJobId) return;
+ this._resetSession(next);
+ this.loadInitialJob(next);
+ },
+
+ /**
+ * Alpine destroy hook. Closes any live WebSocket so the chat view
+ * does not leak a stream when the component unmounts (Alpine calls
+ * this when an ancestor x-if flips false). We also call
+ * `_teardownSocket` from `_handleClose` / `_resetSession` so most
+ * real teardown already happens before destroy runs.
+ */
+ destroy() {
+ this._teardownSocket();
+ },
+
+ /**
+ * Clear ALL chat-scoped state for a fresh root job. Called when
+ * the root scope promotes a new job id (e.g. second brief submit)
+ * so the user does not see a stale transcript from the prior job.
+ */
+ _resetSession(nextJobId) {
+ this._teardownSocket();
+ this.rootJobId = nextJobId;
+ this.currentJobId = nextJobId;
+ this.inFlightJobId = "";
+ this.message = "";
+ this.transcript = [];
+ this.versions = [];
+ this.activeVersionId = "";
+ this.progressLines = [];
+ this.feedbackStep = 0;
+ this.progressStatus = "idle";
+ this.errorMessage = "";
+ this.videoLoadError = false;
+ this._terminalSeen = false;
+ },
+
+ /**
+ * Fetch `GET /api/jobs/{jobId}` and populate the first version +
+ * opening transcript entry. Called from `init()` on session seed
+ * and again whenever the root scope promotes a new job.
+ */
+ async loadInitialJob(jobId) {
+ if (!jobId) return;
+ this.loadingInitial = true;
+ let response;
+ try {
+ response = await fetch(`/api/jobs/${encodeURIComponent(jobId)}`, {
+ headers: { Accept: "application/json" },
+ });
+ } catch (err) {
+ this.loadingInitial = false;
+ const detail =
+ err && err.message ? err.message : "network error";
+ this._appendError(
+ `Could not load initial job ${jobId}: ${detail}`
+ );
+ return;
+ }
+ this.loadingInitial = false;
+
+ if (!response.ok) {
+ let detail = "";
+ try {
+ const body = await response.json();
+ if (body && typeof body.detail === "string") {
+ detail = body.detail;
+ }
+ } catch (_err) {
+ // non-JSON body -- fall through to status text.
+ }
+ this._appendError(
+ detail ||
+ `Failed to load job ${jobId} (${response.status} ${response.statusText}).`
+ );
+ return;
+ }
+
+ let payload;
+ try {
+ payload = await response.json();
+ } catch (_err) {
+ this._appendError("Initial job response was not valid JSON.");
+ return;
+ }
+ if (!payload || typeof payload !== "object") {
+ this._appendError("Initial job response was empty or malformed.");
+ return;
+ }
+
+ // If the parent job has not finished yet, poll until it does.
+ // Committing the initial Version 1 entry against a pending
+ // payload would cache an empty videoUrl forever because the
+ // `seedFromRoot` guard prevents a second seed for the same id.
+ // The poll self-cancels if `_resetSession` promotes a new root
+ // job id (e.g. the user submits a new brief).
+ const status = typeof payload.status === "string" ? payload.status : "";
+ if (status !== "completed" && status !== "failed") {
+ if (jobId !== this.rootJobId) return;
+ this.loadingInitial = true;
+ setTimeout(() => {
+ if (jobId !== this.rootJobId) return;
+ this.loadInitialJob(jobId);
+ }, INITIAL_JOB_POLL_MS);
+ return;
+ }
+
+ const result = payload.result && typeof payload.result === "object"
+ ? payload.result
+ : null;
+ const videoPath =
+ result && typeof result.final_video_path === "string"
+ ? result.final_video_path
+ : "";
+ const videoUrl = toMediaUrl(videoPath);
+ const review =
+ result && result.review && typeof result.review === "object"
+ ? result.review
+ : null;
+
+ const version = {
+ jobId,
+ videoPath,
+ videoUrl,
+ review,
+ createdAt:
+ typeof payload.completed_at === "string"
+ ? payload.completed_at
+ : typeof payload.created_at === "string"
+ ? payload.created_at
+ : "",
+ label: "Version 1 (initial render)",
+ };
+ this.versions = [version];
+ this.activeVersionId = jobId;
+ this.videoLoadError = false;
+
+ // Opening system message: describe the initial render + any
+ // reviewer feedback from the first run. Users seeing the chat
+ // tab for the first time should see SOME content, even if the
+ // job has no video / no review.
+ const openingLines = ["Initial render loaded."];
+ if (review && typeof review.feedback === "string" && review.feedback) {
+ openingLines.push(`Reviewer feedback: ${review.feedback}`);
+ }
+ const scoreSummary = summarizeReview(review);
+ if (scoreSummary) {
+ openingLines.push(`Scores -- ${scoreSummary}`);
+ }
+ // Also surface any pre-existing feedback_history from the parent
+ // job (e.g. the reviewer retry loop already produced some
+ // feedback strings). These become user-style entries in the
+ // transcript so later rounds see the full chain.
+ const history =
+ payload && Array.isArray(payload.feedback_history)
+ ? payload.feedback_history.filter((s) => typeof s === "string")
+ : [];
+
+ this.transcript = [];
+ for (const entry of history) {
+ this._appendTranscript({
+ role: "user",
+ text: entry,
+ timestamp: "",
+ });
+ }
+ this._appendTranscript({
+ role: "system",
+ text: openingLines.join("\n"),
+ videoPath,
+ videoUrl,
+ review,
+ jobId,
+ timestamp: version.createdAt,
+ });
+ },
+
+ // ---------------------------------------------------------------- #
+ // Feedback submit #
+ // ---------------------------------------------------------------- #
+
+ /**
+ * POST the chat textarea contents to the feedback endpoint and,
+ * on 202, open a WebSocket to the new child job id to stream its
+ * progress. Surfaces 404 / 409 / network errors as system-chat
+ * messages instead of crashing the Alpine component.
+ */
+ async sendFeedback() {
+ const trimmed = (this.message || "").trim();
+ if (!trimmed) return;
+ if (this.isInFlight()) return;
+ if (!this.currentJobId) {
+ this._appendError(
+ "No job to attach feedback to. Run a pipeline first."
+ );
+ return;
+ }
+
+ // Optimistically append the user's message to the transcript so
+ // they see it land immediately. If the POST fails we leave it in
+ // place + append an error message so the failure is anchored in
+ // the same conversational flow.
+ const userEntry = this._appendTranscript({
+ role: "user",
+ text: trimmed,
+ timestamp: new Date().toISOString(),
+ });
+ this.message = "";
+
+ let response;
+ try {
+ response = await fetch(
+ `/api/jobs/${encodeURIComponent(this.currentJobId)}/feedback`,
+ {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ Accept: "application/json",
+ },
+ body: JSON.stringify({ message: trimmed }),
+ }
+ );
+ } catch (err) {
+ const detail =
+ err && err.message ? err.message : "network error";
+ this._appendError(`Could not submit feedback: ${detail}`);
+ return;
+ }
+
+ if (response.status === 404) {
+ let detail = "";
+ try {
+ const body = await response.json();
+ if (body && typeof body.detail === "string") {
+ detail = body.detail;
+ }
+ } catch (_err) {
+ // non-JSON body -- fall back to status text
+ }
+ this._appendError(
+ detail ||
+ `Parent job ${this.currentJobId} was not found (404).`
+ );
+ return;
+ }
+
+ if (response.status === 409) {
+ let detail = "";
+ try {
+ const body = await response.json();
+ if (body && typeof body.detail === "string") {
+ detail = body.detail;
+ }
+ } catch (_err) {
+ // fall through
+ }
+ this._appendError(
+ detail ||
+ "Parent job is not ready for feedback (must be completed with an edit plan)."
+ );
+ return;
+ }
+
+ if (!response.ok) {
+ this._appendError(
+ `Feedback submit failed (${response.status} ${response.statusText}).`
+ );
+ return;
+ }
+
+ let payload;
+ try {
+ payload = await response.json();
+ } catch (_err) {
+ this._appendError("Feedback response was not valid JSON.");
+ return;
+ }
+
+ if (!payload || typeof payload.job_id !== "string" || !payload.job_id) {
+ this._appendError("Feedback response missing a job_id.");
+ return;
+ }
+
+ // Acknowledge the submit in the transcript so the user sees
+ // what's happening even before the first progress line lands.
+ this._appendTranscript({
+ role: "system",
+ text: `Queued feedback re-run (job ${payload.job_id}). Streaming progress...`,
+ jobId: payload.job_id,
+ timestamp: new Date().toISOString(),
+ });
+
+ // Reset the in-flight progress strip and open the WebSocket.
+ this.inFlightJobId = payload.job_id;
+ this.progressLines = [];
+ this.feedbackStep = 0;
+ this.progressStatus = "running";
+ this.errorMessage = "";
+ this._terminalSeen = false;
+ this._openProgressStream(payload.job_id);
+
+ // Suppress the unused-variable lint (userEntry is returned for
+ // future use, e.g. editing / retry semantics).
+ void userEntry;
+ },
+
+ // ---------------------------------------------------------------- #
+ // WebSocket streaming #
+ // ---------------------------------------------------------------- #
+
+ /**
+ * Open a WebSocket to `/ws/jobs/{newJobId}` and start streaming
+ * progress. Same wire format as progress.js -- see that file's
+ * comments for the three frame shapes.
+ */
+ _openProgressStream(newJobId) {
+ const proto = window.location.protocol === "https:" ? "wss:" : "ws:";
+ const url = `${proto}//${window.location.host}/ws/jobs/${encodeURIComponent(
+ newJobId
+ )}`;
+
+ let socket;
+ try {
+ socket = new WebSocket(url);
+ } catch (err) {
+ // Invalid URL / CSP / etc. Surface the failure as a terminal
+ // error and clear the in-flight state so the send button
+ // re-enables.
+ const detail = err && err.message ? err.message : String(err);
+ this.progressStatus = "failed";
+ this.errorMessage = `Could not open WebSocket: ${detail}`;
+ this.inFlightJobId = "";
+ this._appendError(this.errorMessage);
+ return;
+ }
+ this._socket = socket;
+
+ socket.addEventListener("message", (event) => {
+ this._handleMessage(event.data);
+ });
+ socket.addEventListener("error", () => {
+ // Browsers don't give us a usable error payload here -- the
+ // `close` handler is where we actually decide if this was a
+ // failure or a clean wrap-up.
+ // eslint-disable-next-line no-console
+ console.warn("[chat] WebSocket error event fired");
+ });
+ socket.addEventListener("close", (event) => {
+ this._handleClose(event);
+ });
+ },
+
+ /**
+ * Parse and dispatch one JSON frame from the server. Unknown types
+ * are dropped (with a console warning) rather than crashing the
+ * view.
+ */
+ _handleMessage(raw) {
+ let payload;
+ try {
+ payload = JSON.parse(raw);
+ } catch (_err) {
+ // eslint-disable-next-line no-console
+ console.warn("[chat] Dropping non-JSON WebSocket frame", raw);
+ return;
+ }
+ if (!payload || typeof payload !== "object") return;
+
+ switch (payload.type) {
+ case "progress":
+ this._appendProgressFrame(payload);
+ break;
+ case "status":
+ this._handleStatus(payload);
+ break;
+ case "result":
+ // The result frame carries the serialized PipelineResult.
+ // We don't commit anything yet -- the completion path waits
+ // until _handleStatus(completed) fires so the fetch below
+ // sees the full Job.to_dict() shape, which also includes the
+ // accumulated feedback_history. Stash the result locally so
+ // _finalizeRerun has it even if the follow-up GET fails.
+ this._lastResult =
+ payload.data && typeof payload.data === "object"
+ ? payload.data
+ : null;
+ break;
+ default:
+ // eslint-disable-next-line no-console
+ console.warn("[chat] Unknown message type", payload.type);
+ }
+ },
+
+ /**
+ * Append a single progress line and update the feedback-rerun
+ * step indicator if the line matches the canonical framing.
+ */
+ _appendProgressFrame(payload) {
+ const line = typeof payload.line === "string" ? payload.line : "";
+ const timestamp =
+ typeof payload.timestamp === "string" ? payload.timestamp : "";
+ this.progressLines.push({ line, timestamp });
+ this._parseFeedbackStep(line);
+ // Auto-scroll the inline log pane to the bottom on next render
+ // so the user always sees the latest line.
+ if (typeof this.$nextTick === "function") {
+ this.$nextTick(() => {
+ const el = this.$refs && this.$refs.chatLogPane;
+ if (el) {
+ el.scrollTop = el.scrollHeight;
+ }
+ });
+ }
+ },
+
+ /**
+ * Update `feedbackStep` when a `[feedback-rerun] step N -- ...`
+ * line lands. Clamps to `FEEDBACK_STEP_NAMES.length` in case a
+ * future runner adds a 5th step before this file is updated.
+ */
+ _parseFeedbackStep(line) {
+ if (!line) return;
+ const match = line.match(FEEDBACK_STEP_LINE_RE);
+ if (!match) return;
+ const stepNumber = parseInt(match[1], 10);
+ if (!Number.isFinite(stepNumber) || stepNumber < 1) return;
+ this.feedbackStep = Math.min(stepNumber, FEEDBACK_STEP_NAMES.length);
+ },
+
+ /**
+ * Handle a `{type: 'status', ...}` frame. Mirrors progress.js's
+ * logic but defers the final state mutation until `_handleClose`
+ * runs (via `_terminalSeen`) so we never race the trailing
+ * `result` frame before closing.
+ *
+ * On completion: kick off the follow-up fetch in `_finalizeRerun`
+ * so the system message sees the full Job.to_dict() shape (with
+ * feedback_history appended).
+ * On failure: append a system error message immediately and keep
+ * the inline banner visible.
+ */
+ _handleStatus(payload) {
+ const status = payload.status;
+ if (status === "completed") {
+ this._terminalSeen = true;
+ this.progressStatus = "completed";
+ this.feedbackStep = FEEDBACK_STEP_NAMES.length;
+ // Defer the system message + version append until after the
+ // GET /api/jobs/{id} call in _finalizeRerun. That way the chat
+ // entry carries the full feedback_history even if the result
+ // frame was missing a field.
+ this._finalizeRerun();
+ } else if (status === "failed") {
+ this._terminalSeen = true;
+ this.progressStatus = "failed";
+ const detail =
+ typeof payload.error === "string" && payload.error
+ ? payload.error
+ : "Pipeline re-run failed with no error message.";
+ this.errorMessage = detail;
+ this._appendTranscript({
+ role: "error",
+ text: `Feedback re-run failed: ${detail}`,
+ timestamp: new Date().toISOString(),
+ jobId: this.inFlightJobId,
+ });
+ }
+ },
+
+ /**
+ * Interpret the WebSocket close event. Single point where we clear
+ * `inFlightJobId` so the send button re-enables for ANY terminal
+ * outcome -- clean completion, clean failure, 4004 unknown-job, or
+ * an abnormal disconnect before a terminal status frame arrived.
+ *
+ * Clearing here (not in `_handleStatus`) matches the pattern
+ * progress.js uses to avoid tearing the socket down before the
+ * trailing `result` frame is delivered.
+ */
+ _handleClose(event) {
+ this._socket = null;
+
+ // If the caller explicitly tore the socket down (e.g. a brief
+ // re-submit mid-stream calls _resetSession -> _teardownSocket),
+ // swallow the trailing close event so it does not write a
+ // spurious error into the fresh chat session. Reset the flag
+ // and clear inFlightJobId so the UI is ready for the next run.
+ if (this._suppressNextClose) {
+ this._suppressNextClose = false;
+ this.inFlightJobId = "";
+ return;
+ }
+
+ if (this._terminalSeen) {
+ this.inFlightJobId = "";
+ return;
+ }
+
+ if (event && event.code === UNKNOWN_JOB_CLOSE_CODE) {
+ this.progressStatus = "failed";
+ this.errorMessage = `Unknown job id: ${this.inFlightJobId}`;
+ this._appendTranscript({
+ role: "error",
+ text: this.errorMessage,
+ timestamp: new Date().toISOString(),
+ jobId: this.inFlightJobId,
+ });
+ this.inFlightJobId = "";
+ return;
+ }
+
+ // Abnormal close -- WebSocket died before a terminal status.
+ this.progressStatus = "failed";
+ const codeSuffix =
+ event && typeof event.code === "number" ? ` (code ${event.code})` : "";
+ this.errorMessage =
+ "WebSocket closed before the pipeline reported a terminal status" +
+ codeSuffix +
+ ".";
+ this._appendTranscript({
+ role: "error",
+ text: this.errorMessage,
+ timestamp: new Date().toISOString(),
+ jobId: this.inFlightJobId,
+ });
+ this.inFlightJobId = "";
+ },
+
+ /**
+ * Tear down the active WebSocket, if any. Idempotent. Uses close
+ * code 1000 so the server-side handler sees a clean disconnect.
+ */
+ _teardownSocket() {
+ const socket = this._socket;
+ if (!socket) return;
+ this._socket = null;
+ try {
+ if (
+ socket.readyState === WebSocket.OPEN ||
+ socket.readyState === WebSocket.CONNECTING
+ ) {
+ // Mark the close we are about to trigger as expected so
+ // `_handleClose` skips the abnormal-close / unknown-job
+ // branches for THIS specific close event. Only set the
+ // flag when we actually call close() -- otherwise a later
+ // genuine close event could be suppressed by a stale flag.
+ this._suppressNextClose = true;
+ socket.close(1000, "chat view teardown");
+ }
+ } catch (_err) {
+ // Best-effort.
+ }
+ },
+
+ /**
+ * Fetch the newly completed job, build a new version entry, append
+ * the system response to the transcript, and chain `currentJobId`
+ * to the new job so the next feedback round targets it.
+ *
+ * Called from `_handleStatus` on the completed branch. If the
+ * follow-up GET fails for any reason we still surface a system
+ * message (using the cached result frame) so the user sees
+ * SOMETHING land -- the UX cost of a silent drop is worse than a
+ * partial summary.
+ */
+ async _finalizeRerun() {
+ const jobId = this.inFlightJobId;
+ if (!jobId) return;
+ const cachedResult = this._lastResult;
+ this._lastResult = null;
+
+ let payload = null;
+ try {
+ const response = await fetch(
+ `/api/jobs/${encodeURIComponent(jobId)}`,
+ { headers: { Accept: "application/json" } }
+ );
+ if (response.ok) {
+ payload = await response.json();
+ }
+ } catch (_err) {
+ // Swallow -- we'll fall back to cachedResult below.
+ }
+
+ // Prefer the authoritative Job.to_dict() payload; fall back to
+ // the cached result frame if the GET failed.
+ const result =
+ payload && payload.result && typeof payload.result === "object"
+ ? payload.result
+ : cachedResult;
+ const videoPath =
+ result && typeof result.final_video_path === "string"
+ ? result.final_video_path
+ : "";
+ const videoUrl = toMediaUrl(videoPath);
+ const review =
+ result && result.review && typeof result.review === "object"
+ ? result.review
+ : null;
+
+ // Build a chat-friendly summary of the new render.
+ const lines = [`Re-run complete (job ${jobId}).`];
+ const scoreSummary = summarizeReview(review);
+ if (scoreSummary) {
+ lines.push(`Scores -- ${scoreSummary}`);
+ }
+ if (review && typeof review.feedback === "string" && review.feedback) {
+ lines.push(`Reviewer feedback: ${review.feedback}`);
+ }
+ if (!videoUrl) {
+ lines.push("Video unavailable -- check the progress log above.");
+ }
+
+ // Stamp version entry + commit to the chat transcript.
+ const nextIndex = this.versions.length + 1;
+ const createdAt =
+ (payload && typeof payload.completed_at === "string"
+ ? payload.completed_at
+ : "") || new Date().toISOString();
+ const version = {
+ jobId,
+ videoPath,
+ videoUrl,
+ review,
+ createdAt,
+ label: `Version ${nextIndex}`,
+ };
+ this.versions = [...this.versions, version];
+ // Swap the video player to the new render. We also flip
+ // videoLoadError back to false so a prior load failure does not
+ // stick when the source changes.
+ this.activeVersionId = jobId;
+ this.videoLoadError = false;
+ // Chain subsequent feedback rounds off the new job.
+ this.currentJobId = jobId;
+ this.inFlightJobId = "";
+
+ this._appendTranscript({
+ role: "system",
+ text: lines.join("\n"),
+ videoPath,
+ videoUrl,
+ review,
+ jobId,
+ timestamp: createdAt,
+ });
+ },
+
+ // ---------------------------------------------------------------- #
+ // Template helpers #
+ // ---------------------------------------------------------------- #
+
+ /**
+ * Append one entry to the transcript with a stable id so Alpine's
+ * :key binding doesn't churn the DOM. Returns the entry for
+ * callers that want to reference it later (e.g. retry semantics).
+ */
+ _appendTranscript(entry) {
+ const id = this._nextTranscriptId;
+ this._nextTranscriptId += 1;
+ const full = Object.assign({ id }, entry);
+ this.transcript.push(full);
+ return full;
+ },
+
+ /**
+ * Shorthand for appending an error-role transcript entry AND
+ * surfacing it on the inline banner. Keeps error handling DRY
+ * across the submit / fetch / WebSocket paths.
+ */
+ _appendError(text) {
+ this.errorMessage = text;
+ this._appendTranscript({
+ role: "error",
+ text,
+ timestamp: new Date().toISOString(),
+ });
+ },
+
+ /**
+ * Switch the video player to a specific version. Called from the
+ * version dropdown / list. Does not touch `currentJobId` -- the
+ * next feedback round still chains off the latest re-run.
+ */
+ selectVersion(jobId) {
+ if (!jobId) return;
+ const match = this.versions.find((v) => v.jobId === jobId);
+ if (!match) return;
+ this.activeVersionId = jobId;
+ this.videoLoadError = false;
+ },
+
+ /** Lookup the full version object for `activeVersionId`. */
+ activeVersion() {
+ if (!this.activeVersionId) return null;
+ return (
+ this.versions.find((v) => v.jobId === this.activeVersionId) || null
+ );
+ },
+
+ /** URL the <video> element should load for the active version. */
+ activeVideoUrl() {
+ const version = this.activeVersion();
+ return version ? version.videoUrl : "";
+ },
+
+ /** ReviewScore the inline summary cards should render. */
+ activeReview() {
+ const version = this.activeVersion();
+ return version ? version.review : null;
+ },
+
+ /**
+ * True when we have something worth showing in the <video>
+ * element -- a non-empty URL and no prior load failure.
+ */
+ hasActiveVideo() {
+ return Boolean(this.activeVideoUrl()) && !this.videoLoadError;
+ },
+
+ /** True when a feedback re-run is currently streaming. */
+ isInFlight() {
+ return Boolean(this.inFlightJobId);
+ },
+
+ /** Disable the send button when input is empty or a re-run is live. */
+ canSend() {
+ if (this.isInFlight()) return false;
+ if (!this.currentJobId) return false;
+ return (this.message || "").trim().length > 0;
+ },
+
+ /** Format one score value for the inline summary cards. */
+ scoreValue(key) {
+ return formatScore(this.activeReview(), key);
+ },
+
+ /** True when the active version has a usable ReviewScore. */
+ hasActiveReview() {
+ return Boolean(this.activeReview());
+ },
+
+ /**
+ * Called from the <video> element's `error` event listener. Flips
+ * the component into its fallback state so the UI explains why
+ * playback failed rather than showing a broken element.
+ */
+ onVideoError() {
+ this.videoLoadError = true;
+ // eslint-disable-next-line no-console
+ console.warn(
+ "[chat] <video> element failed to load",
+ this.activeVideoUrl()
+ );
+ },
+
+ /**
+ * Step indicator classification for a 0-based step index. Mirrors
+ * progress.js::stepState but uses 1-based `feedbackStep` under the
+ * hood to match the backend's framing line numbering.
+ */
+ stepNames: FEEDBACK_STEP_NAMES,
+ stepState(index) {
+ if (this.progressStatus === "failed" && this.feedbackStep - 1 === index) {
+ return "failed";
+ }
+ if (this.feedbackStep <= 0) return "pending";
+ if (index < this.feedbackStep - 1) return "done";
+ if (index === this.feedbackStep - 1) {
+ return this.progressStatus === "completed" ? "done" : "active";
+ }
+ return "pending";
+ },
+ };
+ }
+
+ // Expose as a global so Alpine's x-data="chatView()" can find it. No
+ // ES-module export needed -- this script is loaded via a plain
+ // <script defer> tag that executes BEFORE the Alpine CDN script, just
+ // like brief-builder.js / progress.js / video-player.js / review-chart.js
+ // (see index.html for the ordering rationale).
+ window.chatView = chatView;
+})();
diff --git a/src/web/static/js/edit-controls.js b/src/web/static/js/edit-controls.js
new file mode 100644
index 0000000..ddc83de
--- /dev/null
+++ b/src/web/static/js/edit-controls.js
@@ -0,0 +1,768 @@
+/**
+ * AVE Studio -- Edit Controls (US-009)
+ *
+ * Alpine.js v3 helper component that extends the US-008 timeline viewer
+ * with pointed edit controls: per-entry trim sliders, drag-to-reorder,
+ * inline text-overlay editing, delete, shot swap, and a save button that
+ * PUTs the modified plan back to the server.
+ *
+ * Registers itself as `window.editControls` so the timeline template can
+ * mix it into the existing `timelineView()` scope via `x-data`. We expose
+ * a factory that returns a plain-object mixin rather than a standalone
+ * Alpine component because the edit surface has to read + write the same
+ * `plan.entries` array the timeline view already renders -- running a
+ * sibling component would require a second fetch round trip + a coupling
+ * layer. Instead we spread this object into the timeline template's
+ * `x-data` alongside `timelineView()`, and its methods mutate `this.plan`
+ * directly.
+ *
+ * Responsibilities
+ * ----------------
+ * 1. Track edit mode state (`editing`, `dirty`, per-entry `errors`,
+ * and the pending `shot_swap_target` index).
+ * 2. Provide setter helpers that Alpine `@input` handlers can call
+ * to mutate an entry's `start_trim`, `end_trim`, or `text_overlay`
+ * while enforcing client-side bound checks against the shot's
+ * `[start_time, end_time]` window (duplicates the server's
+ * semantic validation so users see errors immediately instead of
+ * waiting for a 422).
+ * 3. Drag-to-reorder via the native HTML5 drag/drop API -- no third
+ * party libraries. The list is keyed on `position`, so after a
+ * successful drop we rewrite every entry's `position` to its new
+ * array index (0..N-1 contiguous) and bump `dirty = true`.
+ * 4. Delete an entry and reindex the survivors.
+ * 5. Save: serialize the modified plan into the full EditPlan shape
+ * the PUT endpoint expects (the GET /edit-plan response drops
+ * display fields + `brief` + `music_path`, so we merge those back
+ * in from the job record captured at init time) and PUT it. On
+ * 422, parse the FastAPI `detail: [{loc, msg, type}]` shape and
+ * attach each error to the offending entry's field error map.
+ *
+ * Coding style
+ * ------------
+ * No ES modules, no TypeScript, no build step. Plain ES2021 that runs in
+ * the same script-ordered execution as timeline.js. Registered on
+ * `window.editControls` so Alpine's `x-data="{...timelineView(),
+ * ...editControls()}"` can pick it up after the deferred script runs.
+ */
+(function () {
+ "use strict";
+
+ /**
+ * Float tolerance when client-side validating trim bounds. Matches
+ * the server-side `_TRIM_EPSILON` in
+ * src/web/routes/jobs.py so our preflight catches exactly the same
+ * shapes the server would reject (no false greens). A slightly
+ * looser value would let a 422 slip through; a tighter value would
+ * reject shapes the server accepts.
+ */
+ const TRIM_EPSILON = 1e-3;
+
+ /**
+ * Build the edit-controls mixin. Factory form matches the style of
+ * timelineView() / reviewChart() / chatView() so the module surface
+ * is uniform across the static/js directory.
+ */
+ function editControls() {
+ return {
+ // ------------------------------------------------------------- #
+ // State #
+ // ------------------------------------------------------------- #
+
+ /**
+ * True once the user clicks "Edit" -- gates the trim/delete/swap
+ * controls so they are hidden in read-only mode and the card
+ * strip stays visually identical to US-008 when nobody is
+ * editing. Clicking Save or Cancel flips it back to false.
+ */
+ editing: false,
+
+ /**
+ * True when at least one local mutation has been applied since
+ * the plan was last fetched. Drives the Save button's disabled
+ * state and the "unsaved changes" indicator next to the header.
+ */
+ dirty: false,
+
+ /**
+ * Transient per-entry error map, keyed by position. Each value
+ * is an object `{field: message}` so the template can render a
+ * field-level error beside the offending input. Cleared on
+ * every successful save + whenever the affected field is edited
+ * again (so the red ring disappears as soon as the user types
+ * a valid value).
+ */
+ errors: {},
+
+ /**
+ * Plan-level error strings (positions-not-contiguous,
+ * brief/music_path issues, network failures). Rendered in a
+ * single banner above the card strip.
+ */
+ planErrors: [],
+
+ /**
+ * True while a PUT is in flight. Disables Save to prevent
+ * double-submits; the button flips back to enabled on
+ * success + 422 + network failure.
+ */
+ saving: false,
+
+ /**
+ * Success flash -- cleared after a few seconds via setTimeout
+ * so the user gets visual confirmation the PUT landed without
+ * having to re-inspect the card strip.
+ */
+ saveFlash: "",
+
+ /**
+ * The entry position currently targeted by the shot-swap modal,
+ * or -1 when no modal is open. The shot-browser component reads
+ * this via `x-show` and `$dispatch`es `shot-swap-result` back
+ * when the user picks a replacement.
+ */
+ swapTarget: -1,
+
+ /**
+ * Snapshot of the job's `footage_index_path`, captured once
+ * from GET /api/jobs/{id} when editing starts. The shot-browser
+ * needs this to query GET /api/footage/search?footage_index_path=...
+ * and the save path uses the same index to build the PUT body's
+ * `brief` + `music_path` fields (which the edit-plan GET drops).
+ */
+ jobFootageIndexPath: "",
+
+ /**
+ * Cached copy of the `brief` sub-object from GET /api/jobs/{id}.
+ * Required on the PUT body (EditPlan.brief is non-optional)
+ * and not returned by the GET /edit-plan enrichment path.
+ */
+ jobBrief: null,
+
+ /**
+ * Cached copy of `result.edit_plan.music_path` from GET
+ * /api/jobs/{id}. May be null -- the backend treats it as
+ * optional. Not returned by GET /edit-plan.
+ */
+ jobMusicPath: null,
+
+ /**
+ * Cached index of shots keyed by shot_id for client-side trim
+ * bound checks. Populated from the same GET /api/jobs/{id}
+ * prefetch that seeds brief/music_path. Values are
+ * `{start_time, end_time}`.
+ */
+ shotBounds: {},
+
+ /**
+ * Sticky flag set to true after any local edit that changes
+ * positions. Serves as the "thumbnails may be stale" banner --
+ * the original clip files were rendered in the old order, so a
+ * reordered plan's per-position thumbnails will point at the
+ * wrong frame until the pipeline reruns.
+ */
+ thumbnailsStale: false,
+
+ /**
+ * Internal drag-drop source index. Set in dragStart, cleared
+ * after drop. Not reactive -- Alpine does not need to watch it.
+ */
+ _dragFromIndex: -1,
+
+ // ------------------------------------------------------------- #
+ // Lifecycle #
+ // ------------------------------------------------------------- #
+
+ /**
+ * Pre-load the brief / music_path / footage_index_path from
+ * GET /api/jobs/{id}. Called from the template's
+ * `@click` on the Edit button the first time the user enters
+ * edit mode -- we don't do this in timelineView.init() because
+ * we only need it when the user actually wants to modify the
+ * plan.
+ *
+ * Also builds the shot-bounds lookup table from the
+ * FootageIndex so trim validation can be done client-side.
+ */
+ async enterEditMode() {
+ if (this.editing) return;
+ const jobId = this.jobId;
+ if (!jobId) return;
+
+ this.planErrors = [];
+ this.errors = {};
+
+ try {
+ const jobResp = await fetch(
+ `/api/jobs/${encodeURIComponent(jobId)}`,
+ { headers: { Accept: "application/json" } }
+ );
+ if (!jobResp.ok) {
+ this.planErrors.push(
+ `Could not load job metadata (${jobResp.status} ${jobResp.statusText}).`
+ );
+ return;
+ }
+ const jobBody = await jobResp.json();
+ this.jobBrief = jobBody && jobBody.brief ? jobBody.brief : null;
+ this.jobFootageIndexPath =
+ typeof jobBody.footage_index_path === "string"
+ ? jobBody.footage_index_path
+ : "";
+ this.jobMusicPath =
+ jobBody && jobBody.result && jobBody.result.edit_plan
+ ? jobBody.result.edit_plan.music_path ?? null
+ : null;
+ } catch (err) {
+ this.planErrors.push(
+ err && err.message
+ ? `Could not load job metadata: ${err.message}`
+ : "Could not load job metadata."
+ );
+ return;
+ }
+
+ // Fetch the FootageIndex so we can validate trims locally and
+ // expose shot bounds to the shot-browser (for swap previews).
+ if (this.jobFootageIndexPath) {
+ try {
+ const catalog = await fetch(
+ `/api/footage/catalog?footage_index_path=${encodeURIComponent(
+ this.jobFootageIndexPath
+ )}`,
+ { headers: { Accept: "application/json" } }
+ );
+ if (catalog.ok) {
+ const catalogBody = await catalog.json();
+ const results = Array.isArray(catalogBody.results)
+ ? catalogBody.results
+ : [];
+ const bounds = {};
+ for (const shot of results) {
+ if (typeof shot.shot_id === "string") {
+ bounds[shot.shot_id] = {
+ start_time: Number(shot.start_time),
+ end_time: Number(shot.end_time),
+ };
+ }
+ }
+ this.shotBounds = bounds;
+ }
+ } catch (_err) {
+ // Non-fatal: client-side validation will simply be
+ // skipped for shots that are not in the cache, and
+ // server-side validation will still catch them on PUT.
+ this.shotBounds = this.shotBounds || {};
+ }
+ }
+
+ this.editing = true;
+ },
+
+ /**
+ * Exit edit mode and discard local changes. The simplest way
+ * to guarantee a clean re-entry is to force the timeline
+ * viewer to refetch: clear `_loadedJobId` and call the
+ * existing `_maybeFetch` helper so the server-backed plan
+ * replaces whatever mutation the user did locally.
+ */
+ cancelEdit() {
+ this.editing = false;
+ this.dirty = false;
+ this.errors = {};
+ this.planErrors = [];
+ this.swapTarget = -1;
+ // Force a refetch so the local plan is replaced with the
+ // server's last-saved version.
+ this._loadedJobId = "";
+ this._maybeFetch();
+ },
+
+ // ------------------------------------------------------------- #
+ // Entry mutations #
+ // ------------------------------------------------------------- #
+
+ /**
+ * Update an entry's start_trim. Validates client-side against
+ * the shot bounds and sets/clears `errors[position].start_trim`.
+ */
+ setStartTrim(entry, raw) {
+ const value = Number(raw);
+ if (!Number.isFinite(value)) {
+ this._setEntryError(entry.position, "start_trim", "Must be a number.");
+ return;
+ }
+ this._clearEntryError(entry.position, "start_trim");
+ entry.start_trim = value;
+ entry.duration = this._computeDuration(entry);
+ this.dirty = true;
+ this._validateEntryBounds(entry);
+ },
+
+ /**
+ * Update an entry's end_trim. See setStartTrim.
+ */
+ setEndTrim(entry, raw) {
+ const value = Number(raw);
+ if (!Number.isFinite(value)) {
+ this._setEntryError(entry.position, "end_trim", "Must be a number.");
+ return;
+ }
+ this._clearEntryError(entry.position, "end_trim");
+ entry.end_trim = value;
+ entry.duration = this._computeDuration(entry);
+ this.dirty = true;
+ this._validateEntryBounds(entry);
+ },
+
+ /**
+ * Update an entry's text_overlay. Empty string clears it to
+ * `null` to match the PUT semantics (the backend treats null
+ * and empty-string differently; null is "no overlay" while
+ * empty string would render a blank overlay).
+ */
+ setTextOverlay(entry, raw) {
+ const value = typeof raw === "string" ? raw.trim() : "";
+ entry.text_overlay = value === "" ? null : value;
+ this.dirty = true;
+ },
+
+ /**
+ * Delete an entry and reindex the survivors 0..N-1.
+ */
+ deleteEntry(position) {
+ if (!this.plan || !Array.isArray(this.plan.entries)) return;
+ const idx = this.plan.entries.findIndex(
+ (e) => e.position === position
+ );
+ if (idx === -1) return;
+ this.plan.entries.splice(idx, 1);
+ this._reindex();
+ this.plan.entry_count = this.plan.entries.length;
+ // Purge the deleted position's errors -- the object still
+ // holds a key for it which would never be cleared otherwise.
+ delete this.errors[position];
+ this.dirty = true;
+ this.thumbnailsStale = true;
+ },
+
+ /**
+ * Begin a shot swap. Sets `swapTarget` to the offending
+ * position so the shot-browser modal (in shot-browser.js)
+ * opens against that entry.
+ */
+ openSwapModal(position) {
+ this.swapTarget = position;
+ },
+
+ /**
+ * Close the shot swap modal without picking a result.
+ */
+ closeSwapModal() {
+ this.swapTarget = -1;
+ },
+
+ /**
+ * Apply a shot-swap result coming back from the shot-browser
+ * modal. Replaces the target entry's shot_id, start_trim,
+ * end_trim, and source_file/source_filename display fields
+ * with the new shot's values. Preserves position + transition
+ * + text_overlay so the user's narrative survives the swap.
+ */
+ applyShotSwap(shot) {
+ if (this.swapTarget === -1) return;
+ if (!this.plan || !Array.isArray(this.plan.entries)) return;
+ const idx = this.plan.entries.findIndex(
+ (e) => e.position === this.swapTarget
+ );
+ if (idx === -1) return;
+ const entry = this.plan.entries[idx];
+ entry.shot_id = shot.shot_id;
+ entry.start_trim = Number(shot.start_time);
+ entry.end_trim = Number(shot.end_time);
+ entry.source_file = shot.source_file;
+ entry.source_filename = shot.source_filename;
+ entry.display_label = shot.display_label;
+ entry.roll_type = shot.roll_type;
+ entry.duration = Number(shot.duration);
+ // Record bounds so future trim edits validate locally.
+ this.shotBounds[shot.shot_id] = {
+ start_time: Number(shot.start_time),
+ end_time: Number(shot.end_time),
+ };
+ // Clear any residual errors on this entry.
+ delete this.errors[entry.position];
+ this.swapTarget = -1;
+ this.dirty = true;
+ this.thumbnailsStale = true;
+ },
+
+ // ------------------------------------------------------------- #
+ // Drag + drop reorder #
+ // ------------------------------------------------------------- #
+
+ /**
+ * Begin a drag on an entry card. Stash the source index in
+ * `_dragFromIndex` so drop can look it up. We also set a
+ * dataTransfer payload so the browser's default "move" cursor
+ * renders -- the string itself is not read back.
+ */
+ dragStart(event, index) {
+ if (!this.editing) return;
+ this._dragFromIndex = index;
+ if (event && event.dataTransfer) {
+ event.dataTransfer.effectAllowed = "move";
+ try {
+ event.dataTransfer.setData("text/plain", String(index));
+ } catch (_err) {
+ // Some browsers throw on setData in test environments;
+ // the visual cursor is cosmetic so we can swallow this.
+ }
+ }
+ },
+
+ /**
+ * Allow drop on a card. Without preventDefault the browser
+ * refuses to fire the drop handler.
+ */
+ dragOver(event) {
+ if (!this.editing) return;
+ if (event) {
+ event.preventDefault();
+ if (event.dataTransfer) event.dataTransfer.dropEffect = "move";
+ }
+ },
+
+ /**
+ * Drop handler: reorder the entries array so the dragged card
+ * lands at the target index, then rewrite every position to
+ * match array order (contiguous 0..N-1 invariant required by
+ * the server's validator).
+ */
+ drop(event, targetIndex) {
+ if (!this.editing) return;
+ if (event) event.preventDefault();
+ const from = this._dragFromIndex;
+ this._dragFromIndex = -1;
+ if (from === -1 || from === targetIndex) return;
+ if (!this.plan || !Array.isArray(this.plan.entries)) return;
+ const entries = this.plan.entries;
+ if (from < 0 || from >= entries.length) return;
+ if (targetIndex < 0 || targetIndex >= entries.length) return;
+ const [moved] = entries.splice(from, 1);
+ entries.splice(targetIndex, 0, moved);
+ this._reindex();
+ this.dirty = true;
+ this.thumbnailsStale = true;
+ },
+
+ // ------------------------------------------------------------- #
+ // Save #
+ // ------------------------------------------------------------- #
+
+ /**
+ * Serialize the local plan state into the EditPlan shape the
+ * PUT endpoint expects, send it, and dispatch the outcome:
+ * - 200 -> flash "Saved" + reset dirty
+ * - 422 -> parse per-field errors and surface them
+ * - 404 / 409 / network -> plan-level error banner
+ */
+ async savePlan() {
+ if (!this.plan || !this.jobId) return;
+ if (this.saving) return;
+ this.saving = true;
+ this.errors = {};
+ this.planErrors = [];
+
+ const totalDuration = this.plan.entries.reduce((sum, entry) => {
+ const start = Number(entry.start_trim);
+ const end = Number(entry.end_trim);
+ if (!Number.isFinite(start) || !Number.isFinite(end)) return sum;
+ return sum + (end - start);
+ }, 0);
+ this.plan.total_duration = totalDuration;
+
+ const body = {
+ brief: this.jobBrief,
+ music_path: this.jobMusicPath,
+ total_duration: Number(this.plan.total_duration) || 0,
+ entries: this.plan.entries.map((entry) => ({
+ shot_id: entry.shot_id,
+ start_trim: Number(entry.start_trim),
+ end_trim: Number(entry.end_trim),
+ position: Number(entry.position),
+ text_overlay: entry.text_overlay == null ? null : entry.text_overlay,
+ transition: entry.transition == null ? null : entry.transition,
+ })),
+ };
+
+ let response;
+ try {
+ response = await fetch(
+ `/api/jobs/${encodeURIComponent(this.jobId)}/edit-plan`,
+ {
+ method: "PUT",
+ headers: {
+ "Content-Type": "application/json",
+ Accept: "application/json",
+ },
+ body: JSON.stringify(body),
+ }
+ );
+ } catch (err) {
+ this.saving = false;
+ this.planErrors.push(
+ err && err.message
+ ? `Could not reach the edit-plan endpoint: ${err.message}`
+ : "Could not reach the edit-plan endpoint."
+ );
+ return;
+ }
+
+ if (response.status === 200) {
+ let payload = null;
+ try {
+ payload = await response.json();
+ } catch (_err) {
+ // Non-JSON 200 -- unlikely but recoverable. Keep the
+ // current local state since the server accepted it.
+ }
+ this.saving = false;
+ this.dirty = false;
+ this.saveFlash = "Saved.";
+ setTimeout(() => {
+ this.saveFlash = "";
+ }, 2500);
+ // Mutate plan.total_duration / entries from the server's
+ // canonical shape so any numeric coercion the server did
+ // (rounding, null-vs-missing normalization) lands in the
+ // UI without a refetch.
+ if (payload && payload.edit_plan) {
+ const saved = payload.edit_plan;
+ if (Number.isFinite(saved.total_duration)) {
+ this.plan.total_duration = Number(saved.total_duration);
+ }
+ }
+ return;
+ }
+
+ if (response.status === 422) {
+ this.saving = false;
+ let detail = [];
+ try {
+ const body422 = await response.json();
+ if (Array.isArray(body422.detail)) {
+ detail = body422.detail;
+ }
+ } catch (_err) {
+ // fall through to generic error
+ }
+ if (detail.length === 0) {
+ this.planErrors.push(
+ "Plan failed validation but the server did not report any fields."
+ );
+ return;
+ }
+ for (const err of detail) {
+ const loc = Array.isArray(err.loc) ? err.loc : [];
+ // Per-entry errors: ["body", "entries", i, "<field>"]
+ if (
+ loc.length >= 4 &&
+ loc[0] === "body" &&
+ loc[1] === "entries" &&
+ typeof loc[2] === "number"
+ ) {
+ const idx = loc[2];
+ const entry = this.plan.entries[idx];
+ if (entry) {
+ this._setEntryError(
+ entry.position,
+ String(loc[3]),
+ String(err.msg || "Invalid.")
+ );
+ } else {
+ this.planErrors.push(
+ `Entry ${idx}: ${err.msg || "invalid"}`
+ );
+ }
+ continue;
+ }
+ // Plan-level errors: ["body", "entries"] or anything else.
+ this.planErrors.push(String(err.msg || JSON.stringify(err)));
+ }
+ return;
+ }
+
+ this.saving = false;
+ let detail = "";
+ try {
+ const errBody = await response.json();
+ if (errBody && typeof errBody.detail === "string") {
+ detail = errBody.detail;
+ } else if (errBody && Array.isArray(errBody.detail)) {
+ detail = errBody.detail
+ .map((e) => e.msg || JSON.stringify(e))
+ .join("; ");
+ }
+ } catch (_err) {
+ // non-JSON body -- fall back to status text
+ }
+ this.planErrors.push(
+ detail ||
+ `Save failed (${response.status} ${response.statusText}).`
+ );
+ },
+
+ // ------------------------------------------------------------- #
+ // Template helpers #
+ // ------------------------------------------------------------- #
+
+ /** True when the given field on the given entry has an error. */
+ entryError(position, field) {
+ const map = this.errors[position];
+ return map && map[field] ? map[field] : "";
+ },
+
+ /** True when ANY entry has an error set. Disables the Save button. */
+ hasAnyError() {
+ for (const key in this.errors) {
+ if (!Object.prototype.hasOwnProperty.call(this.errors, key)) continue;
+ const fields = this.errors[key];
+ for (const f in fields) {
+ if (Object.prototype.hasOwnProperty.call(fields, f) && fields[f]) {
+ return true;
+ }
+ }
+ }
+ return false;
+ },
+
+ /** Stringify the shot bounds for a given entry for the min/max attrs. */
+ shotStartBound(entry) {
+ const bound = entry && this.shotBounds[entry.shot_id];
+ if (!bound) return null;
+ return bound.start_time;
+ },
+ shotEndBound(entry) {
+ const bound = entry && this.shotBounds[entry.shot_id];
+ if (!bound) return null;
+ return bound.end_time;
+ },
+
+ // ------------------------------------------------------------- #
+ // Private helpers #
+ // ------------------------------------------------------------- #
+
+ /**
+ * Rewrite every entry's `position` field to match its array
+ * index so the contiguous 0..N-1 invariant holds after any
+ * reorder / delete / swap operation. Preserves error maps by
+ * rebuilding the `errors` object against the new positions.
+ */
+ _reindex() {
+ if (!this.plan || !Array.isArray(this.plan.entries)) return;
+ const newErrors = {};
+ this.plan.entries.forEach((entry, i) => {
+ const oldPos = entry.position;
+ entry.position = i;
+ if (this.errors[oldPos]) {
+ newErrors[i] = this.errors[oldPos];
+ }
+ });
+ this.errors = newErrors;
+ },
+
+ _computeDuration(entry) {
+ const start = Number(entry.start_trim);
+ const end = Number(entry.end_trim);
+ if (!Number.isFinite(start) || !Number.isFinite(end)) return 0;
+ return Math.max(0, end - start);
+ },
+
+ /**
+ * Client-side trim validation mirror of the server's
+ * `_validate_edit_plan_against_index` check in
+ * src/web/routes/jobs.py. Set `errors[position][field]` with a
+ * friendly message for out-of-bounds / mis-ordered trims so
+ * the user sees the error inline before they ever click Save.
+ */
+ _validateEntryBounds(entry) {
+ const bound = this.shotBounds[entry.shot_id];
+ if (!bound) return; // server will validate
+ const start = Number(entry.start_trim);
+ const end = Number(entry.end_trim);
+ if (start > end + TRIM_EPSILON) {
+ this._setEntryError(
+ entry.position,
+ "start_trim",
+ `Start must be <= end (${end.toFixed(2)}s).`
+ );
+ return;
+ }
+ if (start < bound.start_time - TRIM_EPSILON) {
+ this._setEntryError(
+ entry.position,
+ "start_trim",
+ `Must be >= ${bound.start_time.toFixed(2)}s.`
+ );
+ return;
+ }
+ if (start > bound.end_time + TRIM_EPSILON) {
+ this._setEntryError(
+ entry.position,
+ "start_trim",
+ `Must be <= ${bound.end_time.toFixed(2)}s.`
+ );
+ return;
+ }
+ if (end < bound.start_time - TRIM_EPSILON) {
+ this._setEntryError(
+ entry.position,
+ "end_trim",
+ `Must be >= ${bound.start_time.toFixed(2)}s.`
+ );
+ return;
+ }
+ if (end > bound.end_time + TRIM_EPSILON) {
+ this._setEntryError(
+ entry.position,
+ "end_trim",
+ `Must be <= ${bound.end_time.toFixed(2)}s.`
+ );
+ return;
+ }
+ // All good -- clear both trim errors.
+ this._clearEntryError(entry.position, "start_trim");
+ this._clearEntryError(entry.position, "end_trim");
+ },
+
+ _setEntryError(position, field, message) {
+ const map = this.errors[position] || {};
+ map[field] = message;
+ // Reassign so Alpine notices the mutation on nested objects.
+ this.errors = { ...this.errors, [position]: map };
+ },
+
+ _clearEntryError(position, field) {
+ const map = this.errors[position];
+ if (!map || !map[field]) return;
+ delete map[field];
+ if (Object.keys(map).length === 0) {
+ const copy = { ...this.errors };
+ delete copy[position];
+ this.errors = copy;
+ } else {
+ this.errors = { ...this.errors, [position]: map };
+ }
+ },
+ };
+ }
+
+ // Expose as a global so the Alpine template can spread this mixin
+ // alongside `timelineView()` via
+ // `x-data="Object.assign(timelineView(), editControls())"`.
+ // No ES-module export needed -- this script is loaded via a plain
+ // <script defer> tag that executes BEFORE the Alpine CDN script,
+ // same pattern as timeline.js / review-chart.js / chat.js.
+ window.editControls = editControls;
+})();
diff --git a/src/web/static/js/progress.js b/src/web/static/js/progress.js
new file mode 100644
index 0000000..db0c87c
--- /dev/null
+++ b/src/web/static/js/progress.js
@@ -0,0 +1,552 @@
+/**
+ * AVE Studio — Progress View (US-005)
+ *
+ * Alpine.js v3 component factory that drives the live pipeline progress
+ * dashboard. Registers itself as `window.progressView` so the template can
+ * bind via `x-data="progressView()"` without needing ES modules or a build
+ * step — same pattern as brief-builder.js (US-004).
+ *
+ * Responsibilities:
+ * 1. Receive a job id (already created by brief-builder) and open exactly
+ * one WebSocket to /ws/jobs/{job_id}.
+ * 2. Parse the three wire message shapes emitted by src/web/routes/ws.py:
+ * - {"type": "progress", "line": "...", "timestamp": "..."}
+ * - {"type": "status", "status": "completed"|"failed", "error"?: "..."}
+ * - {"type": "result", "data": { ...serialized PipelineResult... }}
+ * 3. Render progress lines in a terminal-style scrolling container with
+ * auto-scroll to bottom.
+ * 4. Parse `[pipeline] step N — {agent}` lines and highlight the active
+ * step in a Director → TrimRefiner → Editor → Reviewer indicator.
+ * 5. Transition spinner → checkmark on completion, X on failure.
+ * 6. On completion, derive the playable video src from
+ * result.data.final_video_path (absolute fs path → /media/ url).
+ * 7. On failure, surface the error plus the last 10 log lines.
+ * 8. Clean up the WebSocket in the Alpine destroy() hook and whenever a
+ * new job is watched.
+ */
+(function () {
+ "use strict";
+
+ /**
+ * Canonical step order for the pipeline. The indicator renders these in
+ * order and highlights whichever one is currently running (or marks it
+ * done once a later step begins).
+ *
+ * These labels are DISPLAY-ONLY and are independent of the lowercase
+ * agent names emitted by the runner (e.g. `director`, `trim_refiner`,
+ * `editor`, `reviewer`). The indicator is keyed on the step NUMBER from
+ * the `[pipeline] step N — {agent}` log line, NOT on string-matching the
+ * agent name — so renaming an agent on the Python side does not break
+ * the progress dashboard. The step number is 0-based and maps directly
+ * to `STEP_NAMES[N]`.
+ */
+ const STEP_NAMES = ["Director", "TrimRefiner", "Editor", "Reviewer"];
+
+ /**
+ * Regex for the progress lines the pipeline runner emits to announce a
+ * step boundary. The canonical form uses an em-dash (U+2014) between the
+ * step number and the agent name, but older runs used an ASCII dash and
+ * some environments may substitute it on copy/paste — accept all three
+ * dash variants so the indicator keeps working without coupling the UI
+ * to a single character.
+ *
+ * Note: only the "step N — {agent} starting" shape is matched. The
+ * step-END log (`[pipeline] step — {agent} done in ...`) intentionally
+ * omits the number, so this regex won't match it — that's correct,
+ * step-start is the authoritative boundary for the indicator.
+ *
+ * Example matches:
+ * "[pipeline] step 0 — director starting"
+ * "[pipeline] step 1 - trim_refiner starting"
+ * "[pipeline] step 2 -- editor starting"
+ */
+ const STEP_LINE_RE = /\[pipeline\]\s+step\s+(\d+)\s*[—–\-]+\s*([A-Za-z_][\w]*)/;
+
+ /**
+ * WebSocket close code the server uses for unknown job ids. Matches the
+ * UNKNOWN_JOB_CLOSE_CODE constant in src/web/routes/ws.py.
+ */
+ const UNKNOWN_JOB_CLOSE_CODE = 4004;
+
+ /**
+ * How many tail lines to show alongside the error banner on failure.
+ * Matches the acceptance-criteria "last 10 progress lines for context".
+ */
+ const ERROR_TAIL_LINES = 10;
+
+ /**
+ * Normalize an absolute pipeline `final_video_path` into a URL the
+ * browser can load through the FastAPI `/media/` static mount.
+ *
+ * The runner stores an absolute filesystem path (see
+ * src/pipeline/runner.py PipelineResult.final_video_path) — e.g.
+ * /Users/.../agentic-video-editor/output/final/slug.mp4
+ *
+ * FastAPI mounts the repo's ./output directory at /media (see
+ * src/web/app.py), so we just split on the first "output/" segment and
+ * prepend "/media/". If the input already looks like a /media/ URL, pass
+ * it straight through.
+ *
+ * Returns an empty string when the input is missing or unparseable — the
+ * caller decides how to surface that to the user.
+ */
+ function toMediaUrl(rawPath) {
+ if (!rawPath || typeof rawPath !== "string") return "";
+ if (rawPath.startsWith("/media/")) return rawPath;
+ const marker = "output/";
+ const idx = rawPath.indexOf(marker);
+ if (idx === -1) return "";
+ const tail = rawPath.slice(idx + marker.length);
+ if (!tail) return "";
+ return "/media/" + tail;
+ }
+
+ /**
+ * Build the initial Alpine state object. Exposed as a factory so each
+ * `x-data="progressView()"` binding gets isolated state — important
+ * because the Alpine root uses x-show to hide/show this section.
+ */
+ function progressView() {
+ return {
+ // --- Job tracking ---
+ jobId: "",
+ // One of: "idle" | "connecting" | "running" | "completed" | "failed"
+ status: "idle",
+ error: "",
+
+ // --- Progress log (array of {line, timestamp}) ---
+ entries: [],
+
+ // --- Step indicator state ---
+ stepNames: STEP_NAMES,
+ /**
+ * Index of the step currently running, 0-based to match the
+ * `[pipeline] step N — {agent}` numbering the runner emits (which
+ * comes from `enumerate(manifest.steps)` — see src/pipeline/runner.py).
+ *
+ * Values:
+ * -1 → no step seen yet (all steps pending)
+ * 0..STEP_NAMES.length-1 → that step is active
+ * STEP_NAMES.length → pipeline completed (all steps done)
+ */
+ currentStep: -1,
+
+ // --- Pipeline result (once status === "completed") ---
+ result: null,
+ videoSrc: "",
+
+ // --- WebSocket bookkeeping ---
+ _socket: null,
+ _terminalSeen: false,
+
+ /**
+ * Alpine lifecycle: start watching the jobId declared via x-init.
+ * The template passes the id through the shared Alpine root state,
+ * so this hook is what actually opens the socket.
+ */
+ init() {
+ this.$watch("jobId", (next, prev) => {
+ // Any change (including clearing) tears down the old socket first.
+ this._teardownSocket();
+ if (next && next !== prev) {
+ this._reset();
+ this._connect(next);
+ }
+ });
+ // If the template already set jobId before init fired, honor it.
+ if (this.jobId) {
+ this._reset();
+ this._connect(this.jobId);
+ }
+ },
+
+ /**
+ * Alpine destroy hook — closes the socket when the component unmounts
+ * (e.g. the user navigates away from the progress section). Alpine
+ * calls this automatically for components inside an `x-if` that flips
+ * to false; we also explicitly call `_teardownSocket` from the watcher
+ * so a jobId change has the same effect.
+ */
+ destroy() {
+ this._teardownSocket();
+ },
+
+ /**
+ * Reset local state for a fresh job. Clears the log, step indicator,
+ * result payload, and error banner so the UI doesn't accidentally
+ * show stale data from a previous run.
+ */
+ _reset() {
+ this.status = "connecting";
+ this.error = "";
+ this.entries = [];
+ this.currentStep = -1;
+ this.result = null;
+ this.videoSrc = "";
+ this._terminalSeen = false;
+ },
+
+ /**
+ * Open a WebSocket to /ws/jobs/{jobId}. Uses the same scheme/host as
+ * the current page so dev (http → ws) and any future TLS deploy
+ * (https → wss) both work without reconfiguration.
+ */
+ _connect(jobId) {
+ const proto = window.location.protocol === "https:" ? "wss:" : "ws:";
+ const url = `${proto}//${window.location.host}/ws/jobs/${encodeURIComponent(
+ jobId
+ )}`;
+
+ let socket;
+ try {
+ socket = new WebSocket(url);
+ } catch (err) {
+ // Invalid URL (shouldn't happen), CSP violation, etc. Surface it.
+ this.status = "failed";
+ this.error =
+ err && err.message
+ ? `Could not open WebSocket: ${err.message}`
+ : "Could not open WebSocket.";
+ return;
+ }
+
+ this._socket = socket;
+
+ socket.addEventListener("message", (event) => {
+ this._handleMessage(event.data);
+ });
+
+ socket.addEventListener("error", () => {
+ // Browser doesn't give us a usable error payload on the "error"
+ // event — the `close` handler below is where we actually decide
+ // whether this was a failure or a clean terminal close.
+ // eslint-disable-next-line no-console
+ console.warn("[progress] WebSocket error event fired");
+ });
+
+ socket.addEventListener("close", (event) => {
+ this._handleClose(event);
+ });
+ },
+
+ /**
+ * Parse and dispatch a single JSON frame from the server. Any frame
+ * we don't recognize is dropped (with a console warning) rather than
+ * crashing the view — we'd rather keep the connection alive than
+ * show a broken UI for a harmless future extension.
+ */
+ _handleMessage(raw) {
+ let payload;
+ try {
+ payload = JSON.parse(raw);
+ } catch (err) {
+ // eslint-disable-next-line no-console
+ console.warn("[progress] Dropping non-JSON WebSocket frame", raw);
+ return;
+ }
+ if (!payload || typeof payload !== "object") return;
+
+ switch (payload.type) {
+ case "progress":
+ this._appendProgress(payload);
+ // The first progress frame also flips us from "connecting"
+ // into "running" so the spinner is correct.
+ if (this.status === "connecting") {
+ this.status = "running";
+ }
+ break;
+ case "status":
+ this._handleStatus(payload);
+ break;
+ case "result":
+ this.result = payload.data || null;
+ this.videoSrc = this._deriveVideoSrc(this.result);
+ break;
+ default:
+ // eslint-disable-next-line no-console
+ console.warn("[progress] Unknown message type", payload.type);
+ }
+ },
+
+ /**
+ * Append a progress entry to the rolling log, scroll the terminal
+ * pane to the bottom, and update the step indicator if the line
+ * matches the canonical `[pipeline] step N — {agent}` format.
+ */
+ _appendProgress(payload) {
+ const line = typeof payload.line === "string" ? payload.line : "";
+ const timestamp =
+ typeof payload.timestamp === "string" ? payload.timestamp : "";
+ this.entries.push({ line, timestamp });
+ this._parseStep(line);
+ // Defer scroll until Alpine has had a chance to render the new row.
+ this.$nextTick(() => {
+ const el = this.$refs.logPane;
+ if (el) {
+ el.scrollTop = el.scrollHeight;
+ }
+ });
+ },
+
+ /**
+ * Update `currentStep` when a step boundary line is seen. We key on
+ * the step NUMBER rather than the agent name so the indicator stays
+ * in sync even if a pipeline run ever includes an agent name we
+ * don't display (e.g. a future diagnostic step) — the number is the
+ * authoritative ordering signal.
+ *
+ * The runner emits 0-based indices via `enumerate(manifest.steps)`,
+ * so step 0 = Director, 1 = TrimRefiner, 2 = Editor, 3 = Reviewer.
+ * Any number beyond STEP_NAMES.length-1 is clamped to the final
+ * display slot so a 5th step (if one is ever added before this file
+ * is updated) still marks the four known steps as done.
+ */
+ _parseStep(line) {
+ if (!line) return;
+ const match = line.match(STEP_LINE_RE);
+ if (!match) return;
+ const stepNumber = parseInt(match[1], 10);
+ if (!Number.isFinite(stepNumber) || stepNumber < 0) return;
+ this.currentStep = Math.min(stepNumber, STEP_NAMES.length - 1);
+ },
+
+ /**
+ * Handle a `{type: "status", ...}` frame from the server. Sets the
+ * terminal state so the spinner disappears and -- on failure -- stores
+ * the server-provided error message for the alert banner.
+ *
+ * We do NOT clear `currentJobId` here even though this marks the
+ * logical end of the job. The parent Alpine root binds `jobId` on
+ * this component to `currentJobId`, so clearing it synchronously
+ * would fire the jobId watcher, which calls _teardownSocket() --
+ * closing the socket BEFORE the server's follow-up `result` frame
+ * is delivered. The net effect would be a completed job with no
+ * video src or review scores. Instead, we defer the Run-button
+ * re-enable to _handleClose, which runs after the server has
+ * finished sending status -> result -> close in that order.
+ *
+ * Also note: we do NOT clear `this.result` or `this.videoSrc`
+ * here because the completed state still renders the rendered
+ * video and review panel from them.
+ */
+ _handleStatus(payload) {
+ const status = payload.status;
+ if (status === "completed") {
+ this._terminalSeen = true;
+ this.status = "completed";
+ // Once the pipeline declares itself done, mark all steps as
+ // complete so the indicator doesn't get stuck showing the final
+ // step as "active". Setting currentStep === STEP_NAMES.length
+ // means every `index < currentStep` check in stepState() is
+ // true, so all steps render as "done".
+ this.currentStep = STEP_NAMES.length;
+ } else if (status === "failed") {
+ this._terminalSeen = true;
+ this.status = "failed";
+ this.error =
+ typeof payload.error === "string" && payload.error
+ ? payload.error
+ : "Pipeline failed with no error message.";
+ }
+ },
+
+ /**
+ * Clear the Alpine root scope's `currentJobId` so the brief-builder
+ * Run button re-enables after a terminal state. Alpine's nested
+ * scope inheritance makes `this.currentJobId` refer to the parent
+ * when the child doesn't define its own — assigning it writes
+ * through to the root, which is where the Run button's
+ * `:disabled="... || !!currentJobId"` check reads from.
+ *
+ * The brief-builder → progressView bridge uses `promotedJobId` on
+ * the root (see index.html x-effect) to avoid re-promoting the same
+ * completed job after we clear currentJobId. We do NOT touch
+ * `promotedJobId` here — leaving it set to the finished job id
+ * is exactly what stops the x-effect from firing again.
+ */
+ _clearRootJobId() {
+ // Guard for the standalone case (no parent scope) — Alpine
+ // components nested inside <main x-data=...> always see the root
+ // fields via scope inheritance, but a future unit-test harness
+ // might render progressView in isolation.
+ if (typeof this.currentJobId !== "undefined") {
+ this.currentJobId = "";
+ }
+ },
+
+ /**
+ * Interpret the WebSocket close event. This is the single point where
+ * we re-enable the Run button for ANY terminal outcome -- clean
+ * completion, clean failure, 4004 unknown job, or an abnormal
+ * disconnect. Doing it here (rather than in _handleStatus) guarantees
+ * the server has already delivered status -> result -> close before
+ * we clear `currentJobId`, so the jobId watcher-driven
+ * _teardownSocket() never fires mid-stream and never drops the
+ * `result` frame that carries the video src + review scores.
+ *
+ * Close outcomes:
+ * - _terminalSeen == true -> clean wrap-up, do not overwrite
+ * status/error set by _handleStatus
+ * - code == 4004 -> server's unknown-job signal
+ * - anything else -> abnormal disconnect before a
+ * terminal status frame arrived
+ *
+ * In all three cases we call _clearRootJobId() so the brief-builder
+ * Run button re-enables. Previously the abnormal-close branches
+ * (4004 and generic) set `status: "failed"` without clearing
+ * currentJobId, which wedged the Run button permanently.
+ */
+ _handleClose(event) {
+ // Drop the reference so `_teardownSocket` doesn't try to close a
+ // socket that's already closed.
+ this._socket = null;
+
+ if (this._terminalSeen) {
+ // Clean path: status + result already delivered before the
+ // close frame. Re-enable the Run button now that the server is
+ // definitively done with this job.
+ this._clearRootJobId();
+ return;
+ }
+
+ if (event.code === UNKNOWN_JOB_CLOSE_CODE) {
+ this.status = "failed";
+ this.error = `Unknown job id: ${this.jobId}`;
+ this._clearRootJobId();
+ return;
+ }
+
+ // Normal WebSocket close code per RFC 6455 is 1000. Anything else
+ // (or a 1000 without a terminal status) means the stream died
+ // before the pipeline finished.
+ this.status = "failed";
+ this.error =
+ "WebSocket closed before the pipeline reported a terminal status" +
+ (event.code ? ` (code ${event.code})` : "") +
+ ".";
+ this._clearRootJobId();
+ },
+
+ /**
+ * Tear down the active WebSocket, if any. Safe to call repeatedly.
+ * Uses close code 1000 so the server-side handler sees a clean
+ * disconnect rather than an abnormal failure.
+ */
+ _teardownSocket() {
+ const socket = this._socket;
+ if (!socket) return;
+ this._socket = null;
+ try {
+ // Only call close() if the socket hasn't already transitioned
+ // to CLOSING/CLOSED — close() is a no-op in those states per
+ // the spec, but the try/catch keeps us safe against older
+ // browsers that throw InvalidStateError.
+ if (
+ socket.readyState === WebSocket.OPEN ||
+ socket.readyState === WebSocket.CONNECTING
+ ) {
+ socket.close(1000, "client navigated away");
+ }
+ } catch (_err) {
+ // Best-effort — if close throws we can't do anything useful.
+ }
+ },
+
+ /**
+ * Turn a `result.data` payload into the URL the <video> element
+ * should load. Prefers `final_video_path`; falls back to an empty
+ * string if the field is missing so the template can show its
+ * "video unavailable" fallback instead of a broken <source>.
+ */
+ _deriveVideoSrc(result) {
+ if (!result || typeof result !== "object") return "";
+ const url = toMediaUrl(result.final_video_path);
+ if (!url) {
+ // eslint-disable-next-line no-console
+ console.warn(
+ "[progress] result.data.final_video_path missing or unparseable — video will be unavailable",
+ result.final_video_path
+ );
+ }
+ return url;
+ },
+
+ // ---------------------------------------------------------------- #
+ // Template helpers #
+ // ---------------------------------------------------------------- #
+
+ /**
+ * True while we're waiting on the WebSocket to deliver a terminal
+ * status. Used to drive spinner visibility and the Run button's
+ * disabled state in the parent component.
+ */
+ isRunning() {
+ return this.status === "connecting" || this.status === "running";
+ },
+
+ /** Has the job finished successfully? */
+ isCompleted() {
+ return this.status === "completed";
+ },
+
+ /** Has the job failed? */
+ isFailed() {
+ return this.status === "failed";
+ },
+
+ /**
+ * Step indicator classification for a 0-based step index (matching
+ * the runner's `[pipeline] step N —` numbering).
+ * - "done" → an earlier step (render as a check / filled dot)
+ * - "active" → the current step (render with a spinner / ring)
+ * - "pending" → hasn't started yet (muted)
+ * - "failed" → in-flight step at the moment of pipeline failure
+ *
+ * Treats currentStep === -1 (no step seen) as "all pending" and
+ * currentStep === STEP_NAMES.length as "all done" — see
+ * _handleStatus for why we bump currentStep to STEP_NAMES.length
+ * on completion.
+ */
+ stepState(index) {
+ if (this.status === "failed" && this.currentStep === index) {
+ // Show the step that was in flight at the moment of failure as
+ // "failed" so the user can see where the pipeline stopped.
+ return "failed";
+ }
+ if (this.currentStep < 0) return "pending";
+ if (index < this.currentStep) return "done";
+ if (index === this.currentStep) return "active";
+ return "pending";
+ },
+
+ /**
+ * Return the last N progress lines, for the failure banner context.
+ * Kept as a method (not a computed property) because Alpine doesn't
+ * memoize and we want cheap re-evaluation each render.
+ */
+ tailLines(n) {
+ const count = Number.isFinite(n) ? n : ERROR_TAIL_LINES;
+ if (this.entries.length <= count) return this.entries;
+ return this.entries.slice(this.entries.length - count);
+ },
+
+ /**
+ * Summary score lookup for the review panel. Returns a display
+ * string ("n/a" if missing) so the template can `x-text` each
+ * dimension without an x-if wrapper for every value.
+ */
+ reviewValue(key) {
+ if (!this.result || !this.result.review) return "n/a";
+ const value = this.result.review[key];
+ if (value === undefined || value === null) return "n/a";
+ return typeof value === "number" ? value.toFixed(2) : String(value);
+ },
+ };
+ }
+
+ // Expose as a global so Alpine's x-data="progressView()" can find it.
+ // No ES-module export needed — this script is loaded via a plain
+ // <script defer> tag that executes BEFORE the Alpine CDN script, just
+ // like brief-builder.js (see index.html for the ordering rationale).
+ window.progressView = progressView;
+})();
diff --git a/src/web/static/js/re-render.js b/src/web/static/js/re-render.js
new file mode 100644
index 0000000..4977e4b
--- /dev/null
+++ b/src/web/static/js/re-render.js
@@ -0,0 +1,1109 @@
+/**
+ * AVE Studio -- Re-render Controls (US-010)
+ *
+ * Alpine.js v3 mixin that extends the US-008 timeline view + US-009 edit
+ * controls with the "save the edited plan, fire a fresh editor-only
+ * render, stream progress, then swap the player to the new MP4" flow.
+ * Registers itself as `window.reRenderControls` so the timeline template
+ * can mix it into the existing `timelineView() + editControls()` scope
+ * via `Object.assign(timelineView(), editControls(), reRenderControls())`.
+ *
+ * Why a mixin instead of a sibling component
+ * ------------------------------------------
+ * The re-render flow needs read/write access to fields owned by
+ * editControls (`plan`, `dirty`, `errors`, `planErrors`, `saving`,
+ * `hasAnyError()`, `savePlan()`, `jobId`) and to fields owned by
+ * timelineView (`jobId`, `_loadedJobId`, `_maybeFetch`). Hosting it in a
+ * sibling Alpine component would force a `$dispatch` round trip through
+ * the DOM for every read AND would have to duplicate the PUT body
+ * builder. Spreading this object into the same `x-data` keeps every
+ * field on a single scope and lets `triggerReRender()` call
+ * `await this.savePlan()` directly to reuse the existing PUT pipeline.
+ *
+ * Responsibilities
+ * ----------------
+ * 1. Track render state -- `rendering`, `renderError`, the streamed
+ * `renderProgressLines`, the panel-open toggle, the in-flight child
+ * job id, the version list, and the active version index.
+ * 2. Seed the version list from the parent job's `final_video_path`
+ * once the timeline view's `jobId` is known so the user always has
+ * at least one entry in the list (labelled "Original").
+ * 3. `triggerReRender()` -- delegate the PUT to `savePlan()`, then POST
+ * the same EditPlan body to `/api/jobs/{id}/re-render`. Surfaces
+ * 404 / 409 / 422 / network errors via the `renderError` banner.
+ * 4. `subscribeToRender()` -- open `/ws/jobs/{new_id}`, append progress
+ * lines into `renderProgressLines` (capped so a runaway job can't
+ * OOM the page), and on `result` swap the video player + push a new
+ * entry into `renders`.
+ * 5. `selectRender()` -- swap the active video back to any prior render.
+ * Dispatches a `re-render-active-changed` window event so any
+ * scope-isolated player component can pick up the new src.
+ * 6. `triggerReviewOnly()` -- POST `/api/jobs/{active}/review-only`
+ * and stream the resulting reviewer-only job. On completion
+ * dispatches a `review-updated` event so the radar chart can
+ * refetch.
+ *
+ * Coding style
+ * ------------
+ * Mirrors edit-controls.js: heavy JSDoc, defensive try/catch on every
+ * fetch, no ES2023+ syntax that breaks older Safari, no third-party
+ * libraries. The WebSocket lifecycle copies the pattern in progress.js /
+ * chat.js so a brief re-submit mid-stream tears the socket down cleanly.
+ */
+(function () {
+ "use strict";
+
+ /**
+ * Cap on the number of progress lines we retain in memory. The
+ * editor-only re-run is the same ffmpeg pipeline as a full pipeline
+ * minus the Director / TrimRefiner / Reviewer steps, so a 30s spot
+ * usually emits 50 to 200 lines. Capping at 1000 leaves headroom for
+ * a verbose ffmpeg `-loglevel info` run without ever letting the page
+ * grow unbounded if the runner ever spins or the user leaves the tab
+ * open across many renders.
+ */
+ const MAX_PROGRESS_LINES = 1000;
+
+ /**
+ * WebSocket close code the server uses for unknown job ids. Matches
+ * UNKNOWN_JOB_CLOSE_CODE in src/web/routes/ws.py and the local copies
+ * in progress.js + chat.js.
+ */
+ const UNKNOWN_JOB_CLOSE_CODE = 4004;
+
+ /**
+ * Normalize an absolute pipeline `final_video_path` into a URL the
+ * browser can load through the FastAPI `/media/` static mount. Copied
+ * verbatim from progress.js::toMediaUrl + chat.js::toMediaUrl so this
+ * file has zero load-order coupling with either of them.
+ *
+ * Returns an empty string when the input is missing or unparseable --
+ * the caller renders a "video unavailable" fallback in that case.
+ */
+ function toMediaUrl(rawPath) {
+ if (!rawPath || typeof rawPath !== "string") return "";
+ if (rawPath.startsWith("/media/")) return rawPath;
+ const marker = "output/";
+ const idx = rawPath.indexOf(marker);
+ if (idx === -1) return "";
+ const tail = rawPath.slice(idx + marker.length);
+ if (!tail) return "";
+ return "/media/" + tail;
+ }
+
+ /**
+ * Build the re-render mixin. Factory form matches editControls() /
+ * timelineView() / reviewChart() so the module surface is uniform
+ * across the static/js directory and the spread in `x-data` looks the
+ * same as the others.
+ */
+ function reRenderControls() {
+ return {
+ // ------------------------------------------------------------- #
+ // State #
+ // ------------------------------------------------------------- #
+
+ /**
+ * True while a re-render is in flight (POST sent OR WebSocket
+ * still streaming). Disables the Re-render button so the user
+ * can't double-click and race two POSTs at the same parent job.
+ */
+ rendering: false,
+
+ /**
+ * Plan-level error banner text for the re-render flow. Distinct
+ * from `planErrors` (owned by editControls) so the user can tell
+ * a save failure apart from a render failure.
+ */
+ renderError: "",
+
+ /**
+ * Streamed progress lines for the in-flight render. Each entry
+ * is `{line, timestamp}` so the inline log pane can render the
+ * same shape progress.js / chat.js emit.
+ */
+ renderProgressLines: [],
+
+ /**
+ * Toggle for the inline progress panel under the timeline. Set
+ * true on render start so the user sees the log appear. The user
+ * can still collapse it manually after completion.
+ */
+ renderProgressOpen: false,
+
+ /**
+ * UUID of the editor-only child job currently streaming over the
+ * WebSocket, if any. Empty string when no render is in flight.
+ */
+ currentRenderJobId: "",
+
+ /**
+ * Ordered list of every render produced in this session, oldest
+ * first. Each entry is
+ * {job_id, final_video_path, video_url, label, created_at}
+ * The first entry is seeded from the parent job and labelled
+ * "Original"; each successful re-render appends `Re-render #N`.
+ */
+ renders: [],
+
+ /**
+ * Index into `renders` of the version currently shown in the
+ * video player. Defaults to 0 (the original render).
+ */
+ activeRenderIndex: 0,
+
+ /**
+ * True while a reviewer-only POST + WebSocket round trip is in
+ * flight. Disables the Review button so the user can't pile on.
+ */
+ reviewing: false,
+
+ /**
+ * Banner text for the latest reviewer-only failure, if any.
+ * Distinct from `renderError` so the two flows can fail
+ * independently.
+ */
+ reviewError: "",
+
+ /**
+ * UUID of the in-flight reviewer-only child job, if any. Used by
+ * `subscribeToReview` to filter incoming WebSocket frames.
+ */
+ reviewJobId: "",
+
+ // --- Internal bookkeeping (not reactive) ---
+
+ /**
+ * Tracks which parent job id has already had its "Original"
+ * entry seeded so the `x-effect` on `jobId` does not re-seed on
+ * every reactive tick. Mirrors the `_loadedJobId` pattern in
+ * timeline.js.
+ */
+ _seededJobId: "",
+
+ /** Active render WebSocket, or null when idle. */
+ _renderSocket: null,
+
+ /** Active reviewer-only WebSocket, or null when idle. */
+ _reviewSocket: null,
+
+ /**
+ * True between `_teardownRenderSocket()` and the trailing close
+ * event so `_handleRenderClose` can swallow a teardown-induced
+ * close without writing a spurious abnormal-close error. Matches
+ * the `_suppressNextClose` pattern in chat.js.
+ */
+ _suppressRenderClose: false,
+ _suppressReviewClose: false,
+
+ /**
+ * True once a terminal status frame (`completed` or `failed`) has
+ * landed for the active render socket. The `result` frame and the
+ * `close` frame are still allowed to arrive after this; the flag
+ * is just so the close handler knows the wrap-up was clean and
+ * does NOT write a "stream died early" error.
+ */
+ _renderTerminalSeen: false,
+ _reviewTerminalSeen: false,
+
+ // ------------------------------------------------------------- #
+ // Lifecycle #
+ // ------------------------------------------------------------- #
+
+ /**
+ * Seed the version list from the parent job's `final_video_path`.
+ * Called from the timeline template's `x-effect` whenever
+ * `jobId` becomes truthy. Idempotent: only fetches the parent job
+ * once per id, and skips entirely if `renders` already contains
+ * an entry whose `job_id` matches.
+ *
+ * Why we don't read from `editControls.enterEditMode()`'s cached
+ * `this.jobBrief` -- we want the "Original" entry to render even
+ * when the user has not opened edit mode, so we hit
+ * GET /api/jobs/{id} ourselves rather than relying on a cache
+ * that might be empty.
+ */
+ async seedOriginalRender() {
+ const id = this.jobId;
+ if (!id) return;
+ if (id === this._seededJobId) return;
+ this._seededJobId = id;
+
+ // Tear down any sockets left open by a render or review-only
+ // job that targeted the PRIOR parent. Without this, late
+ // `result` / `close` frames from those streams could mutate
+ // state we just reset for the new parent (e.g. push a stale
+ // entry into `renders` or flip `rendering` back on). The
+ // teardown helpers are idempotent + flip the suppress flags so
+ // the trailing close events don't write spurious errors.
+ this._teardownRenderSocket();
+ this._teardownReviewSocket();
+ this.rendering = false;
+
+ // Drop any prior session's renders + reset the active index
+ // so flipping to a new brief gives a fresh version list. The
+ // `_seededJobId` guard above prevents this from running twice
+ // for the same job.
+ this.renders = [];
+ this.activeRenderIndex = 0;
+ this.renderProgressLines = [];
+ this.renderProgressOpen = false;
+ this.currentRenderJobId = "";
+ this.renderError = "";
+ this.reviewing = false;
+ this.reviewError = "";
+ this.reviewJobId = "";
+
+ let response;
+ try {
+ response = await fetch(`/api/jobs/${encodeURIComponent(id)}`, {
+ headers: { Accept: "application/json" },
+ });
+ } catch (_err) {
+ // Non-fatal. The version list will start empty and a
+ // successful re-render will still append a new entry.
+ return;
+ }
+ if (!response.ok) return;
+
+ let payload;
+ try {
+ payload = await response.json();
+ } catch (_err) {
+ return;
+ }
+ if (!payload || typeof payload !== "object") return;
+
+ const result =
+ payload.result && typeof payload.result === "object"
+ ? payload.result
+ : null;
+ const finalVideoPath =
+ result && typeof result.final_video_path === "string"
+ ? result.final_video_path
+ : "";
+ if (!finalVideoPath) return;
+
+ // Guard against re-seeding on a refetch of the same job after
+ // the user already kicked off a render -- if ANY entry already
+ // matches this job id, leave the list alone.
+ if (this.renders.some((r) => r.job_id === id)) return;
+
+ const createdAt =
+ (typeof payload.completed_at === "string" && payload.completed_at) ||
+ (typeof payload.created_at === "string" && payload.created_at) ||
+ "";
+
+ this.renders = [
+ {
+ job_id: id,
+ final_video_path: finalVideoPath,
+ video_url: toMediaUrl(finalVideoPath),
+ label: "Original",
+ created_at: createdAt,
+ },
+ ];
+ this.activeRenderIndex = 0;
+ // Broadcast so any listener (e.g. an out-of-scope videoPlayer
+ // instance) can pick up the seeded src without polling.
+ this._dispatchActiveChanged();
+ },
+
+ // ------------------------------------------------------------- #
+ // Re-render flow #
+ // ------------------------------------------------------------- #
+
+ /**
+ * Kick off a re-render: PUT the modified plan via the existing
+ * `savePlan()` (which handles 422 -> per-field errors) and then,
+ * if the save succeeded, POST the SAME body to
+ * `/api/jobs/{parent}/re-render`. Subscribes to the new child
+ * job's WebSocket so progress streams into the inline panel.
+ */
+ async triggerReRender() {
+ if (!this.plan || !this.jobId) return;
+ if (this.rendering) return;
+ if (this.saving) return;
+ this.renderError = "";
+
+ // Snapshot the EditPlan body BEFORE calling savePlan(), then use
+ // the snapshot for the subsequent POST. This closes a race where
+ // the user mutates trims / text / order while the PUT is in
+ // flight: savePlan() would clear `dirty` for the stale PUT,
+ // then a fresh _buildEditPlanBody() after the await would send
+ // the NEWER plan to /re-render -- desynchronizing the parent's
+ // persisted edit_plan from the child's rendered edit_plan.
+ // The snapshot IS what the server will have persisted once the
+ // PUT resolves (savePlan() uses the same builder contract), so
+ // POSTing the same immutable object guarantees parent edit_plan
+ // and child edit_plan match.
+ const body = this._buildEditPlanBody();
+ if (!body) {
+ this.renderError =
+ "Could not build the EditPlan body to re-render -- missing brief or entries.";
+ return;
+ }
+
+ // Step 1: delegate the PUT + per-field validation to
+ // editControls.savePlan(). It already mutates `errors` /
+ // `planErrors` / `dirty` correctly, so we just await and then
+ // bail out if anything went sideways.
+ await this.savePlan();
+ if (this.dirty) return;
+ if (typeof this.hasAnyError === "function" && this.hasAnyError()) return;
+ if (Array.isArray(this.planErrors) && this.planErrors.length > 0) return;
+
+ // Race guard: if the user mutated the plan between our snapshot
+ // and savePlan()'s completion, the snapshot no longer matches
+ // what savePlan() persisted. Rather than silently rendering a
+ // stale version, abort with a clear message so the user can try
+ // again once the board has settled.
+ const postSaveBody = this._buildEditPlanBody();
+ if (
+ !postSaveBody ||
+ JSON.stringify(postSaveBody) !== JSON.stringify(body)
+ ) {
+ this.renderError =
+ "Plan changed while saving -- please click Re-render again.";
+ return;
+ }
+
+ this.rendering = true;
+ this.renderProgressLines = [];
+ this.renderProgressOpen = true;
+ this._renderTerminalSeen = false;
+
+ let response;
+ try {
+ response = await fetch(
+ `/api/jobs/${encodeURIComponent(this.jobId)}/re-render`,
+ {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ Accept: "application/json",
+ },
+ body: JSON.stringify(body),
+ }
+ );
+ } catch (err) {
+ this.rendering = false;
+ this.renderError =
+ err && err.message
+ ? `Could not reach the re-render endpoint: ${err.message}`
+ : "Could not reach the re-render endpoint.";
+ return;
+ }
+
+ if (response.status === 202) {
+ let payload = null;
+ try {
+ payload = await response.json();
+ } catch (_err) {
+ // Fall through -- handled below.
+ }
+ if (!payload || typeof payload.job_id !== "string" || !payload.job_id) {
+ this.rendering = false;
+ this.renderError = "Re-render response missing a job_id.";
+ return;
+ }
+ this.currentRenderJobId = payload.job_id;
+ this.subscribeToRender(payload.job_id);
+ return;
+ }
+
+ // 404 / 409 / 422 / 5xx -- pull the FastAPI detail out and
+ // surface it on the banner. We do NOT route 422 details into
+ // the per-field error map here because savePlan() already
+ // covered the validation surface; if we see a 422 here it means
+ // something between the save and the re-render desynchronized
+ // (e.g. the parent job's footage moved on disk) and a banner is
+ // the right place for that message.
+ this.rendering = false;
+ let detail = "";
+ try {
+ const errBody = await response.json();
+ if (errBody && typeof errBody.detail === "string") {
+ detail = errBody.detail;
+ } else if (errBody && Array.isArray(errBody.detail)) {
+ detail = errBody.detail
+ .map((e) => (e && e.msg ? e.msg : JSON.stringify(e)))
+ .join("; ");
+ }
+ } catch (_err) {
+ // non-JSON body -- fall back to status text
+ }
+ this.renderError =
+ detail || `Re-render failed (${response.status} ${response.statusText}).`;
+ },
+
+ /**
+ * Open a WebSocket to /ws/jobs/{newJobId} and stream progress
+ * frames into the inline panel. Mirrors the lifecycle pattern in
+ * progress.js: handle progress / status / result frames, defer
+ * the "rendering done" flip until the close event so the trailing
+ * `result` frame is never dropped.
+ */
+ subscribeToRender(newJobId) {
+ if (!newJobId) return;
+ // Tear down any prior socket -- one render at a time.
+ this._teardownRenderSocket();
+
+ const proto = window.location.protocol === "https:" ? "wss:" : "ws:";
+ const url = `${proto}//${window.location.host}/ws/jobs/${encodeURIComponent(
+ newJobId
+ )}`;
+
+ let socket;
+ try {
+ socket = new WebSocket(url);
+ } catch (err) {
+ this.rendering = false;
+ this.currentRenderJobId = "";
+ this.renderError =
+ err && err.message
+ ? `Could not open render WebSocket: ${err.message}`
+ : "Could not open render WebSocket.";
+ return;
+ }
+ this._renderSocket = socket;
+
+ socket.addEventListener("message", (event) => {
+ this._handleRenderMessage(event.data);
+ });
+ socket.addEventListener("error", () => {
+ // The browser does not give us a usable error payload; the
+ // close handler is where we actually decide whether this was
+ // a clean wrap-up or a failure.
+ // eslint-disable-next-line no-console
+ console.warn("[re-render] WebSocket error event fired");
+ });
+ socket.addEventListener("close", (event) => {
+ this._handleRenderClose(event);
+ });
+ },
+
+ /**
+ * Parse and dispatch a single JSON frame from the render
+ * WebSocket. Unknown types are dropped (with a console warning)
+ * rather than crashing the view.
+ */
+ _handleRenderMessage(raw) {
+ let payload;
+ try {
+ payload = JSON.parse(raw);
+ } catch (_err) {
+ // eslint-disable-next-line no-console
+ console.warn("[re-render] Dropping non-JSON WebSocket frame", raw);
+ return;
+ }
+ if (!payload || typeof payload !== "object") return;
+
+ switch (payload.type) {
+ case "progress":
+ this._appendRenderProgress(payload);
+ break;
+ case "status":
+ this._handleRenderStatus(payload);
+ break;
+ case "result":
+ this._finalizeRender(payload.data || null);
+ break;
+ default:
+ // eslint-disable-next-line no-console
+ console.warn("[re-render] Unknown message type", payload.type);
+ }
+ },
+
+ /**
+ * Append a single progress entry to the rolling log. Caps the
+ * array length so a runaway render or a long-running session of
+ * many edits does not let the page grow unbounded. Also
+ * auto-scrolls the panel to the bottom so the user always sees
+ * the latest line.
+ */
+ _appendRenderProgress(payload) {
+ const line = typeof payload.line === "string" ? payload.line : "";
+ const timestamp =
+ typeof payload.timestamp === "string" ? payload.timestamp : "";
+ this.renderProgressLines.push({ line, timestamp });
+ if (this.renderProgressLines.length > MAX_PROGRESS_LINES) {
+ // Drop the oldest lines so the cap holds. Slicing once is
+ // O(n) but only happens after the cap is reached, so the
+ // amortized cost is well under one append per drop.
+ this.renderProgressLines = this.renderProgressLines.slice(
+ this.renderProgressLines.length - MAX_PROGRESS_LINES
+ );
+ }
+ if (typeof this.$nextTick === "function") {
+ this.$nextTick(() => {
+ const el = this.$refs && this.$refs.renderLogPane;
+ if (el) {
+ el.scrollTop = el.scrollHeight;
+ }
+ });
+ }
+ },
+
+ /**
+ * Handle a {type: "status", ...} frame. Defer the "rendering
+ * done" flip until `_handleRenderClose` runs so the trailing
+ * `result` frame still has a chance to land.
+ */
+ _handleRenderStatus(payload) {
+ const status = payload && payload.status;
+ if (status === "completed") {
+ this._renderTerminalSeen = true;
+ // Don't flip `rendering` yet -- the result frame is still
+ // in flight and we want the spinner to stay visible until
+ // the new video actually swaps in.
+ } else if (status === "failed") {
+ this._renderTerminalSeen = true;
+ this.renderError =
+ typeof payload.error === "string" && payload.error
+ ? payload.error
+ : "Render failed with no error message.";
+ // Flip `rendering` here so the user can retry without
+ // waiting for the close handler to fire.
+ this.rendering = false;
+ }
+ },
+
+ /**
+ * Apply a successful render's result to the version list +
+ * video player. Called from the WebSocket message handler when
+ * a `result` frame lands. Adds a new entry to `renders`, flips
+ * the active index to it, exits edit mode, and broadcasts the
+ * src change.
+ */
+ _finalizeRender(data) {
+ if (!data || typeof data !== "object") {
+ this.renderError =
+ "Render completed but the server did not return a result payload.";
+ return;
+ }
+ const finalVideoPath =
+ typeof data.final_video_path === "string"
+ ? data.final_video_path
+ : "";
+ if (!finalVideoPath) {
+ this.renderError =
+ "Render completed but no final_video_path was returned.";
+ return;
+ }
+ const videoUrl = toMediaUrl(finalVideoPath);
+ const renderIndexLabel =
+ this.renders.filter((r) => r.label !== "Original").length + 1;
+ const entry = {
+ job_id: this.currentRenderJobId,
+ final_video_path: finalVideoPath,
+ video_url: videoUrl,
+ label: `Re-render #${renderIndexLabel}`,
+ created_at: new Date().toISOString(),
+ };
+ this.renders = [...this.renders, entry];
+ this.activeRenderIndex = this.renders.length - 1;
+ this.renderError = "";
+ // Exit edit mode so the card strip reflects the just-rendered
+ // plan (if savePlan() succeeded the strip is already in sync,
+ // but flipping `editing` back off matches the AC).
+ this.editing = false;
+ // Broadcast so any out-of-scope video player picks up the
+ // new src.
+ this._dispatchActiveChanged();
+ },
+
+ /**
+ * Interpret the close event for the render WebSocket. Single
+ * point where `rendering` flips back to false on a clean
+ * completion path. Mirrors the `_handleClose` pattern in
+ * progress.js + chat.js: tearing down the socket from
+ * `subscribeToRender` (when starting a new run) sets a suppress
+ * flag so the trailing close event is swallowed.
+ */
+ _handleRenderClose(event) {
+ this._renderSocket = null;
+ if (this._suppressRenderClose) {
+ this._suppressRenderClose = false;
+ this.rendering = false;
+ this.currentRenderJobId = "";
+ return;
+ }
+ if (this._renderTerminalSeen) {
+ this.rendering = false;
+ this.currentRenderJobId = "";
+ return;
+ }
+ // Abnormal close before a terminal status -- the stream died
+ // mid-render. Surface it on the banner so the user knows the
+ // job did not complete.
+ if (event && event.code === UNKNOWN_JOB_CLOSE_CODE) {
+ this.renderError = `Unknown render job id: ${this.currentRenderJobId}`;
+ } else {
+ const codeSuffix =
+ event && typeof event.code === "number"
+ ? ` (code ${event.code})`
+ : "";
+ this.renderError =
+ "Render WebSocket closed before the pipeline reported a terminal status" +
+ codeSuffix +
+ ".";
+ }
+ this.rendering = false;
+ this.currentRenderJobId = "";
+ },
+
+ /**
+ * Tear down the render WebSocket if any. Idempotent. Flips the
+ * suppress flag so `_handleRenderClose` swallows the trailing
+ * close event triggered by the explicit close() call.
+ */
+ _teardownRenderSocket() {
+ const socket = this._renderSocket;
+ if (!socket) return;
+ this._renderSocket = null;
+ try {
+ if (
+ socket.readyState === WebSocket.OPEN ||
+ socket.readyState === WebSocket.CONNECTING
+ ) {
+ this._suppressRenderClose = true;
+ socket.close(1000, "re-render teardown");
+ }
+ } catch (_err) {
+ // Best-effort.
+ }
+ },
+
+ // ------------------------------------------------------------- #
+ // Version list #
+ // ------------------------------------------------------------- #
+
+ /**
+ * Switch the player to the render at the given index. Bounds
+ * checked; out-of-range indexes are dropped silently. Dispatches
+ * a `re-render-active-changed` window event so any listener can
+ * pick up the new src.
+ */
+ selectRender(index) {
+ if (!Array.isArray(this.renders)) return;
+ const idx = Number(index);
+ if (!Number.isInteger(idx) || idx < 0 || idx >= this.renders.length) {
+ return;
+ }
+ if (idx === this.activeRenderIndex) return;
+ this.activeRenderIndex = idx;
+ this._dispatchActiveChanged();
+ },
+
+ /**
+ * Currently-active render entry, or null when the version list
+ * is empty. Used by the template's `x-text` / `:src` bindings so
+ * the video player + dropdown both read from a single helper.
+ */
+ activeRender() {
+ if (!Array.isArray(this.renders) || this.renders.length === 0) {
+ return null;
+ }
+ const idx = this.activeRenderIndex;
+ if (idx < 0 || idx >= this.renders.length) return null;
+ return this.renders[idx];
+ },
+
+ /** URL the inline <video> element should load for the active render. */
+ activeRenderVideoUrl() {
+ const entry = this.activeRender();
+ return entry ? entry.video_url : "";
+ },
+
+ /** True when there is at least one render entry available. */
+ hasAnyRender() {
+ return Array.isArray(this.renders) && this.renders.length > 0;
+ },
+
+ // ------------------------------------------------------------- #
+ // Review-only flow #
+ // ------------------------------------------------------------- #
+
+ /**
+ * POST /api/jobs/{active}/review-only against the currently
+ * playing render and stream the resulting reviewer-only job.
+ * On completion dispatches a `review-updated` window event the
+ * radar chart can listen for to refetch.
+ */
+ async triggerReviewOnly() {
+ if (this.reviewing) return;
+ const target = this.activeRender();
+ if (!target || !target.job_id) {
+ this.reviewError = "No render available to review.";
+ return;
+ }
+ this.reviewing = true;
+ this.reviewError = "";
+
+ let response;
+ try {
+ response = await fetch(
+ `/api/jobs/${encodeURIComponent(target.job_id)}/review-only`,
+ {
+ method: "POST",
+ headers: {
+ "Content-Type": "application/json",
+ Accept: "application/json",
+ },
+ }
+ );
+ } catch (err) {
+ this.reviewing = false;
+ this.reviewError =
+ err && err.message
+ ? `Could not reach the review-only endpoint: ${err.message}`
+ : "Could not reach the review-only endpoint.";
+ return;
+ }
+
+ if (response.status === 202) {
+ let payload = null;
+ try {
+ payload = await response.json();
+ } catch (_err) {
+ // fall through
+ }
+ if (!payload || typeof payload.job_id !== "string" || !payload.job_id) {
+ this.reviewing = false;
+ this.reviewError = "Review-only response missing a job_id.";
+ return;
+ }
+ this.reviewJobId = payload.job_id;
+ this.subscribeToReview(payload.job_id, target.job_id);
+ return;
+ }
+
+ this.reviewing = false;
+ let detail = "";
+ try {
+ const errBody = await response.json();
+ if (errBody && typeof errBody.detail === "string") {
+ detail = errBody.detail;
+ } else if (errBody && Array.isArray(errBody.detail)) {
+ detail = errBody.detail
+ .map((e) => (e && e.msg ? e.msg : JSON.stringify(e)))
+ .join("; ");
+ }
+ } catch (_err) {
+ // non-JSON body -- fall back to status text
+ }
+ this.reviewError =
+ detail ||
+ `Review-only failed (${response.status} ${response.statusText}).`;
+ },
+
+ /**
+ * Open a WebSocket for the reviewer-only child job. Mirrors
+ * `subscribeToRender` -- we only need progress + status frames
+ * here because the reviewer does not produce a new video, but
+ * we keep the structure parallel so a future refactor that
+ * unifies the two streamers is trivial.
+ *
+ * `parentJobId` is the id of the render the review is scored
+ * against; we forward it on the `review-updated` event so any
+ * listener can refetch the right job's review payload.
+ */
+ subscribeToReview(reviewJobId, parentJobId) {
+ if (!reviewJobId) return;
+ this._teardownReviewSocket();
+ this._reviewTerminalSeen = false;
+
+ const proto = window.location.protocol === "https:" ? "wss:" : "ws:";
+ const url = `${proto}//${window.location.host}/ws/jobs/${encodeURIComponent(
+ reviewJobId
+ )}`;
+
+ let socket;
+ try {
+ socket = new WebSocket(url);
+ } catch (err) {
+ this.reviewing = false;
+ this.reviewJobId = "";
+ this.reviewError =
+ err && err.message
+ ? `Could not open review WebSocket: ${err.message}`
+ : "Could not open review WebSocket.";
+ return;
+ }
+ this._reviewSocket = socket;
+
+ socket.addEventListener("message", (event) => {
+ this._handleReviewMessage(event.data, parentJobId);
+ });
+ socket.addEventListener("error", () => {
+ // eslint-disable-next-line no-console
+ console.warn("[re-render] Review WebSocket error event fired");
+ });
+ socket.addEventListener("close", (event) => {
+ this._handleReviewClose(event);
+ });
+ },
+
+ _handleReviewMessage(raw, parentJobId) {
+ let payload;
+ try {
+ payload = JSON.parse(raw);
+ } catch (_err) {
+ // eslint-disable-next-line no-console
+ console.warn(
+ "[re-render] Dropping non-JSON review WebSocket frame",
+ raw
+ );
+ return;
+ }
+ if (!payload || typeof payload !== "object") return;
+
+ switch (payload.type) {
+ case "progress":
+ // We don't render reviewer progress lines in the panel
+ // -- the reviewer is short-running and the existing
+ // radar chart is the primary feedback channel. Silent
+ // drop is correct.
+ break;
+ case "status":
+ this._handleReviewStatus(payload, parentJobId);
+ break;
+ case "result":
+ this._finalizeReview(payload.data || null, parentJobId);
+ break;
+ default:
+ // eslint-disable-next-line no-console
+ console.warn("[re-render] Unknown review message type", payload.type);
+ }
+ },
+
+ _handleReviewStatus(payload, parentJobId) {
+ const status = payload && payload.status;
+ if (status === "completed") {
+ this._reviewTerminalSeen = true;
+ } else if (status === "failed") {
+ this._reviewTerminalSeen = true;
+ this.reviewError =
+ typeof payload.error === "string" && payload.error
+ ? payload.error
+ : "Review-only run failed with no error message.";
+ this.reviewing = false;
+ }
+ // Suppress unused-arg lint -- parentJobId is read in the
+ // `_finalizeReview` path, not here.
+ void parentJobId;
+ },
+
+ /**
+ * On a successful reviewer-only run, dispatch a `review-updated`
+ * window event carrying the full review payload so any listener
+ * (e.g. the existing radar chart component) can apply it directly
+ * WITHOUT refetching.
+ *
+ * Why we pass the payload instead of a refetch hint: the
+ * reviewer-only child writes its score to the CHILD job's result,
+ * NOT the parent's. A `GET /api/jobs/{parentJobId}/review` would
+ * return stale data and break AC7. The data is already on the
+ * `result` WebSocket frame -- thread it straight through.
+ *
+ * The event detail is
+ * {jobId, review, retriesUsed, feedbackHistory}
+ * where `jobId` is the parent render's id (informational only --
+ * the listener should not gate on it because the chart's tracked
+ * id is the originally promoted parent and may not match for
+ * Re-renders).
+ */
+ _finalizeReview(data, parentJobId) {
+ const review =
+ data && data.review && typeof data.review === "object"
+ ? data.review
+ : null;
+ const retriesUsed =
+ data && Number.isFinite(data.retries_used) ? data.retries_used : 0;
+ const feedbackHistory =
+ data && Array.isArray(data.feedback_history)
+ ? data.feedback_history.filter((s) => typeof s === "string")
+ : [];
+ try {
+ window.dispatchEvent(
+ new CustomEvent("review-updated", {
+ detail: {
+ jobId: parentJobId || this.reviewJobId,
+ review,
+ retriesUsed,
+ feedbackHistory,
+ },
+ })
+ );
+ } catch (_err) {
+ // Older browsers may throw on CustomEvent constructor in
+ // weird contexts -- fall back to a plain Event so the
+ // listener still fires (without detail) instead of dropping
+ // the signal entirely.
+ try {
+ const fallback = document.createEvent("Event");
+ fallback.initEvent("review-updated", true, true);
+ window.dispatchEvent(fallback);
+ } catch (_fallbackErr) {
+ // Best effort.
+ }
+ }
+ },
+
+ _handleReviewClose(event) {
+ this._reviewSocket = null;
+ if (this._suppressReviewClose) {
+ this._suppressReviewClose = false;
+ this.reviewing = false;
+ this.reviewJobId = "";
+ return;
+ }
+ if (this._reviewTerminalSeen) {
+ this.reviewing = false;
+ this.reviewJobId = "";
+ return;
+ }
+ if (event && event.code === UNKNOWN_JOB_CLOSE_CODE) {
+ this.reviewError = `Unknown review job id: ${this.reviewJobId}`;
+ } else {
+ const codeSuffix =
+ event && typeof event.code === "number"
+ ? ` (code ${event.code})`
+ : "";
+ this.reviewError =
+ "Review WebSocket closed before reporting a terminal status" +
+ codeSuffix +
+ ".";
+ }
+ this.reviewing = false;
+ this.reviewJobId = "";
+ },
+
+ _teardownReviewSocket() {
+ const socket = this._reviewSocket;
+ if (!socket) return;
+ this._reviewSocket = null;
+ try {
+ if (
+ socket.readyState === WebSocket.OPEN ||
+ socket.readyState === WebSocket.CONNECTING
+ ) {
+ this._suppressReviewClose = true;
+ socket.close(1000, "review teardown");
+ }
+ } catch (_err) {
+ // Best-effort.
+ }
+ },
+
+ // ------------------------------------------------------------- #
+ // Helpers #
+ // ------------------------------------------------------------- #
+
+ /**
+ * Build the EditPlan body the PUT and POST /re-render endpoints
+ * both expect. Returns `null` when the prerequisites are missing
+ * (no plan, no entries, no cached brief from the editControls
+ * mixin) so the caller can show a banner.
+ *
+ * Shape MUST match the body editControls.savePlan() builds. If
+ * that ever drifts the re-render POST will start failing 422 --
+ * keep them in sync.
+ */
+ _buildEditPlanBody() {
+ if (!this.plan || !Array.isArray(this.plan.entries)) return null;
+ if (!this.jobBrief) return null;
+
+ const totalDuration = this.plan.entries.reduce((sum, entry) => {
+ const start = Number(entry.start_trim);
+ const end = Number(entry.end_trim);
+ if (!Number.isFinite(start) || !Number.isFinite(end)) return sum;
+ return sum + (end - start);
+ }, 0);
+
+ return {
+ brief: this.jobBrief,
+ music_path: this.jobMusicPath,
+ total_duration: Number(totalDuration) || 0,
+ entries: this.plan.entries.map((entry) => ({
+ shot_id: entry.shot_id,
+ start_trim: Number(entry.start_trim),
+ end_trim: Number(entry.end_trim),
+ position: Number(entry.position),
+ text_overlay: entry.text_overlay == null ? null : entry.text_overlay,
+ transition: entry.transition == null ? null : entry.transition,
+ })),
+ };
+ },
+
+ /**
+ * Dispatch a `re-render-active-changed` window event with the
+ * newly-active render entry so listeners (e.g. an out-of-scope
+ * video player or a future preview thumbnail strip) can pick up
+ * the change without polling. Falls back to a plain Event if the
+ * CustomEvent constructor is unavailable.
+ */
+ _dispatchActiveChanged() {
+ const entry = this.activeRender();
+ if (!entry) return;
+ try {
+ window.dispatchEvent(
+ new CustomEvent("re-render-active-changed", {
+ detail: {
+ jobId: entry.job_id,
+ videoUrl: entry.video_url,
+ finalVideoPath: entry.final_video_path,
+ label: entry.label,
+ },
+ })
+ );
+ } catch (_err) {
+ try {
+ const fallback = document.createEvent("Event");
+ fallback.initEvent("re-render-active-changed", true, true);
+ window.dispatchEvent(fallback);
+ } catch (_fallbackErr) {
+ // Best effort.
+ }
+ }
+ },
+
+ /**
+ * True when the Re-render button should be enabled. Mirrors the
+ * Save button's gate (must be dirty, no per-field errors, not
+ * already saving) and adds "no render is in flight". Exposed as
+ * a method so the template can `:disabled="!canReRender()"`.
+ */
+ canReRender() {
+ if (!this.plan) return false;
+ if (this.rendering || this.saving) return false;
+ if (typeof this.hasAnyError === "function" && this.hasAnyError()) {
+ return false;
+ }
+ if (Array.isArray(this.planErrors) && this.planErrors.length > 0) {
+ return false;
+ }
+ return Boolean(this.dirty);
+ },
+
+ /**
+ * True when the Review button should be enabled. The button is
+ * only meaningful once at least one render exists in the version
+ * list, and is disabled while a reviewer-only job is in flight.
+ */
+ canReviewOnly() {
+ if (this.reviewing) return false;
+ return this.hasAnyRender();
+ },
+ };
+ }
+
+ // Expose as a global so the Alpine template can spread this mixin
+ // alongside `timelineView()` + `editControls()` via
+ // `x-data="Object.assign(timelineView(), editControls(), reRenderControls())"`.
+ // No ES-module export needed -- this script is loaded via a plain
+ // <script defer> tag that executes BEFORE the Alpine CDN script,
+ // same pattern as edit-controls.js / timeline.js / chat.js.
+ window.reRenderControls = reRenderControls;
+})();
diff --git a/src/web/static/js/review-chart.js b/src/web/static/js/review-chart.js
new file mode 100644
index 0000000..3e78647
--- /dev/null
+++ b/src/web/static/js/review-chart.js
@@ -0,0 +1,471 @@
+/**
+ * AVE Studio -- Review Chart (US-006)
+ *
+ * Alpine.js v3 component factory that drives the reviewer scorecard view.
+ * Registers itself as `window.reviewChart` so the template can bind via
+ * `x-data="reviewChart()"` without needing ES modules or a build step --
+ * same pattern as brief-builder.js / progress.js / video-player.js.
+ *
+ * Responsibilities:
+ * 1. Receive a job id from the shared Alpine root scope and fetch
+ * GET /api/jobs/{job_id}/review on demand.
+ * 2. Parse the server response shape landed in Phase 1 (commit 09a554a):
+ * {
+ * "review": { adherence, pacing, visual_quality, watchability,
+ * overall, feedback } | null,
+ * "retries_used": 0,
+ * "feedback_history": [ "string", "string", ... ]
+ * }
+ * 3. Lazy-build a Chart.js v4 radar chart over the 5 ReviewScore
+ * dimensions, pinned to a 0..1 scale so it doesn't auto-scale based
+ * on data (the PRD specifies min=0 / max=1 / step=0.2 -- required for
+ * the edge cases of "all zeros" and "all ones").
+ * 4. Render the reviewer feedback string in a styled card.
+ * 5. When `retries_used > 0`, surface each attempt's feedback string in
+ * a collapsible history section.
+ * 6. Handle 409 (job exists but has no result yet) as a friendly
+ * "no review yet" state rather than an error, and 404 / network as
+ * actionable errors.
+ * 7. Destroy the Chart.js instance on jobId change / unmount to avoid
+ * the canvas-reuse error Chart.js throws if the same <canvas> gets
+ * a second controller.
+ */
+(function () {
+ "use strict";
+
+ /**
+ * Canonical ReviewScore dimensions to surface on the radar chart. The
+ * order matches src/models/schemas.py::ReviewScore and places `overall`
+ * last so it reads as the summary of the four contributing dimensions.
+ * `key` matches the Pydantic field name; `label` is the human-readable
+ * axis label the Chart.js tooltip shows.
+ */
+ const DIMENSIONS = [
+ { key: "adherence", label: "Adherence" },
+ { key: "pacing", label: "Pacing" },
+ { key: "visual_quality", label: "Visual Quality" },
+ { key: "watchability", label: "Watchability" },
+ { key: "overall", label: "Overall" },
+ ];
+
+ /**
+ * Radar fill + border color. Emerald to match the rest of the UI (the
+ * brief-builder submit button and progress indicator both use the
+ * Tailwind emerald-500 / emerald-600 palette). Semi-transparent fill so
+ * the grid lines underneath stay visible.
+ */
+ const RADAR_FILL = "rgba(16, 185, 129, 0.25)";
+ const RADAR_BORDER = "rgba(16, 185, 129, 1)";
+ const RADAR_POINT = "rgba(16, 185, 129, 1)";
+
+ /**
+ * Build the initial Alpine state object. Exposed as a factory so each
+ * `x-data="reviewChart()"` binding gets isolated state -- the review
+ * section is hidden via x-show, so Alpine keeps one instance alive, but
+ * a future plan-mode variant that renders multiple charts on the same
+ * page would still work without sharing Chart.js instances.
+ */
+ function reviewChart() {
+ return {
+ // --- Job tracking (mirrored from the root scope via x-effect) ---
+ jobId: "",
+
+ /**
+ * Mirror of the root scope's `view` field, plumbed in via x-effect
+ * on the template. Used to drive a "refetch when the user returns
+ * to the Review tab" watcher so a 409 "no review yet" state picked
+ * up mid-run is replaced with real data after the pipeline finishes
+ * and the user flips back to the tab. See init().
+ */
+ activeView: "",
+
+ // --- Fetched state ---
+ review: null,
+ retriesUsed: 0,
+ feedbackHistory: [],
+
+ // --- UI state ---
+ loading: false,
+ error: "",
+ /**
+ * Distinguishes "server says no review yet" (409) from an actual
+ * error. The template shows a muted empty-state message for this
+ * flag and a red error banner for `error`.
+ */
+ noReviewYet: false,
+
+ // --- Chart.js bookkeeping ---
+ /** Live Chart.js instance reference, or null when no chart is drawn. */
+ _chart: null,
+
+ /** Dimension list exposed to the template for feedback-card labels. */
+ dimensions: DIMENSIONS,
+
+ /**
+ * Alpine lifecycle hook. Watches `jobId` so the component refetches
+ * whenever the shared root scope promotes a new job. Alpine v3
+ * calls this automatically on mount -- do NOT add `x-init="init()"`
+ * to the template or the watcher will register twice and double-fire
+ * every fetch (same rule as progress.js / video-player.js).
+ */
+ init() {
+ this.$watch("jobId", (next, prev) => {
+ // Any change (including clearing) tears down the old chart
+ // first so a canvas reuse error can't happen.
+ this._destroyChart();
+ this._reset();
+ if (next && next !== prev) {
+ this._fetchReview(next);
+ }
+ });
+ // Edge case: the user may have opened the Review tab while the
+ // pipeline was still running, in which case the first fetch
+ // returned a 409 "no review yet" and `noReviewYet` stuck. The
+ // jobId never changes (promotedJobId is stable across the
+ // completed job), so the jobId watcher above won't re-fire.
+ // Instead, refetch whenever the user flips back to the Review
+ // tab from somewhere else AND we're in a retry-worthy state
+ // (empty / errored). Normal happy-path review renders skip this
+ // because `hasReview()` short-circuits the check.
+ this.$watch("activeView", (next, prev) => {
+ if (next !== "review" || prev === "review") return;
+ if (!this.jobId) return;
+ if (this.loading) return;
+ if (this.noReviewYet || this.error) {
+ this._fetchReview(this.jobId);
+ }
+ });
+
+ // US-010: apply a fresh review when a reviewer-only re-run
+ // completes. The re-render mixin dispatches `review-updated`
+ // with `{detail: {jobId, review, retriesUsed, feedbackHistory}}`
+ // after a successful POST /api/jobs/{id}/review-only.
+ //
+ // We do NOT refetch from `GET /api/jobs/{this.jobId}/review`:
+ // the reviewer-only run writes its score onto a NEW child job's
+ // result, not the originally promoted parent's, so a refetch
+ // would return stale data. Instead, apply the payload from
+ // detail directly -- the data is already sourced from the
+ // canonical PipelineResult dump on the WebSocket result frame.
+ //
+ // We also no longer gate on `targetJobId === this.jobId`,
+ // because for Re-renders the dispatched jobId is the editor-only
+ // child's id which by construction does not match the chart's
+ // tracked promoted-parent id. Any review-only run on any render
+ // in the active session should update the chart -- the chart
+ // shows one review at a time per the AC.
+ //
+ // Stored on the instance so destroy() can detach it and a
+ // teardown of the timeline view doesn't leak the listener.
+ this._reviewUpdatedHandler = (event) => {
+ const detail =
+ event && typeof event === "object" && event.detail
+ ? event.detail
+ : null;
+ if (!detail) return;
+ if (!this.jobId) return;
+ if (detail.review && typeof detail.review === "object") {
+ this._applyReview({
+ review: detail.review,
+ retries_used: detail.retriesUsed,
+ feedback_history: detail.feedbackHistory,
+ });
+ }
+ };
+ window.addEventListener("review-updated", this._reviewUpdatedHandler);
+
+ // If the template assigned jobId before init fired, honor it.
+ if (this.jobId) {
+ this._fetchReview(this.jobId);
+ }
+ },
+
+ /**
+ * Alpine destroy hook. Alpine calls this when the component
+ * unmounts (e.g. an x-if ancestor flips false). We also call
+ * _destroyChart() from the jobId watcher so a job change has the
+ * same effect without waiting for unmount.
+ */
+ destroy() {
+ this._destroyChart();
+ if (this._reviewUpdatedHandler) {
+ window.removeEventListener(
+ "review-updated",
+ this._reviewUpdatedHandler
+ );
+ this._reviewUpdatedHandler = null;
+ }
+ },
+
+ /**
+ * Reset local state for a fresh fetch. Keeps jobId intact -- the
+ * caller is the one who just set it, so overwriting it here would
+ * cause an infinite $watch loop.
+ */
+ _reset() {
+ this.review = null;
+ this.retriesUsed = 0;
+ this.feedbackHistory = [];
+ this.loading = false;
+ this.error = "";
+ this.noReviewYet = false;
+ },
+
+ /**
+ * Fetch GET /api/jobs/{jobId}/review and dispatch the three
+ * interesting outcomes:
+ * - 200 with a non-null review -> render chart + feedback
+ * - 200 with a null review -> treat as "no review yet"
+ * - 409 -> "no review yet" (pending/failed)
+ * - 404 / network / parse error -> error banner
+ */
+ async _fetchReview(jobId) {
+ this.loading = true;
+ this.error = "";
+ this.noReviewYet = false;
+
+ let response;
+ try {
+ response = await fetch(
+ `/api/jobs/${encodeURIComponent(jobId)}/review`,
+ { headers: { Accept: "application/json" } }
+ );
+ } catch (err) {
+ // Network failure, CORS, DNS, etc. -- fetch itself threw.
+ this.loading = false;
+ this.error =
+ err && err.message
+ ? `Could not reach the review endpoint: ${err.message}`
+ : "Could not reach the review endpoint.";
+ return;
+ }
+
+ // 409 -- the job exists but has no result yet. Surface as an
+ // empty state, not a hard error, so a user who opens the review
+ // tab mid-run sees something friendlier than a red banner.
+ if (response.status === 409) {
+ this.loading = false;
+ this.noReviewYet = true;
+ return;
+ }
+
+ if (!response.ok) {
+ // 404 (unknown job) and any 5xx land here.
+ this.loading = false;
+ let detail = "";
+ try {
+ const body = await response.json();
+ if (body && typeof body.detail === "string") {
+ detail = body.detail;
+ }
+ } catch (_err) {
+ // non-JSON body -- fall back to status text
+ }
+ this.error =
+ detail ||
+ `Review request failed (${response.status} ${response.statusText}).`;
+ return;
+ }
+
+ let payload;
+ try {
+ payload = await response.json();
+ } catch (err) {
+ this.loading = false;
+ this.error = "Review response was not valid JSON.";
+ return;
+ }
+
+ this.loading = false;
+ this._applyReview(payload);
+ },
+
+ /**
+ * Apply a review payload to local state and (re)draw the chart.
+ * Shared by `_fetchReview` (after the GET resolves) and by the
+ * `review-updated` window event listener used by US-010 reviewer-
+ * only re-runs. The shape matches `GET /api/jobs/{id}/review`:
+ * {review: {...} | null, retries_used, feedback_history}
+ *
+ * Sets `noReviewYet` when `review` is missing so the same empty
+ * state path used by 409 responses also fires here.
+ */
+ _applyReview(payload) {
+ const review =
+ payload && typeof payload === "object" ? payload.review : null;
+ this.review = review && typeof review === "object" ? review : null;
+ this.retriesUsed =
+ payload && Number.isFinite(payload.retries_used)
+ ? payload.retries_used
+ : 0;
+ this.feedbackHistory =
+ payload && Array.isArray(payload.feedback_history)
+ ? payload.feedback_history.filter((s) => typeof s === "string")
+ : [];
+
+ if (!this.review) {
+ // No review payload -- treat the same as a 409 "no review
+ // yet" so the empty state renders.
+ this.noReviewYet = true;
+ return;
+ }
+
+ // A successful apply clears the empty / error states left over
+ // from any prior fetch attempts.
+ this.noReviewYet = false;
+ this.error = "";
+
+ // Defer chart creation to the next tick so Alpine has finished
+ // rendering the <canvas> element that appears under the x-show.
+ this.$nextTick(() => {
+ this._renderChart();
+ });
+ },
+
+ /**
+ * Create a Chart.js radar chart on the component's `$refs.canvas`
+ * element. Always destroys the prior chart first so a second fetch
+ * against a fresh jobId doesn't hit the Chart.js canvas-reuse
+ * error ("Canvas is already in use").
+ */
+ _renderChart() {
+ const canvas = this.$refs.canvas;
+ if (!canvas) {
+ // The canvas isn't in the DOM yet -- usually because x-show on
+ // the review section is still false. Nothing to do; the next
+ // fetch will re-run this path after Alpine mounts the canvas.
+ return;
+ }
+ if (typeof window.Chart !== "function") {
+ // Chart.js hasn't loaded. Script ordering in index.html puts
+ // Chart.js before Alpine, so this is a configuration bug --
+ // surface it clearly instead of silently showing a blank box.
+ this.error =
+ "Chart.js failed to load -- cannot render the review radar.";
+ return;
+ }
+
+ this._destroyChart();
+
+ const data = DIMENSIONS.map((dim) => {
+ const value = this.review ? this.review[dim.key] : null;
+ return typeof value === "number" ? value : 0;
+ });
+
+ this._chart = new window.Chart(canvas, {
+ type: "radar",
+ data: {
+ labels: DIMENSIONS.map((dim) => dim.label),
+ datasets: [
+ {
+ label: "ReviewScore",
+ data,
+ backgroundColor: RADAR_FILL,
+ borderColor: RADAR_BORDER,
+ pointBackgroundColor: RADAR_POINT,
+ pointBorderColor: "#0f172a",
+ pointHoverBackgroundColor: "#0f172a",
+ pointHoverBorderColor: RADAR_BORDER,
+ borderWidth: 2,
+ },
+ ],
+ },
+ options: {
+ responsive: true,
+ maintainAspectRatio: false,
+ plugins: {
+ legend: { display: false },
+ tooltip: {
+ // Default tooltip is fine per the PRD -- just make sure
+ // the label is the human-friendly dimension name (which
+ // Chart.js takes from `labels` by default).
+ callbacks: {
+ label: (ctx) => {
+ const value =
+ typeof ctx.parsed === "object" && ctx.parsed !== null
+ ? ctx.parsed.r
+ : ctx.parsed;
+ const formatted =
+ typeof value === "number" ? value.toFixed(2) : value;
+ return `${ctx.label}: ${formatted}`;
+ },
+ },
+ },
+ },
+ scales: {
+ r: {
+ // Pin the scale so the chart doesn't auto-rescale when
+ // the data happens to all be zeros or all be ones --
+ // required by the PRD edge cases.
+ min: 0,
+ max: 1,
+ ticks: {
+ stepSize: 0.2,
+ color: "rgba(148, 163, 184, 0.9)", // slate-400
+ backdropColor: "transparent",
+ showLabelBackdrop: false,
+ },
+ grid: { color: "rgba(148, 163, 184, 0.25)" },
+ angleLines: { color: "rgba(148, 163, 184, 0.25)" },
+ pointLabels: {
+ color: "rgba(226, 232, 240, 0.95)", // slate-200
+ font: { size: 12 },
+ },
+ },
+ },
+ },
+ });
+ },
+
+ /**
+ * Destroy the active Chart.js instance, if any. Safe to call
+ * repeatedly. Chart.js raises an error on the next `new Chart(...)`
+ * against the same canvas unless the previous instance was
+ * destroyed first -- this is why every state transition routes
+ * through here.
+ */
+ _destroyChart() {
+ const chart = this._chart;
+ if (!chart) return;
+ this._chart = null;
+ try {
+ chart.destroy();
+ } catch (_err) {
+ // Best-effort: if destroy throws we can't do anything useful.
+ }
+ },
+
+ // ---------------------------------------------------------------- #
+ // Template helpers #
+ // ---------------------------------------------------------------- #
+
+ /** True when a usable ReviewScore is available to render. */
+ hasReview() {
+ return Boolean(this.review);
+ },
+
+ /** True when a retry history exists and is worth surfacing. */
+ hasHistory() {
+ return this.retriesUsed > 0 && this.feedbackHistory.length > 0;
+ },
+
+ /**
+ * Format a single ReviewScore dimension value for the feedback
+ * card grid. Returns "n/a" on missing values so the template can
+ * render each row without a per-field x-if wrapper.
+ */
+ dimensionValue(key) {
+ if (!this.review) return "n/a";
+ const value = this.review[key];
+ if (value === undefined || value === null) return "n/a";
+ return typeof value === "number" ? value.toFixed(2) : String(value);
+ },
+ };
+ }
+
+ // Expose as a global so Alpine's x-data="reviewChart()" can find it.
+ // No ES-module export needed -- this script is loaded via a plain
+ // <script defer> tag that executes BEFORE the Alpine CDN script, just
+ // like brief-builder.js / progress.js / video-player.js.
+ window.reviewChart = reviewChart;
+})();
diff --git a/src/web/static/js/shot-browser.js b/src/web/static/js/shot-browser.js
new file mode 100644
index 0000000..6d1a432
--- /dev/null
+++ b/src/web/static/js/shot-browser.js
@@ -0,0 +1,324 @@
+/**
+ * AVE Studio -- Shot Browser Modal (US-009)
+ *
+ * Alpine.js v3 component factory that powers the shot-swap modal in the
+ * timeline view. Registers itself as `window.shotBrowser` so the timeline
+ * template can bind via `x-data="shotBrowser()"` without needing ES
+ * modules or a build step -- same pattern as timeline.js /
+ * review-chart.js / edit-controls.js.
+ *
+ * Responsibilities
+ * ----------------
+ * 1. Receive a `footageIndexPath` + `target` position from the parent
+ * edit-controls scope (via `x-effect` on the template) -- the modal
+ * is rendered inside the timeline `<section>` so it can read the
+ * edit-controls mixin state directly.
+ * 2. Debounce user input in the search field (200 ms) and POST nothing
+ * until the user has typed at least one non-whitespace character.
+ * Fetches GET /api/footage/search with the current query +
+ * footage_index_path.
+ * 3. Render the results list with the fields the endpoint returns:
+ * display_label, description, transcript snippet, relevance_score,
+ * roll_type. Clicking a result dispatches `shot-swap-result` up to
+ * the edit-controls mixin via a callback passed in from the
+ * template, which then patches the edit plan entry in place.
+ * 4. Close on ESC key or on a click to the backdrop overlay, clearing
+ * local state so the next open starts from a clean slate.
+ *
+ * Integration surface with edit-controls
+ * --------------------------------------
+ * The parent `editControls()` mixin owns `swapTarget` (number: entry
+ * position, or -1 when no modal is open) and exposes:
+ *
+ * applyShotSwap(shotObject) -- patches the entry at swapTarget
+ * closeSwapModal() -- flips swapTarget back to -1
+ *
+ * Inside the shot-browser `x-data`, the template plumbs these via an
+ * x-effect that copies `swapTarget` and `jobFootageIndexPath` from the
+ * parent scope, then calls `shotBrowser`-local methods from the UI.
+ */
+(function () {
+ "use strict";
+
+ /**
+ * Debounce interval for the search input. 200 ms is short enough to
+ * feel instant on a fast local search and long enough to collapse
+ * typical typing into a single request. Matches the story spec.
+ */
+ const SEARCH_DEBOUNCE_MS = 200;
+
+ /**
+ * Build the shot-browser state. Factory form matches the style of
+ * timelineView() / reviewChart() / editControls() so the module
+ * surface is uniform across the static/js directory.
+ */
+ function shotBrowser() {
+ return {
+ // ------------------------------------------------------------- #
+ // Props (plumbed in from the parent edit-controls scope) #
+ // ------------------------------------------------------------- #
+
+ /** -1 when closed; entry position when open. */
+ swapTargetLocal: -1,
+
+ /** Mirror of the job's footage_index_path from GET /api/jobs. */
+ footagePath: "",
+
+ // ------------------------------------------------------------- #
+ // Local state #
+ // ------------------------------------------------------------- #
+
+ /** Current text in the search input. */
+ query: "",
+
+ /** Array of shot result objects returned by the search endpoint. */
+ results: [],
+
+ /** True while a fetch is in flight. */
+ loading: false,
+
+ /** Error banner text (404 / 422 / network). Empty string when clean. */
+ error: "",
+
+ /** True after the first non-empty query has been submitted. */
+ hasSearched: false,
+
+ /** Debounce handle returned by setTimeout; cleared on cancel. */
+ _debounceHandle: null,
+
+ /** Monotonically-incrementing request id to ignore stale responses. */
+ _requestSeq: 0,
+
+ // ------------------------------------------------------------- #
+ // Lifecycle #
+ // ------------------------------------------------------------- #
+
+ /**
+ * Alpine lifecycle hook. Watches `swapTargetLocal` so the modal
+ * resets its search state every time it opens (fresh query, no
+ * stale results from a prior swap) and attaches/detaches the
+ * global ESC handler so the user can dismiss the modal without
+ * mouse interaction.
+ */
+ init() {
+ this.$watch("swapTargetLocal", (next, prev) => {
+ if (next !== -1 && prev === -1) {
+ this._onOpen();
+ } else if (next === -1 && prev !== -1) {
+ this._onClose();
+ }
+ });
+ },
+
+ /** True when the modal should be visible. */
+ isOpen() {
+ return this.swapTargetLocal !== -1;
+ },
+
+ /**
+ * Handle an input event on the search field. Debounces so a
+ * quick burst of typing collapses into a single request, then
+ * dispatches the actual fetch.
+ */
+ onInput(event) {
+ if (event && event.target) {
+ this.query = String(event.target.value || "");
+ }
+ if (this._debounceHandle) {
+ clearTimeout(this._debounceHandle);
+ this._debounceHandle = null;
+ }
+ const trimmed = this.query.trim();
+ if (trimmed === "") {
+ this.results = [];
+ this.error = "";
+ this.loading = false;
+ this.hasSearched = false;
+ return;
+ }
+ this._debounceHandle = setTimeout(() => {
+ this._debounceHandle = null;
+ this._runSearch(trimmed);
+ }, SEARCH_DEBOUNCE_MS);
+ },
+
+ /**
+ * Pick a result: returns the shot object for the template to
+ * hand to the parent's `applyShotSwap` handler. We don't call
+ * the parent method directly from JS because Alpine's nested
+ * x-data scopes don't expose the parent via `this` -- instead
+ * the template wraps the click handler in a direct call to
+ * `applyShotSwap(shot)`, which Alpine resolves via its normal
+ * scope chain (inner x-data falls through to outer x-data
+ * when a name is missing).
+ *
+ * This helper is kept so the template can say `pickResult` in
+ * case someone wants to add side effects (analytics, etc) on
+ * top of the parent call in the future without editing the
+ * template.
+ */
+ pickResult(shot) {
+ return shot;
+ },
+
+ /**
+ * Cancel helper -- the template calls `closeSwapModal()`
+ * directly on the outer scope via Alpine's scope chain, so
+ * this is just a noop placeholder in case a future consumer
+ * wants to hook pre-close behavior.
+ */
+ cancel() {
+ // noop: template wires @click directly to the parent's
+ // closeSwapModal() via Alpine scope chain.
+ },
+
+ // ------------------------------------------------------------- #
+ // Private helpers #
+ // ------------------------------------------------------------- #
+
+ /**
+ * Run the search fetch. Uses a monotonic `_requestSeq` to drop
+ * stale responses: if the user types again before the previous
+ * request resolves, the newer request bumps the seq and the
+ * older `then`-handler discards its result (prevents race
+ * conditions where the old query's results stomp on the new
+ * query's display).
+ */
+ async _runSearch(query) {
+ if (!this.footagePath) {
+ this.error =
+ "No footage_index_path available for this job; cannot search.";
+ return;
+ }
+ this.loading = true;
+ this.error = "";
+ this.hasSearched = true;
+ const mySeq = ++this._requestSeq;
+
+ let response;
+ try {
+ response = await fetch(
+ `/api/footage/search?query=${encodeURIComponent(query)}` +
+ `&footage_index_path=${encodeURIComponent(this.footagePath)}`,
+ { headers: { Accept: "application/json" } }
+ );
+ } catch (err) {
+ if (mySeq !== this._requestSeq) return;
+ this.loading = false;
+ this.error =
+ err && err.message
+ ? `Could not reach the footage search endpoint: ${err.message}`
+ : "Could not reach the footage search endpoint.";
+ return;
+ }
+
+ if (mySeq !== this._requestSeq) return;
+
+ if (response.status === 422) {
+ this.loading = false;
+ let msg = "Query failed validation.";
+ try {
+ const body = await response.json();
+ if (Array.isArray(body.detail) && body.detail[0]?.msg) {
+ msg = body.detail[0].msg;
+ }
+ } catch (_err) {
+ // fall through with generic message
+ }
+ this.error = msg;
+ this.results = [];
+ return;
+ }
+
+ if (response.status === 404) {
+ this.loading = false;
+ let detail = "Footage index not found for this job.";
+ try {
+ const body = await response.json();
+ if (body && typeof body.detail === "string") {
+ detail = body.detail;
+ }
+ } catch (_err) {
+ // fall through with generic message
+ }
+ this.error = detail;
+ this.results = [];
+ return;
+ }
+
+ if (!response.ok) {
+ this.loading = false;
+ this.error = `Search failed (${response.status} ${response.statusText}).`;
+ this.results = [];
+ return;
+ }
+
+ let payload;
+ try {
+ payload = await response.json();
+ } catch (_err) {
+ this.loading = false;
+ this.error = "Search response was not valid JSON.";
+ this.results = [];
+ return;
+ }
+
+ this.loading = false;
+ this.results = Array.isArray(payload.results) ? payload.results : [];
+ },
+
+ _onOpen() {
+ this.query = "";
+ this.results = [];
+ this.error = "";
+ this.loading = false;
+ this.hasSearched = false;
+ this._requestSeq++;
+ // The ESC keydown listener is registered in the template via
+ // `@keydown.escape.window` on the modal wrapper so Alpine's
+ // scope chain resolves `closeSwapModal()` against the parent
+ // edit-controls mixin without any manual cross-scope bridge.
+ },
+
+ _onClose() {
+ if (this._debounceHandle) {
+ clearTimeout(this._debounceHandle);
+ this._debounceHandle = null;
+ }
+ this._requestSeq++;
+ },
+
+ // ------------------------------------------------------------- #
+ // Template helpers #
+ // ------------------------------------------------------------- #
+
+ /**
+ * Format a relevance score (0..1) as a percentage string for
+ * the result row's badge. Falls back to "--" on non-numeric.
+ */
+ formatRelevance(score) {
+ const n = Number(score);
+ if (!Number.isFinite(n)) return "--";
+ return `${Math.round(n * 100)}%`;
+ },
+
+ /**
+ * Truncate a description or transcript for the result row so
+ * the list stays compact even for long shots.
+ */
+ snippet(text, max) {
+ if (!text) return "";
+ const s = String(text);
+ const limit = Number.isFinite(max) ? max : 120;
+ if (s.length <= limit) return s;
+ return s.slice(0, limit - 1) + "\u2026";
+ },
+ };
+ }
+
+ // Expose as a global so the Alpine template can bind
+ // `x-data="shotBrowser()"` on the modal wrapper. No ES-module
+ // export needed -- this script is loaded via a plain <script defer>
+ // tag, same pattern as timeline.js / edit-controls.js.
+ window.shotBrowser = shotBrowser;
+})();
diff --git a/src/web/static/js/timeline.js b/src/web/static/js/timeline.js
new file mode 100644
index 0000000..7be33a4
--- /dev/null
+++ b/src/web/static/js/timeline.js
@@ -0,0 +1,327 @@
+/**
+ * AVE Studio -- Timeline Viewer (US-008)
+ *
+ * Alpine.js v3 component factory that drives the EditPlan timeline view.
+ * Registers itself as `window.timelineView` so the template can bind via
+ * `x-data="timelineView()"` without needing ES modules or a build step --
+ * same pattern as brief-builder.js / progress.js / video-player.js /
+ * review-chart.js / chat.js.
+ *
+ * Responsibilities:
+ * 1. Receive a job id from the shared Alpine root scope and fetch
+ * GET /api/jobs/{job_id}/edit-plan on demand.
+ * 2. Parse the server response shape:
+ * {
+ * "job_id": "uuid",
+ * "total_duration": 45.2,
+ * "entry_count": 7,
+ * "entries": [
+ * {
+ * "position": 0,
+ * "shot_id": "path/to/clip.mp4#12.5",
+ * "source_file": "path/to/clip.mp4",
+ * "source_filename": "clip.mp4",
+ * "source_timestamp": 12.5,
+ * "display_label": "[email protected]",
+ * "start_trim": 0.0,
+ * "end_trim": 3.2,
+ * "duration": 3.2,
+ * "text_overlay": "Hook line" | null,
+ * "transition": null,
+ * "roll_type": "a-roll" | "b-roll" | "unknown",
+ * "thumbnail_url": "/api/clips/{job_id}/0/thumbnail"
+ * }
+ * ]
+ * }
+ * 3. Handle 409 (job exists but has no edit plan yet) as a friendly
+ * "no edit plan yet" state rather than an error, and 404 / network
+ * as actionable errors.
+ * 4. Gate fetches so re-entering the Timeline tab does NOT refetch the
+ * same plan -- tracked via an internal `_loadedJobId` tracker that
+ * mirrors the review-chart.js "refetch only on jobId change" pattern.
+ */
+(function () {
+ "use strict";
+
+ /**
+ * Build the initial Alpine state object. Exposed as a factory so each
+ * `x-data="timelineView()"` binding gets isolated state -- the timeline
+ * section is hidden via x-show, so Alpine keeps one instance alive
+ * across view flips, but a future plan-mode variant that renders
+ * multiple timelines on the same page would still work without
+ * cross-contamination.
+ */
+ function timelineView() {
+ return {
+ // --- Job tracking (mirrored from the root scope via x-effect) ---
+ jobId: "",
+
+ /**
+ * Mirror of the root scope's `view` field, plumbed in via x-effect
+ * on the template. Used to gate the initial fetch so we only hit
+ * the endpoint once the user actually navigates to the Timeline
+ * tab, and to drive a "refetch when the user returns to the
+ * Timeline tab after an error" watcher (same pattern as
+ * review-chart.js::init).
+ */
+ activeView: "",
+
+ // --- Fetched state ---
+ /** Full response body from GET /api/jobs/{id}/edit-plan, or null. */
+ plan: null,
+
+ // --- UI state ---
+ loading: false,
+ /**
+ * Error banner text for 404 / network / parse failures. Empty
+ * string when no error is active. Distinct from `noPlanYet` below
+ * so the template can render a muted empty-state for 409 and a
+ * red-ish banner for real errors.
+ */
+ error: "",
+
+ /**
+ * Distinguishes "server says no edit plan yet" (409) from an
+ * actual error. The template shows a friendly muted message for
+ * this flag so a user who opens the Timeline tab mid-run does
+ * not see a hard error banner.
+ */
+ noPlanYet: false,
+
+ // --- Fetch gating ---
+ /**
+ * Tracks which jobId we have already fetched (or are currently
+ * fetching). Used to make repeated tab switches on the same job
+ * idempotent -- without this, every x-effect pass on activeView
+ * would trigger a redundant refetch against the same endpoint.
+ * Cleared on jobId change via the $watch registered in init().
+ */
+ _loadedJobId: "",
+
+ /**
+ * Alpine lifecycle hook. Watches `jobId` so the component refetches
+ * whenever the shared root scope promotes a new job, and watches
+ * `activeView` so the first fetch only happens once the user is
+ * actually on the Timeline tab. Alpine v3 calls this automatically
+ * on mount -- do NOT add `x-init="init()"` to the template or the
+ * watcher will register twice and double-fire every fetch (same
+ * rule as review-chart.js / progress.js / video-player.js).
+ */
+ init() {
+ this.$watch("jobId", (next, prev) => {
+ // Any change (including clearing) resets local state so a
+ // stale plan from a previous job can't flash through.
+ this._reset();
+ this._loadedJobId = "";
+ if (next && next !== prev) {
+ this._maybeFetch();
+ }
+ });
+ // Refetch on tab re-entry if we're in a retry-worthy state
+ // (no plan loaded, or 409 / error on the last attempt). Happy
+ // path renders short-circuit via `_loadedJobId === jobId`, so
+ // returning to a successfully-loaded tab does NOT refetch.
+ this.$watch("activeView", (next, prev) => {
+ if (next !== "timeline" || prev === "timeline") return;
+ this._maybeFetch();
+ });
+ // If the template assigned jobId + activeView before init
+ // fired, honor them.
+ this._maybeFetch();
+ },
+
+ /**
+ * Gate the actual fetch. Only runs when:
+ * - the user is on the Timeline tab (activeView === 'timeline')
+ * - a job id is set
+ * - we haven't already loaded (or failed a terminal load of)
+ * this exact jobId
+ * - there isn't a fetch already in flight
+ *
+ * Mirrors the reviewChart()::_fetchReview gating -- the goal is
+ * "enter tab once, fetch once; enter tab again, no-op".
+ */
+ _maybeFetch() {
+ if (this.activeView !== "timeline") return;
+ if (!this.jobId) return;
+ if (this.loading) return;
+ if (this._loadedJobId === this.jobId && (this.plan || this.noPlanYet)) {
+ return;
+ }
+ this._fetchPlan(this.jobId);
+ },
+
+ /**
+ * Reset local state for a fresh fetch. Keeps jobId intact -- the
+ * caller is the one who just set it, so overwriting it here would
+ * cause an infinite $watch loop.
+ */
+ _reset() {
+ this.plan = null;
+ this.loading = false;
+ this.error = "";
+ this.noPlanYet = false;
+ },
+
+ /**
+ * Fetch GET /api/jobs/{jobId}/edit-plan and dispatch the
+ * interesting outcomes:
+ * - 200 with a valid plan -> render the timeline
+ * - 409 -> "no plan yet" empty state
+ * - 404 -> friendly "job not found"
+ * - network / parse error -> user-readable error banner
+ *
+ * Exposed as `load(jobId)` too so tests / external callers can
+ * force a fetch without touching internal state.
+ */
+ async load(jobId) {
+ this.jobId = jobId;
+ return this._fetchPlan(jobId);
+ },
+
+ async _fetchPlan(jobId) {
+ this.loading = true;
+ this.error = "";
+ this.noPlanYet = false;
+ this.plan = null;
+
+ let response;
+ try {
+ response = await fetch(
+ `/api/jobs/${encodeURIComponent(jobId)}/edit-plan`,
+ { headers: { Accept: "application/json" } }
+ );
+ } catch (err) {
+ this.loading = false;
+ this._loadedJobId = jobId;
+ this.error =
+ err && err.message
+ ? `Could not reach the edit-plan endpoint: ${err.message}`
+ : "Could not reach the edit-plan endpoint.";
+ return;
+ }
+
+ // 409 -- the job exists but has no edit plan yet (still running
+ // or failed before the editor step). Surface as an empty state
+ // so the user sees something friendlier than a red banner.
+ if (response.status === 409) {
+ this.loading = false;
+ this._loadedJobId = jobId;
+ this.noPlanYet = true;
+ return;
+ }
+
+ if (response.status === 404) {
+ this.loading = false;
+ this._loadedJobId = jobId;
+ this.error = "Job not found.";
+ return;
+ }
+
+ if (!response.ok) {
+ this.loading = false;
+ this._loadedJobId = jobId;
+ let detail = "";
+ try {
+ const body = await response.json();
+ if (body && typeof body.detail === "string") {
+ detail = body.detail;
+ }
+ } catch (_err) {
+ // non-JSON body -- fall back to status text
+ }
+ this.error =
+ detail ||
+ `Edit plan request failed (${response.status} ${response.statusText}).`;
+ return;
+ }
+
+ let payload;
+ try {
+ payload = await response.json();
+ } catch (_err) {
+ this.loading = false;
+ this._loadedJobId = jobId;
+ this.error = "Edit plan response was not valid JSON.";
+ return;
+ }
+
+ this.loading = false;
+ this._loadedJobId = jobId;
+
+ if (!payload || typeof payload !== "object") {
+ this.error = "Edit plan response was malformed.";
+ return;
+ }
+
+ // Defensive: the backend promises a well-formed shape, but a
+ // future refactor could regress this -- fall through to a
+ // friendly empty state instead of throwing on a missing field.
+ const entries = Array.isArray(payload.entries) ? payload.entries : [];
+ this.plan = {
+ job_id: typeof payload.job_id === "string" ? payload.job_id : jobId,
+ total_duration: Number.isFinite(payload.total_duration)
+ ? payload.total_duration
+ : 0,
+ entry_count: Number.isFinite(payload.entry_count)
+ ? payload.entry_count
+ : entries.length,
+ entries,
+ };
+ },
+
+ // ---------------------------------------------------------------- #
+ // Template helpers #
+ // ---------------------------------------------------------------- #
+
+ /**
+ * Format a duration in seconds as a fixed-precision label with
+ * one decimal and an "s" suffix. Used for start_trim, end_trim,
+ * duration, and total_duration in the card metadata grid.
+ */
+ formatTime(seconds) {
+ if (seconds === null || seconds === undefined) return "n/a";
+ const n = Number(seconds);
+ if (!Number.isFinite(n)) return "n/a";
+ return `${n.toFixed(1)}s`;
+ },
+
+ /**
+ * Tailwind classes for the roll-type pill badge on each card.
+ * a-roll = blue, b-roll = green, anything else (including
+ * "unknown" and missing values) = slate. Kept as three discrete
+ * return values so Tailwind's JIT can statically detect them.
+ */
+ rollBadgeClasses(rollType) {
+ if (rollType === "a-roll") {
+ return "bg-blue-500/20 text-blue-200 ring-1 ring-blue-400/40";
+ }
+ if (rollType === "b-roll") {
+ return "bg-green-500/20 text-green-200 ring-1 ring-green-400/40";
+ }
+ return "bg-slate-500/20 text-slate-300 ring-1 ring-slate-400/40";
+ },
+
+ /**
+ * Tailwind classes for the whole-card left border tint so the
+ * roll type is visible even when the badge is offscreen. Mirrors
+ * the palette in `rollBadgeClasses` above.
+ */
+ cardClasses(rollType) {
+ if (rollType === "a-roll") {
+ return "border-l-4 border-blue-400";
+ }
+ if (rollType === "b-roll") {
+ return "border-l-4 border-green-400";
+ }
+ return "border-l-4 border-slate-500";
+ },
+ };
+ }
+
+ // Expose as a global so Alpine's x-data="timelineView()" can find it.
+ // No ES-module export needed -- this script is loaded via a plain
+ // <script defer> tag that executes BEFORE the Alpine CDN script, just
+ // like brief-builder.js / progress.js / video-player.js / review-chart.js.
+ window.timelineView = timelineView;
+})();
diff --git a/src/web/static/js/video-player.js b/src/web/static/js/video-player.js
new file mode 100644
index 0000000..dcfda08
--- /dev/null
+++ b/src/web/static/js/video-player.js
@@ -0,0 +1,162 @@
+/**
+ * AVE Studio — Video Player (US-005)
+ *
+ * Alpine.js v3 component factory that wraps an HTML5 <video> element plus
+ * a ReviewScore summary block. Registered as `window.videoPlayer` so the
+ * progress view template can nest it via `x-data="videoPlayer()"` without
+ * needing ES modules or a build step — same pattern as brief-builder.js
+ * and progress.js.
+ *
+ * Scope & integration
+ * -------------------
+ *
+ * This component is intentionally small. It does NOT open WebSockets, POST
+ * jobs, or parse pipeline progress — all of that lives in progress.js. The
+ * video player is nested INSIDE the progressView section, so it reads the
+ * playable URL and the ReviewScore from its parent Alpine scope (the
+ * `videoSrc` and `result` fields on `progressView`). The parent is the
+ * single source of truth for "what video should we show right now?"; this
+ * component is just the presentation layer.
+ *
+ * Responsibilities:
+ * 1. Render a <video controls preload="metadata"> bound to an external
+ * src string provided by the parent.
+ * 2. Track its own local `loadError` state so it can show a graceful
+ * "video unavailable" fallback when the browser fails to load the
+ * source (or when the parent never derived a URL).
+ * 3. Render the 5 ReviewScore dimensions (adherence, pacing,
+ * visual_quality, watchability, overall) as numeric cards. The
+ * dimension list is declared here so the template can x-for over it
+ * without repeating itself.
+ */
+(function () {
+ "use strict";
+
+ /**
+ * Canonical ReviewScore dimensions to surface on the results card. The
+ * order is deliberate — `overall` comes last so it reads as the summary
+ * of the four contributing dimensions above it. `label` is what the
+ * user sees; `key` matches the Pydantic field name on
+ * src/models/schemas.py::ReviewScore.
+ */
+ const REVIEW_DIMENSIONS = [
+ { key: "adherence", label: "Adherence" },
+ { key: "pacing", label: "Pacing" },
+ { key: "visual_quality", label: "Visual quality" },
+ { key: "watchability", label: "Watchability" },
+ { key: "overall", label: "Overall" },
+ ];
+
+ /**
+ * Build the initial Alpine state for a video-player instance. Factory
+ * (not singleton) so each nested <video> gets isolated state — important
+ * because the same progress view may be re-entered after running a
+ * second job.
+ */
+ function videoPlayer() {
+ return {
+ // --- Surface-level state ---
+
+ /**
+ * Set to true when the <video> element fires its `error` event,
+ * OR when the parent never derived a usable src. The template uses
+ * this to swap the <video> for a fallback message.
+ */
+ loadError: false,
+
+ /** Dimensions to render in the ReviewScore card. */
+ dimensions: REVIEW_DIMENSIONS,
+
+ // ---------------------------------------------------------------- #
+ // Lifecycle #
+ // ---------------------------------------------------------------- #
+
+ /**
+ * Alpine lifecycle hook. Watches the parent's `videoSrc` so that a
+ * fresh job (which will set a new URL) resets the error state and
+ * re-attempts load. Uses optional chaining through `$data` so the
+ * component still works in isolation (e.g. a future standalone
+ * review page that stubs out the parent scope).
+ */
+ init() {
+ // If the parent exposes `videoSrc` (it does — see progress.js),
+ // re-run our load-state reset whenever it changes so a second
+ // pipeline run doesn't inherit the first run's error banner.
+ if (typeof this.$watch === "function") {
+ try {
+ this.$watch("videoSrc", () => {
+ this.loadError = false;
+ });
+ } catch (_err) {
+ // `$watch` throws synchronously if the expression isn't
+ // resolvable in this component's scope — harmless in the
+ // standalone case, ignore and carry on.
+ }
+ }
+ },
+
+ // ---------------------------------------------------------------- #
+ // Template helpers #
+ // ---------------------------------------------------------------- #
+
+ /**
+ * True when we have something worth rendering in the <video>
+ * element — a non-empty src and no prior load failure. Read from
+ * the parent scope via `this.videoSrc` (Alpine exposes parent
+ * fields on nested child components automatically).
+ */
+ hasVideo() {
+ return Boolean(this.videoSrc) && !this.loadError;
+ },
+
+ /**
+ * Called by the <video> element's `error` event listener. Flips
+ * the component into its fallback state so the UI explains why
+ * playback failed rather than showing a broken element.
+ */
+ onVideoError() {
+ this.loadError = true;
+ // eslint-disable-next-line no-console
+ console.warn(
+ "[video-player] <video> element failed to load",
+ this.videoSrc
+ );
+ },
+
+ /**
+ * Pull a single ReviewScore dimension off the parent's `result`
+ * payload and format it for display. Mirrors the same helper on
+ * progress.js so either component can render the scores, but
+ * keeping it duplicated here lets the video-player work even if
+ * the parent's `reviewValue()` ever diverges.
+ *
+ * Returns:
+ * - "n/a" when the dimension is missing
+ * - a 2-decimal numeric string when present
+ */
+ reviewValue(key) {
+ const result = this.result;
+ if (!result || !result.review) return "n/a";
+ const value = result.review[key];
+ if (value === undefined || value === null) return "n/a";
+ return typeof value === "number" ? value.toFixed(2) : String(value);
+ },
+
+ /**
+ * True when the parent has a usable ReviewScore to render. Used to
+ * hide the summary card until the pipeline actually produces one
+ * (e.g. during a running job).
+ */
+ hasReview() {
+ return Boolean(this.result && this.result.review);
+ },
+ };
+ }
+
+ // Expose as a global so Alpine's x-data="videoPlayer()" can find it.
+ // No ES-module export needed — this script is loaded via a plain
+ // <script defer> tag that executes BEFORE the Alpine CDN script (see
+ // index.html for the ordering rationale — same rule as brief-builder.js
+ // and progress.js).
+ window.videoPlayer = videoPlayer;
+})();
diff --git a/src/web/static/styles.css b/src/web/static/styles.css
new file mode 100644
index 0000000..548fbd2
--- /dev/null
+++ b/src/web/static/styles.css
@@ -0,0 +1,12 @@
+/* AVE Studio — supplemental styles.
+ * Tailwind CDN (loaded via index.html) handles the bulk of styling.
+ * Add project-specific overrides or custom animations here as the UI grows.
+ */
+
+:root {
+ color-scheme: dark;
+}
+
+body {
+ font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
+}
diff --git a/src/web/studio/.gitignore b/src/web/studio/.gitignore
new file mode 100644
index 0000000..5ef6a52
--- /dev/null
+++ b/src/web/studio/.gitignore
@@ -0,0 +1,41 @@
+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
+
+# dependencies
+/node_modules
+/.pnp
+.pnp.*
+.yarn/*
+!.yarn/patches
+!.yarn/plugins
+!.yarn/releases
+!.yarn/versions
+
+# testing
+/coverage
+
+# next.js
+/.next/
+/out/
+
+# production
+/build
+
+# misc
+.DS_Store
+*.pem
+
+# debug
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+.pnpm-debug.log*
+
+# env files (can opt-in for committing if needed)
+.env*
+
+# vercel
+.vercel
+
+# typescript
+*.tsbuildinfo
+next-env.d.ts
diff --git a/src/web/studio/AGENTS.md b/src/web/studio/AGENTS.md
new file mode 100644
index 0000000..8bd0e39
--- /dev/null
+++ b/src/web/studio/AGENTS.md
@@ -0,0 +1,5 @@
+<!-- BEGIN:nextjs-agent-rules -->
+# This is NOT the Next.js you know
+
+This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` before writing any code. Heed deprecation notices.
+<!-- END:nextjs-agent-rules -->
diff --git a/src/web/studio/CLAUDE.md b/src/web/studio/CLAUDE.md
new file mode 100644
index 0000000..43c994c
--- /dev/null
+++ b/src/web/studio/CLAUDE.md
@@ -0,0 +1 @@
diff --git a/src/web/studio/README.md b/src/web/studio/README.md
new file mode 100644
index 0000000..95265ba
--- /dev/null
+++ b/src/web/studio/README.md
@@ -0,0 +1,21 @@
+# AVE Studio (Frontend)
+
+Next.js frontend for the Agentic Video Editor. See the [root README](../../../README.md) for full project documentation.
+
+## Development
+
+```bash
+pnpm install
+pnpm dev --port 3000
+```
+
+Requires the FastAPI backend running on port 8000. API calls are proxied via `next.config.ts` rewrites.
+
+## Tech Stack
+
+- Next.js 16, React 19, TypeScript
+- Tailwind CSS 4
+- Zustand (state management)
+- @dnd-kit (drag-and-drop timeline)
+- Recharts (review radar chart)
+- Lucide (icons)
diff --git a/src/web/studio/next.config.ts b/src/web/studio/next.config.ts
new file mode 100644
index 0000000..53f0e0a
--- /dev/null
+++ b/src/web/studio/next.config.ts
@@ -0,0 +1,13 @@
+import type { NextConfig } from "next";
+
+const nextConfig: NextConfig = {
+ async rewrites() {
+ const api = process.env.NEXT_PUBLIC_API_URL || "http://localhost:8000";
+ return [
+ { source: "/api/:path*", destination: `${api}/api/:path*` },
+ { source: "/media/:path*", destination: `${api}/media/:path*` },
+ ];
+ },
+};
+
+export default nextConfig;
diff --git a/src/web/studio/package.json b/src/web/studio/package.json
new file mode 100644
index 0000000..3fd0efb
--- /dev/null
+++ b/src/web/studio/package.json
@@ -0,0 +1,30 @@
+{
+ "name": "studio",
+ "version": "0.1.0",
+ "private": true,
+ "scripts": {
+ "dev": "next dev",
+ "build": "next build",
+ "start": "next start"
+ },
+ "dependencies": {
+ "@dnd-kit/core": "^6.3.1",
+ "@dnd-kit/sortable": "^10.0.0",
+ "@dnd-kit/utilities": "^3.2.2",
+ "lucide-react": "^1.8.0",
+ "next": "16.2.3",
+ "react": "19.2.4",
+ "react-dom": "19.2.4",
+ "recharts": "^3.8.1",
+ "zustand": "^5.0.12"
+ },
+ "devDependencies": {
+ "@tailwindcss/postcss": "^4",
+ "@types/node": "^20",
+ "@types/react": "^19",
+ "@types/react-dom": "^19",
+ "react-resizable-panels": "^4.10.0",
+ "tailwindcss": "^4",
+ "typescript": "^5"
+ }
+}
diff --git a/src/web/studio/pnpm-lock.yaml b/src/web/studio/pnpm-lock.yaml
new file mode 100644
index 0000000..15d9877
--- /dev/null
+++ b/src/web/studio/pnpm-lock.yaml
@@ -0,0 +1,1385 @@
+lockfileVersion: '9.0'
+
+settings:
+ autoInstallPeers: true
+ excludeLinksFromLockfile: false
+
+importers:
+
+ .:
+ dependencies:
+ '@dnd-kit/core':
+ specifier: ^6.3.1
+ '@dnd-kit/sortable':
+ specifier: ^10.0.0
+ '@dnd-kit/utilities':
+ specifier: ^3.2.2
+ version: 3.2.2([email protected])
+ lucide-react:
+ specifier: ^1.8.0
+ version: 1.8.0([email protected])
+ next:
+ specifier: 16.2.3
+ react:
+ specifier: 19.2.4
+ version: 19.2.4
+ react-dom:
+ specifier: 19.2.4
+ version: 19.2.4([email protected])
+ recharts:
+ specifier: ^3.8.1
+ zustand:
+ specifier: ^5.0.12
+ devDependencies:
+ '@tailwindcss/postcss':
+ specifier: ^4
+ version: 4.2.2
+ '@types/node':
+ specifier: ^20
+ version: 20.19.39
+ '@types/react':
+ specifier: ^19
+ version: 19.2.14
+ '@types/react-dom':
+ specifier: ^19
+ version: 19.2.3(@types/[email protected])
+ react-resizable-panels:
+ specifier: ^4.10.0
+ tailwindcss:
+ specifier: ^4
+ version: 4.2.2
+ typescript:
+ specifier: ^5
+ version: 5.9.3
+
+packages:
+
+ '@alloc/[email protected]':
+ resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}
+ engines: {node: '>=10'}
+
+ '@dnd-kit/[email protected]':
+ resolution: {integrity: sha512-2P+YgaXF+gRsIihwwY1gCsQSYnu9Zyj2py8kY5fFvUM1qm2WA2u639R6YNVfU4GWr+ZM5mqEsfHZZLoRONbemw==}
+ peerDependencies:
+ react: '>=16.8.0'
+
+ '@dnd-kit/[email protected]':
+ resolution: {integrity: sha512-xkGBRQQab4RLwgXxoqETICr6S5JlogafbhNsidmrkVv2YRs5MLwpjoF2qpiGjQt8S9AoxtIV603s0GIUpY5eYQ==}
+ peerDependencies:
+ react: '>=16.8.0'
+ react-dom: '>=16.8.0'
+
+ '@dnd-kit/[email protected]':
+ resolution: {integrity: sha512-+xqhmIIzvAYMGfBYYnbKuNicfSsk4RksY2XdmJhT+HAC01nix6fHCztU68jooFiMUB01Ky3F0FyOvhG/BZrWkg==}
+ peerDependencies:
+ '@dnd-kit/core': ^6.3.0
+ react: '>=16.8.0'
+
+ '@dnd-kit/[email protected]':
+ resolution: {integrity: sha512-+MKAJEOfaBe5SmV6t34p80MMKhjvUz0vRrvVJbPT0WElzaOJ/1xs+D+KDv+tD/NE5ujfrChEcshd4fLn0wpiqg==}
+ peerDependencies:
+ react: '>=16.8.0'
+
+ '@emnapi/[email protected]':
+ resolution: {integrity: sha512-3U4+MIWHImeyu1wnmVygh5WlgfYDtyf0k8AbLhMFxOipihf6nrWC4syIm/SwEeec0mNSafiiNnMJwbza/Is6Lw==}
+
+ resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==}
+ engines: {node: '>=18'}
+
+ resolution: {integrity: sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [arm64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [x64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==}
+ cpu: [arm64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==}
+ cpu: [x64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==}
+ cpu: [arm]
+ os: [linux]
+
+ resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==}
+ cpu: [ppc64]
+ os: [linux]
+
+ resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==}
+ cpu: [riscv64]
+ os: [linux]
+
+ resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==}
+ cpu: [s390x]
+ os: [linux]
+
+ resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [arm]
+ os: [linux]
+
+ resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [ppc64]
+ os: [linux]
+
+ resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [riscv64]
+ os: [linux]
+
+ resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [s390x]
+ os: [linux]
+
+ resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [wasm32]
+
+ resolution: {integrity: sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [arm64]
+ os: [win32]
+
+ resolution: {integrity: sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [ia32]
+ os: [win32]
+
+ resolution: {integrity: sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [x64]
+ os: [win32]
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}
+ engines: {node: '>=6.0.0'}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}
+
+ '@jridgewell/[email protected]':
+ resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
+
+ resolution: {integrity: sha512-ZWXyj4uNu4GCWQw9cjRxWlbD+33mcDszIo9iQxFnBX3Wmgq9ulaSJcl6VhuWx5pCWqqD+9W6Wfz7N0lM5lYPMA==}
+
+ resolution: {integrity: sha512-u37KDKTKQ+OQLvY+z7SNXixwo4Q2/IAJFDzU1fYe66IbCE51aDSAzkNDkWmLN0yjTUh4BKBd+hb69jYn6qqqSg==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-gHjL/qy6Q6CG3176FWbAKyKh9IfntKZTB3RY/YOJdDFpHGsUDXVH38U4mMNpHVGXmeYW4wj22dMp1lTfmu/bTQ==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-U6vtblPtU/P14Y/b/n9ZY0GOxbbIhTFuaFR7F4/uMBidCi2nSdaOFhA0Go81L61Zd6527+yvuX44T4ksnf8T+Q==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-/YV0LgjHUmfhQpn9bVoGc4x4nan64pkhWR5wyEV8yCOfwwrH630KpvRg86olQHTwHIn1z59uh6JwKvHq1h4QEw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-/HiWEcp+WMZ7VajuiMEFGZ6cg0+aYZPqCJD3YJEfpVWQsKYSjXQG06vJP6F1rdA03COD9Fef4aODs3YxKx+RDQ==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-Kt44hGJfZSefebhk/7nIdivoDr3Ugp5+oNz9VvF3GUtfxutucUIHfIO0ZYO8QlOPDQloUVQn4NVC/9JvHRk9hw==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-O2NZ9ie3Tq6xj5Z5CSwBT3+aWAMW2PIZ4egUi9MaWLkwaehgtB7YZjPm+UpcNpKOme0IQuqDcor7BsW6QBiQBw==}
+ engines: {node: '>= 10'}
+ cpu: [arm64]
+ os: [win32]
+
+ resolution: {integrity: sha512-Ibm29/GgB/ab5n7XKqlStkm54qqZE8v2FnijUPBgrd67FWrac45o/RsNlaOWjme/B5UqeWt/8KM4aWBwA1D2Kw==}
+ engines: {node: '>= 10'}
+ cpu: [x64]
+ os: [win32]
+
+ '@reduxjs/[email protected]':
+ resolution: {integrity: sha512-Kd6kAHTA6/nUpp8mySPqj3en3dm0tdMIgbttnQ1xFMVpufoj+ADi8pXLBsd4xzTRHQa7t/Jv8W5UnCuW4kuWMQ==}
+ peerDependencies:
+ react: ^16.9.0 || ^17.0.0 || ^18 || ^19
+ react-redux: ^7.2.1 || ^8.1.3 || ^9.0.0
+ peerDependenciesMeta:
+ react:
+ optional: true
+ react-redux:
+ optional: true
+
+ '@standard-schema/[email protected]':
+ resolution: {integrity: sha512-l2aFy5jALhniG5HgqrD6jXLi/rUWrKvqN/qJx6yoJsgKhblVd+iqqU4RCXavm/jPityDo5TCvKMnpjKnOriy0w==}
+
+ '@standard-schema/[email protected]':
+ resolution: {integrity: sha512-e7Mew686owMaPJVNNLs55PUvgz371nKgwsc4vxE49zsODpJEnxgxRo2y/OKrqueavXgZNMDVj3DdHFlaSAeU8g==}
+
+ resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==}
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-pXS+wJ2gZpVXqFaUEjojq7jzMpTGf8rU6ipJz5ovJV6PUGmlJ+jvIwGrzdHdQ80Sg+wmQxUFuoW1UAAwHNEdFA==}
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-dXGR1n+P3B6748jZO/SvHZq7qBOqqzQ+yFrXpoOWWALWndF9MoSKAT3Q0fYgAzYzGhxNYOoysRvYlpixRBBoDg==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [android]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-iq9Qjr6knfMpZHj55/37ouZeykwbDqF21gPFtfnhCCKGDcPI/21FKC9XdMO/XyBM7qKORx6UIhGgg6jLl7BZlg==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-BlR+2c3nzc8f2G639LpL89YY4bdcIdUmiOOkv2GQv4/4M0vJlpXEa0JXNHhCHU7VWOKWT/CjqHdTP8aUuDJkuw==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [darwin]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-YUqUgrGMSu2CDO82hzlQ5qSb5xmx3RUrke/QgnoEx7KvmRJHQuZHZmZTLSuuHwFf0DJPybFMXMYf+WJdxHy/nQ==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-FPdhvsW6g06T9BWT0qTwiVZYE2WIFo2dY5aCSpjG/S/u1tby+wXoslXS0kl3/KXnULlLr1E3NPRRw0g7t2kgaQ==}
+ engines: {node: '>= 20'}
+ cpu: [arm]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-4og1V+ftEPXGttOO7eCmW7VICmzzJWgMx+QXAJRAhjrSjumCwWqMfkDrNu1LXEQzNAwz28NCUpucgQPrR4S2yw==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-oCfG/mS+/+XRlwNjnsNLVwnMWYH7tn/kYPsNPh+JSOMlnt93mYNCKHYzylRhI51X+TbR+ufNhhKKzm6QkqX8ag==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-rTAGAkDgqbXHNp/xW0iugLVmX62wOp2PoE39BTCGKjv3Iocf6AFbRP/wZT/kuCxC9QBh9Pu8XPkv/zCZB2mcMg==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-XW3t3qwbIwiSyRCggeO2zxe3KWaEbM0/kW9e8+0XpBgyKU4ATYzcVSMKteZJ1iukJ3HgHBjbg9P5YPRCVUxlnQ==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [linux]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-eKSztKsmEsn1O5lJ4ZAfyn41NfG7vzCg496YiGtMDV86jz1q/irhms5O0VrY6ZwTUkFy/EKG3RfWgxSI3VbZ8Q==}
+ engines: {node: '>=14.0.0'}
+ cpu: [wasm32]
+ bundledDependencies:
+ - '@napi-rs/wasm-runtime'
+ - '@emnapi/core'
+ - '@emnapi/runtime'
+ - '@tybys/wasm-util'
+ - '@emnapi/wasi-threads'
+ - tslib
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-qPmaQM4iKu5mxpsrWZMOZRgZv1tOZpUm+zdhhQP0VhJfyGGO3aUKdbh3gDZc/dPLQwW4eSqWGrrcWNBZWUWaXQ==}
+ engines: {node: '>= 20'}
+ cpu: [arm64]
+ os: [win32]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-1T/37VvI7WyH66b+vqHj/cLwnCxt7Qt3WFu5Q8hk65aOvlwAhs7rAp1VkulBJw/N4tMirXjVnylTR72uI0HGcA==}
+ engines: {node: '>= 20'}
+ cpu: [x64]
+ os: [win32]
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-qEUA07+E5kehxYp9BVMpq9E8vnJuBHfJEC0vPC5e7iL/hw7HR61aDKoVoKzrG+QKp56vhNZe4qwkRmMC0zDLvg==}
+ engines: {node: '>= 20'}
+
+ '@tailwindcss/[email protected]':
+ resolution: {integrity: sha512-n4goKQbW8RVXIbNKRB/45LzyUqN451deQK0nzIeauVEqjlI49slUlgKYJM2QyUzap/PcpnS7kzSUmPb1sCRvYQ==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-hOLWVbm7uRza0BYXpIIW5pxfrKe0W+D5lrFiAEYR+pb6w3N2SwSMaJbXdUfSEv+dT4MfHBLtn5js0LAWaO6otw==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-NcV1JjO5oDzoK26oMzbILE6HW7uVXOHLQvHshBUW4UMdZGfiY6v5BeQwh9a9tCzv+CeefZQHJt5SRgK154RtiA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-mgLPETlrpVV1YRJIglr4Ez47g7Yxjl1lj7YKsiMCb27VJH9W8NVM6Bb9d8kkpG/uAQS5AmbA48q2IAolKKo1MA==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-VMZBYyQvbGmWyWVea0EHs/BwLgxc+MKi1zLDCONksozI4YJMcTt8ZEuIR4Sb1MMTE8MMW49v0IwI5+b7RmfWlg==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-dLmtwB8zkAeO/juAMfnV+sItKjlsw2lKdZVVy6LRr0cBmegxSABiLEpGVmSJJ8O08i4+sGR6qQtb6WtuwJdvVw==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-lae0iWfcDeR7qt7rA88BNiqdvPS5pFVPpo5OfjElwNaT2yyekbM0C9vK+yqBqEmHr6lDkRnYNoTBYlAgJa7a4w==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-yuzZug1nkAAaBlBBikKZTgzCeA+k1uy4ZFwWANOfKw5z5LRhV0gNA7gNkKm7HoK+HRN0wX3EkxGk0fpbWhmB7g==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-Ps3T8E8dZDam6fUyNiMkekK3XUsaUEik+idO9/YjPtfj2qruF8tFBXS7XhtE4iIXBLxhmLjP3SXpLhVf21I9Lw==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-orrrD74MBUyK8jOAD/r0+lfa1I2MO6I+vAkmAWzMYbCcgrN4lCrmK52gRFQq/JRxfYPfonkr4b0jcY7Olqdqbw==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==}
+ peerDependencies:
+ '@types/react': ^19.2.0
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-ilcTH/UniCkMdtexkoCN0bI7pMcJDvmQFPvuPvmEaYA/NSfFTAgdUSLAoVjaRJm7+6PvcM+q1zYOwS4wTYMF9w==}
+
+ '@types/[email protected]':
+ resolution: {integrity: sha512-zFDAD+tlpf2r4asuHEj0XH6pY6i0g5NeAHPn+15wk3BV6JA69eERFXC1gyGThDkVa1zCyKr5jox1+2LbV/AMLg==}
+
+ resolution: {integrity: sha512-VSnGQAOLtP5mib/DPyg2/t+Tlv65NTBz83BJBJvmLVHHuKJVaDOBvJJykiT5TR++em5nfAySPccDZDa4oSrn8A==}
+ engines: {node: '>=6.0.0'}
+ hasBin: true
+
+ resolution: {integrity: sha512-mNcrMN9KeI68u7muanUpEejSLghOKlVhRqS/Za2IeyGllJ9I9otGpR9g3nsw7n4W378TE/LyIteA0+/FOZm4Kg==}
+
+ resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==}
+
+ resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==}
+
+ resolution: {integrity: sha512-tdQAmyA18i4J7wprpYq8ClcxZy3SC31QMeByyCFyRt7BVHdREQZ5lpzoe5mFEYZUWe+oq8HBvk9JjpibyEV4Jg==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-zg/chbXyeBtMQ1LbD/WSoW2DpC3I0mpmPdW+ynRTj/x2DAWYrIY7qeZIHidozwV24m4iavr15lNwIwLxRmOxhA==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-wR/XK3D3XcLIZwpbvQwQ5fK+8Ykds1ip7A2Txe0yxncXSdq1L9skcG7blcedkOX+ZcgxGAmLX1FrRGbADwzi0w==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-AJDdYOdnyRDV5b6ArilzCPPwc1ejkHcoyFarqlPqT7zRYjhavcT3uSrqcMvsgh2CgoPbK3RCwyHaVyxYcP2Arg==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-3bYs1rOD33uo8aqJfKP3JWPAibgw8Zm2+L9vBKEHJ2Rg+viTR7o5Mmv5mZcieN+FRYaAOWX5SJATX6k1PWz72g==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-p3KP5HCf/bvjBSSKuXid6Zqijx7wIfNW+J/maPs+iwR35at5JCbLUT0LzF1cnjbCHWhqzQTIN2Jpe8pRebIEFQ==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-GZW464g1SH7ag3Y7hXjf8RoUuAFIqklOAq3MRl4OaWabTFJY9PN/E1YklhXLh+OQ3fM9yS2nOkCoS+WLZ6kvxQ==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-SaLBuwGm3MOViRq2ABk3eLoxwZELpH6zhl3FbAoJ7Vm1gofKx6El1Ib5z23NUEhF9AsGl7y+dzLe5Cw2AArGTA==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-dJxPBlzC7NugB2PDLwo9Q8JiTR3M3e4/XANkreKSUxF8vvXKqm1Yfq4Q5dl8budlunRVlUUaDUgFt7eA8D6NLg==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-VqKjzBLejbSMT4IgbmVgDjpkYrNWUYJnbCGo874u7MMKIWsILRX+OpX/gTk8MqjpT1A/c6HY2dCA77ZN0lkQ2Q==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-ndfJ/JxxMd3nw31uyKoY2naivF+r29V+Lc0svZxe1JvvIRmi8hUsrMvdOwgS1o6uBHmiz91geQ0ylPP0aj1VUA==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-qIMFpTMZmny+MMIitAB6D7iVPEorVw6YQRWkvarTkT4tBeSLLiHzcwj6q0MmYSFCiVpiqPJTJEYIrpcPzVEIvg==}
+
+ resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}
+ engines: {node: '>=8'}
+
+ resolution: {integrity: sha512-Qohcme7V1inbAfvjItgw0EaxVX5q2rdVEZHRBrEQdRZTssLDGsL8Lwrznl8oQ/6kuTJONLaDcGjkNP247XEhcA==}
+ engines: {node: '>=10.13.0'}
+
+ resolution: {integrity: sha512-/jhoOj/Fx+A+IIyDNOvO3TItGmlMKhtX8ISAHKE90c4b/k1tqaqEZ+uUqfpU8DMnW5cgNJv606zS55jGvza0Xw==}
+
+ resolution: {integrity: sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==}
+
+ resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
+
+ resolution: {integrity: sha512-d/+XTN3zfODyjr89gM3mPq1WNX2B8pYsu7eORitdwyA2sBubnTl3laYlBk4sXY5FUa5qTZGBDPJICVbvqzjlbw==}
+
+ resolution: {integrity: sha512-XREFCPo6ksxVzP4E0ekD5aMdf8WMwmdNaz6vuvxgI40UaEiu6q3p8X52aU6GdyvLY3XXX/8R7JOTXStz/nBbRw==}
+
+ resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==}
+ engines: {node: '>=12'}
+
+ resolution: {integrity: sha512-ekilCSN1jwRvIbgeg/57YFh8qQDNbwDb9xT/qu2DAHbFFZUicIl4ygVaAvzveMhMVr3LnpSKTNnwt8PoOfmKhQ==}
+ hasBin: true
+
+ resolution: {integrity: sha512-YK7/ClTt4kAK0vo6w3X+Pnm0D2cf2vPHbhOXdoNti1Ga0al1P4TBZhwjATvjNwLEBCnKvjJc2jQgHXH0NEwlAg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [android]
+
+ resolution: {integrity: sha512-RzeG9Ju5bag2Bv1/lwlVJvBE3q6TtXskdZLLCyfg5pt+HLz9BqlICO7LZM7VHNTTn/5PRhHFBSjk5lc4cmscPQ==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-U+QsBp2m/s2wqpUYT/6wnlagdZbtZdndSmut/NJqlCcMLTWp5muCrID+K5UJ6jqD2BFshejCYXniPDbNh73V8w==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [darwin]
+
+ resolution: {integrity: sha512-JCTigedEksZk3tHTTthnMdVfGf61Fky8Ji2E4YjUTEQX14xiy/lTzXnu1vwiZe3bYe0q+SpsSH/CTeDXK6WHig==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [freebsd]
+
+ resolution: {integrity: sha512-x6rnnpRa2GL0zQOkt6rts3YDPzduLpWvwAF6EMhXFVZXD4tPrBkEFqzGowzCsIWsPjqSK+tyNEODUBXeeVHSkw==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm]
+ os: [linux]
+
+ resolution: {integrity: sha512-0nnMyoyOLRJXfbMOilaSRcLH3Jw5z9HDNGfT/gwCPgaDjnx0i8w7vBzFLFR1f6CMLKF8gVbebmkUN3fa/kQJpQ==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-UpQkoenr4UJEzgVIYpI80lDFvRmPVg6oqboNHfoH4CQIfNA+HOrZ7Mo7KZP02dC6LjghPQJeBsvXhJod/wnIBg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [linux]
+
+ resolution: {integrity: sha512-V7Qr52IhZmdKPVr+Vtw8o+WLsQJYCTd8loIfpDaMRWGUZfBOYEJeyJIkqGIDMZPwPx24pUMfwSxxI8phr/MbOA==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-bYcLp+Vb0awsiXg/80uCRezCYHNg1/l3mt0gzHnWV9XP1W5sKa5/TCdGWaR/zBM2PeF/HbsQv/j2URNOiVuxWg==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [linux]
+
+ resolution: {integrity: sha512-8SbC8BR40pS6baCM8sbtYDSwEVQd4JlFTOlaD3gWGHfThTcABnNDBda6eTZeqbofalIJhFx0qKzgHJmcPTnGdw==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [arm64]
+ os: [win32]
+
+ resolution: {integrity: sha512-Amq9B/SoZYdDi1kFrojnoqPLxYhQ4Wo5XiL8EVJrVsB8ARoC1PWW6VGtT0WKCemjy8aC+louJnjS7U18x3b06Q==}
+ engines: {node: '>= 12.0.0'}
+ cpu: [x64]
+ os: [win32]
+
+ resolution: {integrity: sha512-NXYBzinNrblfraPGyrbPoD19C1h9lfI/1mzgWYvXUTe414Gz/X1FD2XBZSZM7rRTrMA8JL3OtAaGifrIKhQ5yQ==}
+ engines: {node: '>= 12.0.0'}
+
+ resolution: {integrity: sha512-WuvlsjngSk7TnTBJ1hsCy3ql9V9VOdcPkd3PKcSmM34vJD8KG6molxz7m7zbYFgICwsanQWmJ13JlYs4Zp7Arw==}
+ peerDependencies:
+ react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0
+
+ resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
+
+ resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==}
+ engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
+ hasBin: true
+
+ resolution: {integrity: sha512-9V3zV4oZFza3PVev5/poB9g0dEafVcgNyQ8eTRop8GvxZjV2G15FC5ARuG1eFD42QgeYkzJBJzHghNP8Ad9xtA==}
+ engines: {node: '>=20.9.0'}
+ hasBin: true
+ peerDependencies:
+ '@opentelemetry/api': ^1.1.0
+ '@playwright/test': ^1.51.1
+ babel-plugin-react-compiler: '*'
+ react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0
+ react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0
+ sass: ^1.3.0
+ peerDependenciesMeta:
+ '@opentelemetry/api':
+ optional: true
+ '@playwright/test':
+ optional: true
+ babel-plugin-react-compiler:
+ optional: true
+ sass:
+ optional: true
+
+ resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==}
+
+ resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}
+ engines: {node: ^10 || ^12 || >=14}
+
+ resolution: {integrity: sha512-7a70Nsot+EMX9fFU3064K/kdHWZqGVY+BADLyXc8Dfv+mTLLVl6JzJpPaCZ2kQL9gIJvKXSLMHhqdRRjwQeFtw==}
+ engines: {node: ^10 || ^12 || >=14}
+
+ resolution: {integrity: sha512-AXJdLo8kgMbimY95O2aKQqsz2iWi9jMgKJhRBAxECE4IFxfcazB2LmzloIoibJI3C12IlY20+KFaLv+71bUJeQ==}
+ peerDependencies:
+ react: ^19.2.4
+
+ resolution: {integrity: sha512-Dn0t8IQhCmeIT3wu+Apm1/YVsJXsGWi6k4sPdnBIdqMVtHtv0IGi6dcpNpNkNac0zB2uUAqNX3MHzN8c+z2rwQ==}
+
+ resolution: {integrity: sha512-ROY9fvHhwOD9ySfrF0wmvu//bKCQ6AeZZq1nJNtbDC+kk5DuSuNX/n6YWYF/SYy7bSba4D4FSz8DJeKY/S/r+g==}
+ peerDependencies:
+ '@types/react': ^18.2.25 || ^19
+ react: ^18.0 || ^19
+ redux: ^5.0.0
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ redux:
+ optional: true
+
+ resolution: {integrity: sha512-frjewRQt7TCv/vCH1pJfjZ7RxAhr5pKuqVQtVgzFq/vherxBFOWyC3xMbryx5Ti2wylViGUFc93Etg4rB3E0UA==}
+ peerDependencies:
+ react: ^18.0.0 || ^19.0.0
+ react-dom: ^18.0.0 || ^19.0.0
+
+ resolution: {integrity: sha512-9nfp2hYpCwOjAN+8TZFGhtWEwgvWHXqESH8qT89AT/lWklpLON22Lc8pEtnpsZz7VmawabSU0gCjnj8aC0euHQ==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-mwzmO1s9sFL0TduUpwndxCUNoXsBw3u3E/0+A+cLcrSfQitSG62L32N69GhqUrrT5qKcAE3pCGVINC6pqkBBQg==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+ react-is: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+
+ resolution: {integrity: sha512-NW2r5T6ksUKXCabzhL9z+h206HQw/NJkcLm1GPImRQ8IzfXwRGqjVhKJGauHirT0DAuyy6hjdnMZaRoAcy0Klw==}
+ peerDependencies:
+ redux: ^5.0.0
+
+ resolution: {integrity: sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==}
+
+ resolution: {integrity: sha512-K/BG6eIky/SBpzfHZv/dd+9JBFiS4SWV7FIujVyJRux6e45+73RaUHXLmIR1f7WOMaQ0U1km6qwklRQxpJJY0w==}
+
+ resolution: {integrity: sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==}
+
+ resolution: {integrity: sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==}
+ engines: {node: '>=10'}
+ hasBin: true
+
+ resolution: {integrity: sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+
+ resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}
+ engines: {node: '>=0.10.0'}
+
+ resolution: {integrity: sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==}
+ engines: {node: '>= 12.0.0'}
+ peerDependencies:
+ '@babel/core': '*'
+ babel-plugin-macros: '*'
+ react: '>= 16.8.0 || 17.x.x || ^18.0.0-0 || ^19.0.0-0'
+ peerDependenciesMeta:
+ '@babel/core':
+ optional: true
+ babel-plugin-macros:
+ optional: true
+
+ resolution: {integrity: sha512-KWBIxs1Xb6NoLdMVqhbhgwZf2PGBpPEiwOqgI4pFIYbNTfBXiKYyWoTsXgBQ9WFg/OlhnvHaY+AEpW7wSmFo2Q==}
+
+ resolution: {integrity: sha512-1MOpMXuhGzGL5TTCZFItxCc0AARf1EZFQkGqMm7ERKj8+Hgr5oLvJOVFcC+lRmR8hCe2S3jC4T5D7Vg/d7/fhA==}
+ engines: {node: '>=6'}
+
+ resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==}
+
+ resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}
+
+ resolution: {integrity: sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==}
+ engines: {node: '>=14.17'}
+ hasBin: true
+
+ resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==}
+
+ resolution: {integrity: sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==}
+ peerDependencies:
+ react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
+
+ resolution: {integrity: sha512-SbPDPdDBYp+5MJHhBCAyI7wKM3d5ivekigc2Dk2s7pgbZ9wIgIBYGVw4zGHBml/qTFbexrofXW6Gu4noGxrOwQ==}
+
+ resolution: {integrity: sha512-i77ae3aZq4dhMlRhJVCYgMLKuSiZAaUPAct2AksxQ+gOtimhGMdXljRT21P5BNpeT4kXlLIckvkPM029OljD7g==}
+ engines: {node: '>=12.20.0'}
+ peerDependencies:
+ '@types/react': '>=18.0.0'
+ immer: '>=9.0.6'
+ react: '>=18.0.0'
+ use-sync-external-store: '>=1.2.0'
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ immer:
+ optional: true
+ react:
+ optional: true
+ use-sync-external-store:
+ optional: true
+
+snapshots:
+
+ '@alloc/[email protected]': {}
+
+ dependencies:
+ react: 19.2.4
+ tslib: 2.8.1
+
+ dependencies:
+ '@dnd-kit/accessibility': 3.1.1([email protected])
+ '@dnd-kit/utilities': 3.2.2([email protected])
+ react: 19.2.4
+ react-dom: 19.2.4([email protected])
+ tslib: 2.8.1
+
+ dependencies:
+ '@dnd-kit/utilities': 3.2.2([email protected])
+ react: 19.2.4
+ tslib: 2.8.1
+
+ dependencies:
+ react: 19.2.4
+ tslib: 2.8.1
+
+ '@emnapi/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+ optional: true
+
+ optional: true
+
+ optionalDependencies:
+ '@img/sharp-libvips-darwin-arm64': 1.2.4
+ optional: true
+
+ optionalDependencies:
+ '@img/sharp-libvips-darwin-x64': 1.2.4
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optionalDependencies:
+ '@img/sharp-libvips-linux-arm64': 1.2.4
+ optional: true
+
+ optionalDependencies:
+ '@img/sharp-libvips-linux-arm': 1.2.4
+ optional: true
+
+ optionalDependencies:
+ '@img/sharp-libvips-linux-ppc64': 1.2.4
+ optional: true
+
+ optionalDependencies:
+ '@img/sharp-libvips-linux-riscv64': 1.2.4
+ optional: true
+
+ optionalDependencies:
+ '@img/sharp-libvips-linux-s390x': 1.2.4
+ optional: true
+
+ optionalDependencies:
+ '@img/sharp-libvips-linux-x64': 1.2.4
+ optional: true
+
+ optionalDependencies:
+ '@img/sharp-libvips-linuxmusl-arm64': 1.2.4
+ optional: true
+
+ optionalDependencies:
+ '@img/sharp-libvips-linuxmusl-x64': 1.2.4
+ optional: true
+
+ dependencies:
+ '@emnapi/runtime': 1.9.2
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/sourcemap-codec': 1.5.5
+ '@jridgewell/trace-mapping': 0.3.31
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/gen-mapping': 0.3.13
+ '@jridgewell/trace-mapping': 0.3.31
+
+ '@jridgewell/[email protected]': {}
+
+ '@jridgewell/[email protected]': {}
+
+ '@jridgewell/[email protected]':
+ dependencies:
+ '@jridgewell/resolve-uri': 3.1.2
+ '@jridgewell/sourcemap-codec': 1.5.5
+
+ '@next/[email protected]': {}
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ dependencies:
+ '@standard-schema/spec': 1.1.0
+ '@standard-schema/utils': 0.3.0
+ immer: 11.1.4
+ redux: 5.0.1
+ redux-thunk: 3.1.0([email protected])
+ reselect: 5.1.1
+ optionalDependencies:
+ react: 19.2.4
+
+ '@standard-schema/[email protected]': {}
+
+ '@standard-schema/[email protected]': {}
+
+ dependencies:
+ tslib: 2.8.1
+
+ '@tailwindcss/[email protected]':
+ dependencies:
+ '@jridgewell/remapping': 2.3.5
+ enhanced-resolve: 5.20.1
+ jiti: 2.6.1
+ lightningcss: 1.32.0
+ magic-string: 0.30.21
+ source-map-js: 1.2.1
+ tailwindcss: 4.2.2
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optional: true
+
+ '@tailwindcss/[email protected]':
+ optionalDependencies:
+ '@tailwindcss/oxide-android-arm64': 4.2.2
+ '@tailwindcss/oxide-darwin-arm64': 4.2.2
+ '@tailwindcss/oxide-darwin-x64': 4.2.2
+ '@tailwindcss/oxide-freebsd-x64': 4.2.2
+ '@tailwindcss/oxide-linux-arm-gnueabihf': 4.2.2
+ '@tailwindcss/oxide-linux-arm64-gnu': 4.2.2
+ '@tailwindcss/oxide-linux-arm64-musl': 4.2.2
+ '@tailwindcss/oxide-linux-x64-gnu': 4.2.2
+ '@tailwindcss/oxide-linux-x64-musl': 4.2.2
+ '@tailwindcss/oxide-wasm32-wasi': 4.2.2
+ '@tailwindcss/oxide-win32-arm64-msvc': 4.2.2
+ '@tailwindcss/oxide-win32-x64-msvc': 4.2.2
+
+ '@tailwindcss/[email protected]':
+ dependencies:
+ '@alloc/quick-lru': 5.2.0
+ '@tailwindcss/node': 4.2.2
+ '@tailwindcss/oxide': 4.2.2
+ postcss: 8.5.9
+ tailwindcss: 4.2.2
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/d3-color': 3.1.3
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/d3-time': 3.0.4
+
+ '@types/[email protected]':
+ dependencies:
+ '@types/d3-path': 3.1.1
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]': {}
+
+ '@types/[email protected]':
+ dependencies:
+ undici-types: 6.21.0
+
+ dependencies:
+ '@types/react': 19.2.14
+
+ '@types/[email protected]':
+ dependencies:
+ csstype: 3.2.3
+
+ '@types/[email protected]': {}
+
+
+
+
+
+
+ dependencies:
+ internmap: 2.0.3
+
+
+
+
+ dependencies:
+ d3-color: 3.1.0
+
+
+ dependencies:
+ d3-array: 3.2.4
+ d3-format: 3.1.2
+ d3-interpolate: 3.0.1
+ d3-time: 3.1.0
+ d3-time-format: 4.1.0
+
+ dependencies:
+ d3-path: 3.1.0
+
+ dependencies:
+ d3-time: 3.1.0
+
+ dependencies:
+ d3-array: 3.2.4
+
+
+
+
+ dependencies:
+ graceful-fs: 4.2.11
+ tapable: 2.3.2
+
+
+
+
+
+
+
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ optional: true
+
+ dependencies:
+ detect-libc: 2.1.2
+ optionalDependencies:
+ lightningcss-android-arm64: 1.32.0
+ lightningcss-darwin-arm64: 1.32.0
+ lightningcss-darwin-x64: 1.32.0
+ lightningcss-freebsd-x64: 1.32.0
+ lightningcss-linux-arm-gnueabihf: 1.32.0
+ lightningcss-linux-arm64-gnu: 1.32.0
+ lightningcss-linux-arm64-musl: 1.32.0
+ lightningcss-linux-x64-gnu: 1.32.0
+ lightningcss-linux-x64-musl: 1.32.0
+ lightningcss-win32-arm64-msvc: 1.32.0
+ lightningcss-win32-x64-msvc: 1.32.0
+
+ dependencies:
+ react: 19.2.4
+
+ dependencies:
+ '@jridgewell/sourcemap-codec': 1.5.5
+
+
+ dependencies:
+ '@next/env': 16.2.3
+ '@swc/helpers': 0.5.15
+ baseline-browser-mapping: 2.10.18
+ caniuse-lite: 1.0.30001787
+ postcss: 8.4.31
+ react: 19.2.4
+ react-dom: 19.2.4([email protected])
+ styled-jsx: 5.1.6([email protected])
+ optionalDependencies:
+ '@next/swc-darwin-arm64': 16.2.3
+ '@next/swc-darwin-x64': 16.2.3
+ '@next/swc-linux-arm64-gnu': 16.2.3
+ '@next/swc-linux-arm64-musl': 16.2.3
+ '@next/swc-linux-x64-gnu': 16.2.3
+ '@next/swc-linux-x64-musl': 16.2.3
+ '@next/swc-win32-arm64-msvc': 16.2.3
+ '@next/swc-win32-x64-msvc': 16.2.3
+ sharp: 0.34.5
+ transitivePeerDependencies:
+ - '@babel/core'
+ - babel-plugin-macros
+
+
+ dependencies:
+ nanoid: 3.3.11
+ picocolors: 1.1.1
+ source-map-js: 1.2.1
+
+ dependencies:
+ nanoid: 3.3.11
+ picocolors: 1.1.1
+ source-map-js: 1.2.1
+
+ dependencies:
+ react: 19.2.4
+ scheduler: 0.27.0
+
+
+ dependencies:
+ '@types/use-sync-external-store': 0.0.6
+ react: 19.2.4
+ use-sync-external-store: 1.6.0([email protected])
+ optionalDependencies:
+ '@types/react': 19.2.14
+ redux: 5.0.1
+
+ dependencies:
+ react: 19.2.4
+ react-dom: 19.2.4([email protected])
+
+
+ dependencies:
+ clsx: 2.1.1
+ decimal.js-light: 2.5.1
+ es-toolkit: 1.45.1
+ eventemitter3: 5.0.4
+ immer: 10.2.0
+ react: 19.2.4
+ react-dom: 19.2.4([email protected])
+ react-is: 19.2.5
+ reselect: 5.1.1
+ tiny-invariant: 1.3.3
+ use-sync-external-store: 1.6.0([email protected])
+ victory-vendor: 37.3.6
+ transitivePeerDependencies:
+ - '@types/react'
+ - redux
+
+ dependencies:
+ redux: 5.0.1
+
+
+
+
+ optional: true
+
+ dependencies:
+ '@img/colour': 1.1.0
+ detect-libc: 2.1.2
+ semver: 7.7.4
+ optionalDependencies:
+ '@img/sharp-darwin-arm64': 0.34.5
+ '@img/sharp-darwin-x64': 0.34.5
+ '@img/sharp-libvips-darwin-arm64': 1.2.4
+ '@img/sharp-libvips-darwin-x64': 1.2.4
+ '@img/sharp-libvips-linux-arm': 1.2.4
+ '@img/sharp-libvips-linux-arm64': 1.2.4
+ '@img/sharp-libvips-linux-ppc64': 1.2.4
+ '@img/sharp-libvips-linux-riscv64': 1.2.4
+ '@img/sharp-libvips-linux-s390x': 1.2.4
+ '@img/sharp-libvips-linux-x64': 1.2.4
+ '@img/sharp-libvips-linuxmusl-arm64': 1.2.4
+ '@img/sharp-libvips-linuxmusl-x64': 1.2.4
+ '@img/sharp-linux-arm': 0.34.5
+ '@img/sharp-linux-arm64': 0.34.5
+ '@img/sharp-linux-ppc64': 0.34.5
+ '@img/sharp-linux-riscv64': 0.34.5
+ '@img/sharp-linux-s390x': 0.34.5
+ '@img/sharp-linux-x64': 0.34.5
+ '@img/sharp-linuxmusl-arm64': 0.34.5
+ '@img/sharp-linuxmusl-x64': 0.34.5
+ '@img/sharp-wasm32': 0.34.5
+ '@img/sharp-win32-arm64': 0.34.5
+ '@img/sharp-win32-ia32': 0.34.5
+ '@img/sharp-win32-x64': 0.34.5
+ optional: true
+
+
+ dependencies:
+ client-only: 0.0.1
+ react: 19.2.4
+
+
+
+
+
+
+
+ dependencies:
+ react: 19.2.4
+
+ dependencies:
+ '@types/d3-array': 3.2.2
+ '@types/d3-ease': 3.0.2
+ '@types/d3-interpolate': 3.0.4
+ '@types/d3-scale': 4.0.9
+ '@types/d3-shape': 3.1.8
+ '@types/d3-time': 3.0.4
+ '@types/d3-timer': 3.0.2
+ d3-array: 3.2.4
+ d3-ease: 3.0.1
+ d3-interpolate: 3.0.1
+ d3-scale: 4.0.2
+ d3-shape: 3.2.0
+ d3-time: 3.1.0
+ d3-timer: 3.0.1
+
+ optionalDependencies:
+ '@types/react': 19.2.14
+ immer: 11.1.4
+ react: 19.2.4
+ use-sync-external-store: 1.6.0([email protected])
diff --git a/src/web/studio/pnpm-workspace.yaml b/src/web/studio/pnpm-workspace.yaml
new file mode 100644
index 0000000..581a9d5
--- /dev/null
+++ b/src/web/studio/pnpm-workspace.yaml
@@ -0,0 +1,3 @@
+ignoredBuiltDependencies:
+ - sharp
+ - unrs-resolver
diff --git a/src/web/studio/postcss.config.mjs b/src/web/studio/postcss.config.mjs
new file mode 100644
index 0000000..61e3684
--- /dev/null
+++ b/src/web/studio/postcss.config.mjs
@@ -0,0 +1,7 @@
+const config = {
+ plugins: {
+ "@tailwindcss/postcss": {},
+ },
+};
+
+export default config;
diff --git a/src/web/studio/public/file.svg b/src/web/studio/public/file.svg
new file mode 100644
index 0000000..004145c
--- /dev/null
+++ b/src/web/studio/public/file.svg
@@ -0,0 +1 @@
+<svg fill="none" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M14.5 13.5V5.41a1 1 0 0 0-.3-.7L9.8.29A1 1 0 0 0 9.08 0H1.5v13.5A2.5 2.5 0 0 0 4 16h8a2.5 2.5 0 0 0 2.5-2.5m-1.5 0v-7H8v-5H3v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1M9.5 5V2.12L12.38 5zM5.13 5h-.62v1.25h2.12V5zm-.62 3h7.12v1.25H4.5zm.62 3h-.62v1.25h7.12V11z" clip-rule="evenodd" fill="#666" fill-rule="evenodd"/></svg>
\ No newline at end of file
diff --git a/src/web/studio/public/globe.svg b/src/web/studio/public/globe.svg
new file mode 100644
index 0000000..567f17b
--- /dev/null
+++ b/src/web/studio/public/globe.svg
@@ -0,0 +1 @@
+<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M10.27 14.1a6.5 6.5 0 0 0 3.67-3.45q-1.24.21-2.7.34-.31 1.83-.97 3.1M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16m.48-1.52a7 7 0 0 1-.96 0H7.5a4 4 0 0 1-.84-1.32q-.38-.89-.63-2.08a40 40 0 0 0 3.92 0q-.25 1.2-.63 2.08a4 4 0 0 1-.84 1.31zm2.94-4.76q1.66-.15 2.95-.43a7 7 0 0 0 0-2.58q-1.3-.27-2.95-.43a18 18 0 0 1 0 3.44m-1.27-3.54a17 17 0 0 1 0 3.64 39 39 0 0 1-4.3 0 17 17 0 0 1 0-3.64 39 39 0 0 1 4.3 0m1.1-1.17q1.45.13 2.69.34a6.5 6.5 0 0 0-3.67-3.44q.65 1.26.98 3.1M8.48 1.5l.01.02q.41.37.84 1.31.38.89.63 2.08a40 40 0 0 0-3.92 0q.25-1.2.63-2.08a4 4 0 0 1 .85-1.32 7 7 0 0 1 .96 0m-2.75.4a6.5 6.5 0 0 0-3.67 3.44 29 29 0 0 1 2.7-.34q.31-1.83.97-3.1M4.58 6.28q-1.66.16-2.95.43a7 7 0 0 0 0 2.58q1.3.27 2.95.43a18 18 0 0 1 0-3.44m.17 4.71q-1.45-.12-2.69-.34a6.5 6.5 0 0 0 3.67 3.44q-.65-1.27-.98-3.1" fill="#666"/></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h16v16H0z"/></clipPath></defs></svg>
\ No newline at end of file
diff --git a/src/web/studio/public/next.svg b/src/web/studio/public/next.svg
new file mode 100644
index 0000000..5174b28
--- /dev/null
+++ b/src/web/studio/public/next.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>
\ No newline at end of file
diff --git a/src/web/studio/public/vercel.svg b/src/web/studio/public/vercel.svg
new file mode 100644
index 0000000..7705396
--- /dev/null
+++ b/src/web/studio/public/vercel.svg
@@ -0,0 +1 @@
+<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1155 1000"><path d="m577.3 0 577.4 1000H0z" fill="#fff"/></svg>
\ No newline at end of file
diff --git a/src/web/studio/public/window.svg b/src/web/studio/public/window.svg
new file mode 100644
index 0000000..b2b2a44
--- /dev/null
+++ b/src/web/studio/public/window.svg
@@ -0,0 +1 @@
+<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.5 2.5h13v10a1 1 0 0 1-1 1h-11a1 1 0 0 1-1-1zM0 1h16v11.5a2.5 2.5 0 0 1-2.5 2.5h-11A2.5 2.5 0 0 1 0 12.5zm3.75 4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5M7 4.75a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m1.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5" fill="#666"/></svg>
\ No newline at end of file
diff --git a/src/web/studio/src/app/editor/[projectId]/page.tsx b/src/web/studio/src/app/editor/[projectId]/page.tsx
new file mode 100644
index 0000000..66cbe73
--- /dev/null
+++ b/src/web/studio/src/app/editor/[projectId]/page.tsx
@@ -0,0 +1,99 @@
+"use client";
+
+import { useEffect } from "react";
+import { useParams } from "next/navigation";
+import { useProjectStore } from "@/stores/projectStore";
+import { useMediaStore } from "@/stores/mediaStore";
+import { useJobStore } from "@/stores/jobStore";
+import { useTimelineStore } from "@/stores/timelineStore";
+import * as api from "@/lib/api";
+import { useJobStream } from "@/hooks/useJobStream";
+import { Toolbar } from "@/components/Toolbar";
+import { SourceMonitor } from "@/components/SourceMonitor";
+import { ProgramMonitor } from "@/components/ProgramMonitor";
+import { MediaBrowser } from "@/components/MediaBrowser";
+import { Timeline } from "@/components/timeline/Timeline";
+import { Inspector } from "@/components/inspector/Inspector";
+import { Console } from "@/components/Console";
+import { RunPipelineDialog } from "@/components/dialogs/RunPipelineDialog";
+import { ChatPanel } from "@/components/ChatPanel";
+import { useUiStore } from "@/stores/uiStore";
+
+export default function EditorPage() {
+ const params = useParams<{ projectId: string }>();
+ const projectId = params.projectId;
+ const { pollProject } = useProjectStore();
+ const project = useProjectStore((s) => s.projects.find((p) => p.id === projectId));
+ const consoleOpen = useUiStore((s) => s.consoleOpen);
+ const chatOpen = useUiStore((s) => s.chatOpen);
+ const currentJobId = useJobStore((s) => s.currentJobId);
+
+ // Fetch project details, populate media store, and restore latest job.
+ useEffect(() => {
+ if (!projectId) return;
+ pollProject(projectId).then((p) => {
+ if (p.footage_index_path) {
+ useMediaStore.getState().setFootageIndexPath(p.footage_index_path);
+ useMediaStore.getState().fetchCatalog();
+ }
+ });
+
+ // Restore the latest completed job if no active job.
+ if (!useJobStore.getState().currentJobId) {
+ api.getJobs().then((jobs) => {
+ const completed = jobs.filter((j) => j.status === "completed");
+ if (completed.length === 0) return;
+ const latest = completed[completed.length - 1];
+ useJobStore.getState().setCurrentJobId(latest.id);
+ api.getJob(latest.id).then((job) => {
+ if (job.result) {
+ useJobStore.getState().setResult(job.result);
+ }
+ useTimelineStore.getState().fetchEditPlan(latest.id);
+ });
+ });
+ }
+ }, [projectId, pollProject]);
+
+ // Stream pipeline progress.
+ useJobStream(currentJobId);
+
+ return (
+ <div className="h-full flex flex-col">
+ <Toolbar projectName={project?.name ?? "Loading..."} projectId={projectId} />
+
+ {/* Top: monitors */}
+ <div className="flex flex-1 min-h-0">
+ <div className="w-[35%] min-w-[200px] border-r border-border">
+ <SourceMonitor />
+ </div>
+ <div className="flex-1">
+ <ProgramMonitor />
+ </div>
+ </div>
+
+ {/* Bottom: workspace */}
+ <div className="flex flex-[1.4] min-h-0">
+ <div className="w-[220px] min-w-[180px] shrink-0">
+ <MediaBrowser />
+ </div>
+ <div className="flex-1 min-w-0">
+ <Timeline />
+ </div>
+ <div className="w-[260px] min-w-[200px] shrink-0">
+ <Inspector projectId={projectId} />
+ </div>
+ </div>
+
+ {/* Console */}
+ {consoleOpen && (
+ <div className="h-[160px] shrink-0">
+ <Console />
+ </div>
+ )}
+
+ <RunPipelineDialog projectId={projectId} />
+ {chatOpen && <ChatPanel />}
+ </div>
+ );
+}
diff --git a/src/web/studio/src/app/favicon.ico b/src/web/studio/src/app/favicon.ico
new file mode 100644
index 0000000..718d6fe
Binary files /dev/null and b/src/web/studio/src/app/favicon.ico differ
diff --git a/src/web/studio/src/app/globals.css b/src/web/studio/src/app/globals.css
new file mode 100644
index 0000000..6a1fef6
--- /dev/null
+++ b/src/web/studio/src/app/globals.css
@@ -0,0 +1,71 @@
+@import "tailwindcss";
+
+:root {
+ --background: #0a0a0a;
+ --foreground: #e2e8f0;
+ --surface: #111318;
+ --surface-hover: #1a1d24;
+ --border: #1e293b;
+ --border-hover: #334155;
+ --accent: #10b981;
+ --accent-hover: #059669;
+ --muted: #64748b;
+ --destructive: #ef4444;
+}
+
+@theme inline {
+ --color-background: var(--background);
+ --color-foreground: var(--foreground);
+ --color-surface: var(--surface);
+ --color-surface-hover: var(--surface-hover);
+ --color-border: var(--border);
+ --color-border-hover: var(--border-hover);
+ --color-accent: var(--accent);
+ --color-accent-hover: var(--accent-hover);
+ --color-muted: var(--muted);
+ --color-destructive: var(--destructive);
+ --font-sans: var(--font-geist-sans);
+ --font-mono: var(--font-geist-mono);
+}
+
+body {
+ background: var(--background);
+ color: var(--foreground);
+ font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
+}
+
+/* Resizable panel handles */
+[data-separator="horizontal"] {
+ width: 4px;
+ background: var(--border);
+ transition: background 150ms;
+ cursor: col-resize;
+}
+[data-separator="horizontal"]:hover {
+ background: var(--accent);
+}
+[data-separator="vertical"] {
+ height: 4px;
+ background: var(--border);
+ transition: background 150ms;
+ cursor: row-resize;
+}
+[data-separator="vertical"]:hover {
+ background: var(--accent);
+}
+
+/* Scrollbar styling */
+::-webkit-scrollbar {
+ width: 6px;
+ height: 6px;
+}
+::-webkit-scrollbar-track {
+ background: transparent;
+}
+::-webkit-scrollbar-thumb {
+ background: var(--border);
+ border-radius: 3px;
+}
+::-webkit-scrollbar-thumb:hover {
+ background: var(--border-hover);
+}
diff --git a/src/web/studio/src/app/layout.tsx b/src/web/studio/src/app/layout.tsx
new file mode 100644
index 0000000..48e48f0
--- /dev/null
+++ b/src/web/studio/src/app/layout.tsx
@@ -0,0 +1,32 @@
+import type { Metadata } from "next";
+import { Geist, Geist_Mono } from "next/font/google";
+import "./globals.css";
+
+const geistSans = Geist({
+ variable: "--font-geist-sans",
+ subsets: ["latin"],
+});
+
+const geistMono = Geist_Mono({
+ variable: "--font-geist-mono",
+ subsets: ["latin"],
+});
+
+export const metadata: Metadata = {
+ title: "AVE Studio",
+ description: "Agentic Video Editor -- creative direction, chat feedback, and pointed edits.",
+};
+
+export default function RootLayout({
+ children,
+}: Readonly<{
+ children: React.ReactNode;
+}>) {
+ return (
+ <html lang="en" className={`${geistSans.variable} ${geistMono.variable} h-full dark`}>
+ <body className="h-full overflow-hidden bg-background text-foreground font-sans antialiased">
+ {children}
+ </body>
+ </html>
+ );
+}
diff --git a/src/web/studio/src/app/page.tsx b/src/web/studio/src/app/page.tsx
new file mode 100644
index 0000000..8aa1ccb
--- /dev/null
+++ b/src/web/studio/src/app/page.tsx
@@ -0,0 +1,213 @@
+"use client";
+
+import { useEffect, useState, useCallback } from "react";
+import { useRouter } from "next/navigation";
+import { useProjectStore } from "@/stores/projectStore";
+import { FolderPicker } from "@/components/FolderPicker";
+import {
+ FolderOpen,
+ Plus,
+ Trash2,
+ Film,
+ Loader2,
+ AlertCircle,
+ CheckCircle2,
+} from "lucide-react";
+
+export default function ProjectPicker() {
+ const router = useRouter();
+ const { projects, loading, error, fetchProjects, createProject, deleteProject } =
+ useProjectStore();
+ const [showCreate, setShowCreate] = useState(false);
+ const [name, setName] = useState("");
+ const [footageDir, setFootageDir] = useState("");
+ const [creating, setCreating] = useState(false);
+ const [createError, setCreateError] = useState("");
+ const [showFolderPicker, setShowFolderPicker] = useState(false);
+
+ useEffect(() => {
+ fetchProjects();
+ }, [fetchProjects]);
+
+ // Poll preprocessing projects.
+ useEffect(() => {
+ const preprocessing = projects.filter((p) => p.status === "preprocessing");
+ if (preprocessing.length === 0) return;
+ const timer = setInterval(() => {
+ preprocessing.forEach((p) => useProjectStore.getState().pollProject(p.id));
+ }, 2000);
+ return () => clearInterval(timer);
+ }, [projects]);
+
+ const handleCreate = useCallback(async () => {
+ if (!name.trim() || !footageDir.trim()) return;
+ setCreating(true);
+ setCreateError("");
+ try {
+ await createProject(name.trim(), footageDir.trim());
+ setShowCreate(false);
+ setName("");
+ setFootageDir("");
+ } catch (e) {
+ setCreateError((e as Error).message);
+ } finally {
+ setCreating(false);
+ }
+ }, [name, footageDir, createProject]);
+
+ const statusIcon = (status: string) => {
+ switch (status) {
+ case "preprocessing":
+ return <Loader2 className="w-4 h-4 animate-spin text-amber-400" />;
+ case "ready":
+ return <CheckCircle2 className="w-4 h-4 text-accent" />;
+ case "failed":
+ return <AlertCircle className="w-4 h-4 text-destructive" />;
+ default:
+ return null;
+ }
+ };
+
+ return (
+ <div className="h-full flex flex-col items-center justify-center p-8">
+ <div className="w-full max-w-2xl">
+ <div className="flex items-center gap-3 mb-8">
+ <Film className="w-8 h-8 text-accent" />
+ <h1 className="text-3xl font-bold tracking-tight">AVE Studio</h1>
+ </div>
+
+ <div className="flex items-center justify-between mb-4">
+ <h2 className="text-lg font-medium text-muted">Projects</h2>
+ <button
+ onClick={() => setShowCreate(true)}
+ className="flex items-center gap-2 px-3 py-1.5 rounded bg-accent hover:bg-accent-hover text-black text-sm font-medium transition-colors"
+ >
+ <Plus className="w-4 h-4" />
+ New Project
+ </button>
+ </div>
+
+ {loading && projects.length === 0 && (
+ <div className="text-center py-12 text-muted">
+ <Loader2 className="w-6 h-6 animate-spin mx-auto mb-2" />
+ Loading projects...
+ </div>
+ )}
+
+ {error && (
+ <div className="text-center py-4 text-destructive text-sm">{error}</div>
+ )}
+
+ {!loading && projects.length === 0 && !error && (
+ <div className="text-center py-12 border border-dashed border-border rounded-lg">
+ <FolderOpen className="w-10 h-10 mx-auto mb-3 text-muted" />
+ <p className="text-muted">No projects yet. Create one to get started.</p>
+ </div>
+ )}
+
+ <div className="space-y-2">
+ {projects.map((p) => (
+ <div
+ key={p.id}
+ className={`flex items-center gap-3 p-4 rounded-lg border transition-colors ${
+ p.status === "ready"
+ ? "border-border hover:border-border-hover cursor-pointer bg-surface hover:bg-surface-hover"
+ : "border-border bg-surface opacity-80"
+ }`}
+ onClick={() => p.status === "ready" && router.push(`/editor/${p.id}`)}
+ >
+ <div className="flex-1 min-w-0">
+ <div className="flex items-center gap-2">
+ {statusIcon(p.status)}
+ <span className="font-medium truncate">{p.name}</span>
+ </div>
+ <p className="text-xs text-muted mt-1 truncate">{p.footage_dir}</p>
+ </div>
+ <div className="text-right text-xs text-muted shrink-0">
+ {p.status === "ready" && <span>{p.shot_count} shots</span>}
+ {p.status === "preprocessing" && <span>Indexing...</span>}
+ {p.status === "failed" && (
+ <span className="text-destructive">Failed</span>
+ )}
+ </div>
+ <button
+ onClick={(e) => {
+ e.stopPropagation();
+ deleteProject(p.id);
+ }}
+ className="p-1 text-muted hover:text-destructive transition-colors"
+ >
+ <Trash2 className="w-4 h-4" />
+ </button>
+ </div>
+ ))}
+ </div>
+
+ {/* Create dialog */}
+ {showCreate && (
+ <div className="fixed inset-0 bg-black/60 flex items-center justify-center z-50">
+ <div className="bg-surface border border-border rounded-lg p-6 w-full max-w-md">
+ <h3 className="text-lg font-semibold mb-4">New Project</h3>
+
+ <label className="block text-sm text-muted mb-1">Project name</label>
+ <input
+ value={name}
+ onChange={(e) => setName(e.target.value)}
+ placeholder="e.g. Summer Campaign"
+ className="w-full px-3 py-2 rounded border border-border bg-background text-foreground mb-4 focus:outline-none focus:border-accent"
+ />
+
+ <label className="block text-sm text-muted mb-1">Footage directory</label>
+ <button
+ type="button"
+ onClick={() => setShowFolderPicker(true)}
+ className="w-full flex items-center gap-2 px-3 py-2 rounded border border-border bg-background text-left mb-4 hover:border-border-hover transition-colors"
+ >
+ <FolderOpen className="w-4 h-4 text-muted shrink-0" />
+ {footageDir ? (
+ <span className="font-mono text-sm truncate">{footageDir}</span>
+ ) : (
+ <span className="text-muted text-sm">Click to browse...</span>
+ )}
+ </button>
+
+ {createError && (
+ <p className="text-destructive text-sm mb-3">{createError}</p>
+ )}
+
+ <div className="flex justify-end gap-2">
+ <button
+ onClick={() => setShowCreate(false)}
+ className="px-4 py-2 rounded text-sm text-muted hover:text-foreground transition-colors"
+ >
+ Cancel
+ </button>
+ <button
+ onClick={handleCreate}
+ disabled={creating || !name.trim() || !footageDir.trim()}
+ className="px-4 py-2 rounded bg-accent hover:bg-accent-hover text-black text-sm font-medium disabled:opacity-50 transition-colors"
+ >
+ {creating ? (
+ <Loader2 className="w-4 h-4 animate-spin" />
+ ) : (
+ "Create"
+ )}
+ </button>
+ </div>
+ </div>
+ </div>
+ )}
+ </div>
+
+ {showFolderPicker && (
+ <FolderPicker
+ onSelect={(path) => {
+ setFootageDir(path);
+ setShowFolderPicker(false);
+ }}
+ onCancel={() => setShowFolderPicker(false)}
+ />
+ )}
+ </div>
+ );
+}
diff --git a/src/web/studio/src/components/ChatPanel.tsx b/src/web/studio/src/components/ChatPanel.tsx
new file mode 100644
index 0000000..f7fd51d
--- /dev/null
+++ b/src/web/studio/src/components/ChatPanel.tsx
@@ -0,0 +1,135 @@
+"use client";
+
+import { useState, useRef, useEffect, useCallback } from "react";
+import { useUiStore } from "@/stores/uiStore";
+import { useJobStore } from "@/stores/jobStore";
+import { useTimelineStore } from "@/stores/timelineStore";
+import * as api from "@/lib/api";
+import { X, Send, Loader2, MessageSquare } from "lucide-react";
+
+interface ChatMessage {
+ role: "user" | "system";
+ text: string;
+}
+
+export function ChatPanel() {
+ const toggleChat = useUiStore((s) => s.toggleChat);
+ const currentJobId = useJobStore((s) => s.currentJobId);
+ const fetchEditPlan = useTimelineStore((s) => s.fetchEditPlan);
+ const [messages, setMessages] = useState<ChatMessage[]>([]);
+ const [input, setInput] = useState("");
+ const [sending, setSending] = useState(false);
+ const scrollRef = useRef<HTMLDivElement>(null);
+
+ useEffect(() => {
+ if (scrollRef.current) {
+ scrollRef.current.scrollTop = scrollRef.current.scrollHeight;
+ }
+ }, [messages.length]);
+
+ const handleSend = useCallback(async () => {
+ if (!input.trim() || !currentJobId || sending) return;
+ const text = input.trim();
+ setInput("");
+ setMessages((prev) => [...prev, { role: "user", text }]);
+ setSending(true);
+
+ try {
+ const res = await api.postFeedback(currentJobId, text);
+ setMessages((prev) => [
+ ...prev,
+ { role: "system", text: `Feedback submitted. New job: ${res.job_id}` },
+ ]);
+
+ // The feedback creates a new job -- stream it and load results when done.
+ useJobStore.getState().setCurrentJobId(res.job_id);
+ useJobStore.getState().setStatus("connecting");
+
+ const poll = setInterval(async () => {
+ try {
+ const job = await api.getJob(res.job_id);
+ if (job.status === "completed") {
+ clearInterval(poll);
+ fetchEditPlan(res.job_id);
+ setMessages((prev) => [...prev, { role: "system", text: "Revision complete." }]);
+ } else if (job.status === "failed") {
+ clearInterval(poll);
+ setMessages((prev) => [
+ ...prev,
+ { role: "system", text: `Failed: ${job.error ?? "Unknown error"}` },
+ ]);
+ }
+ } catch {
+ clearInterval(poll);
+ }
+ }, 3000);
+ } catch (e) {
+ setMessages((prev) => [
+ ...prev,
+ { role: "system", text: `Error: ${(e as Error).message}` },
+ ]);
+ } finally {
+ setSending(false);
+ }
+ }, [input, currentJobId, sending, fetchEditPlan]);
+
+ return (
+ <div className="fixed right-0 top-0 bottom-0 w-80 z-40 bg-surface border-l border-border flex flex-col shadow-xl">
+ <div className="flex items-center justify-between px-3 py-2 border-b border-border shrink-0">
+ <div className="flex items-center gap-1.5 text-xs font-medium">
+ <MessageSquare className="w-3 h-3" />
+ Feedback Chat
+ </div>
+ <button onClick={toggleChat} className="p-1 rounded hover:bg-surface-hover text-muted">
+ <X className="w-4 h-4" />
+ </button>
+ </div>
+
+ <div ref={scrollRef} className="flex-1 overflow-y-auto p-3 space-y-2">
+ {messages.length === 0 && (
+ <p className="text-muted text-xs text-center mt-8">
+ Send feedback to revise the edit.
+ {!currentJobId && " Run a pipeline first."}
+ </p>
+ )}
+
+ {messages.map((msg, i) => (
+ <div
+ key={i}
+ className={`text-xs p-2 rounded ${
+ msg.role === "user"
+ ? "bg-accent/10 text-foreground ml-4"
+ : "bg-surface-hover text-muted mr-4"
+ }`}
+ >
+ {msg.text}
+ </div>
+ ))}
+ </div>
+
+ <div className="p-2 border-t border-border shrink-0">
+ <div className="flex gap-1.5">
+ <input
+ value={input}
+ onChange={(e) => setInput(e.target.value)}
+ onKeyDown={(e) => e.key === "Enter" && !e.shiftKey && handleSend()}
+ placeholder={currentJobId ? "Type feedback..." : "Run a pipeline first"}
+ disabled={!currentJobId || sending}
+ className="flex-1 px-2 py-1.5 text-xs rounded border border-border bg-background text-foreground focus:outline-none focus:border-accent disabled:opacity-50"
+ />
+ <button
+ onClick={handleSend}
+ disabled={!currentJobId || !input.trim() || sending}
+ className="p-1.5 rounded bg-accent hover:bg-accent-hover text-black disabled:opacity-50 transition-colors"
+ >
+ {sending ? (
+ <Loader2 className="w-3.5 h-3.5 animate-spin" />
+ ) : (
+ <Send className="w-3.5 h-3.5" />
+ )}
+ </button>
+ </div>
+ </div>
+ </div>
+ );
+}
diff --git a/src/web/studio/src/components/Console.tsx b/src/web/studio/src/components/Console.tsx
new file mode 100644
index 0000000..2b3c7a4
--- /dev/null
+++ b/src/web/studio/src/components/Console.tsx
@@ -0,0 +1,63 @@
+"use client";
+
+import { useEffect, useRef } from "react";
+import { useJobStore } from "@/stores/jobStore";
+import { Terminal, AlertCircle } from "lucide-react";
+
+export function Console() {
+ const progressLines = useJobStore((s) => s.progressLines);
+ const pipelineStatus = useJobStore((s) => s.pipelineStatus);
+ const error = useJobStore((s) => s.error);
+ const scrollRef = useRef<HTMLDivElement>(null);
+
+ useEffect(() => {
+ if (scrollRef.current) {
+ scrollRef.current.scrollTop = scrollRef.current.scrollHeight;
+ }
+ }, [progressLines.length]);
+
+ return (
+ <div className="h-full flex flex-col bg-background border-t border-border">
+ <div className="px-3 py-1 text-xs font-medium text-muted border-b border-border flex items-center gap-1.5 shrink-0">
+ <Terminal className="w-3 h-3" />
+ Console
+ {pipelineStatus === "running" && (
+ <span className="ml-auto text-amber-400 text-[10px]">Running...</span>
+ )}
+ {pipelineStatus === "completed" && (
+ <span className="ml-auto text-accent text-[10px]">Done</span>
+ )}
+ {pipelineStatus === "failed" && (
+ <span className="ml-auto text-destructive text-[10px]">Failed</span>
+ )}
+ </div>
+
+ <div
+ ref={scrollRef}
+ className="flex-1 overflow-y-auto font-mono text-[11px] p-2 space-y-0.5"
+ >
+ {progressLines.length === 0 && !error && (
+ <p className="text-muted">Waiting for pipeline output...</p>
+ )}
+
+ {progressLines.map((entry, i) => (
+ <div key={i} className="flex gap-2">
+ <span className="text-muted/50 shrink-0 select-none">
+ {new Date(entry.timestamp).toLocaleTimeString()}
+ </span>
+ <span className="text-foreground/80 whitespace-pre-wrap break-all">
+ {entry.line}
+ </span>
+ </div>
+ ))}
+
+ {error && (
+ <div className="flex items-start gap-1.5 text-destructive mt-1">
+ <AlertCircle className="w-3 h-3 mt-0.5 shrink-0" />
+ <span>{error}</span>
+ </div>
+ )}
+ </div>
+ </div>
+ );
+}
diff --git a/src/web/studio/src/components/FolderPicker.tsx b/src/web/studio/src/components/FolderPicker.tsx
new file mode 100644
index 0000000..9b09ecd
--- /dev/null
+++ b/src/web/studio/src/components/FolderPicker.tsx
@@ -0,0 +1,151 @@
+"use client";
+
+import { useState, useEffect, useCallback } from "react";
+import * as api from "@/lib/api";
+import type { BrowseEntry } from "@/lib/api";
+import {
+ Folder,
+ FolderOpen,
+ ChevronUp,
+ Film,
+ Check,
+ Loader2,
+ X,
+} from "lucide-react";
+
+interface FolderPickerProps {
+ onSelect: (path: string) => void;
+ onCancel: () => void;
+}
+
+export function FolderPicker({ onSelect, onCancel }: FolderPickerProps) {
+ const [currentPath, setCurrentPath] = useState("~");
+ const [dirs, setDirs] = useState<BrowseEntry[]>([]);
+ const [files, setFiles] = useState<BrowseEntry[]>([]);
+ const [parentPath, setParentPath] = useState<string | null>(null);
+ const [videoCount, setVideoCount] = useState(0);
+ const [loading, setLoading] = useState(false);
+ const [error, setError] = useState("");
+
+ const browse = useCallback(async (path: string) => {
+ setLoading(true);
+ setError("");
+ try {
+ const result = await api.browseDirectory(path);
+ setCurrentPath(result.current);
+ setDirs(result.dirs);
+ setFiles(result.files);
+ setParentPath(result.parent);
+ setVideoCount(result.video_count);
+ } catch (e) {
+ setError((e as Error).message);
+ } finally {
+ setLoading(false);
+ }
+ }, []);
+
+ useEffect(() => {
+ browse(currentPath);
+ }, []); // eslint-disable-line react-hooks/exhaustive-deps
+
+ return (
+ <div className="fixed inset-0 bg-black/60 flex items-center justify-center z-[60]">
+ <div className="bg-surface border border-border rounded-lg w-full max-w-lg flex flex-col max-h-[80vh]">
+ {/* Header */}
+ <div className="flex items-center justify-between px-4 py-3 border-b border-border shrink-0">
+ <h3 className="text-sm font-semibold">Select Footage Folder</h3>
+ <button onClick={onCancel} className="p-1 rounded hover:bg-surface-hover text-muted">
+ <X className="w-4 h-4" />
+ </button>
+ </div>
+
+ {/* Current path */}
+ <div className="px-4 py-2 bg-background/50 border-b border-border text-xs font-mono text-muted truncate shrink-0">
+ {currentPath}
+ </div>
+
+ {/* Directory listing */}
+ <div className="flex-1 overflow-y-auto min-h-0">
+ {loading && (
+ <div className="flex items-center justify-center py-8">
+ <Loader2 className="w-5 h-5 animate-spin text-muted" />
+ </div>
+ )}
+
+ {error && (
+ <div className="px-4 py-3 text-destructive text-xs">{error}</div>
+ )}
+
+ {!loading && !error && (
+ <>
+ {/* Parent directory */}
+ {parentPath && (
+ <button
+ onClick={() => browse(parentPath)}
+ className="w-full flex items-center gap-2 px-4 py-2 text-xs hover:bg-surface-hover transition-colors text-muted"
+ >
+ <ChevronUp className="w-3.5 h-3.5" />
+ <span>..</span>
+ </button>
+ )}
+
+ {/* Subdirectories */}
+ {dirs.map((dir) => (
+ <button
+ key={dir.path}
+ onClick={() => browse(dir.path)}
+ className="w-full flex items-center gap-2 px-4 py-2 text-xs hover:bg-surface-hover transition-colors text-left"
+ >
+ <Folder className="w-3.5 h-3.5 text-amber-400 shrink-0" />
+ <span className="truncate">{dir.name}</span>
+ </button>
+ ))}
+
+ {/* Video files (shown but not clickable -- just for context) */}
+ {files.map((file) => (
+ <div
+ key={file.path}
+ className="flex items-center gap-2 px-4 py-1.5 text-xs text-muted/60"
+ >
+ <Film className="w-3.5 h-3.5 shrink-0" />
+ <span className="truncate">{file.name}</span>
+ </div>
+ ))}
+
+ {dirs.length === 0 && files.length === 0 && (
+ <p className="px-4 py-6 text-center text-xs text-muted">Empty directory</p>
+ )}
+ </>
+ )}
+ </div>
+
+ {/* Footer */}
+ <div className="flex items-center justify-between px-4 py-3 border-t border-border shrink-0">
+ <div className="text-xs text-muted">
+ {videoCount > 0 && (
+ <span className="flex items-center gap-1">
+ <Film className="w-3 h-3" />
+ {videoCount} video{videoCount !== 1 ? "s" : ""} in this folder
+ </span>
+ )}
+ </div>
+ <div className="flex gap-2">
+ <button
+ onClick={onCancel}
+ className="px-3 py-1.5 rounded text-xs text-muted hover:text-foreground transition-colors"
+ >
+ Cancel
+ </button>
+ <button
+ onClick={() => onSelect(currentPath)}
+ className="flex items-center gap-1.5 px-4 py-1.5 rounded bg-accent hover:bg-accent-hover text-black text-xs font-medium transition-colors"
+ >
+ <Check className="w-3 h-3" />
+ Select This Folder
+ </button>
+ </div>
+ </div>
+ </div>
+ </div>
+ );
+}
diff --git a/src/web/studio/src/components/MediaBrowser.tsx b/src/web/studio/src/components/MediaBrowser.tsx
new file mode 100644
index 0000000..edc82f1
--- /dev/null
+++ b/src/web/studio/src/components/MediaBrowser.tsx
@@ -0,0 +1,122 @@
+"use client";
+
+import { useEffect, useRef, useCallback } from "react";
+import { useMediaStore } from "@/stores/mediaStore";
+import { useUiStore } from "@/stores/uiStore";
+import { toMediaUrl } from "@/lib/media";
+import { FolderOpen, Search, Loader2 } from "lucide-react";
+
+export function MediaBrowser() {
+ const { catalog, searchResults, query, filter, loading, fetchCatalog, searchFootage, setQuery, setFilter } =
+ useMediaStore();
+ const setSourceMonitorSrc = useUiStore((s) => s.setSourceMonitorSrc);
+ const debounceRef = useRef<ReturnType<typeof setTimeout>>(undefined);
+
+ useEffect(() => {
+ fetchCatalog();
+ }, [fetchCatalog]);
+
+ const handleSearch = useCallback(
+ (value: string) => {
+ setQuery(value);
+ clearTimeout(debounceRef.current);
+ debounceRef.current = setTimeout(() => {
+ searchFootage(value);
+ }, 200);
+ },
+ [setQuery, searchFootage],
+ );
+
+ const shots = query.trim() ? searchResults : catalog;
+ const filtered =
+ filter === "all" ? shots : shots.filter((s) => s.roll_type === filter);
+
+ const rollBadge = (rollType: string) => {
+ switch (rollType) {
+ case "a-roll":
+ return "bg-blue-500/20 text-blue-400";
+ case "b-roll":
+ return "bg-emerald-500/20 text-emerald-400";
+ default:
+ return "bg-slate-500/20 text-slate-400";
+ }
+ };
+
+ return (
+ <div className="h-full flex flex-col bg-background border-r border-border">
+ <div className="px-3 py-1.5 text-xs font-medium text-muted border-b border-border flex items-center gap-1.5">
+ <FolderOpen className="w-3 h-3" />
+ Media
+ </div>
+
+ {/* Search */}
+ <div className="px-2 py-2 border-b border-border">
+ <div className="relative">
+ <Search className="absolute left-2 top-1/2 -translate-y-1/2 w-3 h-3 text-muted" />
+ <input
+ value={query}
+ onChange={(e) => handleSearch(e.target.value)}
+ placeholder="Search shots..."
+ className="w-full pl-7 pr-2 py-1 text-xs rounded border border-border bg-surface text-foreground focus:outline-none focus:border-accent"
+ />
+ </div>
+
+ {/* Filters */}
+ <div className="flex gap-1 mt-1.5">
+ {(["all", "a-roll", "b-roll"] as const).map((f) => (
+ <button
+ key={f}
+ onClick={() => setFilter(f)}
+ className={`px-2 py-0.5 rounded text-[10px] font-medium transition-colors ${
+ filter === f
+ ? "bg-accent/20 text-accent"
+ : "text-muted hover:text-foreground"
+ }`}
+ >
+ {f === "all" ? "All" : f}
+ </button>
+ ))}
+ </div>
+ </div>
+
+ {/* Shot list */}
+ <div className="flex-1 overflow-y-auto">
+ {loading && filtered.length === 0 && (
+ <div className="text-center py-6 text-muted">
+ <Loader2 className="w-4 h-4 animate-spin mx-auto" />
+ </div>
+ )}
+
+ {filtered.map((shot, i) => (
+ <button
+ key={`${shot.shot_id}-${i}`}
+ onClick={() => {
+ setSourceMonitorSrc(toMediaUrl(shot.source_file));
+ }}
+ className="w-full text-left px-2 py-2 border-b border-border hover:bg-surface-hover transition-colors"
+ >
+ <div className="flex items-center gap-1.5 mb-0.5">
+ <span className={`px-1.5 py-0.5 rounded text-[9px] font-medium ${rollBadge(shot.roll_type)}`}>
+ {shot.roll_type}
+ </span>
+ <span className="text-xs font-medium truncate">{shot.display_label}</span>
+ </div>
+ <p className="text-[10px] text-muted truncate">
+ {shot.duration.toFixed(1)}s
+ {shot.description ? ` -- ${shot.description}` : ""}
+ </p>
+ {shot.transcript && (
+ <p className="text-[10px] text-muted/60 truncate mt-0.5">
+ &ldquo;{shot.transcript.slice(0, 80)}&rdquo;
+ </p>
+ )}
+ </button>
+ ))}
+
+ {!loading && filtered.length === 0 && (
+ <p className="text-center py-6 text-muted text-xs">No shots found</p>
+ )}
+ </div>
+ </div>
+ );
+}
diff --git a/src/web/studio/src/components/ProgramMonitor.tsx b/src/web/studio/src/components/ProgramMonitor.tsx
new file mode 100644
index 0000000..ec095c9
--- /dev/null
+++ b/src/web/studio/src/components/ProgramMonitor.tsx
@@ -0,0 +1,46 @@
+"use client";
+
+import { useRef, useState, useEffect } from "react";
+import { useUiStore } from "@/stores/uiStore";
+import { useJobStore } from "@/stores/jobStore";
+import { Tv } from "lucide-react";
+
+export function ProgramMonitor() {
+ const programSrc = useUiStore((s) => s.programMonitorSrc);
+ const finalVideoPath = useJobStore((s) => s.finalVideoPath);
+ const setProgramMonitorSrc = useUiStore((s) => s.setProgramMonitorSrc);
+ const videoRef = useRef<HTMLVideoElement>(null);
+ const [error, setError] = useState(false);
+
+ // Auto-load the latest render.
+ useEffect(() => {
+ if (finalVideoPath) {
+ setProgramMonitorSrc(finalVideoPath);
+ setError(false);
+ }
+ }, [finalVideoPath, setProgramMonitorSrc]);
+
+ const src = programSrc;
+
+ return (
+ <div className="h-full flex flex-col bg-background">
+ <div className="px-3 py-1.5 text-xs font-medium text-muted border-b border-border flex items-center gap-1.5">
+ <Tv className="w-3 h-3" />
+ Program
+ </div>
+ <div className="flex-1 flex items-center justify-center bg-black/40 overflow-hidden">
+ {src && !error ? (
+ <video
+ ref={videoRef}
+ src={src}
+ controls
+ className="w-full h-full object-contain"
+ onError={() => setError(true)}
+ />
+ ) : (
+ <p className="text-muted text-xs">Run a pipeline to see the output</p>
+ )}
+ </div>
+ </div>
+ );
+}
diff --git a/src/web/studio/src/components/SourceMonitor.tsx b/src/web/studio/src/components/SourceMonitor.tsx
new file mode 100644
index 0000000..3520be9
--- /dev/null
+++ b/src/web/studio/src/components/SourceMonitor.tsx
@@ -0,0 +1,33 @@
+"use client";
+
+import { useRef, useState } from "react";
+import { useUiStore } from "@/stores/uiStore";
+import { Monitor } from "lucide-react";
+
+export function SourceMonitor() {
+ const src = useUiStore((s) => s.sourceMonitorSrc);
+ const videoRef = useRef<HTMLVideoElement>(null);
+ const [error, setError] = useState(false);
+
+ return (
+ <div className="h-full flex flex-col bg-background border-r border-border">
+ <div className="px-3 py-1.5 text-xs font-medium text-muted border-b border-border flex items-center gap-1.5">
+ <Monitor className="w-3 h-3" />
+ Source
+ </div>
+ <div className="flex-1 flex items-center justify-center bg-black/40 overflow-hidden">
+ {src && !error ? (
+ <video
+ ref={videoRef}
+ src={src}
+ controls
+ className="w-full h-full object-contain"
+ onError={() => setError(true)}
+ />
+ ) : (
+ <p className="text-muted text-xs">Select a clip to preview</p>
+ )}
+ </div>
+ </div>
+ );
+}
diff --git a/src/web/studio/src/components/Toolbar.tsx b/src/web/studio/src/components/Toolbar.tsx
new file mode 100644
index 0000000..de692f9
--- /dev/null
+++ b/src/web/studio/src/components/Toolbar.tsx
@@ -0,0 +1,180 @@
+"use client";
+
+import { useRouter } from "next/navigation";
+import {
+ ArrowLeft,
+ Play,
+ RotateCcw,
+ Star,
+ Terminal,
+ MessageSquare,
+ Save,
+ Loader2,
+} from "lucide-react";
+import { useUiStore } from "@/stores/uiStore";
+import { useJobStore } from "@/stores/jobStore";
+import { useTimelineStore } from "@/stores/timelineStore";
+import * as api from "@/lib/api";
+
+interface ToolbarProps {
+ projectName: string;
+ projectId: string;
+}
+
+export function Toolbar({ projectName, projectId }: ToolbarProps) {
+ const router = useRouter();
+ const setRunDialogOpen = useUiStore((s) => s.setRunDialogOpen);
+ const toggleConsole = useUiStore((s) => s.toggleConsole);
+ const toggleChat = useUiStore((s) => s.toggleChat);
+ const consoleOpen = useUiStore((s) => s.consoleOpen);
+ const chatOpen = useUiStore((s) => s.chatOpen);
+
+ const pipelineStatus = useJobStore((s) => s.pipelineStatus);
+ const currentJobId = useJobStore((s) => s.currentJobId);
+ const isDirty = useTimelineStore((s) => s.isDirty);
+ const saving = useTimelineStore((s) => s.saving);
+ const saveFlash = useTimelineStore((s) => s.saveFlash);
+ const savePlan = useTimelineStore((s) => s.savePlan);
+
+ const isRunning = pipelineStatus === "running" || pipelineStatus === "connecting";
+
+ const statusLabel = () => {
+ switch (pipelineStatus) {
+ case "running":
+ case "connecting":
+ return "Running";
+ case "completed":
+ return "Done";
+ case "failed":
+ return "Failed";
+ default:
+ return "Idle";
+ }
+ };
+
+ const statusColor = () => {
+ switch (pipelineStatus) {
+ case "running":
+ case "connecting":
+ return "text-amber-400";
+ case "completed":
+ return "text-accent";
+ case "failed":
+ return "text-destructive";
+ default:
+ return "text-muted";
+ }
+ };
+
+ return (
+ <div className="flex items-center gap-2 px-3 py-2 border-b border-border bg-surface shrink-0">
+ <button
+ onClick={() => router.push("/")}
+ className="p-1.5 rounded hover:bg-surface-hover text-muted hover:text-foreground transition-colors"
+ title="Back to projects"
+ >
+ <ArrowLeft className="w-4 h-4" />
+ </button>
+
+ <span className="font-semibold text-sm truncate max-w-48">{projectName}</span>
+
+ <div className={`text-xs font-medium ml-2 ${statusColor()}`}>
+ {isRunning && <Loader2 className="w-3 h-3 animate-spin inline mr-1" />}
+ {statusLabel()}
+ </div>
+
+ <div className="flex-1" />
+
+ {/* Actions */}
+ <button
+ onClick={() => setRunDialogOpen(true)}
+ disabled={isRunning}
+ className="flex items-center gap-1.5 px-3 py-1.5 rounded bg-accent hover:bg-accent-hover text-black text-xs font-medium disabled:opacity-50 transition-colors"
+ >
+ <Play className="w-3 h-3" />
+ Run Pipeline
+ </button>
+
+ {currentJobId && (
+ <button
+ onClick={async () => {
+ if (!currentJobId) return;
+ const plan = useTimelineStore.getState().plan;
+ if (!plan) return;
+ try {
+ const res = await api.postReRender(currentJobId, {
+ entries: plan.entries.map((e) => ({
+ shot_id: e.shot_id,
+ start_trim: e.start_trim,
+ end_trim: e.end_trim,
+ position: e.position,
+ text_overlay: e.text_overlay,
+ transition: e.transition,
+ })),
+ });
+ useJobStore.getState().setCurrentJobId(res.job_id);
+ useJobStore.getState().setStatus("connecting");
+ useUiStore.getState().toggleConsole();
+ } catch { /* handled by store */ }
+ }}
+ disabled={!isDirty || isRunning}
+ className="flex items-center gap-1.5 px-3 py-1.5 rounded border border-border text-xs font-medium hover:bg-surface-hover disabled:opacity-40 transition-colors"
+ >
+ <RotateCcw className="w-3 h-3" />
+ Re-render
+ </button>
+ )}
+
+ {currentJobId && (
+ <button
+ onClick={async () => {
+ if (!currentJobId) return;
+ try {
+ const res = await api.postReviewOnly(currentJobId);
+ useJobStore.getState().setCurrentJobId(res.job_id);
+ useJobStore.getState().setStatus("connecting");
+ } catch { /* handled by store */ }
+ }}
+ disabled={isRunning}
+ className="flex items-center gap-1.5 px-3 py-1.5 rounded border border-border text-xs font-medium hover:bg-surface-hover disabled:opacity-40 transition-colors"
+ >
+ <Star className="w-3 h-3" />
+ Review
+ </button>
+ )}
+
+ {isDirty && currentJobId && (
+ <button
+ onClick={() => savePlan(currentJobId)}
+ disabled={saving}
+ className="flex items-center gap-1.5 px-3 py-1.5 rounded border border-accent/50 text-accent text-xs font-medium hover:bg-accent/10 disabled:opacity-50 transition-colors"
+ >
+ {saving ? <Loader2 className="w-3 h-3 animate-spin" /> : <Save className="w-3 h-3" />}
+ Save
+ </button>
+ )}
+
+ {saveFlash && (
+ <span className="text-xs text-accent">{saveFlash}</span>
+ )}
+
+ <div className="w-px h-5 bg-border mx-1" />
+
+ <button
+ onClick={toggleConsole}
+ className={`p-1.5 rounded transition-colors ${consoleOpen ? "bg-surface-hover text-accent" : "text-muted hover:text-foreground hover:bg-surface-hover"}`}
+ title="Toggle console"
+ >
+ <Terminal className="w-4 h-4" />
+ </button>
+
+ <button
+ onClick={toggleChat}
+ className={`p-1.5 rounded transition-colors ${chatOpen ? "bg-surface-hover text-accent" : "text-muted hover:text-foreground hover:bg-surface-hover"}`}
+ title="Toggle chat"
+ >
+ <MessageSquare className="w-4 h-4" />
+ </button>
+ </div>
+ );
+}
diff --git a/src/web/studio/src/components/dialogs/RunPipelineDialog.tsx b/src/web/studio/src/components/dialogs/RunPipelineDialog.tsx
new file mode 100644
index 0000000..cf428d8
--- /dev/null
+++ b/src/web/studio/src/components/dialogs/RunPipelineDialog.tsx
@@ -0,0 +1,194 @@
+"use client";
+
+import { useState, useEffect, useCallback } from "react";
+import { useUiStore } from "@/stores/uiStore";
+import { useJobStore } from "@/stores/jobStore";
+import { useTimelineStore } from "@/stores/timelineStore";
+import { useProjectStore } from "@/stores/projectStore";
+import * as api from "@/lib/api";
+import type { PipelineEntry } from "@/types/api";
+import { X, Loader2 } from "lucide-react";
+
+interface RunPipelineDialogProps {
+ projectId: string;
+}
+
+export function RunPipelineDialog({ projectId }: RunPipelineDialogProps) {
+ const open = useUiStore((s) => s.runDialogOpen);
+ const setOpen = useUiStore((s) => s.setRunDialogOpen);
+ const submitJob = useJobStore((s) => s.submitJob);
+ const fetchEditPlan = useTimelineStore((s) => s.fetchEditPlan);
+ const project = useProjectStore((s) => s.projects.find((p) => p.id === projectId));
+
+ const [pipelines, setPipelines] = useState<PipelineEntry[]>([]);
+ const [pipelinePath, setPipelinePath] = useState("");
+ const [product, setProduct] = useState("");
+ const [audience, setAudience] = useState("");
+ const [tone, setTone] = useState("energetic");
+ const [duration, setDuration] = useState(30);
+ const [submitting, setSubmitting] = useState(false);
+ const [error, setError] = useState("");
+
+ useEffect(() => {
+ if (open) {
+ api.getPipelines().then((p) => {
+ setPipelines(p);
+ if (p.length > 0 && !pipelinePath) setPipelinePath(p[0].path);
+ }).catch(() => {});
+ }
+ }, [open, pipelinePath]);
+
+ const handleSubmit = useCallback(async () => {
+ if (!project?.footage_index_path || !pipelinePath) return;
+ setSubmitting(true);
+ setError("");
+ try {
+ const jobId = await submitJob({
+ brief: {
+ product: product || "Product",
+ audience: audience || "General",
+ tone,
+ duration_seconds: duration,
+ style_ref: null,
+ },
+ footage_index_path: project.footage_index_path,
+ pipeline_path: pipelinePath,
+ });
+
+ setOpen(false);
+ useUiStore.getState().toggleConsole();
+
+ // Poll for completion and load edit plan.
+ const poll = setInterval(async () => {
+ try {
+ const job = await api.getJob(jobId);
+ if (job.status === "completed") {
+ clearInterval(poll);
+ fetchEditPlan(jobId);
+ } else if (job.status === "failed") {
+ clearInterval(poll);
+ }
+ } catch {
+ clearInterval(poll);
+ }
+ }, 3000);
+ } catch (e) {
+ setError((e as Error).message);
+ } finally {
+ setSubmitting(false);
+ }
+ }, [product, audience, tone, duration, pipelinePath, project, submitJob, fetchEditPlan, setOpen]);
+
+ if (!open) return null;
+
+ return (
+ <div className="fixed inset-0 z-50 flex items-center justify-center bg-black/60">
+ <div className="w-full max-w-md bg-surface border border-border rounded-lg shadow-xl">
+ <div className="flex items-center justify-between px-4 py-3 border-b border-border">
+ <h2 className="text-sm font-semibold">Run Pipeline</h2>
+ <button
+ onClick={() => setOpen(false)}
+ className="p-1 rounded hover:bg-surface-hover text-muted"
+ >
+ <X className="w-4 h-4" />
+ </button>
+ </div>
+
+ <div className="p-4 space-y-3 text-xs">
+ {/* Pipeline selector */}
+ <label className="block">
+ <span className="text-muted font-medium">Pipeline</span>
+ <select
+ value={pipelinePath}
+ onChange={(e) => setPipelinePath(e.target.value)}
+ className="w-full mt-1 px-2 py-1.5 rounded border border-border bg-background text-foreground focus:outline-none focus:border-accent"
+ >
+ {pipelines.map((p) => (
+ <option key={p.path} value={p.path}>
+ {p.name}
+ </option>
+ ))}
+ </select>
+ </label>
+
+ {/* Brief fields */}
+ <label className="block">
+ <span className="text-muted font-medium">Product</span>
+ <input
+ value={product}
+ onChange={(e) => setProduct(e.target.value)}
+ placeholder="e.g. Energy Drink"
+ className="w-full mt-1 px-2 py-1.5 rounded border border-border bg-background text-foreground focus:outline-none focus:border-accent"
+ />
+ </label>
+
+ <label className="block">
+ <span className="text-muted font-medium">Audience</span>
+ <input
+ value={audience}
+ onChange={(e) => setAudience(e.target.value)}
+ placeholder="e.g. Gen-Z fitness enthusiasts"
+ className="w-full mt-1 px-2 py-1.5 rounded border border-border bg-background text-foreground focus:outline-none focus:border-accent"
+ />
+ </label>
+
+ <div className="flex gap-3">
+ <label className="flex-1 block">
+ <span className="text-muted font-medium">Tone</span>
+ <select
+ value={tone}
+ onChange={(e) => setTone(e.target.value)}
+ className="w-full mt-1 px-2 py-1.5 rounded border border-border bg-background text-foreground focus:outline-none focus:border-accent"
+ >
+ <option value="energetic">Energetic</option>
+ <option value="calm">Calm</option>
+ <option value="professional">Professional</option>
+ <option value="playful">Playful</option>
+ <option value="dramatic">Dramatic</option>
+ </select>
+ </label>
+
+ <label className="flex-1 block">
+ <span className="text-muted font-medium">Duration (s)</span>
+ <input
+ type="number"
+ min={5}
+ max={300}
+ value={duration}
+ onChange={(e) => setDuration(parseInt(e.target.value) || 30)}
+ className="w-full mt-1 px-2 py-1.5 rounded border border-border bg-background text-foreground focus:outline-none focus:border-accent"
+ />
+ </label>
+ </div>
+
+ {/* Footage index info */}
+ <div className="text-[10px] text-muted bg-background/50 rounded p-2">
+ Footage: {project?.footage_index_path ?? "None"}
+ {project && <span className="ml-2">({project.shot_count} shots)</span>}
+ </div>
+
+ {error && (
+ <p className="text-destructive text-[10px]">{error}</p>
+ )}
+ </div>
+
+ <div className="flex justify-end gap-2 px-4 py-3 border-t border-border">
+ <button
+ onClick={() => setOpen(false)}
+ className="px-3 py-1.5 rounded border border-border text-xs hover:bg-surface-hover transition-colors"
+ >
+ Cancel
+ </button>
+ <button
+ onClick={handleSubmit}
+ disabled={submitting || !pipelinePath}
+ className="flex items-center gap-1.5 px-4 py-1.5 rounded bg-accent hover:bg-accent-hover text-black text-xs font-medium disabled:opacity-50 transition-colors"
+ >
+ {submitting && <Loader2 className="w-3 h-3 animate-spin" />}
+ Run
+ </button>
+ </div>
+ </div>
+ </div>
+ );
+}
diff --git a/src/web/studio/src/components/inspector/ClipPanel.tsx b/src/web/studio/src/components/inspector/ClipPanel.tsx
new file mode 100644
index 0000000..b29bbb9
--- /dev/null
+++ b/src/web/studio/src/components/inspector/ClipPanel.tsx
@@ -0,0 +1,149 @@
+"use client";
+
+import { useTimelineStore } from "@/stores/timelineStore";
+import type { EnrichedEditPlanEntry } from "@/types/api";
+import { Scissors, Trash2, Film } from "lucide-react";
+
+interface ClipPanelProps {
+ entry: EnrichedEditPlanEntry;
+ index: number;
+ jobId: string | null;
+}
+
+export function ClipPanel({ entry, index, jobId }: ClipPanelProps) {
+ const updateEntry = useTimelineStore((s) => s.updateEntry);
+ const deleteEntry = useTimelineStore((s) => s.deleteEntry);
+ const savePlan = useTimelineStore((s) => s.savePlan);
+ const isDirty = useTimelineStore((s) => s.isDirty);
+
+ const duration = entry.end_trim - entry.start_trim;
+
+ return (
+ <div className="p-3 space-y-4 text-xs">
+ {/* Shot info */}
+ <div>
+ <h3 className="font-medium text-foreground mb-1">{entry.display_label}</h3>
+ <div className="flex items-center gap-1.5 mb-2">
+ <span
+ className={`px-1.5 py-0.5 rounded text-[9px] font-medium ${
+ entry.roll_type === "a-roll"
+ ? "bg-blue-500/20 text-blue-400"
+ : entry.roll_type === "b-roll"
+ ? "bg-emerald-500/20 text-emerald-400"
+ : "bg-slate-500/20 text-slate-400"
+ }`}
+ >
+ {entry.roll_type}
+ </span>
+ <span className="text-muted">{duration.toFixed(1)}s</span>
+ </div>
+ <p className="text-muted text-[10px] break-all">{entry.source_filename}</p>
+ </div>
+
+ {/* Trim controls */}
+ <div>
+ <div className="flex items-center gap-1 mb-2 text-muted">
+ <Scissors className="w-3 h-3" />
+ <span className="font-medium">Trim</span>
+ </div>
+
+ <label className="block mb-2">
+ <span className="text-muted">Start (s)</span>
+ <input
+ type="number"
+ step={0.1}
+ min={0}
+ max={entry.end_trim - 0.1}
+ value={entry.start_trim}
+ onChange={(e) =>
+ updateEntry(index, { start_trim: parseFloat(e.target.value) || 0 })
+ }
+ className="w-full mt-0.5 px-2 py-1 rounded border border-border bg-surface text-foreground focus:outline-none focus:border-accent"
+ />
+ </label>
+
+ <label className="block mb-2">
+ <span className="text-muted">End (s)</span>
+ <input
+ type="number"
+ step={0.1}
+ min={entry.start_trim + 0.1}
+ value={entry.end_trim}
+ onChange={(e) =>
+ updateEntry(index, { end_trim: parseFloat(e.target.value) || 0 })
+ }
+ className="w-full mt-0.5 px-2 py-1 rounded border border-border bg-surface text-foreground focus:outline-none focus:border-accent"
+ />
+ </label>
+ </div>
+
+ {/* Text overlay */}
+ <div>
+ <label className="block">
+ <span className="text-muted font-medium">Text Overlay</span>
+ <input
+ type="text"
+ value={entry.text_overlay ?? ""}
+ onChange={(e) =>
+ updateEntry(index, {
+ text_overlay: e.target.value || null,
+ })
+ }
+ placeholder="None"
+ className="w-full mt-0.5 px-2 py-1 rounded border border-border bg-surface text-foreground focus:outline-none focus:border-accent"
+ />
+ </label>
+ </div>
+
+ {/* Transition */}
+ <div>
+ <label className="block">
+ <span className="text-muted font-medium">Transition</span>
+ <select
+ value={entry.transition ?? ""}
+ onChange={(e) =>
+ updateEntry(index, {
+ transition: e.target.value || null,
+ })
+ }
+ className="w-full mt-0.5 px-2 py-1 rounded border border-border bg-surface text-foreground focus:outline-none focus:border-accent"
+ >
+ <option value="">None</option>
+ <option value="crossfade">Crossfade</option>
+ <option value="fade">Fade</option>
+ <option value="cut">Cut</option>
+ </select>
+ </label>
+ </div>
+
+ {/* Metadata */}
+ <div className="space-y-1 text-[10px] text-muted">
+ <div className="flex items-center gap-1">
+ <Film className="w-3 h-3" />
+ <span>Shot ID: {entry.shot_id}</span>
+ </div>
+ <div>Position: {entry.position}</div>
+ <div>Source timestamp: {entry.source_timestamp?.toFixed(1) ?? "--"}s</div>
+ </div>
+
+ <div className="border-t border-border pt-3 space-y-2">
+ {isDirty && jobId && (
+ <button
+ onClick={() => savePlan(jobId)}
+ className="w-full px-3 py-1.5 rounded bg-accent hover:bg-accent-hover text-black text-xs font-medium transition-colors"
+ >
+ Save Changes
+ </button>
+ )}
+
+ <button
+ onClick={() => deleteEntry(index)}
+ className="w-full flex items-center justify-center gap-1.5 px-3 py-1.5 rounded border border-destructive/50 text-destructive hover:bg-destructive/10 text-xs font-medium transition-colors"
+ >
+ <Trash2 className="w-3 h-3" />
+ Remove Clip
+ </button>
+ </div>
+ </div>
+ );
+}
diff --git a/src/web/studio/src/components/inspector/Inspector.tsx b/src/web/studio/src/components/inspector/Inspector.tsx
new file mode 100644
index 0000000..de89c0b
--- /dev/null
+++ b/src/web/studio/src/components/inspector/Inspector.tsx
@@ -0,0 +1,37 @@
+"use client";
+
+import { useTimelineStore } from "@/stores/timelineStore";
+import { useJobStore } from "@/stores/jobStore";
+import { ClipPanel } from "./ClipPanel";
+import { ProjectPanel } from "./ProjectPanel";
+import { Settings2 } from "lucide-react";
+
+interface InspectorProps {
+ projectId: string;
+}
+
+export function Inspector({ projectId }: InspectorProps) {
+ const selectedIndex = useTimelineStore((s) => s.selectedIndex);
+ const plan = useTimelineStore((s) => s.plan);
+ const currentJobId = useJobStore((s) => s.currentJobId);
+
+ const selectedEntry =
+ selectedIndex !== null && plan ? plan.entries[selectedIndex] ?? null : null;
+
+ return (
+ <div className="h-full flex flex-col bg-background border-l border-border">
+ <div className="px-3 py-1.5 text-xs font-medium text-muted border-b border-border flex items-center gap-1.5">
+ <Settings2 className="w-3 h-3" />
+ {selectedEntry ? "Clip" : "Project"}
+ </div>
+
+ <div className="flex-1 overflow-y-auto">
+ {selectedEntry && selectedIndex !== null ? (
+ <ClipPanel entry={selectedEntry} index={selectedIndex} jobId={currentJobId} />
+ ) : (
+ <ProjectPanel projectId={projectId} />
+ )}
+ </div>
+ </div>
+ );
+}
diff --git a/src/web/studio/src/components/inspector/ProjectPanel.tsx b/src/web/studio/src/components/inspector/ProjectPanel.tsx
new file mode 100644
index 0000000..def7638
--- /dev/null
+++ b/src/web/studio/src/components/inspector/ProjectPanel.tsx
@@ -0,0 +1,72 @@
+"use client";
+
+import { useProjectStore } from "@/stores/projectStore";
+import { useJobStore } from "@/stores/jobStore";
+import { ReviewRadar } from "./ReviewRadar";
+import { Folder, Clock, Film } from "lucide-react";
+
+interface ProjectPanelProps {
+ projectId: string;
+}
+
+export function ProjectPanel({ projectId }: ProjectPanelProps) {
+ const project = useProjectStore((s) => s.projects.find((p) => p.id === projectId));
+ const review = useJobStore((s) => s.review);
+ const result = useJobStore((s) => s.result);
+
+ if (!project) {
+ return (
+ <div className="p-3 text-xs text-muted">Loading project...</div>
+ );
+ }
+
+ return (
+ <div className="p-3 space-y-4 text-xs">
+ {/* Project info */}
+ <div>
+ <h3 className="font-medium text-foreground mb-2">{project.name}</h3>
+ <div className="space-y-1.5 text-muted">
+ <div className="flex items-center gap-1.5">
+ <Folder className="w-3 h-3" />
+ <span className="break-all text-[10px]">{project.footage_dir}</span>
+ </div>
+ <div className="flex items-center gap-1.5">
+ <Film className="w-3 h-3" />
+ <span>{project.shot_count} shots</span>
+ </div>
+ <div className="flex items-center gap-1.5">
+ <Clock className="w-3 h-3" />
+ <span>{project.total_duration.toFixed(1)}s total</span>
+ </div>
+ </div>
+ </div>
+
+ {/* Review radar */}
+ {review && (
+ <div className="border-t border-border pt-3">
+ <h4 className="font-medium text-foreground mb-2">Review Scores</h4>
+ <ReviewRadar review={review} />
+ <p className="text-muted text-[10px] mt-2">Overall: {review.overall.toFixed(2)}</p>
+ {review.feedback && (
+ <p className="text-muted text-[10px] mt-1 italic">{review.feedback}</p>
+ )}
+ </div>
+ )}
+
+ {/* Result info */}
+ {result && (
+ <div className="border-t border-border pt-3">
+ <h4 className="font-medium text-foreground mb-1">Last Result</h4>
+ <div className="text-[10px] text-muted space-y-0.5">
+ {typeof result.final_video_path === "string" && (
+ <p>Video: {result.final_video_path.split("/").pop()}</p>
+ )}
+ {typeof result.edit_plan_path === "string" && (
+ <p>Plan: {result.edit_plan_path.split("/").pop()}</p>
+ )}
+ </div>
+ </div>
+ )}
+ </div>
+ );
+}
diff --git a/src/web/studio/src/components/inspector/ReviewRadar.tsx b/src/web/studio/src/components/inspector/ReviewRadar.tsx
new file mode 100644
index 0000000..97f139b
--- /dev/null
+++ b/src/web/studio/src/components/inspector/ReviewRadar.tsx
@@ -0,0 +1,42 @@
+"use client";
+
+import {
+ RadarChart,
+ PolarGrid,
+ PolarAngleAxis,
+ Radar,
+ ResponsiveContainer,
+} from "recharts";
+import type { ReviewScore } from "@/types/schemas";
+
+interface ReviewRadarProps {
+ review: ReviewScore;
+}
+
+export function ReviewRadar({ review }: ReviewRadarProps) {
+ const data = [
+ { dimension: "Adherence", value: review.adherence },
+ { dimension: "Pacing", value: review.pacing },
+ { dimension: "Visual", value: review.visual_quality },
+ { dimension: "Watch", value: review.watchability },
+ { dimension: "Overall", value: review.overall },
+ ];
+
+ return (
+ <ResponsiveContainer width="100%" height={180}>
+ <RadarChart data={data} cx="50%" cy="50%" outerRadius="70%">
+ <PolarGrid stroke="var(--border)" />
+ <PolarAngleAxis
+ dataKey="dimension"
+ tick={{ fontSize: 9, fill: "var(--muted)" }}
+ />
+ <Radar
+ dataKey="value"
+ stroke="var(--accent)"
+ fill="var(--accent)"
+ fillOpacity={0.2}
+ />
+ </RadarChart>
+ </ResponsiveContainer>
+ );
+}
diff --git a/src/web/studio/src/components/timeline/Timeline.tsx b/src/web/studio/src/components/timeline/Timeline.tsx
new file mode 100644
index 0000000..3cd3ace
--- /dev/null
+++ b/src/web/studio/src/components/timeline/Timeline.tsx
@@ -0,0 +1,111 @@
+"use client";
+
+import { useCallback } from "react";
+import {
+ DndContext,
+ closestCenter,
+ PointerSensor,
+ useSensor,
+ useSensors,
+ type DragEndEvent,
+} from "@dnd-kit/core";
+import {
+ SortableContext,
+ horizontalListSortingStrategy,
+} from "@dnd-kit/sortable";
+import { useTimelineStore } from "@/stores/timelineStore";
+import { useUiStore } from "@/stores/uiStore";
+import { TimelineClip } from "./TimelineClip";
+import { toMediaUrl } from "@/lib/media";
+import { Layers } from "lucide-react";
+
+export function Timeline() {
+ const plan = useTimelineStore((s) => s.plan);
+ const selectedIndex = useTimelineStore((s) => s.selectedIndex);
+ const selectEntry = useTimelineStore((s) => s.selectEntry);
+ const reorderEntries = useTimelineStore((s) => s.reorderEntries);
+ const setSourceMonitorSrc = useUiStore((s) => s.setSourceMonitorSrc);
+
+ const sensors = useSensors(
+ useSensor(PointerSensor, { activationConstraint: { distance: 5 } }),
+ );
+
+ const handleDragEnd = useCallback(
+ (event: DragEndEvent) => {
+ const { active, over } = event;
+ if (over && active.id !== over.id) {
+ const fromIndex = Number(active.id);
+ const toIndex = Number(over.id);
+ reorderEntries(fromIndex, toIndex);
+ }
+ },
+ [reorderEntries],
+ );
+
+ const entries = plan?.entries ?? [];
+
+ return (
+ <div className="h-full flex flex-col bg-background">
+ <div className="px-3 py-1.5 text-xs font-medium text-muted border-b border-border flex items-center gap-1.5">
+ <Layers className="w-3 h-3" />
+ Timeline
+ {plan && (
+ <span className="ml-auto text-[10px]">
+ {entries.length} clips -- {plan.total_duration.toFixed(1)}s
+ </span>
+ )}
+ </div>
+
+ {/* Ruler */}
+ {plan && entries.length > 0 && (
+ <div className="h-5 border-b border-border bg-surface flex items-end px-2">
+ {Array.from({ length: Math.ceil(plan.total_duration) + 1 }, (_, i) => {
+ const pct = (i / plan.total_duration) * 100;
+ return (
+ <div
+ key={i}
+ className="absolute text-[8px] text-muted"
+ style={{ left: `${pct}%` }}
+ >
+ {i % 5 === 0 ? `${i}s` : ""}
+ </div>
+ );
+ })}
+ </div>
+ )}
+
+ {/* Track */}
+ <div className="flex-1 overflow-x-auto overflow-y-hidden">
+ {entries.length > 0 ? (
+ <DndContext sensors={sensors} collisionDetection={closestCenter} onDragEnd={handleDragEnd}>
+ <SortableContext items={entries.map((_, i) => i)} strategy={horizontalListSortingStrategy}>
+ <div className="flex items-stretch h-full p-2 gap-1 min-w-max">
+ {entries.map((entry, i) => (
+ <TimelineClip
+ key={`${entry.shot_id}-${entry.position}`}
+ entry={entry}
+ index={i}
+ isSelected={selectedIndex === i}
+ totalDuration={plan!.total_duration}
+ onClick={() => {
+ selectEntry(i);
+ if (entry.source_file) {
+ setSourceMonitorSrc(toMediaUrl(entry.source_file));
+ }
+ }}
+ />
+ ))}
+ </div>
+ </SortableContext>
+ </DndContext>
+ ) : (
+ <div className="h-full flex items-center justify-center">
+ <p className="text-muted text-xs">
+ {plan ? "Empty timeline" : "Run a pipeline to populate the timeline"}
+ </p>
+ </div>
+ )}
+ </div>
+ </div>
+ );
+}
diff --git a/src/web/studio/src/components/timeline/TimelineClip.tsx b/src/web/studio/src/components/timeline/TimelineClip.tsx
new file mode 100644
index 0000000..e4ab6f1
--- /dev/null
+++ b/src/web/studio/src/components/timeline/TimelineClip.tsx
@@ -0,0 +1,87 @@
+"use client";
+
+import { useSortable } from "@dnd-kit/sortable";
+import { CSS } from "@dnd-kit/utilities";
+import type { EnrichedEditPlanEntry } from "@/types/api";
+import { Type } from "lucide-react";
+
+interface TimelineClipProps {
+ entry: EnrichedEditPlanEntry;
+ index: number;
+ isSelected: boolean;
+ totalDuration: number;
+ onClick: () => void;
+}
+
+export function TimelineClip({ entry, index, isSelected, totalDuration, onClick }: TimelineClipProps) {
+ const { attributes, listeners, setNodeRef, transform, transition, isDragging } =
+ useSortable({ id: index });
+
+ const style = {
+ transform: CSS.Transform.toString(transform),
+ transition,
+ opacity: isDragging ? 0.5 : 1,
+ };
+
+ const duration = entry.end_trim - entry.start_trim;
+ // Min width 60px, scale proportionally.
+ const widthPx = Math.max(60, (duration / Math.max(totalDuration, 1)) * 800);
+
+ const borderColor = () => {
+ if (isSelected) return "border-accent";
+ switch (entry.roll_type) {
+ case "a-roll":
+ return "border-blue-500/60";
+ case "b-roll":
+ return "border-emerald-500/60";
+ default:
+ return "border-slate-600";
+ }
+ };
+
+ const bgColor = () => {
+ switch (entry.roll_type) {
+ case "a-roll":
+ return "bg-blue-500/10";
+ case "b-roll":
+ return "bg-emerald-500/10";
+ default:
+ return "bg-slate-500/10";
+ }
+ };
+
+ return (
+ <div
+ ref={setNodeRef}
+ style={{ ...style, width: `${widthPx}px` }}
+ {...attributes}
+ {...listeners}
+ onClick={onClick}
+ className={`shrink-0 rounded border-2 ${borderColor()} ${bgColor()} cursor-pointer hover:brightness-110 transition-all flex flex-col justify-between p-1.5 select-none`}
+ >
+ <div>
+ <div className="text-[10px] font-medium truncate">{entry.display_label}</div>
+ <div className="text-[9px] text-muted">{duration.toFixed(1)}s</div>
+ </div>
+
+ {entry.text_overlay && (
+ <div className="flex items-center gap-0.5 mt-1">
+ <Type className="w-2.5 h-2.5 text-amber-400" />
+ <span className="text-[8px] text-amber-400 truncate">{entry.text_overlay}</span>
+ </div>
+ )}
+
+ <div className="mt-auto">
+ <span className={`inline-block px-1 py-0.5 rounded text-[8px] font-medium ${
+ entry.roll_type === "a-roll"
+ ? "bg-blue-500/20 text-blue-400"
+ : entry.roll_type === "b-roll"
+ ? "bg-emerald-500/20 text-emerald-400"
+ : "bg-slate-500/20 text-slate-400"
+ }`}>
+ {entry.roll_type}
+ </span>
+ </div>
+ </div>
+ );
+}
diff --git a/src/web/studio/src/hooks/useJobStream.ts b/src/web/studio/src/hooks/useJobStream.ts
new file mode 100644
index 0000000..971c9e3
--- /dev/null
+++ b/src/web/studio/src/hooks/useJobStream.ts
@@ -0,0 +1,67 @@
+"use client";
+
+import { useEffect, useRef } from "react";
+import { useJobStore } from "@/stores/jobStore";
+import type { WsMessage } from "@/types/api";
+
+const WS_BASE = process.env.NEXT_PUBLIC_WS_URL ?? "ws://localhost:8000";
+
+/**
+ * Opens a WebSocket to /ws/jobs/{jobId} and dispatches events into
+ * the job store. Cleans up on unmount or when jobId changes.
+ */
+export function useJobStream(jobId: string | null) {
+ const wsRef = useRef<WebSocket | null>(null);
+ const { appendProgress, setStatus, setResult, setFailed } = useJobStore();
+
+ useEffect(() => {
+ if (!jobId) return;
+
+ const ws = new WebSocket(`${WS_BASE}/ws/jobs/${jobId}`);
+ wsRef.current = ws;
+
+ ws.onopen = () => {
+ useJobStore.getState().setStatus("running");
+ };
+
+ ws.onmessage = (event) => {
+ try {
+ const msg: WsMessage = JSON.parse(event.data);
+ switch (msg.type) {
+ case "progress":
+ appendProgress(msg.line, msg.timestamp);
+ break;
+ case "status":
+ if (msg.status === "failed") {
+ setFailed(msg.error ?? "Unknown error");
+ }
+ break;
+ case "result":
+ setResult(msg.data);
+ break;
+ }
+ } catch {
+ // Ignore malformed messages.
+ }
+ };
+
+ ws.onerror = () => {
+ setFailed("WebSocket connection error");
+ };
+
+ ws.onclose = (event) => {
+ wsRef.current = null;
+ // 4004 = unknown job
+ if (event.code === 4004) {
+ setFailed("Job not found");
+ }
+ };
+
+ return () => {
+ if (wsRef.current) {
+ wsRef.current.close();
+ wsRef.current = null;
+ }
+ };
+ }, [jobId, appendProgress, setStatus, setResult, setFailed]);
+}
diff --git a/src/web/studio/src/lib/api.ts b/src/web/studio/src/lib/api.ts
new file mode 100644
index 0000000..f98385d
--- /dev/null
+++ b/src/web/studio/src/lib/api.ts
@@ -0,0 +1,144 @@
+/** Typed fetch wrapper for the AVE Studio FastAPI backend. */
+
+import type {
+ CreateJobRequest,
+ CreateJobResponse,
+ EnrichedEditPlan,
+ FeedbackResponse,
+ FootageIndexEntry,
+ Job,
+ JobReview,
+ JobSummary,
+ PipelineEntry,
+ Project,
+ ShotSearchResult,
+ StyleEntry,
+} from "@/types/api";
+import type { EditPlanEntry } from "@/types/schemas";
+
+const BASE = process.env.NEXT_PUBLIC_API_URL ?? "";
+
+async function request<T>(path: string, init?: RequestInit): Promise<T> {
+ const res = await fetch(`${BASE}${path}`, init);
+ if (!res.ok) {
+ let detail = `HTTP ${res.status}`;
+ try {
+ const body = await res.json();
+ if (body?.detail) detail = typeof body.detail === "string" ? body.detail : JSON.stringify(body.detail);
+ } catch { /* non-JSON */ }
+ throw new Error(detail);
+ }
+ if (res.status === 204) return undefined as T;
+ return res.json();
+}
+
+// --- Browse ---
+
+export interface BrowseEntry {
+ name: string;
+ path: string;
+ type: "dir" | "file";
+}
+
+export interface BrowseResult {
+ current: string;
+ parent: string | null;
+ dirs: BrowseEntry[];
+ files: BrowseEntry[];
+ video_count: number;
+}
+
+export const browseDirectory = (path: string) =>
+ request<BrowseResult>(`/api/browse?path=${encodeURIComponent(path)}`);
+
+// --- Projects ---
+
+export const getProjects = () => request<Project[]>("/api/projects");
+
+export const getProject = (id: string) => request<Project>(`/api/projects/${id}`);
+
+export const createProject = (name: string, footage_dir: string) =>
+ request<{ id: string; name: string; status: string }>("/api/projects", {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({ name, footage_dir }),
+ });
+
+export const deleteProject = (id: string) =>
+ request<void>(`/api/projects/${id}`, { method: "DELETE" });
+
+// --- Config ---
+
+export const getStyles = () => request<StyleEntry[]>("/api/styles");
+export const getPipelines = () => request<PipelineEntry[]>("/api/pipelines");
+export const getFootageIndexes = () => request<FootageIndexEntry[]>("/api/footage-indexes");
+
+// --- Jobs ---
+
+export const getJobs = () => request<JobSummary[]>("/api/jobs");
+
+export const getJob = (id: string) => request<Job>(`/api/jobs/${id}`);
+
+export const createJob = (body: CreateJobRequest) =>
+ request<CreateJobResponse>("/api/jobs", {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify(body),
+ });
+
+export const getJobReview = (id: string) =>
+ request<JobReview>(`/api/jobs/${id}/review`);
+
+// --- Edit plan ---
+
+export const getEditPlan = (jobId: string) =>
+ request<EnrichedEditPlan>(`/api/jobs/${jobId}/edit-plan`);
+
+export const updateEditPlan = (
+ jobId: string,
+ body: { brief: object; music_path: string | null; total_duration: number; entries: EditPlanEntry[] },
+) =>
+ request<{ edit_plan: object }>(`/api/jobs/${jobId}/edit-plan`, {
+ method: "PUT",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify(body),
+ });
+
+// --- Footage ---
+
+export const searchFootage = (query: string, footageIndexPath: string) =>
+ request<{ query: string; count: number; results: ShotSearchResult[] }>(
+ `/api/footage/search?query=${encodeURIComponent(query)}&footage_index_path=${encodeURIComponent(footageIndexPath)}`,
+ );
+
+export const getCatalog = (footageIndexPath: string) =>
+ request<{ count: number; results: ShotSearchResult[] }>(
+ `/api/footage/catalog?footage_index_path=${encodeURIComponent(footageIndexPath)}`,
+ );
+
+// --- Feedback ---
+
+export const postFeedback = (jobId: string, message: string) =>
+ request<FeedbackResponse>(`/api/jobs/${jobId}/feedback`, {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({ message }),
+ });
+
+// --- Re-render ---
+
+export const postReRender = (jobId: string, editPlanBody: object) =>
+ request<{ job_id: string; status: string; parent_job_id: string }>(
+ `/api/jobs/${jobId}/re-render`,
+ {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify(editPlanBody),
+ },
+ );
+
+export const postReviewOnly = (jobId: string) =>
+ request<{ job_id: string; status: string; parent_job_id: string }>(
+ `/api/jobs/${jobId}/review-only`,
+ { method: "POST" },
+ );
diff --git a/src/web/studio/src/lib/media.ts b/src/web/studio/src/lib/media.ts
new file mode 100644
index 0000000..ad287aa
--- /dev/null
+++ b/src/web/studio/src/lib/media.ts
@@ -0,0 +1,14 @@
+/** Convert a raw output path to a /media/ URL for the browser. */
+export function toMediaUrl(rawPath: string): string {
+ // Handle relative paths like "output/final/video.mp4"
+ if (rawPath.startsWith("output/")) {
+ return "/media/" + rawPath.slice("output/".length);
+ }
+ // Handle absolute paths like "/Users/.../output/final/video.mp4"
+ const marker = "/output/";
+ const idx = rawPath.indexOf(marker);
+ if (idx !== -1) {
+ return "/media/" + rawPath.slice(idx + marker.length);
+ }
+ return rawPath;
+}
diff --git a/src/web/studio/src/stores/jobStore.ts b/src/web/studio/src/stores/jobStore.ts
new file mode 100644
index 0000000..55a7497
--- /dev/null
+++ b/src/web/studio/src/stores/jobStore.ts
@@ -0,0 +1,91 @@
+import { create } from "zustand";
+import type { ReviewScore } from "@/types/schemas";
+import * as api from "@/lib/api";
+import { toMediaUrl } from "@/lib/media";
+import type { CreateJobRequest } from "@/types/api";
+
+interface ProgressEntry {
+ line: string;
+ timestamp: string;
+}
+
+interface JobState {
+ currentJobId: string | null;
+ pipelineStatus: "idle" | "connecting" | "running" | "completed" | "failed";
+ progressLines: ProgressEntry[];
+ result: Record<string, unknown> | null;
+ review: ReviewScore | null;
+ error: string | null;
+ finalVideoPath: string | null;
+
+ submitJob: (body: CreateJobRequest) => Promise<string>;
+ setCurrentJobId: (id: string | null) => void;
+ appendProgress: (line: string, timestamp: string) => void;
+ setStatus: (status: JobState["pipelineStatus"]) => void;
+ setResult: (data: Record<string, unknown>) => void;
+ setFailed: (error: string) => void;
+ reset: () => void;
+ fetchReview: (jobId: string) => Promise<void>;
+}
+
+export const useJobStore = create<JobState>((set) => ({
+ currentJobId: null,
+ pipelineStatus: "idle",
+ progressLines: [],
+ result: null,
+ review: null,
+ error: null,
+ finalVideoPath: null,
+
+ submitJob: async (body) => {
+ const res = await api.createJob(body);
+ set({
+ currentJobId: res.job_id,
+ pipelineStatus: "connecting",
+ progressLines: [],
+ result: null,
+ review: null,
+ error: null,
+ finalVideoPath: null,
+ });
+ return res.job_id;
+ },
+
+ setCurrentJobId: (id) => set({ currentJobId: id }),
+
+ appendProgress: (line, timestamp) =>
+ set((s) => ({ progressLines: [...s.progressLines, { line, timestamp }] })),
+
+ setStatus: (status) => set({ pipelineStatus: status }),
+
+ setResult: (data) => {
+ const videoPath = (data.final_video_path as string) || null;
+ const review = (data.review as ReviewScore) || null;
+ set({
+ pipelineStatus: "completed",
+ result: data,
+ review,
+ finalVideoPath: videoPath ? toMediaUrl(videoPath) : null,
+ });
+ },
+
+ setFailed: (error) => set({ pipelineStatus: "failed", error }),
+
+ reset: () =>
+ set({
+ currentJobId: null,
+ pipelineStatus: "idle",
+ progressLines: [],
+ result: null,
+ review: null,
+ error: null,
+ finalVideoPath: null,
+ }),
+
+ fetchReview: async (jobId) => {
+ try {
+ const data = await api.getJobReview(jobId);
+ if (data.review) set({ review: data.review });
+ } catch { /* ignore */ }
+ },
+}));
diff --git a/src/web/studio/src/stores/mediaStore.ts b/src/web/studio/src/stores/mediaStore.ts
new file mode 100644
index 0000000..ce12b25
--- /dev/null
+++ b/src/web/studio/src/stores/mediaStore.ts
@@ -0,0 +1,63 @@
+import { create } from "zustand";
+import type { ShotSearchResult } from "@/types/api";
+import * as api from "@/lib/api";
+
+interface MediaState {
+ catalog: ShotSearchResult[];
+ searchResults: ShotSearchResult[];
+ query: string;
+ footageIndexPath: string;
+ loading: boolean;
+ error: string;
+ filter: "all" | "a-roll" | "b-roll";
+
+ setFootageIndexPath: (path: string) => void;
+ fetchCatalog: () => Promise<void>;
+ searchFootage: (query: string) => Promise<void>;
+ setQuery: (query: string) => void;
+ setFilter: (filter: MediaState["filter"]) => void;
+ reset: () => void;
+}
+
+export const useMediaStore = create<MediaState>((set, get) => ({
+ catalog: [],
+ searchResults: [],
+ query: "",
+ footageIndexPath: "",
+ loading: false,
+ error: "",
+ filter: "all",
+
+ setFootageIndexPath: (path) => set({ footageIndexPath: path }),
+
+ fetchCatalog: async () => {
+ const { footageIndexPath } = get();
+ if (!footageIndexPath) return;
+ set({ loading: true, error: "" });
+ try {
+ const data = await api.getCatalog(footageIndexPath);
+ set({ catalog: data.results, loading: false });
+ } catch (e) {
+ set({ error: (e as Error).message, loading: false });
+ }
+ },
+
+ searchFootage: async (query) => {
+ const { footageIndexPath } = get();
+ if (!footageIndexPath || !query.trim()) {
+ set({ searchResults: [], query });
+ return;
+ }
+ set({ loading: true, query });
+ try {
+ const data = await api.searchFootage(query, footageIndexPath);
+ set({ searchResults: data.results, loading: false });
+ } catch (e) {
+ set({ error: (e as Error).message, loading: false });
+ }
+ },
+
+ setQuery: (query) => set({ query }),
+ setFilter: (filter) => set({ filter }),
+ reset: () => set({ catalog: [], searchResults: [], query: "", footageIndexPath: "", filter: "all" }),
+}));
diff --git a/src/web/studio/src/stores/projectStore.ts b/src/web/studio/src/stores/projectStore.ts
new file mode 100644
index 0000000..69a5bbc
--- /dev/null
+++ b/src/web/studio/src/stores/projectStore.ts
@@ -0,0 +1,48 @@
+import { create } from "zustand";
+import type { Project } from "@/types/api";
+import * as api from "@/lib/api";
+
+interface ProjectState {
+ projects: Project[];
+ loading: boolean;
+ error: string;
+ fetchProjects: () => Promise<void>;
+ createProject: (name: string, footageDir: string) => Promise<string>;
+ deleteProject: (id: string) => Promise<void>;
+ pollProject: (id: string) => Promise<Project>;
+}
+
+export const useProjectStore = create<ProjectState>((set, get) => ({
+ projects: [],
+ loading: false,
+ error: "",
+
+ fetchProjects: async () => {
+ set({ loading: true, error: "" });
+ try {
+ const projects = await api.getProjects();
+ set({ projects, loading: false });
+ } catch (e) {
+ set({ error: (e as Error).message, loading: false });
+ }
+ },
+
+ createProject: async (name, footageDir) => {
+ const res = await api.createProject(name, footageDir);
+ await get().fetchProjects();
+ return res.id;
+ },
+
+ deleteProject: async (id) => {
+ await api.deleteProject(id);
+ set({ projects: get().projects.filter((p) => p.id !== id) });
+ },
+
+ pollProject: async (id) => {
+ const project = await api.getProject(id);
+ set({
+ projects: get().projects.map((p) => (p.id === id ? project : p)),
+ });
+ return project;
+ },
+}));
diff --git a/src/web/studio/src/stores/timelineStore.ts b/src/web/studio/src/stores/timelineStore.ts
new file mode 100644
index 0000000..03ac451
--- /dev/null
+++ b/src/web/studio/src/stores/timelineStore.ts
@@ -0,0 +1,106 @@
+import { create } from "zustand";
+import type { EnrichedEditPlan, EnrichedEditPlanEntry } from "@/types/api";
+import * as api from "@/lib/api";
+
+interface TimelineState {
+ plan: EnrichedEditPlan | null;
+ selectedIndex: number | null;
+ isDirty: boolean;
+ loading: boolean;
+ saving: boolean;
+ error: string;
+ saveFlash: string;
+
+ fetchEditPlan: (jobId: string) => Promise<void>;
+ selectEntry: (index: number | null) => void;
+ updateEntry: (index: number, patch: Partial<EnrichedEditPlanEntry>) => void;
+ reorderEntries: (fromIndex: number, toIndex: number) => void;
+ deleteEntry: (index: number) => void;
+ savePlan: (jobId: string) => Promise<void>;
+ setPlan: (plan: EnrichedEditPlan | null) => void;
+ reset: () => void;
+}
+
+export const useTimelineStore = create<TimelineState>((set, get) => ({
+ plan: null,
+ selectedIndex: null,
+ isDirty: false,
+ loading: false,
+ saving: false,
+ error: "",
+ saveFlash: "",
+
+ fetchEditPlan: async (jobId) => {
+ set({ loading: true, error: "" });
+ try {
+ const plan = await api.getEditPlan(jobId);
+ set({ plan, loading: false, isDirty: false, selectedIndex: null });
+ } catch (e) {
+ set({ error: (e as Error).message, loading: false });
+ }
+ },
+
+ selectEntry: (index) => set({ selectedIndex: index }),
+
+ updateEntry: (index, patch) => {
+ const { plan } = get();
+ if (!plan) return;
+ const entries = plan.entries.map((e, i) => (i === index ? { ...e, ...patch } : e));
+ const totalDuration = entries.reduce((sum, e) => sum + (e.end_trim - e.start_trim), 0);
+ set({
+ plan: { ...plan, entries, total_duration: totalDuration },
+ isDirty: true,
+ });
+ },
+
+ reorderEntries: (fromIndex, toIndex) => {
+ const { plan } = get();
+ if (!plan) return;
+ const entries = [...plan.entries];
+ const [moved] = entries.splice(fromIndex, 1);
+ entries.splice(toIndex, 0, moved);
+ entries.forEach((e, i) => (e.position = i));
+ set({ plan: { ...plan, entries }, isDirty: true, selectedIndex: toIndex });
+ },
+
+ deleteEntry: (index) => {
+ const { plan, selectedIndex } = get();
+ if (!plan) return;
+ const entries = plan.entries.filter((_, i) => i !== index);
+ entries.forEach((e, i) => (e.position = i));
+ const totalDuration = entries.reduce((sum, e) => sum + (e.end_trim - e.start_trim), 0);
+ set({
+ plan: { ...plan, entries, entry_count: entries.length, total_duration: totalDuration },
+ isDirty: true,
+ selectedIndex: selectedIndex === index ? null : selectedIndex,
+ });
+ },
+
+ savePlan: async (jobId) => {
+ const { plan } = get();
+ if (!plan) return;
+ set({ saving: true, error: "", saveFlash: "" });
+ try {
+ await api.updateEditPlan(jobId, {
+ brief: plan.entries.length > 0 ? {} : {},
+ music_path: null,
+ total_duration: plan.total_duration,
+ entries: plan.entries.map((e) => ({
+ shot_id: e.shot_id,
+ start_trim: e.start_trim,
+ end_trim: e.end_trim,
+ position: e.position,
+ text_overlay: e.text_overlay,
+ transition: e.transition,
+ })),
+ });
+ set({ saving: false, isDirty: false, saveFlash: "Saved" });
+ setTimeout(() => set({ saveFlash: "" }), 2000);
+ } catch (e) {
+ set({ error: (e as Error).message, saving: false });
+ }
+ },
+
+ setPlan: (plan) => set({ plan, isDirty: false }),
+ reset: () => set({ plan: null, selectedIndex: null, isDirty: false, loading: false, error: "" }),
+}));
diff --git a/src/web/studio/src/stores/uiStore.ts b/src/web/studio/src/stores/uiStore.ts
new file mode 100644
index 0000000..fcc063e
--- /dev/null
+++ b/src/web/studio/src/stores/uiStore.ts
@@ -0,0 +1,29 @@
+import { create } from "zustand";
+
+interface UiState {
+ consoleOpen: boolean;
+ chatOpen: boolean;
+ sourceMonitorSrc: string | null;
+ programMonitorSrc: string | null;
+ runDialogOpen: boolean;
+
+ toggleConsole: () => void;
+ toggleChat: () => void;
+ setSourceMonitorSrc: (src: string | null) => void;
+ setProgramMonitorSrc: (src: string | null) => void;
+ setRunDialogOpen: (open: boolean) => void;
+}
+
+export const useUiStore = create<UiState>((set) => ({
+ consoleOpen: false,
+ chatOpen: false,
+ sourceMonitorSrc: null,
+ programMonitorSrc: null,
+ runDialogOpen: false,
+
+ toggleConsole: () => set((s) => ({ consoleOpen: !s.consoleOpen })),
+ toggleChat: () => set((s) => ({ chatOpen: !s.chatOpen })),
+ setSourceMonitorSrc: (src) => set({ sourceMonitorSrc: src }),
+ setProgramMonitorSrc: (src) => set({ programMonitorSrc: src }),
+ setRunDialogOpen: (open) => set({ runDialogOpen: open }),
+}));
diff --git a/src/web/studio/src/types/api.ts b/src/web/studio/src/types/api.ts
new file mode 100644
index 0000000..0383977
--- /dev/null
+++ b/src/web/studio/src/types/api.ts
@@ -0,0 +1,154 @@
+/** API-specific types for requests, responses, and WebSocket messages. */
+
+import type { CreativeBrief, ReviewScore } from "./schemas";
+
+// --- Projects ---
+
+export interface Project {
+ id: string;
+ name: string;
+ footage_dir: string;
+ footage_index_path: string;
+ status: "preprocessing" | "ready" | "failed";
+ shot_count: number;
+ total_duration: number;
+ created_at: string;
+ error: string | null;
+}
+
+// --- Jobs ---
+
+export interface JobSummary {
+ id: string;
+ status: "pending" | "running" | "completed" | "failed";
+ created_at: string;
+ started_at: string | null;
+ completed_at: string | null;
+ brief_product: string;
+ progress_lines: number;
+}
+
+export interface Job {
+ id: string;
+ status: "pending" | "running" | "completed" | "failed";
+ brief: CreativeBrief;
+ footage_index_path: string;
+ pipeline_path: string;
+ job_type: string;
+ parent_job_id: string | null;
+ feedback_history: string[];
+ progress_log: string[];
+ result: Record<string, unknown> | null;
+ error: string | null;
+ created_at: string;
+ started_at: string | null;
+ completed_at: string | null;
+}
+
+export interface CreateJobRequest {
+ brief: CreativeBrief;
+ footage_index_path: string;
+ pipeline_path: string;
+}
+
+export interface CreateJobResponse {
+ job_id: string;
+ status: string;
+}
+
+// --- Config ---
+
+export interface StyleEntry {
+ name: string;
+ path: string;
+}
+
+export interface PipelineEntry {
+ name: string;
+ path: string;
+}
+
+export interface FootageIndexEntry {
+ name: string;
+ path: string;
+ shot_count: number;
+ created_at: string;
+}
+
+// --- Footage search ---
+
+export interface ShotSearchResult {
+ shot_id: string;
+ source_file: string;
+ source_filename: string;
+ start_time: number;
+ end_time: number;
+ duration: number;
+ description: string;
+ transcript: string;
+ roll_type: string;
+ display_label: string;
+ relevance_score: number;
+}
+
+// --- Edit plan (enriched from GET /api/jobs/{id}/edit-plan) ---
+
+export interface EnrichedEditPlanEntry {
+ position: number;
+ shot_id: string;
+ source_file: string;
+ source_filename: string;
+ source_timestamp: number;
+ display_label: string;
+ start_trim: number;
+ end_trim: number;
+ duration: number;
+ text_overlay: string | null;
+ transition: string | null;
+ roll_type: string;
+ thumbnail_url: string;
+}
+
+export interface EnrichedEditPlan {
+ job_id: string;
+ total_duration: number;
+ entry_count: number;
+ entries: EnrichedEditPlanEntry[];
+}
+
+// --- WebSocket messages ---
+
+export interface WsProgressMsg {
+ type: "progress";
+ line: string;
+ timestamp: string;
+}
+
+export interface WsStatusMsg {
+ type: "status";
+ status: "completed" | "failed";
+ error?: string;
+}
+
+export interface WsResultMsg {
+ type: "result";
+ data: Record<string, unknown>;
+}
+
+export type WsMessage = WsProgressMsg | WsStatusMsg | WsResultMsg;
+
+// --- Feedback ---
+
+export interface FeedbackResponse {
+ job_id: string;
+ status: string;
+ parent_job_id: string;
+}
+
+// --- Review ---
+
+export interface JobReview {
+ review: ReviewScore | null;
+ retries_used: number;
+ feedback_history: string[];
+}
diff --git a/src/web/studio/src/types/schemas.ts b/src/web/studio/src/types/schemas.ts
new file mode 100644
index 0000000..d27f97d
--- /dev/null
+++ b/src/web/studio/src/types/schemas.ts
@@ -0,0 +1,59 @@
+/** Mirrors src/models/schemas.py exactly. */
+
+export interface CreativeBrief {
+ product: string;
+ audience: string;
+ tone: string;
+ duration_seconds: number;
+ style_ref: string | null;
+}
+
+export interface WordTimestamp {
+ word: string;
+ start: number;
+ end: number;
+}
+
+export interface Shot {
+ source_file: string;
+ start_time: number;
+ end_time: number;
+ description: string;
+ energy_level: number;
+ relevance_score: number;
+ transcript: string;
+ words: WordTimestamp[];
+ roll_type: string;
+}
+
+export interface FootageIndex {
+ source_dir: string;
+ shots: Shot[];
+ total_duration: number;
+ created_at: string;
+}
+
+export interface EditPlanEntry {
+ shot_id: string;
+ start_trim: number;
+ end_trim: number;
+ position: number;
+ text_overlay: string | null;
+ transition: string | null;
+}
+
+export interface EditPlan {
+ brief: CreativeBrief;
+ entries: EditPlanEntry[];
+ music_path: string | null;
+ total_duration: number;
+}
+
+export interface ReviewScore {
+ adherence: number;
+ pacing: number;
+ visual_quality: number;
+ watchability: number;
+ overall: number;
+ feedback: string;
+}
diff --git a/src/web/studio/tsconfig.json b/src/web/studio/tsconfig.json
new file mode 100644
index 0000000..cf9c65d
--- /dev/null
+++ b/src/web/studio/tsconfig.json
@@ -0,0 +1,34 @@
+{
+ "compilerOptions": {
+ "target": "ES2017",
+ "lib": ["dom", "dom.iterable", "esnext"],
+ "allowJs": true,
+ "skipLibCheck": true,
+ "strict": true,
+ "noEmit": true,
+ "esModuleInterop": true,
+ "module": "esnext",
+ "moduleResolution": "bundler",
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "jsx": "react-jsx",
+ "incremental": true,
+ "plugins": [
+ {
+ "name": "next"
+ }
+ ],
+ "paths": {
+ "@/*": ["./src/*"]
+ }
+ },
+ "include": [
+ "next-env.d.ts",
+ "**/*.ts",
+ "**/*.tsx",
+ ".next/types/**/*.ts",
+ ".next/dev/types/**/*.ts",
+ "**/*.mts"
+ ],
+ "exclude": ["node_modules"]
+}
diff --git a/styles/dtc-testimonial.yaml b/styles/dtc-testimonial.yaml
new file mode 100644
index 0000000..778f3de
--- /dev/null
+++ b/styles/dtc-testimonial.yaml
@@ -0,0 +1,50 @@
+name: dtc-testimonial
+description: >-
+ DTC brand testimonial ad — hook into problem, then solution, social proof,
+ and a closing CTA. Total runtime sums to 30s to match the default brief
+ duration. Loaded by src.agents.director.load_style_skill via yaml.safe_load
+ and surfaced to the Director model verbatim, so every field below is
+ guidance the Director must honor when building the EditPlan.
+structure:
+ - segment: hook
+ duration_seconds: 3
+ guidance: >-
+ Open with the highest-energy or most visually striking clip available.
+ The first 3 seconds must stop the scroll — lead with a reaction,
+ product close-up, or on-camera question.
+ - segment: problem
+ duration_seconds: 5
+ guidance: >-
+ Name the pain point the product solves. Prefer on-camera narration or
+ relatable b-roll that shows the friction.
+ - segment: solution
+ duration_seconds: 10
+ guidance: >-
+ Show the product in use delivering the payoff. This is the longest
+ beat — let the hero shot breathe.
+ - segment: social_proof
+ duration_seconds: 7
+ guidance: >-
+ Testimonial, review quote, or reaction shot from a real customer.
+ Prefer clips where the speaker names a specific outcome.
+ - segment: cta
+ duration_seconds: 5
+ guidance: >-
+ Clear call to action with the product name. Pair with an on-screen
+ text overlay containing the CTA copy.
+text_overlay:
+ position: bottom-third
+ notes: >-
+ Use text_overlay on hook and cta entries. Keep copy under six words so
+ it reads on mobile. Apply sparingly on other beats.
+music:
+ mood: warm, authentic, low-key
+ notes: >-
+ Pick a music track with a gentle build so energy rises into the
+ solution beat. Avoid aggressive EDM or abrasive percussion — this
+ style is a trust-building format, not a hype reel.
+pacing:
+ notes: >-
+ Alternate energy: high (hook) → medium (problem) → high (solution) →
+ medium (social_proof) → high (cta). Never stack three low-energy
+ beats in a row.
diff --git a/tests/test_captions.py b/tests/test_captions.py
new file mode 100644
index 0000000..5915f14
--- /dev/null
+++ b/tests/test_captions.py
@@ -0,0 +1,83 @@
+from __future__ import annotations
+
+import tempfile
+import unittest
+from pathlib import Path
+
+from src.models.schemas import FootageIndex, Shot, WordTimestamp
+from src.pipeline.preprocess import _words_for_shot, _words_to_text
+from src.tools.captions import generate_ass_captions, has_words_in_window
+
+
+class PreprocessWordAlignmentTests(unittest.TestCase):
+ def test_words_for_shot_preserves_timing_and_formats_transcript(self) -> None:
+ words = [
+ (0.00, 0.18, " I"),
+ (0.19, 0.36, "always"),
+ (0.37, 0.54, "taken"),
+ (0.55, 0.70, "care"),
+ (0.71, 0.80, "!"),
+ (1.20, 1.35, " Later"),
+ ]
+
+ shot_words = _words_for_shot(words, 0.0, 0.85)
+
+ self.assertEqual(
+ [word.word for word in shot_words],
+ ["I", "always", "taken", "care", "!"],
+ )
+ self.assertEqual(_words_to_text(shot_words), "I always taken care!")
+
+
+class CaptionGenerationTests(unittest.TestCase):
+ def test_generate_ass_captions_writes_highlighted_dialogue_events(self) -> None:
+ shot = Shot(
+ source_file="/tmp/source.mov",
+ start_time=10.0,
+ end_time=12.5,
+ description="",
+ energy_level=0,
+ relevance_score=0.0,
+ transcript="I always taken care",
+ words=[
+ WordTimestamp(word="I", start=10.00, end=10.14),
+ WordTimestamp(word="always", start=10.15, end=10.42),
+ WordTimestamp(word="taken", start=10.44, end=10.66),
+ WordTimestamp(word="care", start=10.68, end=10.88),
+ ],
+ )
+ footage_index = FootageIndex(
+ source_dir="/tmp",
+ shots=[shot],
+ total_duration=2.5,
+ created_at="2026-04-13T00:00:00Z",
+ )
+
+ with tempfile.TemporaryDirectory() as tmpdir:
+ index_path = Path(tmpdir) / "footage_index.json"
+ ass_path = Path(tmpdir) / "captions.ass"
+ index_path.write_text(
+ footage_index.model_dump_json(indent=2),
+ encoding="utf-8",
+ )
+
+ output = generate_ass_captions(
+ footage_index_path=str(index_path),
+ shot_id="/tmp/source.mov#10.0",
+ clip_start=10.0,
+ clip_end=11.0,
+ output=str(ass_path),
+ )
+
+ self.assertEqual(output, str(ass_path))
+ self.assertTrue(has_words_in_window(shot, 10.0, 11.0))
+
+ contents = ass_path.read_text(encoding="utf-8")
+ self.assertIn("Dialogue:", contents)
+ self.assertIn(r"{\1c&H4ACFFF&}", contents)
+ self.assertIn(r"{\1c&H4ACFFF&}I{\r} always taken care", contents)
+ self.assertIn(r"I always taken {\1c&H4ACFFF&}care{\r}", contents)
+
+
+if __name__ == "__main__":
+ unittest.main()
diff --git a/tests/test_web_clips.py b/tests/test_web_clips.py
new file mode 100644
index 0000000..0551ad9
--- /dev/null
+++ b/tests/test_web_clips.py
@@ -0,0 +1,589 @@
+"""Tests for the US-008 EditPlan timeline viewer backend routes.
+
+Covers both endpoints exposed by :mod:`src.web.routes.clips`:
+
+* ``GET /api/jobs/{id}/edit-plan`` -- enriched plan dict with
+ display-ready per-entry metadata, including a ``roll_type`` resolved
+ against the job's :class:`~src.models.schemas.FootageIndex`.
+* ``GET /api/clips/{job_id}/{position}/thumbnail`` -- a JPEG first
+ frame of the cut clip, cached on disk so the second request never
+ re-invokes ffmpeg.
+
+Strategy mirrors :mod:`tests.test_web_jobs_review`: seed hand-built
+:class:`~src.web.jobs.Job` instances directly into the registry's
+``_jobs`` dict so the sequential worker never touches them, and drive
+the routes through :class:`fastapi.testclient.TestClient`. Nothing is
+mocked beyond what's necessary to count ffmpeg invocations in the
+cache test.
+"""
+
+from __future__ import annotations
+
+import shutil
+import subprocess
+import uuid
+from datetime import datetime, timezone
+from pathlib import Path
+
+import pytest
+from fastapi.testclient import TestClient
+
+from src.agents.editor import _slugify_brief
+from src.models.schemas import CreativeBrief, FootageIndex, Shot
+from src.web import routes as web_routes
+from src.web.app import app
+from src.web.jobs import Job, JobRegistry
+
+
+# --------------------------------------------------------------------- #
+# Helpers -- shared with test_web_jobs_review
+# --------------------------------------------------------------------- #
+
+
+def _make_brief(product: str = "clips-test-product") -> CreativeBrief:
+ """Minimal :class:`CreativeBrief` that passes validation."""
+ return CreativeBrief(
+ product=product,
+ audience="test-audience",
+ tone="energetic",
+ duration_seconds=15,
+ )
+
+
+def _make_shot(
+ source_file: str,
+ start_time: float,
+ end_time: float,
+ roll_type: str,
+) -> Shot:
+ """Construct a :class:`Shot` with just the fields the route cares about."""
+ return Shot(
+ source_file=source_file,
+ start_time=start_time,
+ end_time=end_time,
+ description="fixture shot",
+ energy_level=5,
+ relevance_score=0.5,
+ transcript="",
+ words=[],
+ roll_type=roll_type,
+ )
+
+
+def _make_footage_index(shots: list[Shot]) -> FootageIndex:
+ """Construct a :class:`FootageIndex` wrapping ``shots``."""
+ return FootageIndex(
+ source_dir="/tmp/fixture-footage",
+ shots=shots,
+ total_duration=sum(s.end_time - s.start_time for s in shots),
+ created_at=datetime.now(timezone.utc),
+ )
+
+
+def _write_footage_index(index: FootageIndex, tmp_path: Path) -> str:
+ """Serialize ``index`` to a tmp JSON file and return its path."""
+ path = tmp_path / "footage.json"
+ path.write_text(index.model_dump_json())
+ return str(path)
+
+
+def _entry(
+ shot: Shot,
+ position: int,
+ start_trim: float | None = None,
+ end_trim: float | None = None,
+ text_overlay: str | None = None,
+ transition: str | None = None,
+) -> dict:
+ """Build a serialized EditPlanEntry dict pointing at ``shot``."""
+ return {
+ "shot_id": f"{shot.source_file}#{shot.start_time}",
+ "start_trim": shot.start_time if start_trim is None else start_trim,
+ "end_trim": shot.end_time if end_trim is None else end_trim,
+ "position": position,
+ "text_overlay": text_overlay,
+ "transition": transition,
+ }
+
+
+def _make_edit_plan(
+ brief: CreativeBrief,
+ entries: list[dict],
+ total_duration: float,
+) -> dict:
+ """Build the serialized EditPlan dict shape stored in ``job.result``."""
+ return {
+ "brief": brief.model_dump(),
+ "entries": entries,
+ "music_path": None,
+ "total_duration": total_duration,
+ }
+
+
+def _seed_completed_job(
+ registry: JobRegistry,
+ *,
+ job_id: str,
+ brief: CreativeBrief,
+ footage_index_path: str,
+ edit_plan: dict,
+) -> Job:
+ """Create a completed :class:`Job` and register it without submitting."""
+ job = Job(
+ id=job_id,
+ status="completed",
+ brief=brief,
+ footage_index_path=footage_index_path,
+ pipeline_path="/tmp/pipeline.yaml",
+ result={
+ "edit_plan": edit_plan,
+ "final_video_path": "/tmp/final.mp4",
+ "review": None,
+ "retries_used": 0,
+ "warnings": [],
+ "feedback_history": [],
+ },
+ )
+ registry._jobs[job_id] = job
+ return job
+
+
+def client():
+ """FastAPI TestClient with lifespan = registry spun up."""
+ with TestClient(app) as test_client:
+ yield test_client
+
+
+# --------------------------------------------------------------------- #
+# GET /api/jobs/{id}/edit-plan -- happy path
+# --------------------------------------------------------------------- #
+
+
+def test_edit_plan_returns_enriched_entries(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """Happy path: body has derived display fields + resolved roll_type."""
+ registry: JobRegistry = client.app.state.job_registry
+ brief = _make_brief()
+
+ shot_a = _make_shot("/tmp/footage/intro.mp4", 1.5, 4.7, "a-roll")
+ shot_b = _make_shot("/tmp/footage/product.mp4", 0.0, 3.2, "b-roll")
+ index = _make_footage_index([shot_a, shot_b])
+ footage_path = _write_footage_index(index, tmp_path)
+
+ entries = [
+ _entry(
+ shot_a,
+ position=0,
+ start_trim=1.5,
+ end_trim=3.7,
+ text_overlay="Hook",
+ ),
+ _entry(
+ shot_b,
+ position=1,
+ start_trim=0.0,
+ end_trim=2.0,
+ transition="crossfade",
+ ),
+ ]
+ plan = _make_edit_plan(brief, entries, total_duration=4.2)
+ _seed_completed_job(
+ registry,
+ job_id="edit-plan-happy",
+ brief=brief,
+ footage_index_path=footage_path,
+ edit_plan=plan,
+ )
+
+ response = client.get("/api/jobs/edit-plan-happy/edit-plan")
+ assert response.status_code == 200
+ body = response.json()
+
+ assert body["job_id"] == "edit-plan-happy"
+ assert body["entry_count"] == 2
+ assert body["total_duration"] == pytest.approx(4.2)
+ assert len(body["entries"]) == 2
+
+ first = body["entries"][0]
+ assert first["position"] == 0
+ assert first["source_file"] == "/tmp/footage/intro.mp4"
+ assert first["source_filename"] == "intro.mp4"
+ assert first["source_timestamp"] == pytest.approx(1.5)
+ assert first["display_label"] == "[email protected]"
+ assert first["start_trim"] == pytest.approx(1.5)
+ assert first["end_trim"] == pytest.approx(3.7)
+ assert first["duration"] == pytest.approx(2.2)
+ assert first["text_overlay"] == "Hook"
+ assert first["roll_type"] == "a-roll"
+ assert first["thumbnail_url"] == "/api/clips/edit-plan-happy/0/thumbnail"
+
+ second = body["entries"][1]
+ assert second["position"] == 1
+ assert second["source_filename"] == "product.mp4"
+ assert second["roll_type"] == "b-roll"
+ assert second["transition"] == "crossfade"
+ assert second["thumbnail_url"] == "/api/clips/edit-plan-happy/1/thumbnail"
+
+
+# --------------------------------------------------------------------- #
+# GET /api/jobs/{id}/edit-plan -- 404 / 409
+# --------------------------------------------------------------------- #
+
+
+def test_edit_plan_returns_404_for_unknown_job(client: TestClient) -> None:
+ """Unknown id -> 404 with the id in detail."""
+ unknown_id = str(uuid.uuid4())
+ response = client.get(f"/api/jobs/{unknown_id}/edit-plan")
+ assert response.status_code == 404
+ assert unknown_id in response.json()["detail"]
+
+
+def test_edit_plan_returns_409_when_result_is_none(
+ client: TestClient,
+) -> None:
+ """Running job with no ``result`` yet -> 409 + wait hint."""
+ registry: JobRegistry = client.app.state.job_registry
+ job_id = "edit-plan-still-running"
+ job = Job(
+ id=job_id,
+ status="running",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ result=None,
+ )
+ registry._jobs[job_id] = job
+
+ response = client.get(f"/api/jobs/{job_id}/edit-plan")
+ assert response.status_code == 409
+ detail = response.json()["detail"]
+ assert "wait" in detail.lower()
+ assert "running" in detail
+
+
+def test_edit_plan_roll_type_falls_back_to_unknown(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """A shot_id the FootageIndex can't resolve -> roll_type='unknown'.
+
+ The index contains only ``/tmp/footage/intro.mp4`` but the edit plan
+ references ``/tmp/footage/ghost.mp4#0.0``. The endpoint should still
+ return 200 and flag the entry as ``roll_type='unknown'`` instead of
+ 500ing.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ brief = _make_brief()
+ index = _make_footage_index(
+ [_make_shot("/tmp/footage/intro.mp4", 0.0, 2.0, "a-roll")]
+ )
+ footage_path = _write_footage_index(index, tmp_path)
+
+ ghost_entry = {
+ "shot_id": "/tmp/footage/ghost.mp4#0.0",
+ "start_trim": 0.0,
+ "end_trim": 1.5,
+ "position": 0,
+ "text_overlay": None,
+ "transition": None,
+ }
+ plan = _make_edit_plan(brief, [ghost_entry], total_duration=1.5)
+ _seed_completed_job(
+ registry,
+ job_id="edit-plan-unknown-roll",
+ brief=brief,
+ footage_index_path=footage_path,
+ edit_plan=plan,
+ )
+
+ response = client.get("/api/jobs/edit-plan-unknown-roll/edit-plan")
+ assert response.status_code == 200
+ body = response.json()
+ assert body["entries"][0]["roll_type"] == "unknown"
+ assert body["entries"][0]["source_filename"] == "ghost.mp4"
+
+
+def test_edit_plan_splits_shot_id_on_last_hash(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """Source paths containing '#' must split on the LAST '#' separator.
+
+ Regression for the inconsistency between ``_derive_source_file`` (was
+ ``split('#', 1)``, splitting on the FIRST '#') and
+ ``_resolve_shot_for_entry`` (``rfind('#')``, splitting on the LAST).
+ A shot_id like ``videos/shot#1/a.mp4#12.5`` resolved roll_type
+ correctly but rendered a bogus source_file/source_filename. Both
+ parsers are now aligned on ``rfind('#')``.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ brief = _make_brief("hash-in-path")
+
+ shot = _make_shot("videos/shot#1/a.mp4", 12.5, 15.0, "a-roll")
+ index = _make_footage_index([shot])
+ footage_path = _write_footage_index(index, tmp_path)
+
+ entries = [
+ {
+ "shot_id": "videos/shot#1/a.mp4#12.5",
+ "start_trim": 12.5,
+ "end_trim": 14.0,
+ "position": 0,
+ "text_overlay": None,
+ "transition": None,
+ }
+ ]
+ plan = _make_edit_plan(brief, entries, total_duration=1.5)
+ _seed_completed_job(
+ registry,
+ job_id="edit-plan-hash-in-path",
+ brief=brief,
+ footage_index_path=footage_path,
+ edit_plan=plan,
+ )
+
+ response = client.get("/api/jobs/edit-plan-hash-in-path/edit-plan")
+ assert response.status_code == 200
+ body = response.json()
+ entry = body["entries"][0]
+ assert entry["source_file"] == "videos/shot#1/a.mp4"
+ assert entry["source_filename"] == "a.mp4"
+ assert entry["source_timestamp"] == pytest.approx(12.5)
+ assert entry["display_label"] == "[email protected]"
+ # Also confirm roll_type still resolves -- the resolver has always
+ # used rfind('#'), so this is the anchor the display fields now match.
+ assert entry["roll_type"] == "a-roll"
+
+
+# --------------------------------------------------------------------- #
+# GET /api/clips/{id}/{pos}/thumbnail
+# --------------------------------------------------------------------- #
+
+
+def _ffmpeg_available() -> bool:
+ return shutil.which("ffmpeg") is not None
+
+
+pytestmark_ffmpeg = pytest.mark.skipif(
+ not _ffmpeg_available(),
+ reason="ffmpeg binary not available in test environment",
+)
+
+
+def tiny_clip_factory(tmp_path: Path, monkeypatch: pytest.MonkeyPatch):
+ """Build tiny real ``clip_{position:02d}.mp4`` files under a redirected OUTPUT_DIR.
+
+ The clip is a 0.5s 16x16 solid-red video generated by ffmpeg's
+ ``lavfi`` source. This keeps the test honest -- we actually shell
+ out to ffmpeg to extract a frame -- while staying under a kilobyte
+ of disk.
+
+ Monkeypatches :data:`src.web.routes.clips.OUTPUT_DIR` so the route
+ looks under the test's tmp path instead of the repo's real
+ ``output/`` directory (which might not even exist, and shouldn't be
+ mutated by tests anyway).
+ """
+ from src.web.routes import clips as clips_module
+
+ fake_output = tmp_path / "output"
+ monkeypatch.setattr(clips_module, "OUTPUT_DIR", fake_output)
+
+ def _make_clip(brief: CreativeBrief, position: int) -> Path:
+ brief_slug = _slugify_brief(brief)
+ working_dir = fake_output / "working" / brief_slug
+ working_dir.mkdir(parents=True, exist_ok=True)
+ clip_path = working_dir / f"clip_{position:02d}.mp4"
+ subprocess.run(
+ [
+ "ffmpeg",
+ "-f",
+ "lavfi",
+ "-i",
+ "color=c=red:s=16x16:d=0.5:r=10",
+ "-pix_fmt",
+ "yuv420p",
+ "-y",
+ str(clip_path),
+ ],
+ capture_output=True,
+ check=True,
+ )
+ return clip_path
+
+ return _make_clip
+
+
+@pytestmark_ffmpeg
+def test_thumbnail_returns_jpeg_for_real_clip(
+ client: TestClient,
+ tmp_path: Path,
+ tiny_clip_factory,
+) -> None:
+ """Happy path: real clip on disk -> 200 image/jpeg + cache header."""
+ registry: JobRegistry = client.app.state.job_registry
+ brief = _make_brief("thumbnail-happy")
+ shot = _make_shot("/tmp/footage/a.mp4", 0.0, 1.0, "a-roll")
+ index = _make_footage_index([shot])
+ footage_path = _write_footage_index(index, tmp_path)
+ plan = _make_edit_plan(
+ brief, [_entry(shot, position=0, end_trim=0.5)], total_duration=0.5
+ )
+ _seed_completed_job(
+ registry,
+ job_id="thumb-happy",
+ brief=brief,
+ footage_index_path=footage_path,
+ edit_plan=plan,
+ )
+ tiny_clip_factory(brief, position=0)
+
+ response = client.get("/api/clips/thumb-happy/0/thumbnail")
+ assert response.status_code == 200
+ assert response.headers["content-type"] == "image/jpeg"
+ assert "max-age=3600" in response.headers.get("cache-control", "")
+ # JPEG magic number SOI marker is 0xFF 0xD8.
+ assert response.content[:2] == b"\xff\xd8"
+ assert len(response.content) > 0
+
+
+@pytestmark_ffmpeg
+def test_thumbnail_caches_on_second_request(
+ client: TestClient,
+ tmp_path: Path,
+ tiny_clip_factory,
+ monkeypatch: pytest.MonkeyPatch,
+) -> None:
+ """Second request must not re-invoke ffmpeg (disk cache is primary)."""
+ registry: JobRegistry = client.app.state.job_registry
+ brief = _make_brief("thumbnail-cache")
+ shot = _make_shot("/tmp/footage/a.mp4", 0.0, 1.0, "a-roll")
+ index = _make_footage_index([shot])
+ footage_path = _write_footage_index(index, tmp_path)
+ plan = _make_edit_plan(
+ brief, [_entry(shot, position=0, end_trim=0.5)], total_duration=0.5
+ )
+ _seed_completed_job(
+ registry,
+ job_id="thumb-cache",
+ brief=brief,
+ footage_index_path=footage_path,
+ edit_plan=plan,
+ )
+ tiny_clip_factory(brief, position=0)
+
+ # First call: real ffmpeg, populates the disk cache.
+ first = client.get("/api/clips/thumb-cache/0/thumbnail")
+ assert first.status_code == 200
+
+ # The cached thumbnail must now exist next to the clip.
+ from src.web.routes import clips as clips_module
+
+ brief_slug = _slugify_brief(brief)
+ thumb_path = (
+ clips_module.OUTPUT_DIR
+ / "working"
+ / brief_slug
+ / "clip_00.thumb.jpg"
+ )
+ assert thumb_path.exists(), "disk cache was not populated"
+
+ # Second call: swap subprocess.run for a booby trap that records
+ # any invocation -- if the route tries to shell out again the test
+ # fails with a clear message instead of a silent cache miss.
+ calls: list[list[str]] = []
+
+ def _boom(cmd, *args, **kwargs): # type: ignore[no-untyped-def]
+ calls.append(list(cmd))
+ raise AssertionError(
+ "subprocess.run was invoked on the cached code path: "
+ f"{cmd!r}"
+ )
+
+ monkeypatch.setattr(
+ "src.web.routes.clips.subprocess.run",
+ _boom,
+ )
+
+ second = client.get("/api/clips/thumb-cache/0/thumbnail")
+ assert second.status_code == 200
+ assert second.content == first.content
+ assert calls == [], "cached request should not call ffmpeg"
+
+
+def test_thumbnail_returns_404_for_missing_clip_file(
+ client: TestClient,
+ tmp_path: Path,
+ monkeypatch: pytest.MonkeyPatch,
+) -> None:
+ """Valid job + in-range position but clip file absent -> 404."""
+ from src.web.routes import clips as clips_module
+
+ monkeypatch.setattr(clips_module, "OUTPUT_DIR", tmp_path / "output")
+
+ registry: JobRegistry = client.app.state.job_registry
+ brief = _make_brief("thumbnail-missing-clip")
+ shot = _make_shot("/tmp/footage/a.mp4", 0.0, 1.0, "a-roll")
+ index = _make_footage_index([shot])
+ footage_path = _write_footage_index(index, tmp_path)
+ plan = _make_edit_plan(
+ brief, [_entry(shot, position=0, end_trim=0.5)], total_duration=0.5
+ )
+ _seed_completed_job(
+ registry,
+ job_id="thumb-missing-clip",
+ brief=brief,
+ footage_index_path=footage_path,
+ edit_plan=plan,
+ )
+
+ response = client.get("/api/clips/thumb-missing-clip/0/thumbnail")
+ assert response.status_code == 404
+ assert "not found" in response.json()["detail"].lower()
+
+
+def test_thumbnail_returns_404_for_out_of_range_position(
+ client: TestClient,
+ tmp_path: Path,
+ monkeypatch: pytest.MonkeyPatch,
+) -> None:
+ """Position beyond the edit plan length -> 404."""
+ from src.web.routes import clips as clips_module
+
+ monkeypatch.setattr(clips_module, "OUTPUT_DIR", tmp_path / "output")
+
+ registry: JobRegistry = client.app.state.job_registry
+ brief = _make_brief("thumbnail-oob")
+ shot = _make_shot("/tmp/footage/a.mp4", 0.0, 1.0, "a-roll")
+ index = _make_footage_index([shot])
+ footage_path = _write_footage_index(index, tmp_path)
+ plan = _make_edit_plan(
+ brief, [_entry(shot, position=0, end_trim=0.5)], total_duration=0.5
+ )
+ _seed_completed_job(
+ registry,
+ job_id="thumb-oob",
+ brief=brief,
+ footage_index_path=footage_path,
+ edit_plan=plan,
+ )
+
+ response = client.get("/api/clips/thumb-oob/5/thumbnail")
+ assert response.status_code == 404
+ assert "out of range" in response.json()["detail"].lower()
+
+
+# --------------------------------------------------------------------- #
+# Module import sanity: routes are wired into the app
+# --------------------------------------------------------------------- #
+
+
+def test_clips_router_is_registered_on_app() -> None:
+ """Smoke check: the app exposes the two new paths."""
+ paths = {getattr(route, "path", None) for route in app.routes}
+ assert "/api/jobs/{job_id}/edit-plan" in paths
+ assert "/api/clips/{job_id}/{position}/thumbnail" in paths
+ # Keep a reference so the unused-import lint rule does not trip on
+ # ``from src.web import routes as web_routes`` (used for side-effect
+ # package import assurance).
+ assert web_routes is not None
diff --git a/tests/test_web_feedback.py b/tests/test_web_feedback.py
new file mode 100644
index 0000000..d7dda58
--- /dev/null
+++ b/tests/test_web_feedback.py
@@ -0,0 +1,614 @@
+"""Tests for the ``POST /api/jobs/{id}/feedback`` route + feedback-rerun plumbing (US-007).
+
+US-007 added a chat-driven feedback loop on top of the existing job
+system: the user reviews a completed cut, types free-text feedback,
+and the backend spins up a new ``feedback-rerun`` job that inherits the
+parent's brief / footage / pipeline context and re-runs
+Director -> trim_refiner -> editor -> reviewer with the accumulated
+feedback history.
+
+These tests follow the pattern established in
+:mod:`tests.test_web_jobs_review` and :mod:`tests.test_web_ws`:
+
+* Use :class:`fastapi.testclient.TestClient` with the real app lifespan
+ so :class:`JobRegistry` is attached to ``app.state.job_registry``.
+* Seed jobs directly into ``registry._jobs`` so we never touch
+ ``run_pipeline`` or the real Gemini-backed agents.
+* Exercise :meth:`JobRegistry.submit_feedback_rerun` and the
+ :class:`Job` dataclass fields directly for the in-process unit tests.
+* For ``_run_feedback_rerun_sync`` coverage, monkeypatch the four agent
+ helpers at the ``src.web.jobs`` module level so the worker path can
+ run deterministically without spawning a worker loop at all.
+
+Test layout:
+
+1. ``POST`` returns 404 for an unknown parent.
+2. ``POST`` returns 409 when the parent is still running / pending.
+3. ``POST`` returns 409 when the parent completed but has no
+ ``edit_plan`` in its result.
+4. ``POST`` returns 202 + the expected body on the happy path, with the
+ child job landing in the registry with inherited context and an
+ accumulated feedback history.
+5. ``POST`` with an empty / whitespace-only message returns 422 from
+ pydantic's ``min_length`` validator.
+6. ``POST`` with a message longer than ``max_length`` returns 422.
+7. Feedback accumulation chains correctly across multiple rounds via
+ direct :meth:`JobRegistry.submit_feedback_rerun` calls (no HTTP
+ layer) -- the second child's history includes every earlier message
+ in chronological order.
+8. :meth:`Job.summary` exposes ``job_type`` + ``parent_job_id``.
+9. :meth:`Job.to_dict` exposes ``feedback_history``.
+10. :meth:`JobRegistry._run_feedback_rerun_sync` happy path with the
+ four agent helpers stubbed: returns a populated
+ :class:`PipelineResult` whose ``feedback_history`` echoes the job's
+ accumulated history, and emits the four ``[feedback-rerun] step N``
+ framing lines on the job's progress log.
+"""
+
+from __future__ import annotations
+
+import uuid
+
+import pytest
+from fastapi.testclient import TestClient
+
+from src.models.schemas import CreativeBrief, EditPlan, ReviewScore
+from src.pipeline.runner import PipelineResult
+from src.web import jobs as jobs_module
+from src.web.app import app
+from src.web.jobs import Job, JobRegistry
+
+
+# --------------------------------------------------------------------- #
+# Helpers
+# --------------------------------------------------------------------- #
+
+
+def _make_brief() -> CreativeBrief:
+ """Minimal brief identical to the one used in the sibling test files."""
+ return CreativeBrief(
+ product="test-product",
+ audience="test-audience",
+ tone="energetic",
+ duration_seconds=15,
+ )
+
+
+def _edit_plan_payload() -> dict:
+ """Serialized :class:`EditPlan` for a parent job's result blob.
+
+ The feedback route only checks that ``result['edit_plan']`` is
+ non-None, so we build a structurally valid EditPlan dict so the
+ result passes both the route's 409 gate and any later
+ ``model_dump`` comparisons.
+ """
+ return EditPlan(
+ brief=_make_brief(),
+ entries=[],
+ music_path=None,
+ total_duration=15.0,
+ ).model_dump()
+
+
+def _make_completed_parent(
+ job_id: str,
+ *,
+ feedback_history: list[str] | None = None,
+ job_feedback_history: list[str] | None = None,
+) -> Job:
+ """Construct a completed parent :class:`Job` ready for a feedback re-run.
+
+ ``feedback_history`` lands in the serialized ``result`` blob (where
+ the real :func:`run_pipeline` stores it). ``job_feedback_history``
+ lands on the ``Job.feedback_history`` attribute -- the second chat
+ round and onwards reads from there instead of the result blob.
+ """
+ return Job(
+ id=job_id,
+ status="completed",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ job_type="full-pipeline",
+ parent_job_id=None,
+ feedback_history=list(job_feedback_history or []),
+ result={
+ "edit_plan": _edit_plan_payload(),
+ "final_video_path": "/tmp/parent.mp4",
+ "review": None,
+ "retries_used": 0,
+ "warnings": [],
+ "feedback_history": list(feedback_history or []),
+ },
+ )
+
+
+def client():
+ """FastAPI TestClient bound to a lifespan that spins up the registry."""
+ with TestClient(app) as test_client:
+ yield test_client
+
+
+# --------------------------------------------------------------------- #
+# HTTP contract tests
+# --------------------------------------------------------------------- #
+
+
+def test_post_feedback_returns_404_for_unknown_parent(client: TestClient) -> None:
+ """A random parent id returns 404 with the id in the detail string.
+
+ No seeding happens before the request -- the registry is empty at
+ lifespan startup and the unknown id never appears in ``_jobs``.
+ Matches the 404 shape used by the review endpoint.
+ """
+ unknown_id = str(uuid.uuid4())
+
+ response = client.post(
+ f"/api/jobs/{unknown_id}/feedback",
+ json={"message": "tighten the middle"},
+ )
+
+ assert response.status_code == 404
+ detail = response.json()["detail"]
+ assert unknown_id in detail
+
+
+def test_post_feedback_returns_409_for_pending_parent(client: TestClient) -> None:
+ """A parent that is still pending / running returns 409 Conflict.
+
+ The re-run path needs a finished :class:`EditPlan` to feed back
+ into the Director, which only exists once the parent reaches the
+ ``completed`` state. We seed a parent stuck in ``pending`` with no
+ result yet to exercise the first gate in
+ :meth:`JobRegistry.submit_feedback_rerun`.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ parent = Job(
+ id="feedback-parent-pending",
+ status="pending",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ )
+ registry._jobs[parent.id] = parent
+
+ response = client.post(
+ f"/api/jobs/{parent.id}/feedback",
+ json={"message": "swap the intro clip"},
+ )
+
+ assert response.status_code == 409
+ detail = response.json()["detail"]
+ assert "not completed" in detail
+ assert "pending" in detail
+
+
+def test_post_feedback_returns_409_for_completed_parent_without_plan(
+ client: TestClient,
+) -> None:
+ """A completed parent whose result is missing ``edit_plan`` returns 409.
+
+ This models the (admittedly rare) case where the pipeline finished
+ but did not produce a plan -- e.g. a pre-Director abort where the
+ job still flipped to ``completed`` because of a custom pipeline
+ that only ran preprocessing. The feedback route cannot do anything
+ useful without a plan, so the gate fires.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ parent = Job(
+ id="feedback-parent-no-plan",
+ status="completed",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ result={
+ "edit_plan": None,
+ "final_video_path": "/tmp/parent.mp4",
+ "review": None,
+ "retries_used": 0,
+ "warnings": [],
+ "feedback_history": [],
+ },
+ )
+ registry._jobs[parent.id] = parent
+
+ response = client.post(
+ f"/api/jobs/{parent.id}/feedback",
+ json={"message": "more pacing"},
+ )
+
+ assert response.status_code == 409
+ detail = response.json()["detail"]
+ assert "edit_plan" in detail
+
+
+def test_post_feedback_202_creates_feedback_rerun_child(
+ client: TestClient,
+) -> None:
+ """Happy path: completed parent + new message returns 202 + child id.
+
+ Asserts the response envelope the frontend relies on:
+
+ * ``job_id`` differs from the parent id.
+ * ``status`` is ``pending`` (the worker has not picked it up yet).
+ * ``parent_job_id`` echoes the parent.
+
+ Also assert the child landed in the registry with the correct
+ inherited context and an accumulated ``feedback_history`` that
+ carries the parent's reviewer history plus the new user message.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ parent = _make_completed_parent(
+ "feedback-parent-happy",
+ feedback_history=["reviewer: tighten pacing"],
+ )
+ registry._jobs[parent.id] = parent
+
+ response = client.post(
+ f"/api/jobs/{parent.id}/feedback",
+ json={"message": "swap the hero shot"},
+ )
+
+ assert response.status_code == 202
+ body = response.json()
+ assert set(body.keys()) == {"job_id", "status", "parent_job_id"}
+ assert body["parent_job_id"] == parent.id
+ assert body["status"] == "pending"
+ assert body["job_id"] != parent.id
+
+ child = registry.get(body["job_id"])
+ assert child is not None
+ assert child.job_type == "feedback-rerun"
+ assert child.parent_job_id == parent.id
+ assert child.brief == parent.brief
+ assert child.footage_index_path == parent.footage_index_path
+ assert child.pipeline_path == parent.pipeline_path
+ # The child history is the parent's reviewer feedback plus the new
+ # user message appended, in order. This is the contract the
+ # Director call downstream depends on.
+ assert child.feedback_history == [
+ "reviewer: tighten pacing",
+ "swap the hero shot",
+ ]
+
+
+def test_post_feedback_empty_message_returns_422(client: TestClient) -> None:
+ """Whitespace-only / empty messages fail pydantic ``min_length=1``.
+
+ We send two payloads -- literal empty string and whitespace-only --
+ and assert both are rejected by validation before the route even
+ runs. The whitespace case is a regression guard: if someone later
+ swaps ``min_length`` for a ``strip``-then-check pattern, the
+ whitespace form should still fail because the frontend should
+ never submit it.
+
+ Note: the literal ``""`` case is the one pydantic's ``min_length=1``
+ definitively catches. The whitespace-only case is caught by the
+ server-side ``strip()`` check in :meth:`submit_feedback_rerun` and
+ surfaces as a 409 instead -- we accept either rejection code below.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ parent = _make_completed_parent("feedback-parent-empty")
+ registry._jobs[parent.id] = parent
+
+ # Empty literal string -- blocked by min_length=1.
+ response_empty = client.post(
+ f"/api/jobs/{parent.id}/feedback",
+ json={"message": ""},
+ )
+ assert response_empty.status_code == 422
+
+ # Whitespace-only -- blocked either by pydantic (if min_length is
+ # later tightened to strip-then-check) or by the ``strip()`` guard
+ # inside ``submit_feedback_rerun`` (409 with "must not be empty").
+ response_ws = client.post(
+ f"/api/jobs/{parent.id}/feedback",
+ json={"message": " \n\t "},
+ )
+ assert response_ws.status_code in (409, 422)
+ if response_ws.status_code == 409:
+ assert "empty" in response_ws.json()["detail"]
+
+
+def test_post_feedback_oversized_message_returns_422(client: TestClient) -> None:
+ """Messages longer than ``max_length=4000`` fail pydantic validation.
+
+ This caps the blast radius of pasted logs, runaway prompts, or a
+ hostile client dumping MB of text -- the Director call would
+ tokenize the whole thing otherwise.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ parent = _make_completed_parent("feedback-parent-oversized")
+ registry._jobs[parent.id] = parent
+
+ oversized = "x" * 4001
+ response = client.post(
+ f"/api/jobs/{parent.id}/feedback",
+ json={"message": oversized},
+ )
+
+ assert response.status_code == 422
+
+
+# --------------------------------------------------------------------- #
+# Registry-level feedback accumulation
+# --------------------------------------------------------------------- #
+
+
+def test_feedback_history_accumulates_across_rounds() -> None:
+ """Direct :meth:`submit_feedback_rerun` across three chat rounds.
+
+ The HTTP layer only wires one round at a time, so we exercise the
+ accumulation logic against the registry directly:
+
+ 1. Parent finishes with ``result['feedback_history']`` populated by
+ the reviewer retry loop.
+ 2. First child inherits the reviewer history, appends the user's
+ round-1 message, and lands in the registry.
+ 3. We simulate the worker completing child1 (so its own
+ ``feedback_history`` attribute is the source of truth going
+ forward, not the result blob).
+ 4. Second child inherits child1's full history and appends round 2.
+ 5. Assert the round-2 child's history contains every prior entry
+ in chronological order.
+
+ This keeps the integration test focused on the accumulation rule
+ without having to spin up the worker queue.
+ """
+ registry = JobRegistry()
+ parent = _make_completed_parent(
+ "accum-parent",
+ feedback_history=["reviewer: pacing too slow"],
+ )
+ registry._jobs[parent.id] = parent
+
+ child1 = registry.submit_feedback_rerun(parent, "swap the hero shot")
+ assert child1.feedback_history == [
+ "reviewer: pacing too slow",
+ "swap the hero shot",
+ ]
+
+ # Simulate worker completion -- the child is now a "parent" for
+ # the next round. Its attribute-level ``feedback_history`` is what
+ # the next submit call should read, not the result blob.
+ child1.status = "completed"
+ child1.result = {
+ "edit_plan": _edit_plan_payload(),
+ "final_video_path": "/tmp/child1.mp4",
+ "review": None,
+ "retries_used": 0,
+ "warnings": [],
+ # Intentionally DIFFERENT from the attribute history to prove
+ # the attribute wins for non-first-round parents.
+ "feedback_history": ["should-not-be-used"],
+ }
+
+ child2 = registry.submit_feedback_rerun(child1, "punch up the outro music")
+ assert child2.feedback_history == [
+ "reviewer: pacing too slow",
+ "swap the hero shot",
+ "punch up the outro music",
+ ]
+ assert child2.parent_job_id == child1.id
+ assert child2.job_type == "feedback-rerun"
+
+
+# --------------------------------------------------------------------- #
+# Job dataclass serialization
+# --------------------------------------------------------------------- #
+
+
+def test_job_summary_includes_job_type_and_parent_job_id() -> None:
+ """``Job.summary`` must expose the new ``job_type`` + ``parent_job_id``.
+
+ The list view on the frontend uses ``job_type`` to label
+ feedback-rerun rows differently and ``parent_job_id`` to link them
+ back to the row they revise. If either key disappears, the
+ ``GET /api/jobs`` response silently loses the chat lineage metadata.
+ """
+ job = Job(
+ id="summary-child",
+ status="pending",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ job_type="feedback-rerun",
+ parent_job_id="summary-parent",
+ feedback_history=["reviewer: tighten"],
+ )
+
+ summary = job.summary()
+
+ assert summary["job_type"] == "feedback-rerun"
+ assert summary["parent_job_id"] == "summary-parent"
+ # Sanity: the pre-existing summary keys still exist so we have not
+ # accidentally regressed the rest of the payload.
+ assert summary["id"] == "summary-child"
+ assert summary["status"] == "pending"
+
+
+def test_job_to_dict_includes_feedback_history() -> None:
+ """``Job.to_dict`` returns a snapshot of the accumulated feedback.
+
+ The detail view reads the full ``feedback_history`` list so the
+ chat transcript can show every round the job has seen. The
+ attribute is a ``list[str]`` but ``to_dict`` must call ``list()``
+ so later mutations by the worker thread do not leak into the
+ already-serialized response body.
+ """
+ history = ["reviewer: pacing", "user: swap hero shot"]
+ job = Job(
+ id="todict-job",
+ status="completed",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ job_type="feedback-rerun",
+ parent_job_id="todict-parent",
+ feedback_history=history,
+ result={"final_video_path": "/tmp/out.mp4"},
+ )
+
+ payload = job.to_dict()
+
+ assert payload["feedback_history"] == history
+ assert payload["job_type"] == "feedback-rerun"
+ assert payload["parent_job_id"] == "todict-parent"
+ # Snapshot semantics: mutating the original list does NOT update
+ # the already-serialized payload.
+ history.append("post-serialize")
+ assert payload["feedback_history"] == [
+ "reviewer: pacing",
+ "user: swap hero shot",
+ ]
+
+
+# --------------------------------------------------------------------- #
+# Worker-thread feedback-rerun happy path (stubbed agents)
+# --------------------------------------------------------------------- #
+
+
+def test_run_feedback_rerun_sync_invokes_agents_and_emits_frames(
+ monkeypatch: pytest.MonkeyPatch,
+) -> None:
+ """``_run_feedback_rerun_sync`` calls all four agents and frames progress.
+
+ We monkeypatch the four helpers imported at the top of
+ :mod:`src.web.jobs` so the happy path runs without touching
+ Gemini, ffmpeg, or the filesystem. ``_with_transient_retry`` is a
+ plain wrapper that invokes the function once on success, so the
+ stubs flow through it unchanged.
+
+ Assertions:
+
+ * Each of the four helpers is called exactly once with the
+ expected args derived from the job's inherited context + the
+ accumulated feedback joined with ``\\n\\n``.
+ * The returned :class:`PipelineResult` carries the refined plan,
+ the stubbed video path, and the stubbed review.
+ * The returned result's ``feedback_history`` matches the job's
+ attribute-level history (not the parent's result blob).
+ * The job's progress log contains all four
+ ``[feedback-rerun] step N`` framing lines in order -- the UI's
+ step indicator depends on these strings.
+ """
+ # Arrange: seed a feedback-rerun job by hand so we don't need the
+ # worker loop at all. The registry method already has unit
+ # coverage above; here we focus purely on the worker-side sequence.
+ job = Job(
+ id="rerun-happy-path",
+ status="pending",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ job_type="feedback-rerun",
+ parent_job_id="rerun-parent",
+ feedback_history=["reviewer: pacing", "user: swap hero shot"],
+ )
+
+ stub_plan = EditPlan(
+ brief=_make_brief(),
+ entries=[],
+ music_path=None,
+ total_duration=15.0,
+ )
+ stub_refined = EditPlan(
+ brief=_make_brief(),
+ entries=[],
+ music_path=None,
+ total_duration=14.0,
+ )
+ stub_video_path = "/tmp/rerun-final.mp4"
+ stub_review = ReviewScore(
+ adherence=0.9,
+ pacing=0.85,
+ visual_quality=0.8,
+ watchability=0.92,
+ overall=0.87,
+ feedback="looks better",
+ )
+
+ director_calls: list[dict] = []
+ refine_calls: list[tuple] = []
+ editor_calls: list[tuple] = []
+ reviewer_calls: list[tuple] = []
+
+ def _fake_director(brief, footage_index_path, *, feedback):
+ director_calls.append(
+ {
+ "brief": brief,
+ "footage_index_path": footage_index_path,
+ "feedback": feedback,
+ }
+ )
+ return stub_plan
+
+ def _fake_refine(plan, footage_index_path):
+ refine_calls.append((plan, footage_index_path))
+ return stub_refined
+
+ def _fake_editor(plan, footage_index_path):
+ editor_calls.append((plan, footage_index_path))
+ return stub_video_path
+
+ def _fake_reviewer(brief, video_path):
+ reviewer_calls.append((brief, video_path))
+ return stub_review
+
+ monkeypatch.setattr(jobs_module, "_run_director_with_feedback", _fake_director)
+ monkeypatch.setattr(jobs_module, "refine_plan", _fake_refine)
+ monkeypatch.setattr(jobs_module, "run_editor", _fake_editor)
+ monkeypatch.setattr(jobs_module, "run_reviewer", _fake_reviewer)
+
+ # Act: drive the re-run sync method directly, same as the worker
+ # would (minus the stdout redirection, which we don't need for the
+ # explicit ``_record_progress`` framing lines we're asserting on).
+ registry = JobRegistry()
+ result = registry._run_feedback_rerun_sync(job)
+
+ # Assert: agents were called once each with the expected args.
+ assert len(director_calls) == 1
+ director_call = director_calls[0]
+ assert director_call["brief"] == job.brief
+ assert director_call["footage_index_path"] == job.footage_index_path
+ assert director_call["feedback"] == "reviewer: pacing\n\nuser: swap hero shot"
+
+ assert len(refine_calls) == 1
+ assert refine_calls[0] == (stub_plan, job.footage_index_path)
+
+ assert len(editor_calls) == 1
+ assert editor_calls[0] == (stub_refined, job.footage_index_path)
+
+ assert len(reviewer_calls) == 1
+ assert reviewer_calls[0] == (job.brief, stub_video_path)
+
+ # Assert: the returned PipelineResult has the expected payload and
+ # echoes the job's feedback history (so the UI can show every
+ # prior round in the detail view).
+ assert isinstance(result, PipelineResult)
+ assert result.edit_plan is stub_refined
+ assert result.final_video_path == stub_video_path
+ assert result.review is stub_review
+ assert result.retries_used == 0
+ assert result.warnings == []
+ assert result.feedback_history == [
+ "reviewer: pacing",
+ "user: swap hero shot",
+ ]
+
+ # Assert: the four framing lines landed in the progress log in
+ # order. We strip the ``[<iso timestamp>] `` prefix that
+ # ``_record_progress`` adds so the assertion is stable against
+ # the actual clock values.
+ framing = [
+ line.split("] ", 1)[-1]
+ for line in job.progress_log
+ if "[feedback-rerun]" in line
+ ]
+ assert framing == [
+ "[feedback-rerun] step 1 -- director (with feedback, history_len=2)",
+ "[feedback-rerun] step 2 -- trim_refiner",
+ "[feedback-rerun] step 3 -- editor",
+ "[feedback-rerun] step 4 -- reviewer",
+ ]
diff --git a/tests/test_web_footage.py b/tests/test_web_footage.py
new file mode 100644
index 0000000..988b98f
--- /dev/null
+++ b/tests/test_web_footage.py
@@ -0,0 +1,347 @@
+"""Tests for the US-009 footage routes.
+
+Covers :mod:`src.web.routes.footage`:
+
+* ``GET /api/footage/search`` -- lexical shot search wrapping
+ :func:`src.tools.analyze.search_moments`.
+* ``GET /api/footage/catalog`` -- full shot catalog access without
+ lexical search.
+
+Strategy mirrors :mod:`tests.test_web_clips`: build real
+:class:`~src.models.schemas.FootageIndex` JSON on disk via a
+``tmp_path`` fixture and exercise the route through
+:class:`fastapi.testclient.TestClient`. Nothing is mocked -- the
+ranker is fast enough that round-tripping through disk + HTTP is
+sub-millisecond per test.
+"""
+
+from __future__ import annotations
+
+from datetime import datetime, timezone
+from pathlib import Path
+
+import pytest
+from fastapi.testclient import TestClient
+
+from src.models.schemas import FootageIndex, Shot
+from src.web.app import app
+
+
+# --------------------------------------------------------------------- #
+# Helpers
+# --------------------------------------------------------------------- #
+
+
+def _make_shot(
+ source_file: str,
+ start_time: float,
+ end_time: float,
+ description: str = "",
+ transcript: str = "",
+ roll_type: str = "a-roll",
+) -> Shot:
+ """Construct a :class:`Shot` with just the fields the search needs."""
+ return Shot(
+ source_file=source_file,
+ start_time=start_time,
+ end_time=end_time,
+ description=description,
+ energy_level=3,
+ relevance_score=0.5,
+ transcript=transcript,
+ words=[],
+ roll_type=roll_type,
+ )
+
+
+def _make_footage_index(shots: list[Shot]) -> FootageIndex:
+ return FootageIndex(
+ source_dir="/tmp/fixture-footage",
+ shots=shots,
+ total_duration=sum(s.end_time - s.start_time for s in shots),
+ created_at=datetime.now(timezone.utc),
+ )
+
+
+def _write_footage_index(index: FootageIndex, tmp_path: Path) -> str:
+ """Serialize ``index`` to a tmp JSON file and return its path."""
+ path = tmp_path / "footage.json"
+ path.write_text(index.model_dump_json())
+ return str(path)
+
+
+def client():
+ """FastAPI TestClient with lifespan = registry spun up."""
+ with TestClient(app) as test_client:
+ yield test_client
+
+
+# --------------------------------------------------------------------- #
+# GET /api/footage/search -- happy path
+# --------------------------------------------------------------------- #
+
+
+def test_search_returns_ranked_shots(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """Happy path: query matches two shots, ranked by relevance."""
+ index = _make_footage_index(
+ [
+ _make_shot(
+ "/tmp/footage/hero.mp4",
+ 0.0,
+ 3.0,
+ description="woman holds a bright red sneaker close to camera",
+ transcript="look at these amazing sneakers",
+ roll_type="b-roll",
+ ),
+ _make_shot(
+ "/tmp/footage/testimonial.mp4",
+ 5.0,
+ 9.5,
+ description="woman speaks directly to camera in kitchen",
+ transcript="i love these new running sneakers",
+ roll_type="a-roll",
+ ),
+ _make_shot(
+ "/tmp/footage/landscape.mp4",
+ 0.0,
+ 4.2,
+ description="sweeping drone shot of desert mountains",
+ transcript="",
+ roll_type="b-roll",
+ ),
+ ]
+ )
+ footage_path = _write_footage_index(index, tmp_path)
+
+ response = client.get(
+ "/api/footage/search",
+ params={
+ "query": "sneakers",
+ "footage_index_path": footage_path,
+ },
+ )
+ assert response.status_code == 200
+ body = response.json()
+
+ assert body["query"] == "sneakers"
+ assert body["footage_index_path"] == footage_path
+ # Two shots match ("sneakers" appears in description or transcript
+ # of both hero.mp4 and testimonial.mp4), the landscape shot does
+ # not.
+ assert body["count"] == 2
+ returned_files = {r["source_file"] for r in body["results"]}
+ assert returned_files == {
+ "/tmp/footage/hero.mp4",
+ "/tmp/footage/testimonial.mp4",
+ }
+
+ first = body["results"][0]
+ assert "shot_id" in first
+ assert "start_time" in first
+ assert "end_time" in first
+ assert "duration" in first
+ assert "source_filename" in first
+ assert "roll_type" in first
+ assert "relevance_score" in first
+ assert "display_label" in first
+ # Relevance scores are in [0, 1] floats.
+ for result in body["results"]:
+ assert 0.0 <= result["relevance_score"] <= 1.0
+
+ # The shot_id must match the ``source_file#start_time`` convention
+ # the PUT validator expects.
+ for result in body["results"]:
+ assert result["shot_id"] == f"{result['source_file']}#{result['start_time']}"
+
+
+def test_catalog_returns_all_shots_without_search(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """Catalog returns every shot, including shots a stopword query misses."""
+ index = _make_footage_index(
+ [
+ _make_shot(
+ "/tmp/footage/quiet.mp4",
+ 0.0,
+ 1.5,
+ description="",
+ transcript="",
+ roll_type="unknown",
+ ),
+ _make_shot(
+ "/tmp/footage/product.mp4",
+ 2.0,
+ 5.25,
+ description="macro shot of packaging",
+ transcript="",
+ roll_type="b-roll",
+ ),
+ _make_shot(
+ "/tmp/footage/founder.mp4",
+ 8.0,
+ 12.0,
+ description="founder speaks to camera",
+ transcript="we built this for creators",
+ roll_type="a-roll",
+ ),
+ ]
+ )
+ footage_path = _write_footage_index(index, tmp_path)
+
+ response = client.get(
+ "/api/footage/catalog",
+ params={"footage_index_path": footage_path},
+ )
+ assert response.status_code == 200
+ body = response.json()
+
+ assert body["footage_index_path"] == footage_path
+ assert body["count"] == 3
+ assert [r["source_file"] for r in body["results"]] == [
+ "/tmp/footage/quiet.mp4",
+ "/tmp/footage/product.mp4",
+ "/tmp/footage/founder.mp4",
+ ]
+
+ first = body["results"][0]
+ for field in (
+ "shot_id",
+ "start_time",
+ "end_time",
+ "duration",
+ "description",
+ "source_file",
+ "display_label",
+ "roll_type",
+ ):
+ assert field in first
+ assert first["shot_id"] == "/tmp/footage/quiet.mp4#0.0"
+ assert first["duration"] == 1.5
+
+
+def test_search_empty_results_is_200(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """Zero matches is a successful response with an empty ``results``."""
+ index = _make_footage_index(
+ [_make_shot("/tmp/footage/a.mp4", 0.0, 1.0, description="red cube")]
+ )
+ footage_path = _write_footage_index(index, tmp_path)
+
+ response = client.get(
+ "/api/footage/search",
+ params={
+ "query": "submarine periscope",
+ "footage_index_path": footage_path,
+ },
+ )
+ assert response.status_code == 200
+ body = response.json()
+ assert body["count"] == 0
+ assert body["results"] == []
+
+
+# --------------------------------------------------------------------- #
+# GET /api/footage/search -- validation failures
+# --------------------------------------------------------------------- #
+
+
+def test_search_empty_query_returns_422(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """Whitespace-only query -> 422 with a field-level error on query."""
+ index = _make_footage_index(
+ [_make_shot("/tmp/footage/a.mp4", 0.0, 1.0)]
+ )
+ footage_path = _write_footage_index(index, tmp_path)
+
+ response = client.get(
+ "/api/footage/search",
+ params={
+ "query": " ",
+ "footage_index_path": footage_path,
+ },
+ )
+ assert response.status_code == 422
+ detail = response.json()["detail"]
+ assert isinstance(detail, list)
+ assert any(
+ "query" in err.get("loc", []) and "empty" in err.get("msg", "").lower()
+ for err in detail
+ )
+
+
+def test_search_missing_footage_index_returns_404(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """Non-existent footage_index_path -> 404."""
+ bogus = tmp_path / "does-not-exist.json"
+ response = client.get(
+ "/api/footage/search",
+ params={
+ "query": "anything",
+ "footage_index_path": str(bogus),
+ },
+ )
+ assert response.status_code == 404
+ assert "not found" in response.json()["detail"].lower()
+
+
+def test_search_malformed_footage_index_returns_404(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """A file that is not a valid FootageIndex -> 404 with a parse hint."""
+ bogus = tmp_path / "garbage.json"
+ bogus.write_text('{"not": "a footage index"}')
+
+ response = client.get(
+ "/api/footage/search",
+ params={
+ "query": "anything",
+ "footage_index_path": str(bogus),
+ },
+ )
+ assert response.status_code == 404
+ detail = response.json()["detail"]
+ assert "footageindex" in detail.lower() or "valid" in detail.lower()
+
+
+def test_search_missing_query_param_returns_422(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """Missing ``query`` query parameter -> FastAPI 422."""
+ index = _make_footage_index(
+ [_make_shot("/tmp/footage/a.mp4", 0.0, 1.0)]
+ )
+ footage_path = _write_footage_index(index, tmp_path)
+
+ response = client.get(
+ "/api/footage/search",
+ params={"footage_index_path": footage_path},
+ )
+ assert response.status_code == 422
+
+
+def test_search_missing_footage_index_path_param_returns_422(
+ client: TestClient,
+) -> None:
+ """Missing ``footage_index_path`` query parameter -> FastAPI 422."""
+ response = client.get(
+ "/api/footage/search",
+ params={"query": "sneakers"},
+ )
+ assert response.status_code == 422
+
+
+# --------------------------------------------------------------------- #
+# Router wiring
+# --------------------------------------------------------------------- #
+
+
+def test_footage_router_is_registered_on_app() -> None:
+ """Smoke check: the app exposes the new search path."""
+ paths = {getattr(route, "path", None) for route in app.routes}
+ assert "/api/footage/search" in paths
diff --git a/tests/test_web_jobs.py b/tests/test_web_jobs.py
new file mode 100644
index 0000000..2b9e48c
--- /dev/null
+++ b/tests/test_web_jobs.py
@@ -0,0 +1,444 @@
+"""Tests for the US-009 ``PUT /api/jobs/{id}/edit-plan`` route.
+
+Covers the edit-plan update endpoint added in :mod:`src.web.routes.jobs`:
+
+* Happy path: a valid revised plan is persisted back onto
+ ``job.result["edit_plan"]`` and returned in the response.
+* Validation failures return HTTP 422 with FastAPI-shaped error
+ bodies (``{"detail": [{"loc": [...], "msg": ..., "type": ...}]}``)
+ describing which field was wrong. Four failure modes are exercised:
+ * unknown ``shot_id`` (404-shaped "shot_not_found" error)
+ * out-of-bounds ``start_trim`` / ``end_trim``
+ * non-contiguous ``position`` values
+ * missing ``shot_id`` field (pydantic coercion layer)
+* 404 for an unknown job id.
+* 409 for a job with ``result=None`` (still running / failed).
+
+Strategy mirrors :mod:`tests.test_web_clips`: seed hand-built
+:class:`~src.web.jobs.Job` instances directly into the registry's
+``_jobs`` dict so the sequential worker never picks them up, and
+drive the routes through :class:`fastapi.testclient.TestClient`.
+"""
+
+from __future__ import annotations
+
+import uuid
+from datetime import datetime, timezone
+from pathlib import Path
+from typing import Any
+
+import pytest
+from fastapi.testclient import TestClient
+
+from src.models.schemas import CreativeBrief, FootageIndex, Shot
+from src.web.app import app
+from src.web.jobs import Job, JobRegistry
+
+
+# --------------------------------------------------------------------- #
+# Helpers
+# --------------------------------------------------------------------- #
+
+
+def _make_brief(product: str = "edit-plan-put-test") -> CreativeBrief:
+ return CreativeBrief(
+ product=product,
+ audience="test-audience",
+ tone="energetic",
+ duration_seconds=15,
+ )
+
+
+def _make_shot(
+ source_file: str,
+ start_time: float,
+ end_time: float,
+ roll_type: str = "a-roll",
+) -> Shot:
+ return Shot(
+ source_file=source_file,
+ start_time=start_time,
+ end_time=end_time,
+ description="fixture shot",
+ energy_level=3,
+ relevance_score=0.5,
+ transcript="",
+ words=[],
+ roll_type=roll_type,
+ )
+
+
+def _make_footage_index(shots: list[Shot]) -> FootageIndex:
+ return FootageIndex(
+ source_dir="/tmp/fixture-footage",
+ shots=shots,
+ total_duration=sum(s.end_time - s.start_time for s in shots),
+ created_at=datetime.now(timezone.utc),
+ )
+
+
+def _write_footage_index(index: FootageIndex, tmp_path: Path) -> str:
+ path = tmp_path / "footage.json"
+ path.write_text(index.model_dump_json())
+ return str(path)
+
+
+def _entry(
+ shot: Shot,
+ position: int,
+ start_trim: float | None = None,
+ end_trim: float | None = None,
+ text_overlay: str | None = None,
+ transition: str | None = None,
+) -> dict[str, Any]:
+ return {
+ "shot_id": f"{shot.source_file}#{shot.start_time}",
+ "start_trim": shot.start_time if start_trim is None else start_trim,
+ "end_trim": shot.end_time if end_trim is None else end_trim,
+ "position": position,
+ "text_overlay": text_overlay,
+ "transition": transition,
+ }
+
+
+def _make_edit_plan(
+ brief: CreativeBrief,
+ entries: list[dict[str, Any]],
+ total_duration: float,
+) -> dict[str, Any]:
+ return {
+ "brief": brief.model_dump(),
+ "entries": entries,
+ "music_path": None,
+ "total_duration": total_duration,
+ }
+
+
+def _seed_completed_job(
+ registry: JobRegistry,
+ *,
+ job_id: str,
+ brief: CreativeBrief,
+ footage_index_path: str,
+ edit_plan: dict[str, Any],
+) -> Job:
+ job = Job(
+ id=job_id,
+ status="completed",
+ brief=brief,
+ footage_index_path=footage_index_path,
+ pipeline_path="/tmp/pipeline.yaml",
+ result={
+ "edit_plan": edit_plan,
+ "final_video_path": "/tmp/final.mp4",
+ "review": None,
+ "retries_used": 0,
+ "warnings": [],
+ "feedback_history": [],
+ },
+ )
+ registry._jobs[job_id] = job
+ return job
+
+
+def client():
+ with TestClient(app) as test_client:
+ yield test_client
+
+
+def _base_fixture(
+ registry: JobRegistry, tmp_path: Path, job_id: str
+) -> tuple[Shot, Shot, CreativeBrief, str]:
+ """Build two shots + a seeded completed job. Returns (shot_a, shot_b, brief, footage_path)."""
+ brief = _make_brief()
+ shot_a = _make_shot("/tmp/footage/intro.mp4", 1.5, 4.7, "a-roll")
+ shot_b = _make_shot("/tmp/footage/product.mp4", 0.0, 3.2, "b-roll")
+ index = _make_footage_index([shot_a, shot_b])
+ footage_path = _write_footage_index(index, tmp_path)
+
+ initial_plan = _make_edit_plan(
+ brief,
+ [
+ _entry(shot_a, position=0, start_trim=1.5, end_trim=3.7),
+ _entry(shot_b, position=1, start_trim=0.0, end_trim=2.0),
+ ],
+ total_duration=4.2,
+ )
+ _seed_completed_job(
+ registry,
+ job_id=job_id,
+ brief=brief,
+ footage_index_path=footage_path,
+ edit_plan=initial_plan,
+ )
+ return shot_a, shot_b, brief, footage_path
+
+
+# --------------------------------------------------------------------- #
+# PUT /api/jobs/{id}/edit-plan -- happy path
+# --------------------------------------------------------------------- #
+
+
+def test_put_edit_plan_persists_valid_plan(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """Valid revised plan -> 200, returned body matches, job.result updates."""
+ registry: JobRegistry = client.app.state.job_registry
+ shot_a, shot_b, brief, _ = _base_fixture(registry, tmp_path, "put-happy")
+
+ # Reorder (swap positions) + tighten trim on shot_a.
+ revised = _make_edit_plan(
+ brief,
+ [
+ _entry(shot_b, position=0, start_trim=0.2, end_trim=2.5),
+ _entry(
+ shot_a,
+ position=1,
+ start_trim=2.0,
+ end_trim=3.5,
+ text_overlay="Hook revised",
+ ),
+ ],
+ total_duration=3.8,
+ )
+
+ response = client.put("/api/jobs/put-happy/edit-plan", json=revised)
+ assert response.status_code == 200
+ body = response.json()
+ saved = body["edit_plan"]
+
+ assert saved["total_duration"] == pytest.approx(3.8)
+ assert len(saved["entries"]) == 2
+ assert saved["entries"][0]["position"] == 0
+ assert saved["entries"][0]["shot_id"] == f"{shot_b.source_file}#{shot_b.start_time}"
+ assert saved["entries"][1]["text_overlay"] == "Hook revised"
+
+ # And the job record must now reflect the update so subsequent GETs
+ # see the new plan.
+ job = registry.get("put-happy")
+ assert job is not None
+ assert job.result is not None
+ persisted = job.result["edit_plan"]
+ assert persisted["entries"][0]["position"] == 0
+ assert persisted["entries"][1]["start_trim"] == pytest.approx(2.0)
+
+
+# --------------------------------------------------------------------- #
+# PUT /api/jobs/{id}/edit-plan -- validation failures
+# --------------------------------------------------------------------- #
+
+
+def test_put_edit_plan_invalid_shot_id_returns_422(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """A shot_id that doesn't resolve against the index -> 422."""
+ registry: JobRegistry = client.app.state.job_registry
+ shot_a, _, brief, _ = _base_fixture(registry, tmp_path, "put-bad-shot")
+
+ bad = _make_edit_plan(
+ brief,
+ [
+ _entry(shot_a, position=0, start_trim=1.5, end_trim=3.0),
+ {
+ "shot_id": "/tmp/footage/ghost.mp4#9.9",
+ "start_trim": 0.0,
+ "end_trim": 1.0,
+ "position": 1,
+ "text_overlay": None,
+ "transition": None,
+ },
+ ],
+ total_duration=2.5,
+ )
+
+ response = client.put("/api/jobs/put-bad-shot/edit-plan", json=bad)
+ assert response.status_code == 422
+ detail = response.json()["detail"]
+ assert isinstance(detail, list)
+ # At least one error references the ghost shot on entries[1].shot_id.
+ matches = [
+ err
+ for err in detail
+ if err.get("loc") == ["body", "entries", 1, "shot_id"]
+ ]
+ assert matches, f"expected shot_id error, got {detail!r}"
+ assert "ghost" in matches[0]["msg"] or "resolve" in matches[0]["msg"].lower()
+ assert matches[0]["type"] == "value_error.shot_not_found"
+
+
+def test_put_edit_plan_out_of_bounds_trim_returns_422(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """A trim outside the shot's [start_time, end_time] -> 422."""
+ registry: JobRegistry = client.app.state.job_registry
+ shot_a, shot_b, brief, _ = _base_fixture(registry, tmp_path, "put-oob-trim")
+
+ # shot_a has start_time=1.5 and end_time=4.7. Push end_trim well
+ # past 4.7 so the bounds check trips.
+ bad = _make_edit_plan(
+ brief,
+ [
+ _entry(shot_a, position=0, start_trim=1.5, end_trim=9.9),
+ _entry(shot_b, position=1, start_trim=0.0, end_trim=2.0),
+ ],
+ total_duration=10.4,
+ )
+
+ response = client.put("/api/jobs/put-oob-trim/edit-plan", json=bad)
+ assert response.status_code == 422
+ detail = response.json()["detail"]
+ assert isinstance(detail, list)
+ # The error must point at entries[0].end_trim.
+ matches = [
+ err
+ for err in detail
+ if err.get("loc") == ["body", "entries", 0, "end_trim"]
+ ]
+ assert matches, f"expected end_trim error, got {detail!r}"
+ assert matches[0]["type"] == "value_error.trim_out_of_bounds"
+
+
+def test_put_edit_plan_out_of_bounds_start_trim_returns_422(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """A start_trim BEFORE the shot's start_time also trips the bounds check."""
+ registry: JobRegistry = client.app.state.job_registry
+ shot_a, shot_b, brief, _ = _base_fixture(
+ registry, tmp_path, "put-oob-start-trim"
+ )
+
+ # shot_a.start_time=1.5; push start_trim to 0.5 which is before
+ # the shot starts.
+ bad = _make_edit_plan(
+ brief,
+ [
+ _entry(shot_a, position=0, start_trim=0.5, end_trim=3.0),
+ _entry(shot_b, position=1, start_trim=0.0, end_trim=2.0),
+ ],
+ total_duration=4.5,
+ )
+
+ response = client.put("/api/jobs/put-oob-start-trim/edit-plan", json=bad)
+ assert response.status_code == 422
+ detail = response.json()["detail"]
+ matches = [
+ err
+ for err in detail
+ if err.get("loc") == ["body", "entries", 0, "start_trim"]
+ ]
+ assert matches, f"expected start_trim error, got {detail!r}"
+ assert matches[0]["type"] == "value_error.trim_out_of_bounds"
+
+
+def test_put_edit_plan_non_contiguous_positions_returns_422(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """Positions must form a contiguous 0..N-1 sequence."""
+ registry: JobRegistry = client.app.state.job_registry
+ shot_a, shot_b, brief, _ = _base_fixture(
+ registry, tmp_path, "put-bad-positions"
+ )
+
+ # Positions [0, 2] instead of [0, 1] -- the plan-level check trips.
+ bad = _make_edit_plan(
+ brief,
+ [
+ _entry(shot_a, position=0, start_trim=1.5, end_trim=3.7),
+ _entry(shot_b, position=2, start_trim=0.0, end_trim=2.0),
+ ],
+ total_duration=4.2,
+ )
+
+ response = client.put("/api/jobs/put-bad-positions/edit-plan", json=bad)
+ assert response.status_code == 422
+ detail = response.json()["detail"]
+ matches = [
+ err
+ for err in detail
+ if err.get("loc") == ["body", "entries"]
+ ]
+ assert matches, f"expected positions error, got {detail!r}"
+ assert matches[0]["type"] == "value_error.positions_not_contiguous"
+
+
+def test_put_edit_plan_missing_shot_id_returns_422(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """Pydantic layer: missing required field -> 422 via model_validate."""
+ registry: JobRegistry = client.app.state.job_registry
+ _, _, brief, _ = _base_fixture(registry, tmp_path, "put-missing-field")
+
+ bad = {
+ "brief": brief.model_dump(),
+ "entries": [
+ {
+ # shot_id intentionally omitted
+ "start_trim": 0.0,
+ "end_trim": 1.0,
+ "position": 0,
+ }
+ ],
+ "music_path": None,
+ "total_duration": 1.0,
+ }
+
+ response = client.put("/api/jobs/put-missing-field/edit-plan", json=bad)
+ assert response.status_code == 422
+ detail = response.json()["detail"]
+ assert isinstance(detail, list)
+ # The pydantic error body uses the full ``loc`` path through the
+ # EditPlan model -- we just confirm some error mentions shot_id.
+ assert any(
+ "shot_id" in str(err.get("loc", [])) for err in detail
+ ), f"expected shot_id missing-field error, got {detail!r}"
+
+
+# --------------------------------------------------------------------- #
+# PUT /api/jobs/{id}/edit-plan -- 404 / 409
+# --------------------------------------------------------------------- #
+
+
+def test_put_edit_plan_unknown_job_returns_404(client: TestClient) -> None:
+ """Unknown job id -> 404 with id in detail."""
+ unknown_id = str(uuid.uuid4())
+ response = client.put(
+ f"/api/jobs/{unknown_id}/edit-plan",
+ json={
+ "brief": _make_brief().model_dump(),
+ "entries": [],
+ "music_path": None,
+ "total_duration": 0.0,
+ },
+ )
+ assert response.status_code == 404
+ assert unknown_id in response.json()["detail"]
+
+
+def test_put_edit_plan_running_job_returns_409(client: TestClient) -> None:
+ """Running job with result=None -> 409 + wait hint."""
+ registry: JobRegistry = client.app.state.job_registry
+ job_id = "put-still-running"
+ job = Job(
+ id=job_id,
+ status="running",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ result=None,
+ )
+ registry._jobs[job_id] = job
+
+ response = client.put(
+ f"/api/jobs/{job_id}/edit-plan",
+ json={
+ "brief": _make_brief().model_dump(),
+ "entries": [],
+ "music_path": None,
+ "total_duration": 0.0,
+ },
+ )
+ assert response.status_code == 409
+ detail = response.json()["detail"]
+ assert "wait" in detail.lower()
+ assert "running" in detail
diff --git a/tests/test_web_jobs_review.py b/tests/test_web_jobs_review.py
new file mode 100644
index 0000000..a16211f
--- /dev/null
+++ b/tests/test_web_jobs_review.py
@@ -0,0 +1,255 @@
+"""Tests for the ``GET /api/jobs/{id}/review`` route (US-006).
+
+The review endpoint returns the :class:`ReviewScore` that the pipeline
+reviewer produced for a completed job, along with the retry bookkeeping
+(``retries_used`` and ``feedback_history``) the review loop populates when
+the reviewer sends the director back for another pass.
+
+These tests exercise the real FastAPI router via
+:class:`fastapi.testclient.TestClient` -- nothing is mocked. The strategy
+mirrors :mod:`tests.test_web_ws`:
+
+* Seed :attr:`src.web.jobs.JobRegistry._jobs` directly with hand-built
+ :class:`Job` instances so we never touch ``run_pipeline`` (which talks
+ to Gemini + ffmpeg and is orders of magnitude too slow to belong in a
+ unit test back-pressure loop).
+* Construct :class:`CreativeBrief` as a real Pydantic model (same
+ ``_make_brief`` helper as ``test_web_ws``) so we exercise the actual
+ ``Job`` dataclass without field-level assumptions.
+* Use the ``TestClient`` context manager so the app's lifespan runs --
+ the registry is attached to ``app.state.job_registry`` during lifespan
+ startup. The sequential worker it spawns never picks up any of our
+ seeded jobs because we bypass ``submit`` (which is what pushes onto the
+ worker queue); our jobs live purely in the ``_jobs`` dict.
+
+Four cases:
+
+1. ``200`` with a fully populated ``review`` dict, ``retries_used=0``,
+ and an empty ``feedback_history``. Asserts the response body matches
+ the serialized :class:`PipelineResult` shape exactly.
+2. ``200`` with ``review=None`` and a non-empty ``feedback_history``
+ to make sure the null review passes straight through and the retry
+ metadata is preserved (the JS side converts this into a "no review
+ yet" empty state via the same 409 path, but the HTTP contract still
+ has to honor the shape).
+3. ``404`` for a random UUID. Asserts the detail string includes the
+ id so the UI can surface a useful error banner.
+4. ``409`` for a job whose ``result`` is still ``None`` (pending or
+ running). Asserts the detail mentions the status and tells the
+ client to "wait".
+"""
+
+from __future__ import annotations
+
+import uuid
+
+import pytest
+from fastapi.testclient import TestClient
+
+from src.models.schemas import CreativeBrief
+from src.web.app import app
+from src.web.jobs import Job, JobRegistry
+
+
+# --------------------------------------------------------------------- #
+# Helpers
+# --------------------------------------------------------------------- #
+
+
+def _make_brief() -> CreativeBrief:
+ """Minimal brief that satisfies :class:`CreativeBrief` validation.
+
+ Kept identical to the ``test_web_ws.py`` helper so the two files
+ share a single mental model of "what a synthetic job looks like."
+ """
+ return CreativeBrief(
+ product="test-product",
+ audience="test-audience",
+ tone="energetic",
+ duration_seconds=15,
+ )
+
+
+def _make_job(job_id: str, result: dict | None, status: str = "completed") -> Job:
+ """Construct a bare :class:`Job` with no running worker behind it.
+
+ ``result`` is inserted as-is so each test case can hand us the exact
+ shape it wants the route to echo back. ``status`` defaults to
+ ``completed`` because that is the happy-path state; the 409 test
+ overrides it to ``running`` to simulate a job that has not reached
+ the reviewer step yet.
+ """
+ return Job(
+ id=job_id,
+ status=status,
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ result=result,
+ )
+
+
+def client():
+ """FastAPI TestClient bound to a lifespan that spins up the registry.
+
+ The ``with`` block is load-bearing: it's what actually runs the
+ ``lifespan`` context manager that attaches a :class:`JobRegistry`
+ instance onto ``app.state.job_registry``. Tests reach into that
+ registry directly to seed jobs (same pattern as ``test_web_ws``).
+ """
+ with TestClient(app) as test_client:
+ yield test_client
+
+
+# --------------------------------------------------------------------- #
+# 200 -- fully populated review
+# --------------------------------------------------------------------- #
+
+
+def test_get_review_returns_full_review_payload(client: TestClient) -> None:
+ """Happy path: seeded job with a full ReviewScore round-trips exactly.
+
+ The route is a thin adapter over ``job.result``, so the test's job
+ is to assert the exact shape the frontend will rely on:
+
+ * ``review`` is the nested ReviewScore dict untouched.
+ * ``retries_used`` is 0 (one-shot review -- no retries).
+ * ``feedback_history`` is an empty list (no retries -> no history).
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ job_id = "review-happy-path"
+ review = {
+ "adherence": 0.9,
+ "pacing": 0.85,
+ "visual_quality": 0.8,
+ "watchability": 0.92,
+ "overall": 0.87,
+ "feedback": "Strong cut overall -- tighten the middle section.",
+ }
+ job = _make_job(
+ job_id,
+ result={
+ "edit_plan": None,
+ "final_video_path": "/tmp/final.mp4",
+ "review": review,
+ "retries_used": 0,
+ "warnings": [],
+ "feedback_history": [],
+ },
+ )
+ registry._jobs[job_id] = job
+
+ response = client.get(f"/api/jobs/{job_id}/review")
+
+ assert response.status_code == 200
+ body = response.json()
+ # The endpoint strips the rest of the PipelineResult fields and
+ # surfaces only the three review-relevant keys.
+ assert set(body.keys()) == {"review", "retries_used", "feedback_history"}
+ assert body["review"] == review
+ assert body["retries_used"] == 0
+ assert body["feedback_history"] == []
+
+
+# --------------------------------------------------------------------- #
+# 200 -- null review with populated history
+# --------------------------------------------------------------------- #
+
+
+def test_get_review_returns_null_review_with_history(client: TestClient) -> None:
+ """A completed job with ``review=None`` still returns 200 + history.
+
+ This case happens when the reviewer bailed out after the retry
+ budget was exhausted: the pipeline finishes (``status='completed'``)
+ but ``result['review']`` is ``None`` because no passing score was
+ ever produced. The retry history is still valuable to the UI -- it
+ lets the collapsible "History" section show every attempt's
+ feedback even when the final chart is blank.
+
+ The contract: pass-through. The route should not coerce ``None`` to
+ an empty dict, and it should not drop the history list.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ job_id = "review-null-with-history"
+ history = ["first attempt: too slow", "second attempt: still drifting"]
+ job = _make_job(
+ job_id,
+ result={
+ "edit_plan": None,
+ "final_video_path": "/tmp/final.mp4",
+ "review": None,
+ "retries_used": 2,
+ "warnings": [],
+ "feedback_history": history,
+ },
+ )
+ registry._jobs[job_id] = job
+
+ response = client.get(f"/api/jobs/{job_id}/review")
+
+ assert response.status_code == 200
+ body = response.json()
+ assert body["review"] is None
+ assert body["retries_used"] == 2
+ # The route calls ``list(...)`` on the stored history so the response
+ # body is a fresh list -- assert equality, not identity.
+ assert body["feedback_history"] == history
+
+
+# --------------------------------------------------------------------- #
+# 404 -- unknown job id
+# --------------------------------------------------------------------- #
+
+
+def test_get_review_returns_404_for_unknown_job(client: TestClient) -> None:
+ """Requesting a random UUID returns 404 with the id in the detail.
+
+ The endpoint uses ``registry.get`` to look up jobs, so an unknown id
+ simply never appears in the ``_jobs`` dict. We intentionally do NOT
+ seed the registry -- fresh lifespan, empty registry, immediate miss.
+
+ We assert the detail *contains* the id rather than comparing the full
+ string so the test stays stable against harmless message tweaks.
+ """
+ unknown_id = str(uuid.uuid4())
+
+ response = client.get(f"/api/jobs/{unknown_id}/review")
+
+ assert response.status_code == 404
+ detail = response.json()["detail"]
+ assert unknown_id in detail
+
+
+# --------------------------------------------------------------------- #
+# 409 -- job exists but has no result yet
+# --------------------------------------------------------------------- #
+
+
+def test_get_review_returns_409_when_result_is_none(client: TestClient) -> None:
+ """A running job with ``result=None`` returns 409, not 404 or 500.
+
+ 409 is the right code because the resource exists (the job id is
+ valid) but is not in a state where the requested sub-resource can
+ be served -- the classic "wait for it" case.
+
+ The frontend depends on two pieces of detail text:
+
+ * the word ``wait``, which it surfaces in a muted banner ("No review
+ yet... wait for the pipeline"),
+ * the current job status, so the user knows whether the run is
+ still in flight or wedged.
+
+ Both must be present in the detail string.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ job_id = "review-still-running"
+ job = _make_job(job_id, result=None, status="running")
+ registry._jobs[job_id] = job
+
+ response = client.get(f"/api/jobs/{job_id}/review")
+
+ assert response.status_code == 409
+ detail = response.json()["detail"]
+ assert "wait" in detail.lower()
+ assert "running" in detail
diff --git a/tests/test_web_render.py b/tests/test_web_render.py
new file mode 100644
index 0000000..7c7e7aa
--- /dev/null
+++ b/tests/test_web_render.py
@@ -0,0 +1,711 @@
+"""Tests for the US-010 editor-only + reviewer-only job routes.
+
+Covers the two endpoints wired by :mod:`src.web.routes.render`:
+
+* ``POST /api/jobs/{job_id}/re-render`` -- validates a user-edited
+ :class:`EditPlan` against the parent job's
+ :class:`~src.models.schemas.FootageIndex` and spawns an
+ ``editor-only`` child that invokes :func:`run_editor` directly
+ (no Director, no Reviewer).
+* ``POST /api/jobs/{job_id}/review-only`` -- spawns a ``reviewer-only``
+ child that runs :func:`run_reviewer` against the parent's latest
+ rendered MP4 without re-rendering anything.
+
+Plus direct coverage of the worker-side sync methods
+:meth:`JobRegistry._run_editor_only_sync` and
+:meth:`JobRegistry._run_reviewer_only_sync`, monkeypatching the two
+agent helpers so the happy path runs deterministically without
+touching Gemini or ffmpeg.
+
+Strategy mirrors the sibling
+:mod:`tests.test_web_feedback` test module:
+
+* :class:`fastapi.testclient.TestClient` with the real lifespan so
+ :class:`JobRegistry` is attached to ``app.state.job_registry``.
+* Seed jobs directly into ``registry._jobs`` so the sequential worker
+ never picks them up (we want the route + registry gates exercised in
+ isolation from actual worker execution).
+* Write a real :class:`FootageIndex` to ``tmp_path`` so the PUT
+ validation helpers
+ (:func:`_load_footage_index_or_422`,
+ :func:`_validate_edit_plan_against_index`) reused by the re-render
+ route actually load something real -- the happy path otherwise
+ hinges on disk I/O that the feedback tests never needed.
+"""
+
+from __future__ import annotations
+
+import uuid
+from datetime import datetime, timezone
+from pathlib import Path
+
+import pytest
+from fastapi.testclient import TestClient
+
+from src.models.schemas import (
+ CreativeBrief,
+ EditPlan,
+ FootageIndex,
+ ReviewScore,
+ Shot,
+)
+from src.pipeline.runner import PipelineResult
+from src.web import jobs as jobs_module
+from src.web.app import app
+from src.web.jobs import Job, JobRegistry
+
+
+# --------------------------------------------------------------------- #
+# Helpers -- shaped to match tests/test_web_clips.py + test_web_feedback
+# --------------------------------------------------------------------- #
+
+
+def _make_brief(product: str = "render-test-product") -> CreativeBrief:
+ """Minimal :class:`CreativeBrief` that passes pydantic validation."""
+ return CreativeBrief(
+ product=product,
+ audience="test-audience",
+ tone="energetic",
+ duration_seconds=15,
+ )
+
+
+def _make_shot(
+ source_file: str,
+ start_time: float,
+ end_time: float,
+ roll_type: str = "a-roll",
+) -> Shot:
+ """Construct a :class:`Shot` with the fields routes + validators read."""
+ return Shot(
+ source_file=source_file,
+ start_time=start_time,
+ end_time=end_time,
+ description="fixture shot",
+ energy_level=5,
+ relevance_score=0.5,
+ transcript="",
+ words=[],
+ roll_type=roll_type,
+ )
+
+
+def _make_footage_index(shots: list[Shot]) -> FootageIndex:
+ """Wrap ``shots`` in a :class:`FootageIndex` with a sensible total."""
+ return FootageIndex(
+ source_dir="/tmp/fixture-footage",
+ shots=shots,
+ total_duration=sum(s.end_time - s.start_time for s in shots),
+ created_at=datetime.now(timezone.utc),
+ )
+
+
+def _write_footage_index(index: FootageIndex, tmp_path: Path) -> str:
+ """Serialize ``index`` to a tmp JSON file and return its path."""
+ path = tmp_path / "footage.json"
+ path.write_text(index.model_dump_json())
+ return str(path)
+
+
+def _entry(
+ shot: Shot,
+ position: int,
+ start_trim: float | None = None,
+ end_trim: float | None = None,
+) -> dict:
+ """Build a serialized ``EditPlanEntry`` dict pointing at ``shot``."""
+ return {
+ "shot_id": f"{shot.source_file}#{shot.start_time}",
+ "start_trim": shot.start_time if start_trim is None else start_trim,
+ "end_trim": shot.end_time if end_trim is None else end_trim,
+ "position": position,
+ "text_overlay": None,
+ "transition": None,
+ }
+
+
+def _make_edit_plan_payload(
+ brief: CreativeBrief,
+ entries: list[dict],
+ total_duration: float,
+) -> dict:
+ """Build the serialized EditPlan dict the route accepts as its body."""
+ return {
+ "brief": brief.model_dump(),
+ "entries": entries,
+ "music_path": None,
+ "total_duration": total_duration,
+ }
+
+
+def _seed_completed_parent(
+ registry: JobRegistry,
+ *,
+ job_id: str,
+ brief: CreativeBrief,
+ footage_index_path: str,
+ edit_plan: dict,
+ final_video_path: str,
+) -> Job:
+ """Seed a completed parent :class:`Job` directly into ``registry._jobs``.
+
+ The sequential worker never sees this job because we bypass
+ :meth:`JobRegistry.submit` -- we just want the registry to contain
+ a parent that the re-render / review-only routes can hang a child
+ off of.
+ """
+ job = Job(
+ id=job_id,
+ status="completed",
+ brief=brief,
+ footage_index_path=footage_index_path,
+ pipeline_path="/tmp/pipeline.yaml",
+ result={
+ "edit_plan": edit_plan,
+ "final_video_path": final_video_path,
+ "review": None,
+ "retries_used": 0,
+ "warnings": [],
+ "feedback_history": [],
+ },
+ )
+ registry._jobs[job_id] = job
+ return job
+
+
+def client():
+ """FastAPI TestClient bound to a lifespan that spins up the registry."""
+ with TestClient(app) as test_client:
+ yield test_client
+
+
+# --------------------------------------------------------------------- #
+# POST /api/jobs/{id}/re-render
+# --------------------------------------------------------------------- #
+
+
+def test_re_render_returns_404_for_unknown_parent(client: TestClient) -> None:
+ """A random parent id returns 404 before any plan validation runs.
+
+ The registry is empty at lifespan startup, so a fresh UUID is
+ guaranteed to miss the lookup. The route must short-circuit with
+ the id echoed in the detail string to match the sibling feedback
+ endpoint.
+ """
+ unknown_id = str(uuid.uuid4())
+ response = client.post(
+ f"/api/jobs/{unknown_id}/re-render",
+ json={
+ "brief": _make_brief().model_dump(),
+ "entries": [],
+ "music_path": None,
+ "total_duration": 15.0,
+ },
+ )
+ assert response.status_code == 404
+ assert unknown_id in response.json()["detail"]
+
+
+def test_re_render_returns_409_when_parent_has_no_result(
+ client: TestClient,
+) -> None:
+ """A parent that is still pending / running returns 409 Conflict.
+
+ Re-rendering requires the parent to have a completed result so
+ the child inherits the right context. We seed a pending parent
+ with no result to exercise the first gate in the route (not the
+ registry -- we want the route's own 409 short-circuit tested).
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ parent = Job(
+ id="render-parent-pending",
+ status="pending",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ )
+ registry._jobs[parent.id] = parent
+
+ response = client.post(
+ f"/api/jobs/{parent.id}/re-render",
+ json={
+ "brief": _make_brief().model_dump(),
+ "entries": [],
+ "music_path": None,
+ "total_duration": 15.0,
+ },
+ )
+ assert response.status_code == 409
+ assert "no result" in response.json()["detail"]
+
+
+def test_re_render_returns_422_for_schema_invalid_body(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """Bad-shape body fails at layer 1 (pydantic ``model_validate``).
+
+ The parent has a valid result so the 409 gate passes; the body is
+ missing required fields (``brief``, ``entries``, etc.) so pydantic
+ kicks it back. We assert 422 and that the response body carries
+ the pydantic-style error list the frontend already knows how to
+ render.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ shot = _make_shot("/tmp/footage/intro.mp4", 0.0, 3.0)
+ index = _make_footage_index([shot])
+ footage_path = _write_footage_index(index, tmp_path)
+ brief = _make_brief()
+ parent = _seed_completed_parent(
+ registry,
+ job_id="render-parent-schema",
+ brief=brief,
+ footage_index_path=footage_path,
+ edit_plan=_make_edit_plan_payload(brief, [_entry(shot, 0)], 3.0),
+ final_video_path="/tmp/parent.mp4",
+ )
+
+ response = client.post(
+ f"/api/jobs/{parent.id}/re-render",
+ json={"nope": "not an edit plan"},
+ )
+ assert response.status_code == 422
+ # FastAPI error shape: list of dicts with 'loc'/'msg'/'type'.
+ detail = response.json()["detail"]
+ assert isinstance(detail, list)
+ assert any("brief" in err.get("loc", []) for err in detail)
+
+
+def test_re_render_returns_422_for_unresolvable_shot(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """Schema-valid body with an unknown shot_id fails at layer 2/3.
+
+ The pydantic coercion passes (the body is a valid EditPlan
+ structurally), but the shot_id points at a source file that does
+ not appear in the parent's footage index. The validation helpers
+ imported from :mod:`src.web.routes.jobs` should catch this and
+ return a 422 with a per-field ``shot_not_found`` error.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ shot = _make_shot("/tmp/footage/intro.mp4", 0.0, 3.0)
+ index = _make_footage_index([shot])
+ footage_path = _write_footage_index(index, tmp_path)
+ brief = _make_brief()
+ parent = _seed_completed_parent(
+ registry,
+ job_id="render-parent-unresolved",
+ brief=brief,
+ footage_index_path=footage_path,
+ edit_plan=_make_edit_plan_payload(brief, [_entry(shot, 0)], 3.0),
+ final_video_path="/tmp/parent.mp4",
+ )
+
+ bogus_entry = {
+ "shot_id": "/tmp/footage/never-existed.mp4#99.9",
+ "start_trim": 0.0,
+ "end_trim": 1.0,
+ "position": 0,
+ "text_overlay": None,
+ "transition": None,
+ }
+ response = client.post(
+ f"/api/jobs/{parent.id}/re-render",
+ json=_make_edit_plan_payload(brief, [bogus_entry], 1.0),
+ )
+ assert response.status_code == 422
+ detail = response.json()["detail"]
+ assert isinstance(detail, list)
+ # At least one error must target the offending shot_id field and
+ # carry the shot_not_found type from the validation helpers.
+ assert any(
+ err.get("type") == "value_error.shot_not_found"
+ and "shot_id" in err.get("loc", [])
+ for err in detail
+ )
+
+
+def test_re_render_happy_path_creates_editor_only_child(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """Happy path: 202 + editor-only child lands in the registry.
+
+ Asserts:
+
+ * The response envelope matches ``{job_id, status, parent_job_id}``
+ so the frontend can subscribe to ``/ws/jobs/{new_id}`` without
+ parsing any additional metadata.
+ * The child :class:`Job` is in the registry with
+ ``job_type="editor-only"``, ``parent_job_id`` pointing at the
+ parent, and ``_editor_plan`` populated with the validated
+ :class:`EditPlan` instance.
+ * The parent's ``result["edit_plan"]`` is **unchanged** -- the
+ whole point of re-render (vs PUT) is that the previous render
+ stays available so the frontend can build a version list.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ shot_a = _make_shot("/tmp/footage/intro.mp4", 0.0, 4.0)
+ shot_b = _make_shot("/tmp/footage/outro.mp4", 2.0, 6.0)
+ index = _make_footage_index([shot_a, shot_b])
+ footage_path = _write_footage_index(index, tmp_path)
+ brief = _make_brief()
+ original_entries = [_entry(shot_a, 0), _entry(shot_b, 1)]
+ parent = _seed_completed_parent(
+ registry,
+ job_id="render-parent-happy",
+ brief=brief,
+ footage_index_path=footage_path,
+ edit_plan=_make_edit_plan_payload(
+ brief, original_entries, 8.0
+ ),
+ final_video_path="/tmp/parent-final.mp4",
+ )
+ original_plan_snapshot = dict(parent.result["edit_plan"])
+
+ # Submit a MODIFIED plan: reverse the order and tighten the trims.
+ modified_entries = [
+ _entry(shot_b, 0, start_trim=2.5, end_trim=5.5),
+ _entry(shot_a, 1, start_trim=0.5, end_trim=3.5),
+ ]
+ response = client.post(
+ f"/api/jobs/{parent.id}/re-render",
+ json=_make_edit_plan_payload(brief, modified_entries, 6.0),
+ )
+ assert response.status_code == 202
+ body = response.json()
+ assert set(body.keys()) == {"job_id", "status", "parent_job_id"}
+ assert body["parent_job_id"] == parent.id
+ assert body["status"] == "pending"
+ assert body["job_id"] != parent.id
+
+ child = registry.get(body["job_id"])
+ assert child is not None
+ assert child.job_type == "editor-only"
+ assert child.parent_job_id == parent.id
+ assert child.brief == parent.brief
+ assert child.footage_index_path == parent.footage_index_path
+ assert child.pipeline_path == parent.pipeline_path
+ # The modified plan should be attached verbatim to the child.
+ assert isinstance(child._editor_plan, EditPlan)
+ assert len(child._editor_plan.entries) == 2
+ assert child._editor_plan.entries[0].position == 0
+ assert child._editor_plan.entries[0].start_trim == 2.5
+ assert child._editor_plan.total_duration == 6.0
+
+ # Parent preservation: its result.edit_plan dict is untouched by
+ # the re-render route so previous renders remain addressable.
+ assert parent.result["edit_plan"] == original_plan_snapshot
+ assert parent.result["final_video_path"] == "/tmp/parent-final.mp4"
+
+
+# --------------------------------------------------------------------- #
+# POST /api/jobs/{id}/review-only
+# --------------------------------------------------------------------- #
+
+
+def test_review_only_returns_404_for_unknown_parent(
+ client: TestClient,
+) -> None:
+ """Unknown parent id short-circuits to 404 before touching the registry."""
+ unknown_id = str(uuid.uuid4())
+ response = client.post(f"/api/jobs/{unknown_id}/review-only")
+ assert response.status_code == 404
+ assert unknown_id in response.json()["detail"]
+
+
+def test_review_only_returns_409_when_parent_has_no_final_video(
+ client: TestClient,
+) -> None:
+ """A completed parent with ``final_video_path=None`` fails the gate.
+
+ The reviewer needs an actual MP4 to score, so
+ :meth:`JobRegistry.submit_reviewer_only` raises ``ValueError``
+ which the route maps to 409. We seed a parent with a result blob
+ that omits the video path.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ parent = Job(
+ id="review-parent-no-video",
+ status="completed",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ result={
+ "edit_plan": None,
+ "final_video_path": None,
+ "review": None,
+ "retries_used": 0,
+ "warnings": [],
+ "feedback_history": [],
+ },
+ )
+ registry._jobs[parent.id] = parent
+
+ response = client.post(f"/api/jobs/{parent.id}/review-only")
+ assert response.status_code == 409
+ assert "final_video_path" in response.json()["detail"]
+
+
+def test_review_only_returns_409_when_final_video_missing_from_disk(
+ client: TestClient,
+) -> None:
+ """Parent has a path but the file is gone -> 409.
+
+ This guards the common case where an output directory got pruned
+ between the parent run and the reviewer-only request. The worker
+ would fail anyway; we prefer to fail fast in the registry gate
+ with a descriptive message.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ parent = Job(
+ id="review-parent-ghost-video",
+ status="completed",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ result={
+ "edit_plan": None,
+ "final_video_path": "/tmp/definitely-not-there.mp4",
+ "review": None,
+ "retries_used": 0,
+ "warnings": [],
+ "feedback_history": [],
+ },
+ )
+ registry._jobs[parent.id] = parent
+
+ response = client.post(f"/api/jobs/{parent.id}/review-only")
+ assert response.status_code == 409
+ assert "does not exist" in response.json()["detail"]
+
+
+def test_review_only_happy_path_creates_reviewer_only_child(
+ client: TestClient, tmp_path: Path
+) -> None:
+ """Happy path: 202 + reviewer-only child lands in the registry.
+
+ Uses a tmp file as the stand-in for the rendered MP4 so the
+ on-disk existence check inside
+ :meth:`JobRegistry.submit_reviewer_only` passes without us having
+ to monkeypatch filesystem access.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ fake_video = tmp_path / "fake-final.mp4"
+ fake_video.write_bytes(b"not a real mp4 but exists on disk")
+ parent = Job(
+ id="review-parent-happy",
+ status="completed",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ result={
+ "edit_plan": None,
+ "final_video_path": str(fake_video),
+ "review": None,
+ "retries_used": 0,
+ "warnings": [],
+ "feedback_history": [],
+ },
+ )
+ registry._jobs[parent.id] = parent
+
+ response = client.post(f"/api/jobs/{parent.id}/review-only")
+ assert response.status_code == 202
+ body = response.json()
+ assert set(body.keys()) == {"job_id", "status", "parent_job_id"}
+ assert body["parent_job_id"] == parent.id
+ assert body["status"] == "pending"
+
+ child = registry.get(body["job_id"])
+ assert child is not None
+ assert child.job_type == "reviewer-only"
+ assert child.parent_job_id == parent.id
+ assert child.brief == parent.brief
+ assert child._reviewer_target_video == str(fake_video)
+
+
+# --------------------------------------------------------------------- #
+# Worker-thread editor-only happy path (stubbed agent)
+# --------------------------------------------------------------------- #
+
+
+def test_run_editor_only_sync_calls_editor_and_emits_frame(
+ monkeypatch: pytest.MonkeyPatch,
+) -> None:
+ """``_run_editor_only_sync`` calls :func:`run_editor` and frames progress.
+
+ We monkeypatch ``run_editor`` at the :mod:`src.web.jobs` module
+ level so the sync path never touches ffmpeg. Assertions:
+
+ * :func:`run_editor` is called once with the stashed
+ ``_editor_plan`` and the job's inherited ``footage_index_path``.
+ * The returned :class:`PipelineResult` carries the same plan, the
+ stubbed video path, ``review=None``, and the job's feedback
+ history (inherited from the parent).
+ * The job's progress log contains the
+ ``[editor-only] step 1 -- editor`` framing line the UI's step
+ indicator depends on.
+ """
+ plan = EditPlan(
+ brief=_make_brief(),
+ entries=[],
+ music_path=None,
+ total_duration=10.0,
+ )
+ job = Job(
+ id="editor-only-happy",
+ status="pending",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ job_type="editor-only",
+ parent_job_id="editor-only-parent",
+ feedback_history=["reviewer: tighten"],
+ )
+ job._editor_plan = plan
+
+ editor_calls: list[tuple] = []
+
+ def _fake_editor(edit_plan, footage_index_path):
+ editor_calls.append((edit_plan, footage_index_path))
+ return "/tmp/rerender-out.mp4"
+
+ monkeypatch.setattr(jobs_module, "run_editor", _fake_editor)
+
+ registry = JobRegistry()
+ result = registry._run_editor_only_sync(job)
+
+ assert len(editor_calls) == 1
+ assert editor_calls[0] == (plan, job.footage_index_path)
+
+ assert isinstance(result, PipelineResult)
+ assert result.edit_plan is plan
+ assert result.final_video_path == "/tmp/rerender-out.mp4"
+ assert result.review is None
+ assert result.retries_used == 0
+ assert result.warnings == []
+ assert result.feedback_history == ["reviewer: tighten"]
+
+ # Strip the ``[<iso>] `` prefix and confirm our framing line is
+ # present in order.
+ framing = [
+ line.split("] ", 1)[-1]
+ for line in job.progress_log
+ if "[editor-only]" in line
+ ]
+ assert framing == ["[editor-only] step 1 -- editor"]
+
+
+# --------------------------------------------------------------------- #
+# Worker-thread reviewer-only happy path (stubbed agent)
+# --------------------------------------------------------------------- #
+
+
+def test_run_reviewer_only_sync_calls_reviewer_and_emits_frame(
+ monkeypatch: pytest.MonkeyPatch,
+) -> None:
+ """``_run_reviewer_only_sync`` calls :func:`run_reviewer` and frames progress.
+
+ Monkeypatches ``run_reviewer`` on :mod:`src.web.jobs` so the sync
+ path returns a deterministic :class:`ReviewScore`. Asserts:
+
+ * :func:`run_reviewer` is called once with the job's brief and the
+ stashed ``_reviewer_target_video`` path.
+ * The returned :class:`PipelineResult` has ``edit_plan=None`` and
+ ``final_video_path`` echoing the reviewed MP4 (so the
+ ``_serialize_result`` output is uniform with the editor-only
+ case).
+ * The ``review`` field contains our stub.
+ * The framing line ``[reviewer-only] step 1 -- reviewer`` lands in
+ the progress log.
+ """
+ stub_review = ReviewScore(
+ adherence=0.95,
+ pacing=0.9,
+ visual_quality=0.85,
+ watchability=0.92,
+ overall=0.91,
+ feedback="solid",
+ )
+
+ job = Job(
+ id="reviewer-only-happy",
+ status="pending",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ job_type="reviewer-only",
+ parent_job_id="reviewer-only-parent",
+ )
+ job._reviewer_target_video = "/tmp/fake-for-review.mp4"
+
+ reviewer_calls: list[tuple] = []
+
+ def _fake_reviewer(brief, video_path):
+ reviewer_calls.append((brief, video_path))
+ return stub_review
+
+ monkeypatch.setattr(jobs_module, "run_reviewer", _fake_reviewer)
+
+ registry = JobRegistry()
+ result = registry._run_reviewer_only_sync(job)
+
+ assert len(reviewer_calls) == 1
+ assert reviewer_calls[0] == (job.brief, "/tmp/fake-for-review.mp4")
+
+ assert isinstance(result, PipelineResult)
+ assert result.edit_plan is None
+ assert result.final_video_path == "/tmp/fake-for-review.mp4"
+ assert result.review is stub_review
+ assert result.retries_used == 0
+ assert result.warnings == []
+ assert result.feedback_history == []
+
+ framing = [
+ line.split("] ", 1)[-1]
+ for line in job.progress_log
+ if "[reviewer-only]" in line
+ ]
+ assert framing == ["[reviewer-only] step 1 -- reviewer"]
+
+
+# --------------------------------------------------------------------- #
+# Job dataclass contract: new job types in summary + to_dict
+# --------------------------------------------------------------------- #
+
+
+def test_job_summary_and_to_dict_expose_editor_only_job_type() -> None:
+ """``Job.summary`` + ``Job.to_dict`` must carry the new ``job_type`` value.
+
+ The sidebar list and detail view both rely on ``job_type`` to
+ render editor-only / reviewer-only rows differently (and to link
+ them back to their parent). Locking the contract here prevents a
+ later dataclass refactor from silently dropping it.
+ """
+ editor_job = Job(
+ id="summary-editor",
+ status="pending",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ job_type="editor-only",
+ parent_job_id="summary-parent",
+ )
+ summary = editor_job.summary()
+ assert summary["job_type"] == "editor-only"
+ assert summary["parent_job_id"] == "summary-parent"
+ payload = editor_job.to_dict()
+ assert payload["job_type"] == "editor-only"
+ assert payload["parent_job_id"] == "summary-parent"
+
+ reviewer_job = Job(
+ id="summary-reviewer",
+ status="pending",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ job_type="reviewer-only",
+ parent_job_id="summary-parent",
+ )
+ assert reviewer_job.summary()["job_type"] == "reviewer-only"
+ assert reviewer_job.to_dict()["job_type"] == "reviewer-only"
diff --git a/tests/test_web_ws.py b/tests/test_web_ws.py
new file mode 100644
index 0000000..5c3a5f5
--- /dev/null
+++ b/tests/test_web_ws.py
@@ -0,0 +1,483 @@
+"""Tests for the WebSocket progress stream (US-003).
+
+These tests exercise three layers:
+
+1. :class:`src.web.jobs.Job` subscriber plumbing in isolation — making
+ sure ``subscribe`` / ``_record_progress`` / ``finalize`` / the
+ stream-end sentinel all behave correctly without needing to spin up
+ a FastAPI app.
+2. The FastAPI WebSocket route end-to-end via
+ :class:`fastapi.testclient.TestClient`, covering unknown ids,
+ replay of existing progress, terminal messaging, and multi-subscriber
+ fan-out.
+3. The replay path for an already-terminal job (completed and failed).
+
+All tests seed the :class:`JobRegistry` directly to avoid spinning up
+``run_pipeline`` — that function talks to Gemini and ffmpeg and is
+orders of magnitude too slow (and too network-dependent) to be part of
+a unit-test back-pressure loop.
+"""
+
+from __future__ import annotations
+
+import asyncio
+
+import pytest
+from fastapi.testclient import TestClient
+
+from src.models.schemas import CreativeBrief
+from src.web.app import app
+from src.web.jobs import _STREAM_END, Job, JobRegistry
+
+
+# --------------------------------------------------------------------- #
+# Helpers
+# --------------------------------------------------------------------- #
+
+
+def _make_brief() -> CreativeBrief:
+ """Minimal brief that satisfies :class:`CreativeBrief` validation."""
+ return CreativeBrief(
+ product="test-product",
+ audience="test-audience",
+ tone="energetic",
+ duration_seconds=15,
+ )
+
+
+def _make_job(job_id: str = "job-1") -> Job:
+ """Construct a bare :class:`Job` with no running worker behind it."""
+ return Job(
+ id=job_id,
+ status="pending",
+ brief=_make_brief(),
+ footage_index_path="/tmp/footage.json",
+ pipeline_path="/tmp/pipeline.yaml",
+ )
+
+
+# --------------------------------------------------------------------- #
+# Unit tests: Job subscriber plumbing (no FastAPI)
+# --------------------------------------------------------------------- #
+
+
+def test_subscribe_returns_empty_replay_for_new_job() -> None:
+ """A fresh job has nothing to replay and is not terminal yet."""
+ job = _make_job()
+ queue, replay, terminal = job.subscribe()
+
+ assert replay == []
+ assert terminal is False
+ assert isinstance(queue, asyncio.Queue)
+
+
+def test_record_progress_fans_out_to_subscribers() -> None:
+ """Events recorded after subscribe land on every registered queue."""
+ job = _make_job()
+ q1, _, _ = job.subscribe()
+ q2, _, _ = job.subscribe()
+
+ job._record_progress("line one", "2025-01-01T00:00:00+00:00")
+ job._record_progress("line two", "2025-01-01T00:00:01+00:00")
+
+ # Both queues should have received both events in order.
+ evt1a = q1.get_nowait()
+ evt1b = q1.get_nowait()
+ evt2a = q2.get_nowait()
+ evt2b = q2.get_nowait()
+
+ assert evt1a == {
+ "type": "progress",
+ "line": "line one",
+ "timestamp": "2025-01-01T00:00:00+00:00",
+ }
+ assert evt1b["line"] == "line two"
+ assert evt2a == evt1a
+ assert evt2b == evt1b
+
+
+def test_subscribe_snapshot_captures_pre_existing_entries() -> None:
+ """A subscriber that joins mid-run sees every prior event via replay."""
+ job = _make_job()
+ job._record_progress("first", "2025-01-01T00:00:00+00:00")
+ job._record_progress("second", "2025-01-01T00:00:01+00:00")
+
+ queue, replay, terminal = job.subscribe()
+
+ assert [entry["line"] for entry in replay] == ["first", "second"]
+ assert terminal is False
+ # The queue itself should be empty — past events are delivered via
+ # the replay list, not pushed retroactively.
+ assert queue.empty()
+
+
+def test_finalize_emits_terminal_events_and_sentinel() -> None:
+ """Completing a job pushes status, result, and stream-end in order."""
+ job = _make_job()
+ queue, _, _ = job.subscribe()
+
+ job.result = {"edit_plan": None, "final_video_path": "/tmp/out.mp4"}
+ job.status = "completed"
+ job.finalize(
+ {"type": "status", "status": "completed"},
+ {"type": "result", "data": job.result},
+ )
+
+ assert queue.get_nowait() == {"type": "status", "status": "completed"}
+ assert queue.get_nowait() == {
+ "type": "result",
+ "data": {"edit_plan": None, "final_video_path": "/tmp/out.mp4"},
+ }
+ assert queue.get_nowait() is _STREAM_END
+
+
+def test_finalize_is_idempotent() -> None:
+ """Calling finalize twice does not double-publish terminal events."""
+ job = _make_job()
+ queue, _, _ = job.subscribe()
+
+ job.finalize({"type": "status", "status": "completed"})
+ job.finalize({"type": "status", "status": "completed"})
+
+ assert queue.get_nowait() == {"type": "status", "status": "completed"}
+ assert queue.get_nowait() is _STREAM_END
+ assert queue.empty()
+
+
+def test_enqueue_terminal_for_completed_job() -> None:
+ """A late subscriber can recover terminal state from stored fields."""
+ job = _make_job()
+ job.status = "completed"
+ job.result = {"edit_plan": None, "final_video_path": "/tmp/out.mp4"}
+ # Simulate that finalize already ran — the late subscriber misses
+ # the original broadcast and has to synthesize its own copy.
+ job._terminal = True
+
+ queue, _, terminal = job.subscribe()
+ assert terminal is True
+
+ job.enqueue_terminal(queue)
+
+ assert queue.get_nowait() == {"type": "status", "status": "completed"}
+ assert queue.get_nowait() == {
+ "type": "result",
+ "data": {"edit_plan": None, "final_video_path": "/tmp/out.mp4"},
+ }
+ assert queue.get_nowait() is _STREAM_END
+
+
+def test_enqueue_terminal_for_failed_job() -> None:
+ """A failed job surfaces the error in the synthesized status message."""
+ job = _make_job()
+ job.status = "failed"
+ job.error = "BoomError: something exploded"
+ job._terminal = True
+
+ queue, _, terminal = job.subscribe()
+ assert terminal is True
+
+ job.enqueue_terminal(queue)
+
+ assert queue.get_nowait() == {
+ "type": "status",
+ "status": "failed",
+ "error": "BoomError: something exploded",
+ }
+ assert queue.get_nowait() is _STREAM_END
+
+
+def test_remove_subscriber_stops_events() -> None:
+ """Unregistering a queue means further publishes skip it."""
+ job = _make_job()
+ queue, _, _ = job.subscribe()
+
+ job._record_progress("first", "2025-01-01T00:00:00+00:00")
+ job.remove_subscriber(queue)
+ job._record_progress("second", "2025-01-01T00:00:01+00:00")
+
+ assert queue.get_nowait()["line"] == "first"
+ assert queue.empty()
+
+
+# --------------------------------------------------------------------- #
+# WebSocket integration tests
+# --------------------------------------------------------------------- #
+
+
+def client():
+ """FastAPI TestClient bound to a lifespan that spins up the registry."""
+ with TestClient(app) as test_client:
+ yield test_client
+
+
+def test_ws_unknown_job_closes_with_4004(client: TestClient) -> None:
+ """Connecting to a nonexistent job id closes with code 4004."""
+ with pytest.raises(Exception) as exc_info:
+ with client.websocket_connect("/ws/jobs/does-not-exist") as ws:
+ ws.receive_json()
+
+ # Starlette raises WebSocketDisconnect when the server closes.
+ from starlette.websockets import WebSocketDisconnect
+
+ assert isinstance(exc_info.value, WebSocketDisconnect)
+ assert exc_info.value.code == 4004
+
+
+def test_ws_replays_existing_progress_log_on_connect(
+ client: TestClient,
+) -> None:
+ """A client connecting to a live job gets every past progress entry."""
+ registry: JobRegistry = client.app.state.job_registry
+ job = _make_job("ws-replay")
+ # Seed the registry directly so we never run the real pipeline.
+ registry._jobs[job.id] = job
+ job._record_progress("step one", "2025-01-01T00:00:00+00:00")
+ job._record_progress("step two", "2025-01-01T00:00:01+00:00")
+
+ # Finalize the job so the server closes the WS after replay instead
+ # of waiting forever for live events that will never arrive.
+ job.status = "completed"
+ job.result = {"edit_plan": None, "final_video_path": "/tmp/out.mp4"}
+ job.finalize(
+ {"type": "status", "status": "completed"},
+ {"type": "result", "data": job.result},
+ )
+
+ with client.websocket_connect(f"/ws/jobs/{job.id}") as ws:
+ first = ws.receive_json()
+ second = ws.receive_json()
+ status = ws.receive_json()
+ result = ws.receive_json()
+
+ assert first == {
+ "type": "progress",
+ "line": "step one",
+ "timestamp": "2025-01-01T00:00:00+00:00",
+ }
+ assert second["line"] == "step two"
+ assert status == {"type": "status", "status": "completed"}
+ assert result["type"] == "result"
+ assert result["data"]["final_video_path"] == "/tmp/out.mp4"
+
+
+def test_ws_streams_terminal_completed_and_result(
+ client: TestClient,
+) -> None:
+ """Completed job: terminal status + result messages reach the client."""
+ registry: JobRegistry = client.app.state.job_registry
+ job = _make_job("ws-completed")
+ registry._jobs[job.id] = job
+ job.status = "completed"
+ job.result = {
+ "edit_plan": None,
+ "final_video_path": "/tmp/final.mp4",
+ "review": None,
+ "retries_used": 0,
+ "warnings": [],
+ "feedback_history": [],
+ }
+ job.finalize(
+ {"type": "status", "status": "completed"},
+ {"type": "result", "data": job.result},
+ )
+
+ with client.websocket_connect(f"/ws/jobs/{job.id}") as ws:
+ status = ws.receive_json()
+ result = ws.receive_json()
+
+ assert status == {"type": "status", "status": "completed"}
+ assert result == {"type": "result", "data": job.result}
+
+
+def test_ws_streams_terminal_failed_with_error(client: TestClient) -> None:
+ """Failed job: terminal status message includes the error string."""
+ registry: JobRegistry = client.app.state.job_registry
+ job = _make_job("ws-failed")
+ registry._jobs[job.id] = job
+ job.status = "failed"
+ job.error = "RuntimeError: pipeline exploded"
+ job.finalize(
+ {
+ "type": "status",
+ "status": "failed",
+ "error": job.error,
+ }
+ )
+
+ with client.websocket_connect(f"/ws/jobs/{job.id}") as ws:
+ status = ws.receive_json()
+
+ assert status == {
+ "type": "status",
+ "status": "failed",
+ "error": "RuntimeError: pipeline exploded",
+ }
+
+
+def test_ws_supports_multiple_simultaneous_subscribers(
+ client: TestClient,
+) -> None:
+ """Two clients connected to the same job see identical replay streams."""
+ registry: JobRegistry = client.app.state.job_registry
+ job = _make_job("ws-multi")
+ registry._jobs[job.id] = job
+ job._record_progress("alpha", "2025-01-01T00:00:00+00:00")
+ job._record_progress("beta", "2025-01-01T00:00:01+00:00")
+ job.status = "completed"
+ job.result = {"final_video_path": "/tmp/out.mp4"}
+ job.finalize(
+ {"type": "status", "status": "completed"},
+ {"type": "result", "data": job.result},
+ )
+
+ def _drain(ws) -> list[dict]:
+ out: list[dict] = []
+ out.append(ws.receive_json()) # progress alpha
+ out.append(ws.receive_json()) # progress beta
+ out.append(ws.receive_json()) # status completed
+ out.append(ws.receive_json()) # result
+ return out
+
+ with client.websocket_connect(f"/ws/jobs/{job.id}") as ws1:
+ messages_a = _drain(ws1)
+
+ with client.websocket_connect(f"/ws/jobs/{job.id}") as ws2:
+ messages_b = _drain(ws2)
+
+ assert messages_a == messages_b
+ assert messages_a[0]["line"] == "alpha"
+ assert messages_a[1]["line"] == "beta"
+ assert messages_a[2] == {"type": "status", "status": "completed"}
+ assert messages_a[3]["type"] == "result"
+
+
+def test_ws_fans_out_live_event_to_concurrent_subscribers(
+ client: TestClient,
+) -> None:
+ """Two WS clients held open AT THE SAME TIME both receive one live event.
+
+ The existing ``test_ws_supports_multiple_simultaneous_subscribers``
+ covers sequential replay consistency — it connects ``ws1``, drains it,
+ closes it, *then* opens ``ws2``. That proves replay is
+ deterministic but does not exercise the queue fan-out path for
+ concurrently-registered subscribers, which is what AC#8 ("Multiple
+ clients can subscribe to the same job simultaneously") actually
+ demands.
+
+ This test holds both sockets open with nested context managers, emits
+ a live progress event from the handler's event loop thread via the
+ TestClient anyio portal (same trick the live-progress test uses), and
+ asserts both sockets receive the identical event before either one
+ closes.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ job = _make_job("ws-concurrent-fanout")
+ registry._jobs[job.id] = job
+
+ # Capture the handler-side event loop so ``_record_progress`` can
+ # schedule ``put_nowait`` onto the correct loop via
+ # ``call_soon_threadsafe``. Without this the publish path would
+ # fall through to the direct ``put_nowait`` branch — which would
+ # still work for this test, but we want to exercise the real
+ # worker-thread path.
+ def _capture_loop() -> None:
+ job._event_loop = asyncio.get_running_loop()
+
+ client.portal.call(_capture_loop)
+
+ def _emit_live_line() -> None:
+ job._record_progress("fanout-1", "2025-01-01T00:00:10+00:00")
+
+ def _finalize() -> None:
+ job.status = "completed"
+ job.result = {"final_video_path": "/tmp/out.mp4"}
+ job.finalize(
+ {"type": "status", "status": "completed"},
+ {"type": "result", "data": job.result},
+ )
+
+ with client.websocket_connect(f"/ws/jobs/{job.id}") as ws1:
+ with client.websocket_connect(f"/ws/jobs/{job.id}") as ws2:
+ # Both sockets are subscribed at this point. Emit one live
+ # progress event — the job's publish fan-out should put it
+ # on BOTH subscriber queues.
+ client.portal.call(_emit_live_line)
+
+ msg_a = ws1.receive_json()
+ msg_b = ws2.receive_json()
+
+ expected = {
+ "type": "progress",
+ "line": "fanout-1",
+ "timestamp": "2025-01-01T00:00:10+00:00",
+ }
+ assert msg_a == expected
+ assert msg_b == expected
+
+ # Finalize so both sockets close cleanly inside their
+ # context managers.
+ client.portal.call(_finalize)
+
+ status_a = ws1.receive_json()
+ result_a = ws1.receive_json()
+ status_b = ws2.receive_json()
+ result_b = ws2.receive_json()
+
+ assert status_a == {"type": "status", "status": "completed"}
+ assert status_b == status_a
+ assert result_a["type"] == "result"
+ assert result_b["type"] == "result"
+
+
+def test_ws_streams_live_progress_to_active_subscriber(
+ client: TestClient,
+) -> None:
+ """Events recorded after the connect also flow through the socket.
+
+ TestClient runs the ASGI app on a background anyio portal — the
+ real ``JobRegistry`` worker thread does the same dance for live
+ pipelines — so we use ``client.portal.call`` to run the publish
+ from *inside* the handler's event loop thread. That exercises the
+ full ``_record_progress`` → ``_publish_locked`` path without the
+ cross-thread marshalling complexity asyncio.to_thread would add.
+ """
+ registry: JobRegistry = client.app.state.job_registry
+ job = _make_job("ws-live")
+ registry._jobs[job.id] = job
+
+ def _capture_loop() -> None:
+ job._event_loop = asyncio.get_running_loop()
+
+ client.portal.call(_capture_loop)
+
+ def _emit_live_line() -> None:
+ job._record_progress("live-1", "2025-01-01T00:00:05+00:00")
+
+ def _finalize() -> None:
+ job.status = "completed"
+ job.result = {"final_video_path": "/tmp/out.mp4"}
+ job.finalize(
+ {"type": "status", "status": "completed"},
+ {"type": "result", "data": job.result},
+ )
+
+ with client.websocket_connect(f"/ws/jobs/{job.id}") as ws:
+ # Emit a progress line from the portal thread (where the
+ # handler's event loop lives) so the handler's ``queue.get``
+ # wakes up and forwards the message.
+ client.portal.call(_emit_live_line)
+ live_msg = ws.receive_json()
+
+ # Finalize to close the socket cleanly.
+ client.portal.call(_finalize)
+ status_msg = ws.receive_json()
+ result_msg = ws.receive_json()
+
+ assert live_msg == {
+ "type": "progress",
+ "line": "live-1",
+ "timestamp": "2025-01-01T00:00:05+00:00",
+ }
+ assert status_msg == {"type": "status", "status": "completed"}
+ assert result_msg["type"] == "result"
diff --git a/uv.lock b/uv.lock
new file mode 100644
index 0000000..6fe95f7
--- /dev/null
+++ b/uv.lock
@@ -0,0 +1,3767 @@
+version = 1
+revision = 1
+requires-python = ">=3.11"
+resolution-markers = [
+ "python_full_version >= '3.14'",
+ "python_full_version == '3.13.*'",
+ "python_full_version < '3.13'",
+]
+
+[[package]]
+name = "agentic-video-editor"
+version = "0.1.0"
+source = { editable = "." }
+dependencies = [
+ { name = "click" },
+ { name = "fastapi" },
+ { name = "faster-whisper" },
+ { name = "google-adk" },
+ { name = "google-genai" },
+ { name = "moviepy" },
+ { name = "pydantic" },
+ { name = "pysubs2" },
+ { name = "pyyaml" },
+ { name = "scenedetect", extra = ["opencv"] },
+ { name = "uvicorn", extra = ["standard"] },
+ { name = "websockets" },
+]
+
+[package.dev-dependencies]
+dev = [
+ { name = "pytest" },
+]
+
+[package.metadata]
+requires-dist = [
+ { name = "click", specifier = ">=8.1" },
+ { name = "fastapi", specifier = ">=0.115" },
+ { name = "faster-whisper", specifier = ">=1.0.0" },
+ { name = "google-adk", specifier = ">=1.0.0" },
+ { name = "google-genai", specifier = ">=1.0.0" },
+ { name = "moviepy", specifier = ">=2.0" },
+ { name = "pydantic", specifier = ">=2.0" },
+ { name = "pysubs2", specifier = ">=1.7" },
+ { name = "pyyaml", specifier = ">=6.0" },
+ { name = "scenedetect", extras = ["opencv"], specifier = ">=0.6" },
+ { name = "uvicorn", extras = ["standard"], specifier = ">=0.30" },
+ { name = "websockets", specifier = ">=13" },
+]
+
+[package.metadata.requires-dev]
+dev = [{ name = "pytest", specifier = ">=9.0.3" }]
+
+[[package]]
+name = "aiohappyeyeballs"
+version = "2.6.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/26/30/f84a107a9c4331c14b2b586036f40965c128aa4fee4dda5d3d51cb14ad54/aiohappyeyeballs-2.6.1.tar.gz", hash = "sha256:c3f9d0113123803ccadfdf3f0faa505bc78e6a72d1cc4806cbd719826e943558", size = 22760 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0f/15/5bf3b99495fb160b63f95972b81750f18f7f4e02ad051373b669d17d44f2/aiohappyeyeballs-2.6.1-py3-none-any.whl", hash = "sha256:f349ba8f4b75cb25c99c5c2d84e997e485204d2902a9597802b0371f09331fb8", size = 15265 },
+]
+
+[[package]]
+name = "aiohttp"
+version = "3.13.5"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "aiohappyeyeballs" },
+ { name = "aiosignal" },
+ { name = "attrs" },
+ { name = "frozenlist" },
+ { name = "multidict" },
+ { name = "propcache" },
+ { name = "yarl" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/77/9a/152096d4808df8e4268befa55fba462f440f14beab85e8ad9bf990516918/aiohttp-3.13.5.tar.gz", hash = "sha256:9d98cc980ecc96be6eb4c1994ce35d28d8b1f5e5208a23b421187d1209dbb7d1", size = 7858271 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d6/f5/a20c4ac64aeaef1679e25c9983573618ff765d7aa829fa2b84ae7573169e/aiohttp-3.13.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:7ab7229b6f9b5c1ba4910d6c41a9eb11f543eadb3f384df1b4c293f4e73d44d6", size = 757513 },
+ { url = "https://files.pythonhosted.org/packages/75/0a/39fa6c6b179b53fcb3e4b3d2b6d6cad0180854eda17060c7218540102bef/aiohttp-3.13.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:8f14c50708bb156b3a3ca7230b3d820199d56a48e3af76fa21c2d6087190fe3d", size = 506748 },
+ { url = "https://files.pythonhosted.org/packages/87/ec/e38ce072e724fd7add6243613f8d1810da084f54175353d25ccf9f9c7e5a/aiohttp-3.13.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e7d2f8616f0ff60bd332022279011776c3ac0faa0f1b463f7bb12326fbc97a1c", size = 501673 },
+ { url = "https://files.pythonhosted.org/packages/ba/ba/3bc7525d7e2beaa11b309a70d48b0d3cfc3c2089ec6a7d0820d59c657053/aiohttp-3.13.5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a2567b72e1ffc3ab25510db43f355b29eeada56c0a622e58dcdb19530eb0a3cb", size = 1763757 },
+ { url = "https://files.pythonhosted.org/packages/5e/ab/e87744cf18f1bd78263aba24924d4953b41086bd3a31d22452378e9028a0/aiohttp-3.13.5-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:fb0540c854ac9c0c5ad495908fdfd3e332d553ec731698c0e29b1877ba0d2ec6", size = 1720152 },
+ { url = "https://files.pythonhosted.org/packages/6b/f3/ed17a6f2d742af17b50bae2d152315ed1b164b07a5fd5cc1754d99e4dfa5/aiohttp-3.13.5-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c9883051c6972f58bfc4ebb2116345ee2aa151178e99c3f2b2bbe2af712abd13", size = 1818010 },
+ { url = "https://files.pythonhosted.org/packages/53/06/ecbc63dc937192e2a5cb46df4d3edb21deb8225535818802f210a6ea5816/aiohttp-3.13.5-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2294172ce08a82fb7c7273485895de1fa1186cc8294cfeb6aef4af42ad261174", size = 1907251 },
+ { url = "https://files.pythonhosted.org/packages/7e/a5/0521aa32c1ddf3aa1e71dcc466be0b7db2771907a13f18cddaa45967d97b/aiohttp-3.13.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3a807cabd5115fb55af198b98178997a5e0e57dead43eb74a93d9c07d6d4a7dc", size = 1759969 },
+ { url = "https://files.pythonhosted.org/packages/f6/78/a38f8c9105199dd3b9706745865a8a59d0041b6be0ca0cc4b2ccf1bab374/aiohttp-3.13.5-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:aa6d0d932e0f39c02b80744273cd5c388a2d9bc07760a03164f229c8e02662f6", size = 1616871 },
+ { url = "https://files.pythonhosted.org/packages/6f/41/27392a61ead8ab38072105c71aa44ff891e71653fe53d576a7067da2b4e8/aiohttp-3.13.5-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:60869c7ac4aaabe7110f26499f3e6e5696eae98144735b12a9c3d9eae2b51a49", size = 1739844 },
+ { url = "https://files.pythonhosted.org/packages/6e/55/5564e7ae26d94f3214250009a0b1c65a0c6af4bf88924ccb6fdab901de28/aiohttp-3.13.5-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:26d2f8546f1dfa75efa50c3488215a903c0168d253b75fba4210f57ab77a0fb8", size = 1731969 },
+ { url = "https://files.pythonhosted.org/packages/6d/c5/705a3929149865fc941bcbdd1047b238e4a72bcb215a9b16b9d7a2e8d992/aiohttp-3.13.5-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:f1162a1492032c82f14271e831c8f4b49f2b6078f4f5fc74de2c912fa225d51d", size = 1795193 },
+ { url = "https://files.pythonhosted.org/packages/a6/19/edabed62f718d02cff7231ca0db4ef1c72504235bc467f7b67adb1679f48/aiohttp-3.13.5-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:8b14eb3262fad0dc2f89c1a43b13727e709504972186ff6a99a3ecaa77102b6c", size = 1606477 },
+ { url = "https://files.pythonhosted.org/packages/de/fc/76f80ef008675637d88d0b21584596dc27410a990b0918cb1e5776545b5b/aiohttp-3.13.5-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:ca9ac61ac6db4eb6c2a0cd1d0f7e1357647b638ccc92f7e9d8d133e71ed3c6ac", size = 1813198 },
+ { url = "https://files.pythonhosted.org/packages/e5/67/5b3ac26b80adb20ea541c487f73730dc8fa107d632c998f25bbbab98fcda/aiohttp-3.13.5-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:7996023b2ed59489ae4762256c8516df9820f751cf2c5da8ed2fb20ee50abab3", size = 1752321 },
+ { url = "https://files.pythonhosted.org/packages/88/06/e4a2e49255ea23fa4feeb5ab092d90240d927c15e47b5b5c48dff5a9ce29/aiohttp-3.13.5-cp311-cp311-win32.whl", hash = "sha256:77dfa48c9f8013271011e51c00f8ada19851f013cde2c48fca1ba5e0caf5bb06", size = 439069 },
+ { url = "https://files.pythonhosted.org/packages/c0/43/8c7163a596dab4f8be12c190cf467a1e07e4734cf90eebb39f7f5d53fc6a/aiohttp-3.13.5-cp311-cp311-win_amd64.whl", hash = "sha256:d3a4834f221061624b8887090637db9ad4f61752001eae37d56c52fddade2dc8", size = 462859 },
+ { url = "https://files.pythonhosted.org/packages/be/6f/353954c29e7dcce7cf00280a02c75f30e133c00793c7a2ed3776d7b2f426/aiohttp-3.13.5-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:023ecba036ddd840b0b19bf195bfae970083fd7024ce1ac22e9bba90464620e9", size = 748876 },
+ { url = "https://files.pythonhosted.org/packages/f5/1b/428a7c64687b3b2e9cd293186695affc0e1e54a445d0361743b231f11066/aiohttp-3.13.5-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:15c933ad7920b7d9a20de151efcd05a6e38302cbf0e10c9b2acb9a42210a2416", size = 499557 },
+ { url = "https://files.pythonhosted.org/packages/29/47/7be41556bfbb6917069d6a6634bb7dd5e163ba445b783a90d40f5ac7e3a7/aiohttp-3.13.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ab2899f9fa2f9f741896ebb6fa07c4c883bfa5c7f2ddd8cf2aafa86fa981b2d2", size = 500258 },
+ { url = "https://files.pythonhosted.org/packages/67/84/c9ecc5828cb0b3695856c07c0a6817a99d51e2473400f705275a2b3d9239/aiohttp-3.13.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a60eaa2d440cd4707696b52e40ed3e2b0f73f65be07fd0ef23b6b539c9c0b0b4", size = 1749199 },
+ { url = "https://files.pythonhosted.org/packages/f0/d3/3c6d610e66b495657622edb6ae7c7fd31b2e9086b4ec50b47897ad6042a9/aiohttp-3.13.5-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:55b3bdd3292283295774ab585160c4004f4f2f203946997f49aac032c84649e9", size = 1721013 },
+ { url = "https://files.pythonhosted.org/packages/49/a0/24409c12217456df0bae7babe3b014e460b0b38a8e60753d6cb339f6556d/aiohttp-3.13.5-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c2b2355dc094e5f7d45a7bb262fe7207aa0460b37a0d87027dcf21b5d890e7d5", size = 1781501 },
+ { url = "https://files.pythonhosted.org/packages/98/9d/b65ec649adc5bccc008b0957a9a9c691070aeac4e41cea18559fef49958b/aiohttp-3.13.5-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b38765950832f7d728297689ad78f5f2cf79ff82487131c4d26fe6ceecdc5f8e", size = 1878981 },
+ { url = "https://files.pythonhosted.org/packages/57/d8/8d44036d7eb7b6a8ec4c5494ea0c8c8b94fbc0ed3991c1a7adf230df03bf/aiohttp-3.13.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b18f31b80d5a33661e08c89e202edabf1986e9b49c42b4504371daeaa11b47c1", size = 1767934 },
+ { url = "https://files.pythonhosted.org/packages/31/04/d3f8211f273356f158e3464e9e45484d3fb8c4ce5eb2f6fe9405c3273983/aiohttp-3.13.5-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:33add2463dde55c4f2d9635c6ab33ce154e5ecf322bd26d09af95c5f81cfa286", size = 1566671 },
+ { url = "https://files.pythonhosted.org/packages/41/db/073e4ebe00b78e2dfcacff734291651729a62953b48933d765dc513bf798/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:327cc432fdf1356fb4fbc6fe833ad4e9f6aacb71a8acaa5f1855e4b25910e4a9", size = 1705219 },
+ { url = "https://files.pythonhosted.org/packages/48/45/7dfba71a2f9fd97b15c95c06819de7eb38113d2cdb6319669195a7d64270/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:7c35b0bf0b48a70b4cb4fc5d7bed9b932532728e124874355de1a0af8ec4bc88", size = 1743049 },
+ { url = "https://files.pythonhosted.org/packages/18/71/901db0061e0f717d226386a7f471bb59b19566f2cae5f0d93874b017271f/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:df23d57718f24badef8656c49743e11a89fd6f5358fa8a7b96e728fda2abf7d3", size = 1749557 },
+ { url = "https://files.pythonhosted.org/packages/08/d5/41eebd16066e59cd43728fe74bce953d7402f2b4ddfdfef2c0e9f17ca274/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:02e048037a6501a5ec1f6fc9736135aec6eb8a004ce48838cb951c515f32c80b", size = 1558931 },
+ { url = "https://files.pythonhosted.org/packages/30/e6/4a799798bf05740e66c3a1161079bda7a3dd8e22ca392481d7a7f9af82a6/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:31cebae8b26f8a615d2b546fee45d5ffb76852ae6450e2a03f42c9102260d6fe", size = 1774125 },
+ { url = "https://files.pythonhosted.org/packages/84/63/7749337c90f92bc2cb18f9560d67aa6258c7060d1397d21529b8004fcf6f/aiohttp-3.13.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:888e78eb5ca55a615d285c3c09a7a91b42e9dd6fc699b166ebd5dee87c9ccf14", size = 1732427 },
+ { url = "https://files.pythonhosted.org/packages/98/de/cf2f44ff98d307e72fb97d5f5bbae3bfcb442f0ea9790c0bf5c5c2331404/aiohttp-3.13.5-cp312-cp312-win32.whl", hash = "sha256:8bd3ec6376e68a41f9f95f5ed170e2fcf22d4eb27a1f8cb361d0508f6e0557f3", size = 433534 },
+ { url = "https://files.pythonhosted.org/packages/aa/ca/eadf6f9c8fa5e31d40993e3db153fb5ed0b11008ad5d9de98a95045bed84/aiohttp-3.13.5-cp312-cp312-win_amd64.whl", hash = "sha256:110e448e02c729bcebb18c60b9214a87ba33bac4a9fa5e9a5f139938b56c6cb1", size = 460446 },
+ { url = "https://files.pythonhosted.org/packages/78/e9/d76bf503005709e390122d34e15256b88f7008e246c4bdbe915cd4f1adce/aiohttp-3.13.5-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:a5029cc80718bbd545123cd8fe5d15025eccaaaace5d0eeec6bd556ad6163d61", size = 742930 },
+ { url = "https://files.pythonhosted.org/packages/57/00/4b7b70223deaebd9bb85984d01a764b0d7bd6526fcdc73cca83bcbe7243e/aiohttp-3.13.5-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:4bb6bf5811620003614076bdc807ef3b5e38244f9d25ca5fe888eaccea2a9832", size = 496927 },
+ { url = "https://files.pythonhosted.org/packages/9c/f5/0fb20fb49f8efdcdce6cd8127604ad2c503e754a8f139f5e02b01626523f/aiohttp-3.13.5-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a84792f8631bf5a94e52d9cc881c0b824ab42717165a5579c760b830d9392ac9", size = 497141 },
+ { url = "https://files.pythonhosted.org/packages/3b/86/b7c870053e36a94e8951b803cb5b909bfbc9b90ca941527f5fcafbf6b0fa/aiohttp-3.13.5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:57653eac22c6a4c13eb22ecf4d673d64a12f266e72785ab1c8b8e5940d0e8090", size = 1732476 },
+ { url = "https://files.pythonhosted.org/packages/b5/e5/4e161f84f98d80c03a238671b4136e6530453d65262867d989bbe78244d0/aiohttp-3.13.5-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e5e5f7debc7a57af53fdf5c5009f9391d9f4c12867049d509bf7bb164a6e295b", size = 1706507 },
+ { url = "https://files.pythonhosted.org/packages/d4/56/ea11a9f01518bd5a2a2fcee869d248c4b8a0cfa0bb13401574fa31adf4d4/aiohttp-3.13.5-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c719f65bebcdf6716f10e9eff80d27567f7892d8988c06de12bbbd39307c6e3a", size = 1773465 },
+ { url = "https://files.pythonhosted.org/packages/eb/40/333ca27fb74b0383f17c90570c748f7582501507307350a79d9f9f3c6eb1/aiohttp-3.13.5-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d97f93fdae594d886c5a866636397e2bcab146fd7a132fd6bb9ce182224452f8", size = 1873523 },
+ { url = "https://files.pythonhosted.org/packages/f0/d2/e2f77eef1acb7111405433c707dc735e63f67a56e176e72e9e7a2cd3f493/aiohttp-3.13.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3df334e39d4c2f899a914f1dba283c1aadc311790733f705182998c6f7cae665", size = 1754113 },
+ { url = "https://files.pythonhosted.org/packages/fb/56/3f653d7f53c89669301ec9e42c95233e2a0c0a6dd051269e6e678db4fdb0/aiohttp-3.13.5-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:fe6970addfea9e5e081401bcbadf865d2b6da045472f58af08427e108d618540", size = 1562351 },
+ { url = "https://files.pythonhosted.org/packages/ec/a6/9b3e91eb8ae791cce4ee736da02211c85c6f835f1bdfac0594a8a3b7018c/aiohttp-3.13.5-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:7becdf835feff2f4f335d7477f121af787e3504b48b449ff737afb35869ba7bb", size = 1693205 },
+ { url = "https://files.pythonhosted.org/packages/98/fc/bfb437a99a2fcebd6b6eaec609571954de2ed424f01c352f4b5504371dd3/aiohttp-3.13.5-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:676e5651705ad5d8a70aeb8eb6936c436d8ebbd56e63436cb7dd9bb36d2a9a46", size = 1730618 },
+ { url = "https://files.pythonhosted.org/packages/e4/b6/c8534862126191a034f68153194c389addc285a0f1347d85096d349bbc15/aiohttp-3.13.5-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:9b16c653d38eb1a611cc898c41e76859ca27f119d25b53c12875fd0474ae31a8", size = 1745185 },
+ { url = "https://files.pythonhosted.org/packages/0b/93/4ca8ee2ef5236e2707e0fd5fecb10ce214aee1ff4ab307af9c558bda3b37/aiohttp-3.13.5-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:999802d5fa0389f58decd24b537c54aa63c01c3219ce17d1214cbda3c2b22d2d", size = 1557311 },
+ { url = "https://files.pythonhosted.org/packages/57/ae/76177b15f18c5f5d094f19901d284025db28eccc5ae374d1d254181d33f4/aiohttp-3.13.5-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:ec707059ee75732b1ba130ed5f9580fe10ff75180c812bc267ded039db5128c6", size = 1773147 },
+ { url = "https://files.pythonhosted.org/packages/01/a4/62f05a0a98d88af59d93b7fcac564e5f18f513cb7471696ac286db970d6a/aiohttp-3.13.5-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:2d6d44a5b48132053c2f6cd5c8cb14bc67e99a63594e336b0f2af81e94d5530c", size = 1730356 },
+ { url = "https://files.pythonhosted.org/packages/e4/85/fc8601f59dfa8c9523808281f2da571f8b4699685f9809a228adcc90838d/aiohttp-3.13.5-cp313-cp313-win32.whl", hash = "sha256:329f292ed14d38a6c4c435e465f48bebb47479fd676a0411936cc371643225cc", size = 432637 },
+ { url = "https://files.pythonhosted.org/packages/c0/1b/ac685a8882896acf0f6b31d689e3792199cfe7aba37969fa91da63a7fa27/aiohttp-3.13.5-cp313-cp313-win_amd64.whl", hash = "sha256:69f571de7500e0557801c0b51f4780482c0ec5fe2ac851af5a92cfce1af1cb83", size = 458896 },
+ { url = "https://files.pythonhosted.org/packages/5d/ce/46572759afc859e867a5bc8ec3487315869013f59281ce61764f76d879de/aiohttp-3.13.5-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:eb4639f32fd4a9904ab8fb45bf3383ba71137f3d9d4ba25b3b3f3109977c5b8c", size = 745721 },
+ { url = "https://files.pythonhosted.org/packages/13/fe/8a2efd7626dbe6049b2ef8ace18ffda8a4dfcbe1bcff3ac30c0c7575c20b/aiohttp-3.13.5-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:7e5dc4311bd5ac493886c63cbf76ab579dbe4641268e7c74e48e774c74b6f2be", size = 497663 },
+ { url = "https://files.pythonhosted.org/packages/9b/91/cc8cc78a111826c54743d88651e1687008133c37e5ee615fee9b57990fac/aiohttp-3.13.5-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:756c3c304d394977519824449600adaf2be0ccee76d206ee339c5e76b70ded25", size = 499094 },
+ { url = "https://files.pythonhosted.org/packages/0a/33/a8362cb15cf16a3af7e86ed11962d5cd7d59b449202dc576cdc731310bde/aiohttp-3.13.5-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ecc26751323224cf8186efcf7fbcbc30f4e1d8c7970659daf25ad995e4032a56", size = 1726701 },
+ { url = "https://files.pythonhosted.org/packages/45/0c/c091ac5c3a17114bd76cbf85d674650969ddf93387876cf67f754204bd77/aiohttp-3.13.5-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:10a75acfcf794edf9d8db50e5a7ec5fc818b2a8d3f591ce93bc7b1210df016d2", size = 1683360 },
+ { url = "https://files.pythonhosted.org/packages/23/73/bcee1c2b79bc275e964d1446c55c54441a461938e70267c86afaae6fba27/aiohttp-3.13.5-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:0f7a18f258d124cd678c5fe072fe4432a4d5232b0657fca7c1847f599233c83a", size = 1773023 },
+ { url = "https://files.pythonhosted.org/packages/c7/ef/720e639df03004fee2d869f771799d8c23046dec47d5b81e396c7cda583a/aiohttp-3.13.5-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:df6104c009713d3a89621096f3e3e88cc323fd269dbd7c20afe18535094320be", size = 1853795 },
+ { url = "https://files.pythonhosted.org/packages/bd/c9/989f4034fb46841208de7aeeac2c6d8300745ab4f28c42f629ba77c2d916/aiohttp-3.13.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:241a94f7de7c0c3b616627aaad530fe2cb620084a8b144d3be7b6ecfe95bae3b", size = 1730405 },
+ { url = "https://files.pythonhosted.org/packages/ce/75/ee1fd286ca7dc599d824b5651dad7b3be7ff8d9a7e7b3fe9820d9180f7db/aiohttp-3.13.5-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c974fb66180e58709b6fc402846f13791240d180b74de81d23913abe48e96d94", size = 1558082 },
+ { url = "https://files.pythonhosted.org/packages/c3/20/1e9e6650dfc436340116b7aa89ff8cb2bbdf0abc11dfaceaad8f74273a10/aiohttp-3.13.5-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:6e27ea05d184afac78aabbac667450c75e54e35f62238d44463131bd3f96753d", size = 1692346 },
+ { url = "https://files.pythonhosted.org/packages/d8/40/8ebc6658d48ea630ac7903912fe0dd4e262f0e16825aa4c833c56c9f1f56/aiohttp-3.13.5-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:a79a6d399cef33a11b6f004c67bb07741d91f2be01b8d712d52c75711b1e07c7", size = 1698891 },
+ { url = "https://files.pythonhosted.org/packages/d8/78/ea0ae5ec8ba7a5c10bdd6e318f1ba5e76fcde17db8275188772afc7917a4/aiohttp-3.13.5-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:c632ce9c0b534fbe25b52c974515ed674937c5b99f549a92127c85f771a78772", size = 1742113 },
+ { url = "https://files.pythonhosted.org/packages/8a/66/9d308ed71e3f2491be1acb8769d96c6f0c47d92099f3bc9119cada27b357/aiohttp-3.13.5-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:fceedde51fbd67ee2bcc8c0b33d0126cc8b51ef3bbde2f86662bd6d5a6f10ec5", size = 1553088 },
+ { url = "https://files.pythonhosted.org/packages/da/a6/6cc25ed8dfc6e00c90f5c6d126a98e2cf28957ad06fa1036bd34b6f24a2c/aiohttp-3.13.5-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:f92995dfec9420bb69ae629abf422e516923ba79ba4403bc750d94fb4a6c68c1", size = 1757976 },
+ { url = "https://files.pythonhosted.org/packages/c1/2b/cce5b0ffe0de99c83e5e36d8f828e4161e415660a9f3e58339d07cce3006/aiohttp-3.13.5-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:20ae0ff08b1f2c8788d6fb85afcb798654ae6ba0b747575f8562de738078457b", size = 1712444 },
+ { url = "https://files.pythonhosted.org/packages/6c/cf/9e1795b4160c58d29421eafd1a69c6ce351e2f7c8d3c6b7e4ca44aea1a5b/aiohttp-3.13.5-cp314-cp314-win32.whl", hash = "sha256:b20df693de16f42b2472a9c485e1c948ee55524786a0a34345511afdd22246f3", size = 438128 },
+ { url = "https://files.pythonhosted.org/packages/22/4d/eaedff67fc805aeba4ba746aec891b4b24cebb1a7d078084b6300f79d063/aiohttp-3.13.5-cp314-cp314-win_amd64.whl", hash = "sha256:f85c6f327bf0b8c29da7d93b1cabb6363fb5e4e160a32fa241ed2dce21b73162", size = 464029 },
+ { url = "https://files.pythonhosted.org/packages/79/11/c27d9332ee20d68dd164dc12a6ecdef2e2e35ecc97ed6cf0d2442844624b/aiohttp-3.13.5-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:1efb06900858bb618ff5cee184ae2de5828896c448403d51fb633f09e109be0a", size = 778758 },
+ { url = "https://files.pythonhosted.org/packages/04/fb/377aead2e0a3ba5f09b7624f702a964bdf4f08b5b6728a9799830c80041e/aiohttp-3.13.5-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:fee86b7c4bd29bdaf0d53d14739b08a106fdda809ca5fe032a15f52fae5fe254", size = 512883 },
+ { url = "https://files.pythonhosted.org/packages/bb/a6/aa109a33671f7a5d3bd78b46da9d852797c5e665bfda7d6b373f56bff2ec/aiohttp-3.13.5-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:20058e23909b9e65f9da62b396b77dfa95965cbe840f8def6e572538b1d32e36", size = 516668 },
+ { url = "https://files.pythonhosted.org/packages/79/b3/ca078f9f2fa9563c36fb8ef89053ea2bb146d6f792c5104574d49d8acb63/aiohttp-3.13.5-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8cf20a8d6868cb15a73cab329ffc07291ba8c22b1b88176026106ae39aa6df0f", size = 1883461 },
+ { url = "https://files.pythonhosted.org/packages/b7/e3/a7ad633ca1ca497b852233a3cce6906a56c3225fb6d9217b5e5e60b7419d/aiohttp-3.13.5-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:330f5da04c987f1d5bdb8ae189137c77139f36bd1cb23779ca1a354a4b027800", size = 1747661 },
+ { url = "https://files.pythonhosted.org/packages/33/b9/cd6fe579bed34a906d3d783fe60f2fa297ef55b27bb4538438ee49d4dc41/aiohttp-3.13.5-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6f1cbf0c7926d315c3c26c2da41fd2b5d2fe01ac0e157b78caefc51a782196cf", size = 1863800 },
+ { url = "https://files.pythonhosted.org/packages/c0/3f/2c1e2f5144cefa889c8afd5cf431994c32f3b29da9961698ff4e3811b79a/aiohttp-3.13.5-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:53fc049ed6390d05423ba33103ded7281fe897cf97878f369a527070bd95795b", size = 1958382 },
+ { url = "https://files.pythonhosted.org/packages/66/1d/f31ec3f1013723b3babe3609e7f119c2c2fb6ef33da90061a705ef3e1bc8/aiohttp-3.13.5-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:898703aa2667e3c5ca4c54ca36cd73f58b7a38ef87a5606414799ebce4d3fd3a", size = 1803724 },
+ { url = "https://files.pythonhosted.org/packages/0e/b4/57712dfc6f1542f067daa81eb61da282fab3e6f1966fca25db06c4fc62d5/aiohttp-3.13.5-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0494a01ca9584eea1e5fbd6d748e61ecff218c51b576ee1999c23db7066417d8", size = 1640027 },
+ { url = "https://files.pythonhosted.org/packages/25/3c/734c878fb43ec083d8e31bf029daae1beafeae582d1b35da234739e82ee7/aiohttp-3.13.5-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:6cf81fe010b8c17b09495cbd15c1d35afbc8fb405c0c9cf4738e5ae3af1d65be", size = 1806644 },
+ { url = "https://files.pythonhosted.org/packages/20/a5/f671e5cbec1c21d044ff3078223f949748f3a7f86b14e34a365d74a5d21f/aiohttp-3.13.5-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:c564dd5f09ddc9d8f2c2d0a301cd30a79a2cc1b46dd1a73bef8f0038863d016b", size = 1791630 },
+ { url = "https://files.pythonhosted.org/packages/0b/63/fb8d0ad63a0b8a99be97deac8c04dacf0785721c158bdf23d679a87aa99e/aiohttp-3.13.5-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:2994be9f6e51046c4f864598fd9abeb4fba6e88f0b2152422c9666dcd4aea9c6", size = 1809403 },
+ { url = "https://files.pythonhosted.org/packages/59/0c/bfed7f30662fcf12206481c2aac57dedee43fe1c49275e85b3a1e1742294/aiohttp-3.13.5-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:157826e2fa245d2ef46c83ea8a5faf77ca19355d278d425c29fda0beb3318037", size = 1634924 },
+ { url = "https://files.pythonhosted.org/packages/17/d6/fd518d668a09fd5a3319ae5e984d4d80b9a4b3df4e21c52f02251ef5a32e/aiohttp-3.13.5-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:a8aca50daa9493e9e13c0f566201a9006f080e7c50e5e90d0b06f53146a54500", size = 1836119 },
+ { url = "https://files.pythonhosted.org/packages/78/b7/15fb7a9d52e112a25b621c67b69c167805cb1f2ab8f1708a5c490d1b52fe/aiohttp-3.13.5-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:3b13560160d07e047a93f23aaa30718606493036253d5430887514715b67c9d9", size = 1772072 },
+ { url = "https://files.pythonhosted.org/packages/7e/df/57ba7f0c4a553fc2bd8b6321df236870ec6fd64a2a473a8a13d4f733214e/aiohttp-3.13.5-cp314-cp314t-win32.whl", hash = "sha256:9a0f4474b6ea6818b41f82172d799e4b3d29e22c2c520ce4357856fced9af2f8", size = 471819 },
+ { url = "https://files.pythonhosted.org/packages/62/29/2f8418269e46454a26171bfdd6a055d74febf32234e474930f2f60a17145/aiohttp-3.13.5-cp314-cp314t-win_amd64.whl", hash = "sha256:18a2f6c1182c51baa1d28d68fea51513cb2a76612f038853c0ad3c145423d3d9", size = 505441 },
+]
+
+[[package]]
+name = "aiosignal"
+version = "1.4.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "frozenlist" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/61/62/06741b579156360248d1ec624842ad0edf697050bbaf7c3e46394e106ad1/aiosignal-1.4.0.tar.gz", hash = "sha256:f47eecd9468083c2029cc99945502cb7708b082c232f9aca65da147157b251c7", size = 25007 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fb/76/641ae371508676492379f16e2fa48f4e2c11741bd63c48be4b12a6b09cba/aiosignal-1.4.0-py3-none-any.whl", hash = "sha256:053243f8b92b990551949e63930a839ff0cf0b0ebbe0597b0f3fb19e1a0fe82e", size = 7490 },
+]
+
+[[package]]
+name = "aiosqlite"
+version = "0.22.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/4e/8a/64761f4005f17809769d23e518d915db74e6310474e733e3593cfc854ef1/aiosqlite-0.22.1.tar.gz", hash = "sha256:043e0bd78d32888c0a9ca90fc788b38796843360c855a7262a532813133a0650", size = 14821 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/00/b7/e3bf5133d697a08128598c8d0abc5e16377b51465a33756de24fa7dee953/aiosqlite-0.22.1-py3-none-any.whl", hash = "sha256:21c002eb13823fad740196c5a2e9d8e62f6243bd9e7e4a1f87fb5e44ecb4fceb", size = 17405 },
+]
+
+[[package]]
+name = "alembic"
+version = "1.18.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "mako" },
+ { name = "sqlalchemy" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/94/13/8b084e0f2efb0275a1d534838844926f798bd766566b1375174e2448cd31/alembic-1.18.4.tar.gz", hash = "sha256:cb6e1fd84b6174ab8dbb2329f86d631ba9559dd78df550b57804d607672cedbc", size = 2056725 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d2/29/6533c317b74f707ea28f8d633734dbda2119bbadfc61b2f3640ba835d0f7/alembic-1.18.4-py3-none-any.whl", hash = "sha256:a5ed4adcf6d8a4cb575f3d759f071b03cd6e5c7618eb796cb52497be25bfe19a", size = 263893 },
+]
+
+[[package]]
+name = "annotated-doc"
+version = "0.0.4"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/57/ba/046ceea27344560984e26a590f90bc7f4a75b06701f653222458922b558c/annotated_doc-0.0.4.tar.gz", hash = "sha256:fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4", size = 7288 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1e/d3/26bf1008eb3d2daa8ef4cacc7f3bfdc11818d111f7e2d0201bc6e3b49d45/annotated_doc-0.0.4-py3-none-any.whl", hash = "sha256:571ac1dc6991c450b25a9c2d84a3705e2ae7a53467b5d111c24fa8baabbed320", size = 5303 },
+]
+
+[[package]]
+name = "annotated-types"
+version = "0.7.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/ee/67/531ea369ba64dcff5ec9c3402f9f51bf748cec26dde048a2f973a4eea7f5/annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89", size = 16081 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl", hash = "sha256:1f02e8b43a8fbbc3f3e0d4f0f4bfc8131bcb4eebe8849b8e5c773f3a1c582a53", size = 13643 },
+]
+
+[[package]]
+name = "anyio"
+version = "4.13.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "idna" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/19/14/2c5dd9f512b66549ae92767a9c7b330ae88e1932ca57876909410251fe13/anyio-4.13.0.tar.gz", hash = "sha256:334b70e641fd2221c1505b3890c69882fe4a2df910cba14d97019b90b24439dc", size = 231622 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/da/42/e921fccf5015463e32a3cf6ee7f980a6ed0f395ceeaa45060b61d86486c2/anyio-4.13.0-py3-none-any.whl", hash = "sha256:08b310f9e24a9594186fd75b4f73f4a4152069e3853f1ed8bfbf58369f4ad708", size = 114353 },
+]
+
+[[package]]
+name = "attrs"
+version = "26.1.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/9a/8e/82a0fe20a541c03148528be8cac2408564a6c9a0cc7e9171802bc1d26985/attrs-26.1.0.tar.gz", hash = "sha256:d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32", size = 952055 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/64/b4/17d4b0b2a2dc85a6df63d1157e028ed19f90d4cd97c36717afef2bc2f395/attrs-26.1.0-py3-none-any.whl", hash = "sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309", size = 67548 },
+]
+
+[[package]]
+name = "authlib"
+version = "1.6.10"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "cryptography" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/aa/e2/2cd626412bfc3c78b17ca5e5ea8d489f8cae31d40b061f4da0a89068d8a3/authlib-1.6.10.tar.gz", hash = "sha256:856a4f54d6ef3361ca6bb6d14a27e8b88f8097cca795fb428ffe13720e2ecde6", size = 165333 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/7d/f6/9093f1ed17b6e2f4ac50d214543d4ec5268902a70e2158a752a06423b5ef/authlib-1.6.10-py2.py3-none-any.whl", hash = "sha256:aa639b43292554539924a3b4aaa9e81cd67ab64d3e28b22428c61f1200240287", size = 244351 },
+]
+
+[[package]]
+name = "av"
+version = "17.0.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/b2/eb/abca886df3a091bc406feb5ff71b4c4f426beaae6b71b9697264ce8c7211/av-17.0.0.tar.gz", hash = "sha256:c53685df73775a8763c375c7b2d62a6cb149d992a26a4b098204da42ade8c3df", size = 4410769 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b1/fb/55e3b5b5d1fc61466292f26fbcbabafa2642f378dc48875f8f554591e1a4/av-17.0.0-cp311-abi3-macosx_11_0_x86_64.whl", hash = "sha256:ed4013fac77c309a4a68141dcf6148f1821bb1073a36d4289379762a6372f711", size = 23238424 },
+ { url = "https://files.pythonhosted.org/packages/52/03/9ace1acc08bc9ae38c14bf3a4b1360e995e4d999d1d33c2cbd7c9e77582a/av-17.0.0-cp311-abi3-macosx_14_0_arm64.whl", hash = "sha256:e44b6c83e9f3be9f79ee87d0b77a27cea9a9cd67bd630362c86b7e56a748dfbb", size = 18709043 },
+ { url = "https://files.pythonhosted.org/packages/00/c0/637721f3cd5bb8bd16105a1a08efd781fc12f449931bdb3a4d0cfd63fa55/av-17.0.0-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:b440da6ac47da0629d509316f24bcd858f33158dbdd0f1b7293d71e99beb26de", size = 34018780 },
+ { url = "https://files.pythonhosted.org/packages/d2/59/d19bc3257dd985d55337d7f0414c019414b97e16cd3690ebf9941a847543/av-17.0.0-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:1060cba85f97f4a337311169d92c0b5e143452cfa5ca0e65fa499d7955e8592e", size = 36358757 },
+ { url = "https://files.pythonhosted.org/packages/52/6c/a1f4f2677bae6f2ade7a8a18e90ebdcf70690c9b1c4e40e118aa30fa313f/av-17.0.0-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:deda202e6021cfc7ba3e816897760ec5431309d59a4da1f75df3c0e9413d71e7", size = 35195281 },
+ { url = "https://files.pythonhosted.org/packages/90/ea/52b0fc6f69432c7bf3f5fbe6f707113650aa40a1a05b9096ffc2bba4f77d/av-17.0.0-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:ffaf266a1a9c2148072de0a4b5ae98061465178d2cfaa69ee089761149342974", size = 37444817 },
+ { url = "https://files.pythonhosted.org/packages/34/ad/d2172966282cb8f146c13b6be7416efefde74186460c5e1708ddfc13dba6/av-17.0.0-cp311-abi3-win_amd64.whl", hash = "sha256:45a35a40b2875bf2f98de7c952d74d960f92f319734e6d28e03b4c62a49e6f49", size = 28888553 },
+ { url = "https://files.pythonhosted.org/packages/b0/bb/c5a4c4172c514d631fb506e6366b503576b8c7f29809cf42aca73e28ff01/av-17.0.0-cp311-abi3-win_arm64.whl", hash = "sha256:3d32e9b5c5bbcb872a0b6917b352a1db8a42142237826c9b49a36d5dbd9e9c26", size = 21916910 },
+ { url = "https://files.pythonhosted.org/packages/7f/8e/c40ac08e63f79387c59f6ecc38f47d4c942b549130eee579ec1a91f6a291/av-17.0.0-cp314-cp314t-macosx_11_0_x86_64.whl", hash = "sha256:d13250fb4b4522e9a6bec32da082556d5f257110ea223758151375748d9bbe25", size = 23483029 },
+ { url = "https://files.pythonhosted.org/packages/a9/fb/b4419494bfc249163ec393c613966d66db7e95c76da3345711cd115a79df/av-17.0.0-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:dbb56aa3b7ae72451d1bf6e9d37c7d83d39b97af712f73583ff419fbf08fc237", size = 18920446 },
+ { url = "https://files.pythonhosted.org/packages/30/62/c2306d91602ddad2c56106f21dcb334fd51d5ea2e952f7fa025bb8aa39fc/av-17.0.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:a213ac9e83b7ab12c2e9f277a09cac8e9d85cf0883efdab7a87a60e2e4e48879", size = 37477266 },
+ { url = "https://files.pythonhosted.org/packages/28/cd/c8510a9607886785c0b3ca019d503e888c3757529be42a7287fe2bfa92d5/av-17.0.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:e15c88bb0921f9435bcc5a27a0863dba571a80ad5e1389c4fcf2073833bb4a74", size = 39572988 },
+ { url = "https://files.pythonhosted.org/packages/7d/2d/207d9361e25b5abec9be335bbab4df6b6b838e2214be4b374f4cfb285427/av-17.0.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:096cfd1e9fc896506726c7c42aaf9b370e78c2f257cde4d6ddb6c889bfcc49ec", size = 38399591 },
+ { url = "https://files.pythonhosted.org/packages/73/ca/307740c6aa2980966bf11383ffcb04bacc5b13f3d268ab4cfb274ad6f793/av-17.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:3649ab3d2c7f58049ded1a36e100c0d8fd529cf258f41dd88678ba824034d8c9", size = 40590681 },
+ { url = "https://files.pythonhosted.org/packages/35/f2/6fdb26d0651adf409864cb2a0d60da107e467d3d1aabc94b234ead54324a/av-17.0.0-cp314-cp314t-win_amd64.whl", hash = "sha256:e5002271ab2135b551d980c2db8f3299d452e3b9d3633f24f6bb57fffe91cd10", size = 29216337 },
+ { url = "https://files.pythonhosted.org/packages/41/0a/0896b829a39b5669a2d811e1a79598de661693685cd62b31f11d0c18e65b/av-17.0.0-cp314-cp314t-win_arm64.whl", hash = "sha256:dba98603fc4665b4f750de86fbaf6c0cfaece970671a9b529e0e3d1711e8367e", size = 22071058 },
+]
+
+[[package]]
+name = "certifi"
+version = "2026.2.25"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/af/2d/7bf41579a8986e348fa033a31cdd0e4121114f6bce2457e8876010b092dd/certifi-2026.2.25.tar.gz", hash = "sha256:e887ab5cee78ea814d3472169153c2d12cd43b14bd03329a39a9c6e2e80bfba7", size = 155029 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9a/3c/c17fb3ca2d9c3acff52e30b309f538586f9f5b9c9cf454f3845fc9af4881/certifi-2026.2.25-py3-none-any.whl", hash = "sha256:027692e4402ad994f1c42e52a4997a9763c646b73e4096e4d5d6db8af1d6f0fa", size = 153684 },
+]
+
+[[package]]
+name = "cffi"
+version = "2.0.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pycparser", marker = "implementation_name != 'PyPy'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/eb/56/b1ba7935a17738ae8453301356628e8147c79dbb825bcbc73dc7401f9846/cffi-2.0.0.tar.gz", hash = "sha256:44d1b5909021139fe36001ae048dbdde8214afa20200eda0f64c068cac5d5529", size = 523588 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/12/4a/3dfd5f7850cbf0d06dc84ba9aa00db766b52ca38d8b86e3a38314d52498c/cffi-2.0.0-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:b4c854ef3adc177950a8dfc81a86f5115d2abd545751a304c5bcf2c2c7283cfe", size = 184344 },
+ { url = "https://files.pythonhosted.org/packages/4f/8b/f0e4c441227ba756aafbe78f117485b25bb26b1c059d01f137fa6d14896b/cffi-2.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:2de9a304e27f7596cd03d16f1b7c72219bd944e99cc52b84d0145aefb07cbd3c", size = 180560 },
+ { url = "https://files.pythonhosted.org/packages/b1/b7/1200d354378ef52ec227395d95c2576330fd22a869f7a70e88e1447eb234/cffi-2.0.0-cp311-cp311-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:baf5215e0ab74c16e2dd324e8ec067ef59e41125d3eade2b863d294fd5035c92", size = 209613 },
+ { url = "https://files.pythonhosted.org/packages/b8/56/6033f5e86e8cc9bb629f0077ba71679508bdf54a9a5e112a3c0b91870332/cffi-2.0.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:730cacb21e1bdff3ce90babf007d0a0917cc3e6492f336c2f0134101e0944f93", size = 216476 },
+ { url = "https://files.pythonhosted.org/packages/dc/7f/55fecd70f7ece178db2f26128ec41430d8720f2d12ca97bf8f0a628207d5/cffi-2.0.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:6824f87845e3396029f3820c206e459ccc91760e8fa24422f8b0c3d1731cbec5", size = 203374 },
+ { url = "https://files.pythonhosted.org/packages/84/ef/a7b77c8bdc0f77adc3b46888f1ad54be8f3b7821697a7b89126e829e676a/cffi-2.0.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:9de40a7b0323d889cf8d23d1ef214f565ab154443c42737dfe52ff82cf857664", size = 202597 },
+ { url = "https://files.pythonhosted.org/packages/d7/91/500d892b2bf36529a75b77958edfcd5ad8e2ce4064ce2ecfeab2125d72d1/cffi-2.0.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8941aaadaf67246224cee8c3803777eed332a19d909b47e29c9842ef1e79ac26", size = 215574 },
+ { url = "https://files.pythonhosted.org/packages/44/64/58f6255b62b101093d5df22dcb752596066c7e89dd725e0afaed242a61be/cffi-2.0.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:a05d0c237b3349096d3981b727493e22147f934b20f6f125a3eba8f994bec4a9", size = 218971 },
+ { url = "https://files.pythonhosted.org/packages/ab/49/fa72cebe2fd8a55fbe14956f9970fe8eb1ac59e5df042f603ef7c8ba0adc/cffi-2.0.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:94698a9c5f91f9d138526b48fe26a199609544591f859c870d477351dc7b2414", size = 211972 },
+ { url = "https://files.pythonhosted.org/packages/0b/28/dd0967a76aab36731b6ebfe64dec4e981aff7e0608f60c2d46b46982607d/cffi-2.0.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:5fed36fccc0612a53f1d4d9a816b50a36702c28a2aa880cb8a122b3466638743", size = 217078 },
+ { url = "https://files.pythonhosted.org/packages/2b/c0/015b25184413d7ab0a410775fdb4a50fca20f5589b5dab1dbbfa3baad8ce/cffi-2.0.0-cp311-cp311-win32.whl", hash = "sha256:c649e3a33450ec82378822b3dad03cc228b8f5963c0c12fc3b1e0ab940f768a5", size = 172076 },
+ { url = "https://files.pythonhosted.org/packages/ae/8f/dc5531155e7070361eb1b7e4c1a9d896d0cb21c49f807a6c03fd63fc877e/cffi-2.0.0-cp311-cp311-win_amd64.whl", hash = "sha256:66f011380d0e49ed280c789fbd08ff0d40968ee7b665575489afa95c98196ab5", size = 182820 },
+ { url = "https://files.pythonhosted.org/packages/95/5c/1b493356429f9aecfd56bc171285a4c4ac8697f76e9bbbbb105e537853a1/cffi-2.0.0-cp311-cp311-win_arm64.whl", hash = "sha256:c6638687455baf640e37344fe26d37c404db8b80d037c3d29f58fe8d1c3b194d", size = 177635 },
+ { url = "https://files.pythonhosted.org/packages/ea/47/4f61023ea636104d4f16ab488e268b93008c3d0bb76893b1b31db1f96802/cffi-2.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:6d02d6655b0e54f54c4ef0b94eb6be0607b70853c45ce98bd278dc7de718be5d", size = 185271 },
+ { url = "https://files.pythonhosted.org/packages/df/a2/781b623f57358e360d62cdd7a8c681f074a71d445418a776eef0aadb4ab4/cffi-2.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8eca2a813c1cb7ad4fb74d368c2ffbbb4789d377ee5bb8df98373c2cc0dee76c", size = 181048 },
+ { url = "https://files.pythonhosted.org/packages/ff/df/a4f0fbd47331ceeba3d37c2e51e9dfc9722498becbeec2bd8bc856c9538a/cffi-2.0.0-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:21d1152871b019407d8ac3985f6775c079416c282e431a4da6afe7aefd2bccbe", size = 212529 },
+ { url = "https://files.pythonhosted.org/packages/d5/72/12b5f8d3865bf0f87cf1404d8c374e7487dcf097a1c91c436e72e6badd83/cffi-2.0.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b21e08af67b8a103c71a250401c78d5e0893beff75e28c53c98f4de42f774062", size = 220097 },
+ { url = "https://files.pythonhosted.org/packages/c2/95/7a135d52a50dfa7c882ab0ac17e8dc11cec9d55d2c18dda414c051c5e69e/cffi-2.0.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:1e3a615586f05fc4065a8b22b8152f0c1b00cdbc60596d187c2a74f9e3036e4e", size = 207983 },
+ { url = "https://files.pythonhosted.org/packages/3a/c8/15cb9ada8895957ea171c62dc78ff3e99159ee7adb13c0123c001a2546c1/cffi-2.0.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:81afed14892743bbe14dacb9e36d9e0e504cd204e0b165062c488942b9718037", size = 206519 },
+ { url = "https://files.pythonhosted.org/packages/78/2d/7fa73dfa841b5ac06c7b8855cfc18622132e365f5b81d02230333ff26e9e/cffi-2.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:3e17ed538242334bf70832644a32a7aae3d83b57567f9fd60a26257e992b79ba", size = 219572 },
+ { url = "https://files.pythonhosted.org/packages/07/e0/267e57e387b4ca276b90f0434ff88b2c2241ad72b16d31836adddfd6031b/cffi-2.0.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3925dd22fa2b7699ed2617149842d2e6adde22b262fcbfada50e3d195e4b3a94", size = 222963 },
+ { url = "https://files.pythonhosted.org/packages/b6/75/1f2747525e06f53efbd878f4d03bac5b859cbc11c633d0fb81432d98a795/cffi-2.0.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:2c8f814d84194c9ea681642fd164267891702542f028a15fc97d4674b6206187", size = 221361 },
+ { url = "https://files.pythonhosted.org/packages/7b/2b/2b6435f76bfeb6bbf055596976da087377ede68df465419d192acf00c437/cffi-2.0.0-cp312-cp312-win32.whl", hash = "sha256:da902562c3e9c550df360bfa53c035b2f241fed6d9aef119048073680ace4a18", size = 172932 },
+ { url = "https://files.pythonhosted.org/packages/f8/ed/13bd4418627013bec4ed6e54283b1959cf6db888048c7cf4b4c3b5b36002/cffi-2.0.0-cp312-cp312-win_amd64.whl", hash = "sha256:da68248800ad6320861f129cd9c1bf96ca849a2771a59e0344e88681905916f5", size = 183557 },
+ { url = "https://files.pythonhosted.org/packages/95/31/9f7f93ad2f8eff1dbc1c3656d7ca5bfd8fb52c9d786b4dcf19b2d02217fa/cffi-2.0.0-cp312-cp312-win_arm64.whl", hash = "sha256:4671d9dd5ec934cb9a73e7ee9676f9362aba54f7f34910956b84d727b0d73fb6", size = 177762 },
+ { url = "https://files.pythonhosted.org/packages/4b/8d/a0a47a0c9e413a658623d014e91e74a50cdd2c423f7ccfd44086ef767f90/cffi-2.0.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:00bdf7acc5f795150faa6957054fbbca2439db2f775ce831222b66f192f03beb", size = 185230 },
+ { url = "https://files.pythonhosted.org/packages/4a/d2/a6c0296814556c68ee32009d9c2ad4f85f2707cdecfd7727951ec228005d/cffi-2.0.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:45d5e886156860dc35862657e1494b9bae8dfa63bf56796f2fb56e1679fc0bca", size = 181043 },
+ { url = "https://files.pythonhosted.org/packages/b0/1e/d22cc63332bd59b06481ceaac49d6c507598642e2230f201649058a7e704/cffi-2.0.0-cp313-cp313-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:07b271772c100085dd28b74fa0cd81c8fb1a3ba18b21e03d7c27f3436a10606b", size = 212446 },
+ { url = "https://files.pythonhosted.org/packages/a9/f5/a2c23eb03b61a0b8747f211eb716446c826ad66818ddc7810cc2cc19b3f2/cffi-2.0.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d48a880098c96020b02d5a1f7d9251308510ce8858940e6fa99ece33f610838b", size = 220101 },
+ { url = "https://files.pythonhosted.org/packages/f2/7f/e6647792fc5850d634695bc0e6ab4111ae88e89981d35ac269956605feba/cffi-2.0.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:f93fd8e5c8c0a4aa1f424d6173f14a892044054871c771f8566e4008eaa359d2", size = 207948 },
+ { url = "https://files.pythonhosted.org/packages/cb/1e/a5a1bd6f1fb30f22573f76533de12a00bf274abcdc55c8edab639078abb6/cffi-2.0.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:dd4f05f54a52fb558f1ba9f528228066954fee3ebe629fc1660d874d040ae5a3", size = 206422 },
+ { url = "https://files.pythonhosted.org/packages/98/df/0a1755e750013a2081e863e7cd37e0cdd02664372c754e5560099eb7aa44/cffi-2.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c8d3b5532fc71b7a77c09192b4a5a200ea992702734a2e9279a37f2478236f26", size = 219499 },
+ { url = "https://files.pythonhosted.org/packages/50/e1/a969e687fcf9ea58e6e2a928ad5e2dd88cc12f6f0ab477e9971f2309b57c/cffi-2.0.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d9b29c1f0ae438d5ee9acb31cadee00a58c46cc9c0b2f9038c6b0b3470877a8c", size = 222928 },
+ { url = "https://files.pythonhosted.org/packages/36/54/0362578dd2c9e557a28ac77698ed67323ed5b9775ca9d3fe73fe191bb5d8/cffi-2.0.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:6d50360be4546678fc1b79ffe7a66265e28667840010348dd69a314145807a1b", size = 221302 },
+ { url = "https://files.pythonhosted.org/packages/eb/6d/bf9bda840d5f1dfdbf0feca87fbdb64a918a69bca42cfa0ba7b137c48cb8/cffi-2.0.0-cp313-cp313-win32.whl", hash = "sha256:74a03b9698e198d47562765773b4a8309919089150a0bb17d829ad7b44b60d27", size = 172909 },
+ { url = "https://files.pythonhosted.org/packages/37/18/6519e1ee6f5a1e579e04b9ddb6f1676c17368a7aba48299c3759bbc3c8b3/cffi-2.0.0-cp313-cp313-win_amd64.whl", hash = "sha256:19f705ada2530c1167abacb171925dd886168931e0a7b78f5bffcae5c6b5be75", size = 183402 },
+ { url = "https://files.pythonhosted.org/packages/cb/0e/02ceeec9a7d6ee63bb596121c2c8e9b3a9e150936f4fbef6ca1943e6137c/cffi-2.0.0-cp313-cp313-win_arm64.whl", hash = "sha256:256f80b80ca3853f90c21b23ee78cd008713787b1b1e93eae9f3d6a7134abd91", size = 177780 },
+ { url = "https://files.pythonhosted.org/packages/92/c4/3ce07396253a83250ee98564f8d7e9789fab8e58858f35d07a9a2c78de9f/cffi-2.0.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:fc33c5141b55ed366cfaad382df24fe7dcbc686de5be719b207bb248e3053dc5", size = 185320 },
+ { url = "https://files.pythonhosted.org/packages/59/dd/27e9fa567a23931c838c6b02d0764611c62290062a6d4e8ff7863daf9730/cffi-2.0.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c654de545946e0db659b3400168c9ad31b5d29593291482c43e3564effbcee13", size = 181487 },
+ { url = "https://files.pythonhosted.org/packages/d6/43/0e822876f87ea8a4ef95442c3d766a06a51fc5298823f884ef87aaad168c/cffi-2.0.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:24b6f81f1983e6df8db3adc38562c83f7d4a0c36162885ec7f7b77c7dcbec97b", size = 220049 },
+ { url = "https://files.pythonhosted.org/packages/b4/89/76799151d9c2d2d1ead63c2429da9ea9d7aac304603de0c6e8764e6e8e70/cffi-2.0.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:12873ca6cb9b0f0d3a0da705d6086fe911591737a59f28b7936bdfed27c0d47c", size = 207793 },
+ { url = "https://files.pythonhosted.org/packages/bb/dd/3465b14bb9e24ee24cb88c9e3730f6de63111fffe513492bf8c808a3547e/cffi-2.0.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:d9b97165e8aed9272a6bb17c01e3cc5871a594a446ebedc996e2397a1c1ea8ef", size = 206300 },
+ { url = "https://files.pythonhosted.org/packages/47/d9/d83e293854571c877a92da46fdec39158f8d7e68da75bf73581225d28e90/cffi-2.0.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:afb8db5439b81cf9c9d0c80404b60c3cc9c3add93e114dcae767f1477cb53775", size = 219244 },
+ { url = "https://files.pythonhosted.org/packages/2b/0f/1f177e3683aead2bb00f7679a16451d302c436b5cbf2505f0ea8146ef59e/cffi-2.0.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:737fe7d37e1a1bffe70bd5754ea763a62a066dc5913ca57e957824b72a85e205", size = 222828 },
+ { url = "https://files.pythonhosted.org/packages/c6/0f/cafacebd4b040e3119dcb32fed8bdef8dfe94da653155f9d0b9dc660166e/cffi-2.0.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:38100abb9d1b1435bc4cc340bb4489635dc2f0da7456590877030c9b3d40b0c1", size = 220926 },
+ { url = "https://files.pythonhosted.org/packages/3e/aa/df335faa45b395396fcbc03de2dfcab242cd61a9900e914fe682a59170b1/cffi-2.0.0-cp314-cp314-win32.whl", hash = "sha256:087067fa8953339c723661eda6b54bc98c5625757ea62e95eb4898ad5e776e9f", size = 175328 },
+ { url = "https://files.pythonhosted.org/packages/bb/92/882c2d30831744296ce713f0feb4c1cd30f346ef747b530b5318715cc367/cffi-2.0.0-cp314-cp314-win_amd64.whl", hash = "sha256:203a48d1fb583fc7d78a4c6655692963b860a417c0528492a6bc21f1aaefab25", size = 185650 },
+ { url = "https://files.pythonhosted.org/packages/9f/2c/98ece204b9d35a7366b5b2c6539c350313ca13932143e79dc133ba757104/cffi-2.0.0-cp314-cp314-win_arm64.whl", hash = "sha256:dbd5c7a25a7cb98f5ca55d258b103a2054f859a46ae11aaf23134f9cc0d356ad", size = 180687 },
+ { url = "https://files.pythonhosted.org/packages/3e/61/c768e4d548bfa607abcda77423448df8c471f25dbe64fb2ef6d555eae006/cffi-2.0.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:9a67fc9e8eb39039280526379fb3a70023d77caec1852002b4da7e8b270c4dd9", size = 188773 },
+ { url = "https://files.pythonhosted.org/packages/2c/ea/5f76bce7cf6fcd0ab1a1058b5af899bfbef198bea4d5686da88471ea0336/cffi-2.0.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7a66c7204d8869299919db4d5069a82f1561581af12b11b3c9f48c584eb8743d", size = 185013 },
+ { url = "https://files.pythonhosted.org/packages/be/b4/c56878d0d1755cf9caa54ba71e5d049479c52f9e4afc230f06822162ab2f/cffi-2.0.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:7cc09976e8b56f8cebd752f7113ad07752461f48a58cbba644139015ac24954c", size = 221593 },
+ { url = "https://files.pythonhosted.org/packages/e0/0d/eb704606dfe8033e7128df5e90fee946bbcb64a04fcdaa97321309004000/cffi-2.0.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:92b68146a71df78564e4ef48af17551a5ddd142e5190cdf2c5624d0c3ff5b2e8", size = 209354 },
+ { url = "https://files.pythonhosted.org/packages/d8/19/3c435d727b368ca475fb8742ab97c9cb13a0de600ce86f62eab7fa3eea60/cffi-2.0.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:b1e74d11748e7e98e2f426ab176d4ed720a64412b6a15054378afdb71e0f37dc", size = 208480 },
+ { url = "https://files.pythonhosted.org/packages/d0/44/681604464ed9541673e486521497406fadcc15b5217c3e326b061696899a/cffi-2.0.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:28a3a209b96630bca57cce802da70c266eb08c6e97e5afd61a75611ee6c64592", size = 221584 },
+ { url = "https://files.pythonhosted.org/packages/25/8e/342a504ff018a2825d395d44d63a767dd8ebc927ebda557fecdaca3ac33a/cffi-2.0.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:7553fb2090d71822f02c629afe6042c299edf91ba1bf94951165613553984512", size = 224443 },
+ { url = "https://files.pythonhosted.org/packages/e1/5e/b666bacbbc60fbf415ba9988324a132c9a7a0448a9a8f125074671c0f2c3/cffi-2.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6c6c373cfc5c83a975506110d17457138c8c63016b563cc9ed6e056a82f13ce4", size = 223437 },
+ { url = "https://files.pythonhosted.org/packages/a0/1d/ec1a60bd1a10daa292d3cd6bb0b359a81607154fb8165f3ec95fe003b85c/cffi-2.0.0-cp314-cp314t-win32.whl", hash = "sha256:1fc9ea04857caf665289b7a75923f2c6ed559b8298a1b8c49e59f7dd95c8481e", size = 180487 },
+ { url = "https://files.pythonhosted.org/packages/bf/41/4c1168c74fac325c0c8156f04b6749c8b6a8f405bbf91413ba088359f60d/cffi-2.0.0-cp314-cp314t-win_amd64.whl", hash = "sha256:d68b6cef7827e8641e8ef16f4494edda8b36104d79773a334beaa1e3521430f6", size = 191726 },
+ { url = "https://files.pythonhosted.org/packages/ae/3a/dbeec9d1ee0844c679f6bb5d6ad4e9f198b1224f4e7a32825f47f6192b0c/cffi-2.0.0-cp314-cp314t-win_arm64.whl", hash = "sha256:0a1527a803f0a659de1af2e1fd700213caba79377e27e4693648c2923da066f9", size = 184195 },
+]
+
+[[package]]
+name = "charset-normalizer"
+version = "3.4.7"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/e7/a1/67fe25fac3c7642725500a3f6cfe5821ad557c3abb11c9d20d12c7008d3e/charset_normalizer-3.4.7.tar.gz", hash = "sha256:ae89db9e5f98a11a4bf50407d4363e7b09b31e55bc117b4f7d80aab97ba009e5", size = 144271 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c2/d7/b5b7020a0565c2e9fa8c09f4b5fa6232feb326b8c20081ccded47ea368fd/charset_normalizer-3.4.7-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:7641bb8895e77f921102f72833904dcd9901df5d6d72a2ab8f31d04b7e51e4e7", size = 309705 },
+ { url = "https://files.pythonhosted.org/packages/5a/53/58c29116c340e5456724ecd2fff4196d236b98f3da97b404bc5e51ac3493/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:202389074300232baeb53ae2569a60901f7efadd4245cf3a3bf0617d60b439d7", size = 206419 },
+ { url = "https://files.pythonhosted.org/packages/b2/02/e8146dc6591a37a00e5144c63f29fb7c97a734ea8a111190783c0e60ab63/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:30b8d1d8c52a48c2c5690e152c169b673487a2a58de1ec7393196753063fcd5e", size = 227901 },
+ { url = "https://files.pythonhosted.org/packages/fb/73/77486c4cd58f1267bf17db420e930c9afa1b3be3fe8c8b8ebbebc9624359/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:532bc9bf33a68613fd7d65e4b1c71a6a38d7d42604ecf239c77392e9b4e8998c", size = 222742 },
+ { url = "https://files.pythonhosted.org/packages/a1/fa/f74eb381a7d94ded44739e9d94de18dc5edc9c17fb8c11f0a6890696c0a9/charset_normalizer-3.4.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:2fe249cb4651fd12605b7288b24751d8bfd46d35f12a20b1ba33dea122e690df", size = 214061 },
+ { url = "https://files.pythonhosted.org/packages/dc/92/42bd3cefcf7687253fb86694b45f37b733c97f59af3724f356fa92b8c344/charset_normalizer-3.4.7-cp311-cp311-manylinux_2_31_armv7l.whl", hash = "sha256:65bcd23054beab4d166035cabbc868a09c1a49d1efe458fe8e4361215df40265", size = 199239 },
+ { url = "https://files.pythonhosted.org/packages/4c/3d/069e7184e2aa3b3cddc700e3dd267413dc259854adc3380421c805c6a17d/charset_normalizer-3.4.7-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:08e721811161356f97b4059a9ba7bafb23ea5ee2255402c42881c214e173c6b4", size = 210173 },
+ { url = "https://files.pythonhosted.org/packages/62/51/9d56feb5f2e7074c46f93e0ebdbe61f0848ee246e2f0d89f8e20b89ebb8f/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:e060d01aec0a910bdccb8be71faf34e7799ce36950f8294c8bf612cba65a2c9e", size = 209841 },
+ { url = "https://files.pythonhosted.org/packages/d2/59/893d8f99cc4c837dda1fe2f1139079703deb9f321aabcb032355de13b6c7/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:38c0109396c4cfc574d502df99742a45c72c08eff0a36158b6f04000043dbf38", size = 200304 },
+ { url = "https://files.pythonhosted.org/packages/7d/1d/ee6f3be3464247578d1ed5c46de545ccc3d3ff933695395c402c21fa6b77/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:1c2a768fdd44ee4a9339a9b0b130049139b8ce3c01d2ce09f67f5a68048d477c", size = 229455 },
+ { url = "https://files.pythonhosted.org/packages/54/bb/8fb0a946296ea96a488928bdce8ef99023998c48e4713af533e9bb98ef07/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:1a87ca9d5df6fe460483d9a5bbf2b18f620cbed41b432e2bddb686228282d10b", size = 210036 },
+ { url = "https://files.pythonhosted.org/packages/9a/bc/015b2387f913749f82afd4fcba07846d05b6d784dd16123cb66860e0237d/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:d635aab80466bc95771bb78d5370e74d36d1fe31467b6b29b8b57b2a3cd7d22c", size = 224739 },
+ { url = "https://files.pythonhosted.org/packages/17/ab/63133691f56baae417493cba6b7c641571a2130eb7bceba6773367ab9ec5/charset_normalizer-3.4.7-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ae196f021b5e7c78e918242d217db021ed2a6ace2bc6ae94c0fc596221c7f58d", size = 216277 },
+ { url = "https://files.pythonhosted.org/packages/06/6d/3be70e827977f20db77c12a97e6a9f973631a45b8d186c084527e53e77a4/charset_normalizer-3.4.7-cp311-cp311-win32.whl", hash = "sha256:adb2597b428735679446b46c8badf467b4ca5f5056aae4d51a19f9570301b1ad", size = 147819 },
+ { url = "https://files.pythonhosted.org/packages/20/d9/5f67790f06b735d7c7637171bbfd89882ad67201891b7275e51116ed8207/charset_normalizer-3.4.7-cp311-cp311-win_amd64.whl", hash = "sha256:8e385e4267ab76874ae30db04c627faaaf0b509e1ccc11a95b3fc3e83f855c00", size = 159281 },
+ { url = "https://files.pythonhosted.org/packages/ca/83/6413f36c5a34afead88ce6f66684d943d91f233d76dd083798f9602b75ae/charset_normalizer-3.4.7-cp311-cp311-win_arm64.whl", hash = "sha256:d4a48e5b3c2a489fae013b7589308a40146ee081f6f509e047e0e096084ceca1", size = 147843 },
+ { url = "https://files.pythonhosted.org/packages/0c/eb/4fc8d0a7110eb5fc9cc161723a34a8a6c200ce3b4fbf681bc86feee22308/charset_normalizer-3.4.7-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:eca9705049ad3c7345d574e3510665cb2cf844c2f2dcfe675332677f081cbd46", size = 311328 },
+ { url = "https://files.pythonhosted.org/packages/f8/e3/0fadc706008ac9d7b9b5be6dc767c05f9d3e5df51744ce4cc9605de7b9f4/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6178f72c5508bfc5fd446a5905e698c6212932f25bcdd4b47a757a50605a90e2", size = 208061 },
+ { url = "https://files.pythonhosted.org/packages/42/f0/3dd1045c47f4a4604df85ec18ad093912ae1344ac706993aff91d38773a2/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e1421b502d83040e6d7fb2fb18dff63957f720da3d77b2fbd3187ceb63755d7b", size = 229031 },
+ { url = "https://files.pythonhosted.org/packages/dc/67/675a46eb016118a2fbde5a277a5d15f4f69d5f3f5f338e5ee2f8948fcf43/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:edac0f1ab77644605be2cbba52e6b7f630731fc42b34cb0f634be1a6eface56a", size = 225239 },
+ { url = "https://files.pythonhosted.org/packages/4b/f8/d0118a2f5f23b02cd166fa385c60f9b0d4f9194f574e2b31cef350ad7223/charset_normalizer-3.4.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5649fd1c7bade02f320a462fdefd0b4bd3ce036065836d4f42e0de958038e116", size = 216589 },
+ { url = "https://files.pythonhosted.org/packages/b1/f1/6d2b0b261b6c4ceef0fcb0d17a01cc5bc53586c2d4796fa04b5c540bc13d/charset_normalizer-3.4.7-cp312-cp312-manylinux_2_31_armv7l.whl", hash = "sha256:203104ed3e428044fd943bc4bf45fa73c0730391f9621e37fe39ecf477b128cb", size = 202733 },
+ { url = "https://files.pythonhosted.org/packages/6f/c0/7b1f943f7e87cc3db9626ba17807d042c38645f0a1d4415c7a14afb5591f/charset_normalizer-3.4.7-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:298930cec56029e05497a76988377cbd7457ba864beeea92ad7e844fe74cd1f1", size = 212652 },
+ { url = "https://files.pythonhosted.org/packages/38/dd/5a9ab159fe45c6e72079398f277b7d2b523e7f716acc489726115a910097/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:708838739abf24b2ceb208d0e22403dd018faeef86ddac04319a62ae884c4f15", size = 211229 },
+ { url = "https://files.pythonhosted.org/packages/d5/ff/531a1cad5ca855d1c1a8b69cb71abfd6d85c0291580146fda7c82857caa1/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:0f7eb884681e3938906ed0434f20c63046eacd0111c4ba96f27b76084cd679f5", size = 203552 },
+ { url = "https://files.pythonhosted.org/packages/c1/4c/a5fb52d528a8ca41f7598cb619409ece30a169fbdf9cdce592e53b46c3a6/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:4dc1e73c36828f982bfe79fadf5919923f8a6f4df2860804db9a98c48824ce8d", size = 230806 },
+ { url = "https://files.pythonhosted.org/packages/59/7a/071feed8124111a32b316b33ae4de83d36923039ef8cf48120266844285b/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:aed52fea0513bac0ccde438c188c8a471c4e0f457c2dd20cdbf6ea7a450046c7", size = 212316 },
+ { url = "https://files.pythonhosted.org/packages/fd/35/f7dba3994312d7ba508e041eaac39a36b120f32d4c8662b8814dab876431/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:fea24543955a6a729c45a73fe90e08c743f0b3334bbf3201e6c4bc1b0c7fa464", size = 227274 },
+ { url = "https://files.pythonhosted.org/packages/8a/2d/a572df5c9204ab7688ec1edc895a73ebded3b023bb07364710b05dd1c9be/charset_normalizer-3.4.7-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:bb6d88045545b26da47aa879dd4a89a71d1dce0f0e549b1abcb31dfe4a8eac49", size = 218468 },
+ { url = "https://files.pythonhosted.org/packages/86/eb/890922a8b03a568ca2f336c36585a4713c55d4d67bf0f0c78924be6315ca/charset_normalizer-3.4.7-cp312-cp312-win32.whl", hash = "sha256:2257141f39fe65a3fdf38aeccae4b953e5f3b3324f4ff0daf9f15b8518666a2c", size = 148460 },
+ { url = "https://files.pythonhosted.org/packages/35/d9/0e7dffa06c5ab081f75b1b786f0aefc88365825dfcd0ac544bdb7b2b6853/charset_normalizer-3.4.7-cp312-cp312-win_amd64.whl", hash = "sha256:5ed6ab538499c8644b8a3e18debabcd7ce684f3fa91cf867521a7a0279cab2d6", size = 159330 },
+ { url = "https://files.pythonhosted.org/packages/9e/5d/481bcc2a7c88ea6b0878c299547843b2521ccbc40980cb406267088bc701/charset_normalizer-3.4.7-cp312-cp312-win_arm64.whl", hash = "sha256:56be790f86bfb2c98fb742ce566dfb4816e5a83384616ab59c49e0604d49c51d", size = 147828 },
+ { url = "https://files.pythonhosted.org/packages/c1/3b/66777e39d3ae1ddc77ee606be4ec6d8cbd4c801f65e5a1b6f2b11b8346dd/charset_normalizer-3.4.7-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:f496c9c3cc02230093d8330875c4c3cdfc3b73612a5fd921c65d39cbcef08063", size = 309627 },
+ { url = "https://files.pythonhosted.org/packages/2e/4e/b7f84e617b4854ade48a1b7915c8ccfadeba444d2a18c291f696e37f0d3b/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0ea948db76d31190bf08bd371623927ee1339d5f2a0b4b1b4a4439a65298703c", size = 207008 },
+ { url = "https://files.pythonhosted.org/packages/c4/bb/ec73c0257c9e11b268f018f068f5d00aa0ef8c8b09f7753ebd5f2880e248/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a277ab8928b9f299723bc1a2dabb1265911b1a76341f90a510368ca44ad9ab66", size = 228303 },
+ { url = "https://files.pythonhosted.org/packages/85/fb/32d1f5033484494619f701e719429c69b766bfc4dbc61aa9e9c8c166528b/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:3bec022aec2c514d9cf199522a802bd007cd588ab17ab2525f20f9c34d067c18", size = 224282 },
+ { url = "https://files.pythonhosted.org/packages/fa/07/330e3a0dda4c404d6da83b327270906e9654a24f6c546dc886a0eb0ffb23/charset_normalizer-3.4.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e044c39e41b92c845bc815e5ae4230804e8e7bc29e399b0437d64222d92809dd", size = 215595 },
+ { url = "https://files.pythonhosted.org/packages/e3/7c/fc890655786e423f02556e0216d4b8c6bcb6bdfa890160dc66bf52dee468/charset_normalizer-3.4.7-cp313-cp313-manylinux_2_31_armv7l.whl", hash = "sha256:f495a1652cf3fbab2eb0639776dad966c2fb874d79d87ca07f9d5f059b8bd215", size = 201986 },
+ { url = "https://files.pythonhosted.org/packages/d8/97/bfb18b3db2aed3b90cf54dc292ad79fdd5ad65c4eae454099475cbeadd0d/charset_normalizer-3.4.7-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e712b419df8ba5e42b226c510472b37bd57b38e897d3eca5e8cfd410a29fa859", size = 211711 },
+ { url = "https://files.pythonhosted.org/packages/6f/a5/a581c13798546a7fd557c82614a5c65a13df2157e9ad6373166d2a3e645d/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:7804338df6fcc08105c7745f1502ba68d900f45fd770d5bdd5288ddccb8a42d8", size = 210036 },
+ { url = "https://files.pythonhosted.org/packages/8c/bf/b3ab5bcb478e4193d517644b0fb2bf5497fbceeaa7a1bc0f4d5b50953861/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:481551899c856c704d58119b5025793fa6730adda3571971af568f66d2424bb5", size = 202998 },
+ { url = "https://files.pythonhosted.org/packages/e7/4e/23efd79b65d314fa320ec6017b4b5834d5c12a58ba4610aa353af2e2f577/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:f59099f9b66f0d7145115e6f80dd8b1d847176df89b234a5a6b3f00437aa0832", size = 230056 },
+ { url = "https://files.pythonhosted.org/packages/b9/9f/1e1941bc3f0e01df116e68dc37a55c4d249df5e6fa77f008841aef68264f/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:f59ad4c0e8f6bba240a9bb85504faa1ab438237199d4cce5f622761507b8f6a6", size = 211537 },
+ { url = "https://files.pythonhosted.org/packages/80/0f/088cbb3020d44428964a6c97fe1edfb1b9550396bf6d278330281e8b709c/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:3dedcc22d73ec993f42055eff4fcfed9318d1eeb9a6606c55892a26964964e48", size = 226176 },
+ { url = "https://files.pythonhosted.org/packages/6a/9f/130394f9bbe06f4f63e22641d32fc9b202b7e251c9aef4db044324dac493/charset_normalizer-3.4.7-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:64f02c6841d7d83f832cd97ccf8eb8a906d06eb95d5276069175c696b024b60a", size = 217723 },
+ { url = "https://files.pythonhosted.org/packages/73/55/c469897448a06e49f8fa03f6caae97074fde823f432a98f979cc42b90e69/charset_normalizer-3.4.7-cp313-cp313-win32.whl", hash = "sha256:4042d5c8f957e15221d423ba781e85d553722fc4113f523f2feb7b188cc34c5e", size = 148085 },
+ { url = "https://files.pythonhosted.org/packages/5d/78/1b74c5bbb3f99b77a1715c91b3e0b5bdb6fe302d95ace4f5b1bec37b0167/charset_normalizer-3.4.7-cp313-cp313-win_amd64.whl", hash = "sha256:3946fa46a0cf3e4c8cb1cc52f56bb536310d34f25f01ca9b6c16afa767dab110", size = 158819 },
+ { url = "https://files.pythonhosted.org/packages/68/86/46bd42279d323deb8687c4a5a811fd548cb7d1de10cf6535d099877a9a9f/charset_normalizer-3.4.7-cp313-cp313-win_arm64.whl", hash = "sha256:80d04837f55fc81da168b98de4f4b797ef007fc8a79ab71c6ec9bc4dd662b15b", size = 147915 },
+ { url = "https://files.pythonhosted.org/packages/97/c8/c67cb8c70e19ef1960b97b22ed2a1567711de46c4ddf19799923adc836c2/charset_normalizer-3.4.7-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:c36c333c39be2dbca264d7803333c896ab8fa7d4d6f0ab7edb7dfd7aea6e98c0", size = 309234 },
+ { url = "https://files.pythonhosted.org/packages/99/85/c091fdee33f20de70d6c8b522743b6f831a2f1cd3ff86de4c6a827c48a76/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1c2aed2e5e41f24ea8ef1590b8e848a79b56f3a5564a65ceec43c9d692dc7d8a", size = 208042 },
+ { url = "https://files.pythonhosted.org/packages/87/1c/ab2ce611b984d2fd5d86a5a8a19c1ae26acac6bad967da4967562c75114d/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:54523e136b8948060c0fa0bc7b1b50c32c186f2fceee897a495406bb6e311d2b", size = 228706 },
+ { url = "https://files.pythonhosted.org/packages/a8/29/2b1d2cb00bf085f59d29eb773ce58ec2d325430f8c216804a0a5cd83cbca/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:715479b9a2802ecac752a3b0efa2b0b60285cf962ee38414211abdfccc233b41", size = 224727 },
+ { url = "https://files.pythonhosted.org/packages/47/5c/032c2d5a07fe4d4855fea851209cca2b6f03ebeb6d4e3afdb3358386a684/charset_normalizer-3.4.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bd6c2a1c7573c64738d716488d2cdd3c00e340e4835707d8fdb8dc1a66ef164e", size = 215882 },
+ { url = "https://files.pythonhosted.org/packages/2c/c2/356065d5a8b78ed04499cae5f339f091946a6a74f91e03476c33f0ab7100/charset_normalizer-3.4.7-cp314-cp314-manylinux_2_31_armv7l.whl", hash = "sha256:c45e9440fb78f8ddabcf714b68f936737a121355bf59f3907f4e17721b9d1aae", size = 200860 },
+ { url = "https://files.pythonhosted.org/packages/0c/cd/a32a84217ced5039f53b29f460962abb2d4420def55afabe45b1c3c7483d/charset_normalizer-3.4.7-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3534e7dcbdcf757da6b85a0bbf5b6868786d5982dd959b065e65481644817a18", size = 211564 },
+ { url = "https://files.pythonhosted.org/packages/44/86/58e6f13ce26cc3b8f4a36b94a0f22ae2f00a72534520f4ae6857c4b81f89/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e8ac484bf18ce6975760921bb6148041faa8fef0547200386ea0b52b5d27bf7b", size = 211276 },
+ { url = "https://files.pythonhosted.org/packages/8f/fe/d17c32dc72e17e155e06883efa84514ca375f8a528ba2546bee73fc4df81/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:a5fe03b42827c13cdccd08e6c0247b6a6d4b5e3cdc53fd1749f5896adcdc2356", size = 201238 },
+ { url = "https://files.pythonhosted.org/packages/6a/29/f33daa50b06525a237451cdb6c69da366c381a3dadcd833fa5676bc468b3/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:2d6eb928e13016cea4f1f21d1e10c1cebd5a421bc57ddf5b1142ae3f86824fab", size = 230189 },
+ { url = "https://files.pythonhosted.org/packages/b6/6e/52c84015394a6a0bdcd435210a7e944c5f94ea1055f5cc5d56c5fe368e7b/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:e74327fb75de8986940def6e8dee4f127cc9752bee7355bb323cc5b2659b6d46", size = 211352 },
+ { url = "https://files.pythonhosted.org/packages/8c/d7/4353be581b373033fb9198bf1da3cf8f09c1082561e8e922aa7b39bf9fe8/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:d6038d37043bced98a66e68d3aa2b6a35505dc01328cd65217cefe82f25def44", size = 227024 },
+ { url = "https://files.pythonhosted.org/packages/30/45/99d18aa925bd1740098ccd3060e238e21115fffbfdcb8f3ece837d0ace6c/charset_normalizer-3.4.7-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:7579e913a5339fb8fa133f6bbcfd8e6749696206cf05acdbdca71a1b436d8e72", size = 217869 },
+ { url = "https://files.pythonhosted.org/packages/5c/05/5ee478aa53f4bb7996482153d4bfe1b89e0f087f0ab6b294fcf92d595873/charset_normalizer-3.4.7-cp314-cp314-win32.whl", hash = "sha256:5b77459df20e08151cd6f8b9ef8ef1f961ef73d85c21a555c7eed5b79410ec10", size = 148541 },
+ { url = "https://files.pythonhosted.org/packages/48/77/72dcb0921b2ce86420b2d79d454c7022bf5be40202a2a07906b9f2a35c97/charset_normalizer-3.4.7-cp314-cp314-win_amd64.whl", hash = "sha256:92a0a01ead5e668468e952e4238cccd7c537364eb7d851ab144ab6627dbbe12f", size = 159634 },
+ { url = "https://files.pythonhosted.org/packages/c6/a3/c2369911cd72f02386e4e340770f6e158c7980267da16af8f668217abaa0/charset_normalizer-3.4.7-cp314-cp314-win_arm64.whl", hash = "sha256:67f6279d125ca0046a7fd386d01b311c6363844deac3e5b069b514ba3e63c246", size = 148384 },
+ { url = "https://files.pythonhosted.org/packages/94/09/7e8a7f73d24dba1f0035fbbf014d2c36828fc1bf9c88f84093e57d315935/charset_normalizer-3.4.7-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:effc3f449787117233702311a1b7d8f59cba9ced946ba727bdc329ec69028e24", size = 330133 },
+ { url = "https://files.pythonhosted.org/packages/8d/da/96975ddb11f8e977f706f45cddd8540fd8242f71ecdb5d18a80723dcf62c/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fbccdc05410c9ee21bbf16a35f4c1d16123dcdeb8a1d38f33654fa21d0234f79", size = 216257 },
+ { url = "https://files.pythonhosted.org/packages/e5/e8/1d63bf8ef2d388e95c64b2098f45f84758f6d102a087552da1485912637b/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:733784b6d6def852c814bce5f318d25da2ee65dd4839a0718641c696e09a2960", size = 234851 },
+ { url = "https://files.pythonhosted.org/packages/9b/40/e5ff04233e70da2681fa43969ad6f66ca5611d7e669be0246c4c7aaf6dc8/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a89c23ef8d2c6b27fd200a42aa4ac72786e7c60d40efdc76e6011260b6e949c4", size = 233393 },
+ { url = "https://files.pythonhosted.org/packages/be/c1/06c6c49d5a5450f76899992f1ee40b41d076aee9279b49cf9974d2f313d5/charset_normalizer-3.4.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6c114670c45346afedc0d947faf3c7f701051d2518b943679c8ff88befe14f8e", size = 223251 },
+ { url = "https://files.pythonhosted.org/packages/2b/9f/f2ff16fb050946169e3e1f82134d107e5d4ae72647ec8a1b1446c148480f/charset_normalizer-3.4.7-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:a180c5e59792af262bf263b21a3c49353f25945d8d9f70628e73de370d55e1e1", size = 206609 },
+ { url = "https://files.pythonhosted.org/packages/69/d5/a527c0cd8d64d2eab7459784fb4169a0ac76e5a6fc5237337982fd61347e/charset_normalizer-3.4.7-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:3c9a494bc5ec77d43cea229c4f6db1e4d8fe7e1bbffa8b6f0f0032430ff8ab44", size = 220014 },
+ { url = "https://files.pythonhosted.org/packages/7e/80/8a7b8104a3e203074dc9aa2c613d4b726c0e136bad1cc734594b02867972/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8d828b6667a32a728a1ad1d93957cdf37489c57b97ae6c4de2860fa749b8fc1e", size = 218979 },
+ { url = "https://files.pythonhosted.org/packages/02/9a/b759b503d507f375b2b5c153e4d2ee0a75aa215b7f2489cf314f4541f2c0/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:cf1493cd8607bec4d8a7b9b004e699fcf8f9103a9284cc94962cb73d20f9d4a3", size = 209238 },
+ { url = "https://files.pythonhosted.org/packages/c2/4e/0f3f5d47b86bdb79256e7290b26ac847a2832d9a4033f7eb2cd4bcf4bb5b/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:0c96c3b819b5c3e9e165495db84d41914d6894d55181d2d108cc1a69bfc9cce0", size = 236110 },
+ { url = "https://files.pythonhosted.org/packages/96/23/bce28734eb3ed2c91dcf93abeb8a5cf393a7b2749725030bb630e554fdd8/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:752a45dc4a6934060b3b0dab47e04edc3326575f82be64bc4fc293914566503e", size = 219824 },
+ { url = "https://files.pythonhosted.org/packages/2c/6f/6e897c6984cc4d41af319b077f2f600fc8214eb2fe2d6bcb79141b882400/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:8778f0c7a52e56f75d12dae53ae320fae900a8b9b4164b981b9c5ce059cd1fcb", size = 233103 },
+ { url = "https://files.pythonhosted.org/packages/76/22/ef7bd0fe480a0ae9b656189ec00744b60933f68b4f42a7bb06589f6f576a/charset_normalizer-3.4.7-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ce3412fbe1e31eb81ea42f4169ed94861c56e643189e1e75f0041f3fe7020abe", size = 225194 },
+ { url = "https://files.pythonhosted.org/packages/c5/a7/0e0ab3e0b5bc1219bd80a6a0d4d72ca74d9250cb2382b7c699c147e06017/charset_normalizer-3.4.7-cp314-cp314t-win32.whl", hash = "sha256:c03a41a8784091e67a39648f70c5f97b5b6a37f216896d44d2cdcb82615339a0", size = 159827 },
+ { url = "https://files.pythonhosted.org/packages/7a/1d/29d32e0fb40864b1f878c7f5a0b343ae676c6e2b271a2d55cc3a152391da/charset_normalizer-3.4.7-cp314-cp314t-win_amd64.whl", hash = "sha256:03853ed82eeebbce3c2abfdbc98c96dc205f32a79627688ac9a27370ea61a49c", size = 174168 },
+ { url = "https://files.pythonhosted.org/packages/de/32/d92444ad05c7a6e41fb2036749777c163baf7a0301a040cb672d6b2b1ae9/charset_normalizer-3.4.7-cp314-cp314t-win_arm64.whl", hash = "sha256:c35abb8bfff0185efac5878da64c45dafd2b37fb0383add1be155a763c1f083d", size = 153018 },
+ { url = "https://files.pythonhosted.org/packages/db/8f/61959034484a4a7c527811f4721e75d02d653a35afb0b6054474d8185d4c/charset_normalizer-3.4.7-py3-none-any.whl", hash = "sha256:3dce51d0f5e7951f8bb4900c257dad282f49190fdbebecd4ba99bcc41fef404d", size = 61958 },
+]
+
+[[package]]
+name = "click"
+version = "8.3.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/57/75/31212c6bf2503fdf920d87fee5d7a86a2e3bcf444984126f13d8e4016804/click-8.3.2.tar.gz", hash = "sha256:14162b8b3b3550a7d479eafa77dfd3c38d9dc8951f6f69c78913a8f9a7540fd5", size = 302856 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e4/20/71885d8b97d4f3dde17b1fdb92dbd4908b00541c5a3379787137285f602e/click-8.3.2-py3-none-any.whl", hash = "sha256:1924d2c27c5653561cd2cae4548d1406039cb79b858b747cfea24924bbc1616d", size = 108379 },
+]
+
+[[package]]
+name = "cloudpickle"
+version = "3.1.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/27/fb/576f067976d320f5f0114a8d9fa1215425441bb35627b1993e5afd8111e5/cloudpickle-3.1.2.tar.gz", hash = "sha256:7fda9eb655c9c230dab534f1983763de5835249750e85fbcef43aaa30a9a2414", size = 22330 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/88/39/799be3f2f0f38cc727ee3b4f1445fe6d5e4133064ec2e4115069418a5bb6/cloudpickle-3.1.2-py3-none-any.whl", hash = "sha256:9acb47f6afd73f60dc1df93bb801b472f05ff42fa6c84167d25cb206be1fbf4a", size = 22228 },
+]
+
+[[package]]
+name = "colorama"
+version = "0.4.6"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335 },
+]
+
+[[package]]
+name = "cryptography"
+version = "46.0.7"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "cffi", marker = "platform_python_implementation != 'PyPy'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/47/93/ac8f3d5ff04d54bc814e961a43ae5b0b146154c89c61b47bb07557679b18/cryptography-46.0.7.tar.gz", hash = "sha256:e4cfd68c5f3e0bfdad0d38e023239b96a2fe84146481852dffbcca442c245aa5", size = 750652 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0b/5d/4a8f770695d73be252331e60e526291e3df0c9b27556a90a6b47bccca4c2/cryptography-46.0.7-cp311-abi3-macosx_10_9_universal2.whl", hash = "sha256:ea42cbe97209df307fdc3b155f1b6fa2577c0defa8f1f7d3be7d31d189108ad4", size = 7179869 },
+ { url = "https://files.pythonhosted.org/packages/5f/45/6d80dc379b0bbc1f9d1e429f42e4cb9e1d319c7a8201beffd967c516ea01/cryptography-46.0.7-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b36a4695e29fe69215d75960b22577197aca3f7a25b9cf9d165dcfe9d80bc325", size = 4275492 },
+ { url = "https://files.pythonhosted.org/packages/4a/9a/1765afe9f572e239c3469f2cb429f3ba7b31878c893b246b4b2994ffe2fe/cryptography-46.0.7-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:5ad9ef796328c5e3c4ceed237a183f5d41d21150f972455a9d926593a1dcb308", size = 4426670 },
+ { url = "https://files.pythonhosted.org/packages/8f/3e/af9246aaf23cd4ee060699adab1e47ced3f5f7e7a8ffdd339f817b446462/cryptography-46.0.7-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:73510b83623e080a2c35c62c15298096e2a5dc8d51c3b4e1740211839d0dea77", size = 4280275 },
+ { url = "https://files.pythonhosted.org/packages/0f/54/6bbbfc5efe86f9d71041827b793c24811a017c6ac0fd12883e4caa86b8ed/cryptography-46.0.7-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:cbd5fb06b62bd0721e1170273d3f4d5a277044c47ca27ee257025146c34cbdd1", size = 4928402 },
+ { url = "https://files.pythonhosted.org/packages/2d/cf/054b9d8220f81509939599c8bdbc0c408dbd2bdd41688616a20731371fe0/cryptography-46.0.7-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:420b1e4109cc95f0e5700eed79908cef9268265c773d3a66f7af1eef53d409ef", size = 4459985 },
+ { url = "https://files.pythonhosted.org/packages/f9/46/4e4e9c6040fb01c7467d47217d2f882daddeb8828f7df800cb806d8a2288/cryptography-46.0.7-cp311-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:24402210aa54baae71d99441d15bb5a1919c195398a87b563df84468160a65de", size = 3990652 },
+ { url = "https://files.pythonhosted.org/packages/36/5f/313586c3be5a2fbe87e4c9a254207b860155a8e1f3cca99f9910008e7d08/cryptography-46.0.7-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:8a469028a86f12eb7d2fe97162d0634026d92a21f3ae0ac87ed1c4a447886c83", size = 4279805 },
+ { url = "https://files.pythonhosted.org/packages/69/33/60dfc4595f334a2082749673386a4d05e4f0cf4df8248e63b2c3437585f2/cryptography-46.0.7-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:9694078c5d44c157ef3162e3bf3946510b857df5a3955458381d1c7cfc143ddb", size = 4892883 },
+ { url = "https://files.pythonhosted.org/packages/c7/0b/333ddab4270c4f5b972f980adef4faa66951a4aaf646ca067af597f15563/cryptography-46.0.7-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:42a1e5f98abb6391717978baf9f90dc28a743b7d9be7f0751a6f56a75d14065b", size = 4459756 },
+ { url = "https://files.pythonhosted.org/packages/d2/14/633913398b43b75f1234834170947957c6b623d1701ffc7a9600da907e89/cryptography-46.0.7-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:91bbcb08347344f810cbe49065914fe048949648f6bd5c2519f34619142bbe85", size = 4410244 },
+ { url = "https://files.pythonhosted.org/packages/10/f2/19ceb3b3dc14009373432af0c13f46aa08e3ce334ec6eff13492e1812ccd/cryptography-46.0.7-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:5d1c02a14ceb9148cc7816249f64f623fbfee39e8c03b3650d842ad3f34d637e", size = 4674868 },
+ { url = "https://files.pythonhosted.org/packages/1a/bb/a5c213c19ee94b15dfccc48f363738633a493812687f5567addbcbba9f6f/cryptography-46.0.7-cp311-abi3-win32.whl", hash = "sha256:d23c8ca48e44ee015cd0a54aeccdf9f09004eba9fc96f38c911011d9ff1bd457", size = 3026504 },
+ { url = "https://files.pythonhosted.org/packages/2b/02/7788f9fefa1d060ca68717c3901ae7fffa21ee087a90b7f23c7a603c32ae/cryptography-46.0.7-cp311-abi3-win_amd64.whl", hash = "sha256:397655da831414d165029da9bc483bed2fe0e75dde6a1523ec2fe63f3c46046b", size = 3488363 },
+ { url = "https://files.pythonhosted.org/packages/7b/56/15619b210e689c5403bb0540e4cb7dbf11a6bf42e483b7644e471a2812b3/cryptography-46.0.7-cp314-cp314t-macosx_10_9_universal2.whl", hash = "sha256:d151173275e1728cf7839aaa80c34fe550c04ddb27b34f48c232193df8db5842", size = 7119671 },
+ { url = "https://files.pythonhosted.org/packages/74/66/e3ce040721b0b5599e175ba91ab08884c75928fbeb74597dd10ef13505d2/cryptography-46.0.7-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:db0f493b9181c7820c8134437eb8b0b4792085d37dbb24da050476ccb664e59c", size = 4268551 },
+ { url = "https://files.pythonhosted.org/packages/03/11/5e395f961d6868269835dee1bafec6a1ac176505a167f68b7d8818431068/cryptography-46.0.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ebd6daf519b9f189f85c479427bbd6e9c9037862cf8fe89ee35503bd209ed902", size = 4408887 },
+ { url = "https://files.pythonhosted.org/packages/40/53/8ed1cf4c3b9c8e611e7122fb56f1c32d09e1fff0f1d77e78d9ff7c82653e/cryptography-46.0.7-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:b7b412817be92117ec5ed95f880defe9cf18a832e8cafacf0a22337dc1981b4d", size = 4271354 },
+ { url = "https://files.pythonhosted.org/packages/50/46/cf71e26025c2e767c5609162c866a78e8a2915bbcfa408b7ca495c6140c4/cryptography-46.0.7-cp314-cp314t-manylinux_2_28_ppc64le.whl", hash = "sha256:fbfd0e5f273877695cb93baf14b185f4878128b250cc9f8e617ea0c025dfb022", size = 4905845 },
+ { url = "https://files.pythonhosted.org/packages/c0/ea/01276740375bac6249d0a971ebdf6b4dc9ead0ee0a34ef3b5a88c1a9b0d4/cryptography-46.0.7-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:ffca7aa1d00cf7d6469b988c581598f2259e46215e0140af408966a24cf086ce", size = 4444641 },
+ { url = "https://files.pythonhosted.org/packages/3d/4c/7d258f169ae71230f25d9f3d06caabcff8c3baf0978e2b7d65e0acac3827/cryptography-46.0.7-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:60627cf07e0d9274338521205899337c5d18249db56865f943cbe753aa96f40f", size = 3967749 },
+ { url = "https://files.pythonhosted.org/packages/b5/2a/2ea0767cad19e71b3530e4cad9605d0b5e338b6a1e72c37c9c1ceb86c333/cryptography-46.0.7-cp314-cp314t-manylinux_2_34_aarch64.whl", hash = "sha256:80406c3065e2c55d7f49a9550fe0c49b3f12e5bfff5dedb727e319e1afb9bf99", size = 4270942 },
+ { url = "https://files.pythonhosted.org/packages/41/3d/fe14df95a83319af25717677e956567a105bb6ab25641acaa093db79975d/cryptography-46.0.7-cp314-cp314t-manylinux_2_34_ppc64le.whl", hash = "sha256:c5b1ccd1239f48b7151a65bc6dd54bcfcc15e028c8ac126d3fada09db0e07ef1", size = 4871079 },
+ { url = "https://files.pythonhosted.org/packages/9c/59/4a479e0f36f8f378d397f4eab4c850b4ffb79a2f0d58704b8fa0703ddc11/cryptography-46.0.7-cp314-cp314t-manylinux_2_34_x86_64.whl", hash = "sha256:d5f7520159cd9c2154eb61eb67548ca05c5774d39e9c2c4339fd793fe7d097b2", size = 4443999 },
+ { url = "https://files.pythonhosted.org/packages/28/17/b59a741645822ec6d04732b43c5d35e4ef58be7bfa84a81e5ae6f05a1d33/cryptography-46.0.7-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:fcd8eac50d9138c1d7fc53a653ba60a2bee81a505f9f8850b6b2888555a45d0e", size = 4399191 },
+ { url = "https://files.pythonhosted.org/packages/59/6a/bb2e166d6d0e0955f1e9ff70f10ec4b2824c9cfcdb4da772c7dd69cc7d80/cryptography-46.0.7-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:65814c60f8cc400c63131584e3e1fad01235edba2614b61fbfbfa954082db0ee", size = 4655782 },
+ { url = "https://files.pythonhosted.org/packages/95/b6/3da51d48415bcb63b00dc17c2eff3a651b7c4fed484308d0f19b30e8cb2c/cryptography-46.0.7-cp314-cp314t-win32.whl", hash = "sha256:fdd1736fed309b4300346f88f74cd120c27c56852c3838cab416e7a166f67298", size = 3002227 },
+ { url = "https://files.pythonhosted.org/packages/32/a8/9f0e4ed57ec9cebe506e58db11ae472972ecb0c659e4d52bbaee80ca340a/cryptography-46.0.7-cp314-cp314t-win_amd64.whl", hash = "sha256:e06acf3c99be55aa3b516397fe42f5855597f430add9c17fa46bf2e0fb34c9bb", size = 3475332 },
+ { url = "https://files.pythonhosted.org/packages/a7/7f/cd42fc3614386bc0c12f0cb3c4ae1fc2bbca5c9662dfed031514911d513d/cryptography-46.0.7-cp38-abi3-macosx_10_9_universal2.whl", hash = "sha256:462ad5cb1c148a22b2e3bcc5ad52504dff325d17daf5df8d88c17dda1f75f2a4", size = 7165618 },
+ { url = "https://files.pythonhosted.org/packages/a5/d0/36a49f0262d2319139d2829f773f1b97ef8aef7f97e6e5bd21455e5a8fb5/cryptography-46.0.7-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:84d4cced91f0f159a7ddacad249cc077e63195c36aac40b4150e7a57e84fffe7", size = 4270628 },
+ { url = "https://files.pythonhosted.org/packages/8a/6c/1a42450f464dda6ffbe578a911f773e54dd48c10f9895a23a7e88b3e7db5/cryptography-46.0.7-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:128c5edfe5e5938b86b03941e94fac9ee793a94452ad1365c9fc3f4f62216832", size = 4415405 },
+ { url = "https://files.pythonhosted.org/packages/9a/92/4ed714dbe93a066dc1f4b4581a464d2d7dbec9046f7c8b7016f5286329e2/cryptography-46.0.7-cp38-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:5e51be372b26ef4ba3de3c167cd3d1022934bc838ae9eaad7e644986d2a3d163", size = 4272715 },
+ { url = "https://files.pythonhosted.org/packages/b7/e6/a26b84096eddd51494bba19111f8fffe976f6a09f132706f8f1bf03f51f7/cryptography-46.0.7-cp38-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:cdf1a610ef82abb396451862739e3fc93b071c844399e15b90726ef7470eeaf2", size = 4918400 },
+ { url = "https://files.pythonhosted.org/packages/c7/08/ffd537b605568a148543ac3c2b239708ae0bd635064bab41359252ef88ed/cryptography-46.0.7-cp38-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:1d25aee46d0c6f1a501adcddb2d2fee4b979381346a78558ed13e50aa8a59067", size = 4450634 },
+ { url = "https://files.pythonhosted.org/packages/16/01/0cd51dd86ab5b9befe0d031e276510491976c3a80e9f6e31810cce46c4ad/cryptography-46.0.7-cp38-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:cdfbe22376065ffcf8be74dc9a909f032df19bc58a699456a21712d6e5eabfd0", size = 3985233 },
+ { url = "https://files.pythonhosted.org/packages/92/49/819d6ed3a7d9349c2939f81b500a738cb733ab62fbecdbc1e38e83d45e12/cryptography-46.0.7-cp38-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:abad9dac36cbf55de6eb49badd4016806b3165d396f64925bf2999bcb67837ba", size = 4271955 },
+ { url = "https://files.pythonhosted.org/packages/80/07/ad9b3c56ebb95ed2473d46df0847357e01583f4c52a85754d1a55e29e4d0/cryptography-46.0.7-cp38-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:935ce7e3cfdb53e3536119a542b839bb94ec1ad081013e9ab9b7cfd478b05006", size = 4879888 },
+ { url = "https://files.pythonhosted.org/packages/b8/c7/201d3d58f30c4c2bdbe9b03844c291feb77c20511cc3586daf7edc12a47b/cryptography-46.0.7-cp38-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:35719dc79d4730d30f1c2b6474bd6acda36ae2dfae1e3c16f2051f215df33ce0", size = 4449961 },
+ { url = "https://files.pythonhosted.org/packages/a5/ef/649750cbf96f3033c3c976e112265c33906f8e462291a33d77f90356548c/cryptography-46.0.7-cp38-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:7bbc6ccf49d05ac8f7d7b5e2e2c33830d4fe2061def88210a126d130d7f71a85", size = 4401696 },
+ { url = "https://files.pythonhosted.org/packages/41/52/a8908dcb1a389a459a29008c29966c1d552588d4ae6d43f3a1a4512e0ebe/cryptography-46.0.7-cp38-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:a1529d614f44b863a7b480c6d000fe93b59acee9c82ffa027cfadc77521a9f5e", size = 4664256 },
+ { url = "https://files.pythonhosted.org/packages/4b/fa/f0ab06238e899cc3fb332623f337a7364f36f4bb3f2534c2bb95a35b132c/cryptography-46.0.7-cp38-abi3-win32.whl", hash = "sha256:f247c8c1a1fb45e12586afbb436ef21ff1e80670b2861a90353d9b025583d246", size = 3013001 },
+ { url = "https://files.pythonhosted.org/packages/d2/f1/00ce3bde3ca542d1acd8f8cfa38e446840945aa6363f9b74746394b14127/cryptography-46.0.7-cp38-abi3-win_amd64.whl", hash = "sha256:506c4ff91eff4f82bdac7633318a526b1d1309fc07ca76a3ad182cb5b686d6d3", size = 3472985 },
+ { url = "https://files.pythonhosted.org/packages/63/0c/dca8abb64e7ca4f6b2978769f6fea5ad06686a190cec381f0a796fdcaaba/cryptography-46.0.7-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:fc9ab8856ae6cf7c9358430e49b368f3108f050031442eaeb6b9d87e4dcf4e4f", size = 3476879 },
+ { url = "https://files.pythonhosted.org/packages/3a/ea/075aac6a84b7c271578d81a2f9968acb6e273002408729f2ddff517fed4a/cryptography-46.0.7-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:d3b99c535a9de0adced13d159c5a9cf65c325601aa30f4be08afd680643e9c15", size = 4219700 },
+ { url = "https://files.pythonhosted.org/packages/6c/7b/1c55db7242b5e5612b29fc7a630e91ee7a6e3c8e7bf5406d22e206875fbd/cryptography-46.0.7-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:d02c738dacda7dc2a74d1b2b3177042009d5cab7c7079db74afc19e56ca1b455", size = 4385982 },
+ { url = "https://files.pythonhosted.org/packages/cb/da/9870eec4b69c63ef5925bf7d8342b7e13bc2ee3d47791461c4e49ca212f4/cryptography-46.0.7-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:04959522f938493042d595a736e7dbdff6eb6cc2339c11465b3ff89343b65f65", size = 4219115 },
+ { url = "https://files.pythonhosted.org/packages/f4/72/05aa5832b82dd341969e9a734d1812a6aadb088d9eb6f0430fc337cc5a8f/cryptography-46.0.7-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:3986ac1dee6def53797289999eabe84798ad7817f3e97779b5061a95b0ee4968", size = 4385479 },
+ { url = "https://files.pythonhosted.org/packages/20/2a/1b016902351a523aa2bd446b50a5bc1175d7a7d1cf90fe2ef904f9b84ebc/cryptography-46.0.7-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:258514877e15963bd43b558917bc9f54cf7cf866c38aa576ebf47a77ddbc43a4", size = 3412829 },
+]
+
+[[package]]
+name = "ctranslate2"
+version = "4.7.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "numpy" },
+ { name = "pyyaml" },
+ { name = "setuptools" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/da/25/41920ccee68e91cb6fa0fc9e8078ab2b7839f2c668f750dc123144cb7c6e/ctranslate2-4.7.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f74200bab9996b14a57cf6f7cb27d0921ceedc4acc1e905598e3e85b4d75b1ec", size = 1256943 },
+ { url = "https://files.pythonhosted.org/packages/79/22/bc81fcc9f10ba4da3ffd1a9adec15cfb73cb700b3bbe69c6c8b55d333316/ctranslate2-4.7.1-cp311-cp311-macosx_11_0_x86_64.whl", hash = "sha256:59b427eb3ac999a746315b03a63942fddd351f511db82ba1a66880d4dea98e25", size = 11916445 },
+ { url = "https://files.pythonhosted.org/packages/0a/a7/494a66bb02c7926331cadfff51d5ce81f5abfb1e8d05d7f2459082f31b48/ctranslate2-4.7.1-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:95f0c1051c180669d2a83a44b44b518b2d1683de125f623bbc81ad5dd6f6141c", size = 16696997 },
+ { url = "https://files.pythonhosted.org/packages/ed/4e/b48f79fd36e5d3c7e12db383aa49814c340921a618ef7364bd0ced670644/ctranslate2-4.7.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0ed92d9ab0ac6bc7005942be83d68714c80adb0897ab17f98157294ee0374347", size = 38836379 },
+ { url = "https://files.pythonhosted.org/packages/d2/23/8c01ac52e1f26fc4dbe985a35222ae7cd365bbf7ee5db5fd5545d8926f91/ctranslate2-4.7.1-cp311-cp311-win_amd64.whl", hash = "sha256:67d9ad9b69933fbfeee7dcec899b2cd9341d5dca4fdfb53e8ba8c109dc332ee1", size = 18843315 },
+ { url = "https://files.pythonhosted.org/packages/fc/0f/581de94b64c5f2327a736270bc7e7a5f8fe5cf1ed56a2203b52de4d8986a/ctranslate2-4.7.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4c0cbd46a23b8dc37ccdbd9b447cb5f7fadc361c90e9df17d82ca84b1f019986", size = 1257089 },
+ { url = "https://files.pythonhosted.org/packages/3d/e9/d55b0e436362f9fe26bd98fefd2dd5d81926121f1d7f799c805e6035bb26/ctranslate2-4.7.1-cp312-cp312-macosx_11_0_x86_64.whl", hash = "sha256:5b141ddad1da5f84cf3c2a569a56227a37de649a555d376cbd9b80e8f0373dd8", size = 11918502 },
+ { url = "https://files.pythonhosted.org/packages/ec/ce/9f29f0b0bb4280c2ebafb3ddb6cdff8ef1c2e185ee020c0ec0ecba7dc934/ctranslate2-4.7.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d00a62544db4a3caaa58a3c50d39b25613c042b430053ae32384d94eb1d40990", size = 16859601 },
+ { url = "https://files.pythonhosted.org/packages/b3/86/428d270fd72117d19fb48ed3211aa8a3c8bd7577373252962cb634e0fd01/ctranslate2-4.7.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:722b93a89647974cbd182b4c7f87fefc7794fff7fc9cbd0303b6447905cc157e", size = 38995338 },
+ { url = "https://files.pythonhosted.org/packages/4a/f4/d23dbfb9c62cb642c114a30f05d753ba61d6ffbfd8a3a4012fe85a073bcb/ctranslate2-4.7.1-cp312-cp312-win_amd64.whl", hash = "sha256:d0f734dc3757118094663bdaaf713f5090c55c1927fb330a76bb8b84173940e8", size = 18844949 },
+ { url = "https://files.pythonhosted.org/packages/34/6d/eb49ba05db286b4ea9d5d3fcf5f5cd0a9a5e218d46349618d5041001e303/ctranslate2-4.7.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:6b2abf2929756e3ec6246057b56df379995661560a2d776af05f9d97f63afcf5", size = 1256960 },
+ { url = "https://files.pythonhosted.org/packages/45/5a/b9cce7b00d89fc6fdeaf27587aa52d0597b465058563e93ff50910553bdd/ctranslate2-4.7.1-cp313-cp313-macosx_11_0_x86_64.whl", hash = "sha256:857ef3959d6b1c40dc227c715a36db33db2d097164996d6c75b6db8e30828f52", size = 11918645 },
+ { url = "https://files.pythonhosted.org/packages/ea/03/c0db0a5276599fb44ceafa2f2cb1afd5628808ec406fe036060a39693680/ctranslate2-4.7.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:393a9e7e989034660526a2c0e8bb65d1924f43d9a5c77d336494a353d16ba2a4", size = 16860452 },
+ { url = "https://files.pythonhosted.org/packages/0b/03/4e3728ce29d192ee75ed9a2d8589bf4f19edafe5bed3845187de51b179a3/ctranslate2-4.7.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a3d0682f2b9082e31c73d75b45f16cde77355ab76d7e8356a24c3cb2480a6d3", size = 38995174 },
+ { url = "https://files.pythonhosted.org/packages/9b/15/6e8e87c6a201d69803a79ac2e29623ce7c2cc9cd1df9db99810cca714373/ctranslate2-4.7.1-cp313-cp313-win_amd64.whl", hash = "sha256:baa6d2b10f57933d8c11791e8522659217918722d07bbef2389a443801125fe7", size = 18844953 },
+ { url = "https://files.pythonhosted.org/packages/fd/73/8a6b7ba18cad0c8667ee221ddab8c361cb70926440e5b8dd0e81924c28ac/ctranslate2-4.7.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:d5dfb076566551f4959dfd0706f94c923c1931def9b7bb249a2caa6ab23353a0", size = 1257560 },
+ { url = "https://files.pythonhosted.org/packages/70/c2/8817ca5d6c1b175b23a12f7c8b91484652f8718a76353317e5919b038733/ctranslate2-4.7.1-cp314-cp314-macosx_11_0_x86_64.whl", hash = "sha256:eecdb4ed934b384f16e8c01b185b082d6b5ffc7dcbb0b6a6eb48cd465282d957", size = 11918995 },
+ { url = "https://files.pythonhosted.org/packages/ac/33/b8eb3acc67bbca4d9872fc9ff94db78e6167a7ba5cd932f585d1560effc7/ctranslate2-4.7.1-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1aa6796edcc3c8d163c9e39c429d50076d266d68980fed9d1b2443f617c67e9e", size = 16844162 },
+ { url = "https://files.pythonhosted.org/packages/80/11/6474893b07121057035069a0a483fe1cd8c47878213f282afb4c0c6fc275/ctranslate2-4.7.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:24c0482c51726430fb83724451921c0e539d769c8618dcfd46b1645e7f75960d", size = 38966728 },
+ { url = "https://files.pythonhosted.org/packages/94/88/8fc7ff435c5e783e5fad9586d839d463e023988dbbbad949d442092d01f1/ctranslate2-4.7.1-cp314-cp314-win_amd64.whl", hash = "sha256:76db234c0446a23d20dd8eeaa7a789cc87d1d05283f48bf3152bae9fa0a69844", size = 19100788 },
+ { url = "https://files.pythonhosted.org/packages/d9/b3/f100013a76a98d64e67c721bd4559ea4eeb54be3e4ac45f4d801769899af/ctranslate2-4.7.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:058c9db2277dc8b19ecc86c7937628f69022f341844b9081d2ab642965d88fc6", size = 1280179 },
+ { url = "https://files.pythonhosted.org/packages/39/22/b77f748015667a5e2ca54a5ee080d7016fce34314f0e8cf904784549305a/ctranslate2-4.7.1-cp314-cp314t-macosx_11_0_x86_64.whl", hash = "sha256:5abcf885062c7f28a3f9a46be8d185795e8706ac6230ad086cae0bc82917df31", size = 11940166 },
+ { url = "https://files.pythonhosted.org/packages/7d/78/6d7fd52f646c6ba3343f71277a9bbef33734632949d1651231948b0f0359/ctranslate2-4.7.1-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9950acb04a002d5c60ae90a1ddceead1a803af1f00cadd9b1a1dc76e1f017481", size = 16849483 },
+ { url = "https://files.pythonhosted.org/packages/40/27/58769ff15ac31b44205bd7a8aeca80cf7357c657ea5df1b94ce0f5c83771/ctranslate2-4.7.1-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1dcc734e92e3f1ceeaa0c42bbfd009352857be179ecd4a7ed6cccc086a202f58", size = 38949393 },
+ { url = "https://files.pythonhosted.org/packages/0e/5c/9fa0ad6462b62efd0fb5ac1100eee47bc96ecc198ff4e237c731e5473616/ctranslate2-4.7.1-cp314-cp314t-win_amd64.whl", hash = "sha256:dfb7657bdb7b8211c8f9ecb6f3b70bc0db0e0384d01a8b1808cb66fe7199df59", size = 19123451 },
+]
+
+[[package]]
+name = "decorator"
+version = "5.2.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/43/fa/6d96a0978d19e17b68d634497769987b16c8f4cd0a7a05048bec693caa6b/decorator-5.2.1.tar.gz", hash = "sha256:65f266143752f734b0a7cc83c46f4618af75b8c5911b00ccb61d0ac9b6da0360", size = 56711 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/4e/8c/f3147f5c4b73e7550fe5f9352eaa956ae838d5c51eb58e7a25b9f3e2643b/decorator-5.2.1-py3-none-any.whl", hash = "sha256:d316bb415a2d9e2d2b3abcc4084c6502fc09240e292cd76a76afc106a1c8e04a", size = 9190 },
+]
+
+[[package]]
+name = "distro"
+version = "1.9.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/fc/f8/98eea607f65de6527f8a2e8885fc8015d3e6f5775df186e443e0964a11c3/distro-1.9.0.tar.gz", hash = "sha256:2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed", size = 60722 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl", hash = "sha256:7bffd925d65168f85027d8da9af6bddab658135b840670a223589bc0c8ef02b2", size = 20277 },
+]
+
+[[package]]
+name = "docstring-parser"
+version = "0.17.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/b2/9d/c3b43da9515bd270df0f80548d9944e389870713cc1fe2b8fb35fe2bcefd/docstring_parser-0.17.0.tar.gz", hash = "sha256:583de4a309722b3315439bb31d64ba3eebada841f2e2cee23b99df001434c912", size = 27442 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/55/e2/2537ebcff11c1ee1ff17d8d0b6f4db75873e3b0fb32c2d4a2ee31ecb310a/docstring_parser-0.17.0-py3-none-any.whl", hash = "sha256:cf2569abd23dce8099b300f9b4fa8191e9582dda731fd533daf54c4551658708", size = 36896 },
+]
+
+[[package]]
+name = "fastapi"
+version = "0.135.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "annotated-doc" },
+ { name = "pydantic" },
+ { name = "starlette" },
+ { name = "typing-extensions" },
+ { name = "typing-inspection" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/f7/e6/7adb4c5fa231e82c35b8f5741a9f2d055f520c29af5546fd70d3e8e1cd2e/fastapi-0.135.3.tar.gz", hash = "sha256:bd6d7caf1a2bdd8d676843cdcd2287729572a1ef524fc4d65c17ae002a1be654", size = 396524 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/84/a4/5caa2de7f917a04ada20018eccf60d6cc6145b0199d55ca3711b0fc08312/fastapi-0.135.3-py3-none-any.whl", hash = "sha256:9b0f590c813acd13d0ab43dd8494138eb58e484bfac405db1f3187cfc5810d98", size = 117734 },
+]
+
+[[package]]
+name = "faster-whisper"
+version = "1.2.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "av" },
+ { name = "ctranslate2" },
+ { name = "huggingface-hub" },
+ { name = "onnxruntime" },
+ { name = "tokenizers" },
+ { name = "tqdm" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/05/99/49ee85903dee060d9f08297b4a342e5e0bcfca2f027a07b4ee0a38ab13f9/faster_whisper-1.2.1-py3-none-any.whl", hash = "sha256:79a66ad50688c0b794dd501dc340a736992a6342f7f95e5811be60b5224a26a7", size = 1118909 },
+]
+
+[[package]]
+name = "filelock"
+version = "3.25.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/94/b8/00651a0f559862f3bb7d6f7477b192afe3f583cc5e26403b44e59a55ab34/filelock-3.25.2.tar.gz", hash = "sha256:b64ece2b38f4ca29dd3e810287aa8c48182bbecd1ae6e9ae126c9b35f1382694", size = 40480 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a4/a5/842ae8f0c08b61d6484b52f99a03510a3a72d23141942d216ebe81fefbce/filelock-3.25.2-py3-none-any.whl", hash = "sha256:ca8afb0da15f229774c9ad1b455ed96e85a81373065fb10446672f64444ddf70", size = 26759 },
+]
+
+[[package]]
+name = "flatbuffers"
+version = "25.12.19"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e8/2d/d2a548598be01649e2d46231d151a6c56d10b964d94043a335ae56ea2d92/flatbuffers-25.12.19-py2.py3-none-any.whl", hash = "sha256:7634f50c427838bb021c2d66a3d1168e9d199b0607e6329399f04846d42e20b4", size = 26661 },
+]
+
+[[package]]
+name = "frozenlist"
+version = "1.8.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/2d/f5/c831fac6cc817d26fd54c7eaccd04ef7e0288806943f7cc5bbf69f3ac1f0/frozenlist-1.8.0.tar.gz", hash = "sha256:3ede829ed8d842f6cd48fc7081d7a41001a56f1f38603f9d49bf3020d59a31ad", size = 45875 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/bc/03/077f869d540370db12165c0aa51640a873fb661d8b315d1d4d67b284d7ac/frozenlist-1.8.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:09474e9831bc2b2199fad6da3c14c7b0fbdd377cce9d3d77131be28906cb7d84", size = 86912 },
+ { url = "https://files.pythonhosted.org/packages/df/b5/7610b6bd13e4ae77b96ba85abea1c8cb249683217ef09ac9e0ae93f25a91/frozenlist-1.8.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:17c883ab0ab67200b5f964d2b9ed6b00971917d5d8a92df149dc2c9779208ee9", size = 50046 },
+ { url = "https://files.pythonhosted.org/packages/6e/ef/0e8f1fe32f8a53dd26bdd1f9347efe0778b0fddf62789ea683f4cc7d787d/frozenlist-1.8.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:fa47e444b8ba08fffd1c18e8cdb9a75db1b6a27f17507522834ad13ed5922b93", size = 50119 },
+ { url = "https://files.pythonhosted.org/packages/11/b1/71a477adc7c36e5fb628245dfbdea2166feae310757dea848d02bd0689fd/frozenlist-1.8.0-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2552f44204b744fba866e573be4c1f9048d6a324dfe14475103fd51613eb1d1f", size = 231067 },
+ { url = "https://files.pythonhosted.org/packages/45/7e/afe40eca3a2dc19b9904c0f5d7edfe82b5304cb831391edec0ac04af94c2/frozenlist-1.8.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:957e7c38f250991e48a9a73e6423db1bb9dd14e722a10f6b8bb8e16a0f55f695", size = 233160 },
+ { url = "https://files.pythonhosted.org/packages/a6/aa/7416eac95603ce428679d273255ffc7c998d4132cfae200103f164b108aa/frozenlist-1.8.0-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:8585e3bb2cdea02fc88ffa245069c36555557ad3609e83be0ec71f54fd4abb52", size = 228544 },
+ { url = "https://files.pythonhosted.org/packages/8b/3d/2a2d1f683d55ac7e3875e4263d28410063e738384d3adc294f5ff3d7105e/frozenlist-1.8.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:edee74874ce20a373d62dc28b0b18b93f645633c2943fd90ee9d898550770581", size = 243797 },
+ { url = "https://files.pythonhosted.org/packages/78/1e/2d5565b589e580c296d3bb54da08d206e797d941a83a6fdea42af23be79c/frozenlist-1.8.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:c9a63152fe95756b85f31186bddf42e4c02c6321207fd6601a1c89ebac4fe567", size = 247923 },
+ { url = "https://files.pythonhosted.org/packages/aa/c3/65872fcf1d326a7f101ad4d86285c403c87be7d832b7470b77f6d2ed5ddc/frozenlist-1.8.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:b6db2185db9be0a04fecf2f241c70b63b1a242e2805be291855078f2b404dd6b", size = 230886 },
+ { url = "https://files.pythonhosted.org/packages/a0/76/ac9ced601d62f6956f03cc794f9e04c81719509f85255abf96e2510f4265/frozenlist-1.8.0-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:f4be2e3d8bc8aabd566f8d5b8ba7ecc09249d74ba3c9ed52e54dc23a293f0b92", size = 245731 },
+ { url = "https://files.pythonhosted.org/packages/b9/49/ecccb5f2598daf0b4a1415497eba4c33c1e8ce07495eb07d2860c731b8d5/frozenlist-1.8.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:c8d1634419f39ea6f5c427ea2f90ca85126b54b50837f31497f3bf38266e853d", size = 241544 },
+ { url = "https://files.pythonhosted.org/packages/53/4b/ddf24113323c0bbcc54cb38c8b8916f1da7165e07b8e24a717b4a12cbf10/frozenlist-1.8.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:1a7fa382a4a223773ed64242dbe1c9c326ec09457e6b8428efb4118c685c3dfd", size = 241806 },
+ { url = "https://files.pythonhosted.org/packages/a7/fb/9b9a084d73c67175484ba2789a59f8eebebd0827d186a8102005ce41e1ba/frozenlist-1.8.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:11847b53d722050808926e785df837353bd4d75f1d494377e59b23594d834967", size = 229382 },
+ { url = "https://files.pythonhosted.org/packages/95/a3/c8fb25aac55bf5e12dae5c5aa6a98f85d436c1dc658f21c3ac73f9fa95e5/frozenlist-1.8.0-cp311-cp311-win32.whl", hash = "sha256:27c6e8077956cf73eadd514be8fb04d77fc946a7fe9f7fe167648b0b9085cc25", size = 39647 },
+ { url = "https://files.pythonhosted.org/packages/0a/f5/603d0d6a02cfd4c8f2a095a54672b3cf967ad688a60fb9faf04fc4887f65/frozenlist-1.8.0-cp311-cp311-win_amd64.whl", hash = "sha256:ac913f8403b36a2c8610bbfd25b8013488533e71e62b4b4adce9c86c8cea905b", size = 44064 },
+ { url = "https://files.pythonhosted.org/packages/5d/16/c2c9ab44e181f043a86f9a8f84d5124b62dbcb3a02c0977ec72b9ac1d3e0/frozenlist-1.8.0-cp311-cp311-win_arm64.whl", hash = "sha256:d4d3214a0f8394edfa3e303136d0575eece0745ff2b47bd2cb2e66dd92d4351a", size = 39937 },
+ { url = "https://files.pythonhosted.org/packages/69/29/948b9aa87e75820a38650af445d2ef2b6b8a6fab1a23b6bb9e4ef0be2d59/frozenlist-1.8.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:78f7b9e5d6f2fdb88cdde9440dc147259b62b9d3b019924def9f6478be254ac1", size = 87782 },
+ { url = "https://files.pythonhosted.org/packages/64/80/4f6e318ee2a7c0750ed724fa33a4bdf1eacdc5a39a7a24e818a773cd91af/frozenlist-1.8.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:229bf37d2e4acdaf808fd3f06e854a4a7a3661e871b10dc1f8f1896a3b05f18b", size = 50594 },
+ { url = "https://files.pythonhosted.org/packages/2b/94/5c8a2b50a496b11dd519f4a24cb5496cf125681dd99e94c604ccdea9419a/frozenlist-1.8.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f833670942247a14eafbb675458b4e61c82e002a148f49e68257b79296e865c4", size = 50448 },
+ { url = "https://files.pythonhosted.org/packages/6a/bd/d91c5e39f490a49df14320f4e8c80161cfcce09f1e2cde1edd16a551abb3/frozenlist-1.8.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:494a5952b1c597ba44e0e78113a7266e656b9794eec897b19ead706bd7074383", size = 242411 },
+ { url = "https://files.pythonhosted.org/packages/8f/83/f61505a05109ef3293dfb1ff594d13d64a2324ac3482be2cedc2be818256/frozenlist-1.8.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96f423a119f4777a4a056b66ce11527366a8bb92f54e541ade21f2374433f6d4", size = 243014 },
+ { url = "https://files.pythonhosted.org/packages/d8/cb/cb6c7b0f7d4023ddda30cf56b8b17494eb3a79e3fda666bf735f63118b35/frozenlist-1.8.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3462dd9475af2025c31cc61be6652dfa25cbfb56cbbf52f4ccfe029f38decaf8", size = 234909 },
+ { url = "https://files.pythonhosted.org/packages/31/c5/cd7a1f3b8b34af009fb17d4123c5a778b44ae2804e3ad6b86204255f9ec5/frozenlist-1.8.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c4c800524c9cd9bac5166cd6f55285957fcfc907db323e193f2afcd4d9abd69b", size = 250049 },
+ { url = "https://files.pythonhosted.org/packages/c0/01/2f95d3b416c584a1e7f0e1d6d31998c4a795f7544069ee2e0962a4b60740/frozenlist-1.8.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d6a5df73acd3399d893dafc71663ad22534b5aa4f94e8a2fabfe856c3c1b6a52", size = 256485 },
+ { url = "https://files.pythonhosted.org/packages/ce/03/024bf7720b3abaebcff6d0793d73c154237b85bdf67b7ed55e5e9596dc9a/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:405e8fe955c2280ce66428b3ca55e12b3c4e9c336fb2103a4937e891c69a4a29", size = 237619 },
+ { url = "https://files.pythonhosted.org/packages/69/fa/f8abdfe7d76b731f5d8bd217827cf6764d4f1d9763407e42717b4bed50a0/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:908bd3f6439f2fef9e85031b59fd4f1297af54415fb60e4254a95f75b3cab3f3", size = 250320 },
+ { url = "https://files.pythonhosted.org/packages/f5/3c/b051329f718b463b22613e269ad72138cc256c540f78a6de89452803a47d/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:294e487f9ec720bd8ffcebc99d575f7eff3568a08a253d1ee1a0378754b74143", size = 246820 },
+ { url = "https://files.pythonhosted.org/packages/0f/ae/58282e8f98e444b3f4dd42448ff36fa38bef29e40d40f330b22e7108f565/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:74c51543498289c0c43656701be6b077f4b265868fa7f8a8859c197006efb608", size = 250518 },
+ { url = "https://files.pythonhosted.org/packages/8f/96/007e5944694d66123183845a106547a15944fbbb7154788cbf7272789536/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:776f352e8329135506a1d6bf16ac3f87bc25b28e765949282dcc627af36123aa", size = 239096 },
+ { url = "https://files.pythonhosted.org/packages/66/bb/852b9d6db2fa40be96f29c0d1205c306288f0684df8fd26ca1951d461a56/frozenlist-1.8.0-cp312-cp312-win32.whl", hash = "sha256:433403ae80709741ce34038da08511d4a77062aa924baf411ef73d1146e74faf", size = 39985 },
+ { url = "https://files.pythonhosted.org/packages/b8/af/38e51a553dd66eb064cdf193841f16f077585d4d28394c2fa6235cb41765/frozenlist-1.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:34187385b08f866104f0c0617404c8eb08165ab1272e884abc89c112e9c00746", size = 44591 },
+ { url = "https://files.pythonhosted.org/packages/a7/06/1dc65480ab147339fecc70797e9c2f69d9cea9cf38934ce08df070fdb9cb/frozenlist-1.8.0-cp312-cp312-win_arm64.whl", hash = "sha256:fe3c58d2f5db5fbd18c2987cba06d51b0529f52bc3a6cdc33d3f4eab725104bd", size = 40102 },
+ { url = "https://files.pythonhosted.org/packages/2d/40/0832c31a37d60f60ed79e9dfb5a92e1e2af4f40a16a29abcc7992af9edff/frozenlist-1.8.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:8d92f1a84bb12d9e56f818b3a746f3efba93c1b63c8387a73dde655e1e42282a", size = 85717 },
+ { url = "https://files.pythonhosted.org/packages/30/ba/b0b3de23f40bc55a7057bd38434e25c34fa48e17f20ee273bbde5e0650f3/frozenlist-1.8.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:96153e77a591c8adc2ee805756c61f59fef4cf4073a9275ee86fe8cba41241f7", size = 49651 },
+ { url = "https://files.pythonhosted.org/packages/0c/ab/6e5080ee374f875296c4243c381bbdef97a9ac39c6e3ce1d5f7d42cb78d6/frozenlist-1.8.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:f21f00a91358803399890ab167098c131ec2ddd5f8f5fd5fe9c9f2c6fcd91e40", size = 49417 },
+ { url = "https://files.pythonhosted.org/packages/d5/4e/e4691508f9477ce67da2015d8c00acd751e6287739123113a9fca6f1604e/frozenlist-1.8.0-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:fb30f9626572a76dfe4293c7194a09fb1fe93ba94c7d4f720dfae3b646b45027", size = 234391 },
+ { url = "https://files.pythonhosted.org/packages/40/76/c202df58e3acdf12969a7895fd6f3bc016c642e6726aa63bd3025e0fc71c/frozenlist-1.8.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:eaa352d7047a31d87dafcacbabe89df0aa506abb5b1b85a2fb91bc3faa02d822", size = 233048 },
+ { url = "https://files.pythonhosted.org/packages/f9/c0/8746afb90f17b73ca5979c7a3958116e105ff796e718575175319b5bb4ce/frozenlist-1.8.0-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:03ae967b4e297f58f8c774c7eabcce57fe3c2434817d4385c50661845a058121", size = 226549 },
+ { url = "https://files.pythonhosted.org/packages/7e/eb/4c7eefc718ff72f9b6c4893291abaae5fbc0c82226a32dcd8ef4f7a5dbef/frozenlist-1.8.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f6292f1de555ffcc675941d65fffffb0a5bcd992905015f85d0592201793e0e5", size = 239833 },
+ { url = "https://files.pythonhosted.org/packages/c2/4e/e5c02187cf704224f8b21bee886f3d713ca379535f16893233b9d672ea71/frozenlist-1.8.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:29548f9b5b5e3460ce7378144c3010363d8035cea44bc0bf02d57f5a685e084e", size = 245363 },
+ { url = "https://files.pythonhosted.org/packages/1f/96/cb85ec608464472e82ad37a17f844889c36100eed57bea094518bf270692/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ec3cc8c5d4084591b4237c0a272cc4f50a5b03396a47d9caaf76f5d7b38a4f11", size = 229314 },
+ { url = "https://files.pythonhosted.org/packages/5d/6f/4ae69c550e4cee66b57887daeebe006fe985917c01d0fff9caab9883f6d0/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:517279f58009d0b1f2e7c1b130b377a349405da3f7621ed6bfae50b10adf20c1", size = 243365 },
+ { url = "https://files.pythonhosted.org/packages/7a/58/afd56de246cf11780a40a2c28dc7cbabbf06337cc8ddb1c780a2d97e88d8/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:db1e72ede2d0d7ccb213f218df6a078a9c09a7de257c2fe8fcef16d5925230b1", size = 237763 },
+ { url = "https://files.pythonhosted.org/packages/cb/36/cdfaf6ed42e2644740d4a10452d8e97fa1c062e2a8006e4b09f1b5fd7d63/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:b4dec9482a65c54a5044486847b8a66bf10c9cb4926d42927ec4e8fd5db7fed8", size = 240110 },
+ { url = "https://files.pythonhosted.org/packages/03/a8/9ea226fbefad669f11b52e864c55f0bd57d3c8d7eb07e9f2e9a0b39502e1/frozenlist-1.8.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:21900c48ae04d13d416f0e1e0c4d81f7931f73a9dfa0b7a8746fb2fe7dd970ed", size = 233717 },
+ { url = "https://files.pythonhosted.org/packages/1e/0b/1b5531611e83ba7d13ccc9988967ea1b51186af64c42b7a7af465dcc9568/frozenlist-1.8.0-cp313-cp313-win32.whl", hash = "sha256:8b7b94a067d1c504ee0b16def57ad5738701e4ba10cec90529f13fa03c833496", size = 39628 },
+ { url = "https://files.pythonhosted.org/packages/d8/cf/174c91dbc9cc49bc7b7aab74d8b734e974d1faa8f191c74af9b7e80848e6/frozenlist-1.8.0-cp313-cp313-win_amd64.whl", hash = "sha256:878be833caa6a3821caf85eb39c5ba92d28e85df26d57afb06b35b2efd937231", size = 43882 },
+ { url = "https://files.pythonhosted.org/packages/c1/17/502cd212cbfa96eb1388614fe39a3fc9ab87dbbe042b66f97acb57474834/frozenlist-1.8.0-cp313-cp313-win_arm64.whl", hash = "sha256:44389d135b3ff43ba8cc89ff7f51f5a0bb6b63d829c8300f79a2fe4fe61bcc62", size = 39676 },
+ { url = "https://files.pythonhosted.org/packages/d2/5c/3bbfaa920dfab09e76946a5d2833a7cbdf7b9b4a91c714666ac4855b88b4/frozenlist-1.8.0-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:e25ac20a2ef37e91c1b39938b591457666a0fa835c7783c3a8f33ea42870db94", size = 89235 },
+ { url = "https://files.pythonhosted.org/packages/d2/d6/f03961ef72166cec1687e84e8925838442b615bd0b8854b54923ce5b7b8a/frozenlist-1.8.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:07cdca25a91a4386d2e76ad992916a85038a9b97561bf7a3fd12d5d9ce31870c", size = 50742 },
+ { url = "https://files.pythonhosted.org/packages/1e/bb/a6d12b7ba4c3337667d0e421f7181c82dda448ce4e7ad7ecd249a16fa806/frozenlist-1.8.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:4e0c11f2cc6717e0a741f84a527c52616140741cd812a50422f83dc31749fb52", size = 51725 },
+ { url = "https://files.pythonhosted.org/packages/bc/71/d1fed0ffe2c2ccd70b43714c6cab0f4188f09f8a67a7914a6b46ee30f274/frozenlist-1.8.0-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:b3210649ee28062ea6099cfda39e147fa1bc039583c8ee4481cb7811e2448c51", size = 284533 },
+ { url = "https://files.pythonhosted.org/packages/c9/1f/fb1685a7b009d89f9bf78a42d94461bc06581f6e718c39344754a5d9bada/frozenlist-1.8.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:581ef5194c48035a7de2aefc72ac6539823bb71508189e5de01d60c9dcd5fa65", size = 292506 },
+ { url = "https://files.pythonhosted.org/packages/e6/3b/b991fe1612703f7e0d05c0cf734c1b77aaf7c7d321df4572e8d36e7048c8/frozenlist-1.8.0-cp313-cp313t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3ef2d026f16a2b1866e1d86fc4e1291e1ed8a387b2c333809419a2f8b3a77b82", size = 274161 },
+ { url = "https://files.pythonhosted.org/packages/ca/ec/c5c618767bcdf66e88945ec0157d7f6c4a1322f1473392319b7a2501ded7/frozenlist-1.8.0-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:5500ef82073f599ac84d888e3a8c1f77ac831183244bfd7f11eaa0289fb30714", size = 294676 },
+ { url = "https://files.pythonhosted.org/packages/7c/ce/3934758637d8f8a88d11f0585d6495ef54b2044ed6ec84492a91fa3b27aa/frozenlist-1.8.0-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:50066c3997d0091c411a66e710f4e11752251e6d2d73d70d8d5d4c76442a199d", size = 300638 },
+ { url = "https://files.pythonhosted.org/packages/fc/4f/a7e4d0d467298f42de4b41cbc7ddaf19d3cfeabaf9ff97c20c6c7ee409f9/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:5c1c8e78426e59b3f8005e9b19f6ff46e5845895adbde20ece9218319eca6506", size = 283067 },
+ { url = "https://files.pythonhosted.org/packages/dc/48/c7b163063d55a83772b268e6d1affb960771b0e203b632cfe09522d67ea5/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:eefdba20de0d938cec6a89bd4d70f346a03108a19b9df4248d3cf0d88f1b0f51", size = 292101 },
+ { url = "https://files.pythonhosted.org/packages/9f/d0/2366d3c4ecdc2fd391e0afa6e11500bfba0ea772764d631bbf82f0136c9d/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:cf253e0e1c3ceb4aaff6df637ce033ff6535fb8c70a764a8f46aafd3d6ab798e", size = 289901 },
+ { url = "https://files.pythonhosted.org/packages/b8/94/daff920e82c1b70e3618a2ac39fbc01ae3e2ff6124e80739ce5d71c9b920/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:032efa2674356903cd0261c4317a561a6850f3ac864a63fc1583147fb05a79b0", size = 289395 },
+ { url = "https://files.pythonhosted.org/packages/e3/20/bba307ab4235a09fdcd3cc5508dbabd17c4634a1af4b96e0f69bfe551ebd/frozenlist-1.8.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:6da155091429aeba16851ecb10a9104a108bcd32f6c1642867eadaee401c1c41", size = 283659 },
+ { url = "https://files.pythonhosted.org/packages/fd/00/04ca1c3a7a124b6de4f8a9a17cc2fcad138b4608e7a3fc5877804b8715d7/frozenlist-1.8.0-cp313-cp313t-win32.whl", hash = "sha256:0f96534f8bfebc1a394209427d0f8a63d343c9779cda6fc25e8e121b5fd8555b", size = 43492 },
+ { url = "https://files.pythonhosted.org/packages/59/5e/c69f733a86a94ab10f68e496dc6b7e8bc078ebb415281d5698313e3af3a1/frozenlist-1.8.0-cp313-cp313t-win_amd64.whl", hash = "sha256:5d63a068f978fc69421fb0e6eb91a9603187527c86b7cd3f534a5b77a592b888", size = 48034 },
+ { url = "https://files.pythonhosted.org/packages/16/6c/be9d79775d8abe79b05fa6d23da99ad6e7763a1d080fbae7290b286093fd/frozenlist-1.8.0-cp313-cp313t-win_arm64.whl", hash = "sha256:bf0a7e10b077bf5fb9380ad3ae8ce20ef919a6ad93b4552896419ac7e1d8e042", size = 41749 },
+ { url = "https://files.pythonhosted.org/packages/f1/c8/85da824b7e7b9b6e7f7705b2ecaf9591ba6f79c1177f324c2735e41d36a2/frozenlist-1.8.0-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:cee686f1f4cadeb2136007ddedd0aaf928ab95216e7691c63e50a8ec066336d0", size = 86127 },
+ { url = "https://files.pythonhosted.org/packages/8e/e8/a1185e236ec66c20afd72399522f142c3724c785789255202d27ae992818/frozenlist-1.8.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:119fb2a1bd47307e899c2fac7f28e85b9a543864df47aa7ec9d3c1b4545f096f", size = 49698 },
+ { url = "https://files.pythonhosted.org/packages/a1/93/72b1736d68f03fda5fdf0f2180fb6caaae3894f1b854d006ac61ecc727ee/frozenlist-1.8.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:4970ece02dbc8c3a92fcc5228e36a3e933a01a999f7094ff7c23fbd2beeaa67c", size = 49749 },
+ { url = "https://files.pythonhosted.org/packages/a7/b2/fabede9fafd976b991e9f1b9c8c873ed86f202889b864756f240ce6dd855/frozenlist-1.8.0-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:cba69cb73723c3f329622e34bdbf5ce1f80c21c290ff04256cff1cd3c2036ed2", size = 231298 },
+ { url = "https://files.pythonhosted.org/packages/3a/3b/d9b1e0b0eed36e70477ffb8360c49c85c8ca8ef9700a4e6711f39a6e8b45/frozenlist-1.8.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:778a11b15673f6f1df23d9586f83c4846c471a8af693a22e066508b77d201ec8", size = 232015 },
+ { url = "https://files.pythonhosted.org/packages/dc/94/be719d2766c1138148564a3960fc2c06eb688da592bdc25adcf856101be7/frozenlist-1.8.0-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:0325024fe97f94c41c08872db482cf8ac4800d80e79222c6b0b7b162d5b13686", size = 225038 },
+ { url = "https://files.pythonhosted.org/packages/e4/09/6712b6c5465f083f52f50cf74167b92d4ea2f50e46a9eea0523d658454ae/frozenlist-1.8.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:97260ff46b207a82a7567b581ab4190bd4dfa09f4db8a8b49d1a958f6aa4940e", size = 240130 },
+ { url = "https://files.pythonhosted.org/packages/f8/d4/cd065cdcf21550b54f3ce6a22e143ac9e4836ca42a0de1022da8498eac89/frozenlist-1.8.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:54b2077180eb7f83dd52c40b2750d0a9f175e06a42e3213ce047219de902717a", size = 242845 },
+ { url = "https://files.pythonhosted.org/packages/62/c3/f57a5c8c70cd1ead3d5d5f776f89d33110b1addae0ab010ad774d9a44fb9/frozenlist-1.8.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:2f05983daecab868a31e1da44462873306d3cbfd76d1f0b5b69c473d21dbb128", size = 229131 },
+ { url = "https://files.pythonhosted.org/packages/6c/52/232476fe9cb64f0742f3fde2b7d26c1dac18b6d62071c74d4ded55e0ef94/frozenlist-1.8.0-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:33f48f51a446114bc5d251fb2954ab0164d5be02ad3382abcbfe07e2531d650f", size = 240542 },
+ { url = "https://files.pythonhosted.org/packages/5f/85/07bf3f5d0fb5414aee5f47d33c6f5c77bfe49aac680bfece33d4fdf6a246/frozenlist-1.8.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:154e55ec0655291b5dd1b8731c637ecdb50975a2ae70c606d100750a540082f7", size = 237308 },
+ { url = "https://files.pythonhosted.org/packages/11/99/ae3a33d5befd41ac0ca2cc7fd3aa707c9c324de2e89db0e0f45db9a64c26/frozenlist-1.8.0-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:4314debad13beb564b708b4a496020e5306c7333fa9a3ab90374169a20ffab30", size = 238210 },
+ { url = "https://files.pythonhosted.org/packages/b2/60/b1d2da22f4970e7a155f0adde9b1435712ece01b3cd45ba63702aea33938/frozenlist-1.8.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:073f8bf8becba60aa931eb3bc420b217bb7d5b8f4750e6f8b3be7f3da85d38b7", size = 231972 },
+ { url = "https://files.pythonhosted.org/packages/3f/ab/945b2f32de889993b9c9133216c068b7fcf257d8595a0ac420ac8677cab0/frozenlist-1.8.0-cp314-cp314-win32.whl", hash = "sha256:bac9c42ba2ac65ddc115d930c78d24ab8d4f465fd3fc473cdedfccadb9429806", size = 40536 },
+ { url = "https://files.pythonhosted.org/packages/59/ad/9caa9b9c836d9ad6f067157a531ac48b7d36499f5036d4141ce78c230b1b/frozenlist-1.8.0-cp314-cp314-win_amd64.whl", hash = "sha256:3e0761f4d1a44f1d1a47996511752cf3dcec5bbdd9cc2b4fe595caf97754b7a0", size = 44330 },
+ { url = "https://files.pythonhosted.org/packages/82/13/e6950121764f2676f43534c555249f57030150260aee9dcf7d64efda11dd/frozenlist-1.8.0-cp314-cp314-win_arm64.whl", hash = "sha256:d1eaff1d00c7751b7c6662e9c5ba6eb2c17a2306ba5e2a37f24ddf3cc953402b", size = 40627 },
+ { url = "https://files.pythonhosted.org/packages/c0/c7/43200656ecc4e02d3f8bc248df68256cd9572b3f0017f0a0c4e93440ae23/frozenlist-1.8.0-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:d3bb933317c52d7ea5004a1c442eef86f426886fba134ef8cf4226ea6ee1821d", size = 89238 },
+ { url = "https://files.pythonhosted.org/packages/d1/29/55c5f0689b9c0fb765055629f472c0de484dcaf0acee2f7707266ae3583c/frozenlist-1.8.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:8009897cdef112072f93a0efdce29cd819e717fd2f649ee3016efd3cd885a7ed", size = 50738 },
+ { url = "https://files.pythonhosted.org/packages/ba/7d/b7282a445956506fa11da8c2db7d276adcbf2b17d8bb8407a47685263f90/frozenlist-1.8.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:2c5dcbbc55383e5883246d11fd179782a9d07a986c40f49abe89ddf865913930", size = 51739 },
+ { url = "https://files.pythonhosted.org/packages/62/1c/3d8622e60d0b767a5510d1d3cf21065b9db874696a51ea6d7a43180a259c/frozenlist-1.8.0-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:39ecbc32f1390387d2aa4f5a995e465e9e2f79ba3adcac92d68e3e0afae6657c", size = 284186 },
+ { url = "https://files.pythonhosted.org/packages/2d/14/aa36d5f85a89679a85a1d44cd7a6657e0b1c75f61e7cad987b203d2daca8/frozenlist-1.8.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:92db2bf818d5cc8d9c1f1fc56b897662e24ea5adb36ad1f1d82875bd64e03c24", size = 292196 },
+ { url = "https://files.pythonhosted.org/packages/05/23/6bde59eb55abd407d34f77d39a5126fb7b4f109a3f611d3929f14b700c66/frozenlist-1.8.0-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:2dc43a022e555de94c3b68a4ef0b11c4f747d12c024a520c7101709a2144fb37", size = 273830 },
+ { url = "https://files.pythonhosted.org/packages/d2/3f/22cff331bfad7a8afa616289000ba793347fcd7bc275f3b28ecea2a27909/frozenlist-1.8.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:cb89a7f2de3602cfed448095bab3f178399646ab7c61454315089787df07733a", size = 294289 },
+ { url = "https://files.pythonhosted.org/packages/a4/89/5b057c799de4838b6c69aa82b79705f2027615e01be996d2486a69ca99c4/frozenlist-1.8.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:33139dc858c580ea50e7e60a1b0ea003efa1fd42e6ec7fdbad78fff65fad2fd2", size = 300318 },
+ { url = "https://files.pythonhosted.org/packages/30/de/2c22ab3eb2a8af6d69dc799e48455813bab3690c760de58e1bf43b36da3e/frozenlist-1.8.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:168c0969a329b416119507ba30b9ea13688fafffac1b7822802537569a1cb0ef", size = 282814 },
+ { url = "https://files.pythonhosted.org/packages/59/f7/970141a6a8dbd7f556d94977858cfb36fa9b66e0892c6dd780d2219d8cd8/frozenlist-1.8.0-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:28bd570e8e189d7f7b001966435f9dac6718324b5be2990ac496cf1ea9ddb7fe", size = 291762 },
+ { url = "https://files.pythonhosted.org/packages/c1/15/ca1adae83a719f82df9116d66f5bb28bb95557b3951903d39135620ef157/frozenlist-1.8.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:b2a095d45c5d46e5e79ba1e5b9cb787f541a8dee0433836cea4b96a2c439dcd8", size = 289470 },
+ { url = "https://files.pythonhosted.org/packages/ac/83/dca6dc53bf657d371fbc88ddeb21b79891e747189c5de990b9dfff2ccba1/frozenlist-1.8.0-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:eab8145831a0d56ec9c4139b6c3e594c7a83c2c8be25d5bcf2d86136a532287a", size = 289042 },
+ { url = "https://files.pythonhosted.org/packages/96/52/abddd34ca99be142f354398700536c5bd315880ed0a213812bc491cff5e4/frozenlist-1.8.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:974b28cf63cc99dfb2188d8d222bc6843656188164848c4f679e63dae4b0708e", size = 283148 },
+ { url = "https://files.pythonhosted.org/packages/af/d3/76bd4ed4317e7119c2b7f57c3f6934aba26d277acc6309f873341640e21f/frozenlist-1.8.0-cp314-cp314t-win32.whl", hash = "sha256:342c97bf697ac5480c0a7ec73cd700ecfa5a8a40ac923bd035484616efecc2df", size = 44676 },
+ { url = "https://files.pythonhosted.org/packages/89/76/c615883b7b521ead2944bb3480398cbb07e12b7b4e4d073d3752eb721558/frozenlist-1.8.0-cp314-cp314t-win_amd64.whl", hash = "sha256:06be8f67f39c8b1dc671f5d83aaefd3358ae5cdcf8314552c57e7ed3e6475bdd", size = 49451 },
+ { url = "https://files.pythonhosted.org/packages/e0/a3/5982da14e113d07b325230f95060e2169f5311b1017ea8af2a29b374c289/frozenlist-1.8.0-cp314-cp314t-win_arm64.whl", hash = "sha256:102e6314ca4da683dca92e3b1355490fed5f313b768500084fbe6371fddfdb79", size = 42507 },
+ { url = "https://files.pythonhosted.org/packages/9a/9a/e35b4a917281c0b8419d4207f4334c8e8c5dbf4f3f5f9ada73958d937dcc/frozenlist-1.8.0-py3-none-any.whl", hash = "sha256:0c18a16eab41e82c295618a77502e17b195883241c563b00f0aa5106fc4eaa0d", size = 13409 },
+]
+
+[[package]]
+name = "fsspec"
+version = "2026.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/e1/cf/b50ddf667c15276a9ab15a70ef5f257564de271957933ffea49d2cdbcdfb/fsspec-2026.3.0.tar.gz", hash = "sha256:1ee6a0e28677557f8c2f994e3eea77db6392b4de9cd1f5d7a9e87a0ae9d01b41", size = 313547 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d5/1f/5f4a3cd9e4440e9d9bc78ad0a91a1c8d46b4d429d5239ebe6793c9fe5c41/fsspec-2026.3.0-py3-none-any.whl", hash = "sha256:d2ceafaad1b3457968ed14efa28798162f1638dbb5d2a6868a2db002a5ee39a4", size = 202595 },
+]
+
+[[package]]
+name = "google-adk"
+version = "1.29.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "aiosqlite" },
+ { name = "anyio" },
+ { name = "authlib" },
+ { name = "click" },
+ { name = "fastapi" },
+ { name = "google-api-python-client" },
+ { name = "google-auth", extra = ["pyopenssl"] },
+ { name = "google-cloud-aiplatform", extra = ["agent-engines"] },
+ { name = "google-cloud-bigquery" },
+ { name = "google-cloud-bigquery-storage" },
+ { name = "google-cloud-bigtable" },
+ { name = "google-cloud-dataplex" },
+ { name = "google-cloud-discoveryengine" },
+ { name = "google-cloud-pubsub" },
+ { name = "google-cloud-secret-manager" },
+ { name = "google-cloud-spanner" },
+ { name = "google-cloud-speech" },
+ { name = "google-cloud-storage" },
+ { name = "google-genai" },
+ { name = "graphviz" },
+ { name = "httpx" },
+ { name = "jsonschema" },
+ { name = "mcp" },
+ { name = "opentelemetry-api" },
+ { name = "opentelemetry-exporter-gcp-logging" },
+ { name = "opentelemetry-exporter-gcp-monitoring" },
+ { name = "opentelemetry-exporter-gcp-trace" },
+ { name = "opentelemetry-exporter-otlp-proto-http" },
+ { name = "opentelemetry-resourcedetector-gcp" },
+ { name = "opentelemetry-sdk" },
+ { name = "pyarrow" },
+ { name = "pydantic" },
+ { name = "python-dateutil" },
+ { name = "python-dotenv" },
+ { name = "pyyaml" },
+ { name = "requests" },
+ { name = "sqlalchemy" },
+ { name = "sqlalchemy-spanner" },
+ { name = "starlette" },
+ { name = "tenacity" },
+ { name = "typing-extensions" },
+ { name = "tzlocal" },
+ { name = "uvicorn" },
+ { name = "watchdog" },
+ { name = "websockets" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/c1/ec/f94b91c34e28089995738159fdcdca507df9c03cef7bd7a99da80490a196/google_adk-1.29.0.tar.gz", hash = "sha256:cc968215868f8560ef23cb5f302170d292b317f37538be83732bbcb8270fda23", size = 2350841 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/89/d5/bb029c4fd56c34aa4c4bb10ad7b39d5493ffc588c25046902f1635ca2e35/google_adk-1.29.0-py3-none-any.whl", hash = "sha256:b02e914f8d04ded9781ad52201116d69795d84f59657bf449562ff8b27315512", size = 2779995 },
+]
+
+[[package]]
+name = "google-api-core"
+version = "2.30.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-auth" },
+ { name = "googleapis-common-protos" },
+ { name = "proto-plus" },
+ { name = "protobuf" },
+ { name = "requests" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/16/ce/502a57fb0ec752026d24df1280b162294b22a0afb98a326084f9a979138b/google_api_core-2.30.3.tar.gz", hash = "sha256:e601a37f148585319b26db36e219df68c5d07b6382cff2d580e83404e44d641b", size = 177001 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/03/15/e56f351cf6ef1cfea58e6ac226a7318ed1deb2218c4b3cc9bd9e4b786c5a/google_api_core-2.30.3-py3-none-any.whl", hash = "sha256:a85761ba72c444dad5d611c2220633480b2b6be2521eca69cca2dbb3ffd6bfe8", size = 173274 },
+]
+
+[package.optional-dependencies]
+grpc = [
+ { name = "grpcio" },
+ { name = "grpcio-status" },
+]
+
+[[package]]
+name = "google-api-python-client"
+version = "2.194.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core" },
+ { name = "google-auth" },
+ { name = "google-auth-httplib2" },
+ { name = "httplib2" },
+ { name = "uritemplate" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/60/ab/e83af0eb043e4ccc49571ca7a6a49984e9d00f4e9e6e6f1238d60bc84dce/google_api_python_client-2.194.0.tar.gz", hash = "sha256:db92647bd1a90f40b79c9618461553c2b20b6a43ce7395fa6de07132dc14f023", size = 14443469 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b0/34/5a624e49f179aa5b0cb87b2ce8093960299030ff40423bfbde09360eb908/google_api_python_client-2.194.0-py3-none-any.whl", hash = "sha256:61eaaac3b8fc8fdf11c08af87abc3d1342d1b37319cc1b57405f86ef7697e717", size = 15016514 },
+]
+
+[[package]]
+name = "google-auth"
+version = "2.49.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "cryptography" },
+ { name = "pyasn1-modules" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/c6/fc/e925290a1ad95c975c459e2df070fac2b90954e13a0370ac505dff78cb99/google_auth-2.49.2.tar.gz", hash = "sha256:c1ae38500e73065dcae57355adb6278cf8b5c8e391994ae9cbadbcb9631ab409", size = 333958 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/73/76/d241a5c927433420507215df6cac1b1fa4ac0ba7a794df42a84326c68da8/google_auth-2.49.2-py3-none-any.whl", hash = "sha256:c2720924dfc82dedb962c9f52cabb2ab16714fd0a6a707e40561d217574ed6d5", size = 240638 },
+]
+
+[package.optional-dependencies]
+pyopenssl = [
+ { name = "pyopenssl" },
+]
+requests = [
+ { name = "requests" },
+]
+
+[[package]]
+name = "google-auth-httplib2"
+version = "0.3.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-auth" },
+ { name = "httplib2" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/ed/99/107612bef8d24b298bb5a7c8466f908ecda791d43f9466f5c3978f5b24c1/google_auth_httplib2-0.3.1.tar.gz", hash = "sha256:0af542e815784cb64159b4469aa5d71dd41069ba93effa006e1916b1dcd88e55", size = 11152 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/97/e9/93afb14d23a949acaa3f4e7cc51a0024671174e116e35f42850764b99634/google_auth_httplib2-0.3.1-py3-none-any.whl", hash = "sha256:682356a90ef4ba3d06548c37e9112eea6fc00395a11b0303a644c1a86abc275c", size = 9534 },
+]
+
+[[package]]
+name = "google-cloud-aiplatform"
+version = "1.147.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "docstring-parser" },
+ { name = "google-api-core", extra = ["grpc"] },
+ { name = "google-auth" },
+ { name = "google-cloud-bigquery" },
+ { name = "google-cloud-resource-manager" },
+ { name = "google-cloud-storage" },
+ { name = "google-genai" },
+ { name = "packaging" },
+ { name = "proto-plus" },
+ { name = "protobuf" },
+ { name = "pydantic" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/23/93/9bfcaaf1ceab12999a881ccf69ebd9b30f467ec5623989c66894e81fc139/google_cloud_aiplatform-1.147.0.tar.gz", hash = "sha256:b2e1b669ba37f02426e03eb13187eebf4cbfeaa0a3bfed37b5578abb375ab689", size = 10235245 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d3/d2/1c1c582f6bbed9bbc0daa5acf3a5d98751ca8bc48584548d28569b8ce1a7/google_cloud_aiplatform-1.147.0-py2.py3-none-any.whl", hash = "sha256:29f7ae020718d3c45094f0475464e06a97f81b1572bea150ae6a1b22c5f45997", size = 8408951 },
+]
+
+[package.optional-dependencies]
+agent-engines = [
+ { name = "aiohttp" },
+ { name = "cloudpickle" },
+ { name = "google-cloud-iam" },
+ { name = "google-cloud-logging" },
+ { name = "google-cloud-trace" },
+ { name = "opentelemetry-exporter-gcp-logging" },
+ { name = "opentelemetry-exporter-gcp-trace" },
+ { name = "opentelemetry-exporter-otlp-proto-http" },
+ { name = "opentelemetry-sdk" },
+ { name = "packaging" },
+ { name = "pydantic" },
+ { name = "typing-extensions" },
+]
+
+[[package]]
+name = "google-cloud-appengine-logging"
+version = "1.9.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core", extra = ["grpc"] },
+ { name = "google-auth" },
+ { name = "grpcio" },
+ { name = "proto-plus" },
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/bc/02/800897064ca6f1a26835cdf23939c4b93e38a30f3fb5c7cec7c01ae2edc2/google_cloud_appengine_logging-1.9.0.tar.gz", hash = "sha256:ff397f0bbc1485f979ab45767c38e0f676c9598c97c384f7412216e6ea22f805", size = 17963 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/56/4a/304d42664ab2afbe7be39559c9eb3f81dd06e7ac9284f9f36f726f15939d/google_cloud_appengine_logging-1.9.0-py3-none-any.whl", hash = "sha256:bbf3a7e4dc171678f7f481259d1f68c3ae7d337530f1f2361f8a0b214dbcfe36", size = 18333 },
+]
+
+[[package]]
+name = "google-cloud-audit-log"
+version = "0.5.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "googleapis-common-protos" },
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/be/9f/3aedb3ce1d58c58ec7dd06b3964836eabfd17a16a95b60c8f609c0afff7f/google_cloud_audit_log-0.5.0.tar.gz", hash = "sha256:3b32d5e77db634c46fbd6c5e01f5bda836f420dfbb21d730501c75e9fab4e4a4", size = 44670 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/64/40/79fa535b6e3321d5e07b2a9ab4bb63860d3fea12230c765837881348003c/google_cloud_audit_log-0.5.0-py3-none-any.whl", hash = "sha256:3f4632f25bf67446fa9085c52868f3cb42fb1afbab9489ba8978e30991afc79f", size = 44862 },
+]
+
+[[package]]
+name = "google-cloud-bigquery"
+version = "3.41.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core", extra = ["grpc"] },
+ { name = "google-auth" },
+ { name = "google-cloud-core" },
+ { name = "google-resumable-media" },
+ { name = "packaging" },
+ { name = "python-dateutil" },
+ { name = "requests" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/ce/13/6515c7aab55a4a0cf708ffd309fb9af5bab54c13e32dc22c5acd6497193c/google_cloud_bigquery-3.41.0.tar.gz", hash = "sha256:2217e488b47ed576360c9b2cc07d59d883a54b83167c0ef37f915c26b01a06fe", size = 513434 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/40/33/1d3902efadef9194566d499d61507e1f038454e0b55499d2d7f8ab2a4fee/google_cloud_bigquery-3.41.0-py3-none-any.whl", hash = "sha256:2a5b5a737b401cbd824a6e5eac7554100b878668d908e6548836b5d8aaa4dcaa", size = 262343 },
+]
+
+[[package]]
+name = "google-cloud-bigquery-storage"
+version = "2.37.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core", extra = ["grpc"] },
+ { name = "google-auth" },
+ { name = "grpcio" },
+ { name = "proto-plus" },
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/13/31/5c6fa9e7b8e266a765ec80d13a2b2852cb0a6d3733572e7dbdc0cb39003c/google_cloud_bigquery_storage-2.37.0.tar.gz", hash = "sha256:f88ee7f1e49db1e639da3d9a8b79835ca4bc47afbb514fb2adfc0ccb41a7fd97", size = 310578 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/74/0e/2950d4d0160300f51c7397a080b1685d3e25b40badb2c96f03d58d0ee868/google_cloud_bigquery_storage-2.37.0-py3-none-any.whl", hash = "sha256:1e319c27ef60fc31030f6e0b52e5e891e1cdd50551effe8c6f673a4c3c56fcb6", size = 306678 },
+]
+
+[[package]]
+name = "google-cloud-bigtable"
+version = "2.36.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core", extra = ["grpc"] },
+ { name = "google-auth" },
+ { name = "google-cloud-core" },
+ { name = "google-crc32c" },
+ { name = "grpc-google-iam-v1" },
+ { name = "proto-plus" },
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/52/f5/ad2a48306a7e8d5e47b5203703ce9c343389e60f025b5ea3f0c62ba92129/google_cloud_bigtable-2.36.0.tar.gz", hash = "sha256:d5987733c2f60c739f93f259d2037858411cc994ac37cdfbccb6bb159f3ca43e", size = 796035 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d1/19/1cc695fa8489ef446a70ee9e983c12f4b47e0649005758035530eaec4b1c/google_cloud_bigtable-2.36.0-py3-none-any.whl", hash = "sha256:21b2f41231b7368a550b44d5b493b811b3507fcb23eb26d00005cd3f205f2207", size = 552799 },
+]
+
+[[package]]
+name = "google-cloud-core"
+version = "2.5.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core" },
+ { name = "google-auth" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/dc/24/6ca08b0a03c7b0c620427503ab00353a4ae806b848b93bcea18b6b76fde6/google_cloud_core-2.5.1.tar.gz", hash = "sha256:3dc94bdec9d05a31d9f355045ed0f369fbc0d8c665076c734f065d729800f811", size = 36078 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/73/d9/5bb050cb32826466aa9b25f79e2ca2879fe66cb76782d4ed798dd7506151/google_cloud_core-2.5.1-py3-none-any.whl", hash = "sha256:ea62cdf502c20e3e14be8a32c05ed02113d7bef454e40ff3fab6fe1ec9f1f4e7", size = 29452 },
+]
+
+[[package]]
+name = "google-cloud-dataplex"
+version = "2.18.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core", extra = ["grpc"] },
+ { name = "google-auth" },
+ { name = "grpc-google-iam-v1" },
+ { name = "grpcio" },
+ { name = "proto-plus" },
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/ee/2b/c390bbe1f68015ea57eb9352e90ebbbf459c3139d9e5a8e6faa0b1abdc6e/google_cloud_dataplex-2.18.0.tar.gz", hash = "sha256:ae3f7f1b5c64675e8a4b66725d404eec864e12d29051323a2232bdb05797016d", size = 881810 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b2/9a/8b096a6d772b7abf1c97dfbce17d47ba1d8a944ce8d7a239fd300a3ad8ae/google_cloud_dataplex-2.18.0-py3-none-any.whl", hash = "sha256:6e4ec95b24f64e95cec5f3753fbe7419f78ddb8b1ba90f8d955bc7613bb90764", size = 675743 },
+]
+
+[[package]]
+name = "google-cloud-discoveryengine"
+version = "0.13.12"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core", extra = ["grpc"] },
+ { name = "google-auth" },
+ { name = "proto-plus" },
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/8f/cd/b33bbc4b096d937abee5ebfad3908b2bdc65acd1582191aa33beaa2b70a5/google_cloud_discoveryengine-0.13.12.tar.gz", hash = "sha256:d6b9f8fadd8ad0d2f4438231c5eb7772a317e9f59cafbcbadc19b5d54c609419", size = 3582382 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/93/70/607f6011648f603d35e60a16c34aee68a0b39510e4268d4859f3268684f9/google_cloud_discoveryengine-0.13.12-py3-none-any.whl", hash = "sha256:295f8c6df3fb26b90fb82c2cd6fbcf4b477661addcb19a94eea16463a5c4e041", size = 3337248 },
+]
+
+[[package]]
+name = "google-cloud-iam"
+version = "2.22.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core", extra = ["grpc"] },
+ { name = "google-auth" },
+ { name = "grpc-google-iam-v1" },
+ { name = "grpcio" },
+ { name = "proto-plus" },
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/62/e5/07d4f1daf85a2a0bd9f78ad865ea678d7b4e1227ed76f671c7167aae147f/google_cloud_iam-2.22.0.tar.gz", hash = "sha256:203ddfece17e014ee4fbc5c3244daa14a88b7ee57c8e3a7622d0f2a1a3b8d7f3", size = 502498 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/aa/a8/d721ea11d0eb93803d14cb2e90d0442bb3b269a82f7cb5faff2b98022039/google_cloud_iam-2.22.0-py3-none-any.whl", hash = "sha256:c443b34b5a6a9e51d32cee397879bb781b900af68937c67a275def23bbc025f3", size = 463425 },
+]
+
+[[package]]
+name = "google-cloud-logging"
+version = "3.15.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core", extra = ["grpc"] },
+ { name = "google-auth" },
+ { name = "google-cloud-appengine-logging" },
+ { name = "google-cloud-audit-log" },
+ { name = "google-cloud-core" },
+ { name = "grpc-google-iam-v1" },
+ { name = "grpcio" },
+ { name = "opentelemetry-api" },
+ { name = "proto-plus" },
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/99/06/253e9795a5877f35183a7175977ca47a17255fe0c8487155f48b86c83f3e/google_cloud_logging-3.15.0.tar.gz", hash = "sha256:72168a1e98bbfc27c75f0b8f630a7f5d786065f3f1f7e9e53d2d787a03693a4a", size = 294881 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/86/0c/fc1a0c57f95d21559ed13e381d9024e9ee9d521489707573fd10af856545/google_cloud_logging-3.15.0-py3-none-any.whl", hash = "sha256:7dcc67434c4e7181510c133d5ac8fd4ce60c23fa4158661f67e54bf440c32450", size = 234212 },
+]
+
+[[package]]
+name = "google-cloud-monitoring"
+version = "2.30.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core", extra = ["grpc"] },
+ { name = "google-auth" },
+ { name = "grpcio" },
+ { name = "proto-plus" },
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/eb/3f/7bc306ebb006114f58fb9143aec91e1b014a11577350d8bbd6bbc38389f9/google_cloud_monitoring-2.30.0.tar.gz", hash = "sha256:a9530aa9aa246c490810dfa7be32d67e8340d19108acc99cbc02d1ed494fba76", size = 407108 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ad/c8/666c21c470b9d6fd62ac9ee74dc265419975228f9b16f8ad72ec22e8d98b/google_cloud_monitoring-2.30.0-py3-none-any.whl", hash = "sha256:2729f3b88a4798b7757b1d9d31b6cb562bb3544e8173765e4e5cd44d8685b1ed", size = 391367 },
+]
+
+[[package]]
+name = "google-cloud-pubsub"
+version = "2.37.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core", extra = ["grpc"] },
+ { name = "google-auth" },
+ { name = "grpc-google-iam-v1" },
+ { name = "grpcio", marker = "python_full_version < '3.14'" },
+ { name = "grpcio-status" },
+ { name = "opentelemetry-api" },
+ { name = "opentelemetry-sdk" },
+ { name = "proto-plus" },
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/50/89/558c48382d6875335ea6cd7f6409acfbf256b9f7fbc2ad1c19976aabdb1f/google_cloud_pubsub-2.37.0.tar.gz", hash = "sha256:7c5ba9beb5236e2b83c091dd6171423dc7d6d0e989391bd09f60dbd242b29f10", size = 403391 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/64/f1/bb7162ec50971b1d252e6837d05f64f185d5cfe4e08de8f706e363c305d9/google_cloud_pubsub-2.37.0-py3-none-any.whl", hash = "sha256:dd912422cf66e4ffb423b0d5391ca81bdfa408eb0f21f57adecdb6fb3b1e0bb1", size = 325136 },
+]
+
+[[package]]
+name = "google-cloud-resource-manager"
+version = "1.17.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core", extra = ["grpc"] },
+ { name = "google-auth" },
+ { name = "grpc-google-iam-v1" },
+ { name = "grpcio" },
+ { name = "proto-plus" },
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/b2/1a/13060cabf553d52d151d2afc26b39561e82853380d499dd525a0d422d9f0/google_cloud_resource_manager-1.17.0.tar.gz", hash = "sha256:0f486b62e2c58ff992a3a50fa0f4a96eef7750aa6c971bb373398ccb91828660", size = 464971 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/3d/f7/661d7a9023e877a226b5683429c3662f75a29ef45cb1464cf39adb689218/google_cloud_resource_manager-1.17.0-py3-none-any.whl", hash = "sha256:e479baf4b014a57f298e01b8279e3290b032e3476d69c8e5e1427af8f82739a5", size = 404403 },
+]
+
+[[package]]
+name = "google-cloud-secret-manager"
+version = "2.27.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core", extra = ["grpc"] },
+ { name = "google-auth" },
+ { name = "grpc-google-iam-v1" },
+ { name = "grpcio" },
+ { name = "proto-plus" },
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/6d/df/fbea0536e1baa6ea2239fdd19e9e22c9d64c8e26a0f3921596ecc0e5397d/google_cloud_secret_manager-2.27.0.tar.gz", hash = "sha256:6af864c252bd3c11db7bb02b80cb0b14a8c9a33fc7ec4d6f245f33d8ce1f7cd1", size = 279769 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1f/4b/6dd1e2efd9a2e73aa847fd455a1ce375d8d3cba1a2c4f7fd69f9bf0b9dce/google_cloud_secret_manager-2.27.0-py3-none-any.whl", hash = "sha256:e5540bece65a3ad720146f3b438973faf9315109b3ffa012a58711843047a3dc", size = 225577 },
+]
+
+[[package]]
+name = "google-cloud-spanner"
+version = "3.64.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core", extra = ["grpc"] },
+ { name = "google-cloud-core" },
+ { name = "google-cloud-monitoring" },
+ { name = "grpc-google-iam-v1" },
+ { name = "grpc-interceptor" },
+ { name = "mmh3" },
+ { name = "opentelemetry-api" },
+ { name = "opentelemetry-resourcedetector-gcp" },
+ { name = "opentelemetry-sdk" },
+ { name = "opentelemetry-semantic-conventions" },
+ { name = "proto-plus" },
+ { name = "protobuf" },
+ { name = "sqlparse" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/cf/67/573b14674bd74c8f0630125e13fd52791c76e6a34f21862358913fa41742/google_cloud_spanner-3.64.0.tar.gz", hash = "sha256:02c26601eaaef6abba78efe5c55187b16550aeab0671ed0a65ab2d78bf7c019e", size = 884721 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/23/93/0ae1f0edfb9d9a0fc85d234b085b1cd7a3c5444f5bb85f1315f76c654313/google_cloud_spanner-3.64.0-py3-none-any.whl", hash = "sha256:9dd8b268c511def6bef118f9d8d9cbea98509727d13388a8365d5b72e13acf7c", size = 607319 },
+]
+
+[[package]]
+name = "google-cloud-speech"
+version = "2.38.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core", extra = ["grpc"] },
+ { name = "google-auth" },
+ { name = "grpcio" },
+ { name = "proto-plus" },
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/21/1f/d0122ad8af8c0608fb3168bd5030e62ce0a1fcc09c730487bc8be541874a/google_cloud_speech-2.38.0.tar.gz", hash = "sha256:1854b51cbb7957273b6ba61f4a6cf49dec8d09ec450991587897e50267eaca51", size = 406015 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/01/96/008365cddc78720d65475091be929466fb16c62b47283546f8eab5ff4445/google_cloud_speech-2.38.0-py3-none-any.whl", hash = "sha256:dbccb340a750a409b0e70c48c16c8d7d5d48a87c70cce2add50f3d571f5375a0", size = 346013 },
+]
+
+[[package]]
+name = "google-cloud-storage"
+version = "3.10.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core" },
+ { name = "google-auth" },
+ { name = "google-cloud-core" },
+ { name = "google-crc32c" },
+ { name = "google-resumable-media" },
+ { name = "requests" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/4c/47/205eb8e9a1739b5345843e5a425775cbdc472cc38e7eda082ba5b8d02450/google_cloud_storage-3.10.1.tar.gz", hash = "sha256:97db9aa4460727982040edd2bd13ff3d5e2260b5331ad22895802da1fc2a5286", size = 17309950 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ad/ff/ca9ab2417fa913d75aae38bf40bf856bb2749a604b2e0f701b37cfcd23cc/google_cloud_storage-3.10.1-py3-none-any.whl", hash = "sha256:a72f656759b7b99bda700f901adcb3425a828d4a29f911bc26b3ea79c5b1217f", size = 324453 },
+]
+
+[[package]]
+name = "google-cloud-trace"
+version = "1.19.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-api-core", extra = ["grpc"] },
+ { name = "google-auth" },
+ { name = "grpcio" },
+ { name = "proto-plus" },
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/89/7b/c2a5848c4722373c92b500b65e6308ad89ca0c7c01054e0d948c58c107f2/google_cloud_trace-1.19.0.tar.gz", hash = "sha256:58293c6efcee6c74bb854ff01b008823bef66845c14f15ffa5209d545098a65d", size = 103875 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a4/91/0090acafa7d2caf1bf0d7222d42935e118164a539f9f9a00a814afa63fa1/google_cloud_trace-1.19.0-py3-none-any.whl", hash = "sha256:59604c4c775c40af31b367df6bada0af34518cc35ac8cfedecd43898a120c51d", size = 108454 },
+]
+
+[[package]]
+name = "google-crc32c"
+version = "1.8.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/03/41/4b9c02f99e4c5fb477122cd5437403b552873f014616ac1d19ac8221a58d/google_crc32c-1.8.0.tar.gz", hash = "sha256:a428e25fb7691024de47fecfbff7ff957214da51eddded0da0ae0e0f03a2cf79", size = 14192 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/5d/ef/21ccfaab3d5078d41efe8612e0ed0bfc9ce22475de074162a91a25f7980d/google_crc32c-1.8.0-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:014a7e68d623e9a4222d663931febc3033c5c7c9730785727de2a81f87d5bab8", size = 31298 },
+ { url = "https://files.pythonhosted.org/packages/c5/b8/f8413d3f4b676136e965e764ceedec904fe38ae8de0cdc52a12d8eb1096e/google_crc32c-1.8.0-cp311-cp311-macosx_12_0_x86_64.whl", hash = "sha256:86cfc00fe45a0ac7359e5214a1704e51a99e757d0272554874f419f79838c5f7", size = 30872 },
+ { url = "https://files.pythonhosted.org/packages/f6/fd/33aa4ec62b290477181c55bb1c9302c9698c58c0ce9a6ab4874abc8b0d60/google_crc32c-1.8.0-cp311-cp311-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:19b40d637a54cb71e0829179f6cb41835f0fbd9e8eb60552152a8b52c36cbe15", size = 33243 },
+ { url = "https://files.pythonhosted.org/packages/71/03/4820b3bd99c9653d1a5210cb32f9ba4da9681619b4d35b6a052432df4773/google_crc32c-1.8.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:17446feb05abddc187e5441a45971b8394ea4c1b6efd88ab0af393fd9e0a156a", size = 33608 },
+ { url = "https://files.pythonhosted.org/packages/7c/43/acf61476a11437bf9733fb2f70599b1ced11ec7ed9ea760fdd9a77d0c619/google_crc32c-1.8.0-cp311-cp311-win_amd64.whl", hash = "sha256:71734788a88f551fbd6a97be9668a0020698e07b2bf5b3aa26a36c10cdfb27b2", size = 34439 },
+ { url = "https://files.pythonhosted.org/packages/e9/5f/7307325b1198b59324c0fa9807cafb551afb65e831699f2ce211ad5c8240/google_crc32c-1.8.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:4b8286b659c1335172e39563ab0a768b8015e88e08329fa5321f774275fc3113", size = 31300 },
+ { url = "https://files.pythonhosted.org/packages/21/8e/58c0d5d86e2220e6a37befe7e6a94dd2f6006044b1a33edf1ff6d9f7e319/google_crc32c-1.8.0-cp312-cp312-macosx_12_0_x86_64.whl", hash = "sha256:2a3dc3318507de089c5384cc74d54318401410f82aa65b2d9cdde9d297aca7cb", size = 30867 },
+ { url = "https://files.pythonhosted.org/packages/ce/a9/a780cc66f86335a6019f557a8aaca8fbb970728f0efd2430d15ff1beae0e/google_crc32c-1.8.0-cp312-cp312-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:14f87e04d613dfa218d6135e81b78272c3b904e2a7053b841481b38a7d901411", size = 33364 },
+ { url = "https://files.pythonhosted.org/packages/21/3f/3457ea803db0198c9aaca2dd373750972ce28a26f00544b6b85088811939/google_crc32c-1.8.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:cb5c869c2923d56cb0c8e6bcdd73c009c36ae39b652dbe46a05eb4ef0ad01454", size = 33740 },
+ { url = "https://files.pythonhosted.org/packages/df/c0/87c2073e0c72515bb8733d4eef7b21548e8d189f094b5dad20b0ecaf64f6/google_crc32c-1.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:3cc0c8912038065eafa603b238abf252e204accab2a704c63b9e14837a854962", size = 34437 },
+ { url = "https://files.pythonhosted.org/packages/d1/db/000f15b41724589b0e7bc24bc7a8967898d8d3bc8caf64c513d91ef1f6c0/google_crc32c-1.8.0-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:3ebb04528e83b2634857f43f9bb8ef5b2bbe7f10f140daeb01b58f972d04736b", size = 31297 },
+ { url = "https://files.pythonhosted.org/packages/d7/0d/8ebed0c39c53a7e838e2a486da8abb0e52de135f1b376ae2f0b160eb4c1a/google_crc32c-1.8.0-cp313-cp313-macosx_12_0_x86_64.whl", hash = "sha256:450dc98429d3e33ed2926fc99ee81001928d63460f8538f21a5d6060912a8e27", size = 30867 },
+ { url = "https://files.pythonhosted.org/packages/ce/42/b468aec74a0354b34c8cbf748db20d6e350a68a2b0912e128cabee49806c/google_crc32c-1.8.0-cp313-cp313-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:3b9776774b24ba76831609ffbabce8cdf6fa2bd5e9df37b594221c7e333a81fa", size = 33344 },
+ { url = "https://files.pythonhosted.org/packages/1c/e8/b33784d6fc77fb5062a8a7854e43e1e618b87d5ddf610a88025e4de6226e/google_crc32c-1.8.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:89c17d53d75562edfff86679244830599ee0a48efc216200691de8b02ab6b2b8", size = 33694 },
+ { url = "https://files.pythonhosted.org/packages/92/b1/d3cbd4d988afb3d8e4db94ca953df429ed6db7282ed0e700d25e6c7bfc8d/google_crc32c-1.8.0-cp313-cp313-win_amd64.whl", hash = "sha256:57a50a9035b75643996fbf224d6661e386c7162d1dfdab9bc4ca790947d1007f", size = 34435 },
+ { url = "https://files.pythonhosted.org/packages/21/88/8ecf3c2b864a490b9e7010c84fd203ec8cf3b280651106a3a74dd1b0ca72/google_crc32c-1.8.0-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:e6584b12cb06796d285d09e33f63309a09368b9d806a551d8036a4207ea43697", size = 31301 },
+ { url = "https://files.pythonhosted.org/packages/36/c6/f7ff6c11f5ca215d9f43d3629163727a272eabc356e5c9b2853df2bfe965/google_crc32c-1.8.0-cp314-cp314-macosx_12_0_x86_64.whl", hash = "sha256:f4b51844ef67d6cf2e9425983274da75f18b1597bb2c998e1c0a0e8d46f8f651", size = 30868 },
+ { url = "https://files.pythonhosted.org/packages/56/15/c25671c7aad70f8179d858c55a6ae8404902abe0cdcf32a29d581792b491/google_crc32c-1.8.0-cp314-cp314-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:b0d1a7afc6e8e4635564ba8aa5c0548e3173e41b6384d7711a9123165f582de2", size = 33381 },
+ { url = "https://files.pythonhosted.org/packages/42/fa/f50f51260d7b0ef5d4898af122d8a7ec5a84e2984f676f746445f783705f/google_crc32c-1.8.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:8b3f68782f3cbd1bce027e48768293072813469af6a61a86f6bb4977a4380f21", size = 33734 },
+ { url = "https://files.pythonhosted.org/packages/08/a5/7b059810934a09fb3ccb657e0843813c1fee1183d3bc2c8041800374aa2c/google_crc32c-1.8.0-cp314-cp314-win_amd64.whl", hash = "sha256:d511b3153e7011a27ab6ee6bb3a5404a55b994dc1a7322c0b87b29606d9790e2", size = 34878 },
+ { url = "https://files.pythonhosted.org/packages/52/c5/c171e4d8c44fec1422d801a6d2e5d7ddabd733eeda505c79730ee9607f07/google_crc32c-1.8.0-pp311-pypy311_pp73-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:87fa445064e7db928226b2e6f0d5304ab4cd0339e664a4e9a25029f384d9bb93", size = 28615 },
+ { url = "https://files.pythonhosted.org/packages/9c/97/7d75fe37a7a6ed171a2cf17117177e7aab7e6e0d115858741b41e9dd4254/google_crc32c-1.8.0-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f639065ea2042d5c034bf258a9f085eaa7af0cd250667c0635a3118e8f92c69c", size = 28800 },
+]
+
+[[package]]
+name = "google-genai"
+version = "1.72.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "distro" },
+ { name = "google-auth", extra = ["requests"] },
+ { name = "httpx" },
+ { name = "pydantic" },
+ { name = "requests" },
+ { name = "sniffio" },
+ { name = "tenacity" },
+ { name = "typing-extensions" },
+ { name = "websockets" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/3c/20/2aff5ea3cd7459f85101d119c136d9ca4369fcda3dcf0cfee89b305611a4/google_genai-1.72.0.tar.gz", hash = "sha256:abe7d3aecfafb464b904e3a09c81b626fb425e160e123e71a5125a7021cea7b2", size = 522844 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9f/3d/9f70246114cdf56a2615a40428ced08bc844f5a26247fe812b2f0dd4eaca/google_genai-1.72.0-py3-none-any.whl", hash = "sha256:ea861e4c6946e3185c24b40d95503e088fc230a73a71fec0ef78164b369a8489", size = 764230 },
+]
+
+[[package]]
+name = "google-resumable-media"
+version = "2.8.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-crc32c" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/3f/d1/b1ea14b93b6b78f57fc580125de44e9f593ab88dd2460f1a8a8d18f74754/google_resumable_media-2.8.2.tar.gz", hash = "sha256:f3354a182ebd193ae3f42e3ef95e6c9b10f128320de23ac7637236713b1acd70", size = 2164510 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/5e/f8/50bfaf4658431ff9de45c5c3935af7ab01157a4903c603cd0eee6e78e087/google_resumable_media-2.8.2-py3-none-any.whl", hash = "sha256:82b6d8ccd11765268cdd2a2123f417ec806b8eef3000a9a38dfe3033da5fb220", size = 81511 },
+]
+
+[[package]]
+name = "googleapis-common-protos"
+version = "1.74.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/20/18/a746c8344152d368a5aac738d4c857012f2c5d1fd2eac7e17b647a7861bd/googleapis_common_protos-1.74.0.tar.gz", hash = "sha256:57971e4eeeba6aad1163c1f0fc88543f965bb49129b8bb55b2b7b26ecab084f1", size = 151254 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b6/b0/be5d3329badb9230b765de6eea66b73abd5944bdeb5afb3562ddcd80ae84/googleapis_common_protos-1.74.0-py3-none-any.whl", hash = "sha256:702216f78610bb510e3f12ac3cafd281b7ac45cc5d86e90ad87e4d301a3426b5", size = 300743 },
+]
+
+[package.optional-dependencies]
+grpc = [
+ { name = "grpcio" },
+]
+
+[[package]]
+name = "graphviz"
+version = "0.21"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f8/b3/3ac91e9be6b761a4b30d66ff165e54439dcd48b83f4e20d644867215f6ca/graphviz-0.21.tar.gz", hash = "sha256:20743e7183be82aaaa8ad6c93f8893c923bd6658a04c32ee115edb3c8a835f78", size = 200434 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/91/4c/e0ce1ef95d4000ebc1c11801f9b944fa5910ecc15b5e351865763d8657f8/graphviz-0.21-py3-none-any.whl", hash = "sha256:54f33de9f4f911d7e84e4191749cac8cc5653f815b06738c54db9a15ab8b1e42", size = 47300 },
+]
+
+[[package]]
+name = "greenlet"
+version = "3.4.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/86/94/a5935717b307d7c71fe877b52b884c6af707d2d2090db118a03fbd799369/greenlet-3.4.0.tar.gz", hash = "sha256:f50a96b64dafd6169e595a5c56c9146ef80333e67d4476a65a9c55f400fc22ff", size = 195913 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fb/c6/dba32cab7e3a625b011aa5647486e2d28423a48845a2998c126dd69c85e1/greenlet-3.4.0-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:805bebb4945094acbab757d34d6e1098be6de8966009ab9ca54f06ff492def58", size = 285504 },
+ { url = "https://files.pythonhosted.org/packages/54/f4/7cb5c2b1feb9a1f50e038be79980dfa969aa91979e5e3a18fdbcfad2c517/greenlet-3.4.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:439fc2f12b9b512d9dfa681c5afe5f6b3232c708d13e6f02c845e0d9f4c2d8c6", size = 605476 },
+ { url = "https://files.pythonhosted.org/packages/d6/af/b66ab0b2f9a4c5a867c136bf66d9599f34f21a1bcca26a2884a29c450bd9/greenlet-3.4.0-cp311-cp311-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a70ed1cb0295bee1df57b63bf7f46b4e56a5c93709eea769c1fec1bb23a95875", size = 618336 },
+ { url = "https://files.pythonhosted.org/packages/6d/31/56c43d2b5de476f77d36ceeec436328533bff960a4cba9a07616e93063ab/greenlet-3.4.0-cp311-cp311-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:8c5696c42e6bb5cfb7c6ff4453789081c66b9b91f061e5e9367fa15792644e76", size = 625045 },
+ { url = "https://files.pythonhosted.org/packages/e5/5c/8c5633ece6ba611d64bf2770219a98dd439921d6424e4e8cf16b0ac74ea5/greenlet-3.4.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c660bce1940a1acae5f51f0a064f1bc785d07ea16efcb4bc708090afc4d69e83", size = 613515 },
+ { url = "https://files.pythonhosted.org/packages/80/ca/704d4e2c90acb8bdf7ae593f5cbc95f58e82de95cc540fb75631c1054533/greenlet-3.4.0-cp311-cp311-manylinux_2_39_riscv64.whl", hash = "sha256:89995ce5ddcd2896d89615116dd39b9703bfa0c07b583b85b89bf1b5d6eddf81", size = 419745 },
+ { url = "https://files.pythonhosted.org/packages/a9/df/950d15bca0d90a0e7395eb777903060504cdb509b7b705631e8fb69ff415/greenlet-3.4.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:ee407d4d1ca9dc632265aee1c8732c4a2d60adff848057cdebfe5fe94eb2c8a2", size = 1574623 },
+ { url = "https://files.pythonhosted.org/packages/1a/e7/0839afab829fcb7333c9ff6d80c040949510055d2d4d63251f0d1c7c804e/greenlet-3.4.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:956215d5e355fffa7c021d168728321fd4d31fd730ac609b1653b450f6a4bc71", size = 1639579 },
+ { url = "https://files.pythonhosted.org/packages/d9/2b/b4482401e9bcaf9f5c97f67ead38db89c19520ff6d0d6699979c6efcc200/greenlet-3.4.0-cp311-cp311-win_amd64.whl", hash = "sha256:5cb614ace7c27571270354e9c9f696554d073f8aa9319079dcba466bbdead711", size = 238233 },
+ { url = "https://files.pythonhosted.org/packages/0c/4d/d8123a4e0bcd583d5cfc8ddae0bbe29c67aab96711be331a7cc935a35966/greenlet-3.4.0-cp311-cp311-win_arm64.whl", hash = "sha256:04403ac74fe295a361f650818de93be11b5038a78f49ccfb64d3b1be8fbf1267", size = 235045 },
+ { url = "https://files.pythonhosted.org/packages/65/8b/3669ad3b3f247a791b2b4aceb3aa5a31f5f6817bf547e4e1ff712338145a/greenlet-3.4.0-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:1a54a921561dd9518d31d2d3db4d7f80e589083063ab4d3e2e950756ef809e1a", size = 286902 },
+ { url = "https://files.pythonhosted.org/packages/38/3e/3c0e19b82900873e2d8469b590a6c4b3dfd2b316d0591f1c26b38a4879a5/greenlet-3.4.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:16dec271460a9a2b154e3b1c2fa1050ce6280878430320e85e08c166772e3f97", size = 606099 },
+ { url = "https://files.pythonhosted.org/packages/b5/33/99fef65e7754fc76a4ed14794074c38c9ed3394a5bd129d7f61b705f3168/greenlet-3.4.0-cp312-cp312-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:90036ce224ed6fe75508c1907a77e4540176dcf0744473627785dd519c6f9996", size = 618837 },
+ { url = "https://files.pythonhosted.org/packages/44/57/eae2cac10421feae6c0987e3dc106c6d86262b1cb379e171b017aba893a6/greenlet-3.4.0-cp312-cp312-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:6f0def07ec9a71d72315cf26c061aceee53b306c36ed38c35caba952ea1b319d", size = 624901 },
+ { url = "https://files.pythonhosted.org/packages/36/f7/229f3aed6948faa20e0616a0b8568da22e365ede6a54d7d369058b128afd/greenlet-3.4.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a1c4f6b453006efb8310affb2d132832e9bbb4fc01ce6df6b70d810d38f1f6dc", size = 615062 },
+ { url = "https://files.pythonhosted.org/packages/6a/8a/0e73c9b94f31d1cc257fe79a0eff621674141cdae7d6d00f40de378a1e42/greenlet-3.4.0-cp312-cp312-manylinux_2_39_riscv64.whl", hash = "sha256:0e1254cf0cbaa17b04320c3a78575f29f3c161ef38f59c977108f19ffddaf077", size = 423927 },
+ { url = "https://files.pythonhosted.org/packages/08/97/d988180011aa40135c46cd0d0cf01dd97f7162bae14139b4a3ef54889ba5/greenlet-3.4.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:9b2d9a138ffa0e306d0e2b72976d2fb10b97e690d40ab36a472acaab0838e2de", size = 1573511 },
+ { url = "https://files.pythonhosted.org/packages/d4/0f/a5a26fe152fb3d12e6a474181f6e9848283504d0afd095f353d85726374b/greenlet-3.4.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:8424683caf46eb0eb6f626cb95e008e8cc30d0cb675bdfa48200925c79b38a08", size = 1640396 },
+ { url = "https://files.pythonhosted.org/packages/42/cf/bb2c32d9a100e36ee9f6e38fad6b1e082b8184010cb06259b49e1266ca01/greenlet-3.4.0-cp312-cp312-win_amd64.whl", hash = "sha256:a0a53fb071531d003b075c444014ff8f8b1a9898d36bb88abd9ac7b3524648a2", size = 238892 },
+ { url = "https://files.pythonhosted.org/packages/b7/47/6c41314bac56e71436ce551c7fbe3cc830ed857e6aa9708dbb9c65142eb6/greenlet-3.4.0-cp312-cp312-win_arm64.whl", hash = "sha256:f38b81880ba28f232f1f675893a39cf7b6db25b31cc0a09bb50787ecf957e85e", size = 235599 },
+ { url = "https://files.pythonhosted.org/packages/7a/75/7e9cd1126a1e1f0cd67b0eda02e5221b28488d352684704a78ed505bd719/greenlet-3.4.0-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:43748988b097f9c6f09364f260741aa73c80747f63389824435c7a50bfdfd5c1", size = 285856 },
+ { url = "https://files.pythonhosted.org/packages/9d/c4/3e2df392e5cb199527c4d9dbcaa75c14edcc394b45040f0189f649631e3c/greenlet-3.4.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5566e4e2cd7a880e8c27618e3eab20f3494452d12fd5129edef7b2f7aa9a36d1", size = 610208 },
+ { url = "https://files.pythonhosted.org/packages/da/af/750cdfda1d1bd30a6c28080245be8d0346e669a98fdbae7f4102aa95fff3/greenlet-3.4.0-cp313-cp313-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1054c5a3c78e2ab599d452f23f7adafef55062a783a8e241d24f3b633ba6ff82", size = 621269 },
+ { url = "https://files.pythonhosted.org/packages/e0/93/c8c508d68ba93232784bbc1b5474d92371f2897dfc6bc281b419f2e0d492/greenlet-3.4.0-cp313-cp313-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:98eedd1803353daf1cd9ef23eef23eda5a4d22f99b1f998d273a8b78b70dd47f", size = 628455 },
+ { url = "https://files.pythonhosted.org/packages/54/78/0cbc693622cd54ebe25207efbb3a0eb07c2639cb8594f6e3aaaa0bb077a8/greenlet-3.4.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f82cb6cddc27dd81c96b1506f4aa7def15070c3b2a67d4e46fd19016aacce6cf", size = 617549 },
+ { url = "https://files.pythonhosted.org/packages/7f/46/cfaaa0ade435a60550fd83d07dfd5c41f873a01da17ede5c4cade0b9bab8/greenlet-3.4.0-cp313-cp313-manylinux_2_39_riscv64.whl", hash = "sha256:b7857e2202aae67bc5725e0c1f6403c20a8ff46094ece015e7d474f5f7020b55", size = 426238 },
+ { url = "https://files.pythonhosted.org/packages/ba/c0/8966767de01343c1ff47e8b855dc78e7d1a8ed2b7b9c83576a57e289f81d/greenlet-3.4.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:227a46251ecba4ff46ae742bc5ce95c91d5aceb4b02f885487aff269c127a729", size = 1575310 },
+ { url = "https://files.pythonhosted.org/packages/b8/38/bcdc71ba05e9a5fda87f63ffc2abcd1f15693b659346df994a48c968003d/greenlet-3.4.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:5b99e87be7eba788dd5b75ba1cde5639edffdec5f91fe0d734a249535ec3408c", size = 1640435 },
+ { url = "https://files.pythonhosted.org/packages/a1/c2/19b664b7173b9e4ef5f77e8cef9f14c20ec7fce7920dc1ccd7afd955d093/greenlet-3.4.0-cp313-cp313-win_amd64.whl", hash = "sha256:849f8bc17acd6295fcb5de8e46d55cc0e52381c56eaf50a2afd258e97bc65940", size = 238760 },
+ { url = "https://files.pythonhosted.org/packages/9b/96/795619651d39c7fbd809a522f881aa6f0ead504cc8201c3a5b789dfaef99/greenlet-3.4.0-cp313-cp313-win_arm64.whl", hash = "sha256:9390ad88b652b1903814eaabd629ca184db15e0eeb6fe8a390bbf8b9106ae15a", size = 235498 },
+ { url = "https://files.pythonhosted.org/packages/78/02/bde66806e8f169cf90b14d02c500c44cdbe02c8e224c9c67bafd1b8cadd1/greenlet-3.4.0-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:10a07aca6babdd18c16a3f4f8880acfffc2b88dfe431ad6aa5f5740759d7d75e", size = 286291 },
+ { url = "https://files.pythonhosted.org/packages/05/1f/39da1c336a87d47c58352fb8a78541ce63d63ae57c5b9dae1fe02801bbc2/greenlet-3.4.0-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:076e21040b3a917d3ce4ad68fb5c3c6b32f1405616c4a57aa83120979649bd3d", size = 656749 },
+ { url = "https://files.pythonhosted.org/packages/d3/6c/90ee29a4ee27af7aa2e2ec408799eeb69ee3fcc5abcecac6ddd07a5cd0f2/greenlet-3.4.0-cp314-cp314-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e82689eea4a237e530bb5cb41b180ef81fa2160e1f89422a67be7d90da67f615", size = 669084 },
+ { url = "https://files.pythonhosted.org/packages/d2/4a/74078d3936712cff6d3c91a930016f476ce4198d84e224fe6d81d3e02880/greenlet-3.4.0-cp314-cp314-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:06c2d3b89e0c62ba50bd7adf491b14f39da9e7e701647cb7b9ff4c99bee04b19", size = 673405 },
+ { url = "https://files.pythonhosted.org/packages/07/49/d4cad6e5381a50947bb973d2f6cf6592621451b09368b8c20d9b8af49c5b/greenlet-3.4.0-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4df3b0b2289ec686d3c821a5fee44259c05cfe824dd5e6e12c8e5f5df23085cf", size = 665621 },
+ { url = "https://files.pythonhosted.org/packages/79/3e/df8a83ab894751bc31e1106fdfaa80ca9753222f106b04de93faaa55feb7/greenlet-3.4.0-cp314-cp314-manylinux_2_39_riscv64.whl", hash = "sha256:070b8bac2ff3b4d9e0ff36a0d19e42103331d9737e8504747cd1e659f76297bd", size = 471670 },
+ { url = "https://files.pythonhosted.org/packages/37/31/d1edd54f424761b5d47718822f506b435b6aab2f3f93b465441143ea5119/greenlet-3.4.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:8bff29d586ea415688f4cec96a591fcc3bf762d046a796cdadc1fdb6e7f2d5bf", size = 1622259 },
+ { url = "https://files.pythonhosted.org/packages/b0/c6/6d3f9cdcb21c4e12a79cb332579f1c6aa1af78eb68059c5a957c7812d95e/greenlet-3.4.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:8a569c2fb840c53c13a2b8967c63621fafbd1a0e015b9c82f408c33d626a2fda", size = 1686916 },
+ { url = "https://files.pythonhosted.org/packages/63/45/c1ca4a1ad975de4727e52d3ffe641ae23e1d7a8ffaa8ff7a0477e1827b92/greenlet-3.4.0-cp314-cp314-win_amd64.whl", hash = "sha256:207ba5b97ea8b0b60eb43ffcacf26969dd83726095161d676aac03ff913ee50d", size = 239821 },
+ { url = "https://files.pythonhosted.org/packages/71/c4/6f621023364d7e85a4769c014c8982f98053246d142420e0328980933ceb/greenlet-3.4.0-cp314-cp314-win_arm64.whl", hash = "sha256:f8296d4e2b92af34ebde81085a01690f26a51eb9ac09a0fcadb331eb36dbc802", size = 236932 },
+ { url = "https://files.pythonhosted.org/packages/d4/8f/18d72b629783f5e8d045a76f5325c1e938e659a9e4da79c7dcd10169a48d/greenlet-3.4.0-cp314-cp314t-macosx_11_0_universal2.whl", hash = "sha256:d70012e51df2dbbccfaf63a40aaf9b40c8bed37c3e3a38751c926301ce538ece", size = 294681 },
+ { url = "https://files.pythonhosted.org/packages/9e/ad/5fa86ec46769c4153820d58a04062285b3b9e10ba3d461ee257b68dcbf53/greenlet-3.4.0-cp314-cp314t-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a58bec0751f43068cd40cff31bb3ca02ad6000b3a51ca81367af4eb5abc480c8", size = 658899 },
+ { url = "https://files.pythonhosted.org/packages/43/f0/4e8174ca0e87ae748c409f055a1ba161038c43cc0a5a6f1433a26ac2e5bf/greenlet-3.4.0-cp314-cp314t-manylinux_2_24_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:05fa0803561028f4b2e3b490ee41216a842eaee11aed004cc343a996d9523aa2", size = 665284 },
+ { url = "https://files.pythonhosted.org/packages/ef/92/466b0d9afd44b8af623139a3599d651c7564fa4152f25f117e1ee5949ffb/greenlet-3.4.0-cp314-cp314t-manylinux_2_24_s390x.manylinux_2_28_s390x.whl", hash = "sha256:c4cd56a9eb7a6444edbc19062f7b6fbc8f287c663b946e3171d899693b1c19fa", size = 665872 },
+ { url = "https://files.pythonhosted.org/packages/19/da/991cf7cd33662e2df92a1274b7eb4d61769294d38a1bba8a45f31364845e/greenlet-3.4.0-cp314-cp314t-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e60d38719cb80b3ab5e85f9f1aed4960acfde09868af6762ccb27b260d68f4ed", size = 661861 },
+ { url = "https://files.pythonhosted.org/packages/0d/14/3395a7ef3e260de0325152ddfe19dffb3e49fe10873b94654352b53ad48e/greenlet-3.4.0-cp314-cp314t-manylinux_2_39_riscv64.whl", hash = "sha256:1f85f204c4d54134ae850d401fa435c89cd667d5ce9dc567571776b45941af72", size = 489237 },
+ { url = "https://files.pythonhosted.org/packages/36/c5/6c2c708e14db3d9caea4b459d8464f58c32047451142fe2cfd90e7458f41/greenlet-3.4.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:7f50c804733b43eded05ae694691c9aa68bca7d0a867d67d4a3f514742a2d53f", size = 1622182 },
+ { url = "https://files.pythonhosted.org/packages/7a/4c/50c5fed19378e11a29fabab1f6be39ea95358f4a0a07e115a51ca93385d8/greenlet-3.4.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:2d4f0635dc4aa638cda4b2f5a07ae9a2cff9280327b581a3fcb6f317b4fbc38a", size = 1685050 },
+ { url = "https://files.pythonhosted.org/packages/db/72/85ae954d734703ab48e622c59d4ce35d77ce840c265814af9c078cacc7aa/greenlet-3.4.0-cp314-cp314t-win_amd64.whl", hash = "sha256:1a4a48f24681300c640f143ba7c404270e1ebbbcf34331d7104a4ff40f8ea705", size = 245554 },
+]
+
+[[package]]
+name = "grpc-google-iam-v1"
+version = "0.14.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "googleapis-common-protos", extra = ["grpc"] },
+ { name = "grpcio" },
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/44/4f/d098419ad0bfc06c9ce440575f05aa22d8973b6c276e86ac7890093d3c37/grpc_google_iam_v1-0.14.4.tar.gz", hash = "sha256:392b3796947ed6334e61171d9ab06bf7eb357f554e5fc7556ad7aab6d0e17038", size = 23706 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/89/22/c2dd50c09bf679bd38173656cd4402d2511e563b33bc88f90009cf50613c/grpc_google_iam_v1-0.14.4-py3-none-any.whl", hash = "sha256:412facc320fcbd94034b4df3d557662051d4d8adfa86e0ddb4dca70a3f739964", size = 32675 },
+]
+
+[[package]]
+name = "grpc-interceptor"
+version = "0.15.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "grpcio" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/9f/28/57449d5567adf4c1d3e216aaca545913fbc21a915f2da6790d6734aac76e/grpc-interceptor-0.15.4.tar.gz", hash = "sha256:1f45c0bcb58b6f332f37c637632247c9b02bc6af0fdceb7ba7ce8d2ebbfb0926", size = 19322 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/15/ac/8d53f230a7443401ce81791ec50a3b0e54924bf615ad287654fa4a2f5cdc/grpc_interceptor-0.15.4-py3-none-any.whl", hash = "sha256:0035f33228693ed3767ee49d937bac424318db173fef4d2d0170b3215f254d9d", size = 20848 },
+]
+
+[[package]]
+name = "grpcio"
+version = "1.80.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/b7/48/af6173dbca4454f4637a4678b67f52ca7e0c1ed7d5894d89d434fecede05/grpcio-1.80.0.tar.gz", hash = "sha256:29aca15edd0688c22ba01d7cc01cb000d72b2033f4a3c72a81a19b56fd143257", size = 12978905 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/5d/db/1d56e5f5823257b291962d6c0ce106146c6447f405b60b234c4f222a7cde/grpcio-1.80.0-cp311-cp311-linux_armv7l.whl", hash = "sha256:dfab85db094068ff42e2a3563f60ab3dddcc9d6488a35abf0132daec13209c8a", size = 6055009 },
+ { url = "https://files.pythonhosted.org/packages/6e/18/c83f3cad64c5ca63bca7e91e5e46b0d026afc5af9d0a9972472ceba294b3/grpcio-1.80.0-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:5c07e82e822e1161354e32da2662f741a4944ea955f9f580ec8fb409dd6f6060", size = 12035295 },
+ { url = "https://files.pythonhosted.org/packages/0f/8e/e14966b435be2dda99fbe89db9525ea436edc79780431a1c2875a3582644/grpcio-1.80.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ba0915d51fd4ced2db5ff719f84e270afe0e2d4c45a7bdb1e8d036e4502928c2", size = 6610297 },
+ { url = "https://files.pythonhosted.org/packages/cc/26/d5eb38f42ce0e3fdc8174ea4d52036ef8d58cc4426cb800f2610f625dd75/grpcio-1.80.0-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:3cb8130ba457d2aa09fa6b7c3ed6b6e4e6a2685fce63cb803d479576c4d80e21", size = 7300208 },
+ { url = "https://files.pythonhosted.org/packages/25/51/bd267c989f85a17a5b3eea65a6feb4ff672af41ca614e5a0279cc0ea381c/grpcio-1.80.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:09e5e478b3d14afd23f12e49e8b44c8684ac3c5f08561c43a5b9691c54d136ab", size = 6813442 },
+ { url = "https://files.pythonhosted.org/packages/9e/d9/d80eef735b19e9169e30164bbf889b46f9df9127598a83d174eb13a48b26/grpcio-1.80.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:00168469238b022500e486c1c33916acf2f2a9b2c022202cf8a1885d2e3073c1", size = 7414743 },
+ { url = "https://files.pythonhosted.org/packages/de/f2/567f5bd5054398ed6b0509b9a30900376dcf2786bd936812098808b49d8d/grpcio-1.80.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:8502122a3cc1714038e39a0b071acb1207ca7844208d5ea0d091317555ee7106", size = 8426046 },
+ { url = "https://files.pythonhosted.org/packages/62/29/73ef0141b4732ff5eacd68430ff2512a65c004696997f70476a83e548e7e/grpcio-1.80.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ce1794f4ea6cc3ca29463f42d665c32ba1b964b48958a66497917fe9069f26e6", size = 7851641 },
+ { url = "https://files.pythonhosted.org/packages/46/69/abbfa360eb229a8623bab5f5a4f8105e445bd38ce81a89514ba55d281ad0/grpcio-1.80.0-cp311-cp311-win32.whl", hash = "sha256:51b4a7189b0bef2aa30adce3c78f09c83526cf3dddb24c6a96555e3b97340440", size = 4154368 },
+ { url = "https://files.pythonhosted.org/packages/6f/d4/ae92206d01183b08613e846076115f5ac5991bae358d2a749fa864da5699/grpcio-1.80.0-cp311-cp311-win_amd64.whl", hash = "sha256:02e64bb0bb2da14d947a49e6f120a75e947250aebe65f9629b62bb1f5c14e6e9", size = 4894235 },
+ { url = "https://files.pythonhosted.org/packages/5c/e8/a2b749265eb3415abc94f2e619bbd9e9707bebdda787e61c593004ec927a/grpcio-1.80.0-cp312-cp312-linux_armv7l.whl", hash = "sha256:c624cc9f1008361014378c9d776de7182b11fe8b2e5a81bc69f23a295f2a1ad0", size = 6015616 },
+ { url = "https://files.pythonhosted.org/packages/3e/97/b1282161a15d699d1e90c360df18d19165a045ce1c343c7f313f5e8a0b77/grpcio-1.80.0-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:f49eddcac43c3bf350c0385366a58f36bed8cc2c0ec35ef7b74b49e56552c0c2", size = 12014204 },
+ { url = "https://files.pythonhosted.org/packages/6e/5e/d319c6e997b50c155ac5a8cb12f5173d5b42677510e886d250d50264949d/grpcio-1.80.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:d334591df610ab94714048e0d5b4f3dd5ad1bee74dfec11eee344220077a79de", size = 6563866 },
+ { url = "https://files.pythonhosted.org/packages/ae/f6/fdd975a2cb4d78eb67769a7b3b3830970bfa2e919f1decf724ae4445f42c/grpcio-1.80.0-cp312-cp312-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:0cb517eb1d0d0aaf1d87af7cc5b801d686557c1d88b2619f5e31fab3c2315921", size = 7273060 },
+ { url = "https://files.pythonhosted.org/packages/db/f0/a3deb5feba60d9538a962913e37bd2e69a195f1c3376a3dd44fe0427e996/grpcio-1.80.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:4e78c4ac0d97dc2e569b2f4bcbbb447491167cb358d1a389fc4af71ab6f70411", size = 6782121 },
+ { url = "https://files.pythonhosted.org/packages/ca/84/36c6dcfddc093e108141f757c407902a05085e0c328007cb090d56646cdf/grpcio-1.80.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2ed770b4c06984f3b47eb0517b1c69ad0b84ef3f40128f51448433be904634cd", size = 7383811 },
+ { url = "https://files.pythonhosted.org/packages/7c/ef/f3a77e3dc5b471a0ec86c564c98d6adfa3510d38f8ee99010410858d591e/grpcio-1.80.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:256507e2f524092f1473071a05e65a5b10d84b82e3ff24c5b571513cfaa61e2f", size = 8393860 },
+ { url = "https://files.pythonhosted.org/packages/9b/8d/9d4d27ed7f33d109c50d6b5ce578a9914aa68edab75d65869a17e630a8d1/grpcio-1.80.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:9a6284a5d907c37db53350645567c522be314bac859a64a7a5ca63b77bb7958f", size = 7830132 },
+ { url = "https://files.pythonhosted.org/packages/14/e4/9990b41c6d7a44e1e9dee8ac11d7a9802ba1378b40d77468a7761d1ad288/grpcio-1.80.0-cp312-cp312-win32.whl", hash = "sha256:c71309cfce2f22be26aa4a847357c502db6c621f1a49825ae98aa0907595b193", size = 4140904 },
+ { url = "https://files.pythonhosted.org/packages/2f/2c/296f6138caca1f4b92a31ace4ae1b87dab692fc16a7a3417af3bb3c805bf/grpcio-1.80.0-cp312-cp312-win_amd64.whl", hash = "sha256:9fe648599c0e37594c4809d81a9e77bd138cc82eb8baa71b6a86af65426723ff", size = 4880944 },
+ { url = "https://files.pythonhosted.org/packages/2f/3a/7c3c25789e3f069e581dc342e03613c5b1cb012c4e8c7d9d5cf960a75856/grpcio-1.80.0-cp313-cp313-linux_armv7l.whl", hash = "sha256:e9e408fc016dffd20661f0126c53d8a31c2821b5c13c5d67a0f5ed5de93319ad", size = 6017243 },
+ { url = "https://files.pythonhosted.org/packages/04/19/21a9806eb8240e174fd1ab0cd5b9aa948bb0e05c2f2f55f9d5d7405e6d08/grpcio-1.80.0-cp313-cp313-macosx_11_0_universal2.whl", hash = "sha256:92d787312e613754d4d8b9ca6d3297e69994a7912a32fa38c4c4e01c272974b0", size = 12010840 },
+ { url = "https://files.pythonhosted.org/packages/18/3a/23347d35f76f639e807fb7a36fad3068aed100996849a33809591f26eca6/grpcio-1.80.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:8ac393b58aa16991a2f1144ec578084d544038c12242da3a215966b512904d0f", size = 6567644 },
+ { url = "https://files.pythonhosted.org/packages/ff/40/96e07ecb604a6a67ae6ab151e3e35b132875d98bc68ec65f3e5ab3e781d7/grpcio-1.80.0-cp313-cp313-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:68e5851ac4b9afe07e7f84483803ad167852570d65326b34d54ca560bfa53fb6", size = 7277830 },
+ { url = "https://files.pythonhosted.org/packages/9b/e2/da1506ecea1f34a5e365964644b35edef53803052b763ca214ba3870c856/grpcio-1.80.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:873ff5d17d68992ef6605330127425d2fc4e77e612fa3c3e0ed4e668685e3140", size = 6783216 },
+ { url = "https://files.pythonhosted.org/packages/44/83/3b20ff58d0c3b7f6caaa3af9a4174d4023701df40a3f39f7f1c8e7c48f9d/grpcio-1.80.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:2bea16af2750fd0a899bf1abd9022244418b55d1f37da2202249ba4ba673838d", size = 7385866 },
+ { url = "https://files.pythonhosted.org/packages/47/45/55c507599c5520416de5eefecc927d6a0d7af55e91cfffb2e410607e5744/grpcio-1.80.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:ba0db34f7e1d803a878284cd70e4c63cb6ae2510ba51937bf8f45ba997cefcf7", size = 8391602 },
+ { url = "https://files.pythonhosted.org/packages/10/bb/dd06f4c24c01db9cf11341b547d0a016b2c90ed7dbbb086a5710df7dd1d7/grpcio-1.80.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8eb613f02d34721f1acf3626dfdb3545bd3c8505b0e52bf8b5710a28d02e8aa7", size = 7826752 },
+ { url = "https://files.pythonhosted.org/packages/f9/1e/9d67992ba23371fd63d4527096eb8c6b76d74d52b500df992a3343fd7251/grpcio-1.80.0-cp313-cp313-win32.whl", hash = "sha256:93b6f823810720912fd131f561f91f5fed0fda372b6b7028a2681b8194d5d294", size = 4142310 },
+ { url = "https://files.pythonhosted.org/packages/cf/e6/283326a27da9e2c3038bc93eeea36fb118ce0b2d03922a9cda6688f53c5b/grpcio-1.80.0-cp313-cp313-win_amd64.whl", hash = "sha256:e172cf795a3ba5246d3529e4d34c53db70e888fa582a8ffebd2e6e48bc0cba50", size = 4882833 },
+ { url = "https://files.pythonhosted.org/packages/c5/6d/e65307ce20f5a09244ba9e9d8476e99fb039de7154f37fb85f26978b59c3/grpcio-1.80.0-cp314-cp314-linux_armv7l.whl", hash = "sha256:3d4147a97c8344d065d01bbf8b6acec2cf86fb0400d40696c8bdad34a64ffc0e", size = 6017376 },
+ { url = "https://files.pythonhosted.org/packages/69/10/9cef5d9650c72625a699c549940f0abb3c4bfdb5ed45a5ce431f92f31806/grpcio-1.80.0-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:d8e11f167935b3eb089ac9038e1a063e6d7dbe995c0bb4a661e614583352e76f", size = 12018133 },
+ { url = "https://files.pythonhosted.org/packages/04/82/983aabaad82ba26113caceeb9091706a0696b25da004fe3defb5b346e15b/grpcio-1.80.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f14b618fc30de822681ee986cfdcc2d9327229dc4c98aed16896761cacd468b9", size = 6574748 },
+ { url = "https://files.pythonhosted.org/packages/07/d7/031666ef155aa0bf399ed7e19439656c38bbd143779ae0861b038ce82abd/grpcio-1.80.0-cp314-cp314-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:4ed39fbdcf9b87370f6e8df4e39ca7b38b3e5e9d1b0013c7b6be9639d6578d14", size = 7277711 },
+ { url = "https://files.pythonhosted.org/packages/e8/43/f437a78f7f4f1d311804189e8f11fb311a01049b2e08557c1068d470cb2e/grpcio-1.80.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:2dcc70e9f0ba987526e8e8603a610fb4f460e42899e74e7a518bf3c68fe1bf05", size = 6785372 },
+ { url = "https://files.pythonhosted.org/packages/93/3d/f6558e9c6296cb4227faa5c43c54a34c68d32654b829f53288313d16a86e/grpcio-1.80.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:448c884b668b868562b1bda833c5fce6272d26e1926ec46747cda05741d302c1", size = 7395268 },
+ { url = "https://files.pythonhosted.org/packages/06/21/0fdd77e84720b08843c371a2efa6f2e19dbebf56adc72df73d891f5506f0/grpcio-1.80.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:a1dc80fe55685b4a543555e6eef975303b36c8db1023b1599b094b92aa77965f", size = 8392000 },
+ { url = "https://files.pythonhosted.org/packages/f5/68/67f4947ed55d2e69f2cc199ab9fd85e0a0034d813bbeef84df6d2ba4d4b7/grpcio-1.80.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:31b9ac4ad1aa28ffee5503821fafd09e4da0a261ce1c1281c6c8da0423c83b6e", size = 7828477 },
+ { url = "https://files.pythonhosted.org/packages/44/b6/8d4096691b2e385e8271911a0de4f35f0a6c7d05aff7098e296c3de86939/grpcio-1.80.0-cp314-cp314-win32.whl", hash = "sha256:367ce30ba67d05e0592470428f0ec1c31714cab9ef19b8f2e37be1f4c7d32fae", size = 4218563 },
+ { url = "https://files.pythonhosted.org/packages/e5/8c/bbe6baf2557262834f2070cf668515fa308b2d38a4bbf771f8f7872a7036/grpcio-1.80.0-cp314-cp314-win_amd64.whl", hash = "sha256:3b01e1f5464c583d2f567b2e46ff0d516ef979978f72091fd81f5ab7fa6e2e7f", size = 5019457 },
+]
+
+[[package]]
+name = "grpcio-status"
+version = "1.80.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "googleapis-common-protos" },
+ { name = "grpcio" },
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/b1/ed/105f619bdd00cb47a49aa2feea6232ea2bbb04199d52a22cc6a7d603b5cb/grpcio_status-1.80.0.tar.gz", hash = "sha256:df73802a4c89a3ea88aa2aff971e886fccce162bc2e6511408b3d67a144381cd", size = 13901 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/76/80/58cd2dfc19a07d022abe44bde7c365627f6c7cb6f692ada6c65ca437d09a/grpcio_status-1.80.0-py3-none-any.whl", hash = "sha256:4b56990363af50dbf2c2ebb80f1967185c07d87aa25aa2bea45ddb75fc181dbe", size = 14638 },
+]
+
+[[package]]
+name = "h11"
+version = "0.16.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515 },
+]
+
+[[package]]
+name = "hf-xet"
+version = "1.4.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/53/92/ec9ad04d0b5728dca387a45af7bc98fbb0d73b2118759f5f6038b61a57e8/hf_xet-1.4.3.tar.gz", hash = "sha256:8ddedb73c8c08928c793df2f3401ec26f95be7f7e516a7bee2fbb546f6676113", size = 670477 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/72/43/724d307b34e353da0abd476e02f72f735cdd2bc86082dee1b32ea0bfee1d/hf_xet-1.4.3-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:7551659ba4f1e1074e9623996f28c3873682530aee0a846b7f2f066239228144", size = 3800935 },
+ { url = "https://files.pythonhosted.org/packages/2b/d2/8bee5996b699262edb87dbb54118d287c0e1b2fc78af7cdc41857ba5e3c4/hf_xet-1.4.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:bee693ada985e7045997f05f081d0e12c4c08bd7626dc397f8a7c487e6c04f7f", size = 3558942 },
+ { url = "https://files.pythonhosted.org/packages/c3/a1/e993d09cbe251196fb60812b09a58901c468127b7259d2bf0f68bf6088eb/hf_xet-1.4.3-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:21644b404bb0100fe3857892f752c4d09642586fd988e61501c95bbf44b393a3", size = 4207657 },
+ { url = "https://files.pythonhosted.org/packages/64/44/9eb6d21e5c34c63e5e399803a6932fa983cabdf47c0ecbcfe7ea97684b8c/hf_xet-1.4.3-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:987f09cfe418237812896a6736b81b1af02a3a6dcb4b4944425c4c4fca7a7cf8", size = 3986765 },
+ { url = "https://files.pythonhosted.org/packages/ea/7b/8ad6f16fdb82f5f7284a34b5ec48645bd575bdcd2f6f0d1644775909c486/hf_xet-1.4.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:60cf7fc43a99da0a853345cf86d23738c03983ee5249613a6305d3e57a5dca74", size = 4188162 },
+ { url = "https://files.pythonhosted.org/packages/1b/c4/39d6e136cbeea9ca5a23aad4b33024319222adbdc059ebcda5fc7d9d5ff4/hf_xet-1.4.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:2815a49a7a59f3e2edf0cf113ae88e8cb2ca2a221bf353fb60c609584f4884d4", size = 4424525 },
+ { url = "https://files.pythonhosted.org/packages/46/f2/adc32dae6bdbc367853118b9878139ac869419a4ae7ba07185dc31251b76/hf_xet-1.4.3-cp313-cp313t-win_amd64.whl", hash = "sha256:42ee323265f1e6a81b0e11094564fb7f7e0ec75b5105ffd91ae63f403a11931b", size = 3671610 },
+ { url = "https://files.pythonhosted.org/packages/e2/19/25d897dcc3f81953e0c2cde9ec186c7a0fee413eb0c9a7a9130d87d94d3a/hf_xet-1.4.3-cp313-cp313t-win_arm64.whl", hash = "sha256:27c976ba60079fb8217f485b9c5c7fcd21c90b0367753805f87cb9f3cdc4418a", size = 3528529 },
+ { url = "https://files.pythonhosted.org/packages/ec/36/3e8f85ca9fe09b8de2b2e10c63b3b3353d7dda88a0b3d426dffbe7b8313b/hf_xet-1.4.3-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:5251d5ece3a81815bae9abab41cf7ddb7bcb8f56411bce0827f4a3071c92fdc6", size = 3801019 },
+ { url = "https://files.pythonhosted.org/packages/b5/9c/defb6cb1de28bccb7bd8d95f6e60f72a3d3fa4cb3d0329c26fb9a488bfe7/hf_xet-1.4.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1feb0f3abeacee143367c326a128a2e2b60868ec12a36c225afb1d6c5a05e6d2", size = 3558746 },
+ { url = "https://files.pythonhosted.org/packages/c1/bd/8d001191893178ff8e826e46ad5299446e62b93cd164e17b0ffea08832ec/hf_xet-1.4.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:8b301fc150290ca90b4fccd079829b84bb4786747584ae08b94b4577d82fb791", size = 4207692 },
+ { url = "https://files.pythonhosted.org/packages/ce/48/6790b402803250e9936435613d3a78b9aaeee7973439f0918848dde58309/hf_xet-1.4.3-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:d972fbe95ddc0d3c0fc49b31a8a69f47db35c1e3699bf316421705741aab6653", size = 3986281 },
+ { url = "https://files.pythonhosted.org/packages/51/56/ea62552fe53db652a9099eda600b032d75554d0e86c12a73824bfedef88b/hf_xet-1.4.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c5b48db1ee344a805a1b9bd2cda9b6b65fe77ed3787bd6e87ad5521141d317cd", size = 4187414 },
+ { url = "https://files.pythonhosted.org/packages/7d/f5/bc1456d4638061bea997e6d2db60a1a613d7b200e0755965ec312dc1ef79/hf_xet-1.4.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:22bdc1f5fb8b15bf2831440b91d1c9bbceeb7e10c81a12e8d75889996a5c9da8", size = 4424368 },
+ { url = "https://files.pythonhosted.org/packages/e4/76/ab597bae87e1f06d18d3ecb8ed7f0d3c9a37037fc32ce76233d369273c64/hf_xet-1.4.3-cp314-cp314t-win_amd64.whl", hash = "sha256:0392c79b7cf48418cd61478c1a925246cf10639f4cd9d94368d8ca1e8df9ea07", size = 3672280 },
+ { url = "https://files.pythonhosted.org/packages/62/05/2e462d34e23a09a74d73785dbed71cc5dbad82a72eee2ad60a72a554155d/hf_xet-1.4.3-cp314-cp314t-win_arm64.whl", hash = "sha256:681c92a07796325778a79d76c67011764ecc9042a8c3579332b61b63ae512075", size = 3528945 },
+ { url = "https://files.pythonhosted.org/packages/ac/9f/9c23e4a447b8f83120798f9279d0297a4d1360bdbf59ef49ebec78fe2545/hf_xet-1.4.3-cp37-abi3-macosx_10_12_x86_64.whl", hash = "sha256:d0da85329eaf196e03e90b84c2d0aca53bd4573d097a75f99609e80775f98025", size = 3805048 },
+ { url = "https://files.pythonhosted.org/packages/0b/f8/7aacb8e5f4a7899d39c787b5984e912e6c18b11be136ef13947d7a66d265/hf_xet-1.4.3-cp37-abi3-macosx_11_0_arm64.whl", hash = "sha256:e23717ce4186b265f69afa66e6f0069fe7efbf331546f5c313d00e123dc84583", size = 3562178 },
+ { url = "https://files.pythonhosted.org/packages/df/9a/a24b26dc8a65f0ecc0fe5be981a19e61e7ca963b85e062c083f3a9100529/hf_xet-1.4.3-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:fc360b70c815bf340ed56c7b8c63aacf11762a4b099b2fe2c9bd6d6068668c08", size = 4212320 },
+ { url = "https://files.pythonhosted.org/packages/53/60/46d493db155d2ee2801b71fb1b0fd67696359047fdd8caee2c914cc50c79/hf_xet-1.4.3-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:39f2d2e9654cd9b4319885733993807aab6de9dfbd34c42f0b78338d6617421f", size = 3991546 },
+ { url = "https://files.pythonhosted.org/packages/bc/f5/067363e1c96c6b17256910830d1b54099d06287e10f4ec6ec4e7e08371fc/hf_xet-1.4.3-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:49ad8a8cead2b56051aa84d7fce3e1335efe68df3cf6c058f22a65513885baac", size = 4193200 },
+ { url = "https://files.pythonhosted.org/packages/42/4b/53951592882d9c23080c7644542fda34a3813104e9e11fa1a7d82d419cb8/hf_xet-1.4.3-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:7716d62015477a70ea272d2d68cd7cad140f61c52ee452e133e139abfe2c17ba", size = 4429392 },
+ { url = "https://files.pythonhosted.org/packages/8a/21/75a6c175b4e79662ad8e62f46a40ce341d8d6b206b06b4320d07d55b188c/hf_xet-1.4.3-cp37-abi3-win_amd64.whl", hash = "sha256:6b591fcad34e272a5b02607485e4f2a1334aebf1bc6d16ce8eb1eb8978ac2021", size = 3677359 },
+ { url = "https://files.pythonhosted.org/packages/8a/7c/44314ecd0e89f8b2b51c9d9e5e7a60a9c1c82024ac471d415860557d3cd8/hf_xet-1.4.3-cp37-abi3-win_arm64.whl", hash = "sha256:7c2c7e20bcfcc946dc67187c203463f5e932e395845d098cc2a93f5b67ca0b47", size = 3533664 },
+]
+
+[[package]]
+name = "httpcore"
+version = "1.0.9"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "certifi" },
+ { name = "h11" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784 },
+]
+
+[[package]]
+name = "httplib2"
+version = "0.31.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pyparsing" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/c1/1f/e86365613582c027dda5ddb64e1010e57a3d53e99ab8a72093fa13d565ec/httplib2-0.31.2.tar.gz", hash = "sha256:385e0869d7397484f4eab426197a4c020b606edd43372492337c0b4010ae5d24", size = 250800 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2f/90/fd509079dfcab01102c0fdd87f3a9506894bc70afcf9e9785ef6b2b3aff6/httplib2-0.31.2-py3-none-any.whl", hash = "sha256:dbf0c2fa3862acf3c55c078ea9c0bc4481d7dc5117cae71be9514912cf9f8349", size = 91099 },
+]
+
+[[package]]
+name = "httptools"
+version = "0.7.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/b5/46/120a669232c7bdedb9d52d4aeae7e6c7dfe151e99dc70802e2fc7a5e1993/httptools-0.7.1.tar.gz", hash = "sha256:abd72556974f8e7c74a259655924a717a2365b236c882c3f6f8a45fe94703ac9", size = 258961 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9c/08/17e07e8d89ab8f343c134616d72eebfe03798835058e2ab579dcc8353c06/httptools-0.7.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:474d3b7ab469fefcca3697a10d11a32ee2b9573250206ba1e50d5980910da657", size = 206521 },
+ { url = "https://files.pythonhosted.org/packages/aa/06/c9c1b41ff52f16aee526fd10fbda99fa4787938aa776858ddc4a1ea825ec/httptools-0.7.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a3c3b7366bb6c7b96bd72d0dbe7f7d5eead261361f013be5f6d9590465ea1c70", size = 110375 },
+ { url = "https://files.pythonhosted.org/packages/cc/cc/10935db22fda0ee34c76f047590ca0a8bd9de531406a3ccb10a90e12ea21/httptools-0.7.1-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:379b479408b8747f47f3b253326183d7c009a3936518cdb70db58cffd369d9df", size = 456621 },
+ { url = "https://files.pythonhosted.org/packages/0e/84/875382b10d271b0c11aa5d414b44f92f8dd53e9b658aec338a79164fa548/httptools-0.7.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:cad6b591a682dcc6cf1397c3900527f9affef1e55a06c4547264796bbd17cf5e", size = 454954 },
+ { url = "https://files.pythonhosted.org/packages/30/e1/44f89b280f7e46c0b1b2ccee5737d46b3bb13136383958f20b580a821ca0/httptools-0.7.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:eb844698d11433d2139bbeeb56499102143beb582bd6c194e3ba69c22f25c274", size = 440175 },
+ { url = "https://files.pythonhosted.org/packages/6f/7e/b9287763159e700e335028bc1824359dc736fa9b829dacedace91a39b37e/httptools-0.7.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f65744d7a8bdb4bda5e1fa23e4ba16832860606fcc09d674d56e425e991539ec", size = 440310 },
+ { url = "https://files.pythonhosted.org/packages/b3/07/5b614f592868e07f5c94b1f301b5e14a21df4e8076215a3bccb830a687d8/httptools-0.7.1-cp311-cp311-win_amd64.whl", hash = "sha256:135fbe974b3718eada677229312e97f3b31f8a9c8ffa3ae6f565bf808d5b6bcb", size = 86875 },
+ { url = "https://files.pythonhosted.org/packages/53/7f/403e5d787dc4942316e515e949b0c8a013d84078a915910e9f391ba9b3ed/httptools-0.7.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:38e0c83a2ea9746ebbd643bdfb521b9aa4a91703e2cd705c20443405d2fd16a5", size = 206280 },
+ { url = "https://files.pythonhosted.org/packages/2a/0d/7f3fd28e2ce311ccc998c388dd1c53b18120fda3b70ebb022b135dc9839b/httptools-0.7.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f25bbaf1235e27704f1a7b86cd3304eabc04f569c828101d94a0e605ef7205a5", size = 110004 },
+ { url = "https://files.pythonhosted.org/packages/84/a6/b3965e1e146ef5762870bbe76117876ceba51a201e18cc31f5703e454596/httptools-0.7.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2c15f37ef679ab9ecc06bfc4e6e8628c32a8e4b305459de7cf6785acd57e4d03", size = 517655 },
+ { url = "https://files.pythonhosted.org/packages/11/7d/71fee6f1844e6fa378f2eddde6c3e41ce3a1fb4b2d81118dd544e3441ec0/httptools-0.7.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7fe6e96090df46b36ccfaf746f03034e5ab723162bc51b0a4cf58305324036f2", size = 511440 },
+ { url = "https://files.pythonhosted.org/packages/22/a5/079d216712a4f3ffa24af4a0381b108aa9c45b7a5cc6eb141f81726b1823/httptools-0.7.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:f72fdbae2dbc6e68b8239defb48e6a5937b12218e6ffc2c7846cc37befa84362", size = 495186 },
+ { url = "https://files.pythonhosted.org/packages/e9/9e/025ad7b65278745dee3bd0ebf9314934c4592560878308a6121f7f812084/httptools-0.7.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e99c7b90a29fd82fea9ef57943d501a16f3404d7b9ee81799d41639bdaae412c", size = 499192 },
+ { url = "https://files.pythonhosted.org/packages/6d/de/40a8f202b987d43afc4d54689600ff03ce65680ede2f31df348d7f368b8f/httptools-0.7.1-cp312-cp312-win_amd64.whl", hash = "sha256:3e14f530fefa7499334a79b0cf7e7cd2992870eb893526fb097d51b4f2d0f321", size = 86694 },
+ { url = "https://files.pythonhosted.org/packages/09/8f/c77b1fcbfd262d422f12da02feb0d218fa228d52485b77b953832105bb90/httptools-0.7.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:6babce6cfa2a99545c60bfef8bee0cc0545413cb0018f617c8059a30ad985de3", size = 202889 },
+ { url = "https://files.pythonhosted.org/packages/0a/1a/22887f53602feaa066354867bc49a68fc295c2293433177ee90870a7d517/httptools-0.7.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:601b7628de7504077dd3dcb3791c6b8694bbd967148a6d1f01806509254fb1ca", size = 108180 },
+ { url = "https://files.pythonhosted.org/packages/32/6a/6aaa91937f0010d288d3d124ca2946d48d60c3a5ee7ca62afe870e3ea011/httptools-0.7.1-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:04c6c0e6c5fb0739c5b8a9eb046d298650a0ff38cf42537fc372b28dc7e4472c", size = 478596 },
+ { url = "https://files.pythonhosted.org/packages/6d/70/023d7ce117993107be88d2cbca566a7c1323ccbaf0af7eabf2064fe356f6/httptools-0.7.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:69d4f9705c405ae3ee83d6a12283dc9feba8cc6aaec671b412917e644ab4fa66", size = 473268 },
+ { url = "https://files.pythonhosted.org/packages/32/4d/9dd616c38da088e3f436e9a616e1d0cc66544b8cdac405cc4e81c8679fc7/httptools-0.7.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:44c8f4347d4b31269c8a9205d8a5ee2df5322b09bbbd30f8f862185bb6b05346", size = 455517 },
+ { url = "https://files.pythonhosted.org/packages/1d/3a/a6c595c310b7df958e739aae88724e24f9246a514d909547778d776799be/httptools-0.7.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:465275d76db4d554918aba40bf1cbebe324670f3dfc979eaffaa5d108e2ed650", size = 458337 },
+ { url = "https://files.pythonhosted.org/packages/fd/82/88e8d6d2c51edc1cc391b6e044c6c435b6aebe97b1abc33db1b0b24cd582/httptools-0.7.1-cp313-cp313-win_amd64.whl", hash = "sha256:322d00c2068d125bd570f7bf78b2d367dad02b919d8581d7476d8b75b294e3e6", size = 85743 },
+ { url = "https://files.pythonhosted.org/packages/34/50/9d095fcbb6de2d523e027a2f304d4551855c2f46e0b82befd718b8b20056/httptools-0.7.1-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:c08fe65728b8d70b6923ce31e3956f859d5e1e8548e6f22ec520a962c6757270", size = 203619 },
+ { url = "https://files.pythonhosted.org/packages/07/f0/89720dc5139ae54b03f861b5e2c55a37dba9a5da7d51e1e824a1f343627f/httptools-0.7.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:7aea2e3c3953521c3c51106ee11487a910d45586e351202474d45472db7d72d3", size = 108714 },
+ { url = "https://files.pythonhosted.org/packages/b3/cb/eea88506f191fb552c11787c23f9a405f4c7b0c5799bf73f2249cd4f5228/httptools-0.7.1-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:0e68b8582f4ea9166be62926077a3334064d422cf08ab87d8b74664f8e9058e1", size = 472909 },
+ { url = "https://files.pythonhosted.org/packages/e0/4a/a548bdfae6369c0d078bab5769f7b66f17f1bfaa6fa28f81d6be6959066b/httptools-0.7.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:df091cf961a3be783d6aebae963cc9b71e00d57fa6f149025075217bc6a55a7b", size = 470831 },
+ { url = "https://files.pythonhosted.org/packages/4d/31/14df99e1c43bd132eec921c2e7e11cda7852f65619bc0fc5bdc2d0cb126c/httptools-0.7.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:f084813239e1eb403ddacd06a30de3d3e09a9b76e7894dcda2b22f8a726e9c60", size = 452631 },
+ { url = "https://files.pythonhosted.org/packages/22/d2/b7e131f7be8d854d48cb6d048113c30f9a46dca0c9a8b08fcb3fcd588cdc/httptools-0.7.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:7347714368fb2b335e9063bc2b96f2f87a9ceffcd9758ac295f8bbcd3ffbc0ca", size = 452910 },
+ { url = "https://files.pythonhosted.org/packages/53/cf/878f3b91e4e6e011eff6d1fa9ca39f7eb17d19c9d7971b04873734112f30/httptools-0.7.1-cp314-cp314-win_amd64.whl", hash = "sha256:cfabda2a5bb85aa2a904ce06d974a3f30fb36cc63d7feaddec05d2050acede96", size = 88205 },
+]
+
+[[package]]
+name = "httpx"
+version = "0.28.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "certifi" },
+ { name = "httpcore" },
+ { name = "idna" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517 },
+]
+
+[[package]]
+name = "httpx-sse"
+version = "0.4.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/0f/4c/751061ffa58615a32c31b2d82e8482be8dd4a89154f003147acee90f2be9/httpx_sse-0.4.3.tar.gz", hash = "sha256:9b1ed0127459a66014aec3c56bebd93da3c1bc8bb6618c8082039a44889a755d", size = 15943 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d2/fd/6668e5aec43ab844de6fc74927e155a3b37bf40d7c3790e49fc0406b6578/httpx_sse-0.4.3-py3-none-any.whl", hash = "sha256:0ac1c9fe3c0afad2e0ebb25a934a59f4c7823b60792691f779fad2c5568830fc", size = 8960 },
+]
+
+[[package]]
+name = "huggingface-hub"
+version = "1.10.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "filelock" },
+ { name = "fsspec" },
+ { name = "hf-xet", marker = "platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'" },
+ { name = "httpx" },
+ { name = "packaging" },
+ { name = "pyyaml" },
+ { name = "tqdm" },
+ { name = "typer" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/e4/28/baf5d745559503ce8d28cf5bc9551f5ac59158eafd7b6a6afff0bcdb0f50/huggingface_hub-1.10.1.tar.gz", hash = "sha256:696c53cf9c2ac9befbfb5dd41d05392a031c69fc6930d1ed9671debd405b6fff", size = 758094 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/83/8c/c7a33f3efaa8d6a5bc40e012e5ecc2d72c2e6124550ca9085fe0ceed9993/huggingface_hub-1.10.1-py3-none-any.whl", hash = "sha256:6b981107a62fbe68c74374418983399c632e35786dcd14642a9f2972633c8b5a", size = 642630 },
+]
+
+[[package]]
+name = "idna"
+version = "3.11"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/6f/6d/0703ccc57f3a7233505399edb88de3cbd678da106337b9fcde432b65ed60/idna-3.11.tar.gz", hash = "sha256:795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902", size = 194582 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea", size = 71008 },
+]
+
+[[package]]
+name = "imageio"
+version = "2.37.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "numpy" },
+ { name = "pillow" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/b1/84/93bcd1300216ea50811cee96873b84a1bebf8d0489ffaf7f2a3756bab866/imageio-2.37.3.tar.gz", hash = "sha256:bbb37efbfc4c400fcd534b367b91fcd66d5da639aaa138034431a1c5e0a41451", size = 389673 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/49/fa/391e437a34e55095173dca5f24070d89cbc233ff85bf1c29c93248c6588d/imageio-2.37.3-py3-none-any.whl", hash = "sha256:46f5bb8522cd421c0f5ae104d8268f569d856b29eb1a13b92829d1970f32c9f0", size = 317646 },
+]
+
+[[package]]
+name = "imageio-ffmpeg"
+version = "0.6.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/44/bd/c3343c721f2a1b0c9fc71c1aebf1966a3b7f08c2eea8ed5437a2865611d6/imageio_ffmpeg-0.6.0.tar.gz", hash = "sha256:e2556bed8e005564a9f925bb7afa4002d82770d6b08825078b7697ab88ba1755", size = 25210 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/da/58/87ef68ac83f4c7690961bce288fd8e382bc5f1513860fc7f90a9c1c1c6bf/imageio_ffmpeg-0.6.0-py3-none-macosx_10_9_intel.macosx_10_9_x86_64.whl", hash = "sha256:9d2baaf867088508d4a3458e61eeb30e945c4ad8016025545f66c4b5aaef0a61", size = 24932969 },
+ { url = "https://files.pythonhosted.org/packages/40/5c/f3d8a657d362cc93b81aab8feda487317da5b5d31c0e1fdfd5e986e55d17/imageio_ffmpeg-0.6.0-py3-none-macosx_11_0_arm64.whl", hash = "sha256:b1ae3173414b5fc5f538a726c4e48ea97edc0d2cdc11f103afee655c463fa742", size = 21113891 },
+ { url = "https://files.pythonhosted.org/packages/33/e7/1925bfbc563c39c1d2e82501d8372734a5c725e53ac3b31b4c2d081e895b/imageio_ffmpeg-0.6.0-py3-none-manylinux2014_aarch64.whl", hash = "sha256:1d47bebd83d2c5fc770720d211855f208af8a596c82d17730aa51e815cdee6dc", size = 25632706 },
+ { url = "https://files.pythonhosted.org/packages/a0/2d/43c8522a2038e9d0e7dbdf3a61195ecc31ca576fb1527a528c877e87d973/imageio_ffmpeg-0.6.0-py3-none-manylinux2014_x86_64.whl", hash = "sha256:c7e46fcec401dd990405049d2e2f475e2b397779df2519b544b8aab515195282", size = 29498237 },
+ { url = "https://files.pythonhosted.org/packages/a0/13/59da54728351883c3c1d9fca1710ab8eee82c7beba585df8f25ca925f08f/imageio_ffmpeg-0.6.0-py3-none-win32.whl", hash = "sha256:196faa79366b4a82f95c0f4053191d2013f4714a715780f0ad2a68ff37483cc2", size = 19652251 },
+ { url = "https://files.pythonhosted.org/packages/2c/c6/fa760e12a2483469e2bf5058c5faff664acf66cadb4df2ad6205b016a73d/imageio_ffmpeg-0.6.0-py3-none-win_amd64.whl", hash = "sha256:02fa47c83703c37df6bfe4896aab339013f62bf02c5ebf2dce6da56af04ffc0a", size = 31246824 },
+]
+
+[[package]]
+name = "importlib-metadata"
+version = "8.7.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "zipp" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/f3/49/3b30cad09e7771a4982d9975a8cbf64f00d4a1ececb53297f1d9a7be1b10/importlib_metadata-8.7.1.tar.gz", hash = "sha256:49fef1ae6440c182052f407c8d34a68f72efc36db9ca90dc0113398f2fdde8bb", size = 57107 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fa/5e/f8e9a1d23b9c20a551a8a02ea3637b4642e22c2626e3a13a9a29cdea99eb/importlib_metadata-8.7.1-py3-none-any.whl", hash = "sha256:5a1f80bf1daa489495071efbb095d75a634cf28a8bc299581244063b53176151", size = 27865 },
+]
+
+[[package]]
+name = "iniconfig"
+version = "2.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484 },
+]
+
+[[package]]
+name = "jsonschema"
+version = "4.26.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "attrs" },
+ { name = "jsonschema-specifications" },
+ { name = "referencing" },
+ { name = "rpds-py" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/b3/fc/e067678238fa451312d4c62bf6e6cf5ec56375422aee02f9cb5f909b3047/jsonschema-4.26.0.tar.gz", hash = "sha256:0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326", size = 366583 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/69/90/f63fb5873511e014207a475e2bb4e8b2e570d655b00ac19a9a0ca0a385ee/jsonschema-4.26.0-py3-none-any.whl", hash = "sha256:d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce", size = 90630 },
+]
+
+[[package]]
+name = "jsonschema-specifications"
+version = "2025.9.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "referencing" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/19/74/a633ee74eb36c44aa6d1095e7cc5569bebf04342ee146178e2d36600708b/jsonschema_specifications-2025.9.1.tar.gz", hash = "sha256:b540987f239e745613c7a9176f3edb72b832a4ac465cf02712288397832b5e8d", size = 32855 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/41/45/1a4ed80516f02155c51f51e8cedb3c1902296743db0bbc66608a0db2814f/jsonschema_specifications-2025.9.1-py3-none-any.whl", hash = "sha256:98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe", size = 18437 },
+]
+
+[[package]]
+name = "mako"
+version = "1.3.10"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "markupsafe" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/9e/38/bd5b78a920a64d708fe6bc8e0a2c075e1389d53bef8413725c63ba041535/mako-1.3.10.tar.gz", hash = "sha256:99579a6f39583fa7e5630a28c3c1f440e4e97a414b80372649c0ce338da2ea28", size = 392474 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/87/fb/99f81ac72ae23375f22b7afdb7642aba97c00a713c217124420147681a2f/mako-1.3.10-py3-none-any.whl", hash = "sha256:baef24a52fc4fc514a0887ac600f9f1cff3d82c61d4d700a1fa84d597b88db59", size = 78509 },
+]
+
+[[package]]
+name = "markdown-it-py"
+version = "4.0.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "mdurl" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/5b/f5/4ec618ed16cc4f8fb3b701563655a69816155e79e24a17b651541804721d/markdown_it_py-4.0.0.tar.gz", hash = "sha256:cb0a2b4aa34f932c007117b194e945bd74e0ec24133ceb5bac59009cda1cb9f3", size = 73070 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/94/54/e7d793b573f298e1c9013b8c4dade17d481164aa517d1d7148619c2cedbf/markdown_it_py-4.0.0-py3-none-any.whl", hash = "sha256:87327c59b172c5011896038353a81343b6754500a08cd7a4973bb48c6d578147", size = 87321 },
+]
+
+[[package]]
+name = "markupsafe"
+version = "3.0.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/7e/99/7690b6d4034fffd95959cbe0c02de8deb3098cc577c67bb6a24fe5d7caa7/markupsafe-3.0.3.tar.gz", hash = "sha256:722695808f4b6457b320fdc131280796bdceb04ab50fe1795cd540799ebe1698", size = 80313 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/08/db/fefacb2136439fc8dd20e797950e749aa1f4997ed584c62cfb8ef7c2be0e/markupsafe-3.0.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:1cc7ea17a6824959616c525620e387f6dd30fec8cb44f649e31712db02123dad", size = 11631 },
+ { url = "https://files.pythonhosted.org/packages/e1/2e/5898933336b61975ce9dc04decbc0a7f2fee78c30353c5efba7f2d6ff27a/markupsafe-3.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4bd4cd07944443f5a265608cc6aab442e4f74dff8088b0dfc8238647b8f6ae9a", size = 12058 },
+ { url = "https://files.pythonhosted.org/packages/1d/09/adf2df3699d87d1d8184038df46a9c80d78c0148492323f4693df54e17bb/markupsafe-3.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6b5420a1d9450023228968e7e6a9ce57f65d148ab56d2313fcd589eee96a7a50", size = 24287 },
+ { url = "https://files.pythonhosted.org/packages/30/ac/0273f6fcb5f42e314c6d8cd99effae6a5354604d461b8d392b5ec9530a54/markupsafe-3.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0bf2a864d67e76e5c9a34dc26ec616a66b9888e25e7b9460e1c76d3293bd9dbf", size = 22940 },
+ { url = "https://files.pythonhosted.org/packages/19/ae/31c1be199ef767124c042c6c3e904da327a2f7f0cd63a0337e1eca2967a8/markupsafe-3.0.3-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:bc51efed119bc9cfdf792cdeaa4d67e8f6fcccab66ed4bfdd6bde3e59bfcbb2f", size = 21887 },
+ { url = "https://files.pythonhosted.org/packages/b2/76/7edcab99d5349a4532a459e1fe64f0b0467a3365056ae550d3bcf3f79e1e/markupsafe-3.0.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:068f375c472b3e7acbe2d5318dea141359e6900156b5b2ba06a30b169086b91a", size = 23692 },
+ { url = "https://files.pythonhosted.org/packages/a4/28/6e74cdd26d7514849143d69f0bf2399f929c37dc2b31e6829fd2045b2765/markupsafe-3.0.3-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:7be7b61bb172e1ed687f1754f8e7484f1c8019780f6f6b0786e76bb01c2ae115", size = 21471 },
+ { url = "https://files.pythonhosted.org/packages/62/7e/a145f36a5c2945673e590850a6f8014318d5577ed7e5920a4b3448e0865d/markupsafe-3.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f9e130248f4462aaa8e2552d547f36ddadbeaa573879158d721bbd33dfe4743a", size = 22923 },
+ { url = "https://files.pythonhosted.org/packages/0f/62/d9c46a7f5c9adbeeeda52f5b8d802e1094e9717705a645efc71b0913a0a8/markupsafe-3.0.3-cp311-cp311-win32.whl", hash = "sha256:0db14f5dafddbb6d9208827849fad01f1a2609380add406671a26386cdf15a19", size = 14572 },
+ { url = "https://files.pythonhosted.org/packages/83/8a/4414c03d3f891739326e1783338e48fb49781cc915b2e0ee052aa490d586/markupsafe-3.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:de8a88e63464af587c950061a5e6a67d3632e36df62b986892331d4620a35c01", size = 15077 },
+ { url = "https://files.pythonhosted.org/packages/35/73/893072b42e6862f319b5207adc9ae06070f095b358655f077f69a35601f0/markupsafe-3.0.3-cp311-cp311-win_arm64.whl", hash = "sha256:3b562dd9e9ea93f13d53989d23a7e775fdfd1066c33494ff43f5418bc8c58a5c", size = 13876 },
+ { url = "https://files.pythonhosted.org/packages/5a/72/147da192e38635ada20e0a2e1a51cf8823d2119ce8883f7053879c2199b5/markupsafe-3.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:d53197da72cc091b024dd97249dfc7794d6a56530370992a5e1a08983ad9230e", size = 11615 },
+ { url = "https://files.pythonhosted.org/packages/9a/81/7e4e08678a1f98521201c3079f77db69fb552acd56067661f8c2f534a718/markupsafe-3.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:1872df69a4de6aead3491198eaf13810b565bdbeec3ae2dc8780f14458ec73ce", size = 12020 },
+ { url = "https://files.pythonhosted.org/packages/1e/2c/799f4742efc39633a1b54a92eec4082e4f815314869865d876824c257c1e/markupsafe-3.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3a7e8ae81ae39e62a41ec302f972ba6ae23a5c5396c8e60113e9066ef893da0d", size = 24332 },
+ { url = "https://files.pythonhosted.org/packages/3c/2e/8d0c2ab90a8c1d9a24f0399058ab8519a3279d1bd4289511d74e909f060e/markupsafe-3.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d6dd0be5b5b189d31db7cda48b91d7e0a9795f31430b7f271219ab30f1d3ac9d", size = 22947 },
+ { url = "https://files.pythonhosted.org/packages/2c/54/887f3092a85238093a0b2154bd629c89444f395618842e8b0c41783898ea/markupsafe-3.0.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:94c6f0bb423f739146aec64595853541634bde58b2135f27f61c1ffd1cd4d16a", size = 21962 },
+ { url = "https://files.pythonhosted.org/packages/c9/2f/336b8c7b6f4a4d95e91119dc8521402461b74a485558d8f238a68312f11c/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:be8813b57049a7dc738189df53d69395eba14fb99345e0a5994914a3864c8a4b", size = 23760 },
+ { url = "https://files.pythonhosted.org/packages/32/43/67935f2b7e4982ffb50a4d169b724d74b62a3964bc1a9a527f5ac4f1ee2b/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:83891d0e9fb81a825d9a6d61e3f07550ca70a076484292a70fde82c4b807286f", size = 21529 },
+ { url = "https://files.pythonhosted.org/packages/89/e0/4486f11e51bbba8b0c041098859e869e304d1c261e59244baa3d295d47b7/markupsafe-3.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:77f0643abe7495da77fb436f50f8dab76dbc6e5fd25d39589a0f1fe6548bfa2b", size = 23015 },
+ { url = "https://files.pythonhosted.org/packages/2f/e1/78ee7a023dac597a5825441ebd17170785a9dab23de95d2c7508ade94e0e/markupsafe-3.0.3-cp312-cp312-win32.whl", hash = "sha256:d88b440e37a16e651bda4c7c2b930eb586fd15ca7406cb39e211fcff3bf3017d", size = 14540 },
+ { url = "https://files.pythonhosted.org/packages/aa/5b/bec5aa9bbbb2c946ca2733ef9c4ca91c91b6a24580193e891b5f7dbe8e1e/markupsafe-3.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:26a5784ded40c9e318cfc2bdb30fe164bdb8665ded9cd64d500a34fb42067b1c", size = 15105 },
+ { url = "https://files.pythonhosted.org/packages/e5/f1/216fc1bbfd74011693a4fd837e7026152e89c4bcf3e77b6692fba9923123/markupsafe-3.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:35add3b638a5d900e807944a078b51922212fb3dedb01633a8defc4b01a3c85f", size = 13906 },
+ { url = "https://files.pythonhosted.org/packages/38/2f/907b9c7bbba283e68f20259574b13d005c121a0fa4c175f9bed27c4597ff/markupsafe-3.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e1cf1972137e83c5d4c136c43ced9ac51d0e124706ee1c8aa8532c1287fa8795", size = 11622 },
+ { url = "https://files.pythonhosted.org/packages/9c/d9/5f7756922cdd676869eca1c4e3c0cd0df60ed30199ffd775e319089cb3ed/markupsafe-3.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:116bb52f642a37c115f517494ea5feb03889e04df47eeff5b130b1808ce7c219", size = 12029 },
+ { url = "https://files.pythonhosted.org/packages/00/07/575a68c754943058c78f30db02ee03a64b3c638586fba6a6dd56830b30a3/markupsafe-3.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:133a43e73a802c5562be9bbcd03d090aa5a1fe899db609c29e8c8d815c5f6de6", size = 24374 },
+ { url = "https://files.pythonhosted.org/packages/a9/21/9b05698b46f218fc0e118e1f8168395c65c8a2c750ae2bab54fc4bd4e0e8/markupsafe-3.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ccfcd093f13f0f0b7fdd0f198b90053bf7b2f02a3927a30e63f3ccc9df56b676", size = 22980 },
+ { url = "https://files.pythonhosted.org/packages/7f/71/544260864f893f18b6827315b988c146b559391e6e7e8f7252839b1b846a/markupsafe-3.0.3-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:509fa21c6deb7a7a273d629cf5ec029bc209d1a51178615ddf718f5918992ab9", size = 21990 },
+ { url = "https://files.pythonhosted.org/packages/c2/28/b50fc2f74d1ad761af2f5dcce7492648b983d00a65b8c0e0cb457c82ebbe/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:a4afe79fb3de0b7097d81da19090f4df4f8d3a2b3adaa8764138aac2e44f3af1", size = 23784 },
+ { url = "https://files.pythonhosted.org/packages/ed/76/104b2aa106a208da8b17a2fb72e033a5a9d7073c68f7e508b94916ed47a9/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:795e7751525cae078558e679d646ae45574b47ed6e7771863fcc079a6171a0fc", size = 21588 },
+ { url = "https://files.pythonhosted.org/packages/b5/99/16a5eb2d140087ebd97180d95249b00a03aa87e29cc224056274f2e45fd6/markupsafe-3.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:8485f406a96febb5140bfeca44a73e3ce5116b2501ac54fe953e488fb1d03b12", size = 23041 },
+ { url = "https://files.pythonhosted.org/packages/19/bc/e7140ed90c5d61d77cea142eed9f9c303f4c4806f60a1044c13e3f1471d0/markupsafe-3.0.3-cp313-cp313-win32.whl", hash = "sha256:bdd37121970bfd8be76c5fb069c7751683bdf373db1ed6c010162b2a130248ed", size = 14543 },
+ { url = "https://files.pythonhosted.org/packages/05/73/c4abe620b841b6b791f2edc248f556900667a5a1cf023a6646967ae98335/markupsafe-3.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:9a1abfdc021a164803f4d485104931fb8f8c1efd55bc6b748d2f5774e78b62c5", size = 15113 },
+ { url = "https://files.pythonhosted.org/packages/f0/3a/fa34a0f7cfef23cf9500d68cb7c32dd64ffd58a12b09225fb03dd37d5b80/markupsafe-3.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:7e68f88e5b8799aa49c85cd116c932a1ac15caaa3f5db09087854d218359e485", size = 13911 },
+ { url = "https://files.pythonhosted.org/packages/e4/d7/e05cd7efe43a88a17a37b3ae96e79a19e846f3f456fe79c57ca61356ef01/markupsafe-3.0.3-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:218551f6df4868a8d527e3062d0fb968682fe92054e89978594c28e642c43a73", size = 11658 },
+ { url = "https://files.pythonhosted.org/packages/99/9e/e412117548182ce2148bdeacdda3bb494260c0b0184360fe0d56389b523b/markupsafe-3.0.3-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:3524b778fe5cfb3452a09d31e7b5adefeea8c5be1d43c4f810ba09f2ceb29d37", size = 12066 },
+ { url = "https://files.pythonhosted.org/packages/bc/e6/fa0ffcda717ef64a5108eaa7b4f5ed28d56122c9a6d70ab8b72f9f715c80/markupsafe-3.0.3-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4e885a3d1efa2eadc93c894a21770e4bc67899e3543680313b09f139e149ab19", size = 25639 },
+ { url = "https://files.pythonhosted.org/packages/96/ec/2102e881fe9d25fc16cb4b25d5f5cde50970967ffa5dddafdb771237062d/markupsafe-3.0.3-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8709b08f4a89aa7586de0aadc8da56180242ee0ada3999749b183aa23df95025", size = 23569 },
+ { url = "https://files.pythonhosted.org/packages/4b/30/6f2fce1f1f205fc9323255b216ca8a235b15860c34b6798f810f05828e32/markupsafe-3.0.3-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:b8512a91625c9b3da6f127803b166b629725e68af71f8184ae7e7d54686a56d6", size = 23284 },
+ { url = "https://files.pythonhosted.org/packages/58/47/4a0ccea4ab9f5dcb6f79c0236d954acb382202721e704223a8aafa38b5c8/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:9b79b7a16f7fedff2495d684f2b59b0457c3b493778c9eed31111be64d58279f", size = 24801 },
+ { url = "https://files.pythonhosted.org/packages/6a/70/3780e9b72180b6fecb83a4814d84c3bf4b4ae4bf0b19c27196104149734c/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:12c63dfb4a98206f045aa9563db46507995f7ef6d83b2f68eda65c307c6829eb", size = 22769 },
+ { url = "https://files.pythonhosted.org/packages/98/c5/c03c7f4125180fc215220c035beac6b9cb684bc7a067c84fc69414d315f5/markupsafe-3.0.3-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:8f71bc33915be5186016f675cd83a1e08523649b0e33efdb898db577ef5bb009", size = 23642 },
+ { url = "https://files.pythonhosted.org/packages/80/d6/2d1b89f6ca4bff1036499b1e29a1d02d282259f3681540e16563f27ebc23/markupsafe-3.0.3-cp313-cp313t-win32.whl", hash = "sha256:69c0b73548bc525c8cb9a251cddf1931d1db4d2258e9599c28c07ef3580ef354", size = 14612 },
+ { url = "https://files.pythonhosted.org/packages/2b/98/e48a4bfba0a0ffcf9925fe2d69240bfaa19c6f7507b8cd09c70684a53c1e/markupsafe-3.0.3-cp313-cp313t-win_amd64.whl", hash = "sha256:1b4b79e8ebf6b55351f0d91fe80f893b4743f104bff22e90697db1590e47a218", size = 15200 },
+ { url = "https://files.pythonhosted.org/packages/0e/72/e3cc540f351f316e9ed0f092757459afbc595824ca724cbc5a5d4263713f/markupsafe-3.0.3-cp313-cp313t-win_arm64.whl", hash = "sha256:ad2cf8aa28b8c020ab2fc8287b0f823d0a7d8630784c31e9ee5edea20f406287", size = 13973 },
+ { url = "https://files.pythonhosted.org/packages/33/8a/8e42d4838cd89b7dde187011e97fe6c3af66d8c044997d2183fbd6d31352/markupsafe-3.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:eaa9599de571d72e2daf60164784109f19978b327a3910d3e9de8c97b5b70cfe", size = 11619 },
+ { url = "https://files.pythonhosted.org/packages/b5/64/7660f8a4a8e53c924d0fa05dc3a55c9cee10bbd82b11c5afb27d44b096ce/markupsafe-3.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c47a551199eb8eb2121d4f0f15ae0f923d31350ab9280078d1e5f12b249e0026", size = 12029 },
+ { url = "https://files.pythonhosted.org/packages/da/ef/e648bfd021127bef5fa12e1720ffed0c6cbb8310c8d9bea7266337ff06de/markupsafe-3.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f34c41761022dd093b4b6896d4810782ffbabe30f2d443ff5f083e0cbbb8c737", size = 24408 },
+ { url = "https://files.pythonhosted.org/packages/41/3c/a36c2450754618e62008bf7435ccb0f88053e07592e6028a34776213d877/markupsafe-3.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:457a69a9577064c05a97c41f4e65148652db078a3a509039e64d3467b9e7ef97", size = 23005 },
+ { url = "https://files.pythonhosted.org/packages/bc/20/b7fdf89a8456b099837cd1dc21974632a02a999ec9bf7ca3e490aacd98e7/markupsafe-3.0.3-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:e8afc3f2ccfa24215f8cb28dcf43f0113ac3c37c2f0f0806d8c70e4228c5cf4d", size = 22048 },
+ { url = "https://files.pythonhosted.org/packages/9a/a7/591f592afdc734f47db08a75793a55d7fbcc6902a723ae4cfbab61010cc5/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:ec15a59cf5af7be74194f7ab02d0f59a62bdcf1a537677ce67a2537c9b87fcda", size = 23821 },
+ { url = "https://files.pythonhosted.org/packages/7d/33/45b24e4f44195b26521bc6f1a82197118f74df348556594bd2262bda1038/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:0eb9ff8191e8498cca014656ae6b8d61f39da5f95b488805da4bb029cccbfbaf", size = 21606 },
+ { url = "https://files.pythonhosted.org/packages/ff/0e/53dfaca23a69fbfbbf17a4b64072090e70717344c52eaaaa9c5ddff1e5f0/markupsafe-3.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:2713baf880df847f2bece4230d4d094280f4e67b1e813eec43b4c0e144a34ffe", size = 23043 },
+ { url = "https://files.pythonhosted.org/packages/46/11/f333a06fc16236d5238bfe74daccbca41459dcd8d1fa952e8fbd5dccfb70/markupsafe-3.0.3-cp314-cp314-win32.whl", hash = "sha256:729586769a26dbceff69f7a7dbbf59ab6572b99d94576a5592625d5b411576b9", size = 14747 },
+ { url = "https://files.pythonhosted.org/packages/28/52/182836104b33b444e400b14f797212f720cbc9ed6ba34c800639d154e821/markupsafe-3.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:bdc919ead48f234740ad807933cdf545180bfbe9342c2bb451556db2ed958581", size = 15341 },
+ { url = "https://files.pythonhosted.org/packages/6f/18/acf23e91bd94fd7b3031558b1f013adfa21a8e407a3fdb32745538730382/markupsafe-3.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:5a7d5dc5140555cf21a6fefbdbf8723f06fcd2f63ef108f2854de715e4422cb4", size = 14073 },
+ { url = "https://files.pythonhosted.org/packages/3c/f0/57689aa4076e1b43b15fdfa646b04653969d50cf30c32a102762be2485da/markupsafe-3.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:1353ef0c1b138e1907ae78e2f6c63ff67501122006b0f9abad68fda5f4ffc6ab", size = 11661 },
+ { url = "https://files.pythonhosted.org/packages/89/c3/2e67a7ca217c6912985ec766c6393b636fb0c2344443ff9d91404dc4c79f/markupsafe-3.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:1085e7fbddd3be5f89cc898938f42c0b3c711fdcb37d75221de2666af647c175", size = 12069 },
+ { url = "https://files.pythonhosted.org/packages/f0/00/be561dce4e6ca66b15276e184ce4b8aec61fe83662cce2f7d72bd3249d28/markupsafe-3.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1b52b4fb9df4eb9ae465f8d0c228a00624de2334f216f178a995ccdcf82c4634", size = 25670 },
+ { url = "https://files.pythonhosted.org/packages/50/09/c419f6f5a92e5fadde27efd190eca90f05e1261b10dbd8cbcb39cd8ea1dc/markupsafe-3.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fed51ac40f757d41b7c48425901843666a6677e3e8eb0abcff09e4ba6e664f50", size = 23598 },
+ { url = "https://files.pythonhosted.org/packages/22/44/a0681611106e0b2921b3033fc19bc53323e0b50bc70cffdd19f7d679bb66/markupsafe-3.0.3-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f190daf01f13c72eac4efd5c430a8de82489d9cff23c364c3ea822545032993e", size = 23261 },
+ { url = "https://files.pythonhosted.org/packages/5f/57/1b0b3f100259dc9fffe780cfb60d4be71375510e435efec3d116b6436d43/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e56b7d45a839a697b5eb268c82a71bd8c7f6c94d6fd50c3d577fa39a9f1409f5", size = 24835 },
+ { url = "https://files.pythonhosted.org/packages/26/6a/4bf6d0c97c4920f1597cc14dd720705eca0bf7c787aebc6bb4d1bead5388/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:f3e98bb3798ead92273dc0e5fd0f31ade220f59a266ffd8a4f6065e0a3ce0523", size = 22733 },
+ { url = "https://files.pythonhosted.org/packages/14/c7/ca723101509b518797fedc2fdf79ba57f886b4aca8a7d31857ba3ee8281f/markupsafe-3.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5678211cb9333a6468fb8d8be0305520aa073f50d17f089b5b4b477ea6e67fdc", size = 23672 },
+ { url = "https://files.pythonhosted.org/packages/fb/df/5bd7a48c256faecd1d36edc13133e51397e41b73bb77e1a69deab746ebac/markupsafe-3.0.3-cp314-cp314t-win32.whl", hash = "sha256:915c04ba3851909ce68ccc2b8e2cd691618c4dc4c4232fb7982bca3f41fd8c3d", size = 14819 },
+ { url = "https://files.pythonhosted.org/packages/1a/8a/0402ba61a2f16038b48b39bccca271134be00c5c9f0f623208399333c448/markupsafe-3.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4faffd047e07c38848ce017e8725090413cd80cbc23d86e55c587bf979e579c9", size = 15426 },
+ { url = "https://files.pythonhosted.org/packages/70/bc/6f1c2f612465f5fa89b95bead1f44dcb607670fd42891d8fdcd5d039f4f4/markupsafe-3.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:32001d6a8fc98c8cb5c947787c5d08b0a50663d139f1305bac5885d98d9b40fa", size = 14146 },
+]
+
+[[package]]
+name = "mcp"
+version = "1.27.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "httpx" },
+ { name = "httpx-sse" },
+ { name = "jsonschema" },
+ { name = "pydantic" },
+ { name = "pydantic-settings" },
+ { name = "pyjwt", extra = ["crypto"] },
+ { name = "python-multipart" },
+ { name = "pywin32", marker = "sys_platform == 'win32'" },
+ { name = "sse-starlette" },
+ { name = "starlette" },
+ { name = "typing-extensions" },
+ { name = "typing-inspection" },
+ { name = "uvicorn", marker = "sys_platform != 'emscripten'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/8b/eb/c0cfc62075dc6e1ec1c64d352ae09ac051d9334311ed226f1f425312848a/mcp-1.27.0.tar.gz", hash = "sha256:d3dc35a7eec0d458c1da4976a48f982097ddaab87e278c5511d5a4a56e852b83", size = 607509 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9c/46/f6b4ad632c67ef35209a66127e4bddc95759649dd595f71f13fba11bdf9a/mcp-1.27.0-py3-none-any.whl", hash = "sha256:5ce1fa81614958e267b21fb2aa34e0aea8e2c6ede60d52aba45fd47246b4d741", size = 215967 },
+]
+
+[[package]]
+name = "mdurl"
+version = "0.1.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba", size = 8729 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", size = 9979 },
+]
+
+[[package]]
+name = "mmh3"
+version = "5.2.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/91/1a/edb23803a168f070ded7a3014c6d706f63b90c84ccc024f89d794a3b7a6d/mmh3-5.2.1.tar.gz", hash = "sha256:bbea5b775f0ac84945191fb83f845a6fd9a21a03ea7f2e187defac7e401616ad", size = 33775 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/65/d7/3312a59df3c1cdd783f4cf0c4ee8e9decff9c5466937182e4cc7dbbfe6c5/mmh3-5.2.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:dae0f0bd7d30c0ad61b9a504e8e272cb8391eed3f1587edf933f4f6b33437450", size = 56082 },
+ { url = "https://files.pythonhosted.org/packages/61/96/6f617baa098ca0d2989bfec6d28b5719532cd8d8848782662f5b755f657f/mmh3-5.2.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:9aeaf53eaa075dd63e81512522fd180097312fb2c9f476333309184285c49ce0", size = 40458 },
+ { url = "https://files.pythonhosted.org/packages/c1/b4/9cd284bd6062d711e13d26c04d4778ab3f690c1c38a4563e3c767ec8802e/mmh3-5.2.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:0634581290e6714c068f4aa24020acf7880927d1f0084fa753d9799ae9610082", size = 40079 },
+ { url = "https://files.pythonhosted.org/packages/f6/09/a806334ce1d3d50bf782b95fcee8b3648e1e170327d4bb7b4bad2ad7d956/mmh3-5.2.1-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:e080c0637aea036f35507e803a4778f119a9b436617694ae1c5c366805f1e997", size = 97242 },
+ { url = "https://files.pythonhosted.org/packages/ee/93/723e317dd9e041c4dc4566a2eb53b01ad94de31750e0b834f1643905e97c/mmh3-5.2.1-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:db0562c5f71d18596dcd45e854cf2eeba27d7543e1a3acdafb7eef728f7fe85d", size = 103082 },
+ { url = "https://files.pythonhosted.org/packages/61/b5/f96121e69cc48696075071531cf574f112e1ffd08059f4bffb41210e6fc5/mmh3-5.2.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1d9f9a3ce559a5267014b04b82956993270f63ec91765e13e9fd73daf2d2738e", size = 106054 },
+ { url = "https://files.pythonhosted.org/packages/82/49/192b987ec48d0b2aecf8ac285a9b11fbc00030f6b9c694664ae923458dde/mmh3-5.2.1-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:960b1b3efa39872ac8b6cc3a556edd6fb90ed74f08c9c45e028f1005b26aa55d", size = 112910 },
+ { url = "https://files.pythonhosted.org/packages/cf/a1/03e91fd334ed0144b83343a76eb11f17434cd08f746401488cfeafb2d241/mmh3-5.2.1-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d30b650595fdbe32366b94cb14f30bb2b625e512bd4e1df00611f99dc5c27fd4", size = 120551 },
+ { url = "https://files.pythonhosted.org/packages/93/b9/b89a71d2ff35c3a764d1c066c7313fc62c7cc48fa48a4b3b0304a4a0146f/mmh3-5.2.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:82f3802bfc4751f420d591c5c864de538b71cea117fce67e4595c2afede08a15", size = 99096 },
+ { url = "https://files.pythonhosted.org/packages/36/b5/613772c1c6ed5f7b63df55eb131e887cc43720fec392777b95a79d34e640/mmh3-5.2.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:915e7a2418f10bd1151b1953df06d896db9783c9cfdb9a8ee1f9b3a4331ab503", size = 98524 },
+ { url = "https://files.pythonhosted.org/packages/5e/0e/1524566fe8eaf871e4f7bc44095929fcd2620488f402822d848df19d679c/mmh3-5.2.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:fc78739b5ec6e4fb02301984a3d442a91406e7700efbe305071e7fd1c78278f2", size = 106239 },
+ { url = "https://files.pythonhosted.org/packages/04/94/21adfa7d90a7a697137ad6de33eeff6445420ca55e433a5d4919c79bc3b5/mmh3-5.2.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:41aac7002a749f08727cb91babff1daf8deac317c0b1f317adc69be0e6c375d1", size = 109797 },
+ { url = "https://files.pythonhosted.org/packages/b5/e6/1aacc3a219e1aa62fa65669995d4a3562b35be5200ec03680c7e4bec9676/mmh3-5.2.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:9d8089d853c7963a8ce87fff93e2a67075c0bc08684a08ea6ad13577c38ffc38", size = 97228 },
+ { url = "https://files.pythonhosted.org/packages/f1/b9/5e4cca8dcccf298add0a27f3c357bc8cf8baf821d35cdc6165e4bd5a48b0/mmh3-5.2.1-cp311-cp311-win32.whl", hash = "sha256:baeb47635cb33375dee4924cd93d7f5dcaa786c740b08423b0209b824a1ee728", size = 40751 },
+ { url = "https://files.pythonhosted.org/packages/72/fc/5b11d49247f499bcda591171e9cf3b6ee422b19e70aa2cef2e0ae65ca3b9/mmh3-5.2.1-cp311-cp311-win_amd64.whl", hash = "sha256:1e4ecee40ba19e6975e1120829796770325841c2f153c0e9aecca927194c6a2a", size = 41517 },
+ { url = "https://files.pythonhosted.org/packages/8a/5f/2a511ee8a1c2a527c77726d5231685b72312c5a1a1b7639ad66a9652aa84/mmh3-5.2.1-cp311-cp311-win_arm64.whl", hash = "sha256:c302245fd6c33d96bd169c7ccf2513c20f4c1e417c07ce9dce107c8bc3f8411f", size = 39287 },
+ { url = "https://files.pythonhosted.org/packages/92/94/bc5c3b573b40a328c4d141c20e399039ada95e5e2a661df3425c5165fd84/mmh3-5.2.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:0cc21533878e5586b80d74c281d7f8da7932bc8ace50b8d5f6dbf7e3935f63f1", size = 56087 },
+ { url = "https://files.pythonhosted.org/packages/f6/80/64a02cc3e95c3af0aaa2590849d9ed24a9f14bb93537addde688e039b7c3/mmh3-5.2.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4eda76074cfca2787c8cf1bec603eaebdddd8b061ad5502f85cddae998d54f00", size = 40500 },
+ { url = "https://files.pythonhosted.org/packages/8b/72/e6d6602ce18adf4ddcd0e48f2e13590cc92a536199e52109f46f259d3c46/mmh3-5.2.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:eee884572b06bbe8a2b54f424dbd996139442cf83c76478e1ec162512e0dd2c7", size = 40034 },
+ { url = "https://files.pythonhosted.org/packages/59/c2/bf4537a8e58e21886ef16477041238cab5095c836496e19fafc34b7445d2/mmh3-5.2.1-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:0d0b7e803191db5f714d264044e06189c8ccd3219e936cc184f07106bd17fd7b", size = 97292 },
+ { url = "https://files.pythonhosted.org/packages/e5/e2/51ed62063b44d10b06d975ac87af287729eeb5e3ed9772f7584a17983e90/mmh3-5.2.1-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:8e6c219e375f6341d0959af814296372d265a8ca1af63825f65e2e87c618f006", size = 103274 },
+ { url = "https://files.pythonhosted.org/packages/75/ce/12a7524dca59eec92e5b31fdb13ede1e98eda277cf2b786cf73bfbc24e81/mmh3-5.2.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:26fb5b9c3946bf7f1daed7b37e0c03898a6f062149127570f8ede346390a0825", size = 106158 },
+ { url = "https://files.pythonhosted.org/packages/86/1f/d3ba6dd322d01ab5d44c46c8f0c38ab6bbbf9b5e20e666dfc05bf4a23604/mmh3-5.2.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:3c38d142c706201db5b2345166eeef1e7740e3e2422b470b8ba5c8727a9b4c7a", size = 113005 },
+ { url = "https://files.pythonhosted.org/packages/b6/a9/15d6b6f913294ea41b44d901741298e3718e1cb89ee626b3694625826a43/mmh3-5.2.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:50885073e2909251d4718634a191c49ae5f527e5e1736d738e365c3e8be8f22b", size = 120744 },
+ { url = "https://files.pythonhosted.org/packages/76/b3/70b73923fd0284c439860ff5c871b20210dfdbe9a6b9dd0ee6496d77f174/mmh3-5.2.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:b3f99e1756fc48ad507b95e5d86f2fb21b3d495012ff13e6592ebac14033f166", size = 99111 },
+ { url = "https://files.pythonhosted.org/packages/dd/38/99f7f75cd27d10d8b899a1caafb9d531f3903e4d54d572220e3d8ac35e89/mmh3-5.2.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:62815d2c67f2dd1be76a253d88af4e1da19aeaa1820146dec52cf8bee2958b16", size = 98623 },
+ { url = "https://files.pythonhosted.org/packages/fd/68/6e292c0853e204c44d2f03ea5f090be3317a0e2d9417ecb62c9eb27687df/mmh3-5.2.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:8f767ba0911602ddef289404e33835a61168314ebd3c729833db2ed685824211", size = 106437 },
+ { url = "https://files.pythonhosted.org/packages/dd/c6/fedd7284c459cfb58721d461fcf5607a4c1f5d9ab195d113d51d10164d16/mmh3-5.2.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:67e41a497bac88cc1de96eeba56eeb933c39d54bc227352f8455aa87c4ca4000", size = 110002 },
+ { url = "https://files.pythonhosted.org/packages/3b/ac/ca8e0c19a34f5b71390171d2ff0b9f7f187550d66801a731bb68925126a4/mmh3-5.2.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3d74a03fb57757ece25aa4b3c1c60157a1cece37a020542785f942e2f827eed5", size = 97507 },
+ { url = "https://files.pythonhosted.org/packages/df/94/6ebb9094cfc7ac5e7950776b9d13a66bb4a34f83814f32ba2abc9494fc68/mmh3-5.2.1-cp312-cp312-win32.whl", hash = "sha256:7374d6e3ef72afe49697ecd683f3da12f4fc06af2d75433d0580c6746d2fa025", size = 40773 },
+ { url = "https://files.pythonhosted.org/packages/5b/3c/cd3527198cf159495966551c84a5f36805a10ac17b294f41f67b83f6a4d6/mmh3-5.2.1-cp312-cp312-win_amd64.whl", hash = "sha256:3a9fed49c6ce4ed7e73f13182760c65c816da006debe67f37635580dfb0fae00", size = 41560 },
+ { url = "https://files.pythonhosted.org/packages/15/96/6fe5ebd0f970a076e3ed5512871ce7569447b962e96c125528a2f9724470/mmh3-5.2.1-cp312-cp312-win_arm64.whl", hash = "sha256:bbfcb95d9a744e6e2827dfc66ad10e1020e0cac255eb7f85652832d5a264c2fc", size = 39313 },
+ { url = "https://files.pythonhosted.org/packages/25/a5/9daa0508a1569a54130f6198d5462a92deda870043624aa3ea72721aa765/mmh3-5.2.1-cp313-cp313-android_21_arm64_v8a.whl", hash = "sha256:723b2681ed4cc07d3401bbea9c201ad4f2a4ca6ba8cddaff6789f715dd2b391e", size = 40832 },
+ { url = "https://files.pythonhosted.org/packages/0a/6b/3230c6d80c1f4b766dedf280a92c2241e99f87c1504ff74205ec8cebe451/mmh3-5.2.1-cp313-cp313-android_21_x86_64.whl", hash = "sha256:3619473a0e0d329fd4aec8075628f8f616be2da41605300696206d6f36920c3d", size = 41964 },
+ { url = "https://files.pythonhosted.org/packages/62/fb/648bfddb74a872004b6ee751551bfdda783fe6d70d2e9723bad84dbe5311/mmh3-5.2.1-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:e48d4dbe0f88e53081da605ae68644e5182752803bbc2beb228cca7f1c4454d6", size = 39114 },
+ { url = "https://files.pythonhosted.org/packages/95/c2/ab7901f87af438468b496728d11264cb397b3574d41506e71b92128e0373/mmh3-5.2.1-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:a482ac121de6973897c92c2f31defc6bafb11c83825109275cffce54bb64933f", size = 39819 },
+ { url = "https://files.pythonhosted.org/packages/2f/ed/6f88dda0df67de1612f2e130ffea34cf84aaee5bff5b0aff4dbff2babe34/mmh3-5.2.1-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:17fbb47f0885ace8327ce1235d0416dc86a211dcd8cc1e703f41523be32cfec8", size = 40330 },
+ { url = "https://files.pythonhosted.org/packages/3d/66/7516d23f53cdf90f43fce24ab80c28f45e6851d78b46bef8c02084edf583/mmh3-5.2.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:d51fde50a77f81330523562e3c2734ffdca9c4c9e9d355478117905e1cfe16c6", size = 56078 },
+ { url = "https://files.pythonhosted.org/packages/bc/34/4d152fdf4a91a132cb226b671f11c6b796eada9ab78080fb5ce1e95adaab/mmh3-5.2.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:19bbd3b841174ae6ed588536ab5e1b1fe83d046e668602c20266547298d939a9", size = 40498 },
+ { url = "https://files.pythonhosted.org/packages/d4/4c/8e3af1b6d85a299767ec97bd923f12b06267089c1472c27c1696870d1175/mmh3-5.2.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:be77c402d5e882b6fbacfd90823f13da8e0a69658405a39a569c6b58fdb17b03", size = 40033 },
+ { url = "https://files.pythonhosted.org/packages/8b/f2/966ea560e32578d453c9e9db53d602cbb1d0da27317e232afa7c38ceba11/mmh3-5.2.1-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:fd96476f04db5ceba1cfa0f21228f67c1f7402296f0e73fee3513aa680ad237b", size = 97320 },
+ { url = "https://files.pythonhosted.org/packages/bb/0d/2c5f9893b38aeb6b034d1a44ecd55a010148054f6a516abe53b5e4057297/mmh3-5.2.1-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:707151644085dd0f20fe4f4b573d28e5130c4aaa5f587e95b60989c5926653b5", size = 103299 },
+ { url = "https://files.pythonhosted.org/packages/1c/fc/2ebaef4a4d4376f89761274dc274035ffd96006ab496b4ee5af9b08f21a9/mmh3-5.2.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3737303ca9ea0f7cb83028781148fcda4f1dac7821db0c47672971dabcf63593", size = 106222 },
+ { url = "https://files.pythonhosted.org/packages/57/09/ea7ffe126d0ba0406622602a2d05e1e1a6841cc92fc322eb576c95b27fad/mmh3-5.2.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:2778fed822d7db23ac5008b181441af0c869455b2e7d001f4019636ac31b6fe4", size = 113048 },
+ { url = "https://files.pythonhosted.org/packages/85/57/9447032edf93a64aa9bef4d9aa596400b1756f40411890f77a284f6293ca/mmh3-5.2.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d57dea657357230cc780e13920d7fa7db059d58fe721c80020f94476da4ca0a1", size = 120742 },
+ { url = "https://files.pythonhosted.org/packages/53/82/a86cc87cc88c92e9e1a598fee509f0409435b57879a6129bf3b3e40513c7/mmh3-5.2.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:169e0d178cb59314456ab30772429a802b25d13227088085b0d49b9fe1533104", size = 99132 },
+ { url = "https://files.pythonhosted.org/packages/54/f7/6b16eb1b40ee89bb740698735574536bc20d6cdafc65ae702ea235578e05/mmh3-5.2.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:7e4e1f580033335c6f76d1e0d6b56baf009d1a64d6a4816347e4271ba951f46d", size = 98686 },
+ { url = "https://files.pythonhosted.org/packages/e8/88/a601e9f32ad1410f438a6d0544298ea621f989bd34a0731a7190f7dec799/mmh3-5.2.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:2bd9f19f7f1fcebd74e830f4af0f28adad4975d40d80620be19ffb2b2af56c9f", size = 106479 },
+ { url = "https://files.pythonhosted.org/packages/d6/5c/ce29ae3dfc4feec4007a437a1b7435fb9507532a25147602cd5b52be86db/mmh3-5.2.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:c88653877aeb514c089d1b3d473451677b8b9a6d1497dbddf1ae7934518b06d2", size = 110030 },
+ { url = "https://files.pythonhosted.org/packages/13/30/ae444ef2ff87c805d525da4fa63d27cda4fe8a48e77003a036b8461cfd5c/mmh3-5.2.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:fceef7fe67c81e1585198215e42ad3fdba3a25644beda8fbdaf85f4d7b93175a", size = 97536 },
+ { url = "https://files.pythonhosted.org/packages/4b/f9/dc3787ee5c813cc27fe79f45ad4500d9b5437f23a7402435cc34e07c7718/mmh3-5.2.1-cp313-cp313-win32.whl", hash = "sha256:54b64fb2433bc71488e7a449603bf8bd31fbcf9cb56fbe1eb6d459e90b86c37b", size = 40769 },
+ { url = "https://files.pythonhosted.org/packages/43/67/850e0b5a1e97799822ebfc4ca0e8c6ece3ed8baf7dcdf64de817dfdda2ca/mmh3-5.2.1-cp313-cp313-win_amd64.whl", hash = "sha256:cae6383181f1e345317742d2ddd88f9e7d2682fa4c9432e3a74e47d92dce0229", size = 41563 },
+ { url = "https://files.pythonhosted.org/packages/c0/cc/98c90b28e1da5458e19fbfaf4adb5289208d3bfccd45dd14eab216a2f0bb/mmh3-5.2.1-cp313-cp313-win_arm64.whl", hash = "sha256:022aa1a528604e6c83d0a7705fdef0b5355d897a9e0fa3a8d26709ceaa06965d", size = 39310 },
+ { url = "https://files.pythonhosted.org/packages/63/b4/65bc1fb2bb7f83e91c30865023b1847cf89a5f237165575e8c83aa536584/mmh3-5.2.1-cp314-cp314-android_24_arm64_v8a.whl", hash = "sha256:d771f085fcdf4035786adfb1d8db026df1eb4b41dac1c3d070d1e49512843227", size = 40794 },
+ { url = "https://files.pythonhosted.org/packages/c4/86/7168b3d83be8eb553897b1fac9da8bbb06568e5cfe555ffc329ebb46f59d/mmh3-5.2.1-cp314-cp314-android_24_x86_64.whl", hash = "sha256:7f196cd7910d71e9d9860da0ff7a77f64d22c1ad931f1dd18559a06e03109fc0", size = 41923 },
+ { url = "https://files.pythonhosted.org/packages/bf/9b/b653ab611c9060ce8ff0ba25c0226757755725e789292f3ca138a58082cd/mmh3-5.2.1-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:b1f12bd684887a0a5d55e6363ca87056f361e45451105012d329b86ec19dbe0b", size = 39131 },
+ { url = "https://files.pythonhosted.org/packages/9b/b4/5a2e0d34ab4d33543f01121e832395ea510132ea8e52cdf63926d9d81754/mmh3-5.2.1-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:d106493a60dcb4aef35a0fac85105e150a11cf8bc2b0d388f5a33272d756c966", size = 39825 },
+ { url = "https://files.pythonhosted.org/packages/bd/69/81699a8f39a3f8d368bec6443435c0c392df0d200ad915bf0d222b588e03/mmh3-5.2.1-cp314-cp314-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:44983e45310ee5b9f73397350251cdf6e63a466406a105f1d16cb5baa659270b", size = 40344 },
+ { url = "https://files.pythonhosted.org/packages/0c/b3/71c8c775807606e8fd8acc5c69016e1caf3200d50b50b6dd4b40ce10b76c/mmh3-5.2.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:368625fb01666655985391dbad3860dc0ba7c0d6b9125819f3121ee7292b4ac8", size = 56291 },
+ { url = "https://files.pythonhosted.org/packages/6f/75/2c24517d4b2ce9e4917362d24f274d3d541346af764430249ddcc4cb3a08/mmh3-5.2.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:72d1cc63bcc91e14933f77d51b3df899d6a07d184ec515ea7f56bff659e124d7", size = 40575 },
+ { url = "https://files.pythonhosted.org/packages/bf/b9/e4a360164365ac9f07a25f0f7928e3a66eb9ecc989384060747aa170e6aa/mmh3-5.2.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:e8b4b5580280b9265af3e0409974fb79c64cf7523632d03fbf11df18f8b0181e", size = 40052 },
+ { url = "https://files.pythonhosted.org/packages/97/ca/120d92223a7546131bbbc31c9174168ee7a73b1366f5463ffe69d9e691fe/mmh3-5.2.1-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:4cbbde66f1183db040daede83dd86c06d663c5bb2af6de1142b7c8c37923dd74", size = 97311 },
+ { url = "https://files.pythonhosted.org/packages/b6/71/c1a60c1652b8813ef9de6d289784847355417ee0f2980bca002fe87f4ae5/mmh3-5.2.1-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:8ff038d52ef6aa0f309feeba00c5095c9118d0abf787e8e8454d6048db2037fc", size = 103279 },
+ { url = "https://files.pythonhosted.org/packages/48/29/ad97f4be1509cdcb28ae32c15593ce7c415db47ace37f8fad35b493faa9a/mmh3-5.2.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:a4130d0b9ce5fad6af07421b1aecc7e079519f70d6c05729ab871794eded8617", size = 106290 },
+ { url = "https://files.pythonhosted.org/packages/77/29/1f86d22e281bd8827ba373600a4a8b0c0eae5ca6aa55b9a8c26d2a34decc/mmh3-5.2.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f6e0bfe77d238308839699944164b96a2eeccaf55f2af400f54dc20669d8d5f2", size = 113116 },
+ { url = "https://files.pythonhosted.org/packages/a7/7c/339971ea7ed4c12d98f421f13db3ea576a9114082ccb59d2d1a0f00ccac1/mmh3-5.2.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f963eafc0a77a6c0562397da004f5876a9bcf7265a7bcc3205e29636bc4a1312", size = 120740 },
+ { url = "https://files.pythonhosted.org/packages/e4/92/3c7c4bdb8e926bb3c972d1e2907d77960c1c4b250b41e8366cf20c6e4373/mmh3-5.2.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:92883836caf50d5255be03d988d75bc93e3f86ba247b7ca137347c323f731deb", size = 99143 },
+ { url = "https://files.pythonhosted.org/packages/df/0a/33dd8706e732458c8375eae63c981292de07a406bad4ec03e5269654aa2c/mmh3-5.2.1-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:57b52603e89355ff318025dd55158f6e71396c0f1f609d548e9ea9c94cc6ce0a", size = 98703 },
+ { url = "https://files.pythonhosted.org/packages/51/04/76bbce05df76cbc3d396f13b2ea5b1578ef02b6a5187e132c6c33f99d596/mmh3-5.2.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:f40a95186a72fa0b67d15fef0f157bfcda00b4f59c8a07cbe5530d41ac35d105", size = 106484 },
+ { url = "https://files.pythonhosted.org/packages/d3/8f/c6e204a2c70b719c1f62ffd9da27aef2dddcba875ea9c31ca0e87b975a46/mmh3-5.2.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:58370d05d033ee97224c81263af123dea3d931025030fd34b61227a768a8858a", size = 110012 },
+ { url = "https://files.pythonhosted.org/packages/e3/37/7181efd8e39db386c1ebc3e6b7d1f702a09d7c1197a6f2742ed6b5c16597/mmh3-5.2.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:7be6dfb49e48fd0a7d91ff758a2b51336f1cd21f9d44b20f6801f072bd080cdd", size = 97508 },
+ { url = "https://files.pythonhosted.org/packages/42/0f/afa7ca2615fd85e1469474bb860e381443d0b868c083b62b41cb1d7ca32f/mmh3-5.2.1-cp314-cp314-win32.whl", hash = "sha256:54fe8518abe06a4c3852754bfd498b30cc58e667f376c513eac89a244ce781a4", size = 41387 },
+ { url = "https://files.pythonhosted.org/packages/71/0d/46d42a260ee1357db3d486e6c7a692e303c017968e14865e00efa10d09fc/mmh3-5.2.1-cp314-cp314-win_amd64.whl", hash = "sha256:3f796b535008708846044c43302719c6956f39ca2d93f2edda5319e79a29efbb", size = 42101 },
+ { url = "https://files.pythonhosted.org/packages/a4/7b/848a8378059d96501a41159fca90d6a99e89736b0afbe8e8edffeac8c74b/mmh3-5.2.1-cp314-cp314-win_arm64.whl", hash = "sha256:cd471ede0d802dd936b6fab28188302b2d497f68436025857ca72cd3810423fe", size = 39836 },
+ { url = "https://files.pythonhosted.org/packages/27/61/1dabea76c011ba8547c25d30c91c0ec22544487a8750997a27a0c9e1180b/mmh3-5.2.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:5174a697ce042fa77c407e05efe41e03aa56dae9ec67388055820fb48cf4c3ba", size = 57727 },
+ { url = "https://files.pythonhosted.org/packages/b7/32/731185950d1cf2d5e28979cc8593016ba1619a295faba10dda664a4931b5/mmh3-5.2.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:0a3984146e414684a6be2862d84fcb1035f4984851cb81b26d933bab6119bf00", size = 41308 },
+ { url = "https://files.pythonhosted.org/packages/76/aa/66c76801c24b8c9418b4edde9b5e57c75e72c94e29c48f707e3962534f18/mmh3-5.2.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:bd6e7d363aa93bd3421b30b6af97064daf47bc96005bddba67c5ffbc6df426b8", size = 40758 },
+ { url = "https://files.pythonhosted.org/packages/9e/bb/79a1f638a02f0ae389f706d13891e2fbf7d8c0a22ecde67ba828951bb60a/mmh3-5.2.1-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:113f78e7463a36dbbcea05bfe688efd7fa759d0f0c56e73c974d60dcfec3dfcc", size = 109670 },
+ { url = "https://files.pythonhosted.org/packages/26/94/8cd0e187a288985bcfc79bf5144d1d712df9dee74365f59d26e3a1865be6/mmh3-5.2.1-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:7e8ec5f606e0809426d2440e0683509fb605a8820a21ebd120dcdba61b74ef7f", size = 117399 },
+ { url = "https://files.pythonhosted.org/packages/42/94/dfea6059bd5c5beda565f58a4096e43f4858fb6d2862806b8bbd12cbb284/mmh3-5.2.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:22b0f9971ec4e07e8223f2beebe96a6cfc779d940b6f27d26604040dd74d3a44", size = 120386 },
+ { url = "https://files.pythonhosted.org/packages/47/cb/f9c45e62aaa67220179f487772461d891bb582bb2f9783c944832c60efd9/mmh3-5.2.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:85ffc9920ffc39c5eee1e3ac9100c913a0973996fbad5111f939bbda49204bb7", size = 125924 },
+ { url = "https://files.pythonhosted.org/packages/a5/83/fe54a4a7c11bc9f623dfc1707decd034245602b076dfc1dcc771a4163170/mmh3-5.2.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:7aec798c2b01aaa65a55f1124f3405804184373abb318a3091325aece235f67c", size = 135280 },
+ { url = "https://files.pythonhosted.org/packages/97/67/fe7e9e9c143daddd210cd22aef89cbc425d58ecf238d2b7d9eb0da974105/mmh3-5.2.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:55dbbd8ffbc40d1697d5e2d0375b08599dae8746b0b08dea05eee4ce81648fac", size = 110050 },
+ { url = "https://files.pythonhosted.org/packages/43/c4/6d4b09fcbef80794de447c9378e39eefc047156b290fa3dd2d5257ca8227/mmh3-5.2.1-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:6c85c38a279ca9295a69b9b088a2e48aa49737bb1b34e6a9dc6297c110e8d912", size = 111158 },
+ { url = "https://files.pythonhosted.org/packages/81/a6/ca51c864bdb30524beb055a6d8826db3906af0834ec8c41d097a6e8573d5/mmh3-5.2.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:6290289fa5fb4c70fd7f72016e03633d60388185483ff3b162912c81205ae2cf", size = 116890 },
+ { url = "https://files.pythonhosted.org/packages/cc/04/5a1fe2e2ad843d03e89af25238cbc4f6840a8bb6c4329a98ab694c71deda/mmh3-5.2.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:4fc6cd65dc4d2fdb2625e288939a3566e36127a84811a4913f02f3d5931da52d", size = 123121 },
+ { url = "https://files.pythonhosted.org/packages/af/4d/3c820c6f4897afd25905270a9f2330a23f77a207ea7356f7aadace7273c0/mmh3-5.2.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:623f938f6a039536cc02b7582a07a080f13fdfd48f87e63201d92d7e34d09a18", size = 110187 },
+ { url = "https://files.pythonhosted.org/packages/21/54/1d71cd143752361c0aebef16ad3f55926a6faf7b112d355745c1f8a25f7f/mmh3-5.2.1-cp314-cp314t-win32.whl", hash = "sha256:29bc3973676ae334412efdd367fcd11d036b7be3efc1ce2407ef8676dabfeb82", size = 41934 },
+ { url = "https://files.pythonhosted.org/packages/9d/e4/63a2a88f31d93dea03947cccc2a076946857e799ea4f7acdecbf43b324aa/mmh3-5.2.1-cp314-cp314t-win_amd64.whl", hash = "sha256:28cfab66577000b9505a0d068c731aee7ca85cd26d4d63881fab17857e0fe1fb", size = 43036 },
+ { url = "https://files.pythonhosted.org/packages/a0/0f/59204bf136d1201f8d7884cfbaf7498c5b4674e87a4c693f9bde63741ce1/mmh3-5.2.1-cp314-cp314t-win_arm64.whl", hash = "sha256:dfd51b4c56b673dfbc43d7d27ef857dd91124801e2806c69bb45585ce0fa019b", size = 40391 },
+]
+
+[[package]]
+name = "moviepy"
+version = "2.2.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "decorator" },
+ { name = "imageio" },
+ { name = "imageio-ffmpeg" },
+ { name = "numpy" },
+ { name = "pillow" },
+ { name = "proglog" },
+ { name = "python-dotenv" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/de/61/15f9476e270f64c78a834e7459ca045d669f869cec24eed26807b8cd479d/moviepy-2.2.1.tar.gz", hash = "sha256:c80cb56815ece94e5e3e2d361aa40070eeb30a09d23a24c4e684d03e16deacb1", size = 58431438 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9a/73/7d3b2010baa0b5eb1e4dfa9e4385e89b6716be76f2fa21a6c0fe34b68e5a/moviepy-2.2.1-py3-none-any.whl", hash = "sha256:6b56803fec2ac54b557404126ac1160e65448e03798fa282bd23e8fab3795060", size = 129871 },
+]
+
+[[package]]
+name = "mpmath"
+version = "1.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/e0/47/dd32fa426cc72114383ac549964eecb20ecfd886d1e5ccf5340b55b02f57/mpmath-1.3.0.tar.gz", hash = "sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f", size = 508106 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl", hash = "sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c", size = 536198 },
+]
+
+[[package]]
+name = "multidict"
+version = "6.7.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/1a/c2/c2d94cbe6ac1753f3fc980da97b3d930efe1da3af3c9f5125354436c073d/multidict-6.7.1.tar.gz", hash = "sha256:ec6652a1bee61c53a3e5776b6049172c53b6aaba34f18c9ad04f82712bac623d", size = 102010 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ce/f1/a90635c4f88fb913fbf4ce660b83b7445b7a02615bda034b2f8eb38fd597/multidict-6.7.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:7ff981b266af91d7b4b3793ca3382e53229088d193a85dfad6f5f4c27fc73e5d", size = 76626 },
+ { url = "https://files.pythonhosted.org/packages/a6/9b/267e64eaf6fc637a15b35f5de31a566634a2740f97d8d094a69d34f524a4/multidict-6.7.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:844c5bca0b5444adb44a623fb0a1310c2f4cd41f402126bb269cd44c9b3f3e1e", size = 44706 },
+ { url = "https://files.pythonhosted.org/packages/dd/a4/d45caf2b97b035c57267791ecfaafbd59c68212004b3842830954bb4b02e/multidict-6.7.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f2a0a924d4c2e9afcd7ec64f9de35fcd96915149b2216e1cb2c10a56df483855", size = 44356 },
+ { url = "https://files.pythonhosted.org/packages/fd/d2/0a36c8473f0cbaeadd5db6c8b72d15bbceeec275807772bfcd059bef487d/multidict-6.7.1-cp311-cp311-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:8be1802715a8e892c784c0197c2ace276ea52702a0ede98b6310c8f255a5afb3", size = 244355 },
+ { url = "https://files.pythonhosted.org/packages/5d/16/8c65be997fd7dd311b7d39c7b6e71a0cb449bad093761481eccbbe4b42a2/multidict-6.7.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2e2d2ed645ea29f31c4c7ea1552fcfd7cb7ba656e1eafd4134a6620c9f5fdd9e", size = 246433 },
+ { url = "https://files.pythonhosted.org/packages/01/fb/4dbd7e848d2799c6a026ec88ad39cf2b8416aa167fcc903baa55ecaa045c/multidict-6.7.1-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:95922cee9a778659e91db6497596435777bd25ed116701a4c034f8e46544955a", size = 225376 },
+ { url = "https://files.pythonhosted.org/packages/b6/8a/4a3a6341eac3830f6053062f8fbc9a9e54407c80755b3f05bc427295c2d0/multidict-6.7.1-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:6b83cabdc375ffaaa15edd97eb7c0c672ad788e2687004990074d7d6c9b140c8", size = 257365 },
+ { url = "https://files.pythonhosted.org/packages/f7/a2/dd575a69c1aa206e12d27d0770cdf9b92434b48a9ef0cd0d1afdecaa93c4/multidict-6.7.1-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:38fb49540705369bab8484db0689d86c0a33a0a9f2c1b197f506b71b4b6c19b0", size = 254747 },
+ { url = "https://files.pythonhosted.org/packages/5a/56/21b27c560c13822ed93133f08aa6372c53a8e067f11fbed37b4adcdac922/multidict-6.7.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:439cbebd499f92e9aa6793016a8acaa161dfa749ae86d20960189f5398a19144", size = 246293 },
+ { url = "https://files.pythonhosted.org/packages/5a/a4/23466059dc3854763423d0ad6c0f3683a379d97673b1b89ec33826e46728/multidict-6.7.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6d3bc717b6fe763b8be3f2bee2701d3c8eb1b2a8ae9f60910f1b2860c82b6c49", size = 242962 },
+ { url = "https://files.pythonhosted.org/packages/1f/67/51dd754a3524d685958001e8fa20a0f5f90a6a856e0a9dcabff69be3dbb7/multidict-6.7.1-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:619e5a1ac57986dbfec9f0b301d865dddf763696435e2962f6d9cf2fdff2bb71", size = 237360 },
+ { url = "https://files.pythonhosted.org/packages/64/3f/036dfc8c174934d4b55d86ff4f978e558b0e585cef70cfc1ad01adc6bf18/multidict-6.7.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:0b38ebffd9be37c1170d33bc0f36f4f262e0a09bc1aac1c34c7aa51a7293f0b3", size = 245940 },
+ { url = "https://files.pythonhosted.org/packages/3d/20/6214d3c105928ebc353a1c644a6ef1408bc5794fcb4f170bb524a3c16311/multidict-6.7.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:10ae39c9cfe6adedcdb764f5e8411d4a92b055e35573a2eaa88d3323289ef93c", size = 253502 },
+ { url = "https://files.pythonhosted.org/packages/b1/e2/c653bc4ae1be70a0f836b82172d643fcf1dade042ba2676ab08ec08bff0f/multidict-6.7.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:25167cc263257660290fba06b9318d2026e3c910be240a146e1f66dd114af2b0", size = 247065 },
+ { url = "https://files.pythonhosted.org/packages/c8/11/a854b4154cd3bd8b1fd375e8a8ca9d73be37610c361543d56f764109509b/multidict-6.7.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:128441d052254f42989ef98b7b6a6ecb1e6f708aa962c7984235316db59f50fa", size = 241870 },
+ { url = "https://files.pythonhosted.org/packages/13/bf/9676c0392309b5fdae322333d22a829715b570edb9baa8016a517b55b558/multidict-6.7.1-cp311-cp311-win32.whl", hash = "sha256:d62b7f64ffde3b99d06b707a280db04fb3855b55f5a06df387236051d0668f4a", size = 41302 },
+ { url = "https://files.pythonhosted.org/packages/c9/68/f16a3a8ba6f7b6dc92a1f19669c0810bd2c43fc5a02da13b1cbf8e253845/multidict-6.7.1-cp311-cp311-win_amd64.whl", hash = "sha256:bdbf9f3b332abd0cdb306e7c2113818ab1e922dc84b8f8fd06ec89ed2a19ab8b", size = 45981 },
+ { url = "https://files.pythonhosted.org/packages/ac/ad/9dd5305253fa00cd3c7555dbef69d5bf4133debc53b87ab8d6a44d411665/multidict-6.7.1-cp311-cp311-win_arm64.whl", hash = "sha256:b8c990b037d2fff2f4e33d3f21b9b531c5745b33a49a7d6dbe7a177266af44f6", size = 43159 },
+ { url = "https://files.pythonhosted.org/packages/8d/9c/f20e0e2cf80e4b2e4b1c365bf5fe104ee633c751a724246262db8f1a0b13/multidict-6.7.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:a90f75c956e32891a4eda3639ce6dd86e87105271f43d43442a3aedf3cddf172", size = 76893 },
+ { url = "https://files.pythonhosted.org/packages/fe/cf/18ef143a81610136d3da8193da9d80bfe1cb548a1e2d1c775f26b23d024a/multidict-6.7.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3fccb473e87eaa1382689053e4a4618e7ba7b9b9b8d6adf2027ee474597128cd", size = 45456 },
+ { url = "https://files.pythonhosted.org/packages/a9/65/1caac9d4cd32e8433908683446eebc953e82d22b03d10d41a5f0fefe991b/multidict-6.7.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b0fa96985700739c4c7853a43c0b3e169360d6855780021bfc6d0f1ce7c123e7", size = 43872 },
+ { url = "https://files.pythonhosted.org/packages/cf/3b/d6bd75dc4f3ff7c73766e04e705b00ed6dbbaccf670d9e05a12b006f5a21/multidict-6.7.1-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:cb2a55f408c3043e42b40cc8eecd575afa27b7e0b956dfb190de0f8499a57a53", size = 251018 },
+ { url = "https://files.pythonhosted.org/packages/fd/80/c959c5933adedb9ac15152e4067c702a808ea183a8b64cf8f31af8ad3155/multidict-6.7.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:eb0ce7b2a32d09892b3dd6cc44877a0d02a33241fafca5f25c8b6b62374f8b75", size = 258883 },
+ { url = "https://files.pythonhosted.org/packages/86/85/7ed40adafea3d4f1c8b916e3b5cc3a8e07dfcdcb9cd72800f4ed3ca1b387/multidict-6.7.1-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c3a32d23520ee37bf327d1e1a656fec76a2edd5c038bf43eddfa0572ec49c60b", size = 242413 },
+ { url = "https://files.pythonhosted.org/packages/d2/57/b8565ff533e48595503c785f8361ff9a4fde4d67de25c207cd0ba3befd03/multidict-6.7.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9c90fed18bffc0189ba814749fdcc102b536e83a9f738a9003e569acd540a733", size = 268404 },
+ { url = "https://files.pythonhosted.org/packages/e0/50/9810c5c29350f7258180dfdcb2e52783a0632862eb334c4896ac717cebcb/multidict-6.7.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:da62917e6076f512daccfbbde27f46fed1c98fee202f0559adec8ee0de67f71a", size = 269456 },
+ { url = "https://files.pythonhosted.org/packages/f3/8d/5e5be3ced1d12966fefb5c4ea3b2a5b480afcea36406559442c6e31d4a48/multidict-6.7.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bfde23ef6ed9db7eaee6c37dcec08524cb43903c60b285b172b6c094711b3961", size = 256322 },
+ { url = "https://files.pythonhosted.org/packages/31/6e/d8a26d81ac166a5592782d208dd90dfdc0a7a218adaa52b45a672b46c122/multidict-6.7.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3758692429e4e32f1ba0df23219cd0b4fc0a52f476726fff9337d1a57676a582", size = 253955 },
+ { url = "https://files.pythonhosted.org/packages/59/4c/7c672c8aad41534ba619bcd4ade7a0dc87ed6b8b5c06149b85d3dd03f0cd/multidict-6.7.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:398c1478926eca669f2fd6a5856b6de9c0acf23a2cb59a14c0ba5844fa38077e", size = 251254 },
+ { url = "https://files.pythonhosted.org/packages/7b/bd/84c24de512cbafbdbc39439f74e967f19570ce7924e3007174a29c348916/multidict-6.7.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:c102791b1c4f3ab36ce4101154549105a53dc828f016356b3e3bcae2e3a039d3", size = 252059 },
+ { url = "https://files.pythonhosted.org/packages/fa/ba/f5449385510825b73d01c2d4087bf6d2fccc20a2d42ac34df93191d3dd03/multidict-6.7.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:a088b62bd733e2ad12c50dad01b7d0166c30287c166e137433d3b410add807a6", size = 263588 },
+ { url = "https://files.pythonhosted.org/packages/d7/11/afc7c677f68f75c84a69fe37184f0f82fce13ce4b92f49f3db280b7e92b3/multidict-6.7.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:3d51ff4785d58d3f6c91bdbffcb5e1f7ddfda557727043aa20d20ec4f65e324a", size = 259642 },
+ { url = "https://files.pythonhosted.org/packages/2b/17/ebb9644da78c4ab36403739e0e6e0e30ebb135b9caf3440825001a0bddcb/multidict-6.7.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fc5907494fccf3e7d3f94f95c91d6336b092b5fc83811720fae5e2765890dfba", size = 251377 },
+ { url = "https://files.pythonhosted.org/packages/ca/a4/840f5b97339e27846c46307f2530a2805d9d537d8b8bd416af031cad7fa0/multidict-6.7.1-cp312-cp312-win32.whl", hash = "sha256:28ca5ce2fd9716631133d0e9a9b9a745ad7f60bac2bccafb56aa380fc0b6c511", size = 41887 },
+ { url = "https://files.pythonhosted.org/packages/80/31/0b2517913687895f5904325c2069d6a3b78f66cc641a86a2baf75a05dcbb/multidict-6.7.1-cp312-cp312-win_amd64.whl", hash = "sha256:fcee94dfbd638784645b066074b338bc9cc155d4b4bffa4adce1615c5a426c19", size = 46053 },
+ { url = "https://files.pythonhosted.org/packages/0c/5b/aba28e4ee4006ae4c7df8d327d31025d760ffa992ea23812a601d226e682/multidict-6.7.1-cp312-cp312-win_arm64.whl", hash = "sha256:ba0a9fb644d0c1a2194cf7ffb043bd852cea63a57f66fbd33959f7dae18517bf", size = 43307 },
+ { url = "https://files.pythonhosted.org/packages/f2/22/929c141d6c0dba87d3e1d38fbdf1ba8baba86b7776469f2bc2d3227a1e67/multidict-6.7.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:2b41f5fed0ed563624f1c17630cb9941cf2309d4df00e494b551b5f3e3d67a23", size = 76174 },
+ { url = "https://files.pythonhosted.org/packages/c7/75/bc704ae15fee974f8fccd871305e254754167dce5f9e42d88a2def741a1d/multidict-6.7.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:84e61e3af5463c19b67ced91f6c634effb89ef8bfc5ca0267f954451ed4bb6a2", size = 45116 },
+ { url = "https://files.pythonhosted.org/packages/79/76/55cd7186f498ed080a18440c9013011eb548f77ae1b297206d030eb1180a/multidict-6.7.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:935434b9853c7c112eee7ac891bc4cb86455aa631269ae35442cb316790c1445", size = 43524 },
+ { url = "https://files.pythonhosted.org/packages/e9/3c/414842ef8d5a1628d68edee29ba0e5bcf235dbfb3ccd3ea303a7fe8c72ff/multidict-6.7.1-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:432feb25a1cb67fe82a9680b4d65fb542e4635cb3166cd9c01560651ad60f177", size = 249368 },
+ { url = "https://files.pythonhosted.org/packages/f6/32/befed7f74c458b4a525e60519fe8d87eef72bb1e99924fa2b0f9d97a221e/multidict-6.7.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e82d14e3c948952a1a85503817e038cba5905a3352de76b9a465075d072fba23", size = 256952 },
+ { url = "https://files.pythonhosted.org/packages/03/d6/c878a44ba877f366630c860fdf74bfb203c33778f12b6ac274936853c451/multidict-6.7.1-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:4cfb48c6ea66c83bcaaf7e4dfa7ec1b6bbcf751b7db85a328902796dfde4c060", size = 240317 },
+ { url = "https://files.pythonhosted.org/packages/68/49/57421b4d7ad2e9e60e25922b08ceb37e077b90444bde6ead629095327a6f/multidict-6.7.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:1d540e51b7e8e170174555edecddbd5538105443754539193e3e1061864d444d", size = 267132 },
+ { url = "https://files.pythonhosted.org/packages/b7/fe/ec0edd52ddbcea2a2e89e174f0206444a61440b40f39704e64dc807a70bd/multidict-6.7.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:273d23f4b40f3dce4d6c8a821c741a86dec62cded82e1175ba3d99be128147ed", size = 268140 },
+ { url = "https://files.pythonhosted.org/packages/b0/73/6e1b01cbeb458807aa0831742232dbdd1fa92bfa33f52a3f176b4ff3dc11/multidict-6.7.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9d624335fd4fa1c08a53f8b4be7676ebde19cd092b3895c421045ca87895b429", size = 254277 },
+ { url = "https://files.pythonhosted.org/packages/6a/b2/5fb8c124d7561a4974c342bc8c778b471ebbeb3cc17df696f034a7e9afe7/multidict-6.7.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:12fad252f8b267cc75b66e8fc51b3079604e8d43a75428ffe193cd9e2195dfd6", size = 252291 },
+ { url = "https://files.pythonhosted.org/packages/5a/96/51d4e4e06bcce92577fcd488e22600bd38e4fd59c20cb49434d054903bd2/multidict-6.7.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:03ede2a6ffbe8ef936b92cb4529f27f42be7f56afcdab5ab739cd5f27fb1cbf9", size = 250156 },
+ { url = "https://files.pythonhosted.org/packages/db/6b/420e173eec5fba721a50e2a9f89eda89d9c98fded1124f8d5c675f7a0c0f/multidict-6.7.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:90efbcf47dbe33dcf643a1e400d67d59abeac5db07dc3f27d6bdeae497a2198c", size = 249742 },
+ { url = "https://files.pythonhosted.org/packages/44/a3/ec5b5bd98f306bc2aa297b8c6f11a46714a56b1e6ef5ebda50a4f5d7c5fb/multidict-6.7.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:5c4b9bfc148f5a91be9244d6264c53035c8a0dcd2f51f1c3c6e30e30ebaa1c84", size = 262221 },
+ { url = "https://files.pythonhosted.org/packages/cd/f7/e8c0d0da0cd1e28d10e624604e1a36bcc3353aaebdfdc3a43c72bc683a12/multidict-6.7.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:401c5a650f3add2472d1d288c26deebc540f99e2fb83e9525007a74cd2116f1d", size = 258664 },
+ { url = "https://files.pythonhosted.org/packages/52/da/151a44e8016dd33feed44f730bd856a66257c1ee7aed4f44b649fb7edeb3/multidict-6.7.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:97891f3b1b3ffbded884e2916cacf3c6fc87b66bb0dde46f7357404750559f33", size = 249490 },
+ { url = "https://files.pythonhosted.org/packages/87/af/a3b86bf9630b732897f6fc3f4c4714b90aa4361983ccbdcd6c0339b21b0c/multidict-6.7.1-cp313-cp313-win32.whl", hash = "sha256:e1c5988359516095535c4301af38d8a8838534158f649c05dd1050222321bcb3", size = 41695 },
+ { url = "https://files.pythonhosted.org/packages/b2/35/e994121b0e90e46134673422dd564623f93304614f5d11886b1b3e06f503/multidict-6.7.1-cp313-cp313-win_amd64.whl", hash = "sha256:960c83bf01a95b12b08fd54324a4eb1d5b52c88932b5cba5d6e712bb3ed12eb5", size = 45884 },
+ { url = "https://files.pythonhosted.org/packages/ca/61/42d3e5dbf661242a69c97ea363f2d7b46c567da8eadef8890022be6e2ab0/multidict-6.7.1-cp313-cp313-win_arm64.whl", hash = "sha256:563fe25c678aaba333d5399408f5ec3c383ca5b663e7f774dd179a520b8144df", size = 43122 },
+ { url = "https://files.pythonhosted.org/packages/6d/b3/e6b21c6c4f314bb956016b0b3ef2162590a529b84cb831c257519e7fde44/multidict-6.7.1-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:c76c4bec1538375dad9d452d246ca5368ad6e1c9039dadcf007ae59c70619ea1", size = 83175 },
+ { url = "https://files.pythonhosted.org/packages/fb/76/23ecd2abfe0957b234f6c960f4ade497f55f2c16aeb684d4ecdbf1c95791/multidict-6.7.1-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:57b46b24b5d5ebcc978da4ec23a819a9402b4228b8a90d9c656422b4bdd8a963", size = 48460 },
+ { url = "https://files.pythonhosted.org/packages/c4/57/a0ed92b23f3a042c36bc4227b72b97eca803f5f1801c1ab77c8a212d455e/multidict-6.7.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:e954b24433c768ce78ab7929e84ccf3422e46deb45a4dc9f93438f8217fa2d34", size = 46930 },
+ { url = "https://files.pythonhosted.org/packages/b5/66/02ec7ace29162e447f6382c495dc95826bf931d3818799bbef11e8f7df1a/multidict-6.7.1-cp313-cp313t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:3bd231490fa7217cc832528e1cd8752a96f0125ddd2b5749390f7c3ec8721b65", size = 242582 },
+ { url = "https://files.pythonhosted.org/packages/58/18/64f5a795e7677670e872673aca234162514696274597b3708b2c0d276cce/multidict-6.7.1-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:253282d70d67885a15c8a7716f3a73edf2d635793ceda8173b9ecc21f2fb8292", size = 250031 },
+ { url = "https://files.pythonhosted.org/packages/c8/ed/e192291dbbe51a8290c5686f482084d31bcd9d09af24f63358c3d42fd284/multidict-6.7.1-cp313-cp313t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:0b4c48648d7649c9335cf1927a8b87fa692de3dcb15faa676c6a6f1f1aabda43", size = 228596 },
+ { url = "https://files.pythonhosted.org/packages/1e/7e/3562a15a60cf747397e7f2180b0a11dc0c38d9175a650e75fa1b4d325e15/multidict-6.7.1-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:98bc624954ec4d2c7cb074b8eefc2b5d0ce7d482e410df446414355d158fe4ca", size = 257492 },
+ { url = "https://files.pythonhosted.org/packages/24/02/7d0f9eae92b5249bb50ac1595b295f10e263dd0078ebb55115c31e0eaccd/multidict-6.7.1-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:1b99af4d9eec0b49927b4402bcbb58dea89d3e0db8806a4086117019939ad3dd", size = 255899 },
+ { url = "https://files.pythonhosted.org/packages/00/e3/9b60ed9e23e64c73a5cde95269ef1330678e9c6e34dd4eb6b431b85b5a10/multidict-6.7.1-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6aac4f16b472d5b7dc6f66a0d49dd57b0e0902090be16594dc9ebfd3d17c47e7", size = 247970 },
+ { url = "https://files.pythonhosted.org/packages/3e/06/538e58a63ed5cfb0bd4517e346b91da32fde409d839720f664e9a4ae4f9d/multidict-6.7.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:21f830fe223215dffd51f538e78c172ed7c7f60c9b96a2bf05c4848ad49921c3", size = 245060 },
+ { url = "https://files.pythonhosted.org/packages/b2/2f/d743a3045a97c895d401e9bd29aaa09b94f5cbdf1bd561609e5a6c431c70/multidict-6.7.1-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:f5dd81c45b05518b9aa4da4aa74e1c93d715efa234fd3e8a179df611cc85e5f4", size = 235888 },
+ { url = "https://files.pythonhosted.org/packages/38/83/5a325cac191ab28b63c52f14f1131f3b0a55ba3b9aa65a6d0bf2a9b921a0/multidict-6.7.1-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:eb304767bca2bb92fb9c5bd33cedc95baee5bb5f6c88e63706533a1c06ad08c8", size = 243554 },
+ { url = "https://files.pythonhosted.org/packages/20/1f/9d2327086bd15da2725ef6aae624208e2ef828ed99892b17f60c344e57ed/multidict-6.7.1-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:c9035dde0f916702850ef66460bc4239d89d08df4d02023a5926e7446724212c", size = 252341 },
+ { url = "https://files.pythonhosted.org/packages/e8/2c/2a1aa0280cf579d0f6eed8ee5211c4f1730bd7e06c636ba2ee6aafda302e/multidict-6.7.1-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:af959b9beeb66c822380f222f0e0a1889331597e81f1ded7f374f3ecb0fd6c52", size = 246391 },
+ { url = "https://files.pythonhosted.org/packages/e5/03/7ca022ffc36c5a3f6e03b179a5ceb829be9da5783e6fe395f347c0794680/multidict-6.7.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:41f2952231456154ee479651491e94118229844dd7226541788be783be2b5108", size = 243422 },
+ { url = "https://files.pythonhosted.org/packages/dc/1d/b31650eab6c5778aceed46ba735bd97f7c7d2f54b319fa916c0f96e7805b/multidict-6.7.1-cp313-cp313t-win32.whl", hash = "sha256:df9f19c28adcb40b6aae30bbaa1478c389efd50c28d541d76760199fc1037c32", size = 47770 },
+ { url = "https://files.pythonhosted.org/packages/ac/5b/2d2d1d522e51285bd61b1e20df8f47ae1a9d80839db0b24ea783b3832832/multidict-6.7.1-cp313-cp313t-win_amd64.whl", hash = "sha256:d54ecf9f301853f2c5e802da559604b3e95bb7a3b01a9c295c6ee591b9882de8", size = 53109 },
+ { url = "https://files.pythonhosted.org/packages/3d/a3/cc409ba012c83ca024a308516703cf339bdc4b696195644a7215a5164a24/multidict-6.7.1-cp313-cp313t-win_arm64.whl", hash = "sha256:5a37ca18e360377cfda1d62f5f382ff41f2b8c4ccb329ed974cc2e1643440118", size = 45573 },
+ { url = "https://files.pythonhosted.org/packages/91/cc/db74228a8be41884a567e88a62fd589a913708fcf180d029898c17a9a371/multidict-6.7.1-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:8f333ec9c5eb1b7105e3b84b53141e66ca05a19a605368c55450b6ba208cb9ee", size = 75190 },
+ { url = "https://files.pythonhosted.org/packages/d5/22/492f2246bb5b534abd44804292e81eeaf835388901f0c574bac4eeec73c5/multidict-6.7.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:a407f13c188f804c759fc6a9f88286a565c242a76b27626594c133b82883b5c2", size = 44486 },
+ { url = "https://files.pythonhosted.org/packages/f1/4f/733c48f270565d78b4544f2baddc2fb2a245e5a8640254b12c36ac7ac68e/multidict-6.7.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:0e161ddf326db5577c3a4cc2d8648f81456e8a20d40415541587a71620d7a7d1", size = 43219 },
+ { url = "https://files.pythonhosted.org/packages/24/bb/2c0c2287963f4259c85e8bcbba9182ced8d7fca65c780c38e99e61629d11/multidict-6.7.1-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:1e3a8bb24342a8201d178c3b4984c26ba81a577c80d4d525727427460a50c22d", size = 245132 },
+ { url = "https://files.pythonhosted.org/packages/a7/f9/44d4b3064c65079d2467888794dea218d1601898ac50222ab8a9a8094460/multidict-6.7.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:97231140a50f5d447d3164f994b86a0bed7cd016e2682f8650d6a9158e14fd31", size = 252420 },
+ { url = "https://files.pythonhosted.org/packages/8b/13/78f7275e73fa17b24c9a51b0bd9d73ba64bb32d0ed51b02a746eb876abe7/multidict-6.7.1-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:6b10359683bd8806a200fd2909e7c8ca3a7b24ec1d8132e483d58e791d881048", size = 233510 },
+ { url = "https://files.pythonhosted.org/packages/4b/25/8167187f62ae3cbd52da7893f58cb036b47ea3fb67138787c76800158982/multidict-6.7.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:283ddac99f7ac25a4acadbf004cb5ae34480bbeb063520f70ce397b281859362", size = 264094 },
+ { url = "https://files.pythonhosted.org/packages/a1/e7/69a3a83b7b030cf283fb06ce074a05a02322359783424d7edf0f15fe5022/multidict-6.7.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:538cec1e18c067d0e6103aa9a74f9e832904c957adc260e61cd9d8cf0c3b3d37", size = 260786 },
+ { url = "https://files.pythonhosted.org/packages/fe/3b/8ec5074bcfc450fe84273713b4b0a0dd47c0249358f5d82eb8104ffe2520/multidict-6.7.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7eee46ccb30ff48a1e35bb818cc90846c6be2b68240e42a78599166722cea709", size = 248483 },
+ { url = "https://files.pythonhosted.org/packages/48/5a/d5a99e3acbca0e29c5d9cba8f92ceb15dce78bab963b308ae692981e3a5d/multidict-6.7.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:fa263a02f4f2dd2d11a7b1bb4362aa7cb1049f84a9235d31adf63f30143469a0", size = 248403 },
+ { url = "https://files.pythonhosted.org/packages/35/48/e58cd31f6c7d5102f2a4bf89f96b9cf7e00b6c6f3d04ecc44417c00a5a3c/multidict-6.7.1-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:2e1425e2f99ec5bd36c15a01b690a1a2456209c5deed58f95469ffb46039ccbb", size = 240315 },
+ { url = "https://files.pythonhosted.org/packages/94/33/1cd210229559cb90b6786c30676bb0c58249ff42f942765f88793b41fdce/multidict-6.7.1-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:497394b3239fc6f0e13a78a3e1b61296e72bf1c5f94b4c4eb80b265c37a131cd", size = 245528 },
+ { url = "https://files.pythonhosted.org/packages/64/f2/6e1107d226278c876c783056b7db43d800bb64c6131cec9c8dfb6903698e/multidict-6.7.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:233b398c29d3f1b9676b4b6f75c518a06fcb2ea0b925119fb2c1bc35c05e1601", size = 258784 },
+ { url = "https://files.pythonhosted.org/packages/4d/c1/11f664f14d525e4a1b5327a82d4de61a1db604ab34c6603bb3c2cc63ad34/multidict-6.7.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:93b1818e4a6e0930454f0f2af7dfce69307ca03cdcfb3739bf4d91241967b6c1", size = 251980 },
+ { url = "https://files.pythonhosted.org/packages/e1/9f/75a9ac888121d0c5bbd4ecf4eead45668b1766f6baabfb3b7f66a410e231/multidict-6.7.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:f33dc2a3abe9249ea5d8360f969ec7f4142e7ac45ee7014d8f8d5acddf178b7b", size = 243602 },
+ { url = "https://files.pythonhosted.org/packages/9a/e7/50bf7b004cc8525d80dbbbedfdc7aed3e4c323810890be4413e589074032/multidict-6.7.1-cp314-cp314-win32.whl", hash = "sha256:3ab8b9d8b75aef9df299595d5388b14530839f6422333357af1339443cff777d", size = 40930 },
+ { url = "https://files.pythonhosted.org/packages/e0/bf/52f25716bbe93745595800f36fb17b73711f14da59ed0bb2eba141bc9f0f/multidict-6.7.1-cp314-cp314-win_amd64.whl", hash = "sha256:5e01429a929600e7dab7b166062d9bb54a5eed752384c7384c968c2afab8f50f", size = 45074 },
+ { url = "https://files.pythonhosted.org/packages/97/ab/22803b03285fa3a525f48217963da3a65ae40f6a1b6f6cf2768879e208f9/multidict-6.7.1-cp314-cp314-win_arm64.whl", hash = "sha256:4885cb0e817aef5d00a2e8451d4665c1808378dc27c2705f1bf4ef8505c0d2e5", size = 42471 },
+ { url = "https://files.pythonhosted.org/packages/e0/6d/f9293baa6146ba9507e360ea0292b6422b016907c393e2f63fc40ab7b7b5/multidict-6.7.1-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:0458c978acd8e6ea53c81eefaddbbee9c6c5e591f41b3f5e8e194780fe026581", size = 82401 },
+ { url = "https://files.pythonhosted.org/packages/7a/68/53b5494738d83558d87c3c71a486504d8373421c3e0dbb6d0db48ad42ee0/multidict-6.7.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:c0abd12629b0af3cf590982c0b413b1e7395cd4ec026f30986818ab95bfaa94a", size = 48143 },
+ { url = "https://files.pythonhosted.org/packages/37/e8/5284c53310dcdc99ce5d66563f6e5773531a9b9fe9ec7a615e9bc306b05f/multidict-6.7.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:14525a5f61d7d0c94b368a42cff4c9a4e7ba2d52e2672a7b23d84dc86fb02b0c", size = 46507 },
+ { url = "https://files.pythonhosted.org/packages/e4/fc/6800d0e5b3875568b4083ecf5f310dcf91d86d52573160834fb4bfcf5e4f/multidict-6.7.1-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:17307b22c217b4cf05033dabefe68255a534d637c6c9b0cc8382718f87be4262", size = 239358 },
+ { url = "https://files.pythonhosted.org/packages/41/75/4ad0973179361cdf3a113905e6e088173198349131be2b390f9fa4da5fc6/multidict-6.7.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7a7e590ff876a3eaf1c02a4dfe0724b6e69a9e9de6d8f556816f29c496046e59", size = 246884 },
+ { url = "https://files.pythonhosted.org/packages/c3/9c/095bb28b5da139bd41fb9a5d5caff412584f377914bd8787c2aa98717130/multidict-6.7.1-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:5fa6a95dfee63893d80a34758cd0e0c118a30b8dcb46372bf75106c591b77889", size = 225878 },
+ { url = "https://files.pythonhosted.org/packages/07/d0/c0a72000243756e8f5a277b6b514fa005f2c73d481b7d9e47cd4568aa2e4/multidict-6.7.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a0543217a6a017692aa6ae5cc39adb75e587af0f3a82288b1492eb73dd6cc2a4", size = 253542 },
+ { url = "https://files.pythonhosted.org/packages/c0/6b/f69da15289e384ecf2a68837ec8b5ad8c33e973aa18b266f50fe55f24b8c/multidict-6.7.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:f99fe611c312b3c1c0ace793f92464d8cd263cc3b26b5721950d977b006b6c4d", size = 252403 },
+ { url = "https://files.pythonhosted.org/packages/a2/76/b9669547afa5a1a25cd93eaca91c0da1c095b06b6d2d8ec25b713588d3a1/multidict-6.7.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9004d8386d133b7e6135679424c91b0b854d2d164af6ea3f289f8f2761064609", size = 244889 },
+ { url = "https://files.pythonhosted.org/packages/7e/a9/a50d2669e506dad33cfc45b5d574a205587b7b8a5f426f2fbb2e90882588/multidict-6.7.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e628ef0e6859ffd8273c69412a2465c4be4a9517d07261b33334b5ec6f3c7489", size = 241982 },
+ { url = "https://files.pythonhosted.org/packages/c5/bb/1609558ad8b456b4827d3c5a5b775c93b87878fd3117ed3db3423dfbce1b/multidict-6.7.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:841189848ba629c3552035a6a7f5bf3b02eb304e9fea7492ca220a8eda6b0e5c", size = 232415 },
+ { url = "https://files.pythonhosted.org/packages/d8/59/6f61039d2aa9261871e03ab9dc058a550d240f25859b05b67fd70f80d4b3/multidict-6.7.1-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:ce1bbd7d780bb5a0da032e095c951f7014d6b0a205f8318308140f1a6aba159e", size = 240337 },
+ { url = "https://files.pythonhosted.org/packages/a1/29/fdc6a43c203890dc2ae9249971ecd0c41deaedfe00d25cb6564b2edd99eb/multidict-6.7.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:b26684587228afed0d50cf804cc71062cc9c1cdf55051c4c6345d372947b268c", size = 248788 },
+ { url = "https://files.pythonhosted.org/packages/a9/14/a153a06101323e4cf086ecee3faadba52ff71633d471f9685c42e3736163/multidict-6.7.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:9f9af11306994335398293f9958071019e3ab95e9a707dc1383a35613f6abcb9", size = 242842 },
+ { url = "https://files.pythonhosted.org/packages/41/5f/604ae839e64a4a6efc80db94465348d3b328ee955e37acb24badbcd24d83/multidict-6.7.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:b4938326284c4f1224178a560987b6cf8b4d38458b113d9b8c1db1a836e640a2", size = 240237 },
+ { url = "https://files.pythonhosted.org/packages/5f/60/c3a5187bf66f6fb546ff4ab8fb5a077cbdd832d7b1908d4365c7f74a1917/multidict-6.7.1-cp314-cp314t-win32.whl", hash = "sha256:98655c737850c064a65e006a3df7c997cd3b220be4ec8fe26215760b9697d4d7", size = 48008 },
+ { url = "https://files.pythonhosted.org/packages/0c/f7/addf1087b860ac60e6f382240f64fb99f8bfb532bb06f7c542b83c29ca61/multidict-6.7.1-cp314-cp314t-win_amd64.whl", hash = "sha256:497bde6223c212ba11d462853cfa4f0ae6ef97465033e7dc9940cdb3ab5b48e5", size = 53542 },
+ { url = "https://files.pythonhosted.org/packages/4c/81/4629d0aa32302ef7b2ec65c75a728cc5ff4fa410c50096174c1632e70b3e/multidict-6.7.1-cp314-cp314t-win_arm64.whl", hash = "sha256:2bbd113e0d4af5db41d5ebfe9ccaff89de2120578164f86a5d17d5a576d1e5b2", size = 44719 },
+ { url = "https://files.pythonhosted.org/packages/81/08/7036c080d7117f28a4af526d794aab6a84463126db031b007717c1a6676e/multidict-6.7.1-py3-none-any.whl", hash = "sha256:55d97cc6dae627efa6a6e548885712d4864b81110ac76fa4e534c03819fa4a56", size = 12319 },
+]
+
+[[package]]
+name = "numpy"
+version = "2.4.4"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d7/9f/b8cef5bffa569759033adda9481211426f12f53299629b410340795c2514/numpy-2.4.4.tar.gz", hash = "sha256:2d390634c5182175533585cc89f3608a4682ccb173cc9bb940b2881c8d6f8fa0", size = 20731587 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ef/c6/4218570d8c8ecc9704b5157a3348e486e84ef4be0ed3e38218ab473c83d2/numpy-2.4.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f983334aea213c99992053ede6168500e5f086ce74fbc4acc3f2b00f5762e9db", size = 16976799 },
+ { url = "https://files.pythonhosted.org/packages/dd/92/b4d922c4a5f5dab9ed44e6153908a5c665b71acf183a83b93b690996e39b/numpy-2.4.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:72944b19f2324114e9dc86a159787333b77874143efcf89a5167ef83cfee8af0", size = 14971552 },
+ { url = "https://files.pythonhosted.org/packages/8a/dc/df98c095978fa6ee7b9a9387d1d58cbb3d232d0e69ad169a4ce784bde4fd/numpy-2.4.4-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:86b6f55f5a352b48d7fbfd2dbc3d5b780b2d79f4d3c121f33eb6efb22e9a2015", size = 5476566 },
+ { url = "https://files.pythonhosted.org/packages/28/34/b3fdcec6e725409223dd27356bdf5a3c2cc2282e428218ecc9cb7acc9763/numpy-2.4.4-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:ba1f4fc670ed79f876f70082eff4f9583c15fb9a4b89d6188412de4d18ae2f40", size = 6806482 },
+ { url = "https://files.pythonhosted.org/packages/68/62/63417c13aa35d57bee1337c67446761dc25ea6543130cf868eace6e8157b/numpy-2.4.4-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8a87ec22c87be071b6bdbd27920b129b94f2fc964358ce38f3822635a3e2e03d", size = 15973376 },
+ { url = "https://files.pythonhosted.org/packages/cf/c5/9fcb7e0e69cef59cf10c746b84f7d58b08bc66a6b7d459783c5a4f6101a6/numpy-2.4.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:df3775294accfdd75f32c74ae39fcba920c9a378a2fc18a12b6820aa8c1fb502", size = 16925137 },
+ { url = "https://files.pythonhosted.org/packages/7e/43/80020edacb3f84b9efdd1591120a4296462c23fd8db0dde1666f6ef66f13/numpy-2.4.4-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:0d4e437e295f18ec29bc79daf55e8a47a9113df44d66f702f02a293d93a2d6dd", size = 17329414 },
+ { url = "https://files.pythonhosted.org/packages/fd/06/af0658593b18a5f73532d377188b964f239eb0894e664a6c12f484472f97/numpy-2.4.4-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:6aa3236c78803afbcb255045fbef97a9e25a1f6c9888357d205ddc42f4d6eba5", size = 18658397 },
+ { url = "https://files.pythonhosted.org/packages/e6/ce/13a09ed65f5d0ce5c7dd0669250374c6e379910f97af2c08c57b0608eee4/numpy-2.4.4-cp311-cp311-win32.whl", hash = "sha256:30caa73029a225b2d40d9fae193e008e24b2026b7ee1a867b7ee8d96ca1a448e", size = 6239499 },
+ { url = "https://files.pythonhosted.org/packages/bd/63/05d193dbb4b5eec1eca73822d80da98b511f8328ad4ae3ca4caf0f4db91d/numpy-2.4.4-cp311-cp311-win_amd64.whl", hash = "sha256:6bbe4eb67390b0a0265a2c25458f6b90a409d5d069f1041e6aff1e27e3d9a79e", size = 12614257 },
+ { url = "https://files.pythonhosted.org/packages/87/c5/8168052f080c26fa984c413305012be54741c9d0d74abd7fbeeccae3889f/numpy-2.4.4-cp311-cp311-win_arm64.whl", hash = "sha256:fcfe2045fd2e8f3cb0ce9d4ba6dba6333b8fa05bb8a4939c908cd43322d14c7e", size = 10486775 },
+ { url = "https://files.pythonhosted.org/packages/28/05/32396bec30fb2263770ee910142f49c1476d08e8ad41abf8403806b520ce/numpy-2.4.4-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:15716cfef24d3a9762e3acdf87e27f58dc823d1348f765bbea6bef8c639bfa1b", size = 16689272 },
+ { url = "https://files.pythonhosted.org/packages/c5/f3/a983d28637bfcd763a9c7aafdb6d5c0ebf3d487d1e1459ffdb57e2f01117/numpy-2.4.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:23cbfd4c17357c81021f21540da84ee282b9c8fba38a03b7b9d09ba6b951421e", size = 14699573 },
+ { url = "https://files.pythonhosted.org/packages/9b/fd/e5ecca1e78c05106d98028114f5c00d3eddb41207686b2b7de3e477b0e22/numpy-2.4.4-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:8b3b60bb7cba2c8c81837661c488637eee696f59a877788a396d33150c35d842", size = 5204782 },
+ { url = "https://files.pythonhosted.org/packages/de/2f/702a4594413c1a8632092beae8aba00f1d67947389369b3777aed783fdca/numpy-2.4.4-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:e4a010c27ff6f210ff4c6ef34394cd61470d01014439b192ec22552ee867f2a8", size = 6552038 },
+ { url = "https://files.pythonhosted.org/packages/7f/37/eed308a8f56cba4d1fdf467a4fc67ef4ff4bf1c888f5fc980481890104b1/numpy-2.4.4-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f9e75681b59ddaa5e659898085ae0eaea229d054f2ac0c7e563a62205a700121", size = 15670666 },
+ { url = "https://files.pythonhosted.org/packages/0a/0d/0e3ecece05b7a7e87ab9fb587855548da437a061326fff64a223b6dcb78a/numpy-2.4.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:81f4a14bee47aec54f883e0cad2d73986640c1590eb9bfaaba7ad17394481e6e", size = 16645480 },
+ { url = "https://files.pythonhosted.org/packages/34/49/f2312c154b82a286758ee2f1743336d50651f8b5195db18cdb63675ff649/numpy-2.4.4-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:62d6b0f03b694173f9fcb1fb317f7222fd0b0b103e784c6549f5e53a27718c44", size = 17020036 },
+ { url = "https://files.pythonhosted.org/packages/7b/e9/736d17bd77f1b0ec4f9901aaec129c00d59f5d84d5e79bba540ef12c2330/numpy-2.4.4-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fbc356aae7adf9e6336d336b9c8111d390a05df88f1805573ebb0807bd06fd1d", size = 18368643 },
+ { url = "https://files.pythonhosted.org/packages/63/f6/d417977c5f519b17c8a5c3bc9e8304b0908b0e21136fe43bf628a1343914/numpy-2.4.4-cp312-cp312-win32.whl", hash = "sha256:0d35aea54ad1d420c812bfa0385c71cd7cc5bcf7c65fed95fc2cd02fe8c79827", size = 5961117 },
+ { url = "https://files.pythonhosted.org/packages/2d/5b/e1deebf88ff431b01b7406ca3583ab2bbb90972bbe1c568732e49c844f7e/numpy-2.4.4-cp312-cp312-win_amd64.whl", hash = "sha256:b5f0362dc928a6ecd9db58868fca5e48485205e3855957bdedea308f8672ea4a", size = 12320584 },
+ { url = "https://files.pythonhosted.org/packages/58/89/e4e856ac82a68c3ed64486a544977d0e7bdd18b8da75b78a577ca31c4395/numpy-2.4.4-cp312-cp312-win_arm64.whl", hash = "sha256:846300f379b5b12cc769334464656bc882e0735d27d9726568bc932fdc49d5ec", size = 10221450 },
+ { url = "https://files.pythonhosted.org/packages/14/1d/d0a583ce4fefcc3308806a749a536c201ed6b5ad6e1322e227ee4848979d/numpy-2.4.4-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:08f2e31ed5e6f04b118e49821397f12767934cfdd12a1ce86a058f91e004ee50", size = 16684933 },
+ { url = "https://files.pythonhosted.org/packages/c1/62/2b7a48fbb745d344742c0277f01286dead15f3f68e4f359fbfcf7b48f70f/numpy-2.4.4-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e823b8b6edc81e747526f70f71a9c0a07ac4e7ad13020aa736bb7c9d67196115", size = 14694532 },
+ { url = "https://files.pythonhosted.org/packages/e5/87/499737bfba066b4a3bebff24a8f1c5b2dee410b209bc6668c9be692580f0/numpy-2.4.4-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:4a19d9dba1a76618dd86b164d608566f393f8ec6ac7c44f0cc879011c45e65af", size = 5199661 },
+ { url = "https://files.pythonhosted.org/packages/cd/da/464d551604320d1491bc345efed99b4b7034143a85787aab78d5691d5a0e/numpy-2.4.4-cp313-cp313-macosx_14_0_x86_64.whl", hash = "sha256:d2a8490669bfe99a233298348acc2d824d496dee0e66e31b66a6022c2ad74a5c", size = 6547539 },
+ { url = "https://files.pythonhosted.org/packages/7d/90/8d23e3b0dafd024bf31bdec225b3bb5c2dbfa6912f8a53b8659f21216cbf/numpy-2.4.4-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:45dbed2ab436a9e826e302fcdcbe9133f9b0006e5af7168afb8963a6520da103", size = 15668806 },
+ { url = "https://files.pythonhosted.org/packages/d1/73/a9d864e42a01896bb5974475438f16086be9ba1f0d19d0bb7a07427c4a8b/numpy-2.4.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c901b15172510173f5cb310eae652908340f8dede90fff9e3bf6c0d8dfd92f83", size = 16632682 },
+ { url = "https://files.pythonhosted.org/packages/34/fb/14570d65c3bde4e202a031210475ae9cde9b7686a2e7dc97ee67d2833b35/numpy-2.4.4-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:99d838547ace2c4aace6c4f76e879ddfe02bb58a80c1549928477862b7a6d6ed", size = 17019810 },
+ { url = "https://files.pythonhosted.org/packages/8a/77/2ba9d87081fd41f6d640c83f26fb7351e536b7ce6dd9061b6af5904e8e46/numpy-2.4.4-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:0aec54fd785890ecca25a6003fd9a5aed47ad607bbac5cd64f836ad8666f4959", size = 18357394 },
+ { url = "https://files.pythonhosted.org/packages/a2/23/52666c9a41708b0853fa3b1a12c90da38c507a3074883823126d4e9d5b30/numpy-2.4.4-cp313-cp313-win32.whl", hash = "sha256:07077278157d02f65c43b1b26a3886bce886f95d20aabd11f87932750dfb14ed", size = 5959556 },
+ { url = "https://files.pythonhosted.org/packages/57/fb/48649b4971cde70d817cf97a2a2fdc0b4d8308569f1dd2f2611959d2e0cf/numpy-2.4.4-cp313-cp313-win_amd64.whl", hash = "sha256:5c70f1cc1c4efbe316a572e2d8b9b9cc44e89b95f79ca3331553fbb63716e2bf", size = 12317311 },
+ { url = "https://files.pythonhosted.org/packages/ba/d8/11490cddd564eb4de97b4579ef6bfe6a736cc07e94c1598590ae25415e01/numpy-2.4.4-cp313-cp313-win_arm64.whl", hash = "sha256:ef4059d6e5152fa1a39f888e344c73fdc926e1b2dd58c771d67b0acfbf2aa67d", size = 10222060 },
+ { url = "https://files.pythonhosted.org/packages/99/5d/dab4339177a905aad3e2221c915b35202f1ec30d750dd2e5e9d9a72b804b/numpy-2.4.4-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:4bbc7f303d125971f60ec0aaad5e12c62d0d2c925f0ab1273debd0e4ba37aba5", size = 14822302 },
+ { url = "https://files.pythonhosted.org/packages/eb/e4/0564a65e7d3d97562ed6f9b0fd0fb0a6f559ee444092f105938b50043876/numpy-2.4.4-cp313-cp313t-macosx_14_0_arm64.whl", hash = "sha256:4d6d57903571f86180eb98f8f0c839fa9ebbfb031356d87f1361be91e433f5b7", size = 5327407 },
+ { url = "https://files.pythonhosted.org/packages/29/8d/35a3a6ce5ad371afa58b4700f1c820f8f279948cca32524e0a695b0ded83/numpy-2.4.4-cp313-cp313t-macosx_14_0_x86_64.whl", hash = "sha256:4636de7fd195197b7535f231b5de9e4b36d2c440b6e566d2e4e4746e6af0ca93", size = 6647631 },
+ { url = "https://files.pythonhosted.org/packages/f4/da/477731acbd5a58a946c736edfdabb2ac5b34c3d08d1ba1a7b437fa0884df/numpy-2.4.4-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ad2e2ef14e0b04e544ea2fa0a36463f847f113d314aa02e5b402fdf910ef309e", size = 15727691 },
+ { url = "https://files.pythonhosted.org/packages/e6/db/338535d9b152beabeb511579598418ba0212ce77cf9718edd70262cc4370/numpy-2.4.4-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a285b3b96f951841799528cd1f4f01cd70e7e0204b4abebac9463eecfcf2a40", size = 16681241 },
+ { url = "https://files.pythonhosted.org/packages/e2/a9/ad248e8f58beb7a0219b413c9c7d8151c5d285f7f946c3e26695bdbbe2df/numpy-2.4.4-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:f8474c4241bc18b750be2abea9d7a9ec84f46ef861dbacf86a4f6e043401f79e", size = 17085767 },
+ { url = "https://files.pythonhosted.org/packages/b5/1a/3b88ccd3694681356f70da841630e4725a7264d6a885c8d442a697e1146b/numpy-2.4.4-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:4e874c976154687c1f71715b034739b45c7711bec81db01914770373d125e392", size = 18403169 },
+ { url = "https://files.pythonhosted.org/packages/c2/c9/fcfd5d0639222c6eac7f304829b04892ef51c96a75d479214d77e3ce6e33/numpy-2.4.4-cp313-cp313t-win32.whl", hash = "sha256:9c585a1790d5436a5374bac930dad6ed244c046ed91b2b2a3634eb2971d21008", size = 6083477 },
+ { url = "https://files.pythonhosted.org/packages/d5/e3/3938a61d1c538aaec8ed6fd6323f57b0c2d2d2219512434c5c878db76553/numpy-2.4.4-cp313-cp313t-win_amd64.whl", hash = "sha256:93e15038125dc1e5345d9b5b68aa7f996ec33b98118d18c6ca0d0b7d6198b7e8", size = 12457487 },
+ { url = "https://files.pythonhosted.org/packages/97/6a/7e345032cc60501721ef94e0e30b60f6b0bd601f9174ebd36389a2b86d40/numpy-2.4.4-cp313-cp313t-win_arm64.whl", hash = "sha256:0dfd3f9d3adbe2920b68b5cd3d51444e13a10792ec7154cd0a2f6e74d4ab3233", size = 10292002 },
+ { url = "https://files.pythonhosted.org/packages/6e/06/c54062f85f673dd5c04cbe2f14c3acb8c8b95e3384869bb8cc9bff8cb9df/numpy-2.4.4-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:f169b9a863d34f5d11b8698ead99febeaa17a13ca044961aa8e2662a6c7766a0", size = 16684353 },
+ { url = "https://files.pythonhosted.org/packages/4c/39/8a320264a84404c74cc7e79715de85d6130fa07a0898f67fb5cd5bd79908/numpy-2.4.4-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:2483e4584a1cb3092da4470b38866634bafb223cbcd551ee047633fd2584599a", size = 14704914 },
+ { url = "https://files.pythonhosted.org/packages/91/fb/287076b2614e1d1044235f50f03748f31fa287e3dbe6abeb35cdfa351eca/numpy-2.4.4-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:2d19e6e2095506d1736b7d80595e0f252d76b89f5e715c35e06e937679ea7d7a", size = 5210005 },
+ { url = "https://files.pythonhosted.org/packages/63/eb/fcc338595309910de6ecabfcef2419a9ce24399680bfb149421fa2df1280/numpy-2.4.4-cp314-cp314-macosx_14_0_x86_64.whl", hash = "sha256:6a246d5914aa1c820c9443ddcee9c02bec3e203b0c080349533fae17727dfd1b", size = 6544974 },
+ { url = "https://files.pythonhosted.org/packages/44/5d/e7e9044032a716cdfaa3fba27a8e874bf1c5f1912a1ddd4ed071bf8a14a6/numpy-2.4.4-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:989824e9faf85f96ec9c7761cd8d29c531ad857bfa1daa930cba85baaecf1a9a", size = 15684591 },
+ { url = "https://files.pythonhosted.org/packages/98/7c/21252050676612625449b4807d6b695b9ce8a7c9e1c197ee6216c8a65c7c/numpy-2.4.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:27a8d92cd10f1382a67d7cf4db7ce18341b66438bdd9f691d7b0e48d104c2a9d", size = 16637700 },
+ { url = "https://files.pythonhosted.org/packages/b1/29/56d2bbef9465db24ef25393383d761a1af4f446a1df9b8cded4fe3a5a5d7/numpy-2.4.4-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:e44319a2953c738205bf3354537979eaa3998ed673395b964c1176083dd46252", size = 17035781 },
+ { url = "https://files.pythonhosted.org/packages/e3/2b/a35a6d7589d21f44cea7d0a98de5ddcbb3d421b2622a5c96b1edf18707c3/numpy-2.4.4-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:e892aff75639bbef0d2a2cfd55535510df26ff92f63c92cd84ef8d4ba5a5557f", size = 18362959 },
+ { url = "https://files.pythonhosted.org/packages/64/c9/d52ec581f2390e0f5f85cbfd80fb83d965fc15e9f0e1aec2195faa142cde/numpy-2.4.4-cp314-cp314-win32.whl", hash = "sha256:1378871da56ca8943c2ba674530924bb8ca40cd228358a3b5f302ad60cf875fc", size = 6008768 },
+ { url = "https://files.pythonhosted.org/packages/fa/22/4cc31a62a6c7b74a8730e31a4274c5dc80e005751e277a2ce38e675e4923/numpy-2.4.4-cp314-cp314-win_amd64.whl", hash = "sha256:715d1c092715954784bc79e1174fc2a90093dc4dc84ea15eb14dad8abdcdeb74", size = 12449181 },
+ { url = "https://files.pythonhosted.org/packages/70/2e/14cda6f4d8e396c612d1bf97f22958e92148801d7e4f110cabebdc0eef4b/numpy-2.4.4-cp314-cp314-win_arm64.whl", hash = "sha256:2c194dd721e54ecad9ad387c1d35e63dce5c4450c6dc7dd5611283dda239aabb", size = 10496035 },
+ { url = "https://files.pythonhosted.org/packages/b1/e8/8fed8c8d848d7ecea092dc3469643f9d10bc3a134a815a3b033da1d2039b/numpy-2.4.4-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:2aa0613a5177c264ff5921051a5719d20095ea586ca88cc802c5c218d1c67d3e", size = 14824958 },
+ { url = "https://files.pythonhosted.org/packages/05/1a/d8007a5138c179c2bf33ef44503e83d70434d2642877ee8fbb230e7c0548/numpy-2.4.4-cp314-cp314t-macosx_14_0_arm64.whl", hash = "sha256:42c16925aa5a02362f986765f9ebabf20de75cdefdca827d14315c568dcab113", size = 5330020 },
+ { url = "https://files.pythonhosted.org/packages/99/64/ffb99ac6ae93faf117bcbd5c7ba48a7f45364a33e8e458545d3633615dda/numpy-2.4.4-cp314-cp314t-macosx_14_0_x86_64.whl", hash = "sha256:874f200b2a981c647340f841730fc3a2b54c9d940566a3c4149099591e2c4c3d", size = 6650758 },
+ { url = "https://files.pythonhosted.org/packages/6e/6e/795cc078b78a384052e73b2f6281ff7a700e9bf53bcce2ee579d4f6dd879/numpy-2.4.4-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c9b39d38a9bd2ae1becd7eac1303d031c5c110ad31f2b319c6e7d98b135c934d", size = 15729948 },
+ { url = "https://files.pythonhosted.org/packages/5f/86/2acbda8cc2af5f3d7bfc791192863b9e3e19674da7b5e533fded124d1299/numpy-2.4.4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b268594bccac7d7cf5844c7732e3f20c50921d94e36d7ec9b79e9857694b1b2f", size = 16679325 },
+ { url = "https://files.pythonhosted.org/packages/bc/59/cafd83018f4aa55e0ac6fa92aa066c0a1877b77a615ceff1711c260ffae8/numpy-2.4.4-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:ac6b31e35612a26483e20750126d30d0941f949426974cace8e6b5c58a3657b0", size = 17084883 },
+ { url = "https://files.pythonhosted.org/packages/f0/85/a42548db84e65ece46ab2caea3d3f78b416a47af387fcbb47ec28e660dc2/numpy-2.4.4-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:8e3ed142f2728df44263aaf5fb1f5b0b99f4070c553a0d7f033be65338329150", size = 18403474 },
+ { url = "https://files.pythonhosted.org/packages/ed/ad/483d9e262f4b831000062e5d8a45e342166ec8aaa1195264982bca267e62/numpy-2.4.4-cp314-cp314t-win32.whl", hash = "sha256:dddbbd259598d7240b18c9d87c56a9d2fb3b02fe266f49a7c101532e78c1d871", size = 6155500 },
+ { url = "https://files.pythonhosted.org/packages/c7/03/2fc4e14c7bd4ff2964b74ba90ecb8552540b6315f201df70f137faa5c589/numpy-2.4.4-cp314-cp314t-win_amd64.whl", hash = "sha256:a7164afb23be6e37ad90b2f10426149fd75aee07ca55653d2aa41e66c4ef697e", size = 12637755 },
+ { url = "https://files.pythonhosted.org/packages/58/78/548fb8e07b1a341746bfbecb32f2c268470f45fa028aacdbd10d9bc73aab/numpy-2.4.4-cp314-cp314t-win_arm64.whl", hash = "sha256:ba203255017337d39f89bdd58417f03c4426f12beed0440cfd933cb15f8669c7", size = 10566643 },
+ { url = "https://files.pythonhosted.org/packages/6b/33/8fae8f964a4f63ed528264ddf25d2b683d0b663e3cba26961eb838a7c1bd/numpy-2.4.4-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:58c8b5929fcb8287cbd6f0a3fae19c6e03a5c48402ae792962ac465224a629a4", size = 16854491 },
+ { url = "https://files.pythonhosted.org/packages/bc/d0/1aabee441380b981cf8cdda3ae7a46aa827d1b5a8cce84d14598bc94d6d9/numpy-2.4.4-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:eea7ac5d2dce4189771cedb559c738a71512768210dc4e4753b107a2048b3d0e", size = 14895830 },
+ { url = "https://files.pythonhosted.org/packages/a5/b8/aafb0d1065416894fccf4df6b49ef22b8db045187949545bced89c034b8e/numpy-2.4.4-pp311-pypy311_pp73-macosx_14_0_arm64.whl", hash = "sha256:51fc224f7ca4d92656d5a5eb315f12eb5fe2c97a66249aa7b5f562528a3be38c", size = 5400927 },
+ { url = "https://files.pythonhosted.org/packages/d6/77/063baa20b08b431038c7f9ff5435540c7b7265c78cf56012a483019ca72d/numpy-2.4.4-pp311-pypy311_pp73-macosx_14_0_x86_64.whl", hash = "sha256:28a650663f7314afc3e6ec620f44f333c386aad9f6fc472030865dc0ebb26ee3", size = 6715557 },
+ { url = "https://files.pythonhosted.org/packages/c7/a8/379542d45a14f149444c5c4c4e7714707239ce9cc1de8c2803958889da14/numpy-2.4.4-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:19710a9ca9992d7174e9c52f643d4272dcd1558c5f7af7f6f8190f633bd651a7", size = 15804253 },
+ { url = "https://files.pythonhosted.org/packages/a2/c8/f0a45426d6d21e7ea3310a15cf90c43a14d9232c31a837702dba437f3373/numpy-2.4.4-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:9b2aec6af35c113b05695ebb5749a787acd63cafc83086a05771d1e1cd1e555f", size = 16753552 },
+ { url = "https://files.pythonhosted.org/packages/04/74/f4c001f4714c3ad9ce037e18cf2b9c64871a84951eaa0baf683a9ca9301c/numpy-2.4.4-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:f2cf083b324a467e1ab358c105f6cad5ea950f50524668a80c486ff1db24e119", size = 12509075 },
+]
+
+[[package]]
+name = "onnxruntime"
+version = "1.24.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "flatbuffers" },
+ { name = "numpy" },
+ { name = "packaging" },
+ { name = "protobuf" },
+ { name = "sympy" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/60/69/6c40720201012c6af9aa7d4ecdd620e521bd806dc6269d636fdd5c5aeebe/onnxruntime-1.24.4-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:0bdfce8e9a6497cec584aab407b71bf697dac5e1b7b7974adc50bf7533bdb3a2", size = 17332131 },
+ { url = "https://files.pythonhosted.org/packages/38/e9/8c901c150ce0c368da38638f44152fb411059c0c7364b497c9e5c957321a/onnxruntime-1.24.4-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:046ff290045a387676941a02a8ae5c3ebec6b4f551ae228711968c4a69d8f6b7", size = 15152472 },
+ { url = "https://files.pythonhosted.org/packages/d5/b6/7a4df417cdd01e8f067a509e123ac8b31af450a719fa7ed81787dd6057ec/onnxruntime-1.24.4-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e54ad52e61d2d4618dcff8fa1480ac66b24ee2eab73331322db1049f11ccf330", size = 17222993 },
+ { url = "https://files.pythonhosted.org/packages/dd/59/8febe015f391aa1757fa5ba82c759ea4b6c14ef970132efb5e316665ba61/onnxruntime-1.24.4-cp311-cp311-win_amd64.whl", hash = "sha256:b43b63eb24a2bc8fc77a09be67587a570967a412cccb837b6245ccb546691153", size = 12594863 },
+ { url = "https://files.pythonhosted.org/packages/32/84/4155fcd362e8873eb6ce305acfeeadacd9e0e59415adac474bea3d9281bb/onnxruntime-1.24.4-cp311-cp311-win_arm64.whl", hash = "sha256:e26478356dba25631fb3f20112e345f8e8bf62c499bb497e8a559f7d69cf7e7b", size = 12259895 },
+ { url = "https://files.pythonhosted.org/packages/d7/38/31db1b232b4ba960065a90c1506ad7a56995cd8482033184e97fadca17cc/onnxruntime-1.24.4-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:cad1c2b3f455c55678ab2a8caa51fb420c25e6e3cf10f4c23653cdabedc8de78", size = 17341875 },
+ { url = "https://files.pythonhosted.org/packages/aa/60/c4d1c8043eb42f8a9aa9e931c8c293d289c48ff463267130eca97d13357f/onnxruntime-1.24.4-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1a5c5a544b22f90859c88617ecb30e161ee3349fcc73878854f43d77f00558b5", size = 15172485 },
+ { url = "https://files.pythonhosted.org/packages/6d/ab/5b68110e0460d73fad814d5bd11c7b1ddcce5c37b10177eb264d6a36e331/onnxruntime-1.24.4-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0d640eb9f3782689b55cfa715094474cd5662f2f137be6a6f847a594b6e9705c", size = 17244912 },
+ { url = "https://files.pythonhosted.org/packages/8b/f4/6b89e297b93704345f0f3f8c62229bee323ef25682a3f9b4f89a39324950/onnxruntime-1.24.4-cp312-cp312-win_amd64.whl", hash = "sha256:535b29475ca42b593c45fbb2152fbf1cdf3f287315bf650e6a724a0a1d065cdb", size = 12596856 },
+ { url = "https://files.pythonhosted.org/packages/43/06/8b8ec6e9e6a474fcd5d772453f627ad4549dfe3ab8c0bf70af5afcde551b/onnxruntime-1.24.4-cp312-cp312-win_arm64.whl", hash = "sha256:e6214096e14b7b52e3bee1903dc12dc7ca09cb65e26664668a4620cc5e6f9a90", size = 12270275 },
+ { url = "https://files.pythonhosted.org/packages/e9/f0/8a21ec0a97e40abb7d8da1e8b20fb9e1af509cc6d191f6faa75f73622fb2/onnxruntime-1.24.4-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:e99a48078baaefa2b50fe5836c319499f71f13f76ed32d0211f39109147a49e0", size = 17341922 },
+ { url = "https://files.pythonhosted.org/packages/8b/25/d7908de8e08cee9abfa15b8aa82349b79733ae5865162a3609c11598805d/onnxruntime-1.24.4-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:dc4aaed1e5e1aaacf2343c838a30a7c3ade78f13eeb16817411f929d04040a13", size = 15172290 },
+ { url = "https://files.pythonhosted.org/packages/7f/72/105ec27a78c5aa0154a7c0cd8c41c19a97799c3b12fc30392928997e3be3/onnxruntime-1.24.4-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e30c972bc02e072911aabb6891453ec73795386c0af2b761b65444b8a4c4745f", size = 17244738 },
+ { url = "https://files.pythonhosted.org/packages/05/fb/a592736d968c2f58e12de4d52088dda8e0e724b26ad5c0487263adb45875/onnxruntime-1.24.4-cp313-cp313-win_amd64.whl", hash = "sha256:3b6ba8b0181a3aa88edab00eb01424ffc06f42e71095a91186c2249415fcff93", size = 12597435 },
+ { url = "https://files.pythonhosted.org/packages/ad/04/ae2479e9841b64bd2eb44f8a64756c62593f896514369a11243b1b86ca5c/onnxruntime-1.24.4-cp313-cp313-win_arm64.whl", hash = "sha256:71d6a5c1821d6e8586a024000ece458db8f2fc0ecd050435d45794827ce81e19", size = 12269852 },
+ { url = "https://files.pythonhosted.org/packages/b4/af/a479a536c4398ffaf49fbbe755f45d5b8726bdb4335ab31b537f3d7149b8/onnxruntime-1.24.4-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1700f559c8086d06b2a4d5de51e62cb4ff5e2631822f71a36db8c72383db71ee", size = 15176861 },
+ { url = "https://files.pythonhosted.org/packages/be/13/19f5da70c346a76037da2c2851ecbf1266e61d7f0dcdb887c667210d4608/onnxruntime-1.24.4-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4c74e268dc808e61e63784d43f9ddcdaf50a776c2819e8bd1d1b11ef64bf7e36", size = 17247454 },
+ { url = "https://files.pythonhosted.org/packages/89/db/b30dbbd6037847b205ab75d962bc349bf1e46d02a65b30d7047a6893ffd6/onnxruntime-1.24.4-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:fbff2a248940e3398ae78374c5a839e49a2f39079b488bc64439fa0ec327a3e4", size = 17343300 },
+ { url = "https://files.pythonhosted.org/packages/61/88/1746c0e7959961475b84c776d35601a21d445f463c93b1433a409ec3e188/onnxruntime-1.24.4-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e2b7969e72d8cb53ffc88ab6d49dd5e75c1c663bda7be7eb0ece192f127343d1", size = 15175936 },
+ { url = "https://files.pythonhosted.org/packages/5f/ba/4699cde04a52cece66cbebc85bd8335a0d3b9ad485abc9a2e15946a1349d/onnxruntime-1.24.4-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:14ed1f197fab812b695a5eaddb536c635e58a2fbbe50a517c78f082cc6ce9177", size = 17246432 },
+ { url = "https://files.pythonhosted.org/packages/ef/60/4590910841bb28bd3b4b388a9efbedf4e2d2cca99ddf0c863642b4e87814/onnxruntime-1.24.4-cp314-cp314-win_amd64.whl", hash = "sha256:311e309f573bf3c12aa5723e23823077f83d5e412a18499d4485c7eb41040858", size = 12903276 },
+ { url = "https://files.pythonhosted.org/packages/7f/6f/60e2c0acea1e1ac09b3e794b5a19c166eebf91c0b860b3e6db8e74983fda/onnxruntime-1.24.4-cp314-cp314-win_arm64.whl", hash = "sha256:3f0b910e86b759a4732663ec61fd57ac42ee1b0066f68299de164220b660546d", size = 12594365 },
+ { url = "https://files.pythonhosted.org/packages/cf/68/0c05d10f8f6c40fe0912ebec0d5a33884aaa2af2053507e864dab0883208/onnxruntime-1.24.4-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:aa12ddc54c9c4594073abcaa265cd9681e95fb89dae982a6f508a794ca42e661", size = 15176889 },
+ { url = "https://files.pythonhosted.org/packages/6c/1d/1666dc64e78d8587d168fec4e3b7922b92eb286a2ddeebcf6acb55c7dc82/onnxruntime-1.24.4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e1cc6a518255f012134bc791975a6294806be9a3b20c4a54cca25194c90cf731", size = 17247021 },
+]
+
+[[package]]
+name = "opencv-python"
+version = "4.13.0.92"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "numpy" },
+]
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fc/6f/5a28fef4c4a382be06afe3938c64cc168223016fa520c5abaf37e8862aa5/opencv_python-4.13.0.92-cp37-abi3-macosx_13_0_arm64.whl", hash = "sha256:caf60c071ec391ba51ed00a4a920f996d0b64e3e46068aac1f646b5de0326a19", size = 46247052 },
+ { url = "https://files.pythonhosted.org/packages/08/ac/6c98c44c650b8114a0fb901691351cfb3956d502e8e9b5cd27f4ee7fbf2f/opencv_python-4.13.0.92-cp37-abi3-macosx_14_0_x86_64.whl", hash = "sha256:5868a8c028a0b37561579bfb8ac1875babdc69546d236249fff296a8c010ccf9", size = 32568781 },
+ { url = "https://files.pythonhosted.org/packages/3e/51/82fed528b45173bf629fa44effb76dff8bc9f4eeaee759038362dfa60237/opencv_python-4.13.0.92-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0bc2596e68f972ca452d80f444bc404e08807d021fbba40df26b61b18e01838a", size = 47685527 },
+ { url = "https://files.pythonhosted.org/packages/db/07/90b34a8e2cf9c50fe8ed25cac9011cde0676b4d9d9c973751ac7616223a2/opencv_python-4.13.0.92-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:402033cddf9d294693094de5ef532339f14ce821da3ad7df7c9f6e8316da32cf", size = 70460872 },
+ { url = "https://files.pythonhosted.org/packages/02/6d/7a9cc719b3eaf4377b9c2e3edeb7ed3a81de41f96421510c0a169ca3cfd4/opencv_python-4.13.0.92-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:bccaabf9eb7f897ca61880ce2869dcd9b25b72129c28478e7f2a5e8dee945616", size = 46708208 },
+ { url = "https://files.pythonhosted.org/packages/fd/55/b3b49a1b97aabcfbbd6c7326df9cb0b6fa0c0aefa8e89d500939e04aa229/opencv_python-4.13.0.92-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:620d602b8f7d8b8dab5f4b99c6eb353e78d3fb8b0f53db1bd258bb1aa001c1d5", size = 72927042 },
+ { url = "https://files.pythonhosted.org/packages/fb/17/de5458312bcb07ddf434d7bfcb24bb52c59635ad58c6e7c751b48949b009/opencv_python-4.13.0.92-cp37-abi3-win32.whl", hash = "sha256:372fe164a3148ac1ca51e5f3ad0541a4a276452273f503441d718fab9c5e5f59", size = 30932638 },
+ { url = "https://files.pythonhosted.org/packages/e9/a5/1be1516390333ff9be3a9cb648c9f33df79d5096e5884b5df71a588af463/opencv_python-4.13.0.92-cp37-abi3-win_amd64.whl", hash = "sha256:423d934c9fafb91aad38edf26efb46da91ffbc05f3f59c4b0c72e699720706f5", size = 40212062 },
+]
+
+[[package]]
+name = "opentelemetry-api"
+version = "1.38.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "importlib-metadata" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/08/d8/0f354c375628e048bd0570645b310797299754730079853095bf000fba69/opentelemetry_api-1.38.0.tar.gz", hash = "sha256:f4c193b5e8acb0912b06ac5b16321908dd0843d75049c091487322284a3eea12", size = 65242 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ae/a2/d86e01c28300bd41bab8f18afd613676e2bd63515417b77636fc1add426f/opentelemetry_api-1.38.0-py3-none-any.whl", hash = "sha256:2891b0197f47124454ab9f0cf58f3be33faca394457ac3e09daba13ff50aa582", size = 65947 },
+]
+
+[[package]]
+name = "opentelemetry-exporter-gcp-logging"
+version = "1.11.0a0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-cloud-logging" },
+ { name = "opentelemetry-api" },
+ { name = "opentelemetry-resourcedetector-gcp" },
+ { name = "opentelemetry-sdk" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/72/2d/6aa7063b009768d8f9415b36a29ae9b3eb1e2c5eff70f58ca15e104c245f/opentelemetry_exporter_gcp_logging-1.11.0a0.tar.gz", hash = "sha256:58496f11b930c84570060ffbd4343cd0b597ea13c7bc5c879df01163dd552f14", size = 22400 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a4/b7/2d3df53fa39bfd52f88c78a60367d45a7b1adbf8a756cce62d6ac149d49a/opentelemetry_exporter_gcp_logging-1.11.0a0-py3-none-any.whl", hash = "sha256:f8357c552947cb9c0101c4575a7702b8d3268e28bdeefdd1405cf838e128c6ef", size = 14168 },
+]
+
+[[package]]
+name = "opentelemetry-exporter-gcp-monitoring"
+version = "1.11.0a0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-cloud-monitoring" },
+ { name = "opentelemetry-api" },
+ { name = "opentelemetry-resourcedetector-gcp" },
+ { name = "opentelemetry-sdk" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/3f/48/d1c7d2380bb1754d1eb6a011a2e0de08c6868cb6c0f34bcda0444fa0d614/opentelemetry_exporter_gcp_monitoring-1.11.0a0.tar.gz", hash = "sha256:386276eddbbd978a6f30fafd3397975beeb02a1302bdad554185242a8e2c343c", size = 20828 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/8c/8c/03a6e73e270a9c890dbd6cc1c47c83d86b8a8a974a9168d92e043c6277cc/opentelemetry_exporter_gcp_monitoring-1.11.0a0-py3-none-any.whl", hash = "sha256:b6740cba61b2f9555274829fe87a58447b64d0378f1067a4faebb4f5b364ca22", size = 13611 },
+]
+
+[[package]]
+name = "opentelemetry-exporter-gcp-trace"
+version = "1.11.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "google-cloud-trace" },
+ { name = "opentelemetry-api" },
+ { name = "opentelemetry-resourcedetector-gcp" },
+ { name = "opentelemetry-sdk" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/10/9c/4c3b26e5494f8b53c7873732a2317df905abe2b8ab33e9edfcbd5a8ff79b/opentelemetry_exporter_gcp_trace-1.11.0.tar.gz", hash = "sha256:c947ab4ab53e16517ade23d6fe71fe88cf7ca3f57a42c9f0e4162d2b929fecb6", size = 18770 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/5f/4a/876703e8c5845198d95cd4006c8d1b2e3b129a9e288558e33133360f8d5d/opentelemetry_exporter_gcp_trace-1.11.0-py3-none-any.whl", hash = "sha256:b3dcb314e1a9985e9185cb7720b693eb393886fde98ae4c095ffc0893de6cefa", size = 14016 },
+]
+
+[[package]]
+name = "opentelemetry-exporter-otlp-proto-common"
+version = "1.38.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "opentelemetry-proto" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/19/83/dd4660f2956ff88ed071e9e0e36e830df14b8c5dc06722dbde1841accbe8/opentelemetry_exporter_otlp_proto_common-1.38.0.tar.gz", hash = "sha256:e333278afab4695aa8114eeb7bf4e44e65c6607d54968271a249c180b2cb605c", size = 20431 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a7/9e/55a41c9601191e8cd8eb626b54ee6827b9c9d4a46d736f32abc80d8039fc/opentelemetry_exporter_otlp_proto_common-1.38.0-py3-none-any.whl", hash = "sha256:03cb76ab213300fe4f4c62b7d8f17d97fcfd21b89f0b5ce38ea156327ddda74a", size = 18359 },
+]
+
+[[package]]
+name = "opentelemetry-exporter-otlp-proto-http"
+version = "1.38.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "googleapis-common-protos" },
+ { name = "opentelemetry-api" },
+ { name = "opentelemetry-exporter-otlp-proto-common" },
+ { name = "opentelemetry-proto" },
+ { name = "opentelemetry-sdk" },
+ { name = "requests" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/81/0a/debcdfb029fbd1ccd1563f7c287b89a6f7bef3b2902ade56797bfd020854/opentelemetry_exporter_otlp_proto_http-1.38.0.tar.gz", hash = "sha256:f16bd44baf15cbe07633c5112ffc68229d0edbeac7b37610be0b2def4e21e90b", size = 17282 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e5/77/154004c99fb9f291f74aa0822a2f5bbf565a72d8126b3a1b63ed8e5f83c7/opentelemetry_exporter_otlp_proto_http-1.38.0-py3-none-any.whl", hash = "sha256:84b937305edfc563f08ec69b9cb2298be8188371217e867c1854d77198d0825b", size = 19579 },
+]
+
+[[package]]
+name = "opentelemetry-proto"
+version = "1.38.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/51/14/f0c4f0f6371b9cb7f9fa9ee8918bfd59ac7040c7791f1e6da32a1839780d/opentelemetry_proto-1.38.0.tar.gz", hash = "sha256:88b161e89d9d372ce723da289b7da74c3a8354a8e5359992be813942969ed468", size = 46152 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b6/6a/82b68b14efca5150b2632f3692d627afa76b77378c4999f2648979409528/opentelemetry_proto-1.38.0-py3-none-any.whl", hash = "sha256:b6ebe54d3217c42e45462e2a1ae28c3e2bf2ec5a5645236a490f55f45f1a0a18", size = 72535 },
+]
+
+[[package]]
+name = "opentelemetry-resourcedetector-gcp"
+version = "1.11.0a0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "opentelemetry-api" },
+ { name = "opentelemetry-sdk" },
+ { name = "requests" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/c1/5d/2b3240d914b87b6dd9cd5ca2ef1ccaf1d0626b897d4c06877e22c8c10fcf/opentelemetry_resourcedetector_gcp-1.11.0a0.tar.gz", hash = "sha256:915a1d6fd15daca9eedd3fc52b0f705375054f2ef140e2e7a6b4cca95a47cdb1", size = 18796 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c3/6c/1e13fe142a7ca3dc6489167203a1209d32430cca12775e1df9c9a41c54b2/opentelemetry_resourcedetector_gcp-1.11.0a0-py3-none-any.whl", hash = "sha256:5d65a2a039b1d40c6f41421dbb08d5f441368275ac6de6e76a8fccd1f6acb67e", size = 18798 },
+]
+
+[[package]]
+name = "opentelemetry-sdk"
+version = "1.38.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "opentelemetry-api" },
+ { name = "opentelemetry-semantic-conventions" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/85/cb/f0eee1445161faf4c9af3ba7b848cc22a50a3d3e2515051ad8628c35ff80/opentelemetry_sdk-1.38.0.tar.gz", hash = "sha256:93df5d4d871ed09cb4272305be4d996236eedb232253e3ab864c8620f051cebe", size = 171942 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2f/2e/e93777a95d7d9c40d270a371392b6d6f1ff170c2a3cb32d6176741b5b723/opentelemetry_sdk-1.38.0-py3-none-any.whl", hash = "sha256:1c66af6564ecc1553d72d811a01df063ff097cdc82ce188da9951f93b8d10f6b", size = 132349 },
+]
+
+[[package]]
+name = "opentelemetry-semantic-conventions"
+version = "0.59b0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "opentelemetry-api" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/40/bc/8b9ad3802cd8ac6583a4eb7de7e5d7db004e89cb7efe7008f9c8a537ee75/opentelemetry_semantic_conventions-0.59b0.tar.gz", hash = "sha256:7a6db3f30d70202d5bf9fa4b69bc866ca6a30437287de6c510fb594878aed6b0", size = 129861 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/24/7d/c88d7b15ba8fe5c6b8f93be50fc11795e9fc05386c44afaf6b76fe191f9b/opentelemetry_semantic_conventions-0.59b0-py3-none-any.whl", hash = "sha256:35d3b8833ef97d614136e253c1da9342b4c3c083bbaf29ce31d572a1c3825eed", size = 207954 },
+]
+
+[[package]]
+name = "packaging"
+version = "26.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/65/ee/299d360cdc32edc7d2cf530f3accf79c4fca01e96ffc950d8a52213bd8e4/packaging-26.0.tar.gz", hash = "sha256:00243ae351a257117b6a241061796684b084ed1c516a08c48a3f7e147a9d80b4", size = 143416 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b7/b9/c538f279a4e237a006a2c98387d081e9eb060d203d8ed34467cc0f0b9b53/packaging-26.0-py3-none-any.whl", hash = "sha256:b36f1fef9334a5588b4166f8bcd26a14e521f2b55e6b9de3aaa80d3ff7a37529", size = 74366 },
+]
+
+[[package]]
+name = "pillow"
+version = "11.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f3/0d/d0d6dea55cd152ce3d6767bb38a8fc10e33796ba4ba210cbab9354b6d238/pillow-11.3.0.tar.gz", hash = "sha256:3828ee7586cd0b2091b6209e5ad53e20d0649bbe87164a459d0676e035e8f523", size = 47113069 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/db/26/77f8ed17ca4ffd60e1dcd220a6ec6d71210ba398cfa33a13a1cd614c5613/pillow-11.3.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:1cd110edf822773368b396281a2293aeb91c90a2db00d78ea43e7e861631b722", size = 5316531 },
+ { url = "https://files.pythonhosted.org/packages/cb/39/ee475903197ce709322a17a866892efb560f57900d9af2e55f86db51b0a5/pillow-11.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9c412fddd1b77a75aa904615ebaa6001f169b26fd467b4be93aded278266b288", size = 4686560 },
+ { url = "https://files.pythonhosted.org/packages/d5/90/442068a160fd179938ba55ec8c97050a612426fae5ec0a764e345839f76d/pillow-11.3.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:7d1aa4de119a0ecac0a34a9c8bde33f34022e2e8f99104e47a3ca392fd60e37d", size = 5870978 },
+ { url = "https://files.pythonhosted.org/packages/13/92/dcdd147ab02daf405387f0218dcf792dc6dd5b14d2573d40b4caeef01059/pillow-11.3.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:91da1d88226663594e3f6b4b8c3c8d85bd504117d043740a8e0ec449087cc494", size = 7641168 },
+ { url = "https://files.pythonhosted.org/packages/6e/db/839d6ba7fd38b51af641aa904e2960e7a5644d60ec754c046b7d2aee00e5/pillow-11.3.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:643f189248837533073c405ec2f0bb250ba54598cf80e8c1e043381a60632f58", size = 5973053 },
+ { url = "https://files.pythonhosted.org/packages/f2/2f/d7675ecae6c43e9f12aa8d58b6012683b20b6edfbdac7abcb4e6af7a3784/pillow-11.3.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:106064daa23a745510dabce1d84f29137a37224831d88eb4ce94bb187b1d7e5f", size = 6640273 },
+ { url = "https://files.pythonhosted.org/packages/45/ad/931694675ede172e15b2ff03c8144a0ddaea1d87adb72bb07655eaffb654/pillow-11.3.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:cd8ff254faf15591e724dc7c4ddb6bf4793efcbe13802a4ae3e863cd300b493e", size = 6082043 },
+ { url = "https://files.pythonhosted.org/packages/3a/04/ba8f2b11fc80d2dd462d7abec16351b45ec99cbbaea4387648a44190351a/pillow-11.3.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:932c754c2d51ad2b2271fd01c3d121daaa35e27efae2a616f77bf164bc0b3e94", size = 6715516 },
+ { url = "https://files.pythonhosted.org/packages/48/59/8cd06d7f3944cc7d892e8533c56b0acb68399f640786313275faec1e3b6f/pillow-11.3.0-cp311-cp311-win32.whl", hash = "sha256:b4b8f3efc8d530a1544e5962bd6b403d5f7fe8b9e08227c6b255f98ad82b4ba0", size = 6274768 },
+ { url = "https://files.pythonhosted.org/packages/f1/cc/29c0f5d64ab8eae20f3232da8f8571660aa0ab4b8f1331da5c2f5f9a938e/pillow-11.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:1a992e86b0dd7aeb1f053cd506508c0999d710a8f07b4c791c63843fc6a807ac", size = 6986055 },
+ { url = "https://files.pythonhosted.org/packages/c6/df/90bd886fabd544c25addd63e5ca6932c86f2b701d5da6c7839387a076b4a/pillow-11.3.0-cp311-cp311-win_arm64.whl", hash = "sha256:30807c931ff7c095620fe04448e2c2fc673fcbb1ffe2a7da3fb39613489b1ddd", size = 2423079 },
+ { url = "https://files.pythonhosted.org/packages/40/fe/1bc9b3ee13f68487a99ac9529968035cca2f0a51ec36892060edcc51d06a/pillow-11.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:fdae223722da47b024b867c1ea0be64e0df702c5e0a60e27daad39bf960dd1e4", size = 5278800 },
+ { url = "https://files.pythonhosted.org/packages/2c/32/7e2ac19b5713657384cec55f89065fb306b06af008cfd87e572035b27119/pillow-11.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:921bd305b10e82b4d1f5e802b6850677f965d8394203d182f078873851dada69", size = 4686296 },
+ { url = "https://files.pythonhosted.org/packages/8e/1e/b9e12bbe6e4c2220effebc09ea0923a07a6da1e1f1bfbc8d7d29a01ce32b/pillow-11.3.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:eb76541cba2f958032d79d143b98a3a6b3ea87f0959bbe256c0b5e416599fd5d", size = 5871726 },
+ { url = "https://files.pythonhosted.org/packages/8d/33/e9200d2bd7ba00dc3ddb78df1198a6e80d7669cce6c2bdbeb2530a74ec58/pillow-11.3.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:67172f2944ebba3d4a7b54f2e95c786a3a50c21b88456329314caaa28cda70f6", size = 7644652 },
+ { url = "https://files.pythonhosted.org/packages/41/f1/6f2427a26fc683e00d985bc391bdd76d8dd4e92fac33d841127eb8fb2313/pillow-11.3.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:97f07ed9f56a3b9b5f49d3661dc9607484e85c67e27f3e8be2c7d28ca032fec7", size = 5977787 },
+ { url = "https://files.pythonhosted.org/packages/e4/c9/06dd4a38974e24f932ff5f98ea3c546ce3f8c995d3f0985f8e5ba48bba19/pillow-11.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:676b2815362456b5b3216b4fd5bd89d362100dc6f4945154ff172e206a22c024", size = 6645236 },
+ { url = "https://files.pythonhosted.org/packages/40/e7/848f69fb79843b3d91241bad658e9c14f39a32f71a301bcd1d139416d1be/pillow-11.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3e184b2f26ff146363dd07bde8b711833d7b0202e27d13540bfe2e35a323a809", size = 6086950 },
+ { url = "https://files.pythonhosted.org/packages/0b/1a/7cff92e695a2a29ac1958c2a0fe4c0b2393b60aac13b04a4fe2735cad52d/pillow-11.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:6be31e3fc9a621e071bc17bb7de63b85cbe0bfae91bb0363c893cbe67247780d", size = 6723358 },
+ { url = "https://files.pythonhosted.org/packages/26/7d/73699ad77895f69edff76b0f332acc3d497f22f5d75e5360f78cbcaff248/pillow-11.3.0-cp312-cp312-win32.whl", hash = "sha256:7b161756381f0918e05e7cb8a371fff367e807770f8fe92ecb20d905d0e1c149", size = 6275079 },
+ { url = "https://files.pythonhosted.org/packages/8c/ce/e7dfc873bdd9828f3b6e5c2bbb74e47a98ec23cc5c74fc4e54462f0d9204/pillow-11.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:a6444696fce635783440b7f7a9fc24b3ad10a9ea3f0ab66c5905be1c19ccf17d", size = 6986324 },
+ { url = "https://files.pythonhosted.org/packages/16/8f/b13447d1bf0b1f7467ce7d86f6e6edf66c0ad7cf44cf5c87a37f9bed9936/pillow-11.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:2aceea54f957dd4448264f9bf40875da0415c83eb85f55069d89c0ed436e3542", size = 2423067 },
+ { url = "https://files.pythonhosted.org/packages/1e/93/0952f2ed8db3a5a4c7a11f91965d6184ebc8cd7cbb7941a260d5f018cd2d/pillow-11.3.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:1c627742b539bba4309df89171356fcb3cc5a9178355b2727d1b74a6cf155fbd", size = 2128328 },
+ { url = "https://files.pythonhosted.org/packages/4b/e8/100c3d114b1a0bf4042f27e0f87d2f25e857e838034e98ca98fe7b8c0a9c/pillow-11.3.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:30b7c02f3899d10f13d7a48163c8969e4e653f8b43416d23d13d1bbfdc93b9f8", size = 2170652 },
+ { url = "https://files.pythonhosted.org/packages/aa/86/3f758a28a6e381758545f7cdb4942e1cb79abd271bea932998fc0db93cb6/pillow-11.3.0-cp313-cp313-ios_13_0_x86_64_iphonesimulator.whl", hash = "sha256:7859a4cc7c9295f5838015d8cc0a9c215b77e43d07a25e460f35cf516df8626f", size = 2227443 },
+ { url = "https://files.pythonhosted.org/packages/01/f4/91d5b3ffa718df2f53b0dc109877993e511f4fd055d7e9508682e8aba092/pillow-11.3.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:ec1ee50470b0d050984394423d96325b744d55c701a439d2bd66089bff963d3c", size = 5278474 },
+ { url = "https://files.pythonhosted.org/packages/f9/0e/37d7d3eca6c879fbd9dba21268427dffda1ab00d4eb05b32923d4fbe3b12/pillow-11.3.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7db51d222548ccfd274e4572fdbf3e810a5e66b00608862f947b163e613b67dd", size = 4686038 },
+ { url = "https://files.pythonhosted.org/packages/ff/b0/3426e5c7f6565e752d81221af9d3676fdbb4f352317ceafd42899aaf5d8a/pillow-11.3.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:2d6fcc902a24ac74495df63faad1884282239265c6839a0a6416d33faedfae7e", size = 5864407 },
+ { url = "https://files.pythonhosted.org/packages/fc/c1/c6c423134229f2a221ee53f838d4be9d82bab86f7e2f8e75e47b6bf6cd77/pillow-11.3.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f0f5d8f4a08090c6d6d578351a2b91acf519a54986c055af27e7a93feae6d3f1", size = 7639094 },
+ { url = "https://files.pythonhosted.org/packages/ba/c9/09e6746630fe6372c67c648ff9deae52a2bc20897d51fa293571977ceb5d/pillow-11.3.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c37d8ba9411d6003bba9e518db0db0c58a680ab9fe5179f040b0463644bc9805", size = 5973503 },
+ { url = "https://files.pythonhosted.org/packages/d5/1c/a2a29649c0b1983d3ef57ee87a66487fdeb45132df66ab30dd37f7dbe162/pillow-11.3.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:13f87d581e71d9189ab21fe0efb5a23e9f28552d5be6979e84001d3b8505abe8", size = 6642574 },
+ { url = "https://files.pythonhosted.org/packages/36/de/d5cc31cc4b055b6c6fd990e3e7f0f8aaf36229a2698501bcb0cdf67c7146/pillow-11.3.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:023f6d2d11784a465f09fd09a34b150ea4672e85fb3d05931d89f373ab14abb2", size = 6084060 },
+ { url = "https://files.pythonhosted.org/packages/d5/ea/502d938cbaeec836ac28a9b730193716f0114c41325db428e6b280513f09/pillow-11.3.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:45dfc51ac5975b938e9809451c51734124e73b04d0f0ac621649821a63852e7b", size = 6721407 },
+ { url = "https://files.pythonhosted.org/packages/45/9c/9c5e2a73f125f6cbc59cc7087c8f2d649a7ae453f83bd0362ff7c9e2aee2/pillow-11.3.0-cp313-cp313-win32.whl", hash = "sha256:a4d336baed65d50d37b88ca5b60c0fa9d81e3a87d4a7930d3880d1624d5b31f3", size = 6273841 },
+ { url = "https://files.pythonhosted.org/packages/23/85/397c73524e0cd212067e0c969aa245b01d50183439550d24d9f55781b776/pillow-11.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:0bce5c4fd0921f99d2e858dc4d4d64193407e1b99478bc5cacecba2311abde51", size = 6978450 },
+ { url = "https://files.pythonhosted.org/packages/17/d2/622f4547f69cd173955194b78e4d19ca4935a1b0f03a302d655c9f6aae65/pillow-11.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:1904e1264881f682f02b7f8167935cce37bc97db457f8e7849dc3a6a52b99580", size = 2423055 },
+ { url = "https://files.pythonhosted.org/packages/dd/80/a8a2ac21dda2e82480852978416cfacd439a4b490a501a288ecf4fe2532d/pillow-11.3.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:4c834a3921375c48ee6b9624061076bc0a32a60b5532b322cc0ea64e639dd50e", size = 5281110 },
+ { url = "https://files.pythonhosted.org/packages/44/d6/b79754ca790f315918732e18f82a8146d33bcd7f4494380457ea89eb883d/pillow-11.3.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:5e05688ccef30ea69b9317a9ead994b93975104a677a36a8ed8106be9260aa6d", size = 4689547 },
+ { url = "https://files.pythonhosted.org/packages/49/20/716b8717d331150cb00f7fdd78169c01e8e0c219732a78b0e59b6bdb2fd6/pillow-11.3.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:1019b04af07fc0163e2810167918cb5add8d74674b6267616021ab558dc98ced", size = 5901554 },
+ { url = "https://files.pythonhosted.org/packages/74/cf/a9f3a2514a65bb071075063a96f0a5cf949c2f2fce683c15ccc83b1c1cab/pillow-11.3.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:f944255db153ebb2b19c51fe85dd99ef0ce494123f21b9db4877ffdfc5590c7c", size = 7669132 },
+ { url = "https://files.pythonhosted.org/packages/98/3c/da78805cbdbee9cb43efe8261dd7cc0b4b93f2ac79b676c03159e9db2187/pillow-11.3.0-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1f85acb69adf2aaee8b7da124efebbdb959a104db34d3a2cb0f3793dbae422a8", size = 6005001 },
+ { url = "https://files.pythonhosted.org/packages/6c/fa/ce044b91faecf30e635321351bba32bab5a7e034c60187fe9698191aef4f/pillow-11.3.0-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:05f6ecbeff5005399bb48d198f098a9b4b6bdf27b8487c7f38ca16eeb070cd59", size = 6668814 },
+ { url = "https://files.pythonhosted.org/packages/7b/51/90f9291406d09bf93686434f9183aba27b831c10c87746ff49f127ee80cb/pillow-11.3.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:a7bc6e6fd0395bc052f16b1a8670859964dbd7003bd0af2ff08342eb6e442cfe", size = 6113124 },
+ { url = "https://files.pythonhosted.org/packages/cd/5a/6fec59b1dfb619234f7636d4157d11fb4e196caeee220232a8d2ec48488d/pillow-11.3.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:83e1b0161c9d148125083a35c1c5a89db5b7054834fd4387499e06552035236c", size = 6747186 },
+ { url = "https://files.pythonhosted.org/packages/49/6b/00187a044f98255225f172de653941e61da37104a9ea60e4f6887717e2b5/pillow-11.3.0-cp313-cp313t-win32.whl", hash = "sha256:2a3117c06b8fb646639dce83694f2f9eac405472713fcb1ae887469c0d4f6788", size = 6277546 },
+ { url = "https://files.pythonhosted.org/packages/e8/5c/6caaba7e261c0d75bab23be79f1d06b5ad2a2ae49f028ccec801b0e853d6/pillow-11.3.0-cp313-cp313t-win_amd64.whl", hash = "sha256:857844335c95bea93fb39e0fa2726b4d9d758850b34075a7e3ff4f4fa3aa3b31", size = 6985102 },
+ { url = "https://files.pythonhosted.org/packages/f3/7e/b623008460c09a0cb38263c93b828c666493caee2eb34ff67f778b87e58c/pillow-11.3.0-cp313-cp313t-win_arm64.whl", hash = "sha256:8797edc41f3e8536ae4b10897ee2f637235c94f27404cac7297f7b607dd0716e", size = 2424803 },
+ { url = "https://files.pythonhosted.org/packages/73/f4/04905af42837292ed86cb1b1dabe03dce1edc008ef14c473c5c7e1443c5d/pillow-11.3.0-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:d9da3df5f9ea2a89b81bb6087177fb1f4d1c7146d583a3fe5c672c0d94e55e12", size = 5278520 },
+ { url = "https://files.pythonhosted.org/packages/41/b0/33d79e377a336247df6348a54e6d2a2b85d644ca202555e3faa0cf811ecc/pillow-11.3.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:0b275ff9b04df7b640c59ec5a3cb113eefd3795a8df80bac69646ef699c6981a", size = 4686116 },
+ { url = "https://files.pythonhosted.org/packages/49/2d/ed8bc0ab219ae8768f529597d9509d184fe8a6c4741a6864fea334d25f3f/pillow-11.3.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0743841cabd3dba6a83f38a92672cccbd69af56e3e91777b0ee7f4dba4385632", size = 5864597 },
+ { url = "https://files.pythonhosted.org/packages/b5/3d/b932bb4225c80b58dfadaca9d42d08d0b7064d2d1791b6a237f87f661834/pillow-11.3.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:2465a69cf967b8b49ee1b96d76718cd98c4e925414ead59fdf75cf0fd07df673", size = 7638246 },
+ { url = "https://files.pythonhosted.org/packages/09/b5/0487044b7c096f1b48f0d7ad416472c02e0e4bf6919541b111efd3cae690/pillow-11.3.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:41742638139424703b4d01665b807c6468e23e699e8e90cffefe291c5832b027", size = 5973336 },
+ { url = "https://files.pythonhosted.org/packages/a8/2d/524f9318f6cbfcc79fbc004801ea6b607ec3f843977652fdee4857a7568b/pillow-11.3.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:93efb0b4de7e340d99057415c749175e24c8864302369e05914682ba642e5d77", size = 6642699 },
+ { url = "https://files.pythonhosted.org/packages/6f/d2/a9a4f280c6aefedce1e8f615baaa5474e0701d86dd6f1dede66726462bbd/pillow-11.3.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7966e38dcd0fa11ca390aed7c6f20454443581d758242023cf36fcb319b1a874", size = 6083789 },
+ { url = "https://files.pythonhosted.org/packages/fe/54/86b0cd9dbb683a9d5e960b66c7379e821a19be4ac5810e2e5a715c09a0c0/pillow-11.3.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:98a9afa7b9007c67ed84c57c9e0ad86a6000da96eaa638e4f8abe5b65ff83f0a", size = 6720386 },
+ { url = "https://files.pythonhosted.org/packages/e7/95/88efcaf384c3588e24259c4203b909cbe3e3c2d887af9e938c2022c9dd48/pillow-11.3.0-cp314-cp314-win32.whl", hash = "sha256:02a723e6bf909e7cea0dac1b0e0310be9d7650cd66222a5f1c571455c0a45214", size = 6370911 },
+ { url = "https://files.pythonhosted.org/packages/2e/cc/934e5820850ec5eb107e7b1a72dd278140731c669f396110ebc326f2a503/pillow-11.3.0-cp314-cp314-win_amd64.whl", hash = "sha256:a418486160228f64dd9e9efcd132679b7a02a5f22c982c78b6fc7dab3fefb635", size = 7117383 },
+ { url = "https://files.pythonhosted.org/packages/d6/e9/9c0a616a71da2a5d163aa37405e8aced9a906d574b4a214bede134e731bc/pillow-11.3.0-cp314-cp314-win_arm64.whl", hash = "sha256:155658efb5e044669c08896c0c44231c5e9abcaadbc5cd3648df2f7c0b96b9a6", size = 2511385 },
+ { url = "https://files.pythonhosted.org/packages/1a/33/c88376898aff369658b225262cd4f2659b13e8178e7534df9e6e1fa289f6/pillow-11.3.0-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:59a03cdf019efbfeeed910bf79c7c93255c3d54bc45898ac2a4140071b02b4ae", size = 5281129 },
+ { url = "https://files.pythonhosted.org/packages/1f/70/d376247fb36f1844b42910911c83a02d5544ebd2a8bad9efcc0f707ea774/pillow-11.3.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:f8a5827f84d973d8636e9dc5764af4f0cf2318d26744b3d902931701b0d46653", size = 4689580 },
+ { url = "https://files.pythonhosted.org/packages/eb/1c/537e930496149fbac69efd2fc4329035bbe2e5475b4165439e3be9cb183b/pillow-11.3.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ee92f2fd10f4adc4b43d07ec5e779932b4eb3dbfbc34790ada5a6669bc095aa6", size = 5902860 },
+ { url = "https://files.pythonhosted.org/packages/bd/57/80f53264954dcefeebcf9dae6e3eb1daea1b488f0be8b8fef12f79a3eb10/pillow-11.3.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c96d333dcf42d01f47b37e0979b6bd73ec91eae18614864622d9b87bbd5bbf36", size = 7670694 },
+ { url = "https://files.pythonhosted.org/packages/70/ff/4727d3b71a8578b4587d9c276e90efad2d6fe0335fd76742a6da08132e8c/pillow-11.3.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4c96f993ab8c98460cd0c001447bff6194403e8b1d7e149ade5f00594918128b", size = 6005888 },
+ { url = "https://files.pythonhosted.org/packages/05/ae/716592277934f85d3be51d7256f3636672d7b1abfafdc42cf3f8cbd4b4c8/pillow-11.3.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:41342b64afeba938edb034d122b2dda5db2139b9a4af999729ba8818e0056477", size = 6670330 },
+ { url = "https://files.pythonhosted.org/packages/e7/bb/7fe6cddcc8827b01b1a9766f5fdeb7418680744f9082035bdbabecf1d57f/pillow-11.3.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:068d9c39a2d1b358eb9f245ce7ab1b5c3246c7c8c7d9ba58cfa5b43146c06e50", size = 6114089 },
+ { url = "https://files.pythonhosted.org/packages/8b/f5/06bfaa444c8e80f1a8e4bff98da9c83b37b5be3b1deaa43d27a0db37ef84/pillow-11.3.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:a1bc6ba083b145187f648b667e05a2534ecc4b9f2784c2cbe3089e44868f2b9b", size = 6748206 },
+ { url = "https://files.pythonhosted.org/packages/f0/77/bc6f92a3e8e6e46c0ca78abfffec0037845800ea38c73483760362804c41/pillow-11.3.0-cp314-cp314t-win32.whl", hash = "sha256:118ca10c0d60b06d006be10a501fd6bbdfef559251ed31b794668ed569c87e12", size = 6377370 },
+ { url = "https://files.pythonhosted.org/packages/4a/82/3a721f7d69dca802befb8af08b7c79ebcab461007ce1c18bd91a5d5896f9/pillow-11.3.0-cp314-cp314t-win_amd64.whl", hash = "sha256:8924748b688aa210d79883357d102cd64690e56b923a186f35a82cbc10f997db", size = 7121500 },
+ { url = "https://files.pythonhosted.org/packages/89/c7/5572fa4a3f45740eaab6ae86fcdf7195b55beac1371ac8c619d880cfe948/pillow-11.3.0-cp314-cp314t-win_arm64.whl", hash = "sha256:79ea0d14d3ebad43ec77ad5272e6ff9bba5b679ef73375ea760261207fa8e0aa", size = 2512835 },
+ { url = "https://files.pythonhosted.org/packages/9e/e3/6fa84033758276fb31da12e5fb66ad747ae83b93c67af17f8c6ff4cc8f34/pillow-11.3.0-pp311-pypy311_pp73-macosx_10_15_x86_64.whl", hash = "sha256:7c8ec7a017ad1bd562f93dbd8505763e688d388cde6e4a010ae1486916e713e6", size = 5270566 },
+ { url = "https://files.pythonhosted.org/packages/5b/ee/e8d2e1ab4892970b561e1ba96cbd59c0d28cf66737fc44abb2aec3795a4e/pillow-11.3.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:9ab6ae226de48019caa8074894544af5b53a117ccb9d3b3dcb2871464c829438", size = 4654618 },
+ { url = "https://files.pythonhosted.org/packages/f2/6d/17f80f4e1f0761f02160fc433abd4109fa1548dcfdca46cfdadaf9efa565/pillow-11.3.0-pp311-pypy311_pp73-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:fe27fb049cdcca11f11a7bfda64043c37b30e6b91f10cb5bab275806c32f6ab3", size = 4874248 },
+ { url = "https://files.pythonhosted.org/packages/de/5f/c22340acd61cef960130585bbe2120e2fd8434c214802f07e8c03596b17e/pillow-11.3.0-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:465b9e8844e3c3519a983d58b80be3f668e2a7a5db97f2784e7079fbc9f9822c", size = 6583963 },
+ { url = "https://files.pythonhosted.org/packages/31/5e/03966aedfbfcbb4d5f8aa042452d3361f325b963ebbadddac05b122e47dd/pillow-11.3.0-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5418b53c0d59b3824d05e029669efa023bbef0f3e92e75ec8428f3799487f361", size = 4957170 },
+ { url = "https://files.pythonhosted.org/packages/cc/2d/e082982aacc927fc2cab48e1e731bdb1643a1406acace8bed0900a61464e/pillow-11.3.0-pp311-pypy311_pp73-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:504b6f59505f08ae014f724b6207ff6222662aab5cc9542577fb084ed0676ac7", size = 5581505 },
+ { url = "https://files.pythonhosted.org/packages/34/e7/ae39f538fd6844e982063c3a5e4598b8ced43b9633baa3a85ef33af8c05c/pillow-11.3.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:c84d689db21a1c397d001aa08241044aa2069e7587b398c8cc63020390b1c1b8", size = 6984598 },
+]
+
+[[package]]
+name = "platformdirs"
+version = "4.9.6"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/9f/4a/0883b8e3802965322523f0b200ecf33d31f10991d0401162f4b23c698b42/platformdirs-4.9.6.tar.gz", hash = "sha256:3bfa75b0ad0db84096ae777218481852c0ebc6c727b3168c1b9e0118e458cf0a", size = 29400 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/75/a6/a0a304dc33b49145b21f4808d763822111e67d1c3a32b524a1baf947b6e1/platformdirs-4.9.6-py3-none-any.whl", hash = "sha256:e61adb1d5e5cb3441b4b7710bea7e4c12250ca49439228cc1021c00dcfac0917", size = 21348 },
+]
+
+[[package]]
+name = "pluggy"
+version = "1.6.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538 },
+]
+
+[[package]]
+name = "proglog"
+version = "0.1.12"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "tqdm" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/c2/af/c108866c452eda1132f3d6b3cb6be2ae8430c97e9309f38ca9dbd430af37/proglog-0.1.12.tar.gz", hash = "sha256:361ee074721c277b89b75c061336cb8c5f287c92b043efa562ccf7866cda931c", size = 8794 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c1/1b/f7ea6cde25621cd9236541c66ff018f4268012a534ec31032bcb187dc5e7/proglog-0.1.12-py3-none-any.whl", hash = "sha256:ccaafce51e80a81c65dc907a460c07ccb8ec1f78dc660cfd8f9ec3a22f01b84c", size = 6337 },
+]
+
+[[package]]
+name = "propcache"
+version = "0.4.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/9e/da/e9fc233cf63743258bff22b3dfa7ea5baef7b5bc324af47a0ad89b8ffc6f/propcache-0.4.1.tar.gz", hash = "sha256:f48107a8c637e80362555f37ecf49abe20370e557cc4ab374f04ec4423c97c3d", size = 46442 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/8c/d4/4e2c9aaf7ac2242b9358f98dccd8f90f2605402f5afeff6c578682c2c491/propcache-0.4.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:60a8fda9644b7dfd5dece8c61d8a85e271cb958075bfc4e01083c148b61a7caf", size = 80208 },
+ { url = "https://files.pythonhosted.org/packages/c2/21/d7b68e911f9c8e18e4ae43bdbc1e1e9bbd971f8866eb81608947b6f585ff/propcache-0.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:c30b53e7e6bda1d547cabb47c825f3843a0a1a42b0496087bb58d8fedf9f41b5", size = 45777 },
+ { url = "https://files.pythonhosted.org/packages/d3/1d/11605e99ac8ea9435651ee71ab4cb4bf03f0949586246476a25aadfec54a/propcache-0.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:6918ecbd897443087a3b7cd978d56546a812517dcaaca51b49526720571fa93e", size = 47647 },
+ { url = "https://files.pythonhosted.org/packages/58/1a/3c62c127a8466c9c843bccb503d40a273e5cc69838805f322e2826509e0d/propcache-0.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:3d902a36df4e5989763425a8ab9e98cd8ad5c52c823b34ee7ef307fd50582566", size = 214929 },
+ { url = "https://files.pythonhosted.org/packages/56/b9/8fa98f850960b367c4b8fe0592e7fc341daa7a9462e925228f10a60cf74f/propcache-0.4.1-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a9695397f85973bb40427dedddf70d8dc4a44b22f1650dd4af9eedf443d45165", size = 221778 },
+ { url = "https://files.pythonhosted.org/packages/46/a6/0ab4f660eb59649d14b3d3d65c439421cf2f87fe5dd68591cbe3c1e78a89/propcache-0.4.1-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:2bb07ffd7eaad486576430c89f9b215f9e4be68c4866a96e97db9e97fead85dc", size = 228144 },
+ { url = "https://files.pythonhosted.org/packages/52/6a/57f43e054fb3d3a56ac9fc532bc684fc6169a26c75c353e65425b3e56eef/propcache-0.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fd6f30fdcf9ae2a70abd34da54f18da086160e4d7d9251f81f3da0ff84fc5a48", size = 210030 },
+ { url = "https://files.pythonhosted.org/packages/40/e2/27e6feebb5f6b8408fa29f5efbb765cd54c153ac77314d27e457a3e993b7/propcache-0.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:fc38cba02d1acba4e2869eef1a57a43dfbd3d49a59bf90dda7444ec2be6a5570", size = 208252 },
+ { url = "https://files.pythonhosted.org/packages/9e/f8/91c27b22ccda1dbc7967f921c42825564fa5336a01ecd72eb78a9f4f53c2/propcache-0.4.1-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:67fad6162281e80e882fb3ec355398cf72864a54069d060321f6cd0ade95fe85", size = 202064 },
+ { url = "https://files.pythonhosted.org/packages/f2/26/7f00bd6bd1adba5aafe5f4a66390f243acab58eab24ff1a08bebb2ef9d40/propcache-0.4.1-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:f10207adf04d08bec185bae14d9606a1444715bc99180f9331c9c02093e1959e", size = 212429 },
+ { url = "https://files.pythonhosted.org/packages/84/89/fd108ba7815c1117ddca79c228f3f8a15fc82a73bca8b142eb5de13b2785/propcache-0.4.1-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:e9b0d8d0845bbc4cfcdcbcdbf5086886bc8157aa963c31c777ceff7846c77757", size = 216727 },
+ { url = "https://files.pythonhosted.org/packages/79/37/3ec3f7e3173e73f1d600495d8b545b53802cbf35506e5732dd8578db3724/propcache-0.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:981333cb2f4c1896a12f4ab92a9cc8f09ea664e9b7dbdc4eff74627af3a11c0f", size = 205097 },
+ { url = "https://files.pythonhosted.org/packages/61/b0/b2631c19793f869d35f47d5a3a56fb19e9160d3c119f15ac7344fc3ccae7/propcache-0.4.1-cp311-cp311-win32.whl", hash = "sha256:f1d2f90aeec838a52f1c1a32fe9a619fefd5e411721a9117fbf82aea638fe8a1", size = 38084 },
+ { url = "https://files.pythonhosted.org/packages/f4/78/6cce448e2098e9f3bfc91bb877f06aa24b6ccace872e39c53b2f707c4648/propcache-0.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:364426a62660f3f699949ac8c621aad6977be7126c5807ce48c0aeb8e7333ea6", size = 41637 },
+ { url = "https://files.pythonhosted.org/packages/9c/e9/754f180cccd7f51a39913782c74717c581b9cc8177ad0e949f4d51812383/propcache-0.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:e53f3a38d3510c11953f3e6a33f205c6d1b001129f972805ca9b42fc308bc239", size = 38064 },
+ { url = "https://files.pythonhosted.org/packages/a2/0f/f17b1b2b221d5ca28b4b876e8bb046ac40466513960646bda8e1853cdfa2/propcache-0.4.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:e153e9cd40cc8945138822807139367f256f89c6810c2634a4f6902b52d3b4e2", size = 80061 },
+ { url = "https://files.pythonhosted.org/packages/76/47/8ccf75935f51448ba9a16a71b783eb7ef6b9ee60f5d14c7f8a8a79fbeed7/propcache-0.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:cd547953428f7abb73c5ad82cbb32109566204260d98e41e5dfdc682eb7f8403", size = 46037 },
+ { url = "https://files.pythonhosted.org/packages/0a/b6/5c9a0e42df4d00bfb4a3cbbe5cf9f54260300c88a0e9af1f47ca5ce17ac0/propcache-0.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f048da1b4f243fc44f205dfd320933a951b8d89e0afd4c7cacc762a8b9165207", size = 47324 },
+ { url = "https://files.pythonhosted.org/packages/9e/d3/6c7ee328b39a81ee877c962469f1e795f9db87f925251efeb0545e0020d0/propcache-0.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ec17c65562a827bba85e3872ead335f95405ea1674860d96483a02f5c698fa72", size = 225505 },
+ { url = "https://files.pythonhosted.org/packages/01/5d/1c53f4563490b1d06a684742cc6076ef944bc6457df6051b7d1a877c057b/propcache-0.4.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:405aac25c6394ef275dee4c709be43745d36674b223ba4eb7144bf4d691b7367", size = 230242 },
+ { url = "https://files.pythonhosted.org/packages/20/e1/ce4620633b0e2422207c3cb774a0ee61cac13abc6217763a7b9e2e3f4a12/propcache-0.4.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:0013cb6f8dde4b2a2f66903b8ba740bdfe378c943c4377a200551ceb27f379e4", size = 238474 },
+ { url = "https://files.pythonhosted.org/packages/46/4b/3aae6835b8e5f44ea6a68348ad90f78134047b503765087be2f9912140ea/propcache-0.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:15932ab57837c3368b024473a525e25d316d8353016e7cc0e5ba9eb343fbb1cf", size = 221575 },
+ { url = "https://files.pythonhosted.org/packages/6e/a5/8a5e8678bcc9d3a1a15b9a29165640d64762d424a16af543f00629c87338/propcache-0.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:031dce78b9dc099f4c29785d9cf5577a3faf9ebf74ecbd3c856a7b92768c3df3", size = 216736 },
+ { url = "https://files.pythonhosted.org/packages/f1/63/b7b215eddeac83ca1c6b934f89d09a625aa9ee4ba158338854c87210cc36/propcache-0.4.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:ab08df6c9a035bee56e31af99be621526bd237bea9f32def431c656b29e41778", size = 213019 },
+ { url = "https://files.pythonhosted.org/packages/57/74/f580099a58c8af587cac7ba19ee7cb418506342fbbe2d4a4401661cca886/propcache-0.4.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:4d7af63f9f93fe593afbf104c21b3b15868efb2c21d07d8732c0c4287e66b6a6", size = 220376 },
+ { url = "https://files.pythonhosted.org/packages/c4/ee/542f1313aff7eaf19c2bb758c5d0560d2683dac001a1c96d0774af799843/propcache-0.4.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:cfc27c945f422e8b5071b6e93169679e4eb5bf73bbcbf1ba3ae3a83d2f78ebd9", size = 226988 },
+ { url = "https://files.pythonhosted.org/packages/8f/18/9c6b015dd9c6930f6ce2229e1f02fb35298b847f2087ea2b436a5bfa7287/propcache-0.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:35c3277624a080cc6ec6f847cbbbb5b49affa3598c4535a0a4682a697aaa5c75", size = 215615 },
+ { url = "https://files.pythonhosted.org/packages/80/9e/e7b85720b98c45a45e1fca6a177024934dc9bc5f4d5dd04207f216fc33ed/propcache-0.4.1-cp312-cp312-win32.whl", hash = "sha256:671538c2262dadb5ba6395e26c1731e1d52534bfe9ae56d0b5573ce539266aa8", size = 38066 },
+ { url = "https://files.pythonhosted.org/packages/54/09/d19cff2a5aaac632ec8fc03737b223597b1e347416934c1b3a7df079784c/propcache-0.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:cb2d222e72399fcf5890d1d5cc1060857b9b236adff2792ff48ca2dfd46c81db", size = 41655 },
+ { url = "https://files.pythonhosted.org/packages/68/ab/6b5c191bb5de08036a8c697b265d4ca76148efb10fa162f14af14fb5f076/propcache-0.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:204483131fb222bdaaeeea9f9e6c6ed0cac32731f75dfc1d4a567fc1926477c1", size = 37789 },
+ { url = "https://files.pythonhosted.org/packages/bf/df/6d9c1b6ac12b003837dde8a10231a7344512186e87b36e855bef32241942/propcache-0.4.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:43eedf29202c08550aac1d14e0ee619b0430aaef78f85864c1a892294fbc28cf", size = 77750 },
+ { url = "https://files.pythonhosted.org/packages/8b/e8/677a0025e8a2acf07d3418a2e7ba529c9c33caf09d3c1f25513023c1db56/propcache-0.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:d62cdfcfd89ccb8de04e0eda998535c406bf5e060ffd56be6c586cbcc05b3311", size = 44780 },
+ { url = "https://files.pythonhosted.org/packages/89/a4/92380f7ca60f99ebae761936bc48a72a639e8a47b29050615eef757cb2a7/propcache-0.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:cae65ad55793da34db5f54e4029b89d3b9b9490d8abe1b4c7ab5d4b8ec7ebf74", size = 46308 },
+ { url = "https://files.pythonhosted.org/packages/2d/48/c5ac64dee5262044348d1d78a5f85dd1a57464a60d30daee946699963eb3/propcache-0.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:333ddb9031d2704a301ee3e506dc46b1fe5f294ec198ed6435ad5b6a085facfe", size = 208182 },
+ { url = "https://files.pythonhosted.org/packages/c6/0c/cd762dd011a9287389a6a3eb43aa30207bde253610cca06824aeabfe9653/propcache-0.4.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:fd0858c20f078a32cf55f7e81473d96dcf3b93fd2ccdb3d40fdf54b8573df3af", size = 211215 },
+ { url = "https://files.pythonhosted.org/packages/30/3e/49861e90233ba36890ae0ca4c660e95df565b2cd15d4a68556ab5865974e/propcache-0.4.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:678ae89ebc632c5c204c794f8dab2837c5f159aeb59e6ed0539500400577298c", size = 218112 },
+ { url = "https://files.pythonhosted.org/packages/f1/8b/544bc867e24e1bd48f3118cecd3b05c694e160a168478fa28770f22fd094/propcache-0.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d472aeb4fbf9865e0c6d622d7f4d54a4e101a89715d8904282bb5f9a2f476c3f", size = 204442 },
+ { url = "https://files.pythonhosted.org/packages/50/a6/4282772fd016a76d3e5c0df58380a5ea64900afd836cec2c2f662d1b9bb3/propcache-0.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:4d3df5fa7e36b3225954fba85589da77a0fe6a53e3976de39caf04a0db4c36f1", size = 199398 },
+ { url = "https://files.pythonhosted.org/packages/3e/ec/d8a7cd406ee1ddb705db2139f8a10a8a427100347bd698e7014351c7af09/propcache-0.4.1-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:ee17f18d2498f2673e432faaa71698032b0127ebf23ae5974eeaf806c279df24", size = 196920 },
+ { url = "https://files.pythonhosted.org/packages/f6/6c/f38ab64af3764f431e359f8baf9e0a21013e24329e8b85d2da32e8ed07ca/propcache-0.4.1-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:580e97762b950f993ae618e167e7be9256b8353c2dcd8b99ec100eb50f5286aa", size = 203748 },
+ { url = "https://files.pythonhosted.org/packages/d6/e3/fa846bd70f6534d647886621388f0a265254d30e3ce47e5c8e6e27dbf153/propcache-0.4.1-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:501d20b891688eb8e7aa903021f0b72d5a55db40ffaab27edefd1027caaafa61", size = 205877 },
+ { url = "https://files.pythonhosted.org/packages/e2/39/8163fc6f3133fea7b5f2827e8eba2029a0277ab2c5beee6c1db7b10fc23d/propcache-0.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9a0bd56e5b100aef69bd8562b74b46254e7c8812918d3baa700c8a8009b0af66", size = 199437 },
+ { url = "https://files.pythonhosted.org/packages/93/89/caa9089970ca49c7c01662bd0eeedfe85494e863e8043565aeb6472ce8fe/propcache-0.4.1-cp313-cp313-win32.whl", hash = "sha256:bcc9aaa5d80322bc2fb24bb7accb4a30f81e90ab8d6ba187aec0744bc302ad81", size = 37586 },
+ { url = "https://files.pythonhosted.org/packages/f5/ab/f76ec3c3627c883215b5c8080debb4394ef5a7a29be811f786415fc1e6fd/propcache-0.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:381914df18634f5494334d201e98245c0596067504b9372d8cf93f4bb23e025e", size = 40790 },
+ { url = "https://files.pythonhosted.org/packages/59/1b/e71ae98235f8e2ba5004d8cb19765a74877abf189bc53fc0c80d799e56c3/propcache-0.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:8873eb4460fd55333ea49b7d189749ecf6e55bf85080f11b1c4530ed3034cba1", size = 37158 },
+ { url = "https://files.pythonhosted.org/packages/83/ce/a31bbdfc24ee0dcbba458c8175ed26089cf109a55bbe7b7640ed2470cfe9/propcache-0.4.1-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:92d1935ee1f8d7442da9c0c4fa7ac20d07e94064184811b685f5c4fada64553b", size = 81451 },
+ { url = "https://files.pythonhosted.org/packages/25/9c/442a45a470a68456e710d96cacd3573ef26a1d0a60067e6a7d5e655621ed/propcache-0.4.1-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:473c61b39e1460d386479b9b2f337da492042447c9b685f28be4f74d3529e566", size = 46374 },
+ { url = "https://files.pythonhosted.org/packages/f4/bf/b1d5e21dbc3b2e889ea4327044fb16312a736d97640fb8b6aa3f9c7b3b65/propcache-0.4.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:c0ef0aaafc66fbd87842a3fe3902fd889825646bc21149eafe47be6072725835", size = 48396 },
+ { url = "https://files.pythonhosted.org/packages/f4/04/5b4c54a103d480e978d3c8a76073502b18db0c4bc17ab91b3cb5092ad949/propcache-0.4.1-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f95393b4d66bfae908c3ca8d169d5f79cd65636ae15b5e7a4f6e67af675adb0e", size = 275950 },
+ { url = "https://files.pythonhosted.org/packages/b4/c1/86f846827fb969c4b78b0af79bba1d1ea2156492e1b83dea8b8a6ae27395/propcache-0.4.1-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c07fda85708bc48578467e85099645167a955ba093be0a2dcba962195676e859", size = 273856 },
+ { url = "https://files.pythonhosted.org/packages/36/1d/fc272a63c8d3bbad6878c336c7a7dea15e8f2d23a544bda43205dfa83ada/propcache-0.4.1-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:af223b406d6d000830c6f65f1e6431783fc3f713ba3e6cc8c024d5ee96170a4b", size = 280420 },
+ { url = "https://files.pythonhosted.org/packages/07/0c/01f2219d39f7e53d52e5173bcb09c976609ba30209912a0680adfb8c593a/propcache-0.4.1-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a78372c932c90ee474559c5ddfffd718238e8673c340dc21fe45c5b8b54559a0", size = 263254 },
+ { url = "https://files.pythonhosted.org/packages/2d/18/cd28081658ce597898f0c4d174d4d0f3c5b6d4dc27ffafeef835c95eb359/propcache-0.4.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:564d9f0d4d9509e1a870c920a89b2fec951b44bf5ba7d537a9e7c1ccec2c18af", size = 261205 },
+ { url = "https://files.pythonhosted.org/packages/7a/71/1f9e22eb8b8316701c2a19fa1f388c8a3185082607da8e406a803c9b954e/propcache-0.4.1-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:17612831fda0138059cc5546f4d12a2aacfb9e47068c06af35c400ba58ba7393", size = 247873 },
+ { url = "https://files.pythonhosted.org/packages/4a/65/3d4b61f36af2b4eddba9def857959f1016a51066b4f1ce348e0cf7881f58/propcache-0.4.1-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:41a89040cb10bd345b3c1a873b2bf36413d48da1def52f268a055f7398514874", size = 262739 },
+ { url = "https://files.pythonhosted.org/packages/2a/42/26746ab087faa77c1c68079b228810436ccd9a5ce9ac85e2b7307195fd06/propcache-0.4.1-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:e35b88984e7fa64aacecea39236cee32dd9bd8c55f57ba8a75cf2399553f9bd7", size = 263514 },
+ { url = "https://files.pythonhosted.org/packages/94/13/630690fe201f5502d2403dd3cfd451ed8858fe3c738ee88d095ad2ff407b/propcache-0.4.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:6f8b465489f927b0df505cbe26ffbeed4d6d8a2bbc61ce90eb074ff129ef0ab1", size = 257781 },
+ { url = "https://files.pythonhosted.org/packages/92/f7/1d4ec5841505f423469efbfc381d64b7b467438cd5a4bbcbb063f3b73d27/propcache-0.4.1-cp313-cp313t-win32.whl", hash = "sha256:2ad890caa1d928c7c2965b48f3a3815c853180831d0e5503d35cf00c472f4717", size = 41396 },
+ { url = "https://files.pythonhosted.org/packages/48/f0/615c30622316496d2cbbc29f5985f7777d3ada70f23370608c1d3e081c1f/propcache-0.4.1-cp313-cp313t-win_amd64.whl", hash = "sha256:f7ee0e597f495cf415bcbd3da3caa3bd7e816b74d0d52b8145954c5e6fd3ff37", size = 44897 },
+ { url = "https://files.pythonhosted.org/packages/fd/ca/6002e46eccbe0e33dcd4069ef32f7f1c9e243736e07adca37ae8c4830ec3/propcache-0.4.1-cp313-cp313t-win_arm64.whl", hash = "sha256:929d7cbe1f01bb7baffb33dc14eb5691c95831450a26354cd210a8155170c93a", size = 39789 },
+ { url = "https://files.pythonhosted.org/packages/8e/5c/bca52d654a896f831b8256683457ceddd490ec18d9ec50e97dfd8fc726a8/propcache-0.4.1-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:3f7124c9d820ba5548d431afb4632301acf965db49e666aa21c305cbe8c6de12", size = 78152 },
+ { url = "https://files.pythonhosted.org/packages/65/9b/03b04e7d82a5f54fb16113d839f5ea1ede58a61e90edf515f6577c66fa8f/propcache-0.4.1-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:c0d4b719b7da33599dfe3b22d3db1ef789210a0597bc650b7cee9c77c2be8c5c", size = 44869 },
+ { url = "https://files.pythonhosted.org/packages/b2/fa/89a8ef0468d5833a23fff277b143d0573897cf75bd56670a6d28126c7d68/propcache-0.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:9f302f4783709a78240ebc311b793f123328716a60911d667e0c036bc5dcbded", size = 46596 },
+ { url = "https://files.pythonhosted.org/packages/86/bd/47816020d337f4a746edc42fe8d53669965138f39ee117414c7d7a340cfe/propcache-0.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c80ee5802e3fb9ea37938e7eecc307fb984837091d5fd262bb37238b1ae97641", size = 206981 },
+ { url = "https://files.pythonhosted.org/packages/df/f6/c5fa1357cc9748510ee55f37173eb31bfde6d94e98ccd9e6f033f2fc06e1/propcache-0.4.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:ed5a841e8bb29a55fb8159ed526b26adc5bdd7e8bd7bf793ce647cb08656cdf4", size = 211490 },
+ { url = "https://files.pythonhosted.org/packages/80/1e/e5889652a7c4a3846683401a48f0f2e5083ce0ec1a8a5221d8058fbd1adf/propcache-0.4.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:55c72fd6ea2da4c318e74ffdf93c4fe4e926051133657459131a95c846d16d44", size = 215371 },
+ { url = "https://files.pythonhosted.org/packages/b2/f2/889ad4b2408f72fe1a4f6a19491177b30ea7bf1a0fd5f17050ca08cfc882/propcache-0.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:8326e144341460402713f91df60ade3c999d601e7eb5ff8f6f7862d54de0610d", size = 201424 },
+ { url = "https://files.pythonhosted.org/packages/27/73/033d63069b57b0812c8bd19f311faebeceb6ba31b8f32b73432d12a0b826/propcache-0.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:060b16ae65bc098da7f6d25bf359f1f31f688384858204fe5d652979e0015e5b", size = 197566 },
+ { url = "https://files.pythonhosted.org/packages/dc/89/ce24f3dc182630b4e07aa6d15f0ff4b14ed4b9955fae95a0b54c58d66c05/propcache-0.4.1-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:89eb3fa9524f7bec9de6e83cf3faed9d79bffa560672c118a96a171a6f55831e", size = 193130 },
+ { url = "https://files.pythonhosted.org/packages/a9/24/ef0d5fd1a811fb5c609278d0209c9f10c35f20581fcc16f818da959fc5b4/propcache-0.4.1-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:dee69d7015dc235f526fe80a9c90d65eb0039103fe565776250881731f06349f", size = 202625 },
+ { url = "https://files.pythonhosted.org/packages/f5/02/98ec20ff5546f68d673df2f7a69e8c0d076b5abd05ca882dc7ee3a83653d/propcache-0.4.1-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:5558992a00dfd54ccbc64a32726a3357ec93825a418a401f5cc67df0ac5d9e49", size = 204209 },
+ { url = "https://files.pythonhosted.org/packages/a0/87/492694f76759b15f0467a2a93ab68d32859672b646aa8a04ce4864e7932d/propcache-0.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:c9b822a577f560fbd9554812526831712c1436d2c046cedee4c3796d3543b144", size = 197797 },
+ { url = "https://files.pythonhosted.org/packages/ee/36/66367de3575db1d2d3f3d177432bd14ee577a39d3f5d1b3d5df8afe3b6e2/propcache-0.4.1-cp314-cp314-win32.whl", hash = "sha256:ab4c29b49d560fe48b696cdcb127dd36e0bc2472548f3bf56cc5cb3da2b2984f", size = 38140 },
+ { url = "https://files.pythonhosted.org/packages/0c/2a/a758b47de253636e1b8aef181c0b4f4f204bf0dd964914fb2af90a95b49b/propcache-0.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:5a103c3eb905fcea0ab98be99c3a9a5ab2de60228aa5aceedc614c0281cf6153", size = 41257 },
+ { url = "https://files.pythonhosted.org/packages/34/5e/63bd5896c3fec12edcbd6f12508d4890d23c265df28c74b175e1ef9f4f3b/propcache-0.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:74c1fb26515153e482e00177a1ad654721bf9207da8a494a0c05e797ad27b992", size = 38097 },
+ { url = "https://files.pythonhosted.org/packages/99/85/9ff785d787ccf9bbb3f3106f79884a130951436f58392000231b4c737c80/propcache-0.4.1-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:824e908bce90fb2743bd6b59db36eb4f45cd350a39637c9f73b1c1ea66f5b75f", size = 81455 },
+ { url = "https://files.pythonhosted.org/packages/90/85/2431c10c8e7ddb1445c1f7c4b54d886e8ad20e3c6307e7218f05922cad67/propcache-0.4.1-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:c2b5e7db5328427c57c8e8831abda175421b709672f6cfc3d630c3b7e2146393", size = 46372 },
+ { url = "https://files.pythonhosted.org/packages/01/20/b0972d902472da9bcb683fa595099911f4d2e86e5683bcc45de60dd05dc3/propcache-0.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:6f6ff873ed40292cd4969ef5310179afd5db59fdf055897e282485043fc80ad0", size = 48411 },
+ { url = "https://files.pythonhosted.org/packages/e2/e3/7dc89f4f21e8f99bad3d5ddb3a3389afcf9da4ac69e3deb2dcdc96e74169/propcache-0.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:49a2dc67c154db2c1463013594c458881a069fcf98940e61a0569016a583020a", size = 275712 },
+ { url = "https://files.pythonhosted.org/packages/20/67/89800c8352489b21a8047c773067644e3897f02ecbbd610f4d46b7f08612/propcache-0.4.1-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:005f08e6a0529984491e37d8dbc3dd86f84bd78a8ceb5fa9a021f4c48d4984be", size = 273557 },
+ { url = "https://files.pythonhosted.org/packages/e2/a1/b52b055c766a54ce6d9c16d9aca0cad8059acd9637cdf8aa0222f4a026ef/propcache-0.4.1-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5c3310452e0d31390da9035c348633b43d7e7feb2e37be252be6da45abd1abcc", size = 280015 },
+ { url = "https://files.pythonhosted.org/packages/48/c8/33cee30bd890672c63743049f3c9e4be087e6780906bfc3ec58528be59c1/propcache-0.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4c3c70630930447f9ef1caac7728c8ad1c56bc5015338b20fed0d08ea2480b3a", size = 262880 },
+ { url = "https://files.pythonhosted.org/packages/0c/b1/8f08a143b204b418285c88b83d00edbd61afbc2c6415ffafc8905da7038b/propcache-0.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8e57061305815dfc910a3634dcf584f08168a8836e6999983569f51a8544cd89", size = 260938 },
+ { url = "https://files.pythonhosted.org/packages/cf/12/96e4664c82ca2f31e1c8dff86afb867348979eb78d3cb8546a680287a1e9/propcache-0.4.1-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:521a463429ef54143092c11a77e04056dd00636f72e8c45b70aaa3140d639726", size = 247641 },
+ { url = "https://files.pythonhosted.org/packages/18/ed/e7a9cfca28133386ba52278136d42209d3125db08d0a6395f0cba0c0285c/propcache-0.4.1-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:120c964da3fdc75e3731aa392527136d4ad35868cc556fd09bb6d09172d9a367", size = 262510 },
+ { url = "https://files.pythonhosted.org/packages/f5/76/16d8bf65e8845dd62b4e2b57444ab81f07f40caa5652b8969b87ddcf2ef6/propcache-0.4.1-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:d8f353eb14ee3441ee844ade4277d560cdd68288838673273b978e3d6d2c8f36", size = 263161 },
+ { url = "https://files.pythonhosted.org/packages/e7/70/c99e9edb5d91d5ad8a49fa3c1e8285ba64f1476782fed10ab251ff413ba1/propcache-0.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:ab2943be7c652f09638800905ee1bab2c544e537edb57d527997a24c13dc1455", size = 257393 },
+ { url = "https://files.pythonhosted.org/packages/08/02/87b25304249a35c0915d236575bc3574a323f60b47939a2262b77632a3ee/propcache-0.4.1-cp314-cp314t-win32.whl", hash = "sha256:05674a162469f31358c30bcaa8883cb7829fa3110bf9c0991fe27d7896c42d85", size = 42546 },
+ { url = "https://files.pythonhosted.org/packages/cb/ef/3c6ecf8b317aa982f309835e8f96987466123c6e596646d4e6a1dfcd080f/propcache-0.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:990f6b3e2a27d683cb7602ed6c86f15ee6b43b1194736f9baaeb93d0016633b1", size = 46259 },
+ { url = "https://files.pythonhosted.org/packages/c4/2d/346e946d4951f37eca1e4f55be0f0174c52cd70720f84029b02f296f4a38/propcache-0.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:ecef2343af4cc68e05131e45024ba34f6095821988a9d0a02aa7c73fcc448aa9", size = 40428 },
+ { url = "https://files.pythonhosted.org/packages/5b/5a/bc7b4a4ef808fa59a816c17b20c4bef6884daebbdf627ff2a161da67da19/propcache-0.4.1-py3-none-any.whl", hash = "sha256:af2a6052aeb6cf17d3e46ee169099044fd8224cbaf75c76a2ef596e8163e2237", size = 13305 },
+]
+
+[[package]]
+name = "proto-plus"
+version = "1.27.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "protobuf" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/81/0d/94dfe80193e79d55258345901acd2917523d56e8381bc4dee7fd38e3868a/proto_plus-1.27.2.tar.gz", hash = "sha256:b2adde53adadf75737c44d3dcb0104fde65250dfc83ad59168b4aa3e574b6a24", size = 57204 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/84/f3/1fba73eeffafc998a25d59703b63f8be4fe8a5cb12eaff7386a0ba0f7125/proto_plus-1.27.2-py3-none-any.whl", hash = "sha256:6432f75893d3b9e70b9c412f1d2f03f65b11fb164b793d14ae2ca01821d22718", size = 50450 },
+]
+
+[[package]]
+name = "protobuf"
+version = "6.33.6"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/66/70/e908e9c5e52ef7c3a6c7902c9dfbb34c7e29c25d2f81ade3856445fd5c94/protobuf-6.33.6.tar.gz", hash = "sha256:a6768d25248312c297558af96a9f9c929e8c4cee0659cb07e780731095f38135", size = 444531 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fc/9f/2f509339e89cfa6f6a4c4ff50438db9ca488dec341f7e454adad60150b00/protobuf-6.33.6-cp310-abi3-win32.whl", hash = "sha256:7d29d9b65f8afef196f8334e80d6bc1d5d4adedb449971fefd3723824e6e77d3", size = 425739 },
+ { url = "https://files.pythonhosted.org/packages/76/5d/683efcd4798e0030c1bab27374fd13a89f7c2515fb1f3123efdfaa5eab57/protobuf-6.33.6-cp310-abi3-win_amd64.whl", hash = "sha256:0cd27b587afca21b7cfa59a74dcbd48a50f0a6400cfb59391340ad729d91d326", size = 437089 },
+ { url = "https://files.pythonhosted.org/packages/5c/01/a3c3ed5cd186f39e7880f8303cc51385a198a81469d53d0fdecf1f64d929/protobuf-6.33.6-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:9720e6961b251bde64edfdab7d500725a2af5280f3f4c87e57c0208376aa8c3a", size = 427737 },
+ { url = "https://files.pythonhosted.org/packages/ee/90/b3c01fdec7d2f627b3a6884243ba328c1217ed2d978def5c12dc50d328a3/protobuf-6.33.6-cp39-abi3-manylinux2014_aarch64.whl", hash = "sha256:e2afbae9b8e1825e3529f88d514754e094278bb95eadc0e199751cdd9a2e82a2", size = 324610 },
+ { url = "https://files.pythonhosted.org/packages/9b/ca/25afc144934014700c52e05103c2421997482d561f3101ff352e1292fb81/protobuf-6.33.6-cp39-abi3-manylinux2014_s390x.whl", hash = "sha256:c96c37eec15086b79762ed265d59ab204dabc53056e3443e702d2681f4b39ce3", size = 339381 },
+ { url = "https://files.pythonhosted.org/packages/16/92/d1e32e3e0d894fe00b15ce28ad4944ab692713f2e7f0a99787405e43533a/protobuf-6.33.6-cp39-abi3-manylinux2014_x86_64.whl", hash = "sha256:e9db7e292e0ab79dd108d7f1a94fe31601ce1ee3f7b79e0692043423020b0593", size = 323436 },
+ { url = "https://files.pythonhosted.org/packages/c4/72/02445137af02769918a93807b2b7890047c32bfb9f90371cbc12688819eb/protobuf-6.33.6-py3-none-any.whl", hash = "sha256:77179e006c476e69bf8e8ce866640091ec42e1beb80b213c3900006ecfba6901", size = 170656 },
+]
+
+[[package]]
+name = "pyarrow"
+version = "23.0.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/88/22/134986a4cc224d593c1afde5494d18ff629393d74cc2eddb176669f234a4/pyarrow-23.0.1.tar.gz", hash = "sha256:b8c5873e33440b2bc2f4a79d2b47017a89c5a24116c055625e6f2ee50523f019", size = 1167336 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b0/41/8e6b6ef7e225d4ceead8459427a52afdc23379768f54dd3566014d7618c1/pyarrow-23.0.1-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:6f0147ee9e0386f519c952cc670eb4a8b05caa594eeffe01af0e25f699e4e9bb", size = 34302230 },
+ { url = "https://files.pythonhosted.org/packages/bf/4a/1472c00392f521fea03ae93408bf445cc7bfa1ab81683faf9bc188e36629/pyarrow-23.0.1-cp311-cp311-macosx_12_0_x86_64.whl", hash = "sha256:0ae6e17c828455b6265d590100c295193f93cc5675eb0af59e49dbd00d2de350", size = 35850050 },
+ { url = "https://files.pythonhosted.org/packages/0c/b2/bd1f2f05ded56af7f54d702c8364c9c43cd6abb91b0e9933f3d77b4f4132/pyarrow-23.0.1-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:fed7020203e9ef273360b9e45be52a2a47d3103caf156a30ace5247ffb51bdbd", size = 44491918 },
+ { url = "https://files.pythonhosted.org/packages/0b/62/96459ef5b67957eac38a90f541d1c28833d1b367f014a482cb63f3b7cd2d/pyarrow-23.0.1-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:26d50dee49d741ac0e82185033488d28d35be4d763ae6f321f97d1140eb7a0e9", size = 47562811 },
+ { url = "https://files.pythonhosted.org/packages/7d/94/1170e235add1f5f45a954e26cd0e906e7e74e23392dcb560de471f7366ec/pyarrow-23.0.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:3c30143b17161310f151f4a2bcfe41b5ff744238c1039338779424e38579d701", size = 48183766 },
+ { url = "https://files.pythonhosted.org/packages/0e/2d/39a42af4570377b99774cdb47f63ee6c7da7616bd55b3d5001aa18edfe4f/pyarrow-23.0.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:db2190fa79c80a23fdd29fef4b8992893f024ae7c17d2f5f4db7171fa30c2c78", size = 50607669 },
+ { url = "https://files.pythonhosted.org/packages/00/ca/db94101c187f3df742133ac837e93b1f269ebdac49427f8310ee40b6a58f/pyarrow-23.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:f00f993a8179e0e1c9713bcc0baf6d6c01326a406a9c23495ec1ba9c9ebf2919", size = 27527698 },
+ { url = "https://files.pythonhosted.org/packages/9a/4b/4166bb5abbfe6f750fc60ad337c43ecf61340fa52ab386da6e8dbf9e63c4/pyarrow-23.0.1-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:f4b0dbfa124c0bb161f8b5ebb40f1a680b70279aa0c9901d44a2b5a20806039f", size = 34214575 },
+ { url = "https://files.pythonhosted.org/packages/e1/da/3f941e3734ac8088ea588b53e860baeddac8323ea40ce22e3d0baa865cc9/pyarrow-23.0.1-cp312-cp312-macosx_12_0_x86_64.whl", hash = "sha256:7707d2b6673f7de054e2e83d59f9e805939038eebe1763fe811ee8fa5c0cd1a7", size = 35832540 },
+ { url = "https://files.pythonhosted.org/packages/88/7c/3d841c366620e906d54430817531b877ba646310296df42ef697308c2705/pyarrow-23.0.1-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:86ff03fb9f1a320266e0de855dee4b17da6794c595d207f89bba40d16b5c78b9", size = 44470940 },
+ { url = "https://files.pythonhosted.org/packages/2c/a5/da83046273d990f256cb79796a190bbf7ec999269705ddc609403f8c6b06/pyarrow-23.0.1-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:813d99f31275919c383aab17f0f455a04f5a429c261cc411b1e9a8f5e4aaaa05", size = 47586063 },
+ { url = "https://files.pythonhosted.org/packages/5b/3c/b7d2ebcff47a514f47f9da1e74b7949138c58cfeb108cdd4ee62f43f0cf3/pyarrow-23.0.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:bf5842f960cddd2ef757d486041d57c96483efc295a8c4a0e20e704cbbf39c67", size = 48173045 },
+ { url = "https://files.pythonhosted.org/packages/43/b2/b40961262213beaba6acfc88698eb773dfce32ecdf34d19291db94c2bd73/pyarrow-23.0.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:564baf97c858ecc03ec01a41062e8f4698abc3e6e2acd79c01c2e97880a19730", size = 50621741 },
+ { url = "https://files.pythonhosted.org/packages/f6/70/1fdda42d65b28b078e93d75d371b2185a61da89dda4def8ba6ba41ebdeb4/pyarrow-23.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:07deae7783782ac7250989a7b2ecde9b3c343a643f82e8a4df03d93b633006f0", size = 27620678 },
+ { url = "https://files.pythonhosted.org/packages/47/10/2cbe4c6f0fb83d2de37249567373d64327a5e4d8db72f486db42875b08f6/pyarrow-23.0.1-cp313-cp313-macosx_12_0_arm64.whl", hash = "sha256:6b8fda694640b00e8af3c824f99f789e836720aa8c9379fb435d4c4953a756b8", size = 34210066 },
+ { url = "https://files.pythonhosted.org/packages/cb/4f/679fa7e84dadbaca7a65f7cdba8d6c83febbd93ca12fa4adf40ba3b6362b/pyarrow-23.0.1-cp313-cp313-macosx_12_0_x86_64.whl", hash = "sha256:8ff51b1addc469b9444b7c6f3548e19dc931b172ab234e995a60aea9f6e6025f", size = 35825526 },
+ { url = "https://files.pythonhosted.org/packages/f9/63/d2747d930882c9d661e9398eefc54f15696547b8983aaaf11d4a2e8b5426/pyarrow-23.0.1-cp313-cp313-manylinux_2_28_aarch64.whl", hash = "sha256:71c5be5cbf1e1cb6169d2a0980850bccb558ddc9b747b6206435313c47c37677", size = 44473279 },
+ { url = "https://files.pythonhosted.org/packages/b3/93/10a48b5e238de6d562a411af6467e71e7aedbc9b87f8d3a35f1560ae30fb/pyarrow-23.0.1-cp313-cp313-manylinux_2_28_x86_64.whl", hash = "sha256:9b6f4f17b43bc39d56fec96e53fe89d94bac3eb134137964371b45352d40d0c2", size = 47585798 },
+ { url = "https://files.pythonhosted.org/packages/5c/20/476943001c54ef078dbf9542280e22741219a184a0632862bca4feccd666/pyarrow-23.0.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:9fc13fc6c403d1337acab46a2c4346ca6c9dec5780c3c697cf8abfd5e19b6b37", size = 48179446 },
+ { url = "https://files.pythonhosted.org/packages/4b/b6/5dd0c47b335fcd8edba9bfab78ad961bd0fd55ebe53468cc393f45e0be60/pyarrow-23.0.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:5c16ed4f53247fa3ffb12a14d236de4213a4415d127fe9cebed33d51671113e2", size = 50623972 },
+ { url = "https://files.pythonhosted.org/packages/d5/09/a532297c9591a727d67760e2e756b83905dd89adb365a7f6e9c72578bcc1/pyarrow-23.0.1-cp313-cp313-win_amd64.whl", hash = "sha256:cecfb12ef629cf6be0b1887f9f86463b0dd3dc3195ae6224e74006be4736035a", size = 27540749 },
+ { url = "https://files.pythonhosted.org/packages/a5/8e/38749c4b1303e6ae76b3c80618f84861ae0c55dd3c2273842ea6f8258233/pyarrow-23.0.1-cp313-cp313t-macosx_12_0_arm64.whl", hash = "sha256:29f7f7419a0e30264ea261fdc0e5fe63ce5a6095003db2945d7cd78df391a7e1", size = 34471544 },
+ { url = "https://files.pythonhosted.org/packages/a3/73/f237b2bc8c669212f842bcfd842b04fc8d936bfc9d471630569132dc920d/pyarrow-23.0.1-cp313-cp313t-macosx_12_0_x86_64.whl", hash = "sha256:33d648dc25b51fd8055c19e4261e813dfc4d2427f068bcecc8b53d01b81b0500", size = 35949911 },
+ { url = "https://files.pythonhosted.org/packages/0c/86/b912195eee0903b5611bf596833def7d146ab2d301afeb4b722c57ffc966/pyarrow-23.0.1-cp313-cp313t-manylinux_2_28_aarch64.whl", hash = "sha256:cd395abf8f91c673dd3589cadc8cc1ee4e8674fa61b2e923c8dd215d9c7d1f41", size = 44520337 },
+ { url = "https://files.pythonhosted.org/packages/69/c2/f2a717fb824f62d0be952ea724b4f6f9372a17eed6f704b5c9526f12f2f1/pyarrow-23.0.1-cp313-cp313t-manylinux_2_28_x86_64.whl", hash = "sha256:00be9576d970c31defb5c32eb72ef585bf600ef6d0a82d5eccaae96639cf9d07", size = 47548944 },
+ { url = "https://files.pythonhosted.org/packages/84/a7/90007d476b9f0dc308e3bc57b832d004f848fd6c0da601375d20d92d1519/pyarrow-23.0.1-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:c2139549494445609f35a5cda4eb94e2c9e4d704ce60a095b342f82460c73a83", size = 48236269 },
+ { url = "https://files.pythonhosted.org/packages/b0/3f/b16fab3e77709856eb6ac328ce35f57a6d4a18462c7ca5186ef31b45e0e0/pyarrow-23.0.1-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:7044b442f184d84e2351e5084600f0d7343d6117aabcbc1ac78eb1ae11eb4125", size = 50604794 },
+ { url = "https://files.pythonhosted.org/packages/e9/a1/22df0620a9fac31d68397a75465c344e83c3dfe521f7612aea33e27ab6c0/pyarrow-23.0.1-cp313-cp313t-win_amd64.whl", hash = "sha256:a35581e856a2fafa12f3f54fce4331862b1cfb0bef5758347a858a4aa9d6bae8", size = 27660642 },
+ { url = "https://files.pythonhosted.org/packages/8d/1b/6da9a89583ce7b23ac611f183ae4843cd3a6cf54f079549b0e8c14031e73/pyarrow-23.0.1-cp314-cp314-macosx_12_0_arm64.whl", hash = "sha256:5df1161da23636a70838099d4aaa65142777185cc0cdba4037a18cee7d8db9ca", size = 34238755 },
+ { url = "https://files.pythonhosted.org/packages/ae/b5/d58a241fbe324dbaeb8df07be6af8752c846192d78d2272e551098f74e88/pyarrow-23.0.1-cp314-cp314-macosx_12_0_x86_64.whl", hash = "sha256:fa8e51cb04b9f8c9c5ace6bab63af9a1f88d35c0d6cbf53e8c17c098552285e1", size = 35847826 },
+ { url = "https://files.pythonhosted.org/packages/54/a5/8cbc83f04aba433ca7b331b38f39e000efd9f0c7ce47128670e737542996/pyarrow-23.0.1-cp314-cp314-manylinux_2_28_aarch64.whl", hash = "sha256:0b95a3994f015be13c63148fef8832e8a23938128c185ee951c98908a696e0eb", size = 44536859 },
+ { url = "https://files.pythonhosted.org/packages/36/2e/c0f017c405fcdc252dbccafbe05e36b0d0eb1ea9a958f081e01c6972927f/pyarrow-23.0.1-cp314-cp314-manylinux_2_28_x86_64.whl", hash = "sha256:4982d71350b1a6e5cfe1af742c53dfb759b11ce14141870d05d9e540d13bc5d1", size = 47614443 },
+ { url = "https://files.pythonhosted.org/packages/af/6b/2314a78057912f5627afa13ba43809d9d653e6630859618b0fd81a4e0759/pyarrow-23.0.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c250248f1fe266db627921c89b47b7c06fee0489ad95b04d50353537d74d6886", size = 48232991 },
+ { url = "https://files.pythonhosted.org/packages/40/f2/1bcb1d3be3460832ef3370d621142216e15a2c7c62602a4ea19ec240dd64/pyarrow-23.0.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5f4763b83c11c16e5f4c15601ba6dfa849e20723b46aa2617cb4bffe8768479f", size = 50645077 },
+ { url = "https://files.pythonhosted.org/packages/eb/3f/b1da7b61cd66566a4d4c8383d376c606d1c34a906c3f1cb35c479f59d1aa/pyarrow-23.0.1-cp314-cp314-win_amd64.whl", hash = "sha256:3a4c85ef66c134161987c17b147d6bffdca4566f9a4c1d81a0a01cdf08414ea5", size = 28234271 },
+ { url = "https://files.pythonhosted.org/packages/b5/78/07f67434e910a0f7323269be7bfbf58699bd0c1d080b18a1ab49ba943fe8/pyarrow-23.0.1-cp314-cp314t-macosx_12_0_arm64.whl", hash = "sha256:17cd28e906c18af486a499422740298c52d7c6795344ea5002a7720b4eadf16d", size = 34488692 },
+ { url = "https://files.pythonhosted.org/packages/50/76/34cf7ae93ece1f740a04910d9f7e80ba166b9b4ab9596a953e9e62b90fe1/pyarrow-23.0.1-cp314-cp314t-macosx_12_0_x86_64.whl", hash = "sha256:76e823d0e86b4fb5e1cf4a58d293036e678b5a4b03539be933d3b31f9406859f", size = 35964383 },
+ { url = "https://files.pythonhosted.org/packages/46/90/459b827238936d4244214be7c684e1b366a63f8c78c380807ae25ed92199/pyarrow-23.0.1-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:a62e1899e3078bf65943078b3ad2a6ddcacf2373bc06379aac61b1e548a75814", size = 44538119 },
+ { url = "https://files.pythonhosted.org/packages/28/a1/93a71ae5881e99d1f9de1d4554a87be37da11cd6b152239fb5bd924fdc64/pyarrow-23.0.1-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:df088e8f640c9fae3b1f495b3c64755c4e719091caf250f3a74d095ddf3c836d", size = 47571199 },
+ { url = "https://files.pythonhosted.org/packages/88/a3/d2c462d4ef313521eaf2eff04d204ac60775263f1fb08c374b543f79f610/pyarrow-23.0.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:46718a220d64677c93bc243af1d44b55998255427588e400677d7192671845c7", size = 48259435 },
+ { url = "https://files.pythonhosted.org/packages/cc/f1/11a544b8c3d38a759eb3fbb022039117fd633e9a7b19e4841cc3da091915/pyarrow-23.0.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:a09f3876e87f48bc2f13583ab551f0379e5dfb83210391e68ace404181a20690", size = 50629149 },
+ { url = "https://files.pythonhosted.org/packages/50/f2/c0e76a0b451ffdf0cf788932e182758eb7558953f4f27f1aff8e2518b653/pyarrow-23.0.1-cp314-cp314t-win_amd64.whl", hash = "sha256:527e8d899f14bd15b740cd5a54ad56b7f98044955373a17179d5956ddb93d9ce", size = 28365807 },
+]
+
+[[package]]
+name = "pyasn1"
+version = "0.6.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/5c/5f/6583902b6f79b399c9c40674ac384fd9cd77805f9e6205075f828ef11fb2/pyasn1-0.6.3.tar.gz", hash = "sha256:697a8ecd6d98891189184ca1fa05d1bb00e2f84b5977c481452050549c8a72cf", size = 148685 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/5d/a0/7d793dce3fa811fe047d6ae2431c672364b462850c6235ae306c0efd025f/pyasn1-0.6.3-py3-none-any.whl", hash = "sha256:a80184d120f0864a52a073acc6fc642847d0be408e7c7252f31390c0f4eadcde", size = 83997 },
+]
+
+[[package]]
+name = "pyasn1-modules"
+version = "0.4.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pyasn1" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/e9/e6/78ebbb10a8c8e4b61a59249394a4a594c1a7af95593dc933a349c8d00964/pyasn1_modules-0.4.2.tar.gz", hash = "sha256:677091de870a80aae844b1ca6134f54652fa2c8c5a52aa396440ac3106e941e6", size = 307892 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/47/8d/d529b5d697919ba8c11ad626e835d4039be708a35b0d22de83a269a6682c/pyasn1_modules-0.4.2-py3-none-any.whl", hash = "sha256:29253a9207ce32b64c3ac6600edc75368f98473906e8fd1043bd6b5b1de2c14a", size = 181259 },
+]
+
+[[package]]
+name = "pycparser"
+version = "3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/1b/7d/92392ff7815c21062bea51aa7b87d45576f649f16458d78b7cf94b9ab2e6/pycparser-3.0.tar.gz", hash = "sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29", size = 103492 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0c/c3/44f3fbbfa403ea2a7c779186dc20772604442dde72947e7d01069cbe98e3/pycparser-3.0-py3-none-any.whl", hash = "sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992", size = 48172 },
+]
+
+[[package]]
+name = "pydantic"
+version = "2.13.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "annotated-types" },
+ { name = "pydantic-core" },
+ { name = "typing-extensions" },
+ { name = "typing-inspection" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/84/6b/69fd5c7194b21ebde0f8637e2a4ddc766ada29d472bfa6a5ca533d79549a/pydantic-2.13.0.tar.gz", hash = "sha256:b89b575b6e670ebf6e7448c01b41b244f471edd276cd0b6fe02e7e7aca320070", size = 843468 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/01/d7/c3a52c61f5b7be648e919005820fbac33028c6149994cd64453f49951c17/pydantic-2.13.0-py3-none-any.whl", hash = "sha256:ab0078b90da5f3e2fd2e71e3d9b457ddcb35d0350854fbda93b451e28d56baaf", size = 471872 },
+]
+
+[[package]]
+name = "pydantic-core"
+version = "2.46.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/6f/0a/9414cddf82eda3976b14048cc0fa8f5b5d1aecb0b22e1dcd2dbfe0e139b1/pydantic_core-2.46.0.tar.gz", hash = "sha256:82d2498c96be47b47e903e1378d1d0f770097ec56ea953322f39936a7cf34977", size = 471441 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ce/43/9bc38d43a6a48794209e4eb6d61e9c68395f69b7949f66842854b0cd1344/pydantic_core-2.46.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:0027da787ae711f7fbd5a76cb0bb8df526acba6c10c1e44581de1b838db10b7b", size = 2121004 },
+ { url = "https://files.pythonhosted.org/packages/8c/1d/f43342b7107939b305b5e4efeef7d54e267a5ef51515570a5c1d77726efb/pydantic_core-2.46.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:63e288fc18d7eaeef5f16c73e65c4fd0ad95b25e7e21d8a5da144977b35eb997", size = 1947505 },
+ { url = "https://files.pythonhosted.org/packages/4a/cd/ccf48cbbcaf0d99ba65969459ebfbf7037600b2cfdcca3062084dd83a008/pydantic_core-2.46.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:080a3bdc6807089a1fe1fbc076519cea287f1a964725731d80b49d8ecffaa217", size = 1973301 },
+ { url = "https://files.pythonhosted.org/packages/c2/ff/a7bb1e7a762fb1f40ad5ef4e6a92c012864a017b7b1fdfb71cf91faa8b73/pydantic_core-2.46.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c065f1c3e54c3e79d909927a8cb48ccbc17b68733552161eba3e0628c38e5d19", size = 2042208 },
+ { url = "https://files.pythonhosted.org/packages/ea/64/d3f11c6f6ace71526f3b03646df95eaab3f21edd13e00daae3f20f4e5a09/pydantic_core-2.46.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7e2db58ab46cfe602d4255381cce515585998c3b6699d5b1f909f519bc44a5aa", size = 2229046 },
+ { url = "https://files.pythonhosted.org/packages/d0/64/93db9a63cce71630c58b376d63de498aa93cb341c72cd5f189b5c08f5c28/pydantic_core-2.46.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c660974890ec1e4c65cff93f5670a5f451039f65463e9f9c03ad49746b49fc78", size = 2292138 },
+ { url = "https://files.pythonhosted.org/packages/e9/96/936fccce22f1f2ae8b2b694de651c2c929847be5f701c927a0bb3b1eb679/pydantic_core-2.46.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d3be91482a8db77377c902cca87697388a4fb68addeb3e943ac74f425201a099", size = 2093333 },
+ { url = "https://files.pythonhosted.org/packages/75/76/c325e7fda69d589e26e772272044fe704c7e525c47d0d32a74f8345ac657/pydantic_core-2.46.0-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:1c72de82115233112d70d07f26a48cf6996eb86f7e143423ec1a182148455a9d", size = 2138802 },
+ { url = "https://files.pythonhosted.org/packages/c0/6f/ccaa2ff7d53a017b66841e2d38edd1f38d19ae1a2d0c5efee17f2d432229/pydantic_core-2.46.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:7904e58768cd79304b992868d7710bfc85dc6c7ed6163f0f68dbc1dcd72dc231", size = 2181358 },
+ { url = "https://files.pythonhosted.org/packages/6c/71/0c4b6303e92d63edcb81f5301695cdf70bb351775b4733eea65acdac8384/pydantic_core-2.46.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:1af8d88718005f57bb4768f92f4ff16bf31a747d39dfc919b22211b84e72c053", size = 2183985 },
+ { url = "https://files.pythonhosted.org/packages/71/eb/f6bf255de38a4393aaa10bff224e882b630576bc26ebfb401e42bb965092/pydantic_core-2.46.0-cp311-cp311-musllinux_1_1_armv7l.whl", hash = "sha256:a5b891301b02770a5852253f4b97f8bd192e5710067bc129e20d43db5403ede2", size = 2328559 },
+ { url = "https://files.pythonhosted.org/packages/f2/71/93895a1545f50823a24b21d7761c2bd1b1afea7a6ddc019787caec237361/pydantic_core-2.46.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:48b671fe59031fd9754c7384ac05b3ed47a0cccb7d4db0ec56121f0e6a541b90", size = 2367466 },
+ { url = "https://files.pythonhosted.org/packages/78/39/62331b3e71f41fb13d486621e2aec49900ba56567fb3a0ae5999fded0005/pydantic_core-2.46.0-cp311-cp311-win32.whl", hash = "sha256:0a52b7262b6cc67033823e9549a41bb77580ac299dc964baae4e9c182b2e335c", size = 1981367 },
+ { url = "https://files.pythonhosted.org/packages/9f/51/caac70958420e2d6115962f550676df59647c11f96a44c2fcb61662fcd16/pydantic_core-2.46.0-cp311-cp311-win_amd64.whl", hash = "sha256:4103fea1beeef6b3a9fed8515f27d4fa30c929a1973655adf8f454dc49ee0662", size = 2065942 },
+ { url = "https://files.pythonhosted.org/packages/b2/cf/576b2a4eb5500a1a5da485613b1ea8bc0d7279b27e0426801574b284ae65/pydantic_core-2.46.0-cp311-cp311-win_arm64.whl", hash = "sha256:3137cd88938adb8e567c5e938e486adc7e518ffc96b4ae1ec268e6a4275704d7", size = 2052532 },
+ { url = "https://files.pythonhosted.org/packages/a7/d2/206c72ad47071559142a35f71efc29eb16448a4a5ae9487230ab8e4e292b/pydantic_core-2.46.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:66ccedb02c934622612448489824955838a221b3a35875458970521ef17b2f9c", size = 2117060 },
+ { url = "https://files.pythonhosted.org/packages/17/2c/7a53b33f91c8b77e696b1a6aa3bed609bf9374bdc0f8dcda681bc7d922b8/pydantic_core-2.46.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:a44f27f4d2788ef9876ec47a43739b118c5904d74f418f53398f6ced3bbcacf2", size = 1951802 },
+ { url = "https://files.pythonhosted.org/packages/fc/20/90e548c1f6d38800ef11c915881525770ce270d8e5e887563ff046a08674/pydantic_core-2.46.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f26a1032bcce6ca4b4670eb3f7d8195bd0a8b8f255f1307823e217ca3cfa7c27", size = 1976621 },
+ { url = "https://files.pythonhosted.org/packages/20/3c/9c5810ca70b60c623488cdd80f7e9ee1a0812df81e97098b64788719860f/pydantic_core-2.46.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:1b8d1412f725060527e56675904b17a2d421dddcf861eecf7c75b9dda47921a4", size = 2056721 },
+ { url = "https://files.pythonhosted.org/packages/1a/a3/d6e5f4cdec84278431c75540f90838c9d0a4dfe9402a8f3902073660ff28/pydantic_core-2.46.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:dc3d1569edd859cabaa476cabce9eecd05049a7966af7b4a33b541bfd4ca1104", size = 2239634 },
+ { url = "https://files.pythonhosted.org/packages/46/42/ef58aacf330d8de6e309d62469aa1f80e945eaf665929b4037ac1bfcebc1/pydantic_core-2.46.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:38108976f2d8afaa8f5067fd1390a8c9f5cc580175407cda636e76bc76e88054", size = 2315739 },
+ { url = "https://files.pythonhosted.org/packages/8b/86/c63b12fafa2d86a515bfd1840b39c23a49302f02b653161bf9c3a0566c50/pydantic_core-2.46.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a5a06d8ed01dad5575056b5187e5959b336793c6047920a3441ee5b03533836", size = 2098169 },
+ { url = "https://files.pythonhosted.org/packages/76/19/b5b33a2f6be4755b21a20434293c4364be255f4c1a108f125d101d4cc4ee/pydantic_core-2.46.0-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:04017ace142da9ce27cafd423a480872571b5c7e80382aec22f7d715ca8eb870", size = 2170830 },
+ { url = "https://files.pythonhosted.org/packages/99/ae/7559f99a29b7d440012ddb4da897359304988a881efaca912fd2f655652e/pydantic_core-2.46.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2629ad992ed1b1c012e6067f5ffafd3336fcb9b54569449fabb85621f1444ed3", size = 2203901 },
+ { url = "https://files.pythonhosted.org/packages/dd/0e/b0ef945a39aeb4ac58da316813e1106b7fbdfbf20ac141c1c27904355ac5/pydantic_core-2.46.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:3068b1e7bd986aebc88f6859f8353e72072538dcf92a7fb9cf511a0f61c5e729", size = 2191789 },
+ { url = "https://files.pythonhosted.org/packages/90/f4/830484e07188c1236b013995818888ab93bab8fd88aa9689b1d8fd22220d/pydantic_core-2.46.0-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:1e366916ff69ff700aa9326601634e688581bc24c5b6b4f8738d809ec7d72611", size = 2344423 },
+ { url = "https://files.pythonhosted.org/packages/fd/ba/e455c18cbdc333177af754e740be4fe9d1de173d65bbe534daf88da02ac0/pydantic_core-2.46.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:485a23e8f4618a1b8e23ac744180acde283fffe617f96923d25507d5cade62ec", size = 2384037 },
+ { url = "https://files.pythonhosted.org/packages/78/1f/b35d20d73144a41e78de0ae398e60fdd8bed91667daa1a5a92ab958551ba/pydantic_core-2.46.0-cp312-cp312-win32.whl", hash = "sha256:520940e1b702fe3b33525d0351777f25e9924f1818ca7956447dabacf2d339fd", size = 1967068 },
+ { url = "https://files.pythonhosted.org/packages/d1/84/4b6252e9606e8295647b848233cc4137ee0a04ebba8f0f9fb2977655b38c/pydantic_core-2.46.0-cp312-cp312-win_amd64.whl", hash = "sha256:90d2048e0339fa365e5a66aefe760ddd3b3d0a45501e088bc5bc7f4ed9ff9571", size = 2071008 },
+ { url = "https://files.pythonhosted.org/packages/39/95/d08eb508d4d5560ccbd226ee5971e5ef9b749aba9b413c0c4ed6e406d4f6/pydantic_core-2.46.0-cp312-cp312-win_arm64.whl", hash = "sha256:a70247649b7dffe36648e8f34be5ce8c5fa0a27ff07b071ea780c20a738c05ce", size = 2036634 },
+ { url = "https://files.pythonhosted.org/packages/df/05/ab3b0742bad1d51822f1af0c4232208408902bdcfc47601f3b812e09e6c2/pydantic_core-2.46.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:a05900c37264c070c683c650cbca8f83d7cbb549719e645fcd81a24592eac788", size = 2116814 },
+ { url = "https://files.pythonhosted.org/packages/98/08/30b43d9569d69094a0899a199711c43aa58fce6ce80f6a8f7693673eb995/pydantic_core-2.46.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:8de8e482fd4f1e3f36c50c6aac46d044462615d8f12cfafc6bebeaa0909eea22", size = 1951867 },
+ { url = "https://files.pythonhosted.org/packages/db/a0/bf9a1ba34537c2ed3872a48195291138fdec8fe26c4009776f00d63cf0c8/pydantic_core-2.46.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c525ecf8a4cdf198327b65030a7d081867ad8e60acb01a7214fff95cf9832d47", size = 1977040 },
+ { url = "https://files.pythonhosted.org/packages/71/70/0ba03c20e1e118219fc18c5417b008b7e880f0e3fb38560ec4465984d471/pydantic_core-2.46.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f14581aeb12e61542ce73b9bfef2bca5439d65d9ab3efe1a4d8e346b61838f9b", size = 2055284 },
+ { url = "https://files.pythonhosted.org/packages/58/cf/1e320acefbde7fb7158a9e5def55e0adf9a4634636098ce28dc6b978e0d3/pydantic_core-2.46.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c108067f2f7e190d0dbd81247d789ec41f9ea50ccd9265a3a46710796ac60530", size = 2238896 },
+ { url = "https://files.pythonhosted.org/packages/df/f5/ea8ba209756abe9eba891bb0ef3772b4c59a894eb9ad86cd5bd0dd4e3e52/pydantic_core-2.46.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1ac10967e9a7bb1b96697374513f9a1a90a59e2fb41566b5e00ee45392beac59", size = 2314353 },
+ { url = "https://files.pythonhosted.org/packages/e8/f8/5885350203b72e96438eee7f94de0d8f0442f4627237ca8ef75de34db1cd/pydantic_core-2.46.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7897078fe8a13b73623c0955dfb2b3d2c9acb7177aac25144758c9e5a5265aaa", size = 2098522 },
+ { url = "https://files.pythonhosted.org/packages/bf/88/5930b0e828e371db5a556dd3189565417ddc3d8316bb001058168aadcf5f/pydantic_core-2.46.0-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:e69ce405510a419a082a78faed65bb4249cfb51232293cc675645c12f7379bf7", size = 2168757 },
+ { url = "https://files.pythonhosted.org/packages/da/75/63d563d3035a0548e721c38b5b69fd5626fdd51da0f09ff4467503915b82/pydantic_core-2.46.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:fd28d13eea0d8cf351dc1fe274b5070cc8e1cca2644381dee5f99de629e77cf3", size = 2202518 },
+ { url = "https://files.pythonhosted.org/packages/a7/53/1958eacbfddc41aadf5ae86dd85041bf054b675f34a2fa76385935f96070/pydantic_core-2.46.0-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:ee1547a6b8243e73dd10f585555e5a263395e55ce6dea618a078570a1e889aef", size = 2190148 },
+ { url = "https://files.pythonhosted.org/packages/c7/17/098cc6d3595e4623186f2bc6604a6195eb182e126702a90517236391e9ce/pydantic_core-2.46.0-cp313-cp313-musllinux_1_1_armv7l.whl", hash = "sha256:c3dc68dcf62db22a18ddfc3ad4960038f72b75908edc48ae014d7ac8b391d57a", size = 2342925 },
+ { url = "https://files.pythonhosted.org/packages/71/a7/abdb924620b1ac535c690b36ad5b8871f376104090f8842c08625cecf1d3/pydantic_core-2.46.0-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:004a2081c881abfcc6854a4623da6a09090a0d7c1398a6ae7133ca1256cee70b", size = 2383167 },
+ { url = "https://files.pythonhosted.org/packages/d7/c9/2ddd10f50e4b7350d2574629a0f53d8d4eb6573f9c19a6b43e6b1487a31d/pydantic_core-2.46.0-cp313-cp313-win32.whl", hash = "sha256:59d24ec8d5eaabad93097525a69d0f00f2667cb353eb6cda578b1cfff203ceef", size = 1965660 },
+ { url = "https://files.pythonhosted.org/packages/b5/e7/1efc38ed6f2680c032bcefa0e3ebd496a8c77e92dfdb86b07d0f2fc632b1/pydantic_core-2.46.0-cp313-cp313-win_amd64.whl", hash = "sha256:71186dad5ac325c64d68fe0e654e15fd79802e7cc42bc6f0ff822d5ad8b1ab25", size = 2069563 },
+ { url = "https://files.pythonhosted.org/packages/c3/1e/a325b4989e742bf7e72ed35fa124bc611fd76539c9f8cd2a9a7854473533/pydantic_core-2.46.0-cp313-cp313-win_arm64.whl", hash = "sha256:8e4503f3213f723842c9a3b53955c88a9cfbd0b288cbd1c1ae933aebeec4a1b4", size = 2034966 },
+ { url = "https://files.pythonhosted.org/packages/36/3b/914891d384cdbf9a6f464eb13713baa22ea1e453d4da80fb7da522079370/pydantic_core-2.46.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:4fc801c290342350ffc82d77872054a934b2e24163727263362170c1db5416ca", size = 2113349 },
+ { url = "https://files.pythonhosted.org/packages/35/95/3a0c6f65e231709fb3463e32943c69d10285cb50203a2130a4732053a06d/pydantic_core-2.46.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:0a36f2cc88170cc177930afcc633a8c15907ea68b59ac16bd180c2999d714940", size = 1949170 },
+ { url = "https://files.pythonhosted.org/packages/d1/63/d845c36a608469fe7bee226edeff0984c33dbfe7aecd755b0e7ab5a275c4/pydantic_core-2.46.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2a3912e0c568a1f99d4d6d3e41def40179d61424c0ca1c8c87c4877d7f6fd7fb", size = 1977914 },
+ { url = "https://files.pythonhosted.org/packages/08/6f/f2e7a7f85931fb31671f5378d1c7fc70606e4b36d59b1b48e1bd1ef5d916/pydantic_core-2.46.0-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3534c3415ed1a19ab23096b628916a827f7858ec8db49ad5d7d1e44dc13c0d7b", size = 2050538 },
+ { url = "https://files.pythonhosted.org/packages/8c/97/f4aa7181dd9a16dd9059a99fc48fdab0c2aab68307283a5c04cf56de68c4/pydantic_core-2.46.0-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:21067396fc285609323a4db2f63a87570044abe0acddfcca8b135fc7948e3db7", size = 2236294 },
+ { url = "https://files.pythonhosted.org/packages/24/c1/6a5042fc32765c87101b500f394702890af04239c318b6002cfd627b710d/pydantic_core-2.46.0-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2afd85b7be186e2fe7cdbb09a3d964bcc2042f65bbcc64ad800b3c7915032655", size = 2312954 },
+ { url = "https://files.pythonhosted.org/packages/cb/e4/566101a561492ce8454f0844ca29c3b675a6b3a7b3ff577db85ed05c8c50/pydantic_core-2.46.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:67e2c2e171b78db8154da602de72ffdc473c6ee51de8a9d80c0f1cd4051abfc7", size = 2102533 },
+ { url = "https://files.pythonhosted.org/packages/3e/ac/adc11ee1646a5c4dd9abb09a00e7909e6dc25beddc0b1310ca734bb9b48e/pydantic_core-2.46.0-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:c16ae1f3170267b1a37e16dba5c297bdf60c8b5657b147909ca8774ce7366644", size = 2169447 },
+ { url = "https://files.pythonhosted.org/packages/26/73/408e686b45b82d28ac19e8229e07282254dbee6a5d24c5c7cf3cf3716613/pydantic_core-2.46.0-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:133b69e1c1ba34d3702eed73f19f7f966928f9aa16663b55c2ebce0893cca42e", size = 2200672 },
+ { url = "https://files.pythonhosted.org/packages/0a/3b/807d5b035ec891b57b9079ce881f48263936c37bd0d154a056e7fd152afb/pydantic_core-2.46.0-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:15ed8e5bde505133d96b41702f31f06829c46b05488211a5b1c7877e11de5eb5", size = 2188293 },
+ { url = "https://files.pythonhosted.org/packages/f1/ed/719b307516285099d1196c52769fdbe676fd677da007b9c349ae70b7226d/pydantic_core-2.46.0-cp314-cp314-musllinux_1_1_armv7l.whl", hash = "sha256:8cfc29a1c66a7f0fcb36262e92f353dd0b9c4061d558fceb022e698a801cb8ae", size = 2335023 },
+ { url = "https://files.pythonhosted.org/packages/8d/90/8718e4ae98c4e8a7325afdc079be82be1e131d7a47cb6c098844a9531ffe/pydantic_core-2.46.0-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:e1155708540f13845bf68d5ac511a55c76cfe2e057ed12b4bf3adac1581fc5c2", size = 2377155 },
+ { url = "https://files.pythonhosted.org/packages/dd/dc/7172789283b963f81da2fc92b186e22de55687019079f71c4d570822502b/pydantic_core-2.46.0-cp314-cp314-win32.whl", hash = "sha256:de5635a48df6b2eef161d10ea1bc2626153197333662ba4cd700ee7ec1aba7f5", size = 1963078 },
+ { url = "https://files.pythonhosted.org/packages/e0/69/03a7ea4b6264def3a44eabf577528bcec2f49468c5698b2044dea54dc07e/pydantic_core-2.46.0-cp314-cp314-win_amd64.whl", hash = "sha256:f07a5af60c5e7cf53dd1ff734228bd72d0dc9938e64a75b5bb308ca350d9681e", size = 2068439 },
+ { url = "https://files.pythonhosted.org/packages/f5/eb/1c3afcfdee2ab6634b802ab0a0f1966df4c8b630028ec56a1cb0a710dc58/pydantic_core-2.46.0-cp314-cp314-win_arm64.whl", hash = "sha256:e7a77eca3c7d5108ff509db20aae6f80d47c7ed7516d8b96c387aacc42f3ce0f", size = 2026470 },
+ { url = "https://files.pythonhosted.org/packages/5c/30/1177dde61b200785c4739665e3aa03a9d4b2c25d2d0408b07d585e633965/pydantic_core-2.46.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:5e7cdd4398bee1aaeafe049ac366b0f887451d9ae418fd8785219c13fea2f928", size = 2107447 },
+ { url = "https://files.pythonhosted.org/packages/b1/60/4e0f61f99bdabbbc309d364a2791e1ba31e778a4935bc43391a7bdec0744/pydantic_core-2.46.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:5c2c92d82808e27cef3f7ab3ed63d657d0c755e0dbe5b8a58342e37bdf09bd2e", size = 1926927 },
+ { url = "https://files.pythonhosted.org/packages/1d/d0/67f89a8269152c1d6eaa81f04e75a507372ebd8ca7382855a065222caa80/pydantic_core-2.46.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0bab80af91cd7014b45d1089303b5f844a9d91d7da60eabf3d5f9694b32a6655", size = 1966613 },
+ { url = "https://files.pythonhosted.org/packages/cd/07/8dfdc3edc78f29a80fb31f366c50203ec904cff6a4c923599bf50ac0d0ff/pydantic_core-2.46.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:1e49ffdb714bc990f00b39d1ad1d683033875b5af15582f60c1f34ad3eeccfaa", size = 2032902 },
+ { url = "https://files.pythonhosted.org/packages/b0/2a/111c5e8fe24f99c46bcad7d3a82a8f6dbc738066e2c72c04c71f827d8c78/pydantic_core-2.46.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ca877240e8dbdeef3a66f751dc41e5a74893767d510c22a22fc5c0199844f0ce", size = 2244456 },
+ { url = "https://files.pythonhosted.org/packages/6b/7c/cfc5d11c15a63ece26e148572c77cfbb2c7f08d315a7b63ef0fe0711d753/pydantic_core-2.46.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:87e6843f89ecd2f596d7294e33196c61343186255b9880c4f1b725fde8b0e20d", size = 2294535 },
+ { url = "https://files.pythonhosted.org/packages/c4/2c/f0d744e3dab7bd026a3f4670a97a295157cff923a2666d30a15a70a7e3d0/pydantic_core-2.46.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e20bc5add1dd9bc3b9a3600d40632e679376569098345500799a6ad7c5d46c72", size = 2104621 },
+ { url = "https://files.pythonhosted.org/packages/a7/64/e7cc4698dc024264d214b51d5a47a2404221b12060dd537d76f831b2120a/pydantic_core-2.46.0-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:ee6ff79a5f0289d64a9d6696a3ce1f98f925b803dd538335a118231e26d6d827", size = 2130718 },
+ { url = "https://files.pythonhosted.org/packages/0b/a8/224e655fec21f7d4441438ad2ecaccb33b5a3876ce7bb2098c74a49efc14/pydantic_core-2.46.0-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:52d35cfb58c26323101c7065508d7bb69bb56338cda9ea47a7b32be581af055d", size = 2180738 },
+ { url = "https://files.pythonhosted.org/packages/32/7b/b3025618ed4c4e4cbaa9882731c19625db6669896b621760ea95bc1125ef/pydantic_core-2.46.0-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:d14cc5a6f260fa78e124061eebc5769af6534fc837e9a62a47f09a2c341fa4ea", size = 2171222 },
+ { url = "https://files.pythonhosted.org/packages/7b/e3/68170aa1d891920af09c1f2f34df61dc5ff3a746400027155523e3400e89/pydantic_core-2.46.0-cp314-cp314t-musllinux_1_1_armv7l.whl", hash = "sha256:4f7ff859d663b6635f6307a10803d07f0d09487e16c3d36b1744af51dbf948b2", size = 2320040 },
+ { url = "https://files.pythonhosted.org/packages/67/1b/5e65807001b84972476300c1f49aea2b4971b7e9fffb5c2654877dadd274/pydantic_core-2.46.0-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:8ef749be6ed0d69dba31902aaa8255a9bb269ae50c93888c4df242d8bb7acd9e", size = 2377062 },
+ { url = "https://files.pythonhosted.org/packages/75/03/48caa9dd5f28f7662bd52bff454d9a451f6b7e5e4af95e289e5e170749c9/pydantic_core-2.46.0-cp314-cp314t-win32.whl", hash = "sha256:d93ca72870133f86360e4bb0c78cd4e6ba2a0f9f3738a6486909ffc031463b32", size = 1951028 },
+ { url = "https://files.pythonhosted.org/packages/87/ed/e97ff55fe28c0e6e3cba641d622b15e071370b70e5f07c496b07b65db7c9/pydantic_core-2.46.0-cp314-cp314t-win_amd64.whl", hash = "sha256:6ebb2668afd657e2127cb40f2ceb627dd78e74e9dfde14d9bf6cdd532a29ff59", size = 2048519 },
+ { url = "https://files.pythonhosted.org/packages/b6/51/e0db8267a287994546925f252e329eeae4121b1e77e76353418da5a3adf0/pydantic_core-2.46.0-cp314-cp314t-win_arm64.whl", hash = "sha256:4864f5bbb7993845baf9209bae1669a8a76769296a018cb569ebda9dcb4241f5", size = 2026791 },
+ { url = "https://files.pythonhosted.org/packages/09/ed/fbd8127e4a19c4fdbb2f4983cf72c7b3534086df640c813c5c0ec4218177/pydantic_core-2.46.0-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:be3e04979ba4d68183f247202c7f4f483f35df57690b3f875c06340a1579b47c", size = 2119951 },
+ { url = "https://files.pythonhosted.org/packages/ec/77/df8711ebb45910412f90d75198430fa1120f5618336b71fa00303601c5a4/pydantic_core-2.46.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:b1eae8d7d9b8c2a90b34d3d9014804dca534f7f40180197062634499412ea14e", size = 1953812 },
+ { url = "https://files.pythonhosted.org/packages/12/fe/14b35df69112bd812d6818a395eeab22eeaa2befc6f85bc54ed648430186/pydantic_core-2.46.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a95a2773680dd4b6b999d4eccdd1b577fd71c31739fb4849f6ada47eabb9c56", size = 2139585 },
+ { url = "https://files.pythonhosted.org/packages/1f/f0/4fea4c14ebbdeb87e5f6edd2620735fcbd384865f06707fe229c021ce041/pydantic_core-2.46.0-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:25988c3159bb097e06abfdf7b21b1fcaf90f187c74ca6c7bb842c1f72ce74fa8", size = 2179154 },
+ { url = "https://files.pythonhosted.org/packages/5c/36/6329aa79ba32b73560e6e453164fb29702b115fd3b2b650e796e1dc27862/pydantic_core-2.46.0-pp311-pypy311_pp73-musllinux_1_1_aarch64.whl", hash = "sha256:747d89bd691854c719a3381ba46b6124ef916ae85364c79e11db9c84995d8d03", size = 2182917 },
+ { url = "https://files.pythonhosted.org/packages/92/61/edbf7aea71052d410347846a2ea43394f74651bf6822b8fad8703ca00575/pydantic_core-2.46.0-pp311-pypy311_pp73-musllinux_1_1_armv7l.whl", hash = "sha256:909a7327b83ca93b372f7d48df0ebc7a975a5191eb0b6e024f503f4902c24124", size = 2327716 },
+ { url = "https://files.pythonhosted.org/packages/a4/11/aa5089b941e85294b1d5d526840b18f0d4464f842d43d8999ce50ef881c1/pydantic_core-2.46.0-pp311-pypy311_pp73-musllinux_1_1_x86_64.whl", hash = "sha256:2f7e6a3752378a69fadf3f5ee8bc5fa082f623703eec0f4e854b12c548322de0", size = 2365925 },
+ { url = "https://files.pythonhosted.org/packages/0c/75/e187b0ea247f71f2009d156df88b7d8449c52a38810c9a1bd55dd4871206/pydantic_core-2.46.0-pp311-pypy311_pp73-win_amd64.whl", hash = "sha256:ef47ee0a3ac4c2bb25a083b3acafb171f65be4a0ac1e84edef79dd0016e25eaa", size = 2193856 },
+]
+
+[[package]]
+name = "pydantic-settings"
+version = "2.13.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pydantic" },
+ { name = "python-dotenv" },
+ { name = "typing-inspection" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/52/6d/fffca34caecc4a3f97bda81b2098da5e8ab7efc9a66e819074a11955d87e/pydantic_settings-2.13.1.tar.gz", hash = "sha256:b4c11847b15237fb0171e1462bf540e294affb9b86db4d9aa5c01730bdbe4025", size = 223826 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/00/4b/ccc026168948fec4f7555b9164c724cf4125eac006e176541483d2c959be/pydantic_settings-2.13.1-py3-none-any.whl", hash = "sha256:d56fd801823dbeae7f0975e1f8c8e25c258eb75d278ea7abb5d9cebb01b56237", size = 58929 },
+]
+
+[[package]]
+name = "pygments"
+version = "2.20.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151 },
+]
+
+[[package]]
+name = "pyjwt"
+version = "2.12.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/c2/27/a3b6e5bf6ff856d2509292e95c8f57f0df7017cf5394921fc4e4ef40308a/pyjwt-2.12.1.tar.gz", hash = "sha256:c74a7a2adf861c04d002db713dd85f84beb242228e671280bf709d765b03672b", size = 102564 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e5/7a/8dd906bd22e79e47397a61742927f6747fe93242ef86645ee9092e610244/pyjwt-2.12.1-py3-none-any.whl", hash = "sha256:28ca37c070cad8ba8cd9790cd940535d40274d22f80ab87f3ac6a713e6e8454c", size = 29726 },
+]
+
+[package.optional-dependencies]
+crypto = [
+ { name = "cryptography" },
+]
+
+[[package]]
+name = "pyopenssl"
+version = "26.0.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "cryptography" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/8e/11/a62e1d33b373da2b2c2cd9eb508147871c80f12b1cacde3c5d314922afdd/pyopenssl-26.0.0.tar.gz", hash = "sha256:f293934e52936f2e3413b89c6ce36df66a0b34ae1ea3a053b8c5020ff2f513fc", size = 185534 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fb/7d/d4f7d908fa8415571771b30669251d57c3cf313b36a856e6d7548ae01619/pyopenssl-26.0.0-py3-none-any.whl", hash = "sha256:df94d28498848b98cc1c0ffb8ef1e71e40210d3b0a8064c9d29571ed2904bf81", size = 57969 },
+]
+
+[[package]]
+name = "pyparsing"
+version = "3.3.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f3/91/9c6ee907786a473bf81c5f53cf703ba0957b23ab84c264080fb5a450416f/pyparsing-3.3.2.tar.gz", hash = "sha256:c777f4d763f140633dcb6d8a3eda953bf7a214dc4eff598413c070bcdc117cbc", size = 6851574 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/10/bd/c038d7cc38edc1aa5bf91ab8068b63d4308c66c4c8bb3cbba7dfbc049f9c/pyparsing-3.3.2-py3-none-any.whl", hash = "sha256:850ba148bd908d7e2411587e247a1e4f0327839c40e2e5e6d05a007ecc69911d", size = 122781 },
+]
+
+[[package]]
+name = "pysubs2"
+version = "1.8.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/c4/73/eff32fcc4babb32b76d7fce6d74995de2d04201f7b43c9a7764554d6ab49/pysubs2-1.8.1.tar.gz", hash = "sha256:af3a288643da87db6bb13dbde70e94c9570765cc8f6423b1c21de11f16d734da", size = 1153150 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0b/bb/0dc8b9a38609701ca3f107dc516300b317641bed9b2ef1c964a9ad37ae9e/pysubs2-1.8.1-py3-none-any.whl", hash = "sha256:eb5d8872b7f87208070dd6f0d85fc110b7ad6cc2a7ec422f5b12363e9194e4e4", size = 44269 },
+]
+
+[[package]]
+name = "pytest"
+version = "9.0.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+ { name = "iniconfig" },
+ { name = "packaging" },
+ { name = "pluggy" },
+ { name = "pygments" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/7d/0d/549bd94f1a0a402dc8cf64563a117c0f3765662e2e668477624baeec44d5/pytest-9.0.3.tar.gz", hash = "sha256:b86ada508af81d19edeb213c681b1d48246c1a91d304c6c81a427674c17eb91c", size = 1572165 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d4/24/a372aaf5c9b7208e7112038812994107bc65a84cd00e0354a88c2c77a617/pytest-9.0.3-py3-none-any.whl", hash = "sha256:2c5efc453d45394fdd706ade797c0a81091eccd1d6e4bccfcd476e2b8e0ab5d9", size = 375249 },
+]
+
+[[package]]
+name = "python-dateutil"
+version = "2.9.0.post0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "six" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/66/c0/0c8b6ad9f17a802ee498c46e004a0eb49bc148f2fd230864601a86dcf6db/python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3", size = 342432 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427", size = 229892 },
+]
+
+[[package]]
+name = "python-dotenv"
+version = "1.2.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/82/ed/0301aeeac3e5353ef3d94b6ec08bbcabd04a72018415dcb29e588514bba8/python_dotenv-1.2.2.tar.gz", hash = "sha256:2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3", size = 50135 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0b/d7/1959b9648791274998a9c3526f6d0ec8fd2233e4d4acce81bbae76b44b2a/python_dotenv-1.2.2-py3-none-any.whl", hash = "sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a", size = 22101 },
+]
+
+[[package]]
+name = "python-multipart"
+version = "0.0.26"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/88/71/b145a380824a960ebd60e1014256dbb7d2253f2316ff2d73dfd8928ec2c3/python_multipart-0.0.26.tar.gz", hash = "sha256:08fadc45918cd615e26846437f50c5d6d23304da32c341f289a617127b081f17", size = 43501 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9a/22/f1925cdda983ab66fc8ec6ec8014b959262747e58bdca26a4e3d1da29d56/python_multipart-0.0.26-py3-none-any.whl", hash = "sha256:c0b169f8c4484c13b0dcf2ef0ec3a4adb255c4b7d18d8e420477d2b1dd03f185", size = 28847 },
+]
+
+[[package]]
+name = "pywin32"
+version = "311"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/7c/af/449a6a91e5d6db51420875c54f6aff7c97a86a3b13a0b4f1a5c13b988de3/pywin32-311-cp311-cp311-win32.whl", hash = "sha256:184eb5e436dea364dcd3d2316d577d625c0351bf237c4e9a5fabbcfa5a58b151", size = 8697031 },
+ { url = "https://files.pythonhosted.org/packages/51/8f/9bb81dd5bb77d22243d33c8397f09377056d5c687aa6d4042bea7fbf8364/pywin32-311-cp311-cp311-win_amd64.whl", hash = "sha256:3ce80b34b22b17ccbd937a6e78e7225d80c52f5ab9940fe0506a1a16f3dab503", size = 9508308 },
+ { url = "https://files.pythonhosted.org/packages/44/7b/9c2ab54f74a138c491aba1b1cd0795ba61f144c711daea84a88b63dc0f6c/pywin32-311-cp311-cp311-win_arm64.whl", hash = "sha256:a733f1388e1a842abb67ffa8e7aad0e70ac519e09b0f6a784e65a136ec7cefd2", size = 8703930 },
+ { url = "https://files.pythonhosted.org/packages/e7/ab/01ea1943d4eba0f850c3c61e78e8dd59757ff815ff3ccd0a84de5f541f42/pywin32-311-cp312-cp312-win32.whl", hash = "sha256:750ec6e621af2b948540032557b10a2d43b0cee2ae9758c54154d711cc852d31", size = 8706543 },
+ { url = "https://files.pythonhosted.org/packages/d1/a8/a0e8d07d4d051ec7502cd58b291ec98dcc0c3fff027caad0470b72cfcc2f/pywin32-311-cp312-cp312-win_amd64.whl", hash = "sha256:b8c095edad5c211ff31c05223658e71bf7116daa0ecf3ad85f3201ea3190d067", size = 9495040 },
+ { url = "https://files.pythonhosted.org/packages/ba/3a/2ae996277b4b50f17d61f0603efd8253cb2d79cc7ae159468007b586396d/pywin32-311-cp312-cp312-win_arm64.whl", hash = "sha256:e286f46a9a39c4a18b319c28f59b61de793654af2f395c102b4f819e584b5852", size = 8710102 },
+ { url = "https://files.pythonhosted.org/packages/a5/be/3fd5de0979fcb3994bfee0d65ed8ca9506a8a1260651b86174f6a86f52b3/pywin32-311-cp313-cp313-win32.whl", hash = "sha256:f95ba5a847cba10dd8c4d8fefa9f2a6cf283b8b88ed6178fa8a6c1ab16054d0d", size = 8705700 },
+ { url = "https://files.pythonhosted.org/packages/e3/28/e0a1909523c6890208295a29e05c2adb2126364e289826c0a8bc7297bd5c/pywin32-311-cp313-cp313-win_amd64.whl", hash = "sha256:718a38f7e5b058e76aee1c56ddd06908116d35147e133427e59a3983f703a20d", size = 9494700 },
+ { url = "https://files.pythonhosted.org/packages/04/bf/90339ac0f55726dce7d794e6d79a18a91265bdf3aa70b6b9ca52f35e022a/pywin32-311-cp313-cp313-win_arm64.whl", hash = "sha256:7b4075d959648406202d92a2310cb990fea19b535c7f4a78d3f5e10b926eeb8a", size = 8709318 },
+ { url = "https://files.pythonhosted.org/packages/c9/31/097f2e132c4f16d99a22bfb777e0fd88bd8e1c634304e102f313af69ace5/pywin32-311-cp314-cp314-win32.whl", hash = "sha256:b7a2c10b93f8986666d0c803ee19b5990885872a7de910fc460f9b0c2fbf92ee", size = 8840714 },
+ { url = "https://files.pythonhosted.org/packages/90/4b/07c77d8ba0e01349358082713400435347df8426208171ce297da32c313d/pywin32-311-cp314-cp314-win_amd64.whl", hash = "sha256:3aca44c046bd2ed8c90de9cb8427f581c479e594e99b5c0bb19b29c10fd6cb87", size = 9656800 },
+ { url = "https://files.pythonhosted.org/packages/c0/d2/21af5c535501a7233e734b8af901574572da66fcc254cb35d0609c9080dd/pywin32-311-cp314-cp314-win_arm64.whl", hash = "sha256:a508e2d9025764a8270f93111a970e1d0fbfc33f4153b388bb649b7eec4f9b42", size = 8932540 },
+]
+
+[[package]]
+name = "pyyaml"
+version = "6.0.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/6d/16/a95b6757765b7b031c9374925bb718d55e0a9ba8a1b6a12d25962ea44347/pyyaml-6.0.3-cp311-cp311-macosx_10_13_x86_64.whl", hash = "sha256:44edc647873928551a01e7a563d7452ccdebee747728c1080d881d68af7b997e", size = 185826 },
+ { url = "https://files.pythonhosted.org/packages/16/19/13de8e4377ed53079ee996e1ab0a9c33ec2faf808a4647b7b4c0d46dd239/pyyaml-6.0.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:652cb6edd41e718550aad172851962662ff2681490a8a711af6a4d288dd96824", size = 175577 },
+ { url = "https://files.pythonhosted.org/packages/0c/62/d2eb46264d4b157dae1275b573017abec435397aa59cbcdab6fc978a8af4/pyyaml-6.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:10892704fc220243f5305762e276552a0395f7beb4dbf9b14ec8fd43b57f126c", size = 775556 },
+ { url = "https://files.pythonhosted.org/packages/10/cb/16c3f2cf3266edd25aaa00d6c4350381c8b012ed6f5276675b9eba8d9ff4/pyyaml-6.0.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:850774a7879607d3a6f50d36d04f00ee69e7fc816450e5f7e58d7f17f1ae5c00", size = 882114 },
+ { url = "https://files.pythonhosted.org/packages/71/60/917329f640924b18ff085ab889a11c763e0b573da888e8404ff486657602/pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b8bb0864c5a28024fac8a632c443c87c5aa6f215c0b126c449ae1a150412f31d", size = 806638 },
+ { url = "https://files.pythonhosted.org/packages/dd/6f/529b0f316a9fd167281a6c3826b5583e6192dba792dd55e3203d3f8e655a/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:1d37d57ad971609cf3c53ba6a7e365e40660e3be0e5175fa9f2365a379d6095a", size = 767463 },
+ { url = "https://files.pythonhosted.org/packages/f2/6a/b627b4e0c1dd03718543519ffb2f1deea4a1e6d42fbab8021936a4d22589/pyyaml-6.0.3-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:37503bfbfc9d2c40b344d06b2199cf0e96e97957ab1c1b546fd4f87e53e5d3e4", size = 794986 },
+ { url = "https://files.pythonhosted.org/packages/45/91/47a6e1c42d9ee337c4839208f30d9f09caa9f720ec7582917b264defc875/pyyaml-6.0.3-cp311-cp311-win32.whl", hash = "sha256:8098f252adfa6c80ab48096053f512f2321f0b998f98150cea9bd23d83e1467b", size = 142543 },
+ { url = "https://files.pythonhosted.org/packages/da/e3/ea007450a105ae919a72393cb06f122f288ef60bba2dc64b26e2646fa315/pyyaml-6.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:9f3bfb4965eb874431221a3ff3fdcddc7e74e3b07799e0e84ca4a0f867d449bf", size = 158763 },
+ { url = "https://files.pythonhosted.org/packages/d1/33/422b98d2195232ca1826284a76852ad5a86fe23e31b009c9886b2d0fb8b2/pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196", size = 182063 },
+ { url = "https://files.pythonhosted.org/packages/89/a0/6cf41a19a1f2f3feab0e9c0b74134aa2ce6849093d5517a0c550fe37a648/pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0", size = 173973 },
+ { url = "https://files.pythonhosted.org/packages/ed/23/7a778b6bd0b9a8039df8b1b1d80e2e2ad78aa04171592c8a5c43a56a6af4/pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28", size = 775116 },
+ { url = "https://files.pythonhosted.org/packages/65/30/d7353c338e12baef4ecc1b09e877c1970bd3382789c159b4f89d6a70dc09/pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c", size = 844011 },
+ { url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870 },
+ { url = "https://files.pythonhosted.org/packages/05/c0/b3be26a015601b822b97d9149ff8cb5ead58c66f981e04fedf4e762f4bd4/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e", size = 761089 },
+ { url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181 },
+ { url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658 },
+ { url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003 },
+ { url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344 },
+ { url = "https://files.pythonhosted.org/packages/d1/11/0fd08f8192109f7169db964b5707a2f1e8b745d4e239b784a5a1dd80d1db/pyyaml-6.0.3-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8da9669d359f02c0b91ccc01cac4a67f16afec0dac22c2ad09f46bee0697eba8", size = 181669 },
+ { url = "https://files.pythonhosted.org/packages/b1/16/95309993f1d3748cd644e02e38b75d50cbc0d9561d21f390a76242ce073f/pyyaml-6.0.3-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:2283a07e2c21a2aa78d9c4442724ec1eb15f5e42a723b99cb3d822d48f5f7ad1", size = 173252 },
+ { url = "https://files.pythonhosted.org/packages/50/31/b20f376d3f810b9b2371e72ef5adb33879b25edb7a6d072cb7ca0c486398/pyyaml-6.0.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c", size = 767081 },
+ { url = "https://files.pythonhosted.org/packages/49/1e/a55ca81e949270d5d4432fbbd19dfea5321eda7c41a849d443dc92fd1ff7/pyyaml-6.0.3-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a33284e20b78bd4a18c8c2282d549d10bc8408a2a7ff57653c0cf0b9be0afce5", size = 841159 },
+ { url = "https://files.pythonhosted.org/packages/74/27/e5b8f34d02d9995b80abcef563ea1f8b56d20134d8f4e5e81733b1feceb2/pyyaml-6.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0f29edc409a6392443abf94b9cf89ce99889a1dd5376d94316ae5145dfedd5d6", size = 801626 },
+ { url = "https://files.pythonhosted.org/packages/f9/11/ba845c23988798f40e52ba45f34849aa8a1f2d4af4b798588010792ebad6/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:f7057c9a337546edc7973c0d3ba84ddcdf0daa14533c2065749c9075001090e6", size = 753613 },
+ { url = "https://files.pythonhosted.org/packages/3d/e0/7966e1a7bfc0a45bf0a7fb6b98ea03fc9b8d84fa7f2229e9659680b69ee3/pyyaml-6.0.3-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be", size = 794115 },
+ { url = "https://files.pythonhosted.org/packages/de/94/980b50a6531b3019e45ddeada0626d45fa85cbe22300844a7983285bed3b/pyyaml-6.0.3-cp313-cp313-win32.whl", hash = "sha256:d0eae10f8159e8fdad514efdc92d74fd8d682c933a6dd088030f3834bc8e6b26", size = 137427 },
+ { url = "https://files.pythonhosted.org/packages/97/c9/39d5b874e8b28845e4ec2202b5da735d0199dbe5b8fb85f91398814a9a46/pyyaml-6.0.3-cp313-cp313-win_amd64.whl", hash = "sha256:79005a0d97d5ddabfeeea4cf676af11e647e41d81c9a7722a193022accdb6b7c", size = 154090 },
+ { url = "https://files.pythonhosted.org/packages/73/e8/2bdf3ca2090f68bb3d75b44da7bbc71843b19c9f2b9cb9b0f4ab7a5a4329/pyyaml-6.0.3-cp313-cp313-win_arm64.whl", hash = "sha256:5498cd1645aa724a7c71c8f378eb29ebe23da2fc0d7a08071d89469bf1d2defb", size = 140246 },
+ { url = "https://files.pythonhosted.org/packages/9d/8c/f4bd7f6465179953d3ac9bc44ac1a8a3e6122cf8ada906b4f96c60172d43/pyyaml-6.0.3-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:8d1fab6bb153a416f9aeb4b8763bc0f22a5586065f86f7664fc23339fc1c1fac", size = 181814 },
+ { url = "https://files.pythonhosted.org/packages/bd/9c/4d95bb87eb2063d20db7b60faa3840c1b18025517ae857371c4dd55a6b3a/pyyaml-6.0.3-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:34d5fcd24b8445fadc33f9cf348c1047101756fd760b4dacb5c3e99755703310", size = 173809 },
+ { url = "https://files.pythonhosted.org/packages/92/b5/47e807c2623074914e29dabd16cbbdd4bf5e9b2db9f8090fa64411fc5382/pyyaml-6.0.3-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:501a031947e3a9025ed4405a168e6ef5ae3126c59f90ce0cd6f2bfc477be31b7", size = 766454 },
+ { url = "https://files.pythonhosted.org/packages/02/9e/e5e9b168be58564121efb3de6859c452fccde0ab093d8438905899a3a483/pyyaml-6.0.3-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:b3bc83488de33889877a0f2543ade9f70c67d66d9ebb4ac959502e12de895788", size = 836355 },
+ { url = "https://files.pythonhosted.org/packages/88/f9/16491d7ed2a919954993e48aa941b200f38040928474c9e85ea9e64222c3/pyyaml-6.0.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c458b6d084f9b935061bc36216e8a69a7e293a2f1e68bf956dcd9e6cbcd143f5", size = 794175 },
+ { url = "https://files.pythonhosted.org/packages/dd/3f/5989debef34dc6397317802b527dbbafb2b4760878a53d4166579111411e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7c6610def4f163542a622a73fb39f534f8c101d690126992300bf3207eab9764", size = 755228 },
+ { url = "https://files.pythonhosted.org/packages/d7/ce/af88a49043cd2e265be63d083fc75b27b6ed062f5f9fd6cdc223ad62f03e/pyyaml-6.0.3-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5190d403f121660ce8d1d2c1bb2ef1bd05b5f68533fc5c2ea899bd15f4399b35", size = 789194 },
+ { url = "https://files.pythonhosted.org/packages/23/20/bb6982b26a40bb43951265ba29d4c246ef0ff59c9fdcdf0ed04e0687de4d/pyyaml-6.0.3-cp314-cp314-win_amd64.whl", hash = "sha256:4a2e8cebe2ff6ab7d1050ecd59c25d4c8bd7e6f400f5f82b96557ac0abafd0ac", size = 156429 },
+ { url = "https://files.pythonhosted.org/packages/f4/f4/a4541072bb9422c8a883ab55255f918fa378ecf083f5b85e87fc2b4eda1b/pyyaml-6.0.3-cp314-cp314-win_arm64.whl", hash = "sha256:93dda82c9c22deb0a405ea4dc5f2d0cda384168e466364dec6255b293923b2f3", size = 143912 },
+ { url = "https://files.pythonhosted.org/packages/7c/f9/07dd09ae774e4616edf6cda684ee78f97777bdd15847253637a6f052a62f/pyyaml-6.0.3-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:02893d100e99e03eda1c8fd5c441d8c60103fd175728e23e431db1b589cf5ab3", size = 189108 },
+ { url = "https://files.pythonhosted.org/packages/4e/78/8d08c9fb7ce09ad8c38ad533c1191cf27f7ae1effe5bb9400a46d9437fcf/pyyaml-6.0.3-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:c1ff362665ae507275af2853520967820d9124984e0f7466736aea23d8611fba", size = 183641 },
+ { url = "https://files.pythonhosted.org/packages/7b/5b/3babb19104a46945cf816d047db2788bcaf8c94527a805610b0289a01c6b/pyyaml-6.0.3-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6adc77889b628398debc7b65c073bcb99c4a0237b248cacaf3fe8a557563ef6c", size = 831901 },
+ { url = "https://files.pythonhosted.org/packages/8b/cc/dff0684d8dc44da4d22a13f35f073d558c268780ce3c6ba1b87055bb0b87/pyyaml-6.0.3-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a80cb027f6b349846a3bf6d73b5e95e782175e52f22108cfa17876aaeff93702", size = 861132 },
+ { url = "https://files.pythonhosted.org/packages/b1/5e/f77dc6b9036943e285ba76b49e118d9ea929885becb0a29ba8a7c75e29fe/pyyaml-6.0.3-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:00c4bdeba853cc34e7dd471f16b4114f4162dc03e6b7afcc2128711f0eca823c", size = 839261 },
+ { url = "https://files.pythonhosted.org/packages/ce/88/a9db1376aa2a228197c58b37302f284b5617f56a5d959fd1763fb1675ce6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:66e1674c3ef6f541c35191caae2d429b967b99e02040f5ba928632d9a7f0f065", size = 805272 },
+ { url = "https://files.pythonhosted.org/packages/da/92/1446574745d74df0c92e6aa4a7b0b3130706a4142b2d1a5869f2eaa423c6/pyyaml-6.0.3-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:16249ee61e95f858e83976573de0f5b2893b3677ba71c9dd36b9cf8be9ac6d65", size = 829923 },
+ { url = "https://files.pythonhosted.org/packages/f0/7a/1c7270340330e575b92f397352af856a8c06f230aa3e76f86b39d01b416a/pyyaml-6.0.3-cp314-cp314t-win_amd64.whl", hash = "sha256:4ad1906908f2f5ae4e5a8ddfce73c320c2a1429ec52eafd27138b7f1cbe341c9", size = 174062 },
+ { url = "https://files.pythonhosted.org/packages/f1/12/de94a39c2ef588c7e6455cfbe7343d3b2dc9d6b6b2f40c4c6565744c873d/pyyaml-6.0.3-cp314-cp314t-win_arm64.whl", hash = "sha256:ebc55a14a21cb14062aa4162f906cd962b28e2e9ea38f9b4391244cd8de4ae0b", size = 149341 },
+]
+
+[[package]]
+name = "referencing"
+version = "0.37.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "attrs" },
+ { name = "rpds-py" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/22/f5/df4e9027acead3ecc63e50fe1e36aca1523e1719559c499951bb4b53188f/referencing-0.37.0.tar.gz", hash = "sha256:44aefc3142c5b842538163acb373e24cce6632bd54bdb01b21ad5863489f50d8", size = 78036 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2c/58/ca301544e1fa93ed4f80d724bf5b194f6e4b945841c5bfd555878eea9fcb/referencing-0.37.0-py3-none-any.whl", hash = "sha256:381329a9f99628c9069361716891d34ad94af76e461dcb0335825aecc7692231", size = 26766 },
+]
+
+[[package]]
+name = "requests"
+version = "2.33.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "certifi" },
+ { name = "charset-normalizer" },
+ { name = "idna" },
+ { name = "urllib3" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/5f/a4/98b9c7c6428a668bf7e42ebb7c79d576a1c3c1e3ae2d47e674b468388871/requests-2.33.1.tar.gz", hash = "sha256:18817f8c57c6263968bc123d237e3b8b08ac046f5456bd1e307ee8f4250d3517", size = 134120 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d7/8e/7540e8a2036f79a125c1d2ebadf69ed7901608859186c856fa0388ef4197/requests-2.33.1-py3-none-any.whl", hash = "sha256:4e6d1ef462f3626a1f0a0a9c42dd93c63bad33f9f1c1937509b8c5c8718ab56a", size = 64947 },
+]
+
+[[package]]
+name = "rich"
+version = "15.0.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "markdown-it-py" },
+ { name = "pygments" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/c0/8f/0722ca900cc807c13a6a0c696dacf35430f72e0ec571c4275d2371fca3e9/rich-15.0.0.tar.gz", hash = "sha256:edd07a4824c6b40189fb7ac9bc4c52536e9780fbbfbddf6f1e2502c31b068c36", size = 230680 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/82/3b/64d4899d73f91ba49a8c18a8ff3f0ea8f1c1d75481760df8c68ef5235bf5/rich-15.0.0-py3-none-any.whl", hash = "sha256:33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb", size = 310654 },
+]
+
+[[package]]
+name = "rpds-py"
+version = "0.30.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/20/af/3f2f423103f1113b36230496629986e0ef7e199d2aa8392452b484b38ced/rpds_py-0.30.0.tar.gz", hash = "sha256:dd8ff7cf90014af0c0f787eea34794ebf6415242ee1d6fa91eaba725cc441e84", size = 69469 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/4d/6e/f964e88b3d2abee2a82c1ac8366da848fce1c6d834dc2132c3fda3970290/rpds_py-0.30.0-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:a2bffea6a4ca9f01b3f8e548302470306689684e61602aa3d141e34da06cf425", size = 370157 },
+ { url = "https://files.pythonhosted.org/packages/94/ba/24e5ebb7c1c82e74c4e4f33b2112a5573ddc703915b13a073737b59b86e0/rpds_py-0.30.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:dc4f992dfe1e2bc3ebc7444f6c7051b4bc13cd8e33e43511e8ffd13bf407010d", size = 359676 },
+ { url = "https://files.pythonhosted.org/packages/84/86/04dbba1b087227747d64d80c3b74df946b986c57af0a9f0c98726d4d7a3b/rpds_py-0.30.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:422c3cb9856d80b09d30d2eb255d0754b23e090034e1deb4083f8004bd0761e4", size = 389938 },
+ { url = "https://files.pythonhosted.org/packages/42/bb/1463f0b1722b7f45431bdd468301991d1328b16cffe0b1c2918eba2c4eee/rpds_py-0.30.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:07ae8a593e1c3c6b82ca3292efbe73c30b61332fd612e05abee07c79359f292f", size = 402932 },
+ { url = "https://files.pythonhosted.org/packages/99/ee/2520700a5c1f2d76631f948b0736cdf9b0acb25abd0ca8e889b5c62ac2e3/rpds_py-0.30.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:12f90dd7557b6bd57f40abe7747e81e0c0b119bef015ea7726e69fe550e394a4", size = 525830 },
+ { url = "https://files.pythonhosted.org/packages/e0/ad/bd0331f740f5705cc555a5e17fdf334671262160270962e69a2bdef3bf76/rpds_py-0.30.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:99b47d6ad9a6da00bec6aabe5a6279ecd3c06a329d4aa4771034a21e335c3a97", size = 412033 },
+ { url = "https://files.pythonhosted.org/packages/f8/1e/372195d326549bb51f0ba0f2ecb9874579906b97e08880e7a65c3bef1a99/rpds_py-0.30.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:33f559f3104504506a44bb666b93a33f5d33133765b0c216a5bf2f1e1503af89", size = 390828 },
+ { url = "https://files.pythonhosted.org/packages/ab/2b/d88bb33294e3e0c76bc8f351a3721212713629ffca1700fa94979cb3eae8/rpds_py-0.30.0-cp311-cp311-manylinux_2_31_riscv64.whl", hash = "sha256:946fe926af6e44f3697abbc305ea168c2c31d3e3ef1058cf68f379bf0335a78d", size = 404683 },
+ { url = "https://files.pythonhosted.org/packages/50/32/c759a8d42bcb5289c1fac697cd92f6fe01a018dd937e62ae77e0e7f15702/rpds_py-0.30.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:495aeca4b93d465efde585977365187149e75383ad2684f81519f504f5c13038", size = 421583 },
+ { url = "https://files.pythonhosted.org/packages/2b/81/e729761dbd55ddf5d84ec4ff1f47857f4374b0f19bdabfcf929164da3e24/rpds_py-0.30.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:d9a0ca5da0386dee0655b4ccdf46119df60e0f10da268d04fe7cc87886872ba7", size = 572496 },
+ { url = "https://files.pythonhosted.org/packages/14/f6/69066a924c3557c9c30baa6ec3a0aa07526305684c6f86c696b08860726c/rpds_py-0.30.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:8d6d1cc13664ec13c1b84241204ff3b12f9bb82464b8ad6e7a5d3486975c2eed", size = 598669 },
+ { url = "https://files.pythonhosted.org/packages/5f/48/905896b1eb8a05630d20333d1d8ffd162394127b74ce0b0784ae04498d32/rpds_py-0.30.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:3896fa1be39912cf0757753826bc8bdc8ca331a28a7c4ae46b7a21280b06bb85", size = 561011 },
+ { url = "https://files.pythonhosted.org/packages/22/16/cd3027c7e279d22e5eb431dd3c0fbc677bed58797fe7581e148f3f68818b/rpds_py-0.30.0-cp311-cp311-win32.whl", hash = "sha256:55f66022632205940f1827effeff17c4fa7ae1953d2b74a8581baaefb7d16f8c", size = 221406 },
+ { url = "https://files.pythonhosted.org/packages/fa/5b/e7b7aa136f28462b344e652ee010d4de26ee9fd16f1bfd5811f5153ccf89/rpds_py-0.30.0-cp311-cp311-win_amd64.whl", hash = "sha256:a51033ff701fca756439d641c0ad09a41d9242fa69121c7d8769604a0a629825", size = 236024 },
+ { url = "https://files.pythonhosted.org/packages/14/a6/364bba985e4c13658edb156640608f2c9e1d3ea3c81b27aa9d889fff0e31/rpds_py-0.30.0-cp311-cp311-win_arm64.whl", hash = "sha256:47b0ef6231c58f506ef0b74d44e330405caa8428e770fec25329ed2cb971a229", size = 229069 },
+ { url = "https://files.pythonhosted.org/packages/03/e7/98a2f4ac921d82f33e03f3835f5bf3a4a40aa1bfdc57975e74a97b2b4bdd/rpds_py-0.30.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:a161f20d9a43006833cd7068375a94d035714d73a172b681d8881820600abfad", size = 375086 },
+ { url = "https://files.pythonhosted.org/packages/4d/a1/bca7fd3d452b272e13335db8d6b0b3ecde0f90ad6f16f3328c6fb150c889/rpds_py-0.30.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6abc8880d9d036ecaafe709079969f56e876fcf107f7a8e9920ba6d5a3878d05", size = 359053 },
+ { url = "https://files.pythonhosted.org/packages/65/1c/ae157e83a6357eceff62ba7e52113e3ec4834a84cfe07fa4b0757a7d105f/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ca28829ae5f5d569bb62a79512c842a03a12576375d5ece7d2cadf8abe96ec28", size = 390763 },
+ { url = "https://files.pythonhosted.org/packages/d4/36/eb2eb8515e2ad24c0bd43c3ee9cd74c33f7ca6430755ccdb240fd3144c44/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:a1010ed9524c73b94d15919ca4d41d8780980e1765babf85f9a2f90d247153dd", size = 408951 },
+ { url = "https://files.pythonhosted.org/packages/d6/65/ad8dc1784a331fabbd740ef6f71ce2198c7ed0890dab595adb9ea2d775a1/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f8d1736cfb49381ba528cd5baa46f82fdc65c06e843dab24dd70b63d09121b3f", size = 514622 },
+ { url = "https://files.pythonhosted.org/packages/63/8e/0cfa7ae158e15e143fe03993b5bcd743a59f541f5952e1546b1ac1b5fd45/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d948b135c4693daff7bc2dcfc4ec57237a29bd37e60c2fabf5aff2bbacf3e2f1", size = 414492 },
+ { url = "https://files.pythonhosted.org/packages/60/1b/6f8f29f3f995c7ffdde46a626ddccd7c63aefc0efae881dc13b6e5d5bb16/rpds_py-0.30.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:47f236970bccb2233267d89173d3ad2703cd36a0e2a6e92d0560d333871a3d23", size = 394080 },
+ { url = "https://files.pythonhosted.org/packages/6d/d5/a266341051a7a3ca2f4b750a3aa4abc986378431fc2da508c5034d081b70/rpds_py-0.30.0-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:2e6ecb5a5bcacf59c3f912155044479af1d0b6681280048b338b28e364aca1f6", size = 408680 },
+ { url = "https://files.pythonhosted.org/packages/10/3b/71b725851df9ab7a7a4e33cf36d241933da66040d195a84781f49c50490c/rpds_py-0.30.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a8fa71a2e078c527c3e9dc9fc5a98c9db40bcc8a92b4e8858e36d329f8684b51", size = 423589 },
+ { url = "https://files.pythonhosted.org/packages/00/2b/e59e58c544dc9bd8bd8384ecdb8ea91f6727f0e37a7131baeff8d6f51661/rpds_py-0.30.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:73c67f2db7bc334e518d097c6d1e6fed021bbc9b7d678d6cc433478365d1d5f5", size = 573289 },
+ { url = "https://files.pythonhosted.org/packages/da/3e/a18e6f5b460893172a7d6a680e86d3b6bc87a54c1f0b03446a3c8c7b588f/rpds_py-0.30.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:5ba103fb455be00f3b1c2076c9d4264bfcb037c976167a6047ed82f23153f02e", size = 599737 },
+ { url = "https://files.pythonhosted.org/packages/5c/e2/714694e4b87b85a18e2c243614974413c60aa107fd815b8cbc42b873d1d7/rpds_py-0.30.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:7cee9c752c0364588353e627da8a7e808a66873672bcb5f52890c33fd965b394", size = 563120 },
+ { url = "https://files.pythonhosted.org/packages/6f/ab/d5d5e3bcedb0a77f4f613706b750e50a5a3ba1c15ccd3665ecc636c968fd/rpds_py-0.30.0-cp312-cp312-win32.whl", hash = "sha256:1ab5b83dbcf55acc8b08fc62b796ef672c457b17dbd7820a11d6c52c06839bdf", size = 223782 },
+ { url = "https://files.pythonhosted.org/packages/39/3b/f786af9957306fdc38a74cef405b7b93180f481fb48453a114bb6465744a/rpds_py-0.30.0-cp312-cp312-win_amd64.whl", hash = "sha256:a090322ca841abd453d43456ac34db46e8b05fd9b3b4ac0c78bcde8b089f959b", size = 240463 },
+ { url = "https://files.pythonhosted.org/packages/f3/d2/b91dc748126c1559042cfe41990deb92c4ee3e2b415f6b5234969ffaf0cc/rpds_py-0.30.0-cp312-cp312-win_arm64.whl", hash = "sha256:669b1805bd639dd2989b281be2cfd951c6121b65e729d9b843e9639ef1fd555e", size = 230868 },
+ { url = "https://files.pythonhosted.org/packages/ed/dc/d61221eb88ff410de3c49143407f6f3147acf2538c86f2ab7ce65ae7d5f9/rpds_py-0.30.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:f83424d738204d9770830d35290ff3273fbb02b41f919870479fab14b9d303b2", size = 374887 },
+ { url = "https://files.pythonhosted.org/packages/fd/32/55fb50ae104061dbc564ef15cc43c013dc4a9f4527a1f4d99baddf56fe5f/rpds_py-0.30.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:e7536cd91353c5273434b4e003cbda89034d67e7710eab8761fd918ec6c69cf8", size = 358904 },
+ { url = "https://files.pythonhosted.org/packages/58/70/faed8186300e3b9bdd138d0273109784eea2396c68458ed580f885dfe7ad/rpds_py-0.30.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2771c6c15973347f50fece41fc447c054b7ac2ae0502388ce3b6738cd366e3d4", size = 389945 },
+ { url = "https://files.pythonhosted.org/packages/bd/a8/073cac3ed2c6387df38f71296d002ab43496a96b92c823e76f46b8af0543/rpds_py-0.30.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:0a59119fc6e3f460315fe9d08149f8102aa322299deaa5cab5b40092345c2136", size = 407783 },
+ { url = "https://files.pythonhosted.org/packages/77/57/5999eb8c58671f1c11eba084115e77a8899d6e694d2a18f69f0ba471ec8b/rpds_py-0.30.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:76fec018282b4ead0364022e3c54b60bf368b9d926877957a8624b58419169b7", size = 515021 },
+ { url = "https://files.pythonhosted.org/packages/e0/af/5ab4833eadc36c0a8ed2bc5c0de0493c04f6c06de223170bd0798ff98ced/rpds_py-0.30.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:692bef75a5525db97318e8cd061542b5a79812d711ea03dbc1f6f8dbb0c5f0d2", size = 414589 },
+ { url = "https://files.pythonhosted.org/packages/b7/de/f7192e12b21b9e9a68a6d0f249b4af3fdcdff8418be0767a627564afa1f1/rpds_py-0.30.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9027da1ce107104c50c81383cae773ef5c24d296dd11c99e2629dbd7967a20c6", size = 394025 },
+ { url = "https://files.pythonhosted.org/packages/91/c4/fc70cd0249496493500e7cc2de87504f5aa6509de1e88623431fec76d4b6/rpds_py-0.30.0-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:9cf69cdda1f5968a30a359aba2f7f9aa648a9ce4b580d6826437f2b291cfc86e", size = 408895 },
+ { url = "https://files.pythonhosted.org/packages/58/95/d9275b05ab96556fefff73a385813eb66032e4c99f411d0795372d9abcea/rpds_py-0.30.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:a4796a717bf12b9da9d3ad002519a86063dcac8988b030e405704ef7d74d2d9d", size = 422799 },
+ { url = "https://files.pythonhosted.org/packages/06/c1/3088fc04b6624eb12a57eb814f0d4997a44b0d208d6cace713033ff1a6ba/rpds_py-0.30.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:5d4c2aa7c50ad4728a094ebd5eb46c452e9cb7edbfdb18f9e1221f597a73e1e7", size = 572731 },
+ { url = "https://files.pythonhosted.org/packages/d8/42/c612a833183b39774e8ac8fecae81263a68b9583ee343db33ab571a7ce55/rpds_py-0.30.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:ba81a9203d07805435eb06f536d95a266c21e5b2dfbf6517748ca40c98d19e31", size = 599027 },
+ { url = "https://files.pythonhosted.org/packages/5f/60/525a50f45b01d70005403ae0e25f43c0384369ad24ffe46e8d9068b50086/rpds_py-0.30.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:945dccface01af02675628334f7cf49c2af4c1c904748efc5cf7bbdf0b579f95", size = 563020 },
+ { url = "https://files.pythonhosted.org/packages/0b/5d/47c4655e9bcd5ca907148535c10e7d489044243cc9941c16ed7cd53be91d/rpds_py-0.30.0-cp313-cp313-win32.whl", hash = "sha256:b40fb160a2db369a194cb27943582b38f79fc4887291417685f3ad693c5a1d5d", size = 223139 },
+ { url = "https://files.pythonhosted.org/packages/f2/e1/485132437d20aa4d3e1d8b3fb5a5e65aa8139f1e097080c2a8443201742c/rpds_py-0.30.0-cp313-cp313-win_amd64.whl", hash = "sha256:806f36b1b605e2d6a72716f321f20036b9489d29c51c91f4dd29a3e3afb73b15", size = 240224 },
+ { url = "https://files.pythonhosted.org/packages/24/95/ffd128ed1146a153d928617b0ef673960130be0009c77d8fbf0abe306713/rpds_py-0.30.0-cp313-cp313-win_arm64.whl", hash = "sha256:d96c2086587c7c30d44f31f42eae4eac89b60dabbac18c7669be3700f13c3ce1", size = 230645 },
+ { url = "https://files.pythonhosted.org/packages/ff/1b/b10de890a0def2a319a2626334a7f0ae388215eb60914dbac8a3bae54435/rpds_py-0.30.0-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:eb0b93f2e5c2189ee831ee43f156ed34e2a89a78a66b98cadad955972548be5a", size = 364443 },
+ { url = "https://files.pythonhosted.org/packages/0d/bf/27e39f5971dc4f305a4fb9c672ca06f290f7c4e261c568f3dea16a410d47/rpds_py-0.30.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:922e10f31f303c7c920da8981051ff6d8c1a56207dbdf330d9047f6d30b70e5e", size = 353375 },
+ { url = "https://files.pythonhosted.org/packages/40/58/442ada3bba6e8e6615fc00483135c14a7538d2ffac30e2d933ccf6852232/rpds_py-0.30.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cdc62c8286ba9bf7f47befdcea13ea0e26bf294bda99758fd90535cbaf408000", size = 383850 },
+ { url = "https://files.pythonhosted.org/packages/14/14/f59b0127409a33c6ef6f5c1ebd5ad8e32d7861c9c7adfa9a624fc3889f6c/rpds_py-0.30.0-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:47f9a91efc418b54fb8190a6b4aa7813a23fb79c51f4bb84e418f5476c38b8db", size = 392812 },
+ { url = "https://files.pythonhosted.org/packages/b3/66/e0be3e162ac299b3a22527e8913767d869e6cc75c46bd844aa43fb81ab62/rpds_py-0.30.0-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1f3587eb9b17f3789ad50824084fa6f81921bbf9a795826570bda82cb3ed91f2", size = 517841 },
+ { url = "https://files.pythonhosted.org/packages/3d/55/fa3b9cf31d0c963ecf1ba777f7cf4b2a2c976795ac430d24a1f43d25a6ba/rpds_py-0.30.0-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:39c02563fc592411c2c61d26b6c5fe1e51eaa44a75aa2c8735ca88b0d9599daa", size = 408149 },
+ { url = "https://files.pythonhosted.org/packages/60/ca/780cf3b1a32b18c0f05c441958d3758f02544f1d613abf9488cd78876378/rpds_py-0.30.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:51a1234d8febafdfd33a42d97da7a43f5dcb120c1060e352a3fbc0c6d36e2083", size = 383843 },
+ { url = "https://files.pythonhosted.org/packages/82/86/d5f2e04f2aa6247c613da0c1dd87fcd08fa17107e858193566048a1e2f0a/rpds_py-0.30.0-cp313-cp313t-manylinux_2_31_riscv64.whl", hash = "sha256:eb2c4071ab598733724c08221091e8d80e89064cd472819285a9ab0f24bcedb9", size = 396507 },
+ { url = "https://files.pythonhosted.org/packages/4b/9a/453255d2f769fe44e07ea9785c8347edaf867f7026872e76c1ad9f7bed92/rpds_py-0.30.0-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:6bdfdb946967d816e6adf9a3d8201bfad269c67efe6cefd7093ef959683c8de0", size = 414949 },
+ { url = "https://files.pythonhosted.org/packages/a3/31/622a86cdc0c45d6df0e9ccb6becdba5074735e7033c20e401a6d9d0e2ca0/rpds_py-0.30.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:c77afbd5f5250bf27bf516c7c4a016813eb2d3e116139aed0096940c5982da94", size = 565790 },
+ { url = "https://files.pythonhosted.org/packages/1c/5d/15bbf0fb4a3f58a3b1c67855ec1efcc4ceaef4e86644665fff03e1b66d8d/rpds_py-0.30.0-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:61046904275472a76c8c90c9ccee9013d70a6d0f73eecefd38c1ae7c39045a08", size = 590217 },
+ { url = "https://files.pythonhosted.org/packages/6d/61/21b8c41f68e60c8cc3b2e25644f0e3681926020f11d06ab0b78e3c6bbff1/rpds_py-0.30.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:4c5f36a861bc4b7da6516dbdf302c55313afa09b81931e8280361a4f6c9a2d27", size = 555806 },
+ { url = "https://files.pythonhosted.org/packages/f9/39/7e067bb06c31de48de3eb200f9fc7c58982a4d3db44b07e73963e10d3be9/rpds_py-0.30.0-cp313-cp313t-win32.whl", hash = "sha256:3d4a69de7a3e50ffc214ae16d79d8fbb0922972da0356dcf4d0fdca2878559c6", size = 211341 },
+ { url = "https://files.pythonhosted.org/packages/0a/4d/222ef0b46443cf4cf46764d9c630f3fe4abaa7245be9417e56e9f52b8f65/rpds_py-0.30.0-cp313-cp313t-win_amd64.whl", hash = "sha256:f14fc5df50a716f7ece6a80b6c78bb35ea2ca47c499e422aa4463455dd96d56d", size = 225768 },
+ { url = "https://files.pythonhosted.org/packages/86/81/dad16382ebbd3d0e0328776d8fd7ca94220e4fa0798d1dc5e7da48cb3201/rpds_py-0.30.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:68f19c879420aa08f61203801423f6cd5ac5f0ac4ac82a2368a9fcd6a9a075e0", size = 362099 },
+ { url = "https://files.pythonhosted.org/packages/2b/60/19f7884db5d5603edf3c6bce35408f45ad3e97e10007df0e17dd57af18f8/rpds_py-0.30.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:ec7c4490c672c1a0389d319b3a9cfcd098dcdc4783991553c332a15acf7249be", size = 353192 },
+ { url = "https://files.pythonhosted.org/packages/bf/c4/76eb0e1e72d1a9c4703c69607cec123c29028bff28ce41588792417098ac/rpds_py-0.30.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f251c812357a3fed308d684a5079ddfb9d933860fc6de89f2b7ab00da481e65f", size = 384080 },
+ { url = "https://files.pythonhosted.org/packages/72/87/87ea665e92f3298d1b26d78814721dc39ed8d2c74b86e83348d6b48a6f31/rpds_py-0.30.0-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:ac98b175585ecf4c0348fd7b29c3864bda53b805c773cbf7bfdaffc8070c976f", size = 394841 },
+ { url = "https://files.pythonhosted.org/packages/77/ad/7783a89ca0587c15dcbf139b4a8364a872a25f861bdb88ed99f9b0dec985/rpds_py-0.30.0-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3e62880792319dbeb7eb866547f2e35973289e7d5696c6e295476448f5b63c87", size = 516670 },
+ { url = "https://files.pythonhosted.org/packages/5b/3c/2882bdac942bd2172f3da574eab16f309ae10a3925644e969536553cb4ee/rpds_py-0.30.0-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4e7fc54e0900ab35d041b0601431b0a0eb495f0851a0639b6ef90f7741b39a18", size = 408005 },
+ { url = "https://files.pythonhosted.org/packages/ce/81/9a91c0111ce1758c92516a3e44776920b579d9a7c09b2b06b642d4de3f0f/rpds_py-0.30.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:47e77dc9822d3ad616c3d5759ea5631a75e5809d5a28707744ef79d7a1bcfcad", size = 382112 },
+ { url = "https://files.pythonhosted.org/packages/cf/8e/1da49d4a107027e5fbc64daeab96a0706361a2918da10cb41769244b805d/rpds_py-0.30.0-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:b4dc1a6ff022ff85ecafef7979a2c6eb423430e05f1165d6688234e62ba99a07", size = 399049 },
+ { url = "https://files.pythonhosted.org/packages/df/5a/7ee239b1aa48a127570ec03becbb29c9d5a9eb092febbd1699d567cae859/rpds_py-0.30.0-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:4559c972db3a360808309e06a74628b95eaccbf961c335c8fe0d590cf587456f", size = 415661 },
+ { url = "https://files.pythonhosted.org/packages/70/ea/caa143cf6b772f823bc7929a45da1fa83569ee49b11d18d0ada7f5ee6fd6/rpds_py-0.30.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:0ed177ed9bded28f8deb6ab40c183cd1192aa0de40c12f38be4d59cd33cb5c65", size = 565606 },
+ { url = "https://files.pythonhosted.org/packages/64/91/ac20ba2d69303f961ad8cf55bf7dbdb4763f627291ba3d0d7d67333cced9/rpds_py-0.30.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:ad1fa8db769b76ea911cb4e10f049d80bf518c104f15b3edb2371cc65375c46f", size = 591126 },
+ { url = "https://files.pythonhosted.org/packages/21/20/7ff5f3c8b00c8a95f75985128c26ba44503fb35b8e0259d812766ea966c7/rpds_py-0.30.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:46e83c697b1f1c72b50e5ee5adb4353eef7406fb3f2043d64c33f20ad1c2fc53", size = 553371 },
+ { url = "https://files.pythonhosted.org/packages/72/c7/81dadd7b27c8ee391c132a6b192111ca58d866577ce2d9b0ca157552cce0/rpds_py-0.30.0-cp314-cp314-win32.whl", hash = "sha256:ee454b2a007d57363c2dfd5b6ca4a5d7e2c518938f8ed3b706e37e5d470801ed", size = 215298 },
+ { url = "https://files.pythonhosted.org/packages/3e/d2/1aaac33287e8cfb07aab2e6b8ac1deca62f6f65411344f1433c55e6f3eb8/rpds_py-0.30.0-cp314-cp314-win_amd64.whl", hash = "sha256:95f0802447ac2d10bcc69f6dc28fe95fdf17940367b21d34e34c737870758950", size = 228604 },
+ { url = "https://files.pythonhosted.org/packages/e8/95/ab005315818cc519ad074cb7784dae60d939163108bd2b394e60dc7b5461/rpds_py-0.30.0-cp314-cp314-win_arm64.whl", hash = "sha256:613aa4771c99f03346e54c3f038e4cc574ac09a3ddfb0e8878487335e96dead6", size = 222391 },
+ { url = "https://files.pythonhosted.org/packages/9e/68/154fe0194d83b973cdedcdcc88947a2752411165930182ae41d983dcefa6/rpds_py-0.30.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:7e6ecfcb62edfd632e56983964e6884851786443739dbfe3582947e87274f7cb", size = 364868 },
+ { url = "https://files.pythonhosted.org/packages/83/69/8bbc8b07ec854d92a8b75668c24d2abcb1719ebf890f5604c61c9369a16f/rpds_py-0.30.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:a1d0bc22a7cdc173fedebb73ef81e07faef93692b8c1ad3733b67e31e1b6e1b8", size = 353747 },
+ { url = "https://files.pythonhosted.org/packages/ab/00/ba2e50183dbd9abcce9497fa5149c62b4ff3e22d338a30d690f9af970561/rpds_py-0.30.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0d08f00679177226c4cb8c5265012eea897c8ca3b93f429e546600c971bcbae7", size = 383795 },
+ { url = "https://files.pythonhosted.org/packages/05/6f/86f0272b84926bcb0e4c972262f54223e8ecc556b3224d281e6598fc9268/rpds_py-0.30.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:5965af57d5848192c13534f90f9dd16464f3c37aaf166cc1da1cae1fd5a34898", size = 393330 },
+ { url = "https://files.pythonhosted.org/packages/cb/e9/0e02bb2e6dc63d212641da45df2b0bf29699d01715913e0d0f017ee29438/rpds_py-0.30.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9a4e86e34e9ab6b667c27f3211ca48f73dba7cd3d90f8d5b11be56e5dbc3fb4e", size = 518194 },
+ { url = "https://files.pythonhosted.org/packages/ee/ca/be7bca14cf21513bdf9c0606aba17d1f389ea2b6987035eb4f62bd923f25/rpds_py-0.30.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e5d3e6b26f2c785d65cc25ef1e5267ccbe1b069c5c21b8cc724efee290554419", size = 408340 },
+ { url = "https://files.pythonhosted.org/packages/c2/c7/736e00ebf39ed81d75544c0da6ef7b0998f8201b369acf842f9a90dc8fce/rpds_py-0.30.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:626a7433c34566535b6e56a1b39a7b17ba961e97ce3b80ec62e6f1312c025551", size = 383765 },
+ { url = "https://files.pythonhosted.org/packages/4a/3f/da50dfde9956aaf365c4adc9533b100008ed31aea635f2b8d7b627e25b49/rpds_py-0.30.0-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:acd7eb3f4471577b9b5a41baf02a978e8bdeb08b4b355273994f8b87032000a8", size = 396834 },
+ { url = "https://files.pythonhosted.org/packages/4e/00/34bcc2565b6020eab2623349efbdec810676ad571995911f1abdae62a3a0/rpds_py-0.30.0-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:fe5fa731a1fa8a0a56b0977413f8cacac1768dad38d16b3a296712709476fbd5", size = 415470 },
+ { url = "https://files.pythonhosted.org/packages/8c/28/882e72b5b3e6f718d5453bd4d0d9cf8df36fddeb4ddbbab17869d5868616/rpds_py-0.30.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:74a3243a411126362712ee1524dfc90c650a503502f135d54d1b352bd01f2404", size = 565630 },
+ { url = "https://files.pythonhosted.org/packages/3b/97/04a65539c17692de5b85c6e293520fd01317fd878ea1995f0367d4532fb1/rpds_py-0.30.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:3e8eeb0544f2eb0d2581774be4c3410356eba189529a6b3e36bbbf9696175856", size = 591148 },
+ { url = "https://files.pythonhosted.org/packages/85/70/92482ccffb96f5441aab93e26c4d66489eb599efdcf96fad90c14bbfb976/rpds_py-0.30.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:dbd936cde57abfee19ab3213cf9c26be06d60750e60a8e4dd85d1ab12c8b1f40", size = 556030 },
+ { url = "https://files.pythonhosted.org/packages/20/53/7c7e784abfa500a2b6b583b147ee4bb5a2b3747a9166bab52fec4b5b5e7d/rpds_py-0.30.0-cp314-cp314t-win32.whl", hash = "sha256:dc824125c72246d924f7f796b4f63c1e9dc810c7d9e2355864b3c3a73d59ade0", size = 211570 },
+ { url = "https://files.pythonhosted.org/packages/d0/02/fa464cdfbe6b26e0600b62c528b72d8608f5cc49f96b8d6e38c95d60c676/rpds_py-0.30.0-cp314-cp314t-win_amd64.whl", hash = "sha256:27f4b0e92de5bfbc6f86e43959e6edd1425c33b5e69aab0984a72047f2bcf1e3", size = 226532 },
+ { url = "https://files.pythonhosted.org/packages/69/71/3f34339ee70521864411f8b6992e7ab13ac30d8e4e3309e07c7361767d91/rpds_py-0.30.0-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:c2262bdba0ad4fc6fb5545660673925c2d2a5d9e2e0fb603aad545427be0fc58", size = 372292 },
+ { url = "https://files.pythonhosted.org/packages/57/09/f183df9b8f2d66720d2ef71075c59f7e1b336bec7ee4c48f0a2b06857653/rpds_py-0.30.0-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:ee6af14263f25eedc3bb918a3c04245106a42dfd4f5c2285ea6f997b1fc3f89a", size = 362128 },
+ { url = "https://files.pythonhosted.org/packages/7a/68/5c2594e937253457342e078f0cc1ded3dd7b2ad59afdbf2d354869110a02/rpds_py-0.30.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3adbb8179ce342d235c31ab8ec511e66c73faa27a47e076ccc92421add53e2bb", size = 391542 },
+ { url = "https://files.pythonhosted.org/packages/49/5c/31ef1afd70b4b4fbdb2800249f34c57c64beb687495b10aec0365f53dfc4/rpds_py-0.30.0-pp311-pypy311_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:250fa00e9543ac9b97ac258bd37367ff5256666122c2d0f2bc97577c60a1818c", size = 404004 },
+ { url = "https://files.pythonhosted.org/packages/e3/63/0cfbea38d05756f3440ce6534d51a491d26176ac045e2707adc99bb6e60a/rpds_py-0.30.0-pp311-pypy311_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9854cf4f488b3d57b9aaeb105f06d78e5529d3145b1e4a41750167e8c213c6d3", size = 527063 },
+ { url = "https://files.pythonhosted.org/packages/42/e6/01e1f72a2456678b0f618fc9a1a13f882061690893c192fcad9f2926553a/rpds_py-0.30.0-pp311-pypy311_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:993914b8e560023bc0a8bf742c5f303551992dcb85e247b1e5c7f4a7d145bda5", size = 413099 },
+ { url = "https://files.pythonhosted.org/packages/b8/25/8df56677f209003dcbb180765520c544525e3ef21ea72279c98b9aa7c7fb/rpds_py-0.30.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:58edca431fb9b29950807e301826586e5bbf24163677732429770a697ffe6738", size = 392177 },
+ { url = "https://files.pythonhosted.org/packages/4a/b4/0a771378c5f16f8115f796d1f437950158679bcd2a7c68cf251cfb00ed5b/rpds_py-0.30.0-pp311-pypy311_pp73-manylinux_2_31_riscv64.whl", hash = "sha256:dea5b552272a944763b34394d04577cf0f9bd013207bc32323b5a89a53cf9c2f", size = 406015 },
+ { url = "https://files.pythonhosted.org/packages/36/d8/456dbba0af75049dc6f63ff295a2f92766b9d521fa00de67a2bd6427d57a/rpds_py-0.30.0-pp311-pypy311_pp73-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:ba3af48635eb83d03f6c9735dfb21785303e73d22ad03d489e88adae6eab8877", size = 423736 },
+ { url = "https://files.pythonhosted.org/packages/13/64/b4d76f227d5c45a7e0b796c674fd81b0a6c4fbd48dc29271857d8219571c/rpds_py-0.30.0-pp311-pypy311_pp73-musllinux_1_2_aarch64.whl", hash = "sha256:dff13836529b921e22f15cb099751209a60009731a68519630a24d61f0b1b30a", size = 573981 },
+ { url = "https://files.pythonhosted.org/packages/20/91/092bacadeda3edf92bf743cc96a7be133e13a39cdbfd7b5082e7ab638406/rpds_py-0.30.0-pp311-pypy311_pp73-musllinux_1_2_i686.whl", hash = "sha256:1b151685b23929ab7beec71080a8889d4d6d9fa9a983d213f07121205d48e2c4", size = 599782 },
+ { url = "https://files.pythonhosted.org/packages/d1/b7/b95708304cd49b7b6f82fdd039f1748b66ec2b21d6a45180910802f1abf1/rpds_py-0.30.0-pp311-pypy311_pp73-musllinux_1_2_x86_64.whl", hash = "sha256:ac37f9f516c51e5753f27dfdef11a88330f04de2d564be3991384b2f3535d02e", size = 562191 },
+]
+
+[[package]]
+name = "scenedetect"
+version = "0.6.7"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "click" },
+ { name = "numpy" },
+ { name = "platformdirs" },
+ { name = "tqdm" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/bd/b1/800d4c1d4da24cd673b921c0b5ffd5bbdcaa2a7f4f4dd86dd2c202a673c6/scenedetect-0.6.7.tar.gz", hash = "sha256:1a2c73b57de2e1656f7896edc8523de7217f361179a8966e947f79d33e40830f", size = 164213 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e7/e9/05a20eaeed21d2e0761fc4d3819f1f5013a49945133323ba0ce7be8be291/scenedetect-0.6.7-py3-none-any.whl", hash = "sha256:935571453142f5d7d44a8d9bb713fdd89bdb69efdbce92c7dfe09d52c523ac2b", size = 130834 },
+]
+
+[package.optional-dependencies]
+opencv = [
+ { name = "opencv-python" },
+]
+
+[[package]]
+name = "setuptools"
+version = "82.0.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/4f/db/cfac1baf10650ab4d1c111714410d2fbb77ac5a616db26775db562c8fab2/setuptools-82.0.1.tar.gz", hash = "sha256:7d872682c5d01cfde07da7bccc7b65469d3dca203318515ada1de5eda35efbf9", size = 1152316 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9d/76/f789f7a86709c6b087c5a2f52f911838cad707cc613162401badc665acfe/setuptools-82.0.1-py3-none-any.whl", hash = "sha256:a59e362652f08dcd477c78bb6e7bd9d80a7995bc73ce773050228a348ce2e5bb", size = 1006223 },
+]
+
+[[package]]
+name = "shellingham"
+version = "1.5.4"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/58/15/8b3609fd3830ef7b27b655beb4b4e9c62313a4e8da8c676e142cc210d58e/shellingham-1.5.4.tar.gz", hash = "sha256:8dbca0739d487e5bd35ab3ca4b36e11c4078f3a234bfce294b0a0291363404de", size = 10310 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e0/f9/0595336914c5619e5f28a1fb793285925a8cd4b432c9da0a987836c7f822/shellingham-1.5.4-py2.py3-none-any.whl", hash = "sha256:7ecfff8f2fd72616f7481040475a65b2bf8af90a56c89140852d1120324e8686", size = 9755 },
+]
+
+[[package]]
+name = "six"
+version = "1.17.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81", size = 34031 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050 },
+]
+
+[[package]]
+name = "sniffio"
+version = "1.3.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235 },
+]
+
+[[package]]
+name = "sqlalchemy"
+version = "2.0.49"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "greenlet", marker = "platform_machine == 'AMD64' or platform_machine == 'WIN32' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'ppc64le' or platform_machine == 'win32' or platform_machine == 'x86_64'" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/09/45/461788f35e0364a8da7bda51a1fe1b09762d0c32f12f63727998d85a873b/sqlalchemy-2.0.49.tar.gz", hash = "sha256:d15950a57a210e36dd4cec1aac22787e2a4d57ba9318233e2ef8b2daf9ff2d5f", size = 9898221 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/60/b5/e3617cc67420f8f403efebd7b043128f94775e57e5b84e7255203390ceae/sqlalchemy-2.0.49-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:c5070135e1b7409c4161133aa525419b0062088ed77c92b1da95366ec5cbebbe", size = 2159126 },
+ { url = "https://files.pythonhosted.org/packages/20/9b/91ca80403b17cd389622a642699e5f6564096b698e7cdcbcbb6409898bc4/sqlalchemy-2.0.49-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9ac7a3e245fd0310fd31495eb61af772e637bdf7d88ee81e7f10a3f271bff014", size = 3315509 },
+ { url = "https://files.pythonhosted.org/packages/b1/61/0722511d98c54de95acb327824cb759e8653789af2b1944ab1cc69d32565/sqlalchemy-2.0.49-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4d4e5a0ceba319942fa6b585cf82539288a61e314ef006c1209f734551ab9536", size = 3315014 },
+ { url = "https://files.pythonhosted.org/packages/46/55/d514a653ffeb4cebf4b54c47bec32ee28ad89d39fafba16eeed1d81dccd5/sqlalchemy-2.0.49-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:3ddcb27fb39171de36e207600116ac9dfd4ae46f86c82a9bf3934043e80ebb88", size = 3267388 },
+ { url = "https://files.pythonhosted.org/packages/2f/16/0dcc56cb6d3335c1671a2258f5d2cb8267c9a2260e27fde53cbfb1b3540a/sqlalchemy-2.0.49-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:32fe6a41ad97302db2931f05bb91abbcc65b5ce4c675cd44b972428dd2947700", size = 3289602 },
+ { url = "https://files.pythonhosted.org/packages/51/6c/f8ab6fb04470a133cd80608db40aa292e6bae5f162c3a3d4ab19544a67af/sqlalchemy-2.0.49-cp311-cp311-win32.whl", hash = "sha256:46d51518d53edfbe0563662c96954dc8fcace9832332b914375f45a99b77cc9a", size = 2119044 },
+ { url = "https://files.pythonhosted.org/packages/c4/59/55a6d627d04b6ebb290693681d7683c7da001eddf90b60cfcc41ee907978/sqlalchemy-2.0.49-cp311-cp311-win_amd64.whl", hash = "sha256:951d4a210744813be63019f3df343bf233b7432aadf0db54c75802247330d3af", size = 2143642 },
+ { url = "https://files.pythonhosted.org/packages/49/b3/2de412451330756aaaa72d27131db6dde23995efe62c941184e15242a5fa/sqlalchemy-2.0.49-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4bbccb45260e4ff1b7db0be80a9025bb1e6698bdb808b83fff0000f7a90b2c0b", size = 2157681 },
+ { url = "https://files.pythonhosted.org/packages/50/84/b2a56e2105bd11ebf9f0b93abddd748e1a78d592819099359aa98134a8bf/sqlalchemy-2.0.49-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:fb37f15714ec2652d574f021d479e78cd4eb9d04396dca36568fdfffb3487982", size = 3338976 },
+ { url = "https://files.pythonhosted.org/packages/2c/fa/65fcae2ed62f84ab72cf89536c7c3217a156e71a2c111b1305ab6f0690e2/sqlalchemy-2.0.49-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:3bb9ec6436a820a4c006aad1ac351f12de2f2dbdaad171692ee457a02429b672", size = 3351937 },
+ { url = "https://files.pythonhosted.org/packages/f8/2f/6fd118563572a7fe475925742eb6b3443b2250e346a0cc27d8d408e73773/sqlalchemy-2.0.49-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8d6efc136f44a7e8bc8088507eaabbb8c2b55b3dbb63fe102c690da0ddebe55e", size = 3281646 },
+ { url = "https://files.pythonhosted.org/packages/c5/d7/410f4a007c65275b9cf82354adb4bb8ba587b176d0a6ee99caa16fe638f8/sqlalchemy-2.0.49-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e06e617e3d4fd9e51d385dfe45b077a41e9d1b033a7702551e3278ac597dc750", size = 3316695 },
+ { url = "https://files.pythonhosted.org/packages/d9/95/81f594aa60ded13273a844539041ccf1e66c5a7bed0a8e27810a3b52d522/sqlalchemy-2.0.49-cp312-cp312-win32.whl", hash = "sha256:83101a6930332b87653886c01d1ee7e294b1fe46a07dd9a2d2b4f91bcc88eec0", size = 2117483 },
+ { url = "https://files.pythonhosted.org/packages/47/9e/fd90114059175cac64e4fafa9bf3ac20584384d66de40793ae2e2f26f3bb/sqlalchemy-2.0.49-cp312-cp312-win_amd64.whl", hash = "sha256:618a308215b6cececb6240b9abde545e3acdabac7ae3e1d4e666896bf5ba44b4", size = 2144494 },
+ { url = "https://files.pythonhosted.org/packages/ae/81/81755f50eb2478eaf2049728491d4ea4f416c1eb013338682173259efa09/sqlalchemy-2.0.49-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:df2d441bacf97022e81ad047e1597552eb3f83ca8a8f1a1fdd43cd7fe3898120", size = 2154547 },
+ { url = "https://files.pythonhosted.org/packages/a2/bc/3494270da80811d08bcfa247404292428c4fe16294932bce5593f215cad9/sqlalchemy-2.0.49-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:8e20e511dc15265fb433571391ba313e10dd8ea7e509d51686a51313b4ac01a2", size = 3280782 },
+ { url = "https://files.pythonhosted.org/packages/cd/f5/038741f5e747a5f6ea3e72487211579d8cbea5eb9827a9cbd61d0108c4bd/sqlalchemy-2.0.49-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:47604cb2159f8bbd5a1ab48a714557156320f20871ee64d550d8bf2683d980d3", size = 3297156 },
+ { url = "https://files.pythonhosted.org/packages/88/50/a6af0ff9dc954b43a65ca9b5367334e45d99684c90a3d3413fc19a02d43c/sqlalchemy-2.0.49-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:22d8798819f86720bc646ab015baff5ea4c971d68121cb36e2ebc2ee43ead2b7", size = 3228832 },
+ { url = "https://files.pythonhosted.org/packages/bc/d1/5f6bdad8de0bf546fc74370939621396515e0cdb9067402d6ba1b8afbe9a/sqlalchemy-2.0.49-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:9b1c058c171b739e7c330760044803099c7fff11511e3ab3573e5327116a9c33", size = 3267000 },
+ { url = "https://files.pythonhosted.org/packages/f7/30/ad62227b4a9819a5e1c6abff77c0f614fa7c9326e5a3bdbee90f7139382b/sqlalchemy-2.0.49-cp313-cp313-win32.whl", hash = "sha256:a143af2ea6672f2af3f44ed8f9cd020e9cc34c56f0e8db12019d5d9ecf41cb3b", size = 2115641 },
+ { url = "https://files.pythonhosted.org/packages/17/3a/7215b1b7d6d49dc9a87211be44562077f5f04f9bb5a59552c1c8e2d98173/sqlalchemy-2.0.49-cp313-cp313-win_amd64.whl", hash = "sha256:12b04d1db2663b421fe072d638a138460a51d5a862403295671c4f3987fb9148", size = 2141498 },
+ { url = "https://files.pythonhosted.org/packages/28/4b/52a0cb2687a9cd1648252bb257be5a1ba2c2ded20ba695c65756a55a15a4/sqlalchemy-2.0.49-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:24bd94bb301ec672d8f0623eba9226cc90d775d25a0c92b5f8e4965d7f3a1518", size = 3560807 },
+ { url = "https://files.pythonhosted.org/packages/8c/d8/fda95459204877eed0458550d6c7c64c98cc50c2d8d618026737de9ed41a/sqlalchemy-2.0.49-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a51d3db74ba489266ef55c7a4534eb0b8db9a326553df481c11e5d7660c8364d", size = 3527481 },
+ { url = "https://files.pythonhosted.org/packages/ff/0a/2aac8b78ac6487240cf7afef8f203ca783e8796002dc0cf65c4ee99ff8bb/sqlalchemy-2.0.49-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:55250fe61d6ebfd6934a272ee16ef1244e0f16b7af6cd18ab5b1fc9f08631db0", size = 3468565 },
+ { url = "https://files.pythonhosted.org/packages/a5/3d/ce71cfa82c50a373fd2148b3c870be05027155ce791dc9a5dcf439790b8b/sqlalchemy-2.0.49-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:46796877b47034b559a593d7e4b549aba151dae73f9e78212a3478161c12ab08", size = 3477769 },
+ { url = "https://files.pythonhosted.org/packages/d5/e8/0a9f5c1f7c6f9ca480319bf57c2d7423f08d31445974167a27d14483c948/sqlalchemy-2.0.49-cp313-cp313t-win32.whl", hash = "sha256:9c4969a86e41454f2858256c39bdfb966a20961e9b58bf8749b65abf447e9a8d", size = 2143319 },
+ { url = "https://files.pythonhosted.org/packages/0e/51/fb5240729fbec73006e137c4f7a7918ffd583ab08921e6ff81a999d6517a/sqlalchemy-2.0.49-cp313-cp313t-win_amd64.whl", hash = "sha256:b9870d15ef00e4d0559ae10ee5bc71b654d1f20076dbe8bc7ed19b4c0625ceba", size = 2175104 },
+ { url = "https://files.pythonhosted.org/packages/55/33/bf28f618c0a9597d14e0b9ee7d1e0622faff738d44fe986ee287cdf1b8d0/sqlalchemy-2.0.49-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:233088b4b99ebcbc5258c755a097aa52fbf90727a03a5a80781c4b9c54347a2e", size = 2156356 },
+ { url = "https://files.pythonhosted.org/packages/d1/a7/5f476227576cb8644650eff68cc35fa837d3802b997465c96b8340ced1e2/sqlalchemy-2.0.49-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:57ca426a48eb2c682dae8204cd89ea8ab7031e2675120a47924fabc7caacbc2a", size = 3276486 },
+ { url = "https://files.pythonhosted.org/packages/2e/84/efc7c0bf3a1c5eef81d397f6fddac855becdbb11cb38ff957888603014a7/sqlalchemy-2.0.49-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:685e93e9c8f399b0c96a624799820176312f5ceef958c0f88215af4013d29066", size = 3281479 },
+ { url = "https://files.pythonhosted.org/packages/91/68/bb406fa4257099c67bd75f3f2261b129c63204b9155de0d450b37f004698/sqlalchemy-2.0.49-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:9e0400fa22f79acc334d9a6b185dc00a44a8e6578aa7e12d0ddcd8434152b187", size = 3226269 },
+ { url = "https://files.pythonhosted.org/packages/67/84/acb56c00cca9f251f437cb49e718e14f7687505749ea9255d7bd8158a6df/sqlalchemy-2.0.49-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:a05977bffe9bffd2229f477fa75eabe3192b1b05f408961d1bebff8d1cd4d401", size = 3248260 },
+ { url = "https://files.pythonhosted.org/packages/56/19/6a20ea25606d1efd7bd1862149bb2a22d1451c3f851d23d887969201633f/sqlalchemy-2.0.49-cp314-cp314-win32.whl", hash = "sha256:0f2fa354ba106eafff2c14b0cc51f22801d1e8b2e4149342023bd6f0955de5f5", size = 2118463 },
+ { url = "https://files.pythonhosted.org/packages/cf/4f/8297e4ed88e80baa1f5aa3c484a0ee29ef3c69c7582f206c916973b75057/sqlalchemy-2.0.49-cp314-cp314-win_amd64.whl", hash = "sha256:77641d299179c37b89cf2343ca9972c88bb6eef0d5fc504a2f86afd15cd5adf5", size = 2144204 },
+ { url = "https://files.pythonhosted.org/packages/1f/33/95e7216df810c706e0cd3655a778604bbd319ed4f43333127d465a46862d/sqlalchemy-2.0.49-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c1dc3368794d522f43914e03312202523cc89692f5389c32bea0233924f8d977", size = 3565474 },
+ { url = "https://files.pythonhosted.org/packages/0c/a4/ed7b18d8ccf7f954a83af6bb73866f5bc6f5636f44c7731fbb741f72cc4f/sqlalchemy-2.0.49-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7c821c47ecfe05cc32140dcf8dc6fd5d21971c86dbd56eabfe5ba07a64910c01", size = 3530567 },
+ { url = "https://files.pythonhosted.org/packages/73/a3/20faa869c7e21a827c4a2a42b41353a54b0f9f5e96df5087629c306df71e/sqlalchemy-2.0.49-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:9c04bff9a5335eb95c6ecf1c117576a0aa560def274876fd156cfe5510fccc61", size = 3474282 },
+ { url = "https://files.pythonhosted.org/packages/b7/50/276b9a007aa0764304ad467eceb70b04822dc32092492ee5f322d559a4dc/sqlalchemy-2.0.49-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:7f605a456948c35260e7b2a39f8952a26f077fd25653c37740ed186b90aaa68a", size = 3480406 },
+ { url = "https://files.pythonhosted.org/packages/e5/c3/c80fcdb41905a2df650c2a3e0337198b6848876e63d66fe9188ef9003d24/sqlalchemy-2.0.49-cp314-cp314t-win32.whl", hash = "sha256:6270d717b11c5476b0cbb21eedc8d4dbb7d1a956fd6c15a23e96f197a6193158", size = 2149151 },
+ { url = "https://files.pythonhosted.org/packages/05/52/9f1a62feab6ed368aff068524ff414f26a6daebc7361861035ae00b05530/sqlalchemy-2.0.49-cp314-cp314t-win_amd64.whl", hash = "sha256:275424295f4256fd301744b8f335cff367825d270f155d522b30c7bf49903ee7", size = 2184178 },
+ { url = "https://files.pythonhosted.org/packages/e5/30/8519fdde58a7bdf155b714359791ad1dc018b47d60269d5d160d311fdc36/sqlalchemy-2.0.49-py3-none-any.whl", hash = "sha256:ec44cfa7ef1a728e88ad41674de50f6db8cfdb3e2af84af86e0041aaf02d43d0", size = 1942158 },
+]
+
+[[package]]
+name = "sqlalchemy-spanner"
+version = "1.17.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "alembic" },
+ { name = "google-cloud-spanner" },
+ { name = "sqlalchemy" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/6b/1c/c7d28d88e8dd9a67be006a40135f05cbdf5a0f5f79bc51bb692f54432cf1/sqlalchemy_spanner-1.17.3.tar.gz", hash = "sha256:ea829d8223c404f19f854c4c2dbf6bf2ee48fb1347caa258f03e88071f3afa22", size = 82842 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f3/43/cf21f3e70a8aa9e721fb557bd1459528906f0d9726b2ce642cd757fe592b/sqlalchemy_spanner-1.17.3-py3-none-any.whl", hash = "sha256:b0a13d2cae3bb0ee5aac898c44d22f56ec3edfc7780dd7d165d51f676590daf3", size = 31925 },
+]
+
+[[package]]
+name = "sqlparse"
+version = "0.5.5"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/90/76/437d71068094df0726366574cf3432a4ed754217b436eb7429415cf2d480/sqlparse-0.5.5.tar.gz", hash = "sha256:e20d4a9b0b8585fdf63b10d30066c7c94c5d7a7ec47c889a2d83a3caa93ff28e", size = 120815 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/49/4b/359f28a903c13438ef59ebeee215fb25da53066db67b305c125f1c6d2a25/sqlparse-0.5.5-py3-none-any.whl", hash = "sha256:12a08b3bf3eec877c519589833aed092e2444e68240a3577e8e26148acc7b1ba", size = 46138 },
+]
+
+[[package]]
+name = "sse-starlette"
+version = "3.3.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "starlette" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/26/8c/f9290339ef6d79badbc010f067cd769d6601ec11a57d78569c683fb4dd87/sse_starlette-3.3.4.tar.gz", hash = "sha256:aaf92fc067af8a5427192895ac028e947b484ac01edbc3caf00e7e7137c7bef1", size = 32427 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f8/7f/3de5402f39890ac5660b86bcf5c03f9d855dad5c4ed764866d7b592b46fd/sse_starlette-3.3.4-py3-none-any.whl", hash = "sha256:84bb06e58939a8b38d8341f1bc9792f06c2b53f48c608dd207582b664fc8f3c1", size = 14330 },
+]
+
+[[package]]
+name = "starlette"
+version = "0.52.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "typing-extensions", marker = "python_full_version < '3.13'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/c4/68/79977123bb7be889ad680d79a40f339082c1978b5cfcf62c2d8d196873ac/starlette-0.52.1.tar.gz", hash = "sha256:834edd1b0a23167694292e94f597773bc3f89f362be6effee198165a35d62933", size = 2653702 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/81/0d/13d1d239a25cbfb19e740db83143e95c772a1fe10202dda4b76792b114dd/starlette-0.52.1-py3-none-any.whl", hash = "sha256:0029d43eb3d273bc4f83a08720b4912ea4b071087a3b48db01b7c839f7954d74", size = 74272 },
+]
+
+[[package]]
+name = "sympy"
+version = "1.14.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "mpmath" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/83/d3/803453b36afefb7c2bb238361cd4ae6125a569b4db67cd9e79846ba2d68c/sympy-1.14.0.tar.gz", hash = "sha256:d3d3fe8df1e5a0b42f0e7bdf50541697dbe7d23746e894990c030e2b05e72517", size = 7793921 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a2/09/77d55d46fd61b4a135c444fc97158ef34a095e5681d0a6c10b75bf356191/sympy-1.14.0-py3-none-any.whl", hash = "sha256:e091cc3e99d2141a0ba2847328f5479b05d94a6635cb96148ccb3f34671bd8f5", size = 6299353 },
+]
+
+[[package]]
+name = "tenacity"
+version = "9.1.4"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/47/c6/ee486fd809e357697ee8a44d3d69222b344920433d3b6666ccd9b374630c/tenacity-9.1.4.tar.gz", hash = "sha256:adb31d4c263f2bd041081ab33b498309a57c77f9acf2db65aadf0898179cf93a", size = 49413 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d7/c1/eb8f9debc45d3b7918a32ab756658a0904732f75e555402972246b0b8e71/tenacity-9.1.4-py3-none-any.whl", hash = "sha256:6095a360c919085f28c6527de529e76a06ad89b23659fa881ae0649b867a9d55", size = 28926 },
+]
+
+[[package]]
+name = "tokenizers"
+version = "0.22.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "huggingface-hub" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/73/6f/f80cfef4a312e1fb34baf7d85c72d4411afde10978d4657f8cdd811d3ccc/tokenizers-0.22.2.tar.gz", hash = "sha256:473b83b915e547aa366d1eee11806deaf419e17be16310ac0a14077f1e28f917", size = 372115 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/92/97/5dbfabf04c7e348e655e907ed27913e03db0923abb5dfdd120d7b25630e1/tokenizers-0.22.2-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:544dd704ae7238755d790de45ba8da072e9af3eea688f698b137915ae959281c", size = 3100275 },
+ { url = "https://files.pythonhosted.org/packages/2e/47/174dca0502ef88b28f1c9e06b73ce33500eedfac7a7692108aec220464e7/tokenizers-0.22.2-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:1e418a55456beedca4621dbab65a318981467a2b188e982a23e117f115ce5001", size = 2981472 },
+ { url = "https://files.pythonhosted.org/packages/d6/84/7990e799f1309a8b87af6b948f31edaa12a3ed22d11b352eaf4f4b2e5753/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2249487018adec45d6e3554c71d46eb39fa8ea67156c640f7513eb26f318cec7", size = 3290736 },
+ { url = "https://files.pythonhosted.org/packages/78/59/09d0d9ba94dcd5f4f1368d4858d24546b4bdc0231c2354aa31d6199f0399/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:25b85325d0815e86e0bac263506dd114578953b7b53d7de09a6485e4a160a7dd", size = 3168835 },
+ { url = "https://files.pythonhosted.org/packages/47/50/b3ebb4243e7160bda8d34b731e54dd8ab8b133e50775872e7a434e524c28/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bfb88f22a209ff7b40a576d5324bf8286b519d7358663db21d6246fb17eea2d5", size = 3521673 },
+ { url = "https://files.pythonhosted.org/packages/e0/fa/89f4cb9e08df770b57adb96f8cbb7e22695a4cb6c2bd5f0c4f0ebcf33b66/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1c774b1276f71e1ef716e5486f21e76333464f47bece56bbd554485982a9e03e", size = 3724818 },
+ { url = "https://files.pythonhosted.org/packages/64/04/ca2363f0bfbe3b3d36e95bf67e56a4c88c8e3362b658e616d1ac185d47f2/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:df6c4265b289083bf710dff49bc51ef252f9d5be33a45ee2bed151114a56207b", size = 3379195 },
+ { url = "https://files.pythonhosted.org/packages/2e/76/932be4b50ef6ccedf9d3c6639b056a967a86258c6d9200643f01269211ca/tokenizers-0.22.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:369cc9fc8cc10cb24143873a0d95438bb8ee257bb80c71989e3ee290e8d72c67", size = 3274982 },
+ { url = "https://files.pythonhosted.org/packages/1d/28/5f9f5a4cc211b69e89420980e483831bcc29dade307955cc9dc858a40f01/tokenizers-0.22.2-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:29c30b83d8dcd061078b05ae0cb94d3c710555fbb44861139f9f83dcca3dc3e4", size = 9478245 },
+ { url = "https://files.pythonhosted.org/packages/6c/fb/66e2da4704d6aadebf8cb39f1d6d1957df667ab24cff2326b77cda0dcb85/tokenizers-0.22.2-cp39-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:37ae80a28c1d3265bb1f22464c856bd23c02a05bb211e56d0c5301a435be6c1a", size = 9560069 },
+ { url = "https://files.pythonhosted.org/packages/16/04/fed398b05caa87ce9b1a1bb5166645e38196081b225059a6edaff6440fac/tokenizers-0.22.2-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:791135ee325f2336f498590eb2f11dc5c295232f288e75c99a36c5dbce63088a", size = 9899263 },
+ { url = "https://files.pythonhosted.org/packages/05/a1/d62dfe7376beaaf1394917e0f8e93ee5f67fea8fcf4107501db35996586b/tokenizers-0.22.2-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:38337540fbbddff8e999d59970f3c6f35a82de10053206a7562f1ea02d046fa5", size = 10033429 },
+ { url = "https://files.pythonhosted.org/packages/fd/18/a545c4ea42af3df6effd7d13d250ba77a0a86fb20393143bbb9a92e434d4/tokenizers-0.22.2-cp39-abi3-win32.whl", hash = "sha256:a6bf3f88c554a2b653af81f3204491c818ae2ac6fbc09e76ef4773351292bc92", size = 2502363 },
+ { url = "https://files.pythonhosted.org/packages/65/71/0670843133a43d43070abeb1949abfdef12a86d490bea9cd9e18e37c5ff7/tokenizers-0.22.2-cp39-abi3-win_amd64.whl", hash = "sha256:c9ea31edff2968b44a88f97d784c2f16dc0729b8b143ed004699ebca91f05c48", size = 2747786 },
+ { url = "https://files.pythonhosted.org/packages/72/f4/0de46cfa12cdcbcd464cc59fde36912af405696f687e53a091fb432f694c/tokenizers-0.22.2-cp39-abi3-win_arm64.whl", hash = "sha256:9ce725d22864a1e965217204946f830c37876eee3b2ba6fc6255e8e903d5fcbc", size = 2612133 },
+]
+
+[[package]]
+name = "tqdm"
+version = "4.67.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/09/a9/6ba95a270c6f1fbcd8dac228323f2777d886cb206987444e4bce66338dd4/tqdm-4.67.3.tar.gz", hash = "sha256:7d825f03f89244ef73f1d4ce193cb1774a8179fd96f31d7e1dcde62092b960bb", size = 169598 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/16/e1/3079a9ff9b8e11b846c6ac5c8b5bfb7ff225eee721825310c91b3b50304f/tqdm-4.67.3-py3-none-any.whl", hash = "sha256:ee1e4c0e59148062281c49d80b25b67771a127c85fc9676d3be5f243206826bf", size = 78374 },
+]
+
+[[package]]
+name = "typer"
+version = "0.24.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "annotated-doc" },
+ { name = "click" },
+ { name = "rich" },
+ { name = "shellingham" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/f5/24/cb09efec5cc954f7f9b930bf8279447d24618bb6758d4f6adf2574c41780/typer-0.24.1.tar.gz", hash = "sha256:e39b4732d65fbdcde189ae76cf7cd48aeae72919dea1fdfc16593be016256b45", size = 118613 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/4a/91/48db081e7a63bb37284f9fbcefda7c44c277b18b0e13fbc36ea2335b71e6/typer-0.24.1-py3-none-any.whl", hash = "sha256:112c1f0ce578bfb4cab9ffdabc68f031416ebcc216536611ba21f04e9aa84c9e", size = 56085 },
+]
+
+[[package]]
+name = "typing-extensions"
+version = "4.15.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/72/94/1a15dd82efb362ac84269196e94cf00f187f7ed21c242792a923cdb1c61f/typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466", size = 109391 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl", hash = "sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548", size = 44614 },
+]
+
+[[package]]
+name = "typing-inspection"
+version = "0.4.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/55/e3/70399cb7dd41c10ac53367ae42139cf4b1ca5f36bb3dc6c9d33acdb43655/typing_inspection-0.4.2.tar.gz", hash = "sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464", size = 75949 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/dc/9b/47798a6c91d8bdb567fe2698fe81e0c6b7cb7ef4d13da4114b41d239f65d/typing_inspection-0.4.2-py3-none-any.whl", hash = "sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7", size = 14611 },
+]
+
+[[package]]
+name = "tzdata"
+version = "2026.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/19/f5/cd531b2d15a671a40c0f66cf06bc3570a12cd56eef98960068ebbad1bf5a/tzdata-2026.1.tar.gz", hash = "sha256:67658a1903c75917309e753fdc349ac0efd8c27db7a0cb406a25be4840f87f98", size = 197639 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b0/70/d460bd685a170790ec89317e9bd33047988e4bce507b831f5db771e142de/tzdata-2026.1-py2.py3-none-any.whl", hash = "sha256:4b1d2be7ac37ceafd7327b961aa3a54e467efbdb563a23655fbfe0d39cfc42a9", size = 348952 },
+]
+
+[[package]]
+name = "tzlocal"
+version = "5.3.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "tzdata", marker = "sys_platform == 'win32'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/8b/2e/c14812d3d4d9cd1773c6be938f89e5735a1f11a9f184ac3639b93cef35d5/tzlocal-5.3.1.tar.gz", hash = "sha256:cceffc7edecefea1f595541dbd6e990cb1ea3d19bf01b2809f362a03dd7921fd", size = 30761 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c2/14/e2a54fabd4f08cd7af1c07030603c3356b74da07f7cc056e600436edfa17/tzlocal-5.3.1-py3-none-any.whl", hash = "sha256:eb1a66c3ef5847adf7a834f1be0800581b683b5608e74f86ecbcef8ab91bb85d", size = 18026 },
+]
+
+[[package]]
+name = "uritemplate"
+version = "4.2.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/98/60/f174043244c5306c9988380d2cb10009f91563fc4b31293d27e17201af56/uritemplate-4.2.0.tar.gz", hash = "sha256:480c2ed180878955863323eea31b0ede668795de182617fef9c6ca09e6ec9d0e", size = 33267 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a9/99/3ae339466c9183ea5b8ae87b34c0b897eda475d2aec2307cae60e5cd4f29/uritemplate-4.2.0-py3-none-any.whl", hash = "sha256:962201ba1c4edcab02e60f9a0d3821e82dfc5d2d6662a21abd533879bdb8a686", size = 11488 },
+]
+
+[[package]]
+name = "urllib3"
+version = "2.6.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/c7/24/5f1b3bdffd70275f6661c76461e25f024d5a38a46f04aaca912426a2b1d3/urllib3-2.6.3.tar.gz", hash = "sha256:1b62b6884944a57dbe321509ab94fd4d3b307075e0c2eae991ac71ee15ad38ed", size = 435556 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/39/08/aaaad47bc4e9dc8c725e68f9d04865dbcb2052843ff09c97b08904852d84/urllib3-2.6.3-py3-none-any.whl", hash = "sha256:bf272323e553dfb2e87d9bfd225ca7b0f467b919d7bbd355436d3fd37cb0acd4", size = 131584 },
+]
+
+[[package]]
+name = "uvicorn"
+version = "0.44.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "click" },
+ { name = "h11" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/5e/da/6eee1ff8b6cbeed47eeb5229749168e81eb4b7b999a1a15a7176e51410c9/uvicorn-0.44.0.tar.gz", hash = "sha256:6c942071b68f07e178264b9152f1f16dfac5da85880c4ce06366a96d70d4f31e", size = 86947 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b7/23/a5bbd9600dd607411fa644c06ff4951bec3a4d82c4b852374024359c19c0/uvicorn-0.44.0-py3-none-any.whl", hash = "sha256:ce937c99a2cc70279556967274414c087888e8cec9f9c94644dfca11bd3ced89", size = 69425 },
+]
+
+[package.optional-dependencies]
+standard = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+ { name = "httptools" },
+ { name = "python-dotenv" },
+ { name = "pyyaml" },
+ { name = "uvloop", marker = "platform_python_implementation != 'PyPy' and sys_platform != 'cygwin' and sys_platform != 'win32'" },
+ { name = "watchfiles" },
+ { name = "websockets" },
+]
+
+[[package]]
+name = "uvloop"
+version = "0.22.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/06/f0/18d39dbd1971d6d62c4629cc7fa67f74821b0dc1f5a77af43719de7936a7/uvloop-0.22.1.tar.gz", hash = "sha256:6c84bae345b9147082b17371e3dd5d42775bddce91f885499017f4607fdaf39f", size = 2443250 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c7/d5/69900f7883235562f1f50d8184bb7dd84a2fb61e9ec63f3782546fdbd057/uvloop-0.22.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:c60ebcd36f7b240b30788554b6f0782454826a0ed765d8430652621b5de674b9", size = 1352420 },
+ { url = "https://files.pythonhosted.org/packages/a8/73/c4e271b3bce59724e291465cc936c37758886a4868787da0278b3b56b905/uvloop-0.22.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3b7f102bf3cb1995cfeaee9321105e8f5da76fdb104cdad8986f85461a1b7b77", size = 748677 },
+ { url = "https://files.pythonhosted.org/packages/86/94/9fb7fad2f824d25f8ecac0d70b94d0d48107ad5ece03769a9c543444f78a/uvloop-0.22.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:53c85520781d84a4b8b230e24a5af5b0778efdb39142b424990ff1ef7c48ba21", size = 3753819 },
+ { url = "https://files.pythonhosted.org/packages/74/4f/256aca690709e9b008b7108bc85fba619a2bc37c6d80743d18abad16ee09/uvloop-0.22.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:56a2d1fae65fd82197cb8c53c367310b3eabe1bbb9fb5a04d28e3e3520e4f702", size = 3804529 },
+ { url = "https://files.pythonhosted.org/packages/7f/74/03c05ae4737e871923d21a76fe28b6aad57f5c03b6e6bfcfa5ad616013e4/uvloop-0.22.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:40631b049d5972c6755b06d0bfe8233b1bd9a8a6392d9d1c45c10b6f9e9b2733", size = 3621267 },
+ { url = "https://files.pythonhosted.org/packages/75/be/f8e590fe61d18b4a92070905497aec4c0e64ae1761498cad09023f3f4b3e/uvloop-0.22.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:535cc37b3a04f6cd2c1ef65fa1d370c9a35b6695df735fcff5427323f2cd5473", size = 3723105 },
+ { url = "https://files.pythonhosted.org/packages/3d/ff/7f72e8170be527b4977b033239a83a68d5c881cc4775fca255c677f7ac5d/uvloop-0.22.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:fe94b4564e865d968414598eea1a6de60adba0c040ba4ed05ac1300de402cd42", size = 1359936 },
+ { url = "https://files.pythonhosted.org/packages/c3/c6/e5d433f88fd54d81ef4be58b2b7b0cea13c442454a1db703a1eea0db1a59/uvloop-0.22.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:51eb9bd88391483410daad430813d982010f9c9c89512321f5b60e2cddbdddd6", size = 752769 },
+ { url = "https://files.pythonhosted.org/packages/24/68/a6ac446820273e71aa762fa21cdcc09861edd3536ff47c5cd3b7afb10eeb/uvloop-0.22.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:700e674a166ca5778255e0e1dc4e9d79ab2acc57b9171b79e65feba7184b3370", size = 4317413 },
+ { url = "https://files.pythonhosted.org/packages/5f/6f/e62b4dfc7ad6518e7eff2516f680d02a0f6eb62c0c212e152ca708a0085e/uvloop-0.22.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7b5b1ac819a3f946d3b2ee07f09149578ae76066d70b44df3fa990add49a82e4", size = 4426307 },
+ { url = "https://files.pythonhosted.org/packages/90/60/97362554ac21e20e81bcef1150cb2a7e4ffdaf8ea1e5b2e8bf7a053caa18/uvloop-0.22.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e047cc068570bac9866237739607d1313b9253c3051ad84738cbb095be0537b2", size = 4131970 },
+ { url = "https://files.pythonhosted.org/packages/99/39/6b3f7d234ba3964c428a6e40006340f53ba37993f46ed6e111c6e9141d18/uvloop-0.22.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:512fec6815e2dd45161054592441ef76c830eddaad55c8aa30952e6fe1ed07c0", size = 4296343 },
+ { url = "https://files.pythonhosted.org/packages/89/8c/182a2a593195bfd39842ea68ebc084e20c850806117213f5a299dfc513d9/uvloop-0.22.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:561577354eb94200d75aca23fbde86ee11be36b00e52a4eaf8f50fb0c86b7705", size = 1358611 },
+ { url = "https://files.pythonhosted.org/packages/d2/14/e301ee96a6dc95224b6f1162cd3312f6d1217be3907b79173b06785f2fe7/uvloop-0.22.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:1cdf5192ab3e674ca26da2eada35b288d2fa49fdd0f357a19f0e7c4e7d5077c8", size = 751811 },
+ { url = "https://files.pythonhosted.org/packages/b7/02/654426ce265ac19e2980bfd9ea6590ca96a56f10c76e63801a2df01c0486/uvloop-0.22.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6e2ea3d6190a2968f4a14a23019d3b16870dd2190cd69c8180f7c632d21de68d", size = 4288562 },
+ { url = "https://files.pythonhosted.org/packages/15/c0/0be24758891ef825f2065cd5db8741aaddabe3e248ee6acc5e8a80f04005/uvloop-0.22.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0530a5fbad9c9e4ee3f2b33b148c6a64d47bbad8000ea63704fa8260f4cf728e", size = 4366890 },
+ { url = "https://files.pythonhosted.org/packages/d2/53/8369e5219a5855869bcee5f4d317f6da0e2c669aecf0ef7d371e3d084449/uvloop-0.22.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:bc5ef13bbc10b5335792360623cc378d52d7e62c2de64660616478c32cd0598e", size = 4119472 },
+ { url = "https://files.pythonhosted.org/packages/f8/ba/d69adbe699b768f6b29a5eec7b47dd610bd17a69de51b251126a801369ea/uvloop-0.22.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:1f38ec5e3f18c8a10ded09742f7fb8de0108796eb673f30ce7762ce1b8550cad", size = 4239051 },
+ { url = "https://files.pythonhosted.org/packages/90/cd/b62bdeaa429758aee8de8b00ac0dd26593a9de93d302bff3d21439e9791d/uvloop-0.22.1-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:3879b88423ec7e97cd4eba2a443aa26ed4e59b45e6b76aabf13fe2f27023a142", size = 1362067 },
+ { url = "https://files.pythonhosted.org/packages/0d/f8/a132124dfda0777e489ca86732e85e69afcd1ff7686647000050ba670689/uvloop-0.22.1-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:4baa86acedf1d62115c1dc6ad1e17134476688f08c6efd8a2ab076e815665c74", size = 752423 },
+ { url = "https://files.pythonhosted.org/packages/a3/94/94af78c156f88da4b3a733773ad5ba0b164393e357cc4bd0ab2e2677a7d6/uvloop-0.22.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:297c27d8003520596236bdb2335e6b3f649480bd09e00d1e3a99144b691d2a35", size = 4272437 },
+ { url = "https://files.pythonhosted.org/packages/b5/35/60249e9fd07b32c665192cec7af29e06c7cd96fa1d08b84f012a56a0b38e/uvloop-0.22.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c1955d5a1dd43198244d47664a5858082a3239766a839b2102a269aaff7a4e25", size = 4292101 },
+ { url = "https://files.pythonhosted.org/packages/02/62/67d382dfcb25d0a98ce73c11ed1a6fba5037a1a1d533dcbb7cab033a2636/uvloop-0.22.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:b31dc2fccbd42adc73bc4e7cdbae4fc5086cf378979e53ca5d0301838c5682c6", size = 4114158 },
+ { url = "https://files.pythonhosted.org/packages/f0/7a/f1171b4a882a5d13c8b7576f348acfe6074d72eaf52cccef752f748d4a9f/uvloop-0.22.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:93f617675b2d03af4e72a5333ef89450dfaa5321303ede6e67ba9c9d26878079", size = 4177360 },
+ { url = "https://files.pythonhosted.org/packages/79/7b/b01414f31546caf0919da80ad57cbfe24c56b151d12af68cee1b04922ca8/uvloop-0.22.1-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:37554f70528f60cad66945b885eb01f1bb514f132d92b6eeed1c90fd54ed6289", size = 1454790 },
+ { url = "https://files.pythonhosted.org/packages/d4/31/0bb232318dd838cad3fa8fb0c68c8b40e1145b32025581975e18b11fab40/uvloop-0.22.1-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:b76324e2dc033a0b2f435f33eb88ff9913c156ef78e153fb210e03c13da746b3", size = 796783 },
+ { url = "https://files.pythonhosted.org/packages/42/38/c9b09f3271a7a723a5de69f8e237ab8e7803183131bc57c890db0b6bb872/uvloop-0.22.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:badb4d8e58ee08dad957002027830d5c3b06aea446a6a3744483c2b3b745345c", size = 4647548 },
+ { url = "https://files.pythonhosted.org/packages/c1/37/945b4ca0ac27e3dc4952642d4c900edd030b3da6c9634875af6e13ae80e5/uvloop-0.22.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b91328c72635f6f9e0282e4a57da7470c7350ab1c9f48546c0f2866205349d21", size = 4467065 },
+ { url = "https://files.pythonhosted.org/packages/97/cc/48d232f33d60e2e2e0b42f4e73455b146b76ebe216487e862700457fbf3c/uvloop-0.22.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:daf620c2995d193449393d6c62131b3fbd40a63bf7b307a1527856ace637fe88", size = 4328384 },
+ { url = "https://files.pythonhosted.org/packages/e4/16/c1fd27e9549f3c4baf1dc9c20c456cd2f822dbf8de9f463824b0c0357e06/uvloop-0.22.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:6cde23eeda1a25c75b2e07d39970f3374105d5eafbaab2a4482be82f272d5a5e", size = 4296730 },
+]
+
+[[package]]
+name = "watchdog"
+version = "6.0.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/db/7d/7f3d619e951c88ed75c6037b246ddcf2d322812ee8ea189be89511721d54/watchdog-6.0.0.tar.gz", hash = "sha256:9ddf7c82fda3ae8e24decda1338ede66e1c99883db93711d8fb941eaa2d8c282", size = 131220 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e0/24/d9be5cd6642a6aa68352ded4b4b10fb0d7889cb7f45814fb92cecd35f101/watchdog-6.0.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:6eb11feb5a0d452ee41f824e271ca311a09e250441c262ca2fd7ebcf2461a06c", size = 96393 },
+ { url = "https://files.pythonhosted.org/packages/63/7a/6013b0d8dbc56adca7fdd4f0beed381c59f6752341b12fa0886fa7afc78b/watchdog-6.0.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:ef810fbf7b781a5a593894e4f439773830bdecb885e6880d957d5b9382a960d2", size = 88392 },
+ { url = "https://files.pythonhosted.org/packages/d1/40/b75381494851556de56281e053700e46bff5b37bf4c7267e858640af5a7f/watchdog-6.0.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:afd0fe1b2270917c5e23c2a65ce50c2a4abb63daafb0d419fde368e272a76b7c", size = 89019 },
+ { url = "https://files.pythonhosted.org/packages/39/ea/3930d07dafc9e286ed356a679aa02d777c06e9bfd1164fa7c19c288a5483/watchdog-6.0.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:bdd4e6f14b8b18c334febb9c4425a878a2ac20efd1e0b231978e7b150f92a948", size = 96471 },
+ { url = "https://files.pythonhosted.org/packages/12/87/48361531f70b1f87928b045df868a9fd4e253d9ae087fa4cf3f7113be363/watchdog-6.0.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c7c15dda13c4eb00d6fb6fc508b3c0ed88b9d5d374056b239c4ad1611125c860", size = 88449 },
+ { url = "https://files.pythonhosted.org/packages/5b/7e/8f322f5e600812e6f9a31b75d242631068ca8f4ef0582dd3ae6e72daecc8/watchdog-6.0.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6f10cb2d5902447c7d0da897e2c6768bca89174d0c6e1e30abec5421af97a5b0", size = 89054 },
+ { url = "https://files.pythonhosted.org/packages/68/98/b0345cabdce2041a01293ba483333582891a3bd5769b08eceb0d406056ef/watchdog-6.0.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:490ab2ef84f11129844c23fb14ecf30ef3d8a6abafd3754a6f75ca1e6654136c", size = 96480 },
+ { url = "https://files.pythonhosted.org/packages/85/83/cdf13902c626b28eedef7ec4f10745c52aad8a8fe7eb04ed7b1f111ca20e/watchdog-6.0.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:76aae96b00ae814b181bb25b1b98076d5fc84e8a53cd8885a318b42b6d3a5134", size = 88451 },
+ { url = "https://files.pythonhosted.org/packages/fe/c4/225c87bae08c8b9ec99030cd48ae9c4eca050a59bf5c2255853e18c87b50/watchdog-6.0.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a175f755fc2279e0b7312c0035d52e27211a5bc39719dd529625b1930917345b", size = 89057 },
+ { url = "https://files.pythonhosted.org/packages/a9/c7/ca4bf3e518cb57a686b2feb4f55a1892fd9a3dd13f470fca14e00f80ea36/watchdog-6.0.0-py3-none-manylinux2014_aarch64.whl", hash = "sha256:7607498efa04a3542ae3e05e64da8202e58159aa1fa4acddf7678d34a35d4f13", size = 79079 },
+ { url = "https://files.pythonhosted.org/packages/5c/51/d46dc9332f9a647593c947b4b88e2381c8dfc0942d15b8edc0310fa4abb1/watchdog-6.0.0-py3-none-manylinux2014_armv7l.whl", hash = "sha256:9041567ee8953024c83343288ccc458fd0a2d811d6a0fd68c4c22609e3490379", size = 79078 },
+ { url = "https://files.pythonhosted.org/packages/d4/57/04edbf5e169cd318d5f07b4766fee38e825d64b6913ca157ca32d1a42267/watchdog-6.0.0-py3-none-manylinux2014_i686.whl", hash = "sha256:82dc3e3143c7e38ec49d61af98d6558288c415eac98486a5c581726e0737c00e", size = 79076 },
+ { url = "https://files.pythonhosted.org/packages/ab/cc/da8422b300e13cb187d2203f20b9253e91058aaf7db65b74142013478e66/watchdog-6.0.0-py3-none-manylinux2014_ppc64.whl", hash = "sha256:212ac9b8bf1161dc91bd09c048048a95ca3a4c4f5e5d4a7d1b1a7d5752a7f96f", size = 79077 },
+ { url = "https://files.pythonhosted.org/packages/2c/3b/b8964e04ae1a025c44ba8e4291f86e97fac443bca31de8bd98d3263d2fcf/watchdog-6.0.0-py3-none-manylinux2014_ppc64le.whl", hash = "sha256:e3df4cbb9a450c6d49318f6d14f4bbc80d763fa587ba46ec86f99f9e6876bb26", size = 79078 },
+ { url = "https://files.pythonhosted.org/packages/62/ae/a696eb424bedff7407801c257d4b1afda455fe40821a2be430e173660e81/watchdog-6.0.0-py3-none-manylinux2014_s390x.whl", hash = "sha256:2cce7cfc2008eb51feb6aab51251fd79b85d9894e98ba847408f662b3395ca3c", size = 79077 },
+ { url = "https://files.pythonhosted.org/packages/b5/e8/dbf020b4d98251a9860752a094d09a65e1b436ad181faf929983f697048f/watchdog-6.0.0-py3-none-manylinux2014_x86_64.whl", hash = "sha256:20ffe5b202af80ab4266dcd3e91aae72bf2da48c0d33bdb15c66658e685e94e2", size = 79078 },
+ { url = "https://files.pythonhosted.org/packages/07/f6/d0e5b343768e8bcb4cda79f0f2f55051bf26177ecd5651f84c07567461cf/watchdog-6.0.0-py3-none-win32.whl", hash = "sha256:07df1fdd701c5d4c8e55ef6cf55b8f0120fe1aef7ef39a1c6fc6bc2e606d517a", size = 79065 },
+ { url = "https://files.pythonhosted.org/packages/db/d9/c495884c6e548fce18a8f40568ff120bc3a4b7b99813081c8ac0c936fa64/watchdog-6.0.0-py3-none-win_amd64.whl", hash = "sha256:cbafb470cf848d93b5d013e2ecb245d4aa1c8fd0504e863ccefa32445359d680", size = 79070 },
+ { url = "https://files.pythonhosted.org/packages/33/e8/e40370e6d74ddba47f002a32919d91310d6074130fe4e17dabcafc15cbf1/watchdog-6.0.0-py3-none-win_ia64.whl", hash = "sha256:a1914259fa9e1454315171103c6a30961236f508b9b623eae470268bbcc6a22f", size = 79067 },
+]
+
+[[package]]
+name = "watchfiles"
+version = "1.1.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/c2/c9/8869df9b2a2d6c59d79220a4db37679e74f807c559ffe5265e08b227a210/watchfiles-1.1.1.tar.gz", hash = "sha256:a173cb5c16c4f40ab19cecf48a534c409f7ea983ab8fed0741304a1c0a31b3f2", size = 94440 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1f/f8/2c5f479fb531ce2f0564eda479faecf253d886b1ab3630a39b7bf7362d46/watchfiles-1.1.1-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:f57b396167a2565a4e8b5e56a5a1c537571733992b226f4f1197d79e94cf0ae5", size = 406529 },
+ { url = "https://files.pythonhosted.org/packages/fe/cd/f515660b1f32f65df671ddf6f85bfaca621aee177712874dc30a97397977/watchfiles-1.1.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:421e29339983e1bebc281fab40d812742268ad057db4aee8c4d2bce0af43b741", size = 394384 },
+ { url = "https://files.pythonhosted.org/packages/7b/c3/28b7dc99733eab43fca2d10f55c86e03bd6ab11ca31b802abac26b23d161/watchfiles-1.1.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6e43d39a741e972bab5d8100b5cdacf69db64e34eb19b6e9af162bccf63c5cc6", size = 448789 },
+ { url = "https://files.pythonhosted.org/packages/4a/24/33e71113b320030011c8e4316ccca04194bf0cbbaeee207f00cbc7d6b9f5/watchfiles-1.1.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f537afb3276d12814082a2e9b242bdcf416c2e8fd9f799a737990a1dbe906e5b", size = 460521 },
+ { url = "https://files.pythonhosted.org/packages/f4/c3/3c9a55f255aa57b91579ae9e98c88704955fa9dac3e5614fb378291155df/watchfiles-1.1.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b2cd9e04277e756a2e2d2543d65d1e2166d6fd4c9b183f8808634fda23f17b14", size = 488722 },
+ { url = "https://files.pythonhosted.org/packages/49/36/506447b73eb46c120169dc1717fe2eff07c234bb3232a7200b5f5bd816e9/watchfiles-1.1.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5f3f58818dc0b07f7d9aa7fe9eb1037aecb9700e63e1f6acfed13e9fef648f5d", size = 596088 },
+ { url = "https://files.pythonhosted.org/packages/82/ab/5f39e752a9838ec4d52e9b87c1e80f1ee3ccdbe92e183c15b6577ab9de16/watchfiles-1.1.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9bb9f66367023ae783551042d31b1d7fd422e8289eedd91f26754a66f44d5cff", size = 472923 },
+ { url = "https://files.pythonhosted.org/packages/af/b9/a419292f05e302dea372fa7e6fda5178a92998411f8581b9830d28fb9edb/watchfiles-1.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:aebfd0861a83e6c3d1110b78ad54704486555246e542be3e2bb94195eabb2606", size = 456080 },
+ { url = "https://files.pythonhosted.org/packages/b0/c3/d5932fd62bde1a30c36e10c409dc5d54506726f08cb3e1d8d0ba5e2bc8db/watchfiles-1.1.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:5fac835b4ab3c6487b5dbad78c4b3724e26bcc468e886f8ba8cc4306f68f6701", size = 629432 },
+ { url = "https://files.pythonhosted.org/packages/f7/77/16bddd9779fafb795f1a94319dc965209c5641db5bf1edbbccace6d1b3c0/watchfiles-1.1.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:399600947b170270e80134ac854e21b3ccdefa11a9529a3decc1327088180f10", size = 623046 },
+ { url = "https://files.pythonhosted.org/packages/46/ef/f2ecb9a0f342b4bfad13a2787155c6ee7ce792140eac63a34676a2feeef2/watchfiles-1.1.1-cp311-cp311-win32.whl", hash = "sha256:de6da501c883f58ad50db3a32ad397b09ad29865b5f26f64c24d3e3281685849", size = 271473 },
+ { url = "https://files.pythonhosted.org/packages/94/bc/f42d71125f19731ea435c3948cad148d31a64fccde3867e5ba4edee901f9/watchfiles-1.1.1-cp311-cp311-win_amd64.whl", hash = "sha256:35c53bd62a0b885bf653ebf6b700d1bf05debb78ad9292cf2a942b23513dc4c4", size = 287598 },
+ { url = "https://files.pythonhosted.org/packages/57/c9/a30f897351f95bbbfb6abcadafbaca711ce1162f4db95fc908c98a9165f3/watchfiles-1.1.1-cp311-cp311-win_arm64.whl", hash = "sha256:57ca5281a8b5e27593cb7d82c2ac927ad88a96ed406aa446f6344e4328208e9e", size = 277210 },
+ { url = "https://files.pythonhosted.org/packages/74/d5/f039e7e3c639d9b1d09b07ea412a6806d38123f0508e5f9b48a87b0a76cc/watchfiles-1.1.1-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:8c89f9f2f740a6b7dcc753140dd5e1ab9215966f7a3530d0c0705c83b401bd7d", size = 404745 },
+ { url = "https://files.pythonhosted.org/packages/a5/96/a881a13aa1349827490dab2d363c8039527060cfcc2c92cc6d13d1b1049e/watchfiles-1.1.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:bd404be08018c37350f0d6e34676bd1e2889990117a2b90070b3007f172d0610", size = 391769 },
+ { url = "https://files.pythonhosted.org/packages/4b/5b/d3b460364aeb8da471c1989238ea0e56bec24b6042a68046adf3d9ddb01c/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8526e8f916bb5b9a0a777c8317c23ce65de259422bba5b31325a6fa6029d33af", size = 449374 },
+ { url = "https://files.pythonhosted.org/packages/b9/44/5769cb62d4ed055cb17417c0a109a92f007114a4e07f30812a73a4efdb11/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:2edc3553362b1c38d9f06242416a5d8e9fe235c204a4072e988ce2e5bb1f69f6", size = 459485 },
+ { url = "https://files.pythonhosted.org/packages/19/0c/286b6301ded2eccd4ffd0041a1b726afda999926cf720aab63adb68a1e36/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:30f7da3fb3f2844259cba4720c3fc7138eb0f7b659c38f3bfa65084c7fc7abce", size = 488813 },
+ { url = "https://files.pythonhosted.org/packages/c7/2b/8530ed41112dd4a22f4dcfdb5ccf6a1baad1ff6eed8dc5a5f09e7e8c41c7/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f8979280bdafff686ba5e4d8f97840f929a87ed9cdf133cbbd42f7766774d2aa", size = 594816 },
+ { url = "https://files.pythonhosted.org/packages/ce/d2/f5f9fb49489f184f18470d4f99f4e862a4b3e9ac2865688eb2099e3d837a/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dcc5c24523771db3a294c77d94771abcfcb82a0e0ee8efd910c37c59ec1b31bb", size = 475186 },
+ { url = "https://files.pythonhosted.org/packages/cf/68/5707da262a119fb06fbe214d82dd1fe4a6f4af32d2d14de368d0349eb52a/watchfiles-1.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1db5d7ae38ff20153d542460752ff397fcf5c96090c1230803713cf3147a6803", size = 456812 },
+ { url = "https://files.pythonhosted.org/packages/66/ab/3cbb8756323e8f9b6f9acb9ef4ec26d42b2109bce830cc1f3468df20511d/watchfiles-1.1.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:28475ddbde92df1874b6c5c8aaeb24ad5be47a11f87cde5a28ef3835932e3e94", size = 630196 },
+ { url = "https://files.pythonhosted.org/packages/78/46/7152ec29b8335f80167928944a94955015a345440f524d2dfe63fc2f437b/watchfiles-1.1.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:36193ed342f5b9842edd3532729a2ad55c4160ffcfa3700e0d54be496b70dd43", size = 622657 },
+ { url = "https://files.pythonhosted.org/packages/0a/bf/95895e78dd75efe9a7f31733607f384b42eb5feb54bd2eb6ed57cc2e94f4/watchfiles-1.1.1-cp312-cp312-win32.whl", hash = "sha256:859e43a1951717cc8de7f4c77674a6d389b106361585951d9e69572823f311d9", size = 272042 },
+ { url = "https://files.pythonhosted.org/packages/87/0a/90eb755f568de2688cb220171c4191df932232c20946966c27a59c400850/watchfiles-1.1.1-cp312-cp312-win_amd64.whl", hash = "sha256:91d4c9a823a8c987cce8fa2690923b069966dabb196dd8d137ea2cede885fde9", size = 288410 },
+ { url = "https://files.pythonhosted.org/packages/36/76/f322701530586922fbd6723c4f91ace21364924822a8772c549483abed13/watchfiles-1.1.1-cp312-cp312-win_arm64.whl", hash = "sha256:a625815d4a2bdca61953dbba5a39d60164451ef34c88d751f6c368c3ea73d404", size = 278209 },
+ { url = "https://files.pythonhosted.org/packages/bb/f4/f750b29225fe77139f7ae5de89d4949f5a99f934c65a1f1c0b248f26f747/watchfiles-1.1.1-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:130e4876309e8686a5e37dba7d5e9bc77e6ed908266996ca26572437a5271e18", size = 404321 },
+ { url = "https://files.pythonhosted.org/packages/2b/f9/f07a295cde762644aa4c4bb0f88921d2d141af45e735b965fb2e87858328/watchfiles-1.1.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:5f3bde70f157f84ece3765b42b4a52c6ac1a50334903c6eaf765362f6ccca88a", size = 391783 },
+ { url = "https://files.pythonhosted.org/packages/bc/11/fc2502457e0bea39a5c958d86d2cb69e407a4d00b85735ca724bfa6e0d1a/watchfiles-1.1.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:14e0b1fe858430fc0251737ef3824c54027bedb8c37c38114488b8e131cf8219", size = 449279 },
+ { url = "https://files.pythonhosted.org/packages/e3/1f/d66bc15ea0b728df3ed96a539c777acfcad0eb78555ad9efcaa1274688f0/watchfiles-1.1.1-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f27db948078f3823a6bb3b465180db8ebecf26dd5dae6f6180bd87383b6b4428", size = 459405 },
+ { url = "https://files.pythonhosted.org/packages/be/90/9f4a65c0aec3ccf032703e6db02d89a157462fbb2cf20dd415128251cac0/watchfiles-1.1.1-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:059098c3a429f62fc98e8ec62b982230ef2c8df68c79e826e37b895bc359a9c0", size = 488976 },
+ { url = "https://files.pythonhosted.org/packages/37/57/ee347af605d867f712be7029bb94c8c071732a4b44792e3176fa3c612d39/watchfiles-1.1.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bfb5862016acc9b869bb57284e6cb35fdf8e22fe59f7548858e2f971d045f150", size = 595506 },
+ { url = "https://files.pythonhosted.org/packages/a8/78/cc5ab0b86c122047f75e8fc471c67a04dee395daf847d3e59381996c8707/watchfiles-1.1.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:319b27255aacd9923b8a276bb14d21a5f7ff82564c744235fc5eae58d95422ae", size = 474936 },
+ { url = "https://files.pythonhosted.org/packages/62/da/def65b170a3815af7bd40a3e7010bf6ab53089ef1b75d05dd5385b87cf08/watchfiles-1.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c755367e51db90e75b19454b680903631d41f9e3607fbd941d296a020c2d752d", size = 456147 },
+ { url = "https://files.pythonhosted.org/packages/57/99/da6573ba71166e82d288d4df0839128004c67d2778d3b566c138695f5c0b/watchfiles-1.1.1-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:c22c776292a23bfc7237a98f791b9ad3144b02116ff10d820829ce62dff46d0b", size = 630007 },
+ { url = "https://files.pythonhosted.org/packages/a8/51/7439c4dd39511368849eb1e53279cd3454b4a4dbace80bab88feeb83c6b5/watchfiles-1.1.1-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:3a476189be23c3686bc2f4321dd501cb329c0a0469e77b7b534ee10129ae6374", size = 622280 },
+ { url = "https://files.pythonhosted.org/packages/95/9c/8ed97d4bba5db6fdcdb2b298d3898f2dd5c20f6b73aee04eabe56c59677e/watchfiles-1.1.1-cp313-cp313-win32.whl", hash = "sha256:bf0a91bfb5574a2f7fc223cf95eeea79abfefa404bf1ea5e339c0c1560ae99a0", size = 272056 },
+ { url = "https://files.pythonhosted.org/packages/1f/f3/c14e28429f744a260d8ceae18bf58c1d5fa56b50d006a7a9f80e1882cb0d/watchfiles-1.1.1-cp313-cp313-win_amd64.whl", hash = "sha256:52e06553899e11e8074503c8e716d574adeeb7e68913115c4b3653c53f9bae42", size = 288162 },
+ { url = "https://files.pythonhosted.org/packages/dc/61/fe0e56c40d5cd29523e398d31153218718c5786b5e636d9ae8ae79453d27/watchfiles-1.1.1-cp313-cp313-win_arm64.whl", hash = "sha256:ac3cc5759570cd02662b15fbcd9d917f7ecd47efe0d6b40474eafd246f91ea18", size = 277909 },
+ { url = "https://files.pythonhosted.org/packages/79/42/e0a7d749626f1e28c7108a99fb9bf524b501bbbeb9b261ceecde644d5a07/watchfiles-1.1.1-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:563b116874a9a7ce6f96f87cd0b94f7faf92d08d0021e837796f0a14318ef8da", size = 403389 },
+ { url = "https://files.pythonhosted.org/packages/15/49/08732f90ce0fbbc13913f9f215c689cfc9ced345fb1bcd8829a50007cc8d/watchfiles-1.1.1-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:3ad9fe1dae4ab4212d8c91e80b832425e24f421703b5a42ef2e4a1e215aff051", size = 389964 },
+ { url = "https://files.pythonhosted.org/packages/27/0d/7c315d4bd5f2538910491a0393c56bf70d333d51bc5b34bee8e68e8cea19/watchfiles-1.1.1-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ce70f96a46b894b36eba678f153f052967a0d06d5b5a19b336ab0dbbd029f73e", size = 448114 },
+ { url = "https://files.pythonhosted.org/packages/c3/24/9e096de47a4d11bc4df41e9d1e61776393eac4cb6eb11b3e23315b78b2cc/watchfiles-1.1.1-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:cb467c999c2eff23a6417e58d75e5828716f42ed8289fe6b77a7e5a91036ca70", size = 460264 },
+ { url = "https://files.pythonhosted.org/packages/cc/0f/e8dea6375f1d3ba5fcb0b3583e2b493e77379834c74fd5a22d66d85d6540/watchfiles-1.1.1-cp313-cp313t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:836398932192dae4146c8f6f737d74baeac8b70ce14831a239bdb1ca882fc261", size = 487877 },
+ { url = "https://files.pythonhosted.org/packages/ac/5b/df24cfc6424a12deb41503b64d42fbea6b8cb357ec62ca84a5a3476f654a/watchfiles-1.1.1-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:743185e7372b7bc7c389e1badcc606931a827112fbbd37f14c537320fca08620", size = 595176 },
+ { url = "https://files.pythonhosted.org/packages/8f/b5/853b6757f7347de4e9b37e8cc3289283fb983cba1ab4d2d7144694871d9c/watchfiles-1.1.1-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:afaeff7696e0ad9f02cbb8f56365ff4686ab205fcf9c4c5b6fdfaaa16549dd04", size = 473577 },
+ { url = "https://files.pythonhosted.org/packages/e1/f7/0a4467be0a56e80447c8529c9fce5b38eab4f513cb3d9bf82e7392a5696b/watchfiles-1.1.1-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3f7eb7da0eb23aa2ba036d4f616d46906013a68caf61b7fdbe42fc8b25132e77", size = 455425 },
+ { url = "https://files.pythonhosted.org/packages/8e/e0/82583485ea00137ddf69bc84a2db88bd92ab4a6e3c405e5fb878ead8d0e7/watchfiles-1.1.1-cp313-cp313t-musllinux_1_1_aarch64.whl", hash = "sha256:831a62658609f0e5c64178211c942ace999517f5770fe9436be4c2faeba0c0ef", size = 628826 },
+ { url = "https://files.pythonhosted.org/packages/28/9a/a785356fccf9fae84c0cc90570f11702ae9571036fb25932f1242c82191c/watchfiles-1.1.1-cp313-cp313t-musllinux_1_1_x86_64.whl", hash = "sha256:f9a2ae5c91cecc9edd47e041a930490c31c3afb1f5e6d71de3dc671bfaca02bf", size = 622208 },
+ { url = "https://files.pythonhosted.org/packages/c3/f4/0872229324ef69b2c3edec35e84bd57a1289e7d3fe74588048ed8947a323/watchfiles-1.1.1-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:d1715143123baeeaeadec0528bb7441103979a1d5f6fd0e1f915383fea7ea6d5", size = 404315 },
+ { url = "https://files.pythonhosted.org/packages/7b/22/16d5331eaed1cb107b873f6ae1b69e9ced582fcf0c59a50cd84f403b1c32/watchfiles-1.1.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:39574d6370c4579d7f5d0ad940ce5b20db0e4117444e39b6d8f99db5676c52fd", size = 390869 },
+ { url = "https://files.pythonhosted.org/packages/b2/7e/5643bfff5acb6539b18483128fdc0ef2cccc94a5b8fbda130c823e8ed636/watchfiles-1.1.1-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7365b92c2e69ee952902e8f70f3ba6360d0d596d9299d55d7d386df84b6941fb", size = 449919 },
+ { url = "https://files.pythonhosted.org/packages/51/2e/c410993ba5025a9f9357c376f48976ef0e1b1aefb73b97a5ae01a5972755/watchfiles-1.1.1-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:bfff9740c69c0e4ed32416f013f3c45e2ae42ccedd1167ef2d805c000b6c71a5", size = 460845 },
+ { url = "https://files.pythonhosted.org/packages/8e/a4/2df3b404469122e8680f0fcd06079317e48db58a2da2950fb45020947734/watchfiles-1.1.1-cp314-cp314-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b27cf2eb1dda37b2089e3907d8ea92922b673c0c427886d4edc6b94d8dfe5db3", size = 489027 },
+ { url = "https://files.pythonhosted.org/packages/ea/84/4587ba5b1f267167ee715b7f66e6382cca6938e0a4b870adad93e44747e6/watchfiles-1.1.1-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:526e86aced14a65a5b0ec50827c745597c782ff46b571dbfe46192ab9e0b3c33", size = 595615 },
+ { url = "https://files.pythonhosted.org/packages/6a/0f/c6988c91d06e93cd0bb3d4a808bcf32375ca1904609835c3031799e3ecae/watchfiles-1.1.1-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:04e78dd0b6352db95507fd8cb46f39d185cf8c74e4cf1e4fbad1d3df96faf510", size = 474836 },
+ { url = "https://files.pythonhosted.org/packages/b4/36/ded8aebea91919485b7bbabbd14f5f359326cb5ec218cd67074d1e426d74/watchfiles-1.1.1-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5c85794a4cfa094714fb9c08d4a218375b2b95b8ed1666e8677c349906246c05", size = 455099 },
+ { url = "https://files.pythonhosted.org/packages/98/e0/8c9bdba88af756a2fce230dd365fab2baf927ba42cd47521ee7498fd5211/watchfiles-1.1.1-cp314-cp314-musllinux_1_1_aarch64.whl", hash = "sha256:74d5012b7630714b66be7b7b7a78855ef7ad58e8650c73afc4c076a1f480a8d6", size = 630626 },
+ { url = "https://files.pythonhosted.org/packages/2a/84/a95db05354bf2d19e438520d92a8ca475e578c647f78f53197f5a2f17aaf/watchfiles-1.1.1-cp314-cp314-musllinux_1_1_x86_64.whl", hash = "sha256:8fbe85cb3201c7d380d3d0b90e63d520f15d6afe217165d7f98c9c649654db81", size = 622519 },
+ { url = "https://files.pythonhosted.org/packages/1d/ce/d8acdc8de545de995c339be67711e474c77d643555a9bb74a9334252bd55/watchfiles-1.1.1-cp314-cp314-win32.whl", hash = "sha256:3fa0b59c92278b5a7800d3ee7733da9d096d4aabcfabb9a928918bd276ef9b9b", size = 272078 },
+ { url = "https://files.pythonhosted.org/packages/c4/c9/a74487f72d0451524be827e8edec251da0cc1fcf111646a511ae752e1a3d/watchfiles-1.1.1-cp314-cp314-win_amd64.whl", hash = "sha256:c2047d0b6cea13b3316bdbafbfa0c4228ae593d995030fda39089d36e64fc03a", size = 287664 },
+ { url = "https://files.pythonhosted.org/packages/df/b8/8ac000702cdd496cdce998c6f4ee0ca1f15977bba51bdf07d872ebdfc34c/watchfiles-1.1.1-cp314-cp314-win_arm64.whl", hash = "sha256:842178b126593addc05acf6fce960d28bc5fae7afbaa2c6c1b3a7b9460e5be02", size = 277154 },
+ { url = "https://files.pythonhosted.org/packages/47/a8/e3af2184707c29f0f14b1963c0aace6529f9d1b8582d5b99f31bbf42f59e/watchfiles-1.1.1-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:88863fbbc1a7312972f1c511f202eb30866370ebb8493aef2812b9ff28156a21", size = 403820 },
+ { url = "https://files.pythonhosted.org/packages/c0/ec/e47e307c2f4bd75f9f9e8afbe3876679b18e1bcec449beca132a1c5ffb2d/watchfiles-1.1.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:55c7475190662e202c08c6c0f4d9e345a29367438cf8e8037f3155e10a88d5a5", size = 390510 },
+ { url = "https://files.pythonhosted.org/packages/d5/a0/ad235642118090f66e7b2f18fd5c42082418404a79205cdfca50b6309c13/watchfiles-1.1.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3f53fa183d53a1d7a8852277c92b967ae99c2d4dcee2bfacff8868e6e30b15f7", size = 448408 },
+ { url = "https://files.pythonhosted.org/packages/df/85/97fa10fd5ff3332ae17e7e40e20784e419e28521549780869f1413742e9d/watchfiles-1.1.1-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:6aae418a8b323732fa89721d86f39ec8f092fc2af67f4217a2b07fd3e93c6101", size = 458968 },
+ { url = "https://files.pythonhosted.org/packages/47/c2/9059c2e8966ea5ce678166617a7f75ecba6164375f3b288e50a40dc6d489/watchfiles-1.1.1-cp314-cp314t-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f096076119da54a6080e8920cbdaac3dbee667eb91dcc5e5b78840b87415bd44", size = 488096 },
+ { url = "https://files.pythonhosted.org/packages/94/44/d90a9ec8ac309bc26db808a13e7bfc0e4e78b6fc051078a554e132e80160/watchfiles-1.1.1-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:00485f441d183717038ed2e887a7c868154f216877653121068107b227a2f64c", size = 596040 },
+ { url = "https://files.pythonhosted.org/packages/95/68/4e3479b20ca305cfc561db3ed207a8a1c745ee32bf24f2026a129d0ddb6e/watchfiles-1.1.1-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a55f3e9e493158d7bfdb60a1165035f1cf7d320914e7b7ea83fe22c6023b58fc", size = 473847 },
+ { url = "https://files.pythonhosted.org/packages/4f/55/2af26693fd15165c4ff7857e38330e1b61ab8c37d15dc79118cdba115b7a/watchfiles-1.1.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8c91ed27800188c2ae96d16e3149f199d62f86c7af5f5f4d2c61a3ed8cd3666c", size = 455072 },
+ { url = "https://files.pythonhosted.org/packages/66/1d/d0d200b10c9311ec25d2273f8aad8c3ef7cc7ea11808022501811208a750/watchfiles-1.1.1-cp314-cp314t-musllinux_1_1_aarch64.whl", hash = "sha256:311ff15a0bae3714ffb603e6ba6dbfba4065ab60865d15a6ec544133bdb21099", size = 629104 },
+ { url = "https://files.pythonhosted.org/packages/e3/bd/fa9bb053192491b3867ba07d2343d9f2252e00811567d30ae8d0f78136fe/watchfiles-1.1.1-cp314-cp314t-musllinux_1_1_x86_64.whl", hash = "sha256:a916a2932da8f8ab582f242c065f5c81bed3462849ca79ee357dd9551b0e9b01", size = 622112 },
+ { url = "https://files.pythonhosted.org/packages/d3/8e/e500f8b0b77be4ff753ac94dc06b33d8f0d839377fee1b78e8c8d8f031bf/watchfiles-1.1.1-pp311-pypy311_pp73-macosx_10_12_x86_64.whl", hash = "sha256:db476ab59b6765134de1d4fe96a1a9c96ddf091683599be0f26147ea1b2e4b88", size = 408250 },
+ { url = "https://files.pythonhosted.org/packages/bd/95/615e72cd27b85b61eec764a5ca51bd94d40b5adea5ff47567d9ebc4d275a/watchfiles-1.1.1-pp311-pypy311_pp73-macosx_11_0_arm64.whl", hash = "sha256:89eef07eee5e9d1fda06e38822ad167a044153457e6fd997f8a858ab7564a336", size = 396117 },
+ { url = "https://files.pythonhosted.org/packages/c9/81/e7fe958ce8a7fb5c73cc9fb07f5aeaf755e6aa72498c57d760af760c91f8/watchfiles-1.1.1-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ce19e06cbda693e9e7686358af9cd6f5d61312ab8b00488bc36f5aabbaf77e24", size = 450493 },
+ { url = "https://files.pythonhosted.org/packages/6e/d4/ed38dd3b1767193de971e694aa544356e63353c33a85d948166b5ff58b9e/watchfiles-1.1.1-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3e6f39af2eab0118338902798b5aa6664f46ff66bc0280de76fca67a7f262a49", size = 457546 },
+]
+
+[[package]]
+name = "websockets"
+version = "15.0.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/21/e6/26d09fab466b7ca9c7737474c52be4f76a40301b08362eb2dbc19dcc16c1/websockets-15.0.1.tar.gz", hash = "sha256:82544de02076bafba038ce055ee6412d68da13ab47f0c60cab827346de828dee", size = 177016 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9f/32/18fcd5919c293a398db67443acd33fde142f283853076049824fc58e6f75/websockets-15.0.1-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:823c248b690b2fd9303ba00c4f66cd5e2d8c3ba4aa968b2779be9532a4dad431", size = 175423 },
+ { url = "https://files.pythonhosted.org/packages/76/70/ba1ad96b07869275ef42e2ce21f07a5b0148936688c2baf7e4a1f60d5058/websockets-15.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678999709e68425ae2593acf2e3ebcbcf2e69885a5ee78f9eb80e6e371f1bf57", size = 173082 },
+ { url = "https://files.pythonhosted.org/packages/86/f2/10b55821dd40eb696ce4704a87d57774696f9451108cff0d2824c97e0f97/websockets-15.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d50fd1ee42388dcfb2b3676132c78116490976f1300da28eb629272d5d93e905", size = 173330 },
+ { url = "https://files.pythonhosted.org/packages/a5/90/1c37ae8b8a113d3daf1065222b6af61cc44102da95388ac0018fcb7d93d9/websockets-15.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d99e5546bf73dbad5bf3547174cd6cb8ba7273062a23808ffea025ecb1cf8562", size = 182878 },
+ { url = "https://files.pythonhosted.org/packages/8e/8d/96e8e288b2a41dffafb78e8904ea7367ee4f891dafc2ab8d87e2124cb3d3/websockets-15.0.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:66dd88c918e3287efc22409d426c8f729688d89a0c587c88971a0faa2c2f3792", size = 181883 },
+ { url = "https://files.pythonhosted.org/packages/93/1f/5d6dbf551766308f6f50f8baf8e9860be6182911e8106da7a7f73785f4c4/websockets-15.0.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8dd8327c795b3e3f219760fa603dcae1dcc148172290a8ab15158cf85a953413", size = 182252 },
+ { url = "https://files.pythonhosted.org/packages/d4/78/2d4fed9123e6620cbf1706c0de8a1632e1a28e7774d94346d7de1bba2ca3/websockets-15.0.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:8fdc51055e6ff4adeb88d58a11042ec9a5eae317a0a53d12c062c8a8865909e8", size = 182521 },
+ { url = "https://files.pythonhosted.org/packages/e7/3b/66d4c1b444dd1a9823c4a81f50231b921bab54eee2f69e70319b4e21f1ca/websockets-15.0.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:693f0192126df6c2327cce3baa7c06f2a117575e32ab2308f7f8216c29d9e2e3", size = 181958 },
+ { url = "https://files.pythonhosted.org/packages/08/ff/e9eed2ee5fed6f76fdd6032ca5cd38c57ca9661430bb3d5fb2872dc8703c/websockets-15.0.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:54479983bd5fb469c38f2f5c7e3a24f9a4e70594cd68cd1fa6b9340dadaff7cf", size = 181918 },
+ { url = "https://files.pythonhosted.org/packages/d8/75/994634a49b7e12532be6a42103597b71098fd25900f7437d6055ed39930a/websockets-15.0.1-cp311-cp311-win32.whl", hash = "sha256:16b6c1b3e57799b9d38427dda63edcbe4926352c47cf88588c0be4ace18dac85", size = 176388 },
+ { url = "https://files.pythonhosted.org/packages/98/93/e36c73f78400a65f5e236cd376713c34182e6663f6889cd45a4a04d8f203/websockets-15.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:27ccee0071a0e75d22cb35849b1db43f2ecd3e161041ac1ee9d2352ddf72f065", size = 176828 },
+ { url = "https://files.pythonhosted.org/packages/51/6b/4545a0d843594f5d0771e86463606a3988b5a09ca5123136f8a76580dd63/websockets-15.0.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:3e90baa811a5d73f3ca0bcbf32064d663ed81318ab225ee4f427ad4e26e5aff3", size = 175437 },
+ { url = "https://files.pythonhosted.org/packages/f4/71/809a0f5f6a06522af902e0f2ea2757f71ead94610010cf570ab5c98e99ed/websockets-15.0.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:592f1a9fe869c778694f0aa806ba0374e97648ab57936f092fd9d87f8bc03665", size = 173096 },
+ { url = "https://files.pythonhosted.org/packages/3d/69/1a681dd6f02180916f116894181eab8b2e25b31e484c5d0eae637ec01f7c/websockets-15.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0701bc3cfcb9164d04a14b149fd74be7347a530ad3bbf15ab2c678a2cd3dd9a2", size = 173332 },
+ { url = "https://files.pythonhosted.org/packages/a6/02/0073b3952f5bce97eafbb35757f8d0d54812b6174ed8dd952aa08429bcc3/websockets-15.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e8b56bdcdb4505c8078cb6c7157d9811a85790f2f2b3632c7d1462ab5783d215", size = 183152 },
+ { url = "https://files.pythonhosted.org/packages/74/45/c205c8480eafd114b428284840da0b1be9ffd0e4f87338dc95dc6ff961a1/websockets-15.0.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0af68c55afbd5f07986df82831c7bff04846928ea8d1fd7f30052638788bc9b5", size = 182096 },
+ { url = "https://files.pythonhosted.org/packages/14/8f/aa61f528fba38578ec553c145857a181384c72b98156f858ca5c8e82d9d3/websockets-15.0.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:64dee438fed052b52e4f98f76c5790513235efaa1ef7f3f2192c392cd7c91b65", size = 182523 },
+ { url = "https://files.pythonhosted.org/packages/ec/6d/0267396610add5bc0d0d3e77f546d4cd287200804fe02323797de77dbce9/websockets-15.0.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:d5f6b181bb38171a8ad1d6aa58a67a6aa9d4b38d0f8c5f496b9e42561dfc62fe", size = 182790 },
+ { url = "https://files.pythonhosted.org/packages/02/05/c68c5adbf679cf610ae2f74a9b871ae84564462955d991178f95a1ddb7dd/websockets-15.0.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:5d54b09eba2bada6011aea5375542a157637b91029687eb4fdb2dab11059c1b4", size = 182165 },
+ { url = "https://files.pythonhosted.org/packages/29/93/bb672df7b2f5faac89761cb5fa34f5cec45a4026c383a4b5761c6cea5c16/websockets-15.0.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3be571a8b5afed347da347bfcf27ba12b069d9d7f42cb8c7028b5e98bbb12597", size = 182160 },
+ { url = "https://files.pythonhosted.org/packages/ff/83/de1f7709376dc3ca9b7eeb4b9a07b4526b14876b6d372a4dc62312bebee0/websockets-15.0.1-cp312-cp312-win32.whl", hash = "sha256:c338ffa0520bdb12fbc527265235639fb76e7bc7faafbb93f6ba80d9c06578a9", size = 176395 },
+ { url = "https://files.pythonhosted.org/packages/7d/71/abf2ebc3bbfa40f391ce1428c7168fb20582d0ff57019b69ea20fa698043/websockets-15.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:fcd5cf9e305d7b8338754470cf69cf81f420459dbae8a3b40cee57417f4614a7", size = 176841 },
+ { url = "https://files.pythonhosted.org/packages/cb/9f/51f0cf64471a9d2b4d0fc6c534f323b664e7095640c34562f5182e5a7195/websockets-15.0.1-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:ee443ef070bb3b6ed74514f5efaa37a252af57c90eb33b956d35c8e9c10a1931", size = 175440 },
+ { url = "https://files.pythonhosted.org/packages/8a/05/aa116ec9943c718905997412c5989f7ed671bc0188ee2ba89520e8765d7b/websockets-15.0.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5a939de6b7b4e18ca683218320fc67ea886038265fd1ed30173f5ce3f8e85675", size = 173098 },
+ { url = "https://files.pythonhosted.org/packages/ff/0b/33cef55ff24f2d92924923c99926dcce78e7bd922d649467f0eda8368923/websockets-15.0.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:746ee8dba912cd6fc889a8147168991d50ed70447bf18bcda7039f7d2e3d9151", size = 173329 },
+ { url = "https://files.pythonhosted.org/packages/31/1d/063b25dcc01faa8fada1469bdf769de3768b7044eac9d41f734fd7b6ad6d/websockets-15.0.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:595b6c3969023ecf9041b2936ac3827e4623bfa3ccf007575f04c5a6aa318c22", size = 183111 },
+ { url = "https://files.pythonhosted.org/packages/93/53/9a87ee494a51bf63e4ec9241c1ccc4f7c2f45fff85d5bde2ff74fcb68b9e/websockets-15.0.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3c714d2fc58b5ca3e285461a4cc0c9a66bd0e24c5da9911e30158286c9b5be7f", size = 182054 },
+ { url = "https://files.pythonhosted.org/packages/ff/b2/83a6ddf56cdcbad4e3d841fcc55d6ba7d19aeb89c50f24dd7e859ec0805f/websockets-15.0.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0f3c1e2ab208db911594ae5b4f79addeb3501604a165019dd221c0bdcabe4db8", size = 182496 },
+ { url = "https://files.pythonhosted.org/packages/98/41/e7038944ed0abf34c45aa4635ba28136f06052e08fc2168520bb8b25149f/websockets-15.0.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:229cf1d3ca6c1804400b0a9790dc66528e08a6a1feec0d5040e8b9eb14422375", size = 182829 },
+ { url = "https://files.pythonhosted.org/packages/e0/17/de15b6158680c7623c6ef0db361da965ab25d813ae54fcfeae2e5b9ef910/websockets-15.0.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:756c56e867a90fb00177d530dca4b097dd753cde348448a1012ed6c5131f8b7d", size = 182217 },
+ { url = "https://files.pythonhosted.org/packages/33/2b/1f168cb6041853eef0362fb9554c3824367c5560cbdaad89ac40f8c2edfc/websockets-15.0.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:558d023b3df0bffe50a04e710bc87742de35060580a293c2a984299ed83bc4e4", size = 182195 },
+ { url = "https://files.pythonhosted.org/packages/86/eb/20b6cdf273913d0ad05a6a14aed4b9a85591c18a987a3d47f20fa13dcc47/websockets-15.0.1-cp313-cp313-win32.whl", hash = "sha256:ba9e56e8ceeeedb2e080147ba85ffcd5cd0711b89576b83784d8605a7df455fa", size = 176393 },
+ { url = "https://files.pythonhosted.org/packages/1b/6c/c65773d6cab416a64d191d6ee8a8b1c68a09970ea6909d16965d26bfed1e/websockets-15.0.1-cp313-cp313-win_amd64.whl", hash = "sha256:e09473f095a819042ecb2ab9465aee615bd9c2028e4ef7d933600a8401c79561", size = 176837 },
+ { url = "https://files.pythonhosted.org/packages/fa/a8/5b41e0da817d64113292ab1f8247140aac61cbf6cfd085d6a0fa77f4984f/websockets-15.0.1-py3-none-any.whl", hash = "sha256:f7a866fbc1e97b5c617ee4116daaa09b722101d4a3c170c787450ba409f9736f", size = 169743 },
+]
+
+[[package]]
+name = "yarl"
+version = "1.23.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "idna" },
+ { name = "multidict" },
+ { name = "propcache" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/23/6e/beb1beec874a72f23815c1434518bfc4ed2175065173fb138c3705f658d4/yarl-1.23.0.tar.gz", hash = "sha256:53b1ea6ca88ebd4420379c330aea57e258408dd0df9af0992e5de2078dc9f5d5", size = 194676 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a2/aa/60da938b8f0997ba3a911263c40d82b6f645a67902a490b46f3355e10fae/yarl-1.23.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:b35d13d549077713e4414f927cdc388d62e543987c572baee613bf82f11a4b99", size = 123641 },
+ { url = "https://files.pythonhosted.org/packages/24/84/e237607faf4e099dbb8a4f511cfd5efcb5f75918baad200ff7380635631b/yarl-1.23.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:cbb0fef01f0c6b38cb0f39b1f78fc90b807e0e3c86a7ff3ce74ad77ce5c7880c", size = 86248 },
+ { url = "https://files.pythonhosted.org/packages/b2/0d/71ceabc14c146ba8ee3804ca7b3d42b1664c8440439de5214d366fec7d3a/yarl-1.23.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:dc52310451fc7c629e13c4e061cbe2dd01684d91f2f8ee2821b083c58bd72432", size = 85988 },
+ { url = "https://files.pythonhosted.org/packages/8c/6c/4a90d59c572e46b270ca132aca66954f1175abd691f74c1ef4c6711828e2/yarl-1.23.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b2c6b50c7b0464165472b56b42d4c76a7b864597007d9c085e8b63e185cf4a7a", size = 100566 },
+ { url = "https://files.pythonhosted.org/packages/49/fb/c438fb5108047e629f6282a371e6e91cf3f97ee087c4fb748a1f32ceef55/yarl-1.23.0-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:aafe5dcfda86c8af00386d7781d4c2181b5011b7be3f2add5e99899ea925df05", size = 92079 },
+ { url = "https://files.pythonhosted.org/packages/d9/13/d269aa1aed3e4f50a5a103f96327210cc5fa5dd2d50882778f13c7a14606/yarl-1.23.0-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9ee33b875f0b390564c1fb7bc528abf18c8ee6073b201c6ae8524aca778e2d83", size = 108741 },
+ { url = "https://files.pythonhosted.org/packages/85/fb/115b16f22c37ea4437d323e472945bea97301c8ec6089868fa560abab590/yarl-1.23.0-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:4c41e021bc6d7affb3364dc1e1e5fa9582b470f283748784bd6ea0558f87f42c", size = 108099 },
+ { url = "https://files.pythonhosted.org/packages/9a/64/c53487d9f4968045b8afa51aed7ca44f58b2589e772f32745f3744476c82/yarl-1.23.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:99c8a9ed30f4164bc4c14b37a90208836cbf50d4ce2a57c71d0f52c7fb4f7598", size = 102678 },
+ { url = "https://files.pythonhosted.org/packages/85/59/cd98e556fbb2bf8fab29c1a722f67ad45c5f3447cac798ab85620d1e70af/yarl-1.23.0-cp311-cp311-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:f2af5c81a1f124609d5f33507082fc3f739959d4719b56877ab1ee7e7b3d602b", size = 100803 },
+ { url = "https://files.pythonhosted.org/packages/9e/c0/b39770b56d4a9f0bb5f77e2f1763cd2d75cc2f6c0131e3b4c360348fcd65/yarl-1.23.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:6b41389c19b07c760c7e427a3462e8ab83c4bb087d127f0e854c706ce1b9215c", size = 100163 },
+ { url = "https://files.pythonhosted.org/packages/e7/64/6980f99ab00e1f0ff67cb84766c93d595b067eed07439cfccfc8fb28c1a6/yarl-1.23.0-cp311-cp311-musllinux_1_2_armv7l.whl", hash = "sha256:1dc702e42d0684f42d6519c8d581e49c96cefaaab16691f03566d30658ee8788", size = 93859 },
+ { url = "https://files.pythonhosted.org/packages/38/69/912e6c5e146793e5d4b5fe39ff5b00f4d22463dfd5a162bec565ac757673/yarl-1.23.0-cp311-cp311-musllinux_1_2_ppc64le.whl", hash = "sha256:0e40111274f340d32ebcc0a5668d54d2b552a6cca84c9475859d364b380e3222", size = 108202 },
+ { url = "https://files.pythonhosted.org/packages/59/97/35ca6767524687ad64e5f5c31ad54bc76d585585a9fcb40f649e7e82ffed/yarl-1.23.0-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:4764a6a7588561a9aef92f65bda2c4fb58fe7c675c0883862e6df97559de0bfb", size = 99866 },
+ { url = "https://files.pythonhosted.org/packages/d3/1c/1a3387ee6d73589f6f2a220ae06f2984f6c20b40c734989b0a44f5987308/yarl-1.23.0-cp311-cp311-musllinux_1_2_s390x.whl", hash = "sha256:03214408cfa590df47728b84c679ae4ef00be2428e11630277be0727eba2d7cc", size = 107852 },
+ { url = "https://files.pythonhosted.org/packages/a4/b8/35c0750fcd5a3f781058bfd954515dd4b1eab45e218cbb85cf11132215f1/yarl-1.23.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:170e26584b060879e29fac213e4228ef063f39128723807a312e5c7fec28eff2", size = 102919 },
+ { url = "https://files.pythonhosted.org/packages/e5/1c/9a1979aec4a81896d597bcb2177827f2dbee3f5b7cc48b2d0dadb644b41d/yarl-1.23.0-cp311-cp311-win32.whl", hash = "sha256:51430653db848d258336cfa0244427b17d12db63d42603a55f0d4546f50f25b5", size = 82602 },
+ { url = "https://files.pythonhosted.org/packages/93/22/b85eca6fa2ad9491af48c973e4c8cf6b103a73dbb271fe3346949449fca0/yarl-1.23.0-cp311-cp311-win_amd64.whl", hash = "sha256:bf49a3ae946a87083ef3a34c8f677ae4243f5b824bfc4c69672e72b3d6719d46", size = 87461 },
+ { url = "https://files.pythonhosted.org/packages/93/95/07e3553fe6f113e6864a20bdc53a78113cda3b9ced8784ee52a52c9f80d8/yarl-1.23.0-cp311-cp311-win_arm64.whl", hash = "sha256:b39cb32a6582750b6cc77bfb3c49c0f8760dc18dc96ec9fb55fbb0f04e08b928", size = 82336 },
+ { url = "https://files.pythonhosted.org/packages/88/8a/94615bc31022f711add374097ad4144d569e95ff3c38d39215d07ac153a0/yarl-1.23.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:1932b6b8bba8d0160a9d1078aae5838a66039e8832d41d2992daa9a3a08f7860", size = 124737 },
+ { url = "https://files.pythonhosted.org/packages/e3/6f/c6554045d59d64052698add01226bc867b52fe4a12373415d7991fdca95d/yarl-1.23.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:411225bae281f114067578891bc75534cfb3d92a3b4dfef7a6ca78ba354e6069", size = 87029 },
+ { url = "https://files.pythonhosted.org/packages/19/2a/725ecc166d53438bc88f76822ed4b1e3b10756e790bafd7b523fe97c322d/yarl-1.23.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:13a563739ae600a631c36ce096615fe307f131344588b0bc0daec108cdb47b25", size = 86310 },
+ { url = "https://files.pythonhosted.org/packages/99/30/58260ed98e6ff7f90ba84442c1ddd758c9170d70327394a6227b310cd60f/yarl-1.23.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9cbf44c5cb4a7633d078788e1b56387e3d3cf2b8139a3be38040b22d6c3221c8", size = 97587 },
+ { url = "https://files.pythonhosted.org/packages/76/0a/8b08aac08b50682e65759f7f8dde98ae8168f72487e7357a5d684c581ef9/yarl-1.23.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:53ad387048f6f09a8969631e4de3f1bf70c50e93545d64af4f751b2498755072", size = 92528 },
+ { url = "https://files.pythonhosted.org/packages/52/07/0b7179101fe5f8385ec6c6bb5d0cb9f76bd9fb4a769591ab6fb5cdbfc69a/yarl-1.23.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:4a59ba56f340334766f3a4442e0efd0af895fae9e2b204741ef885c446b3a1a8", size = 105339 },
+ { url = "https://files.pythonhosted.org/packages/d3/8a/36d82869ab5ec829ca8574dfcb92b51286fcfb1e9c7a73659616362dc880/yarl-1.23.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:803a3c3ce4acc62eaf01eaca1208dcf0783025ef27572c3336502b9c232005e7", size = 105061 },
+ { url = "https://files.pythonhosted.org/packages/66/3e/868e5c3364b6cee19ff3e1a122194fa4ce51def02c61023970442162859e/yarl-1.23.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a3d2bff8f37f8d0f96c7ec554d16945050d54462d6e95414babaa18bfafc7f51", size = 100132 },
+ { url = "https://files.pythonhosted.org/packages/cf/26/9c89acf82f08a52cb52d6d39454f8d18af15f9d386a23795389d1d423823/yarl-1.23.0-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c75eb09e8d55bceb4367e83496ff8ef2bc7ea6960efb38e978e8073ea59ecb67", size = 99289 },
+ { url = "https://files.pythonhosted.org/packages/6f/54/5b0db00d2cb056922356104468019c0a132e89c8d3ab67d8ede9f4483d2a/yarl-1.23.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:877b0738624280e34c55680d6054a307aa94f7d52fa0e3034a9cc6e790871da7", size = 96950 },
+ { url = "https://files.pythonhosted.org/packages/f6/40/10fa93811fd439341fad7e0718a86aca0de9548023bbb403668d6555acab/yarl-1.23.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:b5405bb8f0e783a988172993cfc627e4d9d00432d6bbac65a923041edacf997d", size = 93960 },
+ { url = "https://files.pythonhosted.org/packages/bc/d2/8ae2e6cd77d0805f4526e30ec43b6f9a3dfc542d401ac4990d178e4bf0cf/yarl-1.23.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:1c3a3598a832590c5a3ce56ab5576361b5688c12cb1d39429cf5dba30b510760", size = 104703 },
+ { url = "https://files.pythonhosted.org/packages/2f/0c/b3ceacf82c3fe21183ce35fa2acf5320af003d52bc1fcf5915077681142e/yarl-1.23.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:8419ebd326430d1cbb7efb5292330a2cf39114e82df5cc3d83c9a0d5ebeaf2f2", size = 98325 },
+ { url = "https://files.pythonhosted.org/packages/9d/e0/12900edd28bdab91a69bd2554b85ad7b151f64e8b521fe16f9ad2f56477a/yarl-1.23.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:be61f6fff406ca40e3b1d84716fde398fc08bc63dd96d15f3a14230a0973ed86", size = 105067 },
+ { url = "https://files.pythonhosted.org/packages/15/61/74bb1182cf79c9bbe4eb6b1f14a57a22d7a0be5e9cedf8e2d5c2086474c3/yarl-1.23.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:3ceb13c5c858d01321b5d9bb65e4cf37a92169ea470b70fec6f236b2c9dd7e34", size = 100285 },
+ { url = "https://files.pythonhosted.org/packages/69/7f/cd5ef733f2550de6241bd8bd8c3febc78158b9d75f197d9c7baa113436af/yarl-1.23.0-cp312-cp312-win32.whl", hash = "sha256:fffc45637bcd6538de8b85f51e3df3223e4ad89bccbfca0481c08c7fc8b7ed7d", size = 82359 },
+ { url = "https://files.pythonhosted.org/packages/f5/be/25216a49daeeb7af2bec0db22d5e7df08ed1d7c9f65d78b14f3b74fd72fc/yarl-1.23.0-cp312-cp312-win_amd64.whl", hash = "sha256:f69f57305656a4852f2a7203efc661d8c042e6cc67f7acd97d8667fb448a426e", size = 87674 },
+ { url = "https://files.pythonhosted.org/packages/d2/35/aeab955d6c425b227d5b7247eafb24f2653fedc32f95373a001af5dfeb9e/yarl-1.23.0-cp312-cp312-win_arm64.whl", hash = "sha256:6e87a6e8735b44816e7db0b2fbc9686932df473c826b0d9743148432e10bb9b9", size = 81879 },
+ { url = "https://files.pythonhosted.org/packages/9a/4b/a0a6e5d0ee8a2f3a373ddef8a4097d74ac901ac363eea1440464ccbe0898/yarl-1.23.0-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:16c6994ac35c3e74fb0ae93323bf8b9c2a9088d55946109489667c510a7d010e", size = 123796 },
+ { url = "https://files.pythonhosted.org/packages/67/b6/8925d68af039b835ae876db5838e82e76ec87b9782ecc97e192b809c4831/yarl-1.23.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:4a42e651629dafb64fd5b0286a3580613702b5809ad3f24934ea87595804f2c5", size = 86547 },
+ { url = "https://files.pythonhosted.org/packages/ae/50/06d511cc4b8e0360d3c94af051a768e84b755c5eb031b12adaaab6dec6e5/yarl-1.23.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:7c6b9461a2a8b47c65eef63bb1c76a4f1c119618ffa99ea79bc5bb1e46c5821b", size = 85854 },
+ { url = "https://files.pythonhosted.org/packages/c4/f4/4e30b250927ffdab4db70da08b9b8d2194d7c7b400167b8fbeca1e4701ca/yarl-1.23.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2569b67d616eab450d262ca7cb9f9e19d2f718c70a8b88712859359d0ab17035", size = 98351 },
+ { url = "https://files.pythonhosted.org/packages/86/fc/4118c5671ea948208bdb1492d8b76bdf1453d3e73df051f939f563e7dcc5/yarl-1.23.0-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:e9d9a4d06d3481eab79803beb4d9bd6f6a8e781ec078ac70d7ef2dcc29d1bea5", size = 92711 },
+ { url = "https://files.pythonhosted.org/packages/56/11/1ed91d42bd9e73c13dc9e7eb0dd92298d75e7ac4dd7f046ad0c472e231cd/yarl-1.23.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:f514f6474e04179d3d33175ed3f3e31434d3130d42ec153540d5b157deefd735", size = 106014 },
+ { url = "https://files.pythonhosted.org/packages/ce/c9/74e44e056a23fbc33aca71779ef450ca648a5bc472bdad7a82339918f818/yarl-1.23.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:fda207c815b253e34f7e1909840fd14299567b1c0eb4908f8c2ce01a41265401", size = 105557 },
+ { url = "https://files.pythonhosted.org/packages/66/fe/b1e10b08d287f518994f1e2ff9b6d26f0adeecd8dd7d533b01bab29a3eda/yarl-1.23.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:34b6cf500e61c90f305094911f9acc9c86da1a05a7a3f5be9f68817043f486e4", size = 101559 },
+ { url = "https://files.pythonhosted.org/packages/72/59/c5b8d94b14e3d3c2a9c20cb100119fd534ab5a14b93673ab4cc4a4141ea5/yarl-1.23.0-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:d7504f2b476d21653e4d143f44a175f7f751cd41233525312696c76aa3dbb23f", size = 100502 },
+ { url = "https://files.pythonhosted.org/packages/77/4f/96976cb54cbfc5c9fd73ed4c51804f92f209481d1fb190981c0f8a07a1d7/yarl-1.23.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:578110dd426f0d209d1509244e6d4a3f1a3e9077655d98c5f22583d63252a08a", size = 98027 },
+ { url = "https://files.pythonhosted.org/packages/63/6e/904c4f476471afdbad6b7e5b70362fb5810e35cd7466529a97322b6f5556/yarl-1.23.0-cp313-cp313-musllinux_1_2_armv7l.whl", hash = "sha256:609d3614d78d74ebe35f54953c5bbd2ac647a7ddb9c30a5d877580f5e86b22f2", size = 95369 },
+ { url = "https://files.pythonhosted.org/packages/9d/40/acfcdb3b5f9d68ef499e39e04d25e141fe90661f9d54114556cf83be8353/yarl-1.23.0-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:4966242ec68afc74c122f8459abd597afd7d8a60dc93d695c1334c5fd25f762f", size = 105565 },
+ { url = "https://files.pythonhosted.org/packages/5e/c6/31e28f3a6ba2869c43d124f37ea5260cac9c9281df803c354b31f4dd1f3c/yarl-1.23.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:e0fd068364a6759bc794459f0a735ab151d11304346332489c7972bacbe9e72b", size = 99813 },
+ { url = "https://files.pythonhosted.org/packages/08/1f/6f65f59e72d54aa467119b63fc0b0b1762eff0232db1f4720cd89e2f4a17/yarl-1.23.0-cp313-cp313-musllinux_1_2_s390x.whl", hash = "sha256:39004f0ad156da43e86aa71f44e033de68a44e5a31fc53507b36dd253970054a", size = 105632 },
+ { url = "https://files.pythonhosted.org/packages/a3/c4/18b178a69935f9e7a338127d5b77d868fdc0f0e49becd286d51b3a18c61d/yarl-1.23.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e5723c01a56c5028c807c701aa66722916d2747ad737a046853f6c46f4875543", size = 101895 },
+ { url = "https://files.pythonhosted.org/packages/8f/54/f5b870b5505663911dba950a8e4776a0dbd51c9c54c0ae88e823e4b874a0/yarl-1.23.0-cp313-cp313-win32.whl", hash = "sha256:1b6b572edd95b4fa8df75de10b04bc81acc87c1c7d16bcdd2035b09d30acc957", size = 82356 },
+ { url = "https://files.pythonhosted.org/packages/7a/84/266e8da36879c6edcd37b02b547e2d9ecdfea776be49598e75696e3316e1/yarl-1.23.0-cp313-cp313-win_amd64.whl", hash = "sha256:baaf55442359053c7d62f6f8413a62adba3205119bcb6f49594894d8be47e5e3", size = 87515 },
+ { url = "https://files.pythonhosted.org/packages/00/fd/7e1c66efad35e1649114fa13f17485f62881ad58edeeb7f49f8c5e748bf9/yarl-1.23.0-cp313-cp313-win_arm64.whl", hash = "sha256:fb4948814a2a98e3912505f09c9e7493b1506226afb1f881825368d6fb776ee3", size = 81785 },
+ { url = "https://files.pythonhosted.org/packages/9c/fc/119dd07004f17ea43bb91e3ece6587759edd7519d6b086d16bfbd3319982/yarl-1.23.0-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:aecfed0b41aa72b7881712c65cf764e39ce2ec352324f5e0837c7048d9e6daaa", size = 130719 },
+ { url = "https://files.pythonhosted.org/packages/e6/0d/9f2348502fbb3af409e8f47730282cd6bc80dec6630c1e06374d882d6eb2/yarl-1.23.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:a41bcf68efd19073376eb8cf948b8d9be0af26256403e512bb18f3966f1f9120", size = 89690 },
+ { url = "https://files.pythonhosted.org/packages/50/93/e88f3c80971b42cfc83f50a51b9d165a1dbf154b97005f2994a79f212a07/yarl-1.23.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:cde9a2ecd91668bcb7f077c4966d8ceddb60af01b52e6e3e2680e4cf00ad1a59", size = 89851 },
+ { url = "https://files.pythonhosted.org/packages/1c/07/61c9dd8ba8f86473263b4036f70fb594c09e99c0d9737a799dfd8bc85651/yarl-1.23.0-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5023346c4ee7992febc0068e7593de5fa2bf611848c08404b35ebbb76b1b0512", size = 95874 },
+ { url = "https://files.pythonhosted.org/packages/9e/e9/f9ff8ceefba599eac6abddcfb0b3bee9b9e636e96dbf54342a8577252379/yarl-1.23.0-cp313-cp313t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:d1009abedb49ae95b136a8904a3f71b342f849ffeced2d3747bf29caeda218c4", size = 88710 },
+ { url = "https://files.pythonhosted.org/packages/eb/78/0231bfcc5d4c8eec220bc2f9ef82cb4566192ea867a7c5b4148f44f6cbcd/yarl-1.23.0-cp313-cp313t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a8d00f29b42f534cc8aa3931cfe773b13b23e561e10d2b26f27a8d309b0e82a1", size = 101033 },
+ { url = "https://files.pythonhosted.org/packages/cd/9b/30ea5239a61786f18fd25797151a17fbb3be176977187a48d541b5447dd4/yarl-1.23.0-cp313-cp313t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:95451e6ce06c3e104556d73b559f5da6c34a069b6b62946d3ad66afcd51642ea", size = 100817 },
+ { url = "https://files.pythonhosted.org/packages/62/e2/a4980481071791bc83bce2b7a1a1f7adcabfa366007518b4b845e92eeee3/yarl-1.23.0-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:531ef597132086b6cf96faa7c6c1dcd0361dd5f1694e5cc30375907b9b7d3ea9", size = 97482 },
+ { url = "https://files.pythonhosted.org/packages/e5/1e/304a00cf5f6100414c4b5a01fc7ff9ee724b62158a08df2f8170dfc72a2d/yarl-1.23.0-cp313-cp313t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:88f9fb0116fbfcefcab70f85cf4b74a2b6ce5d199c41345296f49d974ddb4123", size = 95949 },
+ { url = "https://files.pythonhosted.org/packages/68/03/093f4055ed4cae649ac53bca3d180bd37102e9e11d048588e9ab0c0108d0/yarl-1.23.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:e7b0460976dc75cb87ad9cc1f9899a4b97751e7d4e77ab840fc9b6d377b8fd24", size = 95839 },
+ { url = "https://files.pythonhosted.org/packages/b9/28/4c75ebb108f322aa8f917ae10a8ffa4f07cae10a8a627b64e578617df6a0/yarl-1.23.0-cp313-cp313t-musllinux_1_2_armv7l.whl", hash = "sha256:115136c4a426f9da976187d238e84139ff6b51a20839aa6e3720cd1026d768de", size = 90696 },
+ { url = "https://files.pythonhosted.org/packages/23/9c/42c2e2dd91c1a570402f51bdf066bfdb1241c2240ba001967bad778e77b7/yarl-1.23.0-cp313-cp313t-musllinux_1_2_ppc64le.whl", hash = "sha256:ead11956716a940c1abc816b7df3fa2b84d06eaed8832ca32f5c5e058c65506b", size = 100865 },
+ { url = "https://files.pythonhosted.org/packages/74/05/1bcd60a8a0a914d462c305137246b6f9d167628d73568505fce3f1cb2e65/yarl-1.23.0-cp313-cp313t-musllinux_1_2_riscv64.whl", hash = "sha256:fe8f8f5e70e6dbdfca9882cd9deaac058729bcf323cf7a58660901e55c9c94f6", size = 96234 },
+ { url = "https://files.pythonhosted.org/packages/90/b2/f52381aac396d6778ce516b7bc149c79e65bfc068b5de2857ab69eeea3b7/yarl-1.23.0-cp313-cp313t-musllinux_1_2_s390x.whl", hash = "sha256:a0e317df055958a0c1e79e5d2aa5a5eaa4a6d05a20d4b0c9c3f48918139c9fc6", size = 100295 },
+ { url = "https://files.pythonhosted.org/packages/e5/e8/638bae5bbf1113a659b2435d8895474598afe38b4a837103764f603aba56/yarl-1.23.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:6f0fd84de0c957b2d280143522c4f91a73aada1923caee763e24a2b3fda9f8a5", size = 97784 },
+ { url = "https://files.pythonhosted.org/packages/80/25/a3892b46182c586c202629fc2159aa13975d3741d52ebd7347fd501d48d5/yarl-1.23.0-cp313-cp313t-win32.whl", hash = "sha256:93a784271881035ab4406a172edb0faecb6e7d00f4b53dc2f55919d6c9688595", size = 88313 },
+ { url = "https://files.pythonhosted.org/packages/43/68/8c5b36aa5178900b37387937bc2c2fe0e9505537f713495472dcf6f6fccc/yarl-1.23.0-cp313-cp313t-win_amd64.whl", hash = "sha256:dd00607bffbf30250fe108065f07453ec124dbf223420f57f5e749b04295e090", size = 94932 },
+ { url = "https://files.pythonhosted.org/packages/c6/cc/d79ba8292f51f81f4dc533a8ccfb9fc6992cabf0998ed3245de7589dc07c/yarl-1.23.0-cp313-cp313t-win_arm64.whl", hash = "sha256:ac09d42f48f80c9ee1635b2fcaa819496a44502737660d3c0f2ade7526d29144", size = 84786 },
+ { url = "https://files.pythonhosted.org/packages/90/98/b85a038d65d1b92c3903ab89444f48d3cee490a883477b716d7a24b1a78c/yarl-1.23.0-cp314-cp314-macosx_10_15_universal2.whl", hash = "sha256:21d1b7305a71a15b4794b5ff22e8eef96ff4a6d7f9657155e5aa419444b28912", size = 124455 },
+ { url = "https://files.pythonhosted.org/packages/39/54/bc2b45559f86543d163b6e294417a107bb87557609007c007ad889afec18/yarl-1.23.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:85610b4f27f69984932a7abbe52703688de3724d9f72bceb1cca667deff27474", size = 86752 },
+ { url = "https://files.pythonhosted.org/packages/24/f9/e8242b68362bffe6fb536c8db5076861466fc780f0f1b479fc4ffbebb128/yarl-1.23.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:23f371bd662cf44a7630d4d113101eafc0cfa7518a2760d20760b26021454719", size = 86291 },
+ { url = "https://files.pythonhosted.org/packages/ea/d8/d1cb2378c81dd729e98c716582b1ccb08357e8488e4c24714658cc6630e8/yarl-1.23.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c4a80f77dc1acaaa61f0934176fccca7096d9b1ff08c8ba9cddf5ae034a24319", size = 99026 },
+ { url = "https://files.pythonhosted.org/packages/0a/ff/7196790538f31debe3341283b5b0707e7feb947620fc5e8236ef28d44f72/yarl-1.23.0-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:bd654fad46d8d9e823afbb4f87c79160b5a374ed1ff5bde24e542e6ba8f41434", size = 92355 },
+ { url = "https://files.pythonhosted.org/packages/c1/56/25d58c3eddde825890a5fe6aa1866228377354a3c39262235234ab5f616b/yarl-1.23.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:682bae25f0a0dd23a056739f23a134db9f52a63e2afd6bfb37ddc76292bbd723", size = 106417 },
+ { url = "https://files.pythonhosted.org/packages/51/8a/882c0e7bc8277eb895b31bce0138f51a1ba551fc2e1ec6753ffc1e7c1377/yarl-1.23.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:a82836cab5f197a0514235aaf7ffccdc886ccdaa2324bc0aafdd4ae898103039", size = 106422 },
+ { url = "https://files.pythonhosted.org/packages/42/2b/fef67d616931055bf3d6764885990a3ac647d68734a2d6a9e1d13de437a2/yarl-1.23.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1c57676bdedc94cd3bc37724cf6f8cd2779f02f6aba48de45feca073e714fe52", size = 101915 },
+ { url = "https://files.pythonhosted.org/packages/18/6a/530e16aebce27c5937920f3431c628a29a4b6b430fab3fd1c117b26ff3f6/yarl-1.23.0-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c7f8dc16c498ff06497c015642333219871effba93e4a2e8604a06264aca5c5c", size = 100690 },
+ { url = "https://files.pythonhosted.org/packages/88/08/93749219179a45e27b036e03260fda05190b911de8e18225c294ac95bbc9/yarl-1.23.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:5ee586fb17ff8f90c91cf73c6108a434b02d69925f44f5f8e0d7f2f260607eae", size = 98750 },
+ { url = "https://files.pythonhosted.org/packages/d9/cf/ea424a004969f5d81a362110a6ac1496d79efdc6d50c2c4b2e3ea0fc2519/yarl-1.23.0-cp314-cp314-musllinux_1_2_armv7l.whl", hash = "sha256:17235362f580149742739cc3828b80e24029d08cbb9c4bda0242c7b5bc610a8e", size = 94685 },
+ { url = "https://files.pythonhosted.org/packages/e2/b7/14341481fe568e2b0408bcf1484c652accafe06a0ade9387b5d3fd9df446/yarl-1.23.0-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:0793e2bd0cf14234983bbb371591e6bea9e876ddf6896cdcc93450996b0b5c85", size = 106009 },
+ { url = "https://files.pythonhosted.org/packages/0a/e6/5c744a9b54f4e8007ad35bce96fbc9218338e84812d36f3390cea616881a/yarl-1.23.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:3650dc2480f94f7116c364096bc84b1d602f44224ef7d5c7208425915c0475dd", size = 100033 },
+ { url = "https://files.pythonhosted.org/packages/0c/23/e3bfc188d0b400f025bc49d99793d02c9abe15752138dcc27e4eaf0c4a9e/yarl-1.23.0-cp314-cp314-musllinux_1_2_s390x.whl", hash = "sha256:f40e782d49630ad384db66d4d8b73ff4f1b8955dc12e26b09a3e3af064b3b9d6", size = 106483 },
+ { url = "https://files.pythonhosted.org/packages/72/42/f0505f949a90b3f8b7a363d6cbdf398f6e6c58946d85c6d3a3bc70595b26/yarl-1.23.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:94f8575fbdf81749008d980c17796097e645574a3b8c28ee313931068dad14fe", size = 102175 },
+ { url = "https://files.pythonhosted.org/packages/aa/65/b39290f1d892a9dd671d1c722014ca062a9c35d60885d57e5375db0404b5/yarl-1.23.0-cp314-cp314-win32.whl", hash = "sha256:c8aa34a5c864db1087d911a0b902d60d203ea3607d91f615acd3f3108ac32169", size = 83871 },
+ { url = "https://files.pythonhosted.org/packages/a9/5b/9b92f54c784c26e2a422e55a8d2607ab15b7ea3349e28359282f84f01d43/yarl-1.23.0-cp314-cp314-win_amd64.whl", hash = "sha256:63e92247f383c85ab00dd0091e8c3fa331a96e865459f5ee80353c70a4a42d70", size = 89093 },
+ { url = "https://files.pythonhosted.org/packages/e0/7d/8a84dc9381fd4412d5e7ff04926f9865f6372b4c2fd91e10092e65d29eb8/yarl-1.23.0-cp314-cp314-win_arm64.whl", hash = "sha256:70efd20be968c76ece7baa8dafe04c5be06abc57f754d6f36f3741f7aa7a208e", size = 83384 },
+ { url = "https://files.pythonhosted.org/packages/dd/8d/d2fad34b1c08aa161b74394183daa7d800141aaaee207317e82c790b418d/yarl-1.23.0-cp314-cp314t-macosx_10_15_universal2.whl", hash = "sha256:9a18d6f9359e45722c064c97464ec883eb0e0366d33eda61cb19a244bf222679", size = 131019 },
+ { url = "https://files.pythonhosted.org/packages/19/ff/33009a39d3ccf4b94d7d7880dfe17fb5816c5a4fe0096d9b56abceea9ac7/yarl-1.23.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:2803ed8b21ca47a43da80a6fd1ed3019d30061f7061daa35ac54f63933409412", size = 89894 },
+ { url = "https://files.pythonhosted.org/packages/0c/f1/dab7ac5e7306fb79c0190766a3c00b4cb8d09a1f390ded68c85a5934faf5/yarl-1.23.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:394906945aa8b19fc14a61cf69743a868bb8c465efe85eee687109cc540b98f4", size = 89979 },
+ { url = "https://files.pythonhosted.org/packages/aa/b1/08e95f3caee1fad6e65017b9f26c1d79877b502622d60e517de01e72f95d/yarl-1.23.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:71d006bee8397a4a89f469b8deb22469fe7508132d3c17fa6ed871e79832691c", size = 95943 },
+ { url = "https://files.pythonhosted.org/packages/c0/cc/6409f9018864a6aa186c61175b977131f373f1988e198e031236916e87e4/yarl-1.23.0-cp314-cp314t-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:62694e275c93d54f7ccedcfef57d42761b2aad5234b6be1f3e3026cae4001cd4", size = 88786 },
+ { url = "https://files.pythonhosted.org/packages/76/40/cc22d1d7714b717fde2006fad2ced5efe5580606cb059ae42117542122f3/yarl-1.23.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:a31de1613658308efdb21ada98cbc86a97c181aa050ba22a808120bb5be3ab94", size = 101307 },
+ { url = "https://files.pythonhosted.org/packages/8f/0d/476c38e85ddb4c6ec6b20b815bdd779aa386a013f3d8b85516feee55c8dc/yarl-1.23.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:fb1e8b8d66c278b21d13b0a7ca22c41dd757a7c209c6b12c313e445c31dd3b28", size = 100904 },
+ { url = "https://files.pythonhosted.org/packages/72/32/0abe4a76d59adf2081dcb0397168553ece4616ada1c54d1c49d8936c74f8/yarl-1.23.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:50f9d8d531dfb767c565f348f33dd5139a6c43f5cbdf3f67da40d54241df93f6", size = 97728 },
+ { url = "https://files.pythonhosted.org/packages/b7/35/7b30f4810fba112f60f5a43237545867504e15b1c7647a785fbaf588fac2/yarl-1.23.0-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:575aa4405a656e61a540f4a80eaa5260f2a38fff7bfdc4b5f611840d76e9e277", size = 95964 },
+ { url = "https://files.pythonhosted.org/packages/2d/86/ed7a73ab85ef00e8bb70b0cb5421d8a2a625b81a333941a469a6f4022828/yarl-1.23.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:041b1a4cefacf65840b4e295c6985f334ba83c30607441ae3cf206a0eed1a2e4", size = 95882 },
+ { url = "https://files.pythonhosted.org/packages/19/90/d56967f61a29d8498efb7afb651e0b2b422a1e9b47b0ab5f4e40a19b699b/yarl-1.23.0-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:d38c1e8231722c4ce40d7593f28d92b5fc72f3e9774fe73d7e800ec32299f63a", size = 90797 },
+ { url = "https://files.pythonhosted.org/packages/72/00/8b8f76909259f56647adb1011d7ed8b321bcf97e464515c65016a47ecdf0/yarl-1.23.0-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:d53834e23c015ee83a99377db6e5e37d8484f333edb03bd15b4bc312cc7254fb", size = 101023 },
+ { url = "https://files.pythonhosted.org/packages/ac/e2/cab11b126fb7d440281b7df8e9ddbe4851e70a4dde47a202b6642586b8d9/yarl-1.23.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:2e27c8841126e017dd2a054a95771569e6070b9ee1b133366d8b31beb5018a41", size = 96227 },
+ { url = "https://files.pythonhosted.org/packages/c2/9b/2c893e16bfc50e6b2edf76c1a9eb6cb0c744346197e74c65e99ad8d634d0/yarl-1.23.0-cp314-cp314t-musllinux_1_2_s390x.whl", hash = "sha256:76855800ac56f878847a09ce6dba727c93ca2d89c9e9d63002d26b916810b0a2", size = 100302 },
+ { url = "https://files.pythonhosted.org/packages/28/ec/5498c4e3a6d5f1003beb23405671c2eb9cdbf3067d1c80f15eeafe301010/yarl-1.23.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:e09fd068c2e169a7070d83d3bde728a4d48de0549f975290be3c108c02e499b4", size = 98202 },
+ { url = "https://files.pythonhosted.org/packages/fe/c3/cd737e2d45e70717907f83e146f6949f20cc23cd4bf7b2688727763aa458/yarl-1.23.0-cp314-cp314t-win32.whl", hash = "sha256:73309162a6a571d4cbd3b6a1dcc703c7311843ae0d1578df6f09be4e98df38d4", size = 90558 },
+ { url = "https://files.pythonhosted.org/packages/e1/19/3774d162f6732d1cfb0b47b4140a942a35ca82bb19b6db1f80e9e7bdc8f8/yarl-1.23.0-cp314-cp314t-win_amd64.whl", hash = "sha256:4503053d296bc6e4cbd1fad61cf3b6e33b939886c4f249ba7c78b602214fabe2", size = 97610 },
+ { url = "https://files.pythonhosted.org/packages/51/47/3fa2286c3cb162c71cdb34c4224d5745a1ceceb391b2bd9b19b668a8d724/yarl-1.23.0-cp314-cp314t-win_arm64.whl", hash = "sha256:44bb7bef4ea409384e3f8bc36c063d77ea1b8d4a5b2706956c0d6695f07dcc25", size = 86041 },
+ { url = "https://files.pythonhosted.org/packages/69/68/c8739671f5699c7dc470580a4f821ef37c32c4cb0b047ce223a7f115757f/yarl-1.23.0-py3-none-any.whl", hash = "sha256:a2df6afe50dea8ae15fa34c9f824a3ee958d785fd5d089063d960bae1daa0a3f", size = 48288 },
+]
+
+[[package]]
+name = "zipp"
+version = "3.23.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/e3/02/0f2892c661036d50ede074e376733dca2ae7c6eb617489437771209d4180/zipp-3.23.0.tar.gz", hash = "sha256:a07157588a12518c9d4034df3fbbee09c814741a33ff63c05fa29d26a2404166", size = 25547 }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2e/54/647ade08bf0db230bfea292f893923872fd20be6ac6f53b2b936ba839d75/zipp-3.23.0-py3-none-any.whl", hash = "sha256:071652d6115ed432f5ce1d34c336c0adfd6a884660d1e9712a256d3d3bd4b14e", size = 10276 },
+]