feat(quick-pane): refine spotlight workflow

This commit is contained in:
2026-08-25 19:14:30 +02:00
parent dd23898769
commit 67063464e7
11 changed files with 418 additions and 113 deletions
+3
View File
@@ -203,6 +203,9 @@ pub async fn get_workspace(socket_path: &str) -> Result<Workspace, String> {
pub async fn get_workspace_summary(socket_path: &str) -> Result<WorkspaceSummary, String> {
typed_request(socket_path, "get_workspace_summary", None).await
}
pub async fn get_model_catalog(socket_path: &str) -> Result<Value, String> {
request(socket_path, "get_model_catalog", None, None).await
}
pub async fn create_session_runtime(
socket_path: &str,
worktree_path: &str,
+6
View File
@@ -122,6 +122,11 @@ async fn get_workspace_summary() -> Result<bridge::WorkspaceSummary, String> {
bridge::get_workspace_summary(&socket_path()?).await
}
#[tauri::command]
async fn get_model_catalog() -> Result<Value, String> {
bridge::get_model_catalog(&socket_path()?).await
}
#[tauri::command]
async fn create_session_runtime(worktree_path: String) -> Result<bridge::RuntimeResult, String> {
bridge::create_session_runtime(&socket_path()?, &worktree_path).await
@@ -410,6 +415,7 @@ pub fn run() {
.invoke_handler(tauri::generate_handler![
get_workspace,
get_workspace_summary,
get_model_catalog,
create_session_runtime,
create_quick_runtime,
open_session_runtime,