Repository navigation
v1.3.1: Fix context injection hook
Fixed
- Context injection not working:
mnemo injectnow reads the user prompt from stdin JSON (Claude Code hook protocol) instead of the non-existentCLAUDE_USER_PROMPTenv var - Inject command hanging: Added read-only DB init (
InitReadOnly) so inject doesn't block on write locks held bymnemo serveprocesses — reduced from timeout to ~0.8s - Headless mode: Added
IsHeadless()with--non-interactiveflag,CI/MNEMO_HEADLESSenv vars, and stdin TTY detection for CI/CD environments - Raycast scripts: Use absolute
mnemoPathdirectly instead of PATH export workaround - Consolidated multiple
bufio.NewReader(os.Stdin)into single reader in onboarding - Fixed Go convention: tabs not spaces in
root.go
Upgrade
brew upgrade mnemo
# or
go install github.com/Pilan-AI/mnemo@v1.3.1Full Changelog: v1.3.0...v1.3.1