@inetafrica/open-claudia 1.4.0 → 1.4.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.
Files changed (2) hide show
  1. package/bot.js +4 -4
  2. package/package.json +1 -1
package/bot.js CHANGED
@@ -676,12 +676,12 @@ async function runClaude(prompt, cwd, replyToMsgId, opts = {}) {
676
676
  clearInterval(streamInterval); streamInterval = null;
677
677
  const finalText = assistantText || "(no output)";
678
678
  const chunks = splitMessage(finalText);
679
- // Edit the streaming message with the first chunk, send rest as new messages
679
+ // Delete the streaming progress message and send final result as new message(s)
680
+ // This ensures the user gets a notification for the final answer
680
681
  if (statusMessageId) {
681
- await editMessage(statusMessageId, chunks[0]);
682
- } else {
683
- await send(chunks[0], { replyTo: replyToMsgId });
682
+ await deleteMessage(statusMessageId);
684
683
  }
684
+ await send(chunks[0], { replyTo: replyToMsgId });
685
685
  for (let i = 1; i < chunks.length; i++) {
686
686
  await send(chunks[i]);
687
687
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inetafrica/open-claudia",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "description": "Your always-on AI coding assistant — Claude Code via Telegram",
5
5
  "main": "bot.js",
6
6
  "bin": {