dev3000 0.0.62 → 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 (43) 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 +6 -6
  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 +5 -9
  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 +6 -6
  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 +5 -9
  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 +153 -677
  37. package/mcp-server/.next/trace +1 -1
  38. package/mcp-server/app/api/mcp/[transport]/route.ts +153 -677
  39. package/mcp-server/app/api/tools/route.ts +14 -133
  40. package/package.json +1 -1
  41. /package/mcp-server/.next/static/{fgx2Ltd5vbloYUQlVKX60 → lDFZiYn5DNSLwH0MarFSI}/_buildManifest.js +0 -0
  42. /package/mcp-server/.next/static/{fgx2Ltd5vbloYUQlVKX60 → lDFZiYn5DNSLwH0MarFSI}/_clientMiddlewareManifest.json +0 -0
  43. /package/mcp-server/.next/static/{fgx2Ltd5vbloYUQlVKX60 → lDFZiYn5DNSLwH0MarFSI}/_ssgManifest.js +0 -0
@@ -3,155 +3,50 @@ import { NextResponse } from "next/server"
3
3
  // This endpoint extracts MCP tools documentation by parsing the route handler
4
4
  export async function GET() {
5
5
  try {
6
- // Since we can't easily parse the TypeScript at runtime,
7
- // we'll maintain a curated list of tools with their descriptions
6
+ // Streamlined tool set - reduced from 10 tools to 2 for zero authorization friction!
8
7
  const tools = [
9
8
  {
10
9
  name: "debug_my_app",
11
10
  description:
12
- "🚨 SHORTCUT COMMAND: Complete proactive analysis of your development environment. Automatically checks recent logs for errors, searches for common patterns, gets browser errors, and provides actionable debugging insights with immediate fixes.",
13
- category: "Primary Debugging",
11
+ "🎯 **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!",
12
+ category: "Ultimate Debugging",
14
13
  parameters: [
15
14
  {
16
15
  name: "focusArea",
17
16
  type: "string",
18
17
  optional: true,
19
- description: "Specific area to focus on: 'build', 'runtime', 'network', 'ui', or 'all' (default: 'all')"
20
- }
21
- ]
22
- },
23
- {
24
- name: "get_current_timestamp",
25
- description:
26
- "⏰ CRITICAL MONITORING TOOL: Get current timestamp for proactive error monitoring workflow. Use constantly before/after user interactions for timestamp-based debugging.",
27
- category: "Monitoring",
28
- parameters: []
29
- },
30
- {
31
- name: "get_errors_between_timestamps",
32
- description:
33
- "🚨 PROACTIVE ERROR EXTRACTION: Get ALL types of errors (server errors, exceptions, browser errors, build failures, network issues) between specific timestamps. Essential for continuous monitoring.",
34
- category: "Error Analysis",
35
- parameters: [
36
- {
37
- name: "startTime",
38
- type: "string",
39
- description: "Start timestamp (ISO 8601 format: 2024-01-01T12:00:00.000Z)"
18
+ description: "Specific area: 'build', 'runtime', 'network', 'ui', 'all' (default: 'all')"
40
19
  },
41
20
  {
42
- name: "endTime",
43
- type: "string",
44
- description: "End timestamp (ISO 8601 format: 2024-01-01T12:30:00.000Z)"
45
- },
46
- {
47
- name: "severity",
21
+ name: "mode",
48
22
  type: "enum",
49
23
  optional: true,
50
- description: "Error severity filter: 'all', 'critical', 'warnings' (default: 'all')"
51
- }
52
- ]
53
- },
54
- {
55
- name: "monitor_for_new_errors",
56
- description:
57
- "🔍 AUTOMATED BACKGROUND MONITORING: Check for ANY new errors that appeared in the last few minutes. Use frequently for continuous quality assurance and preventive debugging.",
58
- category: "Monitoring",
59
- parameters: [
60
- {
61
- name: "minutes",
62
- type: "number",
63
- optional: true,
64
- description: "Minutes to look back for new errors (default: 5)"
24
+ description: "Debug mode: 'snapshot' (immediate), 'bisect' (timestamp-based), 'monitor' (continuous)"
65
25
  },
66
26
  {
67
- name: "autoFix",
27
+ name: "waitForUserInteraction",
68
28
  type: "boolean",
69
29
  optional: true,
70
- description: "Whether to immediately offer fixes when errors found (default: true)"
71
- }
72
- ]
73
- },
74
- {
75
- name: "read_consolidated_logs",
76
- description:
77
- "Read recent consolidated development logs containing server output, browser console logs, network requests, user interactions, and screenshots. Essential for general log overview and proactive error detection.",
78
- category: "Log Analysis",
79
- parameters: [
80
- {
81
- name: "lines",
82
- type: "number",
83
- optional: true,
84
- description: "Number of recent lines to read (default: 50)"
30
+ description: "In bisect mode: capture timestamp, wait for user testing, then analyze (default: false)"
85
31
  },
86
32
  {
87
- name: "filter",
88
- type: "string",
89
- optional: true,
90
- description: "Filter logs by text content"
91
- }
92
- ]
93
- },
94
- {
95
- name: "search_logs",
96
- description:
97
- "Search through consolidated logs using regex patterns with context lines. Essential for tracing error patterns, finding specific API calls, or tracking user interaction sequences.",
98
- category: "Log Analysis",
99
- parameters: [
100
- {
101
- name: "pattern",
102
- type: "string",
103
- description: "Regex pattern to search for"
104
- },
105
- {
106
- name: "context",
33
+ name: "timeRangeMinutes",
107
34
  type: "number",
108
35
  optional: true,
109
- description: "Number of lines of context around matches (default: 2)"
110
- }
111
- ]
112
- },
113
- {
114
- name: "get_logs_between_timestamps",
115
- description:
116
- "Get logs between two specific timestamps - critical for timestamp-based debugging workflow. Eliminates noise and focuses analysis on specific user sessions.",
117
- category: "Log Analysis",
118
- parameters: [
119
- {
120
- name: "startTime",
121
- type: "string",
122
- description: "Start timestamp (ISO 8601 format)"
36
+ description: "Minutes to analyze back from now (default: 10)"
123
37
  },
124
38
  {
125
- name: "endTime",
126
- type: "string",
127
- description: "End timestamp (ISO 8601 format)"
128
- },
129
- {
130
- name: "filter",
131
- type: "string",
132
- optional: true,
133
- description: "Filter logs by text content (case insensitive)"
134
- }
135
- ]
136
- },
137
- {
138
- name: "get_browser_errors",
139
- description:
140
- "Get recent browser errors including console errors, JavaScript exceptions, and page errors from monitoring. Use proactively to catch JavaScript exceptions and runtime issues immediately.",
141
- category: "Browser Debugging",
142
- parameters: [
143
- {
144
- name: "hours",
145
- type: "number",
39
+ name: "includeTimestampInstructions",
40
+ type: "boolean",
146
41
  optional: true,
147
- description: "Hours to look back (default: 1)"
42
+ description: "Show timestamp-based debugging instructions (default: true)"
148
43
  }
149
44
  ]
150
45
  },
151
46
  {
152
47
  name: "execute_browser_action",
153
48
  description:
154
- "🪄 MAGICAL VERIFICATION TOOL: Execute safe browser actions via Chrome DevTools Protocol for testing and interaction automation. The secret to dev3000 magic - use to verify fixes work by automating browser interactions and taking screenshots.",
49
+ "🪄 **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",
155
50
  category: "Browser Automation",
156
51
  parameters: [
157
52
  {
@@ -165,20 +60,6 @@ export async function GET() {
165
60
  description: "Parameters for the action (coordinates, URL, selector, text, expression, etc.)"
166
61
  }
167
62
  ]
168
- },
169
- {
170
- name: "healthcheck",
171
- description:
172
- "Internal healthcheck tool - rarely needed since MCP connection working means server is healthy. Only use if explicitly asked to verify server health.",
173
- category: "System",
174
- parameters: [
175
- {
176
- name: "message",
177
- type: "string",
178
- optional: true,
179
- description: "Optional message to echo back"
180
- }
181
- ]
182
63
  }
183
64
  ]
184
65
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dev3000",
3
- "version": "0.0.62",
3
+ "version": "0.0.64",
4
4
  "description": "AI-powered development tools with browser monitoring and MCP server integration",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",