(cause: unknown)
| 1440 | * code `REQUEST_TIMEOUT`. Matched structurally: the SDK is loaded |
| 1441 | * dynamically, so its error class is not importable here. */ |
| 1442 | const isMcpRequestTimeout = (cause: unknown): boolean => |
| 1443 | typeof cause === "object" && |
| 1444 | cause !== null && |
| 1445 | "code" in cause && |
| 1446 | (cause as { readonly code: unknown }).code === "REQUEST_TIMEOUT"; |
| 1447 | |
| 1448 | /** Ask a Codex plugin whether macOS will actually let it work. |
| 1449 | * |
no outgoing calls
no test coverage detected