@edihasaj/recall 2.0.18 → 2.0.20

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 (73) hide show
  1. package/dist/{chunk-2YFC2U6M.js → chunk-2J7P4JCA.js} +7 -7
  2. package/dist/{chunk-EJNIQVIJ.js → chunk-3PJX2JM3.js} +2 -2
  3. package/dist/{chunk-YFK2AD34.js → chunk-4K4XRRUF.js} +3 -3
  4. package/dist/{chunk-SARDP34D.js → chunk-7R6DIYIN.js} +5 -5
  5. package/dist/{chunk-UNKEHYFD.js → chunk-BHRWB3ZL.js} +2 -2
  6. package/dist/{chunk-VNKQBRLB.js → chunk-F4ZDS7LX.js} +3 -3
  7. package/dist/{chunk-XOKSI4EY.js → chunk-GPVWGXYT.js} +7 -7
  8. package/dist/{chunk-XBYAK7LC.js → chunk-HIPM255H.js} +9 -9
  9. package/dist/{chunk-MXF255YS.js → chunk-IG3RJVW6.js} +5 -5
  10. package/dist/{chunk-Z2NS4E63.js → chunk-ILTW2NT7.js} +17 -16
  11. package/dist/chunk-ILTW2NT7.js.map +1 -0
  12. package/dist/{chunk-CGZP6FXD.js → chunk-IWXOFLQB.js} +3 -3
  13. package/dist/{chunk-JMAWDCQM.js → chunk-JQ6BGAKY.js} +10 -10
  14. package/dist/{chunk-HKA2KAB2.js → chunk-MWQSZN2U.js} +9 -9
  15. package/dist/{chunk-LGM46TRO.js → chunk-RQZX3NK6.js} +2 -2
  16. package/dist/{chunk-SYYBKTWO.js → chunk-SM67AYMR.js} +2 -2
  17. package/dist/{chunk-OIIAMDOT.js → chunk-TBV3UXKA.js} +2 -2
  18. package/dist/{chunk-SHS4CTN3.js → chunk-YI4LU255.js} +4 -4
  19. package/dist/{chunk-PVEH3GEI.js → chunk-ZINFGUPT.js} +2 -2
  20. package/dist/{chunk-PVEH3GEI.js.map → chunk-ZINFGUPT.js.map} +1 -1
  21. package/dist/{cleanup-PYF3MQXT.js → cleanup-LHRMTVP4.js} +11 -11
  22. package/dist/cli.js +36 -36
  23. package/dist/{codex-trust-JTJSVDJ4.js → codex-trust-56LQPLU6.js} +4 -4
  24. package/dist/daemon.js +20 -19
  25. package/dist/daemon.js.map +1 -1
  26. package/dist/dispatcher-CCDHNCAT.js +22 -0
  27. package/dist/{embeddings-3NAF5DFW.js → embeddings-6U7GLCQ2.js} +5 -5
  28. package/dist/ingest-KCMUKLWD.js +20 -0
  29. package/dist/{keychain-FLEYJZCO.js → keychain-W7OWYCIH.js} +3 -3
  30. package/dist/mcp.js +15 -15
  31. package/dist/{memory-value-DT5DNGJA.js → memory-value-EGPCVVXH.js} +11 -11
  32. package/dist/{provenance-ZBYCDVTO.js → provenance-PY3IQN6X.js} +9 -9
  33. package/dist/quality-H3G6Y5L7.js +25 -0
  34. package/dist/retrieval-AMDGSFUP.js +15 -0
  35. package/dist/{store-UQFDKVUA.js → store-BABUV4HS.js} +4 -4
  36. package/dist/sync-server.js +2 -2
  37. package/dist/{tasks-2LMQ3ZXB.js → tasks-KVH7S4S2.js} +11 -11
  38. package/dist/{usage-ZXD4DO5J.js → usage-YYFVJZXK.js} +4 -4
  39. package/package.json +5 -5
  40. package/dist/chunk-Z2NS4E63.js.map +0 -1
  41. package/dist/dispatcher-JZKQYPLF.js +0 -22
  42. package/dist/ingest-KWIQFV6X.js +0 -20
  43. package/dist/quality-UQME7OTQ.js +0 -25
  44. package/dist/retrieval-V7TY5HRU.js +0 -15
  45. /package/dist/{chunk-2YFC2U6M.js.map → chunk-2J7P4JCA.js.map} +0 -0
  46. /package/dist/{chunk-EJNIQVIJ.js.map → chunk-3PJX2JM3.js.map} +0 -0
  47. /package/dist/{chunk-YFK2AD34.js.map → chunk-4K4XRRUF.js.map} +0 -0
  48. /package/dist/{chunk-SARDP34D.js.map → chunk-7R6DIYIN.js.map} +0 -0
  49. /package/dist/{chunk-UNKEHYFD.js.map → chunk-BHRWB3ZL.js.map} +0 -0
  50. /package/dist/{chunk-VNKQBRLB.js.map → chunk-F4ZDS7LX.js.map} +0 -0
  51. /package/dist/{chunk-XOKSI4EY.js.map → chunk-GPVWGXYT.js.map} +0 -0
  52. /package/dist/{chunk-XBYAK7LC.js.map → chunk-HIPM255H.js.map} +0 -0
  53. /package/dist/{chunk-MXF255YS.js.map → chunk-IG3RJVW6.js.map} +0 -0
  54. /package/dist/{chunk-CGZP6FXD.js.map → chunk-IWXOFLQB.js.map} +0 -0
  55. /package/dist/{chunk-JMAWDCQM.js.map → chunk-JQ6BGAKY.js.map} +0 -0
  56. /package/dist/{chunk-HKA2KAB2.js.map → chunk-MWQSZN2U.js.map} +0 -0
  57. /package/dist/{chunk-LGM46TRO.js.map → chunk-RQZX3NK6.js.map} +0 -0
  58. /package/dist/{chunk-SYYBKTWO.js.map → chunk-SM67AYMR.js.map} +0 -0
  59. /package/dist/{chunk-OIIAMDOT.js.map → chunk-TBV3UXKA.js.map} +0 -0
  60. /package/dist/{chunk-SHS4CTN3.js.map → chunk-YI4LU255.js.map} +0 -0
  61. /package/dist/{cleanup-PYF3MQXT.js.map → cleanup-LHRMTVP4.js.map} +0 -0
  62. /package/dist/{codex-trust-JTJSVDJ4.js.map → codex-trust-56LQPLU6.js.map} +0 -0
  63. /package/dist/{dispatcher-JZKQYPLF.js.map → dispatcher-CCDHNCAT.js.map} +0 -0
  64. /package/dist/{embeddings-3NAF5DFW.js.map → embeddings-6U7GLCQ2.js.map} +0 -0
  65. /package/dist/{ingest-KWIQFV6X.js.map → ingest-KCMUKLWD.js.map} +0 -0
  66. /package/dist/{keychain-FLEYJZCO.js.map → keychain-W7OWYCIH.js.map} +0 -0
  67. /package/dist/{memory-value-DT5DNGJA.js.map → memory-value-EGPCVVXH.js.map} +0 -0
  68. /package/dist/{provenance-ZBYCDVTO.js.map → provenance-PY3IQN6X.js.map} +0 -0
  69. /package/dist/{quality-UQME7OTQ.js.map → quality-H3G6Y5L7.js.map} +0 -0
  70. /package/dist/{retrieval-V7TY5HRU.js.map → retrieval-AMDGSFUP.js.map} +0 -0
  71. /package/dist/{store-UQFDKVUA.js.map → store-BABUV4HS.js.map} +0 -0
  72. /package/dist/{tasks-2LMQ3ZXB.js.map → tasks-KVH7S4S2.js.map} +0 -0
  73. /package/dist/{usage-ZXD4DO5J.js.map → usage-YYFVJZXK.js.map} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  defineOwn,
