mcp-scraper 0.44.0 → 0.44.2

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.
@@ -12,7 +12,7 @@ import {
12
12
  registerScheduledResultsMcpTools,
13
13
  registerSerpIntelligenceCaptureTools,
14
14
  resolveDeploymentProfile
15
- } from "../chunk-HH5CE5LP.js";
15
+ } from "../chunk-M27QGXUM.js";
16
16
  import "../chunk-2K74LVV7.js";
17
17
  import "../chunk-BBI7RGOT.js";
18
18
  import "../chunk-T5AFM4G5.js";
@@ -21,7 +21,7 @@ import {
21
21
  } from "../chunk-GRODXRUY.js";
22
22
  import {
23
23
  PACKAGE_VERSION
24
- } from "../chunk-RUDXFPKE.js";
24
+ } from "../chunk-OEW4VBS2.js";
25
25
  import "../chunk-X5WDJ7D7.js";
26
26
  import "../chunk-5UN33CGU.js";
27
27
  import "../chunk-5X7CJEK3.js";
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-T5AFM4G5.js";
22
22
  import {
23
23
  PACKAGE_VERSION
24
- } from "./chunk-RUDXFPKE.js";
24
+ } from "./chunk-OEW4VBS2.js";
25
25
  import {
26
26
  MC_PER_CREDIT
27
27
  } from "./chunk-X5WDJ7D7.js";
@@ -468,13 +468,13 @@ Multi-step orchestrations \u2014 prefer these over hand-chaining primitives when
468
468
  **get-local-sourcebook-contract**, then **prepare-local-sourcebook-write**, inspect every tag resolution,
469
469
  and call **validate-local-sourcebook-write**. Call **local-sourcebook-capture** only when validation returns
