@edihasaj/recall 2.0.11 → 2.0.13

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.
Files changed (77) hide show
  1. package/README.md +8 -1
  2. package/dist/{chunk-4OFTCJ3A.js → chunk-2HTTI7RT.js} +13 -13
  3. package/dist/{chunk-TKI5MM35.js → chunk-4ABDRSBH.js} +9 -9
  4. package/dist/{chunk-BB56EBUB.js → chunk-4RRFK6AN.js} +25 -3
  5. package/dist/{chunk-BB56EBUB.js.map → chunk-4RRFK6AN.js.map} +1 -1
  6. package/dist/{chunk-I5SACSGQ.js → chunk-567MAUUE.js} +5 -5
  7. package/dist/{chunk-FPD6Z63C.js → chunk-AADMAXTQ.js} +2 -2
  8. package/dist/{chunk-T46O2YNU.js → chunk-DEBUXCLE.js} +3 -3
  9. package/dist/{chunk-LP3Z5MGU.js → chunk-DYCRYEK7.js} +3 -3
  10. package/dist/{chunk-OFVI5NTJ.js → chunk-EIXCJFNV.js} +3 -3
  11. package/dist/{chunk-UWWUH2WI.js → chunk-FWEROCNP.js} +2 -2
  12. package/dist/{chunk-6PJ6ULQW.js → chunk-GLCHYZNP.js} +7 -7
  13. package/dist/{chunk-QTD2CINM.js → chunk-LSV3IW6V.js} +2 -2
  14. package/dist/{chunk-TXTUPXMI.js → chunk-MI3JLWFB.js} +5 -5
  15. package/dist/{chunk-WZOHW5TL.js → chunk-SGVZONKM.js} +2 -2
  16. package/dist/{chunk-WZOHW5TL.js.map → chunk-SGVZONKM.js.map} +1 -1
  17. package/dist/{chunk-XITENPDF.js → chunk-T52KOYE6.js} +351 -22
  18. package/dist/chunk-T52KOYE6.js.map +1 -0
  19. package/dist/{chunk-NRBUIOXH.js → chunk-TFIV63PJ.js} +414 -148
  20. package/dist/chunk-TFIV63PJ.js.map +1 -0
  21. package/dist/{chunk-7MSBS6FR.js → chunk-TPTG3R2E.js} +2 -2
  22. package/dist/{chunk-DVG3F533.js → chunk-UMWGDVKP.js} +4 -4
  23. package/dist/{chunk-NSJ5E7UL.js → chunk-YIQUWLD4.js} +7 -7
  24. package/dist/{cleanup-43KCWJTT.js → cleanup-JG676M52.js} +11 -11
  25. package/dist/cli.js +36 -36
  26. package/dist/{codex-trust-RWQPEUNN.js → codex-trust-4GCBZNZV.js} +4 -4
  27. package/dist/daemon.js +18 -18
  28. package/dist/dispatcher-RGD5XZSX.js +22 -0
  29. package/dist/{embeddings-OKGDZ2G7.js → embeddings-CW342LAP.js} +5 -5
  30. package/dist/ingest-6FW62DE2.js +20 -0
  31. package/dist/{keychain-BWP7257A.js → keychain-OQVWQN3A.js} +3 -3
  32. package/dist/mcp.js +15 -15
  33. package/dist/{memory-value-ALNH7ORV.js → memory-value-45BMUW54.js} +11 -11
  34. package/dist/{provenance-IXJ3XYBP.js → provenance-QZE6WA5M.js} +9 -9
  35. package/dist/quality-2DLKTP7F.js +25 -0
  36. package/dist/retrieval-BWZQSLOA.js +15 -0
  37. package/dist/{store-AADECMHC.js → store-DJULJ4V3.js} +4 -4
  38. package/dist/sync-server.js +2 -2
  39. package/dist/{tasks-GOVBFGEJ.js → tasks-PYC3UPQA.js} +11 -11
  40. package/dist/{usage-PDPAFEAU.js → usage-AMHA3O7R.js} +4 -4
  41. package/drizzle/0013_damp_zarda.sql +22 -0
  42. package/drizzle/meta/0013_snapshot.json +2874 -0
  43. package/drizzle/meta/_journal.json +7 -0
  44. package/package.json +18 -11
  45. package/dist/chunk-NRBUIOXH.js.map +0 -1
  46. package/dist/chunk-XITENPDF.js.map +0 -1
  47. package/dist/dispatcher-NUODV2I2.js +0 -22
  48. package/dist/ingest-KUO4E5L5.js +0 -20
  49. package/dist/quality-Z74GVWJS.js +0 -25
  50. package/dist/retrieval-VUAMO7AC.js +0 -15
  51. /package/dist/{chunk-4OFTCJ3A.js.map → chunk-2HTTI7RT.js.map} +0 -0
  52. /package/dist/{chunk-TKI5MM35.js.map → chunk-4ABDRSBH.js.map} +0 -0
  53. /package/dist/{chunk-I5SACSGQ.js.map → chunk-567MAUUE.js.map} +0 -0
  54. /package/dist/{chunk-FPD6Z63C.js.map → chunk-AADMAXTQ.js.map} +0 -0
  55. /package/dist/{chunk-T46O2YNU.js.map → chunk-DEBUXCLE.js.map} +0 -0
  56. /package/dist/{chunk-LP3Z5MGU.js.map → chunk-DYCRYEK7.js.map} +0 -0
  57. /package/dist/{chunk-OFVI5NTJ.js.map → chunk-EIXCJFNV.js.map} +0 -0
  58. /package/dist/{chunk-UWWUH2WI.js.map → chunk-FWEROCNP.js.map} +0 -0
  59. /package/dist/{chunk-6PJ6ULQW.js.map → chunk-GLCHYZNP.js.map} +0 -0
  60. /package/dist/{chunk-QTD2CINM.js.map → chunk-LSV3IW6V.js.map} +0 -0
  61. /package/dist/{chunk-TXTUPXMI.js.map → chunk-MI3JLWFB.js.map} +0 -0
  62. /package/dist/{chunk-7MSBS6FR.js.map → chunk-TPTG3R2E.js.map} +0 -0
  63. /package/dist/{chunk-DVG3F533.js.map → chunk-UMWGDVKP.js.map} +0 -0
  64. /package/dist/{chunk-NSJ5E7UL.js.map → chunk-YIQUWLD4.js.map} +0 -0
  65. /package/dist/{cleanup-43KCWJTT.js.map → cleanup-JG676M52.js.map} +0 -0
  66. /package/dist/{codex-trust-RWQPEUNN.js.map → codex-trust-4GCBZNZV.js.map} +0 -0
  67. /package/dist/{dispatcher-NUODV2I2.js.map → dispatcher-RGD5XZSX.js.map} +0 -0
  68. /package/dist/{embeddings-OKGDZ2G7.js.map → embeddings-CW342LAP.js.map} +0 -0
  69. /package/dist/{ingest-KUO4E5L5.js.map → ingest-6FW62DE2.js.map} +0 -0
  70. /package/dist/{keychain-BWP7257A.js.map → keychain-OQVWQN3A.js.map} +0 -0
  71. /package/dist/{memory-value-ALNH7ORV.js.map → memory-value-45BMUW54.js.map} +0 -0
  72. /package/dist/{provenance-IXJ3XYBP.js.map → provenance-QZE6WA5M.js.map} +0 -0
  73. /package/dist/{quality-Z74GVWJS.js.map → quality-2DLKTP7F.js.map} +0 -0
  74. /package/dist/{retrieval-VUAMO7AC.js.map → retrieval-BWZQSLOA.js.map} +0 -0
  75. /package/dist/{store-AADECMHC.js.map → store-DJULJ4V3.js.map} +0 -0
  76. /package/dist/{tasks-GOVBFGEJ.js.map → tasks-PYC3UPQA.js.map} +0 -0
  77. /package/dist/{usage-PDPAFEAU.js.map → usage-AMHA3O7R.js.map} +0 -0
