@streetturtle/opencode-recap
v2.0.0
Published
OpenCode TUI plugin - AI session recap in the sidebar
Maintainers
Readme
@streetturtle/opencode-recap
One-click Markdown session recap in the OpenCode sidebar.
- Click Recap to generate a short summary
- Stays in the sidebar (does not pollute the chat thread)
- Auto-clears after 3 new prompts to keep it fresh
Install
Requires OpenCode 2.0 or newer.
opencode plugin add @streetturtle/opencode-recapProject-only: add "@streetturtle/opencode-recap" to plugins in opencode.jsonc.
Usage
Open a session and click Recap in the sidebar.
What the plugin does internally:
- Uses the most recent 10 messages as recap context
- Reuses previous recap output for continuity
- Generates the recap with a one-off text generation request (no extra session is created)
Model selection
By default, recap uses the session's most recent assistant model.
You can override it by setting both providerID and modelID in the plugin options in opencode.jsonc:
{
"plugins": [
{
"package": "@streetturtle/opencode-recap",
"options": {
"providerID": "github-copilot",
"modelID": "gemini-3-flash-preview"
}
}
]
}Troubleshooting
ProviderModelNotFoundError: verify values withopencode modelsInvalid recap plugin config: set both fields or neitherduplicate tui plugin id: configure recap only once
