mcp-scraper 0.42.0 → 0.42.1

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/README.md CHANGED
@@ -90,7 +90,7 @@ Build the branded one-click bundle:
90
90
  npm run build:mcpb
91
91
  ```
92
92
 
93
- The generated bundle is written to `build/mcpb/mcp-scraper-<version>.mcpb` and copied to `public/downloads/` for the hosted download. The current public bundle is `https://mcpscraper.dev/downloads/mcp-scraper.mcpb` (`0.42.0`, SHA-256 `490bbeee976538c5f92c1769d1bd30d6dd51d1516de5d5aaaba8be12083e37dc`). Install it by opening or dragging it into Claude Desktop. Claude displays the `MCP Scraper` install card, icon, and API-key configuration field from the bundle manifest.
93
+ The generated bundle is written to `build/mcpb/mcp-scraper-<version>.mcpb` and copied to `public/downloads/` for the hosted download. The current public bundle is `https://mcpscraper.dev/downloads/mcp-scraper.mcpb` (`0.42.1`, SHA-256 `7171e68b6cc66b7eb6367b9248c255be6ed5eaa0ae0859b55bf750bcf70f2a78`). Install it by opening or dragging it into Claude Desktop. Claude displays the `MCP Scraper` install card, icon, and API-key configuration field from the bundle manifest.
94
94
 
95
95
  The MCPB install exposes every tool — web-intelligence plus all `browser_*` tools — through the one `mcp-scraper` server.
96
96
 
@@ -39227,7 +39227,7 @@ var PACKAGE_VERSION;
39227
39227
  var init_version = __esm({
39228
39228
  "src/version.ts"() {
39229
39229
  "use strict";
39230
- PACKAGE_VERSION = "0.42.0";
39230
+ PACKAGE_VERSION = "0.42.1";
39231
39231
  }
39232
39232
  });
39233
39233
 
