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.
- package/dist/dev-environment.js +2 -2
- package/mcp-server/.next/BUILD_ID +1 -1
- package/mcp-server/.next/build-manifest.json +2 -2
- package/mcp-server/.next/cache/.tsbuildinfo +1 -1
- package/mcp-server/.next/fallback-build-manifest.json +2 -2
- package/mcp-server/.next/prerender-manifest.json +6 -6
- 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.html +1 -1
- package/mcp-server/.next/server/app/_not-found.rsc +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/replay.html +1 -1
- package/mcp-server/.next/server/app/replay.rsc +1 -1
- package/mcp-server/.next/server/chunks/[root-of-the-server]__7f1ecf7b._.js +1 -1
- package/mcp-server/.next/server/chunks/[root-of-the-server]__7f1ecf7b._.js.map +1 -1
- package/mcp-server/.next/server/chunks/[root-of-the-server]__82298dd3._.js +5 -9
- package/mcp-server/.next/server/chunks/[root-of-the-server]__82298dd3._.js.map +1 -1
- package/mcp-server/.next/server/pages/404.html +1 -1
- package/mcp-server/.next/server/pages/500.html +2 -2
- package/mcp-server/.next/standalone/.next/BUILD_ID +1 -1
- package/mcp-server/.next/standalone/.next/build-manifest.json +2 -2
- package/mcp-server/.next/standalone/.next/prerender-manifest.json +6 -6
- package/mcp-server/.next/standalone/.next/server/app/_global-error.html +2 -2
- package/mcp-server/.next/standalone/.next/server/app/_global-error.rsc +1 -1
- package/mcp-server/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/mcp-server/.next/standalone/.next/server/app/_not-found.rsc +1 -1
- package/mcp-server/.next/standalone/.next/server/app/index.html +1 -1
- package/mcp-server/.next/standalone/.next/server/app/index.rsc +1 -1
- package/mcp-server/.next/standalone/.next/server/app/replay.html +1 -1
- package/mcp-server/.next/standalone/.next/server/app/replay.rsc +1 -1
- package/mcp-server/.next/standalone/.next/server/chunks/[root-of-the-server]__7f1ecf7b._.js +1 -1
- package/mcp-server/.next/standalone/.next/server/chunks/[root-of-the-server]__82298dd3._.js +5 -9
- package/mcp-server/.next/standalone/.next/server/pages/404.html +1 -1
- package/mcp-server/.next/standalone/.next/server/pages/500.html +2 -2
- package/mcp-server/.next/standalone/app/api/mcp/[transport]/route.ts +153 -677
- package/mcp-server/.next/trace +1 -1
- package/mcp-server/app/api/mcp/[transport]/route.ts +153 -677
- package/mcp-server/app/api/tools/route.ts +14 -133
- package/package.json +1 -1
- /package/mcp-server/.next/static/{fgx2Ltd5vbloYUQlVKX60 → lDFZiYn5DNSLwH0MarFSI}/_buildManifest.js +0 -0
- /package/mcp-server/.next/static/{fgx2Ltd5vbloYUQlVKX60 → lDFZiYn5DNSLwH0MarFSI}/_clientMiddlewareManifest.json +0 -0
- /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
|
-
//
|
|
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
|
-
"
|
|
13
|
-
category: "
|
|
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
|
|
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: "
|
|
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: "
|
|
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: "
|
|
27
|
+
name: "waitForUserInteraction",
|
|
68
28
|
type: "boolean",
|
|
69
29
|
optional: true,
|
|
70
|
-
description: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
126
|
-
type: "
|
|
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: "
|
|
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
|
-
"🪄
|
|
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
/package/mcp-server/.next/static/{fgx2Ltd5vbloYUQlVKX60 → lDFZiYn5DNSLwH0MarFSI}/_buildManifest.js
RENAMED
|
File without changes
|
|
File without changes
|
/package/mcp-server/.next/static/{fgx2Ltd5vbloYUQlVKX60 → lDFZiYn5DNSLwH0MarFSI}/_ssgManifest.js
RENAMED
|
File without changes
|