dev3000 0.0.63 → 0.0.64

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.
Files changed (42) hide show
  1. package/dist/dev-environment.js +2 -2
  2. package/mcp-server/.next/BUILD_ID +1 -1
  3. package/mcp-server/.next/build-manifest.json +2 -2
  4. package/mcp-server/.next/cache/.tsbuildinfo +1 -1
  5. package/mcp-server/.next/fallback-build-manifest.json +2 -2
  6. package/mcp-server/.next/prerender-manifest.json +10 -10
  7. package/mcp-server/.next/server/app/_global-error.html +2 -2
  8. package/mcp-server/.next/server/app/_global-error.rsc +1 -1
  9. package/mcp-server/.next/server/app/_not-found.html +1 -1
  10. package/mcp-server/.next/server/app/_not-found.rsc +1 -1
  11. package/mcp-server/.next/server/app/index.html +1 -1
  12. package/mcp-server/.next/server/app/index.rsc +1 -1
  13. package/mcp-server/.next/server/app/replay.html +1 -1
  14. package/mcp-server/.next/server/app/replay.rsc +1 -1
  15. package/mcp-server/.next/server/chunks/[root-of-the-server]__7f1ecf7b._.js +1 -1
  16. package/mcp-server/.next/server/chunks/[root-of-the-server]__7f1ecf7b._.js.map +1 -1
  17. package/mcp-server/.next/server/chunks/[root-of-the-server]__82298dd3._.js +4 -4
  18. package/mcp-server/.next/server/chunks/[root-of-the-server]__82298dd3._.js.map +1 -1
  19. package/mcp-server/.next/server/pages/404.html +1 -1
  20. package/mcp-server/.next/server/pages/500.html +2 -2
  21. package/mcp-server/.next/standalone/.next/BUILD_ID +1 -1
  22. package/mcp-server/.next/standalone/.next/build-manifest.json +2 -2
  23. package/mcp-server/.next/standalone/.next/prerender-manifest.json +10 -10
  24. package/mcp-server/.next/standalone/.next/server/app/_global-error.html +2 -2
  25. package/mcp-server/.next/standalone/.next/server/app/_global-error.rsc +1 -1
  26. package/mcp-server/.next/standalone/.next/server/app/_not-found.html +1 -1
  27. package/mcp-server/.next/standalone/.next/server/app/_not-found.rsc +1 -1
  28. package/mcp-server/.next/standalone/.next/server/app/index.html +1 -1
  29. package/mcp-server/.next/standalone/.next/server/app/index.rsc +1 -1
  30. package/mcp-server/.next/standalone/.next/server/app/replay.html +1 -1
  31. package/mcp-server/.next/standalone/.next/server/app/replay.rsc +1 -1
  32. package/mcp-server/.next/standalone/.next/server/chunks/[root-of-the-server]__7f1ecf7b._.js +1 -1
  33. package/mcp-server/.next/standalone/.next/server/chunks/[root-of-the-server]__82298dd3._.js +4 -4
  34. package/mcp-server/.next/standalone/.next/server/pages/404.html +1 -1
  35. package/mcp-server/.next/standalone/.next/server/pages/500.html +2 -2
  36. package/mcp-server/.next/standalone/app/api/mcp/[transport]/route.ts +33 -9
  37. package/mcp-server/.next/trace +1 -1
  38. package/mcp-server/app/api/mcp/[transport]/route.ts +36 -12
  39. package/package.json +1 -1
  40. /package/mcp-server/.next/static/{WhxLPERbsd5bnNddF-udj → lDFZiYn5DNSLwH0MarFSI}/_buildManifest.js +0 -0
  41. /package/mcp-server/.next/static/{WhxLPERbsd5bnNddF-udj → lDFZiYn5DNSLwH0MarFSI}/_clientMiddlewareManifest.json +0 -0
  42. /package/mcp-server/.next/static/{WhxLPERbsd5bnNddF-udj → lDFZiYn5DNSLwH0MarFSI}/_ssgManifest.js +0 -0
