Skip to main content

Module event

Module event 

Source
Expand description

Event resource types and the EventResource struct.

Events are delivered via Server-Sent Events (SSE). The EventResource will expose a streaming list() method once SSE support is wired up (Task 3.1). For now only the data types are defined.

Structs§

CommandExecutedProps
Properties for EventListResponse::CommandExecuted.
EmptyProps
Empty properties payload for events with no extra data.
EventResource
Resource accessor for the /event SSE endpoint.
FileEditedProps
Properties for EventListResponse::FileEdited.
FileWatcherUpdatedProps
Properties for EventListResponse::FileWatcherUpdated.
InstallationUpdateAvailableProps
Properties for EventListResponse::InstallationUpdateAvailable.
InstallationUpdatedProps
Properties for EventListResponse::InstallationUpdated.
LspClientDiagnosticsProps
Properties for EventListResponse::LspClientDiagnostics.
McpBrowserOpenFailedProps
Properties for EventListResponse::McpBrowserOpenFailed.
McpToolsChangedProps
Properties for EventListResponse::McpToolsChanged.
MessagePartDeltaProps
Properties for EventListResponse::MessagePartDelta.
MessagePartRemovedProps
Properties for EventListResponse::MessagePartRemoved.
MessagePartUpdatedProps
Properties for EventListResponse::MessagePartUpdated.
MessageRemovedProps
Properties for EventListResponse::MessageRemoved.
MessageUpdatedProps
Properties for EventListResponse::MessageUpdated.
PermissionRepliedProps
Properties for EventListResponse::PermissionReplied.
ProjectUpdatedProps
Properties for EventListResponse::ProjectUpdated.
Pty
A pseudo-terminal (PTY) descriptor.
PtyCreatedProps
Properties for EventListResponse::PtyCreated.
PtyDeletedProps
Properties for EventListResponse::PtyDeleted.
PtyExitedProps
Properties for EventListResponse::PtyExited.
PtyUpdatedProps
Properties for EventListResponse::PtyUpdated.
QuestionRejectedProps
Properties for EventListResponse::QuestionRejected.
QuestionRepliedProps
Properties for EventListResponse::QuestionReplied.
ServerInstanceDisposedProps
Properties for EventListResponse::ServerInstanceDisposed.
SessionCompactedProps
Properties for EventListResponse::SessionCompacted.
SessionCreatedProps
Properties for EventListResponse::SessionCreated.
SessionDeletedProps
Properties for EventListResponse::SessionDeleted.
SessionDiffProps
Properties for EventListResponse::SessionDiff.
SessionErrorProps
Properties for EventListResponse::SessionError.
SessionIdleProps
Properties for EventListResponse::SessionIdle.
SessionStatusProps
Properties for EventListResponse::SessionStatus.
SessionUpdatedProps
Properties for EventListResponse::SessionUpdated.
Todo
A single to-do item.
TodoUpdatedProps
Properties for EventListResponse::TodoUpdated.
TuiCommandExecuteProps
Properties for EventListResponse::TuiCommandExecute.
TuiPromptAppendProps
Properties for EventListResponse::TuiPromptAppend.
TuiSessionSelectProps
Properties for EventListResponse::TuiSessionSelect.
TuiToastShowProps
Properties for EventListResponse::TuiToastShow.
VcsBranchUpdatedProps
Properties for EventListResponse::VcsBranchUpdated.
WorktreeFailedProps
Properties for EventListResponse::WorktreeFailed.
WorktreeReadyProps
Properties for EventListResponse::WorktreeReady.

Enums§

EventListResponse
A single event from the /event SSE stream.
FileWatcherEvent
Kind of file-watcher event.
PermissionReply
Reply action for a permission request.
PtyStatus
Status of a PTY process.
ToastVariant
Variant for a TUI toast notification.