@withpica/mcp-server 2.96.1 → 2.96.2
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/CHANGELOG.md +51 -0
- package/README.md +4 -4
- package/dist/lib/changelog.generated.d.ts +2 -2
- package/dist/lib/changelog.generated.d.ts.map +1 -1
- package/dist/lib/changelog.generated.js +2 -2
- package/dist/lib/changelog.generated.js.map +1 -1
- package/dist/prompts/creator-question-atlas.d.ts.map +1 -1
- package/dist/prompts/creator-question-atlas.js +11 -0
- package/dist/prompts/creator-question-atlas.js.map +1 -1
- package/dist/tools/assets.d.ts.map +1 -1
- package/dist/tools/assets.js +18 -0
- package/dist/tools/assets.js.map +1 -1
- package/dist/tools/dashboard.d.ts.map +1 -1
- package/dist/tools/dashboard.js +1 -0
- package/dist/tools/dashboard.js.map +1 -1
- package/dist/tools/deprecations.d.ts +14 -7
- package/dist/tools/deprecations.d.ts.map +1 -1
- package/dist/tools/deprecations.js +14 -7
- package/dist/tools/deprecations.js.map +1 -1
- package/dist/tools/discovery.d.ts +5 -0
- package/dist/tools/discovery.d.ts.map +1 -1
- package/dist/tools/discovery.js +121 -13
- package/dist/tools/discovery.js.map +1 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +15 -4
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/metadata.d.ts.map +1 -1
- package/dist/tools/metadata.js +20 -0
- package/dist/tools/metadata.js.map +1 -1
- package/dist/tools/recordings.d.ts +13 -0
- package/dist/tools/recordings.d.ts.map +1 -1
- package/dist/tools/recordings.js +96 -33
- package/dist/tools/recordings.js.map +1 -1
- package/dist/tools/recovery-hints.d.ts.map +1 -1
- package/dist/tools/recovery-hints.js +46 -0
- package/dist/tools/recovery-hints.js.map +1 -1
- package/dist/tools/settings.d.ts.map +1 -1
- package/dist/tools/settings.js +3 -2
- package/dist/tools/settings.js.map +1 -1
- package/dist/tools/subscription.d.ts +99 -13
- package/dist/tools/subscription.d.ts.map +1 -1
- package/dist/tools/subscription.js +403 -8
- package/dist/tools/subscription.js.map +1 -1
- package/package.json +3 -3
- package/server.json +2 -2
- package/.claude/settings.local.json +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,57 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
|
|
12
12
|
## [Unreleased]
|
|
13
13
|
|
|
14
|
+
## [2.96.2] - 2026-09-02
|
|
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`. (This entry
|
|
20
|
+
was authored as 2.96.0, which npm deprecated after 2.96.1 shipped from
|
|
21
|
+
develop without `pica_billing_pay`; the branch re-releases on top of 2.96.1
|
|
22
|
+
as 2.96.2, and also carries the stdio relay change below.)
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- **`pica_billing_pay`** — new tool, `scope: read:catalog`, `tier: read`
|
|
27
|
+
(minting a link mints a capability, not a charge — nothing is billed until
|
|
28
|
+
the link is paid). Wraps `POST /api/admin/billing/pay-link` via
|
|
29
|
+
`PicaClient.billing.mintPayLink()`. Takes `offer` (`resident_month` | `unlock`
|
|
30
|
+
| `settle`, required) and `entity_id` (required for `unlock`). Route
|
|
31
|
+
refusals — billing disabled, nothing held on that work, offer no longer
|
|
32
|
+
applies — come back as structured `isError` results with a `next_tool`
|
|
33
|
+
pointer, not thrown errors. Added to the `subscription` tool category
|
|
34
|
+
(renamed description: "what does pica cost, how do I pay, and what is pica
|
|
35
|
+
holding — read your billing state and get a pay link"), the atlas
|
|
36
|
+
(`"how do i pay pica?"` and its synonyms), and `RECOVERY_HINTS`.
|
|
37
|
+
- **`pica_subscription_status` carries `pricing` and `held` when the route
|
|
38
|
+
measured them.** `SubscriptionStatusFlat` gains optional `pricing` and
|
|
39
|
+
`held` fields (omitted, not `null`, when absent — a `null` price would read
|
|
40
|
+
as "free"). The composed `summary` sentence appends one further clause
|
|
41
|
+
naming the free-runway/resident-included song counts and, when
|
|
42
|
+
`held.count > 0`, how many findings across how many works are held pending
|
|
43
|
+
payment.
|
|
44
|
+
- **`pica_dashboard_briefing`'s `found` block description gains a `billing`
|
|
45
|
+
clause**: when `billing.tab` is a string, state the tab total once and say
|
|
46
|
+
that settling it clears what pica is holding; when `billing.pay` names a
|
|
47
|
+
tool, offer to call it — mint a pay link, never charge unprompted.
|
|
48
|
+
|
|
49
|
+
### Changed
|
|
50
|
+
|
|
51
|
+
- **stdio relay forwards a narrowed result projection** — after a successful
|
|
52
|
+
tool call the audit entry now carries `result_projection` (built by
|
|
53
|
+
`narrowToolResultForRefs` from `@withpica/mcp-utils` ≥1.28.0), so the
|
|
54
|
+
relay ingest can attribute import wins: `pica_import_streaming_link` /
|
|
55
|
+
`pica_import_youtube_link` created-work ids live in the RESULT and their
|
|
56
|
+
params carry no id, which is why stdio imports recorded `entity_refs:
|
|
57
|
+
null` and were invisible to the weekly roundup's wins beat. Only
|
|
58
|
+
allow-listed uuid arrays travel; every other tool sends
|
|
59
|
+
`result_projection: null` — nothing else on the wire changes. (The same
|
|
60
|
+
entry field also rides `makeHttpAuditFn`'s POST to `/api/mcp/audit`,
|
|
61
|
+
which destructures a fixed field list and ignores it.)
|
|
62
|
+
⚠️ Publish order: `@withpica/mcp-utils` 1.28.0 must be on npm before this
|
|
63
|
+
release (2.96.2) — the dependency floor is `^1.28.0`.
|
|
64
|
+
|
|
14
65
|
## [2.96.1] - 2026-08-31
|
|
15
66
|
|
|
16
67
|
First npm release since 2.95.4 — carries everything below (the discover
|
package/README.md
CHANGED
|
@@ -65,7 +65,7 @@ Read tools are annotated read-only and are safe to call freely. Write tools repo
|
|
|
65
65
|
|
|
66
66
|
## Tools
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
330 tools, grouped below by the taxonomy `pica_discover` uses. The server's own `tools/list` is authoritative — not every registered tool is filed under a category yet, so the names below are a map, not a census.
|
|
69
69
|
|
|
70
70
|
**works** — manage your musical works
|
|
71
71
|
|
|
@@ -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** —
|
|
194
|
+
**subscription** — what does pica cost, how do I pay, and what is pica holding — read your billing state and get a pay link
|
|
195
195
|
|
|
196
|
-
`pica_subscription_status`, `pica_subscription_manage`
|
|
196
|
+
`pica_subscription_status`, `pica_billing_pay`, `pica_subscription_manage`
|
|
197
197
|
|
|
198
198
|
**profile** — manage your user, organisation, and directory profile
|
|
199
199
|
|
|
@@ -285,4 +285,4 @@ Read tools are annotated read-only and are safe to call freely. Write tools repo
|
|
|
285
285
|
|
|
286
286
|
---
|
|
287
287
|
|
|
288
|
-
Generated for `@withpica/mcp-server@2.
|
|
288
|
+
Generated for `@withpica/mcp-server@2.96.2`. © 2024-2026 Withpica Ltd. All rights reserved. MIT licensed.
|