3
3
  deleteOwn
4
- } from "./chunk-SYYBKTWO.js";
4
+ } from "./chunk-SM67AYMR.js";
5
5
  import {
6
6
  init_define_RECALL_BUILD_INFO
7
- } from "./chunk-PVEH3GEI.js";
7
+ } from "./chunk-ZINFGUPT.js";
8
8
 
9
9
  // src/agents/codex.ts
10
10
  init_define_RECALL_BUILD_INFO();
@@ -591,4 +591,4 @@ export {
591
591
  installCodexHooks,
592
592
  uninstallCodexHooks
593
593
  };
594
- //# sourceMappingURL=chunk-CGZP6FXD.js.map
594
+ //# sourceMappingURL=chunk-IWXOFLQB.js.map
@@ -10,17 +10,17 @@ import {
10
10
  redactSensitiveText,
11
11
  redactSensitiveValue,
12
12
  seedScannedConfidence
13
- } from "./chunk-HKA2KAB2.js";
13
+ } from "./chunk-MWQSZN2U.js";
14
14
  import {
15
15
  recordInjectionValueEvents,
16
16
  recordMemoryInjections,
17
17
  recordOutcomeValueEvent,
18
18
  resolveMemoryInjectionOutcome
19
- } from "./chunk-2YFC2U6M.js";
19
+ } from "./chunk-2J7P4JCA.js";
20
20
  import {
21
21
  matchTokens,
22
22
  textMatchScore
23
- } from "./chunk-EJNIQVIJ.js";
23
+ } from "./chunk-3PJX2JM3.js";
24
24
  import {
25
25
  activityEventDedupeKey,
26
26
  confirmMemory,
@@ -41,11 +41,11 @@ import {
41
41
  rejectMemory,
42
42
  setMemoryNote,
43
43
  statusFromConfidence
44
- } from "./chunk-XOKSI4EY.js";
44
+ } from "./chunk-GPVWGXYT.js";
45
45
  import {
46
46
  asc,
47
47
  desc
48
- } from "./chunk-YFK2AD34.js";
48
+ } from "./chunk-4K4XRRUF.js";
49
49
  import {
50
50
  BACKGROUND_INDEX_BATCH_SIZE,
51
51
  CONFIDENCE,
@@ -70,11 +70,11 @@ import {
70
70
  resolveProvider,
71
71
  retrievalText,
72
72
  tagActivitySource
73
- } from "./chunk-SHS4CTN3.js";
73
+ } from "./chunk-YI4LU255.js";
74
74
  import {
75
75
  hasProviderConfigured,
76
76
  init_keychain
77
- } from "./chunk-LGM46TRO.js";
77
+ } from "./chunk-RQZX3NK6.js";
78
78
  import {
79
79
  Column,
80
80
  Columns,
@@ -139,10 +139,10 @@ import {
139
139
  policyRules,
140
140
  schema_exports,
141
141
  sql
142
- } from "./chunk-OIIAMDOT.js";
142
+ } from "./chunk-TBV3UXKA.js";
143
143
  import {
144
144
  init_define_RECALL_BUILD_INFO
145
- } from "./chunk-PVEH3GEI.js";
145
+ } from "./chunk-ZINFGUPT.js";
146
146
 
