@uluops/registry-mcp 0.4.0 → 0.6.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 +64 -0
- package/dist/tools/archive-definition.d.ts +3 -3
- package/dist/tools/archive-definition.d.ts.map +1 -1
- package/dist/tools/archive-definition.js +2 -2
- package/dist/tools/archive-definition.js.map +1 -1
- package/dist/tools/batch-publish.d.ts.map +1 -1
- package/dist/tools/batch-publish.js +2 -0
- package/dist/tools/batch-publish.js.map +1 -1
- package/dist/tools/compare-effectiveness.d.ts +3 -3
- package/dist/tools/compare-effectiveness.d.ts.map +1 -1
- package/dist/tools/compare-effectiveness.js +2 -2
- package/dist/tools/compare-effectiveness.js.map +1 -1
- package/dist/tools/create-definition.d.ts +3 -3
- package/dist/tools/create-definition.js +2 -2
- package/dist/tools/create-definition.js.map +1 -1
- package/dist/tools/delete-definition.d.ts +3 -3
- package/dist/tools/delete-definition.d.ts.map +1 -1
- package/dist/tools/delete-definition.js +2 -2
- package/dist/tools/delete-definition.js.map +1 -1
- package/dist/tools/deprecate-definition.d.ts +3 -3
- package/dist/tools/deprecate-definition.d.ts.map +1 -1
- package/dist/tools/deprecate-definition.js +2 -2
- package/dist/tools/deprecate-definition.js.map +1 -1
- package/dist/tools/diff-versions.d.ts +3 -3
- package/dist/tools/diff-versions.d.ts.map +1 -1
- package/dist/tools/diff-versions.js +2 -2
- package/dist/tools/diff-versions.js.map +1 -1
- package/dist/tools/fork-definition.d.ts +3 -3
- package/dist/tools/fork-definition.d.ts.map +1 -1
- package/dist/tools/fork-definition.js +2 -2
- package/dist/tools/fork-definition.js.map +1 -1
- package/dist/tools/get-definition.d.ts +3 -3
- package/dist/tools/get-definition.d.ts.map +1 -1
- package/dist/tools/get-definition.js +2 -2
- package/dist/tools/get-definition.js.map +1 -1
- package/dist/tools/get-dependencies.d.ts +3 -3
- package/dist/tools/get-dependencies.d.ts.map +1 -1
- package/dist/tools/get-dependencies.js +2 -2
- package/dist/tools/get-dependencies.js.map +1 -1
- package/dist/tools/get-dependents.d.ts +3 -3
- package/dist/tools/get-dependents.d.ts.map +1 -1
- package/dist/tools/get-dependents.js +2 -2
- package/dist/tools/get-dependents.js.map +1 -1
- package/dist/tools/get-diff-impact.d.ts +30 -10
- package/dist/tools/get-diff-impact.d.ts.map +1 -1
- package/dist/tools/get-diff-impact.js +11 -6
- package/dist/tools/get-diff-impact.js.map +1 -1
- package/dist/tools/get-effectiveness.d.ts +3 -3
- package/dist/tools/get-effectiveness.d.ts.map +1 -1
- package/dist/tools/get-effectiveness.js +3 -3
- package/dist/tools/get-effectiveness.js.map +1 -1
- package/dist/tools/get-evolution.d.ts +3 -3
- package/dist/tools/get-evolution.d.ts.map +1 -1
- package/dist/tools/get-evolution.js +2 -2
- package/dist/tools/get-evolution.js.map +1 -1
- package/dist/tools/get-execution-stats.d.ts +3 -3
- package/dist/tools/get-execution-stats.d.ts.map +1 -1
- package/dist/tools/get-execution-stats.js +7 -4
- package/dist/tools/get-execution-stats.js.map +1 -1
- package/dist/tools/get-fork-lineage.d.ts +3 -3
- package/dist/tools/get-fork-lineage.d.ts.map +1 -1
- package/dist/tools/get-fork-lineage.js +2 -2
- package/dist/tools/get-fork-lineage.js.map +1 -1
- package/dist/tools/get-health.d.ts +3 -3
- package/dist/tools/get-health.d.ts.map +1 -1
- package/dist/tools/get-health.js +2 -2
- package/dist/tools/get-health.js.map +1 -1
- package/dist/tools/get-lineage.d.ts +3 -3
- package/dist/tools/get-lineage.d.ts.map +1 -1
- package/dist/tools/get-lineage.js +2 -2
- package/dist/tools/get-lineage.js.map +1 -1
- package/dist/tools/get-translation-analytics.d.ts +3 -3
- package/dist/tools/get-translation-analytics.d.ts.map +1 -1
- package/dist/tools/get-translation-analytics.js +2 -2
- package/dist/tools/get-translation-analytics.js.map +1 -1
- package/dist/tools/is-forkable.d.ts +3 -3
- package/dist/tools/is-forkable.d.ts.map +1 -1
- package/dist/tools/is-forkable.js +2 -2
- package/dist/tools/is-forkable.js.map +1 -1
- package/dist/tools/list-aliases.js +1 -1
- package/dist/tools/list-aliases.js.map +1 -1
- package/dist/tools/list-forks.d.ts +3 -3
- package/dist/tools/list-forks.d.ts.map +1 -1
- package/dist/tools/list-forks.js +2 -2
- package/dist/tools/list-forks.js.map +1 -1
- package/dist/tools/list-providers.d.ts +10 -1
- package/dist/tools/list-providers.d.ts.map +1 -1
- package/dist/tools/list-providers.js +7 -2
- package/dist/tools/list-providers.js.map +1 -1
- package/dist/tools/list-versions.d.ts +3 -3
- package/dist/tools/list-versions.d.ts.map +1 -1
- package/dist/tools/list-versions.js +2 -2
- package/dist/tools/list-versions.js.map +1 -1
- package/dist/tools/publish-definition.d.ts +3 -3
- package/dist/tools/publish-definition.d.ts.map +1 -1
- package/dist/tools/publish-definition.js +2 -2
- package/dist/tools/publish-definition.js.map +1 -1
- package/dist/tools/record-execution.d.ts +3 -3
- package/dist/tools/record-execution.d.ts.map +1 -1
- package/dist/tools/record-execution.js +2 -2
- package/dist/tools/record-execution.js.map +1 -1
- package/dist/tools/render-definition.d.ts +3 -3
- package/dist/tools/render-definition.d.ts.map +1 -1
- package/dist/tools/render-definition.js +15 -3
- package/dist/tools/render-definition.js.map +1 -1
- package/dist/tools/resolve-alias.js +1 -1
- package/dist/tools/resolve-alias.js.map +1 -1
- package/dist/tools/retranslate-definition.d.ts +3 -3
- package/dist/tools/retranslate-definition.d.ts.map +1 -1
- package/dist/tools/retranslate-definition.js +3 -3
- package/dist/tools/retranslate-definition.js.map +1 -1
- package/dist/tools/update-and-publish.d.ts +3 -3
- package/dist/tools/update-and-publish.d.ts.map +1 -1
- package/dist/tools/update-and-publish.js +9 -3
- package/dist/tools/update-and-publish.js.map +1 -1
- package/dist/tools/update-definition.d.ts +3 -3
- package/dist/tools/update-definition.js +2 -2
- package/dist/tools/update-definition.js.map +1 -1
- package/dist/tools/upgrade-definition.d.ts +3 -3
- package/dist/tools/upgrade-definition.d.ts.map +1 -1
- package/dist/tools/upgrade-definition.js +2 -2
- package/dist/tools/upgrade-definition.js.map +1 -1
- package/dist/tools/validate-definition.d.ts +3 -3
- package/dist/tools/validate-definition.d.ts.map +1 -1
- package/dist/tools/validate-definition.js +2 -2
- package/dist/tools/validate-definition.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/schemas.d.ts +8 -0
- package/dist/types/schemas.d.ts.map +1 -1
- package/dist/types/schemas.js +8 -0
- package/dist/types/schemas.js.map +1 -1
- package/dist/utils/tool-handler.d.ts +7 -0
- package/dist/utils/tool-handler.d.ts.map +1 -1
- package/dist/utils/tool-handler.js +80 -3
- package/dist/utils/tool-handler.js.map +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-dependents.d.ts","sourceRoot":"","sources":["../../src/tools/get-dependents.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"get-dependents.d.ts","sourceRoot":"","sources":["../../src/tools/get-dependents.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;AAGpG,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAInC,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,yBAAyB,EACjC,cAAc,EAAE,cAAc,GAC7B,IAAI,CASN"}
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Get reverse dependency graph for a definition.
|
|
5
5
|
*/
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import {
|
|
7
|
+
import { DefinitionTypeWithDefaultSchema } from '../types/index.js';
|
|
8
8
|
import { createToolHandler } from '../utils/tool-handler.js';
|
|
9
9
|
export const GetDependentsInputSchema = z.object({
|
|
10
|
-
type:
|
|
10
|
+
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
12
|
version: z.string().min(1),
|
|
13
13
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-dependents.js","sourceRoot":"","sources":["../../src/tools/get-dependents.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"get-dependents.js","sourceRoot":"","sources":["../../src/tools/get-dependents.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;AAE7D,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC3B,CAAC,CAAC;AAEH,MAAM,UAAU,yBAAyB,CACvC,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,gBAAgB,EAChB,6EAA6E,EAC7E,wBAAwB,CAAC,KAAK,EAC9B,iBAAiB,CAAC,wBAAwB,EAAE,CAAC,CAAC,EAAE,EAAE,CAChD,cAAc,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CACrE,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -6,21 +6,41 @@
|
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
import type { RegistryClient } from '@uluops/registry-sdk';
|
|
8
8
|
import { type McpServerToolRegistration } from '../types/index.js';
|
|
9
|
-
export declare const GetDiffImpactInputSchema: z.ZodObject<{
|
|
10
|
-
type: z.ZodEnum<["agent", "command", "workflow", "pipeline"]
|
|
9
|
+
export declare const GetDiffImpactInputSchema: z.ZodEffects<z.ZodObject<{
|
|
10
|
+
type: z.ZodOptional<z.ZodEnum<["agent", "command", "workflow", "pipeline"]>>;
|
|
11
11
|
name: z.ZodString;
|
|
12
|
-
from_version: z.ZodString
|
|
13
|
-
to_version: z.ZodString
|
|
12
|
+
from_version: z.ZodOptional<z.ZodString>;
|
|
13
|
+
to_version: z.ZodOptional<z.ZodString>;
|
|
14
|
+
from: z.ZodOptional<z.ZodString>;
|
|
15
|
+
to: z.ZodOptional<z.ZodString>;
|
|
14
16
|
}, "strip", z.ZodTypeAny, {
|
|
15
17
|
name: string;
|
|
16
|
-
type
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
19
|
+
from?: string | undefined;
|
|
20
|
+
to?: string | undefined;
|
|
21
|
+
from_version?: string | undefined;
|
|
22
|
+
to_version?: string | undefined;
|
|
19
23
|
}, {
|
|
20
24
|
name: string;
|
|
21
|
-
type
|
|
22
|
-
|
|
23
|
-
|
|
25
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
26
|
+
from?: string | undefined;
|
|
27
|
+
to?: string | undefined;
|
|
28
|
+
from_version?: string | undefined;
|
|
29
|
+
to_version?: string | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
name: string;
|
|
32
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
33
|
+
from?: string | undefined;
|
|
34
|
+
to?: string | undefined;
|
|
35
|
+
from_version?: string | undefined;
|
|
36
|
+
to_version?: string | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
name: string;
|
|
39
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
40
|
+
from?: string | undefined;
|
|
41
|
+
to?: string | undefined;
|
|
42
|
+
from_version?: string | undefined;
|
|
43
|
+
to_version?: string | undefined;
|
|
24
44
|
}>;
|
|
25
45
|
export declare function registerGetDiffImpactTool(server: McpServerToolRegistration, registryClient: RegistryClient): void;
|
|
26
46
|
//# sourceMappingURL=get-diff-impact.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-diff-impact.d.ts","sourceRoot":"","sources":["../../src/tools/get-diff-impact.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"get-diff-impact.d.ts","sourceRoot":"","sources":["../../src/tools/get-diff-impact.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;AAGpG,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAapC,CAAC;AAEF,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,yBAAyB,EACjC,cAAc,EAAE,cAAc,GAC7B,IAAI,CASN"}
|
|
@@ -4,15 +4,20 @@
|
|
|
4
4
|
* Get structural diff combined with metric deltas between two versions.
|
|
5
5
|
*/
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import {
|
|
7
|
+
import { DefinitionTypeWithDefaultSchema } from '../types/index.js';
|
|
8
8
|
import { createToolHandler } from '../utils/tool-handler.js';
|
|
9
9
|
export const GetDiffImpactInputSchema = z.object({
|
|
10
|
-
type:
|
|
10
|
+
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
// RG14: diff_versions uses from/to; this tool used from_version/to_version —
|
|
13
|
+
// same concept, adjacent tools, a coin-flip for callers. Both spellings are
|
|
14
|
+
// accepted here; from/to win when both are present (they match the sibling).
|
|
15
|
+
from_version: z.string().min(1).optional(),
|
|
16
|
+
to_version: z.string().min(1).optional(),
|
|
17
|
+
from: z.string().min(1).optional().describe('Alias for from_version (matches diff_versions)'),
|
|
18
|
+
to: z.string().min(1).optional().describe('Alias for to_version (matches diff_versions)'),
|
|
19
|
+
}).refine((v) => Boolean(v.from ?? v.from_version) && Boolean(v.to ?? v.to_version), { message: "Provide the version pair as either from/to or from_version/to_version." });
|
|
15
20
|
export function registerGetDiffImpactTool(server, registryClient) {
|
|
16
|
-
server.tool('get_diff_impact', 'Get structural diff combined with metric deltas between two definition versions. Deltas are observational, not causal — caveats are always included.', GetDiffImpactInputSchema.shape, createToolHandler(GetDiffImpactInputSchema, (n) => registryClient.analytics.getDiffImpact(n.type, n.name, n.fromVersion, n.toVersion)));
|
|
21
|
+
server.tool('get_diff_impact', 'Get structural diff combined with metric deltas between two definition versions. Accepts from/to (matching diff_versions) or from_version/to_version. Deltas are observational, not causal — caveats are always included.', GetDiffImpactInputSchema.innerType().shape, createToolHandler(GetDiffImpactInputSchema, (n) => registryClient.analytics.getDiffImpact(n.type, n.name, n.from ?? n.fromVersion, n.to ?? n.toVersion)));
|
|
17
22
|
}
|
|
18
23
|
//# sourceMappingURL=get-diff-impact.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-diff-impact.js","sourceRoot":"","sources":["../../src/tools/get-diff-impact.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"get-diff-impact.js","sourceRoot":"","sources":["../../src/tools/get-diff-impact.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;AAE7D,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,6EAA6E;IAC7E,4EAA4E;IAC5E,6EAA6E;IAC7E,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC1C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACxC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gDAAgD,CAAC;IAC7F,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8CAA8C,CAAC;CAC1F,CAAC,CAAC,MAAM,CACP,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,YAAY,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,UAAU,CAAC,EACzE,EAAE,OAAO,EAAE,wEAAwE,EAAE,CACtF,CAAC;AAEF,MAAM,UAAU,yBAAyB,CACvC,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,iBAAiB,EACjB,2NAA2N,EAC1N,wBAAuF,CAAC,SAAS,EAAE,CAAC,KAAK,EAC1G,iBAAiB,CAAC,wBAAwB,EAAE,CAAC,CAAC,EAAE,EAAE,CAChD,cAAc,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,SAAS,CAAC,CACrG,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -7,16 +7,16 @@ import { z } from 'zod';
|
|
|
7
7
|
import type { RegistryClient } from '@uluops/registry-sdk';
|
|
8
8
|
import { type McpServerToolRegistration } from '../types/index.js';
|
|
9
9
|
export declare const GetEffectivenessInputSchema: z.ZodObject<{
|
|
10
|
-
type: z.ZodEnum<["agent", "command", "workflow", "pipeline"]
|
|
10
|
+
type: z.ZodOptional<z.ZodEnum<["agent", "command", "workflow", "pipeline"]>>;
|
|
11
11
|
name: z.ZodString;
|
|
12
12
|
version: z.ZodOptional<z.ZodString>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
name: string;
|
|
15
|
-
type
|
|
15
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
16
16
|
version?: string | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
name: string;
|
|
19
|
-
type
|
|
19
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
20
20
|
version?: string | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export declare function registerGetEffectivenessTool(server: McpServerToolRegistration, registryClient: RegistryClient): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-effectiveness.d.ts","sourceRoot":"","sources":["../../src/tools/get-effectiveness.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"get-effectiveness.d.ts","sourceRoot":"","sources":["../../src/tools/get-effectiveness.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;AAGpG,eAAO,MAAM,2BAA2B;;;;;;;;;;;;EAItC,CAAC;AAEH,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,yBAAyB,EACjC,cAAc,EAAE,cAAc,GAC7B,IAAI,CASN"}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
* Get effectiveness metrics for a definition: pass rate, scores, taxonomy, health score.
|
|
5
5
|
*/
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import {
|
|
7
|
+
import { DefinitionTypeWithDefaultSchema } from '../types/index.js';
|
|
8
8
|
import { createToolHandler } from '../utils/tool-handler.js';
|
|
9
9
|
export const GetEffectivenessInputSchema = z.object({
|
|
10
|
-
type:
|
|
10
|
+
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
12
|
version: z.string().min(1).optional(),
|
|
13
13
|
});
|
|
14
14
|
export function registerGetEffectivenessTool(server, registryClient) {
|
|
15
|
-
server.tool('get_effectiveness', 'Get effectiveness metrics for a definition: pass rate, scores, taxonomy distribution, health score, and composition lift. Version defaults to latest. Quality numbers (passRate/runAvgScore) are VOTER-WEIGHTED: one actor, one vote — a single account cannot dominate them with run volume. metrics.provenance reports who stands behind them: actorCount/voterCount (windowed), confidence (provisional until 3+ qualifying actors)
|
|
15
|
+
server.tool('get_effectiveness', 'Get effectiveness metrics for a definition: pass rate, scores, taxonomy distribution, health score, and composition lift. Version defaults to latest. Quality numbers (passRate/runAvgScore) are VOTER-WEIGHTED: one actor, one vote — a single account cannot dominate them with run volume. metrics.provenance reports who stands behind them: actorCount/voterCount (windowed), confidence (provisional until 3+ qualifying actors). Once qualifying executions exist it ALSO carries the independent vs selfReported split — then provenance.independent is the headline figure to quote (selfReported is the author rating their own definition); at zero executions those two fields are absent, and there is no headline figure to quote. uniqueUsers is the all-time distinct-actor count. For AGENTS, quality is participation-based (snapshot scores across every run the agent appears in, constituent or standalone) and passRate is null by design — a run-level gate result cannot be attributed to one constituent.', GetEffectivenessInputSchema.shape, createToolHandler(GetEffectivenessInputSchema, (n) => registryClient.analytics.getEffectiveness(n.type, n.name, n.version)));
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=get-effectiveness.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-effectiveness.js","sourceRoot":"","sources":["../../src/tools/get-effectiveness.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"get-effectiveness.js","sourceRoot":"","sources":["../../src/tools/get-effectiveness.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;AAE7D,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC;AAEH,MAAM,UAAU,4BAA4B,CAC1C,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,mBAAmB,EACnB,o+BAAo+B,EACp+B,2BAA2B,CAAC,KAAK,EACjC,iBAAiB,CAAC,2BAA2B,EAAE,CAAC,CAAC,EAAE,EAAE,CACnD,cAAc,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CACrE,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -7,14 +7,14 @@ import { z } from 'zod';
|
|
|
7
7
|
import type { RegistryClient } from '@uluops/registry-sdk';
|
|
8
8
|
import { type McpServerToolRegistration } from '../types/index.js';
|
|
9
9
|
export declare const GetEvolutionInputSchema: z.ZodObject<{
|
|
10
|
-
type: z.ZodEnum<["agent", "command", "workflow", "pipeline"]
|
|
10
|
+
type: z.ZodOptional<z.ZodEnum<["agent", "command", "workflow", "pipeline"]>>;
|
|
11
11
|
name: z.ZodString;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
name: string;
|
|
14
|
-
type
|
|
14
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
15
15
|
}, {
|
|
16
16
|
name: string;
|
|
17
|
-
type
|
|
17
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
18
18
|
}>;
|
|
19
19
|
export declare function registerGetEvolutionTool(server: McpServerToolRegistration, registryClient: RegistryClient): void;
|
|
20
20
|
//# sourceMappingURL=get-evolution.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-evolution.d.ts","sourceRoot":"","sources":["../../src/tools/get-evolution.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"get-evolution.d.ts","sourceRoot":"","sources":["../../src/tools/get-evolution.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;AAGpG,eAAO,MAAM,uBAAuB;;;;;;;;;EAGlC,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,yBAAyB,EACjC,cAAc,EAAE,cAAc,GAC7B,IAAI,CASN"}
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Get version-over-version metrics with trend detection.
|
|
5
5
|
*/
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import {
|
|
7
|
+
import { DefinitionTypeWithDefaultSchema } from '../types/index.js';
|
|
8
8
|
import { createToolHandler } from '../utils/tool-handler.js';
|
|
9
9
|
export const GetEvolutionInputSchema = z.object({
|
|
10
|
-
type:
|
|
10
|
+
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
12
|
});
|
|
13
13
|
export function registerGetEvolutionTool(server, registryClient) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-evolution.js","sourceRoot":"","sources":["../../src/tools/get-evolution.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"get-evolution.js","sourceRoot":"","sources":["../../src/tools/get-evolution.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;AAE7D,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACxB,CAAC,CAAC;AAEH,MAAM,UAAU,wBAAwB,CACtC,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,eAAe,EACf,mHAAmH,EACnH,uBAAuB,CAAC,KAAK,EAC7B,iBAAiB,CAAC,uBAAuB,EAAE,CAAC,CAAC,EAAE,EAAE,CAC/C,cAAc,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CACtD,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -7,19 +7,19 @@ import { z } from 'zod';
|
|
|
7
7
|
import type { RegistryClient } from '@uluops/registry-sdk';
|
|
8
8
|
import { type McpServerToolRegistration } from '../types/index.js';
|
|
9
9
|
export declare const GetExecutionStatsInputSchema: z.ZodObject<{
|
|
10
|
-
type: z.ZodEnum<["agent", "command", "workflow", "pipeline"]
|
|
10
|
+
type: z.ZodOptional<z.ZodEnum<["agent", "command", "workflow", "pipeline"]>>;
|
|
11
11
|
name: z.ZodString;
|
|
12
12
|
version: z.ZodString;
|
|
13
13
|
window: z.ZodOptional<z.ZodNumber>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
name: string;
|
|
16
|
-
type: "agent" | "command" | "workflow" | "pipeline";
|
|
17
16
|
version: string;
|
|
17
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
18
18
|
window?: number | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
name: string;
|
|
21
|
-
type: "agent" | "command" | "workflow" | "pipeline";
|
|
22
21
|
version: string;
|
|
22
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
23
23
|
window?: number | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
export declare function registerGetExecutionStatsTool(server: McpServerToolRegistration, registryClient: RegistryClient): void;
|
|
@@ -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,
|
|
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;AAGpG,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;EAQvC,CAAC;AAEH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,yBAAyB,EACjC,cAAc,EAAE,cAAc,GAC7B,IAAI,CASN"}
|
|
@@ -4,15 +4,18 @@
|
|
|
4
4
|
* Get execution statistics for a definition.
|
|
5
5
|
*/
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import {
|
|
7
|
+
import { DefinitionTypeWithDefaultSchema } from '../types/index.js';
|
|
8
8
|
import { createToolHandler } from '../utils/tool-handler.js';
|
|
9
9
|
export const GetExecutionStatsInputSchema = z.object({
|
|
10
|
-
type:
|
|
10
|
+
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
12
|
version: z.string().min(1),
|
|
13
|
-
window:
|
|
13
|
+
// RG3: documented in DAYS, but the API parameter is MINUTES — window:7 used
|
|
14
|
+
// to silently mean seven minutes, reported as a weekly figure. The tool
|
|
15
|
+
// keeps the day-denominated contract and converts at this boundary.
|
|
16
|
+
window: z.number().int().positive().max(365).optional(),
|
|
14
17
|
});
|
|
15
18
|
export function registerGetExecutionStatsTool(server, registryClient) {
|
|
16
|
-
server.tool('get_execution_stats',
|
|
19
|
+
server.tool('get_execution_stats', "Get execution statistics for a definition version. Optional window parameter in DAYS (converted to the API's minute-denominated window; the response echoes windowMinutes).", GetExecutionStatsInputSchema.shape, createToolHandler(GetExecutionStatsInputSchema, (n) => registryClient.executions.getStats(n.type, n.name, n.version, n.window === undefined ? undefined : n.window * 24 * 60)));
|
|
17
20
|
}
|
|
18
21
|
//# 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,
|
|
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;AAE7D,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAAC;IACnD,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC1B,4EAA4E;IAC5E,wEAAwE;IACxE,oEAAoE;IACpE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE;CACxD,CAAC,CAAC;AAEH,MAAM,UAAU,6BAA6B,CAC3C,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,qBAAqB,EACrB,6KAA6K,EAC7K,4BAA4B,CAAC,KAAK,EAClC,iBAAiB,CAAC,4BAA4B,EAAE,CAAC,CAAC,EAAE,EAAE,CACpD,cAAc,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,GAAG,EAAE,GAAG,EAAE,CAAC,CACvH,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -7,17 +7,17 @@ import { z } from 'zod';
|
|
|
7
7
|
import type { RegistryClient } from '@uluops/registry-sdk';
|
|
8
8
|
import { type McpServerToolRegistration } from '../types/index.js';
|
|
9
9
|
export declare const GetForkLineageInputSchema: z.ZodObject<{
|
|
10
|
-
type: z.ZodEnum<["agent", "command", "workflow", "pipeline"]
|
|
10
|
+
type: z.ZodOptional<z.ZodEnum<["agent", "command", "workflow", "pipeline"]>>;
|
|
11
11
|
name: z.ZodString;
|
|
12
12
|
version: z.ZodString;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
name: string;
|
|
15
|
-
type: "agent" | "command" | "workflow" | "pipeline";
|
|
16
15
|
version: string;
|
|
16
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
name: string;
|
|
19
|
-
type: "agent" | "command" | "workflow" | "pipeline";
|
|
20
19
|
version: string;
|
|
20
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export declare function registerGetForkLineageTool(server: McpServerToolRegistration, registryClient: RegistryClient): void;
|
|
23
23
|
//# sourceMappingURL=get-fork-lineage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-fork-lineage.d.ts","sourceRoot":"","sources":["../../src/tools/get-fork-lineage.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"get-fork-lineage.d.ts","sourceRoot":"","sources":["../../src/tools/get-fork-lineage.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;AAGpG,eAAO,MAAM,yBAAyB;;;;;;;;;;;;EAIpC,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,yBAAyB,EACjC,cAAc,EAAE,cAAc,GAC7B,IAAI,CASN"}
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Get fork ancestry chain.
|
|
5
5
|
*/
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import {
|
|
7
|
+
import { DefinitionTypeWithDefaultSchema } from '../types/index.js';
|
|
8
8
|
import { createToolHandler } from '../utils/tool-handler.js';
|
|
9
9
|
export const GetForkLineageInputSchema = z.object({
|
|
10
|
-
type:
|
|
10
|
+
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
12
|
version: z.string().min(1),
|
|
13
13
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-fork-lineage.js","sourceRoot":"","sources":["../../src/tools/get-fork-lineage.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"get-fork-lineage.js","sourceRoot":"","sources":["../../src/tools/get-fork-lineage.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;AAE7D,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC3B,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,kBAAkB,EAClB,uDAAuD,EACvD,yBAAyB,CAAC,KAAK,EAC/B,iBAAiB,CAAC,yBAAyB,EAAE,CAAC,CAAC,EAAE,EAAE,CACjD,cAAc,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAC5D,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -7,16 +7,16 @@ import { z } from 'zod';
|
|
|
7
7
|
import type { RegistryClient } from '@uluops/registry-sdk';
|
|
8
8
|
import { type McpServerToolRegistration } from '../types/index.js';
|
|
9
9
|
export declare const GetHealthInputSchema: z.ZodObject<{
|
|
10
|
-
type: z.ZodEnum<["agent", "command", "workflow", "pipeline"]
|
|
10
|
+
type: z.ZodOptional<z.ZodEnum<["agent", "command", "workflow", "pipeline"]>>;
|
|
11
11
|
name: z.ZodString;
|
|
12
12
|
version: z.ZodOptional<z.ZodString>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
name: string;
|
|
15
|
-
type
|
|
15
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
16
16
|
version?: string | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
name: string;
|
|
19
|
-
type
|
|
19
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
20
20
|
version?: string | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export declare function registerGetHealthTool(server: McpServerToolRegistration, registryClient: RegistryClient): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-health.d.ts","sourceRoot":"","sources":["../../src/tools/get-health.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"get-health.d.ts","sourceRoot":"","sources":["../../src/tools/get-health.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;AAGpG,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AAEH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,yBAAyB,EACjC,cAAc,EAAE,cAAc,GAC7B,IAAI,CASN"}
|
package/dist/tools/get-health.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Get health grade and issue profile for a definition.
|
|
5
5
|
*/
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import {
|
|
7
|
+
import { DefinitionTypeWithDefaultSchema } from '../types/index.js';
|
|
8
8
|
import { createToolHandler } from '../utils/tool-handler.js';
|
|
9
9
|
export const GetHealthInputSchema = z.object({
|
|
10
|
-
type:
|
|
10
|
+
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
12
|
version: z.string().min(1).optional(),
|
|
13
13
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-health.js","sourceRoot":"","sources":["../../src/tools/get-health.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"get-health.js","sourceRoot":"","sources":["../../src/tools/get-health.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;AAE7D,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC;AAEH,MAAM,UAAU,qBAAqB,CACnC,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,YAAY,EACZ,8XAA8X,EAC9X,oBAAoB,CAAC,KAAK,EAC1B,iBAAiB,CAAC,oBAAoB,EAAE,CAAC,CAAC,EAAE,EAAE,CAC5C,cAAc,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAC9D,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -7,14 +7,14 @@ import { z } from 'zod';
|
|
|
7
7
|
import type { RegistryClient } from '@uluops/registry-sdk';
|
|
8
8
|
import { type McpServerToolRegistration } from '../types/index.js';
|
|
9
9
|
export declare const GetLineageInputSchema: z.ZodObject<{
|
|
10
|
-
type: z.ZodEnum<["agent", "command", "workflow", "pipeline"]
|
|
10
|
+
type: z.ZodOptional<z.ZodEnum<["agent", "command", "workflow", "pipeline"]>>;
|
|
11
11
|
name: z.ZodString;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
name: string;
|
|
14
|
-
type
|
|
14
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
15
15
|
}, {
|
|
16
16
|
name: string;
|
|
17
|
-
type
|
|
17
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
18
18
|
}>;
|
|
19
19
|
export declare function registerGetLineageTool(server: McpServerToolRegistration, registryClient: RegistryClient): void;
|
|
20
20
|
//# sourceMappingURL=get-lineage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-lineage.d.ts","sourceRoot":"","sources":["../../src/tools/get-lineage.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"get-lineage.d.ts","sourceRoot":"","sources":["../../src/tools/get-lineage.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;AAGpG,eAAO,MAAM,qBAAqB;;;;;;;;;EAGhC,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,yBAAyB,EACjC,cAAc,EAAE,cAAc,GAC7B,IAAI,CASN"}
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Get the lineage graph for a definition: versions and forks as a tree.
|
|
5
5
|
*/
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import {
|
|
7
|
+
import { DefinitionTypeWithDefaultSchema } from '../types/index.js';
|
|
8
8
|
import { createToolHandler } from '../utils/tool-handler.js';
|
|
9
9
|
export const GetLineageInputSchema = z.object({
|
|
10
|
-
type:
|
|
10
|
+
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
12
|
});
|
|
13
13
|
export function registerGetLineageTool(server, registryClient) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-lineage.js","sourceRoot":"","sources":["../../src/tools/get-lineage.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"get-lineage.js","sourceRoot":"","sources":["../../src/tools/get-lineage.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;AAE7D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACxB,CAAC,CAAC;AAEH,MAAM,UAAU,sBAAsB,CACpC,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,aAAa,EACb,mGAAmG,EACnG,qBAAqB,CAAC,KAAK,EAC3B,iBAAiB,CAAC,qBAAqB,EAAE,CAAC,CAAC,EAAE,EAAE,CAC7C,cAAc,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CACpD,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -7,14 +7,14 @@ import { z } from 'zod';
|
|
|
7
7
|
import type { RegistryClient } from '@uluops/registry-sdk';
|
|
8
8
|
import { type McpServerToolRegistration } from '../types/index.js';
|
|
9
9
|
export declare const GetTranslationAnalyticsInputSchema: z.ZodObject<{
|
|
10
|
-
type: z.ZodEnum<["agent", "command", "workflow", "pipeline"]
|
|
10
|
+
type: z.ZodOptional<z.ZodEnum<["agent", "command", "workflow", "pipeline"]>>;
|
|
11
11
|
name: z.ZodString;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
name: string;
|
|
14
|
-
type
|
|
14
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
15
15
|
}, {
|
|
16
16
|
name: string;
|
|
17
|
-
type
|
|
17
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
18
18
|
}>;
|
|
19
19
|
export declare function registerGetTranslationAnalyticsTool(server: McpServerToolRegistration, registryClient: RegistryClient): void;
|
|
20
20
|
//# sourceMappingURL=get-translation-analytics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-translation-analytics.d.ts","sourceRoot":"","sources":["../../src/tools/get-translation-analytics.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"get-translation-analytics.d.ts","sourceRoot":"","sources":["../../src/tools/get-translation-analytics.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;AAGpG,eAAO,MAAM,kCAAkC;;;;;;;;;EAG7C,CAAC;AAEH,wBAAgB,mCAAmC,CACjD,MAAM,EAAE,yBAAyB,EACjC,cAAc,EAAE,cAAc,GAC7B,IAAI,CASN"}
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Get versions grouped by translator version with aggregate metrics.
|
|
5
5
|
*/
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import {
|
|
7
|
+
import { DefinitionTypeWithDefaultSchema } from '../types/index.js';
|
|
8
8
|
import { createToolHandler } from '../utils/tool-handler.js';
|
|
9
9
|
export const GetTranslationAnalyticsInputSchema = z.object({
|
|
10
|
-
type:
|
|
10
|
+
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
12
|
});
|
|
13
13
|
export function registerGetTranslationAnalyticsTool(server, registryClient) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-translation-analytics.js","sourceRoot":"","sources":["../../src/tools/get-translation-analytics.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"get-translation-analytics.js","sourceRoot":"","sources":["../../src/tools/get-translation-analytics.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;AAE7D,MAAM,CAAC,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IACzD,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACxB,CAAC,CAAC;AAEH,MAAM,UAAU,mCAAmC,CACjD,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,2BAA2B,EAC3B,4JAA4J,EAC5J,kCAAkC,CAAC,KAAK,EACxC,iBAAiB,CAAC,kCAAkC,EAAE,CAAC,CAAC,EAAE,EAAE,CAC1D,cAAc,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CACxD,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -7,17 +7,17 @@ import { z } from 'zod';
|
|
|
7
7
|
import type { RegistryClient } from '@uluops/registry-sdk';
|
|
8
8
|
import { type McpServerToolRegistration } from '../types/index.js';
|
|
9
9
|
export declare const IsForkableInputSchema: z.ZodObject<{
|
|
10
|
-
type: z.ZodEnum<["agent", "command", "workflow", "pipeline"]
|
|
10
|
+
type: z.ZodOptional<z.ZodEnum<["agent", "command", "workflow", "pipeline"]>>;
|
|
11
11
|
name: z.ZodString;
|
|
12
12
|
version: z.ZodString;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
name: string;
|
|
15
|
-
type: "agent" | "command" | "workflow" | "pipeline";
|
|
16
15
|
version: string;
|
|
16
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
name: string;
|
|
19
|
-
type: "agent" | "command" | "workflow" | "pipeline";
|
|
20
19
|
version: string;
|
|
20
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export declare function registerIsForkableTool(server: McpServerToolRegistration, registryClient: RegistryClient): void;
|
|
23
23
|
//# sourceMappingURL=is-forkable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-forkable.d.ts","sourceRoot":"","sources":["../../src/tools/is-forkable.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"is-forkable.d.ts","sourceRoot":"","sources":["../../src/tools/is-forkable.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;AAGpG,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAIhC,CAAC;AAEH,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,yBAAyB,EACjC,cAAc,EAAE,cAAc,GAC7B,IAAI,CASN"}
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Check if a definition can be forked.
|
|
5
5
|
*/
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import {
|
|
7
|
+
import { DefinitionTypeWithDefaultSchema } from '../types/index.js';
|
|
8
8
|
import { createToolHandler } from '../utils/tool-handler.js';
|
|
9
9
|
export const IsForkableInputSchema = z.object({
|
|
10
|
-
type:
|
|
10
|
+
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
12
|
version: z.string().min(1),
|
|
13
13
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-forkable.js","sourceRoot":"","sources":["../../src/tools/is-forkable.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"is-forkable.js","sourceRoot":"","sources":["../../src/tools/is-forkable.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;AAE7D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CAC3B,CAAC,CAAC;AAEH,MAAM,UAAU,sBAAsB,CACpC,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,aAAa,EACb,8CAA8C,EAC9C,qBAAqB,CAAC,KAAK,EAC3B,iBAAiB,CAAC,qBAAqB,EAAE,CAAC,CAAC,EAAE,EAAE,CAC7C,cAAc,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAC3D,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -7,6 +7,6 @@ import { z } from 'zod';
|
|
|
7
7
|
import { createToolHandler } from '../utils/tool-handler.js';
|
|
8
8
|
export const ListAliasesInputSchema = z.object({});
|
|
9
9
|
export function registerListAliasesTool(server, registryClient) {
|
|
10
|
-
server.tool('list_aliases', 'List all model aliases and their resolved provider+model mappings.', ListAliasesInputSchema.shape, createToolHandler(ListAliasesInputSchema, () => registryClient.models.listAliases()));
|
|
10
|
+
server.tool('list_aliases', 'List all model aliases and their resolved provider+model mappings. ALIAS-FLOAT CONTRACT: bare aliases track the current family model and are repointed each generation (see resolve_alias); qualified model ids pin. There is deliberately no fable alias (restricted-availability model).', ListAliasesInputSchema.shape, createToolHandler(ListAliasesInputSchema, () => registryClient.models.listAliases()));
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=list-aliases.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-aliases.js","sourceRoot":"","sources":["../../src/tools/list-aliases.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEnD,MAAM,UAAU,uBAAuB,CACrC,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,cAAc,EACd,
|
|
1
|
+
{"version":3,"file":"list-aliases.js","sourceRoot":"","sources":["../../src/tools/list-aliases.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAE7D,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEnD,MAAM,UAAU,uBAAuB,CACrC,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,cAAc,EACd,4RAA4R,EAC5R,sBAAsB,CAAC,KAAK,EAC5B,iBAAiB,CAAC,sBAAsB,EAAE,GAAG,EAAE,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC,CACrF,CAAC;AACJ,CAAC"}
|
|
@@ -7,17 +7,17 @@ import { z } from 'zod';
|
|
|
7
7
|
import type { RegistryClient } from '@uluops/registry-sdk';
|
|
8
8
|
import { type McpServerToolRegistration } from '../types/index.js';
|
|
9
9
|
export declare const ListForksInputSchema: z.ZodObject<{
|
|
10
|
-
type: z.ZodEnum<["agent", "command", "workflow", "pipeline"]
|
|
10
|
+
type: z.ZodOptional<z.ZodEnum<["agent", "command", "workflow", "pipeline"]>>;
|
|
11
11
|
name: z.ZodString;
|
|
12
12
|
version: z.ZodString;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
name: string;
|
|
15
|
-
type: "agent" | "command" | "workflow" | "pipeline";
|
|
16
15
|
version: string;
|
|
16
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
name: string;
|
|
19
|
-
type: "agent" | "command" | "workflow" | "pipeline";
|
|
20
19
|
version: string;
|
|
20
|
+
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export declare function registerListForksTool(server: McpServerToolRegistration, registryClient: RegistryClient): void;
|
|
23
23
|
//# sourceMappingURL=list-forks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-forks.d.ts","sourceRoot":"","sources":["../../src/tools/list-forks.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"list-forks.d.ts","sourceRoot":"","sources":["../../src/tools/list-forks.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;AAGpG,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AAEH,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,yBAAyB,EACjC,cAAc,EAAE,cAAc,GAC7B,IAAI,CASN"}
|
package/dist/tools/list-forks.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* List forks of a definition.
|
|
5
5
|
*/
|
|
6
6
|
import { z } from 'zod';
|
|
7
|
-
import {
|
|
7
|
+
import { DefinitionTypeWithDefaultSchema } from '../types/index.js';
|
|
8
8
|
import { createToolHandler } from '../utils/tool-handler.js';
|
|
9
9
|
export const ListForksInputSchema = z.object({
|
|
10
|
-
type:
|
|
10
|
+
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
12
|
version: z.string().min(1),
|
|
13
13
|
});
|