blun-king-cli 9.1.635 → 9.1.638

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/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 9.1.638
2
+
3
+ - Die Größenwarnung der Anweisungsdatei erscheint in der Konsole nicht mehr
4
+
5
+ ## 9.1.637 – Telegram-Stillemarker im Sendepfad
6
+
7
+ - `reply` und `edit_message` sowie die direkten Konsolen- und Brückenfallbacks senden nichts, wenn der Text nach `trim()` ausschließlich `[[BLUN_TELEGRAM_SILENT]]` enthält; der Aufruf meldet `unterdrückt`.
8
+ - Die Chatfreigabe bleibt vorgeschaltet. Marker mit zusätzlichem Text und alle anderen Texte bleiben unverändert.
9
+
1
10
  # BLUN King Changelog
2
11
 
3
12
  ## 9.1.600
package/blun.mjs CHANGED
@@ -536028,6 +536028,7 @@ var init_session_event_handler = __esmMin((() => {
536028
536028
  }));
536029
536029
  }
536030
536030
  handleSessionWarning(event) {
536031
+ if (event.code === "agents-md-oversized") return;
536031
536032
  this.host.showStatus(uiText("sessionEvent.warning", { message: event.message }), "warning");
536032
536033
  }
536033
536034
  renderMcpServerStatus(server) {
@@ -542715,6 +542716,7 @@ function isGroupSuppressed(text, _contextOnly) {
542715
542716
  return isGroupNoiseReply(text);
542716
542717
  }
542717
542718
  async function sendReplyFallback(chatId, text, contextOnly = false, requireDelivery = false, progress) {
542719
+ if (typeof text === "string" && text.trim() === "[[BLUN_TELEGRAM_SILENT]]") return true;
542718
542720
  if (isGroupChat(chatId) && isGroupSuppressed(text, contextOnly)) {
542719
542721
  try {
542720
542722
  appendFileSync(outboxPath(), `${JSON.stringify({
@@ -544684,6 +544686,7 @@ var init_blun_tui = __esmMin((() => {
544684
544686
  const warnings = await session.getSessionWarnings();
544685
544687
  if (this.session !== session) return;
544686
544688
  for (const warning of warnings) {
544689
+ if (warning.code === "agents-md-oversized") continue;
544687
544690
  const severity = warning.severity === "error" ? "error" : "warning";
544688
544691
  this.showStatus(uiText("blunTui.warning", { warning: warning.message }), severity);
544689
544692
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blun-king-cli",
3
- "version": "9.1.635",
3
+ "version": "9.1.638",
4
4
  "description": "BLUN CLI - your own AI agent with a Telegram channel. Get it done. With BLUN.",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -68029,6 +68029,7 @@ function scrubSecrets(text) {
68029
68029
  * log it to outbox.jsonl as kind "reply-fallback". Returns true on success.
68030
68030
  */
68031
68031
  async function sendReplyFallback(chatId, rawText) {
68032
+ if (typeof rawText === "string" && rawText.trim() === "[[BLUN_TELEGRAM_SILENT]]") return true;
68032
68033
  const token = botToken();
68033
68034
  if (token === void 0) return false;
68034
68035
  if (isGroupChat(chatId) && isGroupNoiseReply(rawText)) {
@@ -73600,6 +73600,7 @@ async function runTool(api, token, name, args) {
73600
73600
  case "download_attachment": return runDownload(api, token, args["file_id"]);
73601
73601
  case "edit_message": {
73602
73602
  const chatId = resolveAllowedChatId(args["chat_id"]);
73603
+ if (typeof args["text"] === "string" && args["text"].trim() === "[[BLUN_TELEGRAM_SILENT]]") return "unterdrückt";
73603
73604
  assertTelegramLanguageReleased(args["text"], args["release_token"]);
73604
73605
  const parseMode = args["format"] === "markdownv2" ? "MarkdownV2" : void 0;
73605
73606
  const edited = await api.editMessageText(chatId, Number(args["message_id"]), args["text"], parseMode !== void 0 ? { parse_mode: parseMode } : void 0);
@@ -73649,6 +73650,7 @@ function isRecentDuplicate(chatId, text) {
73649
73650
  async function runReply(api, args) {
73650
73651
  const chatId = resolveAllowedChatId(args["chat_id"]);
73651
73652
  const text = args["text"];
73653
+ if (typeof text === "string" && text.trim() === "[[BLUN_TELEGRAM_SILENT]]") return "unterdrückt";
73652
73654
  const replyTo = args["reply_to"] !== null && args["reply_to"] !== void 0 ? Number(args["reply_to"]) : void 0;
73653
73655
  const files = args["files"] ?? [];
73654
73656
  const parseMode = args["format"] === "markdownv2" ? "MarkdownV2" : void 0;