dev3000 0.0.89 → 0.0.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dev-environment.d.ts.map +1 -1
- package/dist/dev-environment.js +5 -0
- package/dist/dev-environment.js.map +1 -1
- package/mcp-server/.next/BUILD_ID +1 -1
- package/mcp-server/.next/build-manifest.json +2 -2
- package/mcp-server/.next/fallback-build-manifest.json +2 -2
- package/mcp-server/.next/next-minimal-server.js.nft.json +1 -1
- package/mcp-server/.next/next-server.js.nft.json +1 -1
- package/mcp-server/.next/prerender-manifest.json +3 -3
- package/mcp-server/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/mcp-server/.next/server/app/_global-error.html +2 -2
- package/mcp-server/.next/server/app/_global-error.rsc +1 -1
- package/mcp-server/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/mcp-server/.next/server/app/_not-found.html +1 -1
- package/mcp-server/.next/server/app/_not-found.rsc +1 -1
- package/mcp-server/.next/server/app/api/jank/[session]/route.js.nft.json +1 -1
- package/mcp-server/.next/server/app/api/logs/append/route.js.nft.json +1 -1
- package/mcp-server/.next/server/app/api/logs/head/route.js.nft.json +1 -1
- package/mcp-server/.next/server/app/api/logs/list/route.js.nft.json +1 -1
- package/mcp-server/.next/server/app/api/logs/rotate/route.js.nft.json +1 -1
- package/mcp-server/.next/server/app/api/logs/stream/route.js.nft.json +1 -1
- package/mcp-server/.next/server/app/api/logs/tail/route.js.nft.json +1 -1
- package/mcp-server/.next/server/app/api/orchestrator/route.js.nft.json +1 -1
- package/mcp-server/.next/server/app/api/screenshots/[filename]/route.js.nft.json +1 -1
- package/mcp-server/.next/server/app/api/screenshots/list/route.js.nft.json +1 -1
- package/mcp-server/.next/server/app/api/tools/route.js.nft.json +1 -1
- package/mcp-server/.next/server/app/index.html +1 -1
- package/mcp-server/.next/server/app/index.rsc +1 -1
- package/mcp-server/.next/server/app/logs/page.js.nft.json +1 -1
- package/mcp-server/.next/server/app/mcp/route.js +2 -2
- package/mcp-server/.next/server/app/mcp/route.js.nft.json +1 -1
- package/mcp-server/.next/server/app/page.js.nft.json +1 -1
- package/mcp-server/.next/server/app/video/[session]/page.js.nft.json +1 -1
- package/mcp-server/.next/server/chunks/[root-of-the-server]__05e38acd._.js.map +1 -1
- package/mcp-server/.next/server/chunks/[root-of-the-server]__94037b23._.js.map +1 -1
- package/mcp-server/.next/server/chunks/[root-of-the-server]__ae49815f._.js +2 -2
- package/mcp-server/.next/server/chunks/[root-of-the-server]__ae49815f._.js.map +1 -1
- package/mcp-server/.next/server/chunks/[root-of-the-server]__cc74dbef._.js.map +1 -1
- package/mcp-server/.next/server/chunks/ssr/mcp-server_app_page_tsx_9fc46577._.js.map +1 -1
- package/mcp-server/.next/server/server-reference-manifest.js +1 -1
- package/mcp-server/.next/server/server-reference-manifest.json +1 -1
- package/mcp-server/app/api/orchestrator/route.ts +1 -1
- package/mcp-server/app/mcp/client-manager.ts +1 -1
- package/mcp-server/app/mcp/tools.ts +117 -3
- package/mcp-server/app/page.tsx +0 -1
- package/package.json +1 -1
- /package/mcp-server/.next/static/{4QTQwT0vriZN0rBeHTIWl → XC8IdMzOP-R6sszO2tUlu}/_buildManifest.js +0 -0
- /package/mcp-server/.next/static/{4QTQwT0vriZN0rBeHTIWl → XC8IdMzOP-R6sszO2tUlu}/_clientMiddlewareManifest.json +0 -0
- /package/mcp-server/.next/static/{4QTQwT0vriZN0rBeHTIWl → XC8IdMzOP-R6sszO2tUlu}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["turbopack:///[project]/mcp-server/app/page.tsx","turbopack:///[project]/mcp-server/components/mcp-icons.tsx"],"sourcesContent":["\"use client\"\n\nimport Link from \"next/link\"\nimport { useEffect, useState } from \"react\"\nimport { DarkModeToggle } from \"@/components/dark-mode-toggle\"\nimport { ChromeIcon, NextJsIcon } from \"@/components/mcp-icons\"\nimport { useDarkMode } from \"@/hooks/use-dark-mode\"\n\ninterface MCPTool {\n name: string\n description: string\n category: string\n parameters: Array<{\n name: string\n type: string\n optional?: boolean\n description: string\n }>\n}\n\ninterface ToolsResponse {\n tools: MCPTool[]\n endpoint: string\n totalTools: number\n categories: string[]\n}\n\ninterface OrchestratorResponse {\n orchestratorEnabled: boolean\n connectedMCPs: string[]\n totalConnections: number\n mcpDetails: Array<{\n name: string\n connected: boolean\n toolCount: number\n tools: string[]\n projects: string[]\n }>\n totalProjects: number\n projects: string[]\n message: string\n}\n\n// Format tool descriptions by parsing markdown-style sections\nfunction formatToolDescription(description: string) {\n const slugify = (value: string) =>\n value\n .toLowerCase()\n .replace(/[^a-z0-9]+/g, \"-\")\n .replace(/(^-|-$)/g, \"\")\n\n // Split by double newline to get sections\n const sections = description.split(\"\\n\\n\").filter((section) => section.trim())\n const keyCounts = new Map<string, number>()\n\n const getUniqueKey = (base: string) => {\n const count = keyCounts.get(base) ?? 0\n keyCounts.set(base, count + 1)\n return count === 0 ? base : `${base}-${count}`\n }\n\n return sections.map((rawSection, _idx) => {\n const normalizedKey = getUniqueKey(slugify(rawSection) || \"section\")\n let section = rawSection\n\n // Remove markdown formatting\n section = section.replace(/\\*\\*/g, \"\").trim()\n\n // Remove excessive emojis\n section = section.replace(/(\\u{1F300}-\\u{1F9FF}|\\u{2600}-\\u{26FF}|\\u{1F900}-\\u{1F9FF})+/gu, (match) => {\n return match.charAt(0)\n })\n\n // Handle different section types\n if (section.includes(\":\")) {\n // This is a header with content\n const [header, ...contentParts] = section.split(\":\")\n const cleanHeader = header.trim()\n const content = contentParts.join(\":\").trim()\n\n // Check if content has bullet points\n if (content.includes(\"•\")) {\n const items = content.split(\"•\").filter((item) => item.trim())\n const sectionKey = `${normalizedKey}-bullets`\n return (\n <div key={sectionKey}>\n <h5 className=\"font-semibold mb-2\">{cleanHeader}</h5>\n <ul className=\"space-y-1 ml-4\">\n {items.map((item) => {\n const itemKey = getUniqueKey(`${sectionKey}-item-${slugify(item).slice(0, 40) || \"bullet\"}`)\n return (\n <li key={itemKey} className=\"flex items-start\">\n <span className=\"text-muted-foreground mr-2\">•</span>\n <span className=\"text-muted-foreground text-sm\">{item.trim()}</span>\n </li>\n )\n })}\n </ul>\n </div>\n )\n }\n\n return (\n <div key={`${normalizedKey}-content`}>\n <h5 className=\"font-semibold mb-1\">{cleanHeader}</h5>\n <p className=\"text-muted-foreground text-sm ml-4\">{content}</p>\n </div>\n )\n }\n\n // Handle numbered lists (like workflow steps)\n if (section.match(/^\\d+[\\ud83c-\\ud83e][\\udc00-\\udfff]|^\\d+\\./m)) {\n const items = section.split(/\\n/).filter((item) => item.trim())\n return (\n <ol className=\"space-y-1 ml-4\" key={`${normalizedKey}-steps`}>\n {items.map((item, itemIdx) => {\n const cleanItem = item\n .replace(/^\\d+[\\ud83c-\\ud83e][\\udc00-\\udfff]\\s*/, \"\")\n .replace(/^\\d+\\.\\s*/, \"\")\n .trim()\n return (\n <li\n key={getUniqueKey(`${normalizedKey}-step-${slugify(cleanItem).slice(0, 40) || \"step\"}`)}\n className=\"text-muted-foreground text-sm\"\n >\n {itemIdx + 1}. {cleanItem}\n </li>\n )\n })}\n </ol>\n )\n }\n\n // Default paragraph\n return (\n <p key={`${normalizedKey}-paragraph`} className=\"text-muted-foreground text-sm leading-relaxed\">\n {section}\n </p>\n )\n })\n}\n\nexport default function HomePage() {\n const [tools, setTools] = useState<ToolsResponse | null>(null)\n const [orchestrator, setOrchestrator] = useState<OrchestratorResponse | null>(null)\n const [loading, setLoading] = useState(true)\n const [darkMode, setDarkMode] = useDarkMode()\n\n useEffect(() => {\n // Fetch both tools and orchestrator status in parallel\n Promise.all([fetch(\"/api/tools\"), fetch(\"/api/orchestrator\")])\n .then(([toolsRes, orchRes]) => Promise.all([toolsRes.json(), orchRes.json()]))\n .then(([toolsData, orchData]) => {\n setTools(toolsData)\n setOrchestrator(orchData)\n setLoading(false)\n })\n .catch(() => {\n setLoading(false)\n })\n }, [])\n\n return (\n <div className=\"min-h-screen bg-background text-foreground\">\n {/* Header */}\n <header className=\"bg-muted/30 border-b border-border\">\n <div className=\"max-w-7xl mx-auto px-6 py-8\">\n <div className=\"flex items-center justify-between\">\n <div>\n <div className=\"flex items-center gap-4 mb-3\">\n <div className=\"w-12 h-12 bg-foreground rounded flex items-center justify-center\">\n <span className=\"text-background font-mono font-bold\">d3k</span>\n </div>\n <div>\n <h1 className=\"text-3xl font-bold\">dev3000 MCP Server</h1>\n <div className=\"flex items-center gap-3 mt-2\">\n <span className=\"inline-flex items-center gap-2 text-sm text-green-600 font-medium\">\n <span className=\"w-2 h-2 bg-green-500 rounded-full\"></span>\n Server Running\n </span>\n <span className=\"text-muted-foreground\">•</span>\n <span className=\"text-sm text-muted-foreground\">Port {process.env.PORT || \"3684\"}</span>\n </div>\n </div>\n </div>\n </div>\n <div className=\"flex items-center gap-4\">\n <a\n href=\"https://github.com/vercel-labs/dev3000#setup\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"inline-flex items-center gap-2 px-5 py-3 border border-border text-foreground text-sm font-medium rounded hover:bg-accent hover:text-accent-foreground transition-colors\"\n >\n 📖 Setup Guide\n </a>\n <DarkModeToggle darkMode={darkMode} setDarkMode={setDarkMode} />\n </div>\n </div>\n </div>\n </header>\n\n {/* Main Content - no sidebar needed with only 2 tools */}\n <main className=\"max-w-7xl mx-auto px-6 py-8\">\n {/* MCP Connections Status */}\n {!loading && orchestrator && (\n <section className=\"mb-16\">\n <div className=\"bg-accent/10 border border-accent/20 rounded p-8\">\n <h2 className=\"text-xl font-semibold mb-4\">🔌 MCP Connections</h2>\n <p className=\"text-sm text-muted-foreground mb-4\">{orchestrator.message}</p>\n\n {orchestrator.totalConnections > 0 ? (\n <>\n <div className=\"flex flex-wrap gap-3 mb-4\">\n {orchestrator.mcpDetails.map((mcp) => {\n const Icon =\n mcp.name === \"chrome-devtools\" ? ChromeIcon : mcp.name === \"nextjs-dev\" ? NextJsIcon : null\n return (\n <div\n key={mcp.name}\n className=\"inline-flex items-center gap-2 bg-background/50 border border-border rounded px-3 py-2\"\n >\n {Icon && <Icon className=\"shrink-0\" />}\n <span className=\"font-semibold font-mono text-sm\">{mcp.name}</span>\n <span className=\"w-2 h-2 bg-green-500 rounded-full\"></span>\n </div>\n )\n })}\n </div>\n {orchestrator.totalProjects > 0 && (\n <div className=\"text-sm text-muted-foreground\">\n <span className=\"font-medium\">Active projects:</span>{\" \"}\n {orchestrator.projects.map((project, idx) => (\n <span key={project}>\n <code className=\"text-foreground bg-background/50 px-1.5 py-0.5 rounded\">{project}</code>\n {idx < orchestrator.projects.length - 1 && \", \"}\n </span>\n ))}\n </div>\n )}\n </>\n ) : (\n <div className=\"text-sm text-muted-foreground bg-background/50 border border-border rounded p-4\">\n <p className=\"mb-2\">⏳ Waiting for downstream MCPs to become available...</p>\n <p className=\"text-xs\">\n dev3000 will automatically connect to <code className=\"text-foreground\">chrome-devtools</code> and{\" \"}\n <code className=\"text-foreground\">nextjs-dev</code> MCPs when Chrome and your dev server start.\n </p>\n </div>\n )}\n </div>\n </section>\n )}\n\n {/* Tools Documentation */}\n <section className=\"bg-accent/10 border border-accent/20 rounded p-8\">\n <h2 className=\"text-xl font-semibold mb-4\">🛠️ dev3000 Tools</h2>\n\n {loading ? (\n <div className=\"text-center py-16\">\n <div className=\"inline-block animate-spin rounded-full h-8 w-8 border-b-2 border-primary\"></div>\n <p className=\"mt-6 text-muted-foreground\">Loading tool documentation...</p>\n </div>\n ) : tools ? (\n <div className=\"grid gap-6 lg:grid-cols-2\">\n {tools.tools.map((tool) => (\n <div\n key={tool.name}\n id={tool.name}\n className=\"bg-background/50 border border-border rounded-lg p-6 hover:border-muted-foreground/50 transition-colors\"\n >\n <div className=\"mb-4\">\n <h4 className=\"text-xl font-semibold font-mono mb-3\">{tool.name}</h4>\n <div className=\"text-muted-foreground space-y-3\">{formatToolDescription(tool.description)}</div>\n </div>\n {tool.parameters.length > 0 && (\n <div>\n <h5 className=\"text-sm font-semibold mb-3\">Parameters:</h5>\n <div className=\"space-y-2\">\n {tool.parameters.map((param) => (\n <div key={param.name} className=\"text-sm\">\n <div className=\"flex items-start gap-2\">\n <span className=\"font-mono text-primary font-medium\">{param.name}</span>\n <span className=\"text-muted-foreground text-xs\">\n {param.optional ? \"(optional)\" : \"(required)\"}\n </span>\n <span className=\"text-muted-foreground/70 text-xs\">- {param.type}</span>\n </div>\n {param.description && (\n <div className=\"text-muted-foreground ml-1 mt-1 text-sm\">{param.description}</div>\n )}\n </div>\n ))}\n </div>\n </div>\n )}\n </div>\n ))}\n </div>\n ) : (\n <div className=\"text-center py-16\">\n <p className=\"text-destructive mb-6\">Failed to load tool documentation</p>\n <button\n onClick={() => window.location.reload()}\n className=\"px-6 py-3 bg-primary text-primary-foreground text-sm rounded hover:bg-primary/90 transition-colors\"\n type=\"button\"\n >\n Retry\n </button>\n </div>\n )}\n </section>\n\n {/* Magic Workflow */}\n <section className=\"mt-20 bg-gradient-to-r from-primary/10 to-secondary/10 border border-border rounded-lg p-10\">\n <h2 className=\"text-2xl font-semibold mb-6 flex items-center gap-3\">🪄 The Magic Workflow</h2>\n <div className=\"grid md:grid-cols-3 gap-8\">\n <div className=\"text-center\">\n <div className=\"w-16 h-16 bg-primary/20 rounded-full flex items-center justify-center mx-auto mb-4 shadow-md\">\n <span className=\"text-primary font-bold text-2xl\">1</span>\n </div>\n <h3 className=\"font-semibold mb-3 text-lg\">AI Finds Issues</h3>\n <p className=\"text-muted-foreground leading-relaxed\">\n fix_my_app automatically detects all types of errors and problems in your app\n </p>\n </div>\n <div className=\"text-center\">\n <div className=\"w-16 h-16 bg-accent/20 rounded-full flex items-center justify-center mx-auto mb-4 shadow-md\">\n <span className=\"text-accent-foreground font-bold text-2xl\">2</span>\n </div>\n <h3 className=\"font-semibold mb-3 text-lg\">AI Fixes Code</h3>\n <p className=\"text-muted-foreground leading-relaxed\">\n AI analyzes errors and edits your code files to resolve issues\n </p>\n </div>\n <div className=\"text-center\">\n <div className=\"w-16 h-16 bg-green-500/20 rounded-full flex items-center justify-center mx-auto mb-4 shadow-md\">\n <span className=\"text-green-600 dark:text-green-400 font-bold text-2xl\">3</span>\n </div>\n <h3 className=\"font-semibold mb-3 text-lg\">AI Verifies Fixes</h3>\n <p className=\"text-muted-foreground leading-relaxed\">\n execute_browser_action tests the fixes in real-time with screenshots\n </p>\n </div>\n </div>\n </section>\n </main>\n\n {/* Footer */}\n <footer className=\"border-t border-border mt-20\">\n <div className=\"max-w-7xl mx-auto px-6 py-8\">\n <div className=\"flex items-center justify-between text-sm text-muted-foreground\">\n <div>\n <span className=\"font-semibold\">dev3000 MCP Server</span> - AI-powered development monitoring\n </div>\n <div className=\"flex items-center gap-8\">\n <a\n href=\"https://github.com/vercel-labs/dev3000\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"hover:text-foreground transition-colors\"\n >\n GitHub\n </a>\n <a\n href=\"https://dev3000.ai\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"hover:text-foreground transition-colors\"\n >\n Homepage\n </a>\n </div>\n </div>\n </div>\n </footer>\n </div>\n )\n}\n","import { useId } from \"react\"\n\nexport function NextJsIcon({ className }: { className?: string }) {\n const lightMaskId = useId()\n const lightPaint0Id = useId()\n const lightPaint1Id = useId()\n const darkMaskId = useId()\n const darkPaint0Id = useId()\n const darkPaint1Id = useId()\n\n return (\n <>\n {/* Light mode */}\n <svg\n aria-label=\"Next.js logomark\"\n className={`${className} block dark:hidden`}\n height=\"16\"\n role=\"img\"\n viewBox=\"0 0 180 180\"\n width=\"16\"\n >\n <mask\n height=\"180\"\n id={lightMaskId}\n maskUnits=\"userSpaceOnUse\"\n width=\"180\"\n x=\"0\"\n y=\"0\"\n style={{ maskType: \"alpha\" }}\n >\n <circle cx=\"90\" cy=\"90\" fill=\"black\" r=\"90\" />\n </mask>\n <g mask={`url(#${lightMaskId})`}>\n <circle cx=\"90\" cy=\"90\" fill=\"black\" r=\"90\" />\n <path\n d=\"M149.508 157.52L69.142 54H54V125.97H66.1136V69.3836L139.999 164.845C143.333 162.614 146.509 160.165 149.508 157.52Z\"\n fill={`url(#${lightPaint0Id})`}\n />\n <rect fill={`url(#${lightPaint1Id})`} height=\"72\" width=\"12\" x=\"115\" y=\"54\" />\n </g>\n <defs>\n <linearGradient gradientUnits=\"userSpaceOnUse\" id={lightPaint0Id} x1=\"109\" x2=\"144.5\" y1=\"116.5\" y2=\"160.5\">\n <stop stopColor=\"white\" />\n <stop offset=\"1\" stopColor=\"white\" stopOpacity=\"0\" />\n </linearGradient>\n <linearGradient gradientUnits=\"userSpaceOnUse\" id={lightPaint1Id} x1=\"121\" x2=\"120.799\" y1=\"54\" y2=\"106.875\">\n <stop stopColor=\"white\" />\n <stop offset=\"1\" stopColor=\"white\" stopOpacity=\"0\" />\n </linearGradient>\n </defs>\n </svg>\n\n {/* Dark mode */}\n <svg\n aria-label=\"Next.js logomark\"\n className={`${className} hidden dark:block`}\n height=\"16\"\n role=\"img\"\n viewBox=\"0 0 180 180\"\n width=\"16\"\n >\n <mask\n height=\"180\"\n id={darkMaskId}\n maskUnits=\"userSpaceOnUse\"\n width=\"180\"\n x=\"0\"\n y=\"0\"\n style={{ maskType: \"alpha\" }}\n >\n <circle cx=\"90\" cy=\"90\" fill=\"black\" r=\"90\" />\n </mask>\n <g mask={`url(#${darkMaskId})`}>\n <circle cx=\"90\" cy=\"90\" fill=\"white\" r=\"90\" />\n <path\n d=\"M149.508 157.52L69.142 54H54V125.97H66.1136V69.3836L139.999 164.845C143.333 162.614 146.509 160.165 149.508 157.52Z\"\n fill={`url(#${darkPaint0Id})`}\n />\n <rect fill={`url(#${darkPaint1Id})`} height=\"72\" width=\"12\" x=\"115\" y=\"54\" />\n </g>\n <defs>\n <linearGradient gradientUnits=\"userSpaceOnUse\" id={darkPaint0Id} x1=\"109\" x2=\"144.5\" y1=\"116.5\" y2=\"160.5\">\n <stop stopColor=\"black\" />\n <stop offset=\"1\" stopColor=\"black\" stopOpacity=\"0\" />\n </linearGradient>\n <linearGradient gradientUnits=\"userSpaceOnUse\" id={darkPaint1Id} x1=\"121\" x2=\"120.799\" y1=\"54\" y2=\"106.875\">\n <stop stopColor=\"black\" />\n <stop offset=\"1\" stopColor=\"black\" stopOpacity=\"0\" />\n </linearGradient>\n </defs>\n </svg>\n </>\n )\n}\n\nexport function ChromeIcon({ className }: { className?: string }) {\n const gradientAId = useId()\n const gradientBId = useId()\n const gradientCId = useId()\n\n return (\n <svg className={className} viewBox=\"0 0 48 48\" height=\"16\" width=\"16\" xmlns=\"http://www.w3.org/2000/svg\">\n <defs>\n <linearGradient id={gradientAId} x1=\"3.2173\" y1=\"15\" x2=\"44.7812\" y2=\"15\" gradientUnits=\"userSpaceOnUse\">\n <stop offset=\"0\" stopColor=\"#d93025\" />\n <stop offset=\"1\" stopColor=\"#ea4335\" />\n </linearGradient>\n <linearGradient\n id={gradientBId}\n x1=\"20.7219\"\n y1=\"47.6791\"\n x2=\"41.5039\"\n y2=\"11.6837\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#fcc934\" />\n <stop offset=\"1\" stopColor=\"#fbbc04\" />\n </linearGradient>\n <linearGradient\n id={gradientCId}\n x1=\"26.5981\"\n y1=\"46.5015\"\n x2=\"5.8161\"\n y2=\"10.506\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#1e8e3e\" />\n <stop offset=\"1\" stopColor=\"#34a853\" />\n </linearGradient>\n </defs>\n <circle cx=\"24\" cy=\"23.9947\" r=\"12\" style={{ fill: \"#fff\" }} />\n <path\n d=\"M3.2154,36A24,24,0,1,0,12,3.2154,24,24,0,0,0,3.2154,36ZM34.3923,18A12,12,0,1,1,18,13.6077,12,12,0,0,1,34.3923,18Z\"\n style={{ fill: \"none\" }}\n />\n <path\n d=\"M24,12H44.7812a23.9939,23.9939,0,0,0-41.5639.0029L13.6079,30l.0093-.0024A11.9852,11.9852,0,0,1,24,12Z\"\n style={{ fill: `url(#${gradientAId})` }}\n />\n <circle cx=\"24\" cy=\"24\" r=\"9.5\" style={{ fill: \"#1a73e8\" }} />\n <path\n d=\"M34.3913,30.0029,24.0007,48A23.994,23.994,0,0,0,44.78,12.0031H23.9989l-.0025.0093A11.985,11.985,0,0,1,34.3913,30.0029Z\"\n style={{ fill: `url(#${gradientBId})` }}\n />\n <path\n d=\"M13.6086,30.0031,3.218,12.006A23.994,23.994,0,0,0,24.0025,48L34.3931,30.0029l-.0067-.0068a11.9852,11.9852,0,0,1-20.7778.007Z\"\n style={{ fill: `url(#${gradientCId})` }}\n />\n </svg>\n )\n}\n"],"names":[],"mappings":"wDAGA,EAAA,EAAA,CAAA,CAAA,OACA,EAAA,EAAA,CAAA,CAAA,OCFO,SAAS,EAAW,WAAE,CAAS,CAA0B,EAC9D,IAAM,EAAc,CAAA,EAAA,EAAA,KAAA,AAAK,IACnB,EAAgB,CAAA,EAAA,EAAA,KAAA,AAAK,IACrB,EAAgB,CAAA,EAAA,EAAA,KAAA,AAAK,IACrB,EAAa,CAAA,EAAA,EAAA,KAAK,AAAL,IACb,EAAe,CAAA,EAAA,EAAA,KAAA,AAAK,IACpB,EAAe,CAAA,EAAA,EAAA,KAAA,AAAK,IAE1B,MACE,CAAA,EAAA,EAAA,IAAA,EAAA,EAAA,QAAA,CAAA,WAEE,CAAA,EAAA,EAAA,IAAA,EAAC,MAAA,CACC,aAAW,mBACX,UAAW,CAAA,EAAG,EAAU,kBAAkB,CAAC,CAC3C,OAAO,KACP,KAAK,MACL,QAAQ,cACR,MAAM,eAEN,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CACC,OAAO,MACP,GAAI,EACJ,UAAU,iBACV,MAAM,MACN,EAAE,IACF,EAAE,IACF,MAAO,CAAE,SAAU,OAAQ,WAE3B,CAAA,EAAA,EAAA,GAAA,EAAC,SAAA,CAAO,GAAG,KAAK,GAAG,KAAK,KAAK,QAAQ,EAAE,SAEzC,CAAA,EAAA,EAAA,IAAA,EAAC,IAAA,CAAE,KAAM,CA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AA6B,sBAC3C,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CAAE,UAAU,iDAAwC,qFAS7D,CAAA,EAAA,EAAA,GAAA,EAAC,SAAA,CAAO,UAAU,wCAChB,CAAA,EAAA,EAAA,GAAA,EAAC,MAAA,CAAI,UAAU,uCACb,CAAA,EAAA,EAAA,IAAA,EAAC,MAAA,CAAI,UAAU,4EACb,CAAA,EAAA,EAAA,IAAA,EAAC,MAAA,WACC,CAAA,EAAA,EAAA,GAAA,EAAC,OAAA,CAAK,UAAU,yBAAgB,uBAAyB,0CAE3D,CAAA,EAAA,EAAA,IAAA,EAAC,MAAA,CAAI,UAAU,oCACb,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CACC,KAAK,yCACL,OAAO,SACP,IAAI,sBACJ,UAAU,mDACX,WAGD,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CACC,KAAK,qBACL,OAAO,SACP,IAAI,sBACJ,UAAU,mDACX,yBASf"}
|
|
1
|
+
{"version":3,"sources":["turbopack:///[project]/mcp-server/app/page.tsx","turbopack:///[project]/mcp-server/components/mcp-icons.tsx"],"sourcesContent":["\"use client\"\n\nimport { useEffect, useState } from \"react\"\nimport { DarkModeToggle } from \"@/components/dark-mode-toggle\"\nimport { ChromeIcon, NextJsIcon } from \"@/components/mcp-icons\"\nimport { useDarkMode } from \"@/hooks/use-dark-mode\"\n\ninterface MCPTool {\n name: string\n description: string\n category: string\n parameters: Array<{\n name: string\n type: string\n optional?: boolean\n description: string\n }>\n}\n\ninterface ToolsResponse {\n tools: MCPTool[]\n endpoint: string\n totalTools: number\n categories: string[]\n}\n\ninterface OrchestratorResponse {\n orchestratorEnabled: boolean\n connectedMCPs: string[]\n totalConnections: number\n mcpDetails: Array<{\n name: string\n connected: boolean\n toolCount: number\n tools: string[]\n projects: string[]\n }>\n totalProjects: number\n projects: string[]\n message: string\n}\n\n// Format tool descriptions by parsing markdown-style sections\nfunction formatToolDescription(description: string) {\n const slugify = (value: string) =>\n value\n .toLowerCase()\n .replace(/[^a-z0-9]+/g, \"-\")\n .replace(/(^-|-$)/g, \"\")\n\n // Split by double newline to get sections\n const sections = description.split(\"\\n\\n\").filter((section) => section.trim())\n const keyCounts = new Map<string, number>()\n\n const getUniqueKey = (base: string) => {\n const count = keyCounts.get(base) ?? 0\n keyCounts.set(base, count + 1)\n return count === 0 ? base : `${base}-${count}`\n }\n\n return sections.map((rawSection, _idx) => {\n const normalizedKey = getUniqueKey(slugify(rawSection) || \"section\")\n let section = rawSection\n\n // Remove markdown formatting\n section = section.replace(/\\*\\*/g, \"\").trim()\n\n // Remove excessive emojis\n section = section.replace(/(\\u{1F300}-\\u{1F9FF}|\\u{2600}-\\u{26FF}|\\u{1F900}-\\u{1F9FF})+/gu, (match) => {\n return match.charAt(0)\n })\n\n // Handle different section types\n if (section.includes(\":\")) {\n // This is a header with content\n const [header, ...contentParts] = section.split(\":\")\n const cleanHeader = header.trim()\n const content = contentParts.join(\":\").trim()\n\n // Check if content has bullet points\n if (content.includes(\"•\")) {\n const items = content.split(\"•\").filter((item) => item.trim())\n const sectionKey = `${normalizedKey}-bullets`\n return (\n <div key={sectionKey}>\n <h5 className=\"font-semibold mb-2\">{cleanHeader}</h5>\n <ul className=\"space-y-1 ml-4\">\n {items.map((item) => {\n const itemKey = getUniqueKey(`${sectionKey}-item-${slugify(item).slice(0, 40) || \"bullet\"}`)\n return (\n <li key={itemKey} className=\"flex items-start\">\n <span className=\"text-muted-foreground mr-2\">•</span>\n <span className=\"text-muted-foreground text-sm\">{item.trim()}</span>\n </li>\n )\n })}\n </ul>\n </div>\n )\n }\n\n return (\n <div key={`${normalizedKey}-content`}>\n <h5 className=\"font-semibold mb-1\">{cleanHeader}</h5>\n <p className=\"text-muted-foreground text-sm ml-4\">{content}</p>\n </div>\n )\n }\n\n // Handle numbered lists (like workflow steps)\n if (section.match(/^\\d+[\\ud83c-\\ud83e][\\udc00-\\udfff]|^\\d+\\./m)) {\n const items = section.split(/\\n/).filter((item) => item.trim())\n return (\n <ol className=\"space-y-1 ml-4\" key={`${normalizedKey}-steps`}>\n {items.map((item, itemIdx) => {\n const cleanItem = item\n .replace(/^\\d+[\\ud83c-\\ud83e][\\udc00-\\udfff]\\s*/, \"\")\n .replace(/^\\d+\\.\\s*/, \"\")\n .trim()\n return (\n <li\n key={getUniqueKey(`${normalizedKey}-step-${slugify(cleanItem).slice(0, 40) || \"step\"}`)}\n className=\"text-muted-foreground text-sm\"\n >\n {itemIdx + 1}. {cleanItem}\n </li>\n )\n })}\n </ol>\n )\n }\n\n // Default paragraph\n return (\n <p key={`${normalizedKey}-paragraph`} className=\"text-muted-foreground text-sm leading-relaxed\">\n {section}\n </p>\n )\n })\n}\n\nexport default function HomePage() {\n const [tools, setTools] = useState<ToolsResponse | null>(null)\n const [orchestrator, setOrchestrator] = useState<OrchestratorResponse | null>(null)\n const [loading, setLoading] = useState(true)\n const [darkMode, setDarkMode] = useDarkMode()\n\n useEffect(() => {\n // Fetch both tools and orchestrator status in parallel\n Promise.all([fetch(\"/api/tools\"), fetch(\"/api/orchestrator\")])\n .then(([toolsRes, orchRes]) => Promise.all([toolsRes.json(), orchRes.json()]))\n .then(([toolsData, orchData]) => {\n setTools(toolsData)\n setOrchestrator(orchData)\n setLoading(false)\n })\n .catch(() => {\n setLoading(false)\n })\n }, [])\n\n return (\n <div className=\"min-h-screen bg-background text-foreground\">\n {/* Header */}\n <header className=\"bg-muted/30 border-b border-border\">\n <div className=\"max-w-7xl mx-auto px-6 py-8\">\n <div className=\"flex items-center justify-between\">\n <div>\n <div className=\"flex items-center gap-4 mb-3\">\n <div className=\"w-12 h-12 bg-foreground rounded flex items-center justify-center\">\n <span className=\"text-background font-mono font-bold\">d3k</span>\n </div>\n <div>\n <h1 className=\"text-3xl font-bold\">dev3000 MCP Server</h1>\n <div className=\"flex items-center gap-3 mt-2\">\n <span className=\"inline-flex items-center gap-2 text-sm text-green-600 font-medium\">\n <span className=\"w-2 h-2 bg-green-500 rounded-full\"></span>\n Server Running\n </span>\n <span className=\"text-muted-foreground\">•</span>\n <span className=\"text-sm text-muted-foreground\">Port {process.env.PORT || \"3684\"}</span>\n </div>\n </div>\n </div>\n </div>\n <div className=\"flex items-center gap-4\">\n <a\n href=\"https://github.com/vercel-labs/dev3000#setup\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"inline-flex items-center gap-2 px-5 py-3 border border-border text-foreground text-sm font-medium rounded hover:bg-accent hover:text-accent-foreground transition-colors\"\n >\n 📖 Setup Guide\n </a>\n <DarkModeToggle darkMode={darkMode} setDarkMode={setDarkMode} />\n </div>\n </div>\n </div>\n </header>\n\n {/* Main Content - no sidebar needed with only 2 tools */}\n <main className=\"max-w-7xl mx-auto px-6 py-8\">\n {/* MCP Connections Status */}\n {!loading && orchestrator && (\n <section className=\"mb-16\">\n <div className=\"bg-accent/10 border border-accent/20 rounded p-8\">\n <h2 className=\"text-xl font-semibold mb-4\">🔌 MCP Connections</h2>\n <p className=\"text-sm text-muted-foreground mb-4\">{orchestrator.message}</p>\n\n {orchestrator.totalConnections > 0 ? (\n <>\n <div className=\"flex flex-wrap gap-3 mb-4\">\n {orchestrator.mcpDetails.map((mcp) => {\n const Icon =\n mcp.name === \"chrome-devtools\" ? ChromeIcon : mcp.name === \"nextjs-dev\" ? NextJsIcon : null\n return (\n <div\n key={mcp.name}\n className=\"inline-flex items-center gap-2 bg-background/50 border border-border rounded px-3 py-2\"\n >\n {Icon && <Icon className=\"shrink-0\" />}\n <span className=\"font-semibold font-mono text-sm\">{mcp.name}</span>\n <span className=\"w-2 h-2 bg-green-500 rounded-full\"></span>\n </div>\n )\n })}\n </div>\n {orchestrator.totalProjects > 0 && (\n <div className=\"text-sm text-muted-foreground\">\n <span className=\"font-medium\">Active projects:</span>{\" \"}\n {orchestrator.projects.map((project, idx) => (\n <span key={project}>\n <code className=\"text-foreground bg-background/50 px-1.5 py-0.5 rounded\">{project}</code>\n {idx < orchestrator.projects.length - 1 && \", \"}\n </span>\n ))}\n </div>\n )}\n </>\n ) : (\n <div className=\"text-sm text-muted-foreground bg-background/50 border border-border rounded p-4\">\n <p className=\"mb-2\">⏳ Waiting for downstream MCPs to become available...</p>\n <p className=\"text-xs\">\n dev3000 will automatically connect to <code className=\"text-foreground\">chrome-devtools</code> and{\" \"}\n <code className=\"text-foreground\">nextjs-dev</code> MCPs when Chrome and your dev server start.\n </p>\n </div>\n )}\n </div>\n </section>\n )}\n\n {/* Tools Documentation */}\n <section className=\"bg-accent/10 border border-accent/20 rounded p-8\">\n <h2 className=\"text-xl font-semibold mb-4\">🛠️ dev3000 Tools</h2>\n\n {loading ? (\n <div className=\"text-center py-16\">\n <div className=\"inline-block animate-spin rounded-full h-8 w-8 border-b-2 border-primary\"></div>\n <p className=\"mt-6 text-muted-foreground\">Loading tool documentation...</p>\n </div>\n ) : tools ? (\n <div className=\"grid gap-6 lg:grid-cols-2\">\n {tools.tools.map((tool) => (\n <div\n key={tool.name}\n id={tool.name}\n className=\"bg-background/50 border border-border rounded-lg p-6 hover:border-muted-foreground/50 transition-colors\"\n >\n <div className=\"mb-4\">\n <h4 className=\"text-xl font-semibold font-mono mb-3\">{tool.name}</h4>\n <div className=\"text-muted-foreground space-y-3\">{formatToolDescription(tool.description)}</div>\n </div>\n {tool.parameters.length > 0 && (\n <div>\n <h5 className=\"text-sm font-semibold mb-3\">Parameters:</h5>\n <div className=\"space-y-2\">\n {tool.parameters.map((param) => (\n <div key={param.name} className=\"text-sm\">\n <div className=\"flex items-start gap-2\">\n <span className=\"font-mono text-primary font-medium\">{param.name}</span>\n <span className=\"text-muted-foreground text-xs\">\n {param.optional ? \"(optional)\" : \"(required)\"}\n </span>\n <span className=\"text-muted-foreground/70 text-xs\">- {param.type}</span>\n </div>\n {param.description && (\n <div className=\"text-muted-foreground ml-1 mt-1 text-sm\">{param.description}</div>\n )}\n </div>\n ))}\n </div>\n </div>\n )}\n </div>\n ))}\n </div>\n ) : (\n <div className=\"text-center py-16\">\n <p className=\"text-destructive mb-6\">Failed to load tool documentation</p>\n <button\n onClick={() => window.location.reload()}\n className=\"px-6 py-3 bg-primary text-primary-foreground text-sm rounded hover:bg-primary/90 transition-colors\"\n type=\"button\"\n >\n Retry\n </button>\n </div>\n )}\n </section>\n\n {/* Magic Workflow */}\n <section className=\"mt-20 bg-gradient-to-r from-primary/10 to-secondary/10 border border-border rounded-lg p-10\">\n <h2 className=\"text-2xl font-semibold mb-6 flex items-center gap-3\">🪄 The Magic Workflow</h2>\n <div className=\"grid md:grid-cols-3 gap-8\">\n <div className=\"text-center\">\n <div className=\"w-16 h-16 bg-primary/20 rounded-full flex items-center justify-center mx-auto mb-4 shadow-md\">\n <span className=\"text-primary font-bold text-2xl\">1</span>\n </div>\n <h3 className=\"font-semibold mb-3 text-lg\">AI Finds Issues</h3>\n <p className=\"text-muted-foreground leading-relaxed\">\n fix_my_app automatically detects all types of errors and problems in your app\n </p>\n </div>\n <div className=\"text-center\">\n <div className=\"w-16 h-16 bg-accent/20 rounded-full flex items-center justify-center mx-auto mb-4 shadow-md\">\n <span className=\"text-accent-foreground font-bold text-2xl\">2</span>\n </div>\n <h3 className=\"font-semibold mb-3 text-lg\">AI Fixes Code</h3>\n <p className=\"text-muted-foreground leading-relaxed\">\n AI analyzes errors and edits your code files to resolve issues\n </p>\n </div>\n <div className=\"text-center\">\n <div className=\"w-16 h-16 bg-green-500/20 rounded-full flex items-center justify-center mx-auto mb-4 shadow-md\">\n <span className=\"text-green-600 dark:text-green-400 font-bold text-2xl\">3</span>\n </div>\n <h3 className=\"font-semibold mb-3 text-lg\">AI Verifies Fixes</h3>\n <p className=\"text-muted-foreground leading-relaxed\">\n execute_browser_action tests the fixes in real-time with screenshots\n </p>\n </div>\n </div>\n </section>\n </main>\n\n {/* Footer */}\n <footer className=\"border-t border-border mt-20\">\n <div className=\"max-w-7xl mx-auto px-6 py-8\">\n <div className=\"flex items-center justify-between text-sm text-muted-foreground\">\n <div>\n <span className=\"font-semibold\">dev3000 MCP Server</span> - AI-powered development monitoring\n </div>\n <div className=\"flex items-center gap-8\">\n <a\n href=\"https://github.com/vercel-labs/dev3000\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"hover:text-foreground transition-colors\"\n >\n GitHub\n </a>\n <a\n href=\"https://dev3000.ai\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"hover:text-foreground transition-colors\"\n >\n Homepage\n </a>\n </div>\n </div>\n </div>\n </footer>\n </div>\n )\n}\n","import { useId } from \"react\"\n\nexport function NextJsIcon({ className }: { className?: string }) {\n const lightMaskId = useId()\n const lightPaint0Id = useId()\n const lightPaint1Id = useId()\n const darkMaskId = useId()\n const darkPaint0Id = useId()\n const darkPaint1Id = useId()\n\n return (\n <>\n {/* Light mode */}\n <svg\n aria-label=\"Next.js logomark\"\n className={`${className} block dark:hidden`}\n height=\"16\"\n role=\"img\"\n viewBox=\"0 0 180 180\"\n width=\"16\"\n >\n <mask\n height=\"180\"\n id={lightMaskId}\n maskUnits=\"userSpaceOnUse\"\n width=\"180\"\n x=\"0\"\n y=\"0\"\n style={{ maskType: \"alpha\" }}\n >\n <circle cx=\"90\" cy=\"90\" fill=\"black\" r=\"90\" />\n </mask>\n <g mask={`url(#${lightMaskId})`}>\n <circle cx=\"90\" cy=\"90\" fill=\"black\" r=\"90\" />\n <path\n d=\"M149.508 157.52L69.142 54H54V125.97H66.1136V69.3836L139.999 164.845C143.333 162.614 146.509 160.165 149.508 157.52Z\"\n fill={`url(#${lightPaint0Id})`}\n />\n <rect fill={`url(#${lightPaint1Id})`} height=\"72\" width=\"12\" x=\"115\" y=\"54\" />\n </g>\n <defs>\n <linearGradient gradientUnits=\"userSpaceOnUse\" id={lightPaint0Id} x1=\"109\" x2=\"144.5\" y1=\"116.5\" y2=\"160.5\">\n <stop stopColor=\"white\" />\n <stop offset=\"1\" stopColor=\"white\" stopOpacity=\"0\" />\n </linearGradient>\n <linearGradient gradientUnits=\"userSpaceOnUse\" id={lightPaint1Id} x1=\"121\" x2=\"120.799\" y1=\"54\" y2=\"106.875\">\n <stop stopColor=\"white\" />\n <stop offset=\"1\" stopColor=\"white\" stopOpacity=\"0\" />\n </linearGradient>\n </defs>\n </svg>\n\n {/* Dark mode */}\n <svg\n aria-label=\"Next.js logomark\"\n className={`${className} hidden dark:block`}\n height=\"16\"\n role=\"img\"\n viewBox=\"0 0 180 180\"\n width=\"16\"\n >\n <mask\n height=\"180\"\n id={darkMaskId}\n maskUnits=\"userSpaceOnUse\"\n width=\"180\"\n x=\"0\"\n y=\"0\"\n style={{ maskType: \"alpha\" }}\n >\n <circle cx=\"90\" cy=\"90\" fill=\"black\" r=\"90\" />\n </mask>\n <g mask={`url(#${darkMaskId})`}>\n <circle cx=\"90\" cy=\"90\" fill=\"white\" r=\"90\" />\n <path\n d=\"M149.508 157.52L69.142 54H54V125.97H66.1136V69.3836L139.999 164.845C143.333 162.614 146.509 160.165 149.508 157.52Z\"\n fill={`url(#${darkPaint0Id})`}\n />\n <rect fill={`url(#${darkPaint1Id})`} height=\"72\" width=\"12\" x=\"115\" y=\"54\" />\n </g>\n <defs>\n <linearGradient gradientUnits=\"userSpaceOnUse\" id={darkPaint0Id} x1=\"109\" x2=\"144.5\" y1=\"116.5\" y2=\"160.5\">\n <stop stopColor=\"black\" />\n <stop offset=\"1\" stopColor=\"black\" stopOpacity=\"0\" />\n </linearGradient>\n <linearGradient gradientUnits=\"userSpaceOnUse\" id={darkPaint1Id} x1=\"121\" x2=\"120.799\" y1=\"54\" y2=\"106.875\">\n <stop stopColor=\"black\" />\n <stop offset=\"1\" stopColor=\"black\" stopOpacity=\"0\" />\n </linearGradient>\n </defs>\n </svg>\n </>\n )\n}\n\nexport function ChromeIcon({ className }: { className?: string }) {\n const gradientAId = useId()\n const gradientBId = useId()\n const gradientCId = useId()\n\n return (\n <svg className={className} viewBox=\"0 0 48 48\" height=\"16\" width=\"16\" xmlns=\"http://www.w3.org/2000/svg\">\n <defs>\n <linearGradient id={gradientAId} x1=\"3.2173\" y1=\"15\" x2=\"44.7812\" y2=\"15\" gradientUnits=\"userSpaceOnUse\">\n <stop offset=\"0\" stopColor=\"#d93025\" />\n <stop offset=\"1\" stopColor=\"#ea4335\" />\n </linearGradient>\n <linearGradient\n id={gradientBId}\n x1=\"20.7219\"\n y1=\"47.6791\"\n x2=\"41.5039\"\n y2=\"11.6837\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#fcc934\" />\n <stop offset=\"1\" stopColor=\"#fbbc04\" />\n </linearGradient>\n <linearGradient\n id={gradientCId}\n x1=\"26.5981\"\n y1=\"46.5015\"\n x2=\"5.8161\"\n y2=\"10.506\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop offset=\"0\" stopColor=\"#1e8e3e\" />\n <stop offset=\"1\" stopColor=\"#34a853\" />\n </linearGradient>\n </defs>\n <circle cx=\"24\" cy=\"23.9947\" r=\"12\" style={{ fill: \"#fff\" }} />\n <path\n d=\"M3.2154,36A24,24,0,1,0,12,3.2154,24,24,0,0,0,3.2154,36ZM34.3923,18A12,12,0,1,1,18,13.6077,12,12,0,0,1,34.3923,18Z\"\n style={{ fill: \"none\" }}\n />\n <path\n d=\"M24,12H44.7812a23.9939,23.9939,0,0,0-41.5639.0029L13.6079,30l.0093-.0024A11.9852,11.9852,0,0,1,24,12Z\"\n style={{ fill: `url(#${gradientAId})` }}\n />\n <circle cx=\"24\" cy=\"24\" r=\"9.5\" style={{ fill: \"#1a73e8\" }} />\n <path\n d=\"M34.3913,30.0029,24.0007,48A23.994,23.994,0,0,0,44.78,12.0031H23.9989l-.0025.0093A11.985,11.985,0,0,1,34.3913,30.0029Z\"\n style={{ fill: `url(#${gradientBId})` }}\n />\n <path\n d=\"M13.6086,30.0031,3.218,12.006A23.994,23.994,0,0,0,24.0025,48L34.3931,30.0029l-.0067-.0068a11.9852,11.9852,0,0,1-20.7778.007Z\"\n style={{ fill: `url(#${gradientCId})` }}\n />\n </svg>\n )\n}\n"],"names":[],"mappings":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AA,EAAC,MAAA,CAAI,UAAU,oCACb,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CACC,KAAK,yCACL,OAAO,SACP,IAAI,sBACJ,UAAU,mDACX,WAGD,CAAA,EAAA,EAAA,GAAA,EAAC,IAAA,CACC,KAAK,qBACL,OAAO,SACP,IAAI,sBACJ,UAAU,mDACX,yBASf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"
|
|
1
|
+
self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"coTPdU0svpRNodp0Rw8CHLLSd/s45e/rD4kkbrVURd0=\"\n}"
|
|
@@ -6,7 +6,7 @@ import { getMCPClientManager } from "@/app/mcp/client-manager"
|
|
|
6
6
|
|
|
7
7
|
export const dynamic = "force-dynamic"
|
|
8
8
|
|
|
9
|
-
export async function GET(
|
|
9
|
+
export async function GET(_request: Request) {
|
|
10
10
|
const clientManager = getMCPClientManager()
|
|
11
11
|
const connectedMCPs = clientManager.getConnectedMCPs()
|
|
12
12
|
const allTools = clientManager.getAllTools()
|
|
@@ -134,7 +134,7 @@ export class MCPClientManager {
|
|
|
134
134
|
this.tools.set(config.name, [])
|
|
135
135
|
console.log(`[MCP Orchestrator] No tools discovered from ${config.name} (will retry on first use)`)
|
|
136
136
|
}
|
|
137
|
-
} catch (
|
|
137
|
+
} catch (_error) {
|
|
138
138
|
// Tool discovery failed but connection succeeded - tools will be discovered on first use
|
|
139
139
|
this.tools.set(config.name, [])
|
|
140
140
|
console.log(`[MCP Orchestrator] Tool discovery deferred for ${config.name} (will discover on first tool call)`)
|
|
@@ -365,9 +365,10 @@ export async function fixMyApp({
|
|
|
365
365
|
|
|
366
366
|
// Filter out framework noise (unfixable warnings from Next.js, React, etc.)
|
|
367
367
|
const frameworkNoisePatterns = [
|
|
368
|
-
/link rel=preload.*must have.*valid.*as/i, // Next.js font optimization warning
|
|
368
|
+
/link rel=preload.*must have.*valid.*as/i, // Next.js font optimization warning - not actionable
|
|
369
369
|
/next\/font/i, // Next.js font-related warnings
|
|
370
|
-
/automatically generated/i // Auto-generated code warnings
|
|
370
|
+
/automatically generated/i, // Auto-generated code warnings
|
|
371
|
+
/\[NETWORK\].*\b(200|201|204|304)\b\s+(OK|Created|No Content|Not Modified)/i // Successful HTTP responses - not errors
|
|
371
372
|
]
|
|
372
373
|
|
|
373
374
|
const actionableErrors = allErrors.filter((line) => {
|
|
@@ -2111,6 +2112,57 @@ export async function getMcpCapabilities({
|
|
|
2111
2112
|
}
|
|
2112
2113
|
}
|
|
2113
2114
|
|
|
2115
|
+
/**
|
|
2116
|
+
* Detect if pixel changes represent a layout shift (elements moving) vs content change (images loading)
|
|
2117
|
+
*
|
|
2118
|
+
* Key distinction:
|
|
2119
|
+
* - Layout shifts: Elements move to new positions (top region changes while bottom stays same)
|
|
2120
|
+
* - Content changes: Same regions change in-place (image loads with pixels appearing)
|
|
2121
|
+
*/
|
|
2122
|
+
function detectLayoutShiftVsContentChange(prevPng: PNG, currPng: PNG): { isLayoutShift: boolean; shiftScore: number } {
|
|
2123
|
+
const width = prevPng.width
|
|
2124
|
+
const height = prevPng.height
|
|
2125
|
+
|
|
2126
|
+
// Divide screen into horizontal bands (top, middle, bottom)
|
|
2127
|
+
const bandHeight = Math.floor(height / 8)
|
|
2128
|
+
const bands = Array(8).fill(0)
|
|
2129
|
+
|
|
2130
|
+
// Count changed pixels in each band
|
|
2131
|
+
for (let y = 0; y < height; y++) {
|
|
2132
|
+
const bandIndex = Math.min(Math.floor(y / bandHeight), 7)
|
|
2133
|
+
for (let x = 0; x < width; x++) {
|
|
2134
|
+
const idx = (width * y + x) << 2
|
|
2135
|
+
const rDiff = Math.abs(prevPng.data[idx] - currPng.data[idx])
|
|
2136
|
+
const gDiff = Math.abs(prevPng.data[idx + 1] - currPng.data[idx + 1])
|
|
2137
|
+
const bDiff = Math.abs(prevPng.data[idx + 2] - currPng.data[idx + 2])
|
|
2138
|
+
|
|
2139
|
+
// If any channel differs significantly, count as changed pixel
|
|
2140
|
+
if (rDiff > 30 || gDiff > 30 || bDiff > 30) {
|
|
2141
|
+
bands[bandIndex]++
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
// Calculate percentage of pixels changed in each band
|
|
2147
|
+
const pixelsPerBand = width * bandHeight
|
|
2148
|
+
const bandPercentages = bands.map((count) => (count / pixelsPerBand) * 100)
|
|
2149
|
+
|
|
2150
|
+
// Layout shift pattern: High change in top bands (nav/header area), low change in bottom
|
|
2151
|
+
// Content change pattern: Evenly distributed or contained to specific regions
|
|
2152
|
+
const topBandChange = (bandPercentages[0] + bandPercentages[1]) / 2
|
|
2153
|
+
const bottomBandChange = (bandPercentages[6] + bandPercentages[7]) / 2
|
|
2154
|
+
|
|
2155
|
+
// If top 25% of screen has >5% pixel change but bottom has <2% change = layout shift
|
|
2156
|
+
const isLayoutShift = topBandChange > 5 && bottomBandChange < 2 && topBandChange > bottomBandChange * 2
|
|
2157
|
+
|
|
2158
|
+
// Calculate shift score (similar to CLS score)
|
|
2159
|
+
const totalChanged = bands.reduce((sum, count) => sum + count, 0)
|
|
2160
|
+
const totalPixels = width * height
|
|
2161
|
+
const shiftScore = (totalChanged / totalPixels) * 0.1 // Rough CLS equivalent
|
|
2162
|
+
|
|
2163
|
+
return { isLayoutShift, shiftScore }
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2114
2166
|
/**
|
|
2115
2167
|
* Detect jank/layout shifts by comparing screenshots from ScreencastManager
|
|
2116
2168
|
* Returns array of jank detections with timing and visual impact data
|
|
@@ -2249,8 +2301,70 @@ async function detectJankFromScreenshots(_projectName?: string): Promise<{
|
|
|
2249
2301
|
|
|
2250
2302
|
// If we have real CLS data from Chrome's PerformanceObserver, trust it completely
|
|
2251
2303
|
if (realCLSData) {
|
|
2252
|
-
// If Chrome says there are no shifts,
|
|
2304
|
+
// If Chrome says there are no shifts, validate with pixel diff as backup
|
|
2305
|
+
// Chrome's PerformanceObserver can miss very fast hydration shifts
|
|
2253
2306
|
if (realCLSData.shifts.length === 0) {
|
|
2307
|
+
// Run pixel diff validation on early frames (first 1500ms) to catch hydration issues
|
|
2308
|
+
const earlyFrames = sessionFiles.filter((f) => {
|
|
2309
|
+
const timeMatch = f.match(/-(\d+)ms\.png$/)
|
|
2310
|
+
const time = timeMatch ? parseInt(timeMatch[1], 10) : 0
|
|
2311
|
+
return time < 1500 // Hydration window
|
|
2312
|
+
})
|
|
2313
|
+
|
|
2314
|
+
let foundHydrationShift = false
|
|
2315
|
+
|
|
2316
|
+
// Only check consecutive early frames
|
|
2317
|
+
for (let i = 1; i < earlyFrames.length && i < 10; i++) {
|
|
2318
|
+
const prevFile = join(screenshotDir, earlyFrames[i - 1])
|
|
2319
|
+
const currFile = join(screenshotDir, earlyFrames[i])
|
|
2320
|
+
|
|
2321
|
+
try {
|
|
2322
|
+
const prevPng = PNG.sync.read(readFileSync(prevFile))
|
|
2323
|
+
const currPng = PNG.sync.read(readFileSync(currFile))
|
|
2324
|
+
|
|
2325
|
+
if (prevPng.width !== currPng.width || prevPng.height !== currPng.height) {
|
|
2326
|
+
continue
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2329
|
+
// Detect if this is a layout shift vs content change
|
|
2330
|
+
const shiftAnalysis = detectLayoutShiftVsContentChange(prevPng, currPng)
|
|
2331
|
+
|
|
2332
|
+
// If we detect a layout shift (not just content loading), flag it
|
|
2333
|
+
if (shiftAnalysis.isLayoutShift) {
|
|
2334
|
+
foundHydrationShift = true
|
|
2335
|
+
const timeMatch = earlyFrames[i].match(/-(\d+)ms\.png$/)
|
|
2336
|
+
const timeSinceStart = timeMatch ? parseInt(timeMatch[1], 10) : 0
|
|
2337
|
+
|
|
2338
|
+
const mcpPort = process.env.MCP_PORT || "3684"
|
|
2339
|
+
jankDetections.push({
|
|
2340
|
+
timestamp: `${timeSinceStart}ms`,
|
|
2341
|
+
timeSinceStart,
|
|
2342
|
+
visualDiff: shiftAnalysis.shiftScore * 100,
|
|
2343
|
+
severity: "high", // Hydration shifts are always high severity
|
|
2344
|
+
element: "Hydration-related element",
|
|
2345
|
+
clsScore: shiftAnalysis.shiftScore,
|
|
2346
|
+
uxImpact: "🚨 CRITICAL: Fast hydration shift detected - Chrome's observer missed this early shift",
|
|
2347
|
+
beforeFrameUrl: `http://localhost:${mcpPort}/api/screenshots/${earlyFrames[i - 1]}`,
|
|
2348
|
+
afterFrameUrl: `http://localhost:${mcpPort}/api/screenshots/${earlyFrames[i]}`
|
|
2349
|
+
})
|
|
2350
|
+
}
|
|
2351
|
+
} catch {
|
|
2352
|
+
// Skip frames that can't be compared
|
|
2353
|
+
}
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
// If we found hydration shifts, return them with a note
|
|
2357
|
+
if (foundHydrationShift) {
|
|
2358
|
+
return {
|
|
2359
|
+
detections: jankDetections,
|
|
2360
|
+
sessionId: latestSessionId,
|
|
2361
|
+
totalFrames: sessionFiles.length,
|
|
2362
|
+
screenshotDir,
|
|
2363
|
+
realCLS: { score: 0.05, grade: "good" } // Estimate CLS for hydration shifts
|
|
2364
|
+
}
|
|
2365
|
+
}
|
|
2366
|
+
|
|
2367
|
+
// Chrome is correct - no shifts detected
|
|
2254
2368
|
return {
|
|
2255
2369
|
detections: [],
|
|
2256
2370
|
sessionId: latestSessionId,
|
package/mcp-server/app/page.tsx
CHANGED
package/package.json
CHANGED
/package/mcp-server/.next/static/{4QTQwT0vriZN0rBeHTIWl → XC8IdMzOP-R6sszO2tUlu}/_buildManifest.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/mcp-server/.next/static/{4QTQwT0vriZN0rBeHTIWl → XC8IdMzOP-R6sszO2tUlu}/_ssgManifest.js
RENAMED
|
File without changes
|