@oneshot-agent/mcp-server 0.43.0 → 0.45.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.
@@ -1,3 +1,4 @@
1
+ import { discoverToolsTool, handleDiscoverTools } from './discover.js';
1
2
  import { emailTool, handleEmail } from "./email.js";
2
3
  import { voiceTool, handleVoice } from "./voice.js";
3
4
  import { voiceNumberProvisionTool, voiceNumbersTool, voiceInboundSetTool, voiceInboundDisableTool, voiceInboundCallsTool, handleVoiceNumberProvision, handleVoiceNumbers, handleVoiceInboundSet, handleVoiceInboundDisable, handleVoiceInboundCalls, } from "./voice-inbound.js";
@@ -28,8 +29,10 @@ import { huntListTool, huntStatusTool, huntPredictTool, huntCollectionTool, hunt
28
29
  import { TOOL_ANNOTATIONS } from "./annotations.js";
29
30
  import { lookupToolDefinitions, lookupHandlers, routeToolDefinitions, routeHandlers } from "./lookup.js";
30
31
  import { physicalMailSendTool, physicalMailUploadTool, handlePhysicalMailSend, handlePhysicalMailUpload } from "./physical-mail.js";
32
+ import { connectionsListTool, handleConnectionsList } from "./connections.js";
31
33
  import { spendBreakdownTool, rocsTool, rocsByGoalTool, receiptsListTool, tagReceiptValueTool, handleSpendBreakdown, handleRocs, handleRocsByGoal, handleReceiptsList, handleTagReceiptValue } from "./analytics.js";
32
34
  const toolDefinitions = [
35
+ discoverToolsTool,
33
36
  emailTool,
34
37
  voiceTool,
35
38
  smsTool,
@@ -112,6 +115,7 @@ const toolDefinitions = [
112
115
  approvalListTool,
113
116
  approvalCancelTool,
114
117
  actionPolicyGetTool,
118
+ connectionsListTool,
115
119
  ...lookupToolDefinitions,
116
120
  ...routeToolDefinitions,
117
121
  ];
@@ -124,6 +128,7 @@ export const tools = toolDefinitions.map((tool) => {
124
128
  return { ...tool, title: hints.title, annotations: { ...hints } };
125
129
  });
126
130
  const handlers = {
131
+ oneshot_discover_tools: handleDiscoverTools,
127
132
  "oneshot_email": handleEmail,
128
133
  "oneshot_voice": handleVoice,
129
134
  "oneshot_sms": handleSms,
@@ -209,6 +214,7 @@ const handlers = {
209
214
  "oneshot_approval_list": handleApprovalList,
210
215
  "oneshot_approval_cancel": handleApprovalCancel,
211
216
  "oneshot_action_policy": handleActionPolicyGet,
217
+ "oneshot_connections_list": handleConnectionsList,
212
218
  ...lookupHandlers,
213
219
  ...routeHandlers,
214
220
  };