Extract PromptLibrary to prompt_library (#23285)

This PR extracts the `PromptLibrary` out of the `assistant` crate and
moves it to the `prompt_library` crate.

The `PromptLibrary` is now decoupled from the specifics of the
`AssistantPanel` and `InlineAssistant`.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers
2025-01-17 15:28:27 +00:00
committed by GitHub
parent 81dd68d696
commit cb35b73020
7 changed files with 1224 additions and 1148 deletions
Generated
+10 -1
View File
@@ -413,7 +413,6 @@ dependencies = [
"proto",
"rand 0.8.5",
"regex",
"release_channel",
"rope",
"rpc",
"schemars",
@@ -9892,6 +9891,7 @@ dependencies = [
"assets",
"chrono",
"collections",
"editor",
"fs",
"futures 0.3.31",
"fuzzy",
@@ -9899,14 +9899,23 @@ dependencies = [
"handlebars 4.5.0",
"heed",
"language",
"language_model",
"log",
"menu",
"parking_lot",
"paths",
"picker",
"release_channel",
"rope",
"serde",
"settings",
"text",
"theme",
"ui",
"util",
"uuid",
"workspace",
"zed_actions",
]
[[package]]