* HTTP MCP transports (Linear hosted + Notion sidecar), each carrying a static * `Authorization: Bearer`. TanStack AI's `chat()` connects these per run and * closes them when the run ends (its `mcp.connection: "close"` default), so we * just describe the transports here and create fresh clients i
| 61 | * factory on each turn. |
| 62 | */ |
| 63 | interface McpHttpTransport { |
| 64 | type: "http"; |
| 65 | url: string; |
| 66 | headers: Record<string, string>; |
| 67 | } |
| 68 | |
| 69 | /** A transport plus the human label we surface when it's up or down. */ |
| 70 | interface LabeledTransport { |
nothing calls this directly
no outgoing calls
no test coverage detected