chrome-devtools-mcp-for-extension 0.22.4 → 0.22.6
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/build/src/WaitForHelper.js +1 -1
- package/build/src/main.js +8 -9
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ export class WaitForHelper {
|
|
|
8
8
|
#navigationTimeout;
|
|
9
9
|
constructor(page, cpuTimeoutMultiplier, networkTimeoutMultiplier) {
|
|
10
10
|
this.#stableDomTimeout = 3000 * cpuTimeoutMultiplier;
|
|
11
|
-
this.#stableDomFor =
|
|
11
|
+
this.#stableDomFor = 500 * cpuTimeoutMultiplier;
|
|
12
12
|
this.#expectNavigationIn = 100 * cpuTimeoutMultiplier;
|
|
13
13
|
this.#navigationTimeout = 3000 * networkTimeoutMultiplier;
|
|
14
14
|
this.#page = page;
|
package/build/src/main.js
CHANGED
|
@@ -44,7 +44,6 @@ import { McpContext } from './McpContext.js';
|
|
|
44
44
|
import { McpResponse } from './McpResponse.js';
|
|
45
45
|
import { Mutex } from './Mutex.js';
|
|
46
46
|
import { resolveRoots } from './roots-manager.js';
|
|
47
|
-
import { runStartupCheck } from './startup-check.js';
|
|
48
47
|
import { setProjectRoot } from './project-root-state.js';
|
|
49
48
|
import { setupGraceful } from './graceful.js';
|
|
50
49
|
import * as bookmarkTools from './tools/bookmarks.js';
|
|
@@ -175,14 +174,14 @@ async function getContext() {
|
|
|
175
174
|
},
|
|
176
175
|
};
|
|
177
176
|
context = await McpContext.from(browser, logger, browserFactory, connectionOptions);
|
|
178
|
-
//
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
}
|
|
177
|
+
// UI health check disabled - causes duplicate ChatGPT tabs
|
|
178
|
+
// TODO: Re-enable after fixing tab management
|
|
179
|
+
// if (!uiHealthCheckRun) {
|
|
180
|
+
// uiHealthCheckRun = true;
|
|
181
|
+
// runStartupCheck(browser).catch(err => {
|
|
182
|
+
// logger(`Startup check failed: ${err}`);
|
|
183
|
+
// });
|
|
184
|
+
// }
|
|
186
185
|
}
|
|
187
186
|
return context;
|
|
188
187
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chrome-devtools-mcp-for-extension",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.6",
|
|
4
4
|
"description": "MCP server for Chrome extension development with Web Store automation. Fork of chrome-devtools-mcp with extension-specific tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "./scripts/cli.mjs",
|