mcp-scraper 0.28.2 → 0.29.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.
@@ -7,7 +7,7 @@ import {
7
7
  registerMemoryMcpTools,
8
8
  registerPaaExtractorMcpTools,
9
9
  registerSerpIntelligenceCaptureTools
10
- } from "../chunk-Q7VZUYRR.js";
10
+ } from "../chunk-66SYKL2G.js";
11
11
  import "../chunk-R7EETU7Z.js";
12
12
  import "../chunk-MTSBI7ZH.js";
13
13
  import {
@@ -16,7 +16,7 @@ import {
16
16
  import "../chunk-ZQSHKWV4.js";
17
17
  import {
18
18
  PACKAGE_VERSION
19
- } from "../chunk-GOAQIV6K.js";
19
+ } from "../chunk-7TNTBRQW.js";
20
20
  import "../chunk-4767BA2O.js";
21
21
  import "../chunk-M2S27J6Z.js";
22
22
  import "../chunk-ICT7DDHL.js";
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-ZQSHKWV4.js";
20
20
  import {
21
21
  PACKAGE_VERSION
22
- } from "./chunk-GOAQIV6K.js";
22
+ } from "./chunk-7TNTBRQW.js";
23
23
  import {
24
24
  MC_PER_CREDIT
25
25
  } from "./chunk-4767BA2O.js";
@@ -401,12 +401,14 @@ Multi-step orchestrations \u2014 prefer these over hand-chaining primitives when
401
401
 
402
402
  ## Memory
403
403
  mcp-scraper also exposes persistent per-user memory tools (notes, facts, vaults,
404
- scheduled actions, tables, channels) backed by memory.mcpscraper.dev. Every account starts with 14
404
+ scheduled actions, tables, channels) backed by memory.mcpscraper.dev. Every account starts with 15
405
405
  vaults \u2014 call **list-vaults** to see what exists before creating anything new. Pick the vault whose job
406
406
  matches the content: **Ideas** (unvalidated concepts), **Knowledge** (distilled lessons/how-tos),
407
407
  **Library** (raw source material \u2014 articles, transcripts), **People** (one durable note per person/org),
