Skip to main content

Module kernel_api

Module kernel_api 

Source
Expand description

Kernel management API request and response types.

These types describe the CLI ↔ daemon RPC surface (admin requests, status queries, capsule lifecycle ops). They live in astrid-core because they reference PrincipalId and Quotas from this crate.

Capsule-facing IPC types live in astrid-types (which intentionally has no dependency on astrid-core — it must compile on wasm32-unknown-unknown without dragging in the kernel).

Structs§

AdminKernelRequest
Admin management API request wrapper carrying an optional client correlation ID and the typed request kind.
AdminKernelResponse
Admin management API response wrapper carrying the echoed correlation ID and the typed response body.
AgentSummary
Summary of an agent principal returned by [AdminKernelRequest::AgentList].
CapsuleMetadataEntry
Metadata entry for a loaded capsule.
CommandInfo
Information about a registered slash command.
DaemonStatus
Daemon runtime status information.
GroupSummary
Summary of a group returned by [AdminKernelRequest::GroupList].
PrincipalConnectionCount
Per-principal connection count entry on DaemonStatus.

Enums§

AdminRequestKind
Typed admin request body — flattened into AdminKernelRequest on the wire as { "method": "...", "params": {...} }.
AdminResponseBody
Typed admin response body.
KernelRequest
Management API requests directed at the core daemon.
KernelResponse
Management API responses from the core daemon.

Constants§

SYSTEM_SESSION_UUID
The well-known system session UUID string used by the background daemon.