Download Latest Version director_ai-3.11.1.tar.gz (511.8 kB)
Email in envelope

Get an email when there's a new version of director-ai

Home / v2.4.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-03-02 1.2 kB
v2.4.0 -- Unified Runtime Wiring _ Security Hardening source code.tar.gz 2026-03-02 1.5 MB
v2.4.0 -- Unified Runtime Wiring _ Security Hardening source code.zip 2026-03-02 1.7 MB
Totals: 3 Items   3.2 MB 0

What's Changed

P0 — Runtime Wiring

  • DirectorConfig.build_store() constructs VectorGroundTruthStore from config fields (vector_backend, chroma_*, reranker_*)
  • DirectorConfig.build_scorer(store=) auto-builds store and passes ground_truth_store=store
  • CoherenceAgent accepts _scorer/_store injection — backward-compatible
  • Server, gRPC, and CLI all share a single store → scorer → agent chain via config
  • CLI commands (review, process, batch) now respect DIRECTOR_* env vars

P1 — Security Hardening

  • Rate limiter default_limits wired (was a no-op)
  • Pydantic v2 body size limits: 100K chars prompt, 500K chars response (422 on violation)

P2 — Correctness

  • Batch result ordering preserved via index-based pre-allocation
  • ONNX batcher double-flush fixed; submit() returns [] below max_batch, explicit flush() added

P3 — Docker

  • ARG EXTRAS="server" enables lean vs NLI-enabled image variants

Tests

  • 1103 passed, 11 skipped, 0 failures
  • New tests for build_store, build_scorer, agent injection, env var override, rate limits, body size limits, batcher semantics
Source: README.md, updated 2026-03-02