{"repo":"ttempaa/cursor-openai-enabler","free":true,"listed":false,"github":"https://github.com/ttempaa/cursor-openai-enabler","clone":"git clone https://github.com/ttempaa/cursor-openai-enabler.git","description":"Cursor IDE extension that automatically re-enables the \"OpenAI API Key\" toggle when it randomly resets itself.","language":"TypeScript","stars":29,"topics":["cursor","cursor-ide","fix","openai","api-key","automation","cursor-extension","extension","ide"],"license":"MIT","category":"workflow-automation","readme_excerpt":"cursor-openai-enabler Cursor IDE extension that automatically re-enables the \"OpenAI API Key\" toggle when it randomly resets itself. Problem Cursor has a known bug where the \"Override OpenAI Base URL\" / \"OpenAI API Key\" toggle keeps turning off by itself. There is no official fix yet. How it works 1. The extension reads Cursor's internal SQLite database ( state.vscdb ) to detect when useOpenAIKey resets to false 2. When detected, it calls Cursor's built-in aiSettings.usingOpenAIKey.toggle command to re-enable it 3. Shows a notification when the fix is applied Detection runs via: - File watcher on state.vscdb (reacts in 1 second) - Polling fallback every 30 seconds Install From release 1. Download the latest .vsix from Releases 2. Install via CLI: Or in Cursor: Ctrl+Shift+P → \"Extensions: Install from VSIX...\" Build from source Requires Bun. Commands The extension provides two commands. Open the Command Palette ( Ctrl+Shift+P ) to run them. Both commands are useful when you want to temporarily switch to a different model. They turn off the OpenAI key and prevent the extension from automatically re-enabling it. The difference is which side is \"primary\": - Cursor OpenAI Enabler: Toggle Extension ( cursor-openai-enabler.toggle ): controls the extension itself . When paused, all monitoring stops completely and the OpenAI key is turned off as a side effect. When resumed, monitoring starts and the key is re-enabled if needed. The state persists across Cursor restarts. - Cursor OpenA","default_branch":null,"files":null,"tree":[],"storefront":"/r/ttempaa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ttempaa/cursor-openai-enabler/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}