Skip to main content

Module context

Module context 

Source
Expand description

Shared context threaded from daemon::run() through the Unix socket listener into each per-connection super::dispatch::RpcDispatcher.

Every subsystem handle the RPC layer might need lives here. Fields beyond config and sessions are Option so the context works in tests and minimal (kernel-only) daemon configurations.

Structsยง

ApprovalPendingMap
Registry for in-flight tool approval requests.
RpcContext
Daemon-wide state shared across all RPC connections.