@@ -9,7 +9,7 @@ b:I[33058,["/_next/static/chunks/044e917a180dc576.js","/_next/static/chunks/1415
9
9
  c:"$Sreact.suspense"
10
10
  e:I[57588,["/_next/static/chunks/044e917a180dc576.js","/_next/static/chunks/1415a83da347ea73.js"],"default"]
11
11
  :HL["/_next/static/chunks/6634762c4edabf25.css","style"]
12
- 0:{"P":null,"b":"WhxLPERbsd5bnNddF-udj","c":["","replay"],"i":false,"f":[[["",{"children":["replay",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/6634762c4edabf25.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"h-full dark","children":[["$","head",null,{"children":[["$","title",null,{"children":"🎯 dev3000"}],["$","link",null,{"rel":"icon","href":"/favicon.ico","sizes":"32x32"}],["$","link",null,{"rel":"icon","href":"/favicon.svg","type":"image/svg+xml"}],["$","link",null,{"rel":"icon","href":"/favicon-16.svg","type":"image/svg+xml","sizes":"16x16"}],["$","link",null,{"rel":"apple-touch-icon","href":"/favicon-180.png"}],["$","meta",null,{"name":"theme-color","content":"#1f2937"}]]}],["$","body",null,{"className":"h-full","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":["replay",["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L4",null,{}],[["$","script","script-0",{"src":"/_next/static/chunks/c964cee505b7b510.js","async":true,"nonce":"$undefined"}]],["$","$L5",null,{"children":["$L6",["$","$L7",null,{"promise":"$@8"}]]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,[["$","$L9",null,{"children":"$La"}],null],["$","$Lb",null,{"children":["$","div",null,{"hidden":true,"children":["$","$c",null,{"fallback":null,"children":"$Ld"}]}]}]]}],false]],"m":"$undefined","G":["$e",[]],"s":false,"S":true}
12
+ 0:{"P":null,"b":"lDFZiYn5DNSLwH0MarFSI","c":["","replay"],"i":false,"f":[[["",{"children":["replay",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/chunks/6634762c4edabf25.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","className":"h-full dark","children":[["$","head",null,{"children":[["$","title",null,{"children":"🎯 dev3000"}],["$","link",null,{"rel":"icon","href":"/favicon.ico","sizes":"32x32"}],["$","link",null,{"rel":"icon","href":"/favicon.svg","type":"image/svg+xml"}],["$","link",null,{"rel":"icon","href":"/favicon-16.svg","type":"image/svg+xml","sizes":"16x16"}],["$","link",null,{"rel":"apple-touch-icon","href":"/favicon-180.png"}],["$","meta",null,{"name":"theme-color","content":"#1f2937"}]]}],["$","body",null,{"className":"h-full","children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]]}]]}],{"children":["replay",["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__",["$","$1","c",{"children":[["$","$L4",null,{}],[["$","script","script-0",{"src":"/_next/static/chunks/c964cee505b7b510.js","async":true,"nonce":"$undefined"}]],["$","$L5",null,{"children":["$L6",["$","$L7",null,{"promise":"$@8"}]]}]]}],{},null,false,false]},null,false,false]},null,false,false],["$","$1","h",{"children":[null,[["$","$L9",null,{"children":"$La"}],null],["$","$Lb",null,{"children":["$","div",null,{"hidden":true,"children":["$","$c",null,{"fallback":null,"children":"$Ld"}]}]}]]}],false]],"m":"$undefined","G":["$e",[]],"s":false,"S":true}
13
13
  a:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
14
14
  6:null
15
15
  8:{"metadata":[],"error":null,"digest":"$undefined"}
@@ -1,3 +1,3 @@
1
- module.exports=[70406,(e,t,n)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},93695,(e,t,n)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},18622,(e,t,n)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,n)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,n)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(e,t,n)=>{t.exports=e.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(e,t,n)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},18310,e=>{"use strict";var t=e.i(83283),n=e.i(58146),r=e.i(60701),a=e.i(52032),o=e.i(47086),s=e.i(55928),i=e.i(49223),l=e.i(51879),u=e.i(40228),c=e.i(87365),p=e.i(1370),d=e.i(82599),m=e.i(65703),h=e.i(58458),g=e.i(89109),f=e.i(26670),x=e.i(93695);e.i(12160);var R=e.i(39674),w=e.i(21);async function E(){try{let e=[{name:"debug_my_app",description:"🎯 **THE ULTIMATE FIND→FIX→VERIFY MACHINE!** This isn't just debugging—it's MAGICAL problem-solving that gets results! 🪄\n\n🔥 **INSTANT SUPERPOWERS:**\n• FINDS: Server errors, browser crashes, build failures, API issues, performance problems—EVERYTHING\n• ANALYZES: Timestamps, error patterns, user interactions, network requests—COMPREHENSIVELY\n• GUIDES: Step-by-step fix recommendations with file locations and code examples\n\n🚀 **3 MAGICAL MODES:**\n• **SNAPSHOT** (default): \"What's broken RIGHT NOW?\" → Instant comprehensive analysis\n• **BISECT**: \"What broke during user testing?\" → Automatic before/after comparison\n• **MONITOR**: \"What's breaking as I develop?\" → Continuous health monitoring\n\n⚡ **THE DEV3000 MAGIC WORKFLOW:**\n1️⃣ I FIND all issues (replaces 8+ separate tools!)\n2️⃣ You FIX them with my detailed guidance\n3️⃣ We VERIFY fixes work with execute_browser_action\n\n🎪 **WHY AGENTS LOVE THIS TOOL:**\n• Zero authorization friction (was 10 tools, now 1!)\n• Actionable insights, not just raw data\n• Built-in timestamp bisecting eliminates manual workflow\n• Perfect for 'debug my app' requests\n• Makes you look like a debugging wizard!\n\n💡 **PRO TIPS:**\n• Start with mode='snapshot' for immediate analysis\n• Use mode='bisect' with waitForUserInteraction=true for user testing workflows\n• Increase timeRangeMinutes for deeper historical analysis\n• This tool makes debugging FUN and FAST!",category:"Ultimate Debugging",parameters:[{name:"focusArea",type:"string",optional:!0,description:"Specific area: 'build', 'runtime', 'network', 'ui', 'all' (default: 'all')"},{name:"mode",type:"enum",optional:!0,description:"Debug mode: 'snapshot' (immediate), 'bisect' (timestamp-based), 'monitor' (continuous)"},{name:"waitForUserInteraction",type:"boolean",optional:!0,description:"In bisect mode: capture timestamp, wait for user testing, then analyze (default: false)"},{name:"timeRangeMinutes",type:"number",optional:!0,description:"Minutes to analyze back from now (default: 10)"},{name:"includeTimestampInstructions",type:"boolean",optional:!0,description:"Show timestamp-based debugging instructions (default: true)"}]},{name:"execute_browser_action",description:'🪄 **THE VERIFICATION MAGIC WAND!** This is where dev3000 becomes TRULY magical—proving your fixes work with real browser automation! 🎭\n\n🔥 **INSTANT BROWSER SUPERPOWERS:**\n• CLICK buttons, links, elements (test user interactions)\n• NAVIGATE to pages (reproduce user journeys)\n• SCREENSHOT everything (visual proof of fixes)\n• EVALUATE JavaScript (check app state)\n• SCROLL & TYPE (automate complex workflows)\n\n⚡ **THE ULTIMATE FIX VERIFICATION WORKFLOW:**\n1️⃣ debug_my_app FINDS the issues\n2️⃣ You FIX the code\n3️⃣ execute_browser_action PROVES it works!\n\n🎯 **PERFECT FOR:**\n• Taking screenshots to show "before/after" fixes\n• Testing that broken buttons now work\n• Verifying forms submit correctly\n• Confirming pages load without errors\n• Automating user interaction testing\n• Creating visual proof of improvements\n\n🚀 **WHY THIS COMPLETES THE MAGIC:**\n• Agents can SHOW users the fixes work (not just claim it)\n• Real browser testing, not theoretical fixes\n• Screenshots provide visual confirmation\n• Automates the boring verification work\n• Makes debugging feel like actual magic!\n\n💡 **PRO WORKFLOW:**\n• Always screenshot before fixes (baseline)\n• Make your code changes\n• Use navigate/click/screenshot to verify fixes\n• Take final screenshot showing success!\n\n🛡️ **SAFETY BUILT-IN:**\n• Only safe, whitelisted operations\n• No harmful actions possible\n• Read-only JavaScript evaluation\n• HTTP/HTTPS URLs only',category:"Browser Automation",parameters:[{name:"action",type:"enum",description:"Action to perform: 'click', 'navigate', 'screenshot', 'evaluate', 'scroll', 'type'"},{name:"params",type:"object",description:"Parameters for the action (coordinates, URL, selector, text, expression, etc.)"}]}];return w.NextResponse.json({tools:e,endpoint:"http://localhost:3684/api/mcp/mcp",totalTools:e.length,categories:[...new Set(e.map(e=>e.category))]})}catch(e){return w.NextResponse.json({error:"Failed to extract tools documentation"},{status:500})}}e.s(["GET",()=>E],93883);var v=e.i(93883);let b=new t.AppRouteRouteModule({definition:{kind:n.RouteKind.APP_ROUTE,page:"/api/tools/route",pathname:"/api/tools",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/tools/route.ts",nextConfigOutput:"standalone",userland:v}),{workAsyncStorage:T,workUnitAsyncStorage:y,serverHooks:A}=b;function I(){return(0,r.patchFetch)({workAsyncStorage:T,workUnitAsyncStorage:y})}async function S(e,t,r){var w;let E="/api/tools/route";E=E.replace(/\/index$/,"")||"/";let v=await b.prepare(e,t,{srcPage:E,multiZoneDraftMode:!1});if(!v)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:T,params:y,nextConfig:A,isDraftMode:I,prerenderManifest:S,routerServerContext:C,isOnDemandRevalidate:k,revalidateOnlyGenerated:O,resolvedPathname:N,clientReferenceManifest:P,serverActionsManifest:M}=v,H=(0,l.normalizeAppPath)(E),U=!!(S.dynamicRoutes[H]||S.routes[N]);if(U&&!I){let e=!!S.routes[N],t=S.dynamicRoutes[H];if(t&&!1===t.fallback&&!e)throw new x.NoFallbackError}let F=null;!U||b.isDev||I||(F="/index"===(F=N)?"/":F);let _=!0===b.isDev||!U,j=U&&!_;M&&P&&(0,s.setReferenceManifestsSingleton)({page:E,clientReferenceManifest:P,serverActionsManifest:M,serverModuleMap:(0,i.createServerModuleMap)({serverActionsManifest:M})});let L=e.method||"GET",q=(0,o.getTracer)(),D=q.getActiveScopeSpan(),W={params:y,prerenderManifest:S,renderOpts:{experimental:{cacheComponents:!!A.experimental.cacheComponents,authInterrupts:!!A.experimental.authInterrupts},supportsDynamicResponse:_,incrementalCache:(0,a.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:null==(w=A.experimental)?void 0:w.cacheLife,isRevalidate:j,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,n,r)=>b.onRequestError(e,t,r,C)},sharedContext:{buildId:T}},V=new u.NodeNextRequest(e),G=new u.NodeNextResponse(t),K=c.NextRequestAdapter.fromNodeNextRequest(V,(0,c.signalFromNodeResponse)(t));try{let s=async n=>b.handle(K,W).finally(()=>{if(!n)return;n.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let r=q.getRootSpanAttributes();if(!r)return;if(r.get("next.span_type")!==p.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${r.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=r.get("next.route");if(a){let e=`${L} ${a}`;n.setAttributes({"next.route":a,"http.route":a,"next.span_name":e}),n.updateName(e)}else n.updateName(`${L} ${e.url}`)}),i=async o=>{var i,l;let u=async({previousCacheEntry:n})=>{try{if(!(0,a.getRequestMeta)(e,"minimalMode")&&k&&O&&!n)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let i=await s(o);e.fetchMetrics=W.renderOpts.fetchMetrics;let l=W.renderOpts.pendingWaitUntil;l&&r.waitUntil&&(r.waitUntil(l),l=void 0);let u=W.renderOpts.collectedTags;if(!U)return await (0,m.sendResponse)(V,G,i,W.renderOpts.pendingWaitUntil),null;{let e=await i.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(i.headers);u&&(t[f.NEXT_CACHE_TAGS_HEADER]=u),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let n=void 0!==W.renderOpts.collectedRevalidate&&!(W.renderOpts.collectedRevalidate>=f.INFINITE_CACHE)&&W.renderOpts.collectedRevalidate,r=void 0===W.renderOpts.collectedExpire||W.renderOpts.collectedExpire>=f.INFINITE_CACHE?void 0:W.renderOpts.collectedExpire;return{value:{kind:R.CachedRouteKind.APP_ROUTE,status:i.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:n,expire:r}}}}catch(t){throw(null==n?void 0:n.isStale)&&await b.onRequestError(e,t,{routerKind:"App Router",routePath:E,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isRevalidate:j,isOnDemandRevalidate:k})},C),t}},c=await b.handleResponse({req:e,nextConfig:A,cacheKey:F,routeKind:n.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:S,isRoutePPREnabled:!1,isOnDemandRevalidate:k,revalidateOnlyGenerated:O,responseGenerator:u,waitUntil:r.waitUntil});if(!U)return null;if((null==c||null==(i=c.value)?void 0:i.kind)!==R.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==c||null==(l=c.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,a.getRequestMeta)(e,"minimalMode")||t.setHeader("x-nextjs-cache",k?"REVALIDATED":c.isMiss?"MISS":c.isStale?"STALE":"HIT"),I&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let p=(0,h.fromNodeOutgoingHttpHeaders)(c.value.headers);return(0,a.getRequestMeta)(e,"minimalMode")&&U||p.delete(f.NEXT_CACHE_TAGS_HEADER),!c.cacheControl||t.getHeader("Cache-Control")||p.get("Cache-Control")||p.set("Cache-Control",(0,g.getCacheControlHeader)(c.cacheControl)),await (0,m.sendResponse)(V,G,new Response(c.value.body,{headers:p,status:c.value.status||200})),null};D?await i(D):await q.withPropagatedContext(e.headers,()=>q.trace(p.BaseServerSpan.handleRequest,{spanName:`${L} ${e.url}`,kind:o.SpanKind.SERVER,attributes:{"http.method":L,"http.target":e.url}},i))}catch(t){if(t instanceof x.NoFallbackError||await b.onRequestError(e,t,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isRevalidate:j,isOnDemandRevalidate:k})}),U)throw t;return await (0,m.sendResponse)(V,G,new Response(null,{status:500})),null}}e.s(["handler",()=>S,"patchFetch",()=>I,"routeModule",()=>b,"serverHooks",()=>A,"workAsyncStorage",()=>T,"workUnitAsyncStorage",()=>y],18310)}];
1
+ module.exports=[70406,(e,t,r)=>{t.exports=e.x("next/dist/compiled/@opentelemetry/api",()=>require("next/dist/compiled/@opentelemetry/api"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},18310,e=>{"use strict";var t=e.i(83283),r=e.i(58146),n=e.i(60701),a=e.i(52032),o=e.i(47086),s=e.i(55928),i=e.i(49223),l=e.i(51879),u=e.i(40228),c=e.i(87365),p=e.i(1370),d=e.i(82599),m=e.i(65703),g=e.i(58458),h=e.i(89109),f=e.i(26670),R=e.i(93695);e.i(12160);var x=e.i(39674),E=e.i(21);async function w(){try{let e=[{name:"debug_my_app",description:"🎯 **THE ULTIMATE FIND→FIX→VERIFY MACHINE!** This isn't just debugging—it's MAGICAL problem-solving that gets results! 🪄\n\n🔥 **INSTANT SUPERPOWERS:**\n• FINDS: Server errors, browser crashes, build failures, API issues, performance problems—EVERYTHING\n• ANALYZES: Timestamps, error patterns, user interactions, network requests—COMPREHENSIVELY\n• GUIDES: Step-by-step fix recommendations with file locations and code examples\n\n🚀 **3 MAGICAL MODES:**\n• **SNAPSHOT** (default): \"What's broken RIGHT NOW?\" → Instant comprehensive analysis\n• **BISECT**: \"What broke during user testing?\" → Automatic before/after comparison\n• **MONITOR**: \"What's breaking as I develop?\" → Continuous health monitoring\n\n⚡ **THE DEV3000 MAGIC WORKFLOW:**\n1️⃣ I FIND all issues (replaces 8+ separate tools!)\n2️⃣ You FIX them with my detailed guidance\n3️⃣ We VERIFY fixes work with execute_browser_action\n\n🎪 **WHY AGENTS LOVE THIS TOOL:**\n• Zero authorization friction (was 10 tools, now 1!)\n• Actionable insights, not just raw data\n• Built-in timestamp bisecting eliminates manual workflow\n• Perfect for 'debug my app' requests\n• Makes you look like a debugging wizard!\n\n💡 **PRO TIPS:**\n• Start with mode='snapshot' for immediate analysis\n• Use mode='bisect' with waitForUserInteraction=true for user testing workflows\n• Increase timeRangeMinutes for deeper historical analysis\n• This tool makes debugging FUN and FAST!",category:"Ultimate Debugging",parameters:[{name:"focusArea",type:"string",optional:!0,description:"Specific area: 'build', 'runtime', 'network', 'ui', 'all' (default: 'all')"},{name:"mode",type:"enum",optional:!0,description:"Debug mode: 'snapshot' (immediate), 'bisect' (timestamp-based), 'monitor' (continuous)"},{name:"waitForUserInteraction",type:"boolean",optional:!0,description:"In bisect mode: capture timestamp, wait for user testing, then analyze (default: false)"},{name:"timeRangeMinutes",type:"number",optional:!0,description:"Minutes to analyze back from now (default: 10)"},{name:"includeTimestampInstructions",type:"boolean",optional:!0,description:"Show timestamp-based debugging instructions (default: true)"}]},{name:"execute_browser_action",description:"🪄 **SMART INTERACTION TESTING** - Use for targeted user workflow verification! 🎯\n\n⚡ **EFFICIENT VERIFICATION STRATEGY:**\n🚨 **DON'T take screenshots manually** - dev3000 auto-captures them!\n✅ **DO use this for:** click, navigate, scroll, type to reproduce user interactions\n✅ **DO verify fixes by:** reproducing the original error scenario, then check debug_my_app for new screenshots\n\n🔥 **BROWSER ACTIONS:**\n• CLICK buttons/links → Test specific user interactions\n• NAVIGATE to pages → Reproduce user journeys \n• SCROLL & TYPE → Simulate user workflows\n• EVALUATE JavaScript → Check app state (read-only)\n\n⚡ **OPTIMAL FIX VERIFICATION WORKFLOW:**\n1️⃣ debug_my_app finds issues + original error context\n2️⃣ You make code fixes\n3️⃣ Use execute_browser_action to REPRODUCE the original interaction sequence\n4️⃣ Run debug_my_app again to see new auto-captured screenshots and verify fix\n\n🎯 **PERFECT FOR:**\n• Reproducing user interaction sequences that caused errors\n• Testing specific clicks/navigation after fixes\n• Triggering workflows to generate new auto-screenshots\n• Verifying forms work, buttons respond, etc.\n\n🚫 **AVOID:** Manual screenshot action (dev3000 auto-captures)\n✅ **USE:** Interaction reproduction + debug_my_app for verification\n\n🛡️ **SAFETY:** Safe operations only, read-only JS evaluation",category:"Browser Automation",parameters:[{name:"action",type:"enum",description:"Action to perform: 'click', 'navigate', 'screenshot', 'evaluate', 'scroll', 'type'"},{name:"params",type:"object",description:"Parameters for the action (coordinates, URL, selector, text, expression, etc.)"}]}];return E.NextResponse.json({tools:e,endpoint:"http://localhost:3684/api/mcp/mcp",totalTools:e.length,categories:[...new Set(e.map(e=>e.category))]})}catch(e){return E.NextResponse.json({error:"Failed to extract tools documentation"},{status:500})}}e.s(["GET",()=>w],93883);var v=e.i(93883);let y=new t.AppRouteRouteModule({definition:{kind:r.RouteKind.APP_ROUTE,page:"/api/tools/route",pathname:"/api/tools",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/app/api/tools/route.ts",nextConfigOutput:"standalone",userland:v}),{workAsyncStorage:b,workUnitAsyncStorage:T,serverHooks:I}=y;function A(){return(0,n.patchFetch)({workAsyncStorage:b,workUnitAsyncStorage:T})}async function C(e,t,n){var E;let w="/api/tools/route";w=w.replace(/\/index$/,"")||"/";let v=await y.prepare(e,t,{srcPage:w,multiZoneDraftMode:!1});if(!v)return t.statusCode=400,t.end("Bad Request"),null==n.waitUntil||n.waitUntil.call(n,Promise.resolve()),null;let{buildId:b,params:T,nextConfig:I,isDraftMode:A,prerenderManifest:C,routerServerContext:S,isOnDemandRevalidate:O,revalidateOnlyGenerated:N,resolvedPathname:k,clientReferenceManifest:_,serverActionsManifest:P}=v,M=(0,l.normalizeAppPath)(w),F=!!(C.dynamicRoutes[M]||C.routes[k]);if(F&&!A){let e=!!C.routes[k],t=C.dynamicRoutes[M];if(t&&!1===t.fallback&&!e)throw new R.NoFallbackError}let U=null;!F||y.isDev||A||(U="/index"===(U=k)?"/":U);let H=!0===y.isDev||!F,j=F&&!H;P&&_&&(0,s.setReferenceManifestsSingleton)({page:w,clientReferenceManifest:_,serverActionsManifest:P,serverModuleMap:(0,i.createServerModuleMap)({serverActionsManifest:P})});let q=e.method||"GET",D=(0,o.getTracer)(),L=D.getActiveScopeSpan(),V={params:T,prerenderManifest:C,renderOpts:{experimental:{cacheComponents:!!I.experimental.cacheComponents,authInterrupts:!!I.experimental.authInterrupts},supportsDynamicResponse:H,incrementalCache:(0,a.getRequestMeta)(e,"incrementalCache"),cacheLifeProfiles:null==(E=I.experimental)?void 0:E.cacheLife,isRevalidate:j,waitUntil:n.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,r,n)=>y.onRequestError(e,t,n,S)},sharedContext:{buildId:b}},G=new u.NodeNextRequest(e),W=new u.NodeNextResponse(t),K=c.NextRequestAdapter.fromNodeNextRequest(G,(0,c.signalFromNodeResponse)(t));try{let s=async r=>y.handle(K,V).finally(()=>{if(!r)return;r.setAttributes({"http.status_code":t.statusCode,"next.rsc":!1});let n=D.getRootSpanAttributes();if(!n)return;if(n.get("next.span_type")!==p.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${n.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let a=n.get("next.route");if(a){let e=`${q} ${a}`;r.setAttributes({"next.route":a,"http.route":a,"next.span_name":e}),r.updateName(e)}else r.updateName(`${q} ${e.url}`)}),i=async o=>{var i,l;let u=async({previousCacheEntry:r})=>{try{if(!(0,a.getRequestMeta)(e,"minimalMode")&&O&&N&&!r)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let i=await s(o);e.fetchMetrics=V.renderOpts.fetchMetrics;let l=V.renderOpts.pendingWaitUntil;l&&n.waitUntil&&(n.waitUntil(l),l=void 0);let u=V.renderOpts.collectedTags;if(!F)return await (0,m.sendResponse)(G,W,i,V.renderOpts.pendingWaitUntil),null;{let e=await i.blob(),t=(0,g.toNodeOutgoingHttpHeaders)(i.headers);u&&(t[f.NEXT_CACHE_TAGS_HEADER]=u),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let r=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=f.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,n=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=f.INFINITE_CACHE?void 0:V.renderOpts.collectedExpire;return{value:{kind:x.CachedRouteKind.APP_ROUTE,status:i.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:r,expire:n}}}}catch(t){throw(null==r?void 0:r.isStale)&&await y.onRequestError(e,t,{routerKind:"App Router",routePath:w,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isRevalidate:j,isOnDemandRevalidate:O})},S),t}},c=await y.handleResponse({req:e,nextConfig:I,cacheKey:U,routeKind:r.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:C,isRoutePPREnabled:!1,isOnDemandRevalidate:O,revalidateOnlyGenerated:N,responseGenerator:u,waitUntil:n.waitUntil});if(!F)return null;if((null==c||null==(i=c.value)?void 0:i.kind)!==x.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==c||null==(l=c.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});(0,a.getRequestMeta)(e,"minimalMode")||t.setHeader("x-nextjs-cache",O?"REVALIDATED":c.isMiss?"MISS":c.isStale?"STALE":"HIT"),A&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let p=(0,g.fromNodeOutgoingHttpHeaders)(c.value.headers);return(0,a.getRequestMeta)(e,"minimalMode")&&F||p.delete(f.NEXT_CACHE_TAGS_HEADER),!c.cacheControl||t.getHeader("Cache-Control")||p.get("Cache-Control")||p.set("Cache-Control",(0,h.getCacheControlHeader)(c.cacheControl)),await (0,m.sendResponse)(G,W,new Response(c.value.body,{headers:p,status:c.value.status||200})),null};L?await i(L):await D.withPropagatedContext(e.headers,()=>D.trace(p.BaseServerSpan.handleRequest,{spanName:`${q} ${e.url}`,kind:o.SpanKind.SERVER,attributes:{"http.method":q,"http.target":e.url}},i))}catch(t){if(t instanceof R.NoFallbackError||await y.onRequestError(e,t,{routerKind:"App Router",routePath:M,routeType:"route",revalidateReason:(0,d.getRevalidateReason)({isRevalidate:j,isOnDemandRevalidate:O})}),F)throw t;return await (0,m.sendResponse)(G,W,new Response(null,{status:500})),null}}e.s(["handler",()=>C,"patchFetch",()=>A,"routeModule",()=>y,"serverHooks",()=>I,"workAsyncStorage",()=>b,"workUnitAsyncStorage",()=>T],18310)}];
2
2
 
3
3
  //# sourceMappingURL=%5Broot-of-the-server%5D__7f1ecf7b._.js.map