@julong/mono-rele2-core 1.11.0 → 1.11.1
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/dist/index.d.ts +51 -1
- package/dist/index.js +3 -5
- package/dist/server.js +1 -4
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,56 @@ declare function generateReadmeSkills(opts: {
|
|
|
27
27
|
tools: SkillTools;
|
|
28
28
|
}): string;
|
|
29
29
|
|
|
30
|
+
declare const tools: {
|
|
31
|
+
echoTool: {
|
|
32
|
+
name: string;
|
|
33
|
+
description: string;
|
|
34
|
+
inputSchema: z.ZodObject<{
|
|
35
|
+
message: z.ZodString;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
handler: (input: {
|
|
38
|
+
message: string;
|
|
39
|
+
}) => Promise<ToolResult>;
|
|
40
|
+
examples?: ToolExample[];
|
|
41
|
+
guidelines?: string[];
|
|
42
|
+
};
|
|
43
|
+
timestampTool: {
|
|
44
|
+
name: string;
|
|
45
|
+
description: string;
|
|
46
|
+
inputSchema: z.ZodObject<{
|
|
47
|
+
format: z.ZodDefault<z.ZodEnum<{
|
|
48
|
+
iso: "iso";
|
|
49
|
+
unix: "unix";
|
|
50
|
+
}>>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
handler: (input: {
|
|
53
|
+
format: "iso" | "unix";
|
|
54
|
+
}) => Promise<ToolResult>;
|
|
55
|
+
examples?: ToolExample[];
|
|
56
|
+
guidelines?: string[];
|
|
57
|
+
};
|
|
58
|
+
envTool: {
|
|
59
|
+
name: string;
|
|
60
|
+
description: string;
|
|
61
|
+
inputSchema: z.ZodObject<{
|
|
62
|
+
key: z.ZodString;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
handler: (input: {
|
|
65
|
+
key: string;
|
|
66
|
+
}) => Promise<ToolResult>;
|
|
67
|
+
examples?: ToolExample[];
|
|
68
|
+
guidelines?: string[];
|
|
69
|
+
};
|
|
70
|
+
uuidTool: {
|
|
71
|
+
name: string;
|
|
72
|
+
description: string;
|
|
73
|
+
inputSchema: z.ZodObject<{}, z.core.$strip>;
|
|
74
|
+
handler: (input: Record<string, never>) => Promise<ToolResult>;
|
|
75
|
+
examples?: ToolExample[];
|
|
76
|
+
guidelines?: string[];
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
|
|
30
80
|
declare function createCoreServer(): _modelcontextprotocol_sdk_server_mcp_js.McpServer;
|
|
31
81
|
|
|
32
|
-
export { createCoreServer, generateReadmeSkills, generateSkillMarkdown };
|
|
82
|
+
export { createCoreServer, generateReadmeSkills, generateSkillMarkdown, tools };
|
package/dist/index.js
CHANGED
|
@@ -264,13 +264,11 @@ var uuidTool = defineTool(tools.uuidTool);
|
|
|
264
264
|
|
|
265
265
|
// src/index.ts
|
|
266
266
|
function createCoreServer() {
|
|
267
|
-
return createMcpServer(
|
|
268
|
-
{ name: "mono-rele2-core", version: "1.0.0" },
|
|
269
|
-
[echoTool, timestampTool, envTool]
|
|
270
|
-
);
|
|
267
|
+
return createMcpServer({ name: "mono-rele2-core", version: "1.0.0" }, [echoTool, timestampTool, envTool, uuidTool]);
|
|
271
268
|
}
|
|
272
269
|
export {
|
|
273
270
|
createCoreServer,
|
|
274
271
|
generateReadmeSkills,
|
|
275
|
-
generateSkillMarkdown
|
|
272
|
+
generateSkillMarkdown,
|
|
273
|
+
tools
|
|
276
274
|
};
|
package/dist/server.js
CHANGED
|
@@ -93,10 +93,7 @@ var uuidTool = defineTool(tools.uuidTool);
|
|
|
93
93
|
|
|
94
94
|
// src/index.ts
|
|
95
95
|
function createCoreServer() {
|
|
96
|
-
return createMcpServer(
|
|
97
|
-
{ name: "mono-rele2-core", version: "1.0.0" },
|
|
98
|
-
[echoTool, timestampTool, envTool]
|
|
99
|
-
);
|
|
96
|
+
return createMcpServer({ name: "mono-rele2-core", version: "1.0.0" }, [echoTool, timestampTool, envTool, uuidTool]);
|
|
100
97
|
}
|
|
101
98
|
|
|
102
99
|
// src/server.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@julong/mono-rele2-core",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"description": "Use this skill to invoke core system utility functions via the mono-rele2-core CLI. Handles message echo, UTC timestamp generation, and environment variable lookup.",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"type": "module",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
13
|
"bin": {
|
|
14
|
-
"
|
|
15
|
-
"mono-rele2-core": "./dist/cli.js"
|
|
14
|
+
"mono-rele2-core": "./dist/server.js",
|
|
15
|
+
"mono-rele2-core-cli": "./dist/cli.js"
|
|
16
16
|
},
|
|
17
17
|
"files": [
|
|
18
18
|
"dist"
|