fix(core): clean up mcp event surface (#35221)

This commit is contained in:
Aiden Cline 2026-07-03 13:43:21 -05:00 committed by GitHub
commit bf3ae45439
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 28 additions and 36 deletions

View file

@ -89,7 +89,6 @@ export type Event =
| EventTuiToastShow2
| EventTuiSessionSelect2
| EventMcpToolsChanged
| EventMcpBrowserOpenFailed
| EventMcpStatusChanged
| EventCommandExecuted
| EventProjectUpdated
@ -1556,14 +1555,6 @@ export type GlobalEvent = {
server: string
}
}
| {
id: string
type: "mcp.browser.open.failed"
properties: {
mcpName: string
url: string
}
}
| {
id: string
type: "mcp.status.changed"
@ -3177,7 +3168,6 @@ export type V2Event =
| TuiToastShow
| TuiSessionSelect
| McpToolsChanged
| McpBrowserOpenFailed
| McpStatusChanged
| CommandExecuted
| ProjectUpdated
@ -6373,20 +6363,6 @@ export type McpToolsChanged = {
}
}
export type McpBrowserOpenFailed = {
id: string
created: number
metadata?: {
[key: string]: unknown
}
type: "mcp.browser.open.failed"
location?: LocationRef
data: {
mcpName: string
url: string
}
}
export type McpStatusChanged = {
id: string
created: number
@ -7493,15 +7469,6 @@ export type EventMcpToolsChanged = {
}
}
export type EventMcpBrowserOpenFailed = {
id: string
type: "mcp.browser.open.failed"
properties: {
mcpName: string
url: string
}
}
export type EventMcpStatusChanged = {
id: string
type: "mcp.status.changed"