@streetturtle/opencode-recap
v1.0.5
Published
OpenCode TUI plugin - AI session recap in the sidebar
Downloads
371
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
opencode plugin @streetturtle/opencode-recapGlobal install:
opencode plugin --global @streetturtle/opencode-recapUsage
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
- Creates a short-lived throwaway session for generation
- Deletes the throwaway session after completion
Model selection
By default, recap uses the session's most recent assistant model.
You can override it by setting both providerID and modelID in tui.json:
{
"plugin": [
["@streetturtle/opencode-recap", {
"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
