blun-king-cli 9.1.503 → 9.1.504

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,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.1.504 - 2026-08-30
4
+
5
+ - Starts an automatically queued Telegram message as a fresh model turn when King is idle instead of waiting forever for an already active turn.
6
+ - Preserves one-at-a-time delivery, queue ordering, deferred acknowledgement, direct-message priority, and the existing active-turn steer path.
7
+ - Adds a regression for the measured failure where an addressed group message reached the inbox and queue checkpoint but never entered the agent context.
8
+
3
9
  ## 9.1.503 - 2026-08-30
4
10
 
5
11
  - Gives the isolated TodoList maintenance message the complete provider message shape with an explicit empty `toolCalls` array.
package/LIESMICH.txt CHANGED
@@ -9,7 +9,7 @@ Installation
9
9
  ------------
10
10
  Die geprüfte Version exakt global installieren:
11
11
 
12
- npm install -g blun-king-cli@9.1.503
12
+ npm install -g blun-king-cli@9.1.504
13
13
 
14
14
  Start
15
15
  -----
@@ -65,6 +65,10 @@ geschriebenen Entwurf zu löschen. Das gilt auch bei
65
65
  Autovervollständigung, Geistervorschlägen, Bash-Eingabe und einer offenen
66
66
  Mehrzeileneingabe.
67
67
 
68
+ Version 9.1.504 startet eine automatisch eingereihte Telegram-Nachricht im
69
+ Leerlauf als neuen Modellzug. Sie wartet damit nicht mehr auf einen bereits
70
+ laufenden Zug, der im Leerlauf definitionsgemaess nie entstehen kann.
71
+
68
72
  Version 9.1.503 ergaenzt die isolierte Wartungsnachricht um das vom Anbieterpfad
69
73
  erwartete leere toolCalls-Feld. Dadurch erreicht der Wartungsschritt das Modell,
70
74
  statt in der Nachrichten-Normalisierung mit einem TypeError abzubrechen.
package/README.md CHANGED
@@ -9,7 +9,7 @@ Voraussetzung ist Node.js 24.15 oder neuer. Die geprüfte Version wird exakt
9
9
  installiert:
10
10
 
11
11
  ```powershell
12
- npm install -g blun-king-cli@9.1.503
12
+ npm install -g blun-king-cli@9.1.504
13
13
  ```
14
14
 
15
15
  ## Reproduzierbares Staging und Packen
@@ -81,6 +81,10 @@ konkurrierenden Start zurückgewiesen und bleiben an der Spitze der
81
81
  FIFO-Warteschlange. Für diesen normalen Wartestatus erscheint kein
82
82
  `turn.agent_busy`-Fehler.
83
83
 
84
+ Version 9.1.504 startet eine automatisch eingereihte Telegram-Nachricht im
85
+ Leerlauf als neuen Modellzug. Sie wartet damit nicht mehr auf einen bereits
86
+ laufenden Zug, der im Leerlauf definitionsgemäß nie entstehen kann.
87
+
84
88
  Version 9.1.503 ergänzt die isolierte Wartungsnachricht um das vom Anbieterpfad
85
89
  erwartete leere `toolCalls`-Feld. Dadurch erreicht der Wartungsschritt das Modell,
86
90
  statt in der Nachrichten-Normalisierung mit einem TypeError abzubrechen.
package/blun.mjs CHANGED
@@ -518093,8 +518093,7 @@ var BlunTUI = class {
518093
518093
  }
518094
518094
  canDeliverQueuedChannelHead() {
518095
518095
  const item = this.state.queuedMessages[0];
518096
- const hasActiveTurn = this.streamingUI.hasActiveTurn() || (this.state.appState.streamingPhase !== "idle" && this.state.appState.streamingPhase !== "shell");
518097
- if (this.isShuttingDown || this.queueCommandRunning || this.queueSteerInFlight !== void 0 || this.editorReplacementActive || this.deferUserMessages || this.session === void 0 || this.state.appState.model.trim().length === 0 || !hasActiveTurn || item?.mode !== "channel") return false;
518096
+ if (this.isShuttingDown || this.queueCommandRunning || this.queueSteerInFlight !== void 0 || this.editorReplacementActive || this.deferUserMessages || this.session === void 0 || this.state.appState.model.trim().length === 0 || item?.mode !== "channel") return false;
518098
518097
  return true;
518099
518098
  }
518100
518099
  async deliverQueuedChannelHead() {
@@ -518102,6 +518101,15 @@ var BlunTUI = class {
518102
518101
  const session = this.session;
518103
518102
  const item = this.state.queuedMessages[0];
518104
518103
  if (session === void 0 || item?.mode !== "channel") return false;
518104
+ const hasActiveTurn = this.streamingUI.hasActiveTurn() || (this.state.appState.streamingPhase !== "idle" && this.state.appState.streamingPhase !== "shell");
518105
+ if (!hasActiveTurn && item.channelContextOnly !== true) {
518106
+ this.state.queuedMessages = this.state.queuedMessages.slice(1);
518107
+ if (this.queueFlushBatchRemaining > 0) this.queueFlushBatchRemaining -= 1;
518108
+ this.updateQueueDisplay();
518109
+ this.sendChannelMessageInternal(session, item.text, item.displayText ?? item.text.trim(), item.origin, item.channelChatId, item.channelImagePath, false, item.channelTranscriptRendered === true, item.channelAcknowledge, item.channelAttention === true, item.queueKey, item.channelDirect === true, item.channelDirectResume === true, item.channelReportSources ?? [], item.channelFocusId);
518110
+ this.syncChannelQueueDeadline();
518111
+ return true;
518112
+ }
518105
518113
  const turnId = this.streamingUI.getTurnContext().turnId;
518106
518114
  if (item.channelContextOnly === true) {
518107
518115
  this.state.queuedMessages = this.state.queuedMessages.slice(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blun-king-cli",
3
- "version": "9.1.503",
3
+ "version": "9.1.504",
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": {