refactor: replace agent-control MCP with labels system and Paseo MCP
This commit is contained in:
@@ -62,11 +62,6 @@ export function useAggregatedAgents(): AggregatedAgentsResult {
|
||||
}
|
||||
const serverLabel = connectionStates.get(serverId)?.daemon.label ?? serverId;
|
||||
for (const agent of agents.values()) {
|
||||
// Use agent's own lastActivityAt field directly
|
||||
// Skip child agents - only show root agents on homepage
|
||||
if (agent.parentAgentId) {
|
||||
continue;
|
||||
}
|
||||
const nextAgent: AggregatedAgent = {
|
||||
id: agent.id,
|
||||
serverId,
|
||||
@@ -79,7 +74,6 @@ export function useAggregatedAgents(): AggregatedAgentsResult {
|
||||
requiresAttention: agent.requiresAttention,
|
||||
attentionReason: agent.attentionReason,
|
||||
attentionTimestamp: agent.attentionTimestamp,
|
||||
parentAgentId: agent.parentAgentId,
|
||||
archivedAt: agent.archivedAt,
|
||||
};
|
||||
allAgents.push(nextAgent);
|
||||
|
||||
Reference in New Issue
Block a user