From e6e1e7cd6d79eb969345e738f2554108681ade95 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Sun, 8 Mar 2026 21:41:08 +0000 Subject: fix: restore task execution broken by add-gemini merge MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - handleCreateTask: add legacy "claude" key fallback in input struct so old clients and YAML files sending claude:{...} still work - cli/create: send "agent" key instead of "claude"; add --agent-type flag - storage/db_test: fix ClaudeConfig → AgentConfig after rename Co-Authored-By: Claude Sonnet 4.6 --- internal/storage/db_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/storage') diff --git a/internal/storage/db_test.go b/internal/storage/db_test.go index f737096..e76c00a 100644 --- a/internal/storage/db_test.go +++ b/internal/storage/db_test.go @@ -130,7 +130,7 @@ func TestUpdateTaskState_InvalidTransition(t *testing.T) { tk := &task.Task{ ID: "task-invalid", Name: "InvalidTransition", - Claude: task.ClaudeConfig{Instructions: "test"}, + Agent: task.AgentConfig{Instructions: "test"}, Priority: task.PriorityNormal, Retry: task.RetryConfig{MaxAttempts: 1, Backoff: "linear"}, Tags: []string{}, -- cgit v1.2.3