struct
ACP::Protocol::SessionInfoUpdate
- ACP::Protocol::SessionInfoUpdate
- ACP::Protocol::SessionUpdate
- Struct
- Value
- Object
Overview
Notification that session metadata has changed (e.g., title or timestamp). Agents send this to inform the client of changes to the session's human-readable metadata. See: https://agentclientprotocol.com/protocol/session-setup
Included Modules
- JSON::Serializable
Defined in:
acp/protocol/updates.crConstructors
-
.new(pull : JSON::PullParser)
Notification that session metadata has changed (e.g., title or timestamp).
- .new(title : String | Nil = nil, updated_at : String | Nil = nil, meta : Hash(String, JSON::Any) | Nil = nil)
Instance Method Summary
-
#meta : Hash(String, JSON::Any) | Nil
Extension metadata.
-
#meta=(meta : Hash(String, JSON::Any) | Nil)
Extension metadata.
-
#title : String | Nil
Human-readable title for the session.
-
#title=(title : String | Nil)
Human-readable title for the session.
-
#updated_at : String | Nil
ISO 8601 timestamp of last activity.
-
#updated_at=(updated_at : String | Nil)
ISO 8601 timestamp of last activity.
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
Notification that session metadata has changed (e.g., title or timestamp). Agents send this to inform the client of changes to the session's human-readable metadata. See: https://agentclientprotocol.com/protocol/session-setup
Instance Method Detail
Human-readable title for the session. May be set by the agent based on conversation content (e.g., a summary of the first prompt).
Human-readable title for the session. May be set by the agent based on conversation content (e.g., a summary of the first prompt).