Answer: Expose the TUI plugin through ./tui in package.json, adding OpenTUI peer dependencies when the plugin renders JSX, and export ./tui beside a server part or GUI part for automatic loading. For a TUI-only package, configure it in cli.json so it remains active against remote servers. Status: Confirmed Entry: tool/opencode/integrations/publish-load-tui-plugin Revision: 2 Digest: sha256:1fd8d45dba62961f (changes whenever the content changes) Timeline: Created: 2026-11-13T03:55:42Z Last changed: 2026-11-18T13:38:08Z (cli.json plugin entry: — → opencode-acme-plugin) Last verified: 2026-11-20T13:44:30Z Next check: 2026-11-21T13:44:30Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of TUI export path | ./tui | [1] | 2026-11-20 TUI export entry | "./tui" : "./src/tui.tsx" | [1] | 2026-11-20 OpenTUI core peer version | >=0.6.6 | [1] | 2026-11-20 OpenTUI solid peer version | >=0.6.6 | [1] | 2026-11-20 solid-js peer version | >=1.9.0 | [1] | 2026-11-20 cli.json plugin entry | opencode-acme-plugin | [1] | 2026-11-20 Sources: [1] opencode. "Building TUI plugins | OpenCode". https://opencode.ai/docs/build/plugins/cli/ Role: primary. Accessed: 2026-11-20T13:44:30Z Quote: "Expose the TUI plugin through ./tui" (Supports: TUI export path) Quote: ""./tui" : "./src/tui.tsx"" (Supports: TUI export entry) Quote: ""@opentui/core" : ">=0.6.6"" (Supports: OpenTUI core peer version) Quote: ""@opentui/solid" : ">=0.6.6"" (Supports: OpenTUI solid peer version) Quote: ""solid-js" : ">=1.9.0"" (Supports: solid-js peer version) Quote: ""plugins" : [ "opencode-acme-plugin" ]" (Supports: cli.json plugin entry) Snapshot SHA-256: 32429ffb8f3f458756c2be453fc1da3c8da59b96466f57cad07715af7be04446 (captured 2026-11-18T13:38:08Z) 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:38:08Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:44:30Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:44:30Z Last attempt: 2026-11-20T13:44:30Z Notes and limitations: Extracted automatically from a single official source (section "Publish and load"). Related: https://latestn.com/tool/opencode/integrations/publish-plugin How do I publish an opencode plugin? https://latestn.com/tool/opencode/integrations/raycast-console-mcp-server How do I add the OpenCode Console MCP server in Raycast? https://latestn.com/tool/opencode/integrations/raycast-extension-api-key-setup How do I configure the OpenCode extension for Raycast with an API key? https://latestn.com/tool/opencode/integrations/migrate-plugins-to-v2 How do I migrate opencode V1 plugins to the new V2 plugin API? 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/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:38:08Z | changed | cli.json plugin entry: — → opencode-acme-plugin | [1] 2026-11-18T13:38:08Z | changed | solid-js peer version: — → >=1.9.0 | [1] 2026-11-18T13:38:08Z | changed | OpenTUI solid peer version: — → >=0.6.6 | [1] 2026-11-18T13:38:08Z | changed | OpenTUI core peer version: — → >=0.6.6 | [1] 2026-11-18T13:38:08Z | changed | TUI export entry: — → "./tui" : "./src/tui.tsx" | [1] 2026-11-18T13:38:08Z | changed | TUI-only config: Configure a TUI-only package in cli.json so it remains active against remote servers. → — | [1] 2026-11-18T13:38:08Z | changed | cli.json plugins: "plugins" : [ "opencode-acme-plugin" ] → — | [1] 2026-11-18T13:38:08Z | changed | automatic loading: Export ./tui beside a server part or GUI part for automatic loading. → — | [1] 2026-11-18T13:38:08Z | changed | exports entry: "./tui" : "./src/tui.tsx" → — | [1] 2026-11-13T03:55:42Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/integrations/publish-load-tui-plugin/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/publish-load-tui-plugin POST: https://latestn.com/dispute/tool/opencode/integrations/publish-load-tui-plugin with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/integrations/publish-load-tui-plugin?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I publish and load an opencode TUI plugin? Revision 2, last verified 2026-11-20T13:44:30Z. https://latestn.com/tool/opencode/integrations/publish-load-tui-plugin (accessed 2026-11-21T09:53:15Z). @misc{LatestN_tool_opencode_integrations_publish_load_tui_plugin_r2, title = {How do I publish and load an opencode TUI plugin?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/integrations/publish-load-tui-plugin}}, note = {Revision 2; digest sha256:1fd8d45dba62961f; last verified 2026-11-20T13:44:30Z; accessed 2026-11-21T09:53:15Z} } 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/publish-load-tui-plugin