@edihasaj/recall 2.0.19 → 2.0.22
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-WDUYM3NZ.js → chunk-55L2KDQE.js} +7 -7
- package/dist/{chunk-J4IWU2BE.js → chunk-5XIMY5B6.js} +9 -9
- package/dist/{chunk-M4JG3HMA.js → chunk-AEYHCV5C.js} +17 -16
- package/dist/chunk-AEYHCV5C.js.map +1 -0
- package/dist/{chunk-6B7YHOGI.js → chunk-B3Y3473H.js} +3 -3
- package/dist/{chunk-QDCIXULL.js → chunk-BDLPFPQ7.js} +2 -2
- package/dist/{chunk-QDCIXULL.js.map → chunk-BDLPFPQ7.js.map} +1 -1
- package/dist/{chunk-NSXTH2B4.js → chunk-E2LPE3NE.js} +42 -9
- package/dist/chunk-E2LPE3NE.js.map +1 -0
- package/dist/{chunk-673NQIZX.js → chunk-E6532GTG.js} +2 -2
- package/dist/{chunk-QDONEJJG.js → chunk-GJNSMGG3.js} +2 -2
- package/dist/{chunk-J6YBL72P.js → chunk-HYTMHT2T.js} +10 -10
- package/dist/{chunk-GENJNVHG.js → chunk-MSONNUK7.js} +3 -3
- package/dist/{chunk-X3EF5QHV.js → chunk-NELIM5IE.js} +3 -3
- package/dist/{chunk-5VIPRV3V.js → chunk-PI4VEC7V.js} +5 -5
- package/dist/{chunk-3SI2FCYS.js → chunk-QPFSU57E.js} +2 -2
- package/dist/{chunk-WPHCCQOC.js → chunk-RJ6LXKXJ.js} +7 -7
- package/dist/{chunk-FH2XQDYL.js → chunk-T3HE4QJW.js} +5 -5
- package/dist/{chunk-GTHCX5LX.js → chunk-T76BHBJD.js} +2 -2
- package/dist/{chunk-ZHJRYVOD.js → chunk-VUP3OKAX.js} +2 -2
- package/dist/{chunk-R5CG3RC4.js → chunk-X2SVAAFV.js} +9 -9
- package/dist/{cleanup-FOGHMRL5.js → cleanup-55OGHQDD.js} +11 -11
- package/dist/cli.js +36 -36
- package/dist/{codex-trust-C2GOV764.js → codex-trust-REI3BIGY.js} +4 -4
- package/dist/daemon.js +20 -19
- package/dist/daemon.js.map +1 -1
- package/dist/dispatcher-WDO675ZZ.js +22 -0
- package/dist/{embeddings-6Y7KXV5L.js → embeddings-JP3QJXH3.js} +5 -5
- package/dist/ingest-223V4GBH.js +20 -0
- package/dist/{keychain-DHS6XKIQ.js → keychain-6KYNSQNM.js} +3 -3
- package/dist/mcp.js +15 -15
- package/dist/{memory-value-U6TGLBZB.js → memory-value-2JMNGF6K.js} +11 -11
- package/dist/{provenance-PLISLH2V.js → provenance-7HFGC5YG.js} +9 -9
- package/dist/quality-NOUPZBPR.js +25 -0
- package/dist/retrieval-NOHQIQIJ.js +15 -0
- package/dist/{store-OLSM63EZ.js → store-ZZ3D7T6Q.js} +4 -4
- package/dist/sync-server.js +2 -2
- package/dist/{tasks-S5ZMXA5K.js → tasks-YXZSJ4VS.js} +11 -11
- package/dist/{usage-RWS6VQBY.js → usage-QGFPQ47H.js} +4 -4
- package/package.json +7 -7
- package/dist/chunk-M4JG3HMA.js.map +0 -1
- package/dist/chunk-NSXTH2B4.js.map +0 -1
- package/dist/dispatcher-OIINFHQU.js +0 -22
- package/dist/ingest-QFX3ZEM6.js +0 -20
- package/dist/quality-AYWNSDIU.js +0 -25
- package/dist/retrieval-B2DYBYAJ.js +0 -15
- /package/dist/{chunk-WDUYM3NZ.js.map → chunk-55L2KDQE.js.map} +0 -0
- /package/dist/{chunk-J4IWU2BE.js.map → chunk-5XIMY5B6.js.map} +0 -0
- /package/dist/{chunk-6B7YHOGI.js.map → chunk-B3Y3473H.js.map} +0 -0
- /package/dist/{chunk-673NQIZX.js.map → chunk-E6532GTG.js.map} +0 -0
- /package/dist/{chunk-QDONEJJG.js.map → chunk-GJNSMGG3.js.map} +0 -0
- /package/dist/{chunk-J6YBL72P.js.map → chunk-HYTMHT2T.js.map} +0 -0
- /package/dist/{chunk-GENJNVHG.js.map → chunk-MSONNUK7.js.map} +0 -0
- /package/dist/{chunk-X3EF5QHV.js.map → chunk-NELIM5IE.js.map} +0 -0
- /package/dist/{chunk-5VIPRV3V.js.map → chunk-PI4VEC7V.js.map} +0 -0
- /package/dist/{chunk-3SI2FCYS.js.map → chunk-QPFSU57E.js.map} +0 -0
- /package/dist/{chunk-WPHCCQOC.js.map → chunk-RJ6LXKXJ.js.map} +0 -0
- /package/dist/{chunk-FH2XQDYL.js.map → chunk-T3HE4QJW.js.map} +0 -0
- /package/dist/{chunk-GTHCX5LX.js.map → chunk-T76BHBJD.js.map} +0 -0
- /package/dist/{chunk-ZHJRYVOD.js.map → chunk-VUP3OKAX.js.map} +0 -0
- /package/dist/{chunk-R5CG3RC4.js.map → chunk-X2SVAAFV.js.map} +0 -0
- /package/dist/{cleanup-FOGHMRL5.js.map → cleanup-55OGHQDD.js.map} +0 -0
- /package/dist/{codex-trust-C2GOV764.js.map → codex-trust-REI3BIGY.js.map} +0 -0
- /package/dist/{dispatcher-OIINFHQU.js.map → dispatcher-WDO675ZZ.js.map} +0 -0
- /package/dist/{embeddings-6Y7KXV5L.js.map → embeddings-JP3QJXH3.js.map} +0 -0
- /package/dist/{ingest-QFX3ZEM6.js.map → ingest-223V4GBH.js.map} +0 -0
- /package/dist/{keychain-DHS6XKIQ.js.map → keychain-6KYNSQNM.js.map} +0 -0
- /package/dist/{memory-value-U6TGLBZB.js.map → memory-value-2JMNGF6K.js.map} +0 -0
- /package/dist/{provenance-PLISLH2V.js.map → provenance-7HFGC5YG.js.map} +0 -0
- /package/dist/{quality-AYWNSDIU.js.map → quality-NOUPZBPR.js.map} +0 -0
- /package/dist/{retrieval-B2DYBYAJ.js.map → retrieval-NOHQIQIJ.js.map} +0 -0
- /package/dist/{store-OLSM63EZ.js.map → store-ZZ3D7T6Q.js.map} +0 -0
- /package/dist/{tasks-S5ZMXA5K.js.map → tasks-YXZSJ4VS.js.map} +0 -0
- /package/dist/{usage-RWS6VQBY.js.map → usage-QGFPQ47H.js.map} +0 -0
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
redactSensitiveText,
|
|
11
11
|
redactSensitiveValue,
|
|
12
12
|
seedScannedConfidence
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-X2SVAAFV.js";
|
|
14
14
|
import {
|
|
15
15
|
recordInjectionValueEvents,
|
|
16
16
|
recordMemoryInjections,
|
|
17
17
|
recordOutcomeValueEvent,
|
|
18
18
|
resolveMemoryInjectionOutcome
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RJ6LXKXJ.js";
|
|
20
20
|
import {
|
|
21
21
|
matchTokens,
|
|
22
22
|
textMatchScore
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-VUP3OKAX.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-55L2KDQE.js";
|
|
45
45
|
import {
|
|
46
46
|
asc,
|
|
47
47
|
desc
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-B3Y3473H.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-E2LPE3NE.js";
|
|
74
74
|
import {
|
|
75
75
|
hasProviderConfigured,
|
|
76
76
|
init_keychain
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-GJNSMGG3.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-T76BHBJD.js";
|
|
143
143
|
import {
|
|
144
144
|
init_define_RECALL_BUILD_INFO
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-BDLPFPQ7.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-HYTMHT2T.js.map
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
memoryEntities,
|
|
9
9
|
or,
|
|
10
10
|
sql
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-T76BHBJD.js";
|
|
12
12
|
import {
|
|
13
13
|
init_define_RECALL_BUILD_INFO
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BDLPFPQ7.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-MSONNUK7.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defineOwn,
|
|
3
3
|
deleteOwn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QPFSU57E.js";
|
|
5
5
|
import {
|
|
6
6
|
init_define_RECALL_BUILD_INFO
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BDLPFPQ7.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-NELIM5IE.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getMemory
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-55L2KDQE.js";
|
|
4
4
|
import {
|
|
5
5
|
hybridSearch,
|
|
6
6
|
searchMemoryFtsIndex
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-E2LPE3NE.js";
|
|
8
8
|
import {
|
|
9
9
|
listEntitiesForMemory,
|
|
10
10
|
listMemoryIdsForEntity,
|
|
11
11
|
neighborsOf
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MSONNUK7.js";
|
|
13
13
|
import {
|
|
14
14
|
init_define_RECALL_BUILD_INFO
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BDLPFPQ7.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-PI4VEC7V.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_define_RECALL_BUILD_INFO
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BDLPFPQ7.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-QPFSU57E.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
textMatchScore
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VUP3OKAX.js";
|
|
4
4
|
import {
|
|
5
5
|
getMemory,
|
|
6
6
|
promoteMemory,
|
|
7
7
|
queryMemories
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-55L2KDQE.js";
|
|
9
9
|
import {
|
|
10
10
|
asc,
|
|
11
11
|
desc
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-B3Y3473H.js";
|
|
13
13
|
import {
|
|
14
14
|
cosineSimilarity,
|
|
15
15
|
generateEmbedding,
|
|
16
16
|
loadEmbedding,
|
|
17
17
|
loadEmbeddingConfigFromEnv
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-E2LPE3NE.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-T76BHBJD.js";
|
|
30
30
|
import {
|
|
31
31
|
init_define_RECALL_BUILD_INFO
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-BDLPFPQ7.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-RJ6LXKXJ.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeMemoryValueReport
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RJ6LXKXJ.js";
|
|
4
4
|
import {
|
|
5
5
|
desc
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-B3Y3473H.js";
|
|
7
7
|
import {
|
|
8
8
|
and,
|
|
9
9
|
eq,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
memoryInjections,
|
|
15
15
|
qualitySnapshots,
|
|
16
16
|
sql
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-T76BHBJD.js";
|
|
18
18
|
import {
|
|
19
19
|
init_define_RECALL_BUILD_INFO
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BDLPFPQ7.js";
|
|
21
21
|
|
|
22
22
|
// src/maintenance/quality.ts
|
|
23
23
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -184,4 +184,4 @@ export {
|
|
|
184
184
|
diffQualitySnapshots,
|
|
185
185
|
formatQualityReport
|
|
186
186
|
};
|
|
187
|
-
//# sourceMappingURL=chunk-
|
|
187
|
+
//# sourceMappingURL=chunk-T3HE4QJW.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export,
|
|
3
3
|
init_define_RECALL_BUILD_INFO
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BDLPFPQ7.js";
|
|
5
5
|
|
|
6
6
|
// node_modules/drizzle-orm/sql/sql.js
|
|
7
7
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -2726,4 +2726,4 @@ export {
|
|
|
2726
2726
|
maintenanceCleanupLog,
|
|
2727
2727
|
schema_exports
|
|
2728
2728
|
};
|
|
2729
|
-
//# sourceMappingURL=chunk-
|
|
2729
|
+
//# sourceMappingURL=chunk-T76BHBJD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_define_RECALL_BUILD_INFO
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BDLPFPQ7.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-VUP3OKAX.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
matchTokens,
|
|
3
3
|
textMatchScore
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VUP3OKAX.js";
|
|
5
5
|
import {
|
|
6
6
|
appendEvidence,
|
|
7
7
|
countDistinctCorrectionSessions,
|
|
@@ -24,13 +24,13 @@ import {
|
|
|
24
24
|
restoreAutoInject,
|
|
25
25
|
setMemoryNote,
|
|
26
26
|
updateMemoryCaptureContext
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-55L2KDQE.js";
|
|
28
28
|
import {
|
|
29
29
|
desc
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-B3Y3473H.js";
|
|
31
31
|
import {
|
|
32
32
|
defineOwn
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-QPFSU57E.js";
|
|
34
34
|
import {
|
|
35
35
|
CONFIDENCE,
|
|
36
36
|
LlmCredentialError,
|
|
@@ -41,11 +41,11 @@ import {
|
|
|
41
41
|
loadEmbeddingConfigFromEnv,
|
|
42
42
|
queueMemoryEmbeddingSync,
|
|
43
43
|
rowToMemory
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-E2LPE3NE.js";
|
|
45
45
|
import {
|
|
46
46
|
hasProviderConfigured,
|
|
47
47
|
init_keychain
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-GJNSMGG3.js";
|
|
49
49
|
import {
|
|
50
50
|
activityEvents,
|
|
51
51
|
and,
|
|
@@ -67,10 +67,10 @@ import {
|
|
|
67
67
|
memoryValueEvents,
|
|
68
68
|
or,
|
|
69
69
|
sql
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-T76BHBJD.js";
|
|
71
71
|
import {
|
|
72
72
|
init_define_RECALL_BUILD_INFO
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-BDLPFPQ7.js";
|
|
74
74
|
|
|
75
75
|
// src/maintenance/tasks.ts
|
|
76
76
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -4833,4 +4833,4 @@ export {
|
|
|
4833
4833
|
processCorrection,
|
|
4834
4834
|
processReviewFeedback
|
|
4835
4835
|
};
|
|
4836
|
-
//# sourceMappingURL=chunk-
|
|
4836
|
+
//# sourceMappingURL=chunk-X2SVAAFV.js.map
|
|
@@ -13,16 +13,16 @@ import {
|
|
|
13
13
|
qualityReasons,
|
|
14
14
|
revertCleanupRun,
|
|
15
15
|
runDeterministicCleanup
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-X2SVAAFV.js";
|
|
17
|
+
import "./chunk-VUP3OKAX.js";
|
|
18
|
+
import "./chunk-55L2KDQE.js";
|
|
19
|
+
import "./chunk-B3Y3473H.js";
|
|
20
|
+
import "./chunk-QPFSU57E.js";
|
|
21
|
+
import "./chunk-E2LPE3NE.js";
|
|
22
|
+
import "./chunk-GJNSMGG3.js";
|
|
23
|
+
import "./chunk-MSONNUK7.js";
|
|
24
|
+
import "./chunk-T76BHBJD.js";
|
|
25
|
+
import "./chunk-BDLPFPQ7.js";
|
|
26
26
|
export {
|
|
27
27
|
formatCleanupReport,
|
|
28
28
|
isWorkspaceRootAlias,
|
|
@@ -39,4 +39,4 @@ export {
|
|
|
39
39
|
revertCleanupRun,
|
|
40
40
|
runDeterministicCleanup
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=cleanup-
|
|
42
|
+
//# sourceMappingURL=cleanup-55OGHQDD.js.map
|
package/dist/cli.js
CHANGED
|
@@ -55,14 +55,14 @@ import {
|
|
|
55
55
|
unregisterStrayApps,
|
|
56
56
|
verifyBackupIntegrity,
|
|
57
57
|
writeRepoContextArtifact
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-AEYHCV5C.js";
|
|
59
59
|
import {
|
|
60
60
|
hasCommand,
|
|
61
61
|
installCodexHooks,
|
|
62
62
|
resolveCodexHookTargets,
|
|
63
63
|
resolveUserHomeDir,
|
|
64
64
|
uninstallCodexHooks
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-NELIM5IE.js";
|
|
66
66
|
import {
|
|
67
67
|
closeDb,
|
|
68
68
|
cloudQueryStatus,
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
startEvalSession,
|
|
108
108
|
summarizeValueRetrievalEval,
|
|
109
109
|
togglePolicy
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-HYTMHT2T.js";
|
|
111
111
|
import {
|
|
112
112
|
autoResolveContradictions,
|
|
113
113
|
computeAllHealthScores,
|
|
@@ -120,10 +120,10 @@ import {
|
|
|
120
120
|
processCorrection,
|
|
121
121
|
processReviewFeedback,
|
|
122
122
|
resolveContradiction
|
|
123
|
-
} from "./chunk-
|
|
124
|
-
import "./chunk-
|
|
125
|
-
import "./chunk-
|
|
126
|
-
import "./chunk-
|
|
123
|
+
} from "./chunk-X2SVAAFV.js";
|
|
124
|
+
import "./chunk-RJ6LXKXJ.js";
|
|
125
|
+
import "./chunk-VUP3OKAX.js";
|
|
126
|
+
import "./chunk-E6532GTG.js";
|
|
127
127
|
import {
|
|
128
128
|
confirmMemory,
|
|
129
129
|
createMemory,
|
|
@@ -137,9 +137,9 @@ import {
|
|
|
137
137
|
recordAudit,
|
|
138
138
|
rejectMemory,
|
|
139
139
|
rollbackMemory
|
|
140
|
-
} from "./chunk-
|
|
141
|
-
import "./chunk-
|
|
142
|
-
import "./chunk-
|
|
140
|
+
} from "./chunk-55L2KDQE.js";
|
|
141
|
+
import "./chunk-B3Y3473H.js";
|
|
142
|
+
import "./chunk-QPFSU57E.js";
|
|
143
143
|
import {
|
|
144
144
|
bootstrapEmbeddings,
|
|
145
145
|
ensureEmbeddingProviderReady,
|
|
@@ -153,25 +153,25 @@ import {
|
|
|
153
153
|
semanticSearch,
|
|
154
154
|
upsertMemoryFtsRow,
|
|
155
155
|
verifyEmbeddings
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-E2LPE3NE.js";
|
|
157
157
|
import {
|
|
158
158
|
deleteApiKey,
|
|
159
159
|
hasKeychainApiKey,
|
|
160
160
|
init_keychain,
|
|
161
161
|
init_outbound_url,
|
|
162
162
|
normalizeSyncRemoteUrl
|
|
163
|
-
} from "./chunk-
|
|
164
|
-
import "./chunk-
|
|
163
|
+
} from "./chunk-GJNSMGG3.js";
|
|
164
|
+
import "./chunk-MSONNUK7.js";
|
|
165
165
|
import {
|
|
166
166
|
and,
|
|
167
167
|
eq,
|
|
168
168
|
gt,
|
|
169
169
|
memories,
|
|
170
170
|
syncState
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-T76BHBJD.js";
|
|
172
172
|
import {
|
|
173
173
|
init_define_RECALL_BUILD_INFO
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-BDLPFPQ7.js";
|
|
175
175
|
|
|
176
176
|
// src/cli.ts
|
|
177
177
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -1903,7 +1903,7 @@ program.command("doctor").description("Show local Recall runtime, DB, embedding,
|
|
|
1903
1903
|
const finalReport = opts.fix ? getDoctorReport() : report;
|
|
1904
1904
|
const codexEntry = finalReport.agents.find((agent) => agent.agent === "codex" && agent.detected);
|
|
1905
1905
|
if (codexEntry) {
|
|
1906
|
-
const { inspectCodexTrust } = await import("./codex-trust-
|
|
1906
|
+
const { inspectCodexTrust } = await import("./codex-trust-REI3BIGY.js");
|
|
1907
1907
|
codexEntry.hook_trust = await inspectCodexTrust();
|
|
1908
1908
|
}
|
|
1909
1909
|
if (opts.json) {
|
|
@@ -2632,7 +2632,7 @@ evalCmd.command("value-retrieval").description("Run retrieval eval cases synthes
|
|
|
2632
2632
|
});
|
|
2633
2633
|
let snapshot = null;
|
|
2634
2634
|
if (opts.snapshot) {
|
|
2635
|
-
const { computeQualityReport, recordQualitySnapshot } = await import("./quality-
|
|
2635
|
+
const { computeQualityReport, recordQualitySnapshot } = await import("./quality-NOUPZBPR.js");
|
|
2636
2636
|
const qualityReport = computeQualityReport(db, { sinceIso: report.since });
|
|
2637
2637
|
snapshot = recordQualitySnapshot(
|
|
2638
2638
|
db,
|
|
@@ -3161,15 +3161,15 @@ uiCmd.command("status").description("Show WebUI status").option("--daemon-port <
|
|
|
3161
3161
|
var graphCmd = program.command("graph").description("Inspect and rebuild the knowledge graph (entities + relations)");
|
|
3162
3162
|
graphCmd.command("stats").description("Show entity/relation counts").action(async () => {
|
|
3163
3163
|
const db = initDb();
|
|
3164
|
-
const { countEntities, countRelations } = await import("./store-
|
|
3164
|
+
const { countEntities, countRelations } = await import("./store-ZZ3D7T6Q.js");
|
|
3165
3165
|
console.log(`entities: ${countEntities(db)}`);
|
|
3166
3166
|
console.log(`relations: ${countRelations(db)}`);
|
|
3167
3167
|
});
|
|
3168
3168
|
graphCmd.command("backfill").description("Run the heuristic extractor over every active memory (idempotent)").option("--repo <repo>", "Limit to a single repo").option("--limit <n>", "Cap rows processed", "10000").option("--rebuild", "Clear all existing entities/relations first, then re-extract").action(async (opts) => {
|
|
3169
3169
|
const db = initDb();
|
|
3170
|
-
const { ingestMemoryHeuristic } = await import("./ingest-
|
|
3170
|
+
const { ingestMemoryHeuristic } = await import("./ingest-223V4GBH.js");
|
|
3171
3171
|
if (opts.rebuild) {
|
|
3172
|
-
const { clearGraph } = await import("./store-
|
|
3172
|
+
const { clearGraph } = await import("./store-ZZ3D7T6Q.js");
|
|
3173
3173
|
clearGraph(db);
|
|
3174
3174
|
console.log("Cleared existing graph entities and relations.");
|
|
3175
3175
|
}
|
|
@@ -3191,7 +3191,7 @@ graphCmd.command("backfill").description("Run the heuristic extractor over every
|
|
|
3191
3191
|
});
|
|
3192
3192
|
graphCmd.command("entities").description("List entities").option("--repo <repo>", "Filter by repo").option("--kind <kind>", "Filter by entity kind").option("--search <q>", "Substring filter on name").option("--limit <n>", "Max rows", "50").action(async (opts) => {
|
|
3193
3193
|
const db = initDb();
|
|
3194
|
-
const { listEntities } = await import("./store-
|
|
3194
|
+
const { listEntities } = await import("./store-ZZ3D7T6Q.js");
|
|
3195
3195
|
const rows = listEntities(db, {
|
|
3196
3196
|
repo: opts.repo,
|
|
3197
3197
|
kind: opts.kind,
|
|
@@ -3210,8 +3210,8 @@ graphCmd.command("entities").description("List entities").option("--repo <repo>"
|
|
|
3210
3210
|
});
|
|
3211
3211
|
graphCmd.command("query <query...>").description("Run graph-aware retrieval for a query").option("--repo <repo>", "Restrict to repo").option("--hops <n>", "Graph hops", "2").option("--limit <n>", "Max hits", "10").action(async (queryTokens, opts) => {
|
|
3212
3212
|
const db = initDb();
|
|
3213
|
-
const { graphQuery } = await import("./retrieval-
|
|
3214
|
-
const { loadEmbeddingConfigFromEnv: loadEmbeddingConfigFromEnv2 } = await import("./embeddings-
|
|
3213
|
+
const { graphQuery } = await import("./retrieval-NOHQIQIJ.js");
|
|
3214
|
+
const { loadEmbeddingConfigFromEnv: loadEmbeddingConfigFromEnv2 } = await import("./embeddings-JP3QJXH3.js");
|
|
3215
3215
|
const embeddingConfig = loadEmbeddingConfigFromEnv2();
|
|
3216
3216
|
const result = await graphQuery(db, queryTokens.join(" "), embeddingConfig, {
|
|
3217
3217
|
repo: opts.repo,
|
|
@@ -3227,7 +3227,7 @@ graphCmd.command("query <query...>").description("Run graph-aware retrieval for
|
|
|
3227
3227
|
});
|
|
3228
3228
|
var maintenanceCmd = program.command("maintenance").description("Inspect and manage the delegated maintenance task queue");
|
|
3229
3229
|
maintenanceCmd.command("stats").description("Show backlog counts, completion stats, and mean latency").action(async () => {
|
|
3230
|
-
const { getTaskStats } = await import("./tasks-
|
|
3230
|
+
const { getTaskStats } = await import("./tasks-YXZSJ4VS.js");
|
|
3231
3231
|
const db = initDb();
|
|
3232
3232
|
const stats = getTaskStats(db);
|
|
3233
3233
|
console.log(`Total tasks: ${stats.total}`);
|
|
@@ -3253,7 +3253,7 @@ maintenanceCmd.command("stats").description("Show backlog counts, completion sta
|
|
|
3253
3253
|
}
|
|
3254
3254
|
});
|
|
3255
3255
|
maintenanceCmd.command("list").description("List tasks (default: pending)").option("-s, --status <status>", "pending|claimed|completed|abandoned", "pending").option("-k, --kind <kind>", "Filter by kind").option("-r, --repo <repo>", "Filter by repo").option("-n, --limit <n>", "Max entries", "20").action(async (opts) => {
|
|
3256
|
-
const { listTasks } = await import("./tasks-
|
|
3256
|
+
const { listTasks } = await import("./tasks-YXZSJ4VS.js");
|
|
3257
3257
|
const db = initDb();
|
|
3258
3258
|
const tasks = listTasks(db, {
|
|
3259
3259
|
status: opts.status,
|
|
@@ -3275,7 +3275,7 @@ maintenanceCmd.command("list").description("List tasks (default: pending)").opti
|
|
|
3275
3275
|
}
|
|
3276
3276
|
});
|
|
3277
3277
|
maintenanceCmd.command("drop").description("Delete a task by id (or id prefix)").argument("<task-id>", "Task id or prefix").action(async (taskIdArg) => {
|
|
3278
|
-
const { deleteTask, listTasks } = await import("./tasks-
|
|
3278
|
+
const { deleteTask, listTasks } = await import("./tasks-YXZSJ4VS.js");
|
|
3279
3279
|
const db = initDb();
|
|
3280
3280
|
const all = listTasks(db, { limit: 1e4 });
|
|
3281
3281
|
const matches = all.filter((t) => t.id === taskIdArg || t.id.startsWith(taskIdArg));
|
|
@@ -3294,7 +3294,7 @@ maintenanceCmd.command("drop").description("Delete a task by id (or id prefix)")
|
|
|
3294
3294
|
});
|
|
3295
3295
|
var credentialsCmd = maintenanceCmd.command("credentials").description("Manage LLM provider API keys in macOS Keychain (env fallback on other platforms)");
|
|
3296
3296
|
credentialsCmd.command("list", { isDefault: true }).description("Show which providers have credentials available").action(async () => {
|
|
3297
|
-
const { listCredentials } = await import("./keychain-
|
|
3297
|
+
const { listCredentials } = await import("./keychain-6KYNSQNM.js");
|
|
3298
3298
|
const creds = listCredentials();
|
|
3299
3299
|
if (creds.length === 0) {
|
|
3300
3300
|
console.log("No API keys configured. Set one with:");
|
|
@@ -3308,7 +3308,7 @@ credentialsCmd.command("list", { isDefault: true }).description("Show which prov
|
|
|
3308
3308
|
}
|
|
3309
3309
|
});
|
|
3310
3310
|
credentialsCmd.command("set").description("Store credentials for an LLM provider in the macOS Keychain").argument("<provider>", "openai|anthropic|azure").argument("[key]", "API key (prompts via stdin if omitted; required for openai/anthropic and for azure unless --stdin-json is used)").option("--endpoint <url>", "Azure OpenAI resource endpoint (e.g. https://myresource.openai.azure.com)").option("--deployment <name>", "Azure OpenAI deployment name").option("--api-version <version>", "Azure OpenAI api-version (e.g. 2024-10-21)").option("--stdin-json", "Read the azure config (endpoint/deployment/api_version/key) as a JSON object from stdin").action(async (providerArg, keyArg, opts) => {
|
|
3311
|
-
const { setApiKey, setAzureConfig } = await import("./keychain-
|
|
3311
|
+
const { setApiKey, setAzureConfig } = await import("./keychain-6KYNSQNM.js");
|
|
3312
3312
|
const provider = providerArg === "azure" ? "azure-openai" : providerArg;
|
|
3313
3313
|
if (provider === "openai" || provider === "anthropic") {
|
|
3314
3314
|
const key = keyArg ?? await readStdinKey();
|
|
@@ -3370,7 +3370,7 @@ credentialsCmd.command("set").description("Store credentials for an LLM provider
|
|
|
3370
3370
|
process.exit(1);
|
|
3371
3371
|
});
|
|
3372
3372
|
credentialsCmd.command("clear").description("Remove provider credentials from the macOS Keychain").argument("<provider>", "openai|anthropic|azure").action(async (providerArg) => {
|
|
3373
|
-
const { deleteApiKey: deleteApiKey2 } = await import("./keychain-
|
|
3373
|
+
const { deleteApiKey: deleteApiKey2 } = await import("./keychain-6KYNSQNM.js");
|
|
3374
3374
|
const provider = providerArg === "azure" ? "azure-openai" : providerArg;
|
|
3375
3375
|
if (provider !== "openai" && provider !== "anthropic" && provider !== "azure-openai") {
|
|
3376
3376
|
console.error(`Provider must be "openai", "anthropic", or "azure", got "${providerArg}".`);
|
|
@@ -3381,8 +3381,8 @@ credentialsCmd.command("clear").description("Remove provider credentials from th
|
|
|
3381
3381
|
else console.log(`No ${provider} credentials found in Keychain.`);
|
|
3382
3382
|
});
|
|
3383
3383
|
maintenanceCmd.command("dispatch").description("Run the daemon-owned dispatcher once against pending maintenance tasks (requires a configured LLM provider)").option("--provider <provider>", "openai|anthropic|azure-openai (defaults to whichever is configured)").option("--model <model>", "Model override").option("--kind <kind>", "Restrict to a single task kind (repeatable)", (value, acc = []) => [...acc, value], []).option("--repo <repo>", "Restrict to a single repo").option("--max <n>", "Max tasks to run this round", "5").option("--dry-run", "Show which tasks would be dispatched; do not call the LLM").option("--preview", "Show the actual prompts that would be sent (no provider needed; no LLM call)").option("--json", "Emit the raw JSON report").action(async (opts) => {
|
|
3384
|
-
const { dispatchPendingTasks, formatDispatchReport, buildPrompt } = await import("./dispatcher-
|
|
3385
|
-
const { listTasks } = await import("./tasks-
|
|
3384
|
+
const { dispatchPendingTasks, formatDispatchReport, buildPrompt } = await import("./dispatcher-WDO675ZZ.js");
|
|
3385
|
+
const { listTasks } = await import("./tasks-YXZSJ4VS.js");
|
|
3386
3386
|
const db = initDb();
|
|
3387
3387
|
if (opts.preview) {
|
|
3388
3388
|
const pending = listTasks(db, {
|
|
@@ -3439,12 +3439,12 @@ ${p.prompt.max_output_tokens}
|
|
|
3439
3439
|
console.log(formatDispatchReport(report));
|
|
3440
3440
|
});
|
|
3441
3441
|
maintenanceCmd.command("quarantine-generated").description("Preview memories supported only by generated messages; preserve them outside injection").option("--apply", "Quarantine matching memories with reversible audit snapshots").action(async (opts) => {
|
|
3442
|
-
const { quarantineGeneratedMemories } = await import("./provenance-
|
|
3442
|
+
const { quarantineGeneratedMemories } = await import("./provenance-7HFGC5YG.js");
|
|
3443
3443
|
const ids = quarantineGeneratedMemories(initDb(), Boolean(opts.apply));
|
|
3444
3444
|
console.log(JSON.stringify({ applied: Boolean(opts.apply), count: ids.length, memory_ids: ids }, null, 2));
|
|
3445
3445
|
});
|
|
3446
3446
|
maintenanceCmd.command("cleanup").description("Run deterministic, LLM-free cleanup for duplicate, low-quality, stale, and mis-scoped memories").option("--apply", "Persist changes (default is dry-run)").option("--only <action>", "Restrict to one action: dedupe_exact_merge|reject_fragment_candidate|promote_repeat_correction|suppress_unproductive_command|globalize_cross_repo|reject_test_fixture_repo|reject_invalid_scope|reject_generic_scanned_tooling|reject_agent_authored").option("--revert <run-id>", "Revert a previous cleanup run (id or 8-char prefix)").option("--list", "List recent cleanup runs").option("--json", "Emit the raw JSON report").action(async (opts) => {
|
|
3447
|
-
const { runDeterministicCleanup, formatCleanupReport, revertCleanupRun, listCleanupRuns } = await import("./cleanup-
|
|
3447
|
+
const { runDeterministicCleanup, formatCleanupReport, revertCleanupRun, listCleanupRuns } = await import("./cleanup-55OGHQDD.js");
|
|
3448
3448
|
const db = initDb();
|
|
3449
3449
|
if (opts.list) {
|
|
3450
3450
|
const runs = listCleanupRuns(db);
|
|
@@ -3498,7 +3498,7 @@ maintenanceCmd.command("quality").description("Show injection outcome distributi
|
|
|
3498
3498
|
recordQualitySnapshot,
|
|
3499
3499
|
listQualitySnapshots,
|
|
3500
3500
|
diffQualitySnapshots
|
|
3501
|
-
} = await import("./quality-
|
|
3501
|
+
} = await import("./quality-NOUPZBPR.js");
|
|
3502
3502
|
const db = initDb();
|
|
3503
3503
|
if (opts.history) {
|
|
3504
3504
|
const snaps = listQualitySnapshots(db);
|
|
@@ -3559,7 +3559,7 @@ maintenanceCmd.command("value-backfill").description("Backfill memory value even
|
|
|
3559
3559
|
const {
|
|
3560
3560
|
backfillMemoryValueEvents,
|
|
3561
3561
|
formatMemoryValueBackfillReport
|
|
3562
|
-
} = await import("./memory-value-
|
|
3562
|
+
} = await import("./memory-value-2JMNGF6K.js");
|
|
3563
3563
|
const db = initDb();
|
|
3564
3564
|
const report = backfillMemoryValueEvents(db, {
|
|
3565
3565
|
sinceIso: opts.since,
|
|
@@ -3572,7 +3572,7 @@ maintenanceCmd.command("value-backfill").description("Backfill memory value even
|
|
|
3572
3572
|
console.log(formatMemoryValueBackfillReport(report));
|
|
3573
3573
|
});
|
|
3574
3574
|
maintenanceCmd.command("usage").description("Summarize LLM API usage (tokens, cost) across recent maintenance runs").option("--since <iso>", "Window start (default: last 30 days)").option("--limit <n>", "Recent-call rows to show", "10").option("--json", "Emit raw JSON summary").action(async (opts) => {
|
|
3575
|
-
const { summarizeUsage, formatUsageReport } = await import("./usage-
|
|
3575
|
+
const { summarizeUsage, formatUsageReport } = await import("./usage-QGFPQ47H.js");
|
|
3576
3576
|
const db = initDb();
|
|
3577
3577
|
const summary = summarizeUsage(db, {
|
|
3578
3578
|
sinceIso: opts.since,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCodexHomes
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-NELIM5IE.js";
|
|
4
|
+
import "./chunk-QPFSU57E.js";
|
|
5
5
|
import {
|
|
6
6
|
init_define_RECALL_BUILD_INFO
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BDLPFPQ7.js";
|
|
8
8
|
|
|
9
9
|
// src/doctor/codex-trust.ts
|
|
10
10
|
init_define_RECALL_BUILD_INFO();
|
|
@@ -71,4 +71,4 @@ function probeCodexHome(home) {
|
|
|
71
71
|
export {
|
|
72
72
|
inspectCodexTrust
|
|
73
73
|
};
|
|
74
|
-
//# sourceMappingURL=codex-trust-
|
|
74
|
+
//# sourceMappingURL=codex-trust-REI3BIGY.js.map
|