Skip to main content

Module context_os

Module context_os 

Source

Re-exports§

pub use redaction::redact_event_payload;
pub use redaction::RedactionLevel;

Modules§

redaction

Structs§

ContextBus
ContextEventV1
ContextOsMetrics
Process-local metrics for Context OS observability.
ContextOsRuntime
Shared runtime backing Context OS features (shared sessions + event bus).
FilteredSubscription
A subscription wrapper that applies a TopicFilter to received events.
MetricsSnapshot
SharedSessionKey
SharedSessionStore
TopicFilter
Filter for selective event subscriptions. All fields are optional; None means “accept all”.

Enums§

ConsistencyLevel
Consistency requirement for shared context events. Ordered from least to most strict for filtering comparisons.
ContextEventKindV1
SubscriptionKind
Wraps either a plain broadcast::Receiver or a FilteredSubscription so the SSE route can handle both with the same code path.

Functions§

emit_directed_event
Emit an event directed at specific agents only.
emit_event
Convenience: append an event to the global bus with metrics tracking.
runtime
secondary_event_kind
Classify a tool name into a secondary event kind (beyond ToolCallRecorded).