@withpica/mcp-server 2.96.0 → 2.96.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 (41) hide show
  1. package/.claude/settings.local.json +5 -0
  2. package/CHANGELOG.md +28 -32
  3. package/README.md +2 -2
  4. package/dist/lib/changelog.generated.d.ts +2 -2
  5. package/dist/lib/changelog.generated.d.ts.map +1 -1
  6. package/dist/lib/changelog.generated.js +2 -2
  7. package/dist/lib/changelog.generated.js.map +1 -1
  8. package/dist/prompts/creator-question-atlas.d.ts.map +1 -1
  9. package/dist/prompts/creator-question-atlas.js +21 -11
  10. package/dist/prompts/creator-question-atlas.js.map +1 -1
  11. package/dist/tools/dashboard.d.ts.map +1 -1
  12. package/dist/tools/dashboard.js +0 -1
  13. package/dist/tools/dashboard.js.map +1 -1
  14. package/dist/tools/deprecations.d.ts +7 -14
  15. package/dist/tools/deprecations.d.ts.map +1 -1
  16. package/dist/tools/deprecations.js +7 -14
  17. package/dist/tools/deprecations.js.map +1 -1
  18. package/dist/tools/discovery.d.ts.map +1 -1
  19. package/dist/tools/discovery.js +13 -89
  20. package/dist/tools/discovery.js.map +1 -1
  21. package/dist/tools/import.d.ts.map +1 -1
  22. package/dist/tools/import.js +18 -1
  23. package/dist/tools/import.js.map +1 -1
  24. package/dist/tools/index.d.ts.map +1 -1
  25. package/dist/tools/index.js +4 -5
  26. package/dist/tools/index.js.map +1 -1
  27. package/dist/tools/metadata.d.ts.map +1 -1
  28. package/dist/tools/metadata.js +0 -20
  29. package/dist/tools/metadata.js.map +1 -1
  30. package/dist/tools/recovery-hints.d.ts.map +1 -1
  31. package/dist/tools/recovery-hints.js +0 -22
  32. package/dist/tools/recovery-hints.js.map +1 -1
  33. package/dist/tools/settings.d.ts.map +1 -1
  34. package/dist/tools/settings.js +2 -3
  35. package/dist/tools/settings.js.map +1 -1
  36. package/dist/tools/subscription.d.ts +13 -99
  37. package/dist/tools/subscription.d.ts.map +1 -1
  38. package/dist/tools/subscription.js +8 -403
  39. package/dist/tools/subscription.js.map +1 -1
  40. package/package.json +2 -2
  41. package/server.json +8 -2
@@ -0,0 +1,5 @@
1
+ {
2
+ "disabledMcpjsonServers": [
3
+ "pica-directory"
4
+ ]
5
+ }
package/CHANGELOG.md CHANGED
@@ -11,39 +11,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
 
12
12
  ## [Unreleased]
13
13
 
