@@ -25,8 +25,9 @@ A typical conversation follows this pattern:
2525</Step >
2626
2727<Step title = " Session Setup" >
28- Either: - Client → Agent: ` session/new ` to create a new session - Client →
29- Agent: ` session/load ` to resume an existing session if supported
28+ Either:
29+ - Client → Agent: ` session/new ` to create a new session
30+ - Client → Agent: ` session/load ` to resume an existing session if supported
3031</Step >
3132
3233<Step title = " Prompt Turn" >
@@ -45,27 +46,31 @@ Agents are programs that use generative AI to autonomously modify code. They typ
4546### Baseline Methods
4647
4748<ParamField path = " initialize" >
48- Establish connection and negotiate capabilities.
49+ [ Negotiate versions and exchange capabilities.] ( ./initialization )
4950</ParamField >
5051
5152<ParamField path = " authenticate" >
5253 Authenticate with the Agent (if required).
5354</ParamField >
5455
55- <ParamField path = " session/new" >Create a new conversation session.</ParamField >
56+ <ParamField path = " session/new" >
57+ [ Create a new conversation session] ( ./session-setup#creating-a-session ) .
58+ </ParamField >
5659
57- <ParamField path = " session/prompt" >Send user prompts to the Agent.</ParamField >
60+ <ParamField path = " session/prompt" >
61+ [ Send user prompts] ( ./prompt-turn#1-user-message ) to the Agent.
62+ </ParamField >
5863
5964### Optional Methods
6065
6166<ParamField path = " session/load" >
62- Load an existing session (requires ` loadSession ` capability).
67+ [ Load an existing session] ( ./session-setup#loading-sessions ) (requires ` loadSession ` capability).
6368</ParamField >
6469
6570### Notifications
6671
6772<ParamField path = " session/cancel" >
68- Cancel ongoing operations (no response expected).
73+ [ Cancel ongoing operations] ( ./prompt-turn#cancellation ) (no response expected).
6974</ParamField >
7075
7176## Client
@@ -75,23 +80,23 @@ Clients provide the interface between users and agents. They are typically code
7580### Baseline Methods
7681
7782<ParamField path = " session/request_permission" >
78- Request user authorization for tool calls.
83+ [ Request user authorization] ( ./tool-calls#requesting-permission ) for tool calls.
7984</ParamField >
8085
8186### Optional Methods
8287
8388<ParamField path = " fs/read_text_file" >
84- Read file contents (requires ` fs.readTextFile ` capability).
89+ [ Read file contents] ( ./file-system#reading-files ) (requires ` fs.readTextFile ` capability).
8590</ParamField >
8691
8792<ParamField path = " fs/write_text_file" >
88- Write file contents (requires ` fs.writeTextFile ` capability).
93+ [ Write file contents] ( ./file-system#writing-files ) (requires ` fs.writeTextFile ` capability).
8994</ParamField >
9095
9196### Notifications
9297
9398<ParamField path = " session/update" >
94- Send progress updates during prompt processing (no response expected).
99+ [ Send progress updates] ( ./prompt-turn#3-agent-reports-output ) during prompt processing (no response expected).
95100</ParamField >
96101
97102## Error Handling
0 commit comments