assistant: Allow opening the Prompt Library via the command palette (#27368)

Also took the opportunity to rename the action to something that would
be clearer in the command palette, from `DeployPromptLibrary` to
`OpenPromptLibrary`.

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>
This commit is contained in:
Danilo Leal 2025-03-24 21:00:33 -03:00 committed by GitHub
parent c32dece1b8
commit 03102b4d7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 27 additions and 13 deletions

View file

@ -188,7 +188,7 @@ pub mod assistant {
use schemars::JsonSchema;
use serde::Deserialize;
actions!(assistant, [ToggleFocus, DeployPromptLibrary]);
actions!(assistant, [ToggleFocus, OpenPromptLibrary]);
#[derive(Clone, Default, Deserialize, PartialEq, JsonSchema)]
#[serde(deny_unknown_fields)]