Skip to content

v1.3.1: Fix context injection hook

Choose a tag to compare

@0xRaghu 0xRaghu released this 09 Feb 19:41
· 25 commits to main since this release

Fixed

  • Context injection not working: mnemo inject now reads the user prompt from stdin JSON (Claude Code hook protocol) instead of the non-existent CLAUDE_USER_PROMPT env var
  • Inject command hanging: Added read-only DB init (InitReadOnly) so inject doesn't block on write locks held by mnemo serve processes — reduced from timeout to ~0.8s
  • Headless mode: Added IsHeadless() with --non-interactive flag, CI/MNEMO_HEADLESS env vars, and stdin TTY detection for CI/CD environments
  • Raycast scripts: Use absolute mnemoPath directly 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.1

Full Changelog: v1.3.0...v1.3.1