struct
ACP::Protocol::CurrentModeUpdate
- ACP::Protocol::CurrentModeUpdate
- ACP::Protocol::SessionUpdate
- Struct
- Value
- Object
Overview
Notification that the current session mode has changed. See: https://agentclientprotocol.com/protocol/session-modes#from-the-agent
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/updates.crConstructors
-
.new(pull : JSON::PullParser)
Notification that the current session mode has changed.
- .new(current_mode_id : String, meta : Hash(String, JSON::Any) | Nil = nil)
Instance Method Summary
-
#current_mode_id : String
The ID of the current mode.
-
#current_mode_id=(current_mode_id : String)
The ID of the current mode.
-
#meta : Hash(String, JSON::Any) | Nil
Extension metadata.
-
#meta=(meta : Hash(String, JSON::Any) | Nil)
Extension metadata.
-
#mode_id : String
Backward-compatible alias.
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)
#
Notification that the current session mode has changed. See: https://agentclientprotocol.com/protocol/session-modes#from-the-agent