A sidebar chat panel for 4Brains IQ, talking directly to the same API the
4biq terminal CLI and the web portal use.
Run it (development)
npm install
npm run compile
Then open this folder in VS Code and press F5 (Run Extension). A new
Extension Development Host window opens with a "4Brains IQ" icon in the
activity bar.
Sign in
In the portal (ai.4brains.app), open the account menu → Terminal
access → Generate token.
In VS Code, run the command 4Brains IQ: Sign In (Command Palette) or
click Sign In in the sidebar panel, and paste the token.
The token is stored in VS Code's built-in Secret Storage (OS keychain), never
in a plain settings file.
Configuration
4brainsIQ.apiBaseUrl — base URL of the server (default
https://ai.4brains.app). Point this at a different deployment if needed.
Commands
4Brains IQ: Sign In
4Brains IQ: Sign Out
4Brains IQ: New Chat
Packaging
npx @vscode/vsce package
produces a .vsix you can install via Extensions: Install from VSIX....