feat: wire paseo agent provider catalog

This commit is contained in:
Mohamed Boudra
2026-07-02 11:07:49 +02:00
parent fce3d14a83
commit 4e5737169f
20 changed files with 1226 additions and 83 deletions
@@ -2,6 +2,9 @@ import type { RedactedPaseoAgentProviderConfig } from "@getpaseo/protocol/messag
import type { PaseoAgentSetProviderInput } from "@/hooks/use-paseo-agent-providers";
export function paseoAgentAuthLabel(auth: RedactedPaseoAgentProviderConfig["auth"]): string {
if (!auth) {
return "Auth state unavailable";
}
if (auth.kind === "oauth") {
return auth.configured ? "ChatGPT login stored" : "Login required";
}