( sessionId?: string, ingressUrl?: string, )
| 24 | * Checks session ID format (e.g. `session_local_...`) and ingress URL. |
| 25 | */ |
| 26 | export function isRemoteSessionLocal( |
| 27 | sessionId?: string, |
| 28 | ingressUrl?: string, |
| 29 | ): boolean { |
| 30 | return ( |
| 31 | sessionId?.includes('_local_') === true || |
| 32 | ingressUrl?.includes('localhost') === true |
| 33 | ) |
| 34 | } |
| 35 | |
| 36 | /** |
| 37 | * Get the base URL for Claude AI based on environment. |
no outgoing calls
no test coverage detected