@mcp-tool-kit/shared 0.0.6 → 0.0.8
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.
|
@@ -2,15 +2,10 @@ import Handlebars from "handlebars";
|
|
|
2
2
|
|
|
3
3
|
//#region src/handlebars/register.ts
|
|
4
4
|
function registerHandlebarsHelpers() {
|
|
5
|
-
Handlebars.registerHelper("includes",
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Handlebars.registerHelper("
|
|
9
|
-
return a && b;
|
|
10
|
-
});
|
|
11
|
-
Handlebars.registerHelper("or", function(a, b) {
|
|
12
|
-
return a || b;
|
|
13
|
-
});
|
|
5
|
+
Handlebars.registerHelper("includes", (array, value) => array && Array.isArray(array) && array.includes(value));
|
|
6
|
+
Handlebars.registerHelper("and", (a, b) => a && b);
|
|
7
|
+
Handlebars.registerHelper("or", (a, b) => a || b);
|
|
8
|
+
Handlebars.registerHelper("eq", (a, b) => a === b);
|
|
14
9
|
}
|
|
15
10
|
|
|
16
11
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-tool-kit/shared",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.8",
|
|
4
|
+
"description": "A CLI tool to create MCP (Model Context Protocol) applications with ease.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "zhensherlock",
|
|
7
7
|
"homepage": "https://github.com/my-mcp-hub/mcp-kit/tree/master/packages/shared#readme",
|
|
@@ -9,11 +9,16 @@
|
|
|
9
9
|
"mcp",
|
|
10
10
|
"mcp server",
|
|
11
11
|
"mcp client",
|
|
12
|
+
"mcp host",
|
|
12
13
|
"mcp kit",
|
|
13
14
|
"mcp tool kit",
|
|
15
|
+
"mcp cli",
|
|
16
|
+
"cli",
|
|
17
|
+
"cli tool",
|
|
14
18
|
"create mcp",
|
|
15
19
|
"create mcp server",
|
|
16
20
|
"create mcp client",
|
|
21
|
+
"create mcp host",
|
|
17
22
|
"modelcontextprotocol",
|
|
18
23
|
"typescript"
|
|
19
24
|
],
|