@uluops/registry-mcp 0.13.0 → 0.14.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 +5 -0
- package/README.md +7 -0
- package/dist/tools/batch-users.d.ts.map +1 -1
- package/dist/tools/batch-users.js +21 -2
- package/dist/tools/batch-users.js.map +1 -1
- package/dist/tools/cross-version-caveat.d.ts +33 -0
- package/dist/tools/cross-version-caveat.d.ts.map +1 -1
- package/dist/tools/cross-version-caveat.js +41 -0
- package/dist/tools/cross-version-caveat.js.map +1 -1
- package/dist/tools/get-ecosystem-overview.d.ts.map +1 -1
- package/dist/tools/get-ecosystem-overview.js +2 -1
- package/dist/tools/get-ecosystem-overview.js.map +1 -1
- package/dist/tools/get-execution-stats.d.ts.map +1 -1
- package/dist/tools/get-execution-stats.js +2 -1
- package/dist/tools/get-execution-stats.js.map +1 -1
- package/dist/utils/tool-handler.d.ts +5 -0
- package/dist/utils/tool-handler.d.ts.map +1 -1
- package/dist/utils/tool-handler.js +8 -3
- package/dist/utils/tool-handler.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
### Added
|
|
6
6
|
|
|
7
|
+
- **Pooled-figure caveat on `get_execution_stats` and `get_ecosystem_overview`** (definition-version-dispositions spec v0.11.2 §4.1, amendment CM; P0m-3). Both now carry the new `UNVERSIONED_FIGURES_CAVEAT` in their description **and** as a `{"caveat": …}` content block on every success response. The sentence is pinned word for word here and in `@uluops/ops-mcp`. `UNVERSIONED_FIGURES_TOOLS` is pinned independently of the array. **Why:** AK (2026-10-02) had left figures with no version identity uncaveated; CM withdrew it. `get_execution_stats` takes a version but returns a count over every version and org whose body names none. **Consumers:** each success response gains a `{"caveat": …}` text block after the context block; `content[0]` is unchanged. **The sentence is keyed on provenance, not presence** (CL): it covers figures shown with a version too, since a version on the wire is not evidence it was checked, and it forbids recommending a definition's current version on these figures.
|
|
7
8
|
- `batch_users` accepts `format: 'envelope'` to expose validated found/missing user IDs, with canonical lowercase UUIDs deduplicated in request order. Default map output is preserved.
|
|
8
9
|
|
|
9
10
|
- Unsupported `name-v1` capability errors retain their code/tool context and explain that no keyword fallback was performed.
|
|
@@ -12,16 +13,20 @@
|
|
|
12
13
|
|
|
13
14
|
### Changed
|
|
14
15
|
|
|
16
|
+
- `get_execution_stats` description no longer says "for a definition version": the version argument selects the route, and the counts are not limited to it (inventory row "Total runs, execution stats", tracker `7bf0d517`). Behaviour is unchanged.
|
|
15
17
|
- Pin `@uluops/registry-sdk` to 0.60.0 from public npm for the F19 response contract; replace the local Verdaccio SDK lock resolution for cold consumer installs.
|
|
16
18
|
|
|
17
19
|
### Fixed
|
|
18
20
|
|
|
21
|
+
- Envelope `batch_users` field selection projects public profiles while retaining user keys and both found/missing ID arrays; all-missing batches accept public profile fields.
|
|
22
|
+
|
|
19
23
|
- Resolve the SDK consumer lockfile against npmjs and refresh the existing sdk-core integrity for cold installs.
|
|
20
24
|
|
|
21
25
|
- List page requests without a limit now explicitly send limit 50, keeping offset calculation and server page size aligned.
|
|
22
26
|
- Numeric parameter coercion remains available for schemas with search combination refinements.
|
|
23
27
|
|
|
24
28
|
### Security
|
|
29
|
+
- `@modelcontextprotocol/sdk` `^1.30.0` → `1.32.1` (exact, as in `@uluops/ops-mcp`): clears GHSA-6qxp-vccf-f47h (high; 1.12.0–1.30.1, OAuth client could send credentials to a server-chosen authorization server), which failed the `npm audit --audit-level=high` step of `prepublishOnly`. Neither this package's `src/` nor `mcp-secure-server`'s `dist/` imports `@modelcontextprotocol/sdk/client` (searched 2026-10-08), so the OAuth client path is not reached; the bump clears the audit gate. Full suite and the lint/test/audit/build chain re-run on 1.32.1.
|
|
25
30
|
- Update the Hono override to 4.13.7 and resolve proxy-addr 2.0.8 to clear inherited production advisories before the F19 release.
|
|
26
31
|
|
|
27
32
|
## [0.11.4] - 2026-10-03
|
package/README.md
CHANGED
|
@@ -309,3 +309,10 @@ in request order; both ID arrays use that order and canonical spelling. Unknown,
|
|
|
309
309
|
deleted, and null profiles appear in `missingIds`. The 100-input limit applies
|
|
310
310
|
before deduplication. The SDK requires consistent producer `found`/`notFound`
|
|
311
311
|
metadata and returns a response-validation error when it is absent or invalid.
|
|
312
|
+
In envelope format, `fields` selects public profile fields inside `data` while
|
|
313
|
+
retaining user keys and both `foundIds` and `missingIds`. For example,
|
|
314
|
+
`fields: ['id']` trims profiles to their IDs; `fields: ['data']` keeps complete
|
|
315
|
+
profiles. Public profile fields remain selectable for all-missing batches, and
|
|
316
|
+
unknown fields are rejected. Selecting only metadata leaves empty profile
|
|
317
|
+
objects under their user keys. Default map field selection retains its existing
|
|
318
|
+
behavior.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch-users.d.ts","sourceRoot":"","sources":["../../src/tools/batch-users.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"batch-users.d.ts","sourceRoot":"","sources":["../../src/tools/batch-users.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAiC,MAAM,sBAAsB,CAAC;AAC1F,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAMnE,eAAO,MAAM,qBAAqB;;;;;;;;;EAGhC,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,yBAAyB,EACjC,cAAc,EAAE,cAAc,GAC7B,IAAI,CA6BN"}
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
* Batch user lookup (max 100).
|
|
5
5
|
*/
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import { createToolHandler } from '../utils/tool-handler.js';
|
|
7
|
+
import { collectFieldUniverse, createToolHandler, filterResponseFields } from '../utils/tool-handler.js';
|
|
8
|
+
// PublicUser's documented fields stay selectable even when every profile is missing.
|
|
9
|
+
const PUBLIC_USER_FIELDS = ['id', 'username', 'name', 'bio', 'websiteUrl', 'avatar', 'avatarMimeType'];
|
|
8
10
|
export const BatchUsersInputSchema = z.object({
|
|
9
11
|
ids: z.array(z.string().min(1)).min(1).max(100),
|
|
10
12
|
format: z.enum(['map', 'envelope']).optional(),
|
|
@@ -12,6 +14,23 @@ export const BatchUsersInputSchema = z.object({
|
|
|
12
14
|
export function registerBatchUsersTool(server, registryClient) {
|
|
13
15
|
server.tool('batch_users', 'Batch lookup of public user profiles by IDs (max 100). Optional format=envelope returns data, foundIds and missingIds with lowercase UUIDs deduplicated in request order; default is a map.', BatchUsersInputSchema.shape, createToolHandler(BatchUsersInputSchema, (n) => n.format === 'envelope'
|
|
14
16
|
? registryClient.users.batch(n.ids, { format: 'envelope' })
|
|
15
|
-
: registryClient.users.batch(n.ids), {
|
|
17
|
+
: registryClient.users.batch(n.ids), {
|
|
18
|
+
toolName: 'batch_users',
|
|
19
|
+
fieldProjection: {
|
|
20
|
+
collect: (result, input) => input.format === 'envelope'
|
|
21
|
+
? new Set(['data', 'foundIds', 'missingIds', ...PUBLIC_USER_FIELDS])
|
|
22
|
+
: collectFieldUniverse(result),
|
|
23
|
+
filter: (result, fields, input) => {
|
|
24
|
+
if (input.format !== 'envelope')
|
|
25
|
+
return filterResponseFields(result, fields);
|
|
26
|
+
const envelope = result;
|
|
27
|
+
const data = fields.includes('data') ? envelope.data : Object.fromEntries(Object.entries(envelope.data).map(([id, profile]) => [
|
|
28
|
+
id,
|
|
29
|
+
profile == null ? profile : Object.fromEntries(Object.entries(profile).filter(([field]) => fields.includes(field))),
|
|
30
|
+
]));
|
|
31
|
+
return { data, foundIds: envelope.foundIds, missingIds: envelope.missingIds };
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
}));
|
|
16
35
|
}
|
|
17
36
|
//# sourceMappingURL=batch-users.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"batch-users.js","sourceRoot":"","sources":["../../src/tools/batch-users.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"batch-users.js","sourceRoot":"","sources":["../../src/tools/batch-users.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAEzG,qFAAqF;AACrF,MAAM,kBAAkB,GAAG,CAAC,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,gBAAgB,CAAkD,CAAC;AAExJ,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC;IAC/C,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC/C,CAAC,CAAC;AAEH,MAAM,UAAU,sBAAsB,CACpC,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,aAAa,EACb,6LAA6L,EAC7L,qBAAqB,CAAC,KAAK,EAC3B,iBAAiB,CAAC,qBAAqB,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,UAAU;QACrE,CAAC,CAAC,cAAc,CAAC,KAAK,CAAC,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AAQ,CAAC,QAAQ,EAAE,UAAU,EAAE,QAAQ,CAAC,UAAU,EAAE,CAAC;YAChF,CAAC;SACF;KACF,CAAC,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -40,4 +40,37 @@ export declare const POOLED_VERSIONS_CAVEAT: string;
|
|
|
40
40
|
export declare const CROSS_VERSION_TOOLS: readonly ["get_lineage", "get_evolution", "compare_effectiveness", "get_diff_impact", "get_translation_analytics"];
|
|
41
41
|
/** Tools whose descriptions and responses must carry POOLED_VERSIONS_CAVEAT. */
|
|
42
42
|
export declare const POOLED_VERSIONS_TOOLS: readonly ["get_effectiveness", "get_health"];
|
|
43
|
+
/**
|
|
44
|
+
* Figures with no version identity (definition-version-dispositions spec v0.11.2 §4.1, amendment CM; P0m-3).
|
|
45
|
+
*
|
|
46
|
+
* AK (2026-10-02) left these uncaveated as "an overall picture of the definition". CM withdrew that: the exemption
|
|
47
|
+
* made the defect state (no version on the wire) the one with no caveat, so restoring a version to a response would
|
|
48
|
+
* have added a caveat and dropping one removed it (run #73, tracker bd7282be). The tools are the inventory's
|
|
49
|
+
* no-identity rows (version-comparison-surfaces-inventory v0.1.0, a7221ebb): four in @uluops/ops-mcp
|
|
50
|
+
* (get_agent_reliability, get_analytics, get_agent_matrix, get_agent_runs_analysis) and two in @uluops/registry-mcp
|
|
51
|
+
* (get_execution_stats, get_ecosystem_overview).
|
|
52
|
+
*
|
|
53
|
+
* Why its own constant and not POOLED_VERSIONS_CAVEAT: that sentence (registry-mcp, get_effectiveness/get_health)
|
|
54
|
+
* speaks of "the requested version", and these figures sit under no version. The checklist named ops-mcp's constant
|
|
55
|
+
* POOLED_VERSIONS_CAVEAT; one name carrying two different sentences across the two packages would defeat the
|
|
56
|
+
* word-for-word pins, so the name is new.
|
|
57
|
+
*
|
|
58
|
+
* Why "may" twice: the class holds two shapes. Some figures pool every version (agent reliability, execution counts,
|
|
59
|
+
* the agent matrix across definitions); others are one version's rows serialized without the version (grouped agent
|
|
60
|
+
* performance until bd7282be restores the field, unresolved runs-analysis items). "Even when the request named a
|
|
61
|
+
* version" covers get_execution_stats, whose URL names a version and whose body counts every version and org.
|
|
62
|
+
*
|
|
63
|
+
* Why "including those shown with a version" (CL, review 2026-10-08): the first wording opened "Figures here that
|
|
64
|
+
* carry no definition version", which exempted any figure with a version field — the CJ reading, which CL replaced:
|
|
65
|
+
* a version is identity only when its provenance checks out, and agentTypeDefinitionVersion on runs-analysis items is
|
|
66
|
+
* usually the server's inferred-latest. Keyed on presence, the caveat rewarded putting an unverified version on the
|
|
67
|
+
* wire (perverse-outcome-detector P1, anxiety-reader F4). The "current version" clause closes the reading that ranks
|
|
68
|
+
* definitions on pooled figures and recommends today's version (P5). Never shipped to npm in the first wording.
|
|
69
|
+
*
|
|
70
|
+
* The sentence is identical in @uluops/ops-mcp and @uluops/registry-mcp; each package's test pins it word for word,
|
|
71
|
+
* and spec §4.1 records its sha256 (BA).
|
|
72
|
+
*/
|
|
73
|
+
export declare const UNVERSIONED_FIGURES_CAVEAT: string;
|
|
74
|
+
/** Tools whose descriptions and responses must carry UNVERSIONED_FIGURES_CAVEAT. */
|
|
75
|
+
export declare const UNVERSIONED_FIGURES_TOOLS: readonly ["get_execution_stats", "get_ecosystem_overview"];
|
|
43
76
|
//# sourceMappingURL=cross-version-caveat.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cross-version-caveat.d.ts","sourceRoot":"","sources":["../../src/tools/cross-version-caveat.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,oBAAoB,QAUiB,CAAC;AAEnD,eAAO,MAAM,sBAAsB,QAK6C,CAAC;AAEjF,8EAA8E;AAC9E,eAAO,MAAM,mBAAmB,oHAMtB,CAAC;AAEX,gFAAgF;AAChF,eAAO,MAAM,qBAAqB,8CAA+C,CAAC"}
|
|
1
|
+
{"version":3,"file":"cross-version-caveat.d.ts","sourceRoot":"","sources":["../../src/tools/cross-version-caveat.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,eAAO,MAAM,oBAAoB,QAUiB,CAAC;AAEnD,eAAO,MAAM,sBAAsB,QAK6C,CAAC;AAEjF,8EAA8E;AAC9E,eAAO,MAAM,mBAAmB,oHAMtB,CAAC;AAEX,gFAAgF;AAChF,eAAO,MAAM,qBAAqB,8CAA+C,CAAC;AAElF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,0BAA0B,QAM+C,CAAC;AAEvF,oFAAoF;AACpF,eAAO,MAAM,yBAAyB,4DAG5B,CAAC"}
|
|
@@ -59,4 +59,45 @@ export const CROSS_VERSION_TOOLS = [
|
|
|
59
59
|
];
|
|
60
60
|
/** Tools whose descriptions and responses must carry POOLED_VERSIONS_CAVEAT. */
|
|
61
61
|
export const POOLED_VERSIONS_TOOLS = ['get_effectiveness', 'get_health'];
|
|
62
|
+
/**
|
|
63
|
+
* Figures with no version identity (definition-version-dispositions spec v0.11.2 §4.1, amendment CM; P0m-3).
|
|
64
|
+
*
|
|
65
|
+
* AK (2026-10-02) left these uncaveated as "an overall picture of the definition". CM withdrew that: the exemption
|
|
66
|
+
* made the defect state (no version on the wire) the one with no caveat, so restoring a version to a response would
|
|
67
|
+
* have added a caveat and dropping one removed it (run #73, tracker bd7282be). The tools are the inventory's
|
|
68
|
+
* no-identity rows (version-comparison-surfaces-inventory v0.1.0, a7221ebb): four in @uluops/ops-mcp
|
|
69
|
+
* (get_agent_reliability, get_analytics, get_agent_matrix, get_agent_runs_analysis) and two in @uluops/registry-mcp
|
|
70
|
+
* (get_execution_stats, get_ecosystem_overview).
|
|
71
|
+
*
|
|
72
|
+
* Why its own constant and not POOLED_VERSIONS_CAVEAT: that sentence (registry-mcp, get_effectiveness/get_health)
|
|
73
|
+
* speaks of "the requested version", and these figures sit under no version. The checklist named ops-mcp's constant
|
|
74
|
+
* POOLED_VERSIONS_CAVEAT; one name carrying two different sentences across the two packages would defeat the
|
|
75
|
+
* word-for-word pins, so the name is new.
|
|
76
|
+
*
|
|
77
|
+
* Why "may" twice: the class holds two shapes. Some figures pool every version (agent reliability, execution counts,
|
|
78
|
+
* the agent matrix across definitions); others are one version's rows serialized without the version (grouped agent
|
|
79
|
+
* performance until bd7282be restores the field, unresolved runs-analysis items). "Even when the request named a
|
|
80
|
+
* version" covers get_execution_stats, whose URL names a version and whose body counts every version and org.
|
|
81
|
+
*
|
|
82
|
+
* Why "including those shown with a version" (CL, review 2026-10-08): the first wording opened "Figures here that
|
|
83
|
+
* carry no definition version", which exempted any figure with a version field — the CJ reading, which CL replaced:
|
|
84
|
+
* a version is identity only when its provenance checks out, and agentTypeDefinitionVersion on runs-analysis items is
|
|
85
|
+
* usually the server's inferred-latest. Keyed on presence, the caveat rewarded putting an unverified version on the
|
|
86
|
+
* wire (perverse-outcome-detector P1, anxiety-reader F4). The "current version" clause closes the reading that ranks
|
|
87
|
+
* definitions on pooled figures and recommends today's version (P5). Never shipped to npm in the first wording.
|
|
88
|
+
*
|
|
89
|
+
* The sentence is identical in @uluops/ops-mcp and @uluops/registry-mcp; each package's test pins it word for word,
|
|
90
|
+
* and spec §4.1 records its sha256 (BA).
|
|
91
|
+
*/
|
|
92
|
+
export const UNVERSIONED_FIGURES_CAVEAT = 'Figures here are not evidence about any one version, including those shown with a version: the response does ' +
|
|
93
|
+
'not show that the version was checked against the registry, and it may have been filled in by the server. Each ' +
|
|
94
|
+
'may pool every version of the agent or definition it describes (some also span several definitions or orgs), ' +
|
|
95
|
+
'even when the request named a version, or may come from a single version. Do not attribute such a figure to a ' +
|
|
96
|
+
'version, compare it with a version\'s own figures, recommend a definition\'s current version on the basis of it, ' +
|
|
97
|
+
'or read a change in it as evidence that an edit made a definition better or worse.';
|
|
98
|
+
/** Tools whose descriptions and responses must carry UNVERSIONED_FIGURES_CAVEAT. */
|
|
99
|
+
export const UNVERSIONED_FIGURES_TOOLS = [
|
|
100
|
+
'get_execution_stats',
|
|
101
|
+
'get_ecosystem_overview',
|
|
102
|
+
];
|
|
62
103
|
//# sourceMappingURL=cross-version-caveat.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cross-version-caveat.js","sourceRoot":"","sources":["../../src/tools/cross-version-caveat.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAC/B,4GAA4G;IAC5G,0GAA0G;IAC1G,sGAAsG;IACtG,6GAA6G;IAC7G,iHAAiH;IACjH,gHAAgH;IAChH,6GAA6G;IAC7G,iHAAiH;IACjH,gHAAgH;IAChH,gDAAgD,CAAC;AAEnD,MAAM,CAAC,MAAM,sBAAsB,GACjC,uGAAuG;IACvG,+GAA+G;IAC/G,gHAAgH;IAChH,4GAA4G;IAC5G,8EAA8E,CAAC;AAEjF,8EAA8E;AAC9E,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,aAAa;IACb,eAAe;IACf,uBAAuB;IACvB,iBAAiB;IACjB,2BAA2B;CACnB,CAAC;AAEX,gFAAgF;AAChF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,mBAAmB,EAAE,YAAY,CAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"cross-version-caveat.js","sourceRoot":"","sources":["../../src/tools/cross-version-caveat.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAC/B,4GAA4G;IAC5G,0GAA0G;IAC1G,sGAAsG;IACtG,6GAA6G;IAC7G,iHAAiH;IACjH,gHAAgH;IAChH,6GAA6G;IAC7G,iHAAiH;IACjH,gHAAgH;IAChH,gDAAgD,CAAC;AAEnD,MAAM,CAAC,MAAM,sBAAsB,GACjC,uGAAuG;IACvG,+GAA+G;IAC/G,gHAAgH;IAChH,4GAA4G;IAC5G,8EAA8E,CAAC;AAEjF,8EAA8E;AAC9E,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,aAAa;IACb,eAAe;IACf,uBAAuB;IACvB,iBAAiB;IACjB,2BAA2B;CACnB,CAAC;AAEX,gFAAgF;AAChF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,mBAAmB,EAAE,YAAY,CAAU,CAAC;AAElF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,CAAC,MAAM,0BAA0B,GACrC,+GAA+G;IAC/G,iHAAiH;IACjH,+GAA+G;IAC/G,gHAAgH;IAChH,mHAAmH;IACnH,oFAAoF,CAAC;AAEvF,oFAAoF;AACpF,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,qBAAqB;IACrB,wBAAwB;CAChB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ecosystem-overview.d.ts","sourceRoot":"","sources":["../../src/tools/get-ecosystem-overview.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"get-ecosystem-overview.d.ts","sourceRoot":"","sources":["../../src/tools/get-ecosystem-overview.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAInE,eAAO,MAAM,+BAA+B,gDAAe,CAAC;AAE5D,wBAAgB,gCAAgC,CAC9C,MAAM,EAAE,yBAAyB,EACjC,cAAc,EAAE,cAAc,GAC7B,IAAI,CASN"}
|
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
import { createToolHandler } from '../utils/tool-handler.js';
|
|
8
|
+
import { UNVERSIONED_FIGURES_CAVEAT } from './cross-version-caveat.js';
|
|
8
9
|
export const GetEcosystemOverviewInputSchema = z.object({});
|
|
9
10
|
export function registerGetEcosystemOverviewTool(server, registryClient) {
|
|
10
|
-
server.tool('get_ecosystem_overview', 'Get ecosystem-wide overview: definition counts, aggregate health scores, top performers, and definitions needing attention.', GetEcosystemOverviewInputSchema.shape, createToolHandler(GetEcosystemOverviewInputSchema, () => registryClient.analytics.getEcosystemOverview(), { toolName: 'get_ecosystem_overview' }));
|
|
11
|
+
server.tool('get_ecosystem_overview', 'Get ecosystem-wide overview: definition counts, aggregate health scores, top performers, and definitions needing attention.' + ' ' + UNVERSIONED_FIGURES_CAVEAT, GetEcosystemOverviewInputSchema.shape, createToolHandler(GetEcosystemOverviewInputSchema, () => registryClient.analytics.getEcosystemOverview(), { toolName: 'get_ecosystem_overview', responseNote: UNVERSIONED_FIGURES_CAVEAT }));
|
|
11
12
|
}
|
|
12
13
|
//# sourceMappingURL=get-ecosystem-overview.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ecosystem-overview.js","sourceRoot":"","sources":["../../src/tools/get-ecosystem-overview.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"get-ecosystem-overview.js","sourceRoot":"","sources":["../../src/tools/get-ecosystem-overview.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAEvE,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAE5D,MAAM,UAAU,gCAAgC,CAC9C,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,wBAAwB,EACxB,6HAA6H,GAAG,GAAG,GAAG,0BAA0B,EAChK,+BAA+B,CAAC,KAAK,EACrC,iBAAiB,CAAC,+BAA+B,EAAE,GAAG,EAAE,CACtD,cAAc,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAC/C,EAAE,QAAQ,EAAE,wBAAwB,EAAE,YAAY,EAAE,0BAA0B,EAAE,CAAC,CACpF,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-execution-stats.d.ts","sourceRoot":"","sources":["../../src/tools/get-execution-stats.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAmC,KAAK,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"get-execution-stats.d.ts","sourceRoot":"","sources":["../../src/tools/get-execution-stats.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAmC,KAAK,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAIpG,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;EAQvC,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,yBAAyB,EACjC,cAAc,EAAE,cAAc,GAC7B,IAAI,CASN"}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
import { DefinitionTypeWithDefaultSchema } from '../types/index.js';
|
|
8
8
|
import { createToolHandler } from '../utils/tool-handler.js';
|
|
9
|
+
import { UNVERSIONED_FIGURES_CAVEAT } from './cross-version-caveat.js';
|
|
9
10
|
export const GetExecutionStatsInputSchema = z.object({
|
|
10
11
|
type: DefinitionTypeWithDefaultSchema,
|
|
11
12
|
name: z.string().min(1),
|
|
@@ -16,6 +17,6 @@ export const GetExecutionStatsInputSchema = z.object({
|
|
|
16
17
|
window: z.number().int().positive().max(365).optional(),
|
|
17
18
|
});
|
|
18
19
|
export function registerGetExecutionStatsTool(server, registryClient) {
|
|
19
|
-
server.tool('get_execution_stats', "Get execution statistics for a definition
|
|
20
|
+
server.tool('get_execution_stats', "Get execution statistics for a definition. The version argument (default: the latest published version) selects the route; the counts are not limited to it. Optional window parameter in DAYS (converted to the API's minute-denominated window; the response echoes windowMinutes)." + ' ' + UNVERSIONED_FIGURES_CAVEAT, GetExecutionStatsInputSchema.shape, createToolHandler(GetExecutionStatsInputSchema, (n) => registryClient.executions.getStats(n.type, n.name, n.version, n.window === undefined ? undefined : n.window * 24 * 60), { toolName: 'get_execution_stats', responseNote: UNVERSIONED_FIGURES_CAVEAT }));
|
|
20
21
|
}
|
|
21
22
|
//# sourceMappingURL=get-execution-stats.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-execution-stats.js","sourceRoot":"","sources":["../../src/tools/get-execution-stats.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,+BAA+B,EAAkC,MAAM,mBAAmB,CAAC;AACpG,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"get-execution-stats.js","sourceRoot":"","sources":["../../src/tools/get-execution-stats.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,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
|
40
40
|
preProcess?: (input: TInput) => TInput | McpToolResponse;
|
|
41
41
|
/** Transform SDK result before wrapping in success response. Use to trim large fields. */
|
|
42
42
|
postProcess?: (result: unknown) => unknown;
|
|
43
|
+
/** Per-tool response projection for payloads with a specialized container shape. */
|
|
44
|
+
fieldProjection?: {
|
|
45
|
+
collect: (result: unknown, input: TInput) => Set<string>;
|
|
46
|
+
filter: (result: unknown, fields: string[], input: TInput) => unknown;
|
|
47
|
+
};
|
|
43
48
|
/**
|
|
44
49
|
* Appended to every success response as a separate `{ caveat }` text block. Used for
|
|
45
50
|
* the cross-version caveats (dvc spec §4.1, AH): a model reads the response, not the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-handler.d.ts","sourceRoot":"","sources":["../../src/utils/tool-handler.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAA8C,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AA6DrG;;;;;;;;;;;GAWG;AACH,KAAK,eAAe,GAAG,GAAG,CAAC;AAE3B;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACtE,MAAM,EAAE,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,EAC3B,OAAO,EAAE,CAIP,UAAU,EAAE,eAAe,KACxB,OAAO,CAAC,OAAO,CAAC,EACrB,OAAO,CAAC,EAAE;IACR,4GAA4G;IAC5G,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sIAAsI;IACtI,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,GAAG,eAAe,CAAC;IACzD,0FAA0F;IAC1F,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,OAAO,CAAC;IAC3C;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;C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gB,iBAAiB,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAWxD;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,GAAG;IACjD,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;CAC9B,CAiBA;AAKD;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,GAAG,GAAG,CAAC,MAAM,CAAC,CAgB/D;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAoE7E"}
|
|
@@ -122,7 +122,12 @@ export function createToolHandler(schema, sdkCall, options) {
|
|
|
122
122
|
// are now REJECTED with the valid set listed, and single-object payloads
|
|
123
123
|
// are projected instead of dropped.
|
|
124
124
|
if (fields) {
|
|
125
|
-
const universe =
|
|
125
|
+
const universe = options?.fieldProjection
|
|
126
|
+
? options.fieldProjection.collect(result, input)
|
|
127
|
+
: collectFieldUniverse(result);
|
|
128
|
+
const project = (selected) => options?.fieldProjection
|
|
129
|
+
? options.fieldProjection.filter(result, selected, input)
|
|
130
|
+
: filterResponseFields(result, selected);
|
|
126
131
|
const unknown = fields.filter((f) => !universe.has(f));
|
|
127
132
|
if (unknown.length > 0) {
|
|
128
133
|
const message = `Unknown field(s) in 'fields': ${unknown.join(', ')}. ` +
|
|
@@ -134,7 +139,7 @@ export function createToolHandler(schema, sdkCall, options) {
|
|
|
134
139
|
// project the known fields (the full result if none are known) and warn.
|
|
135
140
|
if (isWriteTool(options?.toolName)) {
|
|
136
141
|
const known = fields.filter((f) => universe.has(f));
|
|
137
|
-
const projected = known.length > 0 ?
|
|
142
|
+
const projected = known.length > 0 ? project(known) : result;
|
|
138
143
|
const response = createSuccessResponse(projected);
|
|
139
144
|
response.content.push({
|
|
140
145
|
type: 'text',
|
|
@@ -146,7 +151,7 @@ export function createToolHandler(schema, sdkCall, options) {
|
|
|
146
151
|
}
|
|
147
152
|
return createErrorResponse(message);
|
|
148
153
|
}
|
|
149
|
-
result =
|
|
154
|
+
result = project(fields);
|
|
150
155
|
}
|
|
151
156
|
const response = createSuccessResponse(result);
|
|
152
157
|
if (options?.responseNote !== undefined) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-handler.js","sourceRoot":"","sources":["../../src/utils/tool-handler.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACzG,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,mBAAmB,EAAwB,MAAM,mBAAmB,CAAC;AACrG,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE1D;;;;GAIG;AACH,SAAS,mBAAmB,CAAC,IAAa,EAAE,MAAmB;IAC7D,IAAI,OAAO,IAAI,KAAK,QAAQ,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,IAAI,CAAC;IAC3D,6EAA6E;IAC7E,OAAO,MAAM,YAAY,CAAC,CAAC,UAAU;QAAE,MAAM,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;IACnE,IAAI,CAAC,CAAC,MAAM,YAAY,CAAC,CAAC,SAAS,CAAC;QAAE,OAAO,IAAI,CAAC;IAElD,MAAM,KAAK,GAAG,MAAM,CAAC,KAAqC,CAAC;IAC3D,MAAM,GAAG,GAAG,EAAE,GAAI,IAAgC,EAAE,CAAC;IAErD,KAAK,MAAM,CAAC,GAAG,EAAE,WAAW,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACvD,IAAI,GAAG,IAAI,G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O,MAAM,CAAC;AAChB,CAAC;AAED,4CAA4C;AAC5C,SAAS,UAAU,CAAC,GAA4B,EAAE,MAAgB;IAChE,MAAM,MAAM,GAA4B,EAAE,CAAC;IAC3C,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,IAAI,KAAK,IAAI,GAAG,EAAE,CAAC;YACjB,MAAM,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uluops/registry-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "MCP server for the UluOps Registry API — definition management, versioning, and analytics",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"node": ">=20.3.0"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@modelcontextprotocol/sdk": "
|
|
64
|
+
"@modelcontextprotocol/sdk": "1.32.1",
|
|
65
65
|
"@uluops/registry-sdk": "0.60.0",
|
|
66
66
|
"@uluops/sdk-core": "0.18.1",
|
|
67
67
|
"mcp-secure-server": "0.0.25-security",
|