@traqr/memory 0.2.27 → 0.2.28
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/package.json +1 -1
- package/setup.sql +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@traqr/memory",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.28",
|
|
4
4
|
"description": "Persistent memory for AI agents. Multi-strategy retrieval (semantic + BM25 + RRF), 3-zone cosine triage, type-aware lifecycle, entity canonicalization. Postgres + pgvector.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
package/setup.sql
CHANGED
|
@@ -951,13 +951,13 @@ CREATE OR REPLACE FUNCTION count_entity_mentions(
|
|
|
951
951
|
)
|
|
952
952
|
RETURNS INTEGER
|
|
953
953
|
LANGUAGE plpgsql
|
|
954
|
-
SET search_path =
|
|
954
|
+
SET search_path = ''
|
|
955
955
|
AS $$
|
|
956
956
|
DECLARE
|
|
957
957
|
mention_count INTEGER;
|
|
958
958
|
BEGIN
|
|
959
959
|
SELECT COUNT(*) INTO mention_count
|
|
960
|
-
FROM traqr_memories m
|
|
960
|
+
FROM public.traqr_memories m
|
|
961
961
|
WHERE m.user_id = p_user_id
|
|
962
962
|
AND m.is_archived = FALSE
|
|
963
963
|
AND m.is_forgotten = FALSE
|