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: docs/protocol.md
+18-15Lines changed: 18 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -168,21 +168,24 @@ _Notification:_
168
168
interfaceInitializedParams {}
169
169
```
170
170
171
-
#### Sequence diagram: Initialize
172
-
173
-
The following timeline illustrates the typical initialize handshake between client and server, including the config update sent after initialization is acknowledged by the client.
174
-
175
-
```mermaid
176
-
sequenceDiagram
177
-
autonumber
178
-
participant C as Client / Editor
179
-
participant S as ECA Server
180
-
C->>S: initialize (request)
181
-
S-->>C: initialize (response)
182
-
C->>S: initialized (notification)
183
-
S-->>C: config/updated (notification)
184
-
S-->>C: tool/serverUpdated (notification)
185
-
```
171
+
=== "Initialization flow"
172
+
173
+
The following timeline illustrates the typical initialize handshake between client and server, including the actions done by server after initializing.
174
+
175
+
```mermaid
176
+
sequenceDiagram
177
+
autonumber
178
+
participant C as Client / Editor
179
+
participant S as ECA Server
180
+
C->>+S: initialize (request)
181
+
S-->>-C: initialize (response)
182
+
C->>+S: initialized (notification)
183
+
Note right of S: Sync models: Request models.dev <br/>for models capabilities
184
+
Note right of S: Tell which models/behaviors are <br/>avaialble and their defaults.
0 commit comments