refactor(agent-priority): use getAgentListDisplayName for ordering

Update agent priority order handler and tests to use

getAgentListDisplayName for consistent runtime-facing names.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-04-11 22:01:34 +09:00
parent 79b4b0a386
commit ce53b4cbdb
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { getAgentDisplayName } from "../shared/agent-display-names"
import { getAgentListDisplayName } from "../shared/agent-display-names"
/**
* CRITICAL: This is the ONLY source of truth for core agent ordering.
@@ -25,7 +25,7 @@ const CORE_AGENT_ORDER: ReadonlyArray<{
order: number
}> = CANONICAL_CORE_AGENT_ORDER.map((configKey, index) => ({
configKey,
displayName: getAgentDisplayName(configKey),
displayName: getAgentListDisplayName(configKey),
order: index + 1,
}))