fix: unify agentType value domain to 'claude-code' | 'codex'

The streamed-output-evaluator used 'claude' while the rest of the
codebase used 'claude-code'. Align the evaluator type and all call
sites (message-agent-executor, task-scheduler) to use the canonical
'claude-code' | 'codex' domain consistently.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Eyejoker
2026-03-25 15:51:09 +09:00
parent 8fee2ab3fc
commit 273d52d3da
4 changed files with 8 additions and 8 deletions

View File

@@ -331,7 +331,7 @@ async function runTask(
streamedOutput,
streamedState,
{
agentType: isClaudeAgent ? 'claude' : 'codex',
agentType: isClaudeAgent ? 'claude-code' : 'codex',
provider,
shortCircuitTriggeredErrors: true,
},