chrome-devtools-mcp-for-extension 0.26.2 → 0.26.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.
|
@@ -296,6 +296,14 @@ export const askChatGPTWeb = defineTool({
|
|
|
296
296
|
waitUntil: 'domcontentloaded',
|
|
297
297
|
});
|
|
298
298
|
}
|
|
299
|
+
// Wait for input field to be ready (even when skipping navigation)
|
|
300
|
+
await page
|
|
301
|
+
.waitForSelector('.ProseMirror[contenteditable="true"]', {
|
|
302
|
+
timeout: 5000,
|
|
303
|
+
})
|
|
304
|
+
.catch(() => {
|
|
305
|
+
// Ignore timeout, will be handled later
|
|
306
|
+
});
|
|
299
307
|
}
|
|
300
308
|
else {
|
|
301
309
|
response.appendResponseLine('既存チャットが見つかりませんでした。新規作成します。');
|
|
@@ -348,7 +356,7 @@ export const askChatGPTWeb = defineTool({
|
|
|
348
356
|
return true;
|
|
349
357
|
}, sanitizedQuestion);
|
|
350
358
|
if (!questionSent) {
|
|
351
|
-
response.appendResponseLine('❌
|
|
359
|
+
response.appendResponseLine('❌ 入力欄が見つかりません(ページ読み込み中の可能性)');
|
|
352
360
|
return;
|
|
353
361
|
}
|
|
354
362
|
await new Promise(resolve => setTimeout(resolve, 100));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chrome-devtools-mcp-for-extension",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.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": "./scripts/cli.mjs",
|