ZIm/crates/assistant2/src
Kirill Bulatov af5af9d7c5
Support workspace/executeCommand for actions' data (#26239)
Closes https://github.com/zed-industries/zed/issues/16746
Part of https://github.com/zed-extensions/deno/issues/2

Changes the action-related code so, that

* `lsp::Command` as actions are supported, if server replies with them
* actions with commands are filtered out based on servers'
`executeCommandOptions`
(https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#executeCommandOptions)
— commands that are not listed won't be executed and the corresponding
actions will be hidden in Zed

Release Notes:

- Added support of `workspace/executeCommand` for actions' data

---------

Co-authored-by: Peter Tripp <petertripp@gmail.com>
2025-03-06 23:26:46 +02:00
..
context_picker assistant2: Highlight crease on selection (#24358) 2025-02-20 13:25:08 -03:00
ui gpui: Rename rounded_md to rounded_sm (#26228) 2025-03-06 17:57:31 +00:00
active_thread.rs gpui: Add rounded_md token (#26179) 2025-03-06 13:41:21 -05:00
assistant.rs chore: Extract PromptStore out of prompt_library (#25837) 2025-03-01 00:34:28 +01:00
assistant_configuration.rs gpui: Rename rounded_md to rounded_sm (#26228) 2025-03-06 17:57:31 +00:00
assistant_model_selector.rs Fix language model selector (#26138) 2025-03-05 12:48:10 -05:00
assistant_panel.rs assistant2: Improve clarity of loading state (#26178) 2025-03-05 21:39:29 -03:00
buffer_codegen.rs chore: Extract PromptStore out of prompt_library (#25837) 2025-03-01 00:34:28 +01:00
context.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
context_picker.rs Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
context_store.rs assistant2: Allow adding directories as context that contain non-UTF8 files (#26135) 2025-03-05 16:47:43 +00:00
context_strip.rs Revert "file_finder: Remove common segments of long paths in search results (#25049)" (#25163) 2025-02-19 15:32:29 +00:00
history_store.rs assistant2: Combine history views into one (#25293) 2025-02-20 22:53:58 +00:00
inline_assistant.rs Support workspace/executeCommand for actions' data (#26239) 2025-03-06 23:26:46 +02:00
inline_prompt_editor.rs Fix language model selector (#26138) 2025-03-05 12:48:10 -05:00
message_editor.rs assistant2: Improve clarity of loading state (#26178) 2025-03-05 21:39:29 -03:00
terminal_codegen.rs windows: Fix terminal inline assistant (#25715) 2025-02-27 10:03:46 +08:00
terminal_inline_assistant.rs chore: Extract PromptStore out of prompt_library (#25837) 2025-03-01 00:34:28 +01:00
thread.rs assistant2: Add support for editing the last message sent by the user (#26037) 2025-03-04 17:57:42 +01:00
thread_history.rs git_ui: Prevent button overflow due to long names (#25940) 2025-03-03 18:38:15 +00:00
thread_store.rs assistant2: Restore tool uses when loading saved threads (#25942) 2025-03-03 18:32:26 +00:00
tool_use.rs assistant2: Restore tool uses when loading saved threads (#25942) 2025-03-03 18:32:26 +00:00
ui.rs assistant2: Sketch in sending file context to model (#21829) 2024-12-10 16:35:53 -05:00