UNPKG

aios-core

Version:

Synkra AIOS: AI-Orchestrated System for Full Stack Development - Core Framework

50 lines (39 loc) โ€ข 1.75 kB
#!/usr/bin/env node /** * AIOS Agents Command - List available agents */ const fs = require('fs'); const path = require('path'); const AGENT_INFO = { dev: { icon: '๐Ÿ‘จโ€๐Ÿ’ป', persona: 'Dex', role: 'Developer' }, architect: { icon: '๐Ÿ›๏ธ', persona: 'Aria', role: 'Architect' }, qa: { icon: '๐Ÿงช', persona: 'Quinn', role: 'QA Engineer' }, pm: { icon: '๐Ÿ“‹', persona: 'Morgan', role: 'Product Manager' }, po: { icon: '๐ŸŽฏ', persona: 'Pax', role: 'Product Owner' }, sm: { icon: '๐Ÿ”„', persona: 'River', role: 'Scrum Master' }, analyst: { icon: '๐Ÿ“Š', persona: 'Alex', role: 'Analyst' }, devops: { icon: '๐Ÿš€', persona: 'Gage', role: 'DevOps' }, 'data-engineer': { icon: '๐Ÿ—„๏ธ', persona: 'Dara', role: 'Data Engineer' }, 'ux-design-expert': { icon: '๐ŸŽจ', persona: 'Uma', role: 'UX Designer' }, }; async function main() { const projectDir = process.cwd(); const agentsPath = path.join(projectDir, '.aios-core', 'development', 'agents'); console.log('๐Ÿค– AIOS Agents\n'); console.log('โ”'.repeat(50)); if (!fs.existsSync(agentsPath)) { console.log('No agents found. Run: npx aios-core install'); return; } const files = fs.readdirSync(agentsPath).filter((f) => f.endsWith('.md') && !f.startsWith('_')); for (const file of files) { const agentId = file.replace('.md', ''); const info = AGENT_INFO[agentId] || { icon: '๐Ÿค–', persona: agentId, role: 'Agent' }; console.log(`${info.icon} @${agentId}`); console.log(` Persona: ${info.persona} | Role: ${info.role}`); } console.log('\n' + 'โ”'.repeat(50)); console.log('Quick launch with: /aios-menu or /aios-<agent-id>'); console.log('Alternative: /aios-agent <agent-id>'); } main().catch(console.error);