mcp-scraper 0.51.0 → 0.51.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-O63VVCCE.js";
15
+ } from "../chunk-FCZ3QCZP.js";
16
16
  import "../chunk-2K74LVV7.js";
17
17
  import "../chunk-BBI7RGOT.js";
18
18
  import "../chunk-QXAY44SA.js";
@@ -21,7 +21,7 @@ import {
21
21
  } from "../chunk-QH63IZTX.js";
22
22
  import {
23
23
  PACKAGE_VERSION
24
- } from "../chunk-73MUQSWC.js";
24
+ } from "../chunk-JNRSR5ZJ.js";
25
25
  import "../chunk-SOEYDWJU.js";
26
26
  import "../chunk-5UN33CGU.js";
27
27
  import "../chunk-2XTYLJQK.js";
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-QXAY44SA.js";
22
22
  import {
23
23
  PACKAGE_VERSION
24
- } from "./chunk-73MUQSWC.js";
24
+ } from "./chunk-JNRSR5ZJ.js";
25
25
  import {
26
26
  MC_PER_CREDIT
27
27
  } from "./chunk-SOEYDWJU.js";
@@ -600,12 +600,15 @@ note, registers canonical tags, writes it, and verifies readback. Reserve low-le
600
600
  deliberate edits and migrations. Use
601
601
  **table-create**/**table-insert-rows**/**table-query** instead when the caller wants row-shaped data
602
602
  they'll filter/sort by exact value. **memory-search** is meaning-based over full content (embeds, slower);
