feat(quick-pane): promote active runtime
This commit is contained in:
@@ -228,6 +228,17 @@ pub async fn create_quick_runtime(
|
||||
)
|
||||
.await
|
||||
}
|
||||
pub async fn promote_quick_runtime(
|
||||
socket_path: &str,
|
||||
runtime_id: &str,
|
||||
) -> Result<RuntimeResult, String> {
|
||||
typed_request(
|
||||
socket_path,
|
||||
"promote_quick_runtime",
|
||||
Some(json!({ "runtimeId": runtime_id })),
|
||||
)
|
||||
.await
|
||||
}
|
||||
pub async fn open_session_runtime(
|
||||
socket_path: &str,
|
||||
worktree_path: &str,
|
||||
|
||||
Reference in New Issue
Block a user