mcp-scraper 0.3.7 → 0.3.8

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 (34) hide show
  1. package/README.md +3 -3
  2. package/dist/bin/api-server.cjs +2 -2
  3. package/dist/bin/api-server.cjs.map +1 -1
  4. package/dist/bin/api-server.js +1 -1
  5. package/dist/bin/browser-agent-stdio-server.cjs +5 -5
  6. package/dist/bin/browser-agent-stdio-server.cjs.map +1 -1
  7. package/dist/bin/browser-agent-stdio-server.js +2 -2
  8. package/dist/bin/mcp-scraper-cli.cjs +3 -3
  9. package/dist/bin/mcp-scraper-cli.cjs.map +1 -1
  10. package/dist/bin/mcp-scraper-cli.js +3 -3
  11. package/dist/bin/mcp-scraper-cli.js.map +1 -1
  12. package/dist/bin/mcp-scraper-combined-stdio-server.cjs +6 -6
  13. package/dist/bin/mcp-scraper-combined-stdio-server.cjs.map +1 -1
  14. package/dist/bin/mcp-scraper-combined-stdio-server.js +3 -3
  15. package/dist/bin/mcp-scraper-install.cjs +1 -1
  16. package/dist/bin/mcp-scraper-install.cjs.map +1 -1
  17. package/dist/bin/mcp-scraper-install.js +1 -1
  18. package/dist/bin/mcp-stdio-server.cjs +2 -2
  19. package/dist/bin/mcp-stdio-server.cjs.map +1 -1
  20. package/dist/bin/mcp-stdio-server.js +2 -2
  21. package/dist/chunk-7I6PA2UQ.js +7 -0
  22. package/dist/chunk-7I6PA2UQ.js.map +1 -0
  23. package/dist/{chunk-2O7RAK6E.js → chunk-FU3WERZ7.js} +3 -3
  24. package/dist/{chunk-2O7RAK6E.js.map → chunk-FU3WERZ7.js.map} +1 -1
  25. package/dist/{chunk-IWNLHCKA.js → chunk-VQFVA6RH.js} +6 -6
  26. package/dist/chunk-VQFVA6RH.js.map +1 -0
  27. package/dist/{server-HRVD52CX.js → server-7CGBJWJY.js} +3 -3
  28. package/docs/mcp-tool-craft-lint.generated.md +1 -1
  29. package/docs/mcp-tool-manifest.generated.json +10 -10
  30. package/package.json +1 -1
  31. package/dist/chunk-2NEVRPK3.js +0 -7
  32. package/dist/chunk-2NEVRPK3.js.map +0 -1
  33. package/dist/chunk-IWNLHCKA.js.map +0 -1
  34. /package/dist/{server-HRVD52CX.js.map → server-7CGBJWJY.js.map} +0 -0
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  buildBrowserAgentMcpServer
4
- } from "../chunk-IWNLHCKA.js";
4
+ } from "../chunk-VQFVA6RH.js";
5
5
  import "../chunk-WN7PBKMV.js";
6
- import "../chunk-2NEVRPK3.js";
6
+ import "../chunk-7I6PA2UQ.js";
7
7
 
8
8
  // bin/browser-agent-stdio-server.ts
9
9
  import { readFileSync } from "fs";
@@ -8,7 +8,7 @@ var import_promises4 = require("fs/promises");
8
8
  var import_node_path3 = require("path");
9
9
 
10
10
  // src/version.ts
11
- var PACKAGE_VERSION = "0.3.7";
11
+ var PACKAGE_VERSION = "0.3.8";
12
12
 
13
13
  // src/cli/agent-config.ts
14
14
  function apiKeyValue(options) {
@@ -2126,7 +2126,7 @@ function addWorkflowInputOptions(command) {
2126
2126
  function buildHumanCli() {
2127
2127
  const program = new import_commander.Command();
2128
2128
  program.name("mcp-scraper-cli").description("Human CLI for MCP Scraper setup, workflows, reports, and agent-ready SEO artifacts.").version(PACKAGE_VERSION);
2129
- program.command("doctor").description("Check local setup, API key, output directory, package version, and recommended MCP config.").option("--api-key <key>", "MCP Scraper API key").option("--api-url <url>", "MCP Scraper API URL", "https://mcpscraper.dev").option("--output-dir <path>", "Output directory to test").option("--json", "Print machine-readable JSON").action(async (opts) => {
2129
+ program.command("doctor").description("Check setup, API key, output directory, package version, and recommended MCP config.").option("--api-key <key>", "MCP Scraper API key").option("--api-url <url>", "MCP Scraper API URL", "https://mcpscraper.dev").option("--output-dir <path>", "Output directory to test").option("--json", "Print machine-readable JSON").action(async (opts) => {
2130
2130
  const output = await runDoctor({ apiKey: opts.apiKey, apiUrl: opts.apiUrl, outputDir: opts.outputDir });
2131
2131
  writeOutput(opts.json ? output : renderDoctor(output), opts.json);
2132
2132
  if (!output.ok) process.exitCode = 1;
@@ -2160,7 +2160,7 @@ function buildHumanCli() {
2160
2160
  ].join("\n"), false);
2161
2161
  });
2162
2162
  const agent = program.command("agent").description("Generate AI-agent install configs and workflow prompts.");
2163
- agent.command("install <host>").description("Print or apply install/config instructions for codex, claude/claude-code, or claude-desktop.").option("--api-key <key>", "API key to place in generated config").option("--package <spec>", "npm package spec", "mcp-scraper@latest").option("--browser-profile <name>", "Default saved browser profile for browser_open sessions.").option("--save-browser-profile-changes", "Persist cookies/local storage back to the named browser profile when sessions close").option("--apply", "Apply the config to the local client when supported. For Claude Code, this upserts the user-scope mcp-scraper server.").option("--json", "Print machine-readable JSON").action(async (hostInput, opts) => {
2163
+ agent.command("install <host>").description("Print or apply install/config instructions for codex, claude/claude-code, or claude-desktop.").option("--api-key <key>", "API key to place in generated config").option("--package <spec>", "npm package spec", "mcp-scraper@latest").option("--browser-profile <name>", "Default saved browser profile for browser_open sessions.").option("--save-browser-profile-changes", "Persist cookies and browser storage back to the named browser profile when sessions close").option("--apply", "Apply the config to this client when supported. For Claude Code, this upserts the user-scope mcp-scraper server.").option("--json", "Print machine-readable JSON").action(async (hostInput, opts) => {
2164
2164
  const host = normalizeAgentHost(hostInput);
2165
2165
  const apiKey = opts.apiKey ?? process.env.MCP_SCRAPER_API_KEY;
2166
2166
  if (opts.apply) {