()
| 41 | * This should be called after login to ensure the client is re-initialized with new credentials. |
| 42 | */ |
| 43 | export function resetCodebuffClient(): void { |
| 44 | clientInstance = null |
| 45 | } |
| 46 | |
| 47 | export async function getCodebuffClient(): Promise<CodebuffClient | null> { |
| 48 | if (!clientInstance) { |
no outgoing calls
no test coverage detected