pub async fn build_oxicode(
paths: &OxicodePaths,
embedding_provider: Option<Arc<dyn EmbeddingProvider>>,
hook_runner: Option<Arc<dyn HookRunner>>,
) -> Result<Oxicode>Expand description
Build an Oxicode engine wired with file-based port implementations.
This is the composition root for oxicode-cli. The catalog port
performs network I/O during init(). Errors there fall back to
a noop catalog so the user can re-run oxicode refresh later.
hook_runner registers the user’s configured HookRunner
(global + approved-project [[hooks]]) on the SDK’s port registry. Pass
None to keep the noop runner (default).