Skip to content

Commit 1e018e7

Browse files
bwaldermananssiko
andauthored
Update docs/proposal.md
Co-authored-by: Anssi Kostiainen <anssi.kostiainen@gmail.com>
1 parent 6748764 commit 1e018e7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/proposal.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,4 +255,8 @@ Handling tool calls on the main thread raises performance concerns, especially i
255255

256256
One proposal was to expose the WebMCP API only in service workers and let the service worker post messages to individual client windows/tabs as needed in order to update UI. This would have complicated the architecture and required web developers to add a service worker. This would also have required the Session concept described earlier to help the service worker differentiate between agents that are connected to different windows and dispatch requests from a particular agent to the correct window.
257257

258-
For long-running, batched, or expensive tool calls, we expect web developers will dynamically update their UI when these are taking place to temporarily cede control to the agent (e.g. disable or remove human form inputs, indicate via UI that an agent is in control), and take advantage of dedicated workers as needed to offload expensive operations. This can be achieved with existing dedicated or shared workers.
258+
For long-running, batched, or expensive tool calls, we expect web developers will dynamically update their UI when these are taking place to temporarily cede control to the agent (e.g. disable or remove human form inputs, indicate via UI that an agent is in control), and take advantage of dedicated workers as needed to offload expensive operations. This can be achieved with existing dedicated or shared workers.
259+
260+
## Acknowledgments
261+
262+
Many thanks to [Alex Nahas](https://github.com/MiguelsPizza) for sharing related [implementation experience](https://github.com/MiguelsPizza/WebMCP).

0 commit comments

Comments
 (0)