Public declaration syntax from harness-sdk/src/runtime/event.rs Original source SHA-256: 705f0311601b3dc303e3f197d8a9712ed80b2a68efc95358939b33c3749759f3 Function bodies and constant values are omitted. This is not the complete implementation. Source line 14 #[derive(Debug)] pub enum AppEvent { /// A terminal event (keyboard, mouse, resize). Terminal(CrosstermEvent), /// A response chunk from the adapter's response stream. AdapterResponse(ResponseChunk), /// An autonomy event from the adapter's autonomy stream. Autonomy(AutonomyEvent), /// An approval decision from the user. ApprovalDecision { /// The approval request ID. request_id: String, /// The user's decision. action: SdkApprovalAction, }, /// A tick event for animations and elapsed time updates. Tick, /// A shutdown signal was received. Shutdown, } Source line 42 #[must_use] pub fn is_shutdown(&self) -> bool; Source line 48 #[must_use] pub fn is_terminal(&self) -> bool;