fix(display): lowercase 'ultraworker' to avoid ZWSP rendering glitch in OpenCode TUI
The agent sort shim injects zero-width space (ZWSP, U+200B) characters into agent names for UI ordering. When the display name contains a capital letter immediately after the ZWSP (e.g., 'Ultraworker'), the OpenCode TUI renderer can swallow the first visible character, showing 'Sisyphus - ltraworker' (appears as 'Itraworker' in certain fonts). Changing to lowercase 'ultraworker' avoids the rendering issue while maintaining semantic clarity. All test assertions updated to match.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
* type selector dropdown. Use ` - ` (space-dash-space) instead of `(...)`.
|
||||
*/
|
||||
export const AGENT_DISPLAY_NAMES: Record<string, string> = {
|
||||
sisyphus: "Sisyphus - Ultraworker",
|
||||
sisyphus: "Sisyphus - ultraworker",
|
||||
hephaestus: "Hephaestus - Deep Agent",
|
||||
prometheus: "Prometheus - Plan Builder",
|
||||
atlas: "Atlas - Plan Executor",
|
||||
|
||||
Reference in New Issue
Block a user