[Bug]: Plugin not working since OpenCode 1.3.10
Description
After the update to OpenCode 1.3.10, the opencode-pty plugin no longer seems to work. It is reported as being active, but neither the pty_* tools nor the slash commands are available.
Reproduction Steps
Steps to reproduce the behavior:
- Configure plugin in opencode.json
- Run opencode
/statusto verify opencode-pty is really loaded- No slash commands are available
Expected Behavior
The slash commands and pty_* tools to be available.
Actual Behavior
Slashcommands and
Environment
- OS: macos 26
- OpenCode Version: 1.3.10
- Plugin Version: 3.2
- Bun Version: 1.3.10
OpenCode Configuration
opencode.json (sanitized)
{
"$schema": "https://opencode.ai/config.json",
"plugin": [
"opencode-pty",
"@tarquinen/opencode-smart-title@latest",
"@plannotator/opencode@latest",
"superpowers@git+https://github.com/obra/superpowers.git",
"oh-my-opencode-slim"
],
"agent": {
"explore": {
"disable": true
},
"general": {
"disable": true
}
}
}
Debug Logs
Click to expand debug logs
To get debug logs, run OpenCode with debug logging enabled:
opencode --log-level DEBUG --print-logs
Or check log files in ~/.local/share/opencode/logs/.
opencode --log-level DEBUG --print-logs
INFO 2026-04-07T10:40:40 +189ms service=default version=1.3.10 args=["--log-level","DEBUG","--print-logs"] opencode
INFO 2026-04-07T10:40:40 +0ms service=default directory=/Users/Martin.Neudecker/project creating instance
INFO 2026-04-07T10:40:40 +3ms service=project directory=/Users/Martin.Neudecker/project fromDirectory
INFO 2026-04-07T10:40:41 +27ms service=db path=/Users/Martin.Neudecker/.local/share/opencode/opencode.db opening database
INFO 2026-04-07T10:40:41 +6ms service=db count=10 mode=bundled applying migrations
INFO 2026-04-07T10:40:41 +12ms service=config path=/Users/Martin.Neudecker/.config/opencode/config.json loading
INFO 2026-04-07T10:40:41 +2ms service=config path=/Users/Martin.Neudecker/.config/opencode/opencode.json loading
INFO 2026-04-07T10:40:41 +0ms service=config path=/Users/Martin.Neudecker/.config/opencode/opencode.jsonc loading
Additional Context
I already tried forcing a re-install by deleting ~/.cache/opencode. I also tried deinstalling all other plugins, still the same.
Hello, this because the new changes introduced in opencode>=1.3.13 so you have two available options:
- upgrade opencode version to latest version if you can.
- pin the
opencode-ptyplugin to your config to the0.2.3versions like so["[email protected]"]this was last plugin patch before the new opencode versions.
Thanks for your quick response! With your information I figured out that I was not using the official anomalyco/tap/opencode homebrew formula but some other from Cellar which was behind several versions.
But still, even with opencode 1.3.17, the slash commands and tools are not available. I deleted the .cache/opencode folder to make sure the plugins are installed cleanly after the upgrade.
The ~/.cache/opencode/node_modules folder is also no longer there now, so how do I verify that opencode-pty is actually properly installed?
Any tips for troubleshooting?
I found the issue - sorry to have bothered you, turns out it was a opencodes fault: https://github.com/anomalyco/opencode/issues/21098
TLDR: OpenCode currently fails to install plugins behind a proxy; running no_proxy="registry.npmjs.org" opencode fixes this.