@avallon-labs/mcp 47.1.0 → 47.2.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/index.js CHANGED
@@ -46,5 +46,5 @@ function setupFetch() {
46
46
 
47
47
  // src/index.ts
48
48
  setupFetch();
49
- await import("./server-NHDLMILZ.js");
49
+ await import("./server-T75LBZGR.js");
50
50
  //# sourceMappingURL=index.js.map
@@ -4994,6 +4994,9 @@ var ListVoiceAgentsResponse = zod.object({
4994
4994
  zod.null()
4995
4995
  ]).describe(
4996
4996
  "Inactivity timeout in seconds. null disables the feature."
4997
+ ),
4998
+ tool_ids: zod.array(zod.string()).describe(
4999
+ "Tools the agent can call. Part of the versioned config: each version captures its own set, and a rollback restores it."
4997
5000
  )
4998
5001
  })
4999
5002
  ),
@@ -5196,6 +5199,9 @@ var GetVoiceAgentResponse = zod.object({
5196
5199
  zod.number().min(getVoiceAgentResponseDataAgentInactivityTimeoutSecondsOneMin).max(getVoiceAgentResponseDataAgentInactivityTimeoutSecondsOneMax),
5197
5200
  zod.null()
5198
5201
  ]).describe("Inactivity timeout in seconds. null disables the feature."),
5202
+ tool_ids: zod.array(zod.string()).describe(
5203
+ "Tools the agent can call. Part of the versioned config: each version captures its own set, and a rollback restores it."
5204
+ ),
5199
5205
  test_phone_number: zod.union([zod.string(), zod.null()])
5200
5206
  })
5201
5207
  }),
@@ -5221,6 +5227,9 @@ var UpdateVoiceAgentBody = zod.object({
5221
5227
  ),
5222
5228
  noise_cancellation: zod.enum(["NONE", "NC", "BVC", "BVC_TELEPHONY"]).optional().describe(
5223
5229
  "Noise cancellation mode applied to the caller audio. Omit to leave unchanged."
5230
+ ),
5231
+ tool_ids: zod.array(zod.string().uuid()).optional().describe(
5232
+ "Replace the agent's attached tool set. Omit to leave unchanged; pass [] to detach all."
5224
5233
  )
5225
5234
  });
5226
5235
  var updateVoiceAgentResponseDataAgentInactivityTimeoutSecondsOneMin = -9007199254740991;
@@ -5339,7 +5348,10 @@ var UpdateVoiceAgentResponse = zod.object({
5339
5348
  updateVoiceAgentResponseDataAgentInactivityTimeoutSecondsOneMax
5340
5349
  ),
5341
5350
  zod.null()
5342
- ]).describe("Inactivity timeout in seconds. null disables the feature.")
5351
+ ]).describe("Inactivity timeout in seconds. null disables the feature."),
5352
+ tool_ids: zod.array(zod.string()).describe(
5353
+ "Tools the agent can call. Part of the versioned config: each version captures its own set, and a rollback restores it."
5354
+ )
5343
5355
  })
5344
5356
  }),
5345
5357
  message: zod.string()
@@ -5508,6 +5520,9 @@ var GetVoiceAgentVersionResponse = zod.object({
5508
5520
  zod.number().min(getVoiceAgentVersionResponseDataInactivityTimeoutSecondsOneMin).max(getVoiceAgentVersionResponseDataInactivityTimeoutSecondsOneMax),
5509
5521
  zod.null()
5510
5522
  ]).describe("Inactivity timeout in seconds. null disables the feature."),
5523
+ tool_ids: zod.array(zod.string()).describe(
5524
+ "Tools the agent can call. Part of the versioned config: each version captures its own set, and a rollback restores it."
5525
+ ),
5511
5526
  version: zod.number().min(getVoiceAgentVersionResponseDataVersionMin).max(getVoiceAgentVersionResponseDataVersionMax),
5512
5527
  active_environments: zod.array(zod.enum(["live", "test"])).describe(
5513
5528
  "Release channels whose parent-agent pointers currently select this version. A version may be both `live` and `test`."
@@ -5668,7 +5683,10 @@ var AddToolsToVoiceAgentResponse = zod.object({
5668
5683
  addToolsToVoiceAgentResponseDataAgentInactivityTimeoutSecondsOneMax
5669
5684
  ),
5670
5685
  zod.null()
5671
- ]).describe("Inactivity timeout in seconds. null disables the feature.")
5686
+ ]).describe("Inactivity timeout in seconds. null disables the feature."),
5687
+ tool_ids: zod.array(zod.string()).describe(
5688
+ "Tools the agent can call. Part of the versioned config: each version captures its own set, and a rollback restores it."
5689
+ )
5672
5690
  })
5673
5691
  }),
5674
5692
  message: zod.string()
