Find a file
2025-08-01 20:32:10 +08:00
deps add source 2025-08-01 20:21:08 +08:00
docs add screenshot 2025-08-01 20:26:24 +08:00
extension_host add source 2025-08-01 20:21:08 +08:00
jetbrains_plugin add source 2025-08-01 20:21:08 +08:00
LICENSES add source 2025-08-01 20:21:08 +08:00
scripts add source 2025-08-01 20:21:08 +08:00
.gitattributes add source 2025-08-01 20:21:08 +08:00
.gitignore add source 2025-08-01 20:21:08 +08:00
.gitmodules add source 2025-08-01 20:21:08 +08:00
BUILD.md add source 2025-08-01 20:21:08 +08:00
CONTRIBUTING.md add source 2025-08-01 20:21:08 +08:00
LICENSE update license 2025-08-01 20:31:08 +08:00
NOTICE add source 2025-08-01 20:21:08 +08:00
README.md update readme 2025-08-01 20:32:10 +08:00

RunVSAgent

License Node.js JetBrains

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

RunVSAgent 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

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/your-feature
  3. Make your changes and add tests
  4. Run tests: ./scripts/test.sh
  5. 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


Made with ❤️ by WeCode-AI Team