@@ -55091,7 +55091,7 @@ var init_scheduled_result_routes = __esm({
55091
55091
  }
55092
55092
  const { key, error } = await memoryContext(c);
55093
55093
  if (!key) return c.json(apiError(error ?? "Memory is unavailable.", "internal_error"), 503);
55094
- const result = await memoryCall("listArtifactTemplatesTool", { status }, key);
55094
+ const result = await memoryCall("list_artifact_templates", { status }, key);
55095
55095
  if (!result.ok) return c.json(safeMemoryFailure(result), memoryStatus(result));
55096
55096
  c.header("Cache-Control", "private, no-store");
55097
55097
  return c.json({
@@ -55104,7 +55104,7 @@ var init_scheduled_result_routes = __esm({
55104
55104
  if (!parsed.success) return c.json(apiError("The artifact template is invalid."), 400);
55105
55105
  const { key, error } = await memoryContext(c);
55106
55106
  if (!key) return c.json(apiError(error ?? "Memory is unavailable.", "internal_error"), 503);
55107
- const result = await memoryCall("createArtifactTemplateTool", parsed.data, key);
55107
+ const result = await memoryCall("create_artifact_template", parsed.data, key);
55108
55108
  return c.json(result.ok ? result : safeMemoryFailure(result), result.ok ? 201 : memoryStatus(result));
55109
55109
  });
55110
55110
  scheduledResultApp.get("/artifact-templates/:templateId", async (c) => {
@@ -55112,7 +55112,7 @@ var init_scheduled_result_routes = __esm({
55112
55112
  if (!params.success) return c.json(apiError("The template id is invalid."), 400);
55113
55113
  const { key, error } = await memoryContext(c);
55114
55114
  if (!key) return c.json(apiError(error ?? "Memory is unavailable.", "internal_error"), 503);
55115
- const result = await memoryCall("getArtifactTemplateTool", params.data, key);
55115
+ const result = await memoryCall("get_artifact_template", params.data, key);
55116
55116
  c.header("Cache-Control", "private, no-store");
55117
55117
  return c.json(result.ok ? result : safeMemoryFailure(result), result.ok ? 200 : memoryStatus(result));
55118
55118
  });
@@ -55122,7 +55122,7 @@ var init_scheduled_result_routes = __esm({
55122
55122
  if (!params.success || !body.success) return c.json(apiError("The template update is invalid."), 400);
55123
55123
  const { key, error } = await memoryContext(c);
55124
55124
  if (!key) return c.json(apiError(error ?? "Memory is unavailable.", "internal_error"), 503);
55125
- const result = await memoryCall("updateArtifactTemplateTool", { ...params.data, ...body.data }, key);
55125
+ const result = await memoryCall("update_artifact_template", { ...params.data, ...body.data }, key);
55126
55126
  return c.json(result.ok ? result : safeMemoryFailure(result), result.ok ? 200 : memoryStatus(result));
55127
55127
  });
55128
55128
  for (const [path6, archived] of [["archive", true], ["restore", false]]) {
@@ -55131,7 +55131,7 @@ var init_scheduled_result_routes = __esm({
55131
55131
  if (!params.success) return c.json(apiError("The template id is invalid."), 400);
55132
55132
  const { key, error } = await memoryContext(c);
55133
55133
  if (!key) return c.json(apiError(error ?? "Memory is unavailable.", "internal_error"), 503);
55134
- const result = await memoryCall("archiveArtifactTemplateTool", { ...params.data, archived }, key);
55134
+ const result = await memoryCall("archive_artifact_template", { ...params.data, archived }, key);
55135
55135
  return c.json(result.ok ? result : safeMemoryFailure(result), result.ok ? 200 : memoryStatus(result));
55136
55136
  });
55137
55137
  }
@@ -55140,7 +55140,7 @@ var init_scheduled_result_routes = __esm({
55140
55140
  if (!parsed.success) return c.json(apiError("The scheduled result filters are invalid."), 400);
55141
55141
  const { key, error } = await memoryContext(c);
55142
55142
  if (!key) return c.json(apiError(error ?? "Memory is unavailable.", "internal_error"), 503);
55143
- const result = await memoryCall("listScheduledRunsTool", parsed.data, key);
55143
+ const result = await memoryCall("list_scheduled_runs", parsed.data, key);
55144
55144
  c.header("Cache-Control", "private, no-store");
55145
55145
  return c.json(result.ok ? result : safeMemoryFailure(result), result.ok ? 200 : memoryStatus(result));
55146
55146
  });
@@ -55149,15 +55149,15 @@ var init_scheduled_result_routes = __esm({
55149
55149
  if (!params.success) return c.json(apiError("The run id is invalid."), 400);
55150
55150
  const { key, error } = await memoryContext(c);
55151
55151
  if (!key) return c.json(apiError(error ?? "Memory is unavailable.", "internal_error"), 503);
55152
- const result = await memoryCall("getScheduledRunTool", params.data, key);
55152
+ const result = await memoryCall("get_scheduled_run", params.data, key);
55153
55153
  c.header("Cache-Control", "private, no-store");
55154
55154
  return c.json(result.ok ? result : safeMemoryFailure(result), result.ok ? 200 : memoryStatus(result));
55155
55155
  });
55156
55156
  for (const [path6, upstreamName, input] of [
55157
- ["open", "markScheduledRunOpenedTool", {}],
55158
- ["unopen", "markScheduledRunUnopenedTool", {}],
55159
- ["archive", "archiveScheduledRunTool", { archived: true }],
55160
- ["restore", "archiveScheduledRunTool", { archived: false }]
55157
+ ["open", "mark_scheduled_run_opened", {}],
55158
+ ["unopen", "mark_scheduled_run_unopened", {}],
55159
+ ["archive", "archive_scheduled_run", { archived: true }],
55160
+ ["restore", "archive_scheduled_run", { archived: false }]
55161
55161
  ]) {
55162
55162
  scheduledResultApp.post(`/schedule-runs/:runId/${path6}`, async (c) => {
55163
55163
  const params = RunParamsSchema.safeParse(c.req.param());
@@ -55175,7 +55175,7 @@ var init_scheduled_result_routes = __esm({
55175
55175
  if (!params.success || !body.success) return c.json(apiError("The view-link request is invalid."), 400);
55176
55176
  const { user, key, error } = await memoryContext(c);
55177
55177
  if (!key) return c.json(apiError(error ?? "Memory is unavailable.", "internal_error"), 503);
55178
- const rawResult = await memoryCall("getScheduledRunTool", params.data, key);
55178
+ const rawResult = await memoryCall("get_scheduled_run", params.data, key);
55179
55179
  const result = GetScheduledRunResponseSchema.safeParse(rawResult);
55180
55180
  if (!result.success) return c.json(apiError("The scheduled result was not found.", "not_found"), 404);
55181
55181
  const artifact = result.data.run.artifactOutputs.find((output) => output.artifactId === body.data.artifactId);