// ========== CONNECT YOUR AI (DC-162) ========== // One button, one flow: click "🤖 Connect AI" → pick Claude/ChatGPT/generic // → DashCaddy mints a dedicated dk_ key + ready-to-paste MCP config. The // dashboard's own session does the signing-in; the AI assistant authenticates // with the key against POST /api/v1/mcp. Keys listed/revokeable here too. (function() { const errorHandler = new ErrorHandler(); injectModal('ai-connect-modal', `