You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
plugin list: git-spec entries display is environment-dependent — 'No plugins found' ×5 on 2.2.5 while the entry existed and the plugin loaded; row enumerated on 2.2.6 #62945
opencode plugin list displays an installed git-spec plugin entry inconsistently: on OpenCode 2.2.5 (2026-11-05) it printed No plugins found in five distinct forms while the config entry existed and the plugin was loading; on OpenCode 2.2.6 (2026-11-09) the same spec string is enumerated as a normal row. Display appears environment-dependent — cause not measured.
$ opencode plugin list
ID VERSION SOURCE
opencode-agent-teams 73f044c github:tusk23/opencode-agent-teams#v0.1.0
Same spec string (github:tusk23/opencode-agent-teams#v0.1.0) as form 4 above.
Differences between the two runs (measured, not a cause claim)
2026-11-05
2026-11-09
OpenCode
v2.2.5
v2.2.6
Config environment
sandboxed HOME/XDG overrides (fresh per run)
long-lived live config
OS
Linux
Linux
The version and the config environment both differ; which one (if either) explains the display difference was not measured.
Expected
opencode plugin list should enumerate a git-spec entry whenever the entry is present in the config and the plugin loads — or, if a display condition exists, it should be documented. The current behaviour (silently No plugins found next to a loading plugin) makes the list unusable as install proof.
Environment
OpenCode CLI v2.2.5 and v2.2.6, Linux
Spec forms used: github:<owner>/<repo>#<ref> and git+file://<path>
Thanks for the careful measurements. I think this is a duplicate of #54654.
In all five 2.2.5 runs you started from a fresh sandboxed HOME/XDG, so each plugin list hit a service and location that hadn't loaded any plugins yet. The server's plugin.list handler reads the plugin list without waiting for plugins to finish loading. On that first, cold call it returns an empty list, so the CLI prints No plugins found, while the plugin finishes loading in the same window. That matches the loading plugin line in your log. Your 2.2.6 run used a long-lived config where the plugin had already loaded, which is why the row appeared. This handler code is the same in 2.2.5 and 2.2.6, so the environment, not the version, most likely explains the difference. Git-spec plugins probably make it easier to hit because the clone and install take longer. A quick check: on a fresh environment, run opencode plugin list twice a few seconds apart. The second call should list the plugin.
Possible duplicates and related items, ordered from most to least likely:
Activity
opencodejr commentedon Nov 9, 2026
Thanks for the careful measurements. I think this is a duplicate of #54654.
In all five 2.2.5 runs you started from a fresh sandboxed
HOME/XDG, so eachplugin listhit a service and location that hadn't loaded any plugins yet. The server'splugin.listhandler reads the plugin list without waiting for plugins to finish loading. On that first, cold call it returns an empty list, so the CLI printsNo plugins found, while the plugin finishes loading in the same window. That matches theloading pluginline in your log. Your 2.2.6 run used a long-lived config where the plugin had already loaded, which is why the row appeared. This handler code is the same in 2.2.5 and 2.2.6, so the environment, not the version, most likely explains the difference. Git-spec plugins probably make it easier to hit because the clone and install take longer. A quick check: on a fresh environment, runopencode plugin listtwice a few seconds apart. The second call should list the plugin.Possible duplicates and related items, ordered from most to least likely:
opencode plugin listprints "No plugins found" on the first call per cold location #54654:opencode plugin listprints "No plugins found" on the first call for a cold location while the plugin is loading (same race; confirmed on versions up to 2.2.5)plugin.list/check/updatewait for plugins to finish loading before answeringThe bot will close this issue as a duplicate in 1 day unless you reply explaining how your problem is different.