@ducci/jarvis 1.0.58 → 1.0.59

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": "@ducci/jarvis",
3
- "version": "1.0.58",
3
+ "version": "1.0.59",
4
4
  "description": "A fully automated agent system that lives on a server.",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -548,7 +548,7 @@ const SEED_TOOLS = {
548
548
  const logFile = path.join(logDir, String(chatId) + '-' + prefix + '.log');
549
549
  const ts = new Date().toISOString();
550
550
  await fs.promises.mkdir(logDir, { recursive: true });
551
- await fs.promises.appendFile(logFile, ts + ' [CRON] ' + String(args.message).replace(/\n/g, ' ') + '\n', 'utf8');
551
+ await fs.promises.appendFile(logFile, ts + ' [CRON] ' + String(args.message).replace(/\\n/g, ' ') + '\\n', 'utf8');
552
552
  } catch {}
553
553
  return { status: 'ok', chatId };
554
554
  `,