@edihasaj/recall 0.8.10 → 0.8.12
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-TW7QBUPE.js → chunk-33KM4YYX.js} +5 -5
- package/dist/{chunk-IZSEBIZH.js → chunk-55KCGAOX.js} +3 -2
- package/dist/{chunk-IZSEBIZH.js.map → chunk-55KCGAOX.js.map} +1 -1
- package/dist/{chunk-ORJTJU52.js → chunk-6CSJD45G.js} +8 -8
- package/dist/{chunk-2WNWDLUS.js → chunk-CQZVFS3P.js} +4 -4
- package/dist/{chunk-6RVG472Q.js → chunk-FIWV6K57.js} +8 -88
- package/dist/chunk-FIWV6K57.js.map +1 -0
- package/dist/{chunk-246257OY.js → chunk-FKZ7IDIY.js} +3 -3
- package/dist/{chunk-K3SFQAT4.js → chunk-GLQOAY5O.js} +2 -2
- package/dist/{chunk-BB66SNQU.js → chunk-JPHSGWSI.js} +195 -7
- package/dist/chunk-JPHSGWSI.js.map +1 -0
- package/dist/{chunk-KCSMBLOA.js → chunk-MIRCNPUN.js} +4 -4
- package/dist/{chunk-LWCBXHOI.js → chunk-R4G62MKZ.js} +2 -2
- package/dist/{chunk-NTUQTB4R.js → chunk-TPCWQS6Q.js} +3 -3
- package/dist/{chunk-3GRPT3EJ.js → chunk-VT5VAEHY.js} +2 -2
- package/dist/{chunk-QXFNOEC5.js → chunk-XRM6FCWH.js} +8 -8
- package/dist/{cleanup-KRK5B3AD.js → cleanup-6OK2DCUA.js} +8 -6
- package/dist/cli.js +24 -24
- package/dist/cli.js.map +1 -1
- package/dist/daemon.js +16 -16
- package/dist/daemon.js.map +1 -1
- package/dist/{dispatcher-JQIVQUIM.js → dispatcher-2Z27VP5Q.js} +6 -6
- package/dist/{embeddings-GYY66SAT.js → embeddings-5ARZAEM5.js} +3 -3
- package/dist/{ingest-27GZFC7Y.js → ingest-55ISNXYX.js} +6 -6
- package/dist/mcp.js +10 -10
- package/dist/{memory-value-EO7V2QMP.js → memory-value-56GK4AC6.js} +6 -6
- package/dist/{quality-E272AKPW.js → quality-IXRBBLYF.js} +7 -7
- package/dist/retrieval-M566ZUK5.js +13 -0
- package/dist/{store-PRLXSOOC.js → store-QLWSC7S4.js} +3 -3
- package/dist/{tasks-43I6WNJS.js → tasks-OZ3IRHL5.js} +6 -6
- package/dist/{usage-KHOLIR3S.js → usage-CAAACLUR.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-6RVG472Q.js.map +0 -1
- package/dist/chunk-BB66SNQU.js.map +0 -1
- package/dist/retrieval-MXYJRAEW.js +0 -13
- /package/dist/{chunk-TW7QBUPE.js.map → chunk-33KM4YYX.js.map} +0 -0
- /package/dist/{chunk-ORJTJU52.js.map → chunk-6CSJD45G.js.map} +0 -0
- /package/dist/{chunk-2WNWDLUS.js.map → chunk-CQZVFS3P.js.map} +0 -0
- /package/dist/{chunk-246257OY.js.map → chunk-FKZ7IDIY.js.map} +0 -0
- /package/dist/{chunk-K3SFQAT4.js.map → chunk-GLQOAY5O.js.map} +0 -0
- /package/dist/{chunk-KCSMBLOA.js.map → chunk-MIRCNPUN.js.map} +0 -0
- /package/dist/{chunk-LWCBXHOI.js.map → chunk-R4G62MKZ.js.map} +0 -0
- /package/dist/{chunk-NTUQTB4R.js.map → chunk-TPCWQS6Q.js.map} +0 -0
- /package/dist/{chunk-3GRPT3EJ.js.map → chunk-VT5VAEHY.js.map} +0 -0
- /package/dist/{chunk-QXFNOEC5.js.map → chunk-XRM6FCWH.js.map} +0 -0
- /package/dist/{cleanup-KRK5B3AD.js.map → cleanup-6OK2DCUA.js.map} +0 -0
- /package/dist/{dispatcher-JQIVQUIM.js.map → dispatcher-2Z27VP5Q.js.map} +0 -0
- /package/dist/{embeddings-GYY66SAT.js.map → embeddings-5ARZAEM5.js.map} +0 -0
- /package/dist/{ingest-27GZFC7Y.js.map → ingest-55ISNXYX.js.map} +0 -0
- /package/dist/{memory-value-EO7V2QMP.js.map → memory-value-56GK4AC6.js.map} +0 -0
- /package/dist/{quality-E272AKPW.js.map → quality-IXRBBLYF.js.map} +0 -0
- /package/dist/{retrieval-MXYJRAEW.js.map → retrieval-M566ZUK5.js.map} +0 -0
- /package/dist/{store-PRLXSOOC.js.map → store-QLWSC7S4.js.map} +0 -0
- /package/dist/{tasks-43I6WNJS.js.map → tasks-OZ3IRHL5.js.map} +0 -0
- /package/dist/{usage-KHOLIR3S.js.map → usage-CAAACLUR.js.map} +0 -0
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
listEntitiesForMemory,
|
|
3
3
|
listMemoryIdsForEntity,
|
|
4
4
|
neighborsOf
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-R4G62MKZ.js";
|
|
6
6
|
import {
|
|
7
7
|
getMemory
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TPCWQS6Q.js";
|
|
9
9
|
import {
|
|
10
10
|
hybridSearch,
|
|
11
11
|
searchMemoryFtsIndex
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GLQOAY5O.js";
|
|
13
13
|
|
|
14
14
|
// src/graph/retrieval.ts
|
|
15
15
|
var SEED_WEIGHT = 1;
|
|
@@ -120,4 +120,4 @@ async function graphQuery(db, query, embeddingConfig, options = {}) {
|
|
|
120
120
|
export {
|
|
121
121
|
graphQuery
|
|
122
122
|
};
|
|
123
|
-
//# sourceMappingURL=chunk-
|
|
123
|
+
//# sourceMappingURL=chunk-MIRCNPUN.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
memoryEntities,
|
|
9
9
|
or,
|
|
10
10
|
sql
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-55KCGAOX.js";
|
|
12
12
|
|
|
13
13
|
// src/graph/store.ts
|
|
14
14
|
import { randomUUID } from "crypto";
|
|
@@ -279,4 +279,4 @@ export {
|
|
|
279
279
|
countEntities,
|
|
280
280
|
countRelations
|
|
281
281
|
};
|
|
282
|
-
//# sourceMappingURL=chunk-
|
|
282
|
+
//# sourceMappingURL=chunk-R4G62MKZ.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CONFIDENCE,
|
|
3
3
|
PROMOTION,
|
|
4
4
|
queueMemoryEmbeddingSync
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GLQOAY5O.js";
|
|
6
6
|
import {
|
|
7
7
|
and,
|
|
8
8
|
eq,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
like,
|
|
13
13
|
memories,
|
|
14
14
|
sql
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-55KCGAOX.js";
|
|
16
16
|
|
|
17
17
|
// src/models/dedupe.ts
|
|
18
18
|
function normalizeDedupeText(text) {
|
|
@@ -463,4 +463,4 @@ export {
|
|
|
463
463
|
getMemoryFeedbackSummaries,
|
|
464
464
|
feedbackWeightedScore
|
|
465
465
|
};
|
|
466
|
-
//# sourceMappingURL=chunk-
|
|
466
|
+
//# sourceMappingURL=chunk-TPCWQS6Q.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sql
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-55KCGAOX.js";
|
|
4
4
|
|
|
5
5
|
// node_modules/drizzle-orm/sql/expressions/select.js
|
|
6
6
|
function asc(column) {
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
asc,
|
|
15
15
|
desc
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
17
|
+
//# sourceMappingURL=chunk-VT5VAEHY.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
listInjectedHistoryIdsForSession,
|
|
12
12
|
signalOutcomeFallback,
|
|
13
13
|
startSessionLifecycle
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FIWV6K57.js";
|
|
15
15
|
import {
|
|
16
16
|
detectAndRecordRetrievalMissesSemantic,
|
|
17
17
|
listInjectedMemoryIdsForSession,
|
|
@@ -20,30 +20,30 @@ import {
|
|
|
20
20
|
recordCompletionUseValueEventsSemantic,
|
|
21
21
|
textMatches,
|
|
22
22
|
toolCallTouchesMemory
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-33KM4YYX.js";
|
|
24
24
|
import {
|
|
25
25
|
detectCorrections,
|
|
26
26
|
isHighRiskRule,
|
|
27
27
|
isTriggerTemplateRule,
|
|
28
28
|
peekTasks,
|
|
29
29
|
redactSensitiveText
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-JPHSGWSI.js";
|
|
31
31
|
import {
|
|
32
32
|
hookCallDedupeKey,
|
|
33
33
|
queryMemories
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-TPCWQS6Q.js";
|
|
35
35
|
import {
|
|
36
36
|
desc
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-VT5VAEHY.js";
|
|
38
38
|
import {
|
|
39
39
|
tagActivitySource
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-GLQOAY5O.js";
|
|
41
41
|
import {
|
|
42
42
|
and,
|
|
43
43
|
eq,
|
|
44
44
|
hookCalls,
|
|
45
45
|
sql
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-55KCGAOX.js";
|
|
47
47
|
|
|
48
48
|
// src/backups/snapshot.ts
|
|
49
49
|
import { copyFileSync, existsSync, mkdirSync, readdirSync, rmSync, statSync } from "fs";
|
|
@@ -1109,4 +1109,4 @@ export {
|
|
|
1109
1109
|
readCodexSessionEndInputFromStdin,
|
|
1110
1110
|
dispatchCodexNotify
|
|
1111
1111
|
};
|
|
1112
|
-
//# sourceMappingURL=chunk-
|
|
1112
|
+
//# sourceMappingURL=chunk-XRM6FCWH.js.map
|
|
@@ -5,17 +5,18 @@ import {
|
|
|
5
5
|
planGlobalizeCrossRepo,
|
|
6
6
|
planPromoteRepeats,
|
|
7
7
|
planRejectFragments,
|
|
8
|
+
planRejectGenericScannedTooling,
|
|
8
9
|
planRejectInvalidScopes,
|
|
9
10
|
planRejectTestFixtureRepos,
|
|
10
11
|
planSuppressCommands,
|
|
11
12
|
qualityReasons,
|
|
12
13
|
revertCleanupRun,
|
|
13
14
|
runDeterministicCleanup
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-JPHSGWSI.js";
|
|
16
|
+
import "./chunk-TPCWQS6Q.js";
|
|
17
|
+
import "./chunk-VT5VAEHY.js";
|
|
18
|
+
import "./chunk-GLQOAY5O.js";
|
|
19
|
+
import "./chunk-55KCGAOX.js";
|
|
19
20
|
import "./chunk-DNFKAHS6.js";
|
|
20
21
|
import "./chunk-4CV4JOE5.js";
|
|
21
22
|
export {
|
|
@@ -25,6 +26,7 @@ export {
|
|
|
25
26
|
planGlobalizeCrossRepo,
|
|
26
27
|
planPromoteRepeats,
|
|
27
28
|
planRejectFragments,
|
|
29
|
+
planRejectGenericScannedTooling,
|
|
28
30
|
planRejectInvalidScopes,
|
|
29
31
|
planRejectTestFixtureRepos,
|
|
30
32
|
planSuppressCommands,
|
|
@@ -32,4 +34,4 @@ export {
|
|
|
32
34
|
revertCleanupRun,
|
|
33
35
|
runDeterministicCleanup
|
|
34
36
|
};
|
|
35
|
-
//# sourceMappingURL=cleanup-
|
|
37
|
+
//# sourceMappingURL=cleanup-6OK2DCUA.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-XRM6FCWH.js";
|
|
27
27
|
import {
|
|
28
28
|
RECALL_DB_USER_VERSION,
|
|
29
29
|
compileContext,
|
|
@@ -66,8 +66,8 @@ import {
|
|
|
66
66
|
summarizeValueRetrievalEval,
|
|
67
67
|
togglePolicy,
|
|
68
68
|
writeRepoContextArtifact
|
|
69
|
-
} from "./chunk-
|
|
70
|
-
import "./chunk-
|
|
69
|
+
} from "./chunk-FIWV6K57.js";
|
|
70
|
+
import "./chunk-33KM4YYX.js";
|
|
71
71
|
import "./chunk-PUMEMKGF.js";
|
|
72
72
|
import {
|
|
73
73
|
autoResolveContradictions,
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
recordAudit,
|
|
87
87
|
resolveContradiction,
|
|
88
88
|
rollbackMemory
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-JPHSGWSI.js";
|
|
90
90
|
import {
|
|
91
91
|
confirmMemory,
|
|
92
92
|
createMemory,
|
|
@@ -95,8 +95,8 @@ import {
|
|
|
95
95
|
listRepos,
|
|
96
96
|
queryMemories,
|
|
97
97
|
rejectMemory
|
|
98
|
-
} from "./chunk-
|
|
99
|
-
import "./chunk-
|
|
98
|
+
} from "./chunk-TPCWQS6Q.js";
|
|
99
|
+
import "./chunk-VT5VAEHY.js";
|
|
100
100
|
import {
|
|
101
101
|
bootstrapEmbeddings,
|
|
102
102
|
ensureEmbeddingProviderReady,
|
|
@@ -109,13 +109,13 @@ import {
|
|
|
109
109
|
searchMemoryFtsIndex,
|
|
110
110
|
semanticSearch,
|
|
111
111
|
verifyEmbeddings
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-GLQOAY5O.js";
|
|
113
113
|
import {
|
|
114
114
|
eq,
|
|
115
115
|
gt,
|
|
116
116
|
memories,
|
|
117
117
|
syncState
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-55KCGAOX.js";
|
|
119
119
|
import {
|
|
120
120
|
init_keychain,
|
|
121
121
|
keychain_exports
|
|
@@ -3052,7 +3052,7 @@ evalCmd.command("value-retrieval").description("Run retrieval eval cases synthes
|
|
|
3052
3052
|
});
|
|
3053
3053
|
let snapshot = null;
|
|
3054
3054
|
if (opts.snapshot) {
|
|
3055
|
-
const { computeQualityReport, recordQualitySnapshot } = await import("./quality-
|
|
3055
|
+
const { computeQualityReport, recordQualitySnapshot } = await import("./quality-IXRBBLYF.js");
|
|
3056
3056
|
const qualityReport = computeQualityReport(db, { sinceIso: report.since });
|
|
3057
3057
|
snapshot = recordQualitySnapshot(
|
|
3058
3058
|
db,
|
|
@@ -3538,13 +3538,13 @@ uiCmd.command("status").description("Show WebUI status").option("--daemon-port <
|
|
|
3538
3538
|
var graphCmd = program.command("graph").description("Inspect and rebuild the knowledge graph (entities + relations)");
|
|
3539
3539
|
graphCmd.command("stats").description("Show entity/relation counts").action(async () => {
|
|
3540
3540
|
const db = initDb();
|
|
3541
|
-
const { countEntities, countRelations } = await import("./store-
|
|
3541
|
+
const { countEntities, countRelations } = await import("./store-QLWSC7S4.js");
|
|
3542
3542
|
console.log(`entities: ${countEntities(db)}`);
|
|
3543
3543
|
console.log(`relations: ${countRelations(db)}`);
|
|
3544
3544
|
});
|
|
3545
3545
|
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").action(async (opts) => {
|
|
3546
3546
|
const db = initDb();
|
|
3547
|
-
const { ingestMemoryHeuristic } = await import("./ingest-
|
|
3547
|
+
const { ingestMemoryHeuristic } = await import("./ingest-55ISNXYX.js");
|
|
3548
3548
|
const rows = queryMemories(db, {
|
|
3549
3549
|
repo: opts.repo,
|
|
3550
3550
|
status: "active",
|
|
@@ -3563,7 +3563,7 @@ graphCmd.command("backfill").description("Run the heuristic extractor over every
|
|
|
3563
3563
|
});
|
|
3564
3564
|
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) => {
|
|
3565
3565
|
const db = initDb();
|
|
3566
|
-
const { listEntities } = await import("./store-
|
|
3566
|
+
const { listEntities } = await import("./store-QLWSC7S4.js");
|
|
3567
3567
|
const rows = listEntities(db, {
|
|
3568
3568
|
repo: opts.repo,
|
|
3569
3569
|
kind: opts.kind,
|
|
@@ -3582,8 +3582,8 @@ graphCmd.command("entities").description("List entities").option("--repo <repo>"
|
|
|
3582
3582
|
});
|
|
3583
3583
|
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) => {
|
|
3584
3584
|
const db = initDb();
|
|
3585
|
-
const { graphQuery } = await import("./retrieval-
|
|
3586
|
-
const { loadEmbeddingConfigFromEnv: loadEmbeddingConfigFromEnv2 } = await import("./embeddings-
|
|
3585
|
+
const { graphQuery } = await import("./retrieval-M566ZUK5.js");
|
|
3586
|
+
const { loadEmbeddingConfigFromEnv: loadEmbeddingConfigFromEnv2 } = await import("./embeddings-5ARZAEM5.js");
|
|
3587
3587
|
const embeddingConfig = loadEmbeddingConfigFromEnv2();
|
|
3588
3588
|
const result = await graphQuery(db, queryTokens.join(" "), embeddingConfig, {
|
|
3589
3589
|
repo: opts.repo,
|
|
@@ -3599,7 +3599,7 @@ graphCmd.command("query <query...>").description("Run graph-aware retrieval for
|
|
|
3599
3599
|
});
|
|
3600
3600
|
var maintenanceCmd = program.command("maintenance").description("Inspect and manage the delegated maintenance task queue");
|
|
3601
3601
|
maintenanceCmd.command("stats").description("Show backlog counts, completion stats, and mean latency").action(async () => {
|
|
3602
|
-
const { getTaskStats } = await import("./tasks-
|
|
3602
|
+
const { getTaskStats } = await import("./tasks-OZ3IRHL5.js");
|
|
3603
3603
|
const db = initDb();
|
|
3604
3604
|
const stats = getTaskStats(db);
|
|
3605
3605
|
console.log(`Total tasks: ${stats.total}`);
|
|
@@ -3625,7 +3625,7 @@ maintenanceCmd.command("stats").description("Show backlog counts, completion sta
|
|
|
3625
3625
|
}
|
|
3626
3626
|
});
|
|
3627
3627
|
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) => {
|
|
3628
|
-
const { listTasks } = await import("./tasks-
|
|
3628
|
+
const { listTasks } = await import("./tasks-OZ3IRHL5.js");
|
|
3629
3629
|
const db = initDb();
|
|
3630
3630
|
const tasks = listTasks(db, {
|
|
3631
3631
|
status: opts.status,
|
|
@@ -3647,7 +3647,7 @@ maintenanceCmd.command("list").description("List tasks (default: pending)").opti
|
|
|
3647
3647
|
}
|
|
3648
3648
|
});
|
|
3649
3649
|
maintenanceCmd.command("drop").description("Delete a task by id (or id prefix)").argument("<task-id>", "Task id or prefix").action(async (taskIdArg) => {
|
|
3650
|
-
const { deleteTask, listTasks } = await import("./tasks-
|
|
3650
|
+
const { deleteTask, listTasks } = await import("./tasks-OZ3IRHL5.js");
|
|
3651
3651
|
const db = initDb();
|
|
3652
3652
|
const all = listTasks(db, { limit: 1e4 });
|
|
3653
3653
|
const matches = all.filter((t) => t.id === taskIdArg || t.id.startsWith(taskIdArg));
|
|
@@ -3753,8 +3753,8 @@ credentialsCmd.command("clear").description("Remove provider credentials from th
|
|
|
3753
3753
|
else console.log(`No ${provider} credentials found in Keychain.`);
|
|
3754
3754
|
});
|
|
3755
3755
|
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) => {
|
|
3756
|
-
const { dispatchPendingTasks, formatDispatchReport, buildPrompt } = await import("./dispatcher-
|
|
3757
|
-
const { listTasks } = await import("./tasks-
|
|
3756
|
+
const { dispatchPendingTasks, formatDispatchReport, buildPrompt } = await import("./dispatcher-2Z27VP5Q.js");
|
|
3757
|
+
const { listTasks } = await import("./tasks-OZ3IRHL5.js");
|
|
3758
3758
|
const db = initDb();
|
|
3759
3759
|
if (opts.preview) {
|
|
3760
3760
|
const pending = listTasks(db, {
|
|
@@ -3810,8 +3810,8 @@ ${p.prompt.max_output_tokens}
|
|
|
3810
3810
|
}
|
|
3811
3811
|
console.log(formatDispatchReport(report));
|
|
3812
3812
|
});
|
|
3813
|
-
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").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) => {
|
|
3814
|
-
const { runDeterministicCleanup, formatCleanupReport, revertCleanupRun, listCleanupRuns } = await import("./cleanup-
|
|
3813
|
+
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) => {
|
|
3814
|
+
const { runDeterministicCleanup, formatCleanupReport, revertCleanupRun, listCleanupRuns } = await import("./cleanup-6OK2DCUA.js");
|
|
3815
3815
|
const db = initDb();
|
|
3816
3816
|
if (opts.list) {
|
|
3817
3817
|
const runs = listCleanupRuns(db);
|
|
@@ -3865,7 +3865,7 @@ maintenanceCmd.command("quality").description("Show injection outcome distributi
|
|
|
3865
3865
|
recordQualitySnapshot,
|
|
3866
3866
|
listQualitySnapshots,
|
|
3867
3867
|
diffQualitySnapshots
|
|
3868
|
-
} = await import("./quality-
|
|
3868
|
+
} = await import("./quality-IXRBBLYF.js");
|
|
3869
3869
|
const db = initDb();
|
|
3870
3870
|
if (opts.history) {
|
|
3871
3871
|
const snaps = listQualitySnapshots(db);
|
|
@@ -3926,7 +3926,7 @@ maintenanceCmd.command("value-backfill").description("Backfill memory value even
|
|
|
3926
3926
|
const {
|
|
3927
3927
|
backfillMemoryValueEvents,
|
|
3928
3928
|
formatMemoryValueBackfillReport
|
|
3929
|
-
} = await import("./memory-value-
|
|
3929
|
+
} = await import("./memory-value-56GK4AC6.js");
|
|
3930
3930
|
const db = initDb();
|
|
3931
3931
|
const report = backfillMemoryValueEvents(db, {
|
|
3932
3932
|
sinceIso: opts.since,
|
|
@@ -3939,7 +3939,7 @@ maintenanceCmd.command("value-backfill").description("Backfill memory value even
|
|
|
3939
3939
|
console.log(formatMemoryValueBackfillReport(report));
|
|
3940
3940
|
});
|
|
3941
3941
|
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) => {
|
|
3942
|
-
const { summarizeUsage, formatUsageReport } = await import("./usage-
|
|
3942
|
+
const { summarizeUsage, formatUsageReport } = await import("./usage-CAAACLUR.js");
|
|
3943
3943
|
const db = initDb();
|
|
3944
3944
|
const summary = summarizeUsage(db, {
|
|
3945
3945
|
sinceIso: opts.since,
|