Sidebar recap plugin for OpenCode.
- Click Recap to generate a short Markdown summary
- Renders in the sidebar (not the chat thread)
- Auto-clears after 3 new prompts
opencode plugin @streetturtle/opencode-recapGlobal install:
opencode plugin --global @streetturtle/opencode-recapRestart OpenCode after install.
Open a session and click Recap in the sidebar.
- Uses recent context (last 10 messages)
- Reuses previous recap for continuity
- Default model: the session's recent assistant model
Set both providerID and modelID in tui.json:
{
"plugin": [
["@streetturtle/opencode-recap", {
"providerID": "github-copilot",
"modelID": "gemini-3-flash-preview"
}]
]
}ProviderModelNotFoundError: verify values withopencode modelsInvalid recap plugin config: set both fields or neitherduplicate tui plugin id: configure recap in only onetui.json
- OpenCode 1.4.3+
- Any configured AI provider
