chrome-devtools-mcp-for-extension 0.16.1 → 0.16.3

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.
@@ -4,6 +4,7 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
  import { CHATGPT_CONFIG } from './config.js';
7
+ import { isLoginRequired } from './login-helper.js';
7
8
  /**
8
9
  * UI elements to check during health verification
9
10
  */
@@ -77,13 +78,16 @@ export async function verifyUIHealth(browser) {
77
78
  });
78
79
  // Wait for page to be ready
79
80
  await new Promise((resolve) => setTimeout(resolve, 2000));
80
- // Check login status
81
- const currentUrl = page.url();
82
- if (currentUrl.includes('auth') || currentUrl.includes('login')) {
83
- console.error('⚠️ Not logged in to ChatGPT - skipping UI verification');
84
- console.error(' Please log in manually for full functionality');
81
+ // Check login status (but don't wait for login to avoid timeout)
82
+ console.error(' Checking login status...');
83
+ const needsLogin = await isLoginRequired(page);
84
+ if (needsLogin) {
85
+ console.error('⚠️ ChatGPT login required');
86
+ console.error(' 💡 Login will be prompted when you use ChatGPT tools');
87
+ console.error(' Skipping UI verification - will verify after login');
85
88
  return;
86
89
  }
90
+ console.error('✅ Already logged in');
87
91
  // Check each UI element
88
92
  const results = [];
89
93
  for (const element of UI_ELEMENTS) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chrome-devtools-mcp-for-extension",
3
- "version": "0.16.1",
3
+ "version": "0.16.3",
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": "./build/src/index.js",