blun-king-cli 9.1.437 → 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.
- package/blun.mjs +8 -3
- package/package.json +1 -1
package/blun.mjs
CHANGED
|
@@ -509441,6 +509441,7 @@ var SessionReplayRenderer = class {
|
|
|
509441
509441
|
await this.renderRecords(main);
|
|
509442
509442
|
this.applyTerminalBackgroundAgentStatuses(main);
|
|
509443
509443
|
this.host.mergeAllTurnSteps();
|
|
509444
|
+
this.host.requestTranscriptRender();
|
|
509444
509445
|
return true;
|
|
509445
509446
|
} catch (error) {
|
|
509446
509447
|
const message = formatErrorMessage$2(error);
|
|
@@ -518754,9 +518755,10 @@ var BlunTUI = class {
|
|
|
518754
518755
|
markTranscriptComponent(component, entry);
|
|
518755
518756
|
this.state.transcriptContainer.addChild(component);
|
|
518756
518757
|
}
|
|
518757
|
-
const trimmed = this.trimTranscriptWindow();
|
|
518758
|
-
const
|
|
518759
|
-
|
|
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();
|
|
518760
518762
|
}
|
|
518761
518763
|
appendApprovalTranscriptEntry(request, response) {
|
|
518762
518764
|
if (request.toolName === "ExitPlanMode" || request.display.kind === "plan_review" || request.display.kind === "goal_start") return;
|
|
@@ -518968,6 +518970,9 @@ var BlunTUI = class {
|
|
|
518968
518970
|
for (const child of toDispose) if (hasDispose(child)) child.dispose();
|
|
518969
518971
|
children.splice(0, children.length, ...newChildren);
|
|
518970
518972
|
}
|
|
518973
|
+
requestTranscriptRender() {
|
|
518974
|
+
this.state.ui.requestRender();
|
|
518975
|
+
}
|
|
518971
518976
|
showStatus(message, color) {
|
|
518972
518977
|
this.telegramRemoteCommandContext?.responses.push(message);
|
|
518973
518978
|
this.state.transcriptContainer.addChild(new StatusMessageComponent(message, color));
|