@withpica/mcp-server 2.96.2 → 2.97.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.
- package/CHANGELOG.md +53 -0
- package/README.md +1 -1
- 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/tools/arg-aliases.d.ts +59 -0
- package/dist/tools/arg-aliases.d.ts.map +1 -0
- package/dist/tools/arg-aliases.js +91 -0
- package/dist/tools/arg-aliases.js.map +1 -0
- package/dist/tools/audio-files.d.ts.map +1 -1
- package/dist/tools/audio-files.js +38 -7
- package/dist/tools/audio-files.js.map +1 -1
- package/dist/tools/deprecations.d.ts +7 -0
- package/dist/tools/deprecations.d.ts.map +1 -1
- package/dist/tools/deprecations.js +17 -10
- package/dist/tools/deprecations.js.map +1 -1
- package/dist/tools/discovery.d.ts.map +1 -1
- package/dist/tools/discovery.js +87 -65
- package/dist/tools/discovery.js.map +1 -1
- package/dist/tools/metadata.d.ts.map +1 -1
- package/dist/tools/metadata.js +17 -10
- package/dist/tools/metadata.js.map +1 -1
- package/dist/tools/multimedia.d.ts.map +1 -1
- package/dist/tools/multimedia.js +33 -5
- package/dist/tools/multimedia.js.map +1 -1
- package/dist/tools/notes.d.ts.map +1 -1
- package/dist/tools/notes.js +24 -2
- package/dist/tools/notes.js.map +1 -1
- package/dist/tools/people.d.ts.map +1 -1
- package/dist/tools/people.js +1 -0
- package/dist/tools/people.js.map +1 -1
- package/dist/tools/public-filter.d.ts.map +1 -1
- package/dist/tools/public-filter.js +1 -1
- package/dist/tools/public-filter.js.map +1 -1
- package/dist/tools/recovery-hints.d.ts.map +1 -1
- package/dist/tools/recovery-hints.js +9 -4
- package/dist/tools/recovery-hints.js.map +1 -1
- package/dist/tools/sessions.d.ts.map +1 -1
- package/dist/tools/sessions.js +25 -3
- package/dist/tools/sessions.js.map +1 -1
- package/dist/tools/wrapped-args-envelope.d.ts +58 -0
- package/dist/tools/wrapped-args-envelope.d.ts.map +1 -0
- package/dist/tools/wrapped-args-envelope.js +66 -0
- package/dist/tools/wrapped-args-envelope.js.map +1 -0
- package/package.json +3 -3
- package/server.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,59 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
|
|
12
12
|
## [Unreleased]
|
|
13
13
|
|
|
14
|
+
PR #2118 (`fix/avatar-import-path-2026-09-03`) is merged into the release branch, so its changes ship in the version below; publish in the order mcp-utils → mcp-sdk → mcp-server.
|
|
15
|
+
|
|
16
|
+
## [2.97.0] - 2026-09-04
|
|
17
|
+
|
|
18
|
+
⚠️ Publish order: `@withpica/mcp-sdk` 3.14.0 and `@withpica/mcp-utils` 1.29.0
|
|
19
|
+
must be on npm before this release — the dependency floors are now
|
|
20
|
+
`^3.14.0` / `^1.29.0` (this release imports `pageEnvelope`, which only
|
|
21
|
+
exists from mcp-utils 1.29.0; a clean install against 1.28.0 breaks at
|
|
22
|
+
runtime — the 2.96.2 uninstallable incident).
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- `pica_multimedia_import_url` accepts `person_id` (sets the person's profile image) and its summary names the outcome — `Imported from URL (via)`, profile-image set/NOT set, work link (PR #2118, merged into this release). Page URLs are followed to their `og:image`.
|
|
27
|
+
|
|
28
|
+
- **Per-tool argument aliasing for `pica_execute`** (`arg-aliases.ts`, D1
|
|
29
|
+
2026-09-03) — `applyArgAliases` renames a tool's OWN entity id (or an
|
|
30
|
+
explicit `TOOL_ARG_ALIASES` entry, e.g. `pica_skill_get`'s `skill` /
|
|
31
|
+
`skill_name`) to the schema's real required field name, structurally by
|
|
32
|
+
domain (`DOMAIN_ID_ALIASES`) — never a foreign entity's id, never
|
|
33
|
+
overwriting a value already present, and left untouched when more than
|
|
34
|
+
one candidate is present. Fixes the wrong diagnosis `pica_execute` gave in
|
|
35
|
+
all 36 logged cases since July, where an agent sent e.g. `audio_file_id`
|
|
36
|
+
to `pica_audio_update` and was told the client had dropped the field in
|
|
37
|
+
transit.
|
|
38
|
+
- **Shared `WRAPPED_ARGS_MISSING` envelope builder**
|
|
39
|
+
(`wrapped-args-envelope.ts`) — both guards that can reject a
|
|
40
|
+
`pica_execute` call before dispatch (the plain `required`-list guard, and
|
|
41
|
+
the `requiredOneOf` one-of-N guard covering `*_inspect` / `pica_search` /
|
|
42
|
+
bookings / licensing / shows / royalties tools) now build their message
|
|
43
|
+
and `structuredContent` through one function, naming
|
|
44
|
+
`unrecognised_fields` and `aliases_applied` in **both** the text block and
|
|
45
|
+
`structuredContent` instead of asserting "client-side transport loss" for
|
|
46
|
+
a non-empty args object. Empty args still name transport loss — there's
|
|
47
|
+
nothing else an empty resolved-args object could be.
|
|
48
|
+
- **`offset` on `pica_audio_query`, `pica_notes_query`, `pica_sessions_query`**
|
|
49
|
+
(Task 10), each returning a `page` envelope built with
|
|
50
|
+
`@withpica/mcp-utils`'s `pageEnvelope()`. Audio and sessions fall back to
|
|
51
|
+
"page was full" (no total available); notes uses the route's real
|
|
52
|
+
`COUNT` for an exact `has_more`. A new `query-offset-parity` registry
|
|
53
|
+
guard test pins which remaining `_query` tools still lack `offset` so
|
|
54
|
+
each can be fixed and measured in isolation.
|
|
55
|
+
|
|
56
|
+
### Changed
|
|
57
|
+
|
|
58
|
+
- **Duplicate-release recovery hints point at a fix, not a dead end.**
|
|
59
|
+
`RELEASE_ALREADY_EXISTS` on `pica_releases_create` /
|
|
60
|
+
`pica_releases_create_with_tracks` now names `pica_releases_update` /
|
|
61
|
+
`pica_releases_attach_track` (the message already carries the existing
|
|
62
|
+
release's id) instead of `pica_releases_query`; `pica_releases_attach_track`'s
|
|
63
|
+
own `RELEASE_ALREADY_EXISTS` (a different release already holds the UPC)
|
|
64
|
+
points at `pica_releases_inspect`.
|
|
65
|
+
- **Deprecated alias removal deferred to 2.98.0** — see `metadata.ts`.
|
|
66
|
+
|
|
14
67
|
## [2.96.2] - 2026-09-02
|
|
15
68
|
|
|
16
69
|
The MPP pay rail (spec 2026-08-24 WS-B): a new tool that mints a pay link,
|
package/README.md
CHANGED
|
@@ -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.97.0`. © 2024-2026 Withpica Ltd. All rights reserved. MIT licensed.
|