v1.1.1
Changes
- Cross-platform fix: Replace sqlite3 CLI with OpenCode SDK API (
client.session.messages()andclient.session.todo()) — fixes Windows compatibility - Fix message scan order: API returns oldest-first, now scans backwards to find most recent message
- Fix token calculation: Include
cache.readin total, skip in-progress messages with zero tokens - Silent error handling: No
console.errorfor expected API failures
Installation
{ "plugin": ["opencode-working-memory@1.1.1"] }