WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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.unstable.json
+101Lines changed: 101 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -211,6 +211,9 @@
211
211
{
212
212
"$ref": "#/$defs/ForkSessionResponse"
213
213
},
214
+
{
215
+
"$ref": "#/$defs/ResumeSessionResponse"
216
+
},
214
217
{
215
218
"$ref": "#/$defs/SetSessionModeResponse"
216
219
},
@@ -606,6 +609,14 @@
606
609
],
607
610
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nForks an existing session to create a new independent session.\n\nThis method is only available if the agent advertises the `session.fork` capability.\n\nThe agent should create a new session with the same conversation context as the\noriginal, allowing operations like generating summaries without affecting the\noriginal session's history."
608
611
},
612
+
{
613
+
"allOf": [
614
+
{
615
+
"$ref": "#/$defs/ResumeSessionRequest"
616
+
}
617
+
],
618
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nResumes an existing session without returning previous messages.\n\nThis method is only available if the agent advertises the `session.resume` capability.\n\nThe agent should resume the session context, allowing the conversation to continue\nwithout replaying the message history (unlike `session/load`)."
619
+
},
609
620
{
610
621
"allOf": [
611
622
{
@@ -2254,6 +2265,74 @@
2254
2265
"required": ["name", "uri"],
2255
2266
"type": "object"
2256
2267
},
2268
+
"ResumeSessionRequest": {
2269
+
"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 resuming an existing session.\n\nResumes an existing session without returning previous messages (unlike `session/load`).\nThis is useful for agents that can resume sessions but don't implement full session loading.\n\nOnly available if the Agent supports the `session.resume` capability.",
2270
+
"properties": {
2271
+
"_meta": {
2272
+
"additionalProperties": true,
2273
+
"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)",
2274
+
"type": ["object", "null"]
2275
+
},
2276
+
"cwd": {
2277
+
"description": "The working directory for this session.",
2278
+
"type": "string"
2279
+
},
2280
+
"mcpServers": {
2281
+
"description": "List of MCP servers to connect to for this session.",
2282
+
"items": {
2283
+
"$ref": "#/$defs/McpServer"
2284
+
},
2285
+
"type": "array"
2286
+
},
2287
+
"sessionId": {
2288
+
"allOf": [
2289
+
{
2290
+
"$ref": "#/$defs/SessionId"
2291
+
}
2292
+
],
2293
+
"description": "The ID of the session to resume."
2294
+
}
2295
+
},
2296
+
"required": ["sessionId", "cwd"],
2297
+
"type": "object",
2298
+
"x-method": "session/resume",
2299
+
"x-side": "agent"
2300
+
},
2301
+
"ResumeSessionResponse": {
2302
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nResponse from resuming an existing session.",
2303
+
"properties": {
2304
+
"_meta": {
2305
+
"additionalProperties": true,
2306
+
"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)",
2307
+
"type": ["object", "null"]
2308
+
},
2309
+
"models": {
2310
+
"anyOf": [
2311
+
{
2312
+
"$ref": "#/$defs/SessionModelState"
2313
+
},
2314
+
{
2315
+
"type": "null"
2316
+
}
2317
+
],
2318
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nInitial model state if supported by the Agent"
2319
+
},
2320
+
"modes": {
2321
+
"anyOf": [
2322
+
{
2323
+
"$ref": "#/$defs/SessionModeState"
2324
+
},
2325
+
{
2326
+
"type": "null"
2327
+
}
2328
+
],
2329
+
"description": "Initial mode state if supported by the Agent\n\nSee protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes)"
2330
+
}
2331
+
},
2332
+
"type": "object",
2333
+
"x-method": "session/resume",
2334
+
"x-side": "agent"
2335
+
},
2257
2336
"Role": {
2258
2337
"description": "The sender or recipient of messages and data in a conversation.",
2259
2338
"enum": ["assistant", "user"],
@@ -2308,6 +2387,17 @@
2308
2387
}
2309
2388
],
2310
2389
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nWhether the agent supports `session/list`."
2390
+
},
2391
+
"resume": {
2392
+
"anyOf": [
2393
+
{
2394
+
"$ref": "#/$defs/SessionResumeCapabilities"
2395
+
},
2396
+
{
2397
+
"type": "null"
2398
+
}
2399
+
],
2400
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nWhether the agent supports `session/resume`."
2311
2401
}
2312
2402
},
2313
2403
"type": "object"
@@ -2479,6 +2569,17 @@
2479
2569
"x-method": "session/update",
2480
2570
"x-side": "client"
2481
2571
},
2572
+
"SessionResumeCapabilities": {
2573
+
"description": "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nCapabilities for the `session/resume` method.\n\nBy supplying `{}` it means that the agent supports resuming of sessions.",
2574
+
"properties": {
2575
+
"_meta": {
2576
+
"additionalProperties": true,
2577
+
"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)",
2578
+
"type": ["object", "null"]
2579
+
}
2580
+
},
2581
+
"type": "object"
2582
+
},
2482
2583
"SessionUpdate": {
2483
2584
"description": "Different types of updates that can be sent during session processing.\n\nThese updates provide real-time feedback about the agent's progress.\n\nSee protocol docs: [Agent Reports Output](https://agentclientprotocol.com/protocol/prompt-turn#3-agent-reports-output)",
0 commit comments