@fonoster/mcp 0.26.0 → 0.30.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/dist/schemas.js +2 -2
- package/dist/tools/index.js +1 -1
- package/package.json +5 -5
package/dist/schemas.js
CHANGED
|
@@ -38,7 +38,7 @@ const CreateCallSchema = zod_1.z.object({
|
|
|
38
38
|
metadata: zod_1.z
|
|
39
39
|
.record(zod_1.z.string(), zod_1.z.any())
|
|
40
40
|
.optional()
|
|
41
|
-
.describe("The metadata to send to the
|
|
41
|
+
.describe("The metadata to send to the application")
|
|
42
42
|
});
|
|
43
43
|
exports.CreateCallSchema = CreateCallSchema;
|
|
44
44
|
const CreateCallBatchSchema = zod_1.z.object({
|
|
@@ -49,7 +49,7 @@ const CreateCallBatchSchema = zod_1.z.object({
|
|
|
49
49
|
metadata: zod_1.z
|
|
50
50
|
.record(zod_1.z.string(), zod_1.z.any())
|
|
51
51
|
.optional()
|
|
52
|
-
.describe("The metadata to send to the
|
|
52
|
+
.describe("The metadata to send to the application"),
|
|
53
53
|
calls_per_minute: zod_1.z.number().min(1).max(60).optional().default(20)
|
|
54
54
|
});
|
|
55
55
|
exports.CreateCallBatchSchema = CreateCallBatchSchema;
|
package/dist/tools/index.js
CHANGED
|
@@ -25,7 +25,7 @@ function registerTools(server) {
|
|
|
25
25
|
return __awaiter(this, void 0, void 0, function* () {
|
|
26
26
|
const client = yield (0, createClient_1.createClient)();
|
|
27
27
|
server.tool("list_numbers", "Returns a list of numbers from Fonoster in a table format (using markdown)", schemas_1.ListNumbersSchema.shape, (0, createListNumbers_1.createListNumbers)(client));
|
|
28
|
-
server.tool("list_applications", "Lists applications from Fonoster in a table format (using markdown)", schemas_1.ListApplicationsSchema.shape, (0, createListApplications_1.createListApplications)(client));
|
|
28
|
+
server.tool("list_applications", "Lists applications from Fonoster (streams, type STREAM, and Autopilot agents, type AUTOPILOT) in a table format (using markdown)", schemas_1.ListApplicationsSchema.shape, (0, createListApplications_1.createListApplications)(client));
|
|
29
29
|
server.tool("create_call", "Creates a call from Fonoster", schemas_1.CreateCallSchema.shape, (0, createCreateCall_1.createCreateCall)(client));
|
|
30
30
|
server.tool("create_call_batch", "Creates a batch of calls from Fonoster", schemas_1.CreateCallBatchSchema.shape, (0, createCreateCallBatch_1.createCreateCallBatch)(client));
|
|
31
31
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"description": "Model Context Protocol for Fonoster",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/fonoster#readme",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"start:dev": "nodemon --exec tsx --watch src src/index.ts"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@fonoster/common": "^0.
|
|
26
|
-
"@fonoster/logger": "^0.
|
|
27
|
-
"@fonoster/sdk": "^0.
|
|
25
|
+
"@fonoster/common": "^0.30.0",
|
|
26
|
+
"@fonoster/logger": "^0.30.0",
|
|
27
|
+
"@fonoster/sdk": "^0.30.0",
|
|
28
28
|
"@modelcontextprotocol/sdk": "^1.4.0"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"bugs": {
|
|
41
41
|
"url": "https://github.com/fonoster/fonoster/issues"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "08c9cfd7932675b6b16111daa4d03f14b4e287d1"
|
|
44
44
|
}
|