Aurora Chat VS Code Extension
This VS Code extension provides direct access to Aurora's cloud infrastructure chat assistant within your development environment.
Features
- Integrated Chat Interface: Chat with Aurora directly in VS Code
- Session Management: View and manage your chat sessions in the sidebar
- Real-time Communication: WebSocket-based real-time messaging
- Tool Call Visualization: See Aurora's tool executions and results
- Authentication: Secure authentication with your Aurora account
Installation
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Aurora Chat"
- Click Install
Configuration
The extension can be configured through VS Code settings:
aurora-chat.serverUrl : Aurora backend server URL (default: http://localhost:5000)
aurora-chat.websocketUrl : Aurora WebSocket server URL (default: ws://localhost:5006)
aurora-chat.autoConnect : Automatically connect on startup (default: true)
Usage
Getting Started
- Open the Command Palette (Ctrl+Shift+P)
- Run "Aurora: Open Aurora Chat"
- Authenticate with your Aurora credentials
- Start chatting!
Chat Sessions
- View all your chat sessions in the Aurora Chat sidebar
- Click on any session to open it
- Create new chat sessions with the "New Chat" button
- Sessions are automatically saved and synced with your Aurora account
Commands
Aurora: Open Aurora Chat - Open the main chat interface
Aurora: New Chat Session - Start a new chat session
Aurora: Refresh Chat Sessions - Refresh the sessions list
Development
Prerequisites
- Node.js 16+
- VS Code 1.74+
Building
cd aurora-vscode-extension
npm install
npm run compile
Testing
- Open the extension folder in VS Code
- Press F5 to launch a new Extension Development Host
- Test the extension in the new window
Packaging
npm install -g vsce
vsce package
Troubleshooting
Connection Issues
- Ensure your Aurora backend is running on the configured URLs
- Check that the WebSocket server is accessible
- Verify your authentication credentials
Authentication Problems
- Try logging out and logging back in
- Check that your user ID is correct
- Ensure the Aurora backend is properly configured
Support
For issues and feature requests, please contact the Aurora team or create an issue in the Aurora repository.
| |