@meetkai/mka1 0.49.13 → 0.49.14

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.
Files changed (58) hide show
  1. package/README.md +3 -3
  2. package/bin/mcp-server.js +8 -8
  3. package/bin/mcp-server.js.map +10 -10
  4. package/dist/commonjs/funcs/agentConnectorsCreateAgentConnector.d.ts +1 -1
  5. package/dist/commonjs/funcs/agentConnectorsCreateAgentConnector.js +1 -1
  6. package/dist/commonjs/funcs/agentConnectorsSetupWhatsAppAppWebhook.d.ts +2 -2
  7. package/dist/commonjs/funcs/agentConnectorsSetupWhatsAppAppWebhook.js +2 -2
  8. package/dist/commonjs/lib/config.d.ts +2 -2
  9. package/dist/commonjs/lib/config.js +2 -2
  10. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  11. package/dist/commonjs/mcp-server/server.js +1 -1
  12. package/dist/commonjs/mcp-server/tools/agentConnectorsCreateAgentConnector.js +1 -1
  13. package/dist/commonjs/mcp-server/tools/agentConnectorsCreateAgentConnector.js.map +1 -1
  14. package/dist/commonjs/mcp-server/tools/agentConnectorsSetupWhatsAppAppWebhook.js +2 -2
  15. package/dist/commonjs/mcp-server/tools/agentConnectorsSetupWhatsAppAppWebhook.js.map +1 -1
  16. package/dist/commonjs/models/components/createwhatsappagentconnectorrequest.d.ts +4 -1
  17. package/dist/commonjs/models/components/createwhatsappagentconnectorrequest.d.ts.map +1 -1
  18. package/dist/commonjs/models/components/createwhatsappagentconnectorrequest.js.map +1 -1
  19. package/dist/commonjs/react-query/agentConnectorsCreateAgentConnector.d.ts +1 -1
  20. package/dist/commonjs/react-query/agentConnectorsCreateAgentConnector.js +1 -1
  21. package/dist/commonjs/react-query/agentConnectorsSetupWhatsAppAppWebhook.d.ts +2 -2
  22. package/dist/commonjs/react-query/agentConnectorsSetupWhatsAppAppWebhook.js +2 -2
  23. package/dist/commonjs/sdk/agentconnectors.d.ts +3 -3
  24. package/dist/commonjs/sdk/agentconnectors.js +3 -3
  25. package/dist/esm/funcs/agentConnectorsCreateAgentConnector.d.ts +1 -1
  26. package/dist/esm/funcs/agentConnectorsCreateAgentConnector.js +1 -1
  27. package/dist/esm/funcs/agentConnectorsSetupWhatsAppAppWebhook.d.ts +2 -2
  28. package/dist/esm/funcs/agentConnectorsSetupWhatsAppAppWebhook.js +2 -2
  29. package/dist/esm/lib/config.d.ts +2 -2
  30. package/dist/esm/lib/config.js +2 -2
  31. package/dist/esm/mcp-server/mcp-server.js +1 -1
  32. package/dist/esm/mcp-server/server.js +1 -1
  33. package/dist/esm/mcp-server/tools/agentConnectorsCreateAgentConnector.js +1 -1
  34. package/dist/esm/mcp-server/tools/agentConnectorsCreateAgentConnector.js.map +1 -1
  35. package/dist/esm/mcp-server/tools/agentConnectorsSetupWhatsAppAppWebhook.js +2 -2
  36. package/dist/esm/mcp-server/tools/agentConnectorsSetupWhatsAppAppWebhook.js.map +1 -1
  37. package/dist/esm/models/components/createwhatsappagentconnectorrequest.d.ts +4 -1
  38. package/dist/esm/models/components/createwhatsappagentconnectorrequest.d.ts.map +1 -1
  39. package/dist/esm/models/components/createwhatsappagentconnectorrequest.js.map +1 -1
  40. package/dist/esm/react-query/agentConnectorsCreateAgentConnector.d.ts +1 -1
  41. package/dist/esm/react-query/agentConnectorsCreateAgentConnector.js +1 -1
  42. package/dist/esm/react-query/agentConnectorsSetupWhatsAppAppWebhook.d.ts +2 -2
  43. package/dist/esm/react-query/agentConnectorsSetupWhatsAppAppWebhook.js +2 -2
  44. package/dist/esm/sdk/agentconnectors.d.ts +3 -3
  45. package/dist/esm/sdk/agentconnectors.js +3 -3
  46. package/jsr.json +1 -1
  47. package/package.json +1 -1
  48. package/src/funcs/agentConnectorsCreateAgentConnector.ts +1 -1
  49. package/src/funcs/agentConnectorsSetupWhatsAppAppWebhook.ts +2 -2
  50. package/src/lib/config.ts +2 -2
  51. package/src/mcp-server/mcp-server.ts +1 -1
  52. package/src/mcp-server/server.ts +1 -1
  53. package/src/mcp-server/tools/agentConnectorsCreateAgentConnector.ts +1 -1
  54. package/src/mcp-server/tools/agentConnectorsSetupWhatsAppAppWebhook.ts +2 -2
  55. package/src/models/components/createwhatsappagentconnectorrequest.ts +4 -1
  56. package/src/react-query/agentConnectorsCreateAgentConnector.ts +1 -1
  57. package/src/react-query/agentConnectorsSetupWhatsAppAppWebhook.ts +2 -2
  58. package/src/sdk/agentconnectors.ts +3 -3
