@mingxy/cerebro 1.8.0 → 1.8.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/hooks.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mingxy/cerebro",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "Cerebro persistent memory plugin for OpenCode — auto-recall, auto-capture, 9 memory tools with clustering",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
package/src/hooks.ts CHANGED
@@ -201,7 +201,7 @@ export function autoRecallHook(client: OmemClient, containerTags: string[], tui:
201
201
  newIds,
202
202
  "auto",
203
203
  query_text,
204
- shouldRecallRes?.similarity_score,
204
+ shouldRecallRes?.memories?.[0]?.score,
205
205
  shouldRecallRes?.confidence,
206
206
  );
207
207