Skip to content

v0.4.3 — Multi-Strategy Session Detection

Choose a tag to compare

@junaidtitan junaidtitan released this 11 Feb 12:00
· 577 commits to main since this release

What's New

Session Detection (v0.4.3)

  • Multi-strategy session detection — resolves the correct session even when multiple Claude Code instances run in parallel. Uses PID matching, CWD matching, and recency as fallback layers.

Reload Fix (v0.4.2)

  • Fixed reload — uses session slug for project directory resolution and passes exact session ID to --resume, eliminating "No conversations found" errors.

Init & Slash Command (v0.4.0)

  • cozempic init — one command to wire everything: guard daemon auto-start, checkpoint hooks, and /cozempic slash command
  • Interactive /cozempic menu — diagnose, treat & reload, treat only, or guard mode from inside any Claude Code session
  • SessionStart hook — guard daemon auto-starts as a background process when Claude Code opens
  • Slash command auto-update — cozempic init updates the command if a newer version is bundled

Guard v3 — Tiered Pruning (v0.3.x)

  • Tiered thresholds — soft threshold (gentle prune, no reload) + hard threshold (full prune + optional reload)
  • Continuous checkpoint — team state saved to disk every N seconds, always recoverable
  • Config.json ground truth — reads ~/.claude/teams/*/config.json for authoritative team state
  • Hook-driven checkpoint — fires on Task spawn, TaskCreate/Update, PreCompact, and Stop
  • cozempic checkpoint — instant team state snapshot without pruning

Core (v0.1.0 — v0.2.x)

  • 13 composable pruning strategies across 3 prescriptions (gentle/standard/aggressive)
  • Dry-run by default, automatic backups on execute
  • cozempic reload — treat + auto-resume in new terminal
  • cozempic doctor — health checks for known Claude Code issues
  • Agent Teams protection — team messages never pruned during guard or checkpoint

Install

pip install cozempic

Zero Dependencies

Python 3.10+ stdlib only. No external packages required.