Enterprise AI Assistant
An advanced VS Code extension that provides enterprise-grade AI assistance with a sidebar UI similar to Continue and Cursor, featuring multiple interaction modes and enterprise integration.
✨ Features
🤖 Right Panel Chat Interface
- Dedicated right panel - Opens beside your code editor like Continue/Cursor
- Toggle with hotkey -
Cmd+Shift+U
(Mac) / Ctrl+Shift+U
(Windows)
- Three modes in one panel: Switch between Chat, Agent, and Ask modes
- Real-time messaging with context-aware responses
- Code integration - Insert code directly into editor or save as files
- Message history - Conversations saved per session
- Export functionality - Save chat history as markdown
🔧 Enterprise Integration
- REST API integration for enterprise data
- Context-aware responses using organizational knowledge
- Secure API key management via VS Code SecretStorage
- Customizable branding with logo support
📚 Continue Protocol Support
- Compatible with Continue.dev ecosystem
- Seamless integration with existing Continue workflows
- Enhanced context management and code completion
🚀 Installation
From VSIX (Latest Version)
- Download the
enterprise-assistant-0.1.0.vsix
file
- Open VS Code
- Press
Ctrl+Shift+P
(or Cmd+Shift+P
on Mac)
- Type "Extensions: Install from VSIX"
- Select the downloaded VSIX file
- Reload VS Code to activate the extension
📖 Usage
Getting Started
- Press the hotkey:
Cmd+Shift+U
(Mac) or Ctrl+Shift+U
(Windows)
- Enterprise Assistant panel opens on the right side of VS Code
- Choose your mode using the Command Palette (
Cmd+Shift+P
/ Ctrl+Shift+P
):
- Type "Enterprise Assistant: Switch Mode"
- Select: Chat, Agent, or Ask
- Start typing in the message input at the bottom of the panel
🖥️ Interface Features
- Right-side panel - Opens beside your code editor (Continue/Cursor style)
- Toggle panel - Use
Cmd+Shift+U
/ Ctrl+Shift+U
to open/close
- Message History - All conversations are saved per session
- Code Blocks - Code responses include Insert/Save buttons
- Export Chat - Save conversation history as markdown
- Clear History - Reset the conversation
- Keyboard Shortcuts:
Cmd+Shift+U
/ Ctrl+Shift+U
- Toggle panel
Ctrl+Enter
/ Cmd+Enter
- Send message
🎯 Three Modes Explained
💬 Chat Mode
Interactive conversational AI for general coding assistance:
- Code explanations and reviews
- Debugging help
- Architecture discussions
- General programming questions
🤖 Agent Mode
Autonomous AI agents for complex tasks:
- Codebase analysis
- Automated refactoring
- Documentation generation
- Multi-step development workflows
❓ Ask Mode
Quick Q&A for specific, focused questions:
- API documentation queries
- Best practice recommendations
- Quick code explanations
- Syntax help
⚙️ Configuration
Settings
- Open VS Code Settings (
Ctrl+,
or Cmd+,
)
- Search for "Enterprise Assistant"
- Configure the following options:
Setting |
Type |
Description |
Default |
enterpriseAssistant.api.endpoint |
string |
Internal REST API endpoint |
"" |
enterpriseAssistant.api.key |
string |
API key (stored securely) |
"" |
enterpriseAssistant.brand.logoPath |
string |
Custom logo file path or URL |
"./logo/default.svg" |
enterpriseAssistant.mode.default |
string |
Default mode on startup |
"chat" |
Example Configuration
{
"enterpriseAssistant.api.endpoint": "https://api.yourcompany.com/v1",
"enterpriseAssistant.brand.logoPath": "./logo/company-logo.svg",
"enterpriseAssistant.mode.default": "chat"
}
🔧 Troubleshooting
"No data provider registered" Error ✅ FIXED
This error has been resolved in the latest version. The extension now uses a dedicated right panel instead of sidebar views.
Extension Not Responding to Hotkey
- Make sure the extension is installed and enabled
- Try the hotkey:
Cmd+Shift+U
(Mac) or Ctrl+Shift+U
(Windows)
- If not working, reload VS Code completely
- Check Extensions view to ensure "Enterprise AI Assistant" is enabled
Panel Not Opening
- Use the Command Palette (
Cmd+Shift+P
/ Ctrl+Shift+P
)
- Type "Enterprise Assistant: Toggle Panel"
- If panel is empty, check VS Code Developer Console (Help → Toggle Developer Tools)
- Look for JavaScript errors in the console
- Try reloading the window (
Ctrl+R
/ Cmd+R
)
🔗 API Integration
The extension integrates with your enterprise REST API to provide contextual assistance:
Required Endpoints
GET /api/projects
- Project listings
GET /api/documents
- Documentation
GET /api/issues
- Issue tracking data
Context Bus
The extension maintains a context bus that:
- Syncs data every 5 minutes
- Caches data for 30 minutes (TTL)
- Provides contextual information to AI responses
🛠️ Development
Setup
git clone <repository-url>
cd vscode-enterprise-assistant
npm install
Build & Package
# Compile TypeScript
npm run compile
# Package extension
npm run package
# Install locally
code --install-extension enterprise-assistant-0.1.0.vsix --force
Development Scripts
Script |
Description |
npm run compile |
TypeScript compilation |
npm run watch |
Watch mode for development |
npm run lint |
ESLint code checking |
npm test |
Jest unit tests |
npm run package |
Create VSIX package |
🎨 Customization
Custom Logo
- Create your logo file (SVG recommended, 32x32px)
- Place it in your extension folder or use a URL
- Update the setting:
{
"enterpriseAssistant.brand.logoPath": "./logo/your-logo.svg"
}
📝 License
MIT License - see LICENSE file for details.
🤝 Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
🆘 Support
For issues and feature requests, please use the GitHub issue tracker or contact your IT administrator.