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
Copy file name to clipboardExpand all lines: schema/schema.json
+48-1Lines changed: 48 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1071,6 +1071,31 @@
1071
1071
],
1072
1072
"type": "object"
1073
1073
},
1074
+
"Implementation": {
1075
+
"description": "Describes the name and version of an MCP implementation, with an optional\ntitle for UI representation.",
1076
+
"properties": {
1077
+
"name": {
1078
+
"description": "Intended for programmatic or logical use, but can be used as a display\nname fallback if title isn\u2019t present.",
1079
+
"type": "string"
1080
+
},
1081
+
"title": {
1082
+
"description": "Intended for UI and end-user contexts \u2014 optimized to be human-readable\nand easily understood.\n\nIf not provided, the name should be used for display.",
1083
+
"type": [
1084
+
"string",
1085
+
"null"
1086
+
]
1087
+
},
1088
+
"version": {
1089
+
"description": "Version of the implementation. Can be displayed to the user or used\nfor debugging or metrics purposes.",
1090
+
"type": "string"
1091
+
}
1092
+
},
1093
+
"required": [
1094
+
"name",
1095
+
"version"
1096
+
],
1097
+
"type": "object"
1098
+
},
1074
1099
"InitializeRequest": {
1075
1100
"description": "Request parameters for the initialize method.\n\nSent by the client to establish connection and negotiate capabilities.\n\nSee protocol docs: [Initialization](https://agentclientprotocol.com/protocol/initialization)",
1076
1101
"properties": {
@@ -1088,6 +1113,17 @@
1088
1113
},
1089
1114
"description": "Capabilities supported by the client."
1090
1115
},
1116
+
"clientInfo": {
1117
+
"anyOf": [
1118
+
{
1119
+
"$ref": "#/$defs/Implementation"
1120
+
},
1121
+
{
1122
+
"type": "null"
1123
+
}
1124
+
],
1125
+
"description": "Information about the Client name and version sent to the Agent.\n\nNote: in future versions of the protocol, this will be required."
1126
+
},
1091
1127
"protocolVersion": {
1092
1128
"$ref": "#/$defs/ProtocolVersion",
1093
1129
"description": "The latest protocol version supported by the client."
@@ -1122,6 +1158,17 @@
1122
1158
},
1123
1159
"description": "Capabilities supported by the agent."
1124
1160
},
1161
+
"agentInfo": {
1162
+
"anyOf": [
1163
+
{
1164
+
"$ref": "#/$defs/Implementation"
1165
+
},
1166
+
{
1167
+
"type": "null"
1168
+
}
1169
+
],
1170
+
"description": "Information about the Agent name and version sent to the Client.\n\nNote: in future versions of the protocol, this will be required."
1171
+
},
1125
1172
"authMethods": {
1126
1173
"default": [],
1127
1174
"description": "Authentication methods supported by the agent.",
@@ -2304,7 +2351,7 @@
2304
2351
"SetSessionModeResponse": {
2305
2352
"description": "Response to `session/set_mode` method.",
Copy file name to clipboardExpand all lines: src/acp/schema.py
+49-2Lines changed: 49 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# Generated from schema/schema.json. Do not edit by hand.
2
-
# Schema ref: refs/tags/v0.5.0
2
+
# Schema ref: refs/tags/v0.6.2
3
3
4
4
from __future__ importannotations
5
5
@@ -151,6 +151,35 @@ class HttpHeader(BaseModel):
151
151
value: Annotated[str, Field(description="The value to set for the HTTP header.")]
152
152
153
153
154
+
classImplementation(BaseModel):
155
+
# Intended for programmatic or logical use, but can be used as a display
156
+
# name fallback if title isn’t present.
157
+
name: Annotated[
158
+
str,
159
+
Field(
160
+
description="Intended for programmatic or logical use, but can be used as a display\nname fallback if title isn’t present."
161
+
),
162
+
]
163
+
# Intended for UI and end-user contexts — optimized to be human-readable
164
+
# and easily understood.
165
+
#
166
+
# If not provided, the name should be used for display.
167
+
title: Annotated[
168
+
Optional[str],
169
+
Field(
170
+
description="Intended for UI and end-user contexts — optimized to be human-readable\nand easily understood.\n\nIf not provided, the name should be used for display."
171
+
),
172
+
] =None
173
+
# Version of the implementation. Can be displayed to the user or used
174
+
# for debugging or metrics purposes.
175
+
version: Annotated[
176
+
str,
177
+
Field(
178
+
description="Version of the implementation. Can be displayed to the user or used\nfor debugging or metrics purposes."
179
+
),
180
+
]
181
+
182
+
154
183
classKillTerminalCommandResponse(BaseModel):
155
184
# Extension point for implementations
156
185
field_meta: Annotated[
@@ -349,7 +378,7 @@ class SetSessionModeRequest(BaseModel):
0 commit comments