@uluops/registry-mcp 0.7.0 → 0.8.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 +18 -0
- package/dist/tools/diff-versions.js +1 -1
- package/dist/tools/diff-versions.js.map +1 -1
- package/dist/tools/fork-definition.js +1 -1
- package/dist/tools/fork-definition.js.map +1 -1
- package/dist/tools/get-dependencies.d.ts +3 -3
- 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.js +2 -2
- package/dist/tools/get-dependents.js.map +1 -1
- package/dist/tools/get-execution-stats.d.ts +3 -3
- package/dist/tools/get-execution-stats.js +2 -2
- 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.js +2 -2
- package/dist/tools/get-fork-lineage.js.map +1 -1
- package/dist/tools/is-forkable.d.ts +3 -3
- package/dist/tools/is-forkable.js +2 -2
- package/dist/tools/is-forkable.js.map +1 -1
- package/dist/tools/list-forks.d.ts +3 -3
- package/dist/tools/list-forks.js +2 -2
- package/dist/tools/list-forks.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.8.0] - 2026-08-24
|
|
6
|
+
|
|
7
|
+
### Changed — MCP tool-sweep non-breaking batch (RG10, RG11, RG15)
|
|
8
|
+
|
|
9
|
+
- **`version` is optional on six read tools** (RG10): get_dependencies,
|
|
10
|
+
get_dependents, is_forkable, list_forks, get_execution_stats, and
|
|
11
|
+
get_fork_lineage default to the latest published version when version is
|
|
12
|
+
omitted — read-only graph questions about "the current one" no longer force
|
|
13
|
+
an extra version lookup. archive_definition, delete_definition, and
|
|
14
|
+
retranslate_definition deliberately keep version required (terminal or
|
|
15
|
+
content-mutating actions on a moving "latest" target).
|
|
16
|
+
- **diff_versions documents its formats honestly** (RG11): the description
|
|
17
|
+
now says the default sections format collapses to ["agent"] for ADL
|
|
18
|
+
(prefer fields), and documents the fields format's valueDiff
|
|
19
|
+
diff-match-patch opcodes ([0]=unchanged, [-1]=removed, [1]=added).
|
|
20
|
+
- **fork_definition documents the version reset** (RG15): forks start at
|
|
21
|
+
1.0.0 by design, and the default display_name derives from the new name.
|
|
22
|
+
|
|
5
23
|
## [0.7.0] - 2026-08-23
|
|
6
24
|
|
|
7
25
|
### Added — MCP tool-sweep error-module batch (RG5, T3)
|
|
@@ -15,6 +15,6 @@ export const DiffVersionsInputSchema = z.object({
|
|
|
15
15
|
format: z.enum(['sections', 'fields', 'unified']).default('sections'),
|
|
16
16
|
});
|
|
17
17
|
export function registerDiffVersionsTool(server, registryClient) {
|
|
18
|
-
server.tool('diff_versions', 'Compare two versions of a definition. Returns a section-level summary by default
|
|
18
|
+
server.tool('diff_versions', 'Compare two versions of a definition. Returns a section-level summary by default — note that for ADL agents everything nests under one "agent" section, so sectionsModified is always ["agent"]; prefer format="fields" for anything ADL. format="fields" gives a field-level structural diff with classification; its valueDiff entries use diff-match-patch opcodes: [0,"…"]=unchanged, [-1,"…"]=removed, [1,"…"]=added. format="unified" gives a git-style line diff. Pass full=true for raw YAML content.', DiffVersionsInputSchema.shape, createToolHandler(DiffVersionsInputSchema, (n) => registryClient.versions.diff(n.type, n.name, n.from, n.to, { full: n.full, format: n.format }), { toolName: 'diff_versions' }));
|
|
19
19
|
}
|
|
20
20
|
//# sourceMappingURL=diff-versions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diff-versions.js","sourceRoot":"","sources":["../../src/tools/diff-versions.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,+BAA+B,EAAkC,MAAM,mBAAmB,CAAC;AAC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B,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IAChC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;CACtE,CAAC,CAAC;AAEH,MAAM,UAAU,wBAAwB,CACtC,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,eAAe,EACf,+eAA+e,EAC/e,uBAAuB,CAAC,KAAK,EAC7B,iBAAiB,CAAC,uBAAuB,EAAE,CAAC,CAAC,EAAE,EAAE,CAC/C,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,EAC9F,EAAE,QAAQ,EAAE,eAAe,EAAE,CAAC,CACjC,CAAC;AACJ,CAAC"}
|
|
@@ -14,7 +14,7 @@ export const ForkDefinitionInputSchema = z.object({
|
|
|
14
14
|
description: z.string().optional(),
|
|
15
15
|
});
|
|
16
16
|
export function registerForkDefinitionTool(server, registryClient) {
|
|
17
|
-
server.tool('fork_definition', 'Fork a definition version under a new name.', ForkDefinitionInputSchema.shape, createToolHandler(ForkDefinitionInputSchema, (n) => registryClient.forks.create(n.type, n.name, n.version, {
|
|
17
|
+
server.tool('fork_definition', 'Fork a definition version under a new name. The fork starts at version 1.0.0 regardless of the source version (it is a new artifact with its own history). Its default display_name derives from the new name — pass display_name to override.', ForkDefinitionInputSchema.shape, createToolHandler(ForkDefinitionInputSchema, (n) => registryClient.forks.create(n.type, n.name, n.version, {
|
|
18
18
|
name: n.newName,
|
|
19
19
|
...(n.description !== undefined && { description: n.description }),
|
|
20
20
|
}), { toolName: 'fork_definition' }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fork-definition.js","sourceRoot":"","sources":["../../src/tools/fork-definition.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;IAC1B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,iBAAiB,EACjB,
|
|
1
|
+
{"version":3,"file":"fork-definition.js","sourceRoot":"","sources":["../../src/tools/fork-definition.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;IAC1B,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC3B,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACnC,CAAC,CAAC;AAEH,MAAM,UAAU,0BAA0B,CACxC,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,iBAAiB,EACjB,gPAAgP,EAChP,yBAAyB,CAAC,KAAK,EAC/B,iBAAiB,CAAC,yBAAyB,EAAE,CAAC,CAAC,EAAE,EAAE,CACjD,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE;QACrD,IAAI,EAAE,CAAC,CAAC,OAAO;QACf,GAAG,CAAC,CAAC,CAAC,WAAW,KAAK,SAAS,IAAI,EAAE,WAAW,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;KACnE,CAAC,EACF,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC,CACnC,CAAC;AACJ,CAAC"}
|
|
@@ -9,17 +9,17 @@ import { type McpServerToolRegistration } from '../types/index.js';
|
|
|
9
9
|
export declare const GetDependenciesInputSchema: z.ZodObject<{
|
|
10
10
|
type: z.ZodOptional<z.ZodEnum<["agent", "command", "workflow", "pipeline"]>>;
|
|
11
11
|
name: z.ZodString;
|
|
12
|
-
version: z.ZodString
|
|
12
|
+
version: z.ZodOptional<z.ZodString>;
|
|
13
13
|
depth: z.ZodOptional<z.ZodNumber>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
name: string;
|
|
16
|
-
version: string;
|
|
17
16
|
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
17
|
+
version?: string | undefined;
|
|
18
18
|
depth?: number | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
name: string;
|
|
21
|
-
version: string;
|
|
22
21
|
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
22
|
+
version?: string | undefined;
|
|
23
23
|
depth?: number | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
export declare function registerGetDependenciesTool(server: McpServerToolRegistration, registryClient: RegistryClient): void;
|
|
@@ -9,11 +9,11 @@ import { createToolHandler } from '../utils/tool-handler.js';
|
|
|
9
9
|
export const GetDependenciesInputSchema = z.object({
|
|
10
10
|
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
|
-
version: z.string().min(1),
|
|
12
|
+
version: z.string().min(1).optional(),
|
|
13
13
|
depth: z.number().int().positive().optional(),
|
|
14
14
|
});
|
|
15
15
|
export function registerGetDependenciesTool(server, registryClient) {
|
|
16
|
-
server.tool('get_dependencies', 'Get the forward dependency graph for a definition version.', GetDependenciesInputSchema.shape, createToolHandler(GetDependenciesInputSchema, (n) => {
|
|
16
|
+
server.tool('get_dependencies', 'Get the forward dependency graph for a definition version. Omit version to use the latest published version.', GetDependenciesInputSchema.shape, createToolHandler(GetDependenciesInputSchema, (n) => {
|
|
17
17
|
const options = {};
|
|
18
18
|
if (n.depth !== undefined)
|
|
19
19
|
options.maxDepth = n.depth;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-dependencies.js","sourceRoot":"","sources":["../../src/tools/get-dependencies.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,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,IAAI,EAAE,+BAA+B;IACrC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAA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ServerToolRegistration } from '../types/index.js';
|
|
|
9
9
|
export declare const GetDependentsInputSchema: z.ZodObject<{
|
|
10
10
|
type: z.ZodOptional<z.ZodEnum<["agent", "command", "workflow", "pipeline"]>>;
|
|
11
11
|
name: z.ZodString;
|
|
12
|
-
version: z.ZodString
|
|
12
|
+
version: z.ZodOptional<z.ZodString>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
name: string;
|
|
15
|
-
version: string;
|
|
16
15
|
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
16
|
+
version?: string | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
name: string;
|
|
19
|
-
version: string;
|
|
20
19
|
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
20
|
+
version?: string | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export declare function registerGetDependentsTool(server: McpServerToolRegistration, registryClient: RegistryClient): void;
|
|
23
23
|
//# sourceMappingURL=get-dependents.d.ts.map
|
|
@@ -9,9 +9,9 @@ import { createToolHandler } from '../utils/tool-handler.js';
|
|
|
9
9
|
export const GetDependentsInputSchema = z.object({
|
|
10
10
|
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
|
-
version: z.string().min(1),
|
|
12
|
+
version: z.string().min(1).optional(),
|
|
13
13
|
});
|
|
14
14
|
export function registerGetDependentsTool(server, registryClient) {
|
|
15
|
-
server.tool('get_dependents', 'Get the reverse dependency graph — what depends on this definition version.', GetDependentsInputSchema.shape, createToolHandler(GetDependentsInputSchema, (n) => registryClient.dependencies.getDependents(n.type, n.name, n.version), { toolName: 'get_dependents' }));
|
|
15
|
+
server.tool('get_dependents', 'Get the reverse dependency graph — what depends on this definition version. Omit version to use the latest published version.', GetDependentsInputSchema.shape, createToolHandler(GetDependentsInputSchema, (n) => registryClient.dependencies.getDependents(n.type, n.name, n.version), { toolName: 'get_dependents' }));
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=get-dependents.js.map
|
|
@@ -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,+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;
|
|
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,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC;AAEH,MAAM,UAAU,yBAAyB,CACvC,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,gBAAgB,EAChB,+HAA+H,EAC/H,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,EACpE,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC,CAClC,CAAC;AACJ,CAAC"}
|
|
@@ -9,17 +9,17 @@ import { type McpServerToolRegistration } from '../types/index.js';
|
|
|
9
9
|
export declare const GetExecutionStatsInputSchema: z.ZodObject<{
|
|
10
10
|
type: z.ZodOptional<z.ZodEnum<["agent", "command", "workflow", "pipeline"]>>;
|
|
11
11
|
name: z.ZodString;
|
|
12
|
-
version: z.ZodString
|
|
12
|
+
version: z.ZodOptional<z.ZodString>;
|
|
13
13
|
window: z.ZodOptional<z.ZodNumber>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
name: string;
|
|
16
|
-
version: string;
|
|
17
16
|
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
17
|
+
version?: string | undefined;
|
|
18
18
|
window?: number | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
name: string;
|
|
21
|
-
version: string;
|
|
22
21
|
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
22
|
+
version?: string | undefined;
|
|
23
23
|
window?: number | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
export declare function registerGetExecutionStatsTool(server: McpServerToolRegistration, registryClient: RegistryClient): void;
|
|
@@ -9,13 +9,13 @@ import { createToolHandler } from '../utils/tool-handler.js';
|
|
|
9
9
|
export const GetExecutionStatsInputSchema = z.object({
|
|
10
10
|
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
|
-
version: z.string().min(1),
|
|
12
|
+
version: z.string().min(1).optional(),
|
|
13
13
|
// RG3: documented in DAYS, but the API parameter is MINUTES — window:7 used
|
|
14
14
|
// to silently mean seven minutes, reported as a weekly figure. The tool
|
|
15
15
|
// keeps the day-denominated contract and converts at this boundary.
|
|
16
16
|
window: z.number().int().positive().max(365).optional(),
|
|
17
17
|
});
|
|
18
18
|
export function registerGetExecutionStatsTool(server, registryClient) {
|
|
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), { toolName: 'get_execution_stats' }));
|
|
19
|
+
server.tool('get_execution_stats', "Get execution statistics for a definition version. Omit version to use the latest published 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), { toolName: 'get_execution_stats' }));
|
|
20
20
|
}
|
|
21
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,+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;
|
|
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,CAAC,QAAQ,EAAE;IACrC,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,+NAA+N,EAC/N,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,EACtH,EAAE,QAAQ,EAAE,qBAAqB,EAAE,CAAC,CACvC,CAAC;AACJ,CAAC"}
|
|
@@ -9,15 +9,15 @@ import { type McpServerToolRegistration } from '../types/index.js';
|
|
|
9
9
|
export declare const GetForkLineageInputSchema: z.ZodObject<{
|
|
10
10
|
type: z.ZodOptional<z.ZodEnum<["agent", "command", "workflow", "pipeline"]>>;
|
|
11
11
|
name: z.ZodString;
|
|
12
|
-
version: z.ZodString
|
|
12
|
+
version: z.ZodOptional<z.ZodString>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
name: string;
|
|
15
|
-
version: string;
|
|
16
15
|
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
16
|
+
version?: string | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
name: string;
|
|
19
|
-
version: string;
|
|
20
19
|
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
20
|
+
version?: string | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export declare function registerGetForkLineageTool(server: McpServerToolRegistration, registryClient: RegistryClient): void;
|
|
23
23
|
//# sourceMappingURL=get-fork-lineage.d.ts.map
|
|
@@ -9,9 +9,9 @@ import { createToolHandler } from '../utils/tool-handler.js';
|
|
|
9
9
|
export const GetForkLineageInputSchema = z.object({
|
|
10
10
|
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
|
-
version: z.string().min(1),
|
|
12
|
+
version: z.string().min(1).optional(),
|
|
13
13
|
});
|
|
14
14
|
export function registerGetForkLineageTool(server, registryClient) {
|
|
15
|
-
server.tool('get_fork_lineage', 'Get the fork ancestry chain for a definition version.', GetForkLineageInputSchema.shape, createToolHandler(GetForkLineageInputSchema, (n) => registryClient.forks.getAncestry(n.type, n.name, n.version), { toolName: 'get_fork_lineage' }));
|
|
15
|
+
server.tool('get_fork_lineage', 'Get the fork ancestry chain for a definition version. Omit version to trace from the latest published version.', GetForkLineageInputSchema.shape, createToolHandler(GetForkLineageInputSchema, (n) => registryClient.forks.getAncestry(n.type, n.name, n.version), { toolName: 'get_fork_lineage' }));
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=get-fork-lineage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-fork-lineage.js","sourceRoot":"","sources":["../../src/tools/get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CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,EAC3D,EAAE,QAAQ,EAAE,kBAAkB,EAAE,CAAC,CACpC,CAAC;AACJ,CAAC"}
|
|
@@ -9,15 +9,15 @@ import { type McpServerToolRegistration } from '../types/index.js';
|
|
|
9
9
|
export declare const IsForkableInputSchema: z.ZodObject<{
|
|
10
10
|
type: z.ZodOptional<z.ZodEnum<["agent", "command", "workflow", "pipeline"]>>;
|
|
11
11
|
name: z.ZodString;
|
|
12
|
-
version: z.ZodString
|
|
12
|
+
version: z.ZodOptional<z.ZodString>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
name: string;
|
|
15
|
-
version: string;
|
|
16
15
|
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
16
|
+
version?: string | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
name: string;
|
|
19
|
-
version: string;
|
|
20
19
|
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
20
|
+
version?: string | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export declare function registerIsForkableTool(server: McpServerToolRegistration, registryClient: RegistryClient): void;
|
|
23
23
|
//# sourceMappingURL=is-forkable.d.ts.map
|
|
@@ -9,9 +9,9 @@ import { createToolHandler } from '../utils/tool-handler.js';
|
|
|
9
9
|
export const IsForkableInputSchema = z.object({
|
|
10
10
|
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
|
-
version: z.string().min(1),
|
|
12
|
+
version: z.string().min(1).optional(),
|
|
13
13
|
});
|
|
14
14
|
export function registerIsForkableTool(server, registryClient) {
|
|
15
|
-
server.tool('is_forkable', 'Check if a definition version can be forked.', IsForkableInputSchema.shape, createToolHandler(IsForkableInputSchema, (n) => registryClient.forks.isForkable(n.type, n.name, n.version), { toolName: 'is_forkable' }));
|
|
15
|
+
server.tool('is_forkable', 'Check if a definition version can be forked. Omit version to check the latest published version.', IsForkableInputSchema.shape, createToolHandler(IsForkableInputSchema, (n) => registryClient.forks.isForkable(n.type, n.name, n.version), { toolName: 'is_forkable' }));
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=is-forkable.js.map
|
|
@@ -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,+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;
|
|
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,CAAC,QAAQ,EAAE;CACtC,CAAC,CAAC;AAEH,MAAM,UAAU,sBAAsB,CACpC,MAAiC,EACjC,cAA8B;IAE9B,MAAM,CAAC,IAAI,CACT,aAAa,EACb,kGAAkG,EAClG,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,EAC1D,EAAE,QAAQ,EAAE,aAAa,EAAE,CAAC,CAC/B,CAAC;AACJ,CAAC"}
|
|
@@ -9,15 +9,15 @@ import { type McpServerToolRegistration } from '../types/index.js';
|
|
|
9
9
|
export declare const ListForksInputSchema: z.ZodObject<{
|
|
10
10
|
type: z.ZodOptional<z.ZodEnum<["agent", "command", "workflow", "pipeline"]>>;
|
|
11
11
|
name: z.ZodString;
|
|
12
|
-
version: z.ZodString
|
|
12
|
+
version: z.ZodOptional<z.ZodString>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
name: string;
|
|
15
|
-
version: string;
|
|
16
15
|
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
16
|
+
version?: string | undefined;
|
|
17
17
|
}, {
|
|
18
18
|
name: string;
|
|
19
|
-
version: string;
|
|
20
19
|
type?: "agent" | "command" | "workflow" | "pipeline" | undefined;
|
|
20
|
+
version?: string | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export declare function registerListForksTool(server: McpServerToolRegistration, registryClient: RegistryClient): void;
|
|
23
23
|
//# sourceMappingURL=list-forks.d.ts.map
|
package/dist/tools/list-forks.js
CHANGED
|
@@ -9,9 +9,9 @@ import { createToolHandler } from '../utils/tool-handler.js';
|
|
|
9
9
|
export const ListForksInputSchema = z.object({
|
|
10
10
|
type: DefinitionTypeWithDefaultSchema,
|
|
11
11
|
name: z.string().min(1),
|
|
12
|
-
version: z.string().min(1),
|
|
12
|
+
version: z.string().min(1).optional(),
|
|
13
13
|
});
|
|
14
14
|
export function registerListForksTool(server, registryClient) {
|
|
15
|
-
server.tool('list_forks', 'List all forks of a definition version.', ListForksInputSchema.shape, createToolHandler(ListForksInputSchema, (n) => registryClient.forks.list(n.type, n.name, n.version), { toolName: 'list_forks' }));
|
|
15
|
+
server.tool('list_forks', 'List all forks of a definition version. Omit version to list forks of the latest published version.', ListForksInputSchema.shape, createToolHandler(ListForksInputSchema, (n) => registryClient.forks.list(n.type, n.name, n.version), { toolName: 'list_forks' }));
|
|
16
16
|
}
|
|
17
17
|
//# sourceMappingURL=list-forks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-forks.js","sourceRoot":"","sources":["../../src/tools/list-forks.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;
|
|
1
|
+
{"version":3,"file":"list-forks.js","sourceRoot":"","sources":["../../src/tools/list-forks.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,qGAAqG,EACrG,oBAAoB,CAAC,KAAK,EAC1B,iBAAiB,CAAC,oBAAoB,EAAE,CAAC,CAAC,EAAE,EAAE,CAC5C,cAAc,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,EACpD,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC,CAC9B,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uluops/registry-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "MCP server for the UluOps Registry API \u2014 definition management, versioning, and analytics",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
65
|
-
"@uluops/registry-sdk": "0.
|
|
65
|
+
"@uluops/registry-sdk": "0.52.0",
|
|
66
66
|
"@uluops/sdk-core": "0.17.0",
|
|
67
67
|
"mcp-secure-server": "0.0.20-security",
|
|
68
68
|
"zod": "3.25.76"
|