package/README.md CHANGED
@@ -46,7 +46,8 @@ The bundled web dashboard (open via the menu bar item *Open Dashboard in Browser
46
46
 
47
47
  ## Benchmarks — Recall vs agentmemory
48
48
 
49
- LongMemEval-S, N=500 non-abstention. Same dataset agentmemory publishes.
49
+ LongMemEval-S, N=500, including 30 unanswerable question IDs. Same dataset
50
+ agentmemory publishes; these are retrieval metrics, not answer accuracy.
50
51
 
51
52
  | System | R@5 | R@10 | R@20 | NDCG@10 | MRR |
52
53
  |---|---|---|---|---|---|
@@ -338,6 +339,12 @@ recall eval retrieval --file docs/retrieval-eval.recall.json
338
339
  recall eval retrieval --file docs/retrieval-eval.recall-hybrid.json
339
340
  ```
340
341
 
342
+ For facts that change over time, the experimental local MCP tools
343
+ `temporal_remember` and `temporal_query` preserve dated evidence and support
344
+ explicit historical queries. See [temporal assertions and comparison
345
+ methodology](docs/temporal-memory.md) for semantics, current boundaries, and
346
+ the synthetic benchmark.
347
+
341
348
  ## Teach It
342
349
 
343
350
  Add a correction:
@@ -3,7 +3,7 @@ import {
3
3
  hasCommand,
4
4
  resolveCodexHomes,
5
5
  resolveUserHomeDir
6
- } from "./chunk-OFVI5NTJ.js";
6
+ } from "./chunk-EIXCJFNV.js";
7
7
  import {
8
8
  RECALL_DB_USER_VERSION,
9
9
  captureCorrectionFallback,
@@ -21,7 +21,7 @@ import {
21
21
  resolveLocalRepoPath,
22
22
  signalOutcomeFallback,
23
23
  startSessionLifecycle
24
- } from "./chunk-XITENPDF.js";
24
+ } from "./chunk-T52KOYE6.js";
25
25
  import {
26
26
  detectCorrections,
27
27
  isHighRiskRule,
@@ -29,7 +29,7 @@ import {
29
29
  isWorkspaceRootAlias,
30
30
  peekTasks,
31
31
  redactSensitiveText
32
- } from "./chunk-TKI5MM35.js";
32
+ } from "./chunk-4ABDRSBH.js";
33
33
  import {
34
34
  detectAndRecordRetrievalMissesSemantic,
35
35
  listInjectedMemoryIdsForSession,
@@ -37,10 +37,10 @@ import {
37
37
  pathMatchesMemory,
38
38
  recordCompletionUseValueEventsSemantic,
39
39
  toolCallTouchesMemory
40
- } from "./chunk-6PJ6ULQW.js";
40
+ } from "./chunk-GLCHYZNP.js";
41
41
  import {
42
42
  textMatches
43
- } from "./chunk-FPD6Z63C.js";
43
+ } from "./chunk-AADMAXTQ.js";
44
44
  import {
45
45
  appendEvidence,
46
46
  createMemory,
@@ -49,24 +49,24 @@ import {
49
49
  queryMemories,
50
50
  recordAudit,
51
51
  rejectMemory
52
- } from "./chunk-NSJ5E7UL.js";
52
+ } from "./chunk-YIQUWLD4.js";
53
53
  import {
54
54
  desc
55
- } from "./chunk-T46O2YNU.js";
55
+ } from "./chunk-DEBUXCLE.js";
56
56
  import {
57
57
  defineOwn,
58
58
  deleteOwn
59
- } from "./chunk-QTD2CINM.js";
59
+ } from "./chunk-LSV3IW6V.js";
60
60
  import {
61
61
  atomicWriteUtf8File,
62
62
  getEmbeddingModelInfo,
63
63
  readUtf8FileIfExists,
64
64
  tagActivitySource
65
- } from "./chunk-DVG3F533.js";
65
+ } from "./chunk-UMWGDVKP.js";
66
66
  import {
67
67
  init_keychain,
68
68
  keychain_exports
69
- } from "./chunk-7MSBS6FR.js";
69
+ } from "./chunk-TPTG3R2E.js";
70
70
  import {
71
71
  activityEvents,
72
72
  and,
@@ -80,11 +80,11 @@ import {
80
80
  memoryValueEvents,
81
81
  ne,
82
82
  sql
83
- } from "./chunk-BB56EBUB.js";
83
+ } from "./chunk-4RRFK6AN.js";
84
84
  import {
85
85
  __toCommonJS,
86
86
  init_define_RECALL_BUILD_INFO
87
- } from "./chunk-WZOHW5TL.js";
87
+ } from "./chunk-SGVZONKM.js";
88
88
 
89
89
  // src/adapters/markdown.ts
90
90
  init_define_RECALL_BUILD_INFO();
@@ -4521,4 +4521,4 @@ export {
4521
4521
  getDoctorReport,
4522
4522
  formatDoctorReport
4523
4523
  };
4524
- //# sourceMappingURL=chunk-4OFTCJ3A.js.map
4524
+ //# sourceMappingURL=chunk-2HTTI7RT.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  matchTokens,
3
3
  textMatchScore
4
- } from "./chunk-FPD6Z63C.js";
4
+ } from "./chunk-AADMAXTQ.js";
5
5
  import {
6
6
  appendEvidence,
7
7
  countDistinctCorrectionSessions,
@@ -23,13 +23,13 @@ import {
23
23
  restoreAutoInject,
24
24
  setMemoryNote,
25
25
  updateMemoryCaptureContext
26
- } from "./chunk-NSJ5E7UL.js";
26
+ } from "./chunk-YIQUWLD4.js";
27
27
  import {
28
28
  desc
29
- } from "./chunk-T46O2YNU.js";
29
+ } from "./chunk-DEBUXCLE.js";
30
30
  import {
31
31
  defineOwn
32
- } from "./chunk-QTD2CINM.js";
32
+ } from "./chunk-LSV3IW6V.js";
33
33
  import {
34
34
  CONFIDENCE,
35
35
  LlmCredentialError,
@@ -40,11 +40,11 @@ import {
40
40
  loadEmbeddingConfigFromEnv,
41
41
  queueMemoryEmbeddingSync,
42
42
  rowToMemory
43
- } from "./chunk-DVG3F533.js";
43
+ } from "./chunk-UMWGDVKP.js";
44
44
  import {
45
45
  hasProviderConfigured,
46
46
  init_keychain
47
- } from "./chunk-7MSBS6FR.js";
47
+ } from "./chunk-TPTG3R2E.js";
48
48
  import {
49
49
  activityEvents,
50
50
  and,
@@ -66,10 +66,10 @@ import {
66
66
  memoryValueEvents,
67
67
  or,
68
68
  sql
69
- } from "./chunk-BB56EBUB.js";
69
+ } from "./chunk-4RRFK6AN.js";
70
70
  import {
71
71
  init_define_RECALL_BUILD_INFO
72
- } from "./chunk-WZOHW5TL.js";
72
+ } from "./chunk-SGVZONKM.js";
73
73
 
74
74
  // src/maintenance/tasks.ts
75
75
  init_define_RECALL_BUILD_INFO();
@@ -4627,4 +4627,4 @@ export {
4627
4627
  processCorrection,
4628
4628
  processReviewFeedback
4629
4629
  };
4630
- //# sourceMappingURL=chunk-TKI5MM35.js.map
4630
+ //# sourceMappingURL=chunk-4ABDRSBH.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __export,
3
3
  init_define_RECALL_BUILD_INFO
4
- } from "./chunk-WZOHW5TL.js";
4
+ } from "./chunk-SGVZONKM.js";
5
5
 
6
6
  // node_modules/drizzle-orm/sql/sql.js
7
7
  init_define_RECALL_BUILD_INFO();
@@ -1302,7 +1302,8 @@ __export(schema_exports, {
1302
1302
  memoryValueEvents: () => memoryValueEvents,
1303
1303
  policyRules: () => policyRules,
1304
1304
  qualitySnapshots: () => qualitySnapshots,
1305
- syncState: () => syncState
1305
+ syncState: () => syncState,
1306
+ temporalFacts: () => temporalFacts
1306
1307
  });
1307
1308
  init_define_RECALL_BUILD_INFO();
1308
1309
 
@@ -2629,6 +2630,27 @@ var maintenanceCleanupLog = sqliteTable("maintenance_cleanup_log", {
2629
2630
  index("idx_cleanup_log_action").on(table.action),
2630
2631
  index("idx_cleanup_log_created").on(table.created_at)
2631
2632
  ]);
2633
+ var temporalFacts = sqliteTable("temporal_facts", {
2634
+ id: text("id").primaryKey(),
2635
+ repo: text("repo").notNull(),
2636
+ event_id: text("event_id").notNull(),
2637
+ subject: text("subject").notNull(),
2638
+ predicate: text("predicate").notNull(),
2639
+ value: text("value").notNull(),
2640
+ valid_from: text("valid_from").notNull(),
2641
+ valid_to: text("valid_to"),
2642
+ observed_at: text("observed_at").notNull(),
2643
+ evidence: text("evidence").notNull(),
2644
+ source: text("source"),
2645
+ confidence: real("confidence").notNull().default(0.5),
2646
+ supersedes_id: text("supersedes_id").references(() => temporalFacts.id),
2647
+ recorded_at: text("recorded_at").notNull()
2648
+ }, (table) => [
2649
+ uniqueIndex("uq_temporal_facts_repo_event").on(table.repo, table.event_id),
2650
+ index("idx_temporal_facts_lookup").on(table.repo, table.subject, table.predicate),
2651
+ index("idx_temporal_facts_observed").on(table.observed_at),
2652
+ index("idx_temporal_facts_supersedes").on(table.supersedes_id)
2653
+ ]);
2632
2654
 
2633
2655
  export {
2634
2656
  entityKind,
@@ -2703,4 +2725,4 @@ export {
2703
2725
  maintenanceCleanupLog,
2704
2726
  schema_exports
2705
2727
  };
2706
- //# sourceMappingURL=chunk-BB56EBUB.js.map
2728
+ //# sourceMappingURL=chunk-4RRFK6AN.js.map