@mgsoftwarebv/mg-dashboard-mcp 7.3.1 → 7.4.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.
package/dist/index.js CHANGED
@@ -10792,13 +10792,13 @@ var TOOLS = [
10792
10792
  },
10793
10793
  {
10794
10794
  name: "research_topic",
10795
- description: "Turn SEVERAL public sources on one topic into a single cross-checked, sourced 'evidence pack' (ticket 2026-DASMG-040). Composes extract_article per URL and aggregates: collect, extract, cross-check, then hand a downstream agent a safe base to write ORIGINAL content from. Modes: curated (`urls` + optional `topic`), hybrid (`urls` + `discover`), discovery (`topic` + `discover.enabled`). Discovery is currently DEFERRED \u2014 when requested it returns a `discovery_unavailable` limitation while curated `urls` still work. Returns `sources` (id,url,canonicalUrl,source,title,publishedAt,authorityTier,extractionMethod,limitations), `verifiedFacts` (claim + corroboratedBy + confidence + authorityTier + asOf), `conflicts` (variants + suggestedResolution), `uniqueClaims` (single-source), `openQuestions`, `verbatimWarnings`, and pack-level `limitations`. Structured EVIDENCE ONLY \u2014 never ready-to-publish prose or brand voice; every claim traces back to a source id. PUBLIC URLs only (inherits the SSRF guard). Persistence/reuse is out of scope (2026-DASMG-041).",
10795
+ description: "Turn SEVERAL public sources on one topic into a single cross-checked, sourced 'evidence pack' (ticket 2026-DASMG-040). Composes extract_article per URL and aggregates: collect, extract, cross-check, then hand a downstream agent a safe base to write ORIGINAL content from. Modes: curated (`urls` + optional `topic`), discovery (`topic` + `discover.enabled` \u2014 finds source URLs for you), hybrid (`urls` + `discover` \u2014 curated seeds topped up by discovery). Discovery uses an env-gated web-search backend (open-web) plus a keyless sitemap crawl over `discover.allowDomains`; with no backend it degrades to a `discovery_unavailable` limitation and curated `urls` still work. The method used is reported as `discovery_method:...`. Returns `sources` (id,url,canonicalUrl,source,title,publishedAt,authorityTier,extractionMethod,limitations), `verifiedFacts` (claim + corroboratedBy + confidence + authorityTier + asOf), `conflicts` (variants + suggestedResolution), `uniqueClaims` (single-source), `openQuestions`, `verbatimWarnings`, and pack-level `limitations`. Structured EVIDENCE ONLY \u2014 never ready-to-publish prose or brand voice; every claim traces back to a source id. PUBLIC URLs only (inherits the SSRF guard). Persist + reuse with save_research_pack / get_research_pack (2026-DASMG-041).",
10796
10796
  inputSchema: {
10797
10797
  type: "object",
10798
10798
  properties: {
10799
10799
  topic: {
10800
10800
  type: "string",
10801
- description: "The topic the evidence pack is about (used for context/labelling)."
10801
+ description: "The topic the evidence pack is about (used for labelling, and as the search query in discovery mode)."
10802
10802
  },
10803
10803
  urls: {
10804
10804
  type: "array",
@@ -10807,14 +10807,14 @@ var TOOLS = [
10807
10807
  },
10808
10808
  discover: {
10809
10809
  type: "object",
10810
- description: "Discovery options (currently deferred). enabled=true emits a discovery_unavailable limitation; curated urls still work.",
10810
+ description: "Discovery options. enabled=true auto-finds source URLs for `topic` via an env-gated web-search backend plus a keyless sitemap crawl over allowDomains. Curated `urls` are kept and topped up to maxSources; degrades gracefully (discovery_unavailable) when no backend is configured.",
10811
10811
  properties: {
10812
- enabled: { type: "boolean" },
10813
- maxSources: { type: "number" },
10814
- recencyDays: { type: "number" },
10815
- locale: { type: "string" },
10816
- allowDomains: { type: "array", items: { type: "string" } },
10817
- blockDomains: { type: "array", items: { type: "string" } }
10812
+ enabled: { type: "boolean", description: "Turn discovery on (default off)." },
10813
+ maxSources: { type: "number", description: "Cap on total sources, curated + discovered (1-12, default 8)." },
10814
+ recencyDays: { type: "number", description: "Prefer/keep sources no older than this (applied to sitemap lastmod)." },
10815
+ locale: { type: "string", description: "Locale hint, e.g. nl-NL." },
10816
+ allowDomains: { type: "array", items: { type: "string" }, description: "Whitelist domains; also the targets for the keyless sitemap crawl." },
10817
+ blockDomains: { type: "array", items: { type: "string" }, description: "Domains to exclude from discovery." }
10818
10818
  }
10819
10819
  },
10820
10820
  includeRawText: {
@@ -10928,7 +10928,7 @@ var TOOLS = [
10928
10928
  },
10929
10929
  {
10930
10930
  name: "save_research_pack",
10931
- description: "Persist a research_topic evidence pack (2026-DASMG-041): cross-checked verified facts, conflicts, unique claims, open questions. Pass an already-built `pack`, or `urls`/`topic` to research then save. Each source is deduped into content_sources and linked via the join table, so packs can be reused without re-crawling. Returns the pack id + compact counts + linked source ids.",
10931
+ description: "Persist a research_topic evidence pack (2026-DASMG-041): cross-checked verified facts, conflicts, unique claims, open questions. Pass an already-built `pack`, or `urls`/`topic` to research then save. Add `discover` (with a topic) to auto-find sources before saving \u2014 the same discovery research_topic does (2026-DASMG-040). Each source is deduped into content_sources and linked via the join table, so packs can be reused without re-crawling. Returns the pack id + compact counts + linked source ids.",
10932
10932
  inputSchema: {
10933
10933
  type: "object",
10934
10934
  properties: {
@@ -10939,6 +10939,18 @@ var TOOLS = [
10939
10939
  description: "URLs to research if no pack is given."
10940
10940
  },
10941
10941
  topic: { type: "string", description: "Topic to research if no pack is given." },
10942
+ discover: {
10943
+ type: "object",
10944
+ description: "Discovery options (same shape as research_topic). With a topic, enabled=true auto-finds source URLs before saving. Ignored when `pack` is supplied.",
10945
+ properties: {
10946
+ enabled: { type: "boolean" },
10947
+ maxSources: { type: "number" },
10948
+ recencyDays: { type: "number" },
10949
+ locale: { type: "string" },
10950
+ allowDomains: { type: "array", items: { type: "string" } },
10951
+ blockDomains: { type: "array", items: { type: "string" } }
10952
+ }
10953
+ },
10942
10954
  locale: { type: "string", description: "Locale of the pack." },
10943
10955
  projectKey: { type: "string", description: "Project identifier." },
10944
10956
  siteKey: { type: "string", description: "Site identifier." },