diff --git a/src/web-ui/src/app/scenes/agents/AgentsScene.tsx b/src/web-ui/src/app/scenes/agents/AgentsScene.tsx index 1fb2b45225..399cced601 100644 --- a/src/web-ui/src/app/scenes/agents/AgentsScene.tsx +++ b/src/web-ui/src/app/scenes/agents/AgentsScene.tsx @@ -109,8 +109,8 @@ function getSkillGroupLabel(groupKey: string, t: TFunction<'scenes/agents'>): st switch (groupKey) { case 'office': return t('agentsOverview.skillGroups.office'); - case 'computer-use': - return t('agentsOverview.skillGroups.computerUse'); + // case 'computer-use': // disabled for HarmonyOS + // return t('agentsOverview.skillGroups.computerUse'); case 'meta': return t('agentsOverview.skillGroups.meta'); case 'team': @@ -266,11 +266,12 @@ const AgentsHomeView: React.FC = () => { accentColor: '#14b8a6', accentBg: 'rgba(20,184,166,0.10)', }, - ComputerUse: { - role: t('coreAgentsZone.modes.computerUse.role'), - accentColor: '#f59e0b', - accentBg: 'rgba(245,158,11,0.10)', - }, + // ComputerUse disabled for HarmonyOS + // ComputerUse: { + // role: t('coreAgentsZone.modes.computerUse.role'), + // accentColor: '#f59e0b', + // accentBg: 'rgba(245,158,11,0.10)', + // }, }), [t]); const coreAgents = useMemo(() => allAgents.filter((agent) => CORE_AGENT_IDS.has(agent.id)), [allAgents]); diff --git a/src/web-ui/src/app/scenes/agents/agentVisibility.ts b/src/web-ui/src/app/scenes/agents/agentVisibility.ts index 34031091ab..7fe3440da5 100644 --- a/src/web-ui/src/app/scenes/agents/agentVisibility.ts +++ b/src/web-ui/src/app/scenes/agents/agentVisibility.ts @@ -19,7 +19,9 @@ export const HIDDEN_AGENT_IDS = new Set([ ]); /** Core mode agents shown in the top zone only; excluded from overview zone list and counts. */ -export const CORE_AGENT_IDS = new Set(['agentic', 'Cowork', 'ComputerUse']); +// ComputerUse disabled for HarmonyOS +// export const CORE_AGENT_IDS = new Set(['agentic', 'Cowork', 'ComputerUse']); +export const CORE_AGENT_IDS = new Set(['agentic', 'Cowork']); /** Agents that appear in the bottom overview grid (same pool as filter chip counts). */ export function isAgentInOverviewZone( diff --git a/src/web-ui/src/app/scenes/agents/utils.ts b/src/web-ui/src/app/scenes/agents/utils.ts index deceffd259..873bc0a09b 100644 --- a/src/web-ui/src/app/scenes/agents/utils.ts +++ b/src/web-ui/src/app/scenes/agents/utils.ts @@ -7,7 +7,7 @@ const MODE_DESCRIPTION_KEY_BY_ID: Record = { plan: 'Plan', debug: 'Debug', cowork: 'Cowork', - computeruse: 'ComputerUse', + // computeruse: 'ComputerUse', // disabled for HarmonyOS deepresearch: 'DeepResearch', }; @@ -95,7 +95,7 @@ function enrichCapabilities(agent: AgentWithCapabilities): AgentWithCapabilities if (id === 'plan') return { ...agent, capabilities: [{ category: 'analysis', level: 5 }, { category: 'docs', level: 3 }] }; if (id === 'debug') return { ...agent, capabilities: [{ category: 'coding', level: 5 }, { category: 'analysis', level: 3 }] }; if (id === 'cowork') return { ...agent, capabilities: [{ category: 'analysis', level: 4 }, { category: 'creative', level: 3 }] }; - if (id === 'computeruse') return { ...agent, capabilities: [{ category: 'ops', level: 5 }, { category: 'analysis', level: 3 }] }; + // if (id === 'computeruse') return { ...agent, capabilities: [{ category: 'ops', level: 5 }, { category: 'analysis', level: 3 }] }; // disabled for HarmonyOS if (id === 'deepresearch') return { ...agent, capabilities: [{ category: 'analysis', level: 5 }, { category: 'docs', level: 4 }] }; } diff --git a/src/web-ui/src/app/scenes/skills/components/SkillsSuiteView.tsx b/src/web-ui/src/app/scenes/skills/components/SkillsSuiteView.tsx index 6def77a3e7..9038c413e9 100644 --- a/src/web-ui/src/app/scenes/skills/components/SkillsSuiteView.tsx +++ b/src/web-ui/src/app/scenes/skills/components/SkillsSuiteView.tsx @@ -18,7 +18,7 @@ const UNGROUPED_SKILL_GROUP = '__ungrouped__'; const SKILL_GROUP_ORDER: Record = { meta: 0, - 'computer-use': 1, + // 'computer-use': 1, // disabled for HarmonyOS office: 2, gstack: 3, [UNGROUPED_SKILL_GROUP]: 99, @@ -66,8 +66,8 @@ function getSkillGroupLabel(groupKey: string, t: (key: string) => string): strin switch (groupKey) { case 'office': return t('suite.groups.office'); - case 'computer-use': - return t('suite.groups.computerUse'); + // case 'computer-use': // disabled for HarmonyOS + // return t('suite.groups.computerUse'); case 'meta': return t('suite.groups.meta'); case 'gstack':