struct ACP::Protocol::SessionInfoUpdate

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

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) #

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


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

[View source]

Instance Method Detail

def meta : Hash(String, JSON::Any) | Nil #

Extension metadata.


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

Extension metadata.


[View source]
def title : String | Nil #

Human-readable title for the session. May be set by the agent based on conversation content (e.g., a summary of the first prompt).


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

Human-readable title for the session. May be set by the agent based on conversation content (e.g., a summary of the first prompt).


[View source]
def updated_at : String | Nil #

ISO 8601 timestamp of last activity.


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

ISO 8601 timestamp of last activity.


[View source]