@voyantjs/catalog-mcp 0.54.0 → 0.55.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/tools/get-entity.js
CHANGED
|
@@ -7,7 +7,7 @@ import { requireService } from "../registry.js";
|
|
|
7
7
|
const getEntityArgs = z.object({
|
|
8
8
|
vertical: z
|
|
9
9
|
.string()
|
|
10
|
-
.describe('The catalog vertical (e.g. "products", "cruises", "
|
|
10
|
+
.describe('The catalog vertical (e.g. "products", "cruises", "accommodations").'),
|
|
11
11
|
entityId: z.string().describe("Entity id."),
|
|
12
12
|
});
|
|
13
13
|
export const getEntityTool = {
|
package/dist/tools/tools.test.js
CHANGED
|
@@ -175,7 +175,7 @@ describe("checkAvailabilityTool", () => {
|
|
|
175
175
|
const registry = createMcpToolRegistry({ context });
|
|
176
176
|
registry.register(checkAvailabilityTool);
|
|
177
177
|
const result = await registry.dispatchTool("check_availability", {
|
|
178
|
-
vertical: "
|
|
178
|
+
vertical: "accommodations",
|
|
179
179
|
entityId: "rmtp_xyz",
|
|
180
180
|
parameters: { dates: "2026-10-15..2026-10-22" },
|
|
181
181
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/catalog-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.55.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"zod": "^4.1.4",
|
|
56
|
-
"@voyantjs/catalog": "0.
|
|
57
|
-
"@voyantjs/catalog-rag": "0.
|
|
56
|
+
"@voyantjs/catalog": "0.55.1",
|
|
57
|
+
"@voyantjs/catalog-rag": "0.55.1"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"typescript": "^6.0.2",
|