@rubytech/create-maxy 1.0.801 → 1.0.802
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/package.json +1 -1
- package/payload/platform/plugins/whatsapp/PLUGIN.md +4 -2
- package/payload/server/chunk-3SCIVS2T.js +9910 -0
- package/payload/server/chunk-5ABJJQ5K.js +3465 -0
- package/payload/server/client-pool-S4UZCYDJ.js +29 -0
- package/payload/server/maxy-edge.js +2 -2
- package/payload/server/server.js +376 -176
package/package.json
CHANGED
|
@@ -35,7 +35,7 @@ Activate when the user asks about WhatsApp — connecting, linking, checking sta
|
|
|
35
35
|
|
|
36
36
|
## Conversation Browsing
|
|
37
37
|
|
|
38
|
-
Three tools for reading WhatsApp conversation context. Messages come from the in-memory
|
|
38
|
+
Three tools for reading WhatsApp conversation context. Messages come from the in-memory ring buffer (recent inbound, ~500 per JID, ephemeral). The graph carries the durable record — see "Live persistence" below.
|
|
39
39
|
|
|
40
40
|
| Tool | Returns |
|
|
41
41
|
|------|---------|
|
|
@@ -43,7 +43,9 @@ Three tools for reading WhatsApp conversation context. Messages come from the in
|
|
|
43
43
|
| `whatsapp-messages` | Stored messages for a specific JID — sender, body, timestamp, reply context. Supports optional `limit` for most recent N messages |
|
|
44
44
|
| `whatsapp-group-info` | Group metadata from WhatsApp servers — subject, description, participants with admin flags, creation date. Requires active connection |
|
|
45
45
|
|
|
46
|
-
|
|
46
|
+
## Live persistence (Task 857)
|
|
47
|
+
|
|
48
|
+
Every `messages.upsert` event (both `notify` and `append`, both `fromMe` directions) writes a `:Message:WhatsAppMessage` row to Neo4j attached to the sessionKey-keyed `:Conversation`. A single capture site at `platform/ui/app/lib/whatsapp/manager.ts` covers inbound, outbound (Baileys echoes agent-sent messages back through `messages.upsert` with `fromMe=true`), and owner-mirror — without touching `outbound/send.ts`. `messageId` namespace is `whatsapp-live:<accountId>:<remoteJid>:<msg.key.id>`, collision-free with the `whatsapp-export:` namespace used by the offline `whatsapp-import` plugin. Persist failures are loud (`[whatsapp-persist] FAIL …`) and never block dispatch — silent loss is the worse failure mode.
|
|
47
49
|
|
|
48
50
|
## Skills
|
|
49
51
|
|