Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.08 KB

BUILD_PLUGIN.md

File metadata and controls

48 lines (32 loc) · 1.08 KB

How to build DevPilot VSCode plugin

Prerequisites

Dependencies

  • AI gateway: support multi LLM model and provide api for plugin (We will opensource this project in the future)
  • Auth System: support authorization check for login user (You can turn it off by setting env.AUTH_ON to false)
  • Telemetry System: upload user behavior data for analysis (You can turn it off by setting env.TELEMETRY_ON to false)

How to build

  1. Clone the repository:

    git clone https://github.com/openpilot-hub/devpilot-vscode.git
    cd devpilot-vscode
  2. Install the dependencies:

    pnpm install
  3. Build the Webview: see DevPilot Webview for more details

  4. Compile the extension:

    pnpm run package:ext
  5. Package the extension:

    pnpm run pack
  6. Install the packaged extension in VSCode:

    code --install-extension devpilot-1.5.2.vsix