From 00ae21bed227d192519f4170f37ab74fdb82c2d8 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 24 Jan 2026 01:37:00 +0000 Subject: [PATCH] fix: inline auth probe errors in status table --- CHANGELOG.md | 1 + src/commands/models/list.status-command.ts | 16 +++------------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d2d47529..7eb7964f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ Docs: https://docs.clawd.bot - CLI: prevent ANSI color bleed when table cells wrap. - CLI: explain when auth profiles are excluded by auth.order in probe details. - CLI: drop the em dash when the banner tagline wraps to a second line. +- CLI: inline auth probe errors in status rows to reduce wrapping. - Linux: include env-configured user bin roots in systemd PATH and align PATH audits. (#1512) Thanks @robbyczgw-cla. - TUI: render Gateway slash-command replies as system output (for example, `/context`). - Media: preserve PNG alpha when possible; fall back to JPEG when still over size cap. (#1491) Thanks @robbyczgw-cla. diff --git a/src/commands/models/list.status-command.ts b/src/commands/models/list.status-command.ts index 606b2dd0a..8aa7015c8 100644 --- a/src/commands/models/list.status-command.ts +++ b/src/commands/models/list.status-command.ts @@ -587,7 +587,9 @@ export async function modelsStatusCommand( const modelLabel = result.model ?? `${result.provider}/-`; const modeLabel = result.mode ? ` ${colorize(rich, theme.muted, `(${result.mode})`)}` : ""; const profile = `${colorize(rich, theme.accent, result.label)}${modeLabel}`; - const statusLabel = `${status}${colorize(rich, theme.muted, ` · ${latency}`)}`; + const detail = result.error?.trim(); + const detailLabel = detail ? `\n${colorize(rich, theme.muted, `↳ ${detail}`)}` : ""; + const statusLabel = `${status}${colorize(rich, theme.muted, ` · ${latency}`)}${detailLabel}`; return { Model: colorize(rich, theme.heading, modelLabel), Profile: profile, @@ -605,18 +607,6 @@ export async function modelsStatusCommand( rows, }).trimEnd(), ); - const detailRows = sorted.filter((result) => Boolean(result.error?.trim())); - if (detailRows.length > 0) { - runtime.log(""); - runtime.log(colorize(rich, theme.muted, "Details")); - for (const result of detailRows) { - const modelLabel = colorize(rich, theme.heading, result.model ?? `${result.provider}/-`); - const profileLabel = colorize(rich, theme.accent, result.label); - runtime.log( - `- ${modelLabel} ${profileLabel}: ${colorize(rich, theme.muted, result.error ?? "")}`, - ); - } - } runtime.log(colorize(rich, theme.muted, describeProbeSummary(probeSummary))); } }