assistant: Allow guests to create new contexts on the host (#15439)

This PR extends collaboration in the Assistant to allow guests to create
new contexts on the host when collaborating.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-07-29 12:01:09 -04:00 committed by GitHub
parent 2b0c60043d
commit aa1633ba40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 225 additions and 24 deletions

View file

@ -398,6 +398,8 @@ messages!(
(AdvertiseContexts, Foreground),
(OpenContext, Foreground),
(OpenContextResponse, Foreground),
(CreateContext, Foreground),
(CreateContextResponse, Foreground),
(UpdateContext, Foreground),
(SynchronizeContexts, Foreground),
(SynchronizeContextsResponse, Foreground),
@ -523,6 +525,7 @@ request_messages!(
(RenameDevServer, Ack),
(RestartLanguageServers, Ack),
(OpenContext, OpenContextResponse),
(CreateContext, CreateContextResponse),
(SynchronizeContexts, SynchronizeContextsResponse),
(AddWorktree, AddWorktreeResponse),
);
@ -589,6 +592,7 @@ entity_messages!(
LspExtExpandMacro,
AdvertiseContexts,
OpenContext,
CreateContext,
UpdateContext,
SynchronizeContexts,
);