Skip to main content

Crate vs_daemon

Crate vs_daemon 

Source
Expand description

The vibesurfer daemon library — owns the engine, exposes the protocol.

The binary at src/main.rs is a thin wrapper around this library: it constructs a Daemon, binds a Unix socket, and runs the server loop. Tests bypass the binary and drive Daemon directly.

Re-exports§

pub use daemon::ActCall;
pub use daemon::ActResponse;
pub use daemon::AnnotateResponse;
pub use daemon::AuthClearResponse;
pub use daemon::AuthListResponse;
pub use daemon::AuthLoadResponse;
pub use daemon::AuthSaveResponse;
pub use daemon::CaptureResponse;
pub use daemon::CloseResponse;
pub use daemon::Daemon;
pub use daemon::ExtractResponse;
pub use daemon::FindHit;
pub use daemon::FindResponse;
pub use daemon::LayoutResponse;
pub use daemon::LogResponse;
pub use daemon::MarkResponse;
pub use daemon::OpenResponse;
pub use daemon::ReadResponse;
pub use daemon::SessionCloseResponse;
pub use daemon::SessionOpenResponse;
pub use daemon::SkillListResponse;
pub use daemon::SkillShowResponse;
pub use daemon::StatusResponse;
pub use daemon::ViewResponse;
pub use daemon::ViewportResponse;
pub use daemon::WaitResponse;
pub use dispatch::DispatchOutcome;
pub use dispatch::Primitive;
pub use error::DaemonError;
pub use error::Result;
pub use page_state::PageState;
pub use page_state::ViewForm;

Modules§

config
Filesystem layout: where the daemon keeps state on disk.
daemon
The Daemon — the brain of the vibesurfer daemon.
dispatch
Dispatcher: the single entry point that takes one or more primitives and returns one rendered wire response per primitive.
error
Crate-wide error type for the daemon.
page_state
Per-page in-memory state owned by the Daemon.
redact
Mask sensitive arguments before they reach the audit log.
server
Cross-platform local-socket server: accept connections, dispatch wire requests, write wire responses.
tokens
State token computation.
transport
Cross-platform local-IPC name resolution.

Functions§

version
Returns the crate version (matches the workspace version).