feat(#1653): optional name param for bash run tool

This commit is contained in:
damocles 2026-06-13 16:08:31 +02:00 committed by mara
commit 9bd51a7440
5 changed files with 119 additions and 8 deletions

View file

@ -61,8 +61,9 @@ async fn dispatch(req: DaemonRequest) -> DaemonResponse {
cmd,
timeout_secs,
wait_seconds,
name,
} => {
let id = match runner::submit_task(cmd, timeout_secs) {
let id = match runner::submit_task(cmd, timeout_secs, name) {
Ok(id) => id,
Err(e) => return DaemonResponse::error(format!("submit_task: {e:#}")),
};