Skip to content

Commit 2c29d24

Browse files
committed
docs
1 parent 425f0a9 commit 2c29d24

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/protocol.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ The protocol defines a set of lifecycle messages that manage the connection and
8080
autonumber
8181
participant C as Client / Editor
8282
participant S as ECA Server
83-
C->>+S: shutdown (request)
83+
C->>+S: shutdown
8484
Note right of S: Finish MCP servers process
85-
S-->>-C: shutdown (response)
86-
C->>+S: exit (notification)
85+
S->>-C: shutdown
86+
C--)S: exit
8787
Note right of S: Server stops its process
8888
```
8989

@@ -247,15 +247,15 @@ _Notification:_
247247
participant L as LLM
248248
C->>+S: chat/prompt
249249
Note over C,S: User sends: Hello there!
250-
S->>C: chat/contentReceived (system: start)
250+
S--)C: chat/contentReceived (system: start)
251251
Note right of S: Parse contexts,<br/>renew login,<br/>prepare prompt
252252
S->>+L: Send prompt
253-
S-->>-C: chat/prompt
253+
S->>-C: chat/prompt
254254
Note over C,S: Request sent to LLM
255255
loop LLM streaming
256256
Note right of L: Returns first `Hel`,<br/>then `lo`, etc
257-
L-->>S: Stream data
258-
S->>C: chat/contentReceived (assistant: text)
257+
L--)S: Stream data
258+
S--)C: chat/contentReceived (assistant: text)
259259
260260
end
261261
L->>-S: Finish response

0 commit comments

Comments
 (0)