@avallon-labs/mcp 21.2.0-staging.487 → 22.0.0-staging.488
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.js
CHANGED
|
@@ -122,11 +122,11 @@ var deleteToolsFromVoiceAgent = async (voiceAgentId, deleteToolsFromVoiceAgentBo
|
|
|
122
122
|
headers: res.headers
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
|
-
var
|
|
126
|
-
return `/v1/voice-agents/${voiceAgentId}/
|
|
125
|
+
var getGetVoiceAgentPlaceholdersUrl = (voiceAgentId) => {
|
|
126
|
+
return `/v1/voice-agents/${voiceAgentId}/placeholders`;
|
|
127
127
|
};
|
|
128
|
-
var
|
|
129
|
-
const res = await fetch(
|
|
128
|
+
var getVoiceAgentPlaceholders = async (voiceAgentId, options) => {
|
|
129
|
+
const res = await fetch(getGetVoiceAgentPlaceholdersUrl(voiceAgentId), {
|
|
130
130
|
...options,
|
|
131
131
|
method: "GET"
|
|
132
132
|
});
|
|
@@ -2044,8 +2044,8 @@ var deleteToolsFromVoiceAgentHandler = async (args) => {
|
|
|
2044
2044
|
]
|
|
2045
2045
|
};
|
|
2046
2046
|
};
|
|
2047
|
-
var
|
|
2048
|
-
const res = await
|
|
2047
|
+
var getVoiceAgentPlaceholdersHandler = async (args) => {
|
|
2048
|
+
const res = await getVoiceAgentPlaceholders(args.pathParams.voiceAgentId);
|
|
2049
2049
|
return {
|
|
2050
2050
|
content: [
|
|
2051
2051
|
{
|
|
@@ -3665,10 +3665,10 @@ var DeleteToolsFromVoiceAgentResponse = zod.object({
|
|
|
3665
3665
|
])
|
|
3666
3666
|
})
|
|
3667
3667
|
});
|
|
3668
|
-
var
|
|
3668
|
+
var GetVoiceAgentPlaceholdersParams = zod.object({
|
|
3669
3669
|
voiceAgentId: zod.string().uuid()
|
|
3670
3670
|
});
|
|
3671
|
-
var
|
|
3671
|
+
var GetVoiceAgentPlaceholdersResponse = zod.object({
|
|
3672
3672
|
placeholders: zod.array(zod.string()).describe("Available placeholder variables")
|
|
3673
3673
|
});
|
|
3674
3674
|
var UpdateVoiceAgentModelsParams = zod.object({
|
|
@@ -5867,12 +5867,12 @@ server.tool(
|
|
|
5867
5867
|
deleteToolsFromVoiceAgentHandler
|
|
5868
5868
|
);
|
|
5869
5869
|
server.tool(
|
|
5870
|
-
"
|
|
5871
|
-
"Get voice agent
|
|
5870
|
+
"getVoiceAgentPlaceholders",
|
|
5871
|
+
"Get voice agent placeholders",
|
|
5872
5872
|
{
|
|
5873
|
-
pathParams:
|
|
5873
|
+
pathParams: GetVoiceAgentPlaceholdersParams
|
|
5874
5874
|
},
|
|
5875
|
-
|
|
5875
|
+
getVoiceAgentPlaceholdersHandler
|
|
5876
5876
|
);
|
|
5877
5877
|
server.tool(
|
|
5878
5878
|
"updateVoiceAgentModels",
|
|
@@ -6610,4 +6610,4 @@ var transport = new StdioServerTransport();
|
|
|
6610
6610
|
server.connect(transport).then(() => {
|
|
6611
6611
|
console.error("MCP server running on stdio");
|
|
6612
6612
|
}).catch(console.error);
|
|
6613
|
-
//# sourceMappingURL=server-
|
|
6613
|
+
//# sourceMappingURL=server-KMPHF6NG.js.map
|