@edihasaj/recall 2.0.16 → 2.0.17

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 (83) hide show
  1. package/README.md +22 -4
  2. package/dist/{chunk-Q2F7EQCA.js → chunk-22AJZ7UQ.js} +2 -2
  3. package/dist/{chunk-GCMP2YYN.js → chunk-2COJXGP4.js} +2 -2
  4. package/dist/{chunk-SYSSACWJ.js → chunk-CSBXI3ET.js} +39 -20
  5. package/dist/chunk-CSBXI3ET.js.map +1 -0
  6. package/dist/{chunk-QPR77YXP.js → chunk-EY6HIDG2.js} +13 -11
  7. package/dist/chunk-EY6HIDG2.js.map +1 -0
  8. package/dist/{chunk-GDN44ZC7.js → chunk-FNIIUNW6.js} +2 -2
  9. package/dist/{chunk-YELXEWKH.js → chunk-GK7OWVRQ.js} +3 -3
  10. package/dist/{chunk-7UWVXXTU.js → chunk-KLERXJ47.js} +3 -3
  11. package/dist/{chunk-THC7QOAK.js → chunk-KVZN35JF.js} +7 -7
  12. package/dist/{chunk-SEXZABB2.js → chunk-Q22B7YDQ.js} +5 -5
  13. package/dist/{chunk-VRAG5V66.js → chunk-Q7254IPO.js} +908 -43
  14. package/dist/chunk-Q7254IPO.js.map +1 -0
  15. package/dist/{chunk-EKFOHVHS.js → chunk-QQ6YHR7I.js} +11 -11
  16. package/dist/{chunk-MLC3KO2O.js → chunk-RAQT2OBR.js} +7 -7
  17. package/dist/{chunk-DVLQYARZ.js → chunk-UDLRBKC3.js} +3 -3
  18. package/dist/{chunk-DOYTMHDI.js → chunk-VUVFQJWZ.js} +2 -2
  19. package/dist/{chunk-LEOXFQJJ.js → chunk-XRKUJ5B4.js} +2 -2
  20. package/dist/{chunk-ZF23OPYV.js → chunk-YIUBD27J.js} +14 -14
  21. package/dist/chunk-YIUBD27J.js.map +1 -0
  22. package/dist/{chunk-DAW6FUGL.js → chunk-YIVOTIDF.js} +5 -5
  23. package/dist/{chunk-FYMMTODQ.js → chunk-ZT67CYDS.js} +2 -2
  24. package/dist/{chunk-FYMMTODQ.js.map → chunk-ZT67CYDS.js.map} +1 -1
  25. package/dist/{cleanup-WJFE6IVP.js → cleanup-4TXIHTJT.js} +11 -11
  26. package/dist/cli.js +55 -36
  27. package/dist/cli.js.map +1 -1
  28. package/dist/{codex-trust-3BFTJFRD.js → codex-trust-2JIY66CP.js} +4 -4
  29. package/dist/daemon.js +1090 -169
  30. package/dist/daemon.js.map +1 -1
  31. package/dist/dispatcher-O6NGADCQ.js +22 -0
  32. package/dist/{embeddings-H352GFKD.js → embeddings-AAS7NKGB.js} +5 -5
  33. package/dist/ingest-DW3AG4M5.js +20 -0
  34. package/dist/{keychain-A2Z7D7YE.js → keychain-SHRO7W6J.js} +3 -3
  35. package/dist/mcp.js +15 -15
  36. package/dist/{memory-value-M3TA7SEK.js → memory-value-R2C7ZSDF.js} +11 -11
  37. package/dist/{provenance-CXU6LZK7.js → provenance-I5GIAP7N.js} +9 -9
  38. package/dist/quality-32MAXPNJ.js +25 -0
  39. package/dist/retrieval-RKYWWNWC.js +15 -0
  40. package/dist/{store-YCVWABSH.js → store-X2B6MRBH.js} +4 -4
  41. package/dist/sync-server.js +2 -2
  42. package/dist/{tasks-4UL2FIAQ.js → tasks-H4NIS6QO.js} +11 -11
  43. package/dist/{usage-HZ27RG53.js → usage-35HSDMNT.js} +4 -4
  44. package/package.json +2 -1
  45. package/vendor/recall-cloud-sync/PROVENANCE.md +27 -0
  46. package/vendor/recall-cloud-sync/managed-worker.mjs +48 -0
  47. package/vendor/recall-cloud-sync/private-token.mjs +95 -0
  48. package/vendor/recall-cloud-sync/recall-sync-local.mjs +406 -0
  49. package/vendor/recall-cloud-sync/recall-sync.mjs +1266 -0
  50. package/dist/chunk-QPR77YXP.js.map +0 -1
  51. package/dist/chunk-SYSSACWJ.js.map +0 -1
  52. package/dist/chunk-VRAG5V66.js.map +0 -1
  53. package/dist/chunk-ZF23OPYV.js.map +0 -1
  54. package/dist/dispatcher-5JVGZNWT.js +0 -22
  55. package/dist/ingest-NVYEOSVZ.js +0 -20
  56. package/dist/quality-4CG6U273.js +0 -25
  57. package/dist/retrieval-42CPYUDW.js +0 -15
  58. /package/dist/{chunk-Q2F7EQCA.js.map → chunk-22AJZ7UQ.js.map} +0 -0
  59. /package/dist/{chunk-GCMP2YYN.js.map → chunk-2COJXGP4.js.map} +0 -0
  60. /package/dist/{chunk-GDN44ZC7.js.map → chunk-FNIIUNW6.js.map} +0 -0
  61. /package/dist/{chunk-YELXEWKH.js.map → chunk-GK7OWVRQ.js.map} +0 -0
  62. /package/dist/{chunk-7UWVXXTU.js.map → chunk-KLERXJ47.js.map} +0 -0
  63. /package/dist/{chunk-THC7QOAK.js.map → chunk-KVZN35JF.js.map} +0 -0
  64. /package/dist/{chunk-SEXZABB2.js.map → chunk-Q22B7YDQ.js.map} +0 -0
  65. /package/dist/{chunk-EKFOHVHS.js.map → chunk-QQ6YHR7I.js.map} +0 -0
  66. /package/dist/{chunk-MLC3KO2O.js.map → chunk-RAQT2OBR.js.map} +0 -0
  67. /package/dist/{chunk-DVLQYARZ.js.map → chunk-UDLRBKC3.js.map} +0 -0
  68. /package/dist/{chunk-DOYTMHDI.js.map → chunk-VUVFQJWZ.js.map} +0 -0
  69. /package/dist/{chunk-LEOXFQJJ.js.map → chunk-XRKUJ5B4.js.map} +0 -0
  70. /package/dist/{chunk-DAW6FUGL.js.map → chunk-YIVOTIDF.js.map} +0 -0
  71. /package/dist/{cleanup-WJFE6IVP.js.map → cleanup-4TXIHTJT.js.map} +0 -0
  72. /package/dist/{codex-trust-3BFTJFRD.js.map → codex-trust-2JIY66CP.js.map} +0 -0
  73. /package/dist/{dispatcher-5JVGZNWT.js.map → dispatcher-O6NGADCQ.js.map} +0 -0
  74. /package/dist/{embeddings-H352GFKD.js.map → embeddings-AAS7NKGB.js.map} +0 -0
  75. /package/dist/{ingest-NVYEOSVZ.js.map → ingest-DW3AG4M5.js.map} +0 -0
  76. /package/dist/{keychain-A2Z7D7YE.js.map → keychain-SHRO7W6J.js.map} +0 -0
  77. /package/dist/{memory-value-M3TA7SEK.js.map → memory-value-R2C7ZSDF.js.map} +0 -0
  78. /package/dist/{provenance-CXU6LZK7.js.map → provenance-I5GIAP7N.js.map} +0 -0
  79. /package/dist/{quality-4CG6U273.js.map → quality-32MAXPNJ.js.map} +0 -0
  80. /package/dist/{retrieval-42CPYUDW.js.map → retrieval-RKYWWNWC.js.map} +0 -0
  81. /package/dist/{store-YCVWABSH.js.map → store-X2B6MRBH.js.map} +0 -0
  82. /package/dist/{tasks-4UL2FIAQ.js.map → tasks-H4NIS6QO.js.map} +0 -0
  83. /package/dist/{usage-HZ27RG53.js.map → usage-35HSDMNT.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  matchTokens,
3
3
  textMatchScore
4
- } from "./chunk-LEOXFQJJ.js";
4
+ } from "./chunk-XRKUJ5B4.js";
5
5
  import {
6
6
  appendEvidence,
7
7
  countDistinctCorrectionSessions,
@@ -24,13 +24,13 @@ import {
24
24
  restoreAutoInject,
25
25
  setMemoryNote,
26
26
  updateMemoryCaptureContext
27
- } from "./chunk-THC7QOAK.js";
27
+ } from "./chunk-KVZN35JF.js";
28
28
  import {
29
29
  desc
30
- } from "./chunk-DVLQYARZ.js";
30
+ } from "./chunk-UDLRBKC3.js";
31
31
  import {
32
32
  defineOwn
33
- } from "./chunk-DOYTMHDI.js";
33
+ } from "./chunk-VUVFQJWZ.js";
34
34
  import {
35
35
  CONFIDENCE,
36
36
  LlmCredentialError,
@@ -41,11 +41,11 @@ import {
41
41
  loadEmbeddingConfigFromEnv,
42
42
  queueMemoryEmbeddingSync,
43
43
  rowToMemory
44
- } from "./chunk-SYSSACWJ.js";
44
+ } from "./chunk-CSBXI3ET.js";
45
45
  import {
46
46
  hasProviderConfigured,
47
47
  init_keychain
48
- } from "./chunk-GDN44ZC7.js";
48
+ } from "./chunk-FNIIUNW6.js";
49
49
  import {
50
50
  activityEvents,
51
51
  and,
@@ -67,10 +67,10 @@ import {
67
67
  memoryValueEvents,
68
68
  or,
69
69
  sql
70
- } from "./chunk-GCMP2YYN.js";
70
+ } from "./chunk-2COJXGP4.js";
71
71
  import {
72
72
  init_define_RECALL_BUILD_INFO
73
- } from "./chunk-FYMMTODQ.js";
73
+ } from "./chunk-ZT67CYDS.js";
74
74
 
