Skip to content

Support OpenCode installation for vercel/vercel-plugin #69

@ruchernchong

Description

@ruchernchong

Summary

vercel/vercel-plugin currently installs successfully through npx plugins add vercel/vercel-plugin, but it does not install cleanly as a native OpenCode plugin.

OpenCode expects plugins to be npm-installable modules configured in ~/.config/opencode/opencode.json, while this repo is currently private as an npm package and fails when installed directly from GitHub via OpenCode.

What I Tried

npm view vercel-plugin
npm view @vercel/vercel-plugin
opencode plugin vercel/vercel-plugin --global

Results

vercel-plugin is not published on npm:

npm ERR! 404 Not Found - GET https://registry.npmjs.org/vercel-plugin

@vercel/vercel-plugin is also not published:

npm ERR! 404 Not Found - GET https://registry.npmjs.org/@vercel%2fvercel-plugin

Installing directly through OpenCode fails:

Install failed
Could not install "vercel/vercel-plugin"
git dep preparation failed

The repo package.json also has:

{
  "name": "vercel-plugin",
  "private": true
}

Expected Behavior

OpenCode users should be able to install the Vercel plugin with one of:

opencode plugin @vercel/vercel-plugin --global

or:

opencode plugin vercel-plugin --global

Requested Fix

Please consider publishing an OpenCode-compatible npm package for this plugin, or adding an official OpenCode installation path.

Environment

  • OpenCode plugin command requires npm module names
  • Node.js: v24.13.1
  • Bun: 1.3.13
  • Repo: vercel/vercel-plugin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions