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.esm.js
CHANGED
|
@@ -410,7 +410,7 @@ function inferToolDescription(form) {
|
|
|
410
410
|
const heading = getNearestHeadingText(form);
|
|
411
411
|
const pageTitle = document.title?.trim();
|
|
412
412
|
if (heading && pageTitle)
|
|
413
|
-
return `${heading}
|
|
413
|
+
return `${heading}: ${pageTitle}`;
|
|
414
414
|
if (heading)
|
|
415
415
|
return heading;
|
|
416
416
|
if (pageTitle)
|
|
@@ -939,6 +939,7 @@ function buildExecuteHandler(form, config, toolName, metadata) {
|
|
|
939
939
|
attachSubmitInterceptor(form, toolName);
|
|
940
940
|
return async (params) => {
|
|
941
941
|
pendingFillWarnings.set(form, []);
|
|
942
|
+
pendingWarnings.delete(form);
|
|
942
943
|
fillFormFields(form, params);
|
|
943
944
|
const missingNow = getMissingRequired(metadata, params);
|
|
944
945
|
if (missingNow.length > 0)
|