147
147
  // src/cloud/query-lookup.ts
148
148
  init_define_RECALL_BUILD_INFO();
@@ -8600,4 +8600,4 @@ export {
8600
8600
  pruneMemories,
8601
8601
  formatPruneReport
8602
8602
  };
8603
- //# sourceMappingURL=chunk-JMAWDCQM.js.map
8603
+ //# sourceMappingURL=chunk-JQ6BGAKY.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  matchTokens,
3
3
  textMatchScore
4
- } from "./chunk-EJNIQVIJ.js";
4
+ } from "./chunk-3PJX2JM3.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-XOKSI4EY.js";
27
+ } from "./chunk-GPVWGXYT.js";
28
28
  import {
29
29
  desc
30
- } from "./chunk-YFK2AD34.js";
30
+ } from "./chunk-4K4XRRUF.js";
31
31
  import {
32
32
  defineOwn
33
- } from "./chunk-SYYBKTWO.js";
33
+ } from "./chunk-SM67AYMR.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-SHS4CTN3.js";
44
+ } from "./chunk-YI4LU255.js";
45
45
  import {
46
46
  hasProviderConfigured,
47
47
  init_keychain
48
- } from "./chunk-LGM46TRO.js";
48
+ } from "./chunk-RQZX3NK6.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-OIIAMDOT.js";
70
+ } from "./chunk-TBV3UXKA.js";
71
71
  import {
72
72
  init_define_RECALL_BUILD_INFO
73
- } from "./chunk-PVEH3GEI.js";
73
+ } from "./chunk-ZINFGUPT.js";
74
74
 
75
75
  // src/maintenance/tasks.ts
76
76
  init_define_RECALL_BUILD_INFO();
@@ -4833,4 +4833,4 @@ export {
4833
4833
  processCorrection,
4834
4834
  processReviewFeedback
4835
4835
  };
4836
- //# sourceMappingURL=chunk-HKA2KAB2.js.map
4836
+ //# sourceMappingURL=chunk-MWQSZN2U.js.map
@@ -2,7 +2,7 @@ import {
2
2
  __esm,
3
3
  __export,
4
4
  init_define_RECALL_BUILD_INFO
5
- } from "./chunk-PVEH3GEI.js";
5
+ } from "./chunk-ZINFGUPT.js";
6
6
 
7
7
  // src/security/outbound-url.ts
8
8
  import { isIP } from "net";
@@ -306,4 +306,4 @@ export {
306
306
  keychain_exports,
307
307
  init_keychain
308
308
  };
309
- //# sourceMappingURL=chunk-LGM46TRO.js.map
309
+ //# sourceMappingURL=chunk-RQZX3NK6.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_define_RECALL_BUILD_INFO
3
- } from "./chunk-PVEH3GEI.js";
3
+ } from "./chunk-ZINFGUPT.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-SYYBKTWO.js.map
23
+ //# sourceMappingURL=chunk-SM67AYMR.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  __export,
3
3
  init_define_RECALL_BUILD_INFO
4
- } from "./chunk-PVEH3GEI.js";
4
+ } from "./chunk-ZINFGUPT.js";
5
5
 
6
6
  // node_modules/drizzle-orm/sql/sql.js
7
7
  init_define_RECALL_BUILD_INFO();
@@ -2726,4 +2726,4 @@ export {
2726
2726
  maintenanceCleanupLog,
2727
2727
  schema_exports
2728
2728
  };
2729
- //# sourceMappingURL=chunk-OIIAMDOT.js.map
2729
+ //# sourceMappingURL=chunk-TBV3UXKA.js.map
@@ -2,17 +2,17 @@ import {
2
2
  getProviderConfig,
3
3
  hasProviderConfigured,
4
4
  init_keychain
5
- } from "./chunk-LGM46TRO.js";
5
+ } from "./chunk-RQZX3NK6.js";
6
6
  import {
7
7
  eq,
8
8
  inArray,
9
9
  llmUsage,
10
10
  memories,
11
11
  memoryEmbeddings
12
- } from "./chunk-OIIAMDOT.js";
12
+ } from "./chunk-TBV3UXKA.js";
13
13
  import {
14
14
  init_define_RECALL_BUILD_INFO
15
- } from "./chunk-PVEH3GEI.js";
15
+ } from "./chunk-ZINFGUPT.js";
16
16
 
17
17
  // src/embeddings/embeddings.ts
18
18
  init_define_RECALL_BUILD_INFO();
@@ -2839,4 +2839,4 @@ export {
2839
2839
  findSemanticDuplicates,
2840
2840
  findSimilarRejectedExemplar
2841
2841
  };
2842
- //# sourceMappingURL=chunk-SHS4CTN3.js.map
2842
+ //# sourceMappingURL=chunk-YI4LU255.js.map
@@ -28,7 +28,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
28
28
  var define_RECALL_BUILD_INFO_default;
