@edihasaj/recall 0.7.1 → 0.8.0
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-PG2ZVVAT.js → chunk-2G5DMOVA.js} +7 -5
- package/dist/{chunk-PG2ZVVAT.js.map → chunk-2G5DMOVA.js.map} +1 -1
- package/dist/{chunk-PH6YNVHR.js → chunk-BMWLHPLS.js} +29 -4
- package/dist/chunk-BMWLHPLS.js.map +1 -0
- package/dist/{chunk-GNXTOM5K.js → chunk-I5TTXHOM.js} +23 -3
- package/dist/chunk-I5TTXHOM.js.map +1 -0
- package/dist/{chunk-CPOANMKD.js → chunk-OLZS3M24.js} +3 -3
- package/dist/{cleanup-YGHZIYLJ.js → cleanup-2HK2TX7Q.js} +2 -2
- package/dist/cli.js +191 -29
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +7 -7
- package/dist/daemon.js.map +1 -1
- package/dist/{dispatcher-5MDL3QQT.js → dispatcher-Z4GEFOQG.js} +2 -2
- package/dist/mcp.js +3 -3
- package/dist/{tasks-6J3LULYO.js → tasks-GJBURDAB.js} +2 -2
- package/package.json +2 -1
- package/dist/chunk-GNXTOM5K.js.map +0 -1
- package/dist/chunk-PH6YNVHR.js.map +0 -1
- /package/dist/{chunk-CPOANMKD.js.map → chunk-OLZS3M24.js.map} +0 -0
- /package/dist/{cleanup-YGHZIYLJ.js.map → cleanup-2HK2TX7Q.js.map} +0 -0
- /package/dist/{dispatcher-5MDL3QQT.js.map → dispatcher-Z4GEFOQG.js.map} +0 -0
- /package/dist/{tasks-6J3LULYO.js.map → tasks-GJBURDAB.js.map} +0 -0
package/dist/daemon.js
CHANGED
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
handleSessionEndHook,
|
|
13
13
|
handleSessionStartHook,
|
|
14
14
|
handleToolHook
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OLZS3M24.js";
|
|
16
16
|
import {
|
|
17
17
|
createRecallMcpServer
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-I5TTXHOM.js";
|
|
19
19
|
import {
|
|
20
20
|
graphQuery
|
|
21
21
|
} from "./chunk-AKODTKWM.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
updateHistorySnippet,
|
|
70
70
|
verifyHistoryEmbeddings,
|
|
71
71
|
writeRepoContextArtifact
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-2G5DMOVA.js";
|
|
73
73
|
import {
|
|
74
74
|
DEFAULT_ENQUEUE_CONFIG,
|
|
75
75
|
autoResolveContradictions,
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
resolveContradiction,
|
|
91
91
|
rollbackMemory,
|
|
92
92
|
runDeterministicCleanup
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-BMWLHPLS.js";
|
|
94
94
|
import {
|
|
95
95
|
confirmMemory,
|
|
96
96
|
getMemory,
|
|
@@ -1509,7 +1509,7 @@ var server = createServer2(async (req, res) => {
|
|
|
1509
1509
|
if (path === "/correct" && method === "POST") {
|
|
1510
1510
|
const body = await parseBody(req);
|
|
1511
1511
|
const repo = resolveRepo(body);
|
|
1512
|
-
const ids = await processCorrection(db, body.text, {
|
|
1512
|
+
const { ids, pendingTaskId } = await processCorrection(db, body.text, {
|
|
1513
1513
|
sessionId: body.session_id ?? "hook",
|
|
1514
1514
|
repo,
|
|
1515
1515
|
path: body.path
|
|
@@ -1522,7 +1522,7 @@ var server = createServer2(async (req, res) => {
|
|
|
1522
1522
|
event_type: "correction",
|
|
1523
1523
|
memory_ids: ids,
|
|
1524
1524
|
request: { text: body.text },
|
|
1525
|
-
result: { created: ids }
|
|
1525
|
+
result: { created: ids, pending_task_id: pendingTaskId ?? null }
|
|
1526
1526
|
});
|
|
1527
1527
|
for (const id of ids) {
|
|
1528
1528
|
safeIngestMemory(id);
|
|
@@ -1532,7 +1532,7 @@ var server = createServer2(async (req, res) => {
|
|
|
1532
1532
|
source: "correction"
|
|
1533
1533
|
});
|
|
1534
1534
|
}
|
|
1535
|
-
return send(res, 200, { created: ids });
|
|
1535
|
+
return send(res, 200, { created: ids, pending_task_id: pendingTaskId ?? null });
|
|
1536
1536
|
}
|
|
1537
1537
|
if (path === "/review" && method === "POST") {
|
|
1538
1538
|
const body = await parseBody(req);
|