@edihasaj/recall 2.0.20 → 2.0.23
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/dist/{chunk-ZINFGUPT.js → chunk-AAIF4YXK.js} +2 -2
- package/dist/{chunk-ZINFGUPT.js.map → chunk-AAIF4YXK.js.map} +1 -1
- package/dist/{chunk-2J7P4JCA.js → chunk-BA5EDDMA.js} +7 -7
- package/dist/{chunk-SM67AYMR.js → chunk-EVMHBGLQ.js} +2 -2
- package/dist/{chunk-IWXOFLQB.js → chunk-HMYYA7P7.js} +3 -3
- package/dist/{chunk-RQZX3NK6.js → chunk-IAXW72MC.js} +2 -2
- package/dist/{chunk-BHRWB3ZL.js → chunk-IO4A7L42.js} +2 -2
- package/dist/{chunk-3PJX2JM3.js → chunk-L6KDRRAK.js} +2 -2
- package/dist/{chunk-JQ6BGAKY.js → chunk-NWXX4VE5.js} +10 -10
- package/dist/{chunk-IG3RJVW6.js → chunk-QBX7Y4JN.js} +5 -5
- package/dist/{chunk-F4ZDS7LX.js → chunk-QCOMFWTC.js} +3 -3
- package/dist/{chunk-4K4XRRUF.js → chunk-QXSFG6KD.js} +3 -3
- package/dist/{chunk-ILTW2NT7.js → chunk-RKWHFHVG.js} +13 -13
- package/dist/{chunk-HIPM255H.js → chunk-RM77QXFB.js} +9 -9
- package/dist/{chunk-YI4LU255.js → chunk-RV3QNU7R.js} +42 -9
- package/dist/chunk-RV3QNU7R.js.map +1 -0
- package/dist/{chunk-GPVWGXYT.js → chunk-TTECA3UC.js} +7 -7
- package/dist/{chunk-MWQSZN2U.js → chunk-UQV4JE22.js} +9 -9
- package/dist/{chunk-7R6DIYIN.js → chunk-WXBJLHDE.js} +5 -5
- package/dist/{chunk-TBV3UXKA.js → chunk-ZW2R6UQY.js} +2 -2
- package/dist/{cleanup-LHRMTVP4.js → cleanup-OF5PKWLR.js} +11 -11
- package/dist/cli.js +90 -47
- package/dist/cli.js.map +1 -1
- package/dist/{codex-trust-56LQPLU6.js → codex-trust-MCMM3WCO.js} +4 -4
- package/dist/daemon.js +91 -40
- package/dist/daemon.js.map +1 -1
- package/dist/dispatcher-P42FOXCG.js +22 -0
- package/dist/{embeddings-6U7GLCQ2.js → embeddings-S2SYWRVA.js} +5 -5
- package/dist/ingest-FCXXP7ZM.js +20 -0
- package/dist/{keychain-W7OWYCIH.js → keychain-QJ7YXDLC.js} +3 -3
- package/dist/mcp.js +15 -15
- package/dist/{memory-value-EGPCVVXH.js → memory-value-QYIDDU2I.js} +11 -11
- package/dist/{provenance-PY3IQN6X.js → provenance-EWRNG6J2.js} +9 -9
- package/dist/quality-6ZA7ER2Z.js +25 -0
- package/dist/retrieval-I7DRA6IX.js +15 -0
- package/dist/{store-BABUV4HS.js → store-EGAZ7F6Q.js} +4 -4
- package/dist/sync-server.js +2 -2
- package/dist/{tasks-KVH7S4S2.js → tasks-XEWYGPMK.js} +11 -11
- package/dist/{usage-YYFVJZXK.js → usage-7KQR6ZGQ.js} +4 -4
- package/package.json +3 -3
- package/dist/chunk-YI4LU255.js.map +0 -1
- package/dist/dispatcher-CCDHNCAT.js +0 -22
- package/dist/ingest-KCMUKLWD.js +0 -20
- package/dist/quality-H3G6Y5L7.js +0 -25
- package/dist/retrieval-AMDGSFUP.js +0 -15
- /package/dist/{chunk-2J7P4JCA.js.map → chunk-BA5EDDMA.js.map} +0 -0
- /package/dist/{chunk-SM67AYMR.js.map → chunk-EVMHBGLQ.js.map} +0 -0
- /package/dist/{chunk-IWXOFLQB.js.map → chunk-HMYYA7P7.js.map} +0 -0
- /package/dist/{chunk-RQZX3NK6.js.map → chunk-IAXW72MC.js.map} +0 -0
- /package/dist/{chunk-BHRWB3ZL.js.map → chunk-IO4A7L42.js.map} +0 -0
- /package/dist/{chunk-3PJX2JM3.js.map → chunk-L6KDRRAK.js.map} +0 -0
- /package/dist/{chunk-JQ6BGAKY.js.map → chunk-NWXX4VE5.js.map} +0 -0
- /package/dist/{chunk-IG3RJVW6.js.map → chunk-QBX7Y4JN.js.map} +0 -0
- /package/dist/{chunk-F4ZDS7LX.js.map → chunk-QCOMFWTC.js.map} +0 -0
- /package/dist/{chunk-4K4XRRUF.js.map → chunk-QXSFG6KD.js.map} +0 -0
- /package/dist/{chunk-ILTW2NT7.js.map → chunk-RKWHFHVG.js.map} +0 -0
- /package/dist/{chunk-HIPM255H.js.map → chunk-RM77QXFB.js.map} +0 -0
- /package/dist/{chunk-GPVWGXYT.js.map → chunk-TTECA3UC.js.map} +0 -0
- /package/dist/{chunk-MWQSZN2U.js.map → chunk-UQV4JE22.js.map} +0 -0
- /package/dist/{chunk-7R6DIYIN.js.map → chunk-WXBJLHDE.js.map} +0 -0
- /package/dist/{chunk-TBV3UXKA.js.map → chunk-ZW2R6UQY.js.map} +0 -0
- /package/dist/{cleanup-LHRMTVP4.js.map → cleanup-OF5PKWLR.js.map} +0 -0
- /package/dist/{codex-trust-56LQPLU6.js.map → codex-trust-MCMM3WCO.js.map} +0 -0
- /package/dist/{dispatcher-CCDHNCAT.js.map → dispatcher-P42FOXCG.js.map} +0 -0
- /package/dist/{embeddings-6U7GLCQ2.js.map → embeddings-S2SYWRVA.js.map} +0 -0
- /package/dist/{ingest-KCMUKLWD.js.map → ingest-FCXXP7ZM.js.map} +0 -0
- /package/dist/{keychain-W7OWYCIH.js.map → keychain-QJ7YXDLC.js.map} +0 -0
- /package/dist/{memory-value-EGPCVVXH.js.map → memory-value-QYIDDU2I.js.map} +0 -0
- /package/dist/{provenance-PY3IQN6X.js.map → provenance-EWRNG6J2.js.map} +0 -0
- /package/dist/{quality-H3G6Y5L7.js.map → quality-6ZA7ER2Z.js.map} +0 -0
- /package/dist/{retrieval-AMDGSFUP.js.map → retrieval-I7DRA6IX.js.map} +0 -0
- /package/dist/{store-BABUV4HS.js.map → store-EGAZ7F6Q.js.map} +0 -0
- /package/dist/{tasks-KVH7S4S2.js.map → tasks-XEWYGPMK.js.map} +0 -0
- /package/dist/{usage-YYFVJZXK.js.map → usage-7KQR6ZGQ.js.map} +0 -0
|
@@ -28,7 +28,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
28
28
|
var define_RECALL_BUILD_INFO_default;
|
|
29
29
|
var init_define_RECALL_BUILD_INFO = __esm({
|
|
30
30
|
"<define:__RECALL_BUILD_INFO__>"() {
|
|
31
|
-
define_RECALL_BUILD_INFO_default = { sha: "
|
|
31
|
+
define_RECALL_BUILD_INFO_default = { sha: "eef79246f182f351086f03ef115c5b2c3d0aa247", built_at: "2026-12-04T19:50:41.806Z", dependencies: { "@huggingface/transformers": "4.3.1", "onnxruntime-node": "1.30.0", "better-sqlite3": "11.10.0", "sqlite-vec": "0.1.9", "@photostructure/sqlite-vec": "2.0.1" } };
|
|
32
32
|
}
|
|
33
33
|
});
|
|
34
34
|
|
|
@@ -39,4 +39,4 @@ export {
|
|
|
39
39
|
init_define_RECALL_BUILD_INFO,
|
|
40
40
|
define_RECALL_BUILD_INFO_default
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=chunk-
|
|
42
|
+
//# sourceMappingURL=chunk-AAIF4YXK.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["<define:__RECALL_BUILD_INFO__>"],"sourcesContent":["{\"sha\":\"
|
|
1
|
+
{"version":3,"sources":["<define:__RECALL_BUILD_INFO__>"],"sourcesContent":["{\"sha\":\"eef79246f182f351086f03ef115c5b2c3d0aa247\",\"built_at\":\"2026-12-04T19:50:41.806Z\",\"dependencies\":{\"@huggingface/transformers\":\"4.3.1\",\"onnxruntime-node\":\"1.30.0\",\"better-sqlite3\":\"11.10.0\",\"sqlite-vec\":\"0.1.9\",\"@photostructure/sqlite-vec\":\"2.0.1\"}}"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,yCAAC,KAAM,4CAA2C,UAAW,4BAA2B,cAAe,EAAC,6BAA4B,SAAQ,oBAAmB,UAAS,kBAAiB,WAAU,cAAa,SAAQ,8BAA6B,QAAO,EAAC;AAAA;AAAA;","names":[]}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
textMatchScore
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L6KDRRAK.js";
|
|
4
4
|
import {
|
|
5
5
|
getMemory,
|
|
6
6
|
promoteMemory,
|
|
7
7
|
queryMemories
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TTECA3UC.js";
|
|
9
9
|
import {
|
|
10
10
|
asc,
|
|
11
11
|
desc
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QXSFG6KD.js";
|
|
13
13
|
import {
|
|
14
14
|
cosineSimilarity,
|
|
15
15
|
generateEmbedding,
|
|
16
16
|
loadEmbedding,
|
|
17
17
|
loadEmbeddingConfigFromEnv
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RV3QNU7R.js";
|
|
19
19
|
import {
|
|
20
20
|
and,
|
|
21
21
|
eq,
|
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
memoryInjections,
|
|
27
27
|
memoryValueEvents,
|
|
28
28
|
sql
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ZW2R6UQY.js";
|
|
30
30
|
import {
|
|
31
31
|
init_define_RECALL_BUILD_INFO
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-AAIF4YXK.js";
|
|
33
33
|
|
|
34
34
|
// src/models/memory-value.ts
|
|
35
35
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -617,4 +617,4 @@ export {
|
|
|
617
617
|
detectAndRecordRetrievalMissesSemantic,
|
|
618
618
|
computeMemoryValueReport
|
|
619
619
|
};
|
|
620
|
-
//# sourceMappingURL=chunk-
|
|
620
|
+
//# sourceMappingURL=chunk-BA5EDDMA.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_define_RECALL_BUILD_INFO
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AAIF4YXK.js";
|
|
4
4
|
|
|
5
5
|
// src/security/object.ts
|
|
6
6
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -20,4 +20,4 @@ export {
|
|
|
20
20
|
defineOwn,
|
|
21
21
|
deleteOwn
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=chunk-
|
|
23
|
+
//# sourceMappingURL=chunk-EVMHBGLQ.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defineOwn,
|
|
3
3
|
deleteOwn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EVMHBGLQ.js";
|
|
5
5
|
import {
|
|
6
6
|
init_define_RECALL_BUILD_INFO
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AAIF4YXK.js";
|
|
8
8
|
|
|
9
9
|
// src/agents/codex.ts
|
|
10
10
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -591,4 +591,4 @@ export {
|
|
|
591
591
|
installCodexHooks,
|
|
592
592
|
uninstallCodexHooks
|
|
593
593
|
};
|
|
594
|
-
//# sourceMappingURL=chunk-
|
|
594
|
+
//# sourceMappingURL=chunk-HMYYA7P7.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
__esm,
|
|
3
3
|
__export,
|
|
4
4
|
init_define_RECALL_BUILD_INFO
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AAIF4YXK.js";
|
|
6
6
|
|
|
7
7
|
// src/security/outbound-url.ts
|
|
8
8
|
import { isIP } from "net";
|
|
@@ -306,4 +306,4 @@ export {
|
|
|
306
306
|
keychain_exports,
|
|
307
307
|
init_keychain
|
|
308
308
|
};
|
|
309
|
-
//# sourceMappingURL=chunk-
|
|
309
|
+
//# sourceMappingURL=chunk-IAXW72MC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_define_RECALL_BUILD_INFO
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AAIF4YXK.js";
|
|
4
4
|
|
|
5
5
|
// src/observability/sentry.ts
|
|
6
6
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -32,4 +32,4 @@ initSentry();
|
|
|
32
32
|
export {
|
|
33
33
|
Sentry
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=chunk-
|
|
35
|
+
//# sourceMappingURL=chunk-IO4A7L42.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_define_RECALL_BUILD_INFO
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AAIF4YXK.js";
|
|
4
4
|
|
|
5
5
|
// src/text/match.ts
|
|
6
6
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -116,4 +116,4 @@ export {
|
|
|
116
116
|
textMatchScore,
|
|
117
117
|
matchTokens
|
|
118
118
|
};
|
|
119
|
-
//# sourceMappingURL=chunk-
|
|
119
|
+
//# sourceMappingURL=chunk-L6KDRRAK.js.map
|
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
redactSensitiveText,
|
|
11
11
|
redactSensitiveValue,
|
|
12
12
|
seedScannedConfidence
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UQV4JE22.js";
|
|
14
14
|
import {
|
|
15
15
|
recordInjectionValueEvents,
|
|
16
16
|
recordMemoryInjections,
|
|
17
17
|
recordOutcomeValueEvent,
|
|
18
18
|
resolveMemoryInjectionOutcome
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BA5EDDMA.js";
|
|
20
20
|
import {
|
|
21
21
|
matchTokens,
|
|
22
22
|
textMatchScore
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-L6KDRRAK.js";
|
|
24
24
|
import {
|
|
25
25
|
activityEventDedupeKey,
|
|
26
26
|
confirmMemory,
|
|
@@ -41,11 +41,11 @@ import {
|
|
|
41
41
|
rejectMemory,
|
|
42
42
|
setMemoryNote,
|
|
43
43
|
statusFromConfidence
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-TTECA3UC.js";
|
|
45
45
|
import {
|
|
46
46
|
asc,
|
|
47
47
|
desc
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-QXSFG6KD.js";
|
|
49
49
|
import {
|
|
50
50
|
BACKGROUND_INDEX_BATCH_SIZE,
|
|
51
51
|
CONFIDENCE,
|
|
@@ -70,11 +70,11 @@ import {
|
|
|
70
70
|
resolveProvider,
|
|
71
71
|
retrievalText,
|
|
72
72
|
tagActivitySource
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-RV3QNU7R.js";
|
|
74
74
|
import {
|
|
75
75
|
hasProviderConfigured,
|
|
76
76
|
init_keychain
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-IAXW72MC.js";
|
|
78
78
|
import {
|
|
79
79
|
Column,
|
|
80
80
|
Columns,
|
|
@@ -139,10 +139,10 @@ import {
|
|
|
139
139
|
policyRules,
|
|
140
140
|
schema_exports,
|
|
141
141
|
sql
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-ZW2R6UQY.js";
|
|
143
143
|
import {
|
|
144
144
|
init_define_RECALL_BUILD_INFO
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-AAIF4YXK.js";
|
|
146
146
|
|
|
147
147
|
// src/cloud/query-lookup.ts
|
|
148
148
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -8600,4 +8600,4 @@ export {
|
|
|
8600
8600
|
pruneMemories,
|
|
8601
8601
|
formatPruneReport
|
|
8602
8602
|
};
|
|
8603
|
-
//# sourceMappingURL=chunk-
|
|
8603
|
+
//# sourceMappingURL=chunk-NWXX4VE5.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getMemory
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TTECA3UC.js";
|
|
4
4
|
import {
|
|
5
5
|
hybridSearch,
|
|
6
6
|
searchMemoryFtsIndex
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RV3QNU7R.js";
|
|
8
8
|
import {
|
|
9
9
|
listEntitiesForMemory,
|
|
10
10
|
listMemoryIdsForEntity,
|
|
11
11
|
neighborsOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QCOMFWTC.js";
|
|
13
13
|
import {
|
|
14
14
|
init_define_RECALL_BUILD_INFO
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AAIF4YXK.js";
|
|
16
16
|
|
|
17
17
|
// src/graph/retrieval.ts
|
|
18
18
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -124,4 +124,4 @@ async function graphQuery(db, query, embeddingConfig, options = {}) {
|
|
|
124
124
|
export {
|
|
125
125
|
graphQuery
|
|
126
126
|
};
|
|
127
|
-
//# sourceMappingURL=chunk-
|
|
127
|
+
//# sourceMappingURL=chunk-QBX7Y4JN.js.map
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
memoryEntities,
|
|
9
9
|
or,
|
|
10
10
|
sql
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZW2R6UQY.js";
|
|
12
12
|
import {
|
|
13
13
|
init_define_RECALL_BUILD_INFO
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AAIF4YXK.js";
|
|
15
15
|
|
|
16
16
|
// src/graph/store.ts
|
|
17
17
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -290,4 +290,4 @@ export {
|
|
|
290
290
|
countRelations,
|
|
291
291
|
clearGraph
|
|
292
292
|
};
|
|
293
|
-
//# sourceMappingURL=chunk-
|
|
293
|
+
//# sourceMappingURL=chunk-QCOMFWTC.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sql
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZW2R6UQY.js";
|
|
4
4
|
import {
|
|
5
5
|
init_define_RECALL_BUILD_INFO
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AAIF4YXK.js";
|
|
7
7
|
|
|
8
8
|
// node_modules/drizzle-orm/sql/expressions/select.js
|
|
9
9
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
asc,
|
|
19
19
|
desc
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=chunk-
|
|
21
|
+
//# sourceMappingURL=chunk-QXSFG6KD.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
hasCommand,
|
|
4
4
|
resolveCodexHomes,
|
|
5
5
|
resolveUserHomeDir
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HMYYA7P7.js";
|
|
7
7
|
import {
|
|
8
8
|
RECALL_DB_USER_VERSION,
|
|
9
9
|
captureCorrectionFallback,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
resolveLocalRepoPath,
|
|
22
22
|
signalOutcomeFallback,
|
|
23
23
|
startSessionLifecycle
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NWXX4VE5.js";
|
|
25
25
|
import {
|
|
26
26
|
detectCorrections,
|
|
27
27
|
isAutomatedCodexThread,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
isWorkspaceRootAlias,
|
|
31
31
|
peekTasks,
|
|
32
32
|
redactSensitiveText
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-UQV4JE22.js";
|
|
34
34
|
import {
|
|
35
35
|
detectAndRecordRetrievalMissesSemantic,
|
|
36
36
|
listInjectedMemoryIdsForSession,
|
|
@@ -38,10 +38,10 @@ import {
|
|
|
38
38
|
pathMatchesMemory,
|
|
39
39
|
recordCompletionUseValueEventsSemantic,
|
|
40
40
|
toolCallTouchesMemory
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-BA5EDDMA.js";
|
|
42
42
|
import {
|
|
43
43
|
textMatches
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-L6KDRRAK.js";
|
|
45
45
|
import {
|
|
46
46
|
appendEvidence,
|
|
47
47
|
createMemory,
|
|
@@ -50,24 +50,24 @@ import {
|
|
|
50
50
|
queryMemories,
|
|
51
51
|
recordAudit,
|
|
52
52
|
rejectMemory
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-TTECA3UC.js";
|
|
54
54
|
import {
|
|
55
55
|
desc
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-QXSFG6KD.js";
|
|
57
57
|
import {
|
|
58
58
|
defineOwn,
|
|
59
59
|
deleteOwn
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-EVMHBGLQ.js";
|
|
61
61
|
import {
|
|
62
62
|
atomicWriteUtf8File,
|
|
63
63
|
getEmbeddingModelInfo,
|
|
64
64
|
readUtf8FileIfExists,
|
|
65
65
|
tagActivitySource
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-RV3QNU7R.js";
|
|
67
67
|
import {
|
|
68
68
|
init_keychain,
|
|
69
69
|
keychain_exports
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-IAXW72MC.js";
|
|
71
71
|
import {
|
|
72
72
|
activityEvents,
|
|
73
73
|
and,
|
|
@@ -81,11 +81,11 @@ import {
|
|
|
81
81
|
memoryValueEvents,
|
|
82
82
|
ne,
|
|
83
83
|
sql
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-ZW2R6UQY.js";
|
|
85
85
|
import {
|
|
86
86
|
__toCommonJS,
|
|
87
87
|
init_define_RECALL_BUILD_INFO
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-AAIF4YXK.js";
|
|
89
89
|
|
|
90
90
|
// src/adapters/markdown.ts
|
|
91
91
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -4515,4 +4515,4 @@ export {
|
|
|
4515
4515
|
getDoctorReport,
|
|
4516
4516
|
formatDoctorReport
|
|
4517
4517
|
};
|
|
4518
|
-
//# sourceMappingURL=chunk-
|
|
4518
|
+
//# sourceMappingURL=chunk-RKWHFHVG.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
graphQuery
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QBX7Y4JN.js";
|
|
4
4
|
import {
|
|
5
5
|
captureCorrectionFallback,
|
|
6
6
|
compileContext,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
scanAndStore,
|
|
27
27
|
sessionEndFallback,
|
|
28
28
|
signalOutcomeFallback
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-NWXX4VE5.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_LEASE_SECONDS,
|
|
32
32
|
TaskClaimConflictError,
|
|
@@ -42,10 +42,10 @@ import {
|
|
|
42
42
|
processReviewFeedback,
|
|
43
43
|
releaseTask,
|
|
44
44
|
submitTask
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-UQV4JE22.js";
|
|
46
46
|
import {
|
|
47
47
|
recordCompletionUseValueEventsSemantic
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-BA5EDDMA.js";
|
|
49
49
|
import {
|
|
50
50
|
confirmMemory,
|
|
51
51
|
demoteGlobalMemory,
|
|
@@ -58,20 +58,20 @@ import {
|
|
|
58
58
|
recordAudit,
|
|
59
59
|
rejectMemory,
|
|
60
60
|
rollbackMemory
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-TTECA3UC.js";
|
|
62
62
|
import {
|
|
63
63
|
loadEmbeddingConfigFromEnv,
|
|
64
64
|
tagActivitySource
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-RV3QNU7R.js";
|
|
66
66
|
import {
|
|
67
67
|
getEntity,
|
|
68
68
|
listEntities,
|
|
69
69
|
listMemoryIdsForEntity,
|
|
70
70
|
neighborsOf
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-QCOMFWTC.js";
|
|
72
72
|
import {
|
|
73
73
|
init_define_RECALL_BUILD_INFO
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-AAIF4YXK.js";
|
|
75
75
|
|
|
76
76
|
// src/mcp/factory.ts
|
|
77
77
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -1561,4 +1561,4 @@ function createRecallMcpServer(db = initDb()) {
|
|
|
1561
1561
|
export {
|
|
1562
1562
|
createRecallMcpServer
|
|
1563
1563
|
};
|
|
1564
|
-
//# sourceMappingURL=chunk-
|
|
1564
|
+
//# sourceMappingURL=chunk-RM77QXFB.js.map
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
getProviderConfig,
|
|
3
3
|
hasProviderConfigured,
|
|
4
4
|
init_keychain
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IAXW72MC.js";
|
|
6
6
|
import {
|
|
7
7
|
eq,
|
|
8
8
|
inArray,
|
|
9
9
|
llmUsage,
|
|
10
10
|
memories,
|
|
11
11
|
memoryEmbeddings
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZW2R6UQY.js";
|
|
13
13
|
import {
|
|
14
14
|
init_define_RECALL_BUILD_INFO
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AAIF4YXK.js";
|
|
16
16
|
|
|
17
17
|
// src/embeddings/embeddings.ts
|
|
18
18
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -599,6 +599,32 @@ function configureTransformersCache() {
|
|
|
599
599
|
return cacheDir;
|
|
600
600
|
}
|
|
601
601
|
|
|
602
|
+
// src/embeddings/onnx-session.ts
|
|
603
|
+
init_define_RECALL_BUILD_INFO();
|
|
604
|
+
import { availableParallelism } from "os";
|
|
605
|
+
var DEFAULT_ONNX_THREADS = 1;
|
|
606
|
+
function onnxIntraOpThreads(env2 = process.env, cores = availableParallelism()) {
|
|
607
|
+
const available = Math.max(1, Math.floor(cores) || 1);
|
|
608
|
+
const raw = env2.RECALL_ONNX_THREADS?.trim();
|
|
609
|
+
if (raw && /^\d+$/.test(raw)) {
|
|
610
|
+
const requested = Number.parseInt(raw, 10);
|
|
611
|
+
if (requested >= 1) return Math.min(requested, available);
|
|
612
|
+
}
|
|
613
|
+
return Math.min(DEFAULT_ONNX_THREADS, available);
|
|
614
|
+
}
|
|
615
|
+
function onnxSessionOptions(env2 = process.env, cores = availableParallelism()) {
|
|
616
|
+
return {
|
|
617
|
+
intraOpNumThreads: onnxIntraOpThreads(env2, cores),
|
|
618
|
+
interOpNumThreads: 1,
|
|
619
|
+
extra: {
|
|
620
|
+
session: {
|
|
621
|
+
intra_op: { allow_spinning: "0" },
|
|
622
|
+
inter_op: { allow_spinning: "0" }
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
};
|
|
626
|
+
}
|
|
627
|
+
|
|
602
628
|
// src/embeddings/providers/all-minilm-l6-v2.ts
|
|
603
629
|
var MINILM_MODEL = "Xenova/all-MiniLM-L6-v2";
|
|
604
630
|
var MINILM_DIMENSIONS = 384;
|
|
@@ -624,7 +650,8 @@ async function getExtractor(config) {
|
|
|
624
650
|
});
|
|
625
651
|
extractorPromise ??= pipeline("feature-extraction", getModel(config), {
|
|
626
652
|
cache_dir: cacheDir,
|
|
627
|
-
dtype: "q8"
|
|
653
|
+
dtype: "q8",
|
|
654
|
+
session_options: onnxSessionOptions()
|
|
628
655
|
});
|
|
629
656
|
return extractorPromise;
|
|
630
657
|
}
|
|
@@ -705,7 +732,8 @@ async function getExtractor2(config) {
|
|
|
705
732
|
});
|
|
706
733
|
extractorPromise2 ??= pipeline2("feature-extraction", getModel2(config), {
|
|
707
734
|
cache_dir: cacheDir,
|
|
708
|
-
dtype: "q8"
|
|
735
|
+
dtype: "q8",
|
|
736
|
+
session_options: onnxSessionOptions()
|
|
709
737
|
});
|
|
710
738
|
return extractorPromise2;
|
|
711
739
|
}
|
|
@@ -794,7 +822,8 @@ async function getExtractor3(config) {
|
|
|
794
822
|
});
|
|
795
823
|
extractorPromise3 ??= pipeline3("feature-extraction", getModel3(config), {
|
|
796
824
|
cache_dir: cacheDir,
|
|
797
|
-
dtype: "q8"
|
|
825
|
+
dtype: "q8",
|
|
826
|
+
session_options: onnxSessionOptions()
|
|
798
827
|
});
|
|
799
828
|
return extractorPromise3;
|
|
800
829
|
}
|
|
@@ -884,7 +913,8 @@ async function getExtractor4(config) {
|
|
|
884
913
|
});
|
|
885
914
|
extractorPromise4 ??= pipeline4("feature-extraction", getModel4(config), {
|
|
886
915
|
cache_dir: cacheDir,
|
|
887
|
-
dtype: "q8"
|
|
916
|
+
dtype: "q8",
|
|
917
|
+
session_options: onnxSessionOptions()
|
|
888
918
|
});
|
|
889
919
|
return extractorPromise4;
|
|
890
920
|
}
|
|
@@ -2144,7 +2174,10 @@ function maxLength() {
|
|
|
2144
2174
|
}
|
|
2145
2175
|
async function loadReranker(model) {
|
|
2146
2176
|
configureTransformersCache();
|
|
2147
|
-
const options = {
|
|
2177
|
+
const options = {
|
|
2178
|
+
dtype: "q8",
|
|
2179
|
+
session_options: onnxSessionOptions()
|
|
2180
|
+
};
|
|
2148
2181
|
if (!isAbsolute(model)) {
|
|
2149
2182
|
const cacheDir = join4(getEmbeddingCacheRoot(), "rerank", ...model.split("/"));
|
|
2150
2183
|
mkdirSync4(cacheDir, { recursive: true });
|
|
@@ -2839,4 +2872,4 @@ export {
|
|
|
2839
2872
|
findSemanticDuplicates,
|
|
2840
2873
|
findSimilarRejectedExemplar
|
|
2841
2874
|
};
|
|
2842
|
-
//# sourceMappingURL=chunk-
|
|
2875
|
+
//# sourceMappingURL=chunk-RV3QNU7R.js.map
|