29
29
  var init_define_RECALL_BUILD_INFO = __esm({
30
30
  "<define:__RECALL_BUILD_INFO__>"() {
31
- define_RECALL_BUILD_INFO_default = { sha: "f372dc06b50e563e9fa438ce05e9ea0ba919465e", built_at: "2026-10-28T11:05:54.352Z", dependencies: { "@huggingface/transformers": "4.3.1", "onnxruntime-node": "1.30.0", "better-sqlite3": "11.10.0", "sqlite-vec": "0.1.9", "@photostructure/sqlite-vec": "2.0.1" } };
31
+ define_RECALL_BUILD_INFO_default = { sha: "d43b5a2e584d8fbcec33c4e0690d0cbcd5d57c24", built_at: "2026-10-29T15:43:21.617Z", dependencies: { "@huggingface/transformers": "4.3.1", "onnxruntime-node": "1.30.0", "better-sqlite3": "11.10.0", "sqlite-vec": "0.1.9", "@photostructure/sqlite-vec": "2.0.1" } };
32
32
  }
33
33
  });
34
34
 
@@ -39,4 +39,4 @@ export {
39
39
  init_define_RECALL_BUILD_INFO,
40
40
  define_RECALL_BUILD_INFO_default
41
41
  };
42
- //# sourceMappingURL=chunk-PVEH3GEI.js.map
42
+ //# sourceMappingURL=chunk-ZINFGUPT.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["<define:__RECALL_BUILD_INFO__>"],"sourcesContent":["{\"sha\":\"f372dc06b50e563e9fa438ce05e9ea0ba919465e\",\"built_at\":\"2026-10-28T11:05:54.352Z\",\"dependencies\":{\"@huggingface/transformers\":\"4.3.1\",\"onnxruntime-node\":\"1.30.0\",\"better-sqlite3\":\"11.10.0\",\"sqlite-vec\":\"0.1.9\",\"@photostructure/sqlite-vec\":\"2.0.1\"}}"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,yCAAC,KAAM,4CAA2C,UAAW,4BAA2B,cAAe,EAAC,6BAA4B,SAAQ,oBAAmB,UAAS,kBAAiB,WAAU,cAAa,SAAQ,8BAA6B,QAAO,EAAC;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["<define:__RECALL_BUILD_INFO__>"],"sourcesContent":["{\"sha\":\"d43b5a2e584d8fbcec33c4e0690d0cbcd5d57c24\",\"built_at\":\"2026-10-29T15:43:21.617Z\",\"dependencies\":{\"@huggingface/transformers\":\"4.3.1\",\"onnxruntime-node\":\"1.30.0\",\"better-sqlite3\":\"11.10.0\",\"sqlite-vec\":\"0.1.9\",\"@photostructure/sqlite-vec\":\"2.0.1\"}}"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,yCAAC,KAAM,4CAA2C,UAAW,4BAA2B,cAAe,EAAC,6BAA4B,SAAQ,oBAAmB,UAAS,kBAAiB,WAAU,cAAa,SAAQ,8BAA6B,QAAO,EAAC;AAAA;AAAA;","names":[]}
@@ -13,16 +13,16 @@ import {
13
13
  qualityReasons,
14
14
  revertCleanupRun,
15
15
  runDeterministicCleanup
16
- } from "./chunk-HKA2KAB2.js";
17
- import "./chunk-EJNIQVIJ.js";
18
- import "./chunk-XOKSI4EY.js";
19
- import "./chunk-YFK2AD34.js";
20
- import "./chunk-SYYBKTWO.js";
21
- import "./chunk-SHS4CTN3.js";
22
- import "./chunk-LGM46TRO.js";
23
- import "./chunk-VNKQBRLB.js";
24
- import "./chunk-OIIAMDOT.js";
25
- import "./chunk-PVEH3GEI.js";
16
+ } from "./chunk-MWQSZN2U.js";
17
+ import "./chunk-3PJX2JM3.js";
18
+ import "./chunk-GPVWGXYT.js";
19
+ import "./chunk-4K4XRRUF.js";
20
+ import "./chunk-SM67AYMR.js";
21
+ import "./chunk-YI4LU255.js";
22
+ import "./chunk-RQZX3NK6.js";
23
+ import "./chunk-F4ZDS7LX.js";
24
+ import "./chunk-TBV3UXKA.js";
25
+ import "./chunk-ZINFGUPT.js";
26
26
  export {
27
27
  formatCleanupReport,
28
28
  isWorkspaceRootAlias,
@@ -39,4 +39,4 @@ export {
39
39
  revertCleanupRun,
40
40
  runDeterministicCleanup
41
41
  };
42
- //# sourceMappingURL=cleanup-PYF3MQXT.js.map
42
+ //# sourceMappingURL=cleanup-LHRMTVP4.js.map
package/dist/cli.js CHANGED
@@ -55,14 +55,14 @@ import {
55
55
  unregisterStrayApps,
56
56
  verifyBackupIntegrity,
57
57
  writeRepoContextArtifact
58
- } from "./chunk-Z2NS4E63.js";
58
+ } from "./chunk-ILTW2NT7.js";
59
59
  import {
60
60
  hasCommand,
61
61
  installCodexHooks,
62
62
  resolveCodexHookTargets,
63
63
  resolveUserHomeDir,
64
64
  uninstallCodexHooks
65
- } from "./chunk-CGZP6FXD.js";
65
+ } from "./chunk-IWXOFLQB.js";
66
66
  import {
67
67
  closeDb,
68
68
  cloudQueryStatus,
@@ -107,7 +107,7 @@ import {
107
107
  startEvalSession,
108
108
  summarizeValueRetrievalEval,
109
109
  togglePolicy
110
- } from "./chunk-JMAWDCQM.js";
110
+ } from "./chunk-JQ6BGAKY.js";
111
111
  import {
112
112
  autoResolveContradictions,
113
113
  computeAllHealthScores,
@@ -120,10 +120,10 @@ import {
120
120
  processCorrection,
121
121
  processReviewFeedback,
122
122
  resolveContradiction
123
- } from "./chunk-HKA2KAB2.js";
124
- import "./chunk-2YFC2U6M.js";
125
- import "./chunk-EJNIQVIJ.js";
126
- import "./chunk-UNKEHYFD.js";
123
+ } from "./chunk-MWQSZN2U.js";
124
+ import "./chunk-2J7P4JCA.js";
125
+ import "./chunk-3PJX2JM3.js";
126
+ import "./chunk-BHRWB3ZL.js";
127
127
  import {
128
128
  confirmMemory,
129
129
  createMemory,
@@ -137,9 +137,9 @@ import {
137
137
  recordAudit,
138
138
  rejectMemory,
139
139
  rollbackMemory
140
- } from "./chunk-XOKSI4EY.js";
141
- import "./chunk-YFK2AD34.js";
142
- import "./chunk-SYYBKTWO.js";
140
+ } from "./chunk-GPVWGXYT.js";
141
+ import "./chunk-4K4XRRUF.js";
142
+ import "./chunk-SM67AYMR.js";
143
143
  import {
144
144
  bootstrapEmbeddings,
145
145
  ensureEmbeddingProviderReady,
@@ -153,25 +153,25 @@ import {
153
153
  semanticSearch,
154
154
  upsertMemoryFtsRow,
155
155
  verifyEmbeddings
156
- } from "./chunk-SHS4CTN3.js";
156
+ } from "./chunk-YI4LU255.js";
157
157
  import {
158
158
  deleteApiKey,
159
159
  hasKeychainApiKey,
160
160
  init_keychain,
161
161
  init_outbound_url,
162
162
  normalizeSyncRemoteUrl
163
- } from "./chunk-LGM46TRO.js";
164
- import "./chunk-VNKQBRLB.js";
163
+ } from "./chunk-RQZX3NK6.js";
164
+ import "./chunk-F4ZDS7LX.js";
165
165
  import {
166
166
  and,
167
167
  eq,
168
168
  gt,
169
169
  memories,
170
170
  syncState
171
- } from "./chunk-OIIAMDOT.js";
171
+ } from "./chunk-TBV3UXKA.js";
172
172
  import {
173
173
  init_define_RECALL_BUILD_INFO
174
- } from "./chunk-PVEH3GEI.js";
174
+ } from "./chunk-ZINFGUPT.js";
175
175
 
