mcp-scraper 0.20.0 → 0.21.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.
Files changed (50) hide show
  1. package/README.md +1 -1
  2. package/dist/bin/api-server.cjs +3184 -2649
  3. package/dist/bin/api-server.cjs.map +1 -1
  4. package/dist/bin/api-server.js +3 -3
  5. package/dist/bin/mcp-scraper-cli.cjs +1 -1
  6. package/dist/bin/mcp-scraper-cli.cjs.map +1 -1
  7. package/dist/bin/mcp-scraper-cli.js +1 -1
  8. package/dist/bin/mcp-scraper-install.cjs +1 -1
  9. package/dist/bin/mcp-scraper-install.cjs.map +1 -1
  10. package/dist/bin/mcp-scraper-install.js +1 -1
  11. package/dist/bin/mcp-stdio-server.cjs +14 -6
  12. package/dist/bin/mcp-stdio-server.cjs.map +1 -1
  13. package/dist/bin/mcp-stdio-server.js +5 -5
  14. package/dist/bin/paa-harvest.cjs.map +1 -1
  15. package/dist/bin/paa-harvest.js +3 -3
  16. package/dist/{chunk-22VEGGTW.js → chunk-DZBGULWW.js} +41 -1
  17. package/dist/chunk-DZBGULWW.js.map +1 -0
  18. package/dist/{chunk-UN7VMHZL.js → chunk-GMZFQRH2.js} +2 -2
  19. package/dist/{chunk-HL33CGJF.js → chunk-HXGZMMW5.js} +29 -2
  20. package/dist/chunk-HXGZMMW5.js.map +1 -0
  21. package/dist/{chunk-ZRKFW5FB.js → chunk-JBME5WJR.js} +2 -2
  22. package/dist/chunk-L4LMSXLO.js +7 -0
  23. package/dist/chunk-L4LMSXLO.js.map +1 -0
  24. package/dist/{chunk-EJK25QOW.js → chunk-TUSLATZY.js} +3 -3
  25. package/dist/{chunk-KE7KE2Q2.js → chunk-XHJJQRNQ.js} +12 -9
  26. package/dist/{chunk-KE7KE2Q2.js.map → chunk-XHJJQRNQ.js.map} +1 -1
  27. package/dist/{chunk-XDFSLSSH.js → chunk-ZJDANZTQ.js} +2 -2
  28. package/dist/{db-YHZYG7D2.js → db-EONGTNJM.js} +2 -2
  29. package/dist/{extract-bundle-OSUPAHCE.js → extract-bundle-HMCYUVBJ.js} +2 -2
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.js +3 -3
  32. package/dist/{server-VDWIPV7F.js → server-PH3VJ74X.js} +914 -449
  33. package/dist/server-PH3VJ74X.js.map +1 -0
  34. package/dist/{site-extract-repository-GWKGK46Z.js → site-extract-repository-YNPXEZCB.js} +4 -4
  35. package/dist/{worker-O5PZTTPY.js → worker-45WEWCMQ.js} +6 -6
  36. package/docs/mcp-tool-manifest.generated.json +17 -7
  37. package/package.json +2 -2
  38. package/dist/chunk-22VEGGTW.js.map +0 -1
  39. package/dist/chunk-HL33CGJF.js.map +0 -1
  40. package/dist/chunk-PZB3TJWK.js +0 -7
  41. package/dist/chunk-PZB3TJWK.js.map +0 -1
  42. package/dist/server-VDWIPV7F.js.map +0 -1
  43. /package/dist/{chunk-UN7VMHZL.js.map → chunk-GMZFQRH2.js.map} +0 -0
  44. /package/dist/{chunk-ZRKFW5FB.js.map → chunk-JBME5WJR.js.map} +0 -0
  45. /package/dist/{chunk-EJK25QOW.js.map → chunk-TUSLATZY.js.map} +0 -0
  46. /package/dist/{chunk-XDFSLSSH.js.map → chunk-ZJDANZTQ.js.map} +0 -0
  47. /package/dist/{db-YHZYG7D2.js.map → db-EONGTNJM.js.map} +0 -0
  48. /package/dist/{extract-bundle-OSUPAHCE.js.map → extract-bundle-HMCYUVBJ.js.map} +0 -0
  49. /package/dist/{site-extract-repository-GWKGK46Z.js.map → site-extract-repository-YNPXEZCB.js.map} +0 -0
  50. /package/dist/{worker-O5PZTTPY.js.map → worker-45WEWCMQ.js.map} +0 -0
@@ -12,17 +12,17 @@ import {
12
12
  browserServiceProfileSaveChanges,
13
13
  recordVendorUsage,
14
14
  vendorCostUsd
15
- } from "./chunk-UN7VMHZL.js";
15
+ } from "./chunk-GMZFQRH2.js";
16
16
  import {
17
17
  DEFAULT_MAPS_PROXY_MODE,
18
18
  DEFAULT_PROXY_MODE
19
19
  } from "./chunk-XGIPATLV.js";
20
20
  import {
21
21
  PACKAGE_VERSION
22
- } from "./chunk-PZB3TJWK.js";
22
+ } from "./chunk-L4LMSXLO.js";
23
23
  import {
24
24
  MC_PER_CREDIT
25
- } from "./chunk-HL33CGJF.js";
25
+ } from "./chunk-HXGZMMW5.js";
26
26
  import {
27
27
  sanitizeVendorName
28
28
  } from "./chunk-M2S27J6Z.js";
