ZIm/crates/assistant/src
Shish f1c45d988e
collab: Remove dependency on X11 (#19079)
collab: Remove dependency on X11

I'm not sure if this is the best solution (perhaps pulling
`LanguageName` into a separate `language_types` crate would be
better...?) - but it massively reduces build time / dependencies / size
and means that the collab server no longer requires X11 libraries to be
installed.

tl;dr: `telemetry_events` requires the `language` crate, and the
language crate requires a whole ton of extra stuff. Since
telemetry_events only uses `language` for a single type definition
(`LanguageName`, aka `String`), we can cut all of these out by using the
base `String` type (This doesn't seem too terrible, given that all other
telemetry fields are using basic datatypes like String as opposed to
more strongly-typed variants).


FYI the dependency tree for "why does collab need X11 libraries??" looks
like this:

```
collab
 \- telemetry_events
     \- language
         |- gpui
         |- fuzzy
         |   \- gpui
         |- git
         |   \- gpui
         |- lsp
         |   |- gpui
         |   \- release_channel
         |       \- gpui
         |- settings
         |   |- fs
         |   |   \- gpui
         |   \- gpui
         |- task
         |   \- gpui
         \- theme
             \- gpui
```

Release Notes:

- N/A
2024-10-11 13:28:34 -04:00
..
context Make Buffer::apply_ops infallible (#18089) 2024-09-19 13:14:15 -04:00
slash_command Make slash command descriptions consistent (#18595) 2024-10-02 10:35:50 -03:00
tools assistant: Add tool registry (#17331) 2024-09-03 19:14:36 -04:00
assistant.rs Add a slash command for automatically retrieving relevant context (#17972) 2024-09-20 18:09:18 -04:00
assistant_panel.rs assistant: Add support for displaying billing-related errors (#19082) 2024-10-11 13:22:45 -04:00
assistant_settings.rs Introduce the ability to cycle between alternative inline assists (#18098) 2024-09-19 17:50:00 -06:00
context.rs collab: Remove dependency on X11 (#19079) 2024-10-11 13:28:34 -04:00
context_store.rs ssh remoting: Fix cmd-o (#18308) 2024-09-24 16:23:08 -06:00
inline_assistant.rs collab: Remove dependency on X11 (#19079) 2024-10-11 13:28:34 -04:00
model_selector.rs assistant: Fix model selector check icon overflow (#16716) 2024-08-26 17:32:32 -07:00
prompt_library.rs Fix some issues with branch buffers (#18945) 2024-10-09 16:55:25 -07:00
prompts.rs Add a slash command for automatically retrieving relevant context (#17972) 2024-09-20 18:09:18 -04:00
slash_command.rs Add a slash command for automatically retrieving relevant context (#17972) 2024-09-20 18:09:18 -04:00
slash_command_picker.rs Make slash command descriptions consistent (#18595) 2024-10-02 10:35:50 -03:00
slash_command_settings.rs Add a slash command for automatically retrieving relevant context (#17972) 2024-09-20 18:09:18 -04:00
streaming_diff.rs Improve streaming git diffs to be less jumpy during inline assistant generation (#15853) 2024-08-06 16:13:29 +03:00
terminal_inline_assistant.rs telemetry: Add language_name and model_provider (#18640) 2024-10-04 14:37:27 -04:00
tools.rs assistant: Add tool registry (#17331) 2024-09-03 19:14:36 -04:00
workflow.rs Add "Fix with Assistant" code action on lines with diagnostics (#18163) 2024-09-23 11:40:34 -06:00