14
- ## [2.96.0] - 2026-08-26
15
-
16
- The MPP pay rail (spec 2026-08-24 WS-B): a new tool that mints a pay link,
17
- and `pica_subscription_status` learns to say what pica costs and what it is
18
- holding. Depends on `@withpica/mcp-sdk` 3.13.0 (`BillingResource`) — publish
19
- order matters, see `docs/releases/2026-08-26-mcp-release.md`.
20
-
21
- ### Added
22
-
23
- - **`pica_billing_pay`** — new tool, `scope: read:catalog`, `tier: read`
24
- (minting a link mints a capability, not a charge — nothing is billed until
25
- the link is paid). Wraps `POST /api/admin/billing/pay-link` via
26
- `PicaClient.billing.mintPayLink()`. Takes `offer` (`resident_month` | `unlock`
27
- | `settle`, required) and `entity_id` (required for `unlock`). Route
28
- refusals — billing disabled, nothing held on that work, offer no longer
29
- applies — come back as structured `isError` results with a `next_tool`
30
- pointer, not thrown errors. Added to the `subscription` tool category
31
- (renamed description: "what does pica cost, how do I pay, and what is pica
32
- holding — read your billing state and get a pay link"), the atlas
33
- (`"how do i pay pica?"` and its synonyms), and `RECOVERY_HINTS`.
34
- - **`pica_subscription_status` carries `pricing` and `held` when the route
35
- measured them.** `SubscriptionStatusFlat` gains optional `pricing` and
36
- `held` fields (omitted, not `null`, when absent — a `null` price would read
37
- as "free"). The composed `summary` sentence appends one further clause
38
- naming the free-runway/resident-included song counts and, when
39
- `held.count > 0`, how many findings across how many works are held pending
40
- payment.
41
- - **`pica_dashboard_briefing`'s `found` block description gains a `billing`
42
- clause**: when `billing.tab` is a string, state the tab total once and say
43
- that settling it clears what pica is holding; when `billing.pay` names a
44
- tool, offer to call it — mint a pay link, never charge unprompted.
14
+ ## [2.96.1] - 2026-08-31
45
15
 
46
- ### Changed
16
+ First npm release since 2.95.4 — carries everything below (the discover
17
+ changes have been live on the hosted connector since promote #2061; stdio
18
+ clients get them here). 2.96.0 was published from an unmerged branch and is
19
+ deprecated; do not use it.
20
+
21
+ ### Fixed
22
+
23
+ - **`pica_import_validate` surfaces warnings on a VALID result.** A warning
24
+ does not make a row invalid, so `valid: true` can carry warnings — e.g. a
25
+ works CSV mapped to `release_year` (release-level data; a newly created
26
+ work has no release) is receipted at row 0. The tool used to answer "All N
27
+ rows are valid. Ready to import" and drop the warning, so the agent
28
+ executed blind (2026-08-30 production finding, PR #2072 / promote #2074).
29
+ Warnings now ride the valid branch in the text and as `warnings` in the
30
+ structured data. The SDK's `ImportValidation.errors` rows carry the wire
31
+ field `error` (with `message` kept for normalising callers).
32
+
33
+ ### Changed
34
+
35
+ - **The ten tools slated for removal in 2.96.0 remain, `removal_target`
36
+ extended to 2.97.0** (`pica_recording_credits_bulk_update`,
37
+ `pica_statements_list`, `pica_documents_list`, `pica_documents_read`,
38
+ `pica_projects_list`, `pica_releases_list`, `pica_releases_get`,
39
+ `pica_releases_bulk_attach_tracks`,
40
+ `pica_releases_attach_track_by_identifier`, `pica_notes_list`). This
41
+ release exists to ship the validate-warnings fix; removing tools is its
42
+ own change with its own review, not a rider on it.
47
43
 
48
44
  - **`pica_discover({ query })` no longer scores the asker's own words as the entity.** Determiners, pronouns, prepositions and light verbs (`my`, `the`, `get`, `list`, `find` …) are dropped before ranking. "start my music catalogue and import my songs" led with three `pica_my_*` tools because "my" matched their domain segment; it now leads with the import tools. A query made only of such words matches nothing.
49
45
  - **Query mode carries the fresh-org import line.** The ADR-294 hint ("on a fresh or empty org, run `pica_dashboard_briefing` first … paste a spotify album or playlist link") was only on the no-args category map; it is now on every query response, hit or miss.
package/README.md CHANGED
@@ -191,9 +191,9 @@ Read tools are annotated read-only and are safe to call freely. Write tools repo
191
191
 
192
192
  `pica_storage_status`, `pica_storage_configure_start`, `pica_storage_disconnect`, `pica_delete_my_account`
193
193
 
194
- **subscription** — what does pica cost, how do I pay, and what is pica holding — read your billing state and get a pay link
194
+ **subscription** — view your billing state, manage your subscription, and pick a tier
195
195
 
196
- `pica_subscription_status`, `pica_billing_pay`, `pica_subscription_manage`
196
+ `pica_subscription_status`, `pica_subscription_manage`
197
197
 
198
198
  **profile** — manage your user, organisation, and directory profile
199
199