natureco-cli 5.6.34 → 5.6.35

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": "5.6.34",
3
+ "version": "5.6.35",
4
4
  "description": "OpenClaw'dan daha güvenli, daha hızlı, daha ucuz AI agent CLI. Multi-agent, self-evolving skills, audit log, maliyet optimizasyonu ve NatureCo platform-native.",
5
5
  "bin": {
6
6
  "natureco": "bin/natureco.js"
@@ -1511,7 +1511,7 @@ async function processImessageMessage(msg, config) {
1511
1511
  const reply = response?.reply || response?.message || '';
1512
1512
 
1513
1513
  if (reply) {
1514
- execSync(`"${global.imessageProvider.imsgPath}" send --address "${sender}" --message "${reply.replace(/"/g, '\\"')}" 2>/dev/null`, {
1514
+ execSync(`"${global.imessageProvider.imsgPath}" send --to "${sender}" --message "${reply.replace(/"/g, '\\"')}" 2>/dev/null`, {
1515
1515
  timeout: 15000, stdio: 'pipe',
1516
1516
  });
1517
1517
  log('imessage', `Reply sent to ${sender} (${reply.length} chars)`, 'green');
@@ -1831,7 +1831,7 @@ function startHttpServer() {
1831
1831
  return;
1832
1832
  }
1833
1833
  try {
1834
- execSync(`"${global.imessageProvider.imsgPath}" send --address "${target.replace(/"/g, '\\"')}" --message "${message.replace(/"/g, '\\"')}" 2>/dev/null`, {
1834
+ execSync(`"${global.imessageProvider.imsgPath}" send --to "${target.replace(/"/g, '\\"')}" --message "${message.replace(/"/g, '\\"')}" 2>/dev/null`, {
1835
1835
  timeout: 15000, stdio: 'pipe',
1836
1836
  });
1837
1837
  log('http', `iMessage sent to ${target}`, 'green');
@@ -2025,7 +2025,7 @@ function startCronJobs(config) {
2025
2025
  log('cron', 'iMessage not connected, skipping', 'red');
2026
2026
  return;
2027
2027
  }
2028
- execSync(`"${global.imessageProvider.imsgPath}" send --address "${cronJob.target.replace(/"/g, '\\"')}" --message "${reply.replace(/"/g, '\\"')}" 2>/dev/null`, {
2028
+ execSync(`"${global.imessageProvider.imsgPath}" send --to "${cronJob.target.replace(/"/g, '\\"')}" --message "${reply.replace(/"/g, '\\"')}" 2>/dev/null`, {
2029
2029
  timeout: 15000, stdio: 'pipe',
2030
2030
  });
2031
2031
  log('cron', `Sent to iMessage: ${cronJob.target}`, 'green');