(baseUrl: string)
| 328 | }); |
| 329 | |
| 330 | const parseExecutorServerConnection = (baseUrl: string) => |
| 331 | Effect.try({ |
| 332 | try: () => parseCliExecutorServerConnection(baseUrl), |
| 333 | catch: (cause) => |
| 334 | cause instanceof Error ? cause : new Error(`Invalid server URL: ${String(cause)}`), |
| 335 | }); |
| 336 | |
| 337 | const daemonBaseUrl = (hostname: string, port: number): string => |
| 338 | `http://${canonicalDaemonHost(hostname)}:${port}`; |
no test coverage detected