Skip to main content

Module daemon

Module daemon 

Source
Expand description

The Daemon — the brain of the vibesurfer daemon.

Owns the SQLite store, the engine runtime, and the in-memory session cache. Each primitive is a pub fn on Daemon living in one of the per-group submodules ([lifecycle], [page_ops], [store_ops], [engine_ops]); shared helpers (audit, session lookup, key resolution) plus the Daemon struct + builders live here.

Concurrency: every public method is &self and acquires fine-grained locks on the session map. Engine calls are dispatched onto the engine thread via EngineRuntime; the daemon’s own state is protected by std::sync::Mutex.

Re-exports§

pub use responses::ActCall;
pub use responses::ActResponse;
pub use responses::AnnotateResponse;
pub use responses::AuthClearResponse;
pub use responses::AuthListResponse;
pub use responses::AuthLoadResponse;
pub use responses::AuthSaveResponse;
pub use responses::CaptureResponse;
pub use responses::CloseResponse;
pub use responses::ExtractResponse;
pub use responses::FindHit;
pub use responses::FindResponse;
pub use responses::LayoutResponse;
pub use responses::LogResponse;
pub use responses::MarkResponse;
pub use responses::OpenResponse;
pub use responses::ReadResponse;
pub use responses::SessionCloseResponse;
pub use responses::SessionOpenResponse;
pub use responses::SkillListResponse;
pub use responses::SkillShowResponse;
pub use responses::StatusResponse;
pub use responses::ViewResponse;
pub use responses::ViewportResponse;
pub use responses::WaitResponse;

Modules§

responses
Per-primitive response types and the ActCall input bundle.

Structs§

Daemon
Shared daemon state. Cheap to clone (it’s an Arc inside).