Skip to content

v1.3.3

Choose a tag to compare

@0xRaghu 0xRaghu released this 18 Feb 07:01
· 16 commits to main since this release

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 add weren'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 add now uses atomic transactions
  • Session-per-document: Each indexed file gets its own session

πŸ“¦ Dependencies

  • Added github.com/mattn/go-sqlite3 v1.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