Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/agentpool_server/opencode_server/models/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,13 @@ class CommandExecutedProperties(SessionIdProperties):


class CommandExecutedEvent(OpenCodeBaseModel):
"""Command executed event - emitted after a slash command runs."""
"""Command executed event - emitted after a slash command is dispatched.

For non-skill commands (e.g. /help), this is emitted after the command
completes. For skill commands (category=='skill'), this is emitted after
routing (dispatch), not after the model response — the response arrives
via SSE events (PartUpdatedEvent, MessageUpdatedEvent, etc.).
"""

type: Literal["command.executed"] = Field(default="command.executed", init=False)
properties: CommandExecutedProperties
Expand Down
Loading
Loading