AI Chat in JSLab: ask about your tab, review the fix as a diff
We make JSLab, a JavaScript and TypeScript scratchpad for Mac, so this is show-and-tell, not a review. The video shows JSLab's AI Chat panel (⌃⌘I). No pasting. Each message carries the current tab's code and, by default, its most recent output. When the last run failed, the empty chat offers a star

The video shows JSLab's AI Chat panel (⌃⌘I).
No pasting. Each message carries the current tab's code and, by default, its most recent output. When the last run failed, the empty chat offers a starter: Why does line N fail?
Your provider. Ollama on your own Mac (at its standard local address, nothing leaves the machine), or OpenAI, Anthropic or Google Gemini with your own key, kept in the macOS Keychain. There are no bundled credits.
Nothing changes until you say so. Preview Changes shows a reply's code as an inline diff in the editor. Apply accepts one change, Apply all accepts the rest, Discard throws them away.
JSLab launches Nov 15 for Apple Silicon Macs (macOS 14 or later), with a 14-day free trial: https://js-lab.app