@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rubytech/create-maxy",
3
- "version": "1.0.801",
3
+ "version": "1.0.802",
4
4
  "description": "Install Maxy — AI for Productive People",
5
5
  "bin": {
6
6
  "create-maxy": "./dist/index.js"
@@ -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 store they accumulate while the server is running and clear on restart.
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
- **Limitations:** In-memory only (Phase 0). Store clears on server restart. Inbound messages only — outbound messages sent by the agent are not stored.
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