@withpica/mcp-server 2.92.0 → 2.93.1

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 +58 -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/resources/agent-guide.d.ts +1 -1
  7. package/dist/resources/agent-guide.d.ts.map +1 -1
  8. package/dist/resources/agent-guide.js +1 -1
  9. package/dist/resources/required-schemas.generated.d.ts +0 -8
  10. package/dist/resources/required-schemas.generated.d.ts.map +1 -1
  11. package/dist/resources/required-schemas.generated.js +0 -12
  12. package/dist/resources/required-schemas.generated.js.map +1 -1
  13. package/dist/resources/required-schemas.source.d.ts.map +1 -1
  14. package/dist/resources/required-schemas.source.js +0 -10
  15. package/dist/resources/required-schemas.source.js.map +1 -1
  16. package/dist/tools/bulk.d.ts.map +1 -1
  17. package/dist/tools/bulk.js +10 -7
  18. package/dist/tools/bulk.js.map +1 -1
  19. package/dist/tools/deprecations.d.ts +15 -1
  20. package/dist/tools/deprecations.d.ts.map +1 -1
  21. package/dist/tools/deprecations.js +41 -56
  22. package/dist/tools/deprecations.js.map +1 -1
  23. package/dist/tools/discovery.js +6 -6
  24. package/dist/tools/discovery.js.map +1 -1
  25. package/dist/tools/index.d.ts +1 -1
  26. package/dist/tools/index.js +1 -1
  27. package/dist/tools/metadata.d.ts.map +1 -1
  28. package/dist/tools/metadata.js +21 -69
  29. package/dist/tools/metadata.js.map +1 -1
  30. package/dist/tools/notes.d.ts +4 -2
  31. package/dist/tools/notes.d.ts.map +1 -1
  32. package/dist/tools/notes.js +5 -24
  33. package/dist/tools/notes.js.map +1 -1
  34. package/dist/tools/projects.d.ts +4 -2
  35. package/dist/tools/projects.d.ts.map +1 -1
  36. package/dist/tools/projects.js +5 -24
  37. package/dist/tools/projects.js.map +1 -1
  38. package/dist/tools/royalties.d.ts +15 -5
  39. package/dist/tools/royalties.d.ts.map +1 -1
  40. package/dist/tools/royalties.js +12 -43
  41. package/dist/tools/royalties.js.map +1 -1
  42. package/dist/tools/sessions.d.ts +4 -2
  43. package/dist/tools/sessions.d.ts.map +1 -1
  44. package/dist/tools/sessions.js +4 -46
  45. package/dist/tools/sessions.js.map +1 -1
  46. package/dist/tools/share-links.d.ts +3 -2
  47. package/dist/tools/share-links.d.ts.map +1 -1
  48. package/dist/tools/share-links.js +5 -28
  49. package/dist/tools/share-links.js.map +1 -1
  50. package/dist/tools/sharing.js +1 -1
  51. package/dist/tools/sharing.js.map +1 -1
  52. package/dist/tools/works.d.ts.map +1 -1
  53. package/dist/tools/works.js +75 -12
  54. package/dist/tools/works.js.map +1 -1
  55. package/package.json +2 -2
  56. package/server.json +2 -2
package/CHANGELOG.md CHANGED
@@ -9,6 +9,64 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
  > matching entry here in the same commit. See the project's "npm publish
10
10
  > discipline" memory entry for the enforcement rationale.
11
11
 
12
+ ## [2.93.1] - 2026-07-14
13
+
14
+ ### Fixed
15
+
16
+ - **`pica_works_bulk_link_artist` dry-run no longer returns a false preview.**
17
+ The preview now routes through the same endpoint (with `dryRun=true`) as the
18
+ commit, so it shares the commit's person-resolution and validation — a person
19
+ the commit cannot find is refused at preview time instead of reporting an
20
+ optimistic "would link N". Requires `@withpica/mcp-sdk@^3.7.1`. The tool's
21
+ input schema is unchanged, so this does not trigger an OpenAI connector
22
+ resubmission.
23
+
24
+ ## [2.93.0] - 2026-07-12
25
+
26
+ ### Removed
27
+
28
+ - **WS5 removal sweep — 6 zero-traffic deprecated aliases DELETED** after a
29
+ 30-day prod-telemetry gate (`agent_events`): `pica_projects_get`,
30
+ `pica_notes_get`, `pica_sessions_list`, `pica_sessions_get`,
31
+ `pica_statements_get`, `pica_share_links_list`. Each had 0 calls in the last
32
+ 30 days in production. Their standalone `ToolDefinition`, `TOOL_METADATA`,
33
+ cost-model, discovery, and required-schemas rows were all removed; the shared
34
+ executors (getProject, getNote, listSessions, getSession, getStatement,
35
+ listShareLinks) stay because they back the canonical `_query` / `_inspect`
36
+ tools. The 10 deprecated aliases that still carry live traffic
37
+ (`pica_releases_list/_get`, `pica_releases_attach_track_by_identifier`,
38
+ `pica_releases_bulk_attach_tracks`, `pica_projects_list`, `pica_notes_list`,
39
+ `pica_documents_list/_read`, `pica_statements_list`,
40
+ `pica_recording_credits_bulk_update`) STAY callable — their `removal_target`
41
+ is consciously extended from 2.93.0 to 2.95.0 so the "expire loudly" lint
42
+ does not block this publish. Re-run the traffic gate before 2.95.0.
43
+
44
+ ### Changed
45
+
46
+ - **Royalty / statement read tools re-scoped to finance visibility.** The
47
+ `pica_royalties_*` read tools (`_list`, `_get`, `_summary`, `_unmatched`) and
48
+ the `pica_statements_query` / `_inspect` / `_list` reads move from
49
+ `read:catalog` to `read:finances`; `pica_royalties_attribute` moves from
50
+ `write:catalog` to `write:finances`. This aligns the MCP tool declaration
51
+ with the backing routes' `callerHasFinanceAccess` gate (#1623) and the proxy
52
+ bearer-write floor — gated callers are now filtered from `tools/list` at
53
+ discovery instead of getting a 403 after calling. `read:finances` /
54
+ `write:finances` are admin-tier (not user-grantable); admin satisfies both.
55
+
56
+ ### Added
57
+
58
+ - **`dossier` section on `pica_works_inspect`.** `sections: ["dossier"]`
59
+ returns the full song dossier — everything PICA holds about a song
60
+ (recordings, releases, composition credits, people, provenance, AI
61
+ disclosure, consent) in one structured payload, via
62
+ `WorksResource.dossier()` (SDK 3.7.0). Rendered as a compact one-line text
63
+ summary plus the full JSON under `structuredContent.data.dossier`. Opt-in
64
+ only (never part of the default all-sections response, as it is a heavy
65
+ superset); a downloadable PDF of the same dossier is available from the web
66
+ UI. Not a new tool — folded onto the existing inspect tool per the
67
+ tool-surface-consolidation preference so it rides the batched OpenAI
68
+ resubmission rather than forcing a new one.
69
+
12
70
  ## [2.92.0] - 2026-07-09
13
71
 
14
72
  ### Added