@edihasaj/recall 1.2.0 → 1.3.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.
- package/dist/{chunk-G44JMYVI.js → chunk-427VWTG6.js} +6 -6
- package/dist/{chunk-TUC6GU35.js → chunk-6FE2IKPF.js} +3 -3
- package/dist/{chunk-B6KSSZUW.js → chunk-FUDWE6KW.js} +2 -2
- package/dist/{chunk-KD4OKHYF.js → chunk-JKWK73GY.js} +7 -2
- package/dist/chunk-JKWK73GY.js.map +1 -0
- package/dist/{chunk-JP5YAQPQ.js → chunk-MPWXWBSG.js} +3 -3
- package/dist/{chunk-5FY3HYGU.js → chunk-THX57BL4.js} +60 -16
- package/dist/chunk-THX57BL4.js.map +1 -0
- package/dist/{chunk-T5FOKQH2.js → chunk-VP25EEOH.js} +2 -2
- package/dist/{chunk-NFCBG4OH.js → chunk-ZPAXZDWJ.js} +7 -7
- package/dist/{chunk-UUCSHXES.js → chunk-ZXLAD4CS.js} +7 -6
- package/dist/{chunk-UUCSHXES.js.map → chunk-ZXLAD4CS.js.map} +1 -1
- package/dist/{cleanup-PT3VB3CG.js → cleanup-PE3BFDMV.js} +4 -4
- package/dist/cli.js +20 -18
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +22 -10
- package/dist/daemon.js.map +1 -1
- package/dist/{dispatcher-2Q6LY57F.js → dispatcher-YCWDNYU3.js} +4 -4
- package/dist/{embeddings-CLBTYK7N.js → embeddings-HDNAGCOS.js} +2 -2
- package/dist/{ingest-ERAUAPMC.js → ingest-LZXTAMEZ.js} +3 -3
- package/dist/mcp.js +7 -7
- package/dist/{memory-value-2NDAQNMS.js → memory-value-L4VZNKK5.js} +4 -4
- package/dist/{quality-WFWVU4FQ.js → quality-MEI6N7IW.js} +5 -5
- package/dist/{retrieval-JOC63UXZ.js → retrieval-WDZXSBKB.js} +4 -4
- package/dist/{tasks-ANFQXOYX.js → tasks-6EJMXJQV.js} +4 -4
- package/dist/webui/assets/{index-DSV5JHmg.css → GraphPage-B5DZHykP.css} +1 -1
- package/dist/webui/assets/GraphPage-DJhwG-72.js +5165 -0
- package/dist/webui/assets/GraphPage-DJhwG-72.js.map +1 -0
- package/dist/webui/assets/index-CVWARq15.css +1 -0
- package/dist/webui/assets/index-Cpn2MjW0.js +186 -0
- package/dist/webui/assets/index-Cpn2MjW0.js.map +1 -0
- package/dist/webui/index.html +2 -2
- package/package.json +1 -1
- package/dist/chunk-5FY3HYGU.js.map +0 -1
- package/dist/chunk-KD4OKHYF.js.map +0 -1
- package/dist/webui/assets/index-2DR_ysOm.js +0 -5348
- package/dist/webui/assets/index-2DR_ysOm.js.map +0 -1
- /package/dist/{chunk-G44JMYVI.js.map → chunk-427VWTG6.js.map} +0 -0
- /package/dist/{chunk-TUC6GU35.js.map → chunk-6FE2IKPF.js.map} +0 -0
- /package/dist/{chunk-B6KSSZUW.js.map → chunk-FUDWE6KW.js.map} +0 -0
- /package/dist/{chunk-JP5YAQPQ.js.map → chunk-MPWXWBSG.js.map} +0 -0
- /package/dist/{chunk-T5FOKQH2.js.map → chunk-VP25EEOH.js.map} +0 -0
- /package/dist/{chunk-NFCBG4OH.js.map → chunk-ZPAXZDWJ.js.map} +0 -0
- /package/dist/{cleanup-PT3VB3CG.js.map → cleanup-PE3BFDMV.js.map} +0 -0
- /package/dist/{dispatcher-2Q6LY57F.js.map → dispatcher-YCWDNYU3.js.map} +0 -0
- /package/dist/{embeddings-CLBTYK7N.js.map → embeddings-HDNAGCOS.js.map} +0 -0
- /package/dist/{ingest-ERAUAPMC.js.map → ingest-LZXTAMEZ.js.map} +0 -0
- /package/dist/{memory-value-2NDAQNMS.js.map → memory-value-L4VZNKK5.js.map} +0 -0
- /package/dist/{quality-WFWVU4FQ.js.map → quality-MEI6N7IW.js.map} +0 -0
- /package/dist/{retrieval-JOC63UXZ.js.map → retrieval-WDZXSBKB.js.map} +0 -0
- /package/dist/{tasks-ANFQXOYX.js.map → tasks-6EJMXJQV.js.map} +0 -0
package/dist/daemon.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
computeQualityReport,
|
|
3
3
|
listQualitySnapshots,
|
|
4
4
|
recordQualitySnapshot
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VP25EEOH.js";
|
|
6
6
|
import {
|
|
7
7
|
ensureDailyBackup,
|
|
8
8
|
handleAssistantCompletionHook,
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
handleSessionEndHook,
|
|
11
11
|
handleSessionStartHook,
|
|
12
12
|
handleToolHook
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-427VWTG6.js";
|
|
14
14
|
import {
|
|
15
15
|
createRecallMcpServer
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZPAXZDWJ.js";
|
|
17
17
|
import {
|
|
18
18
|
graphQuery
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6FE2IKPF.js";
|
|
20
20
|
import {
|
|
21
21
|
bootstrapHistoryEmbeddings,
|
|
22
22
|
compileContext,
|
|
@@ -56,12 +56,13 @@ import {
|
|
|
56
56
|
updateHistorySnippet,
|
|
57
57
|
verifyHistoryEmbeddings,
|
|
58
58
|
writeRepoContextArtifact
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-ZXLAD4CS.js";
|
|
60
60
|
import {
|
|
61
61
|
DEFAULT_ENQUEUE_CONFIG,
|
|
62
62
|
autoResolveContradictions,
|
|
63
63
|
computeAllHealthScores,
|
|
64
64
|
computeHealthScore,
|
|
65
|
+
countContradictionCandidates,
|
|
65
66
|
detectContradictions,
|
|
66
67
|
detectCorrections,
|
|
67
68
|
dispatchPendingTasks,
|
|
@@ -78,8 +79,8 @@ import {
|
|
|
78
79
|
resolveContradiction,
|
|
79
80
|
rollbackMemory,
|
|
80
81
|
runDeterministicCleanup
|
|
81
|
-
} from "./chunk-
|
|
82
|
-
import "./chunk-
|
|
82
|
+
} from "./chunk-THX57BL4.js";
|
|
83
|
+
import "./chunk-MPWXWBSG.js";
|
|
83
84
|
import "./chunk-FHEH6QDU.js";
|
|
84
85
|
import "./chunk-CW3XJDH7.js";
|
|
85
86
|
import {
|
|
@@ -95,7 +96,7 @@ import {
|
|
|
95
96
|
rejectMemory,
|
|
96
97
|
safeIngestMemoryById,
|
|
97
98
|
statusFromConfidence
|
|
98
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-FUDWE6KW.js";
|
|
99
100
|
import {
|
|
100
101
|
bootstrapEmbeddings,
|
|
101
102
|
ensureEmbeddingProviderReady,
|
|
@@ -104,7 +105,7 @@ import {
|
|
|
104
105
|
queueMemoryEmbeddingSync,
|
|
105
106
|
rebuildEmbeddingIndexResponsive,
|
|
106
107
|
verifyEmbeddings
|
|
107
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-JKWK73GY.js";
|
|
108
109
|
import {
|
|
109
110
|
hasProviderConfigured,
|
|
110
111
|
init_keychain
|
|
@@ -1206,6 +1207,11 @@ var qualitySnapshotConfig = {
|
|
|
1206
1207
|
intervalSeconds: parseInt(process.env.RECALL_QUALITY_SNAPSHOT_INTERVAL_SECONDS ?? "604800", 10)
|
|
1207
1208
|
};
|
|
1208
1209
|
var qualitySnapshotRunning = false;
|
|
1210
|
+
var parsedBackgroundContradictionLimit = parseInt(
|
|
1211
|
+
process.env.RECALL_BACKGROUND_CONTRADICTION_LIMIT ?? "2000",
|
|
1212
|
+
10
|
|
1213
|
+
);
|
|
1214
|
+
var backgroundContradictionLimit = Number.isFinite(parsedBackgroundContradictionLimit) ? Math.max(0, parsedBackgroundContradictionLimit) : 2e3;
|
|
1209
1215
|
var parseBody = parseJsonBody;
|
|
1210
1216
|
function resolveRepo(body) {
|
|
1211
1217
|
return body.repo ?? inferRepoSlugFromPath(body.repo_path) ?? void 0;
|
|
@@ -1314,7 +1320,13 @@ function scheduleCleanupLoop() {
|
|
|
1314
1320
|
suppressions: c.command_suppressions
|
|
1315
1321
|
});
|
|
1316
1322
|
}
|
|
1317
|
-
const
|
|
1323
|
+
const contradictionCandidates = countContradictionCandidates(db);
|
|
1324
|
+
const newContradictions = contradictionCandidates <= backgroundContradictionLimit ? detectContradictions(db) : [];
|
|
1325
|
+
if (contradictionCandidates > backgroundContradictionLimit) {
|
|
1326
|
+
console.log(
|
|
1327
|
+
`[recall] background contradiction scan skipped: ${contradictionCandidates} candidates exceed limit ${backgroundContradictionLimit}`
|
|
1328
|
+
);
|
|
1329
|
+
}
|
|
1318
1330
|
if (newContradictions.length > 0) {
|
|
1319
1331
|
console.log(
|
|
1320
1332
|
`[recall] contradictions detected: ${newContradictions.length} new pair(s)`
|