fix(tui): expand MCP server errors in dialog (#35243)
This commit is contained in:
parent
7bd3f8ac83
commit
b04d8d53e6
6 changed files with 92 additions and 37 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue