Answer: Rename the config key from "plugin" to "plugins" and replace each package-and-options tuple with an object using "package" and "options"; also move ported local plugins to a directory such as ./plugin/local/index.ts, since V1 plugin implementations do not run in V2 and must be ported with the dedicated plugin migration guide. Status: Overdue (check was due 2026-11-20T13:36:59Z and has not succeeded) Entry: tool/opencode/integrations/migrate-plugins-to-v2 Revision: 2 Digest: sha256:67b9db6f35a7f6b0 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:57:49Z Last changed: 2026-11-18T13:40:17Z (local path requirement: — → Configured local paths must be directories) Last verified: 2026-11-19T13:36:59Z Next check: 2026-11-20T13:36:59Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of config key rename | Rename plugin to plugins | [1] | 2026-11-19 tuple to object | Replace a package-and-options tuple with an object | [1] | 2026-11-19 V2 config example | { "plugins" : [ "opencode-example-plugin" , { "package" : "./plugin/local" , "options" : { "enabled" : true } } ] } | [1] | 2026-11-19 local plugin discovery | .opencode/plugin/ and .opencode/plugins/ | [1] | 2026-11-19 local path requirement | Configured local paths must be directories | [1] | 2026-11-19 V1 compatibility | V1 plugin implementations do not run in V2 | [1] | 2026-11-19 porting scope | Port entrypoints, hooks, tools, events, and package exports | [1] | 2026-11-19 Sources: [1] opencode. "Migrate from V1 | OpenCode". https://opencode.ai/docs/migrate-v1/ Role: primary. Accessed: 2026-11-19T13:36:59Z Quote: "Rename plugin to plugins ." (Supports: config key rename) Quote: "Replace a package-and-options tuple with an object:" (Supports: tuple to object) Quote: "{ "plugins" : [ "opencode-example-plugin" , { "package" : "./plugin/local" , "options" : { "enabled" : true } } ] }" (Supports: V2 config example) Quote: "V2 discovers local plugins from both .opencode/plugin/ and .opencode/plugins/ ; use .opencode/plugins/ for V2 files." (Supports: local plugin discovery) Quote: "Configured local paths must be directories, so move the ported plugin to ./plugin/local/index.ts ." (Supports: local path requirement) Quote: "V1 plugin implementations do not run in V2." (Supports: V1 compatibility) Quote: "Port entrypoints, hooks, tools, events, and package exports with the dedicated plugin migration guide ." (Supports: porting scope) Snapshot SHA-256: 57c20b9b7b4f40bd140d2fa4d8038a259bdf6ba64fb82ce0aca49cf5c4fee0eb (captured 2026-11-18T13:40:15Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:40:17Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:36:59Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:36:59Z Last attempt: 2026-11-19T13:36:59Z Notes and limitations: Extracted automatically from a single official source (section "Plugins"). Related: https://latestn.com/tool/opencode/integrations/migrate-v1-plugin How do I migrate an existing OpenCode V1 plugin to V2? https://latestn.com/tool/opencode/integrations/opencode-api-key-variables Which API key environment variables does Hermes use for OpenCode Zen and OpenCode Go? https://latestn.com/tool/opencode/integrations/publish-load-tui-plugin How do I publish and load an opencode TUI plugin? https://latestn.com/tool/opencode/integrations/load-plugin How do I load an opencode plugin? https://latestn.com/tool/opencode/integrations/local-mcp-server-config How do I configure a local MCP server in opencode? https://latestn.com/tool/opencode/integrations/mcp-oauth-authentication How do I authenticate an opencode MCP server that needs OAuth? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:40:17Z | changed | local path requirement: — → Configured local paths must be directories | [1] 2026-11-18T13:40:17Z | changed | local plugin discovery: — → .opencode/plugin/ and .opencode/plugins/ | [1] 2026-11-18T13:40:17Z | changed | tuple to object: — → Replace a package-and-options tuple with an object | [1] 2026-11-18T13:40:17Z | changed | V1 compatibility: V1 plugin implementations do not run in V2. → V1 plugin implementations do not run in V2 | [1] 2026-11-18T13:40:17Z | changed | required local path: ./plugin/local/index.ts → — | [1] 2026-11-18T13:40:17Z | changed | local plugin directories: .opencode/plugin/ and .opencode/plugins/ → — | [1] 2026-11-18T13:40:17Z | changed | config key rename: plugins → Rename plugin to plugins | [1] 2026-11-13T03:57:49Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/integrations/migrate-plugins-to-v2/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/integrations/migrate-plugins-to-v2 POST: https://latestn.com/dispute/tool/opencode/integrations/migrate-plugins-to-v2 with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/integrations/migrate-plugins-to-v2?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I migrate opencode V1 plugins to the new V2 plugin API? Revision 2, last verified 2026-11-19T13:36:59Z. https://latestn.com/tool/opencode/integrations/migrate-plugins-to-v2 (accessed 2026-11-21T09:53:03Z). @misc{LatestN_tool_opencode_integrations_migrate_plugins_to_v2_r2, title = {How do I migrate opencode V1 plugins to the new V2 plugin API?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/integrations/migrate-plugins-to-v2}}, note = {Revision 2; digest sha256:67b9db6f35a7f6b0; last verified 2026-11-19T13:36:59Z; accessed 2026-11-21T09:53:03Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/integrations/migrate-plugins-to-v2