Expand description
Local, SQLite-backed runtime backend stores for embedded Everruns hosts.
This crate provides restart-survivable, file-backed implementations of the runtime backend traits used by an in-process host:
LocalSessionTaskRegistry— aeverruns_core::session_task::SessionTaskRegistryover SQLite, persisting tasks and their message channel.LocalScheduleStore— aeverruns_core::traits::SessionScheduleStoreover SQLite, with an additive JSON metadata bag (see its module docs).LocalPlatformStore— aeverruns_core::platform_store::PlatformStoreimplementing the subagent-critical core honestly and returning explicit unsupported errors for platform-management-only operations.LocalProfile— named local env config (data dir, workspace, base URL, org/principal identity).LocalBackends— composable construction ofRuntimeBackends+ the local stores, accepting a caller-provided event bus (viaRuntimeBackends) and file system factory (via the embedder’sPlatformDefinition).LocalRuntimeBuilder— optional sugar overInProcessRuntimeBuilder.
It is part of the Everruns ecosystem and pairs with
everruns-runtime, which owns
the optional host-backend slots these stores populate.
Structs§
- Local
Backends - The local stores plus a ready-to-use
RuntimeBackends. - Local
Platform Store - Local platform store for one (org, session) scope, backed by a
LocalSessionRunner. - Local
Profile - Local environment configuration.
- Local
Runtime Builder - Convenience wrapper around
InProcessRuntimeBuilderthat wires a local profile + SQLite-backed task/schedule stores and a workspace file store. - Local
Schedule Store - SQLite-backed schedule store for local embedded hosts.
- Local
Session Task Registry - SQLite-backed task registry for local embedded hosts.
- Sqlite
Db - A shared, serialized SQLite connection. Cloning shares the underlying
connection (the
Arc<Mutex<..>>is shared), so all stores built from the same handle write to the same file.
Enums§
Traits§
- Local
Session Runner - Drives real local sessions for the platform store. An embedder implements
this over its
InProcessRuntime(or a thin wrapper) so subagent spawning can create child sessions, run turns, and read back session state. This is the seam that keeps the platform store honest without it owning the runtime.