@withpica/mcp-server 2.24.0 → 2.25.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 +22 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/prompts/index.js +3 -3
- package/dist/resources/llms-primer.d.ts +1 -1
- package/dist/resources/llms-primer.d.ts.map +1 -1
- package/dist/resources/llms-primer.js +1 -1
- package/dist/server-instructions.d.ts +1 -1
- package/dist/server-instructions.d.ts.map +1 -1
- package/dist/server-instructions.js +1 -1
- package/dist/tools/collaborators.js +1 -1
- package/dist/tools/collaborators.js.map +1 -1
- package/dist/tools/discovery.d.ts.map +1 -1
- package/dist/tools/discovery.js +2 -12
- package/dist/tools/discovery.js.map +1 -1
- package/dist/tools/duplicates.d.ts.map +1 -1
- package/dist/tools/duplicates.js +2 -1
- package/dist/tools/duplicates.js.map +1 -1
- package/dist/tools/enrichment.d.ts +0 -17
- package/dist/tools/enrichment.d.ts.map +1 -1
- package/dist/tools/enrichment.js +22 -179
- package/dist/tools/enrichment.js.map +1 -1
- package/dist/tools/index.d.ts +7 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +10 -7
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/integrations.d.ts.map +1 -1
- package/dist/tools/integrations.js +19 -7
- package/dist/tools/integrations.js.map +1 -1
- package/dist/tools/metadata.d.ts.map +1 -1
- package/dist/tools/metadata.js +12 -43
- package/dist/tools/metadata.js.map +1 -1
- package/dist/tools/people.d.ts +0 -15
- package/dist/tools/people.d.ts.map +1 -1
- package/dist/tools/people.js +6 -106
- package/dist/tools/people.js.map +1 -1
- package/dist/tools/recovery-hints.d.ts.map +1 -1
- package/dist/tools/recovery-hints.js +7 -101
- package/dist/tools/recovery-hints.js.map +1 -1
- package/dist/tools/search.js +1 -1
- package/dist/tools/search.js.map +1 -1
- package/dist/tools/works.d.ts.map +1 -1
- package/dist/tools/works.js +21 -3
- package/dist/tools/works.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
11
11
|
|
|
12
12
|
## [Unreleased]
|
|
13
13
|
|
|
14
|
+
## [2.25.0] - 2026-04-22
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- **`openWorldHint: true` on 12 external-delivery tools.** Previously hardcoded `openWorldHint: false` on every tool annotation (`src/tools/index.ts` metadata + fallback paths). Tools that reach external recipients — email sends (`pica_collaborators_invite`, `pica_collaborators_invite_bulk`, `pica_collaborators_invite_resend`, `pica_send_message`, `pica_send_resend`, `pica_split_sheet_send`, `pica_submit_license_enquiry`), Telegram posts (`pica_notify_user`, `pica_notify_user_at`, `pica_notify_person`), team-comms routing (`pica_submit_feedback`), and publicly-reachable URL minting (`pica_share_links_create`) — now correctly signal `openWorldHint: true` per the MCP ToolAnnotations spec, letting MCP clients show appropriate confirmation UI for external side effects. Implementation: `ToolMetadata` gains optional `open_world?: boolean`; the annotation builder reads `metadata.open_world ?? false`. No behaviour change beyond the annotation payload. Addresses Anthropic directory-listing reviewer feedback.
|
|
19
|
+
- **ADR-154 F14 follow-up: six dangling `pica_enrich_*` references in `pica_integrations_status` response.** The F14 completion-hint sweep missed `mcp-server/src/tools/integrations.ts` — its `platformReads` list was pointing agents at six tool names that never existed or had already been removed (`pica_enrich_work_spotify`, `pica_enrich_recording_youtube`, `pica_enrich_work_musicbrainz`, `pica_enrich_work_mlc`, `pica_enrich_person_isni`, `pica_enrich_recording_discogs`). Repointed each entry at the correct post-ADR-179 resolver shape (e.g. `pica_resolve_work with sources: ['mlc']`), and updated the free-text summary's trailing "use the `pica_enrich_*` tools" sentence to name the three resolvers. No behaviour change beyond the string payload.
|
|
20
|
+
- **ADR-174 Phase 2c — inverse phantom in `pica_works_update` (works slice).** Three jsonb compliance fields (`ai_disclosure`, `provenance_attestation`, `training_rights`) are satellite-routed to `work_licensing` via `WORK_SATELLITE_FIELDS` and accepted by both the HTTP route allow-list and the service layer, but were missing from `WORK_WRITE_PROPERTIES`. Agents following the `pica_works_update with ai_disclosure: ...` completion hint at works.ts:577 were hitting schema-level silent-drop (or strict-validator 400s). Added all three properties to the write schema with shapes copy-pasted from the parallel fields on `pica_recordings_update` (recordings.ts:193). Tool description updated to distinguish audio-trait satellite fields (still not exposed) from the three compliance satellite fields (now exposed). Full audit of the other 22 customer-MCP write tools yielded zero further inverse phantoms — see `docs/audits/2026-04-21-mcp-inverse-phantom-audit.md`.
|
|
21
|
+
|
|
22
|
+
### Removed
|
|
23
|
+
|
|
24
|
+
- **ADR-154 F13: seven deprecated per-source enrich tools removed.** `pica_enrich_work_{mlc,musicbrainz,discogs,spotify,youtube}` and `pica_people_enrich_{isni,musicbrainz}` (tombstoned since ADR-179 Phase 1/2, 2026-04-17) are no longer registered — every call has returned a `-32070 TOOL_DEPRECATED` error for a full minor cycle, ending the one-minor deprecation window per ADR-179 Decision 2. Callers must use `pica_resolve_work(sources: [...])` or `pica_resolve_person(sources: [...])` instead; the `tools/list`, `metadata`, `recovery-hints`, and category-`discovery` surfaces shed the seven stale entries in this release. Downstream impact: clients that hardcoded the tool names now get `tools/list`-level absence rather than a deprecation envelope — fail-fast instead of fail-with-suggestion.
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- **`pica_merge_duplicates` description + ADR-151 freshness gate response are now agent-parseable.** Tool description at `src/tools/duplicates.ts:47-49` now notes the 7-day `authenticated_at` re-auth window so agents can anticipate the gate before calling. The gate response body at `src/tools/index.ts:845-857` (shared across all 14 destructive tools) is now a structured JSON payload — `{ status: "reverification_required", message, retry_after: "pica_sign_in", retry_safe: true, reason: "session_older_than_7_days" }` — returned via both `content[0].text` and `structuredContent`. The natural-language `message` field also appends ", then retry this exact call" so a pure-text-reading client still gets the next-step signal. Agents no longer need to parse English to know that the next call will succeed after `pica_sign_in`. Gate logic is unchanged; ADR-151 behaviour is preserved. CEO-reported via Claude Desktop session 2026-04-21 (Item 5).
|
|
29
|
+
- **ADR-154 F14: completion-hint sweep for the seven removed tools.** Updated every `→ then:` and hint-string reference that pointed at the F13 tombstones across `enrichment.ts`, `people.ts` (3 sites), `collaborators.ts`, `works.ts` (2 sites), `search.ts`, `server-instructions.ts`, `prompts/index.ts` (3 sites), and `resources/llms-primer.ts`. Agents discovering tools via descriptions will no longer be trained toward dead tool names. The ADR-179 "Replaces the five/two per-source tools" phrasing is gone from the resolver descriptions too — resolvers stand on their own now.
|
|
30
|
+
|
|
31
|
+
### Added
|
|
32
|
+
|
|
33
|
+
- **ADR-193 Surface 4: `pica_enrichment_propose` accepts `proposal_action: "create"`.** Closes the reserved-but-unwired create path from ADR-178 Phase 1. The tool schema now accepts `entity_type: "recording" | "agreement" | "person"` paired with `parent_entity_type` + `parent_entity_id` for create proposals. Apply-path branches on `rule_id === "agent_research"` and routes to `recordingsService.create` (parent required; `work_id` linkage), `agreementsService.create` (optional work parent, linked via `agreementWorksService.addWork` after create), or `peopleAdminService.create` (standalone — people have no parent FK). Recording creates seed `field_sources` verbatim from `proposal.sources[].url`, preserving URI schemes (gmail://, gdrive://, notion://, file://, telegram://, user://, web://) per ADR-193 AC 5. Agreements + people don't carry `field_sources` on the main table today; provenance URIs are captured in `resolution_note` until a follow-up migration adds the column. Work + publisher creation remain explicitly out of scope (dedup-critical — deferred to future ADR). Migration `20260422_01_adr193_proposal_parent_fields` adds nullable `parent_entity_type` + `parent_entity_id` columns with a CHECK pair + partial index for the review-queue scan. Legacy `artist_title_to_youtube` create rule is untouched (it continues to overload `entity_id` as the parent work id). 4 new service-layer tests green; total proposal-service suite 42/42.
|
|
34
|
+
|
|
14
35
|
## [2.24.0] - 2026-04-21
|
|
15
36
|
|
|
16
37
|
### Fixed
|
|
@@ -28,7 +49,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
28
49
|
- **ADR-193 Surface 2: `gap_hints` envelope on 4 read tools.** `pica_works_inspect`, `pica_agreements_inspect`, `pica_people_inspect`, and `pica_enrichment_proposals_list` now emit an optional `gap_hints[]` field on `structuredContent` when a real gap is present. Each hint is capability-named (ADR-190 Principle 2 — `email_search` / `drive_search` / `filesystem_search` / `notes_search` / `calendar_search` / `web_search`, never vendor names), carries a concrete `query_shape`, and pre-fills the `then_call: "pica_enrichment_propose"` with the exact `then_args_shape` the agent should emit back (including URI-citation scaffolding from Surface 3). Gated by `MCP_GAP_HINTS_ENABLED=1` — off by default in prod. Empty array / omitted envelope when there's no real gap. Flat additive — the existing `CompletionHint` pipeline on `works_inspect` is untouched. Bundled: `enrich-metadata` prompt references the peer-connector pattern and points the agent at `gap_hints`.
|
|
29
50
|
- **ADR-185 Part 1: three new session-auth-only tools.** `pica_create_agent_identity`, `pica_issue_agent_grant`, `pica_list_my_agent_grants`. Back a user-issued agent-identity + scoped-grant primitive — the substrate for Parts 2 (settings UI) and 3 (per-write provenance stamping). All three require `write:agent_identity` scope AND session-auth (raw API key / OAuth); the HTTP MCP dispatcher refuses `pica_grant_` callers with a structured `reason: "session_auth_required"` error before execution per AC 12. Subject is always the authenticated user — caller-supplied `user_id` is dropped per ADR-184 rule 2 / ADR-185 rule 1. Grant tokens use the format `pica_grant_<64 hex>` and are hashed at rest with HMAC-SHA256 + `API_KEY_HASH_PEPPER` (same scheme as api_keys per ADR-185 line 193 + ADR-167 D-5).
|
|
30
51
|
- **ADR-185 Part 2: two new session-auth-only tools.** `pica_revoke_agent_grant` (DELETE `/admin/agent-grants/:id`, idempotent, 404 masks ownership failures) and `pica_get_agent_activity` (GET `/admin/agent-activity`, paginated, optionally filtered by identity or grant). Both appended to `SESSION_AUTH_ONLY_TOOLS` in the HTTP MCP dispatcher and to the `write:agent_identity` scope bucket. Together with the Part 1 trio this completes the five-tool agent-identity surface the ADR Scope requires. Revocation takes effect on the next request (AC: within 60s — `resolveGrantToken` checks `revoked_at` on every call, no cache layer).
|
|
31
|
-
- **ADR-185 Part 3 passes 1-5
|
|
52
|
+
- **ADR-185 Part 3 passes 1-5 (main-app wrappers consumed by this package's writes).** Part 3 layers two complementary wrappers (`withAgentActionStamp` / `withAgentActionStampFirst`) over existing admin-route write handlers so every per-grant write records a row in `mcp_agent_actions` for audit + revoke-replay. The wrappers live in the main app (`lib/services/agent-action-stamp.ts`); this package's stdio tools transparently inherit the behaviour when they call the wrapped admin routes. Families covered across the five passes: works/recordings/people/agreements/releases/notes creates; notes_delete; sessions_create; share_links_create; projects_create; multimedia_create; recording_splits_create; works_update; recordings_update; people_update; agreements_update; projects_update; notes_update; releases_update; people_delete; publishers_create; the six hard-delete families (works/recordings/agreements/projects/sessions/releases) via the stamp-first variant; and pass 5's `pica_projects_attach_works` (project_works insert wrapped, GET + POST migrated from `requireAuth` + `getUserProfile` to `withOrgContext` for consistency). `pica_sessions_update` remains deferred — action-branching route (start/complete/cancel + participant add/remove + regular update) needs a dedicated design slice before wrapping.
|
|
32
53
|
- **New tool** `pica_submit_feedback`: agent-native feedback submission. Routes bug_report→devops, feature_request→ceo, question→comms, other→category-mapped. Requires `write:feedback` scope. Subject is always the authenticated user per ADR-184 rule 2. (ADR-184 slice 8 — landed on develop 2026-04-19 post-2.23.0 publish.)
|
|
33
54
|
- **ADR-189 Phase 3: two new identity-capture tools.** `pica_update_my_identity` (stage_name / IPI / ISNI / IPN / PRO) and `pica_update_organisation_profile` (org_type / display_name / tagline / ipi_number). Both admin-scoped, both `retry_safe: true` (idempotent upserts — re-applying the same IPI leaves the row in the same state). Subject derived from auth (no `user_id` / `organisation_id` parameters — ADR-184 rule 2). After the identity write, `pica_update_my_identity` re-runs cross-org discovery and returns the count of newly-visible credits / custody / artist-link rows so the agent can surface "found N more — claim them?" in the same conversation turn. Rate-limited at 20 writes/hour/user via `checkActionRateLimit` (R1 mitigation). Admin routes (`POST /api/admin/my-identity`, `POST /api/admin/organisation-profile`) wrap in `withAgentActionStamp` when the caller presents an agent grant (ADR-185 Part 3) — UPDATE compensation captures pre-write state via read-before-write and PATCHes the row back on stamp failure, or deletes a lazy-created person row.
|
|
34
55
|
|
package/dist/config.d.ts
CHANGED
package/dist/config.js
CHANGED
|
@@ -11,7 +11,7 @@ import { readCredentials, getDefaultCredentialsPath, } from "@withpica/mcp-utils
|
|
|
11
11
|
// from mcp-server/dist/config.js. Past drift incidents: 2026-04-08
|
|
12
12
|
// (banner 2.5.0 vs npm 2.6.1), 2026-04-19 ADR-181 Phase 2 (banner 2.6.2
|
|
13
13
|
// vs npm 2.22.0). ADR-180 Phase 2 collapses the duplication.
|
|
14
|
-
export const VERSION = "2.
|
|
14
|
+
export const VERSION = "2.25.0";
|
|
15
15
|
export function loadConfig() {
|
|
16
16
|
const credentialsPath = process.env.PICA_CREDENTIALS_PATH || getDefaultCredentialsPath();
|
|
17
17
|
const debug = process.env.DEBUG === "true" || process.env.DEBUG === "1";
|
package/dist/prompts/index.js
CHANGED
|
@@ -327,7 +327,7 @@ Ask me what I've got and help me get started with whichever method I choose.
|
|
|
327
327
|
|
|
328
328
|
After importing, guide me through closing the loop on each work:
|
|
329
329
|
- Who wrote these songs? (pica_credits_update — add writers and set splits)
|
|
330
|
-
- Are there publishing details registered? (
|
|
330
|
+
- Are there publishing details registered? (pica_resolve_work with sources: ['mlc'] — check MLC)
|
|
331
331
|
- Do I have audio files to upload? (pica_audio_presigned_upload — for analysis)
|
|
332
332
|
- What identifiers are missing? (pica_works_inspect with sections: ["enrichment"] — check coverage)
|
|
333
333
|
|
|
@@ -368,7 +368,7 @@ For the work, check every aspect of completeness:
|
|
|
368
368
|
For each gap found, offer a specific action:
|
|
369
369
|
- Missing credits → "Want me to add writers? Who wrote this song?"
|
|
370
370
|
- Splits not set → "What's the split between the writers?"
|
|
371
|
-
- No ISWC → "Want me to check MLC for this work?" (
|
|
371
|
+
- No ISWC → "Want me to check MLC for this work?" (pica_resolve_work with sources: ['mlc'])
|
|
372
372
|
- No ISRC → "Do you have a recording with an ISRC for this?"
|
|
373
373
|
- No audio → "Got a master recording to upload?"
|
|
374
374
|
- Audio not analysed → "Want me to analyse the audio for BPM, key, and mood?"
|
|
@@ -399,7 +399,7 @@ Steps:
|
|
|
399
399
|
1. pica_works_query — list works, then use pica_works_inspect with sections: ["registration"] to check registration status across PROs (PRS, MCPS, PPL, MLC)
|
|
400
400
|
2. For works that aren't registered, use pica_works_inspect with sections: ["registration", "completeness"] on a sample to understand what's blocking registration
|
|
401
401
|
3. Identify common blockers:
|
|
402
|
-
- Missing ISWC (needed for PRS/MCPS) → suggest
|
|
402
|
+
- Missing ISWC (needed for PRS/MCPS) → suggest pica_resolve_work with sources: ['mlc']
|
|
403
403
|
- Missing ISRC (needed for PPL) → check if recordings have ISRCs
|
|
404
404
|
- Missing credits (needed for all) → suggest adding writers
|
|
405
405
|
- Missing identifiers on people (IPI needed for PRO registration) → suggest enrichment
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const WITHPICA_PRIMER = "# PICA \u2014 Music Catalog Management Platform\n\nPICA helps music creators and publishers manage their catalog metadata,\ntrack royalties, and prepare works for registration with collection societies.\n\n## Core Entities\n\n### Work\nA musical composition (song, piece, library track). The central entity.\n- Has: title, ISWC, work_type (song/library/demo), genre, mood, BPM, key\n- Relationships: has many credits (writers/composers), has many recordings,\n has many agreements, may have audio files, may have multimedia\n- Identifiers: ISWC (global), Tunecode (PRS), CAE/IPI (writer)\n\n### Person\nA human involved in music \u2014 writer, composer, performer, producer, publisher.\n- Has: name, email, IPI number, ISNI, MusicBrainz ID, PRO affiliation\n- Relationships: credited on many works, may have recordings, may have agreements\n- Can be enriched via: ISNI, MusicBrainz, Wikidata\n\n### Recording\nA specific audio capture of a work \u2014 the master/sound recording side.\n- Has: title, ISRC, duration, artist, label\n- Relationships: belongs to one work, has credits (performers/producers)\n- Distinct from the work: a work is the composition, a recording is the performance\n\n### Agreement\nA contract governing rights to works \u2014 publishing, sync, distribution.\n- Has: title, type, parties, dates, territory, terms\n- Relationships: covers many works\n- Types: publishing_admin, co_publishing, master_recording, sub_publishing,\n admin_only, distribution, library_music, production, artist_contract,\n termination, report, other\n\n### Import Document\nA canonical representation of an ingested file (royalty statement, CSV import).\n- Has: source (16 formats \u2014 PROs: PRS, ASCAP, BMI, SESAC, SOCAN, APRA, GEMA, SACEM; NROs: PPL, SoundExchange, GVL; Mechanical: MCPS; Distributors: DistroKid, TuneCore, CD Baby; Revenue: YouTube Content ID), period, line items, field mappings, warnings\n- Immutable snapshot of the import event \u2014 not a live view\n- Use pica_import_documents_list to find them, pica_import_documents_get to read\n\n## First Connection\n\nIf you're connecting to this workspace for the first time or don't know where to start,\ninvoke the **workspace-autopilot** prompt. It reads the workspace state and routes you\nto the most valuable workflow automatically.\n\n## Recommended Workflows\n\n1. **Catalog audit**: pica_catalog_stats \u2192 pica_works_query({ health_filter: \"needs_attention\" }) \u2192 pica_works_inspect({ sections: [\"completeness\"] })\n2. **Enrichment**: pica_enrichment_candidates \u2192
|
|
1
|
+
export declare const WITHPICA_PRIMER = "# PICA \u2014 Music Catalog Management Platform\n\nPICA helps music creators and publishers manage their catalog metadata,\ntrack royalties, and prepare works for registration with collection societies.\n\n## Core Entities\n\n### Work\nA musical composition (song, piece, library track). The central entity.\n- Has: title, ISWC, work_type (song/library/demo), genre, mood, BPM, key\n- Relationships: has many credits (writers/composers), has many recordings,\n has many agreements, may have audio files, may have multimedia\n- Identifiers: ISWC (global), Tunecode (PRS), CAE/IPI (writer)\n\n### Person\nA human involved in music \u2014 writer, composer, performer, producer, publisher.\n- Has: name, email, IPI number, ISNI, MusicBrainz ID, PRO affiliation\n- Relationships: credited on many works, may have recordings, may have agreements\n- Can be enriched via: ISNI, MusicBrainz, Wikidata\n\n### Recording\nA specific audio capture of a work \u2014 the master/sound recording side.\n- Has: title, ISRC, duration, artist, label\n- Relationships: belongs to one work, has credits (performers/producers)\n- Distinct from the work: a work is the composition, a recording is the performance\n\n### Agreement\nA contract governing rights to works \u2014 publishing, sync, distribution.\n- Has: title, type, parties, dates, territory, terms\n- Relationships: covers many works\n- Types: publishing_admin, co_publishing, master_recording, sub_publishing,\n admin_only, distribution, library_music, production, artist_contract,\n termination, report, other\n\n### Import Document\nA canonical representation of an ingested file (royalty statement, CSV import).\n- Has: source (16 formats \u2014 PROs: PRS, ASCAP, BMI, SESAC, SOCAN, APRA, GEMA, SACEM; NROs: PPL, SoundExchange, GVL; Mechanical: MCPS; Distributors: DistroKid, TuneCore, CD Baby; Revenue: YouTube Content ID), period, line items, field mappings, warnings\n- Immutable snapshot of the import event \u2014 not a live view\n- Use pica_import_documents_list to find them, pica_import_documents_get to read\n\n## First Connection\n\nIf you're connecting to this workspace for the first time or don't know where to start,\ninvoke the **workspace-autopilot** prompt. It reads the workspace state and routes you\nto the most valuable workflow automatically.\n\n## Recommended Workflows\n\n1. **Catalog audit**: pica_catalog_stats \u2192 pica_works_query({ health_filter: \"needs_attention\" }) \u2192 pica_works_inspect({ sections: [\"completeness\"] })\n2. **Enrichment**: pica_enrichment_candidates \u2192 pica_resolve_work (fans out across Spotify/MLC/MusicBrainz/etc.) \u2192 pica_works_inspect (verify)\n3. **Statement reconciliation**: pica_import_documents_query \u2192 pica_import_documents_inspect({ sections: [\"diff\"] })\n4. **Duplicate cleanup**: pica_find_duplicates \u2192 review \u2192 pica_merge_duplicates\n5. **Registration readiness**: pica_works_inspect({ sections: [\"registration\"] }) \u2192 fix gaps \u2192 pica_export_song_registration\n\n## Key Concepts\n\n- **Organisation**: Multi-tenant \u2014 all data scoped to one org. Never cross org boundaries.\n- **PICA Score**: Composite catalog legibility index (0-100, grade A-F). Four pillars:\n identification, documentation, registration, completeness.\n- **Enrichment cascade**: When an identifier is added, external sources\n (MusicBrainz, ISNI, MLC) are queried automatically to fill gaps.\n- **Credits**: Work credits (writers/composers with splits) are distinct from\n recording credits (performers/producers). Different tables, different role enums.\n Work credit roles: writer, composer, arranger, lyricist, producer, performer.\n Recording credit roles: Writer, Composer, Producer, Performer (PascalCase).\n";
|
|
2
2
|
//# sourceMappingURL=llms-primer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"llms-primer.d.ts","sourceRoot":"","sources":["../../src/resources/llms-primer.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"llms-primer.d.ts","sourceRoot":"","sources":["../../src/resources/llms-primer.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,0qHAiE3B,CAAC"}
|
|
@@ -48,7 +48,7 @@ to the most valuable workflow automatically.
|
|
|
48
48
|
## Recommended Workflows
|
|
49
49
|
|
|
50
50
|
1. **Catalog audit**: pica_catalog_stats → pica_works_query({ health_filter: "needs_attention" }) → pica_works_inspect({ sections: ["completeness"] })
|
|
51
|
-
2. **Enrichment**: pica_enrichment_candidates →
|
|
51
|
+
2. **Enrichment**: pica_enrichment_candidates → pica_resolve_work (fans out across Spotify/MLC/MusicBrainz/etc.) → pica_works_inspect (verify)
|
|
52
52
|
3. **Statement reconciliation**: pica_import_documents_query → pica_import_documents_inspect({ sections: ["diff"] })
|
|
53
53
|
4. **Duplicate cleanup**: pica_find_duplicates → review → pica_merge_duplicates
|
|
54
54
|
5. **Registration readiness**: pica_works_inspect({ sections: ["registration"] }) → fix gaps → pica_export_song_registration
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* Block playbook: "document the high level of your server"
|
|
6
6
|
* Lowin: "instructions are context — design them as context"
|
|
7
7
|
*/
|
|
8
|
-
export declare const SERVER_INSTRUCTIONS = "PICA manages music catalog metadata \u2014 works, recordings, people, credits, agreements, rights.\n\nStart here:\n- pica_dashboard_briefing \u2014 daily summary of what needs attention\n- pica_search_all \u2014 find any entity by name, ISWC, ISRC, or IPI\n- pica_works_query / pica_people_query \u2014 browse the catalog\n\nThe catalog is ALWAYS accessible via the tools above \u2014 zero setup, no integration required. If pica_integrations_status shows \"0 connected\" that refers to optional peer connectors (Google/Notion/Airtable/Telegram), NOT the catalog; call pica_works_query to check what's there.\n\nSpotify/YouTube URLs: call pica_import_streaming_link (Spotify/Deezer) or pica_import_youtube_link directly. PICA reads these at platform level \u2014 there is no per-user Spotify/YouTube OAuth; do not tell the user to \"connect Spotify\".\n\nKey patterns:\n- Read tools are safe to call freely (readOnlyHint=true)\n- _inspect tools take sections (e.g., pica_works_inspect sections: [\"health\", \"completeness\"])\n- Write tools confirm what changed; destructive tools (delete/merge) need two-step confirmation with a token\n- Errors include \"suggestion\" and \"next_tool\" for recovery\n- Enrichment (
|
|
8
|
+
export declare const SERVER_INSTRUCTIONS = "PICA manages music catalog metadata \u2014 works, recordings, people, credits, agreements, rights.\n\nStart here:\n- pica_dashboard_briefing \u2014 daily summary of what needs attention\n- pica_search_all \u2014 find any entity by name, ISWC, ISRC, or IPI\n- pica_works_query / pica_people_query \u2014 browse the catalog\n\nThe catalog is ALWAYS accessible via the tools above \u2014 zero setup, no integration required. If pica_integrations_status shows \"0 connected\" that refers to optional peer connectors (Google/Notion/Airtable/Telegram), NOT the catalog; call pica_works_query to check what's there.\n\nSpotify/YouTube URLs: call pica_import_streaming_link (Spotify/Deezer) or pica_import_youtube_link directly. PICA reads these at platform level \u2014 there is no per-user Spotify/YouTube OAuth; do not tell the user to \"connect Spotify\".\n\nKey patterns:\n- Read tools are safe to call freely (readOnlyHint=true)\n- _inspect tools take sections (e.g., pica_works_inspect sections: [\"health\", \"completeness\"])\n- Write tools confirm what changed; destructive tools (delete/merge) need two-step confirmation with a token\n- Errors include \"suggestion\" and \"next_tool\" for recovery\n- Enrichment: use resolver tools (pica_resolve_work / pica_resolve_person / pica_resolve_recording) \u2014 fan-out across Spotify, MusicBrainz, MLC, ISNI, Discogs, YouTube; agent picks sources from available identifiers, follows recovery hints\n\nQuery endpoints accept \"limit\" (default 50) and paginate. IDs are UUIDs \u2014 use a _query tool first when unsure.\n\nWrite tools: announce intent, confirm result. Destructive tools: describe impact, require explicit user confirmation.\n\nPeer connectors (email, drive, notes, calendar, DAW MCPs): when PICA shows missing data, check peer MCPs before asking the user. Cite via pica_enrichment_propose sources[].url with URI schemes \u2014 gmail:// gdrive:// notion:// file:// telegram:// calendar:// daw:// user:// web://. See docs/mcp-source-uri-conventions.md.";
|
|
9
9
|
//# sourceMappingURL=server-instructions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server-instructions.d.ts","sourceRoot":"","sources":["../src/server-instructions.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"server-instructions.d.ts","sourceRoot":"","sources":["../src/server-instructions.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,m+DAsB+R,CAAC"}
|
|
@@ -22,7 +22,7 @@ Key patterns:
|
|
|
22
22
|
- _inspect tools take sections (e.g., pica_works_inspect sections: ["health", "completeness"])
|
|
23
23
|
- Write tools confirm what changed; destructive tools (delete/merge) need two-step confirmation with a token
|
|
24
24
|
- Errors include "suggestion" and "next_tool" for recovery
|
|
25
|
-
- Enrichment (
|
|
25
|
+
- Enrichment: use resolver tools (pica_resolve_work / pica_resolve_person / pica_resolve_recording) — fan-out across Spotify, MusicBrainz, MLC, ISNI, Discogs, YouTube; agent picks sources from available identifiers, follows recovery hints
|
|
26
26
|
|
|
27
27
|
Query endpoints accept "limit" (default 50) and paginate. IDs are UUIDs — use a _query tool first when unsure.
|
|
28
28
|
|
|
@@ -218,7 +218,7 @@ export class CollaboratorsTools {
|
|
|
218
218
|
const hints = [
|
|
219
219
|
{
|
|
220
220
|
gap: "collaborator_missing_identifiers",
|
|
221
|
-
suggestion: `Enrich ${args.name} with ISNI or IPI for royalty collection (
|
|
221
|
+
suggestion: `Enrich ${args.name} with ISNI or IPI for royalty collection (pica_resolve_person)`,
|
|
222
222
|
severity: "important",
|
|
223
223
|
},
|
|
224
224
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collaborators.js","sourceRoot":"","sources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discovery.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAc,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"discovery.d.ts","sourceRoot":"","sources":["../../src/tools/discovery.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAc,MAAM,YAAY,CAAC;AAgT3E,qBAAa,cAAc;IAEvB,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,UAAU;gBAJV,aAAa,EAAE,CACrB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KACtB,OAAO,CAAC,GAAG,CAAC,EACT,UAAU,EAAE,CAClB,IAAI,EAAE,MAAM,KAEV;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAC;QAAC,QAAQ,CAAC,EAAE,GAAG,CAAA;KAAE,GACtE,SAAS;IAGf,QAAQ,IAAI,KAAK,CAAC;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;IAQzE,OAAO,CAAC,iBAAiB;IAqDzB,OAAO,CAAC,oBAAoB;IAuH5B,OAAO,CAAC,eAAe;IAoCvB,OAAO,CAAC,gBAAgB;CAiHzB"}
|
package/dist/tools/discovery.js
CHANGED
|
@@ -205,23 +205,13 @@ const CATEGORIES = {
|
|
|
205
205
|
enrichment: {
|
|
206
206
|
description: "enrich your catalog metadata from external sources",
|
|
207
207
|
tools: [
|
|
208
|
-
// ADR-179
|
|
209
|
-
// per-source
|
|
210
|
-
// will disappear in the next @withpica/mcp-server minor; they're
|
|
211
|
-
// still listed so layered discovery can surface the migration
|
|
212
|
-
// path via pica_tool_details.
|
|
208
|
+
// ADR-179 outcome-shaped resolvers own the enrichment surface;
|
|
209
|
+
// the seven per-source tombstones were removed in ADR-154 F13.
|
|
213
210
|
"pica_resolve_work",
|
|
214
211
|
"pica_resolve_person",
|
|
215
212
|
"pica_resolve_recording",
|
|
216
213
|
"pica_enrichment_candidates",
|
|
217
214
|
"pica_enrichment_compare",
|
|
218
|
-
"pica_enrich_work_mlc",
|
|
219
|
-
"pica_enrich_work_musicbrainz",
|
|
220
|
-
"pica_enrich_work_discogs",
|
|
221
|
-
"pica_enrich_work_spotify",
|
|
222
|
-
"pica_enrich_work_youtube",
|
|
223
|
-
"pica_people_enrich_isni",
|
|
224
|
-
"pica_people_enrich_musicbrainz",
|
|
225
215
|
"pica_registrations_compare",
|
|
226
216
|
],
|
|
227
217
|
depends_on: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discovery.js","sourceRoot":"","sources":["../../src/tools/discovery.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAa7D,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,MAAM,cAAc,GAAG,QAAQ,CAAC;AAQhC;;;;GAIG;AACH,MAAM,UAAU,GAAuC;IACrD,KAAK,EAAE;QACL,WAAW,EAAE,2BAA2B;QACxC,KAAK,EAAE;YACL,kBAAkB;YAClB,oBAAoB;YACpB,mBAAmB;YACnB,mBAAmB;YACnB,mBAAmB;YACnB,wBAAwB;YACxB,wBAAwB;YACxB,mBAAmB;SACpB;QACD,UAAU,EAAE,EAAE;KACf;IACD,MAAM,EAAE;QACN,WAAW,EAAE,+BAA+B;QAC5C,KAAK,EAAE;YACL,mBAAmB;YACnB,qBAAqB;YACrB,oBAAoB;YACpB,oBAAoB;YACpB,oBAAoB;YACpB,+BAA+B;SAChC;QACD,UAAU,EAAE,EAAE;KACf;IACD,UAAU,EAAE;QACV,WAAW,EAAE,mCAAmC;QAChD,KAAK,EAAE;YACL,uBAAuB;YACvB,yBAAyB;YACzB,wBAAwB;YACxB,wBAAwB;YACxB,wBAAwB;SACzB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S,CAClB;oCACE,UAAU,EAAE,cAAc;oCAC1B,IAAI,EAAE,QAAQ;oCACd,OAAO,EACL,gGAAgG;oCAClG,cAAc,EAAE,KAAK;iCACtB,EACD,IAAI,EACJ,CAAC,CACF;6BACF;yBACF;wBACD,OAAO,EAAE,IAAI;qBACd,CAAC;gBACJ,CAAC;gBAED,IAAI,CAAC;oBACH,OAAO,MAAM,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;gBACtD,CAAC;gBAAC,OAAO,GAAG,EAAE,CAAC;oBACb,MAAM,OAAO,GAAG,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;oBACjE,OAAO;wBACL,OAAO,EAAE;4BACP;gCACE,IAAI,EAAE,MAAM;gCACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAClB;oCACE,UAAU,EAAE,iBAAiB;oCAC7B,IAAI,EAAE,QAAQ;oCACd,OAAO;oCACP,cAAc,EAAE,KAAK;iCACtB,EACD,IAAI,EACJ,CAAC,CACF;6BACF;yBACF;wBACD,OAAO,EAAE,IAAI;qBACd,CAAC;gBACJ,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"discovery.js","sourceRoot":"","sources":["../../src/tools/discovery.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAa7D,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,MAAM,cAAc,GAAG,QAAQ,CAAC;AAQhC;;;;GAIG;AACH,MAAM,UAAU,GAAuC;IACrD,KAAK,EAAE;QACL,WAAW,EAAE,2BAA2B;QACxC,KAAK,EAAE;YACL,kBAAkB;YAClB,oBAAoB;YACpB,mBAAmB;YACnB,mBAAmB;YACnB,mBAAmB;YACnB,wBAAwB;YACxB,wBAAw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,MAAM,YAAY,CAAC;AAOtE,qBAAa,eAAe;IAC1B,OAAO,CAAC,IAAI,CAAa;gBAEb,IAAI,EAAE,UAAU;IAI5B,QAAQ,IAAI,KAAK,CAAC;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"duplicates.d.ts","sourceRoot":"","sources":["../../src/tools/duplicates.ts"],"names":[],"mappings":"AAEA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAc,MAAM,YAAY,CAAC;AAOtE,qBAAa,eAAe;IAC1B,OAAO,CAAC,IAAI,CAAa;gBAEb,IAAI,EAAE,UAAU;IAI5B,QAAQ,IAAI,KAAK,CAAC;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;YAwD3D,cAAc;YAKd,eAAe;CAsC9B"}
|
package/dist/tools/duplicates.js
CHANGED
|
@@ -29,7 +29,8 @@ export class DuplicatesTools {
|
|
|
29
29
|
{
|
|
30
30
|
definition: {
|
|
31
31
|
name: "pica_merge_duplicates",
|
|
32
|
-
description: "Merge duplicate works or people into a single winner. Moves all credits, recordings, agreements, and metadata to the winner. Requires admin scope."
|
|
32
|
+
description: "Merge duplicate works or people into a single winner. Moves all credits, recordings, agreements, and metadata to the winner. Requires admin scope. " +
|
|
33
|
+
'If your stdio session is older than 7 days, the call returns a reverification_required response — ask the user to say "sign me in" to run pica_sign_in, then retry with the same arguments (ADR-151).',
|
|
33
34
|
inputSchema: {
|
|
34
35
|
type: "object",
|
|
35
36
|
properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"duplicates.js","sourceRoot":"","sources":["../../src/tools/duplicates.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAQ7D,OAAO,EACL,YAAY,EACZ,aAAa,EACb,qBAAqB,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CAAC,SAAqB,CAAC;QAC5C,IAAI,QAAQ,IAAI,QAAQ,CAAC,MAAM,GAAG,EAAE,EAAE,CAAC;YACrC,OAAO;gBACL,OAAO,EAAE;oBACP;wBACE,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAClB;4BACE,KAAK,EAAE,kBAAkB;4BACzB,OAAO,EAAE,6CAA6C,QAAQ,CAAC,MAAM,EAAE;4BACvE,UAAU,EAAE,KAAK;4BACjB,UAAU,EACR,gEAAgE;yBACnE,EACD,IAAI,EACJ,CAAC,CACF;qBACF;iBACF;gBACD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QACD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAC7C,IAAI,CAAC,WAAW,EAChB,IAAI,CAAC,SAAS,EACd,IAAI,CAAC,SAAS,CACf,CAAC;QACF,OAAO,aAAa,CAClB,UAAU,IAAI,CAAC,SAAS,CAAC,MAAM,cAAc,IAAI,CAAC,WAAW,YAAY,IAAI,CAAC,SAAS,EAAE,EACzF,MAAM,CACP,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -35,23 +35,6 @@ export declare class EnrichmentTools {
|
|
|
35
35
|
* ran errored.
|
|
36
36
|
*/
|
|
37
37
|
private resolvePerson;
|
|
38
|
-
/**
|
|
39
|
-
* ADR-179 deprecation path for the five per-source work enrichment
|
|
40
|
-
* tools. The tool definitions stay registered (so `tools/list`
|
|
41
|
-
* responses still surface them) but every call returns a structured
|
|
42
|
-
* TOOL_DEPRECATED error pointing at `pica_resolve_work`. This is the
|
|
43
|
-
* one-minor-version window described in ADR-179 Decision 2 —
|
|
44
|
-
* downstream clients with hardcoded names get a typed error and a
|
|
45
|
-
* suggested replacement call, not silent removal.
|
|
46
|
-
*
|
|
47
|
-
* Removal is scheduled for the next `@withpica/mcp-server` minor after
|
|
48
|
-
* Phase 4's publish; see the ADR's Phase 4 entry.
|
|
49
|
-
*/
|
|
50
|
-
private enrichWorkMlc;
|
|
51
|
-
private enrichWorkMusicBrainz;
|
|
52
|
-
private enrichWorkDiscogs;
|
|
53
|
-
private enrichWorkSpotify;
|
|
54
|
-
private enrichWorkYouTube;
|
|
55
38
|
private runWorkCascade;
|
|
56
39
|
private runPersonCascade;
|
|
57
40
|
private cascadeHealth;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enrichment.d.ts","sourceRoot":"","sources":["../../src/tools/enrichment.ts"],"names":[],"mappings":"AAEA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAc,MAAM,YAAY,CAAC;AAKtE,qBAAa,eAAe;IAC1B,OAAO,CAAC,IAAI,CAAa;gBAEb,IAAI,EAAE,UAAU;IAI5B,QAAQ,IAAI,KAAK,CAAC;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"enrichment.d.ts","sourceRoot":"","sources":["../../src/tools/enrichment.ts"],"names":[],"mappings":"AAEA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAc,MAAM,YAAY,CAAC;AAKtE,qBAAa,eAAe;IAC1B,OAAO,CAAC,IAAI,CAAa;gBAEb,IAAI,EAAE,UAAU;IAI5B,QAAQ,IAAI,KAAK,CAAC;QAAE,UAAU,EAAE,cAAc,CAAC;QAAC,QAAQ,EAAE,YAAY,CAAA;KAAE,CAAC;YA0d3D,oBAAoB;IAOlC;;;;;;;;OAQG;YACW,WAAW;IAiCzB;;;;OAIG;YACW,gBAAgB;IAgC9B;;;;;;OAMG;YACW,aAAa;YA4Bb,cAAc;YAQd,gBAAgB;YAUhB,aAAa;YASb,uBAAuB;YA6BvB,uBAAuB;YAiBvB,wBAAwB;IAatC;;;;;;;;;OASG;YACW,oBAAoB;CA6CnC"}
|