opencode-v0.2.2

mem0ai/mem0opencode-v0.2.2Jul 22, 2026by kartik-mem0

AI Summary

Fixes API key recovery in the OpenCode plugin by reading from shell profiles when environment variables are missing.

Key Highlights

  • API key recovery from shell profiles (.zshrc, .bashrc, etc.)
  • Fixes startup failures on clients launching without shell-exported variables

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.