@@ -191,7 +191,7 @@ const Tui = struct {
191191 }
192192
193193 fn fail(self: *Tui, comptime fmt: []const u8, args: anytype) void {
194- self.note(styles.red(self.s, std.fmt.allocPrint(self.s, fmt, args) catch "! error"));
194+ self.note(styles.err(self.s, std.fmt.allocPrint(self.s, fmt, args) catch "! error"));
195195 }
196196
197197 fn commitUser(self: *Tui, text: []const u8) void {
@@ -202,13 +202,14 @@ const Tui = struct {
202202 fn pushBanner(self: *Tui) void {
203203 self.scrollback.separator = true;
204204 const model = self.opts.model;
205+ const brand = styles.accent(self.s, "mini-coding-agent");
205206 self.push(if (model) |m|
206207 if (m.effort.len == 0)
207- std.fmt.allocPrint(self.s, "mini · {s}/{s}", .{ m.provider, m.id }) catch "mini"
208+ std.fmt.allocPrint(self.s, "{s} · {s}/{s}", .{ brand, m.provider, m.id }) catch brand
208209 else
209- std.fmt.allocPrint(self.s, "mini · {s}/{s} · {s}", .{ m.provider, m.id, m.effort }) catch "mini"
210+ std.fmt.allocPrint(self.s, "{s} · {s}/{s} · {s}", .{ brand, m.provider, m.id, m.effort }) catch brand
210211 else
211- "mini · no model configured");
212+ std.fmt.allocPrint(self.s, "{s} · no model configured", .{brand}) catch brand);
212213 const loaded = self.opts.loaded;
213214 self.push(std.fmt.allocPrint(self.s, "{d} agent files · {d} skills", .{
214215 loaded.agent_files, loaded.skills,
@@ -217,7 +218,7 @@ const Tui = struct {
217218 }
218219
219220 fn statusLine(self: *Tui) []const u8 {
220- const model = self.opts.model orelse return styles.dim(self.s, "no model configured");
221+ const model = self.opts.model orelse return styles.comment(self.s, "no model configured");
221222 self.messages_mutex.lockUncancelable(platform.io);
222223 const used = usage_mod.estimateContextTokens(self.messages.items, self.opts.system_prompt, self.opts.tools_json);
223224 const cache = usage_mod.lastUsage(self.messages.items);
@@ -227,17 +228,17 @@ const Tui = struct {
227228 usage_mod.cacheLine(self.s, cache),
228229 }) catch "ctx";
229230 if (self.paused or self.phase == .pausing) {
230- return std.fmt.allocPrint(self.s, "{s} · {s}", .{ styles.dim(self.s, "paused - type steering, Enter to submit"), info }) catch info;
231+ return std.fmt.allocPrint(self.s, "{s} · {s}", .{ styles.comment(self.s, "paused - type steering, Enter to submit"), info }) catch info;
231232 }
232233 if (self.active and self.pause_requested.load(.seq_cst)) {
233- return std.fmt.allocPrint(self.s, "{s} · {s}", .{ styles.dim(self.s, "pausing - waiting for the step boundary"), info }) catch info;
234+ return std.fmt.allocPrint(self.s, "{s} · {s}", .{ styles.comment(self.s, "pausing - waiting for the step boundary"), info }) catch info;
234235 }
235236 if (!self.active or self.phase == .idle) return info;
236237 const elapsed = @max(0, @divFloor(time.nowMs() - self.turn_start, 1000));
237238 return std.fmt.allocPrint(self.s, "{s} {s} · {s} · {s}", .{
238- styles.teal(self.s, spinnerChar(self.frame)),
239+ styles.accent(self.s, spinnerChar(self.frame)),
239240 self.stateLabel(),
240- styles.dim(self.s, std.fmt.allocPrint(self.s, "{d}s", .{elapsed}) catch ""),
241+ styles.comment(self.s, std.fmt.allocPrint(self.s, "{d}s", .{elapsed}) catch ""),
241242 info,
242243 }) catch info;
243244 }
@@ -279,14 +280,14 @@ const Tui = struct {
279280 else => {},
280281 }
281282 var out: std.ArrayList(u8) = .empty;
282- out.appendSlice(a, if (color) |c| styles.styledWith(a, .{ .fg = c }, text) else styles.dim(a, text)) catch {};
283+ out.appendSlice(a, if (color) |c| styles.styledWith(a, .{ .fg = c }, text) else styles.comment(a, text)) catch {};
283284 if (bytes > 0) {
284285 const n = usage_mod.formatTokens(a, (bytes + 3) / 4);
285- out.appendSlice(a, styles.dim(a, std.fmt.allocPrint(a, " · ~{s} tok", .{n}) catch "")) catch {};
286+ out.appendSlice(a, styles.comment(a, std.fmt.allocPrint(a, " · ~{s} tok", .{n}) catch "")) catch {};
286287 }
287288 const queued = self.pending_calls.items.len -| @intFromBool(self.phase == .running_tool);
288289 if (queued > 0) {
289- out.appendSlice(a, styles.dim(a, std.fmt.allocPrint(a, " · {d} queued", .{queued}) catch "")) catch {};
290+ out.appendSlice(a, styles.comment(a, std.fmt.allocPrint(a, " · {d} queued", .{queued}) catch "")) catch {};
290291 }
291292 return out.items;
292293 }
@@ -332,11 +333,11 @@ const Tui = struct {
332333 for (render.wrapLine(self.s, part, width)) |row| {
333334 if (used >= budget_rows) break;
334335 used += 1;
335- lines.append(self.s, styles.dim(self.s, row)) catch {};
336+ lines.append(self.s, styles.comment(self.s, row)) catch {};
336337 }
337338 }
338339 } else {
339- lines.append(self.s, styles.dim(self.s, "no matches")) catch {};
340+ lines.append(self.s, styles.comment(self.s, "no matches")) catch {};
340341 }
341342 } else {
342343 for (ed.rows) |r| lines.append(self.s, r) catch {};
@@ -417,19 +418,19 @@ const Tui = struct {
417418 .tool_result => |tr| self.commitToolResult(tr.name, tr.text, tr.is_error, tr.diffs, tr.body),
418419 .err => |m| {
419420 self.reportStatus("error", null, m);
420- self.endTurn(styles.red(self.s, std.fmt.allocPrint(self.s, "! {s}", .{m}) catch "! error"));
421+ self.endTurn(styles.err(self.s, std.fmt.allocPrint(self.s, "! {s}", .{m}) catch "! error"));
421422 },
422423 .no_model => {
423424 self.reportStatus("error", null, "no model configured");
424- self.endTurn(styles.red(self.s, "! no model configured"));
425+ self.endTurn(styles.err(self.s, "! no model configured"));
425426 },
426427 .cancelled => {
427428 self.reportStatus("idle", null, null);
428- self.endTurn(styles.red(self.s, "! cancelled"));
429+ self.endTurn(styles.err(self.s, "! cancelled"));
429430 },
430431 .complete => {
431432 self.reportStatus("done", null, null);
432- self.endTurn(styles.dim(self.s, std.fmt.allocPrint(self.s, "[complete · {d}s]", .{@max(0, @divFloor(time.nowMs() - self.turn_start, 1000))}) catch "[complete]"));
433+ self.endTurn(styles.comment(self.s, std.fmt.allocPrint(self.s, "[complete · {d}s]", .{@max(0, @divFloor(time.nowMs() - self.turn_start, 1000))}) catch "[complete]"));
433434 },
434435 }
435436 self.dirty = true;
@@ -478,7 +479,7 @@ const Tui = struct {
478479 const rows = if (std.mem.eql(u8, name, "edit")) render.plainRows(self.s, lines) else render.bodyRows(self.s, lines, width);
479480 const mark_error = is_error and bash_exit == null;
480481 for (rows, 0..) |row, i| {
481- const prefix = if (mark_error and i == rows.len - 1) styles.red(self.s, ERROR_PREFIX) else styles.dim(self.s, BODY_PREFIX);
482+ const prefix = if (mark_error and i == rows.len - 1) styles.err(self.s, ERROR_PREFIX) else styles.comment(self.s, BODY_PREFIX);
482483 self.push(std.fmt.allocPrint(self.s, "{s}{s}", .{ prefix, row }) catch row);
483484 }
484485 if (bash_exit) |status_line| self.push(status_line);
@@ -486,7 +487,7 @@ const Tui = struct {
486487 for (diffs) |d| {
487488 self.push(tool_view.diffHead(self.s, name, d.path));
488489 for (render.plainRows(self.s, diff_view.diffBody(self.s, d))) |row| {
489- self.push(std.fmt.allocPrint(self.s, "{s}{s}", .{ styles.dim(self.s, BODY_PREFIX), row }) catch row);
490+ self.push(std.fmt.allocPrint(self.s, "{s}{s}", .{ styles.comment(self.s, BODY_PREFIX), row }) catch row);
490491 }
491492 }
492493 self.scrollback.separator = true;
@@ -569,7 +570,7 @@ const Tui = struct {
569570 if (!self.aborting) {
570571 self.aborting = true;
571572 self.reportStatus("idle", null, null);
572- self.endTurn(styles.red(self.s, "! cancelled"));
573+ self.endTurn(styles.err(self.s, "! cancelled"));
573574 }
574575 self.dirty = true;
575576 } else if (self.command_active) {
@@ -669,7 +670,7 @@ const Tui = struct {
669670 self.newSession();
670671 self.push("");
671672 self.pushBanner();
672- self.note(styles.dim(self.s, "new session"));
673+ self.note(styles.comment(self.s, "new session"));
673674 },
674675 .provider => self.startProviderSelect(),
675676 .model => {
@@ -752,7 +753,7 @@ const Tui = struct {
752753 };
753754 self.command_active = true;
754755 self.prompt_open = false;
755- self.note(styles.dim(self.s, "querying models..."));
756+ self.note(styles.comment(self.s, "querying models..."));
756757 self.dirty = true;
757758 }
758759