summaryrefslogtreecommitdiff
path: root/makima/src/server
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-01-22 12:58:58 +0000
committersoryu <soryu@soryu.co>2026-01-22 13:00:01 +0000
commit1b1b737006f9505b2a188a669c5a37671658ce3f (patch)
treeb9c71776f8803282fc5e303e7ebddebe9b921319 /makima/src/server
parent9e286c146e29e714b3b209b4d948d75cce179b05 (diff)
downloadsoryu-1b1b737006f9505b2a188a669c5a37671658ce3f.tar.gz
soryu-1b1b737006f9505b2a188a669c5a37671658ce3f.zip
Fix completion actions: default to PR and support remote repos
- Change default completion action from 'branch' to 'pr' for tasks using daemon working directory - Allow PR completion action to work without target_repo_path if the worktree already has an origin remote configured (e.g., when cloned from a remote URL) - Update create_pull_request to accept optional target_repo parameter Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'makima/src/server')
-rw-r--r--makima/src/server/handlers/mesh_chat.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/makima/src/server/handlers/mesh_chat.rs b/makima/src/server/handlers/mesh_chat.rs
index 0fc5513..8e134bd 100644
--- a/makima/src/server/handlers/mesh_chat.rs
+++ b/makima/src/server/handlers/mesh_chat.rs
@@ -995,8 +995,8 @@ async fn handle_mesh_request(
};
(Some(action), target)
} else if is_daemon_working_dir {
- // No merge_mode but using daemon working dir - default to "branch"
- (Some("branch".to_string()), repository_url.clone())
+ // No merge_mode but using daemon working dir - default to "pr"
+ (Some("pr".to_string()), repository_url.clone())
} else {
(None, None)
};