Skip to content

A self-improving RLM agent for coding workflows and long-running autonomous tasks.

Rust

fix(coding-agent): remove blank line between recap and working hint (#581)

Sebastian Müller6272ce46e9c0
diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md
index 9866e0106a..02c7f66c24 100644
--- a/packages/coding-agent/CHANGELOG.md
+++ b/packages/coding-agent/CHANGELOG.md
@@ -3,6 +3,7 @@
## [Unreleased]
- Changed large daemon session loads to stream JSONL history and avoid retaining a second full-file copy in memory.
+- Fixed the blank line between the recap and the working hint so they render directly above each other.
- Changed subagent guidance to retain reusable children and delete completed direct children once they are no longer needed.
- Changed top-level CLI help and documentation to expose autonomous mode, quality gates, and their limits.
- Fixed compaction retaining runtime resources after an explicitly deleted subagent had a transient cleanup failure.
diff --git a/packages/coding-agent/src/modes/interactive/interactive-mode.ts b/packages/coding-agent/src/modes/interactive/interactive-mode.ts
index fb79dce9d5..4772c9c799 100644
--- a/packages/coding-agent/src/modes/interactive/interactive-mode.ts
+++ b/packages/coding-agent/src/modes/interactive/interactive-mode.ts
@@ -3281,6 +3281,7 @@ export class InteractiveMode {
}
this.featureHintComponent = new FeatureHintComponent(this.currentFeatureHint);
this.featureHintContainer.addChild(this.featureHintComponent);
+ this.renderRecap();
this.featureHintAnimationTimer = setInterval(() => {
this.featureHintComponent?.advance();
this.ui.requestRender();
@@ -3301,6 +3302,7 @@ export class InteractiveMode {
if (this.featureHintComponent) {
this.featureHintContainer.removeChild(this.featureHintComponent);
this.featureHintComponent = undefined;
+ this.renderRecap();
}
}
@@ -3594,7 +3596,7 @@ export class InteractiveMode {
if (recap) {
this.recapContainer.addChild(new TruncatedText(theme.fg("dim", `Recap: ${recap}`), 1, 0));
}
- if (recap || showChanges) {
+ if ((recap || showChanges) && !this.featureHintComponent) {
this.recapContainer.addChild(new Spacer(1));
}
this.ui.requestRender();