From 2ee988ccc04c09ceb6de7cdb75c94114e85d01b9 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Sat, 14 Mar 2026 00:39:22 +0000 Subject: feat: add agent selector to UI and support direct agent assignment - Added an agent selector (Auto, Claude, Gemini) to the Start Next Task button. - Updated the backend to pass query parameters as environment variables to scripts. - Modified the executor pool to skip classification when a specific agent is requested. - Added --agent flag to claudomator start command. - Updated tests to cover the new functionality. --- scripts/start-next-task | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'scripts/start-next-task') diff --git a/scripts/start-next-task b/scripts/start-next-task index da019b6..d53f008 100755 --- a/scripts/start-next-task +++ b/scripts/start-next-task @@ -12,4 +12,9 @@ if [[ -z "$task_id" ]]; then exit 0 fi -claudomator start "$task_id" +ARGS=() +if [[ -n "${CLAUDOMATOR_AGENT:-}" ]]; then + ARGS+=(--agent "$CLAUDOMATOR_AGENT") +fi + +claudomator start "${ARGS[@]}" "$task_id" -- cgit v1.2.3