75
75
  // src/maintenance/tasks.ts
76
76
  init_define_RECALL_BUILD_INFO();
@@ -4554,6 +4554,8 @@ function releaseTask(db, taskId, agent, reason) {
4554
4554
  }
4555
4555
 
4556
4556
  export {
4557
+ redactSensitiveText,
4558
+ redactSensitiveValue,
4557
4559
  computeHealthScore,
4558
4560
  computeAllHealthScores,
4559
4561
  formatHealthReport,
@@ -4620,12 +4622,10 @@ export {
4620
4622
  revertCleanupRun,
4621
4623
  listCleanupRuns,
4622
4624
  formatCleanupReport,
4623
- redactSensitiveText,
4624
- redactSensitiveValue,
4625
4625
  isTriggerTemplateRule,
4626
4626
  isHighRiskRule,
4627
4627
  detectCorrections,
4628
4628
  processCorrection,
4629
4629
  processReviewFeedback
4630
4630
  };
4631
- //# sourceMappingURL=chunk-EKFOHVHS.js.map
4631
+ //# sourceMappingURL=chunk-QQ6YHR7I.js.map
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  textMatchScore
3
- } from "./chunk-LEOXFQJJ.js";
3
+ } from "./chunk-XRKUJ5B4.js";
4
4
  import {
5
5
  getMemory,
6
6
  promoteMemory,
7
7
  queryMemories
8
- } from "./chunk-THC7QOAK.js";
8
+ } from "./chunk-KVZN35JF.js";
9
9
  import {
10
10
  asc,
11
11
  desc
12
- } from "./chunk-DVLQYARZ.js";
12
+ } from "./chunk-UDLRBKC3.js";
13
13
  import {
14
14
  cosineSimilarity,
15
15
  generateEmbedding,
16
16
  loadEmbedding,
17
17
  loadEmbeddingConfigFromEnv
18
- } from "./chunk-SYSSACWJ.js";
18
+ } from "./chunk-CSBXI3ET.js";
19
19
  import {
20
20
  and,
21
21
  eq,
@@ -26,10 +26,10 @@ import {
26
26
  memoryInjections,
27
27
  memoryValueEvents,
28
28
  sql
29
- } from "./chunk-GCMP2YYN.js";
29
+ } from "./chunk-2COJXGP4.js";
30
30
  import {
31
31
  init_define_RECALL_BUILD_INFO
32
- } from "./chunk-FYMMTODQ.js";
32
+ } from "./chunk-ZT67CYDS.js";
33
33
 
