You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new session_info_update variant to the SessionUpdate discriminated
union, allowing agents to notify clients about session metadata changes
(title, timestamps, custom metadata) in real-time.
Copy file name to clipboardExpand all lines: schema/schema.json
+35Lines changed: 35 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2067,6 +2067,25 @@
2067
2067
"description": "A unique identifier for a conversation session between a client and agent.\n\nSessions maintain their own context, conversation history, and state,\nallowing multiple independent interactions with the same agent.\n\nSee protocol docs: [Session ID](https://agentclientprotocol.com/protocol/session-setup#session-id)",
2068
2068
"type": "string"
2069
2069
},
2070
+
"SessionInfoUpdate": {
2071
+
"description": "Update to session metadata. All fields are optional to support partial updates.\n\nAgents send this notification to update session information like title or custom metadata.\nThis allows clients to display dynamic session names and track session state changes.",
2072
+
"properties": {
2073
+
"_meta": {
2074
+
"additionalProperties": true,
2075
+
"description": "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)",
2076
+
"type": ["object", "null"]
2077
+
},
2078
+
"title": {
2079
+
"description": "Human-readable title for the session. Set to null to clear.",
2080
+
"type": ["string", "null"]
2081
+
},
2082
+
"updatedAt": {
2083
+
"description": "ISO 8601 timestamp of last activity. Set to null to clear.",
2084
+
"type": ["string", "null"]
2085
+
}
2086
+
},
2087
+
"type": "object"
2088
+
},
2070
2089
"SessionMode": {
2071
2090
"description": "A mode the agent can operate in.\n\nSee protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes)",
2072
2091
"properties": {
@@ -2282,6 +2301,22 @@
2282
2301
},
2283
2302
"required": ["sessionUpdate"],
2284
2303
"type": "object"
2304
+
},
2305
+
{
2306
+
"allOf": [
2307
+
{
2308
+
"$ref": "#/$defs/SessionInfoUpdate"
2309
+
}
2310
+
],
2311
+
"description": "Session metadata has been updated (title, timestamps, custom metadata)",
0 commit comments