408
- **Communications** (individual conversation records), **Calendar** (time-anchored entries), **Tasks**
409
- (action items with a status), **Projects** (durable named initiatives), **Issues** (something broken),
408
+ **Deals** (commercial opportunities tied to a known person or organization), **Communications** (individual
409
+ conversation records and drafts), **Calendar** (time-anchored entries), **Tasks** (action items linked to a
410
+ known Project), **Projects** (only codebases, known client projects, personal projects, or ongoing siloed
411
+ workstreams), **Issues** (something broken),
410
412
  **Improvement Log** (receipts of changes made and whether they worked), **Experiments** (hypothesis +
411
413
  measured result), **Sprint** (current cycle's scope), **Inspiration** (other people's work worth
412
414
  studying), **Skills** (reusable skill packages; each requires \`scripts/\` and at least one of
@@ -420,6 +422,14 @@ deliberate edits and migrations. Use
420
422
  they'll filter/sort by exact value. **memory-search** is meaning-based over full content (embeds, slower);
421
423
  **memory-list** filters one vault by kind/tags (fast, exact).
422
424
 
425
+ For People, Deals, Projects, Tasks, and Communications, use the returned contract rather than guessing:
426
+ People only holds a real person or organization hub; Deals need a known party; Projects need
427
+ \`project_kind\`; every Task needs a verified \`project_ref\` and matching project name; and email drafts
428
+ awaiting human review need \`direction:"draft"\` with \`approval_state:"pending"\`. Link a known person,
429
+ project, deal, or communication when verified. If a required relationship is not clear, ask the user rather
430
+ than creating a free-floating record. Overview is the review queue: editing leaves a draft pending, and
431
+ approval or denial records a state only\u2014it does not send email.
432
+
423
433
  Treat every memory create or update as a graph operation. **prepare-memory-write** supplies the initial
424
434
  shortlist; use **memory-search** when it is weak or the topic is broad, and **memory-get** to read the best
425
435
  candidates in full. Add only links supported by the notes: same-
@@ -8165,7 +8175,7 @@ var memoryCaptureTool_notePropsSchema = z3.object({
8165
8175
  var MemoryCaptureSchema = {
8166
8176
  id: "memory-capture",
8167
8177
  upstreamName: "memoryCaptureTool",
8168
- description: "Strict normal-create path for durable memory. Before capture, list the complete tag vocabulary, call prepare-memory-write, run hybrid memory-search for related notes, and read the strongest link candidates. This tool refuses incomplete notes, writes through memory-put, registers canonical tags, and verifies persisted content and props. Reserve memory-put for low-level migrations or deliberate edits.",
8178
+ description: "Strict normal-create path for durable memory. Before capture, list the complete tag vocabulary, call prepare-memory-write, run hybrid memory-search for related notes, and read the strongest link candidates. This tool refuses incomplete notes and invalid relationship-domain writes: projects need a project kind, tasks need a verified project, deals need a known party, and draft emails need a pending approval state. It writes through memory-put, registers canonical tags, and verifies persisted content and props. Reserve memory-put for low-level migrations or deliberate edits.",
8169
8179
  input: {
8170
8180
  vault: z3.string(),
8171
8181
  folder: z3.string().optional(),
@@ -8223,7 +8233,7 @@ var MemoryQuestionsSchema = {
8223
8233
  var PrepareMemoryWriteSchema = {
8224
8234
  id: "prepare-memory-write",
8225
8235
  upstreamName: "prepareMemoryWriteTool",
8226
- description: "Mandatory planning pass for a normal new memory. First inspect the complete tag vocabulary with list-memory-tags; then this pass routes the note, returns the live template and natural vault relationships, resolves proposed tags, and shortlists interlinks. Use hybrid memory-search (3 focused queries, 50 fused candidates, bounded graph expansion, rerank to 30 by default) and read strong related notes before capture. This is an explicit AI workflow directive, not a claim of persisted call-order enforcement.",
8236
+ description: "Mandatory planning pass for a normal new memory. First inspect the complete tag vocabulary with list-memory-tags; then this pass routes the note, returns the live template and natural vault relationships, resolves proposed tags, and shortlists interlinks. For People, Deals, Projects, Tasks, and Communications, it also returns required relationship and approval guidance: search existing records first and ask rather than inventing a missing project or party. Use hybrid memory-search (3 focused queries, 50 fused candidates, bounded graph expansion, rerank to 30 by default) and read strong related notes before capture. This is an explicit AI workflow directive, not a claim of persisted call-order enforcement.",
8227
8237
  input: {
8228
8238
  title: z3.string().min(1),
8229
8239
  content: z3.string().min(1),
@@ -8930,10 +8940,10 @@ var putTool_notePropsSchema = z3.object({
8930
8940
  var PutSchema = {
8931
8941
  id: "memory-put",
8932
8942
  upstreamName: "putTool",
8933
- description: "Create or edit one note at a path in a memory vault; content is persisted and indexed for search. For row-shaped datasets you'll filter/sort by exact value, use table-create/table-insert-rows/table-query instead. Ordinary vaults are indexed and shareable \u2014 never store real secrets there; use a secure vault (create-secure-vault) instead, which is never indexed or shareable and is encrypted at rest. Requires write scope.",
8943
+ description: "Create or deliberately edit one note at a path in a memory vault; content is persisted and indexed for search. For normal new People, Deals, Projects, Tasks, or Communications records, use prepare-memory-write then memory-capture: People must be real people or organizations, Deals need a known party, Projects need a supported kind, Tasks need a verified Project, and draft emails need pending approval. For row-shaped datasets you'll filter/sort by exact value, use table-create/table-insert-rows/table-query instead. Ordinary vaults are indexed and shareable \u2014 never store real secrets there; use a secure vault (create-secure-vault) instead, which is never indexed or shareable and is encrypted at rest. Requires write scope.",
8934
8944
  input: {
8935
8945
  vault: z3.string().optional().describe(
8936
- "Vault to write to. Optional; defaults to the session active vault, then the first vault the caller is entitled to. On a default-provisioned account, pick the vault whose job matches the content (see the server instructions for the full 13-vault guide) rather than defaulting blindly \u2014 e.g. a lesson learned goes in Knowledge, the raw source it came from goes in Library, a broken feature goes in Issues, a named real-world initiative goes in Projects."
8946
+ "Vault to write to. Optional; defaults to the session active vault, then the first vault the caller is entitled to. On a default-provisioned account, pick the vault whose job matches the content (see the server instructions for the full 15-vault guide) rather than defaulting blindly \u2014 e.g. a lesson learned goes in Knowledge, the raw source it came from goes in Library, a broken feature goes in Issues, a named real-world initiative goes in Projects. Do not use this low-level tool to create ordinary People, Deals, Projects, Tasks, or Communications records: first use prepare-memory-write then memory-capture so relationships and approval state are validated."
8937
8947
  ),
8938
8948
  path: z3.string().optional().describe("Vault-relative note path to create or overwrite, e.g. projects/q3-plan. Writing an existing path replaces it. Required unless shareId is given."),
8939
8949
  shareId: z3.string().optional().describe("Edit a note someone individually shared with you and you accepted (accept-share), by its shareId, instead of vault+path. Requires the share to grant edit permission, and baseRevision is mandatory (get the current revision first) since you are editing alongside the owner and possibly others."),
@@ -9720,9 +9730,9 @@ var DeleteVaultSchema = {
9720
9730
  var GetVaultContractSchema = {
9721
9731
  id: "get-vault-contract",
9722
9732
  upstreamName: "getVaultContractTool",
9723
- description: "Read the machine-enforced purpose, template, statuses, types, natural neighbor vaults, and typed relationship guidance for one of the 13 governed Obsidian-style vaults. Call before composing a note when the correct shape is uncertain.",
9733
+ description: "Read the machine-enforced purpose, template, statuses, types, natural neighbor vaults, and typed relationship guidance for one of the 15 governed Obsidian-style vaults. Call before composing a note when the correct shape is uncertain.",
9724
9734
  input: {
9725
- vault: z3.string().describe("One governed vault: Ideas, Inspiration, Knowledge, Library, People, Communications, Calendar, Tasks, Projects, Issues, Improvement Log, Experiments, or Sprint.")
9735
+ vault: z3.string().describe("One governed vault: Ideas, Inspiration, Knowledge, Library, People, Deals, Communications, Calendar, Tasks, Projects, Issues, Improvement Log, Experiments, Sprint, or Skills.")
9726
9736
  },
9727
9737
  output: {
9728
9738
  ok: z3.boolean(),
@@ -9792,17 +9802,17 @@ var ListVaultsSchema = {
9792
9802
  var ProvisionDefaultsSchema = {
9793
9803
  id: "provision-defaults",
9794
9804
  upstreamName: "provisionDefaultsTool",
9795
- description: "Provision the standard 14-vault memory structure (Ideas, Inspiration, Knowledge, Library, People, Communications, Calendar, Tasks, Projects, Issues, Improvement Log, Experiments, Sprint, Skills) for an identity. Idempotent \u2014 existing vaults are untouched. Optionally issues a fresh API key entitled to all 14. Requires admin scope.",
9805
+ description: "Provision the standard 15-vault memory structure (Ideas, Inspiration, Knowledge, Library, People, Deals, Communications, Calendar, Tasks, Projects, Issues, Improvement Log, Experiments, Sprint, Skills) for an identity. Idempotent \u2014 existing records are untouched and existing vault contracts are refreshed. Optionally issues a fresh API key entitled to all 15. Requires admin scope.",
9796
9806
  input: {
9797
- granteeIdentity: z3.string().min(1).describe("Identity that should OWN the 14 default vaults (e.g. an email or user id)."),
9798
- issueKey: z3.boolean().optional().describe("When true, also issue a new API key for the identity entitled to all 14 vaults and return its secret once. Default false."),
9807
+ granteeIdentity: z3.string().min(1).describe("Identity that should OWN the 15 default vaults (e.g. an email or user id)."),
9808
+ issueKey: z3.boolean().optional().describe("When true, also issue a new API key for the identity entitled to all 15 vaults and return its secret once. Default false."),
9799
9809
  plan: z3.enum(["free", "pro", "team", "enterprise"]).optional().describe("Subscription plan carried by the issued key. Optional; defaults to free. Only used when issueKey is true.")
9800
9810
  },
9801
9811
  output: {
9802
9812
  ok: z3.boolean().describe("True when provisioning succeeded; false on auth/scope error."),
9803
9813
  identity: z3.string().optional().describe("Identity the vaults were provisioned for."),
9804
- created: z3.array(z3.string()).optional().describe("Vault names newly created on this call (empty when all 14 already existed)."),
9805
- vaults: z3.array(z3.string()).optional().describe("All 14 default vault names the identity now owns."),
9814
+ created: z3.array(z3.string()).optional().describe("Vault names newly created on this call (empty when all 15 already existed)."),
9815
+ vaults: z3.array(z3.string()).optional().describe("All 15 default vault names the identity now owns."),
9806
9816
  keyId: z3.string().optional().describe("Stable id of the issued key. Present only when issueKey was true."),
9807
9817
  secret: z3.string().optional().describe("The issued key secret \u2014 RETURNED ONCE. Present only when issueKey was true."),
9808
9818
  plan: z3.string().optional().describe("Plan assigned to the issued key. Present only when issueKey was true."),
@@ -10069,4 +10079,4 @@ export {
10069
10079
  MEMORY_TOOL_SCHEMAS,
10070
10080
  registerMemoryMcpTools
10071
10081
  };
10072
- //# sourceMappingURL=chunk-Q7VZUYRR.js.map
10082
+ //# sourceMappingURL=chunk-66SYKL2G.js.map