@withpica/mcp-server 2.83.1 → 2.84.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.
Files changed (60) hide show
  1. package/.claude/settings.local.json +5 -0
  2. package/CHANGELOG.md +49 -1
  3. package/dist/lib/changelog.generated.d.ts +2 -2
  4. package/dist/lib/changelog.generated.d.ts.map +1 -1
  5. package/dist/lib/changelog.generated.js +2 -2
  6. package/dist/lib/changelog.generated.js.map +1 -1
  7. package/dist/resources/required-schemas.generated.d.ts +3 -3
  8. package/dist/resources/required-schemas.generated.d.ts.map +1 -1
  9. package/dist/resources/required-schemas.generated.js +3 -8
  10. package/dist/resources/required-schemas.generated.js.map +1 -1
  11. package/dist/server-instructions.d.ts +3 -3
  12. package/dist/server-instructions.d.ts.map +1 -1
  13. package/dist/server-instructions.js +3 -1
  14. package/dist/server-instructions.js.map +1 -1
  15. package/dist/skills/skills.generated.d.ts.map +1 -1
  16. package/dist/skills/skills.generated.js +24 -3
  17. package/dist/skills/skills.generated.js.map +1 -1
  18. package/dist/tools/audio-files.d.ts +2 -0
  19. package/dist/tools/audio-files.d.ts.map +1 -1
  20. package/dist/tools/audio-files.js +141 -1
  21. package/dist/tools/audio-files.js.map +1 -1
  22. package/dist/tools/dashboard.d.ts.map +1 -1
  23. package/dist/tools/dashboard.js +9 -0
  24. package/dist/tools/dashboard.js.map +1 -1
  25. package/dist/tools/discovery.d.ts.map +1 -1
  26. package/dist/tools/discovery.js +5 -0
  27. package/dist/tools/discovery.js.map +1 -1
  28. package/dist/tools/documents.d.ts.map +1 -1
  29. package/dist/tools/documents.js +2 -1
  30. package/dist/tools/documents.js.map +1 -1
  31. package/dist/tools/index.d.ts.map +1 -1
  32. package/dist/tools/index.js +6 -0
  33. package/dist/tools/index.js.map +1 -1
  34. package/dist/tools/metadata.d.ts.map +1 -1
  35. package/dist/tools/metadata.js +24 -0
  36. package/dist/tools/metadata.js.map +1 -1
  37. package/dist/tools/people.d.ts +17 -11
  38. package/dist/tools/people.d.ts.map +1 -1
  39. package/dist/tools/people.js +20 -5
  40. package/dist/tools/people.js.map +1 -1
  41. package/dist/tools/recordings.d.ts +5 -1
  42. package/dist/tools/recordings.d.ts.map +1 -1
  43. package/dist/tools/recordings.js +60 -18
  44. package/dist/tools/recordings.js.map +1 -1
  45. package/dist/tools/recovery-hints.d.ts.map +1 -1
  46. package/dist/tools/recovery-hints.js +15 -0
  47. package/dist/tools/recovery-hints.js.map +1 -1
  48. package/dist/tools/statements.d.ts +17 -0
  49. package/dist/tools/statements.d.ts.map +1 -0
  50. package/dist/tools/statements.js +128 -0
  51. package/dist/tools/statements.js.map +1 -0
  52. package/dist/tools/version-guard.d.ts +71 -0
  53. package/dist/tools/version-guard.d.ts.map +1 -0
  54. package/dist/tools/version-guard.js +127 -0
  55. package/dist/tools/version-guard.js.map +1 -0
  56. package/dist/tools/works.d.ts.map +1 -1
  57. package/dist/tools/works.js +85 -7
  58. package/dist/tools/works.js.map +1 -1
  59. package/package.json +2 -2
  60. package/server.json +2 -2
@@ -0,0 +1,5 @@
1
+ {
2
+ "disabledMcpjsonServers": [
3
+ "pica-directory"
4
+ ]
5
+ }
package/CHANGELOG.md CHANGED
@@ -11,16 +11,64 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
- ## [2.83.1] - 2026-06-26
14
+ ## [2.84.0] - 2026-06-30
15
+
16
+ ### Added
17
+
18
+ - **`pica_audio_update`** (#1379) — set `file_type` / `stem_label` /
19
+ `version_label` / `title` on an audio file after upload, wrapping the
20
+ org-validated `PATCH /audio-files/[id]` route.
21
+
22
+ ### Changed
23
+
24
+ - **`pica_audio_query`** (#1378) — unassigned audio can now be filtered by
25
+ filename/title, making discover-and-assign workflows precise on large
26
+ upload sets.
27
+
28
+ ## [2.83.2] - 2026-06-27
29
+
30
+ ### Added
31
+
32
+ - **`pica_statement_ingest_document`** (`write:finances`, `approvalMode:"human"`) —
33
+ agent-driven royalty/streaming statement ingestion for non-CSV statements
34
+ (PDF/image/xlsx). The agent reads the document, extracts the line items, and
35
+ calls this tool; for a delegated (OAuth/grant) caller it does NOT write — it
36
+ raises a human-approval request, and only the org owner's approval replays it
37
+ into `royalty_payments`, reusing the existing CSV parser downstream (identity
38
+ resolution, currency normalisation, fingerprint dedup). CSV statements stay on
39
+ the deterministic importer (PICA #1332).
40
+ - **`pica_statements_pending`** (`read:finances`) — lists uploaded
41
+ `royalty_statement` documents the user hasn't imported yet (lean summaries, no
42
+ financial figures), so the agent can discover them; routes to
43
+ `pica_statement_ingest_document` (PICA #1332).
44
+ - **`pica_audio_assign`** (`write:files`) — attach an uploaded audio file to a
45
+ work and/or recording after the fact; pairs with the new
46
+ `pica_audio_query unassigned:true` filter so an agent can discover orphan
47
+ audio and give it a home. Wraps the existing org-validated
48
+ `PATCH /api/admin/audio-files/[id]`; no approval gate (low-risk, reversible)
49
+ (PICA #1337).
15
50
 
16
51
  ### Changed
17
52
 
53
+ - **Society-agnostic reads (ADR-278).** Bumped `@withpica/mcp-sdk` to `^2.0.0`,
54
+ whose read types replace the `prs`/`ppl`/`mlc` registration scalars with a
55
+ single `society_registrations[]` array, and updated the `pica_works_query`
56
+ tool descriptions so they no longer privilege PRS/PPL over other collection
57
+ societies. No tool was added or removed and no handler logic changed; this is
58
+ a republish so external stdio consumers receive the BREAKING SDK read shapes
59
+ already live on the hosted `/api/mcp`. Consumers reading `prs`/`ppl`/`mlc`
60
+ fields must migrate to `society_registrations[]`.
61
+ - **`pica_audio_query`** — new `unassigned` boolean filter returns audio with no
62
+ work and no recording (PICA #1337).
18
63
  - **`pica_documents_read`** — description now tells the agent to STOP retrying
19
64
  when `parsing_status` is `failed` and read the new `parse_error` field for the
20
65
  reason (e.g. a legacy `.xls` that must be re-saved as `.xlsx`), instead of
21
66
  polling a permanently-failing parse. Pairs with the server-side fix that makes
22
67
  the read return an honest `failed` + `parse_error` rather than looping in
23
68
  `processing` forever (ops_issue 8e197fe5). No tool/schema/SDK change.
69
+ - **`pica_documents_read`** — also points the agent at
70
+ `pica_statement_ingest_document` when the document is a royalty/streaming
71
+ statement (PICA #1332).
24
72
 
25
73
  ## [2.83.0] - 2026-06-25
26
74