Skip to content

v1.7.1 — Setup Command & Hook Fix

Choose a tag to compare

@mkdelta221 mkdelta221 released this 29 Jan 10:18
· 56 commits to main since this release

What's New

Setup Command

  • npx claude-cortex setup — Injects proactive memory instructions into ~/.claude/CLAUDE.md so Claude uses memory tools consistently across all projects. Idempotent (safe to run multiple times).

Hook Subcommand (fixes #1)

  • npx claude-cortex hook pre-compact — Run pre-compact hook
  • npx claude-cortex hook session-start — Run session-start hook
  • Fixed documentation that referenced non-existent claude-cortex-hook npm package

Updated Hook Configuration

{
  "hooks": {
    "PreCompact": [
      {
        "matcher": "",
        "hooks": [{ "type": "command", "command": "npx -y claude-cortex hook pre-compact", "timeout": 10 }]
      }
    ],
    "SessionStart": [
      {
        "matcher": "",
        "hooks": [{ "type": "command", "command": "npx -y claude-cortex hook session-start", "timeout": 5 }]
      }
    ]
  }
}