@talqing/mcp 0.13.0 → 0.13.2
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/SKILL.md +13 -6
- package/package.json +1 -1
- package/tools.json +1 -1
package/SKILL.md
CHANGED
|
@@ -1472,8 +1472,8 @@ rejected one is fixed by creating a corrected copy under a new name.
|
|
|
1472
1472
|
- **`add_whatsapp_batch_recipients` on a sending or completed batch messages
|
|
1473
1473
|
the new rows at once**, with nobody pressing anything. Get an explicit yes.
|
|
1474
1474
|
|
|
1475
|
-
Replies are answered by the agent
|
|
1476
|
-
`whatsapp.message.inbound` trigger
|
|
1475
|
+
Replies are answered by the batch's own agent, if `create_whatsapp_batch` named
|
|
1476
|
+
one, else the agent on the sender's `whatsapp.message.inbound` trigger. It sees the row's columns as
|
|
1477
1477
|
`{{userdata.<column>}}` and the whole template, buttons included, as its own
|
|
1478
1478
|
first message — so write that agent's prompt against the CSV's column names.
|
|
1479
1479
|
|
|
@@ -1507,6 +1507,12 @@ reply starts from. Send an `idempotency_key` when retrying is possible. A
|
|
|
1507
1507
|
provider refusal still stores the item, `delivery_status: failed` (nothing resends it). While
|
|
1508
1508
|
they have an open chat, post anything but a note into that chat's conversation:
|
|
1509
1509
|
another one is refused with `chat_open_elsewhere`.
|
|
1510
|
+
**Choosing the agent:** a post or batch takes the agent fields an outbound call
|
|
1511
|
+
does (`agent_id`, `agent`, `agent_override`, `vars`…; a batch takes no `secrets`).
|
|
1512
|
+
Send them to make that agent answer this person — an open chat running something
|
|
1513
|
+
else ends, and a template or `agent_text` saves it for their reply; leave them
|
|
1514
|
+
out to continue whatever runs. Needs the number's messages trigger on
|
|
1515
|
+
(`messages_off`).
|
|
1510
1516
|
|
|
1511
1517
|
## Secrets, keys and webhooks
|
|
1512
1518
|
|
|
@@ -1608,10 +1614,11 @@ connects and then fails.
|
|
|
1608
1614
|
|
|
1609
1615
|
A chat is one text session, as a call is a voice one. `create_chat_message`
|
|
1610
1616
|
takes a `client_message_id` (a UUID you generate) and returns the reply itself:
|
|
1611
|
-
`status`, `items` and `chat_status`. A chat
|
|
1612
|
-
|
|
1613
|
-
`session.completed` sent, so end the chats you start.
|
|
1614
|
-
person's messages join one chat until it ends; the
|
|
1617
|
+
`status`, `items` and `chat_status`. A chat ends with the agent's `end_call`,
|
|
1618
|
+
`end_chat`, or 24 hours after the person last wrote (`inactivity_timeout`) — only
|
|
1619
|
+
then is it analysed and its `session.completed` sent, so end the chats you start.
|
|
1620
|
+
On Telegram and WhatsApp a person's messages join one chat until it ends; the
|
|
1621
|
+
next starts a new one.
|
|
1615
1622
|
|
|
1616
1623
|
A message can carry `images`: up to four `{data_url, filename}` entries beside
|
|
1617
1624
|
`message`, each a base64 `data:image/...` URL of a JPEG, PNG or WebP under 10 MB.
|
package/package.json
CHANGED
package/tools.json
CHANGED
|
@@ -3008,7 +3008,7 @@
|
|
|
3008
3008
|
"role": "read"
|
|
3009
3009
|
},
|
|
3010
3010
|
{
|
|
3011
|
-
"description": "One chat with its health snapshot, cost lines, vars and event trace.",
|
|
3011
|
+
"description": "One chat with its health snapshot, cost lines, vars, what it ran and event trace.",
|
|
3012
3012
|
"method": "GET",
|
|
3013
3013
|
"name": "get_chat_detail",
|
|
3014
3014
|
"parameters": {
|