mirror of
https://github.com/wecode-ai/RunVSAgent.git
synced 2026-07-10 01:30:06 +00:00
| deps | ||
| docs | ||
| extension_host | ||
| jetbrains_plugin | ||
| LICENSES | ||
| scripts | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| BUILD.md | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| NOTICE | ||
| README.md | ||
RunVSAgent
Run VSCode-based Coding Agents in JetBrains IDEs
RunVSAgent is an innovative cross-platform development tool that enables developers to run VSCode-based coding agents and extensions within JetBrains IDEs (IntelliJ IDEA, WebStorm, PyCharm, etc.).
📸 Screenshot
🚀 Core Features
- VSCode Agent Compatibility: Seamlessly run VSCode-based coding agents in JetBrains IDEs
- Cross-IDE Development: Unified agent experience across different IDE platforms
🤖 Supported Agent
- Roo Code: Advanced AI-powered coding assistant with intelligent code generation and refactoring capabilities
🏗️ Architecture
graph TB
subgraph "JetBrains IDE"
A[JetBrains Plugin<br/>Kotlin]
B[UI Integration]
C[Editor Bridge]
end
subgraph "Extension Host"
D[Node.js Runtime]
E[VSCode API Layer]
F[Agent Manager]
end
subgraph "VSCode Agents"
G[Coding Agent]
end
A <-->|RPC Communication| D
B --> A
C --> A
E --> D
F --> D
G --> E
Architecture Components:
- JetBrains Plugin: Kotlin-based IDE plugin for JetBrains IDE integration
- Extension Host: Node.js runtime environment providing VSCode API compatibility layer
- RPC Communication: High-performance inter-process communication for real-time data exchange
- VSCode Agents: Various coding agents and extensions developed for the VSCode platform
📦 Installation
Build from Source
Prerequisites
- Node.js 18.0+
- JetBrains IDE 2023.1+
- Git
- JDK 17+
Build Steps
# 1. Clone the repository
git clone https://github.com/your-org/RunVSAgent.git
cd RunVSAgent
# 2. Setup development environment
./scripts/setup.sh
# 3. Build the project
./scripts/build.sh
# 4. Build JetBrains plugin
cd jetbrains_plugin
./gradlew buildPlugin
# 5. Install plugin
# Plugin file located at: jetbrains_plugin/build/distributions/
# In IDE: Settings → Plugins → Install Plugin from Disk
Development Mode
# Start extension host in development mode
cd extension_host
npm install
npm run dev
# Run JetBrains plugin in development mode
cd jetbrains_plugin
./gradlew runIde
👥 Developer Information
Project Structure
RunVSAgent/
├── extension_host/ # Node.js Extension Host
│ ├── src/ # TypeScript source code
│ │ ├── main.ts # Main entry point
│ │ ├── extensionManager.ts # Extension lifecycle management
│ │ ├── rpcManager.ts # RPC communication layer
│ │ └── webViewManager.ts # WebView support
│ └── package.json # Node.js dependencies
├── jetbrains_plugin/ # JetBrains Plugin
│ ├── src/main/kotlin/ # Kotlin source code
│ │ └── com/sina/weibo/agent/
│ │ ├── core/ # Core plugin functionality
│ │ ├── actions/ # IDE actions and commands
│ │ ├── editor/ # Editor integration
│ │ └── webview/ # WebView support
│ └── build.gradle.kts # Gradle build configuration
└── scripts/ # Build and utility scripts
Technology Stack
- Extension Host: Node.js 18+, TypeScript 5.0+
- JetBrains Plugin: Kotlin 1.8+, IntelliJ Platform 2023.1+
- Communication: RPC over Unix Domain Sockets/Named Pipes
- Build Tools: npm/pnpm, Gradle, Shell scripts
Contributing
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature - Make your changes and add tests
- Run tests:
./scripts/test.sh - Submit a pull request
👥 Contributors
We thank all the contributors who have helped make this project better:
🌟 Core Contributors
🚀 Contributors
License
This project is licensed under the Apache License 2.0. See LICENSE for details.
Maintainers
- Organization: WeCode-AI Team, Weibo Inc.
- Contact: GitHub Issues
- Website: https://weibo.com
Made with ❤️ by WeCode-AI Team
