opencode-v0.2.2

pq-yang/MatAnyone2opencode-v0.2.2Jul 22, 2026by kartik-mem0

AI Summary

Fixes Shell-profile API key recovery to allow the plugin to function when environment variables are not set in the process.

Key Highlights

  • Shell-profile API key recovery from config files
  • Fixes startup failures on clients without shell-exported variables

New Features

  • Fallback to reading API key from `.zshrc`, `.bashrc`, etc.

Full Release Notes

**Fixes:**
- **Shell-profile API key recovery:** When `MEM0_API_KEY` isn't set in the process environment, the plugin now falls back to reading it from `.zshrc`, `.bashrc`, `.zprofile`, `.bash_profile`, or `.profile`, fixing startup failures on clients (e.g. Desktop) that launch without shell-exported environment variables.