mcpscraper-cli 0.24.0 → 0.24.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.
Files changed (2) hide show
  1. package/dist/bin/cli.js +17 -49
  2. package/package.json +2 -2
package/dist/bin/cli.js CHANGED
@@ -9,7 +9,7 @@ import { join } from "path";
9
9
  import { ScraperClient, ScraperApiError } from "mcpscraper-sdk";
10
10
 
11
11
  // src/version.ts
12
- var CLI_VERSION = "0.24.0";
12
+ var CLI_VERSION = "0.24.1";
13
13
 
14
14
  // src/generated-tools.ts
15
15
  var MCP_TOOL_CATALOG = [
@@ -3758,13 +3758,12 @@ var MCP_TOOL_CATALOG = [
3758
3758
  "name": "validate-local-sourcebook-write",
3759
3759
  "category": "directory",
3760
3760
  "title": "Validate Local Sourcebook Write",
3761
- "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.",
3761
+ "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.",
3762
3762
  "inputSchema": {
3763
3763
  "type": "object",
3764
3764
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3765
3765
  "properties": {
3766
3766
  "identity": {
3767
- "description": "New-listing identity returned by prepare-local-sourcebook-write.",
3768
3767
  "type": "object",
3769
3768
  "properties": {
3770
3769
  "category": {
@@ -3820,26 +3819,8 @@ var MCP_TOOL_CATALOG = [
3820
3819
  "businessName",
3821
3820
  "websiteUrl",
3822
3821
  "idempotencyKey"
3823
- ]
3824
- },
3825
- "listing": {
3826
- "description": "Complete replacement listing draft for an existing owner-scoped submission.",
3827
- "type": "object",
3828
- "propertyNames": {
3829
- "type": "string"
3830
- },
3831
- "additionalProperties": {}
3832
- },
3833
- "submissionId": {
3834
- "description": "Existing owner-scoped submission being revised. Omit for a new capture.",
3835
- "type": "string",
3836
- "minLength": 1
3837
- },
3838
- "baseRevision": {
3839
- "description": "Required current draft revision for an edit, preventing silent overwrites.",
3840
- "type": "integer",
3841
- "minimum": 1,
3842
- "maximum": 9007199254740991
3822
+ ],
3823
+ "description": "New-listing identity returned by prepare-local-sourcebook-write. Evidence-bearing public fields are compiled by MCP Scraper and cannot be supplied here."
3843
3824
  },
3844
3825
  "tagCandidates": {
3845
3826
  "maxItems": 20,
@@ -3904,7 +3885,10 @@ var MCP_TOOL_CATALOG = [
3904
3885
  ]
3905
3886
  }
3906
3887
  }
3907
- }
3888
+ },
3889
+ "required": [
3890
+ "identity"
3891
+ ]
3908
3892
  },
3909
3893
  "annotations": {
3910
3894
  "title": "Validate Local Sourcebook Write",
@@ -3918,13 +3902,12 @@ var MCP_TOOL_CATALOG = [
3918
3902
  "name": "local-sourcebook-capture",
3919
3903
  "category": "directory",
3920
3904
  "title": "Capture Governed Local Sourcebook Listing",
3921
- "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.",
3905
+ "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.",
3922
3906
  "inputSchema": {
3923
3907
  "type": "object",
3924
3908
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3925
3909
  "properties": {
3926
3910
  "identity": {
3927
- "description": "New-listing identity returned by prepare-local-sourcebook-write.",
3928
3911
  "type": "object",
3929
3912
  "properties": {
3930
3913
  "category": {
@@ -3980,26 +3963,8 @@ var MCP_TOOL_CATALOG = [
3980
3963
  "businessName",
3981
3964
  "websiteUrl",
3982
3965
  "idempotencyKey"
3983
- ]
3984
- },
3985
- "listing": {
3986
- "description": "Complete replacement listing draft for an existing owner-scoped submission.",
3987
- "type": "object",
3988
- "propertyNames": {
3989
- "type": "string"
3990
- },
3991
- "additionalProperties": {}
3992
- },
3993
- "submissionId": {
3994
- "description": "Existing owner-scoped submission being revised. Omit for a new capture.",
3995
- "type": "string",
3996
- "minLength": 1
3997
- },
3998
- "baseRevision": {
3999
- "description": "Required current draft revision for an edit, preventing silent overwrites.",
4000
- "type": "integer",
4001
- "minimum": 1,
4002
- "maximum": 9007199254740991
3966
+ ],
3967
+ "description": "New-listing identity returned by prepare-local-sourcebook-write. Evidence-bearing public fields are compiled by MCP Scraper and cannot be supplied here."
4003
3968
  },
4004
3969
  "tagCandidates": {
4005
3970
  "maxItems": 20,
@@ -4065,12 +4030,15 @@ var MCP_TOOL_CATALOG = [
4065
4030
  }
4066
4031
  },
4067
4032
  "idempotencyKey": {
4068
- "description": "Stable retry key for a new capture. Required for new listings; omit only when revising an existing submissionId.",
4033
+ "description": "Stable retry key for a new capture. Required either here or in identity.",
4069
4034
  "type": "string",
4070
4035
  "minLength": 8,
4071
4036
  "maxLength": 200
4072
4037
  }
4073
- }
4038
+ },
4039
+ "required": [
4040
+ "identity"
4041
+ ]
4074
4042
  },
4075
4043
  "annotations": {
4076
4044
  "title": "Capture Governed Local Sourcebook Listing",
@@ -4111,7 +4079,7 @@ var MCP_TOOL_CATALOG = [
4111
4079
  "name": "local_sourcebook_refresh",
4112
4080
  "category": "directory",
4113
4081
  "title": "Refresh a Local Sourcebook Listing",
4114
- "description": "Queue a new broad crawl and review/media acquisition pass for a listing owned by the authenticated MCP Scraper account.",
4082
+ "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.",
4115
4083
  "inputSchema": {
4116
4084
  "type": "object",
4117
4085
  "$schema": "https://json-schema.org/draft/2020-12/schema",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcpscraper-cli",
3
- "version": "0.24.0",
3
+ "version": "0.24.1",
4
4
  "description": "Command-line interface for mcpscraper.dev and memory.mcpscraper.dev",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "commander": "^12.0.0",
22
- "mcpscraper-sdk": "^0.25.0"
22
+ "mcpscraper-sdk": "^0.25.1"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/node": "^22.0.0"