@withpica/mcp-server 2.95.1 → 2.95.3

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 (56) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/lib/changelog.generated.d.ts +2 -2
  3. package/dist/lib/changelog.generated.d.ts.map +1 -1
  4. package/dist/lib/changelog.generated.js +2 -2
  5. package/dist/lib/changelog.generated.js.map +1 -1
  6. package/dist/prompts/creator-question-atlas.d.ts.map +1 -1
  7. package/dist/prompts/creator-question-atlas.js +14 -0
  8. package/dist/prompts/creator-question-atlas.js.map +1 -1
  9. package/dist/prompts/index.js +2 -2
  10. package/dist/prompts/index.js.map +1 -1
  11. package/dist/resources/required-schemas.generated.d.ts +22 -1
  12. package/dist/resources/required-schemas.generated.d.ts.map +1 -1
  13. package/dist/resources/required-schemas.generated.js +29 -1
  14. package/dist/resources/required-schemas.generated.js.map +1 -1
  15. package/dist/resources/required-schemas.source.d.ts.map +1 -1
  16. package/dist/resources/required-schemas.source.js +27 -1
  17. package/dist/resources/required-schemas.source.js.map +1 -1
  18. package/dist/server-instructions.d.ts +2 -2
  19. package/dist/server-instructions.d.ts.map +1 -1
  20. package/dist/server-instructions.js +2 -2
  21. package/dist/server-instructions.js.map +1 -1
  22. package/dist/skills/skills.generated.js +5 -5
  23. package/dist/skills/skills.generated.js.map +1 -1
  24. package/dist/tools/consent.d.ts +27 -0
  25. package/dist/tools/consent.d.ts.map +1 -0
  26. package/dist/tools/consent.js +80 -0
  27. package/dist/tools/consent.js.map +1 -0
  28. package/dist/tools/dashboard.d.ts.map +1 -1
  29. package/dist/tools/dashboard.js +16 -0
  30. package/dist/tools/dashboard.js.map +1 -1
  31. package/dist/tools/deprecations.d.ts +12 -2
  32. package/dist/tools/deprecations.d.ts.map +1 -1
  33. package/dist/tools/deprecations.js +22 -12
  34. package/dist/tools/deprecations.js.map +1 -1
  35. package/dist/tools/discovery.d.ts.map +1 -1
  36. package/dist/tools/discovery.js +14 -0
  37. package/dist/tools/discovery.js.map +1 -1
  38. package/dist/tools/enrichment.d.ts +14 -0
  39. package/dist/tools/enrichment.d.ts.map +1 -1
  40. package/dist/tools/enrichment.js +126 -3
  41. package/dist/tools/enrichment.js.map +1 -1
  42. package/dist/tools/exports.d.ts +4 -0
  43. package/dist/tools/exports.d.ts.map +1 -1
  44. package/dist/tools/exports.js +146 -5
  45. package/dist/tools/exports.js.map +1 -1
  46. package/dist/tools/index.d.ts.map +1 -1
  47. package/dist/tools/index.js +49 -2
  48. package/dist/tools/index.js.map +1 -1
  49. package/dist/tools/metadata.d.ts.map +1 -1
  50. package/dist/tools/metadata.js +41 -0
  51. package/dist/tools/metadata.js.map +1 -1
  52. package/dist/tools/recovery-hints.d.ts.map +1 -1
  53. package/dist/tools/recovery-hints.js +60 -7
  54. package/dist/tools/recovery-hints.js.map +1 -1
  55. package/package.json +1 -1
  56. package/server.json +2 -2
package/CHANGELOG.md CHANGED
@@ -11,6 +11,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
+ ## [2.95.3] - 2026-08-18
15
+
16
+ ### Fixed
17
+
18
+ - **`tools/list` no longer publishes this package's own authoring metadata.** `ToolDefinition` is two types wearing one name — the MCP `Tool` a client consumes, and the compile-time declarations our lint reads — and `listTools()` spread the whole object, so every field of the second kind crossed the wire. `vernacular_kind`, `vernacular_reason` and `annotationOverrides` are now stripped at the wire boundary. **Not a breaking change:** none of the three is part of the MCP `Tool` schema, no documented behaviour read them, and everything a client acts on (`name`, `description`, `inputSchema`, `annotations`, `tier`, `scope`, `audiences`, `workflows`) is untouched. The registry's own view is untouched too, so tooling that reads definitions in-process still sees them.
19
+ - **The handshake and the skill bodies no longer cite internal decision records.** `vernacular_reason` on ~30 tools read "Specialist context; not yet covered by the Creator Question Atlas — pending telemetry-driven addition per ADR-226 Phase 4 substrate writes"; five `SKILL.md` bodies, two prompt bodies and the server instructions carried similar citations. An ADR number is a coordinate into a repository the reader cannot open, and an agent handed one repeats it to a user as if it were vocabulary they should already know — which is exactly what happened in a real connector session on 2026-08-18.
20
+ - **The handshake's URI-shape pointer now names something reachable.** It read `docs/mcp-source-uri-conventions.md` — a path in the app repository, handed to agents that have no checkout. It now names `pica_skill_get("enrich-from-peer-mcps")`, the skill that actually carries the scheme table, which an agent can follow in one call.
21
+
22
+ > Patch, not minor, on purpose: `2.96.0` stays reserved for the WS5 deprecated-alias removals, which `src/tools/deprecations.ts` enforces as its removal target. Bumping the minor here would bring that deadline forward by accident.
23
+
24
+ > Scope note for anyone tracing this: the stripped-metadata leak affected the **stdio** surface — this package's flat `tools/list`. The app's HTTP transport serves layered discovery, where `tools/list` returns only the meta tools and `pica_discover` / `pica_tool_details` build responses by picking fields explicitly, so a connector was never reading it. The handshake and skill-body fixes reach both surfaces.
25
+
26
+ ## [2.95.2] - 2026-07-28
27
+
28
+ ### Added
29
+
30
+ - **`pica_consent_readiness` (ADR-300)** — the read side of ADR-292's consent ledger. Returns an org-scoped readiness verdict: a `rungs` map giving cleared / partial / blocked / unset asset counts at each consent level, a `blockers` list naming credited people with no decision recorded or an explicit refusal (refusals first, then by catalogue reach), and `blockedAssets`. `truncated` reports honestly when a list was capped. An asset is cleared at a level only when EVERY credited contributor has granted at least that level; one live revocation blocks it at every level. Read tier, free, all three audiences. Deliberately read-only — consent WRITES stay human-session only, because a consent decision has to be made by the person whose rights it binds, not by an agent acting for them.
31
+
32
+ ### Changed
33
+
34
+ - **`pica_export_ai_consent` description corrected.** It claimed to show "which works are human-made, AI-assisted, or AI-generated" — that is `works.ai_disclosure_level` (ADR-086), a different field the AI-consent service has never read. Agents were being pointed at the wrong feature. The description now says what the tool does (produces the consent FILE) and routes intent for the ANSWER to `pica_consent_readiness`.
35
+ - The consent file's per-asset `use_cases_allowed` now reflects the consent LEVEL, and `assets.csv` gains a `cleared_level` column. This narrows what the export claims: a work whose contributors granted only `tracking_only`, or where any contributor has not answered, no longer reports training/generation/commercial as permitted. See the app repo's FIX_LOG 2026-07-27 entry — a previously downloaded ZIP will disagree with the next one, and the next one is right.
36
+
37
+ > Patch, not minor, on purpose: `2.96.0` stays reserved for the WS5 deprecated-alias removals.
38
+
14
39
  ## [2.95.1] - 2026-07-27
15
40
 
16
41
  ### Added