@openacp/cli 0.4.4 → 0.4.5

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.
@@ -3758,7 +3758,16 @@ Task completed.
3758
3758
  { parse_mode: "HTML" }
3759
3759
  );
3760
3760
  return;
3761
- } catch {
3761
+ } catch (err) {
3762
+ const msg = err instanceof Error ? err.message : "";
3763
+ if (msg.includes("message is not modified")) {
3764
+ return;
3765
+ }
3766
+ try {
3767
+ await this.bot.api.deleteMessage(this.telegramConfig.chatId, existingMsgId);
3768
+ } catch {
3769
+ }
3770
+ this.skillMessages.delete(sessionId);
3762
3771
  }
3763
3772
  }
3764
3773
  try {
@@ -3861,4 +3870,4 @@ export {
3861
3870
  ApiServer,
3862
3871
  TelegramAdapter
3863
3872
  };
3864
- //# sourceMappingURL=chunk-VRXFGWZJ.js.map
3873
+ //# sourceMappingURL=chunk-V5P3K4A5.js.map