Skills 2026-10-08 08:10 UTC
vercel-pluginlatest
Version [latest] committed by vvo. Update Category: Feature Addition & Enhancement. Commit details: [plugin] Add OpenCode 2 support (#314). This update introduces new capabilities and module extensions.
CommitRaw commit message
[plugin] Add OpenCode 2 support (#314) * [plugin] Add OpenCode 2 support Ship a native OpenCode 2 plugin entry (hooks/opencode-plugin.mjs, loaded through package.json exports) that registers the same skills, commands, agents and Vercel MCP server as the Claude Code plugin, turns the SessionStart profiler and inject-claude-md output into a per-session context hook, and reports skill:invoked with an opencode harness. Install: opencode plugin add github:vercel/vercel-plugin * [plugin] Rename the build script to build:all A package.json `build` script makes npm "prepare" Git installs, and OpenCode 2's bundled npm cannot run that step, so `opencode plugin add github:vercel/vercel-plugin` failed. * [plugin] Simplify the OpenCode entry Keep only the entry point exported, store the telemetry session ID with the session state, run the Vercel CLI check only when the profiler would, and skip SSE servers, which OpenCode cannot connect to. Tests now go through the plugin itself, including the real CLI check against stub binaries. * [plugin] Link the upstream OpenCode issues behind two workarounds * [plugin] Let OpenCode agents read the plugin's skill files without a prompt Skills point at reference files in the plugin's install directory, which is outside the project, so OpenCode asked for external_directory permission on every read. Found while using the preview.