diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-03-08 21:41:08 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-03-08 21:41:08 +0000 |
| commit | e6e1e7cd6d79eb969345e738f2554108681ade95 (patch) | |
| tree | 461526162e42d4468c4d4be12fb1f6ad779efd79 /internal/storage | |
| parent | 14dcbc4804ff70b50278a0654006a0c1927dd586 (diff) | |
fix: restore task execution broken by add-gemini merge
- 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 <noreply@anthropic.com>
Diffstat (limited to 'internal/storage')
| -rw-r--r-- | internal/storage/db_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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{}, |
