struct
ACP::Protocol::StatusUpdate
- ACP::Protocol::StatusUpdate
- ACP::Protocol::SessionUpdate
- Struct
- Value
- Object
Overview
Indicates a change in the agent's high-level status.
NOTE Not part of the ACP spec.
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/updates.crConstructors
-
.new(pull : JSON::PullParser)
Indicates a change in the agent's high-level status.
- .new(status : String, message : String | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil)
Instance Method Summary
-
#message : String | Nil
Optional human-readable message providing more context.
-
#message=(message : String | Nil)
Optional human-readable message providing more context.
-
#meta : Hash(String, JSON::Any) | Nil
Extension metadata.
-
#meta=(meta : Hash(String, JSON::Any) | Nil)
Extension metadata.
-
#status : String
The new status label (e.g., "thinking", "working", "idle").
-
#status=(status : String)
The new status label (e.g., "thinking", "working", "idle").
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.
def self.new(status : String, message : String | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil)
#