natureco-cli 2.21.1 → 2.21.2

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": "2.21.1",
3
+ "version": "2.21.2",
4
4
  "description": "NatureCo AI Bot Terminal Interface",
5
5
  "main": "bin/natureco.js",
6
6
  "bin": {
@@ -729,9 +729,9 @@ ${indexPrompt}`;
729
729
  // ── Input loop ───────────────────────────────────────────────────────────────
730
730
  const rl = readline.createInterface({ input: process.stdin, output: process.stdout, terminal: true });
731
731
 
732
- process.on('SIGINT', async () => {
732
+ rl.on('SIGINT', async () => {
733
733
  console.log('\n');
734
- if (rl) rl.pause();
734
+ rl.pause();
735
735
  if (conversationMessages.filter(m => m.role === 'user').length > 0) {
736
736
  try {
737
737
  const { save } = await inquirer.prompt([{