struct ACP::Protocol::StatusUpdate

Overview

Indicates a change in the agent's high-level status.

NOTE Not part of the ACP spec.

Included Modules

Defined in:

acp/protocol/updates.cr

Constructors

Instance Method Summary

Instance methods inherited from struct ACP::Protocol::SessionUpdate

session_update : String session_update, session_update=(session_update : String) session_update=, type : String type

Constructor methods inherited from struct ACP::Protocol::SessionUpdate

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

Indicates a change in the agent's high-level status.

NOTE Not part of the ACP spec.


[View source]
def self.new(status : String, message : String | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil) #

[View source]

Instance Method Detail

def message : String | Nil #

Optional human-readable message providing more context.


[View source]
def message=(message : String | Nil) #

Optional human-readable message providing more context.


[View source]
def meta : Hash(String, JSON::Any) | Nil #

Extension metadata.


[View source]
def meta=(meta : Hash(String, JSON::Any) | Nil) #

Extension metadata.


[View source]
def status : String #

The new status label (e.g., "thinking", "working", "idle").


[View source]
def status=(status : String) #

The new status label (e.g., "thinking", "working", "idle").


[View source]