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
parent 7bd3f8ac83
commit b04d8d53e6
6 changed files with 93 additions and 38 deletions
+3 -3
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,