Skip to content

v1.10.0

Choose a tag to compare

@Alan-TheGentleman Alan-TheGentleman released this 13 Mar 22:30

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