470
470
  \`valid:true\`.
471
- - A new capture creates an owner-scoped private draft and queues paid broad website, exact Maps place,
472
- maximum-accessible review, service-area, staff, and genuine-media acquisition. It does not publish.
473
- - Read progress and the compiled draft with **local_sourcebook_submission_status**. Revise an existing draft
474
- through **validate-local-sourcebook-write** and **local-sourcebook-capture** with its current \`baseRevision\`.
475
- Use **local_sourcebook_refresh** only when the owner intentionally wants to pay for a new acquisition pass.
476
- - The last approved revision remains public during refresh. Only an administrator can publish, reject, or
477
- unpublish a listing.
471
+ - A new capture queues paid broad website, exact Maps place, maximum-accessible review, service-area, staff,
472
+ and genuine-media acquisition. When compilation succeeds, that exact system-authored evidence revision
473
+ publishes automatically. Never supply owner-authored services, reviews, images, or other public claims.
474
+ - Read progress and the compiled record with **local_sourcebook_submission_status**. Use
475
+ **local_sourcebook_refresh** only when the owner intentionally wants to pay for a new acquisition pass.
476
+ - The last published revision remains public during refresh. Administrators can reject or unpublish an
477
+ exceptional record, but routine subscriber publication does not require administrator review.
478
478
 
479
479
  ## Notes
480
480
  - For current prices, balances, or limits, call \`credits_info\`. The public machine-readable rate contract is
@@ -5054,24 +5054,17 @@ var PrepareLocalSourcebookWriteInputSchema = {
5054
5054
  tagCandidates: z3.array(LocalSourcebookTagCandidateObjectSchema).max(20).optional()
5055
5055
  };
5056
5056
  var ValidateLocalSourcebookWriteInputSchema = {
5057
- identity: LocalSourcebookIdentityObjectSchema.optional().describe("New-listing identity returned by prepare-local-sourcebook-write."),
5058
- listing: z3.record(z3.string(), z3.unknown()).optional().describe("Complete replacement listing draft for an existing owner-scoped submission."),
5059
- submissionId: z3.string().trim().min(1).optional().describe("Existing owner-scoped submission being revised. Omit for a new capture."),
5060
- baseRevision: z3.number().int().min(1).optional().describe("Required current draft revision for an edit, preventing silent overwrites."),
5057
+ identity: LocalSourcebookIdentityObjectSchema.describe("New-listing identity returned by prepare-local-sourcebook-write. Evidence-bearing public fields are compiled by MCP Scraper and cannot be supplied here."),
5061
5058
  tagCandidates: z3.array(LocalSourcebookTagCandidateObjectSchema).max(20).optional(),
5062
5059
  tagDecisions: z3.array(LocalSourcebookTagDecisionObjectSchema).max(20).optional()
5063
5060
  };
5064
5061
  var LocalSourcebookCaptureInputSchema = {
5065
5062
  ...ValidateLocalSourcebookWriteInputSchema,
5066
- idempotencyKey: z3.string().trim().min(8).max(200).optional().describe("Stable retry key for a new capture. Required for new listings; omit only when revising an existing submissionId.")
5063
+ idempotencyKey: z3.string().trim().min(8).max(200).optional().describe("Stable retry key for a new capture. Required either here or in identity.")
5067
5064
  };
5068
5065
  var LocalSourcebookSubmissionStatusInputSchema = {
5069
5066
  submissionId: z3.string().trim().min(1).describe("The owner-scoped submission ID returned by local-sourcebook-capture.")
5070
5067
  };
5071
- var LocalSourcebookUpdateDraftInputSchema = {
5072
- submissionId: z3.string().trim().min(1),
5073
- payload: z3.record(z3.string(), z3.unknown()).describe("Complete replacement draft. The previous revision remains immutable in the audit history.")
5074
- };
5075
5068
  var LocalSourcebookRefreshInputSchema = {
5076
5069
  submissionId: z3.string().trim().min(1).describe("Owner-scoped listing submission to re-crawl and refresh.")
5077
5070
  };
@@ -7978,14 +7971,14 @@ function registerPaaExtractorMcpTools(server, executor, options = {}) {
7978
7971
  }, async (input) => executor.prepareLocalSourcebookWrite(input));
7979
7972
  server.registerTool("validate-local-sourcebook-write", {
7980
7973
  title: "Validate Local Sourcebook Write",
7981
- description: "Validate a proposed new listing or complete owner draft revision without writing it. Checks identity or listing completeness, canonical tags, tag decisions, and baseRevision requirements. Capture only when valid is true.",
7974
+ description: "Validate a proposed new listing identity without writing it. Checks business identity, canonical tags, and explicit tag decisions. Public facts are compiled from MCP Scraper evidence rather than accepted from the owner. Capture only when valid is true.",
7982
7975
  inputSchema: ValidateLocalSourcebookWriteInputSchema,
7983
7976
  outputSchema: recordOutputSchema("validate-local-sourcebook-write", LocalSourcebookOutputSchema),
7984
7977
  annotations: localPlanningToolAnnotations("Validate Local Sourcebook Write")
7985
7978
  }, async (input) => executor.validateLocalSourcebookWrite(input));
7986
7979
  server.registerTool("local-sourcebook-capture", {
7987
7980
  title: "Capture Governed Local Sourcebook Listing",
7988
- description: "Strict owner-scoped write path after list, contract, prepare, and validate. A new capture registers canonical tags and queues paid website, exact-place, review, service-area, staff, and genuine-media acquisition. An edit requires the current baseRevision. Capture never publishes; admin review remains required.",
7981
+ description: "Strict owner-scoped write path after list, contract, prepare, and validate. Capture registers canonical tags and queues paid website, exact-place, review, service-area, staff, and genuine-media acquisition. A successful system-compiled evidence revision publishes automatically; owner-authored public claims are not accepted.",
7989
7982
  inputSchema: LocalSourcebookCaptureInputSchema,
7990
7983
  outputSchema: recordOutputSchema("local-sourcebook-capture", LocalSourcebookOutputSchema),
7991
7984
  annotations: liveWebToolAnnotations("Capture Governed Local Sourcebook Listing")
@@ -7999,7 +7992,7 @@ function registerPaaExtractorMcpTools(server, executor, options = {}) {
7999
7992
  }, async (input) => executor.localSourcebookSubmissionStatus(input));
8000
7993
  server.registerTool("local_sourcebook_refresh", {
8001
7994
  title: "Refresh a Local Sourcebook Listing",
8002
- description: "Queue a new broad crawl and review/media acquisition pass for a listing owned by the authenticated MCP Scraper account.",
7995
+ description: "Queue a new broad crawl and review/media acquisition pass for a listing owned by the authenticated MCP Scraper account. The last published revision remains public until the refreshed evidence revision completes and auto-publishes.",
8003
7996
  inputSchema: LocalSourcebookRefreshInputSchema,
8004
7997
  outputSchema: recordOutputSchema("local_sourcebook_refresh", LocalSourcebookOutputSchema),
8005
7998
  annotations: liveWebToolAnnotations("Refresh a Local Sourcebook Listing")
@@ -8592,9 +8585,6 @@ var HttpMcpToolExecutor = class {
8592
8585
  localSourcebookSubmissionStatus(input) {
8593
8586
  return this.getJson(`/local-sourcebook/submissions/${encodeURIComponent(input.submissionId)}`);
8594
8587
  }
8595
- localSourcebookUpdateDraft(input) {
8596
- return this.call(`/local-sourcebook/submissions/${encodeURIComponent(input.submissionId)}/draft`, { payload: input.payload });
8597
- }
8598
8588
  localSourcebookRefresh(input) {
8599
8589
  return this.call(`/local-sourcebook/submissions/${encodeURIComponent(input.submissionId)}/refresh`, {});
8600
8590
  }
@@ -13246,4 +13236,4 @@ export {
13246
13236
  ScheduledResultsMcpExecutor,
13247
13237
  registerScheduledResultsMcpTools
13248
13238
  };
13249
- //# sourceMappingURL=chunk-HH5CE5LP.js.map
13239
+ //# sourceMappingURL=chunk-M27QGXUM.js.map