Skip to content

ErebusEnigma/context-memory

v1.1.0 Breaking

This release includes breaking changes for platform teams planning a safe upgrade.

Published 3mo Relational Databases
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

claude-code claude-code-plugin context full-text-search memory plugin
+1 more
sqlite

Summary

AI summary

MCP server added with FastMCP stdio transport and auto‑save transcript parsing enhancements.

Full changelog

Highlights

  • MCP server — new mcp_server.py exposes context_search, context_save, context_stats, and context_init tools via FastMCP stdio transport (requires Python >= 3.10)
  • Auto-save transcript parsing — stop hook now reads Claude Code's stdin JSON payload and parses JSONL transcripts for rich session data
  • 14 bug fixes — recursive trigger, N+1 queries, dead code, Windows path issues, and more
  • Cross-platform stop hook — works on Windows CMD/PowerShell and Unix shells
  • Install/uninstall improvements--force uninstall flag, automatic MCP server registration
  • 72 new tests across auto-save, MCP server, install, and uninstall modules

What's Changed

Added

  • MCP server with .mcp.json project-level config
  • install_mcp() / uninstall_mcp() for automatic MCP server registration
  • --force uninstall flag for modified command files
  • Auto-save: read_hook_input(), parse_transcript(), build_brief() functions
  • Loop prevention via stop_hook_active flag
  • 72 new tests (auto-save 26, MCP server 19, install 16, uninstall 11)

Fixed

  • Recursive sessions_updated trigger (schema migration v3)
  • N+1 queries in search_tier1 and search_tier2 — replaced with batch WHERE IN
  • save_topics() miscounting inserted topics
  • save_messages() incorrect message_count when appending
  • Missing encoding='utf-8' on file open
  • verify_schema() crash on missing database
  • Silent except Exception: pass replaced with traceback.print_exc()
  • Test environment variable leak
  • Windows ~ expansion in stop hook paths
  • Hook matching backslash normalization on Windows
  • install_mcp() writes directly instead of shelling out to claude mcp add

Changed

  • Auto-save reads real stdin payload instead of generating synthetic IDs
  • Auto-save parses JSONL transcript (head+tail sampling for large sessions)
  • Removed dead escape_fts_query() function
  • Removed redundant FTS index rebuild after pruning
  • get_stats() validates table names against VALID_TABLES
  • Added mcp to CI dependencies

Full Changelog: https://github.com/ErebusEnigma/context-memory/compare/v1.0.7...v1.1.0

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track ErebusEnigma/context-memory

Get notified when new releases ship.

Sign up free

About ErebusEnigma/context-memory

Persistent, searchable context storage across Claude Code sessions using SQLite FTS5. Save sessions with AI-generated summaries, two-tier full-text search, checkpoint recovery, and a web dashboard.

All releases →

Beta — feedback welcome: [email protected]