603
- **memory-list** filters one vault by kind/tags (fast, exact).
603
+ **memory-list** filters one vault by kind/tags (fast, exact), or lists the whole entitled account when
604
+ \`allVaults:true\`.
604
605
 
605
- Choose the read surface by completeness, not convenience. **list-vaults** is the account inventory and
606
- reports each vault's note count. **memory-list** returns the complete metadata inventory for one vault but
607
- no note bodies, plus a sorted complete folder inventory derived from those paths; use it to identify every
608
- stable \`vault + path\` address. **list-memory-tags** returns the
606
+ Choose the read surface by completeness, not convenience. **list-vaults** is the compact account inventory and
607
+ reports each vault's note count. **memory-list** returns the complete metadata inventory for one vault by
608
+ default, with no note bodies and a sorted complete folder inventory derived from those paths. When the user
609
+ asks for every note or folder they have across Memory, call **memory-list** once with \`allVaults:true\`; use
610
+ its account totals and per-vault groups, and never present the default single-vault count as the account
611
+ total. Use the result to identify every stable \`vault + path\` address. **list-memory-tags** returns the
609
612
  complete account-wide canonical tag inventory, including aliases, usage counts, and per-vault distribution.
610
613
  **memory-search** returns ranked
611
614
  content chunks, not an exhaustive inventory or complete documents: deduplicate hits by vault/path and call
@@ -12750,31 +12753,42 @@ var GetSchema = {
12750
12753
  openWorldHint: false
12751
12754
  }
12752
12755
  };
12756
+ var listNoteSchema = z9.object({
12757
+ path: z9.string().describe("Vault-relative note path, e.g. projects/q3-plan."),
12758
+ title: z9.string().describe("Human-readable note title."),
12759
+ kind: z9.string().describe("Note kind: note, library, capture, or decision."),
12760
+ tags: z9.array(z9.string()).describe("The note's tags, if any."),
12761
+ updatedAt: z9.string().describe("ISO-8601 timestamp of the note last update.")
12762
+ });
12753
12763
  var ListSchema = {
12754
12764
  id: "memory-list",
12755
12765
  upstreamName: "listTool",
12756
- description: "Return every note in one vault as a complete metadata inventory \u2014 stable path, title, kind, tags, and last-updated \u2014 plus a sorted list of every unique folder and nested folder represented by those paths. It contains no bodies. Use memory-get for exact full content, memory-search for ranked semantic recall, or memory-export only when explicitly asked for every full note. Defaults to the active or first entitled vault; also returns entitled vaults. Requires read scope.",
12766
+ description: "Return a complete note-and-folder metadata inventory without note bodies. Set allVaults:true when the user asks for every note or folder they have across their whole Memory account; the result is grouped by vault and includes aggregate totals. Otherwise list one exact vault, defaulting to the active or first entitled vault. Never report a single-vault count as the account total. Use memory-get for exact full content, memory-search for ranked semantic recall, or memory-export only when explicitly asked for every full note. Requires read scope.",
12757
12767
  input: {
12758
12768
  vault: z9.string().optional().describe(
12759
12769
  "Vault to list. Optional; defaults to the session active vault, then the first vault the caller is entitled to."
12760
12770
  ),
12771
+ allVaults: z9.boolean().optional().describe("Set true for one complete account-wide inventory across every entitled vault. Omit or set false for one vault. When true, vault is ignored and reads run sequentially to avoid backend contention."),
12761
12772
  kind: z9.enum(["note", "library", "capture", "decision"]).optional().describe("Filter to a single note kind. Optional; omit to list every kind in the vault."),
12762
12773
  tags: z9.array(z9.string()).optional().describe("Filter to notes tagged with any of these tags (matches the note's tags primitive). Optional; omit to not filter by tag.")
12763
12774
  },
12764
12775
  output: {
12765
12776
  ok: z9.boolean().describe("True when the listing succeeded; false on an auth/scope/lookup error."),
12777
+ scope: z9.enum(["vault", "account"]).optional().describe("Whether the result covers one logical vault or the whole entitled account."),
12778
+ partial: z9.boolean().optional().describe("Account-wide mode only: true if one vault failed and vaultInventories contains only the completed prefix."),
12766
12779
  vault: z9.string().optional().describe("The vault that was actually listed (after defaulting)."),
12767
- notes: z9.array(
12768
- z9.object({
12769
- path: z9.string().describe("Vault-relative note path, e.g. projects/q3-plan."),
12770
- title: z9.string().describe("Human-readable note title."),
12771
- kind: z9.string().describe("Note kind: note, library, capture, or decision."),
12772
- tags: z9.array(z9.string()).describe("The note's tags, if any."),
12773
- updatedAt: z9.string().describe("ISO-8601 timestamp of the note last update.")
12774
- })
12775
- ).optional().describe("The notes in the vault (metadata only, no content). Present when ok is true."),
12780
+ notes: z9.array(listNoteSchema).optional().describe("The notes in the vault (metadata only, no content). Present when ok is true."),
12776
12781
  folders: z9.array(z9.string()).optional().describe("Sorted complete folder inventory derived from note paths, including represented nested parent folders. Present when ok is true."),
12777
12782
  vaults: z9.array(z9.string()).optional().describe("All vaults the caller is entitled to, for choosing a different vault to list."),
12783
+ totalNotes: z9.number().int().nonnegative().optional().describe("Account-wide mode only: total notes across every completed vault inventory."),
12784
+ totalFolders: z9.number().int().nonnegative().optional().describe("Account-wide mode only: total represented folder instances across vaults."),
12785
+ vaultInventories: z9.array(z9.object({
12786
+ vault: z9.string().describe("Exact vault handle for every note and folder in this group."),
12787
+ noteCount: z9.number().int().nonnegative(),
12788
+ folderCount: z9.number().int().nonnegative(),
12789
+ notes: z9.array(listNoteSchema).describe("Every note metadata record in this vault."),
12790
+ folders: z9.array(z9.string()).describe("Every represented folder and nested parent folder in this vault.")
12791
+ })).optional().describe("Account-wide mode only: complete note and folder inventories grouped by vault so paths remain unambiguous."),
12778
12792
  error: z9.string().optional().describe("Human-readable failure reason when ok is false.")
12779
12793
  },
12780
12794
  annotations: {
@@ -14573,4 +14587,4 @@ export {
14573
14587
  ScheduledResultsMcpExecutor,
14574
14588
  registerScheduledResultsMcpTools
14575
14589
  };
14576
- //# sourceMappingURL=chunk-O63VVCCE.js.map
14590
+ //# sourceMappingURL=chunk-FCZ3QCZP.js.map