34
34
  // src/models/memory-value.ts
35
35
  init_define_RECALL_BUILD_INFO();
@@ -617,4 +617,4 @@ export {
617
617
  detectAndRecordRetrievalMissesSemantic,
618
618
  computeMemoryValueReport
619
619
  };
620
- //# sourceMappingURL=chunk-MLC3KO2O.js.map
620
+ //# sourceMappingURL=chunk-RAQT2OBR.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  sql
3
- } from "./chunk-GCMP2YYN.js";
3
+ } from "./chunk-2COJXGP4.js";
4
4
  import {
5
5
  init_define_RECALL_BUILD_INFO
6
- } from "./chunk-FYMMTODQ.js";
6
+ } from "./chunk-ZT67CYDS.js";
7
7
 
8
8
  // node_modules/drizzle-orm/sql/expressions/select.js
9
9
  init_define_RECALL_BUILD_INFO();
@@ -18,4 +18,4 @@ export {
18
18
  asc,
19
19
  desc
20
20
  };
21
- //# sourceMappingURL=chunk-DVLQYARZ.js.map
21
+ //# sourceMappingURL=chunk-UDLRBKC3.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_define_RECALL_BUILD_INFO
3
- } from "./chunk-FYMMTODQ.js";
3
+ } from "./chunk-ZT67CYDS.js";
4
4
 
