(pathname: string | null)
| 98 | } |
| 99 | |
| 100 | function parseActiveThreadId(pathname: string | null) { |
| 101 | if (!pathname) { |
| 102 | return null; |
| 103 | } |
| 104 | const match = pathname.match(/^\/sessions\/codex\/([^/]+)$/u); |
| 105 | return match?.[1] ? decodeURIComponent(match[1]) : null; |
| 106 | } |
| 107 | |
| 108 | function areThreadListsEqual( |
| 109 | left: WebCodexThreadSummary[], |
no outgoing calls
no test coverage detected