Skip to content

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

Rust

polish agents view visual hierarchy (#2126)

kt363eb6192062
diff --git a/packages/coding-agent/.changes/eng-5999-agents-view-visual-hierarchy.md b/packages/coding-agent/.changes/eng-5999-agents-view-visual-hierarchy.md
new file mode 100644
index 0000000000..1fd5597a53
--- /dev/null
+++ b/packages/coding-agent/.changes/eng-5999-agents-view-visual-hierarchy.md
@@ -0,0 +1,2 @@
+- Changed Agents View session statistics to use muted secondary text while preserving the available details ([ENG-6000](https://linear.app/primeintellect/issue/ENG-6000)).
+- Changed Agents View session search to inline editable text without an input background or border ([ENG-6001](https://linear.app/primeintellect/issue/ENG-6001)).
diff --git a/packages/coding-agent/src/modes/agents-view/agents-view-mode.ts b/packages/coding-agent/src/modes/agents-view/agents-view-mode.ts
index 77baf78057..1433d107b3 100644
--- a/packages/coding-agent/src/modes/agents-view/agents-view-mode.ts
+++ b/packages/coding-agent/src/modes/agents-view/agents-view-mode.ts
@@ -2579,7 +2579,7 @@ export class AgentsViewMode implements Component, Focusable {
formatTableCell(theme.fg("muted", formatSessionModel(row.summary)), layout.modelWidth),
];
if (layout.activityWidth > 0) cells.push(formatTableCell(theme.fg("dim", activity), layout.activityWidth));
- cells.push(details);
+ cells.push(theme.fg("muted", details));
return markRow(formatTableCell(cells.join(" "), width));
}
@@ -2661,7 +2661,14 @@ export class AgentsViewMode implements Component, Focusable {
}
private renderPrompt(width: number): string[] {
- return this.editor.render(width);
+ const inline = !this.replyTarget && !this.renameTarget;
+ // A transparent surface preserves the editor's padding, scroll hints, and cursor without input chrome.
+ this.editor.backgroundColor = inline ? (text) => text : theme.getEditorBackgroundColor();
+ const lines = this.editor.render(width);
+ if (!inline) return lines;
+ return lines
+ .filter((line, index) => (index > 0 && index < lines.length - 1) || line.trim().length > 0)
+ .map((line) => theme.fg("muted", line));
}
private renderDock(width: number): string[] {