blun-king-cli 9.1.633 → 9.1.634

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/blun.mjs +5 -1
  2. package/package.json +1 -1
package/blun.mjs CHANGED
@@ -515932,7 +515932,11 @@ var init_strip_control_tokens = __esmMin((() => {
515932
515932
  /** Remove model-only envelopes before assistant text reaches a transcript renderer. */
515933
515933
  function sanitizeAssistantDisplayText(text, options = {}) {
515934
515934
  const transient = options.transient === true;
515935
- return stripIncompleteInternalSuffix(stripControlTokens(stripDsmlBlocks(stripSystemReminderBlocks(stripEchoedRuntimeInstructions(text), transient))), transient);
515935
+ const displayText = stripIncompleteInternalSuffix(stripControlTokens(stripDsmlBlocks(stripSystemReminderBlocks(stripEchoedRuntimeInstructions(text), transient))), transient);
515936
+ const sentinel = "[[BLUN_TELEGRAM_SILENT]]";
515937
+ const candidate = displayText.trim();
515938
+ if (candidate === sentinel || transient && candidate.length > 0 && sentinel.startsWith(candidate)) return "";
515939
+ return displayText;
515936
515940
  }
515937
515941
  function stripEchoedRuntimeInstructions(text) {
515938
515942
  let cursor = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blun-king-cli",
3
- "version": "9.1.633",
3
+ "version": "9.1.634",
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": {