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

@@ -147,7 +147,7 @@ export async function runAgentForGroup(
resetSessionRequested = true;
}
const evaluation = evaluateStreamedOutput(output, streamedState, {
agentType: isClaudeCodeAgent ? 'claude' : 'codex',
agentType: isClaudeCodeAgent ? 'claude-code' : 'codex',
provider,
suppressClaudeAuthErrorOutput: provider === 'claude',
trackSuccessNullResult: true,