feat: Council - agent teams management

This commit is contained in:
root
2026-02-16 13:19:21 +00:00
parent eaaa556448
commit d09d6985ca
3 changed files with 406 additions and 169 deletions
+67
View File
@@ -0,0 +1,67 @@
// Agent Types for Council
export interface Agent {
id: string;
name: string;
role: string;
description: string;
status: "idle" | "working" | "completed" | "error";
project: string;
lastRun?: string;
currentTask?: string;
}
export interface AgentTeam {
id: string;
name: string;
icon: string;
description: string;
agents: Agent[];
}
export const defaultTeams: AgentTeam[] = [
{
id: "sitemente-squad",
name: "SiteMente Squad",
icon: "🌐",
description: "Building and growing SiteMente B2B platform",
agents: [
{ id: "sm-architect", name: "Architect", role: "PM & Architecture", description: "Planning, architecture, task breakdown", status: "idle", project: "sitemente" },
{ id: "sm-frontend", name: "Frontend Dev", role: "UI/UX Implementation", description: "React, Next.js, components", status: "idle", project: "sitemente" },
{ id: "sm-ai", name: "AI Engineer", role: "LLM & Voice Integration", description: "Gemini, voice agents, widgets", status: "idle", project: "sitemente" },
{ id: "sm-seo", name: "SEO Specialist", role: "Content & Copy", description: "SEO, content, marketing copy", status: "idle", project: "sitemente" },
],
},
{
id: "holacompi-squad",
name: "HolaCompi Squad",
icon: "🤝",
description: "Consumer AI ally (paused until revenue)",
agents: [
{ id: "hc-product", name: "Product Manager", role: "Flows & UX", description: "User flows, product decisions", status: "idle", project: "holacompi" },
{ id: "hc telephony", name: "Telephony Engineer", role: "Voice & Telco", description: "Telnyx, Vapi, phone lines", status: "idle", project: "holacompi" },
{ id: "hc-voice", name: "Voice UX", role: "Conversation Design", description: "Dialogues, prompts, voice UX", status: "idle", project: "holacompi" },
],
},
{
id: "infrastructure-team",
name: "Infrastructure",
icon: "🔧",
description: "Security, backups, and system ops",
agents: [
{ id: "infra-sec", name: "Security Lead", role: "Hardening & Audits", description: "UFW, SSH, security audits", status: "idle", project: "infrastructure" },
{ id: "infra-backup", name: "Backup Manager", role: "Backup & Recovery", description: "Auto backups, cloud sync", status: "idle", project: "infrastructure" },
],
},
];
export const agentRoles = [
{ id: "architect", name: "Architect / PM", icon: "📋" },
{ id: "frontend", name: "Frontend Dev", icon: "🎨" },
{ id: "backend", name: "Backend Dev", icon: "⚙️" },
{ id: "ai-engineer", name: "AI Engineer", icon: "🤖" },
{ id: "seo", name: "SEO / Copy", icon: "📝" },
{ id: "product", name: "Product Manager", icon: "📦" },
{ id: "security", name: "Security", icon: "🛡️" },
{ id: "devops", name: "DevOps", icon: "🚀" },
];