@@ -5795,7 +5813,10 @@ var DeleteToolsFromVoiceAgentResponse = zod.object({
5795
5813
  deleteToolsFromVoiceAgentResponseDataAgentInactivityTimeoutSecondsOneMax
5796
5814
  ),
5797
5815
  zod.null()
5798
- ]).describe("Inactivity timeout in seconds. null disables the feature.")
5816
+ ]).describe("Inactivity timeout in seconds. null disables the feature."),
5817
+ tool_ids: zod.array(zod.string()).describe(
5818
+ "Tools the agent can call. Part of the versioned config: each version captures its own set, and a rollback restores it."
5819
+ )
5799
5820
  })
5800
5821
  }),
5801
5822
  message: zod.string()
@@ -6093,7 +6114,10 @@ var UpdateVoiceAgentModelsResponse = zod.object({
6093
6114
  updateVoiceAgentModelsResponseDataAgentInactivityTimeoutSecondsOneMax
6094
6115
  ),
6095
6116
  zod.null()
6096
- ]).describe("Inactivity timeout in seconds. null disables the feature.")
6117
+ ]).describe("Inactivity timeout in seconds. null disables the feature."),
6118
+ tool_ids: zod.array(zod.string()).describe(
6119
+ "Tools the agent can call. Part of the versioned config: each version captures its own set, and a rollback restores it."
6120
+ )
6097
6121
  })
6098
6122
  }),
6099
6123
  message: zod.string()
@@ -6222,7 +6246,10 @@ var UpdateCallControlsResponse = zod.object({
6222
6246
  updateCallControlsResponseDataAgentInactivityTimeoutSecondsOneMax
6223
6247
  ),
6224
6248
  zod.null()
6225
- ]).describe("Inactivity timeout in seconds. null disables the feature.")
6249
+ ]).describe("Inactivity timeout in seconds. null disables the feature."),
6250
+ tool_ids: zod.array(zod.string()).describe(
6251
+ "Tools the agent can call. Part of the versioned config: each version captures its own set, and a rollback restores it."
6252
+ )
6226
6253
  })
6227
6254
  }),
6228
6255
  message: zod.string()
@@ -9553,7 +9580,9 @@ var listToolsQuerySortOrderDefault = `desc`;
9553
9580
  var ListToolsQueryParams = zod.object({
9554
9581
  sort_by: zod.enum(["created_at", "updated_at", "name"]).default(listToolsQuerySortByDefault),
9555
9582
  sort_order: zod.enum(["asc", "desc"]).default(listToolsQuerySortOrderDefault),
9556
- call_agent_id: zod.string().uuid().optional()
9583
+ call_agent_id: zod.string().uuid().optional().describe(
9584
+ "Deprecated. Read `tool_ids` off the voice agent instead \u2014 it reports the set for the agent's newest config version, which is what this filter resolves."
9585
+ )
9557
9586
  });
9558
9587
  var ListToolsResponse = zod.object({
9559
9588
  data: zod.object({
@@ -9646,7 +9675,9 @@ var workerListToolsQuerySortOrderDefault = `desc`;
9646
9675
  var WorkerListToolsQueryParams = zod.object({
9647
9676
  sort_by: zod.enum(["created_at", "updated_at", "name"]).default(workerListToolsQuerySortByDefault),
9648
9677
  sort_order: zod.enum(["asc", "desc"]).default(workerListToolsQuerySortOrderDefault),
9649
- call_agent_id: zod.string().uuid().optional()
9678
+ call_agent_id: zod.string().uuid().optional().describe(
9679
+ "Deprecated. Read `tool_ids` off the voice agent instead \u2014 it reports the set for the agent's newest config version, which is what this filter resolves."
9680
+ )
9650
9681
  });
9651
9682
  var WorkerListToolsResponse = zod.object({
9652
9683
  data: zod.object({
@@ -10196,7 +10227,7 @@ server.tool(
10196
10227
  );
10197
10228
  server.tool(
10198
10229
  "addToolsToVoiceAgent",
10199
- "Add tools to voice agent",
10230
+ "Add tools to voice agent (deprecated)",
10200
10231
  {
10201
10232
  pathParams: AddToolsToVoiceAgentParams,
10202
10233
  bodyParams: AddToolsToVoiceAgentBody
@@ -10205,7 +10236,7 @@ server.tool(
10205
10236
  );
10206
10237
  server.tool(
10207
10238
  "deleteToolsFromVoiceAgent",
10208
- "Remove tools from voice agent",
10239
+ "Remove tools from voice agent (deprecated)",
10209
10240
  {
10210
10241
  pathParams: DeleteToolsFromVoiceAgentParams,
10211
10242
  bodyParams: DeleteToolsFromVoiceAgentBody
@@ -11367,4 +11398,4 @@ var transport = new StdioServerTransport();
11367
11398
  server.connect(transport).then(() => {
11368
11399
  console.error("MCP server running on stdio");
11369
11400
  }).catch(console.error);
11370
- //# sourceMappingURL=server-NHDLMILZ.js.map
11401
+ //# sourceMappingURL=server-T75LBZGR.js.map