5
5
  // src/security/object.ts
6
6
  init_define_RECALL_BUILD_INFO();
@@ -20,4 +20,4 @@ export {
20
20
  defineOwn,
21
21
  deleteOwn
22
22
  };
23
- //# sourceMappingURL=chunk-DOYTMHDI.js.map
23
+ //# sourceMappingURL=chunk-VUVFQJWZ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_define_RECALL_BUILD_INFO
3
- } from "./chunk-FYMMTODQ.js";
3
+ } from "./chunk-ZT67CYDS.js";
4
4
 
5
5
  // src/text/match.ts
6
6
  init_define_RECALL_BUILD_INFO();
@@ -116,4 +116,4 @@ export {
116
116
  textMatchScore,
117
117
  matchTokens
118
118
  };
119
- //# sourceMappingURL=chunk-LEOXFQJJ.js.map
119
+ //# sourceMappingURL=chunk-XRKUJ5B4.js.map
@@ -3,7 +3,7 @@ import {
3
3
  hasCommand,
4
4
  resolveCodexHomes,
5
5
  resolveUserHomeDir
6
- } from "./chunk-YELXEWKH.js";
6
+ } from "./chunk-GK7OWVRQ.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-VRAG5V66.js";
24
+ } from "./chunk-Q7254IPO.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-EKFOHVHS.js";
32
+ } from "./chunk-QQ6YHR7I.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-MLC3KO2O.js";
40
+ } from "./chunk-RAQT2OBR.js";
41
41
  import {
42
42
  textMatches
43
- } from "./chunk-LEOXFQJJ.js";
43
+ } from "./chunk-XRKUJ5B4.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-THC7QOAK.js";
52
+ } from "./chunk-KVZN35JF.js";
53
53
  import {
54
54
  desc
55
- } from "./chunk-DVLQYARZ.js";
55
+ } from "./chunk-UDLRBKC3.js";
56
56
  import {
57
57
  defineOwn,
58
58
  deleteOwn
59
- } from "./chunk-DOYTMHDI.js";
59
+ } from "./chunk-VUVFQJWZ.js";
60
60
  import {
61
61
  atomicWriteUtf8File,
62
62
  getEmbeddingModelInfo,
63
63
  readUtf8FileIfExists,
64
64
  tagActivitySource
65
- } from "./chunk-SYSSACWJ.js";
65
+ } from "./chunk-CSBXI3ET.js";
66
66
  import {
67
67
  init_keychain,
68
68
  keychain_exports
69
- } from "./chunk-GDN44ZC7.js";
69
+ } from "./chunk-FNIIUNW6.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-GCMP2YYN.js";
83
+ } from "./chunk-2COJXGP4.js";
84
84
  import {
85
85
  __toCommonJS,
86
86
  init_define_RECALL_BUILD_INFO
87
- } from "./chunk-FYMMTODQ.js";
87
+ } from "./chunk-ZT67CYDS.js";
88
88
 
89
89
  // src/adapters/markdown.ts
90
90
  init_define_RECALL_BUILD_INFO();
@@ -1277,7 +1277,7 @@ async function collectInjectionSurface(db, req) {
1277
1277
  }
1278
1278
  const everyMemoryWasPrior = compiled.memories_included.length === 0 || Boolean(priorInjected && compiled.memories_included.every((id) => priorInjected.has(id)));
1279
1279
  const everyHistoryWasPrior = compiled.history_included.length === 0 || Boolean(priorHistoryInjected && compiled.history_included.every((id) => priorHistoryInjected.has(id)));
1280
- if ((compiled.memories_included.length > 0 || compiled.history_included.length > 0) && everyMemoryWasPrior && everyHistoryWasPrior) {
1280
+ if ((compiled.memories_included.length > 0 || compiled.history_included.length > 0) && !(compiled.cloud_enrichment && compiled.cloud_enrichment.added > 0) && everyMemoryWasPrior && everyHistoryWasPrior) {
1281
1281
  return void 0;
1282
1282
  }
1283
1283
  return {
@@ -4521,4 +4521,4 @@ export {
4521
4521
  getDoctorReport,
4522
4522
  formatDoctorReport
4523
4523
  };
4524
- //# sourceMappingURL=chunk-ZF23OPYV.js.map
4524
+ //# sourceMappingURL=chunk-YIUBD27J.js.map