github thedotmack/claude-mem v9.0.0
v9.0.0 - Live Context System

latest release: v9.0.1
2 days ago

🚀 Live Context System

Version 9.0.0 introduces the Live Context System - a major new capability that provides folder-level activity context through auto-generated CLAUDE.md files.

✨ New Features

Live Context System

  • Folder CLAUDE.md Files: Each directory now gets an auto-generated CLAUDE.md file containing a chronological timeline of recent development activity
  • Activity Timelines: Tables show observation ID, time, type, title, and estimated token cost for relevant work in each folder
  • Worktree Support: Proper detection of git worktrees with project-aware filtering to show only relevant observations per worktree
  • Configurable Limits: Control observation count via CLAUDE_MEM_CONTEXT_OBSERVATIONS setting

Modular Architecture Refactor

  • Service Layer Decomposition: Major refactoring from monolithic worker-service to modular domain services
  • SQLite Module Extraction: Database operations split into dedicated modules (observations, sessions, summaries, prompts, timeline)
  • Context Builder System: New modular context generation with TimelineRenderer, FooterRenderer, and ObservationCompiler
  • Error Handler Centralization: Unified Express error handling via ErrorHandler module

SDK Agent Improvements

  • Session Resume: Memory sessions can now resume across Claude conversations using SDK session IDs
  • Memory Session ID Tracking: Proper separation of content session IDs from memory session IDs
  • Response Processor Refactor: Cleaner message handling and observation extraction

🔧 Improvements

Windows Stability

  • Fixed Windows PowerShell variable escaping in hook execution
  • Improved IPC detection for Windows managed mode
  • Better PATH handling for Bun and uv on Windows

Settings & Configuration

  • Auto-Creation: Settings file automatically created with defaults on first run
  • Worker Host Configuration: CLAUDE_MEM_WORKER_HOST setting for custom worker endpoints
  • Settings validation with helpful error messages

MCP Tools

  • Standardized naming: "MCP tools" terminology instead of "mem-search skill"
  • Improved tool descriptions for better Claude integration
  • Context injection API now supports worktree parameter

📚 Documentation

  • New Folder Context Files documentation page
  • Worktree Support section explaining git worktree behavior
  • Updated architecture documentation reflecting modular refactor
  • v9.0 release notes in introduction page

🐛 Bug Fixes

  • Fixed stale session resume crash when SDK session is orphaned
  • Fixed logger serialization bug causing silent ChromaSync failures
  • Fixed CLAUDE.md path resolution in worktree environments
  • Fixed date preservation in folder timeline generation
  • Fixed foreign key constraint issues in observation storage
  • Resolved multiple TypeScript type errors across codebase

🗑️ Removed

  • Deprecated context-generator.ts (functionality moved to modular system)
  • Obsolete queue analysis documents
  • Legacy worker wrapper scripts

Full Changelog: v8.5.10...v9.0.0

🤖 Generated with Claude Code

Don't miss a new claude-mem release

NewReleases is sending notifications on new releases.