Converted all external tool calling to async

This commit is contained in:
Timmy
2026-06-29 16:59:54 +01:00
parent 75f41088b1
commit feb35ddd10
49 changed files with 482 additions and 496 deletions
@@ -283,7 +283,7 @@ impl AgentPool {
&& let Ok(ref r) = report
&& r.story_archived
{
pool.set_merge_success_reported(&sid);
pool.set_merge_success_reported(&sid).await;
crate::db::write_content(crate::db::ContentKey::MergeSuccess(&sid), "1");
}
@@ -350,7 +350,7 @@ impl AgentPool {
let story_archived = crate::agents::lifecycle::move_story_to_done(story_id).is_ok();
if story_archived {
self.remove_agents_for_story(story_id);
self.remove_agents_for_story(story_id).await;
}
let worktree_cleaned_up = if wt_path.exists() {