mcp-scraper 0.3.8 → 0.3.9

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.
Files changed (32) hide show
  1. package/dist/bin/api-server.cjs +8 -3
  2. package/dist/bin/api-server.cjs.map +1 -1
  3. package/dist/bin/api-server.js +1 -1
  4. package/dist/bin/browser-agent-stdio-server.cjs +5 -8
  5. package/dist/bin/browser-agent-stdio-server.cjs.map +1 -1
  6. package/dist/bin/browser-agent-stdio-server.js +2 -2
  7. package/dist/bin/mcp-scraper-cli.cjs +1 -1
  8. package/dist/bin/mcp-scraper-cli.cjs.map +1 -1
  9. package/dist/bin/mcp-scraper-cli.js +1 -1
  10. package/dist/bin/mcp-scraper-combined-stdio-server.cjs +5 -8
  11. package/dist/bin/mcp-scraper-combined-stdio-server.cjs.map +1 -1
  12. package/dist/bin/mcp-scraper-combined-stdio-server.js +3 -3
  13. package/dist/bin/mcp-scraper-install.cjs +1 -1
  14. package/dist/bin/mcp-scraper-install.cjs.map +1 -1
  15. package/dist/bin/mcp-scraper-install.js +1 -1
  16. package/dist/bin/mcp-stdio-server.cjs +1 -1
  17. package/dist/bin/mcp-stdio-server.cjs.map +1 -1
  18. package/dist/bin/mcp-stdio-server.js +2 -2
  19. package/dist/chunk-7VNTN4Q7.js +7 -0
  20. package/dist/chunk-7VNTN4Q7.js.map +1 -0
  21. package/dist/{chunk-VQFVA6RH.js → chunk-BRUVQRJK.js} +6 -9
  22. package/dist/chunk-BRUVQRJK.js.map +1 -0
  23. package/dist/{chunk-FU3WERZ7.js → chunk-KDKQ5Y7V.js} +2 -2
  24. package/dist/{server-7CGBJWJY.js → server-ZSHE4R5Z.js} +10 -5
  25. package/dist/{server-7CGBJWJY.js.map → server-ZSHE4R5Z.js.map} +1 -1
  26. package/docs/mcp-tool-craft-lint.generated.md +1 -1
  27. package/docs/mcp-tool-manifest.generated.json +1 -1
  28. package/package.json +1 -1
  29. package/dist/chunk-7I6PA2UQ.js +0 -7
  30. package/dist/chunk-7I6PA2UQ.js.map +0 -1
  31. package/dist/chunk-VQFVA6RH.js.map +0 -1
  32. /package/dist/{chunk-FU3WERZ7.js.map → chunk-KDKQ5Y7V.js.map} +0 -0
@@ -10,7 +10,7 @@ import {
10
10
  import "../chunk-LFATOGDF.js";
11
11
  import {
12
12
  PACKAGE_VERSION
13
- } from "../chunk-7I6PA2UQ.js";
13
+ } from "../chunk-7VNTN4Q7.js";
14
14
 
15
15
  // src/cli/human-cli.ts
16
16
  import { Command } from "commander";
@@ -270,7 +270,7 @@ function browserServiceProfileSaveChanges() {
270
270
  }
271
271
 
272
272
  // src/version.ts
273
- var PACKAGE_VERSION = "0.3.8";
273
+ var PACKAGE_VERSION = "0.3.9";
274
274
 
275
275
  // src/mcp/browser-agent-tool-schemas.ts
276
276
  var import_zod = require("zod");
@@ -993,12 +993,11 @@ function registerBrowserAgentMcpTools(server2, opts) {
993
993
  profile,
994
994
  save_profile_changes: true,
995
995
  disable_default_proxy: true,
996
- timeout_seconds: input.timeout_seconds
996
+ timeout_seconds: input.timeout_seconds,
997
+ url: setupUrl
997
998
  });
998
999
  if (!open.ok) return errorResult("browser_profile_onboard", open.data);
999
1000
  const session = open.data;
1000
- const goto = await req("POST", `/agent/sessions/${session.session_id}/goto`, { url: setupUrl });
1001
- if (!goto.ok) return errorResult("browser_profile_onboard", goto.data, session.session_id);
1002
1001
  return structuredResult({
1003
1002
  ok: true,
1004
1003
  tool: "browser_profile_onboard",
@@ -1035,13 +1034,11 @@ function registerBrowserAgentMcpTools(server2, opts) {
1035
1034
  ...profile ? { profile } : {},
1036
1035
  ...profile && typeof saveProfileChanges === "boolean" ? { save_profile_changes: saveProfileChanges } : {},
1037
1036
  disable_default_proxy: true,
1038
- timeout_seconds: input.timeout_seconds
1037
+ timeout_seconds: input.timeout_seconds,
1038
+ ...input.url ? { url: input.url } : {}
1039
1039
  });
1040
1040
  if (!open.ok) return errorResult("browser_open", open.data);
1041
1041
  const session = open.data;
1042
- if (input.url) {
1043
- await req("POST", `/agent/sessions/${session.session_id}/goto`, { url: input.url });
1044
- }
1045
1042
  return structuredResult({
1046
1043
  ok: true,
1047
1044
  tool: "browser_open",