Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions src/web-ui/src/app/scenes/agents/AgentsScene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down Expand Up @@ -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]);
Expand Down
4 changes: 3 additions & 1 deletion src/web-ui/src/app/scenes/agents/agentVisibility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ export const HIDDEN_AGENT_IDS = new Set<string>([
]);

/** Core mode agents shown in the top zone only; excluded from overview zone list and counts. */
export const CORE_AGENT_IDS = new Set<string>(['agentic', 'Cowork', 'ComputerUse']);
// ComputerUse disabled for HarmonyOS
// export const CORE_AGENT_IDS = new Set<string>(['agentic', 'Cowork', 'ComputerUse']);
export const CORE_AGENT_IDS = new Set<string>(['agentic', 'Cowork']);

/** Agents that appear in the bottom overview grid (same pool as filter chip counts). */
export function isAgentInOverviewZone(
Expand Down
4 changes: 2 additions & 2 deletions src/web-ui/src/app/scenes/agents/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const MODE_DESCRIPTION_KEY_BY_ID: Record<string, string> = {
plan: 'Plan',
debug: 'Debug',
cowork: 'Cowork',
computeruse: 'ComputerUse',
// computeruse: 'ComputerUse', // disabled for HarmonyOS
deepresearch: 'DeepResearch',
};

Expand Down Expand Up @@ -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 }] };
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const UNGROUPED_SKILL_GROUP = '__ungrouped__';

const SKILL_GROUP_ORDER: Record<string, number> = {
meta: 0,
'computer-use': 1,
// 'computer-use': 1, // disabled for HarmonyOS
office: 2,
gstack: 3,
[UNGROUPED_SKILL_GROUP]: 99,
Expand Down Expand Up @@ -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':
Expand Down
Loading