zed/crates/assistant_slash_command
Antonio Scandurra 8944af7406
Lay the groundwork for collaborating on assistant panel (#13991)
This pull request introduces collaboration for the assistant panel by
turning `Context` into a CRDT. `ContextStore` is responsible for sending
and applying operations, as well as synchronizing missed changes while
the connection was lost.

Contexts are shared on a per-project basis, and only the host can share
them for now. Shared contexts can be accessed via the `History` tab in
the assistant panel.

<img width="1819" alt="image"
src="https://github.com/zed-industries/zed/assets/482957/c7ae46d2-cde3-4b03-b74a-6e9b1555c154">


Please note that this doesn't implement following yet, which is
scheduled for a subsequent pull request.

Release Notes:

- N/A
2024-07-10 17:36:22 +02:00
..
src Lay the groundwork for collaborating on assistant panel (#13991) 2024-07-10 17:36:22 +02:00
Cargo.toml Preserve sections generated by slash commands when reloading a context (#13199) 2024-06-18 14:49:53 +02:00
LICENSE-GPL Extract SlashCommand trait from assistant (#12252) 2024-05-24 13:03:41 -04:00