mcp-scraper 0.58.0 → 0.60.0

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.
@@ -13,7 +13,7 @@ import {
13
13
  registerScheduledResultsMcpTools,
14
14
  registerSerpIntelligenceCaptureTools,
15
15
  resolveDeploymentProfile
16
- } from "../chunk-P32KEY3D.js";
16
+ } from "../chunk-AIA3MFT2.js";
17
17
  import "../chunk-2K74LVV7.js";
18
18
  import "../chunk-4PNMJUSG.js";
19
19
  import "../chunk-AK2NNIYA.js";
@@ -22,7 +22,7 @@ import {
22
22
  } from "../chunk-IMBMDZUO.js";
23
23
  import {
24
24
  PACKAGE_VERSION
25
- } from "../chunk-EJ6KU4PC.js";
25
+ } from "../chunk-AQA2ZL4X.js";
26
26
  import "../chunk-2U2ZDDSI.js";
27
27
  import "../chunk-NDIAJIKQ.js";
28
28
  import "../chunk-KSAXVGKC.js";
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-AK2NNIYA.js";
22
22
  import {
23
23
  PACKAGE_VERSION
24
- } from "./chunk-EJ6KU4PC.js";
24
+ } from "./chunk-AQA2ZL4X.js";
25
25
  import {
26
26
  MC_PER_CREDIT,
27
27
  PAA_BASE_CREDITS,
@@ -6194,6 +6194,7 @@ var LocationMarketsInputSchema = {
6194
6194
  includeZipGroups: z5.boolean().default(true).describe("Include ZIP and county groups from the active hosted ZIP dataset.")
6195
6195
  };
6196
6196
  var CommonsSearchEntitiesInputSchema = {
6197
+ mode: z5.enum(["lexical", "semantic", "hybrid"]).optional().describe("Retrieval mode. hybrid (default) fuses meaning-based candidates with exact term matching; lexical matches terms only, which is what you want when the caller quoted an exact name or phrase; semantic ignores term matching entirely."),
6197
6198
  query: z5.string().trim().max(300).optional().describe("Search text matched against title, description, tags, keywords, JSON-LD, source metadata, citations, media, and article body."),
6198
6199
  entityType: z5.string().trim().max(120).optional().describe('Optional entity type filter. "Public Article", "PublicArticle", "Article", and "item" normalize to PublicArticle.'),
6199
6200
  tag: z5.string().trim().max(80).optional().describe("Single canonical tag filter. Use tags for multiple tags."),
@@ -9782,7 +9783,7 @@ function registerPaaExtractorMcpTools(server, executor, options = {}) {
9782
9783
  }, async (input) => formatG2Reviews(await executor.g2Reviews(input), input));
9783
9784
  server.registerTool("commons_search_entities", {
9784
9785
  title: "Transparent Commons Entity Search",
9785
- description: "Search the Transparent Commons public wiki graph using the same fields the public /wiki/ frontend uses: title, description, tags, keywords, JSON-LD, article body, citations, media, source metadata, related entities, trails, and saved account filters. This reads published Commons entities only.",
9786
+ description: "Search the Transparent Commons public wiki graph. Hybrid by default: meaning-based candidates fused with exact matching over title, description, tags, keywords, JSON-LD, body, citations, media, source metadata, related entities, trails, and saved filters, ranked title-first. Set mode:lexical for a quoted exact name or phrase. Reads published Commons entities only; never a personal Memory vault.",
9786
9787
  inputSchema: CommonsSearchEntitiesInputSchema,
9787
9788
  outputSchema: recordOutputSchema("commons_search_entities", CommonsGenericOutputSchema),
9788
9789
  annotations: {
@@ -9860,7 +9861,7 @@ function registerPaaExtractorMcpTools(server, executor, options = {}) {
9860
9861
  }, async (input) => executor.commonsValidateEntity(input));
9861
9862
  server.registerTool("commons_submit_entity", {
9862
9863
  title: "Transparent Commons Governed Entity Write",
9863
- description: "Create or propose an edit to a Transparent Commons public wiki entity through the governed MCP Scraper write plane. A new entity costs 10 Credits; an edit to an existing entity costs 2 Credits. Preparation and validation are free, and idempotent retries are not charged twice. This never edits rendered HTML directly. Normal workflow is commons_prepare_entity, compose, commons_validate_entity, then submit. Choose a precise entityType and write a neutral encyclopedia projection with the matching entity structure, not a blog article or raw scrape dump. Use H2 sections and H3/H4/H5 subitems; every heading appears in the public page menu. Omit unsupported sections instead of publishing empty/filler headings. Transparent Commons is an open wiki: any account may edit any entity, and every edit publishes and is recorded on the public contribution ledger. Publishing requires a featured image and body/source evidence. Pass baseRevision when editing so the ledger can show whether the edit was written on top of a newer revision. Requires idempotencyKey.",
9864
+ description: "Create or propose an edit to a Transparent Commons public wiki entity through the governed MCP Scraper write plane. A new entity costs 10 Credits; an edit to an existing entity costs 2 Credits. Preparation and validation are free, and idempotent retries are not charged twice. This never edits rendered HTML directly. Normal workflow is commons_prepare_entity, compose, commons_validate_entity, then submit. commons_prepare_entity returns the entity profile contract and section guidance to compose against. Transparent Commons is an open wiki: any account may edit any entity, and every edit publishes and is recorded on the public contribution ledger. Publishing requires a featured image and body/source evidence. Pass baseRevision when editing so the ledger can show whether the edit was written on top of a newer revision. Requires idempotencyKey.",
9864
9865
  inputSchema: CommonsSubmitEntityInputSchema,
9865
9866
  outputSchema: recordOutputSchema("commons_submit_entity", CommonsGenericOutputSchema),
9866
9867
  annotations: {
@@ -9886,7 +9887,7 @@ function registerPaaExtractorMcpTools(server, executor, options = {}) {
9886
9887
  }, async (input) => executor.commonsGetEntityLedger(input));
9887
9888
  server.registerTool("commons_host_image", {
9888
9889
  title: "Host a Transparent Commons Image",
9889
- description: "Download an image from a public https URL, or accept base64 bytes, and store it as a permanent Commons-hosted image. Returns the hosted URL to use on an entity. Commons never serves a third-party image URL: submitting an entity with an external image hosts it automatically, and this tool exists for hosting an image before or independently of a write. JPEG, PNG, GIF, and WebP up to 10 MB; SVG is rejected because the wiki serves images to the public web. Identical bytes are stored once and reused.",
9890
+ description: "Host an image from a public https URL or base64 bytes, returning a permanent Commons URL. Commons never serves a third-party image URL \u2014 commons_submit_entity hosts external images automatically, so use this only to host one before or independently of a write. JPEG, PNG, GIF, WebP up to 10 MB; SVG rejected. Identical bytes are stored once.",
9890
9891
  inputSchema: CommonsHostImageInputSchema,
9891
9892
  outputSchema: recordOutputSchema("commons_host_image", CommonsGenericOutputSchema),
9892
9893
  annotations: {
@@ -9966,7 +9967,7 @@ function registerPaaExtractorMcpTools(server, executor, options = {}) {
9966
9967
  }, async (input) => executor.commonsPublishEditorial(input));
9967
9968
  server.registerTool("commons_update_editorial_article", {
9968
9969
  title: "Edit One Transparent Commons Article",
9969
- description: "Replace the Markdown of a single article in a published edition without resupplying the others. The edition already stores every article\u2019s source, so this reads them, swaps the one you name, re-renders, and publishes the next revision with the rest byte-identical. Use commons_get_publication with includeArticles to read current sources and the revision first; commons_publish_editorial remains the full-replace path for a wholesale rewrite. Requires baseRevision and idempotencyKey.",
9970
+ description: "Replace the Markdown of one article in a published edition without resupplying the others: it reads the stored sources, swaps the article you name, and publishes the next revision with the rest byte-identical. Read commons_get_publication with includeArticles first for the current source and revision. commons_publish_editorial is the full-replace path. Requires baseRevision and idempotencyKey.",
9970
9971
  inputSchema: CommonsUpdateEditorialArticleInputSchema,
9971
9972
  outputSchema: recordOutputSchema("commons_update_editorial_article", CommonsGenericOutputSchema),
9972
9973
  annotations: { title: "Edit One Transparent Commons Article", readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true }
@@ -10040,7 +10041,7 @@ function registerPaaExtractorMcpTools(server, executor, options = {}) {
10040
10041
  }, async (input) => executor.localSourcebookCapture(input));
10041
10042
  server.registerTool("local_sourcebook_submission_status", {
10042
10043
  title: "Local Sourcebook Submission Status",
10043
- description: "Read the authenticated caller\u2019s listing draft, enrichment coverage, immutable revision number, publication state, and exact live LocalSourcebook.com profile and reviews URLs. When status is failed, acquisitionError states why in plain language \u2014 read it before retrying, because a refresh repeats the same acquisition and will fail the same way until the cause is fixed. Coverage counters are written only when acquisition succeeds, so a failed listing still shows the pre-run crawl block; zeroed counters do not mean the crawl never ran.",
10044
+ description: "Read the caller\u2019s listing draft, enrichment coverage, revision number, publication state, and live LocalSourcebook.com profile and reviews URLs. When status is failed, acquisitionError says why \u2014 read it before retrying, since a refresh repeats the same acquisition. Coverage counters are written only on success, so zeroed counters on a failed listing do not mean the crawl never ran.",
10044
10045
  inputSchema: LocalSourcebookSubmissionStatusInputSchema,
10045
10046
  outputSchema: recordOutputSchema("local_sourcebook_submission_status", LocalSourcebookOutputSchema),
10046
10047
  annotations: localPlanningToolAnnotations("Local Sourcebook Submission Status")
@@ -16000,4 +16001,4 @@ export {
16000
16001
  ScheduledResultsMcpExecutor,
16001
16002
  registerScheduledResultsMcpTools
16002
16003
  };
16003
- //# sourceMappingURL=chunk-P32KEY3D.js.map
16004
+ //# sourceMappingURL=chunk-AIA3MFT2.js.map