rebuild button on agent UI (cross-origin POST to dashboard /rebuild)

This commit is contained in:
müde 2026-05-15 15:57:11 +02:00
parent 824914807a
commit f1fd787f17
7 changed files with 42 additions and 6 deletions

View file

@ -48,6 +48,7 @@ pub async fn approve(coord: Arc<Coordinator>, id: i64) -> Result<()> {
&agent_dir,
&applied_dir,
&claude_dir,
coord.dashboard_port,
)
.await
}
@ -69,6 +70,7 @@ pub async fn approve(coord: Arc<Coordinator>, id: i64) -> Result<()> {
&proposed_dir,
&applied_dir,
&claude_dir,
coord_bg.dashboard_port,
)
.await;
coord_bg.clear_transient(&agent_bg);