blun-king-cli 9.1.436 → 9.1.438

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 +11 -4
  2. package/package.json +1 -1
package/blun.mjs CHANGED
@@ -508348,8 +508348,10 @@ var SessionEventHandler = class {
508348
508348
  this.host.sendChannelTurnStatus?.(message);
508349
508349
  }
508350
508350
  abortWatchdogLoop(snapshot) {
508351
- const message = uiText(snapshot.reason === "idle_timeout" ? "sessionEvent.watchdog.timeout" : "sessionEvent.watchdog.aborted", {
508351
+ const message = snapshot.reason === "idle_timeout" ? uiText("sessionEvent.watchdog.timeout", {
508352
508352
  minutes: snapshot.idleMinutes,
508353
+ tool: snapshot.lastToolName
508354
+ }) : uiText("sessionEvent.watchdog.aborted", {
508353
508355
  tool: snapshot.lastToolName,
508354
508356
  repetitions: snapshot.failedRepetitions
508355
508357
  });
@@ -509439,6 +509441,7 @@ var SessionReplayRenderer = class {
509439
509441
  await this.renderRecords(main);
509440
509442
  this.applyTerminalBackgroundAgentStatuses(main);
509441
509443
  this.host.mergeAllTurnSteps();
509444
+ this.host.requestTranscriptRender();
509442
509445
  return true;
509443
509446
  } catch (error) {
509444
509447
  const message = formatErrorMessage$2(error);
@@ -518752,9 +518755,10 @@ var BlunTUI = class {
518752
518755
  markTranscriptComponent(component, entry);
518753
518756
  this.state.transcriptContainer.addChild(component);
518754
518757
  }
518755
- const trimmed = this.trimTranscriptWindow();
518756
- const merged = this.mergeCurrentTurnSteps();
518757
- if (component || trimmed || merged) this.state.ui.requestRender();
518758
+ const trimmed = component !== null && this.isTurnBoundaryComponent(component) ? this.trimTranscriptWindow() : false;
518759
+ const deferReplayWork = this.state.appState.isReplaying;
518760
+ const merged = deferReplayWork ? false : this.mergeCurrentTurnSteps();
518761
+ if ((component || trimmed || merged) && !deferReplayWork) this.state.ui.requestRender();
518758
518762
  }
518759
518763
  appendApprovalTranscriptEntry(request, response) {
518760
518764
  if (request.toolName === "ExitPlanMode" || request.display.kind === "plan_review" || request.display.kind === "goal_start") return;
@@ -518966,6 +518970,9 @@ var BlunTUI = class {
518966
518970
  for (const child of toDispose) if (hasDispose(child)) child.dispose();
518967
518971
  children.splice(0, children.length, ...newChildren);
518968
518972
  }
518973
+ requestTranscriptRender() {
518974
+ this.state.ui.requestRender();
518975
+ }
518969
518976
  showStatus(message, color) {
518970
518977
  this.telegramRemoteCommandContext?.responses.push(message);
518971
518978
  this.state.transcriptContainer.addChild(new StatusMessageComponent(message, color));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blun-king-cli",
3
- "version": "9.1.436",
3
+ "version": "9.1.438",
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": {