Repository navigation
v1.3.3
v1.3.3 - Bug Fixes & OpenCode SQLite Support
β¨ What's New
This release fixes two community-reported issues and adds support for OpenCode 1.2.0+'s new SQLite format.
π Fixed
mnemo add documents not appearing in search (#1)
- Problem: Documents indexed via
mnemo addweren't visible in search results - Root cause: Only messages were inserted without session records, causing
SearchGrouped()to skip results - Solution: Create session records for each indexed document
- Reported by: @markerikson (Redux maintainer!)
OpenCode 1.2.0+ SQLite format support (#2)
- Problem: OpenCode 1.2.0 migrated from JSON to SQLite, breaking mnemo indexing
- Solution: Added dual-format support with auto-detection
- Reported by: @slkiser
π Added
- OpenCode SQLite reader: Reads sessions from
~/.local/share/opencode/opencode.db - Automatic format detection: Checks SQLite first, falls back to JSON
- Transaction support:
mnemo addnow uses atomic transactions - Session-per-document: Each indexed file gets its own session
π¦ Dependencies
- Added
github.com/mattn/go-sqlite3v1.14.34
π Upgrading
# Via Homebrew
brew upgrade mnemo
# Or build from source
git clone https://github.com/Pilan-AI/mnemo.git
cd mnemo
go buildπ Full Changelog
See CHANGELOG.md for complete details.
Full commit history: v1.3.2...v1.3.3