()
| 2 | const localSessionPathPattern = /^local:\/\/([^/]+)\/[^?]+(?:\?chatGroupId=([^&]+))?$/ |
| 3 | |
| 4 | function buildLocalSessionToken() { |
| 5 | return `${Date.now()}-${Math.random().toString(36).slice(2, 8)}` |
| 6 | } |
| 7 | |
| 8 | export function isLocalSessionPath(sessionPath: string | null | undefined) { |
| 9 | return typeof sessionPath === 'string' && sessionPath.startsWith(LOCAL_SESSION_PREFIX) |
no outgoing calls
no test coverage detected