Skip to documentation
SLOP

tiny.acp.UpdateKind

Reference tiny.acp UpdateKind

Defined in protocol.

The kind of one progress report (session update), read from the report's sessionUpdate name, so the caller switches on the kind of each progress report the agent sends.

API (12)

Fields and members

Public fields and members.

No direct callersNo direct callsprotocolUpdateKind
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/acp/src/protocol.zig:252

zig
/// The kind of one progress report (session update), read from the report's `sessionUpdate` name,/// so the caller switches on the kind of each progress report the agent sends. Eleven tags carry/// the eleven names the package test replays, one each, and every other name maps to `other`.pub const UpdateKind = enum {    /// The name `user_message_chunk`: a piece of a user message, with its text in `content.text`.    user_message_chunk,    /// The name `agent_message_chunk`: a piece of the agent's reply, with its text in    /// `content.text`. This tag is the only kind whose text the client adds to the reply.    agent_message_chunk,    /// The name `agent_thought_chunk`: a piece of the agent's thinking, with its text in    /// `content.text`.    agent_thought_chunk,    /// The name `tool_call`: a new tool call, with `toolCallId`, `title`, `kind` and `status`.    tool_call,    /// The name `tool_call_update`: a change to a tool call, with its `toolCallId` and new    /// `status`.    tool_call_update,    /// The name `plan`: the agent's plan, a list of `entries` each with `content` and `status`.    plan,    /// The name `available_commands_update`: the commands the agent offers, in `availableCommands`.    available_commands_update,    /// The name `current_mode_update`: the session's mode changed, with the new id in    /// `currentModeId`.    current_mode_update,    /// The name `config_option_update`: a change to the agent's `configOptions` list.    config_option_update,    /// The name `session_info_update`: session details such as `title` and `updatedAt`.    session_info_update,    /// The name `usage_update`: usage figures in `used` and `size`.    usage_update,    /// Any other name, which stays in `Update.name`.    other,};

Source: lib/acp/src/root.zig:93

zig
pub const UpdateKind = protocol.UpdateKind;

Audit

Definitions1
Public names2
Members12
Version26.7.0
Revisiondaab053ee433