claude-memory-layer 1.0.43 → 1.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -489,7 +489,7 @@ claude-memory-layer dashboard --bind localhost --port 37777 --password "<local-p
489
489
  claude-memory-layer market-context --company 삼성전자 --dart-corp-code 00126380 --symbol 005930.KS --json
490
490
  ```
491
491
 
492
- MongoDB 동기화는 선택 기능입니다. 여러 서버에서 같은 프로젝트를 개발할 때, 각 서버의 로컬 SQLite 이벤트를 하나의 MongoDB로 모아 push/pull할 수 있습니다.
492
+ MongoDB 동기화는 선택 기능입니다. 여러 서버에서 같은 프로젝트를 개발할 때, 각 서버의 로컬 SQLite 이벤트를 하나의 MongoDB로 모아 push/pull할 수 있습니다. Pull된 이벤트를 바로 semantic search/context-pack에서 쓰고 싶다면 `--process-after-sync`를 함께 켜서 새 이벤트가 내려온 뒤 pending embedding/vector outbox를 처리하세요.
493
493
 
494
494
  ```bash
495
495
  export CLAUDE_MEMORY_MONGO_URI="mongodb://USER:***@HOST:PORT/"
@@ -497,8 +497,11 @@ export CLAUDE_MEMORY_MONGO_DB="claude_memory_layer"
497
497
  export CLAUDE_MEMORY_MONGO_PROJECT="my-project"
498
498
  claude-memory-layer mongo-sync
499
499
  claude-memory-layer mongo-sync --watch --interval 30000
500
+ claude-memory-layer mongo-sync --watch --interval 30000 --process-after-sync --process-interval 120000
500
501
  ```
501
502
 
503
+ `--process-after-sync`는 pull된 이벤트가 있을 때만 실행되며, `--process-interval` 동안 debounce되어 매 sync tick마다 불필요하게 임베딩을 재처리하지 않습니다. 내부적으로 project-scoped `vector-worker.lock`을 사용하므로 별도 `process` worker가 이미 실행 중이면 skip합니다.
504
+
502
505
  ### memU-inspired Retrieval 사용 예시
503
506
 
504
507
  아래 예시는 SDK/서비스 레벨에서 `retrieveMemories()` 호출 시 적용되는 옵션입니다.