@@ -44,6 +44,18 @@ Specifies which authentication method to use.
4444 advertised in the initialize response.
4545</ResponseField >
4646
47+ #### <span class = " font-mono" >AuthenticateResponse</span >
48+
49+ Response to authenticate method
50+
51+ ** Type:** Object
52+
53+ ** Properties:**
54+
55+ <ResponseField name = " _meta" type = { " object" } >
56+ Extension point for implementations
57+ </ResponseField >
58+
4759### <span class = " font-mono" >initialize</span >
4860
4961Establishes the connection with a client and negotiates protocol capabilities.
@@ -210,6 +222,24 @@ See protocol docs: [Loading Sessions](https://agentclientprotocol.com/protocol/s
210222 The ID of the session to load.
211223</ResponseField >
212224
225+ #### <span class = " font-mono" >LoadSessionResponse</span >
226+
227+ Response from loading an existing session.
228+
229+ ** Type:** Object
230+
231+ ** Properties:**
232+
233+ <ResponseField name = " _meta" type = { " object" } >
234+ Extension point for implementations
235+ </ResponseField >
236+ <ResponseField name = " modes" type = { <><span ><a href = " #sessionmodestate" >SessionModeState</a ></span ><span > | null</span ></>} >
237+ ** UNSTABLE**
238+
239+ This field is not part of the spec, and may be removed or changed at any point.
240+
241+ </ResponseField >
242+
213243<a id = " session-new" ></a >
214244### <span class = " font-mono" >session/new</span >
215245
@@ -406,6 +436,19 @@ Only available if the client supports the `fs.readTextFile` capability.
406436 The session ID for this request.
407437</ResponseField >
408438
439+ #### <span class = " font-mono" >ReadTextFileResponse</span >
440+
441+ Response containing the contents of a text file.
442+
443+ ** Type:** Object
444+
445+ ** Properties:**
446+
447+ <ResponseField name = " _meta" type = { " object" } >
448+ Extension point for implementations
449+ </ResponseField >
450+ <ResponseField name = " content" type = { " string" } required ></ResponseField >
451+
409452<a id = " fs-write_text_file" ></a >
410453### <span class = " font-mono" >fs/write_text_file</span >
411454
@@ -443,6 +486,18 @@ Only available if the client supports the `fs.writeTextFile` capability.
443486 The session ID for this request.
444487</ResponseField >
445488
489+ #### <span class = " font-mono" >WriteTextFileResponse</span >
490+
491+ Response to fs/write_text_file
492+
493+ ** Type:** Object
494+
495+ ** Properties:**
496+
497+ <ResponseField name = " _meta" type = { " object" } >
498+ Extension point for implementations
499+ </ResponseField >
500+
446501<a id = " session-request_permission" ></a >
447502### <span class = " font-mono" >session/request_permission</span >
448503
@@ -676,6 +731,18 @@ Request to kill a terminal command without releasing the terminal.
676731 The ID of the terminal to kill.
677732</ResponseField >
678733
734+ #### <span class = " font-mono" >KillTerminalCommandResponse</span >
735+
736+ Response to terminal/kill command method
737+
738+ ** Type:** Object
739+
740+ ** Properties:**
741+
742+ <ResponseField name = " _meta" type = { " object" } >
743+ Extension point for implementations
744+ </ResponseField >
745+
679746<a id = " terminal-output" ></a >
680747### <span class = " font-mono" >terminal/output</span >
681748
@@ -777,6 +844,18 @@ Request to release a terminal and free its resources.
777844 The ID of the terminal to release.
778845</ResponseField >
779846
847+ #### <span class = " font-mono" >ReleaseTerminalResponse</span >
848+
849+ Response to terminal/release method
850+
851+ ** Type:** Object
852+
853+ ** Properties:**
854+
855+ <ResponseField name = " _meta" type = { " object" } >
856+ Extension point for implementations
857+ </ResponseField >
858+
780859<a id = " terminal-wait_for_exit" ></a >
781860### <span class = " font-mono" >terminal/wait_for_exit</span >
782861
@@ -862,6 +941,45 @@ See protocol docs: [Agent Capabilities](https://agentclientprotocol.com/protocol
862941
863942</ResponseField >
864943
944+ ## <span class = " font-mono" >AgentNotification</span >
945+
946+ All possible notifications that an agent can send to a client.
947+
948+ This enum is used internally for routing RPC notifications. You typically won't need
949+ to use this directly - use the notification methods on the ` Client ` trait instead.
950+
951+ Notifications do not expect a response.
952+
953+ ** Type:** Union
954+
955+ <ResponseField name = " SessionNotification" >
956+ { " " }
957+
958+ <Expandable title = " Properties" >
959+
960+ <ResponseField name = " _meta" type = { " object" } >
961+ Extension point for implementations
962+ </ResponseField >
963+ <ResponseField
964+ name = " sessionId"
965+ type = { <a href = " #sessionid" >SessionId</a >}
966+ required
967+ >
968+ The ID of the session this update pertains to.
969+ </ResponseField >
970+ <ResponseField
971+ name = " update"
972+ type = { <a href = " #sessionupdate" >SessionUpdate</a >}
973+ required
974+ >
975+ The actual update content.
976+ </ResponseField >
977+
978+ </Expandable >
979+ </ResponseField >
980+
981+ <ResponseField name = " Variant" >{ " " } </ResponseField >
982+
865983## <span class = " font-mono" >Annotations</span >
866984
867985Optional annotations for the client. The client can use annotations to inform how objects are used or displayed
@@ -1346,24 +1464,6 @@ An image provided to or from an LLM.
13461464<ResponseField name = " mimeType" type = { " string" } required ></ResponseField >
13471465<ResponseField name = " uri" type = { " string | null" } ></ResponseField >
13481466
1349- ## <span class = " font-mono" >LoadSessionResponse</span >
1350-
1351- Response from loading an existing session.
1352-
1353- ** Type:** Object
1354-
1355- ** Properties:**
1356-
1357- <ResponseField name = " _meta" type = { " object" } >
1358- Extension point for implementations
1359- </ResponseField >
1360- <ResponseField name = " modes" type = { <><span ><a href = " #sessionmodestate" >SessionModeState</a ></span ><span > | null</span ></>} >
1361- ** UNSTABLE**
1362-
1363- This field is not part of the spec, and may be removed or changed at any point.
1364-
1365- </ResponseField >
1366-
13671467## <span class = " font-mono" >McpCapabilities</span >
13681468
13691469MCP capabilities supported by the agent
@@ -1723,19 +1823,6 @@ Non-breaking changes should be introduced via capabilities.
17231823| Minimum | ` 0 ` |
17241824| Maximum | ` 65535 ` |
17251825
1726- ## <span class = " font-mono" >ReadTextFileResponse</span >
1727-
1728- Response containing the contents of a text file.
1729-
1730- ** Type:** Object
1731-
1732- ** Properties:**
1733-
1734- <ResponseField name = " _meta" type = { " object" } >
1735- Extension point for implementations
1736- </ResponseField >
1737- <ResponseField name = " content" type = { " string" } required ></ResponseField >
1738-
17391826## <span class = " font-mono" >RequestPermissionOutcome</span >
17401827
17411828The outcome of a permission request.
@@ -2142,7 +2229,11 @@ The current mode of the session has changed
21422229
21432230This type is not part of the spec, and may be removed or changed at any point.
21442231
2145- ** Type:** ` object `
2232+ ** Type:** Object
2233+
2234+ ** Properties:**
2235+
2236+ <ResponseField name = " meta" type = { " object" } ></ResponseField >
21462237
21472238## <span class = " font-mono" >StopReason</span >
21482239
0 commit comments