@tickernelz/paperclip-pro-adapter-utils 2026.1001.2 → 2026.1002.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@agentclientprotocol/sdk/dist/acp.d.ts +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/acp.js +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/acp.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/acp.test.js +8 -31
- package/node_modules/@agentclientprotocol/sdk/dist/acp.test.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.d.ts +60 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.js +55 -0
- package/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/schema/index.d.ts +1 -3
- package/node_modules/@agentclientprotocol/sdk/dist/schema/index.js +0 -2
- package/node_modules/@agentclientprotocol/sdk/dist/schema/index.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/schema/types.gen.d.ts +428 -114
- package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.d.ts +3516 -1530
- package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js +256 -78
- package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.d.ts +0 -7
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js +0 -6
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.js +19 -7
- package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.d.ts +52 -36
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js +62 -35
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.d.ts +1 -3
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.js +0 -2
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/types.gen.d.ts +394 -188
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.d.ts +4535 -464
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.js +236 -117
- package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.js.map +1 -1
- package/node_modules/@agentclientprotocol/sdk/package.json +1 -1
- package/node_modules/@agentclientprotocol/sdk/schema/schema.json +591 -193
- package/node_modules/@agentclientprotocol/sdk/schema/v2/schema.unstable.json +547 -303
- package/package.json +2 -2
|
@@ -222,15 +222,6 @@
|
|
|
222
222
|
}
|
|
223
223
|
]
|
|
224
224
|
},
|
|
225
|
-
{
|
|
226
|
-
"title": "ConnectMcpRequest",
|
|
227
|
-
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nOpens an MCP-over-ACP connection.",
|
|
228
|
-
"allOf": [
|
|
229
|
-
{
|
|
230
|
-
"$ref": "#/$defs/ConnectMcpRequest"
|
|
231
|
-
}
|
|
232
|
-
]
|
|
233
|
-
},
|
|
234
225
|
{
|
|
235
226
|
"title": "MessageMcpRequest",
|
|
236
227
|
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nExchanges an MCP-over-ACP message.",
|
|
@@ -240,15 +231,6 @@
|
|
|
240
231
|
}
|
|
241
232
|
]
|
|
242
233
|
},
|
|
243
|
-
{
|
|
244
|
-
"title": "DisconnectMcpRequest",
|
|
245
|
-
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nCloses an MCP-over-ACP connection.",
|
|
246
|
-
"allOf": [
|
|
247
|
-
{
|
|
248
|
-
"$ref": "#/$defs/DisconnectMcpRequest"
|
|
249
|
-
}
|
|
250
|
-
]
|
|
251
|
-
},
|
|
252
234
|
{
|
|
253
235
|
"title": "ExtMethodRequest",
|
|
254
236
|
"description": "Handles extension method requests from the agent.\n\nAllows the Agent to send an arbitrary request that is not part of the ACP spec.\nExtension methods provide a way to add custom functionality while maintaining\nprotocol compatibility.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)",
|
|
@@ -2193,42 +2175,23 @@
|
|
|
2193
2175
|
],
|
|
2194
2176
|
"required": ["elicitationId", "url"]
|
|
2195
2177
|
},
|
|
2196
|
-
"
|
|
2197
|
-
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nRequest parameters for `mcp/
|
|
2178
|
+
"MessageMcpRequest": {
|
|
2179
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nRequest parameters for `mcp/message`.",
|
|
2198
2180
|
"type": "object",
|
|
2199
2181
|
"properties": {
|
|
2200
2182
|
"serverId": {
|
|
2201
|
-
"description": "The ACP MCP server
|
|
2183
|
+
"description": "The declared ACP MCP server receiving this request.",
|
|
2202
2184
|
"allOf": [
|
|
2203
2185
|
{
|
|
2204
2186
|
"$ref": "#/$defs/McpServerAcpId"
|
|
2205
2187
|
}
|
|
2206
2188
|
]
|
|
2207
2189
|
},
|
|
2208
|
-
"
|
|
2209
|
-
"description": "The
|
|
2210
|
-
"type": ["object", "null"],
|
|
2211
|
-
"x-deserialize-default-on-error": true,
|
|
2212
|
-
"additionalProperties": true
|
|
2213
|
-
}
|
|
2214
|
-
},
|
|
2215
|
-
"required": ["serverId"],
|
|
2216
|
-
"x-side": "client",
|
|
2217
|
-
"x-method": "mcp/connect"
|
|
2218
|
-
},
|
|
2219
|
-
"McpServerAcpId": {
|
|
2220
|
-
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nUnique identifier for an MCP server using the ACP transport.\n\nThe value is opaque and generated by the ACP component providing the MCP server. It is\nused by `mcp/connect` to route connection requests back to the component that declared the\nserver.",
|
|
2221
|
-
"type": "string"
|
|
2222
|
-
},
|
|
2223
|
-
"MessageMcpRequest": {
|
|
2224
|
-
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nRequest parameters for `mcp/message`.",
|
|
2225
|
-
"type": "object",
|
|
2226
|
-
"properties": {
|
|
2227
|
-
"connectionId": {
|
|
2228
|
-
"description": "The MCP-over-ACP connection this message is sent on.",
|
|
2190
|
+
"requestId": {
|
|
2191
|
+
"description": "The caller-generated identifier for the inner MCP request.",
|
|
2229
2192
|
"allOf": [
|
|
2230
2193
|
{
|
|
2231
|
-
"$ref": "#/$defs/
|
|
2194
|
+
"$ref": "#/$defs/McpRequestId"
|
|
2232
2195
|
}
|
|
2233
2196
|
]
|
|
2234
2197
|
},
|
|
@@ -2248,36 +2211,17 @@
|
|
|
2248
2211
|
"additionalProperties": true
|
|
2249
2212
|
}
|
|
2250
2213
|
},
|
|
2251
|
-
"required": ["
|
|
2252
|
-
"x-side": "
|
|
2214
|
+
"required": ["serverId", "requestId", "method"],
|
|
2215
|
+
"x-side": "client",
|
|
2253
2216
|
"x-method": "mcp/message"
|
|
2254
2217
|
},
|
|
2255
|
-
"
|
|
2256
|
-
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\
|
|
2218
|
+
"McpServerAcpId": {
|
|
2219
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nUnique identifier for an MCP server using the ACP transport.\n\nThe value is opaque and generated by the ACP component providing the MCP server. It is\nused by `mcp/message` to route requests to the component that declared the server.",
|
|
2257
2220
|
"type": "string"
|
|
2258
2221
|
},
|
|
2259
|
-
"
|
|
2260
|
-
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\
|
|
2261
|
-
"type": "
|
|
2262
|
-
"properties": {
|
|
2263
|
-
"connectionId": {
|
|
2264
|
-
"description": "The MCP-over-ACP connection to close.",
|
|
2265
|
-
"allOf": [
|
|
2266
|
-
{
|
|
2267
|
-
"$ref": "#/$defs/McpConnectionId"
|
|
2268
|
-
}
|
|
2269
|
-
]
|
|
2270
|
-
},
|
|
2271
|
-
"_meta": {
|
|
2272
|
-
"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)",
|
|
2273
|
-
"type": ["object", "null"],
|
|
2274
|
-
"x-deserialize-default-on-error": true,
|
|
2275
|
-
"additionalProperties": true
|
|
2276
|
-
}
|
|
2277
|
-
},
|
|
2278
|
-
"required": ["connectionId"],
|
|
2279
|
-
"x-side": "client",
|
|
2280
|
-
"x-method": "mcp/disconnect"
|
|
2222
|
+
"McpRequestId": {
|
|
2223
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nIdentifies an inner MCP request active against a server on this ACP connection.\n\nGenerated by the caller and preserved unchanged by proxies. This is distinct\nfrom the outer ACP JSON-RPC request ID.",
|
|
2224
|
+
"type": "string"
|
|
2281
2225
|
},
|
|
2282
2226
|
"ExtRequest": {
|
|
2283
2227
|
"description": "Allows for sending an arbitrary request that is not part of the ACP spec.\nExtension methods provide a way to add custom functionality while maintaining\nprotocol compatibility.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)"
|
|
@@ -2480,15 +2424,6 @@
|
|
|
2480
2424
|
"$ref": "#/$defs/ExtResponse"
|
|
2481
2425
|
}
|
|
2482
2426
|
]
|
|
2483
|
-
},
|
|
2484
|
-
{
|
|
2485
|
-
"title": "MessageMcpResponse",
|
|
2486
|
-
"description": "Successful result returned by an MCP-over-ACP `mcp/message` request.",
|
|
2487
|
-
"allOf": [
|
|
2488
|
-
{
|
|
2489
|
-
"$ref": "#/$defs/MessageMcpResponse"
|
|
2490
|
-
}
|
|
2491
|
-
]
|
|
2492
2427
|
}
|
|
2493
2428
|
]
|
|
2494
2429
|
}
|
|
@@ -4787,11 +4722,6 @@
|
|
|
4787
4722
|
"ExtResponse": {
|
|
4788
4723
|
"description": "Allows for sending an arbitrary response to an [`ExtRequest`] that is not part of the ACP spec.\nExtension methods provide a way to add custom functionality while maintaining\nprotocol compatibility.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)"
|
|
4789
4724
|
},
|
|
4790
|
-
"MessageMcpResponse": {
|
|
4791
|
-
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nResponse to `mcp/message`.\n\nThis is the inner MCP response result payload. Any JSON value is valid.",
|
|
4792
|
-
"x-side": "both",
|
|
4793
|
-
"x-method": "mcp/message"
|
|
4794
|
-
},
|
|
4795
4725
|
"Error": {
|
|
4796
4726
|
"description": "JSON-RPC error object.\n\nRepresents an error that occurred during method execution, following the\nJSON-RPC 2.0 error object specification with optional additional data.\n\nSee protocol docs: [JSON-RPC Error Object](https://www.jsonrpc.org/specification#error_object)",
|
|
4797
4727
|
"type": "object",
|
|
@@ -4914,15 +4844,6 @@
|
|
|
4914
4844
|
}
|
|
4915
4845
|
]
|
|
4916
4846
|
},
|
|
4917
|
-
{
|
|
4918
|
-
"title": "MessageMcpNotification",
|
|
4919
|
-
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nReceives an MCP-over-ACP notification.",
|
|
4920
|
-
"allOf": [
|
|
4921
|
-
{
|
|
4922
|
-
"$ref": "#/$defs/MessageMcpNotification"
|
|
4923
|
-
}
|
|
4924
|
-
]
|
|
4925
|
-
},
|
|
4926
4847
|
{
|
|
4927
4848
|
"title": "ExtNotification",
|
|
4928
4849
|
"description": "Handles extension notifications from the agent.\n\nAllows the Agent to send an arbitrary notification that is not part of the ACP spec.\nExtension notifications provide a way to send one-way messages for custom functionality\nwhile maintaining protocol compatibility.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)",
|
|
@@ -5232,6 +5153,54 @@
|
|
|
5232
5153
|
"$ref": "#/$defs/CompactionSummaryChunk"
|
|
5233
5154
|
}
|
|
5234
5155
|
]
|
|
5156
|
+
},
|
|
5157
|
+
{
|
|
5158
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nAnnounces a child session created and owned by this session, or updates\nthat ownership association's metadata.",
|
|
5159
|
+
"type": "object",
|
|
5160
|
+
"properties": {
|
|
5161
|
+
"sessionUpdate": {
|
|
5162
|
+
"type": "string",
|
|
5163
|
+
"const": "subagent_update"
|
|
5164
|
+
}
|
|
5165
|
+
},
|
|
5166
|
+
"required": ["sessionUpdate"],
|
|
5167
|
+
"allOf": [
|
|
5168
|
+
{
|
|
5169
|
+
"$ref": "#/$defs/SubagentUpdate"
|
|
5170
|
+
}
|
|
5171
|
+
]
|
|
5172
|
+
},
|
|
5173
|
+
{
|
|
5174
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nA message upsert observed in this session's transcript, sent to or\nreceived from another session.",
|
|
5175
|
+
"type": "object",
|
|
5176
|
+
"properties": {
|
|
5177
|
+
"sessionUpdate": {
|
|
5178
|
+
"type": "string",
|
|
5179
|
+
"const": "session_message"
|
|
5180
|
+
}
|
|
5181
|
+
},
|
|
5182
|
+
"required": ["sessionUpdate"],
|
|
5183
|
+
"allOf": [
|
|
5184
|
+
{
|
|
5185
|
+
"$ref": "#/$defs/SessionMessage"
|
|
5186
|
+
}
|
|
5187
|
+
]
|
|
5188
|
+
},
|
|
5189
|
+
{
|
|
5190
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nOne content block appended to a sent or received session message.",
|
|
5191
|
+
"type": "object",
|
|
5192
|
+
"properties": {
|
|
5193
|
+
"sessionUpdate": {
|
|
5194
|
+
"type": "string",
|
|
5195
|
+
"const": "session_message_chunk"
|
|
5196
|
+
}
|
|
5197
|
+
},
|
|
5198
|
+
"required": ["sessionUpdate"],
|
|
5199
|
+
"allOf": [
|
|
5200
|
+
{
|
|
5201
|
+
"$ref": "#/$defs/SessionMessageChunk"
|
|
5202
|
+
}
|
|
5203
|
+
]
|
|
5235
5204
|
}
|
|
5236
5205
|
],
|
|
5237
5206
|
"discriminator": {
|
|
@@ -5998,83 +5967,446 @@
|
|
|
5998
5967
|
},
|
|
5999
5968
|
"required": ["compactionId", "content"]
|
|
6000
5969
|
},
|
|
6001
|
-
"
|
|
6002
|
-
"description": "
|
|
5970
|
+
"SubagentSessionCapabilities": {
|
|
5971
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nClient-initiated session mutations permitted for a specific subagent session.\n\nA mutation requires an explicit per-child capability; support for the method\non ordinary sessions does not grant support on a child.",
|
|
6003
5972
|
"type": "object",
|
|
6004
5973
|
"properties": {
|
|
6005
|
-
"
|
|
6006
|
-
"description": "
|
|
6007
|
-
"
|
|
5974
|
+
"cancel": {
|
|
5975
|
+
"description": "Permits the client to cancel this child's current work without ending\nthe session. Omitted or `null` means unsupported; an object (including\n`{}`) means supported.",
|
|
5976
|
+
"anyOf": [
|
|
6008
5977
|
{
|
|
6009
|
-
"$ref": "#/$defs/
|
|
5978
|
+
"$ref": "#/$defs/SessionCancelCapabilities"
|
|
5979
|
+
},
|
|
5980
|
+
{
|
|
5981
|
+
"type": "null"
|
|
6010
5982
|
}
|
|
6011
|
-
]
|
|
5983
|
+
],
|
|
5984
|
+
"x-deserialize-default-on-error": true
|
|
6012
5985
|
},
|
|
6013
5986
|
"_meta": {
|
|
6014
|
-
"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
|
|
5987
|
+
"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.",
|
|
6015
5988
|
"type": ["object", "null"],
|
|
6016
5989
|
"x-deserialize-default-on-error": true,
|
|
6017
5990
|
"additionalProperties": true
|
|
6018
5991
|
}
|
|
6019
|
-
}
|
|
6020
|
-
"required": ["elicitationId"],
|
|
6021
|
-
"x-side": "client",
|
|
6022
|
-
"x-method": "elicitation/complete"
|
|
5992
|
+
}
|
|
6023
5993
|
},
|
|
6024
|
-
"
|
|
6025
|
-
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\
|
|
5994
|
+
"SessionCancelCapabilities": {
|
|
5995
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nCapability to cancel work in a subagent session without ending that session.\n\nSupplying `{}` advertises support; an omitted or `null` `cancel` does not.",
|
|
6026
5996
|
"type": "object",
|
|
6027
5997
|
"properties": {
|
|
6028
|
-
"
|
|
6029
|
-
"description": "The
|
|
5998
|
+
"_meta": {
|
|
5999
|
+
"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)",
|
|
6000
|
+
"type": ["object", "null"],
|
|
6001
|
+
"x-deserialize-default-on-error": true,
|
|
6002
|
+
"additionalProperties": true
|
|
6003
|
+
}
|
|
6004
|
+
}
|
|
6005
|
+
},
|
|
6006
|
+
"StateUpdate": {
|
|
6007
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nCurrent foreground-work state of a reusable child session.\n\nEach update is a whole-object snapshot. Idle does not terminate the child;\nthe parent can message it again, transitioning it back to running.\nBackground activity may still emit other session updates while idle.",
|
|
6008
|
+
"anyOf": [
|
|
6009
|
+
{
|
|
6010
|
+
"description": "Foreground work is in progress.",
|
|
6011
|
+
"type": "object",
|
|
6012
|
+
"properties": {
|
|
6013
|
+
"state": {
|
|
6014
|
+
"type": "string",
|
|
6015
|
+
"const": "running"
|
|
6016
|
+
}
|
|
6017
|
+
},
|
|
6018
|
+
"required": ["state"],
|
|
6030
6019
|
"allOf": [
|
|
6031
6020
|
{
|
|
6032
|
-
"$ref": "#/$defs/
|
|
6021
|
+
"$ref": "#/$defs/RunningStateUpdate"
|
|
6033
6022
|
}
|
|
6034
6023
|
]
|
|
6035
6024
|
},
|
|
6036
|
-
|
|
6037
|
-
"description": "The
|
|
6038
|
-
"type": "
|
|
6025
|
+
{
|
|
6026
|
+
"description": "The child is ready to process another prompt.",
|
|
6027
|
+
"type": "object",
|
|
6028
|
+
"properties": {
|
|
6029
|
+
"state": {
|
|
6030
|
+
"type": "string",
|
|
6031
|
+
"const": "idle"
|
|
6032
|
+
}
|
|
6033
|
+
},
|
|
6034
|
+
"required": ["state"],
|
|
6035
|
+
"allOf": [
|
|
6036
|
+
{
|
|
6037
|
+
"$ref": "#/$defs/IdleStateUpdate"
|
|
6038
|
+
}
|
|
6039
|
+
]
|
|
6039
6040
|
},
|
|
6040
|
-
|
|
6041
|
-
"description": "
|
|
6042
|
-
"type":
|
|
6043
|
-
"
|
|
6044
|
-
|
|
6041
|
+
{
|
|
6042
|
+
"description": "Foreground work is blocked on user action.",
|
|
6043
|
+
"type": "object",
|
|
6044
|
+
"properties": {
|
|
6045
|
+
"state": {
|
|
6046
|
+
"type": "string",
|
|
6047
|
+
"const": "requires_action"
|
|
6048
|
+
}
|
|
6049
|
+
},
|
|
6050
|
+
"required": ["state"],
|
|
6051
|
+
"allOf": [
|
|
6052
|
+
{
|
|
6053
|
+
"$ref": "#/$defs/RequiresActionStateUpdate"
|
|
6054
|
+
}
|
|
6055
|
+
]
|
|
6056
|
+
},
|
|
6057
|
+
{
|
|
6058
|
+
"description": "The Agent cannot currently determine foreground activity.\n\nThis replaces previously confirmed activity without ending the work or session.",
|
|
6059
|
+
"type": "object",
|
|
6060
|
+
"properties": {
|
|
6061
|
+
"state": {
|
|
6062
|
+
"type": "string",
|
|
6063
|
+
"const": "unknown"
|
|
6064
|
+
}
|
|
6065
|
+
},
|
|
6066
|
+
"required": ["state"],
|
|
6067
|
+
"allOf": [
|
|
6068
|
+
{
|
|
6069
|
+
"$ref": "#/$defs/UnknownStateUpdate"
|
|
6070
|
+
}
|
|
6071
|
+
]
|
|
6045
6072
|
},
|
|
6073
|
+
{
|
|
6074
|
+
"title": "other",
|
|
6075
|
+
"description": "Custom or future state.\n\nValues beginning with `_` are reserved for implementation-specific\nextensions. Other unknown values are reserved for future ACP variants.",
|
|
6076
|
+
"type": "object",
|
|
6077
|
+
"properties": {
|
|
6078
|
+
"state": {
|
|
6079
|
+
"description": "Unrecognized state discriminator.",
|
|
6080
|
+
"type": "string"
|
|
6081
|
+
}
|
|
6082
|
+
},
|
|
6083
|
+
"required": ["state"],
|
|
6084
|
+
"not": {
|
|
6085
|
+
"anyOf": [
|
|
6086
|
+
{
|
|
6087
|
+
"type": "object",
|
|
6088
|
+
"properties": {
|
|
6089
|
+
"state": {
|
|
6090
|
+
"type": "string",
|
|
6091
|
+
"const": "running"
|
|
6092
|
+
}
|
|
6093
|
+
},
|
|
6094
|
+
"required": ["state"]
|
|
6095
|
+
},
|
|
6096
|
+
{
|
|
6097
|
+
"type": "object",
|
|
6098
|
+
"properties": {
|
|
6099
|
+
"state": {
|
|
6100
|
+
"type": "string",
|
|
6101
|
+
"const": "idle"
|
|
6102
|
+
}
|
|
6103
|
+
},
|
|
6104
|
+
"required": ["state"]
|
|
6105
|
+
},
|
|
6106
|
+
{
|
|
6107
|
+
"type": "object",
|
|
6108
|
+
"properties": {
|
|
6109
|
+
"state": {
|
|
6110
|
+
"type": "string",
|
|
6111
|
+
"const": "requires_action"
|
|
6112
|
+
}
|
|
6113
|
+
},
|
|
6114
|
+
"required": ["state"]
|
|
6115
|
+
},
|
|
6116
|
+
{
|
|
6117
|
+
"type": "object",
|
|
6118
|
+
"properties": {
|
|
6119
|
+
"state": {
|
|
6120
|
+
"type": "string",
|
|
6121
|
+
"const": "unknown"
|
|
6122
|
+
}
|
|
6123
|
+
},
|
|
6124
|
+
"required": ["state"]
|
|
6125
|
+
}
|
|
6126
|
+
]
|
|
6127
|
+
},
|
|
6128
|
+
"additionalProperties": true
|
|
6129
|
+
}
|
|
6130
|
+
]
|
|
6131
|
+
},
|
|
6132
|
+
"RunningStateUpdate": {
|
|
6133
|
+
"description": "Foreground work is in progress.",
|
|
6134
|
+
"type": "object",
|
|
6135
|
+
"properties": {
|
|
6046
6136
|
"_meta": {
|
|
6047
|
-
"description": "The _meta property is reserved by ACP
|
|
6137
|
+
"description": "The _meta property is reserved by ACP for additional metadata.\nImplementations MUST NOT make assumptions about values at these keys.\nOptional; omitted and `null` mean no metadata for this state snapshot.",
|
|
6048
6138
|
"type": ["object", "null"],
|
|
6049
6139
|
"x-deserialize-default-on-error": true,
|
|
6050
6140
|
"additionalProperties": true
|
|
6051
6141
|
}
|
|
6052
|
-
}
|
|
6053
|
-
"required": ["connectionId", "method"],
|
|
6054
|
-
"x-side": "both",
|
|
6055
|
-
"x-method": "mcp/message"
|
|
6056
|
-
},
|
|
6057
|
-
"ExtNotification": {
|
|
6058
|
-
"description": "Allows the Agent to send an arbitrary notification that is not part of the ACP spec.\nExtension notifications provide a way to send one-way messages for custom functionality\nwhile maintaining protocol compatibility.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)"
|
|
6142
|
+
}
|
|
6059
6143
|
},
|
|
6060
|
-
"
|
|
6061
|
-
"description": "
|
|
6144
|
+
"IdleStateUpdate": {
|
|
6145
|
+
"description": "The child is ready to process another prompt.",
|
|
6062
6146
|
"type": "object",
|
|
6063
6147
|
"properties": {
|
|
6064
|
-
"
|
|
6065
|
-
"description": "
|
|
6066
|
-
"
|
|
6148
|
+
"stopReason": {
|
|
6149
|
+
"description": "Reason foreground work stopped. Optional; omitted or `null` means not reported.",
|
|
6150
|
+
"anyOf": [
|
|
6067
6151
|
{
|
|
6068
|
-
"$ref": "#/$defs/
|
|
6152
|
+
"$ref": "#/$defs/StopReason"
|
|
6153
|
+
},
|
|
6154
|
+
{
|
|
6155
|
+
"type": "null"
|
|
6069
6156
|
}
|
|
6070
|
-
]
|
|
6071
|
-
|
|
6072
|
-
"method": {
|
|
6073
|
-
"description": "The method name to invoke.",
|
|
6074
|
-
"type": "string"
|
|
6157
|
+
],
|
|
6158
|
+
"x-deserialize-default-on-error": true
|
|
6075
6159
|
},
|
|
6076
|
-
"
|
|
6077
|
-
"description": "
|
|
6160
|
+
"usage": {
|
|
6161
|
+
"description": "**UNSTABLE** Token usage for completed foreground work.\n\nOptional; omitted or `null` means not reported.",
|
|
6162
|
+
"anyOf": [
|
|
6163
|
+
{
|
|
6164
|
+
"$ref": "#/$defs/Usage"
|
|
6165
|
+
},
|
|
6166
|
+
{
|
|
6167
|
+
"type": "null"
|
|
6168
|
+
}
|
|
6169
|
+
],
|
|
6170
|
+
"x-deserialize-default-on-error": true
|
|
6171
|
+
},
|
|
6172
|
+
"_meta": {
|
|
6173
|
+
"description": "The _meta property is reserved by ACP for additional metadata.\nImplementations MUST NOT make assumptions about values at these keys.\nOptional; omitted and `null` mean no metadata for this state snapshot.",
|
|
6174
|
+
"type": ["object", "null"],
|
|
6175
|
+
"x-deserialize-default-on-error": true,
|
|
6176
|
+
"additionalProperties": true
|
|
6177
|
+
}
|
|
6178
|
+
}
|
|
6179
|
+
},
|
|
6180
|
+
"RequiresActionStateUpdate": {
|
|
6181
|
+
"description": "Foreground work is blocked on user action.",
|
|
6182
|
+
"type": "object",
|
|
6183
|
+
"properties": {
|
|
6184
|
+
"_meta": {
|
|
6185
|
+
"description": "The _meta property is reserved by ACP for additional metadata.\nImplementations MUST NOT make assumptions about values at these keys.\nOptional; omitted and `null` mean no metadata for this state snapshot.",
|
|
6186
|
+
"type": ["object", "null"],
|
|
6187
|
+
"x-deserialize-default-on-error": true,
|
|
6188
|
+
"additionalProperties": true
|
|
6189
|
+
}
|
|
6190
|
+
}
|
|
6191
|
+
},
|
|
6192
|
+
"UnknownStateUpdate": {
|
|
6193
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nThe Agent cannot currently determine foreground activity.\n\nReport this when activity becomes unobservable, not merely because the child\nhas been quiet. The Client MUST stop presenting the previous state as confirmed\ncurrent activity, but may retain it as last known. A later state replaces this\nsnapshot normally.\n\nThis is not a task outcome or session closure. It does not cancel work, resolve\npending requests, or revoke capabilities; capabilities are updated separately.",
|
|
6194
|
+
"type": "object",
|
|
6195
|
+
"properties": {
|
|
6196
|
+
"_meta": {
|
|
6197
|
+
"description": "The _meta property is reserved by ACP for additional metadata.\nImplementations MUST NOT make assumptions about values at these keys.\nOptional; omitted and `null` mean no metadata for this state snapshot.",
|
|
6198
|
+
"type": ["object", "null"],
|
|
6199
|
+
"x-deserialize-default-on-error": true,
|
|
6200
|
+
"additionalProperties": true
|
|
6201
|
+
}
|
|
6202
|
+
}
|
|
6203
|
+
},
|
|
6204
|
+
"SubagentUpdate": {
|
|
6205
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nNotification that the enclosing parent session created and owns a child session.\n\nLater updates modify the existing association's metadata, not its ownership.\n\nSent on the immediate parent session. The first update for an unknown\n[`SubagentUpdate::session_id`] announces the child and MUST be sent\nbefore any live child traffic or live message naming the child as sender\nor recipient. Parents may message and reuse an announced child across\nmultiple operations.\nChild events are delivered automatically on the same connection; no child\nload, resume, or subscription is needed.\n\nOnly the subagent session ID is required. Omitted patch fields keep their\nprevious values; `null` clears them. Clearing capabilities disables child\nmutations. Clearing state leaves current activity unset/unconfirmed: it does\nnot imply idle, stop work, or create an `unknown` state snapshot. A concrete\nstate replaces the entire previous state object, not the session.\nThe title and description provide the parent's display metadata for the\nchild. They do not replace the content of individual messages or operations.",
|
|
6206
|
+
"type": "object",
|
|
6207
|
+
"properties": {
|
|
6208
|
+
"sessionId": {
|
|
6209
|
+
"description": "The opaque session ID identifying the child in all ACP messages.",
|
|
6210
|
+
"allOf": [
|
|
6211
|
+
{
|
|
6212
|
+
"$ref": "#/$defs/SessionId"
|
|
6213
|
+
}
|
|
6214
|
+
]
|
|
6215
|
+
},
|
|
6216
|
+
"title": {
|
|
6217
|
+
"description": "The parent's human-readable display title for this child. It need not be unique.\n\nOmitted means unchanged; `null` clears it. If unset, the Client chooses\na fallback presentation.",
|
|
6218
|
+
"type": ["string", "null"],
|
|
6219
|
+
"x-deserialize-default-on-error": true
|
|
6220
|
+
},
|
|
6221
|
+
"description": {
|
|
6222
|
+
"description": "The parent's human-readable description of the child's role or purpose.\n\nOmitted means unchanged; `null` clears it. If unset, the Client chooses\na fallback presentation. This is current display metadata, not the\nhistory of instructions sent to the child.",
|
|
6223
|
+
"type": ["string", "null"],
|
|
6224
|
+
"x-deserialize-default-on-error": true
|
|
6225
|
+
},
|
|
6226
|
+
"capabilities": {
|
|
6227
|
+
"description": "Client-initiated session mutations permitted for this subagent session.\n\nOmitted means unchanged; `null` clears the capability set and disables\nchild mutations. If never supplied, no session mutations are permitted.\nRead-only operations retain their normal protocol semantics and capability\nrequirements. A concrete object replaces the whole capability set.",
|
|
6228
|
+
"anyOf": [
|
|
6229
|
+
{
|
|
6230
|
+
"$ref": "#/$defs/SubagentSessionCapabilities"
|
|
6231
|
+
},
|
|
6232
|
+
{
|
|
6233
|
+
"type": "null"
|
|
6234
|
+
}
|
|
6235
|
+
],
|
|
6236
|
+
"x-deserialize-default-on-error": true
|
|
6237
|
+
},
|
|
6238
|
+
"state": {
|
|
6239
|
+
"description": "Current state snapshot for the child session.\n\nOmitted means unchanged; `null` clears the current activity without\nasserting idle or sending an `unknown` snapshot. A concrete state\nreplaces the previous state object wholesale. If never supplied, the\ncurrent activity is unset/unconfirmed.",
|
|
6240
|
+
"anyOf": [
|
|
6241
|
+
{
|
|
6242
|
+
"$ref": "#/$defs/StateUpdate"
|
|
6243
|
+
},
|
|
6244
|
+
{
|
|
6245
|
+
"type": "null"
|
|
6246
|
+
}
|
|
6247
|
+
],
|
|
6248
|
+
"x-deserialize-default-on-error": true
|
|
6249
|
+
},
|
|
6250
|
+
"_meta": {
|
|
6251
|
+
"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)\nOmitted means unchanged; `null` removes the metadata.",
|
|
6252
|
+
"type": ["object", "null"],
|
|
6253
|
+
"x-deserialize-default-on-error": true,
|
|
6254
|
+
"additionalProperties": true
|
|
6255
|
+
}
|
|
6256
|
+
},
|
|
6257
|
+
"required": ["sessionId"]
|
|
6258
|
+
},
|
|
6259
|
+
"SessionMessage": {
|
|
6260
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nAn upsert for an inter-session message.",
|
|
6261
|
+
"type": "object",
|
|
6262
|
+
"properties": {
|
|
6263
|
+
"messageId": {
|
|
6264
|
+
"description": "Identifier of this message within the enclosing session's transcript.",
|
|
6265
|
+
"allOf": [
|
|
6266
|
+
{
|
|
6267
|
+
"$ref": "#/$defs/MessageId"
|
|
6268
|
+
}
|
|
6269
|
+
]
|
|
6270
|
+
},
|
|
6271
|
+
"senderSessionId": {
|
|
6272
|
+
"description": "Optional sending session identity; omission or `null` retains a known value.",
|
|
6273
|
+
"anyOf": [
|
|
6274
|
+
{
|
|
6275
|
+
"$ref": "#/$defs/SessionId"
|
|
6276
|
+
},
|
|
6277
|
+
{
|
|
6278
|
+
"type": "null"
|
|
6279
|
+
}
|
|
6280
|
+
],
|
|
6281
|
+
"x-deserialize-default-on-error": true
|
|
6282
|
+
},
|
|
6283
|
+
"recipientSessionId": {
|
|
6284
|
+
"description": "Optional receiving session identity; omission or `null` retains a known value.",
|
|
6285
|
+
"anyOf": [
|
|
6286
|
+
{
|
|
6287
|
+
"$ref": "#/$defs/SessionId"
|
|
6288
|
+
},
|
|
6289
|
+
{
|
|
6290
|
+
"type": "null"
|
|
6291
|
+
}
|
|
6292
|
+
],
|
|
6293
|
+
"x-deserialize-default-on-error": true
|
|
6294
|
+
},
|
|
6295
|
+
"content": {
|
|
6296
|
+
"description": "Omitted leaves content unchanged; `null` or `[]` clears it.\nA non-empty array replaces all content.",
|
|
6297
|
+
"type": ["array", "null"],
|
|
6298
|
+
"items": {
|
|
6299
|
+
"$ref": "#/$defs/ContentBlock"
|
|
6300
|
+
},
|
|
6301
|
+
"x-deserialize-default-on-error": true,
|
|
6302
|
+
"x-deserialize-skip-invalid-items": true
|
|
6303
|
+
},
|
|
6304
|
+
"_meta": {
|
|
6305
|
+
"description": "Omitted leaves metadata unchanged; `null` removes it.\n\nImplementations MUST NOT make assumptions about values in `_meta`.",
|
|
6306
|
+
"type": ["object", "null"],
|
|
6307
|
+
"x-deserialize-default-on-error": true,
|
|
6308
|
+
"additionalProperties": true
|
|
6309
|
+
}
|
|
6310
|
+
},
|
|
6311
|
+
"required": ["messageId"]
|
|
6312
|
+
},
|
|
6313
|
+
"SessionMessageChunk": {
|
|
6314
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nA streamed content block of an inter-session message.",
|
|
6315
|
+
"type": "object",
|
|
6316
|
+
"properties": {
|
|
6317
|
+
"messageId": {
|
|
6318
|
+
"description": "Identifier of this message within the enclosing session's transcript.",
|
|
6319
|
+
"allOf": [
|
|
6320
|
+
{
|
|
6321
|
+
"$ref": "#/$defs/MessageId"
|
|
6322
|
+
}
|
|
6323
|
+
]
|
|
6324
|
+
},
|
|
6325
|
+
"senderSessionId": {
|
|
6326
|
+
"description": "Optional sending session identity; omission or `null` retains a known value.",
|
|
6327
|
+
"anyOf": [
|
|
6328
|
+
{
|
|
6329
|
+
"$ref": "#/$defs/SessionId"
|
|
6330
|
+
},
|
|
6331
|
+
{
|
|
6332
|
+
"type": "null"
|
|
6333
|
+
}
|
|
6334
|
+
],
|
|
6335
|
+
"x-deserialize-default-on-error": true
|
|
6336
|
+
},
|
|
6337
|
+
"recipientSessionId": {
|
|
6338
|
+
"description": "Optional receiving session identity; omission or `null` retains a known value.",
|
|
6339
|
+
"anyOf": [
|
|
6340
|
+
{
|
|
6341
|
+
"$ref": "#/$defs/SessionId"
|
|
6342
|
+
},
|
|
6343
|
+
{
|
|
6344
|
+
"type": "null"
|
|
6345
|
+
}
|
|
6346
|
+
],
|
|
6347
|
+
"x-deserialize-default-on-error": true
|
|
6348
|
+
},
|
|
6349
|
+
"content": {
|
|
6350
|
+
"description": "A single content block appended to the message.",
|
|
6351
|
+
"allOf": [
|
|
6352
|
+
{
|
|
6353
|
+
"$ref": "#/$defs/ContentBlock"
|
|
6354
|
+
}
|
|
6355
|
+
]
|
|
6356
|
+
},
|
|
6357
|
+
"_meta": {
|
|
6358
|
+
"description": "Optional and nullable chunk-scoped metadata; omitted or `null` means none.\n\nImplementations MUST NOT make assumptions about values in `_meta`.",
|
|
6359
|
+
"type": ["object", "null"],
|
|
6360
|
+
"x-deserialize-default-on-error": true,
|
|
6361
|
+
"additionalProperties": true
|
|
6362
|
+
}
|
|
6363
|
+
},
|
|
6364
|
+
"required": ["messageId", "content"]
|
|
6365
|
+
},
|
|
6366
|
+
"CompleteElicitationNotification": {
|
|
6367
|
+
"description": "Notification sent by the agent when a URL-based elicitation is complete.",
|
|
6368
|
+
"type": "object",
|
|
6369
|
+
"properties": {
|
|
6370
|
+
"elicitationId": {
|
|
6371
|
+
"description": "The ID of the elicitation that completed.",
|
|
6372
|
+
"allOf": [
|
|
6373
|
+
{
|
|
6374
|
+
"$ref": "#/$defs/ElicitationId"
|
|
6375
|
+
}
|
|
6376
|
+
]
|
|
6377
|
+
},
|
|
6378
|
+
"_meta": {
|
|
6379
|
+
"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\nOptional. Omitted and `null` are equivalent and mean no metadata.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)",
|
|
6380
|
+
"type": ["object", "null"],
|
|
6381
|
+
"x-deserialize-default-on-error": true,
|
|
6382
|
+
"additionalProperties": true
|
|
6383
|
+
}
|
|
6384
|
+
},
|
|
6385
|
+
"required": ["elicitationId"],
|
|
6386
|
+
"x-side": "client",
|
|
6387
|
+
"x-method": "elicitation/complete"
|
|
6388
|
+
},
|
|
6389
|
+
"ExtNotification": {
|
|
6390
|
+
"description": "Allows the Agent to send an arbitrary notification that is not part of the ACP spec.\nExtension notifications provide a way to send one-way messages for custom functionality\nwhile maintaining protocol compatibility.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)"
|
|
6391
|
+
},
|
|
6392
|
+
"ClientRequest": {
|
|
6393
|
+
"description": "A JSON-RPC request object.",
|
|
6394
|
+
"type": "object",
|
|
6395
|
+
"properties": {
|
|
6396
|
+
"id": {
|
|
6397
|
+
"description": "The request id used to correlate the matching response.",
|
|
6398
|
+
"allOf": [
|
|
6399
|
+
{
|
|
6400
|
+
"$ref": "#/$defs/RequestId"
|
|
6401
|
+
}
|
|
6402
|
+
]
|
|
6403
|
+
},
|
|
6404
|
+
"method": {
|
|
6405
|
+
"description": "The method name to invoke.",
|
|
6406
|
+
"type": "string"
|
|
6407
|
+
},
|
|
6408
|
+
"params": {
|
|
6409
|
+
"description": "Method-specific request parameters.",
|
|
6078
6410
|
"anyOf": [
|
|
6079
6411
|
{
|
|
6080
6412
|
"description": "All possible requests that a client can send to an agent.\n\nThis enum is used internally for routing RPC requests. You typically won't need\nto use this directly.\n\nThis enum encompasses all method calls from client to agent.",
|
|
@@ -6250,15 +6582,6 @@
|
|
|
6250
6582
|
}
|
|
6251
6583
|
]
|
|
6252
6584
|
},
|
|
6253
|
-
{
|
|
6254
|
-
"title": "MessageMcpRequest",
|
|
6255
|
-
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nExchanges an MCP-over-ACP message.",
|
|
6256
|
-
"allOf": [
|
|
6257
|
-
{
|
|
6258
|
-
"$ref": "#/$defs/MessageMcpRequest"
|
|
6259
|
-
}
|
|
6260
|
-
]
|
|
6261
|
-
},
|
|
6262
6585
|
{
|
|
6263
6586
|
"title": "ExtMethodRequest",
|
|
6264
6587
|
"description": "Handles extension method requests from the client.\n\nExtension methods provide a way to add custom functionality while maintaining\nprotocol compatibility.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)",
|
|
@@ -6368,6 +6691,18 @@
|
|
|
6368
6691
|
],
|
|
6369
6692
|
"x-deserialize-default-on-error": true
|
|
6370
6693
|
},
|
|
6694
|
+
"subagents": {
|
|
6695
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nWhether the client understands exposed subagent sessions.\n\nOptional and nullable. Omitted or `null` both mean the client does not\nadvertise support.\nSupplying `{}` means the client understands child associations, work-state\nsnapshots, session-directed messages, and restricted-session semantics.",
|
|
6696
|
+
"anyOf": [
|
|
6697
|
+
{
|
|
6698
|
+
"$ref": "#/$defs/SubagentCapabilities"
|
|
6699
|
+
},
|
|
6700
|
+
{
|
|
6701
|
+
"type": "null"
|
|
6702
|
+
}
|
|
6703
|
+
],
|
|
6704
|
+
"x-deserialize-default-on-error": true
|
|
6705
|
+
},
|
|
6371
6706
|
"plan": {
|
|
6372
6707
|
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nWhether the client supports `plan_update` and `plan_removed` session updates.\n\nOptional. Omitted or `null` both mean the client does not advertise support.\nSupplying `{}` means the client can receive both update types.",
|
|
6373
6708
|
"anyOf": [
|
|
@@ -6549,6 +6884,18 @@
|
|
|
6549
6884
|
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nClient support for presenting live advisory notices to the user.",
|
|
6550
6885
|
"type": "object"
|
|
6551
6886
|
},
|
|
6887
|
+
"SubagentCapabilities": {
|
|
6888
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nCapability marker for exposing reusable child sessions as restricted ACP sessions.\n\nSupplying `{}` advertises support for child association and state updates,\nsession-directed messages, and restricted-session semantics. The client\nmust advertise this capability before the agent sends subagent updates or\nsession-directed messages.",
|
|
6889
|
+
"type": "object",
|
|
6890
|
+
"properties": {
|
|
6891
|
+
"_meta": {
|
|
6892
|
+
"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.",
|
|
6893
|
+
"type": ["object", "null"],
|
|
6894
|
+
"x-deserialize-default-on-error": true,
|
|
6895
|
+
"additionalProperties": true
|
|
6896
|
+
}
|
|
6897
|
+
}
|
|
6898
|
+
},
|
|
6552
6899
|
"PlanCapabilities": {
|
|
6553
6900
|
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nCapabilities for receiving `plan_update` and `plan_removed` session updates.",
|
|
6554
6901
|
"type": "object",
|
|
@@ -7016,7 +7363,7 @@
|
|
|
7016
7363
|
"required": ["name", "url", "headers"]
|
|
7017
7364
|
},
|
|
7018
7365
|
"McpServerAcp": {
|
|
7019
|
-
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nACP transport configuration for MCP.\n\nThe MCP server is provided by an ACP component and communicates over the ACP channel\nusing `mcp/
|
|
7366
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nACP transport configuration for MCP.\n\nThe MCP server is provided by an ACP component and communicates over the ACP channel\nusing `mcp/message`.",
|
|
7020
7367
|
"type": "object",
|
|
7021
7368
|
"properties": {
|
|
7022
7369
|
"name": {
|
|
@@ -7990,24 +8337,6 @@
|
|
|
7990
8337
|
}
|
|
7991
8338
|
]
|
|
7992
8339
|
},
|
|
7993
|
-
{
|
|
7994
|
-
"title": "ConnectMcpResponse",
|
|
7995
|
-
"description": "Successful result returned for a `mcp/connect` request.",
|
|
7996
|
-
"allOf": [
|
|
7997
|
-
{
|
|
7998
|
-
"$ref": "#/$defs/ConnectMcpResponse"
|
|
7999
|
-
}
|
|
8000
|
-
]
|
|
8001
|
-
},
|
|
8002
|
-
{
|
|
8003
|
-
"title": "DisconnectMcpResponse",
|
|
8004
|
-
"description": "Successful result returned for a `mcp/disconnect` request.",
|
|
8005
|
-
"allOf": [
|
|
8006
|
-
{
|
|
8007
|
-
"$ref": "#/$defs/DisconnectMcpResponse"
|
|
8008
|
-
}
|
|
8009
|
-
]
|
|
8010
|
-
},
|
|
8011
8340
|
{
|
|
8012
8341
|
"title": "MessageMcpResponse",
|
|
8013
8342
|
"description": "Successful result returned by an MCP-over-ACP `mcp/message` request.",
|
|
@@ -8455,42 +8784,71 @@
|
|
|
8455
8784
|
}
|
|
8456
8785
|
}
|
|
8457
8786
|
},
|
|
8458
|
-
"
|
|
8459
|
-
"description": "**UNSTABLE**\n\
|
|
8460
|
-
"
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
"description": "
|
|
8464
|
-
"
|
|
8465
|
-
|
|
8466
|
-
|
|
8787
|
+
"MessageMcpResponse": {
|
|
8788
|
+
"description": "**UNSTABLE**\n\nThe successful outer ACP `mcp/message` response carries exactly one\ninner MCP outcome: an opaque result (including JSON null), or an MCP error.\nOuter ACP errors are reserved for binding and runtime failures.\n\nBoth branches require their carrier key. An error must be a non-null object.\nUnknown outer fields are ignored; inner result and error fields are preserved.\nCarrier `_meta` is optional; null or invalid values are treated as absent.\nSenders must include exactly one outcome; receivers prefer `result` if both are present.",
|
|
8789
|
+
"anyOf": [
|
|
8790
|
+
{
|
|
8791
|
+
"title": "Result",
|
|
8792
|
+
"description": "An opaque inner MCP result.",
|
|
8793
|
+
"type": "object",
|
|
8794
|
+
"properties": {
|
|
8795
|
+
"result": {
|
|
8796
|
+
"description": "Required, even if JSON null."
|
|
8797
|
+
},
|
|
8798
|
+
"_meta": {
|
|
8799
|
+
"description": "Optional ACP carrier metadata.",
|
|
8800
|
+
"type": ["object", "null"],
|
|
8801
|
+
"x-deserialize-default-on-error": true,
|
|
8802
|
+
"additionalProperties": true
|
|
8467
8803
|
}
|
|
8468
|
-
|
|
8804
|
+
},
|
|
8805
|
+
"required": ["result"]
|
|
8469
8806
|
},
|
|
8470
|
-
|
|
8471
|
-
"
|
|
8472
|
-
"
|
|
8473
|
-
"
|
|
8474
|
-
"
|
|
8807
|
+
{
|
|
8808
|
+
"title": "Error",
|
|
8809
|
+
"description": "A structured inner MCP error.",
|
|
8810
|
+
"type": "object",
|
|
8811
|
+
"properties": {
|
|
8812
|
+
"error": {
|
|
8813
|
+
"description": "Required, non-null MCP error object.",
|
|
8814
|
+
"allOf": [
|
|
8815
|
+
{
|
|
8816
|
+
"$ref": "#/$defs/McpError"
|
|
8817
|
+
}
|
|
8818
|
+
]
|
|
8819
|
+
},
|
|
8820
|
+
"_meta": {
|
|
8821
|
+
"description": "Optional ACP carrier metadata.",
|
|
8822
|
+
"type": ["object", "null"],
|
|
8823
|
+
"x-deserialize-default-on-error": true,
|
|
8824
|
+
"additionalProperties": true
|
|
8825
|
+
}
|
|
8826
|
+
},
|
|
8827
|
+
"required": ["error"]
|
|
8475
8828
|
}
|
|
8476
|
-
|
|
8477
|
-
"required": ["connectionId"],
|
|
8829
|
+
],
|
|
8478
8830
|
"x-side": "client",
|
|
8479
|
-
"x-method": "mcp/
|
|
8831
|
+
"x-method": "mcp/message"
|
|
8480
8832
|
},
|
|
8481
|
-
"
|
|
8482
|
-
"description": "**UNSTABLE**\n\
|
|
8833
|
+
"McpError": {
|
|
8834
|
+
"description": "**UNSTABLE**\n\nAn inner MCP error, distinct from an outer ACP binding or runtime error.\n\n`code` and `message` are required and non-null. `data` is optional;\nexplicit `null` is preserved separately from an omitted key.",
|
|
8483
8835
|
"type": "object",
|
|
8484
8836
|
"properties": {
|
|
8485
|
-
"
|
|
8486
|
-
"description": "
|
|
8487
|
-
"type":
|
|
8488
|
-
"
|
|
8489
|
-
|
|
8837
|
+
"code": {
|
|
8838
|
+
"description": "Inner MCP error code; never an ACP error code.",
|
|
8839
|
+
"type": "integer",
|
|
8840
|
+
"format": "int32"
|
|
8841
|
+
},
|
|
8842
|
+
"message": {
|
|
8843
|
+
"description": "Inner MCP error message.",
|
|
8844
|
+
"type": "string"
|
|
8845
|
+
},
|
|
8846
|
+
"data": {
|
|
8847
|
+
"description": "Optional error data; explicit null is retained."
|
|
8490
8848
|
}
|
|
8491
8849
|
},
|
|
8492
|
-
"
|
|
8493
|
-
"
|
|
8850
|
+
"required": ["code", "message"],
|
|
8851
|
+
"additionalProperties": true
|
|
8494
8852
|
},
|
|
8495
8853
|
"ClientNotification": {
|
|
8496
8854
|
"description": "A JSON-RPC notification object.",
|
|
@@ -8940,6 +9298,46 @@
|
|
|
8940
9298
|
}
|
|
8941
9299
|
]
|
|
8942
9300
|
},
|
|
9301
|
+
"MessageMcpNotification": {
|
|
9302
|
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nNotification parameters for `mcp/message`.\n\nSent by the provider to the consumer for an active request (including\nsubscription acknowledgements and updates); the outer envelope has no `id`.",
|
|
9303
|
+
"type": "object",
|
|
9304
|
+
"properties": {
|
|
9305
|
+
"serverId": {
|
|
9306
|
+
"description": "The declared ACP MCP server handling the associated request.",
|
|
9307
|
+
"allOf": [
|
|
9308
|
+
{
|
|
9309
|
+
"$ref": "#/$defs/McpServerAcpId"
|
|
9310
|
+
}
|
|
9311
|
+
]
|
|
9312
|
+
},
|
|
9313
|
+
"requestId": {
|
|
9314
|
+
"description": "The identifier of the active inner MCP request.",
|
|
9315
|
+
"allOf": [
|
|
9316
|
+
{
|
|
9317
|
+
"$ref": "#/$defs/McpRequestId"
|
|
9318
|
+
}
|
|
9319
|
+
]
|
|
9320
|
+
},
|
|
9321
|
+
"method": {
|
|
9322
|
+
"description": "The inner MCP method name.",
|
|
9323
|
+
"type": "string"
|
|
9324
|
+
},
|
|
9325
|
+
"params": {
|
|
9326
|
+
"description": "Optional inner MCP params.\n\nIf omitted or set to `null`, the inner MCP message has no params.",
|
|
9327
|
+
"type": ["object", "null"],
|
|
9328
|
+
"additionalProperties": true
|
|
9329
|
+
},
|
|
9330
|
+
"_meta": {
|
|
9331
|
+
"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)",
|
|
9332
|
+
"type": ["object", "null"],
|
|
9333
|
+
"x-deserialize-default-on-error": true,
|
|
9334
|
+
"additionalProperties": true
|
|
9335
|
+
}
|
|
9336
|
+
},
|
|
9337
|
+
"required": ["serverId", "requestId", "method"],
|
|
9338
|
+
"x-side": "agent",
|
|
9339
|
+
"x-method": "mcp/message"
|
|
9340
|
+
},
|
|
8943
9341
|
"CancelRequestNotification": {
|
|
8944
9342
|
"description": "Notification to cancel an ongoing request.\n\nSee protocol docs: [Cancellation](https://agentclientprotocol.com/protocol/cancellation)",
|
|
8945
9343
|
"type": "object",
|