diff --git a/changelog.d/maintenance/ghe-copilot-registry-mirrors.md b/changelog.d/maintenance/ghe-copilot-registry-mirrors.md index 1462537c32..dbcae31d38 100644 --- a/changelog.d/maintenance/ghe-copilot-registry-mirrors.md +++ b/changelog.d/maintenance/ghe-copilot-registry-mirrors.md @@ -1 +1,2 @@ - fix(oauth): register `ghe-copilot` in the OAuth provider id map and the client-safe MITM host mirror, which #7546 left out of both — the gap turned the whole release branch red on `oauth-providers-config` and `mitm-tool-hosts` +- fix(dashboard): add the ghe-copilot entry to the traffic-inspector agent map and type `GheConfigStep`'s `error` prop as a renderable string, clearing the two dashboard-typecheck regressions #7546 left behind diff --git a/src/app/(dashboard)/dashboard/tools/traffic-inspector/components/shared/AgentEmoji.tsx b/src/app/(dashboard)/dashboard/tools/traffic-inspector/components/shared/AgentEmoji.tsx index 8cadbfd3b1..cc7560c257 100644 --- a/src/app/(dashboard)/dashboard/tools/traffic-inspector/components/shared/AgentEmoji.tsx +++ b/src/app/(dashboard)/dashboard/tools/traffic-inspector/components/shared/AgentEmoji.tsx @@ -6,6 +6,7 @@ const AGENT_COLORS: Record void; - error: unknown; + /** Rendered inline below the form; `unknown` is not a valid ReactNode. */ + error?: string | null; setError: (value: string) => void; startOAuthFlow: () => void; };