@dynamicu/chromedebug-mcp 2.4.5 → 2.5.0

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/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dynamicu/chromedebug-mcp",
3
- "version": "2.4.5",
3
+ "version": "2.5.0",
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",
7
7
  "bin": {
8
- "chromedebug-mcp": "./src/cli.js",
8
+ "chromedebug-mcp": "./src/index.js",
9
9
  "chromedebug-mcp-server": "./src/standalone-server.js"
10
10
  },
11
11
  "publishConfig": {
package/src/index.js CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env node
2
+
1
3
  /**
2
4
  * Chrome Debug MCP Server - Modular Architecture
3
5
  * Refactored from monolithic design to modular components
package/src/cli.js DELETED
@@ -1,19 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- import { spawn } from 'child_process';
4
- import { fileURLToPath } from 'url';
5
- import { dirname, join } from 'path';
6
-
7
- const __filename = fileURLToPath(import.meta.url);
8
- const __dirname = dirname(__filename);
9
-
10
- const indexPath = join(__dirname, 'index.js');
11
-
12
- const child = spawn('node', [indexPath], {
13
- stdio: 'inherit',
14
- env: process.env
15
- });
16
-
17
- child.on('exit', (code) => {
18
- process.exit(code);
19
- });