Skip to main content

Module runtime

Module runtime 

Source
Expand description

KhiveRuntime — composable handle to all storage capabilities.

RuntimeConfig, BackendId, NamespaceToken, and embedding model helpers live in super::config and are re-exported from here.

Re-exports§

pub use crate::config::assert_captured_db_anchor_consistent;
pub use crate::config::assert_db_anchor_consistent;
pub use crate::config::expand_tilde;
pub use crate::config::parse_pack_list;
pub use crate::config::resolve_db_anchor;
pub use crate::config::resolve_project_actor_id;
pub use crate::config::runtime_config_from_khive_config;
pub use crate::config::BackendId;
pub use crate::config::BackendIdError;
pub use crate::config::NamespaceToken;
pub use crate::config::RuntimeConfig;

Structs§

KhiveRuntime
for each storage capability, plus a lazily-loaded embedder.
NamedVectorIdentity
Immutable identity for a non-text vector store owned by a pack consumer.

Functions§

inherit_request_embedder_scope
Carry the current request’s embedder exclusions into a spawned task.
scope_request_embedder_exclusions
Run one request with daemon-only embedding models excluded from registry access.

Type Aliases§

EntityKindHooks
Pack-aggregated entity-kind update hooks: (entity kind, hook) for every kind whose owning pack both declares it and registers a KindHook.
EntityTypeValidatorFn
Callback type for pack-installed entity-type validators.
NoteMutationHookFn
Callback type for a pack-installed note-mutation hook.
NoteWriteValidatorFn
Callback type for a pack-installed note-write validator.