176
176
  // src/cli.ts
177
177
  init_define_RECALL_BUILD_INFO();
@@ -1903,7 +1903,7 @@ program.command("doctor").description("Show local Recall runtime, DB, embedding,
1903
1903
  const finalReport = opts.fix ? getDoctorReport() : report;
1904
1904
  const codexEntry = finalReport.agents.find((agent) => agent.agent === "codex" && agent.detected);
1905
1905
  if (codexEntry) {
1906
- const { inspectCodexTrust } = await import("./codex-trust-JTJSVDJ4.js");
1906
+ const { inspectCodexTrust } = await import("./codex-trust-56LQPLU6.js");
1907
1907
  codexEntry.hook_trust = await inspectCodexTrust();
1908
1908
  }
1909
1909
  if (opts.json) {
@@ -2632,7 +2632,7 @@ evalCmd.command("value-retrieval").description("Run retrieval eval cases synthes
2632
2632
  });
2633
2633
  let snapshot = null;
2634
2634
  if (opts.snapshot) {
2635
- const { computeQualityReport, recordQualitySnapshot } = await import("./quality-UQME7OTQ.js");
2635
+ const { computeQualityReport, recordQualitySnapshot } = await import("./quality-H3G6Y5L7.js");
2636
2636
  const qualityReport = computeQualityReport(db, { sinceIso: report.since });
2637
2637
  snapshot = recordQualitySnapshot(
2638
2638
  db,
@@ -3161,15 +3161,15 @@ uiCmd.command("status").description("Show WebUI status").option("--daemon-port <
3161
3161
  var graphCmd = program.command("graph").description("Inspect and rebuild the knowledge graph (entities + relations)");
3162
3162
  graphCmd.command("stats").description("Show entity/relation counts").action(async () => {
3163
3163
  const db = initDb();
3164
- const { countEntities, countRelations } = await import("./store-UQFDKVUA.js");
3164
+ const { countEntities, countRelations } = await import("./store-BABUV4HS.js");
3165
3165
  console.log(`entities: ${countEntities(db)}`);
3166
3166
  console.log(`relations: ${countRelations(db)}`);
3167
3167
  });
3168
3168
  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").option("--rebuild", "Clear all existing entities/relations first, then re-extract").action(async (opts) => {
3169
3169
  const db = initDb();
3170
- const { ingestMemoryHeuristic } = await import("./ingest-KWIQFV6X.js");
3170
+ const { ingestMemoryHeuristic } = await import("./ingest-KCMUKLWD.js");
3171
3171
  if (opts.rebuild) {
3172
- const { clearGraph } = await import("./store-UQFDKVUA.js");
3172
+ const { clearGraph } = await import("./store-BABUV4HS.js");
3173
3173
  clearGraph(db);
3174
3174
  console.log("Cleared existing graph entities and relations.");
3175
3175
  }
@@ -3191,7 +3191,7 @@ graphCmd.command("backfill").description("Run the heuristic extractor over every
3191
3191
  });
3192
3192
  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) => {
3193
3193
  const db = initDb();
3194
- const { listEntities } = await import("./store-UQFDKVUA.js");
3194
+ const { listEntities } = await import("./store-BABUV4HS.js");
3195
3195
  const rows = listEntities(db, {
3196
3196
  repo: opts.repo,
3197
3197
  kind: opts.kind,
@@ -3210,8 +3210,8 @@ graphCmd.command("entities").description("List entities").option("--repo <repo>"
3210
3210
  });
3211
3211
  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) => {
3212
3212
  const db = initDb();
3213
- const { graphQuery } = await import("./retrieval-V7TY5HRU.js");
3214
- const { loadEmbeddingConfigFromEnv: loadEmbeddingConfigFromEnv2 } = await import("./embeddings-3NAF5DFW.js");
3213
+ const { graphQuery } = await import("./retrieval-AMDGSFUP.js");
3214
+ const { loadEmbeddingConfigFromEnv: loadEmbeddingConfigFromEnv2 } = await import("./embeddings-6U7GLCQ2.js");
3215
3215
  const embeddingConfig = loadEmbeddingConfigFromEnv2();
3216
3216
  const result = await graphQuery(db, queryTokens.join(" "), embeddingConfig, {
3217
3217
  repo: opts.repo,
@@ -3227,7 +3227,7 @@ graphCmd.command("query <query...>").description("Run graph-aware retrieval for
3227
3227
  });
3228
3228
  var maintenanceCmd = program.command("maintenance").description("Inspect and manage the delegated maintenance task queue");
3229
3229
  maintenanceCmd.command("stats").description("Show backlog counts, completion stats, and mean latency").action(async () => {
3230
- const { getTaskStats } = await import("./tasks-2LMQ3ZXB.js");
3230
+ const { getTaskStats } = await import("./tasks-KVH7S4S2.js");
3231
3231
  const db = initDb();
3232
3232
  const stats = getTaskStats(db);
3233
3233
  console.log(`Total tasks: ${stats.total}`);
@@ -3253,7 +3253,7 @@ maintenanceCmd.command("stats").description("Show backlog counts, completion sta
3253
3253
  }
3254
3254
  });
3255
3255
  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) => {
3256
- const { listTasks } = await import("./tasks-2LMQ3ZXB.js");
3256
+ const { listTasks } = await import("./tasks-KVH7S4S2.js");
3257
3257
  const db = initDb();
3258
3258
  const tasks = listTasks(db, {
3259
3259
  status: opts.status,
@@ -3275,7 +3275,7 @@ maintenanceCmd.command("list").description("List tasks (default: pending)").opti
3275
3275
  }
3276
3276
  });
3277
3277
  maintenanceCmd.command("drop").description("Delete a task by id (or id prefix)").argument("<task-id>", "Task id or prefix").action(async (taskIdArg) => {
3278
- const { deleteTask, listTasks } = await import("./tasks-2LMQ3ZXB.js");
3278
+ const { deleteTask, listTasks } = await import("./tasks-KVH7S4S2.js");
3279
3279
  const db = initDb();
3280
3280
  const all = listTasks(db, { limit: 1e4 });
3281
3281
  const matches = all.filter((t) => t.id === taskIdArg || t.id.startsWith(taskIdArg));
@@ -3294,7 +3294,7 @@ maintenanceCmd.command("drop").description("Delete a task by id (or id prefix)")
3294
3294
  });
3295
3295
  var credentialsCmd = maintenanceCmd.command("credentials").description("Manage LLM provider API keys in macOS Keychain (env fallback on other platforms)");
3296
3296
  credentialsCmd.command("list", { isDefault: true }).description("Show which providers have credentials available").action(async () => {
3297
- const { listCredentials } = await import("./keychain-FLEYJZCO.js");
3297
+ const { listCredentials } = await import("./keychain-W7OWYCIH.js");
3298
3298
  const creds = listCredentials();
3299
3299
  if (creds.length === 0) {
3300
3300
  console.log("No API keys configured. Set one with:");
@@ -3308,7 +3308,7 @@ credentialsCmd.command("list", { isDefault: true }).description("Show which prov
3308
3308
  }
3309
3309
  });
3310
3310
  credentialsCmd.command("set").description("Store credentials for an LLM provider in the macOS Keychain").argument("<provider>", "openai|anthropic|azure").argument("[key]", "API key (prompts via stdin if omitted; required for openai/anthropic and for azure unless --stdin-json is used)").option("--endpoint <url>", "Azure OpenAI resource endpoint (e.g. https://myresource.openai.azure.com)").option("--deployment <name>", "Azure OpenAI deployment name").option("--api-version <version>", "Azure OpenAI api-version (e.g. 2024-10-21)").option("--stdin-json", "Read the azure config (endpoint/deployment/api_version/key) as a JSON object from stdin").action(async (providerArg, keyArg, opts) => {
3311
- const { setApiKey, setAzureConfig } = await import("./keychain-FLEYJZCO.js");
3311
+ const { setApiKey, setAzureConfig } = await import("./keychain-W7OWYCIH.js");
3312
3312
  const provider = providerArg === "azure" ? "azure-openai" : providerArg;
3313
3313
  if (provider === "openai" || provider === "anthropic") {
3314
3314
  const key = keyArg ?? await readStdinKey();
@@ -3370,7 +3370,7 @@ credentialsCmd.command("set").description("Store credentials for an LLM provider
3370
3370
  process.exit(1);
3371
3371
  });
3372
3372
  credentialsCmd.command("clear").description("Remove provider credentials from the macOS Keychain").argument("<provider>", "openai|anthropic|azure").action(async (providerArg) => {
3373
- const { deleteApiKey: deleteApiKey2 } = await import("./keychain-FLEYJZCO.js");
3373
+ const { deleteApiKey: deleteApiKey2 } = await import("./keychain-W7OWYCIH.js");
3374
3374
  const provider = providerArg === "azure" ? "azure-openai" : providerArg;
3375
3375
  if (provider !== "openai" && provider !== "anthropic" && provider !== "azure-openai") {
3376
3376
  console.error(`Provider must be "openai", "anthropic", or "azure", got "${providerArg}".`);
@@ -3381,8 +3381,8 @@ credentialsCmd.command("clear").description("Remove provider credentials from th
3381
3381
  else console.log(`No ${provider} credentials found in Keychain.`);
3382
3382
  });
3383
3383
  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) => {
3384
- const { dispatchPendingTasks, formatDispatchReport, buildPrompt } = await import("./dispatcher-JZKQYPLF.js");
3385
- const { listTasks } = await import("./tasks-2LMQ3ZXB.js");
3384
+ const { dispatchPendingTasks, formatDispatchReport, buildPrompt } = await import("./dispatcher-CCDHNCAT.js");
3385
+ const { listTasks } = await import("./tasks-KVH7S4S2.js");
3386
3386
  const db = initDb();
3387
3387
  if (opts.preview) {
3388
3388
  const pending = listTasks(db, {
@@ -3439,12 +3439,12 @@ ${p.prompt.max_output_tokens}
3439
3439
  console.log(formatDispatchReport(report));
3440
3440
  });
3441
3441
  maintenanceCmd.command("quarantine-generated").description("Preview memories supported only by generated messages; preserve them outside injection").option("--apply", "Quarantine matching memories with reversible audit snapshots").action(async (opts) => {
3442
- const { quarantineGeneratedMemories } = await import("./provenance-ZBYCDVTO.js");
3442
+ const { quarantineGeneratedMemories } = await import("./provenance-PY3IQN6X.js");
3443
3443
  const ids = quarantineGeneratedMemories(initDb(), Boolean(opts.apply));
3444
3444
  console.log(JSON.stringify({ applied: Boolean(opts.apply), count: ids.length, memory_ids: ids }, null, 2));
3445
3445
  });
3446
3446
  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|reject_agent_authored").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) => {
3447
- const { runDeterministicCleanup, formatCleanupReport, revertCleanupRun, listCleanupRuns } = await import("./cleanup-PYF3MQXT.js");
3447
+ const { runDeterministicCleanup, formatCleanupReport, revertCleanupRun, listCleanupRuns } = await import("./cleanup-LHRMTVP4.js");
3448
3448
  const db = initDb();
3449
3449
  if (opts.list) {
3450
3450
  const runs = listCleanupRuns(db);
@@ -3498,7 +3498,7 @@ maintenanceCmd.command("quality").description("Show injection outcome distributi
3498
3498
  recordQualitySnapshot,
3499
3499
  listQualitySnapshots,
3500
3500
  diffQualitySnapshots
3501
- } = await import("./quality-UQME7OTQ.js");
3501
+ } = await import("./quality-H3G6Y5L7.js");
3502
3502
  const db = initDb();
3503
3503
  if (opts.history) {
3504
3504
  const snaps = listQualitySnapshots(db);
@@ -3559,7 +3559,7 @@ maintenanceCmd.command("value-backfill").description("Backfill memory value even
3559
3559
  const {
3560
3560
  backfillMemoryValueEvents,
3561
3561
  formatMemoryValueBackfillReport
3562
- } = await import("./memory-value-DT5DNGJA.js");
3562
+ } = await import("./memory-value-EGPCVVXH.js");
3563
3563
  const db = initDb();
3564
3564
  const report = backfillMemoryValueEvents(db, {
3565
3565
  sinceIso: opts.since,
@@ -3572,7 +3572,7 @@ maintenanceCmd.command("value-backfill").description("Backfill memory value even
3572
3572
  console.log(formatMemoryValueBackfillReport(report));
3573
3573
  });
3574
3574
  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) => {
3575
- const { summarizeUsage, formatUsageReport } = await import("./usage-ZXD4DO5J.js");
3575
+ const { summarizeUsage, formatUsageReport } = await import("./usage-YYFVJZXK.js");
3576
3576
  const db = initDb();
3577
3577
  const summary = summarizeUsage(db, {
3578
3578
  sinceIso: opts.since,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  resolveCodexHomes
3
- } from "./chunk-CGZP6FXD.js";
4
- import "./chunk-SYYBKTWO.js";
3
+ } from "./chunk-IWXOFLQB.js";
4
+ import "./chunk-SM67AYMR.js";
5
5
  import {
6
6
  init_define_RECALL_BUILD_INFO
7
- } from "./chunk-PVEH3GEI.js";
7
+ } from "./chunk-ZINFGUPT.js";
8
8
 
9
9
  // src/doctor/codex-trust.ts
10
10
  init_define_RECALL_BUILD_INFO();
@@ -71,4 +71,4 @@ function probeCodexHome(home) {
71
71
  export {
72
72
  inspectCodexTrust
73
73
  };
74
- //# sourceMappingURL=codex-trust-JTJSVDJ4.js.map
74
+ //# sourceMappingURL=codex-trust-56LQPLU6.js.map
package/dist/daemon.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  computeQualityReport,
3
3
  listQualitySnapshots,
4
4
  recordQualitySnapshot
5
- } from "./chunk-SARDP34D.js";
5
+ } from "./chunk-7R6DIYIN.js";
6
6
  import {
7
7
  ensureDailyBackup,
8
8
  extractCodexSessionId,
@@ -22,14 +22,14 @@ import {
22
22
  runReliabilityVerdictCycle,
23
23
  toolOutcomeFromPayload,
24
24
  writeRepoContextArtifact
25
- } from "./chunk-Z2NS4E63.js";
26
- import "./chunk-CGZP6FXD.js";
25
+ } from "./chunk-ILTW2NT7.js";
26
+ import "./chunk-IWXOFLQB.js";
27
27
  import {
28
28
  createRecallMcpServer
29
- } from "./chunk-XBYAK7LC.js";
29
+ } from "./chunk-HIPM255H.js";
30
30
  import {
31
31
  graphQuery
32
- } from "./chunk-MXF255YS.js";
32
+ } from "./chunk-IG3RJVW6.js";
33
33
  import {
34
34
  CloudError,
35
35
  DEFAULT_CLOUD_API,
@@ -87,7 +87,7 @@ import {
87
87
  validateApi,
88
88
  verifyHistoryEmbeddings,
89
89
  writePrivateFile
90
- } from "./chunk-JMAWDCQM.js";
90
+ } from "./chunk-JQ6BGAKY.js";
91
91
  import {
92
92
  DEFAULT_ENQUEUE_CONFIG,
93
93
  autoResolveContradictions,
@@ -105,12 +105,12 @@ import {
105
105
  processReviewFeedback,
106
106
  resolveContradiction,
107
107
  runDeterministicCleanup
108
- } from "./chunk-HKA2KAB2.js";
109
- import "./chunk-2YFC2U6M.js";
110
- import "./chunk-EJNIQVIJ.js";
108
+ } from "./chunk-MWQSZN2U.js";
109
+ import "./chunk-2J7P4JCA.js";
110
+ import "./chunk-3PJX2JM3.js";
111
111
  import {
112
112
  Sentry
113
- } from "./chunk-UNKEHYFD.js";
113
+ } from "./chunk-BHRWB3ZL.js";
114
114
  import {
115
115
  confirmMemory,
116
116
  createMemory,
@@ -127,9 +127,9 @@ import {
127
127
  rollbackMemory,
128
128
  safeIngestMemoryById,
129
129
  statusFromConfidence
130
- } from "./chunk-XOKSI4EY.js";
131
- import "./chunk-YFK2AD34.js";
132
- import "./chunk-SYYBKTWO.js";
130
+ } from "./chunk-GPVWGXYT.js";
131
+ import "./chunk-4K4XRRUF.js";
132
+ import "./chunk-SM67AYMR.js";
133
133
  import {
134
134
  bootstrapEmbeddings,
135
135
  getEmbeddingModelInfo,
@@ -140,11 +140,11 @@ import {
140
140
  rebuildMemoryFtsIndexResponsive,
141
141
  verifyEmbeddings,
142
142
  verifyMemoryFtsIndex
143
- } from "./chunk-SHS4CTN3.js";
143
+ } from "./chunk-YI4LU255.js";
144
144
  import {
145
145
  hasProviderConfigured,
146
146
  init_keychain
147
- } from "./chunk-LGM46TRO.js";
147
+ } from "./chunk-RQZX3NK6.js";
148
148
  import {
149
149
  clearGraph,
150
150
  countEntities,
@@ -155,7 +155,7 @@ import {
155
155
  listEntitiesForMemory,
156
156
  listMemoryIdsForEntity,
157
157
  neighborsOf
158
- } from "./chunk-VNKQBRLB.js";
158
+ } from "./chunk-F4ZDS7LX.js";
159
159
  import {
160
160
  activityEvents,
161
161
  eq,
@@ -165,11 +165,11 @@ import {
165
165
  implicitSignals,
166
166
  lt,
167
167
  memories
168
- } from "./chunk-OIIAMDOT.js";
168
+ } from "./chunk-TBV3UXKA.js";
169
169
  import {
170
170
  define_RECALL_BUILD_INFO_default,
171
171
  init_define_RECALL_BUILD_INFO
172
- } from "./chunk-PVEH3GEI.js";
172
+ } from "./chunk-ZINFGUPT.js";
173
173
 
174
174
  // src/daemon.ts
175
175
  init_define_RECALL_BUILD_INFO();
@@ -2718,13 +2718,14 @@ function scheduleReliabilityVerdictLoop() {
2718
2718
  const config = loadReliabilityVerdictConfigFromEnv();
2719
2719
  const dataDir = reliabilityVerdictDataDir();
2720
2720
  lastReliabilityVerdict = readReliabilityVerdict(dataDir);
2721
- reliabilityVerdictNotify = config.enabled && config.notify;
2721
+ reliabilityVerdictNotify = false;
2722
2722
  if (!config.enabled) return;
2723
2723
  const run = async () => {
2724
2724
  if (reliabilityVerdictRunning) return;
2725
2725
  reliabilityVerdictRunning = true;
2726
2726
  try {
2727
2727
  lastReliabilityVerdict = await runReliabilityVerdictCycle(db, dataDir);
2728
+ reliabilityVerdictNotify = config.notify;
2728
2729
  console.log(
2729
2730
  `[recall] reliability verdict overall=${lastReliabilityVerdict.overall} fail_days=${lastReliabilityVerdict.consecutive_fail_days} sustained=${lastReliabilityVerdict.sustained_fail}`
2730
2731
  );