@edihasaj/recall 1.0.1 → 1.0.3
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-VHW3L7OR.js → chunk-2OYJ7ZZA.js} +21 -4
- package/dist/{chunk-VHW3L7OR.js.map → chunk-2OYJ7ZZA.js.map} +1 -1
- package/dist/{chunk-DUTMCVI6.js → chunk-EGAWRS37.js} +3 -2
- package/dist/{chunk-DUTMCVI6.js.map → chunk-EGAWRS37.js.map} +1 -1
- package/dist/{chunk-QQ65JR35.js → chunk-IPUK5THZ.js} +3 -3
- package/dist/{chunk-U7KQCPL5.js → chunk-LOJTYQ4R.js} +3 -3
- package/dist/{cleanup-E7TX5RAW.js → cleanup-5XC6ZAEL.js} +2 -2
- package/dist/cli.js +9 -9
- package/dist/daemon.js +4 -4
- package/dist/{dispatcher-CWKRKVT4.js → dispatcher-EUWRNU7T.js} +2 -2
- package/dist/mcp.js +3 -3
- package/dist/{tasks-Y6HOLQTQ.js → tasks-RAKTJXNN.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-QQ65JR35.js.map → chunk-IPUK5THZ.js.map} +0 -0
- /package/dist/{chunk-U7KQCPL5.js.map → chunk-LOJTYQ4R.js.map} +0 -0
- /package/dist/{cleanup-E7TX5RAW.js.map → cleanup-5XC6ZAEL.js.map} +0 -0
- /package/dist/{dispatcher-CWKRKVT4.js.map → dispatcher-EUWRNU7T.js.map} +0 -0
- /package/dist/{tasks-Y6HOLQTQ.js.map → tasks-RAKTJXNN.js.map} +0 -0
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
scanAndStore,
|
|
27
27
|
sessionEndFallback,
|
|
28
28
|
signalOutcomeFallback
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2OYJ7ZZA.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_LEASE_SECONDS,
|
|
32
32
|
TaskClaimConflictError,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
releaseTask,
|
|
48
48
|
rollbackMemory,
|
|
49
49
|
submitTask
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-EGAWRS37.js";
|
|
51
51
|
import {
|
|
52
52
|
recordCompletionUseValueEventsSemantic
|
|
53
53
|
} from "./chunk-GJKKJYFT.js";
|
|
@@ -1197,4 +1197,4 @@ function createRecallMcpServer(db = initDb()) {
|
|
|
1197
1197
|
export {
|
|
1198
1198
|
createRecallMcpServer
|
|
1199
1199
|
};
|
|
1200
|
-
//# sourceMappingURL=chunk-
|
|
1200
|
+
//# sourceMappingURL=chunk-IPUK5THZ.js.map
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
listInjectedHistoryIdsForSession,
|
|
12
12
|
signalOutcomeFallback,
|
|
13
13
|
startSessionLifecycle
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2OYJ7ZZA.js";
|
|
15
15
|
import {
|
|
16
16
|
detectCorrections,
|
|
17
17
|
isHighRiskRule,
|
|
18
18
|
isTriggerTemplateRule,
|
|
19
19
|
peekTasks,
|
|
20
20
|
redactSensitiveText
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EGAWRS37.js";
|
|
22
22
|
import {
|
|
23
23
|
detectAndRecordRetrievalMissesSemantic,
|
|
24
24
|
listInjectedMemoryIdsForSession,
|
|
@@ -1167,4 +1167,4 @@ export {
|
|
|
1167
1167
|
readCodexSessionEndInputFromStdin,
|
|
1168
1168
|
dispatchCodexNotify
|
|
1169
1169
|
};
|
|
1170
|
-
//# sourceMappingURL=chunk-
|
|
1170
|
+
//# sourceMappingURL=chunk-LOJTYQ4R.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
qualityReasons,
|
|
13
13
|
revertCleanupRun,
|
|
14
14
|
runDeterministicCleanup
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EGAWRS37.js";
|
|
16
16
|
import "./chunk-FHEH6QDU.js";
|
|
17
17
|
import "./chunk-CW3XJDH7.js";
|
|
18
18
|
import "./chunk-4PK3YODK.js";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
revertCleanupRun,
|
|
37
37
|
runDeterministicCleanup
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=cleanup-
|
|
39
|
+
//# sourceMappingURL=cleanup-5XC6ZAEL.js.map
|
package/dist/cli.js
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
readCodexSessionStartInputFromStdin,
|
|
24
24
|
readCodexToolInputFromStdin,
|
|
25
25
|
restoreBackup
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LOJTYQ4R.js";
|
|
27
27
|
import {
|
|
28
28
|
RECALL_DB_USER_VERSION,
|
|
29
29
|
closeDb,
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
summarizeValueRetrievalEval,
|
|
70
70
|
togglePolicy,
|
|
71
71
|
writeRepoContextArtifact
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-2OYJ7ZZA.js";
|
|
73
73
|
import {
|
|
74
74
|
autoResolveContradictions,
|
|
75
75
|
computeAllHealthScores,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
recordAudit,
|
|
88
88
|
resolveContradiction,
|
|
89
89
|
rollbackMemory
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-EGAWRS37.js";
|
|
91
91
|
import "./chunk-GJKKJYFT.js";
|
|
92
92
|
import "./chunk-FHEH6QDU.js";
|
|
93
93
|
import "./chunk-CW3XJDH7.js";
|
|
@@ -4814,7 +4814,7 @@ graphCmd.command("query <query...>").description("Run graph-aware retrieval for
|
|
|
4814
4814
|
});
|
|
4815
4815
|
var maintenanceCmd = program.command("maintenance").description("Inspect and manage the delegated maintenance task queue");
|
|
4816
4816
|
maintenanceCmd.command("stats").description("Show backlog counts, completion stats, and mean latency").action(async () => {
|
|
4817
|
-
const { getTaskStats } = await import("./tasks-
|
|
4817
|
+
const { getTaskStats } = await import("./tasks-RAKTJXNN.js");
|
|
4818
4818
|
const db = initDb();
|
|
4819
4819
|
const stats = getTaskStats(db);
|
|
4820
4820
|
console.log(`Total tasks: ${stats.total}`);
|
|
@@ -4840,7 +4840,7 @@ maintenanceCmd.command("stats").description("Show backlog counts, completion sta
|
|
|
4840
4840
|
}
|
|
4841
4841
|
});
|
|
4842
4842
|
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) => {
|
|
4843
|
-
const { listTasks } = await import("./tasks-
|
|
4843
|
+
const { listTasks } = await import("./tasks-RAKTJXNN.js");
|
|
4844
4844
|
const db = initDb();
|
|
4845
4845
|
const tasks = listTasks(db, {
|
|
4846
4846
|
status: opts.status,
|
|
@@ -4862,7 +4862,7 @@ maintenanceCmd.command("list").description("List tasks (default: pending)").opti
|
|
|
4862
4862
|
}
|
|
4863
4863
|
});
|
|
4864
4864
|
maintenanceCmd.command("drop").description("Delete a task by id (or id prefix)").argument("<task-id>", "Task id or prefix").action(async (taskIdArg) => {
|
|
4865
|
-
const { deleteTask, listTasks } = await import("./tasks-
|
|
4865
|
+
const { deleteTask, listTasks } = await import("./tasks-RAKTJXNN.js");
|
|
4866
4866
|
const db = initDb();
|
|
4867
4867
|
const all = listTasks(db, { limit: 1e4 });
|
|
4868
4868
|
const matches = all.filter((t) => t.id === taskIdArg || t.id.startsWith(taskIdArg));
|
|
@@ -4968,8 +4968,8 @@ credentialsCmd.command("clear").description("Remove provider credentials from th
|
|
|
4968
4968
|
else console.log(`No ${provider} credentials found in Keychain.`);
|
|
4969
4969
|
});
|
|
4970
4970
|
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) => {
|
|
4971
|
-
const { dispatchPendingTasks, formatDispatchReport, buildPrompt } = await import("./dispatcher-
|
|
4972
|
-
const { listTasks } = await import("./tasks-
|
|
4971
|
+
const { dispatchPendingTasks, formatDispatchReport, buildPrompt } = await import("./dispatcher-EUWRNU7T.js");
|
|
4972
|
+
const { listTasks } = await import("./tasks-RAKTJXNN.js");
|
|
4973
4973
|
const db = initDb();
|
|
4974
4974
|
if (opts.preview) {
|
|
4975
4975
|
const pending = listTasks(db, {
|
|
@@ -5026,7 +5026,7 @@ ${p.prompt.max_output_tokens}
|
|
|
5026
5026
|
console.log(formatDispatchReport(report));
|
|
5027
5027
|
});
|
|
5028
5028
|
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").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) => {
|
|
5029
|
-
const { runDeterministicCleanup, formatCleanupReport, revertCleanupRun, listCleanupRuns } = await import("./cleanup-
|
|
5029
|
+
const { runDeterministicCleanup, formatCleanupReport, revertCleanupRun, listCleanupRuns } = await import("./cleanup-5XC6ZAEL.js");
|
|
5030
5030
|
const db = initDb();
|
|
5031
5031
|
if (opts.list) {
|
|
5032
5032
|
const runs = listCleanupRuns(db);
|
package/dist/daemon.js
CHANGED
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
handleSessionEndHook,
|
|
11
11
|
handleSessionStartHook,
|
|
12
12
|
handleToolHook
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LOJTYQ4R.js";
|
|
14
14
|
import {
|
|
15
15
|
createRecallMcpServer
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IPUK5THZ.js";
|
|
17
17
|
import {
|
|
18
18
|
graphQuery
|
|
19
19
|
} from "./chunk-MZWZKD5S.js";
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
updateHistorySnippet,
|
|
57
57
|
verifyHistoryEmbeddings,
|
|
58
58
|
writeRepoContextArtifact
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-2OYJ7ZZA.js";
|
|
60
60
|
import {
|
|
61
61
|
DEFAULT_ENQUEUE_CONFIG,
|
|
62
62
|
autoResolveContradictions,
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
resolveContradiction,
|
|
79
79
|
rollbackMemory,
|
|
80
80
|
runDeterministicCleanup
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-EGAWRS37.js";
|
|
82
82
|
import "./chunk-GJKKJYFT.js";
|
|
83
83
|
import "./chunk-FHEH6QDU.js";
|
|
84
84
|
import "./chunk-CW3XJDH7.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
dispatchPendingTasks,
|
|
4
4
|
formatDispatchReport,
|
|
5
5
|
hasAnyLlmProvider
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EGAWRS37.js";
|
|
7
7
|
import "./chunk-FHEH6QDU.js";
|
|
8
8
|
import "./chunk-CW3XJDH7.js";
|
|
9
9
|
import "./chunk-4PK3YODK.js";
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
formatDispatchReport,
|
|
19
19
|
hasAnyLlmProvider
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=dispatcher-
|
|
21
|
+
//# sourceMappingURL=dispatcher-EUWRNU7T.js.map
|
package/dist/mcp.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRecallMcpServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IPUK5THZ.js";
|
|
4
4
|
import "./chunk-MZWZKD5S.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-2OYJ7ZZA.js";
|
|
6
|
+
import "./chunk-EGAWRS37.js";
|
|
7
7
|
import "./chunk-GJKKJYFT.js";
|
|
8
8
|
import "./chunk-FHEH6QDU.js";
|
|
9
9
|
import "./chunk-CW3XJDH7.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
submitTask,
|
|
30
30
|
sweepExpiredLeases,
|
|
31
31
|
targetKey
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-EGAWRS37.js";
|
|
33
33
|
import "./chunk-FHEH6QDU.js";
|
|
34
34
|
import "./chunk-CW3XJDH7.js";
|
|
35
35
|
import "./chunk-4PK3YODK.js";
|
|
@@ -70,4 +70,4 @@ export {
|
|
|
70
70
|
sweepExpiredLeases,
|
|
71
71
|
targetKey
|
|
72
72
|
};
|
|
73
|
-
//# sourceMappingURL=tasks-
|
|
73
|
+
//# sourceMappingURL=tasks-RAKTJXNN.js.map
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|