[Bug]: The plugin cannot be installed to opencode v2
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 65/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- bun, typescript
Research direction
The issue is about a plugin installation failure in OpenCode v2. Start by examining the opencode.json configuration and the error log indicating an npm install failure. Look at the plugin's installation script or package.json to see how it integrates with OpenCode v2. Check if there are existing tests for plugin installation or any recent changes to the OpenCode v2 plugin system.
Written by the indexing model from the issue text.
Description
Expected Behavior
The plugin is installed to opencode v2 successfully.
Actual Behavior
I add the plugin to opencode.json and it told me the installation failed. Check the log below.
Environment
- OS: Windows 11
- OpenCode Version: 2.0.14
- Plugin Version: latest
OpenCode Configuration
opencode.json (sanitized)
{
"$schema": "https://opencode.ai/config.json",
"mcp": {...},
"plugins": ["superpowers@git+https://github.com/obra/superpowers.git", "opencode-pty/v2"]
}
Debug Logs
Click to expand debug logs
timestamp=2026-09-23T05:13:27.176Z level=WARN run=14923000 message="failed to load plugin" target=opencode-pty/v2 ref=err_294b60db cause="Cause([Fail(NpmInstallFailedError (cause: Error: An unknown git error occurred))])" http.span=454666 role=server
- Dominant language
- TypeScript
- Stars
- 594
- Forks
- 61
- Avg merge
- 13h 20m
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from shekohex/opencode-pty
-
[Bug]: exit notification delivery failures are silently swallowed — agent never wakes, no diagnosticOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
shekohex/opencode-pty#54 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
shekohex/opencode-pty#48 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 56/100
shekohex/opencode-pty#66 ·
-
[Feature]: Setting to have the web ui running even without /pty-... commandPossibly taken @kumar-shivang claimed this 16 days ago. Openenhancement
Difficulty 3/5 1-2 days Newbie friendliness 65/100
shekohex/opencode-pty#60 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
shekohex/opencode-pty#57 ·
All issues in shekohex/opencode-pty
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
solana-foundation/solana-com#2245 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
`document.cookie` with `max-age=0` does not delete the cookiePossibly taken @BartInTheField claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
capricorn86/happy-dom#2460 ·
Maintainers usually reply within 2 days