github Gentleman-Programming/engram v1.10.0

latest releases: v1.20.0, v1.19.0, pi-v0.1.10...
5 months ago

What's Changed

Auto-detect project name from git remote (#70)

Project names are now resolved from git remote get-url origin instead of basename(cwd). This fixes project name mismatches in monorepos, custom folder names, and worktree setups.

Detection priority:

  1. Git remote origin → extract repo name (SSH + HTTPS)
  2. Git root directory name (worktree-safe)
  3. CWD basename (fallback, previous behavior)

Automatic migration: On first session start, if the new name differs from the old basename, existing memories are migrated in a single atomic transaction. Idempotent — safe to run multiple times.

Affected components:

  • Claude Code hooks (session-start.sh, subagent-stop.sh, post-compaction.sh)
  • OpenCode plugin (engram.ts)
  • New POST /projects/migrate HTTP endpoint
  • Shared _helpers.sh with detect_project() function

Full Changelog: v1.9.9...v1.10.0

Don't miss a new engram release

NewReleases is sending notifications on new releases.