Skip to content

docs(readme): add troubleshooting entry for stale plugin cache auth failure#134

Open
JiwaniZakir wants to merge 1 commit intogriffinmartin:mainfrom
JiwaniZakir:fix/130-you-can-remove-the-cache-of-opencode-if
Open

docs(readme): add troubleshooting entry for stale plugin cache auth failure#134
JiwaniZakir wants to merge 1 commit intogriffinmartin:mainfrom
JiwaniZakir:fix/130-you-can-remove-the-cache-of-opencode-if

Conversation

@JiwaniZakir
Copy link
Copy Markdown

Closes #130

Adds a troubleshooting entry to README.md (line 106) for the case where the plugin is configured in opencode.json but authentication still fails due to a stale plugin cache — the fix is to run rm -rf ~/.cache/opencode and restart OpenCode, which triggers a fresh plugin reinstall.

Modified files:

  • README.md — new row in the troubleshooting table documenting the cache-clearing workaround

Verified manually by following the steps in the issue: adding the plugin, observing missing "anthropic": {} in ~/.local/share/opencode/auth.json, clearing the cache, restarting OpenCode, and confirming auth resolved after plugin reinstall.


This PR was created with AI assistance (Claude). The changes were reviewed by quality gates and a critic model before submission.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@griffinmartin griffinmartin changed the title Fix #130: You can remove the cache of Opencode if you add this plugin... docs(readme): Fix #130: You can remove the cache of Opencode if you add this plugin... Apr 4, 2026
@griffinmartin griffinmartin changed the title docs(readme): Fix #130: You can remove the cache of Opencode if you add this plugin... docs(readme): add troubleshooting entry for stale plugin cache auth failure Apr 4, 2026
@griffinmartin
Copy link
Copy Markdown
Owner

The lint check is failing — you can fix the README formatting by running:

pnpm run lint:fix

or just the formatter:

pnpm run format

Then commit the result and push.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

You can remove the cache of Opencode if you add this plugin in opencode.json but it doesn't work

2 participants