ZIm/crates/assistant/src
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
..
completion_provider Lay the groundwork for collaborating on assistant panel (#13991) 2024-07-10 17:36:22 +02:00
slash_command assistant: Clean up completion building in /docs command (#13877) 2024-07-05 13:42:27 -04:00
system_prompts Allow the assistant to suggest edits to files in the project (#11993) 2024-05-17 15:38:14 -07:00
assistant.rs Lay the groundwork for collaborating on assistant panel (#13991) 2024-07-10 17:36:22 +02:00
assistant_panel.rs Lay the groundwork for collaborating on assistant panel (#13991) 2024-07-10 17:36:22 +02:00
assistant_settings.rs assistant: Limit amount of concurrent completion requests (#13856) 2024-07-05 14:52:45 +02:00
completion_provider.rs Lay the groundwork for collaborating on assistant panel (#13991) 2024-07-10 17:36:22 +02:00
context.rs Lay the groundwork for collaborating on assistant panel (#13991) 2024-07-10 17:36:22 +02:00
context_store.rs Lay the groundwork for collaborating on assistant panel (#13991) 2024-07-10 17:36:22 +02:00
inline_assistant.rs assistant: Limit amount of concurrent completion requests (#13856) 2024-07-05 14:52:45 +02:00
model_selector.rs assistant: Remove unneeded wrapping div in ModelSelector (#14024) 2024-07-09 16:40:00 -04:00
prompt_library.rs Lay the groundwork for collaborating on assistant panel (#13991) 2024-07-10 17:36:22 +02:00
prompts.rs Add terminal inline assistant (#13638) 2024-07-01 20:53:56 +02:00
search.rs Fuzzy-match lines when applying edits from the assistant (#12056) 2024-05-20 17:02:15 +02:00
slash_command.rs Lay the groundwork for collaborating on assistant panel (#13991) 2024-07-10 17:36:22 +02:00
streaming_diff.rs Allow AI interactions to be proxied through Zed's server so you don't need an API key (#7367) 2024-03-19 19:22:26 +01:00
terminal_inline_assistant.rs assistant: Limit amount of concurrent completion requests (#13856) 2024-07-05 14:52:45 +02:00