Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/staged/src-tauri/src/prs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ struct PrStatusEvent {

/// Create a pull request for a branch by kicking off an agent session.
#[tauri::command(rename_all = "camelCase")]
pub fn create_pr(
pub async fn create_pr(
store: tauri::State<'_, Mutex<Option<Arc<Store>>>>,
registry: tauri::State<'_, Arc<session_runner::SessionRegistry>>,
app_handle: tauri::AppHandle,
Expand Down Expand Up @@ -482,7 +482,7 @@ pub async fn has_unpushed_commits(

/// Push a branch to its remote by kicking off an agent session.
#[tauri::command(rename_all = "camelCase")]
pub fn push_branch(
pub async fn push_branch(
store: tauri::State<'_, Mutex<Option<Arc<Store>>>>,
registry: tauri::State<'_, Arc<session_runner::SessionRegistry>>,
app_handle: tauri::AppHandle,
Expand Down
2 changes: 1 addition & 1 deletion apps/staged/src-tauri/src/session_commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pub fn get_session_messages_since(
/// in the background, and messages stream into the DB in real-time.
/// Returns the Session record (status will be "running").
#[tauri::command]
pub fn start_session(
pub async fn start_session(
store: tauri::State<'_, Mutex<Option<Arc<Store>>>>,
registry: tauri::State<'_, Arc<session_runner::SessionRegistry>>,
app_handle: tauri::AppHandle,
Expand Down