Expand description
Store: generic OID-based CRUD for StoreObj types. Port of Go’s pkg/wstore/wstore_dbops.go + wstore_dbsetup.go.
Uses Mutex<Connection> matching Go’s MaxOpenConns(1).
SQLite WAL mode + 5s busy timeout (same as Go).
Re-exports§
pub use super::agents::derive_slug;pub use super::agents::AgentDefinition;pub use super::agents::AgentInstance;pub use super::agents::InstanceStatus;pub use super::memory_bundles::Memory;pub use super::content::AgentContent;pub use super::history::AgentHistory;pub use super::skills::AgentSkill;pub use super::identities::AgentIdentityLink;pub use super::identities::Identity;pub use super::identities::IdentityAccount;pub use super::identities::IdentityBinding;pub use super::identities::SecretRef;
Structs§
- Store
- SQLite-backed object store for StoreObj types.
- StoreTx
- A borrowed connection handle for use inside
Store::with_tx. Provides the same CRUD methods asStorebut operates on the already-locked connection without additional Mutex acquisition.