@anychat-ai/mcp 0.82.0 → 0.84.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.
@@ -80,7 +80,7 @@ exports.channelTools = [
80
80
  (0, tool_1.defineTool)({
81
81
  name: 'list_channels',
82
82
  title: 'List channel bindings',
83
- description: 'List the channel bindings of an agent — one per connected channel (rcs, appleMessages, whatsapp, sms …) with mode (managed = Anychat provisions; unmanaged = operator-supplied provider account), status (Requested | Provisioning | ActionRequired | Active | Failed | Disabled), statusDetail, lifecycle events, delivery/compliance settings, launched (false = only the earlyAccess numbers get through) and earlyAccess. For a bring-your-own-account channel it also carries auth — the NON-SECRET credential fields as configured (sender id, application id, account key, region …) — and secretsSet, naming the secret fields that hold a value. Secret values are never returned. Maps to GET /v1/orgs/{org}/agents/{agent}/channels.',
83
+ description: "List the channel bindings of an agent — one per connected channel (rcs, appleMessages, whatsapp, sms …) with mode (managed = Anychat provisions; unmanaged = operator-supplied provider account), status (Requested | Provisioning | ActionRequired | Active | Failed | Disabled), statusDetail, lifecycle events, delivery/compliance settings, launched (false = only the earlyAccess numbers get through), earlyAccess, and inbound (webhook health: lastAcceptedAt; rejecting — present while the provider's webhooks are being rejected, so messages are NOT reaching the agent, with a detail naming the credential to fix; lastEarlyAccessDrop — the last message dropped by early access, sender masked). For a bring-your-own-account channel it also carries auth — the NON-SECRET credential fields as configured (sender id, application id, account key, region …) — and secretsSet, naming the secret fields that hold a value. Secret values are never returned. Maps to GET /v1/orgs/{org}/agents/{agent}/channels.",
84
84
  kind: 'read',
85
85
  scope: 'agents:read',
86
86
  roleFloor: 'viewer',
@@ -91,7 +91,7 @@ exports.channelTools = [
91
91
  (0, tool_1.defineTool)({
92
92
  name: 'get_channel',
93
93
  title: 'Get a channel binding',
94
- description: 'Fetch one channel binding: status, statusDetail (what blocks an ActionRequired/Failed binding), lifecycle events, routingId, the business inputs of a managed request, delivery/compliance settings. Poll it to follow provisioning. For a bring-your-own-account channel it also returns auth — the NON-SECRET credential fields as configured — and secretsSet, naming the secret fields that hold a value; secret values are never returned. Use it before update_channel so you can send only the credential that changed. Maps to GET /v1/orgs/{org}/agents/{agent}/channels/{bindingId}.',
94
+ description: "Fetch one channel binding: status, statusDetail (what blocks an ActionRequired/Failed binding), lifecycle events, routingId, the business inputs of a managed request, delivery/compliance settings, and inbound — webhook health: lastAcceptedAt, rejecting (present while the provider's webhooks are being rejected so messages are not reaching the agent; detail names the credential to fix, usually via update_channel) and lastEarlyAccessDrop (masked sender dropped because the channel is not launched). Check inbound first when an agent is silent on a channel. Poll it to follow provisioning. For a bring-your-own-account channel it also returns auth — the NON-SECRET credential fields as configured — and secretsSet, naming the secret fields that hold a value; secret values are never returned. Use it before update_channel so you can send only the credential that changed. Maps to GET /v1/orgs/{org}/agents/{agent}/channels/{bindingId}.",
95
95
  kind: 'read',
96
96
  scope: 'agents:read',
97
97
  roleFloor: 'viewer',
@@ -196,7 +196,7 @@ exports.channelTools = [
196
196
  (0, tool_1.defineTool)({
197
197
  name: 'test_channel_connection',
198
198
  title: "Test a channel's connection",
199
- description: "Check whether a channel binding's credentials actually work. Nothing is sent to anyone — the provider makes the cheapest authenticated call its API offers. Returns `ok` plus a `checks` array (credentials well-formed → provider accepts them → optional per-number reachability), each pass | fail | skipped with the provider's own error text in `detail`. Pass a phoneNumber (E.164) to run the live checks: some providers, Vonage RCS among them, can only prove their credentials by asking about a specific handset, and those checks are skipped without one. `supported: false` means the channel's provider has no test implemented yet. Use this when an agent is not answering on a channel, or right after connecting one — the emulator and playground never touch the real provider, so they cannot tell you this. Maps to POST /v1/orgs/{org}/agents/{agent}/channels/{bindingId}/test-connection.",
199
+ description: "Check whether a channel binding's credentials actually work. Nothing is sent to anyone — the provider makes the cheapest authenticated call its API offers. Returns `ok` plus a `checks` array (credentials well-formed → provider accepts them → optional per-number reachability), each pass | fail | skipped with the provider's own error text in `detail`. Pass a phoneNumber (E.164) to run the live checks: some providers, Vonage RCS among them, can only prove their credentials by asking about a specific handset, and those checks are skipped without one. `supported: false` means the channel's provider has no test implemented yet. Use this when an agent is not answering on a channel, or right after connecting one — the emulator and playground never touch the real provider, so they cannot tell you this. It tests outbound credentials only: whether the provider's inbound webhooks are accepted (a wrong signature secret) shows in get_channel's inbound.rejecting instead. Maps to POST /v1/orgs/{org}/agents/{agent}/channels/{bindingId}/test-connection.",
200
200
  kind: 'write',
201
201
  scope: 'agents:write',
202
202
  roleFloor: 'editor',
@@ -214,7 +214,7 @@ exports.channelTools = [
214
214
  (0, tool_1.defineTool)({
215
215
  name: 'get_channel_early_access',
216
216
  title: "Get a channel's launch state and early-access list",
217
- description: "Read whether a channel binding is launched and the early-access list (E.164 phone numbers that can reach the agent on this channel before launch). For RCS served by Google it also returns each number's carrier invite status (PENDING until the person accepts Google's RBM invitation on their phone). Maps to GET /v1/orgs/{org}/agents/{agent}/channels/{bindingId}/early-access.",
217
+ description: "Read whether a channel binding is launched and the early-access list (E.164 phone numbers that can reach the agent on this channel before launch). On RCS it also returns providerList { providerName, sync, maintainedBy }: the provider keeps its own pre-launch tester list, and sync 'automatic' (managed Google RBM; Vonage agents in Channel Manager) means saving the list keeps it, with each number's invite status in invites (PENDING until the person accepts the tester invitation on their phone); 'manual' means each number must also be added in the provider's dashboard by maintainedBy (operator = the user, on their own provider account; anychat = ask Anychat support). Maps to GET /v1/orgs/{org}/agents/{agent}/channels/{bindingId}/early-access.",
218
218
  kind: 'read',
219
219
  scope: 'agents:read',
220
220
  roleFloor: 'viewer',
@@ -225,7 +225,7 @@ exports.channelTools = [
225
225
  (0, tool_1.defineTool)({
226
226
  name: 'set_channel_early_access',
227
227
  title: "Replace a channel's early-access list",
228
- description: "Replace the FULL early-access list of an unlaunched channel binding: the phone numbers (E.164, e.g. +15551234567; normalized and de-duplicated) that may message the agent on this channel before launch — staff and acceptance testers on their own phones. Read the current list first (get_channel_early_access) and send the whole new list; an omitted number is removed. On Google-served RCS the numbers are also invited through Google's tester program (20 invites/day, 200 total → 429). 409 once the channel is launched; 422 names an unparseable number. Maps to PUT /v1/orgs/{org}/agents/{agent}/channels/{bindingId}/early-access.",
228
+ description: "Replace the FULL early-access list of an unlaunched channel binding: the phone numbers (E.164, e.g. +15551234567; normalized and de-duplicated) that may message the agent on this channel before launch — staff and acceptance testers on their own phones. Read the current list first (get_channel_early_access) and send the whole new list; an omitted number is removed. Where providerList.sync is 'automatic' the provider's tester list is updated first: managed Google RBM is made to match (20 invites/day, 200 total → 429); on Vonage only numbers added or removed here are touched (50 test devices per agent; a refusal → 422 with Vonage's reason, 503 when unavailable). If the provider refuses, the list is not saved. 409 once the channel is launched; 422 names an unparseable number. Maps to PUT /v1/orgs/{org}/agents/{agent}/channels/{bindingId}/early-access.",
229
229
  kind: 'write',
230
230
  scope: 'agents:write',
231
231
  roleFloor: 'editor',
@@ -1 +1 @@
1
- {"version":3,"file":"channels.js","sourceRoot":"","sources":["../../src/tools/channels.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,kCAAqC;AAErC;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,MAAM,aAAa,GAAG;IACpB,KAAK;IACL,eAAe;IACf,UAAU;IACV,KAAK;IACL,OAAO;IACP,OAAO;IACP,KAAK;CACG,CAAC;AAEX,MAAM,SAAS,GAAG;IAChB,WAAW;IACX,UAAU;IACV,WAAW;IACX,UAAU;IACV,QAAQ;IACR,eAAe;IACf,OAAO;IACP,OAAO;IACP,KAAK;CACG,CAAC;AAEX,MAAM,WAAW,GAAG,OAAC;KAClB,IAAI,CAAC,aAAa,CAAC;KACnB,QAAQ,CAAC,uDAAuD,CAAC,CAAC;AAErE,MAAM,cAAc,GAAG,OAAC;KACrB,MAAM,CAAC;IACN,iBAAiB,EAAE,OAAC;SACjB,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,GAAG,CAAC;SACR,GAAG,CAAC,IAAI,CAAC;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,8HAA8H,CAC/H;CACJ,C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AC;YACF,OAAO,OAAO,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;QACrD,CAAC;KACF,CAAC;CACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anychat-ai/mcp",
3
- "version": "0.82.0",
3
+ "version": "0.84.0",
4
4
  "description": "Anychat MCP server — drive your Anychat workspace (agents, playbooks, channels, people, outreach) from Claude Code, Claude Desktop, Cursor, or any MCP host.",
5
5
  "keywords": [
6
6
  "anychat",