Module: Pikuri::Agent::Event

Defined in:
lib/pikuri/agent/event.rb

Overview

Sealed value-object hierarchy for the +Agent+'s normalized event stream. Listeners consume every variant through one Listener::Base#on_event and +case+-match on it.

"Sealed" scopes the loop-narration vocabulary: the variants below are the complete set, all emitted by Pikuri::Agent, and new chat-loop observability belongs here. Gems define their own domain events in their own namespace (e.g. Pikuri::Tasks::ListChanged) and emit them via Pikuri::Agent::ExtensionContext#emit_event onto the same stream; listeners must no-op on variants they don't recognize.

Defined Under Namespace

Modules: Transient Classes: Assistant, AssistantDelta, Cancelled, ContextCap, FallbackNotice, HistoryLoaded, ModelSwitched, Reset, SystemInjected, Thinking, ThinkingDelta, Tokens, ToolCall, ToolResult, UserTurn