package/README.md CHANGED
@@ -382,7 +382,7 @@ run();
382
382
 
383
383
  * [listAgentConnectors](docs/sdks/agentconnectors/README.md#listagentconnectors) - List connectors for an agent
384
384
  * [createAgentConnector](docs/sdks/agentconnectors/README.md#createagentconnector) - Create a connector
385
- * [setupWhatsAppAppWebhook](docs/sdks/agentconnectors/README.md#setupwhatsappappwebhook) - Set up a WhatsApp app webhook
385
+ * [setupWhatsAppAppWebhook](docs/sdks/agentconnectors/README.md#setupwhatsappappwebhook) - Set up a WhatsApp app webhook (Beta)
386
386
  * [getAgentConnector](docs/sdks/agentconnectors/README.md#getagentconnector) - Retrieve a connector
387
387
  * [deleteAgentConnector](docs/sdks/agentconnectors/README.md#deleteagentconnector) - Delete a connector
388
388
  * [activateAgentConnector](docs/sdks/agentconnectors/README.md#activateagentconnector) - Activate a connector
@@ -853,7 +853,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
853
853
  - [`agentConnectorsDeleteAgentConnector`](docs/sdks/agentconnectors/README.md#deleteagentconnector) - Delete a connector
854
854
  - [`agentConnectorsGetAgentConnector`](docs/sdks/agentconnectors/README.md#getagentconnector) - Retrieve a connector
855
855
  - [`agentConnectorsListAgentConnectors`](docs/sdks/agentconnectors/README.md#listagentconnectors) - List connectors for an agent
856
- - [`agentConnectorsSetupWhatsAppAppWebhook`](docs/sdks/agentconnectors/README.md#setupwhatsappappwebhook) - Set up a WhatsApp app webhook
856
+ - [`agentConnectorsSetupWhatsAppAppWebhook`](docs/sdks/agentconnectors/README.md#setupwhatsappappwebhook) - Set up a WhatsApp app webhook (Beta)
857
857
  - [`agentRunsCreateAgentRun`](docs/sdks/agentruns/README.md#createagentrun) - Start a saved agent run
858
858
  - [`agentRunsGetAgentRun`](docs/sdks/agentruns/README.md#getagentrun) - Retrieve an agent run
859
859
  - [`agentRunsListAgentRuns`](docs/sdks/agentruns/README.md#listagentruns) - List runs for an agent
@@ -1202,7 +1202,7 @@ To learn about this feature and how to get started, check
1202
1202
  - [`useAgentConnectorsDeleteAgentConnectorMutation`](docs/sdks/agentconnectors/README.md#deleteagentconnector) - Delete a connector
1203
1203
  - [`useAgentConnectorsGetAgentConnector`](docs/sdks/agentconnectors/README.md#getagentconnector) - Retrieve a connector
1204
1204
  - [`useAgentConnectorsListAgentConnectors`](docs/sdks/agentconnectors/README.md#listagentconnectors) - List connectors for an agent
1205
- - [`useAgentConnectorsSetupWhatsAppAppWebhookMutation`](docs/sdks/agentconnectors/README.md#setupwhatsappappwebhook) - Set up a WhatsApp app webhook
1205
+ - [`useAgentConnectorsSetupWhatsAppAppWebhookMutation`](docs/sdks/agentconnectors/README.md#setupwhatsappappwebhook) - Set up a WhatsApp app webhook (Beta)
1206
1206
  - [`useAgentRunsCreateAgentRunMutation`](docs/sdks/agentruns/README.md#createagentrun) - Start a saved agent run
1207
1207
  - [`useAgentRunsGetAgentRun`](docs/sdks/agentruns/README.md#getagentrun) - Retrieve an agent run
1208
1208
  - [`useAgentRunsListAgentRuns`](docs/sdks/agentruns/README.md#listagentruns) - List runs for an agent
package/bin/mcp-server.js CHANGED
@@ -52876,9 +52876,9 @@ var init_config = __esm(() => {
52876
52876
  SDK_METADATA = {
52877
52877
  language: "typescript",
52878
52878
  openapiDocVersion: "1.1.0",
52879
- sdkVersion: "0.49.13",
52879
+ sdkVersion: "0.49.14",
52880
52880
  genVersion: "2.918.3",
52881
- userAgent: "speakeasy-sdk/typescript 0.49.13 2.918.3 1.1.0 @meetkai/mka1"
52881
+ userAgent: "speakeasy-sdk/typescript 0.49.14 2.918.3 1.1.0 @meetkai/mka1"
52882
52882
  };
52883
52883
  });
52884
52884
 
@@ -97894,7 +97894,7 @@ var init_agentConnectorsCreateAgentConnector2 = __esm(() => {
97894
97894
  name: "agent-connectors-create-agent-connector",
97895
97895
  description: `Create a connector
97896
97896
 
97897
- Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.`,
97897
+ Connects the agent to a Telegram bot or WhatsApp Business phone number, validates the provider credentials, and registers the agent's webhook. WhatsApp connector support is beta. Text, photos, and gateway-supported documents can invoke the agent; inbound media additionally requires write:files. Managed outbound files require read:files, and generated images require both file scopes so their transient provider URLs can be materialized before delivery. The optional write:feedback scope enables native thumbs reaction synchronization to gateway response feedback. These conditional scopes are deliberately not part of x-required-scopes because text-only connectors do not need them. An API key with every listed scope is required; its identity tuple and current scopes are stored as a non-widening ceiling, then revalidated with mk-authentication before every connector run; session and delegated end-user contexts are rejected. The required access policy controls which provider users or chats may invoke the agent.`,
97898
97898
  args: args2,
97899
97899
  tool: async (client, args3, ctx) => {
97900
97900
  const [result, apiCall] = await agentConnectorsCreateAgentConnector(client, args3.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -98390,9 +98390,9 @@ var init_agentConnectorsSetupWhatsAppAppWebhook2 = __esm(() => {
98390
98390
  };
98391
98391
  tool$agentConnectorsSetupWhatsAppAppWebhook = {
98392
98392
  name: "agent-connectors-setup-whats-app-app-webhook",
98393
- description: `Set up a WhatsApp app webhook
98393
+ description: `Set up a WhatsApp app webhook (Beta)
98394
98394
 
98395
- Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.`,
98395
+ Beta. Returns the app-level callback URL and verification token that must be saved in Meta before the first WhatsApp phone connector is created. The caller must be allowed to manage the agent. The stable verification token is returned only in this no-store response and is not a Meta access token.`,
98396
98396
  args: args6,
98397
98397
  tool: async (client, args7, ctx) => {
98398
98398
  const [result, apiCall] = await agentConnectorsSetupWhatsAppAppWebhook(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
@@ -135629,7 +135629,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
135629
135629
  function createMCPServer(deps) {
135630
135630
  const server = new McpServer({
135631
135631
  name: "SDK",
135632
- version: "0.49.13"
135632
+ version: "0.49.14"
135633
135633
  });
135634
135634
  const client = new SDKCore({
135635
135635
  bearerAuth: deps.bearerAuth,
@@ -137471,7 +137471,7 @@ var routes = rn({
137471
137471
  var app = Ve(routes, {
137472
137472
  name: "mcp",
137473
137473
  versionInfo: {
137474
- currentVersion: "0.49.13"
137474
+ currentVersion: "0.49.14"
137475
137475
  }
137476
137476
  });
137477
137477
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -137479,5 +137479,5 @@ export {
137479
137479
  app
137480
137480
  };
137481
137481
 
137482
- //# debugId=4ABDF9999917E0FE64756E2164756E21
137482
+ //# debugId=8DB8FCD73895029A64756E2164756E21
137483
137483
  //# sourceMappingURL=mcp-server.js.map