@withpica/mcp-server 2.97.5 → 2.99.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 +223 -0
- package/README.intro.md +1 -1
- package/README.md +8 -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 +37 -2
- package/dist/prompts/creator-question-atlas.js.map +1 -1
- package/dist/prompts/index.d.ts.map +1 -1
- package/dist/prompts/index.js +18 -21
- package/dist/prompts/index.js.map +1 -1
- package/dist/resources/agent-guide.d.ts.map +1 -1
- package/dist/resources/agent-guide.js +3 -1
- package/dist/resources/agent-guide.js.map +1 -1
- package/dist/resources/index.d.ts.map +1 -1
- package/dist/resources/index.js +0 -3
- package/dist/resources/index.js.map +1 -1
- package/dist/resources/required-schemas.generated.d.ts +7 -5
- package/dist/resources/required-schemas.generated.d.ts.map +1 -1
- package/dist/resources/required-schemas.generated.js +15 -2
- package/dist/resources/required-schemas.generated.js.map +1 -1
- package/dist/resources/required-schemas.source.d.ts.map +1 -1
- package/dist/resources/required-schemas.source.js +8 -1
- package/dist/resources/required-schemas.source.js.map +1 -1
- package/dist/server-instructions.d.ts +2 -2
- package/dist/server-instructions.d.ts.map +1 -1
- package/dist/server-instructions.js +1 -1
- package/dist/skills/skills.generated.js +11 -11
- package/dist/skills/skills.generated.js.map +1 -1
- package/dist/tools/agreement-types.d.ts.map +1 -1
- package/dist/tools/agreement-types.js +3 -1
- package/dist/tools/agreement-types.js.map +1 -1
- package/dist/tools/agreements.d.ts.map +1 -1
- package/dist/tools/agreements.js +15 -6
- package/dist/tools/agreements.js.map +1 -1
- package/dist/tools/approvals.d.ts.map +1 -1
- package/dist/tools/approvals.js +14 -1
- package/dist/tools/approvals.js.map +1 -1
- package/dist/tools/arg-aliases.d.ts.map +1 -1
- package/dist/tools/arg-aliases.js +12 -0
- package/dist/tools/arg-aliases.js.map +1 -1
- package/dist/tools/audio-files.d.ts +39 -0
- package/dist/tools/audio-files.d.ts.map +1 -1
- package/dist/tools/audio-files.js +253 -12
- package/dist/tools/audio-files.js.map +1 -1
- package/dist/tools/catalog-enums.d.ts +20 -0
- package/dist/tools/catalog-enums.d.ts.map +1 -0
- package/dist/tools/catalog-enums.js +28 -0
- package/dist/tools/catalog-enums.js.map +1 -0
- package/dist/tools/collaborators.d.ts.map +1 -1
- package/dist/tools/collaborators.js +27 -3
- package/dist/tools/collaborators.js.map +1 -1
- package/dist/tools/credits.d.ts +4 -1
- package/dist/tools/credits.d.ts.map +1 -1
- package/dist/tools/credits.js +70 -97
- package/dist/tools/credits.js.map +1 -1
- package/dist/tools/custody-hints.js +2 -2
- package/dist/tools/custody-hints.js.map +1 -1
- package/dist/tools/custody.d.ts.map +1 -1
- package/dist/tools/custody.js +4 -1
- package/dist/tools/custody.js.map +1 -1
- package/dist/tools/deprecations.d.ts +67 -8
- package/dist/tools/deprecations.d.ts.map +1 -1
- package/dist/tools/deprecations.js +98 -82
- package/dist/tools/deprecations.js.map +1 -1
- package/dist/tools/directory.js +2 -2
- package/dist/tools/directory.js.map +1 -1
- package/dist/tools/discovery.d.ts +28 -2
- package/dist/tools/discovery.d.ts.map +1 -1
- package/dist/tools/discovery.js +72 -28
- package/dist/tools/discovery.js.map +1 -1
- package/dist/tools/documents.d.ts +2 -2
- package/dist/tools/documents.d.ts.map +1 -1
- package/dist/tools/documents.js +2 -88
- package/dist/tools/documents.js.map +1 -1
- package/dist/tools/duplicates.d.ts +2 -0
- package/dist/tools/duplicates.d.ts.map +1 -1
- package/dist/tools/duplicates.js +173 -18
- package/dist/tools/duplicates.js.map +1 -1
- package/dist/tools/enrichment.d.ts.map +1 -1
- package/dist/tools/enrichment.js +36 -2
- package/dist/tools/enrichment.js.map +1 -1
- package/dist/tools/import.d.ts.map +1 -1
- package/dist/tools/import.js +19 -0
- package/dist/tools/import.js.map +1 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +44 -4
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/integrity.d.ts.map +1 -1
- package/dist/tools/integrity.js +65 -8
- package/dist/tools/integrity.js.map +1 -1
- package/dist/tools/licensing.d.ts.map +1 -1
- package/dist/tools/licensing.js +14 -9
- package/dist/tools/licensing.js.map +1 -1
- package/dist/tools/metadata.d.ts.map +1 -1
- package/dist/tools/metadata.js +74 -114
- package/dist/tools/metadata.js.map +1 -1
- package/dist/tools/notes.d.ts +3 -4
- package/dist/tools/notes.d.ts.map +1 -1
- package/dist/tools/notes.js +31 -44
- package/dist/tools/notes.js.map +1 -1
- package/dist/tools/people.d.ts +5 -1
- package/dist/tools/people.d.ts.map +1 -1
- package/dist/tools/people.js +8 -1
- package/dist/tools/people.js.map +1 -1
- package/dist/tools/projects.d.ts +3 -4
- package/dist/tools/projects.d.ts.map +1 -1
- package/dist/tools/projects.js +3 -27
- package/dist/tools/projects.js.map +1 -1
- package/dist/tools/public-filter.d.ts.map +1 -1
- package/dist/tools/public-filter.js +3 -6
- package/dist/tools/public-filter.js.map +1 -1
- package/dist/tools/purchases.d.ts +2 -3
- package/dist/tools/purchases.d.ts.map +1 -1
- package/dist/tools/purchases.js.map +1 -1
- package/dist/tools/recording-attribution-hints.js +1 -1
- package/dist/tools/recording-attribution-hints.js.map +1 -1
- package/dist/tools/recording-custody.d.ts +3 -1
- package/dist/tools/recording-custody.d.ts.map +1 -1
- package/dist/tools/recording-custody.js +8 -4
- package/dist/tools/recording-custody.js.map +1 -1
- package/dist/tools/recovery-hints.d.ts +0 -6
- package/dist/tools/recovery-hints.d.ts.map +1 -1
- package/dist/tools/recovery-hints.js +97 -38
- package/dist/tools/recovery-hints.js.map +1 -1
- package/dist/tools/register.d.ts.map +1 -1
- package/dist/tools/register.js +2 -1
- package/dist/tools/register.js.map +1 -1
- package/dist/tools/releases.d.ts +2 -4
- package/dist/tools/releases.d.ts.map +1 -1
- package/dist/tools/releases.js +12 -213
- package/dist/tools/releases.js.map +1 -1
- package/dist/tools/rights.d.ts +54 -0
- package/dist/tools/rights.d.ts.map +1 -0
- package/dist/tools/rights.js +495 -0
- package/dist/tools/rights.js.map +1 -0
- package/dist/tools/royalties.d.ts +29 -6
- package/dist/tools/royalties.d.ts.map +1 -1
- package/dist/tools/royalties.js +101 -119
- package/dist/tools/royalties.js.map +1 -1
- package/dist/tools/section-validation.d.ts +14 -0
- package/dist/tools/section-validation.d.ts.map +1 -0
- package/dist/tools/section-validation.js +68 -0
- package/dist/tools/section-validation.js.map +1 -0
- package/dist/tools/selections.d.ts +5 -2
- package/dist/tools/selections.d.ts.map +1 -1
- package/dist/tools/selections.js +10 -4
- package/dist/tools/selections.js.map +1 -1
- package/dist/tools/share-links.d.ts.map +1 -1
- package/dist/tools/share-links.js +32 -6
- package/dist/tools/share-links.js.map +1 -1
- package/dist/tools/share-send.d.ts.map +1 -1
- package/dist/tools/share-send.js +32 -7
- package/dist/tools/share-send.js.map +1 -1
- package/dist/tools/signed-split-sheet-preview.d.ts +43 -0
- package/dist/tools/signed-split-sheet-preview.d.ts.map +1 -0
- package/dist/tools/signed-split-sheet-preview.js +67 -0
- package/dist/tools/signed-split-sheet-preview.js.map +1 -0
- package/dist/tools/split-sheets.d.ts.map +1 -1
- package/dist/tools/split-sheets.js +3 -2
- package/dist/tools/split-sheets.js.map +1 -1
- package/dist/tools/statements.js +1 -1
- package/dist/tools/statements.js.map +1 -1
- package/dist/tools/version-guard.d.ts +16 -4
- package/dist/tools/version-guard.d.ts.map +1 -1
- package/dist/tools/version-guard.js +22 -8
- package/dist/tools/version-guard.js.map +1 -1
- package/dist/tools/works.d.ts +9 -1
- package/dist/tools/works.d.ts.map +1 -1
- package/dist/tools/works.js +217 -74
- package/dist/tools/works.js.map +1 -1
- package/dist/tools/write-receipt.d.ts +68 -0
- package/dist/tools/write-receipt.d.ts.map +1 -0
- package/dist/tools/write-receipt.js +64 -0
- package/dist/tools/write-receipt.js.map +1 -0
- package/package.json +4 -4
- package/scripts/build-required-schemas.ts +7 -1
- package/server.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custody.js","sourceRoot":"","sources":["../../src/tools/custody.ts"],"names":[],"mappings":"AAAA,6DAA6D;AA0B7D,OAAO,EACL,aAAa,EACb,eAAe,GAEhB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,OAAO,YAAY;IACf,IAAI,CAAa;IAEzB,YAAY,IAAgB;QAC1B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAED,QAAQ;QACN,OAAO;YACL;gBACE,UAAU,EAAE;oBACV,IAAI,EAAE,oBAAoB;oBAC1B,KAAK,EAAE,OAAO;oBACd,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC;oBACtC,IAAI,EAAE,OAAO;oBACb,WAAW,EACT,2DAA2D;wBAC3D,+EAA+E;wBAC/E,sFAAsF;wBACtF,
|
|
1
|
+
{"version":3,"file":"custody.js","sourceRoot":"","sources":["../../src/tools/custody.ts"],"names":[],"mappings":"AAAA,6DAA6D;AA0B7D,OAAO,EACL,aAAa,EACb,eAAe,GAEhB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,OAAO,YAAY;IACf,IAAI,CAAa;IAEzB,YAAY,IAAgB;QAC1B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;IAED,QAAQ;QACN,OAAO;YACL;gBACE,UAAU,EAAE;oBACV,IAAI,EAAE,oBAAoB;oBAC1B,KAAK,EAAE,OAAO;oBACd,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC;oBACtC,IAAI,EAAE,OAAO;oBACb,WAAW,EACT,2DAA2D;wBAC3D,+EAA+E;wBAC/E,sFAAsF;wBACtF,uFAAuF;wBACvF,wFAAwF;wBACxF,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,IAAI,EAAE,MAAM,IAAI,CAAC,UAAU,EACvF,IAAI,CACL,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
* Silent-alias engine. A deprecated tool name stays callable and routes to its
|
|
3
3
|
* canonical replacement, is hidden from discovery, and carries a soft
|
|
4
4
|
* `_meta.deprecation` hint. Aliases are declared as data here; `expandAliases`
|
|
5
|
-
* materialises them into the registry at registration time. Removal is
|
|
6
|
-
*
|
|
5
|
+
* materialises them into the registry at registration time. Removal is a
|
|
6
|
+
* traffic-informed decision (prod `agent_events`), forced by the "expire
|
|
7
|
+
* loudly" lint on `removal_target` (`checkDeprecationExpiry` in
|
|
8
|
+
* `scripts/lint-mcp-tools.ts`), which fails a publish at or past the target
|
|
9
|
+
* while the alias still exists.
|
|
7
10
|
*/
|
|
8
11
|
import type { ToolDefinition, ToolExecutor, ToolMetadata } from "./index.js";
|
|
9
12
|
export interface ToolAlias {
|
|
@@ -17,7 +20,19 @@ export interface ToolAlias {
|
|
|
17
20
|
adaptArgs?: (args: Record<string, any>) => Record<string, any>;
|
|
18
21
|
}
|
|
19
22
|
/**
|
|
20
|
-
* The one alias registry. Populated per-consolidation
|
|
23
|
+
* The one alias registry. Populated per-consolidation; EMPTY as of
|
|
24
|
+
* mcp-server 2.99.0.
|
|
25
|
+
*
|
|
26
|
+
* REMOVAL (mcp-server 2.99.0, founder decision 2026-09-29): the last eleven
|
|
27
|
+
* aliases were removed — their entries here, their TOOL_METADATA mirrors,
|
|
28
|
+
* and any standalone ToolDefinitions that still sat beside the canonical
|
|
29
|
+
* tools. Prod `agent_events` over the 60 days to 2026-09-29: 4 calls in all
|
|
30
|
+
* (pica_recording_credits_bulk_update 2, last 08-17; pica_releases_get 1,
|
|
31
|
+
* 08-01; pica_royalties_summary 1, 09-14; the other eight zero). Calling any
|
|
32
|
+
* of them now gets TOOL_NOT_FOUND whose message names its replacement; the
|
|
33
|
+
* replacement also leads `did_you_mean` when the caller can call it. The
|
|
34
|
+
* name → replacement mapping is RETIRED_TOOLS below — the one copy.
|
|
35
|
+
* The dated notes below are the history of how that deadline moved.
|
|
21
36
|
*
|
|
22
37
|
* REMOVAL SWEEP (mcp-server 2.93.0, 2026-07-12): the first batch of WS5
|
|
23
38
|
* deprecated names were traffic-gated against prod `agent_events` (30-day
|
|
@@ -26,10 +41,11 @@ export interface ToolAlias {
|
|
|
26
41
|
* ToolDefinition, TOOL_METADATA, cost-model, and required-schemas companion
|
|
27
42
|
* rows all went with them: `pica_projects_get`, `pica_notes_get`,
|
|
28
43
|
* `pica_sessions_list`, `pica_sessions_get`, `pica_statements_get`,
|
|
29
|
-
* `pica_share_links_list`. The ten aliases
|
|
30
|
-
* traffic, so they
|
|
31
|
-
* extended (the "expire loudly" lint would otherwise
|
|
32
|
-
* 2.93.0)
|
|
44
|
+
* `pica_share_links_list`. The ten aliases that then remained still carried
|
|
45
|
+
* real live traffic, so they STAYED callable — their `removal_target` was
|
|
46
|
+
* consciously extended (the "expire loudly" lint would otherwise have blocked
|
|
47
|
+
* the 2.93.0 publish), with the traffic check to be re-run before the new
|
|
48
|
+
* target. They were finally removed in 2.99.0 (above).
|
|
33
49
|
*
|
|
34
50
|
* ⚠️ `removal_target` HERE IS DOCUMENTATION, NOT THE GATE (noted 2026-08-13).
|
|
35
51
|
* `checkDeprecationExpiry` in `scripts/lint-mcp-tools.ts` reads the value from
|
|
@@ -53,9 +69,52 @@ export interface ToolAlias {
|
|
|
53
69
|
* Alias removal needs its own PR with an agent_events usage check per
|
|
54
70
|
* alias (SELECT tool_name, count(*) FROM agent_events WHERE tool_name IN
|
|
55
71
|
* (…) AND created_at > now() - interval '60 days'). Founder item F10
|
|
56
|
-
* schedules it before 2.98.0.
|
|
72
|
+
* schedules it before 2.98.0; deferred again 2026-09-29 to 2.99.0 (founder:
|
|
73
|
+
* 2.98.0 shipped the ADR-321 Phase 2 release without removals).
|
|
57
74
|
*/
|
|
58
75
|
export declare const TOOL_ALIASES: ToolAlias[];
|
|
76
|
+
/**
|
|
77
|
+
* A tool name that no longer exists, and what replaced it.
|
|
78
|
+
*
|
|
79
|
+
* An alias whose deadline passes is DELETED — it stops being callable — but a
|
|
80
|
+
* caller still using the old name deserves more than a similarity guess:
|
|
81
|
+
* "pica_projects_list" ranks create/delete/inspect above the query tool that
|
|
82
|
+
* actually replaced it. This table is the one place that knows what replaced
|
|
83
|
+
* what. Both not-found answers read it through {@link retiredToolAnswer}: the
|
|
84
|
+
* registry's `pica_execute` / `pica_tool_details` (`discovery.ts`) and the
|
|
85
|
+
* hosted route's gate (`app/api/mcp/tool-not-found.ts`, handed this function
|
|
86
|
+
* by `route.ts`). The call stays an error — `TOOL_NOT_FOUND` — so an old name
|
|
87
|
+
* never silently works again.
|
|
88
|
+
*/
|
|
89
|
+
export interface RetiredTool {
|
|
90
|
+
/** The registered tool to call instead. */
|
|
91
|
+
replacement: string;
|
|
92
|
+
/** The package version that removed the old name. */
|
|
93
|
+
removed_in: string;
|
|
94
|
+
/** How the arguments changed, when they did. Appended to the message. */
|
|
95
|
+
argument_change?: string;
|
|
96
|
+
}
|
|
97
|
+
export declare const RETIRED_TOOLS: Readonly<Record<string, RetiredTool>>;
|
|
98
|
+
/** The retired-tool record for a name, if it is one. */
|
|
99
|
+
export declare function getRetiredTool(name: string): RetiredTool | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* Adjust a not-found answer for a retired name. Pure.
|
|
102
|
+
*
|
|
103
|
+
* `similar` is the similarity-ranked suggestion list the caller already built
|
|
104
|
+
* (at most three names). For a retired name whose replacement `canCall`
|
|
105
|
+
* accepts, the replacement goes FIRST and the list stays at most three long;
|
|
106
|
+
* `note` is the sentence to lead the message with. A replacement the caller
|
|
107
|
+
* cannot call is named in `note` (the mapping is published in the package
|
|
108
|
+
* CHANGELOG) but never added to the suggestions. This function does not
|
|
109
|
+
* filter `similar` itself: each caller builds it from names the caller can
|
|
110
|
+
* call (`canSuggest` in discovery.ts; the `allowedToolNames` pool in
|
|
111
|
+
* app/api/mcp/tool-not-found.ts). For any other name the list comes back
|
|
112
|
+
* unchanged and `note` is null.
|
|
113
|
+
*/
|
|
114
|
+
export declare function retiredToolAnswer(name: string, similar: readonly string[], canCall: (tool: string) => boolean): {
|
|
115
|
+
suggestions: string[];
|
|
116
|
+
note: string | null;
|
|
117
|
+
};
|
|
59
118
|
/** True when a tool's metadata marks it deprecated (aliased). Pure. */
|
|
60
119
|
export declare function isDeprecatedMeta(meta: {
|
|
61
120
|
deprecated?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deprecations.d.ts","sourceRoot":"","sources":["../../src/tools/deprecations.ts"],"names":[],"mappings":"AAEA
|
|
1
|
+
{"version":3,"file":"deprecations.d.ts","sourceRoot":"","sources":["../../src/tools/deprecations.ts"],"names":[],"mappings":"AAEA;;;;;;;;;GASG;AACH,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE7E,MAAM,WAAW,SAAS;IACxB,uEAAuE;IACvE,UAAU,EAAE,MAAM,CAAC;IACnB,8EAA8E;IAC9E,SAAS,EAAE,MAAM,CAAC;IAClB,0EAA0E;IAC1E,cAAc,EAAE,MAAM,CAAC;IACvB,+EAA+E;IAC/E,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,eAAO,MAAM,YAAY,EAAE,SAAS,EAInC,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,WAAW;IAC1B,2CAA2C;IAC3C,WAAW,EAAE,MAAM,CAAC;IACpB,qDAAqD;IACrD,UAAU,EAAE,MAAM,CAAC;IACnB,yEAAyE;IACzE,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAkD/D,CAAC;AAEF,wDAAwD;AACxD,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAIpE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,SAAS,MAAM,EAAE,EAC1B,OAAO,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,GACjC;IAAE,WAAW,EAAE,MAAM,EAAE,CAAC;IAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAehD;AAED,uEAAuE;AACvE,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE;IAAE,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,SAAS,GACzC,OAAO,CAET;AAED,8DAA8D;AAC9D,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAE/D;AAED,KAAK,aAAa,GAAG;IACnB,UAAU,EAAE,cAAc,CAAC;IAC3B,QAAQ,EAAE,YAAY,CAAC;IACvB,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,aAAa,CAC3B,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,EACtC,OAAO,EAAE,SAAS,EAAE,GACnB,IAAI,CAmBN"}
|
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
// Copyright (c) 2025-2026 Withpica Ltd. All rights reserved.
|
|
2
2
|
/**
|
|
3
|
-
* The one alias registry. Populated per-consolidation
|
|
3
|
+
* The one alias registry. Populated per-consolidation; EMPTY as of
|
|
4
|
+
* mcp-server 2.99.0.
|
|
5
|
+
*
|
|
6
|
+
* REMOVAL (mcp-server 2.99.0, founder decision 2026-09-29): the last eleven
|
|
7
|
+
* aliases were removed — their entries here, their TOOL_METADATA mirrors,
|
|
8
|
+
* and any standalone ToolDefinitions that still sat beside the canonical
|
|
9
|
+
* tools. Prod `agent_events` over the 60 days to 2026-09-29: 4 calls in all
|
|
10
|
+
* (pica_recording_credits_bulk_update 2, last 08-17; pica_releases_get 1,
|
|
11
|
+
* 08-01; pica_royalties_summary 1, 09-14; the other eight zero). Calling any
|
|
12
|
+
* of them now gets TOOL_NOT_FOUND whose message names its replacement; the
|
|
13
|
+
* replacement also leads `did_you_mean` when the caller can call it. The
|
|
14
|
+
* name → replacement mapping is RETIRED_TOOLS below — the one copy.
|
|
15
|
+
* The dated notes below are the history of how that deadline moved.
|
|
4
16
|
*
|
|
5
17
|
* REMOVAL SWEEP (mcp-server 2.93.0, 2026-07-12): the first batch of WS5
|
|
6
18
|
* deprecated names were traffic-gated against prod `agent_events` (30-day
|
|
@@ -9,10 +21,11 @@
|
|
|
9
21
|
* ToolDefinition, TOOL_METADATA, cost-model, and required-schemas companion
|
|
10
22
|
* rows all went with them: `pica_projects_get`, `pica_notes_get`,
|
|
11
23
|
* `pica_sessions_list`, `pica_sessions_get`, `pica_statements_get`,
|
|
12
|
-
* `pica_share_links_list`. The ten aliases
|
|
13
|
-
* traffic, so they
|
|
14
|
-
* extended (the "expire loudly" lint would otherwise
|
|
15
|
-
* 2.93.0)
|
|
24
|
+
* `pica_share_links_list`. The ten aliases that then remained still carried
|
|
25
|
+
* real live traffic, so they STAYED callable — their `removal_target` was
|
|
26
|
+
* consciously extended (the "expire loudly" lint would otherwise have blocked
|
|
27
|
+
* the 2.93.0 publish), with the traffic check to be re-run before the new
|
|
28
|
+
* target. They were finally removed in 2.99.0 (above).
|
|
16
29
|
*
|
|
17
30
|
* ⚠️ `removal_target` HERE IS DOCUMENTATION, NOT THE GATE (noted 2026-08-13).
|
|
18
31
|
* `checkDeprecationExpiry` in `scripts/lint-mcp-tools.ts` reads the value from
|
|
@@ -36,95 +49,98 @@
|
|
|
36
49
|
* Alias removal needs its own PR with an agent_events usage check per
|
|
37
50
|
* alias (SELECT tool_name, count(*) FROM agent_events WHERE tool_name IN
|
|
38
51
|
* (…) AND created_at > now() - interval '60 days'). Founder item F10
|
|
39
|
-
* schedules it before 2.98.0.
|
|
52
|
+
* schedules it before 2.98.0; deferred again 2026-09-29 to 2.99.0 (founder:
|
|
53
|
+
* 2.98.0 shipped the ADR-321 Phase 2 release without removals).
|
|
40
54
|
*/
|
|
41
55
|
export const TOOL_ALIASES = [
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
56
|
+
// Empty since mcp-server 2.99.0 — every alias has been removed (history in
|
|
57
|
+
// the comment above). Add a new entry here, with its TOOL_METADATA mirror,
|
|
58
|
+
// for the next deprecation.
|
|
59
|
+
];
|
|
60
|
+
export const RETIRED_TOOLS = {
|
|
61
|
+
// mcp-server 2.99.0 (founder, 2026-09-29) — the last eleven aliases.
|
|
62
|
+
pica_releases_list: {
|
|
63
|
+
replacement: "pica_releases_query",
|
|
64
|
+
removed_in: "2.99.0",
|
|
50
65
|
},
|
|
51
|
-
{
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
removal_target: "2.98.0",
|
|
55
|
-
adaptArgs: (a) => ({
|
|
56
|
-
release_id: a.release_id,
|
|
57
|
-
items: a.tracks,
|
|
58
|
-
dry_run: a.dry_run,
|
|
59
|
-
}),
|
|
66
|
+
pica_releases_get: {
|
|
67
|
+
replacement: "pica_releases_inspect",
|
|
68
|
+
removed_in: "2.99.0",
|
|
60
69
|
},
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
deprecated: "pica_releases_list",
|
|
66
|
-
canonical: "pica_releases_query",
|
|
67
|
-
removal_target: "2.98.0",
|
|
70
|
+
pica_releases_bulk_attach_tracks: {
|
|
71
|
+
replacement: "pica_releases_attach_track",
|
|
72
|
+
removed_in: "2.99.0",
|
|
73
|
+
argument_change: "pass the tracks as items[] (the old tracks field)",
|
|
68
74
|
},
|
|
69
|
-
{
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
75
|
+
pica_releases_attach_track_by_identifier: {
|
|
76
|
+
replacement: "pica_releases_attach_track",
|
|
77
|
+
removed_in: "2.99.0",
|
|
78
|
+
argument_change: "pass identifier_type + value (with track_number) on pica_releases_attach_track",
|
|
73
79
|
},
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
{
|
|
78
|
-
deprecated: "pica_projects_list",
|
|
79
|
-
canonical: "pica_projects_query",
|
|
80
|
-
removal_target: "2.98.0",
|
|
80
|
+
pica_projects_list: {
|
|
81
|
+
replacement: "pica_projects_query",
|
|
82
|
+
removed_in: "2.99.0",
|
|
81
83
|
},
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
deprecated: "pica_notes_list",
|
|
87
|
-
canonical: "pica_notes_query",
|
|
88
|
-
removal_target: "2.98.0",
|
|
84
|
+
pica_notes_list: { replacement: "pica_notes_query", removed_in: "2.99.0" },
|
|
85
|
+
pica_documents_list: {
|
|
86
|
+
replacement: "pica_documents_query",
|
|
87
|
+
removed_in: "2.99.0",
|
|
89
88
|
},
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
{
|
|
94
|
-
deprecated: "pica_documents_list",
|
|
95
|
-
canonical: "pica_documents_query",
|
|
96
|
-
removal_target: "2.98.0",
|
|
89
|
+
pica_documents_read: {
|
|
90
|
+
replacement: "pica_documents_inspect",
|
|
91
|
+
removed_in: "2.99.0",
|
|
97
92
|
},
|
|
98
|
-
{
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
removal_target: "2.98.0",
|
|
93
|
+
pica_statements_list: {
|
|
94
|
+
replacement: "pica_statements_query",
|
|
95
|
+
removed_in: "2.99.0",
|
|
102
96
|
},
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
{
|
|
108
|
-
deprecated: "pica_statements_list",
|
|
109
|
-
canonical: "pica_statements_query",
|
|
110
|
-
removal_target: "2.98.0",
|
|
97
|
+
pica_royalties_summary: {
|
|
98
|
+
replacement: "pica_royalties_blockers",
|
|
99
|
+
removed_in: "2.99.0",
|
|
100
|
+
argument_change: "work_id and limit carry over; gap_type and priority have no equivalent",
|
|
111
101
|
},
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
// by the superset's inputSchema, so no adaptArgs. FLAGGED (kept): 22
|
|
117
|
-
// calls/30d in prod. VARIANT-MERGE ALIAS: when finally removed the
|
|
118
|
-
// standalone pica_recording_credits_bulk_update ToolDefinition +
|
|
119
|
-
// bulkUpdateRecordingCredits executor in credits.ts must ALSO be deleted,
|
|
120
|
-
// or the tool resurrects (same trap as the attach bulk/by_identifier
|
|
121
|
-
// aliases above).
|
|
122
|
-
{
|
|
123
|
-
deprecated: "pica_recording_credits_bulk_update",
|
|
124
|
-
canonical: "pica_recording_credits_update",
|
|
125
|
-
removal_target: "2.98.0",
|
|
102
|
+
pica_recording_credits_bulk_update: {
|
|
103
|
+
replacement: "pica_recording_credits_update",
|
|
104
|
+
removed_in: "2.99.0",
|
|
105
|
+
argument_change: "pass the credit set as a credits[] array (with release_id or recording_ids)",
|
|
126
106
|
},
|
|
127
|
-
|
|
107
|
+
};
|
|
108
|
+
/** The retired-tool record for a name, if it is one. */
|
|
109
|
+
export function getRetiredTool(name) {
|
|
110
|
+
return Object.prototype.hasOwnProperty.call(RETIRED_TOOLS, name)
|
|
111
|
+
? RETIRED_TOOLS[name]
|
|
112
|
+
: undefined;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Adjust a not-found answer for a retired name. Pure.
|
|
116
|
+
*
|
|
117
|
+
* `similar` is the similarity-ranked suggestion list the caller already built
|
|
118
|
+
* (at most three names). For a retired name whose replacement `canCall`
|
|
119
|
+
* accepts, the replacement goes FIRST and the list stays at most three long;
|
|
120
|
+
* `note` is the sentence to lead the message with. A replacement the caller
|
|
121
|
+
* cannot call is named in `note` (the mapping is published in the package
|
|
122
|
+
* CHANGELOG) but never added to the suggestions. This function does not
|
|
123
|
+
* filter `similar` itself: each caller builds it from names the caller can
|
|
124
|
+
* call (`canSuggest` in discovery.ts; the `allowedToolNames` pool in
|
|
125
|
+
* app/api/mcp/tool-not-found.ts). For any other name the list comes back
|
|
126
|
+
* unchanged and `note` is null.
|
|
127
|
+
*/
|
|
128
|
+
export function retiredToolAnswer(name, similar, canCall) {
|
|
129
|
+
const retired = getRetiredTool(name);
|
|
130
|
+
if (!retired)
|
|
131
|
+
return { suggestions: [...similar], note: null };
|
|
132
|
+
const suggestions = canCall(retired.replacement)
|
|
133
|
+
? [
|
|
134
|
+
retired.replacement,
|
|
135
|
+
...similar.filter((n) => n !== retired.replacement),
|
|
136
|
+
].slice(0, 3)
|
|
137
|
+
: [...similar];
|
|
138
|
+
const note = `${name} was retired in mcp-server ${retired.removed_in}; use ` +
|
|
139
|
+
`${retired.replacement} instead` +
|
|
140
|
+
(retired.argument_change ? ` — ${retired.argument_change}` : "") +
|
|
141
|
+
".";
|
|
142
|
+
return { suggestions, note };
|
|
143
|
+
}
|
|
128
144
|
/** True when a tool's metadata marks it deprecated (aliased). Pure. */
|
|
129
145
|
export function isDeprecatedMeta(meta) {
|
|
130
146
|
return meta?.deprecated === true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deprecations.js","sourceRoot":"","sources":["../../src/tools/deprecations.ts"],"names":[],"mappings":"AAAA,6DAA6D;
|
|
1
|
+
{"version":3,"file":"deprecations.js","sourceRoot":"","sources":["../../src/tools/deprecations.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAyB7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAM,CAAC,MAAM,YAAY,GAAgB;AACvC,2EAA2E;AAC3E,2EAA2E;AAC3E,4BAA4B;CA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K,MAAM,KAAK,IAAI,OAAO,EAAE,CAAC;QAC5B,MAAM,SAAS,GAAG,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAClD,IAAI,CAAC,SAAS;YAAE,SAAS;QACzB,MAAM,iBAAiB,GAAG,SAAS,CAAC,QAAQ,CAAC;QAC7C,MAAM,GAAG,GAAmB;YAC1B,GAAG,SAAS,CAAC,UAAU;YACvB,IAAI,EAAE,KAAK,CAAC,UAAU;YACtB,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC,IAAI;YAC/B,KAAK,EAAE,SAAS,CAAC,UAAU,CAAC,KAAK;YACjC,SAAS,EAAE,SAAS,CAAC,UAAU,CAAC,SAAS;YACzC,WAAW,EAAE,SAAS,CAAC,UAAU,CAAC,WAAW;SAC9C,CAAC;QACF,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,UAAU,EAAE;YAC/B,UAAU,EAAE,GAAG;YACf,QAAQ,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE,CACtB,iBAAiB,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC;SACzE,CAAC,CAAC;IACL,CAAC;AACH,CAAC"}
|
package/dist/tools/directory.js
CHANGED
|
@@ -56,8 +56,8 @@ export class DirectoryTools {
|
|
|
56
56
|
},
|
|
57
57
|
contact_enabled: {
|
|
58
58
|
type: "boolean",
|
|
59
|
-
description: "Allow licensing enquiries from the directory. " +
|
|
60
|
-
"
|
|
59
|
+
description: "Allow licensing enquiries from the directory. On by default; " +
|
|
60
|
+
"set false to switch enquiries off for every listed work.",
|
|
61
61
|
},
|
|
62
62
|
},
|
|
63
63
|
required: ["action"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"directory.js","sourceRoot":"","sources":["../../src/tools/directory.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAQ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AAM,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;gBAC1C,iBAAiB,EAAE,MAA4C;aAChE,CAAC;QACJ,CAAC;QAED,SAAS;QACT,MAAM,OAAO,GAA4B,EAAE,CAAC;QAC5C,MAAM,UAAU,GAAG;YACjB,UAAU;YACV,oBAAoB;YACpB,aAAa;YACb,iBAAiB;YACjB,iBAAiB;YACjB,YAAY;YACZ,iBAAiB;SAClB,CAAC;QACF,KAAK,MAAM,KAAK,IAAI,UAAU,EAAE,CAAC;YAC/B,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,SAAS;gBAAE,OAAO,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;QACvE,CAAC;QAED,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACtC,yEAAyE;YACzE,0EAA0E;YAC1E,uEAAuE;YACvE,iCAAiC;YACjC,OAAO,UAAU,CACf,kBAAkB,EAClB,4DAA4D,CAC7D,CAAC;QACJ,CAAC;QAED,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QACjE,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;QAE5D,OAAO,aAAa,CAClB,qDAAqD,MAAM,GAAG,EAC9D,MAAM,CACP,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -148,11 +148,37 @@ export declare class DiscoveryTools {
|
|
|
148
148
|
* `[...this.tools.keys()]` (index.ts, where DiscoveryTools is constructed),
|
|
149
149
|
* which includes the hidden alias clones `expandAliases` registers — so a
|
|
150
150
|
* typo one letter off an alias (`pica_releases_lists`) was answered with the
|
|
151
|
-
* alias (`pica_releases_list`,
|
|
151
|
+
* alias (`pica_releases_list`, since removed in 2.99.0) ranked above its own
|
|
152
152
|
* canonical. Steering a confused caller onto a name we are trying to retire
|
|
153
|
-
* is the opposite of what this envelope is for.
|
|
153
|
+
* is the opposite of what this envelope is for. TOOL_ALIASES is empty as of
|
|
154
|
+
* 2.99.0, so the filter currently removes nothing; it stays for the next
|
|
155
|
+
* deprecation.
|
|
156
|
+
*
|
|
157
|
+
* Tools the caller cannot run here are excluded too ({@link canSuggest}).
|
|
158
|
+
* The pool is every REGISTERED name, and on HTTP the route narrows what a
|
|
159
|
+
* caller may run through `setToolVisibility` (audience + scope). Without
|
|
160
|
+
* this filter a caller lacking finance scope was offered hidden
|
|
161
|
+
* statements/royalties tools for a statements typo — the same names the
|
|
162
|
+
* hosted route's suggester (`app/api/mcp/tool-not-found.ts`) never offers,
|
|
163
|
+
* because its pool is the caller's callable set.
|
|
154
164
|
*/
|
|
155
165
|
private suggestToolNames;
|
|
166
|
+
/** Registered AND callable by this caller on this surface. */
|
|
167
|
+
private canSuggest;
|
|
168
|
+
/**
|
|
169
|
+
* The suggestions and leading note for a name that is not registered. A
|
|
170
|
+
* retired name (RETIRED_TOOLS in deprecations.ts) gets its replacement
|
|
171
|
+
* first (when callable) and a sentence saying what replaced it; any other
|
|
172
|
+
* name gets the similarity ranking unchanged.
|
|
173
|
+
*
|
|
174
|
+
* What is shared with the hosted route (`app/api/mcp/tool-not-found.ts`)
|
|
175
|
+
* is `retiredToolAnswer`, so both name the same replacement — pinned on
|
|
176
|
+
* this side by `src/__tests__/tools/tool-details-contract.test.ts` and on
|
|
177
|
+
* that side by `app/api/mcp/__tests__/tool-not-found.test.ts`. The
|
|
178
|
+
* similarity lists are NOT shared: each side ranks with its own suggester
|
|
179
|
+
* over its own pool, so for non-retired names the two may differ.
|
|
180
|
+
*/
|
|
181
|
+
private notFoundAnswer;
|
|
156
182
|
getTools(): Array<{
|
|
157
183
|
definition: ToolDefinition;
|
|
158
184
|
executor: ToolExecutor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"discovery.d.ts","sourceRoot":"","sources":["../../src/tools/discovery.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACZ,UAAU,EACX,MAAM,YAAY,CAAC;AAwCpB;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,6NACiM,CAAC;AAE7N;;;;;;;;;;;;;;;;GAgBG;AAGH,eAAO,MAAM,UAAU,EAAE,WAAW,CAAC,MAAM,CA+EzC,CAAC;AAyBH,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAWD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"discovery.d.ts","sourceRoot":"","sources":["../../src/tools/discovery.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACZ,UAAU,EACX,MAAM,YAAY,CAAC;AAwCpB;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc,6NACiM,CAAC;AAE7N;;;;;;;;;;;;;;;;GAgBG;AAGH,eAAO,MAAM,UAAU,EAAE,WAAW,CAAC,MAAM,CA+EzC,CAAC;AAyBH,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB;AAWD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAo0BzD,CAAC;AAoBF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,C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