auto-webmcp 0.3.2 → 0.3.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.
- package/dist/auto-webmcp.cjs.js +2 -1
- package/dist/auto-webmcp.cjs.js.map +2 -2
- package/dist/auto-webmcp.esm.js +2 -1
- package/dist/auto-webmcp.esm.js.map +2 -2
- package/dist/auto-webmcp.iife.js +1 -1
- package/dist/auto-webmcp.iife.js.map +2 -2
- package/dist/interceptor.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/auto-webmcp.cjs.js
CHANGED
|
@@ -429,7 +429,7 @@ function inferToolDescription(form) {
|
|
|
429
429
|
const heading = getNearestHeadingText(form);
|
|
430
430
|
const pageTitle = document.title?.trim();
|
|
431
431
|
if (heading && pageTitle)
|
|
432
|
-
return `${heading}
|
|
432
|
+
return `${heading}: ${pageTitle}`;
|
|
433
433
|
if (heading)
|
|
434
434
|
return heading;
|
|
435
435
|
if (pageTitle)
|
|
@@ -958,6 +958,7 @@ function buildExecuteHandler(form, config, toolName, metadata) {
|
|
|
958
958
|
attachSubmitInterceptor(form, toolName);
|
|
959
959
|
return async (params) => {
|
|
960
960
|
pendingFillWarnings.set(form, []);
|
|
961
|
+
pendingWarnings.delete(form);
|
|
961
962
|
fillFormFields(form, params);
|
|
962
963
|
const missingNow = getMissingRequired(metadata, params);
|
|
963
964
|
if (missingNow.length > 0)
|