@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
@@ -54,5 +54,5 @@ function setupFetch() {
54
54
 
55
55
  // src/index.ts
56
56
  setupFetch();
57
- await import("./server-XXBS63E4.js");
57
+ await import("./server-KMPHF6NG.js");
58
58
  //# sourceMappingURL=index.js.map
@@ -122,11 +122,11 @@ var deleteToolsFromVoiceAgent = async (voiceAgentId, deleteToolsFromVoiceAgentBo
122
122
  headers: res.headers
123
123
  };
124
124
  };
125
- var getGetVoiceAgentPromptUrl = (voiceAgentId) => {
126
- return `/v1/voice-agents/${voiceAgentId}/prompt`;
125
+ var getGetVoiceAgentPlaceholdersUrl = (voiceAgentId) => {
126
+ return `/v1/voice-agents/${voiceAgentId}/placeholders`;
127
127
  };
128
- var getVoiceAgentPrompt = async (voiceAgentId, options) => {
129
- const res = await fetch(getGetVoiceAgentPromptUrl(voiceAgentId), {
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 getVoiceAgentPromptHandler = async (args) => {
2048
- const res = await getVoiceAgentPrompt(args.pathParams.voiceAgentId);
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 GetVoiceAgentPromptParams = zod.object({
3668
+ var GetVoiceAgentPlaceholdersParams = zod.object({
3669
3669
  voiceAgentId: zod.string().uuid()
3670
3670
  });
3671
- var GetVoiceAgentPromptResponse = zod.object({
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
- "getVoiceAgentPrompt",
5871
- "Get voice agent prompt",
5870
+ "getVoiceAgentPlaceholders",
5871
+ "Get voice agent placeholders",
5872
5872
  {
5873
- pathParams: GetVoiceAgentPromptParams
5873
+ pathParams: GetVoiceAgentPlaceholdersParams
5874
5874
  },
5875
- getVoiceAgentPromptHandler
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-XXBS63E4.js.map
6613
+ //# sourceMappingURL=server-KMPHF6NG.js.map