From eea4f599c0c54eb8d7dcc0d81a9364f2302fd1e6 Mon Sep 17 00:00:00 2001 From: Alex Newman Date: Mon, 16 Feb 2026 19:55:51 -0500 Subject: [PATCH] docs: update CHANGELOG.md for v10.2.3 Co-Authored-By: Claude Opus 4.6 --- CHANGELOG.md | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 624ac24c..3d5b61f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,25 @@ All notable changes to claude-mem. +## [v10.2.3] - 2026-02-17 + +## Fix Chroma ONNX Model Cache Corruption + +Addresses the persistent embedding pipeline failures reported across #1104, #1105, #1110, and subsequent sessions. Three root causes identified and fixed: + +### Changes + +- **Removed nuclear `bun pm cache rm`** from both `smart-install.js` and `sync-marketplace.cjs`. This was added in v10.2.2 for the now-removed sharp dependency but destroyed all cached packages, breaking the ONNX resolution chain. +- **Added `bun install` in plugin cache directory** after marketplace sync. The cache directory had a `package.json` with `@chroma-core/default-embed` as a dependency but never ran install, so the worker couldn't resolve it at runtime. +- **Moved HuggingFace model cache to `~/.claude-mem/models/`** outside `node_modules`. The ~23MB ONNX model was stored inside `node_modules/@huggingface/transformers/.cache/`, so any reinstall or cache clear corrupted it. +- **Added self-healing retry** for Protobuf parsing failures. If the downloaded model is corrupted, the cache is cleared and re-downloaded automatically on next use. + +### Files Changed + +- `scripts/smart-install.js` — removed `bun pm cache rm` +- `scripts/sync-marketplace.cjs` — removed `bun pm cache rm`, added `bun install` in cache dir +- `src/services/sync/ChromaSync.ts` — moved model cache, added corruption recovery + ## [v10.2.2] - 2026-02-17 ## Bug Fixes @@ -1400,11 +1419,3 @@ Full changelog: https://github.com/thedotmack/claude-mem/compare/v8.2.4...v8.2.5 Patch release v8.2.4 -## [v8.2.3] - 2025-12-27 - -## Bug Fixes - -- Fix worker port environment variable in smart-install script -- Implement file-based locking mechanism for worker operations to prevent race conditions -- Fix restart command references in documentation (changed from `claude-mem restart` to `npm run worker:restart`) -