@getdial/cli 0.44.0 → 0.44.1
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.
|
@@ -8,7 +8,7 @@ export const listGroupsTool = {
|
|
|
8
8
|
title: "List Groups",
|
|
9
9
|
description: "List the group conversations your lines are in. A group is a conversation that isn't a phone " +
|
|
10
10
|
"number, so it has an id of its own: pass it as groupId to send_message, or to list_messages to " +
|
|
11
|
-
"read that conversation. Groups exist on WhatsApp lines. " +
|
|
11
|
+
"read that conversation. Groups exist on WhatsApp lines and iMessage numbers. " +
|
|
12
12
|
"A group's name can be null — it is read live from the line holding the conversation, so a line " +
|
|
13
13
|
"that can't answer in time yields a null name rather than hiding the group. " +
|
|
14
14
|
"There is no join event: list again to see a group your line was just added to.",
|
|
@@ -12,7 +12,7 @@ const inputSchema = {
|
|
|
12
12
|
.string()
|
|
13
13
|
.min(1)
|
|
14
14
|
.optional()
|
|
15
|
-
.describe("A group conversation to send into (see list_groups), instead of a to number. The sending line comes from the group, so no from-number is needed. Provide exactly one of to or groupId"),
|
|
15
|
+
.describe("A group conversation to send into (see list_groups), instead of a to number. The sending line comes from the group, so no from-number is needed, and neither is channel — the group already knows which one it is on, and naming a different one is refused. Provide exactly one of to or groupId"),
|
|
16
16
|
channel: z
|
|
17
17
|
.enum(["imessage", "whatsapp"])
|
|
18
18
|
.optional()
|
|
@@ -48,7 +48,8 @@ export const sendMessageTool = {
|
|
|
48
48
|
"optionally with media attachments (MMS). On an iMessage number, a single audio attachment is " +
|
|
49
49
|
"delivered as a voice message unless forceAudioFile is true. " +
|
|
50
50
|
"Address it with exactly one of to or groupId. A WhatsApp number sends text and a single " +
|
|
51
|
-
"attachment (a caption is allowed only with an image or video)
|
|
51
|
+
"attachment (a caption is allowed only with an image or video); a WhatsApp group is text-only, " +
|
|
52
|
+
"while an iMessage group takes media like any other iMessage conversation.",
|
|
52
53
|
inputSchema,
|
|
53
54
|
outputSchema: { message: messageSchema },
|
|
54
55
|
annotations: { openWorldHint: true },
|
package/package.json
CHANGED
package/skills.tar.gz
CHANGED
|
Binary file
|