fix(tui): expand MCP server errors in dialog (#35243)

This commit is contained in:
Aiden Cline 2026-07-03 18:19:16 -05:00 committed by GitHub
commit b04d8d53e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 92 additions and 37 deletions

View file

@ -7,8 +7,8 @@ import { IntegrationID } from "./integration-id.js"
const Connected = Schema.Struct({ status: Schema.Literal("connected") }).annotate({
identifier: "Mcp.Status.Connected",
})
const Disconnected = Schema.Struct({ status: Schema.Literal("disconnected") }).annotate({
identifier: "Mcp.Status.Disconnected",
const Pending = Schema.Struct({ status: Schema.Literal("pending") }).annotate({
identifier: "Mcp.Status.Pending",
})
const Disabled = Schema.Struct({ status: Schema.Literal("disabled") }).annotate({
identifier: "Mcp.Status.Disabled",
@ -27,7 +27,7 @@ const NeedsClientRegistration = Schema.Struct({
export type Status = typeof Status.Type
export const Status = Schema.Union([
Connected,
Disconnected,
Pending,
Disabled,
Failed,
NeedsAuth,