natureco-cli 1.0.41 → 1.0.43

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": "natureco-cli",
3
- "version": "1.0.41",
3
+ "version": "1.0.43",
4
4
  "description": "NatureCo AI Bot Terminal Interface",
5
5
  "main": "bin/natureco.js",
6
6
  "bin": {
@@ -234,10 +234,8 @@ async function startWhatsAppProvider(sessionDir, config) {
234
234
  log('whatsapp', `messages.upsert event triggered, ${messages.length} message(s)`, 'gray');
235
235
 
236
236
  for (const msg of messages) {
237
- if (msg.key.fromMe) {
238
- log('whatsapp', 'skipping own message', 'gray');
239
- continue;
240
- }
237
+ // Log raw message info
238
+ log('whatsapp', `Raw message - fromMe: ${msg.key.fromMe}, remoteJid: ${msg.key.remoteJid}`, 'gray');
241
239
 
242
240
  const sender = msg.key.remoteJid?.split('@')[0].split(':')[0];
243
241
  const allowedNumbers = config.whatsappAllowedNumbers || [];