@skrr-ai/cli 0.1.223 → 0.1.224

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.
@@ -897,7 +897,10 @@ class AgentsChat extends base_command_1.BaseCommand {
897
897
  state: answer.delivery?.state ?? null,
898
898
  ...(answer.idempotentReplay ? { replayed: true } : {}),
899
899
  };
900
- const sentence = (0, inbound_messages_1.deliverySentence)(answer.delivery) ?? inbound_messages_1.ROUTE_COPY.hold;
900
+ const next = (0, inbound_messages_1.nextAfterSend)(answer);
901
+ const sentence = answer.idempotentReplay && next.kind === 'turn'
902
+ ? 'Reopening the original turn.'
903
+ : ((0, inbound_messages_1.deliverySentence)(answer.delivery) ?? inbound_messages_1.ROUTE_COPY.hold);
901
904
  if (input.jsonl)
902
905
  (0, agentic_stream_1.writeJsonLine)(process.stdout, { type: 'message.sent', ...record, sentence });
903
906
  // A notice on the way, never on stdout unless it is a JSONL event.
@@ -918,7 +921,6 @@ class AgentsChat extends base_command_1.BaseCommand {
918
921
  }
919
922
  return null;
920
923
  };
921
- const next = (0, inbound_messages_1.nextAfterSend)(answer);
922
924
  switch (next.kind) {
923
925
  case 'turn':
924
926
  return {
@@ -156321,5 +156321,5 @@
156321
156321
  ]
156322
156322
  }
156323
156323
  },
156324
- "version": "0.1.223"
156324
+ "version": "0.1.224"
156325
156325
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrr-ai/cli",
3
- "version": "0.1.223",
3
+ "version": "0.1.224",
4
4
  "description": "Command-line interface for skrr",
5
5
  "license": "ISC",
6
6
  "author": "skrr",
@@ -726,5 +726,5 @@
726
726
  "engines": {
727
727
  "node": ">=20.0.0"
728
728
  },
729
- "gitHead": "2e0ae26637a3123a530f35004c75b6b528122db9"
729
+ "gitHead": "80836481996bcac6939eb3bdcc02492bca57d46e"
730
730
  }