Skip to content

v0.12.0 - Budget Store, Doctor CLI, .env Discovery, Index Status

Choose a tag to compare

@github-actions github-actions released this 14 Feb 16:17
· 14 commits to master since this release
19163ed

Added

  • Persistent BudgetStore: New BudgetStore protocol enables pluggable budget state management backends.
    • Added SqliteBudgetStore for persistent budget tracking across process restarts.
    • Added atomic_reserve() for atomic check-and-record in a single transaction.
  • Budget sipping: New budget adjustment feature that reconciles estimated vs actual audio duration after download.
    • Prevents budget waste by reserving based on estimated duration, then "sipping" (releasing) excess after actual duration is known.
  • audiorag doctor CLI: New audiorag doctor subcommand for diagnosing pipeline issues.
    • Verifies all required dependencies are installed.
    • Checks provider configurations.
    • Provides actionable troubleshooting advice.
  • .env auto-discovery: Configuration now automatically discovers .env files by walking up from the current directory.
    • Supports nested project structures.
    • Falls back to default locations if not found.
  • get_index_status API: New pipeline.get_index_status(source_url) method to check if a source is indexed without triggering re-indexing.
    • Returns indexing status: not_indexed, indexed, or failed.
    • Useful for checking pipeline state before queries.

Changed

  • BudgetGovernor refactor: Split into separate modules for better maintainability.
    • budget.py - In-memory budget tracking
    • budget_store_sqlite.py - SQLite-backed persistent storage
    • protocols/budget_store.py - Protocol definition for custom stores