hybrid 2.0.0 → 2.1.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,85 +0,0 @@
1
- ---
2
- name: xmtp
3
- description: XMTP messaging tools for sending messages and reactions.
4
- ---
5
-
6
- # XMTP Messaging Tools
7
-
8
- Tools for decentralized, encrypted messaging via XMTP.
9
-
10
- ## sendMessage
11
-
12
- Send a message to an XMTP conversation.
13
-
14
- **Parameters:**
15
- - `content` (string, required): The message content to send
16
- - `conversationId` (string, optional): Existing conversation ID
17
- - `recipientAddress` (string, optional): Recipient address for new conversations
18
-
19
- **Example:**
20
- ```json
21
- {
22
- "content": "Hello! How can I help you today?",
23
- "conversationId": "existing-conversation-id"
24
- }
25
- ```
26
-
27
- ## sendReaction
28
-
29
- Send an emoji reaction to acknowledge a message.
30
-
31
- **Parameters:**
32
- - `emoji` (string, default: "👀"): The emoji reaction to send
33
- - `referenceMessageId` (string, optional): Message ID to react to (defaults to current message)
34
-
35
- **Common emojis:**
36
- - 👀 - Seen/looking
37
- - 👍 - Acknowledged
38
- - ✅ - Done/completed
39
- - ❤️ - Liked
40
- - 🔥 - Great/exciting
41
-
42
- **Example:**
43
- ```json
44
- {
45
- "emoji": "👍",
46
- "referenceMessageId": "message-id-to-react-to"
47
- }
48
- ```
49
-
50
- ## sendReply
51
-
52
- Send a reply that quotes/references a specific message.
53
-
54
- **Parameters:**
55
- - `content` (string, required): The reply content
56
- - `replyToMessageId` (string, optional): Message ID to reply to (defaults to current message)
57
-
58
- **Example:**
59
- ```json
60
- {
61
- "content": "Here's the answer to your question...",
62
- "replyToMessageId": "message-id-to-reply-to"
63
- }
64
- ```
65
-
66
- ## getMessage
67
-
68
- Retrieve a specific message by ID.
69
-
70
- **Parameters:**
71
- - `messageId` (string, required): The message ID to retrieve
72
-
73
- **Example:**
74
- ```json
75
- {
76
- "messageId": "message-id-to-retrieve"
77
- }
78
- ```
79
-
80
- ## Best Practices
81
-
82
- - Use `sendReaction` with 👀 immediately when you see a message to indicate you're processing
83
- - Keep messages concise - XMTP is designed for chat contexts
84
- - Use `sendReply` when responding to a specific question to maintain thread context
85
- - Reactions are great for quick acknowledgments without full responses