blun-king-cli 9.1.400 → 9.1.401

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 (3) hide show
  1. package/README.md +11 -0
  2. package/blun.mjs +9 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -415,6 +415,17 @@ Profilspeicher erhalten. Damit kann eine gemessene Projektregel später wieder
415
415
  aufgerufen werden, ohne als vermeintlich allgemeine Regel in fachfremde Projekte
416
416
  zu gelangen.
417
417
 
418
+ ## Sofort sichtbarer Antwortbeginn
419
+
420
+ Ab BLUN King 9.1.401 rendert die TUI das erste Textfragment eines neuen Zuges
421
+ oder eines neuen Antwortabschnitts sofort. Es wartet nicht mehr auf den ersten
422
+ Intervall-Timer und übernimmt auch keinen Render-Zeitstempel aus dem vorherigen
423
+ Zug. Dadurch erscheint der Antwortbeginn ohne vermeidbare Pause in der Konsole.
424
+
425
+ Weitere Text-, Denk- und Werkzeugfragmente bleiben adaptiv gebündelt. Kurze
426
+ Ausgaben behalten ihren schnellen Takt; bei langen Ausgaben wächst das Intervall
427
+ weiterhin stufenweise, damit vollständige Neurenderings die TUI nicht ausbremsen.
428
+
418
429
  ## Reaktionsfähige Wiederaufnahme großer Sitzungen
419
430
 
420
431
  Ab BLUN King 9.1.400 spielt die TUI gespeicherte Sitzungsverläufe weiterhin
package/blun.mjs CHANGED
@@ -511059,6 +511059,7 @@ var StreamingUIController = class {
511059
511059
  this._liveTurnStartedAtMs = Date.now();
511060
511060
  this._liveOutputTokens.reset();
511061
511061
  this._countedToolCallIds.clear();
511062
+ this.lastFlushAt = void 0;
511062
511063
  }
511063
511064
  getLiveActivityMetrics() {
511064
511065
  return {
@@ -511114,7 +511115,10 @@ var StreamingUIController = class {
511114
511115
  }
511115
511116
  appendAssistantDelta(delta) {
511116
511117
  this.recordLiveOutput(delta);
511117
- if (this._streamingBlock === null) this.onStreamingTextStart();
511118
+ if (this._streamingBlock === null) {
511119
+ this.onStreamingTextStart();
511120
+ this.lastFlushAt = void 0;
511121
+ }
511118
511122
  this._assistantDraft += delta;
511119
511123
  this.pendingAssistantFlush = true;
511120
511124
  }
@@ -511402,6 +511406,10 @@ var StreamingUIController = class {
511402
511406
  scheduleFlush() {
511403
511407
  if (!this.hasPending()) return;
511404
511408
  if (this.flushTimer !== void 0) return;
511409
+ if (this.lastFlushAt === void 0) {
511410
+ this.flush();
511411
+ return;
511412
+ }
511405
511413
  const flushIntervalMs = resolveStreamingFlushInterval({
511406
511414
  assistantChars: this._assistantDraft.length,
511407
511415
  thinkingChars: this._thinkingDraft.length,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blun-king-cli",
3
- "version": "9.1.400",
3
+ "version": "9.1.401",
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": {