fix(coding-agent): rename unconfigured to not configured

This commit is contained in:
Vegard Stikbakke 2026-10-01 12:36:45 +02:00
parent e792ba131e
commit 0f8740bb65
2 changed files with 4 additions and 4 deletions

View file

@ -162,7 +162,7 @@ export class OAuthSelectorComponent extends Container implements Focusable {
}
private formatStatusIndicator(provider: AuthSelectorProvider): string {
if (!provider.status) return theme.fg("muted", " • unconfigured");
if (!provider.status) return theme.fg("muted", " • not configured");
if (provider.status.type !== provider.authType) {
const label = provider.status.type === "oauth" ? "subscription configured" : "API key configured";
return theme.fg("muted", " • ") + theme.fg("warning", label);

View file

@ -71,7 +71,7 @@ describe("OAuthSelectorComponent", () => {
]);
});
it("renders an option without compiled auth status as unconfigured", () => {
it("renders an option without compiled auth status as not configured", () => {
const selector = new OAuthSelectorComponent(
"login",
[{ id: "google", name: "Google", authType: "api_key", status: undefined }],
@ -80,7 +80,7 @@ describe("OAuthSelectorComponent", () => {
);
const output = stripAnsi(selector.render(120).join("\n"));
expect(output).toContain("unconfigured");
expect(output).toContain("not configured");
expect(output).not.toContain("✓ configured");
});
@ -106,7 +106,7 @@ describe("OAuthSelectorComponent", () => {
const output = stripAnsi(selector.render(120).join("\n"));
expect(output).toContain("✓ env: OPENAI_API_KEY");
expect(output).not.toContain("unconfigured");
expect(output).not.toContain("not configured");
});
it("shows models.json API key auth as configured", () => {