@@ -8837,7 +8837,7 @@ var TemporalRecallSchema = {
8837
8837
  var CreateScheduledActionSchema = {
8838
8838
  id: "create-scheduled-action",
8839
8839
  upstreamName: "createScheduledActionTool",
8840
- description: "Create a scheduled action in agent mode (default) or connection_sync mode. Agent mode asks an agent to follow the description and write a result into the target vault. connection_sync deterministically runs the approved read-only tools on bound service connections and ingests their data; it requires at least one connection to be bound before execution. Cadence 'once' runs a single time then completes permanently. Requires an active scheduling subscription and write access to the target vault.",
8840
+ description: "Create a Credit-metered scheduled action in agent mode (default) or connection_sync mode. Each execution has a 75-Credit base charge; agent model usage is added at 1.5 times OpenRouter's actual reported cost. Agent mode follows the description and writes a result into the target vault. connection_sync deterministically runs approved read-only tools on bound service connections and ingests their data. Cadence 'once' runs a single time then completes permanently. Requires write access to the target vault.",
8841
8841
  input: {
8842
8842
  description: z3.string().min(1).describe("Free-text description of what this action should do each time it runs."),
8843
8843
  vault: z3.string().min(1).describe("The vault this action writes its results into. You must already have write access to it."),
@@ -8853,7 +8853,7 @@ var CreateScheduledActionSchema = {
8853
8853
  nextRunAt: z3.string().optional().describe("When it will first run."),
8854
8854
  executionMode: z3.enum(["agent", "connection_sync"]).optional().describe("The stored execution mode. Defaults to agent when omitted from the request."),
8855
8855
  error: z3.string().optional().describe("Human-readable failure reason when ok is false."),
8856
- code: z3.string().optional().describe("Machine-readable denial code: not_enabled when no scheduling subscription is active.")
8856
+ code: z3.string().optional().describe("Machine-readable denial code when creation is refused.")
8857
8857
  },
8858
8858
  annotations: {
8859
8859
  title: "Create Scheduled Action",
@@ -8905,11 +8905,14 @@ var GetScheduleLinkSchema = {
8905
8905
  var GetScheduleStatusSchema = {
8906
8906
  id: "get-schedule-status",
8907
8907
  upstreamName: "getScheduleStatusTool",
8908
- description: "Get your own Scheduled Actions subscription status: whether it is active, your monthly quota, and how much you have used this period.",
8908
+ description: "Get the Credit-metered Scheduled Actions policy. Scheduling is included rather than sold as a separate subscription: each execution has a 75-Credit base charge, and agent model usage is billed at 1.5 times OpenRouter's actual reported cost.",
8909
8909
  input: {},
8910
8910
  output: {
8911
8911
  ok: z3.boolean(),
8912
8912
  enabled: z3.boolean().optional(),
8913
+ billingMode: z3.literal("credits").optional(),
8914
+ runBaseCredits: z3.number().optional(),
8915
+ llmCostMultiplier: z3.number().optional(),
8913
8916
  quotaPerPeriod: z3.number().optional(),
8914
8917
  usedThisPeriod: z3.number().optional(),
8915
8918
  periodStart: z3.string().optional(),
@@ -9037,11 +9040,11 @@ var RevokeScheduleLinkSchema = {
9037
9040
  var SetScheduleEntitlementSchema = {
9038
9041
  id: "set-schedule-entitlement",
9039
9042
  upstreamName: "setScheduleEntitlementTool",
9040
- description: "Set whether an identity has an active Scheduled Actions subscription, its monthly execution quota, and (optionally) an mcp-scraper API key for scheduled actions to call mcp-scraper on their behalf. Called by mcp-scraper's Stripe webhook on subscribe/renew/cancel. Requires admin scope.",
9043
+ description: "Legacy migration and account-recovery control for old Scheduled Actions entitlements. New scheduling is Credit-metered and does not require a separate subscription. This admin-only tool may preserve a legacy API-key delegation or recover historical entitlement rows during migration.",
9041
9044
  input: {
9042
9045
  granteeIdentity: z3.string().min(1).describe("Identity whose scheduling entitlement is being set (e.g. an email)."),
9043
9046
  enabled: z3.boolean().describe("True to enable scheduled actions for this identity, false on cancel/expire."),
9044
- quotaPerPeriod: z3.number().optional().describe("Monthly execution quota. Optional; defaults to 1000, or leaves the existing value unchanged if already set."),
9047
+ quotaPerPeriod: z3.number().optional().describe("Legacy monthly execution quota retained only for historical-row compatibility; it does not price new Credit-metered runs."),
9045
9048
  mcpScraperApiKey: z3.string().optional().describe("The identity's mcp-scraper API key, stored encrypted, used to reach mcp-scraper tools during scheduled-action execution.")
9046
9049
  },
9047
9050
  output: {
@@ -9779,4 +9782,4 @@ export {
9779
9782
  registerMemoryMcpTools,
9780
9783
  MemoryMcpToolExecutor
9781
9784
  };
9782
- //# sourceMappingURL=chunk-KE7KE2Q2.js.map
9785
+ //# sourceMappingURL=chunk-XHJJQRNQ.js.map