(metadata: Metadata | null | undefined)
| 16 | } |
| 17 | |
| 18 | export function resolveCursorRemoteProtocol(metadata: Metadata | null | undefined): CursorSessionProtocol { |
| 19 | if (isLegacyCursorSession(metadata)) { |
| 20 | return 'stream-json'; |
| 21 | } |
| 22 | return 'acp'; |
| 23 | } |
no test coverage detected