haiku.rag/haiku_rag_slim/haiku/rag
Yiorgis Gozadinos 71e4e4a40a
Resolve a capability's databases once, into a scope
`resolve_db_path` manufactured the default path whenever `lancedb.databases`
was empty, and `covers_several_databases` read coverage back out of the
configuration, so a capability built without a client opened
`storage.data_dir/haiku.rag.lancedb` instead of what `lancedb.uri` placed.
The entry point resolves a `DatabaseScope` instead: instructions ask it what
it covers and `_ensure_rag` opens it through `HaikuRAG._covering`, so
coverage is decided once rather than encoded in a path and re-derived.
`Sandbox._covering` takes the scope the capability already resolved, beside
the public constructor that takes a path. The factory signatures are
unchanged.
2026-08-26 12:20:21 +03:00
..
capabilities Resolve a capability's databases once, into a scope 2026-08-26 12:20:21 +03:00
chat Resolve the databases a command works on, once 2026-08-25 15:48:47 +03:00
chunkers Delete comments that restate the line below them 2026-08-20 15:22:33 +03:00
client Take a schemeless lancedb.uri as a local path 2026-08-26 12:20:09 +03:00
config Reject a database with no name or location 2026-08-24 10:03:47 +03:00
converters Add per-endpoint api_key to model and embedding config 2026-08-23 23:54:40 +03:00
embeddings Add per-endpoint api_key to model and embedding config 2026-08-23 23:54:40 +03:00
ingester Split the store module by responsibility 2026-08-20 12:13:51 +03:00
inspector Read a database's stored settings once 2026-08-25 17:38:32 +03:00
providers Wire providers.docling_serve.timeout through to the client 2026-08-19 13:30:45 +03:00
reranking Add per-endpoint api_key to model and embedding config 2026-08-23 23:54:40 +03:00
sandbox Resolve a capability's databases once, into a scope 2026-08-26 12:20:21 +03:00
sources Resolve file:// URIs to paths through url2pathname 2026-08-21 10:22:26 +03:00
store Read a database's stored settings once 2026-08-25 17:38:32 +03:00
tools Select documents to filter by id, not by displayed name 2026-08-24 15:27:59 +03:00
__init__.py Restructure into uv workspace to support minimal and full installations 2025-11-04 17:59:12 +02:00
app.py Resolve the databases a command works on, once 2026-08-25 15:48:47 +03:00
circuit_breaker.py Move CircuitBreaker to a shared module 2026-07-08 11:03:30 +03:00
cli.py Resolve the databases a command works on, once 2026-08-25 15:48:47 +03:00
context.py Ask and analyze across several databases 2026-08-24 10:03:46 +03:00
doctor.py Read a database's stored settings once 2026-08-25 17:38:32 +03:00
logging.py Delete comments that restate the line below them 2026-08-20 15:22:33 +03:00
mcp.py Make get_config the only configuration lookup 2026-08-19 14:43:40 +03:00
s3.py swap aioboto3 for obstore in the S3 client path 2026-05-11 11:29:42 +03:00
telemetry.py Route eval scripts through the shared telemetry configure 2026-07-10 11:38:33 +03:00
uri.py Resolve file:// URIs to paths through url2pathname 2026-08-21 10:22:26 +03:00
utils.py Ask the client what it covers 2026-08-25 14:16:22 +03:00