From 561fa99d959719eb3826c44899dc6545e3e1d803 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Thu, 8 Jan 2026 23:30:38 +0000 Subject: [PATCH] feat(providers): show status spinner message --- src/commands/providers/status.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/commands/providers/status.ts b/src/commands/providers/status.ts index a8db9c635..a5db18897 100644 --- a/src/commands/providers/status.ts +++ b/src/commands/providers/status.ts @@ -372,10 +372,15 @@ export async function providersStatusCommand( runtime: RuntimeEnv = defaultRuntime, ) { const timeoutMs = Number(opts.timeout ?? 10_000); + const statusLabel = opts.probe + ? "Checking provider status (probe)…" + : "Checking provider status…"; + const shouldLogStatus = opts.json !== true && !process.stderr.isTTY; + if (shouldLogStatus) runtime.log(statusLabel); try { const payload = await withProgress( { - label: "Checking provider status…", + label: statusLabel, indeterminate: true, enabled: opts.json !== true, },