A VS Code extension for managing the Subvert AI Ollama-OpenAI proxy server.
Features
- Server Management: Start, stop, and monitor the Subvert AI server directly from VS Code
- Dashboard Integration: Embedded web UI for configuring the proxy server
- Auto-Installation: One-click installation of the Python server and dependencies
- VS Code LM Export: Export configuration for VS Code's Language Model API
Requirements
- Python 3.8 or higher
- VS Code 1.74.0 or higher
Installation
- Install the extension from the VS Code marketplace
- Open the Subvert AI sidebar (look for the icon in the Activity Bar)
- Click "Install Server" to set up the Python environment
- Click "Start Server" to begin
Usage
Commands
Subvert AI: Start Server- Start the proxy serverSubvert AI: Stop Server- Stop the proxy serverSubvert AI: Open Dashboard- Open the full dashboard in a tabSubvert AI: Install / Repair- Reinstall the server filesSubvert AI: Test Connection- Test connection to Ollama CloudSubvert AI: Export VS Code Config- Copy LM configuration to clipboard
Configuration
Configure the extension in VS Code settings:
subvertAI.serverPort- Port for the server (default: 11435)subvertAI.autoStart- Auto-start server when VS Code openssubvertAI.ollamaCloudUrl- Ollama Cloud URLsubvertAI.ollamaCloudKey- Ollama Cloud API Key
Development
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch for changes
npm run watch
# Package extension
npx vsce package
License
MIT