Skip to main content

Crate zeroclaw_infra

Crate zeroclaw_infra 

Expand description

Channel infrastructure: session backends, debouncing, and stall watchdog. These are cross-cutting utilities used by multiple channel implementations.

Modules§

acp_session_store
ACP session persistence.
debounce
Inbound message debouncing for rapid senders.
net_guard
Network-safety primitives shared across crates that must reject SSRF and local/private targets. Lives in zeroclaw-infra so both the tool layer (zeroclaw-tools domain guard) and the plugin host (zeroclaw-plugins zc_http_request) read one implementation without a tool-to-plugin
session_backend
Trait abstraction for session persistence backends.
session_queue
Per-session actor queue for serializing concurrent access.
session_sqlite
SQLite-backed session persistence with FTS5 search.
session_store
JSONL-based session persistence for channel conversations.
stall_watchdog
Generic transport stall watchdog for WebSocket-based channels.

Functions§

effective_gateway_bind_socket_addr
fallback_gateway_bind_socket_addr
make_session_backend
parse_gateway_bind_socket_addr