Skip to main content

Crate everruns_local

Crate everruns_local 

Source
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:

It is part of the Everruns ecosystem and pairs with everruns-runtime, which owns the optional host-backend slots these stores populate.

Structs§

LocalBackends
The local stores plus a ready-to-use RuntimeBackends.
LocalPlatformStore
Local platform store for one (org, session) scope, backed by a LocalSessionRunner.
LocalProfile
Local environment configuration.
LocalRuntimeBuilder
Convenience wrapper around InProcessRuntimeBuilder that wires a local profile + SQLite-backed task/schedule stores and a workspace file store.
LocalScheduleStore
SQLite-backed schedule store for local embedded hosts.
LocalSessionTaskRegistry
SQLite-backed task registry for local embedded hosts.
SqliteDb
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§

LocalError

Traits§

LocalSessionRunner
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.

Type Aliases§

LocalResult