plano/www/src/data/diagrams.ts
2025-11-21 11:18:35 -08:00

84 lines
9.4 KiB
TypeScript

export const diagrams = {
intentDetection: ` ╔═ Intent Detection ═════════════════════════════╗
╔═══════════╗ ║ ║░
║ ║░ ║ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ║░
║ agent ║░─────────║─▶┃ Cognition ┃ ║░
║ ║░ ║ ┃ ┃ ║░
╚═══════════╝░ ║ ┃ Action ┃ ║░
░░░░░░░░░░░░░ ║ ┗━━━━━━━━━━━━━━━┬━━━━━━━━━━━━━━━━━━━━━━━┛ ║░
║ │ ║░
║ ▼ ║░
║ ┌───────────────────────┐ ║░
║ │ Confirm action? │ ║░
║ └───────────┬───────────┘ ║░
║ │ ║░
║ ▼ ║░
║ ┌───────────────────────┐ ║░
║ │ Execute Action │ ║░
║ └───────────────────────┘ ║░
║ ║░
╚════════════════════════════════════════════════╝░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░`,
dataFlow: ` ╔═ Data Pipeline ═════════════════════════════╗
╔═══════════╗ ║ ║░
║ ║░ ║ ┏━━━━━━━━━━━┓ ┏━━━━━━━━━━━━━━━━━┓ ║░
║ Input ║░────────────║─▶┃ Process ┃────▶┃ Transform ┃ ║░
║ ║░ ║ ┗━━━━━━━━━━━┛ ┗━━━━━━━┬━━━━━━━━━┛ ║░
╚═══════════╝░ ║ │ ║░
░░░░░░░░░░░░░ ║ ▼ ║░
║ ┌──────────────────┐ ║░
║ │ Store (DB) │ ║░
║ └──────────────────┘ ║░
║ ║░
╚═════════════════════════════════════════════╝░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░`,
microservices: ` ╔═ Microservices Architecture ════════════════════╗
╔═══════════╗ ║ ║░
║ ║░ ║ ┌─────────────────────────────────────┐ ║░
║ Client ║░────API─────║─▶│ API Gateway │ ║░
║ ║░ ║ └──────────┬──────────────┬───────────┘ ║░
╚═══════════╝░ ║ │ │ ║░
░░░░░░░░░░░░░ ║ ▼ ▼ ║░
║ ┏━━━━━━━━━━━━━┓ ┏━━━━━━━━━━━━━┓ ║░
║ ┃ Service A ┃ ┃ Service B ┃ ║░
║ ┗━━━━━━┬━━━━━━┛ ┗━━━━━━┬━━━━━━┛ ║░
║ │ │ ║░
║ └────────┬────────┘ ║░
║ ▼ ║░
║ ┌─────────────────┐ ║░
║ │ Database │ ║░
║ └─────────────────┘ ║░
╚══════════════════════════════════════════════╝░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░`,
simpleFlow: `╔════════════╗ ╔════════════╗ ╔════════════╗
║ ║░ ║ ║░ ║ ║░
║ Step 1 ║░───▶║ Step 2 ║░───▶║ Step 3 ║░
║ ║░ ║ ║░ ║ ║░
╚════════════╝░ ╚════════════╝░ ╚════════════╝░
░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░ ░░░░░░░░░░░░░░`,
infrastructureLayer: ` ╔═ plano ════════════════════════════════════════╗
╔═══════════╗ ║ ║░
║ ║░ ║ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ║░
║ client ║░─────────║─▶┃ Safety Guardrails ┃ ║░
║ ║░ ║ ┃ ┃ ║░
╚═══════════╝░ ║ ┗━━━━━━━━━━━━━━━┬━━━━━━━━━━━━━━━━━━━━━━━┛ ║░
░░░░░░░░░░░░░ ║ │ ║░
║ ▼ ║░
║ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ║░
║ ┃ Multi-Agent Workflows ┃ ║░
║ ┗━━━━━━━━━━━━━━━┬━━━━━━━━━━━━━━━━━━━━━━━┛ ║░
║ │ ║░
║ ▼ ║░
║ ┌───────────────────────────────┐ ║░
║ │ Unified LLM Access │ ║░
║ └───────────────────────────────┘ ║░
║ ║░
╚════════════════════════════════════════════════╝░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░`,
};
export type DiagramKey = keyof typeof diagrams;