@dynamicu/chromedebug-mcp 2.3.0 ā 2.3.1
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/chrome-extension/background.js +5 -5
- package/dist/chromedebug-extension-free.zip +0 -0
- package/package.json +1 -1
- package/scripts/postinstall.js +13 -4
- package/src/chrome-controller.js +107 -106
- package/src/config-loader.js +18 -17
- package/src/database.js +81 -80
- package/src/index.js +35 -24
- package/src/middleware/auth.js +30 -29
- package/src/port-discovery.js +7 -6
- package/src/services/failover-manager.js +19 -18
- package/src/services/project-manager.js +16 -15
- package/src/utils/logger.js +63 -0
|
@@ -1537,7 +1537,7 @@ async function createUserNotification(priority, message) {
|
|
|
1537
1537
|
|
|
1538
1538
|
const notificationOptions = {
|
|
1539
1539
|
type: 'basic',
|
|
1540
|
-
iconUrl: '
|
|
1540
|
+
iconUrl: chrome.runtime.getURL('icon48.png'),
|
|
1541
1541
|
title: 'Chrome Debug Error',
|
|
1542
1542
|
message: message,
|
|
1543
1543
|
priority: priority === 'CRITICAL' ? 2 : 1,
|
|
@@ -2428,7 +2428,7 @@ async function startRecording(tabId, settings = {}) {
|
|
|
2428
2428
|
// Show notification to user
|
|
2429
2429
|
chrome.notifications.create({
|
|
2430
2430
|
type: 'basic',
|
|
2431
|
-
iconUrl: '
|
|
2431
|
+
iconUrl: chrome.runtime.getURL('icon48.png'),
|
|
2432
2432
|
title: 'Recording Limit Reached',
|
|
2433
2433
|
message: licenseCheck.message || 'Upgrade to Pro for unlimited recordings.',
|
|
2434
2434
|
priority: 2
|
|
@@ -2938,7 +2938,7 @@ async function startWorkflowRecording(tabId, includeLogsInExport, sessionName =
|
|
|
2938
2938
|
// Show notification to user (same pattern as screen recording)
|
|
2939
2939
|
chrome.notifications.create({
|
|
2940
2940
|
type: 'basic',
|
|
2941
|
-
iconUrl: 'icon128.png',
|
|
2941
|
+
iconUrl: chrome.runtime.getURL('icon128.png'),
|
|
2942
2942
|
title: 'Recording Limit Reached',
|
|
2943
2943
|
message: licenseCheck.message || 'Daily limit reached. Upgrade to Pro for unlimited workflow recordings.',
|
|
2944
2944
|
buttons: [{ title: 'Upgrade to Pro' }],
|
|
@@ -3749,7 +3749,7 @@ async function handleFrameCaptureComplete(sessionData) {
|
|
|
3749
3749
|
// Show user notification about log association failure
|
|
3750
3750
|
chrome.notifications.create({
|
|
3751
3751
|
type: 'basic',
|
|
3752
|
-
iconUrl: '
|
|
3752
|
+
iconUrl: chrome.runtime.getURL('icon48.png'),
|
|
3753
3753
|
title: 'Chrome Debug - Log Association Failed',
|
|
3754
3754
|
message: `${errorDetails} Recording saved but logs may be missing. Check console for details.`,
|
|
3755
3755
|
priority: 1
|
|
@@ -3766,7 +3766,7 @@ async function handleFrameCaptureComplete(sessionData) {
|
|
|
3766
3766
|
// Show user notification about no logs captured
|
|
3767
3767
|
chrome.notifications.create({
|
|
3768
3768
|
type: 'basic',
|
|
3769
|
-
iconUrl: '
|
|
3769
|
+
iconUrl: chrome.runtime.getURL('icon48.png'),
|
|
3770
3770
|
title: 'Chrome Debug - No Console Logs Captured',
|
|
3771
3771
|
message: 'Recording completed but no console logs were captured. This may be expected if the page had no console activity.',
|
|
3772
3772
|
priority: 0
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamicu/chromedebug-mcp",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"description": "ChromeDebug MCP - MCP server that provides full control over a Chrome browser instance for debugging and automation with AI assistants like Claude Code",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
package/scripts/postinstall.js
CHANGED
|
@@ -16,10 +16,15 @@ const extensionPath = join(packageRoot, 'chrome-extension');
|
|
|
16
16
|
|
|
17
17
|
console.log('\nā
ChromeDebug MCP installed successfully!\n');
|
|
18
18
|
|
|
19
|
+
console.log('š How ChromeDebug Works:');
|
|
20
|
+
console.log(' When Claude Code starts chromedebug-mcp, it automatically runs:');
|
|
21
|
+
console.log(' ⢠MCP Server (for Claude Code communication)');
|
|
22
|
+
console.log(' ⢠HTTP Server on port 3000-4000 (for Chrome extension)\n');
|
|
23
|
+
|
|
19
24
|
console.log('š FREE Chrome Extension (5 recordings/day):');
|
|
20
25
|
if (existsSync(zipPath)) {
|
|
21
|
-
console.log(`
|
|
22
|
-
console.log(' Extract and load in Chrome\n');
|
|
26
|
+
console.log(` Location: ${zipPath}`);
|
|
27
|
+
console.log(' Extract the zip file and load in Chrome\n');
|
|
23
28
|
} else {
|
|
24
29
|
console.log(` Source: ${extensionPath}`);
|
|
25
30
|
console.log(' Load directly from this path\n');
|
|
@@ -31,10 +36,14 @@ console.log(' 2. Enable "Developer mode" (toggle in top right)');
|
|
|
31
36
|
console.log(' 3. Click "Load unpacked"');
|
|
32
37
|
if (existsSync(zipPath)) {
|
|
33
38
|
console.log(' 4. Extract the zip file above');
|
|
34
|
-
console.log(' 5. Select the extracted folder
|
|
39
|
+
console.log(' 5. Select the extracted folder');
|
|
35
40
|
} else {
|
|
36
|
-
console.log(' 4. Navigate to and select the path above
|
|
41
|
+
console.log(' 4. Navigate to and select the path above');
|
|
37
42
|
}
|
|
43
|
+
console.log(' 6. The extension will auto-detect the HTTP server port\n');
|
|
44
|
+
|
|
45
|
+
console.log('ā¹ļø No manual server startup needed!');
|
|
46
|
+
console.log(' Claude Code automatically starts both servers when it runs chromedebug-mcp\n');
|
|
38
47
|
|
|
39
48
|
console.log('š Want unlimited recordings?');
|
|
40
49
|
console.log(' Upgrade to Pro: https://chromedebug.com/buy/996773cb-682b-430f-b9e3-9ce2130bd967\n');
|